/* Charmed Creations PrintHouz mockup styles. Tokens follow the brand guidelines. */
:root {
  --ground: #ffffff; --mist: #f4f5f9; --line: #dfe2ea; --line-strong: #8a90a6;
  --ink: #101223; --ink-soft: #565c72;
  --pink: #ed1a7c; --pink-action: #d0106a; --pink-text: #d0106a; --pink-tint: #fdeef5;
  --navy: #233d7b; --orange: #f05b32; --amber: #faa923; --cyan: #1fbddf; --purple: #922788;
  --on-dark-fill: #ffffff; --on-bright-fill: #101223;
  --status-working: #233d7b; --status-soon: #faa923; --status-close: #f05b32; --status-today: #c41e2a; --status-ready: #1fbddf;
  --focus: #233d7b; --logo-plate: #ffffff; --card: #ffffff;
  --font-display: Fredoka, "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --font-text: Figtree, "Segoe UI", Arial, sans-serif;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(16, 18, 35, 0.08);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}
[data-theme="dark"] {
  --ground: #0f1220; --mist: #181c2e; --line: #2c3147; --line-strong: #5c6380;
  --ink: #f2f3f8; --ink-soft: #a9aec2; --pink-text: #ff6fae; --focus: #ffffff; --card: #181c2e; --pink-tint: #2a1830;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font-text); color: var(--ink); background: var(--ground); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* The logo keeps its shape wherever it sits, even inside a stretching flex row. */
img[src$="logo.webp"] { aspect-ratio: 800 / 197; height: auto; object-fit: contain; flex: none; align-self: center; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--pink-text); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.display { font-size: clamp(38px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.01em; }
.h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.h2 { font-size: clamp(25px, 3vw, 30px); line-height: 1.2; }
.h3 { font-size: 22px; line-height: 1.3; }
.h4 { font-size: 18px; line-height: 1.35; }
.lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.55; }
.muted { color: var(--ink-soft); }
.strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1 1 0; min-width: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); border: 1.5px solid transparent; font: 600 15px/1.2 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap; background: transparent; color: var(--ink); transition: background 0.15s, border-color 0.15s; }
.btn--main { background: var(--pink-action); color: var(--on-dark-fill); }
.btn--main:hover { background: #b80d5d; }
.btn--line { border-color: var(--line-strong); }
.btn--line:hover { background: var(--mist); }
.btn--white { background: #fff; color: #101223; }
.btn--quiet { padding: 0 12px; color: var(--pink-text); }
.btn--quiet:hover { background: var(--pink-tint); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--mist); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; flex: none; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .label { font: 600 14px/1.4 var(--font-text); }
.hint { font-size: 14px; color: var(--ink-soft); }
.input, .select__btn { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); background: var(--ground); color: var(--ink); font: 400 16px/1.4 var(--font-text); }
textarea.input { min-height: 120px; resize: vertical; }
.input--sm { min-height: 40px; padding: 6px 10px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: span 2; } }

.select { position: relative; }
.select__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select__btn::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); }
.select__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow: auto; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.select__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.select__list li:hover, .select__list li[aria-selected="true"] { background: var(--mist); }
.select__list li[aria-selected="true"] { font-weight: 600; }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 132px; padding: 20px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--mist); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone.is-over { border-color: var(--pink-action); background: var(--pink-tint); }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropzone__files { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }

