.wrap-anywhere{overflow-wrap:anywhere}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101112;--sidebar:#141516;--surface:#191a1c;--raised:#202123;--hover:#262729;--border:#2b2d2f;--border-soft:#252729;--text:#eeeef0;--muted:#95989e;--faint:#696d73;--radius:8px;--font:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:13px}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}input,select,textarea{width:100%;height:37px;color:var(--text);background:#151618;border:1px solid #36383c;border-radius:6px;outline:none;padding:0 11px}textarea{resize:vertical;height:90px;padding:10px 11px}input::placeholder,textarea::placeholder{color:var(--faint)}input:focus,select:focus,textarea:focus{border-color:#8e929a;box-shadow:0 0 0 2px #ffffff0d}input[type=checkbox]{accent-color:#d9dbdf;flex-shrink:0;width:15px;height:15px}input[type=checkbox]:focus{outline-offset:2px;outline:2px solid #969ba4}button:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #c7cbd1}h1,h2,h3,p{margin:0}h1{letter-spacing:-.65px;font-size:23px;font-weight:600;line-height:1.4}h2{letter-spacing:-.2px;font-size:15px;font-weight:550}h3{font-size:14px;font-weight:550}p{line-height:1.6}strong{font-weight:550}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-size:10px;font-weight:550}.stack{flex-direction:column;gap:17px;display:flex}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.attendance-camera{aspect-ratio:4/3;object-fit:contain;background:#111;border:1px solid #363636;border-radius:8px;width:100%;max-height:360px;display:block}.attendance-tabs{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.attendance-tabs button{color:#b5b5b5;background:#171717;border:1px solid #363636;border-radius:6px;padding:8px 12px}.attendance-tabs button.active{color:#fff;background:#343434}.attendance-selfie{object-fit:contain;border-radius:8px;width:100%;max-height:360px;display:block}.attendance-receipt{border-top:1px solid #363636;padding-top:10px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-grid .span-2{grid-column:span 2}.payroll-rule{border:1px solid #363636;border-radius:8px;min-width:0;margin:0;padding:12px}.payroll-summary{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.payroll-summary span,.payroll-summary strong{overflow-wrap:anywhere;display:block}.payroll-summary span{color:#a1a1aa;margin-bottom:5px;font-size:12px}.field{flex-direction:column;gap:7px;font-size:12px;display:flex}.field>label{color:#cdd0d4;font-weight:500}.field-error{color:#efaaaa}.field small{line-height:1.5}.button{color:#e3e5e8;white-space:nowrap;background:#242628;border:1px solid #3c3e42;border-radius:6px;justify-content:center;align-items:center;gap:7px;height:34px;padding:0 13px;font-size:12px;font-weight:500;transition:background .15s;display:inline-flex}.button:hover{background:#303235}.button.primary{color:#202123;background:#e6e8eb;border-color:#e6e8eb;box-shadow:inset 0 1px #fff3}.button.primary:hover{background:#fff}.button.subtle{border-color:var(--border);background:0 0}.button.full{width:100%;height:39px}.button.danger{color:#f2b3b3;background:#3d2525;border-color:#724444}.icon-button{border:1px solid var(--border);color:#a8abb1;background:0 0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:29px;height:29px;display:inline-flex}.icon-button:hover{background:var(--hover);color:var(--text)}.text-button{color:#dadce0;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.link-strong{color:#eeeff1;font-weight:500}.link-strong:hover{text-underline-offset:3px;text-decoration:underline}.badge{color:#c4c8ce;text-transform:capitalize;white-space:nowrap;background:#2a2d30;border:1px solid #3b3e42;border-radius:5px;align-items:center;gap:4px;padding:3px 7px;font-size:10px;font-weight:500;display:inline-flex}.badge:before{content:"";background:#a4abb4;border-radius:50%;width:4px;height:4px}.count{color:#969ba3;background:#2c2e32;border-radius:4px;padding:2px 5px;font-size:10px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.panel-head{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:10px;padding:17px 18px;display:flex}.panel-body{padding:18px}.divider{border:0;border-top:1px solid var(--border);margin:3px 0}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.page-header .eyebrow{margin-bottom:5px;display:block}.page-header p{color:var(--muted);margin-top:5px;font-size:12px}.header-actions{align-items:center;gap:8px;display:flex}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.metric{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:9px;min-height:113px;padding:17px 18px 16px;display:flex}.metric-label{color:#b3b7be;justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.metric-label svg{color:#858b94;width:15px;height:15px}.metric strong{letter-spacing:-.8px;font-size:27px;font-weight:550;line-height:1.05}.metric .small{font-size:10px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px;margin-bottom:20px;display:grid}.dashboard-grid.equal{grid-template-columns:1fr 1fr}.chart{height:230px;padding:18px 12px 4px}.chart-empty{height:230px;color:var(--faint);background:repeating-linear-gradient(#0000 0 42px,#ffffff04 43px 44px);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.chart-empty p{font-size:11px}.chart-empty svg{opacity:.45}.mini-row{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:10px;padding:13px 18px;display:flex}.mini-row:last-child{border-bottom:0}.mini-row p{color:var(--muted);margin-top:4px;font-size:11px}.mini-row-icon{align-items:center;gap:10px;min-width:0;display:flex}.square-icon{color:#aeb3bb;background:#232527;border:1px solid #36383b;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.section-gap{margin-bottom:20px}.table-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;display:flex}.table-tabs{align-items:center;gap:12px;margin-right:auto;display:flex}.table-tab{border-radius:5px;align-items:center;gap:7px;padding:7px 8px;font-size:11px;display:flex}.table-tab.active{background:#2a2c30}.search-field{color:#858a92;background:#151618;border:1px solid #34373a;border-radius:5px;align-items:center;gap:7px;width:225px;height:31px;padding:0 8px;display:flex}.search-field input{height:27px;box-shadow:none;background:0 0;border:0;padding:0;font-size:11px}.table-scroll{overscroll-behavior-x:contain;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;text-align:left;width:100%;font-size:12px}th{color:#9298a2;letter-spacing:.1px;background:#1e2022;height:38px;font-size:10px;font-weight:500}th,td{border-bottom:1px solid var(--border-soft);padding:11px 16px}td{color:#bfc3ca;height:53px}td strong{color:#e3e5e8}td .subcell{color:#7f858e;margin-top:4px;font-size:10px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#1d1f21}.sort-button{color:inherit;font-size:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:flex}.sort-button svg{opacity:.6}.table-footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;padding:10px 15px;font-size:10px;display:flex}.pagination{align-items:center;gap:10px;display:flex}.pagination .icon-button{width:25px;height:25px}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:180px;padding:48px 20px;display:flex}.empty-icon{color:#a1a6af;background:#24272b;border:1px solid #383b40;border-radius:10px;place-items:center;width:45px;height:45px;margin-bottom:4px;display:grid}.empty h3{font-size:13px}.empty p{max-width:320px;color:var(--muted);font-size:12px}.loading{min-height:180px;color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:60px 20px;display:flex}.spin{animation:1.2s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-box{color:#f0baba;background:#332525;border:1px solid #694545;border-radius:6px;align-items:flex-start;gap:9px;margin-bottom:16px;padding:12px 14px;font-size:12px;display:flex}.error-box svg{flex-shrink:0}.notice{color:#c4d6cc;background:#252d29;border:1px solid #4a5550;border-radius:6px;align-items:center;gap:8px;margin-bottom:16px;padding:10px 13px;font-size:12px;display:flex}.drawer{border:0;border-left:1px solid var(--border);background:var(--surface);width:min(510px,100%);max-width:100%;height:100dvh;max-height:100dvh;color:var(--text);margin:0;padding:0;position:fixed;inset:0 0 0 auto}.drawer-wide{width:min(720px,100%)}.drawer::backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#0006}.drawer-inner{flex-direction:column;height:100%;display:flex}.drawer-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px;display:flex}.drawer-header h2{font-size:17px}.drawer-header p{margin-top:5px}.drawer-body{flex:1;padding:22px;overflow-y:auto}.form-actions{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:9px;padding-top:14px;display:flex}.check-row{align-items:center;gap:9px;font-size:12px;display:flex}.check-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.section-label{color:#c2c6cd;text-transform:uppercase;letter-spacing:.9px;margin:4px 0 2px;font-size:11px;font-weight:550}.app-shell{min-height:100dvh;display:flex}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);z-index:40;flex-direction:column;width:224px;padding:25px 12px 16px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{letter-spacing:-.65px;align-items:center;gap:8px;padding:0 8px;font-size:18px;font-weight:600;display:flex}.brand-mark{color:#22262b;background:#e1e4e8;border-radius:5px;justify-content:center;align-items:center;width:27px;height:29px;display:flex}.brand-dot{color:#8c939d;align-self:flex-start;margin-top:3px;margin-left:-4px;font-size:8px}.workspace-identity{border:1px solid var(--border);background:#1d1f21;border-radius:6px;align-items:center;gap:9px;margin:27px 1px 14px;padding:9px 8px;display:flex}.workspace-identity>div{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.workspace-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.workspace-identity div span{color:#858b94;font-size:10px}.workspace-icon{color:#c3c7ce;background:#303338;border:1px solid #3d4148;border-radius:5px;justify-content:center;align-items:center;width:29px;height:29px;display:flex}.workspace-identity>svg{color:#707680}.sidebar-search{color:#787e88;align-items:center;gap:8px;height:30px;margin:0 3px 16px;padding:0 7px;display:flex}.sidebar-search input{box-shadow:none;background:0 0;border:0;height:28px;padding:0;font-size:11px}.nav-group{margin:8px 0 20px}.nav-group-label{letter-spacing:1.05px;color:#6f7681;background:0 0;border:0;justify-content:space-between;width:100%;padding:0 10px 9px;font-size:9px;font-weight:550;display:flex}.nav-group-label svg{transition:transform .15s}.rotate{transform:rotate(-90deg)}.nav-item{color:#999fa9;border-radius:5px;align-items:center;gap:10px;min-height:35px;margin-bottom:3px;padding:9px 10px;font-size:11px;display:flex}.nav-item:hover{color:#e4e7eb;background:#222528}.nav-active{color:#f0f2f5;background:#2b2e32;border:1px solid #3d4148;padding:8px 9px;box-shadow:0 1px 2px #0002}.nav-active-dot{background:#c5cbd5;border-radius:50%;width:4px;height:4px;margin-left:auto}.sidebar nav{flex:1;overflow-y:auto}.sidebar-bottom{border-top:1px solid var(--border-soft);margin-top:15px;padding:12px 10px 0}.workspace-status{color:#a8aeb7;align-items:center;gap:7px;font-size:10px;display:flex}.status-dot{background:#bdc7bf;border-radius:50%;width:5px;height:5px;box-shadow:0 0 0 3px #a9b9ab0c}.sidebar-help{color:#69717c;align-items:center;gap:7px;margin-top:15px;font-size:9px;display:flex}.app-main{flex:1;min-width:0;margin-left:224px}.topbar{border-bottom:1px solid var(--border);z-index:30;background:#141516;justify-content:space-between;align-items:center;gap:12px;height:57px;padding:0 30px;display:flex;position:sticky;top:0}.topbar-left{color:#c4c9d0;white-space:nowrap;align-items:center;gap:12px;min-width:0;font-size:10px;display:flex;overflow:hidden}.topbar-left>svg{color:#626a75}.topbar-parent{color:#737c88}.topbar-right{flex-shrink:0;align-items:center;gap:17px;display:flex}.topbar-context{color:#858e9a;align-items:center;gap:5px;font-size:10px;display:flex}.avatar{color:#e2e7ee;background:#34383e;border:1px solid #454b54;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:9px;font-weight:550;display:flex}.profile-menu{position:relative}.dropdown{z-index:90;background:#222528;border:1px solid #434951;border-radius:8px;flex-direction:column;gap:8px;min-width:230px;padding:14px;display:flex;position:absolute;top:38px;right:0;box-shadow:0 12px 35px #0005}.dropdown button,.dropdown a{border:0;border-top:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:8px;margin-top:4px;padding:10px 0 0;font-size:12px;display:flex}.branch-select{color:#aeb6c0;background:#202326;border-color:#343a42;width:180px;height:29px;font-size:10px}.content{max-width:1520px;margin:0 auto;padding:29px 30px 0}.content-footer{color:#626a75;border-top:1px solid var(--border-soft);justify-content:space-between;align-items:center;margin-top:32px;padding:18px 0;font-size:9px;display:flex}.content-footer span{align-items:center;gap:6px;display:flex}.mobile-menu,.sidebar-backdrop{display:none}.subscription-banner{color:#e2d6ae;background:#32312b;border-bottom:1px solid #514d3f;padding:11px 30px;font-size:12px}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.plan-card{padding:20px}.plan-card .plan-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.plan-price{letter-spacing:-.7px;margin:18px 0 4px;font-size:29px;font-weight:550}.plan-price span{letter-spacing:0;color:var(--muted);font-size:11px;font-weight:400}.plan-description{color:var(--muted);min-height:34px;margin-top:7px;font-size:11px}.plan-limits{border-block:1px solid var(--border);color:#acb3be;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0;padding:16px 0;font-size:11px;display:grid}.plan-feature-list{flex-wrap:wrap;gap:6px;min-height:28px;display:flex}.plan-feature-list .badge{background:#23272c;border-color:#343a42;font-size:9px}.plan-actions{justify-content:space-between;align-items:center;margin-top:20px;display:flex}.permission-table{white-space:normal;width:100%;font-size:11px}.permission-table td,.permission-table th{padding:10px 7px}.permission-table input[type=checkbox]{margin:auto;display:block}.permission-table td:first-child{min-width:100px;font-size:11px}.permission-table select{min-width:85px;height:28px;padding:0 5px;font-size:10px}.details-list{grid-template-columns:130px 1fr;gap:15px;font-size:12px;display:grid}.details-list dt{color:var(--muted)}.details-list dd{word-break:break-word;margin:0}.usage-bar{background:#343a43;border-radius:3px;height:5px;margin-top:8px;overflow:hidden}.usage-bar>div{background:#b6c0ce;border-radius:3px;height:100%}.login-layout{grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-aside{background:#191b1d;border-right:1px solid #303338;flex-direction:column;justify-content:space-between;padding:43px 50px;display:flex;position:relative;overflow:hidden}.login-aside .brand{padding:0;font-size:22px}.login-aside .brand-mark{width:31px;height:34px}.login-statement{margin:80px 0 60px}.login-statement h1{letter-spacing:-1.9px;margin:21px 0 23px;font-size:47px;font-weight:450;line-height:1.19}.login-statement p{color:#8e97a4;font-size:13px;line-height:1.8}.login-lines{opacity:.5;align-items:flex-end;gap:14px;height:100px;margin-top:45px;display:flex}.login-lines div{background:linear-gradient(#4f5660,#2b3036);border:1px solid #4a515c;border-radius:4px 4px 0 0;width:23%;height:45%}.login-lines div:nth-child(2){height:62%}.login-lines div:nth-child(3){height:76%}.login-lines div:nth-child(4){height:100%}.login-bottom{color:#6c7684;justify-content:space-between;gap:15px;font-size:9px;display:flex}.login-bottom span:last-child{letter-spacing:1px;font-size:8px}.login-main{flex-direction:column;justify-content:space-between;align-items:center;padding:32px 40px;display:flex}.login-switch{color:#7e8998;align-self:flex-end;align-items:center;gap:8px;font-size:10px;display:flex}.login-switch a{color:#d1d8e3;align-items:center;gap:3px;display:flex}.login-card{width:100%;max-width:340px;margin:70px 0}.login-lock{color:#c5cfdd;background:#23282f;border:1px solid #414751;border-radius:9px;place-items:center;width:42px;height:42px;margin-bottom:23px;display:grid}.login-card h2{letter-spacing:-.8px;margin:10px 0 8px;font-size:27px;font-weight:550}.login-card>p{margin-bottom:27px;font-size:12px}.login-options{justify-content:space-between;align-items:center;gap:10px;margin-top:16px;display:flex}.login-options button{color:#a5afbd;background:0 0;border:0;padding:0;font-size:10px}.login-options button:hover{color:#fff}.secure-label{color:#667282;justify-content:center;align-items:center;gap:6px;margin-top:30px;font-size:10px;display:flex}.login-legal{color:#5f6a79;font-size:9px}.workspace-picker{max-width:500px;margin:auto;padding:70px 22px}.workspace-picker h1{margin-top:40px}.workspace-picker>p{margin:8px 0 22px}.workspace-card{border:1px solid var(--border);background:var(--surface);border-radius:7px;justify-content:space-between;align-items:center;padding:18px;display:flex}.workspace-card:hover{border-color:#5a6370}.workflow-summary{align-items:flex-start;gap:15px;padding:20px;display:flex}.workflow-summary .square-icon{width:39px;height:39px}.workflow-summary h3{margin-bottom:5px}.workflow-summary p{color:var(--muted);font-size:12px}.onboarding-steps{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.onboarding-step{border:1px solid var(--border);border-radius:7px;align-items:flex-start;gap:10px;padding:16px;display:flex}.step-number{color:#c4cfdd;border:1px solid #424a54;border-radius:50%;flex-shrink:0;place-items:center;width:23px;height:23px;font-size:10px;display:grid}.onboarding-step h3{margin:3px 0 6px;font-size:11px}.onboarding-step p{color:var(--muted);font-size:10px}@media (min-width:1500px){.content{padding-top:35px}.metrics{gap:16px}.metric{min-height:122px}.dashboard-grid{gap:20px}}@media (max-width:1100px){.sidebar{width:204px}.app-main{margin-left:204px}.content{padding:24px 20px 0}.topbar{padding:0 20px}.topbar-context{display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.login-aside{padding:35px}.login-statement h1{font-size:37px}.login-main{padding:28px}.onboarding-steps{grid-template-columns:1fr}}@media (max-width:760px){.sidebar{width:230px;transition:transform .2s;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.sidebar-backdrop{z-index:35;background:#0008;border:0;display:block;position:fixed;inset:0}.app-main{margin-left:0}.topbar{height:53px;padding:0 14px}.topbar-left{gap:8px;font-size:10px}.topbar-parent{text-overflow:ellipsis;flex-shrink:1;min-width:0;max-width:110px;overflow:hidden}.topbar-right{gap:9px}.mobile-menu{display:flex}.content{padding:22px 14px 0}.page-header{align-items:flex-start;gap:12px;margin-bottom:20px}.page-header h1{font-size:20px}.page-header p{font-size:11px}.header-actions .button{padding:0 9px;font-size:11px}.metrics{gap:9px;margin-bottom:16px}.metric{min-height:105px;padding:13px}.metric strong{font-size:24px}.metric-label{font-size:10px}.metric .small{font-size:9px}.dashboard-grid.equal,.plan-grid{grid-template-columns:1fr}.branch-select{width:123px;font-size:9px}.table-toolbar{gap:8px;padding:9px 10px}.search-field{width:155px}.table-footer{align-items:flex-start;gap:10px;font-size:9px}.table-footer>span{max-width:130px;line-height:1.5}.pagination{white-space:nowrap;gap:6px}.table-footer .icon-button{width:22px;height:24px}.login-layout{display:block}.login-aside{display:none}.login-main{min-height:100dvh;padding:24px}.login-card{margin:70px 0}.login-switch{font-size:9px}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.drawer-body,.drawer-header{padding:18px}.check-grid{grid-template-columns:1fr}.details-list{grid-template-columns:105px 1fr;gap:12px}.content-footer{font-size:8px}.permission-table{min-width:550px}.subscription-banner{padding:12px 14px}.workflow-summary{padding:16px}.page-header .eyebrow{font-size:9px}.dashboard-grid{gap:15px}.panel-head{padding:14px}.panel-body{padding:15px}.header-actions{flex-wrap:wrap;justify-content:flex-end}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.crm-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;margin-bottom:14px;display:grid}.crm-filters>.field{min-width:0}.crm-filters>select{max-width:230px}.crm-viewbar{flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 15px;display:flex}.crm-viewbar>select{width:180px;height:32px;font-size:11px}.crm-viewbar .button{margin-left:auto}.crm-viewbar .check-row{font-size:11px}.view-toggle{justify-content:flex-end;align-items:center;gap:5px;height:37px;display:flex}.view-toggle .icon-button{width:34px;height:34px}.view-toggle .selected{color:#fff;background:#34383e;border-color:#666c75}.row-action-select{background:#222528;border-color:#353a40;width:110px;height:29px;padding:0 7px;font-size:10px}.work-toolbar{flex-wrap:wrap;align-items:flex-end;gap:15px;margin-bottom:16px;display:flex}.work-toolbar>.field{min-width:170px;max-width:250px}.work-toolbar>.check-row{min-height:37px}.work-toolbar>.button{margin-left:auto}.page-tabs{border-bottom:1px solid var(--border);gap:20px;margin:24px 0 18px;display:flex}.page-tabs button{color:#8f98a5;background:0 0;border:0;border-bottom:2px solid #0000;height:38px;padding:0 0 11px;font-size:12px}.page-tabs button.active{color:#ebedf1;border-bottom-color:#c4cbd4}.record-summary{border:1px solid var(--border);background:var(--surface);color:#a6aeb9;border-radius:7px;flex-wrap:wrap;align-items:center;gap:16px;padding:13px 16px;font-size:11px;display:flex}.record-summary strong{color:#e0e5ec;margin-left:auto}.record-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:start;gap:18px;margin-bottom:24px;display:grid}.record-grid>section{min-width:0}.record-notes{border-top:1px solid var(--border);margin-top:20px;padding-top:17px}.record-notes h3{margin-bottom:7px;font-size:12px}.record-notes p{color:#afb7c2;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.timeline-note{border-bottom:1px solid var(--border);flex-direction:column;align-items:flex-end;gap:9px;padding:15px 18px;display:flex}.timeline-note .field{width:100%}.timeline-note textarea{height:72px}.timeline{max-height:390px;padding:18px;overflow-y:auto}.timeline article{gap:12px;padding-bottom:20px;display:flex;position:relative}.timeline article:last-child{padding-bottom:0}.timeline article:not(:last-child):before{content:"";background:#3a4049;width:1px;position:absolute;top:10px;bottom:0;left:3px}.timeline strong{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.timeline p{color:#7d8795;margin-top:5px;font-size:10px}.timeline-dot{background:#a2abb7;border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-top:6px;position:relative}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.date-select{width:150px;height:34px;font-size:11px}.kanban-toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:13px;padding:13px 15px;display:flex}.kanban-toolbar .field{width:250px;max-width:100%}.kanban-board{overscroll-behavior-x:contain;align-items:stretch;gap:12px;max-width:100%;padding-bottom:14px;display:flex;overflow-x:auto}.kanban-column{border:1px solid var(--border);background:#17191b;border-radius:7px;flex:0 0 225px;min-width:0;padding:13px}.kanban-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.kanban-heading h2{font-size:12px}.kanban-column>p{font-size:10px}.kanban-cards{flex-direction:column;gap:10px;margin-top:16px;display:flex}.kanban-card{background:#222528;border:1px solid #353b43;border-radius:6px;padding:13px;font-size:11px}.kanban-card>a{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.kanban-card>p{color:#8993a1;overflow-wrap:anywhere;margin:5px 0 17px;font-size:10px}.kanban-card .row{font-size:10px}.kanban-card-footer{color:#969fac;border-top:1px solid #353a42;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding-top:9px;font-size:9px;display:flex}.kanban-card-footer button{padding:5px 0;font-size:10px}.kanban-empty{text-align:center;color:#687280;padding:24px 0;font-size:11px}@media (max-width:1000px){.record-grid{grid-template-columns:1fr}.crm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.view-toggle{justify-content:flex-start}.record-summary strong{margin-left:0}}@media (max-width:760px){.record-summary{gap:10px;padding:12px;font-size:10px}.record-grid{gap:15px}.crm-viewbar{gap:12px}.crm-viewbar .button{margin-left:0}.crm-viewbar>select{width:155px}.crm-filters{gap:10px}.work-toolbar{gap:12px}.work-toolbar>.field{min-width:145px;max-width:190px}.work-toolbar>.button{font-size:11px}.kanban-toolbar{flex-direction:column;align-items:flex-start;gap:8px}.kanban-column{flex-basis:215px}.page-tabs{gap:17px}.page-tabs button{font-size:11px}.timeline-note{padding:13px}.timeline{padding:15px}.date-select{width:127px;font-size:10px}.page-header h1{overflow-wrap:anywhere}.header-actions{flex-shrink:0;max-width:52%}.header-actions>.button{white-space:normal;height:auto;min-height:34px;padding-block:7px}}.panel-content{padding:16px}.panel-actions{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;padding:12px 16px;display:flex}.callback-url{background:var(--bg);overflow-wrap:anywhere;border:1px solid var(--border);border-radius:6px;padding:12px;font-size:11px;display:block}.record-facts{grid-template-columns:minmax(130px,.7fr) minmax(0,1fr);gap:13px;margin:0;padding:16px;font-size:12px;display:grid}.record-facts dt{color:var(--muted)}.record-facts dd{overflow-wrap:anywhere;margin:0}.template-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.template-card{flex-direction:column;gap:14px;padding:16px;display:flex}.template-card p,.template-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.template-preview{background:var(--bg);border:1px solid var(--border);border-radius:6px;margin:0;padding:12px}.form-section-title{border-top:1px solid var(--border);padding-top:15px;font-size:12px;font-weight:600}.inbox-layout{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px;display:grid}.inbox-sidebar{overflow:hidden}.inbox-filters{border-bottom:1px solid var(--border);padding:14px}.conversation-list{min-height:260px;max-height:calc(100vh - 340px);overflow-y:auto}.conversation-item{border-bottom:1px solid var(--border);flex-direction:column;gap:7px;padding:15px;font-size:12px;display:flex}.conversation-item:last-child{border-bottom:none}.conversation-item>span:not(:first-child){color:var(--muted)}.conversation-item.selected,.conversation-item:hover{background:var(--hover)}.conversation-item.selected{box-shadow:inset 3px 0 #b5bbc2}.conversation-item strong{text-overflow:ellipsis;white-space:nowrap;max-width:175px;overflow:hidden}.inbox-placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:550px;padding:24px;display:flex}.conversation-panel{min-width:0;overflow:hidden}.conversation-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.conversation-header h2{font-size:15px}.conversation-header p{color:var(--muted);margin:5px 0 0;font-size:11px}.conversation-header .row{flex-wrap:wrap}.conversation-context{background:var(--bg);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:11px;display:flex}.consent-state{color:var(--muted);margin-left:auto}.chat-messages{scroll-behavior:auto;flex-direction:column;gap:12px;height:clamp(320px,45vh,650px);padding:18px;display:flex;overflow-y:auto}.chat-message{border:1px solid var(--border);background:var(--bg);border-radius:8px;flex-direction:column;align-self:flex-start;gap:7px;max-width:85%;padding:11px 13px;display:flex}.chat-message.outbound{background:#2b2e32;align-self:flex-end}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.message-meta{color:var(--muted);flex-wrap:wrap;gap:9px;font-size:10px;display:flex}.message-status.read,.message-status.delivered{color:#d5d9de}.message-error{color:#e6b7b7;overflow-wrap:anywhere;margin:0;font-size:10px}.message-composer{border-top:1px solid var(--border);padding:15px}.composer-toolbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.composer-toolbar .field{max-width:190px}.composer-disabled{background:var(--bg);color:var(--muted);border-top:1px solid var(--border);padding:16px;font-size:12px}.history-pages{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 16px;display:flex}.mobile-conversation-back{display:none}.recipient-choice{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:12px 16px;font-size:12px;display:flex}.recipient-choice span{flex-direction:column;gap:4px;display:flex}.recipient-choice small{color:var(--muted)}@media (max-width:1100px){.inbox-layout{grid-template-columns:260px minmax(0,1fr)}.conversation-header .row{gap:6px}}@media (max-width:760px){.inbox-layout{display:block}.inbox-placeholder,.inbox-layout.conversation-selected .inbox-sidebar{display:none}.conversation-list{min-height:240px;max-height:none}.conversation-item strong{max-width:220px}.mobile-conversation-back{margin-bottom:12px;display:flex}.conversation-header{align-items:flex-start}.conversation-header>.row{width:100%}.conversation-context{gap:8px}.consent-state{width:100%;margin-left:0}.chat-messages{height:42vh;min-height:300px;padding:12px}.chat-message{max-width:94%}.message-composer>.row{flex-wrap:wrap;gap:10px}.composer-toolbar{flex-wrap:wrap;align-items:flex-start;gap:8px}.record-facts{grid-template-columns:1fr 1fr;gap:12px}.template-grid{grid-template-columns:minmax(0,1fr)}}.notification-trigger{position:relative}.notification-count{color:#151618;background:#d6d9de;border-radius:8px;min-width:15px;height:15px;padding:0 3px;font-size:9px;font-weight:600;line-height:15px;position:absolute;top:-4px;right:-4px}.notification-item{border:1px solid var(--border);border-radius:6px;flex-direction:column;gap:9px;padding:15px;font-size:12px;display:flex}.notification-item.unread{border-left:3px solid #c1c5cc}.notification-item p{color:var(--muted);overflow-wrap:anywhere;margin:0}.attachment-controls{flex-wrap:wrap;gap:9px;font-size:11px;display:flex}.private-media-preview{object-fit:contain;border-radius:5px;max-width:100%;max-height:320px}.attachment-controls audio{max-width:100%}.visit-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;display:grid}.visit-layout>.panel{min-width:0;padding:20px}.visit-history,.visit-meeting-report,.visit-report{padding:20px}.visit-meeting-report .badge{align-self:flex-start}.visit-layout .mini-row{flex-wrap:wrap;gap:8px}.visit-photo{border-radius:8px;width:100%;height:auto;display:block}@media (max-width:820px){.visit-layout{grid-template-columns:minmax(0,1fr)}}.row.wrap{flex-wrap:wrap}.visit-meeting-report,.visit-history{margin-top:20px}.commercial-filter{max-width:260px;margin-bottom:18px}.commercial-filters{flex-wrap:wrap;gap:16px;margin-bottom:18px;display:flex}.commercial-filters .field{min-width:180px}.commercial-panel{overflow-wrap:anywhere;padding:20px}.finance-metrics .metric{min-width:0}.finance-metrics .metric strong{overflow-wrap:anywhere}.commercial-parties{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.commercial-parties>.panel{overflow-wrap:anywhere;min-width:0}.commercial-meta{color:var(--muted);flex-wrap:wrap;gap:12px 24px;margin:0 0 20px;font-size:12px;display:flex}.commercial-line{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:14px;min-width:0;margin:0;padding:16px;display:flex}.commercial-line legend{color:var(--muted);padding:0 7px;font-size:12px}.commercial-pricing-details summary{color:var(--muted);cursor:pointer;margin-bottom:12px;font-size:12px}.commercial-pricing-details[open] summary{margin-bottom:14px}.commercial-totals{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;max-width:570px;margin-left:auto;padding:20px;font-size:13px;display:grid}.commercial-totals strong{text-align:right;overflow-wrap:anywhere}.commercial-totals strong:last-child{font-size:18px}.commercial-description{white-space:pre-wrap;overflow-wrap:anywhere;min-width:180px;max-width:300px;color:var(--muted);font-size:12px}.commercial-history{align-items:flex-start;gap:16px}.commercial-history>div{overflow-wrap:anywhere;min-width:0}.commercial-history>span{flex-shrink:0}@media (max-width:700px){.commercial-parties{grid-template-columns:minmax(0,1fr)}.commercial-totals{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px}.commercial-history{flex-direction:column;gap:6px}.commercial-filters .field{flex:1;min-width:0}.commercial-panel{padding:16px}}.commercial-panel h2{margin-bottom:10px}.commercial-panel>p{margin:6px 0}
