/* /deliverables: done-for-you requests + .jomoq deliverables (deliverables.html).
   The deliverable itself is styled by css/deliverable.css; this is the page
   around it. Light and dark tokens, cobalt accent, DM Sans. */

.dl-page {
  --dl-bg: #ffffff;
  --dl-bg-2: #f6f6f4;
  --dl-card: #ffffff;
  --dl-ink: #111114;
  --dl-ink-2: #45454d;
  --dl-muted: #6c6b74;
  --dl-line: #e7e6e2;
  --dl-line-2: #d7d6d1;
  --dl-accent: #2e5bff;
  --dl-accent-d: #1e40d0;
  --dl-accent-soft: #eaf0ff;
  --dl-good: #177a45;
  --dl-good-bg: #e9f6ef;
  --dl-bad: #b8352b;
  --dl-bad-bg: #fdeeed;
  --dl-warn: #8a5a07;
  --dl-warn-bg: #fdf3df;
  --dl-shadow: 0 1px 2px rgba(17, 17, 20, 0.05), 0 6px 20px rgba(17, 17, 20, 0.05);
  --dl-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Color Emoji", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root.dl-page:not([data-theme="light"]) {
    --dl-bg: #141417; --dl-bg-2: #1b1b1f; --dl-card: #1e1e23; --dl-ink: #f1f0f4; --dl-ink-2: #cdccd4; --dl-muted: #9d9ca6;
    --dl-line: #2d2d34; --dl-line-2: #3a3a42; --dl-accent: #6f8dff; --dl-accent-d: #8fa6ff; --dl-accent-soft: #1d2442;
    --dl-good: #7fd3a5; --dl-good-bg: #15291e; --dl-bad: #f2a19a; --dl-bad-bg: #2d1615; --dl-warn: #f0d27a; --dl-warn-bg: #2b2510;
    --dl-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); color-scheme: dark;
  }
}
:root.dl-page[data-theme="dark"] {
  --dl-bg: #141417; --dl-bg-2: #1b1b1f; --dl-card: #1e1e23; --dl-ink: #f1f0f4; --dl-ink-2: #cdccd4; --dl-muted: #9d9ca6;
  --dl-line: #2d2d34; --dl-line-2: #3a3a42; --dl-accent: #6f8dff; --dl-accent-d: #8fa6ff; --dl-accent-soft: #1d2442;
  --dl-good: #7fd3a5; --dl-good-bg: #15291e; --dl-bad: #f2a19a; --dl-bad-bg: #2d1615; --dl-warn: #f0d27a; --dl-warn-bg: #2b2510;
  --dl-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); color-scheme: dark;
}

