:root{--background:#f5f7fb;--panel:#fff;--navy:#101d35;--navy2:#182840;--border:#e5e9f0;--muted:#738196;--text:#1b2940;--blue:#1465eb;--green:#09865c;--red:#c43f44;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--background);font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.muted{color:var(--muted)}.eyebrow{margin:0 0 5px;color:#7c8ea9;font-size:10px;letter-spacing:1.7px;font-weight:800}.login-view{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(120deg,#e9f1ff,#f8faff)}.login-panel{width:min(430px,100%);padding:38px 36px;border:1px solid var(--border);border-radius:18px;background:white;box-shadow:0 20px 80px #152b4b17}.mark{width:36px;height:36px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:11px;font-size:20px;font-weight:900;margin-bottom:22px}.login-panel h1{font-size:26px;letter-spacing:-.7px;margin:0 0 8px}.login-panel .muted{line-height:1.6}.form{margin-top:26px}.stack{display:grid;gap:16px}label{font-weight:650;display:block;color:#33435b;font-size:12px}input,select{margin-top:7px;border:1px solid #d9e1ee;border-radius:9px;background:#fff;width:100%;padding:12px;color:var(--text);outline:0}input:focus,select:focus{border-color:#4a93fa;box-shadow:0 0 0 3px #1465eb13}.btn{border:0;border-radius:9px;padding:11px 16px;font-weight:750;white-space:nowrap}.btn.primary{background:var(--blue);color:white}.btn.primary:hover{background:#1155c5}.btn.secondary{background:#eaf0fa;color:#3d5371}.btn.danger{background:#fee9e9;color:#a92931}.btn.ghost{background:transparent;color:var(--blue);padding:8px}.btn.tiny{padding:7px 10px;font-size:12px}.error{color:var(--red);font-size:12px;margin:0}.sidebar{position:fixed;left:0;top:0;width:238px;height:100vh;background:var(--navy);padding:27px 15px;color:#fff;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 7px 35px}.brand .mark{margin:0}.brand strong{display:block;font-size:15px}.brand small{color:#8ba2c1}.nav{display:grid;gap:5px}.nav-item{text-align:left;background:none;border:0;color:#9fb0c9;padding:14px 16px;border-radius:9px;font-weight:650}.nav-item:hover,.nav-item.selected{color:#fff;background:#2a3d59}.side-footer{margin-top:auto;padding:15px 7px;font-size:12px;color:#abbad0}.side-footer p{font-size:11px;line-height:1.5}.online-dot{display:inline-block;background:#2aca92;height:8px;width:8px;border-radius:50%;margin-right:6px}.main-shell{margin-left:238px;min-height:100vh}.topbar{background:var(--panel);height:89px;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.topbar h2{font-size:21px;margin:0;letter-spacing:-.5px}.profile{text-align:right;line-height:1.4}.profile #profileName{font-weight:750}.profile small{color:var(--muted);display:block;text-transform:capitalize}.link-button{border:0;background:none;color:var(--blue);font-size:12px;padding:3px 0}.content{padding:27px 32px 60px;max-width:1550px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}.section-heading h3{margin:0 0 6px;font-size:20px}.section-heading p{margin:0;color:var(--muted);font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}.stat,.card,.table-wrap{background:white;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 3px 18px #122c4a08}.stat{padding:23px 25px}.stat .stat-label{font-size:12px;color:var(--muted);font-weight:650}.stat strong{font-size:34px;display:block;margin-top:8px}.stat.available strong{color:var(--green)}.stat.busy strong{color:#dc7c2f}.slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(242px,1fr));gap:15px}.card{padding:19px}.slot-top{display:flex;justify-content:space-between;align-items:start;gap:7px}.slot-title{font-weight:800;font-size:15px}.slot-sub{font-size:12px;color:var(--muted);margin-top:4px}.tag{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.tag.available{color:#087e57;background:#dbf7e8}.tag.busy{color:#b35c13;background:#fff0d8}.tag.disabled{color:#727d8f;background:#ecf0f5}.slot-meta{height:51px;display:flex;flex-direction:column;justify-content:center;color:#718096;font-size:12px;line-height:1.8;margin:10px 0}.slot-meta b{color:#354860}.slot-actions{display:flex;gap:7px}.slot-actions .btn{flex:1}.slot-actions .btn.ghost{flex:0 0 auto}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:600px}td,th{padding:14px 18px;border-bottom:1px solid var(--border);text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#8190a4}td{font-size:13px}.table-wrap tr:last-child td{border:0}.empty{padding:42px 20px;text-align:center;background:white;border:1px dashed #d8e0eb;border-radius:12px;color:var(--muted)}.toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:13px 20px;border-radius:10px;z-index:200;box-shadow:0 15px 45px #192b4066;display:none;max-width:90vw}.toast.visible{display:block}.remote-view{position:fixed;z-index:100;inset:0;display:flex;flex-direction:column;background:#0c1728;color:white}.remote-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px;background:#15253b}.remote-toolbar small{color:#9aaec4}.remote-title{font-weight:800;font-size:16px;margin-bottom:3px}.remote-actions{display:flex;gap:10px}.remote-canvas{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#202632;overflow:hidden}.remote-canvas canvas{max-width:100%;max-height:100%}.remote-placeholder{color:#c0c9d7}.remote-bottom{min-height:36px;padding:9px 20px;color:#a6b9cc;font-size:11px;background:#15253b}.session-notice{margin-left:25px}dialog{border:0;border-radius:16px;padding:0;width:min(540px,95vw);box-shadow:0 20px 100px #0e213566}dialog::backdrop{background:#111b2a99}.dialog-inner header,.dialog-inner footer{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;border-bottom:1px solid var(--border)}.dialog-inner footer{justify-content:flex-end;border:0;border-top:1px solid var(--border);gap:10px}.dialog-inner h3{margin:0;font-size:18px}.dialog-inner #dialogFields{padding:20px 23px;display:grid;gap:16px;max-height:65vh;overflow:auto}.x-button{background:none;border:0;font-size:27px;color:#8996a9}.check-list{padding:10px;border:1px solid #e5e9f0;border-radius:9px;display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:180px;overflow:auto}.check-list label{display:flex;align-items:center;gap:8px;font-weight:500}.check-list input{margin:0;width:auto}.inline-check{display:flex;gap:9px;align-items:center}.inline-check input{width:auto;margin:0}.hint{font-size:12px;color:var(--muted);line-height:1.5}a{color:var(--blue)}@media(max-width:850px){.sidebar{position:static;width:100%;height:auto;padding:14px}.brand{padding:0 4px 12px}.nav{display:flex;overflow-x:auto}.nav-item{white-space:nowrap;padding:10px}.side-footer{display:none}.main-shell{margin:0}.topbar{padding:15px;height:auto}.content{padding:20px 15px 45px}.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:27px}.remote-toolbar{align-items:flex-start;flex-direction:column}.remote-actions{width:100%}.remote-actions .btn{flex:1;white-space:normal;padding:9px}.session-notice{display:block;margin:7px 0 0}}@media(max-width:500px){.slot-grid{grid-template-columns:1fr}.stat .stat-label{font-size:10px}.section-heading{align-items:flex-start;flex-direction:column}.profile{font-size:12px}.login-panel{padding:28px 24px}.check-list{grid-template-columns:1fr}}
/* V1.1: cartões de matrículas */
.slot-identity{min-width:0;overflow-wrap:anywhere}.slot-title{font-size:16px}.slot-sub{font-weight:500;margin-top:5px}.lock-indicator{display:flex;align-items:center;justify-content:center;flex:0 0 33px;width:33px;height:33px;border-radius:9px}.lock-indicator.available{background:#ddf8e9;color:#06885a}.lock-indicator.busy{background:#ffeded;color:#bb3039}.slot-status{margin-top:11px}.slot-meta{height:auto;min-height:53px;margin:7px 0 13px;justify-content:start}.slot-meta:empty{min-height:53px}.slot-actions{display:flex;flex-direction:column}.slot-actions .btn{flex:none!important;width:100%;white-space:normal}.btn.access{background:white;border:1.5px solid;border-radius:9px;font-size:13px;padding:11px 9px}.btn.access.available{color:#07854c;border-color:#0ca964}.btn.access.available:hover{background:#eafaf0}.btn.access.unavailable{color:#c33a43;border-color:#e46c72;opacity:1;cursor:not-allowed}.btn.force{background:#fff0f0;color:#b11f2b;padding:9px 10px}.btn.force:hover{background:#ffe4e6}.tag.busy{background:#feeeef;color:#ab2f39}.tag.available{background:#d9f8e7;color:#067747}.tag.disabled{background:#ecf0f5;color:#616a78}
