:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#203139;background:#f4f6f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0}a{color:#13756e}aside{position:fixed;inset:0 auto 0 0;width:224px;background:#142d31;color:#d7e5e5;padding:36px 23px;display:flex;flex-direction:column}.brand{font-size:38px;letter-spacing:-2px;font-weight:750;color:#fff;text-decoration:none}.brand span{display:block;font-size:10px;font-weight:600;letter-spacing:2px;color:#9cb9b7;margin-top:8px}.side-label{font-size:10px;letter-spacing:1.6px;color:#7e9c9d;margin-top:65px;margin-bottom:16px}.nav-current{background:#294448;border:1px solid #3d5b5d;border-radius:9px;padding:13px;font-size:13px}.nav-button{background:none;color:#a8bfc0;text-align:left;padding:20px 13px;font-size:13px}.side-foot{margin-top:auto;font-size:12px;color:#a5c5c2}.side-foot small{display:block;font-size:10px;color:#6e9291;margin-top:10px}.pulse,.refresh-dot{display:inline-block;width:7px;height:7px;background:#5fd1ae;border-radius:50%;margin-right:8px}main{margin-left:224px;padding:40px 42px;max-width:1900px}header{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.9px;color:#6a848a;font-weight:700}h1{font-size:32px;letter-spacing:-1px;margin:12px 0 9px;font-weight:650}h1 .count{font-size:13px;vertical-align:middle;letter-spacing:0;background:#e6ecee;color:#61767b;border-radius:8px;margin-left:12px;padding:5px 9px}p{font-size:14px;color:#6c7f85;line-height:1.6}.header-actions{display:flex;gap:10px}.primary,.secondary,.danger{padding:12px 17px;border-radius:8px;font-size:13px;font-weight:600}.primary{background:#16766b;color:white}.primary:hover{background:#105e56}.secondary{background:white;border:1px solid #dce4e5;color:#526b72}.danger{background:#fff0ef;color:#a63838}.summary{display:flex;align-items:center;gap:32px;margin:30px 0 24px;background:white;border:1px solid #e0e7e8;border-radius:12px;padding:22px 25px}.summary>div{display:flex;align-items:center;gap:9px}.summary strong{font-size:22px;font-weight:650}.summary span{font-size:12px;color:#708187}.stat-dot{width:8px;height:8px;border-radius:50%}.green{background:#21a380}.amber{background:#dfa342}.red{background:#d56160}.summary .refresh{margin-left:auto;gap:10px}.summary .refresh span{font-size:11px}.refresh-dot{margin:0}.toolbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.filters{display:flex;gap:6px}.filters button{background:none;color:#7b8b91;padding:9px 13px;border-radius:7px;font-size:12px}.filters .active{background:#e0eeeb;color:#156c62;font-weight:650}input,textarea{border:1px solid #d7e1e2;border-radius:7px;padding:11px 12px;background:white;color:#2c4148}#search{width:230px;font-size:12px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:23px}.booth{background:white;border:1px solid #e0e6e7;border-radius:13px;overflow:hidden;box-shadow:0 3px 9px #19343b04}.card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;gap:8px}.card-head h2{margin:0;font-size:15px;font-weight:650;overflow-wrap:anywhere}.badge{font-size:10px;font-weight:650;white-space:nowrap;padding:5px 8px;border-radius:20px;background:#eff2f4;color:#6f8186}.badge.healthy{background:#e5f4ef;color:#228168}.badge.attention{background:#fff3dd;color:#a57525}.badge.offline{background:#fdebea;color:#b85454}.preview{height:208px;position:relative;background:#eaf0f1;display:flex;align-items:center;justify-content:center;width:100%;padding:0;overflow:hidden}.preview img{width:100%;height:100%;object-fit:contain;background:#17272c}.preview .placeholder{color:#7b9097;font-size:12px;text-align:center;line-height:1.8}.stale-overlay{position:absolute;bottom:9px;left:10px;border-radius:5px;padding:5px 8px;background:#142c32d9;color:white;font-size:10px}.preview img.stale{opacity:.7}.screen-time{font-size:10px;color:#819196;display:flex;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #edf1f2}.checks{padding:10px 18px}.check{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;padding:8px 0}.check .label{color:#6a7e85}.check .reading{text-align:right;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.check .reading:before{content:' ';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:7px;background:#aab8bd}.check .ok:before{background:#2fa386}.check .error:before{background:#d86964}.check .warning:before{background:#dfa342}.card-foot{font-size:10px;padding:12px 18px;background:#fafbfc;border-top:1px solid #edf1f2;color:#7e9096}.empty{padding:70px 20px;text-align:center;background:white;border:1px dashed #cedcdf;border-radius:14px}.empty h2{font-size:23px;margin-bottom:6px}.empty-icon{font-size:40px;color:#84b7ae}.empty .primary{margin-top:12px}footer{display:flex;justify-content:space-between;gap:20px;color:#8b999e;font-size:10px;line-height:1.8;margin-top:28px}.notice{padding:14px;background:#fff1db;color:#886329;border:1px solid #edd6b0;border-radius:8px;margin-top:18px;font-size:13px}dialog{border:1px solid #dbe3e5;border-radius:16px;padding:32px;max-width:550px;width:calc(100% - 28px);box-shadow:0 30px 110px #0c252b3d;color:#203139}dialog::backdrop{background:#102a35a6;backdrop-filter:blur(4px)}dialog h2{font-size:25px;letter-spacing:-.6px;margin:12px 0}dialog input,dialog textarea{width:100%;margin:7px 0 15px}dialog label{font-size:12px;color:#5e757e}dialog .primary{width:100%}.close{position:absolute;top:12px;right:12px;background:none;font-size:24px;color:#7b9298}.error{color:#b64c48;font-size:12px}.fine{font-size:11px;line-height:1.6}ol{padding-left:23px;color:#61767d;font-size:14px;line-height:1.8}li{padding:5px 0}#detail{max-width:1000px}#detail-image{display:block;width:100%;max-height:65vh;object-fit:contain;background:#142d31;min-height:100px}.detail-actions{display:flex;gap:12px;margin-top:20px}#pair-key{font-family:monospace;resize:none;overflow-wrap:anywhere;height:76px}#login-error:empty{display:none}[hidden]{display:none!important}@media(max-width:1100px){aside{width:180px;padding:25px 15px}main{margin-left:180px;padding:30px 24px}.summary{gap:20px}.summary .refresh{display:none}footer{display:block}footer span{display:block}}@media(max-width:700px){aside{position:static;width:auto;padding:17px 22px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:26px}.brand span{font-size:8px;margin-top:3px}.side-label,.nav-current,.side-foot{display:none}.nav-button{padding:10px;font-size:12px}main{margin:0;padding:24px 17px}header{align-items:flex-start;flex-direction:column;gap:12px}header p{font-size:12px}h1{font-size:27px}.summary{gap:16px;padding:16px 13px;margin-top:22px}.summary>div{gap:5px}.summary strong{font-size:19px}.summary span{font-size:10px}.toolbar{gap:8px;flex-wrap:wrap}#search{flex:1;min-width:120px}.grid{grid-template-columns:1fr}.preview{height:245px}dialog{padding:26px 20px}.detail-actions{flex-direction:column}}