html.dl-page, .dl-page body { overflow: auto !important; height: auto !important; }
.dl-body { margin: 0; background: var(--dl-bg); color: var(--dl-ink); font-family: var(--dl-font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.dl-body .material-symbols-rounded { font-size: 20px; vertical-align: -0.24em; }
.dl-skip { position: absolute; left: -999px; top: 8px; background: var(--dl-ink); color: var(--dl-bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.dl-skip:focus { left: 12px; }
.dl-app { min-height: 100vh; }
.has-jr .dl-app { padding-left: 0; }
.dl-body :focus-visible { outline: 2px solid #0d99ff; outline-offset: 2px; }

/* Top bar */
.dl-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--dl-bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--dl-line); }
.dl-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.02rem; color: var(--dl-ink); text-decoration: none; }
.dl-brand .material-symbols-rounded { color: var(--dl-accent); }
.dl-nav { display: flex; gap: 2px; }
.dl-nav a { padding: 7px 12px; border-radius: 8px; color: var(--dl-muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.dl-nav a:hover { color: var(--dl-ink); background: var(--dl-bg-2); }
.dl-nav a.is-on { color: var(--dl-ink); background: var(--dl-bg-2); }
.dl-bar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) {
  .dl-bar { gap: 8px; flex-wrap: wrap; }
  .dl-nav { order: 3; width: 100%; overflow-x: auto; }
  .dl-hide-sm { display: none; }
}

/* Buttons + controls */
.dl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--dl-ink); background: var(--dl-ink); color: var(--dl-bg); font: 600 0.9rem/1.1 var(--dl-font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: filter 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.dl-btn:hover { filter: brightness(1.15); }
.dl-btn:active { transform: translateY(1px); }
.dl-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.dl-btn.is-ghost { background: var(--dl-card); color: var(--dl-ink); border-color: var(--dl-line-2); }
.dl-btn.is-ghost:hover { border-color: var(--dl-ink-2); filter: none; }
.dl-btn.is-lg { padding: 12px 18px; font-size: 0.98rem; border-radius: 10px; }
.dl-btn.is-xl { padding: 15px 24px; font-size: 1.05rem; border-radius: 12px; gap: 8px; }
.dl-btn.is-xl .material-symbols-rounded { font-size: 20px; transition: transform 0.15s; }
.dl-btn.is-xl:hover .material-symbols-rounded { transform: translateX(3px); }
.dl-btn.is-light { background: #fff; color: #111114; border-color: #fff; }
.dl-btn.is-light:hover { filter: none; background: #ececea; border-color: #ececea; }
.dl-btn.is-small { padding: 7px 11px; font-size: 0.84rem; }
.dl-btn.is-block { width: 100%; }
.dl-btn.is-danger { color: var(--dl-bad); }
.dl-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--dl-ink-2); cursor: pointer; text-decoration: none; }
.dl-icon-btn:hover { background: var(--dl-bg-2); color: var(--dl-ink); }
.dl-link, .dl-link-btn { color: var(--dl-accent-d); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.15s; }
.dl-link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.dl-link:hover, .dl-link-btn:hover { color: var(--dl-accent); }
.dl-link .material-symbols-rounded { font-size: 18px; transition: transform 0.15s; }
.dl-link:hover .material-symbols-rounded { transform: translateX(2px); }
/* index.css underlines every a:hover; nothing on this page is underlined
   except links inside a deliverable's own text. */
.dl-body a:hover, .dl-body a:focus-visible { text-decoration: none; }
.dl-body .jd :is(p, li, td, figcaption) a:hover { text-decoration: underline; }
.dl-input, .dl-textarea { width: 100%; box-sizing: border-box; font: 0.94rem/1.45 var(--dl-font); color: var(--dl-ink); background: var(--dl-card); border: 1px solid var(--dl-line-2); border-radius: 9px; padding: 9px 11px; }
.dl-textarea { resize: vertical; }
.dl-input:focus, .dl-textarea:focus { outline: 2px solid color-mix(in srgb, var(--dl-accent) 40%, transparent); border-color: var(--dl-accent); }
.dl-label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 0.86rem; color: var(--dl-ink-2); margin: 12px 0 0; }
.dl-hint { font-weight: 400; color: var(--dl-muted); font-size: 0.78rem; margin-top: -4px; }
.dl-muted { color: var(--dl-muted); }
.dl-small { font-size: 0.82rem; }
.dl-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dl-row.is-between { justify-content: space-between; }
.dl-error { color: var(--dl-bad); background: var(--dl-bad-bg); border-radius: 9px; padding: 9px 12px; font-size: 0.88rem; }
.dl-warn { display: flex; gap: 8px; align-items: flex-start; color: var(--dl-warn); background: var(--dl-warn-bg); border-radius: 9px; padding: 9px 12px; font-size: 0.86rem; }
.dl-ok { display: flex; gap: 6px; align-items: center; color: var(--dl-good); font-weight: 600; font-size: 0.88rem; }
.dl-loading { padding: 60px 0; text-align: center; color: var(--dl-muted); }
.dl-chip { display: inline-flex; align-items: center; gap: 4px; font: 700 0.72rem/1 var(--dl-font); letter-spacing: 0.02em; padding: 4px 9px; border-radius: 999px; border: 1px solid transparent; }
.dl-chip.is-grey { background: var(--dl-bg-2); color: var(--dl-ink-2); border-color: var(--dl-line); }
.dl-chip.is-blue { background: var(--dl-accent-soft); color: var(--dl-accent-d); }
.dl-chip.is-violet { background: color-mix(in srgb, #7c4dcc 14%, var(--dl-card)); color: #7c4dcc; }
.dl-chip.is-amber { background: var(--dl-warn-bg); color: var(--dl-warn); }
.dl-chip.is-green { background: var(--dl-good-bg); color: var(--dl-good); }
.dl-chip.is-red { background: var(--dl-bad-bg); color: var(--dl-bad); }
.dl-chip.is-btn { cursor: pointer; background: var(--dl-card); border-color: var(--dl-line-2); color: var(--dl-ink-2); font-weight: 600; font-size: 0.8rem; padding: 6px 10px; }
.dl-chip.is-btn:hover { border-color: var(--dl-accent); color: var(--dl-accent-d); }
.dl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dl-accent); display: inline-block; }

/* Layout */
.dl-main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px) 80px; outline: none; }
.dl-section { margin: 56px 0 0; }
.dl-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.dl-section-head h2 { margin: 0; font-size: 1.28rem; letter-spacing: -0.01em; }
.dl-section-head.is-page { margin-top: 28px; align-items: center; }
.dl-req-grid + .dl-section-head { margin-top: 36px; }
.dl-section-head.is-page h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.dl-card { background: var(--dl-card); border: 1px solid var(--dl-line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--dl-shadow); }
.dl-card + .dl-card { margin-top: 14px; }
.dl-card h3 { font-size: 0.86rem; margin: 14px 0 4px; color: var(--dl-ink-2); }
.dl-card ul { margin: 4px 0; padding-left: 18px; }
.dl-step { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.02rem; }
.dl-step .material-symbols-rounded { color: var(--dl-accent); }
.dl-empty { max-width: 520px; margin: 80px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-empty > .material-symbols-rounded { font-size: 40px; color: var(--dl-accent); }
.dl-empty h1 { margin: 0; font-size: 1.5rem; }

.dl-lede { max-width: 680px; margin: 16px auto 0; font-size: 1.1rem; color: var(--dl-ink-2); }
.dl-lede.is-left { margin: 6px 0 0; text-align: left; max-width: 760px; font-size: 1rem; }

/* Cards: requests, deliverables, samples, catalog, templates */
.dl-req-grid, .dl-doc-grid, .dl-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dl-req, .dl-doc, .dl-tpl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--dl-line); background: var(--dl-card); text-decoration: none; color: var(--dl-ink); box-shadow: var(--dl-shadow); transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; overflow: hidden; }
.dl-req:hover, .dl-doc:hover { border-color: var(--dl-ink-2); }
.dl-req b, .dl-doc b, .dl-tpl b { font-size: 1.02rem; line-height: 1.3; }
.dl-req-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.dl-doc-band { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--dl-band, var(--dl-accent)); }
.dl-doc { padding-top: 20px; }
.dl-doc-kind { font: 700 0.72rem/1.2 var(--dl-font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dl-muted); display: flex; align-items: center; gap: 4px; }
.dl-doc-sum { color: var(--dl-ink-2); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dl-catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.dl-cat { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: 16px; border: 1.5px solid var(--dl-line); background: var(--dl-card); color: var(--dl-ink); text-decoration: none; font: inherit; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s; }
.dl-cat:hover { border-color: var(--dl-ink-2); }
a.dl-cat:hover .dl-cat-icon { background: var(--dl-accent); color: #fff; }
.dl-cat.is-on { border-color: var(--dl-accent); background: var(--dl-accent-soft); }
.dl-cat-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--dl-accent-soft); color: var(--dl-accent-d); transition: background 0.15s, color 0.15s; }
.dl-cat-blurb { color: var(--dl-ink-2); font-size: 0.86rem; }
.dl-cat-price { margin-top: auto; padding-top: 4px; font-size: 0.8rem; font-weight: 700; color: var(--dl-ink-2); }
.dl-tpl p { margin: 0; color: var(--dl-ink-2); font-size: 0.9rem; }
.dl-tpl .dl-row { margin-top: auto; padding-top: 8px; }
.dl-steps { counter-reset: dlstep; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dl-steps li { counter-increment: dlstep; position: relative; color: var(--dl-ink-2); font-size: 0.95rem; padding: 20px; border-radius: 18px; background: var(--dl-bg-2); }
.dl-steps li::before { content: counter(dlstep); position: absolute; top: 18px; right: 20px; font: 700 2.2rem/1 var(--dl-font); letter-spacing: -0.04em; color: color-mix(in srgb, var(--dl-ink) 12%, transparent); }
.dl-step-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px; background: var(--dl-card); color: var(--dl-accent-d); box-shadow: var(--dl-shadow); }
.dl-steps b { color: var(--dl-ink); display: block; font-size: 1.02rem; margin-bottom: 2px; }
@media (max-width: 960px) { .dl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dl-steps { grid-template-columns: 1fr; } }
.dl-howto { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-howto li { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 14px; border-radius: 14px; background: var(--dl-bg-2); }
.dl-howto span { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--dl-accent); color: #fff; font-weight: 700; }
.dl-howto small { color: var(--dl-muted); }
@media (max-width: 720px) { .dl-howto { grid-template-columns: 1fr; } }

/* New request */
.dl-new { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.dl-new-side { position: sticky; top: 76px; }
@media (max-width: 980px) { .dl-new { grid-template-columns: 1fr; } .dl-new-side { position: static; } }
.dl-new .dl-catalog-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.dl-new .dl-cat-blurb { display: none; }
.dl-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px; border: 2px dashed var(--dl-line-2); border-radius: 14px; text-align: center; cursor: pointer; color: var(--dl-ink-2); background: var(--dl-bg-2); transition: border-color 0.15s, background 0.15s; }
.dl-drop .material-symbols-rounded { font-size: 28px; color: var(--dl-accent); }
.dl-drop.is-compact { flex-direction: row; justify-content: center; gap: 10px; padding: 18px; }
.dl-drop.is-over, .dl-drop:hover { border-color: var(--dl-accent); background: var(--dl-accent-soft); }
.dl-linkrow { display: flex; gap: 8px; margin-top: 10px; }
.dl-files { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.dl-file { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--dl-bg-2); font-size: 0.88rem; min-width: 0; }
.dl-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-file.is-error { background: var(--dl-bad-bg); color: var(--dl-bad); }
.dl-file.is-uploading .material-symbols-rounded { animation: dl-spin 1s linear infinite; }
.dl-file-empty { padding: 4px 2px; font-size: 0.86rem; }
.dl-files.is-inline { margin-top: 8px; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
.dl-chatcard { display: flex; flex-direction: column; }
.dl-chat { max-height: 420px; min-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 10px; }
.dl-chat-form { display: flex; gap: 8px; align-items: flex-end; }
.dl-chat-form .dl-btn { padding: 10px; border-radius: 50%; width: 42px; height: 42px; }
.dl-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: var(--dl-bg-2); font-size: 0.94rem; }
.dl-msg > .dl-msg-body > :first-child { margin-top: 0; }
.dl-msg > .dl-msg-body > :last-child { margin-bottom: 0; }
.dl-msg.is-user { align-self: flex-end; background: var(--dl-ink); color: var(--dl-bg); }
.dl-msg.is-user a { color: inherit; }
.dl-msg-who { display: flex; align-items: center; gap: 4px; font: 700 0.74rem/1.2 var(--dl-font); color: var(--dl-muted); margin-bottom: 4px; }
.dl-msg-who.is-team { color: var(--dl-accent-d); }
.dl-msg.is-user .dl-msg-who { color: rgba(255, 255, 255, 0.75); }
.dl-msg.is-typing { display: flex; gap: 4px; width: fit-content; }
.dl-msg.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--dl-muted); animation: dl-bounce 1s infinite; }
.dl-msg.is-typing span:nth-child(2) { animation-delay: 0.15s; }
.dl-msg.is-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dl-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dl-proposal { background: var(--dl-card); border: 1px solid var(--dl-line); border-radius: 16px; padding: 18px; box-shadow: var(--dl-shadow); }
.dl-proposal > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dl-proposal.is-empty { display: flex; gap: 10px; align-items: flex-start; color: var(--dl-muted); }
.dl-proposal.is-empty p { margin: 0; }
.dl-assure { list-style: none; margin: 14px 0 0; padding: 16px 18px; display: grid; gap: 10px; border-radius: 16px; background: var(--dl-bg-2); font-size: 0.88rem; color: var(--dl-ink-2); }
.dl-assure li { display: flex; gap: 10px; align-items: flex-start; }
.dl-assure .material-symbols-rounded { font-size: 19px; color: var(--dl-accent); font-variation-settings: "FILL" 1; }
.dl-assure b { color: var(--dl-ink); }
.dl-upsell { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dl-line); background: var(--dl-bg-2); }
.dl-upsell > .material-symbols-rounded { color: var(--dl-accent-d); }
.dl-upsell > div { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; color: var(--dl-ink-2); }
.dl-upsell b { color: var(--dl-ink); }
.dl-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 16px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--dl-bg-2); }
.dl-price > div { display: flex; flex-direction: column; gap: 2px; }
.dl-price b { font-size: 1.1rem; }
.dl-price .dl-muted { font-size: 0.8rem; }

