:root{font:16px/1.55 system-ui,sans-serif;color:#183a37;background:#f6f8f4;--ink:#183a37;--muted:#4a625d;--accent:#236053;--paper:#fff;--line:#d7e1d9}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}img{object-fit:contain}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a25c13;outline-offset:3px}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}.top{background:#fff;border-bottom:1px solid var(--line)}.bar,.brand,nav{display:flex;align-items:center;gap:14px}.bar{justify-content:space-between;min-height:72px;flex-wrap:wrap;padding-block:10px}.brand{font-size:1.05rem;font-weight:720}.brand b{color:var(--accent)}nav{gap:20px}main{min-height:60vh;padding-block:30px 50px}h1,h2,h3,p{margin:0 0 .7em}h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.45rem,6vw,4.8rem);letter-spacing:-.045em;line-height:1.03}h2{font-size:1.55rem;line-height:1.2}h3{font-size:1.15rem;line-height:1.3}.hero{min-height:305px;border-radius:25px;padding:clamp(26px,5vw,60px);background:radial-gradient(ellipse at 90% -20%,#508e72 0,transparent 55%),#143f37;color:white;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.38fr);align-items:center;gap:2rem}.hero h1{max-width:720px;margin:.28em 0}.hero p{max-width:510px;color:#dfede2;margin:0}.hero-mark{display:grid;place-items:center;aspect-ratio:1;border:1px solid #d6f0db70;border-radius:50%;background:#d3ead526}.hero-mark img{width:70%;height:auto;filter:drop-shadow(0 7px 12px #112e2690)}.eyebrow{font-size:.8rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.section{margin-top:34px}.filters,.actions,.heading{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.heading{align-items:center;justify-content:space-between;margin-bottom:18px}.heading h2,.heading h1,.actions p{margin:0}.filters{margin-bottom:18px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:16px}.card,.empty,.panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:23px}.empty{border-style:dashed;color:var(--muted)}.card p,.muted{color:var(--muted)}.card h3{margin:.65em 0 .3em}.tag{display:inline-flex;border-radius:40px;background:#e8f1e6;color:#255545;padding:.23rem .65rem;font-size:.83rem;font-weight:650}.tag.rh{background:#edf1fa;color:#2e486e}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--accent);border-radius:9px;padding:9px 15px;background:var(--accent);color:white;font-weight:675;cursor:pointer}.outline{background:white;color:var(--accent)}.button[aria-pressed="true"]{background:var(--accent);color:white}.button:disabled{opacity:.55;cursor:wait}.button:hover:not(:disabled){filter:brightness(.93)}label{display:grid;gap:4px;font-size:.92rem;font-weight:650}.fields{display:grid;gap:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}input,select,textarea{width:100%;padding:9px 10px;color:var(--ink);background:white;border:1px solid #a6b7af;border-radius:8px}textarea{min-height:100px;resize:vertical}.article{max-width:800px}.article h1,.team-title{font-size:clamp(2rem,5vw,3.4rem);margin:.3em 0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.notice{padding:13px 15px;border-radius:10px;background:#e6efe6;color:#24483d}.error{color:#8e2b26}.login{max-width:500px}.login h1{font-size:2.65rem}footer{border-top:1px solid var(--line);padding-block:20px;color:var(--muted);font-size:.9rem}dialog{border:1px solid var(--line);border-radius:17px;color:var(--ink);width:min(640px,calc(100% - 24px));max-height:92dvh;padding:25px}dialog::backdrop{background:#102944a8}dialog [role="alert"]:empty{display:none}button.link{border:0;background:none;color:var(--accent);cursor:pointer;text-decoration:underline;padding:8px 0}
@media(max-width:600px){.wrap{width:calc(100% - 28px)}.bar{gap:8px}nav{gap:10px;font-size:.87rem}.brand{gap:6px}.brand img{width:36px;height:32px}.hero{grid-template-columns:1fr;min-height:235px}.hero-mark{display:none}.form-row{grid-template-columns:1fr}.filters label{flex:1 1 150px}}

.application-privacy{background:#f4f7f2;border:1px solid var(--line);padding:12px;border-radius:10px;color:var(--muted);font-size:.92rem}
.application-privacy a{text-decoration:underline}.checkbox{display:flex;align-items:flex-start;gap:8px}.checkbox input{width:auto;margin:.32em 0 0}.candidate-list{display:grid;gap:14px}.candidate-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.42fr);gap:18px}.candidate-card h2{font-size:1.23rem}.candidate-card .contact{overflow-wrap:anywhere}.file-note{font-size:.82rem;margin:.5rem 0 0}.stage-status:empty,#application-error:empty{display:none}
@media(max-width:600px){.candidate-card{grid-template-columns:1fr}}
.text-link{color:var(--accent);text-decoration:underline}

