:root{--ink:#18362e;--muted:#6b7970;--green:#244d3e;--sage:#e7eee5;--paper:#f7f8f3;--line:#dfe5dc;--white:#fff;--amber:#976123;--red:#a24538;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #b29848;outline-offset:4px}a{color:inherit}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(32px,calc((100vw - 1300px)/2))}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:25px;text-decoration:none;letter-spacing:-1px}.brand-icon{background:var(--green);color:var(--paper);width:32px;height:32px;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;border-radius:9px}.brand-type{font-size:10px;letter-spacing:1.5px;color:var(--muted);font-weight:500;margin-left:16px}.topmeta{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.live-dot{display:inline-block;background:#5a875e;width:7px;height:7px;border-radius:50%;flex-shrink:0}.live-dot.offline{background:var(--amber)}.divider{margin:0 12px;color:#c1cabe}.text-button{border:0;background:none;color:inherit;padding:4px 0;font-size:12px}main{max-width:1300px;margin:auto;padding:49px 32px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--muted)}h1{font-size:clamp(38px,4.2vw,58px);line-height:1.08;letter-spacing:-2.8px;font-weight:520;margin:17px 0}h1 span{color:#71846f}.intro p{font-size:14px;line-height:1.75;color:var(--muted)}.disclosure{border-left:1px solid #cfd8ca;padding-left:27px;max-width:330px}.pill{display:inline-block;font-size:9px;letter-spacing:1.1px;font-weight:650;background:var(--sage);padding:8px 10px;border-radius:4px}.disclosure p{font-size:12px;margin:15px 0}.stack{font-family:ui-monospace,monospace;font-size:10px;color:var(--muted)}.stack span{color:#a5b39f;margin:0 4px}.workflow{display:flex;align-items:center;justify-content:space-between;background:var(--sage);padding:22px 28px;border-radius:12px;margin-bottom:24px}.workflow>div{display:grid;grid-template-columns:31px auto;column-gap:10px;align-items:center}.step-number{grid-row:span 2;align-self:center;border:1px solid #bacbb7;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font-size:10px}.workflow strong{font-size:13px;font-weight:600}.workflow small{font-size:10px;color:var(--muted);margin-top:4px}.arrow{color:#8da187;font-size:20px;margin:0 18px}.workspace{display:grid;grid-template-columns:minmax(310px,.86fr) minmax(0,1.3fr);gap:24px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:13px;padding:26px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}h2{font-size:20px;font-weight:550;letter-spacing:-.6px;margin:9px 0 0}.small-tag{font-size:10px;border:1px solid var(--line);padding:6px 9px;border-radius:5px;color:var(--muted);white-space:nowrap}.panel-note{font-size:11px;color:var(--muted);line-height:1.6;margin:17px 0 23px}.form-row{display:flex;gap:14px}.form-row label{min-width:0;flex:1}label{display:block;font-size:10px;font-weight:600;margin-bottom:14px}input,select,textarea{display:block;width:100%;border:1px solid #dce2d9;background:#fcfdf9;color:var(--ink);font-size:12px;border-radius:6px;padding:11px 12px;margin-top:7px;outline:none}input:focus,select:focus,textarea:focus{border-color:#5d805d;box-shadow:0 0 0 2px #e5ecdf}textarea{resize:vertical;line-height:1.6}.primary{background:var(--green);border:1px solid var(--green);color:white;padding:12px 16px;border-radius:7px;font-size:12px;font-weight:550}.primary:hover{background:#193c2f}.wide{width:100%;display:flex;justify-content:space-between}.scenario-box{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.scenario{display:flex;width:100%;align-items:center;gap:13px;text-align:left;border:0;border-bottom:1px solid #edf0e9;padding:14px 0;background:none;color:var(--ink)}.scenario>span:first-child{background:var(--paper);border:1px solid var(--line);border-radius:6px;width:29px;height:29px;display:grid;place-items:center;font-size:15px}.scenario>span:last-child{margin-left:auto;color:var(--muted)}.scenario strong{display:block;font-size:11px;font-weight:550}.scenario small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.hint{font-size:10px;line-height:1.6;color:var(--muted);margin:13px 0 0}.crm-control{display:flex;align-items:center;gap:6px}.crm-control button{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;margin:24px 0}.stats strong{font-size:28px;font-weight:500;display:block;letter-spacing:-1px}.stats span{font-size:10px;display:block;color:var(--muted);margin-top:6px}.lead-list{min-height:322px;max-height:610px;overflow:auto}.empty{border:1px dashed var(--line);border-radius:9px;min-height:289px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;color:var(--muted)}.empty-icon{width:44px;height:44px;border-radius:50%;background:var(--paper);display:grid;place-items:center;font-size:22px;color:#9daf97}.empty strong{font-size:13px;font-weight:500;margin:17px 0 7px;color:var(--ink)}.empty p{font-size:11px;line-height:1.7;margin:0;max-width:230px}.lead{border:1px solid var(--line);border-radius:9px;padding:19px;margin-bottom:13px}.lead-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.lead h3{font-size:14px;font-weight:600;margin:0 0 5px}.lead-company{font-size:11px;color:var(--muted)}.status{font-size:9px;letter-spacing:.3px;border-radius:4px;padding:5px 7px;white-space:nowrap;background:var(--sage);color:#3a6942}.status.review{background:#f4f0df;color:#826b2f}.status.approved{background:#f9e9df;color:#9b5a2f}.status.rejected{background:#f0eeeb;color:#7c7972}.lead-message{font-size:11px;line-height:1.7;color:#687269;margin:16px 0;white-space:pre-wrap;overflow-wrap:anywhere}.lead-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:9px;color:#84917f}.lead-actions{display:flex;gap:8px;align-items:center;margin-top:16px}.lead-actions button{font-size:11px;padding:8px 12px}.secondary{border:1px solid var(--line);background:white;color:var(--muted);border-radius:6px}.delivery-error{color:var(--red);font-size:10px;line-height:1.6;margin-top:12px}.delivery-ok{font-size:10px;color:#4e7350;margin-top:14px}.destination{border-top:1px solid var(--line);padding-top:19px;margin-top:17px;display:flex;justify-content:space-between;align-items:center;gap:14px}.destination .eyebrow{font-size:8px;letter-spacing:1px}.destination p{font-size:11px;color:var(--muted);margin:9px 0 0}.export{font-size:10px;text-decoration:none;white-space:nowrap}.activity{margin-top:24px}.activity-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.activity h2{font-size:19px}.event{display:grid;grid-template-columns:69px 105px 105px 1fr;gap:12px;border-top:1px solid #edf0e9;padding:12px 0;font-size:10px;line-height:1.5;align-items:start}.event time,.event code{font-size:9px;color:var(--muted)}.event-kind{font-weight:600;color:#4d6850}.event-detail{color:var(--muted)}.event-empty{font-size:12px;color:var(--muted);padding:12px 0}footer{display:flex;justify-content:space-between;font-size:9px;color:#889482;padding:26px 0 30px;gap:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(90px);background:var(--green);color:white;border-radius:9px;padding:14px 22px;max-width:90%;font-size:12px;line-height:1.6;box-shadow:0 5px 25px #132d2220;opacity:0;transition:transform .2s,opacity .2s;z-index:5}#toast.show{transform:translateX(-50%);opacity:1}#toast.error{background:#843e34}@media(min-width:1450px){main{padding-top:58px}}@media(max-width:900px){main{padding:30px 20px 0}.topbar{padding:0 20px}.brand-type{display:none}.workflow{padding:18px}.workflow>div{grid-template-columns:1fr}.step-number{display:none}.arrow{margin:0 8px}.workflow small{font-size:9px}.workspace{gap:16px;grid-template-columns:minmax(280px,.9fr) minmax(0,1fr)}.panel{padding:19px}.stats{gap:8px}.stats span{font-size:9px}.disclosure{max-width:280px;padding-left:20px}.event{grid-template-columns:60px 100px 1fr}.event code{display:none}}@media(max-width:650px){.topbar{height:67px}.topmeta{font-size:10px}.divider{margin:0 3px}.intro{display:block}.intro h1{letter-spacing:-1.8px}.disclosure{border-left:0;padding:0;max-width:none;margin-top:22px}.disclosure p{margin:10px 0}.stack{display:none}.workflow{flex-wrap:wrap;gap:20px;display:grid;grid-template-columns:1fr 1fr}.workflow>div{grid-template-columns:30px 1fr}.step-number{display:grid}.arrow{display:none}.workspace{grid-template-columns:1fr}.activity-title{align-items:start;gap:14px}.activity-title .small-tag{white-space:normal;font-size:8px;max-width:110px}.event{grid-template-columns:55px 1fr;gap:5px 10px}.event-detail{grid-column:2}.stats span{font-size:10px}.lead-list{min-height:150px}.empty{min-height:180px}footer{flex-direction:column;gap:9px}#toast{width:90%}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Hosted demo additions: retain the original sage workspace. */
.topbar{background:#f7f8f3ed;backdrop-filter:blur(16px)}.case-link{margin-left:10px;text-decoration:none}.guide{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #ceddca;background:#edf2e9;padding:18px 24px;border-radius:12px;margin-bottom:24px}.guide strong{font-size:13px}.guide p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.6}.operations{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:18px;font-size:11px;color:var(--muted)}.operations strong{color:var(--ink);margin-left:7px}.case{max-width:850px;padding-bottom:20px}.case h1{font-size:clamp(36px,5vw,58px)}.case-lead{font-size:18px;line-height:1.7;color:var(--muted)}.case-cta{display:inline-block;text-decoration:none;margin:10px 0 24px}.case section{border-top:1px solid var(--line);padding:26px 0}.case section p,.case li{font-size:15px;line-height:1.85;color:#4f6255}.case ol,.case ul{padding-left:23px}.case li{padding-left:5px;margin:8px 0}.case h2{font-size:24px;margin:0 0 16px}.lead-company{overflow-wrap:anywhere}.case code{overflow-wrap:anywhere}@media(max-width:650px){.guide{align-items:stretch;flex-direction:column;padding:19px}.guide .primary{align-self:start}.topmeta .live-dot{display:none}.topmeta{gap:5px}.case-link{margin-left:0}.topbar{gap:10px}.topmeta .divider{display:none}.topmeta{flex-wrap:wrap;justify-content:flex-end;max-width:175px}.operations{gap:12px 18px}.case-lead{font-size:16px}}

.access-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin-bottom:28px;background:#fff}.access-panel strong{font-size:13px}.access-panel p{font-size:11px;line-height:1.7;color:var(--muted);margin:7px 0}.google-access{display:flex;align-items:center;gap:12px;font-size:12px}#turnstile-widget{min-height:65px;margin-top:10px}#signed-user:empty{display:none}#signout[hidden]{display:none}.access-panel.verified{background:#f0f4ed}.access-panel.verified #turnstile-widget{display:none}@media(max-width:650px){.access-panel{align-items:stretch;flex-direction:column;padding:16px}.google-access{flex-wrap:wrap}#turnstile-widget{max-width:100%;overflow:hidden}}

#google-signin[hidden],#google-origin-link[hidden]{display:none}#google-origin-link{font-size:12px;line-height:1.6}

#verify-retry[hidden]{display:none}#verify-retry{font-size:12px;padding:9px 12px;margin-top:10px}.access-panel.verified #verify-retry{display:none}

#google-signin svg{max-width:18px;max-height:18px}
