@font-face{font-family:Content;src:url('/Content-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0020-007E}
/* 正式设计来源：swMHtb3ggbgKBdq0TDjR9w / 2003:4，2026-10-22。
   只调整展示。布局保持内容流，长字段、错误和窄屏可自然扩展。 */
.figma-desktop,.figma-mobile{font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;font-weight:400}
.figma-desktop .brand-mark,.figma-mobile .brand-mark{width:70px;height:34px;border-radius:0;background:#fff;object-fit:contain;flex:none}
.figma-desktop #manager #pageTitle{text-align:center;font-weight:400}
.figma-desktop #manager h3{font-weight:400}
.figma-desktop .dashboard-summary{grid-template-columns:repeat(6,minmax(0,128px));gap:12px;margin-bottom:16px}
.figma-desktop .dashboard-summary>*{min-height:60px;padding:6px 8px;border-radius:12px}
.figma-desktop .dashboard-summary strong{font-size:20px;line-height:24px;font-weight:400}
.figma-desktop .dashboard-summary :is(p,span,.summary-label){font-size:13px;line-height:18px;margin:0}
.figma-desktop .dashboard-reading-title{font-size:16px;line-height:24px;font-weight:400}
.figma-desktop .dashboard-reading-title>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.figma-desktop .dashboard-month-bar{display:flex;align-items:center;gap:8px;flex:none}
.figma-desktop .dashboard-month{width:150px;height:35px;min-height:35px;max-height:35px;margin:0;padding:0 12px;box-sizing:border-box;border:1px solid #d4d4d8;border-radius:8px;background:#fff;color:#18181b;font-size:13px;font-weight:400;line-height:33px}
.figma-desktop .dashboard-month-bar .calendar-field{width:150px;height:35px;flex:none}
.figma-desktop .dashboard-month-bar .calendar-proxy{width:100%;height:35px;min-height:35px;max-height:35px;margin:0;padding:0 12px;box-sizing:border-box;border:1px solid #d4d4d8;border-radius:8px;background:#fff;color:#18181b;font-size:13px;font-weight:400;line-height:33px;font-family:inherit}
.figma-desktop .dashboard-month-confirm{box-sizing:border-box;height:30px;min-height:30px;max-height:30px;margin:0;padding:2px 14px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;font-size:14px;line-height:20px;font-weight:400;cursor:pointer}
.figma-desktop #manager .record-pagination{font-size:12px;line-height:18px;gap:6px}
.figma-desktop #manager .record-pagination button{min-height:24px;padding:2px 8px;font-size:12px;line-height:18px}
.figma-desktop #manager .record-pagination input{height:24px;min-height:24px;padding:2px 6px;font-size:12px;line-height:18px}
.figma-desktop #manager th{font:400 13px/16px Content,"Microsoft YaHei",sans-serif}
.figma-desktop #manager td{font-size:13px;font-weight:400;line-height:16px;padding-top:9px;padding-bottom:9px}
.figma-desktop .site-footer{font:400 12px/18px Content,"Microsoft YaHei",sans-serif}
.figma-desktop #manager button{font-weight:400;min-height:30px}
.figma-desktop .brand-company,.figma-mobile .brand-copy>span{font-weight:400}
.figma-desktop .brand h1,.figma-mobile .brand-copy strong{font-weight:400}
.figma-desktop .topbar{height:64px;min-height:64px;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.figma-desktop .brand h1{line-height:20px}
.figma-desktop:has(#login:not(.hidden)) main{margin-top:0;padding-top:0}
.figma-desktop .nav-button{min-height:40px;height:40px;padding:6px 12px;font-size:15px;font-weight:400;line-height:16.8px;justify-content:center;align-items:center;text-align:center;border-radius:8px}
.figma-desktop #nav{display:flex;flex-direction:column;gap:8px;padding:17px 10px;border:1px solid #e4e4e7;border-radius:12px;background:#fff;box-sizing:border-box}
.figma-desktop .login-company-banner{display:flex;flex-direction:column;align-items:center;gap:0;margin:50px auto 48px;font-size:34px;line-height:48px;font-weight:400;letter-spacing:0}
.figma-desktop .login-logo{display:block;width:150px;height:77.807px;object-fit:contain;margin-bottom:37px}
.figma-desktop #login{position:relative;width:388px;max-width:calc(100vw - 24px);min-height:0;padding:45px 25px 13px;margin:0 auto;border-radius:12px}
.figma-desktop #loginForm>.mobile-login-link{display:none}
.figma-desktop .login-heading{margin:0 0 36px}
.figma-desktop .login-heading h2{font-size:22px;line-height:28px;font-weight:400;margin:0}
.figma-desktop .login-heading .muted:empty{display:none}
.figma-desktop #loginForm{gap:24px;padding-top:16px}
.figma-desktop #loginForm>label{display:grid;grid-template-columns:28px minmax(0,250px);align-items:center;justify-content:start;gap:17px;padding-left:12px;font-size:14px;font-weight:400}
.figma-desktop #loginForm input{width:100%;height:40px;min-height:40px;padding:8px 10px;margin:0}
.figma-desktop #loginButton{width:150px;min-height:40px;height:40px;padding:6px 12px;justify-self:center;margin-top:31px;font-size:15px;font-weight:400}
.figma-desktop .login-help{text-align:center;font-size:11px;line-height:16px;margin-top:-6px;font-weight:400}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog){position:fixed;inset:0;margin:auto;width:700px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:visible;border:1px solid #d6d9e0;border-radius:12px;box-shadow:0 24px 80px #0003;color:#1c1f24}
.figma-desktop :is(#recordDialog,#filterDialog)[data-figma-size=compact]{width:360px}
.figma-desktop #passwordDialog{width:520px}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)::backdrop{background:#0005}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)>.dialog-body{padding:12px 38px 14px;max-height:calc(100dvh - 94px);min-height:244px;overflow:auto}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog) h2{margin:0 0 30px;font-size:21px;line-height:30px;text-align:center;font-weight:400}
.figma-desktop #recordSubtitle{font-size:12px;color:#787a82;line-height:18px;margin:0 0 12px;overflow-wrap:anywhere}
.figma-desktop #recordSubtitle:empty{display:none}
.figma-desktop :is(#recordDialog,#passwordDialog) .grid{display:grid;grid-template-columns:repeat(2,260px);gap:19px 50px;align-items:start;margin:0}
.figma-desktop #recordDialog[data-figma-size=compact] .grid,.figma-desktop #passwordDialog .grid{grid-template-columns:1fr}
.figma-desktop :is(#recordDialog,#passwordDialog) .grid>label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:20px;width:100%;max-width:100%;margin:0;font-size:14px;font-weight:400;text-align:right;line-height:20px}
.figma-desktop #recordDialog[data-figma-size=compact] .grid>label{grid-template-columns:100px 100px}
.figma-desktop #recordDialog .system-account-form .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}
.figma-desktop #recordDialog .system-account-form .grid>label{grid-template-columns:70px minmax(0,1fr);gap:8px}
.figma-desktop #recordDialog .grid :is(.role-multiselect,.group-multiselect){min-width:0;max-width:100%;width:100%;text-align:left}
.figma-desktop #filterDialog .filter-header,.figma-desktop #filterDialog .filter-condition{grid-template-columns:38px minmax(90px,1.3fr) minmax(65px,.8fr) minmax(90px,1.2fr) 38px 65px 46px;gap:6px}
.figma-desktop #filterDialog[data-figma-size=compact] .filter-header{display:none}
.figma-desktop #filterDialog[data-figma-size=compact] .filter-condition{grid-template-columns:38px minmax(90px,1fr) 65px;gap:8px}
.figma-desktop #filterDialog .filter-condition>:is(input,select,.searchable-select){width:100%;min-width:0;max-width:100%}
.figma-desktop :is(#recordDialog,#filterDialog) .searchable-select input{width:100%;min-width:0;max-width:100%}
.figma-desktop :is(#recordDialog,#passwordDialog) .grid>label>:is(input,select,textarea,.searchable-select,.checkbox-dropdown){width:100%;min-width:0;max-width:100%;margin:0;text-align:left}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog) :is(input:not([type=checkbox]):not([type=radio]),select){min-height:35px;height:35px;border:1px solid #d6d9e0;border-radius:6px;padding:6px 10px;font-size:13px;font-weight:400;box-sizing:border-box;background-clip:padding-box}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog) label>:is(small,.field-help,.muted){grid-column:1/-1;text-align:left}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)>.dialog-actions{min-height:63px;padding:16px 20px;display:flex;justify-content:center;align-items:center;gap:12px;background:#fafafc;border-top:1px solid #d6d9e0;border-radius:0 0 12px 12px;flex-wrap:wrap}
.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)>.dialog-actions button{width:100px;max-width:none;min-height:30px;height:30px;flex:0 0 100px;padding:4px 10px;border-radius:6px;font-size:13px;font-weight:400}
.figma-desktop .batch-import-launch{min-height:30px;font-size:13px}
.figma-mobile{background:#f4f4f5}
.figma-mobile .mobile-header{min-height:56px}
.figma-mobile:has(#login:not(.hidden)) #login{padding:41px 12px 24px}
.figma-mobile .login-logo{display:block;width:120px;height:62.246px;object-fit:contain;margin:0 auto 18px}
.figma-mobile:has(#login:not(.hidden)) #login .company-title{font-size:22px;line-height:30px;font-weight:400;margin:0 0 80px}
.figma-mobile:has(#login:not(.hidden)) #login .login-card{width:273px;max-width:100%;min-height:277px;padding:12px;margin:0 auto 14px;border:0;border-radius:9px}
.figma-mobile:has(#login:not(.hidden)) .login-card h2{font-size:17px;line-height:24px;font-weight:400;color:#555;margin:0 0 32px}
.figma-mobile:has(#login:not(.hidden)) #loginForm{display:grid;gap:20px}
.figma-mobile:has(#login:not(.hidden)) #loginForm label{display:grid;grid-template-columns:24px minmax(0,190px);align-items:center;justify-content:start;gap:12px;padding-left:6px;font-size:12px;color:#666;margin:0;line-height:18px}
.figma-mobile:has(#login:not(.hidden)) #loginForm input{height:35px;min-height:35px;padding:6px 10px}
.figma-mobile:has(#login:not(.hidden)) #loginButton{width:100px;height:30px;min-height:30px;padding:4px 10px;margin:12px auto 0;font-size:13px;line-height:20px;font-weight:400}
.figma-mobile:has(#login:not(.hidden)) #login .login-help{font-size:11px;margin:26px 0 0;line-height:17px}
.figma-mobile .mobile-tabs button{min-height:30px;height:30px;padding:4px 10px;font-size:13px;font-weight:400}
.figma-mobile .meter-card,.figma-mobile .panel{border-color:#d6d9e0}
@media(max-width:900px){
 .figma-desktop #nav{flex-direction:row;gap:4px;overflow-x:auto;padding:18px 11px;overscroll-behavior-x:contain}
 .figma-desktop .nav-button{flex:0 0 auto;width:auto;min-width:100px}
}
@media(max-width:620px){
 .figma-desktop .dashboard-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .figma-desktop .login-company-banner{font-size:22px;line-height:30px;margin:40px auto 36px;white-space:normal}
 .figma-desktop .login-logo{width:120px;height:62.246px;margin-bottom:18px}
 .figma-desktop #login{width:320px;min-height:350px;padding:36px 18px 20px}
 .figma-desktop #loginForm>label{grid-template-columns:30px minmax(0,1fr);gap:8px}
 .figma-desktop #loginButton{margin-top:12px}
 .figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog){width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)>.dialog-body{padding:12px 16px 18px;max-height:calc(100dvh - 110px)}
 .figma-desktop :is(#recordDialog,#passwordDialog) .grid,.figma-desktop #recordDialog .system-account-form .grid{grid-template-columns:1fr}
 .figma-desktop :is(#recordDialog,#passwordDialog) .grid>label{grid-template-columns:90px minmax(0,1fr)}
 .figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog)>.dialog-actions button{min-height:36px;height:auto}
}

.figma-mobile:has(#workspace:not(.hidden)){background:#f1f1f1}

.figma-desktop #filterDialog .filter-condition,.figma-desktop #filterDialog .filter-header{min-width:0}
.figma-desktop #passwordDialog>.dialog-body{min-height:137px;padding:14px 22px}
.figma-desktop #passwordDialog h2{margin-bottom:20px}
.figma-desktop #recordDialog:has(.system-account-form){width:680px}
.figma-desktop #recordDialog:has(.system-account-form)>.dialog-body{padding-left:22px;padding-right:22px}
@media(min-width:621px){.figma-desktop #recordDialog .system-account-form .grid>label{grid-template-columns:70px 200px}}

.figma-desktop:has(#passwordDialog[open]) #recordDialog[open]{visibility:hidden}
.figma-desktop:has(#passwordDialog[open]) #recordDialog::backdrop{background:transparent}

/* 2026-10-23：仅首页覆盖旧布局，数值来自27:14及20:15108，不影响其他资料页。 */
.figma-desktop .login-company-banner{font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;line-height:47.6px}
.figma-desktop .login-help{margin-top:0}
.figma-mobile .brand-mark{width:62px;height:34px}
.figma-mobile .brand{gap:7px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .page-head{height:35px;min-height:35px;flex:none;margin:0 0 8px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) #pageTitle{margin:0;line-height:34.5px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) #pageContent{margin-bottom:2px;gap:0!important}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) #nav{padding:17px 10px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .nav-button{border-radius:8px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .nav-maintenance{margin:9px 8px 0;font-size:14px;line-height:20px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-summary{display:grid;grid-template-columns:repeat(6,129px);gap:11px;align-items:start;height:70px;min-height:70px;margin:13px 0 8px;overflow-x:auto}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card{width:129px;height:61px;min-height:61px;padding:8px;flex:none}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card span{font-size:13px;line-height:16px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card strong{font-size:20px;line-height:22px;font-weight:400;margin-top:6px}
body.figma-desktop .summary-card.summary-unread strong,body.figma-desktop .summary-card.summary-exception strong{color:#8B0000}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .paged-list{padding:8px 20px 0;border-radius:14px;margin-top:0}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .nav-column{scrollbar-width:none}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title{height:36px;flex:0 0 36px;margin:0 0 8px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title>div:first-child{min-width:219px;display:flex;align-items:center;gap:12px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title>.list-action-pair{min-width:0;flex:none;margin-left:auto;justify-content:flex-end}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title h3{font-size:16px;line-height:30px;text-align:left;margin:0}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .list-footer{height:48px;min-height:48px;flex:0 0 48px;padding:6px 0 12px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .site-footer{height:43px;margin-top:1px!important;padding:12px 0!important}
@media(max-width:760px){
 html:has(body.figma-desktop.viewport-list-page .dashboard-summary){scrollbar-width:none}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .topbar{height:59px;min-height:59px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .brand-mark{width:62px;height:29.5px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .nav-column{position:static;align-self:stretch}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) #nav{flex-direction:row;gap:4px;padding:17px 10px;overflow-x:auto}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) #nav::-webkit-scrollbar{height:0}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .nav-button{width:auto;min-width:0;flex:none;padding:6px 22px;border-radius:8px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-summary{display:flex;gap:8px;height:86px;min-height:86px;margin:0 0 14px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card{width:100px;height:85.5px;min-height:85.5px;flex:0 0 100px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card strong{font-size:24px;line-height:30px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .paged-list{padding:8px 20px 0}
}
/* 2026-10-28：正式页 01 五个画面的间距、字色和手机抄表卡片。只覆盖登录、首页和手机抄表，不改其他资料页。 */
.figma-desktop #loginForm>.mobile-login-link:hover{color:#3f3f46}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card span{white-space:nowrap}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .list-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .pagination-controls{grid-column:2;justify-self:center}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .pagination-summary{grid-column:3;justify-self:end;margin-left:0}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .reading-status-badge{min-height:23px;padding:2px 8px;border-radius:6px;font-size:12px;font-weight:400;line-height:16px}
.figma-mobile:has(#workspace:not(.hidden)){display:flex;flex-direction:column;min-height:100dvh;background:#f1f1f1;overflow-x:clip;overflow-y:visible}
.figma-mobile:has(#workspace:not(.hidden)) .mobile-header{display:grid;grid-template-columns:1fr;grid-template-rows:56px auto;align-items:stretch;min-height:56px;height:auto;padding:0;background:#111}
.figma-mobile:has(#workspace:not(.hidden)) .brand{grid-row:1;height:56px;min-width:0;padding:0 12px;display:flex;align-items:center}
.figma-mobile:has(#workspace:not(.hidden)) .brand-copy{display:grid;color:#fff}
.figma-mobile:has(#workspace:not(.hidden)) .brand-copy>span{font-size:10px;line-height:14px;color:#fff;white-space:nowrap}
.figma-mobile:has(#workspace:not(.hidden)) .brand-copy strong{font-size:16px;line-height:21px;font-weight:400;color:#fff;white-space:nowrap}
.figma-mobile:has(#workspace:not(.hidden)) .mobile-header h1{display:none}
.figma-mobile:has(#workspace:not(.hidden)) #identity{grid-row:2;width:100%;max-width:none;margin:0;border:0;border-radius:0;background:#fff;color:#4d5461;min-height:24px;height:auto;padding:4px 12px 2px;font-size:12px;line-height:18px;font-weight:400;text-align:right;white-space:nowrap}
.figma-mobile:has(#login:not(.hidden)) #login .login-help{text-align:center}
.figma-mobile:has(#workspace:not(.hidden)) main{flex:1;width:min(100%,640px)}
.figma-mobile:has(#workspace:not(.hidden)) footer{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:auto;color:#777;font-size:10px;line-height:14px}
.figma-mobile:has(#workspace:not(.hidden)) .workspace-footer{display:block;order:1}
.figma-mobile:has(#workspace:not(.hidden)) .login-footer{display:block;order:2}
.figma-mobile .mobile-tabs{gap:6px}
.figma-mobile .mobile-tabs button{font-size:15px;line-height:22px}
.figma-mobile .overview-head{padding:14px;border:1px solid #d0d0d0;border-radius:6px}
.figma-mobile .overview-head h2{font-size:17px;line-height:23px;font-weight:400;margin:0}
.figma-mobile #mobileMonth{font-size:13px;line-height:20px;color:#666;margin:0}
.figma-mobile .floor-section h3{font-size:16px;line-height:24px;font-weight:400;margin:10px 0 7px}
.figma-mobile .room-grid{display:flex;flex-wrap:wrap;gap:10px}
.figma-mobile .room-cell{aspect-ratio:auto;width:auto;height:40px;min-height:40px;padding:2px 4px 2px 8px;display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;background:#fff;color:#111;border:1px solid #bbb;border-radius:4px;font-weight:400}
.figma-mobile .room-cell.pending,.figma-mobile .room-cell.read{background:#fff}
.figma-mobile .room-cell strong{font-size:17px;line-height:26px;font-weight:400}
.figma-mobile .room-cell .status{background:#e8e8e8;color:#111;border:0;border-radius:3px;padding:2px 6px;font-size:13px;line-height:18px;font-weight:400}
.figma-mobile .room-cell .status::before{content:none}
.figma-mobile .room-cell .status.read{background:#dcefdc;color:#111}
.figma-mobile .room-cell .status.pending{background:#e8e8e8;color:#111}
.figma-mobile .room-cell .status.abnormal{background:#f1e4c9;color:#111}
.figma-mobile #mobileContent>.panel{padding:14px;border:1px solid #d0d0d0;border-radius:6px;background:#fff}
.figma-mobile #mobileContent .eyebrow{display:none}
.figma-mobile #mobileContent .secondary{width:auto;height:30px;min-height:30px;padding:4px 10px;background:#eee;color:#111;border:1px solid #aaa;border-radius:4px;font-size:15px;font-weight:400}
.figma-mobile #mobileContent .section-title{font-size:19px;line-height:27px;font-weight:400;margin:0}
.figma-mobile #mobileContent .action-title{margin-top:8px}
.figma-mobile #mobileContent .action-title .status{background:#e8e8e8;color:#111;border:0;border-radius:3px;padding:4px 6px;font-size:11px;line-height:18px;font-weight:400}
.figma-mobile #mobileContent .action-title .status::before{content:none}
.figma-mobile #mobileContent .action-title .status.read{background:#dcefdc}
.figma-mobile #mobileContent .action-title .status.abnormal{background:#f1e4c9}
.figma-mobile .meter-card{padding:14px;border:1px solid #d0d0d0;border-radius:6px;background:#fff}
.figma-mobile .meter-card h3{text-align:center;font-size:17px;line-height:26px;font-weight:400;margin:0 0 8px}
.figma-mobile .reading-value{font-size:15px;line-height:22px}
.figma-mobile .reading-value strong{font-size:18px;line-height:27px;font-weight:400}
.figma-mobile .meter-card label{font-size:15px;line-height:22px;font-weight:400;color:#111;margin-bottom:0}
.figma-mobile .meter-card input{height:35px;min-height:35px;border:1px solid #aaa;border-radius:4px;font-size:15px;font-weight:400}
.figma-mobile #mobileContent .button-row{justify-content:center;margin-top:6px}
.figma-mobile #mobileContent form>.button-row>button{width:120px;height:30px;min-height:30px;padding:4px 10px;border-radius:4px;font-size:15px;font-weight:400}

/* 2026-10-28 第二批：正式列表、窄屏首页、手机抄表记录和弹窗外观。 */
body.figma-desktop.viewport-list-page #pageContent .list-footer{display:grid;grid-template-columns:minmax(12px,1fr) auto minmax(12px,1fr);align-items:center;height:auto;min-height:48px;gap:8px}
body.figma-desktop.viewport-list-page #pageContent .pagination-controls{grid-column:2;justify-self:center;display:flex;align-items:center;gap:6px}
body.figma-desktop.viewport-list-page #pageContent .pagination-summary{grid-column:3;justify-self:end;margin:0;white-space:nowrap}
body.figma-desktop.viewport-list-page .record-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:8px}
body.figma-desktop.viewport-list-page .record-toolbar .button-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0}
body.figma-desktop.viewport-list-page .record-toolbar button{min-height:30px;height:30px;padding:4px 12px;border-radius:8px;font-size:13px;font-weight:400}
body.figma-desktop.viewport-list-page .record-toolbar button:disabled{background:#e4e4e7;color:#71717a;border-color:#e4e4e7;opacity:1}
body.figma-desktop.viewport-list-page .record-toolbar .danger{background:#fff;color:#b42318;border-color:#f0b8b4}
body.figma-desktop.viewport-list-page .record-toolbar .danger:disabled{background:#f4f4f5;color:#d4a3a0;border-color:#f0d5d3}
body.figma-desktop .toolbar-count{display:none}
body.figma-desktop .people-list-tabs{gap:8px;margin:0 0 12px}
body.figma-desktop .people-list-tabs button{min-height:30px;height:30px;padding:4px 12px;border-radius:8px;font-size:13px;font-weight:400}
.figma-desktop #passwordDialog .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
.figma-desktop #passwordDialog .grid>label{grid-template-columns:72px minmax(120px,1fr);gap:8px}
.figma-desktop #filterDialog[data-figma-size=compact]{width:min(760px,calc(100vw - 24px))}
.figma-desktop #filterDialog[data-figma-size=compact] .filter-header{display:grid}
.figma-desktop #filterDialog[data-figma-size=compact] .filter-condition{grid-template-columns:38px minmax(110px,1.3fr) minmax(80px,.8fr) minmax(120px,1.4fr) 38px 72px 52px}
.figma-desktop #recordDialog:not(:has(.system-account-form)):has(.dialog-form .grid>label:nth-child(-n+3):last-child){width:360px}
.figma-desktop #recordDialog:not(:has(.system-account-form)):has(.dialog-form .grid>label:nth-child(-n+3):last-child):has(.batch-import-launch){width:min(600px,calc(100vw - 24px))}
.figma-desktop #recordDialog:not(:has(.system-account-form)):has(.dialog-form .grid>label:nth-child(-n+3):last-child) .grid{grid-template-columns:1fr;gap:18px}
.figma-desktop #recordDialog:not(:has(.system-account-form)):has(.dialog-form .grid>label:nth-child(-n+3):last-child) .grid>label{grid-template-columns:100px 140px;justify-content:center}
.figma-mobile #mobileHistory>label{display:grid;gap:6px;margin:4px 0 12px;font-size:15px;line-height:22px;font-weight:400;color:#111}
.figma-mobile #historyMonth{height:35px;min-height:35px;border:1px solid #aaa;border-radius:4px;background:#fff;font-size:15px;font-weight:400;padding:6px 10px}
.figma-mobile .history-grid{display:flex;flex-wrap:wrap;gap:10px}
.figma-mobile .history-grid .record-detail{aspect-ratio:auto;width:auto;min-height:40px;height:40px;padding:2px 4px 2px 8px;display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px;background:#fff;color:#111;border:1px solid #bbb;border-radius:4px;font-weight:400}
.figma-mobile .history-grid .record-detail strong{font-size:17px;line-height:26px;font-weight:400}
.figma-mobile .history-grid .status{background:#e8e8e8;color:#111;border:0;border-radius:3px;padding:2px 6px;font-size:13px;line-height:18px;font-weight:400}
.figma-mobile .history-grid .status::before{content:none}
.figma-mobile .history-grid .status.read{background:#dcefdc;color:#111}
.figma-mobile .history-grid .status.pending{background:#e8e8e8;color:#111}
.figma-mobile .history-grid .status.abnormal{background:#f1e4c9;color:#111}
.figma-mobile:has(#workspace:not(.hidden)) .mobile-header{position:sticky;top:0;z-index:40;background:#fff}
.figma-mobile:has(#workspace:not(.hidden)) .brand{background:#111}
.figma-mobile:has(#workspace:not(.hidden)) main{padding-top:0}
.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs{position:sticky;top:var(--mobile-pin-top,80px);z-index:30;background:#e4e4e8;margin:0 -12px;padding:8px 12px}
.figma-mobile:has(#workspace:not(.hidden)) #mobile .overview-head{position:sticky;top:calc(var(--mobile-pin-top,80px) + var(--mobile-tabs-height,46px) - 1px);z-index:25;background:#f7f7f8;margin:0 -12px;padding:8px 12px 12px;border-left:0;border-right:0;border-radius:0}
.figma-mobile:has(#workspace:not(.hidden)) #mobileHistory>label{position:sticky;top:calc(var(--mobile-pin-top,80px) + var(--mobile-tabs-height,46px) - 1px);z-index:25;background:#f7f7f8;margin:0 -12px;padding:8px 12px 12px}
.figma-mobile .history-grid .record-detail.history-reading{height:auto;min-height:64px;width:auto;min-width:148px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px}
.figma-mobile .meter-pair-box{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border-radius:4px;padding:4px 8px;min-width:72px}
.figma-mobile .meter-pair-box.read{background:#dcefdc}
.figma-mobile .meter-pair-box.pending{background:#f5dada}
.figma-mobile .meter-mini{display:flex;align-items:center;gap:4px;padding:0;border-radius:0;background:transparent;font-size:13px;line-height:18px;font-weight:400;color:#111}
.figma-mobile .meter-mini-label,.figma-mobile .meter-mini-value{color:#111}
.figma-mobile dialog{border:1px solid #d6d9e0;border-radius:12px;color:#111}
.figma-mobile dialog h2{margin:0 0 16px;text-align:center;font-size:18px;line-height:26px;font-weight:400}
.figma-mobile dialog .dialog-actions{justify-content:center}
.figma-mobile dialog .dialog-actions button{min-height:30px;height:30px;width:100px;border-radius:6px;font-size:13px;font-weight:400}
.figma-mobile .detail-grid{display:grid;grid-template-columns:max-content max-content;justify-content:center;column-gap:28px;row-gap:8px;width:max-content;max-width:100%;margin:0 auto}
.figma-mobile .detail-grid dt{margin:0;text-align:right}
.figma-mobile .detail-grid dd{margin:0;text-align:left}
body.figma-desktop :is(#recordDialog,#filterDialog,#passwordDialog,#confirmDialog,#permissionDialog,.batch-import-dialog) :is(button,label,p,span,h2,h3,input,select,option,strong,legend,.muted,.filter-header,.searchable-select-option){font-weight:400!important}
body.figma-desktop #filterDialog .dialog-body>.muted{font-size:12px;line-height:18px}
body.figma-desktop #filterDialog{overflow-x:hidden}
body.figma-desktop #filterDialog .dialog-body{overflow-x:hidden}
body.figma-desktop #filterDialog .dialog-form{align-items:stretch;width:100%;max-width:100%}
body.figma-desktop #filterDialog .filter-conditions{width:100%;max-width:100%;margin-inline:auto;overflow:hidden}
body.figma-desktop #filterDialog .filter-header,body.figma-desktop #filterDialog .filter-condition,body.figma-desktop #filterDialog[data-figma-size=compact] .filter-header,body.figma-desktop #filterDialog[data-figma-size=compact] .filter-condition{grid-template-columns:40px minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1.2fr) 40px minmax(0,.8fr) 48px;gap:6px;align-items:center;justify-items:center;padding:0;width:100%;max-width:100%;min-width:0;margin-inline:auto}
body.figma-desktop #filterDialog .filter-condition :is(input,select,.searchable-select,.searchable-select input){width:100%!important;min-width:0!important;max-width:100%!important}
body.figma-desktop #filterDialog .filter-header span{display:block;width:100%;text-align:center;font-weight:400}
body.figma-desktop #filterDialog .filter-condition>:is(label,button,select,input,.searchable-select){width:100%;min-width:0;justify-self:stretch}
body.figma-desktop #filterDialog .searchable-select-option.is-blank{min-height:28px}
body.figma-desktop .dialog-title-bar{position:relative;min-height:32px;margin:0 0 12px}
body.figma-desktop .dialog-title-bar h2{position:absolute;left:0;right:0;top:0;margin:0;text-align:center;pointer-events:none}
body.figma-desktop .dialog-title-bar .batch-import-launch{position:absolute;right:0;top:0;margin:0}
body.figma-desktop dialog.batch-import-dialog{width:min(512px,94vw);height:fit-content;max-height:86dvh;min-height:0;padding:17px 19px 12px;overflow:auto}
body.figma-desktop dialog.batch-import-dialog:has(.import-preview-table){width:min(760px,94vw)}
body.figma-desktop .batch-import-dialog .action-card{margin:0;padding:8px 4px 0;border:0;box-shadow:none;height:auto;min-height:0;flex:none}
body.figma-desktop .batch-import-dialog .import-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body.figma-desktop .batch-import-dialog .import-box{margin-top:8px;padding-top:0;border-top:0}
body.figma-desktop .batch-import-dialog .batch-import-close{margin:12px 0 0}
body.figma-desktop :is(.searchable-select-options,.role-multiselect-menu,.group-multiselect-panel){z-index:10000}
body.figma-desktop .role-multiselect-menu{text-align:left}
body.figma-desktop .role-multiselect-menu label{display:flex;align-items:center;justify-content:flex-start;gap:8px;white-space:nowrap;text-align:left;margin:0;padding:6px 8px}
body.figma-desktop :is(.role-multiselect-menu,.group-multiselect-panel) input[type=checkbox]{width:16px!important;min-width:16px;max-width:16px;min-height:16px;margin:0;flex:none}
body.figma-desktop :is(.role-multiselect-trigger,.group-multiselect-control):hover,body.figma-desktop .searchable-select>input:hover{background:#fff!important;color:#111!important;border-width:2px}
body.figma-desktop :is(.searchable-select-option,.role-multiselect-menu label,.group-multiselect-option):hover{background:transparent!important;color:#111!important;box-shadow:inset 0 0 0 1.5px #111}
body.figma-desktop #recordDialog :is(.fixed-field-value,.role-multiselect-trigger,select){text-align:left}
.calendar-field{position:relative;display:block;width:100%;max-width:100%;min-width:0}
.calendar-field .calendar-proxy{width:100%;box-sizing:border-box;padding-right:36px;caret-color:#18181b;color:#18181b;background:#fff}
.calendar-field .calendar-native{position:absolute!important;right:0;top:0;width:34px!important;min-width:34px!important;max-width:34px!important;height:100%!important;margin:0!important;padding:0!important;opacity:0;z-index:2;cursor:pointer}
.figma-mobile #mobileContent,.figma-mobile #historyContent{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;margin-inline:auto}
.figma-mobile .history-grid{display:grid;grid-template-columns:repeat(3,114px);justify-content:start;align-content:start;gap:6px;width:fit-content;max-width:100%;margin-inline:0}
.figma-mobile .history-grid .record-detail.history-reading{box-sizing:border-box;width:114px;min-width:114px;max-width:114px;height:64px;min-height:64px;padding:4px 6px;gap:4px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:1px solid #bbb;border-radius:4px;background:#fff;color:#111;font-weight:400}
/* floor-section stays adaptive-width; the centered column is #mobileContent/#historyContent. h3 and .room-grid stay left-aligned inside the section. */
.figma-mobile .floor-section{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:fit-content;max-width:100%;margin:10px 0 0}
.figma-mobile .floor-section h3{align-self:flex-start;width:auto;margin:0;text-align:left;font-size:16px;line-height:24px;font-weight:400;color:#111}
.figma-mobile .room-grid{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-self:flex-start;gap:8px;width:fit-content;max-width:100%;margin-inline:0}
.figma-mobile .room-cell{box-sizing:border-box;width:auto;height:40px;min-height:40px;padding:0 4px 0 8px;gap:4px;border:1px solid #bbb;border-radius:4px;background:#fff;color:#111}
.figma-mobile .room-cell .status{box-sizing:border-box;min-height:22px;padding:2px 6px;border-radius:3px;font-size:13px;line-height:18px}
.figma-mobile .meter-pair-box{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;width:70px;height:45px;min-width:70px;max-width:70px;padding:4px 6px;border-radius:4px;flex:none}
.figma-mobile .meter-mini{gap:4px;font-size:13px;line-height:18px;white-space:nowrap}
.figma-mobile:has(#workspace:not(.hidden)) #mobile .overview-head{position:static;z-index:auto;box-sizing:border-box;background:#fff;margin:10px 0 0;padding:15px;border:1px solid #d0d0d0;border-radius:6px}
.figma-mobile .overview-head h2{font-size:17px;line-height:26px;font-weight:400;margin:0;color:#111}
.figma-mobile #mobileMonth{font-size:13px;line-height:20px;color:#666;margin:0}
.figma-mobile:has(#workspace:not(.hidden)) #mobileHistory>label{position:static;z-index:auto;background:transparent;display:grid;gap:4px;margin:0 0 10px;padding:0;font-size:15px;line-height:23px;font-weight:400;color:#111}
.figma-mobile #historyMonth{box-sizing:border-box;height:35px;min-height:35px;border:1px solid #aaa;border-radius:4px;padding:6px 11px;font-size:15px;line-height:23px;font-weight:400}
.figma-mobile .entry-month{display:grid;gap:4px;margin:10px 0 0;font-size:15px;line-height:23px;font-weight:400;color:#111}
.figma-mobile #entryMonth{box-sizing:border-box;width:100%;height:35px;min-height:35px;border:1px solid #aaa;border-radius:4px;padding:6px 11px;font-size:15px;line-height:23px;font-weight:400;background:#fff}
@media(max-width:760px){
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card{height:auto;min-height:72px;overflow:visible}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title{display:flex;align-items:center;justify-content:space-between;height:auto;min-height:36px;gap:8px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title>div:first-child{min-width:0;flex:1}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title>.list-action-pair{flex:none;min-width:0;margin-left:auto}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-reading-title h3{text-align:left;font-size:20px;line-height:28px}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .list-export-button{display:inline-flex;flex:none}
}

/* 2026-10-28：操作日志与抄表历史按正式稿收紧，中文不走不含汉字的 Content 字体。 */
body.figma-desktop #pageContent:has(.operation-log-list) .action-title{display:block;margin:0 0 8px}
body.figma-desktop #pageContent:has(.operation-log-list) .action-title h3,
body.figma-desktop #pageContent:has(.operation-log-list) .action-title .muted{display:none}
body.figma-desktop #pageContent .log-toolbar{display:flex;align-items:flex-end;justify-content:flex-start;gap:8px;width:100%;margin:0;overflow:visible}
body.figma-desktop #pageContent .log-query-form{display:flex!important;align-items:flex-end;gap:8px;flex:0 1 auto;min-width:0;width:auto}
body.figma-desktop #pageContent .log-query-form>.grid{display:grid!important;grid-template-columns:168px 168px 220px;gap:12px;width:auto}
body.figma-desktop #pageContent .log-query-form>.grid>label{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:none;width:auto!important;font-size:13px;font-weight:400;color:#3f3f46}
body.figma-desktop #pageContent .log-query-form input,
body.figma-desktop #pageContent .log-query-form select,
body.figma-desktop #pageContent .log-query-form .custom-select,
body.figma-desktop #pageContent .log-query-form .custom-select-trigger,
body.figma-desktop #pageContent .log-query-form .button-row button{height:35px!important;min-height:35px!important;font-size:13px!important;font-weight:400!important;border-radius:8px}
body.figma-desktop #pageContent .log-toolbar>.log-field-filter,
body.figma-desktop #pageContent .log-toolbar>.list-export-button{height:30px!important;min-height:30px!important;font-size:13px!important;font-weight:400!important;border-radius:8px}
body.figma-desktop #pageContent .log-query-form .button-row{margin:0!important;align-self:flex-end}
body.figma-desktop #pageContent .log-toolbar>.log-field-filter{margin-left:auto!important;margin-right:0!important}
body.figma-desktop #pageContent .log-toolbar{gap:10px}
body.figma-desktop #pageContent .log-toolbar>.log-field-filter+.list-export-button,
body.figma-desktop #pageContent .log-toolbar>.list-export-button{margin-left:0!important}
body.figma-desktop .operation-log-table{max-height:none}
body.figma-desktop .operation-log-table table{width:100%!important;min-width:0!important;table-layout:fixed}
body.figma-desktop .operation-log-table th,
body.figma-desktop .operation-log-table td{font-size:13px;line-height:18px;padding:8px 10px!important}
body.figma-desktop #manager #pageContent table th,
body.figma-desktop #manager #pageContent table td{white-space:normal!important;overflow:hidden;text-overflow:clip!important;height:auto;overflow-wrap:anywhere;word-break:break-word;vertical-align:middle;text-align:center}
body.figma-desktop #manager #pageContent table td .reading-status-badge{white-space:nowrap!important;font-weight:400}
body.figma-desktop #manager #pageContent table td.usage-override{background:var(--warning-soft)!important;color:var(--warning)!important;font-weight:700}
body.figma-desktop #manager #pageContent table td.usage-abnormal{background:#fce7e7!important;color:#8B0000!important;font-weight:700}
body.figma-desktop #manager #pageContent table tbody tr:hover{background:transparent}
body.figma-desktop #manager #pageContent table :is(td,th).col-hover,body.figma-desktop #manager #pageContent table tbody tr:hover>td{background-image:linear-gradient(rgba(24,24,27,.03),rgba(24,24,27,.03))!important}
body.figma-desktop #manager #pageContent table td.usage-override.col-hover,body.figma-desktop #manager #pageContent table tbody tr:hover>td.usage-override{background-color:var(--warning-soft)!important;background-image:linear-gradient(rgba(24,24,27,.04),rgba(24,24,27,.04))!important}
body.figma-desktop #manager #pageContent table td.usage-abnormal.col-hover,body.figma-desktop #manager #pageContent table tbody tr:hover>td.usage-abnormal{background-color:#fce7e7!important;background-image:linear-gradient(rgba(24,24,27,.04),rgba(24,24,27,.04))!important}
body.figma-desktop #manager #pageContent table tbody tr:hover>td.col-hover,body.figma-desktop #manager #pageContent table :is(td,th).cross-cell{background-image:linear-gradient(rgba(24,24,27,.06),rgba(24,24,27,.06))!important}
body.figma-desktop #manager #pageContent table :is(td,th).group-rule{border-right:2px solid #888!important}
body.figma-desktop #confirmDialog.usage-override-confirm #confirmTitle{display:block;width:100%;text-align:center!important}
body.figma-desktop #recordDialog.billing-remark-edit{width:min(560px,calc(100vw - 32px))!important}
body.figma-desktop #recordDialog.billing-remark-edit #recordSubtitle{text-align:center}
body.figma-desktop #recordDialog.billing-remark-edit #recordContent>.dialog-form,
body.figma-desktop #recordDialog.billing-remark-edit .dialog-form .grid{display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:min(440px,100%)!important;max-width:440px;margin-inline:auto;grid-template-columns:none!important}
body.figma-desktop #recordDialog.billing-remark-edit .dialog-form .grid>label{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;text-align:center!important;grid-template-columns:none!important}
body.figma-desktop #recordDialog.billing-remark-edit textarea[name=remark]{width:100%!important;max-width:none!important;min-width:0!important;min-height:96px!important;height:auto!important}
body.figma-desktop #recordDialog.dorm-billing-edit .dialog-form .grid>label:has(input[name=remark]){grid-column:1 / -1}
body.figma-desktop #recordDialog.dorm-billing-edit input[name=remark]{width:100%!important;max-width:none!important}
body.figma-desktop #manager #pageContent .operation-log-table td.log-change-cell{text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word;vertical-align:middle!important}
body.figma-desktop #manager .table-scroll thead th,
body.figma-desktop #manager table thead th{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;height:auto;min-height:38px;line-height:16px;overflow-wrap:anywhere;word-break:break-word;text-align:center;vertical-align:middle}
.record-pagination,.record-pagination span,.record-pagination button,.compact-pagination,.compact-pagination span,.compact-pagination button,.log-pagination,.log-pagination span,.log-pagination button,.pagination-summary,.pagination-page-info,.pagination-controls,.pagination-controls button,.pagination-jump-group,.pagination-jump-group button,.pagination-jump-group input{font-weight:400!important}
body.figma-desktop .history-assist{display:none}
body.figma-desktop .history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}
body.figma-desktop .history-heading h3{display:none}
body.figma-desktop .history-heading .record-toolbar{margin-left:auto}
body.figma-desktop .history-month{margin:0}
body.figma-desktop .history-month label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;color:#3f3f46}
body.figma-desktop .history-month input[type=month]{width:148px;height:30px;min-height:30px;margin:0}
/* 修改系统账号：员工姓名、系统角色、授权宿舍分组都是标签在左、控件在右，控件同宽。 */
body.figma-desktop #recordDialog .system-account-form .grid>:is(label,.role-multiselect,.group-multiselect){display:grid!important;grid-template-columns:96px minmax(0,200px);align-items:center;justify-content:start;gap:8px;width:100%;min-width:0;max-width:100%;margin:0;text-align:left}
body.figma-desktop #recordDialog .system-account-form :is(.role-multiselect-label,.group-multiselect>span){margin:0;white-space:nowrap;text-align:left;font-size:14px;font-weight:400;line-height:20px}
body.figma-desktop #recordDialog .system-account-form :is(.role-multiselect-trigger,.group-multiselect-control,label>input:not([type=checkbox]):not([type=hidden]),label>select){width:100%!important;max-width:200px;height:35px;min-height:35px;box-sizing:border-box}
body.figma-desktop .role-multiselect-menu :is(label,.multi-select-option,.role-multiselect-option){display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;box-sizing:border-box;white-space:nowrap;text-align:left;margin:0;padding:6px 8px;cursor:pointer}
body.figma-desktop :is(.group-multiselect-option,.choice-option,.permission-option,.multi-select-option){cursor:pointer}
body.figma-desktop :is(.searchable-select-option,.role-multiselect-menu .multi-select-option,.role-multiselect-option,.group-multiselect-option):hover{background:transparent!important;color:#111!important;box-shadow:inset 0 0 0 1.5px #111}

/* 验收：表单在弹窗内居中，批量新增与标题拉开，导入按钮同一行，筛选标签可关闭。 */
body.figma-desktop #recordDialog>.dialog-body:has(#recordContent .dialog-form),
body.figma-desktop #passwordDialog>.dialog-body:has(form){display:flex;flex-direction:column}
body.figma-desktop #recordDialog>.dialog-body:has(#recordContent .dialog-form) #recordContent,
body.figma-desktop #passwordDialog #passwordContent:has(form){flex:1 1 auto;display:flex;align-items:safe center;justify-content:safe center;min-height:120px}
body.figma-desktop #recordDialog #recordContent>.dialog-form,
body.figma-desktop #passwordDialog #passwordContent>form{width:max-content;max-width:100%;margin-inline:auto}
body.figma-desktop .import-actions{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px;flex-wrap:wrap}
body.figma-desktop .import-actions .import-confirm{margin-top:0}
body.figma-desktop .import-actions button{min-width:100px;width:auto}
body.figma-desktop .applied-filter-summary{position:relative;display:inline-block;padding-right:18px;overflow:visible}
body.figma-desktop button.applied-filter-close{position:absolute;top:0;right:0;width:14px;height:14px;min-width:14px;min-height:14px;padding:0;border-radius:50%;border:1px solid #8aa0c0;background:#fff;color:#163d72;font-size:10px;line-height:12px;font-weight:400}

/* 2026-11-02：对照 01｜正式UI设计。列表壳、费用核算和批量导入只改间距与字号，不改业务。 */
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #manager>.panel{padding:15px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) .page-head{min-height:35px;margin:0 0 8px!important}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageTitle{margin:0!important;font-size:24px;line-height:34.5px;font-weight:400;text-align:center}
body.figma-desktop #pageContent.calculation-page .calculation-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:36px;margin:0 0 20px}
body.figma-desktop #pageContent.calculation-page .report-kind-tabs{display:flex;align-items:center;gap:8px;height:36px;margin:0}
body.figma-desktop #pageContent.calculation-page .report-kind-tabs button{width:auto;height:30px;min-height:30px;padding:7px 13px;border-radius:8px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop #pageContent.calculation-page .calculation-export-pair{margin-left:auto;display:flex;align-items:center;gap:12px}
body.figma-desktop #pageContent.calculation-page .calculation-export-pair button{height:32px;min-height:32px;padding:8px 15px;border-radius:8px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop #pageContent.calculation-page .calculation-list-frame{border:1px solid #e4e4e7;border-radius:10px}
body.figma-desktop #pageContent.calculation-page .calculation-table :is(th,td){padding:9px 16px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop #pageContent.calculation-page .calculation-table thead th{height:auto;min-height:38px;background:#f4f4f5}
body.figma-desktop #pageContent.calculation-page .record-pagination{margin-top:20px;min-height:40px}
body.figma-desktop .batch-import-dialog .import-tools{gap:8px}
body.figma-desktop .batch-import-dialog .import-tools :is(button,.import-file-button){height:30px;min-height:30px;padding:4px 10px;border-radius:8px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop .batch-import-dialog .import-file-status{font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop .batch-import-dialog .import-actions{margin-top:6px}
body.figma-desktop .batch-import-dialog .import-actions button{width:100px;min-width:100px;height:30px;min-height:30px;border-radius:8px;font-size:13px;font-weight:400}
body.figma-desktop.viewport-list-page #pageContent .record-toolbar button{height:30px;min-height:30px;padding:4px 12px;border-radius:8px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop #manager #pageContent .table-scroll td{padding-top:9px;padding-bottom:9px;line-height:16px;font-size:13px;font-weight:400}

/* 2026-11-02 排版复测：侧栏、分页、页脚、首页列表内边距、费用核算结果区和手机总览卡按正式稿坐标锁。 */
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) .nav-column{position:relative!important;top:auto!important;align-self:start;margin-top:64px!important}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #nav{padding:17px 10px;gap:8px;border-radius:12px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) .nav-button{width:100%;height:40px;min-height:40px;border-radius:8px;box-sizing:border-box;font-size:15px;font-weight:400}
body.figma-desktop .user-area{height:36px;align-items:center}
body.figma-desktop #logout{height:30px!important;min-height:30px!important;padding:4px 12px!important;border-radius:8px;font-size:13px;font-weight:400!important;line-height:16px}
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) .site-footer{height:42px!important;min-height:42px;margin-top:0!important;padding:12px 0!important;line-height:18px;box-sizing:border-box}
body.figma-desktop.viewport-list-page .record-pagination.compact-pagination{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;justify-content:center;gap:0;position:relative;width:100%;height:40px;min-height:40px;margin:8px 0 0!important;padding:0!important;border-top:0;flex:0 0 auto}
body.figma-desktop.viewport-list-page .record-pagination .pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px;height:25px;margin:0}
body.figma-desktop.viewport-list-page .record-pagination .pagination-controls button,
body.figma-desktop.viewport-list-page .record-pagination .page-number-input{height:25px!important;min-height:25px!important;padding:2px 8px;font-size:12px;line-height:16px;border-radius:6px}
body.figma-desktop.viewport-list-page .record-pagination .page-number-input{width:44px;min-width:44px;padding:2px 4px}
body.figma-desktop.viewport-list-page .record-pagination .pagination-summary{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;font-size:12px;line-height:16px;font-weight:400;white-space:nowrap}
body.figma-desktop.viewport-list-page:has(.dashboard-summary) .dashboard-reading-title{margin:8px 20px 8px!important;width:auto}
body.figma-desktop.viewport-list-page:has(.dashboard-summary) .record-pagination{margin:20px 20px 0!important;width:auto}
body.figma-desktop.viewport-list-page:has(.dashboard-summary) #pageContent>.list-frame{flex:1 1 auto;min-height:0;max-height:none;margin:0 20px;width:auto}
body.figma-desktop.viewport-list-page #pageContent.calculation-page>.result-block{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin-top:0!important}
body.figma-desktop.viewport-list-page .action-card:has(.group-management-panel){padding:8px 9px 8px!important}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .calculation-list-frame{flex:1 1 auto;min-height:120px;max-height:none;width:100%}
/* 稿面核算外框底边 879，比其他列表的 888 高 9px。内容区底比稿面低 3px，分页距外框 23px 才把外框底收到 879。 */
body.figma-desktop.viewport-list-page #pageContent.calculation-page .record-pagination{margin-top:23px!important}
@media(min-width:761px){
 /* 正式稿各列表滚动区底边对齐到约 y=888，分页贴在内容区底部。行数少时列表框仍撑满，不按行数收缩。 */
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageContent>.action-card,
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageContent>.history-record-card,
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageContent>.list-layout-host{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page #pageContent .list-frame,
 body.figma-desktop.viewport-list-page #pageContent .standalone-list-frame{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page #pageContent .list-frame>.table-scroll,
 body.figma-desktop.viewport-list-page #pageContent .list-frame>.list-table-body,
 body.figma-desktop.viewport-list-page #pageContent .list-frame>.paged-table-scroll,
 body.figma-desktop.viewport-list-page #pageContent .list-frame>.calculation-table-wrap,
 body.figma-desktop.viewport-list-page #pageContent .group-management-panel .table-scroll{flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:auto!important}
 body.figma-desktop.viewport-list-page #pageContent .list-total-bar{flex:0 0 auto}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageContent>.action-card.list-layout-host:has(.group-management-panel){flex:0 0 var(--dorm-group-height,236px)!important;height:var(--dorm-group-height,236px)!important;min-height:var(--dorm-group-height,236px)!important;max-height:var(--dorm-group-height,236px)!important;margin:0!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden)) #pageContent>.action-card:has(.group-management-panel) .group-management-panel{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page #pageContent>.action-card,
 body.figma-desktop.viewport-list-page #pageContent>.history-record-card,
 body.figma-desktop.viewport-list-page #pageContent>.people-list-host>.action-card{padding-top:7px!important;padding-bottom:5px!important}
 body.figma-desktop.viewport-list-page #pageContent>.people-list-host{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page #pageContent>.people-list-host>.action-card{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;overflow:hidden!important}
 body.figma-desktop.viewport-list-page #pageContent>.people-list-tabs{flex:none;height:36px;margin:0 0 12px!important;align-items:center}
 body.figma-desktop.viewport-list-page #pageContent>.action-card:has(.price-table){padding-top:20px!important}
 body.figma-desktop.viewport-list-page #pageContent>.action-card:not(:has(.record-table-dormitories)):not(:has(.price-table))>.action-title:not(:has(.applied-filter-summary)),
 body.figma-desktop.viewport-list-page #pageContent>.people-list-host .action-title:not(:has(.applied-filter-summary)){margin-bottom:0!important}
 body.figma-desktop.viewport-list-page #pageContent .action-title:has(.applied-filter-summary){margin-bottom:7px!important}
 body.figma-desktop.viewport-list-page #pageContent .action-title:has(.applied-filter-summary) .record-toolbar{margin-bottom:0!important}
 body.figma-desktop #pageContent .applied-filter-summary{padding-right:0!important;overflow:visible}
 body.figma-desktop #pageContent button.applied-filter-close{position:absolute;top:0;right:0;transform:translate(50%,-50%);width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;min-height:14px!important;max-height:14px!important;padding:0!important;border-radius:50%!important;box-sizing:border-box!important;aspect-ratio:1;line-height:12px!important;font-size:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 body.figma-desktop.viewport-list-page #pageContent>.action-card:has(.group-management-panel) .group-management-panel{padding:0!important}
}
body.figma-desktop.viewport-list-page .list-export-button{padding:4px 7px}
body.figma-desktop .batch-import-dialog{border-radius:12px}
body.figma-desktop .batch-import-dialog .business-notice{margin:4px 0 8px;font-size:12px;line-height:18px}
.figma-mobile:has(#workspace:not(.hidden)) main{padding:10px 12px 12px}
.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs{box-sizing:border-box;height:44px;min-height:44px;margin:0 -12px 0;padding:7px 12px}
.figma-mobile:has(#workspace:not(.hidden)) #mobile,.figma-mobile:has(#workspace:not(.hidden)) #mobileHistory{padding-top:18px}
.figma-mobile:has(#workspace:not(.hidden)) #mobile .overview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;height:75px;min-height:75px;margin:0;padding:15px}
.figma-mobile .overview-copy{min-width:0}
.figma-mobile .overview-copy h2,.figma-mobile .overview-copy p{margin:0}
.figma-mobile .entry-month{display:flex;flex-direction:column;justify-content:center;gap:2px;width:148px;flex:none;margin:0;font-size:12px;line-height:16px;font-weight:400;color:#666}
.figma-mobile .entry-month .calendar-field{width:100%;height:30px}
.figma-mobile .entry-month .calendar-proxy,.figma-mobile #historyMonth,.figma-mobile #mobileHistory .calendar-field{width:100%;max-width:100%;box-sizing:border-box}
.figma-mobile:has(#workspace:not(.hidden)) #mobileHistory>label{width:100%;margin-top:0}
.figma-mobile:has(#workspace:not(.hidden)) footer{box-sizing:border-box;height:38px;min-height:38px;padding:10px 12px;gap:0;justify-content:center}
.figma-mobile #mobileContent>.panel{margin-top:10px;padding:22px 15px 14px}
.figma-mobile #mobileContent .action-title{min-height:46px;margin-top:7px;align-items:center}
.figma-mobile .meter-card{min-height:179px}
.figma-mobile .meter-card h3{margin:0 0 8px}
.figma-mobile .reading-value{min-height:27px;margin-bottom:8px}
.figma-mobile .meter-card label{display:grid;gap:8px;margin:0}
/* 合计行高对齐首页工作台：13px 字、16px 行高、上下 9px 内边距，外框 34.5px。操作日志不再有合计行。 */
body.figma-desktop #manager #pageContent .list-total-row>td,
body.figma-desktop #manager #pageContent .calculation-sheet-total-row>td{box-sizing:border-box;height:auto!important;min-height:34.5px!important;max-height:none!important;padding-top:9px!important;padding-bottom:9px!important;line-height:16px!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word;overflow:hidden;vertical-align:middle!important;text-align:center!important}

/* 未登录只保留登录页：窄屏里 #manager{display:flex!important} 不能把工作台和侧栏维护字漏出来。 */
body.figma-desktop:has(#login:not(.hidden)) #manager,
body.figma-desktop:has(#login:not(.hidden)) #mobile{display:none!important}

/* 桌面管理端变窄时仍是侧栏加内容，不把导航折成横条。统计卡缩小或换行，只有表格内部横向滚动。 */
body.figma-desktop:has(#manager:not(.hidden)){overflow-x:hidden}
body.figma-desktop:has(#manager:not(.hidden)) #manager.admin-shell{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;min-width:0!important}
body.figma-desktop:has(#manager:not(.hidden)) .nav-column{max-height:none!important;min-width:0!important;overflow:auto!important}
body.figma-desktop:has(#manager:not(.hidden)) #nav{flex-direction:column!important;overflow-x:hidden!important}
body.figma-desktop:has(#manager:not(.hidden)) .nav-button{width:100%!important;min-width:0!important;flex:none!important}
body.figma-desktop:has(#manager:not(.hidden)) main,
body.figma-desktop:has(#manager:not(.hidden)) #manager>.panel,
body.figma-desktop:has(#manager:not(.hidden)) #pageContent{min-width:0!important;max-width:100%!important}
@media(max-width:1200px){
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .dashboard-summary,
 body.figma-desktop .dashboard-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(108px,1fr))!important;height:auto!important;min-height:0!important;overflow:visible!important;width:100%!important}
 body.figma-desktop .dashboard-summary .summary-card,
 body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card{width:auto!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important;height:auto!important}
 body.figma-desktop .dashboard-summary .summary-card span{white-space:normal!important}
}

/* 焦点环完整可见：筛选行和表单行给底部留出位置，不再被 overflow 裁掉。 */
body.figma-desktop :is(input,select,textarea):focus,
body.figma-desktop :is(input,select,textarea):focus-visible{outline:2px solid #111!important;outline-offset:2px!important}
body.figma-desktop #filterDialog,
body.figma-desktop #filterDialog .filter-conditions,
body.figma-desktop #filterDialog .filter-condition,
body.figma-desktop .dialog-form,
body.figma-desktop .dialog-form .grid{overflow:visible!important}
body.figma-desktop #filterDialog .filter-condition{padding-top:4px;padding-bottom:6px}
body.figma-desktop #filterDialog .dialog-body{overflow:auto}

/* 导入预览：错误行整行红色，并在表上方写出原因。已退宿的住宿历史用灰色。 */
.import-preview-table tr.import-row-invalid td,
.import-preview-table tr.import-row-invalid .import-check-result{color:#b42318!important}
.import-error-reasons{color:#b42318;margin:8px 0 0;font-size:13px;line-height:1.6}
.import-error-reasons ul{margin:4px 0 0;padding-left:1.2em}
/* 修改住宿历史记录弹窗的尺寸在文件末尾按 Figma 177:5688 收口。 */
#pageContent tr.stay-closed td{color:#9aa0a6!important}
body.figma-desktop .record-toolbar{position:relative;z-index:4}
.figma-mobile .entry-month{width:auto;max-width:100%}
.figma-mobile .entry-month-row{display:flex;align-items:center;gap:6px}
.figma-mobile .entry-month-row .calendar-field{width:112px;flex:none}
.figma-mobile #entryMonthConfirm{height:30px;min-height:30px;padding:4px 10px;font-size:13px;line-height:16px;font-weight:400}
body.figma-desktop .dorm-list-tabs{display:flex;align-items:center;gap:8px;height:36px;margin:0 0 12px}
body.figma-desktop .dorm-list-tabs button{width:auto;height:30px;min-height:30px;padding:4px 12px;border-radius:8px;font-size:13px;line-height:16px;font-weight:400}

/* 手机抄表：顶栏和月份区固定，只滚宿舍列表；月份面板固定在视口内，不被裁切。底栏停在视口底部。 */
html:has(body.figma-mobile #workspace:not(.hidden)){height:100%;overflow:hidden!important}
body.figma-mobile:has(#workspace:not(.hidden)){height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow:hidden!important;background:#f7f7f8!important}
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-header{position:relative;top:auto!important;flex:none;z-index:40;background:transparent;grid-template-rows:56px 24px;row-gap:8px}
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-header .brand{background:#111;width:100%}
body.figma-mobile:has(#workspace:not(.hidden)) #identity{background:transparent;height:24px;min-height:24px;margin:0 12px;padding:0}
body.figma-mobile:has(#workspace:not(.hidden)) main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;width:100%;max-width:640px;margin:0 auto;padding:0;background:#f7f7f8}
body.figma-mobile:has(#workspace:not(.hidden)) #workspace{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;background:#f7f7f8}
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs{position:relative;top:auto!important;flex:none;z-index:30;margin:0;background:#f7f7f8}
body.figma-mobile:has(#workspace:not(.hidden)) #mobile,
body.figma-mobile:has(#workspace:not(.hidden)) #mobileHistory{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;padding-top:0;background:#f7f7f8}
/* 录入页和记录页共用同一张月份白卡片，切换页签时尺寸不变。 */
body.figma-mobile .month-card{position:relative!important;top:auto!important;z-index:25;flex:none;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;box-sizing:border-box;width:auto!important;height:50px!important;min-height:50px!important;max-height:50px!important;margin:10px 12px 12px!important;padding:0 12px!important;border:1px solid #d0d0d0!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}
body.figma-mobile .month-card .month-bar{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;margin:0;padding:0;background:transparent;box-sizing:border-box}
body.figma-mobile .month-card .month-inline{display:flex;align-items:center;flex:none;margin:0;font-size:12px;line-height:16px;font-weight:400;color:#666;white-space:nowrap}
body.figma-mobile .month-card .month-input,body.figma-mobile #entryMonth,body.figma-mobile #historyMonth{width:120px!important;max-width:120px!important;min-width:120px!important;flex:none!important;height:30px!important;min-height:30px!important;max-height:30px!important;margin:0!important;padding:2px 8px!important;box-sizing:border-box;border:1px solid #d4d4d8!important;border-radius:6px;background:#fff;font-size:13px!important;line-height:18px!important;font-weight:400;text-align:center}
body.figma-mobile .month-card .month-confirm{margin:0!important;flex:none;box-sizing:border-box;width:56px!important;min-width:56px!important;max-width:56px!important;height:25px!important;min-height:25px!important;max-height:25px!important;padding:0!important;border:1px solid #18181b;border-radius:6px;background:#18181b;font-size:13px;line-height:16px;font-weight:400}
body.figma-mobile:has(#workspace:not(.hidden)) #mobileContent,
body.figma-mobile:has(#workspace:not(.hidden)) #historyContent{flex:1 1 auto;min-height:0;width:100%;max-width:100%;margin:0;overflow:auto;background:#f1f1f1;padding:4px 12px 16px;z-index:1}
/* 楼层框和标题保持整行宽，标题文字居中。不要把 floor-stack / floor-section 收成 fit-content，否则标题会跟着偏左。 */
body.figma-mobile .floor-stack{display:flex;flex-direction:column;align-items:flex-start;flex:none;align-self:stretch;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0}
body.figma-mobile .floor-stack>.floor-section{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;width:100%;max-width:100%;min-width:0;margin:10px 0 0}
body.figma-mobile .floor-stack>.floor-section>h3{align-self:stretch;width:100%;margin:0;text-align:center;font-size:16px;line-height:24px;font-weight:400;color:#111}
body.figma-mobile #mobileContent .floor-stack .room-grid{display:grid;grid-template-columns:repeat(auto-fill,83px);justify-content:center;align-content:start;gap:5px;width:100%;max-width:100%;min-width:0;margin:0}
/* 抄表记录：卡片整组居中。固定三列，避免 width:fit-content 配 auto-fill 收成一列。楼层标题仍整行居中，不缩小 floor-stack / floor-section。 */
body.figma-mobile #historyContent .floor-stack .history-grid{display:grid;grid-template-columns:repeat(3,115px);justify-content:start;justify-items:start;align-content:start;gap:4px;width:fit-content;max-width:100%;margin-inline:auto}
body.figma-mobile #mobileContent .floor-stack .room-cell{box-sizing:border-box;width:83px!important;min-width:83px!important;max-width:83px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 4px;gap:4px;justify-self:center;justify-content:flex-end}
body.figma-mobile #mobileContent .floor-stack .room-cell strong{font-size:14px;line-height:26px;font-weight:400}
body.figma-mobile #mobileContent .room-cell .status{box-sizing:border-box;width:45px;min-width:45px;max-width:45px;height:22px;min-height:22px;padding:0;font-size:13px;line-height:22px;text-align:center;white-space:nowrap}
/* 录入详情白卡片。常态对齐 Figma 27:2：标题加粗、未抄表灰徽章、水电并排、本月输入 60×30、按钮 100×30。 */
body.figma-mobile #mobileContent>.reading-detail{display:flex;flex-direction:column;gap:10px;flex:none;align-self:center;box-sizing:border-box;width:min(365px,calc(100% - 24px));margin:16px auto 20px;padding:12px 14px 28px;background:#fff;border:1px solid #d0d0d0;border-radius:6px}
body.figma-mobile #mobileContent>.reading-detail .action-title{position:relative;display:flex;justify-content:center;align-items:center;min-height:46px;margin:0}
body.figma-mobile #mobileContent>.reading-detail .action-title>div{width:100%;text-align:center}
body.figma-mobile #mobileContent>.reading-detail .section-title{margin:0;text-align:center;font-size:19px;line-height:27px;font-weight:700;color:#111}
body.figma-mobile #mobileContent>.reading-detail .action-title .status{position:absolute;right:0;top:50%;transform:translateY(-50%);width:auto;height:26px;min-height:26px;padding:0 6px;border-radius:3px;background:#e8e8e8;color:#111;font-size:13px;line-height:26px;font-weight:400;text-align:center}
body.figma-mobile #mobileContent>.reading-detail .meter-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
body.figma-mobile #mobileContent>.reading-detail .meter-card{display:flex;flex-direction:column;gap:8px;box-sizing:border-box;min-height:0;margin:0;padding:10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff}
body.figma-mobile #mobileContent>.reading-detail .meter-card h3{margin:0;text-align:center;font-size:16px;line-height:24px;font-weight:700;color:#111}
body.figma-mobile #mobileContent>.reading-detail .reading-value{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px;min-height:30px;margin:0;background:transparent;padding:0}
body.figma-mobile #mobileContent>.reading-detail .reading-value span,body.figma-mobile #mobileContent>.reading-detail .reading-value strong{display:inline;margin:0;white-space:nowrap}
body.figma-mobile #mobileContent>.reading-detail .reading-value>span{flex:0 0 46px;text-align:right;font-size:13px;line-height:20px;font-weight:400;color:#666}
body.figma-mobile #mobileContent>.reading-detail .reading-value>strong{flex:0 0 60px;width:60px;text-align:center;font-size:15px;line-height:22px;font-weight:400;color:#111}
body.figma-mobile #mobileContent>.reading-detail .meter-card label{display:grid;gap:4px;margin:0;font-size:15px;line-height:22px;font-weight:400;color:#111}
body.figma-mobile #mobileContent>.reading-detail .meter-card input{box-sizing:border-box;width:60px!important;min-width:0!important;max-width:60px!important;flex:0 0 60px;height:30px!important;min-height:30px!important;max-height:30px!important;margin:0;padding:0 4px;border:1px solid #d1d5db!important;border-radius:4px;background:#fff;box-shadow:none!important;outline:none!important;font-size:15px;font-weight:400;color:#111;text-align:center;appearance:textfield;-moz-appearance:textfield}
body.figma-mobile #mobileContent>.reading-detail .meter-card input::-webkit-outer-spin-button,body.figma-mobile #mobileContent>.reading-detail .meter-card input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}
body.figma-mobile #mobileContent>.reading-detail .meter-card input:focus{border:1px solid #d1d5db!important;outline:none!important;box-shadow:none!important}
body.figma-mobile #mobileContent>.reading-detail .button-row{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:32px}
body.figma-mobile #mobileContent>.reading-detail .button-row>button{width:100px!important;height:30px!important;min-height:30px!important;padding:4px 10px;border-radius:4px;font-size:15px;font-weight:400}
body.figma-mobile #mobileContent>.reading-detail .button-row>button.secondary{background:#eee;color:#111;border:1px solid #aaa}
body.figma-mobile #mobileContent>.reading-detail:has(.reading-exception-note) .button-row{margin-top:10px}
body.figma-mobile #mobileContent>.reading-detail:has(.reading-exception-note) .button-row>button{width:120px!important;height:36px!important;min-height:36px!important;font-size:14px}
body.figma-mobile:has(#workspace:not(.hidden)) footer{flex:none;position:relative;z-index:40;width:100%;max-width:640px;margin:0 auto;background:#f7f7f8}
body.figma-mobile .month-panel{position:fixed;z-index:80;box-sizing:border-box;background:#fff;border:1px solid #d0d0d0;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.16);padding:8px}
body.figma-mobile .month-panel-head,body.figma-mobile .month-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
body.figma-mobile .month-panel-foot{margin:8px 0 0}
body.figma-mobile .month-panel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.figma-mobile .month-panel button{min-height:36px;height:36px;padding:4px;background:#fff;color:#111;border:1px solid #ddd;font-size:13px}
body.figma-mobile .month-panel button.is-selected{background:#111;color:#fff;border-color:#111}
/* 抄表记录 20:12368：外框 115×55，水电区 80×45。录入总览 20:12519 是 78×40 状态条，不要套成水电框。 */
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs{height:auto!important;min-height:0!important;align-items:center}
body.figma-mobile .mobile-tabs button{height:30px!important;min-height:30px!important;padding:4px 8px;font-size:15px!important;line-height:22px;font-weight:400;border-radius:4px}
body.figma-mobile .mobile-tabs button[aria-selected="false"]{background:#e7e7e7;color:#111;border:1px solid #aaa}
body.figma-mobile #historyContent .floor-stack{width:100%;max-width:100%;min-width:0}
body.figma-mobile #historyContent .history-grid .record-detail.history-reading{box-sizing:border-box;width:115px!important;min-width:115px!important;max-width:115px!important;height:55px!important;min-height:55px!important;max-height:55px!important;padding:4px 4px;gap:4px;justify-content:space-between}
body.figma-mobile #historyContent .history-reading strong{flex:none;font-size:14px;line-height:20px;font-weight:400}
body.figma-mobile #historyContent .meter-pair-box{flex:none;box-sizing:border-box;width:80px;min-width:80px;max-width:80px;height:45px;min-height:45px;max-height:45px;padding:4px 4px;gap:2px;justify-content:center}
body.figma-mobile #historyContent .meter-mini{font-size:13px;line-height:16px;gap:4px;white-space:nowrap}
body.figma-mobile #confirmDialog .dialog-actions{align-items:center}
body.figma-mobile #confirmDialog .dialog-actions button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:88px;height:32px;min-height:32px;padding:0 14px;line-height:1;white-space:nowrap}
/* 抄表录入总览：宿舍卡片保持白底，只给状态条上色。已抄表绿、度数/读数异常黄、未抄表灰。 */
body.figma-mobile #mobileContent .floor-stack .room-cell.pending,body.figma-mobile #mobileContent .floor-stack .room-cell.read,body.figma-mobile #mobileContent .floor-stack .room-cell.abnormal{background:#fff}
body.figma-mobile #mobileContent .floor-stack .room-cell .status.read{background:#bfe3bf;color:#111}
body.figma-mobile #mobileContent .floor-stack .room-cell .status.abnormal{background:#f1e4c9;color:#111}
body.figma-mobile #mobileContent .floor-stack .room-cell .status.usage-mark{background:#fff8db;color:#9a6700;border:1px solid #9a6700}
body.figma-mobile #mobileContent .floor-stack .room-cell .status.pending{background:#e8e8e8;color:#111}

/* 2026-11-05：管理端侧栏对齐首页 Figma「Navigation - 管理功能」88:25。字号 15px、项间距 8px。侧栏仍随内容撑开，页脚保持 14px。各管理页共用，选中项仍跟当前页。手机抄表不在此范围。 */
body.figma-desktop:has(#manager:not(.hidden)) .nav-column{width:260px!important;min-width:260px!important;max-width:260px!important;flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important}
body.figma-desktop:has(#manager:not(.hidden)) #nav{box-sizing:border-box!important;width:260px!important;min-width:260px!important;max-width:260px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:17px 10px!important;background:#ffffff!important;border:1px solid #e4e4e7!important;border-radius:12px!important;height:auto!important;max-height:none!important;overflow:visible!important}
body.figma-desktop:has(#manager:not(.hidden)) .nav-maintenance{font-size:14px!important;line-height:20px;text-align:center}
body.figma-desktop:has(#manager:not(.hidden)) #nav .nav-code{display:none!important}
body.figma-desktop:has(#manager:not(.hidden)) #nav .nav-button{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;max-height:40px!important;flex:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:6px 12px!important;border-radius:8px!important;border-color:transparent!important;background:transparent!important;color:#52525b!important;font-size:15px!important;font-weight:400!important;line-height:16.8px!important;text-align:center!important;white-space:nowrap!important}
body.figma-desktop:has(#manager:not(.hidden)) #nav .nav-button:hover:not(.active){background:#f4f4f5!important;color:#52525b!important}
body.figma-desktop:has(#manager:not(.hidden)) #nav .nav-button.active{background:#18181b!important;color:#ffffff!important;border-color:transparent!important}
body.figma-desktop .dashboard-month-bar .calendar-field{width:150px!important;height:35px!important;flex:none!important}
body.figma-desktop .dashboard-month-bar .calendar-proxy{width:100%!important;height:35px!important;min-height:35px!important;max-height:35px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important;border:1px solid #d4d4d8!important;border-radius:8px!important;background:#fff!important;color:#18181b!important;font-size:13px!important;font-weight:400!important;line-height:33px!important}
/* 2026-11-05：未抄表与读数异常的数字加粗，读数异常沿用未抄表深红。其他统计卡保持原字重。 */
body.figma-desktop .dashboard-summary .summary-card.summary-unread strong,
body.figma-desktop .dashboard-summary .summary-card.summary-exception strong,
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card.summary-unread strong,
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card.summary-exception strong{color:#8B0000;font-weight:700}
/* 2026-11-06：未抄表或读数异常计数大于 0 时，对应卡片填粉。计数为 0 不加 summary-count-alert。 */
body.figma-desktop .dashboard-summary .summary-card.summary-unread.summary-count-alert,
body.figma-desktop .dashboard-summary .summary-card.summary-exception.summary-count-alert,
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card.summary-unread.summary-count-alert,
body.figma-desktop.viewport-list-page:has(#manager:not(.hidden) .dashboard-summary) .summary-card.summary-exception.summary-count-alert{background:#fce7e7}

/* 2026-11-06：管理端题头对齐宿舍列表 119:2。标题容器高 35、下边距 0；宿舍三个选项卡行高 48；筛选与工具栏行高 50。水电单价稿标题容器仍是 43，网页按同一套收紧。只改这些页的排版。 */
body.figma-desktop.viewport-list-page:is(
  :has(#pageContent .dorm-list-tabs),
  :has(#pageContent .price-table),
  :has(#pageContent .record-table-labor_companies),
  :has(#pageContent.calculation-page)
) .page-head{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  margin:0!important;
  padding:0!important;
}
body.figma-desktop.viewport-list-page:is(
  :has(#pageContent .dorm-list-tabs),
  :has(#pageContent .price-table),
  :has(#pageContent .record-table-labor_companies),
  :has(#pageContent.calculation-page)
) #pageTitle{
  margin:0!important;
  padding:0!important;
  height:35px;
  font-size:24px;
  line-height:35px;
  font-weight:400;
  letter-spacing:0;
  color:#18181b;
  text-align:center;
}
body.figma-desktop.viewport-list-page #pageContent>.people-list-tabs.dorm-list-tabs{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:8px;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0;
}
body.figma-desktop.viewport-list-page #pageContent>.people-list-tabs.dorm-list-tabs button{
  height:30px;
  min-height:30px;
  padding:4px 12px;
  border-radius:8px;
  font-size:13px;
  line-height:16px;
  font-weight:400;
}
body.figma-desktop.viewport-list-page:has(#pageContent .dorm-list-tabs) #pageContent>.people-list-host>.action-card,
body.figma-desktop.viewport-list-page:has(#pageContent .record-table-labor_companies) #pageContent>.action-card,
body.figma-desktop.viewport-list-page:has(#pageContent .price-table) #pageContent>.action-card:has(.price-table){
  padding:7px 20px 5px!important;
}
body.figma-desktop.viewport-list-page:has(#pageContent .dorm-list-tabs) #pageContent .action-title,
body.figma-desktop.viewport-list-page:has(#pageContent .record-table-labor_companies) #pageContent>.action-card>.action-title,
body.figma-desktop.viewport-list-page:has(#pageContent .price-table) #pageContent>.action-card:has(.price-table)>.action-title{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:0!important;
}
body.figma-desktop.viewport-list-page:has(#pageContent .dorm-list-tabs) #pageContent .action-title h3,
body.figma-desktop.viewport-list-page:has(#pageContent .record-table-labor_companies) #pageContent>.action-card>.action-title h3,
body.figma-desktop.viewport-list-page:has(#pageContent .price-table) #pageContent>.action-card:has(.price-table)>.action-title h3{
  display:none!important;
}
body.figma-desktop.viewport-list-page:is(
  :has(#pageContent .dorm-list-tabs),
  :has(#pageContent .record-table-labor_companies)
) #pageContent .applied-filter-summary,
body.figma-desktop.viewport-list-page:has(#pageContent .price-table) #pageContent .applied-filter-summary{
  margin:0!important;
  padding-right:18px!important;
  font-size:12px!important;
  line-height:20px!important;
  font-weight:600!important;
  color:#163d72!important;
}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .calculation-filters{
  box-sizing:border-box;
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:8px;
  height:auto;
  min-height:55px;
  margin:0!important;
  padding:0;
}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .report-kind-tabs{
  height:36px;
  margin:0;
  gap:8px;
  align-items:center;
}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .report-kind-tabs button{
  height:30px;
  min-height:30px;
  padding:4px 14px;
  border-radius:8px;
  font-size:13px;
  line-height:16px;
  font-weight:400;
}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .calculation-export-pair{
  margin-top:2px;
  margin-left:auto;
  gap:12px;
  height:32px;
  align-items:center;
}
body.figma-desktop.viewport-list-page #pageContent.calculation-page .calculation-export-pair button{
  height:32px;
  min-height:32px;
  padding:8px 16px;
  border-radius:8px;
  font-size:13px;
  line-height:16px;
  font-weight:400;
}
/* 费用核算修改弹窗。类名由核算确认分支挂上；这里只补视觉，备注编辑居中加宽为多行，宿舍用量弹窗只把备注拉成整行单行。 */
body.figma-desktop #recordDialog.billing-remark-edit{
  width:min(560px,calc(100vw - 32px))!important;
}
body.figma-desktop #recordDialog.billing-remark-edit>.dialog-body{
  padding:12px 38px 14px;
}
body.figma-desktop #recordDialog.billing-remark-edit h2{
  margin:0 0 30px;
  font-size:21px;
  line-height:30px;
  font-weight:400;
  text-align:center;
}
body.figma-desktop #recordDialog.billing-remark-edit #recordSubtitle{
  margin:0 0 12px;
  text-align:center;
  font-size:12px;
  line-height:18px;
  color:#787a82;
}
body.figma-desktop #recordDialog.billing-remark-edit #recordContent{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:0;
}
body.figma-desktop #recordDialog.billing-remark-edit #recordContent>.dialog-form,
body.figma-desktop #recordDialog.billing-remark-edit .dialog-form .grid{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  width:min(440px,100%)!important;
  max-width:440px;
  margin-inline:auto;
  gap:20px;
  grid-template-columns:none!important;
}
body.figma-desktop #recordDialog.billing-remark-edit .dialog-form .grid>label{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  margin:0;
  gap:20px;
  text-align:center!important;
  font-size:14px;
  line-height:20px;
  font-weight:400;
  color:#3f3f46;
  grid-template-columns:none!important;
}
body.figma-desktop #recordDialog.billing-remark-edit textarea[name=remark]{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:96px!important;
  min-height:96px!important;
  margin:0;
  resize:vertical;
}
body.figma-desktop #recordDialog.dorm-billing-edit{
  width:min(700px,calc(100vw - 24px));
}
body.figma-desktop #recordDialog.dorm-billing-edit #recordSubtitle{
  text-align:left;
}
body.figma-desktop #recordDialog.dorm-billing-edit .dialog-form .grid>label:has(input[name=remark]){
  grid-column:1 / -1;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:100px minmax(0,450px)!important;
}
body.figma-desktop #recordDialog.dorm-billing-edit input[name=remark]{
  width:100%!important;
  max-width:450px!important;
  height:35px;
  min-height:35px;
}
/* 手机抄表录入：页签行锁回 44px，两颗按钮等宽。不改抄表记录卡片。 */
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:6px;
  height:44px!important;
  min-height:44px!important;
  max-height:44px;
  margin:0;
  padding:7px 12px;
  background:#f7f7f8;
}
body.figma-mobile:has(#workspace:not(.hidden)) .mobile-tabs button{
  flex:1 1 0;
  height:30px!important;
  min-height:30px!important;
  max-height:30px;
  padding:4px 8px;
  border-radius:4px;
  font-size:15px!important;
  line-height:22px;
  font-weight:400;
}
body.figma-mobile #mobileContent .floor-stack>.floor-section{
  gap:7px;
  margin:10px 0 0;
}
body.figma-mobile #mobileContent .floor-stack>.floor-section>h3{
  margin:0;
}
/* 抄表记录：读数异常或含手动改用量的水电框用费用核算同一套黄（#fff8db / #9a6700）。不改网格列数、宽度和居中。正常已抄表仍是 #dcefdc，未抄表仍是 #f5dada。 */
body.figma-mobile #historyContent .meter-pair-box.abnormal{background:#fff8db;color:#111;border:1px solid #9a6700}
/* 录入详情右上状态：已抄表用历史徽章绿，读数异常用黄描边徽章（Figma 60:2），未抄表保持灰底（Figma 27:2）。 */
body.figma-mobile #mobileContent>.reading-detail .action-title .status.read{background:#dcfce7;color:#166534;border:1px solid #86efac}
body.figma-mobile #mobileContent>.reading-detail .action-title .status.abnormal{height:24px;min-height:24px;padding:0 8px;line-height:22px;background:#fef3c7;color:#92400e;border:1px solid #fcd34d}
body.figma-mobile #mobileContent>.reading-detail .action-title .status.usage-mark{height:24px;min-height:24px;padding:0 8px;line-height:22px;background:#fff8db;color:#9a6700;border:1px solid #9a6700}
body.figma-mobile #mobileContent>.reading-detail .reading-exception-note{display:block;box-sizing:border-box;width:100%;margin:0;padding:6px 8px;border:0;border-radius:4px;background:#f8e2e2;color:#8a2222;font-size:13px;line-height:18px;text-align:center}
/* 抄表记录详情弹窗对齐 Figma 151:211 的白卡片。模态对话框默认 inset:0，高度 auto 时会拉成整屏，白底把抄表记录列表盖住。这里收成内容高度并居中，半透明遮罩下仍是缺页补捕那套列表页。 */
body.figma-mobile #detailDialog{position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;box-sizing:border-box;width:min(340px,calc(100vw - 32px))!important;max-width:340px!important;height:auto!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:20px 20px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#111;box-shadow:0 8px 24px rgba(0,0,0,.12)}
body.figma-mobile #detailDialog::backdrop{background:rgba(17,17,17,.22)!important}
body.figma-mobile #detailDialog #detailTitle{margin:0 0 14px;font-size:18px;line-height:normal;font-weight:700;text-align:center;color:#111}
body.figma-mobile #detailDialog .detail-grid-compare{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;max-width:none;margin:0}
body.figma-mobile #detailDialog .detail-row{display:flex;align-items:center;width:100%;min-width:0}
body.figma-mobile #detailDialog .detail-row>dt{flex:0 0 100px;width:100px;margin:0;text-align:right;color:#666;font-size:13px;line-height:normal;font-weight:400}
body.figma-mobile #detailDialog .detail-row>dd{flex:1 1 auto;min-width:0;margin:0;padding:0 10px;text-align:left;color:#111;font-size:13px;line-height:normal;font-weight:400}
body.figma-mobile #detailDialog .detail-status.abnormal{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:4px;background:#f5d9a8;color:#111;font-size:12px;line-height:normal;font-weight:400}
body.figma-mobile #detailDialog .detail-meter-values{display:flex;align-items:center;justify-content:space-between;flex:1 1 auto;min-width:0;margin:0;padding:0 0 0 10px}
body.figma-mobile #detailDialog .detail-now,body.figma-mobile #detailDialog .detail-prev{flex:0 0 41px;width:41px;text-align:center;font-size:13px;line-height:normal;color:#111}
body.figma-mobile #detailDialog .detail-now{font-weight:700}
body.figma-mobile #detailDialog .detail-prev{font-weight:400}
body.figma-mobile #detailDialog .detail-meter-rule{flex:none;width:1px;height:14px;background:#d4d4d8;align-self:center}
body.figma-mobile #detailDialog .detail-usage{flex:0 1 auto;min-width:66px;padding-left:6px;white-space:nowrap;font-size:13px;font-weight:400;color:#111}
body.figma-mobile #detailDialog .detail-usage-num.usage-abnormal{color:#dc2626;font-weight:400;background:transparent}
body.figma-mobile #detailDialog .detail-usage.usage-override{background:#fff8db;color:#9a6700;font-weight:700;border-radius:4px;padding:0 4px}
body.figma-mobile #detailDialog .dialog-actions{justify-content:center;align-items:center;margin-top:4px;padding-top:4px}
body.figma-mobile #detailDialog .dialog-actions #detailClose{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:0;height:30px;min-height:30px;max-height:30px;padding:0 16px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#111;font-size:13px;font-weight:400;line-height:1;outline:none}
/* 登录卡片里的失效/错误提示在内容区水平居中。 */
/* 登录失效提示：底色框按文字收缩，整块在页面上水平居中。电脑和手机同一规则。 */
#loginError,.login-error,
body.figma-mobile:not(:has(#workspace:not(.hidden))) #notice.error,
body.figma-desktop:has(#login:not(.hidden)) #notice.error{
  position:static!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;
  display:block;width:fit-content;max-width:calc(100% - 24px);margin:12px auto 0!important;padding:8px 14px;box-sizing:border-box;
  text-align:center;background:#f8e2e2;color:#8a2222;border:1px solid #e0b9b9;border-radius:4px;font-weight:400
}
/* 没有文字时不能留下粉红空框。输入密码会清空提示，空框不得占位。真正的登录失效文字仍按内容收缩并居中。 */
#loginError[hidden],.login-error[hidden],#loginError:empty,.login-error:empty,
body.figma-mobile:not(:has(#workspace:not(.hidden))) #notice.error:empty,
body.figma-desktop:has(#login:not(.hidden)) #notice.error:empty{display:none!important;margin:0!important;padding:0!important;border:0!important}
/* 对话框按内容撑开，不再在弹窗上出横纵滚动条。下拉和权限列表仍可在自己的框里滚动。 */
body.figma-desktop dialog,
body.figma-mobile dialog{overflow:hidden!important;max-height:none!important}
body.figma-desktop dialog>.dialog-body,
body.figma-mobile dialog>.dialog-body{overflow:visible!important;max-height:none!important}
/* 修改住宿历史记录弹窗见文件末尾。此处不再放宽到 860。 */
/* 带批量新增的弹窗：按钮在标题栏右上，与标题齐平；表单保持两列输入，不再把按钮挤到姓名旁边。 */
body.figma-desktop #recordDialog:has(.dialog-title-bar){width:max-content!important;min-width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
body.figma-desktop #recordDialog:has(.dialog-title-bar)>.dialog-body{min-height:0}
body.figma-desktop #recordDialog:has(.dialog-title-bar)>.dialog-body #recordContent{flex:0 0 auto!important;display:block!important;min-height:0!important;align-items:stretch!important;justify-content:stretch!important}
body.figma-desktop #recordDialog:has(.dialog-title-bar) #recordContent>.dialog-form{display:block!important;width:max-content!important;max-width:100%!important}
body.figma-desktop #recordDialog:has(.dialog-title-bar) #recordContent>.dialog-form>.grid{width:max-content;max-width:100%;grid-template-columns:repeat(2,280px)!important;gap:16px 28px}
body.figma-desktop #recordDialog:has(.dialog-title-bar) .grid>label{width:280px!important;max-width:280px;grid-template-columns:92px minmax(0,1fr)!important}
body.figma-desktop #recordDialog:has(.dialog-title-bar) .grid>label :is(input,select,.searchable-select,.calendar-field,.calendar-proxy):not(.calendar-native){width:100%!important;min-width:0!important;max-width:100%!important}
/* 日期框的日历热区只占右侧，避免被弹窗里的 100% 宽度盖住整行，导致不能逐字输入。 */
body.figma-desktop #recordDialog:not(.stay-edit-dialog) .grid>label .calendar-field>.calendar-native,
body.figma-desktop #filterDialog .filter-condition .calendar-field>.calendar-native{
  position:absolute!important;right:0;top:0;width:34px!important;min-width:34px!important;max-width:34px!important;height:100%!important;margin:0!important;padding:0!important;opacity:0;z-index:3;cursor:pointer
}
body.figma-desktop #recordDialog .dialog-title-bar{position:relative;min-height:30px;margin:0 0 18px}
body.figma-desktop #recordDialog .dialog-title-bar h2{position:absolute;left:0;right:0;top:0;margin:0;text-align:center;pointer-events:none}
body.figma-desktop #recordDialog .dialog-title-bar .dialog-batch-bar{position:static;height:0;margin:0}
body.figma-desktop #recordDialog .dialog-title-bar .batch-import-launch{position:absolute;right:0;top:0;margin:0;height:30px;min-height:30px;width:auto;z-index:1}
/* 手机抄表录入：本月输入与文案同一行，用量在下一行。负数沿用核算表异常红。 */
body.figma-mobile #mobileContent>.reading-detail .reading-current{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px}
body.figma-mobile #mobileContent>.reading-detail .reading-current input{width:60px!important;min-width:0!important;max-width:60px!important;flex:0 0 60px;height:30px!important;min-height:30px!important;max-height:30px!important;text-align:center}
body.figma-mobile #mobileContent>.reading-detail .reading-usage .usage-abnormal{color:#dc2626;font-weight:400;background:transparent;border-radius:0;padding:0}
body.figma-mobile #mobileContent>.reading-detail .reading-usage>strong.usage-override{background:#fff8db;color:#9a6700;font-weight:700;border-radius:4px}
/* 手机抄表月份：录入页和记录页都点输入框弹出选月。文字居中，不放日历图标。 */
body.figma-mobile #entryMonth,body.figma-mobile #historyMonth{padding:2px 8px!important;text-align:center}

/* Figma 备份 177:2 内对话框 177:5688。左列员工姓名、人员类型、入住日期；右列入住宿舍、所属单位、退宿日期。
   177:5710 宽 656。左列内容宽 286 并贴在轨道起点，右列从 x=348 起，内容间距 62（等分轨道 gap 40，加上左轨空出的 22）。入住日期在 286 宽左列内右对齐，x=20。只约束 .stay-edit-dialog。 */
body.figma-desktop #recordDialog.stay-edit-dialog{position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;margin:0!important;width:720px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;border:1px solid #d6d9e0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 24px 80px rgba(0,0,0,.2)!important;color:#1c1f24}
body.figma-desktop #recordDialog.stay-edit-dialog>.dialog-body{display:block!important;padding:0!important;margin:0!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.figma-desktop #recordDialog.stay-edit-dialog>.dialog-body>h2{position:static!important;left:auto!important;right:auto!important;top:auto!important;margin:0!important;padding:24px 38px 0!important;font-size:21px!important;line-height:25px!important;font-weight:400!important;letter-spacing:0!important;text-align:center!important;color:#1c1f24!important;pointer-events:auto}
body.figma-desktop #recordDialog.stay-edit-dialog #recordSubtitle{display:block!important;margin:16px 38px 20px!important;padding:0!important;font-size:12px!important;line-height:14px!important;font-weight:400!important;letter-spacing:0!important;color:#787883!important;text-align:left!important}
body.figma-desktop #recordDialog.stay-edit-dialog #recordResult:empty{display:none!important;margin:0!important;padding:0!important}
body.figma-desktop #recordDialog.stay-edit-dialog>.dialog-body:has(#recordContent .stay-edit-form) #recordContent{flex:0 0 200px!important;display:block!important;align-items:stretch!important;justify-content:flex-start!important;width:auto!important;height:200px!important;min-height:0!important;max-height:200px!important;margin:0 31px!important;padding:0!important;overflow:visible!important}
body.figma-desktop #recordDialog.stay-edit-dialog #recordContent>.stay-edit-form{display:block!important;width:656px!important;max-width:656px!important;min-height:0!important;margin:0!important;gap:0!important}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid{display:grid!important;box-sizing:border-box;width:656px!important;height:200px!important;min-height:200px!important;max-height:200px!important;grid-template-columns:286px minmax(0,1fr)!important;grid-template-rows:36px 36px 36px!important;column-gap:62px!important;row-gap:24px!important;align-content:start!important;justify-content:start!important;margin:0!important;overflow:visible!important}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:max-content!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;grid-template-columns:none!important;text-align:right;font-size:14px;line-height:17px;font-weight:400!important;color:#3f3f46;white-space:normal}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label[data-stay-col="1"]{grid-column:1;justify-self:end}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label[data-stay-col="2"]{grid-column:2;justify-self:start}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label[data-stay-row="1"]{grid-row:1}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label[data-stay-row="2"]{grid-row:2}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form>.grid>label[data-stay-row="3"]{grid-row:3}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-caption{display:block;flex:0 0 auto;margin:0;text-align:right;font-size:14px;line-height:17px;font-weight:400;color:#3f3f46;white-space:nowrap}
body.figma-desktop #recordDialog.stay-edit-dialog label[data-stay-label="name"] .stay-edit-caption{width:110px;min-width:110px;max-width:110px;flex-basis:110px}
body.figma-desktop #recordDialog.stay-edit-dialog label[data-stay-label="date"] .stay-edit-caption,
body.figma-desktop #recordDialog.stay-edit-dialog label[data-stay-label="side"] .stay-edit-caption{width:90px;min-width:90px;max-width:90px;flex-basis:90px}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form :is(.searchable-select,.calendar-field,.stay-edit-value),
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .grid>label>input{box-sizing:border-box!important;width:168px!important;min-width:168px!important;max-width:168px!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;flex:0 0 168px}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-value{display:block!important;padding:9px 10px!important;border:1px solid #d4d4d8!important;border-radius:6px!important;background:#fff!important;color:#3f3f46!important;font-size:13px!important;line-height:16px!important;font-weight:400!important;overflow:hidden;white-space:nowrap;text-overflow:clip;text-align:left;box-shadow:none}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form :is(.searchable-select>input,.calendar-proxy,label>input,label>select){box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;border:1px solid #d4d4d8!important;border-radius:6px!important;background:#fff!important;color:#3f3f46!important;font-size:13px!important;line-height:16px!important;font-weight:400!important;padding:9px 10px!important;text-align:left!important;appearance:none;-webkit-appearance:none}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .searchable-select>input{width:100%!important;min-width:0!important;max-width:100%!important}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .calendar-field{position:relative}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .calendar-field>.calendar-proxy{width:100%!important;min-width:0!important;max-width:100%!important;padding:9px 34px 9px 10px!important;color:#3f3f46!important;background:#fff!important}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .calendar-field>.calendar-native{position:absolute!important;top:4px!important;right:7px!important;left:auto!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;z-index:3;cursor:pointer}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-calendar{position:absolute;top:4px;right:7px;z-index:1;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d4d4d8;border-radius:4px;background:#f4f4f5;pointer-events:none}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-calendar img{display:block;width:16px;height:16px;max-width:none}
body.figma-desktop #recordDialog.stay-edit-dialog label[data-stay-label="date"]{position:relative}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form input[type=search]::-webkit-search-decoration,
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form input[type=search]::-webkit-search-cancel-button,
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form input[type=search]::-webkit-search-results-button{display:none;-webkit-appearance:none;appearance:none}
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form .searchable-select>input:hover,
body.figma-desktop #recordDialog.stay-edit-dialog .stay-edit-form :is(input,select):hover{border-width:1px!important;color:#3f3f46!important;background:#fff!important}
body.figma-desktop #recordDialog.stay-edit-dialog>.dialog-actions{box-sizing:border-box!important;height:64px!important;min-height:64px!important;max-height:64px!important;margin:0!important;padding:16px 20px 17px!important;gap:12px!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;background:#fafafc!important;border-top:1px solid #d6d9e0!important;border-radius:0 0 12px 12px!important}
body.figma-desktop #recordDialog.stay-edit-dialog>.dialog-actions button{box-sizing:border-box!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:30px!important;min-height:30px!important;max-height:30px!important;flex:0 0 100px!important;margin:0!important;padding:0!important;border-radius:6px!important;font-size:13px!important;line-height:16px!important;font-weight:400!important}
body.figma-desktop #recordDialog.stay-edit-dialog #recordCancel{background:#fff!important;color:#3f3f46!important;border:1px solid #d4d4d8!important}
body.figma-desktop #recordDialog.stay-edit-dialog #recordSave{background:#18181b!important;color:#fff!important;border:1px solid #18181b!important}
