@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:"DM Sans",sans-serif;color:#16263a;background:#f3f6fa;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}.doctor-page{min-height:100vh;background:radial-gradient(circle at 85% 5%,#dce9fa 0,transparent 28%),#f3f6fa}
.doctor-shell{width:min(100% - 32px,620px);margin:auto;padding:22px 0 28px}.topbar{display:flex;align-items:center;justify-content:space-between}
.brand,.screen-brand{display:flex;align-items:center;gap:10px;font:800 20px Manrope,sans-serif;letter-spacing:-.7px;color:#142943;text-decoration:none}.brand-light{font-weight:500;color:#67809b}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#2459a8;color:white;font-size:21px}
.live-pill,.screen-status{display:flex;align-items:center;gap:8px;border:1px solid #d7e2ed;border-radius:99px;padding:8px 12px;color:#60758b;font-size:10px;font-weight:800;letter-spacing:1px}.live-pill i,.screen-status i,.connection-status i,.elapsed-dot{width:7px;height:7px;border-radius:50%;background:#e0a33a;display:inline-block}.doctor-intro{padding:42px 4px 22px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#7690aa;margin:0 0 8px}.doctor-intro h1{font:800 clamp(30px,7vw,42px) Manrope,sans-serif;letter-spacing:-1.7px;margin:0;color:#142943}.subheading{margin:8px 0 0;color:#71839a;font-size:15px}
.composer-card{background:white;border:1px solid #e3eaf1;border-radius:22px;box-shadow:0 18px 55px #1c38500d;overflow:hidden}.tabs{display:flex;padding:8px;background:#f6f8fb;border-bottom:1px solid #e9eef4;gap:6px}.tab{flex:1;border:0;border-radius:13px;padding:14px 10px;background:transparent;color:#77899e;font-weight:700;cursor:pointer}.tab span{margin-right:7px}.tab.active{background:white;color:#20539b;box-shadow:0 2px 9px #1b36520e}.tab-panel{padding:25px}.tab-panel[hidden]{display:none}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.panel-heading h2{font:800 21px Manrope;margin:0;color:#172d47}.destination-tag{font-size:9px;letter-spacing:1px;font-weight:800;color:#4776b3;background:#edf4fc;padding:8px 10px;border-radius:8px;white-space:nowrap}.field-label{display:block;font-size:13px;font-weight:700;color:#3f5369;margin-bottom:9px}textarea{display:block;width:100%;resize:vertical;min-height:100px;border:1px solid #dce5ee;border-radius:13px;padding:15px;color:#1c3048;outline:none;background:#fbfcfe}textarea:focus{border-color:#6694d0;box-shadow:0 0 0 3px #e9f1fc}textarea::placeholder{color:#a1afbd}.field-meta{display:flex;justify-content:space-between;color:#9aa8b6;font-size:11px;margin:8px 2px 20px}.send-button{width:100%;border:0;border-radius:13px;padding:16px 18px;background:#2059a7;color:white;font-weight:800;cursor:pointer;display:flex;justify-content:center;gap:12px;align-items:center;box-shadow:0 8px 18px #2059a72b}.send-button:active{transform:translateY(1px)}.send-button:disabled{background:#b8c5d4;box-shadow:none;cursor:not-allowed}.connection-status{display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid #eef2f6;margin:0;padding:13px;color:#9aabbc;font-size:11px}.connection-status.connected i,.screen-status.connected i{background:#28b47b;box-shadow:0 0 0 4px #28b47b20}.connection-status.connected{color:#43856c}.feedback{min-height:17px;margin:0;padding:0 16px 12px;text-align:center;color:#43856c;font-size:12px}.doctor-footer{text-align:center;color:#9aa9b8;font-size:11px;padding-top:22px}.doctor-footer span{padding:0 6px}.number-display{display:flex;align-items:baseline;justify-content:center;gap:10px;padding:4px 0 18px}.number-display span{font:800 48px Manrope;color:#245ba5;min-width:50px;text-align:center}.number-display small{font-size:9px;letter-spacing:1.4px;color:#91a1b1;font-weight:800}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:18px}.keypad button{height:54px;border:1px solid #e1e9f1;background:#f9fbfd;border-radius:12px;color:#1d3551;font:700 20px Manrope;cursor:pointer}.keypad button:active{background:#e9f1fb}.keypad .key-muted{font:700 13px "DM Sans";color:#74879b;background:#f1f4f7}
.screen-page{min-height:100vh;background:radial-gradient(ellipse at 50% 42%,#18385b 0,#0b1c31 52%,#061323 100%);color:#fff;display:flex;flex-direction:column;padding:clamp(18px,3vw,38px) clamp(18px,4vw,56px);font-family:Manrope,sans-serif}.screen-header{display:flex;align-items:center;justify-content:space-between}.screen-brand{color:#fff;font-size:clamp(16px,2vw,23px)}.screen-brand .brand-mark{background:#2866b5}.screen-status{color:#9eb3c9;border-color:#29415c;background:#10243b}.screen-content{width:100%;max-width:1400px;margin:auto;text-align:center;padding:36px 0}.screen-kicker{font-size:clamp(10px,1.3vw,15px);letter-spacing:3px;font-weight:800;color:#8faecc}.screen-orb{display:grid;place-items:center;width:clamp(64px,9vw,110px);height:clamp(64px,9vw,110px);margin:34px auto 25px;border:1px solid #4a76a0;border-radius:50%;background:#1d4268;color:#bcdcff;font-size:clamp(25px,4vw,42px);box-shadow:0 0 55px #2f80d42a}.screen-label{font-size:clamp(11px,1.5vw,17px);letter-spacing:3px;color:#93b7dc;font-weight:800}.screen-message{font-size:clamp(38px,8vw,108px);line-height:1.08;letter-spacing:-3px;margin:20px auto;max-width:1200px;overflow-wrap:anywhere}.screen-hint{color:#a8bdd2;font-size:clamp(14px,2vw,22px)}.elapsed{display:inline-flex;align-items:center;gap:12px;margin-top:clamp(30px,6vh,70px);padding:13px 20px;border:1px solid #294663;border-radius:99px;background:#10243b;color:#9bb2ca;font-size:clamp(11px,1.3vw,15px)}.elapsed-dot{background:#47d69b}.elapsed strong{color:white;font-variant-numeric:tabular-nums}.screen-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#7893ae;font-size:10px;letter-spacing:1.5px}.screen-footer button{border:1px solid #365574;border-radius:99px;padding:10px 14px;background:#122b46;color:#c6d9ec;font-size:11px;cursor:pointer}.screen-footer button:disabled{opacity:.65}.reception-screen{background:radial-gradient(ellipse at 50% 45%,#263d65 0,#111d3a 52%,#090f22 100%)}.screen-section{font:700 10px "DM Sans";letter-spacing:1.5px;color:#9db1d0;margin-left:8px}.reception-content{max-width:1100px}.reception-content .screen-kicker{color:#f2c77c;margin-bottom:20px}.reception-content .screen-label{color:#a7b9d5}.number-frame{display:grid;place-items:center;margin:24px auto;width:min(70vw,620px);min-height:clamp(210px,42vh,420px);border:1px solid #53658e;border-radius:32px;background:linear-gradient(145deg,#253c66,#172849);box-shadow:0 25px 90px #0005,inset 0 1px #ffffff18}.reception-number{font:800 clamp(120px,29vw,330px)/1 Manrope;color:#fff;letter-spacing:-.07em;text-shadow:0 8px 40px #0004;font-variant-numeric:tabular-nums}.reception-content .elapsed{margin-top:30px}
@media(max-width:520px){.doctor-shell{width:min(100% - 22px,620px);padding-top:14px}.doctor-intro{padding:32px 3px 18px}.tab-panel{padding:19px 16px}.panel-heading{align-items:flex-start;flex-direction:column}.destination-tag{align-self:flex-start}.screen-page{padding:16px}.screen-header{align-items:flex-start}.screen-content{padding:24px 0}.screen-footer{flex-direction:column;text-align:center;padding-top:15px}.screen-message{letter-spacing:-1.5px}.number-frame{width:90vw;border-radius:22px}.elapsed{gap:8px;padding:11px 14px}}
