.settings-heading{align-items:baseline;gap:var(--space-4);margin-bottom:var(--space-6);flex-wrap:wrap;display:flex}.settings-heading h1{margin:0}.settings-layout{gap:var(--space-8);grid-template-columns:13.5rem minmax(0,1fr);align-items:start;display:grid}.settings-sidebar{border-right:1px solid var(--color-line);min-width:0;padding-right:var(--space-4);position:sticky;top:6rem}.settings-nav-group+.settings-nav-group{margin-top:var(--space-4)}.settings-nav-group>p{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--color-muted);margin:0 0 var(--space-1) var(--space-3)}.settings-sidebar nav a{align-items:center;gap:var(--space-3);min-height:44px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-control);color:var(--color-muted);font-size:var(--text-body);line-height:var(--leading-body);display:flex}.settings-sidebar nav a[aria-current=page]{background:var(--color-brand-soft);color:var(--color-brand);font-weight:var(--weight-semibold)}.settings-sidebar nav a:hover{color:var(--color-brand)}.settings-logout{margin-top:var(--space-5)}.settings-content{min-width:0}.settings-content>.workspace{padding:0}.settings-content>.workspace-card{margin-top:0}.settings-mobile-home,.settings-mobile-backbar{display:none}.settings-content .password-settings summary,.settings-disclosure>summary{cursor:pointer;min-height:44px;font-weight:var(--weight-semibold);align-content:center}.settings-disclosure{margin-top:var(--space-4)}.settings-disclosure>div{margin-top:var(--space-3)}.settings-form-section+.settings-form-section{margin-top:var(--space-5)}.settings-form-section h3{font-size:var(--text-body);line-height:var(--leading-body);margin:0 0 var(--space-3)}.settings-content :is(.settings-title,.documents-workspace>.page-title-row h1){font-size:var(--text-section);line-height:var(--leading-section);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-heading)}@media (width<=800px){.settings-layout{grid-template-columns:minmax(0,1fr);gap:0}.settings-sidebar,.settings-home>.settings-layout,.settings-workspace:not(.settings-home)>.settings-heading{display:none}.settings-mobile-home{background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius-control);padding:0 var(--space-4);display:grid}.settings-mobile-home section{min-width:0}.settings-mobile-home h2{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--color-muted);margin:var(--space-3) 0 var(--space-1);font-weight:var(--weight-medium)}.settings-mobile-home a,.settings-mobile-home button{align-items:center;gap:var(--space-3);min-height:48px;padding:var(--space-3) 0;border:0;border-bottom:1px solid var(--color-line);font:inherit;color:var(--color-ink);text-align:left;cursor:pointer;background:0 0;display:flex}.settings-mobile-home a>span,.settings-mobile-home button>span{flex:1;min-width:0}.settings-mobile-home button{border-bottom:0}.settings-mobile-backbar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}.settings-mobile-back{align-items:center;gap:var(--space-2);min-height:44px;color:var(--color-brand);flex-shrink:0;display:inline-flex}}:root:has(.settings-workspace){background:var(--color-surface)}body:has(.settings-workspace){background:var(--color-surface)}.settings-content :is(.workspace-card,.empty-card):not(:where(dialog *)){box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.settings-workspace .settings-mobile-home{background:0 0;border:0;border-radius:0;padding:0}.settings-content :is(.data-table-wrap,.document-list,.recovered-library){box-shadow:none;background:0 0;border:0;border-radius:0}.settings-content .data-table :is(th,td):first-child{padding-left:0}.settings-content .data-table :is(th,td):last-child{padding-right:0}.settings-content .team-permissions{border:0;border-radius:0;padding:0}.settings-content .team-mobile-cards{gap:0}.settings-content .team-mobile-member{padding-block:var(--space-4);border-bottom:1px solid var(--color-line)}.settings-content .template-grid{display:block}.settings-content .template-card{gap:var(--space-1) var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--color-line);grid-template-columns:minmax(0,1fr) auto;display:grid}.settings-content .template-grid .template-card :is(.template-tags,h2,p){grid-column:1;margin:0}.settings-content .template-card h2{font-size:var(--text-body);line-height:var(--leading-body)}.settings-content .template-card>:is(a,button){align-self:center;align-items:center;gap:var(--space-2);padding:var(--space-2) 0;grid-area:1/2/4;min-height:44px;margin:0;display:inline-flex}.settings-content .booking-publish,.settings-content .booking-notifications+.booking-notifications{border-top:1px solid var(--color-line);padding-top:var(--space-5)}@media (width<=600px){.settings-content .template-card{grid-template-columns:minmax(0,1fr)}.settings-content .template-card>:is(a,button){grid-area:auto/1;justify-self:start}}.settings-content .organization-settings{gap:var(--space-6);grid-template-columns:minmax(0,1fr);max-width:48rem}.settings-content .services-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.settings-content .services-heading-actions{justify-content:flex-end;justify-self:end}.settings-content .booking-timezone{margin:var(--space-2) 0 var(--space-5)}@media (width<=720px){.settings-content .services-heading{grid-template-columns:minmax(0,1fr)}.settings-content .services-heading-actions{justify-self:stretch}}.select-control{vertical-align:middle;flex-direction:column;min-width:0;max-width:100%;display:inline-flex;position:relative}.select-trigger{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--control-height);width:100%;min-width:130px;max-width:100%;padding:var(--space-2) var(--space-3);border:1px solid var(--color-line-strong);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-ink);font:inherit;font-size:var(--text-body);line-height:var(--leading-body);text-align:left;cursor:pointer;box-shadow:none;display:inline-flex}.select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.select-trigger>.ui-icon{color:var(--color-muted);transition:transform .15s}.select-trigger[data-state=open]>.ui-icon{transform:rotate(180deg)}.select-trigger:hover:not(:disabled){border-color:var(--color-brand-border);background:var(--color-brand-soft)}.select-trigger:focus-visible,.select-trigger[data-state=open]{outline:2px solid var(--color-focus);outline-offset:2px;border-color:var(--accent)}.select-trigger:disabled{cursor:not-allowed;background:var(--color-surface-subtle);opacity:.55}.select-trigger[aria-invalid=true]{border-color:var(--color-danger)}.select-popup,.nav-menu-popup{z-index:100;border:1px solid var(--color-line);border-radius:var(--radius-overlay);background:var(--color-surface);color:var(--color-ink);box-shadow:var(--shadow-overlay);font-family:var(--font-ui);overflow:hidden}.select-popup{min-width:var(--radix-select-trigger-width);max-width:min(480px,100vw - 24px);max-height:var(--radix-select-content-available-height)}.multi-select-popup{width:var(--radix-popover-trigger-width);min-width:0;max-height:min(20rem, var(--radix-popover-content-available-height));padding:var(--space-1);overflow:auto}.multi-select-popup .multi-select-option{justify-content:flex-start;gap:var(--space-3);min-height:44px;display:flex}.multi-select-option>input{flex:none}.multi-select-option>span{overflow-wrap:anywhere;min-width:0}.select-viewport{padding:var(--space-1);max-height:320px}.select-group-label{padding:var(--space-1) var(--space-3);color:var(--color-muted);font-size:var(--text-caption);line-height:var(--leading-caption);font-weight:var(--weight-semibold)}.select-group+.select-group{border-block-start:1px solid var(--color-line);margin-block-start:var(--space-1);padding-block-start:var(--space-1)}.select-option{justify-content:space-between;align-items:center;gap:var(--space-5);min-height:var(--control-height);padding:var(--space-2) var(--space-3);border-radius:var(--radius-control);font-size:var(--text-body);line-height:var(--leading-body);cursor:pointer;-webkit-user-select:none;user-select:none;overflow-wrap:anywhere;outline:none;display:flex;position:relative}.select-option[data-state=checked]{font-weight:var(--weight-semibold);color:var(--color-brand)}.select-option[data-disabled]{opacity:.4;cursor:not-allowed}.select-check{color:var(--color-brand);flex:none;display:flex}.select-scroll{height:26px;color:var(--color-muted);background:var(--color-surface);cursor:default;justify-content:center;align-items:center;display:flex}.client-field>.select-control{width:100%}.language-picker .select-trigger{min-width:155px}.account-select.select-control{background:0 0;border:0;max-width:280px;padding:0}.signing-header>.select-control{max-width:180px}.nav-menu-popup{padding:var(--space-1);min-width:210px;max-width:calc(100vw - 24px)}.nav-menu-item{justify-content:flex-start;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-2) var(--space-3);font-size:var(--text-body);line-height:var(--leading-body);border-radius:var(--radius-control);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;display:flex}.nav-menu-item>.ui-icon{flex-shrink:0}.nav-menu-item[role=menuitemradio]{justify-content:space-between;gap:var(--space-4)}.nav-menu-item:focus-visible,.select-option:focus-visible,.multi-select-option>input:focus-visible{outline:none}:is(.nav-menu-popup,.select-popup):not([data-pointer-input]) :is(.nav-menu-item,.select-option,.multi-select-option>input):focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px}@media (hover:hover){:is(.nav-menu-popup,.select-popup)[data-pointer-input] :is(.nav-menu-item,.select-option):hover:not([data-disabled]){background:var(--color-surface-subtle)}.nav-menu-popup[data-pointer-input] .nav-menu-item[data-tone=danger]:hover:not([data-disabled]){background:var(--color-danger-soft)}}.nav-menu-item[data-disabled]{opacity:.4;cursor:not-allowed}.nav-menu-item[data-tone=danger]{color:var(--color-danger)}.icon-button .lucide-circle-user-round{width:24px;height:24px}@media (prefers-reduced-motion:reduce){.select-trigger>.ui-icon{transition:none}}.back-link{align-items:center;gap:var(--space-2);display:inline-flex}.signing-create-actions label>.select-control{margin-top:var(--space-1);display:flex}.template-original>.select-control{margin:0 var(--space-3)}.search-control>.ui-icon{color:var(--muted)}.settings-menu-popup{min-width:250px}.nav-menu-label{padding:var(--space-2) var(--space-3);font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--muted)}.nav-menu-separator{background:var(--line);height:1px;margin:var(--space-1)}.nav-menu-item:is([aria-current=page],[aria-checked=true]){color:var(--accent)}.mobile-bottom-nav{display:none}.mobile-bottom-link{justify-content:center;align-items:center;gap:var(--space-1);min-width:0;min-height:56px;color:var(--color-muted);font-family:var(--font-ui);font-size:var(--text-caption);line-height:var(--leading-caption);font-weight:var(--weight-medium);cursor:pointer;background:0 0;border:0;flex-direction:column;padding:0;display:flex}.mobile-bottom-icon{border-radius:var(--radius-round);place-items:center;width:56px;height:28px;display:grid}.mobile-bottom-link[aria-current=page],.mobile-bottom-link[data-active=true],.mobile-bottom-link[data-state=open]{color:var(--color-brand);font-weight:var(--weight-semibold)}.mobile-bottom-link[aria-current=page] .mobile-bottom-icon,.mobile-bottom-link[data-active=true] .mobile-bottom-icon,.mobile-bottom-link[data-state=open] .mobile-bottom-icon{background:var(--color-brand-soft)}.mobile-bottom-link:hover{color:var(--color-brand-hover)}.mobile-bottom-link:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px;border-radius:var(--radius-control)}@media (width<=1080px){.mobile-bottom-nav{z-index:40;height:calc(var(--space-16) + env(safe-area-inset-bottom,var(--space-0)));padding:var(--space-1) max(var(--space-3),env(safe-area-inset-right,var(--space-0))) calc(var(--space-1) + env(safe-area-inset-bottom,var(--space-0))) max(var(--space-3),env(safe-area-inset-left,var(--space-0)));background:var(--color-surface);border-top:1px solid var(--color-line);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}}.settings-menu-popup{max-height:var(--radix-dropdown-menu-content-available-height);overscroll-behavior:contain;overflow-y:auto}.select-mobile-icon{display:none}@media (width<=720px){.select-control.select-control--mobile-icon .select-trigger{width:var(--control-height);min-width:var(--control-height);min-height:var(--control-height);padding:var(--space-2);color:var(--color-muted);background:0 0;border-color:#0000;justify-content:center}.select-control--mobile-icon .select-trigger>span:first-child,.select-control--mobile-icon .select-trigger>.ui-icon{display:none}.select-control--mobile-icon .select-mobile-icon{display:inline-flex}.select-control.select-control--mobile-icon .select-trigger:hover:not(:disabled){background:var(--color-brand-soft)}}@font-face{font-family:RegelioInter;src:url(/fonts/inter/Inter-cyrillic-ext.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:RegelioInter;src:url(/fonts/inter/Inter-cyrillic.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:RegelioInter;src:url(/fonts/inter/Inter-latin-ext.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap;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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:RegelioInter;src:url(/fonts/inter/Inter-latin.woff2)format("woff2");font-weight:400 700;font-style:normal;font-display:swap;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{--font-ui:RegelioInter, Inter, ui-sans-serif, system-ui, sans-serif;--font-code:ui-monospace, SFMono-Regular, Consolas, monospace;--font-google:"Google Sans", Arial, sans-serif;--color-google-label:#1f1f1f;--color-google-border:#747775;--google-icon-gap:10px;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--text-micro:10px;--leading-micro:14px;--text-calendar:11px;--leading-calendar:16px;--text-caption:12px;--leading-caption:18px;--text-label:13px;--leading-label:20px;--text-body:14px;--leading-body:22px;--text-lead:16px;--leading-lead:24px;--text-card:18px;--leading-card:26px;--text-section:24px;--leading-section:32px;--text-page:32px;--leading-page:40px;--text-display:48px;--leading-display:56px;--text-marketing:60px;--leading-marketing:66px;--tracking-heading:-.025em;--tracking-brand:-.055em;--tracking-eyebrow:.08em;--color-brand:#187f17;--color-brand-hover:#10640f;--color-brand-soft:#edf5e9;--color-brand-border:#a4bd98;--color-canvas:#f5f7f4;--color-surface:#fff;--color-surface-subtle:#f1f4ef;--color-ink:#17251f;--color-muted:#5f6d64;--color-placeholder:#68766c;--color-line:#dce3da;--color-line-strong:#82907d;--color-focus:#187f17;--color-danger:#b42318;--color-danger-soft:#fff0ee;--color-danger-border:#e5b6b0;--color-resource-conflict:#713900;--color-resource-conflict-soft:#ffdeb0;--color-warning:#865b1d;--color-warning-soft:#fff3d8;--color-info:#175a8b;--color-info-soft:#edf5fc;--color-event:#35782b;--color-now:#c93737;--color-selection:#e1efd6aa;--space-0:0px;--space-half:2px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;--radius-badge:4px;--radius-control:8px;--radius-card:12px;--radius-overlay:16px;--radius-round:999px;--shadow-overlay:0 12px 36px #19351c20, 0 2px 8px #19351c08;--color-modal-backdrop:#17251f66;--control-height:44px;--checkbox-size:20px;--page-gutter:var(--space-8);--page-top:var(--space-8);--section-gap:var(--space-8);--grid-gap:var(--space-6);--card-padding:var(--space-6);--heading-section-gap:var(--section-gap);--heading-description-gap:var(--space-1);--heading-gap:var(--space-4);--field-gap:var(--space-6);--accent:var(--color-brand);--accent-hover:var(--color-brand-hover);--muted:var(--color-muted);--ink:var(--color-ink);--line:var(--color-line);--surface:var(--color-surface);--radius:var(--radius-card)}@media (width<=720px){:root{--text-marketing:48px;--leading-marketing:56px;--text-page:28px;--leading-page:36px;--text-display:32px;--leading-display:40px;--page-gutter:var(--space-4);--page-top:var(--space-6);--section-gap:var(--space-6);--grid-gap:var(--space-4);--card-padding:var(--space-4);--field-gap:var(--space-5)}}:root{--color-admin-header:#171e33;--color-admin-foreground:#f8faff;--color-admin-muted:#c8d0e4;--color-admin-raised:#2a3450;--color-admin-line:#54617d;--color-admin-accent:#8e88f5;--color-admin-badge:#2d2b4b;--color-admin-badge-ink:#ddd9ff;--color-admin-banner-ink:#28245d}:root[data-regelio-surface=admin]{--color-canvas:#f1f3f9;--color-brand:#4945b8;--color-brand-hover:#393592;--color-brand-soft:#ecebfc;--color-brand-border:#aaa7de;--color-focus:#4945b8}*{box-sizing:border-box}:root{font-family:var(--font-ui);font-size:var(--text-body);line-height:var(--leading-body);color:var(--color-ink);background:var(--color-canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}:where(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}main:focus{outline:none}:where(h1,h2,h3,p){margin:0}:where(h1,h2,h3,[id]){scroll-margin-top:140px}h1,.type-page{font-size:var(--text-page);line-height:var(--leading-page);font-weight:var(--weight-bold);letter-spacing:var(--tracking-heading)}h2,.type-section{font-size:var(--text-section);line-height:var(--leading-section);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-heading)}h3,.type-card{font-size:var(--text-card);line-height:var(--leading-card);font-weight:var(--weight-semibold)}.type-body{font-size:var(--text-body);line-height:var(--leading-body)}.type-lead{font-size:var(--text-lead);line-height:var(--leading-lead);font-weight:var(--weight-regular)}.type-label{font-size:var(--text-label);line-height:var(--leading-label);font-weight:var(--weight-semibold)}.type-caption,small{font-size:var(--text-caption);line-height:var(--leading-caption)}.muted,.type-description,.page-description,.settings-description{color:var(--color-muted);font-size:var(--text-body);line-height:var(--leading-body)}.eyebrow{font-size:var(--text-caption);line-height:var(--leading-caption);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-eyebrow);color:var(--color-brand);margin-bottom:var(--space-2)}.button{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-control);min-height:var(--control-height);padding:var(--space-2) var(--space-4);font-size:var(--text-body);line-height:var(--leading-body);font-weight:var(--weight-semibold);border:1px solid #0000;transition:background .15s;display:inline-flex}.button-primary{background:var(--color-brand);color:var(--color-surface)}.button-primary:hover:not(:disabled){background:var(--color-brand-hover)}.button-secondary{background:var(--color-surface);border-color:var(--color-line);color:var(--color-brand)}.button-secondary:hover:not(:disabled),.button-quiet:hover:not(:disabled){background:var(--color-brand-soft)}.button-quiet{color:var(--color-muted);background:0 0}.button-danger{background:var(--color-surface);color:var(--color-danger);border-color:var(--color-danger-border)}.button-danger:hover:not(:disabled){background:var(--color-danger-soft)}.button-wide{justify-content:space-between;width:100%}.icon-button{width:var(--control-height);height:var(--control-height);border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-brand);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-button[aria-current]{background:var(--color-brand-soft);border-color:var(--color-brand-border)}@media (hover:hover){.icon-button:hover:not(:where([aria-haspopup=menu][aria-expanded=true])){background:var(--color-brand-soft);border-color:var(--color-brand-border)}}.ui-icon{flex-shrink:0}.workspace-card,.auth-card,.empty-card,.client-tab-panel{background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius-card);padding:var(--card-padding);min-width:0}.workspace-card h2,.auth-card h2{font-size:var(--text-card);line-height:var(--leading-card);font-weight:var(--weight-semibold);letter-spacing:0;margin-bottom:var(--heading-gap)}.workspace-card>p+p{margin-top:var(--space-2)}.page-title-row{justify-content:space-between;align-items:center;gap:var(--space-6);margin-bottom:var(--section-gap);display:flex}.page-title-row>div{min-width:0}.page-title-row h1{margin-bottom:0}.page-title-row h1+p{margin-top:var(--space-2)}.page-heading{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}.page-heading-title{overflow-wrap:anywhere;min-width:0;margin:0}.page-heading-actions{justify-content:flex-end;align-items:center;gap:var(--space-3);flex-wrap:wrap;flex:0 auto;display:flex}.page-description{margin-top:var(--space-2);margin-bottom:var(--section-gap)}.page-actions,.form-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.form-actions{margin-top:var(--section-gap)}.form-actions:has(>.client-field){align-items:flex-end}.client-fields{gap:var(--field-gap);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.client-field,.form-field{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.client-field label,.auth-card label,.settings-form label{font-size:var(--text-label);line-height:var(--leading-label);font-weight:var(--weight-semibold)}.text-input,.client-field :is(input:where(:not([type=checkbox],[type=file])),textarea,select),.auth-card input,.settings-form input,.invitation-result input{width:100%;min-width:0;min-height:var(--control-height);border:1px solid var(--color-line);border-radius:var(--radius-control);padding:var(--space-2) var(--space-3);background:var(--color-surface);color:var(--color-ink);font-size:var(--text-body);line-height:var(--leading-body)}input::placeholder,textarea::placeholder{color:var(--color-placeholder);opacity:1}.client-field textarea{resize:vertical}.field-wide{grid-column:1/-1}.text-input[aria-invalid=true],.client-field [aria-invalid=true]{border-color:var(--color-danger)}.field-error,.form-error{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--color-danger)}.form-help,.client-field .muted{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--color-muted)}.form-help{margin:var(--space-2) 0 var(--space-4)}.form-error{margin-bottom:var(--space-4)}.crm-error,.notice-error{padding:var(--space-4);background:var(--color-danger-soft);color:var(--color-danger);border-radius:var(--radius-control)}.crm-error{margin:var(--space-5) 0}.crm-error p{margin:0}.status-badge{color:var(--color-brand);background:var(--color-brand-soft);font-size:var(--text-caption);line-height:var(--leading-caption);border-radius:var(--radius-badge);padding:var(--space-1) var(--space-2);flex-shrink:0;align-items:center;display:inline-flex}.ds-warning{align-items:center;column-gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-card);background:var(--color-warning-soft);color:var(--color-ink);overflow-wrap:anywhere;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon title"".body"".action";display:grid}.ds-warning-icon{width:var(--space-8);height:var(--space-8);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-warning);grid-area:icon;place-items:center;display:grid}.ds-warning-title{color:var(--color-warning);font-size:var(--text-lead);line-height:var(--leading-lead);font-weight:var(--weight-semibold);grid-area:title;margin:0}.ds-warning-body{grid-area:body}.ds-warning-body>p{margin:0}.ds-warning-action{grid-area:action}@media (width>=721px){.ds-warning:has(>.ds-warning-action){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon title action"".body body"}}.text-link,.profile-details a{color:var(--color-brand);text-underline-offset:3px;text-decoration:underline}.back-link{align-items:center;gap:var(--space-2);color:var(--color-muted);font-size:var(--text-label);line-height:var(--leading-label);min-height:var(--control-height);margin-bottom:var(--space-4);display:inline-flex}.stack{gap:var(--space-4);flex-direction:column;display:flex}.stack-section{gap:var(--section-gap);flex-direction:column;display:flex}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=720px){.client-fields{grid-template-columns:1fr}.page-title-row{align-items:flex-start;gap:var(--space-4);flex-direction:column}.page-title-row>.button{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.text-input:disabled,.client-field :is(input:where(:not([type=checkbox],[type=file])),textarea):disabled,.auth-card input:disabled,.settings-form input:disabled{background:var(--color-surface-subtle);color:var(--muted);cursor:not-allowed}.card-heading{margin-bottom:var(--heading-gap)}.card-heading>:is(h2,h3),.workspace-card .card-heading>:is(h2,h3){margin:0}.card-heading>.muted{margin-top:var(--space-1)}.workspace-card :is(h2,h3):has(+.muted){margin-bottom:0}.workspace-card :is(h2,h3)+.muted{margin-top:var(--space-1)}.workspace-card>:is(h2,h3)+.muted:not(:last-child){margin-bottom:var(--heading-gap)}.text-input,.client-field :is(input:where(:not([type=checkbox],[type=file])),textarea,select),.auth-card input,.settings-form input,.invitation-result input{border-color:var(--color-line-strong)}input[type=checkbox]{width:var(--checkbox-size);height:var(--checkbox-size);accent-color:var(--color-brand);flex-shrink:0}input[type=file]{width:100%;min-width:0;max-width:100%;font:inherit;color:var(--color-muted);display:block}input[type=file]::file-selector-button{min-height:var(--control-height);margin-right:var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--color-line-strong);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-brand);font:inherit;font-weight:var(--weight-semibold);cursor:pointer}input[type=file]:hover:not(:disabled)::file-selector-button{background:var(--color-brand-soft)}input[type=file]:disabled::file-selector-button{cursor:not-allowed;opacity:.55}.data-table-wrap{border:1px solid var(--color-line);border-radius:var(--radius-card);background:var(--color-surface);min-width:0;max-width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:var(--text-body);line-height:var(--leading-body);text-align:left}.data-table th,.data-table td{padding:var(--space-3) var(--space-4);vertical-align:middle}.data-table thead{background:var(--color-canvas);color:var(--color-muted)}.data-table th{font-weight:var(--weight-semibold)}.data-table tbody tr+tr{border-top:1px solid var(--color-line)}@media (width<=720px){.icon-button,.icon-button:hover,.icon-button[aria-current]{border-color:#0000}}.ds-list-action{--row-inset:var(--space-2);min-height:var(--control-height);margin-inline:calc(-1 * var(--row-inset));padding:var(--space-3) var(--row-inset);border-radius:var(--radius-control);color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0}.ds-list-action:is(:hover,:focus-visible){background:var(--color-surface-subtle)}.inline-comment-trigger,.inline-comment-form .inline-comment-input{width:100%;min-width:0;font:inherit;color:inherit;display:block}.inline-comment-trigger{min-height:var(--control-height);padding:var(--space-2) var(--space-3);border:1px solid var(--color-line);border-radius:var(--radius-control);text-align:start;overflow-wrap:anywhere;background:0 0}@media (hover:hover){.inline-comment-trigger:hover{border-color:var(--color-line-strong)}}.inline-comment-form .inline-comment-input{resize:vertical}.inline-comment-form{gap:var(--space-3);display:grid}.inline-comment-form .form-actions{margin:0}@font-face{font-family:Google Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/google-sans/GoogleSans-cyrillic-ext.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Google Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/google-sans/GoogleSans-cyrillic.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Google Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/google-sans/GoogleSans-latin-ext.woff2)format("woff2");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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Google Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/google-sans/GoogleSans-latin.woff2)format("woff2");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}.skip-link{top:-80px;left:var(--space-4);z-index:110;background:var(--surface);padding:var(--space-3);border:1px solid var(--accent);position:absolute}.skip-link:focus{top:var(--space-3)}.app-header{z-index:50;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0}@media (display-mode:standalone){.app-header{padding-top:env(safe-area-inset-top,var(--space-0))}.header-inner{padding-inline:max(var(--page-gutter), env(safe-area-inset-left,var(--space-0))) max(var(--page-gutter), env(safe-area-inset-right,var(--space-0)))}}.environment-banner{padding:var(--space-2) var(--space-4);background:var(--color-warning-soft);color:var(--color-warning);text-align:center;font-size:var(--text-label);line-height:var(--leading-label)}.header-inner{max-width:1280px;min-height:80px;padding:0 var(--page-gutter);align-items:center;gap:var(--space-6);margin:auto;display:flex}.brand{font-size:var(--text-page);line-height:var(--leading-page);font-weight:var(--weight-bold);letter-spacing:var(--tracking-brand);color:var(--accent)}.brand-dot{color:var(--accent)}.header-caption{color:var(--muted);margin-left:auto}.desktop-nav{align-self:stretch;gap:var(--space-6);display:flex}.desktop-nav a{font-weight:var(--weight-medium);color:var(--muted);border-bottom:3px solid #0000;align-items:center;display:flex}.desktop-nav a[aria-current=page]{border-color:var(--accent);color:var(--accent)}.desktop-nav a:hover{color:var(--accent)}.header-actions{gap:var(--space-2);align-items:center;display:flex}.nav-search{flex:1;min-width:160px;max-width:320px;margin-left:auto;position:relative}.nav-search-control{align-items:center;gap:var(--space-2);padding:0 var(--space-3);min-height:var(--control-height);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--color-canvas);color:var(--muted);display:flex}.nav-search-control:focus-within{outline:2px solid var(--color-focus);outline-offset:2px}.nav-search-control input{width:100%;min-width:0;padding:var(--space-2) 0;color:var(--ink);background:0 0;border:0;outline:0}.nav-search-results{z-index:1;color:var(--color-ink);top:calc(100% + var(--space-2));background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-overlay);min-width:260px;max-height:60svh;box-shadow:var(--shadow-overlay);position:absolute;left:0;right:0;overflow:auto}.nav-search-results p{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--muted);padding:var(--space-3) var(--space-4)}.nav-search-results ul{margin:0;padding:0;list-style:none}.nav-search-results a{gap:var(--space-1);padding:var(--space-3) var(--space-4);border-top:1px solid var(--line);overflow-wrap:anywhere;display:grid}.nav-search-results a:hover{background:var(--color-brand-soft)}.nav-search-results small{color:var(--muted)}.workspace{max-width:1280px;padding:var(--page-top) var(--page-gutter) var(--space-12);margin:auto}.not-found-page>:is(h1,h2,p){margin:0 0 var(--space-2)}.not-found-page>.button{margin-top:var(--space-3)}.workspace>h1{margin-bottom:var(--section-gap)}.workspace>h1:has(+.page-description){margin-bottom:0}.auth-layout{max-width:1160px;min-height:calc(100svh - 81px);padding:var(--space-16) var(--page-gutter);gap:var(--space-24);grid-template-columns:1.2fr 1fr;align-items:center;margin:auto;display:grid}.auth-intro h1{font-size:var(--text-display);line-height:var(--leading-display);letter-spacing:var(--tracking-heading);font-weight:var(--weight-semibold);margin-bottom:var(--space-6)}.auth-intro h1 span{color:var(--accent)}.intro-copy{max-width:380px;font-size:var(--text-lead);line-height:var(--leading-lead);color:var(--muted);margin-bottom:var(--space-8)}.intro-features{gap:var(--space-4);display:grid}.intro-feature{align-items:center;gap:var(--space-4);display:flex}.feature-number{font-size:var(--text-caption);line-height:var(--leading-caption);font-weight:var(--weight-semibold);background:var(--color-brand-soft);width:32px;height:32px;color:var(--accent);border-radius:var(--radius-control);justify-content:center;align-items:center;display:inline-flex}.intro-footnote{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--muted);margin-top:var(--space-12)}.card-mark{background:var(--color-brand-soft);color:var(--accent);font-size:var(--text-section);line-height:var(--leading-section);font-weight:var(--weight-bold);border-radius:var(--radius-card);width:48px;height:48px;margin-bottom:var(--space-6);justify-content:center;align-items:center;display:inline-flex}.auth-card h2{font-size:var(--text-section);line-height:var(--leading-section);margin-bottom:var(--space-2)}.auth-card form{margin-top:var(--space-6);flex-direction:column;display:flex}.google-login{gap:var(--space-2);margin-top:var(--space-4);display:grid}.google-signin-button{justify-content:center;align-items:center;gap:var(--google-icon-gap);width:100%;min-height:var(--control-height);padding:var(--space-2) var(--space-3);border:1px solid var(--color-google-border);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-google-label);font-family:var(--font-google);font-size:var(--text-body);font-weight:var(--weight-medium);line-height:var(--leading-label);display:flex}.google-signin-button img{object-fit:contain;flex:0 0 20px;width:20px;height:20px}.google-signin-button span{text-align:center}.google-signin-button:enabled:hover{box-shadow:inset 0 0 0 1px var(--color-google-border)}.organization-choice{max-width:640px}.organization-choice-list{gap:var(--space-3);display:grid}.organization-choice-button{min-height:64px;padding:var(--space-4);text-align:left}.organization-choice-button span{overflow-wrap:anywhere;flex:1}.auth-card label{margin-bottom:var(--space-2)}.auth-card input{margin-bottom:var(--field-gap)}.auth-help{font-size:var(--text-caption);line-height:var(--leading-caption);color:var(--muted);text-align:center;border-top:1px solid var(--line);margin-top:var(--space-6);padding-top:var(--space-5)}.notice{max-width:1080px;margin:var(--space-5) auto;padding:var(--space-4);border-radius:var(--radius-control)}.loading{padding:var(--space-20) var(--space-6);text-align:center;color:var(--muted)}.empty-card{padding:var(--space-12) var(--card-padding);text-align:center}.empty-symbol{color:var(--accent);font-size:var(--text-page);line-height:var(--leading-page)}.empty-card h2{font-size:var(--text-card);line-height:var(--leading-card);margin:var(--space-4) 0 var(--space-2)}.platform-grid{gap:var(--grid-gap);grid-template-columns:1.1fr 1fr;align-items:start;display:grid}.owner-invitation-result{margin-bottom:var(--space-6)}.owner-invitation-result input{width:100%;min-width:0}.platform-account-name{min-width:0}.platform-grid .account-list li{flex-wrap:wrap}.count{color:var(--muted);font-size:var(--text-body);line-height:var(--leading-body);margin-left:var(--space-2)}.account-list{margin:0;padding:0;list-style:none}.account-list li{align-items:center;gap:var(--space-3);padding:var(--space-4) 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;justify-content:space-between;display:flex}.account-list li:last-child{border-bottom:0}.settings-form{gap:var(--space-2);display:grid}.settings-form label:not(:first-child),.settings-form .button{margin-top:var(--space-4)}.invitation-result{padding:var(--space-5);background:var(--color-brand-soft);border-radius:var(--radius-card);margin-top:var(--space-6);overflow-wrap:anywhere}.invitation-result .button{margin-top:var(--space-3)}.onboarding-wrap{max-width:540px;margin:var(--space-12) auto;padding:0 var(--page-gutter)}.onboarding-wrap h1{font-size:var(--text-section);line-height:var(--leading-section);margin-bottom:var(--space-3);overflow-wrap:anywhere}.invite-login-note{max-width:1080px;margin:var(--space-6) auto 0;padding:0 var(--space-6);text-align:center;color:var(--accent)}.accept-button{margin-top:var(--space-6)}.account-select{max-width:280px}.language-picker{position:relative}.language-picker .form-error{max-width:200px;margin:var(--space-2) 0 0;display:block}.profile-card{overflow-wrap:anywhere;max-width:600px}.profile-card h3{margin:var(--section-gap) 0 var(--space-2)}.public-language{margin-left:auto}.header-caption+.public-language{margin-left:0}@media (width<=1080px){.desktop-nav{display:none}.header-inner{gap:var(--space-3);min-height:72px;padding-top:var(--space-3);padding-bottom:var(--space-3);flex-wrap:wrap}.nav-search{max-width:none}.auth-layout{gap:var(--space-12)}}@media (width<=720px){.auth-layout{gap:var(--section-gap);padding:var(--space-8) var(--page-gutter);flex-direction:column;align-items:stretch;max-width:480px;min-height:calc(100svh - 73px);display:flex}.intro-copy{font-size:var(--text-body);line-height:var(--leading-body);margin:0}.intro-features,.intro-footnote,.card-mark,.header-caption{display:none}.header-caption+.public-language{margin-left:auto}.platform-grid{grid-template-columns:1fr}.notice{margin:var(--space-4)}.onboarding-wrap{margin:var(--space-8) auto}}@media (width<=600px){.header-actions{margin-left:auto}.nav-search{flex-basis:100%;order:5}.nav-search-results{min-width:0}.page-actions{gap:var(--space-2);align-items:stretch;width:100%}.page-actions .button{padding:var(--space-2);flex:1}}:root{--mobile-navigation-space:0px}@media (width<=1080px){.account-header .header-actions{display:none}.has-mobile-navigation{--mobile-navigation-space:calc(var(--space-16) + env(safe-area-inset-bottom,0px));padding-bottom:var(--mobile-navigation-space)}html:has(.mobile-bottom-nav){scroll-padding-bottom:calc(var(--space-16) + var(--space-4) + env(safe-area-inset-bottom,0px))}}@media (width<=600px){.account-header .nav-search{flex-basis:0;order:0;min-width:0}}.admin-auth-layout{justify-content:center;display:flex}.admin-auth-layout .auth-card{width:100%;max-width:440px}.admin-header .header-actions{margin-left:auto}.support-banner{--support-header-height:0px;top:var(--support-header-height);z-index:35;justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-8);background:var(--color-warning-soft);border-block:1px solid var(--color-warning);color:var(--color-warning);display:flex;position:sticky}.support-banner p{margin:var(--space-1) 0}.support-banner small{max-width:76ch;display:block}.support-banner .button{flex-shrink:0}.platform-account-name{overflow-wrap:anywhere;flex:1}.admin-contact{overflow-wrap:anywhere;display:block}.platform-invitations{margin-top:var(--space-6)}@media (width<=600px){.support-banner{padding:var(--space-4);flex-wrap:wrap}.support-banner .button{width:100%}.account-list li{flex-wrap:wrap}.account-list li>.button{width:100%}}:root[data-regelio-surface=admin] .app-header{background:var(--color-admin-header);color:var(--color-admin-foreground);border-bottom:3px solid var(--color-admin-accent)}:root[data-regelio-surface=admin] .app-header .brand img{filter:brightness(0)invert()}:root[data-regelio-surface=admin] .app-header .brand{color:var(--color-admin-foreground)}:root[data-regelio-surface=admin] .app-header .icon-button{color:var(--color-admin-foreground);background:var(--color-admin-raised);border-color:var(--color-admin-line)}:root[data-regelio-surface=admin] .support-banner{background:var(--color-brand-soft);border-color:var(--color-admin-accent);color:var(--color-admin-banner-ink)}.admin-header .header-inner{gap:var(--space-4);flex-wrap:wrap}.admin-brand{align-items:center;gap:var(--space-4);display:flex}.admin-badge{color:var(--color-admin-badge-ink);border:1px solid var(--color-admin-line);background:var(--color-admin-badge);border-radius:var(--radius-badge);padding:var(--space-1) var(--space-2);font-size:var(--text-caption);font-weight:var(--weight-bold);text-transform:uppercase;letter-spacing:var(--tracking-eyebrow)}.admin-navbar{gap:var(--space-1);flex-wrap:wrap;margin-left:auto;display:flex}.admin-navbar a{color:var(--color-admin-foreground);opacity:.7;padding:var(--space-2) var(--space-3);border-radius:var(--radius-control);font-size:var(--text-caption);font-weight:var(--weight-semibold);text-decoration:none}.admin-navbar a:hover{opacity:1;color:var(--color-admin-foreground);background:var(--color-admin-raised)}.admin-navbar a[aria-current=page]{opacity:1;color:var(--color-admin-foreground);background:var(--color-brand)}.admin-logout{color:var(--color-admin-foreground);border:1px solid var(--color-admin-line);background:0 0}.admin-logout:hover{background:var(--color-admin-raised);color:var(--color-admin-foreground)}:root:has(.admin-more){background:var(--color-surface)}body:has(.admin-more){background:var(--color-surface)}.admin-more{max-width:36rem}.admin-more-row{align-items:center;gap:var(--space-3);width:100%;min-height:48px;padding:var(--space-2) 0;border:0;border-bottom:1px solid var(--color-line);color:var(--color-ink);font:inherit;text-align:start;cursor:pointer;background:0 0;display:flex}.admin-more-row>span{flex:1;min-width:0}.admin-more-row>svg{color:var(--color-muted);flex-shrink:0}.admin-more-row:hover{background:var(--color-surface-subtle);color:var(--color-brand)}@media (width<=1080px){.admin-navbar,.admin-logout{display:none}.mobile-bottom-nav.admin-tab-bar{padding-inline:max(var(--space-1),env(safe-area-inset-left)) max(var(--space-1),env(safe-area-inset-right));grid-template-columns:repeat(4,minmax(0,1fr))}.admin-tab-bar .mobile-bottom-link{grid-template-rows:var(--space-6) auto;align-content:start;place-items:center;row-gap:var(--space-1);line-height:var(--leading-micro);text-align:center;overflow-wrap:anywhere;text-decoration:none;display:grid}.admin-tab-bar .mobile-bottom-icon{width:var(--space-10);height:var(--space-6)}.admin-tab-bar .mobile-bottom-link[aria-current] .mobile-bottom-icon{background:0 0}.admin-tab-bar .mobile-bottom-link:focus-visible{outline:none}.admin-tab-bar .mobile-bottom-link:focus-visible .mobile-bottom-icon{outline:2px solid var(--color-focus);outline-offset:-2px}.admin-settings .settings-layout{grid-template-columns:minmax(0,1fr)}.admin-settings :is(.settings-sidebar,.settings-heading){display:none}.admin-settings .settings-mobile-backbar{margin-bottom:var(--space-3);display:flex}.admin-settings .settings-mobile-back{align-items:center;gap:var(--space-2);min-height:44px;display:inline-flex}}@media (width<=600px){.admin-header .header-inner{gap:var(--space-3)}.admin-brand{gap:var(--space-2);flex-wrap:wrap}}.password-settings{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--color-line)}.password-settings .settings-form{max-width:420px}.password-settings input,.ds-dialog .settings-form input{width:100%;min-width:0}.account-list li.platform-account-row{grid-template-columns:minmax(0,1fr) auto auto;display:grid}.platform-account-row>div:first-child{min-width:0}.account-actions-trigger{font-size:var(--text-section);line-height:var(--leading-section)}.account-action-status{grid-column:1/-1}.stats-toolbar{align-items:center;gap:var(--space-4);margin:var(--space-4) 0 var(--space-6)}.stats-generated{margin:0}.stats-dau{margin-top:var(--space-6)}.stats-dau-chart{gap:var(--space-3);display:grid}.stats-dau-chart svg{width:100%;height:auto;display:block}.stats-dau-grid{stroke:var(--color-line);stroke-width:1px}.stats-dau-axis{fill:var(--color-muted);font-size:var(--text-calendar)}.stats-dau-line{stroke-width:2.25px;stroke-linecap:round;stroke-linejoin:round}.stats-dau-line-staff{stroke:var(--color-brand)}.stats-dau-line-clients{stroke:var(--color-warning)}.stats-dau-dot-staff{fill:var(--color-brand)}.stats-dau-dot-clients{fill:var(--color-warning)}.stats-dau-legend{gap:var(--space-4);color:var(--color-muted);font-size:var(--text-caption);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.stats-dau-legend li{align-items:center;gap:var(--space-2);display:inline-flex}.stats-dau-swatch{width:var(--space-3);height:var(--space-3);border-radius:var(--radius-round);display:inline-block}.stats-dau-swatch-staff{background:var(--color-brand)}.stats-dau-swatch-clients{background:var(--color-warning)}.stats-periods{gap:var(--space-6);margin-top:var(--space-6);display:grid}@media (width>=960px){.stats-periods{grid-template-columns:repeat(3,minmax(0,1fr))}}.stats-period-note{margin:0 0 var(--space-4)}.stats-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(10.5rem,1fr));margin:0;padding:0;list-style:none;display:grid}.stats-metric{gap:var(--space-1);padding:var(--space-3);border:1px solid var(--color-line);border-radius:var(--radius-control);background:var(--color-surface);flex-direction:column;min-width:0;display:flex}.stats-metric-value{font-size:var(--text-section);font-weight:var(--weight-bold);line-height:var(--leading-section);font-variant-numeric:tabular-nums}.stats-metric-label{color:var(--color-ink);font-size:var(--text-caption);font-weight:var(--weight-medium);line-height:var(--leading-caption)}.stats-metric-hint{color:var(--color-muted);font-size:var(--text-caption);line-height:var(--leading-caption)}.mobile-screen-navbar,.mobile-screen-tabs,.nav-search-mobile-toggle,.nav-search-mobile-close{display:none}@media (width<=720px){.has-mobile-screen .header-inner{gap:var(--space-1);min-height:56px;padding:var(--space-1) var(--space-3);position:relative}.has-mobile-screen .header-inner>.brand{display:none}.mobile-screen-navbar{flex:1;min-width:0;display:block}.mobile-screen-bar,.mobile-screen-loading{gap:var(--space-1);align-items:center;min-width:0;min-height:48px;display:flex}.mobile-screen-navbar:has(.mobile-screen-bar)>.mobile-screen-loading{display:none}.mobile-screen-title,.mobile-screen-loading h1{min-width:0;font-size:var(--text-card);line-height:var(--leading-lead);overflow-wrap:anywhere;flex:1;margin:0}.mobile-screen-back,.mobile-screen-actions{flex:none}.mobile-screen-actions .client-deletion{margin:0}.mobile-screen-tabs:not(:empty){padding:0 var(--space-4);display:block}.mobile-screen-tabs .client-tabs{border:0;grid-template-columns:minmax(0,.85fr) minmax(0,.85fr) minmax(0,1.2fr) minmax(0,1.15fr);gap:0;margin:0;display:grid;overflow:visible}.mobile-screen-tabs .client-tab{padding:var(--space-2) var(--space-1);min-width:0;min-height:48px;font-size:var(--text-label);line-height:var(--leading-label);white-space:nowrap}.mobile-screen-tabs .client-tab-secondary,.mobile-screen-tabs .client-tab-desktop-label{display:none}.mobile-screen-tabs .client-tabs .client-tab>span:not(.client-tab-desktop-label){text-overflow:ellipsis;min-width:0;display:block;overflow:hidden}.mobile-screen-tabs .client-tab-mobile-label{display:inline}.mobile-screen-tabs .client-tab-more{justify-content:center;align-items:center;gap:var(--space-1);display:flex}.mobile-screen-tabs .client-status-nav{border:0;margin:0}.mobile-screen-tabs:has(nav){border-top:1px solid var(--color-line)}.client-detail-page>h1,.client-directory-page>.page-title-row>h1,.client-detail-page>.back-link,.client-detail-page .client-heading-name{display:none}.crm-workspace:has(.client-form)>.back-link{display:none}.crm-workspace:has(.client-form)>h1{display:none}.client-directory-page>.page-title-row,.client-detail-page>.client-detail-title{margin:0}.has-mobile-screen .nav-search--compact-mobile{flex:none;width:44px;min-width:44px;margin:0;position:static}.nav-search--compact-mobile .nav-search-control{display:none}.nav-search--compact-mobile .nav-search-mobile-toggle{display:inline-flex}.has-mobile-screen .nav-search--mobile-open{inset:var(--space-1) var(--space-3) auto;z-index:60;background:var(--color-surface);align-items:center;gap:var(--space-1);width:auto;display:flex;position:absolute}.nav-search--mobile-open .nav-search-control{flex:1;min-width:0;display:flex}.nav-search--mobile-open .nav-search-mobile-toggle{display:none}.nav-search--mobile-open .nav-search-mobile-close{flex:none;display:inline-flex}.nav-search--mobile-open .nav-search-results{top:100%}:root:has(.mobile-page-layout){background:var(--color-surface)}body:has(.mobile-page-layout){background:var(--color-surface)}.mobile-screen-title,.mobile-screen-loading h1{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mobile-page-layout .settings-heading,.mobile-page-layout .settings-mobile-backbar,.mobile-page-layout .settings-content .settings-title,.mobile-page-layout .team-workspace>.team-back,.mobile-page-layout .team-workspace>.page-title-row>h2,.mobile-page-layout>.events-workspace>h1,.mobile-page-layout>.events-workspace>.back-link,.mobile-page-layout>.events-workspace>.page-title-row h1,.mobile-page-layout .documents-workspace>h1,.mobile-page-layout .documents-workspace>.back-link,.mobile-page-layout .documents-workspace>.page-title-row h1,.mobile-page-layout .schedule-shell>h1{display:none}.mobile-page-layout>.workspace{padding-top:var(--space-4)}.mobile-page-layout .workspace-card:not(:where(dialog *)),.mobile-page-layout .empty-card:not(:where(dialog *)){box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.mobile-page-layout .document-list,.mobile-page-layout .template-card{box-shadow:none;border-radius:0}.mobile-page-layout .template-card{padding:var(--space-4) 0;border-width:0 0 1px}.mobile-page-layout .team-workspace>.page-title-row:has(.mobile-list-action){margin:0}:is(.mobile-screen-tabs:has(.settings-tabs),.mobile-screen-tabs:has(.billing-tabs),.mobile-screen-tabs:has(.schedule-toolbar)){border-top:1px solid var(--color-line)}.mobile-screen-tabs :is(.settings-tabs,.billing-tabs){gap:var(--space-3);border:0;min-width:0;margin:0;display:flex;overflow:visible}.mobile-screen-tabs :is(.settings-tabs,.billing-tabs)>button{min-width:0;min-height:48px;padding:var(--space-2) 0;font-size:var(--text-label);white-space:nowrap;justify-content:center;align-items:center;gap:var(--space-1);flex:1;display:inline-flex}.mobile-screen-tabs .schedule-toolbar{padding:var(--space-2) 0;gap:var(--space-1);margin:0}.mobile-screen-tabs .calendar-icon-button{width:44px;height:44px}.mobile-page-actions,.mobile-list-action,.mobile-visit-edit{bottom:var(--mobile-navigation-space);z-index:39;box-sizing:border-box;justify-content:center;align-items:center;gap:var(--space-2);background:var(--color-surface);border:0;border-top:1px solid var(--color-line);border-radius:0;min-height:64px;display:flex;position:fixed;left:0;right:0;padding:var(--space-2) var(--space-4)!important;margin:0!important}.mobile-page-actions>.button-primary,.mobile-list-action>.button{flex:1;min-height:44px}.mobile-page-actions>:is(a,button){min-width:0;min-height:44px;font-size:var(--text-label)}.mobile-page-layout:has(.mobile-page-actions,.mobile-list-action,.mobile-visit-edit){padding-bottom:calc(var(--mobile-navigation-space) + var(--space-16) + var(--space-6))}html:has(.mobile-page-actions,.mobile-list-action,.mobile-visit-edit){scroll-padding-bottom:calc(var(--mobile-navigation-space) + var(--space-16) + var(--space-6));scroll-padding-top:160px}.mobile-page-layout .client-form>.form-actions{margin-bottom:0}.mobile-page-layout .team-mobile-member{padding:var(--space-3) 0!important;border-bottom:1px solid var(--color-line)!important}.mobile-page-layout .team-mobile-member :is(h3,p){margin-block:var(--space-1)}.mobile-page-layout .mobile-list-action>.button{width:100%;min-height:44px}.mobile-page-layout .services-heading:has(.mobile-list-action){margin-bottom:var(--space-3)}.mobile-page-layout .team-workspace>.page-title-row{display:contents}.mobile-page-layout .team-mobile-member{gap:var(--space-1)}.mobile-page-layout .team-mobile-member :is(h3,p){margin:0}.mobile-page-layout .team-mobile-member h3{font-size:var(--text-body);line-height:var(--leading-body)}.mobile-page-layout .team-access-summary{font-size:var(--text-label);line-height:var(--leading-label);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mobile-screen-tabs :is(.settings-tabs,.billing-tabs)>.ds-tab{padding-inline:var(--space-1)}.mobile-screen-tabs .settings-tab-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-screen-tabs .settings-tabs>button>.ui-icon{flex:none}}