.alert-controls{display:flex;align-items:center;gap:14px;margin:16px 0;color:#61767d;font-size:12px}.fault-summary{padding:12px 18px 0;font-size:12px;line-height:1.6;color:#94621f}.follow{margin:12px 18px 0}.follow[aria-pressed="true"]{background:#dceee9;color:#135b4a}@media(max-width:700px){.alert-controls{align-items:flex-start;flex-direction:column}.filters{display:flex;flex-wrap:wrap}}

.badge.idle{background:#eef1f3;color:#60717a}.event-line{padding:12px 18px 0;font-size:12px;color:#506c75}#schedule{margin-top:20px;border-top:1px solid #dde5e6;padding-top:12px}#schedule p{font-size:12px;color:#61767d}

#booked-events{width:100%;padding:12px;margin-top:12px;border:1px solid #cbd8da;border-radius:8px;background:white;color:#203139}.grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}.booth{max-width:600px}main{padding-top:28px}.summary{margin-top:24px}.toolbar{margin-top:20px}.alert-controls{margin:12px 0}.preview{height:220px}@media(max-width:700px){.grid{grid-template-columns:1fr}.booth{max-width:none}.preview{height:210px}}


/* Fotably Brand Guide, page 13. Status colors remain functional signals. */
@font-face{font-family:Raleway;src:url('/brand/Raleway.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Raleway,"Segoe UI",Arial,sans-serif;color:#30251c;background:#f1eeeb}
body{background:#f1eeeb;color:#30251c}aside{background:#234b59;color:white;border-right:0}.brand{display:block;letter-spacing:0}.brand img{display:block;width:178px;height:auto}.brand span{color:white;letter-spacing:2px;margin-top:16px}.side-label,.side-foot,.nav-button,.side-foot small{color:#f1eeeb}.nav-current{background:#ffffff14;border-color:#ffffff35;color:white}header p,.eyebrow,footer{color:#52636a}h1{color:#234b59}h1 .count{background:#e2e9e9;color:#234b59}
.summary,.booth{background:#fff;border-color:#dedbd7;box-shadow:0 5px 20px #30251c08}.summary span{color:#52636a}.summary strong{color:#234b59}.toolbar input{background:white;color:#30251c;border-color:#c6cece}.toolbar input::placeholder{color:#62747b}.filters button{color:#52636a}.filters button.active,.primary,dialog .primary{background:#234b59;color:white}.primary:hover,dialog .primary:hover{background:#193b48}.secondary,dialog .secondary{background:#fff;color:#234b59;border:1px solid #bdc9cd}.secondary:hover{background:#f1eeeb}a{color:#234b59}
.badge.healthy{background:#e5f4ed;color:#166348}.badge.attention{background:#f7e8d4;color:#814318}.badge.offline{background:#fbe8e7;color:#a33830}.badge.idle,.badge.paused{background:#eceae7;color:#5b5954}.card-head h2{color:#234b59}.event-line,.screen-time,.card-foot,.alert-controls{color:#52636a}.fault-summary{color:#984b21}.checks,.check,.card-foot,.screen-time{border-color:#e8e5e1}.check .label{color:#52636a}.reading.ok{color:#166348}.reading.unknown{color:#52636a}.reading.error{color:#ac322c}.reading.warning{color:#8c481c}.follow[aria-pressed="true"]{background:#e2ecee;color:#234b59}.print-panel{display:flex;flex-direction:column;gap:8px;margin:16px;padding:18px;border-radius:12px;background:#f1eeeb}.print-panel strong{font-size:27px;color:#234b59}.print-panel small{color:#52636a;overflow-wrap:anywhere}.print-panel .label{font-size:13px;color:#52636a}.notice{background:#f7e8d4;color:#713b1a;border-color:#e0b77e}.grid{gap:22px}.booth{border-radius:16px;overflow:hidden}.card-head{padding:20px}.card-head h2{font-size:21px}.preview{height:230px}.check{padding:10px 0}.header-actions button,.filters button{min-height:44px}dialog{background:#fff;color:#30251c}dialog h2{color:#234b59}dialog .label{color:#52636a}.summary{flex-wrap:wrap;gap:18px}.summary .refresh{margin-left:auto}.booth-type{display:block;color:#52636a;margin-top:5px;font-size:12px}#pair-key{text-align:center;font-size:27px;letter-spacing:3px;padding:18px;height:80px}
@media(max-width:1100px){.brand img{width:145px}}
@media(max-width:700px){.brand img{width:135px}.brand span{font-size:8px;margin-top:9px}.summary{gap:12px;justify-content:space-between}.summary>div{flex-direction:column;align-items:center;gap:5px}.summary .stat-dot{display:none}.header-actions{width:100%;justify-content:space-between}.card-head h2{font-size:21px}.preview{height:220px}.filters button{padding:12px}.toolbar input{width:100%}.checks{padding:8px 18px}.check{font-size:15px}}

/* Phone layout: prioritize booth cards and usable touch controls. */
@media(max-width:700px){
 aside{padding:12px 16px}.brand img{width:112px}.brand span{font-size:7px;margin-top:6px}.nav-button{min-height:44px}
 main{padding:18px 14px}header{display:flex;flex-direction:row;align-items:center;gap:8px}header .eyebrow,header p{display:none}h1{font-size:23px;margin:0;letter-spacing:-.5px}h1 .count{margin-left:6px;font-size:12px}.header-actions{width:auto;gap:6px}.header-actions button{padding:10px;font-size:12px;min-height:44px}
 .summary{margin:16px 0;padding:12px 8px;gap:8px}.summary strong{font-size:20px}.summary span{font-size:11px}.toolbar{margin:0 0 12px;gap:10px}.filters{width:100%;justify-content:space-between;gap:3px}.filters button{min-height:44px;padding:10px;font-size:13px}.toolbar input{width:100%;font-size:16px;min-height:44px}
 .alert-controls{flex-direction:row;align-items:center;gap:10px;margin:10px 0 16px}.alert-controls button{flex-shrink:0;min-height:44px}.alert-controls span{font-size:11px;line-height:1.5}
 .card-head{padding:16px}.card-head h2{font-size:20px}.badge{font-size:11px}.preview{height:auto;aspect-ratio:4/3;max-height:300px}.preview img{position:absolute;inset:0}.screen-time,.card-foot{font-size:12px}.check{min-height:44px;font-size:15px}.check .reading{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.follow{min-height:44px}.event-line{font-size:13px}
 dialog{max-height:calc(100dvh - 24px);overflow-y:auto;padding:24px 18px;overscroll-behavior:contain}dialog input,dialog textarea,dialog select{font-size:16px}dialog button{min-height:44px}.close{width:44px;height:44px;top:4px;right:4px}dialog h2{padding-right:25px;font-size:23px}#detail-image{max-height:48dvh}#pair-key{font-size:22px;letter-spacing:2px}.detail-actions{gap:10px}footer{font-size:11px}
}
@media(max-width:370px){header{flex-wrap:wrap}.header-actions{margin-left:auto}.summary span{font-size:10px}.filters button{font-size:12px;padding:9px}.alert-controls{flex-wrap:wrap}}

.restart-control{margin:20px 0;padding:16px;background:#F1EEEB;border-radius:12px}.restart-control button{min-height:48px}.restart-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.restart-buttons button{min-height:48px;white-space:normal}.restart-buttons .danger{background:#963a32;color:white}#restart-dialog{width:min(560px,calc(100vw - 24px));box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto}#restart-title{padding-right:32px;overflow-wrap:anywhere}#restart-image{width:100%;max-height:240px;object-fit:contain;background:#eee;border-radius:10px}#restart-copy{line-height:1.6}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.restart-buttons{flex-direction:column-reverse}.restart-buttons button{width:100%}#restart-image{max-height:180px}}

#login{width:min(440px,calc(100vw - 28px));box-sizing:border-box}#login::backdrop{background:#234b59;backdrop-filter:none}.login-brand{background:#234b59;margin:-10px -10px 26px;padding:22px;border-radius:12px;text-align:center}.login-brand img{width:170px;max-width:100%}#login .primary{width:100%;min-height:48px}#login .remember-device{display:flex;align-items:center;gap:10px;font-size:14px;min-height:48px;margin-top:10px}#remember-device{width:20px;height:20px;margin:0;flex-shrink:0}#access-key{font-size:16px}
