:root{--canvas:#f7f4ef;--paper:#fff;--ink:#241d18;--muted:#82766b;--primary:#ae3527;--accent:#ffb02e;--line:#e9e2da;--sidebar:#201915;--danger:#b53c32;--radius:18px;--shadow:0 3px 5px #442b1803,0 12px 30px #442b1804;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e6a751;outline-offset:3px}svg{display:block}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.muted{color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Brand and application frame */
.brand-logo{display:block;object-fit:contain;width:40px;height:40px;flex-shrink:0}.brand{display:flex;gap:9px;align-items:center;color:#fff8ee;font-size:22px;font-weight:700;letter-spacing:-1px;line-height:1.15}.brand>span{white-space:nowrap}.brand-subtitle{display:block;font-size:13px;letter-spacing:2px;font-weight:500;margin-top:7px;color:#aa9685}.boot{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);background:radial-gradient(ellipse at 50% 38%,#fff5e5,transparent 58%),var(--canvas)}.boot .brand-logo{width:64px;height:64px;filter:drop-shadow(0 12px 18px #b65b2720)}.boot p{font-size:13px;margin-top:22px}.boot:after{content:"";width:80px;height:3px;background:linear-gradient(90deg,#ffb02e,#d84c30);border-radius:10px;margin-top:10px;animation:breathe 1.7s ease-in-out infinite}.app-shell{display:flex;min-height:100dvh}.sidebar{width:224px;background:linear-gradient(165deg,#261d17,#1b1714 75%);color:#ded3c9;position:fixed;inset:0 auto 0 0;padding:30px 18px 0;display:flex;flex-direction:column;z-index:20;border-right:1px solid #ffffff08}.sidebar .brand{padding:0 2px;font-size:21px}.sidebar .brand-logo{width:39px;height:39px}.nav-label{font-size:13px;color:#968371;letter-spacing:1.8px;margin:43px 13px 12px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px;margin:5px 0;border-radius:10px;color:#c5b6a7;font-size:13px;font-weight:500;transition:background .15s,color .15s,box-shadow .15s}.nav-item .icon{width:18px;height:18px;opacity:.85}.nav-item:hover{color:#fff7ec;background:#ffffff08}.nav-item.active{background:linear-gradient(100deg,#f7bc73,#efb469);color:#352416;box-shadow:inset 0 1px #fff5df75,0 4px 12px #0000000c}.nav-marker{margin-left:auto;width:5px;height:5px;border-radius:50%;background:currentColor;display:none}.nav-item.active .nav-marker{display:block}.nav-count{margin-left:auto;font-size:13px;padding:0 7px;min-width:22px;text-align:center;border-radius:5px;background:#ffffff0d}.sidebar-bottom{margin-top:auto}.sidebar-note{margin:32px 7px 24px;padding:21px 15px;border:1px solid #ffffff0c;border-radius:13px;background:linear-gradient(130deg,#ffffff06,transparent);color:#a99582}.sidebar-note>.icon{color:#eab276;width:19px;height:19px}.sidebar-note p{font-size:17px;line-height:1.7;color:#e6d9cd;margin:12px 0 15px;letter-spacing:.2px}.sidebar-note a{font-size:13px;color:#c1aa94}.sidebar-note a span{margin-left:12px;color:#f2bc75}.account-box{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff10;padding:20px 1px;min-width:0}.avatar{width:33px;height:33px;background:#46372c;display:grid;place-items:center;border-radius:10px;font-weight:600;font-size:13px;flex-shrink:0;color:#eed6bf;border:1px solid #ffffff0b}.account-box>div{min-width:0}.account-box strong,.account-box span:not(.avatar){display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:102px}.account-box strong{font-size:13px;font-weight:500;color:#ede2d8}.account-box>div>span{font-size:13px;color:#aa9380;margin-top:2px}.account-box .icon-button{margin-left:auto;width:26px;color:#b29a85}.account-box .icon{width:16px}.app-main{margin-left:224px;min-width:0;flex:1}.topbar{height:68px;padding:0 36px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fbfaf7}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:13px;color:#93867a}.breadcrumb strong{font-weight:600;color:#5a4b40}.breadcrumb-slash{color:#c5b9ad}.workspace-tag{display:flex;align-items:center;gap:7px;font-size:13px;color:#8a7a6c;padding:5px 10px;border:1px solid #e9e0d5;border-radius:20px;background:#fffdf8}.workspace-tag>span{width:5px;height:5px;border-radius:50%;background:#ca9568}.demo-banner{padding:9px 36px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff2de;border-bottom:1px solid #efdfc8;color:#967651;font-size:13px}.demo-banner>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.demo-banner strong{font-weight:600;color:#86582f}.demo-dot{width:5px;height:5px;border-radius:50%;background:#ce7a3b}.text-button{border:0;background:none;padding:0;font-size:13px;font-weight:600;color:var(--primary);white-space:nowrap}.text-button span{margin-left:8px}.text-button:hover{text-decoration:underline}#workspace{max-width:1420px;margin:auto;padding:34px 36px 44px;min-height:calc(100dvh - 174px);outline:none}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}.eyebrow{margin:0 0 8px;font-size:13px;letter-spacing:1.7px;color:#9d7656;font-weight:650}.page-heading h1{font-size:28px;letter-spacing:-.8px;font-weight:650;line-height:1.4;margin:0}.page-description{font-size:13px;color:var(--muted);margin:10px 0 0;line-height:1.85;max-width:690px}.heading-actions{display:flex;align-items:center;gap:9px;padding-top:13px;flex-shrink:0}
/* Controls */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 15px;border-radius:9px;border:1px solid #e4dbd2;background:#fff;color:#665447;font-size:13px;font-weight:550;white-space:nowrap;box-shadow:0 1px 2px #3c2b1605;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.button:hover:not(:disabled){background:#fffcf7;border-color:#ccb6a2;box-shadow:0 3px 9px #4b311508;transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button .icon{width:15px;height:15px}.button-primary{background:linear-gradient(180deg,#b7402e,#a73125);border-color:#a73125;color:white;box-shadow:0 3px 8px #a634211b,inset 0 1px #ffffff15}.button-primary:hover:not(:disabled){background:#972b20;border-color:#972b20;box-shadow:0 5px 12px #a6342125}.button-lime{background:#ffc780;border-color:#edb771;color:#53351f}.button-danger{color:var(--danger)}.button-danger:hover:not(:disabled){border-color:#e1b8b0;background:#fff6f3}.button-small{font-size:13px;min-height:33px;padding:6px 11px}.icon-button{border:1px solid transparent;background:transparent;display:grid;place-items:center;padding:5px;width:32px;height:32px;border-radius:8px;color:#8e7a68;cursor:pointer}.icon-button:hover{background:#967c6210;border-color:#967c6210}.filter-bar{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.select-wrap{position:relative;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;min-height:40px;padding-left:12px;gap:9px;box-shadow:0 2px 3px #41281003}.select-wrap .icon{width:16px;height:16px;color:#a08268}.select-wrap select{border:0;background:transparent;padding:9px 30px 9px 1px;outline-offset:2px;max-width:320px;min-height:39px;color:#5c4b3e;font-size:13px;appearance:auto;cursor:pointer}.filter-hint{margin-left:auto;color:#8f7f70;font-size:13px}
/* Reports and tables */
.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 23px 20px;min-width:0;box-shadow:var(--shadow)}.metric-card:first-child{background:linear-gradient(135deg,#fff2df,#fff9ed);border-color:#ecd8b9}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#8a7665;font-size:13px;gap:8px}.metric-top .icon{width:16px;height:16px;color:#b99472}.metric-value{display:block;font-size:35px;line-height:1.25;font-weight:600;letter-spacing:-1.4px;margin-top:19px;font-variant-numeric:tabular-nums}.metric-bottom{display:flex;align-items:center;gap:7px;margin-top:15px;flex-wrap:wrap;color:#9f9184;font-size:13px}.metric-change{display:inline-flex;align-items:center;gap:3px;font-size:13px;color:#4a7543;background:#eef5e9;border-radius:5px;padding:2px 6px;line-height:1.5}.metric-change .icon{width:11px;height:11px}.metric-change.negative{color:#ac5f44;background:#fcf0e7}.metric-change.neutral{color:#97836e;background:#f5eee6}.content-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(285px,1fr);gap:20px;margin-bottom:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden;box-shadow:var(--shadow)}.panel-heading{padding:23px 24px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel-heading h2{font-size:15px;font-weight:600;letter-spacing:-.2px;margin:0}.panel-heading p{font-size:13px;color:#9c8b7a;margin:5px 0 0}.segmented{display:flex;border:1px solid #eae2da;border-radius:8px;background:#f6f3ef;padding:3px;flex-shrink:0}.segmented button{background:transparent;border:0;border-radius:5px;padding:4px 11px;font-size:13px;color:#998676}.segmented button.active{color:#a2492e;background:#fff;box-shadow:0 1px 4px #49332310}.chart-wrap{position:relative;margin:20px 20px 10px;height:246px}.chart{width:100%;height:100%;overflow:visible}.chart-label{fill:#ab9783;font-size:13px;font-family:inherit}.chart-tooltip{position:absolute;pointer-events:none;background:#30241b;color:#fff2e3;box-shadow:0 5px 20px #2b211820;padding:9px 12px;border-radius:8px;font-size:13px;white-space:nowrap;z-index:2;transform:translate(-50%,-100%)}.chart-footer{display:flex;align-items:center;gap:7px;padding:0 24px 21px;color:#a18b77;font-size:13px}.legend-dot{height:5px;width:5px;border-radius:50%;background:#d86535}.opportunities-panel{background:linear-gradient(150deg,#fff6e9,#fbefdd);border-color:#ecddc7}.opportunities-panel .panel-heading{padding-bottom:9px}.opportunities-panel .panel-heading>.icon{color:#c47d45;width:19px;height:19px}.opportunity-item{margin:0 23px;padding:15px 0;border-bottom:1px solid #e9d9c4;display:flex;gap:12px;align-items:flex-start}.opportunity-item:last-child{border-bottom:0}.opportunity-index{font-size:13px;color:#b19272;margin-top:3px;font-variant-numeric:tabular-nums}.opportunity-content{min-width:0;flex:1}.opportunity-content h3{font-size:13px;font-weight:600;margin:0 0 6px;overflow-wrap:anywhere;line-height:1.5}.opportunity-content p{color:#9a8069;font-size:13px;margin:0;line-height:1.75}.opportunity-numbers{margin-top:9px;font-size:13px;color:#886342;display:flex;gap:12px}.opportunities-empty{padding:27px 24px;color:#9d8067;font-size:13px;line-height:1.9}.opportunity-link{display:flex;align-items:center;justify-content:space-between;padding:15px 23px;border-top:1px solid #e9d9c4;color:#9c512b;font-size:13px;font-weight:500;transition:background .15s}.opportunity-link:hover{background:#f7e8d5}.opportunity-link .icon{width:14px;height:14px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 24px 0}.table-tabs{display:flex;gap:24px}.table-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 15px;font-size:13px;color:#9b8674}.table-tabs button.active{color:#a44830;border-bottom-color:#d66b3c;font-weight:600}.table-note{font-size:13px;color:#ad9683;padding-bottom:14px}.table-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#dbc9b9 transparent}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}thead{background:#fcfaf7;color:#a08a77}th{font-size:13px;font-weight:550;letter-spacing:.1px;white-space:nowrap;padding:12px 24px;border-top:1px solid #efe6dc;border-bottom:1px solid #efe6dc}td{padding:15px 24px;border-bottom:1px solid #f1ebe4;color:#82705f;font-variant-numeric:tabular-nums;transition:background .15s}tbody tr:hover td{background:#fffcf7}tbody tr:last-child td{border-bottom:0}td:first-child{color:#605043;font-weight:450}th.number,td.number{text-align:right}td.primary-cell{max-width:420px;overflow-wrap:anywhere}.table-row-index{font-size:13px;color:#bba897;display:inline-block;margin-right:16px;min-width:14px}.table-value-highlight{color:#a35232;font-weight:600}.table-empty{padding:38px;color:#a18b78;text-align:center}.table-footer{padding:14px 24px;border-top:1px solid var(--line);font-size:13px;color:#a78d77;display:flex;justify-content:space-between;align-items:center}.report-notes{margin-top:18px;font-size:13px;color:#a48e7a;display:flex;align-items:flex-start;gap:8px;line-height:1.85}.report-notes .icon{width:14px;height:14px;margin-top:3px}.report-notes ul{margin:0;padding-left:15px}.report-notes li+li{margin-top:4px}.app-footer{max-width:1420px;margin:0 auto;padding:18px 36px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#aa9684;font-size:13px}.app-footer>span:first-child{font-size:13px;font-weight:550;color:#8f7661}
/* Loading, empty and failure states */
.empty-state,.error-state{padding:62px 30px;text-align:center;max-width:560px;margin:auto}.empty-icon,.error-icon{display:grid;place-items:center;background:linear-gradient(145deg,#fff7e9,#f5e7d5);border:1px solid #edddc7;border-radius:18px;width:62px;height:62px;margin:0 auto 22px;color:#b58a61;box-shadow:0 5px 12px #88501c05}.empty-icon .icon,.error-icon .icon{width:26px;height:26px}.error-icon{background:#fff1ea;color:#b66b4e;border-color:#efdbce}.empty-state h2,.error-state h2{font-size:19px;font-weight:600;margin:0 0 10px;letter-spacing:-.3px}.empty-state p,.error-state p{font-size:13px;color:#9a816c;line-height:1.9;margin:0 auto 24px;max-width:390px}.loading-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-size:13px;color:#a18771;background:linear-gradient(135deg,#fffdfa,#fff);border-radius:var(--radius)}.spinner{display:inline-block;border:2px solid #efdfce;border-top-color:#ca7944;border-radius:50%;width:24px;height:24px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{opacity:.35;transform:scaleX(.6)}}.status-pill{display:inline-flex;align-items:center;gap:6px;font-size:13px;border-radius:20px;padding:4px 9px;background:#f6eee3;color:#a17a4e;white-space:nowrap;border:1px solid #efe3d2}.status-pill:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.status-pill.warning{color:#b28b48;background:#fff6e5;border-color:#f1e4c9}
/* Websites and clients */
.site-list{display:grid;gap:13px}.site-card{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);padding:23px 25px;border-radius:var(--radius);box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s}.site-card:hover{border-color:#dcc6af;box-shadow:0 7px 20px #67432608}.site-icon{width:46px;height:46px;border-radius:13px;background:linear-gradient(145deg,#fff4e2,#f7e7d2);border:1px solid #efdfc9;display:grid;place-items:center;color:#b28d65;flex-shrink:0}.site-card h2{margin:0 0 4px;font-size:15px;font-weight:600}.site-card p{margin:0;color:#a48b76;font-size:13px;overflow-wrap:anywhere}.site-details{flex:1;min-width:0}.site-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.info-strip{display:flex;gap:11px;align-items:flex-start;padding:15px 18px;border:1px solid #eddfce;background:#fff7eb;border-radius:12px;color:#9a7d61;font-size:13px;line-height:1.8;margin-bottom:22px}.info-strip .icon{width:17px;height:17px;margin-top:3px;color:#bd9266}.info-strip p{margin:0}.clients-name{display:flex;align-items:center;gap:12px}.clients-name .avatar{color:#a47b54;background:#f7ecde;border-color:#eedec9;width:36px;height:36px}.clients-name strong{display:block;font-size:13px;font-weight:550}.clients-name span:not(.avatar){display:block;font-size:13px;color:#b0957c;font-weight:400;margin-top:3px}.access-cell{font-size:13px;color:#a08770}
/* AI connection */
.integration-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;padding:33px;background:radial-gradient(ellipse at 0 0,#ffecd0,transparent 65%),#fff9f0;border:1px solid #ecdbc5;border-radius:20px;margin-bottom:20px;box-shadow:var(--shadow)}.integration-hero h2{font-size:25px;font-weight:600;letter-spacing:-.7px;margin:10px 0 13px;line-height:1.5;max-width:430px}.integration-hero p{font-size:13px;color:#9a7b60;max-width:430px;line-height:1.9;margin:0}.client-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:23px}.client-badges span{font-size:13px;color:#a17c5c;padding:4px 9px;border-radius:6px;background:#ffffffa6;border:1px solid #eadbc8}.connection-card{background:#fff;border:1px solid #ead9c4;border-radius:14px;padding:24px;align-self:center;box-shadow:0 6px 22px #88531e06}.field-label{font-size:13px;font-weight:600;display:block;margin:0 0 12px;color:#947153}.copy-field{display:flex;align-items:center;gap:10px;background:#faf6ef;border:1px solid #eadecd;border-radius:9px;padding:13px}.copy-field code{font-size:13px;word-break:break-all;flex:1;color:#8b5f3c;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.7}.copy-field .icon-button{width:30px;height:30px;flex-shrink:0;background:#fff;border-color:#e9dbc8}.copy-field .icon{width:15px;height:15px}.connection-help{font-size:13px!important;margin-top:13px!important}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:26px}.step-card{padding:23px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.step-number{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#fff3e2;border:1px solid #efdfc9;font-size:13px;color:#bb8b59;font-weight:650;letter-spacing:1px}.step-card h3{font-size:13px;font-weight:600;margin:16px 0 7px}.step-card p{font-size:13px;color:#a0846c;margin:0;line-height:1.85}.tokens-heading{padding-bottom:21px}.tokens-heading h2{font-size:14px}.token-name{display:flex;align-items:center;gap:10px}.token-name .icon{width:15px;height:15px;color:#b99774}
/* Welcome */
.login-screen{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:24px;background:radial-gradient(ellipse at 85% 18%,#fff3de,transparent 45%),var(--canvas)}.login-brand-panel{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#35241a,#201914 58%);border:1px solid #493425;border-radius:24px;padding:44px 48px;color:#f2e7dc;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100dvh - 48px)}.login-brand-panel:before{content:"";position:absolute;width:510px;height:510px;border-radius:50%;border:1px solid #f4a4491a;box-shadow:0 0 0 58px #f4a44904,0 0 0 116px #f4a44903;right:-285px;top:120px;z-index:-1}.login-brand-panel:after{content:"";position:absolute;width:420px;height:420px;background:radial-gradient(circle,#bb632c20,transparent 65%);left:-200px;bottom:-200px;z-index:-1}.login-brand-panel .brand{align-self:flex-start;font-size:24px;letter-spacing:-1px}.login-brand-panel .brand-logo{width:43px;height:43px}.login-brand-panel h1{font-size:clamp(33px,3.5vw,48px);line-height:1.5;font-weight:550;letter-spacing:-1.7px;margin:42px 0 22px}.login-brand-panel h1 span{color:#edb570}.login-brand-panel p{font-size:13px;line-height:2;color:#b7a28d;max-width:340px}.login-values{display:flex;gap:9px;flex-wrap:wrap;margin-top:27px}.login-values>span{display:flex;align-items:center;gap:6px;font-size:13px;padding:6px 9px;border:1px solid #ad825528;border-radius:6px;color:#c0a584;background:#ffffff03}.login-values .icon{width:12px;height:12px;color:#e8b47a}.login-brand-panel>small{font-size:13px;letter-spacing:1.8px;color:#a88a6e;margin-top:38px}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:32px}.login-content{width:100%;max-width:410px;padding:35px;background:#ffffffd9;border:1px solid #eadfce;border-radius:20px;box-shadow:0 12px 40px #6b452608}.login-content>.eyebrow{margin-bottom:15px;font-size:13px}.login-content h2{font-size:26px;font-weight:600;letter-spacing:-.7px;margin:0 0 13px}.login-content>p{font-size:13px;color:#a0846b;line-height:1.9;margin:0 0 28px}.login-content .button{width:100%;min-height:44px;font-size:13px}.login-content .button+.button{margin-top:10px}.login-help{font-size:13px;color:#b0967e;line-height:1.85;margin-top:24px;padding-top:20px;border-top:1px solid #eee1d0}.login-error{background:#fff5e9;border:1px solid #efdfc8;padding:13px 15px;color:#a27d54;font-size:13px;line-height:1.85;border-radius:10px;margin-top:18px}.login-error+.button{margin-top:14px}
/* Dialogs and feedback */
.modal{border:1px solid #e9dbc9;border-radius:20px;padding:28px;max-width:510px;width:calc(100vw - 36px);max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 25px 90px #24160c32,0 4px 15px #24160c0c;background:#fffdfa}.modal::backdrop{background:#23180fc2;backdrop-filter:blur(5px)}.modal-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:19px;padding-bottom:17px;border-bottom:1px solid #efe3d4}.modal-heading h2{font-size:19px;font-weight:600;letter-spacing:-.3px;margin:0}.modal-heading .icon-button{background:#f6eee5;border-color:#eadfce}.modal p{font-size:13px;color:#a0856c;line-height:1.85;margin:0 0 22px}.form-field{display:block;margin-bottom:17px}.form-field>span{display:block;font-size:13px;color:#8f6d50;font-weight:550;margin-bottom:8px}.form-field input{width:100%;min-height:43px;padding:11px 13px;border:1px solid #e7d9c7;border-radius:9px;color:#76553a;background:#fff;font-size:13px;box-shadow:inset 0 1px 2px #4c301005}.form-field input::placeholder{color:#c0a88f}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid #eee3d5}.form-error{font-size:13px;color:#ab664b;background:#fff1e8;border:1px solid #efdbca;border-radius:9px;padding:12px 14px;margin-top:16px}.checkbox-list{display:flex;flex-direction:column;gap:8px;max-height:320px;overflow:auto;padding:2px}.checkbox-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #eadecc;border-radius:10px;padding:14px;cursor:pointer;background:#fff}.checkbox-option:has(input:checked){background:#fff6e9;border-color:#ddbb90}.checkbox-option input{accent-color:#ae5932;margin:3px 0 0;width:16px;height:16px;flex-shrink:0}.checkbox-option strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere;color:#826244}.checkbox-option small{font-size:13px;color:#b09275;display:block;margin-top:3px}.secret-token{white-space:pre-wrap;word-break:break-all;background:#f7efe3;border:1px dashed #dcbfa0;border-radius:10px;padding:18px;font-size:13px;line-height:1.8;color:#8d643f;margin:0 0 15px}.toast-region{position:fixed;bottom:26px;left:calc(50% + 112px);transform:translateX(-50%);z-index:100;pointer-events:none;max-width:calc(100vw - 36px)}.toast{background:#37291d;color:#fff0de;border:1px solid #75503045;padding:13px 22px;border-radius:12px;box-shadow:0 8px 30px #2c1c1425;font-size:13px}.toast.error{background:#693f2b}.mobile-menu,.mobile-brand-logo{display:none}.no-script{padding:40px;text-align:center;color:var(--muted)}
/* Responsive layouts */
@media(min-width:1600px){#workspace{padding-top:42px}.chart-wrap{height:270px}.metric-value{font-size:39px}.opportunity-item{padding:18px 0}}
@media(max-width:1200px){.topbar,.demo-banner{padding-left:27px;padding-right:27px}#workspace{padding:28px 27px 35px}.metrics-grid{gap:11px}.metric-card{padding:19px 17px}.metric-value{font-size:30px}.content-grid{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:16px}.panel-heading{padding:20px 20px 0}.chart-wrap{margin-left:15px;margin-right:15px}.opportunity-item{margin-left:20px;margin-right:20px}.integration-hero{padding:27px;gap:24px}.login-brand-panel{padding:35px}.login-form-panel{padding:15px}.login-content{padding:29px}.app-footer{padding-left:27px;padding-right:27px}th,td{padding-left:20px;padding-right:20px}}
@media(max-width:1020px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.sidebar .brand{font-size:20px;gap:6px}.sidebar .brand-logo{width:36px;height:36px}.app-main{margin-left:210px}.content-grid{grid-template-columns:1fr}.opportunities-panel .opportunities-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 4px 12px}.opportunity-item{padding:15px 0 8px;border-bottom:0;margin-left:19px;margin-right:19px;gap:9px}.integration-hero{grid-template-columns:1fr;gap:23px}.integration-hero p,.integration-hero h2{max-width:none}.client-badges{margin-top:17px}.page-heading h1{font-size:25px}.metric-value{font-size:26px}.metric-card{padding:17px 13px}.metric-top{font-size:13px}.metric-bottom{font-size:13px;gap:5px}.filter-hint,.workspace-tag{display:none}.toast-region{left:calc(50% + 105px)}.steps-grid{gap:11px}.step-card{padding:20px}.login-screen{gap:15px;padding:18px}.login-brand-panel{min-height:calc(100dvh - 36px);padding:28px}.login-brand-panel h1{font-size:34px}.login-values{gap:7px}.login-values>span{font-size:13px;padding:5px 7px}.login-content{padding:25px}.login-content h2{font-size:23px}}
@media(max-width:760px){.sidebar{width:238px;transform:translateX(-100%);transition:transform .2s;padding:28px 20px 0}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:22px}.sidebar .brand-logo{width:40px;height:40px}.sidebar-backdrop{display:block;position:fixed;inset:0;background:#25190d70;border:0;z-index:19;backdrop-filter:blur(2px)}.app-main{margin-left:0}.mobile-menu{display:grid;margin-left:-7px}.mobile-brand-logo{display:block;width:25px;height:25px;object-fit:contain;flex-shrink:0;margin-right:-5px}.topbar{height:62px;padding:0 20px}.breadcrumb{gap:10px;font-size:13px}.demo-banner{padding:11px 20px;align-items:flex-start;gap:8px;font-size:13px}.demo-banner>div{gap:5px 7px}.demo-banner>div>span:last-child{width:100%;padding-left:12px;font-size:13px}.demo-banner .text-button{font-size:13px;margin-top:1px}.text-button span{margin-left:3px}#workspace{padding:26px 20px 32px}.page-heading{margin-bottom:22px;gap:17px;flex-direction:column}.page-heading h1{font-size:25px}.eyebrow{font-size:13px;margin-bottom:8px;letter-spacing:1.4px}.page-description{font-size:13px;margin-top:9px}.heading-actions{padding-top:0}.heading-actions .button{min-height:36px;padding:8px 12px;font-size:13px}.heading-actions:empty{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:17px}.metric-card{padding:18px 17px;border-radius:15px}.metric-value{font-size:31px;margin-top:16px}.metric-top{font-size:13px}.metric-top .icon{width:14px;height:14px}.metric-bottom{font-size:13px;margin-top:13px;gap:5px}.metric-change{font-size:13px}.filter-bar{gap:8px;margin-bottom:17px}.select-wrap{padding-left:10px;gap:7px;flex:1;min-width:0}.select-wrap select{width:100%;font-size:13px;max-width:none;padding-right:8px;min-width:0}.select-wrap.dates{flex:0 0 112px;max-width:112px;padding-left:9px}.select-wrap.dates select{padding-left:0}.filter-bar>.button{font-size:13px;padding:8px}.filter-bar>.button .icon{width:13px}.filter-bar>.icon-button{display:none}.content-grid{gap:17px;margin-bottom:17px}.panel{border-radius:16px}.panel-heading{padding:20px 19px 0}.panel-heading h2{font-size:14px}.panel-heading p{font-size:13px}.segmented button{padding:4px 8px;font-size:13px}.chart-wrap{height:220px;margin:18px 13px 9px}.chart-footer{padding:0 20px 18px;font-size:13px}.chart-label{font-size:13px}.opportunities-panel .opportunities-list{grid-template-columns:1fr;padding:0 0 8px}.opportunity-item{margin:0 20px;padding:16px 0;border-bottom:1px solid #e9d9c4;gap:14px}.opportunity-item:last-child{border:0}.opportunity-content h3{font-size:13px}.opportunity-content p,.opportunity-numbers{font-size:13px}.opportunity-link{padding:14px 20px}.table-toolbar{padding:19px 20px 0}.table-tabs{gap:22px}.table-tabs button{font-size:13px}.table-note{font-size:13px}.table-scroll:has(th:nth-child(4)) table{min-width:540px}th,td{padding:13px 20px}.table-footer{padding:13px 20px;font-size:13px}.report-notes{font-size:13px}.app-footer{padding:17px 20px;font-size:13px;gap:18px}.app-footer>span:first-child{font-size:13px;white-space:nowrap}.toast-region{left:50%;bottom:18px}.site-card{padding:20px;flex-wrap:wrap;gap:14px;border-radius:16px}.site-icon{width:42px;height:42px}.site-card h2{font-size:14px}.site-card p{font-size:13px}.site-actions{width:100%;justify-content:space-between;padding-top:15px;border-top:1px solid #eee3d5;margin-top:2px}.info-strip{font-size:13px;padding:14px 16px;gap:9px}.integration-hero{padding:24px 21px;border-radius:17px}.integration-hero h2{font-size:23px;line-height:1.55}.integration-hero p{font-size:13px}.client-badges span{font-size:13px}.connection-card{padding:19px;border-radius:12px}.copy-field{padding:11px}.copy-field code{font-size:13px}.steps-grid{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.step-card{padding:20px;display:grid;grid-template-columns:31px 1fr;column-gap:12px;border-radius:13px}.step-number{grid-row:1/3;margin-top:1px}.step-card h3{margin:0 0 6px;font-size:13px}.step-card p{grid-column:2;font-size:13px}.tokens-heading{padding-bottom:18px}.tokens-heading p{max-width:190px}.empty-state,.error-state{padding:43px 23px}.empty-state h2,.error-state h2{font-size:18px}.empty-state p,.error-state p{font-size:13px}.loading-state{min-height:200px}.login-screen{grid-template-columns:1fr;padding:16px;gap:0}.login-brand-panel{min-height:auto;padding:27px;border-radius:19px;display:block}.login-brand-panel .brand{font-size:23px}.login-brand-panel .brand-logo{width:40px;height:40px}.login-brand-panel h1{font-size:30px;line-height:1.5;margin:31px 0 12px;letter-spacing:-1px}.login-brand-panel p{font-size:13px;max-width:310px;margin-bottom:0}.login-values{margin-top:19px;margin-bottom:1px}.login-brand-panel>small{display:none}.login-brand-panel:before{width:340px;height:340px;right:-245px;top:75px;box-shadow:0 0 0 40px #f4a44904,0 0 0 80px #f4a44903}.login-form-panel{padding:18px 0 8px}.login-content{max-width:none;border-radius:17px;padding:28px 25px}.login-content h2{font-size:24px}.login-content>p{font-size:13px;margin-bottom:23px}.login-help{font-size:13px}.modal{padding:23px;max-height:calc(100dvh - 30px);border-radius:17px}.modal-heading h2{font-size:18px}.modal p{font-size:13px}.form-actions{gap:8px}.form-actions .button{font-size:13px}.secret-token{font-size:13px;padding:15px}}
@media(max-width:374px){#workspace{padding-left:16px;padding-right:16px}.metric-card{padding:16px 14px}.metric-value{font-size:28px}.select-wrap.dates{flex-basis:103px;max-width:103px}.filter-bar>.button span{display:none}.page-heading h1{font-size:23px}.demo-banner{padding-left:16px;padding-right:16px}.login-brand-panel{padding:24px}.login-content{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* Consistent reading size and contrast across every viewport. */
:root{--muted:#776b5f}
.page-description,.info-strip,.modal p,.login-content>p,.login-brand-panel p,.empty-state p,.error-state p,.integration-hero p,.step-card p,.site-card p,.form-field input,.checkbox-option strong,.copy-field code,.secret-token,.opportunity-content p,.opportunity-content h3,.loading-state,.button,.table-scroll table,.clients-name strong{font-size:14px}
.page-description,.filter-hint,.metric-top,.metric-bottom,.panel-heading p,.chart-footer,.opportunity-content p,.opportunity-index,.opportunity-numbers,.table-note,thead,th,td,.table-row-index,.table-footer,.report-notes,.app-footer,.empty-state p,.error-state p,.loading-state,.site-card p,.info-strip,.clients-name span:not(.avatar),.integration-hero p,.client-badges span,.field-label,.connection-help,.step-card p,.step-number,.login-content>p,.login-help,.login-error,.modal p,.form-field>span,.checkbox-option small{color:#77614f}
.eyebrow,.breadcrumb,.workspace-tag,.demo-banner,.demo-banner strong,.status-pill,.status-pill.warning,.metric-change.neutral,.form-field input::placeholder{color:#806044}.chart-label{fill:#806a57;font-size:13px}.brand-subtitle{font-size:13px;letter-spacing:1px}.sidebar .brand-subtitle{font-size:13px;letter-spacing:.6px}.nav-label{color:#b49a83}.sidebar-note a,.account-box>div>span{color:#bda58f}.login-brand-panel p{color:#c6b19e}.login-values>span{color:#cfb698;font-size:13px}.login-brand-panel>small{color:#bfa085;letter-spacing:1px}.login-content .button{font-size:14px}.login-help,.login-error{font-size:13px}.table-tabs button{font-size:14px}.site-card h2{font-size:16px}.connection-help{font-size:13px!important}.form-field>span,.checkbox-option small,.form-error{font-size:13px}.clients-name span:not(.avatar){font-size:13px}.button-small,.heading-actions .button,.form-actions .button{font-size:13px}.table-scroll table{line-height:1.7}.metric-change{font-size:13px}.login-values .icon{width:13px;height:13px}.breadcrumb strong{color:#584535}
@media(max-width:760px){.page-description,.info-strip,.modal p,.login-content>p,.login-brand-panel p,.empty-state p,.error-state p,.integration-hero p,.step-card p,.site-card p,.form-field input,.checkbox-option strong,.copy-field code,.secret-token,.opportunity-content p,.opportunity-content h3,.loading-state,.table-scroll table{font-size:14px}.page-heading h1{font-size:26px}.demo-banner{flex-wrap:wrap;gap:8px}.demo-banner>div>span:last-child{font-size:13px}.demo-banner .text-button{font-size:13px}.filter-bar{gap:9px}.select-wrap{flex-basis:calc(100% - 127px)}.select-wrap.dates{flex-basis:118px;max-width:118px}.select-wrap select{font-size:13px}.filter-bar>.button{padding:8px 12px;font-size:13px}.metric-card{padding:18px 15px}.metric-bottom{gap:5px;line-height:1.5}.chart-wrap{margin-left:14px;margin-right:14px}.table-note{font-size:13px}.table-toolbar{align-items:flex-start}.table-note{max-width:125px;text-align:right}.tokens-heading{align-items:flex-start}.tokens-heading p{max-width:195px}.tokens-heading .button{font-size:13px}.app-footer{flex-wrap:wrap;gap:6px 20px}.breadcrumb{gap:9px}.breadcrumb>span:nth-of-type(1){font-size:13px}.login-values{gap:8px}.login-content h2{font-size:25px}.login-brand-panel .brand{font-size:23px}}

/* Product-wide accessible text scale; mobile retains the same reading size. */
body{font-size:16px}.page-heading h1{font-size:30px}.page-description,.info-strip,.modal p,.login-content>p,.login-brand-panel p,.empty-state p,.error-state p,.integration-hero p,.step-card p,.site-card p,.form-field input,.checkbox-option strong,.copy-field code,.secret-token,.opportunity-content p,.loading-state{font-size:16px}.table-scroll table,td,.clients-name strong,.opportunity-content h3,.step-card h3,.nav-item{font-size:15px}.button,.button-small,.heading-actions .button,.form-actions .button,.tokens-heading .button,.filter-bar>.button,.login-content .button{font-size:14px;min-height:40px}.icon-button{min-width:34px;min-height:34px}.select-wrap select{font-size:15px;min-height:43px}.table-tabs button{font-size:15px}.panel-heading h2{font-size:18px}.panel-heading p,.filter-hint,.metric-bottom,.metric-change,.table-note,th,.table-footer,.report-notes,.app-footer,.app-footer>span:first-child,.chart-footer,.clients-name span:not(.avatar),.checkbox-option small,.form-error,.field-label,.form-field>span,.status-pill,.demo-banner,.demo-banner>div>span:last-child,.demo-banner .text-button,.text-button,.breadcrumb,.breadcrumb>span:nth-of-type(1),.workspace-tag,.login-help,.login-error,.client-badges span,.connection-help,.login-values>span,.account-box>div>span,.nav-label{font-size:13px}.metric-top,.site-card h2{font-size:15px}.metric-value{font-size:37px}.account-box strong{font-size:13px}.account-box .avatar{width:35px;height:35px}.account-box strong,.account-box span:not(.avatar){max-width:105px}.sidebar-note p{font-size:19px}.sidebar-note a{font-size:14px}.sidebar .brand-subtitle{font-size:13px;letter-spacing:.4px}.brand-subtitle{font-size:13px}.eyebrow{font-size:12px}.chart-label{font-size:13px;fill:#6d5947}.chart-footer{line-height:1.65}.metric-bottom{color:#6e5947}.metric-change.neutral{color:#70563e}.page-description,.filter-hint,.metric-top,.panel-heading p,.opportunity-content p,.opportunity-index,.opportunity-numbers,.table-note,thead,th,td,.table-row-index,.table-footer,.report-notes,.app-footer,.empty-state p,.error-state p,.loading-state,.site-card p,.info-strip,.clients-name span:not(.avatar),.integration-hero p,.client-badges span,.field-label,.connection-help,.step-card p,.step-number,.login-content>p,.login-help,.login-error,.modal p,.form-field>span,.checkbox-option small,.breadcrumb,.workspace-tag{color:#6c5644}.login-brand-panel p{color:#cfbcaa}.login-values>span{color:#d5bfa6}.account-box>div>span,.sidebar-note a,.nav-label{color:#c4ad96}.connection-help{font-size:13px!important}.empty-state h2,.error-state h2,.modal-heading h2{font-size:22px}.site-card h2{font-size:18px}.login-content h2{font-size:28px}.login-brand-panel>small{font-size:13px}.sidebar-note{padding:20px 12px}.table-scroll:has(th:nth-child(4)) table{min-width:650px}.table-toolbar{gap:18px}.table-note{max-width:none}.tokens-heading p{max-width:520px}.form-field input::placeholder{color:#826a55}.checkbox-option input{width:18px;height:18px}.download-card{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px 28px;margin:0 0 22px;box-shadow:var(--shadow)}.download-card h3{font-size:18px;font-weight:600;margin:0 0 7px}.download-card p{font-size:15px;line-height:1.85;color:#6c5644;margin:0;max-width:650px}.download-card>.button{flex-shrink:0}
@media(max-width:1020px){.page-heading h1{font-size:29px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:21px}.metric-value{font-size:36px}.opportunities-panel .opportunities-list{grid-template-columns:1fr}.opportunity-item{border-bottom:1px solid #e9d9c4;margin:0 22px;padding:18px 0}.opportunity-item:last-child{border-bottom:0}.opportunity-numbers{font-size:13px}.tokens-heading{flex-wrap:wrap}.login-brand-panel h1{font-size:36px}.download-card{align-items:flex-start;flex-direction:column;gap:20px}}
@media(max-width:760px){.page-heading h1{font-size:29px}.page-description,.info-strip,.modal p,.login-content>p,.login-brand-panel p,.empty-state p,.error-state p,.integration-hero p,.step-card p,.site-card p,.form-field input,.checkbox-option strong,.copy-field code,.secret-token,.opportunity-content p,.loading-state{font-size:16px}.table-scroll table,td,.clients-name strong,.opportunity-content h3,.step-card h3,.nav-item{font-size:15px}.button,.button-small,.heading-actions .button,.form-actions .button,.tokens-heading .button,.filter-bar>.button,.login-content .button{font-size:14px}.metric-card{padding:20px 15px}.metric-top{font-size:14px;line-height:1.65}.metric-top .icon{display:none}.metric-value{font-size:33px;margin-top:15px}.metric-bottom,.metric-change{font-size:13px}.metric-bottom{align-items:flex-start;flex-direction:column;gap:6px}.panel-heading h2{font-size:18px}.panel-heading p,.chart-footer,.table-note,th,.table-footer,.report-notes,.app-footer,.app-footer>span:first-child,.checkbox-option small,.form-error,.field-label,.form-field>span,.status-pill,.demo-banner,.demo-banner>div>span:last-child,.demo-banner .text-button,.text-button,.breadcrumb,.breadcrumb>span:nth-of-type(1),.login-help,.login-error,.client-badges span,.connection-help,.login-values>span{font-size:13px}.table-tabs button{font-size:15px}.table-toolbar{flex-wrap:wrap;gap:0 20px}.table-note{padding-top:7px;text-align:left;max-width:none}.table-tabs button{padding-bottom:12px}.select-wrap{flex-basis:calc(100% - 141px)}.select-wrap.dates{flex-basis:132px;max-width:132px}.select-wrap select{font-size:15px}.filter-bar>.button{padding:9px 13px}.filter-bar>.button span{display:inline}.info-strip{gap:10px}.tokens-heading p{max-width:none}.tokens-heading{gap:17px}.step-card h3{font-size:16px}.integration-hero h2{font-size:27px}.site-card h2{font-size:18px}.site-actions{gap:10px;flex-wrap:wrap}.modal-heading h2{font-size:22px}.modal{padding:24px}.form-actions{flex-wrap:wrap}.login-content h2{font-size:28px}.login-brand-panel h1{font-size:33px}.login-values>span{font-size:13px}.login-brand-panel p{line-height:1.9}.login-content{padding:29px 25px}.download-card{padding:23px 21px}.download-card p{font-size:16px}.download-card>.button{width:100%}.breadcrumb{gap:8px}.mobile-brand-logo{width:24px;height:24px}.demo-banner{gap:9px}.demo-banner>div>span:last-child{padding-left:0}.demo-banner .text-button{margin-left:12px}}

/* Demo-only labels stay visible when a metric card is captured on its own. */
.demo-metric-badge{display:inline-flex;align-items:center;border:1px solid #dcb98e;background:#fff1db;color:#805126;border-radius:5px;padding:2px 7px;margin-bottom:13px;font-size:13px;font-weight:600;line-height:1.6}.demo-connection-notice{padding:26px 28px;border:2px solid #d9904f;border-radius:16px;background:#fff1d9;margin:0 0 23px}.demo-connection-notice h2{font-size:26px;font-weight:650;line-height:1.45;color:#753e1d;margin:0 0 12px}.demo-connection-notice p{font-size:16px;line-height:1.85;color:#64482f;margin:0 0 19px;max-width:830px}.demo-connection-notice .button{font-size:15px}@media(max-width:760px){.demo-connection-notice{padding:23px 21px}.demo-connection-notice h2{font-size:24px}.demo-connection-notice p{font-size:16px}}
.login-policy-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:16px;line-height:1.65}.login-policy-links a{color:#805126;text-decoration:underline;text-underline-offset:3px}.login-policy-links a:focus-visible{outline:2px solid #805126;outline-offset:4px}
.client-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:22px 24px}.client-toolbar input,.client-toolbar select{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff;color:#4f3c2e;font:inherit;font-size:15px}.client-toolbar input{flex:1;min-width:220px}.client-count,.client-protected{font-size:13px;color:#806852;white-space:nowrap}.client-email,.client-confirm-email{overflow-wrap:anywhere}.client-confirm-email{font-weight:600;color:#33251b}.status-pill.blocked{color:#9d2e24;background:#fff0ed;border-color:#edc0b9}@media(max-width:760px){.client-toolbar{padding:18px 20px}.client-toolbar input{width:100%;min-width:0;flex-basis:100%}.client-toolbar select{flex:1}}