.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--mist); border-radius: var(--radius-pill); max-width: 100%; }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: transparent; font: 600 14px/1.2 var(--font-text); cursor: pointer; color: var(--ink-soft); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ground); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 18, 35, 0.16); }
.seg--block { display: flex; }
.seg--block button { flex: 1 1 0; padding: 0 8px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; border-radius: 50%; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { width: 46px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background 0.15s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch input:checked + i { background: var(--pink-action); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Surfaces */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; min-width: 0; }
.card--flat { background: var(--mist); border-color: transparent; }
.card--tight { padding: 16px; border-radius: 16px; }
.divide > * + * { border-top: 1px solid var(--line); }
.list-row { display: flex; align-items: center; gap: 12px; padding-block: 14px; min-width: 0; }
.list-row > .grow > * { overflow-wrap: anywhere; }
a.list-row { color: inherit; text-decoration: none; }
a.list-row:hover .list-title { color: var(--pink-text); }
.photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.slot { display: grid; place-items: center; text-align: center; padding: 24px; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--mist); border: 2px dashed var(--line); color: var(--ink-soft); font-size: 14px; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mist); font: 600 14px/1 var(--font-text); color: var(--ink); }
.thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: #fff; object-fit: contain; padding: 4px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font: 600 13px/1.3 var(--font-text); white-space: nowrap; background: var(--mist); color: var(--ink); }
.pill--working { background: var(--status-working); color: var(--on-dark-fill); }
.pill--soon { background: var(--status-soon); color: var(--on-bright-fill); }
.pill--close { background: var(--status-close); color: var(--on-bright-fill); }
.pill--today { background: var(--status-today); color: var(--on-dark-fill); }
.pill--ready { background: var(--status-ready); color: var(--on-bright-fill); }
.pill--line { background: transparent; border: 1px solid var(--line-strong); }
.pill--ok { background: #e3f6fb; color: #101223; }
.pill--warn { background: #fde9e3; color: #101223; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--mist); font-size: 15px; }
.notice--pink { background: var(--pink-tint); }
.notice--navy { background: var(--navy); color: var(--on-dark-fill); }

/* Tables that become card lists on phones */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font: 600 13px/1.3 var(--font-text); color: var(--ink-soft); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .right { text-align: right; }
.tbl-scroll { overflow-x: auto; }
@media (max-width: 720px) {
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .tbl--stack tr:last-child { border-bottom: 0; }
  .tbl--stack td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
  .tbl--stack td::before { content: attr(data-label); font: 600 13px/1.3 var(--font-text); color: var(--ink-soft); text-align: left; flex: none; }
  .tbl--stack td[data-label=""]::before { display: none; }
  .tbl--stack td.cell-main { display: block; text-align: left; font-weight: 600; }
  .tbl--stack td.cell-main::before { display: none; }
}

/* Progress track: labels only, no step numbers */
.track { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 6px; }
.track li { display: flex; flex-direction: column; gap: 8px; font: 600 13px/1.3 var(--font-text); color: var(--ink-soft); min-width: 0; }
.track li::before { content: ""; height: 8px; border-radius: 999px; background: var(--line); }
.track li.is-done::before { background: var(--navy); }
.track li.is-now::before { background: var(--pink-action); }
.track li.is-now { color: var(--ink); }
.track li.is-ready::before { background: var(--status-ready); }
@media (max-width: 560px) { .track li span { font-size: 11px; overflow-wrap: anywhere; } }

/* Boards */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
@media (min-width: 1300px) { .board { grid-auto-columns: minmax(184px, 1fr); } }
.col { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 20px; background: var(--mist); min-height: 160px; min-width: 0; }
.col.is-over { outline: 2px dashed var(--pink-action); outline-offset: -2px; }
.col__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px; font: 600 15px/1.3 var(--font-text); }
.col__count { color: var(--ink-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.kcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; cursor: grab; min-width: 0; }
.kcard:hover { border-color: var(--line-strong); }
.kcard.is-drag { opacity: 0.4; }
.kcard__title { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.kcard__title a { color: inherit; text-decoration: none; }
.kcard__title a:hover { color: var(--pink-text); }
.kcard__move { display: none; gap: 6px; }
.kcard__move button { flex: 1 1 0; min-height: 36px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ground); font: 600 12px/1.2 var(--font-text); cursor: pointer; }
@media (hover: none), (max-width: 860px) { .kcard__move { display: flex; } }

/* Dialog and toast */
dialog.modal { width: min(480px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: var(--radius-lg); background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); }
dialog.modal::backdrop { background: rgba(16, 18, 35, 0.55); }
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--ground); font: 600 14px/1.4 var(--font-text); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.has-tabbar .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--pink-action); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } }

