/* Shared layout contract: type, spacing, and responsive composition. */
:root{--page-width:1160px;--space-section:40px;--surface:#fffefa;--ink:#18334b;--muted:#536475;--line:#dce1e4}
body{font-family:Inter,'Avenir Next','Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.6;color:var(--ink)}
body>main,body.move-layout>main{padding:0 clamp(24px,3vw,48px)}
body #view,body.move-layout #view{max-width:var(--page-width);margin-inline:auto;padding-top:10px}
body>main>header{max-width:var(--page-width);margin-inline:auto;height:56px;padding:12px 0;border:0}
body>aside{width:240px;padding:24px 18px;background:#fffefa}
body>aside .brand{padding:0 12px 22px;border-bottom:1px solid var(--line)}
body>aside .navlabel{margin-top:24px;letter-spacing:1.2px}
body>aside nav a{font-size:14px;line-height:1.4;font-weight:500;min-height:44px}
body>aside nav a.active{background:#e9eff4;color:#163c60}
body .pagehead,body.move-layout .pagehead{padding:20px 0 24px;margin:0;max-width:820px}
body .pagehead h1,body.move-layout .pagehead h1{font-size:clamp(28px,2.7vw,38px);line-height:1.15;font-weight:650;letter-spacing:-1px;margin:8px 0 12px;text-wrap:balance}
body .pagehead p,body.move-layout .pagehead p{font-size:15px;line-height:1.65;max-width:66ch;color:var(--muted)}
body h2,body.move-layout h2{font-size:25px;line-height:1.25;letter-spacing:-.6px;font-weight:650;text-wrap:balance}
body h3,body.move-layout h3{font-size:19px;line-height:1.35;letter-spacing:-.25px}
body p{color:var(--muted)}
body .eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.4px;font-weight:700;color:#536a7e}
body .card,body.move-layout .card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:24px;box-shadow:none}
body .card p,body.move-layout .card p{font-size:14px;line-height:1.65}
body .field,body.move-layout .field{font-size:14px;font-weight:600;line-height:1.5}
body button,body .btn{font-family:inherit;line-height:1.4;font-size:14px;font-weight:600;min-height:44px;border-radius:10px}
body .small-help{font-size:12px!important;line-height:1.6;color:#5b6b79}
body .formgrid,body .primary-filters{gap:14px 20px;min-width:0}
body input,body select,body textarea{max-width:100%;min-width:0;border-color:#cbd5df;border-radius:9px}
body .reading-drawer{border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#fffefa}
body .reading-drawer>summary{padding:16px 18px;min-height:48px;font-size:14px;line-height:1.4}
body .tools{gap:10px;align-items:center}
body .sectionbar{gap:16px;flex-wrap:wrap}
body footer,body.move-layout main>footer{max-width:var(--page-width);margin:36px auto 0;padding:24px 0;font-size:12px;line-height:1.6}
/* Home: a short introduction, a single search surface, then the interactive example. */
body.move-layout .move-home-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:16px 40px;align-items:center;padding:32px 0 28px;margin:0}
body.move-layout .move-home-hero>.eyebrow{grid-column:1/-1;margin:0}
body.move-layout .move-home-hero h1{font-size:clamp(42px,4.2vw,62px);line-height:1.06;letter-spacing:-2px;margin:0;font-weight:600}
body.move-layout .move-home-hero h1 em{color:#446584;font-style:normal}
body.move-layout .move-home-intro{max-width:380px;padding:0}
body.move-layout .move-home-intro p{font-size:16px;line-height:1.7;margin:0 0 20px;max-width:36ch}
body.move-layout .move-home-intro>.btn{width:auto;margin:0 0 10px}
body .move-motion-path{grid-column:1/-1;display:flex;gap:24px;padding:20px 0 0;margin-top:8px;border-top:1px solid var(--line);justify-content:flex-start}
body .move-motion-path span{font-size:11px;letter-spacing:.7px;font-weight:650}body .move-motion-path i{display:none}
body.move-layout .move-search-section{display:block;padding:26px;background:#edf2f5;border:1px solid #d6e0e7;border-radius:18px;margin:0 0 var(--space-section);scroll-margin-top:20px}
body.move-layout .move-search-section>div:first-child{max-width:none;margin-bottom:22px}
body.move-layout .move-search-section h2{font-size:28px;line-height:1.25;margin:8px 0 10px;letter-spacing:-.7px}
body.move-layout .move-search-section>div>p{font-size:14px;line-height:1.6;margin:0;max-width:65ch}
body.move-layout #quick-start{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px 20px;padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body #quick-start>.eyebrow{display:none}body #quick-start>.field{margin:0}
body #quick-start .entry-leagues{grid-column:1/-1;margin:0;padding:0;border:0;display:flex;gap:8px;flex-wrap:wrap}
body #quick-start .entry-leagues legend{font-size:14px;font-weight:600;margin-bottom:8px;padding:0}
body #quick-start .entry-leagues button{margin:0;flex:1;min-width:100px}
body #quick-start .entry-submit{grid-column:1/-1;margin:0;width:100%;min-height:48px}
body #quick-start>.small-help{grid-column:1/-1;margin:0}
body #quick-start .multi-sports{margin:5px 0 0;background:#fff;border:1px solid #cbd5df;border-radius:9px}
body #quick-start .multi-sports>summary{min-height:48px;font-size:15px;line-height:1.4;padding:12px}
body.move-layout .recruiting-tour{padding:26px;background:#fffefa;border:1px solid var(--line);border-radius:18px;margin:0 0 var(--space-section)}
body.move-layout .tour-heading{margin:0 0 20px;align-items:start;gap:20px}
body.move-layout .tour-heading h2{font-size:26px;line-height:1.25;margin:8px 0 0}
body.move-layout .tour-tabs{gap:8px;margin-bottom:22px}body.move-layout .tour-tabs button{font-size:13px;min-height:44px}
body.move-layout .tour-scene-inner{grid-template-columns:minmax(0,1.2fr) minmax(210px,.8fr);gap:28px;align-items:center}
body.move-layout .tour-copy h3{font-size:24px;line-height:1.25}body.move-layout .tour-copy p{font-size:14px;line-height:1.7;min-height:0}
body.move-layout .product-demo{min-height:0;box-shadow:0 8px 24px #16324d0a}
body.move-layout .move-home-bottom{gap:32px;padding:28px 0;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
body.move-layout .move-home-bottom h2{font-size:24px;line-height:1.35;margin:10px 0}body.move-layout .move-home-bottom h2 br{display:none}
body.move-layout .move-home-bottom p{font-size:14px;line-height:1.7}
body .move-return{gap:14px;padding-left:28px}body .move-return h3{font-size:21px}
/* Responsive widths belong to the content area, not the original full-screen mockup. */
@media(min-width:701px) and (max-width:1100px){body.move-layout .move-home-hero{grid-template-columns:1fr;gap:20px}body.move-layout .move-home-intro{max-width:100%}body.move-layout .move-home-intro p{max-width:58ch}body.move-layout .move-home-hero h1 br:first-of-type{display:none}body.move-layout .tour-scene-inner{grid-template-columns:1fr}body.move-layout .tour-copy{max-width:65ch}body.move-layout .tour-illustration{max-width:600px;width:100%}}
@media(max-width:700px){
 body>main,body.move-layout>main{margin-left:0;padding:0 16px!important}body #view,body.move-layout #view{width:100%;padding-top:0}
 body>aside,body.move-layout>aside{padding:14px 16px!important}body>aside .brand{border:0;padding:0!important}body>aside .brand b .brand-name{font-size:19px!important}
 body .pagehead,body.move-layout .pagehead{padding:24px 0 20px}body .pagehead h1,body.move-layout .pagehead h1{font-size:29px;letter-spacing:-.8px}
 body .card,body.move-layout .card{padding:18px;border-radius:14px}body .formgrid,body .primary-filters{grid-template-columns:minmax(0,1fr);gap:10px}
 body.move-layout .move-home-hero{grid-template-columns:1fr;padding:26px 0 24px;gap:18px}body.move-layout .move-home-hero h1{font-size:43px;letter-spacing:-1.6px;line-height:1.08}body.move-layout .move-home-intro p{font-size:15px;margin-bottom:16px}
 body.move-layout .move-home-intro>.btn{width:100%;text-align:center;min-height:48px}body .move-motion-path{gap:12px;justify-content:space-between;padding-top:16px;margin:0}body .move-motion-path span{font-size:10px;letter-spacing:.2px}
 body.move-layout .move-search-section{padding:18px;margin-bottom:28px}body.move-layout .move-search-section h2{font-size:24px;margin:8px 0}body.move-layout .move-search-section>div:first-child{margin-bottom:18px}
 body.move-layout #quick-start{grid-template-columns:minmax(0,1fr);gap:16px}body #quick-start .entry-leagues{display:grid;grid-template-columns:1fr 1fr;gap:8px}body #quick-start .entry-leagues button{min-width:0;font-size:13px}body #quick-start .entry-leagues legend{margin-bottom:10px}
 body.move-layout .recruiting-tour{padding:18px;margin-bottom:28px}body.move-layout .tour-heading{display:block;margin-bottom:16px}body.move-layout .tour-heading h2{font-size:23px}body.move-layout .tour-heading>.small-help{display:block;margin-top:8px}
 body.move-layout .tour-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body.move-layout .tour-tabs button{padding:10px 5px;font-size:11px;line-height:1.4;white-space:normal}body.move-layout .tour-scene-inner{grid-template-columns:minmax(0,1fr);gap:20px}body.move-layout .tour-copy h3{font-size:22px}body .tour-controls{gap:8px;padding-top:16px}
 body.move-layout .move-home-bottom{grid-template-columns:1fr;padding:22px 0;gap:24px}body.move-layout .move-home-bottom h2{font-size:22px}body .move-return{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}
 body .workspace-tools,body .shortlist-grid,body .help-category-grid{grid-template-columns:minmax(0,1fr)}body .reading-drawer>summary{padding:14px;font-size:14px}
 body .college-map-top{align-items:start;gap:16px}body .college-map-top h2{font-size:23px}body .map-toolbar{width:100%;flex-wrap:wrap}body .map-toolbar>label{flex:1;min-width:150px}
 body .profile-section legend{font-size:18px}body .move-profile-tabs button{font-size:12px;line-height:1.3}body .conversation-sidebar{max-width:100%}body .conversation-main{padding:16px}
 body footer,body.move-layout main>footer{margin-top:24px;padding:20px 0 32px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){body .move-home-hero,body .move-reveal{animation:none;transition:none}}

.pack-document-help{margin:18px 0;padding:18px 20px;background:#edf3f6;border-left:3px solid #294f6b;border-radius:10px}.pack-document-help p{margin:8px 0;font-size:14px;line-height:1.6}.pack-document-help strong{font-size:18px}#pack-review select{width:100%;max-width:100%;text-overflow:ellipsis}#pack-review .field{margin-bottom:16px}

.personal-assistant-launcher{width:auto!important;min-width:82px;gap:8px;padding:12px 16px;display:flex;align-items:center;justify-content:center}.personal-assistant-launcher>span:first-child{font-size:21px;font-weight:600}.help-launcher-label{font-size:14px;font-weight:600}#personal-assistant-draft{min-height:48px;height:48px;width:100%;font:inherit}

/* Compact help: keep the close control visible and leave room for mobile navigation. */
.personal-assistant-launcher{border-radius:999px;min-height:48px}
.personal-assistant-head{flex-shrink:0;align-items:center}
#personal-assistant-close{min-width:44px;min-height:44px;padding:4px;line-height:1;border-radius:10px}
.personal-assistant-body .help-intro{margin:0 0 12px}
.personal-assistant-prompts{margin:12px 0;gap:8px}
.personal-assistant-prompts button{min-height:44px;font-size:13px}
#personal-assistant-draft{font-size:16px;background:#fff;color:#142747;border:1px solid #8c99ab;border-radius:10px;padding:10px 12px}
#personal-assistant-panel :focus-visible{outline:3px solid #7597c4;outline-offset:3px}
.assistant-resource summary{min-height:44px;display:list-item;align-content:center}
@media(max-width:700px){.personal-assistant-panel{bottom:calc(146px + env(safe-area-inset-bottom));max-height:calc(100dvh - 166px - env(safe-area-inset-bottom))}.personal-assistant-head{padding:12px 16px}.personal-assistant-body{padding:16px}}
@media(prefers-reduced-motion:reduce){.personal-assistant-panel:not([hidden]){animation:none}.personal-assistant-launcher{transition:none}}

/* Searchable multi-selection: keep controls stable while the list scrolls. */
.multi-sports .sport-picker-tools{display:flex;align-items:end;gap:12px;padding:12px 14px;border-top:1px solid #d7dce4;background:#f5f7fa}
.multi-sports .sport-picker-tools label{flex:1;min-width:0;font-size:13px;font-weight:600;color:#253d54}
.multi-sports .sport-picker-tools input{display:block;width:100%;min-height:44px;margin-top:6px;padding:10px 12px;font-size:16px;border:1px solid #8c99ab;border-radius:8px;color:#142747;background:#fff}
.multi-sports .sport-picker-tools button{min-height:44px;white-space:nowrap;font-size:13px;color:#294f6b}
.multi-sports .sport-picker-tools button:disabled{opacity:.55;cursor:default}
.multi-sports .multi-sport-list{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:264px}
.multi-sports .multi-sport-list label{min-height:44px;padding:8px;border-radius:6px;box-sizing:border-box}
.multi-sports .multi-sport-list label[hidden]{display:none}
.multi-sports .multi-sport-list label:has(input:checked){background:#edf3f6;font-weight:600}
.multi-sports .multi-sport-list label.facet-unavailable{color:#637181}
.multi-sports .sport-picker-status{margin:0;padding:10px 14px;font-size:12px;line-height:1.5;color:#526273;border-top:1px solid #e0e4ea}
.multi-sports :focus-visible{outline:3px solid #7597c4;outline-offset:2px}
@media(max-width:420px){.multi-sports .sport-picker-tools{flex-wrap:wrap}.multi-sports .sport-picker-tools label{flex-basis:100%}.multi-sports .sport-picker-tools button{padding:4px 0}.multi-sports .multi-sport-list{max-height:220px}}

.workspace-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.workspace-file-grid .card{min-width:0}.workspace-file-grid input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box;font-size:16px}.workspace-file-grid .check{align-items:start;margin:16px 0;line-height:1.5}.workspace-file-grid button{min-height:46px}.workspace-file-grid [hidden]{display:none!important}.workspace-device-note{padding:14px 18px;background:#edf3f6;border-radius:10px;color:#253d54;line-height:1.6}.workspace-import-preview{margin-top:20px;padding:18px;border:1px solid #8c99ab;border-radius:12px;background:#f5f7fa;overflow-wrap:anywhere}.workspace-import-preview:focus{outline:3px solid #7597c4;outline-offset:3px}.workspace-file-grid [role=status]{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.workspace-file-grid h2{margin-top:0}@media(max-width:1000px){.workspace-file-grid{grid-template-columns:minmax(0,1fr)}}

body.move-layout .workspace-return-link{display:block;margin-top:16px;font-size:14px;line-height:1.6;color:#294f6b;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px 0;box-sizing:border-box}

/* Audit refinements: readable gallery controls and persistent save recovery. */
#view .college-card .campus-photo-controls{background:#fff;color:#142747;border:1px solid #d7dfe5}
#view .college-card .campus-photo-controls button{background:#fff!important;color:#142747!important;min-width:44px;min-height:44px}
#view .college-card .campus-photo-controls button:hover{background:#e8edf3!important}
#view .college-card .campus-photo-controls button:focus-visible{outline:3px solid #426997;outline-offset:1px}
.workspace-save-problem{position:fixed;z-index:10000;bottom:16px;left:50%;transform:translateX(-50%);width:min(640px,calc(100vw - 32px));padding:20px;background:#fff9ec;color:#142747;border:2px solid #9b6921;border-radius:12px;box-shadow:0 8px 32px #14274730}
.workspace-save-problem p{margin:0 0 12px;line-height:1.5}.workspace-save-problem button{margin:4px;min-height:44px}
@media(max-width:700px){.workspace-save-problem{bottom:76px;max-height:65dvh;overflow:auto}.workspace-save-problem button{width:100%;margin:4px 0}}

/* A list remains scannable; the full gallery is available on click. */
#view .directory-list .college-card{grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:12px 24px;align-items:start}
#view .directory-list .college-card .campus-frame{grid-column:1;grid-row:1/5;width:100%;height:190px;min-height:0;max-height:190px;aspect-ratio:auto;margin:0}
#view .directory-list .college-card>.college-heading,#view .directory-list .college-card>h3,#view .directory-list .college-card>p,#view .directory-list .college-card>.sport-preview{grid-column:2;margin-top:0;margin-bottom:0}
#view .directory-list .college-card>.college-actions{grid-column:2;grid-row:auto;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0}
#view .directory-list .college-card>.college-actions>*{width:auto}
#view .directory-list .college-card>.campus-tour-links,#view .directory-list .college-card>.college-details{grid-column:1/-1}
#view .directory-list .college-card .campus-frame.is-unavailable{height:auto;max-height:none}
@media(max-width:700px){#view .directory-list .college-card{grid-template-columns:minmax(0,1fr);gap:12px}#view .directory-list .college-card .campus-frame{grid-column:1;grid-row:auto;height:200px;max-height:200px}#view .directory-list .college-card>.college-heading,#view .directory-list .college-card>h3,#view .directory-list .college-card>p,#view .directory-list .college-card>.sport-preview,#view .directory-list .college-card>.college-actions{grid-column:1}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:701px){
#view .directory-list .college-card>.college-heading{grid-row:1}
#view .directory-list .college-card>h3{grid-row:2}
#view .directory-list .college-card>p{grid-row:3}
#view .directory-list .college-card>.sport-preview{grid-row:4}
#view .directory-list .college-card>.college-actions{grid-row:5}
#view .directory-list .college-card>.campus-tour-links{grid-column:1;grid-row:5;padding:0;align-self:start}
#view .directory-list .college-card>.campus-tour-links a{white-space:normal;text-align:center;width:100%;margin:0}
}
