/* =========================================================
   Rolevant Jobs · Fase 6B.1 — Sakura Ink
   Primera skin real sobre el motor sellado de Fase 6A.
   Sólo cambia apariencia: tokens, superficies y ambientación.
   No cambia geometría, HTML, permisos, Vant ni comportamiento.
   ========================================================= */
:root[data-rv-theme="base"] { color-scheme: dark; }

:root[data-rv-theme="sakura-ink"] {
  color-scheme: light;

  /* Sakura Ink — contrato semántico */
  --rv-color-night: #3f1733;
  --rv-color-night-2: #54213f;
  --rv-color-night-3: #6d2d4e;
  --rv-color-accent-warm: #d85f87;
  --rv-color-accent-warm-soft: #ee91ae;
  --rv-color-champagne-soft: #bf456f;
  --rv-color-accent-cool: #b9597f;
  --rv-color-accent-cool-2: #e77f9f;
  --rv-color-danger: #c84c67;
  --rv-color-canvas: #fff8f7;
  --rv-color-card: #fffdfc;
  --rv-color-ink: #35152d;
  --rv-color-muted: #7f6170;
  --rv-color-muted-2: #a98794;
  --rv-color-line: rgba(122, 52, 82, .13);
  --rv-color-line-strong: rgba(122, 52, 82, .22);
  --rv-color-forest: #6d4558;
  --rv-color-stone: #c7aeb8;
  --rv-color-graphite: #4a3140;
  --rv-color-panel: rgba(255, 252, 251, .94);
  --rv-color-panel-soft: rgba(255, 247, 248, .88);
  --rv-shadow-elevated: 0 26px 72px rgba(88, 28, 57, .13);
  --rv-shadow-soft: 0 12px 34px rgba(88, 28, 57, .08);

  /* Puente a las variables históricas; conserva el motor intacto. */
  --night: var(--rv-color-night);
  --night-2: var(--rv-color-night-2);
  --night-3: var(--rv-color-night-3);
  --indigo: #cf557d;
  --indigo-2: #e883a2;
  --mint: #bd5a80;
  --mint-soft: rgba(224, 116, 151, .12);
  --amber: #d7a27e;
  --red: var(--rv-color-danger);
  --paper: var(--rv-color-canvas);
  --card: var(--rv-color-card);
  --ink: var(--rv-color-ink);
  --muted: var(--rv-color-muted);
  --muted-2: var(--rv-color-muted-2);
  --line: var(--rv-color-line);
  --line-strong: var(--rv-color-line-strong);
  --champagne: #d85f87;
  --champagne-soft: #bb456d;
  --forest: #785363;
  --cyan: #c14e79;
  --cyan-2: #e5809e;
  --ivory: #35152d;
  --stone: #c7aeb8;
  --graphite: #4a3140;
  --panel: var(--rv-color-panel);
  --panel-soft: var(--rv-color-panel-soft);
  --shadow: var(--rv-shadow-elevated);
  --shadow-soft: var(--rv-shadow-soft);

  --sakura-paper: #fffaf8;
  --sakura-paper-2: #fff4f5;
  --sakura-blush: #f7ccd8;
  --sakura-petal: #ee91ad;
  --sakura-petal-strong: #db6388;
  --sakura-ink: #421733;
  --sakura-ink-soft: #775269;
  --sakura-line: rgba(128, 52, 84, .15);
  --sakura-wash: rgba(226, 115, 149, .10);
  --sakura-wash-strong: rgba(210, 84, 126, .15);
}

