@import"https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap";:root{font-family:Cairo,system-ui,sans-serif;color:#12333a;background:#eef8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.login-page,.center-message{min-height:100vh;display:grid;place-items:center;padding:24px;text-align:center}.login-card{width:min(440px,100%);padding:42px;border-radius:28px;background:#fff;box-shadow:0 24px 80px #124b4f24}.brand-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;color:#fff;background:#0d9488;font-size:22px;font-weight:800}.eyebrow{margin:0;color:#0d9488;font-weight:800;letter-spacing:.04em}.muted{margin:0 0 30px;color:#70888c}.login-card h1{margin:4px 0 6px;font-size:30px}.login-card label{display:grid;gap:8px;margin-top:18px;text-align:right;font-weight:700}input,select{width:100%;border:1px solid #cfe2e1;border-radius:13px;padding:12px 14px;color:#12333a;background:#f8fbfb}.login-card button,.small-button{border:0;border-radius:13px;padding:12px 20px;color:#fff;background:#0d9488;font-weight:800}.login-card button{width:100%;margin-top:24px}button:disabled{cursor:wait;opacity:.65}.error{color:#b42318;font-weight:700}.banner{margin:0 auto 20px;text-align:center}.display-page{height:100vh;min-height:620px;display:flex;flex-direction:column;overflow:hidden;padding:clamp(18px,2.4vw,42px)}.tv-audio-player{display:none}header{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1700px;width:100%;margin:0 auto 20px}header h1{margin:2px 0 0;font-size:clamp(24px,3vw,46px)}.header-actions{display:flex;align-items:center;gap:12px}.header-actions select{min-width:280px;background:#fff}.small-button{white-space:nowrap}.sound-button{background:#486c70}.sound-button.active{background:#0d9488}.replay-button{border:1px solid #0d9488;color:#087f75;background:#fff}.small-button:disabled{cursor:not-allowed;opacity:.55}.queue-layout{width:100%;max-width:1700px;min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(350px,.9fr);gap:clamp(18px,2vw,30px);margin:0 auto}.current-card{min-height:0;display:grid;place-content:center;text-align:center;border-radius:38px;color:#fff;background:linear-gradient(135deg,#087f75,#0d9488 48%,#16a394);box-shadow:0 30px 90px #0d948840}.current-card p{margin:0;font-size:clamp(20px,3vw,38px);font-weight:700;opacity:.82}.current-card h2{margin:0;padding:0 24px 24px;font-size:clamp(34px,4.5vw,76px)}.order-number{line-height:1;font-size:clamp(110px,16vw,270px)}.queue-sidebar{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.next-section{min-height:0;display:flex;flex-direction:column}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.section-title h2{margin:0;font-size:clamp(22px,2vw,34px)}.section-title span{color:#52777a;font-weight:700}.next-grid{min-height:0;flex:1;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}.next-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;min-height:0;overflow:hidden;padding:14px 18px;border:1px solid #d9e9e8;border-radius:24px;background:#fff}.next-card span{display:grid;place-items:center;width:60px;height:60px;border-radius:17px;color:#087f75;background:#e6f6f4;font-size:25px;font-weight:800}.next-card>div{min-width:0;display:grid;gap:3px}.next-card h3{margin:0;overflow:hidden;font-size:clamp(18px,1.5vw,26px);line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.next-card small{color:#69878a;font-size:14px;font-weight:800;line-height:1.2}.next-card.is-next{border:2px solid #19a596;box-shadow:0 12px 30px #0d94881f}.next-card.is-next small{color:#0d9488}.next-card.empty{color:#91a6a8;background:#ffffff8c}.late-section{border:1px solid #d9e9e8;border-radius:22px;padding:11px 14px;background:#ffffffb8}.late-section.has-late-patients{border-color:#f0b65b;background:#fff8e8}.late-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.late-heading h2{margin:0;color:#8a5a09;font-size:clamp(17px,1.4vw,22px)}.late-heading span{display:grid;place-items:center;min-width:32px;height:32px;border-radius:999px;color:#fff;background:#d4840d;font-weight:800}.late-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.late-card{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:10px}.late-card strong{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#8a5a09;background:#ffe6ad}.late-card p{margin:0;overflow:hidden;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.late-more,.no-late-patients{margin:4px 0 0;color:#7e9092;font-weight:700}.late-more{color:#a26206}.late-section:not(.has-late-patients){padding-block:9px}.late-section:not(.has-late-patients) .late-heading span{background:#91a6a8}@media (max-width: 800px){.display-page{height:auto;min-height:100vh;overflow:visible;padding:20px}header{align-items:stretch;flex-direction:column}.header-actions{align-items:stretch;flex-direction:column}.header-actions select{min-width:0}.queue-layout{grid-template-columns:1fr}.next-grid{grid-template-rows:none}.next-card{min-height:110px}.current-card{min-height:38vh;border-radius:28px}}
