@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-color:beige;--bg-gradient:radial-gradient(circle at top right, #fdf5e6, #efebd8);--surface:#ffffff85;--surface-strong:#fff;--surface-bg:#fff;--surface-border:#00000014;--surface-hover:#ffffffe0;--surface-chrome:#ffffffd9;--surface-control:#ffffffdb;--surface-control-hover:#fff;--surface-soft:#fffdf79e;--surface-faint:#ffffff5c;--surface-muted:#ffffff80;--surface-popover:#fffdf7f5;--surface-chip:#fffdf7c7;--chrome-border:#ffffffc2;--chrome-bg:linear-gradient(180deg, #fffffff0, #faf5e9d1);--chrome-shadow:0 10px 22px #2b23161f, inset 0 1px 0 #ffffffc7;--chrome-shadow-hover:0 12px 26px #2b231629, inset 0 1px 0 #ffffffd6;--border-soft:#3a31231c;--border-strong:#3a31232e;--neutral-hover:#3a31230f;--inset-highlight:inset 0 1px 0 #ffffffb8;--scrollbar-track:#ffffff57;--overlay-backdrop:#00000026;--danger-soft-bg:#fff1f2e6;--warning-soft-bg:#fff7ede6;--switch-track:#cbd5e1;--switch-thumb:#fff;--on-accent:#fff;--text-primary:#000;--text-secondary:#333;--muted:#6b7280;--accent:#2563eb;--accent-glow:#2563eb2e;--accent-soft:#2563eb1a;--accent-hover:#1d4ed8;--danger:#e11d48;--success:#059669;--warning:#d97706;--contact-phone:#059669;--contact-phone-hover:#047857;--contact-source:#7c3aed;--contact-source-hover:#6d28d9;--shadow:0 4px 24px -1px #0003;--shadow-soft:0 8px 32px -1px #0000002e;--shadow-popover:0 24px 48px #0000001a;--field-bg:#fffdf7eb;--field-bg-hover:#fff;--field-border:#3a312321;--field-shadow:0 1px 2px #0f172a08, inset 0 1px 0 #ffffffb8;--table-row-bg:#ffffffad;--table-row-hover:#fff;--table-header-bg:#fffdf7b8;--table-row-shadow:0 8px 22px #211e150d;--font-sans:"Geist Variable", Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}:root[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-color:#111827;--bg-gradient:radial-gradient(circle at top right, #1f2937, #0f172a);--surface:#111827b8;--surface-strong:#111827;--surface-bg:#111827;--surface-border:#ffffff1f;--surface-hover:#1f2937e6;--surface-chrome:#0f172ae6;--surface-control:#1e293bc7;--surface-control-hover:#334155f0;--surface-soft:#1e293b9e;--surface-faint:#1e293b7a;--surface-muted:#1e293b94;--surface-popover:#0f172afa;--surface-chip:#1e293bbd;--chrome-border:#ffffff1f;--chrome-bg:linear-gradient(180deg, #1e293bf5, #0f172ae6);--chrome-shadow:0 12px 28px #00000047, inset 0 1px 0 #ffffff0f;--chrome-shadow-hover:0 16px 34px #00000057, inset 0 1px 0 #ffffff1a;--border-soft:#ffffff1c;--border-strong:#94a3b847;--neutral-hover:#94a3b81f;--inset-highlight:inset 0 1px 0 #ffffff0f;--scrollbar-track:#0f172a94;--overlay-backdrop:#020617ad;--danger-soft-bg:#e11d4824;--warning-soft-bg:#d9770624;--switch-track:#475569;--switch-thumb:#f8fafc;--text-primary:#f9fafb;--text-secondary:#cbd5e1;--muted:#94a3b8;--accent:#38bdf8;--accent-glow:#38bdf838;--accent-soft:#38bdf824;--accent-hover:#0ea5e9;--danger:#fb7185;--success:#34d399;--warning:#fbbf24;--contact-phone:#34d399;--contact-phone-hover:#6ee7b7;--contact-source:#c4b5fd;--contact-source-hover:#ddd6fe;--shadow:0 20px 45px #00000047;--field-bg:#0f172ab8;--field-bg-hover:#1e293be0;--field-border:#ffffff21;--field-shadow:inset 0 1px 0 #ffffff0f;--table-row-bg:#0f172aa3;--table-row-hover:#1e293bdb;--table-header-bg:#0f172a9e;--table-row-shadow:0 8px 22px #0000002e}:root[data-theme=clarity]{--bg-color:#eef2f7;--bg-gradient:linear-gradient(135deg, #f8fafc, #e5e7eb);--surface:#ffffffd6;--surface-strong:#fff;--surface-bg:#fff;--surface-border:#0f172a1a;--surface-hover:#fff;--surface-chrome:#ffffffe6;--surface-control:#ffffffeb;--surface-control-hover:#fff;--surface-soft:#f8fafce0;--surface-faint:#f8fafcb8;--surface-muted:#f8fafcc2;--surface-popover:#fffffffa;--surface-chip:#f8fafce6;--chrome-border:#0f172a1a;--chrome-bg:linear-gradient(180deg, #fffffff5, #f8fafce6);--chrome-shadow:0 10px 22px #0f172a1a, inset 0 1px 0 #ffffffd1;--chrome-shadow-hover:0 12px 26px #0f172a24, inset 0 1px 0 #ffffffe0;--border-soft:#0f172a1a;--border-strong:#0f172a33;--neutral-hover:#0f172a0f;--inset-highlight:inset 0 1px 0 #ffffffb8;--scrollbar-track:#e2e8f0b8;--overlay-backdrop:#0f172a47;--danger-soft-bg:#fff1f2f0;--warning-soft-bg:#fff7edf0;--switch-track:#cbd5e1;--switch-thumb:#fff;--text-primary:#0f172a;--text-secondary:#334155;--muted:#64748b;--accent:#0f766e;--accent-glow:#0f766e33;--accent-soft:#0f766e1f;--accent-hover:#115e59;--field-bg:#ffffffeb;--field-bg-hover:#fff;--field-border:#0f172a1f;--field-shadow:0 1px 2px #0f172a08, inset 0 1px 0 #ffffffb8;--table-row-bg:#ffffffbd;--table-row-hover:#fff;--table-header-bg:#f8fafcd1;--table-row-shadow:0 8px 22px #0f172a0d}*{box-sizing:border-box}:root{font-family:var(--font-sans)}body{background:var(--bg-gradient);min-height:100vh;color:var(--text-primary);-webkit-font-smoothing:antialiased;scrollbar-color:color-mix(in srgb, var(--accent) 62%, transparent) var(--scrollbar-track);scrollbar-width:thin;background-attachment:fixed;margin:0;font-family:inherit;font-size:1rem;line-height:1.5;overflow-x:hidden}button,input,select,textarea,option{font:inherit}*{scrollbar-color:color-mix(in srgb, var(--accent) 62%, transparent) var(--scrollbar-track);scrollbar-width:thin}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--scrollbar-track);border-radius:999px}::-webkit-scrollbar-thumb{border:3px solid var(--scrollbar-track);background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 76%, transparent), #64748b75);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg, var(--accent), #475569b8)}.login-screen{background:linear-gradient(135deg, #0f766e24, #d977061a 42%, #2563eb1f), var(--bg-gradient);justify-content:center;align-items:center;min-height:100vh;padding:clamp(24px,4vw,56px);display:flex}.login-shell{grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr);align-items:stretch;gap:24px;width:min(100%,1160px);display:grid}.login-screen-clean{background:linear-gradient(180deg, #f8fafcf5, #eef2f7eb), var(--bg-gradient);padding:clamp(18px,4vw,48px)}.login-shell-clean{width:min(100%,540px);display:block}.login-hero,.login-panel{border:1px solid var(--surface-border);border-radius:8px}.login-hero{color:#f8fafc;background:linear-gradient(145deg,#11352efa,#16252df5 52%,#53331bf0),#11352e;align-content:space-between;gap:32px;min-width:0;min-height:640px;padding:clamp(28px,5vw,56px);display:grid;overflow:hidden;box-shadow:0 28px 70px #20231c2e}.login-brand-row{letter-spacing:0;align-items:center;gap:12px;font-size:1.05rem;font-weight:800;display:flex}.login-mark{color:#0f766e;background:#0f766e1f;border-radius:8px;flex:none;place-items:center;width:54px;height:54px;display:grid;box-shadow:inset 0 1px #ffffff8c}.login-hero .login-mark{color:#f6d58a;background:#ffffff1f;box-shadow:inset 0 1px #ffffff2e}.login-copy{gap:8px;min-width:0;display:grid}.login-copy h1,.login-copy h2{color:var(--text-primary);letter-spacing:0;overflow-wrap:anywhere;font-size:clamp(1.7rem,3vw,2.35rem);font-weight:760;line-height:1.12}.login-copy h2{font-size:clamp(1.35rem,2vw,1.72rem)}.login-copy p{max-width:58ch;color:var(--text-secondary)}.login-copy-hero{gap:14px;min-width:0;max-width:620px}.login-copy-hero h1{color:#fff;font-size:clamp(2.6rem,5.4vw,4.8rem);line-height:1}.login-copy-hero p{color:#f8fafcc7;font-size:1.04rem}.login-eyebrow{color:#0f766e;text-transform:uppercase;font-size:.76rem;font-weight:850}.login-hero .login-eyebrow{color:#f6d58a}.auth-product-preview{background:#ffffff14;border:1px solid #ffffff21;border-radius:8px;gap:14px;min-width:0;max-width:620px;padding:18px;display:grid;box-shadow:inset 0 1px #ffffff1a}.preview-topbar,.preview-metrics,.preview-list div,.login-proof-list{align-items:center;display:flex}.preview-topbar{color:#f8fafcb8;justify-content:space-between;min-width:0;font-size:.85rem;font-weight:800}.preview-topbar strong{color:#f6d58a;font-size:1.4rem}.preview-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;display:grid}.preview-metrics div,.preview-list div{background:#ffffff14;border:1px solid #ffffff1f;border-radius:8px}.preview-metrics div{gap:2px;padding:12px;display:grid}.preview-metrics strong{color:#fff;font-size:1.35rem}.preview-metrics span,.preview-list small{color:#f8fafc9e;font-size:.78rem;font-weight:700}.preview-list{gap:8px;min-width:0;display:grid}.preview-list div{grid-template-columns:10px minmax(0,1fr) auto;gap:10px;min-height:42px;padding:10px 12px;display:grid}.preview-list div>span{background:#f6d58a;border-radius:999px;width:9px;height:9px}.preview-list strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.login-proof-list{flex-wrap:wrap;gap:10px}.login-proof-list span{color:#f8fafcc7;background:#ffffff12;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:7px 10px;font-size:.82rem;font-weight:750;display:inline-flex}.login-proof-list svg{color:#f6d58a}.login-panel{-webkit-backdrop-filter:blur(18px);background:#fffc;align-content:start;gap:22px;width:100%;min-width:0;padding:clamp(24px,3vw,34px);display:grid;box-shadow:0 24px 70px #1f221d24}.login-panel-clean{-webkit-backdrop-filter:none;background:#fff;gap:24px;padding:clamp(26px,4vw,42px);box-shadow:0 18px 48px #0f172a1a}:root[data-theme=midnight] .login-panel{background:#0f172ad6}:root[data-theme=midnight] .login-screen-clean{background:var(--bg-gradient)}:root[data-theme=midnight] .login-panel-clean{background:#0f172af0}.login-brand-minimal{color:var(--text-primary);align-items:center;gap:10px;font-size:1rem;font-weight:800;display:inline-flex}.login-brand-minimal span{background:var(--accent);color:#fff;border-radius:8px;place-items:center;width:34px;height:34px;font-weight:850;display:grid}.auth-panel-header{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;display:grid}.auth-panel-header.auth-panel-header-copy-only{grid-template-columns:minmax(0,1fr)}.auth-panel-mark{width:48px;height:48px;color:var(--accent);background:var(--accent-glow)}.login-form{gap:14px;display:grid}.login-form label{min-width:0;color:var(--text-secondary);gap:7px;font-size:.88rem;font-weight:760;display:grid}.login-field>span{align-items:center;gap:7px;display:inline-flex}.login-field svg{color:var(--accent)}.login-form input,.login-form select{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:48px;color:var(--text-primary);box-shadow:var(--field-shadow);border-radius:8px;padding:12px 13px;transition:border-color .18s,box-shadow .18s,background .18s}.login-form input:hover,.login-form select:hover{background:var(--field-bg-hover)}.login-form input:focus,.login-form select:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-glow), var(--field-shadow);outline:none}.login-form select{cursor:pointer}.login-form button,.logout-action{letter-spacing:0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:800;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex}.login-form button{background:linear-gradient(135deg, #0f766e 0%, var(--accent) 100%);color:#fff;min-height:48px;margin-top:2px;padding:0 16px;box-shadow:0 12px 22px #0f766e33}.login-submit{justify-content:space-between}.login-form button:hover:not(:disabled){background:linear-gradient(135deg, #115e59 0%, var(--accent-hover) 100%);transform:translateY(-1px);box-shadow:0 16px 28px #0f766e42}.login-form button:disabled{cursor:not-allowed;opacity:.62}.login-error{color:var(--danger);background:#e11d4817;border:1px solid #e11d482e;border-radius:8px;padding:11px 12px;font-size:.88rem;font-weight:750}@media (width<=980px){.login-shell{grid-template-columns:1fr}.login-hero{min-height:auto}}@media (width<=640px){.login-screen{align-items:stretch;padding:14px}.login-screen-clean{align-items:center}.login-shell{gap:14px}.login-hero,.login-panel{padding:20px}.login-copy-hero h1{font-size:2.05rem;line-height:1.08}.preview-metrics,.preview-list div{grid-template-columns:1fr}.preview-list div{align-items:start}}button,input,select,textarea{font:inherit}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}button{cursor:pointer}h1,h2,h3,p{margin:0}h1,h2,h3,h4{color:var(--text-primary);letter-spacing:0;font-weight:600}.app-layout{--shell-inline-gutter:48px;--shell-title-start-closed:56px;background:var(--bg-gradient);height:100vh;min-height:100vh;display:flex;overflow:hidden}.skip-link{z-index:100001;border:1px solid var(--chrome-border);background:var(--surface-strong);color:var(--text-primary);box-shadow:var(--shadow-popover);border-radius:9px;padding:10px 14px;font-weight:700;transition:transform .16s;position:fixed;top:8px;left:50%;transform:translate(-50%,-200%)}.skip-link:focus{outline:3px solid var(--accent-glow);outline-offset:2px;transform:translate(-50%)}.menu-toggle{border:1px solid var(--chrome-border);background:var(--chrome-bg);width:34px;height:34px;color:var(--text-primary);box-shadow:var(--chrome-shadow);-webkit-backdrop-filter:blur(16px);z-index:130;border-radius:7px;place-items:center;transition:left .24s,color .2s,transform .2s,box-shadow .2s;display:grid;position:fixed;top:16px;left:231px}.menu-closed .menu-toggle{left:10px}.menu-toggle:hover{color:var(--accent);box-shadow:var(--chrome-shadow-hover);transform:translateY(-1px)scale(1.02)}.menu-toggle:focus-visible{outline:3px solid var(--accent-glow);outline-offset:3px}.sidebar{border-right:1px solid var(--surface-border);background:var(--surface-chrome);-webkit-backdrop-filter:blur(24px);z-index:100;flex-direction:column;gap:0;width:280px;height:100vh;padding:24px 20px;transition:box-shadow .2s,transform .24s;display:flex;position:fixed;top:0;left:0;transform:none;box-shadow:4px 0 32px #0000001a}.menu-closed .sidebar{transform:translate(-100%)}.sidebar:hover,.sidebar:focus-within{transform:none}.menu-closed .sidebar:hover,.menu-closed .sidebar:focus-within{transform:translate(-100%)}.nav-menu{opacity:1;flex-direction:column;flex:1;gap:3px;padding-top:44px;transition:opacity .16s,visibility .16s;display:flex}.menu-closed .nav-menu{pointer-events:none;visibility:hidden;opacity:0}.sidebar-session-actions{border-top:1px solid var(--surface-border);opacity:1;padding-top:14px;transition:opacity .16s,visibility .16s}.menu-closed .sidebar-session-actions{pointer-events:none;visibility:hidden;opacity:0}.nav-link{width:100%;color:var(--text-secondary);text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;padding:9px 12px;font-size:.92rem;font-weight:500;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex}.nav-link:hover{background:var(--surface-control-hover);color:var(--text-primary);transform:translate(4px);box-shadow:0 4px 16px #0000000a}.nav-link.active{background:linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);color:var(--on-accent);box-shadow:0 8px 24px var(--accent-glow)}.nav-icon-wrapper{display:inline-flex}.nav-separator{background:var(--surface-border);width:100%;height:1px;margin:8px 0}.sidebar-logout-action{color:#e11d48;background:#dc262614;border:1px solid #dc26262e;border-radius:10px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:42px;font-weight:740;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.sidebar-logout-action:hover{color:#be123c;background:#dc262624;border-color:#dc262659;transform:translateY(-1px)}.main-content{min-width:0;height:100vh;padding:24px var(--shell-inline-gutter);background:0 0;flex:1;margin-left:280px;transition:margin-left .24s;overflow-y:auto;container-type:inline-size}.menu-closed .main-content{margin-left:0}.menu-closed .topbar>:first-child,.menu-closed .page-title-group{margin-left:calc(var(--shell-title-start-closed) - var(--shell-inline-gutter))}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.eyebrow{color:var(--muted);text-transform:uppercase;font-size:.8rem;font-weight:700;display:block}.shell-page-title{letter-spacing:0;margin:0;font-size:1.72rem;font-weight:760;line-height:1.1}.topbar-summary-group{justify-content:flex-end;align-items:stretch;gap:10px;display:flex}.topbar-summary-card{border:1px solid var(--border-soft);background:var(--chrome-bg);min-height:76px;box-shadow:var(--chrome-shadow);text-align:center;border-radius:8px;align-content:center;justify-items:center;gap:6px;padding:13px 17px;display:grid}.topbar-summary-card.compact{min-width:164px}.topbar-summary-card.prominent{min-width:300px}.topbar-summary-card span{color:var(--text-secondary);text-transform:uppercase;font-size:.74rem;font-weight:760}.topbar-summary-card strong{color:var(--text-primary);font-size:1.65rem;font-weight:880;line-height:1}.topbar-summary-card.prominent strong{font-size:1.9rem}.topbar-actions{align-items:center;gap:12px;display:flex}.select-control{color:var(--muted);gap:4px;font-size:.78rem;font-weight:700;display:grid}.select-control select{border:1px solid var(--surface-border);background:var(--surface-control);min-width:250px;color:var(--text-primary);border-radius:10px;padding:9px 10px}.theme-toggle{border:1px solid var(--surface-border);background:var(--surface);-webkit-backdrop-filter:blur(12px);border-radius:12px;gap:4px;padding:4px;display:flex}.theme-toggle button{width:34px;height:34px;color:var(--text-secondary);background:0 0;border:0;border-radius:9px;place-items:center;transition:all .2s;display:grid}.theme-toggle button.active{background:var(--surface-strong);color:var(--accent);box-shadow:0 4px 12px #0f172a14}.theme-toggle button:hover{color:var(--text-primary)}.logout-action{color:#fb7185;background:#dc26261a;width:100%;min-height:42px;padding:0 13px}.logout-action:hover{color:var(--on-accent);background:#fb7185;transform:translateY(-2px);box-shadow:0 4px 12px #dc26264d}.workspace{width:100%;max-width:1400px;margin:0 auto}.settings-page{gap:18px;display:grid}.admin-settings-toolbar{min-width:0;height:0;position:relative}.glass-panel.admin-account-summary{width:min(590px,100% - 600px);min-height:70px;box-shadow:var(--field-shadow);border-radius:12px;grid-template-columns:minmax(142px,.75fr) minmax(280px,1.35fr);align-items:center;gap:18px;padding:10px 16px;display:grid;position:absolute;top:-70px;left:245px}.admin-account-identity{gap:1px;min-width:0;display:grid}.admin-account-identity h2{margin-bottom:2px;font-size:.76rem;font-weight:760}.admin-account-identity strong{color:var(--text-primary);font-size:.92rem;font-weight:760}.admin-account-identity span{color:var(--muted);font-size:.7rem;font-weight:700}.admin-account-details{grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:18px;margin:0;display:grid}.admin-account-details div{gap:2px;min-width:0;display:grid}.admin-account-details dt{color:var(--muted);font-size:.68rem;font-weight:760}.admin-account-details dd{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;font-weight:560;overflow:hidden}.admin-settings-actions{justify-content:flex-end;align-items:center;gap:28px;display:flex;position:absolute;top:-60px;right:0}.admin-settings-toolbar>*{min-width:0}.settings-theme-toggle.admin-theme-controls{background:var(--surface-control);width:auto;box-shadow:var(--field-shadow);border-radius:12px;grid-template-columns:repeat(3,54px);gap:0;padding:0;overflow:hidden}.settings-theme-toggle.admin-theme-controls button{border-radius:0;width:54px;height:52px;padding:0}.settings-theme-toggle.admin-theme-controls button+button{border-left:1px solid var(--surface-border)}.settings-theme-toggle.admin-theme-controls button span{display:none}.admin-logout-action{border:1px solid var(--surface-border);background:var(--surface-control);width:auto;min-height:52px;box-shadow:var(--field-shadow);border-radius:12px;gap:9px;padding:0 20px;font-size:.92rem;font-weight:760}.settings-page-header{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-kicker{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:800;display:block}.settings-page-header h2{margin-top:3px;font-size:1.35rem}.settings-overview-grid{grid-template-columns:minmax(260px,1.05fr) minmax(280px,1.25fr) minmax(260px,1fr) minmax(220px,.85fr);gap:14px;display:grid}.agent-settings-grid{grid-template-columns:minmax(260px,1.1fr) minmax(280px,1.2fr) minmax(260px,1fr) minmax(220px,.85fr)}.settings-panel{align-content:start;gap:16px;padding:18px;display:grid}.settings-panel-header{align-items:center;gap:10px;display:flex}.settings-panel-header h2{font-size:1rem}.settings-panel-icon{width:34px;height:34px;color:var(--accent);background:#2563eb1a;border-radius:8px;place-items:center;display:grid}.international-settings-panel{min-width:0}.agent-settings-grid .international-settings-panel{grid-column:span 2}.agency-admin-page>.international-settings-panel{width:min(920px,100%)}.international-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;display:grid}.international-setting-control,.international-setting-value{align-content:start;gap:7px;min-width:0;display:grid}.international-setting-control>span,.international-setting-value>span{color:var(--muted);align-items:center;gap:7px;font-size:.76rem;font-weight:800;display:inline-flex}.international-setting-control select{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:42px;color:var(--text-primary);border-radius:8px;padding:9px 11px;font-weight:700}.international-setting-control select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow);outline:none}.international-setting-control small,.international-settings-note,.international-settings-status{color:var(--muted);font-size:.76rem;font-weight:650}.international-setting-value strong{min-height:42px;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;align-items:center;font-size:.9rem;display:flex;overflow:hidden}.international-settings-note{margin:0}.account-identity{align-items:center;gap:12px;min-width:0;display:flex}.account-avatar{background:var(--accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid}.account-identity strong,.agency-summary-main strong{color:var(--text-primary);font-size:1rem;display:block}.account-identity span,.agency-summary-main span{color:var(--muted);font-size:.84rem;font-weight:700}.settings-detail-list{gap:9px;margin:0;display:grid}.settings-detail-list div{gap:2px;min-width:0;display:grid}.settings-detail-list dt{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:800}.settings-detail-list dd{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.88rem;font-weight:700;overflow:hidden}.settings-theme-toggle{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid}.settings-theme-toggle button{justify-content:center;align-items:center;gap:7px;width:100%;height:40px;padding:0 10px;display:inline-flex}.settings-theme-toggle button span{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:800;overflow:hidden}.session-panel{align-content:space-between}.session-note{color:var(--muted);align-items:center;gap:7px;font-size:.82rem;font-weight:700;display:flex}.agency-summary-main{gap:2px;display:grid}.settings-metric-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.settings-metric-list.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-metric-list div{border:1px solid var(--surface-border);background:var(--surface-strong);min-width:0;color:var(--text-secondary);border-radius:8px;gap:4px;padding:10px;display:grid}.settings-metric-list svg{color:var(--accent)}.settings-metric-list span{color:var(--muted);font-size:.74rem;font-weight:800}.settings-metric-list strong{color:var(--text-primary);font-size:1.1rem}.agency-users-toolbar{justify-content:space-between}.agency-users-toolbar h2{font-size:1.05rem}.agency-users-toolbar p{color:var(--muted);margin-top:2px;font-size:.86rem;font-weight:600}.agency-users-toolbar .agency-seat-limit-warning{color:var(--danger)}.agency-admin-page{gap:36px;min-width:0}.workspace:has(>.agency-admin-page){max-width:none}.agency-admin-page .agency-users-panel{min-width:0;box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.agency-admin-page .agency-users-panel:hover{box-shadow:none}.agency-admin-page .agency-users-toolbar{border-top:1px solid var(--surface-border);min-width:0;min-height:94px;padding:24px 0 20px}.agency-admin-page .agency-users-toolbar h2{font-size:1.08rem}.agency-admin-page .agency-users-panel .table-shell{border:1px solid var(--surface-border);background:var(--surface-faint);border-radius:12px;padding:0;overflow-x:auto}.agency-admin-page .agency-users-table{border-collapse:collapse;border-spacing:0}.agency-admin-page .agency-users-table th,.agency-admin-page .agency-users-table td{text-align:left;padding:18px 24px}.agency-admin-page .agency-users-table th{border-bottom:1px solid var(--surface-border);background:var(--table-header-bg);color:var(--muted)}.agency-admin-page .agency-users-table td{border:0;border-bottom:1px solid var(--surface-border);background:var(--table-row-bg)}.agency-admin-page .agency-users-table tbody tr:last-child td{border-bottom:0}.agency-admin-page .agency-users-table th:first-child,.agency-admin-page .agency-users-table th:last-child,.agency-admin-page .agency-users-table td:first-child,.agency-admin-page .agency-users-table td:last-child{border-radius:0}.agency-admin-page .agency-users-table tbody tr:hover td{border-color:var(--surface-border);background:var(--table-row-hover);box-shadow:none}.agency-admin-page .agency-users-table th:first-child{width:26%}.agency-admin-page .agency-users-table th:nth-child(2){width:30%}.agency-admin-page .agency-users-table th:nth-child(3){width:27%}.agency-admin-page .agency-users-table th:nth-child(4){width:17%}@media (width<=1180px){.admin-settings-toolbar{grid-template-columns:1fr;gap:18px;height:auto;display:grid}.glass-panel.admin-account-summary{width:100%;max-width:720px;position:static}.admin-settings-actions{justify-content:flex-start;position:static}.agency-admin-page{gap:24px}}@media (width<=620px){.glass-panel.admin-account-summary{grid-template-columns:1fr;gap:20px;padding:20px}.admin-account-details{grid-template-columns:1fr;gap:16px}.admin-settings-actions{justify-content:space-between;gap:12px;width:100%}.settings-theme-toggle.admin-theme-controls{grid-template-columns:repeat(3,46px)}.settings-theme-toggle.admin-theme-controls button{width:46px}.admin-logout-action{padding:0 16px}.agency-admin-page .agency-users-toolbar{gap:16px}.agency-admin-page .agency-users-toolbar .primary-action{width:100%}.agent-settings-grid .international-settings-panel{grid-column:auto}.international-settings-grid{grid-template-columns:1fr}}.clients-page{gap:16px;display:grid}.module-toolbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.page-command-header{gap:14px;width:100cqw;margin-bottom:2px;margin-left:calc(50% - 50cqw);display:grid}.page-command-top{justify-content:space-between;align-items:end;gap:18px;display:flex}.page-title-row{justify-content:space-between;align-items:end;gap:12px;min-width:0;display:flex}.page-title-group{gap:4px;min-width:0;display:grid}.page-title-group p{color:var(--muted);margin:0;font-size:.88rem;font-weight:650}.page-command-stats{justify-content:flex-end;align-items:stretch;gap:8px;display:flex}.mobile-summary-toggle{display:none}.page-command-actions{align-items:center;gap:12px;display:flex}.page-command-actions .search-box{flex:1;min-height:52px}.page-command-actions .primary-action,.page-command-actions .secondary-action{white-space:nowrap;flex:none}.page-metric-card{border:1px solid var(--surface-border);background:var(--surface);min-width:150px;min-height:58px;color:var(--text-secondary);box-shadow:var(--field-shadow);border-radius:8px;align-content:center;gap:2px;padding:10px 14px;display:grid}.page-metric-card-wide{min-width:240px}.page-metric-card-button{font:inherit;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}.page-metric-card-button:hover,.page-metric-card-button.active{border-color:var(--border-strong);background:var(--surface-strong)}.page-metric-card-button.active{box-shadow:0 0 0 2px var(--neutral-hover), var(--field-shadow)}.page-metric-card-button.status-active.active{background:#d9770614;border-color:#d977064d}.page-metric-card span{font-size:.74rem;font-weight:720}.page-metric-card strong{color:var(--text-primary);font-size:1rem;line-height:1.15}.search-box{border:1px solid var(--field-border);background:var(--field-bg);min-height:48px;color:var(--muted);box-shadow:var(--field-shadow);border-radius:14px;flex:1;align-items:center;gap:10px;padding:0 15px;transition:all .2s;display:flex}.search-box:focus-within{border-color:var(--accent);background:var(--field-bg-hover);box-shadow:0 0 0 4px var(--accent-glow), var(--field-shadow)}.search-box input{width:100%;color:var(--text-primary);background:0 0;border:0;outline:none}.primary-action,.secondary-action{letter-spacing:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 18px;font-weight:700;transition:all .3s cubic-bezier(.16,1,.3,1);display:inline-flex}.primary-action{background:linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);color:var(--on-accent);border:0;box-shadow:0 4px 12px #2563eb40,inset 0 1px #fff3}.secondary-action{border:1px solid var(--surface-border);background:var(--surface-control);color:var(--text-primary);box-shadow:0 2px 8px #0000000a}.primary-action:hover:not(:disabled){background:linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);transform:translateY(-2px);box-shadow:0 6px 16px #2563eb59,inset 0 1px #fff3}.secondary-action:hover:not(:disabled){background:var(--surface-control-hover);border-color:var(--border-strong);transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.primary-action:active:not(:disabled),.secondary-action:active:not(:disabled){transform:translateY(1px)}.page-grid{gap:18px;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.glass-panel{background:var(--surface);border:1px solid var(--surface-border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);border-radius:16px;transition:all .3s}.glass-panel:hover{box-shadow:var(--shadow-soft)}.panel{padding:20px}.panel-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-header h2{font-size:1.1rem}.badge{min-height:24px;color:var(--accent);background:#2563eb1a;border-radius:999px;align-items:center;padding:2px 9px;font-size:.78rem;font-weight:700;display:inline-flex}.badge.success{color:var(--success);background:#0596691f}.stat-card{border:1px solid var(--surface-border);background:var(--surface-strong);border-radius:8px;justify-content:space-between;align-items:center;gap:14px;min-height:116px;padding:18px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 1px 3px #0000000d}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.stat-card span,.stat-card small{color:var(--muted);font-size:.82rem;display:block}.stat-card strong{margin:4px 0;font-size:1.75rem;display:block}.stat-icon{width:42px;height:42px;color:var(--accent);background:#2563eb1a;border-radius:8px;place-items:center;display:grid}.tone-green .stat-icon{color:var(--success);background:#0596691f}.tone-amber .stat-icon{color:var(--warning);background:#d9770624}.tone-red .stat-icon{color:var(--danger);background:#e11d481f}.content-grid{gap:18px;display:grid}.two-columns{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}@media (width<=860px){.page-command-top,.page-command-actions{flex-direction:column;align-items:stretch}.page-command-stats{justify-content:stretch;width:100%}.page-command-actions .search-box,.page-command-actions .primary-action,.page-command-actions .secondary-action{width:100%}.page-metric-card{flex:1;min-width:0}}.platform-toolbar{margin:0 0 14px}.platform-toolbar .status-dropdown-trigger{min-width:156px}.platform-row-actions{align-items:center;gap:6px;display:inline-flex}.dialog-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.dialog-summary-grid>div{border:1px solid var(--surface-border);background:var(--surface-control);border-radius:8px;gap:4px;padding:12px;display:grid}.dialog-summary-grid span,.dialog-list-row span{color:var(--text-secondary);font-size:.78rem;font-weight:700}.dialog-summary-grid strong,.dialog-list-row strong{color:var(--text-primary)}.dialog-list{gap:10px;margin-top:18px;display:grid}.dialog-list h3{align-items:center;gap:8px;margin:0;font-size:.95rem;display:inline-flex}.dialog-list-row{border-bottom:1px solid var(--surface-border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.dialog-list-row>div{gap:2px;min-width:0;display:grid}.table-shell{width:100%;padding:0 14px 14px;overflow:auto}table{border-collapse:separate;border-spacing:0 8px;width:100%;min-width:620px;font-size:.9rem}th,td{text-align:center;vertical-align:middle;border-bottom:0;padding:13px 12px}th{background:var(--table-header-bg);color:var(--text-primary);letter-spacing:0;text-transform:uppercase;font-size:.76rem;font-weight:760}td{border-top:1px solid var(--field-border);border-bottom:1px solid var(--field-border);background:var(--table-row-bg);color:var(--text-secondary);font-size:.9rem;font-weight:500;transition:background .18s,border-color .18s,box-shadow .18s}tbody tr:hover td{background:var(--table-row-hover);box-shadow:var(--table-row-shadow);border-color:#2563eb2e}th:first-child,td:first-child{padding-left:16px}thead th:first-child{border-radius:12px 0 0 12px}thead th:last-child{border-radius:0 12px 12px 0}tbody td:first-child{border-left:1px solid var(--field-border);border-radius:12px 0 0 12px}th:last-child,td:last-child{padding-right:16px}tbody td:last-child{border-right:1px solid var(--field-border);border-radius:0 12px 12px 0}tbody tr.important-row td{background:var(--warning-soft-bg);border-color:#d9770633}.table-primary{color:var(--text-primary);font-weight:650}.icon-cell-action{box-sizing:border-box;background:var(--surface-faint);width:36px;height:36px;color:var(--muted);vertical-align:middle;border:1px solid #0000;border-radius:10px;flex:0 0 36px;place-items:center;padding:0;line-height:1;text-decoration:none;transition:transform .18s,border-color .18s,background .18s,color .18s,box-shadow .18s;display:inline-grid}.icon-cell-action:hover{border-color:var(--field-border);background:var(--field-bg-hover);color:var(--accent);transform:translateY(-1px);box-shadow:0 8px 18px #0f172a14}.icon-cell-action.client-important-toggle,.icon-cell-action.client-important-toggle:hover{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s}.icon-cell-action.client-important-toggle:hover{transform:none}.icon-cell-action.important.client-important-toggle,.icon-cell-action.important.client-important-toggle:hover,.icon-cell-action.important{color:#f59e0b}.icon-cell-action.has-value{color:var(--accent);background:#2563eb14;border-color:#2563eb29}.contact-info-cell{justify-content:center;align-items:center;gap:6px;display:inline-flex}.icon-cell-action.contact-info-phone.has-value{color:var(--contact-phone);background:#10b9811a;border-color:#10b9812e}.icon-cell-action.contact-info-source.has-value{color:var(--contact-source);background:#8b5cf61a;border-color:#8b5cf62e}.icon-cell-action.contact-info-phone:hover:not(:disabled){color:var(--contact-phone-hover);background:#10b98129;border-color:#10b98152}.icon-cell-action.contact-info-source:hover:not(:disabled){color:var(--contact-source-hover);background:#8b5cf629;border-color:#8b5cf652}.icon-cell-action:disabled{cursor:not-allowed;opacity:.5}.agent-chip-list{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.agent-chip{border:1px solid var(--border-soft);background:var(--surface-chip);min-height:28px;color:var(--text-secondary);box-shadow:var(--inset-highlight);border-radius:999px;align-items:center;padding:4px 10px;font-size:.78rem;font-weight:650;line-height:1;display:inline-flex}.table-agent-text{color:var(--text-secondary);text-align:center;font-size:.9rem;font-weight:500;line-height:1.35;display:inline-block}.table-agent-trigger{width:auto;min-height:0;color:inherit;text-align:center;border-radius:0;justify-content:center;padding:0;display:inline-flex}.table-agent-trigger:hover,.table-agent-trigger:focus-visible{color:var(--accent);background:0 0}.status-dropdown-trigger{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;display:inline-flex}.status-dropdown-trigger.form-choice-trigger,.status-dropdown-trigger.quick-edit-select-trigger{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:44px;color:var(--text-primary);box-shadow:var(--field-shadow);text-align:left;border-radius:10px;padding:9px 12px;font-size:.86rem;font-weight:650}.status-dropdown-trigger.toolbar-choice-trigger{border-radius:12px;width:auto;min-width:170px}.status-dropdown-trigger span{line-height:1}.status-dropdown-trigger svg{opacity:.72;flex:none;transition:transform .18s,opacity .18s}.status-dropdown-trigger[aria-expanded=true]{border-color:var(--border-strong);background:var(--surface-control-hover);box-shadow:0 0 0 3px var(--neutral-hover), var(--field-shadow)}.status-dropdown-trigger[aria-expanded=true] svg{opacity:1;transform:rotate(180deg)}.status-dropdown-menu{z-index:100000;border:1px solid var(--field-border);background:var(--surface-popover);box-shadow:var(--shadow-popover);-webkit-backdrop-filter:blur(14px);border-radius:14px;gap:3px;padding:6px;animation:.16s slideUp;display:grid;position:fixed}.status-dropdown-option{min-height:34px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:0 10px;font-size:.82rem;font-weight:650;display:flex}.status-dropdown-option:before{content:"";background:var(--muted);opacity:.72;border-radius:999px;flex:none;width:6px;height:6px}.status-dropdown-menu.no-indicators .status-dropdown-option:before{display:none}.status-dropdown-option.status-scheduled:before,.status-dropdown-option.status-open:before,.status-dropdown-option.status-active:before{background:var(--warning)}.status-dropdown-option.status-offer:before,.status-dropdown-option.status-accepted:before,.status-dropdown-option.status-available:before,.status-dropdown-option.status-completed:before,.status-dropdown-option.status-true:before{background:var(--success)}.status-dropdown-option.status-unavailable:before,.status-dropdown-option.status-negative:before,.status-dropdown-option.status-rejected:before,.status-dropdown-option.status-lost:before,.status-dropdown-option.status-false:before{background:var(--muted)}.status-dropdown-option:hover,.status-dropdown-option.selected{background:var(--neutral-hover);color:var(--text-primary)}.status-dropdown-option:disabled{cursor:not-allowed;opacity:.52}.status-dropdown-option:disabled:hover{color:var(--text-secondary);background:0 0}.row-actions{justify-content:center;align-items:center;gap:6px;display:flex}.empty-cell{text-align:center;color:var(--muted);font-weight:700}.pagination-bar{border-top:1px solid var(--surface-border);background:var(--surface-muted);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 24px;display:flex}.pagination-bar.compact{justify-content:flex-end}.pagination-summary{color:var(--text-secondary);font-size:.88rem;font-weight:700}.pagination-actions{align-items:center;gap:8px;display:flex}.pagination-actions button{border:1px solid var(--surface-border);background:var(--surface-strong);width:34px;height:34px;color:var(--text-primary);border-radius:8px;place-items:center;display:grid}.pagination-actions button:disabled{cursor:not-allowed;opacity:.45}.pagination-page{min-width:68px;color:var(--text-secondary);text-align:center;font-size:.86rem;font-weight:800}.modal-overlay{z-index:9999;background:var(--overlay-backdrop);justify-content:center;align-items:center;padding:16px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.modal-card{border:1px solid var(--surface-border);background:var(--surface-bg);width:min(100%,760px);max-height:calc(100vh - 64px);box-shadow:var(--shadow-popover);border-radius:18px;gap:20px;padding:30px;animation:.3s cubic-bezier(.16,1,.3,1) slideUp;display:grid;overflow:auto}.modal-title-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.modal-title-row h2{font-size:1.18rem;font-weight:760}.modal-title-row p{color:var(--muted);font-size:.86rem;font-weight:560}.entity-form{gap:18px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.entity-form label{color:var(--text-primary);gap:9px;font-size:.82rem;font-weight:700;display:grid}.entity-form input,.entity-form select,.entity-form textarea{border:1px solid var(--field-border);background-color:var(--field-bg);width:100%;min-height:48px;color:var(--text-primary);box-shadow:var(--field-shadow);border-radius:12px;padding:12px 14px;font-size:.92rem;line-height:1.35;transition:background .18s,border-color .18s,box-shadow .18s}.entity-form input::placeholder,.entity-form textarea::placeholder{color:var(--muted)}.entity-form select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%;background-repeat:no-repeat;background-size:5px 5px,5px 5px;padding-right:38px}.entity-form input:hover,.entity-form select:hover,.entity-form textarea:hover{background-color:var(--field-bg-hover);border-color:#2563eb38}.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus{border-color:var(--accent);background-color:var(--field-bg-hover);box-shadow:0 0 0 4px var(--accent-glow), var(--field-shadow);outline:none}.entity-form input[type=date]{color-scheme:inherit;min-height:46px;padding-right:12px}.entity-form input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.85;background-color:#2563eb1a;border-radius:8px;width:24px;height:24px;margin-left:8px;padding:4px}.entity-form input[type=date]::-webkit-calendar-picker-indicator:hover{background-color:#2563eb29}.entity-form textarea{resize:vertical;min-height:108px;line-height:1.5}.full-field{grid-column:1/-1}.checkbox-line{grid-template-columns:auto 1fr;align-content:center;align-items:center}.checkbox-line input{appearance:none;box-sizing:border-box;aspect-ratio:1;border:2px solid var(--surface-border);background:var(--surface-bg);width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;box-shadow:none;border-radius:5px;place-content:center;margin:0;padding:0;transition:background-color .12s,border-color .12s,box-shadow .12s;display:grid;transform:none}.checkbox-line input:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;margin-top:-2px;transition:transform 80ms;transform:rotate(45deg)scale(0)}.checkbox-line input:checked{border-color:var(--accent);background:var(--accent)}.checkbox-line input:checked:after{transform:rotate(45deg)scale(1)}.checkbox-line input:focus-visible{box-shadow:0 0 0 3px var(--accent-glow);outline:none}.assignment-box{border:1px solid var(--field-border);background:var(--surface-soft);border-radius:14px;gap:12px;padding:16px;display:grid}.assignment-box p{color:var(--muted);font-size:.9rem}.assignment-grid{flex-wrap:wrap;gap:8px;display:flex}.assignment-grid button{border:1px solid var(--field-border);background:var(--field-bg);min-height:38px;color:var(--text-secondary);border-radius:999px;padding:0 13px;font-weight:700;transition:all .2s}.assignment-grid button:hover:not(:disabled){background:var(--field-bg-hover);color:var(--text-primary);border-color:#2563eb3d}.assignment-grid button.selected{border-color:var(--accent);background:linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);color:#fff}.assignment-grid button:disabled{cursor:not-allowed;opacity:.72}.agent-assignment-section{border:1px solid var(--field-border);background:var(--surface-soft);box-shadow:var(--field-shadow);border-radius:10px;align-content:start;gap:12px;padding:14px;display:grid}.agent-assignment-heading{gap:4px;display:grid}.agent-assignment-heading strong{color:var(--text-primary);font-size:.9rem;font-weight:780}.agent-assignment-heading p{color:var(--muted);font-size:.8rem;font-weight:560}.agent-assignment-trigger{width:100%}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.bento-form-dialog{flex-direction:column;gap:14px;width:min(1120px,100vw - 32px);max-height:calc(100vh - 32px);padding:22px;display:flex;overflow:hidden}.bento-form{overscroll-behavior:contain;flex:1;grid-template-columns:minmax(0,1fr) minmax(260px,.42fr);gap:12px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.bento-form-grid{grid-template-columns:minmax(300px,1.15fr) repeat(2,minmax(220px,.9fr));gap:12px;display:grid}.client-form-dialog{flex-direction:column;gap:0;width:min(1320px,100vw - 32px);max-height:calc(100vh - 32px);padding:0;display:flex;overflow:hidden}.property-form-dialog{flex-direction:column;gap:0;width:min(1200px,100vw - 32px);max-height:calc(100vh - 32px);padding:0;display:flex;overflow:hidden}.client-form-dialog>.modal-title-row,.property-form-dialog>.modal-title-row{padding:24px 28px 18px}.property-form-dialog>.modal-title-row{padding-inline:36px}.client-clean-form,.property-clean-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:0;min-height:0;display:flex;overflow:auto}.form-sections{min-width:0;padding:0 28px;display:grid}.form-section{border:0;gap:14px;min-width:0;margin:0;padding:14px 0 20px;display:grid}.form-section+.form-section{border-top:1px solid var(--surface-border)}.form-section-title{width:100%;color:var(--text-primary);text-align:left;margin:0;padding:0;font-size:.88rem;font-weight:760;line-height:1.2}.form-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px;min-width:0;display:grid}.client-details-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-field{align-content:start;gap:7px;min-width:0;display:grid}.form-field-wide{grid-column:1/-1}.form-field-label{color:var(--text-primary);font-size:.82rem;font-weight:700;line-height:1.2}.form-input-group{border:1px solid var(--field-border);background:var(--field-bg);min-width:0;min-height:44px;color:var(--muted);box-shadow:var(--field-shadow);border-radius:10px;align-items:center;gap:10px;padding:0 13px;transition:background .18s,border-color .18s,box-shadow .18s;display:flex}.form-input-group:hover{background:var(--field-bg-hover);border-color:#2563eb38}.form-input-group:focus-within{border-color:var(--accent);background:var(--field-bg-hover);box-shadow:0 0 0 4px var(--accent-glow), var(--field-shadow)}.form-input-group svg{flex:none}.client-clean-form .form-input-group input,.property-clean-form .form-input-group input{min-width:0;min-height:42px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-weight:500}.client-clean-form .form-input-group input:hover,.client-clean-form .form-input-group input:focus,.property-clean-form .form-input-group input:hover,.property-clean-form .form-input-group input:focus{box-shadow:none;background:0 0;border:0}.client-clean-form .status-dropdown-trigger.form-choice-trigger,.property-clean-form .status-dropdown-trigger.form-choice-trigger{border-radius:10px;min-height:44px;padding-inline:13px;font-size:.9rem;font-weight:620}.client-clean-form .client-assignment-field{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-content:start;gap:7px;padding:0;display:grid}.client-clean-form .client-assignment-field .agent-assignment-heading{gap:3px}.client-clean-form .client-assignment-field .agent-assignment-heading strong{font-size:.82rem;font-weight:700}.client-clean-form .client-assignment-field .agent-assignment-heading p{font-size:.76rem;line-height:1.25}.client-clean-form .client-notes-field textarea{resize:vertical;height:76px;min-height:76px;max-height:120px}.property-identity-grid,.property-values-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.property-form-sections{padding-inline:36px}.property-form-sections .form-section{padding-block:18px 22px}.property-form-sections .form-section-title{letter-spacing:.035em;text-transform:uppercase;font-size:.76rem}.property-link-grid{grid-template-columns:minmax(260px,.48fr) minmax(0,1fr)}.property-clean-form .property-notes-field textarea{resize:vertical;height:76px;min-height:76px;max-height:120px}.client-clean-form>.form-error,.property-clean-form>.form-error{margin:0 28px 14px}.client-clean-form>.modal-actions,.property-clean-form>.modal-actions{z-index:2;border-top:1px solid var(--surface-border);background:var(--surface-bg);padding:14px 28px;position:sticky;bottom:0}.property-clean-form>.modal-actions{padding-inline:36px}.bento-form-section,.bento-form .linked-entity-field,.bento-form>.bento-wide,.bento-form-grid>label,.bento-form>label.full-field,.bento-form>label:not([class]){border:1px solid var(--field-border);background:var(--surface-soft);min-width:0;box-shadow:var(--field-shadow);border-radius:10px;align-content:start;gap:8px;padding:12px;display:grid}.bento-form>.bento-form-grid,.bento-form>.property-form-grid,.bento-form>.visit-entity-grid,.bento-form>.visit-details-grid,.bento-form>.offer-entity-grid,.bento-form>.offer-price-grid,.bento-form>.offer-details-grid,.bento-form>.deal-entity-grid,.bento-form>.deal-details-grid,.bento-form>.login-error,.bento-form>.modal-actions,.bento-form>.bento-wide{grid-column:1/-1}.bento-form>label.full-field,.bento-form>label:not([class]){grid-column:1/2}.bento-form>.assignment-box,.bento-form>.visit-agents-section,.bento-form>.offer-agents-section,.bento-form>.deal-agents-section,.bento-form>.agent-assignment-section{grid-column:2/3}.bento-form-section label,.bento-form .linked-entity-field label{box-shadow:none;background:0 0;border:0;padding:0}.bento-form .assignment-box,.bento-form .visit-agents-section,.bento-form .offer-agents-section,.bento-form .deal-agents-section,.bento-form .agent-assignment-section,.bento-form .task-priority-field{border:1px solid var(--field-border);background:var(--surface-soft);box-shadow:var(--field-shadow);border-radius:10px;padding:12px}.bento-form input,.bento-form textarea,.bento-form .status-dropdown-trigger.form-choice-trigger,.bento-form .entity-search{min-height:42px}.bento-form textarea{resize:none;min-height:88px;max-height:116px;overflow:auto}.bento-form .assignment-box p{font-size:.8rem}.bento-form .assignment-grid button,.bento-form .visit-agent-options button,.bento-form .offer-agent-options button,.bento-form .deal-agent-options button{min-height:30px;padding:0 10px;font-size:.76rem}.bento-form .modal-actions{z-index:2;background:linear-gradient(180deg, #fff0, var(--surface-bg) 38%);margin-top:0;padding:12px 0 0;position:sticky;bottom:0}@media (width<=980px){.bento-form,.bento-form-grid{grid-template-columns:1fr}.bento-form>label.full-field,.bento-form>label:not([class]),.bento-form>.assignment-box,.bento-form>.visit-agents-section,.bento-form>.offer-agents-section,.bento-form>.deal-agents-section,.bento-form>.agent-assignment-section{grid-column:1/-1}.property-identity-grid,.property-values-grid,.client-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.client-form-dialog>.modal-title-row,.property-form-dialog>.modal-title-row{padding:20px 20px 16px}.form-sections{padding:0 20px}.property-form-sections{padding-inline:20px}.form-section-grid,.property-identity-grid,.property-values-grid,.property-link-grid,.client-details-grid{grid-template-columns:1fr}.client-clean-form>.form-error,.property-clean-form>.form-error{margin-inline:20px}.client-clean-form>.modal-actions,.property-clean-form>.modal-actions{padding:12px 20px 18px}}.usage-list{gap:10px;display:grid}.usage-row,.pipeline,.agent-work-grid,.signal-grid,.match-grid{gap:12px;display:grid}.usage-row{border:1px solid var(--surface-border);background:var(--surface-strong);border-radius:12px;grid-template-columns:1fr auto;align-items:center;padding:12px}.usage-row div{align-items:center;gap:9px;display:flex}.pipeline{grid-template-columns:repeat(7,auto);align-items:center}.pipeline div{place-items:center;min-height:74px;display:grid}.pipeline div:nth-child(odd),.agent-work-grid div,.signal-grid div,.match-card{border:1px solid var(--surface-border);background:var(--surface-strong);border-radius:12px;padding:16px}.pipeline span,.agent-work-grid span,.match-card span{color:var(--muted);font-size:.82rem}.pipeline strong,.agent-work-grid strong{font-size:1.55rem}.agent-work-grid{grid-template-columns:repeat(3,1fr)}.signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.signal-grid div{gap:8px;display:grid}.signal-grid p{color:var(--text-secondary)}.match-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.match-card{gap:6px;display:grid}.local-status{color:var(--muted);gap:14px;margin-top:20px;font-size:.78rem;display:flex}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@media (width<=1180px){.stats-grid,.two-columns,.settings-overview-grid,.signal-grid,.match-grid{grid-template-columns:1fr 1fr}}@media (width<=860px){.app-layout{height:auto;display:block;overflow:visible}.menu-toggle{left:auto;right:20px}.menu-closed .menu-toggle{left:10px;right:auto}.sidebar{width:100%;height:100vh;padding:68px 20px 20px;position:fixed;overflow-y:auto;transform:none}.menu-closed .sidebar{width:100%;height:100vh;padding:68px 20px 20px;transform:translate(-100%)}.main-content{--shell-inline-gutter:20px;height:auto;min-height:100vh;padding:20px var(--shell-inline-gutter);margin-left:0;overflow:visible}.menu-closed .main-content{margin-left:0}.topbar,.topbar-actions,.agency-users-toolbar{flex-direction:column;align-items:stretch}.topbar-summary-card{min-width:0}.topbar-summary-group{justify-content:stretch}.topbar-summary-card{flex:1}.select-control select{width:100%;min-width:0}.stats-grid,.two-columns,.form-grid,.settings-overview-grid,.signal-grid,.agent-work-grid,.match-grid{grid-template-columns:1fr}}.auth-panel{width:100%}.auth-panel-topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.language-selector{min-width:0;color:var(--text-secondary);align-items:center;gap:7px;display:inline-flex}.language-selector select{border:1px solid var(--surface-border);background:var(--surface-strong);min-width:112px;max-width:160px;height:36px;color:var(--text-primary);font:inherit;border-radius:6px;padding:0 30px 0 10px;font-size:.84rem;font-weight:700}.auth-mode-toggle{border:1px solid var(--surface-border);background:#0f172a0a;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;display:grid}:root[data-theme=midnight] .auth-mode-toggle{background:#ffffff0f}.auth-mode-toggle button{min-height:42px;color:var(--text-secondary);background:0 0;border:0;border-radius:6px;padding:0 10px;font-weight:820;transition:background .18s,color .18s,box-shadow .18s}.auth-mode-toggle button.active{background:var(--surface-strong);color:var(--text-primary);box-shadow:0 8px 18px #0f172a14}.auth-mode-toggle button:focus-visible{outline:3px solid var(--accent-glow);outline-offset:2px}.auth-form-grid{align-items:end;gap:14px}.login-notice{color:var(--success);background:#0596691a;border:1px solid #05966933;border-radius:8px;padding:11px 12px;font-size:.88rem;font-weight:750}.auth-captcha{justify-items:center;gap:8px;min-height:66px;display:grid}.login-form .auth-text-action{min-height:36px;color:var(--accent);box-shadow:none;background:0 0;align-self:center;margin:0;padding:4px 8px}.login-form .auth-text-action:hover:not(:disabled){background:var(--accent-glow);color:var(--accent-hover);box-shadow:none;transform:none}.auth-account-email{color:var(--text-secondary);overflow-wrap:anywhere;font-size:.9rem}.auth-password-hint{color:var(--text-secondary);margin:-2px 0 4px;font-size:.82rem;line-height:1.45}.public-access-links ul{flex-wrap:wrap;justify-content:center;gap:8px 16px;margin:0;padding:0;list-style:none;display:flex}.public-access-links a{color:var(--text-secondary);text-underline-offset:3px;font-size:.82rem;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;transition:color .18s,text-decoration-color .18s}.public-access-links a:hover{color:var(--accent-hover);text-decoration-color:currentColor}.public-access-links a:focus-visible{outline:3px solid var(--accent-glow);outline-offset:3px;border-radius:3px}@media (width<=560px){.auth-form-grid,.auth-panel-header{grid-template-columns:1fr}.auth-panel-topbar{align-items:flex-start}.language-selector select{min-width:104px;max-width:132px}}.compact-action{min-height:36px;padding:0 12px}.table-actions,.agency-users-toolbar h2{align-items:center;gap:8px;display:flex}.table-actions{flex-wrap:wrap}.danger-action.compact-action{min-height:36px}.danger-action{background:var(--danger);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 16px;font-weight:800;display:inline-flex}.badge svg{margin-right:5px}.status-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.status-panel{text-align:center;justify-items:center;gap:12px;width:min(100%,460px);padding:32px;display:grid}.status-panel>svg{color:var(--accent)}.status-panel p{color:var(--text-secondary)}.status-actions{gap:10px;margin-top:8px;display:flex}.properties-page{gap:14px;margin-top:0;display:grid}.property-status-filters{flex:none;grid-template-columns:repeat(2,minmax(176px,1fr));grid-auto-rows:64px;justify-self:end;gap:8px;display:grid}.properties-panel{overflow:hidden}.properties-toolbar{border-bottom:1px solid var(--surface-border);align-items:center;gap:12px;padding:22px;display:flex}.properties-toolbar .search-box{flex:1;min-height:52px}.properties-toolbar .search-box input{font-size:.94rem}.status-select{border:1px solid var(--field-border);background:var(--field-bg);min-height:44px;color:var(--text-primary);box-shadow:var(--field-shadow);border-radius:12px;padding:0 38px 0 13px}.properties-table-shell{border:0;border-radius:0}.properties-table th,.properties-table td{white-space:nowrap}.properties-table th{padding-top:12px;padding-bottom:12px}.properties-table td{padding-top:16px;padding-bottom:16px}.properties-table .table-primary{font-weight:600}.table-secondary{color:var(--muted);margin-top:2px;display:block}.property-name-trigger>span{min-width:0;display:block}.properties-table .quick-edit-trigger{cursor:pointer;transition:background .16s}.property-type-badge{border:1px solid var(--field-border);background:var(--field-bg);min-height:26px;color:var(--text-secondary);border-radius:999px;align-items:center;padding:3px 9px;font-size:.76rem;font-weight:700;display:inline-flex}.muted-cell{color:var(--muted)}.property-link-action{place-items:center;display:inline-grid}.match-count-action{align-items:center;gap:4px;display:inline-flex}.match-count-action span{background:var(--accent);color:#fff;border-radius:50%;place-items:center;min-width:18px;height:18px;font-size:.7rem;display:grid}.match-count-action.has-matches{color:var(--accent)}.property-row-actions{align-items:center}.property-info-icon{color:var(--muted);place-items:center;display:inline-grid}.property-info-icon.has-value{color:var(--accent);background:var(--accent-glow)}.property-info-icon.phone.has-value{color:var(--success);background:#0596691a}.property-form-dialog{gap:14px;width:min(1120px,100vw - 32px);max-height:calc(100vh - 32px);padding:22px;overflow:hidden}.property-form-grid{grid-template-columns:minmax(300px,1.25fr) minmax(240px,.9fr) minmax(240px,.9fr);gap:12px;display:grid}.property-form-section{border:1px solid var(--field-border);background:var(--surface-soft);min-width:0;box-shadow:var(--field-shadow);border-radius:12px;align-content:start;gap:8px;padding:12px;display:grid}.property-form-section-main{grid-row:span 2}.property-form-section-link{grid-template-columns:minmax(280px,.82fr) minmax(340px,1.18fr);align-items:start}.property-form-dialog label>span,.prospect-form-dialog label>span{align-items:center;gap:6px;display:flex}.property-form-dialog .entity-form{gap:12px;min-height:0}.property-form-dialog .entity-form input,.property-form-dialog .status-dropdown-trigger.form-choice-trigger{min-height:44px}.property-form-dialog textarea{resize:none;min-height:88px;max-height:116px;overflow:auto}.property-form-dialog .modal-actions{padding-top:2px}.compact-modal{width:min(500px,100vw - 32px)}.property-note-content,.property-match-empty{border:1px solid var(--surface-border);background:var(--bg-color);color:var(--text-secondary);border-radius:8px;align-items:flex-start;gap:10px;padding:18px;display:flex}.property-note-content p{white-space:pre-wrap}.property-match-dialog{gap:16px;width:min(900px,100vw - 32px);padding:24px}.property-match-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.property-match-card{border:1px solid var(--surface-border);background:color-mix(in srgb, var(--surface-strong) 91%, #fef3c7 9%);border-radius:14px;align-content:space-between;gap:9px;min-width:0;min-height:128px;padding:13px 14px;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid;box-shadow:0 4px 14px #0f172a0a}.property-match-card:hover{border-color:#2563eb38;transform:translateY(-1px);box-shadow:0 8px 20px #0f172a12}.property-match-card-heading{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.property-match-card-heading h3{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:760;line-height:1.25;overflow:hidden}.property-match-identity{align-items:flex-start;gap:10px;min-width:0;display:flex}.property-match-identity>div{min-width:0}.property-match-identity p{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:.78rem;line-height:1.25;overflow:hidden}.property-match-card-aside{flex:none;justify-items:end;gap:5px;display:grid}.property-match-entity-icon{width:34px;height:34px;color:var(--success);background:#10b9811c;border-radius:10px;flex:0 0 34px;place-items:center;display:grid}.property-match-external-link{border:1px solid var(--surface-border);background:var(--surface-strong);min-height:27px;color:var(--text-secondary);border-radius:999px;flex:none;align-items:center;gap:4px;padding:0 8px;font-size:.72rem;font-weight:700;text-decoration:none;display:inline-flex}.property-match-external-link:hover{color:var(--accent);border-color:#2563eb47}.property-match-category{background:var(--accent-glow);color:var(--accent);border-radius:999px;flex:none;padding:3px 7px;font-size:.68rem;font-weight:760;display:inline-flex}.property-match-amount{color:var(--text-primary);white-space:nowrap;font-size:1.18rem;font-weight:800;line-height:1.2;display:block}.property-match-details{border-top:1px solid var(--surface-border);border-bottom:1px solid var(--surface-border);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:0;padding:9px 0;display:grid}.property-match-details>div{border-left:1px solid var(--surface-border);min-width:0;padding:0 12px}.property-match-details>div:first-child{border-left:0;padding-left:0}.property-match-details>div:last-child{padding-right:0}.property-match-details dd{overflow-wrap:anywhere;color:var(--text-secondary);margin-top:1px;font-size:.8rem;font-weight:650}.property-match-details a{color:var(--accent);text-decoration:none}.property-match-details a:hover{text-decoration:underline}.property-match-note{min-width:0;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.8rem;line-height:1.35;overflow:hidden}.property-match-note span{margin-right:8px}.property-match-card-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0;display:grid}.property-match-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.match-phone-action,.property-match-card .match-dismiss-action,.property-match-card .match-visit-action{border-radius:8px;gap:6px;min-height:34px;padding:0 10px;font-size:.78rem}.match-phone-control{flex:none;display:flex;position:relative}.match-phone-action{background:var(--accent-glow);width:34px;min-width:34px;color:var(--accent);cursor:pointer;font:inherit;border:1px solid #2563eb33;justify-content:center;align-items:center;padding:0;transition:border-color .18s,background .18s,color .18s;display:inline-flex}.match-phone-action:hover:not(:disabled){background:#2563eb1f;border-color:#2563eb57}.match-phone-popover{z-index:4;border:1px solid var(--surface-border);background:var(--surface-strong);min-height:32px;color:var(--text-primary);box-shadow:var(--shadow-popover);white-space:nowrap;border-radius:8px;align-items:center;padding:6px 10px;font-size:.78rem;font-weight:700;display:inline-flex;position:absolute;bottom:calc(100% + 8px);left:0}.match-phone-popover:after{border-right:1px solid var(--surface-border);border-bottom:1px solid var(--surface-border);background:var(--surface-strong);content:"";width:8px;height:8px;position:absolute;top:100%;left:11px;transform:translateY(-4px)rotate(45deg)}.property-match-card .match-dismiss-action{min-width:86px;margin-left:auto}.property-match-card .match-visit-action{min-width:124px}.property-match-title-actions{justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.match-restore-action{background:var(--accent-glow);min-height:34px;color:var(--accent);cursor:pointer;white-space:nowrap;border:1px solid #2563eb33;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.78rem;font-weight:760;transition:transform .12s,background .12s,border-color .12s;display:inline-flex}.match-restore-action:hover:not(:disabled){background:#2563eb1f;border-color:#2563eb57;transform:translateY(-1px)}.match-restore-action:disabled{cursor:wait;opacity:.76}@media (width<=860px){.property-status-filters{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;position:static}.properties-toolbar{flex-direction:column;align-items:stretch}.property-form-grid{grid-template-columns:1fr}.property-form-section-main{grid-row:auto}.property-form-section-link{grid-template-columns:1fr}.property-match-details{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}.property-match-details>div:nth-child(odd){border-left:0;padding-left:0}.property-match-details>div:nth-child(2n){padding-right:0}.property-match-card-actions{justify-content:flex-end}.property-match-card-actions button{flex:none}.property-match-title-actions{justify-content:space-between;width:100%}.property-match-card-footer{grid-template-columns:1fr;gap:10px}}@media (width<=680px){.property-match-list{grid-template-columns:1fr}}@media (width<=560px){.property-match-dialog{gap:12px;padding:16px}.property-match-dialog .modal-title-row{flex-direction:column;align-items:stretch}.property-match-dialog .dialog-header-actions{justify-content:space-between;width:100%}.property-match-card{min-height:126px;padding:12px}.property-match-card-heading{align-items:flex-start;gap:8px}.property-match-card-actions{flex-direction:row}}.prospects-page{gap:14px;display:grid}.prospects-toolbar{margin-bottom:0}.section-heading{align-items:center;gap:10px;display:flex}.section-heading>svg{color:var(--accent)}.section-heading h2{font-size:1rem}.section-heading p{color:var(--muted);font-size:.8rem}.prospects-list-panel{padding:0}.prospects-table-shell{border:0;border-radius:0}.prospects-table{table-layout:fixed;min-width:810px}.prospects-table .prospect-importance-cell{width:64px}.prospects-table .prospect-notes-cell{text-align:left;white-space:normal;width:auto;padding-left:20px}.prospects-table .prospect-agent-cell{width:180px}.prospects-table .prospect-date-cell{width:145px}.prospects-table .prospect-actions-cell{width:104px}.prospect-note{gap:4px;min-width:0;line-height:1.35;display:grid}.prospect-note strong,.prospect-note span{overflow-wrap:anywhere}.prospect-note span{color:var(--text-secondary);font-size:.84rem;font-weight:450}.prospects-table .table-agent-text{color:var(--text-secondary);font-size:.86rem;font-weight:500}.prospect-date{color:var(--muted);justify-content:center;align-items:center;gap:6px;font-size:.86rem;font-weight:500;display:inline-flex}.prospect-form-dialog{flex-direction:column;gap:0;width:min(1040px,100vw - 32px);min-height:min(750px,100vh - 96px);max-height:calc(100vh - 32px);padding:0;display:flex;overflow:hidden}.prospect-form-dialog>.modal-title-row{padding:38px 44px 24px}.prospect-form-dialog>.modal-title-row h2{font-size:1.9rem}.prospect-form-dialog>.modal-title-row p{font-size:.98rem}.prospect-clean-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:0;min-height:0;display:flex;overflow:auto}.prospect-form-sections{padding-inline:44px}.prospect-form-sections .form-section{gap:20px;padding-block:22px 28px}.prospect-form-sections .form-section+.form-section{border-top:0}.prospect-form-sections .form-section-title{letter-spacing:.035em;text-transform:uppercase;align-items:center;gap:18px;font-size:.88rem;display:flex}.prospect-form-sections .form-section-title:after{content:"";background:var(--surface-border);flex:1;min-width:0;height:1px}.prospect-main-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);column-gap:38px}.prospect-main-grid .form-field-label{font-size:.94rem}.prospect-clean-form .form-input-group,.prospect-clean-form .custom-datepicker-input-container{min-height:58px;font-size:.98rem}.prospect-clean-form .form-input-group input{min-width:0;min-height:56px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-size:.98rem;font-weight:500}.prospect-clean-form .form-input-group input:hover,.prospect-clean-form .form-input-group input:focus{box-shadow:none;background:0 0;border:0}.prospect-notes-field{width:100%}.prospect-form-dialog .prospect-textarea-group{border:1px solid var(--field-border);background:var(--field-bg);min-width:0;min-height:126px;color:var(--muted);box-shadow:var(--field-shadow);border-radius:12px;align-items:flex-start;gap:12px;padding:16px;transition:border-color .16s,box-shadow .16s;display:flex}.prospect-form-dialog .prospect-textarea-group:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow), var(--field-shadow)}.prospect-form-dialog .prospect-textarea-group svg{color:var(--text-secondary);flex:none;margin-top:2px}.prospect-form-dialog .prospect-textarea-group textarea{width:100%;min-width:0;min-height:90px;max-height:120px;box-shadow:none;resize:none;background:0 0;border:0;border-radius:0;padding:0;font-size:.98rem;font-weight:500}.prospect-form-dialog .prospect-textarea-group textarea:hover,.prospect-form-dialog .prospect-textarea-group textarea:focus{box-shadow:none;background:0 0;border:0}.prospect-clean-form>.form-error{margin:0 44px 12px}.prospect-clean-form>.modal-actions{z-index:2;border-top:1px solid var(--surface-border);background:var(--surface-bg);margin-top:auto;padding:24px 44px 28px;position:sticky;bottom:0}@media (width<=720px){.prospect-form-dialog{min-height:0;overflow-y:auto}.prospect-form-dialog>.modal-title-row{padding:20px 20px 16px}.prospect-form-dialog>.modal-title-row h2{font-size:1.4rem}.prospect-form-sections{padding-inline:20px}.prospect-main-grid{grid-template-columns:1fr}.prospect-clean-form>.form-error{margin-inline:20px}.prospect-clean-form>.modal-actions{padding:12px 20px 18px}.prospects-table{min-width:730px}.prospects-table .prospect-agent-cell{width:150px}}.match-page,.match-groups{gap:14px;display:grid}.match-page{font-size:1rem}.match-toolbar{margin-bottom:2px}.match-toolbar .search-box{flex:1}.match-total{border:1px solid var(--surface-border);background:var(--surface);min-height:46px;color:var(--accent);border-radius:8px;align-items:center;gap:7px;padding:0 15px;display:flex}.match-total span{color:var(--text-secondary);font-size:.86rem;font-weight:700}.match-total strong{font-size:1.2rem}.match-client-group{border-radius:10px;overflow:hidden}.match-client-group.important{border-color:#d9770659}.match-client-header{justify-content:space-between;align-items:center;gap:12px;min-height:70px;padding:12px 14px;display:flex}.match-client-group.important .match-client-header{background:#d977060d}.match-client-main{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.match-client-toggle{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;padding:0;display:flex}.match-client-copy{min-width:0}.match-client-copy strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;font-weight:800;display:block;overflow:hidden}.match-client-copy small{color:var(--muted);flex-wrap:wrap;gap:12px;margin-top:3px;font-size:.82rem;font-weight:650;display:flex}.match-client-copy small span{align-items:center;gap:4px;display:inline-flex}.match-client-actions{align-items:center;gap:8px;display:flex}.match-important-action,.match-reset-action,.match-expand-action{border:1px solid var(--surface-border);background:var(--surface-strong);min-height:36px;color:var(--text-secondary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:.8rem;font-weight:700;transition:border-color .18s,background .18s,color .18s,transform .18s;display:inline-flex}.match-important-action{flex:none;width:38px;padding:0}.match-important-action.active{color:var(--warning);background:#d9770617;border-color:#d977065c}.match-important-action:hover,.match-reset-action:hover,.match-expand-action:hover{background:var(--surface-hover);transform:translateY(-1px)}.match-reset-action{color:var(--warning)}.match-expand-action{min-width:112px;padding:0 10px}.match-properties-grid{border-top:1px solid var(--surface-border);grid-template-columns:1fr;gap:8px;padding:0 14px 14px;display:grid}.match-property-card{border:1px solid var(--surface-border);background:var(--bg-color);min-width:0;color:inherit;cursor:pointer;border-radius:8px;grid-template-columns:minmax(230px,1.4fr) minmax(150px,.7fr) minmax(120px,.55fr) auto;align-items:center;gap:14px;padding:12px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:grid;position:relative}.match-property-card:hover,.match-property-card:focus-visible{background:var(--surface-hover);border-color:#2563eb47;outline:none;transform:translateY(-1px);box-shadow:0 10px 24px #0f172a14}.match-property-heading{align-items:center;gap:10px;display:flex}.match-property-heading>span{width:36px;height:36px;color:var(--success);background:#0596691a;border-radius:7px;flex:none;place-items:center;display:grid}.match-property-heading div{min-width:0}.match-property-heading strong,.match-property-heading small{overflow-wrap:anywhere;display:block}.match-property-heading strong{color:var(--text-primary);font-size:.98rem;font-weight:800;line-height:1.25}.match-property-heading small,.match-property-phone{color:var(--muted);font-size:.82rem;font-weight:600}.match-property-price-row{justify-content:flex-start;align-items:center;gap:8px;display:flex}.match-property-price-row b{color:var(--text-primary);font-size:1rem}.match-property-price-row a{border:1px solid var(--surface-border);background:var(--surface-strong);color:var(--accent);border-radius:8px;align-items:center;gap:4px;padding:5px 8px;font-size:.78rem;font-weight:700;text-decoration:none;display:inline-flex}.match-property-phone{align-items:center;gap:5px;min-width:0;display:flex}.match-property-actions{justify-content:flex-end;gap:7px;display:flex}.match-dismiss-action,.match-visit-action{border:1px solid var(--surface-border);background:var(--surface-strong);min-height:36px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:.8rem;font-weight:700;transition:border-color .18s,background .18s,color .18s,transform .18s;display:inline-flex}.match-dismiss-action:hover:not(:disabled),.match-visit-action:hover:not(:disabled){transform:translateY(-1px)}.match-dismiss-action:hover:not(:disabled){color:var(--danger);background:#e11d4812;border-color:#e11d484d}.match-visit-action{border-color:var(--accent);background:var(--accent);color:#fff}.match-visit-action:hover:not(:disabled){background:var(--accent-hover)}.match-empty{color:var(--muted);text-align:center;justify-items:center;gap:7px;padding:48px 24px;display:grid}.match-empty h2{color:var(--text-primary);font-size:1rem}.match-empty p{max-width:620px;font-size:.86rem}@media (width<=760px){.match-client-header{flex-direction:column;align-items:stretch}.match-client-actions{justify-content:flex-end}.match-expand-action{flex:1}.match-property-card{grid-template-columns:1fr;gap:10px}.match-property-actions{justify-content:stretch}.match-dismiss-action,.match-visit-action{flex:1}}.visits-page{gap:16px;display:grid}.visit-status-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.visits-panel{overflow:hidden}.visits-toolbar{border-bottom:1px solid var(--surface-border);align-items:center;gap:10px;padding:16px;display:flex}.visits-toolbar .search-box{flex:1}.visits-page-error{margin:12px 16px 0}.visits-table-shell{border:0;border-radius:0}.visits-table th,.visits-table td{white-space:nowrap}.visits-table tr.important-row{background:#d977060d}.visit-client-cell{justify-content:center;align-items:center;gap:7px;display:flex}.visit-form-dialog{flex-direction:column;gap:0;width:min(1120px,100vw - 32px);max-height:calc(100vh - 32px);padding:0;display:flex;overflow:hidden}.visit-form-dialog>.modal-title-row{padding:24px 32px 18px}.visit-clean-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:0;min-height:0;display:flex;overflow:auto}.visit-form-sections{padding-inline:32px}.visit-form-sections .form-section{padding-block:18px 22px}.visit-form-sections .form-section-title{letter-spacing:.035em;text-transform:uppercase;font-size:.76rem}.visit-entity-grid{column-gap:42px}.entity-picker{position:relative}.entity-search,.entity-form label.entity-search{border:1px solid var(--field-border);background:var(--field-bg);min-height:42px;color:var(--muted);box-shadow:var(--field-shadow);border-radius:12px;align-items:center;gap:7px;padding:0 12px;display:flex}.entity-picker.is-open .entity-search{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow), var(--field-shadow);border-radius:12px 12px 0 0}.entity-search input{width:100%;min-width:0;min-height:0;color:var(--text-primary);background:0 0;border:0;outline:none;flex:1;padding:0}.entity-search input:hover,.entity-search input:focus{box-shadow:none;background:0 0;border:0}.entity-results{z-index:40;border:1px solid var(--surface-border);background:var(--surface-strong);max-height:200px;box-shadow:var(--shadow-popover);transform-origin:top;border-top:0;border-radius:0 0 8px 8px;animation:.12s ease-out entity-results-enter;position:absolute;top:calc(100% - 1px);left:0;right:0;overflow-y:auto}.entity-loading{min-height:92px}@keyframes entity-results-enter{0%{opacity:0;transform:translateY(-3px)scaleY(.98)}to{opacity:1;transform:translateY(0)scaleY(1)}}@media (prefers-reduced-motion:reduce){.entity-results{animation:none}}.entity-results button{border:0;border-bottom:1px solid var(--surface-border);width:100%;min-height:42px;color:var(--text-primary);text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.entity-results button:hover{background:var(--surface-hover)}.entity-results small,.selected-entity small{color:var(--muted);font-size:.72rem}.entity-results .create-entity{color:var(--accent);justify-content:flex-start;font-weight:750}.entity-empty{color:var(--muted);padding:12px;font-size:.8rem;display:block}.selected-entity{border:1px solid var(--field-border);background:var(--field-bg);min-height:48px;box-shadow:var(--field-shadow);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.selected-entity span{min-width:0;display:grid}.selected-entity strong,.selected-entity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.selected-entity button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.visit-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}.visit-details-grid>label>input,.visit-details-grid .date-picker-trigger,.visit-details-grid .status-dropdown-trigger{border-radius:10px;min-height:44px}.visit-details-grid>label>span{color:var(--text-primary)}.visit-assignment-field{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.visit-agent-field{color:var(--text-primary);gap:9px;font-size:.82rem;font-weight:700;display:grid}.visit-agent-field>span{color:var(--text-secondary);align-items:center;gap:5px;font-size:.82rem;font-weight:700;display:flex}.visit-details-grid label>span{align-items:center;gap:5px;display:flex}.visit-agent-quick-trigger{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:48px;color:var(--text-secondary);box-shadow:var(--field-shadow);text-align:left;border-radius:12px;justify-content:flex-start;padding:12px 14px;font-size:.82rem}.visit-agent-quick-trigger:disabled{color:var(--muted);background:var(--field-bg);border-color:#94a3b880}.visit-notes-field textarea{resize:vertical;min-height:82px;max-height:140px;overflow:auto}.visit-clean-form>.form-error{margin:0 32px 14px}.visit-clean-form>.modal-actions{z-index:2;border-top:1px solid var(--surface-border);background:var(--surface-bg);padding:14px 32px;position:sticky;bottom:0}.quick-client-dialog,.promote-visit-dialog{width:min(900px,100vw - 32px)}.quick-match-visit-dialog{gap:14px;width:min(380px,100vw - 32px);padding:20px}.quick-match-visit-dialog .modal-title-row{gap:12px}.quick-match-visit-dialog .modal-title-row p{text-overflow:ellipsis;white-space:nowrap;max-width:290px;overflow:hidden}.quick-match-visit-form{gap:14px}.quick-visit-calendar{width:100%;box-shadow:none}.quick-match-visit-assignment{gap:8px;padding:12px}.quick-match-visit-form>.modal-actions{padding-top:2px}.quick-match-visit-form>.modal-actions button{min-width:96px}@media (width<=860px){.visit-form-dialog{overflow-y:auto}.visits-toolbar{flex-direction:column;align-items:stretch}.visit-entity-grid,.visit-details-grid{grid-template-columns:1fr}}@media (width<=620px){.visit-form-dialog>.modal-title-row{padding:20px 20px 16px}.visit-form-sections{padding-inline:20px}.visit-clean-form>.form-error{margin-inline:20px}.visit-clean-form>.modal-actions{padding:12px 20px 18px}.visit-status-filters{grid-template-columns:1fr}}.offers-page{gap:16px;display:grid}.offer-status-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.offers-panel{overflow:hidden}.offers-toolbar{border-bottom:1px solid var(--surface-border);align-items:center;gap:10px;padding:16px;display:flex}.offers-toolbar .search-box{flex:1}.offers-page-error{margin:12px 16px 0}.offers-table-shell{border:0;border-radius:0}.offers-table{min-width:1120px}.offers-table th,.offers-table td{white-space:nowrap}.offers-table tr.important-row{background:#d977060d}.offer-client-cell{justify-content:center;align-items:center;gap:7px;display:flex}.offers-table .quick-edit-trigger{min-width:0}.offer-name-trigger{justify-content:flex-start}.offer-price{color:var(--text-primary);font-weight:750}.offer-form-dialog{flex-direction:column;gap:0;width:min(1140px,100vw - 32px);min-height:min(880px,100vh - 32px);max-height:calc(100vh - 32px);padding:0;display:flex;overflow:hidden}.offer-form-dialog>.modal-title-row{padding:32px 40px 24px}.offer-form-dialog>.modal-title-row h2{font-size:1.5rem}.offer-form-dialog>.modal-title-row p{font-size:.95rem}.offer-clean-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:0;min-height:0;display:flex;overflow:auto}.offer-form-sections{padding-inline:40px}.offer-form-sections .form-section{gap:22px;padding-block:24px 32px}.offer-form-sections .form-section-title{border-bottom:1px solid var(--surface-border);letter-spacing:.035em;text-transform:uppercase;padding-bottom:12px;font-size:.86rem}.offer-form-dialog .linked-entity-heading>span,.offer-clean-form .form-field>span:first-child,.offer-assignment-field .agent-assignment-heading strong{font-size:.9rem}.offer-form-dialog .linked-entity-mode-switch{font-size:.8rem}.offer-form-dialog .entity-search,.offer-clean-form .form-input-group input,.offer-clean-form .status-dropdown-trigger{font-size:.98rem}.offer-form-dialog .linked-entity-create,.offer-price-helper{font-size:.82rem}.offer-form-sections .form-section+.form-section{border-top:0}.offer-form-sections section.form-section{border-top:1px solid var(--surface-border);padding-top:28px}.offer-entity-grid,.offer-price-grid{column-gap:48px}.offer-entity-grid .linked-entity-field{gap:14px}.offer-form-dialog .entity-search,.offer-clean-form .form-input-group,.offer-clean-form .status-dropdown-trigger{min-height:56px}.offer-clean-form .form-input-group input{min-width:0;min-height:54px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-weight:500}.offer-clean-form .form-input-group input:hover,.offer-clean-form .form-input-group input:focus{box-shadow:none;background:0 0;border:0}.offer-clean-form input[type=number]{appearance:textfield}.offer-clean-form input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.offer-clean-form input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.offer-price-helper{color:var(--muted);grid-column:1/-1;margin:0}.offer-management-grid{grid-template-columns:minmax(260px,.72fr) minmax(0,1fr);align-items:start;column-gap:44px}.offer-assignment-field{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-content:start;gap:7px;padding:0;display:grid}.offer-assignment-field .agent-assignment-heading{gap:3px}.offer-assignment-field .agent-assignment-heading strong{font-weight:700}.offer-assignment-field .agent-assignment-heading p{font-size:.76rem;line-height:1.25}.offer-clean-form .status-dropdown-trigger{border-radius:10px}.offer-clean-form>.form-error{margin:0 40px 14px}.offer-clean-form>.modal-actions{z-index:2;border-top:1px solid var(--surface-border);background:var(--surface-bg);margin-top:auto;padding:24px 40px;position:sticky;bottom:0}.offer-clean-form>.modal-actions button{min-height:56px;font-size:1rem}.offer-agents-section{gap:8px;display:grid;position:relative;overflow:visible}.offer-agents-section>strong{color:var(--text-secondary);font-size:.85rem}.offer-agent-options{flex-wrap:wrap;gap:7px;display:flex}.offer-agent-options button,.offer-important-toggle{border:1px solid var(--surface-border);background:var(--surface-strong);min-height:34px;color:var(--text-secondary);border-radius:7px;padding:0 11px;font-size:.78rem;font-weight:750}.offer-agent-options button.selected{border-color:var(--accent);background:var(--accent);color:#fff}.offer-agent-options button:disabled{cursor:default}.offer-agent-trigger{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:42px;color:var(--text-secondary);box-shadow:var(--field-shadow);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.offer-agent-trigger:hover,.offer-agent-trigger:focus-visible{border-color:var(--accent);background:var(--field-bg-hover);box-shadow:0 0 0 4px var(--accent-glow)}.offer-agent-trigger:focus{outline:none}.offer-agent-trigger:disabled{color:var(--muted);cursor:default}.offer-agent-picker{z-index:25;gap:7px;padding-top:4px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0}.offer-agent-picker .offer-agent-options{border:1px solid var(--surface-border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:12px;padding:10px}.offer-notes-field textarea{resize:vertical;min-height:108px;max-height:150px;font-size:.9rem}.offer-important-toggle{justify-self:start;align-items:center;gap:5px;display:inline-flex}.offer-important-toggle.active{color:var(--warning)}.accept-offer-dialog{width:min(660px,100vw - 32px)}.accept-offer-dialog label>span{align-items:center;gap:5px;display:flex}.accept-offer-summary,.financial-privacy-note{border:1px solid var(--surface-border);background:var(--surface);color:var(--text-secondary);border-radius:8px;padding:12px;font-size:.86rem}.offer-checkbox{border:1px solid var(--surface-border);background:var(--surface);-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:12px;align-items:center;gap:10px;width:fit-content;min-height:48px;padding:8px 12px 8px 10px;transition:background-color .16s,border-color .16s,box-shadow .16s;grid-template-columns:none!important;display:flex!important}.offer-checkbox:hover{background:var(--field-bg-hover);border-color:#2563eb33}.offer-checkbox.is-checked{background:#05966914;border-color:#05966947}.offer-checkbox input[type=checkbox]{appearance:none;box-sizing:border-box;border:2px solid var(--surface-border);background:var(--surface-strong);border-radius:5px;flex:0 0 22px;place-content:center;width:22px;min-width:22px;height:22px;min-height:22px;max-height:22px;margin:0;padding:0;transition:background-color .12s,border-color .12s,box-shadow .12s;display:grid;transform:none}.offer-checkbox span{line-height:1.2}.offer-checkbox input[type=checkbox]:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;margin-top:-2px;transition:transform 80ms;transform:rotate(45deg)scale(0)}.offer-checkbox input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.offer-checkbox input[type=checkbox]:checked:after{transform:rotate(45deg)scale(1)}.offer-checkbox input[type=checkbox]:focus{box-shadow:0 0 0 3px var(--accent-glow)}.accept-action{background:var(--success)}@media (height<=900px) and (width>=861px){.offer-form-dialog{min-height:0}.offer-form-dialog>.modal-title-row{padding:22px 32px 14px}.offer-form-dialog>.modal-title-row h2{font-size:1.35rem}.offer-form-dialog>.modal-title-row p{font-size:.88rem}.offer-form-sections{padding-inline:32px}.offer-form-sections .form-section{gap:16px;padding-block:18px 22px}.offer-form-sections .form-section-title{padding-bottom:8px;font-size:.8rem}.offer-form-sections section.form-section{padding-top:22px}.offer-entity-grid .linked-entity-field{gap:12px}.offer-form-dialog .entity-search,.offer-clean-form .form-input-group,.offer-clean-form .status-dropdown-trigger{min-height:50px}.offer-clean-form .form-input-group input{min-height:48px}.offer-notes-field textarea{min-height:88px;max-height:104px}.offer-clean-form>.form-error{margin-inline:32px}.offer-clean-form>.modal-actions{padding:16px 32px}.offer-clean-form>.modal-actions button{min-height:50px;font-size:.95rem}}@media (width<=860px){.offer-form-dialog{min-height:0;overflow-y:auto}.offers-toolbar{flex-direction:column;align-items:stretch}.offer-entity-grid,.offer-price-grid,.offer-management-grid{grid-template-columns:1fr}}@media (width<=620px){.offer-status-filters{grid-template-columns:1fr}.offer-form-dialog>.modal-title-row{padding:20px 20px 16px}.offer-form-sections{padding-inline:20px}.offer-clean-form>.form-error{margin-inline:20px}.offer-clean-form>.modal-actions{padding:12px 20px 18px}.offer-clean-form>.modal-actions button{min-height:48px}}.deals-page{gap:16px;display:grid}.deals-panel{overflow:hidden}.deals-toolbar{border-bottom:1px solid var(--surface-border);align-items:center;gap:10px;padding:16px;display:flex}.deals-toolbar .search-box{flex:1}.deals-toolbar .table-toolbar-action{min-width:max-content}.deals-page-error{margin:12px 16px 0}.deals-table-shell{border:0;border-radius:0}.deals-table{min-width:1060px}.deals-table th,.deals-table td{white-space:nowrap}.deals-table .quick-edit-trigger{min-width:0}.deal-amount{color:var(--text-primary);font-weight:760}.deal-todo-action{margin:0 auto}.deal-todo-action span{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:18px;min-height:18px;font-size:.68rem;font-weight:850;display:inline-grid}.deal-edit-dialog,.deal-form-dialog{width:min(1210px,100vw - 32px);max-height:calc(100vh - 32px);overflow:hidden}.deal-form-dialog{flex-direction:column;gap:0;min-height:min(800px,100vh - 120px);padding:0;display:flex}.deal-form-dialog>.modal-title-row{padding:30px 42px 22px}.deal-form-dialog>.modal-title-row h2{font-size:1.5rem}.deal-form-dialog>.modal-title-row p{font-size:.94rem}.deal-clean-form{overscroll-behavior:contain;flex-direction:column;flex:1;gap:0;min-height:0;display:flex;overflow:auto}.deal-form-sections{padding-inline:42px}.deal-form-sections .form-section{gap:20px;padding-block:20px 28px}.deal-form-sections .form-section+.form-section{border-top:0}.deal-form-sections .form-section-title{letter-spacing:.035em;text-transform:uppercase;align-items:center;gap:18px;font-size:.82rem;display:flex}.deal-form-sections .form-section-title:after{content:"";background:var(--surface-border);flex:1;min-width:0;height:1px}.deal-entity-grid{column-gap:48px}.deal-entity-grid .linked-entity-field{gap:14px}.deal-form-dialog .linked-entity-heading>span,.deal-assignment-field .agent-assignment-heading strong,.deal-details-grid .form-field-label,.deal-preliminary-switch>span:first-child{font-size:.9rem}.deal-form-dialog .linked-entity-mode-switch{font-size:.8rem}.deal-form-dialog .entity-search,.deal-clean-form .form-input-group,.deal-clean-form .status-dropdown-trigger,.deal-clean-form .custom-datepicker-input-container{min-height:56px;font-size:.98rem}.deal-form-dialog .linked-entity-create{font-size:.82rem}.deal-details-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;column-gap:34px}.deal-details-grid.is-agent{grid-template-columns:repeat(2,minmax(0,1fr))}.deal-details-grid .form-input-group{gap:12px}.deal-details-grid .form-input-group input{min-width:0;min-height:54px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-weight:500}.deal-details-grid .form-input-group input:hover,.deal-details-grid .form-input-group input:focus{box-shadow:none;background:0 0;border:0}.deal-clean-form input[type=number]{appearance:textfield}.deal-clean-form input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.deal-clean-form input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.deal-assignment-field{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-content:start;gap:7px;padding:0;display:grid}.deal-assignment-field .agent-assignment-heading{gap:3px}.deal-assignment-field .agent-assignment-heading strong{font-weight:700}.deal-assignment-field .agent-assignment-heading p{font-size:.76rem;line-height:1.25}.deal-clean-form .status-dropdown-trigger{border-radius:10px}.deal-preliminary-switch{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;width:fit-content;display:inline-flex!important}.deal-preliminary-switch>span:first-child{color:var(--text-primary);font-weight:700}.deal-preliminary-switch input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.deal-switch-track{background:var(--switch-track);border-radius:999px;align-items:center;width:44px;height:24px;padding:3px;transition:background .18s;display:flex}.deal-switch-track>span{background:var(--switch-thumb);border-radius:50%;width:18px;height:18px;transition:transform .18s;box-shadow:0 1px 3px #0f172a33}.deal-preliminary-switch input:checked+.deal-switch-track{background:var(--accent)}.deal-preliminary-switch input:checked+.deal-switch-track>span{transform:translate(20px)}.deal-preliminary-switch input:focus-visible+.deal-switch-track{outline:3px solid var(--accent-glow)}.deal-clean-form>.financial-privacy-note,.deal-clean-form>.form-error{margin:0 42px 12px}.deal-clean-form>.modal-actions{z-index:2;border-top:1px solid var(--surface-border);background:var(--surface-bg);margin-top:auto;padding:22px 42px;position:sticky;bottom:0}.deal-agents-section{gap:8px;display:grid}.deal-agent-options{flex-wrap:wrap;gap:8px;display:flex}.deal-agent-options button{border:1px solid var(--surface-border);background:var(--surface);min-height:32px;color:var(--text-secondary);border-radius:999px;padding:0 12px;font-weight:750}.deal-agent-options button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.deal-checkbox{border:1px solid var(--field-border);background:var(--surface-soft);-webkit-user-select:none;user-select:none;border-radius:12px;align-items:center;gap:8px;width:fit-content;min-height:44px;padding:8px 12px 8px 10px;grid-template-columns:none!important;display:flex!important}.deal-checkbox input[type=checkbox]{appearance:none;box-sizing:border-box;border:2px solid var(--surface-border);background:var(--surface-strong);border-radius:5px;flex:0 0 22px;place-content:center;width:22px;min-width:22px;height:22px;margin:0;padding:0;transition:background-color .12s,border-color .12s,box-shadow .12s;display:grid;transform:none}.deal-checkbox input[type=checkbox]:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;margin-top:-2px;transition:transform 80ms;transform:rotate(45deg)scale(0)}.deal-checkbox input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.deal-checkbox input[type=checkbox]:checked:after{transform:rotate(45deg)scale(1)}.deal-checkbox input[type=checkbox]:focus{box-shadow:0 0 0 3px var(--accent-glow)}@media (width<=860px){.deal-edit-dialog,.deal-form-dialog{overflow-y:auto}.deals-toolbar{flex-direction:column;align-items:stretch}.deal-entity-grid,.deal-details-grid{grid-template-columns:1fr}}@media (height<=650px) and (width>=861px){.deal-form-dialog>.modal-title-row{padding:22px 34px 14px}.deal-form-sections{padding-inline:34px}.deal-form-sections .form-section{gap:15px;padding-block:16px 20px}.deal-clean-form>.financial-privacy-note,.deal-clean-form>.form-error{margin-inline:34px}.deal-clean-form>.modal-actions{padding:16px 34px}}@media (width<=620px){.deal-form-dialog>.modal-title-row{padding:20px 20px 16px}.deal-form-sections{padding-inline:20px}.deal-clean-form>.financial-privacy-note,.deal-clean-form>.form-error{margin-inline:20px}.deal-clean-form>.modal-actions{padding:12px 20px 18px}}.deal-tasks-dialog{width:min(520px,100vw - 32px);max-height:calc(100vh - 32px);overflow-y:auto}.deal-task-create{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:18px;display:grid}.deal-task-create input{border:1px solid var(--surface-border);background:var(--bg-color);min-width:0;min-height:42px;color:var(--text-primary);border-radius:7px;padding:9px 12px}.deal-task-create .primary-action{width:44px;min-width:44px;padding:0}.deal-task-list{gap:8px;max-height:min(400px,52vh);display:grid;overflow-y:auto}.deal-task-list>p{color:var(--text-secondary);text-align:center;margin:0;padding:24px}.deal-task-item{border:1px solid var(--surface-border);background:var(--surface);border-radius:8px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:10px 11px;display:grid}.deal-task-item.important{background:#f59e0b0f}.deal-task-item.completed .deal-task-title{color:var(--muted);text-decoration:line-through}.deal-task-star,.deal-task-check,.deal-task-actions button,.deal-task-inline-edit button{background:0 0;border:0}.deal-task-star{color:var(--surface-border);display:inline-flex}.deal-task-star.active{color:var(--warning)}.deal-task-check{color:var(--text-secondary);display:inline-flex}.deal-task-check.completed{color:var(--success)}.deal-task-title{overflow-wrap:anywhere;min-width:0;color:var(--text-primary);font-weight:650}.deal-task-actions{gap:4px;display:inline-flex}.deal-task-actions button{width:30px;height:30px;color:var(--accent);border-radius:6px;place-items:center;display:inline-grid}.deal-task-actions button:hover,.deal-task-actions button:focus-visible,.deal-task-inline-edit button:hover,.deal-task-inline-edit button:focus-visible{background:var(--surface-hover);outline:none}.deal-task-actions button.danger{color:var(--danger)}.deal-task-inline-edit{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;min-width:0;display:grid}.deal-task-inline-edit input{border:1px solid var(--surface-border);background:var(--bg-color);min-width:0;min-height:34px;color:var(--text-primary);border-radius:6px;padding:6px 8px}.deal-task-inline-edit button{width:34px;height:34px;color:var(--text-secondary);border-radius:6px;place-items:center;display:inline-grid}@media (width<=620px){.deal-task-item{grid-template-columns:auto auto minmax(0,1fr)}.deal-task-actions{grid-column:3}}.intelligence-page,.intelligence-sections{gap:18px;display:grid}.intelligence-funnel{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.intelligence-funnel div,.intelligence-rate-grid div{border:1px solid var(--surface-border);background:var(--surface-strong);border-radius:8px;gap:5px;min-width:0;padding:14px;display:grid}.intelligence-funnel div{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:10px 12px}.intelligence-funnel span,.intelligence-rate-grid span{color:var(--muted);font-size:.78rem;font-weight:800}.intelligence-funnel span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.intelligence-funnel strong{color:var(--text-primary);font-size:1rem;line-height:1}.intelligence-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.intelligence-rate-grid div{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px 12px}.intelligence-rate-grid svg{color:var(--accent)}.intelligence-rate-grid strong{color:var(--text-primary);font-size:.95rem}.commission-forecast-panel{overflow:hidden}.commission-forecast-header{border-bottom:1px solid var(--surface-border);justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.commission-forecast-heading{align-items:center;gap:12px;min-width:0;display:flex}.commission-forecast-heading h2{color:var(--text-primary);font-size:1.05rem}.commission-forecast-heading p{color:var(--muted);margin-top:3px;font-size:.8rem;font-weight:650}.commission-forecast-icon{border:1px solid color-mix(in srgb, var(--accent) 24%, transparent);background:color-mix(in srgb, var(--accent) 10%, transparent);width:38px;height:38px;color:var(--accent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.commission-forecast-total{text-align:right;flex:none;gap:2px;display:grid}.commission-forecast-total span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:800}.commission-forecast-total strong{color:var(--text-primary);letter-spacing:-.025em;font-size:1.25rem}.commission-forecast-chart{outline:none;width:100%;height:270px;margin-top:10px}.commission-forecast-empty{min-height:190px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:8px;font-size:.85rem;font-weight:750;display:grid}.commission-forecast-empty svg{color:var(--accent);opacity:.7}.commission-forecast-chart .recharts-surface{overflow:visible}.commission-forecast-chart .recharts-tooltip-label{color:var(--muted);margin-bottom:5px;font-size:.78rem;font-weight:800}.commission-forecast-chart .recharts-tooltip-item{font-size:.85rem;font-weight:800}@media (width<=860px){.intelligence-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.intelligence-rate-grid{grid-template-columns:1fr}}@media (width<=520px){.intelligence-funnel{grid-template-columns:1fr}.commission-forecast-header{align-items:flex-start}.commission-forecast-heading p{display:none}.commission-forecast-total strong{font-size:1rem}.commission-forecast-chart{height:235px}}@media (width>=861px) and (width<=1200px){.intelligence-funnel{grid-template-columns:repeat(3,minmax(0,1fr))}}.custom-datepicker-wrapper{width:100%;position:relative}.custom-datepicker-input-container{border:1px solid var(--field-border);background:var(--field-bg);min-height:46px;box-shadow:var(--field-shadow);border-radius:12px;align-items:center;padding:8px 12px;transition:background .18s,border-color .18s,box-shadow .18s;display:flex;position:relative}.custom-datepicker-input-container:hover{background:var(--field-bg-hover);border-color:#2563eb38}.custom-datepicker-input-container:focus-within{border-color:var(--accent);background:var(--field-bg-hover);box-shadow:0 0 0 4px var(--accent-glow), var(--field-shadow)}.custom-datepicker-icon{color:var(--accent);flex-shrink:0;margin-right:8px}.custom-datepicker-input{width:100%;min-width:0;color:var(--text-primary);text-align:left;background:0 0;border:0;outline:none;padding:0 28px 0 0;font-family:inherit;font-size:.95rem;line-height:1.4}.custom-datepicker-input.placeholder{color:var(--text-secondary)}.custom-datepicker-clear{width:26px;height:26px;color:var(--danger);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;right:8px}.custom-datepicker-clear:hover{background:#e11d4814}.custom-datepicker-required{color:var(--danger);margin-top:4px;font-size:.8rem;font-weight:600;display:block}.custom-datepicker-popper{z-index:100000;position:fixed}.custom-datepicker-calendar{border:1px solid var(--surface-border);background:var(--surface-bg);-webkit-backdrop-filter:blur(20px);border-radius:16px;padding:8px;box-shadow:0 16px 40px #0000001f}.custom-datepicker-header{border-bottom:1px solid var(--surface-border);grid-template-columns:36px 1fr 36px;align-items:center;gap:6px;min-height:44px;padding:0 4px 8px;display:grid}.custom-datepicker-header strong{color:var(--text-primary);text-align:center;text-transform:capitalize;font-size:1.1rem;font-weight:700}.custom-datepicker-header button{width:34px;height:34px;color:var(--text-secondary);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.custom-datepicker-header button:hover{color:var(--text-primary);background:#2563eb14}.custom-datepicker-weekdays,.custom-datepicker-days{grid-template-columns:repeat(7,2.2rem);justify-content:center;gap:.3rem;display:grid}.custom-datepicker-weekdays{padding-top:8px}.custom-datepicker-weekdays span{width:2.2rem;color:var(--text-secondary);text-align:center;font-size:.85rem;font-weight:600;line-height:2.2rem}.custom-datepicker-days button{width:2.2rem;height:2.2rem;color:var(--text-primary);background:0 0;border:0;border-radius:8px;font-size:.95rem;font-weight:500;transition:all .15s}.custom-datepicker-days button:hover:not(:disabled){background:#2563eb14}.custom-datepicker-days button.today{border:1px solid var(--accent);font-weight:700}.custom-datepicker-days button.selected{background:var(--accent);color:#fff;font-weight:700}.custom-datepicker-days button.outside{color:var(--muted);opacity:.45}.custom-datepicker-days button:disabled{cursor:not-allowed;opacity:.28}.quick-edit-popover{z-index:1200;border:1px solid var(--surface-border);background:var(--surface-strong);border-radius:8px;gap:11px;width:min(280px,100vw - 24px);padding:14px;display:grid;position:fixed;box-shadow:0 18px 48px #0f172a33}.quick-edit-popover>strong{color:var(--text-secondary);text-transform:uppercase;font-size:.76rem}.quick-edit-popover input,.quick-edit-popover select{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:44px;color:var(--text-primary);box-shadow:var(--field-shadow);border-radius:10px;outline:none;padding:9px 12px}.quick-edit-popover input:focus,.quick-edit-popover select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.quick-edit-error{color:var(--danger);font-size:.78rem;font-weight:700}.quick-edit-readonly-value{border:1px solid var(--field-border);background:var(--field-bg);min-height:44px;color:var(--text-primary);overflow-wrap:anywhere;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;font-size:.9rem;font-weight:650;display:flex}.quick-edit-readonly-value>span{min-width:0}.quick-edit-readonly-edit{background:var(--accent-glow);width:32px;height:32px;color:var(--accent);cursor:pointer;border:1px solid #2563eb2e;border-radius:8px;flex:none;place-items:center;transition:transform .16s,background .16s;display:inline-grid}.quick-edit-readonly-edit:hover{background:#2563eb29;transform:translateY(-1px)}.quick-edit-actions{border-top:1px solid var(--surface-border);justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.quick-edit-actions .primary-action,.quick-edit-actions .secondary-action{min-height:34px;padding:0 12px;font-size:.78rem}.quick-edit-trigger{width:100%;min-height:34px;color:inherit;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;padding:3px 5px;display:flex}.quick-edit-trigger:hover,.quick-edit-trigger:focus-visible{background:var(--surface-hover);outline:none}.quick-edit-trigger.centered{justify-content:center}.table-shell .quick-edit-trigger{text-align:center;justify-content:center}.nested-modal{z-index:10000}.table-page{gap:14px;margin-top:0;display:grid}.table-panel{padding:0;overflow:hidden}.table-panel-shell{border:0;border-radius:0}.table-panel table th,.table-panel table td{white-space:nowrap}.table-panel table th{padding-top:12px;padding-bottom:12px}.table-panel table td{padding-top:16px;padding-bottom:16px}.table-panel .table-primary{font-weight:600}.dialog-header-actions{align-items:center;gap:8px;display:flex}.form-error{background:var(--danger-soft-bg);color:var(--danger);border:1px solid #e11d482e;border-radius:10px;margin:12px 16px 0;padding:10px 12px;font-size:.86rem;font-weight:650}.entity-form>.form-error,.bento-form>.form-error{margin:0}.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}.importance-cell:hover{transform:none}.row-actions .danger:hover,.row-actions .danger:focus-visible{background:var(--danger-soft-bg);color:var(--danger);border-color:#e11d4833}.status-badge{--status-color:var(--muted);border:1px solid var(--border-soft);background:var(--surface-chip);min-height:30px;color:var(--text-secondary);border-radius:999px;align-items:center;gap:7px;padding:4px 10px;font-size:.78rem;font-weight:650;display:inline-flex}.status-badge:before{content:"";background:var(--status-color);border-radius:999px;flex:none;width:6px;height:6px}.status-badge.status-scheduled,.status-badge.status-open,.status-badge.status-active,.status-filter.status-scheduled,.status-filter.status-open,.status-filter.status-active{--status-color:var(--warning)}.status-badge.status-scheduled:before,.status-badge.status-open:before,.status-badge.status-active:before{background:var(--status-color)}.status-badge.status-offer,.status-badge.status-accepted,.status-badge.status-available,.status-badge.status-completed,.status-badge.status-true,.status-filter.status-offer,.status-filter.status-accepted,.status-filter.status-available,.status-filter.status-completed,.status-filter.status-true{--status-color:var(--success)}.status-badge.status-offer:before,.status-badge.status-accepted:before,.status-badge.status-available:before,.status-badge.status-completed:before,.status-badge.status-true:before{background:var(--status-color)}.status-badge.status-lost,.status-filter.status-lost{--status-color:var(--muted)}.status-badge.status-lost:before{background:var(--status-color)}.status-filter-group{grid-template-columns:none;grid-auto-columns:minmax(118px,1fr);grid-auto-flow:column;justify-self:end;gap:8px;display:grid;position:static}.status-filter{--status-color:var(--muted);border:1px solid var(--surface-border);background:var(--surface);min-height:58px;color:var(--text-secondary);box-shadow:var(--field-shadow);font:inherit;text-align:left;cursor:pointer;border-radius:8px;align-content:center;padding:10px 14px;transition:border-color .16s,background .16s,box-shadow .16s;display:grid}.status-filter.active{color:var(--text-primary);background:#2563eb14;border-color:#2563eb4d}.status-filter.status-offer.active,.status-filter.status-accepted.active,.status-filter.status-available.active,.status-filter.status-completed.active,.status-filter.status-true.active{background:#05966914;border-color:#0596694d}.status-filter.status-scheduled.active,.status-filter.status-open.active,.status-filter.status-active.active{background:#d9770614;border-color:#d977064d}.status-filter.status-lost.active{border-color:var(--surface-border);background:var(--surface-strong)}.status-filter span{gap:3px;display:grid}.status-filter small{font-size:.72rem;font-weight:650}.status-filter strong{font-size:1rem}.linked-entity-field{align-content:start;align-self:start;gap:10px;min-width:0;display:grid}.linked-entity-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.linked-entity-heading>span{color:var(--text-secondary);align-items:center;gap:6px;font-size:.82rem;font-weight:700;display:inline-flex}.linked-entity-mode-switch{color:var(--text-secondary);background:0 0;border:0;align-items:center;gap:8px;padding:2px;font-size:.74rem;font-weight:600;display:inline-flex}.linked-entity-switch-track{background:var(--switch-track);border-radius:999px;align-items:center;width:38px;height:22px;padding:3px;transition:background .18s;display:flex}.linked-entity-switch-track>span{background:var(--switch-thumb);border-radius:50%;width:16px;height:16px;transition:transform .18s;box-shadow:0 1px 3px #0f172a33}.linked-entity-mode-switch[aria-checked=true] .linked-entity-switch-track{background:var(--accent)}.linked-entity-mode-switch[aria-checked=true] .linked-entity-switch-track>span{transform:translate(16px)}.linked-entity-mode-switch:focus-visible{outline:3px solid var(--accent-glow);border-radius:8px}.linked-entity-trigger{border:1px solid var(--field-border);background:var(--field-bg);width:100%;min-height:46px;color:var(--text-primary);text-align:left;border-radius:10px;justify-content:flex-start;align-items:center;gap:12px;padding:10px 12px;display:flex}.linked-entity-trigger>svg:last-child{margin-left:auto}.linked-entity-trigger-value{gap:3px;min-width:0;display:grid}.linked-entity-trigger strong,.linked-entity-trigger small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.linked-entity-trigger small{color:var(--muted);font-size:.74rem}.linked-entity-editor{padding-top:2px}.linked-entity-editor>label{gap:6px;display:grid}.linked-entity-create{width:fit-content;color:var(--accent);background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:.76rem;font-weight:700;display:inline-flex}.linked-entity-free-input input{width:100%;min-height:46px}.pending-count-indicator{transform-origin:50%;animation:3.6s ease-in-out infinite pending-count-attention}@keyframes pending-count-attention{0%,64%,to{transform:scale(1);box-shadow:0 0 #0000}76%{box-shadow:0 0 0 5px var(--accent-glow);transform:scale(1.12)}88%{box-shadow:0 0 0 2px var(--accent-glow);transform:scale(1.03)}}@media (prefers-reduced-motion:reduce){.pending-count-indicator{animation:none}}@media (width<=860px){.status-filter-group{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}}@media (width<=620px){.modal-card{padding:22px}}@media (width<=860px){html{background:var(--bg-color);scrollbar-color:color-mix(in srgb, var(--accent) 62%, transparent) transparent;scrollbar-gutter:stable;scroll-padding-top:72px}html::-webkit-scrollbar-track{background:0 0}html::-webkit-scrollbar-thumb{border-color:#0000}.app-layout,.main-content{min-height:100dvh}.main-content{--shell-inline-gutter:clamp(14px, 4vw, 20px);padding:calc(68px + env(safe-area-inset-top)) var(--shell-inline-gutter) calc(32px + env(safe-area-inset-bottom))}.menu-toggle,.menu-closed .menu-toggle,.menu-open .menu-toggle{top:calc(12px + env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));z-index:10002;border-radius:12px;width:44px;height:44px;right:auto}.menu-backdrop{z-index:10000;background:var(--overlay-backdrop);border:0;animation:.18s fadeIn;position:fixed;inset:0}.sidebar,.menu-closed .sidebar{width:min(86vw,340px);height:100dvh;padding:calc(64px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom));z-index:10001;border-radius:0 18px 18px 0;box-shadow:12px 0 48px #0f172a33}.menu-closed .sidebar,.menu-closed .sidebar:hover,.menu-closed .sidebar:focus-within{transform:translate(calc(-100% - 24px))}.nav-menu{gap:4px;padding-top:8px}.nav-link,.sidebar-logout-action{min-height:48px}.nav-link{padding:11px 12px}.nav-link:hover{transform:none}.workspace{max-width:none}.topbar{margin-bottom:18px}.shell-page-title{overflow-wrap:anywhere;font-size:clamp(1.45rem,7vw,1.72rem)}.page-command-header{gap:12px;width:100%;margin-left:0}.page-command-top,.page-command-actions,.module-toolbar,.table-toolbar,.settings-page-header,.admin-settings-toolbar{align-items:stretch}.page-command-top{display:grid}.page-title-row{align-items:flex-start;width:100%}.mobile-summary-toggle{border:1px solid var(--surface-border);background:var(--surface-control);width:44px;height:44px;color:var(--text-secondary);box-shadow:var(--field-shadow);border-radius:12px;flex:0 0 44px;justify-content:center;align-items:center;gap:2px;display:inline-flex}.mobile-summary-toggle[aria-expanded=true]{color:var(--accent);background:#2563eb1a;border-color:#2563eb47}.mobile-summary-chevron{transition:transform .18s}.mobile-summary-toggle[aria-expanded=true] .mobile-summary-chevron{transform:rotate(180deg)}.page-command-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.page-command-stats[data-mobile-expanded=false]{display:none}.page-command-stats[data-mobile-expanded=true]{animation:.18s mobileSummaryIn}.page-metric-card,.page-metric-card-wide,.status-filter{width:100%;min-width:0}.page-command-actions,.platform-toolbar{gap:10px;width:100%}.page-command-actions>*,.page-command-actions .status-dropdown-trigger,.platform-toolbar .status-dropdown-trigger{min-width:0}.status-filter-group{justify-self:stretch;width:100%}.panel{padding:16px}.panel-header{flex-wrap:wrap;align-items:flex-start}.settings-metric-list,.settings-metric-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-action,.secondary-action,.status-dropdown-trigger.toolbar-choice-trigger{min-height:48px}.status-dropdown-menu,.quick-edit-popover{max-width:calc(100vw - 24px)}.status-dropdown-option{min-height:44px}.custom-datepicker-popper,.custom-datepicker-calendar{max-width:calc(100vw - 24px)}}@media (width<=680px){.login-screen-clean{align-items:stretch;padding:0}.login-shell-clean{width:100%}.login-panel-clean{min-height:100dvh;padding:calc(22px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));box-shadow:none;border:0;border-radius:0;gap:20px}.auth-panel-topbar{gap:10px}.language-selector select{height:44px}.auth-panel-header{grid-template-columns:auto minmax(0,1fr);gap:12px}.auth-panel-mark{width:44px;height:44px}.auth-mode-toggle button{min-height:48px;padding:7px 8px}.table-panel{box-shadow:none;background:0 0;border:0;overflow:visible}.table-panel .form-error{margin:0 0 12px}.table-shell,.table-panel-shell{padding:0;overflow:visible}.table-shell table{border-spacing:0;min-width:0}.table-shell thead{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.table-shell tbody{gap:12px;display:grid}.table-shell tbody tr{border:1px solid var(--surface-border);background:var(--surface-strong);min-width:0;box-shadow:var(--field-shadow);border-radius:14px;grid-template-columns:repeat(42,minmax(0,1fr));display:grid;position:relative;overflow:hidden}.table-shell tbody tr:has(>td[data-mobile-role=actions]){background-image:linear-gradient(to bottom, transparent 0 calc(100% - 60px), var(--surface-faint) calc(100% - 60px) 100%)}.table-shell tbody td{border:0;border-bottom:1px solid var(--surface-border);border-right:1px solid var(--surface-border);width:auto;min-width:0;min-height:68px;box-shadow:none;white-space:normal;overflow-wrap:anywhere;text-align:left;background:0 0;border-radius:0;grid-column:span 14;align-content:center;justify-items:start;gap:4px;padding:10px 12px;display:grid}.table-shell tbody td[data-mobile-role]{width:100%}.table-shell tbody td:before{content:attr(data-label);color:var(--muted);letter-spacing:.04em;text-align:left;text-transform:uppercase;font-size:.68rem;font-weight:780;line-height:1.25}.table-shell tbody td[data-mobile-role=primary]{background:var(--surface-muted);border-right:0;order:-2;grid-column:1/-1;min-height:66px;padding:11px 68px 10px 16px}.table-shell tbody td[data-mobile-role=primary] .table-primary{font-size:1rem;line-height:1.35}.table-shell tbody td[data-mobile-role=primary]:before{display:none}.table-shell tbody td[data-mobile-role=wide],.table-shell tbody td.empty-cell{border-right:0;grid-column:1/-1}.table-shell tbody td[data-mobile-role=action],.table-shell tbody td[data-mobile-role=actions]{background:0 0;border-bottom:0;border-right:0;align-content:center;align-items:center;min-height:60px;padding:8px 6px}.table-shell tbody td[data-mobile-role=action]{grid-column:span 6;justify-items:center}.table-shell tbody td:not([data-mobile-role=action])+td[data-mobile-role=action]{grid-column-start:1}.table-shell tbody td[data-mobile-role=action][data-column=notes]{grid-column:1/span 6}.table-shell tbody td[data-mobile-role=action][data-column=link]{grid-column:7/span 6}.table-shell tbody td[data-mobile-role=action][data-column=matches],.table-shell tbody td[data-mobile-role=action][data-column=tasks]{grid-column:13/span 6}.table-shell tbody td[data-mobile-role=actions]{grid-column:19/-1;justify-content:flex-end;padding-inline:0;display:flex}.table-shell tbody td[data-mobile-role=utility]{z-index:1;border:0;place-items:center;width:44px;min-height:44px;padding:0;display:grid;position:absolute;top:10px;right:12px}.table-shell tbody td[data-column=completion]{right:62px}.table-shell tbody td[data-mobile-role=utility]:before,.table-shell tbody td[data-mobile-role=action]:before,.table-shell tbody td[data-mobile-role=actions]:before,.table-shell tbody td.empty-cell:before{display:none}.table-shell tbody td.empty-cell{text-align:center;border-bottom:0;border-right:0;grid-template-columns:1fr;place-items:center;min-height:96px}.table-shell tbody tr:hover td{border-color:var(--surface-border);box-shadow:none;background:0 0}.table-shell .row-actions,.table-shell .table-actions,.table-shell .platform-row-actions,.table-shell .contact-info-cell{flex-wrap:nowrap;justify-content:flex-end;width:auto}.table-shell td[data-mobile-role=actions] .row-actions{grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:0;width:100%;display:grid}.table-shell td[data-mobile-role=actions] .row-actions .contact-info-cell{display:contents}.table-shell td[data-mobile-role=actions] .contact-info-phone{grid-column:1}.table-shell td[data-mobile-role=actions] .contact-info-source{grid-column:2}.table-shell td[data-mobile-role=actions] .table-action-edit{grid-column:3}.table-shell td[data-mobile-role=actions] .table-action-delete{grid-column:4}.table-shell td[data-mobile-role=actions] .platform-row-actions{grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:0;width:100%;display:grid}.table-shell td[data-mobile-role=actions] .table-action-detail{grid-column:2}.table-shell .agent-chip-list{justify-content:flex-start;width:100%}.table-shell .table-agent-text{text-align:left}.table-shell .quick-edit-trigger,.table-shell .table-agent-trigger{text-align:left;justify-content:flex-start;min-height:44px}.table-shell .status-dropdown-trigger{justify-content:space-between;width:100%;min-height:44px;margin-left:0}.table-shell td[data-column=status] .status-dropdown-trigger{gap:4px;padding-inline:7px}.table-shell td[data-column=status] .status-dropdown-trigger span{white-space:nowrap;min-width:0}.properties-table td[data-column=price]{overflow-wrap:normal;padding-inline:8px}.properties-table td[data-column=price] .quick-edit-trigger,.properties-table td[data-column=price] .table-primary{white-space:nowrap}.properties-table td[data-column=price] .table-primary{letter-spacing:-.01em;font-size:.86rem}.prospects-table td[data-column=date]{padding-inline:8px}.prospects-table .prospect-date{white-space:nowrap;gap:4px}.agency-admin-page .agency-users-panel .table-shell{background:0 0;border:0;padding:0;overflow:visible}.agency-admin-page .agency-users-table td{text-align:left;padding:12px 14px}.icon-cell-action,.pagination-actions button{flex-basis:44px;width:44px;height:44px}.table-shell td[data-mobile-role=actions] .compact-action{min-height:44px}.platform-table-page .panel-header>.primary-action{width:100%}.deal-task-star,.deal-task-check,.deal-task-actions button,.deal-task-inline-edit button{min-width:44px;min-height:44px}.match-dismiss-action,.match-visit-action,.linked-entity-mode-switch{min-height:48px}.custom-datepicker-clear,.custom-datepicker-header button{width:44px;height:44px}.custom-datepicker-clear{right:0}.custom-datepicker-input{padding-right:40px}.pagination-bar,.pagination-bar.compact{border:1px solid var(--surface-border);border-radius:14px;flex-direction:column;align-items:stretch;min-height:0;margin-top:12px;padding:12px}.pagination-summary{text-align:center}.pagination-actions{justify-content:space-between}.pagination-page{flex:1}.modal-overlay,.nested-modal{padding:calc(8px + env(safe-area-inset-top)) 0 0;align-items:flex-end}.modal-card{width:100%;max-width:none;max-height:calc(100dvh - 8px - env(safe-area-inset-top));padding:20px 18px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;gap:16px}.client-form-dialog,.property-form-dialog{padding:0}.modal-title-row{gap:12px}.dialog-header-actions .icon-cell-action{flex:0 0 44px}.modal-actions{bottom:calc(-18px - env(safe-area-inset-bottom));z-index:3;padding:12px 0 calc(18px + env(safe-area-inset-bottom));background:linear-gradient(180deg, transparent, var(--surface-bg) 18%);grid-template-columns:1fr;gap:10px;display:grid;position:sticky}.modal-actions>button,.quick-edit-actions>button{width:100%;min-height:48px}.dialog-summary-grid{grid-template-columns:1fr}.dialog-list-row{flex-direction:column;align-items:flex-start}.quick-edit-popover{width:calc(100vw - 24px)}.quick-edit-actions{grid-template-columns:1fr;display:grid}.auth-mode-toggle button{overflow-wrap:anywhere;line-height:1.2}.custom-datepicker-calendar{width:100%;padding:6px}.custom-datepicker-weekdays,.custom-datepicker-days{grid-template-columns:repeat(7,minmax(34px,1fr));gap:2px}.custom-datepicker-weekdays span,.custom-datepicker-days button{width:100%;min-width:34px;height:40px;line-height:40px}}@media (width<=420px){.login-panel-clean{padding-inline:16px}.login-brand-minimal{gap:8px}.language-selector{margin-left:auto}.language-selector select{width:108px;min-width:0;max-width:108px}.page-command-stats,.status-filter-group{grid-template-columns:repeat(2,minmax(0,1fr))}.status-filter,.page-metric-card{padding-inline:10px}.table-shell tbody td{padding-inline:12px}}@keyframes mobileSummaryIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (hover:none) and (pointer:coarse){.glass-panel:hover,.stat-card:hover,.primary-action:hover:not(:disabled),.secondary-action:hover:not(:disabled),.icon-cell-action:hover,.row-actions button:hover{transform:none}}@media (prefers-reduced-motion:reduce){.menu-backdrop,.page-command-stats,.modal-card{animation:none}}.loading-indicator{--loading-dot-gap:8px;--loading-dot-size:12px;--loading-dot-rest:color-mix(in srgb, var(--accent) 36%, var(--surface-strong));--loading-dot-halo:color-mix(in srgb, var(--accent) 30%, transparent);justify-content:center;align-items:center;gap:var(--loading-dot-gap);width:100%;min-height:68px;padding:12px;display:flex}.loading-indicator-compact{--loading-dot-gap:4px;--loading-dot-size:6px;vertical-align:middle;width:auto;min-height:20px;padding:0;display:inline-flex}.loading-indicator-large{--loading-dot-gap:10px;--loading-dot-size:20px;min-height:112px}.entity-loading-refresh{width:100%;padding:8px 12px}.loading-indicator-dot{width:var(--loading-dot-size);height:var(--loading-dot-size);flex:0 0 var(--loading-dot-size);background:var(--loading-dot-rest);border-radius:50%;animation:1.5s ease-in-out infinite delivia-loading-pulse}.loading-indicator-dot:first-child{animation-delay:-.4s}.loading-indicator-dot:nth-child(2){animation-delay:-.2s}.loading-indicator-dot:nth-child(4){animation-delay:.2s}.loading-indicator-dot:nth-child(5){animation-delay:.4s}@keyframes delivia-loading-pulse{0%,to{background:var(--loading-dot-rest);box-shadow:0 0 0 0 var(--loading-dot-halo);transform:scale(.8)}50%{background:var(--accent);box-shadow:0 0 0 calc(var(--loading-dot-size) * .5) transparent;transform:scale(1.2)}}@media (prefers-reduced-motion:reduce){.loading-indicator-dot{background:var(--accent);box-shadow:none;animation:none;transform:scale(.9)}}
