@font-face{font-family:GrowUI;src:local('Inter'),local('SF Pro Text'),local('Segoe UI');font-display:swap}
:root{--bg:#e8eee7;--surface:#f4f6ef;--surface-2:#e2eadd;--text:#17291f;--muted:#52675a;--border:#b3c4b9;--green:#246b49;--green-soft:#dfece0;--amber:#8b651e;--amber-soft:#f3eddc;--shadow:0 3px 18px #173d2510;color-scheme:light}
:root[data-theme=dark]{--bg:#0c1510;--surface:#1b2a20;--surface-2:#263b2d;--text:#f0f6f1;--muted:#bdcec2;--border:#4e6957;--green:#8ed5a9;--green-soft:#233d2d;--amber:#e6c179;--amber-soft:#392f1d;--shadow:0 3px 18px #0002;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;font:17px/1.55 GrowUI,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button,a,select,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.2;font-weight:650}h2{font-size:20px;font-weight:620;letter-spacing:-.4px}h3{font-size:18px;font-weight:620}p+p{margin-top:8px}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.muted,.micro,.help{color:var(--muted)}.micro{font-size:14px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.65px;margin-bottom:10px}.eyebrow span{font-weight:400;color:var(--muted);letter-spacing:.4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;left:260px;top:-100px;z-index:100;background:var(--surface);padding:12px}.skip:focus{top:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--surface);border-right:1px solid var(--border);padding:30px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:28px;font-weight:720;line-height:1.1;letter-spacing:-1.2px}.brand img{width:48px;height:53px;object-fit:cover;object-position:center;border-radius:12px}.brand-os{color:var(--green)}.brand small{display:block;font-size:9px;letter-spacing:1.3px;font-weight:650;margin-top:7px;color:var(--muted)}.nav-label{font-size:11px;letter-spacing:1.4px;color:var(--muted);margin:43px 12px 15px;display:flex;align-items:center;justify-content:space-between}.phase{font-size:10px;letter-spacing:.5px;background:var(--surface-2);padding:3px 6px;border-radius:4px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav>a{min-height:44px;display:flex;align-items:center;gap:12px;padding:10px 13px;color:var(--muted);border-radius:8px;font-size:14px;font-weight:550}.sidebar nav>a:hover{background:var(--surface-2);color:var(--text)}.sidebar nav>a[aria-current=page]{color:var(--green);background:var(--green-soft)}.sidebar nav .icon{width:18px;height:18px}.nav-divider{height:1px;background:var(--border);margin:17px 12px 10px}.tiny{margin-left:auto;font-size:9px;background:var(--surface-2);padding:3px 4px;border-radius:4px;letter-spacing:.5px}.sidebar-bottom{margin-top:auto;padding:30px 12px 0;color:var(--muted);font-size:12px;line-height:1.7;display:flex;align-items:flex-start;gap:6px}.status-dot{display:inline-block;width:6px;height:6px;flex-shrink:0;margin-top:5px;background:#8c9b91;border-radius:100%}.workspace{margin-left:236px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 36px;background:var(--surface);gap:16px}.facility-form,.header-actions,.language-form{display:flex;align-items:center;gap:12px}.facility-form select,.language-form select{border:0;background:transparent;padding:8px 0;max-width:190px;font-size:14px;font-weight:550}.facility-form>.icon{color:var(--green)}.language-form select{max-width:125px;font-size:13px}.text-button{border:0;background:transparent;font-size:12px;color:var(--green);padding:8px 2px}.header-actions{gap:16px}.icon-button{background:transparent;border:1px solid var(--border);border-radius:8px;min-width:38px;height:38px;display:grid;place-items:center}.account{position:relative}.account summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none}.account summary::-webkit-details-marker{display:none}.avatar{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:var(--green-soft);color:var(--green);font-weight:600}.account-name{font-size:13px;font-weight:650}.account-name small{display:block;font-size:11px;font-weight:400;color:var(--muted)}.account-menu{position:absolute;right:0;top:48px;width:180px;z-index:50;background:var(--surface);padding:12px;border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow)}.account-menu a,.account-menu button{display:block;padding:10px;border:0;background:transparent;font-size:14px}.example-banner{display:flex;gap:8px;align-items:center;background:var(--amber-soft);color:var(--amber);font-size:13px;padding:10px 36px;border-bottom:1px solid var(--border)}.example-banner .icon{width:15px;height:15px}.main{width:100%;max-width:1520px;margin:0 auto;padding:35px 36px 50px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading .muted{font-size:14px;margin-top:10px}.segmented{display:flex;gap:2px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--muted)}.segmented a{padding:7px 10px;border-radius:5px;white-space:nowrap}.segmented .selected{background:var(--green-soft);color:var(--green);font-weight:650}.welcome-panel{position:relative;min-height:250px;border:1px solid var(--border);background:linear-gradient(105deg,var(--green-soft),var(--surface));border-radius:14px;padding:32px 36px;overflow:hidden;display:flex;align-items:center;margin-bottom:24px}.welcome-panel>div:first-child{position:relative;z-index:1}.welcome-panel h2{font-size:31px;letter-spacing:-1px;max-width:500px}.welcome-panel p:not(.eyebrow){color:var(--muted);font-size:14px;margin:10px 0 18px}.welcome-panel .eyebrow{color:var(--green);font-size:10px}.hero-mascot{position:absolute;width:230px;height:230px;right:70px;bottom:0;object-fit:cover;border-radius:90px 90px 0 0;mix-blend-mode:multiply}.hero-caption{position:absolute;bottom:16px;right:20px;font-size:10px;color:var(--muted);text-align:right}.hero-caption span{display:block;font-size:9px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:34px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 22px;position:relative}.stat>.icon{position:absolute;right:20px;top:20px;color:var(--green);background:var(--green-soft);padding:7px;width:34px;height:34px;border-radius:9px}.stat>span{color:var(--muted);font-size:13px}.stat strong{display:block;font-size:35px;font-weight:550;line-height:1.5;letter-spacing:-1px}.stat small{display:block;color:var(--muted);font-size:11px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:16px}.section-heading .eyebrow{color:var(--muted);font-size:10px;margin-bottom:6px}.section-heading>a:not(.button){color:var(--green);font-size:13px}.section-heading>a .icon{width:15px;height:15px}.room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.room-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:20px;transition:border-color .2s,transform .2s}.room-card:hover{border-color:var(--green);transform:translateY(-2px)}.room-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:4px}.room-icon{display:grid;place-items:center;background:var(--surface-2);border-radius:8px;width:34px;height:34px;color:var(--green)}.room-icon .icon{width:18px;height:18px}.room-card h3{font-size:15px;margin-bottom:3px}.room-card>p{color:var(--muted);font-size:12px}.room-meta{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:12px;border-top:1px solid var(--border);font-size:10px;color:var(--muted);gap:5px}.room-meta .icon{width:13px;height:13px}.room-card.planned{background:transparent;border-style:dashed}.crop-strip{font-size:11px;margin-top:10px;padding:5px 7px;border-radius:5px;background:var(--green-soft);color:var(--green)}.badge{display:inline-block;font-size:11px;font-weight:550;line-height:1.6;padding:3px 7px;border-radius:5px;background:var(--surface-2);color:var(--muted);white-space:normal}.badge.green{background:var(--green-soft);color:var(--green)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.neutral{background:var(--surface-2);color:var(--muted)}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);min-height:40px;border-radius:7px;padding:9px 15px;font-size:13px;font-weight:600;white-space:nowrap}.button .icon{width:15px;height:15px}.button:hover{border-color:var(--green)}.button.primary{background:var(--green);color:var(--surface);border-color:var(--green)}.full{width:100%}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:20px}.panel>h2{margin-bottom:14px}.panel p{font-size:14px}.task-panel{margin-top:30px}.task-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--border)}.task-row>div{flex:1}.task-row strong{font-size:14px;font-weight:550}.task-row p,.task-row time{font-size:12px;color:var(--muted)}.task-check{background:var(--surface-2);width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:var(--green)}.task-check .icon{width:17px;height:17px}.empty{text-align:center;color:var(--muted);padding:30px 10px;font-size:14px}.empty>.icon{margin-bottom:10px;width:32px;height:32px}.empty h2{font-size:18px;margin-bottom:6px}.footer{border-top:1px solid var(--border);display:flex;gap:20px;padding:18px 36px;color:var(--muted);font-size:11px}.footer>span:last-child{margin-left:auto}.form-panel{max-width:920px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{min-width:0}.field label,.record-actions label,.access-form>label,.assistant-panel label{font-size:13px;font-weight:600;display:block;margin-bottom:7px}input,textarea,select{background:var(--bg);border:1px solid var(--border);border-radius:7px;padding:11px 12px;width:100%;font-size:14px}input[type=checkbox]{width:18px;height:18px;padding:0;accent-color:var(--green)}textarea{resize:vertical;min-height:80px}input:disabled{opacity:.6}.field .help{display:block;font-size:12px;line-height:1.6;margin-top:6px}.field .help ul{padding-left:15px}.field:has(textarea){grid-column:1/-1}.field:has(#id_new_password1),.field:has(#id_old_password),.field:has(#id_new_password2){grid-column:1/-1}.form-actions{display:flex;gap:10px;margin-top:28px;padding-top:20px;border-top:1px solid var(--border)}.errorlist{color:#c05e3a;background:var(--amber-soft);padding:10px 12px;list-style:none;border-radius:6px;font-size:13px;margin-top:8px}.message{padding:12px 18px;border:1px solid var(--border);background:var(--green-soft);color:var(--green);border-radius:8px;font-size:14px;margin-bottom:18px}.record-list{display:grid;gap:14px}.record-card{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin:0}.record-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}.record-card h2{font-size:18px}.record-card p{color:var(--muted);margin-top:6px}.record-main{min-width:0;flex:1;overflow-wrap:anywhere}.record-actions{display:flex;flex-direction:column;gap:10px;min-width:130px;max-width:240px}.record-actions textarea{margin-bottom:8px}.record-list+.micro{margin-top:20px}.subnav{display:flex;gap:18px;border-bottom:1px solid var(--border);margin-bottom:22px}.subnav a{padding:8px 4px;font-size:14px}.subnav .selected{color:var(--green);border-bottom:2px solid var(--green)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:600}th,td{padding:15px 13px;border-bottom:1px solid var(--border);vertical-align:top}thead th{color:var(--muted);font-size:12px;white-space:nowrap}td small{display:block;font-size:11px;color:var(--muted);max-width:260px;margin-top:5px;overflow-wrap:anywhere}td strong{font-size:18px;font-weight:550}tr:last-child>td,tr:last-child>th{border-bottom:0}td pre{font-size:12px;max-width:400px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-grid,.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-row{padding:12px 0;border-top:1px solid var(--border);font-size:14px}.detail-row p{color:var(--muted);font-size:13px;margin-top:4px}.assistant-panel{display:flex;align-items:center;gap:40px}.assistant-panel img{width:200px;border-radius:14px}.assistant-panel>div{flex:1}.assistant-panel label{margin-top:25px}.assistant-panel input{margin-bottom:10px}.module-grid h2{font-size:18px;margin-top:12px}.access-form{width:220px}.check-label{display:flex!important;align-items:center;gap:10px;margin-top:12px}.login-main{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 50% 30%,var(--green-soft),var(--bg) 65%)}.login-card{width:100%;max-width:410px;padding:40px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}.login-card .brand{margin-bottom:35px}.login-card h1{font-size:29px}.login-card>.muted{font-size:14px;margin:8px 0 25px}.login-card .field{margin-bottom:18px}.login-card>.micro{margin-top:25px;text-align:center;font-size:12px}.mobile-menu{display:none}
.kiosk .sidebar{display:none}.kiosk .workspace{margin-left:0}.kiosk .main{max-width:1800px}.kiosk .room-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.kiosk .room-card h3{font-size:22px}.kiosk .room-card>p{font-size:15px}.kiosk .room-meta{font-size:13px}.kiosk .welcome-panel{display:none}.kiosk .stat strong{font-size:48px}.kiosk .stats{margin-bottom:25px}.kiosk .page-heading{margin-bottom:22px}
@media(min-width:1600px){.room-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.main{padding:42px 48px}.welcome-panel{min-height:270px}.hero-mascot{width:260px;height:260px;right:110px}}
@media(max-width:1200px){.room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.main{padding:28px}.topbar{padding:0 28px}.page-heading{align-items:flex-start;flex-direction:column}.hero-mascot{right:20px;width:205px;height:205px}.welcome-panel h2{font-size:28px;max-width:350px}.hero-caption{display:none}.header-actions{gap:10px}.account-name{display:none}.facility-form select{max-width:160px}.language-form select{max-width:100px}.stat small{font-size:10px}.room-card{padding:17px}}
@media(max-width:900px){.sidebar{width:200px;padding:24px 12px}.workspace{margin-left:200px}.brand{font-size:25px}.brand img{width:40px;height:44px}.brand small{font-size:8px}.sidebar nav>a{font-size:13px;padding:10px;gap:10px}.nav-label{font-size:10px}.main{padding:25px 20px}.topbar{padding:0 20px}.header-actions .language-form{display:none}.example-banner{padding:10px 20px}.stats{gap:10px}.stat{padding:15px}.stat .icon{right:12px;top:12px;width:26px;height:26px;padding:5px}.stat>span{font-size:11px}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-panel{padding:25px;min-height:240px}.welcome-panel h2{max-width:240px;font-size:25px}.hero-mascot{width:170px;height:170px;right:0}.detail-grid,.module-grid{grid-template-columns:1fr}.assistant-panel{gap:20px}.assistant-panel img{width:135px}.record-card{flex-direction:column}.record-actions{max-width:none;width:100%;flex-direction:row;flex-wrap:wrap}.record-actions>form{width:100%}.record-actions .button{min-width:120px}.kiosk .room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.sidebar{width:236px;transform:translateX(-100%);transition:transform .2s}.menu-open .sidebar{transform:translateX(0);box-shadow:30px 0 100px #0004;top:65px}.workspace{margin-left:0}.topbar{height:65px;padding:0 16px;gap:12px;position:sticky;top:0;z-index:40}.mobile-menu{display:grid;border:0;min-width:25px}.facility-form{gap:5px;min-width:0;flex:1}.facility-form>.icon{display:none}.facility-form select{max-width:145px;font-size:13px}.facility-form .text-button{font-size:10px}.header-actions{gap:8px}.header-actions .icon-button{width:32px;min-width:32px;height:32px;border:0}.avatar{width:29px;height:29px;font-size:14px}.example-banner{font-size:11px;line-height:1.5;padding:10px 16px}.example-banner .icon{flex-shrink:0}.main{padding:25px 16px 35px}.page-heading{gap:17px;margin-bottom:22px}h1{font-size:31px}.page-heading .muted{font-size:13px;max-width:300px}.eyebrow{font-size:11px}.segmented{font-size:11px;max-width:100%;overflow-x:auto}.segmented a{padding:6px 9px}.welcome-panel{min-height:220px;padding:23px;margin-bottom:16px}.welcome-panel h2{font-size:25px;max-width:200px}.welcome-panel p:not(.eyebrow){font-size:12px;max-width:175px}.welcome-panel .eyebrow{font-size:8px;letter-spacing:1px}.hero-mascot{width:155px;height:155px;right:-10px;bottom:5px;opacity:.95}.welcome-panel .button{font-size:12px;min-height:36px;padding:7px 10px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:25px}.stat{padding:13px 10px;min-height:123px}.stat>.icon{position:static;width:24px;height:24px;padding:5px;margin-bottom:5px}.stat>span{display:block;font-size:10px}.stat strong{font-size:27px;line-height:1.5}.stat small{display:none}.section-heading h2{font-size:19px}.section-heading .button{font-size:12px;padding:8px 10px;min-height:36px}.room-grid{gap:10px}.room-card{padding:14px}.room-card-top{margin-bottom:14px}.room-card h3{font-size:14px}.room-card>p{font-size:11px}.room-card-top .badge{font-size:9px;padding:2px 4px}.room-icon{width:28px;height:28px}.room-meta{font-size:9px;margin-top:15px;padding-top:10px}.room-meta .icon{width:11px}.panel{padding:18px;border-radius:10px}.task-row{gap:8px;flex-wrap:wrap}.task-row strong{font-size:13px}.task-row time{width:100%;padding-left:40px}.task-row .badge{font-size:10px}.footer{padding:18px 16px;font-size:10px;gap:12px}.footer>span:nth-child(2){max-width:200px}.form-grid{grid-template-columns:1fr;gap:18px}.record-card h2{font-size:17px}.record-title{gap:8px}.record-card p{font-size:13px}.record-card .micro{font-size:12px}.form-panel{padding:20px}.assistant-panel{flex-direction:column;gap:20px;align-items:flex-start}.assistant-panel img{width:110px;align-self:center}.assistant-panel h2{font-size:22px}.detail-grid,.module-grid{gap:0}.table-scroll th,.table-scroll td{min-width:130px;padding:12px 9px}.access-form{width:100%}.login-card{padding:30px}.login-card .brand{margin-bottom:30px}.kiosk .room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kiosk .room-card h3{font-size:16px}.kiosk .room-card>p{font-size:12px}.kiosk .room-meta{font-size:10px}.kiosk .stat strong{font-size:32px}.account-menu{right:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

:root[data-theme=dark] .hero-mascot{mix-blend-mode:normal}.account-language label{font-size:12px;color:var(--muted)}.account-language select{font-size:13px;padding:9px}.account-language{border-bottom:1px solid var(--border);padding-bottom:8px;margin-bottom:8px}

@media(max-width:640px){.button,.welcome-panel .button,.section-heading .button{min-height:44px}.mobile-menu,.header-actions .icon-button{min-width:40px;min-height:44px}.account summary{min-height:44px;min-width:32px}.room-card h3{font-size:16px}.room-card>p{font-size:12px}.field label,.record-actions label{font-size:14px}.field input,.field select,.field textarea,.record-actions textarea{font-size:17px}.access-form input,.access-form select{font-size:17px}}

.staff-layout .welcome-panel{display:none}.staff-layout .stats{margin-bottom:22px}

.hero-mascot,:root[data-theme=dark] .hero-mascot{mix-blend-mode:normal;object-fit:contain;border-radius:0}.assistant-panel img{border-radius:0;background:transparent}

/* Consumable inventory uses the shared light/dark surfaces and staff controls. */
.inventory-summary{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.inventory-summary>div,.inventory-summary>a{display:flex;gap:8px;align-items:center}.inventory-summary>p{flex-basis:100%;font-size:13px}.stock-warning{color:var(--amber)}.stock-alert{border-color:var(--amber);background:var(--amber-soft)}.stock-alert .section-heading{flex-wrap:wrap}.stock-alert .section-heading h2{font-size:18px}.stock-alert p>a{text-decoration:underline;text-underline-offset:3px}.stock-alert .micro{margin-top:12px}.inventory-filters{display:flex;gap:10px;margin-bottom:22px}.inventory-filters input{flex:1;min-width:0}.inventory-filters select{max-width:200px}.stock-quantity{margin:14px 0!important}.stock-quantity>strong{font-size:30px;font-weight:650;color:var(--text)}.stock-quantity>span{display:block;font-size:13px;margin-top:3px}.inventory-card>.button{align-self:center}.stock-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px;font-size:14px}.inventory-card h2{overflow-wrap:anywhere}
@media(max-width:640px){.inventory-filters{flex-wrap:wrap}.inventory-filters input{flex-basis:100%;font-size:17px}.inventory-filters select{flex:1;max-width:none;font-size:17px}.inventory-card>.button{align-self:stretch}.inventory-summary{gap:14px}.stock-alert .section-heading>.button{width:100%}.stock-pagination{gap:10px}.stock-quantity>strong{font-size:28px}}

.inventory-library-link{margin:0 0 20px}.product-filters{flex-wrap:wrap}.product-filters select{max-width:230px}.product-filters input{min-width:200px}.form-actions{flex-wrap:wrap}.form-panel>.muted{margin-bottom:20px}.field .help{overflow-wrap:anywhere}.record-title+h2{overflow-wrap:anywhere}
@media(max-width:640px){.product-filters select{max-width:none;flex-basis:100%}.inventory-library-link .button{white-space:normal;text-align:left}.form-actions .button{white-space:normal}.sidebar{overflow-y:auto}}

/* Account security follows the shared form and mobile touch styles. */
.security-card{max-width:720px}.security-card h1{font-size:30px}.security-card ol{padding-left:22px}.security-card li{margin-bottom:12px}.mfa-qr{display:block;max-width:100%;height:auto;margin:22px auto;background:#fff;border:12px solid #fff;border-radius:12px}.security-card details{margin:18px 0}.secret-key{overflow-wrap:anywhere;font-family:monospace;letter-spacing:.08em}.emergency-codes{list-style:none;padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px}.emergency-codes li{margin:0;overflow-wrap:anywhere}.security-card form{margin-top:20px}.security-card .field{margin-bottom:18px}@media(max-width:640px){.emergency-codes{grid-template-columns:1fr}.security-card h1{font-size:25px}}

.checkbox-row{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important}.checkbox-row input{width:18px!important;height:18px;min-height:18px;flex-shrink:0;margin-top:3px}.reset-notice{margin:12px 24px}.reset-notice a{text-decoration:underline}dialog{max-width:480px;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--text);padding:28px}dialog::backdrop{background:#0007}

.chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.chat-list h2{font-size:16px;margin-top:24px}.chat-contact{display:flex;align-items:center;gap:8px;padding:12px;border-radius:10px}.chat-contact.selected{background:var(--green-soft);color:var(--green)}.chat-contact small{margin-left:auto;color:var(--muted)}.chat-start{margin-top:8px}.chat-start button{width:100%;text-align:left;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px;color:var(--text);cursor:pointer}.chat-start small{display:block;color:var(--muted)}.chat-timeline{max-height:55vh;min-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:14px 0}.chat-message{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:12px 16px;max-width:88%;align-self:flex-start}.chat-message.own{align-self:flex-end;background:var(--green-soft)}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.chat-message time{font-size:12px;color:var(--muted)}#chat-status:empty{display:none}.chat-thread textarea{width:100%}[data-chat-unread]:not(:empty){border-radius:12px;padding:1px 6px;background:var(--green-soft);font-size:13px}@media(max-width:760px){.chat-layout{grid-template-columns:1fr}.chat-list{max-height:230px;overflow-y:auto}.chat-list h2{margin-top:12px}.chat-message{max-width:94%}.chat-timeline{max-height:55vh}.chat-thread{padding:18px}}

.chat-list>.button{margin-right:8px;margin-bottom:8px}@media(max-width:760px){.chat-list{max-height:300px}}

.chat-admin-action{display:inline-block;margin-right:8px;margin-bottom:8px}

.password-input{position:relative}.password-input input{padding-right:54px}.password-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.password-toggle:hover{color:var(--green);background:var(--green-soft)}.password-toggle:focus-visible{outline:2px solid var(--green);outline-offset:-3px}.password-toggle span{display:grid;place-items:center}.password-toggle [hidden]{display:none}.password-toggle .icon{width:20px;height:20px}.password-feedback{min-height:1.6em;color:var(--muted);margin-top:7px}.login-card .password-feedback{font-size:13px}

/* Clear boundaries for navigation and room cards, in every workspace layout. */
:root {
  --sidebar-bg:#dce6dd;
  --nav-bg:#edf2e9;
  --card-bg:#f5f7f0;
  --box-edge:#7b9383;
  --box-hover:#e7f0e5;
  --nav-selected-bg:#cee7d6;
  --nav-selected-text:#164d2d;
  --nav-selected-edge:#3c7852;
  --card-shadow:0 3px 8px #173d2514;
}
:root[data-theme=dark] {
  --sidebar-bg:#132018;
  --nav-bg:#22362a;
  --card-bg:#253b2d;
  --box-edge:#71927b;
  --box-hover:#2d4936;
  --nav-selected-bg:#335c40;
  --nav-selected-text:#e9faee;
  --nav-selected-edge:#9fd8ae;
  --card-shadow:0 3px 10px #0004;
}
.sidebar {background:var(--sidebar-bg);border-right:2px solid var(--border)}
.sidebar nav>a {
  background:var(--nav-bg);
  border:1px solid var(--box-edge);
  color:var(--text);
  font-weight:600;
}
.sidebar nav>a:hover {background:var(--box-hover);border-color:var(--green)}
.sidebar nav>a[aria-current=page] {
  background:var(--nav-selected-bg);
  color:var(--nav-selected-text);
  border-color:var(--nav-selected-edge);
  box-shadow:inset 3px 0 var(--nav-selected-edge);
}
.room-grid .room-card,.staff-room-grid .terminal-room,.wall-room-grid .terminal-room {
  background:var(--card-bg);
  border:2px solid var(--box-edge);
  box-shadow:var(--card-shadow);
}
.room-grid .room-card:hover,.staff-room-grid .terminal-room:hover,.wall-room-grid .terminal-room:hover {
  background:var(--box-hover);
  border-color:var(--green);
}
.room-grid .room-card.planned,.staff-room-grid .terminal-room.planned,.wall-room-grid .terminal-room.planned {
  background:var(--surface-2);
  border-style:dashed;
}
.room-card h3 {font-size:17px;font-weight:650}
.room-card>p {font-size:14px}
.room-card .room-meta {font-size:12px;border-color:var(--box-edge)}
.room-card .room-icon,.terminal-room .room-icon {border:1px solid var(--border)}
.staff-dock {border-color:var(--box-edge)}
.staff-dock a[aria-current=page] {
  background:var(--nav-selected-bg);
  color:var(--nav-selected-text);
  box-shadow:inset 0 -2px var(--nav-selected-edge);
}

/* Batch destinations each own their controls, camera and measured sketch. */
.bp-batch-editor {margin-block:1rem;padding:1rem;border:1px solid var(--border);border-radius:12px;min-width:0}
.bp-batch-results {display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;margin-block:1rem}
.bp-batch-result {min-width:0;padding:1rem;border:1px solid var(--border);border-radius:12px}
.bp-batch-result > h4 {margin-block:0 .5rem}
.bp-inline-controls,.bp-inline-inspector {display:flex;flex-wrap:wrap;gap:1rem;align-items:end;margin-block:1rem}
.bp-inline-editor fieldset {display:flex;flex-wrap:wrap;gap:.75rem;padding:.75rem;min-width:0;border:1px solid var(--border);border-radius:8px}
.bp-inline-editor label {display:flex;flex-direction:column;gap:.5rem;max-width:100%}
.bp-inline-editor input {width:8rem;max-width:100%}
.bp-inline-editor select {max-width:100%}
.bp-inline-stage {width:100%;overflow:hidden;border:1px solid #639476;border-radius:10px;background:#09251b}
.bp-inline-stage svg {display:block;width:100%;height:clamp(320px,45vw,560px);touch-action:none;user-select:none}
.bp-inline-stage svg [data-item] {cursor:grab}
.bp-inline-stage svg:focus {outline:2px solid #a1e6a0;outline-offset:-3px}
.bp-inline-measurements ul {display:flex;flex-wrap:wrap;gap:.5rem 2rem;padding-left:1.25rem}
.bp-batch-drafts {margin-block:1.5rem}
.bp-batch-drafts .action-cluster {margin-block:.75rem}
@media(max-width:600px){.bp-batch-editor,.bp-batch-result{padding:.75rem}.bp-inline-editor fieldset{width:100%}.bp-inline-stage svg{height:360px}}
.bp-inline-editor [hidden] {display:none!important}
.bp-inline-editor > p {margin-block:1rem}
.bp-batch-result > p,.bp-batch-result > strong {display:block;margin-block:.5rem}