/* Request thread */
.dl-thread-head { margin: 22px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.dl-thread-head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
.dl-thread-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .dl-thread-grid { grid-template-columns: 1fr; } }
.dl-thread { display: flex; flex-direction: column; gap: 14px; }
.dl-msgs { display: flex; flex-direction: column; gap: 12px; }
.dl-thread .dl-msg { max-width: 100%; background: var(--dl-card); border: 1px solid var(--dl-line); }
.dl-thread .dl-msg.is-user { background: var(--dl-bg-2); color: var(--dl-ink); align-self: stretch; }
.dl-thread .dl-msg.is-user .dl-msg-who { color: var(--dl-muted); }
.dl-thread .dl-msg time { display: block; margin-top: 6px; font-size: 0.76rem; }
.dl-thread .dl-msg.is-kind-decline { border-color: color-mix(in srgb, var(--dl-bad) 35%, var(--dl-line)); }
.dl-event { display: flex; align-items: center; gap: 8px; color: var(--dl-muted); font-size: 0.86rem; padding: 0 4px; }
.dl-event .material-symbols-rounded { font-size: 18px; color: var(--dl-accent); }
.dl-event time { margin-left: auto; font-size: 0.76rem; }
.dl-composer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--dl-line); border-radius: 14px; background: var(--dl-card); }
.dl-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--dl-accent-soft); border: 1px solid color-mix(in srgb, var(--dl-accent) 30%, transparent); }
.dl-banner > .material-symbols-rounded { color: var(--dl-accent-d); font-size: 26px; }
.dl-banner > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dl-banner.is-soft { background: var(--dl-bg-2); border-color: var(--dl-line); }
.dl-delivered { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 16px 16px 14px; border-radius: 12px; border: 1px solid var(--dl-line-2); background: var(--dl-card); color: var(--dl-ink); text-decoration: none; overflow: hidden; }
.dl-delivered:hover { border-color: var(--dl-accent); }
.dl-delivered-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* Theme colour bands on cards: one flat colour per theme (the documents
   themselves are styled by deliverable.css). */
