@import url('/style.css');
body.account-page{display:block;height:auto;min-height:100dvh;overflow:auto;background:#17191a;color:#eee}
.account-page header{position:sticky;top:0;z-index:2;gap:16px;flex-wrap:wrap;height:auto;min-height:76px;padding:14px 28px;border-bottom:1px solid #363839}
.account-page header .brand{margin-right:auto}.account-page header a{color:#dec79b;text-decoration:none;font-size:14px}.account-page header img{max-width:165px}
.account-page main{display:block;height:auto;overflow:visible;max-width:1040px;margin:0 auto;padding:36px 24px 64px}
.account-page h1{font-size:32px;margin:8px 0 18px}.account-page h2{font-size:22px;margin:0 0 14px}.account-page p{line-height:1.55}
.account-page section,.account-page .card{border:1px solid #3d3e3e;border-radius:12px;padding:24px;margin:20px 0;background:#202223}
.account-page .narrow{max-width:480px;margin:40px auto}.account-page label{display:block;margin:14px 0;font-size:14px}.account-page input,.account-page select{width:100%;margin-top:6px;min-height:42px;box-sizing:border-box}
.account-page button{min-height:40px}.account-page .message{min-height:24px;color:#dfc79b;white-space:pre-wrap}.account-page .muted{color:#acb2b5}.account-page .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.account-page .row>*{flex:1}
.account-page .password-entry{margin:14px 0;min-width:0}.account-page .password-entry>label{margin:0}.account-page .row>.password-entry{flex:1 1 220px}
.account-page .password-field{display:flex;align-items:stretch;gap:8px;margin-top:6px;min-width:0}.account-page .password-field input{flex:1;min-width:0;margin-top:0;padding:9px;font-size:16px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}
.account-page .password-toggle{flex:0 0 62px;min-height:44px;padding:8px;font-size:14px;white-space:nowrap}.account-page .password-toggle:focus-visible{outline:2px solid #dec79b;outline-offset:3px}
.account-page table{width:100%;border-collapse:collapse;text-align:left;font-size:15px}.account-page td,.account-page th{padding:13px 10px;border-bottom:1px solid #414344;overflow-wrap:anywhere}.account-page th{font-size:12px;color:#c7bcaa;text-transform:uppercase;letter-spacing:.04em}
.account-page .table-wrap{overflow:auto}.account-page #staffList{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.account-page .staff-card{padding:16px;border:1px solid #454747;border-radius:8px}.account-page .staff-card p{margin:4px 0 12px}
.account-page [hidden]{display:none!important}.account-page .section-label{color:#d0b88d}.account-page .policy{font-size:14px;border-left:3px solid #c6a674;padding-left:16px}
@media(max-width:600px){.account-page header{padding:12px 16px}.account-page header .brand span{display:none}.account-page main{padding:20px 12px}.account-page section,.account-page .card{padding:18px}.account-page h1{font-size:27px}.account-page td,.account-page th{padding:10px 6px}}

@media(max-width:650px){body[data-page="front-desk"] table,body[data-page="front-desk"] tbody,body[data-page="front-desk"] tr,body[data-page="front-desk"] td{display:block;width:100%}body[data-page="front-desk"] thead{display:none}body[data-page="front-desk"] tr{border:1px solid #414344;border-radius:8px;margin:12px 0;padding:8px}body[data-page="front-desk"] td{border:0;display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;padding:7px}body[data-page="front-desk"] td:before{content:attr(data-label);color:#c7bcaa;font-size:12px}}
#uploadDrop{padding:32px 18px;border:2px dashed #bfa274;border-radius:10px;text-align:center;cursor:pointer;margin-top:20px}.upload-item{padding:14px;border-bottom:1px solid #414344;overflow-wrap:anywhere}.upload-item p{font-size:13px;color:#c7bcaa}.inbox-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:18px}.inbox-layout section{min-width:0}.inbox-item{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:10px 0}.inbox-item strong,.inbox-item span{display:block}.inbox-item span{font-size:12px;margin-top:8px}#inboxPreview{width:100%;max-height:600px;object-fit:contain;background:#101112}#reviewFilename,#reviewDetails{overflow-wrap:anywhere}#inboxPatientQuery{width:100%}#reviewMessage{white-space:pre-wrap}
@media(max-width:700px){.inbox-layout{grid-template-columns:1fr}}

.account-page .row.inbox-toolbar{align-items:flex-end}.account-page .row.inbox-toolbar>label{flex:1;margin:0}.inbox-toolbar>#refreshInbox{flex:0 0 auto;align-self:flex-end;min-height:42px;margin-bottom:0}
#uploadDrop{min-height:110px;display:flex;align-items:center;justify-content:center;padding:24px}#uploadAddress,#draftAddress{width:100%;box-sizing:border-box}#createInboxPatient{margin:12px 0}

/* Referrals and grouped examinations. */
.table-scroll{overflow-x:auto}.table-scroll th,.table-scroll td{padding:10px;text-align:left;white-space:nowrap}
#referralPatients,#inboxPatients{max-height:280px;overflow:auto}
#legacyList label,#centreUsers label{display:flex;align-items:flex-start;gap:10px;padding:8px 0}
#legacyList input,#centreUsers input,.account-page .check-label input{width:auto;flex:none}
.account-page .check-label{display:flex;align-items:flex-start;gap:8px;padding:10px 0}
#centreCards{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#receipts article{overflow-wrap:anywhere}

/* Keep labels above their fields and align the actual controls along the bottom. */
.account-page .referral-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:12px}
.account-page .referral-fields>label,.account-page .report-toolbar>label{margin:0;min-width:0}
.account-page .referral-fields input,.account-page .referral-fields select,.account-page .report-toolbar input{display:block;width:100%;min-width:0;height:44px}
.account-page .report-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:end;gap:12px}
.account-page .report-toolbar>button{height:44px;margin:0;white-space:nowrap}
.account-page .centre-help{margin:10px 0 18px;font-size:14px}
.account-page .centre-help p{margin:0 0 8px}
.account-page .centre-help a,.account-page .centre-manager a{color:#dec79b;text-underline-offset:3px}
.account-page .centre-manager{scroll-margin-top:130px}
.account-page .centre-manager>summary{cursor:pointer;font-size:20px;font-weight:600}
.account-page #centreSaveMessage:empty{display:none}
@media(max-width:600px){
 .account-page .referral-fields{grid-template-columns:minmax(0,1fr)}
 .account-page .report-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
 .account-page .report-toolbar>label{grid-column:1/-1}
 .account-page .report-toolbar>button{width:100%;height:auto;min-height:44px;align-self:stretch;white-space:normal}
}
