/* Interactive concept components: ecosystem, workflow demo, phone mockups */
.demo-badge { margin: 28px auto 0; max-width: 820px; text-align: center; font-size: .85rem; color: var(--muted-d); }
.demo-badge span { display: inline-block; font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 4px 10px; border-radius: 6px; margin: 0 8px 6px 0; }

/* ---------- phones ---------- */
.ph { margin: 0; width: 250px; flex: none; }
.ph figcaption { text-align: center; font: 500 .72rem var(--mono); color: var(--muted-d); margin-top: 14px; letter-spacing: .04em; }
.ph-frame { position: relative; aspect-ratio: 9 / 19; background: #0b0b0b; border: 2px solid #3a3a37; border-radius: 40px; padding: 9px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04) inset; }
.ph-and .ph-frame { border-radius: 30px; }
.ph-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; background: #000; border-radius: 99px; z-index: 3; }
.ph-punch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #000; border-radius: 50%; z-index: 3; }
.ph-screen { position: relative; height: 100%; background: #f4f4f7; border-radius: 31px; overflow: hidden; display: flex; flex-direction: column; color: #1c1c1e; font-size: 11px; line-height: 1.35; }
.ph-and .ph-screen { border-radius: 22px; }
.ph-status { display: flex; justify-content: space-between; padding: 12px 20px 4px; font-size: 10px; font-weight: 600; }
.ph-status span { letter-spacing: 1px; font-size: 8px; }
.ph-home { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; border-radius: 4px; background: #1c1c1e; opacity: .7; }
.ph-nav { position: absolute; bottom: 0; left: 0; right: 0; height: 18px; display: flex; justify-content: center; gap: 28px; align-items: center; background: #f4f4f7; }
.ph-nav i { width: 8px; height: 8px; border: 1.5px solid #555; border-radius: 2px; }
.s-head { padding: 8px 14px 6px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.s-head small { display: block; font-size: 10px; font-weight: 500; color: #6b6b70; letter-spacing: 0; margin-top: 1px; }
.s-body { padding: 4px 12px; flex: 1; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.s-row { background: #fff; border-radius: 10px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.s-row b { display: block; font-size: 11px; } .s-row small { color: #6b6b70; font-size: 9.5px; }
.s-chip { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #e8e8ed; color: #3a3a3c; white-space: nowrap; }
.s-chip.b { background: #dbe8ff; color: #1553b8; } .s-chip.a { background: #ffe9c7; color: #8a5200; } .s-chip.g { background: #d6f5e3; color: #11693c; }
.s-note { font-size: 9.5px; color: #6b6b70; text-align: center; padding: 4px 6px; }
.s-btn { background: #0a0a0a; color: #fff; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; font-size: 11.5px; }
.s-btn.alt { background: #fff; color: #1c1c1e; box-shadow: 0 1px 0 rgba(0,0,0,.08); } .s-btn.done { background: #11693c; }
.s-card { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; gap: 5px; box-shadow: 0 1px 0 rgba(0,0,0,.05); } .s-card small { color: #6b6b70; font-size: 9.5px; }
.s-chips { display: flex; gap: 5px; }
.s-prog { display: flex; gap: 4px; } .s-prog i { flex: 1; height: 5px; border-radius: 4px; background: #dcdce1; } .s-prog i.d { background: #11693c; }
.s-search { background: #e8e8ed; border-radius: 9px; padding: 8px 10px; color: #6b6b70; }
.s-days { display: flex; gap: 6px; } .s-days span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; background: #fff; font-weight: 600; } .s-days .on { background: #0a0a0a; color: #fff; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .s-tiles span { background: #fff; border-radius: 12px; padding: 18px 8px; text-align: center; font-weight: 600; font-size: 10.5px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.s-grid, .s-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pt { display: grid; align-items: end; aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden; background: linear-gradient(135deg, #b9c4cf, #8d9bab); font-style: normal; }
.pt::before { content: ""; position: absolute; left: 22%; right: 22%; top: 24%; bottom: 36%; border: 2px solid rgba(255,255,255,.55); border-radius: 3px; }
.pt small { position: relative; z-index: 1; font-size: 8px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 1px 5px; margin: 4px; border-radius: 4px; justify-self: start; }
.t2 { background: linear-gradient(135deg, #cdbfa8, #a18d6c); } .t3 { background: linear-gradient(135deg, #a9cdb9, #6e9d83); } .t4 { background: linear-gradient(135deg, #a8c0d8, #6c8fb4); } .t5 { background: linear-gradient(135deg, #d4b5b5, #a77e7e); } .t6 { background: linear-gradient(135deg, #c2b8d9, #8e82b4); }
.s-tabs { display: flex; justify-content: space-around; padding: 8px 6px 20px; background: #fff; border-top: 1px solid #e3e3e8; font-size: 9.5px; font-weight: 600; color: #636366; margin-top: auto; }
.s-tabs .on { color: #0a0a0a; }
.s-banner { margin: 2px 10px 0; background: #0a0a0a; color: #fff; border-radius: 11px; padding: 7px 11px; font-size: 10px; font-weight: 600; text-align: center; }
.s-empty { margin: auto; color: #636366; font-weight: 600; }

/* ---------- showcase ---------- */
.showcase { display: grid; gap: 40px; }
.app-types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.app-types button { font: 500 .92rem var(--font); padding: 11px 18px; border-radius: 99px; border: 1.5px solid var(--line-d); background: transparent; color: var(--text-d); cursor: pointer; transition: all .2s; min-height: 44px; }
.app-types button:hover { border-color: var(--yellow); color: #fff; }
.app-types button.is-on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 600; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.ph.side { transform: scale(.88); opacity: .78; transform-origin: bottom center; }
.ph.main { width: 280px; }
.ph-swap { animation: swapin .35s var(--ease); } @keyframes swapin { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 900px) { .ph.side { display: none; } }

/* ---------- ecosystem ---------- */
.eco-stage { position: relative; height: 640px; max-width: 1100px; margin: 0 auto; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eco-line { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-dasharray: 3 9; vector-effect: non-scaling-stroke; animation: ecoflow 1.6s linear infinite; transition: stroke .3s; }
.eco-line.is-active { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 9 9; }
@keyframes ecoflow { to { stroke-dashoffset: -36; } }
.eco-node { position: absolute; width: 300px; text-align: left; font: inherit; color: var(--text-d); background: var(--ink-3); border: 1.5px solid var(--line-d); border-radius: 16px; padding: 20px 22px; cursor: pointer; display: grid; gap: 8px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; z-index: 2; }
.eco-node:hover { border-color: rgba(255,212,0,.6); transform: translateY(-3px); }
.eco-node[aria-pressed="true"] { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,212,0,.14), 0 24px 50px -24px rgba(0,0,0,.9); }
.eco-k { font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.eco-t { font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.eco-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-chips i { font: 500 .74rem var(--font); font-style: normal; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.07); color: #d6d4cc; }
.eco-chips i.more { background: none; color: var(--muted-d); padding-left: 2px; }
.n-core { left: 50%; top: 50%; width: 330px; transform: translate(-50%, -50%); background: #1b1a14; border-color: rgba(255,212,0,.45); }
.n-core:hover { transform: translate(-50%, calc(-50% - 3px)); }
.n-app { left: 0; top: 0; } .n-portal { right: 0; top: 0; } .n-dash { left: 0; bottom: 0; } .n-int { right: 0; bottom: 0; }
.eco-detail { max-width: 860px; margin: 36px auto 0; background: var(--ink-3); border: 1px solid var(--line-d); border-radius: 16px; padding: clamp(22px, 4vw, 36px); }
.eco-detail h3 { color: #fff; font-size: 1.4rem; } .eco-detail p { color: var(--muted-d); }
.eco-detail .checklist { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin-top: 18px; }
@media (max-width: 960px) {
  .eco-stage { height: auto; display: grid; gap: 14px; } .eco-lines { display: none; }
  .eco-node, .n-core { position: relative; inset: auto; width: 100%; transform: none; } .n-core:hover { transform: none; } .n-core { order: -1; }
  .eco-node:not(.n-core)::before { content: ""; position: absolute; top: -14px; left: 32px; height: 14px; border-left: 2px dashed rgba(255,212,0,.5); }
  .eco-detail .checklist { grid-template-columns: 1fr; }
}

/* ---------- workflow demo ---------- */
.demo { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-steps button { width: 100%; text-align: left; font: inherit; color: var(--text-d); background: transparent; border: 1.5px solid var(--line-d); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; cursor: pointer; transition: all .25s var(--ease); }
.demo-steps button:hover { border-color: rgba(255,212,0,.5); }
.demo-steps button[aria-selected="true"] { background: var(--ink-3); border-color: var(--yellow); }
.demo-steps .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem var(--mono); background: rgba(255,255,255,.08); color: #fff; }
.demo-steps [aria-selected="true"] .num { background: var(--yellow); color: var(--ink); }
.demo-steps b { display: block; color: #fff; font-weight: 600; } .demo-steps small { display: none; color: var(--muted-d); font-size: .88rem; margin-top: 4px; line-height: 1.45; }
.demo-steps [aria-selected="true"] small { display: block; }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1.3fr) 34px 214px; grid-template-areas: "portal f1 dash f2 phone" "rail rail rail rail rail"; gap: 12px; align-items: center; }
.g-portal { grid-area: portal; } .f-portal { grid-area: f1; } .g-dash { grid-area: dash; } .f-phone { grid-area: f2; } .g-phone { grid-area: phone; } .g-rail { grid-area: rail; }
.demo [data-steps]:not(.is-on) { display: none; }
.demo:not(.js-demo) .demo-controls { display: none; }
.demo:not(.js-demo) .demo-steps small { display: block; }
.dv { background: #101010; border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden; font-size: 11.5px; color: #d8d6cf; min-height: 100%; }
.dv-body { padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 330px; }
.dv-title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #fff; font-size: 12.5px; }
.pf { display: grid; gap: 6px; } .pf label { color: #8d8b84; font-size: 10px; } .pf-in { background: #171715; border: 1px solid var(--line-d); border-radius: 7px; padding: 8px 9px; color: #f0eee7; }
.pf-btn { background: var(--yellow); color: var(--ink); font-weight: 700; text-align: center; padding: 9px; border-radius: 8px; margin-top: 4px; }
.pf-btn.is-press { animation: press 1.4s ease-in-out infinite; } @keyframes press { 50% { transform: scale(.96); box-shadow: 0 0 0 6px rgba(255,212,0,.2); } }
.ticket { background: #171715; border: 1px solid var(--line-d); border-radius: 10px; padding: 11px; display: grid; gap: 6px; } .ticket small { color: #8d8b84; }
.prog { display: flex; gap: 4px; } .prog i { flex: 1; height: 5px; border-radius: 4px; background: #2b2b28; transition: background .4s; }
[data-step="2"] .prog i:nth-child(-n+1), [data-step="3"] .prog i:nth-child(-n+2), [data-step="4"] .prog i:nth-child(-n+3), [data-step="5"] .prog i { background: var(--green); }
.ticket-photos small { color: #8d8b84; } .ticket-photos .s-grid3 { margin-top: 6px; } .ticket-doc { background: rgba(63,178,127,.12); color: #8fe0b8; border-radius: 8px; padding: 8px 10px; }
.wo { width: 100%; border-collapse: collapse; } .wo th { text-align: left; color: #8d8b84; font: 600 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 4px; }
.wo td { padding: 8px 4px; border-top: 1px solid var(--line-d); vertical-align: middle; } .wo td small { display: block; color: #8d8b84; }
.wo tr.new { animation: rowin .5s var(--ease); background: rgba(255,212,0,.06); } @keyframes rowin { from { opacity: 0; transform: translateX(-10px); } }
.toast { background: rgba(63,178,127,.14); color: #8fe0b8; border-radius: 8px; padding: 8px 10px; font-weight: 600; animation: rowin .5s var(--ease); }
.demo-ph.ph { width: 214px; } .demo-ph .ph-frame { border-radius: 34px; } .demo-ph .ph-screen { border-radius: 26px; font-size: 10.5px; } .demo-ph .s-head { font-size: 16px; }
.pop { animation: pop .5s var(--ease); display: contents; } .pop .pt { animation: pop .5s var(--ease); } @keyframes pop { from { transform: scale(.6); opacity: 0; } }
.flow { height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px); position: relative; }
.flow.is-active { background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, transparent 6px 12px); animation: flowmove .7s linear infinite; }
.flow::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 7px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; color: rgba(255,255,255,.25); }
.flow.is-active::after { color: var(--yellow); } .flow.rev::after { right: auto; left: -2px; border-left: 0; border-right: 7px solid currentColor; }
@keyframes flowmove { to { background-position: 12px 0; } }
.rail { display: grid; grid-template-columns: 1fr 70px 1.3fr 70px 1fr; align-items: center; gap: 8px; background: #101010; border: 1px solid var(--line-d); border-radius: 14px; padding: 14px 16px; }
.rn { background: var(--ink-3); border: 1px solid var(--line-d); border-radius: 10px; padding: 10px 12px; text-align: center; } .rn b { display: block; color: #fff; font-size: .9rem; } .rn small { color: var(--muted-d); font-size: .78rem; }
.rn.core { border-color: rgba(255,212,0,.5); }
.demo-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.demo-caption { flex: 1; min-width: 200px; margin: 0; color: var(--muted-d); font-size: .95rem; }
.demo-controls .btn { padding: 12px 18px; min-height: 46px; font-size: .92rem; }
.demo-stage[data-step] .g-portal, .demo-stage .g-dash, .demo-stage .g-phone { transition: opacity .3s, transform .3s; }
@media (max-width: 1100px) { .demo { grid-template-columns: 1fr; } .demo-steps { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 8px; } .demo-steps small { display: none !important; } .demo:not(.js-demo) .demo-steps small { display: block !important; } }
@media (max-width: 860px) {
  .demo-stage { grid-template-columns: 1fr; grid-template-areas: "portal" "f1" "dash" "f2" "phone" "rail"; justify-items: stretch; }
  .g-phone { display: grid; justify-items: center; } .flow { width: 3px; height: 26px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px); }
  .flow.is-active { background: repeating-linear-gradient(180deg, var(--yellow) 0 6px, transparent 6px 12px); } .flow::after { display: none; }
  .rail { grid-template-columns: 1fr; } .rail .flow { margin: 0 auto; }
}

/* ---------- guidance & affordances ---------- */
.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-right: 10px; flex: none; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,212,0,.6); } 100% { box-shadow: 0 0 0 12px rgba(255,212,0,0); } }
.eco-hint, .demo-hint { display: flex; align-items: center; justify-content: center; text-align: left; margin: 0 auto 26px; max-width: 760px; color: var(--text-d); font-size: .98rem; }
.demo-hint { justify-content: flex-start; margin: 0 0 16px; color: var(--muted-d); } .demo-hint b { color: #fff; }
.eco-open { font: 600 .78rem var(--mono); color: var(--yellow); opacity: .75; margin-top: 2px; transition: opacity .2s, transform .2s; }
.eco-node:hover .eco-open, .eco-node[aria-pressed="true"] .eco-open { opacity: 1; transform: translateX(3px); }
.dv-tag { position: absolute; top: 10px; right: 10px; z-index: 4; font: 600 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 3px 8px; border-radius: 99px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.dv, .rail, .ph-frame { position: relative; }
.just { animation: justpulse 1.8s var(--ease); }
.just > .dv-tag { opacity: 1; transform: none; animation: tagout 1.8s forwards; }
@keyframes justpulse { 0%, 40% { box-shadow: 0 0 0 3px var(--yellow), 0 0 40px rgba(255,212,0,.35); } 100% { box-shadow: none; } }
@keyframes tagout { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .just > .dv-tag { opacity: 1; animation: none; } .pulse { animation: none; } }

/* ---------- CRM concept demo ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crm { max-width: 1120px; margin: 0 auto; }
.crm-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.crm-ind { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .crm-ind > span { font: 500 .78rem var(--mono); color: var(--muted-d); margin-right: 4px; }
.crm-ind button { font-weight: 500; font-size: .88rem; font-family: inherit; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-d); background: transparent; color: var(--text-d); cursor: pointer; }
.crm-ind button.is-on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.crm-ind button:hover:not(.is-on) { border-color: #fff; }
.crm-tools { display: flex; gap: 8px; } .crm-tools .btn { padding: 8px 14px; font-size: .88rem; }
.crm-app { background: #f4f4f1; color: #1c1c1e; border-radius: 14px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); min-height: 560px; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.crm-kpis > div { background: #fff; border: 1px solid #e3e1d8; border-radius: 10px; padding: 10px 14px; min-width: 0; }
.crm-kpis small { display: block; font-size: .72rem; color: #5b5b57; } .crm-kpis b { font-size: 1.35rem; }
.crm-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.crm-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.crm-col { background: #e9e8e2; border-radius: 10px; padding: 8px; min-width: 0; min-height: 120px; }
.crm-col h3 { font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #46463f; margin: 2px 4px 8px; display: flex; justify-content: space-between; }
.crm-card { display: block; width: 100%; text-align: left; background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 9px 10px; margin-bottom: 8px; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.crm-card:hover { border-color: #c9c7bb; } .crm-card.is-sel { border-color: #0A0A0A; box-shadow: 0 0 0 3px var(--yellow); }
.crm-card b { display: block; font-size: .86rem; overflow-wrap: anywhere; } .crm-card small { display: block; font-size: .74rem; color: #5b5b57; margin: 2px 0 6px; overflow-wrap: anywhere; }
.crm-card span { font: 600 .78rem var(--mono); } .crm-due { font-style: normal; font: 600 .66rem var(--mono); background: #ffe9c7; color: #7a4800; padding: 1px 6px; border-radius: 99px; margin-left: 4px; }
.crm-empty { font-size: .76rem; color: #5b5b57; text-align: center; padding: 14px 0; }
.crm-panel { background: #fff; border: 1px solid #e3e1d8; border-radius: 10px; padding: 16px; min-width: 0; position: sticky; top: 90px; }
.crm-panel h3 { margin: 0 0 4px; font-size: 1.05rem; } .crm-what { margin: 0 0 10px; font-size: .88rem; color: #3a3a37; } .crm-stage small { color: #5b5b57; margin-right: 6px; }
.crm-panel .s-chip { font-size: .72rem; padding: 3px 9px; background: #dbe8ff; color: #1553b8; }
.crm-log { list-style: none; margin: 14px 0; padding: 0 0 0 14px; border-left: 2px solid #e3e1d8; font-size: .8rem; color: #3a3a37; }
.crm-log li { margin-bottom: 8px; } .crm-log li:last-child { font-weight: 600; color: #1c1c1e; }
.crm-actions { display: flex; flex-direction: column; gap: 8px; } .crm-actions .btn { justify-content: center; }
.crm-actions .btn-ghost { color: #1c1c1e; border-color: #c9c7bb; } .crm-actions .btn-ghost:hover { border-color: #1c1c1e; background: #f4f4f1; }
.crm-done { margin: 0; font-weight: 600; color: #146c3a; font-size: .9rem; }
@media (max-width: 960px) { .crm-main { grid-template-columns: minmax(0, 1fr); } .crm-panel { position: static; } .crm-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .crm-app { min-height: 0; } }
@media (max-width: 520px) { .crm-kpis b { font-size: 1.05rem; } .crm-board { grid-template-columns: minmax(0, 1fr); } }
.crm-panel h3 { color: #1c1c1e; }
.crm-card span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; } .crm-due { margin-left: 0; white-space: nowrap; }

/* CRM demo: phone app + connected tools */
.crm-connected { margin-top: 56px; }
.crm-conn-head { max-width: 680px; margin-bottom: 28px; } .crm-conn-head h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; margin: 6px 0 10px; } .crm-conn-head p { color: var(--muted-d); margin: 0; }
.crm-conn-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; }
.crm-ph { margin: 0; } .crm-phone { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.crm-ph .s-body { overflow: auto; }
.crm-prow { border: 2px solid transparent; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; } .crm-prow.on { border-color: #0a0a0a; }
.crm-pbtn { border: 0; width: 100%; margin-top: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.crm-int h4 { color: #fff; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; } .crm-int h4 small { color: var(--muted-d); font-weight: 400; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.crm-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 28px; }
.crm-tool { border: 1px solid var(--line-d); border-radius: 10px; padding: 12px 14px; background: rgba(255,255,255,.03); min-width: 0; }
.crm-tool b { display: block; color: #fff; font-size: .95rem; } .crm-tool small { display: flex; align-items: center; gap: 6px; color: var(--muted-d); font-size: .78rem; margin-top: 4px; }
.crm-tool small i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.crm-feed { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; min-height: 120px; }
.crm-feed li { display: flex; gap: 10px; align-items: baseline; border: 1px solid var(--line-d); border-radius: 10px; padding: 10px 14px; font-size: .9rem; color: var(--text-d); background: rgba(255,255,255,.03); }
.crm-feed li span { flex: none; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); background: var(--yellow); padding: 2px 8px; border-radius: 99px; }
.crm-feed .crm-feed-empty { color: var(--muted-d); display: block; }
.crm-fine { color: var(--muted-d); font-size: .8rem; margin: 0; }
@keyframes crmflash { from { box-shadow: 0 0 0 3px var(--yellow); } to { box-shadow: 0 0 0 3px transparent; } }
.crm-flash { animation: crmflash 1.4s ease-out; }
@media (prefers-reduced-motion: reduce) { .crm-flash { animation: none; } }
@media (max-width: 900px) { .crm-conn-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; } .crm-int { width: 100%; justify-self: stretch; } }
