*{box-sizing:border-box}:root{--crew-primary:#cc0033;--crew-ink:#101820;--crew-muted:#596579;--crew-line:#dce0e5;font-family:CrewInter,Inter,'Segoe UI',Arial,sans-serif}body.crew-home{margin:0;background:#fdfdfc;color:var(--crew-ink)}.crew-header{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:100px;padding:20px 4.6%;border-bottom:1px solid var(--crew-line);background:#fff;color:var(--crew-ink);font-family:CrewInter,'Segoe UI',sans-serif;position:relative;z-index:30}.crew-header a{text-decoration:none;color:inherit}.crew-brand{display:flex;align-items:center;gap:30px;flex-shrink:0}.crew-brand>img{width:64px;height:64px;object-fit:contain}.crew-brand-copy{display:flex;flex-direction:column;border-left:1px solid #bec5cf;padding-left:30px;gap:4px}.crew-brand-copy strong{font-size:26px;letter-spacing:-1.1px;font-weight:650}.crew-brand-copy>span{font-size:14px;color:var(--crew-muted)}.crew-switcher{position:relative;min-width:280px}.crew-switcher summary{border:1px solid #a6aebc;border-radius:6px;padding:15px 19px;font-size:16px;font-weight:600;display:flex;gap:30px;justify-content:space-between;align-items:center;cursor:pointer;color:#465266}.crew-chevron{display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;width:8px;height:8px;transform:rotate(45deg);margin-top:-4px}.crew-header summary{list-style:none}.crew-header summary::-webkit-details-marker{display:none}.crew-switcher-menu,.crew-account-menu{position:absolute;top:calc(100% + 10px);left:0;right:0;background:#fff;box-shadow:0 14px 36px #10182018;border:1px solid var(--crew-line);border-radius:8px;padding:10px;z-index:40}.crew-switcher-menu>small{display:block;padding:10px 12px;color:var(--crew-muted);letter-spacing:2px;font-size:11px}.crew-switcher-menu a{padding:14px 12px;display:flex;align-items:center;justify-content:space-between;border-radius:4px}.crew-switcher-menu a>span:first-child{display:grid;gap:4px}.crew-switcher-menu a.selected{background:color-mix(in srgb,var(--crew-primary) 7%,white);color:var(--crew-primary)}.crew-switcher-menu a:hover,.crew-account-menu a:hover{background:#f4f5f7}.crew-switcher-menu .crew-all{border-top:1px solid var(--crew-line);border-radius:0;font-size:13px;margin-top:5px}.crew-header-actions{display:flex;gap:24px;align-items:center}.crew-help{display:flex;align-items:center;gap:8px;font-size:14px}.crew-help>span{font-size:21px}.crew-account{border-left:1px solid var(--crew-line);padding-left:24px;position:relative}.crew-account summary{display:flex;align-items:center;gap:14px;cursor:pointer;font-size:14px}.crew-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#eef0f3;font-weight:650}.crew-account-menu{left:auto;min-width:230px;padding:18px}.crew-account-menu strong,.crew-account-menu small,.crew-account-menu a{display:block;margin:5px 0 12px}.crew-account-menu small{color:var(--crew-muted)}.crew-account-menu a{border-top:1px solid var(--crew-line);padding-top:14px}.crew-home-main{max-width:1344px;margin:0 auto;padding:0 0 38px}.crew-hero{position:relative;padding:58px 0 64px}.crew-eyebrow{font-size:15px;letter-spacing:3px;font-weight:650;color:var(--crew-primary);margin:0 0 19px}.crew-hero h1{font-size:clamp(56px,6.1vw,94px);font-weight:600;letter-spacing:-5px;line-height:1.04;margin:0 0 17px;position:relative}.crew-lead{font-size:clamp(18px,2.15vw,31px);color:var(--crew-muted);margin:0;letter-spacing:-.6px}.crew-geometry{position:absolute;right:-7%;top:0;width:32%;height:100%;overflow:hidden;pointer-events:none;background:linear-gradient(45deg,transparent 49.9%,#dfe3e8 50%,transparent 50.2%)}.crew-geometry:before{content:'';position:absolute;border:1px solid #dfe3e8;border-radius:50%;width:300px;height:300px;right:-90px;top:0}.crew-geometry:after{content:'';position:absolute;border-top:1px solid #dfe3e8;border-left:1px solid #dfe3e8;top:160px;right:0;width:160px;height:200px}.crew-section-label{display:flex;gap:16px;align-items:center;margin:0 0 22px}.crew-section-label h2{font-size:12px;letter-spacing:1.8px;color:var(--crew-muted);font-weight:650;white-space:nowrap;margin:0}.crew-section-label>span{height:1px;background:#cbd2dc;flex:1}.crew-resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.crew-resource{display:block;padding:30px 34px 28px;border:1px solid #cfd5de;border-radius:6px;text-decoration:none;color:inherit;background:#fff;transition:border-color .18s,transform .18s}.crew-resource:hover{border-color:var(--crew-primary);transform:translateY(-2px)}.crew-resource-top{display:flex;justify-content:space-between;align-items:center;height:43px}.crew-resource-top>span{color:var(--crew-primary);font-size:14px;letter-spacing:2px;font-weight:650}.crew-resource svg{width:58px;height:58px;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.crew-resource h3{font-size:clamp(28px,3.1vw,45px);letter-spacing:-1.6px;font-weight:600;margin:19px 0 16px}.crew-resource p{color:var(--crew-muted);font-size:20px;line-height:1.45;max-width:480px;min-height:58px;margin:0 0 29px}.crew-resource-action{border-top:1px solid var(--crew-line);padding-top:20px;font-weight:600;font-size:17px;display:flex;align-items:center;gap:25px}.crew-resource-action>span{font-size:26px;font-weight:400;color:var(--crew-primary)}.crew-footer{border-top:1px solid #cbd2dc;margin:0 4.6%;padding:24px 0;display:flex;justify-content:space-between;gap:20px;font:13px CrewInter,'Segoe UI',sans-serif;color:var(--crew-muted);background:transparent}.crew-test-label{font-size:10px;padding:2px 6px;margin-left:8px;border:1px solid var(--crew-line);border-radius:3px;text-transform:uppercase}.crew-module-nav{display:flex;justify-content:center;gap:35px;padding:0 24px;border-bottom:1px solid var(--crew-line);background:#fff}.crew-module-nav a{padding:18px 0;text-decoration:none;color:#586273;font-size:15px;font-weight:600;border-bottom:3px solid transparent}.crew-module-nav a.active{border-color:var(--crew-primary);color:#101820}.crew-skip{position:absolute;left:-10000px}.crew-skip:focus{left:16px;top:10px;z-index:100;background:white;padding:15px}a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--crew-primary);outline-offset:4px}.crew-settings{max-width:800px;min-height:65vh;padding:55px 28px;margin:auto}.crew-settings h1{font-size:40px;letter-spacing:-1.4px}.crew-settings p{color:var(--crew-muted);line-height:1.6}.crew-settings form{display:grid;gap:24px}.crew-settings label{display:grid;gap:10px;font-weight:600}.crew-settings input{font:inherit;padding:10px;border:1px solid var(--crew-line);border-radius:4px}.crew-settings input[type=color]{height:52px;width:100px}.crew-settings button{justify-self:start;padding:13px 24px;background:var(--crew-primary);color:#fff;border:0;border-radius:4px;font:600 15px inherit;cursor:pointer}.crew-notice{padding:15px;background:#f1f5f2;border:1px solid #c5d9cb;border-radius:4px}.crew-error{background:#fff2f2;border-color:#e5b3b3}
@media(min-width:1500px){.crew-home-main{max-width:calc(100% - 192px)}}@media(max-width:1499px){.crew-home-main{margin:0 6.25%}.crew-brand-copy strong{font-size:23px}.crew-brand{gap:20px}.crew-brand-copy{padding-left:20px}.crew-switcher{min-width:235px}.crew-header{gap:20px}.crew-header-actions{gap:18px}}@media(max-width:1100px){.crew-header{flex-wrap:wrap}.crew-header-actions{margin-left:auto}.crew-switcher{order:3;min-width:100%}.crew-brand-copy strong{font-size:23px}.crew-hero h1{letter-spacing:-3px}.crew-resource{padding:24px}.crew-resource p{font-size:17px}.crew-module-nav{justify-content:flex-start;overflow-x:auto;gap:25px}.crew-module-nav a{white-space:nowrap}}@media(max-width:620px){.crew-header{padding:16px 20px;gap:15px}.crew-brand>img{width:42px;height:42px}.crew-brand{gap:12px}.crew-brand-copy{padding-left:12px}.crew-brand-copy strong{font-size:20px;letter-spacing:-.7px}.crew-brand-copy>span{font-size:10px}.crew-header-actions{gap:12px}.crew-account{padding-left:0;border:0}.crew-account summary>span:not(.crew-avatar){display:none}.crew-avatar{width:33px;height:33px}.crew-help{font-size:12px}.crew-help>span{display:none}.crew-home-main{margin:0 22px}.crew-hero{padding:42px 0}.crew-hero h1{font-size:54px;letter-spacing:-2.8px}.crew-eyebrow{font-size:12px}.crew-geometry{display:none}.crew-resource-grid{grid-template-columns:1fr}.crew-resource h3{font-size:34px}.crew-resource p{min-height:0}.crew-footer{flex-direction:column;font-size:11px;margin:0 22px;line-height:1.6}.crew-resource svg{width:47px;height:47px}}
.crew-eyebrow,.crew-resource-top>span,.crew-resource-action>span,.crew-switcher-menu a.selected{color:var(--crew-accent-ink,var(--crew-primary))}.crew-settings button,.button-primary{color:var(--crew-button-text,#fff)}
.crew-color-field{border:0;padding:0;margin:0;min-width:0}.crew-color-field legend{font-weight:600;margin-bottom:16px}.crew-color-controls{display:flex;align-items:start;gap:24px;flex-wrap:wrap;margin-bottom:12px}.crew-color-controls label{font-size:14px}.crew-color-controls input[type=text]{height:52px;width:170px;font-family:monospace;font-size:18px;text-transform:uppercase}.crew-color-field>small{color:var(--crew-muted)}

.crew-workspace{max-width:1080px}.crew-create{border:1px solid #ddd;border-radius:8px;padding:20px;margin:28px 0}.crew-create summary{cursor:pointer;font-weight:650;color:var(--crew-accent-ink)}.crew-create form{max-width:560px}.crew-settings input:not([type=color]):not([type=file]):not([type=hidden]){font:inherit;padding:10px;border:1px solid #bbb;border-radius:4px;max-width:100%;box-sizing:border-box}.crew-table-wrap{overflow-x:auto}.crew-table-wrap table{width:100%;border-collapse:collapse;text-align:left}.crew-table-wrap th,.crew-table-wrap td{padding:14px 10px;border-bottom:1px solid #e5e5e5}.crew-table-wrap th{font-size:13px;color:#666}


.crew-secret{display:block;overflow-wrap:anywhere;user-select:all}.crew-staff-card{border-top:1px solid #ddd;padding:18px 0}.crew-inline-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.crew-settings select{font:inherit;padding:10px;border:1px solid #bbb;border-radius:4px}.crew-account-menu form{margin:12px 16px}.crew-account-menu button{font:inherit;background:white;border:1px solid #bbb;border-radius:4px;padding:8px;cursor:pointer}


/* Shared application components. Standards: design/crew/STYLE_GUIDE.md */
:root{--crew-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--crew-radius:10px;--crew-surface:#fff;--crew-canvas:#f8fafb;font-family:var(--crew-font);line-height:1.5}
body.crew-home{font-family:var(--crew-font);background:var(--crew-canvas);min-height:100vh;display:flex;flex-direction:column}
button,input,select,textarea{font:inherit}
a{color:var(--crew-accent-ink);text-underline-offset:4px}
:where(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--crew-accent-ink);outline-offset:4px}
.crew-header,.crew-footer{font-family:var(--crew-font)}
.crew-header{gap:24px}.crew-brand-copy strong{line-height:1.25}
.crew-header summary{min-height:44px}
.crew-switcher summary{font-size:15px;border-radius:8px;border-color:#b6c0cc}
.crew-switcher-menu,.crew-account-menu{border-radius:12px;box-shadow:0 16px 40px #17212b14}
.crew-switcher-menu a,.crew-account-menu a{min-height:44px}
.crew-switcher-menu a>span>span{font-size:13px;color:var(--crew-muted)}
.crew-account-menu{min-width:245px;padding:12px}
.crew-account-menu strong,.crew-account-menu small{padding:2px 10px;overflow-wrap:anywhere;margin:0 0 6px}
.crew-account-menu a{border:0;padding:10px;border-radius:6px;font-size:14px;margin:0}
.crew-account-menu form{margin:8px 0 0;border-top:1px solid var(--crew-line);padding-top:8px}
.crew-account-menu button{border:0;background:transparent;padding:10px;text-align:left;width:100%;min-height:44px;border-radius:6px;font-size:14px}
.crew-account-menu button:hover{background:#f3f5f8}
.crew-avatar svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7}
.crew-module-nav{justify-content:flex-start;padding:0 max(24px,6.25%)}
.crew-module-nav a{font-size:14px}
.crew-home-main{flex:1;width:87.5%;max-width:1344px;margin:0 auto}
.crew-resource{border-radius:var(--crew-radius)}
.crew-geometry{right:-5%}
.crew-settings{width:100%;max-width:1160px;padding:52px 32px 64px;margin:0 auto;min-height:0;flex:1;min-width:0}
.crew-settings h1{font-size:42px;line-height:1.15;letter-spacing:-1.5px;font-weight:650;margin:0 0 16px;overflow-wrap:anywhere}
.crew-settings h2{font-size:22px;line-height:1.3;letter-spacing:-.4px;font-weight:650;margin:32px 0 12px}
.crew-settings p{color:var(--crew-muted);line-height:1.65;margin:0 0 20px;max-width:76ch}
.crew-settings p.crew-eyebrow{font-size:12px;letter-spacing:2px;color:var(--crew-accent-ink);margin-bottom:12px;line-height:1.5}
.crew-settings ul{padding-left:22px;color:var(--crew-muted);line-height:1.75}
.crew-settings li+li{margin-top:6px}
.crew-auth{max-width:560px;padding-top:56px}
.crew-auth h1{font-size:36px}
.crew-form-page{max-width:850px}
.crew-settings form{display:grid;gap:20px;margin:24px 0}
.crew-settings label{display:grid;gap:8px;font-size:14px;font-weight:600;min-width:0}
.crew-settings label small,.crew-settings fieldset>small{font-size:13px;font-weight:400;line-height:1.5;color:var(--crew-muted)}
.crew-settings input:not([type=hidden]),.crew-settings input:not([type=color]):not([type=file]):not([type=hidden]),.crew-settings select,.crew-settings textarea{font:400 16px/1.5 var(--crew-font);color:var(--crew-ink);background:#fff;border:1px solid #aebac8;border-radius:7px;padding:10px 12px;width:100%;min-width:0;min-height:46px}
.crew-settings input:focus,.crew-settings select:focus{border-color:var(--crew-accent-ink)}
.crew-settings input::placeholder{color:#66758a;opacity:1}
.crew-settings button,.crew-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:44px;padding:11px 20px;background:var(--crew-primary);color:var(--crew-button-text);border:1px solid transparent;border-radius:7px;font:600 14px/1.4 var(--crew-font);text-decoration:none;cursor:pointer}
.crew-settings button:hover,.crew-button:hover{filter:brightness(.95);box-shadow:0 2px 6px #17212b15;text-decoration:none}
.crew-settings button.crew-button-secondary{background:#fff;border-color:#aebac8;color:var(--crew-ink)}
.crew-settings .crew-inline-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}
.crew-inline-form label{flex:1 1 180px}.crew-inline-form button{flex-shrink:0}
.crew-settings .crew-search{padding:20px;background:#fff;border:1px solid var(--crew-line);border-radius:var(--crew-radius)}
.crew-create{border:1px solid var(--crew-line);border-radius:var(--crew-radius);padding:0;margin:28px 0;background:#fff;overflow:hidden}
.crew-create summary{padding:20px 24px;cursor:pointer;font-size:15px;font-weight:600;color:var(--crew-accent-ink);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.crew-create summary::-webkit-details-marker{display:none}.crew-create summary:after{content:"+";font-size:24px;font-weight:400;line-height:1}
.crew-create[open]>summary{border-bottom:1px solid var(--crew-line)}.crew-create[open]>summary:after{content:"−"}
.crew-create form{max-width:720px;padding:24px;margin:0;gap:20px}
form.crew-create,section.crew-create{padding:24px}
section.crew-create>form{padding:0}
@media(max-width:600px){form.crew-create,section.crew-create{padding:20px}}
.crew-staff-card{border:1px solid var(--crew-line);border-radius:var(--crew-radius);padding:24px;margin-top:20px;background:#fff}
.crew-staff-card h2{margin:0 0 8px;font-size:20px}.crew-staff-card p{margin-bottom:16px}
.crew-staff-card form:last-child{margin-bottom:0}.crew-staff-card .crew-inline-form{max-width:760px}
.crew-settings .crew-notice,.crew-settings [role=status],.crew-settings [role=alert]{padding:16px 18px;border:1px solid #d5dfe9;border-radius:8px;background:#f0f4f8;color:#34465b;max-width:none;margin:20px 0;font-size:14px}
.crew-settings [role=status]{background:#eff7f2;border-color:#c9e1d1;color:#25583a}
.crew-settings .crew-error,.crew-settings [role=alert]{background:#fff3f2;border:1px solid #e5bab5;color:#8f2922}
.crew-notice p:last-child{margin-bottom:0}
.crew-secret{display:block;overflow-wrap:anywhere;user-select:all;padding:12px;background:#fff;border-radius:6px;border:1px solid var(--crew-line);margin:12px 0}
.crew-settings p.crew-empty{padding:32px;border:1px dashed #bac6d3;border-radius:var(--crew-radius);background:#fff;max-width:none;text-align:center}
.crew-stat{margin:32px 0;padding:28px;border:1px solid var(--crew-line);border-radius:var(--crew-radius);background:#fff;max-width:480px}
.crew-stat h2{font-size:42px;margin:0 0 20px;letter-spacing:-1px}
.crew-stat h2 span{display:block;font-size:14px;color:var(--crew-muted);letter-spacing:0;font-weight:500;margin-top:6px}
.crew-stat p{margin:0}
.crew-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--crew-line);border-radius:var(--crew-radius);margin:20px 0}
.crew-table-wrap table{font-size:14px}
.crew-table-wrap th,.crew-table-wrap td{padding:16px 20px;border-bottom:1px solid var(--crew-line);vertical-align:top}
.crew-table-wrap th{font-size:12px;font-weight:650;color:#536177;background:#f1f4f7}
.crew-table-wrap tbody tr:last-child td{border-bottom:0}.crew-table-wrap tbody tr:hover{background:#fafbfd}
.crew-table-wrap td{overflow-wrap:anywhere;max-width:340px}.crew-table-wrap td a{font-weight:600}
.crew-status{display:inline-block;padding:4px 9px;background:#f0f3f6;border:1px solid #dbe2e9;border-radius:5px;font-size:12px;color:#425066;white-space:nowrap}
.crew-settings .crew-color-controls input[type=color]{height:50px;width:86px;padding:5px;cursor:pointer}
.crew-settings .crew-color-controls input[type=text]{height:50px;width:170px;font-family:ui-monospace,Consolas,monospace;text-transform:uppercase}
.crew-logo-preview{width:96px;height:96px;object-fit:contain;border:1px solid var(--crew-line);border-radius:8px;padding:10px;background:#fff}
.crew-settings input[type=file]{font-size:14px}
.crew-settings input[type=file]::file-selector-button{border:0;border-right:1px solid var(--crew-line);background:#f1f4f7;color:var(--crew-ink);padding:8px 12px;margin:-4px 12px -4px -6px;font:600 13px var(--crew-font);cursor:pointer}
.crew-footer{font-size:12px;line-height:1.6}
@media(max-width:620px){
 .crew-header{gap:14px}.crew-brand-copy strong{font-size:19px}.crew-account summary{min-width:36px}.crew-account-menu{min-width:240px;max-width:calc(100vw - 40px)}
 .crew-home-main{width:calc(100% - 40px);margin:0 20px}.crew-hero h1{font-size:52px}.crew-resource h3{font-size:32px}
 .crew-settings{padding:36px 20px 48px}.crew-settings h1{font-size:32px;letter-spacing:-1px}.crew-settings h2{font-size:21px}.crew-settings p{font-size:15px}
 .crew-create summary{padding:18px}.crew-create form{padding:20px}.crew-staff-card{padding:20px}.crew-inline-form label{flex-basis:100%}
 .crew-settings .crew-search{padding:18px}.crew-settings button{min-height:46px}.crew-table-wrap table{min-width:540px}.crew-table-wrap th,.crew-table-wrap td{padding:14px 16px}
 .crew-stat{padding:24px}.crew-stat h2{font-size:40px}.crew-footer{font-size:11px}
}
@media(max-width:360px){.crew-header{padding:14px 16px}.crew-brand-copy strong{font-size:17px}.crew-brand-copy>span{font-size:8px}.crew-brand>img{width:34px;height:34px}.crew-help{display:none}.crew-hero h1{font-size:46px}.crew-resource{padding:22px}.crew-color-controls{gap:16px}.crew-settings .crew-color-controls input[type=text]{width:145px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}.crew-resource:hover{transform:none}}
.crew-table-hint{display:none}
.crew-settings .crew-color-controls #primaryColorHex{width:170px;font-family:ui-monospace,Consolas,monospace}
@media(max-width:620px){.crew-settings .crew-table-hint{display:block;font-size:12px;margin-bottom:8px}}
@media(max-width:360px){.crew-settings .crew-color-controls #primaryColorHex{width:145px}}
/* Adapted module surfaces share the CREW visual scale. */
body:has(.crew-header){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f6f7f9;color:#182230}
.crew-header~.page-shell,.crew-module-nav~.page-shell{max-width:1160px;padding-top:36px}
.page-shell .page-heading h1{font-size:42px;line-height:1.15;letter-spacing:-1.2px}
.page-shell .panel,.page-shell .metric-card,.page-shell .action-card{border-radius:10px;border:1px solid #dfe3e8;box-shadow:none}
.page-shell .action-card h2{color:#182230;font-size:22px}
.page-shell .button-primary{background:var(--crew-primary);color:var(--crew-button-text);border-color:var(--crew-primary)}
.page-shell input,.page-shell select,.page-shell textarea,.crew-settings textarea{font:inherit;font-size:16px}
.crew-settings textarea{width:100%;padding:12px;border:1px solid #ccd3dc;border-radius:7px;box-sizing:border-box}
.crew-module-nav{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start}.crew-module-nav a{white-space:nowrap}
.crew-settings button:disabled{opacity:.5;cursor:not-allowed;filter:none;box-shadow:none}
/* One secondary-navigation surface for both modules. Numbers denote workflow stages. */
nav.crew-secondary-nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:4px;padding:4px;margin:0 0 24px;max-width:100%;min-width:0;border:1px solid var(--crew-line);border-radius:10px;background:#fff;box-shadow:none;overflow-x:auto;scrollbar-width:thin;scroll-padding:8px}
nav.crew-secondary-nav>a,nav.crew-secondary-nav>span{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:8px 14px;margin:0;border:0;border-radius:6px;background:transparent;color:var(--crew-muted);font:600 14px/1.4 var(--crew-font);text-decoration:none;white-space:nowrap;box-shadow:none;text-align:left}
nav.crew-secondary-nav>a:hover{background:#f3f5f7;color:var(--crew-ink)}
nav.crew-secondary-nav>a:focus-visible{outline:2px solid var(--crew-accent-ink);outline-offset:-2px}
nav.crew-secondary-nav>:is(.active,.is-active,.is-current){background:color-mix(in srgb,var(--crew-primary) 7%,white);color:var(--crew-accent-ink)}
nav.crew-secondary-nav>span::after{display:none}
nav.crew-step-nav>a>span,nav.crew-step-nav>span>b{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin:0;border:0;border-radius:50%;background:#eef0f3;color:var(--crew-muted);font:600 14px/1 var(--crew-font)}
nav.crew-step-nav>a>b{font:inherit}
nav.crew-step-nav>:is(.active,.is-active,.is-current)>:first-child{background:var(--crew-primary);color:var(--crew-button-text)}
nav.crew-step-nav>:is(.complete,.is-complete)>:first-child{background:#e6f3eb;color:#256342}
/* JAIN's administration include sits outside main; align its surface with main content. */
nav.admin-nav.crew-secondary-nav{width:calc(100% - 48px);max-width:1160px;margin:28px auto 0}
.wizard-shell nav.crew-secondary-nav{max-width:1040px;margin-left:auto;margin-right:auto}
@media(max-width:600px){nav.crew-secondary-nav>a,nav.crew-secondary-nav>span{min-height:46px;padding:8px 12px}nav.admin-nav.crew-secondary-nav{width:calc(100% - 32px);margin-top:24px}}
@media(max-width:600px){.page-shell .page-heading h1{font-size:32px}.page-shell{max-width:100%;box-sizing:border-box}.page-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-shell .action-grid{grid-template-columns:1fr}.crew-header~.page-shell,.crew-module-nav~.page-shell{padding-top:28px}}

/* Keep wide report tables scrollable within their cards on narrow screens. */
.page-shell .report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-shell .report-grid>.panel{min-width:0;overflow-x:auto}.page-shell .metric-card{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.page-shell .report-grid{grid-template-columns:minmax(0,1fr)}}
/* LARRY uses CREW's shared controls and spacing. */
.larry-workspace{max-width:1160px}.larry-toolbar,.larry-actions,.larry-resource-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.larry-toolbar{margin:30px 0;align-items:end}.larry-toolbar label{flex:1;min-width:220px}.larry-db-heading{margin:28px 0}.larry-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.larry-workspace form{display:grid;gap:20px}.larry-workspace label{display:grid;gap:8px}.larry-workspace input,.larry-workspace select,.larry-workspace textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:11px;border:1px solid #cbd0d6;border-radius:7px;background:#fff;min-height:46px}.larry-workspace textarea{resize:vertical}.larry-workspace input[type=color]{max-width:160px;padding:5px}.larry-workspace .larry-check,.larry-check{display:flex;align-items:center;gap:10px}.larry-workspace input[type=checkbox],.larry-workspace input[type=radio],.larry-check input{width:20px;min-height:20px;height:20px;flex-shrink:0}.larry-workspace fieldset{border:1px solid #d9dde2;border-radius:10px;padding:20px;min-width:0}.larry-workspace legend{font-weight:650;padding:0 8px}.larry-field-editor{margin:16px 0;display:grid;gap:18px}.larry-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.larry-metrics .crew-stat{display:grid;gap:4px}.larry-metrics strong{font-size:30px}.larry-resource{padding:24px 0;border-bottom:1px solid #d9dde2}.larry-resource h3{margin:0;flex:1}.larry-muted{color:#59616c;font-size:14px}.larry-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.larry-form-field{padding:8px 0}.larry-review{border-top:1px solid #d9dde2;margin-top:32px;padding-top:20px}.larry-preview-frame{width:100%;min-height:600px;border:1px solid #d9dde2;margin-top:24px}.larry-workspace .crew-secondary-nav button{white-space:nowrap;background:transparent;color:#242a31;border:0}.larry-workspace .crew-secondary-nav button[aria-current=page]{background:color-mix(in srgb,var(--crew-primary) 10%,white);color:var(--crew-accent-ink);box-shadow:inset 0 -3px var(--crew-primary)}.larry-embed{margin:0;background:white;color:#202020;font:16px/1.65 Inter,system-ui,sans-serif}.larry-directory{max-width:1160px;margin:auto;padding:32px 24px}.larry-directory h1{font-size:38px;line-height:1.2;margin:0 0 18px}.larry-public-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;margin-top:36px}.larry-public-grid form{align-self:start;background:var(--larry-color,#cc0033);color:var(--larry-on-color,white);padding:26px;display:grid;gap:22px}.larry-public-grid form>label{display:grid;gap:10px;font-weight:650}.larry-public-grid input[type=search]{width:100%;box-sizing:border-box;min-height:46px;border:0;padding:10px;font:inherit}.larry-public-grid form details summary{cursor:pointer;font-weight:650;min-height:44px}.larry-public-grid form .larry-check{margin:10px 0}.larry-public-grid form button{background:transparent;color:inherit;border:1px solid currentColor;border-radius:6px;padding:10px;font:inherit;cursor:pointer;min-height:44px}.larry-result{padding:0 22px;border-bottom:1px solid #ddd;overflow-wrap:anywhere}.larry-result:nth-child(even){background:#f3f3f3}.larry-result summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 0;cursor:pointer;list-style:none;font-size:22px;font-weight:650}.larry-result summary::-webkit-details-marker{display:none}.larry-expand:after{content:'+';font-size:30px}.larry-result[open] .larry-expand:after{content:'−'}.larry-result>div{padding-bottom:24px}.larry-result a{color:#252525;text-decoration:underline;font-weight:650}.larry-directory button{font:inherit;min-height:44px;cursor:pointer}.larry-directory :focus-visible{outline:3px solid currentColor;outline-offset:4px}.larry-directory #public-pagination{margin-top:24px}.larry-workspace table{border-collapse:collapse;width:100%}.larry-workspace th,.larry-workspace td{padding:12px;text-align:left;border-bottom:1px solid #ddd}.larry-workspace .crew-notice:empty{display:none}
@media(max-width:700px){.larry-two-col,.larry-public-grid{grid-template-columns:1fr}.larry-public-grid{gap:24px}.larry-metrics{gap:8px}.larry-metrics .crew-stat{padding:12px}.larry-metrics strong{font-size:24px}.larry-directory{padding:24px 16px}.larry-directory h1{font-size:30px}.larry-result summary{font-size:19px}.larry-toolbar label{min-width:0;width:100%}.larry-workspace .larry-actions>button{max-width:100%;white-space:normal}.larry-workspace fieldset{padding:14px}.larry-workspace .crew-secondary-nav{overflow-x:auto}.larry-workspace h2,.larry-workspace h3{overflow-wrap:anywhere}}
.crew-settings.larry-workspace label.larry-check input[type=checkbox],.crew-settings.larry-workspace label.larry-check input[type=radio]{width:20px;height:20px;min-height:20px;max-width:20px;padding:0;flex:0 0 20px}.larry-workspace nav.crew-secondary-nav{flex-wrap:wrap;overflow:visible;width:100%}.larry-workspace nav.crew-secondary-nav>button{flex:0 1 auto;white-space:normal;text-align:left}.larry-workspace .larry-check{justify-content:flex-start;font-weight:400}
@media(max-width:700px){.larry-workspace nav.crew-secondary-nav{display:grid;grid-template-columns:1fr 1fr}.larry-workspace nav.crew-secondary-nav>button{width:100%;justify-content:flex-start;padding:10px}}
.larry-public-tools{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap}.larry-public-tools label{display:grid;gap:6px;font-size:14px}.larry-public-tools select{font:inherit;font-size:16px;min-height:44px;padding:8px;border:1px solid #aaa;background:white;border-radius:6px;max-width:100%}.larry-public-grid section{min-width:0}.larry-directory [aria-busy=true] #public-results{opacity:.55}.larry-directory #public-error:empty{display:none}

#larry-feedback:empty{display:none}

/* LARRY uses the same operational placement and visual scale as AARON/JAIN. */
.crew-settings.larry-workspace{width:min(1160px,calc(100% - 32px));max-width:1160px;padding:36px 0 64px;margin:0 auto;line-height:1.45}
.larry-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.larry-page-heading h1{font-size:42px;font-weight:700;line-height:1.15;letter-spacing:-1.2px;margin:3px 0 6px}
.larry-page-heading p{margin:0;color:#64666b;font-size:16px;line-height:1.45}
.larry-page-heading p.crew-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--crew-accent-ink);margin:0;text-transform:uppercase}
.larry-page-heading button{flex-shrink:0}.larry-page-heading button[hidden]{display:none}
.larry-workspace .larry-toolbar{margin:0 0 24px;align-items:end}.larry-toolbar label{max-width:520px}
.larry-workspace .larry-db-heading{margin:0 0 20px}.larry-db-heading h2{margin:0 0 6px;font-size:22px}.larry-db-heading p{margin:0}
.larry-workspace input,.larry-workspace select,.larry-workspace textarea{font-size:16px;line-height:1.45}
.larry-workspace .larry-metrics{margin:0 0 24px;gap:16px}.larry-metrics .crew-stat{padding:20px;border:1px solid #dfe3e8;border-radius:10px;background:white;display:flex;flex-direction:column}
.larry-metrics .crew-stat span{order:-1;font-size:16px;font-weight:600;color:#64666b}.larry-metrics .crew-stat strong{font-size:40px;line-height:1.45;margin-top:6px}
.larry-workspace #larry-panel>h2{margin:0 0 8px}.larry-workspace #larry-panel>p{margin:0 0 24px}
.larry-workspace .crew-empty{padding:32px;border:1px dashed #bac6d3;border-radius:10px;background:white;text-align:center;margin-top:24px}.larry-workspace .crew-empty h3{margin:0 0 8px}
.larry-workspace .larry-field-editor{background:white}.larry-workspace .crew-color-controls{gap:16px;display:flex;flex-wrap:wrap}.larry-workspace #larry-color-hex{max-width:170px;font-family:ui-monospace,Consolas,monospace}
@media(max-width:620px){.crew-settings.larry-workspace{width:calc(100% - 16px);padding:28px 0 64px}.larry-page-heading{flex-direction:column;align-items:stretch}.larry-page-heading h1{font-size:32px}.larry-page-heading button{width:100%}.larry-workspace .larry-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.larry-toolbar label{max-width:none}.larry-workspace .larry-toolbar>button{width:100%}}
.crew-settings.larry-workspace select,.crew-settings.larry-workspace input:not([type=checkbox]):not([type=radio]),.crew-settings.larry-workspace textarea{font-size:16px}.larry-workspace .larry-metrics .crew-stat{margin:0;max-width:none}
/* Checkout-specific QR handoff. */
.crew-checkout-handoff { display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:start;margin-bottom:24px; }
.crew-checkout-instructions > summary { cursor:pointer;font-weight:600; }
.crew-checkout-actions { display:flex;justify-content:flex-start;align-items:stretch;flex-wrap:wrap;gap:12px; }
.crew-qr-connected [data-student-fields] { display:none; }
@media(max-width:600px){.crew-checkout-actions{flex-direction:column;align-items:stretch}.crew-checkout-actions .button{width:100%}}
.crew-checkout-qr { background:#fff;padding:0;max-width:180px; }
.crew-checkout-qr img,.crew-checkout-qr canvas { max-width:100%;height:auto; }
.crew-checkout-handoff.crew-qr-arrived { grid-template-columns:minmax(0,1fr); }
.crew-checkout-manual { border-top:1px solid #dde2e7;padding-top:18px;margin-top:18px; }
.crew-checkout-manual summary { cursor:pointer;font-weight:600; }
.crew-qr-connected [data-student-fields] > label { display:none; }
.crew-checkout-handoff p { overflow-wrap:anywhere; }
@media(max-width:600px){.crew-checkout-handoff{grid-template-columns:minmax(0,1fr);gap:18px}.crew-checkout-handoff h2{font-size:24px}.crew-checkout-qr{order:2}.crew-student-arrival button{width:100%;margin-top:12px}}

.crew-student-arrival [hidden],.crew-checkout-visit [data-command="checkoutPass"] { display:none !important; }

.crew-account-match{border-top:1px solid #dfe3e8;padding:16px 0;overflow-wrap:anywhere}.crew-account-match p{margin:4px 0 12px}.crew-checkout-handoff [hidden]{display:none!important}

/* Database-specific LARRY navigation uses the shared JAIN in-page bar. */
.larry-workspace #larry-database-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;margin:0 0 24px;scrollbar-width:thin}
.larry-workspace #larry-database-nav>a{flex:0 0 auto;white-space:nowrap}

/* Give LARRY expandable panel bodies the same gutters as CREW creation forms. */
.larry-workspace details.crew-create>.larry-form-field{padding:24px;display:grid;gap:20px;min-width:0}
.larry-workspace details.crew-create>.larry-form-field>p{margin:0}
.larry-workspace details.crew-create>.larry-form-field>button{justify-self:start;max-width:100%;white-space:normal}
.larry-workspace #ai-result:empty{display:none}
.larry-workspace #ai-result{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){.larry-workspace details.crew-create>.larry-form-field{padding:20px}}

/* LARRY compact field ordering, pointer and keyboard/touch controls. */
.larry-workspace .larry-order-list{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px}.larry-workspace .larry-order-list li{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #d9dde2;border-radius:7px;background:white;cursor:grab}.larry-workspace .larry-order-list li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.larry-workspace .larry-order-list label{font-size:14px;flex:0 0 80px}.larry-workspace .larry-order-list select{padding:8px}

.larry-workspace .larry-order-body{padding:16px}.larry-workspace .larry-order-body>p{margin:0}

.larry-workspace #database-form[hidden],.larry-workspace #field-order-view[hidden],.larry-workspace #form-preview[hidden]{display:none}

/* Padded LARRY selects with consistent rendering on Safari and desktop browsers. */
.larry-workspace select{
 -webkit-appearance:none;appearance:none;min-height:48px;height:auto;
 padding:12px 44px 12px 14px;line-height:1.5;border-radius:7px;
 background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23596579' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;
}
.larry-workspace .larry-order-list select{padding:12px 32px 12px 10px;background-position:right 10px center}
.crew-home:has(.larry-workspace) .crew-switcher>summary{min-height:54px;padding:16px 20px;line-height:1.5}
.crew-home:has(.larry-workspace) .crew-switcher-menu>a{padding:16px}
@media(forced-colors:active){.larry-workspace select{-webkit-appearance:menulist;appearance:auto;background-image:none}}

.larry-workspace #review-points{display:grid;gap:16px}.larry-workspace .larry-review-point{display:grid;gap:16px;background:white}
/* Fair administration keeps readable columns inside a keyboard-scrollable region. */
.crew-fair-template-table {max-width:100%;overflow-x:auto;}
.crew-fair-template-table .cfbooth-table {min-width:640px;table-layout:auto;}
.crew-fair-template-table .cfbooth-table th,.crew-fair-template-table .cfbooth-table td {word-break:normal;overflow-wrap:normal;}

/* Approved tagline-led homepage, September 25. Scoped to landing page. */
.crew-home-main.crew-home-landing{max-width:1440px;width:90.8%;padding-top:30px;margin-left:auto;margin-right:auto}
.crew-campus-banner{background:#18231c url('crew-campus-hero-v1.png') center/cover no-repeat;border-radius:14px;min-height:390px;padding:46px 48px;margin-bottom:34px;overflow:hidden;display:flex;align-items:center}
.crew-hero-copy{position:relative;max-width:55%}
.crew-campus-banner .crew-eyebrow{color:#fff;font-size:11px;letter-spacing:2.5px;opacity:.85;margin-bottom:17px}
.crew-campus-banner h1{font-size:clamp(44px,4.4vw,64px);line-height:1.03;letter-spacing:-2.5px;color:#fff;font-weight:600;margin-bottom:18px}
.crew-campus-banner .crew-lead{font-size:18px;line-height:1.5;color:#f1f3f2;letter-spacing:0;max-width:380px}
.crew-hero-link{display:inline-flex;align-items:center;gap:25px;color:#fff;text-decoration:none;font-size:14px;font-weight:600;margin-top:25px;min-height:44px;border-bottom:1px solid #ffffff70}
.crew-hero-link:focus-visible{outline-color:#fff}
.crew-home-landing .crew-resource-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:22px}
.crew-home-landing .crew-resource{padding:25px 28px 22px;display:flex;flex-direction:column}
.crew-home-landing .crew-resource h3{font-size:30px;line-height:1.15;letter-spacing:-1px;min-height:69px;margin:16px 0 9px}
.crew-home-landing .crew-resource p{font-size:16px;line-height:1.55;margin-bottom:23px;min-height:50px}
.crew-home-landing .crew-resource svg{width:43px;height:43px;stroke-width:2}
.crew-home-landing .crew-resource-action{font-size:14px;justify-content:space-between;margin-top:auto;padding-top:14px}
@media(max-width:900px){.crew-home-landing .crew-resource-grid{grid-template-columns:1fr}.crew-home-landing .crew-resource h3{min-height:0}.crew-campus-banner{padding:35px;min-height:350px}.crew-hero-copy{max-width:65%}}
@media(max-width:620px){
 .crew-home-main.crew-home-landing{width:calc(100% - 40px);padding-top:20px}
 .crew-campus-banner{padding:29px 25px;min-height:430px;background-position:65% center;isolation:isolate}
 .crew-campus-banner:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101c16e8,#101c1670);z-index:-1}
 .crew-hero-copy{max-width:100%}
 .crew-campus-banner h1{font-size:clamp(32px,9.5vw,40px);letter-spacing:-1.5px}
 .crew-campus-banner .crew-lead{font-size:17px;max-width:240px}
 .crew-campus-banner .crew-eyebrow{font-size:9px;letter-spacing:1.8px}
 .crew-home-landing .crew-resource{padding:25px}
 .crew-home-landing .crew-resource h3{font-size:29px}
}

/* Hero module disclosure preserves the underlined call-to-action. */
.crew-campus-banner{overflow:visible;z-index:2}
.crew-campus-banner:before{border-radius:inherit}
.crew-hero-picker{position:relative;width:fit-content;max-width:100%}
.crew-hero-picker summary{list-style:none;cursor:pointer}
.crew-hero-picker summary::-webkit-details-marker{display:none}
.crew-hero-picker[open] .crew-chevron{transform:rotate(225deg);margin-top:4px}
.crew-hero-options{position:absolute;top:calc(100% + 8px);left:0;width:min(330px,calc(100vw - 90px));max-height:300px;overflow-y:auto;padding:8px;background:#fff;border:1px solid var(--crew-line);border-radius:8px;box-shadow:0 12px 30px #10182030;z-index:5}
.crew-hero-options a{display:grid;gap:4px;padding:13px 14px;min-height:46px;color:var(--crew-ink);text-decoration:none;border-radius:4px;font-size:14px}
.crew-hero-options a strong{font-size:12px;letter-spacing:1px;color:var(--crew-accent-ink)}
.crew-hero-options a:hover,.crew-hero-options a:focus-visible{background:#f4f5f7}
.crew-hero-options a:focus-visible{outline-offset:-3px}
.crew-hero-options p{padding:10px;font-size:14px;color:var(--crew-muted)}

.crew-campus-banner .crew-word-rest{opacity:.85}
@media(forced-colors:active){.crew-campus-banner .crew-word-rest{opacity:1}}

/* Shared action variants apply outside settings pages as well. */
.crew-button.crew-button-secondary{background:#fff;border-color:#aebac8;color:var(--crew-ink)}
.crew-button:disabled{background:#e1e4e8;color:#59636e;border-color:#cbd1d8;cursor:not-allowed;opacity:1;filter:none;box-shadow:none}