.dl-page .dl-doc.jd-theme-cobalt { --dl-band: #2e5bff; }
.dl-page .dl-doc.jd-theme-indigo { --dl-band: #4f46e5; }
.dl-page .dl-doc.jd-theme-violet { --dl-band: #7c3aed; }
.dl-page .dl-doc.jd-theme-emerald { --dl-band: #059669; }
.dl-page .dl-doc.jd-theme-teal { --dl-band: #0d9488; }
.dl-page .dl-doc.jd-theme-amber { --dl-band: #d97706; }
.dl-page .dl-doc.jd-theme-rose { --dl-band: #be123c; }
.dl-page .dl-doc.jd-theme-slate { --dl-band: #475569; }
.dl-locked { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 14px; border-radius: 12px; background: var(--dl-bg-2); }
.dl-locked > div { flex: 1; display: flex; flex-direction: column; }
.dl-quote { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--dl-warn-bg); }
.dl-thread-side .dl-card p { margin: 6px 0; font-size: 0.92rem; }

/* Viewer */
.dl-viewbar { position: sticky; top: 57px; z-index: 30; display: flex; align-items: center; gap: 10px; margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 8px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--dl-bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dl-line); }
.dl-viewbar-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.98rem; }
.dl-viewbar-actions { display: flex; gap: 6px; align-items: center; }
.dl-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--dl-bg-2); border: 1px solid var(--dl-line); }
.dl-seg button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 10px; border-radius: 7px; font: 600 0.84rem/1 var(--dl-font); color: var(--dl-muted); cursor: pointer; }
.dl-seg button[aria-pressed="true"] { background: var(--dl-card); color: var(--dl-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
@media (max-width: 720px) { .dl-viewbar { top: 96px; flex-wrap: wrap; } .dl-seg span { display: none; } .dl-viewbar-title { flex-basis: calc(100% - 50px); } }
.dl-viewer-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.dl-viewer-wrap:has(.dl-ask:not([hidden])) { grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 1080px) { .dl-viewer-wrap:has(.dl-ask:not([hidden])) { grid-template-columns: 1fr; } }
.dl-viewer { min-width: 0; }
.dl-viewer .jd { border-radius: 18px; border: 1px solid var(--dl-line); overflow: hidden; }
.dl-viewer .jdv-problems .dl-btn { margin-top: 10px; }
/* The app's top bar and viewer bar are sticky too: keep the deliverable's
   own sticky parts (topic tabs, contents) below them. */
.dl-viewer .jd .jd-tabbar { top: 108px; }
.dl-viewer .jd .jd-toc nav { top: 124px; max-height: calc(100vh - 140px); }
@media (max-width: 720px) { .dl-viewer .jd .jd-tabbar { top: 148px; } }
.dl-ask { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 140px); padding: 14px; border-radius: 16px; border: 1px solid var(--dl-line); background: var(--dl-card); box-shadow: var(--dl-shadow); }
.dl-ask-head { display: flex; align-items: center; justify-content: space-between; }
.dl-ask-head b { display: flex; gap: 6px; align-items: center; }
.dl-ask-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.dl-ask-msgs .dl-msg { max-width: 100%; }
.dl-ask-msgs .dl-msg.is-team { background: var(--dl-bg-2); }
.dl-ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Dialogs + toast */
.dl-dialog { border: 0; padding: 0; border-radius: 18px; background: transparent; max-width: min(620px, calc(100vw - 24px)); width: 100%; color: var(--dl-ink); }
.dl-dialog::backdrop { background: rgba(10, 10, 14, 0.45); backdrop-filter: blur(2px); }
.dl-dialog-card { background: var(--dl-card); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.dl-dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dl-dialog-head h2 { margin: 0; font-size: 1.2rem; }
.dl-dialog-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.dl-dialog .dl-textarea { font-family: ui-monospace, Menlo, monospace; font-size: 0.82rem; }
.dl-switch { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.dl-switch input { width: 18px; height: 18px; accent-color: var(--dl-accent); }
.dl-toast { position: fixed; left: 50%; bottom: calc(24px + var(--jr-tabbar-h, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--dl-ink); color: var(--dl-bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; transition: opacity 0.2s, transform 0.2s; z-index: 200; max-width: calc(100vw - 32px); }
.dl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.dl-toast.is-bad { background: var(--dl-bad); color: #fff; }

@media print {
  .dl-bar, .dl-viewbar, .dl-ask, .jr, .jr-tabbar { display: none !important; }
  .dl-main { padding: 0; max-width: none; }
  .dl-viewer .jd { border: 0; }
}

/* ══ Home: the sales page (2026-11-08, flat) ══════════════════════════════════
   Hero, audience tabs (each with what you send, what we make and a live
   example), "why not just ask ChatGPT", the promise, how it works, FAQ, DIY,
   a closing call. Clean on purpose: flat fills, hairlines, no gradients, no
   3D, no glows. */
.dl-center-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.dl-center-head h2, .dl-close h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; }
.dl-center-head p { margin: 12px 0 0; color: var(--dl-ink-2); font-size: 1.06rem; }
.dl-main > .dl-section { margin-top: 96px; }
.dl-main > .dl-section[data-mine] { margin-top: 24px; }

/* Hero */
.dl-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); text-align: center; }
.dl-hero h1 { margin: 0; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.048em; font-weight: 700; }
.dl-hero-lede { max-width: 620px; margin: 20px auto 0; font-size: 1.16rem; line-height: 1.55; color: var(--dl-ink-2); }
.dl-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.dl-hero-note { list-style: none; padding: 0; margin: 22px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--dl-muted); font-size: 0.92rem; }
.dl-hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.dl-hero-note .material-symbols-rounded { font-size: 18px; color: var(--dl-good); }
@media (max-width: 560px) { .dl-hero-cta .dl-btn { flex: 1 1 100%; } }

/* Audience tabs + panel */
.dl-aud { margin: 8px 0 0; scroll-margin-top: 76px; }
.dl-aud-tabs { display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 22px; padding: 4px; border-radius: 12px; background: var(--dl-bg-2); border: 1px solid var(--dl-line); overflow-x: auto; }
.dl-aud-tabs button { flex: none; border: 0; background: none; padding: 9px 16px; border-radius: 9px; font: 600 0.94rem/1 var(--dl-font); color: var(--dl-muted); cursor: pointer; transition: color 0.15s, background 0.15s; }
.dl-aud-tabs button:hover { color: var(--dl-ink); }
.dl-aud-tabs button[aria-selected="true"] { background: var(--dl-card); color: var(--dl-ink); box-shadow: 0 1px 2px rgba(17, 17, 20, 0.08), 0 0 0 1px var(--dl-line); }
@media (max-width: 560px) {
  .dl-aud-tabs { width: 100%; box-sizing: border-box; gap: 2px; }
  .dl-aud-tabs button { flex: 1 1 auto; padding: 9px 6px; font-size: 0.84rem; }
  .dl-aud-panel { padding: 18px; border-radius: 18px; }
}
.dl-aud-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(22px, 3.5vw, 40px); border-radius: 22px; border: 1px solid var(--dl-line); background: var(--dl-card); }
@media (max-width: 960px) { .dl-aud-panel { grid-template-columns: 1fr; } }
.dl-aud-copy h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.12; letter-spacing: -0.03em; }
.dl-aud-lede { margin: 12px 0 0; color: var(--dl-ink-2); font-size: 1.02rem; }
.dl-aud-label { margin: 22px 0 8px; font-weight: 700; font-size: 0.86rem; color: var(--dl-ink); }
.dl-aud-send { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dl-aud-send li { padding: 6px 11px; border-radius: 999px; background: var(--dl-bg-2); border: 1px solid var(--dl-line); color: var(--dl-ink-2); font-size: 0.86rem; }
.dl-make-list { display: grid; border: 1px solid var(--dl-line); border-radius: 14px; overflow: hidden; }
.dl-make { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 20px; gap: 12px; align-items: center; padding: 12px 14px; color: var(--dl-ink); text-decoration: none; background: var(--dl-card); transition: background 0.15s; }
.dl-make + .dl-make { border-top: 1px solid var(--dl-line); }
.dl-make:hover { background: var(--dl-bg-2); }
.dl-make-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--dl-accent-soft); color: var(--dl-accent-d); }
.dl-make-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-make-text b { font-size: 0.97rem; }
.dl-make-text small { color: var(--dl-muted); font-size: 0.84rem; line-height: 1.4; }
.dl-make-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 700; font-size: 0.84rem; white-space: nowrap; }
.dl-make-price small { color: var(--dl-muted); font-weight: 500; }
.dl-make-go { color: var(--dl-muted); transition: transform 0.15s, color 0.15s; }
.dl-make:hover .dl-make-go { color: var(--dl-ink); transform: translateX(2px); }
@media (max-width: 560px) {
  .dl-make { grid-template-columns: 34px minmax(0, 1fr) 18px; }
  .dl-make-icon { width: 34px; height: 34px; }
  .dl-make-price { grid-column: 2; grid-row: 2; flex-direction: row; gap: 8px; align-items: baseline; }
  .dl-make-go { grid-column: 3; grid-row: 1 / span 2; }
}
.dl-aud-foot { margin: 14px 0 0; color: var(--dl-muted); font-size: 0.9rem; }
.dl-aud-price { margin: 14px 0 0; text-align: center; color: var(--dl-muted); font-size: 0.9rem; }

