@charset "UTF-8";
:root{--canvas:#f6f7f3;--paper:#fff;--ink:#202e2c;--muted:#7e8884;--teal:#147e70;--teal-deep:#125b52;--teal-light:#e9f4ef;--line:#e7ebe5;--amber:#a6782a;--amber-light:#fcf5e6;--danger:#be5f52;--danger-light:#fff0ed;--radius:16px;--shadow:0 4px 20px rgba(28,52,43,.025);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-size:14px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,textarea,select{outline-offset:3px}*:focus-visible{outline:2px solid var(--teal)}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650}button svg,span svg,a svg{display:block}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--ink);color:white;padding:10px 16px;border-radius:8px}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fcfdf9;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30;padding:31px 20px 0}.brand{display:flex;gap:12px;align-items:center;padding:0 12px;margin-bottom:43px}.brand-mark{width:43px;height:43px;border-radius:12px;background:var(--teal-deep);color:#fff;display:grid;place-items:center;box-shadow:0 4px 8px #125b5212}.brand-mark svg{width:32px;height:32px}.brand strong{display:block;font-size:26px;letter-spacing:2px;line-height:1.2}.brand-dot{color:var(--teal)}.brand small{display:block;color:var(--muted);font-size:8px;letter-spacing:1.7px;margin-top:5px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#9aaba1;padding:0 14px;margin-bottom:14px}.nav-list{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:45px;padding:11px 14px;border-radius:9px;color:#737e77;font-size:13px;transition:background .15s,color .15s}.nav-item:hover{background:#f0f3ed;color:var(--ink)}.nav-item.active{background:var(--teal-light);color:var(--teal);font-weight:650}.nav-count{margin-left:auto;min-width:22px;background:#dcece3;border-radius:5px;text-align:center;font-size:10px;line-height:21px}.sidebar-bottom{margin-top:auto;padding-top:45px}.local-note{margin:0 5px 27px;padding:17px 12px;background:#f1f5ee;border:1px solid #e9eee3;border-radius:12px}.local-note-icon{display:block;color:#58866c;margin-bottom:11px}.local-note strong{font-size:11px}.local-note p{color:#8a9589;font-size:10px;line-height:1.9;margin:6px 0 13px}.local-pill{display:inline-flex;align-items:center;gap:6px;font-size:9px;color:#699278}.status-dot{width:6px;height:6px;display:inline-block;flex-shrink:0;border-radius:50%;background:#3f9b79}.sidebar-footer{border-top:1px solid var(--line);padding:19px 8px;display:flex;align-items:center;gap:9px}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#e5ebe0;border-radius:50%;font-size:11px;color:#5c705e}.sidebar-footer strong{font-size:11px;display:block;font-weight:550}.sidebar-footer small{font-size:8px;color:#a4aca3;letter-spacing:.7px;display:block;margin-top:2px}.footer-spark{margin-left:auto;color:#99a58f}.workspace{margin-left:226px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 38px;background:#f9faf6}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:11px}.breadcrumb-root{color:#9aa299}.breadcrumb-divider{color:#c4ccc2}.topbar-right{display:flex;align-items:center;gap:20px}.today{font-size:10px;color:#8a958b}.connection-pill{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#648572;background:#eef4eb;border:1px solid #e3ecde;padding:4px 9px;border-radius:30px}.connection-pill.offline{color:var(--danger);background:var(--danger-light);border-color:#f4dad4}.connection-pill.offline .status-dot{background:var(--danger)}.mobile-menu{display:none!important}main{max-width:1640px;margin:0 auto;padding:34px 38px 0;min-height:calc(100vh - 72px)}.page{animation:appear .2s ease-out}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.eyebrow{font-size:9px;color:#99a394;letter-spacing:2px;font-weight:600;margin-bottom:9px}h1{font-size:27px;line-height:1.45;letter-spacing:-.7px}.heading-dot{color:var(--teal);padding-left:4px}.page-heading p{font-size:11px;color:#8c958c;margin-top:7px}.heading-actions{display:flex;gap:10px;flex-shrink:0}.button{min-height:38px;padding:9px 15px;border:1px solid #dfe6dd;background:#fff;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:550;line-height:1.5;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.button:hover:not(:disabled){background:#f6f9f3;border-color:#cbd7c8}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--teal);color:#fff;border-color:var(--teal);box-shadow:0 3px 7px #147e7014}.button.primary:hover:not(:disabled){background:#116b5f}.button.light{background:#f5fbf7;color:var(--teal-deep);border:0}.button.danger{background:var(--danger);color:white;border-color:var(--danger)}.button.small{font-size:10px;min-height:30px;padding:6px 10px}.button .icon{width:15px;height:15px}.button.full-width{width:100%}.icon-button{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:6px;padding:5px;color:#8b988e;flex-shrink:0;transition:background .15s}.icon-button:hover:not(:disabled){background:#edf3eb;color:var(--teal)}.icon-button .icon{width:16px;height:16px}.icon-button.danger:hover{color:var(--danger);background:var(--danger-light)}.text-button{border:0;padding:4px 0;background:none;font-size:11px;color:var(--teal);display:inline-flex;align-items:center;gap:6px}.text-button:hover:not(:disabled){text-decoration:underline}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#7a8c7e;white-space:nowrap}.text-link:hover{color:var(--teal)}.text-link .icon{width:13px;height:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px 18px;box-shadow:var(--shadow);min-height:126px}.stat-card.active-stat{background:#eef6ef;border-color:#dce9da}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#8b958b}.stat-icon{width:30px;height:30px;display:grid;place-items:center;color:#83967d;background:#f6f8f3;border-radius:8px}.active-stat .stat-icon{background:#dfedde;color:#579568}.stat-icon .icon{width:16px;height:16px}.stat-value{font-size:33px;line-height:1.1;font-weight:600;letter-spacing:-1px;margin:8px 0 7px;font-variant-numeric:tabular-nums}.active-stat .stat-value{color:var(--teal-deep)}.stat-footnote{font-size:9px;color:#a0a89d;display:flex;align-items:center;gap:5px}.stat-footnote .icon{width:11px;height:11px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 23px 18px}.panel-heading h2,.collection-toolbar h2{font-size:13px}.panel-heading p{font-size:10px;color:#a0a89d;margin-top:3px}.overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:24px}.welcome-card{background:#154f46;position:relative;overflow:hidden;border-radius:var(--radius);min-height:279px;color:#fff;padding:27px 29px;display:flex}.welcome-card:before{content:"";position:absolute;width:320px;height:320px;border:1px solid #ffffff0b;border-radius:50%;right:-85px;top:-130px;box-shadow:0 0 0 40px #ffffff03,0 0 0 80px #ffffff03}.welcome-content{position:relative;z-index:2}.welcome-kicker{font-size:8px;color:#a8cbb8;display:flex;gap:7px;align-items:center;letter-spacing:1px;margin-bottom:13px}.welcome-kicker .status-dot{background:#acd194;width:4px;height:4px}.welcome-card h2{font-size:27px;line-height:1.4;font-weight:550;letter-spacing:1px}.welcome-card p{color:#a2c0b3;font-size:10px;line-height:1.85;margin:11px 0 19px}.welcome-card .button{font-size:10px;min-height:34px;padding:8px 12px}.card-illustration{position:absolute;right:25px;top:70px;width:218px;height:170px;transform:rotate(-9deg);pointer-events:none}.visual-card{position:absolute;border-radius:12px;width:204px;height:128px;box-shadow:0 8px 30px #08291e3d}.visual-card.back{background:#6c9681;top:-20px;left:15px;transform:rotate(18deg);border:1px solid #83aa8d;color:#d3dfc6;padding:15px;font-size:6px;letter-spacing:1.3px}.visual-card.front{background:linear-gradient(115deg,#e3e7c9,#b5cfa9);top:19px;left:0;display:flex;flex-direction:column;color:#3c6650;padding:17px 19px;border:1px solid #dbe6c6}.visual-card-logo{font-size:7px;letter-spacing:1px}.card-chip{display:block;width:25px;height:19px;border-radius:4px;margin-top:12px;background:linear-gradient(90deg,transparent 40%,#a3b787 41%,#a3b787 45%,transparent 46%,transparent 73%,#a3b787 74%,#a3b787 78%,transparent 79%),linear-gradient(0deg,#d4d9b2 30%,#a3b787 31%,#a3b787 35%,#d4d9b2 36%,#d4d9b2 65%,#a3b787 66%,#a3b787 70%,#d4d9b2 71%);border:1px solid #b9c397}.visual-code{font-size:12px;letter-spacing:3px;margin-top:6px}.visual-card-bottom{font-size:5px;letter-spacing:.8px;display:flex;justify-content:space-between;margin-top:auto}.visual-card-bottom span{font-size:17px;line-height:9px}.visual-spark{position:absolute;bottom:-9px;right:9px;color:#adc990;font-size:40px;line-height:1}.inventory-panel{display:flex;flex-direction:column}.inventory-panel .panel-heading{padding-bottom:12px}#inventory-breakdown{padding:0 23px;flex:1}.breakdown-row{display:flex;align-items:center;font-size:10px;gap:9px;margin:9px 0}.breakdown-label{color:#899488;min-width:63px}.breakdown-track{flex:1;height:5px;border-radius:6px;background:#f0f3ec;overflow:hidden}.breakdown-fill{height:100%;border-radius:6px;min-width:0;background:#8bbda0}.breakdown-fill.used{background:#adbc93}.breakdown-fill.unknown{background:#cbd2c2}.breakdown-fill.invalid,.breakdown-fill.error{background:#d6ab91}.breakdown-row strong{min-width:28px;font-size:11px;text-align:right;font-variant-numeric:tabular-nums;font-weight:500}.panel-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#a0a89a;background:#fafbf8;padding:12px 23px;border-top:1px solid #f1f3ed;margin-top:11px}.panel-footnote .icon{width:12px;height:12px}.overview-bottom-grid{display:grid;grid-template-columns:1.75fr 1fr;gap:22px}.recent-record{display:flex;gap:11px;align-items:center;padding:14px 23px;border-top:1px solid #f1f3ee}.recent-record-icon{width:32px;height:32px;border-radius:9px;background:var(--teal-light);color:var(--teal);display:grid;place-items:center}.recent-record-icon .icon{width:15px;height:15px}.recent-record-body{flex:1;min-width:0}.recent-record strong{display:block;font-size:11px;font-weight:550;overflow-wrap:anywhere}.recent-record small{display:block;font-size:9px;color:#a3ab9e;margin-top:2px}.account-summary-panel{padding-bottom:20px}.account-summary-panel>.button{width:calc(100% - 46px);margin:12px 23px 0}.account-summary-main{display:flex;align-items:baseline;gap:7px;padding:0 23px 12px}.account-summary-main strong{font-size:36px;font-weight:550;line-height:1.15}.account-summary-main span{font-size:10px;color:#a1aa9c}.account-summary-details{padding:0 23px;display:flex;gap:16px;font-size:9px;color:#8d998a}.summary-item{display:flex;align-items:center;gap:5px}.muted-icon{color:#a5b29e}.quiet-notice{display:flex;align-items:flex-start;gap:8px;font-size:9px;color:#a3ab9d;line-height:1.8;margin:19px 0}.quiet-notice .icon{width:13px;height:13px;margin-top:2px;flex-shrink:0}.main-footer{display:flex;justify-content:space-between;padding:22px 0 19px;border-top:1px solid var(--line);font-size:8px;color:#b1b8ab;letter-spacing:.5px;margin-top:24px}.compact-stats .stat-card{min-height:112px;padding:16px 20px}.compact-stats .stat-value{font-size:28px}.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px}.search-field{display:flex;align-items:center;gap:9px;background:#f7f9f4;border:1px solid #e8ede3;border-radius:8px;padding:9px 12px;min-width:240px;max-width:440px;flex:1;color:#98a18e}.search-field:focus-within{border-color:#87b8a1;box-shadow:0 0 0 3px #147e700a}.search-field input{background:none;border:0;outline:none;min-width:0;width:100%;font-size:11px;color:var(--ink);padding:0;line-height:1.8}.search-field input::placeholder{color:#a5ae9d}.search-field .icon{width:15px;height:15px}.search-field kbd{padding:0 5px;font-size:10px;border:1px solid #e4e9df;border-radius:3px;color:#adb6a4}.subtle-copy{font-size:9px;color:#a0aa99;display:flex;align-items:center;gap:6px}.subtle-copy .icon{width:12px;height:12px}.filter-row{padding:0 22px 17px;display:flex;gap:7px;flex-wrap:wrap}.filter-chip{border:1px solid transparent;border-radius:7px;background:none;font-size:10px;padding:6px 10px;color:#8d9889;display:flex;gap:6px;align-items:center}.filter-chip span{font-size:9px;color:#a8b2a0}.filter-chip:hover{background:#f5f8f0}.filter-chip.active{background:var(--teal-light);border-color:#d9e8d9;color:var(--teal);font-weight:600}.filter-chip.active span{color:#739b77}.bulk-toolbar{display:flex;gap:16px;align-items:center;background:#f0f7ee;border-top:1px solid #e0ecdb;border-bottom:1px solid #e0ecdb;padding:10px 22px;font-size:11px;color:#5b8161}.bulk-toolbar>.button{margin-left:auto}.bulk-toolbar .text-button{font-size:10px}.table-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}.data-table thead{background:#fafbf8}.data-table th{font-weight:500;color:#929d89;padding:12px 16px;border-top:1px solid #f0f2eb;border-bottom:1px solid #edf0e8;font-size:10px}.data-table td{padding:17px 16px;border-bottom:1px solid #f0f3eb;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdf9}.data-table tbody tr.selected{background:#f6faf2}.data-table .checkbox-cell{width:40px;padding-left:22px;padding-right:6px}input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--teal);vertical-align:middle;cursor:pointer}.code-line{display:flex;align-items:center;gap:3px}.code-value{font-family:"Cascadia Code",Consolas,monospace;letter-spacing:.7px;display:inline-block;min-width:143px;color:#455e4f;font-size:11px}.code-value.revealed{font-size:10px;letter-spacing:0;white-space:normal;max-width:270px;overflow-wrap:anywhere}.cell-subtext{font-size:9px;color:#a1aa99;margin-top:4px;max-width:210px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.note-preview{overflow:hidden;text-overflow:ellipsis;max-width:220px;white-space:nowrap}.cell-primary{font-size:11px;max-width:180px;white-space:normal;overflow-wrap:anywhere}.empty-value{color:#bdc4b6}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:9px;border-radius:5px;line-height:1.7;white-space:nowrap;font-weight:500;color:#8f9988;background:#f1f4ee}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.unused,.badge.success,.badge.found{color:#4e9272;background:#edf6ee}.badge.used{color:#889873;background:#f1f4e8}.badge.invalid,.badge.failed,.badge.error,.badge.not_found{color:#bd7b67;background:#fcf1ea}.badge.uncertain,.badge.partial,.badge.sending,.badge.prepared{color:#b28c44;background:#fcf6e7}.badge.unknown,.badge.other,.badge.expired,.badge.cancelled{color:#98a48d;background:#f1f4ed}.reserved-tag{display:inline-flex;align-items:center;gap:3px;font-size:8px;color:#ae986e;margin-top:4px}.reserved-tag .icon{width:10px;height:10px}.status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.row-actions .text-button{font-size:10px}.row-actions .icon-button{width:26px;height:26px;padding:4px}.row-actions .icon{width:14px;height:14px}.align-right{text-align:right!important}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 22px;background:#fdfefb;border-top:1px solid #f0f3eb;font-size:9px;color:#9da894}.pagination{display:flex;align-items:center;gap:9px;white-space:nowrap}.pagination select{margin-left:3px;background:transparent;border:1px solid #e3e9dc;border-radius:4px;font-size:9px;color:#819173;padding:2px}.pagination label{margin-right:7px}.pagination .icon-button{width:23px;height:23px}#page-number{min-width:40px;text-align:center}.section-toolbar{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-bottom:21px}.count-label{font-size:10px;color:#94a087}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px;min-width:0;box-shadow:var(--shadow)}.account-card-top{display:flex;align-items:center;gap:11px;margin-bottom:17px}.account-avatar{width:37px;height:37px;background:#f0f5ec;color:#799468;border:1px solid #e5ecde;border-radius:11px;display:grid;place-items:center;font-size:14px;flex-shrink:0}.account-identity{min-width:0;flex:1}.account-identity h3{font-size:13px;overflow-wrap:anywhere}.account-identity p{font-size:9px;color:#a1ac96;margin-top:2px;overflow-wrap:anywhere}.account-info{background:#fafbf7;border-radius:8px;padding:12px 13px;margin-bottom:13px;min-height:78px}.account-info-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;margin-bottom:8px}.account-info-row:last-child{margin-bottom:0}.account-info-row>span:first-child{color:#a0ab93}.account-info-row strong{font-weight:500;color:#718765;text-align:right;overflow-wrap:anywhere}.account-note{font-size:10px;color:#8e9d82;line-height:1.7;min-height:17px;overflow-wrap:anywhere}.account-card-actions{display:flex;align-items:center;gap:7px;padding-top:15px;margin-top:14px;border-top:1px solid #edf1e6}.account-card-actions .button{font-size:10px;padding:6px 10px;min-height:30px}.account-card-actions>.icon-button:first-of-type{margin-left:auto}.account-error{font-size:10px;color:var(--danger);overflow-wrap:anywhere;margin-top:10px}.notice{display:flex;align-items:flex-start;gap:10px;padding:15px 17px;border-radius:10px;font-size:11px;line-height:1.8;margin-bottom:20px;border:1px solid transparent}.notice>.icon{flex-shrink:0;width:17px;height:17px;margin-top:2px}.notice strong{font-size:11px;font-weight:600}.notice p{font-size:10px;margin-top:2px}.notice.warning{background:var(--amber-light);color:#9b8046;border-color:#eee3c5}.notice.neutral{background:#f3f7ef;color:#7b8f6c;border-color:#e7eedf}.notice.danger{background:var(--danger-light);color:var(--danger);border-color:#f1dad1}.notice.success{background:var(--teal-light);color:var(--teal);border-color:#d9e9dc}.notice ul{margin:7px 0 0;padding-left:17px;font-size:10px}.notice ul li+li{margin-top:5px}.history-panel .collection-toolbar select{font-size:10px;border:1px solid #e3e9dc;border-radius:6px;padding:6px 10px;color:#7f9071;background:#fafbf7}.history-panel .data-table th:first-child,.history-panel .data-table td:first-child{padding-left:23px}.history-message{max-width:260px;white-space:normal;font-size:10px;line-height:1.7;color:#9aa58f;overflow-wrap:anywhere}.settings-layout{display:grid;grid-template-columns:1.25fr 1fr;align-items:start;gap:24px}.settings-panel .panel-heading{border-bottom:1px solid #eff2e9;padding:23px}.settings-symbol{display:grid;place-items:center;background:#f1f6ec;color:#86a179;width:35px;height:35px;border-radius:10px}.settings-panel form{padding:0 23px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}.setting-row strong{font-size:12px}.setting-row p{font-size:10px;color:#9ca88e;margin-top:5px}.switch{display:inline-flex;position:relative;cursor:pointer;flex-shrink:0}.switch input{position:absolute;opacity:0;width:42px;height:24px}.switch-track{display:block;width:42px;height:24px;background:#dce5d4;border-radius:20px;transition:background .2s}.switch-track:after{content:"";width:18px;height:18px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #53664122;transition:transform .2s}.switch input:checked+.switch-track{background:var(--teal)}.switch input:checked+.switch-track:after{transform:translateX(18px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--teal);outline-offset:3px}.interval-field{padding-bottom:24px}.input-suffix{display:flex;align-items:center;border:1px solid #e0e8d8;border-radius:8px;max-width:190px;background:#fbfcf9}.input-suffix input{width:100%;min-width:0!important;border:0!important;background:none!important;box-shadow:none!important}.input-suffix span{font-size:11px;color:#9ca88e;padding:0 13px;white-space:nowrap}.settings-save{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:21px 0;border-top:1px solid #edf2e5}.settings-save>span{font-size:10px;color:#8da47c}.safety-panel{padding:25px}.safety-icon{display:grid;place-items:center;width:39px;height:39px;background:#f2f5ed;color:#80a06c;border-radius:11px;margin-bottom:15px}.safety-panel h2{font-size:15px}.safety-list{margin:21px 0 0;padding:0;list-style:none}.safety-list li{padding:0 0 17px 14px;position:relative}.safety-list li:before{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#a6ba92;left:0;top:7px}.safety-list strong{font-size:11px;font-weight:550}.safety-list p{color:#9ba78c;font-size:10px;line-height:1.9;margin-top:4px}.environment-box{display:flex;align-items:center;justify-content:space-between;padding-top:15px;border-top:1px solid #edf1e7;font-size:10px;color:#9daa8c}.environment-box strong{font-weight:500;color:#7d976a}.job-banner{display:flex;gap:14px;align-items:center;border:1px solid #d9e9d4;background:#edf6e9;border-radius:10px;padding:13px 17px;color:#648954;margin-bottom:23px}.job-banner strong{font-size:11px;font-weight:500}.job-banner-content{flex:1}.progress-track{height:3px;background:#dcecd4;border-radius:3px;margin-top:7px;overflow:hidden;max-width:500px}#job-progress{height:100%;background:#81ab69;border-radius:3px;transition:width .3s}#job-count{font-size:10px;font-variant-numeric:tabular-nums}.spinner{display:inline-block;flex-shrink:0;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;width:15px;height:15px;animation:spin .7s linear infinite;vertical-align:middle}.global-error{align-items:center}.global-error>div{flex:1}.empty-state{text-align:center;padding:42px 24px;color:#9eab8f}.empty-state.compact{padding:27px 24px}.empty-state-icon{display:grid;place-items:center;width:45px;height:45px;background:#f4f7ef;border:1px solid #e9eedf;border-radius:13px;color:#a3b294;margin:0 auto 14px}.empty-state-icon .icon{width:21px;height:21px}.empty-state h3{font-size:12px;font-weight:550;color:#768a66}.empty-state p{font-size:10px;line-height:1.9;max-width:330px;margin:6px auto 16px;color:#a4af97}.empty-state .button{font-size:10px;min-height:32px}.account-grid>.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #dfe8d4;border-radius:var(--radius);padding:65px 20px}.skeleton{background:linear-gradient(90deg,#f0f4ea 25%,#f8faf5 50%,#f0f4ea 75%);background-size:200% 100%;animation:shimmer 1.5s linear infinite;border-radius:5px;height:14px}.skeleton-row td{height:77px}.skeleton-row .skeleton{width:80%;min-width:45px}.dialog{border:1px solid #e1e7d9;background:#fff;border-radius:18px;box-shadow:0 28px 100px #14271b33;max-width:600px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:0;color:var(--ink);overflow:auto}.dialog.wide{max-width:740px}.dialog::backdrop{background:#20362d60;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 26px 20px;border-bottom:1px solid #edf1e6;position:sticky;top:0;background:#fff;z-index:3}.dialog-eyebrow{font-size:8px;letter-spacing:1.5px;color:#a2b091}.dialog-header h2{font-size:20px;letter-spacing:-.3px;margin-top:5px}.dialog-content{padding:23px 26px 26px}.dialog-intro{font-size:11px;line-height:1.9;color:#93a382;margin-bottom:21px}.field{margin-bottom:18px;min-width:0}.field>label,.field-label{display:block;font-size:11px;font-weight:550;margin-bottom:7px;color:#647b56}.field input:not([type=checkbox]),.field textarea,.field select{display:block;width:100%;border:1px solid #dfe8d6;border-radius:8px;background:#fcfdf9;color:var(--ink);font-size:12px;padding:10px 12px;min-width:0}.field textarea{resize:vertical;min-height:125px;line-height:1.8}.field input::placeholder,.field textarea::placeholder{color:#afbba1;font-size:11px}.field small{display:block;font-size:9px;color:#a2b190;line-height:1.8;margin-top:6px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#86b89b;outline:0;box-shadow:0 0 0 3px #147e700c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .field{margin-bottom:15px}.form-error{font-size:11px;line-height:1.8;color:var(--danger);padding:11px 13px;border-radius:8px;background:var(--danger-light);margin:15px 0;overflow-wrap:anywhere}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:18px;border-top:1px solid #edf2e5;flex-wrap:wrap}.dialog-actions .button{font-size:11px}.dialog-actions .button:first-child:last-child{margin-left:auto}.dialog-actions>.hint{margin-right:auto;font-size:9px;color:#a7b499}.inline-label{display:flex!important;align-items:center;gap:8px;font-weight:400!important;font-size:11px!important}.import-count{font-size:10px;color:#7d996a;display:flex;align-items:center;gap:6px}.result-hero{text-align:center;padding:9px 0 17px}.result-symbol{width:57px;height:57px;border-radius:50%;background:var(--teal-light);color:var(--teal);display:grid;place-items:center;margin:0 auto 15px}.result-symbol .icon{width:27px;height:27px}.result-symbol.warning{color:var(--amber);background:var(--amber-light)}.result-symbol.danger{color:var(--danger);background:var(--danger-light)}.result-hero h3{font-size:21px}.result-hero p{font-size:11px;color:#94a384;line-height:1.9;margin:8px auto 0;max-width:470px;overflow-wrap:anywhere}.import-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.import-summary>div{padding:15px;border-radius:9px;background:#f6f9f1;text-align:center;color:#7f9b6c}.import-summary strong{font-size:27px;font-weight:550;display:block;color:var(--teal)}.import-summary span{font-size:10px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.catalog-toolbar>span{font-size:10px;color:#99ab88}.catalog-status{font-size:10px;color:#9aac88;line-height:1.8;margin-bottom:14px;overflow-wrap:anywhere}.steps{display:flex;align-items:center;gap:7px;margin:0 0 22px;font-size:9px;color:#a7b598}.step{display:flex;align-items:center;gap:6px;white-space:nowrap}.step em{font-style:normal;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#f0f5e9;font-size:9px}.step.active{color:var(--teal);font-weight:550}.step.active em{background:var(--teal);color:#fff}.step-line{height:1px;background:#e7eddf;flex:1;min-width:10px}.preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.preview-item{padding:15px;border:1px solid #e3ebda;border-radius:10px;background:#fafcf6;min-width:0}.preview-item>span{font-size:9px;color:#9bab8b;display:block;margin-bottom:6px}.preview-item strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.preview-item small{display:block;font-size:10px;color:#9bac88;margin-top:5px;overflow-wrap:anywhere}.detail-list{margin:0}.detail-row{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:10px 0;border-bottom:1px solid #eef2e7;font-size:11px}.detail-row:last-child{border:0}.detail-row dt{color:#95a580;flex-shrink:0;max-width:42%;font-size:10px}.detail-row dd{margin:0;text-align:right;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.detail-section{margin:18px 0;border:1px solid #e5ecdc;border-radius:10px;padding:14px 16px}.detail-section>h3{font-size:11px;color:#7d9865;margin-bottom:8px}.detail-section>.empty-copy{font-size:10px;color:#9fae8c}.group-result{border-top:1px solid #edf2e5;padding:11px 0}.group-result:first-of-type{border:0}.group-result h4{font-size:11px;font-weight:550;margin:0 0 7px;overflow-wrap:anywhere}.group-result p{font-size:10px;color:#91a57d;line-height:1.8;overflow-wrap:anywhere}.expiry-countdown{font-size:10px;color:#a98d53;margin:11px 0}.confirm-account-name{color:var(--teal-deep);font-weight:600;overflow-wrap:anywhere}.checkbox-field{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#91a47a;line-height:1.9;margin:15px 0}.checkbox-field input{margin-top:3px;flex-shrink:0}.toast-stack{position:fixed;right:27px;bottom:24px;z-index:100;display:flex;flex-direction:column;gap:9px;pointer-events:none;max-width:min(410px,calc(100vw - 34px))}.toast{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #e0e9d8;box-shadow:0 8px 35px #223b2220;border-radius:11px;padding:13px 15px;font-size:11px;line-height:1.8;pointer-events:auto;animation:toast-in .22s ease-out;overflow-wrap:anywhere}.toast>.icon{color:var(--teal);margin-top:2px;flex-shrink:0}.toast.error>.icon{color:var(--danger)}.toast.warning>.icon{color:var(--amber)}.toast>span{flex:1}.toast .icon-button{width:20px;height:22px;padding:2px}.noscript{position:fixed;inset:0;display:grid;place-items:center;background:var(--canvas);z-index:200;padding:30px;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.form-spacer{height:16px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes appear{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1500px){main{padding-left:48px;padding-right:48px}.topbar{padding-left:48px;padding-right:48px}.welcome-card{min-height:300px;padding:31px 33px}.card-illustration{right:45px;top:87px;transform:rotate(-9deg) scale(1.12)}.welcome-card h2{font-size:30px}.overview-grid{grid-template-columns:1.4fr 1fr}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.workspace{margin-left:205px}main{padding:27px 26px 0}.topbar{padding:0 26px}.stats-grid{gap:12px}.stat-card{padding:17px 17px 15px}.overview-grid{grid-template-columns:1.2fr 1fr;gap:17px}.card-illustration{right:-24px;top:89px;transform:rotate(-9deg) scale(.81);opacity:.85}.welcome-card{padding:25px;min-height:284px}.welcome-card h2{font-size:26px}.welcome-content{max-width:190px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-bottom-grid{gap:17px}.page-heading{gap:15px}h1{font-size:25px}.subtle-copy{display:none}.settings-layout{gap:18px;grid-template-columns:1.2fr 1fr}.settings-panel form{padding:0 19px}.safety-panel{padding:22px}.settings-save{align-items:flex-start}.settings-save>span{max-width:140px}}
@media(max-width:960px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.workspace{margin-left:190px}.brand{padding-left:8px;gap:9px}.brand strong{font-size:24px}.brand small{font-size:7px}.nav-item{font-size:12px;gap:10px}.topbar{height:63px;padding:0 23px}.today{display:none}main{padding:25px 23px 0}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:112px}.overview-grid{grid-template-columns:1fr}.welcome-card{min-height:242px}.welcome-card p br{display:none}.welcome-card p{max-width:250px}.welcome-content{max-width:320px}.welcome-card h2 br{display:none}.welcome-card h2{font-size:27px}.card-illustration{right:29px;top:58px;transform:rotate(-9deg) scale(.9)}.welcome-card p{max-width:200px}.overview-bottom-grid{grid-template-columns:1.4fr 1fr}.inventory-panel{min-height:245px}.settings-layout{grid-template-columns:1fr}.heading-actions{gap:7px}.heading-actions .button{padding:8px 10px}.page-heading{align-items:flex-start}h1{font-size:23px}.page-heading p{max-width:330px}.settings-save>span{max-width:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:235px;transition:transform .2s;z-index:50;padding-left:20px;padding-right:20px}.sidebar.open{transform:none}.sidebar-backdrop{position:fixed;inset:0;background:#20362d50;z-index:40}.workspace{margin-left:0}.mobile-menu{display:inline-flex!important}.topbar{height:60px;padding:0 19px;position:sticky;top:0;z-index:25;background:#f9faf6f5;backdrop-filter:blur(12px)}.breadcrumb{gap:9px}.topbar-right{gap:8px}.breadcrumb-root{display:none}.breadcrumb-divider{display:none}main{padding:24px 19px 0}.page-heading{margin-bottom:22px;align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:23px}.page-heading p{font-size:10px;max-width:270px}.page-heading>.button{margin-top:22px}.heading-actions{flex-direction:column;margin-top:9px;gap:6px}.heading-actions .button{min-height:30px;font-size:10px;padding:6px 10px}.stats-grid{gap:11px;margin-bottom:20px}.stat-card{padding:15px 17px;min-height:113px}.stat-value{font-size:29px;margin-top:4px}.stat-label{font-size:10px}.stat-footnote{font-size:8px}.overview-grid{margin-bottom:20px;gap:20px}.overview-bottom-grid{grid-template-columns:1.4fr 1fr;gap:16px}.panel-heading{padding:19px}.panel-heading h2{font-size:12px}.account-summary-main,.account-summary-details{padding-left:19px;padding-right:19px}.account-summary-panel>.button{margin-left:19px;margin-right:19px;width:calc(100% - 38px);font-size:9px}.account-summary-details{flex-direction:column;gap:5px}.collection-toolbar{padding:17px}.filter-row{padding:0 17px 15px;gap:4px}.filter-chip{padding:5px 8px;font-size:9px}.filter-chip span{font-size:8px}.search-field{min-width:0;max-width:none}.search-field input{font-size:10px}.search-field kbd{display:none}.table-footer{padding:13px 17px;flex-wrap:wrap;font-size:8px}.pagination{margin-left:auto}.account-grid{gap:14px}.account-card{padding:17px}.account-card-actions{gap:4px}.account-card-actions .button{padding:6px 8px;font-size:9px}.account-identity h3{font-size:12px}.account-card-actions .icon-button{width:25px;padding:4px}.account-card-actions .icon{width:14px;height:14px}.dialog{max-height:calc(100dvh - 26px);border-radius:14px}.dialog-header{padding:19px 20px 16px}.dialog-content{padding:20px}.dialog-header h2{font-size:19px}.toast-stack{bottom:16px;right:16px}.quiet-notice{font-size:9px}.global-error{flex-wrap:wrap}.global-error>.button{margin-left:auto}.history-panel .table-footer{font-size:8px}.main-footer{font-size:8px;margin-top:20px}}
@media(max-width:480px){main{padding-left:15px;padding-right:15px}.topbar{padding-left:12px;padding-right:15px}.topbar .connection-pill{font-size:9px}.page-heading{gap:12px}.page-heading p{max-width:210px;font-size:9px}h1{font-size:22px}.page-heading>.button{padding:8px 10px;min-height:34px;font-size:10px}.stat-card{padding:14px;min-height:112px}.stat-value{font-size:28px}.stat-icon{width:26px;height:26px}.welcome-card{padding:25px 23px;min-height:264px}.welcome-card h2{font-size:25px;max-width:200px}.welcome-card h2 br{display:block}.welcome-card p{max-width:160px;font-size:9px}.welcome-kicker{font-size:7px}.card-illustration{right:-25px;top:91px;transform:rotate(-9deg) scale(.68);opacity:.8}.welcome-card .button{font-size:9px}.overview-bottom-grid{grid-template-columns:1fr}.account-summary-details{flex-direction:row;gap:19px}.account-summary-panel .panel-heading{padding-bottom:10px}.account-summary-main{padding-bottom:9px}.account-summary-panel>.button{margin-top:17px}.account-grid{grid-template-columns:1fr}.account-card{padding:20px}.account-card-actions .button{font-size:10px;padding:7px 11px}.account-card-actions{gap:8px}.filter-chip{font-size:9px;padding:5px 7px}.bulk-toolbar{padding:10px 16px;gap:9px;font-size:10px;flex-wrap:wrap}.bulk-toolbar .button{font-size:9px}.table-footer{gap:10px}.pagination label{margin-right:0}.notice{padding:13px;font-size:10px;gap:8px}.notice p{font-size:9px}.notice strong{font-size:10px}.form-grid,.preview-pair{grid-template-columns:1fr;gap:0}.preview-item{margin-bottom:10px}.preview-pair{margin-bottom:12px}.steps{gap:5px;font-size:8px}.step{gap:4px}.step em{width:17px;height:17px;font-size:8px}.step-line{min-width:5px}.dialog-actions{gap:7px}.dialog-actions .button{font-size:10px;padding:9px 12px}.dialog-actions .hint{flex-basis:100%}.catalog-toolbar{align-items:flex-start}.settings-panel .panel-heading{padding:21px 19px}.setting-row strong{font-size:11px}.setting-row p{font-size:9px}.settings-save>span{font-size:9px;max-width:180px}.result-hero h3{font-size:19px}.result-hero p{font-size:10px}.detail-row{gap:14px;font-size:10px}.detail-row dt{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Registration derives the target from the selected card; this panel has no scope inputs. */
.registration-target-fields{border:0;padding:0;margin:14px 0;min-width:0}
.registration-target-fields>legend{font-size:16px;font-weight:700;padding:0;margin-bottom:12px;color:var(--ink)}
.registration-target-fields .notice{margin:12px 0}

/* Shipment and self-use extensions keep the readable base sizes. */
.fulfillment-filters{padding-top:0;border-top:1px solid var(--line)}
.badge.delivered{background:#e8eefb;color:#354f87}
.badge.unshipped{background:#edf3ee;color:#486752}
.badge.reserved,.badge.pending{background:#fff2dc;color:#87601e}
.delivery-panel{margin-top:24px}
.delivery-panel .collection-toolbar{display:flex;gap:14px;flex-wrap:wrap}
.delivery-panel .collection-toolbar>select{font:inherit;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.delivery-panel .table-scroll{overflow-x:auto}
.delivery-code{font-family:ui-monospace,monospace!important;font-size:16px!important;overflow-wrap:anywhere;resize:vertical}
.status-stack .badge{align-self:flex-start}
.account-card>.text-link{display:inline-block;margin:6px 0;font-size:14px}
@media(max-width:760px){.delivery-panel .collection-toolbar>.search-field{flex-basis:100%}.delivery-panel .data-table{min-width:840px}.delivery-panel .table-footer{gap:10px;flex-wrap:wrap}}

/* Readable default density: real CSS sizes, not browser zoom.
   Keep controls/data >= 15px and supporting copy at 13–14px across breakpoints. */
:root {
  --muted:#626f68;
  --danger:#a5473a;
  --amber:#87601e;
  --type-body:16px;
  --type-control:15px;
  --type-caption:14px;
  --type-micro:12px;
  font-size:var(--type-body);
  line-height:1.65;
}
.sidebar{width:250px;padding:28px 20px 0;overflow-y:auto}
.workspace{margin-left:250px}
.brand{margin-bottom:30px}
.brand strong{font-size:28px}
.brand small,.sidebar-footer small,.eyebrow,.dialog-eyebrow{font-size:var(--type-micro);color:var(--muted)}
.brand small{letter-spacing:1px;font-size:10px}
.nav-label{font-size:13px;color:var(--muted);letter-spacing:1px}
.nav-item{font-size:16px;min-height:50px;padding:12px 14px;color:#53645a}
.nav-count{font-size:13px;line-height:25px;min-width:26px}
.sidebar-bottom{padding-top:24px}
.local-note{padding:18px 14px;margin-bottom:18px}
.local-note strong,.sidebar-footer strong,.avatar{font-size:14px}
.local-note p,.local-pill{font-size:13px;color:#586f5d}
.breadcrumb{font-size:15px}
.breadcrumb-root,.today{color:var(--muted)}
.today,.connection-pill,.topbar .connection-pill{font-size:13px}
.connection-pill{padding:6px 11px}
.topbar{height:76px;padding:0 32px}
main{padding:32px 32px 0;min-height:calc(100vh - 76px)}
h1{font-size:32px;line-height:1.35}
.page-heading{gap:20px;align-items:center}
.page-heading p{font-size:16px;max-width:none;line-height:1.7;color:var(--muted);margin-top:9px}
.heading-actions{flex-wrap:wrap;flex-shrink:0}
.button,.heading-actions .button,.page-heading>.button,.dialog-actions .button,
.welcome-card .button,.account-summary-panel>.button,.empty-state .button{
  font-size:var(--type-control);min-height:44px;padding:10px 17px;line-height:1.5;
}
.button.small,.account-card-actions .button,.bulk-toolbar .button{
  font-size:var(--type-control);min-height:40px;padding:8px 12px;
}
.text-button,.row-actions .text-button,.bulk-toolbar .text-button{font-size:var(--type-control);min-height:36px}
.text-link{font-size:var(--type-caption)}
.icon-button{width:38px;height:38px;padding:9px}
.icon-button .icon,svg.icon{width:20px;height:20px}
.stat-card{padding:22px;min-height:150px}
.stat-label{font-size:15px}
.stat-value,.compact-stats .stat-value{font-size:40px;line-height:1.25;margin:10px 0}
.stat-footnote{font-size:13px;line-height:1.65;color:var(--muted);align-items:flex-start}
.stat-footnote .icon{margin-top:4px}
.stat-icon{width:34px;height:34px}
.panel-heading h2,.collection-toolbar h2,.safety-panel h2{font-size:19px;line-height:1.5}
.panel-heading p,.panel-footnote,.quiet-notice{font-size:var(--type-caption);line-height:1.8;color:var(--muted)}
.main-footer{font-size:12px;color:var(--muted)}
.welcome-card{min-height:320px;padding:30px}
.welcome-content{max-width:260px}
.welcome-card h2{font-size:32px;line-height:1.45}
.welcome-card p{font-size:15px;max-width:250px;line-height:1.85}
.welcome-kicker{font-size:12px}
.card-illustration{right:18px;top:110px}
.breakdown-row{font-size:15px;min-height:37px;gap:16px}
.breakdown-row strong{font-size:16px}
.recent-record strong{font-size:16px}
.recent-record small,.account-summary-main span,.account-summary-details{font-size:14px}
.account-summary-main strong{font-size:42px}
.account-summary-details{flex-wrap:wrap}
.search-field{min-width:0}
.search-field input{font-size:16px;min-height:46px}
.search-field input::placeholder,.field input::placeholder,.field textarea::placeholder{font-size:15px;color:#6f7b73}
.search-field kbd,.subtle-copy{font-size:13px;color:var(--muted)}
.filter-row{gap:8px;flex-wrap:wrap}
.filter-chip{font-size:14px;padding:8px 12px;min-height:40px}
.filter-chip span{font-size:13px}
.bulk-toolbar{font-size:15px;gap:14px;flex-wrap:wrap}
.data-table{font-size:15px;line-height:1.7}
.data-table th{font-size:14px;padding-top:16px;padding-bottom:16px;color:#58665d}
.data-table td{padding-top:19px;padding-bottom:19px}
.code-value,.code-value.revealed,.cell-primary{font-size:15px}
.code-value{letter-spacing:.3px}
.cell-subtext,.reserved-tag{font-size:13px;line-height:1.7}
.cell-subtext{color:var(--muted)}
.badge{font-size:13px;padding:4px 9px;line-height:1.6}
.row-actions{gap:6px}
.row-actions .icon-button,.account-card-actions .icon-button{width:36px;height:36px;padding:8px}
.account-card-actions .icon{width:20px;height:20px}
.checkbox-cell input,.checkbox-field input[type=checkbox]{width:20px;height:20px;flex-shrink:0}
.table-footer,.history-panel .table-footer,.pagination select,.count-label{font-size:14px}
.pagination{gap:10px;flex-wrap:wrap}
.pagination select{min-height:38px;padding:5px 9px}
.account-card{padding:24px}
.account-avatar{font-size:18px;width:44px;height:44px}
.account-identity h3{font-size:18px}
.account-identity p,.account-info-row,.account-note,.account-error{font-size:14px;line-height:1.8}
.account-card-actions{gap:8px;flex-wrap:wrap}
.notice,.notice strong{font-size:15px;line-height:1.75}
.notice p,.notice ul,.history-message{font-size:14px;line-height:1.8}
.history-panel .collection-toolbar select{font-size:15px;min-height:42px}
.setting-row strong{font-size:17px}
.setting-row p,.settings-save>span,.safety-list p,.environment-box{font-size:14px;line-height:1.8}
.settings-save>span{max-width:none}
.input-suffix span,.safety-list strong{font-size:15px}
.job-banner strong,#job-count{font-size:14px}
.empty-state h3{font-size:18px}
.empty-state p{font-size:14px;line-height:1.8}
.dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px)}
.dialog.wide{width:min(880px,calc(100vw - 32px))}
.dialog-header{padding:24px 28px 20px}
.dialog-header h2{font-size:25px}
.dialog-content{padding:26px 28px}
.dialog-intro,.field>label,.field-label,.form-error,.inline-label{font-size:16px;line-height:1.75}
.dialog-intro,.checkbox-field,.hint,.field small,.import-count,.settings-save>span,.preview-item small{color:var(--muted)}
.field input:not([type=checkbox]),.field textarea,.field select{font-size:16px;min-height:46px;padding:11px 13px;line-height:1.6}
.field small,.dialog-actions>.hint,.import-count,.import-summary span,.catalog-toolbar>span,.catalog-status{font-size:14px;line-height:1.75}
.field{margin-bottom:20px}
.dialog-actions{gap:12px;flex-wrap:wrap;padding-top:22px}
.result-hero h3{font-size:26px}
.result-hero p{font-size:16px;line-height:1.8}
.import-summary strong{font-size:36px}
.steps{font-size:14px;gap:10px;line-height:1.65}
.step{gap:7px}
.step em{width:26px;height:26px;font-size:14px;flex-shrink:0}
.preview-item>span,.preview-item small{font-size:14px;line-height:1.75}
.preview-item strong{font-size:18px;overflow-wrap:anywhere}
.detail-row,.detail-section>h3,.group-result h4{font-size:16px;line-height:1.8}
.detail-row dt,.detail-section>.empty-copy,.group-result p,.expiry-countdown,.checkbox-field{font-size:14px;line-height:1.8}
.detail-row{padding-top:10px;padding-bottom:10px}
.toast{font-size:15px;line-height:1.8;max-width:480px}

@media(max-width:1200px){
  .overview-grid{grid-template-columns:1fr}
  .overview-bottom-grid{grid-template-columns:1.2fr 1fr}
  .welcome-card{min-height:290px}
  .welcome-content{max-width:calc(100% - 220px)}
  .welcome-card h2 br{display:none}
  .welcome-card p{max-width:380px}
  .card-illustration{right:35px;top:85px;transform:rotate(-9deg) scale(.92)}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .settings-layout{grid-template-columns:1fr}
  .page-heading{flex-wrap:wrap}
}
@media(max-width:960px){
  .sidebar{width:228px;padding-left:15px;padding-right:15px}
  .workspace{margin-left:228px}
  main{padding:26px 24px 0}
  .topbar{padding:0 24px}
  .account-grid,.overview-bottom-grid{grid-template-columns:1fr}
  .brand small{font-size:10px}
  .overview-grid{min-width:0}
}
@media(max-width:760px){
  .sidebar{width:270px;padding-left:20px;padding-right:20px}
  .workspace{margin-left:0}
  .topbar{height:68px;padding:0 16px}
  main{padding:24px 18px 0;min-height:calc(100vh - 68px)}
  h1{font-size:28px}
  .page-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}
  .page-heading p{font-size:15px;max-width:none}
  .page-heading>.button,.heading-actions{margin-top:0}
  .heading-actions{flex-direction:row;flex-wrap:wrap;gap:10px}
  .stat-card{padding:18px;min-height:150px}
  .stat-value,.compact-stats .stat-value{font-size:36px}
  .stat-footnote{font-size:13px}
  .collection-toolbar{flex-wrap:wrap;gap:12px}
  .filter-row{gap:7px}
  .filter-chip{padding:7px 10px}
  .table-footer{flex-wrap:wrap;gap:14px;align-items:center}
  .pagination{margin-left:0}
  .account-summary-details{flex-direction:row;gap:16px}
  .dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .dialog-header{padding:20px}
  .dialog-content{padding:20px}
  .dialog-header h2{font-size:23px}
  .steps{gap:6px;font-size:13px}
  .step-line{min-width:4px}
  .toast-stack{left:14px;right:14px;max-width:none}
}
@media(max-width:480px){
  main{padding-left:16px;padding-right:16px}
  .stats-grid{gap:12px}
  .stat-card{padding:16px}
  .stat-label{font-size:14px}
  .welcome-card{padding:25px;min-height:280px}
  .welcome-content,.welcome-card p{max-width:none}
  .welcome-card h2{font-size:30px;max-width:none}
  .welcome-card h2 br{display:block}
  .card-illustration{display:none}
  .welcome-kicker{font-size:12px}
  .page-heading>.button{margin-top:0}
  .overview-bottom-grid{grid-template-columns:1fr}
  .account-card{padding:20px}
  .notice{padding:15px}
  .form-grid,.preview-pair{grid-template-columns:1fr}
  .steps{display:grid;grid-template-columns:1fr;gap:8px;font-size:14px}
  .step-line{display:none}
  .detail-row{gap:16px}
  .dialog-actions>.hint{flex-basis:100%}
  .main-footer{gap:10px;flex-wrap:wrap}
}


/* v0.3 self-use shortcuts: account cards with one-click renew and the "正在打" switch. */
.account-grid{margin-bottom:24px}
.account-card.auto-on{border-color:#bfd9c9;box-shadow:0 0 0 3px #e9f4ef,var(--shadow)}
.account-expiry{display:flex;align-items:baseline;justify-content:space-between;gap:12px;background:#fafbf7;border-radius:8px;padding:12px 14px;margin-bottom:14px;font-size:15px}
.account-expiry>span{color:var(--muted)}
.account-expiry strong{font-weight:600;color:#2f5a4b;text-align:right;overflow-wrap:anywhere}
.account-expiry strong.expired{color:var(--danger)}
.account-renew{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px;min-height:40px}
.account-renew .button{gap:6px}
.count-pill{display:inline-block;font-size:12px;line-height:1.4;padding:1px 7px;border-radius:999px;background:#ffffff33;border:1px solid #ffffff55;font-weight:500}
.button:not(.primary) .count-pill{background:#eef3ec;border-color:#dfe8dc;color:#5f7568}
.auto-row{display:flex;align-items:center;gap:12px;padding:12px 0 0;border-top:1px solid #edf1e6;cursor:pointer}
.auto-row .switch{flex-shrink:0}
.auto-text{display:flex;flex-direction:column;min-width:0}
.auto-text strong{font-size:15px}
.auto-text small{font-size:13px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.account-card .account-card-actions{margin-top:12px;justify-content:flex-end}
.account-card .account-card-actions>.cell-subtext{margin-right:auto}
.account-card .account-card-actions>.icon-button:first-of-type{margin-left:0}
.settings-layout{grid-template-columns:1fr 1fr}
.settings-layout .safety-panel{grid-column:1/-1}
.settings-body{padding:4px 23px 8px}
.settings-note{font-size:14px;color:var(--muted);line-height:1.8;padding:4px 0 20px}
.settings-body .settings-save{border-top:1px solid #edf2e5}
@media(max-width:960px){.settings-layout{grid-template-columns:1fr}}
.login-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:var(--canvas)}
.login-card{width:min(380px,100%);display:grid;gap:14px;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.login-card h2,.login-card p{margin:0}.login-card p{color:var(--muted)}.login-card input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink)}
