:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#223c34;background:#f5f7f5;font-synthesis:none;--green:#145c43;--line:#e4eae5;--muted:#738079}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{width:238px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:31px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:13px;align-items:center;font-size:21px;font-weight:700;letter-spacing:1px}.brand-icon{display:grid;place-items:center;width:42px;height:45px;border-radius:13px 13px 13px 3px;background:var(--green);color:white;font-size:24px}.brand small{display:block;font-size:12px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:4px}nav{display:flex;flex-direction:column;gap:9px;margin-top:53px}.nav{background:transparent;text-align:left;padding:13px 17px;border-radius:9px;color:#69766f;font-size:14px}.nav.active{color:var(--green);background:#eaf4ec;font-weight:700}.nav:hover{background:#f0f5f0}.side-note{margin-top:auto;color:#65736b;font-size:12px}.side-note small{display:block;margin:9px 0 0 14px;font-size:11px;color:#95a097}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4d9c6e;margin-right:5px}.dot.muted{background:#a0aaa3}.workspace{margin-left:238px}header{height:79px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 43px}.breadcrumb{font-size:12px;color:#9aa49e}.breadcrumb span{margin-left:11px}.breadcrumb #crumb{color:#506359}.profile-label{font-size:12px;color:#76867c;display:flex;gap:10px;align-items:center}.profile-label select{padding:8px 11px;border:1px solid var(--line);border-radius:7px;background:#fafcf9;color:#3f564b;font-size:12px}main{max-width:1410px;margin:auto;padding:27px 43px 45px}.notice{padding:12px 17px;border:1px solid #dfe9df;background:#edf4ee;border-radius:8px;color:#617662;font-size:12px;display:flex;align-items:center;gap:15px;line-height:1.8}.notice strong{flex-shrink:0;color:#4b6a52}.notice.small{margin-top:22px;font-size:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:33px 0 27px;gap:18px}h1{font-size:29px;font-weight:600;letter-spacing:1px;margin:8px 0 9px}h2{font-size:16px;margin:0;font-weight:600}p{line-height:1.8}.page-heading p{margin:0;color:#7d8a82;font-size:13px}.eyebrow{font-size:10px!important;letter-spacing:2px;color:#8d9b91!important;font-weight:600}.primary,.secondary{padding:11px 18px;border-radius:8px;font-size:13px}.primary{background:var(--green);color:white;box-shadow:0 3px 6px #145c4310}.primary:hover{background:#0c4934}.secondary{border:1px solid #d9e3dc;background:white;color:#426151}.text-button{background:none;color:#62866f;font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:24px}.stats article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px 26px}.stats span{font-size:12px;color:#738177}.stats strong{display:block;font-size:34px;font-weight:500;margin:13px 0 9px}.stats small{font-size:11px;color:#9aa59e}.panel{border:1px solid var(--line);border-radius:11px;background:#fff;padding:25px 27px;margin-bottom:24px}.two-column{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.tag{font-size:10px;color:#6a8472;background:#f0f5f0;border:1px solid #e7ede7;border-radius:5px;padding:4px 7px;white-space:nowrap}.capability{display:flex;gap:14px;border-bottom:1px solid #f0f3ef;padding:15px 0}.capability:last-child{border:0;padding-bottom:0}.step-number{width:27px;height:27px;border-radius:50%;background:#eaf3eb;color:#2e7050;display:grid;place-items:center;font-size:11px;flex-shrink:0}.capability strong{font-size:13px;font-weight:500}.capability p{font-size:11px;color:#8a968e;margin:5px 0 0}.capability .tag{margin-left:auto;align-self:flex-start}.next-step{background:linear-gradient(145deg,#fafcf8,#f1f6ee);display:flex;flex-direction:column;align-items:flex-start}.next-step h2{font-size:22px;line-height:1.8;margin:9px 0}.next-step p{color:#82907f;font-size:12px;margin-bottom:18px}.collector-status{margin-top:auto;font-size:11px;color:#8b988b;padding-top:22px}.empty{padding:36px 18px;text-align:center;border:1px dashed #dde7df;border-radius:8px;color:#8c998f;font-size:13px}.empty small{display:block;font-size:11px;margin-top:9px}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.source-card{background:white;border:1px solid var(--line);border-radius:11px;padding:24px}.source-card h2{overflow-wrap:anywhere}.source-card p{color:#7c8c80;font-size:12px;margin:12px 0}.source-card .section-heading{margin-bottom:12px}.source-details{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.actions button,.actions select{font-size:11px;padding:8px 10px;border:1px solid #dde5de;border-radius:6px;background:white;color:#54715e}.actions .primary{background:var(--green);color:#fff}.run-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.run-row:last-child{border:0}.run-row strong{font-size:13px;font-weight:500}.run-row p,.run-row time{color:#89988e;font-size:11px;margin:6px 0 0}.status-danger{color:#9c654c;background:#fff2e8;border-color:#f0ded0}.status-success{background:#eaf5ed;color:#4f7d5b}.api-item{padding:22px 0;border-bottom:1px solid var(--line)}.api-item h3{font-size:14px;font-weight:500}.api-item code{font-family:Consolas,monospace;font-size:12px;display:block;margin:10px 0;background:#f5f7f5;padding:10px;border-radius:6px;overflow-wrap:anywhere}.muted-text{color:#7d8d81;font-size:12px}.feedback{font-size:12px;margin-top:14px;background:#fff1e9;border:1px solid #edddce;border-radius:6px;padding:12px;color:#94644e}dialog{width:470px;max-width:calc(100vw - 32px);padding:27px;border:1px solid var(--line);border-radius:13px;box-shadow:0 24px 70px #15332830;color:#284638}dialog::backdrop{background:#14332255}.icon-button{font-size:25px;color:#88958a;background:none}form>label{display:block;font-size:12px;margin:19px 0 8px}input,form select{width:100%;padding:10px 12px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;font-size:13px;color:#395741}fieldset{border:0;margin:19px 0 0;padding:0}legend{font-size:12px;margin-bottom:9px}.checkbox-label{display:flex;align-items:center;gap:9px;margin:10px 0;font-size:12px}.checkbox-label input{width:auto}.field-help{display:block;color:#94a18f;font-size:10px;line-height:1.7;margin:7px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}@media(min-width:1450px){main{padding-top:34px}.page-heading{margin-top:43px;margin-bottom:31px}}@media(max-width:1000px){.sidebar{width:190px;padding:25px 16px}.workspace{margin-left:190px}header{padding:0 24px}main{padding:24px}.two-column{grid-template-columns:1fr}.source-grid{grid-template-columns:1fr}}@media(max-width:640px){.sidebar{position:static;width:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:18px}.brand small{font-size:10px}.brand-icon{width:33px;height:35px;font-size:20px}nav{margin-top:18px;flex-direction:row;overflow:auto;gap:4px}.nav{white-space:nowrap;font-size:12px;padding:10px}.side-note{display:none}.workspace{margin-left:0}header{height:65px;padding:0 18px}.breadcrumb{display:none}.profile-label{margin-left:auto}main{padding:19px 16px}.notice{align-items:flex-start;gap:9px;font-size:11px}.page-heading{align-items:flex-start}h1{font-size:23px}.page-heading p{font-size:11px}.page-heading>.primary{font-size:11px;white-space:nowrap;padding:10px}.stats{gap:9px}.stats article{padding:17px 13px}.stats strong{font-size:27px}.stats small{font-size:10px}.panel{padding:20px}.capability{gap:9px}.capability .tag{white-space:normal;max-width:70px}.run-row{flex-direction:column;gap:7px}}
:root .report-dialog{width:760px;max-height:88vh;overflow:auto}.report-dialog>form>input[type=file]{margin:10px 0 14px}.import-step{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 0 10px;font-size:13px}.report-item{border:1px solid var(--line);border-radius:8px;padding:17px;margin:13px 0;background:#fafcf9}.report-item>.checkbox-label{font-weight:600}.filter-field{display:grid;grid-template-columns:120px 1fr;gap:9px;align-items:center;margin-top:14px;font-size:12px}.filter-field>input{grid-column:2}.version-history{padding-top:12px;font-size:12px}#schedule-fields>label{display:block;margin:20px 0 9px;font-size:12px}@media(max-width:640px){.filter-field{grid-template-columns:1fr}.filter-field>input{grid-column:1}.import-step{align-items:flex-start;flex-direction:column}}
.source-discovery{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;flex-wrap:wrap;gap:9px}.source-discovery select{max-width:100%;min-width:160px}.source-discovery p{width:100%;margin:3px 0}.source-discovery button{font-size:11px}
.import-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:28px}.import-options button{padding:18px;text-align:left;font-weight:600;min-height:90px}.import-options small{display:block;font-weight:400;margin-top:10px;line-height:1.5}.source-grid{margin-bottom:24px}#database-form{display:grid;gap:10px;max-width:520px}#excel-import-area label{display:block;margin:18px 0 8px}@media(max-width:700px){.import-options{grid-template-columns:1fr}}
.source-more{position:relative}.source-more>summary{cursor:pointer;padding:12px 16px;min-height:44px;list-style:none;border:1px solid var(--line);border-radius:8px}.more-actions{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:8px;margin-top:8px}.more-actions small{overflow-wrap:anywhere;max-width:280px}.directory-meta{display:flex;justify-content:space-between;gap:12px;margin:10px 0;color:var(--muted,#78867b);font-size:12px}#report-search,#discovered-report,#report-schedule{width:100%;margin:8px 0 14px}#discovered-report{height:190px;padding:8px}#discovered-report option{padding:8px}#prepare-discovered{margin:4px 0 12px}.advanced-import{margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.advanced-import>summary,.version-history>summary{cursor:pointer}.advanced-import input{display:block;margin:12px 0}.report-dialog .dialog-actions{position:sticky;bottom:0;background:#fff;padding-top:16px}@media(max-width:640px){.directory-meta{flex-direction:column;gap:4px}.source-card .actions{align-items:flex-start}.source-card .actions>.primary{flex:1;min-height:44px}.report-dialog{max-width:94vw}}
:root .table-wrap { overflow-x: auto; }
:root .table-wrap table { border-collapse: collapse; width: 100%; }
#house-content .table-wrap table,.key-management .table-wrap table{min-width:760px}
#house-content .table-wrap select{min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:inherit;max-width:300px}
:root .table-wrap th, :root .table-wrap td { text-align: left; padding: .65rem; border-bottom: 1px solid #dce5df; }
#database-columns label { display: flex; align-items: center; gap: .5rem; }
#database-columns input { width: auto; margin: 0; }
#platform-company-options label { display: flex; align-items: center; gap: .5rem; }
#platform-company-options input { width: auto; margin: 0; }

/* Daily workflow: calm hierarchy, readable controls, maintenance below the main action. */
:root{--muted:#5d7066;--line:#dce5df;background:#f4f7f5;color:#213e32}
.brand-icon{background:transparent;object-fit:contain;width:46px;height:46px;border-radius:0;flex-shrink:0}
.overview-illustration{display:block;width:180px;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;align-self:center;margin:16px 0 0}
.asset-filters{display:flex;align-items:center;gap:12px;margin:18px 0;font-size:12px}.asset-filters input{flex:1;min-width:120px}.asset-filters select{padding:10px;border:1px solid var(--line);border-radius:6px;background:white}#asset-detail{margin-top:20px}#asset-fields{overflow-wrap:anywhere;font-size:13px}#asset-list .primary{margin-top:12px}@media(max-width:640px){.asset-filters{flex-wrap:wrap}.asset-filters input{width:100%;flex-basis:75%}}
.report-footer{position:sticky;bottom:0;background:#fff;z-index:2;display:flex;flex-direction:column;max-height:48vh;padding-top:1px;border-top:1px solid var(--line)}
.report-feedback{min-height:0;overflow:auto}.report-dialog .report-footer .dialog-actions{position:static;flex-shrink:0;border-top:0;margin-top:8px;padding-top:0}.report-footer .task-notice,.report-footer .feedback{margin:8px 0}
#report-dialog{overflow:hidden}#report-form{display:flex;flex-direction:column;max-height:calc(88dvh - 56px);min-height:0}#report-form>.section-heading,#report-form>.report-footer{flex-shrink:0}#report-step-content{min-height:0;overflow-y:auto;padding-right:8px;overscroll-behavior:contain}#report-form>.report-footer{position:static}#report-preview .filter-field select,#report-preview .filter-field input{margin-bottom:0}
#database-form{max-width:none;grid-template-columns:minmax(120px,.3fr) minmax(0,1fr);align-items:center}#database-form>label{margin:0}#database-form>details,#database-form>button{grid-column:1/-1}#database-form>button{justify-self:start}
@media(max-width:640px){#database-form{grid-template-columns:1fr}#database-form>label{margin-top:12px}.report-footer{max-height:52vh}.report-footer .dialog-actions{gap:6px}}
main{max-width:1240px}.page-heading{margin:26px 0}.page-heading p,.muted-text,.source-card p{color:#60756a}
.field-help{color:#61746a;font-size:12px}.notice{color:#476354}.notice strong{color:#234e3a}
.import-options button{background:#fff;border:1px solid var(--line);border-radius:12px;color:#234936;padding:20px;transition:border-color .15s,background .15s}
.import-options button:hover{border-color:#95b5a2}.import-options button.selected{background:#edf6ef;border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.import-options small{color:#617369;font-size:12px;line-height:1.7}.entry-title{display:block;font-size:16px;font-weight:600;margin-bottom:7px}.entry-symbol{display:grid;place-items:center;width:44px;height:44px;margin-bottom:16px;border-radius:11px;background:#edf5f0}.entry-icon{display:block;width:24px;height:24px;background:var(--green);mask-position:center;mask-size:contain;mask-repeat:no-repeat}.icon-reports{mask-image:url('icons/chart-no-axes-combined.svg')}.icon-database{mask-image:url('icons/database.svg')}.icon-excel{mask-image:url('icons/file-spreadsheet.svg')}
.flow-steps{display:flex;gap:0;list-style:none;padding:0;margin:0 0 28px;counter-reset:flow;color:#5e7467;font-size:12px}
.flow-steps li{display:flex;gap:8px;align-items:center;flex:1}.flow-steps li:before{counter-increment:flow;content:counter(flow);display:grid;place-items:center;border:1px solid #cbded2;background:white;border-radius:50%;width:24px;height:24px;flex-shrink:0}
.flow-steps li:not(:last-child):after{content:'';height:1px;background:#d5e3d9;flex:1;margin:0 12px}
.section-heading .muted-text{margin:6px 0 0}.account-card{background:#f9fcfa;padding:18px 22px}.account-card.selected{border-color:#84af98}
.account-card h3{margin:0;font-size:15px}.account-card small{display:block;color:#617369;font-size:11px;line-height:1.6;margin-top:10px}
.account-card .actions{margin-top:12px;padding-top:12px}.source-card{padding:22px}.source-card .actions button{min-height:38px}
.source-card .actions{align-items:flex-start}.source-more>summary{min-height:38px;padding:9px 12px;font-size:12px}.source-more .more-actions{position:absolute;right:0;bottom:calc(100% + 8px);z-index:10;width:min(260px,70vw);box-shadow:0 8px 24px #15332820;margin:0}.task-notice{background:#f0f5f2;border:1px solid #d6e3da;border-left:3px solid #528667;border-radius:6px;color:#355b47;font-size:13px;padding:12px 14px;line-height:1.8}
.task-notice:empty{display:none}dialog{max-height:90vh;overflow:auto}.report-dialog .section-heading{margin-bottom:8px}dialog h2{font-size:20px}
dialog p{margin:12px 0}.report-dialog .dialog-actions{border-top:1px solid var(--line);padding:16px 0;margin:18px 0 0;z-index:1;flex-wrap:wrap}
#prepare-discovered{margin:0}#discovered-report{height:148px;background:#fafcfb}#report-search{margin-bottom:6px}
.directory-meta{font-size:12px}.report-item{background:white}.report-item>.checkbox-label{font-size:14px;line-height:1.6}.filter-field{grid-template-columns:130px 1fr}.filter-field select{min-width:0}
input[type=checkbox]{width:auto;accent-color:var(--green)}summary{cursor:pointer}.maintenance-tools{border-top:1px solid var(--line);padding-top:14px;color:#63786c;font-size:12px}
.maintenance-tools label{display:block;margin:12px 0 6px}.version-history{margin:12px 0}.version-history>summary{color:#496c57}.version-history label{display:block;margin-top:14px}
#database-import-area>p,#excel-import-area>p{font-size:13px}#database-columns label{padding:7px 0}#excel-upload,#excel-confirm{margin-top:12px}
.capability p{color:#627468;font-size:12px}.stats small,.run-row p,.run-row time{color:#65796b}.next-step p{color:#576f5d}
.overview-summary{margin:18px 0 24px}.overview-summary>h2{margin-bottom:12px}.overview-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.overview-resource-card{text-align:left;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:10px;color:inherit;min-width:0}.overview-resource-card:hover{border-color:#9bb9a6;background:#fbfdfb}.overview-resource-card:focus-visible{outline:2px solid var(--green)}.overview-resource-name{display:block;font-size:13px;font-weight:600}.overview-resource-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;margin:14px 0 10px;font-size:13px}.overview-resource-count>span{white-space:nowrap}.overview-resource-count strong{font-size:25px;font-weight:600}.overview-resource-separator{color:#a0ada5}.overview-resource-description{display:block;color:var(--muted);font-size:12px}.overview-attention{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.overview-attention .text-button{color:#8a5c36;background:#fff7ed;border:1px solid #ead9c6;border-radius:6px;padding:8px 12px;text-align:left}
.overview-grid{display:grid;grid-template-columns:minmax(0,1fr)}.overview-grid>.panel{min-width:0}.overview-grid .table-wrap{margin-bottom:16px}#overview-private .table-wrap{font-size:12px;line-height:1.7}#overview-private th{color:#617469;font-weight:500;white-space:nowrap}#overview-private td{vertical-align:top}#overview-private .text-button{font-size:12px;min-height:32px;text-align:left}#overview-private>.panel .section-heading{margin-bottom:12px}.overview-task-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.overview-task-stats>div{border:1px solid var(--line);background:#f8fbf9;border-radius:8px;padding:14px 18px}.overview-task-stats span{font-size:12px;color:#647a6c}.overview-task-stats strong{display:block;font-size:24px;margin-top:8px}.overview-report-list{padding-left:18px;margin:10px 0;color:#5b7164}.overview-report-list li{margin:5px 0}#overview-aplus summary{font-size:12px;color:#557660;margin-top:8px}#overview-context{line-height:1.7}#overview-private .empty{padding:26px 16px}
#overview-aplus td:first-child{min-width:220px;max-width:340px;overflow-wrap:anywhere}
@media(max-width:1000px){.overview-resource-grid{gap:12px}.overview-resource-card{padding:18px 16px}}
@media(max-width:640px){.overview-resource-grid{grid-template-columns:1fr;gap:10px}.overview-resource-card{padding:16px 18px}.overview-resource-count{margin:9px 0 7px}#overview-private table{min-width:640px}#overview-private .table-wrap::before{content:'左右滑动查看完整表格';display:block;padding:10px 12px;color:var(--muted);font-size:11px}.overview-task-stats{grid-template-columns:repeat(2,1fr)}#overview-private .section-heading{flex-wrap:wrap}}
@media(max-width:640px){.flow-steps{font-size:10px;gap:6px}.flow-steps li{gap:4px}.flow-steps li:not(:last-child):after{display:none}.import-options{gap:8px}.import-options button{min-height:92px;padding:16px}.entry-symbol{float:left;margin:0 14px 0 0;width:40px;height:40px}.import-options small{margin-top:5px}.filter-field{grid-template-columns:1fr}.brand-icon{width:38px;height:38px}.report-dialog .dialog-actions{bottom:-1px}.notice{display:block}.source-card{padding:18px}}
.login-screen{min-height:calc(100vh - 79px);padding-top:48px!important}#login-panel{width:440px;max-width:100%;margin:24px auto;padding:36px;border-radius:16px;box-shadow:0 12px 36px #173d2c08}#login-panel .eyebrow{margin:0 0 16px;letter-spacing:1px}#login-title{font-size:26px;line-height:1.4}#login-panel .login-description{margin:10px 0 28px;color:#60756a;font-size:14px}#login-form{display:grid;gap:20px}#login-form label{display:block;font-size:13px;margin:0 0 9px}#login-form input{height:46px;font-size:14px}#login-submit{min-height:46px;width:100%;margin-top:4px;font-size:14px}#login-form .feedback{margin:0;overflow-wrap:anywhere}#login-panel .login-footer{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:#738079;line-height:1.8}#login-availability{margin:0 0 20px}
@media(max-width:640px){.login-screen{padding-top:16px!important}#login-panel{margin:8px auto;padding:28px 24px}#login-title{font-size:24px}}
.account-job{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.account-job .text-button{flex-shrink:0}#account-settings-summary{font-size:14px;line-height:1.9}#account-original-job{margin-top:14px;overflow-wrap:anywhere}#account-settings-title,#credential-title{overflow-wrap:anywhere}#account-settings-dialog .dialog-actions{flex-wrap:wrap}
.monthly-settings{padding:16px;border:1px solid var(--line);border-radius:8px;margin:16px 0}.monthly-settings>.checkbox-label{display:flex;align-items:center;gap:10px;font-size:14px}.monthly-settings input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin:0}#monthly-date-fields label{display:block;margin:12px 0;font-size:13px}#monthly-date-fields select,#asset-month{display:block;max-width:100%;margin:8px 0 14px;padding:9px;border:1px solid var(--line);border-radius:6px;background:white}

/* A+ forms keep controls in document flow at every viewport size. */
dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden}dialog .section-heading{align-items:flex-start}dialog h2{min-width:0;overflow-wrap:anywhere}dialog .icon-button{flex-shrink:0}dialog .dialog-actions{position:static!important;display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;background:white}dialog input,dialog select{max-width:100%}dialog input:not([type=checkbox]),dialog select{display:block;margin-bottom:18px}#business-secret-fields{margin-top:20px}#replace-credentials-label{display:flex;align-items:center;gap:10px;margin:20px 0}#replace-business-credentials{width:18px;height:18px;margin:0}.loading-status::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid #d9e3dc;border-top-color:var(--green);border-radius:50%;animation:loading-spin .9s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-status::before{animation:none}}

.account-auth-state.auth-ok{color:#17633e;background:#e9f5ec;border-color:#a7cdb4}.account-auth-state.auth-attention{color:#9b3c15;background:#fff0e5;border-color:#e2b292}.account-auth-warning,#form-error:not(:empty){color:#9b321a;background:#fff0e8;border:1px solid #dca58c;border-left:4px solid #b84821;border-radius:8px;padding:12px 16px;font-size:14px;font-weight:600;line-height:1.8;margin:12px 0 20px}#form-error:empty{display:none}
.primary.destructive{background:#b53726;color:white}.primary.destructive:hover{background:#952a1c}#account-remove-dialog>label,#account-remove-warning label{display:block;margin:16px 0 8px}#account-remove-warning p{margin:8px 0}#account-remove-name{background:white;color:#243c30}#account-remove-dialog .dialog-actions button{white-space:normal}

.report-toolbar{display:flex;align-items:center;gap:12px;margin:16px 0}.report-toolbar input[type=search]{flex:1;max-width:520px;margin:0;height:42px}.report-toolbar select{width:170px;margin:0;height:42px}.report-toolbar button{margin-left:auto;white-space:nowrap}.sync-settings{padding:20px 24px;margin-bottom:24px}.sync-settings>summary{font-size:16px;font-weight:600;cursor:pointer}.sync-settings form{margin-top:20px}.switch-label{display:flex;align-items:center;gap:10px}.switch-label input{width:18px;height:18px;margin:0}.sync-time-fields{display:grid;grid-template-columns:repeat(3,minmax(120px,220px));gap:20px;margin:20px 0}.sync-time-fields label{font-size:13px}.sync-time-fields input{display:block;width:100%;height:42px;margin-top:8px}.report-list{display:flex;flex-direction:column;gap:0;background:white;border:1px solid var(--border,#dce6df);border-radius:12px;overflow:visible}.report-list .source-card{display:grid;grid-template-columns:minmax(230px,2fr) 130px 120px auto;align-items:center;gap:8px 20px;padding:18px 22px;border:0;border-bottom:1px solid #e3ebe6;border-radius:0;background:transparent;min-width:0}.report-list .source-card:last-child{border-bottom:0}.report-list .source-card>.section-heading{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin:0;grid-column:1;grid-row:1}.report-list .source-card h2{font-size:16px;margin:0}.report-list .source-card>.report-cadence{grid-column:2;grid-row:1;font-size:13px;margin:0}.report-list .source-card>.report-retention{grid-column:3;grid-row:1;font-size:12px}.report-list .source-card>p:not(.report-cadence),.report-list .source-card>small:not(.report-retention){grid-column:1/-1;font-size:12px;line-height:1.6;margin:0;color:#60756a}.report-list .source-card>.actions{grid-column:4;grid-row:1;display:flex;align-items:center;gap:8px;border:0;margin:0;padding:0;flex-wrap:nowrap}.report-list .actions button,.report-list .source-more>summary{min-height:36px;padding:7px 12px;font-size:12px;line-height:20px;white-space:nowrap}.report-list .tag{font-size:11px;padding:4px 8px}.report-list .more-actions{z-index:20;min-width:220px}.report-list .empty-state{padding:24px}@media(max-width:1000px){.report-list .source-card{grid-template-columns:minmax(200px,1fr) auto}.report-list .source-card>.report-cadence{grid-column:1;grid-row:2}.report-list .source-card>.report-retention{grid-column:2;grid-row:2}.report-list .source-card>.actions{grid-column:2;grid-row:1}}@media(max-width:640px){.sync-time-fields{grid-template-columns:1fr}.report-toolbar{flex-wrap:wrap}.report-toolbar input[type=search]{min-width:180px}.report-list .source-card{display:flex;flex-wrap:wrap;padding:16px}.report-list .source-card>.section-heading{width:100%}.report-list .source-card>.actions{margin-left:auto}.report-list .source-card>p:not(.report-cadence){width:100%}}
.report-list .source-more .more-actions{position:absolute;right:0;top:calc(100% + 4px);bottom:auto;max-height:min(320px,60vh);overflow-y:auto;margin:0;box-shadow:0 8px 24px #183d2820}.bundle-entry{display:grid;grid-template-columns:22px 1fr;gap:4px 10px;padding:12px 0;border-bottom:1px solid #e3ebe6}.bundle-entry input{width:18px;height:18px;margin:2px 0}.bundle-entry small{grid-column:2;color:#60756a;font-size:12px}#report-bundle-dialog{width:720px;max-width:calc(100vw - 32px)}#bundle-preview{margin:18px 0}
.report-list .report-cadence select{display:inline-block;width:112px;max-width:100%;height:34px;margin:0;padding:4px 8px;font-size:12px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#395741}.report-list .report-cadence>span{display:block;font-size:11px;margin-bottom:4px}
/* Account summaries have their own density. */
#account-management{padding:24px}#account-management>.section-heading{margin-bottom:8px}#account-management>.field-help{margin:0 0 18px}#account-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;margin-bottom:0;align-items:start}
#account-list .account-card{min-width:0;padding:20px;background:#fff}#account-list .account-card.selected{background:#f8fcf9;border-color:#84af98}
.account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.account-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.account-title h3{font-size:16px;line-height:1.5;overflow-wrap:anywhere}.account-heading .tag{font-size:11px;padding:4px 8px;line-height:1.5;white-space:nowrap}.account-current{background:#eef4f0;color:#50695a}
.account-metadata{display:flex;flex-wrap:wrap;gap:8px 20px;color:#60756a;font-size:12px;line-height:1.6;margin-top:12px}.account-card .account-actions{align-items:center;gap:8px;margin-top:16px;padding-top:14px}.account-card .account-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;font-size:12px;line-height:20px;white-space:nowrap}
#account-rename-dialog{width:420px;max-width:calc(100vw - 32px)}#account-rename-form label{display:block;font-size:13px;margin:20px 0 8px}#account-rename-name{width:100%;height:44px}#account-rename-error{overflow-wrap:anywhere}
@media(max-width:640px){#account-management{padding:18px}#account-list .account-card{padding:16px}.account-heading{flex-wrap:wrap}.account-card .account-actions{row-gap:8px}.account-metadata{gap:6px 14px}}

.excel-fields{max-width:620px}.excel-fields #excel-sheet{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d7e2d9;border-radius:6px;background:#fff;color:#395741;font-size:13px}.excel-fields #excel-sheet:disabled{color:#738079;background:#f5f7f5}.excel-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}.excel-actions #excel-confirm{margin-top:0}.excel-actions button{min-height:44px}#excel-status:empty{display:none}
.overview-detail-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #d7e2d9}.overview-detail-row>div{min-width:0;overflow-wrap:anywhere}.overview-detail-row p{margin:6px 0 0}.overview-detail-row>button{flex-shrink:0;min-height:40px}#overview-today{display:flex;flex-wrap:wrap;align-items:center;gap:12px}#overview-today>div{display:flex;align-items:center;gap:12px;margin-right:12px}#overview-today-note{margin-top:16px}#overview-management-tasks>button{margin:0 12px 12px 0}#overview-results>button{margin-top:16px}
#overview-today{display:block}#overview-today>.overview-sync-counts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}#overview-today>details{width:100%;min-width:0}#overview-today summary{padding:10px 0}.storage-chart{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.storage-chart svg{width:160px;height:160px;flex-shrink:0;transform:rotate(-90deg)}.storage-business{stroke:#155d48}.storage-original{stroke:#67998a}.storage-backup{stroke:#d49b42}.storage-segment:focus{outline:2px solid #155d48;outline-offset:3px}.storage-legend{margin:0;padding-left:22px}.storage-legend li{padding:8px 0;font-variant-numeric:tabular-nums}
@media(max-width:640px){.overview-detail-row{align-items:flex-start;flex-direction:column;gap:10px}.overview-detail-row>button{align-self:flex-start}}
