.journey-pilot{max-width:1000px;margin:auto}.journey-pilot [hidden]{display:none!important}.journey-screen>header{border-bottom:1px solid #d7e6e8;margin-bottom:22px;padding-bottom:18px}.journey-screen h1{font-size:1.55rem;margin:10px 0}.journey-screen header small{color:#28656b}.journey-jump{display:block;max-width:360px;margin-top:14px}.journey-screen>article,.journey-screen>details,.journey-screen [data-journey-result]{border:1px solid #d6e5e6;border-radius:12px;padding:16px;margin:12px 0}.journey-screen textarea{min-height:90px;width:100%;box-sizing:border-box}.journey-screen select,.journey-screen input{max-width:100%}.journey-footer{border-top:2px solid #d6e5e6;background:#fff;padding:16px 0;margin-top:24px}.journey-footer [role=status]{color:#186764}.journey-footer .error{color:#a22727}.journey-screen .simple-goal-card{margin:16px 0}.journey-screen>.diagnosis-swot{border:0;padding:0}.journey-screen>.diagnosis-swot>summary{display:none}.journey-screen .simple-sources{margin-top:24px}.journey-screen [data-journey-coverage]>summary{cursor:pointer;line-height:1.8}.journey-screen .plan-extra-tools{margin-top:15px}@media(max-width:650px){.journey-pilot{padding:12px}.journey-screen h1{font-size:1.3rem}.journey-footer .actions{display:flex;flex-wrap:wrap}.journey-footer button{flex:1;min-width:110px}.journey-screen{overflow-wrap:anywhere}.journey-screen .compact-plan-review{overflow:auto}}

/* Refinement is contained in the school16 journey. */
.journey-pilot .journey-measure-card dl{display:grid;grid-template-columns:minmax(95px,1fr) 3fr;gap:8px}.journey-pilot .journey-measure-card dd{margin:0;overflow-wrap:anywhere}.journey-pilot .journey-measure-card dt{font-weight:600}.journey-pilot .distribution-recommendation{margin:10px 0;color:#486975}.journey-pilot .journey-coverage-decision{margin-block:16px}.journey-pilot .journey-coverage-decision button{margin:4px}

.journey-pilot .distribution-item-details:not([open])>:not(summary),.journey-pilot .distribution-bulk:not([open])>:not(summary),.journey-pilot .distribution-load:not([open])>:not(summary){display:none!important}
.journey-pilot .distribution-save-bar{position:static;box-shadow:none;margin-top:12px}
.journey-pilot .distribution-save-bar [data-distribution-draft-save]{display:none}

/* Named stages remain visible on small screens; current position is not completion. */
.journey-pilot{max-width:1180px}
.journey-screen>.journey-heading{padding:22px;border:1px solid #cee3e1;border-radius:18px;background:linear-gradient(135deg,#f1faf8,#fff);margin-bottom:24px}
.journey-position{display:flex;justify-content:space-between;gap:12px;color:#205f60;margin-bottom:16px}
.journey-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.journey-stages button{display:flex;align-items:center;gap:9px;text-align:start;background:#fff;color:#33545d;border:1px solid #d6e5e6;border-radius:10px;padding:10px;font-size:.86rem;min-height:52px;line-height:1.4;box-shadow:none}
.journey-stages button:hover{background:#edf7f5;border-color:#398b80}
.journey-stages button[aria-current=step]{background:#176c64;color:#fff;border-color:#176c64;font-weight:700}
.journey-stage-number{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#edf4f4;font-variant-numeric:tabular-nums;color:#375e65}
.journey-stages [aria-current=step] .journey-stage-number{background:#fff;color:#176c64}
.journey-stages button:focus-visible,.home-pilot-planning button:focus-visible{outline:3px solid #b78016;outline-offset:3px}
.journey-stage-intro{margin-top:22px}.journey-stage-intro p{line-height:1.8;margin-bottom:10px;max-width:78ch}
.journey-screen>.journey-heading>small{display:block;line-height:1.7;color:#53696e}
.journey-screen>article,.journey-screen>details{background:#fff}
.home-pilot-planning{padding:24px;border:1px solid #cfe3e0;border-radius:18px;background:linear-gradient(135deg,#f0f9f7,#fff);margin:22px 0}
.home-pilot-planning h2{margin:6px 0}.home-pilot-planning p{line-height:1.7}
.home-pilot-drafts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.home-pilot-drafts article{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#fff;border:1px solid #d9e8e6;border-radius:12px;padding:18px;min-width:0}
.home-pilot-drafts h3{margin:0;line-height:1.6}.home-pilot-drafts p{margin:0}.home-pilot-drafts button{margin-top:auto}
.home-pilot-drafts small{color:#53696e;margin-bottom:8px}.home-draft-badge{border-radius:20px;padding:3px 10px;background:#edf4fa;color:#355b7a;font-size:.8rem}
@media(max-width:800px){.journey-stages{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:500px){.journey-screen>.journey-heading{padding:14px}.journey-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.journey-stages button{font-size:.8rem;padding:8px;min-height:48px}.journey-stage-number{flex-basis:22px;height:22px}.home-pilot-drafts{grid-template-columns:1fr}.home-pilot-planning{padding:16px}.journey-position{font-size:.85rem}}
@media print{.journey-stages,.journey-heading>small{display:none}}
.athar-analytics-filters{margin-bottom:18px;border:1px solid #d6e5e6;border-radius:12px;background:#fff;padding:16px}
.athar-analytics-filters>summary{cursor:pointer;font-weight:700;color:#205f60;line-height:1.7}
.athar-analytics-filters>summary span{font-weight:400;margin-inline-start:12px;color:#53696e}
.athar-analytics-filters:not([open])>:not(summary){display:none!important}
.athar-analytics-filters form{border:0;box-shadow:none;margin-top:16px}
.athar-analytics-empty{grid-column:1/-1;text-align:center;padding:36px!important}
.athar-analytics-empty p{max-width:65ch;margin:12px auto 24px;line-height:1.9}
@media print{.athar-analytics-filters{display:none}}
.journey-heading [data-journey-status-top]{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#e4f3ed;color:#17634c}
.journey-heading [data-journey-status-top].error{background:#fff1ed;color:#962d25;border-inline-start:3px solid #b44336}
.journey-stages{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.journey-stages button{overflow-wrap:normal;word-break:normal;line-height:1.65}
.journey-pilot .compact-plan-review,.journey-pilot .journey-activity-list{overflow:visible!important;min-width:0!important}
.journey-activity-list{display:grid;gap:16px;margin-top:16px}
.journey-activity-card{border:1px solid #d6e5e6;border-radius:14px;padding:20px;background:white;min-width:0}
.journey-activity-title>span{color:#526e75;font-size:.85rem}.journey-activity-card h2{font-size:1.1rem;line-height:1.8;margin:6px 0 12px}
.journey-activity-card p,.journey-activity-card li,.journey-activity-card dd{white-space:normal!important;line-height:1.9;overflow-wrap:anywhere}
.journey-activity-goals{background:#eff7f6;border-radius:10px;padding:12px 16px}.journey-activity-goals ul{margin:6px 0;padding-inline-start:22px}
.journey-activity-card dl,.journey-assignment-summary{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;margin:18px 0}
.journey-activity-card dd,.journey-assignment-summary dd{margin:0}.journey-activity-card dt,.journey-assignment-summary dt{font-weight:700}
.journey-activity-card>details{margin-top:16px;border-top:1px solid #e0eaea;padding-top:12px}
.journey-activity-card details:not([open])>:not(summary){display:none!important}
.journey-pilot .compact-plan-pager{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center}
.journey-distribution-dates{margin-top:12px;padding-top:10px;border-top:1px solid #e0eaea}.journey-distribution-dates p{white-space:normal;line-height:1.9}
.journey-editor-assignment{padding:14px;background:#eff7f6;border-radius:12px;margin-top:18px}
@media(max-width:500px){.journey-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-activity-card{padding:14px}.journey-activity-card dl,.journey-assignment-summary{grid-template-columns:1fr;gap:4px}.journey-activity-card dd{margin-bottom:10px}.journey-activity-card .actions{display:flex;flex-wrap:wrap}}
@media(max-width:1100px), (max-width:1280px) and (pointer:coarse){
 .shell:has(.journey-pilot){display:block!important}
 .shell:has(.journey-pilot) .side{position:fixed;right:0;top:0;bottom:0;width:270px;max-width:calc(100vw - 48px);height:100dvh;overflow-y:auto;transform:translateX(100%);visibility:hidden;z-index:30}
 .shell:has(.journey-pilot) .side.open{transform:translateX(0);visibility:visible}
 .shell:has(.journey-pilot) .mobile-toggle{display:inline-block}
 .shell:has(.journey-pilot) .mobile-sidebar-close{display:block;min-height:44px}
 .shell:has(.journey-pilot) .side.open+.sidebar-backdrop{display:block;position:fixed;inset:0;width:100%;height:100dvh;z-index:29;background:#102f3980;border-radius:0}
}
/* Optional clarification belongs to priorities, with one compact card per topic. */
.swot-followups{margin-block:1rem;padding:1rem;border:1px solid #c9dddd;border-radius:12px;background:#f7fbfb}
.swot-followup-card{margin-block:.6rem;padding:.8rem;background:white;border:1px solid #dce7e7;border-radius:9px}
.swot-followup-card summary{cursor:pointer;line-height:1.8;font-weight:600}
.swot-followup-card summary small{display:block;color:#456d70;font-weight:400}
.swot-followup-card fieldset{margin-block:.8rem;border:1px solid #dce7e7;border-radius:8px;min-width:0}
.swot-followup-card fieldset label{display:flex;gap:.6rem;align-items:center;padding:.45rem}
.swot-followup-card input[type=checkbox]{width:auto;flex:0 0 auto}
.swot-followup-card textarea,.swot-followup-card select{width:100%;max-width:100%;box-sizing:border-box}
.swot-followup-card small{line-height:1.7}
/* School16 clarity pilot; never affects other schools. */
.journey-clarity .journey-stage-intro{display:flex;flex-direction:column;padding:18px;border-inline-start:4px solid #17756c;background:#f1f8f7;border-radius:12px}
.journey-clarity .journey-clarity-purpose{order:-1;color:#37645f;font-weight:700;margin-bottom:8px}
.journey-clarity .journey-stage-intro h1{margin:0 0 10px}
.journey-clarity .journey-stage-intro p{margin:0;line-height:1.8;font-size:1.05rem}
.journey-clarity-details{margin:14px 0;padding:14px;border:1px solid #d8e5e3;border-radius:10px;background:#fff}
.journey-clarity-details>summary{cursor:pointer;font-weight:600;line-height:1.8}
.journey-clarity-details[open]>summary{margin-bottom:16px}
.journey-clarity .journey-stages button{min-height:64px}
@media(max-width:600px){.journey-clarity .journey-stage-intro{padding:12px}.journey-clarity .journey-stages{gap:6px}.journey-clarity .journey-stages button{font-size:.85rem;padding:8px}.journey-clarity-details{padding:10px}}

/* Integrated planning pilot: every selector is scoped to school16-rendered panels. */
.integrated-analysis{border:1px solid #c6ded9;border-radius:14px;padding:18px;margin:18px 0;background:#f7fbfa;min-width:0}
.integrated-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.integrated-stats article{padding:12px;background:white;border:1px solid #d9e7e3;border-radius:10px}
.integrated-stats strong{display:block;font-size:1.6rem;color:#176f65}
.integrated-bar{padding:12px 0;border-bottom:1px solid #d9e7e3}
.integrated-bar span{display:block;overflow-wrap:anywhere}
.integrated-bar meter{width:75%;height:24px;vertical-align:middle;margin-inline-end:12px}
.integrated-card{padding:14px;border:1px solid #c6ded9;border-radius:10px;margin:12px 0;background:white;overflow-wrap:anywhere}
.integrated-pilot-panel{min-width:0}.integrated-pilot-panel .actions{flex-wrap:wrap}
@media(max-width:600px){.integrated-analysis{padding:12px}.integrated-bar meter{width:65%}}
