/* Chalk & Clover: form catalogue, workflow context and progressive capture. */
.handoff-forms-hub, .handoff-capture-shell, .handoff-intake-shell, .handoff-onboarding-shell, .handoff-setup-shell { --form-paper:#FBFAF7; --form-warm:#F3F1EB; --form-line:#E6E2D8; --form-green:#135640; --form-muted:#5C6862; max-width:1320px; }
.handoff-forms-hub [hidden], .handoff-capture-shell [hidden], .handoff-flow-enhanced [hidden] { display:none !important; }
.form-role-label, .form-owner-chip { display:inline-flex; align-items:center; gap:8px; width:fit-content; padding:7px 12px; border:1px solid var(--form-line); border-radius:999px; background:var(--form-warm); font-size:13px; font-weight:600; white-space:nowrap; }
.form-role-label .material-symbols-rounded { color:var(--form-green); font-size:19px; }
.catalogue-toolbar { display:flex; align-items:start; justify-content:space-between; gap:20px; margin:26px 0 12px; }
.catalogue-filters { display:flex; flex-wrap:wrap; gap:6px; }
.catalogue-filters button { min-height:44px; padding:9px 13px; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--form-muted); font-size:14px; font-weight:500; box-shadow:none; }
.catalogue-filters button:hover { background:var(--form-warm); transform:none; }
.catalogue-filters button[aria-pressed="true"] { background:#E4EFE9; color:#135640; font-weight:600; border-color:#BBD3C6; }
.catalogue-search { display:flex !important; align-items:center; gap:10px; min-width:250px; padding:0 12px; border:1px solid #D5CFC2; border-radius:11px; background:#fff; }
.catalogue-search .material-symbols-rounded { color:var(--form-muted); font-size:20px; }
.catalogue-search input { min-width:0; width:100%; min-height:44px; border:0; padding:8px 0; background:transparent; box-shadow:none; }
.catalogue-search:focus-within { outline:2px solid #135640; outline-offset:3px; }
.catalogue-search input:focus-visible { outline:none; }
.catalogue-result-count { color:var(--form-muted); font-size:13px; margin:0 0 10px; }
.handoff-forms-hub .form-section { margin-top:26px; }
.catalogue-section-head { display:flex; align-items:center; flex-wrap:wrap; gap:11px; padding-bottom:10px; border-bottom:1px solid var(--form-line); }
.catalogue-section-head h2 { margin:0; font-size:17px; }
.catalogue-section-head>span:last-child:not(.catalogue-section-icon) { color:var(--form-muted); font-size:13px; }
.catalogue-section-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; background:#E4EFE9; color:#135640; font-size:19px; }
[data-catalogue-section="Learner Support"] .catalogue-section-icon { background:#FAEAE5; color:#B3402B; }
[data-catalogue-section="Academic"] .catalogue-section-icon { background:#E8F1F7; color:#2A6F97; }
[data-catalogue-section="Compliance"] .catalogue-section-icon, [data-catalogue-section="Finance"] .catalogue-section-icon { background:#FBF0DC; color:#7A5210; }
[data-catalogue-section="People"] .catalogue-section-icon { background:#EDE7F5; color:#5B4B8A; }
[data-catalogue-section="Operations"] .catalogue-section-icon, [data-catalogue-section="Portal"] .catalogue-section-icon { background:var(--form-warm); color:#47534D; }
.handoff-forms-hub .form-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr)); gap:12px; margin-top:12px; }
.handoff-forms-hub .form-card { display:flex; flex-direction:column; align-items:stretch; gap:7px; padding:18px; border:1px solid var(--form-line); border-radius:14px; background:#fff; color:#1B2320; box-shadow:none; text-decoration:none; }
.handoff-forms-hub .form-card:hover { border-color:#A8CBBA; transform:none; box-shadow:none; }
.catalogue-card-title { display:flex; align-items:start; justify-content:space-between; gap:12px; }
.catalogue-card-title strong { font-size:15.5px; line-height:1.4; }
.catalogue-card-title .material-symbols-rounded { color:#135640; font-size:19px; }
.handoff-forms-hub .form-card>small { flex:1; color:#47534D; font-size:14px; line-height:1.5; }
.catalogue-card-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:5px; font-size:13px; }
.catalogue-card-meta>span:first-child { padding:4px 10px; border-radius:999px; color:#47534D; background:var(--form-warm); font-weight:600; }
.form-restricted { display:flex; align-items:center; gap:4px; color:#94402F; }
.form-restricted .material-symbols-rounded { font-size:16px; }
.catalogue-empty { margin-top:22px; padding:40px; text-align:center; }
.catalogue-empty>.material-symbols-rounded { color:var(--form-muted); font-size:32px; }
.catalogue-empty h2 { font-size:20px; }
.catalogue-records { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:40px; }
.catalogue-records>.panel { margin:0; }
.catalogue-records .panel-head { align-items:center; }
.catalogue-records .panel-head>.material-symbols-rounded { color:var(--form-muted); }
.catalogue-record-row { gap:10px; flex-wrap:wrap; }
.catalogue-record-row>span:first-child { display:grid; flex:1; gap:3px; min-width:170px; }
.catalogue-record-row strong { font-size:14px; font-weight:600; }
.catalogue-record-row small, .catalogue-empty-note { color:var(--form-muted); font-size:14px; }
.catalogue-record-row button { font-size:13px; padding:8px 12px; }
.handoff-capture-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; align-items:start; gap:24px; }
.handoff-capture-layout>.capture-panel { min-width:0; margin:0; padding:24px; background:#fff; border:1px solid var(--form-line); border-radius:16px; box-shadow:none; }
.capture-form-intro { display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--form-line); }
.form-draft-status { display:block; color:#47534D; font-size:13px; line-height:1.5; }
.handoff-capture-shell .typed-form-section { margin:20px 0; padding:20px 0; border:0; border-top:1px solid var(--form-line); border-radius:0; background:transparent; }
.handoff-capture-shell .typed-field-grid { gap:20px 16px; }
.handoff-capture-shell .field-grid { margin-bottom:20px; }
.capture-field-wide, .typed-choice-card { grid-column:1 / -1; }
.capture-field-label { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.capture-field-required { color:#B3402B; font-size:13px; font-weight:600; }
.handoff-capture-shell label { font-size:14px; color:#1B2320; }
.handoff-capture-shell input, .handoff-capture-shell select, .handoff-capture-shell textarea { min-height:44px; border:1px solid #D5CFC2; border-radius:9px; background:#fff; }
.handoff-capture-shell input[type="checkbox"] { min-height:20px; }
.handoff-capture-shell .typed-choice-card { padding:14px; border:1px solid var(--form-line); background:var(--form-warm); border-radius:12px; }
.handoff-capture-shell .form-actions { border-top:1px solid var(--form-line); margin-top:24px; padding-top:20px; }
.capture-workflow-aside { display:grid; gap:16px; }
.capture-workflow-aside>.panel { margin:0; padding:22px; border:1px solid var(--form-line); border-radius:16px; background:#fff; box-shadow:none; }
.capture-workflow-aside h2 { margin:4px 0 12px; font-size:18px; }
.capture-workflow-aside p { font-size:14px; line-height:1.55; }
.capture-workflow-rail { list-style:none; padding:0; margin:22px 0 0; }
.capture-workflow-rail li { position:relative; display:flex; align-items:start; gap:12px; padding:0 0 22px; }
.capture-workflow-rail li:last-child { padding-bottom:0; }
.capture-workflow-rail li:not(:last-child)::after { content:""; position:absolute; left:14px; top:32px; bottom:4px; width:1px; background:var(--form-line); }
.capture-workflow-rail li>span { display:grid; place-items:center; flex:none; width:30px; height:30px; border:1px solid #D5CFC2; border-radius:999px; background:var(--form-paper); color:var(--form-muted); font:500 13px "IBM Plex Mono",monospace; }
.capture-workflow-rail li:first-child>span { background:#E4EFE9; border-color:#A8CBBA; color:#135640; }
.capture-workflow-rail li>div { display:grid; gap:3px; padding-top:2px; }
.capture-workflow-rail strong { font-size:14px; font-weight:600; }
.capture-workflow-rail small { font-size:13px; color:var(--form-muted); }
.capture-destinations>.material-symbols-rounded { color:#135640; margin-bottom:8px; }
.capture-destinations ul { padding-left:18px; margin:0; display:grid; gap:10px; font-size:14px; color:#47534D; }
.capture-privacy-note { display:flex; align-items:start; gap:10px; padding:16px; border:1px solid #EFDCB5; border-radius:14px; background:#FBF0DC; color:#6B4A12; }
.capture-privacy-note .material-symbols-rounded { font-size:20px; }
.capture-privacy-note strong { font-size:14px; }
.capture-privacy-note p { margin:6px 0 0; }
.capture-step h2 { margin:6px 0 20px; font-size:22px; }
.handoff-flow-enhanced { display:grid; grid-template-columns:172px minmax(0,1fr); gap:20px 24px; align-items:start; }
.handoff-flow-enhanced>.capture-form-intro { grid-column:1 / -1; margin:0; }
.handoff-step-navigation { grid-column:1; grid-row:2 / span 2; }
.handoff-step-navigation ol { display:grid; gap:8px; list-style:none; margin:0; padding:0; }
.handoff-step-navigation button { display:flex; align-items:center; gap:9px; width:100%; min-height:52px; padding:10px; text-align:left; background:transparent; color:#5C6862; border:1px solid transparent; border-radius:10px; box-shadow:none; }
.handoff-step-navigation strong { font-size:14px; font-weight:500; }
.handoff-step-navigation .step-number { display:grid; place-items:center; flex:none; width:26px; height:26px; border:1px solid #D5CFC2; border-radius:999px; font:500 13px "IBM Plex Mono",monospace; }
.handoff-step-navigation button[aria-current="step"] { color:#135640; background:#E4EFE9; border-color:#BBD3C6; }
.handoff-step-navigation button[aria-current="step"] strong { font-weight:700; }
.handoff-step-navigation button[aria-current="step"] .step-number, .handoff-step-navigation button.is-complete .step-number { color:#fff; background:#135640; border-color:#135640; }
.handoff-step-navigation button:hover { background:#F3F1EB; transform:none; box-shadow:none; }
.handoff-flow-enhanced>[data-handoff-step] { grid-column:2; min-width:0; margin:0; }
.handoff-flow-enhanced>.form-actions, .handoff-flow-enhanced>.onboarding-submit-bar { grid-column:2; margin:0; display:flex; flex-wrap:wrap; gap:10px; }
.handoff-step-status { color:#5C6862; font-size:13px; align-self:center; }
.handoff-capture-review dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:12px 20px; margin:20px 0; padding:18px; border:1px solid #E6E2D8; border-radius:12px; background:#FBFAF7; }
.handoff-capture-review dt { font-size:13px; color:#5C6862; }
.handoff-capture-review dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.handoff-onboarding-shell .handoff-step-navigation { grid-row:1 / span 3; }
.handoff-onboarding-shell .onboarding-submit-bar>span:first-child { flex:1 1 100%; }
.handoff-onboarding-shell .onboarding-account-card { background:#F3F1EB; border-color:#E6E2D8; border-radius:12px; }
.handoff-onboarding-shell .choice-card { border:1px solid #E6E2D8; border-radius:12px; background:#FBFAF7; }
.handoff-intake-shell .form-flow-enhanced { display:grid; grid-template-columns:200px minmax(0,1fr); gap:20px 24px; align-items:start; }
.handoff-intake-shell .flow-overview, .handoff-intake-shell .flow-error-summary { grid-column:1 / -1; }
.handoff-intake-shell .flow-navigation { grid-column:1; grid-row:2 / span 3; }
.handoff-intake-shell .flow-navigation ol { display:grid; grid-template-columns:1fr; overflow:visible; gap:8px; }
.handoff-intake-shell .flow-navigation button { min-height:70px; border-color:transparent; background:transparent; padding:12px 10px; }
.handoff-intake-shell .flow-navigation button strong { font-size:14px; }
.handoff-intake-shell .flow-navigation button small { font-size:13px; font-weight:400; }
.handoff-intake-shell .flow-navigation button:hover { background:#F3F1EB; border-color:#A8CBBA; box-shadow:none; transform:none; }
.handoff-intake-shell .flow-navigation button[aria-current="step"] { background:#E4EFE9; border-color:#BBD3C6; box-shadow:none; }
.handoff-intake-shell .flow-navigation button[aria-current="step"]>span, .handoff-intake-shell .flow-navigation button.is-complete>span { background:#135640; }
.handoff-intake-shell .form-flow-enhanced>[data-flow-step], .handoff-intake-shell .flow-controls { grid-column:2; margin:0; }
.handoff-intake-shell .flow-overview, .handoff-setup-shell .setup-progress-card { border:1px solid #BBD3C6; border-radius:14px; background:#E4EFE9; box-shadow:none; }
.handoff-intake-shell .flow-progress-track, .handoff-setup-shell .setup-progress-track { background:#CBDDD2; height:6px; }
.handoff-intake-shell .flow-progress-track>span, .handoff-setup-shell .setup-progress-track>span { background:#135640; }
.handoff-intake-shell .flow-control-status { font-size:13px; }
.handoff-intake-shell .flow-review-group { background:#FBFAF7; border-color:#E6E2D8; }
.handoff-intake-shell .flow-review-group dt { font-size:13px; }
.handoff-setup-shell .wizard-layout { grid-template-columns:270px minmax(0,1fr); gap:24px; }
.handoff-setup-shell .wizard-desktop-nav { background:#FBFAF7; border-color:#E6E2D8; box-shadow:none; padding:20px; }
.handoff-setup-shell .wizard-step { border:1px solid transparent; border-radius:10px; background:transparent; box-shadow:none; }
.handoff-setup-shell .wizard-step.active { border-color:#BBD3C6; background:#E4EFE9; color:#135640; }
.handoff-setup-shell .wizard-step small, .handoff-setup-shell .setup-phase-heading span, .handoff-setup-shell .setup-phase-heading small, .handoff-setup-shell .setup-sequence-nav a span, .handoff-setup-shell .setup-sequence-nav>span { font-size:13px; }
.handoff-setup-shell .setup-active-panel { border-color:#E6E2D8; border-radius:16px; background:#fff; box-shadow:none; }
.handoff-setup-shell .setup-sequence-guidance { border-color:#135640; background:#F3F1EB; }
@media (max-width:1100px) { .catalogue-toolbar { flex-wrap:wrap; } .catalogue-search { width:100%; } .handoff-capture-layout { grid-template-columns:minmax(0,1fr) 270px; gap:18px; } .handoff-capture-layout>.capture-panel { padding:20px; } .handoff-capture-layout .handoff-flow-enhanced { grid-template-columns:1fr; } .handoff-capture-layout .handoff-step-navigation { grid-column:1; grid-row:auto; } .handoff-capture-layout .handoff-step-navigation ol { display:flex; flex-wrap:wrap; } .handoff-capture-layout .handoff-flow-enhanced>[data-handoff-step], .handoff-capture-layout .handoff-flow-enhanced>.form-actions { grid-column:1; } }
@media (max-width:800px) { .handoff-capture-layout, .catalogue-records { grid-template-columns:1fr; } .capture-workflow-aside { grid-template-columns:1fr 1fr; } .capture-privacy-note { grid-column:1 / -1; } .handoff-intake-shell .form-flow-enhanced, .handoff-flow-enhanced { grid-template-columns:1fr; } .handoff-intake-shell .flow-navigation, .handoff-step-navigation, .handoff-onboarding-shell .handoff-step-navigation { grid-column:1; grid-row:auto; } .handoff-intake-shell .flow-navigation ol, .handoff-step-navigation ol { display:flex; overflow-x:auto; gap:8px; padding-bottom:8px; } .handoff-intake-shell .flow-navigation li, .handoff-step-navigation li { min-width:150px; flex-shrink:0; } .handoff-intake-shell .form-flow-enhanced>[data-flow-step], .handoff-intake-shell .flow-controls, .handoff-flow-enhanced>[data-handoff-step], .handoff-flow-enhanced>.onboarding-submit-bar { grid-column:1; } .handoff-setup-shell .wizard-layout { grid-template-columns:1fr; } }
@media (max-width:520px) { .capture-workflow-aside { grid-template-columns:1fr; } .handoff-capture-layout>.capture-panel { padding:18px; } .handoff-capture-shell .field-grid { grid-template-columns:1fr; } .handoff-capture-review dl { grid-template-columns:1fr; gap:4px; } .handoff-capture-review dd { margin-bottom:10px; } .form-role-label { white-space:normal; } .catalogue-section-head>span:last-child:not(.catalogue-section-icon) { flex-basis:100%; margin-left:43px; } .catalogue-empty { padding:28px 18px; } }
