@charset "UTF-8";
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#1c2b26;background:#f4f6f3;font-synthesis:none;--ink:#1c2b26;--muted:#758079;--green:#285b42;--line:#e2e7e1;--accent:#b7e89c;--white:#fff}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #83ba69;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:21px;font-weight:650;letter-spacing:-.5px}h3{font-size:16px;font-weight:650}em{font-style:normal}small{font-size:12px}.muted{color:var(--muted)}.section-label,.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;margin-bottom:12px;color:#6d7d73}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;font-weight:650;letter-spacing:-.7px}.brand small{display:block;font-size:8px;letter-spacing:2.9px;font-weight:500;color:#9eafa6;margin-top:1px}.brand-icon{display:grid;place-items:center;width:39px;height:39px;background:var(--accent);color:#183b29;border-radius:11px;font-size:28px;font-weight:750;font-style:italic;line-height:1}.login-view{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{color:white;background:#162823;padding:48px 60px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;right:-260px;bottom:-330px;width:690px;height:690px;border:1px solid #365342;border-radius:50%;box-shadow:0 0 0 65px #1b30281f,0 0 0 130px #21392d38;pointer-events:none}.login-story h1{font-size:clamp(44px,5vw,76px);line-height:1.09;letter-spacing:-3px;position:relative;z-index:1}.login-story h1 em{color:var(--accent)}.login-story p{color:#aabbaf;max-width:330px;font-size:17px;line-height:1.7;margin-top:26px}.login-story .eyebrow{color:#9bbba6;margin-bottom:23px}.story-footer{font-size:11px;letter-spacing:2px;color:#8ea395}.login-side{display:grid;place-items:center;padding:40px;background:#fafbf9}.login-card{width:100%;max-width:350px}.login-card h2{font-size:30px;margin-bottom:10px}.login-card>.muted{margin-bottom:35px}.login-foot{text-align:center;font-size:11px;color:#929b93;margin-top:26px}.login-card label{margin-bottom:18px}.login-card .wide{margin-top:6px;justify-content:space-between}.error{color:#ad3b35;min-height:22px;margin:0 0 10px;font-size:13px}.app-shell{display:flex;min-height:100vh}.sidebar{background:#162823;color:#c4d0c8;width:244px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:33px 22px;z-index:5}.sidebar .brand{color:#fff;margin:0 0 49px 5px}.nav-caption{font-size:8px;letter-spacing:1.7px;color:#7f9487;font-weight:650;margin:0 12px 13px}nav{display:flex;flex-direction:column;gap:6px}nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:9px;text-decoration:none;font-size:13px;color:#a9bcb0;transition:background .15s}nav a:hover{background:#243b30;color:white}nav a.active{background:#b7e89c;color:#1d3d29;font-weight:650}.nav-symbol{font-size:19px;line-height:1;width:23px;text-align:center}.nav-count{font-size:10px;line-height:19px;min-width:19px;text-align:center;border-radius:5px;background:#263f33;color:#b9c9be;margin-left:auto}nav a.active .nav-count{background:#99ca80;color:#1d3d29}.sidebar-bottom{margin-top:auto;border-top:1px solid #304037;padding:24px 9px 0;display:flex;align-items:center;gap:12px;font-size:11px;color:#d5ded6}.sidebar-bottom small{display:block;color:#7f9788;font-size:9px;margin-top:4px}.online-dot{width:7px;height:7px;display:inline-block;flex:none;border-radius:50%;background:#8ad37b;box-shadow:0 0 0 4px #89c77516}.workspace{margin-left:244px;width:calc(100% - 244px);min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:#fafbf9;display:flex;align-items:center;justify-content:space-between;padding:0 43px;font-size:11px}.breadcrumb{color:#929b94}.breadcrumb-divider{color:#c2c9c2;margin:0 14px}.topbar strong{font-weight:550}.account{display:flex;align-items:center;gap:10px;color:#64736a}.avatar{width:29px;height:29px;background:#e7ede4;border:1px solid #dae3d6;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700;color:#52694f}.text-button{border:0;background:transparent;color:#7a867f;font-size:11px;padding:8px;margin-left:12px}.text-button:hover{color:#1d432f}main{padding:37px 43px 20px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .muted{font-size:12px;margin-top:9px}.page-heading .section-label{margin-bottom:9px;font-size:8px}.button{border-radius:7px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.5}.button.primary{background:#285b42;color:white}.button.primary:hover{background:#204d37}.button.secondary{background:#fff;color:#405148;border-color:#dce3dc}.button.secondary:hover{background:#f1f5ed}.button.light{background:#edf5e8;border-color:#d9e5d2;color:#365d38}.button.danger{background:#fff2ef;color:#a64b3e;border-color:#f0d6cd}.button.small{padding:7px 11px;font-size:11px}.wide{width:100%}.hero{display:grid;grid-template-columns:1.35fr 1fr;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:22px}.hero-main{padding:28px 29px;position:relative}.status-pill{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid #dbe9d5;background:#f0f7ec;color:#4c7144;font-size:9px;font-weight:650;border-radius:5px}.status-pill .online-dot{width:5px;height:5px;box-shadow:none;background:#6da853}.hero h2{font-size:25px;line-height:1.3;margin-top:19px;margin-bottom:9px}.hero-main>p{font-size:12px;line-height:1.75;max-width:360px;color:#819083}.hero-actions{display:flex;gap:9px;margin-top:25px}.hero-side{padding:30px;background:#eef3e9;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #e1e8dc}.hero-side .section-label{font-size:8px;margin-bottom:19px}.check-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:11px 0;border-bottom:1px solid #dce5d5;gap:10px}.check-row:last-child{border-bottom:0}.check-mark{color:#4b7944;margin-right:9px}.check-row>span:last-child{color:#6d8165;font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:27px}.stat{border:1px solid var(--line);border-radius:11px;background:#fff;padding:20px 21px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#7b897e;font-size:10px;gap:8px}.stat-icon{font-size:18px;color:#9aac96;font-weight:400}.stat-value{font-size:31px;letter-spacing:-1.5px;line-height:1.25;margin-top:13px;font-weight:600}.stat-value .unit{font-size:13px;letter-spacing:0;color:#8d9a8e;margin-left:5px;font-weight:400}.stat-note{font-size:9px;color:#9aa49b;margin-top:6px}.grid-two{display:grid;grid-template-columns:1.55fr 1fr;gap:21px}.card{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 23px;border-bottom:1px solid #edf0e9}.card-header h3{font-size:13px}.card-header p{font-size:10px;color:#8d988f;margin-top:4px}.card-body{padding:23px}.card-footer{border-top:1px solid #edf0e9;padding:13px 23px;font-size:10px;color:#86958a}.empty{text-align:center;padding:40px 25px}.empty-symbol{border:1px solid #e3e9df;background:#f7f9f4;width:48px;height:48px;border-radius:13px;margin:0 auto 17px;display:grid;place-items:center;font-size:23px;color:#9ab18d}.empty h3{font-size:13px;margin-bottom:8px}.empty p{font-size:11px;color:#8c978e;max-width:330px;margin:auto;line-height:1.7}.empty .button{margin-top:20px}.task-list{list-style:none;margin:0;padding:0}.task-list li{display:flex;gap:12px;align-items:start;padding:16px 0;border-bottom:1px solid #edf1e9}.task-list li:first-child{padding-top:0}.task-list li:last-child{border-bottom:0;padding-bottom:0}.step{flex:none;width:24px;height:24px;background:#eef3e9;border:1px solid #e1e8dc;color:#748b68;border-radius:7px;display:grid;place-items:center;font-size:10px}.step.done{background:#e6f2df;color:#538040}.task-list h4{font-size:11px;font-weight:600;margin:0 0 4px}.task-list p{font-size:10px;line-height:1.7;color:#8d988e;margin:0}.page-footer{display:flex;justify-content:space-between;color:#9aa59c;font-size:9px;margin-top:30px;padding-top:14px;border-top:1px solid var(--line)}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px}.toolbar input{max-width:320px}.badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:4px;font-size:9px;line-height:1.4;font-weight:600;background:#eff2ec;color:#7e8978;white-space:nowrap}.badge.draft{background:#fff4df;color:#987431}.badge.published,.badge.enabled{background:#eaf5e2;color:#628243}.badge.paused,.badge.disabled{background:#f4ece8;color:#966a57}.badge.internal{background:#edf2f6;color:#6c879b}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;font-weight:550;letter-spacing:.2px;color:#92a08f;background:#fbfcfa;white-space:nowrap}th,td{padding:14px 21px;border-bottom:1px solid #edf0e9}td{font-size:11px;vertical-align:middle}tr:last-child td{border-bottom:0}.cell-title{font-weight:600;display:block;color:#334b36;font-size:12px}.cell-sub{font-size:9px;color:#929c91;display:block;margin-top:5px}.row-actions{display:flex;gap:6px;justify-content:flex-end}.notice{padding:14px 18px;border:1px solid #dfe7d8;border-radius:8px;background:#f0f5eb;color:#647557;font-size:12px;line-height:1.7;margin-bottom:20px}.notice.danger{background:#fff1ee;border-color:#f1d7cd;color:#ae5844}.notice.warning{background:#fff7e7;border-color:#ecdfc5;color:#967347}.mono,code,pre{font-family:Consolas,"Courier New",monospace;font-size:11px}code{overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f2;border:1px solid #e2e9da;border-radius:8px;padding:17px;color:#536646;margin:14px 0;max-height:330px;overflow:auto}.info-list{margin:0}.info-list>div{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:15px 0;border-bottom:1px solid #edf0e9}.info-list>div:first-child{padding-top:0}.info-list>div:last-child{border-bottom:0}.info-list dt{color:#8b978b;font-size:11px}.info-list dd{margin:0;font-size:12px;overflow-wrap:anywhere}.test-lead{display:flex;gap:20px;align-items:center;margin-bottom:25px}.test-icon{width:64px;height:64px;flex:none;background:#eef5e7;color:#719861;border:1px solid #deead2;border-radius:17px;display:grid;place-items:center;font-size:30px}.test-lead p{font-size:12px;color:#82917b;margin-top:7px}.test-result{margin-top:23px}.result-row{padding:14px 0;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e5ecdf;font-size:12px}.result-row strong{color:#5d8345}.event{display:flex;gap:12px;padding:16px 23px;border-bottom:1px solid #edf0e9}.event:last-child{border-bottom:0}.event-bullet{width:7px;height:7px;background:#9cb987;border-radius:50%;flex:none;margin-top:6px}.event strong{font-size:11px;font-weight:600}.event p{font-size:10px;color:#899582;overflow-wrap:anywhere;line-height:1.7;margin-top:3px}.event time{font-size:9px;color:#9fa998;display:block;margin-top:5px}label{display:block;font-size:11px;color:#62745d;font-weight:600}input,select,textarea{display:block;width:100%;border:1px solid #dce4d7;border-radius:7px;background:#fff;color:#334c2f;outline:none;padding:11px 12px;margin-top:7px;font-weight:400;font-size:12px;transition:border-color .15s}input:focus,select:focus,textarea:focus{border-color:#7ea566;box-shadow:0 0 0 3px #cbe5b530}input::placeholder,textarea::placeholder{color:#a6b09e}input[type=file]{padding:15px;background:#f7faf3;border-style:dashed;font-size:11px}textarea{resize:vertical;min-height:80px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.field-hint{display:block;color:#9aa690;font-size:10px;font-weight:400;margin-top:5px}.form-section{font-size:11px;font-weight:650;border-bottom:1px solid #e4eada;padding-bottom:10px;margin:23px 0 16px}.form-actions{margin-top:24px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.form-actions>.button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}dialog{width:min(760px,calc(100% - 36px));max-height:90vh;border:1px solid #dae4d2;border-radius:15px;padding:0;box-shadow:0 24px 120px #14271a30;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#10211877;backdrop-filter:blur(3px)}.modal-top{padding:22px 28px;border-bottom:1px solid #e7eddf;display:flex;align-items:center;justify-content:space-between;background:#fafcf8;position:sticky;top:0;z-index:1}.modal-top h2{font-size:19px}#modal-body{padding:25px 28px}.icon-button{border:0;background:transparent;color:#8fa381;font-size:27px;line-height:1;width:28px;height:28px}.toast{position:fixed;bottom:26px;right:30px;border:1px solid #496637;background:#244128;color:#eff8e6;padding:14px 22px;border-radius:9px;box-shadow:0 9px 32px #1c39272b;z-index:20;font-size:12px;max-width:calc(100% - 40px)}.toast.failure{background:#773f31;border-color:#a9755d}progress{display:block;width:100%;height:9px;border:0;border-radius:7px;overflow:hidden;accent-color:#608c40;margin:14px 0 8px}progress::-webkit-progress-bar{background:#eaf0e3}progress::-webkit-progress-value{background:#709b50}.upload-status{font-size:11px;color:#748a63}.filter-wrap{display:flex;gap:10px;align-items:center}.filter-wrap select{margin:0;width:150px}.filter-wrap input{margin:0}.spaced{margin-top:22px}.link-arrow{text-decoration:none;color:#6f8b5b;font-size:11px}.link-arrow:hover{text-decoration:underline}.word-break{overflow-wrap:anywhere}.test-result:empty{display:none}.action-stack{display:flex;flex-wrap:wrap;gap:10px}.storage-meter{width:100%;margin-top:10px}.subheading{margin-bottom:20px}.subheading p{margin-top:7px;font-size:12px;color:#8a967f}
@media(min-width:1550px){main{padding-top:48px}.hero-main{padding:35px}.hero-side{padding:35px}.hero h2{font-size:29px}.hero-main>p{max-width:450px}}
@media(max-width:1150px){.sidebar{width:210px;padding:30px 16px}.sidebar .brand{font-size:20px;gap:9px}.brand-icon{width:34px;height:34px}.workspace{margin-left:210px;width:calc(100% - 210px)}main{padding:30px 26px}.topbar{padding:0 26px}.hero{grid-template-columns:1.2fr 1fr}.hero-main,.hero-side{padding:23px}.stats{gap:10px}.stat{padding:18px 15px}.stat-value{font-size:27px}.grid-two{gap:15px;grid-template-columns:1.3fr 1fr}.login-story{padding:40px}}
@media(max-width:850px){.sidebar{width:180px;padding:26px 12px}.sidebar .brand{font-size:17px;gap:8px}.brand small{font-size:7px;letter-spacing:2px}.sidebar .brand-icon{width:31px;height:31px;font-size:23px}.nav-caption{font-size:7px;letter-spacing:1.3px;margin-left:8px}nav a{font-size:11px;padding:11px 8px;gap:7px}.nav-symbol{width:20px}.workspace{margin-left:180px;width:calc(100% - 180px)}main{padding:25px 20px}.topbar{padding:0 20px;height:65px}.account>span:not(.avatar){display:none}.hero{grid-template-columns:1fr}.hero-side{border-left:0;border-top:1px solid #dfe7d7;padding:14px 23px}.hero-side .section-label{margin-bottom:7px}.check-row{padding:8px 0}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}.page-heading h1{font-size:26px}.login-story h1{font-size:49px}.login-story{padding:32px}.login-side{padding:28px}.login-card h2{font-size:26px}}
@media(max-width:600px){.login-view{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px}.login-story>.brand{margin-bottom:35px}.login-story h1{font-size:40px;letter-spacing:-1.7px}.login-story h1 br{display:none}.login-story p{margin-top:15px;font-size:13px}.login-story .eyebrow{font-size:9px;margin-bottom:12px}.story-footer{display:none}.login-side{padding:38px 25px;place-items:start center}.login-card h2{font-size:26px}.login-card>.muted{margin-bottom:25px}.sidebar{position:static;width:100%;padding:17px 18px 0;display:block}.sidebar .brand{font-size:19px;margin:0 0 17px}.sidebar .brand-icon{width:31px}.nav-caption,.sidebar-bottom{display:none}nav{flex-direction:row;overflow-x:auto;margin:0 -18px;padding:0 12px 10px;gap:3px}nav a{flex:none;padding:9px 10px;font-size:11px;gap:6px}.nav-symbol{font-size:14px;width:17px}.nav-count{display:none}.app-shell{display:block}.workspace{margin:0;width:100%}.topbar{height:52px;padding:0 20px;font-size:10px}.account{gap:3px}.avatar{width:25px;height:25px}.text-button{margin-left:5px;font-size:10px}main{padding:25px 18px 20px}.page-heading{gap:12px;margin-bottom:23px;align-items:flex-start}.page-heading h1{font-size:25px}.page-heading .muted{font-size:11px;max-width:250px}.page-heading>.button{font-size:10px;padding:8px 10px;margin-top:22px}.hero-main{padding:23px}.hero h2{font-size:23px}.hero-actions{gap:7px;flex-wrap:wrap}.hero-actions .button{font-size:11px;padding:10px 13px}.stat{padding:17px}.stat-top{font-size:10px}.stat-note{font-size:9px}.stats{margin-bottom:22px;gap:11px}.card-header{padding:17px 19px}.card-body{padding:20px}.empty{padding:35px 20px}.toolbar{align-items:stretch;flex-direction:column}.filter-wrap{width:100%}.filter-wrap input{min-width:0}.filter-wrap select{width:130px;flex:none}.toolbar>.button{align-self:flex-end}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-top{padding:20px}#modal-body{padding:20px}dialog{max-height:94vh;width:calc(100% - 22px)}.info-list>div{grid-template-columns:1fr;gap:5px}.test-lead{align-items:flex-start;gap:14px}.test-icon{width:45px;height:45px;font-size:23px;border-radius:12px}.test-lead h2{font-size:19px}.test-lead p{font-size:11px}.test-result .result-row{font-size:11px}.page-footer{font-size:8px;gap:15px}.toast{right:20px;bottom:20px}.section-label{font-size:9px}}
/* Applied receipts: only confirmed device writes get a green tick. */
.applied-firmware { margin:20px 0; padding:16px; border:1px solid #d9e1ea; border-radius:12px; }
.applied-firmware h3 { margin:0 0 12px; }
.applied-firmware .form-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.applied-action { display:grid; grid-template-columns:minmax(0,1fr) 32px; align-content:start; gap:6px 10px; min-width:0; }
.applied-action .button { width:100%; }
.applied-receipt { display:contents; }
.applied-mark { align-self:center; justify-self:center; font-size:28px; line-height:1; font-weight:900; flex-shrink:0; }
.applied-mark.yes { color:#087d3e; }
.applied-mark.no,.applied-legend strong { color:#c21d28; font-weight:900; }
.applied-description { grid-column:1 / -1; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.applied-description small { display:block; color:#64748b; }
.applied-legend { font-size:12px; color:#64748b; margin:14px 0 0; }
@media(max-width:600px) { .applied-firmware .form-actions { grid-template-columns:1fr; } }
