.wizard-navigation{display:flex;align-items:center;gap:10px;border-block:1px solid var(--line);margin:8px 0 10px}
.registration-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:8px 0;flex:1;min-width:0}
.registration-steps button{display:flex;align-items:flex-start;gap:6px;border:1px solid transparent;border-radius:8px;background:transparent;text-align:left;padding:8px 6px;min-width:0;cursor:pointer}
.registration-steps button:hover{background:var(--soft)}
.registration-steps button[aria-current=step]{border-color:var(--accent);background:var(--soft)}
.wizard-number{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;background:var(--soft);color:var(--accent);font-size:12px;font-weight:700}
.wizard-step-copy{min-width:0;display:grid;gap:4px}.wizard-step-copy strong{font-size:12px;line-height:1.5}
.wizard-status{font-size:11px;color:var(--muted)}.wizard-status.good{color:var(--good)}.wizard-status.warn{color:var(--warn)}.wizard-status.error{color:var(--danger)}
.wizard-todo-button{flex:none;white-space:nowrap;padding:8px 10px;font-size:12px;min-height:44px}
.wizard-step-heading{display:flex;justify-content:space-between;gap:8px 14px;align-items:center;flex-wrap:wrap;margin:8px 0}
.wizard-title{display:flex;align-items:center;gap:8px;min-width:0}.wizard-title h2{font-size:18px;margin:0}.wizard-title>.badge{flex-shrink:0;white-space:nowrap}
.wizard-heading-actions{gap:7px}.wizard-heading-actions .button{min-height:36px;padding:6px 10px;font-size:12px}
.wizard-help-toggle{color:var(--muted)}.wizard-help-toggle[aria-expanded=true]{background:var(--soft);color:var(--accent)}
.wizard-help-panel{padding:9px 12px;margin:0 0 10px;border-left:2px solid var(--line);background:var(--soft);font-size:12px;line-height:1.6;color:var(--muted)}
.wizard-help-panel p+p{margin-top:4px}
.wizard-step-notices .notice{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;padding:3px 9px;font-size:12px;line-height:1.5;min-height:44px}
.wizard-notice-copy{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.wizard-notice-actions{display:flex;align-items:center;gap:6px;flex:none}.wizard-notice-actions .button{min-height:36px;padding:5px 8px;white-space:nowrap}
.wizard-step-notices.is-critical .notice{padding:8px 10px;flex-wrap:wrap}.wizard-step-notices.is-critical .wizard-notice-copy{display:block;overflow:visible;flex:1 1 230px}
.wizard-task-section+.wizard-task-section{margin-top:20px}.wizard-task-section h3{margin-bottom:7px}.wizard-todo-rows>div{display:grid;grid-template-columns:60px minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.wizard-todo-rows strong{font-size:13px}.wizard-todo-rows p{font-size:12px;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.wizard-todo-rows>.muted{margin-top:10px}
.wizard-footer{margin-top:20px;padding:16px 0;border-top:1px solid var(--line)}.wizard-footer>.actions{justify-content:space-between}
.compact-table{width:100%;border-collapse:collapse;font-size:13px}.compact-table th,.compact-table td{padding:10px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.compact-table thead th{position:sticky;top:0;background:var(--surface,#fff);z-index:1;white-space:nowrap;font-weight:650}.compact-table p{margin:4px 0}.compact-table small{display:block;margin-top:4px;line-height:1.6;color:var(--muted)}
.compact-table .actions{gap:6px;flex-wrap:wrap}.compact-table .button.small{font-size:12px;padding:6px 9px;min-height:34px}.compact-table details>summary{cursor:pointer;max-width:320px;overflow-wrap:anywhere}.compact-table details .notice{margin:8px 0;padding:9px;font-size:12px}
.compact-table-wrap{max-height:68vh;overflow:auto;border-top:1px solid var(--line);overscroll-behavior:contain}.compact-status-row{display:flex;gap:8px 20px;flex-wrap:wrap;padding:10px 0;font-size:12px;color:var(--muted)}.compact-status-row strong{color:var(--ink)}
.compact-projects{min-width:650px}.compact-schools,.compact-materials,.compact-submissions{min-width:700px}.project-details-row td{background:var(--soft);padding:12px}.project-details-row .form-grid{margin-top:12px}.project-details-row .wb-entry-details{margin-top:0}
.committee-create{margin-bottom:16px}.committee-create summary{font-size:14px;font-weight:650;cursor:pointer}.policy-settings{margin-top:16px}.policy-settings .check{align-items:flex-start}.policy-settings .notice{font-size:13px}.policy-settings .actions{margin-top:12px}
.wizard-project-card,.wizard-school-card{padding:14px}.wizard-school-card>h3{margin-bottom:10px}.wizard-school-card #record-list>.record:first-child{margin-top:0}
.wizard-window{position:relative;border:1px solid var(--line);border-radius:8px;padding:7px 12px;background:#fff;font-size:12px}.wizard-window-line{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.wizard-window-line>strong{font-size:13px}.wizard-window-select{max-width:100%;min-width:0;flex:0 1 230px}.wizard-window-select select{min-height:36px;padding:5px 9px;font-size:13px}.wizard-window-deadline{color:var(--muted)}
.wizard-window-details{position:relative}.wizard-window-details summary{min-height:32px;padding:6px 0;font-size:11px;color:var(--muted);width:max-content;max-width:100%}.wizard-window-policy{font-size:12px}.wizard-window-details p{font-size:12px;margin-top:8px;line-height:1.6}
.wizard-policy{position:relative;min-width:0}.wizard-policy>summary{list-style:none;min-height:32px;padding:3px 0;display:flex;align-items:center;font-size:12px;white-space:nowrap}.wizard-policy>summary::-webkit-details-marker{display:none}.wizard-policy>summary:focus-visible{outline:3px solid #8b9ce3;outline-offset:3px;border-radius:4px}
.wizard-policy-body{position:absolute;z-index:20;right:0;top:100%;width:290px;max-width:calc(100vw - 48px);padding:12px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 22px #17223b19;font-size:12px;line-height:1.6;color:var(--ink)}.wizard-policy-body .button{margin-top:8px}
.wizard-window .wizard-policy{margin-left:auto}.wizard-window .wizard-window-details,.wizard-window .wizard-policy{position:static}.wa-toolbar{position:relative}.wa-toolbar .wizard-policy{position:static}
.wizard-directory-trigger,.workspace-task-trigger{display:none}
.workspace-task-navigation{margin:0 0 16px;border-bottom:1px solid var(--line)}
.workspace-task-tabs{display:flex;flex-wrap:wrap;gap:4px 16px}
.workspace-task-tabs button{min-height:44px;padding:8px 2px;border-bottom:2px solid transparent;font-size:13px;color:var(--muted)}
.workspace-task-tabs button[aria-current=page]{border-color:var(--accent);color:var(--accent);font-weight:650}
.workspace-task-directory{display:grid;gap:3px}
.workspace-task-directory>button{display:flex;align-items:center;gap:12px;text-align:left;min-height:58px;padding:10px 12px;border-radius:8px}
.workspace-task-directory>button:hover,.workspace-task-directory>button[aria-current=step],.workspace-task-directory>button[aria-current=page]{background:var(--soft);color:var(--accent)}
.workspace-task-directory>button>span:not(.wizard-number){flex:1;min-width:0}.workspace-task-directory>button>strong{flex:1}
.workspace-task-directory strong{font-size:14px}.workspace-task-directory small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.workspace-task-directory>button>svg{width:18px;height:18px;flex:none}
.registration-workbench .wizard-navigation{border-top:0;margin:0 0 10px}
.registration-workbench .wizard-heading-actions{gap:6px}.registration-workbench .wizard-help-toggle{width:44px;min-height:44px;padding:10px;border-color:transparent;background:transparent}
.registration-workbench .wizard-help-toggle[aria-expanded=true]{background:var(--soft)}
.registration-workbench .wizard-step-heading{margin:6px 0 12px}
.registration-workbench .wizard-footer{padding:8px 0;margin-top:14px}
.registration-workbench .wizard-footer .button{background:transparent;border-color:transparent;color:var(--muted);min-height:44px;font-weight:500}
.registration-workbench .wizard-footer .wizard-next{margin-left:auto;color:var(--accent)}
.registration-workbench .save-bar{min-height:48px;padding:2px 8px;gap:8px;margin-top:8px;box-shadow:none;border-radius:7px;background:var(--surface,#fff)}
.registration-workbench .save-bar .save-copy{display:flex;align-items:center;gap:8px;font-size:12px}
.registration-workbench .save-bar .save-copy strong{font-weight:500}
.registration-workbench .save-bar .save-copy[data-state=saved]>span{display:none}
.registration-workbench .save-bar .save-copy[data-state=dirty]>span,.registration-workbench .save-bar .save-copy[data-state=saving]>span{display:none}
.registration-workbench .save-bar .save-copy[data-state=error],.registration-workbench .save-bar .save-copy[data-state=conflict]{display:block}
.registration-workbench .save-bar #save-button{min-height:44px;flex:none;padding:8px 10px}
.registration-workbench .save-bar #save-button.is-quiet{background:transparent;color:var(--muted);border-color:transparent;width:44px}
.registration-workbench .fill-record-meta{margin-top:8px;color:var(--muted)}
.registration-workbench .fill-record-meta summary{font-size:11px}
.person-editor-return{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.person-editor-return .button{background:transparent;border-color:transparent;padding-inline:0;color:var(--muted);min-height:44px}
.registration-workbench .workspace-object-heading{display:flex;align-items:center;gap:10px;min-width:0}
.registration-workbench .workspace-object-heading h2{font-size:18px;overflow-wrap:anywhere}
@media(max-width:1100px){.registration-steps{display:flex;overflow-x:auto;scroll-snap-type:x proximity}.registration-steps button{flex:0 0 120px;scroll-snap-align:start}.registration-steps button[aria-current=step]{scroll-margin-inline:8px}}
@media(max-width:700px){
  .registration-workbench:has(.workspace-task-navigation) .hero{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .wizard-navigation{gap:7px;margin-top:4px}.registration-steps{gap:4px;padding:6px 0}.registration-steps button{flex-basis:113px;padding:8px 5px}.wizard-todo-button{padding:8px;font-size:11px}
  .wizard-step-heading{align-items:flex-start;gap:7px;margin:8px 0}.wizard-title h2{font-size:16px}.wizard-heading-actions{gap:6px;flex-wrap:wrap}.wizard-heading-actions .button{min-height:40px;padding:6px 8px}
  .wizard-help-panel{padding:7px 10px;margin-bottom:8px}.wizard-step-notices .notice{gap:5px;padding:2px 7px}.wizard-notice-actions{gap:4px}.wizard-notice-actions .button{min-height:40px;font-size:11px;padding:5px 7px}
  .wizard-todo-rows>div{grid-template-columns:54px minmax(0,1fr);gap:8px}.wizard-todo-rows>div>.button{grid-column:2;justify-self:start;min-height:40px}
  .wizard-footer .actions{display:grid;grid-template-columns:auto minmax(0,1fr)}.wizard-footer .actions>.button:only-child{grid-column:1/-1}.wizard-footer .button{white-space:normal;min-height:44px}.compact-table .button.small{min-height:40px}.compact-table th,.compact-table td{padding:9px 7px}.compact-status-row{gap:7px 14px}
  .wizard-window{padding:6px 9px}.wizard-window-line{gap:4px 8px}.wizard-window-select{flex-basis:100%}.wizard-window-select select{min-height:44px;font-size:16px}.wizard-window .wizard-policy{margin-left:0}.wizard-policy[open],.wizard-window-details[open]{flex:1 0 100%}.wizard-policy-body{position:static;width:auto;max-width:100%;margin:4px 0 7px}
}
@media(max-width:1100px){
  .registration-workbench .registration-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
}
@media(max-width:700px){
  .registration-workbench .registration-steps{display:none}
  .registration-workbench .wizard-navigation{border:0;margin:0 0 4px;gap:6px;min-height:44px}
  .wizard-directory-trigger,.workspace-task-trigger{display:flex;align-items:center;gap:9px;min-height:44px;text-align:left;padding:6px 0;flex:1;min-width:0}
  .wizard-directory-trigger strong,.workspace-task-trigger strong{font-size:17px;line-height:1.35;min-width:0}
  .wizard-directory-trigger>svg,.workspace-task-trigger>svg{width:16px;height:16px;flex:none;color:var(--muted)}
  .wizard-step-fraction{font-size:11px;color:var(--muted);white-space:nowrap}
  .registration-workbench .wizard-todo-button{border-color:transparent;background:transparent;min-height:44px;padding:8px;font-size:12px;color:var(--muted)}
  .wizard-todo-button svg{width:18px;height:18px}.wizard-todo-label{display:none}
  .registration-workbench .wizard-step-heading .wizard-title{display:none}
  .registration-workbench .wizard-step-heading{margin:0 0 8px;display:block}
  .registration-workbench .wizard-heading-actions{flex-wrap:wrap;gap:4px}
  .registration-workbench .wizard-heading-actions>.wizard-help-toggle{margin-left:auto}
  .registration-workbench .wizard-step-heading .button{min-height:44px}
  .workspace-task-tabs{display:none}.workspace-task-navigation{margin-bottom:12px}
  .registration-workbench .wizard-school-card,.registration-workbench .wizard-project-card{padding:12px}
  .registration-workbench .wizard-footer>.actions{display:flex;flex-wrap:wrap;gap:4px}
  .registration-workbench .wizard-footer .button{padding:6px 0;font-size:12px}
  .registration-workbench .save-bar{bottom:0;padding-bottom:max(2px,env(safe-area-inset-bottom));margin-top:6px}
  .registration-workbench .compact-projects{min-width:0;table-layout:fixed}
  .registration-workbench .compact-projects thead{display:none}
  .registration-workbench .compact-projects tbody{display:block}
  .registration-workbench .compact-projects tr.project-summary-row{display:grid;grid-template-columns:1fr 1fr;padding-top:10px}
  .registration-workbench .compact-projects .project-summary-row td{padding:5px 2px;border:0;min-width:0;overflow-wrap:anywhere}
  .registration-workbench .compact-projects .project-summary-row td:first-child,.registration-workbench .compact-projects .project-summary-row td:last-child{grid-column:1/-1}
  .registration-workbench .compact-projects td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:3px}
  .registration-workbench .compact-projects tr.project-details-row{display:block;border-bottom:1px solid var(--line)}
  .registration-workbench .compact-projects .project-details-row td{display:block;padding:6px 0 12px;border:0;background:transparent}
  .registration-workbench .compact-projects details>summary{max-width:none;min-height:44px;padding:10px 0}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools){display:block;min-width:0;width:100%}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) tbody{display:block;width:100%}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:14px 0;border-bottom:1px solid var(--line)}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) td{border:0;padding:0;min-width:0;text-align:left;overflow-wrap:anywhere}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) td:first-child,.registration-workbench :is(.compact-schools,.st-schools,.review-schools) td:last-child{grid-column:1/-1}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) td:first-child::before,.registration-workbench :is(.compact-schools,.st-schools,.review-schools) td:last-child::before{display:none}
  .registration-workbench :is(.compact-schools,.st-schools,.review-schools) .button{min-height:44px;white-space:normal}
  .registration-workbench .compact-table-wrap:has(>.compact-schools),.registration-workbench .compact-table-wrap:has(>.review-schools){max-height:none;overflow:visible}
}

.workflow-issues { margin: .5rem 0 .75rem; }
.workflow-issues .notice { margin: 0; }
.workflow-issues-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.workflow-issues-line > strong { flex: 1 1 16rem; font-weight: 500; }
.workflow-gap-list { flex-basis: 100%; }
.workflow-gap-list > summary { cursor: pointer; width: max-content; min-height: 44px; display: flex; align-items: center; color: var(--accent, #3f4f99); }
.workflow-gap-list ul { list-style: none; margin: .25rem 0 0; padding: 0; }
.workflow-gap-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line, #e1e5e9); }
.workflow-gap-list li > span { min-width: 0; overflow-wrap: anywhere; }
.workflow-gap-list li strong { margin-right: .5rem; }
.workflow-gap-list li > button { flex-shrink: 0; }
.workflow-issues:focus-visible { outline: 2px solid var(--primary, #235b49); outline-offset: 3px; }
.workflow-lock-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .75rem; }
fieldset.workflow-lock { border: 0; margin: 0; padding: 0; min-width: 0; }
.registration-workbench .save-bar .save-copy[data-state=deferred] { display: block; }
.registration-workbench .save-bar .save-copy[data-state=deferred] > span { display: block; }
.wizard-workflow-policy { margin-bottom: .75rem; font-size: .9rem; }
@media (max-width: 520px) {
  .workflow-gap-list li { align-items: flex-start; gap: .6rem; }
  .wizard-footer .actions { flex-wrap: wrap; }
}
