/* Editorial workbench: all conversational elements share one light surface. */
.sales-story,.visual-security,.visual-benefits { --scene-ink:#312630; --scene-muted:#655863; --scene-border:#d9c9ca; --scene-accent:#763e56; }
.sales-story { color:var(--scene-ink); font-size:14px; line-height:1.48; }
.sales-story [hidden],.visual-security [hidden] { display:none!important; }
.story-window { isolation:isolate; border:1px solid #e0d0cd; border-radius:23px; background:#fffaf7; overflow:hidden; }
.story-top { min-height:61px; border-bottom:1px solid #e9ddda; padding:14px 25px; display:flex; justify-content:space-between; align-items:center; gap:16px; background:#fffbf9; }
.story-top strong { display:flex; align-items:center; gap:9px; font-weight:610; }
.story-top strong span { color:var(--scene-accent); font-size:21px; line-height:1; }
.story-thread,.work-kicker,.dialog-meta span { color:var(--scene-muted); }
.story-composition { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); }
.story-chat { display:flex; align-items:flex-start; padding:39px clamp(20px,3vw,52px); background:#fcf8f6; min-width:0; }
.dialog-log { list-style:none; padding:0; margin:0; display:grid; gap:17px; width:100%; }
.dialog-line { display:grid; align-items:start; grid-template-columns:25px minmax(0,1fr); gap:9px; min-width:0; }
.dialog-avatar { width:25px; height:25px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:650; color:#653952; background:#eadce9; }
.anna .dialog-avatar { color:#703b4c; background:#f1d9df; }
.dialog-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 7px; font-size:12px; padding:2px 0 4px; }
.dialog-meta b { font-size:13px; }
.dialog-line p { padding:0 3px 0 0; max-width:33ch; font-size:15px; line-height:1.43; text-wrap:pretty; }
.dialog-line.anna p { background:#f1e1e5; padding:8px 12px; border-radius:3px 12px 12px 12px; width:fit-content; }
.story-work { background:radial-gradient(ellipse at 85% 15%,#f8eddd 0,transparent 62%),linear-gradient(140deg,#eee0e5,#f6e6db 74%); border-left:1px solid #e8d8d9; padding:23px clamp(19px,3.8vw,66px) 28px; min-width:0; }
.work-kicker { display:block; margin:0 0 9px; font-size:12px; }
.work-stage { display:grid; align-items:start; min-width:0; min-height:294px; }
.work-sheet { width:100%; max-width:496px; margin-inline:auto; background:#fffdfa; border:1px solid #e2d5d2; border-radius:14px; overflow:hidden; box-shadow:0 12px 29px #70434d12,0 1px 2px #70434d10; }
.work-head { display:flex; align-items:center; gap:9px; padding:13px 16px; border-bottom:1px solid #e9ddda; }
.work-head b,.work-head small { display:block; }
.work-head b { font-size:14px; font-weight:630; }
.work-head small { color:var(--scene-muted); font-size:12px; }
.work-icon { display:grid; place-items:center; width:31px; height:31px; flex:none; border-radius:7px; color:#77425a; background:#f2e5ec; }
.work-icon svg,.schedule-note svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.work-fields { margin:0; padding:4px 16px 10px; }
.work-fields>div { display:flex; gap:8px; justify-content:space-between; align-items:baseline; padding:11px 0; }
.work-fields>div+div { border-top:1px solid #ebe2e0; }
.work-fields dt,.table-note { color:var(--scene-muted); }
.work-fields dd { margin:0; text-align:right; font-weight:560; }
.work-table { border-collapse:collapse; width:calc(100% - 32px); margin:4px 16px 9px; font-size:13px; }
.work-table :is(th,td) { text-align:left; padding:7px 3px; font-weight:480; }
.work-table thead th { color:var(--scene-muted); font-size:12px; }
.work-table :is(th,td):last-child { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.work-table tbody tr { border-top:1px solid #eee4e2; }
.table-note { font-size:12px; padding:0 16px 15px; }
.crm-note { padding:12px 14px; margin:13px 15px 9px; background:#f6efef; border-left:2px solid #ab7893; border-radius:3px 8px 8px 3px; }
.note-meta { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 9px; font-size:12px; }
.note-meta time { color:var(--scene-muted); white-space:nowrap; }
.crm-note blockquote { margin:6px 0 0; font-size:14px; }
.note-use { padding:0 15px 13px; font-size:13px; }
.note-use b { color:#634155; }
.note-use p { margin-top:2px; color:var(--scene-muted); }
.report-metric { display:grid; padding:8px 16px 0; line-height:1.18; }
.report-metric span { font-size:12px; color:var(--scene-muted); }
.report-metric strong { font-size:32px; font-weight:560; letter-spacing:-.045em; white-space:nowrap; }
.schedule-note { border-top:1px solid #e9ddda; display:flex; align-items:center; gap:7px; background:#f8f1ed; padding:8px 16px; color:#65465a; font-size:12px; }
.story-controls { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:6px 20px; border-top:1px solid #e6dad8; background:#fffbf9; min-height:54px; }
.story-state { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 8px; }
.story-state span { color:var(--scene-accent); font-variant-numeric:tabular-nums; font-size:12px; }
.story-state strong { font-size:13px; }
.story-buttons { display:flex; gap:3px; }
.story-buttons button,.story-progress button { font:inherit; color:var(--scene-ink); background:transparent; cursor:pointer; border:0; }
.story-buttons button { padding:5px 8px; border-radius:5px; min-height:36px; font-size:13px; }
.story-buttons button:hover,.story-progress button:hover { background:#f3e7e9; }
.story-buttons button:disabled { opacity:.55; cursor:default; }
.story-progress { padding:0 20px 9px; margin:0; list-style:none; display:grid; gap:4px; grid-template-columns:repeat(6,minmax(0,1fr)); }
.story-progress button { text-align:left; width:100%; min-height:35px; padding:5px 5px 0; position:relative; color:var(--scene-muted); font-size:11px; line-height:1.2; border-radius:4px; }
.story-progress button::before { content:""; position:absolute; inset:0 0 auto; height:3px; border-radius:9px; background:#eadcdd; }
.story-progress button[data-past]::before { background:#c9a1b4; }
.story-progress button[aria-current] { color:var(--scene-ink); font-weight:620; }
.story-progress button[aria-current]::before { background:#8c4968; }
.story-buttons button:focus-visible,.story-progress button:focus-visible { outline:2px solid #793b5c; outline-offset:1px; }
.sheet-in { animation:work-enter 420ms cubic-bezier(.2,.74,.26,1) both; }
.dialog-in { animation:work-enter 300ms cubic-bezier(.2,.74,.26,1) both; }
.sales-story[data-playing=false] :is(.sheet-in,.dialog-in) { animation-play-state:running; }
@keyframes work-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.value-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,3vw,42px); }
.value-grid h3 { font-size:clamp(21px,2.3vw,30px); line-height:1.16; margin:16px 0 9px; text-wrap:pretty; }
.value-grid article>p { color:var(--muted); font-size:16px; line-height:1.55; }
.value-art { min-height:156px; border-radius:14px; background:#fcf2e9; color:var(--scene-ink); display:grid; place-items:center; padding:13px; font-size:13px; }
.art-calendar { display:flex; align-items:center; justify-content:center; gap:11px; background:radial-gradient(ellipse at 30% 45%,#f7e4d9,#efdbd7 82%); }
.calendar-dial { flex:0 0 auto; display:grid; place-content:center; text-align:center; width:clamp(80px,9vw,118px); aspect-ratio:1; border:1px solid #bd8f91; border-radius:50%; background:radial-gradient(circle at 29% 20%,#fff5eb,#f4ded8 78%); box-shadow:inset 0 0 0 5px #fff4ec90,0 6px 12px #80536117; color:#6b3d4e; }
.calendar-dial strong { font-size:clamp(37px,4.8vw,59px); line-height:.86; letter-spacing:-.07em; font-weight:590; font-variant-numeric:tabular-nums; }
.calendar-dial span { font-size:12px; margin-top:5px; }
.calendar-time { display:grid; gap:1px; color:#603c4b; line-height:1.3; }
.calendar-time i { width:18px; height:1px; background:#a26780; margin-bottom:5px; }
.calendar-time b { font-size:20px; letter-spacing:-.04em; }
.calendar-time span { font-size:11px; white-space:nowrap; }

.art-exception { display:grid; place-items:stretch; align-content:center; gap:8px; padding-inline:clamp(11px,2vw,28px); background:linear-gradient(150deg,#f5edf4,#eadce8); color:#493344; }
.sorting-lane { display:grid; margin-right:23px; border-block:1px solid #bc9fb6; }
.sorting-lane>div { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:3px 0; font-size:12px; }
.sorting-lane>div+div { border-top:1px solid #d7c2d2; }
.sorting-lane>div>span:last-child { color:#64515d; }
.sort-exception { display:flex; align-items:center; gap:8px; margin-left:20px; border-left:2px solid #945774; background:#f9eff4; padding:6px 8px; border-radius:0 6px 6px 0; box-shadow:0 4px 11px #77557113; }
.sort-exception i { flex:0 0 19px; height:19px; border-radius:50%; display:grid; place-items:center; color:#fff; background:#8b516d; font:600 12px/1 Golos,sans-serif; }
.sort-exception div { display:flex; justify-content:space-between; flex:1; flex-wrap:wrap; gap:3px 7px; align-items:baseline; }
.sort-exception b { font-size:13px; }
.sort-exception span { font-size:11px; }

.art-source { display:grid; align-items:center; justify-items:end; padding:13px clamp(13px,3vw,40px); background:linear-gradient(132deg,#f6e9e0 15%,#efe1d8 85%); }
.receipt-paper { display:grid; padding:9px 13px 11px; border-block:1px solid #bd9d92; background:#fffbf5; box-shadow:-8px 8px 0 #d1a8a03b,0 8px 12px #75514c15; width:min(100%,250px); color:#593b3c; transform:rotate(-3deg); }
.receipt-paper>span:first-child { color:#6a4a4c; font-size:11px; }
.receipt-paper>strong { font-size:clamp(26px,3vw,41px); font-weight:620; line-height:1.15; letter-spacing:-.06em; white-space:nowrap; }
.receipt-proof { display:flex; gap:5px; align-items:center; font-size:11px; border-top:1px dashed #bf9d9a; margin-top:4px; padding-top:5px; }
.receipt-proof i { width:6px; height:6px; border-radius:50%; background:#a9687e; }

.visual-security-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:15px; }
.visual-security-tabs button { font:600 14px/1.2 Golos,sans-serif; color:var(--ink); background:transparent; border:1px solid var(--line); border-radius:8px; padding:10px 13px; cursor:pointer; min-height:40px; }
.visual-security-tabs button[aria-pressed=true] { color:#49313e; background:#f6e9e4; border-color:#e0c2c9; }
.sec-diagram { color:var(--scene-ink); background:#fbf5f1; border:1px solid #dfd0cc; border-radius:18px; overflow:hidden; }
.sec-areas { display:grid; }
.sec-areas-split { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
.sec-company,.sec-external { padding:18px; min-width:0; }
.sec-external { background:#f4eaf2; border-left:1px dashed #ac8ca1; }
.sec-zone-label { display:flex; align-items:center; gap:6px; margin-bottom:15px; font-size:13px; font-weight:620; color:#674956; }
.sec-zone-label>span { width:8px; height:8px; border-radius:50%; background:#a47188; }
.sec-external .sec-zone-label>span { background:transparent; border:1px solid #835875; }
.sec-track,.sec-external-track,.sec-hybrid-layout { display:grid; gap:15px; min-height:115px; }
.sec-track-local { grid-template-columns:repeat(3,minmax(0,1fr)); }
.sec-track-cloud { grid-template-columns:repeat(2,minmax(0,1fr)); }
.diagram-node { background:#fffcfa; border:1px solid #e2d3d1; border-radius:10px; min-width:0; display:flex; align-items:flex-start; gap:9px; padding:13px; position:relative; }
.diagram-node b,.diagram-node small { display:block; }
.diagram-node b { font-size:15px; line-height:1.35; }
.diagram-node small { font-size:13px; line-height:1.4; margin-top:4px; color:var(--scene-muted); }
.diagram-symbol { flex:0 0 27px; height:27px; display:grid; place-items:center; border-radius:6px; background:#f3e7e4; color:#784752; font-size:16px; line-height:1; }
.model-symbol { color:#693b59; background:#efe0ee; }
.sec-track .diagram-node+.diagram-node::before,.diagram-cloud::before { content:""; position:absolute; width:16px; height:1px; background:#ae8499; left:-16px; top:50%; }
.diagram-cloud { background:#fffbff; }
.diagram-cloud::before { width:38px; left:-38px; }
.sec-hybrid-layout { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(86px,auto)); }
.sec-hybrid-layout .node-gate { grid-row:span 2; align-self:center; }
.sec-hybrid-layout .node-branch::before { content:""; position:absolute; height:1px; background:#ae8499; width:16px; left:-16px; top:50%; }
.sec-hybrid-layout .node-branch::after { content:""; position:absolute; height:calc(50% + 8px); width:1px; background:#ae8499; left:-9px; top:50%; }
.sec-hybrid-layout .node-branch:last-child::after { top:auto; bottom:50%; }
.hybrid-cloud { grid-template-rows:repeat(2,minmax(86px,auto)); }
.hybrid-cloud .diagram-cloud { grid-row:2; }
.sec-reading { background:#fffaf7; border-top:1px solid #e5d5d1; padding:13px 18px; font-size:14px; color:#634d58; }
.sec-reading b { color:#392a34; }

.delivery-columns { font-size:20px; font-weight:560; }
.visual-cases .case-teasers>a { display:flex; flex-direction:column; }
.case-cover { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; background:#f1e1d5; border-radius:11px; margin:0 0 15px; }
.visual-cases .case-read { margin-top:auto; }
.editorial-case { margin:0 0 28px; }
.editorial-case img { display:block; width:100%; height:auto; max-height:555px; object-fit:cover; border-radius:17px; background:#f3e8df; }
.editorial-case figcaption { color:var(--muted); font-size:13px; padding-top:6px; }

@media(max-width:1050px) {
 .story-chat { padding:31px 22px; }
 .story-work { padding:19px 23px 22px; }
 .diagram-node { display:block; }
 .diagram-symbol { display:grid; width:26px; margin-bottom:7px; }
}
@media(max-width:760px) {
 .story-window { border-radius:16px; }
 .story-composition { display:block; }
 .story-top { min-height:47px; padding:8px 12px; }
 .story-top strong { font-size:13px; }
 .story-thread { font-size:11px; text-align:right; }
 .story-chat { padding:13px 12px; min-height:187px; }
 .dialog-log { gap:8px; }
 .dialog-line { grid-template-columns:22px minmax(0,1fr); gap:6px; }
 .dialog-avatar { width:22px; height:22px; }
 .dialog-meta { padding-bottom:2px; }
 .dialog-line p { font-size:14px; max-width:unset; }
 .dialog-line.anna p { padding:5px 8px; }
 .story-work { border-left:0; border-top:1px solid #e8d8d9; padding:9px 12px 13px; }
 .work-kicker { margin-bottom:5px; }
 .work-stage { min-height:259px; }
 .story-controls { padding:4px 9px; min-height:46px; }
 .story-progress { padding:0 8px 7px; gap:3px; }
 .story-progress button { font-size:9px; padding-inline:2px; text-align:center; }
 .value-grid { grid-template-columns:1fr; gap:26px; }
 .value-art { min-height:147px; }
 .value-grid h3 { margin-top:10px; }
 .sec-areas-split { grid-template-columns:minmax(0,1fr); }
 .sec-company,.sec-external { padding:12px; }
 .sec-external { border-left:0; border-top:1px dashed #ac8ca1; }
 .sec-zone-label { margin-bottom:9px; }
 .sec-track,.sec-external-track,.sec-hybrid-layout { min-height:0; gap:11px; }
 .sec-track-local { grid-template-columns:1fr; }
 .sec-track-cloud { grid-template-columns:1fr; }
 .sec-track .diagram-node+.diagram-node::before,.diagram-cloud::before { width:1px; height:12px; left:25px; top:-12px; }
 .diagram-cloud::before { display:none; }
 .diagram-node { display:flex; gap:8px; padding:9px; }
 .diagram-symbol { margin:0; }
 .diagram-node b { font-size:14px; }
 .diagram-node small { margin-top:2px; }
 .sec-hybrid-layout .node-branch::before { width:12px; left:-12px; }
 .sec-hybrid-layout .node-branch::after { left:-7px; height:calc(50% + 6px); }
 .sec-hybrid-layout .diagram-node { display:block; }
 .sec-hybrid-layout .diagram-symbol { margin-bottom:5px; }
 .hybrid-cloud { grid-template-rows:auto; }
 .hybrid-cloud .diagram-cloud { grid-row:auto; }
 .sec-reading { padding:9px 12px; }
 .delivery-output h4,.delivery-choice h4 { font-size:16px; font-weight:590; }
 .editorial-case img { border-radius:11px; }
}
@media(prefers-reduced-motion:reduce) { .sheet-in,.dialog-in { animation:none; } }
.report-source { display:grid; justify-items:start; gap:2px; margin:-2px 16px 9px; color:var(--scene-muted); font-size:11px; }
.report-source button { font:inherit; padding:1px 0; color:#773c59; border:0; background:transparent; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.work-stage { min-height:326px; }
.editorial-case img { max-height:560px; object-fit:contain; }
@media(max-width:760px) { .work-stage { min-height:309px; } }
.sales-story[data-typing] .work-sheet { visibility:hidden; }
.sales-story[data-typing] .dialog-line.anna p { min-width:24px; min-height:30px; }
.sales-story[data-typing] .dialog-line.anna p::after { content:""; display:inline-block; width:1px; height:.9em; vertical-align:-.08em; background:#7e455f; margin-left:2px; }
.sheet-in { animation-delay:145ms; }
.sheet-in .work-table tbody { animation:work-enter 330ms 310ms cubic-bezier(.2,.74,.26,1) both; }
.sheet-in .note-use,.sheet-in .schedule-note { animation:work-enter 330ms 420ms cubic-bezier(.2,.74,.26,1) both; }
.sales-story.story-paused :is(.sheet-in,.dialog-in,.sheet-in .work-table tbody,.sheet-in .note-use,.sheet-in .schedule-note) { animation-play-state:paused; }
@media(max-width:550px) {
 .story-progress { grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px 6px; }
 .story-progress button { min-height:32px; font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .sheet-in :is(.work-table tbody,.note-use,.schedule-note) { animation:none; } }
.story-work { padding-top:30px; }
.task-summary { padding:12px 16px; color:var(--scene-muted); font-size:13px; }
.crm-note mark,.note-use mark { background:#eddae7; color:#57324c; padding:0 3px; border-radius:3px; }
.report-excluded { display:flex; align-items:center; justify-content:space-between; gap:9px; margin:0 16px 9px; border-radius:7px; background:#f7ece5; padding:7px 9px; color:#613e37; font-size:12px; }
.report-excluded small { display:block; color:#674d47; font-size:11px; }
.report-excluded>strong { white-space:nowrap; font-variant-numeric:tabular-nums; }
@media(max-width:760px) { .story-work { padding-top:11px; } }
@media(min-width:761px) {
 .work-stage { align-items:center; }
}
.money-nowrap { white-space:nowrap; }
.report-subtotal { display:flex; justify-content:space-between; width:100%; gap:7px; }
.report-subtotal b { color:var(--scene-ink); white-space:nowrap; }
.work-sheet { grid-area:1/1; }
.sales-story .work-sheet[hidden] { display:block!important; visibility:hidden; pointer-events:none; }
.work-stage { min-height:0; }
.work-fields>div { min-width:0; }
.sec-hybrid-layout .node-branch::before { width:9px; left:-9px; }
.sec-hybrid-layout .node-gate::after { content:""; position:absolute; top:50%; left:100%; height:1px; width:8px; background:#ae8499; }
@media(min-width:761px) {
 .sec-stage { display:grid; }
 .visual-security .sec-diagram { grid-area:1/1; display:flex; flex-direction:column; }
 .visual-security .sec-diagram[hidden] { display:flex!important; visibility:hidden; pointer-events:none; }
 .sec-areas { flex:1; }
 .sec-company,.sec-external { display:flex; flex-direction:column; }
 .sec-track,.sec-external-track { flex:1; align-items:center; }
 .hybrid-cloud { align-items:stretch; }
 .sec-track .diagram-node,.sec-external-track .diagram-node { min-height:96px; }
 .sec-hybrid-layout,.hybrid-cloud { grid-template-rows:repeat(2,minmax(99px,1fr)); }
 .sec-hybrid-layout .node-branch::after { height:calc(50% + 8px); }
}
@media(max-width:760px) {
 .sec-hybrid-layout .node-branch::before { width:7px; left:-7px; }
 .sec-hybrid-layout .node-gate::after { width:5px; }
}
@media(max-width:760px) {
 .story-window { display:flex; flex-direction:column; }
 .story-controls { order:1; border-top:0; border-bottom:1px solid #e6dad8; }
 .story-composition { order:2; }
 .story-progress { order:3; padding-top:5px; border-top:1px solid #e6dad8; }
}

.dialog-shift { animation:dialog-roll 235ms cubic-bezier(.23,.76,.28,1) both; }
.dialog-delayed { animation-delay:235ms; }
@keyframes dialog-roll { from { transform:translateY(var(--message-start,0px)); } to { transform:translateY(0); } }
.sales-story.story-paused .dialog-shift { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) { .dialog-shift { animation:none; } }

.story-rolling .sheet-in { animation-delay:330ms; }
.story-rolling .sheet-in .work-table tbody { animation-delay:500ms; }
.story-rolling .sheet-in :is(.note-use,.schedule-note) { animation-delay:615ms; }
