/* Studio shell: the same logo green and quiet typography as crewkik.com.
   The drawing workspace stays independent of marketing page selectors. */
:root {
  color-scheme: light;
  --green: #287a3e;
  --bright: #4bb04e;
  --line: #e4eae2;
  --muted: #606b63;
  --focus: #287a3e;
  color: #252c27;
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.topbar { max-width: 1760px; margin: auto; height: 88px; padding-inline: 32px; }
.brand { color: #252c27; letter-spacing: -.045em; font-size: 25px; }
.brand-mark { background: transparent; border-radius: 10px; width: 38px; height: 38px; object-fit: contain; }
.brand-sub { color: var(--muted); }
.header-actions { gap: 24px; }
.studio-help-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.primary { background: var(--bright); border-color: #439e46; color: #17251b; }
.primary:hover { background: #60bd62; border-color: #439e46; color: #17251b; }
button:focus-visible, summary:focus-visible, a:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--focus); }
.studio-skip { position: absolute; left: 16px; top: 8px; padding: 12px; background: white; z-index: 100; transform: translateY(-160%); color: #252c27; }
.studio-skip:focus { transform: none; }
.studio-intro { max-width: 1760px; margin: auto; padding: 35px 32px 30px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.studio-intro .eyebrow { color: #287a3e; letter-spacing: 1.2px; }
.studio-intro h1 { font-size: clamp(26px, 2.5vw, 38px); font-weight: 720; letter-spacing: -.05em; line-height: 1.15; }
.studio-intro p:last-child { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; max-width: 550px; }
.studio-steps { display: flex; gap: 22px; padding: 0; margin: 0; list-style: none; }
.studio-steps li { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; max-width: 130px; line-height: 1.5; }
.studio-steps span { display: grid; place-items: center; background: #eef8e9; color: #287a3e; flex-shrink: 0; width: 29px; height: 29px; border-radius: 50%; font-weight: 650; }
.notice { background: #f6faf4; padding: 13px 32px; color: #53634f; }
.draft-badge { display: inline-block; margin-right: 8px; background: #e9f6e9; color: #286c31; border-color: #d5e8d0; }
.account-panel > summary { padding-inline: 32px; }
.account-body { max-width: 1760px; padding: 15px 32px 30px; gap: 32px; grid-template-columns: minmax(230px, 310px) minmax(320px, 1fr) minmax(230px, 340px); }
.account-environment { border-left-color: #4bb04e; color: #52634e; }
.account-help, .account-summary-hint { color: #606b63; }
.account-body button { min-height: 44px; }
.account-finish-box { background: #f5faf2; border-color: var(--line); }
.account-private-label input, .alignment-options input { accent-color: #287a3e; }
.studio-social { display: grid; gap: 8px; margin-top: 12px; }
.studio-social:empty { display: none; }
.studio-social button { width: 100%; }
.studio-local { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.studio-local:has(button[hidden]) { display: none; }
.studio-local .account-help { margin-top: 4px; }
.text-button { border: 0; background: none; padding-inline: 0; text-align: left; color: #287a3e; text-decoration: underline; text-underline-offset: 3px; }
.workspace { border-top: 1px solid var(--line); background: #fafcf9; }
.library { background: #f5f9f2; }
.library h2 { font-size: 24px; margin: 0; letter-spacing: -.04em; }
.preview { background: #eff7eb; }
.tabs button[aria-selected=true] { color: #287a3e; border-bottom-color: #4bb04e; }
.preview-phase { color: #287a3e; }
.studio-footer { max-width: 1760px; margin: auto; border-top: 1px solid var(--line); padding: 30px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.studio-footer .brand { font-size: 20px; }
.studio-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.studio-footer a:not(.brand) { color: var(--muted); font-size: 12px; text-decoration: none; }
.studio-footer > span { margin-left: auto; font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) {
  .studio-intro { align-items: flex-start; }
  .studio-steps { flex-direction: column; gap: 9px; min-width: 215px; }
  .studio-steps li { max-width: none; }
  .account-body { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 660px) {
  .topbar { padding: 16px; min-height: 76px; height: auto; align-items: center; }
  .brand { font-size: 21px; }
  .brand-mark { width: 33px; height: 33px; }
  .header-actions { flex-direction: row; gap: 10px; }
  .studio-help-link { display: none; }
  .header-actions button { min-height: 44px; max-width: 145px; }
  .studio-intro { display: block; padding: 28px 16px 24px; }
  .studio-intro h1 { max-width: 360px; }
  .studio-intro p:last-child { font-size: 13px; }
  .studio-steps { flex-direction: row; margin-top: 20px; gap: 15px; min-width: 0; flex-wrap: wrap; }
  .studio-steps li { font-size: 11px; }
  .studio-steps span { width: 24px; height: 24px; }
  .notice { padding-inline: 16px; line-height: 1.8; }
  .account-panel > summary { padding-inline: 16px; }
  .account-body { display: block; padding: 8px 16px 24px; }
  .account-body input, .workspace input, .workspace select, .workspace textarea { font-size: 16px; }
  .library h2 { font-size: 21px; }
  .studio-footer { padding: 24px 16px; gap: 20px; align-items: flex-start; }
  .studio-footer nav { gap: 14px; }
  .studio-footer > span { margin-left: 0; }
}