/* Public site */
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: 64px; }
@media (min-width: 900px) { .section { padding-block: 96px; } }
.section--mist { background: var(--mist); }
.section--tight { padding-block: 40px; }
.note-bar { background: var(--navy); color: var(--on-dark-fill); font-size: 14px; text-align: center; }
.note-bar .wrap { padding-block: 9px; }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.hdr__logo img { width: 200px; height: auto; }
.nav { display: none; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 11px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 14px/1.2 var(--font-text); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr__quote { display: none; }
@media (min-width: 1180px) { .nav { display: flex; } .hdr__tools { margin-left: 8px; } .hdr__menu { display: none; } .hdr__quote { display: inline-flex; } }
@media (max-width: 480px) { .hdr__logo img { width: 164px; } }
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__shade { position: absolute; inset: 0; background: rgba(16, 18, 35, 0.55); opacity: 0; transition: opacity 0.2s; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); display: flex; flex-direction: column; gap: 4px; padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--ground); overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 17px/1.3 var(--font-text); }
.drawer--left .drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } .split--flip > :first-child { order: 2; } }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); color: inherit; text-decoration: none; min-width: 0; }
a.tile:hover { border-color: var(--ink); }
.tile__art { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.tile__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__art--logo { background: #fff; border: 1px solid var(--line); }
.tile__art--logo img { object-fit: contain; padding: 14%; }
.tile__art svg { width: 62%; height: auto; }
.ftr { background: var(--navy); color: var(--on-dark-fill); }
.ftr a { color: inherit; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 56px; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); } }
.ftr__plate { display: inline-block; background: var(--logo-plate); border-radius: 16px; padding: 14px 18px; }
.ftr__plate img { width: 190px; }
.ftr li { padding-block: 4px; }
.ftr__base { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-block: 18px; font-size: 14px; }

/* Back office shell */
.app { min-height: 100vh; background: var(--mist); }
.side { display: none; }
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; min-height: 64px; padding-inline: var(--gutter); background: var(--ground); border-bottom: 1px solid var(--line); }
.top__title { font: 500 20px/1.2 var(--font-display); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__logo { width: 132px; }
.main { padding: 24px var(--gutter) 120px; max-width: 1320px; margin-inline: auto; }
.tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--ground); border-top: 1px solid var(--line); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font: 600 11px/1.2 var(--font-text); cursor: pointer; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar [aria-current="page"] { color: var(--pink-text); }
.side__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font: 600 15px/1.2 var(--font-text); }
.side__nav a svg { width: 20px; height: 20px; flex: none; color: var(--ink-soft); }
.side__nav a:hover { background: var(--mist); }
.side__nav a[aria-current="page"] { background: var(--pink-tint); color: var(--pink-text); }
.side__nav a[aria-current="page"] svg { color: inherit; }
.side__group { margin: 18px 12px 6px; font: 600 12px/1.2 var(--font-text); color: var(--ink-soft); }
@media (min-width: 1000px) {
  .app { display: grid; grid-template-columns: 248px minmax(0, 1fr); }
  .side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 14px; background: var(--ground); border-right: 1px solid var(--line); }
  .side__logo { width: 180px; margin: 0 8px 16px; }
  .tabbar, .top__menu, .top__logo { display: none; }
  .main { padding: 32px 32px 64px; }
  .top { padding-inline: 32px; }
}
@media (max-width: 999px) { .top__title { display: none; } .top__logo { margin-right: auto; } }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .cols--main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } .cols--half { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.stat b { font: 500 32px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-soft); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--ground); font: 600 14px/1.2 var(--font-text); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; background: var(--mist); font-size: 15px; overflow-wrap: anywhere; }
.bubble--out { align-self: flex-end; background: var(--navy); color: var(--on-dark-fill); }
.bubble-meta { font-size: 12px; color: var(--ink-soft); }
.bubble-meta--out { align-self: flex-end; }
.sample-note { margin-top: 32px; font-size: 13px; color: var(--ink-soft); }

/* Timeline view: one column of orders, each card showing its stage timeline */
.tl-list { display: flex; flex-direction: column; gap: 12px; }
.tl-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.tl-card__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-card__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tl-card .kcard__move { display: flex; max-width: 320px; }
@media (min-width: 900px) { .tl-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: center; gap: 32px; padding: 18px 22px; } }
