:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif;color:#203341;background:#f2f5f7;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#126b63;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{width:100%;border:1px solid #d4dde1;border-radius:10px;padding:12px 13px;color:#1a3240;background:#fff;outline:none;transition:.15s}input:focus,select:focus,textarea:focus{border-color:#218879;box-shadow:0 0 0 3px #46c5b027}input[type=checkbox],input[type=radio]{width:auto;box-shadow:none;accent-color:#18816f}label{font-size:12px;color:#526875;font-weight:700;display:flex;flex-direction:column;gap:7px}label.check{flex-direction:row;align-items:center;font-size:14px;gap:8px}small,.muted{color:#738694}.layout{display:flex;min-height:100vh}.sidebar{background:#102b39;color:#e9f5f5;width:254px;flex-shrink:0;position:sticky;top:0;height:100vh;padding:26px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:white;margin:0 9px 35px}.brand-icon,.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#177e70;color:white;font-weight:900;font-size:22px;box-shadow:0 5px 20px #06211e35}.brand h1{font-size:21px;line-height:1;margin:0}.brand small{display:block;color:#abc6c9;margin-top:6px;font-size:10px;letter-spacing:.03em}.nav-label{color:#8daab1;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800;margin:18px 10px 8px}.sidebar a.nav{display:flex;gap:10px;align-items:center;padding:12px 13px;border-radius:10px;color:#c9dbe0;font-weight:600;margin:2px 0}.sidebar a.nav:hover,.sidebar a.nav.active{color:#fff;background:#255566}.sidebar a.nav span{width:22px;text-align:center}.sidebar-footer{margin-top:auto;padding:12px 10px 0;border-top:1px solid #ffffff18;font-size:11px;color:#99b5bc}.content{flex:1;min-width:0}.topbar{height:75px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 33px;border-bottom:1px solid #e3e9ec}.topbar .label{font-size:12px;color:#71838f}.topbar strong{display:block;font-size:17px}.who{display:flex;align-items:center;gap:10px;color:#445766}.who .avatar{background:#e6f3ef;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#116e62;font-weight:800}.page{padding:30px 34px 60px;max-width:1640px;margin:auto}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:22px}.page-title h2{font-size:27px;letter-spacing:-.035em;margin:0 0 5px}.page-title p{margin:0;color:#71848f}.card{background:white;border:1px solid #e3e9ed;border-radius:15px;padding:22px;box-shadow:0 5px 24px #1b374006}.card h3{font-size:16px;margin:0 0 17px;letter-spacing:-.015em}.card p{line-height:1.55}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d6e0e2;border-radius:10px;padding:11px 16px;font-weight:700;background:white;color:#314955;white-space:nowrap;text-align:center}.btn:hover{filter:brightness(.96)}.btn.primary{background:#107967;color:#fff;border-color:#107967}.btn.dark{background:#183949;border-color:#183949;color:#fff}.btn.warn{color:#9c5a09;background:#fff9ed;border-color:#f0dfbe}.btn.danger{color:#af4641;background:#fff7f7;border-color:#eed4d2}.btn.light{background:#e6f4f1;color:#116e62;border:0}.btn.sm{padding:7px 11px;font-size:12px}.btn.wide{width:100%;margin-top:20px}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.stat{background:#fff;border:1px solid #e2e9ed;border-radius:14px;padding:21px}.stat .num{font-size:35px;color:#183b48;font-weight:800;margin:12px 0 5px;letter-spacing:-.06em}.stat .tiny{font-size:11px;color:#85959e;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.stat .sub{color:#738994;font-size:12px}.tag{border-radius:999px;background:#e9efef;padding:5px 9px;color:#46636d;font-size:11px;font-weight:800;white-space:nowrap}.tag.green{background:#e0f5ed;color:#16755d}.tag.amber{background:#fff1d7;color:#9b680c}.tag.red{background:#ffeae9;color:#a84640}.tag.blue{background:#e5effa;color:#356895}.tag.purple{background:#efebfc;color:#60468f}.table-wrap{width:100%;overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:650px;text-align:left}.table th{background:#f7fafb;color:#60737e;text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:800;padding:13px 12px}.table td{padding:13px 12px;border-top:1px solid #eef2f4;color:#334957}.table tr:hover td{background:#fcfdfd}.table td small{display:block;margin-top:4px}.table .numeric{text-align:right;font-variant-numeric:tabular-nums}.alert{padding:14px 16px;border-radius:10px;background:#e8f5ef;color:#116a51;border:1px solid #d4eade;margin-bottom:18px}.alert.error{background:#fff2ef;color:#9e4037;border-color:#f2d5d0}.alert.info{background:#ecf5fa;color:#3e6785;border-color:#d5eaf4}.subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.subhead h3{margin:0}.ticket-large{display:flex;justify-content:center;flex-direction:column;align-items:center;background:linear-gradient(120deg,#133b46,#176d61);color:white;border-radius:16px;padding:22px;min-height:225px}.ticket-large .code{font-size:clamp(65px,8vw,120px);font-weight:900;letter-spacing:-.055em;line-height:1}.ticket-large .caption{font-size:12px;color:#c2e9df;letter-spacing:.11em;font-weight:800;text-transform:uppercase}.ticket-large .counter{font-size:22px;font-weight:800;margin-top:10px}.inline-form{display:inline}.section-space{margin-bottom:20px}.spacer{height:17px}.radio-list{display:flex;flex-wrap:wrap;gap:9px}.radio-list label{font-weight:600;font-size:13px;color:#395362;flex-direction:row;align-items:center;border:1px solid #dbe6e8;padding:10px 12px;border-radius:10px;cursor:pointer}.queue-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f3;padding:12px 0}.queue-row:last-child{border:0}.queue-row strong{font-size:18px}.empty{padding:34px 10px;text-align:center;color:#7a8e99}.modal-overlay{position:fixed;inset:0;background:#091c2680;display:none;align-items:center;justify-content:center;z-index:50;padding:20px}.modal-overlay.show{display:flex}.modal{width:min(500px,100%);max-height:90vh;overflow-y:auto;background:white;border-radius:18px;padding:25px;box-shadow:0 35px 90px #06162260}.modal h3{font-size:21px;margin:0 0 8px}.modal .close{float:right;border:0;background:#f1f5f6;border-radius:8px;padding:6px 11px}.footnote{font-size:12px;color:#758b96;margin-top:14px}.search-result{width:100%;display:block;border:1px solid #e2eaed;border-radius:10px;padding:10px 13px;text-align:left;background:#fff;margin:7px 0}.search-result:hover{background:#f1faf6}.selected-patient{background:#e7f5ef;padding:12px;border-radius:10px;margin:10px 0}.login-body,.install-body{background:linear-gradient(130deg,#eef4f4,#e6edf2);min-height:100vh;display:grid;place-items:center;padding:23px}.login-card,.install-card{background:white;border-radius:20px;border:1px solid #e4eaed;box-shadow:0 25px 70px #2444551a;padding:33px;width:min(465px,100%)}.install-card{width:min(700px,100%)}.login-card .brand-mark,.install-card .brand-mark{margin-bottom:22px}.login-card h1,.install-card h1{font-size:27px;margin:0 0 7px;letter-spacing:-.04em}.login-card p,.install-card>p{color:#798991;margin:0 0 23px;line-height:1.6}.install-card h3{margin:21px 0 14px}.login-card label{margin-bottom:17px}.login-footer{text-align:center;font-size:12px;color:#8b9b9f;margin-top:25px}.profile{display:flex;align-items:center;gap:10px}@media(max-width:1200px){.grid.four{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.sidebar{width:70px;padding:22px 9px}.sidebar .brand h1,.sidebar .brand small,.sidebar a.nav .text,.sidebar .nav-label,.sidebar .sidebar-footer{display:none}.sidebar .brand{margin:0 3px 25px}.sidebar .brand-icon{width:40px;height:40px}.sidebar a.nav{justify-content:center}.sidebar a.nav span{font-size:22px}.topbar{padding:0 18px}.page{padding:22px 18px 50px}}@media(max-width:590px){.grid,.grid.three,.grid.four,.form-grid,.form-grid.three{grid-template-columns:1fr}.page-title h2{font-size:24px}.card{padding:17px}.who .name{display:none}.sidebar{width:56px;padding:19px 5px}.sidebar .brand{margin:0 0 25px}.sidebar .brand-icon{width:40px}.topbar{height:66px}.button-row .btn{white-space:normal}.stat .num{font-size:30px}}