/* The live example: a plain bordered window, no tilt, no banner. */
.dl-ex { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.dl-ex-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border: 1px solid var(--dl-line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--dl-bg-2); font-size: 0.86rem; font-weight: 600; color: var(--dl-ink-2); }
.dl-ex-title { display: inline-flex; align-items: center; gap: 6px; }
.dl-ex-title .material-symbols-rounded { font-size: 18px; color: var(--dl-muted); }
.dl-ex-tag { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--dl-line-2); color: var(--dl-muted); font-size: 0.74rem; font-weight: 600; }
.dl-ex-doc { height: clamp(400px, 44vw, 540px); overflow: auto; border: 1px solid var(--dl-line); border-radius: 0 0 14px 14px; background: var(--dl-card); }
.dl-ex-doc .jd { border: 0; border-radius: 0; font-size: 15px; }
.dl-ex-doc .jd .jd-hero, .dl-ex-doc .jd .jd-page-title { display: none; }
.dl-ex-doc .jd .jd-body { padding-top: 6px; }
/* Decks: a light stage and a plain first slide (the excerpt starts mid-deck). */
.dl-ex-doc.is-deck { overflow: hidden; display: flex; }
.dl-ex-doc.is-deck > .jdv { flex: 1; display: flex; }
.dl-ex-doc .jd.jd-layout-deck { flex: 1; display: flex; flex-direction: column; background: var(--dl-bg-2); }
.dl-ex-doc .jd .jd-deck { min-height: 0; flex: 1; }
.dl-ex-doc .jd .jd-deck-stage { padding: 16px; }
.dl-ex-doc .jd .jd-slide { font-size: 13px; padding: 22px 26px; box-shadow: none; border: 1px solid var(--dl-line); aspect-ratio: auto; height: 100%; max-height: 100%; }
.dl-ex-doc .jd .jd-slide:first-child { background: var(--jd-card); color: var(--jd-ink); justify-content: flex-start; }
.dl-ex-doc .jd .jd-slide:first-child :is(h1, h2, a) { color: var(--jd-p-d); }
.dl-ex-doc .jd .jd-slide :is(.jd-chart-svg, .jd-plot-svg) { max-height: 230px; }
.dl-ex-doc .jd .jd-deck-bar { color: var(--dl-ink-2); padding: 8px; }
.dl-ex-doc .jd .jd-deck-bar [data-deck-full], .dl-ex-doc .jd .jd-deck-bar [data-deck-notes] { display: none; }
.dl-ex-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 12px 2px 0; color: var(--dl-muted); font-size: 0.88rem; }
.dl-ex-more { margin: 6px 2px 0; color: var(--dl-muted); font-size: 0.86rem; }

