/* Approved Ink & Paper, 2026-11-01. Color only: no layout or typography overrides.
   Photos, provider marks, user-chosen text/avatar colors and printed covers stay original. */
:root{--ds-ink:#253449;--ds-muted:#596370;--ds-action:#253449;--ds-line:#c8c4ba;--ds-paper:#fffefa;--ds-canvas:#faf8f3;--ds-shadow:0 3px 10px #25344910;--ink:#253449;--muted:#596370;--accent:#253449;--green:#253449;--teal:#253449;--line:#c8c4ba;--border:#c8c4ba;--canvas:#faf8f3;--bg:#faf8f3;--paper:#fffefa;--soft:#e9edf1;--light:#e9edf1;--sage:#e9edf1;--warm:#f1ebdf;--orange:#b74d36;--clay:#b74d36;--focus:#b74d36;--control-border:#8993a0;--ux-ink:#253449;--ux-paper:#faf8f3;--ux-line:#c8c4ba;--ux-tint:#e9edf1;--ink-blue:#e9edf1;--ink-linen:#f1ebdf;--ink-rose:#f2e7e3;--ink-accent:#b74d36}
html,body{background-color:var(--ds-canvas);color:var(--ds-ink)}
body{--ink:var(--ds-ink);--muted:var(--ds-muted);--accent:var(--ds-action);--paper:var(--ds-paper);--line:var(--ds-line);--focus:var(--ink-accent)}
.book-studio{--book-green:#253449;--book-ink:#253449;--book-line:#c8c4ba;--book-muted:#596370}
body :is(button,a,input,textarea,select,summary):focus-visible{outline-color:var(--ink-accent)}
input[type=checkbox],input[type=radio],progress{accent-color:var(--ds-action)}
body :is(.sidebar,.mobile-nav,.topbar,.login-card,.demo-sidebar,.demo-top,.persistent-mobile-nav){background-color:var(--ds-paper);border-color:var(--ds-line)}
body :is(.nav-item.active,.nav-item[aria-current=page],.mobile-nav a[aria-current=page],.demo-active){color:var(--ds-ink);background-color:var(--ink-blue)}
body :is(.button:not(.secondary):not(.danger):not(.danger-button):not(.social-button):not(.provider-button),.book-primary,.site-write){background-color:var(--ds-action);border-color:var(--ds-action);color:#fffefa}
body :is(button:disabled,.button:disabled){color:#596370;background-color:#e9edf1;border-color:#c8c4ba}
/* Category colors have the same meaning on questions, home and thumbnails. */
#question-results .question-grid .illustrated-question{--tint:#e9edf1;--edge:#bdc6d0;color:var(--ds-ink)}
#question-results .illustrated-question[data-theme=memories]{--tint:#f1ebdf;--edge:#c8c0b1}
#question-results .illustrated-question[data-theme=people]{--tint:#f2e7e3;--edge:#d2beb7}
#question-results .illustrated-question[data-theme=life]{--tint:#ece9e3;--edge:#c8c4ba}
#question-results .illustrated-question[data-theme=values]{--tint:#e7eaf0;--edge:#bec6d2}
#question-results .illustrated-question[data-theme=future]{--tint:#f3ede5;--edge:#cec3b5}
.closed-home .today-prompt[data-question-theme=everyday]{background:#e9edf1}.closed-home .today-prompt[data-question-theme=memories]{background:#f1ebdf}.closed-home .today-prompt[data-question-theme=people]{background:#f2e7e3}.closed-home .today-prompt[data-question-theme=life]{background:#ece9e3}.closed-home .today-prompt[data-question-theme=values]{background:#e7eaf0}.closed-home .today-prompt[data-question-theme=future]{background:#f3ede5}
/* Only trusted decorative assets. CSS recoloring preserves their alpha and original files.
   !important wins over earlier illustration-specific contrast filters, never photo styles. */
img:is([src^="/brand/line-art/"],[src^="/brand/questions-v3/"],[src^="/brand/ui/"],[src^="/brand/nocosu-a-"]){filter:brightness(0) saturate(100%) invert(18%) sepia(13%) saturate(1486%) hue-rotate(176deg) brightness(93%) contrast(90%)!important;background-color:transparent!important}
/* Illustration backgrounds live on a wrapper, so the ink filter does not recolor the paper. */
.ink-thumbnail{background:var(--ink-blue);display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.ink-thumbnail[data-art-theme=memories]{background:var(--ink-linen)!important}.ink-thumbnail[data-art-theme=people]{background:var(--ink-rose)!important}.ink-thumbnail[data-art-theme=life]{background:#ece9e3!important}.ink-thumbnail[data-art-theme=values]{background:#e7eaf0!important}.ink-thumbnail[data-art-theme=future]{background:#f3ede5!important}
.ink-thumbnail>img{display:block;width:100%;height:100%;object-fit:contain}
/**** Provider colors carry recognition, not our brand palette. ****/
body .invite-send .invite-line{background:#06c755;border-color:#06c755;color:#fff}
body .invite-send .invite-line:hover{background:#05ad4a}
body.signed-out #main .entry-story,body.signed-out #main.has-entry-story:not(.code-entry) .login-layout{background:var(--ds-canvas)}
body.signed-out #main .login-card{background:var(--ds-paper)}
@media print{body{background:white}}
