:root{--ink:#172438;--muted:#66758a;--line:#e2e7ec;--paper:#f7f8f9;--white:#fff;--blue:#2557cc;--navy:#132139;--green:#267659;--soft-blue:#edf3ff}
*{box-sizing:border-box}html{background:var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.45}button,input{font:inherit}button{color:inherit}.app-shell{min-height:100dvh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;background:var(--navy);color:#dce5f2;padding:28px 20px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-weight:700;font-size:17px;margin:0 8px 42px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#fff;color:var(--navy);font-weight:800}.side-label{margin:0 10px 10px;color:#8190a7;text-transform:uppercase;font-size:11px;letter-spacing:.8px}.sidebar nav{display:grid;gap:5px}.nav-item{min-height:46px;border:0;border-radius:10px;background:transparent;color:#aebbd0;padding:0 12px;text-align:left;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.nav-item:hover,.nav-item.active{background:#20304a;color:#fff}.nav-item b{display:grid;place-items:center;min-width:23px;height:23px;border-radius:7px;background:#2b3c56;font-size:12px}.help-box{margin-top:auto;background:#1c2b43;border-radius:12px;padding:17px}.help-box strong{display:block;color:#fff;font-size:13px}.help-box p{color:#9facbf;font-size:12px;margin:7px 0 13px}.help-box button{border:0;background:transparent;color:#fff;padding:0;text-decoration:underline;text-underline-offset:3px;font-size:12px;cursor:pointer}.profile{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;border-top:1px solid #2a3950;margin-top:20px;padding:20px 6px 0}.profile strong,.profile small{display:block}.profile strong{color:#fff;font-size:12px}.profile small{color:#8695aa;font-size:10px;margin-top:2px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:10px}.avatar.dark{background:#315b9c;color:#fff}
.workspace{min-width:0}.topbar{height:70px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:5;backdrop-filter:blur(10px)}.mobile-brand{display:none;align-items:center;gap:9px;font-weight:700}.room-status{display:flex;align-items:center;gap:8px;color:#617086;font-size:12px}.room-status span{width:9px;height:9px;border-radius:50%;background:var(--green)}.share,.focus-card>button{border:0;border-radius:9px;background:var(--blue);color:#fff;min-height:40px;padding:0 17px;font-weight:600;font-size:13px;cursor:pointer}.share:active,.focus-card>button:active{transform:translateY(1px)}
.content{max-width:1080px;margin:0 auto;padding:52px 42px 70px}.welcome{padding-bottom:34px}.welcome>p{color:var(--blue);font-size:13px;font-weight:600;margin:0 0 10px}.welcome h1{font-size:42px;letter-spacing:-1.5px;line-height:1.08;margin:0 0 17px}.welcome-summary{display:flex;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:15px}.welcome-summary span:first-child:after{content:"";display:inline-block;width:4px;height:4px;background:#acb6c2;border-radius:50%;margin:0 0 3px 10px}
.focus-card{background:var(--soft-blue);border:1px solid #dbe6fa;border-radius:14px;padding:25px;display:grid;grid-template-columns:43px 1fr auto;gap:17px;align-items:center}.focus-number{width:43px;height:43px;border-radius:12px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:700}.focus-copy p{margin:0 0 4px;color:var(--blue);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.focus-copy h2{font-size:18px;margin:0 0 5px}.focus-copy span{color:var(--muted);font-size:12px}.focus-card>button{white-space:nowrap}
.journey{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;margin-top:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-head h2{font-size:17px;margin:0 0 4px}.section-head p{margin:0;color:var(--muted);font-size:12px}.section-head>strong{font-size:15px;color:var(--blue)}.steps{list-style:none;margin:25px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);position:relative}.steps:before{content:"";position:absolute;left:18px;right:18px;top:18px;height:2px;background:#e6eaf0}.steps li{position:relative;z-index:1}.steps li:not(:first-child){display:flex;justify-content:center}.steps li:last-child{justify-content:flex-end}.steps li>span{width:37px;height:37px;border-radius:50%;background:#fff;border:2px solid #dbe1e8;display:grid;place-items:center;color:#7f8c9e;font-size:12px;flex:0 0 auto}.steps li.complete>span{background:var(--green);border-color:var(--green);color:#fff}.steps li.current>span{background:#fff;border-color:var(--blue);color:var(--blue);box-shadow:0 0 0 5px #edf3ff}.steps li{gap:10px;align-items:center}.steps strong,.steps small{display:block}.steps strong{font-size:11px}.steps small{font-size:10px;color:#8a96a6;margin-top:2px}.steps .current small{color:var(--blue);font-weight:600}
.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:42px}.plain-section{min-width:0}.simple-list{margin-top:14px;border-top:1px solid var(--line)}.simple-list button{width:100%;min-height:72px;border:0;border-bottom:1px solid var(--line);background:transparent;padding:13px 2px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}.simple-list button:hover{background:#fff}.simple-list button>span:nth-child(2){min-width:0;flex:1}.simple-list strong,.simple-list small{display:block}.simple-list strong{font-size:13px}.simple-list small{color:var(--muted);font-size:11px;margin-top:4px}.check{width:23px;height:23px;border:2px solid #bdc7d2;border-radius:7px;display:grid;place-items:center;color:#fff;flex:0 0 auto}.simple-task.done .check{background:var(--blue);border-color:var(--blue)}.simple-task.done strong{text-decoration:line-through;color:#7f8b99}.quiet-button{border:1px solid #cfd7e0;background:#fff;border-radius:8px;min-height:35px;padding:0 11px;font-size:11px;font-weight:600;cursor:pointer}.doc-label{width:36px;height:42px;border-radius:7px;background:#e9eef7;color:#415e8a;display:grid!important;place-items:center;font-size:9px;font-weight:700;flex:0 0 auto}.files em{font-style:normal;font-size:10px;color:#778496}.files em.ready{color:var(--green)}.files em.attention{color:#9b5f18;background:#fff3df;padding:5px 7px;border-radius:7px}
.history{margin-top:38px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:12px}.history summary{color:var(--blue);font-weight:600;cursor:pointer}.history div{padding:10px 0 0 17px}.history p{margin:9px 0}.history strong{color:var(--ink)}
.modal-backdrop{position:fixed;inset:0;background:rgba(13,24,41,.48);z-index:20;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal{width:min(420px,100%);background:#fff;border-radius:15px;padding:31px;text-align:center;position:relative}.modal .focus-number{margin:0 auto 16px}.modal h2{margin:0 0 7px}.modal p{margin:0 0 20px;color:var(--muted);font-size:13px}.modal-close{position:absolute;right:14px;top:11px;border:0;background:transparent;font-size:24px;color:#7d8998;cursor:pointer}.file-choice{border:1px dashed #b9c4d1;border-radius:11px;padding:22px;display:flex;flex-direction:column;cursor:pointer}.file-choice input{display:none}.file-choice strong{color:var(--blue);font-size:13px}.file-choice small{color:#8793a3;font-size:11px;margin-top:5px}.toast{position:fixed;right:24px;bottom:24px;z-index:30;background:var(--navy);color:#fff;border-radius:10px;padding:13px 17px;font-size:12px;box-shadow:0 14px 36px rgba(13,26,45,.22);animation:toast-in .2s ease both}@keyframes toast-in{from{opacity:0;transform:translateY(7px)}}
@media(max-width:920px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-brand{display:flex}.content{padding:40px 24px 60px}.topbar{padding:0 24px}.lower-grid{grid-template-columns:1fr}}
@media(max-width:650px){.topbar{height:64px}.room-status{display:none}.share{font-size:11px;padding:0 12px}.content{padding:31px 15px 50px}.welcome h1{font-size:34px}.welcome-summary{display:block}.welcome-summary span{display:block;margin-top:5px}.welcome-summary span:first-child:after{display:none}.focus-card{grid-template-columns:43px 1fr;padding:20px}.focus-card>button{grid-column:1/-1;width:100%}.journey{padding:20px}.steps{grid-template-columns:1fr;gap:17px}.steps:before{left:18px;right:auto;top:18px;bottom:18px;width:2px;height:auto}.steps li,.steps li:not(:first-child),.steps li:last-child{justify-content:flex-start}.lower-grid{gap:37px;margin-top:37px}.toast{left:15px;right:15px;text-align:center}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:651px){.steps:before{left:12.5%;right:12.5%}.steps li,.steps li:not(:first-child),.steps li:last-child{display:grid;grid-template-rows:37px auto;justify-content:stretch;justify-items:center;align-items:start;gap:10px;text-align:center}.steps li>span{grid-row:1}.steps li>div{grid-row:2}}
@media(max-width:650px){.steps li,.steps li:not(:first-child),.steps li:last-child{display:flex;justify-content:flex-start;align-items:center;text-align:left}}
.stage-explorer{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;margin-top:20px}.stage-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:28px;margin-top:22px;min-height:350px}.stage-menu{border-right:1px solid var(--line);padding-right:20px;display:grid;align-content:start;gap:7px}.stage-menu button{width:100%;border:0;background:transparent;border-radius:10px;padding:13px 12px;display:grid;grid-template-columns:34px 1fr 16px;gap:11px;align-items:center;text-align:left;cursor:pointer}.stage-menu button:hover{background:#f6f8fa}.stage-menu button.selected{background:var(--soft-blue)}.stage-index{width:32px;height:32px;border:2px solid #cdd5df;border-radius:50%;display:grid;place-items:center;color:#6f7d90;font-size:11px}.stage-menu .finished .stage-index{background:var(--green);border-color:var(--green);color:#fff}.stage-menu .selected:not(.finished) .stage-index{border-color:var(--blue);color:var(--blue);background:#fff}.stage-menu strong,.stage-menu small{display:block}.stage-menu strong{font-size:13px}.stage-menu small{font-size:10px;color:var(--muted);margin-top:2px}.stage-menu i{font-style:normal;color:var(--blue)}.stage-detail{padding:7px 7px 7px 2px;display:flex;flex-direction:column;align-items:flex-start}.detail-status{color:#637086;background:#f0f3f6;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:600}.detail-status.now{background:#e8f6f0;color:var(--green)}.stage-detail h3{font-size:24px;letter-spacing:-.5px;margin:16px 0 8px}.stage-detail>p{color:var(--muted);font-size:13px;max-width:580px;margin:0;line-height:1.6}.detail-facts{width:100%;margin:24px 0 22px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-facts div{padding:17px 18px 17px 0}.detail-facts div+div{border-left:1px solid var(--line);padding-left:18px}.detail-facts span,.detail-facts strong{display:block}.detail-facts span{color:#8390a1;font-size:10px;margin-bottom:6px}.detail-facts strong{font-size:12px;line-height:1.45}.stage-detail>button{margin-top:auto;min-height:39px;border:0;border-radius:9px;background:var(--blue);color:#fff;padding:0 16px;font-weight:600;font-size:12px;cursor:pointer}.stage-detail>button:disabled{background:#edf0f3;color:#8995a4;cursor:default}
@media(max-width:760px){.stage-explorer{padding:20px}.stage-layout{grid-template-columns:1fr;gap:20px}.stage-menu{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px}.stage-menu button{grid-template-columns:34px 1fr 16px}.stage-detail{padding:0}.detail-facts{grid-template-columns:1fr}.detail-facts div+div{border-left:0;border-top:1px solid var(--line);padding-left:0}.stage-detail>button{width:100%;margin-top:2px}}
.app-shell{grid-template-columns:1fr}.topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:24px}.top-brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}.top-brand .brand-mark{background:var(--navy);color:#fff}.top-user{display:flex;align-items:center;justify-content:flex-end;gap:15px}.user-button{border:0;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;padding:3px;cursor:pointer}.user-button strong,.user-button small{display:block}.user-button strong{font-size:11px}.user-button small{color:var(--muted);font-size:9px;margin-top:2px}
@media(max-width:760px){.topbar{grid-template-columns:1fr auto;padding:0 16px}.room-status{display:none}.top-user{gap:8px}.user-button>span:last-child{display:none}.top-brand{font-size:14px}.share{font-size:0;width:39px;padding:0}.share:after{content:"+";font-size:20px}.content{padding-top:30px}}
.full-workspace{height:100dvh;display:grid;grid-template-rows:70px minmax(0,1fr);overflow:hidden}.fullscreen-explorer{margin:0;border:0;border-radius:0;padding:32px 42px 36px;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.explorer-head h1{font-size:25px;letter-spacing:-.6px;margin:0 0 5px}.fullscreen-explorer .stage-layout{min-height:0;height:100%;grid-template-columns:320px minmax(0,1fr);gap:38px;margin-top:25px}.fullscreen-explorer .stage-menu{overflow-y:auto;padding-right:24px}.stage-menu .utility-first{margin-top:auto;border-top:1px solid var(--line);border-radius:0;padding-top:20px}.stage-menu .utility-first.selected{border-radius:10px}.fullscreen-explorer .stage-detail{padding:18px 22px 12px 6px;overflow-y:auto}.stage-detail h2{font-size:32px;letter-spacing:-.8px;margin:18px 0 10px}.fullscreen-explorer .stage-detail>p{font-size:15px;max-width:720px}.fullscreen-explorer .detail-facts{margin-top:30px}.detail-list{width:100%;max-width:760px;margin:28px 0 24px;border-top:1px solid var(--line)}.detail-list button{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;min-height:72px;display:flex;align-items:center;gap:13px;text-align:left;padding:12px 4px;cursor:pointer}.detail-list button:hover{background:#f8f9fb}.detail-list strong,.detail-list small{display:block}.detail-list strong{font-size:13px}.detail-list small{font-size:11px;color:var(--muted);margin-top:4px}
@media(max-width:760px){.full-workspace{height:auto;min-height:100dvh;overflow:visible;grid-template-rows:64px auto}.fullscreen-explorer{padding:24px 15px 35px;display:block}.fullscreen-explorer .stage-layout{grid-template-columns:1fr;height:auto;margin-top:20px}.fullscreen-explorer .stage-menu{overflow:visible;padding:0 0 18px}.stage-menu .utility-first{margin-top:10px}.fullscreen-explorer .stage-detail{padding:4px 0;overflow:visible}.stage-detail h2{font-size:25px}.explorer-head h1{font-size:22px}}
.fullscreen-explorer .stage-detail{width:100%;min-width:0}.fullscreen-explorer .detail-list{width:100%;max-width:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;border-top:0}.fullscreen-explorer .detail-list button{min-height:118px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px;align-items:flex-start}.fullscreen-explorer .detail-list button:hover{border-color:#bdc9db;background:#f8faff}.fullscreen-explorer .detail-list .doc-label{width:44px;height:52px}.fullscreen-explorer .detail-list strong{font-size:14px}.fullscreen-explorer .detail-list small{font-size:12px;line-height:1.45}.fullscreen-explorer .stage-detail>button{margin-top:8px}
@media(max-width:760px){.fullscreen-explorer .detail-list{grid-template-columns:1fr;gap:10px}.fullscreen-explorer .detail-list button{min-height:86px;padding:14px}}
.fullscreen-explorer .stage-detail{display:flex;align-items:stretch}.fullscreen-explorer .stage-detail>.detail-status{align-self:flex-start}.fullscreen-explorer .stage-detail>h2{width:100%;font-size:clamp(30px,3vw,46px);margin-top:22px}.fullscreen-explorer .stage-detail>p{width:100%;max-width:none;font-size:17px;line-height:1.65;padding-bottom:24px;border-bottom:1px solid var(--line)}.fullscreen-explorer .detail-facts{flex:1;width:100%;min-height:220px;display:grid;grid-template-columns:1fr 1fr;margin:0 0 24px;border-top:0}.fullscreen-explorer .detail-facts div{padding:32px 28px 32px 0;display:flex;flex-direction:column;justify-content:center}.fullscreen-explorer .detail-facts div+div{padding-left:32px}.fullscreen-explorer .detail-facts span{font-size:12px;margin-bottom:12px}.fullscreen-explorer .detail-facts strong{font-size:18px;line-height:1.55;max-width:520px}.fullscreen-explorer .detail-list{flex:1;align-content:start;padding-top:28px;margin:0 0 24px}.fullscreen-explorer .stage-detail>button{align-self:flex-start;min-height:46px;padding:0 20px;font-size:13px}
@media(max-width:760px){.fullscreen-explorer .stage-detail>h2{font-size:28px}.fullscreen-explorer .stage-detail>p{font-size:14px}.fullscreen-explorer .detail-facts{grid-template-columns:1fr;min-height:0}.fullscreen-explorer .detail-facts div{padding:22px 0}.fullscreen-explorer .detail-facts div+div{padding-left:0}.fullscreen-explorer .detail-facts strong{font-size:15px}.fullscreen-explorer .stage-detail>button{width:100%}}
.fullscreen-explorer{grid-template-rows:minmax(0,1fr);padding-top:28px}.fullscreen-explorer .stage-layout{margin-top:0}.topbar .room-status{font-size:18px;font-weight:700;color:var(--ink);letter-spacing:-.2px}.topbar .room-status span{width:8px;height:8px}.stage-menu .utility-item{min-height:38px;padding:7px 10px;grid-template-columns:22px 1fr 12px;border-radius:8px}.stage-menu .utility-item .stage-index{width:21px;height:21px;border-width:1px;font-size:8px}.stage-menu .utility-item strong{font-size:11px;font-weight:600}.stage-menu .utility-item small{display:none}.stage-menu .utility-item i{font-size:10px}.stage-menu .utility-first{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);border-radius:0}.stage-menu .utility-first.selected{border-radius:8px}.stage-menu .utility-item.selected{background:#f1f4f8}
@media(max-width:760px){.topbar .room-status{display:none}.fullscreen-explorer{padding-top:20px}.stage-menu .utility-first{margin-top:12px}.stage-menu .utility-item{min-height:42px}}
.fullscreen-explorer .stage-menu{display:grid;grid-template-rows:repeat(4,auto) minmax(20px,1fr) auto auto;align-content:stretch}.fullscreen-explorer .stage-menu .utility-first{grid-row:6;margin-top:0}.fullscreen-explorer .stage-menu .utility-item:last-child{grid-row:7}
@media(max-width:760px){.fullscreen-explorer .stage-menu{grid-template-rows:none;display:grid;align-content:start}.fullscreen-explorer .stage-menu .utility-first,.fullscreen-explorer .stage-menu .utility-item:last-child{grid-row:auto}.fullscreen-explorer .stage-menu .utility-first{margin-top:12px}}

/* Deal workspace v12 */
.deal-shell{height:100dvh;overflow:hidden;background:#f4f6f8;display:grid;grid-template-rows:70px minmax(0,1fr);color:var(--ink)}
.deal-topbar{background:#fff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px;gap:20px}.deal-brand,.deal-user{display:flex;align-items:center}.deal-brand{gap:10px;color:inherit;text-decoration:none}.deal-brand>span{width:33px;height:33px;border-radius:10px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800}.deal-brand strong{font-size:16px}.deal-title{font-size:20px;font-weight:750;letter-spacing:-.3px}.deal-user{justify-content:flex-end;gap:9px}.deal-user div strong,.deal-user div small{display:block}.deal-user div strong{font-size:12px}.deal-user div small{font-size:10px;color:var(--muted)}.deal-user>button{margin-left:8px;border:1px solid #d7dde5;background:#fff;border-radius:9px;height:36px;padding:0 13px;font-size:11px;font-weight:650;cursor:pointer}.role-switch{height:36px;display:inline-flex;align-items:center;padding:0 11px;border-radius:9px;color:#536175;text-decoration:none;font-size:10px;font-weight:700;white-space:nowrap}.role-switch:hover{background:#edf1f6;color:#26344c}
.deal-body{min-height:0;display:grid;grid-template-columns:290px minmax(0,1fr)}.stage-nav{min-height:0;background:#fff;border-right:1px solid var(--line);padding:20px 16px 14px;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.stage-nav-head{display:flex;justify-content:space-between;align-items:center;padding:0 8px 13px;color:#7b8796;font-size:11px;text-transform:uppercase;letter-spacing:.6px}.stage-nav-head strong{color:var(--blue);font-size:11px}.stage-scroll{overflow-y:auto;display:grid;align-content:start;gap:3px;padding-right:3px}.stage-scroll button{border:0;background:transparent;border-radius:10px;min-height:52px;padding:8px;display:grid;grid-template-columns:29px 1fr;gap:9px;align-items:center;text-align:left;cursor:pointer}.stage-scroll button:hover{background:#f7f8fa}.stage-scroll button.active{background:#edf3ff}.stage-scroll button>b{width:28px;height:28px;border:1.5px solid #ccd5e0;border-radius:50%;display:grid;place-items:center;color:#77859a;font-size:10px}.stage-scroll button.done>b{background:var(--green);border-color:var(--green);color:#fff}.stage-scroll button.active>b{border-color:var(--blue);color:var(--blue);background:#fff}.stage-scroll span strong,.stage-scroll span small{display:block}.stage-scroll span strong{font-size:12px;line-height:1.25}.stage-scroll span small{font-size:9px;color:#7b8797;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-utils{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:2px}.stage-utils button{height:34px;border:0;background:transparent;border-radius:8px;padding:0 8px;display:grid;grid-template-columns:20px 1fr 20px;gap:6px;align-items:center;text-align:left;color:#536175;font-size:10px;cursor:pointer}.stage-utils button:hover{background:#f3f5f8}.stage-utils button>b{justify-self:end;background:#edf1f6;border-radius:6px;padding:2px 5px;font-size:9px}
.deal-content{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(480px,1.35fr) minmax(340px,.75fr);gap:1px;background:var(--line)}.stage-card,.chat-panel{background:#fff;min-height:0;overflow-y:auto}.stage-card{padding:34px clamp(28px,4vw,62px) 28px}.stage-kicker{display:flex;align-items:center;justify-content:space-between}.stage-kicker span{background:#e8f5ef;color:var(--green);padding:6px 9px;border-radius:7px;font-size:10px;font-weight:700}.stage-kicker b{color:var(--blue);font-size:12px}.stage-card h1{font-size:clamp(31px,3vw,46px);line-height:1.08;letter-spacing:-1.3px;margin:17px 0 10px}.stage-intro{font-size:15px;color:var(--muted);margin:0 0 22px;max-width:700px}.curator-line{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px}.curator-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e4ecfb;color:#31569b;font-weight:750}.curator-avatar.small{width:34px;height:34px}.curator-line div{flex:1}.curator-line small,.curator-line strong{display:block}.curator-line small{font-size:9px;color:var(--muted)}.curator-line strong{font-size:12px}.curator-line button{border:0;background:transparent;color:var(--blue);font-size:10px;font-weight:650;cursor:pointer}.section-caption{display:flex;justify-content:space-between;align-items:end;margin:26px 0 10px}.section-caption h2{font-size:17px;margin:0}.section-caption span{font-size:10px;color:var(--muted)}.action-list{border-top:1px solid var(--line)}.action-list>button{width:100%;min-height:62px;border:0;border-bottom:1px solid var(--line);background:#fff;display:grid;grid-template-columns:32px 1fr auto;gap:11px;align-items:center;text-align:left;padding:8px 2px;cursor:pointer}.action-list>button:hover{background:#fafbfc}.action-check{width:27px;height:27px;border:1.5px solid #c7d0dc;border-radius:8px;display:grid;place-items:center;font-size:10px;color:#778598}.action-check.checked{background:var(--green);border-color:var(--green);color:#fff}.action-list strong,.action-list small{display:block}.action-list strong{font-size:12px}.action-list small{font-size:10px;color:var(--muted);margin-top:3px}.action-list em{font-style:normal;font-size:9px;background:#f0f3f6;color:#687588;padding:5px 7px;border-radius:6px}.stage-facts{display:grid;grid-template-columns:.85fr .65fr 1.5fr;margin-top:23px;border:1px solid var(--line);border-radius:11px;overflow:hidden}.stage-facts div{padding:13px 15px}.stage-facts div+div{border-left:1px solid var(--line)}.stage-facts small,.stage-facts strong{display:block}.stage-facts small{font-size:9px;color:#8490a0;margin-bottom:5px}.stage-facts strong{font-size:11px;line-height:1.4}.next-stage{margin-top:14px;background:#f5f7fa;border-radius:9px;padding:10px 13px;display:flex;justify-content:space-between;gap:15px;font-size:10px}.next-stage span{color:var(--muted)}
.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.chat-panel>header{min-height:67px;border-bottom:1px solid var(--line);padding:12px 16px;display:flex;justify-content:space-between;align-items:center}.chat-panel>header>div{display:flex;gap:9px;align-items:center}.chat-panel header strong,.chat-panel header small{display:block}.chat-panel header strong{font-size:12px}.chat-panel header small{color:var(--muted);font-size:9px;margin-top:2px}.chat-panel header small i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#35a376}.chat-panel header button{border:0;background:transparent;cursor:pointer}.chat-flow{padding:18px 17px;overflow-y:auto;background:#f8f9fb}.date-label{text-align:center;color:#96a0ad;font-size:9px;margin-bottom:15px}.message{max-width:87%;border-radius:12px;padding:11px 12px 8px;margin-bottom:10px}.message p{font-size:11px;line-height:1.5;margin:0}.message small{display:block;text-align:right;color:#8994a2;font-size:8px;margin-top:5px}.message.curator{background:#fff;border:1px solid var(--line);border-top-left-radius:3px}.message.client{background:#e8f0ff;margin-left:auto;border-top-right-radius:3px}.message>button{border:0;background:transparent;color:var(--blue);padding:7px 0 0;font-size:9px;font-weight:650;cursor:pointer}.task-preview{background:#fff;border:1px solid #d8e1ed;border-left:3px solid var(--blue);border-radius:9px;padding:11px 12px;margin:8px 0 16px}.task-preview span,.task-preview strong,.task-preview small{display:block}.task-preview span{font-size:8px;color:var(--blue);font-weight:700;text-transform:uppercase}.task-preview strong{font-size:11px;margin:4px 0}.task-preview small{font-size:9px;color:var(--muted)}.task-preview em{display:inline-block;font-style:normal;font-size:8px;color:#8b5b16;background:#fff1da;padding:4px 6px;border-radius:5px;margin-top:8px}.composer{border-top:1px solid var(--line);padding:10px 12px 9px;background:#fff}.quick-actions{display:flex;gap:5px;overflow-x:auto;padding-bottom:8px}.quick-actions button{white-space:nowrap;border:1px solid #dfe4ea;background:#fff;border-radius:6px;height:26px;padding:0 8px;font-size:8px;cursor:pointer}.quick-actions button.active{border-color:#b6c7eb;background:#edf3ff;color:var(--blue)}.input-row{border:1px solid #d8dee6;border-radius:10px;padding:7px;display:flex;align-items:end;gap:7px}.input-row textarea{resize:none;border:0;outline:0;min-height:38px;max-height:85px;width:100%;font-size:11px;padding:4px;background:transparent}.input-row>button{width:31px;height:31px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-size:17px;cursor:pointer}.composer>small{display:block;color:#9aa4b1;font-size:8px;margin-top:4px;text-align:right}
@media(max-width:1050px){.deal-body{grid-template-columns:255px minmax(0,1fr)}.deal-content{grid-template-columns:minmax(420px,1fr) 330px}.stage-card{padding:28px 24px}.stage-facts{grid-template-columns:1fr 1fr}.stage-facts div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:800px),(max-device-width:800px){.deal-shell{height:auto;min-height:100dvh;overflow:visible;grid-template-rows:64px auto}.deal-topbar{grid-template-columns:1fr auto;padding:0 15px}.deal-title{display:none}.deal-user div,.deal-user>button{display:none}.deal-body{grid-template-columns:1fr;min-width:0}.stage-nav{position:relative;padding:11px;grid-template-rows:auto auto auto;min-width:0}.stage-scroll{display:flex;overflow-x:auto}.stage-scroll button{min-width:165px}.stage-utils{display:flex;overflow-x:auto}.stage-utils button{width:auto;white-space:nowrap}.deal-content{grid-template-columns:minmax(0,1fr);min-width:0}.stage-card,.chat-panel{overflow:visible;min-width:0}.chat-panel{min-height:620px}.stage-card{padding:25px 17px}.stage-facts{grid-template-columns:1fr}.stage-facts div+div{border-left:0;border-top:1px solid var(--line)}.stage-facts div:last-child{grid-column:auto}.action-list>button{grid-template-columns:32px 1fr}.action-list em{grid-column:2;justify-self:start;margin-top:-6px}}
@media(max-width:800px),(max-device-width:800px){.deal-user .role-switch{height:34px;padding:0 8px}}

.demo-backdrop{position:fixed;inset:0;z-index:80;background:rgba(12,22,38,.72);display:grid;place-items:center;padding:22px;backdrop-filter:blur(8px)}.demo-video{position:relative;width:min(860px,100%);aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#14213a;color:#fff;box-shadow:0 30px 90px rgba(7,15,28,.38)}.demo-close{position:absolute;right:17px;top:15px;z-index:5;width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(8,17,32,.35);color:#fff;font-size:23px;cursor:pointer}.demo-brand{position:absolute;left:28px;top:24px;z-index:4;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.demo-brand span{width:27px;height:27px;border-radius:8px;background:#fff;color:#14213a;display:grid;place-items:center}.demo-scenes{height:100%;position:relative}.demo-scenes section{position:absolute;inset:0;padding:16% 9% 10%;opacity:0;animation:demo-scene 15s infinite}.demo-scenes section:nth-child(2){animation-delay:5s;background:#17304b}.demo-scenes section:nth-child(3){animation-delay:10s;background:#16332e}.demo-scenes section>small{color:#9bb6e5;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.demo-scenes h2{font-size:clamp(28px,4vw,52px);line-height:1.08;letter-spacing:-1.5px;margin:12px 0 26px}.demo-stage,.demo-chat,.demo-result{width:min(470px,76%);border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(255,255,255,.09);padding:15px;display:flex;align-items:center;gap:13px}.demo-stage>b{width:38px;height:38px;border-radius:50%;background:#fff;color:#2557cc;display:grid;place-items:center}.demo-stage strong,.demo-stage small{display:block}.demo-stage small,.demo-chat span{color:#b8c7d9;font-size:11px}.demo-chat{display:block}.demo-chat p{margin:0 0 8px;font-weight:650}.demo-result b{font-size:38px}.demo-result span{font-size:14px}.demo-progress{position:absolute;left:28px;right:28px;bottom:27px;height:3px;background:rgba(255,255,255,.2);border-radius:4px;overflow:hidden}.demo-progress i{display:block;height:100%;background:#fff;animation:demo-progress 15s linear infinite}.demo-time{position:absolute;right:28px;bottom:35px;color:#b7c5d8;font-size:9px}.demo-backdrop .demo-video{animation:demo-open .22s ease both}@keyframes demo-scene{0%,32%{opacity:1;transform:translateY(0)}34%,100%{opacity:0;transform:translateY(8px)}}@keyframes demo-progress{from{width:0}to{width:100%}}@keyframes demo-open{from{opacity:0;transform:scale(.98)}}@media(max-width:650px){.demo-video{aspect-ratio:9/14}.demo-scenes section{padding:38% 8% 18%}.demo-scenes h2{font-size:29px}.demo-stage,.demo-chat,.demo-result{width:100%}.demo-time{display:none}}@media(prefers-reduced-motion:reduce){.demo-scenes section:first-child{opacity:1}.demo-scenes section:not(:first-child){display:none}.demo-progress i{width:40%}}
