/* Orcheo Crew (/crew): one column, phone first. Colours come from theme.css. */
*{box-sizing:border-box}
.crew-page{margin:0;min-height:100vh;font:16px/1.5 'Google Sans',system-ui,sans-serif;background:var(--bg);color:var(--ink);-webkit-text-size-adjust:100%}
.crew-page :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.crew-main{max-width:560px;margin:0 auto;padding:16px 16px 48px}
.crew-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 16px;margin:0 0 16px;scroll-margin-top:76px}
.crew-card h1{font-size:28px;line-height:1.2;margin:4px 0 10px}
.crew-card h2{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:20px;line-height:1.3;margin:0 0 12px}
.crew-card h3{font-size:16px;margin:12px 0 4px}
.crew-card p{margin:0 0 12px}
.crew-eyebrow{color:var(--accent);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.crew-hi{color:var(--muted);font-weight:400;font-size:15px}
.crew-num{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--soft-accent);color:var(--accent);font-size:15px}
.crew-points{padding-left:20px;margin:0 0 16px}
.crew-hint,.crew-empty{color:var(--muted);font-size:14px}
.crew-empty{list-style:none;padding:8px 0}
.crew-done{color:var(--ink);background:var(--raised);border-radius:10px;padding:10px 12px;font-size:14px}
.crew-locked{background:var(--soft-accent);color:var(--ink);border-radius:10px;padding:10px 12px;font-size:14px}
.crew-message:empty{display:none}
.crew-message{background:var(--raised);border-radius:10px;padding:10px 12px;margin:0 0 16px}
.crew-message.error{background:var(--soft-accent);color:var(--accent)}
.crew-offline{background:var(--ink);color:var(--bg);border-radius:10px;padding:10px 12px;margin:0 0 16px;font-size:14px}
label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}
input:not([type=checkbox]):not([type=radio]),.crew-page select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit}
fieldset{border:0;margin:12px 0 0;padding:0;min-width:0}
legend{font-weight:600;font-size:14px;padding:0;margin-bottom:6px}
.crew-button{display:block;width:100%;min-height:48px;margin:16px 0 8px;border:0;border-radius:12px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:16px;line-height:1.2;font-family:inherit;cursor:pointer}
a.crew-button{text-align:center;text-decoration:none;padding:14px 12px}
.crew-button:disabled{opacity:.6;cursor:default}
.crew-link{display:inline-block;min-height:44px;padding:10px 4px;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.crew-chips{display:flex;flex-wrap:wrap;gap:8px}
.crew-chip{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 12px;min-height:40px;border:1px solid var(--line);border-radius:999px;font-weight:400;cursor:pointer}
.crew-chip:has(input:checked){background:var(--soft-accent);border-color:var(--accent)}
.crew-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:8px 0;min-height:32px}
.crew-check input{width:20px;height:20px;margin:2px 0 0;flex-shrink:0;accent-color:var(--accent)}
.crew-handle{display:flex;align-items:center;gap:6px}
.crew-handle span{font-weight:600;color:var(--muted)}
.crew-list{list-style:none;margin:0 0 8px;padding:0}
.crew-account{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.crew-account div{display:flex;flex-direction:column;min-width:0}
.crew-account strong{overflow-wrap:anywhere}
.crew-pill{font-size:13px;color:var(--muted)}
.crew-pill.ready,.crew-pill.connected,.crew-pill.active{color:var(--ink);font-weight:600}
.crew-sub{margin-top:22px!important}
.crew-guide{border-top:1px solid var(--line);padding:10px 0 2px}
.crew-guide h3{margin:0 0 4px}
.crew-guide p{font-size:15px;margin:0 0 8px}
.crew-term{border-top:1px solid var(--line);padding-top:4px}
.crew-term p{font-size:14px}
.crew-steps ol{display:flex;gap:6px;list-style:none;margin:0 0 16px;padding:0;overflow-x:auto}
.crew-steps li{flex:1 0 auto}
.crew-steps a{display:block;text-align:center;padding:8px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);text-decoration:none;font-size:13px;white-space:nowrap}
.crew-steps li.done a{background:var(--soft-accent);color:var(--ink);border-color:transparent}
.crew-steps a[aria-current]{border-color:var(--accent);color:var(--ink);font-weight:600}
.crew-steps li.done a::before{content:'✓ '}
.crew-funnel{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:0 0 12px}
.crew-funnel dt{color:var(--muted)}
.crew-funnel dd{margin:0;font-weight:600;text-align:right}
.crew-profile-list{margin:4px 0 12px}
.crew-profile-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.crew-profile-list dt{color:var(--muted)}
.crew-profile-list dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
/* Simple setup (spec 5.6/5.7): one action per screen, big type, quiet extras folded into <details>. */
.crew-card h1{font-size:32px;letter-spacing:-.01em}
.crew-lead{font-size:17px;color:var(--muted);margin:-4px 0 18px}
.crew-big{font-size:26px;font-weight:700;margin:0 0 8px}
.crew-req{font-weight:400;font-size:13px;color:var(--muted)}
.crew-block{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.crew-block h2{font-size:18px;margin:0 0 8px}
.crew-more summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
.crew-more[open] summary{margin-bottom:8px}
.crew-agree{margin:18px 0 4px;font-weight:600}.crew-agree a{text-decoration:underline}#p-whatsapp.crew-verified{padding-right:44px;border-color:#22A861;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2322A861'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:22px}#account-list .crew-account>div{flex:1}#account-list .crew-loading{flex-direction:row;margin:6px 0 0;padding:0}#account-list .crew-hint{margin:2px 0 0}.crew-asks{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;margin:0 0 14px}.crew-asks:empty{display:none}.crew-ask{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--raised);color:var(--ink);font:inherit;text-align:left;cursor:pointer}#home-next .crew-ask{align-items:flex-start;justify-content:flex-start;text-align:left}button.crew-ask:hover{border-color:var(--accent)}div.crew-ask{cursor:default}.crew-ask{font-size:14px;line-height:1.4}.crew-ask strong{font-size:15px}.crew-ask strong,.crew-ask .crew-hint{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.crew-tile .crew-status{margin:0 0 5px 10px}.crew-back{display:block;text-decoration:none;min-height:32px;margin:-6px 0 6px;padding:4px 0}#account-form .crew-ghost{margin:16px 0 8px;min-height:48px;padding:14px 22px}
.crew-foot{text-align:center;color:var(--muted);font-size:14px;margin:16px 0 0}
.crew-dots{display:flex;gap:8px;list-style:none;margin:0 0 12px;padding:0;font-size:13px;color:var(--muted)}
.crew-dots li{flex:1;text-align:center;padding-top:8px;border-top:4px solid var(--line)}
.crew-dots li.now{border-color:var(--accent);color:var(--ink);font-weight:600}
.crew-dots li.done{border-color:var(--accent);opacity:.6}
.crew-tabs{display:flex;gap:6px;padding:4px;margin:0 0 12px;background:var(--surface);border:1px solid var(--line);border-radius:999px}
.crew-tabs button{flex:1;min-height:40px;border:0;border-radius:999px;background:none;color:var(--muted);font-weight:600;font-size:15px;line-height:1;font-family:inherit;cursor:pointer}
.crew-tabs button[aria-current]{background:var(--accent);color:var(--on-accent)}
.crew-segment{display:flex;gap:8px;margin:12px 0}
.crew-segment label{flex:1;margin:0;cursor:pointer}
.crew-segment input{position:absolute;opacity:0}
.crew-segment span{display:block;text-align:center;padding:12px 8px;border:1px solid var(--line);border-radius:12px;font-weight:600}
.crew-segment input:checked+span{border-color:var(--accent);background:var(--soft-accent)}
.crew-segment input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.crew-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 18px}
.crew-stats div{background:var(--raised);border-radius:14px;padding:12px;text-align:center}
.crew-stats strong{display:block;font-size:30px;line-height:1.1}
.crew-stats span{font-size:13px;color:var(--muted)}
.crew-filters{display:flex;gap:8px}
.crew-filters input{flex:1}
.crew-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.crew-page textarea{width:100%;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
[hidden]{display:none!important}
/* Deck look (Orcheo overview deck): pastel day, violet dusk. Scoped to this page; theme.css is untouched. */
.crew-page{--bg:#F6E6F0;--surface:#FFF7F2;--raised:#EBDCF6;--ink:#2B1B52;--muted:#4A3670;--line:rgba(59,34,112,.18);--accent:#C2187A;--on-accent:#fff;--soft-accent:#F6D9EA;background:linear-gradient(170deg,#DCCFF6 0%,#F3CBE0 55%,#FFDCC8 100%) fixed}
:root[data-theme=dark] .crew-page{--bg:#1E1240;--surface:#2A1A55;--raised:#33205E;--ink:#FFF7F2;--muted:#CFC2EA;--line:rgba(255,247,242,.16);--accent:#FF8CC6;--on-accent:#1E1240;--soft-accent:#4A2A6E;background:linear-gradient(160deg,#1E1240 0%,#3B2270 55%,#7A3F86 100%) fixed}
.crew-card{border-radius:22px;box-shadow:0 10px 36px rgba(59,34,112,.12)}
.crew-button{border-radius:999px;background:linear-gradient(100deg,#E42E4C,#D64D8B 55%,#A45DE0);color:#fff}
.crew-chip input{position:absolute;opacity:0;pointer-events:none}
.crew-chip:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
.crew-chip:has(input:checked){font-weight:600}
.crew-code{display:flex;gap:8px;align-items:center}
#wa-ok{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}
.crew-code input{flex:1;min-width:0;letter-spacing:.2em}
.crew-chip-group{flex:0 0 100%}
.crew-chip-title{font-size:12px;font-weight:600;color:var(--muted);margin:4px 0 6px}
.crew-chip-group .crew-chip{min-height:36px;padding:6px 11px;font-size:14px}
.crew-full .crew-chip:not(:has(input:checked)){opacity:.45}
.crew-chip-more{background:none;color:var(--accent);font:inherit;font-weight:600}
.crew-filters input{min-width:0}
.crew-filters select{width:auto;flex:0 0 42%}
/* Laptop and desktop. Phones keep the one-column layout above; wider screens get real two-column pages.
   Wrappers (crew-hero, crew-home-head/side, crew-captain-top/list/extras) are plain blocks on a phone, so its order is unchanged. */
.crew-fields>div>label{margin-top:12px}
@media (min-width:720px){
 .crew-main{max-width:760px;padding:28px 24px 64px}
 .crew-card{padding:28px 32px}
 .crew-card h1{font-size:34px}
 .crew-fields{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
 .crew-button{width:auto;min-width:240px;padding-left:32px;padding-right:32px}
 a.crew-button{display:inline-block}
 .crew-tabs{max-width:380px}
}
@media (min-width:960px){
 .crew-main{max-width:1168px}
 /* Join, Accounts and the Captain application stay a readable form width. */
 #join,#accounts,#apply,#crew-install,.crew-dots{max-width:760px;margin-left:auto;margin-right:auto}
 #crew-dots{margin-bottom:16px}
 /* Welcome: the pitch on the left, what you earn on the right. */
 .crew-welcome{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"hero pay" "foot pay";column-gap:48px;align-items:start;padding:44px 48px}
 .crew-hero{grid-area:hero}.crew-welcome h1{font-size:46px}
 .crew-welcome .crew-lead{font-size:19px}
 #welcome-pay-box{grid-area:pay;background:var(--raised);border-radius:18px;padding:20px 24px}
 .crew-welcome .crew-foot{grid-area:foot;text-align:left}
 /* Creator home as a dashboard: name, numbers, then requests, accounts and today's guides on the left, settings on the right. */
 #home:not([hidden]){display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr);grid-template-areas:"head head" "numbers numbers" "requests wallet" "accounts side" "today side";gap:20px;align-items:start;background:none;border:0;box-shadow:none;padding:0}
 .crew-home-head,#home-requests,#home-accounts-box,#home-today,#home-wallet,.crew-home-side{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 36px rgba(59,34,112,.12);padding:24px 28px;margin:0}
 .crew-home-head{grid-area:head}.crew-numbers{grid-area:numbers;margin:0}#home-requests{grid-area:requests}#home-accounts-box{grid-area:accounts}#home-today{grid-area:today}
 #home-wallet{grid-area:wallet}
 .crew-home-side{grid-area:side;position:sticky;top:84px;align-self:start}
 .crew-home-side>.crew-block:first-child{border-top:0;margin-top:0;padding-top:0}
 .crew-home-head h1{margin-bottom:4px}
 .crew-me-signout{display:none}
 .crew-account-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;align-items:start}
 .crew-account-detail{border:1px solid var(--line);border-radius:16px;padding:14px 16px}
 /* Captain as a dashboard, like the Creator home: name, numbers, then the Creator list and invite on the left; wallet and
    profile on the right. */
 #captain:not([hidden]){display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr);grid-template-areas:"head head" "numbers numbers" "list wallet" "invite side";gap:20px;align-items:start;background:none;border:0;box-shadow:none;padding:0}
 #captain-invite,#captain-creators-box{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 36px rgba(59,34,112,.12);padding:24px 28px;margin:0}
 #captain .crew-numbers{grid-template-columns:repeat(4,1fr)}
 #captain-invite{grid-area:invite}
 .crew-captain-list{grid-area:list}
 .crew-captain-list .crew-list{max-height:calc(100vh - 200px);overflow:auto}
 #captain .crew-home-side{position:static}
}
/* Home widgets: numbers, brand requests, accounts with their numbers. */
.crew-numbers{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:4px 0 16px}
.crew-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.crew-tile strong{font-size:28px;line-height:1.1}
.crew-tile span{font-size:13px;color:var(--muted)}
.crew-tasks{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:12px}
.crew-task{border:1px solid var(--line);border-radius:16px;padding:14px 16px;background:var(--bg)}
.crew-task.offered{border-color:var(--accent)}
.crew-task.passed>:not(.crew-task-actions){opacity:.7}
.crew-task-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.crew-pay{font-weight:700;color:var(--accent)}
.crew-task p{margin:4px 0}
.crew-brief{white-space:pre-line}
.crew-task-actions{display:flex;gap:10px;align-items:center;margin-top:10px}
.crew-button.crew-small{display:inline-block;width:auto;min-width:0;min-height:40px;margin:0;padding:8px 22px;font-size:15px}
.crew-ghost{min-height:40px;padding:8px 18px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--ink);font-weight:600;font-size:15px;line-height:1;font-family:inherit;cursor:pointer}
.crew-account-detail{flex-wrap:wrap;align-items:flex-start}
.crew-account-detail>div{flex:1 1 60%}
.crew-figures{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 4px;width:100%}
.crew-figures div{background:var(--raised);border-radius:12px;padding:8px 10px}
.crew-figures dt{font-size:12px;color:var(--muted)}
.crew-figures dd{margin:0;font-size:18px;font-weight:700}
.crew-account-detail>.crew-hint{width:100%;margin:4px 0 0}
@media (min-width:720px){.crew-numbers{grid-template-columns:repeat(4,1fr)}}
/* A single menu and one visible page. Web: top menu on phones, integrated header on desktop. PWA: bottom tabs. */
.crew-bottom{position:sticky;top:88px;z-index:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px;margin-bottom:20px}
.crew-bottom button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:8px 4px;border:0;border-radius:10px;background:none;color:var(--muted);font:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer}
.crew-bottom svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}
.crew-bottom button[aria-current]{color:var(--accent);background:var(--soft-accent)}
.crew-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:11px;line-height:18px;text-align:center}
#captain .crew-bottom{grid-template-columns:repeat(4,minmax(0,1fr))}
#home[data-pane]>.crew-pane:not(.crew-pane-active),#captain[data-pane]>.crew-pane:not(.crew-pane-active){display:none}
.crew-home-side>.crew-block:first-child{border-top:0;margin-top:0;padding-top:0}
.crew-task{scroll-margin-top:110px;overflow-wrap:anywhere}
.crew-task-state{font-size:13px;font-weight:700;color:var(--accent)}
.crew-task-state[data-state="fix"]{color:var(--ink)}
.crew-task-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;margin:16px 0;list-style:none;font-size:12px;color:var(--muted)}
.crew-task-progress li{border-top:3px solid var(--line);padding-top:6px}
.crew-task-progress li.done,.crew-task-progress li[aria-current]{border-color:var(--accent);color:var(--ink)}
.crew-task-progress li[aria-current]{font-weight:700}
.crew-queue-item{display:flex;flex-direction:column;gap:3px;width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.crew-queue-item:hover{border-color:var(--accent)}
.crew-queue-action{font-size:14px;font-weight:700;color:var(--accent);margin-top:5px}
#today-queue{margin-bottom:16px}
.crew-signed-in .site-nav-links>a{display:none}
#crew-signout{min-height:44px;padding:10px 20px;margin-right:8px}
.crew-new{position:absolute;top:2px;right:4px;font-size:10px;line-height:16px;border-radius:6px;padding:0 5px;background:var(--soft-accent);color:var(--accent)}
@media(max-width:959px){.crew-bottom .crew-new{position:absolute;top:0;right:0}.crew-bottom button{font-size:11px;min-width:0}}
.crew-standalone .crew-bottom .crew-new{position:absolute;top:0;right:0}
.crew-standalone .crew-bottom button{min-width:0}
@media(max-width:959px){.crew-standalone .crew-bottom button{font-size:11px!important}}
#home-clips{grid-area:main;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px 28px}
@media (min-width:720px){#today-queue{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:959px){
 body:not(.crew-standalone) .crew-task{scroll-margin-top:180px}
 #home>.crew-pane[data-pane],#captain>.crew-pane[data-pane]{border-top:0;margin-top:0;padding-top:0}
 #home[data-pane="today"] #home-today,#captain[data-pane="crew"] #captain-creators-box{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
 body:has(#home:not([data-pane="today"])) #crew-install{display:none}
}
#crew-web-menu:empty{display:none}
@media (min-width:960px){
 #home:not([hidden]),#captain:not([hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "numbers" "main"}
 #home:not([hidden]){grid-template-areas:"numbers" "main"}
 #crew-web-menu{flex:1;min-width:0}
 #crew-web-menu .crew-bottom{position:static;display:flex;justify-content:center;gap:2px;margin:0;padding:0;border:0;background:none}
 #crew-web-menu .crew-bottom button{flex-direction:row;gap:5px;padding:8px 10px;min-height:44px;font-size:13px;white-space:nowrap}
 #crew-web-menu .crew-bottom svg{display:none}
 #crew-web-menu .crew-new,#crew-web-menu .crew-badge{position:static;flex-shrink:0}
 #home-requests,#home-accounts-box,#home-today,#home-wallet,#home .crew-home-side,#captain-invite,#captain .crew-captain-list,#captain .crew-home-side{grid-area:main;position:static;min-width:0}
}
.crew-standalone .crew-bottom{position:fixed;left:0;right:0;bottom:0;top:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;border-radius:0;border-width:1px 0 0;padding:6px 6px max(6px,env(safe-area-inset-bottom));box-shadow:0 -6px 24px rgba(59,34,112,.1)}
.crew-standalone #captain .crew-bottom{grid-template-columns:repeat(4,minmax(0,1fr))}
.crew-standalone .crew-bottom button{flex-direction:column;justify-content:flex-start;min-height:64px;gap:4px;padding:8px 4px;font-size:12px}
.crew-standalone:has(#crew-bottom:not([hidden])),.crew-standalone:has(#captain:not([hidden])){padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.crew-standalone .site-nav-links>a,.crew-standalone .site-footer{display:none}
@media (min-width:960px){.crew-standalone #home:not([hidden]),.crew-standalone #captain:not([hidden]){grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "numbers" "main"}.crew-standalone #home:not([hidden]){grid-template-areas:"numbers" "main"}}
/* Wallet (crew.js renderWallet). */
.crew-wallet h3{font-size:15px;margin:18px 0 6px}
.crew-balance{display:flex;flex-direction:column;gap:2px;margin:4px 0 6px;padding:16px 18px;border-radius:18px;background:linear-gradient(120deg,#2B1B52,#6A2C8E 60%,#C2187A);color:#FFF7F2}
.crew-balance span{font-size:13px;opacity:.85}
.crew-balance strong{font-size:34px;line-height:1.1}
.crew-wallet .crew-figures{margin-top:8px}
.crew-wallet-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.crew-wallet-mode legend{grid-column:1/-1;font-size:13px;margin-bottom:4px}
.crew-wallet-mode span{font-size:14px;padding:10px 8px}
.crew-withdraw label{margin-top:4px}
.crew-withdraw-row{display:flex;gap:8px}
.crew-withdraw-row input{flex:1;min-width:0}
.crew-withdraw .crew-button{margin-top:10px}
.crew-withdraw .crew-hint{margin:8px 0 0}
.crew-tx{list-style:none;margin:0;padding:0}
.crew-tx-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}
.crew-tx-item div{display:flex;flex-direction:column;min-width:0}
.crew-tx-item strong{font-size:14px;overflow-wrap:anywhere}
.crew-tx-item .crew-hint{font-size:12px}
.crew-tx-item b{white-space:nowrap;font-size:15px}
.crew-tx-item.credit b{color:var(--accent)}
.crew-tx-item.rejected b,.crew-tx-item.held b{opacity:.6}
@media (max-width:959px){#home[data-pane="wallet"] #home-wallet{border-top:0;padding-top:0;margin-top:0}}
/* In-page "are you sure" (crew.js askFirst). */
.crew-ask{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;width:100%;padding:10px 12px;border-radius:14px;background:var(--soft-accent)}
.crew-ask p{flex:1 1 100%;margin:0;font-weight:600;font-size:14px}
.crew-button.crew-danger{background:#C2183D}
/* WhatsApp security code: a modal dialog (crew.js withCode). */
dialog.crew-otp{width:min(420px,calc(100vw - 32px));padding:0;border:0;border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px rgba(43,27,82,.35)}
dialog.crew-otp::backdrop{background:rgba(30,18,64,.55);backdrop-filter:blur(3px)}
.crew-otp-form{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 24px 20px}
.crew-otp-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#25D366}
.crew-otp-icon svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round}
.crew-otp-form h2{font-size:21px;margin:8px 0 0}
.crew-otp-form label{margin:10px 0 0;font-size:13px}
.crew-code-boxes{display:flex;gap:8px;justify-content:center;margin:12px 0 2px}
.crew-otp-form .crew-code-box{width:46px;height:56px;min-height:0;padding:0;text-align:center;font-size:26px;font-weight:700;border:1.5px solid var(--line);border-radius:12px;background:var(--bg);caret-color:var(--accent)}
.crew-otp-form .crew-code-box:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--soft-accent)}
@media (max-width:380px){.crew-code-boxes{gap:6px}.crew-otp-form .crew-code-box{width:40px;height:50px;font-size:22px}}
.crew-otp-status{min-height:20px;margin:4px 0 0}
.crew-otp-actions{display:flex;gap:10px;justify-content:center;width:100%;margin-top:6px}
.crew-otp-actions .crew-button{margin:0;min-width:0;flex:1}
.crew-otp-actions .crew-ghost{flex:0 0 auto}
.crew-account-tools{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;width:100%;margin-top:6px}
.crew-account-tools .crew-ask{margin-top:4px}
.crew-add-account{border-top:1px solid var(--line);margin-top:14px;padding-top:6px}
.crew-add-account h3{font-size:15px;margin:8px 0}
.crew-add-account .crew-button{margin-top:4px}
/* Account card: the ⋮ menu in the top-right corner, and Instagram's own login button. */
.crew-account-detail{position:relative}
.crew-account-detail>div:first-child{padding-right:36px}
.crew-card-menu{position:absolute;top:8px;right:8px}
.crew-kebab{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.crew-kebab:hover,.crew-kebab[aria-expanded=true]{background:var(--raised)}
.crew-kebab svg{width:20px;height:20px;fill:currentColor}
.crew-menu{position:absolute;right:0;top:38px;z-index:4;min-width:200px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 12px 32px rgba(43,27,82,.18)}
.crew-menu-item{display:block;width:100%;padding:10px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font-family:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
.crew-menu-item:hover:not(:disabled),.crew-menu-item:focus-visible{background:var(--raised)}
.crew-menu-item.danger{color:#C2183D}
.crew-menu-item:disabled{opacity:.5;cursor:not-allowed}
/* Instagram's login button: their gradient, white camera glyph, white label. */
.crew-ig{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px 8px 12px;border:0;border-radius:10px;color:#fff;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;
 background:linear-gradient(90deg,#833AB4 0%,#C13584 35%,#E1306C 60%,#FD1D1D 82%,#F77737 100%)}
.crew-ig svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2}
.crew-ig svg .dot{fill:#fff;stroke:none}
.crew-ig:disabled{opacity:.82;cursor:not-allowed}
.crew-account .crew-menu{display:block;min-width:210px;white-space:nowrap}
.crew-account .crew-card-menu{display:block}
/* Status light in the Creator's name box (crew.js renderHome): green when ready for tasks, amber before. */
.crew-home-head{position:relative}
.crew-status{display:inline-block;vertical-align:middle;width:14px;height:14px;margin:0 0 4px 14px;border-radius:50%;background:#F5A524;box-shadow:0 0 0 5px rgba(245,165,36,.18)}
.crew-status[data-state=live]{background:#22C55E;box-shadow:0 0 0 5px rgba(34,197,94,.2),0 0 12px rgba(34,197,94,.55)}
@media (prefers-reduced-motion:no-preference){.crew-status[data-state=live]{animation:crew-pulse 2.4s ease-in-out infinite}}
@keyframes crew-pulse{50%{box-shadow:0 0 0 8px rgba(34,197,94,.12),0 0 16px rgba(34,197,94,.6)}}
.crew-home-head h1{display:inline-block;vertical-align:middle;max-width:calc(100% - 34px)}
/* Become a Crew Captain dialog (crew.js openCaptainModal). */
dialog.crew-modal{width:min(520px,calc(100vw - 24px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px rgba(43,27,82,.35)}
dialog.crew-modal::backdrop{background:rgba(30,18,64,.55);backdrop-filter:blur(3px)}
.crew-modal-body{position:relative;padding:28px 26px 22px}
.crew-modal-body h2{font-size:26px;line-height:1.2;margin:4px 0 8px}
.crew-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:none;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
.crew-modal-close:hover{background:var(--raised)}
.crew-benefits{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}
.crew-benefits li{position:relative;padding:10px 12px 10px 40px;border-radius:14px;background:var(--raised);font-size:15px}
.crew-benefits li::before{content:'';position:absolute;left:14px;top:14px;width:14px;height:14px;border-radius:50%;background:linear-gradient(120deg,#E42E4C,#A45DE0)}
.crew-modal-actions{display:flex;gap:10px;align-items:center;margin-top:14px}
.crew-modal-actions .crew-button{margin:0;flex:1}
#captain-step-form .crew-button{width:100%}
/* Add an account: username field and button on one line. */
.crew-add-row{display:flex;gap:10px;align-items:center}
.crew-add-row .crew-handle{flex:1;min-width:0}
.crew-add-row .crew-button{margin:0;flex:0 0 auto;min-height:44px}
@media (max-width:359px){.crew-add-row{flex-wrap:wrap}.crew-add-row .crew-button{width:100%}}
/* Wallet: ⋮ menu in its corner (crew.js dotsMenu), collapsed transactions. */
#home-wallet{position:relative}
#home-wallet>.crew-card-menu{position:absolute;top:16px;right:16px;display:block}
@media (max-width:959px){#home-wallet>.crew-card-menu{top:-8px;right:0}}  /* phone panes drop the card's top padding */
#home-wallet>.crew-card-menu .crew-menu{display:block;min-width:210px;white-space:nowrap}
.crew-tx-box{border-top:1px solid var(--line);margin-top:14px}
#wallet-add-upi{margin-top:10px}
#payout-form .crew-button{width:100%;margin-top:16px}
#wallet-withdraw{margin-top:12px}
#withdraw-form .crew-button{width:100%;margin-top:14px}
#withdraw-available{font-weight:600}
/* "Get the Crew app" card (crew.js renderInstall). */
.crew-install:not([hidden]){display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.crew-install-icon{width:56px;height:56px;border-radius:14px;box-shadow:0 6px 18px rgba(43,27,82,.2)}
.crew-install-text{flex:1 1 220px;min-width:0}
.crew-install-text h2{margin:0 0 2px}
.crew-install-text p{margin:0}
.crew-install-actions{display:flex;align-items:center;gap:8px}
.crew-install-actions .crew-button{margin:0}
/* Captain's Creator rows: who they are, their work status, numbers, and a WhatsApp nudge when needed. */
.crew-captain-row{display:block}
.crew-captain-row .crew-captain-row-top{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:12px}
.crew-captain-row .crew-figures{margin:10px 0 0}
.crew-work{flex:none;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;background:var(--raised);color:var(--muted)}
.crew-work.waiting{background:rgba(255,179,138,.28);color:#9A4A1C}
.crew-work.working{background:rgba(52,168,83,.16);color:#1E6B34}
.crew-nudge{display:inline-flex;align-items:center;margin-top:10px;text-decoration:none}
#join-abroad{grid-column:1/-1;margin:0;padding:10px 14px;border-radius:14px;background:var(--raised)}

/* Sign in with WhatsApp (whatsapp-login.js): WhatsApp green, Google stays as the second choice below. */
.wa-login{max-width:420px}.wa-login .wa-open{background:#128C4A}
.wa-login:not([hidden])~#crew-google{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.wa-form label{margin-top:8px}.wa-number{display:flex;gap:8px}.wa-number select{flex:0 0 auto;width:104px}@supports(field-sizing:content){.wa-number select{width:auto;field-sizing:content}}.wa-number input{flex:1;min-width:0}.wa-sent{margin:8px 0 0;font-size:14px;color:var(--muted)}
.wa-links{display:flex;gap:16px;margin:0}.wa-change{min-height:44px;padding:10px 0;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.wa-error{margin:6px 0 0;font-size:14px;color:#D23F5A}.wa-error:empty{display:none}

/* Post link on an accepted request (crew.js postLink) */
.crew-post-link{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.crew-post-link label{margin:0}.crew-post-link .crew-button{justify-self:start;margin:0}
.crew-post-link a{color:var(--accent);font-weight:600}.crew-post-link .crew-done{margin:0}.crew-post-link .crew-ghost{justify-self:start}

/* Loading Rewalto's public data on a card (crew.js loadInsights) */
.crew-loading{display:flex;align-items:center;gap:10px;padding:10px 0;color:var(--muted);font-size:14px}
.crew-spinner{width:20px;height:20px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--accent);animation:crew-spin .8s linear infinite;flex:none}
@keyframes crew-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.crew-spinner{animation-duration:2.4s}}
.crew-reel{display:flex;gap:14px;align-items:flex-start}
.crew-reel img{width:90px;height:160px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:var(--raised);flex:none}
.crew-reel>div{flex:1;min-width:0}.crew-reel .crew-figures{margin:0 0 6px}
.crew-warn{margin:6px 0 0;padding:8px 10px;border-radius:10px;background:rgba(210,63,90,.14);color:var(--ink);font-size:14px}
.crew-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid var(--line);margin-right:10px;vertical-align:middle}
/* The tour card: above the tab bar, never over it, so the tab it talks about stays in view and can be tapped. */
dialog.crew-tour{position:fixed;inset:auto 12px calc(84px + env(safe-area-inset-bottom)) 12px;z-index:4;width:auto;max-width:440px;margin:0 auto;padding:18px 20px 16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 16px 48px rgba(43,27,82,.32)}
.crew-tour h2{font-size:21px;line-height:1.2;margin:2px 0 6px}.crew-tour p{margin:0}.crew-tour .crew-modal-close{top:6px;right:6px}
.crew-tour .crew-modal-actions{justify-content:flex-end}.crew-tour .crew-modal-actions .crew-button{flex:0 0 auto}#tour-skip{margin-right:auto;border:0;padding-left:0;color:var(--muted)}
.crew-me-tour{margin-right:14px}
body:has(#crew-tour[open]) .site-footer{padding-bottom:300px}  /* the page's last lines scroll clear of the open card */
@media (min-width:960px){dialog.crew-tour{bottom:104px}}
@media (prefers-reduced-motion:no-preference){dialog.crew-tour[open]{animation:crew-tour-in .22s ease-out}@keyframes crew-tour-in{from{opacity:0;transform:translateY(8px)}}}
/* The walkthrough video on the welcome card: phone-shaped, small enough that sign-in stays the main thing. */
.crew-how{margin:20px 0 0}.crew-how video{display:block;width:min(100%,240px);height:auto;aspect-ratio:9/16;border-radius:18px;background:var(--line);box-shadow:0 10px 30px rgba(43,27,82,.18)}
.crew-how figcaption{margin-top:8px;font-size:14px;color:var(--muted)}
.crew-how figcaption a{color:inherit}

/* Daily workspace palette only. Public Crew landing and onboarding keep the brand treatment. */
.crew-page.crew-dashboard{--bg:#F6F5FA;--surface:#FFFFFF;--raised:#F2F0F6;--ink:#2B1B46;--muted:#625B70;--line:#E3DFEB;--accent:#A61969;--on-accent:#FFFFFF;--soft-accent:#F8EAF2;--success:#216847;--success-bg:#EAF5EE;--warning:#875300;--warning-bg:#FFF3DB;--error:#B32635;--error-bg:#FDECEF;background:linear-gradient(180deg,#EFEDF7 0%,var(--bg) 320px) fixed}
:root[data-theme=dark] .crew-page.crew-dashboard{--bg:#17151F;--surface:#211E2A;--raised:#2A2635;--ink:#F3EFF8;--muted:#BCB3CA;--line:#40394D;--accent:#F3A0CE;--on-accent:#291522;--soft-accent:#3E2636;--success:#91D3AC;--success-bg:#21392D;--warning:#F2CB85;--warning-bg:#40331F;--error:#FFB1BA;--error-bg:#45262E;background:linear-gradient(180deg,#211C2E 0%,var(--bg) 320px) fixed}
.crew-dashboard .crew-card,.crew-dashboard #home>.crew-pane,.crew-dashboard #captain>.crew-pane,.crew-dashboard .site-nav{box-shadow:0 3px 14px rgba(43,27,70,.04)}
.crew-dashboard .crew-button{background:var(--accent);color:var(--on-accent)}
.crew-dashboard .crew-queue-item,.crew-dashboard .crew-task{background:var(--surface)}
.crew-dashboard .crew-task-state{display:inline-flex;align-self:flex-start;width:fit-content;padding:3px 8px;border-radius:6px;color:var(--muted);background:var(--raised)}
.crew-dashboard .crew-task-state[data-state=offered],.crew-dashboard .crew-task-state[data-state=accepted]{color:var(--warning);background:var(--warning-bg)}
.crew-dashboard .crew-task-state[data-state=fix],.crew-dashboard .crew-message.error{color:var(--error);background:var(--error-bg)}
.crew-dashboard .crew-task-state[data-state=tracking]{color:var(--success);background:var(--success-bg)}
.crew-dashboard .crew-warn{color:var(--warning);background:var(--warning-bg)}
.crew-dashboard .crew-status{width:8px;height:8px;background:var(--warning);box-shadow:none;animation:none}
.crew-dashboard .crew-status[data-state=live]{background:var(--success);box-shadow:none;animation:none}
.crew-dashboard .crew-balance{background:var(--raised);color:var(--ink)}

.crew-dashboard .crew-ask{background:var(--raised)}
.crew-dashboard .crew-task:has(.crew-task-state[data-state=fix]) .crew-warn{color:var(--error);background:var(--error-bg)}

/* Page-specific help is optional, keyboard accessible and available from every dashboard view. */
.crew-guide-trigger{font-weight:600;text-decoration:none;padding:8px 12px;border:1px solid var(--line);border-radius:999px}
.crew-guide-dialog{width:min(640px,calc(100vw - 24px))}
.crew-guide-dialog #guide-intro{margin:16px 0}
.crew-guide-steps{padding-left:24px;margin:0 0 22px}
.crew-guide-steps li{padding-left:4px;margin-bottom:12px;line-height:1.55}
.crew-guide-question{border-top:1px solid var(--line);padding:12px 0;font-size:14px}
.crew-guide-question summary{cursor:pointer;font-weight:600;min-height:32px}
.crew-guide-question p{margin:8px 0 0;line-height:1.55}
#guide-video{display:block;width:min(100%,240px);height:auto;margin:12px auto 0;border-radius:12px}
.crew-guide-dialog .crew-modal-actions{flex-wrap:wrap}
@media(max-width:959px){.crew-signed-in .site-nav-links{gap:4px}.crew-guide-trigger{padding:8px 10px}#crew-signout{padding:10px 12px;margin-right:0}}

/* Work pages: a brand/account identity, explicit facts, then the next action. */
.crew-dashboard .crew-pane>h2{font-size:24px;letter-spacing:-.02em}
.crew-brand-identity{display:flex;align-items:center;gap:12px;min-width:0}
.crew-brand-identity>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.crew-brand-identity strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.crew-brand-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--raised);color:var(--ink);font-size:15px;font-weight:700}
.crew-brand-label{font-size:11px;line-height:1.3;color:var(--muted);font-weight:500}
.crew-queue-top{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-bottom:8px}
.crew-queue-top>.crew-pay{font-size:18px;flex-shrink:0;font-variant-numeric:tabular-nums}
.crew-queue-top .crew-brand-mark{flex-basis:36px;width:36px;height:36px;font-size:13px;border-radius:10px}
.crew-dashboard .crew-queue-item{padding:18px;gap:6px}
.crew-dashboard .crew-task{padding:20px;border-radius:16px}
.crew-dashboard .crew-task.offered{border-color:var(--line)}
.crew-task-top{align-items:center;gap:16px}
.crew-task-pay{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0}
.crew-task-pay>.crew-pay{font-size:21px;font-variant-numeric:tabular-nums}
.crew-task-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-block:1px solid var(--line);padding:14px 0;margin:16px 0}
.crew-task-facts dt{font-size:12px;color:var(--muted);margin-bottom:4px}
.crew-task-facts dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.crew-task-brief{margin-bottom:16px}
.crew-task-brief h4{font-size:13px;color:var(--muted);margin:0 0 6px;font-weight:500}
.crew-task-brief .crew-brief{font-size:15px;line-height:1.6}
.crew-work-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
.crew-work-toolbar>div{flex:1;min-width:180px;max-width:480px}
.crew-work-toolbar label{margin-top:0;font-size:13px;color:var(--muted)}
.crew-work-history{margin-top:28px;border-top:1px solid var(--line);padding-top:12px}
.crew-work-history>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--muted);font-size:14px;font-weight:600}
.crew-empty-card{list-style:none;display:block;padding:24px;border:1px dashed var(--line);border-radius:14px;background:var(--bg);margin:12px 0}
.crew-empty-card strong{display:block;font-size:16px;margin-bottom:8px}
.crew-empty-card p{margin:0 0 16px}
.crew-section-count{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:8px;background:var(--raised);font-size:13px;letter-spacing:0;color:var(--muted)}
.crew-dashboard .crew-account-list{gap:16px;margin-top:20px}
.crew-dashboard .crew-account-detail{border:1px solid var(--line);border-radius:16px;padding:20px;gap:12px;background:var(--surface)}
.crew-account-detail .crew-account-tools{flex-basis:100%;align-items:flex-start;gap:8px}
.crew-account-detail .crew-account-tools>.crew-hint{margin:0;line-height:1.5}
.crew-dashboard .crew-add-account{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.crew-add-account h3{margin-top:0}
.crew-account-explainer{font-size:13px;color:var(--muted);margin-bottom:16px}
.crew-wallet-overview{display:grid;gap:16px;margin:24px 0 16px}
.crew-wallet-overview .crew-balance{margin:0;padding:24px}
.crew-wallet-overview .crew-balance strong{font-size:42px;font-variant-numeric:tabular-nums}
.crew-wallet-overview #wallet-figures{margin:0;align-self:stretch}
.crew-wallet-overview #wallet-figures>div{display:flex;flex-direction:column;justify-content:center;padding:16px;background:var(--bg);border:1px solid var(--line)}
.crew-wallet-overview #wallet-figures dd{font-size:20px;font-variant-numeric:tabular-nums}
.crew-wallet-actions{border:1px solid var(--line);background:var(--bg);border-radius:16px;padding:20px;margin:24px 0}
.crew-wallet-actions h3{margin:0 0 12px}
.crew-wallet-actions .crew-hint{margin-top:12px}
.crew-wallet-preferences{padding:16px 0;border-top:1px solid var(--line)}
.crew-wallet-preferences>summary{cursor:pointer;font-size:15px;font-weight:600;min-height:32px}
.crew-dashboard .crew-home-side>.crew-more{padding:18px;border:1px solid var(--line);border-radius:14px;margin:16px 0;background:var(--bg)}
.crew-dashboard .crew-captain-cta{border:1px solid var(--line);padding:20px;border-radius:16px;margin-top:24px}
.crew-feature-steps{display:grid;gap:12px;list-style:none;counter-reset:crew-feature;padding:0;margin:24px 0}
.crew-feature-steps li{counter-increment:crew-feature;display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.crew-feature-steps li::before{content:'0' counter(crew-feature);font-size:12px;font-weight:600;color:var(--accent)}
.crew-feature-steps strong{font-size:15px}
.crew-feature-steps span{font-size:14px;color:var(--muted);line-height:1.5}
.crew-invite-link{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg);margin-top:24px}
.crew-invite-link>label{margin-top:0}
.crew-dashboard .crew-captain-row{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin-bottom:16px}
.crew-dashboard .crew-captain-list .crew-list{max-height:none;overflow:visible}
@media(min-width:720px){.crew-feature-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.crew-wallet-overview{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}.crew-dashboard .crew-account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){#requests-list,#accepted-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:479px){.crew-dashboard .crew-task{padding:16px}.crew-brand-mark{flex-basis:36px;width:36px;height:36px}.crew-task-top{gap:10px}.crew-task-pay>.crew-pay{font-size:18px}.crew-brand-identity{gap:8px}.crew-wallet-overview #wallet-figures>div{padding:10px}.crew-wallet-overview #wallet-figures dd{font-size:17px}}

.crew-dashboard .crew-ig:disabled{background:var(--raised);color:var(--muted);opacity:1;cursor:not-allowed}

/* Brand artwork is supplied per task; white/neutral surfaces lead into its accent at the logo corner. */
.crew-dashboard .crew-queue-item{position:relative;isolation:isolate;background:linear-gradient(135deg,var(--surface) 55%,color-mix(in srgb,var(--brand-color,var(--raised)) 14%,var(--surface)) 100%);padding-bottom:24px}
.crew-queue-item .crew-brand-identity>.crew-brand-mark{display:none}
.crew-queue-top>.crew-task-pay{flex-shrink:0;max-width:50%}
.crew-queue-top .crew-pay{font-size:20px;font-variant-numeric:tabular-nums}
.crew-pay-unit{font-size:11px;color:var(--muted);font-weight:400}
.crew-view-pay{font-size:12px;font-weight:600;color:var(--ink);line-height:1.4}
.crew-brand-corner{position:absolute;right:18px;bottom:16px;z-index:-1;display:grid;place-items:center;width:56px;height:56px;font-size:24px;font-weight:700;color:var(--brand-color,var(--muted));opacity:.85;pointer-events:none}
.crew-brand-corner img{width:100%;height:100%;object-fit:contain}
.crew-queue-item>.crew-queue-action{max-width:calc(100% - 68px);margin-top:12px}
.crew-queue-item>.crew-hint{max-width:calc(100% - 68px)}
.crew-captain-share{display:flex;gap:12px;align-items:center;max-width:640px;margin-top:16px}
.crew-captain-share input{flex:1;min-width:0;font-size:14px}
.crew-captain-share button{flex-shrink:0}
@media(max-width:479px){.crew-queue-top{align-items:flex-start}.crew-queue-top .crew-pay{font-size:18px}.crew-view-pay{font-size:11px}.crew-captain-share{gap:8px}.crew-captain-share button{padding:8px 12px}}

@media(min-width:960px){#captain>.crew-home-head{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:24px}#captain .crew-captain-share{margin-top:0;max-width:none}}

.crew-captain-heading h1{max-width:100%}
.crew-captain-heading>p{margin-bottom:0}
.crew-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:6px}
.crew-account-detail .crew-account-identity{display:flex;flex-direction:row;align-items:center;gap:12px}
.crew-profile-avatar{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:50%;border:1px solid var(--line);background:var(--raised);color:var(--ink);font-size:18px;font-weight:700}
.crew-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}

/* Clips (crew.js renderClips): credit packs, the form, and each ask with its clips ranked by viral score. */
.crew-packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:8px 0}
.crew-pack{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer}
.crew-pack strong{font-size:16px}.crew-pack span{font-size:13px;color:var(--muted)}
.crew-pack:disabled{opacity:.5;cursor:not-allowed}
.crew-clips select{width:100%}
.crew-clips-made{border:1px solid var(--accent);background:var(--soft-accent);border-radius:14px;padding:10px 12px;margin:8px 0}
.crew-clips-made ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:8px}
.crew-clips-made li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.crew-clip-asks{list-style:none;margin:8px 0;padding:0;display:grid;gap:14px}
.crew-clip-ask{border:1px solid var(--line);border-radius:16px;padding:12px}
.crew-clip-ask-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.crew-clip-ask-top strong{overflow-wrap:anywhere}
.crew-clip-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.crew-clip{display:grid;gap:6px;border-top:1px solid var(--line);padding-top:10px}
.crew-clip video,.crew-clip img{width:100%;max-width:240px;aspect-ratio:9/16;object-fit:cover;border-radius:12px;background:#000}
.crew-clip-score{font-weight:600;color:var(--accent)}
.crew-clip-caption{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px}
.crew-clip-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crew-thumb{min-width:44px;min-height:40px;border:1px solid var(--line);border-radius:999px;background:none;color:inherit;font:inherit;cursor:pointer}
.crew-thumb[aria-pressed="true"]{background:var(--soft-accent);border-color:var(--accent)}

/* Suggested for your accounts (crew.js renderSuggested): one card per set of clips, its tags as chips, and filters. */
.crew-suggested{display:grid;gap:10px;margin:6px 0 12px}
.crew-suggest-filters{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end}
.crew-suggest-pick{display:grid;gap:4px;min-width:0;flex:1 1 130px;margin:0}
.crew-suggest-pick span{font-size:13px;color:var(--muted)}
.crew-suggest-pick select{width:100%}
.crew-suggest-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.crew-suggest{border:1px solid var(--line);border-radius:16px;padding:12px;display:grid;gap:8px;min-width:0}
.crew-suggest-why{margin:0;overflow-wrap:anywhere}
.crew-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.crew-tag{padding:3px 10px;border-radius:999px;border:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}
.crew-tag.niche{background:var(--soft-accent);border-color:var(--accent)}
.crew-tag.time{font-weight:600}

/* Brand campaigns (crew.js renderCampaigns): job-board cards with the money paid out of the budget, then the details and Join. */
.crew-campaigns{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:12px}
.crew-campaign{border:1px solid var(--line);border-radius:16px;background:var(--bg);overflow:hidden}
.crew-campaign.joined{border-color:var(--accent)}
.crew-campaign>summary{list-style:none;display:grid;gap:6px;padding:14px 16px;cursor:pointer}
.crew-campaign>summary::-webkit-details-marker{display:none}
.crew-campaign-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.crew-campaign-top strong{overflow-wrap:anywhere}
.crew-campaign-title{margin:0;font-weight:600;overflow-wrap:anywhere}
.crew-bar{height:8px;border-radius:999px;background:var(--raised);overflow:hidden}
.crew-bar span{display:block;height:100%;background:var(--accent);border-radius:999px}
.crew-campaign-money{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.crew-campaign-body{display:grid;gap:8px;padding:0 16px 14px;border-top:1px solid var(--line)}
.crew-campaign-body p{margin:8px 0 0}
.crew-campaign-join{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crew-campaign-join select{flex:1 1 160px;min-width:0}
/* Today: the Due now banner for planned posts, and this month's top earners. */
.crew-due{display:grid;gap:8px;margin:0 0 12px;padding:12px;border:1px solid var(--accent);border-radius:14px;background:var(--soft-accent)}
.crew-due p{margin:0}
.crew-ranks{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.crew-ranks li{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:12px;background:var(--surface)}
.crew-ranks li.you{outline:2px solid var(--accent)}
.crew-ranks b{color:var(--accent)}
/* Clips: clipping a campaign's video, and the post plan grouped by day. */
.crew-clips-campaign{border:1px solid var(--accent);background:var(--soft-accent);border-radius:14px;padding:10px 12px;margin:0 0 8px}
.crew-clips-campaign p{margin:0 0 4px;overflow-wrap:anywhere}
.crew-plan{list-style:none;margin:6px 0 10px;padding:0;display:grid;gap:10px}
.crew-plan-day h4{margin:0 0 6px;font-size:14px;color:var(--muted)}
.crew-plan-day ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.crew-plan-item{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:12px;background:var(--surface)}
.crew-plan-item.due{outline:2px solid var(--accent)}
.crew-plan-item span{overflow-wrap:anywhere}
.crew-plan-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crew-plan-form input{flex:1 1 180px;min-width:0}
/* Job board: the first-clip challenge card and the niche filter chips. */
.crew-first-clip{padding:16px 18px;border:1px solid var(--accent);border-radius:14px;background:var(--soft-accent);margin:12px 0}
.crew-first-clip strong{display:block;font-size:16px;margin-bottom:6px}
.crew-first-clip ol{margin:0;padding-left:20px}
.crew-niche-filter{margin:8px 0 12px}
.crew-niche-filter .crew-chip{min-height:36px;padding:6px 12px;font-size:14px}
