/* "See Inferova at work": control room and story player. Tokens come from home.css. */
.see-it { padding: 112px 0 80px; min-height: 70vh; }
.see-it h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 750; letter-spacing: -0.03em; margin-bottom: 12px; }
.si-sim, .see-it-fallback .sim-label { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); background: var(--mist); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.si-lede, .see-it-fallback .lede { font-size: 1.12rem; line-height: 1.6; max-width: 44rem; margin-bottom: 18px; }
[lang="hi"] { font-family: 'Noto Sans Devanagari', 'Kohinoor Devanagari', 'Mangal', system-ui, sans-serif; }

/* No-JS fallback */
.see-it-fallback ol, .fallback-worlds { padding-left: 1.2em; line-height: 1.6; }
.fallback-worlds { list-style: none; padding: 0; margin: 24px 0; }
.fallback-worlds li { padding: 10px 0; border-top: 1px solid var(--rule); }
.fallback-worlds a { text-decoration: none; color: var(--ink); }
.fallback-worlds span { display: block; color: var(--ink-soft); }
.fallback-story { margin: 28px 0; }

/* Control room */
.si-ticker { min-height: 3em; font-size: 0.98rem; color: var(--ink); border-left: 3px solid var(--saffron); padding: 6px 12px; background: var(--paper); margin-bottom: 28px; max-width: 52rem; }
.si-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.si-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); min-height: 220px; transition: border-color .2s ease; }
.si-tile:hover, .si-tile:focus-visible { border-color: var(--ink); }
.si-tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.si-tile-name { font-size: 0.9rem; font-weight: 600; color: #A84F0A; }
.si-tile-promise { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
.si-tile-status { font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); flex: 1; }
.si-tile-cta { font-weight: 600; color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
    .si-pulse { animation: si-pulse 1.2s ease; }
    @keyframes si-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(255, 122, 0, 0); } }
}

/* Story view */
.si-crumb { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }
.si-crumb a { color: var(--blue); font-weight: 600; text-decoration: none; }
.si-org { color: var(--muted); margin-bottom: 18px; }
.si-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.si-story-tab { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.si-story-tab[aria-selected="true"] { border-color: var(--ink); background: var(--mist); }
.si-timeline { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.si-dot { font: inherit; font-size: 0.82rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-soft); cursor: pointer; }
.si-dot.si-done { background: var(--mist); }
.si-dot[aria-current="step"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.si-stage { display: grid; grid-template-columns: 5fr 6fr; gap: 32px; align-items: start; }
.si-stage.si-faded { opacity: 0.55; }
.si-moment-heading { font-size: 1rem; font-weight: 700; color: #A84F0A; margin-bottom: 10px; outline: none; }
.si-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.si-what { font-size: 1.25rem; line-height: 1.5; color: var(--ink); margin-bottom: 20px; }
.si-means-box { border-left: 3px solid var(--saffron); padding: 8px 14px; background: var(--mist); }
.si-means { color: var(--ink); font-weight: 600; margin: 0; }
.si-screen-wrap { border: 1px solid var(--rule); border-radius: 14px; padding: 18px; background: var(--paper); box-shadow: 0 18px 40px -28px rgba(14, 26, 43, 0.35); }
.si-screen h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.si-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.si-controls .lp-btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.si-chip { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); }

/* Screens */
.si-call { display: flex; flex-direction: column; gap: 10px; }
.si-line { max-width: 88%; padding: 10px 12px; border-radius: 12px; background: var(--mist); }
.si-line.si-assistant { align-self: flex-start; }
.si-line.si-caller, .si-line.si-agent { align-self: flex-end; background: #E8EEF9; }
.si-who { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.si-said { margin: 0; color: var(--ink); line-height: 1.5; }
.si-translation { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); font-style: italic; }
.si-doc dl { margin: 0; }
.si-field { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mist); }
.si-field dt { color: var(--muted); font-size: 0.9rem; }
.si-field dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.si-value { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.si-field.si-ok .si-chip { background: var(--check-wash); color: #166534; }
.si-field.si-flag { background: var(--flag-wash); margin: 0 -18px; padding: 10px 18px; }
.si-field.si-flag .si-chip { background: #fff; color: var(--flag); }
.si-field.si-flag .si-note { color: var(--flag); font-weight: 600; }
.si-note { flex-basis: 100%; font-size: 0.88rem; color: var(--ink-soft); }
.si-task.si-escalated .si-chip { background: var(--flag-wash); color: var(--flag); }
.si-task p, .si-approval li { margin: 4px 0; color: var(--ink); }
.si-approval ol { padding-left: 1.2em; margin: 0; }
.si-audit ol { list-style: none; padding: 0; margin: 0; }
.si-audit li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--mist); font-size: 0.92rem; color: var(--ink); }
.si-audit time { color: var(--muted); }
.si-brief { background: #E7F4EC; border-radius: 12px; padding: 14px 16px; }
.si-brief ul { margin: 0; padding-left: 1.1em; color: var(--ink); line-height: 1.6; }
.si-q { font-weight: 600; color: var(--ink); }
.si-a { color: var(--ink); line-height: 1.6; }

/* Ending */
.si-changed { margin-top: 12px; padding: 28px; border-radius: 14px; background: var(--mist); }
.si-changed h2 { font-size: 1.6rem; font-weight: 720; margin-bottom: 16px; outline: none; }
.si-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.si-before-after h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.si-before-after ul { padding-left: 1.1em; line-height: 1.6; color: var(--ink); }
.si-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

@media (max-width: 900px) {
    .si-tiles { grid-template-columns: repeat(2, 1fr); }
    .si-stage { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
    .see-it { padding: 96px 0 56px; }
    .si-tiles { grid-template-columns: 1fr; }
    .si-tile { min-height: 0; }
    .si-before-after { grid-template-columns: 1fr; }
    .si-field { grid-template-columns: 1fr; gap: 4px; }
    .si-line { max-width: 100%; }
    .si-changed { padding: 20px; }
}

.si-room-sub { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