:root {
  color: #11253f;
  background: #f4f8fc;
  --ink: #11253f;
  --muted: #506479;
  --blue: #144f78;
  --accent: var(--blue);
  --paper: #fff;
  --line: #d9e5ef;
  --cyan: #68cbe3;
}
body { background: linear-gradient(165deg, #fafdff 0%, #f1f7fd 58%, #fff 100%); min-height: 100vh; }
.wrap { width: min(1200px, calc(100% - 48px)); }
.top { border-color: #dce8f2; }
.bar { min-height: 82px; }
.brand { gap: 12px; font-size: 1.19rem; letter-spacing: -.04em; }
.brand b { color: #1e7499; font-weight: 670; }
.top nav > a:first-child { color: #345371; font-weight: 620; }
main { padding-block: 30px 64px; }
h1 { font-family: system-ui, sans-serif; font-weight: 760; letter-spacing: -.068em; }
h2 { letter-spacing: -.035em; }
.hero { min-height: 405px; position: relative; overflow: hidden; padding: 0; gap: 0; grid-template-columns: 1fr 1.04fr;
  border-radius: 29px; background: radial-gradient(ellipse at 5% 95%, #174f70 0%, #112942 52%, #0b1e35 100%); box-shadow: 0 18px 48px #17375a24; }
.hero-copy { padding: clamp(26px,5vw,60px); z-index: 1; }
.hero .eyebrow { color: #8bdbec; }
.hero h1 { font-size: clamp(2.6rem,5vw,4.55rem); line-height: 1.01; margin: .28em 0 .31em; }
.hero p { color: #d3e5f3; max-width: 39ch; }
.hero-cta { margin-top: 24px; gap: 13px; color: #11253f; background: #93def1; border-color: #93def1; }
.hero-photo { height: 100%; min-height: 405px; position: relative; }
.hero-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,#11294255,transparent 42%); pointer-events: none; }
.hero-photo img,.auth-photo img { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section { margin-top: 42px; }
.filters { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #ffffffb8; gap: 16px; }
.filters label { min-width: min(100%,200px); }
.card,.panel,.empty { border-radius: 18px; }
.card,.panel { box-shadow: 0 8px 28px #214f7810; }
.empty { background: #fafdff; padding: 27px; }
.tag { color: #104864; background: #dbf3f9; }
.tag.rh { color: #2b4972; background: #e7eefb; }
.button { border-radius: 10px; min-height: 41px; }
.outline { background: #fff; border-color: #b9d0e1; }
input,select,textarea { border-color: #a8bed0; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline-color: #1a79a2; }
.notice,.application-privacy { background: #e7f6fc; color: #234c69; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 15px auto 0; gap: 16px; }
.auth-layout .login { max-width: none; padding: clamp(24px,4vw,46px); }
.auth-photo { position: relative; overflow: hidden; border-radius: 19px; margin: 0; min-height: 380px; }
.workspace-header { border-radius: 22px; background: linear-gradient(115deg,#102944,#194d70); color: #fff; padding: clamp(23px,4vw,37px); margin-bottom: 19px; }
.workspace-header .eyebrow { color: #96dcee; }
.workspace-header .heading { margin-bottom: 24px; }
.workspace-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.workspace-counts div { border: 1px solid #97cde65c; background: #ffffff14; border-radius: 12px; padding: 12px; }
.workspace-counts strong,.workspace-counts span { display: block; }
.workspace-counts strong { font-size: 1.35rem; }
.workspace-counts span { color: #deedf8; font-size: .88rem; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
@media(max-width:720px) {
  .wrap { width: calc(100% - 30px); }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 235px; }
  .hero-photo::after { background: linear-gradient(180deg,#11294235,transparent 28%); }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-photo { min-height: 235px; }
  .workspace-counts { gap: 6px; }
  .workspace-counts div { padding: 8px; }
}
.admin-layout { display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:start; }
.admin-layout fieldset { min-width:0; padding:12px; margin:0; border:1px solid var(--line); border-radius:10px; }
.admin-layout legend { padding:0 5px; color:var(--muted); font-size:.88rem; }
.scope-row { display:grid; grid-template-columns:1fr auto auto; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.scope-row:last-child { border-bottom:0; }
.member-row { border-bottom:1px solid var(--line); padding:12px 0; overflow-wrap:anywhere; }
.member-row p { margin:.24em 0 0; }
.copy-link { display:flex; gap:9px; align-items:center; }
.copy-link:empty,#staff-message:empty,#video-invite-status:empty { display:none; }
.copy-link input { min-width:0; }
.video-actions { margin-bottom:9px; }
.video-main { min-height:76vh; }
@media (max-width:720px) { .admin-layout { grid-template-columns:1fr; } }

.fields [hidden], .booking-result[hidden] { display: none; }
.booking-result { display:grid; gap:10px; margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.booking-result > a { justify-self:start; }

.room-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; max-width:1152px; margin-inline:auto; align-items:start; }
.room-panel,.room-notes { padding:clamp(12px,2.3vw,22px); min-width:0; }
.room-panel .heading,.room-notes .heading { margin-bottom:12px; }
.room-state { margin:0; font-weight:700; color:var(--accent); }
.room-grid { position:relative; }
.remote-cameras { display:grid; gap:10px; min-width:0; }
.remote-cameras:has(> :nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.room-tile { position:relative; display:grid; place-items:center; isolation:isolate; min-width:0; overflow:hidden;
  border-radius:14px; background:#10253d; aspect-ratio:16/9; margin:0; color:#eef7ff; }
.room-tile video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#10253d; }
#local-camera.mirror-camera { transform:scaleX(-1); }
.room-placeholder,.room-waiting p { z-index:1; margin:0; text-align:center; padding:12px; color:#d5e7f4; }
.room-tile figcaption { position:absolute; z-index:2; inset:auto 0 0; padding:18px 12px 9px; display:flex; flex-wrap:wrap;
  gap:2px 12px; align-items:center; justify-content:space-between; background:linear-gradient(transparent,#08182beb); }
.room-tile figcaption span { font-size:.82rem; }
.is-on-call .room-self { position:absolute; z-index:3; inset:10px 10px auto auto; width:clamp(86px,23%,182px);
  aspect-ratio:4/3; border-radius:10px; border:1px solid #a4c9de99; box-shadow:0 4px 14px #07172366; }
.is-on-call .room-self .room-placeholder { display:none; }
.is-on-call .room-self figcaption { display:grid; padding:12px 6px 4px; gap:0; font-size:.75rem; line-height:1.2; }
.is-on-call .room-self figcaption span { font-size:.68rem; }
.room-actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:14px; }
.camera-picker { max-width:360px; margin-top:12px; }
.room-device-status,.room-note-status,#video-status { margin:8px 0 0; font-size:.875rem; }
.room-device-status { color:var(--muted); }
.room-layout [hidden],.room-note-status:empty,#video-status:empty,.room-device-status:empty { display:none; }
.room-notes h2 { font-size:1.18rem; }
.room-notes p { margin-bottom:0; }
.room-notes .fields { gap:9px; }
.room-notes > button { margin-top:9px; }

@media(min-width:960px) {
  .room-layout:has(.room-notes:not([hidden])) { grid-template-columns:minmax(0,1fr) minmax(268px,30%); }
}
@media(max-width:620px) {
  .room-tile { aspect-ratio:4/3; }
  .room-actions .button { padding-inline:10px; }
}
