/* Studio in the homepage's look (sell.css): the same sans, the same orange, the same lit
   panels. Loaded last on studio.html; it restyles, it does not move anything Studio's
   scripts depend on. Also carries the right-to-left fixes for studio-he.js. */
@font-face { font-family: "Heebo"; src: url("assets/fonts/Heebo-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("assets/fonts/Heebo-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("assets/fonts/Heebo-700.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("assets/fonts/Heebo-900.woff") format("woff"); font-weight: 800 900; font-display: swap; }

body.plate-sub { --display: var(--s-font); --sans: var(--s-font); font-family: var(--s-font); background: var(--s-bg); }
body.plate-sub::before { content: ""; position: fixed; inset: -30vh -10vw auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 50% at 50% 30%, rgba(255,92,0,.16), rgba(255,92,0,.04) 45%, transparent 70%); }
.plate-sub h1, .plate-sub h2, .plate-sub h3, .plate-sub h4 { font-family: var(--s-font); font-weight: 600; letter-spacing: -.035em; }
html[lang="he"] .plate-sub h1, html[lang="he"] .plate-sub h2 { font-weight: 800; letter-spacing: -.015em; }
.plate-sub .kicker, .plate-sub .setup-eyebrow { font: 600 12px/1 var(--s-font); letter-spacing: .14em; text-transform: uppercase; color: var(--s-orange); }
html[lang="he"] .plate-sub .kicker, html[lang="he"] .plate-sub .setup-eyebrow { letter-spacing: .02em; font-size: 14px; }
.plate-sub p { color: var(--s-muted); }

/* buttons: the homepage's pills */
.plate-sub .button { min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--s-orange); color: #0b0b0c; font: 600 15px/1 var(--s-font);
  box-shadow: 0 10px 34px -12px rgba(255,92,0,.7), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .25s; }
.plate-sub .button:hover { background: var(--s-orange-2); color: #0b0b0c; transform: translateY(-1px); }
.plate-sub .button-small { min-height: 38px; padding: 0 15px; font-size: 13.5px; }
.plate-sub .button-ghost { background: rgba(255,255,255,.06); color: var(--s-text); border: 0; box-shadow: inset 0 0 0 1px var(--s-line-2); }
.plate-sub .button-ghost:hover { background: rgba(255,255,255,.11); color: var(--s-text); }
.plate-sub .button-danger { background: transparent; color: #ff8a8d; box-shadow: inset 0 0 0 1px rgba(229,72,77,.45); }
.plate-sub button.button.button-google, .plate-sub a.button.button-google { width: 100%; min-height: 58px; border-radius: 999px; background: #fff; color: #111; font-size: 17px; box-shadow: 0 16px 50px -18px rgba(255,255,255,.45); }
.plate-sub button.button.button-google:hover { background: #f1f1ef; color: #111; transform: translateY(-2px); }
.plate-sub input:not([type=radio]):not([type=checkbox]), .plate-sub textarea, .plate-sub select { border-radius: 14px; background: rgba(255,255,255,.035); border-color: var(--s-line-2); }

/* panels: lit, rounded, one family */
.plate-sub .login, .plate-sub .starter-setup, .plate-sub .starter-upgrade, .plate-sub .composer, .plate-sub .handoff, .plate-sub .briefs-column,
.plate-sub .own-idea, .plate-sub .first-task, .plate-sub .community, .plate-sub .notice-view, .plate-sub .purchase-notice {
  border-radius: 24px; border: 0; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .starter-upgrade, .plate-sub .login {
  background: radial-gradient(120% 70% at 50% 0%, rgba(255,92,0,.16), transparent 60%), linear-gradient(180deg, #19191c, #0f0f11);
  box-shadow: inset 0 0 0 1px rgba(255,92,0,.34), 0 40px 90px -45px rgba(255,92,0,.55); }

/* the signed-out entry */
.plate-sub .entry { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: calc(100svh - 190px); }
.plate-sub .entry h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: .98; letter-spacing: -.05em; }
html[lang="he"] .plate-sub .entry h1 { letter-spacing: -.02em; line-height: 1.02; }
.plate-sub .entry h1 span { color: var(--s-dim); }
.plate-sub .entry .lead { font-size: 18px; color: var(--s-muted); }
.plate-sub .login { padding: 26px; margin-top: 30px; }
.entry-wall { position: relative; border-radius: 28px; overflow: hidden; padding: 18px 0; background: #0e0e10; box-shadow: inset 0 0 0 1px var(--s-line), 0 60px 120px -60px rgba(0,0,0,.9); }
.entry-wall .sell-wall { --h: clamp(104px, 13vh, 150px); margin: 0; }
.entry-wall-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 0; font: 500 13px/1.3 var(--s-font); color: var(--s-muted); }
.entry-wall-cap b { color: var(--s-text); font-weight: 600; }
.entry-perks { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--s-line-2); }
.entry-perks li { display: flex; gap: 10px; align-items: center; font: 500 14.5px/1.35 var(--s-font); color: var(--s-text); }
.plate-sub .entry-steps { gap: 14px; border: 0; }
.plate-sub .entry-steps li { padding: 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .entry-steps li > span { background: rgba(255,92,0,.14); color: var(--s-orange); border: 0; }

/* the signed-in library cards */
.plate-sub .lib-card { border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--s-line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.plate-sub .lib-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--s-line-2), 0 30px 60px -30px rgba(0,0,0,.9); }
.plate-sub .lib-preview { border-radius: 0; }
.plate-sub .filters button, .plate-sub .filter { border-radius: 999px; }
.plate-sub .filter.active, .plate-sub .filter[aria-pressed="true"] { background: var(--s-text); color: #0b0b0c; }
.plate-sub .plan-badge.is-pro { background: var(--s-orange); color: #0b0b0c; }

/* the language link */
.lang-switch { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; margin-inline-end: 10px; border-radius: 999px; font: 500 13.5px/1 var(--s-font); color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.lang-switch:hover { background: rgba(255,255,255,.07); }

/* right to left */
html[dir="rtl"] .plate-sub .form-error { border-left: 0; padding-left: 0; border-right: 2px solid var(--danger, #e5484d); padding-right: 12px; }
html[dir="rtl"] .plate-sub .entry-visual figcaption { left: auto; right: 14px; }
html[dir="rtl"] .plate-sub .header-inner, html[dir="rtl"] .plate-sub .main-nav { direction: rtl; }
html[dir="rtl"] .plate-sub pre, html[dir="rtl"] .plate-sub code, html[dir="rtl"] .plate-sub input[type=url], html[dir="rtl"] .plate-sub input[type=password] { direction: ltr; text-align: left; }
html[dir="rtl"] .plate-sub textarea#brief-text, html[dir="rtl"] .plate-sub #brief-title { direction: rtl; }

@media (max-width: 1000px) {
  .plate-sub .entry { grid-template-columns: 1fr; min-height: 0; }
  .entry-wall { order: 2; }
}
@media (max-width: 720px) { .entry-wall .sell-row-3 { display: none; } }

.plate-sub .login .button::before, .plate-sub .login .button::after { display: none; }
.plate-sub .main-nav a { font-family: var(--s-font); }
.plate-sub .header-register { display: none; }

/* sign-in, tight: one short headline, one line, one card, one quiet row */
.plate-sub .entry { min-height: calc(100svh - 170px); }
.plate-sub .entry h1 { font-size: clamp(40px, 4.4vw, 64px); }
.plate-sub .entry .lead { margin-top: 14px; font-size: 17px; max-width: 42ch; }
.plate-sub .login { margin-top: 26px; padding: 18px; border-radius: 22px; }
.plate-sub .login .help { margin-top: 10px; font-size: 13px; text-align: center; }
.plate-sub .entry-upgrade { margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.5; color: var(--s-muted); text-align: center; }
.plate-sub .entry-upgrade strong { color: var(--s-text); }
.plate-sub .advanced { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--s-line); }
.plate-sub .advanced > summary { font-size: 13px; color: var(--s-dim); justify-content: center; }
.plate-sub .entry-perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; border: 0; }
.plate-sub .entry-perks li { font-size: 13px; color: var(--s-muted); gap: 7px; }
.plate-sub .entry-perks .sell-check { width: 16px; height: 16px; }
.plate-sub .entry-perks .sell-check::after { inset: 4px 4.5px 5.5px 4.5px; }
.plate-sub .entry-steps { display: none; }

/* ======================================================================================
   Signed in, in the homepage's prism look (2026-09-24). Black, white and one rainbow rim:
   no orange panels, no corner brackets. The header says what the page is for, the library
   leads, and "your own idea" is one button that opens the composer.
   ====================================================================================== */
body.plate-sub::before { background: radial-gradient(40% 46% at 50% 22%, rgba(139,108,255,.10), rgba(74,168,255,.04) 45%, transparent 72%); }
.plate-sub .button::before, .plate-sub .button::after, .plate-sub .reg-button::before, .plate-sub .reg-button::after { display: none !important; }
.plate-sub .button { background: #f4f3ef; color: #0b0b0c; box-shadow: 0 14px 40px -18px rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.6); }
.plate-sub .button:hover { background: #fff; color: #0b0b0c; }
.plate-sub .button-ghost { background: rgba(255,255,255,.05); color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.plate-sub .button-ghost:hover { background: rgba(255,255,255,.1); color: var(--s-text); }
.plate-sub .button-danger { background: transparent; color: #ff8a8d; box-shadow: inset 0 0 0 1px rgba(229,72,77,.45); }
.plate-sub button.button.button-google, .plate-sub a.button.button-google { background: #fff; color: #111; }
.plate-sub .kicker, .plate-sub .setup-eyebrow { color: var(--s-muted); }
.plate-sub .login, .plate-sub .starter-upgrade { background: linear-gradient(180deg, #17171a, #0e0e10); box-shadow: inset 0 0 0 1px var(--s-line-2), 0 40px 90px -50px rgba(0,0,0,.9); }
.plate-sub .plan-badge, .plate-sub .plan-badge.is-pro { background: rgba(255,255,255,.08); color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line-2); border: 0; }
.plate-sub .text-link { font: 500 14px/1.4 var(--s-font); color: var(--s-muted); border-bottom: 1px solid var(--s-line-2); }
.plate-sub .text-link:hover { color: var(--s-text); border-color: var(--s-text); }
.plate-sub input[type=radio], .plate-sub input[type=checkbox] { accent-color: #f4f3ef; }
.plate-sub input:focus-visible, .plate-sub textarea:focus-visible, .plate-sub select:focus-visible, .plate-sub button:focus-visible, .plate-sub a:focus-visible { outline: 2px solid #f4f3ef; outline-offset: 3px; }
.plate-sub input:not([type=radio]):not([type=checkbox]):focus, .plate-sub textarea:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }

/* the header of the signed-in page */
.ws-hero { display: none; }
body[data-plan="pro"] .ws-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; padding: clamp(18px, 3vw, 40px) 0 clamp(30px, 4vw, 48px); margin-bottom: clamp(30px, 4vw, 48px); }
body[data-plan="pro"] .ws-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; opacity: .55;
  background: linear-gradient(90deg, transparent, #ff5c00 18%, #ff3d8b 38%, #8b6cff 60%, #4aa8ff 80%, transparent); }
.ws-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 13px/1 var(--s-font); letter-spacing: .02em; color: var(--s-muted); }
.ws-dot { width: 8px; height: 8px; border-radius: 2px; background: conic-gradient(from 200deg, #ff5c00, #ff3d8b, #8b6cff, #4aa8ff, #ff5c00); box-shadow: 0 0 14px rgba(139,108,255,.6); }
.plate-sub .ws-title { margin: 0; font-size: clamp(44px, 5.4vw, 80px); line-height: .96; letter-spacing: -.05em; color: var(--s-text); }
.plate-sub .ws-title span { color: var(--s-dim); }
html[lang="he"] .plate-sub .ws-title { line-height: 1.04; letter-spacing: -.02em; }
.ws-lead { margin: 18px 0 0; max-width: 46ch; font: 400 17px/1.5 var(--s-font); }
.ws-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ws-cta, .ws-ghost { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px 0 10px; border: 0; border-radius: 999px; font: 600 15.5px/1 var(--s-font); cursor: pointer; text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .3s; }
.ws-cta { background: #f4f3ef; color: #0b0b0c; box-shadow: 0 18px 50px -20px rgba(255,255,255,.5); }
.ws-cta:hover { background: #fff; transform: translateY(-2px); }
.ws-cta-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0b0b0c; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ws-cta-plus::before, .ws-cta-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #f4f3ef; }
.ws-cta-plus::after { transform: rotate(90deg); }
.ws-cta.is-open .ws-cta-plus { transform: rotate(135deg); }
.ws-ghost { padding: 0 24px; color: var(--s-text); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.ws-ghost:hover { background: rgba(255,255,255,.09); }

/* the composer opens from that button; closed, it takes no room */
body[data-plan="pro"] #own-idea > summary { display: none; }
body[data-plan="pro"] #own-idea:not([open]) { display: none; }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])) { grid-template-columns: minmax(0, 1fr); gap: 0; }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])):has(#briefs-empty:not([hidden])) { display: none; }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])) .briefs-column { position: static; margin-bottom: 56px; }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])) .briefs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; max-height: none; }
body[data-plan="pro"] .work-grid:has(#own-idea[open]) { margin-bottom: 72px; }
body[data-plan="pro"] #own-idea[open] { padding: 0; border: 0; background: none; box-shadow: none; animation: ws-open .5s cubic-bezier(.2,.7,.2,1); }
@keyframes ws-open { from { opacity: 0; transform: translateY(14px); } }
.plate-sub .composer-head h1 { font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.045em; }
.plate-sub .composer { padding: clamp(20px, 2.4vw, 32px); }
.plate-sub .type-option span { border-radius: 16px; border-color: var(--s-line); background: rgba(255,255,255,.025); transition: background .2s, box-shadow .2s, border-color .2s; }
.plate-sub .type-option:hover span { background: rgba(255,255,255,.05); }
.plate-sub .type-option input:checked + span { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); box-shadow: 0 12px 34px -20px rgba(255,255,255,.4); }
.plate-sub .type-option input:checked + span strong { color: var(--s-text); }
.plate-sub .type-option input:focus-visible + span { outline-color: #f4f3ef; }
.plate-sub .composer label, .plate-sub .composer legend { color: var(--s-text); font-weight: 500; }
.plate-sub .instructions-link { color: var(--s-text); text-decoration: underline; text-decoration-color: var(--s-line-2); text-underline-offset: 4px; }
.plate-sub .composer-actions { align-items: center; }
.plate-sub .briefs-column { border-radius: 20px; }

/* the library */
.plate-sub .library { margin-top: 0; padding-top: 0; border-top: 0; }
.plate-sub .library-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.plate-sub .library h2 { margin: 6px 0 0; font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; }
.plate-sub .library-head .library-note { margin: 10px 0 0; font-size: 14.5px; color: var(--s-muted); }
.plate-sub .filters { display: inline-flex; gap: 2px; padding: 4px; border: 0; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .filter { min-height: 36px; padding: 0 16px; border: 0; background: transparent; color: var(--s-muted); font: 500 13.5px/1 var(--s-font); transition: background .25s, color .25s; }
.plate-sub .filter:hover { color: var(--s-text); }
.plate-sub .filter.active, .plate-sub .filter[aria-pressed="true"] { background: #f4f3ef; color: #0b0b0c; }
.plate-sub .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.plate-sub .lib-card, .plate-sub .lib-card:hover { background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; transform: none; }
.plate-sub .lib-preview { border-radius: 18px; overflow: hidden; background: #111113; isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.plate-sub .lib-preview::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; z-index: 3; }
.plate-sub .lib-card:hover .lib-preview { transform: translateY(-4px); box-shadow: 0 34px 70px -34px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.12); }
.plate-sub .lib-preview img { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.plate-sub .lib-preview:hover img { transform: scale(1.025); }
.lib-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; z-index: 1; }
.lib-preview.is-playing .lib-clip { opacity: 1; }
.plate-sub .lib-preview .open { left: 12px; right: auto; bottom: 12px; z-index: 2; padding: 8px 12px; border-radius: 999px; font: 500 12.5px/1 var(--s-font); color: var(--s-text);
  background: rgba(12,12,14,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transform: translateY(6px); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.plate-sub .lib-preview:hover .open, .plate-sub .lib-preview:focus-visible .open { transform: none; }
html[dir="rtl"] .plate-sub .lib-preview .open { left: auto; right: 12px; }
.plate-sub .lib-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px 0; border: 0; background: none; }
.plate-sub .lib-text { min-width: 0; }
.plate-sub .lib-caption h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--s-text); }
.plate-sub .lib-caption p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--s-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plate-sub .lib-card.is-free h3::after { content: "Free"; padding: 4px 8px; border-radius: 999px; font: 600 11px/1 var(--s-font); letter-spacing: .02em; color: var(--s-text); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--s-line-2); }
html[lang="he"] .plate-sub .lib-card.is-free h3::after { content: "חינם"; }
.plate-sub .lib-actions { display: flex; align-items: center; width: auto; }
.plate-sub .lib-open { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; white-space: nowrap;
  font: 600 13.5px/1 var(--s-font); color: var(--s-text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--s-line-2); transition: background .25s, color .25s, box-shadow .25s; }
.plate-sub .lib-open:hover, .plate-sub .lib-card:hover .lib-open { background: #f4f3ef; color: #0b0b0c; box-shadow: none; }
.lib-arrow { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.plate-sub .lib-open:hover .lib-arrow { transform: translateX(3px); }
html[dir="rtl"] .lib-arrow { transform: scaleX(-1); }
html[dir="rtl"] .plate-sub .lib-open:hover .lib-arrow { transform: scaleX(-1) translateX(3px); }
.plate-sub .lib-status-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; font: 500 13px/1 var(--s-font); color: var(--s-dim); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .sub-collection { border-color: var(--s-line); }
.plate-sub .sub-collection > summary { font-family: var(--s-font); color: var(--s-text); }
.plate-sub .community { margin-top: 72px; }

@media (max-width: 1100px) { .plate-sub .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body[data-plan="pro"] .ws-hero { grid-template-columns: 1fr; }
  .ws-hero-actions { justify-content: flex-start; }
  .ws-cta, .ws-ghost { width: 100%; }
  .ws-ghost { justify-content: center; }
  .plate-sub .library-head { display: block; }
  .plate-sub .filters { margin-top: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .plate-sub .library-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* every leftover accent in studio.css and community.css reads the old orange token: in Studio it is white now */
body.plate-sub { --orange: #f4f3ef; --orange-2: #ffffff; --orange-soft: rgba(255,255,255,.08); }
.plate-sub .setup-eyebrow { color: var(--s-muted) !important; }
.plate-sub .community { padding: clamp(24px, 3vw, 44px); border-top: 0; }
.plate-sub .community-head .button { box-shadow: 0 14px 40px -18px rgba(255,255,255,.45); border: 0; }
.plate-sub .sub-collection > summary::before { color: var(--s-dim); }

/* the open composer: one centred column while nothing is saved, a quiet pill toggle for
   "where are you starting", the count under the field */
body[data-plan="pro"] .work-grid:has(#own-idea[open]):has(#briefs-empty:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
body[data-plan="pro"] .work-grid:has(#own-idea[open]):has(#briefs-empty:not([hidden])) .briefs-column { display: none; }
body[data-plan="pro"] .work-grid:has(#own-idea[open]):has(#briefs-empty:not([hidden])) #own-idea { width: 100%; max-width: 980px; margin-inline: auto; }
.plate-sub .composer-head { align-items: flex-end; }
.plate-sub .composer-head .kicker { margin-bottom: 12px; }
.plate-sub .composer-walkthrough { margin-top: 14px; }
.plate-sub .composer-guide > summary { color: var(--s-muted); font-size: 14px; }
.plate-sub .composer textarea { min-height: 190px; line-height: 1.6; }
.plate-sub .composer input:not([type=radio]):not([type=checkbox]), .plate-sub .composer textarea { padding: 14px 16px; font-size: 16px; }
.plate-sub .mode-set legend { margin-bottom: 10px; }
.plate-sub .mode-options { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .mode-options label { position: relative; display: inline-flex; align-items: center; min-height: 38px; margin: 0; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--s-font); color: var(--s-muted); transition: background .25s, color .25s; }
.plate-sub .mode-options label:hover { color: var(--s-text); }
.plate-sub .mode-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plate-sub .mode-options label:has(input:checked) { background: #f4f3ef; color: #0b0b0c; }
.plate-sub .mode-options label:has(input:focus-visible) { outline: 2px solid #f4f3ef; outline-offset: 2px; }
.plate-sub .composer-meta { margin-top: 10px; font-size: 13px; color: var(--s-dim); }
.plate-sub .creative-notes { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--s-line); }
.plate-sub .creative-notes .help { margin-top: 6px; font-size: 13.5px; }
.plate-sub .brief-preview-wrap > summary { color: var(--s-muted); font-size: 13.5px; }
.plate-sub .composer .composer-actions { margin-top: 22px; padding-top: 22px; }
.plate-sub .composer .composer-actions .button { min-width: 150px; }
.plate-sub .composer-head, .plate-sub #library-title, .plate-sub .handoff { scroll-margin-top: 110px; }
@media (max-width: 760px) { .plate-sub .filters { display: flex; flex-wrap: nowrap; width: max-content; max-width: 100%; } .plate-sub .filter { flex: none; } }

/* saved briefs as a row of small cards while the composer is closed */
.plate-sub .briefs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plate-sub .briefs-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.plate-sub .briefs-list { list-style: none; margin: 14px 0 0; padding: 0; }
.plate-sub .brief-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; text-align: start; cursor: pointer;
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--s-line); color: var(--s-text); transition: background .2s, box-shadow .2s; }
.plate-sub .brief-item:hover, .plate-sub .brief-item[aria-current="true"] { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.plate-sub .brief-item > span:first-child { display: grid; gap: 4px; min-width: 0; }
.plate-sub .brief-item .name { font: 600 14.5px/1.3 var(--s-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plate-sub .brief-item .when { font: 400 12.5px/1.3 var(--s-font); color: var(--s-muted); }
.plate-sub .brief-item .arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line-2); transition: background .2s, color .2s; }
.plate-sub .brief-item:hover .arrow { background: #f4f3ef; color: #0b0b0c; }
html[dir="rtl"] .plate-sub .brief-item .arrow { transform: scaleX(-1); }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])) .briefs-column { padding: 20px 22px; }
.plate-sub .briefs-list li + li { margin-top: 8px; }
body[data-plan="pro"] .work-grid:has(#own-idea:not([open])) .briefs-list li + li { margin-top: 0; }

/* the community panel: your submissions as quiet cards */
.plate-sub .community-head .button { background: #f4f3ef; color: #0b0b0c; }
.plate-sub .community-mine { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--s-line); }
.plate-sub .community-mine h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--s-text); }
.plate-sub .community-mine .briefs-empty { margin: 8px 0 0; font-size: 14px; color: var(--s-dim); }
.plate-sub .community-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.plate-sub .community-row { padding: 18px 20px; border: 0; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--s-line); }
.plate-sub .community-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plate-sub .community-row h4 { margin: 0; font: 600 16px/1.3 var(--s-font); color: var(--s-text); }
.plate-sub .community-meta { margin: 4px 0 0; font-size: 13px; color: var(--s-muted); }
.plate-sub .community-summary { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--s-text); }
.plate-sub .community-note { margin: 12px 0 0; padding: 12px 14px; border: 0; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--s-muted); background: rgba(255,255,255,.035); }
.plate-sub .community-note strong { color: var(--s-text); font-weight: 600; }
.plate-sub .community-pill { flex: none; padding: 6px 11px; border: 0; border-radius: 999px; font: 600 12px/1 var(--s-font); color: var(--s-muted); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--s-line-2); }
.plate-sub .community-pill.is-approved { color: #0b0b0c; background: #f4f3ef; box-shadow: none; }
.plate-sub .community-pill.is-pending { color: var(--s-text); }
.plate-sub .community-pill.is-rejected, .plate-sub .community-pill.is-withdrawn { color: var(--s-dim); }
.plate-sub .community-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; }
.plate-sub .community-row-actions .text-link { font-size: 13.5px; }
.plate-sub .community-status:not(:empty) { border: 0; border-radius: 12px; padding: 12px 16px; background: rgba(255,255,255,.04); color: var(--s-text); }
.plate-sub .community-gate { border: 0; border-radius: 12px; background: rgba(255,255,255,.04); }
.plate-sub .community-form { margin-top: 24px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--s-line); }
