/* CoachFlow Royal — shared staff, family and platform design system. */
:root{--royal-navy:#152b43;--royal-deep:#102238;--royal-gold:#b49358;--royal-gold-soft:#f4ecdc;--royal-ivory:#f6f5f1;--royal-text:#20354d;--royal-muted:#758193;--royal-border:#e4e5e8;--royal-shadow:0 6px 24px #152b4306;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--royal-text);background:var(--royal-ivory);font-synthesis:none}body{background:var(--royal-ivory);color:var(--royal-text);-webkit-font-smoothing:antialiased}h1,h2,h3,h4{color:var(--royal-navy);font-weight:650;letter-spacing:-.55px}h1{font-size:clamp(27px,2.5vw,38px);line-height:1.2}h2{font-size:21px}h3{font-size:17px}p,small,.hint{color:var(--royal-muted)}a{color:#8b6b32;text-underline-offset:4px}button,input,select,textarea{font-family:inherit}button{min-height:42px;border-color:#dfe3e9;border-radius:10px;background:#fff;color:var(--royal-navy);font-weight:600;font-size:13px;transition:background .15s,border-color .15s,box-shadow .15s}button:hover:not(:disabled){background:#f7f5ef;border-color:#c8b58d;box-shadow:0 2px 8px #152b4308}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #b4935840;outline-offset:3px}button:disabled{opacity:.45;box-shadow:none}.solid,.primary,.p-primary,.completion-workbench button.solid{background:var(--royal-navy);border:1px solid var(--royal-navy);color:#fff;box-shadow:0 4px 10px #152b4314}.solid:hover:not(:disabled),.primary:hover:not(:disabled),.p-primary:hover:not(:disabled),.completion-workbench button.solid:hover:not(:disabled){background:#244461;color:#fff;border-color:#244461}input,select,textarea,.completion-workbench input:not([type=checkbox]),.completion-workbench select,.completion-workbench textarea{border:1px solid #dfe3e9;border-radius:10px;background:#fbfcfd;color:var(--royal-text);padding:13px 14px;max-width:100%;min-width:0;font-size:14px;box-shadow:none}input:focus,select:focus,textarea:focus{border-color:var(--royal-gold);background:#fff}input[type=checkbox],input[type=radio]{accent-color:var(--royal-navy)}label,.completion-workbench label{color:#34465b;font-size:13px;font-weight:600}.eyebrow,.p-kicker,.unified-kicker{color:#997c46;font-size:10px;letter-spacing:1.8px}.badge,.status-pill,.p-pill,.completion-workbench .badge{background:#eff2f6;color:#53647a;border:1px solid #e1e6ed;border-radius:20px;font-weight:600;letter-spacing:.2px}.success,.p-success{background:#edf7f1;border-color:#d3e9dc;color:#28654b}.error,.p-error,.completion-workbench .error{background:#fff2f2;border:1px solid #f1d9dc;color:#9a3e49;border-radius:12px;padding:16px;line-height:1.65}.notice,.p-note,.completion-workbench .notice{background:#f6f0e4;border:1px solid #e9dfcb;color:#806d4e;border-radius:12px;font-size:13px}.empty,.p-empty,.receipt-state{color:#7a8697;font-size:14px;line-height:1.8}.records,.completion-workbench,.p-card,.audit-card{background:#fff;border:1px solid var(--royal-border);border-radius:16px;box-shadow:var(--royal-shadow)}.records{margin-bottom:22px}.toolbar,.records>footer{padding:20px 24px;gap:14px}.toolbar{border-bottom:1px solid #eef0f3}.toolbar h2,.toolbar h3{margin:0}.toolbar p{font-size:12px;margin:7px 0 0}.form-section{padding:24px}.form-grid{gap:20px}.tablewrap{border-top:0;overscroll-behavior-x:contain}table{font-size:13px}th{background:#f8f9fb;color:#8490a0;font-size:10px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;padding:16px 20px;border-bottom:1px solid #e5e9ef;white-space:nowrap}td{padding:18px 20px;color:#34475e;border-bottom:1px solid #eff1f4;line-height:1.5}tbody tr:hover{background:#faf9f6}tbody tr:last-child td{border-bottom:0}.records>footer{background:#fcfcfd;color:#7a8697;border-top:1px solid #eceff3}fieldset{min-width:0}textarea{line-height:1.6;resize:vertical}details summary{cursor:pointer;padding:12px 0;color:#8b6b32;font-size:13px}dialog{border:1px solid var(--royal-border);border-radius:18px;box-shadow:0 20px 80px #152b4326}
/* Staff and platform chrome */
.workspace>aside,.p-sidebar{width:258px;background:linear-gradient(175deg,#1b354f,#102238 75%);padding:28px 20px;color:#dbe3ec;border-right:1px solid #ffffff08}.workspace>aside .logo,.p-sidebar .p-brand{color:#fff;font-weight:650;letter-spacing:-.7px}.workspace>aside .logo{padding:8px 9px 22px;border-bottom:1px solid #ffffff12}.workspace>aside .logo span{font-size:22px}.workspace>aside .institute{color:#9aaec2;margin:24px 12px 20px;letter-spacing:1.8px}.workspace>aside .institute span{color:#e4eaf0;font-size:12px;line-height:1.6}.workspace>aside button,.p-sidebar button{color:#aebed0;border-radius:9px;font-size:13px;min-height:44px;padding:12px 14px;margin-bottom:4px;gap:12px}.workspace>aside button:hover:not(:disabled),.p-sidebar button:hover:not(:disabled){background:#ffffff08;color:#fff;box-shadow:none;border-color:transparent}.workspace>aside button.active,.p-sidebar button.active{background:#b493581c;color:#e3ca96;box-shadow:inset 3px 0 #b49358}.workspace>aside nav{padding:0 2px;scrollbar-width:thin;scrollbar-color:#50647b transparent}.workspace .content{margin-left:258px;width:calc(100% - 258px);background:var(--royal-ivory)}.workspace .content>header,.p-header{background:#ffffffdf;border-bottom:1px solid #e7e8eb;height:76px;padding:0 36px;color:#8893a1;backdrop-filter:blur(16px);position:sticky;top:0;z-index:9}.account{color:var(--royal-text);gap:12px}.account b{font-weight:600;font-size:13px}.page{padding:34px 36px 70px;max-width:1640px}.page>h1{margin:10px 0 9px}.page>p{font-size:13px;margin:0 0 28px}.metrics{gap:16px}.metrics article{border-color:var(--royal-border);border-radius:14px;box-shadow:var(--royal-shadow);padding:23px}.metrics strong{color:var(--royal-navy);font-size:28px;font-weight:650}.metrics span{color:#8792a1;font-size:11px;letter-spacing:.3px}.people-card,.academic-card,.learning-card,.assessment-card,.institute-card{border-color:var(--royal-border);border-radius:14px;background:#fff;box-shadow:var(--royal-shadow)}.person-avatar,.dashboard-icon,.overview-avatar{background:var(--royal-gold-soft);color:#927443}.platform-counts>div,.report-summary>article{background:#f4f6f9;border:1px solid #e7ebf0}.platform-counts b{color:var(--royal-navy)}.platform-counts span{color:var(--royal-muted)}.segmented,.p-toggle{background:#eceff3;border-radius:10px}.segmented button[aria-pressed=true],.p-toggle button[aria-pressed=true]{background:#fff;color:var(--royal-navy);box-shadow:0 2px 6px #152b4309}.dashboard-hero{background:linear-gradient(110deg,#17324c,#24455f);border-color:#24455f}.dashboard-hero h1,.dashboard-hero h2,.dashboard-hero h3{color:#fff}.dashboard-hero p{color:#bccbd9}.dashboard-cards article,.dashboard-card{border-color:var(--royal-border);border-radius:15px;box-shadow:var(--royal-shadow)}.dashboard-cards strong{color:var(--royal-navy)}.dashboard-quick-grid button{background:#fff;border:1px solid #e5e8ed}.dashboard-quick-grid b{color:var(--royal-text)}.dashboard-class-time{background:#f3eddf;color:#8a703c}.report-context{background:#f8f7f3;border-color:#e9e4d9}.report-chart,.report-summary{color:var(--royal-text)}.security-recovery,.recovery-help{background:#faf9f6;border-color:#e6e0d5}.completion-workbench .hint{color:var(--royal-muted)}
/* Family portal */
.p-main{margin-left:258px;background:var(--royal-ivory)}.p-container{max-width:1340px;padding:32px 36px 80px}.p-child h1{color:var(--royal-navy);font-size:30px}.p-header b{color:var(--royal-text)}.p-hero{background:linear-gradient(115deg,#17324c,#294a65);color:#fff;border:1px solid #2c506b;box-shadow:0 8px 28px #152b4312;border-radius:20px}.p-hero h2{color:#fff;font-weight:600}.p-hero p{color:#bbcbd9}.p-hero .p-kicker{color:#d1b784}.p-hero-circle{background:#b4935826;border-color:#b4935845;color:#d9c18f}.p-stats{gap:16px}.p-stats article{background:#fff;border:1px solid var(--royal-border);border-radius:16px;box-shadow:var(--royal-shadow)}.p-stats strong{color:var(--royal-navy)}.p-stats button{color:#8b6b32;background:transparent;border-color:transparent}.p-card{padding:24px;border-radius:16px}.p-shortcuts button{background:#fff;border-color:var(--royal-border);box-shadow:var(--royal-shadow);color:var(--royal-text)}.p-shortcuts button>span,.p-avatar{background:var(--royal-gold-soft);color:#8e703b}.p-list-item{border-color:#eceff3}.p-profile-grid>div{background:#f7f8fa;border-color:#e9edf2}.p-result-score strong{color:var(--royal-navy)}.p-pill.present{background:#edf7f1;color:#397658}.p-pill.absent{background:#fbefef;color:#a9555e}.p-resource{border-color:#e1e7ee;background:#f8fafc;color:#4c6783}.p-sheet{background:#fff;border-radius:24px 24px 0 0}.p-sheet button{color:var(--royal-navy)}.p-sheet-title{border-color:#e6ebf1}.bottom,.p-bottom{background:#ffffffed;border-top:1px solid #e2e5e9;backdrop-filter:blur(16px);padding-bottom:env(safe-area-inset-bottom)}.bottom button,.p-bottom button{color:#8894a5}.bottom button.active,.p-bottom button.active{color:#927341;background:#f5efdf;border-radius:9px}.p-footnote{color:#8f98a4}
/* One login window */
.unified-login{background:radial-gradient(ellipse at 18% 12%,#e5e9ee,transparent 55%),radial-gradient(ellipse at 88% 88%,#eae4d7,transparent 60%),#f5f4f0;position:relative}.unified-card{width:min(100%,456px);border-radius:22px;padding:42px;border:1px solid #e4e3df;box-shadow:0 18px 64px #152b430b;border-top:3px solid var(--royal-gold)}.unified-logo{color:var(--royal-navy);font-weight:700;letter-spacing:-.6px}.unified-logo span{background:var(--royal-navy);color:#dfc99b;border:1px solid #2c4560;box-shadow:0 4px 10px #152b4312}.unified-card h1{color:var(--royal-navy);font-weight:600;font-size:32px}.unified-card p{color:var(--royal-muted)}.unified-card input{background:#fafbfd;border-color:#e0e4eb;color:var(--royal-text)}.unified-password{border-color:#e0e4eb;background:#fafbfd}.unified-password input{border:0;box-shadow:none}.unified-password button{color:#927341;min-height:0}.unified-submit{background:var(--royal-navy);border:1px solid var(--royal-navy);box-shadow:0 4px 12px #152b4315;border-radius:10px}.unified-submit:hover:not(:disabled){background:#244461;border-color:#244461;color:#fff}.unified-card footer{color:#9ba3ae;border-color:#edf0f3}
@media(min-width:1500px){.page{padding-left:44px;padding-right:44px}.p-container{padding-left:44px;padding-right:44px}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.page,.p-container{padding:26px 24px 90px}.workspace .content>header,.p-header{padding:0 24px}.toolbar{flex-wrap:wrap}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.workspace>aside,.p-sidebar{width:258px;box-shadow:18px 0 60px #10223830}.workspace .content>header,.p-header{height:64px;padding:0 20px}.page,.p-container{padding:24px 18px 100px}.page>h1{font-size:28px}.metrics{gap:12px}.metrics article{padding:18px}.metrics strong{font-size:25px}.p-child h1{font-size:27px}.p-hero{border-radius:16px}.p-hero h2{font-size:30px}.records,.completion-workbench{border-radius:14px}.toolbar,.form-section,.completion-workbench .form-section{padding:18px}.p-card{padding:20px}.unified-login{padding:22px}.unified-card{padding:34px 28px}}
@media(max-width:600px){.form-grid,.platform-filters,.audit-filters{grid-template-columns:minmax(0,1fr)}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics article:last-child:nth-child(odd){grid-column:1/-1}.platform-counts{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:10px}.records .toolbar>div:last-child{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}.toolbar button{font-size:12px;padding:10px 12px}.page{padding-left:14px;padding-right:14px}.p-container{padding-left:16px;padding-right:16px}.account b{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.records input,.records select,.records textarea,.unified-card input,.completion-workbench input:not([type=checkbox]){font-size:16px}button{min-height:44px}td{padding:16px}th{padding:14px 16px}.p-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.p-stats article:last-child:nth-child(odd){grid-column:1/-1}.p-content-grid{grid-template-columns:minmax(0,1fr)}.p-hero{padding:28px 24px}.unified-card{padding:30px 24px;border-radius:18px}.unified-logo{margin-bottom:30px}.unified-card h1{font-size:29px}.unified-card fieldset{gap:18px}.unified-login{padding:16px}}
@media(prefers-reduced-motion:reduce){button,*{scroll-behavior:auto;transition:none!important;animation:none!important}}
@media print{body,.workspace .content,.p-main{background:#fff}.records,.p-card{box-shadow:none}.unified-login{background:#fff}.receipt-paper{color:#111;background:#fff}.receipt-paper h1{color:#111}}

@media(max-width:700px){.workspace .content{margin-left:0;width:100%}.p-main{margin-left:0}.workspace>aside{width:258px}.p-container{padding-bottom:100px}}
.dashboard-welcome{background:linear-gradient(115deg,#17324c,#294a65);border:1px solid #2a4b66;border-radius:18px;box-shadow:0 8px 28px #152b4310}.dashboard-welcome h1,.dashboard-welcome h2{color:#fff}.dashboard-welcome p{color:#bdcbd9}.dashboard-welcome .eyebrow{color:#d0b884}.dashboard-mark{color:#d7bf8e;border-color:#b4935845;background:#b4935812;transform:none;border-radius:18px}.dashboard-scope{color:#d5c299;background:#b4935815;border-color:#b4935830}.dashboard-card-top{color:#768599}.dashboard-attendance,.dashboard-class-detail small,.dashboard-context{color:#7b899a}.dashboard-quick-grid .dashboard-icon,.dashboard-cards .dashboard-icon{background:#f3ecdf;color:#8c703b}.people-card .person-avatar{background:#f3ecdf;color:#8c703b}.platform-workspace .platform-counts>div{background:#f5f6f8}.platform-workspace .platform-counts b{color:#18324b}
/* Approved large-type Royal layout. */
:root{font-size:18px}.workspace>aside,.p-sidebar{width:280px}.workspace .content{margin-left:280px;width:calc(100% - 280px)}.p-main{margin-left:280px}.workspace>aside button,.p-sidebar button{font-size:18px;line-height:1.45;padding:13px 14px;min-height:50px}.workspace>aside .logo span,.p-sidebar .p-brand span{font-size:26px}.workspace>aside .institute span{font-size:16px}.workspace .content>header,.p-header{font-size:16px;height:72px}.account b{font-size:16px}.page{padding:28px 30px 78px}h1{font-size:36px}h2{font-size:25px}h3{font-size:21px}p,small,.hint{font-size:16px;line-height:1.65}button,.solid,.completion-workbench button{font-size:16px;min-height:46px}label,.completion-workbench label{font-size:17px}input,select,textarea,.completion-workbench input:not([type=checkbox]),.completion-workbench select,.completion-workbench textarea{font-size:18px}.records table{font-size:18px}.records th{font-size:14px}.records td{font-size:18px;padding:17px 18px}.serial-cell{width:78px;min-width:78px;color:#8792a3;font-variant-numeric:tabular-nums}.records .serial-cell{font-size:15px}.eyebrow,.p-kicker{font-size:12px}.badge,.status-pill,.p-pill{font-size:12px}.dashboard-welcome{padding:20px 24px;min-height:90px;border-radius:15px;margin-bottom:22px}.dashboard-welcome h2{font-size:27px;margin:4px 0 0}.dashboard-welcome p{font-size:16px;margin:6px 0 0}.dashboard-welcome .dashboard-scope,.dashboard-mark{display:none}.dashboard-filter{margin-bottom:16px}.dashboard-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-cards article{padding:18px 16px}.dashboard-card-top{flex-direction:column-reverse;align-items:flex-start;gap:10px;font-size:16px}.dashboard-cards strong{font-size:clamp(24px,2.3vw,40px);font-weight:700;line-height:1.15;letter-spacing:-1px}.dashboard-cards small{font-size:13px;line-height:1.6}.dashboard-cards .dashboard-icon{font-size:24px;background:transparent;color:#ab843c;width:30px;height:30px}.dashboard-quick{margin:20px 0}.dashboard-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-quick-grid b{font-size:17px}.dashboard-quick-grid small{display:none}.dashboard-quick .toolbar{padding:0 0 14px;border:0}.dashboard-panels{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.dashboard-notes p{font-size:17px}.dashboard-class h3{font-size:18px}.dashboard-class-time b{font-size:16px}.dashboard-class-time small{font-size:13px}.unified-login{padding:28px}.unified-card{width:min(100%,1050px)}.unified-card form,.unified-card>.unified-help{max-width:430px}.unified-card h1{font-size:36px}.unified-card label{font-size:18px}.unified-card input{font-size:18px}.unified-card p{font-size:16px}.demo-accounts{border-top:1px solid #e5e8ed;margin-top:26px;padding-top:24px}.demo-accounts h2{font-size:24px}.demo-accounts>p{font-size:14px}.demo-account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.demo-account-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;text-align:left;background:#faf9f5;border:1px solid #e8decb;overflow-wrap:anywhere}.demo-account-grid b{font-size:17px}.demo-account-grid span,.demo-account-grid small{font-size:14px;color:#758193}.demo-account-grid em{font-size:13px;color:#967437;font-style:normal}.p-card p,.p-list-item small{font-size:16px}.p-stats strong{font-size:34px}.p-shortcuts b{font-size:18px}.p-bottom small{font-size:12px}.p-hero{padding:24px 28px}.p-hero h2{font-size:30px}.p-hero-circle{display:none}.completion-workbench .hint{font-size:15px}
@media(max-width:1250px){.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-card-top{flex-direction:row;align-items:center}.dashboard-cards strong{font-size:36px}.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-panels{grid-template-columns:1fr}.demo-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.workspace .content{margin-left:0;width:100%}.p-main{margin-left:0}.workspace>aside{width:280px}.page{padding:20px 14px 96px}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-cards article{padding:16px 14px}.dashboard-cards strong{font-size:29px;letter-spacing:-.6px}.dashboard-card-top{font-size:15px}.dashboard-welcome{padding:18px;margin-bottom:18px}.dashboard-welcome h2{font-size:23px}.dashboard-welcome p{font-size:14px}.dashboard-filter form{gap:10px}.dashboard-filter form label{flex-basis:100%}.dashboard-quick-grid b{font-size:15px}.dashboard-quick-grid button{padding:15px 12px}.dashboard-quick-grid button>span:last-child{display:none}.records td{font-size:16px}.records th{font-size:13px}.unified-card{padding:26px 20px}.unified-card h1{font-size:30px}.demo-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.demo-account-grid button{padding:12px}.demo-account-grid b{font-size:15px}.demo-account-grid span,.demo-account-grid small{font-size:12px}.p-stats strong{font-size:30px}}
@media(max-width:380px){.demo-account-grid{grid-template-columns:1fr}.dashboard-cards strong{font-size:25px}.dashboard-card-top{font-size:13px}}
.dashboard-notes{grid-column:1/-1}.dashboard-recent{min-width:0}.dashboard-recent .tablewrap{max-width:100%}.unified-card .demo-account-grid button:hover:not(:disabled){border-color:#b49358;background:#f4ecdc}.demo-accounts .demo-account-grid span{word-break:break-word}@media(max-width:700px){.dashboard-recent td{font-size:15px;padding:14px 12px}.dashboard-recent th{font-size:12px;padding:14px 12px}}
.dashboard-cards article{min-width:0}.dashboard-cards strong{overflow-wrap:anywhere}.dashboard-cards article:nth-child(3) strong{font-size:clamp(23px,1.8vw,34px)}.dashboard-heading{margin:0 0 20px}.dashboard-heading h1{margin:0 0 8px}.dashboard-heading p{margin:0;color:#8290a1;font-size:17px}.dashboard-welcome .eyebrow{display:none}@media(max-width:700px){.dashboard-heading h1{font-size:29px}.dashboard-heading p{font-size:15px}.dashboard-cards article:nth-child(3) strong{font-size:25px}}

/* Organised royal payment centre */
@media screen {
.gateway-workspace{margin-top:28px;border:1px solid #e4dfd4;border-radius:22px;overflow:hidden;box-shadow:0 8px 28px #14233b08}
.gateway-workspace>.toolbar{padding:24px 28px;background:linear-gradient(110deg,#fff,#faf7ef);gap:16px;flex-wrap:wrap}
.gateway-workspace h3{margin:5px 0 10px}.section-eyebrow{font-size:12px;font-weight:800;letter-spacing:1.8px;color:#8a6b30}
.gateway-workspace .hint{margin:8px 0 18px;line-height:1.6;max-width:760px}
.gateway-navigation{display:flex;gap:8px;padding:12px 28px;border-block:1px solid #e9e4d9;background:#faf8f3;flex-wrap:wrap}
.gateway-navigation button{background:transparent;border:1px solid transparent;padding:12px 18px;font-weight:650;color:#5b6472}
.gateway-navigation button[aria-pressed=true]{background:#172b49;color:#fff;border-color:#172b49}
.gateway-workspace .form-section{padding:26px 28px}.gateway-pane[hidden]{display:none!important}.gateway-pane{max-width:1080px}
.gateway-payment-form fieldset,.gateway-refund-form fieldset{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:20px;align-items:end;margin-top:20px}
.gateway-refund-form fieldset>label:nth-child(3){grid-column:1/-1}
.gateway-workspace label{font-size:16px;font-weight:650;color:#39455a;display:grid;gap:9px}
.gateway-workspace input,.gateway-workspace select,.gateway-workspace textarea{min-height:52px;border:1px solid #dcdfe5;border-radius:12px;background:#fff;padding:12px 14px;width:100%;box-sizing:border-box}
.gateway-workspace textarea{min-height:110px;resize:vertical}.gateway-workspace button{min-height:46px}.gateway-refund-form fieldset>button{justify-self:start;min-width:190px}
.gateway-assurance{padding:16px 20px;margin-top:24px;border-left:3px solid #b08b48;background:#faf7ef;color:#5a574e;border-radius:0 10px 10px 0;font-size:16px}
.gateway-pane>article{padding:22px;margin-top:18px;border:1px solid #e4e7ec;border-radius:14px;background:#fafbfd}
.gateway-pane>article form{max-width:640px;margin-top:16px}.gateway-pane>article fieldset{gap:14px}.gateway-pagination{display:flex;gap:12px;flex-wrap:wrap;grid-column:1/-1;margin-top:16px}
.admissions-module .ledger-head{background:linear-gradient(115deg,#14253f,#263e60);color:#fff;border:1px solid #233956;border-radius:16px;margin:22px;padding:24px 28px;gap:20px;flex-wrap:wrap}
.admissions-module .ledger-head small,.admissions-module .ledger-head p{color:#d7dfec}.admissions-module .ledger-head strong{color:#eac785}
.admissions-module td:last-child button+button{margin-left:10px}.admissions-module td:last-child button{margin-block:4px;white-space:nowrap}
.admissions-module .receipt-row{gap:16px;flex-wrap:wrap}.admissions-module .receipt-row form{display:flex;gap:10px;flex-wrap:wrap}
.admissions-module .records>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;background:#faf9f6;border-top:1px solid #e8e5df;flex-wrap:wrap}
.gateway-workspace .error,.gateway-workspace .notice,.gateway-workspace .success{margin-bottom:20px;overflow-wrap:anywhere}.gateway-workspace .notice button{margin:10px 10px 0 0}
@media(max-width:900px){.gateway-payment-form fieldset,.gateway-refund-form fieldset{grid-template-columns:minmax(0,1fr)}.gateway-refund-form fieldset>label:nth-child(3){grid-column:auto}}
@media(max-width:600px){.gateway-workspace>.toolbar,.gateway-workspace .form-section{padding:20px 16px}.gateway-navigation{padding:12px;gap:6px}.gateway-navigation button{flex:1 1 130px;font-size:16px;padding:10px}.gateway-workspace .badge{white-space:normal}.gateway-payment-form button,.gateway-refund-form fieldset>button{width:100%}.admissions-module .ledger-head{margin:16px;padding:22px 18px}.admissions-module td:last-child button+button{margin-left:0}.gateway-pane>article{padding:16px}}
}
