/* Product showcase on the landing page (SITE2.2, owner 2026-09-28: 「聚焦在内容部分…营销用处不是功能培训」).
   Content-only panels floating on a soft brand backdrop: no app chrome, no tutorial. Values follow
   the app where a panel shows app content (primary #337ab7, Open Sans, status colours) and the
   landing site elsewhere. No app code is imported. Only loaded by the home page. */
.showcase{padding:110px 0 100px;background:var(--paper)}
.showcase-head{max-width:760px;margin-bottom:56px}
.showcase-head .eyebrow{color:var(--blue)}
.showcase-head h2{font-size:clamp(34px,3.6vw,52px);margin-bottom:18px}
.showcase-head .section-lead{margin:0;font-size:18px}
.num{font-variant-numeric:tabular-nums}

.show{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:56px;align-items:center}

/* Tabs: headline list with a quiet progress rule */
.show-tabs{display:flex;flex-direction:column}
.show-tab{position:relative;display:grid;text-align:left;border:0;background:none;padding:18px 0 18px 24px;cursor:pointer;color:var(--ink);font:inherit}
.show-tab:before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--line)}
.show-tab-kicker{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);transition:color .25s}
.show-tab-title{font-size:18px;font-weight:700;line-height:1.35;letter-spacing:-.01em;margin-top:4px;color:#6b7a88;transition:color .25s}
.show-tab-line{font-size:15px;line-height:1.55;color:var(--muted);max-height:0;opacity:0;overflow:hidden;transition:opacity .3s ease,margin .3s ease}
.show-tab[aria-selected="true"] .show-tab-kicker{color:var(--blue)}
.show-tab[aria-selected="true"] .show-tab-title{color:var(--ink)}
.show-tab[aria-selected="true"] .show-tab-line{max-height:none;opacity:1;margin-top:8px}
.show-tab:hover .show-tab-title{color:var(--ink)}
.show-tab:focus-visible{outline:2px solid #72baff;outline-offset:4px;border-radius:4px}
.show-tab-progress{position:absolute;left:0;top:0;bottom:0;width:2px;overflow:hidden}
.show-tab-progress i{position:absolute;inset:0;background:var(--blue);transform:scaleY(0);transform-origin:top}
.show-tab[aria-selected="true"] .show-tab-progress i{transform:scaleY(1)}
.show-tab-progress i.run{animation:show-progress 7s linear forwards}
.show.is-paused .show-tab-progress i.run{animation-play-state:paused}
@keyframes show-progress{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* Stage: soft layered backdrop */
.show-stage{position:relative;height:600px;border-radius:28px;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(80% 70% at 100% 0%,rgba(51,122,183,.20),transparent 60%),
    radial-gradient(70% 70% at 0% 100%,rgba(128,185,231,.28),transparent 62%),
    linear-gradient(155deg,#f5f8fc 0%,#e8f0f8 100%);
  box-shadow:inset 0 0 0 1px rgba(15,35,56,.06)}
.show-stage:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.5;
  background-image:radial-gradient(rgba(15,35,56,.09) 1px,transparent 1px);background-size:22px 22px;
  mask-image:radial-gradient(75% 75% at 50% 50%,#000,transparent)}
.show-scene{display:none;position:absolute;inset:0}
.show-scene.is-active{display:block}
.show-caption{display:none}
.show-canvas{position:relative;height:100%;display:flex;align-items:center;justify-content:center;padding:48px}
.show-scene.is-active .show-canvas>.panel{animation:scene-in .5s cubic-bezier(.2,.7,.2,1) both}
.show-scene.is-active .show-canvas>.panel-float{animation-delay:.12s}
@keyframes scene-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.show-dots{display:none}

/* Panels */
.panel{position:relative;background:#fff;border:1px solid rgba(15,35,56,.08);border-radius:16px;color:#1f2d3a;font-size:13px;line-height:1.5;
  box-shadow:0 1px 1px rgba(15,35,56,.04),0 3px 8px rgba(15,35,56,.05),0 20px 44px -14px rgba(15,35,56,.20),0 48px 90px -48px rgba(15,35,56,.30)}
.panel p{margin:0}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.panel-kicker{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#66737f}
.panel-title{font-size:16px;font-weight:700;letter-spacing:-.01em;color:#0f2338}
.panel-meta{font-size:12px;color:#66737f;border:1px solid #e3e8ee;border-radius:999px;padding:2px 10px}
.pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;background:#f1f4f7;color:#51606e;white-space:nowrap}
.pill.success{background:#ecf8ee;color:#2f8a3e}
.btn-primary{height:36px;padding:0 18px;border:0;border-radius:9px;background:#337ab7;color:#fff;font:inherit;font-weight:700;font-size:13px;cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(15,35,56,.2),0 6px 14px -6px rgba(51,122,183,.6);transition:background .2s,transform .2s}
.btn-primary:hover{background:#2b6aa1;transform:translateY(-1px)}
.panel-actions{display:flex;justify-content:flex-end;margin-top:18px}

/* Floating glass chips */
.panel-float{position:absolute;z-index:2;min-width:210px;padding:16px 18px;border-radius:14px;background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid rgba(255,255,255,.9);
  box-shadow:0 1px 2px rgba(15,35,56,.06),0 16px 36px -12px rgba(15,35,56,.28)}
.float-br{right:28px;bottom:28px}
.float-bl{left:28px;bottom:32px}
.float-tl{left:28px;top:32px}
.float-tr{right:28px;top:32px}
.float-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#66737f;margin-bottom:4px!important}
.float-value{font-size:22px;font-weight:700;letter-spacing:-.02em;color:#0f2338}
.float-strong{font-size:15px;font-weight:700;color:#0f2338}
.float-sub{font-size:12px;color:#6b7a88;margin-top:2px!important}

/* 1. Board */
.panel-board{width:min(100%,720px);padding:20px}
.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.board-col{background:#f5f7fa;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.board-col-name{font-size:12px;font-weight:700;color:#0f2338;display:flex;justify-content:space-between}
.board-prob{font-weight:600;color:#66737f}
.board-col-sum{font-size:13px;color:#51606e;margin-bottom:6px!important}
.board-cards{display:flex;flex-direction:column;gap:8px;min-height:120px;border-radius:10px;transition:background .2s,box-shadow .2s}
.board-cards.is-over{background:rgba(51,122,183,.08);box-shadow:inset 0 0 0 1px rgba(51,122,183,.35)}
.board-card{background:#fff;border:1px solid #e6ebf0;border-radius:10px;padding:10px 12px;cursor:grab;transition:transform .2s,box-shadow .2s,border-color .2s}
.board-card:hover{transform:translateY(-2px);border-color:#d3dde7;box-shadow:0 8px 18px -10px rgba(15,35,56,.3)}
.board-card.is-dragging{opacity:.4}
.board-card.is-featured{border-color:rgba(51,122,183,.45);box-shadow:0 0 0 3px rgba(51,122,183,.10)}
.board-card-title{font-size:13px;font-weight:700;color:#1f2d3a;line-height:1.35}
.board-card-sub{font-size:12px;color:#66737f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board-card-amt{font-size:12.5px;font-weight:600;color:#1f2d3a;margin-top:6px!important}

/* 2. Quotation */
.panel-doc{width:min(100%,540px);padding:26px 28px}
.kv{display:grid;grid-template-columns:repeat(3,auto);gap:12px 28px;margin:0 0 18px;justify-content:start}
.kv dt{font-size:11px;color:#66737f;text-transform:uppercase;letter-spacing:.08em}
.kv dd{margin:2px 0 0;font-weight:600}
.lines{width:100%;border-collapse:collapse}
.lines th{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#66737f;text-align:left;padding:0 0 8px}
.lines td{padding:9px 0;border-top:1px solid #eef1f4}
.lines .num{text-align:right;padding-left:14px}
.totals{margin:14px 0 0 auto;width:min(100%,260px)}
.totals div{display:flex;justify-content:space-between;padding:3px 0;color:#51606e}
.totals dd{margin:0}
.totals .grand{border-top:1px solid #e3e8ee;margin-top:6px;padding-top:9px;color:#0f2338;font-weight:700;font-size:15px}

.seg{display:inline-flex;padding:3px;border-radius:10px;background:#eef2f6;margin:4px 0 10px}
.seg-btn{border:0;background:none;height:28px;padding:0 14px;border-radius:8px;font:inherit;font-size:12.5px;font-weight:600;color:#51606e;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.seg-btn.is-on{background:#fff;color:#0f2338;box-shadow:0 1px 2px rgba(15,35,56,.12),0 2px 6px -2px rgba(15,35,56,.15)}
.seg-btn:focus-visible,.btn-primary:focus-visible{outline:2px solid #72baff;outline-offset:2px}

@media(prefers-reduced-motion:reduce){
  .show-tab-progress i.run{animation:none}
  .show-scene.is-active .show-canvas>.panel{animation:none}
  .show-tab-line,.board-card,.btn-primary,.seg-btn{transition:none}
}

@media(max-width:1100px){
  .show{grid-template-columns:1fr;gap:28px}
  .show-tabs{flex-direction:row;overflow-x:auto;gap:4px;scrollbar-width:none}
  .show-tab{flex:1 0 180px;padding:16px 12px 12px;border:0}
  .show-tab:before,.show-tab-progress{top:0;bottom:auto;left:0;right:0;width:auto;height:2px}
  .show-tab-progress i{transform:scaleX(0);transform-origin:left}
  .show-tab[aria-selected="true"] .show-tab-progress i{transform:scaleX(1)}
  .show-tab-progress i.run{animation-name:show-progress-x}
  .show-tab-title{font-size:15px}
  .show-tab-line{display:none}
}
@keyframes show-progress-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Phone: one scene at a time, swipe between them */
@media(max-width:760px){
  .showcase{padding:70px 0 60px}
  .showcase-head{margin-bottom:28px}
  .showcase-head .section-lead{font-size:16px}
  .show-tabs{display:none}
  .show-stage{height:auto;background:none;box-shadow:none;border-radius:0;overflow-x:auto;overflow-y:hidden;display:flex;gap:14px;scroll-snap-type:x mandatory;margin:0 calc(var(--pad) * -1);padding:4px var(--pad) 8px;scroll-padding-inline:var(--pad);scrollbar-width:none;align-items:flex-start}
  .show-stage::-webkit-scrollbar{display:none}
  .show-stage:before{display:none}
  .show-scene,.show-scene.is-active{display:flex;flex-direction:column;position:relative;inset:auto;flex:0 0 88%;scroll-snap-align:start}
  .show-caption{display:grid;gap:4px;margin-bottom:14px}
  .show-caption .show-tab-kicker{color:var(--blue)}
  .show-caption .show-tab-title{color:var(--ink);font-size:18px;margin:0}
  .show-caption .show-tab-line{max-height:none;opacity:1;font-size:14px}
  .show-canvas{flex:none;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;padding:16px;border-radius:20px;
    background:radial-gradient(90% 60% at 100% 0%,rgba(51,122,183,.18),transparent 60%),linear-gradient(160deg,#f5f8fc,#e8f0f8);box-shadow:inset 0 0 0 1px rgba(15,35,56,.06)}
  .show-scene.is-active .show-canvas>.panel{animation:none}
  .panel{font-size:12px}
  .panel-float{position:relative;inset:auto;min-width:0;padding:12px 14px}
  .float-value{font-size:18px}
  .panel-board{padding:12px}
  .board{grid-template-columns:1fr;gap:8px}
  .board-col{padding:8px}
  .board-col-name{font-size:11.5px}
  .board-col-sum{font-size:11.5px;margin-bottom:2px!important}
  .board-cards{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-height:0}
  .board-card{padding:7px 9px}
  .board-card-title{font-size:11.5px}
  .board-card-sub{display:none}
  .board-card-amt{font-size:11px;margin-top:2px!important}
  .panel-doc,.panel-forecast,.panel-stages{padding:18px}
  .kv{grid-template-columns:1fr 1fr}
  .show-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
  .show-dots i{width:7px;height:7px;border-radius:50%;background:#cfd9e3;transition:background .2s,width .2s}
  .show-dots i.is-on{width:20px;border-radius:4px;background:var(--blue)}
}

.trust-head .eyebrow{color:var(--blue)}
.trust-head h2{font-size:clamp(34px,3.6vw,52px);margin-bottom:18px}

.trust-head .section-lead{margin:0;font-size:18px}

/* Security and control */
.trust{background:var(--soft)}
.trust-head{max-width:760px;margin-bottom:48px}
.trust-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.trust-card{position:relative;background:#fff;border:1px solid rgba(15,35,56,.08);border-radius:18px;padding:26px 26px 24px;overflow:hidden;box-shadow:0 1px 2px rgba(15,35,56,.04),0 14px 30px -22px rgba(15,35,56,.25)}
.trust-card:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#337ab7,#9fcdf1)}
.trust-card h3{font-size:18px;margin:4px 0 8px}
.trust-card p{margin:0;color:var(--muted);font-size:15px}
.trust-note{max-width:760px;margin:24px 0 0;font-size:13px;line-height:1.7;color:var(--muted);text-wrap:pretty}
.trust-note a{color:#285f91;text-decoration:underline;text-underline-offset:3px}

/* Staggered reveal on scroll (armed by demo.js; nothing hidden without it or with reduced motion) */
[data-reveal].is-armed>*{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
[data-reveal].is-armed.is-in>*{opacity:1;transform:none}
[data-reveal].is-in>*:nth-child(2){transition-delay:.07s}
[data-reveal].is-in>*:nth-child(3){transition-delay:.14s}
[data-reveal].is-in>*:nth-child(4){transition-delay:.21s}
[data-reveal].is-in>*:nth-child(5){transition-delay:.28s}
[data-reveal].is-in>*:nth-child(6){transition-delay:.35s}

@media(max-width:1100px){.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:760px){.trust-grid{grid-template-columns:1fr}.trust-head{margin-bottom:28px}}

/* The whole journey as a cycle around the customer (SITE2.4, owner 2026-09-28) */
.journey2{background:#fff}
.journey2-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center}
.journey2 .eyebrow{color:var(--blue)}
.journey2 h2{font-size:clamp(34px,3.4vw,50px);margin-bottom:18px}
.journey2 .section-lead{margin:0 0 28px;font-size:17px}
.loops{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.loop{display:flex;gap:14px;align-items:flex-start;width:100%;text-align:left;border:1px solid transparent;background:none;border-radius:14px;padding:12px 14px;cursor:pointer;font:inherit;color:var(--ink);transition:background .25s,border-color .25s}
.loop:hover,.loop.is-on{background:#f3f7fb;border-color:#e3ebf3}
.loop:focus-visible{outline:2px solid #72baff;outline-offset:2px}
.loop-dot{flex:none;width:10px;height:10px;border-radius:50%;margin-top:7px;background:var(--c,#337ab7);box-shadow:0 0 0 4px color-mix(in srgb,var(--c,#337ab7) 18%,transparent)}
.loop[data-loop="1"]{--c:#337ab7}.loop[data-loop="2"]{--c:#2f9a6a}.loop[data-loop="3"]{--c:#d9822b}.loop[data-loop="4"]{--c:#7a5cc7}
.loop-text{display:grid;gap:2px}
.loop-title{font-weight:700;font-size:16px}
.loop-line{font-size:14.5px;color:var(--muted);line-height:1.55}

.cycle{position:relative;width:min(100%,560px);aspect-ratio:1;margin-inline:auto;
  background:radial-gradient(closest-side,rgba(51,122,183,.10),transparent 70%),radial-gradient(circle at 50% 50%,#f6f9fc 0 60%,transparent 61%)}
.cycle-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cycle-svg *{fill:none;vector-effect:non-scaling-stroke}
.cycle-ring{stroke:#dfe7ef;stroke-width:2}
.cycle-flow{stroke:#9fc3e4;stroke-width:2;stroke-dasharray:2 10;stroke-linecap:round;animation:cycle-flow 14s linear infinite}
@keyframes cycle-flow{to{stroke-dashoffset:-240}}
.cycle-arc,.cycle-link{stroke:transparent;stroke-width:3;stroke-linecap:round;transition:stroke .3s}
.cycle-link{stroke:#e3eaf1;stroke-width:1.5;stroke-dasharray:4 5}
.c-node,.c-sat,.c-hub{position:absolute;transform:translate(-50%,-50%);transition:opacity .3s,box-shadow .3s,border-color .3s,transform .3s}
.c-node{padding:9px 14px;border-radius:12px;background:#fff;border:1px solid rgba(15,35,56,.1);font-weight:700;font-size:14px;color:#0f2338;white-space:nowrap;
  box-shadow:0 1px 2px rgba(15,35,56,.05),0 10px 24px -14px rgba(15,35,56,.35)}
.c-lead{left:50%;top:12%}.c-opp{left:82.9%;top:31%}.c-quote{left:82.9%;top:69%}.c-inv{left:50%;top:88%}.c-pay{left:17.1%;top:69%}.c-stmt{left:17.1%;top:31%}
.c-hub{left:50%;top:50%;width:26%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px;
  background:radial-gradient(circle at 35% 30%,#1d4a73,#0f2338);color:#fff;box-shadow:0 20px 40px -18px rgba(15,35,56,.6),0 0 0 8px rgba(51,122,183,.08)}
.c-hub-title{font-weight:700;font-size:16px}
.c-hub-sub{font-size:11px;color:#b9c9d8;line-height:1.35;margin-top:4px}
.c-sat{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:#fff;border:1px dashed #cfdae5;color:#51606e}
/* Highlighting a loop */
.cycle[data-active] .c-node,.cycle[data-active] .c-sat{opacity:.35}
.cycle[data-active] .on{opacity:1!important;border-color:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 18%,transparent),0 12px 26px -14px rgba(15,35,56,.4)}
.cycle[data-active] .c-hub.on{box-shadow:0 20px 40px -18px rgba(15,35,56,.6),0 0 0 8px color-mix(in srgb,var(--c) 25%,transparent)}
.cycle[data-active] .cycle-arc.on{stroke:var(--c)}
.cycle[data-active] .cycle-link.on{stroke:var(--c);stroke-width:2}
.cycle[data-active="1"]{--c:#337ab7}.cycle[data-active="2"]{--c:#2f9a6a}.cycle[data-active="3"]{--c:#d9822b}.cycle[data-active="4"]{--c:#7a5cc7}
@media(prefers-reduced-motion:reduce){.cycle-flow{animation:none}.c-node,.c-sat,.c-hub,.cycle-arc,.cycle-link,.loop{transition:none}}
@media(max-width:1000px){.journey2-wrap{grid-template-columns:1fr;gap:36px}}
@media(max-width:760px){.c-node{padding:6px 9px;font-size:11.5px;border-radius:9px}.c-sat{font-size:10px;padding:3px 7px}.c-hub-title{font-size:13px}.c-hub-sub{font-size:9px}.c-hub{width:30%}}

/* Sales scenes (SITE2.6): forecast, stages and types */
.panel-forecast{width:min(100%,600px);padding:22px 24px}
.fc-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:end;height:120px;padding:0 6px;border-bottom:1px solid #e3e8ee}
.fc-col{display:flex;gap:5px;align-items:flex-end;justify-content:center;height:100%}
.fc-bar{display:block;width:18px;border-radius:5px 5px 0 0}
.fc-exp{background:#dbe7f3}
.fc-w{background:linear-gradient(180deg,#4a90c9,#337ab7)}
.b1{height:85%}.b2{height:89%}.b3{height:100%}.b4{height:26%}
.w1{height:64%}.w2{height:57%}.w3{height:31%}.w4{height:5%}
.fc-legend{list-style:none;margin:10px 0 12px;padding:0;display:flex;gap:16px;font-size:12px;color:#51606e}
.fc-legend li{display:flex;align-items:center;gap:6px}
.fc-legend i{display:inline-block;width:10px;height:10px;border-radius:3px}
.fc-table{font-size:12px}
.fc-table tfoot .grand td{border-top:1.5px solid #0f2338;font-weight:700;color:#0f2338}
.panel-stages{width:min(100%,440px);padding:22px 24px}
.stages{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.stages li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e6ebf0;border-radius:10px;background:#fff}
.stage-name{font-weight:600;flex:1}
.stage-prob{font-weight:700;color:#337ab7;background:#eef4fa;border-radius:6px;padding:2px 8px}
.stage-grip{width:10px;height:14px;background:radial-gradient(circle,#b5c0cb 1.2px,transparent 1.6px) 0 0/5px 5px}
.stage-fixed{background:#f7f9fb!important;color:#6b7a88}
.stage-lock{position:relative;width:10px;height:9px;border-radius:2px;background:#b5c0cb;margin-top:4px}
.stage-lock:before{content:'';position:absolute;left:2px;top:-5px;width:6px;height:6px;border:1.5px solid #b5c0cb;border-bottom:0;border-radius:4px 4px 0 0}
.type-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 6px!important}
.pill.warn{background:#fff4e5;color:#b86a12}

/* Quote to cash, built in (SITE2.6): one compact band */
.q2c{background:var(--soft);padding-block:90px}
.q2c-head{max-width:760px;margin-bottom:36px}
.q2c-head .eyebrow{color:var(--blue)}
.q2c-head h2{font-size:clamp(30px,3vw,42px);margin-bottom:14px}
.q2c-head .section-lead{margin:0;font-size:17px}
.q2c-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.q2c-list li{background:#fff;border:1px solid rgba(15,35,56,.08);border-radius:14px;padding:18px;display:grid;gap:6px;font-size:14px;color:var(--muted);line-height:1.5}
.q2c-title{font-weight:700;color:var(--ink);font-size:15px}
@media(max-width:1100px){.q2c-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.q2c{padding-block:60px}.q2c-list{grid-template-columns:1fr 1fr}.fc-bars{height:90px;gap:10px}.fc-bar{width:12px}.fc-table th,.fc-table td{padding-left:6px}}

/* Showcase progress bar (SITE2.7): a thin bar under the active headline fills for its dwell
   time, then the next slide opens; on phones one bar under the dots. Paused = frozen. */
.show-tab[aria-selected="true"]:before{background:var(--blue)}
.show-tab-progress{position:relative;display:block;top:auto;bottom:auto;left:auto;right:auto;width:100%;height:3px;margin-top:12px;border-radius:2px;background:#e6ecf2;overflow:hidden}
.show-tab[aria-selected="false"] .show-tab-progress{display:none}
.show-tab-progress i{position:absolute;inset:0;background:var(--blue);transform:scaleX(0);transform-origin:left;border-radius:2px}
.show-tab[aria-selected="true"] .show-tab-progress i{transform:scaleX(0)}
.show-tab-progress i.run,.show-progress i.run{animation:show-progress-x 6.5s linear forwards}
.show.is-paused .show-tab-progress i.run,.show.is-paused .show-progress i.run{animation-play-state:paused}
.show-progress{display:none}
@media(max-width:1100px){.show-tab-progress{margin-top:8px}}
@media(max-width:760px){.show-progress{display:block;position:relative;width:132px;height:3px;margin:10px auto 0;border-radius:2px;background:#e1e8ef;overflow:hidden}
.show-progress i{position:absolute;inset:0;background:var(--blue);transform:scaleX(0);transform-origin:left;border-radius:2px}}
@media(prefers-reduced-motion:reduce){.show-tab-progress,.show-progress{display:none}.show-tab-progress i.run,.show-progress i.run{animation:none}}

/* SITE2.12: the sales showcase as an interactive mini-prototype */
.show-stage{height:680px}
.show-canvas{padding:36px}
.panel-board{width:min(100%,760px);padding:18px 18px 16px}
.board-head{align-items:center;margin-bottom:10px;flex-wrap:wrap}
.board-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{border:1px solid #e1e7ee;background:#fff;color:#51606e;border-radius:999px;height:28px;padding:0 12px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.chip:hover{border-color:#b9cfe3;color:#0f2338}
.chip.is-on{background:#0f2338;border-color:#0f2338;color:#fff}
.btn-ghost{border:1px dashed #b9cfe3;background:#f7fafd;color:#337ab7;border-radius:999px;height:28px;padding:0 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.btn-ghost:hover{background:#eef5fb}
.btn-ghost.sm,.btn-primary.sm{height:30px;padding:0 12px;font-size:12px}
.chip:focus-visible,.btn-ghost:focus-visible,.icon-btn:focus-visible,.card-more:focus-visible,.board-card:focus-visible,.link-btn:focus-visible,.sort-btn:focus-visible,.fc-col:focus-visible,tr[data-ct]:focus-visible{outline:2px solid #72baff;outline-offset:2px}
.new-deal{display:flex;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.new-deal[hidden]{display:none}
.nd-input,.dr-input,.q-input{height:30px;border:1px solid #dfe5eb;border-radius:8px;padding:0 10px;font:inherit;font-size:12.5px;color:#0f2338;background:#fff;min-width:0}
.nd-input{flex:1 1 160px}
.nd-amount{flex:0 1 130px;text-align:right}
.nd-input:focus,.dr-input:focus,.q-input:focus{outline:none;border-color:#4a90c9;box-shadow:0 0 0 3px rgba(51,122,183,.15)}
.is-invalid{border-color:#d9534f!important}
.try-hint{margin:0 0 10px!important;font-size:12px;color:#337ab7;display:flex;align-items:center;gap:6px;transition:opacity .5s,max-height .5s,margin .5s;max-height:80px;overflow:hidden}
.try-hint:before{content:'';width:6px;height:6px;border-radius:50%;background:#337ab7;box-shadow:0 0 0 4px rgba(51,122,183,.15);flex:none}
.try-hint.is-gone{opacity:0;max-height:0;margin:0!important}
.board-col{padding:10px}
.board-col-head{padding:2px 2px 4px}
.board-col-name{justify-content:flex-start;gap:6px;align-items:center}
.board-count{display:inline-flex;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fff;font-size:11px;align-items:center;justify-content:center;color:#51606e}
.board-col-sum{margin-bottom:0!important;font-weight:700;color:#0f2338}
.board-col-w{margin:0 0 4px!important;font-size:11px;color:#66737f}
.board-cards{min-height:90px;flex:1 1 auto}
.board-card{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.board-card:active{cursor:grabbing}
.board-card-foot{display:flex;align-items:center;gap:8px;margin-top:6px!important;font-size:12px;font-weight:600;color:#1f2d3a}
.board-card-prob{font-size:11px;font-weight:700;color:#337ab7;background:#eef4fa;border-radius:6px;padding:0 6px}
.av{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#337ab7;color:#fff;font-size:9px;font-weight:700}
.card-more{position:absolute;top:6px;right:6px;width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#6f7c88;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s,background .2s}
.card-more svg{width:14px;height:14px;fill:currentColor}
.board-card:hover .card-more,.board-card:focus-within .card-more,.card-more:focus-visible{opacity:1}
.card-more:hover{background:#eef2f6;color:#0f2338}
.board-card.is-new{border-color:rgba(47,138,62,.35)}
.board-card.is-dragging{opacity:.35}
.board-card.is-dropped{animation:card-drop .35s cubic-bezier(.2,.8,.2,1)}
@keyframes card-drop{from{transform:scale(.96);box-shadow:0 0 0 4px rgba(51,122,183,.25)}to{transform:none}}
.drag-ghost{position:fixed;z-index:1000;margin:0;pointer-events:none;cursor:grabbing;box-shadow:0 18px 40px -12px rgba(15,35,56,.45);opacity:.96}
.board-cards.is-over,.board-won.is-over{background:rgba(51,122,183,.08);box-shadow:inset 0 0 0 1.5px rgba(51,122,183,.45)}
.board-closed{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}@media(max-width:760px){.board-closed{grid-template-columns:1fr;gap:8px}}.board-won{border:1px dashed #c9d8e6;border-radius:12px;padding:8px 12px;background:#fbfdff;transition:background .2s,box-shadow .2s}
.won-head{display:flex;align-items:center;gap:8px;margin:0!important;font-size:12px;color:#51606e}
.won-head strong{color:#2f8a3e}.board-lost .won-head strong{color:#b03a3a}
.won-sum{margin-left:auto;font-weight:700;color:#0f2338}
.won-list{display:flex;gap:6px;flex-wrap:wrap}
.won-list:not(:empty){margin-top:6px}
.board-card.is-won,.board-card.is-lost{padding:4px 10px;cursor:default;touch-action:auto}
.board-card.is-won .board-card-sub,.board-card.is-won .card-more,.board-card.is-won .board-card-prob,.board-card.is-won .av,.board-card.is-lost .board-card-sub,.board-card.is-lost .card-more,.board-card.is-lost .board-card-prob,.board-card.is-lost .av{display:none}
.board-card.is-won .board-card-foot,.board-card.is-lost .board-card-foot{margin:0!important}
.board-card.is-won .board-card-title,.board-card.is-lost .board-card-title{font-size:11.5px}
.board-card.is-won,.board-card.is-lost{display:flex;gap:8px;align-items:center}.board-card.is-lost{opacity:.75}
.move-menu{position:absolute;z-index:6;width:210px;background:#fff;border:1px solid #e3e8ee;border-radius:12px;padding:8px;box-shadow:0 18px 40px -16px rgba(15,35,56,.35)}
.move-menu[hidden]{display:none}
.move-title{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#66737f;margin:0 0 6px!important}
.move-options{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.deal-drawer{position:absolute;z-index:5;top:10px;right:10px;bottom:10px;width:min(300px,calc(100% - 20px));background:#fff;border:1px solid #e3e8ee;border-radius:14px;padding:16px;box-shadow:-12px 0 40px -18px rgba(15,35,56,.35);display:flex;flex-direction:column;gap:12px;overflow:auto;animation:drawer-in .3s cubic-bezier(.2,.8,.2,1)}
.deal-drawer[hidden]{display:none}
@keyframes drawer-in{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
.drawer-head{display:flex;justify-content:space-between;gap:10px}
.drawer-kicker{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#66737f}
.drawer-title{font-size:15px;font-weight:700;color:#0f2338}
.drawer-sub{font-size:12px;color:#66737f}
.icon-btn{flex:none;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#6b7a88;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.icon-btn:hover{background:#eef2f6;color:#0f2338}
.icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-btn.sm{width:22px;height:22px}
.dr-field{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:#66737f}
.dr-field strong{font-size:16px;color:#0f2338}
.dr-input{height:34px;font-size:14px;text-align:right}
.dr-prob{display:flex;align-items:center;gap:10px;color:#0f2338;font-weight:700}
.dr-prob input{flex:1;accent-color:#337ab7}
.dr-stages{display:flex;flex-wrap:wrap;gap:6px}
.dr-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:10px;border-top:1px solid #eef1f4}
.dr-meta div{display:flex;flex-direction:column;gap:2px;font-size:11.5px;color:#66737f}
.dr-meta strong{font-size:13px;color:#0f2338}

/* Forecast */
.panel-forecast{width:min(100%,620px)}
.fc-head{align-items:flex-start;flex-wrap:wrap}
.fc-controls{display:flex;gap:8px;flex-wrap:wrap}
.fc-controls .seg{margin:0}
.fc-chart{position:relative;margin:4px 0 12px}
.fc-group{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:14px;align-items:end;height:170px;border-bottom:1px solid #e3e8ee;padding:0 6px}
.fc-group[hidden]{display:none}
.fc-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;border:0;background:none;font:inherit;cursor:pointer;padding:0}
.fc-val{font-size:11px;font-weight:700;color:#0f2338}
.fc-track{position:relative;display:flex;align-items:flex-end;width:34px;height:110px}
.fc-track i{display:block;width:100%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#4a90c9,#337ab7);transition:height .45s cubic-bezier(.2,.8,.2,1)}
.fc-col:hover .fc-track i{filter:brightness(1.08)}
.fc-lab{font-size:11px;color:#6b7a88;white-space:nowrap;padding-bottom:4px}
.fc-tip{position:absolute;top:-6px;z-index:3;display:flex;flex-direction:column;gap:2px;width:170px;padding:8px 10px;border-radius:10px;background:#0f2338;color:#dbe6f0;font-size:11.5px;box-shadow:0 10px 24px -10px rgba(15,35,56,.5);pointer-events:none}
.fc-tip[hidden]{display:none}
.fc-tip strong{color:#fff}
.fc-tip span{display:flex;justify-content:space-between;gap:10px}
.fc-note{font-size:11.5px;color:#66737f;margin-top:8px!important}

/* Your process */
.panel-stages{width:min(100%,520px)}
.stages .stage{display:grid;grid-template-columns:auto 1fr 110px 40px auto;align-items:center;gap:10px}
.stages-fixed{margin-top:8px!important}
.stages-fixed .stage{grid-template-columns:auto 1fr}
.stage-grip{cursor:grab;touch-action:none;width:14px;height:18px}
.stage.is-dragging{box-shadow:0 12px 26px -12px rgba(15,35,56,.4);border-color:#b9cfe3}
.stage-name[contenteditable]{border-radius:6px;padding:2px 6px;margin:-2px -6px;outline:none;cursor:text;min-width:40px}
.stage-name[contenteditable]:hover{background:#f3f6f9}
.stage-name[contenteditable]:focus{background:#fff;box-shadow:0 0 0 2px rgba(51,122,183,.35)}
.stages input[type=range]{width:100%;accent-color:#337ab7}
.stage-move{display:flex;gap:2px}

/* Contracts */
.sort-btn{display:inline-flex;align-items:center;gap:4px;border:0;background:none;font:inherit;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#66737f;cursor:pointer;padding:0}
.sort-btn svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}
.sort-btn.is-desc svg{transform:scaleY(-1)}
.pill.muted{background:#f1f4f7;color:#66737f}
.link-btn{border:0;background:none;padding:0;font:inherit;color:#337ab7;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}

/* Quotation */
.q-lines th:nth-child(2),.q-lines th:nth-child(3){text-align:right}
.q-input{width:92px;text-align:right}
.q-qty{width:52px}
.q-input:disabled{background:transparent;border-color:transparent;color:#1f2d3a}
.q-toast{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:10px 12px;border-radius:12px;background:#ecf8ee;color:#1f5f2c;font-size:12.5px;animation:drawer-in .3s cubic-bezier(.2,.8,.2,1)}
.q-toast[hidden],[data-q-toast-ask][hidden],[data-q-toast-done][hidden],.q-toast .btn-primary[hidden],.panel-actions .btn-primary[hidden],.pill[hidden]{display:none}
.q-actions{align-items:center;flex-wrap:wrap;gap:10px}
.q-pdf-status{flex:1;min-width:0;font-size:12px;line-height:1.5;color:#526b80}
.q-pdf-status:has([data-q-pdf-done]:not([hidden])){color:#26733a}
.q-pdf-status [data-q-pdf-working]:before{content:'';display:inline-block;vertical-align:-2px;width:12px;height:12px;margin-right:7px;border:2px solid #cfdfeb;border-top-color:#337ab7;border-radius:50%;animation:q-pdf-spin .8s linear infinite}
.q-pdf-status [hidden],.q-pdf-result[hidden],.q-pdf-preview[hidden],[data-q-pdf-toggle] [hidden]{display:none}
.q-actions .btn-primary:disabled{opacity:.6;cursor:progress}
.q-pdf-result{margin-top:12px;padding:12px;border:1px solid #dce6ef;border-radius:12px;background:#f5f8fb}
.q-pdf-file{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.q-pdf-icon{position:relative;display:block;width:32px;height:40px;flex:none;color:#527d9f}
.q-pdf-icon svg{width:32px;height:40px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.q-pdf-icon>span{position:absolute;left:0;bottom:3px;padding:0 3px;border-radius:3px;background:#527d9f;color:#fff;font-size:8px;line-height:14px;letter-spacing:.06em;font-weight:700}
.q-pdf-file-info{flex:1 1 130px;min-width:0}
.q-pdf-file-info strong{display:block;font-size:12px;overflow-wrap:anywhere}
.q-pdf-file-info>span{display:block;margin-top:2px;color:#66737f;font-size:11px;line-height:1.5}
.q-pdf-file .btn-ghost{margin-left:auto;min-height:36px}
.q-pdf-preview{margin-top:12px;padding:16px;background:#fff;border:1px solid #e1e7ec;border-radius:5px;box-shadow:0 4px 14px -10px rgba(15,35,56,.3)}
.q-pdf-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:14px;border-bottom:2px solid #337ab7}
.q-pdf-sheet-head>div{min-width:0;display:grid;gap:3px}
.q-pdf-sheet-head strong{font-size:15px;overflow-wrap:anywhere}
.q-pdf-sheet-head>div>span{font-size:11px;color:#66737f}
.q-pdf-preview .kv{grid-template-columns:1fr;margin-bottom:14px}
.q-pdf-preview .kv>div{display:grid;grid-template-columns:minmax(70px,.4fr) minmax(0,1fr);gap:8px}
.q-pdf-preview .kv dd{margin-top:0}
.q-pdf-preview .lines{font-size:11px}
.q-pdf-preview .totals{width:min(100%,230px)}
.q-pdf-note{margin:8px 0 0!important;font-size:10px;line-height:1.6;color:#66737f}
@keyframes q-pdf-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.q-pdf-status [data-q-pdf-working]:before{animation:none}}

@media(prefers-reduced-motion:reduce){.board-card.is-dropped,.deal-drawer,.q-toast{animation:none}.fc-track i,.try-hint{transition:none}}
@media(max-width:1100px){.show-stage{height:720px}}
@media(max-width:760px){
  .show-stage{height:auto}
  .panel-board{padding:12px}
  .board-tools{width:100%}
  .board-cards{display:flex;flex-direction:column;min-height:48px}
  .card-more{opacity:1}
  .deal-drawer{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:70vh;z-index:60}
  .move-menu{position:fixed;left:12px!important;right:12px;top:auto!important;bottom:12px;width:auto;z-index:60}
  .fc-group{height:150px;gap:8px}
  .fc-track{width:22px;height:90px}
  .stages .stage{grid-template-columns:auto 1fr 70px 34px;row-gap:6px}
  .stage-move{grid-column:1/-1;justify-content:flex-end}
  .q-input{width:78px}
  .q-qty{width:42px}
}

/* SITE2.15: contrast — small text on tinted backgrounds meets 4.5:1 */
.btn-ghost,.board-card-prob,.stage-prob{color:#285f91}
.board-col-w,.fc-lab,.fc-note,.board-card-sub{color:#66737f}
.won-head strong,.pill.success{color:#26733a}
.stage-fixed,.pill.muted{color:#5d6b78}
.pill.warn{color:#8f530e}
.q2c-head .eyebrow,.trust-head .eyebrow,.showcase-head .eyebrow,.journey2 .eyebrow,.beta .eyebrow,.faq .eyebrow{color:#285f91}

/* SITE2.16: the demo reset is an icon in the showcase block's top-right corner */
.show{position:relative}
.demo-reset-btn{position:absolute;top:14px;right:14px;z-index:4;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(15,35,56,.08);border-radius:50%;background:rgba(255,255,255,.85);color:#5d6b78;cursor:pointer;box-shadow:0 2px 8px -4px rgba(15,35,56,.3);transition:background .2s,color .2s}
.demo-reset-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.demo-reset-btn:hover{background:#fff;color:#0f2338}
.demo-reset-btn:focus-visible{outline:2px solid #72baff;outline-offset:2px}
@media(max-width:760px){.show-stage{position:static}.demo-reset-btn{top:-4px;right:0}}

/* SITE2.18 option A — tonal bands (owner 2026-09-28, replacing the SITE2.17 canvases): full-bleed
   sections alternate between white and a very light blue-grey in page order — What you can ask
   (tint), Sales (white), Journey (tint), Features (white), Security (tint), Beta (white), FAQ
   (tint) — share one vertical rhythm, and each opens with its eyebrow and heading. Cards are
   white on a tinted band and lightly tinted on a white one, so no two neighbours share a tone. */
main#main>section.journey2,main#main>section.trust,main#main>section.faq{background:#f5f8fb}
main#main>section.showcase,main#main>section.features,main#main>section.beta{background:#fff}
main#main>section.showcase,main#main>section.journey2,main#main>section.features,main#main>section.trust,main#main>section.beta,main#main>section.faq{padding-block:112px;border-top:1px solid rgba(15,35,56,.05)}
.features .details{border-top:0}
.journey2 .loop:hover,.journey2 .loop.is-on{background:#fff;border-color:#e3ebf3}
.beta-points{background:#f5f8fb;border-color:rgba(15,35,56,.08)}
@media(max-width:760px){main#main>section.showcase,main#main>section.journey2,main#main>section.features,main#main>section.trust,main#main>section.beta,main#main>section.faq{padding-block:72px}}

/* SITE2.17: team collaboration and permissions, two cards (SITE2.18: flat tinted cards on the white features band) */
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:8px 0 56px}
.team-card{background:#f5f8fb;border:1px solid rgba(15,35,56,.06);border-radius:18px;padding:28px 28px 22px}
.team-card .eyebrow{margin-bottom:8px;color:#285f91}
.team-card h3{font-size:clamp(22px,2vw,28px);margin:0 0 14px}
.team-card ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.team-card li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.55;color:var(--ink)}
.team-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#fff;border:1px solid rgba(15,35,56,.06);color:#285f91}
.team-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.team-grid{grid-template-columns:1fr}}
@media(max-width:760px){.team-card{padding:22px 18px 18px}.team-grid{margin-bottom:32px}}

/* Documents live in the journey diagram rather than a second process strip.
   Solid nodes follow the sales cycle; dashed nodes are related records, not required steps. */
/* Balance localised headings so short words and CJK characters are not stranded on a last line. */
.showcase-head h2,.aichat-head h2,.journey2 h2,.features h2,.features h3,.trust h2,.beta h2,.faq h2,.closing h2{text-wrap:balance}
.journey2-visual{min-width:0}
.cycle button{font-family:inherit;cursor:pointer;min-height:44px;text-align:center}
.cycle button:focus-visible{outline:3px solid #337ab7;outline-offset:4px;opacity:1}
.cycle .c-node{width:max-content;max-width:29%;white-space:normal;line-height:1.35}
.cycle .c-sat{border-radius:10px;width:24%;white-space:normal;line-height:1.35;padding:9px 10px;display:grid;justify-items:center;gap:3px}
.cycle .c-po{left:88%;top:50%}
.cycle .c-do{left:82.9%;top:88%}
.cycle .c-credit{left:17.1%;top:88%}
.cycle[data-active] .c-node,.cycle[data-active] .c-sat{opacity:.65}
.cycle button.is-selected{border:2px solid var(--c,#337ab7);background:#edf5fc}
.cycle-hint{text-align:center;font-size:12px;line-height:1.6;color:var(--muted);margin:14px 0}
.cycle-detail{max-width:560px;min-height:220px;margin:0 auto;padding:22px 26px;border-left:3px solid #337ab7;border-radius:0 12px 12px 0;background:rgba(255,255,255,.85)}
.cycle-detail h3{font-size:18px;line-height:1.4;margin:0 0 8px}
.cycle-detail p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.cycle-detail p+p{margin-top:10px}
.cycle-billing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:16px 0 0}
.cycle-billing li{position:relative;display:grid;place-items:center;padding:10px 8px;border:1px solid #dce3e8;border-radius:8px;background:#f3f7fb;font-size:12px;line-height:1.45;font-weight:700;text-align:center;overflow-wrap:break-word}
.cycle-billing li+li:before{content:'→';position:absolute;left:-14px;color:#5d6b78;font-weight:400}
@media(max-width:760px){.cycle .c-sat{font-size:10px;padding:6px;max-width:24%}.cycle .c-node{font-size:11px;padding:7px;max-width:28%}.cycle .c-hub{width:27%}.cycle .c-hub-sub{font-size:8px}.cycle-detail{min-height:244px;padding:20px}}

/* SITE2.20: the floating context cards (weighted forecast, opportunity type, the quotation's
   opportunity) sit below the main panel at the bottom-left of the showcase block instead of on
   top of it, so they never cover a status tag, total, button or the reset icon, at any width
   or language. The stage is tall enough for the tallest panel plus its card. */
.show-canvas{flex-direction:column;justify-content:center;align-items:center;gap:14px}
.show-canvas>.panel-float{position:relative;inset:auto;align-self:flex-start;flex:none}
.show-stage{height:740px}
@media(max-width:760px){.show-stage{height:auto}}

/* Let translated labels grow without covering their neighbours or hiding a result. */
.show-tabs,.show-scene,.show-canvas>.panel,.panel-head>div,.board-col,.board-card,.loop-text,.team-card li>span:last-child{min-width:0}
.panel-head,.board-col-name,.board-card-foot,.won-head,.fc-legend{flex-wrap:wrap}
.panel-float{max-width:100%}
.board-card-sub{white-space:normal;overflow:visible;text-overflow:clip}
.board-card-title{padding-right:16px}
.board-card-foot .av,.board-count,.board-prob{flex-shrink:0}
.pill,.chip,.btn-ghost,.btn-primary,.seg-btn{height:auto;min-height:30px;line-height:1.4;padding-block:5px;white-space:normal;max-width:100%;overflow-wrap:break-word}
.pill{min-height:24px}
.btn-primary{min-height:36px}
.btn-ghost.sm,.btn-primary.sm{height:auto;min-height:30px;padding-block:5px}
.seg{flex-wrap:wrap}
.try-hint{max-height:none;transition:opacity .2s ease}
.try-hint.is-gone{max-height:none;margin:0 0 10px!important;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s}
.kv{grid-template-columns:repeat(3,minmax(0,1fr))}
.kv dd,.stage-name{overflow-wrap:break-word}
.totals div{gap:12px}
.totals dd{flex-shrink:0;white-space:nowrap}

.demo-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.demo-table-scroll:focus-visible{outline:2px solid #72baff;outline-offset:3px}
.demo-table-scroll .lines{min-width:360px}
.demo-table-scroll .num{white-space:nowrap}
@media(min-width:761px){
  /* An active scene participates in layout, so long translations and open forms set its height. */
  .show-stage{display:grid;height:auto;min-height:740px}
  .show-scene{position:relative;inset:auto;grid-area:1/1;min-width:0}
  .show-canvas{height:auto;min-height:100%;padding-top:54px}
}
@media(max-width:760px){
  .kv{grid-template-columns:repeat(2,minmax(0,1fr))}
  .show-caption{padding-right:32px}
  .show-caption .show-tab-line{display:block}
  .show-canvas{height:auto}
}
@media(max-width:540px){
  /* Preserve all ten document choices without squeezing long labels into an absolute-positioned ring. */
  .cycle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;aspect-ratio:auto;padding:8px 0;background:none}
  .cycle-svg{display:none}
  .cycle .c-node,.cycle .c-sat,.cycle .c-hub{position:static;transform:none;width:auto;max-width:none;min-width:0}
  .cycle .c-node,.cycle .c-sat{padding:12px;font-size:13px;line-height:1.5;overflow-wrap:break-word}
  .cycle .c-hub{order:-1;grid-column:1/-1;aspect-ratio:auto;padding:18px;border-radius:14px;margin-bottom:8px}
  .cycle .c-hub-title{font-size:16px}
  .cycle .c-hub-sub{font-size:12px}
  .cycle-billing{grid-template-columns:1fr;gap:20px}
  .cycle-billing li+li:before{content:'↓';left:50%;top:-22px;transform:translateX(-50%)}
}
/* The accepted quotation goes on to an invoice and its payment (owner 2026-10-22); the two documents share the scene. */
.show-canvas>.panel[hidden]{display:none}
.inv-lines .totals{margin-top:10px}
.totals.inv-pay{margin-top:2px}
.totals.inv-pay div:first-child{padding-top:0}
[data-inv-done][hidden],[data-q-invoice] [hidden],.panel-actions .btn-ghost[hidden]{display:none}
/* Opportunities are in the Professional and Business plans; the two scenes that show them say so, small, in a corner
   (owner 2026-10-22: 太明显了，找个边角用小号字体). */
.show-plan{position:absolute;left:28px;bottom:-22px;margin:0;font-size:11px;line-height:1.4;color:#8a96a3}
@media(max-width:760px){.show-plan{position:static;order:9;align-self:flex-start;margin:0 2px}}
