.w6110 .panel{margin:1rem 0;padding:1.2rem;border:1px solid var(--line,#ccd4df);border-radius:.6rem;background-color:var(--panel,#fff)}.w6110-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.65rem;align-items:end}.w6110 label{display:flex;flex-direction:column;gap:.3rem}.w6110 input,.w6110 select{max-width:100%;padding:.6rem;border:1px solid #acbacd;border-radius:.35rem;background-color:var(--panel,#fff);color:inherit}.w6110 button{cursor:pointer;padding:.6rem .8rem;max-width:100%;font:inherit;border:1px solid #9badc4;border-radius:.35rem;background-color:var(--panel,#fff);color:inherit}.w6110 button.primary{background-color:var(--accent,#91ea2d);color:var(--accent-ink,#14280d);border-color:transparent;border-radius:999px}.w6110 button:disabled{cursor:default;opacity:.5}.w6110-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end;margin:.8rem 0}.w6110-actions h1{flex:1 1 240px}.w6110-scroll{overflow:auto}.w6110 table{border-collapse:collapse;width:100%;min-width:680px}.w6110 th,.w6110 td{padding:.7rem;text-align:left;vertical-align:top;border-bottom:1px solid #d7dfeb}.w6110 small{display:block;font-weight:400;margin-top:.25rem}.w6110-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}.w6110-cards strong{display:block;font-size:1.6rem}.w6110-task,.w6110-request,.w6110-hit{display:block;width:100%;text-align:left;margin:.5rem 0;padding:.75rem}.w6110-task{border-bottom:1px solid #d7dfeb}.w6110 details{margin:.8rem 0}.w6110 summary{cursor:pointer}.w6110 [data-w6110-lookup-results]{display:flex;flex-wrap:wrap;gap:.5rem}.w6110 .muted{color:var(--muted,#53647b)}@media(max-width:600px){.w6110 .panel{padding:.75rem}.w6110-actions>*{max-width:100%}.w6110-grid{grid-template-columns:1fr 1fr}.w6110-actions form{width:100%}}html[data-theme='light'] .w6110{--panel:var(--surface,#fff);--line:#ccd8e5;--muted:#526882;color:var(--text,#14263e)}html[data-theme='dark'] .w6110{--panel:var(--surface,#14243b);--line:#3b526d;--muted:#b2c4da;color:var(--text,#edf4fc)}.w6110 button:focus-visible,.w6110 input:focus-visible,.w6110 select:focus-visible{outline:3px solid #4699cc;outline-offset:2px}

.w6110-grid .w6110-actions{margin:0;align-self:end}.w6110-grid label{min-width:0;font-size:.875rem;line-height:1.4}.w6110-grid input,.w6110-grid select{min-height:42px;width:100%}.w6110-grid + details{font-size:.875rem}.w6110 [data-w6110-views]{padding:.75rem 0;border-bottom:1px solid var(--line,#ccd4df)}

.t6143-question{padding:.85rem 0;border-top:1px solid var(--line,#ccd4df)}.t6143-question h3{margin:.25rem 0;font-size:1rem}.t6143-question-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}

html[data-theme] .w6110 input,html[data-theme] .w6110 select{background-color:var(--input,var(--panel));color:inherit;border-color:var(--line)}html[data-theme] .w6110 button{border-color:var(--line);border-radius:999px}html[data-theme] .w6110-cards button{color:inherit}html[data-theme] .w6110-cards strong{color:inherit}html[data-theme] .w6110 :is(th,td,.w6110-task){border-color:var(--line)}

/* 6.14.4: real period grids use the current operational sessions and native buttons. */
.w6144-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem;margin:.75rem 0}.w6144-calendar-toolbar h3{margin:0;min-width:11rem;text-align:center;font-size:1.1rem}.w6144-calendar-toolbar .w6110-actions{margin:0;align-items:center}.w6144-calendar-toolbar [aria-pressed=true]{background-color:var(--accent,#91ea2d);color:var(--accent-ink,#14280d);border-color:transparent}.w6144-weekdays,.w6144-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.w6144-weekdays{padding:.5rem 0;color:var(--muted,#526882);text-align:center;font-weight:700}.w6144-calendar-grid{border-top:1px solid var(--line,#ccd4df);border-left:1px solid var(--line,#ccd4df)}.w6144-calendar-day{min-height:145px;padding:.35rem;border-right:1px solid var(--line,#ccd4df);border-bottom:1px solid var(--line,#ccd4df);background:var(--panel,#fff);min-width:0}.w6144-calendar-day h4{margin:.25rem;font-size:.85rem;color:inherit}.w6144-calendar-day.w6144-outside{background:var(--soft,var(--panel,#f4f7fb));opacity:.6}.w6110 button.w6144-event{display:block;text-align:left;width:100%;margin:.35rem 0;padding:.5rem;border-radius:.45rem;border-left:3px solid var(--accent,#91ea2d);background:var(--input,var(--panel,#fff));overflow-wrap:anywhere;line-height:1.35;font-size:.8rem;color:inherit}.w6144-event span{display:block;font-weight:700;margin-bottom:.2rem}.w6144-event small{margin-top:.2rem}.w6110 button.w6144-preferred{border-left-style:dashed}.w6144-week .w6144-calendar-day{min-height:300px}.t6144-cert-wizard{padding:1rem;border:1px solid var(--line,#ccd4df);border-radius:.7rem;margin-bottom:1rem}.t6144-cert-wizard h3{margin-top:0}.t6144-cert-steps{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;padding:0;margin:1rem 0}.t6144-cert-steps li{flex:1 1 180px;padding:.65rem;border:1px solid var(--line,#ccd4df);border-radius:.5rem}.t6144-cert-steps b{display:inline-flex;width:1.5rem;height:1.5rem;justify-content:center;align-items:center;background:var(--soft,#f0f5fa);border:1px solid var(--line,#ccd4df);border-radius:50%;margin-right:.35rem}
@media(max-width:900px){.w6144-calendar{overflow-x:auto}.w6144-calendar-grid,.w6144-weekdays{min-width:820px}.w6144-calendar-toolbar{min-width:0}}

.w6110 [hidden]{display:none!important}

/* Calendar entries are cards, not generic action buttons. This specificity also
   wins when the shared portal controls load after this component. */
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:0;height:auto;margin:.4rem 0;padding:.55rem .6rem;text-align:left;white-space:normal;gap:0;border-radius:8px;border:1px solid var(--line,#ccd4df);border-left:3px solid var(--accent,#91ea2d);background:var(--input,var(--panel,#fff));color:inherit;font-size:12px;font-weight:400;line-height:1.4;box-shadow:none;overflow:hidden;overflow-wrap:break-word;word-break:normal}
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event:hover{background:var(--soft,var(--input,var(--panel,#fff)));border-color:var(--accent,#91ea2d)}
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event>*{display:block;min-width:0;max-width:100%;margin:.2rem 0 0;float:none}
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event .w6145-event-time{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700;margin:0 0 .25rem}
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event .w6145-event-title{font-weight:750;max-height:4.2em;overflow:hidden;white-space:normal;word-break:normal;overflow-wrap:break-word}
:root[data-theme] body[data-portalux6142] .w6110 button.w6144-event small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted,#53647b)}
.w6144-calendar{overflow-x:auto}.w6144-calendar-grid,.w6144-weekdays{min-width:980px}.w6144-calendar-day{min-width:140px;min-height:150px}.w6144-week .w6144-calendar-day{min-height:260px}

/* 6.18.0: operational dashboard, scoped to the current organisation. */
.w6180-dashboard .w6180-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:1.4rem}.w6180-dashboard h1{font-size:clamp(1.7rem,3vw,2.3rem);margin:.2rem 0}.w6180-dashboard h2{font-size:1.1rem;margin:0 0 .65rem}.w6180-dashboard p{margin:.35rem 0;color:var(--muted,#53647b)}.w6180-dashboard .w6180-eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.w6180-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.w6110.w6180-dashboard .w6180-kpis button{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;text-align:left;min-height:130px;padding:1rem;border-radius:.8rem;background:var(--panel,#fff);border:1px solid var(--line,#ccd4df)}.w6180-kpis strong{font-size:2rem;line-height:1.1}.w6180-kpis small{margin-top:auto;color:var(--muted,#53647b)}.w6180-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1rem;align-items:start}.w6180-layout .panel{min-width:0}.w6180-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-bottom:.6rem}.w6180-section-head h2{margin:.3rem 0}.w6110.w6180-dashboard button.w6180-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;width:100%;padding:.8rem .25rem;text-align:left;border:0;border-bottom:1px solid var(--line,#ccd4df);border-radius:0;background:transparent;white-space:normal}.w6180-row>span{min-width:0}.w6180-row strong,.w6180-row small{overflow-wrap:anywhere}.w6180-row small{color:var(--muted,#53647b)}.w6180-row .w6180-date{flex:0 0 105px;font-weight:700}.w6180-dashboard button:hover{border-color:var(--accent,#91ea2d)}@media(max-width:900px){.w6180-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.w6180-layout{grid-template-columns:1fr}}@media(max-width:460px){.w6180-kpis{grid-template-columns:1fr 1fr}.w6110.w6180-dashboard .w6180-kpis button{min-height:110px;padding:.7rem}.w6180-row .w6180-date{flex-basis:80px}}

/* Training days are distinct, easily scannable records on the dashboard. */
.w6110.w6180-dashboard .w6180-upcoming button.w6180-row{margin:.5rem 0;padding:1rem 1.1rem;gap:1rem;border:1px solid var(--line,#ccd4df);border-radius:.65rem;align-items:flex-start}.w6180-upcoming .w6180-row>span:nth-child(2){flex:1}.w6180-upcoming .w6180-row small{display:block;line-height:1.45;margin-top:.25rem}.w6180-upcoming .w6180-row strong{display:block}.w6180-layout>div>.panel+.panel{margin-top:1rem}

/* Compact, accessible period and view controls. */
.w6110 .w6230-controls{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.w6110 .w6230-controls button[data-w6230-order],.w6110 .w6230-controls button[data-w6230-view]{min-width:42px;min-height:42px;padding:.45rem;font-size:1.2rem;line-height:1}
.w6110 .w6230-controls button[aria-pressed=true]{background:var(--accent,#91ea2d);color:var(--accent-ink,#14280d);border-color:transparent}

/* 6.30: tasks, questions and training records use the same spacious card shape. */
:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard button.w6180-row{box-sizing:border-box;margin:.7rem 0;padding:1rem 1.1rem;gap:1rem;border:1px solid var(--line,#ccd4df);border-radius:.65rem;align-items:flex-start;background:var(--panel,#fff);color:inherit;min-height:70px;height:auto;white-space:normal;text-align:left;line-height:1.45}
:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard .w6180-row>span:first-child{flex:1;min-width:0}
:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard .w6180-upcoming .w6180-row>.w6180-date{flex:0 0 105px}
:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard .w6180-row small{display:block;line-height:1.5;margin-top:.3rem;color:var(--muted,#53647b)}
:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard .w6180-row strong{display:block;overflow-wrap:anywhere}
:root[data-theme] body[data-portalux6142] .w6110 button[data-w6110-training],:root[data-theme] body[data-portalux6142] .w6110 button.w6110-request{border-radius:.65rem;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.45}
:root[data-theme] body[data-portalux6142] .w6110 .w6110-scroll button[data-w6110-training]{display:block;width:100%;padding:1rem;min-height:64px;border:1px solid var(--line,#ccd4df);background:var(--panel,#fff);color:inherit}
@media(max-width:460px){:root[data-theme] body[data-portalux6142] .w6110.w6180-dashboard .w6180-upcoming .w6180-row>.w6180-date{flex-basis:80px}}

/* 6.32: planning fields form their own grid; record cards do not inherit action-pill geometry. */
.w6110 form.w6320-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:end;margin:1.1rem 0 .8rem;width:100%;box-sizing:border-box}
.w6110 .w6320-filters>label{display:flex;flex-direction:column;gap:.35rem;min-width:0;margin:0}
.w6110 .w6320-filters input,.w6110 .w6320-filters select{box-sizing:border-box;display:block;min-width:0;width:100%;max-width:100%;min-height:44px;margin:0}
.w6110 .w6320-filters>.w6230-controls{grid-column:1/-1;justify-content:flex-end;gap:.5rem;margin:.1rem 0 0;align-items:center}
.w6110 form.w6320-views{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end;padding:.3rem 0 1rem;margin:0 0 .5rem}
.w6110 .w6320-views>label{flex:0 1 220px;min-width:0;margin:0}
.w6110 .w6320-views>label input,.w6110 .w6320-views>label select{box-sizing:border-box;width:100%;min-height:44px;margin:0}
:root[data-theme] body[data-portalux6142] .w6110 .w6110-scroll button.w6320-customer-card{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:auto;min-height:64px;margin:0;padding:1rem;border:1px solid var(--line,#ccd4df);border-radius:.65rem;box-shadow:none;background:var(--panel,#fff);color:inherit;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.45}
.w6110 .w6320-course-context{margin:.4rem .1rem 0;line-height:1.4;color:var(--muted,#53647b)}
@media(max-width:1000px){.w6110 form.w6320-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.w6110 form.w6320-filters{grid-template-columns:1fr;gap:.8rem}.w6110 .w6320-filters>.w6230-controls{justify-content:flex-start}.w6110 .w6320-views>label{flex-basis:100%}.w6110 .w6320-views>button{flex:1 1 auto}}
/* Keep the short date and contact columns readable next to long training titles. */
.w6110 .w6110-scroll th:nth-child(2),.w6110 .w6110-scroll td:nth-child(2){min-width:170px}
.w6110 .w6110-scroll th:nth-child(3),.w6110 .w6110-scroll td:nth-child(3){white-space:nowrap}