/* Papel, acuarela y bruma: sin imágenes remotas ni assets ejecutables. */
:root[data-rv-theme="sakura-ink"] body {
  background:
    radial-gradient(ellipse at 7% 3%, rgba(239, 151, 176, .24) 0 8%, transparent 27%),
    radial-gradient(ellipse at 93% 8%, rgba(226, 124, 155, .16) 0 7%, transparent 25%),
    radial-gradient(ellipse at 87% 91%, rgba(117, 76, 91, .08) 0 9%, transparent 30%),
    radial-gradient(ellipse at 12% 90%, rgba(235, 139, 168, .12) 0 8%, transparent 26%),
    linear-gradient(180deg, #fffaf8 0%, #fff7f7 46%, #fdf4f3 100%);
  color: var(--sakura-ink);
}

:root[data-rv-theme="sakura-ink"] body:not(.visual-preview-active)::before {
  opacity: .34;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(211, 83, 125, .10) 0 1px, transparent 1.6px),
    radial-gradient(circle at 66% 42%, rgba(98, 54, 70, .045) 0 .8px, transparent 1.4px),
    linear-gradient(113deg, transparent 0 46%, rgba(127, 75, 94, .025) 47%, transparent 48% 100%);
  background-size: 31px 31px, 47px 47px, 94px 94px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.45) 68%, transparent 100%);
}

