:root{--ink:#1b3033;--muted:#738180;--green:#245a46;--accent:#c9f27f;--line:#e5eae6;--paper:#fff;--bg:#f4f6f3;--coral:#d48257;--radius:16px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}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:.5}button,a{touch-action:manipulation}button{color:inherit}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #92c784;outline-offset:3px}button{border:0;background:none}p,h1,h2,h3{margin:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}#app{display:flex;min-height:100vh}.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:13px;padding:0 10px;color:var(--ink);font-weight:750;font-size:24px;letter-spacing:2px}.brand-mark{height:42px;width:42px;border-radius:13px;background:var(--green);display:inline-flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0}.brand-mark .icon{width:28px;height:28px;stroke-width:2.3}.brand small{display:block;font-size:8px;letter-spacing:1.65px;margin-top:3px;font-weight:600;color:var(--muted)}.site-card{display:flex;align-items:center;gap:9px;padding:14px 11px;margin-top:36px;border:1px solid var(--line);border-radius:10px;background:#fafbf9}.site-symbol{display:flex;color:var(--green)}.site-card b{font-size:12px;display:block}.site-card small{font-size:10px;display:block;color:var(--muted);margin-top:5px}.site-online,.local-tag i,.page-footer i{width:6px;height:6px;border-radius:50%;background:#72a878;display:inline-block}.site-online{margin-left:auto}.nav-label{font-size:10px;letter-spacing:1px;color:#99a29c;margin:29px 13px 13px}.nav-item{display:flex;gap:13px;align-items:center;width:100%;border-radius:9px;padding:13px 15px;margin:5px 0;color:#7a8580;font-size:13px;text-align:left}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:#f2f6ef}.nav-item.active{background:#edf3e8;color:#2b583d;font-weight:650}.nav-dot{height:6px;width:6px;background:#3c6f42;border-radius:50%;margin-left:auto}.sidebar-spacer{flex:1;min-height:38px}.side-tip{background:#f2f5ec;border:1px solid #e8eddf;border-radius:12px;padding:17px 14px}.tiny-label{font-size:10px;color:#789064;letter-spacing:.5px}.side-tip p{font-size:13px;line-height:1.9;margin:9px 0 12px;color:#53664d}.side-tip button{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:11px;font-weight:650;color:#31573c;padding:0}.side-tip .icon{width:17px}.sidebar-footer{padding:23px 4px;display:flex;align-items:center;gap:9px;margin-top:12px}.avatar{width:32px;height:32px;border-radius:50%;background:#e8eee5;display:flex;align-items:center;justify-content:center;font-size:12px;color:#4e6d46}.sidebar-footer b{font-size:11px;display:block;font-weight:600}.sidebar-footer small{font-size:9px;display:block;color:var(--muted);margin-top:5px}.version{font-size:10px;color:#9aa49e;margin-left:auto}.workspace{margin-left:230px;min-width:0;width:calc(100% - 230px)}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.87);gap:18px}.breadcrumb{display:flex;gap:13px;font-size:12px;align-items:center;color:#a2aba5}.breadcrumb strong{color:#58675f;font-weight:500}.breadcrumb>span:first-child{font-size:11px;letter-spacing:1px}.top-actions{display:flex;align-items:center;gap:20px}.local-tag{display:flex;align-items:center;gap:7px;font-size:11px;color:#71816d;white-space:nowrap}.view-switch{display:flex;background:#f2f4f0;border:1px solid #e9ece5;border-radius:8px;padding:3px;gap:2px}.view-switch button{font-size:11px;padding:7px 11px;border-radius:6px;display:flex;align-items:center;gap:7px;color:#819075;white-space:nowrap}.view-switch .icon{width:15px;height:15px}.view-switch .selected{color:#31533d;background:white;box-shadow:0 1px 4px #2033150d}.icon-button{width:33px;height:33px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:var(--muted)}.icon-button:hover{background:#eef2e9;color:var(--green)}.icon-button .icon{width:18px}.main{padding:31px 36px 20px;max-width:1800px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.4px;color:#92a08b;font-weight:600}.eyebrow span{padding:0 6px}.page-heading h1{font-size:27px;letter-spacing:.4px;font-weight:680;margin:9px 0 9px}.page-heading p{font-size:12px;color:var(--muted);line-height:1.7}.heading-actions{display:flex;align-items:center;gap:10px}.date-picker{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;height:39px;color:#5e6d60}.date-picker .icon{width:15px;height:15px}.date-picker input{border:0;outline:0;background:transparent;color:#5b6c5c;font-size:11px;width:112px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:11px 16px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,transform .15s;min-height:39px}.button .icon{width:16px;height:16px}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#1d4838}.button.secondary{background:#fff;border-color:var(--line);color:#526754}.button.secondary:hover{background:#f3f6ed}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:23px}.stat-card{position:relative;padding:22px 21px 18px;border:1px solid var(--line);background:#fff;border-radius:12px;min-height:145px}.stat-label{color:#7e8a80;font-size:11px;display:block;margin-bottom:15px}.stat-icon{position:absolute;right:19px;top:19px;border-radius:10px;width:35px;height:35px;background:#f1f4ee;display:flex;align-items:center;justify-content:center;color:#819176}.stat-icon .icon{width:18px;height:18px}.stat-icon.green{background:#edf4e5;color:#779957}.stat-icon.amber{background:#faf4e7;color:#b79c62}.stat-icon.coral{background:#fbefe9;color:#c98a64}.stat-value{font-size:34px;font-weight:620;letter-spacing:-.7px;line-height:1.1;font-variant-numeric:tabular-nums}.stat-value small{font-size:11px;font-weight:400;color:#9ba497;margin-left:7px;letter-spacing:0}.stat-foot{font-size:10px;color:#98a18f;display:flex;align-items:center;gap:5px;margin-top:15px;padding:0}.stat-foot .icon{width:13px;height:13px}.stat-foot.link{color:#889c70}.green-text{color:#729052}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:22px}.dashboard-main,.dashboard-side{min-width:0}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 17px;gap:15px}.panel-heading h2,.mini-heading h2{font-size:14px;font-weight:620;display:flex;align-items:center;gap:8px}.count-label{font-size:10px;display:inline-flex;padding:3px 6px;border-radius:5px;background:#f0f4eb;color:#8b9b79;font-weight:500}.panel-heading p{font-size:10px;color:#98a08e;margin-top:7px}.subtle-label{font-size:9px;color:#a2ac9c;white-space:nowrap}.table-toolbar{padding:0 21px 15px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #edf0e9}.filter-tabs{display:flex;gap:15px;align-items:center}.filter-tabs button{position:relative;padding:9px 0 8px;font-size:11px;color:#98a08f;white-space:nowrap}.filter-tabs button span{font-size:9px;background:#f2f4ef;padding:2px 4px;border-radius:4px;margin-left:4px}.filter-tabs button.active{color:#385c39;font-weight:650}.filter-tabs button.active:after{content:"";position:absolute;bottom:0;left:0;width:21px;height:2px;background:#628c48;border-radius:2px}.filter-tabs button.active span{background:#eaf2e2;color:#7c985c}.table-tools{display:flex;gap:8px;align-items:center;margin-left:auto;min-width:0}.search-box{border:1px solid #e7ebe2;border-radius:7px;display:flex;align-items:center;gap:7px;padding:8px 9px;color:#9ba78f;max-width:200px;min-width:0}.search-box .icon{width:14px;height:14px}.search-box input{width:140px;min-width:0;outline:0;border:0;font-size:10px;background:transparent;color:#4a5d43}.search-box input::placeholder{color:#a6ad9e}.table-tools select{border:1px solid #e7ebe2;border-radius:7px;padding:8px 5px;font-size:10px;color:#7c8970;background:white;max-width:105px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{font-weight:400;font-size:10px;color:#9aa28f;background:#fbfcf9;text-align:left;padding:13px 12px}td{padding:16px 12px;border-bottom:1px solid #f0f2ec;color:#71806a}tr:last-child td{border-bottom:0}tr:hover td{background:#fcfdf9}th:first-child,td:first-child{padding-left:23px}th:last-child,td:last-child{padding-right:23px}.device-cell{display:flex;gap:10px;align-items:center}.device-cell b{display:block;color:#384e37;font-size:11px;font-weight:600;letter-spacing:.2px}.device-cell small{display:block;font-size:9px;color:#a1aa96;margin-top:5px}.device-mini{width:30px;height:34px;background:#f4f6ef;border:1px solid #e9eee1;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#8c9e77}.device-mini .icon{width:19px;transform:rotate(-90deg)}.zone-label{color:#6e7c64;font-size:10px}.cell-small{display:block;color:#a2aa97;font-size:9px;margin-top:5px}.badge{font-size:9px;padding:5px 7px;border-radius:5px;display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.normal{color:#679351;background:#f0f6e9}.badge.pending{color:#a3996e;background:#f7f5e9}.badge.issue{color:#bd8c5e;background:#fcf2e7}.person-dot{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#f0f3e9;font-size:9px;color:#879e6b;margin-right:6px}.numeric{font-size:10px;font-variant-numeric:tabular-nums;color:#8e9a81}.align-right{text-align:right}.text-button{font-size:10px;color:#80966b;display:inline-flex;align-items:center;gap:5px;padding:3px 0}.text-button:hover{color:#345b35}.text-button .icon{width:12px;height:12px}.muted{color:#a3ad97}.pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-top:1px solid #edf0e8;color:#8e9b7e;font-size:10px}.pagination>div{display:flex;align-items:center;gap:12px}.pagination button{border:1px solid #e4eade;border-radius:5px;width:25px;height:25px;font-size:17px;color:#7b8b6d}.pagination b{font-weight:500;color:#576e43}.progress-panel{background:#204b3b;border-radius:13px;padding:23px 22px 20px;color:#e8f1df;position:relative;overflow:hidden}.progress-panel:before{content:"";position:absolute;right:-95px;top:-100px;width:270px;height:270px;border:1px solid #e2f8ac0b;border-radius:50%;pointer-events:none}.progress-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500}.light-tag{font-size:9px;padding:4px 7px;border:1px solid #badf8e2b;border-radius:4px;color:#adc395;font-weight:400}.progress-visual{height:175px;width:175px;position:relative;margin:14px auto 4px}.progress-visual>svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-visual circle{fill:none;stroke-width:7}.ring-bg{stroke:#ffffff10}.ring-fg{stroke:#c7ef85;stroke-linecap:round}.progress-visual>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.progress-visual b{font-size:43px;font-weight:500;letter-spacing:-1.5px}.progress-visual b small{font-size:17px;font-weight:400;margin-left:4px}.progress-visual>div>span{font-size:10px;color:#b0c2a0}.progress-panel>p{text-align:center;font-size:10px;color:#a9bd96}.progress-panel>p b{color:#d4ecac;font-weight:500}.progress-separator{height:1px;background:#d0ef9f14;margin:21px 0 17px}.matrix-heading{font-size:10px;color:#bed0ab;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.matrix-heading .icon{width:13px;height:13px;color:#94ad7a}.device-matrix{display:grid;grid-template-columns:repeat(10,1fr);gap:5px}.matrix-cell{height:13px;padding:0;border-radius:3px;transition:transform .15s}.matrix-cell:hover{transform:scale(1.4)}.matrix-cell.normal,.matrix-legend .normal{background:#badb8c}.matrix-cell.issue,.matrix-legend .issue{background:#dfaa70}.matrix-cell.pending,.matrix-legend .pending{background:#476956}.matrix-legend{display:flex;gap:15px;margin-top:14px;font-size:9px;color:#abc39a}.matrix-legend span{display:flex;align-items:center;gap:5px}.matrix-legend i{width:6px;height:6px;border-radius:2px}.attention-panel{padding:21px 18px 14px;margin-top:19px}.mini-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.mini-heading h2{font-size:12px}.attention-item{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid #f0f2e9}.attention-item:last-of-type{border:0}.issue-dot{width:5px;height:5px;border-radius:50%;background:#d2a16d;flex-shrink:0;margin-top:5px}.attention-item>span:nth-child(2){flex:1;min-width:0}.attention-item b{font-size:10px;font-weight:600;color:#5b6f4f}.attention-item b small{font-size:9px;color:#a2ad93;margin-left:6px;font-weight:400}.attention-item p{font-size:10px;color:#9ba58d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.attention-item .icon{width:12px;color:#a9b69a;margin-top:7px}.card-note{font-size:9px;color:#a9b19e;margin-top:14px;line-height:1.7}.bottom-note{font-size:10px;color:#9ba68c;display:flex;align-items:center;gap:7px;margin:18px 2px}.bottom-note .icon{width:15px;height:15px}.bottom-note>span{margin-left:auto;font-size:9px;color:#abb59e}.page-footer{padding:22px 36px 25px;display:flex;justify-content:space-between;font-size:9px;color:#a3ad98;gap:15px}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer i{width:4px;height:4px;background:#93ab7d}.device-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;padding:23px}.device-card{border:1px solid #e8ecdf;border-radius:11px;text-align:left;padding:18px;background:#fff;transition:box-shadow .15s,border-color .15s}.device-card:hover{border-color:#aac58b;box-shadow:0 5px 20px #416b3210}.device-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.device-illustration{width:42px;height:52px;display:flex;align-items:center;justify-content:center;background:#f1f6e9;border-radius:9px;color:#94ad76}.device-illustration .icon{width:31px;height:31px;transform:rotate(-90deg)}.device-card h2{font-size:15px;font-weight:600;margin-top:20px}.device-card p{font-size:11px;color:#a0ac91;margin-top:6px}.device-card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef1e8;padding-top:14px;margin-top:19px;font-size:10px;color:#94a285}.device-card-bottom>span{display:flex;gap:5px;align-items:center}.device-card-bottom .icon{width:13px;height:13px}.panel>.table-toolbar:first-child{padding-top:17px}.ledger-summary{display:flex;gap:26px;align-items:center;padding:18px 22px;background:#eef3e7;border:1px solid #e2e9d7;border-radius:11px;margin-bottom:23px;font-size:11px;color:#7e906b;flex-wrap:wrap}.ledger-summary>span:first-child{display:flex;align-items:center;gap:9px}.ledger-summary b{font-size:21px;color:#597445;font-weight:550}.ledger-summary b small{font-size:10px;font-weight:400;margin-left:8px}.ledger-summary>.muted{margin-left:auto;font-size:10px}.archive-hero{position:relative;overflow:hidden;background:#eaf1df;border:1px solid #e1e9d5;border-radius:14px;display:flex;gap:25px;padding:34px 35px;align-items:center}.archive-emblem{width:74px;height:83px;background:#dce9cb;border-radius:19px;display:flex;align-items:center;justify-content:center;color:#78955b;flex-shrink:0}.archive-emblem .icon{width:35px;height:35px}.archive-hero h2{font-size:24px;font-weight:550;margin:10px 0 12px;color:#3f5d30}.archive-hero p{font-size:11px;line-height:1.9;color:#8a9e75}.archive-pills{display:flex;gap:18px;margin-top:18px;color:#7b9661;font-size:10px}.archive-pills .icon{width:12px;height:12px;margin-right:4px}.archive-hero-art{position:relative;width:135px;height:150px;margin-left:auto;margin-right:30px}.paper-back{position:absolute;inset:5px 0 5px 15px;border-radius:10px;background:#d5e4c0;transform:rotate(13deg)}.paper-front{position:absolute;inset:8px 5px 2px 6px;border:1px solid #dbe6cf;background:#f9fcf3;border-radius:10px;padding:20px}.paper-front>.icon{color:#a5bd88;width:28px;height:28px}.paper-front>i{display:block;width:100%;height:4px;border-radius:3px;background:#e3ecd8;margin:10px 0}.paper-front>i:last-of-type{width:60%}.paper-front>span{position:absolute;bottom:-7px;right:-13px;width:42px;height:42px;background:#5c8147;color:#d5edb3;border-radius:50%;display:flex;align-items:center;justify-content:center}.local-backup-note{display:flex;align-items:center;gap:12px;padding:18px 4px 24px;color:#8b9a7c}.local-backup-note>.icon{width:21px}.local-backup-note b{font-weight:500;font-size:11px}.local-backup-note p{font-size:10px;color:#a2ad95;margin-top:5px}.archive-list{padding:0 23px 8px}.archive-row{display:flex;gap:15px;align-items:center;border-top:1px solid #edf1e5;padding:21px 0;min-width:0}.archive-file-icon{width:40px;height:46px;display:flex;align-items:center;justify-content:center;background:#f2f6e9;border-radius:8px;color:#96af79;flex-shrink:0}.archive-info{flex:1;min-width:0}.archive-info>b{font-size:11px;overflow-wrap:anywhere}.archive-info small{display:block;font-size:10px;color:#a0ac91;margin-top:7px}.archive-info details{font-size:10px;margin-top:9px;color:#899d73}.archive-info summary{cursor:pointer}.archive-info code,.storage-details code{display:block;background:#f3f6ed;padding:10px;border-radius:6px;font-size:10px;overflow-wrap:anywhere;line-height:1.8;margin-top:9px;color:#748666}.storage-details{font-size:11px;color:#9aa98b;margin-top:22px}.storage-details summary{cursor:pointer}.storage-details p{font-size:10px;margin:10px 0;color:#a5b299}.empty{text-align:center;padding:50px 20px;color:#9ba88c;font-size:12px}.empty p{font-size:11px;margin-top:10px;line-height:1.9}.empty h3{font-size:15px;font-weight:500;color:#71845d}.archive-empty{padding:45px 20px 55px}.empty>span{width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:#f1f5e9;color:#b1c39b;margin-bottom:18px}.empty>span .icon{width:28px;height:28px}.quiet-message{padding:20px 0;font-size:11px;color:#94a282}.boot{display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;width:100%;min-height:100vh;color:#7d8f71;font-size:13px}.boot h2{font-size:20px;color:var(--ink)}.boot p{max-width:500px;padding:0 20px;line-height:1.8}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#244d39;color:#edf5e4;border:1px solid #527348;padding:13px 22px;border-radius:10px;box-shadow:0 7px 35px #172c2130;font-size:12px;z-index:1000;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#714a36;color:#fff7e7;border-color:#a67954}dialog{border:1px solid #e2e8d9;border-radius:17px;width:min(860px,calc(100% - 28px));padding:26px 28px;max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 20px 100px #1934232b}dialog::backdrop{background:#19362966;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.dialog-heading h2{font-size:23px;margin-top:10px;font-weight:600}.dialog-heading h2 small{font-size:12px;color:#9daa8e;font-weight:400;margin-left:12px}.detail-meta{display:flex;gap:18px;align-items:center;font-size:11px;color:#95a384;flex-wrap:wrap;padding:18px 0 22px}.detail-meta>span:first-child{display:flex;gap:5px;align-items:center}.detail-meta .icon{width:14px;height:14px}.detail-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.detail-photo-grid figure{margin:0;border:1px solid #e8eddf;border-radius:12px;overflow:hidden;background:#fafcf7}.detail-photo-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#eef2e9}.detail-photo-grid figcaption{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-size:11px;gap:8px}.detail-photo-grid figcaption>span{display:flex;gap:6px;align-items:center;color:#667d50}.detail-photo-grid figcaption b{font-weight:500}.detail-photo-grid figcaption .icon{width:14px;height:14px}.detail-photo-grid figcaption small{font-size:9px;color:#99a98a}.original-link{font-size:10px;color:#809a68;display:block;padding:0 14px 12px}.original-link .icon{width:12px;height:12px}.record-info{display:grid;grid-template-columns:1fr 1fr;gap:20px 27px;margin:25px 0}.record-info dt{font-size:10px;color:#a0ab94;margin-bottom:8px}.record-info dd{margin:0;font-size:12px;color:#6b805b;overflow-wrap:anywhere}.record-info dd small{display:block;font-size:9px;color:#a4b395;margin-top:6px}.record-info .record-id{font-size:10px}.record-note{padding:15px;border-radius:8px;background:#f5f8ef;font-size:11px;color:#8b9e75}.record-note b{font-weight:500;color:#7b9365}.record-note p{margin-top:8px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.issue-note{background:#faf4e9;color:#b59b74}.issue-note b{color:#a18b61}.dialog-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#a6b197;margin-top:20px;line-height:1.6}.dialog-note .icon{width:14px;height:14px}.pending-detail .button{margin-top:22px}.inspection-main{padding:27px 32px;min-width:0}
@media(min-width:1600px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}.table-toolbar{flex-wrap:nowrap}.stat-card{padding:25px}.main{padding-top:36px}.device-matrix{gap:6px}.matrix-cell{height:16px}td{padding-top:18px;padding-bottom:18px}}
@media(max-width:1300px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.workspace{margin-left:205px;width:calc(100% - 205px)}.main{padding:26px 24px 16px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.table-tools{margin-left:0;width:100%;justify-content:space-between}.search-box{max-width:none;flex:1}.search-box input{width:100%}.panel-heading{padding-left:18px;padding-right:18px}.subtle-label{display:none}.table-toolbar{padding-left:18px;padding-right:18px}.progress-panel{padding:21px 18px}.stats-grid{gap:12px}.stat-card{padding:21px 17px 17px}.stat-icon{right:15px}.page-heading h1{font-size:25px}.top-actions{gap:13px}.page-footer{padding-left:24px;padding-right:24px}.device-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.sidebar{width:185px;padding-left:12px;padding-right:12px}.workspace{margin-left:185px;width:calc(100% - 185px)}.brand{font-size:21px;padding-left:6px;gap:10px}.brand small{font-size:7px;letter-spacing:1.3px}.site-card{padding-left:8px;padding-right:8px}.site-card small{font-size:9px}.site-card b{font-size:11px}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.attention-panel{margin-top:0}.device-matrix{grid-template-columns:repeat(20,1fr);gap:4px}.matrix-cell{height:11px}.progress-visual{height:140px;width:140px}.progress-panel{padding:20px}.progress-title{font-size:11px}.top-actions .local-tag{display:none}.table-tools{width:auto;margin-left:auto}.search-box{width:185px}.page-heading{gap:15px}.stats-grid{gap:10px}.stat-card{padding:20px 14px}.stat-icon{width:29px;height:29px;right:12px;top:15px}.stat-label{font-size:10px}.stat-value{font-size:31px}.stat-foot{font-size:9px}.archive-hero-art{margin-right:0;width:100px;height:130px}.archive-hero{padding:28px;gap:20px}.archive-emblem{display:none}}
@media(max-width:800px){.sidebar{width:72px;padding:23px 9px 0}.brand{padding:0;justify-content:center}.brand>span:last-child,.site-card,.nav-label,.nav-item>span,.side-tip,.sidebar-footer{display:none}.brand-mark{width:37px;height:37px;border-radius:11px}.sidebar nav{margin-top:35px}.nav-item{justify-content:center;padding:15px 0;margin:8px 0}.nav-item .icon{width:21px;height:21px}.workspace{margin-left:72px;width:calc(100% - 72px)}.topbar{height:68px;padding:0 20px}.main{padding:24px 20px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.heading-actions{width:100%;justify-content:space-between}.page-heading h1{font-size:26px}.breadcrumb{font-size:11px;gap:9px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{padding:20px}.stat-icon{right:20px;top:20px;width:35px;height:35px}.stat-label{font-size:11px}.stat-foot{font-size:10px}.stat-value{font-size:34px}.table-tools{width:100%;margin-left:0}.table-scroll table{min-width:650px}.device-cards{grid-template-columns:repeat(2,1fr);padding:17px;gap:12px}.archive-hero-art{display:none}.archive-hero{padding:26px}.archive-hero h2{font-size:22px}.archive-row{flex-wrap:wrap}.archive-info{flex-basis:calc(100% - 60px)}.archive-row>.badge{margin-left:55px}.archive-row>.button{margin-left:auto}.page-footer{padding:20px;font-size:8px}.page-footer>span:last-child{display:none}.inspection-main{padding:22px 16px}.bottom-note>span{display:none}}
@media(max-width:560px){.sidebar{display:none}.workspace{margin-left:0;width:100%}.topbar{padding:0 16px;height:64px;position:sticky;top:0;z-index:30;background:#ffffffed;backdrop-filter:blur(12px);gap:8px}.breadcrumb{font-size:10px;gap:7px}.breadcrumb>span:first-child{font-size:9px}.top-actions{gap:4px}.top-actions .icon-button{width:28px}.view-switch button{padding:7px;font-size:10px;gap:4px}.view-switch .icon{width:13px;height:13px}.main{padding:24px 16px 14px}.page-heading h1{font-size:26px}.eyebrow{font-size:8px}.page-heading p{font-size:11px}.page-heading{margin-bottom:21px}.heading-actions{gap:8px}.date-picker{height:38px;padding:9px 10px}.date-picker input{font-size:10px;width:110px}.button{font-size:11px;padding:10px 13px}.stats-grid{gap:11px;margin-bottom:19px}.stat-card{padding:18px 15px 16px;min-height:135px}.stat-icon{width:29px;height:29px;top:15px;right:13px;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.stat-label{font-size:10px;margin-bottom:17px}.stat-value{font-size:32px}.stat-foot{font-size:9px;margin-top:13px}.dashboard-side{grid-template-columns:1fr}.dashboard-grid{gap:18px}.dashboard-side .progress-panel{display:none}.panel-heading{padding:19px 16px 14px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.table-toolbar{padding:0 16px 14px;gap:11px}.filter-tabs{gap:16px}.filter-tabs button{font-size:10px}.filter-tabs button span{font-size:8px;padding:2px 3px;margin-left:3px}.pagination{padding:14px 15px;font-size:9px}.pagination>span>.muted{display:none}.bottom-note{font-size:9px;line-height:1.7}.device-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.device-card{padding:13px 11px}.device-card-top{display:block}.device-card-top .badge{margin-top:12px}.device-card h2{font-size:14px;margin-top:14px}.device-card p{font-size:9px}.device-card-bottom{font-size:8px;gap:3px}.device-card-bottom>.icon{display:none}.device-illustration{width:33px;height:40px}.device-illustration .icon{width:25px;height:25px}.ledger-summary{padding:17px;gap:15px;font-size:10px}.ledger-summary>span:first-child{flex-basis:100%}.ledger-summary>.muted{margin-left:0;font-size:9px}.ledger-summary b{font-size:24px}.archive-hero{padding:25px 21px}.archive-hero h2{font-size:22px}.archive-hero p{font-size:10px}.archive-pills{gap:12px;font-size:9px}.archive-list{padding:0 16px 8px}.archive-info>b{font-size:10px}.archive-info small{line-height:1.7;font-size:9px}.archive-row{gap:11px}.archive-file-icon{width:35px}.archive-row>.badge{margin-left:46px}.archive-info details{font-size:9px}.archive-row>.button{padding:8px 10px;min-height:33px;font-size:10px}.local-backup-note{padding:18px 0 22px}.local-backup-note p{font-size:9px;line-height:1.7}.local-backup-note b{font-size:10px}.storage-details{font-size:10px;line-height:1.8}.page-footer{padding:18px 16px 24px}.page-footer:before{content:""}dialog{padding:22px 17px;border-radius:14px}.dialog-heading h2{font-size:21px}.dialog-heading h2 small{display:block;font-size:11px;margin:7px 0 0}.detail-photo-grid{grid-template-columns:1fr}.detail-meta{gap:12px;font-size:10px}.record-info{grid-template-columns:1fr;gap:17px}.record-info dd{font-size:11px}.dialog-note{font-size:9px}.inspection-main{padding:18px 12px}.archive-empty{padding:40px 17px}.archive-empty p{font-size:10px}}
.mobile-nav{display:none}
.heading-actions{flex-wrap:wrap}
@media(max-width:560px){.heading-actions{justify-content:flex-start}.heading-actions .date-picker{flex-basis:100%}.heading-actions .date-picker input{width:100%}.heading-actions .button{flex:1}.mobile-nav button{flex:1}}
@media(max-width:560px){.mobile-nav{display:flex;justify-content:space-between;gap:4px;padding:9px 13px;background:#fff;border-bottom:1px solid var(--line)}.mobile-nav button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#8a9c79;padding:9px 7px;border-radius:6px}.mobile-nav .icon{width:14px;height:14px}.mobile-nav button.active{background:#eef4e7;color:#3d653f}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.detail-photo-grid figure:nth-child(3):last-child{grid-column:1 / -1}

.archive-device-tools{padding-top:20px}.history-count{font-size:11px;color:#748a68}.device-history-date{display:block;font-size:10px;color:#99a58e;margin:12px 0}.device-history-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.device-history-toolbar>span{font-size:11px;color:#89977d}.device-history-list{display:grid;gap:10px}.device-history-row{display:flex;align-items:center;gap:16px;width:100%;padding:17px 15px;border:1px solid #e5eadf;border-radius:9px;background:#fcfdf9;text-align:left;color:#516545}.device-history-row:hover{background:#f1f6ec}.device-history-row>div{display:grid;gap:8px;flex:1}.device-history-row strong{font-size:14px}.device-history-row small,.device-history-row>span:not(.badge){font-size:11px;color:#8a987e}.device-history-row>.icon{width:15px;flex-shrink:0}
@media(max-width:560px){.device-history-row{gap:9px;padding:13px 10px}.device-history-row>span:not(.badge){display:none}.archive-device-tools .table-tools{flex-wrap:wrap}.archive-device-tools .search-box{flex-basis:100%}}

.record-checklist{padding:18px;background:#f3f6ef;border-radius:10px;margin:20px 0}.record-checklist h3{font-size:14px;margin:0 0 12px}.record-checklist>div{display:flex;justify-content:space-between;padding:8px 0;font-size:12px;gap:20px}.record-checklist b{color:#3d653f}
