/* Account portal geometry follows the supplied desktop references. */
@font-face{font-family:'DM Sans';src:url('/fonts/DMSans.ttf') format('truetype');font-style:normal;font-weight:100 1000;font-display:swap}
body{font-family:'DM Sans','Segoe UI',Arial,sans-serif}
.deals-heading{display:flex;gap:12px;align-items:center;margin-bottom:28px;flex-wrap:wrap}.deals-heading h1{font-size:28px;font-weight:700;letter-spacing:0}.deal-viewtabs{display:flex;border-radius:16px;overflow:hidden;background:hsl(var(--brand-h) 93% 84.3%)}.deal-viewtabs button{border:0;border-radius:0;background:hsl(var(--brand-h) 93% 84.3%);color:hsl(var(--brand-h) 100% 35.5%);width:48px;padding:10px 14px}.deal-viewtabs button.active{background:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%)}.deal-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.deal-tools .ghost,.deal-tools .icon-link{color:hsl(var(--brand-h) 100% 35.5%)}.deal-tools .primary{border-radius:13px;background:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);padding:8px 18px;border-color:hsl(var(--brand-h) 100% 18.6%);font-size:16px}.deal-filters{gap:8px;margin:0 0 12px}.deal-filters select{height:40px;border:1px solid #bbc4ca;border-radius:13px;font-size:14px;width:210px;padding:8px 14px}.deal-filters select:first-child{width:240px}.filter-button{border:0;border-radius:12px;background:hsl(var(--brand-h) 93% 83.7%);color:hsl(var(--brand-h) 100% 35.5%);font-size:16px}.deal-tags{display:flex;gap:8px;margin-bottom:24px;min-height:24px}.deal-tags>span,.deal-tags>button{background:#edf0f2;border:0;border-radius:3px;font-size:12px;padding:2px 8px;min-height:24px;display:inline-flex;align-items:center;gap:6px;font-weight:600}.deal-tags svg{width:13px;height:13px}.rd-board{gap:16px;min-height:calc(100vh - 300px);padding-bottom:4px;align-items:stretch;overflow:auto}.rd-board .column{width:352px;min-width:352px;padding:8px;border:0;border-radius:0;background:#eff0f2;min-height:calc(100vh - 300px)}.rd-board .colhead{display:flex;gap:8px;align-items:center;padding:0 0 12px;height:48px;font-size:14px;color:#465d69}.stage-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.stage-total{background:#dce2e5;padding:3px 7px;border-radius:2px;font-size:12px;white-space:nowrap;font-weight:600}.colhead .icon{padding:4px;width:28px;min-width:28px;min-height:28px;color:hsl(var(--brand-h) 100% 35.5%)}.colhead .icon svg{width:16px;height:16px}.rd-board .deal{border-radius:2px;border:1px solid #e0e3e5;box-shadow:none;margin:0 0 8px;padding:9px 8px;cursor:default}.card-status{font-size:14px;display:flex;align-items:center;gap:4px;color:#405664;margin:6px 0 14px}.card-status:before{content:'';height:12px;width:12px;border-radius:2px;background:#9baeba}.card-status.lost:before{background:#e0005a}.card-status.won:before{background:#28a577}.deal-title{font-size:14px;font-weight:650;color:hsl(var(--brand-h) 100% 12.0%);margin-bottom:16px;display:block;line-height:1.5}.card-meta{display:flex;align-items:center;gap:14px;color:#627582;font-size:12px;margin:4px 8px 10px}.card-meta svg{width:14px;height:14px}.card-task{width:100%;min-height:24px;height:24px;border:0;border-radius:0;background:#edf0f2;font-size:12px;color:#445d69;padding:2px 8px}.card-task svg{width:14px;height:14px}.card-price{display:block;font-size:13px;margin:0 8px 10px;color:hsl(var(--brand-h) 100% 12.0%)}.card-price small{display:block;font-size:11px}.deals-page .tablewrap{border-radius:3px}
@media(max-width:1100px){.deal-tools{margin-left:0;flex-wrap:wrap}.deal-filters select{width:185px}.deal-filters select:first-child{width:210px}}
@media(max-width:700px){.deal-tools{justify-content:flex-end;width:100%;gap:5px}.deal-tools .ghost{font-size:14px;padding:8px}.deal-filters select,.deal-filters select:first-child{flex:initial;width:calc(50% - 5px);max-width:none;font-size:13px}.deal-filters .filter-button{font-size:14px}.rd-board .column{width:352px;min-width:352px}.rd-board{margin-right:-24px;min-height:400px}.rd-board .column{min-height:400px}}
.forgot-password{padding:0;min-height:24px;border:0;background:none!important;color:hsl(var(--brand-h) 100% 35.5%);justify-content:flex-start;font-size:18px;text-align:left}.recovery-display{margin-top:24px}.recovery-display input{font-family:monospace}.product-header{height:64px;background:hsl(var(--brand-h) 100% 12.0%);color:#fff;display:flex;align-items:center;gap:14px;padding:0 24px;position:relative;z-index:25}.product-header .ghost{color:#fff}.product-logo{color:hsl(var(--brand-h) 100% 46.5%);display:flex;align-items:center;gap:16px;font-size:22px;white-space:nowrap}.product-logo>.growth-brand{display:contents}.product-logo>.growth-mark{width:30px;height:32px}.product-logo>.growth-mark svg{color:hsl(var(--brand-h) 100% 12.0%)}.product-logo>span:nth-child(2){font-size:20px}.product-divider{height:28px;width:1px;background:#156076}.product-navigation{display:flex;align-items:center;gap:4px;margin-left:16px;flex:1}.crm-nav-link{display:flex;align-items:center;gap:8px;color:#fff;padding:12px 10px;font-size:14px;font-weight:600;white-space:nowrap}.crm-nav-link svg{width:18px;height:18px}.crm-nav-link.active{color:hsl(var(--brand-h) 100% 46.5%)}.product-account{display:flex;align-items:center;gap:8px;margin-left:auto}.icon-link{display:grid;place-items:center;width:40px;height:40px;color:#fff}.account-switch-button{background:none!important;border:0;color:#fff;padding:0;gap:12px}.account-switch-button b{font-size:14px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-switch-button .account-avatar{width:32px;height:32px;border-radius:13px}.product-menu-toggle{display:none}.product-dropdown,.account-dropdown{position:absolute;z-index:24;top:68px;background:#103342;border-radius:16px;padding:12px;color:#fff;box-shadow:0 8px 30px hsl(var(--brand-h) 100% 12.0% / 0.19);max-height:calc(100vh - 80px);overflow:auto}.product-dropdown{left:12px;width:230px}.account-dropdown{right:20px;min-width:250px}.product-dropdown[hidden],.account-dropdown[hidden]{display:none}.product-dropdown a,.product-dropdown button,.account-dropdown a,.account-dropdown button{display:flex;align-items:center;gap:10px;color:#fff;background:transparent;border:0;font-size:14px;padding:10px 12px;min-height:40px;text-align:left;width:100%;justify-content:flex-start}.product-dropdown a:hover,.product-dropdown button:hover,.account-dropdown a:hover,.account-dropdown button:hover{background:#ffffff15}.product-dropdown small{display:block;padding:20px 12px 10px;color:#c9e1eb;font-size:11px}.product-dropdown hr{border:0;border-top:1px solid #ffffff26}.account-dropdown>strong,.account-dropdown>small{display:block;padding:4px 12px;color:#fff}.account-dropdown>small{margin-bottom:14px;color:#c9e1eb}.product-page{max-width:none;padding:40px 32px;background:#fff;min-height:calc(100vh - 64px)}.product-app{background:#fff}.product-page .pagehead .eyebrow{display:none}.product-page .pagehead h1{font-size:28px;font-weight:700}.marketing-navigation{height:56px;padding:0 32px;display:flex;gap:28px;align-items:center;border-bottom:1px solid #d2d9df;background:#fff;overflow:auto}.marketing-navigation a{white-space:nowrap;color:#334d5a}.marketing-navigation a.active{color:hsl(var(--brand-h) 100% 35.5%);border-bottom:3px solid hsl(var(--brand-h) 100% 35.5%);padding:16px 0}.search-result{display:flex;width:100%;justify-content:space-between;gap:15px;margin-top:10px;text-align:left}.search-result small{white-space:nowrap}
@media(max-width:1450px){.product-menu-toggle{display:inline-flex}.product-navigation{display:none}.product-header{justify-content:space-between}.product-logo{position:absolute;left:50%;transform:translateX(-50%)}.product-logo>span:nth-child(2){display:none}.product-account .icon-link,.product-account>.ghost{display:none}}
@media(max-width:700px){.product-header{padding:0 12px}.account-switch-button b,.account-switch-button>span:last-child{display:none}.product-page{padding:32px 24px}.product-logo{font-size:20px}.product-logo>.growth-mark{height:30px;width:28px}.product-page .pagehead h1{font-size:28px}.marketing-navigation{padding:0 24px;gap:24px}.account-dropdown{right:12px}.product-page .stats{grid-template-columns:repeat(2,1fr)}}
:root{--sidebar:hsl(var(--brand-h) 100% 12.0%);--sidebar-muted:#b8d5de;--accent:hsl(var(--brand-h) 100% 35.5%);--accent-soft:#e6f7fc;--text:hsl(var(--brand-h) 100% 12.0%);--muted:#657b8c;--bg:#f1f4f5;--line:#d2d9df;--input:#aabac5;--blue:hsl(var(--brand-h) 100% 35.5%)}
.account-header{height:80px;display:flex;align-items:center;padding:0 38px;background:#fff}
.growth-brand{display:inline-flex;align-items:center;gap:8px;font-size:27px;letter-spacing:-.7px;color:hsl(var(--brand-h) 100% 12.0%);white-space:nowrap}
.growth-brand b{font-weight:750}.growth-mark{width:32px;height:36px;display:grid;place-items:center;background:currentColor;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.growth-mark svg{color:#fff;width:23px;height:23px}.growth-auth{display:grid;grid-template-columns:49% 51%;min-height:calc(100vh - 80px)}
.growth-story{position:relative;padding:32px 8% 60px 15.4%;overflow:hidden;background:radial-gradient(ellipse at 100% 30%,#e4ff9c 0,transparent 50%),radial-gradient(ellipse at 105% 94%,#466e45 0,transparent 28%),radial-gradient(ellipse at -5% 88%,#608579 0,transparent 20%),#eff1e9}
.growth-story h1{font-size:clamp(48px,4.05vw,78px);line-height:1.15;letter-spacing:-2.1px;font-weight:750;max-width:660px}
.growth-story>p{font-size:clamp(28px,2.5vw,48px);line-height:1.23;margin-top:24px;max-width:660px;letter-spacing:-1.1px}
.story-bottom{margin-top:58px;max-width:680px}.story-bottom p{font-size:clamp(22px,1.8vw,34px);line-height:1.14;letter-spacing:-.7px;text-decoration:underline}.story-bottom>a{display:inline-block;background:#d8ff57;color:hsl(var(--brand-h) 100% 5.5%);font-weight:800;font-size:clamp(16px,1.3vw,25px);margin-top:62px;padding:12px 17px;border-radius:8px}
.growth-access{padding:6px 32px 24px;display:flex;align-items:center;flex-direction:column;background:#f1f4f5}
.auth-switch{width:min(100%,516px);display:flex;align-items:center;justify-content:flex-end;gap:30px;min-height:54px;font-size:18px;margin-bottom:1px}.auth-switch button{background:hsl(var(--brand-h) 100% 84.3%);border:none;color:hsl(var(--brand-h) 100% 34.7%);font-size:16px;padding:8px 16px}
.growth-login-card{width:min(100%,516px);background:#fff;border-radius:20px;padding:26px 31px 30px;box-shadow:0 4px 18px hsl(var(--brand-h) 100% 12.0% / 0.08)}
.growth-login-card h1{font-size:44px;line-height:1.4;font-weight:700;letter-spacing:-1px;margin-bottom:31px}
.growth-login-card form{display:grid;gap:24px}.growth-login-card .field{font-size:18px;gap:7px}.growth-login-card input{height:50px;font-size:18px;border-radius:15px;padding:10px 15px}.growth-login-card input::placeholder{color:#52697e}.password-input{position:relative}.password-input input{padding-right:50px}.password-input button{position:absolute;right:5px;top:5px;color:#5b6f7e}.password-input svg{width:22px;height:22px}.remember{font-size:18px;gap:10px;align-items:flex-start}.remember input{height:23px;min-width:23px;width:23px;margin:2px 0 0}.growth-login-card .login-submit{height:50px;border-radius:15px;background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 48.6%);font-size:20px;font-weight:700;width:100%;margin-top:4px}.growth-login-card .formerror:empty{display:none}.growth-login-card .formerror{margin:0}.auth-footer{font-size:12px;color:#657b8c;margin-top:22px}
.account-home{min-height:100vh;background:hsl(var(--brand-h) 100% 12.0%)}.account-top{height:80px;background:hsl(var(--brand-h) 100% 12.0%);display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:20px;color:#fff}.account-top .growth-brand{color:hsl(var(--brand-h) 100% 46.5%)}.account-top .growth-mark svg{color:hsl(var(--brand-h) 100% 12.0%)}.account-person{display:flex;align-items:center;gap:15px;font-size:18px}.account-person>b{max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-person button{color:#fff}.account-avatar{width:40px;height:40px;background:hsl(var(--brand-h) 100% 84.7%);color:hsl(var(--brand-h) 100% 12.0%);border-radius:16px;display:grid;place-items:center}
.account-rail{position:absolute;top:98px;left:0;width:80px;display:flex;flex-direction:column;gap:9px}.account-rail>a,.account-rail>button{width:80px;min-height:50px;display:grid;place-items:center;color:#fff;background:transparent;border:0;border-radius:0;position:relative}.account-rail svg{width:24px;height:24px}.account-rail .selected{color:hsl(var(--brand-h) 100% 46.9%)}.account-rail .selected:after{content:'';position:absolute;right:0;top:0;width:7px;height:50px;border-radius:5px 0 0 5px;background:hsl(var(--brand-h) 100% 46.9%)}
.account-content{margin-left:80px;background:#fff;border-radius:24px 0 0 0;min-height:calc(100vh - 80px);padding:48px 4.5% 64px 3.7%}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:54px}.account-heading h1{font-size:34px;font-weight:700;letter-spacing:-.5px}.account-heading .primary{border-radius:7px}.workspace-list{display:flex;flex-direction:column;gap:10px}.workspace-card{border:1px solid #d2d9df;border-radius:21px;overflow:hidden}.workspace-card>summary{min-height:120px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none}.workspace-card>summary::-webkit-details-marker{display:none}.workspace-card summary b{display:block;font-size:20px;font-weight:650}.workspace-card summary small{display:block;font-size:18px;color:#7b8c9e;margin-top:3px}.workspace-card summary>svg{color:hsl(var(--brand-h) 100% 35.5%);width:24px;height:24px;transition:transform .15s}.workspace-card[open] summary>svg{transform:rotate(180deg)}.workspace-products{border-top:1px solid #e5e9ed;margin:0 30px;padding:6px 0 20px}.workspace-products section{display:flex;gap:18px;align-items:center;padding:20px 0}.workspace-products section+section{border-top:1px solid #edf0f3}.workspace-products section>button{margin-left:auto;flex-shrink:0}.workspace-products h2{font-size:20px}.workspace-products p{color:#657b8c;margin-top:3px}.product-symbol{height:48px;width:48px;border-radius:12px;background:hsl(var(--brand-h) 86% 94.5%);color:hsl(var(--brand-h) 100% 35.5%);display:grid;place-items:center;flex-shrink:0}.product-symbol svg{width:26px;height:26px}.workspace-empty{padding:56px 24px;text-align:center;border:1px dashed #b4c8d4;border-radius:20px}.workspace-empty .product-symbol{margin:0 auto 20px}.workspace-empty p{max-width:500px;margin:12px auto 22px;color:#657b8c}.workspace-switch{color:#fff}.workspace-switch b{overflow-wrap:anywhere}.workspace-switch:hover{color:hsl(var(--brand-h) 100% 46.9%)}.brandmark{letter-spacing:-1px;padding:0}
@media(max-width:1100px){.growth-story{padding-left:10%;padding-right:7%}.growth-access{padding-left:24px;padding-right:24px}.auth-switch{gap:12px;font-size:14px}.account-content{padding-right:32px;padding-left:32px}}
@media(max-width:700px){.account-header{height:72px;padding:0 24px}.growth-brand{font-size:24px}.growth-auth{grid-template-columns:1fr;min-height:calc(100vh - 72px)}.growth-story{display:none}.growth-access{padding:12px 20px 30px}.auth-switch{justify-content:space-between;margin-bottom:10px;gap:8px}.auth-switch button{font-size:13px}.growth-login-card{padding:24px;border-radius:16px}.growth-login-card h1{font-size:34px}.growth-login-card .field,.remember{font-size:16px}.account-top{height:72px;padding:0 16px}.account-person{gap:4px}.account-person>b,.account-avatar{display:none}.account-rail{width:52px;top:92px}.account-rail>a,.account-rail>button{width:52px}.account-content{margin-left:52px;min-height:calc(100vh - 72px);padding:28px 16px;border-radius:20px 0 0}.account-heading{align-items:flex-start;flex-direction:column;margin-bottom:24px;gap:16px}.account-heading h1{font-size:27px}.workspace-card{border-radius:16px}.workspace-card>summary{min-height:108px;padding:18px 16px}.workspace-card summary b{font-size:18px;overflow-wrap:anywhere}.workspace-card summary small{font-size:14px;overflow-wrap:anywhere}.workspace-card summary>span{min-width:0}.workspace-products{margin:0 16px}.workspace-products section{flex-wrap:wrap;gap:12px}.workspace-products section>div:nth-child(2){flex:1;min-width:130px}.workspace-products section>button{width:100%}.workspace-products h2{font-size:18px}.workspace-products p{font-size:13px}.workspace-empty{padding:30px 15px}.workspace-empty h2{font-size:18px}.workspace-empty button{width:100%}}
/* Desktop CRM reference: 64px top bar and 64px icon rail. */
.product-header{position:sticky;top:0;padding:0 20px;gap:12px}.product-logo{position:static;transform:none;font-size:22px}.product-logo>span:nth-child(2){display:none}.product-menu-toggle{display:none}.product-navigation{position:fixed;left:0;top:64px;bottom:0;width:64px;margin:0;padding:16px 0;background:linear-gradient(hsl(var(--brand-h) 100% 12.0%),hsl(var(--brand-h) 100% 17.6%));display:flex;flex-direction:column;gap:0;z-index:23;align-items:stretch}.product-navigation .crm-nav-link{width:64px;height:48px;padding:12px 20px;font-size:0;gap:0;position:relative}.product-navigation .crm-nav-link svg{width:24px;height:24px}.product-navigation .crm-nav-link.active:after{content:'';position:absolute;right:0;top:4px;bottom:4px;width:6px;background:hsl(var(--brand-h) 100% 46.5%);border-radius:4px 0 0 4px}.product-page{margin-left:64px;border-radius:24px 0 0;background:#fff;padding:40px 48px}.product-app{background:hsl(var(--brand-h) 100% 12.0%)}.product-account>.ghost,.product-account .icon-link{display:inline-flex}.product-account .icon-link{align-items:center;justify-content:center}.marketing-navigation{margin-left:64px}.deal-tools{flex:1;margin-left:4px}.deal-tools>[data-action=deal-actions]{margin-left:auto}.rd-board{margin-right:-48px}.rd-board .column{border:1px solid #d7dadd;border-radius:3px}.deals-heading{flex-wrap:nowrap}.deal-tools{flex-wrap:nowrap}.deal-tools>.ghost{white-space:nowrap}.product-header .product-divider{margin-left:2px}
@media(max-width:1100px){.deals-heading{flex-wrap:wrap}.deal-tools{flex-wrap:wrap;flex-basis:100%}.product-page{padding:40px 32px}.rd-board{margin-right:-32px}.deal-filters select,.deal-filters select:first-child{width:calc(33% - 5px)}}
@media(max-width:900px){.product-menu-toggle{display:inline-flex}.product-navigation{display:none}.product-page{margin-left:0;border-radius:0}.product-logo{position:absolute;left:50%;transform:translateX(-50%)}.product-account>.ghost,.product-account .icon-link{display:none}.marketing-navigation{margin-left:0}.product-page{padding:40px 32px}}
@media(max-width:700px){.product-page{padding:32px 24px}.rd-board{margin-right:-24px}.deal-filters select,.deal-filters select:first-child{width:calc(50% - 5px)}.deals-heading h1{font-size:27px}.deal-tools{width:100%;justify-content:flex-end}.deal-tools>[data-action=deal-actions]{margin-left:0}}
.contacts-page .pagehead{margin:8px 0 40px;align-items:center}.contacts-page .pagehead h1{font-size:28px}.contacts-page .pagehead .primary{background:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-color:hsl(var(--brand-h) 100% 18.6%);border-radius:13px;height:40px;padding:8px 16px}.contacts-page .icon-link{color:hsl(var(--brand-h) 100% 35.5%)}.import-link{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:8px 16px;border-radius:12px;color:hsl(var(--brand-h) 100% 35.5%);background:hsl(var(--brand-h) 93% 83.7%);font-weight:650;font-size:16px}.contacts-tools{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin:0 0 24px;min-height:40px}.contacts-page .tablewrap{border:0;border-radius:0}.contacts-page table{table-layout:fixed;white-space:normal}.contacts-page th{font-size:11px;text-transform:uppercase;background:#fff;color:#51606a;font-weight:700;height:52px;border-bottom:2px solid #ddd}.contacts-page td{height:73px;border-bottom:1px solid #ddd;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contacts-page th,.contacts-page td{padding:16px}.contacts-page th:first-child{width:50px}.contacts-page th:nth-child(2){width:19%}.contacts-page th:nth-child(3){width:15%}.contacts-page th:nth-child(4){width:16%}.contacts-page th:nth-child(5){width:16%}.contacts-page th:nth-child(6){width:14%}.contacts-page th:nth-child(7){width:13%}.contacts-page th:last-child{width:42px}.contacts-page input[type=checkbox]{width:18px;height:18px;min-height:18px;vertical-align:middle}.contacts-page .textbutton{font-size:14px;color:hsl(var(--brand-h) 100% 35.5%);font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-info{border:0;border-radius:50%;min-height:18px;height:18px;width:18px;padding:0;color:white;background:#9ca7ae;font:700 12px Georgia,serif}.contacts-page td>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.contacts-tools>span{margin-right:auto}
@media(max-width:700px){.contacts-page table{min-width:930px}.contacts-page .pagehead{align-items:flex-start;margin:0 0 24px}.contacts-page .pagehead .actions{justify-content:flex-end}.contacts-tools{flex-wrap:wrap}}
.workspace-edit{display:flex;justify-content:flex-end;padding-top:12px}.workspace-edit button{font-size:12px;color:hsl(var(--brand-h) 100% 35.5%);border:0;min-height:32px}
.modal:has(#workflow-form){width:min(1100px,calc(100vw - 32px));max-width:none}
.flow-canvas{margin-top:24px;padding:24px;background:#f5f7f9;border:1px solid #d7e0e5;border-radius:12px;overflow:auto}
.flow-start,.flow-end{display:flex;align-items:center;justify-content:center;gap:8px;max-width:260px;margin:0 auto 24px;padding:12px 20px;background:hsl(var(--brand-h) 100% 13.9%);color:#fff;border-radius:24px;font-weight:650}
.flow-end{margin:24px auto 0;background:#e5edf1;color:hsl(var(--brand-h) 100% 13.9%)}
.flow-canvas .flow-action{display:block;background:#fff;border:1px solid #cbd7de;padding:16px;margin:0 0 20px;box-shadow:0 2px 5px hsl(var(--brand-h) 100% 12.5% / 0.06)}
.action-fields{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.action-fields>.field{flex:1 1 170px;min-width:140px}.action-fields>.icon{flex:0 0 40px}
.flow-branches{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.flow-branch{min-width:0;border-top:2px solid #b8ccd8;padding-top:12px}.flow-branch>h3{margin-bottom:12px;color:hsl(var(--brand-h) 100% 35.5%)}.flow-branch>button{width:100%;font-size:12px}.flow-branch .flow-action{padding:12px}.flow-branch .action-fields>.field{min-width:110px}.flow-branch .flow-branches{grid-template-columns:1fr}.flow-canvas>.footer-note{white-space:normal}
@media(max-width:700px){.flow-canvas{padding:12px}.flow-branches{grid-template-columns:1fr}.action-fields>.field{flex-basis:100%}}
.product-app{height:100vh;display:flex;flex-direction:column;overflow:hidden}.product-header{flex-shrink:0}.product-page{min-height:0;flex:1;overflow:auto;scrollbar-gutter:stable}.closed-report .report-heading h1{line-height:40px;letter-spacing:-.28px}.closed-report .report-help{line-height:24px}.closed-report .report-help .actions>button{min-height:40px}.report-help>button{min-height:24px;padding:4px}

/* Fill the available product area: the base .page auto margin must not shrink it. */
.product-page{align-self:stretch;margin-right:0;margin-top:0;margin-bottom:0}

.report-panel>header .actions{flex-wrap:wrap;min-width:0}.report-panel>header .actions>label{display:flex;align-items:center;gap:var(--space-2);max-width:100%}.report-panel>header select{min-width:0;max-width:100%;padding:var(--space-2);color:var(--text);border:var(--border) solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}.report-count-groups{display:grid;gap:var(--space-6);padding:var(--space-4)}.report-count-groups section>div{display:grid;grid-template-columns:6em minmax(0,1fr) 4em;align-items:center;gap:var(--space-3)}.report-count-track{display:block;height:var(--space-2);background:var(--bg)}.report-count-track i{display:block;height:100%}.report-count-groups h3{overflow-wrap:anywhere}.report-breakdown .footer-note{padding:var(--space-4)}

:root{--report-assignee-width:260px;--report-assignee-height:400px}.report-assignee{position:relative;max-width:100%}.report-assignee>button{max-width:100%;gap:var(--space-2)}.report-assignee>button>span:first-of-type{max-width:var(--report-assignee-width);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-assignee-popover{position:absolute;z-index:30;top:calc(100% + var(--space-2));left:0;width:min(var(--report-assignee-width),80vw);background:var(--surface);border:var(--border) solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow);padding-top:var(--space-2)}.report-assignee-search{display:block;padding:0 var(--space-2) var(--space-2)}.report-assignee-search input{width:100%;min-width:0}.report-assignee-scroll{max-height:min(var(--report-assignee-height),55vh);overflow:auto}.report-assignee-scroll>button{display:flex;border:0;justify-content:flex-start;width:100%;padding:var(--space-3) var(--space-4)}.report-assignee-scroll details{padding:var(--space-2) var(--space-4)}.report-assignee-scroll summary{text-transform:uppercase;font-size:var(--font-xs);font-weight:700;cursor:pointer;padding:var(--space-2) 0}.report-assignee-scroll label{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;font-size:var(--font-md);cursor:pointer;overflow-wrap:anywhere}.report-assignee-scroll input[type=checkbox]{width:var(--space-4);height:var(--space-4);flex-shrink:0}.report-assignee-scroll small{display:block}.report-assignee-popover footer{display:flex;justify-content:flex-end;gap:var(--space-2);padding:var(--space-2);border-top:var(--border) solid var(--line)}

/* Advanced commercial report filters follow the reference right-side drawer. */
#modal:has(#report-advanced-form){width:400px;max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;border:0;border-radius:0;padding:0;color:#12303d;box-shadow:-5px 0 24px hsl(var(--brand-h) 100% 10.0% / 0.15)}
#report-advanced-form{height:100%;display:flex;flex-direction:column;font-size:14px}
#report-advanced-form>header{display:flex;align-items:center;justify-content:space-between;min-height:94px;padding:24px;border-bottom:1px solid #e5e9eb;flex-shrink:0}
#report-advanced-form h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0}
#report-advanced-count{font-size:12px;background:#eef1f3;border-radius:12px;padding:1px 7px}
.report-advanced-body{flex:1;overflow:auto;padding:24px;min-height:0}
.report-filter-caption{font-size:12px;font-weight:600;text-transform:uppercase;color:#576873;margin:0 0 20px}
.report-filter-caption:not(:first-child){margin-top:28px}
.report-filter-field{margin:0 0 24px}.report-filter-field>span{display:block;font-weight:600;margin-bottom:8px}
.report-filter-choice{position:relative}.report-filter-choice>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:40px;padding:8px 12px;border:1px solid #b9c2c7;border-radius:12px;font-weight:400;font-size:14px}
.report-filter-choice>summary::-webkit-details-marker{display:none}
.report-filter-choice[open]>summary{outline:3px solid #d8dcde}
.report-filter-choice-list{position:relative;background:#fff;border-radius:12px;padding:12px;box-shadow:0 3px 12px #12303d26;max-height:240px;overflow:auto;z-index:1;margin-top:4px}
.report-filter-choice-list>input{width:100%;min-height:36px;margin-bottom:8px}
.report-filter-choice-list label{display:flex;align-items:center;gap:8px;padding:9px 4px;cursor:pointer;overflow-wrap:anywhere}
.report-filter-choice-list label[hidden]{display:none}.report-filter-choice-list input[type=checkbox]{width:16px;height:16px;min-height:0;flex-shrink:0}
#report-advanced-form .field{margin-bottom:24px}#report-advanced-form .field input,#report-advanced-form .field select{min-height:40px;border-radius:12px}
.report-filter-more{margin-top:24px}.report-filter-more>summary{cursor:pointer;margin-bottom:16px}
#report-advanced-form>footer{display:flex;justify-content:flex-end;gap:12px;padding:24px;border-top:1px solid #e5e9eb;flex-shrink:0}
#report-advanced-form>footer button{min-height:40px;border-radius:12px;padding:8px 18px;background:hsl(var(--brand-h) 93% 82.0%);color:hsl(var(--brand-h) 100% 32.9%);border:0;font-weight:600}
#report-advanced-form>footer button.primary{background:hsl(var(--brand-h) 100% 16.7%);color:hsl(var(--brand-h) 100% 46.9%)}

#modal:has(#report-advanced-form)::backdrop{backdrop-filter:none;background:hsl(var(--brand-h) 100% 10.0% / 0.50)}
.report-saved-row{display:flex;gap:10px;align-items:center;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #eef0f2}
.report-saved-row select{flex:1;min-width:0;min-height:40px;border:1px solid #c6cdd1;border-radius:12px;padding:8px 12px}
.report-saved-row button{width:24px;min-width:24px;padding:2px;color:hsl(var(--brand-h) 100% 33.3%)}.report-saved-row button:disabled{color:#9da7ac}
#report-saved-editor{margin-bottom:24px}#report-saved-editor[hidden]{display:none}#report-saved-notice:not(:empty){margin-bottom:16px;font-size:13px}

.report-loss-row{display:grid;grid-template-columns:minmax(130px,230px) minmax(100px,1fr) 56px;gap:16px;align-items:center;min-height:48px;margin:8px 0}
.report-loss-row>span{font-size:13px;overflow-wrap:anywhere}.report-loss-track{display:flex;height:28px}
.report-loss-track button{min-height:0;min-width:0;padding:0;border:0;border-radius:0;cursor:pointer}.report-loss-track button:hover{filter:brightness(.9)}
.report-loss-legend{margin-top:24px}.report-loss-legend summary{cursor:pointer;margin-bottom:12px}.report-loss-legend>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;margin:0 20px 8px 0}.report-loss-legend i{width:10px;height:10px;border-radius:2px}
.report-losses .tablewrap{overflow:auto}.report-losses th{white-space:nowrap}
@media(max-width:600px){.report-loss-row{grid-template-columns:minmax(80px,130px) minmax(60px,1fr) 40px;gap:8px}}

.report-assignee>button{display:flex;align-items:center}.report-assignee>button>svg{position:static;flex-shrink:0;width:var(--space-5);height:var(--space-5)}

/* Hidden controls must remain hidden even when component rules use flex. */
#report-saved-controls [hidden]{display:none}
:root{--report-filter-font:16px;--report-filter-line:24px;--report-filter-caption-line:16px;--report-filter-weight:700;--report-saved-overhang:16px}
#report-advanced-form{font-size:var(--report-filter-font);line-height:var(--report-filter-line)}
#report-advanced-form h2{font-weight:var(--report-filter-weight)}
.report-filter-caption{line-height:var(--report-filter-caption-line);margin-bottom:var(--space-4)}
.report-filter-field{margin-bottom:var(--space-4)}
.report-filter-field>span{font-weight:var(--report-filter-weight);line-height:var(--report-filter-line)}
.report-filter-choice>summary{font-size:var(--report-filter-font);line-height:var(--report-filter-line);padding:0 var(--space-3);height:var(--control)}
.report-saved-row{gap:var(--space-2);width:calc(100% + var(--report-saved-overhang))}
.report-saved-row select{height:var(--control);padding:0 var(--space-3);font-size:var(--report-filter-font)}
.report-saved-row button{width:var(--control);min-width:var(--control);height:var(--control);padding:var(--space-2)}
.report-saved-row button svg{width:var(--space-6);height:var(--space-6)}
.report-saved-row button:disabled{opacity:1}

.account-dropdown hr{border:0;border-top:1px solid #ffffff22;margin:6px 0}
.account-dropdown .account-menu-head{display:flex;gap:12px;align-items:center;padding:8px 12px 10px}.account-dropdown .account-menu-head small{display:block;color:#c9e1eb}
.account-dropdown .copy-link{display:inline;width:auto;min-height:0;padding:0;color:var(--brand-300,hsl(var(--brand-h) 100% 46.5%));text-decoration:none;font-size:inherit}.account-dropdown .copy-link:hover{background:transparent;text-decoration:underline}
.account-dropdown .account-swap{color:var(--brand-300,hsl(var(--brand-h) 100% 46.5%));font-weight:600}.account-dropdown svg{width:20px;height:20px;flex:0 0 20px}
.account-dropdown .account-user{display:flex;gap:12px;align-items:center;padding:8px 12px}.account-dropdown .account-user small{display:block;color:#c9e1eb;font-size:12px}
.account-dropdown .account-initials{display:inline-flex;width:40px;height:40px;border-radius:50%;background:#7be3d3;color:#06322d;font-weight:700;align-items:center;justify-content:center;flex:0 0 40px}
.account-dropdown .account-logout{color:#ffd6dc}.account-dropdown .account-logout svg{color:#ff6b81}
.account-person{position:relative}.account-person .account-dropdown{top:52px;right:0}.account-person .account-switch-button{display:flex;align-items:center;gap:10px;background:transparent;border:0;color:inherit}
.security-actions{display:grid;gap:8px}.security-actions button{display:flex;gap:10px;align-items:center;justify-content:flex-start}
.brand-logo{display:block;max-height:36px;max-width:170px;object-fit:contain}.product-logo .brand-logo{max-height:34px}
.brand-fields{border:1px solid var(--line,#d8dee6);border-radius:10px;margin:14px 0 0;padding:12px}.brand-fields legend{padding:0 6px;font-weight:600}.brand-fields input[type=color]{width:64px;height:38px;padding:2px}
.brand-logo-field{display:grid;gap:8px;margin-top:12px}.brand-logo-preview{min-height:44px;padding:8px;border-radius:8px;background:var(--brand-preview-bg,#12303d);display:flex;align-items:center}.brand-logo-preview small{color:#c9e1eb}

.crm-nav-link.menu-open{background:#ffffff1f;border-radius:10px}

.product-app nav.marketing-module-menu{left:76px;width:300px;padding:22px 26px;background:#0e2b3c;border-radius:22px;box-shadow:0 12px 40px #00000040}
.product-app nav.marketing-module-menu h3{margin:0 0 10px;color:hsl(var(--brand-h) 100% 46.5%);font-size:22px;font-weight:500}
.product-app nav.marketing-module-menu a,.product-app nav.marketing-module-menu .menu-action{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;color:#fff;font-size:15px;font-weight:700;background:transparent;border:0;width:100%;text-align:left}
.product-app nav.marketing-module-menu a:hover,.product-app nav.marketing-module-menu .menu-action:hover{color:hsl(var(--brand-h) 100% 46.5%)}
.product-app nav.marketing-module-menu hr{border:0;border-top:1px solid #ffffff26;margin:8px 0}
.menu-badge{display:inline-block;padding:3px 10px;border-radius:6px;background:hsl(var(--brand-h) 100% 46.5%);color:hsl(var(--brand-h) 100% 5.5%);font-size:11px;font-weight:800;letter-spacing:.2px}

.marketing-module-menu .menu-tail{display:inline-flex;align-items:center;gap:10px}.marketing-module-menu .menu-ext{width:16px;height:16px}
.menu-badge.plan{background:#7b2ff7;color:#fff}.marketing-module-menu .menu-section{margin:10px 0 0;color:#c9e1eb;font-size:12px;text-transform:uppercase}
.marketing-module-menu{max-height:calc(100vh - 16px);overflow:auto}

.card-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:6px 0 14px}.card-heading .card-status{margin:0}
.card-heading .deal-cooling-tag{margin:0;padding:0;background:transparent;color:#405664;font-size:14px;display:inline-flex;align-items:center;gap:4px}
.card-heading .deal-cooling-tag:before{content:'';height:12px;width:12px;border-radius:2px;background:#ffb520}
.deal.deal-is-cooling{background:linear-gradient(#fff4dc,#fff);border:2px solid #ffc13d}
.validator-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0}.validator-card{border:1px solid var(--line,#d8dee6);border-radius:12px;padding:14px;background:#fff}.validator-card b{display:block;font-size:26px}.validator-card span{color:var(--muted,#5d6b7a);font-size:13px}
.release-list{display:grid;gap:12px;max-width:720px}.release{border:1px solid var(--line,#d8dee6);border-radius:12px;padding:14px;background:#fff}.release h3{margin:4px 0}.release p{margin:0;color:var(--muted,#5d6b7a)}
.whatsapp-button textarea{width:100%;font-family:monospace}.external-feature .empty{max-width:560px}

.apps-dropdown{right:150px;min-width:260px}.apps-dropdown a{justify-content:space-between}.apps-dropdown .ext,.account-dropdown a .ext{width:16px;height:16px;flex:0 0 16px}.apps-dropdown .menu-section{margin:8px 12px 2px;color:#c9e1eb;font-size:12px;text-transform:uppercase}
.header-settings{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;color:#fff}.header-settings:hover{background:#ffffff15}.product-account-divider{width:1px;height:32px;background:#ffffff33;margin:0 6px}
.copilot-panel{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:100vw;background:#fff;box-shadow:-8px 0 30px #00000030;z-index:60;display:flex;flex-direction:column}.copilot-panel header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #e3e8ec}.copilot-body{flex:1;overflow:auto;padding:20px}.copilot-body h2{margin:0 0 16px}.copilot-card{display:block;border:1px solid hsl(var(--brand-h) 100% 46.5%);border-radius:12px;padding:12px 14px;margin-bottom:12px;color:hsl(var(--brand-h) 100% 13.3%);text-decoration:none}.copilot-card small{display:inline-block;background:#e8f4f8;border-radius:6px;padding:2px 8px;font-size:11px;text-transform:uppercase;margin-bottom:6px}.copilot-card span{display:block;font-weight:600}.copilot-panel footer{padding:14px 20px;border-top:1px solid #e3e8ec}.copilot-panel footer input{width:100%;padding:10px;border:1px solid #c5ced5;border-radius:8px}

/* Entrada suave dos cartões e painéis só quando a tela muda; recarregar dados na mesma tela não pisca nem anima de novo. */
@keyframes cardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pageIn{from{opacity:0}to{opacity:1}}
#page[data-anim="1"]{animation:pageIn .18s ease-out}
#page[data-anim="1"] .deal,#page[data-anim="1"] .stat,#page[data-anim="1"] .panel,#page[data-anim="1"] .validator-card,#page[data-anim="1"] .release,#page[data-anim="1"] .performance-metric{animation:cardIn .28s ease-out both}
#page[data-anim="1"] .column:nth-child(2) .deal{animation-delay:.04s}#page[data-anim="1"] .column:nth-child(3) .deal{animation-delay:.08s}#page[data-anim="1"] .column:nth-child(4) .deal{animation-delay:.12s}#page[data-anim="1"] .column:nth-child(n+5) .deal{animation-delay:.16s}
#page[data-anim="1"] .tablewrap tbody tr:nth-child(-n+20){animation:cardIn .24s ease-out both}
.deal{transition:box-shadow .15s,transform .15s}.deal:hover{box-shadow:0 6px 18px #00000022;transform:translateY(-1px)}
