/* Hallmark · shape: mirror folio · genre: editorial · theme: custom · job: try · idea: "Follow a person's decisions in front of the mirror" · vibe: observational intimate luminous unhurried
 * paper: oklch(96% .013 91) · accent: oklch(82% .12 65) · display: Songti SC · body: Songti SC · hero: photographic contact print · nav: aligned ends · footer: return and read · imagery: product plates, training and styling photographs · signature: eleven entries share three rows inside one mirror
 * axes: light/roman-serif/warm · posture: editorial · contrast: checked · fold: responsive · v2.0.0 */
/* Hallmark · pre-emit critique: imagery and authorial voice lead; tablet copy and section controls are reflowed underneath the image. */
/* Hallmark · material: the ten requested chapters share a circular photographic stage. */
/* Hallmark · hero-review: fix · 2 findings · 2 resolved (mobile entry labels and personal-colour crop).
 * finish-review: subagent · 2 findings · 2 resolved (weekday visible at 320px and original mirror title restored) · gap: none. */
/* Hallmark · waive 24b · the fixed mirror, chat bubbles and ruler retain their measured clearances on the shared stage · maintaining mirror alignment on a short phone allows the inset reading area to scroll above the ruler. */
/* Hallmark · dismissed 3 · the thick border in the round playback control is its triangular play glyph. */
/* Hallmark · dismissed 41 · a dark forest ink is used on paper in print and behind contrasting lettering in a button. */
/* Hallmark · dismissed 77 · one visible mirror chapter occupies the viewport while the nine others remain individually addressable. */
/* Hallmark · answered F15 · the mirror stage and the independent reading pages have separate measures for their different material. */
@import url("./tokens.css");
@import url("./base.css");
@import url("../shared/layout.css");
@import url("../shared/demos.css");
@import url("./atlas.css");
.journal .hero,.journal #hair,.journal #conversation { --paper:var(--forest); --ink:var(--linen); --soft-ink:var(--pale-mint); --link:var(--honey); --button-bg:var(--honey); --button-fg:var(--forest); --choice-bg:var(--linen); --choice-ink:var(--forest); --edge-ink:var(--pale-mint); --bubble:var(--tinted-dark); --bubble-edge:var(--dark-stroke); --focus:var(--honey); }
.journal .hero { background:radial-gradient(ellipse at 67% 26%,var(--fern),transparent 60%),linear-gradient(118deg,var(--forest),var(--forest-fade)); }
.journal .hero::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 15% 86%,var(--moving-ink),transparent 57%); animation:mirror-light 18s ease-in-out infinite alternate; pointer-events:none; }
@keyframes mirror-light { to { opacity:.28; transform:scale(.97); } }
.journal:not(.detail-page) .mast { --head-ink:var(--linen); --button-bg:var(--honey); --button-fg:var(--forest); }
.journal:not(.detail-page) .wordmark img { filter:brightness(0) invert(.96); }
.journal .copy h1,.journal .copy h2 { font-weight:500; }
.journal:not(.cyan) .hero .copy { container-type:inline-size; }
.journal:not(.cyan) #intro-heading { font-size:min(calc(var(--heading) * .92),16cqi); }
.journal:not(.cyan) #intro-heading .head-break { display:inline; }
.journal .copy h2 { font-size:clamp(32px,3.22vw,52px); text-wrap:wrap; }
.journal .hero .lead-action { border-radius:2px; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:2px clamp(8px,1.02vw,17px); }
.hero-actions .lead-action { padding-inline:var(--space-sm); gap:var(--space-xs); white-space:nowrap; }
.hero-actions .read-link { min-height:36px; gap:var(--space-2xs); font-size:13px; }
.hero-actions .read-link .small-arrow { display:none; }
.store-scan { position:relative; font:550 13px/1.4 var(--ui); }
.store-scan summary { min-height:44px; display:flex; align-items:center; gap:5px; cursor:pointer; list-style:none; }
.store-scan summary::-webkit-details-marker { display:none; }
.store-scan summary::after { content:""; width:6px; height:6px; border-bottom:1px solid currentColor; border-right:1px solid currentColor; rotate:45deg; margin-top:-3px; }
.store-scan[open] summary::after { rotate:225deg; margin-top:3px; }
.store-code {
  position:absolute; z-index:2; top:100%; right:0; width:160px; padding:var(--space-xs);
  border-radius:4px; background:var(--panel-solid); color:var(--demo-ink); text-align:center;
}
.store-code img { width:100%; height:auto; image-rendering:pixelated; }
.store-code span { font-size:12px; }
.journal .mast .nav-download { border-radius:2px; }
.journal .frame { --disc:min(50.5vw,75svh,710px); }
.journal .work { display:flex; flex-direction:column; align-items:center; }
.journal .mount { width:100%; }
.journal .copy .lead { margin-block:1.3rem 1.55rem; }
.journal .hero .mount::before { content:""; position:absolute; inset:-1.35%; border:1px solid var(--dark-stroke); border-radius:50%; }
html:not([data-stage-ready]) .journal :is(#wardrobe,#check-in) { background:linear-gradient(117deg,var(--linen),var(--blush)); }
html:not([data-stage-ready]) .journal :is(#diagnosis,#agent) { background:linear-gradient(118deg,var(--linen),var(--mint-page)); }
.journal .margin-note .sender { font-family:var(--song); }
.journal .margin-note .speech { border-radius:2px 13px 13px 13px; }
.journal .hero .speech,.journal #hair .speech,.journal #conversation .speech { color:var(--linen); }
.journal .pair-tags { top:12%; }
.journal .disc-arrows { --arrow-rest:color-mix(in srgb,var(--arrow-bg) 53%,transparent); --arrow-edge:color-mix(in srgb,var(--control-edge) 54%,transparent); }
.journal .disc-arrows button { background:var(--arrow-rest); border-color:var(--arrow-edge); }
.journal :is(.wardrobe,.advice-portrait) .disc-arrows button { background:transparent; }
.journal :is(.wardrobe,.advice-portrait) .disc-arrows button::before { background:var(--arrow-rest); box-shadow:inset 0 0 0 1px var(--arrow-edge); }
.journal .disc-arrows button:focus-visible { --arrow-rest:var(--panel-solid); }
@media(hover:hover) {
  .journal .disc-arrows button:hover { --arrow-rest:color-mix(in srgb,var(--arrow-bg) 86%,transparent); }
}
.photo-spread { position:absolute; inset:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.4fr) minmax(0,1fr); gap:var(--space-2xs); background:var(--linen); }
.photo-spread img { width:100%; height:100%; object-fit:cover; object-position:center 24%; }
.photo-spread img:not(:nth-child(2)) { opacity:.76; }
.advice-portrait .answer-photo { position:absolute; inset:0 0 0 50%; height:100%; overflow:hidden; }
.advice-portrait .answer-photo img { width:100%; height:100%; object-fit:cover; object-position:48% center; }
.advice-portrait .answer-text { position:absolute; inset:0 50% 0 0; padding:0 3.5% 0 11%; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; text-align:left; }
.advice-portrait .answer-text p { font:500 clamp(11px,2.2cqi,16px)/1.45 var(--ui); color:var(--chat-muted); }
.advice-portrait .answer-text strong { margin:.55em 0 .4em; font:550 clamp(17px,4.6cqi,34px)/1.22 var(--song); text-wrap:balance; }
.advice-portrait .answer-text span { font:400 clamp(13px,2.5cqi,18px)/1.65 var(--song); }
.advice-portrait .disc-arrows button:first-child { left:0; }
.advice-portrait .disc-arrows button:last-child { right:0; }
@container (max-width:390px) {
  .advice-portrait .answer-text { padding-inline:12% 3%; }
}
@container (max-width:308px) {
  .advice-portrait .answer-text span { display:none; }
  .advice-portrait .answer-text { padding-inline:16% 2.5%; }
  .advice-portrait .answer-text strong { font-size:clamp(16px,6cqi,19px); }
}
.contents-disc { --guide-photo-height:68%; --guide-link-inset:19%; background:var(--letter-bg); }
.book-photo { position:absolute; inset:0 0 auto; height:var(--guide-photo-height); overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr); gap:var(--space-3xs); }
.book-photo img { width:100%; height:100%; min-width:0; object-fit:cover; object-position:var(--cover-crop,50% 53%); }
.book-photo img:first-child { --cover-crop:62% 51%; }
.book-photo img:last-child { --cover-crop:44% 52%; }
.book-links { position:absolute; inset:calc(var(--guide-photo-height) + 1.3%) var(--guide-link-inset) auto; }
.book-links a { display:flex; align-items:center; gap:clamp(4px,1.45cqi,11px); min-height:clamp(24px,4.9cqi,36px); padding:2px 0; border-bottom:1px solid var(--control-edge); color:var(--demo-ink); }
.book-links a:last-child { border-bottom:0; }
.book-links small { flex:none; font:500 clamp(10px,1.8cqi,12px) var(--ui); color:var(--chat-muted); }
.book-links span { font:500 clamp(11px,2.25cqi,16px)/1.35 var(--song); }
.book-links a:hover span { text-decoration:underline; text-underline-offset:4px; }
.analysis-report { background:var(--analysis-board); box-shadow:inset 0 0 0 1px var(--control-edge); }
.analysis-report .analysis { background:var(--analysis-board); }
.analysis-report :is(.report-face,.report-skin,.report-body) .analysis-photo { width:100%; inset:0; transform:none; }
.analysis-report :is(.report-face,.report-body) .analysis-photo::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--analysis-grid) 1px,transparent 1px),linear-gradient(var(--analysis-grid) 1px,transparent 1px); background-size:5cqi 5cqi; mask-image:radial-gradient(ellipse,black 13%,transparent 75%); }
.analysis-report .report-face img { inset:-20.5% auto auto -4%; width:108%; max-width:none; height:135%; }
.analysis-report .report-grid { opacity:.21; }
.analysis-report [data-phase="2"] .report-grid { opacity:.68; }
.analysis-report .report-skin img { inset:10% auto auto 3%; width:71%; height:71%; mask-image:radial-gradient(ellipse 62% 67% at center,black 57%,transparent 98%); }
.analysis-report .report-body img { height:70.625%; width:56.5%; top:11%; }
.analysis-report .report-body .report-frontal { left:7.5%; }
.analysis-report .report-body .report-profile { left:35.5%; }
.analysis-report .report-color .analysis-photo { inset:2% 0; width:100%; height:96%; transform:none; }
.report-color .swatches { bottom:27%; gap:var(--space-2xs); }
.report-color .swatches span { padding:var(--space-3xs) var(--space-2xs); }
.report-color .swatches small { font-size:clamp(9px,1.7cqi,11px); }
.report-color .swatches i { width:clamp(10px,1.9cqi,14px); }
.report-module,.view-name { position:absolute; z-index:2; left:50%; translate:-50% 0; white-space:nowrap; color:var(--demo-ink); background:var(--analysis-panel); }
.report-module { bottom:8%; display:flex; align-items:center; gap:.65em; padding:.38em .8em; border-radius:2px; font:550 clamp(12px,2.28cqi,16px)/1.25 var(--song); }
.interactive .report-module::after { content:""; width:5px; height:5px; border-right:1px solid currentColor; border-top:1px solid currentColor; rotate:45deg; }
.analysis-report .report-next { bottom:calc(8% - 8px); width:clamp(110px,22cqi,170px); height:44px; }
.analysis-report .report-next:focus-visible { outline-offset:0; }
.report-observations li:not([data-active]) { display:none; }
.view-name { top:16.2%; padding:.24em .5em; border-radius:2px; font:500 clamp(9px,1.7cqi,11px)/1.25 var(--ui); }
.view-front { left:23%; }
.view-side { left:77%; }
.analysis-report [data-report-top] { z-index:1; }
.journal .chat-inner { inset:5.5% 10% 9.7%; }
.journal .chat-person { padding:0; gap:var(--space-xs); }
.journal .chat-person img { width:clamp(20px,5cqi,35px); }
.journal .chat-person strong { font:600 clamp(13px,2.9cqi,21px)/1.3 var(--song); }
.journal .transcript { width:90%; margin-inline:auto; padding-top:3.5cqi; }
.journal .transcript li { font:400 clamp(12px,2.3cqi,16px)/1.52 var(--song); }
.journal .transcript li.with-attachment { width:clamp(174px,46cqi,320px); padding:clamp(7px,1.4cqi,10px); }
.chat-try-on { display:grid; width:fit-content; max-width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-2xs); }
.chat-try-on { margin-top:var(--space-2xs); }
.chat-try-on figure,.chat-look { position:relative; overflow:hidden; border-radius:4px; }
.chat-try-on img { width:100%; aspect-ratio:4 / 5; object-fit:contain; background:var(--white); }
.chat-try-on figure { width:clamp(70px,19cqi,132px); max-width:100%; }
.chat-try-on figcaption { position:absolute; inset:auto 0 0; background:var(--photo-tag); color:var(--white); text-align:center; padding:.18em .3em; font:500 clamp(10px,1.85cqi,13px)/1.35 var(--ui); }
.chat-look { margin-top:clamp(6px,1.4cqi,10px); background:var(--panel-solid); }
.chat-look-views { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:1px; height:clamp(96px,26cqi,186px); }
.chat-look-views :is(img,.chat-look-detail) { display:block; width:100%; height:100%; min-height:0; }
.chat-look-full { object-fit:contain; }
.chat-look-detail { overflow:hidden; }
.chat-look-detail img { object-fit:cover; object-position:51% 31%; transform-origin:51% 32%; scale:2; }
.chat-look figcaption { padding:.4em .65em; color:var(--chat-muted); font:500 clamp(10px,1.85cqi,13px)/1.35 var(--ui); }
.journal .compose {
  width:61cqi; align-self:center; margin:var(--space-2xs) 0 0; padding:0 clamp(4px,1.2cqi,10px);
  gap:1px; border:1px solid var(--control-edge); border-radius:24px; background:var(--panel-solid);
}
.journal .compose input { padding-inline:var(--space-2xs); border-radius:20px; }
.journal .compose button { display:grid; place-items:center; width:clamp(34px,6.5cqi,44px); min-width:0; padding:0; border-radius:50%; }
.journal .compose button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.journal .compose button:hover:not(:disabled) { background:var(--incoming); }
.journal .compose .chat-send { width:clamp(31px,5.5cqi,39px); height:clamp(31px,5.5cqi,39px); color:var(--white); background:var(--chat-action); }
.journal .compose .chat-send:hover:not(:disabled) { background:var(--color-accent); }
.journal .compose .chat-send:disabled { color:var(--chat-muted); background:var(--incoming); }
.chat-channel { width:min(calc(100% - 32px),350px); padding:var(--space-lg); border:1px solid var(--control-edge); border-radius:10px; background:var(--panel-solid); color:var(--demo-ink); }
.chat-channel::backdrop { background:var(--film-shadow); opacity:.65; }
.chat-channel h3 { margin-bottom:var(--space-2xs); font:600 20px/1.3 var(--song); }
.chat-channel p { font:400 14px/1.65 var(--ui); }
.chat-channel a,.chat-channel button { display:inline-flex; align-items:center; min-height:44px; font:550 14px/1.4 var(--ui); }
.channel-store { margin-top:var(--space-xs); color:var(--chat-action); text-decoration:underline; text-underline-offset:3px; }
.chat-channel button { border:none; padding:0; background:transparent; color:var(--chat-muted); }
.journal .sender img { width:29px; height:29px; }
.journal .end-nav .boundary { padding-top:var(--space-2xl); }
.journal .end-nav { --paper:var(--forest); --ink:var(--linen); }
.site-footer {
  padding:var(--space-xs) var(--edge) max(var(--space-md),env(safe-area-inset-bottom));
  text-align:center; background:var(--forest); color:var(--pale-mint);
  border-top:1px solid var(--dark-stroke); font:500 var(--text-xs)/1.5 var(--ui);
}
.detail-page .site-footer { background:var(--paper); color:var(--soft-ink); border-color:var(--control-edge); }
.footer-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; column-gap:var(--space-lg); }
.site-footer a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:.25em; }
.site-footer a:hover { text-decoration:underline; }
.site-footer a:focus-visible { outline-color:var(--honey); }
.detail-page .site-footer a:focus-visible { outline-color:var(--focus); }
.footer-registration { font-variant-numeric:tabular-nums; }
@media(max-width:830px) {
  .journal .frame { --disc:min(calc(100% - 4px),54svh,540px); }
  .journal .copy .lead { margin:var(--space-xs) 0 var(--space-xs); }
  .journal .copy h2 { font-size:var(--heading); }
  .journal .lead-action { min-height:42px; padding:var(--space-xs) var(--space-md); }
  .store-scan { display:none; }
}
@container(max-width:360px) {
  .book-photo,.book-links { --guide-photo-height:66%; }
}
@container(max-width:310px) {
  .book-photo,.book-links { --guide-photo-height:64%; --guide-link-inset:20%; }
  .journal .chat-person { gap:var(--space-2xs); }
  .journal .compose { padding-inline:3px; }
}
@media (max-width:370px) and (max-height:690px) {
  .journal .hero-paths dd { font-size:13px; }
  .hero-actions .lead-action { min-height:37px; font-size:14px; }
}
