@import "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap";:root{--page-bg:#f8fafc;--ink:#0f172a;--ink-soft:#1e293b;--muted:#64748b;--muted-soft:#94a3b8;--line:#94a3b838;--line-strong:#e2e8f0;--soft:#f1f5f9;--surface:#fff;--surface-muted:#f8fafc;--brand:#f97316;--brand-2:#ea580c;--brand-soft:#f973161a;--brand-ring:#f9731638;--success:#10b981;--success-soft:#10b9811f;--yellow:#d89416;--yellow-soft:#d894161f;--red:#d64545;--blue:#2f6fed;--blue-soft:#2f6fed1f;--purple:#8b5cf6;--purple-soft:#8b5cf61f;--shadow-xs:0 1px 2px #0f172a0a;--shadow-sm:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a;--shadow-md:0 4px 12px -2px #0f172a14,0 2px 4px -2px #0f172a0a;--shadow-lg:0 12px 32px -8px #0f172a24;--radius-canvas:20px;--radius:14px;--radius-sm:10px}*{box-sizing:border-box}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}body{--brand:var(--company-color,#f97316);--brand-2:color-mix(in srgb,var(--company-color,#f97316) 84%,black);--brand-soft:color-mix(in srgb,var(--company-color,#f97316) 10%,transparent);--brand-ring:color-mix(in srgb,var(--company-color,#f97316) 22%,transparent);background:var(--page-bg);min-height:100vh;color:var(--ink-soft);letter-spacing:.005em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;transition:background-color .15s,border-color .15s,box-shadow .15s,filter .15s,color .15s,transform .15s}.login-shell{background:var(--page-bg);place-items:center;min-height:100vh;padding:24px;display:grid}.login-split{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.login-hero{color:#fff;background:linear-gradient(160deg,#173829e0 0%,#0f261beb 100%),url(/imagem%20login.png) 50%/cover no-repeat;flex-direction:column;justify-content:space-between;padding:40px;display:flex;position:relative;overflow:hidden}.login-hero-brand{z-index:1;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex;position:relative}.login-hero-mark{background:#ffffff1f url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' width='16' height='16'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V21h14V9.5'/></svg>") 50% no-repeat;border-radius:7px;width:26px;height:26px}.login-hero-copy{z-index:1;max-width:440px;position:relative}.login-hero-copy h1{color:#fff;letter-spacing:-.02em;font-size:38px;line-height:1.15}.login-hero-copy p{color:#ffffffc7;margin-top:14px;font-size:15px;line-height:1.5}.login-hero-rule{background:var(--brand);border-radius:2px;width:56px;height:3px;margin:22px 0 12px}.login-hero-copy span{color:#fff9;font-size:13px;font-weight:600}.login-card-flat{width:100%;max-width:480px;box-shadow:none;background:0 0;border:0;flex-direction:column;justify-content:center;margin:0 auto;padding:40px;display:flex}.login-card-flat h1{font-size:26px}.google-btn{gap:10px;font-weight:600}.google-btn:disabled{opacity:.7;cursor:not-allowed}.auth-divider{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:12px;margin:18px 0;font-size:12px;font-weight:600;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line-strong);flex:auto;height:1px}.input-with-icon{align-items:center;display:flex;position:relative}.input-with-icon>svg{width:16px;height:16px;color:var(--muted-soft);pointer-events:none;position:absolute;left:12px}.field .input-with-icon input{width:100%;padding-left:38px}.input-icon-btn{color:var(--muted-soft);background:0 0;padding:6px;position:absolute;right:8px}.input-icon-btn:hover{color:var(--ink-soft)}.input-icon-btn svg{width:16px;height:16px}.login-secure-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:20px;font-size:12px;font-weight:600;display:flex}.login-secure-note svg{width:14px;height:14px}@media (width<=900px){.login-split{grid-template-columns:1fr}.login-hero{display:none}}.login-card{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-canvas);width:min(440px,100%);box-shadow:var(--shadow-lg);text-align:center;padding:32px}.mark{border:2px solid var(--brand);width:56px;height:56px;color:var(--brand);letter-spacing:.04em;box-shadow:var(--shadow-sm);background:#fff;border-radius:999px;place-items:center;margin:0 auto;font-weight:800;line-height:1;display:grid}.login-logo{width:min(220px,80%);height:auto;margin:0 auto}h1,h2,h3{letter-spacing:-.02em;color:var(--ink);margin:0;font-weight:700}.login-card h1{letter-spacing:-.03em;font-size:29px;font-weight:800}.sub{color:var(--muted);letter-spacing:.005em;font-size:13px;font-weight:500}.login-card .field{text-align:left}.login-card .sub:last-of-type{color:var(--muted);margin-top:14px;font-size:11px;font-weight:400}.field{gap:6px;margin-top:16px;display:grid}.field label{color:var(--ink-soft);font-size:12px;font-weight:600}.field input,.field select,.field textarea,.cs-trigger{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--soft);width:100%;color:var(--ink);outline:none;padding:10px 12px}.field input::placeholder,.field textarea::placeholder{color:var(--muted-soft)}.field input:focus,.field select:focus,.field textarea:focus,.cs-trigger.open{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);background:#fff}.cs{position:relative}.cs-trigger{cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:8px;font-weight:500;display:flex}.cs-trigger:disabled{opacity:.6;cursor:not-allowed}.cs-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cs-caret{color:var(--muted);flex:none;transition:transform .15s}.cs-trigger.open .cs-caret{transform:rotate(180deg)}.cs-menu{z-index:1000;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);max-height:264px;padding:6px;overflow:auto}.cs-option{text-align:left;width:100%;color:var(--ink-soft);background:0 0;border-radius:8px;padding:8px 10px;font-size:13.5px;font-weight:500;display:block}.cs-option:hover:not(:disabled){background:var(--brand-soft);color:var(--ink)}.cs-option.highlighted:not(.selected){background:var(--soft);color:var(--ink)}.cs-option.selected{background:var(--brand);color:#fff}.cs-option:disabled{color:var(--muted-soft);cursor:not-allowed}.map-filters .cs{min-width:0}.field input[type=file]{color:var(--muted);padding:8px 12px 8px 8px;font-size:13px}.field input[type=file]::file-selector-button{border:1px solid var(--line-strong);color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:8px;margin-right:12px;padding:8px 14px;font-size:12.5px;font-weight:600;transition:background-color .15s,border-color .15s}.field input[type=file]::-webkit-file-upload-button{border:1px solid var(--line-strong);color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:8px;margin-right:12px;padding:8px 14px;font-size:12.5px;font-weight:600;transition:background-color .15s,border-color .15s}.field input[type=file]:hover::file-selector-button{background:var(--soft);border-color:var(--brand)}.field input[type=file]:hover::-webkit-file-upload-button{background:var(--soft);border-color:var(--brand)}.inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inline-actions input{flex:180px}.btn{border-radius:var(--radius-sm);background:var(--brand);color:#fff;letter-spacing:.005em;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:600;display:inline-flex;box-shadow:0 1px 2px #0f172a14}.btn svg{flex:none;width:16px;height:16px}.btn:hover{filter:brightness(1.05);box-shadow:0 2px 6px #0f172a1f}.btn:active{filter:brightness(.97);transform:translateY(1px)}.btn.ghost{color:var(--ink-soft);border:1px solid var(--line-strong);box-shadow:none;background:#fff}.btn.ghost:hover{background:var(--soft);border-color:var(--muted-soft);color:var(--ink)}.between{justify-content:space-between;align-items:center;gap:12px;display:flex}.company-pick{background:var(--page-bg);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.company-panel{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-canvas);width:min(896px,100%);box-shadow:var(--shadow-lg);padding:40px;position:relative}.company-panel>.between{align-items:flex-start}.company-panel h1{font-size:30px;font-weight:800}.company-panel .btn.ghost{border-radius:var(--radius-sm);color:var(--muted);background:var(--soft);border:1px solid var(--line-strong);padding:8px 16px;font-size:12px;font-weight:600}.company-panel .btn.ghost:hover{background:var(--line-strong);color:var(--ink-soft)}.company-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px;display:grid}.company-card{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);text-align:left;box-shadow:var(--shadow-xs);flex-direction:column;gap:10px;padding:18px 20px;transition:box-shadow .2s,border-color .2s,transform .2s,background .2s;display:flex;position:relative}.company-card:hover{box-shadow:0 16px 32px -12px #f9731629,var(--shadow-sm);background:#fff;border-color:#fb923c80;transform:translateY(-2px)}.company-card-row{align-items:center;gap:16px;display:flex}.company-card-body{flex:auto;min-width:0}.company-card-body .pill{margin-top:6px}.company-card h3{color:var(--ink);font-size:16px;font-weight:700}.company-card-arrow{width:36px;height:36px;color:var(--muted);border:1px solid var(--line-strong);background:#fff;border-radius:999px;flex:none;place-items:center;transition:color .2s,border-color .2s,background .2s,transform .2s;display:grid}.company-card-arrow svg{width:15px;height:15px}.company-card:hover .company-card-arrow{color:var(--brand);border-color:var(--brand-ring);background:var(--brand-soft);transform:translate(2px)}.company-card-badge{background:var(--brand-soft);color:var(--brand-2);border-radius:999px;align-self:flex-start;align-items:center;gap:5px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.company-card-badge svg{fill:currentColor;width:11px;height:11px}.company-card.last-opened{background:var(--brand-soft);border-color:#fb923c80}.company-card.last-opened:hover{background:var(--brand-soft)}.company-card.last-opened .company-card-arrow{color:var(--brand);border-color:var(--brand-ring);background:#fff}.logo{background:linear-gradient(135deg,var(--company-color),color-mix(in srgb,var(--company-color) 65%,#000));color:#fff;letter-spacing:.01em;width:44px;height:44px;box-shadow:var(--shadow-xs);border-radius:12px;place-items:center;font-weight:800;line-height:1;display:grid}.logo-initials{-webkit-user-select:none;user-select:none;font-size:15px}.company-card{border-left:4px solid var(--company-color)}.company-card:hover{border-left-color:var(--company-color)}.company-card.last-opened{border-left-color:var(--brand)}.company-card .logo{width:72px;height:72px;box-shadow:none;background:color-mix(in srgb,var(--company-color) 14%,white);color:var(--company-color);border-radius:16px;flex:none;padding:6px;transition:transform .2s}.company-card .logo svg,.company-card .logo img{display:block}.company-card .logo .logo-initials{font-size:24px}.company-card:hover .logo{transform:scale(1.05)}.app-shell{grid-template-columns:var(--sidebar-w,264px) 1fr;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-canvas);min-height:calc(100vh - 36px);box-shadow:var(--shadow-md);margin:18px;transition:grid-template-columns .2s;display:grid}.view-enter{animation:.28s cubic-bezier(.16,1,.3,1) both viewEnter}@keyframes viewEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes kpiIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.kpis>*{animation:.32s cubic-bezier(.16,1,.3,1) both kpiIn}.kpis>:nth-child(2){animation-delay:40ms}.kpis>:nth-child(3){animation-delay:80ms}.kpis>:nth-child(4){animation-delay:.12s}.kpis>:nth-child(n+5){animation-delay:.16s}@keyframes companyCardIn{0%{opacity:0;transform:translateY(10px)scale(.95)}60%{opacity:1;transform:translateY(-1px)scale(1.01)}to{opacity:1;transform:translateY(0)scale(1)}}.company-grid>*{animation:.4s cubic-bezier(.16,1,.3,1) both companyCardIn}.company-grid>:nth-child(2){animation-delay:50ms}.company-grid>:nth-child(3){animation-delay:.1s}.company-grid>:nth-child(4){animation-delay:.15s}.company-grid>:nth-child(n+5){animation-delay:.2s}.grid{gap:16px;display:grid}.grid>*{min-width:0}.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.card-h{border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.card-h h3{color:var(--ink);font-size:15px;font-weight:700}.kpi{align-items:flex-start;gap:14px;padding:20px;display:flex}.kpi-icon{background:var(--brand-soft);width:38px;height:38px;color:var(--brand);border-radius:11px;flex:none;place-items:center;display:grid}.kpi-icon svg{width:19px;height:19px}.kpi .label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.kpi .value{letter-spacing:-.01em;color:var(--ink);margin-top:5px;font-size:26px;font-weight:800}.kpi .hint{color:var(--muted);margin-top:4px;font-size:12px}.bar-row-track{background:var(--soft);border-radius:999px;height:8px;overflow:hidden}.bar-row-fill{border-radius:0 999px 999px 0;height:8px;transition:filter .15s}.bar-row:hover .bar-row-fill{filter:brightness(1.1)}.bulk-bar{background:var(--brand-soft);border-bottom:1px solid var(--line-strong);color:var(--ink-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 20px;font-size:13px;font-weight:600;display:flex}.table-filters{flex-wrap:wrap;align-items:center;gap:10px;padding-bottom:14px;display:flex}.table-filters .cs{min-width:160px}.table-filters .cs .cs-trigger,.table-filters .search-field input{min-height:38px}.table-wrap{overflow:auto}table{border-collapse:collapse;table-layout:auto;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line-strong);white-space:nowrap;padding:8px 12px}th{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;background:var(--surface-muted);z-index:1;font-size:10.5px;font-weight:700;position:sticky;top:0}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}th.sortable .th-sort{align-items:center;gap:3px;display:flex}th.sortable .th-sort svg{flex:none;width:11px;height:11px}th.sortable:hover{color:var(--ink-soft)}th.col-check,td.col-check{width:44px;padding-left:14px;padding-right:0}th.col-actions,td.col-actions{text-align:right;width:44px;padding-right:14px}td{height:60px;color:var(--ink-soft)}tr.row-clickable{cursor:pointer}.table-foot{border-top:1px solid var(--line-strong);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.table-foot .cs{min-width:120px}.table-foot .cs .cs-trigger{min-height:38px;font-size:12.5px}.pager{align-items:center;gap:6px;display:flex}.pager button{border-radius:var(--radius-sm);border:1px solid var(--line-strong);min-height:38px;color:var(--ink-soft);background:#fff;padding:0 12px;font-size:12.5px;font-weight:600}.pager button:hover:not(:disabled){background:var(--soft);border-color:var(--muted-soft)}.pager button:disabled{opacity:.45;cursor:not-allowed}.pager button.current{background:var(--brand);border-color:var(--brand);color:#fff}.row-menu{display:inline-flex;position:relative}.row-menu-trigger{width:30px;height:30px}.row-menu-pop{z-index:1000}.row-menu-pop .cs-option{font-size:13px}.pill{letter-spacing:.01em;color:var(--ink-soft);background:#64748b1a;border-radius:999px;align-items:center;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.pill.status-active{background:var(--success-soft);color:#047857}.pill.status-past{color:var(--muted);background:#64748b24}.pill.status-lost{color:var(--red);background:#d645451f}.pill.status-planned{color:var(--muted);background:#64748b24}.pill.status-complete,.pill.status-connected,.pill.status-approved{background:var(--success-soft);color:#047857}.pill.status-draft{color:var(--muted);background:#64748b24}.pill.status-rejected{color:var(--red);background:#d645451f}.health-banner{border-radius:var(--radius-sm);border:1px solid var(--line-strong);align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.health-banner svg{flex:none;width:22px;height:22px;margin-top:1px}.health-banner b{margin-bottom:2px;font-size:14px;display:block}.health-alert{color:var(--ink-soft);margin-top:2px;font-size:12.5px}.health-green{background:var(--success-soft);color:#047857}.health-green svg{color:#047857}.health-yellow{background:var(--yellow-soft);color:#92610a}.health-yellow svg{color:var(--yellow)}.health-red{color:var(--red);background:#d645451a}.health-red svg{color:var(--red)}.health-gray{background:var(--soft);color:var(--muted)}.health-gray svg{color:var(--muted-soft)}.pill.health-pill-green{background:var(--success-soft);color:#047857}.pill.health-pill-yellow{background:var(--yellow-soft);color:#92610a}.pill.health-pill-red{color:var(--red);background:#d645451f}.pill.health-pill-gray{color:var(--muted);background:#64748b24}.link-btn{color:var(--blue);background:0 0;padding:0;font-size:12.5px;font-weight:600}.link-btn:hover{text-decoration:underline}.attention-row{border-top:1px solid var(--line-strong);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.attention-row:first-child{border-top:0;padding-top:0}.activity-row{border-top:1px solid var(--line-strong);justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.activity-row:first-child{border-top:0;padding-top:0}.stage-rows{gap:8px;display:grid}.stage-row{background:var(--surface-muted);border:1px solid var(--line-strong);border-radius:var(--radius-sm);align-items:center;gap:10px;padding:9px 12px;transition:opacity .15s,border-color .15s;display:flex}.stage-row.dragging{opacity:.4}.stage-drag-handle{width:24px;height:28px;color:var(--muted-soft);cursor:grab;background:0 0;flex:none;justify-content:center;align-items:center;display:flex}.stage-drag-handle:hover{color:var(--ink-soft)}.stage-drag-handle:active{cursor:grabbing}.stage-drag-handle svg{width:15px;height:15px}.stage-row-order{border:1px solid var(--line-strong);border-radius:8px;flex-direction:column;flex:none;display:flex;overflow:hidden}.stage-row-order .btn{background:#fff;border-radius:0;padding:2px 7px;font-size:9px;line-height:1.5}.stage-row-order .btn svg{width:10px;height:10px}.stage-row-order .btn:first-child{border-bottom:1px solid var(--line-strong)}.stage-color-input{border:2px solid var(--line-strong);cursor:pointer;appearance:none;background:#fff;border-radius:999px;flex:none;width:30px;height:30px;padding:0;overflow:hidden}.stage-color-input::-webkit-color-swatch-wrapper{padding:0}.stage-color-input::-webkit-color-swatch{border:none;border-radius:999px}.stage-row-main{flex-direction:column;flex:auto;min-width:0;display:flex}.stage-name-input{color:var(--ink);background:0 0;border:1px solid #0000;border-radius:8px;margin:-4px -6px;padding:4px 6px;font-size:13.5px;font-weight:700}.stage-name-input:hover{background:var(--soft)}.stage-name-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);background:#fff}.stage-badge{border-radius:999px;flex:none;place-items:center;width:28px;height:28px;font-size:12.5px;font-weight:800;display:grid}.stage-badge svg{width:14px;height:14px}.stage-badge.type-lost{color:var(--red);background:#d645451f}.stage-drag-hint{color:var(--muted);align-items:center;gap:6px;margin-bottom:12px;font-size:12.5px;font-weight:600;display:flex}.stage-drag-hint svg{width:14px;height:14px}.stage-info-banner{background:var(--blue-soft);border-radius:var(--radius-sm);color:var(--ink-soft);border:1px solid #2f6fed2e;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 14px;font-size:12.5px;line-height:1.5;display:flex}.stage-info-banner svg{width:16px;height:16px;color:var(--blue);flex:none;margin-top:1px}.modal-f .sub{align-items:center;gap:6px;display:flex}.modal-f .sub svg{width:14px;height:14px}.stage-row .cs{flex:none;width:128px}.stage-type .cs-trigger{border:1px solid var(--line-strong);color:var(--ink-soft);background:#fff;padding-left:30px;font-weight:600;position:relative}.stage-type .cs-trigger:before{content:"";border-radius:999px;width:8px;height:8px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.stage-type.type-open .cs-trigger:before{background:var(--blue)}.stage-type.type-won .cs-trigger:before{background:var(--success)}.stage-type.type-lost .cs-trigger:before{background:var(--red)}.btn.ghost.danger{color:var(--red)}.btn.ghost.danger:hover{background:#d645451a;border-color:#d6454566}.stage-add-btn{width:100%;color:var(--muted);border:1.5px dashed var(--line-strong);box-shadow:none;background:0 0;justify-content:center;margin-top:12px}.stage-add-btn:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft);filter:none}.pipeline{grid-auto-columns:minmax(200px,1fr);grid-auto-flow:column;align-items:start;gap:14px;display:grid;overflow-x:auto}.stage{background:var(--surface-muted);border:1px solid var(--line-strong);border-radius:var(--radius);flex-direction:column;min-height:250px;max-height:calc(100vh - 260px);transition:background-color .15s,border-color .15s;display:flex}.stage.drag-over{background:var(--brand-soft);border-color:var(--brand)}.stage-h{color:var(--ink);background:inherit;border-radius:var(--radius) var(--radius) 0 0;z-index:1;justify-content:space-between;padding:14px;font-size:13px;font-weight:700;display:flex;position:sticky;top:0}.stage-scroll{flex:auto;overflow-y:auto}.lead-card{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-xs);cursor:grab;margin:0 10px 10px;padding:12px;transition:box-shadow .15s,border-color .15s,opacity .15s}.lead-card:hover{box-shadow:var(--shadow-sm);border-color:var(--brand-ring)}.lead-card.dragging{opacity:.4;cursor:grabbing}.lead-card-head{align-items:center;gap:10px;display:flex}.lead-avatar{border-radius:999px;flex:none;place-items:center;width:32px;height:32px;font-size:11px;font-weight:800;display:grid}.lead-card-meta{color:var(--muted);align-items:center;gap:5px;margin-top:7px;font-size:11.5px;display:flex}.stagnant-badge{color:var(--yellow);font-weight:700}.chat-widget{z-index:60;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:20px;right:20px}.chat-fab{background:var(--brand);color:#fff;width:52px;height:52px;box-shadow:var(--shadow-md);cursor:pointer;border:none;border-radius:999px;place-items:center;display:grid}.chat-panel{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);width:340px;max-width:calc(100vw - 40px);height:460px;max-height:calc(100vh - 120px);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;overflow:hidden}.chat-panel-h{border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.chat-panel-body{flex-direction:column;flex:1;gap:10px;padding:14px;display:flex;overflow-y:auto}.chat-bubble{white-space:pre-wrap;border-radius:12px;max-width:85%;padding:8px 12px;font-size:13px;line-height:1.4}.chat-bubble-user{background:var(--brand);color:#fff;border-bottom-right-radius:2px;align-self:flex-end}.chat-bubble-assistant{background:var(--surface-muted);color:var(--ink);border-bottom-left-radius:2px;align-self:flex-start}.chat-bubble-loading{opacity:.6;font-style:italic}.chat-panel-input{border-top:1px solid var(--line-strong);gap:8px;padding:10px;display:flex}.chat-panel-input input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);flex:1;padding:8px 10px;font-size:13px}.stage-more{color:var(--blue);text-align:center;margin:0 10px 10px;padding:8px;font-size:12px;font-weight:600}.stage-add-lead{border-radius:var(--radius-sm);color:var(--blue);border:1px dashed var(--line-strong);background:0 0;justify-content:center;align-items:center;gap:6px;margin:4px 10px 10px;padding:10px;font-size:12.5px;font-weight:600;display:flex}.stage-add-lead:hover{background:var(--blue-soft);border-color:var(--blue)}.stage-add-lead svg{width:14px;height:14px}.calendar-grid{background:var(--line-strong);border:1px solid var(--line-strong);border-radius:var(--radius);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin-top:14px;display:grid;overflow:hidden}.cal-head{background:var(--surface-muted);color:var(--muted);text-transform:uppercase;letter-spacing:.06em;text-align:center;padding:10px;font-size:10.5px;font-weight:700}.cal-cell{text-align:left;min-height:104px;color:var(--ink-soft);background:#fff;flex-direction:column;gap:5px;padding:8px;display:flex}.cal-cell:hover{background:var(--surface-muted)}.cal-cell.today{background:var(--brand-soft)}.cal-day{font-size:13px;font-weight:700}.cal-cell.today .cal-day{background:var(--brand);color:#fff;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-weight:800;display:inline-flex}.cal-job{text-overflow:ellipsis;white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:4px 5px;font-size:11px;display:flex;overflow:hidden}.cal-job-dot{border-radius:999px;flex:none;width:6px;height:6px}.map-filters{grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;margin-bottom:14px;display:grid}.map-filters select,.map-filters input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--soft);min-width:0;padding:9px 11px}.map-layout{grid-template-columns:1.4fr .8fr}.map-canvas{border:1px solid var(--line-strong);border-radius:var(--radius);background:#eef4f0;height:520px;overflow:hidden}.route-legend{gap:14px;display:flex}.route-legend span{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.route-legend-dot{border:1.5px solid #fff;border-radius:999px;width:9px;height:9px;display:inline-block;box-shadow:0 0 0 1px #0f172a1f}.route-order-list{gap:6px;display:grid}.route-order-row{background:var(--surface-muted);border:1px solid var(--line-strong);border-radius:var(--radius-sm);align-items:center;gap:10px;padding:8px 10px;display:flex}.route-order-num{color:#fff;width:24px;height:24px;box-shadow:var(--shadow-xs);border:2px solid #fff;border-radius:999px;flex:none;place-items:center;font-size:11px;font-weight:700;display:grid}.route-order-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:13px;font-weight:600;overflow:hidden}input[type=checkbox]{appearance:none;border:1.5px solid var(--line-strong);cursor:pointer;background:#fff;border-radius:5px;flex-shrink:0;place-content:center;width:18px;height:18px;margin:0;transition:background-color .15s,border-color .15s,box-shadow .15s;display:inline-grid}input[type=checkbox]:hover{border-color:var(--brand)}input[type=checkbox]:checked{background:var(--brand);border-color:var(--brand)}input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;transform:rotate(45deg)translate(-1px,-1px)}input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px var(--brand-ring);outline:none}.map-empty{color:var(--muted);text-align:center;pointer-events:none;background:#eef4f0e6;place-items:center;padding:24px;font-weight:600;display:grid;position:absolute;inset:0}.map-fit-btn{z-index:400;border:1px solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink-soft);box-shadow:var(--shadow-sm);background:#fff;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:600;display:flex;position:absolute;top:10px;left:10px}.map-fit-btn:hover{background:var(--soft)}.map-fit-btn:disabled{opacity:.5;cursor:not-allowed}.map-fit-btn svg{width:14px;height:14px}.map-geo-status{color:var(--yellow);align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:flex}.map-geo-status svg{width:15px;height:15px}.map-stop-search{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--soft);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");background-position:12px;background-repeat:no-repeat;width:100%;margin-bottom:12px;padding:9px 12px 9px 34px}.filter-count-badge{background:var(--brand);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:800;display:inline-flex}.route-plan-controls{border-top:1px solid var(--line-strong);margin-top:14px;padding-top:14px}.route-plan-controls .cs{width:100%}.route-plan-optimize{justify-content:center;width:100%;margin-top:12px}.route-block{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius);border-left:4px solid #0000;margin-bottom:10px;padding:14px;transition:background-color .15s,border-color .15s;overflow:hidden}.route-block.selected{background:var(--brand-soft);border-color:#f9731659;border-left-color:var(--brand)}.route-stop{border-top:1px solid var(--line-strong);border-radius:8px;gap:3px;margin:0 -4px;padding:10px 4px;font-size:13px;transition:background-color .15s;display:grid}.route-stop:first-child{border-top:0}.route-stop span{color:var(--muted);font-size:12px}.two{grid-template-columns:1fr 1fr}.self-start{align-self:start}.three{grid-template-columns:repeat(3,1fr)}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tabs{flex-wrap:wrap;gap:6px;display:flex}.tab{border:1px solid var(--line-strong);color:var(--ink-soft);background:#fff;border-radius:999px;padding:8px 14px;font-weight:600}.tab.active{background:var(--company-color);color:#fff;border-color:var(--company-color)}.modal-bg{z-index:61;background:#0f172a66;place-items:start center;padding:34px 16px;animation:.18s both modalBgIn;display:grid;position:fixed;inset:0;overflow:auto}.modal-bg.closing{animation:.16s both modalBgOut}.modal{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-canvas);width:min(780px,100%);box-shadow:var(--shadow-lg);animation:.22s cubic-bezier(.16,1,.3,1) both modalIn}.modal-bg.closing .modal{animation:.16s both modalOut}@keyframes modalBgIn{0%{opacity:0}to{opacity:1}}@keyframes modalBgOut{0%{opacity:1}to{opacity:0}}@keyframes modalIn{0%{opacity:0;transform:translateY(14px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes modalOut{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.97)}}.modal-h{border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.modal-h h3{font-size:16px}.modal-b{padding:20px}.modal-f{border-top:1px solid var(--line-strong);background:var(--surface-muted);border-radius:0 0 var(--radius-canvas) var(--radius-canvas);justify-content:flex-end;gap:10px;padding:16px 20px;display:flex}.record-activity{border-top:1px solid var(--line-strong);margin-top:18px;padding-top:16px}.record-activity .field textarea,.record-activity .field input{margin-bottom:8px}.record-note-list{flex-direction:column;gap:8px;margin:8px 0 10px;display:flex}.record-note{background:var(--surface-muted);border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:8px 10px}.record-note p{white-space:pre-wrap;margin:0 0 4px;font-size:13.5px}.record-note-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.toast{opacity:0;background:var(--ink);color:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-md);z-index:70;padding:11px 18px;font-weight:600;transition:all .2s;position:fixed;bottom:22px;left:50%;transform:translate(-50%,80px)}.toast.show{opacity:1;transform:translate(-50%)}.diff-list{white-space:normal;flex-direction:column;gap:4px;max-width:420px;display:flex}.diff-row{flex-wrap:wrap;gap:6px;font-size:12.5px;line-height:1.4;display:flex}.diff-field{color:var(--ink-soft);flex:none;font-weight:700}.diff-value{color:var(--muted)}.diff-change{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.diff-old{color:var(--red);-webkit-text-decoration:line-through #d6454580;text-decoration:line-through #d6454580}.diff-arrow{color:var(--muted-soft)}.diff-new{color:#047857;font-weight:600}.muted{color:var(--muted)}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:32px;display:flex}.empty svg{width:28px;height:28px;color:var(--muted-soft)}td a{align-items:center;gap:4px;display:inline-flex}td a svg{width:14px;height:14px}.table-avatar-row{align-items:center;gap:10px;display:flex}.skeleton{background:#94a3b829;border-radius:8px;position:relative;overflow:hidden}.skeleton:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);animation:1.4s ease-in-out infinite skeletonShimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes skeletonShimmer{to{transform:translate(100%)}}.skeleton-text{border-radius:6px;width:100%;height:12px}.skeleton-text.short{width:55%}.skeleton-circle{border-radius:999px;width:44px;height:44px}.skeleton-card{border-radius:var(--radius);height:96px}.skeleton-stack{gap:10px;display:grid}.upcoming-job{border:1px solid var(--line-strong);border-radius:var(--radius-sm);align-items:flex-start;gap:12px;margin-bottom:10px;padding:14px;display:flex}.upcoming-job:last-child{margin-bottom:0}.upcoming-date{text-align:center;background:var(--ink);color:#fff;border-radius:10px;flex:none;width:48px;overflow:hidden}.upcoming-date-month{text-transform:uppercase;letter-spacing:.06em;background:#ffffff24;padding:3px 0;font-size:9.5px;font-weight:700;display:block}.upcoming-date-day{padding:4px 0;font-size:17px;font-weight:800;display:block}.upcoming-body{flex:auto;min-width:0}.upcoming-title-row b{font-size:13.5px}.upcoming-sub{color:var(--muted);margin-top:2px;font-size:12.5px}.upcoming-meta{color:var(--muted);align-items:center;gap:6px;margin-top:8px;font-size:12px;display:flex}.upcoming-actions{flex:none;gap:8px;display:flex}.icon-btn{border:1px solid var(--line-strong);width:32px;height:32px;color:var(--muted);background:#fff;border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--soft);color:var(--ink)}.icon-btn svg{width:15px;height:15px}@media (width<=1050px){.company-grid{grid-template-columns:repeat(2,1fr)}.app-shell{grid-template-columns:220px 1fr}.kpis{grid-template-columns:repeat(2,1fr)}.two,.three{grid-template-columns:1fr}.map-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.app-shell{border-radius:18px;grid-template-columns:1fr;min-height:calc(100vh - 16px);margin:8px}.main{border-radius:18px}.content{padding:14px}.company-panel{border-radius:18px;padding:22px}.company-panel>.between{flex-direction:column;align-items:flex-start;gap:14px}.company-grid,.kpis,.form-row{grid-template-columns:1fr}.calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-head{display:none}.cal-cell{min-height:88px}.map-filters,.map-layout{grid-template-columns:1fr}.map-canvas{height:420px}.inline-actions{flex-direction:column;align-items:stretch}.stage{max-height:60vh}.pipeline{grid-auto-columns:78vw}.icon-btn,.row-menu-trigger{width:44px;height:44px}.pager button{min-height:44px}.input-icon-btn{padding:10px}.chat-widget{bottom:84px}}.new-menu{position:relative}.new-menu .btn svg:last-child{width:14px;height:14px;margin-left:2px}.new-menu-list{border:1px solid var(--line);border-radius:var(--radius-sm);min-width:160px;box-shadow:var(--shadow-md);z-index:40;background:#fff;padding:4px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.new-menu-list button{text-align:left;color:var(--ink);background:0 0;border-radius:6px;padding:9px 12px;font-weight:600}.new-menu-list button:hover,.new-menu-list button:focus-visible{background:var(--soft)}.toast.error{background:var(--red);align-items:center;gap:14px;max-width:min(560px,100vw - 32px);display:flex}.toast-close{color:#fff;background:0 0;border:1px solid #fff9;border-radius:6px;flex:none;padding:4px 10px;font-weight:700}.advanced-fields{margin:4px 0 12px}.advanced-fields summary{cursor:pointer;color:var(--muted);padding:4px 0;font-size:13px;font-weight:600}.advanced-fields[open] summary{margin-bottom:8px}.breadcrumb{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;font-size:12.5px;display:flex}.breadcrumb a{color:var(--muted);font-weight:600}.breadcrumb a:hover{color:var(--ink)}.breadcrumb svg{width:13px;height:13px;color:var(--muted-soft)}.breadcrumb [aria-current=page]{color:var(--ink);font-weight:600}.pf-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.pf-header h2{letter-spacing:-.01em;overflow-wrap:anywhere;margin:0;font-size:22px}.pf-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:6px;font-size:13px;display:flex}.tag-credit{background:var(--success-soft);color:#047857;border-radius:999px;padding:2px 9px;font-weight:700;display:inline-block}.pf-tabs{border-bottom:1px solid var(--line-strong);gap:4px;margin-top:20px;display:flex;overflow-x:auto}.pf-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px;font-weight:600}.pf-tabs button:hover{color:var(--ink)}.pf-tabs button.active{color:var(--ink);border-bottom-color:var(--brand)}.pf-summary{color:var(--ink-soft);gap:6px;margin:0;padding-left:18px;display:grid}.input-affix{align-items:stretch;display:flex}.input-affix input{flex:1;min-width:0}.input-affix .affix{background:var(--soft);border:1px solid var(--line-strong);color:var(--muted);align-items:center;padding:0 10px;font-weight:700;display:flex}.input-affix .affix:first-child{border-radius:var(--radius-sm) 0 0 var(--radius-sm);border-right:0}.input-affix .affix:last-child{border-radius:0 var(--radius-sm) var(--radius-sm) 0;border-left:0}.input-affix .affix:first-child+input{border-top-left-radius:0;border-bottom-left-radius:0}.input-affix input:has(+.affix){border-top-right-radius:0;border-bottom-right-radius:0}.text-danger{color:var(--red);font-weight:700}.stop-list{overscroll-behavior:contain;max-height:min(60vh,540px);margin:0 -6px;padding:2px 6px;overflow-y:auto}.stop-kind-filter{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.stop-kind-filter button{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink-soft);border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:12.5px;font-weight:600;display:inline-flex}.stop-kind-filter button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--ink)}.stop-kind-filter .count{color:var(--muted);font-weight:700}.stop-list-status{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;display:flex}.stop-group-head{align-items:center;gap:8px;display:flex}.stop-group-toggle{text-align:left;min-width:0;color:var(--ink);background:0 0;border:0;flex:1;align-items:center;gap:6px;padding:2px 0;display:flex}.stop-group-toggle svg{width:16px;height:16px;color:var(--muted);flex:none}.stop-group-toggle b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.route-block .route-stop:first-of-type{margin-top:8px}@media (width<=760px){.stop-list{max-height:70vh}}.seg{border:1px solid var(--line-strong);background:var(--soft);border-radius:999px;padding:2px;display:inline-flex}.seg button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:600}.day-section{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 4px;font-size:11px;font-weight:700}.day-section:first-child{margin-top:0}.day-row{border:0;border-top:1px solid var(--line-strong);text-align:left;width:calc(100% + 12px);color:var(--ink);background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:0 -6px;padding:9px 6px;text-decoration:none;display:flex}.day-section+.day-row{border-top:0}.day-row:hover{background:var(--soft)}.day-row-main{gap:2px;min-width:0;display:grid}.day-row-main b,.day-row-main .sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pill.pill-danger{color:var(--red);white-space:nowrap;background:#d645451f}.pill.pill-warn{background:var(--yellow-soft);color:#92610a;white-space:nowrap}.money-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.money-stats>div{gap:3px;display:grid}.money-stats .label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700}.money-stats b{letter-spacing:-.01em;font-size:22px}@media (width<=760px){.money-stats{grid-template-columns:1fr}}.form-row.three{grid-template-columns:2fr 1fr 1fr}.check-row{color:var(--ink-soft);cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.check-row input{width:16px;height:16px;accent-color:var(--brand)}.savebar{z-index:5;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fff;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 14px;padding:12px 16px;display:flex;position:sticky;bottom:0;box-shadow:0 -2px 10px #0f172a0f}.savebar .sub{margin-right:auto}.record-consent{gap:4px;margin:4px 0 12px;display:grid}.booking-dl{gap:2px;margin:6px 0 0;font-size:13px;display:grid}.booking-dl div{gap:8px;display:flex}.booking-dl dt{color:var(--muted);flex:none;min-width:90px}.booking-dl dd{color:var(--ink);margin:0}.consent-table{font-size:12px}.consent-table th,.consent-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:6px 8px}.consent-table td:nth-child(5){min-width:260px}@media (width<=760px){.form-row.three{grid-template-columns:1fr}}:root{--font-sans:"Outfit",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--app-bg:#f6f4ec;--app-glow:radial-gradient(1200px 600px at 85% -10%,#ffddaa73,transparent 60%),radial-gradient(900px 500px at -10% 10%,#ffffffe6,transparent 60%);--ink:#111;--ink-soft:#2a2a2a;--muted:#6f6b62;--muted-soft:#a29d92;--line:#1111110f;--line-strong:#11111114;--soft:#f1eee5;--surface:#ffffffc7;--surface-solid:#fff;--surface-muted:#ffffff8c;--page-bg:var(--app-bg);--selected:#111;--selected-ink:#fff;--shadow-xs:0 1px 2px #28200a0a;--shadow-sm:0 1px 2px #28200a0a,0 6px 20px -8px #28200a14;--shadow-md:0 2px 6px #28200a0d,0 16px 40px -16px #28200a24;--shadow-lg:0 24px 60px -20px #28200a38;--radius-canvas:28px;--radius-lg:24px;--radius:20px;--radius-sm:12px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--ease:cubic-bezier(.2,0,0,1);--dur:.18s;--tone-amber-bg:#fdf0d5;--tone-amber-fg:#8a5a00;--tone-amber-dot:#f2b440;--tone-blue-bg:#e3edfb;--tone-blue-fg:#1f4f8f;--tone-blue-dot:#6c9be0;--tone-coral-bg:#fde6df;--tone-coral-fg:#9a3a20;--tone-coral-dot:#f08a6c;--tone-purple-bg:#ece6fb;--tone-purple-fg:#5a3b9e;--tone-purple-dot:#a28ae6;--tone-green-bg:#e0f3e6;--tone-green-fg:#1f6b3a;--tone-green-dot:#6cc28a;--tone-teal-bg:#dcf1ef;--tone-teal-fg:#11605a;--tone-teal-dot:#5cbdb3;--tone-rose-bg:#fbe4e8;--tone-rose-fg:#9b2c44;--tone-rose-dot:#e98aa0;--tone-slate-bg:#ecebe6;--tone-slate-fg:#4a4740;--tone-slate-dot:#b3afa4;--dot-off:#e7e3d8}body{--accent:var(--company-color,#e8a33d);--accent-soft:color-mix(in srgb,var(--accent) 16%,transparent);--accent-on:var(--accent-ink,#111);--brand:var(--accent);--brand-2:color-mix(in srgb,var(--accent) 84%,black);--brand-soft:var(--accent-soft);--brand-ring:color-mix(in srgb,var(--accent) 28%,transparent);background-color:var(--app-bg);background-attachment:fixed;background-image:var(--app-glow);color:var(--ink-soft);font-family:var(--font-sans);letter-spacing:0;font-size:14.5px}h1,h2,h3{letter-spacing:-.01em;color:var(--ink);font-weight:600}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.link-btn,.content a:not(.btn):not(.day-row):not(.popover-item):not(.cell-link):not(.action-pill){color:var(--ink);text-underline-offset:3px;font-weight:500;font-size:inherit;transition:text-decoration-color var(--dur) var(--ease);background:0 0;padding:0;-webkit-text-decoration:underline #1113;text-decoration:underline #1113}.link-btn:hover,.content a:not(.btn):not(.day-row):not(.popover-item):not(.cell-link):not(.action-pill):hover{text-decoration-color:currentColor}.card-h .link-btn{color:var(--muted);font-size:13px}.card-h .link-btn:hover{color:var(--ink)}.app-shell{min-height:100vh;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:16px 28px 48px;display:block}.main{min-width:0}.content{padding:0}.topnav-wrap{z-index:30;position:sticky;top:12px}.topnav{-webkit-backdrop-filter:blur(14px);border-radius:var(--radius-pill);box-shadow:var(--shadow-sm);background:#fff9;border:1px solid #ffffffb3;align-items:center;gap:16px;padding:8px 8px 8px 10px;display:flex}.topnav-brand{border-radius:var(--radius-pill);background:0 0;align-items:center;gap:10px;min-width:0;padding:2px 10px 2px 2px;display:flex}.topnav-brand .logo{width:40px;height:40px;color:var(--accent);box-shadow:var(--shadow-xs);background:#fff;border-radius:50%;padding:5px}.topnav-brand .logo svg,.topnav-brand .logo img{object-fit:contain;width:100%;height:100%;display:block}.topnav-brand .logo .logo-initials{font-size:14px}.topnav-brand-name{color:var(--ink);white-space:nowrap;font-size:15px;font-weight:600}.topnav-pills{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.nav-pill{border-radius:var(--radius-pill);height:40px;color:var(--ink-soft);white-space:nowrap;background:#ffffffbf;border:1px solid #1111110d;align-items:center;gap:7px;padding:0 16px;font-size:14px;font-weight:500;display:inline-flex}.nav-pill svg{width:16px;height:16px}.nav-pill:hover{background:#fff}.nav-pill.active{background:var(--selected);color:var(--selected-ink);border-color:var(--selected)}.nav-pill-chevron{opacity:.6;transition:transform var(--dur) var(--ease);width:14px!important;height:14px!important}.nav-pill[aria-expanded=true] .nav-pill-chevron{transform:rotate(180deg)}.topnav-tools{align-items:center;gap:8px;margin-left:auto;display:flex}.round-btn{width:40px;height:40px;color:var(--ink);background:#ffffffd9;border:1px solid #1111110d;border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.round-btn:hover{background:#fff}.round-btn svg{width:18px;height:18px}.round-btn-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;position:absolute;top:9px;right:10px;box-shadow:0 0 0 2px #fff}.avatar-btn{background:var(--selected);color:#fff;letter-spacing:.02em;border-radius:50%;width:40px;height:40px;font-size:13px;font-weight:600}.topnav-menu-btn{display:none}.topnav-search{align-items:center;gap:6px;display:flex}.topnav-search input{opacity:0;border-radius:var(--radius-pill);width:0;height:40px;transition:width var(--dur) var(--ease),opacity var(--dur) var(--ease);background:#fff;border:1px solid #11111114;padding:0 16px}.topnav-search.open input{opacity:1;width:240px}.topnav-search input:focus{box-shadow:0 0 0 3px var(--brand-ring);outline:none}.nav-group-pop{position:relative}.popover{z-index:50;background:var(--surface-solid);border:1px solid var(--line);min-width:220px;box-shadow:var(--shadow-lg);transform-origin:0 0;animation:popIn var(--dur) var(--ease) both;border-radius:18px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);left:0}@keyframes popIn{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:none}}.popover-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;padding:8px 10px 4px;font-size:11px;font-weight:600}.popover-item{width:100%;color:var(--ink-soft);text-align:left;background:0 0;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;font-weight:500;text-decoration:none;display:flex}.popover-item svg{width:17px;height:17px;color:var(--muted)}.popover-item:hover,.popover-item:focus-visible{background:var(--soft)}.popover-item.active{background:var(--selected);color:var(--selected-ink)}.popover-item.active svg{color:var(--selected-ink)}.topnav-tools .popover{transform-origin:100% 0;left:auto;right:0}.bell-popover{width:340px;max-height:420px;overflow:auto}.bell-item{border-radius:12px;gap:2px;padding:10px 12px;font-size:13.5px;line-height:1.35;display:grid}.bell-item:hover{background:var(--soft)}.account-head{border-bottom:1px solid var(--line);gap:2px;margin-bottom:4px;padding:10px 12px 8px;display:grid}.sheet-backdrop{z-index:60;animation:fadeIn var(--dur) var(--ease) both;background:#11111152;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.nav-sheet{z-index:61;background:var(--surface-solid);width:min(340px,100vw - 16px);box-shadow:var(--shadow-lg);animation:sheetIn .22s var(--ease) both;border-radius:24px;align-content:start;gap:4px;padding:12px;display:grid;position:fixed;inset:8px 8px 8px auto;overflow:auto}@keyframes sheetIn{0%{transform:translateY(100%)}to{transform:none}}.nav-sheet-h{justify-content:space-between;align-items:center;padding:4px 4px 10px;display:flex}.nav-sheet-group{gap:2px;margin-top:8px;display:grid}.nav-sheet-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;padding:6px 12px;font-size:11px;font-weight:600}.nav-sheet-item{min-height:48px;color:var(--ink-soft);text-align:left;background:0 0;border-radius:14px;align-items:center;gap:12px;padding:0 14px;font-size:15px;font-weight:500;display:flex}.nav-sheet-item svg{width:18px;height:18px;color:var(--muted)}.nav-sheet-item.active{background:var(--selected);color:#fff}.nav-sheet-item.active svg{color:#fff}.page-header{justify-content:space-between;align-items:flex-end;gap:16px;padding:32px 4px 20px;display:flex}.page-header h2{letter-spacing:-.02em;font-size:30px;font-weight:500;line-height:1.15}.page-header-sub{color:var(--muted);margin:6px 0 0;font-size:14px}.page-header-actions{align-items:center;gap:8px;display:flex}.btn{border-radius:var(--radius-pill);background:var(--selected);color:#fff;box-shadow:none;padding:10px 18px;font-weight:500}.btn:hover{filter:none;box-shadow:none;background:#2b2b2b}.btn.ghost{color:var(--ink-soft);background:#ffffffd9;border:1px solid #11111114}.btn.ghost:hover{color:var(--ink);background:#fff;border-color:#11111124}.btn.slim{padding:7px 14px;font-size:13px}.btn.accent-pill{background:var(--accent);color:var(--accent-on);height:44px;padding:0 20px;font-weight:600}.btn.accent-pill:hover{background:color-mix(in srgb,var(--accent) 88%,black)}.new-menu .popover{transform-origin:100% 0;min-width:180px;left:auto;right:0}.card{background:var(--surface);-webkit-backdrop-filter:blur(10px);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid #fffc}.card-h{border-bottom:0;padding:20px 24px 4px}.card-h h3{font-size:17px;font-weight:600}.card-b{padding:16px 24px 24px}.grid{gap:20px}.pill{background:var(--tone-slate-bg);color:var(--tone-slate-fg);padding:4px 10px;font-size:12px;font-weight:500}.pill.status-active,.pill.status-complete,.pill.status-connected,.pill.status-approved{background:var(--tone-green-bg);color:var(--tone-green-fg)}.pill.status-scheduled{background:var(--tone-blue-bg);color:var(--tone-blue-fg)}.pill.status-in-progress{background:var(--tone-amber-bg);color:var(--tone-amber-fg)}.pill.status-lost,.pill.status-rejected,.pill-danger{background:var(--tone-rose-bg);color:var(--tone-rose-fg)}.pill-warn{background:var(--tone-amber-bg);color:var(--tone-amber-fg)}.pill.status-past,.pill.status-planned,.pill.status-draft{background:var(--tone-slate-bg);color:var(--tone-slate-fg)}.seg{background:var(--soft);border-color:#0000}.seg button.active{background:var(--selected);color:#fff;box-shadow:none}th,td{border-bottom:1px solid var(--line)}th{color:var(--muted);letter-spacing:.07em;background:0 0;padding:10px 14px;font-size:11px;font-weight:600}td{height:56px;padding:8px 14px}tr:hover td{background:#ffffff8c}.field input,.field select,.field textarea,.cs-trigger,.search-field input{background:#ffffffe6;border-color:#1111111a;border-radius:14px}.field input:focus,.field select:focus,.field textarea:focus,.cs-trigger.open{background:#fff}.kpi-strip{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;display:grid}.kpi-tile{background:var(--surface);border-radius:var(--radius-lg);min-height:116px;box-shadow:var(--shadow-sm);animation:kpiIn .32s var(--ease) both;border:1px solid #fffc;justify-content:space-between;align-items:flex-end;gap:12px;padding:18px 20px;display:flex}.kpi-strip>:nth-child(2){animation-delay:40ms}.kpi-strip>:nth-child(3){animation-delay:80ms}.kpi-strip>:nth-child(4){animation-delay:.12s}.kpi-strip>:nth-child(n+5){animation-delay:.16s}.kpi-tile-text{gap:4px;min-width:0;display:grid}.kpi-tile-label{color:var(--muted);align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.kpi-tile-label:before{content:"";background:var(--tone-dot);border-radius:50%;width:8px;height:8px}.kpi-tile-value{letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;font-size:38px;font-weight:500;line-height:1.05}.kpi-tile-hint{color:var(--muted);font-size:12.5px}.dot-matrix{flex:none;margin-bottom:6px}.dot-matrix .dot{fill:var(--dot-off)}.dot-matrix .dot.on{fill:var(--tone-dot)}.tone-amber{--tone-bg:var(--tone-amber-bg);--tone-fg:var(--tone-amber-fg);--tone-dot:var(--tone-amber-dot)}.tone-blue{--tone-bg:var(--tone-blue-bg);--tone-fg:var(--tone-blue-fg);--tone-dot:var(--tone-blue-dot)}.tone-coral{--tone-bg:var(--tone-coral-bg);--tone-fg:var(--tone-coral-fg);--tone-dot:var(--tone-coral-dot)}.tone-purple{--tone-bg:var(--tone-purple-bg);--tone-fg:var(--tone-purple-fg);--tone-dot:var(--tone-purple-dot)}.tone-green{--tone-bg:var(--tone-green-bg);--tone-fg:var(--tone-green-fg);--tone-dot:var(--tone-green-dot)}.tone-teal{--tone-bg:var(--tone-teal-bg);--tone-fg:var(--tone-teal-fg);--tone-dot:var(--tone-teal-dot)}.tone-rose{--tone-bg:var(--tone-rose-bg);--tone-fg:var(--tone-rose-fg);--tone-dot:var(--tone-rose-dot)}.tone-slate{--tone-bg:var(--tone-slate-bg);--tone-fg:var(--tone-slate-fg);--tone-dot:var(--tone-slate-dot)}.badge-tone{border-radius:var(--radius-pill);background:var(--tone-bg);color:var(--tone-fg);align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.progress-pill{border-radius:var(--radius-pill);background:repeating-linear-gradient(135deg,var(--tone-bg) 0 4px,#fff 4px 8px);height:12px;position:relative;overflow:hidden}.progress-pill-fill{border-radius:var(--radius-pill);background:var(--tone-dot);transition:width .4s var(--ease);position:absolute;inset:0 auto 0 0}.stage-meter{grid-template-columns:minmax(110px,160px) 1fr auto;align-items:center;gap:14px;padding:9px 0;display:grid}.stage-meter-name{color:var(--ink);align-items:center;gap:8px;font-weight:500;display:flex}.stage-meter-name:before{content:"";background:var(--tone-dot);border-radius:50%;width:8px;height:8px}.stage-meter-count{font-variant-numeric:tabular-nums;color:var(--muted);text-align:right;min-width:28px;font-size:13px}.empty-state{color:var(--muted);background:#ffffff8c;border-radius:16px;align-items:center;gap:10px;padding:14px 16px;font-size:14px;display:flex}.empty-state svg{width:18px;height:18px;color:var(--muted-soft);flex:none}.empty-state-action{margin-left:auto}.attention-row,.activity-row,.day-row{border-top-color:var(--line)}.attention-row{padding:12px 0}.money-stats b{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:30px;font-weight:500}.money-stats .label{letter-spacing:.04em;font-weight:500}.dash-foot{color:var(--muted);margin-top:20px;font-size:13px}.chat-widget{bottom:20px;right:20px}.chat-fab{background:var(--selected);color:#fff;width:46px;height:46px;box-shadow:var(--shadow-md)}.chat-fab svg{width:20px;height:20px}.content{padding-bottom:72px}.skeleton-pill{border-radius:var(--radius-pill);width:110px;height:40px;display:inline-block}@media (width<=1100px){.topnav-brand-name{display:none}.nav-pill{padding:0 13px}}@media (width<=900px){.app-shell{padding:10px 12px 32px}.topnav-wrap{top:8px}.topnav-pills{display:none}.topnav-brand-name{text-overflow:ellipsis;max-width:44vw;font-size:14px;display:inline;overflow:hidden}.topnav-menu-btn{display:grid}.topnav-search.open input{width:calc(100vw - 24px);box-shadow:var(--shadow-md);position:absolute;top:calc(100% + 8px);right:0}.topnav-search{position:static}.topnav{position:relative}.page-header{align-items:center;padding:22px 2px 14px}.page-header h2{font-size:24px}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kpi-tile{flex-direction:column;align-items:flex-start;min-height:0;padding:14px 16px}.kpi-tile-value{font-size:28px}.stage-meter{grid-template-columns:96px 1fr auto;gap:10px}.chat-fab{display:none}.chat-widget{bottom:12px;right:12px}.card-h{flex-wrap:wrap}}@media (width<=760px){.app-shell{border-radius:0;grid-template-columns:none;min-height:100vh;margin:0}.main,.topbar{border-radius:0}.content{padding:0 0 72px}.card-h{padding:16px 18px 2px}.card-b{padding:12px 18px 18px}.round-btn,.avatar-btn{width:44px;height:44px}.topnav-brand-name{display:none}.btn.accent-pill{height:44px;padding:0 16px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.popover,.nav-sheet,.sheet-backdrop,.kpi-tile{animation:none}}.nav-sheet-h .topnav-brand-name{font-size:16px;display:inline}.link-btn,.card-h a{align-items:center;min-height:28px;display:inline-flex}@media (width<=900px){.link-btn,.card-h a{min-height:44px}.topnav-tools .popover{transform-origin:top;width:auto;min-width:0;max-width:none;position:fixed;top:76px;left:12px;right:12px}.bell-popover{max-height:min(70vh,520px)}}.trend-chart{--chart-line:color-mix(in srgb,var(--accent) 86%,black)}.trend-chart-summary{flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin:-4px 0 6px;display:flex}.trend-chart-total{letter-spacing:-.02em;color:var(--ink);font-size:34px;font-weight:500;line-height:1}.trend-chart-noun{color:var(--muted);font-size:14px}.trend-chart-summary .badge-tone{align-self:center}.trend-chart-summary .badge-tone svg{width:14px;height:14px}.trend-chart-plot{touch-action:pan-y;width:100%;position:relative}.trend-chart-plot svg{cursor:crosshair;display:block;overflow:visible}.trend-chart-plot svg:focus{outline:none}.trend-chart-plot:has(svg:focus-visible){box-shadow:0 0 0 2px var(--surface-solid),0 0 0 4px #1111118c;border-radius:14px}.trend-chart-grid{stroke:var(--line-strong);stroke-width:1px;shape-rendering:crispedges}.trend-chart-line{fill:none;stroke:var(--chart-line);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.trend-chart-wash-top{stop-color:var(--accent);stop-opacity:.22}.trend-chart-wash-bottom{stop-color:var(--accent);stop-opacity:0}.trend-chart-crosshair{stroke:var(--ink);stroke-opacity:.25;stroke-width:1px}.trend-chart-dot-ring{fill:var(--surface-solid)}.trend-chart-dot{fill:var(--chart-line)}.trend-chart-axis-label{fill:var(--muted);font-variant-numeric:tabular-nums;font-family:inherit;font-size:11.5px}.trend-chart-end-label{fill:var(--ink);font-family:inherit;font-size:13px;font-weight:600}.trend-chart-tooltip-anchor{pointer-events:none;z-index:2;position:absolute;top:0;left:0}.trend-chart-tooltip{white-space:nowrap;background:var(--selected);color:#fff;box-shadow:var(--shadow-md);border-radius:14px;gap:1px;padding:8px 12px;display:grid;position:absolute;top:auto;bottom:14px;transform:translate(-50%)}.trend-chart-tooltip.below{top:14px;bottom:auto}.trend-chart-tooltip.align-end{transform:translate(calc(16px - 100%))}.trend-chart-tooltip.align-start{transform:translate(-16px)}.trend-chart-tooltip-value{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.trend-chart-tooltip-label{opacity:.72;font-size:11.5px}.trend-chart-foot{justify-content:flex-end;margin-top:2px;display:flex}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:#3c342347 transparent}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#3c342338 padding-box padding-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#3c342366 padding-box padding-box}::-webkit-scrollbar-corner{background:0 0}.filter-bar{flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0 16px;display:flex}.filter-bar-controls{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.filter-bar-end{margin-left:auto}.filter-toggle{display:none}.filter-toggle.has-active{background:var(--selected);color:#fff;border-color:var(--selected)}.pill-select .cs{min-width:150px}.pill-select .cs-trigger{border-radius:var(--radius-pill);background:#ffffffd9;border:1px solid #11111114;min-height:40px;padding:0 14px;font-size:13.5px}.pill-select .cs-trigger:hover{background:#fff}.board{grid-template-columns:repeat(var(--board-cols,5),minmax(188px,1fr));scroll-snap-type:x proximity;align-items:start;gap:12px;padding-bottom:6px;display:grid;overflow-x:auto}.board-col{scroll-snap-align:start;min-width:0;transition:background-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease);background:#ffffff73;border:1px solid #ffffffb3;border-radius:22px;flex-direction:column;padding:10px;display:flex}.board-col.drag-over{background:var(--tone-bg);box-shadow:inset 0 0 0 2px var(--tone-dot)}.board-col-h{justify-content:space-between;align-items:center;gap:8px;padding:4px 6px 10px;display:flex}.board-col-name{color:var(--ink);align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:600;display:flex}.board-col-name:before{content:"";background:var(--tone-dot);border-radius:50%;flex:none;width:9px;height:9px}.board-col-count{border-radius:var(--radius-pill);background:var(--tone-bg);min-width:26px;height:22px;color:var(--tone-fg);font-variant-numeric:tabular-nums;place-items:center;padding:0 8px;font-size:12px;font-weight:600;display:grid}.board-col-cards{gap:8px;display:grid}.board-col-empty{color:var(--muted);text-align:center;border:1px dashed #1111111a;border-radius:14px;margin:2px 0;padding:12px;font-size:13px}.board-col-more{color:var(--muted);text-align:center;margin:4px 0 0;font-size:12px}.board-col-add{min-height:38px;color:var(--muted);background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:500;display:flex}.board-col-add:hover{color:var(--ink);background:#fffc}.board-col-add svg{width:15px;height:15px}.lead-card{text-align:left;cursor:grab;background:var(--surface-solid);width:100%;box-shadow:var(--shadow-xs);transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease),opacity var(--dur) var(--ease);border:1px solid #1111110d;border-radius:16px;gap:7px;margin:0;padding:12px;display:grid}.lead-card:hover{box-shadow:var(--shadow-sm);border-color:#11111114;transform:translateY(-1px)}.lead-card.dragging{opacity:.4;cursor:grabbing;transform:none}.lead-card-head{align-items:center;gap:9px;min-width:0;display:flex}.lead-avatar{background:var(--tone-bg);width:28px;height:28px;color:var(--tone-fg);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:600;display:grid}.lead-card-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;line-height:1.25;overflow:hidden}.lead-card-service{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.lead-card-chips{flex-wrap:wrap;gap:5px;display:flex}.lead-card-chips:empty{display:none}.chip{border-radius:var(--radius-pill);background:var(--soft);max-width:100%;color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;padding:3px 8px;font-size:11.5px;font-weight:500;display:inline-flex;overflow:hidden}.chip svg{width:11px;height:11px;color:var(--muted);flex:none}.chip-value{background:var(--tone-green-bg);color:var(--tone-green-fg);font-variant-numeric:tabular-nums}.lead-card-meta{color:var(--muted);align-items:center;gap:5px;min-width:0;margin:0;font-size:11.5px;display:flex}.lead-card-meta svg{flex:none;width:12px;height:12px}.lead-card-meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lead-card-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.lead-card-foot .badge-tone{padding:2px 8px;font-size:11px}.lead-card-foot .badge-tone svg{width:11px;height:11px}.follow-up-overdue{color:var(--tone-rose-fg);font-weight:600}.follow-up-today{color:var(--tone-amber-fg);font-weight:600}@media (width<=900px){.filter-toggle{display:inline-flex}.filter-bar-controls{box-shadow:var(--shadow-sm);background:#fffc;border-radius:20px;flex-direction:column;flex-basis:100%;order:3;align-items:stretch;padding:12px;display:none}.filter-bar-controls.open{animation:popIn var(--dur) var(--ease) both;display:flex}.pill-select .cs{width:100%;min-width:0}.pill-select .cs-trigger{min-height:44px}.board{grid-template-columns:repeat(var(--board-cols,5),82vw);scroll-snap-type:x mandatory;margin:0 -12px;padding:0 12px 8px;scroll-padding:0 12px}.board-col-add{min-height:44px}}.lang-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;padding:8px 12px;display:flex}.lang-row .sub{align-items:center;gap:8px;display:inline-flex}.lang-row .sub svg{width:16px;height:16px}.lang-row .seg button{min-width:40px}.meter-row{grid-template-columns:minmax(120px,190px) 1fr auto;align-items:center;gap:14px;padding:9px 0;display:grid}.meter-row-label{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;min-width:0;font-weight:500;display:flex;overflow:hidden}.meter-row-label:before{content:"";background:var(--tone-dot);border-radius:50%;flex:none;width:8px;height:8px}.meter-row-value{color:var(--ink-soft);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:13px}.data-table th.num,.data-table td.num{text-align:right;font-variant-numeric:tabular-nums}.conv-cell{font-variant-numeric:tabular-nums;align-items:center;gap:10px;display:inline-flex}.conv-bar{background:repeating-linear-gradient(135deg,var(--tone-bg) 0 3px,#fff 3px 6px);border-radius:999px;width:72px;height:8px;display:inline-block;position:relative;overflow:hidden}.conv-bar>span{background:var(--tone-dot);border-radius:999px;position:absolute;inset:0 auto 0 0}.mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.mini-stats>div{background:#fff9;border-radius:16px;gap:2px;padding:12px 14px;display:grid}.mini-stats .label{color:var(--muted);font-size:12px}.mini-stats b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:22px;font-weight:500}.card-h .pill-select .cs{min-width:150px}@media (width<=900px){.meter-row{grid-template-columns:1fr auto;gap:6px 10px}.meter-row .progress-pill{order:3;grid-column:1/-1}.mini-stats{grid-template-columns:1fr}}.confirm-bg{z-index:1000;place-items:center;padding:16px;display:grid}.confirm-dialog{background:var(--surface-solid);width:min(420px,100%);box-shadow:var(--shadow-lg);animation:popIn var(--dur) var(--ease) both;border-radius:24px;gap:12px;padding:24px;display:grid}.confirm-dialog h3{font-size:19px;font-weight:600}.confirm-message{color:var(--ink-soft);margin:0;line-height:1.5}.confirm-icon{background:var(--tone-rose-bg);width:40px;height:40px;color:var(--tone-rose-fg);border-radius:50%;place-items:center;display:grid}.confirm-icon svg{width:20px;height:20px}.confirm-dialog .field{margin-top:0}.confirm-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.btn.danger{color:#fff;background:#b4233c}.btn.danger:hover{background:#9a1d33}@media (width<=760px){.confirm-actions{flex-direction:column-reverse}.confirm-actions .btn{min-height:44px}}.file-btn{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:inline-flex}.file-btn label.btn{cursor:pointer;margin:0}.file-btn:focus-within label.btn{outline:2px solid var(--ink);outline-offset:2px}.file-btn.disabled label.btn{opacity:.5;cursor:not-allowed}.file-btn-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:13px;overflow:hidden}.field .file-btn label{color:var(--ink-soft);font-size:13px;font-weight:500}.table-card{overflow:hidden}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px 10px;display:flex}.table-toolbar-filters,.table-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.table-toolbar-filters .sub{margin-left:4px}.data-table th.sortable{padding:0}.th-sort{width:100%;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;background:0 0;align-items:center;gap:4px;padding:10px 14px;display:inline-flex}.th-sort svg{flex:none;width:13px;height:13px}.th-sort .th-sort-idle{opacity:.35}.th-sort:hover{color:var(--ink)}.th-sort:hover .th-sort-idle{opacity:.7}.data-table td{vertical-align:middle}.person-cell{align-items:center;gap:12px;min-width:0;display:flex}.person-cell .lead-avatar{width:36px;height:36px;font-size:12px}.person-cell-text{gap:1px;min-width:0;display:grid}.person-cell-text b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.person-cell-text .sub{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.cell-missing{color:var(--muted-soft);font-size:13px}.content a.cell-link,.cell-link{color:var(--ink-soft);align-items:center;gap:6px;text-decoration:none;display:inline-flex}.content a.cell-link:hover,.cell-link:hover{color:var(--ink);-webkit-text-decoration:underline #1111114d;text-decoration:underline #1111114d}.cell-link svg{width:14px;height:14px;color:var(--muted)}.bulk-bar{background:var(--accent-soft);border:0;border-radius:16px;margin:0 16px 8px;padding:8px 10px 8px 16px}.bulk-bar .round-btn{width:34px;height:34px}.table-foot{border-top:1px solid var(--line);padding:12px 22px}.pager{gap:8px}.pager>button{border-radius:var(--radius-pill);background:#ffffffd9;border:1px solid #11111114;min-height:38px;padding:0 14px}.pager>button.current{background:var(--selected);border-color:var(--selected);color:#fff}.pager .pill-select .cs{min-width:130px}.mobile-only{display:none}.card-list{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:4px 12px 8px;list-style:none;display:grid}.card-list.mobile-only{display:none}.card-list-item{background:var(--surface-solid);cursor:pointer;border:1px solid #1111110d;border-radius:18px;align-items:flex-start;gap:12px;padding:14px;display:flex}.card-list-item:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.card-list-check{place-items:center;width:28px;height:44px;margin:-8px -4px -8px -6px;display:grid}.card-list-check input{width:18px;height:18px}.card-list-main{flex:1;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0;display:grid}.card-list-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-list-top b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.card-list-meta{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:13px;display:flex}.card-list-meta span,.card-list-meta a{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;max-width:100%;min-height:24px;display:inline-flex;overflow:hidden}.card-list-meta svg{width:13px;height:13px}@media (width<=900px){.desktop-only{display:none}.mobile-only,.card-list.mobile-only{display:grid}.table-toolbar{padding:14px 14px 8px}.table-toolbar-filters{width:100%}.table-toolbar-filters .pill-select{flex:140px}.table-toolbar-filters .pill-select .cs{width:100%;min-width:0}.table-toolbar-actions{width:100%}.table-toolbar-actions .btn{flex:auto;min-height:44px}.bulk-bar{flex-wrap:wrap;margin:0 12px 8px}.table-foot{flex-direction:column;align-items:stretch;padding:12px 14px}.pager{justify-content:space-between}.pager>button{min-height:44px}}.card-list-top b{flex:auto;min-width:0}.card-list-top .pill{flex:none}@media (width<=900px){.pager{flex-wrap:wrap}.pager .pill-select{flex:100%}.pager .pill-select .cs{width:100%}.pager>button{flex:1 1 0}.pager>button.current{flex:0 0 44px;padding:0}}.cs-menu{z-index:1000;overscroll-behavior:contain;background:var(--surface-solid);border:1px solid var(--line);width:max-content;max-width:min(360px,100vw - 16px);box-shadow:var(--shadow-lg);transform-origin:0 0;animation:popIn .14s var(--ease) both;border-radius:16px;padding:6px;overflow-y:auto}.cs-menu.up{transform-origin:0 100%}.cs-option{cursor:pointer;width:100%;min-height:38px;color:var(--ink-soft);white-space:nowrap;-webkit-user-select:none;user-select:none;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px 8px 12px;font-size:14px;font-weight:500;display:flex}.cs-option-label{text-overflow:ellipsis;overflow:hidden}.cs-option:hover:not(.disabled),.cs-option.highlighted:not(.disabled){background:var(--soft);color:var(--ink)}.cs-option.highlighted:not(.selected){background:var(--soft)}.cs-option.selected{color:var(--ink);background:0 0;font-weight:600}.cs-option.selected.highlighted{background:var(--soft)}.cs-option.disabled{color:var(--muted-soft);cursor:not-allowed}.cs-check{width:16px;height:16px;color:var(--ink);flex:none}.cs-trigger.open{border-color:#11111140;box-shadow:0 0 0 3px #1111110f}.cs-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.cs-sheet-backdrop{z-index:1000;animation:fadeIn .15s var(--ease) both;background:#11111152;align-items:flex-end;display:flex;position:fixed;inset:0}.cs-sheet{width:100%;max-height:min(70vh,520px);padding:8px 10px calc(10px + env(safe-area-inset-bottom));background:var(--surface-solid);box-shadow:var(--shadow-lg);animation:sheetUp .22s var(--ease) both;border-radius:24px 24px 0 0;flex-direction:column;display:flex}@keyframes sheetUp{0%{opacity:.6;transform:translateY(24px)}to{opacity:1;transform:none}}.cs-sheet-grip{background:#11111126;border-radius:999px;flex:none;width:40px;height:4px;margin:4px auto 8px}.cs-sheet .cs-list{overscroll-behavior:contain;overflow-y:auto}.cs-sheet .cs-option{white-space:normal;min-height:52px;padding:0 16px;font-size:16px}@media (prefers-reduced-motion:reduce){.cs-menu,.cs-sheet,.cs-sheet-backdrop{animation:none}}.action-pills{flex-wrap:wrap;gap:6px;display:inline-flex}.content a.action-pill,.action-pill{border-radius:var(--radius-pill);height:30px;color:var(--ink-soft);white-space:nowrap;background:#ffffffe6;border:1px solid #11111117;align-items:center;gap:5px;padding:0 11px;font-size:12.5px;font-weight:500;text-decoration:none;display:inline-flex}.content a.action-pill:hover,.action-pill:hover{color:var(--ink);background:#fff;border-color:#1111112e;text-decoration:none}.action-pill svg{width:13px;height:13px;color:var(--muted)}.lead-avatar svg{width:15px;height:15px}.num-strong{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:600}@media (width<=900px){.action-pill{height:36px}}.switch-row{color:var(--ink-soft);cursor:pointer;align-items:center;gap:10px;min-height:40px;font-size:13.5px;display:inline-flex}.switch-row input{opacity:0;width:1px;height:1px;position:absolute}.switch{width:38px;height:22px;transition:background var(--dur) var(--ease);background:#11111126;border-radius:999px;flex:none;position:relative}.switch:after{content:"";width:16px;height:16px;transition:transform var(--dur) var(--ease);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch-row input:checked+.switch{background:var(--selected)}.switch-row input:checked+.switch:after{transform:translate(16px)}.switch-row input:focus-visible+.switch{outline:2px solid var(--ink);outline-offset:2px}.audit-capped{margin:0 22px 8px}.audit-groups{gap:18px;padding:4px 22px 18px;display:grid}.audit-day{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 6px;font-size:12px;font-weight:600}.audit-list{margin:0;padding:0;list-style:none;display:grid}.audit-item{border-top:1px solid var(--line);gap:12px;padding:12px 0;display:flex}.audit-item:first-child{border-top:0}.audit-item.auto{opacity:.72}.audit-avatar{background:var(--tone-blue-bg);width:34px;height:34px;color:var(--tone-blue-fg);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:600;display:grid}.audit-avatar.system{background:var(--tone-slate-bg);color:var(--tone-slate-fg)}.audit-avatar svg{width:16px;height:16px}.audit-main{flex:1;gap:5px;min-width:0;display:grid}.audit-sentence{color:var(--ink-soft);overflow-wrap:anywhere;margin:0;line-height:1.45}.audit-sentence b{color:var(--ink);font-weight:600}.audit-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12.5px;display:flex}.audit-meta .badge-tone{padding:2px 9px;font-size:11.5px}.audit-meta .chip{font-size:11.5px}.audit-toggle{align-items:center;gap:3px;min-height:28px;font-size:12.5px;display:inline-flex}.audit-toggle svg{width:13px;height:13px;transition:transform var(--dur) var(--ease)}.audit-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.audit-details{border:1px solid var(--line);animation:popIn var(--dur) var(--ease) both;background:#ffffffb3;border-radius:14px;margin-top:4px;padding:10px 14px}.audit-details dl{gap:6px;margin:0;display:grid}.audit-details dl>div{grid-template-columns:minmax(110px,170px) minmax(0,1fr);gap:10px;font-size:13px;display:grid}.audit-details dt{color:var(--muted)}.audit-details dd{color:var(--ink-soft);overflow-wrap:anywhere;margin:0}.audit-details .diff-old{color:var(--tone-rose-fg);-webkit-text-decoration:line-through #9b2c4459;text-decoration:line-through #9b2c4459}.audit-details .diff-new{color:var(--tone-green-fg);font-weight:500}.audit-details .diff-arrow{color:var(--muted);margin:0 6px}.audit-id code{color:var(--muted);font-size:12px}@media (width<=900px){.audit-groups{padding:4px 14px 14px}.audit-details dl>div{grid-template-columns:1fr;gap:2px}.switch-row{min-height:44px}}.lang-switch{color:var(--muted);align-items:center;gap:8px;display:inline-flex}.lang-switch>svg{width:16px;height:16px}.lang-switch .seg button{min-width:40px;min-height:32px}.login-top{justify-content:flex-end;margin:-8px 0 12px;display:flex}.field-error{color:var(--tone-rose-fg);margin:2px 0 0;font-size:13px;font-weight:500}.field input[aria-invalid=true]{border-color:#c2415d;box-shadow:0 0 0 3px #c2415d1f}.login-split{background:var(--app-bg) var(--app-glow)}.login-hero{border-radius:28px;margin:16px 0 16px 16px}.login-card-flat h1{letter-spacing:-.02em;font-size:30px;font-weight:500}.login-card-flat .btn:not(.ghost){height:48px}.google-btn{background:#fff;height:48px}.field .input-with-icon input{min-height:48px}.login-shell{background:var(--app-bg) var(--app-glow)}.login-card{background:var(--surface);box-shadow:var(--shadow-md);border:1px solid #fffc;border-radius:28px}.login-card h1{font-weight:500}.company-pick{background:var(--app-bg) var(--app-glow)}.company-panel{background:var(--surface);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #fffc;border-radius:28px}.company-panel h1{letter-spacing:-.02em;font-size:32px;font-weight:500}.company-panel-tools{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.company-card{border:1px solid #1111110f;border-left:4px solid var(--company-color);background:var(--surface-solid);border-radius:20px}.company-card:hover{box-shadow:var(--shadow-md);border-color:#1111111a;border-left-color:var(--company-color)}.company-card.last-opened{background:color-mix(in srgb,var(--company-color) 7%,#fff);border-left-color:var(--company-color)}.company-card-badge{background:var(--selected);color:#fff}.company-card h3{font-weight:600}.toast{border-radius:16px}@media (width<=900px){.login-hero{display:none}.company-panel-tools{justify-content:space-between;width:100%}}.calendar-layout{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:20px;margin-top:20px;display:grid}.calendar-head{flex-wrap:wrap}.calendar-month{font-size:20px;font-weight:500}.calendar-nav{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.calendar-nav .round-btn{width:36px;height:36px}.calendar-grid{background:0 0;border:0;border-radius:0;gap:6px;margin-top:4px}.cal-head{text-transform:capitalize;letter-spacing:.02em;background:0 0;padding:4px 6px 8px;font-size:12px;font-weight:600}.cal-cell{cursor:pointer;min-height:108px;transition:background var(--dur) var(--ease),box-shadow var(--dur) var(--ease);background:#ffffffb3;border:1px solid #1111110a;border-radius:14px;padding:8px}.cal-cell:hover{box-shadow:var(--shadow-xs);background:#fff}.cal-cell:focus-visible{outline:2px solid var(--ink);outline-offset:1px}.cal-cell.pad{cursor:default;box-shadow:none;background:0 0;border:0}.cal-cell.past{background:#fff6}.cal-cell.past .cal-day{color:var(--muted-soft)}.cal-cell.today{box-shadow:inset 0 0 0 2px var(--selected);background:#fff}.cal-day{color:var(--ink);font-size:13px;font-weight:600}.cal-cell.today .cal-day{background:var(--selected);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:inline-grid}.cal-job{text-align:left;background:var(--tone-bg);width:100%;color:var(--tone-fg);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:4px 7px;font-size:11.5px;font-weight:500;display:block;overflow:hidden}.cal-job:hover{filter:brightness(.97)}.cal-more{color:var(--muted);font-size:11.5px}.upcoming-list{grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;display:grid}.upcoming-item{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:12px 0;display:flex}.upcoming-item:first-child{border-top:0;padding-top:0}.upcoming-date{background:var(--tone-bg);width:48px;color:var(--tone-fg);border-radius:14px;flex:none;justify-items:center;padding:6px 0;display:grid}.upcoming-date span{text-transform:uppercase;letter-spacing:.06em;font-size:10.5px;font-weight:600}.upcoming-date b{font-size:19px;font-weight:600;line-height:1.1}.upcoming-body{flex:1;gap:3px;min-width:0;display:grid}.upcoming-title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.upcoming-title-row b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.upcoming-title-row .pill{flex:none}.upcoming-meta{color:var(--muted);align-items:center;gap:6px;min-width:0;margin:0;font-size:12.5px;display:flex}.upcoming-meta svg{flex:none;width:13px;height:13px}.upcoming-actions{flex-direction:column;flex:none;gap:6px;display:flex}.upcoming-actions .round-btn{width:34px;height:34px}.upcoming-actions .round-btn svg{width:15px;height:15px}@media (width<=1180px){.calendar-layout{grid-template-columns:minmax(0,1fr)}}.card-h .btn{white-space:nowrap}@media (width<=760px){.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-head{text-align:center;padding:2px;font-size:10.5px;display:block}.cal-cell.pad{display:block}.cal-cell{border-radius:10px;min-height:64px;padding:5px}.cal-job{padding:2px 4px;font-size:10px}.upcoming-title-row{flex-wrap:wrap;justify-content:flex-start}.upcoming-title-row b{white-space:normal}.upcoming-actions .round-btn{width:44px;height:44px}}.page-toolbar{justify-content:flex-end;gap:8px;margin:-8px 0 14px;display:flex}.more-metrics{padding:0}.more-metrics>summary{cursor:pointer;color:var(--ink);align-items:center;gap:8px;padding:14px 22px;font-weight:600;list-style:none;display:flex}.more-metrics>summary::-webkit-details-marker{display:none}.more-metrics>summary:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:8px;height:8px;transition:transform var(--dur) var(--ease);margin-left:4px;transform:rotate(45deg)}.more-metrics[open]>summary:after{transform:rotate(225deg)}.more-metrics .mini-stats{padding:0 16px 16px}.mini-stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}.attention-card .card-h h3{align-items:center;gap:8px;display:flex}.attention-card .card-h h3 svg{width:18px;height:18px;color:var(--tone-amber-fg)}.attention-card .attention-row{align-items:center}.cell-strong{color:var(--ink);font-weight:600}@media (width<=900px){.mini-stats.six{grid-template-columns:repeat(2,minmax(0,1fr))}.page-toolbar{justify-content:stretch}.page-toolbar .pill-select{flex:1}.page-toolbar .cs{width:100%}}.integration-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));align-items:start;gap:20px;display:grid}.integration-card .card-b{gap:4px;display:grid}.integration-card .switch-row{margin-top:8px}.integration-card .action-pill{justify-self:start;margin-top:4px}.secret-field input{padding-right:44px}.help-details{margin-top:14px}.help-details summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:500}.help-details p{margin:6px 0 0}.status-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.status-list li{color:var(--ink-soft);align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;display:flex}.status-list li:before{content:"";background:var(--tone-dot);border-radius:50%;flex:none;width:9px;height:9px;margin-top:6px}@media (width<=760px){.integration-grid{grid-template-columns:minmax(0,1fr)}}.file-btn input.sr-only{clip:rect(0,0,0,0);border:0;width:1px;height:1px;min-height:0;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-toolbar.spread{justify-content:space-between;align-items:center}.user-list{grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;display:grid}.user-row{border-top:1px solid var(--line);align-items:center;gap:12px;padding:12px 0;display:flex}.user-row:first-child{border-top:0;padding-top:0}.user-row .lead-avatar{width:38px;height:38px;font-size:12.5px}.user-row-main{flex:1;gap:3px;min-width:0;display:grid}.user-row-main b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.user-row-main .sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-row-access{flex-wrap:wrap;gap:6px;margin-top:3px;display:flex}.user-row-access .badge-tone{padding:3px 9px;font-size:11.5px}.access-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.access-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.access-list li:first-child{border-top:0}.access-list .cs{min-width:150px}.check-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;display:grid}.check-grid .check-row{border:1px solid var(--line);background:#ffffffb3;border-radius:12px;min-height:36px;padding:6px 10px;font-size:13.5px}@media (width<=760px){.user-row{flex-wrap:wrap}.user-row>.btn{width:100%;min-height:44px}.access-list li{flex-wrap:wrap}.access-list .pill-select,.access-list .cs{width:100%}}.import-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px;display:grid}.import-main{grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;display:grid}.mapping-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px 16px;display:grid}.history-list{margin:0;padding:0;list-style:none;display:grid}.history-list li{border-top:1px solid var(--line);gap:2px;padding:10px 0;display:grid}.history-list li:first-child{border-top:0;padding-top:0}.history-list b{color:var(--ink);overflow-wrap:anywhere;font-weight:600}.notice-box{background:var(--tone-amber-bg);color:var(--tone-amber-fg);border-radius:16px;gap:10px;margin-top:14px;padding:14px 16px;display:grid}.notice-box p{margin:0}.notice-box .btn.ghost{background:#fffc}@media (width<=1100px){.import-layout{grid-template-columns:minmax(0,1fr)}}.notice-inline{background:var(--tone-amber-bg);color:var(--tone-amber-fg);border-radius:14px;margin:12px 0 0;padding:10px 14px;font-size:13.5px}.row-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.row-actions .round-btn{width:36px;height:36px}.savebar{z-index:40;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line-strong);width:min(720px,100vw - 32px);animation:savebar-in var(--dur) var(--ease);background:#fffffff5;border-radius:999px;margin:0;padding:10px 10px 10px 22px;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #11111124}.savebar .sub{color:var(--ink);font-weight:600}@keyframes savebar-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.savebar{animation:none}}@media (width<=760px){.savebar{bottom:calc(10px + env(safe-area-inset-bottom));border-radius:20px;flex-wrap:wrap;padding:10px 12px}.savebar .sub{width:100%}.savebar .btn{flex:1;min-height:44px}.row-actions .round-btn{width:44px;height:44px}}.round-btn:disabled{opacity:.35;cursor:not-allowed}.round-btn.danger:hover:not(:disabled){background:var(--tone-red-bg,#fde4e1);color:var(--red)}.modal-bg{-webkit-backdrop-filter:blur(6px);overscroll-behavior:contain;background:#11111152;place-items:center;padding:32px 20px}.modal{background:var(--surface-solid);border:0;border-radius:24px;flex-direction:column;max-height:calc(100dvh - 64px);display:flex;overflow:hidden;box-shadow:0 24px 64px #1111112e}.modal>form{flex-direction:column;flex:auto;min-height:0;display:flex}.modal-h{border-bottom:1px solid var(--line);flex:none;gap:16px;padding:20px 24px}.modal-h h3{letter-spacing:-.01em;font-size:20px;font-weight:500}.modal-h .sub{margin-top:2px;display:block}.modal-b{overscroll-behavior:contain;flex:auto;min-height:0;padding:20px 24px;overflow:auto}.modal-f{border-top:1px solid var(--line);background:#faf8f4e6;border-radius:0;flex-wrap:wrap;flex:none;padding:14px 24px}.modal-f .btn{min-height:42px}@media (width<=760px){.modal-bg{place-items:end stretch;padding:12px 0 0}.modal{border-radius:24px 24px 0 0;height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);animation:.28s cubic-bezier(.16,1,.3,1) both sheetIn;width:100%!important}.modal-h{padding:16px 16px 14px;position:relative}.modal-h:before{content:"";background:#11111126;border-radius:4px;width:40px;height:4px;margin-left:-20px;position:absolute;top:6px;left:50%}.modal-b{padding:16px}.modal-f{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.modal-f .inline-actions{width:100%}.modal-f .inline-actions .btn{flex:1;min-height:44px}}@media (prefers-reduced-motion:reduce){.modal,.modal-bg{animation:none}}.stage-rows{gap:10px}.stage-row{border:1px solid var(--line);background:#fff;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:10px 12px;display:grid}.stage-row:hover{border-color:var(--line-strong)}.stage-row-lead{align-items:center;gap:10px;min-width:0;display:flex}.stage-row-controls{align-items:center;gap:6px;display:flex}.stage-row-controls .round-btn{width:34px;height:34px}.stage-row-controls .round-btn svg{width:16px;height:16px}.stage-row-spacer{width:4px}.stage-row .cs{width:124px}.stage-name-input{font-size:14px;font-weight:600}.stage-name-input:focus{border-color:var(--ink);box-shadow:0 0 0 3px #11111114}.stage-color-input{border-width:1px;width:28px;height:28px}.stage-prob{border:1px solid var(--line-strong);height:38px;color:var(--muted);cursor:text;background:#fff;border-radius:999px;align-items:center;gap:2px;padding:0 12px 0 4px;font-size:13px;display:flex}.stage-prob input{text-align:right;width:40px;font:inherit;color:var(--ink);font-variant-numeric:tabular-nums;-moz-appearance:textfield;background:0 0;border:0;font-weight:600}.stage-prob input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stage-prob input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stage-prob:focus-within{border-color:var(--ink)}.stage-badge.type-open{background:var(--tone-blue-bg,#e3ecfb);color:var(--tone-blue-fg,#2850a0)}.stage-badge.type-won{background:var(--tone-green-bg,#dff3e6);color:var(--tone-green-fg,#1d6b3e)}.stage-badge.type-lost{background:var(--tone-red-bg,#fde4e1);color:var(--tone-red-fg,#a3322a)}.stage-add-btn{border-style:dashed;width:100%;margin-top:12px}.stage-info-banner{background:var(--tone-blue-bg,#e3ecfb);color:var(--ink-soft);border:0;border-radius:16px}.stage-info-banner svg{color:var(--tone-blue-fg,#2850a0)}@media (width<=760px){.stage-row{grid-template-columns:minmax(0,1fr)}.stage-drag-handle{display:none}.stage-row-controls .round-btn{width:44px;height:44px}.stage-row-spacer{flex:1}.stage-prob{height:44px}.stage-row{position:relative}.stage-row-lead{padding-right:50px}.stage-row-controls .round-btn.danger{position:absolute;top:8px;right:8px}.stage-row-controls{flex-wrap:nowrap}.stage-row .cs{width:118px}.stage-prob input{width:30px}.modal-f>.sub{width:100%}.modal-f .inline-actions{flex-flow:row}.modal-f .inline-actions .btn{flex:1 1 0}}.record-modal{width:min(820px,100%)}.modal-h-text{min-width:0}.modal-h-text .sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.field-label{color:var(--ink-soft);font-size:12px;font-weight:600}.form-section{padding:4px 0 18px}.form-section+.form-section{border-top:1px solid var(--line);padding-top:18px}.form-section-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;font-size:11.5px;font-weight:600}.form-section-body{gap:12px;min-width:0;display:grid}.form-section-body .grid.two{gap:12px}.form-section-body .advanced-fields{margin:0}.record-location{color:var(--ink-soft);background:#11111109;border-radius:14px;align-items:flex-start;gap:8px;margin:0;padding:12px 14px;display:flex}.record-location svg{width:16px;height:16px;color:var(--muted);flex:none;margin-top:2px}.record-ai{background:var(--tone-violet-bg,#ece8fb);color:var(--ink);border-radius:14px;padding:12px 14px}.record-ai p{margin:0 0 4px}.record-ai p:last-child{margin:0}.record-activity-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.record-activity-col{align-content:start;gap:8px;min-width:0;display:grid}.record-activity-col textarea,.record-activity-col>input{border:1px solid var(--line-strong);width:100%;min-height:40px;font:inherit;background:#fff;border-radius:12px;padding:9px 12px;font-size:13.5px}.record-activity-col .btn.slim{justify-self:start}.record-note{border-color:var(--line);background:#fff;border-radius:14px}.record-note-meta a{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink);font-weight:500;overflow:hidden}.round-btn.small{width:30px;height:30px}.round-btn.small svg{width:14px;height:14px}.modal .consent-panel,.modal .record-consent{margin:0 0 18px}.record-modal-f{justify-content:space-between}.modal-f-start{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.btn.ghost.danger-text{color:var(--red)}.btn.ghost.danger-text:hover:not(:disabled){background:var(--tone-red-bg,#fde4e1)}.btn.ghost.accent-outline{border-color:var(--ink);color:var(--ink)}@media (width<=760px){.record-activity-grid{grid-template-columns:minmax(0,1fr)}.record-modal-f{gap:8px}.modal-f-start{width:100%}.modal-f-start .btn{flex:1 1 0;min-height:44px}.round-btn.small{width:40px;height:40px}}.form-section-body .field,.record-activity-col .field{margin-top:0}.form-section-body .grid.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}@media (width<=760px){.form-section-body .grid.two{grid-template-columns:minmax(0,1fr)}}.label-short{display:none}@media (width<=760px){.modal-f-start .label-long{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.modal-f-start .label-short{display:inline}}.form-section-body .record-consent{gap:12px;margin:0}.record-activity-col .record-note-list{margin:0}.record-activity-col .inline-actions{flex-direction:row;align-items:center}.record-activity-col p.sub,.form-section-body .record-consent p.sub{margin:0}.form-section-body .cs-trigger{min-height:40px}.map-layout{grid-template-columns:minmax(0,1.5fr) minmax(340px,.8fr);gap:20px}.map-canvas{border:0;border-radius:18px;height:560px}.map-canvas.empty{text-align:center;color:var(--muted);background:#11111109;align-content:center;place-items:center;gap:8px;padding:24px;display:grid}.map-canvas.empty svg{width:28px;height:28px}.map-fit-btn{background:#fff;border:0;border-radius:999px;font-weight:500;box-shadow:0 4px 14px #11111124}.map-geo-status{color:var(--tone-amber-fg);font-weight:500}.map-geo-status.ok{color:var(--tone-green-fg)}.map-filters{background:#11111108;border-radius:16px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin-bottom:14px;padding:12px}.map-filters input[type=date]{background:#fff;border-radius:999px;min-height:40px;padding:8px 14px}.btn.ghost.is-on{background:var(--selected);color:#fff;border-color:var(--selected)}.map-stop-search-wrap{display:block;position:relative}.map-stop-search-wrap svg{width:16px;height:16px;color:var(--muted);pointer-events:none;margin-top:-8px;position:absolute;top:50%;left:14px}.map-stop-search-wrap .map-stop-search{border:1px solid var(--line-strong);width:100%;min-height:42px;font:inherit;background:#fff;border-radius:999px;padding:9px 14px 9px 38px;font-size:13.5px}.map-stop-search-wrap .map-stop-search:focus{border-color:var(--ink);outline:none}.stop-kind-filter button{border-color:var(--line);background:#fff;min-height:34px;padding:5px 12px;font-weight:500}.stop-kind-filter button.active{background:var(--selected);border-color:var(--selected);color:#fff}.stop-kind-filter button.active .count{color:#ffffffb3}.stop-kind-filter .count{font-weight:600}.route-block{border:1px solid var(--line);border-left:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:8px;padding:12px 14px}.route-block.selected{border-color:var(--ink);border-left-color:var(--ink);box-shadow:inset 3px 0 0 var(--ink);background:#fff}.stop-group-head input[type=checkbox],.route-stop input[type=checkbox]{width:18px;height:18px;accent-color:var(--selected);flex:none}.route-stop{border-top:1px solid var(--line);border-radius:12px;margin:0 -8px;padding:10px 8px}.route-stop.selectable{cursor:pointer;align-items:flex-start;gap:10px;min-height:44px;display:flex}.route-stop.selectable:hover{background:#11111108}.route-stop.selected{background:#1111110d;border-top-color:#0000}.route-stop .route-legend-dot{flex:none;margin-top:6px}.route-stop-text{gap:2px;min-width:0;display:grid}.route-stop-text b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.route-stop-text .sub{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.route-plan-controls{border-top:1px solid var(--line);gap:10px;display:grid}.route-plan-optimize{min-height:44px;margin-top:2px}.route-custom-start{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.route-custom-start input{border:1px solid var(--line-strong);min-height:40px;font:inherit;background:#fff;border-radius:999px;min-width:0;padding:8px 14px;font-size:13.5px}.route-order-row{border:1px solid var(--line);background:#fff;border-radius:14px;gap:8px;padding:6px 8px 6px 10px}.route-order-row .round-btn{width:32px;height:32px}.route-order-row .round-btn svg{width:15px;height:15px}@media (width<=1100px){.map-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.map-canvas{height:380px}.route-order-row .round-btn{width:44px;height:44px}.stop-kind-filter button{min-height:40px}}.pf-card{margin-top:16px}.project-financials .health-banner{border:0;border-radius:18px;padding:14px 18px}.project-financials .health-green{background:var(--tone-green-bg);color:var(--tone-green-fg)}.project-financials .health-green svg{color:var(--tone-green-fg)}.project-financials .health-yellow{background:var(--tone-amber-bg);color:var(--tone-amber-fg)}.project-financials .health-yellow svg{color:var(--tone-amber-fg)}.project-financials .health-red{background:var(--tone-rose-bg);color:var(--tone-rose-fg)}.project-financials .health-red svg{color:var(--tone-rose-fg)}.project-financials .health-banner .health-alert{color:inherit;opacity:.85}.mini-stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}.pf-cost-stats{margin:0;padding:12px}.pf-cost-stats b{font-size:19px}.pf-add{border-top:1px solid var(--line)}.pf-add .form-section-title{margin:0 0 10px}.pf-add .form-row{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.pf-more-fields{margin:10px 0 0}.pf-more-fields .form-row{margin-top:10px}.pf-add>.notice-inline:first-child{margin-top:0}.pf-status-cell{min-width:170px}.pf-status-cell .cs{width:100%}.pf-setup{max-width:560px;margin-top:12px}.pf-setup .field{margin:12px 0}@media (width<=1100px){.mini-stats.five{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.mini-stats.five{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-header .inline-actions{width:100%}.pf-header .inline-actions .btn{flex:1;justify-content:center}.pf-add .form-row{grid-template-columns:1fr}}.nav-ext{opacity:.55;margin-left:auto;width:13px!important;height:13px!important}.svc-rows{margin:0;padding:0;list-style:none}.svc-rows .stage-row-main{gap:6px}.services-page{max-width:820px;padding-bottom:96px}.deal-list{gap:6px;margin:0 0 10px;padding:0;list-style:none;display:grid}.deal-row{border:1px solid var(--line);text-align:left;width:100%;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.deal-row:hover{border-color:var(--line-strong);background:var(--soft)}.deal-dot{border-radius:999px;flex:none;width:10px;height:10px}.deal-main{flex:1;gap:1px;min-width:0;display:grid}.deal-main b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.deal-value{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600}.chat-widget{z-index:60}.chat-panel{background:var(--surface-solid);border:1px solid var(--line);width:400px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100vh - 110px);box-shadow:var(--shadow-lg);animation:popIn .2s var(--ease) both;border-radius:26px;flex-direction:column;display:flex;overflow:hidden}.chat-panel-h{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 14px 12px 16px;display:flex}.chat-avatar{background:var(--tone-purple-bg);width:36px;height:36px;color:var(--tone-purple-fg);border-radius:12px;flex:none;place-items:center;display:grid}.chat-avatar svg{width:18px;height:18px}.chat-panel-title{flex:1;min-width:0;line-height:1.25;display:grid}.chat-panel-title b{color:var(--ink);font-size:15px;font-weight:600}.chat-panel-title .sub{font-size:12px}.chat-panel-body{background:var(--app-bg);flex-direction:column;flex:1;gap:10px;padding:16px;display:flex;overflow-y:auto}.chat-empty{gap:12px;margin:auto 0 0;display:grid}.chat-empty p{color:var(--muted);margin:0;font-size:13.5px;line-height:1.5}.chat-suggestions{flex-wrap:wrap;gap:6px;display:flex}.chat-chip{border:1px solid var(--line-strong);font:inherit;color:var(--ink-soft);cursor:pointer;text-align:left;background:#fff;border-radius:999px;padding:8px 12px;font-size:13px}.chat-chip:hover{border-color:var(--ink);color:var(--ink)}.chat-msg{overflow-wrap:anywhere;max-width:88%;font-size:13.5px;line-height:1.5}.chat-msg-user{background:var(--selected);color:#fff;white-space:pre-wrap;border-radius:18px 18px 4px;align-self:flex-end;padding:9px 13px}.chat-msg-assistant{color:var(--ink-soft);box-shadow:var(--shadow-xs);background:#fff;border-radius:18px 18px 18px 4px;align-self:flex-start;padding:10px 14px}.chat-msg-assistant p{margin:0}.chat-msg-assistant p+p,.chat-msg-assistant p+ul,.chat-msg-assistant p+ol,.chat-msg-assistant ul+p,.chat-msg-assistant ol+p{margin-top:8px}.chat-msg-assistant ul,.chat-msg-assistant ol{gap:4px;margin:0;padding-left:18px;display:grid}.chat-msg-assistant b{color:var(--ink);font-weight:600}.chat-msg-assistant code{background:var(--soft);border-radius:6px;padding:1px 5px;font-size:12.5px}.chat-ref{background:var(--tone-blue-bg);color:var(--tone-blue-fg);font:inherit;cursor:pointer;border:0;border-radius:6px;padding:0 6px;font-weight:500;display:inline}.chat-ref:hover{text-decoration:underline}.chat-ref-customer{background:var(--tone-green-bg);color:var(--tone-green-fg)}.chat-ref-job{background:var(--tone-amber-bg);color:var(--tone-amber-fg)}.chat-typing{gap:4px;padding:14px;display:flex}.chat-typing span{background:var(--muted-soft);border-radius:999px;width:7px;height:7px;animation:1s ease-in-out infinite chatDot}.chat-typing span:nth-child(2){animation-delay:.15s}.chat-typing span:nth-child(3){animation-delay:.3s}@keyframes chatDot{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.chat-panel-input{border-top:1px solid var(--line);background:var(--surface-solid);align-items:flex-end;gap:8px;padding:10px 12px;display:flex}.chat-panel-input textarea{resize:none;border:1px solid var(--line-strong);min-height:42px;max-height:120px;font:inherit;background:var(--soft);color:var(--ink);field-sizing:content;border-radius:20px;flex:1;padding:10px 14px;font-size:14px}.chat-panel-input textarea:focus{border-color:var(--ink);background:#fff;outline:none}.chat-send{background:var(--selected);color:#fff;cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;width:42px;height:42px;display:grid}.chat-send:disabled{opacity:.35;cursor:default}.chat-send svg{width:18px;height:18px}@media (width<=760px){.chat-panel{width:auto;max-width:none;height:calc(100dvh - 90px);max-height:none;position:fixed;inset:auto 8px 8px}}@media (prefers-reduced-motion:reduce){.chat-typing span{animation:none}}.chip-others{background:var(--tone-purple-bg);color:var(--tone-purple-fg)}.client-picker{gap:8px;display:grid}.client-search{align-items:center;display:flex;position:relative}.client-search svg{width:16px;height:16px;color:var(--muted);position:absolute;left:12px}.client-search input{width:100%;padding-left:36px}.client-results{border:1px solid var(--line);background:#fff;border-radius:14px;gap:2px;max-height:240px;margin:0;padding:4px;list-style:none;display:grid;overflow:auto}.client-results button{text-align:left;cursor:pointer;width:100%;color:var(--ink-soft);background:0 0;border:0;border-radius:10px;gap:1px;padding:8px 10px;display:grid}.client-results button:hover,.client-results button:focus-visible{background:var(--soft)}.client-results b{color:var(--ink);font-weight:600}.client-new{justify-self:start}.client-card{border:1px solid var(--line);background:#fff;border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.client-card-icon{background:var(--tone-green-bg);width:38px;height:38px;color:var(--tone-green-fg);border-radius:12px;flex:none;place-items:center;display:grid}.client-card-icon svg{width:18px;height:18px}.client-card-main{flex:1;gap:1px;min-width:0;display:grid}.client-card-main b{color:var(--ink);font-weight:600}.client-card-main .sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.new-client{gap:10px;display:grid}.new-client .link-btn{justify-self:start}@media (width<=760px){.client-card{flex-wrap:wrap}.client-card-actions{justify-content:flex-start;width:100%}}.kind-badge{vertical-align:1px;margin-left:6px;padding:2px 8px;font-size:11px}.search-pill{border-radius:var(--radius-pill);background:#ffffffd9;border:1px solid #11111114;flex:0 320px;align-items:center;gap:8px;min-width:220px;min-height:40px;padding:0 6px 0 14px;display:flex}.search-pill:focus-within{border-color:var(--ink);background:#fff}.search-pill>svg{width:16px;height:16px;color:var(--muted);flex:none}.search-pill input{min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:none;flex:1;padding:8px 0;font-size:13.5px}.search-pill input::-webkit-search-cancel-button{display:none}.search-pill-clear{background:var(--soft);cursor:pointer;width:28px;height:28px;color:var(--muted);border:0;border-radius:999px;flex:none;place-items:center;display:grid}.search-pill-clear svg{width:14px;height:14px}@media (width<=900px){.search-pill{flex:100%;min-height:44px}}.quote-page{padding-bottom:90px}.quote-title-input{width:100%;font:inherit;letter-spacing:-.01em;color:var(--ink);border-radius:var(--radius-sm);background:0 0;border:1px solid #0000;margin-left:-8px;padding:4px 8px;font-size:22px;font-weight:700}.quote-title-input:hover:not(:disabled){border-color:var(--line-strong)}.quote-title-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);background:#fff;outline:none}.quote-title-input:disabled{color:var(--ink);opacity:1}.quote-banner{margin-bottom:16px}.quote-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.quote-main,.quote-side{grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.quote-side{position:sticky;top:16px}.quote-search-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.quote-door{gap:6px;min-width:220px;display:grid}.quote-search{flex:1;gap:6px;min-width:220px;display:grid}.quote-search input,.quote-notes,.quote-setting input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--soft);width:100%;color:var(--ink);font:inherit;padding:10px 12px}.quote-search input:focus,.quote-notes:focus,.quote-setting input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);background:#fff;outline:none}.quote-results{gap:6px;max-height:420px;margin:14px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.quote-result{border:1px solid var(--line);text-align:left;width:100%;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.quote-result:hover{border-color:var(--brand);background:var(--brand-soft)}.quote-result-main{flex:1;gap:1px;min-width:0;display:grid}.quote-result-main b{color:var(--ink);font-weight:600}.quote-result-price{font-variant-numeric:tabular-nums;justify-items:end;display:grid}.quote-result-price b{color:var(--ink)}.quote-result-add{background:var(--soft);min-width:34px;height:34px;color:var(--ink);border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.quote-result-add svg{width:16px;height:16px}.quote-table td{vertical-align:top;height:auto;padding:8px 10px}.quote-table th.num,.quote-table td.num{text-align:right;font-variant-numeric:tabular-nums}.quote-table td.num b{color:var(--ink);padding-top:9px;display:inline-block}.quote-section-row th{background:var(--soft);color:var(--ink);text-transform:none;letter-spacing:0;padding:8px 10px;font-size:12px;position:static}.quote-section-row .sub{font-size:12px;font-weight:500}.quote-item-cell{white-space:normal;min-width:240px}.quote-item-cell .sub{margin-top:1px;padding-left:9px;font-size:12px;display:block}.quote-cell-input{width:100%;font:inherit;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:8px;padding:7px 8px;font-size:13.5px}.quote-cell-input:hover:not(:disabled){border-color:var(--line-strong);background:#fff}.quote-cell-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);background:#fff;outline:none}.quote-cell-input:disabled{opacity:1;color:var(--ink-soft)}.quote-cell-input.num{text-align:right;font-variant-numeric:tabular-nums;width:96px}.quote-cell-input.qty{width:56px}.quote-cell-input.auto::placeholder{color:var(--ink-soft)}.quote-line-meta{flex-wrap:wrap;gap:6px;margin-top:6px;padding-left:8px;display:flex}.quote-line-meta .cs{min-width:150px}.quote-line-meta .cs-trigger{min-height:32px;padding:5px 10px;font-size:12.5px}.quote-hint{margin-top:12px;font-size:12.5px}.quote-settings{gap:12px;display:grid}.quote-setting{gap:6px;display:grid}.quote-totals dl{gap:8px;margin:0;display:grid}.quote-totals dl div{font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;display:flex}.quote-totals dt{color:var(--muted);font-weight:500}.quote-totals dd{color:var(--ink);margin:0;font-weight:600}.quote-total-row{background:var(--brand-soft);border-radius:12px;margin:2px -12px;padding:10px 12px}.quote-total-row dt,.quote-total-row dd{color:var(--ink);font-size:16px;font-weight:700}.quote-internal{border-top:1px dashed var(--line-strong);gap:8px;margin-top:16px;padding-top:14px;display:grid}.quote-warn dt,.quote-warn dd{color:var(--tone-rose-fg)}.quote-warn-text{color:var(--tone-rose-fg);align-items:flex-start;gap:6px;margin:4px 0 0;font-size:12.5px;font-weight:500;display:flex}.quote-warn-text svg{flex:none;width:15px;height:15px;margin-top:1px}.quote-notes{resize:vertical;margin-bottom:6px}.quote-delete{justify-self:start}.deal-icon{width:16px;height:16px;color:var(--muted);flex:none}@media (width<=1000px){.quote-layout{grid-template-columns:minmax(0,1fr)}.quote-side{position:static}}@media (width<=640px){.quote-door,.quote-search{min-width:100%}.quote-result-price .sub{display:none}.quote-title-input{font-size:19px}}.quotes-toolbar{flex-wrap:wrap;padding-top:6px;padding-bottom:0}.quotes-toolbar .inline-actions{flex-wrap:nowrap;align-items:center;padding-bottom:10px}.quotes-tabs{border-bottom:0;margin-top:0}.quotes-toolbar .search-pill{min-width:240px}.quotes-picker{border-bottom:1px solid var(--line-strong);background:var(--surface-muted);gap:8px;display:grid}.quotes-picker input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);width:100%;color:var(--ink);font:inherit;background:#fff;padding:10px 12px}.quotes-picker input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);outline:none}.quotes-list{margin:0}.quote-row-meta{justify-items:end;gap:2px;display:grid}.quote-row .deal-value{text-align:right;min-width:96px}@media (width<=640px){.quotes-toolbar .search-pill{flex:1;min-width:0}.quotes-toolbar .inline-actions{flex-wrap:wrap;width:100%}.quote-row-meta .sub{display:none}.quote-row .deal-value{min-width:0}}.import-progress{gap:6px;margin-top:14px;display:grid}.import-result-head{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.import-result-head>svg{flex:none;width:28px;height:28px;margin-top:2px}.import-result-head.ok>svg{color:var(--success)}.import-result-head.has-errors>svg{color:var(--tone-amber-fg)}.import-result-head h3{margin:0 0 4px}.profile-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));align-items:start;gap:20px;display:grid}.profile-grid form .btn{margin-top:12px}.profile-facts{gap:10px;margin:18px 0 10px;display:grid}.profile-facts>div{justify-content:space-between;gap:12px;font-size:14px;display:flex}.profile-facts dt{color:var(--muted)}.profile-facts dd{text-align:right;overflow-wrap:anywhere;margin:0;font-weight:600}.msg-thread{flex-direction:column;gap:12px;min-width:0;display:flex}.msg-list{flex-direction:column;gap:6px;max-height:380px;padding:6px 4px;display:flex;overflow-y:auto}.msg-empty{text-align:center;justify-items:center;gap:8px;margin:auto;padding:28px 12px;display:grid}.msg-empty-icon{background:var(--soft);width:44px;height:44px;color:var(--muted);border-radius:14px;place-items:center;display:grid}.msg-empty-icon svg{width:20px;height:20px}.msg-day{justify-content:center;margin:10px 0 4px;display:flex}.msg-day span{letter-spacing:.02em;color:var(--muted);background:var(--soft);border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:600}.msg{overflow-wrap:anywhere;max-width:min(76%,520px);box-shadow:var(--shadow-xs);border-radius:18px;padding:9px 13px 7px;font-size:14px;line-height:1.45;position:relative}.msg+.msg:not(.msg-grouped){margin-top:6px}.msg p{white-space:pre-wrap;margin:0}.msg-in{background:var(--surface-solid,#fff);color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}.msg-out{background:var(--selected);color:var(--selected-ink,#fff);border-bottom-right-radius:6px;align-self:flex-end}.msg-in.msg-grouped{border-top-left-radius:6px}.msg-out.msg-grouped{border-top-right-radius:6px}.msg-failed{background:var(--tone-rose-bg);color:var(--tone-rose-fg);border:1px solid #0000}.msg-subject-line{border-bottom:1px solid;border-bottom-color:color-mix(in srgb, currentColor 18%, transparent);align-items:center;gap:6px;margin-bottom:4px;padding-bottom:5px;font-size:12.5px;font-weight:700;display:flex}.msg-subject-line svg{opacity:.8;flex:none;width:13px;height:13px}.msg-meta{opacity:.6;justify-content:flex-end;align-items:center;gap:4px;margin-top:3px;font-size:11px;display:flex}.msg-meta svg{width:11px;height:11px}.msg-error{opacity:1;font-weight:700}.msg-compose{gap:8px;display:grid}.msg-compose-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.msg-tabs{background:var(--soft);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.msg-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-flex}.msg-tabs button svg{width:14px;height:14px}.msg-tabs button.active{background:var(--surface-solid,#fff);color:var(--ink);box-shadow:var(--shadow-xs)}.msg-tabs button:disabled{opacity:.4;cursor:not-allowed}.msg-route{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.msg-notice{background:var(--tone-amber-bg);color:var(--tone-amber-fg);border-radius:14px;align-items:flex-start;gap:7px;margin:0;padding:9px 12px;font-size:13px;line-height:1.4;display:flex}.msg-notice svg{flex:none;width:15px;height:15px;margin-top:1px}.msg-box{border:1px solid var(--line-strong);background:var(--surface-solid,#fff);transition:border-color var(--dur,.15s) var(--ease,ease), box-shadow var(--dur,.15s) var(--ease,ease);border-radius:18px;display:grid;overflow:hidden}.msg-box:focus-within{border-color:var(--ink-soft,var(--ink));box-shadow:0 0 0 3px var(--brand-ring,#00000014)}.msg-box input,.msg-box textarea{box-shadow:none;width:100%;font:inherit;color:var(--ink);background:0 0;border:0;border-radius:0;outline:none;padding:11px 14px}.msg-box input:focus,.msg-box textarea:focus{box-shadow:none;outline:none}.msg-box .msg-subject{border-bottom:1px solid var(--line);font-weight:600}.msg-box textarea{resize:none;min-height:52px;max-height:180px;line-height:1.45}.msg-box-foot{justify-content:space-between;align-items:center;gap:10px;padding:6px 8px 8px 14px;display:flex}.msg-hint{color:var(--muted);font-size:11.5px}.msg-send{background:var(--selected);color:var(--selected-ink,#fff);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:7px;margin-left:auto;padding:8px 16px;font-size:13.5px;font-weight:700;display:inline-flex}.msg-send svg{width:15px;height:15px}.msg-send:disabled{opacity:.35;cursor:not-allowed}.inbox{grid-template-columns:minmax(270px,340px) minmax(0,1fr);align-items:stretch;gap:20px;height:clamp(520px,100vh - 250px,900px);display:grid}.inbox-list,.inbox-thread{flex-direction:column;min-width:0;min-height:0;display:flex}.inbox-list{padding:16px 12px 12px}.inbox-list-head{justify-content:space-between;align-items:center;gap:8px;padding:0 6px 12px;display:flex}.inbox-title{align-items:center;gap:8px;display:flex}.inbox-title h3{margin:0}.inbox-list-head .btn svg{width:15px;height:15px}.inbox-search{border:1px solid var(--line-strong);background:var(--surface-solid,#fff);border-radius:999px;align-items:center;gap:8px;margin:0 4px 10px;padding:0 14px;display:flex}.inbox-search svg{width:16px;height:16px;color:var(--muted);flex:none}.inbox-search input{width:100%;box-shadow:none;background:0 0;border:0;outline:none;padding:9px 0}.inbox-items{flex:1;align-content:start;gap:2px;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.inbox-item{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:16px;align-items:center;gap:11px;padding:10px;display:flex}.inbox-item:hover{background:var(--soft)}.inbox-item.active{background:var(--soft);box-shadow:inset 3px 0 0 var(--selected)}.inbox-item-main{flex:1;gap:3px;min-width:0;display:grid}.inbox-item-top,.inbox-item-bottom{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.inbox-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.inbox-time{color:var(--muted);flex:none;font-size:11.5px}.inbox-preview{min-width:0;color:var(--muted);align-items:center;gap:5px;font-size:13px;display:flex}.inbox-preview>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inbox-preview svg{flex:none;width:13px;height:13px}.inbox-item.unread .inbox-name,.inbox-item.unread .inbox-preview,.inbox-item.unread .inbox-time{color:var(--ink);font-weight:700}.inbox-badge{background:var(--selected);min-width:20px;height:20px;color:var(--selected-ink,#fff);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 6px;font-size:11.5px;font-weight:700;display:inline-flex}.inbox-hint{color:var(--muted);margin:0;padding:10px;font-size:13px;list-style:none}.inbox-empty{padding:10px 4px}.avatar{letter-spacing:.02em;background:var(--tone-bg);color:var(--tone-fg);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.avatar-md{width:40px;height:40px;font-size:13px}.avatar-lg{width:46px;height:46px;font-size:15px}.inbox-thread{padding:0;overflow:hidden}.inbox-thread-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px 20px;display:flex}.inbox-thread-who{flex:1;gap:5px;min-width:0;display:grid}.inbox-thread-who h3{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.inbox-chips{flex-wrap:wrap;gap:6px;display:flex}.inbox-chip{color:var(--muted);background:var(--soft);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;max-width:100%;padding:3px 9px;font-size:12px;display:inline-flex;overflow:hidden}.inbox-chip svg{flex:none;width:12px;height:12px}.inbox-open svg{width:15px;height:15px}.inbox-back{display:none}.inbox-thread .msg-thread-fill{flex:1;min-height:0;padding:0 20px 18px}.msg-thread-fill .msg-list{flex:1;min-height:0;max-height:none;padding:8px 4px}.inbox-placeholder{color:var(--muted);text-align:center;flex:1;place-content:center;justify-items:center;gap:10px;padding:24px;display:grid}.inbox-thread .msg-box-foot{padding-right:8px}@media (width>=901px){.inbox{margin-bottom:56px}}@media (width<=900px){.inbox{grid-template-columns:minmax(0,1fr);height:auto}.inbox.has-selection .inbox-list,.inbox:not(.has-selection) .inbox-thread{display:none}.inbox-list,.inbox-items{max-height:none}.inbox-back{display:inline-flex}.inbox-thread{height:calc(100dvh - 190px);min-height:480px}.inbox-thread-head{gap:10px;padding:12px 14px}.inbox-open span{display:none}.inbox-thread .msg-thread-fill{padding:0 12px 12px}.avatar-lg{width:40px;height:40px;font-size:13px}.msg{max-width:86%}.msg-hint{display:none}}