:root[data-rv-theme="sakura-ink"] .ambient { opacity: .18; filter: blur(125px); }
:root[data-rv-theme="sakura-ink"] .ambient-one { background: #f0a0b8; }
:root[data-rv-theme="sakura-ink"] .ambient-two { background: #d86a91; }

/* Navegación: papel translúcido con tinta ciruela. */
:root[data-rv-theme="sakura-ink"] .app-nav {
  background: rgba(255, 250, 248, .92);
  color: var(--sakura-ink);
  border-bottom-color: rgba(133, 56, 89, .14);
  box-shadow: 0 10px 32px rgba(97, 37, 66, .07);
}
:root[data-rv-theme="sakura-ink"] .brand,
:root[data-rv-theme="sakura-ink"] .brand-copy strong { color: var(--sakura-ink); }
:root[data-rv-theme="sakura-ink"] .brand-copy span { color: var(--sakura-petal-strong); }
:root[data-rv-theme="sakura-ink"] .brand-mark {
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(248,211,221,.72));
  border-color: rgba(189, 82, 120, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 9px 24px rgba(113, 44, 76, .09);
}
:root[data-rv-theme="sakura-ink"] .nav-copy { color: #8b6b78; border-left-color: rgba(134, 57, 88, .14); }
:root[data-rv-theme="sakura-ink"] .status-pill {
  color: #755766;
  background: rgba(255,255,255,.60);
  border-color: rgba(128, 61, 87, .14);
}
:root[data-rv-theme="sakura-ink"] .status-ok { color: #4f7865; }
:root[data-rv-theme="sakura-ink"] .status-ok i { background: #6f9e87; }
:root[data-rv-theme="sakura-ink"] .status-bad { color: #a44159; }
:root[data-rv-theme="sakura-ink"] .status-wait { color: #866b76; }
:root[data-rv-theme="sakura-ink"] .status-pill:hover,
:root[data-rv-theme="sakura-ink"] .status-pill:focus-visible {
  border-color: rgba(201, 76, 117, .33);
  background: rgba(247, 211, 221, .38);
}

/* Hero: sumi rosado, sin alterar posición ni medidas. */
:root[data-rv-theme="sakura-ink"] .hero-grid::before {
  background-image:
    radial-gradient(circle at 13% 23%, rgba(220, 91, 134, .13) 0 1.4px, transparent 2px),
    radial-gradient(circle at 82% 16%, rgba(237, 144, 172, .15) 0 2px, transparent 2.6px),
    linear-gradient(rgba(120,61,82,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,61,82,.022) 1px, transparent 1px);
  background-size: 34px 34px, 57px 57px, 68px 68px, 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 91%);
}
:root[data-rv-theme="sakura-ink"] .hero-grid::after {
  opacity: .62;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 55%, rgba(88, 49, 64, .09) 55.5%, transparent 56.2%),
    radial-gradient(ellipse at 52% 105%, transparent 63%, rgba(210, 85, 127, .12) 63.5%, transparent 64.1%),
    radial-gradient(ellipse at 48% 112%, transparent 72%, rgba(231, 146, 169, .14) 72.5%, transparent 73.1%);
}
:root[data-rv-theme="sakura-ink"] .hero-brand-seal { opacity: .055; filter: sepia(.08) saturate(.72) hue-rotate(292deg); }
:root[data-rv-theme="sakura-ink"] .eyebrow { color: #a84368; }
:root[data-rv-theme="sakura-ink"] .eyebrow > span { background: linear-gradient(90deg, #c44d76, #eca0b6); }
:root[data-rv-theme="sakura-ink"] .hero-copy h1 { color: var(--sakura-ink); }
:root[data-rv-theme="sakura-ink"] .hero-copy h1 em {
  color: #d85f87;
  text-shadow: 0 12px 34px rgba(198, 76, 118, .12);
}
:root[data-rv-theme="sakura-ink"] .hero-copy > p,
:root[data-rv-theme="sakura-ink"] .value-chain { color: #765b69; }
:root[data-rv-theme="sakura-ink"] .value-chain b {
  color: #b84369;
  background: rgba(255,255,255,.74);
  border-color: rgba(191, 74, 112, .20);
  box-shadow: 0 8px 22px rgba(98, 36, 65, .07);
}
:root[data-rv-theme="sakura-ink"] .value-chain i { background: linear-gradient(90deg, rgba(189,72,111,.28), rgba(232,142,168,.20)); }

/* Superficies editoriales de papel. */
:root[data-rv-theme="sakura-ink"] .workflow-rail,
:root[data-rv-theme="sakura-ink"] .card,
:root[data-rv-theme="sakura-ink"] .access-panel,
:root[data-rv-theme="sakura-ink"] .memory-card,
:root[data-rv-theme="sakura-ink"] .alerts-card,
:root[data-rv-theme="sakura-ink"] .metric-card,
:root[data-rv-theme="sakura-ink"] .results-card,
:root[data-rv-theme="sakura-ink"] .tracker-column,
:root[data-rv-theme="sakura-ink"] .analysis-section,
:root[data-rv-theme="sakura-ink"] .settings-drawer,
:root[data-rv-theme="sakura-ink"] .control-center {
  background: linear-gradient(145deg, rgba(255,253,252,.96), rgba(255,246,247,.92));
  border-color: rgba(126, 53, 82, .14);
  box-shadow: 0 14px 36px rgba(96, 36, 64, .075), inset 0 1px 0 rgba(255,255,255,.9);
}
:root[data-rv-theme="sakura-ink"] .access-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(238, 142, 169, .18), transparent 34%),
    linear-gradient(145deg, rgba(255,253,252,.98), rgba(255,244,246,.95));
  border-color: rgba(178, 70, 107, .20);
  box-shadow: 0 30px 80px rgba(95, 34, 62, .12), inset 0 1px 0 rgba(255,255,255,.85);
}
:root[data-rv-theme="sakura-ink"] .access-panel::before { background: radial-gradient(circle, rgba(219, 100, 139, .12), transparent 68%); }
:root[data-rv-theme="sakura-ink"] .access-panel h2,
:root[data-rv-theme="sakura-ink"] .section-head h2,
:root[data-rv-theme="sakura-ink"] .results-head h2,
:root[data-rv-theme="sakura-ink"] .alerts-card__head h2,
:root[data-rv-theme="sakura-ink"] .memory-head h2,
:root[data-rv-theme="sakura-ink"] .product-view-head h2,
:root[data-rv-theme="sakura-ink"] .opportunities-command h2,
:root[data-rv-theme="sakura-ink"] .settings-intro h2,
:root[data-rv-theme="sakura-ink"] .product-view-title h2 { color: var(--sakura-ink); }
:root[data-rv-theme="sakura-ink"] .access-panel > p,
:root[data-rv-theme="sakura-ink"] .section-head p,
:root[data-rv-theme="sakura-ink"] .results-head p,
:root[data-rv-theme="sakura-ink"] .alerts-card__head p,
:root[data-rv-theme="sakura-ink"] .product-view p { color: #806372; }

/* Navegación de producto. */
:root[data-rv-theme="sakura-ink"] .product-navigation {
  background:
    radial-gradient(circle at 13% 7%, rgba(239, 158, 181, .20), transparent 27%),
    linear-gradient(180deg, rgba(255,252,250,.97), rgba(255,245,247,.95));
  border-color: rgba(128, 55, 84, .14);
  box-shadow: 0 18px 42px rgba(86, 30, 57, .08);
}
:root[data-rv-theme="sakura-ink"] .product-navigation__label { color: #9b7181; }
:root[data-rv-theme="sakura-ink"] .product-nav-item { color: #725562; }
:root[data-rv-theme="sakura-ink"] .product-nav-item > span {
  color: #9a647a;
  background: rgba(239, 201, 212, .28);
}
:root[data-rv-theme="sakura-ink"] .product-nav-item:hover {
  color: var(--sakura-ink);
  background: rgba(244, 203, 215, .32);
}
:root[data-rv-theme="sakura-ink"] .product-nav-item.is-active {
  color: #5d1d3d;
  border-color: rgba(206, 76, 119, .24);
  background: linear-gradient(135deg, rgba(246,190,207,.48), rgba(255,249,248,.72));
  box-shadow: inset 3px 0 0 #d75a84;
}
:root[data-rv-theme="sakura-ink"] .product-nav-item.is-active > span { color: #b83f69; background: rgba(237, 153, 178, .24); }
:root[data-rv-theme="sakura-ink"] .product-navigation__note { border-top-color: rgba(132, 57, 86, .12); }
:root[data-rv-theme="sakura-ink"] .product-navigation__note strong { color: #8e3558; }
:root[data-rv-theme="sakura-ink"] .product-navigation__note span { color: #896a77; }

/* Controles, buscadores y formularios. */
:root[data-rv-theme="sakura-ink"] .field > span,
:root[data-rv-theme="sakura-ink"] .status-filter > span,
:root[data-rv-theme="sakura-ink"] .settings-drawer__copy strong { color: #5c3548; }
:root[data-rv-theme="sakura-ink"] .field > span small,
:root[data-rv-theme="sakura-ink"] .settings-drawer__copy small { color: #9a7b87; }
:root[data-rv-theme="sakura-ink"] input,
:root[data-rv-theme="sakura-ink"] textarea,
:root[data-rv-theme="sakura-ink"] select,
:root[data-rv-theme="sakura-ink"] .search-field {
  color: #3e2032;
  background: rgba(255,255,255,.76);
  border-color: rgba(126, 55, 84, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
:root[data-rv-theme="sakura-ink"] input::placeholder,
:root[data-rv-theme="sakura-ink"] textarea::placeholder { color: #ae919c; }
:root[data-rv-theme="sakura-ink"] input:hover,
:root[data-rv-theme="sakura-ink"] textarea:hover,
:root[data-rv-theme="sakura-ink"] select:hover { border-color: rgba(201, 76, 117, .34); background: #fffdfc; }
:root[data-rv-theme="sakura-ink"] input:focus,
:root[data-rv-theme="sakura-ink"] textarea:focus,
:root[data-rv-theme="sakura-ink"] select:focus,
:root[data-rv-theme="sakura-ink"] .search-field:focus-within {
  border-color: rgba(201, 76, 117, .62);
  background: #fffdfc;
  box-shadow: 0 0 0 3px rgba(218, 92, 134, .10);
}
:root[data-rv-theme="sakura-ink"] select option { color: #35152d; background: #fffaf9; }
:root[data-rv-theme="sakura-ink"] input[type="number"] { color-scheme: light; }
:root[data-rv-theme="sakura-ink"] .check-row label,
:root[data-rv-theme="sakura-ink"] .switch-line,
:root[data-rv-theme="sakura-ink"] .alert-option,
:root[data-rv-theme="sakura-ink"] .source-preset {
  color: #553346;
  background: rgba(255,255,255,.60);
  border-color: rgba(126, 55, 84, .13);
}
:root[data-rv-theme="sakura-ink"] .check-row input,
:root[data-rv-theme="sakura-ink"] .switch-line input,
:root[data-rv-theme="sakura-ink"] .alert-option input { accent-color: #d65a83; }

/* Botones y acciones: rosa sakura con tinta oscura. */
:root[data-rv-theme="sakura-ink"] .btn-primary {
  color: #fffaf9;
  background: linear-gradient(135deg, #d6537e, #bb3f69);
  box-shadow: 0 12px 28px rgba(181, 54, 99, .19);
}
:root[data-rv-theme="sakura-ink"] .btn-primary:hover { box-shadow: 0 16px 34px rgba(181, 54, 99, .25); }
:root[data-rv-theme="sakura-ink"] .btn-secondary,
:root[data-rv-theme="sakura-ink"] .btn-quiet {
  color: #5d3548;
  background: rgba(255,255,255,.66);
  border-color: rgba(126, 55, 84, .17);
}
:root[data-rv-theme="sakura-ink"] .btn-search {
  color: #fffaf9;
  background: linear-gradient(135deg, #6f294c, #9e3b62 62%, #d45c83);
  border-color: rgba(122, 45, 76, .20);
  box-shadow: 0 13px 28px rgba(100, 31, 62, .15);
}
:root[data-rv-theme="sakura-ink"] .btn-search:hover { background: linear-gradient(135deg, #7d2e54, #ad456c 62%, #dd6c90); }
:root[data-rv-theme="sakura-ink"] .text-button { color: #b44068; }
:root[data-rv-theme="sakura-ink"] .text-button:hover,
:root[data-rv-theme="sakura-ink"] .text-button.strong { background: rgba(224, 109, 145, .11); }
:root[data-rv-theme="sakura-ink"] button:focus-visible,
:root[data-rv-theme="sakura-ink"] a:focus-visible,
:root[data-rv-theme="sakura-ink"] input:focus-visible,
:root[data-rv-theme="sakura-ink"] textarea:focus-visible,
:root[data-rv-theme="sakura-ink"] select:focus-visible,
:root[data-rv-theme="sakura-ink"] summary:focus-visible { outline-color: rgba(201, 76, 117, .48); }

/* Tarjetas de oportunidad y métricas. */
:root[data-rv-theme="sakura-ink"] .results-list { background: rgba(255, 246, 247, .50); }
:root[data-rv-theme="sakura-ink"] .job-card,
:root[data-rv-theme="sakura-ink"] .job-card--memory,
:root[data-rv-theme="sakura-ink"] .job-card--near {
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,248,248,.94));
  border-color: rgba(126, 55, 84, .13);
  box-shadow: 0 8px 24px rgba(87, 30, 55, .06);
}
:root[data-rv-theme="sakura-ink"] .job-card:hover { border-color: rgba(213, 83, 126, .30); box-shadow: 0 18px 38px rgba(91, 31, 58, .10); }
:root[data-rv-theme="sakura-ink"] .job-card__score {
  color: #4a2438;
  background: linear-gradient(180deg, rgba(248,214,223,.62), rgba(255,250,249,.95));
  border-right-color: rgba(190, 73, 111, .13);
}
:root[data-rv-theme="sakura-ink"] .job-card__score > span { color: #9a6d7e; }
:root[data-rv-theme="sakura-ink"] .job-card__score strong { color: #bf416d; }
:root[data-rv-theme="sakura-ink"] .job-card__score i { color: #9c7e89; }
:root[data-rv-theme="sakura-ink"] .job-title,
:root[data-rv-theme="sakura-ink"] .brand-mini,
:root[data-rv-theme="sakura-ink"] .metric-card strong,
:root[data-rv-theme="sakura-ink"] .empty-state > strong { color: var(--sakura-ink); }
:root[data-rv-theme="sakura-ink"] .job-company,
:root[data-rv-theme="sakura-ink"] .job-summary,
:root[data-rv-theme="sakura-ink"] .inline-status { color: #826473; }
:root[data-rv-theme="sakura-ink"] .tag,
:root[data-rv-theme="sakura-ink"] .discovery-badge--reviewed {
  color: #765565;
  background: rgba(238, 204, 214, .24);
  border-color: rgba(133, 58, 87, .09);
}
:root[data-rv-theme="sakura-ink"] .warning-chip,
:root[data-rv-theme="sakura-ink"] .rec-evaluar { color: #9a663c; background: rgba(218, 164, 119, .13); border-color: rgba(177, 116, 69, .14); }
:root[data-rv-theme="sakura-ink"] .rec-postular,
:root[data-rv-theme="sakura-ink"] .discovery-badge--new { color: #4f765f; background: rgba(105, 157, 128, .12); }
:root[data-rv-theme="sakura-ink"] .rec-no_prioritaria,
:root[data-rv-theme="sakura-ink"] .rec-descartar { color: #a93f59; background: rgba(199, 74, 101, .10); }
:root[data-rv-theme="sakura-ink"] .discovery-badge--modified { color: #a23d63; background: rgba(220, 98, 137, .11); }
:root[data-rv-theme="sakura-ink"] .job-card--new { border-color: rgba(102, 154, 126, .27); box-shadow: 0 8px 24px rgba(83, 131, 105, .06); }
:root[data-rv-theme="sakura-ink"] .job-card--modified { border-color: rgba(207, 77, 119, .25); box-shadow: 0 8px 24px rgba(181, 65, 104, .06); }

/* Estados, paneles secundarios y configuración. */
:root[data-rv-theme="sakura-ink"] .status-box,
:root[data-rv-theme="sakura-ink"] .help-box,
:root[data-rv-theme="sakura-ink"] .meta-box,
:root[data-rv-theme="sakura-ink"] .memory-stat,
:root[data-rv-theme="sakura-ink"] .memory-detail,
:root[data-rv-theme="sakura-ink"] .alerts-section,
:root[data-rv-theme="sakura-ink"] .history-item,
:root[data-rv-theme="sakura-ink"] .health-item,
:root[data-rv-theme="sakura-ink"] .confidence-definition,
:root[data-rv-theme="sakura-ink"] .confidence-columns section,
:root[data-rv-theme="sakura-ink"] .draft-box {
  color: #735463;
  background: rgba(255,255,255,.55);
  border-color: rgba(126, 55, 84, .11);
}
:root[data-rv-theme="sakura-ink"] .settings-drawer__icon,
:root[data-rv-theme="sakura-ink"] .field-info-button {
  color: #b63f68;
  background: rgba(236, 172, 192, .20);
  border-color: rgba(194, 72, 111, .20);
}
:root[data-rv-theme="sakura-ink"] .settings-drawer summary em,
:root[data-rv-theme="sakura-ink"] .settings-default-badge {
  color: #a23d62;
  background: rgba(238, 181, 198, .18);
  border-color: rgba(190, 71, 110, .16);
}
:root[data-rv-theme="sakura-ink"] .settings-drawer__body { border-top-color: rgba(128, 55, 84, .10); }
:root[data-rv-theme="sakura-ink"] .alerts-section--activation {
  border-color: rgba(205, 82, 122, .20);
  background: linear-gradient(145deg, rgba(246,214,223,.46), rgba(255,250,249,.76));
  box-shadow: inset 3px 0 0 #d75c84;
}
:root[data-rv-theme="sakura-ink"] .memory-card::before,
:root[data-rv-theme="sakura-ink"] .alerts-card::before { background: linear-gradient(90deg, #d4527d, #f0a0b7); }
:root[data-rv-theme="sakura-ink"] .memory-status,
:root[data-rv-theme="sakura-ink"] .alerts-runtime { color: #a83d64; background: rgba(227, 129, 159, .11); border-color: rgba(195, 72, 111, .14); }
:root[data-rv-theme="sakura-ink"] .alerts-section__number,
:root[data-rv-theme="sakura-ink"] .counter-pill,
:root[data-rv-theme="sakura-ink"] .empty-visual b {
  color: #fffaf9;
  background: linear-gradient(135deg, #c94773, #e27699);
}

/* Diálogos permanecen legibles sobre el modo claro. */
:root[data-rv-theme="sakura-ink"] .job-dialog,
:root[data-rv-theme="sakura-ink"] .confidence-dialog { background: rgba(57, 26, 43, .45); }
:root[data-rv-theme="sakura-ink"] .dialog-shell,
:root[data-rv-theme="sakura-ink"] .confidence-shell {
  color: #3d2131;
  background: linear-gradient(145deg, #fffdfc, #fff4f6);
  border-color: rgba(126, 55, 84, .16);
  box-shadow: 0 38px 100px rgba(69, 22, 45, .22);
}
:root[data-rv-theme="sakura-ink"] .dialog-head,
:root[data-rv-theme="sakura-ink"] .confidence-head,
:root[data-rv-theme="sakura-ink"] .dialog-actions { border-color: rgba(126, 55, 84, .10); }
:root[data-rv-theme="sakura-ink"] .dialog-head h2,
:root[data-rv-theme="sakura-ink"] .confidence-heading h2 { color: var(--sakura-ink); }
:root[data-rv-theme="sakura-ink"] .dialog-head p,
:root[data-rv-theme="sakura-ink"] .confidence-heading p,
:root[data-rv-theme="sakura-ink"] .dialog-content p,
:root[data-rv-theme="sakura-ink"] .dialog-content li,
:root[data-rv-theme="sakura-ink"] .confidence-body p,
:root[data-rv-theme="sakura-ink"] .confidence-body li { color: #765967; }
:root[data-rv-theme="sakura-ink"] .dialog-content h3,
:root[data-rv-theme="sakura-ink"] .confidence-body h3 { color: #a83f64; }
:root[data-rv-theme="sakura-ink"] .score-badge,
:root[data-rv-theme="sakura-ink"] .confidence-score { color: #fffaf9; background: linear-gradient(145deg, #c94b75, #e782a0); }
:root[data-rv-theme="sakura-ink"] .icon-button { color: #765767; background: rgba(255,255,255,.58); border-color: rgba(126, 55, 84, .14); }

/* Pie y detalles finales. */
:root[data-rv-theme="sakura-ink"] .app-footer {
  color: #866b77;
  background: rgba(255, 248, 247, .86);
  border-top-color: rgba(126, 55, 84, .12);
}
:root[data-rv-theme="sakura-ink"] .app-footer a { color: #b83f69; }
:root[data-rv-theme="sakura-ink"] .brand-mini b { color: #d45b83; }

/* Sakura ambiental: pétalos mínimos en bordes; nunca cubren contenido. */
:root[data-rv-theme="sakura-ink"] .product-navigation::before,
:root[data-rv-theme="sakura-ink"] .product-navigation::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: 72px;
  height: 72px;
  opacity: .46;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(222, 96, 136, .52) 0 9%, transparent 10%),
    radial-gradient(ellipse at 82% 50%, rgba(238, 151, 176, .48) 0 9%, transparent 10%),
    radial-gradient(ellipse at 50% 82%, rgba(224, 111, 145, .42) 0 9%, transparent 10%),
    radial-gradient(ellipse at 18% 50%, rgba(244, 178, 197, .52) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, rgba(160, 70, 100, .30) 0 5%, transparent 6%);
}
:root[data-rv-theme="sakura-ink"] .product-navigation::before { top: -25px; left: -28px; transform: rotate(-16deg) scale(.76); }
:root[data-rv-theme="sakura-ink"] .product-navigation::after { right: -30px; bottom: -27px; transform: rotate(24deg) scale(.58); opacity: .32; }

@media (max-width: 760px) {
  :root[data-rv-theme="sakura-ink"] body {
    background:
      radial-gradient(ellipse at 6% 2%, rgba(238, 146, 173, .18) 0 8%, transparent 22%),
      radial-gradient(ellipse at 95% 18%, rgba(218, 100, 140, .10) 0 7%, transparent 23%),
      linear-gradient(180deg, #fffaf8 0%, #fff6f6 52%, #fdf3f3 100%);
  }
  :root[data-rv-theme="sakura-ink"] .product-navigation::before,
  :root[data-rv-theme="sakura-ink"] .product-navigation::after { opacity: .24; }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-rv-theme="sakura-ink"] .ambient { filter: blur(120px); }
}
