body[data-ui03=true]{background:#17191c;color:#f2efe9}body[data-ui03=true] #project-create{display:none!important}.cw{--ink:#f2efe9;--muted:#b5b7b5;--line:#ffffff25;--accent:#d9e2b6;padding:12px 22px calc(var(--shell-nav-clearance,90px) + 44px);max-width:1120px;margin:auto}.cw *{box-sizing:border-box}.cw button,.cw input,.cw select,.cw textarea,#cw-dialog button,#cw-dialog input,#cw-dialog select,#cw-dialog textarea{font:inherit}.cw button{cursor:pointer}.cw h1{font-weight:450;font-size:36px;line-height:1.28;letter-spacing:-.035em;margin:6px 0 12px}.cw h2{font-size:23px;font-weight:450;line-height:1.4;margin:8px 0 15px}.cw h3{font-size:18px;font-weight:500;line-height:1.45;margin:4px 0}.cw p{color:var(--muted);font-size:14px;line-height:1.85}.cw-kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#d9e2b6;margin:18px 0 10px}.cw-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.cw-lead{margin-bottom:24px}.cw-btn{min-height:44px;padding:10px 18px;border:1px solid #ffffff40;border-radius:24px;background:transparent;color:#f2efe9;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none}.cw-btn.primary{background:#d9e2b6;border-color:#d9e2b6;color:#22251c}.cw-btn.danger{color:#ffc3b8;border-color:#bd776d}.cw-btn:disabled{opacity:.42;cursor:not-allowed}.cw button:focus-visible,#cw-dialog :focus-visible{outline:2px solid #d9e2b6;outline-offset:4px}.cw-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.cw-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:22px 0 20px;overflow-x:auto;scrollbar-width:thin}.cw-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#aaaead;padding:12px 0;white-space:nowrap;min-height:46px;font-size:13px}.cw-tabs button[aria-pressed=true]{border-color:#d9e2b6;color:#f2efe9}.cw-hero{position:relative;isolation:isolate;min-height:420px;display:flex;align-items:end;margin:20px -22px 28px;padding:28px 24px;background:#30372f;overflow:hidden}.cw-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 25%;z-index:-2;filter:saturate(.6)}.cw-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#15191bf5 2%,#15191b70 52%,#15191b08)}.cw-hero h2{font-size:40px;line-height:1.2;max-width:12em;margin:15px 0}.cw-hero p{color:#e0e1db;max-width:34em}.cw-hero .cw-kicker{color:#f5f2e8}.cw-badge{display:inline-block;font-size:10px;line-height:1.5;padding:5px 9px;border:1px solid #ffffff38;border-radius:4px;color:#d3d7ce;white-space:nowrap}.cw-badge.active{color:#d9e2b6;border-color:#d9e2b655}.cw-row{padding:20px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:16px;width:100%;text-align:left;color:inherit;background:transparent;border-inline:0;border-bottom:0}.cw-row .cw-grow{flex:1;min-width:0}.cw-row p{margin:5px 0;font-size:12px}.cw-row small{color:#b5b7b5;font-size:11px}.cw-arrow{font-size:25px;color:#ccc}.cw-number{font-size:11px;color:#8b918d;align-self:start;padding-top:9px}.cw-thumb{width:64px;height:82px;object-fit:cover;object-position:50% 25%;background:#353a34}.cw-section{padding:24px 0;border-top:1px solid var(--line)}.cw-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin:22px 0}.cw-facts dt{font-size:11px;color:#929b95;margin-bottom:6px}.cw-facts dd{margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.cw-field{display:block;margin:17px 0}.cw-field>span{display:block;font-size:12px;color:#d3d6d0;margin-bottom:8px}.cw-field input,.cw-field select,.cw-field textarea{width:100%;min-height:46px;background:#202427;border:1px solid #ffffff35;border-radius:8px;color:#f2efe9;padding:12px;font-size:14px;max-width:100%}.cw-field textarea{min-height:110px;resize:vertical}.cw-check{display:flex;gap:10px;align-items:start;margin:12px 0;font-size:13px;line-height:1.7}.cw-check input{accent-color:#d9e2b6;min-width:18px;min-height:18px}.cw-search{display:flex;gap:8px;margin-top:20px}.cw-search .cw-field{margin:0;flex:1}.cw-note{font-size:12px!important;line-height:1.8!important;border-left:2px solid #8c9872;padding:6px 0 6px 14px;color:#b5b7b5}.cw-empty{padding:55px 10px;text-align:center}.cw-empty h2{font-size:25px}.cw-statline{display:flex;gap:24px;padding:20px 0;border-block:1px solid var(--line);margin:24px 0}.cw-statline strong{display:block;font-size:30px;font-weight:400}.cw-statline span{font-size:11px;color:#adb5ad}.cw-timeline{list-style:none;padding:0}.cw-timeline li{border-left:1px solid #657354;padding:0 0 24px 18px;font-size:13px;color:#d5d9d0}.cw-timeline small{display:block;font-size:11px;color:#96a08f;margin-top:6px}.cw-callout{background:#252d27;padding:20px;margin:24px 0}.cw-callout p{margin:0}.cw-sticky{position:sticky;bottom:calc(var(--shell-nav-clearance,90px) + 6px);padding:12px;background:#17191cf2;backdrop-filter:blur(12px);z-index:3;border:1px solid #ffffff21;border-radius:16px;display:flex;gap:10px;align-items:center;margin-top:24px}.cw-sticky .primary{flex:1}.cw-error{color:#ffc3b8!important;font-size:13px;line-height:1.7}.cw-skeleton{height:180px;background:linear-gradient(110deg,#242927,#353c35,#242927);margin:20px 0;border-radius:5px}.cw-context{display:flex;gap:10px;align-items:center;font-size:12px;color:#b5b7b5;margin:15px 0}.cw-context select{min-height:44px;background:#242826;color:#fff;border:1px solid #ffffff30;padding:8px;border-radius:8px;max-width:100%}.cw-back{border:0;background:none;color:#c1c8be;padding:12px 0;min-height:44px;font-size:13px}.cw-page-footer{font-size:10px!important;color:#899287!important;margin-top:30px!important}#cw-dialog{max-width:520px;width:calc(100% - 28px);max-height:calc(100dvh - 40px);margin:auto;padding:25px;background:#1b201e;color:#f2efe9;border:1px solid #ffffff38;border-radius:20px;overflow:auto}#cw-dialog::backdrop{background:#080b0dc0;backdrop-filter:blur(5px)}#cw-dialog .cw-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px}#cw-dialog h2{font-size:23px;font-weight:450;margin:0 0 15px}#cw-dialog p{font-size:13px;line-height:1.85;color:#b5b7b5}#cw-dialog .cw-dialog-close{min-width:44px;min-height:44px;border:1px solid #ffffff40;border-radius:50%;background:none;color:white}.cw fieldset,#cw-dialog fieldset{border:1px solid #ffffff25;padding:15px;border-radius:8px}.cw legend,#cw-dialog legend{font-size:12px;padding:0 6px}.cw-bodytext{white-space:pre-line;overflow-wrap:anywhere}.cw :is(h1,h2,h3){overflow-wrap:anywhere}.cw-material{padding:10px 0;font-size:13px;border-bottom:1px solid #ffffff20;overflow-wrap:anywhere}
@media(min-width:700px){.cw{padding-inline:42px}.cw h1{font-size:46px}.cw-hero{margin-inline:0;min-height:480px;padding:40px}.cw-hero h2{font-size:54px}.cw-facts{grid-template-columns:repeat(3,1fr)}.cw-hero>img{object-position:50% 35%}.cw-section{padding-block:32px}}
@media(max-width:359px){.cw{padding-inline:16px}.cw h1{font-size:31px}.cw-hero{margin-inline:-16px}.cw-tabs{gap:16px}.cw-facts{gap:15px}.cw-btn{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){.cw *{scroll-behavior:auto!important;animation:none!important}}
.cw-feed-title h1{font-size:24px;margin:8px 0 0}.cw-feed-title{margin-top:5px}.cw-feed-title+.cw-tabs{margin-top:8px;margin-bottom:0}.cw-cinema{min-height:500px;margin-top:0;padding-top:100px}.cw-cinema>img{object-position:50% 42%;filter:none}.cw-cinema:after{background:linear-gradient(0deg,#17191c 0%,#17191cbd 12%,#17191c08 58%,#17191c20)}.cw-cinema h2{font-size:41px;line-height:1.25;text-shadow:0 2px 18px #0009;margin-bottom:10px}.cw-cinema .cw-actions{margin-bottom:0}.cw-cinema .cw-btn.primary{background:#f2efe9;color:#20231c;border-color:#f2efe9}.cw-cinema p{font-size:12px;margin:6px 0}.cw-detail-hero{min-height:450px;margin-bottom:14px}.cw-rail-section{margin:28px 0}.cw-rail-section:has(.cw-rail:empty){display:none}.cw-rail-section h2{font-size:19px;margin-bottom:14px}.cw-rail{display:flex;gap:12px;overflow-x:auto;margin:0 -22px;padding:0 22px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}.cw-poster{flex:0 0 155px;min-height:245px;padding:0;border:0;border-radius:6px;background:#303932;position:relative;isolation:isolate;overflow:hidden;color:#fff;text-align:left;scroll-snap-align:start}.cw-poster img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;z-index:-2}.cw-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111b19f0,transparent 85%);z-index:-1}.cw-poster-title{display:block;font-size:22px;line-height:1.3;letter-spacing:-.025em;margin:135px 13px 9px;overflow-wrap:anywhere}.cw-poster-meta{display:block;font-size:10px;color:#d0d6ca;margin:0 13px 16px}.cw-search{align-items:end}.cw-search .cw-btn{max-height:48px}.cw-cover-preview{margin:14px 0;max-width:220px;aspect-ratio:2/3;border-radius:5px;overflow:hidden}.cw-return-work{position:fixed;z-index:30;bottom:calc(var(--shell-nav-clearance,90px) + 12px);left:16px;background:#232a22e8;box-shadow:0 4px 20px #0005}.cw-poster:hover{filter:brightness(1.1)}
.cw-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.cw-hero>.cw-hero-cover{position:absolute;inset:0;z-index:-2;aspect-ratio:auto;width:100%;height:100%;padding-bottom:130px}.cw-poster>.cw-poster-cover{position:absolute;inset:0;z-index:-2;width:100%;height:100%;aspect-ratio:auto;min-height:0;padding:20px 12px}.cw-poster-cover .ce-cover-title{font-size:23px}.cw-cover-preview>.ce-cover{aspect-ratio:2/3;width:100%;height:100%;min-height:0}.cw-cover-preview .ce-cover-title{font-size:25px}.ce-preview{max-width:270px;margin:auto}.ce-preview .ce-cover{aspect-ratio:2/3;min-height:300px}.ce-cover.ce-font-serif{font-family:"Noto Serif Thai","Noto Sans Thai",serif}.ce-preview .ce-cover-title{font-size:calc(30px * var(--ce-scale))}
@media(max-width:700px){.ce-preview{max-width:140px}.ce-preview .ce-cover{aspect-ratio:2/3;min-height:180px;padding:12px}.ce-preview .ce-cover-title{font-size:calc(21px * var(--ce-scale))}.ce-preview-pane{position:relative}.ce-preview .ce-cover-subtitle{font-size:10px}}
.cw-submitted-media{display:flex;gap:12px;overflow:auto;padding-block:12px}.cw-submitted-media button{border:1px solid #ffffff30;border-radius:6px;background:#202623;color:#fff;padding:0;min-width:110px;max-width:140px;text-align:left}.cw-submitted-media img{width:110px;height:140px;object-fit:cover}.cw-submitted-media small{display:block;padding:8px;font-size:11px}
@media(min-width:700px){.cw-cinema{min-height:610px;margin-top:15px}.cw-cinema h2{font-size:60px}.cw-cinema>img{object-position:50% 44%}.cw-cinema:after{background:linear-gradient(0deg,#17191c,transparent 75%),linear-gradient(90deg,#17191c80,transparent 75%)}.cw-rail{margin-inline:0;padding-inline:0}.cw-poster{flex-basis:205px;min-height:315px}.cw-poster-title{margin-top:195px;font-size:27px}.cw-detail-hero{min-height:540px}}
.cw-medium-bar{display:flex;align-items:center;gap:9px;padding:18px 0 21px;position:relative;z-index:5}.cw-medium-bar>.cw-btn,.cw-medium-picker>summary{min-height:44px;padding:10px 16px;border:1px solid #ffffff36;border-radius:22px;background:#ffffff07;white-space:nowrap;font-size:13px;color:#efeee7;cursor:pointer}.cw-medium-picker{position:relative;min-width:0}.cw-medium-picker>summary{list-style:none;display:flex;justify-content:center;gap:15px;align-items:center}.cw-medium-picker>summary::-webkit-details-marker{display:none}.cw-medium-menu{position:absolute;top:calc(100% + 10px);right:0;width:min(290px,calc(100vw - 48px));max-height:340px;overflow:auto;padding:12px;background:#27282beb;backdrop-filter:blur(24px);border:1px solid #ffffff32;border-radius:22px;box-shadow:0 18px 65px #0008;z-index:12}.cw-medium-menu button{display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;border-radius:12px;background:none;color:#f2efe9;min-height:52px;width:100%;font:inherit;font-size:15px;padding:13px 16px;text-align:left;cursor:pointer}.cw-medium-menu button:hover,.cw-medium-menu button[aria-pressed=true]{background:#ffffff12}.cw-medium-menu button span{font-size:13px;color:#c8d5a7}.cw-category-head{position:relative;text-align:center;padding:25px 0 22px;z-index:5}.cw-category-head h2{font-size:26px;margin:0 40px 20px}.cw-category-back{position:absolute;left:0;top:17px;background:none;border:0;color:inherit;font-size:34px!important;min-width:44px;min-height:44px}.cw-category-select{display:flex;justify-content:center}.cw-category-select .cw-medium-menu{left:50%;right:auto;transform:translateX(-50%)}.cw-category-select summary{min-width:165px}.cw-rotator .cw-cinema{margin:0;border:1px solid #ffffff25;border-radius:15px;min-height:500px}.cw-hero-hit{position:absolute;inset:0;z-index:0;border:0;background:none;width:100%;height:100%;cursor:pointer}.cw-hero-hit:focus-visible{outline-offset:-5px!important}.cw-hero-copy{pointer-events:none;position:relative;z-index:1;width:100%}.cw-hero-copy button{pointer-events:auto}.cw-rotator-controls{padding-inline:0}.cw-rotator-control{border:0;background:none;color:#aeb7ae;font-size:10px;padding:6px}.cw-rotator-control:hover{background:none;color:#f2efe9}.cw-rotator-control[aria-pressed=true]{background:none;color:#d9e2b6}.cw-rotator-controls:empty{display:none}.cw-quick-art{height:235px;position:relative;margin:0 -25px;overflow:hidden}.cw-quick-art>img{width:100%;height:100%;object-fit:cover;object-position:50% 35%}.cw-quick-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1b201e,transparent 60%);pointer-events:none}.cw-quick-cover{width:100%;height:100%;min-height:0;aspect-ratio:auto;padding:22px}.cw-quick-cover .ce-cover-title{font-size:30px}.cw-quick-info{padding-top:8px}.cw-quick-meta{font-size:12px;color:#d9e2b6;letter-spacing:.02em}.cw-quick-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cw-quick-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:22px}.cw-quick-actions .cw-btn:last-child{border-color:transparent;color:#c8d0c0}.cw-quick-dialog .cw-facts{grid-template-columns:1fr 1fr;font-size:12px;margin-block:15px}.cw-quick-dialog .cw-facts dt{color:#99a397}.cw-quick-dialog .cw-facts dd{font-size:12px}.cw-rail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.cw-rail-heading h2{margin:0}.cw-see-all{border:0;border-bottom:1px solid #a9b5a367;background:none;color:#c5cdbd;padding:8px 0;min-height:44px;white-space:nowrap;font-size:12px!important}.cw-poster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin-top:24px}.cw-poster-grid .cw-poster{width:100%;min-height:0;aspect-ratio:2/3}.cw-poster-grid .cw-poster-title{position:absolute;bottom:28px;margin:0 12px;font-size:22px}.cw-poster-grid .cw-poster-meta{position:absolute;bottom:0;margin:0 12px 12px}.cw-all-head{margin:15px 0}.cw-all-head h1{font-size:29px}.cw-all-head p{font-size:12px}.cw-poster-grid .cw-poster-cover .ce-cover-title{font-size:23px}@media(min-width:700px){.cw-rotator .cw-cinema{min-height:610px}.cw-quick-art{height:285px}.cw-poster-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}.cw-poster-grid .cw-poster-title{font-size:26px}}@media(max-width:359px){.cw-medium-bar{gap:7px}.cw-medium-bar>.cw-btn,.cw-medium-picker>summary{font-size:11px;padding-inline:12px}.cw-rotator .cw-cinema{padding-inline:18px;min-height:460px}.cw-cinema h2{font-size:36px}.cw-poster-grid .cw-poster-title{font-size:19px}.cw-quick-art{height:170px}}
html:has(body[data-ui03=true]){background:#17191c;color-scheme:dark}body[data-ui03=true]{min-height:100dvh}
.cw-discovery-stage.has-hero{position:relative;margin-inline:-22px;margin-top:0;margin-bottom:0}.cw-discovery-stage.has-hero>.cw-medium-bar{position:absolute;top:0;left:22px;right:22px;z-index:6;padding-top:17px}.cw-discovery-stage.has-hero>.cw-category-head{position:absolute;top:0;left:22px;right:22px;z-index:6}.cw-discovery-stage.has-hero .cw-medium-bar>.cw-btn,.cw-discovery-stage.has-hero .cw-medium-picker>summary{background:#20212385;backdrop-filter:blur(14px);border-color:#ffffff55;box-shadow:0 2px 16px #0002}.cw-discovery-stage.has-hero .cw-category-head h2{text-shadow:0 2px 16px #0009}.cw-discovery-stage.has-hero .cw-rotator .cw-cinema{min-height:540px;border:0;border-radius:0;margin:0;padding:220px 24px 22px}.cw-discovery-stage.has-hero .cw-cinema:after{background:linear-gradient(180deg,#17191c95 0%,#17191c10 23%,#17191c05 40%,#17191c9a 70%,#17191c 100%)}.cw-discovery-stage.has-hero+.cw-rail-section{margin-top:0}.cw-discovery-stage .cw-rotator-controls{padding:0;gap:0;min-height:44px}.cw-discovery-stage.is-category .cw-rotator-controls{top:auto;bottom:22px}.cw-discovery-stage .cw-rotator-control{color:#f2efe9;border:0;background:transparent;padding:0;font-size:0;border-radius:4px}.cw-discovery-stage .cw-rotator-control:hover,.cw-discovery-stage .cw-rotator-control[aria-pressed=true]{color:#fff;background:transparent;border:0}.cw-discovery-stage .cw-rotator-control[aria-pressed=true]{color:#d9e2b6}.cw-discovery-stage .cw-rotator-control svg{width:16px;height:16px}.cw-discovery-stage .cw-rotator-control[data-cw-rotator-next] svg{width:16px;height:16px}@media(min-width:700px){.cw-discovery-stage.has-hero{margin-inline:-42px}.cw-discovery-stage.has-hero>.cw-medium-bar,.cw-discovery-stage.has-hero>.cw-category-head{left:42px;right:42px}.cw-discovery-stage.has-hero .cw-rotator .cw-cinema{min-height:610px;padding-inline:42px}.cw-discovery-stage.has-hero+.cw-rail-section{margin-top:0}}@media(max-width:359px){.cw-discovery-stage.has-hero{margin-inline:-16px}.cw-discovery-stage.has-hero>.cw-medium-bar,.cw-discovery-stage.has-hero>.cw-category-head{left:16px;right:16px}.cw-discovery-stage.has-hero .cw-rotator .cw-cinema{padding-inline:20px;min-height:520px}}

.cw-medium-bar .cw-medium-picker{position:static}.cw-medium-bar .cw-medium-menu{right:0;top:calc(100% - 8px);width:min(290px,100%)}

.cw-discovery-stage .cw-actions{padding-right:82px;flex-wrap:nowrap;gap:8px}.cw-discovery-stage .cw-actions .cw-btn{font-size:12px;padding-inline:13px;white-space:nowrap}@media(max-width:359px){.cw-discovery-stage .cw-actions .cw-btn{font-size:11px;padding-inline:10px}}

/* UI03 0.1.4: smaller discovery pills; category heading and selector precede artwork. */
.cw-medium-bar>.cw-btn,.cw-medium-picker>summary{position:relative;min-height:34px;padding:6px 12px;font-size:11px;border-radius:18px;line-height:20px}
.cw-medium-bar>.cw-btn::before,.cw-medium-picker>summary::before{content:"";position:absolute;inset:-5px 0;pointer-events:auto}
.cw-medium-picker>summary{gap:10px}
.cw-discovery-stage.has-hero>.cw-medium-bar{padding-top:12px}
.cw-discovery-stage.is-category>.cw-category-head{position:relative;inset:auto;padding:17px 22px 20px}
.cw-category-head h1{font-size:25px;font-weight:450;line-height:1.4;margin:0 44px 14px;text-shadow:none!important}
.cw-discovery-stage.is-category .cw-category-back{left:16px;top:10px}
.cw-category-select summary{min-width:132px}
@media(min-width:700px){.cw-discovery-stage.is-category>.cw-category-head{padding-inline:42px}.cw-discovery-stage.is-category .cw-category-back{left:36px}}
@media(max-width:359px){.cw-discovery-stage.is-category>.cw-category-head{padding-inline:16px}.cw-discovery-stage.is-category .cw-category-back{left:10px}}

.cw-saved-head,.cw-tracking-head{margin:28px 0 18px}.cw-saved-head h2,.cw-tracking-head h2{font-size:22px;margin-bottom:6px}.cw-saved-head p{font-size:12px;margin-top:0}.cw-tracking-head+.cw-tabs{margin-top:4px}.cw-saved-head+.cw-rail-section{margin-top:0}

/* Small covers show the creator artwork without a system gradient. */
.cw-poster,.cw-poster-grid .cw-poster{min-height:0;aspect-ratio:auto;background:transparent;border-radius:0;overflow:visible;align-self:start}
.cw-poster:after{content:none}
.cw-poster-art{position:relative;display:block;width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:5px;background:#303932;isolation:isolate}
.cw-poster-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.cw-poster-art>.cw-poster-cover{position:absolute;inset:0;z-index:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;padding:20px 12px}
.cw-poster-art .ce-cover:after{content:none}
.cw-poster-art .ce-cover-title{font-size:23px}
.cw-poster-caption{display:flex;flex-direction:column;gap:8px;padding-top:11px}
.cw-poster .cw-poster-title,.cw-poster-grid .cw-poster .cw-poster-title{position:static;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;padding:0;font-size:14px;line-height:1.75;letter-spacing:0;min-height:0}
.cw-poster .cw-poster-meta,.cw-poster-grid .cw-poster .cw-poster-meta{position:static;display:block;margin:0;font-size:11px;line-height:1.7;color:#aeb6ae}
.cw-poster-deadline{display:block;color:#dfc49e;font-size:11px;line-height:1.7}
.cw-closing-window{font-size:11px;line-height:1.5;color:#b5b7b5;white-space:nowrap}
.cw-poster:hover{filter:none}.cw-poster:hover .cw-poster-art{outline:1px solid #ffffff60;outline-offset:2px}

.cw-quick-art{height:auto;aspect-ratio:8/5}.cw-quick-art>.cw-quick-cover{height:100%;aspect-ratio:8/5}

/* Compact media strip sits immediately between navigation tabs and artwork. */
.cw-discovery-stage.has-hero>.cw-medium-bar{position:relative;inset:auto;padding:6px 22px;gap:8px}
.cw-medium-bar>.cw-btn,.cw-medium-bar .cw-medium-picker>summary{min-height:34px;padding:6px 13px;line-height:20px;font-size:12px;font-weight:550;border-radius:12px;background:#ffffff0d;backdrop-filter:none;box-shadow:inset 0 1px 0 #ffffff08;border-color:#ffffff4a}
.cw-discovery-stage.has-hero .cw-medium-bar>.cw-btn,.cw-discovery-stage.has-hero .cw-medium-bar .cw-medium-picker>summary{background:#ffffff0d;backdrop-filter:none;box-shadow:inset 0 1px 0 #ffffff08;border-color:#ffffff4a}
.cw-medium-bar>.cw-btn:hover,.cw-medium-bar .cw-medium-picker>summary:hover,.cw-medium-bar .cw-medium-picker[open]>summary{background:#ffffff18;border-color:#ffffff75}
.cw-medium-bar .cw-medium-menu{right:22px;top:calc(100% + 4px);width:min(290px,calc(100% - 44px))}
@media(min-width:700px){.cw-discovery-stage.has-hero>.cw-medium-bar{padding-inline:42px}.cw-medium-bar .cw-medium-menu{right:42px}}
@media(max-width:359px){.cw-discovery-stage.has-hero>.cw-medium-bar{padding-inline:16px}.cw-medium-bar .cw-medium-menu{right:16px;width:min(290px,calc(100% - 32px))}}

#cw-cover-dialog .ce-field[hidden],#cw-cover-dialog .ce-color-grid[hidden]{display:none}
#cw-cover-dialog .ce-preview[data-surface=full],#cw-cover-dialog .ce-preview[data-surface=popup]{max-width:100%}
#cw-cover-dialog .ce-preview[data-surface=full] .ce-cover,#cw-cover-dialog .ce-preview[data-surface=popup] .ce-cover{min-height:0}
.cw-quick-art>img{object-position:50% 22%}

/* Keep all three casting tabs at the compact saved/tracking header baseline. */
.cw-feed-title{height:39px;min-height:39px}
.cw-casting-search{position:relative;display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:1px solid #ffffff2b;border-radius:10px;background:#ffffff06;color:#eef0e8}
.cw-casting-search:before{content:"";position:absolute;inset:-7px}
.cw-casting-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}

/* Align the first snapped card with its heading and leave room for its hover edge. */
.cw-rail{scroll-padding-inline:22px;padding-top:3px}
.cw-casting-tabs button{min-height:38px;line-height:22px;padding:8px 0 5px}
.cw-see-all{border-bottom:0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a9b5a367;line-height:20px;padding:6px 0}
@media(min-width:700px){.cw-rail{scroll-padding-inline:3px;padding-inline:3px;margin-inline:-3px}}
@media(max-width:359px){.cw-rail{scroll-padding-inline:16px;padding-inline:16px;margin-inline:-16px}}

/* Category-specific choices and the explicit poster creation entry. */
.cw-subtype-picker .cw-medium-menu{max-height:min(52vh,440px);overflow-y:auto;overscroll-behavior:contain;min-width:min(260px,80vw)}
.cw-genre-fields{border:1px solid #ffffff24;border-radius:12px;margin:16px 0;padding:12px}
.cw-genre-fields legend{font-size:13px;padding:0 6px}.cw-genre-fields>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;max-height:190px;overflow:auto}.cw-genre-fields .cw-check{font-size:12px;margin:0;min-height:36px}
.cw-compose-card{padding:16px;border:1px solid #ffffff2e;border-radius:14px;background:#ffffff05;margin:18px 0;display:grid;gap:12px}.cw-compose-card h3{font-size:18px}.cw-compose-card p{font-size:12px;color:#bdc3bd;margin:4px 0}.cw-compose-card .cw-cover-preview{margin:0;max-height:210px;overflow:hidden;border-radius:8px}.cw-compose-card .cw-cover-preview .ce-cover{min-height:140px;max-height:210px}.cw-compose-card .cw-actions{margin:0}
.cw-project-metadata{font-size:12px;color:#c4cbc6;line-height:1.6;margin:12px 0}.cw-project-metadata p{margin:3px 0}


/* All open calls below the recently opened horizontal shelf. */
.cw-collection{margin:34px 0 0;scroll-margin-top:130px}.cw-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cw-collection-heading h2{font-size:19px;line-height:1.5;margin:0}.cw-origin-select{font:inherit;font-size:12px;color:#edece6;background:#ffffff0b;border:1px solid #ffffff28;border-radius:10px;padding:8px 10px;max-width:120px;flex-shrink:0}.cw-origin-select option{background:#282c2e}.cw-collection-count{font-size:11px;color:#aeb6ae;margin:4px 0 14px}.cw-compose-card .cw-cover-preview{width:140px;aspect-ratio:2/3;height:210px}.cw-compose-card .cw-cover-preview .ce-cover{height:100%;width:100%;min-height:0}.cw-compose-card .ce-cover-title{font-size:22px}
@media(max-width:359px){.cw-collection-heading h2{font-size:17px}.cw-origin-select{font-size:11px;max-width:95px}}

/* Upcoming publication stays visually separate from an open casting call. */
.cw-coming-notice{display:block;color:#bfe7d3;font-size:12px;line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}
.cw-poster-caption .cw-coming-notice{font-size:11px;margin:0;color:#a7c7b7}
.cw-schedule-audience{font-size:12px;line-height:1.7;color:var(--muted,#a7aaa9)}
.cw-coming-soon{margin-block:24px}
.cw-closing-soon .cw-rail-heading,.cw-coming-soon .cw-rail-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center}.cw-closing-soon .cw-rail-heading h2,.cw-coming-soon .cw-rail-heading h2{grid-column:1;grid-row:1}.cw-closing-soon .cw-closing-window,.cw-coming-soon .cw-closing-window{grid-column:1;grid-row:2;white-space:normal}.cw-closing-soon .cw-see-all,.cw-coming-soon .cw-see-all{grid-column:2;grid-row:1 / 3;align-self:center}.cw-shelf-grid{gap:24px 12px}

/* Compact switch keeps title geometry but removes text beneath the shared header. */
/* UI03 .1.18 — creator workspace follows the existing cinematic discovery. */
.cw-create-fab{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:calc(116px + env(safe-area-inset-bottom));z-index:19;width:58px;height:58px;border:1px solid #ecedcf;border-radius:50%;background:#ededd6;color:#171917;box-shadow:0 8px 24px #0005;display:grid;place-items:center;cursor:pointer}
.cw-create-fab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8}
.cw-create-fab:hover{background:#fff}.cw-create-fab:focus-visible{outline:3px solid #fff;outline-offset:5px}
.cw-collection-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:8px 0 18px}.cw-collection-tools .cw-btn{font:inherit;font-size:12px;border:0;background:transparent;color:#dce0c9;text-decoration:underline;text-underline-offset:4px;padding:8px 0;cursor:pointer}.cw-collection-tools .cw-check{margin:0;font-size:13px}
.cw-grid-footer{text-align:center;margin:24px 0 32px;color:#c0c1b9;font-size:13px}.cw-grid-footer .cw-btn{min-width:180px}.cw-poster-status{display:block;color:#dbcfb5;font-size:12px;margin-top:5px}
.cw-origin-definitions{margin:12px 0 22px}.cw-origin-definitions dt{font-weight:600;margin-top:18px;color:#eeeeDF}.cw-origin-definitions dd{margin:6px 0 0;color:#c9cac2;line-height:1.7}.cw-origin-help[hidden]{display:none}.cw-project-classification{padding:14px 0;border-top:1px solid #ffffff19;border-bottom:1px solid #ffffff19;margin:16px 0}
.cw-form-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.cw-form-pair input,.cw-form-pair select{min-width:0;width:100%}.cw-pay-fields{margin:24px 0;border:1px solid #ffffff22;border-radius:12px;padding:18px 14px}.cw-pay-fields legend{padding:0 8px;font-size:14px;font-weight:600}.cw-pay-fields .cw-note{margin-bottom:0}
.cw-pay-summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:18px 0;padding:16px 0;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20}.cw-pay-summary strong{font-size:24px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#eeeedd}.cw-pay-summary>span{font-size:13px;color:#c8c9c2}.cw-pay-summary small{flex-basis:100%;color:#cbcfb3;font-size:12px;line-height:1.7}
.cw .cw-coming-notice{display:flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.6;white-space:normal}.cw-coming-notice time{display:flex;flex-direction:column;gap:2px;font-variant-numeric:tabular-nums}.cw-coming-notice time span{display:block}.cw-poster .cw-coming-notice{font-size:11px;margin-top:8px}
.cw-manage-status{display:flex;gap:20px;overflow-x:auto;padding:8px 0 0;margin:20px 0 26px;border-bottom:1px solid #ffffff25;scrollbar-width:thin}.cw-manage-status button{flex:none;display:flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;padding:12px 0;color:#b7b9b2;background:transparent;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}.cw-manage-status button[aria-pressed=true]{color:#f1f0e4;border-bottom-color:#d6ddb2}.cw-manage-status button span{font-size:11px;opacity:.75;font-variant-numeric:tabular-nums}
.cw-my-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.cw-managed-project{appearance:none;display:flex;flex-direction:column;text-align:left;border:0;background:transparent;color:inherit;padding:0;min-width:0;font:inherit;cursor:pointer}.cw-managed-art{display:block;aspect-ratio:3/4;position:relative;overflow:hidden;border-radius:12px;background:#252a26;border:1px solid #ffffff22}.cw-managed-art>.ce-cover{height:100%;width:100%}.cw-managed-art>img{height:100%;width:100%;object-fit:cover}.cw-managed-info{display:flex;flex-direction:column;gap:7px;padding-top:12px}.cw-managed-info>span:first-child,.cw-managed-info>small{font-size:11px;color:#b7bbb1}.cw-managed-info>strong{font-size:17px;line-height:1.55;font-weight:500;overflow-wrap:anywhere}.cw-managed-info>span{font-size:12px;color:#cbcdc5}.cw-managed-states{display:flex;gap:5px;flex-wrap:wrap}.cw-managed-states .cw-badge{font-size:10px;padding:3px 7px}.cw-managed-project:hover .cw-managed-art{border-color:#cdd3aa}.cw-managed-project:focus-visible{outline:2px solid #dce3b8;outline-offset:6px;border-radius:12px}
.cw-project-masthead{display:grid;grid-template-columns:100px minmax(0,1fr);gap:20px;align-items:center;margin:22px 0}.cw-project-thumb{aspect-ratio:3/4;position:relative;overflow:hidden;border-radius:10px;background:#262b27}.cw-project-thumb>img,.cw-project-thumb>.ce-cover{height:100%;width:100%;object-fit:cover}.cw-project-masthead h1{font-size:26px;line-height:1.4;margin:5px 0 12px;overflow-wrap:anywhere}.cw-project-masthead p{font-size:12px;line-height:1.65;color:#c4c7bb;margin:0}.cw-project-masthead p:last-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cw-role-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.cw-role-actions .cw-btn{font-size:12px;padding:8px 12px}.cw-section>.cw-actions{gap:10px;padding-top:14px;border-top:1px solid #ffffff14}.cw-section>.cw-head{gap:15px;align-items:flex-start}.cw-section>.cw-head h2{font-size:20px;line-height:1.6;overflow-wrap:anywhere}.cw-section .cw-row{gap:16px;padding:18px 0}.cw-section .cw-row h3{font-size:17px;line-height:1.55;margin:0 0 6px}.cw-section .cw-row p{font-size:12px;margin:0}
.cw-revisions{font-size:12px;border-bottom:1px solid #ffffff20;margin:16px 0;padding-bottom:12px}.cw-revisions summary{cursor:pointer;line-height:1.7;color:#d7d9bd}.cw-revisions dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}.cw-revisions dd{margin:0;overflow-wrap:anywhere}.cw-revisions li{padding:8px 0}.cw .cw-kicker:empty{display:none}
@media(min-width:700px){.cw-my-projects{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.cw-project-masthead{grid-template-columns:140px minmax(0,1fr);gap:28px}.cw-project-masthead h1{font-size:34px}.cw-create-fab{right:32px}.cw-project-masthead p{font-size:14px}}
@media(max-width:360px){.cw-collection-heading{flex-wrap:wrap;gap:12px}.cw-role-actions{max-width:135px}.cw-project-masthead{grid-template-columns:76px minmax(0,1fr);gap:14px}.cw-project-masthead h1{font-size:23px}.cw-form-pair{gap:8px}.cw-my-projects{gap:20px 12px}}

.cw .cw-manage-status{scrollbar-width:none}.cw .cw-manage-status::-webkit-scrollbar{display:none}

/* UI03 .1.19 — a single right-hand action column; reserve its base for back-to-top. */
.cw-fab-stack{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(var(--shell-nav-clearance,90px) + 70px);z-index:29;display:flex;flex-direction:column;gap:12px}
.cw-fab-stack button{position:static;inset:auto;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;box-shadow:0 6px 20px #0005}
.cw-projects-fab{background:#252b28eF;border:1px solid #d9dfc477;color:#edf0df;backdrop-filter:blur(10px)}
.cw-fab-stack svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round}
.cw-fab-stack button:focus-visible{outline:2px solid #e4ecc4;outline-offset:4px}
.cw-projects-fab:hover,.cw-projects-fab:focus-visible{background:#fff;color:#171917}
.cw-fab-stack button:active,.cw-fab-stack .is-pressed{background:#ecece7;color:#171917;box-shadow:inset 0 2px 5px #0003;transform:scale(.96)}
@media(prefers-reduced-motion:reduce){.cw-fab-stack button:active,.cw-fab-stack .is-pressed{transform:none}}
body:has(dialog[open]) .cw-fab-stack{display:none}
.cw-my-projects>.cw-empty{grid-column:1/-1;width:100%;box-sizing:border-box;text-align:center;min-height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.cw-title-picker{justify-self:center;position:relative;z-index:7;max-width:100%}
.cw-title-picker>summary{list-style:none;display:block;border:0;background:none;padding:6px 14px;cursor:pointer;border-radius:10px}
.cw-title-picker>summary::-webkit-details-marker{display:none}
.cw-title-picker>summary h1{margin:0!important;font:inherit;font-size:26px;line-height:1.4;font-weight:600}
.cw-title-picker>summary:hover,.cw-title-picker[open]>summary{background:#ffffff0c}
.cw-title-picker>summary:focus-visible{outline:2px solid #dce5be;outline-offset:2px}
.cw-title-picker .cw-medium-menu{left:50%;right:auto;top:calc(100% + 8px);transform:translateX(-50%);width:min(280px,calc(100vw - 48px));max-height:55vh;overflow:auto}
.cw-category-head:has(.cw-title-picker){overflow:visible}

.cw-casting-dates{border:1px solid #ffffff26;padding:16px;border-radius:12px;margin:20px 0}.cw-casting-dates legend{padding:0 7px;font-size:14px}.cw-casting-dates input{max-width:100%;min-width:0}
.cw-role-rates>section{padding:10px 0;border-bottom:1px solid #ffffff20}.cw-role-rates h3{font-size:15px;margin:0}.cw-role-rates .cw-pay-summary{border:0;margin:0;padding:6px 0}.cw-role-rates .cw-pay-summary strong,.cw-row .cw-pay-summary strong{font-size:19px}
.cw-row .cw-pay-summary{margin:7px 0 0;padding:8px 0;border-bottom:0}.cw-call-window{display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:1.7;color:#cbd0c4}.cw-call-window small{font-size:11px;color:#aeb6a8}
.cw-lifecycle-notice{border-left:2px solid #d4dbae;background:#d4dbae0b;padding:14px 16px;margin:18px 0;line-height:1.7}.cw-lifecycle-notice strong{font-size:15px}.cw-lifecycle-notice p,.cw-lifecycle-notice small{font-size:12px;color:#cbd0c4}
.cw-text-history article{padding:22px 0;border-bottom:1px solid #ffffff22}.cw-text-history h2{font-size:18px}.cw-text-history p{font-size:13px;color:#bbc4b6;line-height:1.7;margin:5px 0}

/* Quiet, compact project cards keep response actions inside the detail dialog. */
.cw-tracking-head{margin:16px 0 12px}.cw-tracking-head h2{font-size:24px;line-height:1.4;margin:0}
.cw-tracking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.cw-tracking-card{display:flex;flex-direction:column;gap:10px;color:inherit;background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer;min-width:0}
.cw-tracking-art{display:block;aspect-ratio:4/3;width:100%;border-radius:10px;overflow:hidden;background:#242a28;border:1px solid #ffffff20}.cw-tracking-art>img,.cw-tracking-art>.ce-cover{display:block;width:100%;height:100%;object-fit:cover;min-height:0}.cw-tracking-art .ce-cover-title{font-size:17px}.cw-tracking-art .ce-cover-subtitle{font-size:7px}
.cw-tracking-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.cw-tracking-copy strong{font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.cw-tracking-copy>span:not(.cw-badge),.cw-tracking-copy small{font-size:11px;line-height:1.5;color:#bfc6bb}.cw-tracking-copy .cw-badge{font-size:10px;padding:3px 7px}
.cw-tracking-card:hover .cw-tracking-art{border-color:#d5dcba}.cw-tracking-card:focus-visible{outline:2px solid #d9e3b4;outline-offset:5px;border-radius:10px}
.cw-tracking-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.cw-tracking-section-head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:18px}.cw-count-badge{font-size:11px;min-width:23px;height:23px;padding:0 6px;box-sizing:border-box;display:grid;place-items:center;border:1px solid #bac6ab50;border-radius:50%;color:#dfe7d4}
.cw-tracking-preview-head{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center}.cw-tracking-preview-head h3{margin:0 0 9px}.cw-tracking-preview-head p{font-size:13px}.cw-tracking-preview-head .cw-tracking-art{aspect-ratio:3/4}.cw-tracking-preview-actions{display:flex;flex-direction:column;gap:12px;margin-top:18px}.cw-invitation-decisions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cw-invitation-decisions .cw-btn{min-width:0;font-size:12px;padding:12px 8px}.cw-invite-accept{background:#d8e3bf;color:#253026;border-color:#d8e3bf}.cw-invite-decline{background:#edc6c4;color:#4b2827;border-color:#edc6c4}
.cw-cover-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cw-source-choice{background:#d5dddf;color:#243035;border:1px solid #e1e9e8;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:14px 12px;font:inherit;cursor:pointer}.cw-source-choice[data-mode=graphic]{background:#dbd4e6;color:#30283e;border-color:#ebe3f6}.cw-source-choice svg{height:22px;width:22px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.cw-source-choice strong{font-size:13px;line-height:1.5;font-weight:600}.cw-source-choice span{font-size:11px;line-height:1.6}.cw-source-choice:hover{filter:brightness(1.07)}.cw-source-choice:focus-visible{outline:2px solid white;outline-offset:3px}
@media(min-width:700px){.cw-tracking-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.cw-tracking-copy strong{font-size:16px}}

.cw-managed-wrap{position:relative;min-width:0}.cw-managed-wrap>.cw-managed-project{width:100%}.cw-delete-project{position:absolute;right:8px;top:8px;width:34px;height:34px;padding:7px;display:grid;place-items:center;color:#ffe3e0;background:#26201fe6;border:1px solid #f0cccc50;border-radius:50%;cursor:pointer}.cw-delete-project svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.cw-delete-project:hover{background:#78463f}.cw-delete-project:focus-visible{outline:2px solid #f4d4cb;outline-offset:3px}
.cw-form-section{margin:24px 0;border-top:1px solid #ffffff27;padding-top:20px}.cw-form-section>h3{margin:0 0 18px;font-size:18px;line-height:1.5;color:#edeedf}.cw-bundle-role{border:1px solid #ffffff2c;border-radius:12px;margin:18px 0;padding:14px}.cw-bundle-role>legend{font-size:14px;padding:0 7px;color:#dae1c5}.cw-bundle-role .cw-pay-fields{border:0;padding:0;margin:18px 0}.cw-bundle-role .cw-pay-fields legend{padding:0;margin-bottom:10px}.cw-bundle-coming[hidden]{display:none}.cw-bundle-publish{width:100%;min-height:48px;margin-top:12px;background:#343c40;border-color:#6f7b7e;color:#f0f2ee;font-weight:600}
/* Constrain native date controls on narrow screens without hiding content. */
#cw-dialog fieldset{min-inline-size:0;max-width:100%;box-sizing:border-box}
#cw-dialog input[type=datetime-local]{min-width:0;width:100%;box-sizing:border-box}
#cw-dialog h2{text-wrap:balance;word-break:normal}

/* .1.20: five complete status labels; compact form guidance. */
.cw .cw-manage-status{flex-wrap:wrap;gap:4px 20px;overflow:visible;padding-bottom:8px}
.cw .cw-manage-status button{font-size:13px;padding:9px 0;min-height:40px}
.cw-origin-field{position:relative}.cw-origin-field>.cw-field>span{padding-right:38px}
.cw-origin-info{position:absolute;right:0;top:-6px;display:grid;place-items:center;width:32px;height:32px;border:0;background:none;color:#cbd4ba;cursor:pointer;border-radius:50%;padding:5px}
.cw-origin-info svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.cw-origin-info:focus-visible{outline:2px solid #d9e3b4;outline-offset:2px}.cw-student-field{margin:10px 0 18px}
.cw-pay-minimum{font-size:12px;line-height:1.6;color:#d6dcbf;margin:4px 0 14px}

.cw-production-name[hidden]{display:none} .cw-pay-amount{appearance:textfield;-moz-appearance:textfield}.cw-pay-amount::-webkit-inner-spin-button,.cw-pay-amount::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* Keep currency in the label and both payment controls aligned at all widths. */
.cw-pay-minimum{display:flex;align-items:center;gap:4px}.cw-pay-info{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:6px;border:0;border-radius:50%;background:transparent;color:#d6dcbf;cursor:pointer}.cw-pay-info svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.cw-pay-help[hidden]{display:none}.cw-pay-help{margin:0 0 14px;padding:10px 12px;border-left:2px solid #c1caa5;background:#ffffff06}
#cw-dialog .cw-pay-pair{align-items:end;gap:12px}#cw-dialog .cw-pay-pair>.cw-field{min-width:0;display:grid;grid-template-rows:1fr 48px;margin-block:12px}#cw-dialog .cw-pay-pair>.cw-field>span{line-height:1.5;margin-bottom:8px}#cw-dialog .cw-pay-pair :is(input,select){box-sizing:border-box;height:48px;min-height:48px;padding:10px;line-height:1.5;font-size:14px}#cw-dialog .cw-pay-amount-field>span{white-space:nowrap;font-size:12px}
@media(max-width:370px){#cw-dialog .cw-pay-pair{grid-template-columns:1fr}#cw-dialog .cw-pay-pair>.cw-field{margin-block:7px}}

/* Timing shelves share one slot on the main feed and every category. */
.cw-timing{margin:24px 0 20px}.cw-timing-switch{display:flex;align-items:stretch;gap:10px}.cw-timing-switch button{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:48px;padding:10px 12px;border:1px solid #d5ddc334;border-radius:12px;background:#ffffff05;color:#c0c6be;font-size:13px;line-height:1.6;text-align:left}.cw-timing-switch button[aria-expanded=true]{background:#d9e2b612;color:#e3eacb;border-color:#d9e2b67a}.cw-timing-switch small{font-size:11px;opacity:.8;margin-left:auto}.cw-timing-switch svg{flex:0 0 14px;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s}.cw-timing-switch button[aria-expanded=true] svg{transform:rotate(180deg)}
.cw-timing-panel[hidden]{display:none}.cw-timing-panel:not([hidden]){animation:cw-timing-reveal .28s ease-out}.cw-timing .cw-rail-section{margin-top:14px;padding-top:0}.cw-timing .cw-rail-heading h2{display:none}.cw-timing .cw-rail-heading{margin-bottom:12px}.cw-timing-collapse{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 0;margin-left:auto;border:0;background:none;color:#d3ddbd;font-size:12px}.cw-timing-empty{padding:18px 0}.cw-timing.is-category{margin-top:18px;margin-bottom:14px}
@keyframes cw-timing-reveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:370px){.cw-timing-switch{gap:6px}.cw-timing-switch button{font-size:12px;padding:9px 8px;gap:4px}}
@media(prefers-reduced-motion:reduce){.cw-timing-switch svg{transition:none}}

.cw-timing :is(.cw-coming-soon,.cw-closing-soon){margin-block:0}.cw-timing .cw-rail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cw-timing .cw-rail-section{margin-bottom:12px}

/* .1.21 — file-folder tabs, based on the owner's silhouette reference. */
.cw-timing{--folder-paper:#22282a;--folder-edge:#aeb99c80;--folder-muted-edge:#aeb99c35}
.cw-timing-switch{position:relative;gap:0;align-items:stretch;border-bottom:1px solid var(--folder-edge);isolation:isolate}
.cw-timing-switch button{position:relative;isolation:isolate;border:0;border-radius:0;background:none;min-height:54px;padding:12px 24px 9px 13px;gap:7px;color:#aab1ab;justify-content:flex-start;overflow:visible}
.cw-timing-switch button+button{margin-left:-5px}
.cw-timing-switch button[aria-expanded=true]{z-index:2;background:none;color:#e0e8c9}
.cw-timing-switch button>span,.cw-timing-switch button>small{position:relative;z-index:1}
.cw-timing-switch small{margin-left:auto;opacity:.85;font-size:10px}
.cw-timing-switch button>.cw-folder-tab-shape{position:absolute;inset:0 0 -1px;z-index:-1;width:100%;height:calc(100% + 1px);transform:none;transition:none;overflow:visible;pointer-events:none}
.cw-folder-tab-shape path{fill:#1b1f22;stroke:var(--folder-muted-edge);stroke-width:1;vector-effect:non-scaling-stroke}
.cw-timing-switch button[aria-expanded=true] .cw-folder-tab-shape path{fill:var(--folder-paper);stroke:var(--folder-edge)}
.cw-timing-switch button:focus-visible{outline:2px solid #dae5bc;outline-offset:-6px}
.cw-timing-panel{background:linear-gradient(180deg,var(--folder-paper),#22282a00 88%);border-bottom:1px solid #aeb99c25;padding-top:1px;padding-bottom:8px}
.cw-timing-panel:not([hidden]){animation:cw-folder-reveal .22s ease-out}
.cw-timing .cw-rail-heading{margin-top:4px}
.cw-timing-empty{padding-inline:13px}
@keyframes cw-folder-reveal{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:370px){.cw-timing-switch{gap:0}.cw-timing-switch button{font-size:12px;padding:12px 19px 9px 10px;gap:4px}}
@media(prefers-reduced-motion:reduce){.cw-timing-panel:not([hidden]){animation:none}}

.cw-timing-switch button[aria-expanded=true]>.cw-folder-tab-shape{transform:none}

/* Opposing folder lips overlap at the centre; the shared sheet reaches both edges. */
.cw .cw-timing{--folder-gutter:22px;margin-inline:calc(-1 * var(--folder-gutter));width:calc(100% + 2 * var(--folder-gutter))}
.cw-timing-switch button{padding-inline:var(--folder-gutter) 32px}
.cw-timing-switch button+button{margin-left:-32px;padding-inline:32px var(--folder-gutter)}
.cw-timing-switch button:last-child>.cw-folder-tab-shape,.cw-timing-switch button:last-child[aria-expanded=true]>.cw-folder-tab-shape{transform:scaleX(-1)}
.cw-timing .cw-rail-heading{margin-inline:var(--folder-gutter)}
.cw-timing .cw-rail{margin-inline:0;padding-inline:var(--folder-gutter);scroll-padding-inline:var(--folder-gutter)}
@media(min-width:700px){.cw .cw-timing{--folder-gutter:42px}}
@media(max-width:359px){.cw .cw-timing{--folder-gutter:16px}}

/* Compact folder spine with breathing room beneath the hero actions. */
.cw .cw-timing,.cw .cw-timing.is-category{margin-top:10px}
.cw-timing-switch button{min-height:46px;padding-block:8px 6px}
.cw-timing-switch button+button{margin-left:-38px}

/* .1.22 — estimated duration drives the daily compensation check. */
.cw-work-hours[hidden]{display:none}.cw-work-estimates small{display:block;margin-top:7px;font-size:11px;line-height:1.6;color:#b4bdb4}.cw-work-estimates input{appearance:textfield}.cw-work-estimates input::-webkit-inner-spin-button,.cw-work-estimates input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#cw-dialog .cw-pay-estimate{margin:8px 0 16px;font-size:12px;line-height:1.75;color:#cfdbb8}#cw-dialog .cw-pay-estimate.is-error{color:#efb4ab}

/* Creator close control stays at the upper corner; actions enter after first scroll. */
#cw-dialog.cw-project-create-dialog{overflow:hidden;padding:0;max-height:calc(100dvh - 32px)}
.cw-project-scroll{max-height:calc(100dvh - 34px);overflow:auto;padding:25px 25px 158px;scroll-padding:60px 0 156px}
#cw-dialog.cw-project-create-dialog>.cw-dialog-close{position:absolute;top:10px;right:10px;z-index:12;width:48px;height:48px;border:0;border-radius:0;background:transparent;padding:8px;color:#f2efe9;display:grid;place-items:center}
#cw-dialog.cw-project-create-dialog>.cw-dialog-close svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;filter:drop-shadow(0 1px 3px #000)}
#cw-dialog.cw-project-create-dialog .cw-dialog-head{padding-right:42px}
.cw-create-actions{position:absolute;z-index:10;bottom:0;left:0;right:0;padding:14px 20px 18px;display:grid;gap:9px;background:linear-gradient(180deg,#1b201e00,#1b201ef5 16%,#1b201e 55%);transform:translateY(105%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .25s ease-out,opacity .2s,visibility .25s}
.cw-create-scrolled .cw-create-actions{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
#cw-new-project .cw-create-actions>button{width:100%;min-height:46px;margin:0;font-size:13px;font-weight:600}
#cw-new-project .cw-create-actions>[value=draft]{background:#343c40;border-color:#6f7b7e;color:#e4e8e5}
#cw-new-project .cw-create-actions>.cw-bundle-publish{background:#cfc0df;border-color:#dcd0e8;color:#2e2538}
@media(min-width:600px),(max-height:500px){.cw-create-actions{grid-template-columns:1fr 1fr;padding:12px 20px 14px}.cw-project-scroll{padding-bottom:100px;scroll-padding-bottom:96px}}

/* .1.23 — opposing folder edges continue to the far side of the sheet. */
.cw-timing-switch button+button{padding-left:46px}
.cw-timing-switch{overflow:hidden}
.cw-timing-switch button{flex:0 0 calc((100% + 38px)/2);box-sizing:border-box}
.cw-timing-switch button>.cw-folder-tab-shape{height:100%;inset:0}
@media(max-width:370px){.cw-timing-switch button{font-size:11px;gap:4px}.cw-timing-switch button+button{padding-left:38px}.cw-timing-switch small{font-size:9px}}
/* The action shelf sticks to the viewport while scrolling and returns to document flow at the end. */
.cw-project-scroll{padding-bottom:20px;scroll-padding-bottom:150px}
.cw-project-scroll>#cw-modal-error:empty{display:none}
.cw-create-actions{position:sticky;left:auto;right:auto;bottom:-20px;margin:24px -25px -20px;background:#1b201e;border-top:1px solid #9ba68b65;transition:transform .25s ease-out,visibility .25s}
@media(min-width:600px),(max-height:500px){.cw-project-scroll{padding-bottom:20px;scroll-padding-bottom:96px}}
/* Five equal status targets, with a separate count line for three-digit totals. */
.cw .cw-manage-status{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;flex-wrap:nowrap;overflow:visible;padding-bottom:0}
.cw .cw-manage-status button{min-width:0;min-height:58px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 0;text-align:center}
.cw .cw-manage-status button .cw-status-label{font-size:12px;line-height:1.5;opacity:1;white-space:nowrap}
.cw .cw-manage-status button .cw-status-count{font-size:11px;line-height:1.3;min-width:3ch;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:370px){.cw .cw-manage-status{gap:2px}.cw .cw-manage-status button .cw-status-label{font-size:10px}.cw .cw-manage-status button .cw-status-count{font-size:10px}}
@media(prefers-reduced-motion:reduce){.cw-create-actions{transition:none}}

/* .1.24 — continue only the selected folder contour; no baseline across its open face. */
.cw-timing-switch{border-bottom:0}
.cw-timing-switch button[aria-expanded=false]>.cw-folder-tab-shape{overflow:hidden}

/* Keep the whole stroke without opening a seam between the tab fill and sheet. */
.cw-timing-switch{overflow:clip;overflow-clip-margin:1px}
.cw-timing-switch button>.cw-folder-tab-shape{height:100%}
/* BUG03: the SVG folder slopes scale with each tab. Keep copy on its flat face. */
@media(min-width:700px),(orientation:landscape) and (min-width:568px){
 .cw-timing-switch button:first-child{padding-right:calc(12% + 5px)}
 .cw-timing-switch button+button{padding-left:calc(12% + 5px)}
 .cw-timing-switch button>span{min-width:0;overflow-wrap:anywhere}
 .cw-timing-switch small{flex-shrink:0;font-variant-numeric:tabular-nums}
}
.cw-subtype-picker>summary{display:flex;align-items:center;gap:10px}
.cw-subtype-picker>summary>span{line-height:1.5}
.cw-subtype-chevron{display:block;flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.cw-subtype-picker[open] .cw-subtype-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.cw-subtype-chevron{transition:none}}

/* .1.26 — a rounded raised sheet that merges into the form at its natural end. */
.cw-create-actions{border-radius:26px 26px 0 0}
.cw-create-at-end .cw-create-actions{border-top-color:transparent;border-radius:0}
/* R25 reuses the actual listing-card title clamp, with measured overflow feedback. */
.cw-title-preview{margin:8px 0 22px;max-width:100%}.cw-title-preview .cw-poster{display:block;width:clamp(130px,42vw,220px);max-width:100%;margin:0;pointer-events:none}.cw-title-preview .cw-poster-caption{display:block;padding:0}.cw-title-preview .cw-note{font-size:12px;margin-bottom:10px}.cw-title-warning{font-size:12px!important;line-height:1.8!important;color:#e8d9ad!important;margin:12px 0 0!important}.cw-title-warning[hidden]{display:none!important}

/* FB08: localized category choices use a new row when they cannot fit. */

/* .30 role authority, separate intake and field guidance */
.rv-role{min-width:0;border-bottom:1px solid var(--line,#ddd6cb);padding:14px 0}.rv-role p{margin:5px 0;color:var(--muted,#665f56);overflow-wrap:anywhere}.rv-role input[disabled]{opacity:1;accent-color:#65543b}.rv-role .cw-check{font-weight:650}.cw-field-rule{display:inline-block;margin-inline-start:8px;font-size:12px;font-weight:450;color:#746c60}.cw-field-info{width:28px;height:28px;min-height:28px;border:1px solid #b6aa97;border-radius:50%;background:transparent;color:inherit;font:italic 600 17px Georgia;cursor:pointer;margin:6px}.cw-field-popover{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:16px;border:1px solid #b9ac98;border-radius:12px;background:#faf7f1;color:#302d2b;box-shadow:0 10px 30px #0002;font:14px/1.6 Arial,sans-serif;box-sizing:border-box}.cw-field-popover p{margin:0 0 12px}.cw-field-popover button{min-height:40px;padding:8px 16px;border:1px solid #a99b85;border-radius:8px;background:transparent;color:inherit}.cw-type-choices{display:grid;gap:14px}.cw-intakes{margin:28px 0;padding:20px;border-top:1px solid #d5caba}.cw-intakes header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cw-intakes h2{font-size:22px;margin:0}.cw-intake-tag{display:block;color:#73604c;font-size:13px;margin:6px 0;overflow-wrap:anywhere}.intake-detail p{white-space:pre-wrap;overflow-wrap:anywhere}#intake-editor .cw-actions{flex-wrap:wrap}#intake-editor .cw-actions button{white-space:normal;min-height:44px}#intake-editor .cw-error{overflow-wrap:anywhere}
.rv-role p{color:#c5c8bc}.cw-field-rule{color:#b9bead}.cw-intake-tag{color:#d0c7b6}.cw-field-info{color:#e4e4d4;border-color:#aaa88e}
/* .31 structured agency intake, using the existing dark workspace surfaces. */
#cw-dialog:has(#intake-editor){width:min(820px,calc(100vw - 28px));max-width:820px}
.intake-intro,.intake-help{color:#c4c8be;font-size:13px;line-height:1.7;max-width:68ch}
.intake-form-section{padding:24px 0 12px;border-top:1px solid #ffffff20;margin-top:24px}
.intake-form-section h3{font-size:19px;line-height:1.45;margin:0 0 16px;font-weight:600;color:#f0eee6}
#intake-editor textarea{min-height:76px;resize:vertical}
.intake-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.intake-choices{border:0;padding:0;margin:20px 0}.intake-choices legend{font-size:14px;margin-bottom:12px}.intake-choices legend small{display:block;font-size:11px;color:#bdc4b2;font-weight:400;margin-top:4px}
.intake-choices>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.intake-choices label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #51564d;border-radius:10px;min-height:48px;color:#e9eadf;cursor:pointer;overflow-wrap:anywhere}
.intake-choices label:has(:checked){background:#394137;border-color:#a7b498}.intake-choices input{flex:0 0 18px;width:18px;height:18px;accent-color:#c3ceaf}.intake-choices input:focus-visible{outline:2px solid #e0e7d4;outline-offset:4px}
.intake-facts{margin:22px 0;display:grid;gap:16px}.intake-facts>div{padding-bottom:14px;border-bottom:1px solid #ffffff1a}.intake-facts dt{font-size:12px;color:#bfc5b7;margin-bottom:5px}.intake-facts dd{margin:0;line-height:1.65;overflow-wrap:anywhere}
.intake-draft-note{background:#333c33;color:#dce5d1;border:1px solid #69765f;padding:12px 16px;border-radius:12px;line-height:1.65;font-size:13px}
.intake-summary{margin:20px 0;padding:14px 0;border-block:1px solid #ffffff25}.intake-summary summary{cursor:pointer;font-weight:600;padding:8px 0}
.intake-editor-actions{position:sticky;bottom:-25px;background:#202721;padding:14px 0;margin-bottom:0;z-index:2;flex-wrap:wrap;box-shadow:0 -12px 16px #202721cc}
.rv-evidence-action{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:13px;width:100%;min-height:76px;padding:14px 16px;border:1px solid #7c8a6b;border-radius:15px;background:#394332;color:#f2f0e5;text-align:left;cursor:pointer;font:inherit}
.rv-evidence-action:hover{background:#46523e;border-color:#b8c3a3}.rv-evidence-action:focus-visible{outline:2px solid #e2e8cc;outline-offset:4px}
.rv-evidence-action strong{display:block;font-size:14px;line-height:1.5}.rv-evidence-action small{display:block;color:#cbd4bc;font-size:11px;line-height:1.55;margin-top:4px}
.rv-evidence-icon{display:grid;place-items:center;width:42px;height:46px;background:#252e21;border-radius:10px}.rv-evidence-icon svg{width:26px;height:26px}.rv-evidence-action svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.rv-evidence-arrow{width:20px;height:20px}
@media(max-width:440px){.intake-choices>div{grid-template-columns:1fr}.intake-field-pair{gap:12px}.rv-evidence-action{padding:12px;gap:10px;grid-template-columns:36px minmax(0,1fr) 18px}.rv-evidence-icon{width:36px;height:42px}.intake-editor-actions .cw-btn{flex:1 1 auto}}
/* FB31–34: labels and help own their space; the pay grid never reserves a fixed text row. */
.cw-required{font:inherit;color:#e1ddce;white-space:nowrap}
.cw-field-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cw-field-heading .cw-field-info{flex:0 0 36px;width:36px;height:36px;min-height:36px;margin:-6px 0;padding:8px;border:0;display:inline-grid;place-items:center;font:italic 600 14px Georgia}
.cw-field-info>span{display:grid;place-items:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;line-height:1}
.cw-field-info:focus-visible,.cw-help-close:focus-visible{outline:2px solid #c9badb;outline-offset:2px}
.cw-field-popover{padding:44px 16px 16px;font-family:inherit;overflow-wrap:anywhere}
.cw-field-popover p{margin:0}
.cw-field-popover .cw-help-close{position:absolute;top:4px;right:4px;width:36px;height:36px;min-height:36px;padding:8px;border:0;display:grid;place-items:center}
.cw-help-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}
#cw-dialog .cw-pay-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
#cw-dialog .cw-pay-pair>.cw-field{display:flex;flex-direction:column;grid-template-rows:none;gap:8px;margin-block:12px;min-width:0}
#cw-dialog .cw-pay-pair>.cw-field>span{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:0;min-height:0}
#cw-dialog .cw-pay-pair :is(input,select){width:100%;min-width:0;max-width:100%;flex:none}
#cw-dialog .cw-pay-minimum{flex-wrap:wrap;gap:6px;line-height:1.8}
#cw-dialog :is(.cw-pay-help,.cw-pay-estimate,.cw-field-error,.cw-modal-error,.cw-note){white-space:normal;overflow-wrap:anywhere;line-height:1.8}
.cw-field-error{display:block;color:#f2b9af;font-size:13px;margin-top:6px}
.cw-field-error:empty{display:none}
.cw-field [aria-invalid=true]{border-color:#edb1a7}
#cw-dialog .cw-bundle-role{min-width:0}
#cw-dialog .cw-pay-fields{min-width:0}
@media(max-width:600px){#cw-dialog .cw-pay-pair{grid-template-columns:1fr;gap:0}}
@media(pointer:coarse){.cw-field-heading .cw-field-info{width:44px;height:44px;min-height:44px;flex-basis:44px}.cw-field-popover .cw-help-close{width:44px;height:44px;min-height:44px}}
/* Intake uses the same poster component; only its list/detail slot sizes differ. */
.intake-poster{width:min(100%,300px);aspect-ratio:3/4;margin:0 auto 24px;overflow:hidden;border-radius:12px}
.intake-poster-thumb{display:block;width:72px;aspect-ratio:3/4;flex:none;overflow:hidden;border-radius:8px}
#intake-editor .cw-compose-card{min-width:0}
/* Each casting role is one unit; the chooser and call detail share this layout. */
.cw-role-choices{container-type:inline-size}
.cw-role-choice{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:12px 24px;align-items:start;margin:12px 0 0;padding:22px;border:1px solid #d9e2b62c;border-radius:14px;background:#232923;min-width:0}
.cw-role-identity{grid-column:1;min-width:0}
.cw-role-choice .cw-role-identity h3{font-size:24px;line-height:1.35;font-weight:600;margin:0 0 6px;overflow-wrap:anywhere;color:#f2efe9}
.cw-role-choice .cw-role-identity .cw-bodytext{margin:0;color:#c6cbc2;font-size:13px;line-height:1.7}
.cw-role-pay{grid-column:1;min-width:0}
.cw-role-choice .cw-pay-summary{margin:0;padding:0;border:0;gap:4px 8px;min-width:0;overflow-wrap:anywhere}
.cw-role-choice .cw-pay-summary strong{font-size:22px;line-height:1.45;color:#d9e2b6}
.cw-role-choice .cw-pay-summary>span{font-size:12px;color:#c6cbc2}
.cw-role-choice .cw-pay-summary small{color:#c6cbc2;font-size:12px;line-height:1.7}
.cw-role-choice .cw-note{margin:0;padding:0;border:0}
.cw-role-choice-actions{grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;gap:10px;min-width:0}
.cw-role-choice-actions .cw-actions{display:flex;flex-direction:column;gap:8px;margin:0}
.cw-role-choice-actions .cw-btn{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;font-size:13px;line-height:1.5;white-space:normal;text-align:center;overflow-wrap:anywhere}
#cw-dialog .cw-role-choice-actions .cw-btn{font-size:13px;line-height:1.5}
.cw-role-choice-actions .cw-badge{align-self:center;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
@container(max-width:440px){.cw-role-choice{grid-template-columns:minmax(0,1fr) 112px;gap:12px 16px;padding:16px}.cw-role-choice-actions{grid-row:1}.cw-role-pay{grid-column:1 / -1}.cw-role-choice .cw-role-identity h3{font-size:23px}.cw-role-choice-actions .cw-btn{padding:10px 8px}}
@container(max-width:270px){.cw-role-choice{grid-template-columns:minmax(0,1fr) 100px;gap:12px;padding:12px}.cw-role-choice .cw-role-identity h3{font-size:21px}}
@media(hover:hover){.cw-role-choice:focus-within{border-color:#d9e2b677}.cw-role-choice-actions .cw-btn:not(.primary):hover{background:#d9e2b60d;border-color:#d9e2b677}}
.cw-applicant-profile{display:flex;align-items:center;gap:14px;max-width:100%;padding:12px 0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.cw-applicant-profile span{display:grid;gap:5px;min-width:0}.cw-applicant-profile strong{font-size:19px;line-height:1.5;overflow-wrap:anywhere}.cw-applicant-profile small{font-size:12px;color:#d9e2b6;text-decoration:underline;text-underline-offset:3px}
.cw-applicant-profile .cw-thumb{flex:none}.cw-applicant-profile:focus-visible{outline:2px solid #d9e2b6;outline-offset:4px}
.cw-applicant-row{flex-wrap:wrap}.cw-applicant-row>.cw-applicant-profile{flex:1 1 220px}.cw-applicant-row>.cw-grow{flex:1 1 140px}
#intake-editor .cw-cover-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.intake-poster-thumb{width:58px}}
.intake-poster>.ce-cover,.intake-poster-thumb>.ce-cover{width:100%;height:100%;min-height:0;aspect-ratio:auto;box-sizing:border-box}
.intake-poster .ce-cover-title{font-size:26px}.intake-poster-thumb>.ce-cover{padding:8px}.intake-poster-thumb .ce-cover-title{font-size:11px}.intake-poster-thumb .ce-cover-subtitle{font-size:6px}

/* FB43: project / team / call / role scopes remain visually distinct. */
.cw-project-management{--project-surface:#222b23;--project-line:#b7c69b38}.cw-project-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:18px 0 26px}.cw-project-overview .cw-project-masthead{margin:0}.cw-project-tools{display:flex;flex-direction:column;gap:8px;align-items:stretch}.cw-project-tools .cw-btn{font-size:12px;padding:9px 14px}.cw-project-management .pc-team{border:1px solid var(--project-line);border-radius:14px;background:#1e2520;margin:0 0 26px;padding:18px 22px}.cw-project-management .pc-team h2{font-size:18px;margin:0}.cw-project-management .pc-team .cw-head{align-items:center;flex-wrap:wrap;gap:10px}.cw-project-management .pc-team .cw-head .cw-btn{font-size:12px;padding:8px 14px}.cw-project-management .pc-team>.cw-note{border:0;padding:0;margin:10px 0 14px;font-size:12px;line-height:1.7;max-width:74ch}.cw-project-management .pc-members{margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 22px}.cw-project-management .pc-members li{padding:10px 0;border-top:1px solid #ffffff15;border-bottom:0;gap:10px;min-width:0;flex-wrap:wrap}.cw-project-management .pc-members strong{font-size:14px}.cw-project-management .pc-members small{font-size:11px;line-height:1.7}.cw-project-management .pc-row-actions{display:flex;gap:8px;flex-wrap:wrap}.cw-project-management .pc-row-actions .cw-btn{font-size:11px;padding:8px 12px}.cw-project-management>.cw-tabs{margin-bottom:26px}
.cw-project-calls-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px}.cw-project-calls-heading h2{font-size:21px;margin:0}.cw-project-calls-heading .cw-btn{font-size:12px}.cw-managed-call{border:1px solid var(--project-line);border-radius:18px;background:var(--project-surface);padding:22px 24px;margin:0 0 22px;overflow:hidden}.cw-managed-call-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.cw-managed-call-heading>div{min-width:0}.cw-managed-call-heading h2{margin:0 0 6px;font-size:23px;line-height:1.45;color:#f4f0e5}.cw-managed-call-heading p{font-size:12px;margin:0;color:#c1cdb6}.cw-managed-call-heading>.cw-badge{flex:none}.cw-managed-call-timing{margin:12px 0 18px}.cw-managed-call-timing .cw-call-window{font-size:12px}.cw-managed-roles{border-top:1px solid var(--project-line)}.cw-managed-role{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:22px 0;border-bottom:1px solid var(--project-line)}.cw-managed-role-copy{min-width:0}.cw-managed-role h3{font-size:20px;margin:0 0 8px;color:#f4f0e5}.cw-managed-role p{font-size:13px;line-height:1.75;margin:0;color:#cbd4c0}.cw-managed-role .cw-role-app-count{font-size:11px;color:#c1cdb6;margin-top:8px}.cw-managed-role .cw-pay-summary{margin:12px 0 0;padding:0;border:0;gap:4px}.cw-managed-role .cw-pay-summary strong{font-size:21px;color:#e0e9bb}.cw-managed-role .cw-pay-summary span,.cw-managed-role .cw-pay-summary small{font-size:12px;color:#cbd4c0}.cw-managed-role .cw-role-actions{display:flex;flex-direction:column;align-self:center;flex-wrap:nowrap;gap:8px;max-width:180px;min-width:130px}.cw-managed-role .cw-role-actions .cw-btn{border-color:#a8b99266;border-radius:11px;background:#ffffff04}.cw-managed-role .cw-role-actions .cw-btn:first-child{background:#354431;border-color:#a8b99288}.cw-managed-call-footer{padding-top:18px}.cw-managed-main-actions{display:flex;gap:10px;flex-wrap:wrap}.cw-managed-main-actions .cw-btn{font-size:12px}.cw-call-management{margin-top:14px}.cw-call-management summary{display:flex;align-items:center;gap:10px;min-height:44px;width:fit-content;cursor:pointer;font-size:13px;color:#d4dfc7}.cw-call-management summary:after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 4px 4px}.cw-call-management[open] summary:after{transform:rotate(225deg);margin-bottom:0}.cw-call-management summary:focus-visible{outline:2px solid #e3ecc7;outline-offset:3px}.cw-call-management-options{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0 0}.cw-call-management-options .cw-btn{font-size:12px;padding:9px 14px}.cw-call-destructive{flex-basis:100%;border-top:1px solid var(--project-line);margin-top:8px;padding-top:14px}.cw-call-destructive .cw-btn{color:#ffd0c5;border-color:#c78e7a88}
#cw-dialog .intake-managed .intake-management-actions{padding:18px 0;border-block:1px solid #b7c69b38;gap:10px;margin:24px 0}#cw-dialog .intake-managed [data-intake-action=edit]{order:-1;background:#d9e2b6;color:#22251c;border-color:#d9e2b6}#cw-dialog .intake-managed [data-intake-action=close]{color:#ffd0c5;border-color:#c78e7a88}#cw-dialog .intake-managed .intake-invite-section{padding:20px;background:#222b23;border:1px solid #b7c69b38;border-radius:14px;margin:22px 0}#cw-dialog .intake-managed .intake-invite-section .cw-field{margin-top:0}#cw-dialog .intake-managed>h3{margin-top:24px;font-size:18px}#cw-dialog .intake-managed>.cw-row{width:100%;color:#e3ecc7;border-color:#b7c69b38;min-height:48px;text-align:left;background:#222b23;padding:14px;border-radius:10px}
@media(max-width:699px){.cw-project-overview{grid-template-columns:minmax(0,1fr);gap:14px}.cw-project-overview .cw-project-masthead{grid-template-columns:76px minmax(0,1fr);gap:16px}.cw-project-overview .cw-project-masthead h1{font-size:26px}.cw-project-tools{flex-direction:row;flex-wrap:wrap;margin-left:92px}.cw-project-management .pc-team{padding:16px}.cw-project-management .pc-team h2{font-size:17px}.cw-project-management .pc-members{grid-template-columns:minmax(0,1fr)}.cw-project-calls-heading{gap:10px;flex-wrap:wrap}.cw-project-calls-heading h2{font-size:20px}.cw-managed-call{padding:18px 16px;border-radius:14px}.cw-managed-call-heading{gap:12px;flex-wrap:wrap}.cw-managed-call-heading h2{font-size:21px}.cw-managed-role{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0}.cw-managed-role .cw-role-actions{flex-direction:row;flex-wrap:wrap;min-width:0;max-width:none;justify-content:flex-start}.cw-managed-role .cw-role-actions .cw-btn{flex:1 1 105px;padding:8px 10px}.cw-managed-main-actions .cw-btn{flex:1 1 130px}.cw-call-management-options .cw-btn{flex:1 1 130px}.cw-call-destructive .cw-btn{width:100%}}

/* Integrated review: compact project/team summary; focus remains on interactive controls. */
#shell-page.cw:has(>.cw-project-management):focus{outline:0}.cw-project-management .pc-team{padding-block:15px}.cw-project-management .pc-team>.cw-note{margin-block:8px 10px}.cw-project-management .pc-members li{padding-block:8px}
@media(min-width:900px){.cw-project-summary{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;gap:28px;margin:22px 0 26px}.cw-project-summary .cw-project-overview{grid-template-columns:minmax(0,1fr);gap:14px;margin:0}.cw-project-summary .cw-project-tools{flex-direction:row;flex-wrap:wrap;margin-left:168px}.cw-project-summary .pc-team{margin:0;padding:18px}.cw-project-summary .pc-team .cw-head{gap:8px}.cw-project-summary .pc-members{grid-template-columns:minmax(0,1fr)}}

/* FB54: project > call > role hierarchy; nested roles use a warm neutral surface. */
.cw-project-management .cw-project-masthead h1{font-size:clamp(29px,3.8vw,42px);line-height:1.3}
.cw-project-management .cw-managed-call-heading h2{font-size:clamp(25px,2.8vw,32px);line-height:1.35;overflow-wrap:anywhere}
.cw-project-management .cw-managed-roles{border:0;display:grid;gap:12px}
.cw-project-management .cw-managed-role{padding:20px;border:1px solid #d8d2bd33;border-radius:13px;background:#dedbcf;color:#282d26}
.cw-project-management .cw-managed-role h3{font-size:20px;color:#252d24;line-height:1.4}
.cw-project-management .cw-managed-role p,.cw-project-management .cw-managed-role .cw-pay-summary span,.cw-project-management .cw-managed-role .cw-pay-summary small{color:#4d5748}
.cw-project-management .cw-managed-role .cw-pay-summary strong{color:#374b2d;font-size:19px}
.cw-project-management .cw-managed-role .cw-role-actions .cw-btn{color:#293d25;background:#f4f1e9;border-color:#65735e66}
.cw-project-management .cw-managed-role .cw-role-actions .cw-btn:first-child{background:#c2ccb3;color:#23371f}
.cw-managed-main-actions [data-cw=talent]{white-space:nowrap}
@media(max-width:699px){.cw-project-management .cw-managed-role{padding:16px}.cw-project-management .cw-managed-role h3{font-size:19px}.cw-project-management .cw-managed-role .cw-role-actions .cw-btn{flex-basis:95px}}
/* Keep the existing glass navigation legible above the new light nested role cards. */
body:has(#shell-page>.cw-project-management) .tosaa-navigation{background:linear-gradient(155deg,#353538ed,#161619eb)}
/* FB56: compact publisher criteria inside the existing role identity and forms. */
.cw-role-criteria-summary{display:flex;flex-wrap:wrap;gap:4px 16px;margin:10px 0;color:inherit;font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
.cw-role-criteria-summary span{display:block}
.cw-role-criteria-fields{display:grid;gap:14px;margin:12px 0 18px;min-width:0}
.cw-gender-criteria{margin:0;padding:0;border:0;min-width:0}
.cw-gender-criteria legend{font-size:14px;font-weight:600;padding:0}
.cw-gender-criteria .cw-field-hint{font-size:12px;margin:4px 0 8px;opacity:.72}
.cw-gender-options{display:flex;flex-wrap:wrap;gap:8px 18px}
.cw-gender-options .cw-check{display:flex;align-items:center;gap:8px;min-height:44px;margin:0}
.cw-gender-options input{width:18px;height:18px;accent-color:#b8c77a}
.cw-role-age-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.cw-role-age-range .cw-field{min-width:0;margin:0}
.cw-role-age-range input{min-width:0;width:100%}
.cw-role-age-range .cw-field-error{grid-column:1/-1}
.cw-review-role{margin:12px 0}

/* Short landscape role detail keeps its action in flow so criteria and pay remain readable. */
@media (orientation:landscape) and (max-height:460px){.cw .cw-role-apply{position:static;inset:auto;width:auto;margin:20px 0;transform:none}}

/* Casting discovery filters: shared Member / Industry, kept within the search dialog. */
#cw-search .cw-search-gender,#cw-search .cw-search-age{border:0;padding:0;margin:22px 0;min-width:0}
#cw-search legend{font-size:14px;color:#eeeae3;margin-bottom:10px}
#cw-search .cw-field-hint{font-size:12px;line-height:1.7;color:#b5b7b5;margin:0 0 12px}
#cw-search .cw-gender-options input{accent-color:#b8c77a}
#cw-search .cw-search-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;margin-top:24px}
#cw-search .cw-search-actions button{min-height:44px}
.cw-search-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;color:#e6e6dc}
.cw-search-summary button{min-height:44px;font:inherit;font-size:13px;color:inherit;cursor:pointer}
.cw-filter-chip{display:inline-flex;align-items:center;gap:9px;border:1px solid #b8c77a52;background:#b8c77a14;border-radius:24px;padding:8px 12px;max-width:100%;text-align:start}
.cw-filter-chip span{overflow-wrap:anywhere}.cw-filter-chip svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.cw-search-edit,.cw-search-clear{border:0;background:transparent;padding:8px;text-decoration:underline;text-underline-offset:4px}
.cw-search-summary button:focus-visible{outline:2px solid #b8c77a;outline-offset:3px}

.cw-invitation-group{margin:28px 0}.cw-invitation-group h2{font-size:20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cw-audition-invitation{padding:18px;min-height:145px}.cw-audition-invitation .cw-tracking-copy{min-width:0}

.cw-invitation-filters{display:flex;border-bottom:1px solid #ffffff28;gap:4px;margin:24px 0}.cw-invitation-filters button{flex:1;min-width:0;min-height:44px;padding:10px 8px;border:0;border-bottom:2px solid transparent;background:none;color:inherit;font:inherit;font-size:14px;cursor:pointer}.cw-invitation-filters button[aria-pressed="true"]{border-color:#c0c7a1;color:#e0e6c5;font-weight:650}

.cw-invitation-group .cw-tracking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cw-invitation-group .cw-audition-invitation{padding:14px 0;border-bottom:1px solid #ffffff20;min-height:0}
@media(max-width:600px){.cw-invitation-group .cw-tracking-grid{grid-template-columns:1fr}.cw-invitation-group .cw-tracking-card{flex-direction:row;gap:14px;align-items:flex-start}.cw-invitation-group .cw-tracking-art{width:92px;flex:0 0 92px;aspect-ratio:3/4}.cw-invitation-group .cw-tracking-copy{flex:1;min-width:0}.cw-invitation-group .cw-tracking-copy strong{font-size:15px;line-height:1.55}}
.cw-criteria-notice{font-size:13px!important;line-height:1.8!important;margin:18px 0 4px;padding:12px 14px;border:1px solid #ffffff24;border-radius:10px;background:#202622;color:#d3d7ce!important;overflow-wrap:anywhere}
.cw-criteria-flag{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:8px 0 10px!important}.cw-criteria-flag .cw-badge{white-space:normal}.cw-criteria-flag small{font-size:11px;line-height:1.6;color:#b5b7b5;overflow-wrap:anywhere}
/* Owner 23 Oct 2026 night: whole category chips (wrap instead of a cut-off strip) and one calm search result list. */
.cw-medium-bar{flex-wrap:wrap;row-gap:8px}
.cw-discovery-stage.is-search{position:relative;z-index:5;padding:14px 0 2px}
.cw-search-bar{display:flex;align-items:center;gap:8px}
.cw-search-back,.cw-search-filter{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff36;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.cw-search-bar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cw-search-field{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 4px 0 14px;border:1px solid #ffffff3d;border-radius:22px;background:#ffffff0d}
.cw-search-field input{flex:1;min-width:0;margin:0;border:0;background:transparent;color:inherit;font:inherit;font-size:16px;padding:10px 0;outline:none;box-shadow:none}
.cw-search-field input::-webkit-search-cancel-button{display:none}
.cw-search-x{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#ffffff14;color:inherit;cursor:pointer}
.cw-search-bar .cw-search-x svg{width:16px;height:16px}
.cw-search-back:focus-visible,.cw-search-filter:focus-visible,.cw-search-x:focus-visible,.cw-kind-chip:focus-visible,.cw-search-field:has(input:focus-visible){outline:2px solid #b8c77a;outline-offset:2px}
.cw-search-kinds{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.cw-kind-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:1px solid #ffffff40;border-radius:18px;background:#ffffff0a;color:inherit;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;white-space:nowrap}
.cw-kind-chip small{font-size:11px;opacity:.72}
.cw-kind-chip[aria-pressed=true]{background:#d9e2b6;border-color:#d9e2b6;color:#17191c}
.cw-search-count{margin:18px 0 14px;font-size:14px;color:#c9ccc6;overflow-wrap:anywhere}
.cw-empty.cw-search-empty{padding:28px 0 36px;text-align:start}.cw-search-empty h2{margin:0 0 10px;font-size:20px;line-height:1.5;overflow-wrap:anywhere}.cw-search-empty p{margin:0 0 20px;color:#b5b7b5;line-height:1.7}
/* Owner 31 Oct 2026 (FIX-LIST s1 item 3): team-only "อยู่ใน Shortlist" tag. A saved list, not a status, so it reads unlike the status badge. */
.cw-shortlist-tag{border-style:dashed;color:#e8dcae;border-color:#e8dcae66;margin-left:6px}
/* Owner 31 Oct 2026 (B-36): the project's small cover is the 155 x 233 poster card scaled as one picture (workspace.js fitCoverThumbs sets
   --cw-thumb-scale from the box width). Was: the cover re-laid out inside the small 3:4 box. */
.cw-project-thumb:has(>.cw-thumb-cover){aspect-ratio:2/3}
.cw-project-thumb>.ce-cover.cw-thumb-cover{position:absolute;left:0;top:0;inset:0 auto auto 0;width:155px;height:233px;min-height:0;max-height:none;aspect-ratio:auto;padding:20px 12px;transform:scale(var(--cw-thumb-scale,.49));transform-origin:0 0}
.cw-project-thumb>.cw-thumb-cover:after{content:none}
/* QA S-29 (owner fix list 31 Oct 2026): a Settings path in the board's notes ("ตั้งค่า › ใบอนุญาตทำงานในไทย") stays on one line. Was: cut inside "ใบ|อนุญาต". */
.cw-keep{white-space:nowrap}
/* Fix round 11 Nov 2026 (items 112, 131; tap area of at least 44x44 px, design/shared-navigation/verify-fix-1111-tap-targets.cjs): the tabs
   ("All" was 15 wide in English, "全部" 26) and "ดูทั้งหมด" (42 wide) keep their look and get at least 44 px across. */
.cw-tabs button{min-width:44px}
.cw-see-all{min-width:44px}
/* Fix round 11 Nov item 132: at phone width the English tab words are longer; a smaller gap keeps the 4th project tab ("Appointments") whole. Was: 22px gap, "Appointmen" cut at 390 px. */
@media(max-width:430px){html[lang=en] .cw-tabs{gap:16px}}

/* Fix round 11 Nov 2026 item 112 (re-check 12 Nov): a tick row (for example "งานนักเรียน/นักศึกษา") is at least 44 px tall, its box centred. Was: 25 px tall. */
.cw-check{min-height:44px;align-items:center}
