.wf-toolbar,.wf-actions,.wf-section-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.wf-toolbar{margin:10px 0 24px}.wf-section-heading{justify-content:space-between}.wf-hero{padding:26px;border-radius:18px;background:linear-gradient(120deg,#123848,#245f69);color:#fff}.wf-hero h2{color:inherit}.wf-hero .wf-warning{color:#fbe6bd}.wf-section{margin-top:28px;padding-top:12px;border-top:1px solid #d9e2e5}.wf-grid,.wf-tasks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:16px 0}.wf-card{padding:20px;border:1px solid #dbe4e7;background:#fff;border-radius:14px;min-width:0;overflow-wrap:anywhere}.wf-card h3{margin:0 0 10px}.wf-card p{line-height:1.65}.wf-attention{border-color:#b97427;background:#fffaf3}.wf-badge{display:inline-block;font-size:13px;background:#e9f0f1;color:#234550;padding:5px 10px;border-radius:20px}.wf-warning{color:#815019}.wf-pre{white-space:pre-wrap;overflow-wrap:anywhere}.wf-field{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px}.wf-field input,.wf-field select,.wf-field textarea{font:inherit;width:100%;box-sizing:border-box;min-height:42px;border:1px solid #aabec4;border-radius:7px;padding:10px;background:#fff;color:#173843}.wf-field textarea{resize:vertical}.wf-field select[multiple]{min-height:100px}.wf-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:0;border-radius:16px;padding:26px;box-shadow:0 18px 90px #102c4566}.wf-dialog::backdrop{background:#06273688}.wf-dialog h2{margin-top:0}.wf-dialog .wf-actions{position:sticky;bottom:-26px;background:#fff;padding:14px 0;border-top:1px solid #ddd}.wf-dialog fieldset{min-width:0;margin:14px 0;border:1px solid #c7d7dc;border-radius:10px}.wf-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:14px}.wf-check input{margin-top:4px}.wf-section button,.wf-dialog button,.wf-toolbar button{cursor:pointer}.wf-section button:focus-visible,.wf-dialog button:focus-visible,.wf-field input:focus-visible,.wf-field select:focus-visible,.wf-field textarea:focus-visible{outline:3px solid #3b9698;outline-offset:2px}.wf-dialog [disabled]{opacity:.5;cursor:wait}@media(max-width:600px){.wf-hero{padding:18px}.wf-card{padding:16px}.wf-dialog{padding:18px}.wf-actions .button{flex:1}.wf-section-heading{align-items:flex-start}.wf-toolbar a{line-height:1.7}.wf-dialog .wf-actions{bottom:-18px}}

/* Small screens use the same authorised workflow, not a second business model. */
.fixture-banner{padding:10px;background:#fff1c6;color:#4b3827;font-size:13px}
.portal-workspace-menu{margin:0 0 20px;border-bottom:1px solid #eadce0;padding-bottom:12px}.portal-workspace-menu>summary{font-size:14px;color:#722d40;font-weight:650;cursor:pointer;min-height:44px;align-content:center}.portal-workspace-menu[open]>summary{margin-bottom:10px}.portal-workspace-menu .staff-portal-nav{margin:0;border:0;padding:0}
.wf-hero{background:linear-gradient(120deg,#602437,#853c51)}.wf-hero h2{font-size:clamp(22px,3vw,30px);line-height:1.5}.wf-hero p{line-height:1.8}.wf-next-jump{background:#fff;color:#64283c;margin:6px 0}.wf-next-jump:hover{background:#f7ede8;color:#64283c}.wf-role-hint{font-size:13px;opacity:.85}
.wf-group{margin:16px 0;border:1px solid #e5d8dd;border-radius:12px;background:#fff;scroll-margin-top:18px}.wf-group>summary{padding:18px;font-weight:650;cursor:pointer;min-height:48px;font-size:17px;line-height:1.6;color:#552637;overflow-wrap:anywhere}.wf-group-hint{display:inline-block;font-size:12px;font-weight:400;color:#7b6670;margin-left:10px}.wf-group>.wf-section{margin:0;border:0;padding:0 18px 18px}.wf-group-title{display:none!important}.wf-group .wf-section-heading{margin:10px 0}.wf-group .wf-section-heading:has(>.wf-group-title):not(:has(>button)){display:none}
.wf-tasks{display:block}.wf-task{border:1px solid #e6e0e3;border-radius:10px;margin:10px 0;overflow:hidden}.wf-task>summary{padding:15px;cursor:pointer;line-height:1.7;font-weight:650}.wf-task>.wf-card{border:0;border-radius:0;padding-top:2px;margin:0;box-shadow:none}.wf-all-tasks>summary{cursor:pointer;padding:15px 0;font-size:14px;color:#722d40}.wf-help-note>summary{cursor:pointer;min-height:44px;align-content:center}.wf-help-note .wf-warning{color:#7d5427}.wf-evidence{border:1px solid #e4d9df;border-radius:10px;padding:12px 16px;margin:20px 0}.wf-evidence>summary{font-weight:650;cursor:pointer;line-height:1.7}.wf-dialog .wf-actions{gap:12px}.wf-dialog .status{overflow-wrap:anywhere}.wf-group .button[disabled]{cursor:default}.wf-group p{overflow-wrap:anywhere}
.wf-service-row{border:1px solid #e6e0e3;border-radius:10px;align-self:start}.wf-service-row>summary{cursor:pointer;padding:15px;line-height:1.7;font-weight:650}.wf-service-row>.wf-card{border:0;padding-top:0}.wf-task>.wf-card>.wf-section-heading{display:none}
.wf-toolbar>a{display:inline-flex;align-items:center;min-height:44px}.wf-group summary:focus-visible,.portal-workspace-menu>summary:focus-visible,.wf-task summary:focus-visible{outline:3px solid #b58052;outline-offset:3px}
@media(min-width:761px){.portal-workspace-menu>summary{display:none}}
@media(max-width:760px){main{padding:22px 14px}.layout{gap:18px!important}.intro{padding:4px 0}.intro h1{font-size:30px;margin:10px 0}.intro p{font-size:14px;line-height:1.8}.intro .ornament{margin:15px 0}.intro .notice{font-size:12px;margin:12px 0}.card{padding:20px}.wf-hero{padding:18px}.wf-group>summary{padding:15px;font-size:16px}.wf-group>.wf-section{padding:0 14px 14px}.wf-toolbar{gap:8px;margin:0 0 16px}.wf-toolbar>a{padding:6px 0}.wf-toolbar .button{margin-left:auto}.wf-actions .button{flex:1 1 140px;white-space:normal;min-height:46px}.wf-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);padding:18px}.wf-dialog h2{font-size:23px}.wf-field input,.wf-field select,.wf-field textarea{font-size:16px;min-width:0}.wf-dialog .wf-actions{bottom:-18px;padding-bottom:14px}.wf-group-hint{display:block;margin:4px 0 0 20px}.portal-workspace-menu .staff-portal-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px}.portal-workspace-menu a{display:flex;align-items:center;min-height:44px;padding:6px}.wf-grid{grid-template-columns:1fr}.wf-help-note{font-size:13px}.wf-hero .wf-role-hint{font-size:12px}.wf-hero .wf-next-jump{width:100%}}
@media(prefers-reduced-motion:reduce){.button{transition:none}.button:hover{transform:none}}
