/* Task-first FAZA surfaces; domain state remains authoritative. */
.lesson-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.lesson-duration{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:13px;background:#eaf0de;font-size:12px;color:#6b7555}.lesson-duration strong{font-size:17px;color:#4c6239}.lesson-duration .ico{width:20px;height:20px}.lesson-participant-grid>.lesson-participant:only-child{grid-column:1/-1}.lesson-person-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lesson-person-heading h3{margin-bottom:0!important}.lesson-participant dl{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.lesson-participant dl>div{padding:12px;border-radius:12px;background:#f2f4e9;min-width:0}.lesson-participant dl>div:nth-child(2){background:#f9efdf}.lesson-participant dl>div:nth-child(3){background:#e8f0eb}.lesson-participant dl>div:nth-child(4){background:#eee9f4}.lesson-participant dt{min-height:34px;font-size:11px;line-height:1.5}.lesson-participant dd{font-size:22px;margin-top:6px!important}.lesson-correction{margin-top:18px;padding-top:12px;border-top:1px solid #e7dfd0}.lesson-correction>summary{display:flex;align-items:center;gap:8px;color:#87663c;cursor:pointer;min-height:44px}.lesson-correction>summary .ico{width:19px;height:19px}.lesson-correction form{margin-top:12px}
@media(max-width:1000px){.lesson-participant dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){.lesson-duration{font-size:11px;padding:9px 11px}.lesson-summary-row{gap:8px}.lesson-participant dl{gap:8px!important}.lesson-participant dl>div{padding:10px}.lesson-participant dd{font-size:20px}.lesson-person-heading .status-pill{margin-left:auto}}
.report-time-context{margin:16px 0;border:1px solid #dddcc7;border-radius:16px;background:linear-gradient(100deg,#edf2e3,#fcf2e0);overflow:hidden}.report-time-context>summary{display:flex;align-items:center;gap:12px;padding:13px 16px;cursor:pointer;list-style:none;font-size:13px;color:#6b7253;min-height:68px}.report-time-context>summary>span{flex:1}.report-time-context>summary .ico{width:23px;height:23px;flex:none}.report-time-context>summary strong{display:block;font-size:15px;line-height:1.5;color:#4e643d;margin-top:5px}.report-time-context>summary:hover{background:#eaf0de}.report-time-details{padding:0 16px 14px;font-size:13px;line-height:1.7}.report-time-details .topic-meta{font-size:12px}.report-workspace>.inline-help{margin-bottom:10px}.report-workspace .page-heading .row-actions{display:flex;gap:8px;flex-wrap:wrap}.report-workspace .page-heading .row-actions .btn{white-space:nowrap}
@media(max-width:600px){.report-workspace .page-heading h1{font-size:27px}.report-workspace .page-heading .row-actions{width:100%}.report-workspace .page-heading .row-actions .btn{font-size:13px;padding:10px 13px}.report-workspace .progress-summary{gap:7px}.report-time-context>summary{padding:12px;font-size:12px}.report-time-context>summary strong{font-size:13px}.report-workspace .progress-summary>span{padding:12px 7px;font-size:11px}}
.field-control>input:not([type=checkbox],[type=radio],[type=hidden],[type=file]),.field-control>select{height:46px;min-height:46px;width:100%;font-size:16px}.field-control>input[type=file]{min-height:46px;width:100%;padding-top:10px;font-size:16px}.field-control:focus-within>.ico{color:#a57945}.field textarea{min-height:100px}.form-grid{align-items:start}.form-grid>.field{min-width:0}.field-control>input:focus,.field-control>select:focus{box-shadow:0 0 0 3px #b9c99b44}
.wizard-steps{grid-template-columns:repeat(var(--wizard-step-count,3),minmax(0,1fr))!important}.report-wizard{padding:20px;border:1px solid #e1d7c5;border-radius:20px;background:#fffdf8;margin-top:18px}.report-wizard [data-task-step]{margin-bottom:12px}.report-wizard .topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.report-wizard .topic-row{margin:0;min-width:0}.report-wizard .topic-row[open]{grid-column:1/-1;background:#f6f7ee}.report-wizard .topic-row>summary{padding:13px 10px;min-height:60px;font-size:14px}.report-wizard .form-grid{gap:14px}.report-wizard #report-feedback textarea{min-height:110px}.programme-choice-grid .check-label{padding:12px;background:#f5f3eb;border:1px solid #e3ddcd;border-radius:13px;min-height:54px}.programme-choice-grid .check-label:has(input:checked){background:#e9f1dc;border-color:#b5c89c}
.lesson-reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.lesson-reading-grid>section{min-width:0;border-radius:15px;background:#f0f3e8;padding:16px}.lesson-reading-grid>section:nth-child(2){background:#f9efdf}.lesson-reading-grid>section:nth-child(3){background:#eee9f4}.lesson-reading-grid h3{display:flex;gap:8px;align-items:center;font:600 14px/1.5 Arial,sans-serif;color:#5b684a;margin:0 0 9px}.lesson-reading-grid h3 .ico{width:20px;height:20px;flex:none}.lesson-reading-grid p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.lesson-participant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.lesson-participant{padding:16px;border:1px solid #dddcc9;border-radius:16px;background:#fffdf8}.lesson-participant h3{display:flex;gap:10px;align-items:center;font:600 15px/1.5 Arial,sans-serif;color:#496037;margin:0 0 14px}.lesson-participant dl{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;margin:12px 0}.lesson-participant dt{color:#7b715e}.lesson-participant dd{margin:0;font-variant-numeric:tabular-nums;color:#435b33}.lesson-participant p{font-size:12px;color:#7b715e;margin-bottom:0}
@media(max-width:800px){.lesson-reading-grid{grid-template-columns:1fr}.lesson-participant-grid{grid-template-columns:1fr}.report-wizard{padding:14px}.report-wizard .topic-list{grid-template-columns:1fr}.wizard-steps{gap:6px!important}.wizard-steps li{overflow-wrap:anywhere}.field-control>input[type=file]{font-size:16px}}
@media(prefers-reduced-motion:no-preference){[data-task-step]:not([hidden]){animation:task-step-in .2s ease-out}@keyframes task-step-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}}
.field-control{position:relative;min-width:0}.field-control>.ico{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#657653;pointer-events:none}.field-control.has-icon>input,.field-control.has-icon>select{padding-left:39px!important}.field-control :is(input,select){min-width:0;max-width:100%}
.filter-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:16px;background:#fffdf9ed;border:1px solid #e5dccd;border-radius:18px;margin:20px 0 12px;box-shadow:0 4px 16px #785c3110}.filter-fields{display:grid;grid-template-columns:repeat(var(--filter-columns,6),minmax(0,1fr));gap:10px;min-width:0}.filter-bar .field{min-width:0;margin:0}.filter-bar .field label{font-size:12px;line-height:1.4;margin-bottom:7px;display:block}.filter-bar :is(input,select){width:100%;height:46px;font-size:16px}.filter-actions{display:flex;gap:7px;align-items:center}.filter-actions .btn{min-height:46px;padding:11px 12px;font-size:13px;white-space:nowrap}.filter-toggle{display:none}.filter-count{border-radius:20px;background:#e5ecdc;padding:1px 7px}.filter-bar .check-label{align-self:end;min-height:46px;font-size:12px;display:flex;align-items:center;gap:7px}
.status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid transparent;border-radius:20px;font:600 12px/1.35 Arial,sans-serif;max-width:100%}.status-pill>span{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.status-pill.green{background:#e6efdc;color:#3c5c2d;border-color:#d2e0c5}.status-pill.amber{background:#fcf0da;color:#79551d;border-color:#ead9b9}.status-pill.teal{background:#e1efec;color:#32645a;border-color:#c9dfd9}.status-pill.rose{background:#f9e7e3;color:#984d42;border-color:#ebd2cc}.status-pill.violet{background:#eee8f5;color:#6b5284;border-color:#ddd1eb}
.results-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#70695e;margin:12px 0 16px}.inline-help{max-width:620px}.inline-help summary{display:flex;align-items:center;gap:6px;cursor:pointer;min-height:40px}.inline-help p{font-size:13px;line-height:1.7;padding:12px;background:#fffdf8;border-radius:12px}.inline-help .ico{width:17px;height:17px}
.prospect-grid,.identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.prospect-card,.identity-card{min-width:0;background:#fffdf9;border:1px solid #e3daca;border-radius:21px;padding:20px;box-shadow:0 5px 20px #7561390c;transition:border-color .18s,box-shadow .18s}.prospect-card:hover,.identity-card:hover{border-color:#b9c6a6;box-shadow:0 7px 22px #75613916}.record-identity{display:flex;align-items:flex-start;gap:12px;min-width:0}.record-identity .grow{min-width:0}.record-identity h2,.record-identity h3{font:600 16px/1.4 Arial,sans-serif!important;color:#43583a;margin:0 0 5px;overflow-wrap:anywhere}.record-identity p{font-size:13px;line-height:1.5;color:#777064;margin:0}.person-initial{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;background:linear-gradient(135deg,#e5edda,#f3e4cb);border-radius:15px;color:#65764d;font:600 23px/1 Georgia,serif}.record-identity>.status-pill{margin-left:auto;flex:none;max-width:160px}
.phase-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;padding:0;margin:22px 0;gap:0}.phase-track li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;font-size:11px;color:#8b857b;min-width:0;line-height:1.3}.phase-track li:before{content:"";height:2px;background:#e4e1d7;position:absolute;top:17px;left:-50%;right:50%;z-index:0}.phase-track li:first-child:before{display:none}.phase-symbol{display:flex;align-items:center;justify-content:center;width:36px;height:36px;position:relative;z-index:1;border-radius:50%;border:1px solid #dddccd;background:#faf9f4}.phase-symbol .ico{width:18px;height:18px}.phase-track .has-record{color:#687951}.phase-track .has-record .phase-symbol{background:#edf2e6;border-color:#cbd8bc}.phase-track .is-current{color:#526b43;font-weight:700}.phase-track .is-current .phase-symbol{color:white;background:#526b43;border-color:#526b43;box-shadow:0 0 0 5px #e8efdd}.phase-track .is-current:before{background:#b8c8a1}
.prospect-next{display:flex;align-items:flex-start;gap:11px;padding:13px;border-radius:13px;background:linear-gradient(100deg,#f1f4e9,#f9f1e5);min-height:75px}.prospect-next>.ico{width:24px;height:24px;color:#8c6743;flex:none;margin-top:5px}.prospect-next .eyebrow{font-size:9px}.prospect-next p{font-size:14px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}.record-meta{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:12px;color:#767164;margin:15px 0}.record-meta>span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.record-meta .ico{width:16px;height:16px;flex:none;color:#8a724c}.record-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eee5d7;padding-top:14px;margin-top:14px}.record-card-actions .btn{font-size:13px;white-space:nowrap}.muted-contact{font-size:12px;color:#80776b;overflow-wrap:anywhere;min-width:0}.journey-panel{margin-block:16px;padding:16px 22px;background:#fffdf9;border:1px solid #e3daca;border-radius:18px}.journey-panel .phase-track{max-width:760px;margin:5px auto 12px}.journey-panel>.status-pill{display:flex;width:max-content;max-width:100%;margin:auto}
.authenticated .progress-summary:has(>a){grid-template-columns:repeat(4,minmax(0,1fr))}.authenticated .progress-summary>a{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #dfe4d4;border-radius:15px;background:#edf2e5;color:#4a603d;font-size:13px;text-decoration:none;min-height:72px}.authenticated .progress-summary>a:nth-child(2){background:#f6ecdd;border-color:#eadbc5;color:#795c38}.authenticated .progress-summary>a:nth-child(3){background:#e6f0ec;border-color:#cfdfd8;color:#426b5d}.authenticated .progress-summary>a:nth-child(4){background:#eee9f3;border-color:#ddd5e6;color:#6a547d}.authenticated .progress-summary>a:hover{box-shadow:0 3px 12px #7561391a;border-color:#a6b88f}.authenticated .progress-summary>a strong{font-size:27px}.authenticated .workspace:not(.visual-cockpit)>.page-heading h1{overflow-wrap:anywhere}.record-card-actions a:focus-visible,.prospect-card:target,.identity-card:target{outline:3px solid #a98262;outline-offset:3px;scroll-margin-top:120px}
@media(max-width:1279px){.filter-bar{grid-template-columns:1fr}.filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-actions{justify-content:flex-end}.record-identity{flex-wrap:wrap}.record-identity>.status-pill{margin-left:56px}.record-identity .grow{flex-basis:calc(100% - 60px)}}
@media(min-width:1280px) and (max-width:1599px){.filter-bar[data-columns="8"] .filter-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar{padding:14px;gap:10px}.filter-bar.is-enhanced .filter-toggle{display:flex;justify-self:end;min-height:44px}.filter-bar.is-enhanced:not(.is-open) .filter-fields>.field:not(:first-child),.filter-bar.is-enhanced:not(.is-open) .filter-fields>.check-label{display:none}.filter-bar.is-enhanced:not(.is-open) .filter-fields{grid-template-columns:1fr}.filter-toggle{grid-column:1;grid-row:1}.filter-fields{grid-column:1;grid-row:2}.filter-actions{grid-column:1;grid-row:3}.filter-bar .field label{font-size:13px}.prospect-grid,.identity-grid{grid-template-columns:1fr}.authenticated .progress-summary>a{gap:8px;padding:12px;font-size:12px}.results-caption{align-items:flex-start;flex-wrap:wrap}.prospect-card,.identity-card{padding:17px}.phase-track li{font-size:10px}}
@media(max-width:600px){.authenticated .progress-summary:has(>a){grid-template-columns:repeat(2,minmax(0,1fr))}.authenticated .progress-summary>a{min-height:64px}.record-identity>.status-pill{margin-left:0;max-width:100%}.record-identity h2{font-size:15px!important}.record-card-actions{flex-wrap:wrap}.record-card-actions>.btn{margin-left:auto;min-height:44px}.filter-actions .btn{font-size:13px}.filter-bar .field-control select{padding-right:20px}.phase-track{margin:19px 0}.journey-panel{padding:14px}.muted-contact{flex-basis:100%}.prospect-next{min-height:0}.filter-fields>.field:only-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.prospect-card,.identity-card{transition:none}}
@media print{.filter-bar,.record-card-actions{display:none}.prospect-grid,.identity-grid{display:block}.prospect-card{break-inside:avoid}.phase-track .is-current .phase-symbol{color:#333;background:#fff;border-color:#526b43}}

@media(max-width:800px){.filter-bar.is-enhanced{grid-template-columns:minmax(0,1fr) auto}.filter-bar.is-enhanced .filter-toggle{grid-column:2;grid-row:1;align-self:end}.filter-bar.is-enhanced .filter-fields{grid-column:1/-1;grid-row:2}.filter-bar.is-enhanced .filter-actions{grid-column:1/-1;grid-row:3}.filter-bar.is-enhanced:not(.is-open) .filter-fields{grid-column:1;grid-row:1}.filter-bar.is-enhanced:not(.is-open) .filter-actions{grid-row:2}}

.tertiary-action{display:inline-flex;gap:7px;align-items:center;min-height:44px;font-size:13px;white-space:nowrap}.tertiary-action .ico{width:18px;height:18px}.task-switcher{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.task-switcher>a{display:inline-flex;gap:8px;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;background:#fffdf9;border:1px solid #dddccb;color:#526b43;font-size:13px;text-decoration:none}.task-switcher>a:hover,.task-switcher>a:focus-visible{background:#e8efdf;border-color:#b3c49b}.task-switcher .ico{width:19px;height:19px}.enrolment-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0}.enrolment-overview>div{display:flex;align-items:center;gap:12px;padding:16px;border-radius:16px;background:#fffdf8;border:1px solid #e2dacb;font-size:12px;color:#756c5e}.enrolment-overview strong{display:block;color:#465c3a;font-size:15px;line-height:1.4;margin-top:5px}.enrolment-overview .icon-tile{flex:none;width:42px;height:42px}section[id],details[id]{scroll-margin-top:110px}.filter-toggle[hidden]{display:none!important}.filter-bar[data-columns="1"]{max-width:680px}.identity-card .record-card-actions{justify-content:flex-end}.identity-card .record-identity>.ico{width:26px;height:26px;color:#b39a73;flex:none}
@media(max-width:600px){.enrolment-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.enrolment-overview>div{padding:12px;gap:8px}.enrolment-overview .icon-tile{width:30px;height:30px}.enrolment-overview strong{font-size:13px}.task-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.task-switcher>a{font-size:12px;padding:10px;justify-content:center}.task-switcher>a:last-child:nth-child(odd){grid-column:1/-1}.filter-bar[data-columns="1"] .filter-fields{grid-column:1/-1!important}.tertiary-action{margin-left:auto}}

.agenda-group{margin:22px 0}.agenda-day{display:flex;align-items:center;gap:12px;font:600 16px/1.4 Arial,sans-serif;color:#506341;margin:15px 0}.date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:52px;height:58px;background:#f1e2c9;border:1px solid #e5d2b0;border-radius:13px;font-size:22px;color:#8c6339}.date-tile small{font-size:10px;text-transform:uppercase}.agenda-session{display:flex;gap:17px;align-items:center;border:1px solid #e2dacd;border-left:4px solid #a3bb85;border-radius:17px;background:#fffdf9;padding:18px;margin:10px 0;min-width:0}.agenda-session:nth-child(3n){border-left-color:#b89067}.agenda-session:nth-child(3n+1){border-left-color:#7fa49b}.agenda-time{display:flex;flex-direction:column;gap:6px;min-width:90px;font-size:12px;color:#817564}.agenda-time strong{font-size:22px;color:#526b43}.agenda-icon{width:40px;height:40px;border-radius:13px;background:#edf1e3;display:grid;place-items:center;flex:none;color:#64794e}.agenda-icon .ico{width:23px;height:23px}.agenda-session .grow{min-width:0}.agenda-session h3{font:600 16px/1.5 Arial,sans-serif;color:#4c583f;margin:0;overflow-wrap:anywhere}.agenda-session .record-meta{margin:8px 0 0}.agenda-actions{margin-left:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.agenda-actions .btn{font-size:12px;white-space:nowrap}.agenda-actions .text-btn{font-size:12px;min-height:40px;display:inline-flex;align-items:center}[data-task-step]{border:0;padding:0;margin:20px 0;min-width:0}[data-task-step] legend{font:600 19px/1.4 Georgia,serif;color:#526b43;margin:0 0 16px}.wizard-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:8px;margin:18px 0}.wizard-steps li{border-radius:12px;padding:12px;background:#f3eee5;color:#7b7060;font-size:13px}.wizard-steps .is-current{background:#e7efdc;color:#3e5b2d;font-weight:600;border-bottom:3px solid #829d63}.wizard-controls{display:flex;justify-content:space-between;gap:12px;margin-top:18px;border-top:1px solid #e8e0d1;padding-top:16px}.wizard-controls .btn:last-child{margin-left:auto}.learner-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.learner-choice{display:flex;align-items:center;gap:10px;border:1px solid #dddccb;border-radius:13px;padding:12px;font-size:14px;cursor:pointer;background:#fffdf9}.learner-choice:has(input:checked){background:#edf3e4;border-color:#9caf7f}.learner-choice input{width:18px;height:18px;flex:none}.learner-choice small{display:block;font-size:11px;margin-top:4px;color:#84745e}.learner-choice .person-initial{width:34px;height:34px;font-size:18px;flex:none}.learner-choice>span:last-child{min-width:0;overflow-wrap:anywhere}.schedule-workspace .filter-bar{max-width:900px}
@media(max-width:800px){.agenda-session{flex-wrap:wrap;gap:10px;padding:14px}.agenda-icon{display:none}.agenda-time{min-width:70px}.agenda-time strong{font-size:20px}.agenda-session>.grow{flex:1}.agenda-actions{flex-basis:100%;justify-content:space-between;border-top:1px solid #eee5d7;padding-top:12px}.agenda-session h3{font-size:14px}.agenda-session .record-meta{font-size:11px;gap:6px}.wizard-steps li{font-size:11px;padding:10px 8px}.learner-choice-grid{grid-template-columns:1fr}}
@media print{.wizard-controls,.wizard-steps,.task-switcher{display:none}.agenda-session{break-inside:avoid}}

.wizard-review{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px 18px;padding:16px;background:#f1f5ea;border-radius:14px;margin:0 0 20px;font-size:13px}.wizard-review:empty{display:none}.wizard-review dt{color:#736b5e}.wizard-review dd{margin:0;color:#425a32;overflow-wrap:anywhere}

.invoice-label{display:flex;gap:12px;align-items:center}.invoice-label .icon-tile{width:38px;height:38px;flex:none}.invoice-label small,.money-cell small{display:block;font-size:11px;margin-top:5px;color:#756c60}.money-cell{font-variant-numeric:tabular-nums}.money-cell .balance-due{color:#946236}.record-due{display:flex;align-items:center;gap:5px;margin-top:8px;color:#807364;font-size:11px}.record-due .ico{width:14px;height:14px}.finance-queue .record-title{min-width:150px}.conversation-card{margin:12px 0;padding:0;overflow:hidden}.conversation-card>summary{display:flex;align-items:center;gap:13px;padding:18px;cursor:pointer;list-style:none;min-height:76px}.conversation-card>summary:after{content:'+';color:#9d784b;font-size:24px}.conversation-card[open]>summary:after{content:'−'}.conversation-card>summary:hover{background:#f4f6ee}.conversation-card>summary .grow{min-width:0;flex:1}.conversation-card>summary strong{display:block;font-size:15px;color:#455b34;overflow-wrap:anywhere}.conversation-card>summary small{display:block;margin-top:6px;color:#81745f;font-size:11px}.conversation-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:#e7eddc;color:#657e4c}.conversation-body{padding:18px;border-top:1px solid #ebe3d5}.chat-message{padding:14px 18px;background:#f4eee4;border-radius:15px 15px 15px 3px;max-width:88%;margin:12px 0;font-size:14px}.chat-message p{margin:5px 0}.chat-message small{color:#81735f;font-size:11px}.chat-message.is-own{margin-left:auto;background:#eaf0df;border-radius:15px 15px 3px 15px}.conversation-next{display:flex;gap:8px;color:#6b744e;background:#faf6ec;padding:12px;border-radius:12px;font-size:13px}.conversation-next .ico{width:18px;height:18px;flex:none}.reply-composer{margin-top:18px;border-top:1px solid #e6dfd0;padding-top:18px}.reply-composer textarea{min-height:88px;resize:vertical}.conversation-card summary .status-pill{flex:none}
@media(max-width:600px){.conversation-card>summary{gap:9px;padding:14px;flex-wrap:wrap}.conversation-icon{width:34px;height:34px}.conversation-card>summary .grow{flex-basis:calc(100% - 50px)}.conversation-card summary .status-pill{margin-left:43px}.conversation-body{padding:14px}.chat-message{max-width:96%;padding:12px}.invoice-label .icon-tile{width:32px;height:32px}}

.directory-section{margin:22px 0}.directory-section>h2{display:flex;align-items:center;gap:9px;font:600 19px/1.4 Georgia,serif;color:#526b43}.directory-section>h2 .ico{width:22px;height:22px}.directory-section .directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.account-identity{display:flex;align-items:center;gap:12px}.account-identity .grow{flex:1;min-width:0}.account-identity strong{display:block;color:#455c36}.account-identity small{display:block;margin-top:5px;font-size:11px;color:#807563}.account-identity .person-initial{flex:none}.book-file-record{margin:12px 0}.book-file-record>summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.book-file-record>summary strong{flex:1;min-width:90px}.book-file-record>summary>.ico{width:26px;height:26px;color:#9a754c}.report-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-task{display:flex;flex-direction:column;min-width:0}.report-task-title{display:flex;gap:12px;align-items:flex-start}.report-task-title>div{flex:1;min-width:0}.report-task h2{font:600 16px/1.5 Arial,sans-serif;color:#455d33;margin:0;overflow-wrap:anywhere}.report-task-title p{margin:6px 0 0;font-size:12px;color:#85745e}.report-task-title .icon-tile{width:40px;height:40px;flex:none}.report-task .record-meta{margin:18px 0}.report-task .record-card-actions{margin-top:auto;justify-content:space-between}.report-task .record-card-actions>a:last-child{margin-left:auto}.local-access-disclosure{margin:22px 0 0}.local-access-disclosure>summary{display:flex;gap:9px;align-items:center;min-height:44px;font-size:13px;font-weight:600;color:#526b43;cursor:pointer}.local-access-disclosure>summary .ico{width:20px;height:20px}.local-access-disclosure[open]>div{padding-top:14px}.local-access-disclosure .section-title p{font-size:12px}
@media(max-width:1000px){.directory-section .directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.report-task-grid{grid-template-columns:1fr}.directory-section .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-task-title{flex-wrap:wrap}.report-task-title .status-pill{margin-left:52px}.account-identity{flex-wrap:wrap}.account-identity .grow{flex-basis:calc(100% - 70px)}.account-identity .status-pill{margin-left:60px}.directory-section .directory-link{min-width:0}.local-access-disclosure .local-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.directory-section .directory-card{display:flex;align-items:center;gap:12px;padding:15px;min-height:80px;border:1px solid #e1dccf;border-radius:15px;background:#fffdf8;min-width:0;color:#4a5d3c;text-decoration:none;font-size:13px;font-weight:600;line-height:1.5}.directory-card>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}.directory-card>.ico{width:15px;height:15px;flex:none;color:#a6a88d}.directory-symbol{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:13px;background:#e5edd9;color:#607c47}.directory-symbol .ico{width:23px;height:23px}.directory-section:nth-of-type(2) .directory-symbol{background:#f2e2c6;color:#997144}.directory-section:nth-of-type(3) .directory-symbol{background:#eee5f0;color:#8b7092}.directory-section:nth-of-type(4) .directory-symbol{background:#e0eeea;color:#5f8b7b}
@media(max-width:600px){.directory-section .directory-grid{gap:9px}.directory-section .directory-card{min-height:102px;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:13px;font-size:12px}.directory-card>span:nth-child(2){flex:none}.directory-card>.ico{position:absolute;right:12px;top:23px}.directory-symbol{width:34px;height:34px}.directory-symbol .ico{width:21px;height:21px}}

/* Fit actual authorised menus, including short groups and the last row. */
.academy-directory .directory-groups{display:flex;flex-wrap:wrap;gap:20px 24px}
.academy-directory .directory-section{flex:1 1 340px;min-width:0;margin:0}
.academy-directory .directory-section.directory-wide{flex-basis:100%}
.academy-directory .directory-section>h2{margin-bottom:10px}
.academy-directory .directory-section .directory-grid{display:flex;flex-wrap:wrap;gap:12px}
.academy-directory .directory-section .directory-card{flex:1 1 230px}
@media(max-width:800px){.academy-directory .directory-groups{gap:18px}.academy-directory .directory-section{flex-basis:300px}.academy-directory .directory-section .directory-card{flex-basis:200px}}
@media(max-width:600px){.academy-directory .directory-groups{gap:16px}.academy-directory .directory-section{flex-basis:100%}.academy-directory .directory-section .directory-card{flex-basis:calc(50% - 6px)}.academy-directory .directory-section .directory-card:only-child{flex-direction:row;align-items:center;min-height:70px}.academy-directory .directory-section .directory-card:only-child>span:nth-child(2){flex:1}.academy-directory .directory-section .directory-card:only-child>.ico{position:static}}
.workspace :is(.two-columns,.three-columns):has(>:only-child){grid-template-columns:minmax(0,1fr)}
.form-grid>.field.field-wide{grid-column:1/-1}
@media(min-width:801px){.filter-bar[data-columns="2"] .filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.report-task-grid>:last-child:nth-child(odd){grid-column:1/-1}
.identity-grid>:last-child:nth-child(odd){grid-column:1/-1}
.prospect-grid>:last-child:nth-child(odd){grid-column:1/-1}
.learner-choice-grid>:last-child:nth-child(odd){grid-column:1/-1}
.filter-fields>.field:only-child{grid-column:1/-1}
.workspace .program-grid.v5-featured:has(>:only-child){grid-template-columns:minmax(0,1fr)}
@media(min-width:621px){.workspace .program-grid.v5-featured:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:801px) and (max-width:1199px){.filter-bar .filter-fields{display:flex;flex-wrap:wrap;align-items:flex-end}.filter-bar .filter-fields>:is(.field,.check-label){flex:1 1 180px}}
.filter-bar .check-label input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}
.record-table tbody>tr:last-child:nth-child(odd){grid-column:1/-1}
.report-sharing form .form-grid>.field:last-child:nth-child(odd){grid-column:1/-1}
.management-filters .form-grid{display:flex;flex-wrap:wrap;align-items:flex-end}
.management-filters .form-grid>.field{flex:1 1 160px}
.workspace .report-metrics{display:flex;flex-wrap:wrap}
.workspace .report-metrics>.panel{flex:1 1 220px;min-width:0}
@media(min-width:701px){.book-preview-grid:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Workspace forms use two columns; let an odd final field complete its row. */
.workspace .form-grid:not(.report-sharing .form-grid)>.field:last-child:nth-child(odd){grid-column:1/-1}

/* Readable fee review: a quick summary, then the supporting detail. */
.terms-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.terms-summary-item{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid #e2dccb;border-radius:15px;background:linear-gradient(135deg,#f1f5e8,#fffdf8)}
.terms-summary-item:nth-child(2){background:linear-gradient(135deg,#fbefdd,#fffdf8)}
.terms-summary-item:nth-child(3){background:linear-gradient(135deg,#ece6f4,#fffdf8)}
.terms-summary-item>div{min-width:0}.terms-summary-item span:not(.icon-tile){font-size:12px;color:#6a695d}.terms-summary-item strong{display:block;font-size:23px;color:#405638;margin-top:5px;overflow-wrap:anywhere}
.terms-summary-item>.icon-tile{width:40px;height:40px;flex:none}
.terms-facts{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.terms-facts>li{display:flex;align-items:center;gap:10px;padding:12px;background:#f5f2e9;border-radius:12px;font-size:13px;line-height:1.5;min-width:0}.terms-facts>li:last-child:nth-child(odd){grid-column:1/-1}.terms-facts .ico{color:#8d6a41;width:21px;height:21px;flex:none}
.terms-charges,.terms-source,.terms-history{padding:4px 0;border-top:1px solid #e6dece}.terms-charges>summary,.terms-source>summary,.terms-history>summary{display:flex;gap:9px;align-items:center;min-height:44px;font-weight:600;color:#536a43;font-size:14px}.terms-charges>summary .ico,.terms-source>summary .ico,.terms-history>summary .ico{width:20px;height:20px}
.review-timeline{list-style:none;margin:16px 0 0;padding:0 0 0 16px;border-left:2px solid #d9c9b3;display:grid;gap:16px}.review-timeline>li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.review-timeline time{color:#7b7161}.review-timeline .report-narrative{flex-basis:100%;margin:0}.review-test-note{display:inline-flex;align-items:center;gap:5px;font-size:11px;margin:6px 0}.review-test-note .ico{width:14px;height:14px}
.reference-offers{margin-top:18px}.reference-offers>summary{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;color:#657451}.reference-offers .offer-review-grid{margin-top:14px}
@media(max-width:700px){.terms-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.terms-summary-item:last-child:nth-child(odd){grid-column:1/-1}.terms-summary-item{padding:13px;gap:8px}.terms-summary-item>.icon-tile{width:30px;height:30px}.terms-summary-item strong{font-size:21px}.terms-facts{grid-template-columns:1fr}}

.terms-plan-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.terms-plan-picker>.field{margin:0}.terms-plan-picker>.btn{margin:0;min-height:46px}
@media(max-width:600px){.terms-plan-picker{grid-template-columns:1fr}.terms-plan-picker>.btn{justify-self:end}}

/* Align labelled filters by the controls, including wrapped labels. */
.filter-fields{align-items:end}
form.toolbar{align-items:flex-end}
form.toolbar>.field{flex:1 1 180px;min-width:0;margin:0}
form.toolbar .field-control>input{max-width:none}
form.toolbar>.btn{height:46px;min-height:46px;white-space:nowrap}

@media(max-width:800px){
 .filter-fields>.field:last-child:nth-child(odd){grid-column:1/-1}
}

/* A single mobile search row; secondary filters expand underneath it. */
.filter-chevron{display:inline-flex}.filter-primary{min-width:0}
@media(min-width:801px){.filter-bar{grid-template-columns:minmax(0,1fr) auto}.filter-bar[data-columns="1"] .filter-fields{grid-column:auto!important}}
@media(min-width:801px) and (max-width:1199px){.filter-bar[data-columns="4"] .filter-fields>.field{flex-basis:160px}}
@media(max-width:800px){
 .filter-bar.is-enhanced{grid-template-columns:minmax(0,1fr) 44px auto;gap:10px 7px}
 .filter-bar.is-enhanced .filter-primary{grid-column:1;grid-row:1;min-width:0}
 .filter-bar.is-enhanced .filter-toggle{position:relative;grid-column:2;grid-row:1;align-self:end;justify-self:stretch;justify-content:center;width:44px;height:46px;min-height:46px;padding:0}
 .filter-bar.is-enhanced:not(.is-open) .filter-actions,.filter-bar.is-enhanced.is-open .filter-actions{grid-column:3;grid-row:1;align-self:end;gap:7px}
 .filter-bar.is-enhanced .filter-actions>.btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:46px;min-width:44px;padding:0;gap:0}
 .filter-bar.is-enhanced .filter-button-text,.filter-bar.is-enhanced .filter-chevron{display:none}
 .filter-bar.is-enhanced .filter-count{position:absolute;top:-7px;right:-4px;font-size:10px;line-height:16px;min-width:16px;padding:0 4px;border:1px solid #fffdf9}
 .filter-bar.is-enhanced:not(.is-open) .filter-fields{display:none}
 .filter-bar.is-enhanced.is-open .filter-fields{display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .filter-bar.is-enhanced[data-columns="1"] .filter-primary{grid-column:1/3}
 .filter-bar.is-enhanced .filter-fields:empty{display:none}
 .filter-primary .field-control:has(input:is([type="date"],[type="month"]))>.ico{display:none}
 .filter-primary .field-control>input:is([type="date"],[type="month"]){padding-left:10px!important;padding-right:8px;font-size:14px}
}

.soa-time{margin-top:20px}.soa-time .progress-summary{margin-top:0}article[id],h2[id]{scroll-margin-top:110px}.lesson-participant .record-card-actions{margin-top:14px}
