/* Paridade visual do funil de negociações com a referência observada (layout, não marca). */
.deal-tools .ai-pill{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:2px solid transparent;border-radius:8px;font-weight:700;font-size:15px;color:#0b2d3e;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#b58cf0,#6fd8f2) border-box}
.deal-tools .ai-pill svg{width:18px;height:18px;flex:none}
.deal-tools .primary{border-radius:8px;background:hsl(var(--brand-h) 100% 18.6%);color:#fff;border-color:hsl(var(--brand-h) 100% 18.6%);height:40px;font-weight:700}
.deal-tools .primary svg{color:#fff}
.deal-filters select{border-radius:8px;border:1px solid #6b7780;background-color:#fff;color:#1d2b36;font-size:16px;padding-left:44px;appearance:none;-webkit-appearance:none;background-repeat:no-repeat;background-position:14px 50%,right 12px center;background-size:20px 20px,10px 6px}
.deal-filters select{background-image:var(--sel-icon,none),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23333'/%3E%3C/svg%3E");padding-right:32px}
#pipeline-filter{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E")}
#owner-filter{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E")}
#deal-status{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444'%3E%3Cpath d='M2 10h4v11H2zM8 10l4-8c1.5 0 2.5 1.2 2.2 2.7L13.6 8H20a2 2 0 0 1 2 2.4l-1.6 8A2 2 0 0 1 18.4 20H8z'/%3E%3C/svg%3E")}
#order-filter{--sel-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h10M4 12h7M4 18h4M17 5v14M14 16l3 3 3-3'/%3E%3C/svg%3E")}
.deal-filters .filters-button,.deal-filters button.filters{border-radius:8px}
.deal-filters select{font-size:15px;padding-left:40px;padding-right:28px;background-position:12px 50%,right 10px center;text-overflow:ellipsis}
.deal-tools .ai-pill svg{width:20px;height:20px}
.owner-chip{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:#e4e8eb;color:#3a4650;font-size:10px;font-weight:700;padding:0 4px}
.deal-stage-rail{gap:0;margin-bottom:28px}
.deal-stage-rail button{background:#e9edf0;color:#1b2b36;font-size:15px;font-weight:700;min-height:34px;padding:6px 22px;margin-left:-4px;border-radius:0}
.deal-stage-rail button:first-child{margin-left:0}
.deal-stage-rail button.reached{background:hsl(var(--brand-h) 90% 84.7%);color:#16303d}
.deal-stage-rail button[aria-current]{background:hsl(var(--brand-h) 100% 46.7%);color:#06222d}
.deal-info-section{background:#eceff1;border-color:#d4dce1;border-radius:4px}
.deal-info-section>summary{font-size:22px;font-weight:500;color:#1b2b36}
.deal-info-field{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:8px;margin-bottom:14px}
.deal-info-field dt{font-size:16px;color:#1b2b36;margin:0}
.deal-info-field dd{font-size:16px;font-weight:700;color:#1b2b36}
.deal-detail-status span:first-child{font-weight:700}
.deal-info-field{grid-template-columns:120px 1fr}
.deal-info-field dt{font-size:15px}
.deal-info-field dd{font-size:15px}
@media (min-width:1100px){.deal-detail-columns{grid-template-columns:minmax(340px,34%) minmax(0,1fr);gap:24px}}
.product-header .product-switch{color:#fff;width:28px;min-height:28px;margin-left:-6px}
.product-header .product-switch svg{width:16px;height:16px}
@media (max-width:900px){.product-header .product-switch{display:none}}
@media (min-width:900px){.product-dropdown{left:76px;top:60px;z-index:40}}
/* Contatos */
.contacts-page .pagehead .primary{background:hsl(var(--brand-h) 100% 18.6%);color:#fff;border-radius:8px;font-weight:700;font-size:15px}
.contacts-page .import-link{border-radius:8px;height:40px;display:inline-flex;align-items:center;padding:0 16px;font-weight:700}
.contacts-page .filter-button{border-radius:8px;height:40px}
.contacts-page table th,.contacts-page table td{text-align:left}
.contacts-page table th{font-size:12px;letter-spacing:0}
.contacts-page table th:first-child{width:66px}
.contacts-page table th:nth-child(n+2):nth-child(-n+6){width:188px}
.companies-page table th:nth-child(n+2):nth-child(-n+5){width:188px}
.companies-page table th:first-child{width:auto}
.contacts-page .search{max-width:360px}
td .owner-chip{width:26px;min-width:26px;max-width:26px;padding:0;border-radius:50%}
/* Marketing: início */
.analytics-notice{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #d4dce1;border-left:8px solid #fbbf24;border-radius:8px;padding:24px 28px}
.analytics-notice>span{color:#e0a100;font-size:22px}
.analytics-notice strong{font-size:20px}
.analytics-notice p{font-size:16px;margin:8px 0 16px}
.analytics-notice a.ga-connect{display:inline-block;background:hsl(var(--brand-h) 90% 84.7%);color:hsl(var(--brand-h) 100% 28.0%);font-weight:700;padding:10px 16px;border-radius:8px}
.marketing-funnel button{background:#e4e7ea;border:0;border-radius:20px;text-align:center;align-items:center;justify-content:center;box-shadow:none}
.marketing-funnel button[aria-pressed="true"]{background:hsl(var(--brand-h) 100% 50.0%);border:0;box-shadow:none}
.marketing-funnel button strong{font-size:36px}
.marketing-funnel .funnel-conversion{background:#000;color:#fff;font-weight:700;font-size:15px;padding:8px 12px;border-radius:6px 0 0 6px;position:relative;z-index:1}
/* Marketing: e-mail */
.email-list .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.email-list .primary svg{color:hsl(var(--brand-h) 100% 46.5%)}
.email-list .actions>button:not(.primary){border-radius:8px}
.email-list .search{flex-direction:row-reverse;max-width:400px;border-radius:8px;border-color:#6b7780}
.email-list .admin-tabs button{font-size:17px;font-weight:700;color:#0c4a63;padding-bottom:14px}
.email-list .admin-tabs button[aria-selected="true"]{color:hsl(var(--brand-h) 100% 35.5%);box-shadow:inset 0 -4px 0 hsl(var(--brand-h) 100% 46.5%);border-bottom-color:transparent}
.email-gallery .gallery-lead{margin:0 0 8px 40px;color:#3a4650;font-size:15px}
.email-gallery .gallery-head{display:flex;align-items:center;gap:16px}
.email-gallery .gallery-head h1{margin:0;font-size:28px}
.email-gallery .gallery-head .actions{margin-left:auto}
.email-gallery .gallery-back{color:hsl(var(--brand-h) 100% 35.5%);font-size:24px;text-decoration:none}
.email-gallery .gallery-search{margin:24px 0;max-width:300px}
.email-gallery .gallery-search input{width:100%}
.starter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px}
.starter-card{display:flex;flex-direction:column;padding:0;border:1px solid #cfd6db;border-radius:12px;background:#fff;overflow:hidden;text-align:center;cursor:pointer}
.starter-card>span{border-top:1px solid #cfd6db;padding:16px;font-weight:700}
.starter-thumb{height:240px;overflow:hidden;background:#f2f4f5;padding:20px;text-align:left}
.starter-thumb>*{display:block;background:#fff;margin:0;padding:8px 12px;font-size:11px}
.starter-thumb b{font-size:14px}.starter-thumb i{font-style:normal;background:hsl(var(--brand-h) 100% 18.6%);color:#fff;text-align:center;border-radius:4px;margin:8px 12px;display:block}
.starter-thumb hr{border:0;border-top:1px solid #ddd;padding:0;margin:0 12px}
.email-gallery .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.email-gallery .primary svg{color:hsl(var(--brand-h) 100% 46.5%)}
/* Marketing: automação */
.workflow-list .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.workflow-list .primary svg{color:hsl(var(--brand-h) 100% 46.5%)}
.workflow-list .actions>button:not(.primary){border-radius:8px}
.workflow-list .search{border-radius:8px;border-color:#6b7780;flex-direction:row-reverse}
.workflow-list .tablewrap{border:0;background:transparent;border-radius:0}
.workflow-list thead th{background:transparent;font-size:12px;color:#3a4650;text-transform:uppercase;border-bottom:2px solid #d9dee2}
.workflow-list tbody td{height:73px;border-bottom:1px solid #e1e5e8}
.workflow-list tbody td:first-child a,.workflow-list tbody td:first-child button{color:hsl(var(--brand-h) 100% 35.5%);font-weight:700;font-size:16px}
.workflow-list .pill{background:#00d664;color:#06321b;font-weight:700;font-size:11px;letter-spacing:.2px;text-transform:uppercase;border-radius:4px;padding:4px 8px}
.workflow-list .pill.warn{background:#ffd84d;color:#4a3a00}
.workflow-list .pill.danger{background:#ff7a7a;color:#4a0000}
/* Marketing: editor de automação */
.workflow-editor-top{height:64px;font-size:15px;border-bottom:0;box-shadow:0 2px 6px #00000022;position:relative;z-index:2}
.workflow-editor-top>.growth-brand{font-size:18px;padding:0 20px;border-right:1px solid #e1e5e8;height:100%;display:flex;align-items:center}
.workflow-editor-toolbar{height:56px;border-bottom:0}
.workflow-editor-toolbar>button{font-size:15px;font-weight:700;color:#1b2b36}
.workflow-editor-toolbar>button:last-child{background:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;padding:0 14px}
/* Marketing: landing pages e formulários */
.capture-list>.report-heading .primary,.capture-onboarding .primary{background:hsl(var(--brand-h) 100% 18.6%);border:0;color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.capture-onboarding{text-align:center;padding-top:8px}
.capture-onboarding>h1{margin:0 0 40px}
.capture-onboarding-art{width:220px;height:160px;margin:0 auto 40px;border-radius:24px;background:linear-gradient(135deg,hsl(var(--brand-h) 90% 84.7%),#c9b6f2);display:grid;place-items:center;color:#2b1a6e}
.capture-onboarding-art svg{width:72px;height:72px}
.capture-onboarding h2{font-size:22px;margin:0 0 16px}
.capture-onboarding p{max-width:760px;margin:0 auto 24px;font-size:16px}
.capture-list-filters select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23333'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:10px 6px;padding-right:22px}
/* Relatórios: painel de controle */
.report-panel-head{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid #d8dfe3}
.report-panel-head h1{margin:0 auto 0 0;font-size:24px;color:#4a5560}
.report-panel-head label{display:flex;flex-direction:column;font-size:12px;color:#5d6b74;gap:4px}
.report-panel-title{text-align:center;font-weight:700;color:#5d6b74;background:#f6f7f8;padding:16px;margin-top:16px}
.report-panel-body{border:1px solid #e1e5e8;padding:24px;margin-top:8px;background:#fff}
.report-panel-totals{display:flex;justify-content:space-around;margin-bottom:24px}
.report-panel-totals div{display:flex;flex-direction:column;gap:8px;font-size:16px}
.report-panel-totals b{font-size:22px;color:#5d6b74}
.report-panel-legend{display:flex;justify-content:center;gap:20px;font-size:12px;color:#5d6b74;margin-bottom:8px}
.report-panel-legend i{display:inline-block;width:36px;height:12px;margin-right:6px;vertical-align:middle;opacity:.7}
.report-panel-body svg{width:100%;height:auto}
/* Configurações */
.settings-home{max-width:1100px;margin-inline:auto}
.settings-home .suggestion-playbook{background:#fde3a7}
.settings-suggestions p{font-size:17px;line-height:1.4}
.settings-search{margin:32px 0 8px;max-width:none;width:100%;border-radius:8px;border-color:#6b7780;flex-direction:row-reverse}
.settings-search input{flex:1}
.settings-search-empty{color:#5d6b74}
.settings-home h3{font-size:12px}
.settings-columns a{font-size:17px}
.settings-columns a[hidden],.settings-columns section[hidden]{display:none}
/* Configurações: funis de vendas (linha do tempo das etapas) */
.pipeline-stage-card::before{content:"";display:block;height:28px;margin:0 calc(var(--space-6,24px) * -1) 12px;background:radial-gradient(circle 11px at calc(var(--space-6,24px) + 11px) 50%,#fff 0 8px,#9aa7b0 8px 10px,transparent 11px),linear-gradient(hsl(var(--brand-h) 92% 56.3%),hsl(var(--brand-h) 92% 56.3%)) calc(var(--space-6,24px) + 11px) 50%/100% 4px no-repeat}
/* Configurações: campos */
.field-settings-tabs button{font-size:17px;font-weight:700;color:#1b2b36}
.field-settings-tabs button[aria-selected="true"]{color:hsl(var(--brand-h) 100% 35.5%);box-shadow:inset 0 -4px 0 hsl(var(--brand-h) 100% 46.5%);border-bottom-color:transparent}
.config-heading .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.field-suggestions{margin:24px 0 32px}
.field-suggestions>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.field-suggestions>summary h2{margin:0;font-size:20px}
.field-suggestions>summary::after{content:"⌃";font-size:20px;color:#1b2b36}
.field-suggestions:not([open])>summary::after{content:"⌄"}
.field-suggestions .tablewrap table td:last-child,.field-suggestions .tablewrap table th:last-child{text-align:right}
/* Tarefas */
.tasks-page>.report-heading .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.task-filters{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 12px;align-items:center}
.task-filters select{height:40px;border:1px solid #6b7780;border-radius:8px;padding:0 28px 0 14px;font-size:15px;background:#fff;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23333'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:10px 6px;min-width:190px}
.task-filters .search{flex:1;min-width:220px;border-radius:8px;border-color:#6b7780}
.task-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.task-chip{display:inline-flex;align-items:center;gap:8px;background:#e8ecef;border-radius:4px;padding:3px 8px;font-size:12px;font-weight:700}
.task-chip button{border:0;background:transparent;min-height:0;padding:0;font-size:16px;line-height:1;cursor:pointer}
.task-week-summary{border:1px solid #6b7780;margin-bottom:24px}
.task-week-summary>summary{padding:12px 16px;font-weight:700;font-size:16px;cursor:pointer}
.task-week-summary>div{display:flex;gap:40px;padding:8px 16px 16px}
.task-week-summary>div>div{display:flex;flex-direction:column}
.task-week-summary b{font-size:24px}
.task-empty{text-align:center;max-width:640px;margin:56px auto}
.task-empty>div{width:140px;height:100px;margin:0 auto 24px;border-radius:20px;background:linear-gradient(135deg,hsl(var(--brand-h) 90% 84.7%),#c9b6f2);display:grid;place-items:center;color:#2b1a6e}
.task-empty svg{width:48px;height:48px}
.task-empty h2{font-size:20px;margin:0 0 12px}
.task-filters select{width:auto;flex:0 1 240px;min-width:180px}
/* Convites, usuários e equipes */
.subscription-summary{background:#eef0f2;border:1px solid #d8dde1;border-radius:28px;padding:24px 28px;display:flex;align-items:center;gap:32px}
.subscription-summary>div:first-child span{font-size:13px;font-weight:700;letter-spacing:0;color:#1b2b36;display:block;margin-bottom:24px}
.subscription-summary>div:first-child strong{font-size:22px}
.subscription-summary dl{display:flex;margin:0 0 0 auto}
.subscription-summary dl>div{padding:0 28px;border-left:1px solid #d0d6da}
.subscription-summary dl>div:first-child{border-left:0}
.subscription-summary dt{font-size:14px;color:#1b2b36;margin-bottom:12px}
.subscription-summary dd{margin:0;font-size:18px;font-weight:700}
.team-directory .admin-tabs button{font-size:17px;font-weight:700;color:#1b2b36}
.team-directory .admin-tabs button[aria-selected="true"]{color:hsl(var(--brand-h) 100% 35.5%);box-shadow:inset 0 -4px 0 hsl(var(--brand-h) 100% 46.5%);border-bottom-color:transparent}
.team-directory .pill{background:#00d664;color:#06321b;font-weight:700;font-size:11px;text-transform:uppercase;border-radius:4px;padding:4px 8px}
.team-directory .pill.warn{background:#ffc83d;color:#4a3a00}
.team-directory .pill.danger{background:#ff7a7a;color:#4a0000}
@media (max-width:900px){.subscription-summary{flex-direction:column;align-items:flex-start}.subscription-summary dl{margin-left:0;flex-wrap:wrap;row-gap:16px}}
.member-visibility{display:flex;gap:24px;flex-wrap:wrap}
.member-visibility>span{display:flex;flex-direction:column;font-size:13px;color:#3a4650}
.member-visibility>span>b{font-size:15px;color:#1b2b36}
.team-avatars{gap:0}
.team-avatars .avatar{background:#e7e9ec;color:#1b2b36;font-weight:700;margin-left:-6px;border:2px solid #fff}
.team-avatars .avatar:first-child{margin-left:0}
/* Pesquisa global */
dialog#modal:has(.global-search){width:min(800px,94vw);border-radius:28px}
.global-search .modalfoot{display:none}
.global-search .modalhead h2{font-size:30px}
.gs-box{display:flex;align-items:center;border:2px solid #6b7780;border-radius:8px;padding:0 12px;height:44px;background:#fff}
.gs-box:focus-within{border-color:#1b9fd1;box-shadow:0 0 0 3px #1b9fd133}
.gs-box input{flex:1;border:0;outline:0;height:100%;font-size:16px;background:transparent}
.gs-box svg{width:20px;height:20px;color:#3a4650}
#search-results{max-height:60vh;overflow:auto;margin-top:16px}
.gs-group h3{font-size:13px;color:#3a4650;margin:16px 0 8px;letter-spacing:0}
.gs-group h3 small{font-weight:400}
.search-result{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:10px 8px;border-radius:6px;cursor:pointer}
.search-result:hover,.search-result:focus-visible{background:#eef6fa}
.gs-icon svg{width:20px;height:20px;color:#52606a}
.gs-text{flex:1;display:flex;flex-direction:column;gap:2px}
.gs-text b{font-size:15px}
.gs-text small{font-size:14px;color:#3a4650}
.gs-text mark{background:hsl(var(--brand-h) 90% 80.0%);color:inherit;padding:0}
.gs-badge{font-size:12px;font-weight:700;padding:2px 10px;border-radius:4px;background:#e8ecef}
.gs-badge.won{background:#8be8b0}.gs-badge.lost{background:#f8b6c6}
.gs-empty{padding:16px 8px}
/* Início */
.home-start{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,36%);gap:24px;align-items:start;margin:8px 0 24px}
.home-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-tile{display:flex;flex-direction:column;gap:8px;position:relative;background:#eceef0;border-radius:8px;padding:16px;min-height:146px;color:#1b2b36;text-decoration:none}
.home-tile b{font-size:17px;max-width:70%}
.home-tile small{font-size:13px;line-height:1.35}
.home-tile-icon{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:8px;background:hsl(var(--brand-h) 89% 38.2%);color:#fff;display:grid;place-items:center}
.home-tile-icon svg{width:20px;height:20px}
.home-checklist{border:1px solid #d8dde1;border-radius:6px;overflow:hidden;background:#fff}
.home-checklist header{background:hsl(var(--brand-h) 94% 31.4%);color:#fff;padding:24px}
.home-checklist header h2{margin:0 0 6px;font-size:21px}
.home-checklist header p{margin:0}
.home-progress{height:8px;margin:20px 24px 4px;border-radius:4px;background:#e4e8eb;overflow:hidden}
.home-progress span{display:block;height:100%;background:hsl(var(--brand-h) 100% 50.0%)}
.home-checklist details{padding:0 24px 16px}
.home-checklist summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e4e8eb;cursor:pointer}
.home-count{background:#e4e8eb;border-radius:12px;padding:2px 10px;font-size:13px;font-weight:700}
.home-checklist ul{list-style:none;margin:0;padding:0}
.home-checklist li{border-bottom:1px solid #e4e8eb}
.home-checklist li a{display:flex;align-items:center;gap:12px;padding:14px 4px;color:#1b2b36;font-weight:700;text-decoration:none}
.home-check{width:20px;height:20px;border-radius:50%;border:1px solid #b6bec4;display:grid;place-items:center;flex:none}
.home-checklist li.done .home-check{background:hsl(var(--brand-h) 89% 38.2%);border-color:hsl(var(--brand-h) 89% 38.2%);color:#fff}
.home-check svg{width:12px;height:12px}
.home-checklist li.done a{color:#5d6b74}
@media (max-width:1000px){.home-start{grid-template-columns:1fr}.home-tiles{grid-template-columns:1fr 1fr 1fr}}
.home-left{display:flex;flex-direction:column;gap:24px}
.home-banner{margin:0;border-radius:24px;background:linear-gradient(135deg,hsl(var(--brand-h) 86% 88.6%),#d7e0ff 60%,#ead8ff);color:#0e2a3a;min-height:260px}
.home-banner h2,.home-banner p,.home-banner .eyebrow{color:#0e2a3a !important}
/* Notificações em painel lateral */
dialog#modal:has(#notifications-form){position:fixed;inset:0 0 0 auto;margin:0;width:min(420px,100vw);height:100vh;max-height:100vh;border-radius:0;box-shadow:-8px 0 24px #00000033;animation:rd-drawer-in .18s ease-out}
@keyframes rd-drawer-in{from{transform:translateX(40px);opacity:.4}to{transform:none;opacity:1}}
dialog#modal:has(#notifications-form)>form{display:flex;flex-direction:column;height:100%}
#notifications-form .modalbody{flex:1;overflow:auto;padding:16px 24px}
#notifications-form .modalhead h2{font-size:22px}
.notifications-summary{margin:8px 0 16px;font-size:17px}
#notifications-form .notifications-list li{flex-direction:column;align-items:stretch;gap:12px;border:1px solid #d8dde1;border-radius:20px;padding:16px;margin-bottom:12px}
#notifications-form .notifications-list li>div strong{font-size:15px}
#notifications-form .notifications-list li button{align-self:flex-start;background:hsl(var(--brand-h) 90% 84.7%);border:0;border-radius:8px;color:hsl(var(--brand-h) 100% 28.0%);font-weight:700}
#notifications-form .modalfoot{justify-content:flex-end;border-top:1px solid #e1e5e8}
#notifications-form .modalfoot button:not([data-action="close-modal"]){background:hsl(var(--brand-h) 90% 84.7%);border:0;border-radius:8px;color:hsl(var(--brand-h) 100% 28.0%);font-weight:700}
.notifications-read-all{width:100%;background:hsl(var(--brand-h) 90% 84.7%);border:0;border-radius:8px;color:hsl(var(--brand-h) 100% 28.0%);font-weight:700;padding:12px;margin-bottom:12px}
#notifications-form .notifications-list li{flex-direction:row;align-items:flex-start;flex-wrap:wrap}
#notifications-form .notifications-list li>div{flex:1;min-width:0}
#notifications-form .notifications-list li>button{margin-left:32px}
.notification-check{padding-top:2px}
.notification-check input{width:18px;height:18px}
#notifications-form .notifications-list li.is-read{opacity:.62}
/* Importar dados */
.import-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:8px 0 16px}
.import-hub-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;border:1px solid #cfd6db;border-radius:12px;padding:32px 24px;color:#1b2b36;text-decoration:none;background:#fff}
.import-hub-card:hover,.import-hub-card:focus-visible{border-color:#1b9fd1;box-shadow:0 0 0 3px #1b9fd133}
.import-hub-icon{width:88px;height:88px;border-radius:24px;background:linear-gradient(135deg,hsl(var(--brand-h) 90% 84.7%),#d7e0ff);display:grid;place-items:center;color:#0b3d66}
.import-hub-icon svg{width:44px;height:44px}
.import-hub-card b{font-size:20px}
.import-hub-card small{font-size:16px;line-height:1.4;color:#1b2b36}
.import-hub-sample{margin:0 0 24px}
.import-hub-sample a{display:inline-flex;align-items:center;gap:10px;background:hsl(var(--brand-h) 90% 84.7%);color:hsl(var(--brand-h) 100% 28.0%);font-weight:700;border-radius:8px;padding:12px 24px;text-decoration:none}
@media (max-width:900px){.import-hub{grid-template-columns:1fr}}
/* Multi-vendas: interruptor */
#multisales-settings-form .checklabel{display:flex;align-items:center;gap:16px;font-size:17px;color:#3a4650;margin:16px 0}
#multisales-settings-form input[name="enabled"]{appearance:none;-webkit-appearance:none;flex:none;width:36px;height:16px;border-radius:8px;background:#b9c0c5;position:relative;cursor:pointer;border:0;margin:0}
#multisales-settings-form input[name="enabled"]::before{content:"";position:absolute;top:-2px;left:-2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}
#multisales-settings-form input[name="enabled"]:checked{background:#7fd6ee}
#multisales-settings-form input[name="enabled"]:checked::before{transform:translateX(18px);background:hsl(var(--brand-h) 100% 42.0%)}
#multisales-settings-form input[name="enabled"]:disabled{opacity:.5;cursor:not-allowed}
#multisales-settings-form input[name="enabled"]:focus-visible{outline:3px solid #1b9fd1;outline-offset:3px}
/* Metas */
.goals-page .goals-section{background:#fff;border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 1px 4px #0001;padding:16px 16px 8px;margin-bottom:32px}
.goals-page .goal-section-heading h2{font-size:21px;font-weight:500;color:#4a5560}
.goals-page .goal-section-heading button{background:hsl(var(--brand-h) 87% 50.6%);border:0;color:#fff;font-weight:700;border-radius:2px;box-shadow:0 2px 4px #0003;padding:8px 14px}
.goals-page .goal-section-heading button svg{color:#fff}
.goals-page .goal-tabs button{text-transform:uppercase;font-size:15px;font-weight:700;letter-spacing:0;color:#5d6b74}
.goals-page .goal-tabs button[aria-selected="true"]{color:hsl(var(--brand-h) 91% 44.3%);box-shadow:inset 0 -2px 0 hsl(var(--brand-h) 91% 44.3%)}
/* Modelos de proposta */
.proposal-heading .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.proposal-heading .primary svg{display:none}
.proposal-default{background:#e8ecef;color:#1b2b36;border-radius:4px;font-weight:700;font-size:12px;padding:3px 8px}
.proposal-default::before{content:"✓ "}
.proposal-filter select{border-radius:8px;border:1px solid #6b7780;height:40px;font-size:15px}
.admin-page td .pill{background:#00d664;color:#06321b;font-weight:700;font-size:11px;text-transform:uppercase;border-radius:4px;padding:4px 8px}
.admin-page td .pill.warn{background:#ffd84d;color:#4a3a00}
.admin-page td .pill.danger{background:#ff7a7a;color:#4a0000}
.proposal-menu summary{color:hsl(var(--brand-h) 100% 35.5%);font-weight:700}
.proposal-status{background:#e8ecef;color:#1b2b36;font-weight:700;font-size:11px;text-transform:uppercase;border-radius:4px;padding:4px 8px}
.proposal-status.published{background:#00d664;color:#06321b}
.proposal-status.archived{background:#d8dde1;color:#4a5560}
/* Editor de modelo de proposta */
.proposal-editor-header .actions>button:not(.primary){background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.proposal-editor-header .proposal-status.published{background:#00d664;color:#06321b}
.proposal-editor-header h1{font-size:30px}
.proposal-editor-settings input[type="color"]{width:100%;height:44px;padding:4px;border:1px solid #6b7780;border-radius:8px;background:#fff;cursor:pointer}
.proposal-editor-settings{border-radius:12px}
/* Configurações: fontes */
.source-tabs{display:flex;gap:8px;border-bottom:1px solid #d8dde1;margin:8px 0 16px}
.source-tabs a{padding:14px 24px;font-weight:700;font-size:15px;color:#6b7780;text-decoration:none;border-bottom:2px solid transparent}
.source-tabs a[aria-current="page"]{color:#1b2b36;border-bottom-color:#1b2b36}
.source-actions{margin:8px 0 16px}
.source-actions .primary{background:hsl(var(--brand-h) 87% 50.6%);border:0;color:#fff;font-weight:700;border-radius:2px;box-shadow:0 2px 4px #0003}
.source-actions .primary svg{display:none}
.catalog-search .search{max-width:320px;border:0;border-bottom:1px solid #b9c0c5;border-radius:0}
.source-page td small,.source-page td:nth-child(3),.source-page td:nth-child(4){color:#6b7780;font-size:13px}
.source-policy{margin:8px 0 16px}
.source-policy .checklabel{display:flex;align-items:center;gap:16px;font-size:17px;color:#3a4650}
.source-policy input{appearance:none;-webkit-appearance:none;flex:none;width:36px;height:16px;border-radius:8px;background:#b9c0c5;position:relative;cursor:pointer;border:0;margin:0}
.source-policy input::before{content:"";position:absolute;top:-2px;left:-2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}
.source-policy input:checked{background:#7fd6ee}
.source-policy input:checked::before{transform:translateX(18px);background:hsl(var(--brand-h) 100% 42.0%)}
.source-policy input:disabled{opacity:.5;cursor:not-allowed}
.source-policy input:focus-visible{outline:3px solid #1b9fd1;outline-offset:3px}
/* Produtos e serviços */
.product-catalog>header .actions .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.product-catalog>header .actions .primary svg{color:hsl(var(--brand-h) 100% 46.5%)}
.product-catalog .product-import{background:hsl(var(--brand-h) 90% 84.7%);color:hsl(var(--brand-h) 100% 28.0%);font-weight:700;border-radius:8px;padding:10px 16px;text-decoration:none}
.product-catalog #product-catalog-search{position:relative;display:flex;max-width:300px;border:1px solid #6b7780;border-radius:8px;overflow:hidden;background:#fff}
.product-catalog #product-catalog-search input{flex:1;border:0;outline:0;padding:10px 12px;font-size:15px;background:transparent}
.product-catalog #product-catalog-search button{border:0;background:transparent;padding:0 12px;cursor:pointer;color:#3a4650}
.product-catalog thead th{font-size:12px;text-transform:uppercase;color:#3a4650;background:transparent}
.product-catalog tbody td .textbutton{color:hsl(var(--brand-h) 100% 35.5%);font-weight:700;font-size:16px}
.product-catalog .tablewrap{border:0;border-radius:0;background:transparent}
.catalog-bulk{display:flex;align-items:center;gap:12px;margin:8px 0 12px;padding:10px 14px;background:#eef6fa;border-radius:6px}
.catalog-bulk .danger{background:#c0392b;border-color:#c0392b;color:#fff;font-weight:700;border-radius:6px}
.catalog-page input[type="checkbox"]{width:18px;height:18px}
/* Informações pré-definidas */
.preset-tab{border:0;background:transparent;padding:14px 24px;font-weight:700;font-size:15px;color:#6b7780;border-bottom:2px solid transparent;cursor:pointer}
.preset-tab[aria-selected="true"]{color:#1b2b36;border-bottom-color:#1b2b36}
.preset-list{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 1px 4px #0001;padding:8px 16px}
.preset-item{padding:12px 0;border-bottom:1px solid #eef0f2}
.preset-item:last-child{border-bottom:0}
.preset-item .checklabel{display:flex;align-items:flex-start;gap:16px;cursor:pointer}
.preset-item .checklabel>span{display:flex;flex-direction:column;gap:2px}
.preset-item b{font-size:17px;color:#3a4650;font-weight:500}
.preset-item small{font-size:14px;color:#5d6b74}
.preset-item em{font-size:13px;color:#8a5b15;font-style:normal}
.preset-item input{appearance:none;-webkit-appearance:none;flex:none;width:36px;height:16px;border-radius:8px;background:#b9c0c5;position:relative;cursor:pointer;border:0;margin:6px 0 0}
.preset-item input::before{content:"";position:absolute;top:-2px;left:-2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}
.preset-item input:checked{background:#7fd6ee}
.preset-item input:checked::before{transform:translateX(18px);background:hsl(var(--brand-h) 100% 42.0%)}
.preset-item input:disabled{opacity:.5;cursor:not-allowed}
.preset-item input:focus-visible{outline:3px solid #1b9fd1;outline-offset:3px}
/* Telefone virtual */
.vp-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}
.vp-menu{display:flex;flex-direction:column}
.vp-tab{text-align:left;border:0;background:transparent;padding:14px 16px;font-size:17px;font-weight:700;color:#1b2b36;cursor:pointer;border-right:4px solid transparent}
.vp-tab[aria-current="true"]{background:hsl(var(--brand-h) 90% 84.7%);border-right-color:hsl(var(--brand-h) 100% 46.7%)}
.vp-card{border:1px solid #d8dde1;border-radius:20px;padding:24px;background:#fff}
.vp-card h2{margin:0 0 12px;font-size:22px}
.vp-label{font-size:13px;letter-spacing:0;margin:0 0 12px;color:#1b2b36}
.vp-switch{display:flex;align-items:center;gap:16px;font-size:17px;margin-bottom:16px}
.vp-switch input{appearance:none;-webkit-appearance:none;flex:none;width:36px;height:16px;border-radius:8px;background:#b9c0c5;position:relative;cursor:pointer;border:0;margin:0}
.vp-switch input::before{content:"";position:absolute;top:-2px;left:-2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}
.vp-switch input:checked{background:#7fd6ee}
.vp-switch input:checked::before{transform:translateX(18px);background:hsl(var(--brand-h) 100% 42.0%)}
.vp-switch input:disabled{opacity:.5;cursor:not-allowed}
.vp-config[hidden]{display:none}
.vp-config input[type="text"]{width:100%}
.vp-example{word-break:break-all}
.dial-link{color:hsl(var(--brand-h) 100% 35.5%);font-weight:700}
@media (max-width:900px){.vp-layout{grid-template-columns:1fr}}
.vp-tab{display:flex;justify-content:flex-start;align-items:center;width:100%}
/* Marketing: lista de segmentações */
.segmentation-list .pagehead .actions{display:flex;align-items:center;gap:12px}
.segmentation-list .pagehead .search{min-width:230px;border-radius:8px;border-color:#6b7780;flex-direction:row-reverse}
.segmentation-list .pagehead .primary{background:hsl(var(--brand-h) 100% 18.6%);border-color:hsl(var(--brand-h) 100% 18.6%);color:hsl(var(--brand-h) 100% 46.5%);border-radius:8px;font-weight:700}
.segmentation-list .pagehead .primary svg{display:none}
.segmentation-eyebrow{font-size:14px;font-weight:700;color:#3a4650;letter-spacing:0}
.segmentation-list thead th{background:transparent;font-size:12px;text-transform:uppercase;color:#3a4650}
.segmentation-list tbody td .textbutton{color:hsl(var(--brand-h) 100% 35.5%);font-weight:700;font-size:16px}
/* Lead Scoring: tela inicial */
.scoring-intro{max-width:980px;margin:32px auto;border:1px solid #d8dde1;border-radius:4px;padding:32px 16px 48px;text-align:center;background:#fff}
.scoring-intro h1{font-size:28px;font-weight:400;color:#3a4a63;margin:0 0 24px}
.scoring-intro hr{border:0;border-top:1px solid #e1e5e8;margin:0 0 32px}
.scoring-intro-art{width:160px;height:160px;margin:0 auto 32px;border-radius:50%;border:3px solid hsl(var(--brand-h) 89% 53.3%);display:grid;place-items:center;color:hsl(var(--brand-h) 89% 53.3%)}
.scoring-intro-art svg{width:72px;height:72px}
.scoring-intro h2{font-size:21px;font-weight:500;margin:0 0 16px}
.scoring-intro p{font-size:16px;margin:0 0 32px}
.scoring-intro-actions{display:flex;justify-content:center;gap:8px}
.scoring-intro-actions button{border:1px solid hsl(var(--brand-h) 89% 53.3%);background:#fff;color:hsl(var(--brand-h) 89% 53.3%);padding:9px 14px;font-size:16px;border-radius:2px;cursor:pointer}
.scoring-intro-actions .primary{background:hsl(var(--brand-h) 91% 56.9%);color:#fff}
/* Marketing: campos personalizados */
.marketing-fields>.report-heading .primary{background:hsl(var(--brand-h) 91% 56.9%);border:0;color:#fff;border-radius:2px;font-weight:400;box-shadow:none}
.marketing-fields-card{max-width:980px;margin:16px auto;border:1px solid #d8dde1;padding:16px;background:#fff}
.marketing-fields-tools{display:flex;justify-content:space-between;align-items:center;background:#f6f7f8;padding:12px;font-size:13px;color:#5d6b74}
.marketing-fields-tools select,.marketing-fields-tools input{border:1px solid #c7ced3;border-radius:2px;height:30px;padding:0 8px}
.marketing-fields table th{font-weight:400;color:#5d6b74;text-align:left;padding:12px;border-bottom:1px solid #e1e5e8;background:#f6f7f8}
.marketing-fields table td{padding:12px;border-bottom:1px solid #e9ecef}
.marketing-fields .actions-cell{text-align:right}
.marketing-fields .actions-cell button{border:1px solid hsl(var(--brand-h) 91% 56.9%);color:hsl(var(--brand-h) 91% 56.9%);background:#fff;border-radius:2px}
.marketing-fields-tools label{display:flex;align-items:center;gap:8px}
/* Celular (até 640px) */
@media (max-width:640px){
 .home-tiles{grid-template-columns:1fr}
 .home-tile{min-height:0}
 .home-tile b{max-width:78%}
 .deal-tools .ai-pill{flex:1 1 100%;justify-content:center}
 .deal-filters select{font-size:14px;padding-left:34px;background-position:10px 50%,right 8px center}
 .contacts-page .pagehead .actions,.companies-page .pagehead .actions{flex-wrap:wrap}
 .report-panel-totals{flex-wrap:wrap;gap:16px 24px;justify-content:flex-start}
 .report-panel-totals>div{flex:1 1 40%;min-width:120px}
 .report-panel-legend{flex-wrap:wrap;gap:8px 16px}
 .report-panel-head{gap:12px}
}
/* Editor de e-mail no celular: a paleta vira uma faixa acima da tela */
@media (max-width:640px){
 .email-editor-body{grid-template-columns:1fr;height:auto}
 .email-editor-sidebar{max-height:300px;overflow:auto;border-bottom:1px solid #d8dde1}
 .email-editor-sidebar .email-block-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px}
 .email-editor-stage{min-height:70vh}
 .email-editor-top{flex-wrap:wrap;height:auto;padding:6px 8px;gap:4px}
 .email-editor-top>*{min-width:0}
}
/* Editor de automação no celular: barras quebram linha para o Salvar e Ativar ficar acessível */
@media (max-width:640px){
 .workflow-editor-top{flex-wrap:wrap;height:auto;font-size:13px}
 .workflow-editor-top>.growth-brand{padding:6px 10px;height:auto}
 .workflow-editor-top>a,.workflow-editor-top>button,.workflow-editor-top>span{height:auto;padding:8px 10px;border-right:0}
 .workflow-editor-top>span:not(.growth-brand){margin-left:0}
 .workflow-editor-toolbar{height:auto;flex-wrap:wrap;padding:6px 8px;gap:4px}
 .workflow-editor-toolbar>button{font-size:14px;padding:6px 8px}
 .workflow-editor-toolbar>span{margin-left:0;flex-basis:100%}
}
/* Editor de formulário e landing page no celular */
@media (max-width:640px){
 .capture-editor-top{height:auto;flex-wrap:wrap;gap:4px 12px;padding:6px 8px;font-size:13px}
 .capture-editor-top>.growth-brand{height:auto;padding:4px 10px}
 .capture-editor-top>span:not(.growth-brand){margin-left:0;flex-basis:100%}
 .capture-editor-top>button{height:auto;padding:8px 10px;border-left:0}
}
/* Alternativa ao arraste do funil: seletor "Mover para etapa" (aparece no toque, no celular e ao receber foco) */
.deal-move-wrap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.deal-move-wrap:focus-within{position:static;width:auto;height:auto;overflow:visible;clip:auto}
.deal-move{width:100%;margin-top:8px;border:1px solid #b9c0c5;border-radius:6px;padding:6px 8px;font-size:13px;background:#fff}
@media (pointer:coarse),(max-width:640px){.deal-move-wrap{position:static;width:auto;height:auto;overflow:visible;clip:auto;display:block}}
/* Visão geral do email (Assunto / Remetente / Conteúdo) */
.email-overview{max-width:960px;padding:8px 0}
.email-overview-head{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.email-overview-head h1{margin:0;font-size:28px}
.email-overview-head a{font-size:24px;color:hsl(var(--brand-h) 87% 33.7%);text-decoration:none}
.email-steps{border:1px solid #d5dce0;border-radius:12px;background:#fff;max-width:760px}
.email-step{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:start;padding:22px 20px;border-bottom:1px solid #d5dce0}
.email-step:last-child{border-bottom:0}
.email-step h2{margin:0 0 8px;font-size:16px}.email-step p{margin:0}
.email-step-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:700;color:#fff;background:#13803f}
.email-step.todo .email-step-mark{background:#c99a00}
.email-step>button{background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 87% 29.4%);border:0;border-radius:8px;padding:10px 20px;font-weight:700;cursor:pointer}
.email-step-card{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;margin-top:18px;border:1px solid #d5dce0;border-radius:12px;padding:20px}
.email-step-card p{margin:6px 0 0;max-width:320px;font-size:14px}
.email-step-card-actions{display:grid;gap:10px;justify-items:center}
@media (max-width:640px){.email-step{grid-template-columns:24px 1fr}.email-step>button{grid-column:2;justify-self:start}}
/* Automação: menu ⋮ por linha, menu do cabeçalho e painel de filtros */
.row-menu{position:relative;display:inline-block}
.row-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 87% 29.4%)}
.row-menu>summary::-webkit-details-marker{display:none}
.row-menu>div{position:absolute;right:0;top:46px;z-index:20;min-width:210px;display:grid;padding:8px 0;background:#fff;border:1px solid #d5dce0;border-radius:10px;box-shadow:0 8px 24px rgba(0,30,50,.18)}
.row-menu>div button{text-align:left;background:none;border:0;padding:10px 16px;font-weight:700;color:#12303d;cursor:pointer}
.row-menu>div button:hover,.row-menu>div button:focus-visible{background:#eef6f8}
.row-menu>div button.danger{color:#c4254b}
.workflow-header-menu>summary{background:none}
.workflow-filter-range{display:flex;gap:12px;border:0;padding:0;margin:0 0 12px}
.workflow-filter-range legend{font-weight:700;margin-bottom:6px;padding:0}
.workflow-filter-range label{display:grid;gap:4px;flex:1}
#workflow-filters-form .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.row-menu>summary svg{width:20px;height:20px;transform:rotate(90deg);stroke:#0a4f6b;fill:#0a4f6b;stroke-width:2.5}
.workflow-header-menu>summary svg{stroke:#0a4f6b;fill:#0a4f6b}
@media (min-width:900px){.workflow-list .tablewrap{overflow:visible}}
.row-menu>div button{display:block;width:100%;text-align:left;justify-content:flex-start}
.workflow-exit-options{display:grid;gap:12px;margin:16px 0}
.workflow-exit-note{border-left:4px solid #7a1fd1;background:#f4eefb;padding:12px 16px;border-radius:4px}
/* Análise de Canais */
.channel-analysis{padding:8px 0 40px}
.channel-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}
.channel-filters select,.channel-filters input{border:1px solid #b9c0c5;border-radius:8px;padding:8px 12px;background:#fff;min-height:40px}
.channel-range{padding:8px 12px;border:1px solid #b9c0c5;border-radius:8px;background:#fff}
.channel-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:16px 0 24px}
.channel-tile{display:grid;gap:8px;justify-items:center;padding:28px 12px;border-radius:12px;background:#e8ebed;color:#12303d}
.channel-tile.first{background:hsl(var(--brand-h) 100% 50.0%)}
.channel-tile span{font-size:12px;font-weight:700;letter-spacing:.04em}.channel-tile b{font-size:32px}
.channel-table th,.channel-table td{text-align:right}.channel-table th:first-child{text-align:left}
.channel-table th small{display:block;font-weight:400;color:#5b6b73}
.channel-note{color:#5b6b73;font-size:14px}.channel-error{color:#c4254b}
@media (max-width:640px){.channel-tiles{grid-template-columns:repeat(2,1fr)}}
.channel-filters select{width:auto;min-width:220px;flex:0 0 auto}
.channel-filters b{margin-right:4px}
.channel-table tbody th{background:#fff;font-weight:400;text-align:left;vertical-align:middle}
.channel-table tbody th b{display:block;font-size:14px}
/* Marketing: performance e atribuição de receita */
.revenue-section{display:grid;grid-template-columns:minmax(220px,1fr) 3fr;gap:24px;margin:32px 0}
.revenue-intro h2{margin:0 0 8px;font-size:28px}.revenue-intro p{margin:0;color:#6b7a82}
.revenue-cards{display:grid;gap:16px}.revenue-cards.two{grid-template-columns:repeat(2,1fr)}.revenue-cards.three{grid-template-columns:repeat(3,1fr)}
.revenue-card{display:grid;gap:8px;padding:20px;border:1px solid #d5dce0;border-radius:12px;background:#fff}
.revenue-card h3{margin:0;font-size:16px;font-weight:500;display:flex;align-items:center;gap:8px}.revenue-card h3 svg{width:18px;height:18px}
.revenue-card strong{font-size:24px}.revenue-card small{color:#6b7a82}
.revenue-group{margin:0 0 12px;font-size:16px}.revenue-groups .revenue-cards{margin-bottom:20px}
.revenue-hint{color:#6b7a82;cursor:help}
@media (max-width:760px){.revenue-section{grid-template-columns:1fr}.revenue-cards.three{grid-template-columns:1fr}}
/* CRM: Leads antes da negociação */
.prospects-page{padding:8px 0 40px}
.prospects-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.prospects-head h1{margin:0 0 8px}.prospects-head p{margin:0;color:#4a5b64}
.prospects-filters{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.prospects-filters select{width:auto;min-width:190px;border:1px solid #b9c0c5;border-radius:8px;padding:8px 12px;background:#fff;min-height:40px}
.prospects-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:56px 16px;max-width:520px;margin:0 auto}
.prospects-empty>svg{width:96px;height:96px;color:hsl(var(--brand-h) 89% 34.9%)}.prospects-empty h2{margin:8px 0 0}.prospects-empty p{margin:0;color:#4a5b64}
.prospects-count{color:#5b6b73;font-size:14px}
.prospect-section{margin:20px 0 4px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#4a5b64}
.prospect-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}
@media (max-width:640px){.prospects-head{flex-direction:column}.prospects-filters select{width:100%}}
/* CRM: Reuniões */
.meetings-page{padding:8px 0 40px}
.meetings-crumb a{color:#4a5b64;text-decoration:none;font-weight:600}
.meetings-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:4px 0 12px}
.meetings-head h1{margin:0 0 6px}.meetings-head p{margin:0;color:#4a5b64}.meetings-head .actions{display:flex;gap:10px}
.meetings-tabs{display:flex;gap:24px;border-bottom:1px solid #d5dce0;margin:16px 0}
.meetings-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 0;font-weight:700;color:#4a5b64;cursor:pointer}
.meetings-tabs button[aria-selected=true]{color:hsl(var(--brand-h) 88% 33.3%);border-color:hsl(var(--brand-h) 88% 33.3%)}
.meetings-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.meetings-filters select{width:auto;min-width:200px;border:1px solid #b9c0c5;border-radius:8px;padding:8px 12px;background:#fff;min-height:40px}
.meetings-count{display:inline-block;background:#e8ebed;border-radius:6px;padding:2px 8px;font-size:12px;font-weight:700;margin-bottom:12px}
.meetings-page td small{display:block;color:#5b6b73}
.meetings-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:40px 16px}
.meetings-empty>svg{width:88px;height:88px;color:hsl(var(--brand-h) 89% 34.9%)}.meetings-empty h2{margin:6px 0 0}.meetings-empty p{margin:0;color:#4a5b64;max-width:440px}
.meeting-when{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.meeting-when:has(>:nth-child(2):last-child){grid-template-columns:1fr 1fr}
.meeting-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.meeting-count{display:block;text-align:right;color:#5b6b73}
@media (max-width:640px){.meetings-head{flex-direction:column}.meeting-when{grid-template-columns:1fr}.meetings-filters select{width:100%}}
/* Etapas do Lead */
.lead-stages-page .lead-stage-order{display:flex;align-items:center;gap:14px;min-height:56px}
.lead-stages-page tbody th{text-transform:none;font-size:15px;color:#12303d;background:#fff;text-align:left}
.lead-stages-page .pill{background:#eceff1;color:#12303d}
.lead-stage-move{display:inline-flex;gap:6px}.lead-stage-move button{width:32px;height:32px;border:1px solid #d5dce0;border-radius:6px;background:#fff;cursor:pointer}
.lead-stage-move button:disabled{opacity:.4;cursor:default}.lead-stage-lock svg{width:18px;height:18px;color:#5b6b73}
.deal-list-value{display:grid;gap:2px;font-weight:700;color:hsl(var(--brand-h) 88% 33.3%);white-space:nowrap}
.settings-flyout{position:relative}
.settings-flyout>summary{background:none;color:inherit;width:40px;height:40px}
.settings-flyout>div{top:44px;min-width:250px}
.settings-flyout>div a{display:block;padding:10px 16px;font-weight:700;color:#12303d;text-decoration:none}
.settings-flyout>div a:hover,.settings-flyout>div a:focus-visible{background:#eef6f8}
.settings-flyout>summary svg{transform:none;stroke:currentColor;fill:none;stroke-width:1.8;width:22px;height:22px}
.settings-flyout>summary{color:#e8f6fa;display:grid;place-items:center}
.marketing-module-menu .menu-section{display:block;margin:10px 0 2px;padding-top:10px;border-top:1px solid rgba(255,255,255,.18);font-size:11px;letter-spacing:.04em;color:#a9c4cf}
.marketing-module-menu .menu-action{display:block;width:100%;text-align:left;background:none;border:0;padding:inherit;font:inherit;color:inherit;cursor:pointer}
/* Modelos de automação */
.workflow-templates{padding:8px 0 40px}.workflow-templates h1{margin:6px 0 4px;font-size:32px}.workflow-templates>p{color:#4a5b64;margin:0 0 20px}
.workflow-template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.workflow-template-card{display:grid;align-content:start;gap:10px;justify-items:center;text-align:center;min-height:210px;padding:20px 14px;background:#fff;border:1px solid #d5dce0;border-radius:12px;cursor:pointer;font:inherit}
.workflow-template-card:hover,.workflow-template-card:focus-visible{border-color:hsl(var(--brand-h) 88% 33.3%);box-shadow:0 4px 14px rgba(0,60,90,.12)}
.workflow-template-card small{color:#5b6b73;font-size:13px}.workflow-template-art svg{width:64px;height:64px;color:#1e88e5}
.templates-link{display:inline-flex;align-items:center;padding:0 18px;min-height:40px;border-radius:8px;background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 87% 29.4%);font-weight:700;text-decoration:none}
@media (max-width:900px){.workflow-template-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:520px){.workflow-template-grid{grid-template-columns:1fr}}
/* Estatísticas do fluxo */
.workflow-stats{padding:8px 0 40px}.workflow-stats-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.workflow-stats-head h1{margin:0;color:#1e88e5}.workflow-stats-head p{margin:4px 0 0;color:#5b6b73;font-size:18px}
.workflow-stats-head .button-link{display:inline-flex;align-items:center;padding:0 18px;min-height:40px;background:hsl(var(--brand-h) 88% 56.5%);color:#fff;border-radius:6px;font-weight:700;text-decoration:none}
.workflow-stats-period{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0;padding:14px;border:1px solid #d5dce0;border-radius:8px}
.workflow-stats-period select,.workflow-stats-period input{width:auto;border:1px solid #b9c0c5;border-radius:6px;padding:6px 10px;min-height:36px;background:#fff}
.workflow-stats-controls{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;align-items:center;color:#4a5b64;margin:8px 0}
.workflow-stats-controls .segmented{display:inline-flex}.workflow-stats-controls .segmented button{border:1px solid hsl(var(--brand-h) 88% 56.5%);background:#fff;color:hsl(var(--brand-h) 88% 56.5%);padding:6px 14px;cursor:pointer}
.workflow-stats-controls .segmented button[aria-pressed=true]{background:hsl(var(--brand-h) 87% 94.1%);font-weight:700}
.workflow-stats-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:14px 0}
.workflow-stats-numbers div{border:1px solid #d5dce0;border-radius:10px;padding:14px;display:grid;gap:6px}.workflow-stats-numbers small{color:#5b6b73;font-weight:700;text-transform:uppercase;font-size:11px}.workflow-stats-numbers b{font-size:30px}
.workflow-stats-chart{width:100%;max-height:260px}.workflow-stats-legend{display:flex;gap:18px;color:#4a5b64}.workflow-stats-legend span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:2px;background:var(--c);margin-right:6px}
.workflow-stats-table th,.workflow-stats-table td{text-align:right}.workflow-stats-table th:first-child{text-align:left}
.config-crumb a{color:#4a5b64;text-decoration:none;font-weight:600;font-size:13px}
.questionnaire-tip{border:1px solid #d5dce0;border-left:4px solid hsl(var(--brand-h) 100% 50.0%);border-radius:8px;background:#fff;padding:16px 20px;margin:16px 0}.questionnaire-tip b{display:block;margin-bottom:6px}.questionnaire-tip p{margin:0}
.questionnaire-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:48px 16px;max-width:520px;margin:0 auto}.questionnaire-empty>svg{width:96px;height:96px;color:hsl(var(--brand-h) 89% 34.9%)}.questionnaire-empty h2{margin:6px 0 0;font-size:20px}.questionnaire-empty p{margin:0;color:#4a5b64}
/* Preferências com abas */
.preferences-tabs{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid #d5dce0;margin:12px 0 20px}
.preferences-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 0;font-weight:700;font-size:13px;letter-spacing:.03em;text-transform:uppercase;color:#5b6b73;cursor:pointer}
.preferences-tabs button[aria-selected=true]{color:#12303d;border-color:#12303d}
.preferences-lead{color:#4a5b64;margin:0 0 14px}
.preferences-radio{border:0;padding:0;margin:18px 0;display:grid;gap:10px}.preferences-radio legend{padding:0;margin-bottom:6px}.preferences-radio label{display:flex;gap:10px;align-items:flex-start}
.preferences-switch{display:flex;gap:14px;align-items:flex-start;margin:6px 0 18px}.preferences-switch small{display:block;color:#5b6b73;margin-top:6px}
.preferences-sub{margin:24px 0 8px;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#4a5b64}
.repository-help{color:#4a5b64;padding-left:20px;display:grid;gap:6px}.repository-upload{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:14px 0}
.repository-upload .button-link{display:inline-flex;align-items:center;padding:0 18px;min-height:40px;border-radius:8px;background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 87% 29.4%);font-weight:700;cursor:pointer}
.preferences-form .formgrid{display:block;max-width:760px}
.preferences-form .formgrid>*{margin-bottom:14px}
.preferences-radio input,.preferences-switch input,.repository-upload input[type=checkbox]{width:18px;height:18px;min-height:0;flex:0 0 auto;margin-top:2px;padding:0}
.preferences-radio label{align-items:flex-start;font-weight:400}
.privacy-intro{border:1px solid #d5dce0;border-radius:8px;background:#fff;padding:16px 20px;margin-bottom:16px;max-width:760px}.privacy-intro p{margin:0}
.privacy-note{max-width:760px;margin:6px 0 14px}.privacy-note p{margin:4px 0 0;color:#5b6b73}
.exports-rules{background:#f4f6f7;border-radius:8px;padding:16px 20px;margin:12px 0 20px;color:#4a5b64}.exports-rules p{margin:0 0 8px}.exports-rules ol{margin:0;padding-left:20px;display:grid;gap:4px}
.exports-history-head{display:flex;align-items:center;gap:10px}.exports-history-head h2{margin:0}
/* Seleção e ações em massa de negociações */
.deal-bulk-bar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;background:#0b2a38;color:#fff;border-radius:12px;padding:14px 18px;margin:8px 0 0}
.deal-bulk-bar .textbutton{color:hsl(var(--brand-h) 87% 55.5%);font-weight:700}.deal-bulk-bar .deal-bulk-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:18px}.deal-bulk-bar .textbutton.danger{color:#ff6b8a}
.deal-bulk-all-filter{display:flex;gap:10px;align-items:center;background:#eef1f2;padding:14px 18px;font-weight:600}
td input[type=checkbox],th input[type=checkbox],.deal-bulk-all-filter input{width:18px;height:18px;min-height:0;padding:0}
.crm-template-actions{margin:12px 0 16px}.template-share{display:flex;gap:8px;align-items:center}.template-share input{width:18px;height:18px;min-height:0}
.account-dropdown .account-sales{display:grid;gap:2px;padding:10px 16px;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14);margin:6px 0}.account-dropdown .account-sales small{color:#a9c4cf}.account-dropdown .account-sales b{font-size:20px}
/* Perfil: abas */
.personal-tabs{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid #d5dce0;margin:8px 0 20px}
.personal-tabs a{padding:12px 0;font-weight:700;font-size:13px;letter-spacing:.03em;text-transform:uppercase;color:#5b6b73;text-decoration:none;border-bottom:3px solid transparent}
.personal-tabs a[aria-current=page]{color:#12303d;border-color:#12303d}
.personal-prefs-body{max-width:640px}
.calendar-link{display:grid;gap:8px;margin:14px 0}.calendar-link input{width:100%}
.report-empty-state{display:grid;justify-items:center;text-align:center;gap:8px;padding:48px 16px}.report-empty-state>svg{width:96px;height:96px;color:hsl(var(--brand-h) 89% 34.9%)}.report-empty-state h2{margin:8px 0 0;font-size:18px}.report-empty-state p{margin:0;color:#4a5b64}
.developer-id{margin:4px 0 0;color:#5b6b73;font-size:13px}.developer-id code{background:#eef1f2;padding:2px 6px;border-radius:4px}
/* Contraste mínimo (WCAG AA) nos textos que ficavam abaixo de 4,5:1 */
.channel-table th{color:#3d4d55}.channel-table tbody th b{color:#12303d}
.notice.info,.notice.info p{color:#1d3b4a}
.workflow-list>small,.workflow-templates .meetings-crumb a{color:#4a5b64}
.footer-note,.muted{color:#4f5d65}
.revenue-intro p,.revenue-card small,.revenue-hint{color:#55646c}
.marketing-funnel button>span,.marketing-funnel button>small{color:#4f5d65}
#page strong>small{color:#4a5f6b}#page span>small{color:#4f6572}
#page .actions button:not(.primary):not(.icon){color:hsl(var(--brand-h) 100% 26.1%)}
.filter-button{color:hsl(var(--brand-h) 100% 24.5%)}
thead th{color:#47575f}
.import-link{color:hsl(var(--brand-h) 100% 24.5%)}.report-filter-button{color:hsl(var(--brand-h) 100% 24.5%)}
#page small{color:#4a5f6b}.report-history-stamp{color:#4a5f6b}
.marketing-funnel span{color:#4a5964}
.goal-section-heading button{background:hsl(var(--brand-h) 88% 33.3%);color:#fff}
.goals-page [role=tab][aria-selected=true],.goals-page button[aria-current=true]{color:hsl(var(--brand-h) 100% 24.5%)}
.goals-page .goal-section-heading button,.goals-page .goal-section-heading button:hover{background:hsl(var(--brand-h) 88% 33.3%);color:#fff}
.goals-page button[role=tab][aria-selected=true],.goals-page .goal-tabs button[aria-selected=true]{color:hsl(var(--brand-h) 100% 24.5%)}
.tablewrap p{color:#4a5b64}
.settings-home a[href="#trash"]{color:hsl(var(--brand-h) 100% 24.5%)}
.skip-link{position:absolute;left:8px;top:-60px;z-index:1000;background:#fff;color:hsl(var(--brand-h) 100% 14.5%);padding:10px 16px;border-radius:8px;font-weight:700;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.skip-link:focus{top:8px}
#page:focus{outline:none}
/* Conta */
.account-page{max-width:880px;padding:8px 0 40px}.account-head h1{margin:0}.account-head h1 small{font-size:13px;color:#4a5b64;font-weight:400;margin-left:8px}.account-head p{margin:4px 0 0;color:#4a5b64}
.account-tabs{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid #d5dce0;margin:16px 0 20px}.account-tabs a{padding:12px 0;font-weight:600;color:hsl(var(--brand-h) 100% 24.5%);text-decoration:none;border-bottom:3px solid transparent}.account-tabs a[aria-current=page]{color:#12303d;border-color:#12303d}
#account-form fieldset{border:1px solid #d5dce0;border-radius:10px;padding:20px;display:grid;gap:14px;max-width:720px}#account-form h2{margin:0;font-size:16px}
/* Atalho de tarefas */
.ts-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ts-strip{display:grid;grid-template-columns:auto repeat(7,1fr) auto;gap:6px;align-items:center;margin-bottom:16px}
.ts-strip>button{border:1px solid #d5dce0;background:#fff;border-radius:8px;padding:6px 4px;cursor:pointer;display:grid;gap:2px;justify-items:center;font:inherit}
.ts-strip>button[aria-label]{border:0;background:none;font-size:20px;color:hsl(var(--brand-h) 100% 24.5%)}
.ts-strip>button[aria-pressed=true]{background:hsl(var(--brand-h) 100% 50.0%);border-color:hsl(var(--brand-h) 100% 50.0%);color:hsl(var(--brand-h) 100% 14.5%)}.ts-strip>button.today:not([aria-pressed=true]){border-color:hsl(var(--brand-h) 100% 24.5%)}
.ts-strip small{font-size:10px;color:inherit;opacity:.85}
.ts-list{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px}.ts-list li{display:flex;gap:10px;align-items:center;border:1px solid #d5dce0;border-radius:8px;padding:10px 12px}.ts-list time{font-weight:700;color:hsl(var(--brand-h) 100% 24.5%)}.ts-list li>span{flex:1}
.ts-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:20px 8px}.ts-empty p{margin:0;color:#4a5b64}
.ts-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:12px}
.row-menu>div a{display:block;padding:10px 16px;font-weight:700;color:#12303d;text-decoration:none}.row-menu>div a:hover,.row-menu>div a:focus-visible{background:#eef6f8}
.deal-actions-menu>summary{background:none}
/* Contato no CRM */
.crm-contact-page{max-width:760px;margin:0 auto;padding:8px 0 40px}
.crm-contact-head{display:flex;gap:12px;align-items:center}.crm-contact-head a{font-size:22px;color:hsl(var(--brand-h) 100% 24.5%);text-decoration:none}.crm-contact-head h1{margin:0;font-size:22px}.crm-contact-head small{color:#4a5b64}
.crm-contact-tabs{border-bottom:1px solid #d5dce0;margin:14px 0 18px}.crm-contact-tabs span{display:inline-block;padding:10px 0;font-weight:700;font-size:13px;border-bottom:3px solid #12303d}
.crm-contact-card{background:#fff;border:1px solid #d5dce0;border-radius:10px;padding:18px 20px;margin-bottom:16px}.crm-contact-card h2{margin:0 0 12px;font-size:17px}
.crm-contact-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.crm-contact-card>header h2{margin:0}
.crm-contact-card dl{margin:0;display:grid;gap:14px}.crm-contact-card dl>div{display:flex;gap:12px}.crm-contact-card dt{color:#4a5b64;min-width:90px}.crm-contact-card dd{margin:0}
.crm-contact-deals{list-style:none;margin:0;padding:0;display:grid;gap:8px}.crm-contact-deal{display:flex;gap:12px;align-items:center;border-left:3px solid #d94a5a;padding:8px 12px;background:#fafbfb}.crm-contact-deal .crm-contact-value{margin-left:auto;font-weight:700}
.crm-company-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.crm-company-stats>div{flex-direction:column;gap:2px}.crm-company-stats dd{font-weight:700;font-size:16px}
.record-note-form{display:grid;gap:8px;margin-bottom:14px}.record-note-form label{display:grid;gap:4px;font-weight:600}.record-note-form textarea{width:100%;box-sizing:border-box}.record-note-form button{justify-self:start}
.crm-contact-card>header .record-history-filter{display:flex;gap:6px;align-items:center;font-size:13px;color:#4a5b64}
/* Botão flutuante de criação */
.quick-create{position:fixed;right:24px;bottom:24px;z-index:30}.quick-create>summary{list-style:none;width:56px;height:56px;border-radius:50%;background:hsl(var(--brand-h) 100% 24.5%);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.28)}.quick-create>summary::-webkit-details-marker{display:none}
.quick-create>div{position:absolute;right:0;bottom:66px;display:grid;gap:8px;min-width:190px}.quick-create>div button{display:flex;gap:10px;align-items:center;background:#fff;color:#12303d;border:1px solid #d5dce0;border-radius:24px;padding:8px 14px;box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer}
.row-menu.quick-create{position:fixed;display:block}.row-menu.quick-create>summary{width:56px;height:56px;border-radius:50%;background:hsl(var(--brand-h) 100% 24.5%);color:#fff}.row-menu.quick-create>div{top:auto;bottom:66px;padding:0;background:none;border:0;box-shadow:none}.row-menu.quick-create>div button{padding:8px 14px;font-weight:600}
.deal-manage{margin-left:8px}.deal-manage>div{right:0}
.stage-stats{margin:0 0 8px;padding:8px 10px;background:#f4f7f8;border-radius:8px;display:grid;gap:4px;font-size:12px}.stage-stats>div{display:flex;justify-content:space-between;gap:8px}.stage-stats dt{color:#4a5b64}.stage-stats dd{margin:0;font-weight:700}.stage-stats-toggle.active{background:hsl(var(--brand-h) 86% 86.5%)}
.task-saved-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 10px}.task-saved-filters label{display:flex;gap:6px;align-items:center;font-size:13px}.task-saved-filters input{min-width:160px}
.filedrop.dragging{outline:2px dashed hsl(var(--brand-h) 100% 24.5%);background:#eef6f8}
.saved-filters{border-bottom:1px solid #d5dce0;margin-bottom:12px;padding-bottom:10px}.saved-filters-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.deal-create-menu{display:inline-block}.deal-create-menu>summary{width:auto;height:40px;padding:0 16px;display:inline-flex;gap:6px;align-items:center;background:hsl(var(--brand-h) 100% 24.5%);color:#fff;font-weight:700;border-radius:8px}.deal-create-menu>div{min-width:180px;right:auto;left:0}
.ga-why{margin-top:6px;font-size:13px}.ga-why summary{cursor:pointer;color:hsl(var(--brand-h) 100% 24.5%);font-weight:600}.marketing-updated{color:#4a5b64;margin-left:12px}
.contact-info{background:#5b6b73}
/* Contraste AA: texto escuro sobre o ciano da marca e cinza de apoio mais escuro */
:root{--muted:#586d7d}
.lead-insert-group .primary,.lead-list-menu>summary,.mi-insert>a,#lead-sale-form .primary,.source-actions .primary,.lossreasons-page .primary{color:hsl(var(--brand-h) 100% 11.4%)}
.lead-base-tabs a{color:#0b6785}
.marketing-leads .lead-list-menu>summary{color:hsl(var(--brand-h) 100% 11.4%)}
.marketing-leads .lead-search-row span,.marketing-leads .lead-list-toolbar span,.marketing-leads .lead-search-row label span{color:#58666f}
.marketing-funnel button span,.marketing-funnel button small{color:hsl(var(--brand-h) 100% 11.4%)}
.trash-pending-notice a,#page aside a{color:hsl(var(--brand-h) 100% 26.5%)}
.analytics-notice>span{color:#8a5a00}
.lead-list-score>span{background:#4c5a63;color:#fff}
.marketing-leads .marketing-lead-card a{color:#0b6785}
.marketing-leads .marketing-lead-card p,.marketing-leads .marketing-lead-card time{color:#58666f}
.lead-opportunity-star{color:#6b7a85}
.marketing-dashboard .marketing-funnel button small,.marketing-dashboard .marketing-funnel button span{color:hsl(var(--brand-h) 100% 11.4%)!important}
.lead-opportunity-star{color:#5d6c76}.lead-card-chevron{color:#5d6c76}
.marketing-leads .lead-last-event,.marketing-leads .lead-last-event span{color:#58666f}
.marketing-leads .lead-pagination button,.marketing-leads [aria-label*="aginação"] button{color:#0b6785}
.lead-list-pagination button{color:#0b6785}
.product-catalog #product-catalog-search:focus-within,.gs-box:focus-within{outline:3px solid var(--accent);outline-offset:2px}
@media (max-width:700px){.marketing-period{flex-wrap:wrap;gap:8px 16px}.marketing-updated{margin-left:0;flex-basis:100%;order:3}.marketing-funnel-tools{flex-direction:row;flex-wrap:wrap;gap:8px 16px;width:100%;order:4}.marketing-funnel-tools a{white-space:nowrap}}
@media (max-width:700px){.deal-create-menu>div{left:auto;right:0}}
@media (pointer:coarse),(max-width:700px){.contact-info{min-height:32px;min-width:32px;width:32px;height:32px}}
.task-late{color:#9a1f2e}.deals-page td small{display:block;color:#58666f}.deals-page .task-late small{color:#9a1f2e}
.deal{position:relative}.deal .card-about{position:absolute;top:8px;right:8px;min-width:24px;min-height:24px;width:24px;height:24px}
.deal-create-menu>summary svg{color:#fff;stroke:#fff;width:18px;height:18px}
.card-status.open:before{background:#19c7e6}.card-status.paused:before{background:#f2a900}
.column.collapsed{min-width:0;width:auto}.column.collapsed .colhead{flex-wrap:wrap}
/* Funil: medidas e cores lidas no RD (coluna e cartão) */
.rd-board .column{background:#eceeef;border:1px solid #d6dbde;border-radius:4px 4px 0 0;padding:8px 16px}
.rd-board .column .deal{border:1px solid #d6dbde;border-radius:4px;padding:8px}
/* Listas de Contatos e Empresas: medidas lidas no RD (cabeçalho 12 px, linhas de 73 px, texto 16 px) */
.contacts-page table th{color:#405466;border-bottom:2px solid #d6dbde}
.contacts-page table td{font-size:16px;font-weight:500;color:hsl(var(--brand-h) 100% 10.0%);border-bottom:1px solid #d6dbde}
.contacts-page table td .textbutton{font-size:16px;font-weight:700;color:hsl(var(--brand-h) 100% 34.9%)}
.contacts-page table td .dial-link,.contacts-page table td a.phone-link{color:inherit;font-weight:500;text-decoration:none}
.contacts-page table td:last-child{width:72px;min-width:72px;white-space:nowrap;padding-right:16px}
.contacts-page table td .dial-link:hover,.contacts-page table td .dial-link:focus-visible{text-decoration:underline}
.contacts-page table th:last-child{width:72px}
.contacts-page:not(.companies-page) table th:first-child{width:50px}
.contacts-page:not(.companies-page) table th:first-child,.contacts-page:not(.companies-page) table td:first-child{padding-left:16px;padding-right:0}
.contacts-page table td,.contacts-page table th{padding:16px 0 16px 16px}
.contacts-page table td:last-child,.contacts-page table th:last-child{padding-right:16px}
.contacts-page table th input[type=checkbox],.contacts-page table td input[type=checkbox]{vertical-align:middle;margin:0}
/* Fichas de contato e empresa: fundo, cartões e cabeçalho conforme o RD (cartão 664 px, fundo #e8ebf1, sombra leve) */
.crm-contact-page{max-width:none;margin:-48px -4.5% -64px -3.7%;padding:0 0 64px;background:#e8ebf1;min-height:calc(100vh - 80px)}
.crm-contact-head{background:#fff;padding:12px 24px 4px}.crm-contact-head h1{font-size:20px;font-weight:400;color:#364a65}
.crm-contact-tabs{background:#fff;margin:0 0 16px;padding:0 24px}
.crm-contact-card{width:min(664px,calc(100% - 32px));margin:0 auto 16px;border:0;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);padding:16px 8px 8px}
.crm-contact-card dt{color:rgba(34,46,59,.68);font-weight:400}.crm-contact-card dd{color:#222e3b}
.row-menu.quick-create{right:20px;bottom:20px}.row-menu.quick-create>summary{background:hsl(var(--brand-h) 97% 45.5%);color:#fff}.row-menu.quick-create>summary svg{color:#fff;stroke:#fff}
.crm-contact-card .dial-link{color:inherit;font-weight:400;text-decoration:none}.crm-contact-card .dial-link:hover,.crm-contact-card .dial-link:focus-visible{text-decoration:underline}
.crm-contact-value{margin-left:auto;display:grid;gap:2px;font-size:11px;font-weight:400;text-align:right}.value-dot{display:inline-flex;align-items:center;gap:6px;justify-content:flex-end}.value-dot:before{content:'';width:8px;height:8px;border-radius:50%}.value-one:before{background:hsl(var(--brand-h) 98% 48.4%)}.value-recurring:before{background:#7b3fa0}
.crm-contact-card>header .privacy-help{font-size:13px;display:inline-flex;gap:6px;align-items:center;color:#0b6785}
.deal-detail-titlerow{display:flex;align-items:center;gap:20px}.deal-detail-titlerow h1{margin:0}.deal-detail-back{margin:0;font-size:24px;line-height:1;color:hsl(var(--brand-h) 100% 34.9%);text-decoration:none}.deal-detail-status{margin-top:12px}
/* Lista de negociações: mesma tipografia de tabela do RD */
.deals-page .tablewrap table th{color:#405466;border-bottom:2px solid #d6dbde;padding:16px 0 16px 16px}
.deals-page .tablewrap table td{font-size:16px;font-weight:500;color:hsl(var(--brand-h) 100% 10.0%);border-bottom:1px solid #d6dbde;padding:16px 0 16px 16px}
.deals-page .tablewrap table td .textbutton{font-size:16px;font-weight:700;color:hsl(var(--brand-h) 100% 34.9%)}
.deals-page .tablewrap table td:last-child,.deals-page .tablewrap table th:last-child{width:72px;padding-right:16px}
.status-icon{display:inline-flex;align-items:center}.status-icon svg{width:22px;height:22px;stroke-width:2}.status-won{color:#2e9e4f}.status-lost{color:#c4244b}.status-open{color:hsl(var(--brand-h) 100% 10.0%)}.status-paused{color:#8a5a00}
.next-task b{color:#c4244b;font-weight:600;display:block}.next-task small{color:#58666f}.next-task.task-late small{color:#9a1f2e}
/* Faixa de etapas: altura e tipografia lidas no RD (segmentos de 32 px, nome em negrito cortado com reticências) */
.deal-stage-rail button{min-height:32px;height:32px;font-size:14px;font-weight:700;padding:0 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Painel lateral da negociação: cores e tipografia lidas no RD */
.deal-info-section{background:#eceeef;border-radius:8px}
.deal-info-section>summary{font-size:20px;font-weight:700;color:hsl(var(--brand-h) 100% 10.0%)}
.deal-info-section dt{font-size:16px;font-weight:500;color:hsl(var(--brand-h) 100% 10.0%)}
.deal-info-section dd{font-size:16px;font-weight:700;color:hsl(var(--brand-h) 100% 10.0%)}
.deal-info-section .deal-info-field{min-height:44px;align-items:center}
.deal-info-section dt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}
.deal-info-section .deal-info-field{margin-bottom:0;padding:0 0 0 0}.deal-info-section .deal-info-field dt{margin-bottom:0}.deal-info-section .deal-info-field dd{min-height:44px;align-items:center}
/* Tarefas: atalho de reuniões visível e filtros salvos compactos */
.tasks-page .icon-link{color:hsl(var(--brand-h) 100% 18.6%)}
.task-saved-details{margin:0 0 10px}.task-saved-details>summary{cursor:pointer;color:#0b6785;font-weight:600;font-size:13px;width:max-content}
.task-saved-details .task-saved-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.task-saved-details .task-saved-filters input{width:220px}
/* Metas: fundo cinza-azulado de página inteira como no RD */
.goals-page{margin:-48px -4.5% -64px -3.7%;padding:24px 4.5% 64px 3.7%;background:#e8ebf1;min-height:calc(100vh - 80px)}
.goals-page .goals-section{border:0;box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14)}
/* Automação: cabeçalhos ordenáveis sóbrios como no RD */
.workflow-list th .textbutton{color:#405466;text-decoration:none;font-size:inherit;font-weight:700}
.workflow-list th[aria-sort="ascending"] .textbutton,.workflow-list th[aria-sort="descending"] .textbutton{color:hsl(var(--brand-h) 100% 10.0%)}
.workflow-list th .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Menu do Marketing: divisores entre grupos de itens e itens de ação alinhados como links */
.marketing-module-menu hr{border:0;border-top:1px solid rgba(255,255,255,.18);margin:8px 0}
.marketing-module-menu .menu-action{text-align:left;padding:var(--space-3);font-weight:600}
/* Lista de segmentações: cabeçalho em maiúsculas cinza, coluna ordenada em escuro, como no RD */
.segmentation-list table th .textbutton{color:#405466;text-transform:uppercase;font-size:12px;font-weight:700;text-decoration:none}
.segmentation-list table th .textbutton.sorted{color:hsl(var(--brand-h) 100% 10.0%)}
.segmentation-list table td{font-size:16px;border-bottom:1px solid #d6dbde;padding:16px 0 16px 16px}
.segmentation-list table td .textbutton{font-size:16px;font-weight:700;color:hsl(var(--brand-h) 100% 34.9%)}
/* Campos personalizados do Marketing: faixa de título em largura total e rótulo "por página" em uma linha */
.marketing-fields>.report-heading{display:flex;justify-content:space-between;align-items:center;margin:-48px -4.5% 0 -3.7%;padding:16px 24px;border-bottom:1px solid #e1e5e8}
.marketing-fields>.report-heading h1{font-size:20px;font-weight:400;color:#364a65;margin:0}
.marketing-fields-tools label{white-space:nowrap}
/* E-mail Marketing: abas menores e botão "Comparar canais" como no RD */
.email-list .admin-tabs button{font-size:14px;font-weight:500;color:hsl(var(--brand-h) 100% 10.0%)}
.email-list .admin-tabs button[aria-selected="true"]{color:hsl(var(--brand-h) 100% 10.0%);font-weight:700}
.email-list .compare-channels{display:inline-flex;gap:8px;align-items:center;height:40px;padding:0 16px;border-radius:8px;background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 100% 18.6%);font-weight:700;text-decoration:none}
.capture-onboarding p{max-width:760px;margin-inline:auto}.capture-onboarding-actions{display:flex;gap:12px;justify-content:center;margin-top:16px}
.capture-onboarding-actions button:not(.primary){background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 100% 18.6%);border:0;font-weight:700}
/* Atalho de tarefas: gaveta à direita, em altura total, sem rodapé de formulário (como no RD) */
dialog:has(form.task-shortcut){position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(600px,100vw);max-width:none;height:100vh;max-height:none;border-radius:0;padding:0}
dialog:has(form.task-shortcut) form.task-shortcut{height:100%;display:flex;flex-direction:column}
dialog:has(form.task-shortcut) .modalbody{flex:1;overflow:auto}
form.task-shortcut .modalfoot{display:none}
form.task-shortcut .modalbody{display:flex;flex-direction:column}
form.task-shortcut .ts-actions{margin-top:auto;display:flex;gap:12px;justify-content:flex-end;padding:16px 0;border-top:1px solid #d6dbde}
/* Criar e editar cadastros (contato, empresa, negociação...): gaveta à direita como no RD */
dialog:has(form#record-form){position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(600px,100vw);max-width:none;height:100vh;max-height:none;border-radius:0;padding:0}
dialog:has(form#record-form) form#record-form{height:100%;display:flex;flex-direction:column}
dialog:has(form#record-form) .modalbody{flex:1;overflow:auto}
dialog:has(form#record-form) .modalfoot{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #d6dbde;padding:16px 24px}
dialog:has(form#record-form) .formgrid{grid-template-columns:1fr}
dialog:has(form#record-form) .modalfoot button:not(.primary){background:hsl(var(--brand-h) 86% 86.5%);color:hsl(var(--brand-h) 100% 18.6%);border:0;font-weight:700}
dialog:has(form#record-form) .modalfoot .primary{background:hsl(var(--brand-h) 100% 18.6%);color:#fff;border:0;font-weight:700}
/* Assistente de produtos: opções como cartões ciano, rádio pequeno (o RD usa cartão destacado) */
.product-import-choice{display:flex;gap:16px;align-items:center;padding:16px 20px;border:2px solid #d6dbde;border-radius:8px;background:#fff;max-width:640px;margin:0 0 12px;cursor:pointer}
.product-import-choice input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin:0}
.product-import-choice:has(input:checked){background:hsl(var(--brand-h) 90% 92.2%);border-color:hsl(var(--brand-h) 100% 42.4%)}
.product-import-choice small{display:block;color:#405466}
.product-import-tips{margin:0 0 16px;padding-left:20px}
/* Assistente de produtos: passos em lista vertical à esquerda e rodapé fixo com Voltar/Avançar (como no RD) */
.product-import-wizard{display:grid;grid-template-columns:240px 1fr;column-gap:32px;align-items:start}
.product-import-wizard>header{grid-column:1/-1}
.product-import-wizard>ol{grid-column:1;flex-direction:column;align-items:flex-start;gap:20px;margin:0;position:relative}
.product-import-wizard>ol>li{position:relative;z-index:1}
.product-import-wizard>ol>li:not(:last-child)::after{content:'';position:absolute;left:12px;top:100%;height:20px;border-left:2px solid #d6dbde}
.product-import-body{grid-column:2;min-width:0}
.product-import-body>footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #d6dbde;padding:16px 0;display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
@media (max-width:760px){.product-import-wizard{grid-template-columns:1fr}.product-import-body{grid-column:1}.product-import-wizard>ol{flex-direction:row;flex-wrap:wrap;margin-bottom:24px}.product-import-wizard>ol>li:not(:last-child)::after{display:none}}
/* Importar dados: aviso de ajuda roxo e aba "Dúvidas sobre como importar?" */
.import-help-banner{display:flex;gap:16px;align-items:flex-start;border:1px solid #d6dbde;border-left:4px solid #7b3fa0;border-radius:4px;background:#fff;padding:16px 20px;margin:0 0 20px;position:relative}
.import-help-banner h2{margin:0 0 4px;font-size:18px}.import-help-banner p{margin:0 0 12px;color:#405466}
.import-help-actions{display:flex;gap:16px;align-items:center}.import-help-actions .primary{background:hsl(var(--brand-h) 100% 18.6%);color:#fff;border:0}
.import-help-icon{color:#7b3fa0}.import-help-close{margin-left:auto}
.import-help-tab{position:absolute;right:0;top:0;border:0;border-radius:8px 0 0 8px;background:#e9d8f4;color:#2b1140;padding:8px 14px;font-weight:600;font-size:13px}
.import-help-tab span{display:inline-grid;place-items:center;width:22px;height:22px;margin-left:8px;border-radius:50%;background:#7b3fa0;color:#fff}
.import-help-list{padding-left:20px;line-height:1.6}
.import-help-tab{position:fixed;top:96px;right:0;z-index:5}.import-help-banner h2{color:hsl(var(--brand-h) 100% 10.0%)}
.exports-history table th,.exports-history table td{padding:12px 8px;font-size:14px}.exports-history table td:last-child{text-align:center}
.exports-history .icon-link{color:hsl(var(--brand-h) 100% 18.6%)}

.email-editor.show-structure .email-canvas-block{outline:1px dashed #5b6b7b;outline-offset:-1px}
.email-editor.show-structure .email-row-block{outline-color:#1a6fb5}
.email-structure-toggle{display:inline-flex;gap:6px;align-items:center;font-size:13px}

.channel-evolution{margin:16px 0;color:#1a6fb5}.channel-evolution figcaption{color:#2b3a47;font-weight:600;margin-bottom:4px}.channel-evolution svg{width:100%;max-width:720px;height:auto}.channel-evolution details{color:#2b3a47;font-size:13px}

.pi-sample{display:block;color:#2b3a47;font-size:12px;font-weight:400;margin-top:2px}
.product-import-duplicates{border:0;padding:0;margin:0 0 12px}.product-import-duplicates legend{font-weight:600;margin-bottom:8px}

.mi-legal-basis{border:0;padding:0;margin:16px 0}.mi-legal-basis legend{font-weight:600}
.stage-more{display:block;width:100%;margin:8px 0;padding:8px;border:1px dashed var(--line,#c5cdd6);background:transparent;border-radius:8px;color:inherit;cursor:pointer;font:inherit}.stage-more:hover{background:rgba(0,0,0,.04)}
