/* Customer-only palette. Loaded by auth, brief and dashboard documents only.
   Legacy --acid/--ink are foreground/surface tokens in the existing client CSS. */
body.client-page[data-page] {
  --acid:#11110e; --ink:#fafafa; --client-line:#878784;
  background:#fafafa; color:#11110e; color-scheme:light;
}
body.client-page :is(.auth-panel,.brief-content,.project-details,.brief-actions) { background:#fafafa; color:#11110e; }
body.client-page[data-page=dashboard] .workflow-panel {
  --acid:#11110e; --ink:#fafafa; --client-line:#878784;
  background:#fafafa; color:#11110e; border-color:#878784;
}
body.client-page :is(.client-header,.auth-editorial,.brief-rail,.launch-note,.client-message,.edit-window,.upload-zone,.revision-meter,.care-checkout-grid article,.project-visual) {
  --acid:#fafafa; --ink:#11110e; --client-line:#878784;
  background:#11110e; color:#fafafa; color-scheme:dark;
}
body.client-page .client-footer { --acid:#fafafa; --ink:#11110e; color:#fafafa; }
body.client-page .client-header .brand { color:#fafafa; }
body.client-page .auth-editorial h1 em,
body.client-page .revision-meter strong { color:#d5ff00; }
body.client-page :is(.brief-heading,.account-gate,.desk-welcome) h1 em {
  color:#11110e; text-decoration:underline; text-decoration-color:#d5ff00;
  text-decoration-thickness:.09em; text-underline-offset:.09em; text-decoration-skip-ink:none;
}
body.client-page .preview-ribbon { background:#11110e; color:#fafafa; border-bottom:1px solid #878784; }
body.client-page :is(.button-primary,.workflow-panel .button-primary,.edit-window .button-primary) {
  background:#d5ff00; color:#11110e; border:1px solid #11110e;
}
body.client-page :is(.button-primary,.workflow-panel .button-primary,.edit-window .button-primary):hover:not(:disabled) {
  background:#11110e; color:#d5ff00; border-color:#d5ff00;
}
body.client-page .button-outline { background:transparent; color:inherit; border-color:currentColor; }
body.client-page .button-outline:hover:not(:disabled) { background:#11110e; color:#fafafa; border-color:#11110e; }
body.client-page :is(.upload-zone,.care-checkout-grid article,.launch-note) .button-outline:hover:not(:disabled) {
  background:#fafafa; color:#11110e; border-color:#fafafa;
}
body.client-page :is(input,textarea,select) { accent-color:#11110e; }
body.client-page .client-field :is(input,textarea,select),
body.client-page :is(.colour-hex,.upload-toolbar select,.preview-stage select,.card-checkout input,.card-checkout select) {
  background:#fafafa; color:#11110e; border-color:#878784; color-scheme:light;
}
body.client-page .client-field select option { background:#fafafa; color:#11110e; }
body.client-page .client-field :is(input,textarea)::placeholder,
body.client-page .colour-hex::placeholder { color:#62625e; opacity:1; }
body.client-page .password-wrap { border-color:#878784; }
body.client-page :is(.client-field>span:not(.password-wrap),.auth-small,.auth-or,.auth-offer del,.asset-row small,.summary-small,.summary-colour-codes,.save-status) { opacity:1; }
body.client-page :is(.choice small,.mood-card small,.layout-card small,.colour-path small,.upload-zone p,.upload-toolbar span) { opacity:1; }
body.client-page .brief-rail button { color:#fafafa; opacity:1; padding-inline:10px; }
body.client-page .brief-rail button:hover { background:#2b2b27; }
body.client-page .brief-rail button[aria-current=step] { background:#d5ff00; color:#11110e; }
body.client-page .brief-rail button.complete { opacity:1; text-decoration:underline; text-underline-offset:4px; }
body.client-page .choice[aria-pressed=true],
body.client-page .choose-for-me[aria-pressed=true] { background:#d5ff00; color:#11110e; border-color:#11110e; }
body.client-page :is(.brand-choices .choice,.layout-card,.colour-path,.palette-card,.mood-card)[aria-pressed=true],
body.client-page .project-picker-card.is-current,
body.client-page .care-billing label:has(input:checked) {
  --acid:#fafafa; --ink:#11110e; --client-line:#878784;
  background:#11110e; color:#fafafa; border-color:#11110e;
}
body.client-page .mood-card { padding:10px; border:1px solid #878784; }
body.client-page .mood-card[aria-pressed=true] .mood-picture { border-color:#fafafa; }
body.client-page .mood-card[aria-pressed=true] .mood-picture>span { background:#d5ff00; color:#11110e; }
body.client-page .palette-card[aria-pressed=true] { outline-color:#11110e; }
body.client-page :is(.choice,.layout-card,.colour-path,.palette-card,.mood-card):hover:not(:disabled) { box-shadow:0 0 0 1px currentColor; }
body.client-page .care-billing label:has(input:checked) input { accent-color:#d5ff00; }
body.client-page .care-checkout-grid article { border-color:#11110e; }
body.client-page .desk-subnav button { opacity:1; }
body.client-page .desk-subnav button[aria-selected=true] { background:#d5ff00; color:#11110e; padding-inline:10px; text-underline-offset:5px; }
body.client-page[data-page=dashboard] .timeline {
  --acid:#11110e; --ink:#d5ff00; --client-line:rgba(17,17,14,.22);
  background:#d5ff00; color:#11110e; padding:clamp(20px,3vw,40px);
}
body.client-page[data-page=dashboard] .timeline-item,
body.client-page[data-page=dashboard] .timeline-item :is(span,h3,p,svg) { color:#11110e; opacity:1; }
body.client-page[data-page=dashboard] .timeline-item.current { border-top-color:#11110e; }
body.client-page[data-page=dashboard] .timeline-item.current>span { background:#11110e; color:#d5ff00; padding:4px; }
body.client-page .desk-progress i.done { background:#11110e; }
body.client-page .edit-track { background:#878784; }
body.client-page .edit-track i { background:#d5ff00; }
body.client-page .upload-zone.dragging { background:#11110e; outline:3px solid #d5ff00; outline-offset:-5px; }
body.client-page .upload-zone:focus-within { outline:3px solid #d5ff00; outline-offset:-5px; }
body.client-page .client-message[data-type=error] { border-style:dashed; outline-color:#11110e; }
body.client-page :is(button,input,textarea,select,a,summary,[tabindex]):focus-visible {
  outline:2px solid #11110e; outline-offset:3px; box-shadow:0 0 0 5px #fafafa;
}
body.client-page :is(.brief-rail,.client-header,.client-footer,.upload-zone,.care-checkout-grid article) :focus-visible {
  outline-color:#d5ff00; box-shadow:0 0 0 5px #11110e;
}
body.client-page :is(button,.workflow-panel button):disabled,
body.client-page fieldset:disabled :is(button,input,select) {
  background:#e2e2df; color:#62625e; border:1px dashed #878784;
  opacity:1; cursor:not-allowed; box-shadow:none; transform:none;
}
body.client-page .auth-unavailable { opacity:1; }
body.client-page ::selection { background:#11110e; color:#d5ff00; }
body.client-page :is(.desk-top,.brief-top,.auth-panel-top,.project-details-top) { flex-wrap:wrap; }
body.client-page :is(.desk-top,.account-gate,.workflow-panel,.client-message) { overflow-wrap:anywhere; }
body.client-page :is(.auth-panel,.auth-editorial,.project-details) { min-width:0; }
@media(max-width:760px) {
  body.client-page .brief-rail button { padding-inline:0; min-width:0; }
  body.client-page .auth-panel h2 { font-size:clamp(32px,8vw,48px); }
  body.client-page .auth-editorial h1 { font-size:clamp(48px,14vw,85px); }
  body.client-page .brief-actions { flex-wrap:wrap; gap:14px; }
  body.client-page .brief-actions .next-actions { flex-wrap:wrap; gap:14px; }
  body.client-page .desk-subnav { gap:16px; flex-wrap:wrap; }
  body.client-page .edit-digits { font-size:clamp(28px,8vw,58px); }
  body.client-page .client-header { gap:12px; }
  body.client-page .client-header nav { gap:12px; }
}
@media(prefers-reduced-motion:reduce) {
  body.client-page *,body.client-page *::before,body.client-page *::after { scroll-behavior:auto; transition:none; animation:none; }
}

/* Two direction choices stay readable and tappable on phones. */
.direction-card .button-outline,.direction-card .button-primary{margin:8px 8px 8px 0;white-space:normal;overflow-wrap:anywhere;max-width:100%;}
.direction-card h4{overflow-wrap:anywhere;}
@media(max-width:600px){.direction-card .button-outline,.direction-card .button-primary{display:flex;width:100%;margin-right:0;justify-content:center;}}
