.crew-v09{--crew-font-body:15px;font-size:15px;line-height:1.5}
.crew-v09 :is(h1,h2,h3,p){overflow-wrap:anywhere}
.crew-v09 h1{font-size:clamp(26px,3vw,36px)}
.crew-v09 h2{font-size:18px;margin:0 0 10px}
.crew-v09 p{margin:8px 0}
.crew-v09 label{display:grid;gap:6px;margin:10px 0;font-size:15px}
.crew-v09 :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;font-size:16px;border:1px solid #cbdaf1;border-radius:10px;padding:8px 10px;background:white;color:#233b61}
.crew-v09-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.crew-v09-actions button,.crew-v09 button.crew-secondary{min-height:44px;white-space:normal;max-width:100%;padding:8px 12px}
.crew-v09-status{padding:12px;border:1px solid #cfddf5;border-radius:14px;margin-top:12px}
.crew-v09-status>span{display:block;color:#526b91}
.crew-policy-help{font-size:14px;padding:8px 0;line-height:1.5}
.crew-policy-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#2865d9}
.crew-v09-mini-blocks{display:flex;flex-wrap:wrap;gap:3px;margin:6px 0}
.crew-v09-mini-blocks i{width:9px;height:9px;border:1px solid #b5c8e6;border-radius:2px}
.crew-v09-mini-blocks i.filled{background:#2f6cdf;border-color:#2f6cdf}
.crew-v09 .crew-roster article{align-items:center;gap:10px;padding:10px 0}
.crew-v09 .crew-member-pattern{width:38px;height:38px;min-width:38px;display:block;border-radius:8px}
.crew-v09 .crew-commit-log time{display:block;font-size:12px;margin-top:6px;color:#526b91}
.crew-v09 .crew-commit-log article>div{min-width:0}
.crew-v09 .crew-unified-sidebar>section{padding:14px;min-width:0}
.crew-v09 .crew-info-facts dd{overflow-wrap:anywhere}
.crew-v09 .crew-board-stage{position:relative}
.crew-v09-celebration{padding:16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;background:#e4edff;border-radius:12px;animation:crew-arrive .4s ease-out}
.crew-story-entry{width:100%;max-width:1180px;margin-inline:auto}
.crew-story-portal{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);overflow:hidden;border:1px solid #d3e1fc;border-radius:22px;background:#fff;color:#203b62}
.crew-story-portal-art{min-width:0;aspect-ratio:760/504;background:#25394e;overflow:hidden}
.crew-story-portal-art iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}
.crew-story-portal-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(24px,3.2vw,46px)}
.crew-story-portal-copy>span,.crew-story-empty>div>span{color:#f3ce8c;font-size:12px;font-weight:800;letter-spacing:.16em}
.crew-story-portal-copy h1{margin:16px 0 26px;color:#fff;font-size:clamp(26px,3vw,40px);line-height:1.24;letter-spacing:-.055em;word-break:keep-all}
.crew-story-portal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.crew-story-enter{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:52px;padding:11px 18px;border-radius:10px;background:#efc77c;color:#1b2a42!important;font-weight:800;text-decoration:none}
.crew-story-enter b{font-size:23px;font-weight:500;line-height:1}
.crew-story-portal-actions .crew-secondary{border:0;background:transparent;color:#d9e2f0;padding:8px 3px;white-space:nowrap}
.crew-story-portal-copy small{margin-top:22px;color:#b2c2d8;font-size:12px;line-height:1.45}
.crew-story-portal{display:block;border:0}
.crew-story-inline-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px}
.crew-story-inline-head span{color:#2f6cdf;font-size:12px;font-weight:800;letter-spacing:.16em}
.crew-story-inline-head h1{margin:6px 0 0;color:#203b62;font-size:clamp(21px,2.5vw,29px);line-height:1.3}
.crew-story-inline-head .crew-secondary{flex:none;border:1px solid #d3e1fc;background:#f4f8ff;color:#2f6cdf}
.crew-story-portal>iframe{display:block;width:100%;height:clamp(560px,calc(66vw + 195px),770px);border:0;background:#fff}
@media(max-width:767px){.crew-story-inline-head{padding:18px;align-items:flex-start;flex-direction:column}.crew-story-inline-head .crew-secondary{min-height:40px}.crew-story-portal>iframe{height:clamp(520px,calc(66vw + 195px),690px)}}
.crew-story-empty{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:clamp(22px,4vw,42px);border:1px solid #d3e1fc;border-radius:18px;background:#f4f8ff}
.crew-story-empty h2{margin:8px 0 12px;font-size:clamp(24px,3vw,34px)}
.crew-story-empty>div>span{color:#3671d8}
.crew-story-empty-actions{display:flex;flex-wrap:wrap;gap:9px}
.crew-story-empty-actions button{min-height:48px!important}
.crew-story-empty-actions button:first-child{background:#2f6cdf;color:#fff;border-color:#2f6cdf}
.crew-story-replay{color:#3769c4;font-size:14px;font-weight:700;text-underline-offset:3px}
.crew-story-revisit{margin-top:24px;text-align:right}
.crew-v09-canvas{max-width:100%;overflow:auto;border:1px solid #cbdaf1;border-radius:12px;background:#f4f7fc}
.crew-v09-canvas.paint{touch-action:none}
.crew-v09-canvas.pan{touch-action:pan-x pan-y}
.crew-v09-grid{display:grid;grid-template-columns:repeat(8,var(--cell));width:max-content;gap:2px;padding:8px}
.crew-v09-grid button{width:var(--cell);height:var(--cell);padding:0;border:1px dashed #adbfdb;background:white;border-radius:4px;min-width:0}
.crew-v09-grid button.filled{background:#2f6cdf;border:1px solid #215bd0}
.crew-v09 button:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}
.crew-v09 button[aria-pressed=true]{background-color:#e5edff;color:#215bd0}
.crew-v09 .crew-v09-grid button.filled{background:#2f6cdf;color:white}
.crew-v09 button:disabled{opacity:.45;cursor:not-allowed}
@keyframes crew-arrive{from{opacity:.4;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:767px){.crew-v09 .crew-editor-layout{display:grid;grid-template-columns:minmax(0,1fr)}.crew-v09 .crew-editor-layout>*{min-width:0}.crew-v09 .crew-unified-layout{display:grid;grid-template-columns:minmax(0,1fr)}.crew-v09 .crew-info-facts div{grid-template-columns:52px minmax(0,1fr)}}
@media(max-width:767px){.crew-story-portal{grid-template-columns:minmax(0,1fr)}.crew-story-portal-copy{padding:22px}.crew-story-portal-copy h1{margin:10px 0 18px;font-size:clamp(25px,7vw,32px)}.crew-story-portal-copy small{margin-top:16px}.crew-story-empty{align-items:flex-start;flex-direction:column}.crew-story-empty-actions{width:100%}.crew-story-empty-actions button{flex:1}}
@media(max-width:380px){.crew-story-portal-actions{align-items:stretch;flex-direction:column}.crew-story-enter{width:100%}.crew-story-portal-actions .crew-secondary{text-align:left}}
@media(prefers-reduced-motion:reduce){.crew-v09 *{animation:none!important;transition:none!important}}

/* Crew UI review: compact, readable controls; story artwork/motion is untouched. */
.crew-v09 select{padding-right:48px!important;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23496485' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:18px}
.crew-page .crew-unified-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:16px}
.crew-page .crew-unified-header .crew-subpage-head{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;margin:0}
.crew-page .crew-unified-header .crew-subpage-head>button{flex:0 0 44px;width:44px;height:44px;padding:0}
.crew-page .crew-unified-header .crew-dashboard-actions{margin:0;align-self:center}
.crew-page .crew-unified-header .crew-dashboard-actions button{width:44px;height:44px;min-width:44px;min-height:44px;padding:8px}
.crew-page .crew-unified-header .crew-kicker{display:none}
.crew-page .crew-unified-header h1{margin:0;font-size:clamp(23px,3vw,32px);line-height:1.25;overflow-wrap:anywhere}
.crew-page .crew-puzzle .available{border:1px dashed #718db8;background:#d9e5f7}
.crew-page .crew-puzzle>button.is-suggested{border-color:#2f6cdf;background:#c3d9fc;color:#2455a5}
.crew-page .crew-discover-grid .crew-discover-art{aspect-ratio:1.35;padding:16px}
.crew-page .crew-discover-grid .crew-discover-art .crew-puzzle{width:76%;max-width:240px}
.crew-page .crew-discover-copy{gap:8px;min-height:0;padding:14px}
.crew-page .crew-discover-copy small,.crew-page .crew-discover-bottom time,.crew-page .crew-card-description{font-size:14px;line-height:1.45;color:#526783}
.crew-page .crew-discover-title{flex-wrap:wrap;gap:6px 10px}
.crew-page .crew-discover-title strong{flex:1 1 150px;font-size:17px}
.crew-page .crew-discover-title span{font-size:12px;line-height:1.4}
.crew-page .crew-discover-bottom{flex-wrap:wrap;gap:8px}
.crew-page .crew-discover-bottom time{margin-left:auto}
.crew-page .crew-card-mode{font-weight:600;color:#365d99}
.crew-v09 .crew-v09-status{margin:12px 0 0;padding:12px;border-radius:12px;background:#f4f7fd}
.crew-v09 .crew-v09-status p{margin:5px 0}
.crew-v09 .crew-v09-status .crew-v09-actions{margin:8px 0 0}
.crew-v09 .crew-status-checks{display:flex;flex-wrap:wrap;gap:4px 16px;color:#526783;font-size:14px}
.crew-v09 .crew-next-actions{margin:10px 0;align-items:stretch}
.crew-v09 .crew-next-actions button{flex:1 1 150px}
.crew-v09 .crew-next-actions button:first-child{background:#2f6cdf;color:white;border-color:#2f6cdf}
.crew-v09 .crew-policy-help{padding:0;font-size:14px}
.crew-v09 .crew-log-empty{margin:0;padding:8px 0;color:#526783;font-size:15px}
.crew-v09 .crew-prototype-disclosure{margin:18px 0 0;color:#526783;font-size:13px}
.crew-v09 .crew-prototype-disclosure summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.crew-v09 .crew-prototype-disclosure p{margin:0 0 8px}
.crew-v09.crew-settings-page .crew-settings-v2{align-items:start;gap:14px}
.crew-v09.crew-settings-page .crew-settings-v2>section{padding:16px;min-width:0}
.crew-v09 .crew-settings-v2 .crew-v09-status{border:0;background:transparent;border-radius:0;padding:0;margin:0}
.crew-v09 .crew-settings-v2 .crew-v09-actions{gap:8px;margin:10px 0 0}
.crew-v09 .crew-setting-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e1e9f5}
.crew-v09 .crew-setting-row:last-child{border-bottom:0;padding-bottom:0}
.crew-v09 .crew-setting-row>div{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}
.crew-v09 .crew-setting-row small{display:block;color:#526783;font-size:14px}
.crew-v09.crew-settings-page .crew-setting-row span{font-size:15px;color:#20385f}
.crew-v09.crew-settings-page .crew-setting-row strong{font-size:16px}
.crew-v09 .crew-setting-row p{margin:4px 0}
.crew-v09 .crew-settings-demo{margin-top:16px;font-size:14px;color:#526783}
.crew-v09 .crew-settings-demo summary{min-height:44px;cursor:pointer;line-height:44px}
@media(max-width:767px){
 .crew-page .crew-subpage-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-bottom:16px}
 .crew-page .crew-subpage-head>button{min-width:44px;min-height:44px;margin:0;align-self:start}
 .crew-page .crew-subpage-head .crew-kicker{display:none}
 .crew-page .crew-subpage-head h1{margin:0;font-size:25px;line-height:1.3}
 .crew-page .crew-subpage-head p{font-size:14px;line-height:1.5;margin:6px 0 0}
 .crew-page .crew-unified-header{margin-bottom:12px}
 .crew-page .crew-explore-heading{margin-bottom:12px;gap:8px}
 .crew-page .crew-unified-header .crew-subpage-head{flex-basis:auto}
 .crew-page .crew-unified-header .crew-dashboard-actions{margin-left:0}
 .crew-page .crew-unified .crew-direct-stage .crew-puzzle{margin:14px auto}
 .crew-v09 .crew-unified-sidebar>section{padding:14px}
 .crew-v09.crew-settings-page .crew-settings-v2{grid-template-columns:minmax(0,1fr)}
}