/* Why not ChatGPT */
.dl-vs-table { display: grid; border-radius: 18px; border: 1px solid var(--dl-line); background: var(--dl-card); overflow: hidden; }
.dl-vs-row { display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.dl-vs-row + .dl-vs-row > * { border-top: 1px solid var(--dl-line); }
.dl-vs-row > * { display: flex; align-items: flex-start; gap: 9px; padding: 15px 20px; font-size: 0.97rem; }
.dl-vs-row [role="rowheader"] { font-weight: 700; color: var(--dl-ink); }
.dl-vs-row .is-them { color: var(--dl-muted); }
.dl-vs-row .is-us { background: var(--dl-bg-2); color: var(--dl-ink); font-weight: 600; }
.dl-vs-row .is-us .material-symbols-rounded { font-size: 19px; color: var(--dl-good); }
.dl-vs-row.is-head > * { padding-top: 14px; padding-bottom: 14px; font-weight: 700; font-size: 0.86rem; color: var(--dl-muted); }
.dl-vs-row.is-head .is-us { background: #111114; color: #fff; }
.dl-vs-tag { display: none; font-weight: 700; }
@media (max-width: 760px) {
  .dl-vs-row { grid-template-columns: 1fr; }
  .dl-vs-row.is-head { display: none; }
  .dl-vs-row > * { padding: 8px 16px; border-top: 0 !important; }
  .dl-vs-row [role="rowheader"] { padding-top: 16px; }
  .dl-vs-row + .dl-vs-row { border-top: 1px solid var(--dl-line); }
  .dl-vs-row .is-us { margin: 2px 12px 14px; border-radius: 10px; }
  .dl-vs-tag { display: inline; }
}

/* The promise */
.dl-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--dl-line); border-radius: 18px; overflow: hidden; }
.dl-promise > div { padding: 24px; background: var(--dl-card); }
.dl-promise > div + div { border-left: 1px solid var(--dl-line); }
.dl-promise-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--dl-good-bg); color: var(--dl-good); }
.dl-promise b { display: block; margin: 14px 0 4px; font-size: 1.04rem; }
.dl-promise p { margin: 0; color: var(--dl-ink-2); font-size: 0.93rem; }
@media (max-width: 760px) { .dl-promise { grid-template-columns: 1fr; } .dl-promise > div + div { border-left: 0; border-top: 1px solid var(--dl-line); } }

/* FAQ */
.dl-faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--dl-line); }
.dl-faq-list details { border-bottom: 1px solid var(--dl-line); }
.dl-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.03rem; }
.dl-faq-list summary::-webkit-details-marker { display: none; }
.dl-faq-list summary .material-symbols-rounded { color: var(--dl-muted); transition: transform 0.2s; }
.dl-faq-list details[open] summary .material-symbols-rounded { transform: rotate(45deg); }
.dl-faq-list p { margin: 0 4px 18px; color: var(--dl-ink-2); max-width: 720px; }

/* DIY + close */
.dl-diy { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: 18px; background: var(--dl-bg-2); }
.dl-diy h2 { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; }
.dl-diy p { margin: 6px 0 0; color: var(--dl-ink-2); max-width: 620px; }
.dl-close { margin: 96px 0 0; padding: clamp(44px, 7vw, 80px) 24px; border-radius: 22px; text-align: center; background: #111114; color: #fff; }
.dl-close p { margin: 12px auto 26px; max-width: 520px; color: rgba(255, 255, 255, 0.72); font-size: 1.06rem; }
