/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root{--navy-900:#0c2340;--navy-800:#102a4a;--navy-700:#1a5276;--navy-600:#1e3a5f;--navy-500:#3d6391;--navy-300:#7fa3c4;--navy-100:#dce6f0;--navy-50:#f4f7fb;--bronze-700:#a0863a;--bronze-600:#b59640;--bronze-500:#c9a84c;--bronze-400:#d4b65e;--bronze-100:#f5eedf;--gray-900:#1a1f2b;--gray-800:#2c3340;--gray-700:#4a5060;--gray-600:#6b7284;--gray-500:#8a91a3;--gray-400:#a8afc0;--gray-300:#c9ced9;--gray-200:#e2e5ec;--gray-100:#eef0f4;--gray-50:#f6f7fa;--success-700:#1f5f3f;--success-500:#2d8659;--success-100:#ddefe4;--warning-700:#8a6100;--warning-500:#b8860b;--warning-100:#f8edd1;--danger-700:#812525;--danger-500:#a83030;--danger-100:#f5d9d9;--info-700:#1a4a7a;--info-500:#1e3a5f;--info-100:#dce4f0;--font-sans:"Inter", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-serif:var(--font-sans);--font-mono:"JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;--fs-xs:12px;--fs-sm:14px;--fs-base:16px;--fs-md:18px;--fs-lg:20px;--fs-xl:24px;--fs-2xl:30px;--fs-3xl:38px;--fs-4xl:48px;--fw-regular:400;--fw-medium:500;--fw-semibold:600;--fw-bold:700;--lh-tight:1.15;--lh-snug:1.35;--lh-normal:1.55;--lh-relaxed:1.75;--ls-tight:-.015em;--ls-normal:0;--ls-wide:.06em;--ls-wider:.12em;--space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px;--space-32:128px;--radius-none:0;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-full:9999px;--ease-out:cubic-bezier(.2, .8, .3, 1);--ease-in:cubic-bezier(.5, 0, .75, 0);--ease-inout:cubic-bezier(.4, 0, .2, 1);--dur-fast:.12s;--dur-base:.18s;--dur-slow:.28s;--z-base:1;--z-dropdown:100;--z-sticky:200;--z-navbar:300;--z-modal:400;--z-toast:500;--z-tooltip:600;--sidebar-width:256px;--topbar-height:56px;--container-max:1280px;--control-height:40px;--control-height-sm:32px;--control-height-lg:48px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#f4f6f9;--color-surface:#fff;--color-surface-alt:#f6f7fa;--color-surface-hover:#f0f3f7;--color-surface-raised:#fff;--color-border-subtle:#eef1f5;--color-border:#e2e6ec;--color-border-strong:#cdd3dc;--color-text:#1a1f2b;--color-text-muted:#4a5060;--color-text-subtle:#6b7284;--color-text-placeholder:#8a91a3;--color-text-disabled:#a8afc0;--color-text-inverse:#fff;--color-heading:#0c2340;--color-primary:#0c2340;--color-primary-hover:#1a365d;--color-primary-active:#0a1f44;--color-primary-fg:#fff;--color-primary-soft:#e8ecf4;--color-primary-soft-fg:#1a365d;--color-accent:#c9a84c;--color-accent-hover:#b59640;--color-accent-fg:#fff;--color-accent-soft:#f5eedf;--color-accent-soft-fg:#a0863a;--color-link:#1a5276;--color-link-hover:#0c2340;--color-selected-bg:#e8eef6;--color-selected-border:#0c2340;--color-focus-ring:#0c234024;--color-overlay:#0a1f448c;--color-sidebar-bg:#0c2340;--color-sidebar-fg:#fff;--color-sidebar-fg-muted:#ffffff8c;--color-sidebar-fg-subtle:#ffffff59;--color-sidebar-border:#ffffff14;--color-sidebar-hover:#ffffff12;--color-sidebar-active:#ffffff21;--color-sidebar-icon-fill:#fff3;--color-topbar-bg:#fff;--color-topbar-border:#eef1f5;--status-success-bg:#ddefe4;--status-success-fg:#1f5f3f;--status-success-border:#2d8659;--status-success-solid:#2d8659;--status-warning-bg:#f8edd1;--status-warning-fg:#8a6100;--status-warning-border:#b8860b;--status-warning-solid:#b8860b;--status-danger-bg:#f5d9d9;--status-danger-fg:#812525;--status-danger-border:#a83030;--status-danger-solid:#a83030;--status-danger-solid-hover:#8f2727;--status-info-bg:#dce4f0;--status-info-fg:#1a4a7a;--status-info-border:#1e3a5f;--status-info-solid:#1e3a5f;--status-neutral-bg:#eef0f4;--status-neutral-fg:#4a5060;--status-neutral-border:#c9ced9;--shadow-xs:0 1px 2px #0a1f440d;--shadow-sm:0 2px 4px #0a1f4414, 0 1px 2px #0a1f440a;--shadow-md:0 6px 16px #0a1f441a, 0 2px 4px #0a1f440f;--shadow-lg:0 12px 32px #0a1f4424, 0 4px 8px #0a1f4414;--shadow-focus:0 0 0 3px var(--color-focus-ring);--shadow-focus-navy:var(--shadow-focus);--matter-matiere-ma-bg:var(--color-accent-soft);--matter-matiere-ma-fg:var(--color-accent-soft-fg);--matter-matiere-contentieux-bg:var(--status-info-bg);--matter-matiere-contentieux-fg:var(--status-info-fg);--matter-matiere-corporate-bg:var(--color-primary-soft);--matter-matiere-corporate-fg:var(--color-primary-soft-fg);--matter-matiere-ip-bg:var(--color-accent-soft);--matter-matiere-ip-fg:var(--color-accent-soft-fg);--matter-matiere-social-bg:var(--status-neutral-bg);--matter-matiere-social-fg:var(--status-neutral-fg);--matter-matiere-fiscal-bg:var(--color-primary-soft);--matter-matiere-fiscal-fg:var(--color-heading);--matter-matiere-immobilier-bg:var(--color-accent-soft);--matter-matiere-immobilier-fg:var(--color-accent-soft-fg);--matter-matiere-penal-bg:var(--status-danger-bg);--matter-matiere-penal-fg:var(--status-danger-fg);--matter-matiere-autre-bg:var(--status-neutral-bg);--matter-matiere-autre-fg:var(--color-text-subtle);--matter-confidentiality-standard-bg:var(--status-neutral-bg);--matter-confidentiality-standard-fg:var(--color-text-subtle);--matter-confidentiality-restricted-bg:var(--status-warning-bg);--matter-confidentiality-restricted-fg:var(--status-warning-fg);--matter-confidentiality-danger-bg:var(--status-danger-bg);--matter-confidentiality-danger-fg:var(--status-danger-fg);--matter-confidentiality-danger-border:var(--status-danger-border);--matter-statut-brouillon-bg:var(--status-neutral-bg);--matter-statut-brouillon-fg:var(--color-text-subtle);--matter-statut-ouvert-bg:var(--status-info-bg);--matter-statut-ouvert-fg:var(--status-info-fg);--matter-statut-en-cours-bg:var(--status-success-bg);--matter-statut-en-cours-fg:var(--status-success-fg);--matter-statut-pending-bg:var(--color-accent-soft);--matter-statut-pending-fg:var(--color-accent-soft-fg);--matter-statut-attente-client-bg:var(--status-warning-bg);--matter-statut-attente-client-fg:var(--status-warning-fg);--matter-statut-clos-bg:var(--status-neutral-bg);--matter-statut-clos-fg:var(--status-neutral-fg);--matter-statut-archive-bg:var(--color-surface-alt);--matter-statut-archive-fg:var(--color-text-placeholder);--dashboard-kpi-bg:var(--navy-900);--dashboard-kpi-fg:var(--navy-50);--dashboard-kpi-muted:var(--navy-300);--dashboard-kpi-up:var(--status-success-solid);--dashboard-kpi-down:var(--danger-500);--dashboard-kpi-watch:var(--bronze-400);--dashboard-mark:var(--navy-900);--dashboard-mark-muted:var(--gray-400);--dashboard-track:var(--gray-200);--backoffice-plan-trial:#d97706;--backoffice-plan-essentiel:#2563eb;--backoffice-plan-professionnel:#7c3aed;--backoffice-plan-enterprise:#0c2340;--backoffice-plan-other:#64748b;--backoffice-stage-identified:#0c2340;--backoffice-stage-email-sent:#eab308;--backoffice-stage-replied:#8b5cf6;--backoffice-stage-demo-planned:#ec4899;--backoffice-stage-demo-done:#f97316;--backoffice-stage-trial:#06b6d4;--backoffice-stage-active:#22c55e;--backoffice-stage-paying:#15803d;--backoffice-stage-lost:#ef4444;--backoffice-chart-bar:var(--status-success-solid);--backoffice-chart-empty:var(--color-border);--backoffice-chart-new:var(--status-success-solid);--backoffice-chart-expansion:var(--backoffice-plan-essentiel);--backoffice-chart-contraction:var(--status-warning-solid);--backoffice-chart-churn:var(--status-danger-solid);--backoffice-chart-churn-fill:var(--status-danger-solid)}@supports (color:color-mix(in lab, red, red)){:root{--backoffice-chart-churn-fill:color-mix(in srgb, var(--status-danger-solid) 10%, transparent)}}:root{--backoffice-chart-grid:var(--color-border);--backoffice-chart-text:var(--color-text-subtle);--backoffice-cohort:var(--backoffice-plan-enterprise);--mail-frame-bg:#fff;--portal-logo-bg:#fff;--calendar-audience:#dc2626;--calendar-audience-bg:#fef2f2;--calendar-echeance:#d97706;--calendar-echeance-bg:#fffbeb;--calendar-rdv:#0c2340;--calendar-rdv-bg:#eff6ff;--calendar-interne:#6b7280;--calendar-interne-bg:#f3f4f6;--calendar-deadline:#d97706;--calendar-deadline-bg:#fffbeb;--calendar-deadline-text:#92400e;--calendar-autre:#16a34a;--calendar-autre-bg:#f0fdf4;--timeline-tone-info:#0ea5e9;--timeline-tone-muted:#64748b;--timeline-tone-danger:#dc2626;--timeline-tone-primary:#0c2340;--timeline-tone-success:#059669;--timeline-tone-violet:#8b5cf6;--timeline-tone-subtle:#94a3b8;--timeline-tone-warning:#d97706;--signature-ses-bg:#f5eedf;--signature-ses-fg:#a0863a;--signature-ses-border:#c9a84c;--signature-aes-bg:#dce6f0;--signature-aes-fg:#0c2340;--signature-aes-border:#1e3a5f;--signature-qes-bg:#0c2340;--signature-qes-fg:#d4b65e;--signature-qes-border:#0c2340;--signature-valid-bg:#e8f4ee;--signature-expired-bg:#fdf4e1;--signature-revoked-fg:#7a1f1f;--ivory-50:var(--color-surface);--ivory-100:var(--color-surface-alt);--ivory-200:var(--color-border);--color-bg-primary:var(--color-surface);--button-primary-text:var(--color-primary-fg)}html.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f141b;--color-surface:#171d27;--color-surface-alt:#1c2330;--color-surface-hover:#222b39;--color-surface-raised:#1f2734;--color-border-subtle:#222a36;--color-border:#2b3442;--color-border-strong:#3b4656;--color-text:#e8ecf1;--color-text-muted:#aab3c2;--color-text-subtle:#7f899b;--color-text-placeholder:#667184;--color-text-disabled:#4f5a6c;--color-text-inverse:#0f141b;--color-heading:#f2f5f9;--color-primary:#9fbfe0;--color-primary-hover:#b6cfe9;--color-primary-active:#86acd4;--color-primary-fg:#0b1a2e;--color-primary-soft:#1d2b40;--color-primary-soft-fg:#b6cfe9;--color-accent:#d4b06a;--color-accent-hover:#e0c080;--color-accent-fg:#0b1a2e;--color-accent-soft:#33301f;--color-accent-soft-fg:#e0c080;--color-link:#9fbfe0;--color-link-hover:#c8dbef;--color-selected-bg:#1d2b40;--color-selected-border:#9fbfe0;--color-focus-ring:#9fbfe047;--color-overlay:#0000009e;--color-sidebar-bg:#0b111a;--color-sidebar-fg:#e8ecf1;--color-sidebar-fg-muted:#e8ecf18c;--color-sidebar-fg-subtle:#e8ecf159;--color-sidebar-border:#ffffff0f;--color-sidebar-hover:#ffffff0f;--color-sidebar-active:#9fbfe029;--color-sidebar-icon-fill:#9fbfe033;--color-topbar-bg:#171d27;--color-topbar-border:#2b3442;--status-success-bg:#12301f;--status-success-fg:#86d6a8;--status-success-border:#2d8659;--status-success-solid:#3a9c6a;--status-warning-bg:#33280c;--status-warning-fg:#ecc56a;--status-warning-border:#b8860b;--status-warning-solid:#cf9a1a;--status-danger-bg:#3a1717;--status-danger-fg:#f1a5a5;--status-danger-border:#a83030;--status-danger-solid:#c04545;--status-danger-solid-hover:#d05656;--status-info-bg:#16283f;--status-info-fg:#a9c6e6;--status-info-border:#3d6391;--status-info-solid:#3d6391;--status-neutral-bg:#232c3a;--status-neutral-fg:#aab3c2;--status-neutral-border:#3b4656;--shadow-xs:0 1px 2px #00000059;--shadow-sm:0 2px 4px #0000004d, 0 1px 2px #0003;--shadow-md:0 6px 16px #00000059, 0 2px 4px #00000040;--shadow-lg:0 12px 32px #00000073, 0 4px 8px #0000004d;--dashboard-kpi-bg:var(--color-surface-raised);--dashboard-kpi-fg:var(--color-text);--dashboard-kpi-muted:var(--color-text-muted);--dashboard-mark:var(--color-primary);--dashboard-mark-muted:var(--color-text-disabled);--dashboard-track:var(--color-border);--calendar-rdv:var(--color-link);--calendar-audience-bg:var(--color-surface-alt);--calendar-echeance-bg:var(--color-surface-alt);--calendar-rdv-bg:var(--color-surface-alt);--calendar-interne-bg:var(--color-surface-alt);--calendar-deadline-bg:var(--color-surface-alt);--calendar-deadline-text:var(--calendar-deadline);--calendar-autre-bg:var(--color-surface-alt);--timeline-tone-primary:var(--color-link);--signature-ses-bg:var(--color-surface-alt);--signature-ses-fg:var(--color-accent);--signature-ses-border:var(--color-accent);--signature-aes-bg:var(--status-info-bg);--signature-aes-fg:var(--status-info-fg);--signature-aes-border:var(--status-info-border);--signature-qes-bg:var(--color-surface-raised);--signature-qes-fg:var(--color-accent);--signature-qes-border:var(--color-accent);--signature-valid-bg:var(--status-success-bg);--signature-expired-bg:var(--status-warning-bg);--signature-revoked-fg:var(--status-danger-fg)}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px;overflow-x:clip}body{width:100%;max-width:100%;font-family:var(--font-sans);font-size:var(--fs-sm);font-weight:var(--fw-regular);line-height:var(--lh-normal);color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;position:relative;overflow-x:clip}[hidden]{display:none!important}img,svg{max-width:100%;display:inline-block}h1,h2,h3,h4,h5,h6{font-family:var(--font-sans);font-weight:var(--fw-bold);line-height:var(--lh-tight);letter-spacing:var(--ls-tight);color:var(--color-heading);margin:0 0 var(--space-4)}h1{font-size:24px}h2{font-size:20px}h3{font-size:16px;font-weight:var(--fw-semibold)}h4{font-size:var(--fs-lg);font-weight:var(--fw-semibold)}h5{font-size:var(--fs-md);font-weight:var(--fw-semibold)}h6{font-size:var(--fs-base);font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:var(--ls-wide)}p{margin:0 0 var(--space-4)}a{color:var(--color-link);text-underline-offset:2px;transition:color var(--dur-fast) var(--ease-out);text-decoration:none}a:hover{color:var(--color-link-hover)}.admin-main a:hover{text-decoration:underline}.admin-main a:hover:where(.btn,.btn-icon,.card-link,.record-card,.matter-row__link,.dashboard-list-main,.matter-tab,.tab,.page-btn,.wizard-step,.sidebar-item,.quick-create-menu a,.user-menu-panel a){text-decoration:none}hr{border:0;border-top:1px solid var(--color-border);margin:var(--space-6) 0}small,.text-small{font-size:13px}button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}button{cursor:pointer}button[disabled]{cursor:not-allowed}:focus-visible{box-shadow:var(--shadow-focus);border-radius:var(--radius-sm);outline:none}.text-muted,.text-subtle{color:var(--color-text-subtle)}.eyebrow,.page-eyebrow{margin:0 0 var(--space-2);font-size:var(--fs-xs);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:var(--ls-wider);color:var(--color-accent-soft-fg);display:block}.lede{margin:0 0 var(--space-8);font-size:var(--fs-base);color:var(--color-text-muted)}.container{max-width:var(--container-max);padding:0 var(--space-8);margin:0 auto}.sr-only,.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.skip-link{top:-100px;left:var(--space-4);z-index:var(--z-toast);padding:var(--space-2) var(--space-4);background:var(--color-primary);color:var(--color-primary-fg);border-radius:var(--radius-md);font-weight:var(--fw-semibold);transition:top var(--dur-base) var(--ease-out);text-decoration:none;position:absolute}.skip-link:focus-visible{top:var(--space-4)}@media (width<=767px){.hide-mobile{display:none!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.admin-shell{width:100%;max-width:100vw;min-height:100vh;padding-left:var(--sidebar-width);background:var(--color-bg);overflow-x:clip}.admin-main{background:var(--color-bg);width:100%;min-width:0;max-width:100%;padding:28px 32px;overflow-x:clip}.admin-main>*,.admin-main table,.admin-main section,.admin-main form{max-width:100%}.admin-sidebar{width:var(--sidebar-width);height:100vh;padding:var(--space-6) 0 var(--space-8);background:var(--color-sidebar-bg);color:var(--color-sidebar-fg);z-index:var(--z-sticky);position:fixed;top:0;left:0;overflow-y:auto}.sidebar-brand{border-bottom:1px solid var(--color-sidebar-border);color:var(--color-sidebar-fg);align-items:center;gap:12px;margin-bottom:4px;padding:18px;text-decoration:none;display:flex}.sidebar-brand:hover{color:var(--color-sidebar-fg);text-decoration:none}.sidebar-brand .brand-logo{object-fit:contain;filter:brightness(0)invert();opacity:.95;max-width:32px;max-height:32px}.sidebar-brand .brand-name{font-weight:var(--fw-semibold);font-size:var(--fs-md);letter-spacing:-.01em;line-height:1.15}.sidebar-nav{flex-direction:column;display:flex}.sidebar-section{font-size:10px;font-weight:var(--fw-bold);letter-spacing:.14em;text-transform:uppercase;color:var(--color-sidebar-fg-subtle);padding:22px 18px 8px}.sidebar-item{border-radius:var(--radius-lg);font-size:14.5px;font-weight:var(--fw-medium);color:var(--color-sidebar-fg);transition:background var(--dur-fast) ease, color var(--dur-fast) ease;align-items:center;gap:14px;margin:1px 10px;padding:11px 18px;text-decoration:none;display:flex;position:relative}.sidebar-item .icon{stroke:currentColor;fill:none;stroke-width:1.8px;flex-shrink:0;width:26px;height:26px}.sidebar-item svg.icon [fill]{fill:var(--color-sidebar-icon-fill)}.sidebar-item:hover{background:var(--color-sidebar-hover);color:var(--color-sidebar-fg);text-decoration:none}.sidebar-item:focus-visible{box-shadow:0 0 0 2px var(--color-sidebar-fg-muted)}.sidebar-item[aria-current=page],.sidebar-item.is-active{background:var(--color-sidebar-active);font-weight:var(--fw-semibold)}.sidebar-item.is-disabled{opacity:.45;cursor:not-allowed}.sidebar-item.is-disabled:hover{background:0 0}.sidebar-item .sidebar-badge{background:var(--status-danger-solid);min-width:18px;height:18px;color:var(--color-text-inverse);font-size:10px;font-weight:var(--fw-bold);letter-spacing:-.02em;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:0 5px;line-height:1;display:inline-flex}.sidebar-item .sidebar-badge.is-warning{background:var(--status-warning-solid)}.sidebar-item .sidebar-badge.is-info{background:var(--status-info-solid)}.sidebar-group{margin-bottom:2px}.sidebar-group-toggle{width:100%;font:inherit;font-size:10px;font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:.08em;text-align:left;color:var(--color-sidebar-fg-muted);cursor:pointer;-webkit-user-select:none;user-select:none;transition:color var(--dur-fast) ease;background:0 0;border:0;justify-content:space-between;align-items:center;padding:6px 12px 6px 16px;display:flex}.sidebar-group-toggle:hover{color:var(--color-sidebar-fg)}.sidebar-group-toggle .sidebar-group-chevron{stroke:currentColor;fill:none;stroke-width:2.5px;opacity:.5;width:10px;height:10px;transition:transform var(--dur-base) ease;flex-shrink:0}.sidebar-group.is-collapsed .sidebar-group-chevron{transform:rotate(-90deg)}.sidebar-group.is-collapsed .sidebar-group-items{display:none}.sidebar-group-badge{border-radius:var(--radius-full);background:var(--status-danger-solid);min-width:16px;color:var(--color-text-inverse);font-size:9px;font-weight:var(--fw-bold);text-align:center;margin-left:auto;margin-right:4px;padding:1px 5px;line-height:14px}.sidebar-backdrop{background:var(--color-overlay);z-index:calc(var(--z-modal) - 1);-webkit-tap-highlight-color:transparent;display:none;position:fixed;inset:0}.admin-topbar{height:var(--topbar-height);padding:0 var(--space-6);background:var(--color-topbar-bg);border-bottom:1px solid var(--color-topbar-border);z-index:var(--z-navbar);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.admin-topbar .topbar-left{align-items:center;gap:var(--space-4);flex:1;min-width:0;display:flex}.admin-topbar .topbar-right{align-items:center;gap:var(--space-3);display:flex}.admin-topbar .menu-toggle{background:var(--color-surface-alt);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);width:38px;height:38px;color:var(--color-heading);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background var(--dur-fast) ease;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:0;display:none}.admin-topbar .menu-toggle:hover{background:var(--color-surface-hover)}.menu-toggle .bar{width:18px;height:2px;transition:transform var(--dur-slow) ease, opacity var(--dur-slow) ease;background:currentColor;border-radius:1px}.menu-toggle[aria-expanded=true] .bar:first-child{transform:rotate(45deg)translate(4px,4px)}.menu-toggle[aria-expanded=true] .bar:nth-child(2){opacity:0}.menu-toggle[aria-expanded=true] .bar:nth-child(3){transform:rotate(-45deg)translate(4px,-4px)}.admin-topbar .breadcrumb{align-items:center;gap:var(--space-2);min-width:0;font-size:var(--fs-sm);color:var(--color-text-subtle);display:flex;overflow:hidden}.admin-topbar .breadcrumb a{color:var(--color-text-subtle);text-decoration:none}.admin-topbar .breadcrumb a:hover{color:var(--color-heading);text-underline-offset:2px;text-decoration:underline}.admin-topbar .breadcrumb .sep{color:var(--color-text-disabled);font-size:12px}.admin-topbar .breadcrumb .current{color:var(--color-heading);font-size:16px;font-weight:var(--fw-semibold);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.breadcrumb-name{color:var(--color-text-subtle);font-size:var(--fs-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.breadcrumb-pill{padding:2px var(--space-2);border-radius:var(--radius-full);background:var(--status-neutral-bg);color:var(--status-neutral-fg);font-size:var(--fs-xs);font-weight:var(--fw-semibold);white-space:nowrap;flex:none}.breadcrumb-pill.is-open{background:var(--status-success-bg);color:var(--status-success-fg)}.breadcrumb-pill.is-pending{background:var(--status-warning-bg);color:var(--status-warning-fg)}.topbar-bell,.theme-toggle,.mobile-search-btn,.topbar-icon-btn{border-radius:var(--radius-md);width:40px;height:40px;color:var(--color-text-subtle);cursor:pointer;transition:background var(--dur-fast) ease, color var(--dur-fast) ease;background:0 0;border:0;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex;position:relative}.topbar-bell:hover,.theme-toggle:hover,.mobile-search-btn:hover,.topbar-icon-btn:hover{background:var(--color-surface-hover);color:var(--color-heading)}.topbar-bell.is-disabled,.topbar-icon-btn.is-disabled,.topbar-icon-btn[disabled]{opacity:.45;cursor:not-allowed}.topbar-bell.is-disabled:hover,.topbar-icon-btn.is-disabled:hover,.topbar-icon-btn[disabled]:hover{color:var(--color-text-subtle);background:0 0}.topbar-bell .dot{border-radius:var(--radius-full);background:var(--status-danger-solid);width:8px;height:8px;box-shadow:0 0 0 2px var(--color-topbar-bg);position:absolute;top:10px;right:10px}.theme-toggle .icon-sun{display:none}.theme-toggle .icon-moon,html.dark .theme-toggle .icon-sun{display:block}html.dark .theme-toggle .icon-moon,.mobile-search-btn{display:none}.quick-create{margin-right:var(--space-2);position:relative}.quick-create-trigger{border-radius:var(--radius-md);background:var(--color-primary);width:36px;height:36px;color:var(--color-primary-fg);font-size:18px;font-weight:var(--fw-bold);cursor:pointer;transition:background var(--dur-fast) ease;border:0;justify-content:center;align-items:center;display:flex}.quick-create-trigger:hover{background:var(--color-primary-hover)}.quick-create-menu{background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:220px;box-shadow:var(--shadow-md);z-index:var(--z-dropdown);padding:6px 0;position:absolute;top:calc(100% + 6px);right:0}.quick-create-menu[hidden]{display:none}.quick-create-menu .menu-sep{border-top:1px solid var(--color-border);margin:4px 0}.quick-create-menu a,.quick-create-menu .is-disabled{color:var(--color-text);transition:background var(--dur-fast) ease;align-items:center;gap:8px;padding:8px 14px;font-size:13px;text-decoration:none;display:flex}.quick-create-menu a:hover{background:var(--color-surface-hover);color:var(--color-heading)}.quick-create-menu .is-disabled{color:var(--color-text-disabled);cursor:not-allowed}.topbar-search-wrap{margin-right:var(--space-3);position:relative}.topbar-search-input{border:1px solid var(--color-border);border-radius:var(--radius-full);background:var(--color-surface-alt);width:200px;color:var(--color-text);font-size:var(--fs-sm);outline:none;padding:6px 12px 6px 32px}.topbar-search-input::placeholder{color:var(--color-text-placeholder)}.topbar-search-input[disabled]{cursor:not-allowed;opacity:.7}.topbar-search-icon{color:var(--color-text-placeholder);pointer-events:none;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.search-dropdown{background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:360px;max-width:calc(100vw - 16px);max-height:400px;box-shadow:var(--shadow-md);z-index:var(--z-dropdown);position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.search-dropdown-heading{font-size:11px;font-weight:var(--fw-semibold);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.5px;background:var(--color-surface-alt);padding:4px 12px}.search-dropdown-action{color:var(--color-heading);font-size:13px;font-weight:var(--fw-semibold);border-bottom:1px solid var(--color-border-subtle);align-items:center;gap:8px;padding:8px 12px;text-decoration:none;display:flex}.search-dropdown-action.is-disabled{color:var(--color-text-disabled);cursor:not-allowed}.search-dropdown-action-icon{border-radius:var(--radius-sm);background:var(--color-primary-soft);justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;display:flex}.search-dropdown-item{color:var(--color-text);border-bottom:1px solid var(--color-border-subtle);padding:8px 12px;font-size:13px;text-decoration:none;display:block}.search-dropdown-action.is-active,.search-dropdown-item.is-active{background:var(--color-surface-hover)}.search-dropdown-label{font-weight:var(--fw-medium)}.search-dropdown-sub{color:var(--color-text-subtle);font-size:11px}.search-dropdown-empty{text-align:center;color:var(--color-text-subtle);padding:16px;font-size:13px}.search-dropdown-all{text-align:center;font-size:12px;font-weight:var(--fw-semibold);color:var(--color-link);background:var(--color-surface-alt);border-top:1px solid var(--color-border);padding:10px 12px;text-decoration:none;display:block}.search-dropdown-all.is-active{background:var(--color-surface-hover)}.notif-bell-wrap{position:relative}.notif-dropdown{background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:380px;max-height:480px;box-shadow:var(--shadow-md);z-index:var(--z-dropdown);position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto}.notif-dropdown[hidden]{display:none}.notif-dropdown-header{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading);justify-content:space-between;align-items:center;display:flex}.notif-dropdown-list{font-size:var(--fs-sm)}.notif-dropdown-empty{padding:var(--space-6);text-align:center;color:var(--color-text-subtle);font-size:var(--fs-xs)}.notif-dropdown-footer{padding:var(--space-2) var(--space-4);border-top:1px solid var(--color-border);text-align:center}.notif-dropdown-footer a{font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--color-accent-soft-fg);text-decoration:none}.user-menu{position:relative}.user-menu-trigger{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2) var(--space-1) var(--space-1);border-radius:var(--radius-md);color:var(--color-text);font-size:var(--fs-sm);font-weight:var(--fw-medium);transition:background var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #0000;display:inline-flex}.user-menu-trigger:hover{background:var(--color-surface-hover)}.user-menu-trigger .avatar{width:32px;height:32px;font-size:var(--fs-xs);background:var(--color-primary);color:var(--color-primary-fg)}.user-menu-trigger .chevron{width:16px;height:16px;color:var(--color-text-subtle);transition:transform var(--dur-fast) var(--ease-out);flex-shrink:0}.user-menu[data-open=true] .user-menu-trigger .chevron{transform:rotate(180deg)}.user-menu-panel{min-width:260px;padding:var(--space-2);background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);z-index:var(--z-dropdown);display:none;position:absolute;top:calc(100% + 6px);right:0}.user-menu[data-open=true] .user-menu-panel{display:block}.user-menu-header{padding:var(--space-3) var(--space-3) var(--space-4);margin-bottom:var(--space-2);border-bottom:1px solid var(--color-border)}.user-menu-header .name{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading);margin-bottom:2px;display:block}.user-menu-header .email{margin-bottom:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-subtle);word-break:break-all;display:block}.user-menu-panel a,.user-menu-panel button.menu-item{align-items:center;gap:var(--space-3);width:100%;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);color:var(--color-text);font-size:var(--fs-sm);text-align:left;transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);background:0 0;border:0;text-decoration:none;display:flex}.user-menu-panel a:hover,.user-menu-panel button.menu-item:hover{background:var(--color-surface-hover);color:var(--color-heading)}.user-menu-panel .menu-sep{height:1px;margin:var(--space-2) 0;background:var(--color-border)}.user-menu-panel .menu-item.danger{color:var(--status-danger-fg)}.user-menu-panel .menu-item.danger:hover{background:var(--status-danger-bg);color:var(--status-danger-fg)}.user-menu-panel form{margin:0}.page-header{justify-content:space-between;align-items:flex-start;gap:var(--space-6);flex-wrap:wrap;margin-bottom:24px;display:flex}.page-header .page-title-wrap{min-width:0}.page-header h1,.page-title{margin:0 0 var(--space-2);font-size:22px;font-weight:var(--fw-bold);letter-spacing:-.02em;line-height:var(--lh-tight);color:var(--color-heading)}.page-header .page-subtitle,.page-subtitle{color:var(--color-text-subtle);margin:0;font-size:13px}.page-actions,.page-header .page-actions,.matter-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.auth-shell{min-height:100vh;padding:var(--space-24) var(--space-6) var(--space-12);background:var(--color-sidebar-bg);color:var(--color-text);flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.auth-brand{top:var(--space-8);left:var(--space-8);align-items:center;gap:var(--space-3);color:var(--color-sidebar-fg);font-size:var(--fs-sm);font-weight:var(--fw-semibold);letter-spacing:.02em;text-decoration:none;display:inline-flex;position:absolute}.auth-brand:hover{color:var(--color-accent)}.auth-card{width:100%;max-width:440px;padding:var(--space-12);background:var(--color-surface);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.auth-card h1,.auth-title{margin:0 0 var(--space-2);font-size:var(--fs-3xl);font-weight:var(--fw-bold);line-height:var(--lh-tight);letter-spacing:var(--ls-tight);color:var(--color-heading)}.auth-card .lede{margin:0 0 var(--space-8)}.auth-card .back-link{align-items:center;gap:var(--space-1);margin:0 0 var(--space-6);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-accent-soft-fg);text-decoration:none;display:inline-flex}.auth-card .back-link:hover{text-decoration:underline}.auth-logo{margin-bottom:var(--space-8);justify-content:center;display:flex}.auth-logo img{border-radius:var(--radius-lg);background:var(--color-surface);width:auto;height:108px;box-shadow:var(--shadow-sm);padding:10px;display:block}.auth-footer{margin-top:var(--space-12);padding:0 var(--space-6);text-align:center;color:var(--color-sidebar-fg-muted);font-size:var(--fs-xs);letter-spacing:.02em}.auth-footer a{color:var(--color-sidebar-fg);opacity:.8;text-decoration:none}.auth-footer a:hover{opacity:1;color:var(--color-accent);text-decoration:underline}.auth-footer .dot{margin:0 var(--space-2);opacity:.5}.legacy-login-form,.legacy-auth-form{margin:0}.legacy-login-form>div,.legacy-auth-form>div{display:block}.legacy-reset-form .reset-email-field .helper{font-size:inherit;line-height:inherit;margin-top:0}.legacy-signup-form>p:last-child{margin-bottom:var(--space-4)}.legacy-login-form input[type=checkbox]{margin:3px 3px 3px 4px}.public-page{max-width:760px;padding:var(--space-16) var(--space-6) var(--space-24);margin:0 auto}.public-page h1{margin:0 0 var(--space-2);font-size:var(--fs-3xl)}.public-page h2{margin:var(--space-12) 0 var(--space-3);font-size:var(--fs-lg);font-weight:var(--fw-semibold)}.public-page p{margin:0 0 var(--space-4);color:var(--color-text-muted);line-height:1.7}.public-footer{gap:var(--space-4);max-width:760px;padding:var(--space-8) var(--space-6);border-top:1px solid var(--color-border);font-size:var(--fs-sm);color:var(--color-text-subtle);flex-wrap:wrap;margin:0 auto;display:flex}@media (width<=1023px){.admin-shell{padding-left:0}.admin-main{padding:20px 16px}.admin-topbar{padding:0 12px}.admin-topbar .menu-toggle{width:40px;height:40px;display:inline-flex}.admin-sidebar{left:calc(-1 * var(--sidebar-width) - 24px);width:260px;box-shadow:var(--shadow-lg);transition:left var(--dur-slow) ease;z-index:var(--z-modal)}.admin-sidebar[data-open=true]{left:0}.sidebar-backdrop[data-open=true]{display:block}.page-header{gap:var(--space-3);flex-direction:column}.page-header .page-actions{justify-content:flex-start;width:100%}.notif-dropdown{top:calc(var(--topbar-height) - 2px);width:calc(100vw - 16px);max-width:380px;position:fixed;left:auto;right:8px}}@media (width<=768px){.sidebar-item{min-height:44px;padding:10px 16px}.topbar-bell,.theme-toggle,.menu-toggle,.topbar-icon-btn{min-width:44px;min-height:44px}.breadcrumb a{align-items:center;min-height:44px;display:inline-flex}}@media (width<=639px){.admin-main{padding:12px 10px}.admin-topbar{gap:8px;height:52px;padding:0 10px}.admin-topbar .topbar-left{flex:none;gap:8px}.admin-topbar .breadcrumb{display:none}.topbar-right{flex-shrink:0;gap:4px}.admin-sidebar{width:240px;left:-250px}.admin-sidebar[data-open=true]{left:0}.sidebar-item span{text-overflow:ellipsis;max-width:160px;overflow:hidden}.topbar-search-wrap{background:var(--color-surface-raised);box-shadow:var(--shadow-md);z-index:var(--z-modal);margin-right:0;padding:8px;display:none;position:fixed;top:52px;left:0;right:0}.topbar-search-wrap.is-open{display:block}.topbar-search-wrap .topbar-search-input{width:100%}.topbar-search-wrap .search-dropdown{width:auto;max-width:none;left:8px;right:8px}.mobile-search-btn{display:inline-flex}.quick-create{position:static}.quick-create-menu{top:var(--topbar-height);width:200px;position:fixed;left:50%;right:auto;transform:translate(-50%)}.user-menu-trigger{gap:0;padding:4px}.user-menu-trigger .chevron{display:none}.user-menu-trigger .avatar{width:30px;height:30px;font-size:11px}.user-menu-panel{min-width:200px;max-width:calc(100vw - 16px);position:fixed;top:54px;left:auto;right:8px}.topbar-bell{width:32px;height:32px}.page-header{flex-direction:column;gap:8px}.page-header h1{font-size:20px}.page-header .page-subtitle{font-size:12px}.page-header .page-actions{flex-direction:column;width:100%}.page-header .page-actions .btn{justify-content:center;width:100%}.page-header .page-actions>form{width:100%;display:block!important}.eyebrow{display:none}.auth-shell{padding:var(--space-16) var(--space-4) var(--space-8)}.auth-brand{top:var(--space-4);left:var(--space-4)}.auth-card{padding:var(--space-8) var(--space-6)}.auth-card h1,.auth-title{font-size:var(--fs-2xl)}}@media (width<=379px){.admin-main{padding:8px 6px}.page-header h1{font-size:18px}}@media print{.admin-sidebar,.admin-topbar,.sidebar-backdrop,.toasts,.page-actions,.table-filter-wrap,.form-actions,.btn,.cookie-banner{display:none!important}.admin-shell{padding-left:0;display:block}.admin-main{padding:0}body{background:var(--color-surface);color:var(--color-text);font-size:12pt}.card{box-shadow:none;border:1px solid var(--color-border-strong);break-inside:avoid}a{color:var(--color-text);text-decoration:none}.badge{border:1px solid var(--color-border-strong)}.table{font-size:10px}}.sidebar-brand .brand-logo{max-width:160px;max-height:56px}.sidebar-section--recents{letter-spacing:.06em;font-size:9px}.sidebar-item--recent{opacity:.8;padding:4px 12px 4px 16px;font-size:12px}.sidebar-recent-ref{color:var(--color-sidebar-fg-muted);margin-right:4px;font-size:10px}.admin-footer{border-top:1px solid var(--color-border);text-align:center;color:var(--color-text-subtle);margin-top:40px;padding:12px 24px;font-size:11px}.admin-footer a{color:var(--color-text-subtle);text-decoration:none}.admin-footer a:hover{color:var(--color-heading);text-decoration:underline}.auth-intro{text-align:center;margin-bottom:24px}.auth-intro__logo{height:100px;margin:0 auto 16px;display:block}.auth-intro__title{font-size:20px;font-weight:var(--fw-bold);color:var(--color-heading);margin:0 0 8px}.auth-intro__text{color:var(--color-text-subtle);margin:0;font-size:15px}.auth-benefits{flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:20px;display:flex}.auth-benefit{color:var(--status-success-fg);align-items:center;gap:4px;font-size:12px;display:flex}.auth-options{margin-top:var(--space-2);justify-content:space-between;align-items:center;display:flex}.auth-remember{font-size:var(--fs-sm);color:var(--color-text-subtle);cursor:pointer;align-items:center;gap:6px;display:flex}.auth-link{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-accent-soft-fg);text-decoration:none}.auth-link:hover{text-decoration:underline}.auth-legal{text-align:center;color:var(--color-text-placeholder);margin:12px 0 0;font-size:11px}.auth-legal a{color:var(--color-text-subtle)}.auth-switch{margin:var(--space-4) 0 0;font-size:var(--fs-sm);text-align:center;color:var(--color-text-subtle)}.pw-meter{margin-top:6px}.pw-meter__track{background:var(--color-border);border-radius:2px;height:4px;overflow:hidden}.pw-meter__bar{background:var(--status-danger-solid);width:0;height:100%;transition:width var(--dur-slow) ease, background var(--dur-slow) ease;border-radius:2px}.pw-meter__label{color:var(--status-danger-fg);margin-top:2px;font-size:10px;display:block}.pw-meter[data-level=medium] .pw-meter__bar{background:var(--status-warning-solid)}.pw-meter[data-level=medium] .pw-meter__label{color:var(--status-warning-fg)}.pw-meter[data-level=strong] .pw-meter__bar{background:var(--status-success-solid)}.pw-meter[data-level=strong] .pw-meter__label{color:var(--status-success-fg)}.auth-success-icon{width:56px;height:56px;margin-bottom:var(--space-4);border-radius:var(--radius-full);background:var(--status-success-bg);color:var(--status-success-fg);justify-content:center;align-items:center;display:inline-flex}html.dark .auth-intro__logo{filter:brightness(0)invert();opacity:.92}.legacy-auth-page .auth-card .auth-intro__logo{margin-bottom:22px}.legacy-auth-page .auth-card .auth-intro__title{letter-spacing:-.3px;margin:0 0 8px;font-size:20px;line-height:1.15}.legacy-signup-page .auth-card .auth-intro__text{font-size:var(--fs-sm);line-height:1.55}.legacy-auth-page .auth-card .label,.legacy-auth-page .auth-card .field label.label{font-size:var(--fs-sm);font-weight:var(--fw-medium);line-height:1.55}.legacy-auth-page .auth-card .label .req{color:inherit;margin-left:0}.legacy-auth-page .auth-card .field input.input-lg:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){height:var(--control-height-lg);padding:0 var(--space-4);font-size:var(--fs-base);line-height:normal}.legacy-auth-page .auth-card .field input.input-lg:focus{border-color:var(--color-primary)}.legacy-auth-page .auth-card .field .auth-remember{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-subtle);align-items:center;gap:6px;margin:0;line-height:1.55;display:flex}.legacy-auth-page .auth-card .input-wrap .input-addon-right{border-radius:6px}.legacy-auth-page .auth-card .btn-primary{box-shadow:var(--shadow-sm)}@media (width<=639px){.legacy-auth-page .auth-card .label,.legacy-auth-page .auth-card .field label.label{font-size:11px}.legacy-auth-page .auth-card .field .auth-remember input[type=checkbox]{min-height:0;font-size:inherit}}.public-body{background:var(--color-bg)}.public-container{width:100%;max-width:1120px;padding-inline:var(--space-6);margin-inline:auto}.public-header{padding-block:var(--space-4);background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-xs)}.public-header .public-container,.public-footer .public-container{justify-content:space-between;align-items:center;gap:var(--space-6);display:flex}.public-brand{align-items:center;gap:var(--space-3);color:var(--color-heading);text-decoration:none;display:inline-flex}.public-brand .brand-mark{border-radius:var(--radius-md);background:var(--color-heading);width:36px;height:36px;color:var(--color-surface);font-weight:var(--fw-bold);justify-content:center;align-items:center;display:inline-flex}.public-brand .brand-name,.public-brand .brand-sub{display:block}.public-brand .brand-name{font-weight:var(--fw-semibold);font-size:var(--fs-md)}.public-brand .brand-sub{color:var(--color-accent);font-size:var(--fs-xs);font-weight:var(--fw-medium);letter-spacing:.08em;text-transform:uppercase;margin-top:2px}.public-nav-link,.public-footer-nav a{color:var(--color-text);font-size:var(--fs-sm);font-weight:var(--fw-medium);text-decoration:none}.public-main{min-height:calc(100vh - 200px);padding-block:var(--space-12) var(--space-16)}.public-content{max-width:880px}.public-footer{margin-top:var(--space-16);padding-block:var(--space-8) var(--space-6);background:var(--color-surface);border-top:1px solid var(--color-border)}.public-footer-copy{color:var(--color-text-subtle);font-size:var(--fs-xs);margin:0}.public-footer-nav{gap:var(--space-4);flex-wrap:wrap;display:flex}@media (width<=640px){.public-container{padding-inline:var(--space-4)}.public-header .public-container,.public-footer .public-container{flex-direction:column;align-items:flex-start}}.btn{justify-content:center;align-items:center;gap:var(--space-2);height:var(--control-height);padding:0 var(--space-6);border-radius:var(--radius-md);font-family:var(--font-sans);font-size:var(--fs-sm);font-weight:var(--fw-semibold);letter-spacing:.01em;color:inherit;white-space:nowrap;cursor:pointer;transition:background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);border:1px solid #0000;line-height:1;text-decoration:none;display:inline-flex}.btn:hover{text-decoration:none}.btn .icon{width:16px;height:16px}.btn-sm{height:var(--control-height-sm);padding:0 var(--space-4);font-size:var(--fs-xs)}.btn-lg{height:var(--control-height-lg);padding:0 var(--space-8);font-size:var(--fs-sm);letter-spacing:.06em;text-transform:uppercase}.btn-block{width:100%}.btn-primary,a.btn-primary,a.btn-primary:hover{padding:0 var(--space-5);background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg);box-shadow:var(--shadow-xs);font-size:13.5px}.btn-primary:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.btn-primary:active{background:var(--color-primary-active);border-color:var(--color-primary-active);box-shadow:none;transform:none}.btn-secondary,a.btn-secondary,a.btn-secondary:hover{background:var(--color-surface);border-color:var(--color-border-strong);color:var(--color-heading);font-weight:var(--fw-medium)}.btn-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-text-subtle)}.btn-secondary:active{background:var(--color-surface-alt);transform:translateY(1px)}.btn-ghost,a.btn-ghost,a.btn-ghost:hover{color:var(--color-text-subtle);font-weight:var(--fw-medium);background:0 0;border-color:#0000}.btn-ghost:hover{background:var(--color-surface-hover);color:var(--color-heading)}.btn-danger,a.btn-danger,a.btn-danger:hover{background:var(--status-danger-solid);border-color:var(--status-danger-solid);color:var(--color-text-inverse)}.btn-danger:hover{background:var(--status-danger-solid-hover);border-color:var(--status-danger-solid-hover)}.btn-danger:active{transform:translateY(1px)}.btn-danger-soft,a.btn-danger-soft,a.btn-danger-soft:hover{border-color:var(--color-border-strong);color:var(--color-heading);font-weight:var(--fw-medium);background:0 0}.btn-danger-soft:hover{background:var(--status-danger-bg);border-color:var(--status-danger-border);color:var(--status-danger-fg)}.btn[disabled],.btn.is-disabled,.btn[aria-disabled=true]{background:var(--color-surface-alt);border-color:var(--color-border);color:var(--color-text-disabled);box-shadow:none;cursor:not-allowed;transform:none}.btn-icon{border-radius:var(--radius-md);width:36px;height:36px;color:var(--color-text-subtle);transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0;display:inline-flex}.btn-icon:hover{background:var(--color-surface-hover);color:var(--color-heading)}.btn-icon.is-danger:hover{background:var(--status-danger-bg);color:var(--status-danger-fg)}.btn.is-loading{opacity:.85;pointer-events:none}.btn.is-loading .spinner{border-radius:var(--radius-full);opacity:.7;border:2px solid;border-right-color:#0000;width:14px;height:14px;animation:.64s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.address-autocomplete-spinner{border:2px solid var(--color-text-muted);border-radius:var(--radius-full);opacity:.7;pointer-events:none;border-right-color:#0000;width:14px;height:14px;animation:.64s linear infinite spin;position:absolute;top:10px;right:10px}.address-autocomplete-spinner[hidden]{display:none}.field{margin-bottom:var(--space-4)}.label,.field label{margin-bottom:var(--space-1);font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-muted);display:block}.label .req,.field .req{color:var(--status-danger-solid);margin-left:2px}.helper{margin:var(--space-1) 0 0;font-size:var(--fs-xs);line-height:var(--lh-normal);color:var(--color-text-subtle)}.field-error{align-items:center;gap:var(--space-1);margin:var(--space-1) 0 0;font-size:var(--fs-xs);color:var(--status-danger-fg);display:flex}.input,.textarea,.select,.form-control,.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),.field select,.field textarea,textarea{background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);width:100%;font-family:var(--font-sans);font-size:var(--fs-sm);line-height:var(--lh-normal);color:var(--color-text);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);outline:none;padding:10px 14px}.input,.select,.form-control,.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),.field select{height:var(--control-height);padding-top:0;padding-bottom:0}textarea,.textarea,.field textarea{resize:vertical;min-height:96px}.input::placeholder,.textarea::placeholder,textarea::placeholder,.form-control::placeholder,.field input::placeholder{color:var(--color-text-placeholder)}.input:hover,.select:hover,.textarea:hover,.form-control:hover,textarea:hover,.field input:hover,.field select:hover{border-color:var(--color-text-subtle)}.input:focus-visible,.select:focus-visible,.textarea:focus-visible,.form-control:focus-visible,textarea:focus-visible,.input:focus,.select:focus,.textarea:focus,.form-control:focus,textarea:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus);border-radius:var(--radius-md)}.input[aria-invalid=true],.select[aria-invalid=true],.textarea[aria-invalid=true],.form-control[aria-invalid=true],.field input[aria-invalid=true],.field select[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--status-danger-border)}.input[disabled],.select[disabled],.textarea[disabled],.form-control[disabled],textarea[disabled],.input[readonly],.form-control[readonly],.field input[disabled],.field select[disabled]{background:var(--color-surface-alt);color:var(--color-text-subtle);cursor:not-allowed}.input-lg,.field input.input-lg{height:var(--control-height-lg);padding:0 var(--space-4);font-size:var(--fs-base)}.select,.field select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a91a3' stroke-width='2' viewBox='0 0 24 24'><polyline points='6 9 12 15 18 9'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.select[multiple],.field select[multiple]{height:auto;padding:var(--space-2);background-image:none}.input-wrap{position:relative}.input-wrap .input,.input-wrap input{padding-right:44px}.input-wrap.has-addon-left .input,.input-wrap.has-addon-left input{padding-left:40px}.input-wrap .input-addon-right{top:50%;right:var(--space-1);border-radius:var(--radius-md);width:36px;height:36px;color:var(--color-text-placeholder);cursor:pointer;transition:color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.input-wrap .input-addon-right:hover{background:var(--color-surface-hover);color:var(--color-heading)}.input-wrap .input-addon-left{top:50%;left:var(--space-3);color:var(--color-text-placeholder);pointer-events:none;display:inline-flex;position:absolute;transform:translateY(-50%)}.checkbox{align-items:flex-start;gap:var(--space-3);font-size:var(--fs-sm);line-height:var(--lh-normal);color:var(--color-text);cursor:pointer;display:inline-flex}.checkbox input[type=checkbox],input[type=checkbox],input[type=radio]{accent-color:var(--color-primary);cursor:pointer}.checkbox input[type=checkbox]{flex-shrink:0;width:18px;height:18px;margin:1px 0 0}.checkbox-text{display:block}.checkbox-text .helper{margin:2px 0 0}.form-section{padding:var(--space-6) 0;border-top:1px solid var(--color-border-subtle)}.form-section:first-of-type{border-top:0;padding-top:0}.form-section>h4{margin:0 0 var(--space-4);font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--color-heading)}.form-actions{justify-content:flex-end;align-items:center;gap:var(--space-3);margin-top:var(--space-6);padding-top:var(--space-6);border-top:1px solid var(--color-border-subtle);display:flex}.form-stack{gap:var(--space-6);display:grid}.form-stack--compact{gap:var(--space-4)}.form-section-title{margin:0 0 var(--space-4);font-size:var(--fs-md);font-weight:var(--fw-semibold);color:var(--color-heading)}.form-grid{gap:var(--space-4);grid-template-columns:repeat(2,1fr);display:grid}@media (width<=767px){.form-grid{grid-template-columns:1fr}}.form-grid .field{margin-bottom:0}.form-grid-full{grid-column:1/-1}.form-group{gap:var(--space-1);flex-direction:column;display:flex;position:relative}.form-section>.form-section-helper{margin:0 0 var(--space-4);font-size:var(--fs-xs);color:var(--color-text-subtle)}.team-row{margin-bottom:var(--space-3)}.form-help{margin-top:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-subtle)}.required{color:var(--status-danger-solid)}.pwd-strength{margin:var(--space-2) 0 var(--space-1);gap:4px;display:flex}.pwd-strength-bar{background:var(--color-border);height:4px;transition:background var(--dur-fast) var(--ease-out);border-radius:2px;flex:1}.pwd-strength[data-level="1"] .pwd-strength-bar:nth-child(-n+1){background:var(--status-danger-solid)}.pwd-strength[data-level="2"] .pwd-strength-bar:nth-child(-n+2){background:var(--status-warning-solid)}.pwd-strength[data-level="3"] .pwd-strength-bar:nth-child(-n+3){background:var(--color-accent)}.pwd-strength[data-level="4"] .pwd-strength-bar{background:var(--status-success-solid)}.pwd-criteria{gap:var(--space-1);margin:var(--space-3) 0 0;font-size:var(--fs-xs);flex-direction:column;padding:0;list-style:none;display:flex}.pwd-criteria li{align-items:center;gap:var(--space-2);color:var(--color-text-muted);transition:color var(--dur-fast) var(--ease-out);display:flex}.pwd-criteria li .check-mark{width:14px;height:14px;color:var(--color-text-disabled);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.pwd-criteria li.is-ok{color:var(--color-text)}.pwd-criteria li.is-ok .check-mark{color:var(--status-success-solid)}.admin-main :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=color]),select,textarea),.auth-card :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){width:100%;min-height:var(--control-height);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);font-family:var(--font-sans);font-size:var(--fs-sm);line-height:var(--lh-normal);color:var(--color-text);outline:none;padding:8px 14px}.admin-main :where(select:not([multiple])){appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a91a3' stroke-width='2' viewBox='0 0 24 24'><polyline points='6 9 12 15 18 9'/></svg>");background-position:right 12px center;background-repeat:no-repeat;padding-right:36px}.admin-main :where(input,select,textarea):focus,.auth-card :where(input,select,textarea):focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus)}.admin-main :where(input,select,textarea)::placeholder{color:var(--color-text-placeholder)}.admin-main :where(input,select,textarea)[disabled],.admin-main :where(input)[readonly]{background:var(--color-surface-alt);color:var(--color-text-subtle);cursor:not-allowed}.admin-main :where(label){font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-muted)}.admin-main :where(input[type=checkbox],input[type=radio]){width:auto;min-height:0;accent-color:var(--color-primary);padding:0}.form-banner,.alert{align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4);border:1px solid var(--status-info-border);border-radius:var(--radius-md);background:var(--status-info-bg);color:var(--status-info-fg);font-size:var(--fs-sm);border-left-width:3px;display:flex}.alert{padding:var(--space-4) var(--space-5);display:block}.alert h3{margin:0 0 var(--space-2);font-size:var(--fs-md);font-weight:var(--fw-semibold);color:inherit}.alert ul{margin:var(--space-2) 0 0;padding-left:var(--space-5)}.alert p:last-child{margin-bottom:0}.form-banner.is-error,.alert-danger,.alert-error{background:var(--status-danger-bg);border-color:var(--status-danger-border);color:var(--status-danger-fg)}.form-banner.is-success,.alert-success{background:var(--status-success-bg);border-color:var(--status-success-border);color:var(--status-success-fg)}.form-banner.is-warning,.alert-warning{background:var(--status-warning-bg);border-color:var(--status-warning-border);color:var(--status-warning-fg)}.form-banner.is-info,.alert-info{background:var(--status-info-bg);border-color:var(--status-info-border);color:var(--status-info-fg)}.form-banner a,.alert a{color:inherit;font-weight:var(--fw-semibold);text-decoration:underline}.card{max-width:100%;padding:var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}:where(.card-stack)>.card+.card{margin-top:var(--space-4)}.card.form-card{max-width:720px}@media (width<=639px){.card.form-card{max-width:100%}}.card-header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-4);padding-bottom:var(--space-4);border-bottom:1px solid var(--color-border-subtle);display:flex}.card-header h3,.card-title{font-size:16px;font-weight:var(--fw-semibold);line-height:var(--lh-snug);color:var(--color-heading);margin:0}.card-header .eyebrow{margin-bottom:var(--space-1)}.section-title{font-size:var(--fs-lg);font-weight:var(--fw-semibold);line-height:var(--lh-snug);color:var(--color-heading);margin:0}.empty-title{font-size:var(--fs-base);font-weight:var(--fw-semibold);line-height:var(--lh-snug);color:var(--color-heading);margin:0}.card.is-editing{border-color:var(--color-accent)}.card.is-danger-zone{border-color:var(--status-danger-border);background:var(--status-danger-bg)}.card.is-danger-zone h3{color:var(--status-danger-fg)}.card-link{color:inherit;transition:border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);text-decoration:none}.card-link:hover{border-color:var(--color-border-strong);box-shadow:var(--shadow-sm);text-decoration:none;transform:translateY(-1px)}.card-grid,.stats-grid{align-items:stretch;gap:var(--space-4);display:grid}.card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.card-grid>.card,.stats-grid>.card{height:100%;margin-top:0}.stat-card{flex-direction:column;justify-content:space-between;min-height:116px;display:flex}.stat-value{margin:var(--space-2) 0 0;font-size:var(--fs-2xl);font-weight:var(--fw-semibold);line-height:var(--lh-tight);color:var(--color-heading);font-variant-numeric:tabular-nums}.record-card{padding:var(--space-3) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);transition:border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);text-decoration:none;display:block}.record-card:hover{border-color:var(--color-border-strong);background:var(--color-surface-hover);text-decoration:none}.record-title{font-weight:var(--fw-semibold);color:var(--color-text)}.record-meta{gap:var(--space-1) var(--space-3);margin-top:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.record-meta-strong{color:var(--color-text)}.record-chevron{color:var(--color-text-subtle)}.record-list{flex-direction:column;gap:6px;display:flex}.record-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.record-body{flex:1;min-width:0}.record-heading{align-items:center;gap:var(--space-2);flex-wrap:nowrap;margin-bottom:3px;display:flex}.record-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-dot{background:var(--status-success-solid);border-radius:50%;flex-shrink:0;width:8px;height:8px}.badge{align-items:center;gap:var(--space-1);background:var(--status-neutral-bg);color:var(--status-neutral-fg);font-family:var(--font-sans);font-size:11px;font-weight:var(--fw-semibold);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;border-radius:6px;padding:3px 10px;line-height:1.4;display:inline-flex}.badge .icon{width:12px;height:12px}.badge-default{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}.badge-primary,.badge-info{background:var(--status-info-bg);color:var(--status-info-fg)}.badge-accent{background:var(--color-accent-soft);color:var(--color-accent-soft-fg)}.badge-success{background:var(--status-success-bg);color:var(--status-success-fg)}.badge-warning{background:var(--status-warning-bg);color:var(--status-warning-fg)}.badge-danger{background:var(--status-danger-bg);color:var(--status-danger-fg)}.badge-matter-ma{background:var(--matter-matiere-ma-bg);color:var(--matter-matiere-ma-fg)}.badge-matter-contentieux{background:var(--matter-matiere-contentieux-bg);color:var(--matter-matiere-contentieux-fg)}.badge-matter-corporate{background:var(--matter-matiere-corporate-bg);color:var(--matter-matiere-corporate-fg)}.badge-matter-ip{background:var(--matter-matiere-ip-bg);color:var(--matter-matiere-ip-fg)}.badge-matter-social{background:var(--matter-matiere-social-bg);color:var(--matter-matiere-social-fg)}.badge-matter-fiscal{background:var(--matter-matiere-fiscal-bg);color:var(--matter-matiere-fiscal-fg)}.badge-matter-immobilier{background:var(--matter-matiere-immobilier-bg);color:var(--matter-matiere-immobilier-fg)}.badge-matter-penal{background:var(--matter-matiere-penal-bg);color:var(--matter-matiere-penal-fg)}.badge-matter-autre{background:var(--matter-matiere-autre-bg);color:var(--matter-matiere-autre-fg)}.badge-status-brouillon{background:var(--matter-statut-brouillon-bg);color:var(--matter-statut-brouillon-fg)}.badge-status-ouvert{background:var(--matter-statut-ouvert-bg);color:var(--matter-statut-ouvert-fg)}.badge-status-en-cours{background:var(--matter-statut-en-cours-bg);color:var(--matter-statut-en-cours-fg)}.badge-status-pending{background:var(--matter-statut-pending-bg);color:var(--matter-statut-pending-fg)}.badge-status-attente-client{background:var(--matter-statut-attente-client-bg);color:var(--matter-statut-attente-client-fg)}.badge-status-clos{background:var(--matter-statut-clos-bg);color:var(--matter-statut-clos-fg)}.badge-status-archive{background:var(--matter-statut-archive-bg);color:var(--matter-statut-archive-fg)}.badge-confidentiality-standard{background:var(--matter-confidentiality-standard-bg);color:var(--matter-confidentiality-standard-fg)}.badge-confidentiality-restricted{background:var(--matter-confidentiality-restricted-bg);color:var(--matter-confidentiality-restricted-fg)}.badge-confidentiality-danger{background:var(--matter-confidentiality-danger-bg);color:var(--matter-confidentiality-danger-fg);border:1px solid var(--matter-confidentiality-danger-border)}.table-container,.table-wrap{-webkit-overflow-scrolling:touch;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:100%;max-width:100%;box-shadow:var(--shadow-xs);overflow-x:auto}.table-container{overflow:hidden}.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.card .table-wrap{overflow-x:auto}.card>table,.table-wrap>table{width:100%}.data-table,.table{border-collapse:collapse;width:100%;font-family:var(--font-sans);font-size:var(--fs-sm)}.data-table thead th,.table thead th{background:var(--color-surface-alt);border-bottom:1px solid var(--color-border);font-size:11px;font-weight:var(--fw-semibold);letter-spacing:.05em;text-transform:uppercase;text-align:left;color:var(--color-text-subtle);white-space:nowrap;z-index:var(--z-base);padding:12px 16px;position:sticky;top:0}.data-table thead th.sortable,.table thead th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.data-table thead th.sortable a,.table thead th.sortable a{color:inherit;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.data-table thead th .sort-icon,.table thead th .sort-icon{color:var(--color-text-disabled);transition:color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);display:inline-block}.data-table thead th.sortable:hover .sort-icon,.table thead th.sortable:hover .sort-icon{color:var(--color-accent-soft-fg)}.data-table thead th[aria-sort=ascending] .sort-icon,.table thead th[aria-sort=ascending] .sort-icon{color:var(--color-accent-soft-fg);transform:rotate(180deg)}.data-table thead th[aria-sort=descending] .sort-icon,.table thead th[aria-sort=descending] .sort-icon{color:var(--color-accent-soft-fg)}.data-table tbody td,.table tbody td{border-bottom:1px solid var(--color-border-subtle);color:var(--color-text);vertical-align:middle;padding:14px 16px;font-size:13.5px}.data-table tbody td a,.table tbody td a{color:var(--color-heading);text-decoration:none}.data-table tbody td a:hover,.table tbody td a:hover{text-decoration:underline}.data-table tbody tr:last-child td,.table tbody tr:last-child td{border-bottom:0}.data-table tbody tr,.table tbody tr{transition:background var(--dur-fast) var(--ease-out)}.data-table tbody tr:hover,.table tbody tr:hover{background:var(--color-surface-hover)}.data-table tbody tr.is-selected,.table tbody tr.is-selected{background:var(--color-selected-bg);box-shadow:inset 3px 0 0 var(--color-accent)}.data-table .cell-user{align-items:center;gap:var(--space-3);min-width:220px;display:flex}.data-table .cell-user .avatar{width:32px;height:32px;font-size:var(--fs-xs)}.data-table .cell-user .name{font-weight:var(--fw-medium);color:var(--color-heading);line-height:1.3;display:block}.data-table .cell-user .email{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:2px;display:block}.data-table .cell-actions{text-align:right;white-space:nowrap}.data-table .cell-mono{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--color-text-muted)}.table .text-sm{font-size:var(--fs-sm)}.table-wrap tbody tr[hidden]{display:none}.table-filter-wrap{align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}.table-filter-wrap .input-wrap{flex:1;min-width:200px;max-width:400px}.filters-bar{align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-wrap:wrap;display:flex}.filters-bar .filter-field{flex-direction:column;gap:2px;min-width:140px;display:flex}.filters-bar .filter-field-grow{flex:1;min-width:260px}.filters-bar .filter-spacer{flex:1}.filters-bar>:where(input,select){width:auto;min-width:160px}.filters-bar>:where(input[type=search],input[type=text]){flex:260px}.filters-bar>label:not(.sr-only){align-items:center;gap:var(--space-2);display:inline-flex}.filters-bar .reset-link{font-size:var(--fs-sm);color:var(--color-accent-soft-fg)}.filter-actions{align-items:flex-end;gap:var(--space-2);display:flex}.pagination{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4);font-size:var(--fs-sm);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.pagination .nav{align-items:center;gap:var(--space-1);display:flex}.pagination .page-btn{min-width:32px;height:32px;padding:0 var(--space-2);border-radius:var(--radius-md);font-size:var(--fs-sm);color:var(--color-text);cursor:pointer;transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.pagination .page-btn:hover{background:var(--color-surface-hover);color:var(--color-heading);text-decoration:none}.pagination .page-btn.is-current{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-fg);font-weight:var(--fw-semibold)}.pagination .page-btn[disabled]{color:var(--color-text-disabled);cursor:not-allowed;background:0 0}.pagination-bar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding:var(--space-3) 0;flex-wrap:wrap;display:flex}.pagination-info{font-size:var(--fs-sm);color:var(--color-text-muted);margin:0}.pagination-actions{gap:var(--space-2);display:flex}nav[role=navigation]{margin-top:var(--space-4);font-size:var(--fs-sm);color:var(--color-text-muted)}.empty-state{padding:var(--space-12) var(--space-6);text-align:center;color:var(--color-text-muted)}.empty-state .icon-xl{width:64px;height:64px;margin-bottom:var(--space-4);border-radius:var(--radius-full);background:var(--color-surface-alt);color:var(--color-text-disabled);justify-content:center;align-items:center;display:inline-flex}.empty-state h3{margin:0 0 var(--space-2);font-size:var(--fs-lg);font-weight:var(--fw-semibold);color:var(--color-heading)}.empty-state p{margin:0 0 var(--space-6);font-size:var(--fs-sm);color:var(--color-text-subtle)}.form-card{max-width:720px}.lookup-panel{margin-bottom:var(--space-4);padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-md)}.autocomplete-wrap{position:relative}.modal-backdrop{padding:var(--space-6);background:var(--color-overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:var(--z-modal);animation:fade-in var(--dur-base) var(--ease-out);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-backdrop[hidden]{display:none}.modal{width:100%;max-width:560px;max-height:calc(100vh - var(--space-12));padding:var(--space-8);background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);animation:modal-pop var(--dur-base) var(--ease-out);position:relative;overflow-y:auto}.modal-md{max-width:720px}.modal-lg{max-width:960px}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.modal-header{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-6);display:flex}.modal-header h2{font-size:var(--fs-xl);font-weight:var(--fw-bold);line-height:var(--lh-snug);color:var(--color-heading);margin:0}.modal-header .eyebrow{margin-bottom:var(--space-1)}.modal-close{border-radius:var(--radius-md);width:36px;height:36px;color:var(--color-text-subtle);transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.modal-close:hover{background:var(--color-surface-hover);color:var(--color-heading)}.time-entry-modal{background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:min(48rem,100vw - 2rem);max-width:none;max-height:calc(100dvh - 2rem);color:var(--color-text);box-shadow:var(--shadow-lg);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.time-entry-modal::backdrop{background:var(--color-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.time-entry-modal__content{background:0 0;border:0;max-height:calc(100dvh - 2rem);overflow-y:auto}.toasts{top:var(--space-4);right:var(--space-4);gap:var(--space-2);width:calc(100% - var(--space-8));max-width:400px;z-index:var(--z-toast);flex-direction:column;display:flex;position:fixed}.toast{align-items:flex-start;gap:var(--space-3);padding:var(--space-4);background:var(--color-surface-raised);border:1px solid var(--color-border);border-left:4px solid var(--status-info-solid);border-radius:var(--radius-md);box-shadow:var(--shadow-md);animation:toast-in var(--dur-base) var(--ease-out);display:flex}.toast.is-success{border-left-color:var(--status-success-solid)}.toast.is-warning{border-left-color:var(--status-warning-solid)}.toast.is-danger,.toast.is-error{border-left-color:var(--status-danger-solid)}.toast.is-info{border-left-color:var(--status-info-solid)}.toast .toast-icon{width:20px;height:20px;color:var(--status-info-solid);flex-shrink:0}.toast.is-success .toast-icon{color:var(--status-success-solid)}.toast.is-warning .toast-icon{color:var(--status-warning-solid)}.toast.is-danger .toast-icon,.toast.is-error .toast-icon{color:var(--status-danger-solid)}.toast .toast-body{flex:1;min-width:0}.toast .toast-title{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0 0 2px}.toast .toast-msg{font-size:var(--fs-sm);line-height:var(--lh-normal);color:var(--color-text-muted);margin:0}.toast .toast-close{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--color-text-subtle);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.toast .toast-close:hover{background:var(--color-surface-hover);color:var(--color-heading)}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ajax-bar{background:var(--color-accent);width:0;height:2px;z-index:var(--z-tooltip);transition:width var(--dur-slow) ease, opacity var(--dur-slow) ease;opacity:0;position:fixed;top:0;left:0}.ajax-bar.is-active{opacity:1}.tabs{gap:var(--space-1);margin-bottom:var(--space-6);border-bottom:1px solid var(--color-border);display:flex}.tabs .tab{padding:var(--space-3) var(--space-4);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-muted);cursor:pointer;transition:color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);background:0 0;border:0;border-bottom:2px solid #0000;text-decoration:none}.tabs .tab:hover{color:var(--color-heading);text-decoration:none}.tabs .tab.is-active{color:var(--color-heading);border-bottom-color:var(--color-accent);font-weight:var(--fw-semibold)}.avatar{border-radius:var(--radius-full);background:var(--color-primary);color:var(--color-primary-fg);font-weight:var(--fw-semibold);letter-spacing:.02em;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.avatar-xs{width:24px;height:24px;font-size:10px}.avatar-sm{width:32px;height:32px;font-size:var(--fs-xs)}.avatar-md{width:40px;height:40px;font-size:var(--fs-sm)}.avatar-lg{width:56px;height:56px;font-size:var(--fs-lg)}.avatar-xl{width:80px;height:80px;font-size:var(--fs-xl)}.searchable-select{width:100%;display:inline-block;position:relative}.searchable-select.is-open{z-index:var(--z-dropdown)}.searchable-select-dropdown{background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:250px;max-height:300px;box-shadow:var(--shadow-md);z-index:var(--z-dropdown);position:fixed;overflow-y:auto}.searchable-select-list{overscroll-behavior:contain;max-height:220px;margin:0;padding:0;list-style:none;overflow-y:auto}.searchable-select-option{padding:var(--space-2) var(--space-3);font-size:var(--fs-sm);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background var(--dur-fast);outline:none}.searchable-select-option:hover,.searchable-select-option:focus{background:var(--color-surface-hover)}.searchable-select-option.is-selected{font-weight:var(--fw-semibold);color:var(--color-link)}.searchable-select-option:focus-visible{box-shadow:inset 0 0 0 2px var(--color-primary);border-radius:0}.searchable-select-empty{padding:var(--space-3);font-size:var(--fs-sm);color:var(--color-text-subtle);text-align:center}.back-link{margin-bottom:var(--space-4)}.back-link a{align-items:center;gap:var(--space-1);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-subtle);text-decoration:none;display:inline-flex}.back-link a:hover{color:var(--color-heading)}.permission-domain{margin-bottom:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:hidden}.permission-domain-header{width:100%;padding:var(--space-3) var(--space-4);background:var(--color-surface-alt);color:var(--color-heading);font-size:var(--fs-sm);font-weight:var(--fw-semibold);text-align:left;cursor:pointer;border:0;justify-content:space-between;align-items:center;display:flex}.permission-domain-header .count{margin-left:var(--space-2);color:var(--color-text-muted);font-weight:var(--fw-regular)}.permission-domain-header .chev{color:var(--color-accent);transition:transform var(--dur-fast) var(--ease-out);margin-left:auto}.permission-domain[data-open=true] .permission-domain-header .chev{transform:rotate(90deg)}.permission-domain-body{padding:var(--space-3) var(--space-4) var(--space-4);background:var(--color-surface);display:none}.permission-domain[data-open=true] .permission-domain-body{gap:var(--space-2);flex-direction:column;display:flex}.section-view{flex-direction:column;display:flex}.field-row{gap:var(--space-4);margin-bottom:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.kv-row{gap:var(--space-4);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border-subtle);font-size:var(--fs-sm);grid-template-columns:minmax(150px,220px) 1fr;display:grid}.kv-row:last-child{border-bottom:0}.kv-label{color:var(--color-text-muted)}.kv-value{color:var(--color-heading)}.kv-value.is-mono{font-family:var(--font-mono);font-size:var(--fs-xs)}.profile-header{align-items:center;gap:var(--space-4);margin-bottom:var(--space-6);padding:var(--space-6) 0 var(--space-4);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex}.profile-header .avatar-lg{width:64px;height:64px;font-size:var(--fs-lg)}.profile-header .profile-info h1{margin:0 0 var(--space-1);font-size:var(--fs-xl)}.profile-header .profile-info .email{margin:0 0 var(--space-2);font-size:var(--fs-sm);color:var(--color-text-subtle);word-break:break-all}.profile-header .profile-info .badges{gap:var(--space-2);flex-wrap:wrap;display:flex}.profile-header .profile-meta{font-size:var(--fs-xs);color:var(--color-text-subtle);margin-left:auto}@media (width<=1023px){.btn,.btn-sm,.btn-ghost{min-width:44px;min-height:44px}a.btn-ghost.btn-sm{min-height:36px;padding:6px 10px}.select,.input,.form-control,.field input,.field select,textarea{min-height:44px;font-size:16px}.table td,.table th{padding:10px 8px}.card-header{padding:12px 14px}}@media (width<=768px){.btn-icon,.pagination .page-btn{min-width:44px;min-height:44px}.searchable-select-option{min-height:44px;padding:10px 14px}.data-table thead{display:none}.data-table,.data-table tbody,.data-table tr,.data-table td{width:100%;display:block}.data-table tr{margin-bottom:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md)}.data-table td{border:0;padding:3px 0}.data-table td[data-label]{align-items:baseline;gap:8px;display:flex}.data-table td[data-label]:before{content:attr(data-label);width:110px;font-size:11px;font-weight:var(--fw-semibold);letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-subtle);flex-shrink:0;display:inline-block}}@media (width<=767px){.field-row{grid-template-columns:1fr}.filters-bar{flex-direction:column;align-items:stretch}.filters-bar .filter-field{width:100%;max-width:none}.form-actions{flex-direction:column;gap:8px}.form-actions .btn{justify-content:center;width:100%}.table-wrap{overflow-x:auto}.table{min-width:600px}}@media (width<=639px){.card{border-radius:var(--radius-md)}.data-table .cell-actions{text-align:left;padding-left:84px}.data-table .cell-actions .btn-icon:only-child{margin-left:34px}.card-header{padding:10px 12px}.card-header h3{font-size:13px}.table-filter-wrap{flex-direction:column;align-items:stretch;gap:8px}.badge{padding:2px 6px;font-size:10px}.field label{font-size:11px}.pagination-bar{flex-direction:column;align-items:center;gap:8px}.pagination-info{font-size:12px}.modal{border-radius:var(--radius-lg);width:calc(100vw - 16px);max-height:calc(100vh - 32px);margin:8px}}@media (width<=379px){.btn{padding:6px 10px;font-size:12px}.btn-sm{height:28px;padding:3px 8px;font-size:11px}.table th,.table td{padding:4px 6px;font-size:10px}}.matter-status-tabs{border-bottom:2px solid var(--color-border);scrollbar-width:none;gap:0;margin-bottom:20px;display:flex;overflow-x:auto}.matter-status-tabs::-webkit-scrollbar{display:none}.matter-status-tabs .matter-tab{margin-bottom:-2px;padding:10px 20px;font-size:14px}.bulk-bar{background:var(--color-selected-bg);border:1px solid var(--color-border);border-radius:var(--radius-md);align-items:center;gap:12px;margin-bottom:8px;padding:10px 16px;font-size:13px;display:none}.bulk-bar.is-visible{display:flex}.bulk-bar label{cursor:pointer;align-items:center;gap:6px;display:flex}.bulk-bar .bulk-count{color:var(--color-text-subtle)}.bulk-bar form{margin-left:auto}.matter-list{flex-direction:column;gap:8px;display:flex}.matter-row{transition:box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease;align-items:center;padding:0;display:flex}.matter-row+.matter-row{margin-top:0}.matter-row:hover{border-color:var(--color-border-strong);box-shadow:var(--shadow-sm)}.matter-row.is-selected{background:var(--color-selected-bg);border-color:var(--color-selected-border)}.matter-row__select{cursor:pointer;flex-shrink:0;padding:14px 8px 14px 14px}.matter-row__link{min-width:0;color:inherit;flex:1;padding:14px 18px 14px 0;text-decoration:none;display:block}.matter-row__link:hover{text-decoration:none}.matter-row__body{justify-content:space-between;align-items:center;gap:12px;display:flex}.matter-row__main{flex:1;min-width:0}.matter-row__title-line{align-items:center;gap:8px;margin-bottom:4px;display:flex}.matter-row__title{font-size:14px;font-weight:var(--fw-semibold);color:var(--color-heading);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.matter-row__title-line .badge{flex-shrink:0}.matter-row__meta{color:var(--color-text-subtle);flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.matter-row__meta .badge{font-size:10px}.matter-row__ref{font-family:var(--font-mono)}.matter-row__aside{color:var(--color-text-placeholder);text-align:right;flex-shrink:0;font-size:11px}.matter-row__aside svg{vertical-align:middle;margin-left:4px}.empty-state-actions{justify-content:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.matter-topline{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-2);display:flex}.matter-topline .back-link{align-items:center;gap:var(--space-1);font-size:var(--fs-sm);color:var(--color-text-subtle);margin:0;display:inline-flex}.matter-topline .back-link:hover{color:var(--color-heading)}.matter-topline__nav{font-size:var(--fs-xs);align-items:center;gap:6px;display:flex}.matter-header{gap:var(--space-2);margin-bottom:var(--space-6);padding:var(--space-6) 0;border-bottom:1px solid var(--color-border);flex-direction:column;display:flex}.matter-header__identity{min-width:0}.matter-title{font-size:var(--fs-2xl);font-weight:var(--fw-semibold);line-height:var(--lh-tight);letter-spacing:var(--ls-tight);color:var(--color-heading);margin:0}.matter-favorite{margin:0;display:inline}.matter-favorite__btn{height:auto;min-height:0;padding:0 var(--space-1);color:var(--color-text-disabled);cursor:pointer;transition:color var(--dur-fast) ease;background:0 0;border:0;font-size:22px;line-height:1}.matter-favorite__btn:hover,.matter-favorite__btn.is-on,.matter-favorite__btn[aria-pressed=true]{color:var(--color-accent);background:0 0}.matter-badges{gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.matter-add-tag{align-self:flex-start}.matter-meta{margin:var(--space-2) 0 0}.matter-header__meta{align-items:center;gap:var(--space-3);margin-top:var(--space-2);font-size:var(--fs-sm);color:var(--color-text-subtle);flex-wrap:wrap;display:flex}.matter-header__actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.matter-header__actions form{margin:0}.matter-tabs{gap:var(--space-1);margin-bottom:var(--space-6);border-bottom:1px solid var(--color-border);scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-right:20px;display:flex;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000 100%)}.matter-tabs::-webkit-scrollbar{display:none}.matter-tab{padding:var(--space-3) var(--space-4);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-muted);white-space:nowrap;transition:color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);border-bottom:2px solid #0000;text-decoration:none}.matter-tab:hover{color:var(--color-heading);text-decoration:none}.matter-tab.is-active{color:var(--color-heading);border-bottom-color:var(--color-primary)}.matter-tab.is-disabled{color:var(--color-text-disabled);cursor:not-allowed}.matter-section{margin-bottom:var(--space-6)}.matter-section[hidden]{display:none}.matter-section-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.matter-section-head h2{font-size:var(--fs-lg);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0}.matter-section-head__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.matter-section-form{gap:var(--space-3);margin-top:var(--space-4);flex-direction:column;display:flex}.matter-section-actions{justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-3);display:flex}.deadlines-table td.deadline-actions{padding-inline:4px}.deadlines-table td.deadline-actions .btn-sm{padding-inline:8px}.deadlines-table td.deadline-actions>div{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.deadlines-table .deadline-origin{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.deadlines-table .deadline-actions-row{display:none}.deadlines-table .deadline-actions-row>td{border-top:0;padding-top:0}.deadlines-table .deadline-actions-row>td>div{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}@media (width<=1024px){.deadlines-table td.deadline-actions>div{display:none}.deadlines-table .deadline-actions-row{display:table-row}}@media (width<=767px){.table-container:has(>.deadlines-table){overflow-x:auto}.card>.deadlines-table{table-layout:fixed;width:600px;max-width:none}.deadlines-table col:first-child{width:30%!important}.deadlines-table col:nth-child(2){width:24%!important}.deadlines-table col:nth-child(3){width:16%!important}.deadlines-table col:nth-child(4){width:10%!important}.deadlines-table col:nth-child(5){width:20%!important}}.inline-row-form{display:inline}.matter-fees-totals{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.matter-fees-stat{gap:var(--space-1);padding:var(--space-4);background:var(--color-surface-alt);border-radius:var(--radius-md);flex-direction:column;display:flex}.matter-fees-stat .stat-value{font-family:var(--font-mono);font-size:var(--fs-lg);margin:0}@media (width<=639px){.matter-fees-totals{grid-template-columns:1fr}}.party-doc-file{max-width:150px;font-size:11px}.party-doc-file-custom{font-size:12px}.siren-lookup-btn{white-space:nowrap;flex-shrink:0;min-width:130px}.access-revoke-form{display:inline}@media (width<=639px){.access-revoke-form{margin-bottom:4px;display:block}.table-container:has(>.access-grants-table){overflow-x:auto}.card>.access-grants-table{table-layout:fixed;width:600px;max-width:none}.access-grants-table col:first-child{width:27%!important}.access-grants-table col:nth-child(2){width:10%!important}.access-grants-table col:nth-child(3){width:17%!important}.access-grants-table col:nth-child(4){width:16%!important}.access-grants-table col:nth-child(5){width:14%!important}.access-grants-table col:nth-child(6){width:16%!important}}.matter-dl{gap:var(--space-3) var(--space-6);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:0;display:grid}.matter-dl>div{gap:var(--space-1);flex-direction:column;display:flex}.matter-dl-wide{grid-column:1/-1}.matter-dl dt{font-size:var(--fs-xs);font-weight:var(--fw-semibold);letter-spacing:var(--ls-wide);text-transform:uppercase;color:var(--color-text-subtle);margin:0}.matter-dl dd{font-size:var(--fs-sm);color:var(--color-text);margin:0}.matter-mono{font-family:var(--font-mono);font-size:var(--fs-sm)}.wizard-stepper{gap:var(--space-2);margin-bottom:var(--space-6);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);display:flex;overflow-x:auto}.wizard-step,a.wizard-step{align-items:center;gap:var(--space-2);min-width:140px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-muted);transition:background var(--dur-base) var(--ease-out);flex:1;text-decoration:none;display:flex}a.wizard-step:hover{background:var(--color-surface-hover);color:var(--color-heading);text-decoration:none}.wizard-step-num{border-radius:var(--radius-full);background:var(--status-neutral-bg);width:28px;height:28px;color:var(--status-neutral-fg);font-family:var(--font-mono);font-size:var(--fs-xs);font-weight:var(--fw-semibold);justify-content:center;align-items:center;display:inline-flex}.wizard-step.is-current{background:var(--color-primary);color:var(--color-primary-fg)}.wizard-step.is-current .wizard-step-num{background:var(--color-accent);color:var(--color-accent-fg)}.wizard-step.is-done .wizard-step-num{background:var(--status-success-solid);color:var(--color-text-inverse)}.wizard-step-label{flex:1}.wizard-form{gap:var(--space-4);flex-direction:column;display:flex}.wizard-form h2{font-size:var(--fs-xl);color:var(--color-heading);margin:0}.wizard-actions{justify-content:space-between;align-items:center;gap:var(--space-3);margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--color-border);display:flex}.wizard-recap{margin:var(--space-4) 0;padding:var(--space-4);background:var(--color-surface-alt);border-radius:var(--radius-md)}.wizard-recap h3{margin:0 0 var(--space-3);font-size:var(--fs-md);color:var(--color-heading)}.radio-card{align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);cursor:pointer;transition:border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);display:flex}.radio-card:hover{border-color:var(--color-primary);background:var(--color-surface-hover)}.radio-card input[type=radio]{margin-top:2px}.radio-card:has(input[type=radio]:checked){border-color:var(--color-selected-border);background:var(--color-selected-bg)}.radio-card-body{flex-direction:column;flex:1;gap:2px;display:flex}.radio-card-body strong{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-text)}.radio-card-body span.text-muted{font-size:var(--fs-xs)}.wizard-existing-client{margin-bottom:var(--space-5);padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:8px}.wizard-existing-client-label{margin-bottom:6px;font-size:13px;font-weight:600;display:block}.wizard-existing-client-field{align-items:start;gap:8px;display:flex}.wizard-existing-client-field .select{flex:1}.wizard-existing-client-hint{color:var(--color-text-muted);margin-top:4px;font-size:11px}.sirene-search{margin-bottom:var(--space-4);padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-md)}.sirene-search-label{font-size:12px;font-weight:var(--fw-semibold);margin-bottom:4px;display:block}.sirene-search-label svg{vertical-align:-2px;margin-right:4px}.sirene-search-field{position:relative}.sirene-search-results{z-index:var(--z-dropdown);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);max-height:300px;box-shadow:var(--shadow-lg);font-size:13px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.sirene-search-item{cursor:pointer;border-bottom:1px solid var(--color-border-subtle);padding:10px 12px}.sirene-search-item:last-child{border-bottom:0}.sirene-search-item:hover{background:var(--color-surface-hover)}.sirene-search-item-name{font-size:13px;font-weight:var(--fw-semibold)}.sirene-search-item-meta{color:var(--color-text-subtle);font-size:11px}.sirene-search-item-closed{color:var(--status-danger-fg)}.sirene-search-item-leaders{color:var(--color-text-subtle);margin-top:2px;font-size:10px}.sirene-search-empty{color:var(--color-text-subtle);padding:12px}.sirene-search-status{color:var(--color-text-subtle);margin:4px 0 0;font-size:11px}.sirene-search-status.is-success{color:var(--status-success-fg)}.sirene-search-leaders{color:var(--color-text-muted);font-size:13px}.sirene-search-leaders div{padding:2px 0}.conflict-warning{gap:var(--space-3);margin:var(--space-4) 0;padding:var(--space-4);border-radius:var(--radius-md);flex-direction:column;display:flex}.conflict-warning-danger{background:var(--status-danger-bg);border:1px solid var(--status-danger-border);color:var(--status-danger-fg);border-left-width:4px}.conflict-warning-success{background:var(--status-success-bg);border:1px solid var(--status-success-border);color:var(--status-success-fg);border-left-width:4px;flex-direction:row;align-items:center}.conflict-warning-head{align-items:center;gap:var(--space-3);display:flex}.conflict-warning-icon{flex-shrink:0}.conflict-warning-title strong{font-size:var(--fs-md);font-weight:var(--fw-semibold);display:block}.conflict-warning-sub{font-size:var(--fs-xs);opacity:.85}.conflict-warning-reason{font-size:var(--fs-sm);margin:0}.conflict-warning-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.conflict-warning-item{align-items:center;gap:var(--space-3);padding:var(--space-2);background:var(--color-surface);border-radius:var(--radius-sm);font-size:var(--fs-sm);color:var(--color-text);flex-wrap:wrap;display:flex}.conflict-warning-link{color:inherit;flex-direction:column;flex:1;text-decoration:none;display:flex}.conflict-warning-ref{font-family:var(--font-mono);font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-link)}.conflict-warning-name{font-weight:var(--fw-medium);color:var(--color-text)}.conflict-warning-ok-text{font-size:var(--fs-sm);margin:0}.admin-main>.dashboard-alerts,.admin-main>.stats-grid,.admin-main>.dashboard-columns,.admin-main>.dashboard-placeholder{margin-bottom:var(--space-6)}.admin-main>.dashboard-placeholder:last-child{margin-bottom:0}.dashboard-placeholder{justify-content:space-between;align-items:center;gap:var(--space-4);background:var(--color-surface-alt);border-style:dashed;flex-wrap:wrap;display:flex}.dashboard-placeholder .eyebrow{margin-bottom:var(--space-1)}.dashboard-placeholder-text{max-width:68ch;font-size:var(--fs-sm);line-height:var(--lh-normal);color:var(--color-text-muted);margin:0}.dashboard-alerts{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--status-danger-bg);border:1px solid var(--status-danger-border);border-radius:var(--radius-lg);color:var(--status-danger-fg);font-size:var(--fs-sm);flex-wrap:wrap;display:flex}.dashboard-alerts-title{font-weight:var(--fw-semibold)}.dashboard-alerts-list{align-items:center;gap:var(--space-3);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.dashboard-alert+.dashboard-alert{padding-left:var(--space-3);border-left:1px solid}@supports (color:color-mix(in lab, red, red)){.dashboard-alert+.dashboard-alert{border-left:1px solid color-mix(in srgb, currentColor 30%, transparent)}}.dashboard-alert,.dashboard-alert a{color:var(--status-danger-fg);font-weight:var(--fw-semibold);text-decoration:none}.dashboard-alert.is-warning,.dashboard-alert.is-warning a{color:var(--status-warning-fg)}.dashboard-alert a:hover{text-decoration:underline}.dashboard-columns{align-items:start;gap:var(--space-4);grid-template-columns:minmax(0,1fr);display:grid}@media (width>=1100px){.dashboard-columns{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}.dashboard-stack{gap:var(--space-4);min-width:0;display:grid}.dashboard-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.dashboard-list-item{justify-content:space-between;align-items:baseline;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border-subtle);display:flex}.dashboard-list-item:first-child{padding-top:0}.dashboard-list-item:last-child{border-bottom:0;padding-bottom:0}.dashboard-list-main{min-width:0;color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}.dashboard-list-main:hover .dashboard-list-title{text-decoration:underline}.dashboard-list-title{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dashboard-list-meta{font-size:var(--fs-xs);color:var(--color-text-muted)}.dashboard-list-aside{font-size:var(--fs-xs);color:var(--color-text-subtle);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.dashboard-list-aside.is-urgent{color:var(--status-danger-fg);font-weight:var(--fw-semibold)}.dashboard-card-link{font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text-muted);text-decoration:none}.dashboard-card-link:hover{color:var(--color-link);text-decoration:underline}button.dashboard-card-link{cursor:pointer;background:0 0;border:0;font-family:inherit}.dashboard-chart{align-items:end;gap:var(--space-3);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.dashboard-chart-column{align-items:center;gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.dashboard-chart-value{color:var(--color-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px}.dashboard-chart-track{border-radius:var(--radius-sm);background:var(--color-surface-alt);justify-content:center;align-items:flex-end;width:100%;height:132px;display:flex}.dashboard-chart-bar{border-radius:var(--radius-sm);background:var(--color-primary);width:100%;min-height:3px}.dashboard-chart-label{font-size:var(--fs-xs);color:var(--color-text-subtle)}.dashboard-storage{justify-content:space-between;align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;display:flex}.dashboard-storage .stat-value{font-size:var(--fs-xl)}.dashboard-news-content{max-height:380px;overflow-y:auto}.dashboard-news{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.dashboard-news-item{align-items:flex-start;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border-subtle);display:flex}.dashboard-news-item:first-child{padding-top:0}.dashboard-news-item:last-child{border-bottom:0;padding-bottom:0}.dashboard-news-badge{border-radius:var(--radius-md);background:var(--color-primary);width:28px;height:28px;color:var(--color-primary-fg);font-size:10px;font-weight:var(--fw-bold);flex:none;justify-content:center;align-items:center;display:flex}.dashboard-news-body{min-width:0}.dashboard-news-title{font-size:var(--fs-sm);font-weight:var(--fw-semibold);line-height:var(--lh-snug);color:var(--color-text);text-decoration:none;display:block}a.dashboard-news-title:hover{text-decoration:underline}.dashboard-news-summary{margin:var(--space-1) 0 0;font-size:var(--fs-xs);line-height:var(--lh-normal);color:var(--color-text-muted)}.dashboard-news-source{margin:var(--space-1) 0 0;color:var(--color-text-subtle);font-size:11px}.dashboard-news-footer{margin:var(--space-4) 0 0;padding-top:var(--space-3);border-top:1px solid var(--color-border-subtle);font-size:11px;line-height:var(--lh-normal);color:var(--color-text-subtle)}.cookie-banner{width:100%;padding:var(--space-8);background:var(--color-surface-raised);border-top:1px solid var(--color-border);color:var(--color-text);box-shadow:var(--shadow-lg);z-index:var(--z-toast);animation:cookie-slide-up var(--dur-slow) var(--ease-out);inset-inline:0;position:fixed;bottom:0}.cookie-banner[hidden]{display:none}.cookie-banner__inner{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;width:100%;margin:0;display:flex}.cookie-banner__text{font-size:var(--fs-sm);flex:320px;margin:0;line-height:1.6}.cookie-banner__actions{gap:var(--space-2);flex-wrap:wrap;flex:none;display:flex}.cookie-banner__link{color:var(--color-link);text-decoration:underline}@keyframes cookie-slide-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@media (width<=768px){.matter-dl{grid-template-columns:1fr}.wizard-stepper{flex-direction:column}.wizard-step{min-width:100%}}@media (width<=640px){.cookie-banner{padding:var(--space-6)}.matter-tab,.matter-status-tabs .matter-tab{padding:8px 12px;font-size:12px}.matter-badges{gap:4px}}.filters-bar .filter-field--search{flex:1;min-width:260px}.cookie-category{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--color-border);display:flex}.tasks-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.tasks-stats{flex-wrap:wrap;gap:8px;display:flex}.task-stat{background:var(--status-neutral-bg);color:var(--status-neutral-fg);font-size:13px;font-weight:var(--fw-semibold);border:1px solid #0000;border-radius:20px;align-items:center;gap:6px;padding:6px 14px;display:flex}.task-stat.is-todo{background:var(--status-info-bg);color:var(--status-info-fg)}.task-stat.is-progress{background:var(--status-warning-bg);color:var(--status-warning-fg)}.task-stat.is-done{background:var(--status-success-bg);color:var(--status-success-fg)}.task-stat.is-overdue{background:var(--status-danger-bg);color:var(--status-danger-fg)}.tasks-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.task-col-header{border-bottom:2px solid var(--color-border);align-items:center;gap:8px;margin-bottom:12px;padding:0 0 12px;display:flex}.task-col-title{font-size:13px;font-weight:var(--fw-bold);text-transform:uppercase;color:var(--color-text-subtle)}.task-col-count{background:var(--status-neutral-bg);color:var(--status-neutral-fg);font-size:11px;font-weight:var(--fw-semibold);border-radius:10px;padding:2px 8px}.task-col-dot,.task-priority-dot{background:var(--color-text-disabled);border-radius:50%;flex-shrink:0}.task-col-dot{width:8px;height:8px}.task-priority-dot{width:6px;height:6px;margin-top:6px}.task-col-dot.is-todo,.task-priority-dot.is-medium{background:var(--status-info-solid)}.task-col-dot.is-progress,.task-priority-dot.is-high{background:var(--status-warning-solid)}.task-col-dot.is-done{background:var(--status-success-solid)}.task-priority-dot.is-urgent{background:var(--status-danger-solid)}.task-priority-dot.is-low{background:var(--color-text-disabled)}.task-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);transition:border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;margin-bottom:8px;padding:14px 16px;position:relative;overflow:hidden}.task-card:hover{border-color:var(--color-border-strong);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.task-card.is-overdue{border-color:var(--status-danger-border)}.task-card.is-done{opacity:.6}.task-card-title{font-size:14px;font-weight:var(--fw-semibold);color:var(--color-heading);margin-bottom:6px;padding-right:58px;line-height:1.4}.task-card-title a{color:inherit;text-decoration:none}.task-card-title a:hover{color:var(--color-link)}.task-card.is-done .task-card-title{color:var(--color-text-subtle);text-decoration:line-through}.task-card-meta{color:var(--color-text-subtle);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.task-card-meta a{color:var(--color-link);font-weight:var(--fw-medium);text-decoration:none}.task-card-actions{opacity:0;transition:opacity var(--dur-fast) ease;gap:2px;display:flex;position:absolute;top:8px;right:8px}.task-card:hover .task-card-actions,.task-card:focus-within .task-card-actions{opacity:1}.task-icon-btn{width:28px;min-width:0;height:28px;min-height:0;color:var(--color-text-subtle);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.task-icon-btn:hover{background:var(--color-surface-hover);color:var(--color-heading)}.task-icon-btn.is-danger:hover{background:var(--status-danger-bg);color:var(--status-danger-fg)}.task-progress{align-items:center;gap:6px;margin-top:8px;display:flex}.task-progress-bar{background:var(--color-border);border-radius:2px;flex:1;max-width:100px;height:4px;overflow:hidden}.task-progress-fill{background:var(--status-info-solid);border-radius:2px;height:100%}.task-progress-fill.is-progress{background:var(--status-warning-solid)}.task-progress-fill.is-done{background:var(--status-success-solid)}.task-progress-label{font-size:10px;font-weight:var(--fw-semibold);color:var(--color-text-subtle)}.task-due-overdue{color:var(--status-danger-fg);font-weight:var(--fw-semibold)}.task-avatar{background:var(--status-neutral-bg);width:22px;height:22px;color:var(--status-neutral-fg);font-size:10px;font-weight:var(--fw-bold);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.task-empty-col{text-align:center;color:var(--color-text-subtle);padding:32px 16px;font-size:13px}@media (width<=1024px){.tasks-board{grid-template-columns:1fr}}.task-priority-label{font-size:10px;font-weight:var(--fw-bold);text-transform:uppercase;color:var(--color-text-subtle)}.task-priority-label.is-urgent{color:var(--status-danger-fg)}.task-priority-label.is-high{color:var(--status-warning-fg)}.task-priority-label.is-medium{color:var(--status-info-fg)}.legal-page{max-width:760px;padding:var(--space-16) var(--space-6) var(--space-24);margin:0 auto}.legal-page .legal-brand{align-items:center;gap:var(--space-3);margin-bottom:var(--space-12);text-decoration:none;display:inline-flex}.legal-page .legal-brand img{width:auto;height:34px}.legal-page h1{margin:0 0 var(--space-2);font-size:var(--fs-3xl)}.legal-page .legal-updated{margin:0 0 var(--space-12);font-size:var(--fs-sm);color:var(--color-text-subtle)}.legal-page h2{margin:var(--space-12) 0 var(--space-3);font-size:var(--fs-lg);font-weight:var(--fw-semibold)}.legal-page p{margin:0 0 var(--space-4);color:var(--color-text-muted);line-height:1.7}.legal-page .legal-back{margin-top:var(--space-12);font-size:var(--fs-sm);display:inline-block}@media print{.legal-page .legal-brand,.legal-page .legal-back{display:none}.legal-page{max-width:none;padding:0}}.matter-identity-card{margin-bottom:var(--space-4)}.matter-tags-form{align-items:flex-end;gap:var(--space-2);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.matter-tags-form label{font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-muted);flex-basis:100%}.matter-tags-form input{min-width:220px;height:var(--control-height-sm);padding:0 var(--space-3);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);color:var(--color-text);flex:1}.matter-summary{margin-bottom:var(--space-4);padding:var(--space-5) var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}.matter-summary__header{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.matter-summary__header h3{font-size:var(--fs-base);margin:0}.matter-summary__header>div{gap:var(--space-1);display:flex}.matter-summary__stats{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(110px,1fr));display:grid}.matter-summary__stats>div{padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-md);flex-direction:column;gap:2px;display:flex}.matter-summary__stats strong{font-size:var(--fs-lg);font-weight:var(--fw-semibold);line-height:var(--lh-tight);color:var(--color-heading);font-variant-numeric:tabular-nums}.matter-summary__stats span{font-size:var(--fs-xs);color:var(--color-text-subtle)}.matter-summary__empty{margin-top:var(--space-4);font-size:var(--fs-sm);color:var(--color-text-subtle)}.field-group{margin:0 0 var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt)}.field-group legend{padding:0 var(--space-2);font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-muted)}.field-group .radio-card{background:var(--color-surface)}.field-required{color:var(--status-danger-solid);margin-left:2px}.field-help{margin:var(--space-1) 0 0;font-size:var(--fs-xs);line-height:var(--lh-normal);color:var(--color-text-subtle)}.form-label{margin-bottom:var(--space-1);font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text-muted);display:block}.form-input{width:100%;min-height:var(--control-height);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);font-size:var(--fs-sm);color:var(--color-text);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);outline:none;padding:8px 14px}.form-input:focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus)}textarea.form-input{resize:vertical;min-height:96px}.form-error{margin:var(--space-1) 0 0;font-size:var(--fs-xs);color:var(--status-danger-fg)}.form-row{gap:var(--space-4);margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));display:grid}.stack-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.checklist-item{align-items:center;gap:var(--space-2);display:flex}@media (width<=767px){.table.legacy-table-mobile{min-width:600px}.legacy-form-column{flex-direction:column;gap:8px}.legacy-inline-form{display:block}}@media (width<=639px){.table.legacy-table-mobile{display:block;overflow-x:auto}.table.legacy-table-mobile th,.table.legacy-table-mobile td{white-space:nowrap;padding:6px 8px}.table.legacy-table-mobile thead th{letter-spacing:.66px;font-size:11px}.table.legacy-table-mobile td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}.table.legacy-table-mobile .badge{padding:2px 6px;font-size:10px}.field input.input.legacy-date-input[type=date]:not([type=checkbox]){padding:10px 14px;font-size:16px}}.m05-temps .back-link{margin:0 0 var(--space-3);font-size:var(--fs-sm)}.m05-temps .back-link a{align-items:center;gap:var(--space-1);color:var(--color-link);text-decoration:none;display:inline-flex}.m05-temps .back-link a:hover{color:var(--color-link-hover);text-decoration:underline}.m05-temps .page-header h1{margin:0 0 var(--space-2)}.m05-temps .text-muted{color:var(--color-text-subtle)}.m05-temps .text-sm{font-size:var(--fs-sm)}.m05-temps .text-mono{font-family:var(--font-mono)}.m05-temps .text-right{text-align:right}.m05-temps>p.text-muted{margin:0 0 var(--space-4)}.m05-temps .card{margin-bottom:var(--space-4)}.m05-temps .card+.card{margin-top:0}.m05-temps .kpi-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.m05-temps .kpi-card{gap:var(--space-1);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-direction:column;display:flex}.m05-temps .kpi-label{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--color-text-subtle);font-weight:var(--fw-semibold)}.m05-temps .kpi-value{font-size:var(--fs-xl);font-weight:var(--fw-semibold);color:var(--color-heading);line-height:1.1}.m05-temps .kpi-unit{font-size:var(--fs-base);color:var(--color-text-muted);margin-left:2px}.m05-temps .kpi-hint{font-size:var(--fs-xs);color:var(--color-text-subtle)}.m05-temps .reminder-banner{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4);background:var(--color-accent-soft);border:1px solid var(--color-accent);border-radius:var(--radius-md);color:var(--color-text);font-size:var(--fs-sm);display:flex}.m05-temps .reminder-banner-body{flex:1}.m05-temps .reminder-banner-form{flex:none;margin:0}.m05-temps .top-matters-list{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.m05-temps .top-matter-item{align-items:center;gap:var(--space-4);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt);display:flex}.m05-temps .top-matter-rank{border-radius:var(--radius-full);background:var(--color-primary);width:32px;height:32px;color:var(--color-primary-fg);font-weight:var(--fw-semibold);font-size:var(--fs-sm);flex:0 0 32px;justify-content:center;align-items:center;display:flex}.m05-temps .top-matter-body{flex:1;min-width:0}.m05-temps .top-matter-link{color:var(--color-text);flex-direction:column;gap:2px;text-decoration:none;display:flex}.m05-temps .top-matter-link:hover strong{text-decoration:underline}.m05-temps .top-matter-hours{font-family:var(--font-mono);font-size:var(--fs-base);font-weight:var(--fw-semibold);color:var(--color-heading);flex:none}.m05-temps .week-bars{gap:var(--space-2);padding:var(--space-3) 0 var(--space-2);grid-template-columns:repeat(7,1fr);min-height:180px;display:grid}.m05-temps .week-bar-col{align-items:center;gap:var(--space-2);flex-direction:column;min-width:0;min-height:180px;display:flex}.m05-temps .week-bar-value{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--color-text-muted);margin-bottom:auto}.m05-temps .week-bar-track{background:var(--color-surface-alt);border-radius:var(--radius-sm);align-items:flex-end;width:36px;height:120px;display:flex;overflow:hidden}.m05-temps .week-bar-total{background:var(--color-border-strong);border-radius:var(--radius-sm) var(--radius-sm) 0 0;align-items:flex-end;width:100%;display:flex}.m05-temps .week-bar-billable{background:var(--color-primary);width:100%}.m05-temps .week-bar-label{font-size:var(--fs-xs);color:var(--color-text-subtle);text-transform:uppercase;letter-spacing:var(--ls-wide);flex-direction:column;align-items:center;display:flex}.m05-temps .week-bar-day{font-weight:var(--fw-semibold)}.m05-temps .week-bars-legend{margin:var(--space-2) 0 0;font-size:var(--fs-xs);color:var(--color-text-subtle);gap:var(--space-4);align-items:center;display:flex}.m05-temps .legend-swatch{vertical-align:middle;width:12px;height:12px;margin-right:var(--space-1);border-radius:2px;display:inline-block}.m05-temps .legend-swatch-billable{background:var(--color-primary)}.m05-temps .legend-swatch-other{background:var(--color-border-strong)}.m05-temps .timekeeping-chart-block{padding:var(--space-3) 0}.m05-temps .period-picker{align-items:center;gap:var(--space-2);margin:0;display:inline-flex}.m05-temps .period-picker .select,.m05-temps .period-picker .input{width:auto;min-width:0}.m05-temps .period-picker .input{max-width:96px}.m05-temps .table-time-entries th,.m05-temps .table-time-entries td{vertical-align:middle}.m05-temps .table-time-entries .text-right{text-align:right}.m05-temps .table-time-entries td .btn+form,.m05-temps .table-time-entries td form{margin:0;display:inline-flex}.m05-temps .badge-cat-billable{background:var(--color-primary-soft);color:var(--color-primary-soft-fg)}.m05-temps .badge-cat-non-billable{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}.m05-temps .badge-cat-pro-bono{background:var(--color-accent-soft);color:var(--color-accent-soft-fg)}.m05-temps .my-time-entries .table-wrap{margin:0}@media (width<=768px){.m05-temps .kpi-grid{grid-template-columns:1fr}.m05-temps .week-bars{gap:var(--space-1)}.m05-temps .week-bar-track{width:24px}.m05-temps .reminder-banner{flex-direction:column;align-items:flex-start}}@media (width<=639px){.m05-temps .period-picker,.m05-temps .period-picker .select{width:100%}}.m05-temps .category-split{border-radius:var(--radius-sm);background:var(--color-surface-alt);height:24px;display:flex;overflow:hidden}.m05-temps .category-split__part{height:100%;display:block}.m05-temps .category-split__part--billable{background:var(--color-primary)}.m05-temps .category-split__part--non-billable{background:var(--color-border-strong)}.m05-temps .category-split__part--pro-bono{background:var(--color-accent)}.m05-temps .timekeeping-json-link{justify-content:flex-end;margin:0;display:flex}@media (width>=640px){.m05-temps .filters-bar .filter-field:has(>select){width:140px}.m05-temps .filters-bar .filter-field:has(>select) .select{text-overflow:ellipsis;width:100%;min-width:0}}.m05-temps .table-time-entries td form.time-entry-delete{margin:var(--space-1) 0 0;justify-content:flex-end;display:flex}.invoice-batch-empty{padding:var(--space-8);text-align:center}.invoice-batch-empty svg{margin:0 auto var(--space-3);color:var(--color-text-subtle);display:block}.invoice-batch-toolbar{margin-bottom:var(--space-4);justify-content:space-between;align-items:center;display:flex}.invoice-batch-select-all{align-items:center;gap:var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-semibold);display:flex}.invoice-batch-total{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--color-text)}.invoice-batch-list{gap:var(--space-2);flex-direction:column;display:flex}.invoice-batch-row{flex-direction:column;display:flex}.invoice-batch-card{align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-4);cursor:pointer;margin:0;display:flex}.card+.card.invoice-batch-card{margin-top:0}.invoice-batch-card:hover{border-color:var(--color-border-strong)}.invoice-batch-card input[type=checkbox]{width:18px;height:18px;accent-color:var(--color-primary);flex-shrink:0}.invoice-batch-card__identity{flex:1;min-width:0}.invoice-batch-card__name{font-size:var(--fs-sm);font-weight:var(--fw-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.invoice-batch-card__meta{font-size:var(--fs-xs);color:var(--color-text-muted)}.invoice-batch-card__amounts{text-align:right;flex-shrink:0}.invoice-batch-card__amount{font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.invoice-batch-fees{align-self:flex-end}.invoice-batch-actions{justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-6);display:flex}.reminders-alert{align-items:center;gap:var(--space-3);padding:var(--space-4);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);display:flex}.reminders-alert>svg{color:var(--status-warning-fg);flex-shrink:0}.reminders-alert__text{flex:1}.reminders-stats{margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.reminders-stat{padding:var(--space-4)}.reminders-stat__label{margin:0 0 var(--space-1);font-size:var(--fs-sm)}.reminders-stat__value{font-size:var(--fs-2xl);font-weight:var(--fw-bold);color:var(--color-heading);margin:0}.reminders-stat__value.is-success{color:var(--status-success-fg)}.reminders-stat__value.is-danger{color:var(--status-danger-fg)}.reminders-filters .field{min-width:160px;margin-bottom:0}.reminders-filters .field.reminders-filters__date{min-width:140px}.reminders-filters .field .input{height:40px}.reminders-filters__actions{gap:var(--space-2);padding-top:var(--space-4);display:flex}.reminders-empty{padding:var(--space-8);text-align:center}.reminders-empty>svg{margin:0 auto var(--space-3);color:var(--color-text-subtle);display:block}.reminders-empty__action{margin-top:var(--space-4)}.reminders-invoice-link{font-weight:var(--fw-medium)}.reminders-error{font-size:var(--fs-xs);color:var(--status-danger-fg);margin-top:2px}.reminders-actions{white-space:nowrap}.reminders-actions form.inline{margin:0;display:inline}@media (width<=1023px){.reminders-filters .field select.input,.reminders-filters .field input.input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){min-height:44px;font-size:16px}}.reminders-filters .field select.input{background-position:right 6px center;padding-right:24px}.back-link.invoice-back{margin:0 0 var(--space-3);font-size:var(--fs-sm)}.back-link.invoice-back a{align-items:center;gap:var(--space-1);color:var(--color-text-subtle);display:inline-flex}.back-link.invoice-back a:hover{color:var(--color-heading)}.invoice-header .eyebrow{margin:0}.invoice-header__actions{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.invoice-header__actions form.inline{margin:0;display:inline}.invoice-paid-btn{color:var(--status-success-fg)}.invoice-reminders-btn{color:var(--status-warning-fg)}.invoice-section{margin-bottom:var(--space-6)}.card+.card.invoice-section{margin-top:0}.invoice-dl-link{font-weight:var(--fw-medium);color:var(--color-heading);text-decoration:none}.invoice-notes{white-space:pre-line}.invoice-table{font-size:var(--fs-sm)}.invoice-rule{margin:var(--space-4) 0;border:0;border-top:1px solid var(--color-border)}.invoice-pay-stats{gap:var(--space-3);margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:grid}.invoice-pay-stat{background:var(--color-surface-alt);border-radius:var(--radius-md);text-align:center;padding:10px}.invoice-pay-stat__value{font-size:var(--fs-lg);font-weight:var(--fw-bold);color:var(--color-heading)}.invoice-pay-stat__value.is-success,.invoice-payments-table .is-success,.invoice-payment-form__due.is-success{color:var(--status-success-fg)}.invoice-pay-stat__value.is-danger,.invoice-payments-table .is-danger{color:var(--status-danger-fg)}.invoice-pay-stat__label{font-size:var(--fs-xs);color:var(--color-text-muted)}.invoice-pay-bar{height:4px;margin-top:var(--space-1);background:var(--color-border);border-radius:2px;overflow:hidden}.invoice-pay-bar__fill{background:var(--color-primary);border-radius:2px;height:100%}.invoice-pay-bar__fill.is-complete{background:var(--status-success-fg)}.invoice-subtitle{margin-bottom:var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.invoice-payments-table{margin-bottom:var(--space-3)}.invoice-payments-table__index{font-size:var(--fs-xs)}.invoice-payments-table__note{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:1px}.invoice-payments-table__cumul{color:var(--status-success-fg)}.invoice-empty-payments{margin-bottom:var(--space-4)}.invoice-payment-form{margin-top:var(--space-4);padding:var(--space-4);background:var(--color-surface-alt);border:3px solid var(--color-primary);border-radius:var(--radius-lg)}.invoice-payment-form h3{margin:0 0 var(--space-3);font-size:var(--fs-base);font-weight:var(--fw-bold);color:var(--color-heading)}.invoice-payment-form h3 svg{vertical-align:-4px;color:var(--color-primary);margin-right:6px}.invoice-payment-form__due{margin-left:var(--space-2);font-size:var(--fs-xs);font-weight:var(--fw-normal);color:var(--color-text-muted)}.invoice-payment-form .field-row{margin-bottom:var(--space-3)}.invoice-reminders-icon{vertical-align:-4px;color:var(--status-warning-fg);margin-right:6px}.invoice-cancel-reminders{color:var(--status-danger-fg)}.invoice-sent-at{font-weight:var(--fw-semibold);color:var(--status-success-fg)}.invoice-reminder-error{font-size:var(--fs-xs);color:var(--status-danger-fg);margin-top:2px}.invoice-table tr.is-cancelled{opacity:.5}.invoice-fee-credits{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.invoice-fee-credits li{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.invoice-header__actions .btn.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.matter-fees-totals.invoices-totals{margin-bottom:var(--space-6)}.invoices-totals .stat-value.is-success{color:var(--status-success-solid)}.invoices-totals .stat-value.is-negative{color:var(--status-danger-solid)}.invoices-totals .stat-value.is-warning{color:var(--status-warning-solid)}.invoices-totals .stat-value.is-danger{color:var(--status-danger-solid)}@media (width>=768px){.filters-bar.invoices-filters{align-items:flex-end}}.invoices-filters .btn{height:var(--control-height)}.invoices-batch-bar{align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-wrap:wrap;padding:8px 14px;display:flex}.invoices-batch-bar[hidden]{display:none}.invoices-batch-bar__count{font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.invoices-batch-bar form{margin:0;display:inline}.invoices-table .invoices-table__check{width:32px}.invoices-table .sort-link{color:inherit;text-decoration:none}.invoices-table__matter{max-width:250px;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:11px;overflow:hidden}.invoices-table__matter-ref{font-family:var(--font-mono);color:var(--color-text-subtle)}.invoices-table__progress{align-items:center;gap:4px;margin-top:3px;display:flex}.invoices-table__progress-track{background:var(--color-border);border-radius:2px;flex:1;min-width:40px;height:3px;overflow:hidden}.invoices-table__progress-bar{background:var(--status-warning-solid);border-radius:2px;height:100%}.invoices-table__progress-value{color:var(--color-text-muted);white-space:nowrap;font-size:10px}.invoices-table .invoices-table__remind{color:var(--status-danger-solid);font-size:11px}.invoices-table .invoices-table__icon{padding:4px}.invoices-table tr.is-cancelled{opacity:.5}.invoices-table td.is-overdue{color:var(--status-danger-solid);font-weight:600}.invoices-table__late{color:var(--status-danger-solid);font-size:10px;font-weight:600}.invoices-table__due{color:var(--status-success-solid)}.invoices-table__due.is-due{color:var(--status-danger-solid);font-weight:600}.invoices-table .invoices-table__actions{width:120px}.invoices-overdue{color:var(--status-danger-solid);font-weight:600}.invoices-export{display:inline-block;position:relative}.invoices-export__menu{z-index:100;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:180px;box-shadow:var(--shadow-md);margin-top:4px;padding:4px 0;position:absolute;top:100%;right:0}.invoices-export__menu[hidden]{display:none}.invoices-export__item{color:var(--color-text);padding:8px 14px;font-size:13px;text-decoration:none;display:block}.invoices-export__item:hover{background:var(--color-surface-alt)}.invoices-export__separator{border-top:1px solid var(--color-border);margin:4px 0}.invoices-presets{margin-bottom:var(--space-4);flex-wrap:wrap;gap:6px;display:flex}.invoices-presets .invoices-presets__item{padding:4px 10px;font-size:12px}.invoices-presets .invoices-presets__item.is-active{color:var(--color-heading);background:var(--color-surface-alt);font-weight:600}.invoices-presets .invoices-presets__item--unpaid{color:var(--status-danger-solid)}.invoices-presets .invoices-presets__item--unpaid.is-active{background:var(--status-danger-bg)}.invoices-batch-bar__hint{margin-left:6px;font-weight:400}.invoices-batch-bar__hint[hidden]{display:none}.invoices-batch-bar__hint.is-success{color:var(--status-success-solid)}.invoices-batch-bar__hint a{font-weight:600;text-decoration:underline}.invoice-stripe{margin-top:var(--space-4);padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:12px}.invoice-stripe h4{color:var(--color-heading);margin:0 0 8px;font-size:14px}.invoice-stripe h4 svg{vertical-align:-3px;margin-right:6px}.invoice-stripe p{color:var(--color-text-muted);margin-bottom:12px;font-size:12px}.invoice-stripe .badge{margin-left:var(--space-2)}.invoices-table .nowrap{white-space:nowrap}.invoices-table .matter-ref-link{color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}@media (width<=639px){.invoices-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}}.invoice-number-display{font-family:var(--font-mono);font-size:var(--fs-lg);font-weight:var(--fw-semibold);color:var(--color-heading);letter-spacing:var(--ls-wide)}.invoice-wizard-steps{gap:var(--space-2);margin-bottom:var(--space-6);padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-lg);display:flex}.invoice-wizard-step{align-items:center;gap:var(--space-2);min-width:0;padding:var(--space-2) var(--space-4);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-muted);border-radius:var(--radius-md);flex:1;display:flex}.invoice-wizard-step.is-active{color:var(--color-primary-fg);background:var(--color-primary)}.invoice-wizard-step-num{width:28px;height:28px;font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text);background:var(--color-border);border-radius:var(--radius-full);flex-shrink:0;justify-content:center;align-items:center;display:flex}.invoice-wizard-step.is-active .invoice-wizard-step-num{color:var(--color-accent-fg);background:var(--color-accent)}.card.invoice-assistant__card{margin-bottom:var(--space-6)}.invoice-assistant .field-hint{margin-top:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-muted);display:block}.invoice-assistant .field .req{color:var(--status-danger-solid)}.invoice-assistant__client{align-items:flex-start;gap:6px;display:flex}.invoice-assistant__client-select{flex:1;min-width:0}.invoice-assistant__add-client{white-space:nowrap;margin-top:2px}.invoice-assistant__modes{margin-top:var(--space-6)}.invoice-assistant__modes h4{margin-bottom:var(--space-3)}.billing-mode-grid{gap:var(--space-3);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}.billing-mode-card{padding:var(--space-4);cursor:pointer;border:2px solid var(--color-border);border-radius:var(--radius-lg);display:block;position:relative}.billing-mode-card:hover{background:var(--color-surface-alt);border-color:var(--color-border-strong)}.billing-mode-card input[type=radio]{opacity:0;pointer-events:none;position:absolute}.billing-mode-card:has(input:checked){background:var(--color-selected-bg);border-color:var(--color-primary);box-shadow:inset 0 0 0 1px var(--color-primary)}.billing-mode-card:focus-within{box-shadow:0 0 0 3px var(--color-focus-ring)}.billing-mode-icon{width:40px;height:40px;margin-bottom:var(--space-3);color:var(--color-primary-soft-fg);background:var(--color-primary-soft);border-radius:var(--radius-md);justify-content:center;align-items:center;display:flex}.billing-mode-card:has(input:checked) .billing-mode-icon{color:var(--color-primary-fg);background:var(--color-primary)}.billing-mode-title{margin-bottom:var(--space-1);font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading)}.billing-mode-desc{font-size:var(--fs-xs);line-height:var(--lh-normal);color:var(--color-text-muted)}.time-entries-suggest{margin-bottom:var(--space-4);padding:var(--space-4);background:var(--color-surface-alt);border-radius:var(--radius-md)}.time-entries-suggest-header{margin-bottom:var(--space-3);justify-content:space-between;align-items:center;display:flex}.time-entries-suggest-header h3{font-size:var(--fs-base);margin:0}.time-entries-suggest__status{padding:12px;font-size:13px}.time-entry-suggest-item{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border);display:flex}.time-entry-suggest-item:last-child{border-bottom:0}.time-entry-suggest-desc{font-size:var(--fs-sm);cursor:pointer;flex:1}.time-entry-suggest-desc .text-xs{font-size:var(--fs-xs);display:block}.time-entry-suggest-hours{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-primary-soft-fg);white-space:nowrap}.time-entry-suggest-amount{min-width:80px;font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading);text-align:right;white-space:nowrap}.invoice-assistant .invoice-lines{margin-bottom:var(--space-4)}.invoice-assistant .invoice-line-header,.invoice-assistant .invoice-line-row{gap:var(--space-3);grid-template-columns:2.5fr .8fr .8fr .7fr .8fr 40px;display:grid}.invoice-assistant .invoice-line-header{padding:var(--space-2) var(--space-3);font-size:var(--fs-xs);font-weight:var(--fw-semibold);letter-spacing:var(--ls-wide);text-transform:uppercase;color:var(--color-text-muted);background:var(--color-surface-alt);border-radius:var(--radius-md) var(--radius-md) 0 0}.invoice-assistant .invoice-line-row{padding:var(--space-3);border-bottom:1px solid var(--color-border-subtle);align-items:center}.invoice-assistant .invoice-line-row:last-child{border-bottom:0}.invoice-assistant .invoice-line-row input,.invoice-assistant .invoice-line-row select{height:32px;font-size:var(--fs-xs)}.invoice-assistant .invoice-line-number{text-align:right}.invoice-assistant .invoice-line-tva{min-width:70px}.invoice-assistant__notes{margin-top:var(--space-4)}.invoice-totals-hint{color:var(--color-text-subtle);font-size:11px;font-weight:400}@media (width<=768px){.invoice-wizard-steps{flex-direction:column}.billing-mode-grid{grid-template-columns:1fr}.invoice-assistant .invoice-line-header,.invoice-assistant .invoice-line-row{gap:var(--space-2);grid-template-columns:1fr}.invoice-assistant .invoice-line-header{display:none}}.card.invoice-edit{max-width:640px}.invoice-edit__body{padding:var(--space-4)}.invoice-edit__grid{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.invoice-edit__draft{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);padding:var(--space-3);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);border-radius:8px;display:flex}.invoice-edit__draft-label{color:var(--status-warning-fg);font-size:13px;font-weight:600}.invoice-edit__draft-label .icon{vertical-align:-3px;margin-right:4px}.invoice-edit__client{align-items:flex-start;gap:6px;display:flex}.invoice-edit__client .select{flex:1}.invoice-edit__client .invoice-edit__new-client{white-space:nowrap;height:38px}.invoice-edit__lines{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.invoice-edit__lines-title{margin-bottom:var(--space-3);font-weight:var(--fw-semibold)}.invoice-edit__line{grid-template-columns:2.5fr .7fr .8fr .6fr .8fr auto;align-items:end;gap:8px;margin-bottom:8px;display:grid}.invoice-edit__line .input{padding:6px 8px;font-size:13px}.invoice-edit__line .select{padding:4px 6px;font-size:12px}.invoice-edit__remove{color:var(--status-danger-solid);cursor:pointer;background:0 0;border:none;padding:4px;font-size:18px}.invoice-edit__add{margin-top:var(--space-2)}.invoice-edit__actions{margin-top:var(--space-4)}@media (width<=639px){.invoice-edit__grid,.invoice-edit__line{grid-template-columns:1fr;gap:8px}.invoice-edit__draft{flex-direction:column}.invoice-edit__draft .btn{white-space:nowrap}.invoice-edit__client{flex-wrap:wrap}.invoice-edit__client .select{flex-basis:100%}}.matter-fees-totals.payments-totals{margin-bottom:var(--space-6)}.payments-totals .stat-value.is-success,.payments-amount{color:var(--status-success-solid)}.payments-by-mode{margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.payments-by-mode__item{text-align:center;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;padding:12px}.payments-by-mode__amount{color:var(--payment-mode,var(--status-neutral-fg));font-size:20px;font-weight:700}.payments-by-mode__label{color:var(--color-text-muted);margin-top:2px;font-size:12px}.payments-mode{color:var(--payment-mode,var(--status-neutral-fg));background:var(--color-surface-alt);border:1px solid var(--color-border)}.payments-by-mode__item.is-virement,.payments-mode.is-virement,.payments-by-mode__item.is-prelevement,.payments-mode.is-prelevement{--payment-mode:var(--status-info-fg)}.payments-by-mode__item.is-cheque,.payments-mode.is-cheque{--payment-mode:var(--color-accent-soft-fg)}.payments-by-mode__item.is-cb,.payments-mode.is-cb{--payment-mode:var(--status-success-fg)}.payments-by-mode__item.is-especes,.payments-mode.is-especes{--payment-mode:var(--status-warning-fg)}.payments-by-mode__item.is-carpa,.payments-mode.is-carpa{--payment-mode:var(--color-primary-soft-fg)}.payments-by-mode__item.is-autre,.payments-mode.is-autre{--payment-mode:var(--status-neutral-fg)}.filters-bar .payments-filters__search{flex:1;min-width:200px}.payments-notes{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.payments-table .nowrap{white-space:nowrap}.payments-table .payments-delete{color:var(--status-danger-solid)}.payments-table tr.is-rejected{opacity:.6}.payments-empty__hint{color:var(--color-text-muted);margin-top:8px}.payments-empty__reset{margin-top:12px}.payments-table .matter-ref-link{color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}@media (width<=639px){.table-wrap>.table.payments-table{display:block;overflow-x:auto}.table.payments-table thead th,.table.payments-table tbody td{white-space:nowrap;padding:6px 8px}.table.payments-table tbody td{text-overflow:ellipsis;max-width:180px;overflow:hidden}.payments-table form.inline{display:block}.table.payments-table thead th{letter-spacing:.06em;font-size:11px}.table.payments-table tbody td{font-size:var(--fs-sm)}}.fee-agreements-list{flex-direction:column;gap:6px;display:flex}.card.fee-agreements-list__item{color:inherit;padding:12px 16px;text-decoration:none;display:block}.fee-agreements-list__row{justify-content:space-between;align-items:center;gap:10px;display:flex}.fee-agreements-list__main{flex:1;min-width:0}.fee-agreements-list__title{align-items:center;gap:8px;margin-bottom:3px;display:flex}.fee-agreements-list__number{color:var(--color-heading);font-size:14px;font-weight:600}.fee-agreements-list__title .badge{flex-shrink:0}.fee-agreements-list__parent{color:var(--color-text-muted);font-size:10px}.fee-agreements-list__meta{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;display:flex}.fee-agreements-list__matter{font-family:var(--font-mono)}.fee-agreements-list__amount{color:var(--color-heading);font-weight:600}.fee-agreements-list__chevron{color:var(--color-text-subtle);flex-shrink:0}.card.fee-agreement-form__card{margin-bottom:var(--space-6)}.fee-agreement-form .field-row{margin-bottom:var(--space-4)}.fee-agreement-form .field-hint{margin-top:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-muted);display:block}.fee-agreement-form .req{color:var(--status-danger-solid)}.fee-agreement-form [hidden]{display:none!important}.fee-agreement-form .field-row.fee-agreement-form__success:not([hidden]){display:flex}.fee-agreement-form__description{margin-bottom:var(--space-4)}.fee-agreement-form__intro{margin-bottom:var(--space-4);font-size:var(--fs-sm);color:var(--color-text-muted)}.clause-block{margin-bottom:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md)}.clause-block__head{align-items:center;gap:var(--space-2);margin-bottom:var(--space-2);cursor:pointer;display:flex}.clause-block__head input{width:18px;height:18px}.clause-block__head strong{font-size:var(--fs-sm)}.clause-block .textarea{width:100%;font-size:var(--fs-sm)}.page-actions.fee-agreement-actions{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.fee-agreement-actions form{display:inline}.fee-agreement-text{font-size:var(--fs-sm);color:var(--color-text);white-space:pre-line}.billing-wrap{max-width:960px;margin:0 auto}.billing-status{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;margin-bottom:24px;padding:24px}.billing-status-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.billing-status__label{color:var(--color-text-muted);margin:0 0 4px;font-size:13px}.billing-status__plan{align-items:center;gap:12px;display:flex}.billing-status__users{color:var(--color-text-muted);font-size:13px}.billing-plan-badge{border-radius:20px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-flex}.billing-plan-badge.is-trial{color:var(--status-warning-fg);background:var(--status-warning-bg)}.billing-plan-badge.is-active{color:var(--status-success-fg);background:var(--status-success-bg)}.billing-plan-badge.is-expired{color:var(--status-danger-fg);background:var(--status-danger-bg)}.billing-trial-bar{margin-top:16px}.billing-trial-bar__head{color:var(--color-text-muted);justify-content:space-between;margin-bottom:6px;font-size:12px;display:flex}.billing-trial-progress{background:var(--color-border);border-radius:3px;height:6px;overflow:hidden}.billing-trial-progress-fill{border-radius:3px;height:100%;transition:width .3s}.billing-trial-progress-fill.is-success{background:var(--status-success-solid)}.billing-trial-progress-fill.is-warning{background:var(--status-warning-solid)}.billing-trial-progress-fill.is-danger{background:var(--status-danger-solid)}.billing-plans__title{margin-bottom:4px;font-size:18px;font-weight:700}.billing-plans__intro{color:var(--color-text-muted);margin-bottom:0;font-size:14px}.billing-plans-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px;display:grid}.billing-plan-card{background:var(--color-surface);border:2px solid var(--color-border);border-radius:12px;flex-direction:column;padding:28px 24px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.billing-plan-card:hover{border-color:var(--color-primary)}.billing-plan-card.is-current{border-color:var(--status-success-solid)}.billing-plan-card.is-current:after{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-inverse);content:"Actuel";background:var(--status-success-solid);border-radius:10px;padding:2px 10px;font-size:11px;font-weight:700;position:absolute;top:-10px;right:16px}.billing-plan-card.is-popular{border-color:var(--color-primary)}.billing-plan-card.is-popular:before{letter-spacing:.05em;text-transform:uppercase;color:var(--color-primary-fg);content:"Populaire";background:var(--color-primary);border-radius:10px;padding:2px 10px;font-size:11px;font-weight:700;position:absolute;top:-10px;left:16px}.plan-name{color:var(--color-heading);margin-bottom:4px;font-size:20px;font-weight:700}.plan-price{color:var(--color-primary);margin:12px 0 4px;font-size:36px;font-weight:800}.plan-price.is-quote{font-size:24px}.plan-price span{color:var(--color-text-muted);font-size:14px;font-weight:400}.plan-users{color:var(--color-text-muted);margin:0;font-size:12px}.plan-features{flex:1;margin:20px 0;padding:0;list-style:none}.plan-features li{color:var(--color-text);align-items:center;gap:8px;padding:5px 0;font-size:13px;display:flex}.plan-features li:before{content:"";background:var(--status-success-bg);border-radius:50%;flex-shrink:0;width:16px;height:16px}.plan-cta{flex-direction:column;align-items:center;gap:6px;margin-top:auto;display:flex}.plan-cta .btn{justify-content:center;width:100%}.billing-faq{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;margin-top:32px;padding:20px}.billing-faq h3{margin:0 0 8px;font-size:15px;font-weight:600}.billing-faq details{margin-bottom:8px}.billing-faq details:last-child{margin-bottom:0}.billing-faq summary{cursor:pointer;padding:8px 0;font-size:13px;font-weight:500}.billing-faq details p{color:var(--color-text-muted);margin:0;padding:4px 0 8px;font-size:13px}@media (width<=768px){.billing-plans-grid{grid-template-columns:1fr}}.my-time-entries__header{margin-bottom:var(--space-4)}.my-time-entries__actions{gap:8px;display:flex}.my-time-entries__category{color:var(--color-text-inverse);border-radius:10px;padding:2px 8px;font-size:10px}.my-time-entries__category.is-billable{background:var(--status-success-solid)}.my-time-entries__category.is-non_billable{background:var(--status-warning-solid)}.my-time-entries__category.is-pro_bono{background:var(--status-info-solid)}.my-time-entries__hours{font-weight:600}.my-time-entries .nowrap{white-space:nowrap}.my-time-entries__more{text-align:center;border-top:1px solid var(--color-border);padding:12px 16px}.invoice-section__head{justify-content:space-between;align-items:center;display:flex}.invoice-section__head .invoice-section__link{font-size:12px}.invoice-credit-notes-icon{vertical-align:-4px;color:var(--status-danger-solid);margin-right:6px}.invoice-credit-notes__number{font-weight:var(--fw-medium)}.invoice-credit-notes__amount{color:var(--status-danger-solid);font-weight:600}.invoice-credit-notes__reason{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.credit-notes-list .table-filter-wrap{padding:var(--space-3) var(--space-3) 0;flex-wrap:wrap}.credit-notes-list .credit-notes-filters{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.credit-notes-list .nowrap{white-space:nowrap}.credit-notes-list .credit-note-number{font-weight:var(--fw-medium);color:var(--color-heading)}.credit-notes-list .credit-note-invoice{color:var(--color-link)}.credit-notes-list .credit-note-reason{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.credit-notes-list .credit-note-inline-form{display:inline}.credit-notes-list .credit-notes-empty{padding:var(--space-8);text-align:center}.credit-notes-list .credit-notes-empty-hint{font-size:var(--fs-sm)}.credit-note-show.dashboard-content{gap:var(--space-6);margin-bottom:var(--space-6);grid-template-columns:2fr 1fr;display:grid}@media (width<=1023px){.credit-note-show.dashboard-content{grid-template-columns:1fr}}.credit-note-show .credit-note-value{font-size:var(--fs-sm);margin:0}.credit-note-show .credit-note-amount{font-size:var(--fs-lg);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0}.credit-note-show .credit-note-meta{font-size:var(--fs-xs);color:var(--color-text-muted);margin:0}.credit-note-show .credit-note-invoice{color:var(--color-link);font-weight:var(--fw-medium)}.credit-note-show .credit-note-reason{padding:var(--space-3);font-size:var(--fs-sm);background:var(--color-surface-alt);border-radius:var(--radius-md);margin:0}.credit-note-show .credit-note-info{font-size:var(--fs-sm)}.credit-note-show .credit-note-info p{margin:0 0 var(--space-2)}.credit-note-show .credit-note-info p:last-child{margin-bottom:0}.credit-note-show .credit-note-info-label{color:var(--color-text-muted)}.page-actions .credit-note-inline-form{display:inline}.credit-notes-list .data-table thead th:first-child,.credit-notes-list .data-table thead th:nth-child(2){width:15%}.credit-notes-list .data-table thead th:nth-child(3){width:8%}.credit-notes-list .data-table thead th:nth-child(4){width:10%}.credit-notes-list .data-table thead th:nth-child(5){width:21%}.credit-notes-list .data-table thead th:nth-child(6){width:11%}.credit-notes-list .data-table thead th:nth-child(7){width:10%}.credit-notes-list .data-table thead th:nth-child(8){width:9%}.credit-note-create{max-width:600px}.credit-note-create .credit-note-invoice-box{padding:var(--space-3);font-size:var(--fs-sm);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:8px}.credit-note-create .credit-note-invoice-box__row{justify-content:space-between;align-items:center;display:flex}.credit-note-create .credit-note-invoice-box__total{text-align:right}.credit-note-create .credit-note-invoice-box__label{color:var(--color-text-muted);font-size:11px}.credit-note-create .credit-note-invoice-box__due{color:var(--color-text-muted);margin-top:6px;font-size:12px}.credit-note-create .credit-note-invoice-box__due strong{color:var(--status-danger-solid)}.credit-note-create .credit-note-amount-row{align-items:flex-end;gap:8px;display:flex}.credit-note-create .credit-note-amount-row .input{flex:1}.credit-note-create .credit-note-reason-input{height:auto;padding:var(--space-3);resize:vertical}.credit-note-create .credit-note-create__actions{padding:var(--space-4) 0;justify-content:flex-end;gap:8px;display:flex}.credit-notes-list .credit-notes-create{margin-left:auto}.provisions-filters .field.provisions-filter-field{min-width:180px;margin-bottom:0}.provisions-filters .provisions-filter-field select.input{height:40px}.provisions-filters .provisions-filter-submit{padding-top:var(--space-4)}.provisions-filters-extra{align-items:flex-end;gap:var(--space-4);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.provisions-empty{padding:var(--space-8);text-align:center}.table-scroll>.table-filter-wrap{padding:var(--space-3) var(--space-3) 0}.provision-matter-ref{font-weight:var(--fw-medium);color:var(--color-text)}.provision-paid-ratio{font-size:var(--fs-xs);color:var(--color-text-muted)}.provisions-table .nowrap{white-space:nowrap}.provision-inline-form{display:inline}@media (width>=769px){.provisions-table{table-layout:fixed;width:100%}.provisions-table th:first-child{width:16%}.provisions-table th:nth-child(2){width:10%}.provisions-table th:nth-child(3){width:13%}.provisions-table th:nth-child(4){width:10%}.provisions-table th:nth-child(5){width:17%}.provisions-table th:nth-child(6){width:16%}.provisions-table th:nth-child(7){width:18%}}.dashboard-content.provision-detail{gap:var(--space-6);margin-bottom:var(--space-6);grid-template-columns:2fr 1fr;display:grid}.provision-detail>div{min-width:0}.provision-detail .field-row{margin-bottom:var(--space-3)}.provision-detail .field-row .field{margin-bottom:0}.provision-summary{gap:var(--space-4);grid-template-columns:repeat(3,1fr);display:grid}.provision-summary-stat{text-align:center;padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-md)}.provision-summary-stat.is-paid{background:var(--status-success-bg)}.provision-summary-label{font-size:var(--fs-xs);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:var(--ls-wide);display:block}.provision-summary-value{margin-top:var(--space-1);font-size:var(--fs-xl);font-weight:var(--fw-semibold);color:var(--color-heading);display:block}.provision-summary-stat.is-paid .provision-summary-value{color:var(--status-success-fg)}.provision-progress{margin-top:var(--space-3)}.provision-progress-head{margin-bottom:var(--space-1);font-size:var(--fs-xs);justify-content:space-between;display:flex}.provision-progress-label{color:var(--color-text-muted)}.provision-progress-value{font-weight:var(--fw-bold);color:var(--status-info-fg)}.provision-progress.is-half .provision-progress-value{color:var(--status-warning-fg)}.provision-progress.is-complete .provision-progress-value{color:var(--status-success-fg)}.provision-progress-track{background:var(--color-border);border-radius:var(--radius-sm);height:6px;overflow:hidden}.provision-progress-bar{background:var(--status-info-solid);border-radius:var(--radius-sm);height:100%}.provision-progress.is-half .provision-progress-bar{background:var(--status-warning-solid)}.provision-progress.is-complete .provision-progress-bar{background:var(--status-success-solid)}.provision-detail .field.provision-deduct-field{flex:1;margin-bottom:0}.provision-detail .provision-deduct-submit{padding-top:var(--space-4)}.provision-info{font-size:var(--fs-sm)}.provision-info p{margin:0 0 var(--space-2)}.provision-info p:last-child{margin-bottom:0}.provision-info-label{color:var(--color-text-muted)}.provision-info-link{font-weight:var(--fw-medium);color:var(--color-link)}@media (width<=1023px){.dashboard-content.provision-detail{grid-template-columns:1fr}}.provision-form-card{max-width:600px}.provision-form-card select.input{height:40px}.provision-form-card textarea.input{height:auto;padding:var(--space-3);resize:vertical}.provision-form-card .card-footer{justify-content:flex-end;align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border-subtle);display:flex}.matter-documents-filters .matter-documents-search{flex:1;min-width:260px}.matter-documents-chips{align-items:center;gap:var(--space-2);margin:0 0 var(--space-4);flex-wrap:wrap;display:flex}.matter-documents-chip{align-items:center;gap:var(--space-1);padding:2px var(--space-3);font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--color-text-subtle);background:var(--color-surface);border:1px solid var(--color-border);border-radius:999px;text-decoration:none;display:inline-flex}.matter-documents-chip.is-active{color:var(--color-primary-fg);background:var(--color-primary);border-color:var(--color-primary)}.matter-documents-recent{margin:0 0 var(--space-4);padding:var(--space-3) var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md)}.matter-documents-recent-title{margin:0 0 var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-subtle)}.matter-documents-recent ul{gap:var(--space-1) var(--space-6);font-size:var(--fs-sm);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.matter-documents-recent .text-muted{font-size:var(--fs-xs)}.table-documents{width:100%}.table-documents th,.table-documents td{font-size:var(--fs-sm);vertical-align:middle}.table-documents td{padding:var(--space-3) var(--space-2)}.table-documents th a{color:inherit;text-decoration:none}.table-documents .col-name{width:40%}.table-documents .col-type{width:120px}.table-documents .col-size{width:100px}.table-documents .col-date{width:160px}.table-documents .text-right{text-align:right}.table-documents .text-mono{font-family:var(--font-mono)}.table-documents .document-actions{white-space:nowrap}.document-ref-link{align-items:center;gap:var(--space-3);max-width:100%;color:var(--color-heading);text-decoration:none;display:inline-flex}.document-ref-link:hover .document-name{color:var(--color-link-hover);text-decoration:underline}.document-icon{background:var(--color-surface-alt);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);flex-shrink:0;width:32px;height:40px;display:inline-block}.document-meta-text{flex-direction:column;min-width:0;display:flex}.document-name{max-width:560px;font-weight:var(--fw-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-desc{white-space:pre-wrap;overflow-wrap:break-word;margin:0;display:block}.table-documents .document-nature{margin-top:var(--space-1);display:block}.table-documents details.document-nature{position:relative}.table-documents details.document-nature summary{cursor:pointer;list-style:none;display:inline-flex}.table-documents .document-nature-menu{z-index:20;width:12rem;margin-top:var(--space-1);padding:var(--space-1);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:absolute;left:0}.table-documents .document-nature-menu button{padding:var(--space-1) var(--space-2);font-size:var(--fs-xs);text-align:left;border-radius:var(--radius-sm);background:0 0;border:0}.table-documents .document-nature-menu button:hover{background:var(--color-surface-alt)}.table-documents .document-nature-menu button:disabled{opacity:.4}.upload-form{gap:var(--space-4);flex-direction:column;display:flex}.upload-form .field{gap:var(--space-2);flex-direction:column;display:flex}.upload-form .field label{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-heading)}.upload-form .field-hint{color:var(--color-text-subtle)}.upload-form .field-error{font-size:var(--fs-sm);color:var(--status-danger-fg);margin:0}.upload-form textarea.input{height:auto;padding:var(--space-2) var(--space-3);resize:vertical}.upload-dropzone{align-items:center;gap:var(--space-3);padding:var(--space-6) var(--space-4);text-align:center;color:var(--color-text-subtle);background:var(--color-surface-alt);border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);flex-direction:column;display:flex;position:relative}.upload-dropzone:focus-visible,.upload-dropzone:focus-within{outline:2px solid var(--color-primary);outline-offset:2px}.upload-dropzone.has-file{border-color:var(--color-primary)}.upload-dropzone-input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.upload-dropzone-body{align-items:center;gap:var(--space-2);flex-direction:column;display:flex}.upload-dropzone-title{color:var(--color-text);margin:0}.upload-dropzone-btn{color:var(--color-link);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.upload-dropzone-hint{margin:0}.upload-folder-separator{text-align:center;padding:.75rem 0}.upload-folder-separator span{color:var(--color-text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:.8rem}.upload-folder{background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:8px;align-items:center;gap:1rem;padding:1rem;display:flex}.upload-folder-btn{color:var(--color-primary-fg);white-space:nowrap;background:var(--color-primary);cursor:pointer;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-size:.82rem;font-weight:500;display:inline-flex}.upload-folder-hint{color:var(--color-text-muted);font-size:.8rem}.upload-dropzone-preview{z-index:1;align-items:center;gap:var(--space-3);display:flex;position:relative}.upload-dropzone-preview[hidden]{display:none}.upload-dropzone-preview-meta{text-align:left;flex-direction:column;display:flex}.upload-form .matter-section-actions{justify-content:flex-end;gap:var(--space-3);display:flex}.table-documents details.document-nature:not([open]) .document-nature-menu{display:none}@media (width<=768px){.upload-form{padding:var(--space-4)}.table-documents thead{display:none}.table-documents,.table-documents tbody,.table-documents tr,.table-documents td{width:100%;display:block}.table-documents tr{margin-bottom:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md)}.table-documents td{padding:var(--space-1) 0;border:0}.document-name,.document-desc{white-space:normal;max-width:100%}}@media (width<=767px){.table-documents{min-width:600px}}@media (width<=639px){.table-documents td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}}.documents-upload-icon{vertical-align:middle;margin-right:4px}.card.documents-upload-panel{margin-bottom:var(--space-4);padding:var(--space-4)}.documents-upload-label{margin-bottom:var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-semibold);display:block}.documents-upload-row{align-items:flex-start;gap:var(--space-3);flex-wrap:wrap;display:flex}.documents-upload-select{flex:1;min-width:300px}.documents-kpis{margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.card.documents-kpi{text-align:center;padding:14px}.card+.card.documents-kpi{margin-top:0}.documents-kpi-value{font-size:22px;font-weight:var(--fw-bold);color:var(--color-heading)}.documents-kpi-label{color:var(--color-text-muted);font-size:11px}.filters-bar .documents-search-field{flex:1;min-width:260px}.documents-all-table .documents-col-name{width:28%}.documents-all-table .documents-col-type{width:100px}.documents-all-table .documents-col-size{width:80px}.documents-all-table .documents-col-date{width:130px}.documents-all-table .documents-col-actions{width:80px}.documents-matter-link{color:var(--color-link)}.documents-matter-name{font-size:var(--fs-xs);display:block}.documents-uploader{font-weight:var(--fw-medium)}.documents-all-table .documents-actions{white-space:nowrap}.documents-inline-form{display:inline}.documents-delete{color:var(--status-danger-fg)}.document-show .matter-header{gap:var(--space-2);margin-bottom:var(--space-6);padding:var(--space-6) 0;border-bottom:1px solid var(--color-border);flex-direction:column;display:flex}.document-show .matter-section{margin-bottom:var(--space-6);display:none}.document-show .matter-section:target,.document-show .matter-section.is-active,.document-show .matter-section:first-of-type{display:block}.document-show .matter-section-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.document-show .matter-dl{gap:var(--space-3) var(--space-6);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:0;display:grid}.document-show .matter-dl>div{gap:var(--space-1);flex-direction:column;display:flex}.document-show .matter-dl-wide{grid-column:1/-1}.document-show .matter-dl dt{font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:var(--ls-wide);margin:0}.document-show .matter-dl dd{font-size:var(--fs-sm);color:var(--color-text);margin:0}.document-show .matter-mono{font-family:var(--font-mono);font-size:var(--fs-sm)}.document-show .document-hash{word-break:break-all}.document-show .document-soon{align-items:center;gap:var(--space-2);display:inline-flex}.document-word-actions{gap:var(--space-2);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.document-word-session{margin-bottom:var(--space-4);padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md)}.document-word-title{font-size:var(--fs-sm);font-weight:var(--fw-medium);margin:0}.document-word-hint{margin:var(--space-1) 0 0;font-size:var(--fs-xs);color:var(--color-text-subtle)}.document-word-buttons{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.doc-new-version-wrap{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.doc-new-version-summary{padding:var(--space-2) 0;font-weight:var(--fw-semibold);color:var(--color-heading);cursor:pointer;list-style:none}.doc-new-version-summary::-webkit-details-marker{display:none}.doc-new-version-summary:before{content:"+";width:18px;margin-right:var(--space-2);font-weight:var(--fw-bold);color:var(--color-heading);display:inline-block}details[open]>.doc-new-version-summary:before{content:"-"}.document-preview-image{border-radius:var(--radius-sm);max-width:100%;max-height:700px;margin:0 auto;display:block}.document-preview-frame{border:1px solid var(--color-border);border-radius:var(--radius-md);width:100%;min-height:600px}.document-preview-office{padding:var(--space-6) 0;color:var(--color-text-subtle);text-align:center}.document-preview-office svg{margin-bottom:16px}.document-preview-office-type{font-size:var(--fs-sm);color:var(--color-text-muted);margin:0 0 4px}.document-preview-office-name{font-size:var(--fs-xs);color:var(--color-text-subtle);margin:0 0 16px}.document-preview-empty{padding:var(--space-6) 0}.document-annotations{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.document-annotations h3{font-size:var(--fs-base);margin:0}.document-annotation-grid{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.document-annotation-list{gap:var(--space-3);margin-top:var(--space-4);flex-direction:column;display:flex}.document-annotation{padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md)}.document-annotation.is-resolved{opacity:.7}.document-annotation-meta{font-size:var(--fs-xs);color:var(--color-text-muted);margin:0}.document-annotation-content{margin:var(--space-2) 0;font-size:var(--fs-sm);white-space:pre-line;overflow-wrap:break-word}.document-versions-timeline{margin:0 0 var(--space-4);padding:0;list-style:none;position:relative}.document-versions-timeline:before{content:"";background:var(--color-border);width:2px;position:absolute;top:12px;bottom:12px;left:15px}.document-version-item{align-items:flex-start;gap:var(--space-3);padding:var(--space-3) 0;display:flex;position:relative}.document-version-icon{z-index:1;width:32px;height:32px;color:var(--color-heading);background:var(--color-surface);border:2px solid var(--color-primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.document-version-icon-upload{color:var(--color-primary-fg);background:var(--color-primary);border-color:var(--color-primary)}.document-version-body{flex:1;min-width:0}.document-version-head{align-items:center;gap:var(--space-2);margin-bottom:var(--space-1);flex-wrap:wrap;display:flex}.document-version-note{margin:var(--space-1) 0;font-size:var(--fs-sm);color:var(--color-text)}.document-version-meta{margin:var(--space-1) 0}.document-version-actions{gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.document-version-alert{margin:var(--space-2) 0;padding:var(--space-2) var(--space-3);font-size:var(--fs-sm);color:var(--status-danger-fg);background:var(--status-danger-bg);border:1px solid var(--status-danger-border);border-radius:var(--radius-md)}@media (width<=767px){.document-show .matter-dl{grid-template-columns:1fr}}@media (width<=639px){.document-show .matter-section.card{overflow-x:auto}.document-show .matter-section-head .page-actions{flex-wrap:nowrap;flex-shrink:0;width:auto}.document-show .matter-section-head .page-actions .btn{white-space:nowrap;flex-shrink:0}}.documents-workspace .page-header{margin-bottom:var(--space-6)}.documents-workspace h1{align-items:center;gap:var(--space-3);display:flex}.documents-heading-count{border:1px solid var(--color-border);color:var(--color-text-subtle);font-size:13px;font-weight:var(--fw-medium);letter-spacing:normal;border-radius:8px;padding:3px 9px}.documents-library{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;min-width:0}.documents-filter-menu{position:relative}.documents-filter-toggle{gap:var(--space-2);cursor:pointer;font-weight:var(--fw-medium);list-style:none}.documents-filter-toggle::-webkit-details-marker{display:none}.documents-filter-menu[open]>summary{background:var(--color-surface-alt);border-color:var(--color-primary)}.documents-filter-badge{background:var(--color-primary);min-width:19px;height:19px;color:var(--color-primary-fg);border-radius:5px;justify-content:center;align-items:center;padding:0 4px;font-size:11px;display:inline-flex}.documents-filter-panel{z-index:var(--z-dropdown);width:300px;padding:var(--space-4);border:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-lg);border-radius:10px;position:absolute;top:calc(100% + 8px);right:0}.documents-filter-panel-heading{justify-content:space-between;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);display:flex}.documents-filter-panel-heading .btn{width:28px;height:28px;padding:0;font-size:20px}.documents-filter-panel>.btn{width:100%}.documents-active-filters{align-items:center;gap:var(--space-2);padding:0 var(--space-4) var(--space-4);flex-wrap:wrap;display:flex}.documents-filter-chip{align-items:center;gap:var(--space-2);border:1px solid var(--color-border);background:var(--color-surface-alt);max-width:100%;color:var(--color-text);font-size:var(--fs-xs);overflow-wrap:anywhere;border-radius:6px;padding:5px 10px;display:inline-flex}.documents-filter-chip span{color:var(--color-text-subtle);font-size:16px;line-height:1}.documents-filter-chip:hover{background:var(--color-surface-hover)}.documents-clear-filters{color:var(--color-text-subtle);font-size:var(--fs-xs);padding:5px 2px}.documents-results-heading{align-items:center;gap:var(--space-3);padding:0 var(--space-4) var(--space-3);border-bottom:1px solid var(--color-border);color:var(--color-text-subtle);font-size:var(--fs-xs);flex-wrap:wrap;justify-content:space-between;display:flex}.documents-results-heading p{margin:0}.documents-update-status{font-size:var(--fs-xs)}.documents-library [aria-busy=true]{opacity:.55;transition:opacity .15s}.documents-workspace .table-wrap{border:0;border-radius:0;margin:0}.documents-workspace .documents-all-table{margin:0}.documents-workspace .documents-all-table th{background:var(--color-surface-alt);font-size:11px;font-weight:var(--fw-medium);text-transform:none;letter-spacing:normal}.documents-workspace .documents-all-table th:first-child,.documents-workspace .documents-all-table td:first-child{padding-left:var(--space-4)}.documents-workspace .documents-all-table td{border-color:var(--color-border);padding-top:16px;padding-bottom:16px}.documents-workspace .document-ref-link strong{font-weight:var(--fw-medium)}.documents-workspace .documents-actions{padding-right:var(--space-4)}@media (hover:hover) and (pointer:fine){.documents-workspace .documents-actions>*{opacity:0;transition:opacity .15s}.documents-workspace tr:hover .documents-actions>*,.documents-workspace tr:focus-within .documents-actions>*{opacity:1}}.documents-workspace .pagination-bar{padding:var(--space-3) var(--space-4);border-top:1px solid var(--color-border);margin:0}.documents-workspace .empty-state{padding:var(--space-8) var(--space-4)}@media (width<=767px){.documents-filter-menu{margin-left:auto}.documents-filter-panel{width:min(300px,100vw - 64px)}.documents-active-filters{padding:0 var(--space-3) var(--space-3)}.documents-workspace .documents-all-table{width:100%;min-width:680px;display:table}.documents-workspace .documents-all-table thead{display:table-header-group}.documents-workspace .documents-all-table tbody{display:table-row-group}.documents-workspace .documents-all-table tr{border:0;margin:0;padding:0;display:table-row}.documents-workspace .documents-all-table td{white-space:normal;width:auto;max-width:none;display:table-cell;overflow:visible}.documents-workspace .pagination-bar{gap:var(--space-2);flex-wrap:wrap}}.documents-workspace .document-ref-link{display:block}.documents-workspace .document-desc{font-size:var(--fs-xs);margin-top:4px}@media (width<=639px){body:has(.documents-workspace) .admin-topbar .topbar-right{gap:4px}}.template-form-card{max-width:800px}.template-form-row{gap:var(--space-4);grid-template-columns:2fr 1fr;display:grid}.template-required{color:var(--status-danger-fg)}.template-content{min-height:0;font-family:var(--font-mono);font-size:var(--fs-sm)}.template-hint{margin:var(--space-2) 0 0;font-size:var(--fs-xs);color:var(--color-text-subtle)}.template-hint code{font-family:var(--font-mono)}.template-variables{margin-top:var(--space-2);font-size:var(--fs-xs)}.template-variables summary{cursor:pointer;color:var(--color-link)}.template-variables-body{gap:var(--space-4);max-height:32rem;margin-top:var(--space-3);display:grid;overflow-y:auto}.template-variables h3{margin:0 0 var(--space-2);font-size:var(--fs-xs);font-weight:var(--fw-semibold);text-transform:uppercase;color:var(--color-text-subtle)}.template-variables dl{gap:var(--space-2);margin:0;display:grid}.template-variables dt code{color:var(--color-link)}.template-variables dd{color:var(--color-text-subtle);margin:0}@media (width<=767px){.template-form-row{grid-template-columns:1fr}}.template-variables:not([open]) .template-variables-body{display:none}@media (width>=768px) and (width<=1023px){.template-form-row{grid-template-columns:minmax(0,27fr) minmax(0,17fr)}}.templates-list .templates-empty{padding:var(--space-8);text-align:center;color:var(--color-text-subtle)}.templates-list .templates-category-row td{font-size:11px;font-weight:var(--fw-bold);letter-spacing:.5px;text-transform:uppercase;color:var(--color-text-subtle);background:var(--color-surface-alt);border-bottom:2px solid var(--color-border);padding:6px 12px}.templates-list .templates-category-dot{background:var(--color-text-subtle);border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.templates-list .templates-name{font-weight:var(--fw-medium)}.templates-list .templates-category{font-size:var(--fs-sm);color:var(--color-text-muted)}.templates-list .templates-category-badge{font-size:11px;font-weight:var(--fw-semibold);color:var(--color-text);background:var(--color-surface-alt);border-radius:var(--radius-sm);padding:2px 8px;display:inline-block}.templates-list .templates-preview-link{color:inherit;text-decoration:none}.templates-list .templates-preview-link:hover{color:var(--color-link-hover);text-decoration:underline}.templates-list .templates-variables{font-size:var(--fs-xs);color:var(--color-text-subtle)}.templates-list .templates-date{font-size:var(--fs-sm)}.templates-list .templates-actions{white-space:nowrap}.templates-list .templates-inline-form{display:inline}.templates-list .templates-delete{color:var(--status-danger-fg)}.templates-list .templates-locked{cursor:default;opacity:.3}.fill-form{max-width:820px}.fill-section{margin-bottom:var(--space-4);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.fill-section-title{margin-bottom:var(--space-3);padding-bottom:var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--color-heading);text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid var(--color-primary-soft);align-items:center;gap:8px;display:flex}.fill-section-title svg{color:var(--color-primary)}.fill-grid{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.fill-grid .field.full{grid-column:1/-1}.fill-field label{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text);margin-bottom:4px;display:block}.fill-field .prefilled,.fill-field .empty{position:relative}.fill-field .prefilled input,.fill-field .prefilled textarea{background:var(--status-success-bg);border-color:var(--status-success-border)}.fill-field .prefilled:after{content:"✓ pré-rempli";font-size:10px;font-weight:var(--fw-semibold);color:var(--status-success-fg);pointer-events:none;position:absolute;top:4px;right:8px}.fill-field .empty input,.fill-field .empty textarea{background:var(--status-warning-bg);border-color:var(--status-warning-border)}.fill-field .empty:after{content:"à compléter";font-size:10px;font-weight:var(--fw-semibold);color:var(--status-warning-fg);pointer-events:none;position:absolute;top:4px;right:8px}.fill-field .fill-textarea{font-size:13px;line-height:1.6}.fill-matter-info{align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);padding:var(--space-3);font-size:var(--fs-sm);background:var(--color-primary-soft);border-radius:var(--radius-md);display:flex}.fill-matter-info .badge{font-size:11px;font-weight:var(--fw-bold);color:var(--color-primary-fg);background:var(--color-primary);border-radius:4px;padding:2px 8px}.fill-matter-sep{color:var(--color-text-subtle)}.fill-matter-matiere{color:var(--color-text-muted)}.fill-progress{margin-bottom:var(--space-4);padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-md);align-items:center;gap:8px;display:flex}.fill-progress-bar{background:var(--color-border);border-radius:3px;flex:1;height:6px;overflow:hidden}.fill-progress-bar-inner{background:var(--status-success-solid);border-radius:3px;height:100%;transition:width .3s}.fill-progress-text{font-size:12px;font-weight:var(--fw-semibold);color:var(--color-text-muted)}.fill-ai-hint{margin-bottom:var(--space-3);color:var(--status-warning-fg);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);border-radius:var(--radius-md);align-items:flex-start;gap:8px;padding:10px 14px;font-size:12px;line-height:1.5;display:flex}.fill-ai-hint svg{flex-shrink:0;margin-top:2px}.fill-ai-link{font-weight:var(--fw-semibold);color:inherit}.fill-options{align-items:flex-start;gap:var(--space-4);flex-wrap:wrap;display:flex}.fill-save{align-items:center;gap:var(--space-2);min-width:250px;padding:var(--space-3);font-size:14px;font-weight:var(--fw-regular);cursor:pointer;background:var(--color-surface-alt);border-radius:var(--radius-md);flex:1;display:flex}.fill-save input{accent-color:var(--color-primary)}.fill-save-title{font-size:var(--fs-sm);font-weight:var(--fw-medium);display:block}.fill-save-hint{color:var(--color-text-muted);font-size:11px}.fill-actions{align-items:center;gap:var(--space-3);display:flex}.fill-submit{min-width:180px}.fill-empty{padding:var(--space-8);color:var(--color-text-muted);text-align:center}.fill-empty svg{opacity:.3;margin:0 auto 16px;display:block}.fill-empty-title{font-size:var(--fs-md);margin-bottom:8px}.fill-empty-hint{font-size:var(--fs-sm)}@media (width<=639px){.fill-options,.fill-actions,.fill-matter-info{flex-wrap:wrap}.table-wrap>#templates-table,.card>#templates-table{min-width:600px;display:block;overflow-x:auto}#templates-table th,#templates-table td{white-space:nowrap;padding:6px 8px}#templates-table thead th{letter-spacing:.66px;font-size:11px}#templates-table td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}}@media (width<=767px){#templates-table .templates-inline-form{display:block}}.crm-stats{gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.crm-stat{padding:var(--space-2) var(--space-3);font-size:var(--fs-sm);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}.crm-stat-label{color:var(--color-text-muted)}.crm-stat-value{color:var(--color-heading)}.crm-kanban-status:empty{display:none}.crm-kanban{gap:var(--space-3);min-height:400px;padding-bottom:var(--space-4);display:flex;overflow-x:auto}.crm-kanban-col{min-width:260px;max-width:300px;padding:var(--space-3);background:var(--color-surface-alt);border-radius:var(--radius-lg);flex-direction:column;flex:1;display:flex}.crm-kanban-head{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);display:flex}.crm-kanban-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.crm-kanban-dot.is-unclassified{background:var(--color-text-subtle)}.crm-kanban-name{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-heading)}.crm-kanban-count{padding:0 var(--space-2);font-size:var(--fs-xs);color:var(--color-text-muted);background:var(--color-border);border-radius:var(--radius-full);margin-left:auto}.crm-kanban-cards{gap:var(--space-2);flex-direction:column;flex:1;min-height:60px;display:flex}.crm-kanban-card{padding:var(--space-3);font-size:var(--fs-sm);color:inherit;cursor:grab;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);text-decoration:none;display:block}.crm-kanban-card:hover{border-color:var(--color-border-strong)}.crm-kanban-card-name{font-weight:var(--fw-medium);color:var(--color-heading);margin-bottom:2px}.crm-kanban-card-company{font-size:var(--fs-xs);color:var(--color-text-muted)}.crm-kanban-card-assignee{margin-top:var(--space-1);font-size:var(--fs-xs);color:var(--color-text-subtle)}.crm-form-card{max-width:720px}.crm-form-row{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}@media (width<=639px){.crm-kanban{flex-wrap:wrap}.crm-form-row{grid-template-columns:1fr;gap:8px}}.dashboard-content.crm-show{grid-template-columns:2fr 1fr;gap:24px;margin-bottom:24px;display:grid}.crm-show-card{margin-bottom:var(--space-4)}.card+.card.crm-show-card,.crm-show .card+.card{margin-top:0}.crm-stage-badge{color:var(--color-text-inverse);font-size:.75em}.crm-notes{white-space:pre-line}.crm-show .activity-feed{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.crm-show .activity-feed-item{align-items:flex-start;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border);display:flex}.crm-show .activity-feed-item:last-child{border-bottom:0}.crm-show .activity-feed-avatar{width:36px;height:36px;font-size:.6em;font-weight:var(--fw-semibold);color:var(--color-primary-soft-fg);background:var(--color-primary-soft);border-radius:var(--radius-full);flex-shrink:0;justify-content:center;align-items:center;display:flex}.crm-show .activity-feed-body{flex:1;min-width:0}.crm-show .activity-feed-text{margin:0 0 var(--space-1);font-size:var(--fs-sm);color:var(--color-text)}.crm-show .crm-activity-type{font-size:.65em}.crm-show .activity-feed-time{font-size:var(--fs-xs);color:var(--color-text-subtle)}@media (width<=1023px){.dashboard-content.crm-show{grid-template-columns:1fr}}.proposal-stats.matter-fees-totals{margin-bottom:var(--space-4)}.proposal-stats .stat-value.is-success{color:var(--status-success-fg)}.proposal-stats .stat-value.is-danger{color:var(--status-danger-fg)}.proposal-stats .stat-value.is-warning{color:var(--status-warning-fg)}.proposal-empty-action{margin-top:12px}.proposals-filters{flex-wrap:wrap}.proposals-server-filters{align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.proposals-server-filters .input{width:12rem}.proposal-subject{width:0;min-width:100%;font-size:var(--fs-xs);color:var(--color-text-muted);display:block}.proposals-pagination{margin-top:var(--space-4)}.proposal-number-link{color:var(--color-link);font-weight:600}#proposals-table .proposal-ttc{font-weight:600}#proposals-table .proposal-actions-col{width:140px}#proposals-table .proposal-row-actions{white-space:nowrap}#proposals-table .proposal-row-actions .btn{padding:4px}#proposals-table tr.is-closed{opacity:.5}.proposal-back.back-link{margin:0 0 var(--space-3);font-size:var(--fs-sm)}.proposal-back.back-link a{align-items:center;gap:var(--space-1);color:var(--color-text-subtle);text-decoration:none;display:inline-flex}.proposal-back.back-link a:hover{color:var(--color-heading)}.proposal-inline-form{margin:0;display:inline}.proposal-decline{color:var(--status-danger-fg)}.proposal-overview.dashboard-content{margin-bottom:var(--space-4);grid-template-columns:2fr 1fr;gap:24px;display:grid}.proposal-dl{font-size:13px}.proposal-dl .proposal-number{font-weight:600;font-family:var(--font-mono);text-align:left}.proposal-dl .is-expired{color:var(--status-danger-fg);font-weight:600}.proposal-strong-link{color:var(--color-link);font-weight:600}.proposal-link{color:var(--color-link)}.proposal-dl .proposal-amount{font-size:16px;font-weight:700}.proposal-dl .proposal-amount.is-grand{color:var(--color-heading);font-size:18px}.proposal-lines-table{font-size:var(--fs-sm)}.proposal-lines-table .proposal-line-amount{font-weight:600}.proposal-lines-table tfoot .proposal-total-row{border-top:2px solid var(--color-border-strong)}.proposal-lines-table tfoot .proposal-total-row td:first-child{font-weight:600}.proposal-lines-table tfoot .proposal-total-row td:last-child{font-weight:700}.proposal-lines-table tfoot .proposal-vat-row td:first-child{color:var(--color-text-muted)}.proposal-lines-table tfoot .proposal-grand-row td{font-size:14px;font-weight:700}.proposal-lines-table tfoot .proposal-grand-row td:last-child{color:var(--color-heading)}.proposal-line-detail{font-size:var(--fs-xs);font-weight:var(--fw-normal);color:var(--color-text-muted);display:block}.proposal-notes{padding:var(--space-3);color:var(--color-text);white-space:pre-line;margin:0;font-size:13px}.proposal-lifecycle{gap:var(--space-2);font-size:var(--fs-sm);margin:0;padding:0;list-style:none;display:grid}@media (width<=1023px){.proposal-overview.dashboard-content{grid-template-columns:1fr}}.proposal-edit-form.card{max-width:720px}.proposal-edit-grid{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.proposal-edit-lines{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.proposal-edit-lines__title{margin-bottom:var(--space-3);font-weight:var(--fw-semibold);display:block}.proposal-edit-lines .line-row{grid-template-columns:3fr .8fr 1fr auto;align-items:end;gap:8px;margin-bottom:8px;display:grid}.proposal-edit-lines .line-row [data-field=discount_percent]{grid-area:2/2}.proposal-edit-lines .line-row [data-field=vat_rate_percent]{grid-area:2/3}.proposal-edit-lines .line-row .line-row__remove{grid-area:1/4}.proposal-edit-lines .line-row .input{padding:6px 8px;font-size:13px}.line-row__remove{color:var(--status-danger-fg);cursor:pointer;background:0 0;border:0;padding:4px;font-size:18px}.proposal-edit-add{margin-top:var(--space-2)}.proposal-edit-notes{margin-top:var(--space-4)}.proposal-edit-actions{margin-top:var(--space-4);padding:var(--space-4) 0;border-top:1px solid var(--color-border);justify-content:flex-end;gap:8px;display:flex}@media (width<=639px){.proposal-edit-grid,.proposal-edit-lines .line-row{grid-template-columns:1fr;gap:8px}.proposal-edit-lines .line-row [data-field=discount_percent],.proposal-edit-lines .line-row [data-field=vat_rate_percent],.proposal-edit-lines .line-row .line-row__remove{grid-area:auto}}.proposal-card{margin-bottom:var(--space-6)}.card+.card.proposal-card{margin-top:0}.proposal-field-row{margin-bottom:var(--space-4)}.proposal-form .field-row .field{margin-bottom:0}.proposal-form .field-row{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid}.proposal-form .field-hint{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:4px;display:block}.proposal-lines{margin-bottom:var(--space-4)}.proposal-lines .invoice-line-header,.proposal-lines .invoice-line-row{gap:var(--space-3);grid-template-columns:2.5fr .8fr .8fr .7fr .8fr 40px;display:grid}.proposal-lines .invoice-line-header{padding:var(--space-2) var(--space-3);font-size:var(--fs-xs);font-weight:var(--fw-semibold);letter-spacing:var(--ls-wide);text-transform:uppercase;color:var(--color-text-muted);background:var(--color-surface-alt);border-radius:var(--radius-md) var(--radius-md) 0 0}.proposal-lines .invoice-line-row{padding:var(--space-3);border-bottom:1px solid var(--color-border);align-items:center}.proposal-lines .invoice-line-row:last-child{border-bottom:0}.proposal-lines .invoice-line-row input{height:32px;font-size:var(--fs-xs)}.proposal-number{text-align:right}.invoice-line-remove{width:32px;height:32px;color:var(--color-text-subtle);cursor:pointer;border-radius:var(--radius-md);background:0 0;border:0;justify-content:center;align-items:center;display:flex}.invoice-line-remove:hover{color:var(--status-danger-fg);background:var(--status-danger-bg)}.invoice-add-line{align-items:center;gap:var(--space-2);width:100%;padding:var(--space-3);font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-link);text-align:left;cursor:pointer;border:1px dashed var(--color-border-strong);border-radius:var(--radius-md);background:0 0;display:flex}.invoice-add-line:hover{background:var(--color-surface-alt)}.proposal-notes-field{margin-top:var(--space-4);margin-bottom:0}.invoice-totals{margin-top:var(--space-4);padding:var(--space-4) var(--space-6);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.invoice-totals-row{padding:var(--space-2) 0;font-size:var(--fs-sm);color:var(--color-text-muted);justify-content:space-between;align-items:center;display:flex}.invoice-totals-row.is-total{margin-top:var(--space-2);padding-top:var(--space-3);font-size:var(--fs-lg);font-weight:var(--fw-bold);color:var(--color-heading);border-top:2px solid var(--color-heading)}.invoice-totals-label{flex:1}.invoice-totals-value{min-width:120px;font-family:var(--font-mono);font-weight:var(--fw-semibold);text-align:right}@media (width<=768px){.proposal-lines .invoice-line-header,.proposal-lines .invoice-line-row{gap:var(--space-2);grid-template-columns:1fr}.proposal-lines .invoice-line-header{display:none}}@media (width<=639px){.table-wrap>#proposals-table{display:block;overflow-x:auto}#proposals-table th,#proposals-table td{white-space:nowrap;padding:6px 8px}#proposals-table td{font-size:var(--fs-sm)}#proposals-table th{font-size:11px}#proposals-table td{text-overflow:ellipsis;max-width:180px;overflow:hidden}#proposals-table .proposal-subject{white-space:normal}}.matter-billing-proposals{margin-top:var(--space-4)}.matter-billing-proposals__head{margin-bottom:var(--space-2);justify-content:space-between;align-items:center;display:flex}.matter-billing-proposals__head h3{font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.matter-billing-proposals__new{font-size:11px}.matter-billing-proposals .table{font-size:var(--fs-sm)}.matter-billing-proposals__number{color:var(--color-link);font-weight:600}.matter-billing-proposals__amount{font-weight:600}.matter-billing-proposals__pdf{padding:4px}.matter-billing-proposals tr.is-declined{opacity:.5}.backoffice-login{background:var(--color-sidebar-bg);justify-content:center;align-items:center;min-height:100vh;display:flex}.backoffice-login .bo-login-card{border-radius:var(--radius-xl);background:var(--color-surface);width:100%;max-width:400px;box-shadow:var(--shadow-lg);padding:40px}.backoffice-login .bo-login-mark{text-align:center;margin-bottom:20px}.backoffice-login .bo-login-mark img{width:40px;height:40px}.backoffice-login .bo-login-card h1{letter-spacing:0;color:var(--color-heading);margin:0 0 4px;font-size:20px}.backoffice-login .bo-login-card p{color:var(--color-text-subtle);margin:0 0 24px;font-size:13px}.backoffice-login .bo-login-card label{font-size:12px;font-weight:var(--fw-semibold);margin-bottom:4px;display:block}.backoffice-login .bo-login-card input{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);width:100%;margin-bottom:16px;padding:10px 12px;font-size:14px;display:block}.backoffice-login .bo-login-card button{border-radius:var(--radius-md);background:var(--color-primary);width:100%;color:var(--color-primary-fg);font-size:14px;font-weight:var(--fw-semibold);border:none;padding:12px}.backoffice-login .bo-login-card button:hover{background:var(--color-primary-hover)}.backoffice-login .bo-login-card .err{border-radius:var(--radius-md);background:var(--status-danger-bg);color:var(--status-danger-fg);margin-bottom:16px;padding:10px;font-size:13px}.backoffice-body{background:var(--color-bg);font-size:13px}.backoffice-body .top{z-index:100;background:var(--color-sidebar-bg);justify-content:space-between;align-items:center;height:52px;padding:0 24px;display:flex;position:sticky;top:0}.backoffice-body .top-brand{align-items:center;gap:12px;display:flex}.backoffice-body .top-brand img{filter:brightness(0)invert();height:22px}.backoffice-body .top-brand span{color:var(--color-accent);letter-spacing:.08em;font-size:10px;font-weight:700}.backoffice-body .top-nav{gap:0;height:100%;display:flex}.backoffice-body .top-nav a{height:100%;color:var(--color-sidebar-fg-muted);font-size:12px;font-weight:var(--fw-semibold);border-bottom:2px solid #0000;align-items:center;padding:0 16px;text-decoration:none;display:flex}.backoffice-body .top-nav a:hover{background:var(--color-sidebar-hover);color:var(--color-sidebar-fg)}.backoffice-body .top-nav a.on{border-bottom-color:var(--color-accent);color:var(--color-sidebar-fg)}.backoffice-body .top-user{align-items:center;gap:8px;display:flex}.backoffice-body .top-user-info{text-align:right;line-height:1.3}.backoffice-body .top-user-name{color:var(--color-sidebar-fg);font-size:12px;font-weight:var(--fw-semibold)}.backoffice-body .top-user-role{color:var(--color-sidebar-fg-muted);font-size:10px}.backoffice-body .top-user form{display:inline}.backoffice-body .top-user button{border-radius:var(--radius-sm);color:var(--color-sidebar-fg-muted);background:0 0;border:none;padding:4px 8px;font-size:11px}.backoffice-body .top-user button:hover{background:var(--color-sidebar-hover);color:var(--color-sidebar-fg)}.backoffice-body .wrap{max-width:1400px;margin:0 auto;padding:20px 24px}.backoffice-body .wrap.wrap-narrow{max-width:900px}@media (width<=768px){.backoffice-body .top-nav a{padding:0 10px;font-size:11px}}@media (width<=480px){.backoffice-body:is(.bo-compact,.bo-plans-page,.bo-invoices-page,.bo-tenants-page,.bo-prospect-page) .top-user-info{display:none}.backoffice-body:is(.bo-plans-page,.bo-invoices-page,.bo-tenants-page,.bo-prospect-page) .top-nav{flex:100%}}@media (width<=640px){.backoffice-body .top,.backoffice-body .top-nav{flex-wrap:wrap;height:auto}.backoffice-body .top-nav a{height:auto}.backoffice-body .top-user{flex-wrap:wrap}}@media (width<=1024px){.backoffice-body .top,.backoffice-body .top-nav{flex-wrap:wrap;height:auto}.backoffice-body .top-nav a{height:auto}.backoffice-body .top-user{flex-wrap:wrap}}.backoffice-body .bo-title{letter-spacing:0;margin:0 0 4px;font-size:20px;font-weight:800}.backoffice-body .bo-subtitle{color:var(--color-text-subtle);margin:0 0 20px;font-size:12px}.backoffice-body .bo-page-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.backoffice-body .bo-page-head h1{letter-spacing:0;margin:0;font-size:20px;font-weight:800}.backoffice-body .bo-muted{color:var(--color-text-subtle);margin:0;font-size:12px}.backoffice-body .flash-ok{border-radius:var(--radius-md);background:var(--status-success-bg);color:var(--status-success-fg);margin-bottom:16px;padding:10px 16px;font-size:12px}.backoffice-body .flash-err{border-radius:var(--radius-md);background:var(--status-danger-bg);color:var(--status-danger-fg);margin-bottom:16px;padding:10px 16px;font-size:12px}.backoffice-body .bo-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-bottom:16px;overflow:hidden}.backoffice-body .bo-card-h{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;padding:14px 20px;font-size:15px;font-weight:700;display:flex}.backoffice-body .bo-row{border-bottom:1px solid var(--color-border-subtle);align-items:center;gap:12px;padding:12px 20px;display:flex}.backoffice-body .bo-row:last-child{border-bottom:none}.backoffice-body .bo-row:hover{background:var(--color-surface-hover)}.backoffice-body .bo-row-main{overflow-wrap:anywhere;flex:1;min-width:0}.backoffice-body .bo-row-meta{color:var(--color-text-placeholder);font-size:11px}.backoffice-body .bo-row-role{color:var(--color-text-subtle);font-size:11px}.backoffice-body .bo-row-seen{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .avatar{background:var(--color-primary);width:36px;height:36px;color:var(--color-primary-fg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.backoffice-body .bo-badge{color:var(--color-text-inverse);border-radius:10px;padding:2px 8px;font-size:9px;font-weight:700;line-height:1.1;display:inline-block}.backoffice-body .bo-badge.is-active{background:var(--status-success-solid)}.backoffice-body .bo-badge.is-suspended{background:var(--status-danger-solid)}.backoffice-body .bo-btn{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:11px;font-weight:var(--fw-semibold);border-radius:6px;align-items:center;gap:4px;padding:6px 14px;line-height:1.15;display:inline-flex}.backoffice-body .bo-btn:hover{background:var(--color-surface-hover)}.backoffice-body .bo-btn-primary{border-color:var(--color-primary);background:var(--color-primary);color:var(--color-primary-fg)}.backoffice-body .bo-btn-primary:hover{background:var(--color-primary-hover)}.backoffice-body .bo-btn-danger{border-color:var(--status-danger-solid);background:var(--status-danger-solid);color:var(--color-text-inverse)}.backoffice-body .bo-btn-danger:hover{background:var(--status-danger-solid-hover)}.backoffice-body .bo-btn-sm{padding:4px 10px;font-size:10px}.backoffice-body .form-row{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:0;padding:16px 20px;display:flex}.backoffice-body .form-row label{color:var(--color-text-subtle);font-size:11px;font-weight:var(--fw-semibold);margin-bottom:3px;display:block}.backoffice-body .form-row input,.backoffice-body .form-row select{border:1px solid var(--color-border);background:var(--color-surface);border-radius:6px;height:30px;padding:0 10px;font-size:12px}.backoffice-body .form-row select{width:137px;height:32px}.backoffice-body .form-row input{width:180px}.backoffice-body .form-row-submit{padding-top:18px}.backoffice-body .bo-invite-note{border:1px dashed var(--color-border);width:180px;height:30px;color:var(--color-text-subtle);border-radius:6px;align-items:center;padding:0 10px;font-size:12px;display:flex}.backoffice-body .actions-inline{flex-wrap:wrap;gap:4px;display:flex}.backoffice-body .bo-role-form{align-items:center;gap:3px;display:flex}.backoffice-body .bo-role-form select{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:113px;height:21px;padding:0 6px;font-size:10px}@media (width<=640px){.backoffice-body .bo-row{flex-wrap:wrap}}.backoffice-body .bo-plan-trial{background:var(--backoffice-plan-trial)}.backoffice-body .bo-plan-essentiel{background:var(--backoffice-plan-essentiel)}.backoffice-body .bo-plan-professionnel{background:var(--backoffice-plan-professionnel)}.backoffice-body .bo-plan-enterprise{background:var(--backoffice-plan-enterprise)}.backoffice-body .bo-plan-other{background:var(--backoffice-plan-other)}.backoffice-body .bo-stage-identified{background:var(--backoffice-stage-identified)}.backoffice-body .bo-stage-email-sent{background:var(--backoffice-stage-email-sent)}.backoffice-body .bo-stage-replied{background:var(--backoffice-stage-replied)}.backoffice-body .bo-stage-demo-planned{background:var(--backoffice-stage-demo-planned)}.backoffice-body .bo-stage-demo-done{background:var(--backoffice-stage-demo-done)}.backoffice-body .bo-stage-trial{background:var(--backoffice-stage-trial)}.backoffice-body .bo-stage-active{background:var(--backoffice-stage-active)}.backoffice-body .bo-stage-paying{background:var(--backoffice-stage-paying)}.backoffice-body .bo-stage-lost{background:var(--backoffice-stage-lost)}.backoffice-body .badge{color:var(--color-text-inverse);font-size:inherit;font-weight:inherit;line-height:inherit;border-radius:10px;padding:0;display:inline-block}.backoffice-body .is-success{color:var(--status-success-solid)}.backoffice-body .is-warning{color:var(--status-warning-solid)}.backoffice-body .is-danger{color:var(--status-danger-solid)}.backoffice-body .is-strong{font-weight:700}.backoffice-body .is-faint{color:var(--color-text-placeholder)}.backoffice-body .is-right{text-align:right}.backoffice-body .is-center{text-align:center}.backoffice-body .is-muted{color:var(--color-text-subtle)}.backoffice-body.bo-compact .top-user{gap:12px}.backoffice-body .kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:16px;display:grid}.backoffice-body .kpi{border:1px solid var(--color-border);background:var(--color-surface);text-align:center;border-radius:10px;padding:14px}.backoffice-body .kpi b{color:var(--color-heading);font-size:24px;line-height:1.2;display:block}.backoffice-body .kpi b.is-success{color:var(--status-success-solid)}.backoffice-body .kpi b.is-warning{color:var(--status-warning-solid)}.backoffice-body .kpi small{color:var(--color-text-subtle);letter-spacing:.04em;text-transform:uppercase;font-size:9px}.backoffice-body .kpi em{color:var(--color-text-placeholder);font-size:9px;font-style:normal}.backoffice-body .bo-subscriptions{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-bottom:20px;padding:16px}.backoffice-body .bo-subscriptions h3{color:var(--color-heading);letter-spacing:0;margin:0 0 12px;font-size:14px;font-weight:700}.backoffice-body .bo-subscriptions-table{border-collapse:collapse;width:100%;font-size:13px}.backoffice-body .bo-subscriptions-table thead tr{border-bottom:2px solid var(--color-border)}.backoffice-body .bo-subscriptions-table th{color:var(--color-text-subtle);text-align:left;padding:6px 8px;font-size:11px;font-weight:700}.backoffice-body .bo-subscriptions-table th:first-child{letter-spacing:.5px;text-transform:uppercase}.backoffice-body .bo-subscriptions-table th.is-right{text-align:right}.backoffice-body .bo-subscriptions-table tbody tr{border-bottom:1px solid var(--color-border-subtle)}.backoffice-body .bo-subscriptions-table td{padding:8px}.backoffice-body .bo-subscriptions-table td a{color:var(--color-heading)}.backoffice-body .bo-subscriptions-table .badge{color:var(--color-text-inverse);font-size:10px}.backoffice-body .bo-subscriptions-table .is-struck{color:var(--color-text-placeholder);text-decoration:line-through}.backoffice-body .chart-wrap{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-bottom:16px;padding:16px}.backoffice-body .chart-title{color:var(--color-text-subtle);letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px;font-size:11px;font-weight:700}.backoffice-body .chart-bars{align-items:flex-end;gap:2px;height:60px;display:flex}.backoffice-body .chart-bar{background:var(--backoffice-chart-empty);border-radius:2px;flex:1;min-width:4px}.backoffice-body .chart-bar.is-filled{background:var(--backoffice-chart-bar)}.backoffice-body .chart-footer{color:var(--color-text-placeholder);justify-content:space-between;margin-top:4px;font-size:9px;display:flex}.backoffice-body .tabs{border-bottom:2px solid var(--color-border);gap:0;margin-bottom:0;display:flex;overflow-x:auto}.backoffice-body .tabs [role=tab]{color:var(--color-text-subtle);font-size:12px;font-weight:var(--fw-semibold);white-space:nowrap;cursor:pointer;border-bottom:2px solid #0000;margin-bottom:-2px;padding:10px 18px}.backoffice-body .tabs [role=tab]:hover{color:var(--color-heading)}.backoffice-body .tabs [role=tab].on{border-color:var(--color-accent);color:var(--color-heading)}.backoffice-body .row{border-bottom:1px solid var(--color-border-subtle);color:inherit;align-items:center;gap:10px;padding:10px 16px;text-decoration:none;display:flex}.backoffice-body .row:hover{background:var(--color-surface-hover)}.backoffice-body .row:last-child{border-bottom:none}.backoffice-body .empty{color:var(--color-text-placeholder);text-align:center;padding:24px;font-size:12px}.backoffice-body .bo-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.backoffice-body .bo-dot.is-success{background:var(--status-success-solid)}.backoffice-body .bo-dot.is-warning{background:var(--status-warning-solid)}.backoffice-body .bo-dot.is-danger{background:var(--status-danger-solid)}.backoffice-body .bo-slug{color:var(--color-text-placeholder);margin-left:4px;font-size:10px}.backoffice-body .row .bo-row-meta{margin-top:2px;font-size:13px}.backoffice-body .bo-demo-message{color:var(--color-text-subtle);margin-top:2px;font-style:italic}.backoffice-body .bo-demo-side{text-align:right}.backoffice-body .bo-demo-type{background:var(--backoffice-plan-other)}.backoffice-body .bo-demo-type.is-demo{background:var(--status-warning-solid)}.backoffice-body .bo-demo-type.is-signup{background:var(--status-success-solid)}.backoffice-body .bo-demo-date,.backoffice-body .bo-audit-date{color:var(--color-text-placeholder);margin-top:4px;font-size:10px}.backoffice-body .bo-faint{color:var(--color-text-placeholder)}.backoffice-body .bo-pipeline{padding:0;overflow:hidden}.backoffice-body .pipe-toolbar{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;display:flex}.backoffice-body .pipe-toolbar input{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);flex:1;min-width:200px;padding:8px 12px;font-size:12px}.backoffice-body .pipe-toolbar button{border-radius:var(--radius-md);background:var(--color-primary);color:var(--color-primary-fg);font-size:12px;font-weight:var(--fw-semibold);border:none;align-items:center;gap:4px;padding:8px 14px;display:flex}.backoffice-body #pipe-board{background:var(--color-surface-alt);gap:0;min-height:400px;padding:12px;display:flex;overflow-x:auto}.backoffice-body .pipe-col{flex:1;min-width:200px;padding:0 6px}.backoffice-body .pipe-col.is-drop{background:var(--color-selected-bg)}.backoffice-body .pipe-col-header{border-radius:var(--radius-md);text-align:center;margin-bottom:8px;padding:8px}.backoffice-body .pipe-col-header b{color:var(--color-text-inverse);font-size:16px;display:block}.backoffice-body .pipe-col-header span{color:var(--color-text-inverse);opacity:.85;font-size:9px}.backoffice-body .pipe-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;margin-bottom:6px;padding:10px;font-size:11px}.backoffice-body .pipe-card:hover{box-shadow:var(--shadow-sm)}.backoffice-body .pipe-card.is-dragging{opacity:.5}.backoffice-body .pipe-card strong{color:var(--color-heading);margin-bottom:2px;font-size:12px;display:block}.backoffice-body .pipe-card .meta{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .bo-modal{z-index:1000;background:var(--color-overlay);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.backoffice-body .bo-modal[hidden]{display:none}.backoffice-body .bo-modal-card{border-radius:var(--radius-lg);background:var(--color-surface);width:100%;max-width:500px;max-height:80vh;box-shadow:var(--shadow-lg);padding:28px;overflow-y:auto}.backoffice-body .bo-modal-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.backoffice-body .bo-modal-head h3{color:var(--color-heading);margin:0;font-size:18px}.backoffice-body .bo-modal-close{color:var(--color-text-placeholder);background:0 0;border:none;font-size:20px}.backoffice-body .bo-modal-grid{grid-template-columns:110px 1fr;gap:6px 12px;margin:0;font-size:13px;display:grid}.backoffice-body .bo-modal-grid dt{color:var(--color-text-subtle);font-weight:var(--fw-semibold)}.backoffice-body .bo-modal-grid dd{white-space:pre-wrap;margin:0}.backoffice-body .bo-modal-actions{gap:8px;margin-top:16px;display:flex}.backoffice-body .bo-stage-pill{color:var(--color-text-inverse);border-radius:10px;padding:2px 8px;font-size:10px;font-weight:700}.backoffice-body .bo-health{max-width:1200px;margin:24px auto;padding:0 24px}.backoffice-body .bo-churn{border:1px solid var(--status-danger-border);background:var(--status-danger-bg);border-radius:10px;margin-bottom:20px;padding:16px 20px}.backoffice-body .bo-churn h3{color:var(--status-danger-fg);letter-spacing:0;align-items:center;gap:8px;margin:0 0 10px;font-size:15px;font-weight:700;display:flex}.backoffice-body .bo-churn-row{border-bottom:1px solid var(--status-danger-border);color:var(--status-danger-fg);align-items:center;gap:10px;padding:6px 0;font-size:13px;display:flex}.backoffice-body .bo-churn-row a{color:var(--status-danger-fg);font-weight:600}.backoffice-body .bo-health-kpis{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px;display:grid}.backoffice-body .bo-health-kpi{text-align:center;border-radius:10px;padding:16px;font-size:12px;font-weight:500}.backoffice-body .bo-health-kpi>div:first-child{font-size:28px;font-weight:700}.backoffice-body .bo-health-kpi.is-healthy,.backoffice-body .bo-level-pill.is-healthy{background:var(--status-success-bg);color:var(--status-success-fg)}.backoffice-body .bo-health-kpi.is-at-risk,.backoffice-body .bo-level-pill.is-at-risk{background:var(--status-warning-bg);color:var(--status-warning-fg)}.backoffice-body .bo-health-kpi.is-critical,.backoffice-body .bo-level-pill.is-critical{background:var(--status-danger-bg);color:var(--status-danger-fg)}.backoffice-body .bo-health-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;overflow:hidden}.backoffice-body .bo-health-head{border-bottom:1px solid var(--color-border);padding:14px 18px}.backoffice-body .bo-health-head h3{color:var(--color-heading);letter-spacing:0;margin:0;font-size:15px;font-weight:700}.backoffice-body .bo-health-table{border-collapse:collapse;width:100%;font-size:13px}.backoffice-body .bo-health-table th{color:var(--color-text-subtle);text-align:left;text-transform:uppercase;padding:8px 14px;font-size:11px;font-weight:600}.backoffice-body .bo-health-table td{border-bottom:1px solid var(--color-border-subtle);padding:10px 14px}.backoffice-body .bo-health-table a{color:var(--color-heading)}.backoffice-body .bo-health-score{font-size:16px;font-weight:700}.backoffice-body .bo-health-score.is-healthy{color:var(--status-success-solid)}.backoffice-body .bo-health-score.is-at-risk{color:var(--status-warning-solid)}.backoffice-body .bo-health-score.is-critical{color:var(--status-danger-solid)}.backoffice-body .bo-plan-pill,.backoffice-body .bo-level-pill{color:var(--color-text-inverse);border-radius:99px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.backoffice-body .bo-see{font-size:12px;font-weight:500}@media (width<=768px){.backoffice-body.bo-compact .kpis{grid-template-columns:repeat(3,1fr)}}@media (width<=640px){.backoffice-body .bo-subscriptions{overflow-x:auto}.backoffice-body .bo-subscriptions-table{table-layout:fixed;width:446px}.backoffice-body .bo-subscriptions-table th:first-child{width:15%}.backoffice-body .bo-subscriptions-table th:nth-child(2){width:17%}.backoffice-body .bo-subscriptions-table th:nth-child(3){width:15%}.backoffice-body .bo-subscriptions-table th:nth-child(4),.backoffice-body .bo-subscriptions-table th:nth-child(5){width:12%}.backoffice-body .bo-subscriptions-table th:nth-child(6){width:16%}.backoffice-body .bo-subscriptions-table th:nth-child(7){width:13%}}@media (width<=480px){.backoffice-body.bo-compact .kpis{grid-template-columns:repeat(2,1fr)}}.backoffice-body.bo-tenant-page{font-size:16px}.backoffice-body.bo-tenant-page .top-nav a{opacity:.8}.backoffice-body.bo-tenant-page .top-user button{padding:1px 6px}.backoffice-body .wrap.wrap-tenant{max-width:1000px}.backoffice-body .back{color:var(--color-text-subtle);align-items:center;gap:4px;margin-bottom:16px;font-size:13px;display:inline-flex}.backoffice-body .back:hover{color:var(--color-heading)}.backoffice-body .bo-tenant-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.backoffice-body .bo-tenant-header h1{letter-spacing:0;margin:0;font-size:24px;font-weight:800}.backoffice-body .bo-tenant-badges{align-items:center;gap:8px;margin-top:4px;display:flex}.backoffice-body .bo-tenant-header .badge,.backoffice-body .bo-trow .badge{padding:3px 10px;font-size:11px;font-weight:700}.backoffice-body .badge.is-active{background:var(--status-success-solid)}.backoffice-body .badge.is-suspended{background:var(--status-danger-solid)}.backoffice-body .badge.is-other{background:var(--backoffice-plan-other)}.backoffice-body .bo-trial-days{font-size:13px;font-weight:700}.backoffice-body .bo-tenant-ids{color:var(--color-text-placeholder);text-align:right;font-size:11px}.backoffice-body .actions{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.backoffice-body .bo-inline{gap:4px;display:flex}.backoffice-body .bo-tbtn{font-size:12px;font-weight:var(--fw-semibold);border:none;border-radius:6px;align-items:center;gap:4px;padding:8px 16px;line-height:1.15;display:inline-flex}.backoffice-body .bo-tbtn-primary{background:var(--color-primary);color:var(--color-primary-fg)}.backoffice-body .bo-tbtn-danger{background:var(--status-danger-solid);color:var(--color-text-inverse)}.backoffice-body .bo-tbtn-warning{background:var(--status-warning-solid);color:var(--color-text-inverse)}.backoffice-body .bo-tbtn-success{background:var(--status-success-solid);color:var(--color-text-inverse)}.backoffice-body .bo-tbtn-ghost{border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text)}.backoffice-body .bo-tbtn:disabled{opacity:.6}.backoffice-body.bo-tenant-page select,.backoffice-body.bo-tenant-page input:not([type=hidden]){border:1px solid var(--color-border);background:var(--color-surface);border-radius:6px;padding:6px 10px;font-size:12px}.backoffice-body.bo-tenant-page .actions select{width:97px;height:30px}.backoffice-body .bo-days{width:60px;height:30px}.backoffice-body .bo-billing{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-top:24px;padding:20px}.backoffice-body .bo-billing h3{color:var(--color-heading);letter-spacing:0;align-items:center;gap:8px;margin:0 0 16px;font-size:16px;font-weight:700;display:flex}.backoffice-body .bo-billing-cards{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px;display:grid}.backoffice-body .bo-billing-card{border-radius:var(--radius-md);background:var(--color-surface-alt);text-align:center;padding:12px}.backoffice-body .bo-billing-card.is-success{background:var(--status-success-bg)}.backoffice-body .bo-billing-card.is-warning{background:var(--status-warning-bg)}.backoffice-body .bo-billing-value{color:var(--color-heading);font-size:18px;font-weight:700}.backoffice-body .bo-billing-value.is-large{font-size:22px}.backoffice-body .bo-billing-value.is-small{font-size:16px}.backoffice-body .bo-billing-value.is-struck{color:var(--color-text-placeholder);text-decoration:line-through}.backoffice-body .bo-billing-card.is-success .bo-billing-value{color:var(--status-success-solid)}.backoffice-body .bo-billing-card.is-warning .bo-billing-value{color:var(--status-warning-solid)}.backoffice-body .bo-billing-label{color:var(--color-text-subtle);font-size:11px}.backoffice-body .bo-grid-3,.backoffice-body .bo-grid-2{gap:12px;margin-bottom:12px;display:grid}.backoffice-body .bo-grid-3{grid-template-columns:1fr 1fr 1fr}.backoffice-body .bo-grid-2{grid-template-columns:1fr 1fr}.backoffice-body .bo-billing label{font-size:11px;font-weight:var(--fw-semibold);margin-bottom:4px;line-height:1.15;display:block}.backoffice-body .bo-billing input[type=number],.backoffice-body .bo-billing input[type=text],.backoffice-body .bo-billing input[type=email]{width:198px;height:29px;font-size:13px}.backoffice-body .bo-billing input[type=date]{width:139px;height:34px;font-size:13px}.backoffice-body .bo-billing select{width:103px;height:31px;font-size:13px}.backoffice-body .bo-auto-discount{background:var(--color-surface-alt);color:var(--color-text-placeholder);border-radius:6px;padding:8px 12px;font-size:14px;font-weight:700}.backoffice-body .bo-auto-discount.is-warning{color:var(--status-warning-solid)}.backoffice-body .bo-auto-discount span{color:var(--color-text-placeholder);font-size:10px;font-weight:400}.backoffice-body .bo-billing form>.bo-tbtn{font-size:13px}.backoffice-body .bo-stripe{border-top:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding-top:16px;display:flex}.backoffice-body .bo-stripe .bo-tbtn{font-size:13px}.backoffice-body .bo-stripe-hint{color:var(--color-text-subtle);font-size:12px}.backoffice-body .bo-issuer{background:var(--color-surface-alt);color:var(--color-text-subtle);border-radius:6px;margin-top:12px;padding:10px 12px;font-size:11px}.backoffice-body .bo-payments-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.backoffice-body .bo-payments-head h3{margin:0}.backoffice-body .bo-payments-empty{color:var(--color-text-placeholder);text-align:center;margin:0;padding:20px 0;font-size:13px}.backoffice-body .stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.backoffice-body .stat{border:1px solid var(--color-border);background:var(--color-surface);text-align:center;border-radius:10px;padding:16px}.backoffice-body .stat b{color:var(--color-heading);font-size:22px;display:block}.backoffice-body .stat small{color:var(--color-text-subtle);text-transform:uppercase;font-size:10px}.backoffice-body .stat em{color:var(--color-text-placeholder);font-size:10px;font-style:normal;display:block}.backoffice-body .stat.is-unavailable b{color:var(--color-text-placeholder)}.backoffice-body .bo-tcard{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-bottom:16px;overflow:hidden}.backoffice-body .bo-tcard-h{border-bottom:1px solid var(--color-border);padding:12px 16px;font-size:14px;font-weight:700}.backoffice-body .info-grid dd{margin:0}.backoffice-body .info-grid code{font-size:11px}.backoffice-body .bo-trow{border-bottom:1px solid var(--color-border-subtle);align-items:center;gap:10px;padding:10px 16px;font-size:12px;display:flex}.backoffice-body .bo-trow:hover{background:var(--color-surface-hover)}.backoffice-body .bo-avatar-sm{background:var(--color-primary);width:32px;height:32px;color:var(--color-primary-fg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:flex}.backoffice-body .bo-trow-roles{color:var(--color-text-subtle);font-size:11px}.backoffice-body .bo-trow-seen{color:var(--color-text-placeholder);font-size:10px}@media (width<=768px){.backoffice-body .stats{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.backoffice-body .bo-grid-3>div,.backoffice-body .bo-grid-2>div{min-width:0}.backoffice-body .bo-billing :is(input,.backoffice-body select){max-width:100%}}.backoffice-body .wrap.wrap-catalog{max-width:1200px}.backoffice-body .wrap.wrap-offers{max-width:1100px}.backoffice-body .wrap.wrap-broadcast{max-width:700px}.backoffice-body.bo-catalog-page .top-user button,.backoffice-body.bo-block-user .top-user button{padding:0 1px;line-height:1.1}.backoffice-body.bo-block-user .top-user{display:block}.backoffice-body.bo-block-user .top-user-info{text-align:left}.backoffice-body.bo-plain-nav .top-nav{height:auto;display:block}.backoffice-body.bo-plain-nav .top-nav a{height:auto;color:var(--color-sidebar-fg);border:0;padding:0;font-size:13px;font-weight:400;display:inline}.backoffice-body .bo-catalog-title{letter-spacing:0;margin:0 0 4px;font-size:22px;font-weight:800}.backoffice-body .bo-catalog-lede{color:var(--color-text-subtle);margin:0}.backoffice-body .products-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;margin-top:20px;display:grid}.backoffice-body .product-card{border:2px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);flex-direction:column;padding:28px 24px;display:flex}.backoffice-body .product-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md)}.backoffice-body .product-card h2{color:var(--color-heading);letter-spacing:0;margin:0 0 4px;font-size:20px;font-weight:700}.backoffice-body .product-card .tagline{color:var(--color-text-subtle);margin-bottom:16px;font-size:13px}.backoffice-body .product-card .price{color:var(--color-heading);margin-bottom:4px;font-size:32px;font-weight:800;line-height:1.15}.backoffice-body .product-card .price.is-quote{font-size:22px}.backoffice-body .product-card .price span{color:var(--color-text-subtle);font-size:14px;font-weight:400}.backoffice-body .product-card .price-yearly{color:var(--status-success-solid);margin-bottom:16px;font-size:11px}.backoffice-body .product-card .features{flex:1;margin:0 0 16px;padding:0;list-style:none}.backoffice-body .product-card .features li{align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.backoffice-body .product-card .features li:before{content:"";background:var(--status-success-bg);border-radius:50%;flex-shrink:0;width:14px;height:14px}.backoffice-body .product-card .features li.is-more{color:var(--color-text-placeholder)}.backoffice-body .product-card .meta{border-top:1px solid var(--color-border-subtle);color:var(--color-text-placeholder);gap:12px;margin-top:auto;padding-top:12px;font-size:11px;display:flex}.backoffice-body .product-actions{gap:8px;margin-top:12px;display:flex}.backoffice-body .bo-cbtn{border-radius:var(--radius-md);font-size:12px;font-weight:var(--fw-semibold);border:none;align-items:center;gap:6px;padding:8px 16px;line-height:1.15;text-decoration:none;display:inline-flex}.backoffice-body .bo-cbtn-primary,.backoffice-body a.bo-cbtn-primary{background:var(--color-primary);color:var(--color-primary-fg)}.backoffice-body .bo-cbtn-ghost,.backoffice-body a.bo-cbtn-ghost{border:1px solid var(--color-border);color:var(--color-heading);background:0 0}.backoffice-body .bo-back-small{color:var(--color-text-subtle);margin-bottom:12px;font-size:12px;display:inline-block}.backoffice-body .bo-product-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.backoffice-body .bo-product-head h1{color:var(--color-heading);letter-spacing:0;margin:0;font-size:24px;font-weight:800}.backoffice-body .bo-muted-13{color:var(--color-text-subtle);margin:0}.backoffice-body .bo-product-tags{margin-top:8px}.backoffice-body .tag{background:var(--status-info-bg);color:var(--status-info-fg);border-radius:12px;margin-right:4px;padding:3px 10px;font-size:10px;font-weight:700;display:inline-block}.backoffice-body .tag.is-success{background:var(--status-success-bg);color:var(--status-success-fg)}.backoffice-body .bo-product-price{text-align:right}.backoffice-body .bo-product-monthly{color:var(--color-heading);font-size:32px;font-weight:800;line-height:1.15}.backoffice-body .bo-product-monthly span{color:var(--color-text-subtle);font-size:14px;font-weight:400}.backoffice-body .bo-product-yearly{color:var(--status-success-solid);font-size:12px}.backoffice-body .bo-product-quote{color:var(--color-heading);font-size:24px;font-weight:700}.backoffice-body .bo-card .section{padding:16px 20px;font-size:13px;line-height:1.6}.backoffice-body .bo-card-note{color:var(--color-text-subtle);font-size:10px;font-weight:400}.backoffice-body .bo-card-note.is-danger{color:var(--status-danger-solid)}.backoffice-body .bo-feature-list{grid-template-columns:1fr 1fr;gap:6px;margin:0;padding:0;list-style:none;display:grid}.backoffice-body .bo-feature-list li{align-items:center;gap:6px;display:flex}.backoffice-body .bo-feature-list svg{color:var(--status-success-solid)}.backoffice-body .bo-product-actions{gap:8px;margin-bottom:24px;display:flex}.backoffice-body .bo-product-form{padding:20px}.backoffice-body .price-grid{grid-template-columns:1fr 1fr 1fr;gap:12px;display:grid}.backoffice-body .field{margin-bottom:12px}.backoffice-body .field label{color:var(--color-text-subtle);font-size:11px;font-weight:var(--fw-semibold);margin-bottom:3px;display:block}.backoffice-body .field :is(input,.backoffice-body textarea,.backoffice-body select){border:1px solid var(--color-border);background:var(--color-surface);border-radius:6px;width:100%;padding:8px 10px;font-family:inherit;font-size:13px}.backoffice-body .field textarea{resize:vertical;min-height:0;line-height:1.2}.backoffice-body .bo-save{margin-top:8px}.backoffice-body .bo-section-title{letter-spacing:0;margin:0 0 20px;font-size:22px;font-weight:800}.backoffice-body .form-grid{gap:12px;padding:20px;display:grid}.backoffice-body .form-grid-2{grid-template-columns:1fr 1fr}.backoffice-body .form-grid-3{grid-template-columns:1fr 1fr 1fr}.backoffice-body .form-grid .field{margin-bottom:0}.backoffice-body .form-grid .field :is(input,.backoffice-body textarea,.backoffice-body select){font-size:12px}.backoffice-body .bo-offer-message{padding:0 20px 20px}.backoffice-body .bo-offer-row{font-size:12px}.backoffice-body .bo-offer-row .bo-row-meta{color:var(--color-text-placeholder);font-size:12px}.backoffice-body .bo-offer-price{color:var(--color-heading);font-weight:700}.backoffice-body .bo-offer-discount{color:var(--status-success-solid);font-size:10px;font-weight:600}.backoffice-body .bo-offer-meta{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .bo-offer-status,.backoffice-body .bo-appt-type{padding:2px 8px;font-size:9px;font-weight:700}.backoffice-body .bo-offer-status{background:var(--backoffice-plan-other)}.backoffice-body .bo-offer-status.is-sent{background:var(--backoffice-stage-email-sent)}.backoffice-body .bo-offer-status.is-viewed{background:var(--backoffice-plan-essentiel)}.backoffice-body .bo-offer-status.is-accepted{background:var(--status-success-solid)}.backoffice-body .bo-offer-status.is-declined{background:var(--status-danger-solid)}.backoffice-body .bo-appt-type{background:var(--backoffice-plan-other)}.backoffice-body .bo-appt-type.is-demo{background:var(--backoffice-plan-trial)}.backoffice-body .bo-appt-type.is-call{background:var(--backoffice-plan-essentiel)}.backoffice-body .bo-appt-type.is-meeting{background:var(--backoffice-plan-professionnel)}.backoffice-body .bo-appt-type.is-followup{background:var(--status-success-solid)}.backoffice-body .bo-appt-day{text-align:center;flex-shrink:0;width:50px}.backoffice-body .bo-appt-day-num{color:var(--color-heading);font-size:18px;font-weight:800}.backoffice-body .bo-appt-day-month{color:var(--color-text-subtle);text-transform:uppercase;font-size:10px}.backoffice-body .bo-appt-past-date{color:var(--color-text-subtle);font-size:14px;font-weight:700}.backoffice-body .bo-row.is-past{opacity:.6}.backoffice-body .bo-appt-meta{color:var(--color-text-placeholder);font-size:13px}.backoffice-body .bo-appt-contact{color:var(--color-text-placeholder);margin-left:8px}.backoffice-body .bo-broadcast-lede{color:var(--color-text-subtle);margin:0 0 20px}.backoffice-body .bo-broadcast-form{padding:20px}.backoffice-body .bo-broadcast-form .field{margin-bottom:16px}.backoffice-body .bo-broadcast-form .field label{margin-bottom:4px;font-size:12px}.backoffice-body .bo-broadcast-form .field :is(input,.backoffice-body textarea){border-radius:var(--radius-md);padding:10px}.backoffice-body .bo-broadcast-actions{justify-content:flex-end;gap:8px;display:flex}.backoffice-body .bo-bbtn{border-radius:var(--radius-md);font-size:13px;font-weight:var(--fw-semibold);border:none;align-items:center;gap:6px;padding:10px 20px;line-height:1.15;text-decoration:none;display:inline-flex}.backoffice-body .bo-bbtn-primary{background:var(--color-primary);color:var(--color-primary-fg)}.backoffice-body a.bo-bbtn-ghost{border:1px solid var(--color-border);color:var(--color-text-subtle);background:0 0}.backoffice-body .bo-warning{border:1px solid var(--status-warning-border);border-radius:var(--radius-md);background:var(--status-warning-bg);color:var(--status-warning-fg);padding:12px 16px;font-size:12px}@media (width<=768px){.backoffice-body .form-grid-2,.backoffice-body .form-grid-3{grid-template-columns:1fr}}.backoffice-body .wrap.wrap-plans{max-width:1400px}.backoffice-body .bo-plans-title{margin:0 0 4px;font-size:20px;font-weight:800}.backoffice-body .bo-plans-lede{color:var(--color-text-subtle);margin:0 0 20px;font-size:12px}.backoffice-body .bo-plans-flash{background:var(--status-success-bg);color:var(--status-success-fg);border-radius:8px;margin-bottom:16px;padding:10px 14px;font-size:13px}.backoffice-body .bo-plans-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;display:grid}.backoffice-body .bo-plan-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;padding:20px}.backoffice-body .bo-plan-card h2{margin:0 0 4px;font-size:16px;font-weight:700}.backoffice-body .bo-plan-slug{color:var(--color-text-placeholder);margin:0 0 16px;font-size:11px}.backoffice-body .bo-plan-grid-2,.backoffice-body .bo-plan-grid-3{gap:10px;margin-bottom:12px;display:grid}.backoffice-body .bo-plan-grid-2{grid-template-columns:1fr 1fr}.backoffice-body .bo-plan-grid-3{grid-template-columns:1fr 1fr 1fr}.backoffice-body .bo-plan-card label{color:var(--color-text-subtle);margin-bottom:2px;font-size:11px;display:block}.backoffice-body .bo-plan-card input{border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);border-radius:6px;padding:6px 8px;font-size:13px}.backoffice-body .bo-plan-amount{align-items:center;gap:4px;display:flex}.backoffice-body .bo-plan-amount span{color:var(--color-text-placeholder);font-size:12px}.backoffice-body .bo-plan-save{border:1px solid var(--color-primary);background:var(--color-primary);width:100%;color:var(--color-primary-fg);cursor:pointer;border-radius:6px;padding:6px 8px;font-size:13px}.backoffice-body .bo-onboarding details>summary{cursor:pointer;align-items:center;gap:10px;list-style:none;display:flex}.backoffice-body .bo-onboarding details>summary::-webkit-details-marker{display:none}.backoffice-body .bo-onboarding-arrow{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .bo-onboarding details:not([open]) .bo-onboarding-arrow{transform:rotate(-90deg)}.backoffice-body .bo-onboarding-count{font-size:11px;font-weight:700}.backoffice-body .bo-onboarding-count.is-success{color:var(--status-success-fg)}.backoffice-body .bo-onboarding-count.is-warning{color:var(--status-warning-fg)}.backoffice-body .bo-onboarding-count.is-danger{color:var(--status-danger-fg)}.backoffice-body .bo-onboarding-body{padding:14px 16px}.backoffice-body .bo-onboarding-bar{background:var(--color-border);border-radius:4px;height:8px;margin-bottom:12px;overflow:hidden}.backoffice-body .bo-onboarding-bar>div{border-radius:4px;height:100%}.backoffice-body .bo-onboarding-bar>.is-success{background:var(--status-success-solid)}.backoffice-body .bo-onboarding-bar>.is-warning{background:var(--status-warning-solid)}.backoffice-body .bo-onboarding-bar>.is-danger{background:var(--status-danger-solid)}.backoffice-body .bo-onboarding-steps{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;display:grid}.backoffice-body .bo-onboarding-step{background:var(--status-danger-bg);color:var(--status-danger-fg);border-radius:6px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:flex}.backoffice-body .bo-onboarding-step>span{font-size:14px}.backoffice-body .bo-stripe form{display:inline}.backoffice-body .bo-stripe-active{color:var(--status-success-fg);font-size:13px;font-weight:var(--fw-semibold)}.backoffice-body .bo-ttable{border-collapse:collapse;width:100%;font-size:13px}.backoffice-body .bo-ttable th{border-bottom:2px solid var(--color-border);color:var(--color-text-subtle);font-size:11px;font-weight:var(--fw-semibold);text-align:left;padding:8px 12px}.backoffice-body .bo-ttable td{border-bottom:1px solid var(--color-border-subtle);padding:8px 12px}.backoffice-body .bo-ttable .is-num{text-align:right;white-space:nowrap}.backoffice-body .bo-ttable .is-center{text-align:center}.backoffice-body .bo-ttable .is-muted{color:var(--color-text-subtle)}.backoffice-body .bo-ttable .is-mono{font-family:var(--font-mono,monospace);font-size:12px}.backoffice-body .bo-ttable a{color:var(--color-link);font-size:11px;text-decoration:none}.backoffice-body .bo-ttable a+a{margin-left:6px}.backoffice-body .bo-ttable a.is-pdf{color:var(--status-success-fg)}.backoffice-body .bo-ttable a.is-pay{color:var(--status-warning-fg);font-weight:var(--fw-semibold)}.backoffice-body .bo-pill{background:var(--color-surface-alt);color:var(--color-text-subtle);font-size:11px;font-weight:var(--fw-semibold);border-radius:99px;padding:2px 10px;display:inline-block}.backoffice-body .bo-pill.is-paid{background:var(--status-success-bg);color:var(--status-success-fg)}.backoffice-body .bo-pill.is-open{background:var(--status-warning-bg);color:var(--status-warning-fg)}.backoffice-body .bo-pill.is-uncollectible{background:var(--status-danger-bg);color:var(--status-danger-fg)}.backoffice-body .bo-subscription{margin-top:20px}.backoffice-body .bo-tcard-h-split{justify-content:space-between;align-items:center;display:flex}.backoffice-body .bo-tcard-h-split .badge{color:var(--color-primary-fg);padding:3px 10px;font-size:11px;font-weight:700}.backoffice-body .badge.bo-sub-trialing{background:var(--status-warning-solid)}.backoffice-body .badge.bo-sub-active{background:var(--status-success-solid)}.backoffice-body .badge.bo-sub-past_due{background:var(--status-danger-solid)}.backoffice-body .badge.bo-sub-cancelled,.backoffice-body .badge.bo-sub-expired{background:var(--color-text-subtle)}.backoffice-body .info-grid dd.is-warning{color:var(--status-warning-fg)}.backoffice-body .bo-subscription-actions{border-top:1px solid var(--color-border-subtle);flex-wrap:wrap;gap:8px;padding:12px 16px;display:flex}.backoffice-body .bo-subscription-actions .bo-tbtn{font-size:12px}.backoffice-body .bo-subscription-actions input{width:180px;font-size:12px}.backoffice-body .bo-subscription-actions .bo-inline{gap:4px}.backoffice-body .bo-subscription-empty{text-align:center;padding:20px 16px}.backoffice-body .bo-subscription-empty p{color:var(--color-text-placeholder);margin:0 0 12px;font-size:13px}.backoffice-body .bo-subscription-empty .bo-inline{align-items:center;gap:8px;display:inline-flex}.backoffice-body .bo-subscription-empty select,.backoffice-body .bo-subscription-empty .bo-tbtn{font-size:12px}.backoffice-body .bo-editor-invoices{margin-top:16px}.backoffice-body .bo-inv-badge{background:var(--color-text-placeholder);color:var(--color-primary-fg);font-size:10px;font-weight:var(--fw-semibold);border-radius:4px;padding:2px 8px;display:inline-block}.backoffice-body .bo-inv-badge.is-issued,.backoffice-body .bo-inv-badge.is-sent{background:var(--status-info-solid)}.backoffice-body .bo-inv-badge.is-paid{background:var(--status-success-solid)}.backoffice-body .bo-inv-badge.is-overdue{background:var(--status-danger-solid)}.backoffice-body .bo-inv-badge.is-cancelled,.backoffice-body .bo-inv-badge.is-refunded{background:var(--color-text-subtle)}.backoffice-body .bo-notes-form{border-bottom:1px solid var(--color-border);padding:12px 16px}.backoffice-body .bo-notes-form form{gap:8px;display:flex}.backoffice-body .bo-notes-form textarea{border:1px solid var(--color-border);background:var(--color-surface);min-width:0;color:var(--color-text);font:inherit;resize:vertical;border-radius:6px;flex:1;padding:8px 10px;font-size:12px}.backoffice-body .bo-notes-form .bo-tbtn{align-self:flex-end;font-size:12px}.backoffice-body .bo-note{flex-direction:column;align-items:flex-start;gap:4px}.backoffice-body .bo-note-head{justify-content:space-between;align-items:center;width:100%;display:flex}.backoffice-body .bo-note-head strong{color:var(--color-heading);font-size:12px}.backoffice-body .bo-note-head span{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .bo-note-body{white-space:pre-wrap;font-size:13px;line-height:1.5}.backoffice-body .bo-notes-empty{color:var(--color-text-placeholder);text-align:center;padding:20px 16px;font-size:13px}.backoffice-body .wrap.wrap-invoices{max-width:1400px}.backoffice-body .bo-invoices-head,.backoffice-body .bo-invoice-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.backoffice-body .bo-invoice-head{margin-bottom:20px}.backoffice-body .bo-invoices-head h1,.backoffice-body .bo-invoice-head h1{margin:0;font-size:20px;font-weight:800}.backoffice-body .bo-invoices-head p{color:var(--color-text-subtle);margin:0;font-size:12px}.backoffice-body .bo-invoice-head p{color:var(--color-text-subtle);margin:0;font-size:13px}.backoffice-body .bo-invoice-head-actions{gap:8px;display:flex}.backoffice-body .kpi b.is-info{color:var(--status-info-solid)}.backoffice-body .kpi b.is-danger{color:var(--status-danger-solid)}.backoffice-body .bo-invoices-filters{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.backoffice-body.bo-invoices-page .btn{color:var(--color-link);align-items:center;font-size:12px;text-decoration:none;display:inline-flex}.backoffice-body.bo-invoices-page .bo-invoices-filters .btn-primary{color:var(--color-heading);text-decoration:underline}.backoffice-body.bo-invoices-page form .btn,.backoffice-body.bo-invoices-page .bo-invoice-head-actions .btn{border:1px solid var(--color-primary);background:var(--color-primary);color:var(--color-primary-fg);cursor:pointer;border-radius:6px;padding:6px 12px;text-decoration:none}.backoffice-body.bo-invoices-page form .btn-danger{border-color:var(--status-danger-solid);background:var(--status-danger-solid)}.backoffice-body .bo-invoices-card,.backoffice-body .bo-invoice-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;margin-bottom:20px;overflow-x:auto}.backoffice-body .bo-invoices-table,.backoffice-body .bo-invoice-details,.backoffice-body .bo-invoice-payments{border-collapse:collapse;width:100%;font-size:13px}.backoffice-body .bo-invoices-table th{border-bottom:2px solid var(--color-border);text-align:left;padding:10px 12px}.backoffice-body .bo-invoices-table td{border-bottom:1px solid var(--color-border-subtle);padding:10px 12px}.backoffice-body .bo-invoices-table td.is-empty{color:var(--color-text-placeholder);text-align:center;padding:24px}.backoffice-body .bo-invoices-table .is-strong,.backoffice-body .bo-invoice-details .is-strong,.backoffice-body .bo-invoice-payments .is-strong{font-weight:600}.backoffice-body .bo-invoices-table .is-muted,.backoffice-body .bo-invoice-payments .is-muted{color:var(--color-text-subtle)}.backoffice-body .bo-invoices-table .is-late,.backoffice-body .bo-invoice-details .is-late{color:var(--status-danger-fg);font-weight:600}.backoffice-body .bo-invoices-table a{font-size:12px;text-decoration:none}.backoffice-body .bo-invoices-table a.is-link{color:var(--color-link)}.backoffice-body .bo-invoices-table a.is-pdf{color:var(--status-success-fg);margin-left:8px}.backoffice-body.bo-invoices-page .bo-inv-badge{font-size:11px}.backoffice-body .bo-inv-badge.is-large{border-radius:6px;padding:4px 12px;font-size:12px;font-weight:700}.backoffice-body .bo-invoice-back{margin-bottom:16px}.backoffice-body .bo-invoice-back a{color:var(--color-link);font-size:13px;text-decoration:none}.backoffice-body .bo-invoice-details td{padding:8px 12px}.backoffice-body .bo-invoice-details td.is-label{width:180px;color:var(--color-text-subtle)}.backoffice-body .bo-invoice-details tr.is-total{border-top:2px solid var(--color-border)}.backoffice-body .bo-invoice-details tr.is-total td{font-weight:700}.backoffice-body .bo-invoice-details tr.is-total td+td{font-size:16px}.backoffice-body .bo-invoice-details td.is-paid{color:var(--status-success-fg);font-weight:600}.backoffice-body .bo-invoice-card-h{border-bottom:1px solid var(--color-border);margin:0;padding:12px;font-size:15px;font-weight:700}.backoffice-body .bo-invoice-card-h span{color:var(--color-text-subtle);margin-left:8px;font-size:12px;font-weight:400}.backoffice-body .bo-invoice-empty{color:var(--color-text-placeholder);margin:0;padding:16px;font-size:13px}.backoffice-body .bo-invoice-payments th{border-bottom:1px solid var(--color-border);text-align:left;padding:8px 12px}.backoffice-body .bo-invoice-payments td{border-bottom:1px solid var(--color-border-subtle);padding:8px 12px}.backoffice-body .bo-invoice-pay{border-top:1px solid var(--color-border);padding:16px}.backoffice-body .bo-invoice-pay h3{margin:0 0 8px;font-size:13px;font-weight:600}.backoffice-body .bo-invoice-form{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.backoffice-body .bo-invoice-form label{margin-bottom:2px;font-size:11px;display:block}.backoffice-body .bo-invoice-form :is(input,select){border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);border-radius:6px;padding:6px 8px;font-size:13px}.backoffice-body .bo-invoice-form input.is-amount{width:100px}.backoffice-body .bo-invoice-form input.is-reference{width:160px}.backoffice-body .bo-invoice-form .is-grow{flex:1;min-width:200px}.backoffice-body .bo-invoice-form .is-grow input{width:100%}.backoffice-body .bo-invoice-hint{color:var(--color-text-subtle);margin:8px 0 0;font-size:11px}@media (width<=768px){.backoffice-body.bo-invoices-page .kpis{grid-template-columns:repeat(3,1fr)}}@media (width<=480px){.backoffice-body.bo-invoices-page .kpis{grid-template-columns:repeat(2,1fr)}}.backoffice-body .bo-plans-grid>.card+.card{margin-top:0}.backoffice-body .bo-invoices-card,.backoffice-body .bo-invoice-card{padding:0}.backoffice-body .bo-invoices-card+.bo-invoice-card,.backoffice-body .bo-invoice-card+.bo-invoice-card{margin-top:0}.backoffice-body.bo-invoices-page .bo-invoices-filters .btn{letter-spacing:0;height:auto;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-family:inherit;font-size:12px;font-weight:400}.backoffice-body.bo-invoices-page :is(.bo-invoices-filters,.bo-invoices-table,.bo-invoice-head-actions,.bo-invoice-form){font-family:Arial,Helvetica,sans-serif}.backoffice-body.bo-invoices-page .bo-invoice-head-actions .btn{height:auto;color:var(--color-link);background:0 0;border:0;padding:0;font-family:inherit;font-weight:600;text-decoration:underline}.backoffice-body.bo-invoices-page .bo-invoice-form .btn{height:auto;padding:1px 6px;font-family:inherit;font-size:12px}@media (width<=480px){.backoffice-body .bo-editor-invoices .bo-ttable :is(th,td){padding-left:8px;padding-right:8px}.backoffice-body .bo-subscription-empty select{max-width:240px}}.backoffice-body .kpi em a.is-danger{color:var(--status-danger-solid)}.backoffice-body.bo-compact .kpi :is(small,em){font-family:Arial,Helvetica,sans-serif}.backoffice-body .bo-sub-counts{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.backoffice-body .bo-sub-count{border-radius:8px;padding:6px 14px;font-size:12px;font-weight:600}.backoffice-body .bo-sub-count.is-trialing{background:var(--status-warning-bg);color:var(--status-warning-fg)}.backoffice-body .bo-sub-count.is-active{background:var(--status-success-bg);color:var(--status-success-fg)}.backoffice-body .bo-sub-count.is-past-due{background:var(--status-danger-bg);color:var(--status-danger-fg)}.backoffice-body .bo-sub-count.is-cancelled{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}.backoffice-body .bo-sub-count.is-expired{background:var(--color-surface-alt);color:var(--color-text-placeholder)}.backoffice-body .bo-mrr-chart{margin-bottom:20px}.backoffice-body .bo-mrr-bars{align-items:flex-end;gap:4px;height:80px;display:flex}.backoffice-body .bo-mrr-month{flex-direction:column;flex:1;align-items:center;gap:2px;display:flex}.backoffice-body .bo-mrr-value{color:var(--color-text-subtle);font-size:8px}.backoffice-body .bo-mrr-bar{background:var(--backoffice-chart-empty);border-radius:4px 4px 0 0;width:100%}.backoffice-body .bo-mrr-bar.is-filled{background:var(--backoffice-chart-bar)}.backoffice-body .bo-mrr-label{color:var(--color-text-placeholder);font-size:8px}.backoffice-body .pipe-card-head{justify-content:space-between;align-items:center;display:flex}.backoffice-body .pipe-score{color:var(--color-text-inverse);border-radius:8px;padding:2px 6px;font-size:9px;font-weight:700}.backoffice-body :is(.pipe-score,.score-bar-fill).is-hot{background:var(--status-success-solid)}.backoffice-body :is(.pipe-score,.score-bar-fill).is-warm{background:var(--status-warning-solid)}.backoffice-body :is(.pipe-score,.score-bar-fill).is-cold{background:var(--color-text-placeholder)}.backoffice-body .pipe-priority{color:var(--color-text-inverse);border-radius:6px;margin-top:2px;padding:1px 5px;font-size:8px;font-weight:700;display:inline-block}.backoffice-body :is(.pipe-priority,.bo-prospect-tag).is-hot,.backoffice-body .bo-prospect-tag.bo-priority-hot{background:var(--status-danger-solid)}.backoffice-body :is(.pipe-priority,.bo-prospect-tag).is-warm,.backoffice-body .bo-prospect-tag.bo-priority-warm{background:var(--status-warning-solid)}.backoffice-body :is(.pipe-priority,.bo-prospect-tag).is-cold,.backoffice-body .bo-prospect-tag.bo-priority-cold{background:var(--color-text-placeholder)}.backoffice-body .bo-add-prospect{max-width:600px;max-height:85vh}.backoffice-body .bo-add-prospect-fields{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.backoffice-body .bo-add-prospect-fields .is-wide{grid-column:span 2}.backoffice-body .bo-add-prospect-fields label{color:var(--color-text-subtle);margin-bottom:4px;font-size:11px;font-weight:600;display:block}.backoffice-body .bo-add-prospect-fields :is(input,select,textarea){border:1px solid var(--color-border);background:var(--color-surface);width:100%;color:var(--color-text);border-radius:8px;padding:8px 12px;font-size:13px}.backoffice-body .bo-add-prospect-fields textarea{resize:vertical}.backoffice-body .bo-add-prospect-error{color:var(--status-danger-fg);margin:0 0 12px;font-size:12px}.backoffice-body .bo-modal-actions.is-end{justify-content:flex-end}.backoffice-body .bo-onboarding-head{border-bottom:1px solid var(--color-border);padding:12px 16px}.backoffice-body .bo-onboarding-title{color:var(--color-heading);font-size:14px;font-weight:700}.backoffice-body .bo-onboarding-subtitle{color:var(--color-text-placeholder);margin-top:2px;font-size:11px}.backoffice-body .row.bo-onboarding-row{flex-direction:column;align-items:stretch;gap:6px}.backoffice-body .bo-onboarding-line{justify-content:space-between;align-items:center;display:flex}.backoffice-body .bo-onboarding-name{color:var(--color-heading);font-weight:600;text-decoration:none}.backoffice-body .bo-onboarding-plan{color:var(--color-text-placeholder);margin-left:6px;font-size:10px}.backoffice-body .bo-onboarding-percent{font-size:12px;font-weight:700}.backoffice-body .bo-onboarding-percent.is-success{color:var(--status-success-solid)}.backoffice-body .bo-onboarding-percent.is-warning{color:var(--status-warning-solid)}.backoffice-body .bo-onboarding-percent.is-danger{color:var(--status-danger-solid)}.backoffice-body .bo-onboarding-track{background:var(--color-border);border-radius:4px;height:6px;overflow:hidden}.backoffice-body .bo-onboarding-fill{border-radius:4px;height:100%}.backoffice-body .bo-onboarding-fill.is-success{background:var(--status-success-solid)}.backoffice-body .bo-onboarding-fill.is-warning{background:var(--status-warning-solid)}.backoffice-body .bo-onboarding-fill.is-danger{background:var(--status-danger-solid)}.backoffice-body .bo-onboarding-steps{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.backoffice-body .bo-onboarding-step{background:var(--status-danger-bg);color:var(--status-danger-fg);border-radius:4px;padding:2px 6px;font-size:9px}.backoffice-body .bo-onboarding-step.is-done{background:var(--status-success-bg);color:var(--status-success-fg)}.backoffice-body.bo-tenants-page .wrap{font-family:Arial,Helvetica,sans-serif;line-height:normal}.backoffice-body .bo-tenants-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.backoffice-body .bo-tenants-head h1{letter-spacing:0;margin:0;font-size:20px;font-weight:800}.backoffice-body .bo-tenants-head p{color:var(--color-text-subtle);margin:0;font-size:12px}.backoffice-body.bo-tenants-page .btn{height:auto;min-height:0;box-shadow:none;color:inherit;letter-spacing:0;background:0 0;border:0;border-radius:0;padding:0;font-family:inherit;font-size:12px;font-weight:400;line-height:normal;display:inline}.backoffice-body.bo-tenants-page .btn.bo-tenants-export{background:var(--status-success-solid);color:var(--color-text-inverse)}.backoffice-body.bo-tenants-page button.btn,.backoffice-body.bo-tenants-page .bo-tenants-pages .btn{border:1px solid var(--color-border-strong);background:var(--color-surface-alt);color:var(--color-text);border-radius:2px;padding:1px 6px;display:inline-block}.backoffice-body .bo-tenants-filters{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;display:flex}.backoffice-body .bo-tenants-filters input{border:1px solid var(--color-border-strong);background:var(--color-surface);width:260px;color:var(--color-text);border-radius:6px;padding:6px 12px;font-family:inherit;font-size:13px}.backoffice-body .bo-tenants-filters select{border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-text);border-radius:6px;padding:6px 8px;font-family:inherit;font-size:13px}.backoffice-body .bo-tenants-clear{color:var(--color-text-subtle);font-size:12px;text-decoration:underline}.backoffice-body.bo-tenants-page .card.bo-tenants-card{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;overflow-x:auto}.backoffice-body .bo-tenants-table{border-collapse:collapse;width:100%;font-size:13px}.backoffice-body .bo-tenants-table thead tr{border-bottom:2px solid var(--color-border);text-align:left}.backoffice-body .bo-tenants-table tbody tr{border-bottom:1px solid var(--color-border-subtle)}.backoffice-body .bo-tenants-table :is(th,td){padding:10px 12px}.backoffice-body .bo-tenants-table td.is-empty{color:var(--color-text-placeholder);text-align:center;padding:24px}.backoffice-body .bo-tenants-table .is-strong{font-weight:600}.backoffice-body .bo-tenants-table .is-faint{color:var(--color-text-placeholder);font-size:11px}.backoffice-body .bo-tenants-table .is-center{text-align:center}.backoffice-body .bo-tenants-table .is-muted{color:var(--color-text-subtle)}.backoffice-body .bo-tenants-table .is-small{font-size:12px}.backoffice-body .bo-tenants-table .is-never{color:var(--status-danger-solid)}.backoffice-body .bo-tenants-table a.is-link{color:var(--color-link);font-size:12px;text-decoration:none}.backoffice-body .bo-list-badge{color:var(--color-text-inverse);border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.backoffice-body .bo-list-badge.bo-status-active{background:var(--status-success-solid)}.backoffice-body .bo-list-badge.bo-status-suspended{background:var(--status-danger-solid)}.backoffice-body .bo-list-badge.bo-status-cancelled,.backoffice-body .bo-list-badge.bo-status-other{background:var(--backoffice-plan-other)}.backoffice-body .bo-tenants-discount{color:var(--status-success-solid);font-size:10px;font-weight:400}.backoffice-body .bo-tenants-pages{flex-wrap:wrap;justify-content:center;gap:4px;margin:16px 0;display:flex}.backoffice-body.bo-analytics-page .wrap{font-family:Arial,Helvetica,sans-serif;line-height:normal}.backoffice-body .wrap.wrap-analytics{max-width:1200px}.backoffice-body .bo-analytics-title{letter-spacing:0;margin:0 0 4px;font-size:22px;font-weight:800}.backoffice-body.bo-analytics-page .subtitle{color:var(--color-text-subtle);margin:0 0 20px;font-size:13px}.backoffice-body .kpi-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px;display:grid}.backoffice-body .kpi-grid .kpi{padding:16px}.backoffice-body .kpi-grid .kpi b{margin-bottom:2px;line-height:normal}.backoffice-body .kpi-grid .kpi small{letter-spacing:.5px;font-size:10px}.backoffice-body .kpi-grid .trend{margin-top:4px;font-size:11px}.backoffice-body .kpi-grid .trend.up{color:var(--status-success-solid)}.backoffice-body .kpi-grid .trend.down{color:var(--status-danger-solid)}.backoffice-body .charts{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px;display:grid}.backoffice-body .chart-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;padding:16px;overflow:hidden}.backoffice-body .chart-card.full{grid-column:1/-1}.backoffice-body .chart-card h3{color:var(--color-heading);letter-spacing:0;margin:0 0 12px;font-size:14px;font-weight:700}.backoffice-body .chart-card .chart-wrap{background:0 0;border:0;border-radius:0;height:300px;margin:0;padding:0;position:relative}.backoffice-body .cohort-table{border-collapse:collapse;width:100%;font-size:12px}.backoffice-body .cohort-table :is(th,td){border:1px solid var(--color-border);text-align:center;padding:8px 10px}.backoffice-body .cohort-table th{background:var(--color-surface-alt);color:var(--color-text-subtle);text-transform:uppercase;font-size:10px;font-weight:600}.backoffice-body .cohort-table td.cohort-label{color:var(--color-heading);text-align:left;font-weight:600}.backoffice-body .cohort-table td.cohort-cell{background:var(--backoffice-cohort)}@supports (color:color-mix(in lab, red, red)){.backoffice-body .cohort-table td.cohort-cell{background:color-mix(in srgb, var(--backoffice-cohort) var(--cohort-pct,0%), transparent)}}.backoffice-body .cohort-table td.cohort-cell{font-weight:600}.backoffice-body .cohort-table td.cohort-cell.is-strong{color:var(--color-text-inverse)}.backoffice-body .cohort-table td.cohort-cell.is-empty{background:var(--color-surface-alt);color:var(--color-text-placeholder);font-weight:400}.backoffice-body .cohort-empty{color:var(--color-text-placeholder);text-align:center;margin:0;padding:20px;font-size:13px}@media (width<=768px){.backoffice-body .kpi-grid{grid-template-columns:repeat(2,1fr)}.backoffice-body .charts{grid-template-columns:1fr}}.backoffice-body.bo-prospect-page .wrap{font-family:Arial,Helvetica,sans-serif;line-height:normal}.backoffice-body .wrap.wrap-prospect{max-width:1000px}.backoffice-body .bo-prospect-back{color:var(--color-text-subtle);align-items:center;gap:4px;margin-bottom:16px;font-size:13px;text-decoration:none;display:inline-flex}.backoffice-body .bo-prospect-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.backoffice-body .bo-prospect-head h1{color:var(--color-heading);letter-spacing:0;margin:0;font-size:22px;font-weight:800}.backoffice-body .bo-prospect-tags{align-items:center;gap:8px;margin-top:6px;display:flex}.backoffice-body .bo-prospect-tag{color:var(--color-text-inverse);border-radius:10px;padding:3px 10px;font-size:11px;font-weight:700}.backoffice-body .bo-prospect-tag.is-source{background:var(--color-surface-alt);color:var(--color-text-subtle);font-weight:600}.backoffice-body .bo-prospect-contact-actions{align-items:center;gap:8px;display:flex}.backoffice-body .bo-prospect-grid{grid-template-columns:1fr 320px;gap:16px;display:grid}.backoffice-body.bo-prospect-page .card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:none;border-radius:10px;margin:0 0 16px;padding:0;overflow:hidden}.backoffice-body.bo-prospect-page .card-h{border-bottom:1px solid var(--color-border);color:var(--color-heading);justify-content:space-between;align-items:center;padding:12px 16px;font-size:14px;font-weight:700;display:flex}.backoffice-body.bo-prospect-page .btn{letter-spacing:0;cursor:pointer;height:auto;min-height:0;box-shadow:none;border:none;border-radius:6px;align-items:center;gap:4px;padding:8px 16px;font-family:inherit;font-size:12px;font-weight:600;line-height:normal;text-decoration:none;display:inline-flex}.backoffice-body.bo-prospect-page .btn-primary{background:var(--color-primary);color:var(--color-primary-fg)}.backoffice-body.bo-prospect-page .btn-ghost{border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text)}.backoffice-body.bo-prospect-page .bo-prospect-toggle{padding:4px 12px;font-size:11px}.backoffice-body.bo-prospect-page :is(select,input,textarea){border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);border-radius:6px;padding:6px 10px;font-family:inherit;font-size:12px}.backoffice-body .bo-score{align-items:center;gap:20px;padding:16px;display:flex}.backoffice-body .score-ring{border:4px solid;border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:80px;height:80px;display:flex}.backoffice-body .score-ring b{font-size:22px;line-height:1.1}.backoffice-body .score-ring small{font-size:9px}.backoffice-body :is(.score-ring,.bo-prospect-stat-value).is-hot{border-color:var(--status-success-solid);color:var(--status-success-solid)}.backoffice-body :is(.score-ring,.bo-prospect-stat-value).is-warm{border-color:var(--status-warning-solid);color:var(--status-warning-solid)}.backoffice-body :is(.score-ring,.bo-prospect-stat-value).is-cold{border-color:var(--color-text-placeholder);color:var(--color-text-placeholder)}.backoffice-body .bo-score-lines{flex:1}.backoffice-body .bo-score-line{align-items:center;gap:8px;margin-bottom:6px;display:flex}.backoffice-body .bo-score-label{min-width:80px;color:var(--color-text-subtle);font-size:11px}.backoffice-body .score-bar-bg{background:var(--color-border);border-radius:3px;flex:1;height:6px;overflow:hidden}.backoffice-body .score-bar-fill{border-radius:3px;height:100%}.backoffice-body .bo-score-points{min-width:40px;color:var(--color-text-placeholder);text-align:right;font-size:10px}.backoffice-body .info-grid{grid-template-columns:140px 1fr;gap:6px 12px;margin:0;padding:16px;font-size:13px;display:grid}.backoffice-body .info-grid dt{color:var(--color-text-subtle);font-weight:600}.backoffice-body .info-grid dd{color:var(--color-text);margin:0}.backoffice-body .info-grid dd.is-pre{white-space:pre-wrap}.backoffice-body .bo-prospect-form{padding:16px}.backoffice-body .bo-prospect-fields{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;display:grid}.backoffice-body .bo-prospect-fields .is-wide{grid-column:span 2}.backoffice-body .bo-prospect-fields label,.backoffice-body .bo-prospect-side label{color:var(--color-text-subtle);margin-bottom:3px;font-size:11px;font-weight:600;display:block}.backoffice-body.bo-prospect-page .bo-prospect-fields :is(input,select,textarea){width:100%;padding:8px 10px}.backoffice-body.bo-prospect-page textarea{resize:vertical;min-height:0;line-height:17px}.backoffice-body .bo-prospect-form-actions{justify-content:flex-end;gap:8px;display:flex}.backoffice-body.bo-prospect-page .bo-prospect-form-actions .btn{padding:6px 14px;font-size:11px}.backoffice-body .bo-prospect-empty{color:var(--color-text-placeholder);text-align:center;padding:24px;font-size:12px}.backoffice-body .bo-timeline{padding:12px 0}.backoffice-body .timeline-item{border-left:3px solid var(--color-border);margin:0 0 2px 20px;padding:10px 16px;font-size:12px;position:relative}.backoffice-body .timeline-item:before{border:2px solid var(--color-surface);background:var(--color-border);content:"";border-radius:50%;width:10px;height:10px;position:absolute;top:14px;left:-8px}.backoffice-body .timeline-item.type-moved:before{background:var(--backoffice-stage-replied)}.backoffice-body .timeline-item.type-note-added:before{background:var(--backoffice-stage-identified)}.backoffice-body .timeline-item.type-email-sent:before{background:var(--backoffice-stage-email-sent)}.backoffice-body .timeline-item.type-email-opened:before{background:var(--status-success-solid)}.backoffice-body .timeline-item.type-email-clicked:before{background:var(--backoffice-stage-demo-done)}.backoffice-body .timeline-item.type-email-replied:before{background:var(--backoffice-stage-active)}.backoffice-body .timeline-item.type-created:before{background:var(--backoffice-stage-trial)}.backoffice-body .bo-timeline-head{justify-content:space-between;align-items:center;display:flex}.backoffice-body .bo-timeline-label{color:var(--color-heading);font-weight:600}.backoffice-body .bo-timeline-date{color:var(--color-text-placeholder);font-size:10px}.backoffice-body .bo-timeline-content{color:var(--color-text-subtle);white-space:pre-wrap;margin-top:3px}.backoffice-body .bo-prospect-side{padding:16px}.backoffice-body .bo-prospect-side label{margin-bottom:4px}.backoffice-body .bo-prospect-stage{margin-bottom:14px}.backoffice-body .bo-prospect-inline{gap:6px;display:flex}.backoffice-body .bo-prospect-inline select{flex:1}.backoffice-body.bo-prospect-page .bo-prospect-side .btn{padding:6px 12px;font-size:11px}.backoffice-body.bo-prospect-page .bo-prospect-side textarea{width:100%;margin-bottom:6px;padding:8px 10px}.backoffice-body.bo-prospect-page .bo-prospect-side .btn.is-block{justify-content:center;width:100%;padding:8px 16px}.backoffice-body .bo-prospect-contact,.backoffice-body .bo-prospect-stats{padding:16px;font-size:12px}.backoffice-body .bo-prospect-contact-name{color:var(--color-heading);margin-bottom:6px;font-size:14px;font-weight:600}.backoffice-body .bo-prospect-contact .is-line{margin-bottom:4px}.backoffice-body .bo-prospect-contact a{color:var(--color-link)}.backoffice-body .bo-prospect-contact .is-city{color:var(--color-text-subtle);margin-top:6px}.backoffice-body .bo-prospect-contact .is-site{margin-top:4px}.backoffice-body .bo-prospect-stat-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.backoffice-body .bo-prospect-stat{background:var(--color-surface-alt);text-align:center;border-radius:8px;padding:10px}.backoffice-body .bo-prospect-stat-value{color:var(--color-heading);font-size:18px;font-weight:700}.backoffice-body .bo-prospect-stat-label{color:var(--color-text-subtle);text-transform:uppercase;font-size:9px}.backoffice-body .bo-prospect-ages{color:var(--color-text-subtle);margin-top:10px}.backoffice-body .bo-prospect-ages>div:first-child{margin-bottom:4px}.notifications-inline-form{display:inline}.notifications-filters{margin-bottom:var(--space-4)}.notifications-empty-icon{color:var(--color-text-subtle)}.notifications-card{padding:0;overflow:hidden}.notifications-card .notification-item{align-items:flex-start;gap:var(--space-3);padding:var(--space-4) var(--space-5);display:flex}.notifications-card .notification-item+.notification-item{border-top:1px solid var(--color-border)}.notifications-card .notification-item.is-unread{background:var(--color-primary-soft)}.notifications-card .notification-icon{width:36px;height:36px;color:var(--color-text-muted);background:var(--color-surface-alt);border-radius:var(--radius-full);flex-shrink:0;justify-content:center;align-items:center;margin-top:2px;display:flex}.notifications-card .notification-item.is-unread .notification-icon{color:var(--color-primary-soft-fg);background:var(--color-surface)}.notifications-card .notification-body{flex:1;min-width:0}.notifications-card .notification-head{justify-content:space-between;align-items:baseline;gap:var(--space-2);display:flex}.notifications-card .notification-title{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-heading);margin:0}.notifications-card .notification-item.is-unread .notification-title{font-weight:var(--fw-semibold)}.notifications-card .notification-title a{color:inherit;text-decoration:none}.notifications-card .notification-time{font-size:var(--fs-xs);color:var(--color-text-subtle);white-space:nowrap}.notifications-card .notification-message{margin:var(--space-1) 0 0;font-size:var(--fs-xs);color:var(--color-text-muted);line-height:1.5}.notifications-card .notification-read-form{flex-shrink:0}.notifications-card .notification-read-form .btn{padding:var(--space-1)}.notifications-pagination{margin-top:var(--space-4)}.tasks-title{color:var(--color-heading);margin:0 0 8px;font-size:24px;font-weight:800}.tasks-header-actions{align-items:center;gap:8px;display:flex}.tasks-header-actions .btn-ghost{font-size:13px}.tasks-header-actions .tasks-view-icon{vertical-align:middle;margin-right:4px}.tasks-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:20px;display:flex}.tasks-toolbar .select{width:auto;padding:6px 12px;font-size:13px}.tasks-empty{text-align:center;color:var(--color-text-subtle);padding:80px 20px}.tasks-empty h3{color:var(--color-text-muted);margin:16px 0 4px;font-size:16px}.tasks-empty p{margin:0 0 16px;font-size:13px}.tasks-pagination{margin-top:var(--space-5)}.task-inline-form{display:inline}.tasks-board .task-card-title{padding-right:0}.task-card-body{align-items:flex-start;gap:10px;display:flex}.task-card-main{flex:1;min-width:0}.task-card-description{color:var(--color-text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 4px;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.task-form-card{max-width:640px}.task-form-card .form-stack{display:block}.task-form-card .form-group{margin-bottom:var(--space-4)}.task-form-card .form-label{display:block}.task-form-card .task-required{color:var(--status-danger-fg)}.task-form-row{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.task-form-row.is-three{grid-template-columns:1fr 1fr 1fr}.task-assignees{max-height:150px;padding:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow-y:auto}.task-assignee{align-items:center;gap:var(--space-2);font-size:var(--fs-sm);cursor:pointer;padding:3px 0;display:flex}.task-owner{margin-top:var(--space-2)}.task-owner .form-label{margin-right:var(--space-2);display:inline}.task-owner .form-input{width:auto;max-width:100%;display:inline-block}.task-checklist{margin-bottom:var(--space-2)}.task-checklist .checklist-item{align-items:center;gap:var(--space-2);margin-bottom:6px;display:flex}.task-checklist .checklist-item input[type=checkbox]{flex-shrink:0;width:18px;height:18px}.task-checklist .checklist-item .form-input{font-size:var(--fs-sm);flex:1;padding:4px 8px}.task-checklist-remove{color:var(--status-danger-fg);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:16px}.task-checklist-add{font-size:var(--fs-xs)}@media (width<=1023px){.task-form-row.is-three{grid-template-columns:1fr 1fr}}@media (width<=639px){.tasks-header-actions{flex-wrap:wrap}.tasks-toolbar{justify-content:center}.tasks-toolbar .select{width:100%}.task-form-row,.task-form-row.is-three{grid-template-columns:1fr}}.workflows-empty{padding:var(--space-8);color:var(--color-text-muted);text-align:center}.workflows-name{font-weight:var(--fw-medium)}.workflows-event-cell,.workflows-date{font-size:var(--fs-sm)}.workflows-pill{font-size:var(--fs-xs);border-radius:var(--radius-full);padding:2px 8px}.workflows-pill.is-event{color:var(--status-info-fg);background:var(--status-info-bg)}.workflows-pill.is-active{font-weight:var(--fw-medium);color:var(--status-success-fg);background:var(--status-success-bg)}.workflows-pill.is-inactive{font-weight:var(--fw-medium);color:var(--color-text-muted);background:var(--status-neutral-bg)}.workflows-toggle-form{display:inline}.workflows-toggle-form .workflows-toggle{font-size:var(--fs-xs);padding:2px 8px}.card.workflows-executions{margin-top:var(--space-6)}.workflows-executions h2{padding:var(--space-4) var(--space-4) 0;font-size:var(--fs-base);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0}.card.workflow-create{max-width:700px}.workflow-required{color:var(--status-danger-fg)}.workflow-fieldset{margin:var(--space-4) 0;padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md)}.workflow-fieldset legend{padding:0 var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-text)}.workflow-row{gap:var(--space-2);margin-bottom:var(--space-2);display:grid}.workflow-row.is-condition{grid-template-columns:1fr 120px 1fr}.workflow-row.is-action{grid-template-columns:160px 1fr 120px}.workflow-row .form-input{font-size:var(--fs-sm)}.card.approvals-pending{margin-bottom:var(--space-6)}.approvals-pending-title{color:var(--status-warning-fg)}.approvals-pending-row{border-bottom:1px solid var(--color-border);align-items:center;gap:16px;padding:14px 20px;display:flex}.approvals-pending-main{flex:1}.approvals-pending-name{font-size:14px;font-weight:var(--fw-semibold)}.approvals-pending-meta{color:var(--color-text-muted);font-size:12px}.approvals-inline-form{display:inline}.approvals-reject{color:var(--status-danger-fg)}.approvals-empty{padding:var(--space-6);color:var(--color-text-muted);text-align:center}.card.approvals-launch{margin-bottom:var(--space-4);padding:var(--space-4)}.approvals-launch h3{margin:0 0 var(--space-3)}.approvals-launch-grid{gap:var(--space-3);grid-template-columns:repeat(3,1fr);display:grid}.approvals-launch-actions{gap:var(--space-2);margin-top:var(--space-3);display:flex}@media (width<=639px){.workflow-row.is-condition,.workflow-row.is-action,.approvals-launch-grid{grid-template-columns:1fr;gap:8px}.approvals-pending-row{flex-wrap:wrap}.approvals-pending-row .approvals-inline-form{width:100%;display:block}.card>#approvals-table,.table-wrap>#workflow-executions-table{min-width:600px;display:block;overflow-x:auto}#approvals-table th,#approvals-table td,#workflow-executions-table th,#workflow-executions-table td{white-space:nowrap;padding:6px 8px}#approvals-table thead th,#workflow-executions-table thead th{letter-spacing:.66px;font-size:11px}#approvals-table td,#workflow-executions-table td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}}.account-actions{gap:var(--space-2);display:flex}.account-actions .btn svg{flex-shrink:0}.account-identity{border-bottom:1px solid var(--color-border)}.account-identity .profile-info h2{margin:0 0 var(--space-1);font-size:var(--fs-lg)}.card.account-card{max-width:640px}.account-card+.account-card{margin-top:var(--space-6)}.account-card .card-header .eyebrow{margin:0 0 var(--space-1)}.account-card .card-header h3{margin:0}.card.account-preferences-card{max-width:720px}.account-preferences-card+.account-preferences-card{margin-top:var(--space-6)}.account-preferences-card .card-header .eyebrow{margin:0 0 var(--space-1)}.account-preferences-card .card-header h3{margin:0}.account-preferences-card .card-header .text-muted{margin:var(--space-1) 0 0}.account-preferences-grid{gap:var(--space-4);padding:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.account-preferences-grid .field{margin-bottom:0}.account-preferences-list{padding:var(--space-4)}.account-preferences-check{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;font-size:var(--fs-sm);cursor:pointer;display:flex}.account-preferences-check input{width:18px;height:18px;accent-color:var(--color-primary)}.account-preferences-strong{font-weight:var(--fw-medium)}.account-preferences-digest{align-items:center;gap:var(--space-6);padding:var(--space-4);flex-wrap:wrap;display:flex}.account-preferences-digest .field{margin-bottom:0}.account-preferences-digest .select{width:auto}.account-preferences-digest .field label{margin-bottom:var(--space-2);display:block}.account-preferences-actions{gap:var(--space-3);max-width:720px;margin-top:var(--space-6);display:flex}.account-preferences-actions .btn{padding-inline:var(--space-6)}@media (width<=639px){.account-preferences-grid{grid-template-columns:1fr}.account-preferences-actions{flex-direction:column;align-items:flex-start}}.account-security-card .card-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.account-security-body{padding:var(--space-4)}.account-security-lead{margin:0 0 var(--space-3)}.account-security-note{margin:0 0 var(--space-4)}.account-security-confirm{max-width:300px}.account-security-form{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border-subtle)}.account-security-form h4{margin:0 0 var(--space-2);font-size:var(--fs-sm)}.account-security-session{gap:var(--space-6);flex-wrap:wrap;display:flex}.account-security-value{font-weight:var(--fw-medium);margin:0}.account-security-mono{font-family:var(--ff-mono,ui-monospace, monospace);font-size:var(--fs-sm)}.card.settings-card{margin-bottom:var(--space-6)}.settings-card .card-header h3{align-items:center;gap:8px;display:flex}.settings-card .card-header h3 svg{flex-shrink:0}.settings-lead{margin-bottom:var(--space-3);font-size:var(--fs-xs);color:var(--color-text-muted)}.settings-card .field-hint{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:4px;display:block}.settings-note{margin-top:4px}.settings-logo{align-items:center;gap:var(--space-4);display:flex}.settings-logo-preview,.settings-logo-empty{border-radius:var(--radius-md);flex-shrink:0;width:64px;height:64px}.settings-logo>div:last-child{min-width:0}.settings-logo-preview{border:1px solid var(--color-border);background:var(--color-surface);object-fit:contain;padding:4px}.settings-logo-empty{border:2px dashed var(--color-border);color:var(--color-text-subtle);justify-content:center;align-items:center;display:flex}.settings-card .settings-logo-input{max-width:300px}.settings-logo-remove{font-size:var(--fs-xs);color:var(--color-text-muted);align-items:center;gap:6px;margin-top:4px;display:flex}.settings-integration{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4) 0;display:flex}.settings-integration-info{flex:1}.settings-integration-info h4{margin:0 0 var(--space-1);font-size:var(--fs-base)}.settings-integration-info p{margin:0}.settings-integration-status{align-items:center;gap:var(--space-3);flex-shrink:0;display:flex}.toggle-label{cursor:pointer;width:44px;height:24px;display:inline-block;position:relative}.toggle-input{opacity:0;width:0;height:0;position:absolute}.toggle-switch{border-radius:var(--radius-full);background:var(--color-border-strong);position:absolute;inset:0}.toggle-switch:after{content:"";background:var(--color-surface);width:20px;height:20px;box-shadow:var(--shadow-xs);border-radius:50%;position:absolute;top:2px;left:2px}.toggle-input:checked+.toggle-switch{background:var(--status-success-solid)}.toggle-input:checked+.toggle-switch:after{transform:translate(20px)}.toggle-input:disabled+.toggle-switch{cursor:not-allowed;opacity:.6}.settings-color{align-items:center;gap:8px;display:flex}.field .settings-color input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){max-width:120px}.field .settings-color input[type=color]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){border:1px solid var(--color-border);cursor:pointer;border-radius:6px;flex:0 0 48px;width:48px;height:36px;padding:2px}.settings-reminder{border:1px solid var(--status-info-border);background:var(--status-info-bg);border-radius:10px;margin-bottom:16px;padding:16px}.settings-reminder.is-warning{border-color:var(--status-warning-border);background:var(--status-warning-bg)}.settings-reminder.is-danger{border-color:var(--status-danger-border);background:var(--status-danger-bg)}.settings-reminder h4{color:var(--status-info-fg);margin-bottom:12px;font-size:14px;font-weight:700}.settings-reminder.is-warning h4{color:var(--status-warning-fg)}.settings-reminder.is-danger h4{color:var(--status-danger-fg)}.settings-reminder-grid{margin-bottom:12px}.settings-card .settings-reminder-delay{max-width:100px}.settings-card .settings-reminder-body{font-family:var(--font-mono);font-size:13px}.settings-last-saved{text-align:center;color:var(--color-text-subtle);margin-top:8px;font-size:11px}@media (width<=767px){.settings-integration{flex-direction:column;align-items:flex-start}}@media (width<=639px){.settings-logo,.settings-color{flex-wrap:wrap}.settings-logo>div:last-child{flex:100%}.settings-card .settings-logo-input,.settings-card .settings-reminder-delay,.field .settings-color input[type=text]:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]){flex:100%;max-width:none}}.card.import-card{max-width:600px}.import-card input[type=file]{font-size:var(--fs-sm)}.import-card .import-hint{margin-top:var(--space-1)}.import-card .import-formats summary{cursor:pointer}.import-card .import-formats-body{margin-top:var(--space-2);font-size:var(--fs-xs)}.import-card .import-formats:not([open]) .import-formats-body{display:none}.import-exports-card{margin-top:var(--space-6)}.import-exports{gap:var(--space-3);margin-top:var(--space-3);flex-wrap:wrap;display:flex}@media (width<=639px){.import-exports{flex-direction:column;align-items:flex-start}}.jd-wrap{max-width:1280px;margin:0 auto}.jd-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.jd-header-left .jd-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted);margin:0 0 2px;font-size:11px}.jd-header-left h1{font-size:24px;font-weight:var(--fw-bold);color:var(--color-text);margin:0 0 4px}.jd-header-left h1.jd-greeting{margin:0 0 2px;font-size:22px}.jd-header-left .jd-subtitle{color:var(--color-text-muted);margin:0;font-size:13px}.jd-header-actions{flex-wrap:wrap;gap:8px;display:flex}.jd-btn{font-size:13px;font-weight:var(--fw-semibold);cursor:pointer;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;text-decoration:none;display:inline-flex}.jd-btn-primary{background:var(--color-primary);color:var(--button-primary-text)}.jd-btn-secondary{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}.jd-btn-ghost{color:var(--color-link);background:0 0;padding:6px 10px;font-size:12px}.jd-btn-sm{padding:5px 10px;font-size:12px}.jd-btn.is-disabled,.jd-alert-item.is-disabled{color:var(--color-text-disabled);pointer-events:none;cursor:not-allowed}.jd-alert-band{border:1px solid var(--status-danger-border);border-radius:var(--radius-md);background:var(--status-danger-bg);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:10px 16px;font-size:13px;display:flex}.jd-alert-band>svg{color:var(--status-danger-fg);flex-shrink:0}.jd-alert-title{font-weight:var(--fw-semibold);color:var(--status-danger-fg)}.jd-alert-separator{color:var(--color-border)}.jd-alert-item{font-weight:var(--fw-semibold);text-decoration:none}.jd-alert-item.is-danger{color:var(--status-danger-fg)}.jd-alert-item.is-warning{color:var(--status-warning-fg)}.jd-alert-item.is-info{color:var(--status-info-fg)}.jd-alert-item.is-accent{color:var(--color-accent-soft-fg)}.jd-kpi-row{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px;display:grid}.jd-kpi-card{background:var(--dashboard-kpi-bg);border-radius:12px;flex-direction:column;justify-content:space-between;min-height:110px;padding:20px 22px;display:flex;position:relative;overflow:hidden}.jd-kpi-label{font-size:11px;font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:.06em;color:var(--dashboard-kpi-muted);margin-bottom:8px}.jd-kpi-value{color:var(--dashboard-kpi-fg);margin-bottom:6px;font-size:26px;font-weight:800;line-height:1.1}.jd-kpi-sub{color:var(--dashboard-kpi-muted);align-items:center;gap:4px;font-size:12px;display:flex}.jd-kpi-sub .jd-up{color:var(--dashboard-kpi-up)}.jd-kpi-sub .jd-down{color:var(--dashboard-kpi-down)}.jd-kpi-sub .jd-watch{color:var(--dashboard-kpi-watch)}.jd-section{margin-bottom:28px}.jd-two-col{grid-template-columns:1fr 1fr;gap:20px;display:grid}.jd-two-col.jd-two-col-fixed{grid-template-columns:1fr 1fr}.jd-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;overflow:hidden}.jd-card-header{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;align-items:center;padding:16px 20px 12px;display:flex}.jd-card-header h3{font-size:14px;font-weight:var(--fw-bold);color:var(--color-heading);margin:0}.jd-card-body{padding:12px 20px 16px}.jd-card-empty{text-align:center;color:var(--color-text-muted);padding:28px 20px;font-size:13px}.jd-card-empty p{margin:0 0 12px}.jd-card-empty p:last-child{margin:0}.jd-count{font-size:11px;font-weight:var(--fw-bold);color:var(--color-text-inverse);border-radius:10px;margin-left:6px;padding:1px 7px}.jd-count.is-accent{background:var(--dashboard-mark);color:var(--color-primary-fg)}.jd-count.is-danger{background:var(--status-danger-solid)}.jd-count.is-violet{background:var(--color-accent);color:var(--color-accent-fg)}.jd-count.is-info{background:var(--status-info-solid)}.jd-muted{color:var(--color-text-muted)}.jd-strong{font-weight:var(--fw-semibold)}.jd-news-content{max-height:400px;padding:4px 16px;font-size:13px;line-height:1.6;overflow-y:auto}.jd-news-loading{text-align:center;color:var(--color-text-muted);padding:20px 0}.jd-news-footer{border-top:1px solid var(--color-border-subtle);color:var(--color-text-subtle);padding:8px 16px;font-size:10px}.jd-task-list,.jd-deadline-list,.jd-timeline{margin:0;padding:0;list-style:none}.jd-task-item{border-bottom:1px solid var(--color-border-subtle);align-items:flex-start;gap:10px;padding:10px 20px;display:flex}.jd-task-item:last-child,.jd-deadline-item:last-child{border-bottom:0}.jd-task-dot{background:var(--dashboard-mark);border-radius:50%;flex-shrink:0;width:9px;height:9px;margin-top:4px}.jd-task-dot-urgent{background:var(--status-danger-solid)}.jd-task-dot-high{background:var(--status-warning-solid)}.jd-task-dot-low{background:var(--dashboard-mark-muted)}.jd-task-body{flex:1;min-width:0}.jd-task-title{font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text);margin-bottom:2px;line-height:1.3}.jd-task-meta{color:var(--color-text-muted);flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.jd-task-meta a,.jd-deadline-ref a{font-weight:var(--fw-medium);color:var(--color-link);text-decoration:none}.jd-task-date{white-space:nowrap;color:var(--color-text-subtle);margin-top:3px;font-size:12px}.jd-task-date-danger{font-weight:var(--fw-semibold);color:var(--status-danger-fg)}.jd-task-date .jd-deadline-badge{margin-left:4px}.jd-deadline-item{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;display:flex}.jd-deadline-left{flex:1;min-width:0}.jd-deadline-title{font-size:13px;font-weight:var(--fw-semibold);color:var(--color-text);line-height:1.3}.jd-deadline-ref{color:var(--color-text-muted);font-size:11px}.jd-deadline-right{text-align:right}.jd-deadline-date{color:var(--color-text-muted);margin-bottom:2px;font-size:12px}.jd-deadline-badge{font-size:11px;font-weight:var(--fw-bold);white-space:nowrap;border-radius:6px;align-items:center;padding:3px 8px;display:inline-flex}.jd-badge-red{background:var(--status-danger-bg);color:var(--status-danger-fg)}.jd-badge-orange{background:var(--status-warning-bg);color:var(--status-warning-fg)}.jd-badge-blue{background:var(--status-info-bg);color:var(--status-info-fg)}.jd-badge-gray{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}.jd-badge-green{background:var(--status-success-bg);color:var(--status-success-fg)}.jd-timeline{position:relative}.jd-timeline:before{content:"";background:var(--color-border);width:1px;position:absolute;top:14px;bottom:14px;left:29px}.jd-timeline-item{align-items:flex-start;gap:12px;padding:8px 20px;display:flex;position:relative}.jd-timeline-dot{z-index:1;border:2px solid var(--color-surface);background:var(--dashboard-mark);border-radius:50%;flex-shrink:0;width:10px;height:10px;margin-top:4px}.jd-timeline-body{flex:1;min-width:0}.jd-timeline-text{color:var(--color-text);margin:0;font-size:13px;line-height:1.4}.jd-timeline-text strong{font-weight:var(--fw-semibold);color:var(--color-heading)}.jd-timeline-time{color:var(--color-text-subtle);font-size:11px}.jd-table{border-collapse:collapse;width:100%;font-size:13px}.jd-table th{border-bottom:1px solid var(--color-border);background:var(--color-surface-alt);text-align:left;font-size:11px;font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);padding:10px 16px}.jd-table td{border-bottom:1px solid var(--color-border-subtle);color:var(--color-text);padding:10px 16px}.jd-table tr:last-child td{border-bottom:0}.jd-table .jd-right{text-align:right}.jd-table a{font-weight:var(--fw-semibold);color:var(--color-link);text-decoration:none}.jd-table .jd-hours{font-weight:var(--fw-bold);color:var(--status-warning-fg)}.jd-table .jd-matter-name{color:var(--color-text-muted);font-size:11px;display:block}.jd-margin{font-weight:var(--fw-bold)}.jd-margin.is-positive{color:var(--status-success-fg)}.jd-margin.is-negative{color:var(--status-danger-fg)}.jd-btn-relance{border:1px solid var(--status-danger-border);background:var(--status-danger-bg);font-size:11px;font-weight:var(--fw-semibold);color:var(--status-danger-fg);border-radius:5px;align-items:center;gap:4px;padding:3px 8px;text-decoration:none;display:inline-flex}.jd-table a.jd-btn-relance{color:var(--status-danger-fg)}.jd-card-body.jd-big-number{text-align:center;padding:24px}.jd-big-value{font-size:36px;font-weight:800}.jd-big-value.is-info{color:var(--status-info-fg)}.jd-big-value.is-accent{color:var(--color-primary)}.jd-big-label{color:var(--color-text-muted);margin-top:4px;font-size:12px}.jd-big-number .jd-big-label{font-size:13px}.jd-big-number .jd-btn{margin-top:16px}.jd-card-body.jd-month-hours{text-align:center;justify-content:center;align-items:center;min-height:100px;display:flex}.jd-unbilled-value{font-size:20px;font-weight:var(--fw-bold);color:var(--status-warning-fg);margin-top:12px}.jd-chart-wrap{border-bottom:1px solid var(--color-border);align-items:flex-end;gap:6px;height:140px;padding:8px 4px 0;display:flex}.jd-chart-bar-wrap{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;height:100%;display:flex}.jd-chart-bar{background:var(--dashboard-mark);border-radius:6px 6px 0 0;width:100%;max-width:48px;min-height:3px}.jd-chart-bar-value{font-size:10px;font-weight:var(--fw-semibold);white-space:nowrap;text-align:center;color:var(--color-link)}.jd-chart-bar-label{font-size:10px;font-weight:var(--fw-medium);text-transform:uppercase;letter-spacing:.5px;text-align:center;color:var(--color-text-subtle);margin-top:4px}.jd-storage-label{color:var(--color-text-muted);font-size:12px}.jd-storage{padding:12px 16px}.jd-storage-track{background:var(--dashboard-track);border-radius:4px;height:8px;overflow:hidden}.jd-storage-bar{border-radius:4px;height:100%}.jd-storage-bar.is-success{background:var(--status-success-solid)}.jd-storage-bar.is-warning{background:var(--status-warning-solid)}.jd-storage-bar.is-danger{background:var(--status-danger-solid)}.jd-storage-alert{font-size:11px;font-weight:var(--fw-semibold);margin-top:6px}.jd-storage-alert.is-warning{color:var(--status-warning-fg)}.jd-storage-alert.is-danger{color:var(--status-danger-fg)}.jd-card-body.jd-shortcuts{flex-wrap:wrap;gap:10px;display:flex}.jd-shortcuts .jd-btn{flex:1;justify-content:center;min-width:140px}@media (width<=1024px){.jd-kpi-row{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.jd-kpi-row,.jd-two-col{grid-template-columns:1fr}.jd-header{flex-direction:column;align-items:flex-start}.jd-kpi-value{font-size:22px}}@media (width<=639px){.jd-two-col.jd-two-col-fixed{grid-template-columns:1fr}.jd-table{font-size:12px}.jd-table th,.jd-table td{padding:10px 13px}.jd-table .jd-matter-name{white-space:normal}.jd-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.jd-header-left .jd-subtitle{font-size:12px}}.card.reporting-period{margin-bottom:var(--space-4);padding:var(--space-3)}.card.reporting-period.is-inline{padding:var(--space-3) var(--space-4)}.reporting-period-form{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.reporting-period-form .form-group,.reporting-period-form .field{margin:0}.reporting-period-form .form-label{font-size:var(--fs-xs)}.reporting-period-form .form-input,.card.reporting-period .reporting-period-form .field input.reporting-date[type=date]{width:160px}.reporting-field-label{font-size:11px;font-weight:var(--fw-semibold)}.reporting-period-row{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.reporting-period-label{font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text-muted)}.reporting-period-arrow{color:var(--color-text-subtle)}.reporting-period-row .reporting-period-input{max-width:160px;font-size:var(--fs-xs);padding:4px 8px}.reporting-kpis{gap:var(--space-4);margin-bottom:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:grid}.reporting-kpis.is-four{grid-template-columns:repeat(4,1fr)}.card.reporting-kpi{padding:var(--space-4);text-align:center}.reporting-kpi-value{font-size:24px;font-weight:var(--fw-bold);color:var(--color-heading)}.reporting-kpi-value.is-large{font-size:var(--fs-2xl)}.reporting-kpi-value.is-success{color:var(--status-success-fg)}.reporting-kpi-value.is-warning{color:var(--status-warning-fg)}.reporting-kpi-value.is-danger{color:var(--status-danger-fg)}.card.reporting-chart{margin-bottom:var(--space-4);padding:var(--space-4)}.reporting-chart h3{font-size:14px;font-weight:var(--fw-bold);margin:0 0 16px}.reporting-chart-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.reporting-chart-head h3{margin:0}.reporting-chart-total{font-size:18px;font-weight:var(--fw-bold);color:var(--color-heading)}.reporting-bar-row{color:inherit;border-radius:6px;align-items:center;gap:12px;margin-bottom:10px;padding:2px 0;text-decoration:none;display:flex}a.reporting-bar-row:hover{background:var(--color-surface-hover)}.reporting-bar-label{width:120px;font-size:13px;font-weight:var(--fw-semibold);color:var(--color-heading);text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;overflow:hidden}.reporting-bar-label.is-wide{width:180px;color:inherit;font-size:12px}.reporting-bar-label.is-split{width:130px;color:inherit}.reporting-bar-track{background:var(--color-surface-alt);border-radius:4px;flex:1;height:24px;position:relative;overflow:hidden}.reporting-bar-track.is-split{border-radius:6px;height:28px}.reporting-bar-fill{background:var(--color-primary);height:100%;transition:width var(--dur-slow);border-radius:4px}.reporting-bar-fill.is-success{background:var(--status-success-solid)}.reporting-bar-fill.is-split{opacity:.85;border-radius:6px}.reporting-bar-value{font-size:11px;font-weight:var(--fw-semibold);color:var(--color-text);position:absolute;top:3px;right:8px}.reporting-bar-value.is-start{font-size:12px;font-weight:var(--fw-bold);top:5px;left:12px;right:auto}.reporting-bar-value.is-inverse{color:var(--color-text-inverse)}.reporting-bar-hours{width:60px;color:var(--color-text-muted);text-align:right;flex-shrink:0;font-size:11px}.reporting-split-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.reporting-chart .is-tone-1{background:var(--color-primary)}.reporting-chart .is-tone-2{background:var(--color-heading)}.reporting-chart .is-tone-3{background:var(--status-info-solid)}.reporting-chart .is-tone-4{background:var(--status-success-solid)}.reporting-chart .is-tone-5{background:var(--status-warning-solid)}.reporting-chart .is-tone-6{background:var(--status-danger-solid)}.reporting-chart .is-tone-7{background:var(--color-accent)}.reporting-chart .is-tone-8{background:var(--dashboard-mark)}.reporting-table-card .table-filter-wrap{padding:var(--space-3) var(--space-3) 0}.reporting-name-link{font-weight:var(--fw-semibold);color:var(--color-heading);text-decoration:none}.reporting-client-link{font-weight:var(--fw-medium);color:var(--color-heading);text-decoration:none}.reporting-reference{color:var(--color-text-muted);font-size:12px}.reporting-amount-strong{font-weight:var(--fw-semibold)}.reporting-amount-bold{font-weight:var(--fw-bold)}.reporting-amount-success{color:var(--status-success-fg)}.reporting-amount-warning{color:var(--status-warning-fg)}.reporting-amount-danger{color:var(--status-danger-fg)}.reporting-amount-muted{color:var(--color-text-subtle)}.reporting-empty-cell{padding:var(--space-8)}.reporting-recovery{justify-content:flex-end;align-items:center;gap:6px;display:flex}.reporting-recovery-track{background:var(--color-border);border-radius:3px;width:60px;height:6px;overflow:hidden}.reporting-recovery-fill{border-radius:3px;height:100%}.reporting-recovery-fill.is-success{background:var(--status-success-solid)}.reporting-recovery-fill.is-warning{background:var(--status-warning-solid)}.reporting-recovery-fill.is-danger{background:var(--status-danger-solid)}.reporting-recovery-rate{font-size:var(--fs-xs);font-weight:var(--fw-medium)}.reporting-recovery-rate.is-success{color:var(--status-success-fg)}.reporting-recovery-rate.is-warning{color:var(--status-warning-fg)}.reporting-recovery-rate.is-danger{color:var(--status-danger-fg)}.reporting-split-table .reporting-total-row td{font-weight:var(--fw-bold);background:var(--color-surface-alt)}.card.reporting-empty{padding:var(--space-6);color:var(--color-text-muted);text-align:center}.system-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.card.system-card{padding:var(--space-4)}.system-card-row{align-items:center;gap:var(--space-3);display:flex}.system-card-icon{border-radius:var(--radius-md);justify-content:center;align-items:center;width:40px;height:40px;display:flex}.system-card-icon.is-ok{color:var(--status-success-fg);background:var(--status-success-bg)}.system-card-icon.is-warn{color:var(--status-warning-fg);background:var(--status-warning-bg)}.system-card-icon.is-error{color:var(--status-danger-fg);background:var(--status-danger-bg)}.system-card-name{font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.system-card-detail{font-size:var(--fs-xs);color:var(--color-text-muted)}@media (width<=767px){.reporting-period-form{flex-direction:column;align-items:stretch;gap:8px}.reporting-table-card>table.table,.card>.table-wrap>#clients-report-table,.card>.reporting-split-table{min-width:600px}}@media (width<=639px){.reporting-kpis,.system-grid{grid-template-columns:1fr;gap:8px}.reporting-kpis.is-four{grid-template-columns:repeat(2,1fr)}.reporting-period-row,.reporting-bar-row,.reporting-chart-head,.system-card-row{flex-wrap:wrap}.reporting-period-row .reporting-period-input{width:100%;max-width:100%}.reporting-table-card>table.table,.card>.table-wrap>#clients-report-table,.card>.reporting-split-table{display:block;overflow-x:auto}#reporting-attorneys-table th,#reporting-attorneys-table td,#reporting-matters-table th,#reporting-matters-table td,#clients-report-table th,#clients-report-table td,#reporting-split-table th,#reporting-split-table td{white-space:nowrap;padding:6px 8px}#reporting-attorneys-table thead th,#reporting-matters-table thead th,#clients-report-table thead th,#reporting-split-table thead th{letter-spacing:.66px;font-size:11px}#reporting-attorneys-table td,#reporting-matters-table td,#clients-report-table td,#reporting-split-table td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}}.card.integrations-card{max-width:720px;margin-bottom:var(--space-6)}.card.integrations-card.is-last{margin-bottom:0}.card.integrations-card.is-doc{margin-top:var(--space-6)}.card.integrations-secret{border:2px solid var(--status-warning-border);background:var(--status-warning-bg)}.integrations-secret-body{padding:var(--space-4)}.integrations-secret-body h3{margin-bottom:var(--space-2);color:var(--status-warning-fg)}.integrations-secret-warning{margin-bottom:var(--space-3);color:var(--status-warning-fg)}.integrations-secret-row{align-items:center;gap:var(--space-2);display:flex}.integrations-secret-value{padding:var(--space-3);font-size:var(--fs-sm);word-break:break-all;background:var(--color-surface);border:1px solid var(--status-warning-border);border-radius:var(--radius-sm);flex:1}.integrations-secret-hint{margin-top:var(--space-2)}.integrations-form{padding:var(--space-4)}.integrations-form-grid{gap:var(--space-3);grid-template-columns:2fr 1fr;display:grid}.integrations-form .btn.integrations-submit{margin-top:var(--space-3)}.table.integrations-table{font-size:var(--fs-sm)}.integrations-table tr.is-revoked{opacity:.5}.integrations-name{font-weight:var(--fw-medium)}.integrations-inline{display:inline}.btn.integrations-danger{color:var(--status-danger-fg)}.integrations-doc{padding:var(--space-4);font-size:var(--fs-sm)}.integrations-doc-base{margin-bottom:var(--space-3)}.table.integrations-doc-table{font-size:var(--fs-xs)}.integrations-doc-table .integrations-doc-gap td{height:4px;padding:0}@media (width<=639px){.integrations-form-grid{grid-template-columns:1fr;gap:8px}}.field.integrations-events-field{margin-top:var(--space-3)}.integrations-events{gap:var(--space-1);grid-template-columns:repeat(3,1fr);display:grid}.integrations-event{align-items:center;gap:var(--space-2);padding:var(--space-1) 0;font-size:var(--fs-sm);cursor:pointer;display:flex}.integrations-event input{accent-color:var(--color-primary)}.form-actions.integrations-actions{margin-top:var(--space-3)}.integrations-url{max-width:250px;font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.integrations-nowrap{white-space:nowrap}.card.integrations-empty{padding:var(--space-8);text-align:center}.integrations-mono{font-family:var(--font-mono)}@media (width<=639px){.integrations-events{grid-template-columns:repeat(2,1fr);gap:8px}.integrations-nowrap .integrations-inline{display:block}}.onboarding{max-width:1040px;margin-inline:auto}.card.onboarding-done{margin-bottom:var(--space-6);padding:var(--space-6);text-align:center;background:var(--status-success-bg)}.onboarding-done svg{margin:0 auto var(--space-3);color:var(--status-success-fg);display:block}.onboarding-done h2{margin-bottom:var(--space-2);color:var(--status-success-fg)}.onboarding-done .btn{margin-top:var(--space-4)}.card.onboarding-checklist{margin-top:0;padding:0;overflow:hidden}.onboarding-progress{padding:var(--space-6);border-bottom:1px solid var(--color-border)}.onboarding-progress-head{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.onboarding-progress-label{font-size:var(--fs-base);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0}.onboarding-progress-hint{margin:var(--space-1) 0 0;font-size:var(--fs-sm);color:var(--color-text-muted)}.onboarding-progress-count{font-size:var(--fs-sm);font-weight:var(--fw-medium);color:var(--color-text-muted);font-variant-numeric:tabular-nums;flex-shrink:0}.onboarding-progress-track{background:var(--color-surface-alt);border-radius:var(--radius-full);width:100%;height:6px;overflow:hidden}.onboarding-progress-fill{background:var(--color-primary);border-radius:var(--radius-full);height:100%}.onboarding-progress-fill.is-done{background:var(--status-success-solid)}.onboarding-steps{margin:0;padding:0;list-style:none}.onboarding-step{padding:var(--space-5) var(--space-6)}.onboarding-step+.onboarding-step{border-top:1px solid var(--color-border-subtle)}.onboarding-step.is-next{background:var(--color-surface-alt)}.onboarding-step-row{align-items:center;gap:var(--space-4);display:flex}.onboarding-step-icon{width:40px;height:40px;color:var(--color-text-muted);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);flex-shrink:0;justify-content:center;align-items:center;display:flex}.onboarding-step.is-next .onboarding-step-icon{color:var(--color-primary)}.onboarding-step.is-done .onboarding-step-icon{color:var(--status-success-fg);background:var(--status-success-bg);border-color:var(--status-success-border)}.onboarding-step-body{flex:1;min-width:0}.onboarding-step-title{align-items:center;column-gap:var(--space-2);row-gap:var(--space-1);margin-bottom:var(--space-1);flex-wrap:wrap;display:flex}.onboarding-step-label{font-size:var(--fs-sm);font-weight:var(--fw-semibold);line-height:var(--lh-snug);color:var(--color-heading);margin:0}.onboarding-step-number{font-size:var(--fs-xs);color:var(--color-text-subtle)}.onboarding-step-status{font-size:var(--fs-xs);color:var(--status-success-fg)}.onboarding-step-desc{font-size:var(--fs-sm);color:var(--color-text-muted);margin:0;line-height:1.5}.onboarding-step-actions{flex-shrink:0}.onboarding-step-action svg{margin-left:var(--space-1)}.onboarding-footer{margin:var(--space-4) 0 0;font-size:var(--fs-xs);color:var(--color-text-muted);text-align:center;line-height:1.5}@media (width<=639px){.onboarding-progress{padding:var(--space-4)}.onboarding-progress-head{align-items:flex-start;gap:var(--space-2);flex-direction:column}.onboarding-step{padding:var(--space-4)}.onboarding-step-row{align-items:flex-start;gap:var(--space-3);flex-wrap:wrap}.onboarding-step-body{flex-basis:calc(100% - 52px)}.onboarding-step-actions{margin-left:52px}.onboarding-step-title .badge{white-space:normal;max-width:100%}}.portal-tabs{gap:var(--space-2);margin-bottom:var(--space-5);border-bottom:2px solid var(--color-border);padding-bottom:0;display:flex}.btn.portal-tab{border-radius:0;position:relative}.btn.portal-tab.is-active{border-bottom:3px solid var(--color-primary);color:var(--color-primary);font-weight:var(--fw-semibold)}.portal-tab-count{background:var(--status-danger-solid);width:20px;height:20px;color:var(--color-text-inverse);border-radius:50%;justify-content:center;align-items:center;margin-left:4px;font-size:11px;display:inline-flex}.portal-tab-count.is-inverse{background:var(--color-surface);color:var(--color-primary);font-weight:700}.card.portal-collab{margin-bottom:var(--space-6);padding:var(--space-5)}.portal-collab-text{color:var(--color-text-muted)}.portal-collab-actions{margin-top:var(--space-3)}.card.portal-invite-card{max-width:640px;margin-bottom:var(--space-6)}.portal-invite-form{padding:var(--space-4)}.portal-invite-row{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.field.portal-invite-client{flex:1;min-width:250px;margin-bottom:0}.field.portal-invite-email{min-width:200px;margin-bottom:0}.portal-invite-hint{margin-top:var(--space-2)}.card.portal-card{margin-bottom:var(--space-6)}.table.portal-table{font-size:var(--fs-sm)}.portal-name{font-weight:var(--fw-medium)}.portal-mono,.table tbody td.portal-mono{font-family:var(--font-mono);font-size:var(--fs-xs)}.portal-nowrap{white-space:nowrap}.portal-inline{display:inline}.btn.portal-primary{color:var(--color-primary)}.btn.portal-danger{color:var(--status-danger-fg)}.portal-icon{vertical-align:middle;margin-right:2px}.portal-empty{padding:var(--space-4)}.portal-email-form{align-items:center;gap:6px;display:flex}.field .input.portal-email-input,.input.portal-email-input{max-width:220px;height:28px;padding:4px 8px;font-size:12px}.btn.portal-email-save{height:28px;padding:2px 8px}.portal-email-form.is-compact{gap:4px}.input.portal-email-input.is-compact{max-width:200px;height:26px;padding:3px 8px}.btn.portal-email-save.is-compact{height:26px;padding:2px 6px}.btn.portal-success{color:var(--status-success-fg)}.portal-payment-amount{font-weight:var(--fw-semibold)}.portal-payments-empty{padding:var(--space-6)}.portal-shared-file{color:var(--color-text-subtle);font-size:11px}.portal-shared-small,.table.legacy-table-mobile td.portal-shared-small{font-size:12px}.portal-shared-comment{color:var(--color-text-subtle);font-size:11px;font-style:italic}.portal-shared-none{color:var(--color-text-placeholder)}.portal-shared-empty{color:var(--color-text-placeholder);text-align:center;padding:24px}.badge.portal-shared-badge{color:var(--color-text-inverse)}.badge.portal-shared-badge.is-shared{background:var(--status-warning-solid)}.badge.portal-shared-badge.is-viewed{background:var(--status-info-solid)}.badge.portal-shared-badge.is-modified{background:var(--color-accent)}.badge.portal-shared-badge.is-validated{background:var(--status-success-solid)}.badge.portal-shared-badge.is-rejected{background:var(--status-danger-solid)}.modal.portal-share-modal{width:100%;max-width:500px;padding:28px}.portal-share-modal .modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.portal-share-modal .modal-header h3{margin:0;font-size:18px;font-weight:700}.portal-share-field{margin-bottom:12px}.portal-share-field.is-last{margin-bottom:16px}.portal-share-label{color:var(--color-text-muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.textarea.portal-share-textarea{resize:vertical}.btn.portal-share-submit{width:100%}@media (width<=639px){.portal-tabs{white-space:nowrap;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.portal-invite-row{align-items:stretch}.card.portal-invite-card{max-width:100%}.field input.input.portal-invite-input[type=email]:not([type=checkbox]){padding:10px 14px;font-size:16px}.portal-email-form,.portal-email-form.is-compact{flex-wrap:wrap;gap:8px}.input.portal-email-input,.input.portal-email-input.is-compact{width:100%;max-width:100%;font-size:16px}.portal-inline{margin-bottom:4px;display:block}.card.portal-card{overflow-x:auto}}.portal-body{background:var(--color-bg);min-height:100vh;color:var(--color-text);font-family:var(--font-sans);flex-direction:column;margin:0;font-size:14px;line-height:1.6;display:flex}.portal-topbar{z-index:100;background:var(--color-sidebar-bg);height:64px;color:var(--color-sidebar-fg);border-bottom:1px solid var(--color-sidebar-border);justify-content:space-between;align-items:center;padding:0 32px;display:flex;position:sticky;top:0}.portal-topbar-brand{color:var(--color-sidebar-fg);align-items:center;gap:14px;text-decoration:none;display:flex}.portal-topbar-mark{flex-shrink:0}.portal-topbar-logo{background:var(--portal-logo-bg);border-radius:8px;flex-shrink:0;height:44px;padding:4px}.portal-topbar-mark-bg{fill:var(--color-sidebar-active)}.portal-topbar-mark-letter{fill:var(--color-accent);font-family:var(--font-serif);font-size:18px;font-weight:600}.portal-topbar-brand-text{flex-direction:column;display:flex}.portal-topbar-brand-name{font-family:var(--font-serif);letter-spacing:.01em;font-size:17px;font-weight:600;line-height:1.2}.portal-topbar-brand-label{color:var(--color-accent);letter-spacing:1.5px;text-transform:uppercase;margin-top:1px;font-size:10px;font-weight:500}.portal-nav{align-items:center;gap:2px;display:flex}.portal-nav a,.portal-nav .portal-nav-logout{color:var(--color-sidebar-fg-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.6;text-decoration:none;position:relative}.portal-nav a:hover,.portal-nav .portal-nav-logout:hover{background:var(--color-sidebar-hover);color:var(--color-sidebar-fg)}.portal-nav a.is-active{background:var(--color-sidebar-active);color:var(--color-sidebar-fg)}.portal-nav-icon{vertical-align:middle;opacity:.7;margin-right:4px}.portal-nav-divider{background:var(--color-sidebar-border);width:1px;height:20px;margin:0 6px}.portal-nav-form{margin:0;display:inline}.portal-main{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:36px 32px 48px}.portal-footer{background:var(--color-surface);border-top:1px solid var(--color-border);color:var(--color-text-muted);text-align:center;margin-top:auto;padding:24px 32px;font-size:12px}.portal-footer p{margin:0}.portal-footer a{color:var(--color-accent);font-weight:500;text-decoration:none}.portal-footer-contact{justify-content:center;align-items:center;gap:16px;margin-top:6px;display:flex}.portal-footer-contact a{align-items:center;gap:4px;display:inline-flex}.portal-body .card{border-radius:14px;padding:0;overflow:hidden}.portal-body .card+.card{margin-top:0}.portal-body .card-header{border-bottom:1px solid var(--color-border-subtle);align-items:center;margin:0;padding:18px 22px}.portal-body .card-header h3{border-left:0;padding-left:0;font-size:15px;font-weight:600}.portal-body .page-header{margin-bottom:28px;display:block}.portal-body .page-header h1{font-family:var(--font-serif);letter-spacing:-.01em;color:var(--color-heading);margin:0;font-size:26px;font-weight:600;line-height:1.6}.portal-body .page-subtitle{color:var(--color-text-muted);margin-top:6px;font-size:13px}.portal-body .eyebrow{color:var(--color-accent);letter-spacing:1.5px;text-transform:uppercase;margin:0 0 6px;font-size:11px;font-weight:600;display:block}.portal-body .eyebrow a{color:inherit;text-decoration:none}.portal-body .page-actions{gap:var(--space-2);display:flex}.portal-body .btn{letter-spacing:normal;height:auto;white-space:inherit;border-radius:10px;gap:6px;padding:9px 18px;font-size:13px}.portal-body .btn-sm{height:32px;padding:5px 12px;font-size:12px}.portal-body .btn,.portal-body .btn-sm,.portal-body .btn-ghost{min-width:0;min-height:0}.portal-body a.btn-ghost.btn-sm{min-height:0;padding:5px 12px}.portal-body .btn[aria-disabled=true]{pointer-events:none}.portal-body svg{max-width:none}.portal-body .badge{text-transform:none;white-space:normal;border-radius:99px;padding:3px 10px;font-size:11px}.portal-body .table{min-width:0}.portal-body .table th,.portal-body .table thead th{letter-spacing:.5px;white-space:normal;padding:12px 18px;position:static}.portal-body .table td,.portal-body .table tbody td{padding:12px 18px;font-size:13px}.portal-body .form-banner{border-radius:10px;align-items:center;gap:10px;margin-bottom:20px;padding:14px 18px;font-size:13px;font-weight:500;display:flex}.portal-body .field{margin-bottom:18px}.portal-body .field label{margin-bottom:6px;font-size:12px;font-weight:600;display:block}.portal-body .input,.portal-body .textarea{border-radius:10px;width:100%;height:auto;min-height:0;padding:10px 14px;font-size:14px}.portal-body .input-sm{height:34px;padding:6px 12px;font-size:13px}.portal-body .dashboard-content{gap:var(--space-6);grid-template-columns:1fr 1fr;display:grid}.portal-body .table-filter-wrap{align-items:center;gap:var(--space-3);border-bottom:1px solid var(--color-border-subtle);flex-direction:row;padding:14px 18px;display:flex}.portal-body .input-wrap.has-addon-left .input{padding-left:36px}.portal-body .upcoming-deadlines{margin:0;padding:0;list-style:none}.portal-body .upcoming-deadline-item{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.portal-body .upcoming-deadline-item:last-child{border-bottom:none}.portal-body .upcoming-deadline-item.is-overdue{background:var(--status-danger-bg)}.portal-body .upcoming-deadline-title{font-size:13px;font-weight:500}.portal-body .upcoming-deadline-date{color:var(--color-text-muted);font-size:11px}.portal-body .upcoming-deadline-date .is-overdue{color:var(--status-danger-fg);font-weight:600}.portal-body .upcoming-deadline-date .is-soon{color:var(--status-warning-fg);font-weight:600}.portal-deadline-badge{margin-left:4px;font-size:.65em}.portal-flash-ok{background:var(--status-success-bg);color:var(--status-success-fg);border-radius:8px;margin-bottom:16px;padding:12px 16px;font-size:13px;font-weight:500}.portal-flash-icon{vertical-align:-3px;margin-right:6px}.portal-body .page-header.portal-dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.portal-body .page-header h1.portal-greeting{font-size:24px}.portal-dashboard-actions{flex-wrap:wrap;gap:8px;display:flex}.portal-cta{background:var(--color-primary);color:var(--color-text-inverse);cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:10px 20px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.6;text-decoration:none;display:inline-flex}.portal-cta.is-secondary{border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-primary)}.portal-kpis{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px;display:grid}.portal-kpis.is-cols-1{grid-template-columns:1fr}.portal-kpis.is-cols-2{grid-template-columns:repeat(2,1fr)}.portal-kpis.is-cols-3{grid-template-columns:repeat(3,1fr)}.portal-body .card.portal-kpi{text-align:center;padding:20px 22px}.portal-kpi-value{color:var(--color-primary);font-size:28px;font-weight:700;line-height:1}.portal-kpi-value.is-danger{color:var(--status-danger-fg)}.portal-kpi-value.is-success{color:var(--status-success-fg)}.portal-kpi-value.is-accent{color:var(--color-accent)}.portal-kpi-label{color:var(--color-text-muted);margin-top:6px;font-size:12px;font-weight:500}.portal-contact-strip{border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text-muted);border-radius:10px;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:16px;padding:12px 20px;font-size:13px;display:flex}.portal-contact-strip-title{color:var(--color-primary);font-weight:600}.portal-contact-strip-link{color:var(--color-primary);align-items:center;gap:4px;font-weight:500;text-decoration:none;display:inline-flex}.portal-body .card.portal-section-card{margin-bottom:24px}.portal-card-count{color:var(--color-text-muted);font-size:12px}.portal-empty-state{text-align:center;padding:40px}.portal-empty-state p{color:var(--color-text-muted);margin:0;font-size:14px}.portal-empty-icon{color:var(--color-border-strong);margin:0 auto 12px;display:block}.portal-body .table td.portal-ref{color:var(--color-text-muted);font-family:var(--font-mono);font-size:11px}.portal-body .table td .portal-strong-link{color:var(--color-primary);font-weight:600;text-decoration:none}.portal-body .table td.portal-activity{font-size:12px}.portal-activity .is-recent{color:var(--status-success-fg);font-weight:600}.portal-activity .is-week{color:var(--status-warning-fg)}.portal-activity .is-old{color:var(--color-text-subtle)}.portal-body a.btn.portal-icon-btn{padding:4px 8px;position:relative}.portal-body .table td.portal-muted-cell{color:var(--color-text-muted)}.portal-body .table td.portal-amount{font-weight:600}.portal-body .btn.portal-pay-btn{height:28px;padding:4px 14px;font-size:11px}.portal-modal{z-index:1000;background:var(--color-overlay);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.portal-modal[hidden]{display:none}.portal-modal-card{background:var(--color-surface);width:100%;max-width:480px;box-shadow:var(--shadow-lg);border-radius:12px;padding:28px}.portal-modal-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.portal-modal-head h3{color:var(--color-primary);margin:0;font-size:18px;font-weight:700}.portal-modal-close{color:var(--color-text-subtle);cursor:pointer;background:0 0;border:none;font-size:20px}.portal-modal-field{margin-bottom:12px}.portal-modal-field label{color:var(--color-text-muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.portal-modal-input{border:1px solid var(--color-border);background:var(--color-surface);width:100%;color:var(--color-text);border-radius:8px;padding:10px;font-size:13px}.portal-modal-input.is-textarea{resize:vertical}.portal-modal-submit{background:var(--color-primary);width:100%;color:var(--color-text-inverse);cursor:pointer;border:none;border-radius:8px;padding:12px;font-size:14px;font-weight:600}.portal-title-ref{color:var(--color-text-subtle);font-size:.6em;font-weight:400}.portal-btn-icon{vertical-align:middle;margin-right:4px}.portal-team{flex-wrap:wrap;gap:12px;margin-bottom:16px;display:flex}.portal-team-member{border:1px solid var(--color-border);background:var(--color-surface-alt);border-radius:8px;align-items:center;gap:8px;padding:8px 14px;display:flex}.portal-team-avatar{background:var(--color-primary);width:32px;height:32px;color:var(--color-text-inverse);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.portal-team-name{color:var(--color-primary);font-size:13px;font-weight:600}.portal-team-role{color:var(--color-text-muted);font-size:11px}.portal-body .card.portal-stack-card{margin-bottom:var(--space-4)}.portal-description{color:var(--color-text);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.6}.portal-card-empty{margin:0;padding:12px}.portal-next-deadline{border-bottom:1px solid var(--color-border);padding:10px 16px;font-size:13px}.portal-next-deadline.is-overdue{background:var(--status-danger-bg)}.portal-next-deadline.is-overdue strong{color:var(--status-danger-fg)}.portal-next-deadline.is-soon{background:var(--status-warning-bg)}.portal-next-deadline.is-soon strong{color:var(--status-warning-fg)}.portal-next-deadline.is-later{background:var(--status-success-bg)}.portal-next-deadline.is-later strong{color:var(--status-success-fg)}.portal-tasks{margin:0;padding:0;list-style:none}.portal-task{align-items:center;gap:var(--space-3);border-bottom:1px solid var(--color-border-subtle);padding:12px 18px;display:flex}.portal-task.is-done{opacity:.6}.portal-task-icon{text-align:center;width:20px;color:var(--color-text-muted);flex-shrink:0;font-size:16px}.portal-task-icon.is-progress{color:var(--color-primary)}.portal-task-icon.is-done{color:var(--status-success-fg)}.portal-task-body{flex:1;min-width:0}.portal-task-title{font-size:13px;font-weight:500}.portal-task.is-done .portal-task-title{text-decoration:line-through}.portal-task-description{color:var(--color-text-muted);margin-top:2px;font-size:11px}.portal-task-date{color:var(--color-text-muted);flex-shrink:0;font-size:11px}.portal-task-priority{background:var(--color-text-muted);border-radius:50%;flex-shrink:0;width:6px;height:6px}.portal-task-priority.is-urgent{background:var(--status-danger-solid)}.portal-task-priority.is-high{background:var(--status-warning-solid)}.portal-task-priority.is-low{background:var(--color-border-strong)}.portal-body .table.portal-small-table{font-size:13px}.portal-upload-body{padding:var(--space-4)}.portal-upload-title{margin:0 0 var(--space-3);font-size:13px;font-weight:600}.portal-upload-form{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.portal-body .field.portal-upload-field{flex:1;min-width:200px;margin-bottom:0}.portal-upload-hint{margin:var(--space-2) 0 0}.portal-preview{z-index:1000;background:var(--color-overlay);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.portal-preview[hidden]{display:none}.portal-preview-card{background:var(--color-surface);border-radius:12px;flex-direction:column;width:90vw;max-width:900px;height:85vh;display:flex;overflow:hidden}.portal-preview-head{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;padding:12px 16px;font-size:14px;display:flex}.portal-preview-close{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;padding:4px 12px;font-size:24px;line-height:1}.portal-preview-frame{border:none;flex:1;width:100%}.portal-body .card.portal-thread{max-width:720px;margin-bottom:var(--space-6)}.portal-thread-empty{padding:var(--space-8);text-align:center}.portal-thread-empty p{margin:0}.portal-thread-empty-icon{margin:0 auto var(--space-3);color:var(--color-border-strong);display:block}.portal-thread-list{gap:var(--space-3);max-height:500px;padding:var(--space-4);flex-direction:column;display:flex;overflow-y:auto}.portal-thread-message{border-radius:10px;max-width:80%;padding:12px}.portal-thread-message.is-client{border:1px solid var(--color-border);background:var(--color-primary-soft);margin-left:auto}.portal-thread-meta{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.portal-thread-sender{color:var(--color-primary);font-size:11px}.portal-thread-date{color:var(--color-text-muted);font-size:11px}.portal-thread-content{color:var(--color-text);white-space:pre-wrap;font-size:13px;line-height:1.6}.portal-thread-form{border-top:1px solid var(--color-border-subtle);padding:16px}.portal-body .field.portal-thread-field{margin-bottom:var(--space-3)}.portal-body .portal-thread-field .textarea{resize:vertical;min-height:0}.portal-thread-actions{justify-content:flex-end;display:flex}.portal-invoice-kpis{margin-bottom:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.portal-body .card.portal-invoice-kpi{text-align:center;padding:14px}.portal-invoice-kpi-value{color:var(--color-heading);font-size:20px;font-weight:700}.portal-invoice-kpi-label{color:var(--color-text-muted);font-size:11px}.portal-invoice-kpi-value.is-success,.portal-invoice-progress-value.is-success,.portal-invoice-amount p.is-success,.portal-invoice-strong.is-success{color:var(--status-success-fg)}.portal-invoice-kpi-value.is-danger,.portal-invoice-amount p.is-danger{color:var(--status-danger-fg)}.portal-invoice-kpi-value.is-warning,.portal-invoice-progress-value.is-warning{color:var(--status-warning-fg)}.portal-invoice-kpi-value.is-info,.portal-invoice-progress-value.is-info{color:var(--status-info-fg)}.portal-progress{background:var(--color-border);border-radius:2px;height:4px;margin-top:4px;overflow:hidden}.portal-progress.is-large{border-radius:3px;height:6px;margin-top:0}.portal-progress.is-row{flex:1;min-width:40px;height:3px;margin-top:0}.portal-progress-bar{border-radius:inherit;background:var(--status-info-solid);height:100%;transition:width .5s}.portal-progress-bar.is-success{background:var(--status-success-solid)}.portal-progress-bar.is-warning{background:var(--status-warning-solid)}.portal-row-progress{align-items:center;gap:4px;margin-top:3px;display:flex}.portal-row-progress-label{color:var(--color-text-muted);font-size:10px}.portal-body .table td .portal-invoice-link{color:var(--color-primary);font-weight:var(--fw-medium);text-decoration:none}.portal-body .card.portal-invoice-card{max-width:640px;margin-bottom:var(--space-6)}.portal-body .card.portal-invoice-card.is-last{margin-bottom:0}.portal-invoice-body{padding:var(--space-4)}.portal-invoice-facts{gap:var(--space-4);margin-bottom:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.portal-invoice-facts p{margin:0}.portal-invoice-number{font-weight:var(--fw-semibold)}.portal-invoice-amounts{gap:var(--space-4);padding:var(--space-4);border-radius:var(--radius-md);background:var(--color-surface-alt);grid-template-columns:repeat(4,1fr);display:grid}.portal-invoice-amount{text-align:center}.portal-invoice-amount p{font-size:18px;font-weight:var(--fw-semibold);margin:0}.portal-invoice-amount p.is-strong{font-weight:700}.portal-invoice-progress{margin-top:var(--space-3)}.portal-invoice-progress-head{justify-content:space-between;margin-bottom:4px;display:flex}.portal-invoice-progress-label{color:var(--color-text-muted);font-size:12px}.portal-invoice-progress-value{font-size:12px;font-weight:700}.portal-invoice-rib{gap:var(--space-2) var(--space-4);padding:var(--space-4);font-family:var(--font-mono);font-size:var(--fs-sm);grid-template-columns:auto 1fr;display:grid}.portal-invoice-iban{letter-spacing:.05em}.portal-body .table.portal-invoice-table{font-size:13px}.portal-invoice-strong{font-weight:var(--fw-medium)}.portal-invoice-cumul{color:var(--color-text-muted)}.portal-body .card-header.portal-invoice-confirmed-head{justify-content:flex-start;gap:8px;display:flex}.portal-body .portal-invoice-confirmed-head h3{margin:0}.portal-invoice-confirmed-icon{color:var(--status-success-fg)}.portal-invoice-stripe{padding:var(--space-4);text-align:center}.portal-invoice-stripe-icon{background:var(--status-info-bg);width:56px;height:56px;color:var(--status-info-fg);border-radius:50%;justify-content:center;align-items:center;margin-bottom:12px;display:inline-flex}.portal-invoice-stripe h3{margin:0 0 4px;font-size:16px;font-weight:700}.portal-invoice-stripe p{color:var(--color-text-muted);margin:0 0 16px;font-size:13px}.portal-body .btn.portal-invoice-stripe-btn{padding:12px 32px;font-size:15px}.portal-invoice-stripe p.portal-invoice-stripe-soon{margin:8px 0 0}.portal-invoice-form-row{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.portal-field-hint{margin-top:2px}.portal-body .form-actions{border-top:0;flex-direction:row;justify-content:normal;gap:12px;margin-top:0;padding-top:12px}.portal-body .form-actions .btn{width:auto}@media (width<=768px){.portal-topbar{height:56px;padding:0 16px}.portal-topbar-brand-name{font-size:15px}.portal-topbar-brand-label{font-size:9px}.portal-nav{gap:0}.portal-nav a,.portal-nav .portal-nav-logout{padding:6px 10px;font-size:12px}.portal-nav-divider{display:none}.portal-main{padding:20px 16px}.portal-body .dashboard-content{grid-template-columns:1fr}.portal-body .page-header.portal-dashboard-header{flex-direction:column}.portal-body .page-header h1{font-size:22px}}@media (width<=639px){.portal-topbar{flex-wrap:wrap;row-gap:4px;height:auto;min-height:56px;padding:8px 16px}.portal-nav{flex-wrap:wrap}.portal-body .page-header{display:block}.portal-body .page-header.portal-dashboard-header{display:flex}.portal-body .page-header h1{font-size:22px}.portal-body .page-header h1.portal-greeting{font-size:24px}.portal-body .page-header .page-subtitle{font-size:13px}.portal-body .page-header .page-actions{flex-direction:row;width:auto}.portal-body .page-header .page-actions .btn{width:auto}.portal-body .eyebrow{display:block}}.portal-login-body{min-height:100vh;font-family:var(--font-sans);--font-serif:"Playfair Display", Georgia, serif;margin:0;line-height:normal;display:flex}.portal-login-main{display:contents}.portal-login-left .portal-logo-name{filter:none;color:var(--color-sidebar-fg);font-family:var(--font-serif);font-size:28px;font-weight:600;line-height:normal;display:inline-block}.portal-login-left{background:var(--color-sidebar-bg);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:60px;display:flex;position:relative;overflow:hidden}.portal-login-left-content{z-index:1;text-align:center;max-width:400px;position:relative}.portal-logo-large{filter:brightness(0)invert();opacity:.9;height:56px;margin-bottom:32px}.portal-login-left h2{color:var(--color-sidebar-fg);font-family:var(--font-serif);letter-spacing:-.01em;margin:0 0 16px;font-size:28px;font-weight:600}.portal-login-left p{color:var(--color-sidebar-fg-muted);margin:0;font-size:15px;line-height:1.7}.portal-login-features{text-align:left;flex-direction:column;gap:18px;margin-top:48px;display:flex}.portal-login-feature{color:var(--color-sidebar-fg-muted);align-items:flex-start;gap:14px;font-size:13px;line-height:1.5;display:flex}.portal-login-feature-icon{background:var(--color-sidebar-active);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.portal-login-feature-icon svg{width:18px;height:18px;stroke:var(--color-accent)}.portal-login-right{background:var(--color-bg);flex-direction:column;justify-content:center;align-items:center;width:520px;padding:60px;display:flex}.portal-login-card{text-align:center;width:100%;max-width:380px}.portal-card-cabinet{color:var(--color-primary);font-family:var(--font-serif);margin-bottom:4px;font-size:22px;font-weight:600}.portal-card-label{color:var(--color-accent);letter-spacing:2px;text-transform:uppercase;margin-bottom:36px;font-size:11px;font-weight:600}.portal-shield{background:var(--color-accent-soft);border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 28px;display:flex}.portal-shield svg{width:32px;height:32px;stroke:var(--color-accent)}.portal-message{text-align:left;border-radius:10px;margin-bottom:24px;padding:16px 20px;font-size:14px;line-height:1.6}.portal-message.error{border:1px solid var(--status-danger-border);background:var(--status-danger-bg);color:var(--status-danger-fg)}.portal-info{color:var(--color-text-muted);margin:0;font-size:14px;line-height:1.7}.portal-info strong{color:var(--color-text);font-weight:600}.portal-divider{background:var(--color-border);height:1px;margin:32px 0}.portal-contact-info{color:var(--color-text-subtle);margin:0;font-size:13px;line-height:1.8}.portal-footer-text{color:var(--color-text-disabled);margin:48px 0 0;font-size:11px}.portal-footer-text a{color:var(--color-accent);text-decoration:none}@media (width<=960px){.portal-login-left{display:none}.portal-login-right{width:100%;min-height:100vh}}.portal-body .page-title-wrap{flex:1}.portal-body .table.portal-small-table td{overflow-wrap:anywhere}.portal-login-confirm{margin-top:24px}.portal-login-button{background:var(--color-primary);width:100%;color:var(--color-text-inverse);cursor:pointer;border:none;border-radius:10px;padding:12px;font-family:inherit;font-size:14px;font-weight:600}.portal-body .card.portal-shared-card{margin-bottom:16px;padding:20px}.portal-shared-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.portal-shared-main{flex:1}.portal-shared-title-row{align-items:center;gap:8px;margin-bottom:6px;display:flex}.portal-body .portal-shared-title{color:var(--color-primary-active);margin:0;font-size:16px;font-weight:700}.portal-shared-status{background:var(--color-text-placeholder);color:var(--color-text-inverse);border-radius:10px;padding:2px 10px;font-size:10px;font-weight:700;display:inline-block}.portal-shared-status.is-shared{background:var(--status-warning-solid)}.portal-shared-status.is-viewed{background:var(--status-info-solid)}.portal-shared-status.is-modified{background:var(--color-accent)}.portal-shared-status.is-validated{background:var(--status-success-solid)}.portal-shared-status.is-rejected{background:var(--status-danger-solid)}.portal-shared-description{color:var(--color-text-subtle);margin-bottom:8px;font-size:13px}.portal-shared-meta{color:var(--color-text-placeholder);font-size:11px}.portal-shared-actions{flex-wrap:wrap;flex-shrink:0;gap:6px;display:flex}.portal-shared-btn{color:var(--color-text-inverse);cursor:pointer;border:none;border-radius:6px;align-items:center;gap:4px;padding:8px 14px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.portal-shared-btn.is-download{background:var(--color-primary-active)}.portal-shared-btn.is-validate{background:var(--status-success-solid)}.portal-shared-btn.is-send{background:var(--color-accent);white-space:nowrap}.portal-shared-upload{border-top:1px solid var(--color-border);margin-top:16px;padding-top:16px}.portal-shared-sent{color:var(--color-accent-soft-fg);margin-bottom:8px;font-size:12px;font-weight:600}.portal-shared-form{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.portal-shared-field{flex:1;min-width:200px}.portal-shared-label{color:var(--color-text-subtle);margin-bottom:3px;font-size:11px;font-weight:600;display:block}.portal-shared-file-input{width:227px;max-width:100%;font-size:12px}.portal-shared-input{border:1px solid var(--color-border);border-radius:6px;width:100%;padding:6px 10px;font-size:12px}.portal-body .card.portal-shared-empty-card{text-align:center;padding:40px}.portal-shared-empty-icon{color:var(--color-text-placeholder);margin-bottom:16px}.portal-body .portal-shared-empty-title{color:var(--color-text-subtle);margin-bottom:4px}.portal-shared-empty-text{color:var(--color-text-placeholder);font-size:13px}.mail-page .mail-card-body{padding:var(--space-4)}.mail-page .mail-hint{margin-top:4px}.mail-page textarea[hidden]{display:none}.mail-page .mail-danger{color:var(--status-danger-solid)}.mail-page .mail-inline-form{display:inline}.mail-page .mail-nowrap{white-space:nowrap}.mail-page .mail-check{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);cursor:pointer;display:flex}.mail-page .mail-check input{accent-color:var(--color-primary)}.mail-page .card.mail-signature-card{max-width:720px;margin-bottom:var(--space-6)}.mail-page .card.mail-signature-list{max-width:720px}.mail-page .mail-editor-toolbar{border:1px solid var(--color-border-strong);background:var(--color-surface-alt);border-bottom:none;border-radius:6px 6px 0 0;gap:2px;padding:6px 8px;display:flex}.mail-page .mail-editor-button{color:var(--color-text);cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:13px}.mail-page .mail-editor-bold{font-weight:700}.mail-page .mail-editor-italic{font-style:italic}.mail-page .mail-editor-underline{text-decoration:underline}.mail-page .mail-editor-link{color:var(--color-link);font-size:12px}.mail-page .mail-editor-separator{background:var(--color-border-strong);width:1px;margin:0 4px}.mail-page .mail-editor-select{border:1px solid var(--color-border-strong);border-radius:4px;padding:2px 6px;font-size:11px}.mail-page .mail-signature-editor{border:1px solid var(--color-border-strong);background:var(--color-surface);border-radius:0 0 6px 6px;outline:none;min-height:120px;padding:12px;font-family:Arial,sans-serif;font-size:13px;line-height:1.6}.mail-page .mail-signature-item{padding:var(--space-4);border-bottom:1px solid var(--color-border)}.mail-page .mail-signature-head{margin-bottom:var(--space-2);justify-content:space-between;align-items:center;display:flex}.mail-page .mail-signature-name{font-size:var(--fs-sm)}.mail-page .mail-signature-badge{margin-left:var(--space-2);font-size:var(--fs-xs)}.mail-page .mail-signature-preview{padding:var(--space-3);border-radius:var(--radius-sm);background:var(--color-surface-alt);font-size:var(--fs-sm)}.mail-page .card.mail-template-form-card{margin-bottom:var(--space-6)}.mail-page .mail-template-grid{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.mail-page .mail-variable{background:var(--color-surface-alt);border-radius:3px;margin-right:4px;padding:1px 4px;font-size:10px}.mail-page .mail-template-table{font-size:var(--fs-sm)}.mail-page .mail-template-name{font-weight:var(--fw-medium)}.mail-page .mail-template-table td.mail-template-subject{text-overflow:ellipsis;white-space:nowrap;max-width:250px;overflow:hidden}.mail-page .card.mail-empty{padding:var(--space-8);text-align:center}.mail-page .mail-compose-header{justify-content:space-between;align-items:flex-start;display:flex}.mail-page .mail-strong-link{font-weight:700}.mail-page .card.mail-compose-card{max-width:720px}.mail-page .mail-from{padding:var(--space-2);border-radius:var(--radius-sm);background:var(--color-surface-alt);font-size:var(--fs-sm);color:var(--color-text-muted)}.mail-page .mail-copy-row{gap:var(--space-4);display:flex}.mail-page .mail-copy-row>.field{flex:1}.mail-page .mail-attach-section{margin-bottom:var(--space-3)}.mail-page .mail-attach-section[hidden]{display:none}.mail-page .mail-attach-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.mail-page .mail-attach-title{font-size:var(--fs-sm);font-weight:var(--fw-semibold);margin-bottom:8px;display:block}.mail-page .mail-attach-title svg{vertical-align:-2px;margin-right:4px}.mail-page .mail-attach-list{border:1px solid var(--color-border);background:var(--color-surface-alt);border-radius:8px;flex-direction:column;gap:4px;max-height:200px;padding:8px;display:flex;overflow-y:auto}.mail-page .mail-attach-row{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.mail-page .mail-attach-row:hover{background:var(--color-surface-hover)}.mail-page .mail-attach-row input{accent-color:var(--color-primary)}.mail-page .mail-attach-icon{border:2px solid var(--color-text-subtle);border-radius:2px;width:14px;height:14px;display:inline-block}.mail-page .mail-attach-icon-invoice{border-color:var(--status-warning-solid)}.mail-page .mail-attach-label{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.mail-page .mail-attach-meta{color:var(--color-text-subtle);flex-shrink:0;font-size:11px}.mail-page .mail-body-box{border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:hidden}.mail-page .mail-body-toolbar{border-bottom:1px solid var(--color-border);background:var(--color-surface-alt);align-items:center;gap:2px;padding:6px 8px;display:flex}.mail-page .mail-format-button{color:var(--color-text);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:14px}.mail-page .mail-format-button:hover{background:var(--color-surface-hover)}.mail-page .mail-ai-button{color:var(--color-text-subtle);cursor:not-allowed;font-size:12px;font-weight:600}.mail-page .mail-ai-button svg{vertical-align:-2px;margin-right:2px}.mail-page .mail-soon{color:var(--color-text-subtle);font-size:10px}.mail-page .mail-toolbar-spacer{flex:1}.mail-page .mail-preview-button{color:var(--color-text-muted);font-size:11px;font-weight:600}.mail-page .textarea.mail-body-input{resize:vertical;border:none;border-radius:0;padding:16px;font-size:14px;line-height:1.7}.mail-page .mail-preview{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);max-height:400px;margin-top:8px;padding:16px;overflow-y:auto}.mail-page .mail-preview[hidden]{display:none}.mail-page .mail-preview-body{white-space:pre-wrap;margin-bottom:16px;font-size:14px;line-height:1.7}.mail-page .mail-preview-signature{border-top:1px solid var(--color-border);padding-top:12px}.mail-page .mail-form-actions{gap:var(--space-3);display:flex}.mail-page .mail-button-icon{vertical-align:middle;margin-right:4px}.mail-page .page-actions.mail-inbox-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.mail-page .mail-soon-wrap{display:inline-flex;position:relative}.mail-page .mail-soon-badge{white-space:nowrap;color:var(--color-text-subtle);margin-top:2px;font-size:10px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.mail-page .card.mail-filter-card{margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4)}.mail-page .mail-filter-row{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.mail-page .mail-filter-label{font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text-muted)}.mail-page .mail-count-badge{margin-left:4px;font-size:10px}.mail-page .mail-flag-icon{vertical-align:-1px;fill:var(--status-warning-solid);stroke:var(--status-warning-solid);margin-right:2px}.mail-page .mail-flag-filter{color:var(--status-warning-solid)}.mail-page .mail-flag-filter.is-active{color:var(--color-primary-fg)}.mail-page .mail-flag-filter.is-active .mail-flag-icon{fill:var(--color-primary-fg);stroke:var(--color-primary-fg)}.mail-page .mail-search-form{gap:4px;margin-left:auto;display:flex}.mail-page .mail-search-box{position:relative}.mail-page .input.mail-search-input{width:200px;padding-left:30px;font-size:12px}.mail-page .mail-search-icon{color:var(--color-text-subtle);position:absolute;top:50%;left:8px;transform:translateY(-50%)}.mail-page .mail-list .table-wrap{box-shadow:none;border:0;border-radius:0}.mail-page .mail-outbox{margin-bottom:var(--space-4)}.mail-page .mail-strong-cell{font-weight:var(--fw-medium)}.mail-page .table td.mail-xs-cell{font-size:var(--fs-xs)}.mail-page .mail-empty-state{padding:var(--space-8);text-align:center;color:var(--color-text-muted)}.mail-page .mail-empty-icon{margin-bottom:var(--space-3);opacity:.4}.mail-page .mail-empty-text{font-size:var(--fs-sm)}.mail-page .mail-empty-hint{font-size:var(--fs-xs);color:var(--color-text-subtle)}.mail-page .mail-empty-strong{color:var(--color-text-muted);margin-bottom:4px;font-weight:600}.mail-page .mail-inbox-table .mail-col-dot{width:30px}.mail-page .mail-inbox-table .mail-col-from{width:200px}.mail-page .mail-inbox-table .mail-col-matter{width:160px}.mail-page .mail-inbox-table .mail-col-clip{text-align:center;width:50px}.mail-page .mail-inbox-table .mail-col-date{text-align:right;width:110px}.mail-page .mail-row{cursor:pointer;position:relative}.mail-page .mail-subject-link{color:inherit;text-decoration:none}.mail-page .mail-subject-link:after{content:"";position:absolute;inset:0}.mail-page .mail-subject-link:hover{text-decoration:underline}.mail-page .mail-folders{margin-top:var(--space-3)}.mail-page .mail-folders summary{cursor:pointer;font-size:var(--fs-xs);color:var(--color-text-muted)}.mail-page .mail-folders nav{margin-top:var(--space-2)}.mail-page .mail-row.is-unread{font-weight:var(--fw-semibold);background:var(--color-selected-bg)}.mail-page .mail-unread-dot{background:var(--color-link);border-radius:50%;width:8px;height:8px;display:inline-block}.mail-page .mail-sm{font-size:var(--fs-sm)}.mail-page .mail-from-email{font-size:var(--fs-xs);color:var(--color-text-muted);font-weight:400}.mail-page .mail-preview-line{max-width:400px;font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;color:var(--color-text-muted);font-weight:400;overflow:hidden}.mail-page .mail-clip-icon{color:var(--color-text-muted)}.mail-page .mail-inbox-table td.mail-date-cell{font-size:var(--fs-xs);white-space:nowrap;color:var(--color-text-muted);font-weight:400}.mail-page .mail-pagination{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-4);border-top:1px solid var(--color-border);display:flex}.mail-page .mail-page-label{font-size:var(--fs-xs);color:var(--color-text-muted)}.mail-page .mail-show-title{font-size:var(--fs-lg)}.mail-page .page-actions.mail-show-actions{gap:var(--space-2);display:flex}.mail-page .mail-flag-button{color:var(--color-text-muted)}.mail-page .mail-flag-button svg{fill:none}.mail-page .mail-flag-button.is-flagged{color:var(--status-warning-solid)}.mail-page .mail-flag-button.is-flagged svg{fill:var(--status-warning-solid)}.mail-page .mail-show-grid{align-items:start;gap:var(--space-4);grid-template-columns:1fr 300px;display:grid}.mail-page .mail-show-head{padding:var(--space-4);border-bottom:1px solid var(--color-border)}.mail-page .mail-show-head-row{margin-bottom:var(--space-2);justify-content:space-between;align-items:flex-start;display:flex}.mail-page .mail-show-from{font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.mail-page .mail-show-from-email{color:var(--color-text-muted);font-weight:400}.mail-page .mail-show-meta{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:2px}.mail-page .mail-show-date{font-size:var(--fs-xs);white-space:nowrap;color:var(--color-text-muted);text-align:right}.mail-page .btn.mail-forward-link{margin-top:var(--space-2);margin-left:auto;display:flex}.mail-page .mail-attachments{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.mail-page .mail-attachments-title{margin-bottom:var(--space-2);font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--color-text)}.mail-page .mail-attachments-title svg{vertical-align:-2px}.mail-page .mail-attachment{background:var(--color-surface-alt);font-size:var(--fs-xs);border-radius:6px;align-items:center;gap:8px;margin-bottom:4px;padding:6px 10px;display:flex}.mail-page .mail-attachment-icon{color:var(--color-text-muted);flex-shrink:0}.mail-page .mail-attachment-name{font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.mail-page .mail-attachment-size{color:var(--color-text-subtle);flex-shrink:0}.mail-page .btn.mail-attachment-button{min-height:28px;padding:2px 8px;font-size:11px}.mail-page .mail-attachment-form{align-items:center;gap:4px;margin:0;display:flex}.mail-page .select.mail-attachment-select{min-width:120px;max-width:180px;height:28px;padding:2px 6px;font-size:11px}.mail-page .mail-frame-wrap{background:var(--mail-frame-bg);border-radius:8px;padding:4px}.mail-page .mail-body-frame{background:var(--mail-frame-bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;border:none;width:100%;min-height:300px}.mail-page .mail-text-body{font-size:var(--fs-sm);white-space:pre-wrap;color:var(--color-text);line-height:1.7}.mail-page .card.mail-side-card{margin-bottom:var(--space-4)}.mail-page .mail-side-title{font-size:var(--fs-sm)}.mail-page .mail-side-title svg{vertical-align:-3px;margin-right:6px}.mail-page.mail-message-page{min-height:calc(100dvh - var(--topbar-height) - var(--space-8) - var(--space-6));flex-direction:column;display:flex}.mail-message-page .mail-message-card{flex-direction:column;flex:1;min-width:0;padding:0;display:flex}.mail-message-page .mail-show-meta{overflow-wrap:anywhere;margin-bottom:0}.mail-message-page .mail-message-content{min-width:0;padding:var(--space-6);flex:1}.mail-message-page .mail-body-frame{background:var(--color-surface);color-scheme:inherit;display:block}.mail-message-page .mail-image-notice{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--fs-xs);flex-wrap:wrap;display:flex}.mail-message-page .mail-show-from{overflow-wrap:anywhere}.mail-message-page .mail-message-attachments{padding:var(--space-4);border-top:1px solid var(--color-border)}.mail-message-page .mail-message-attachment-name{overflow-wrap:anywhere;flex:1;min-width:0}.mail-page .btn.mail-deposit-info{width:32px;min-height:32px;color:var(--color-text-muted);border-radius:50%;flex-shrink:0;padding:0}.mail-message-page .page-actions.mail-message-actions{gap:var(--space-2);flex-direction:row}.mail-message-page .page-actions.mail-message-actions .btn{width:auto}.mail-page .mail-deposit-form>.select{width:100%}.mail-page .mail-deposit-attachments{min-width:0;margin:var(--space-5) 0 0;border:0;padding:0}.mail-page .mail-deposit-attachments legend{margin-bottom:var(--space-3);font-weight:var(--fw-semibold)}.mail-page .mail-deposit-attachment{align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border);display:flex}.mail-page .mail-deposit-attachment label{align-items:center;gap:var(--space-2);cursor:pointer;flex:1;min-width:0;display:flex}.mail-page .mail-deposit-attachment label span{overflow-wrap:anywhere}.mail-page .mail-deposit-attachment input{flex-shrink:0}.mail-page .mail-deposit-help{font-size:var(--fs-sm);line-height:1.6}.mail-page .mail-deposit-help ol{margin:0 0 var(--space-4);padding-left:var(--space-5)}.mail-page .mail-deposit-help li+li{margin-top:var(--space-2)}.mail-page .mail-deposit-help p{margin:0 0 var(--space-3);color:var(--color-text-muted)}.mail-page .mail-deposit-help-actions{justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-6);display:flex}.mail-page .mail-assigned{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);display:flex}.mail-page .mail-assigned-name{margin:0 0 var(--space-3);font-size:var(--fs-xs);color:var(--color-text-muted)}.mail-page .mail-separator{margin:var(--space-3) 0}.mail-page .mail-side-label{font-size:var(--fs-xs);font-weight:var(--fw-semibold);margin-bottom:4px;display:block}.mail-page .mail-side-select{margin-bottom:var(--space-2);font-size:var(--fs-xs)}.mail-page .btn.mail-full-button{width:100%}.mail-page .matter-dl.mail-info-list{padding:var(--space-4);font-size:var(--fs-xs)}.mail-page .mail-uid{font-size:10px}.mail-page .card.mail-context-card{max-width:720px;margin-bottom:var(--space-4)}.mail-page .mail-context-body{padding:var(--space-3) var(--space-4)}.mail-page .mail-context-card:first-of-type{background:var(--color-surface-alt)}.mail-page .mail-context-head{justify-content:space-between;align-items:center;display:flex}.mail-page .mail-context-subject{margin:var(--space-1) 0 0;font-size:var(--fs-sm);font-weight:var(--fw-medium)}.mail-page .mail-context-preview{max-height:120px;margin-top:var(--space-2);white-space:pre-wrap;overflow:hidden}.mail-page .mail-ai-row{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);display:flex}.mail-page .mail-ai-icon{color:var(--color-accent)}.mail-page .mail-ai-text{flex:1}.mail-page .mail-reply-meta{gap:var(--space-4);margin-bottom:var(--space-3);display:flex}.mail-page .mail-reply-to{flex:1}.mail-page .mail-reply-value{font-size:var(--fs-sm);font-weight:var(--fw-medium)}.mail-page .textarea.mail-reply-body{font-size:var(--fs-sm);resize:vertical;line-height:1.7}.mail-page .mail-forward-head{border-bottom:1px solid var(--color-border);border-radius:var(--radius-md) var(--radius-md) 0 0;background:var(--color-surface-alt);font-size:var(--fs-sm);padding:12px 16px}.mail-page .mail-forward-body{max-height:200px;font-size:var(--fs-sm);color:var(--color-text-muted);padding:12px 16px;overflow-y:auto}.mail-page .card.mail-connection-card{margin-bottom:var(--space-6)}.mail-page .mail-heading-icon{vertical-align:-4px;margin-right:8px}.mail-page .mail-connection-intro{margin-bottom:var(--space-4);font-size:var(--fs-sm);color:var(--color-text-muted)}.mail-page .mail-oauth-row{gap:var(--space-3);flex-wrap:wrap;display:flex}.mail-page .btn.mail-oauth-button{gap:10px;padding:12px 24px}.mail-page .mail-connection-note{margin-top:var(--space-3);font-size:var(--fs-xs);color:var(--color-text-subtle)}.mail-page .field .mail-connection-note{margin-top:2px}.mail-page .mail-connection-hint{font-size:var(--fs-xs);color:var(--color-text-muted);margin:4px 0 0}.mail-page .mail-soon-line{margin-bottom:var(--space-3)}.mail-page .mail-preset-row{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.mail-page .mail-smtp-details{margin-top:var(--space-3)}.mail-page .mail-smtp-summary{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--color-text);cursor:pointer}.mail-page .mail-smtp-details>.mail-connection-hint{margin:var(--space-2) 0}.mail-page .mail-connection-card .field-hint{font-size:var(--fs-xs);color:var(--color-text-muted);margin-top:4px;display:block}.mail-page .field-row.mail-smtp-row{margin-top:var(--space-2)}.mail-page .form-actions.mail-connection-actions{margin-top:var(--space-4)}.mail-page .mail-empty-state.mail-empty-compact{padding:var(--space-6)}.mail-page .card.mail-provider-card{max-width:640px;margin-bottom:var(--space-6)}.mail-page .mail-provider-row{gap:var(--space-3);padding:var(--space-4);flex-wrap:wrap;display:flex}.mail-page .mail-provider-off{opacity:.5;cursor:not-allowed}.mail-page .mail-provider-tile{fill:var(--color-border-strong)}.mail-page .mail-provider-notice{padding:0 var(--space-4) var(--space-4)}.mail-page .form-banner.mail-provider-banner{font-size:var(--fs-sm)}@media (width<=767px){.mail-page .mail-attachment-form{flex-direction:column;gap:8px}}@media (width<=639px){.mail-page .card{overflow-x:auto}.mail-page .mail-template-grid,.mail-page .mail-attach-grid,.mail-page .mail-show-grid{grid-template-columns:1fr;gap:8px}.mail-page .mail-signature-head,.mail-page .mail-copy-row,.mail-page .mail-editor-toolbar,.mail-page .mail-body-toolbar,.mail-page .page-actions.mail-show-actions,.mail-page .mail-show-head-row,.mail-page .mail-attachment,.mail-page .mail-context-head,.mail-page .mail-ai-row,.mail-page .mail-reply-meta,.mail-page .mail-oauth-row,.mail-page .mail-preset-row,.mail-page .mail-provider-row{flex-wrap:wrap}.mail-page .mail-signature-head>.mail-inline-form{width:100%;margin-bottom:4px;display:block}.mail-page .mail-inline-form.legacy-inline-form{margin-bottom:4px;display:block}.mail-page .mail-soon,.mail-page .mail-soon-badge{display:none}.mail-page .mail-oauth-row .mail-soon-wrap{max-width:100%}.mail-page .btn.mail-oauth-button{white-space:normal}.mail-page .page-actions .mail-soon-wrap,.mail-page .page-actions .mail-soon-wrap .btn{width:100%}.mail-page .mail-search-form{flex-direction:column;gap:8px;width:100%}}.carpa-header{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-6);display:flex}.carpa-header .carpa-title h1{width:fit-content}.carpa-header .carpa-title .page-subtitle{margin-top:var(--space-1)}.carpa-actions{gap:var(--space-2);display:flex}.carpa-header:has(.carpa-header-side){align-items:flex-start}.carpa-header-side{align-items:flex-end;gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.card.carpa-empty{padding:var(--space-6);text-align:center}.carpa-list .carpa-label{font-weight:var(--fw-medium)}.carpa-list .carpa-balance{font-weight:var(--fw-semibold);white-space:nowrap}.carpa-list .carpa-balance.is-negative{color:var(--status-danger-fg)}.carpa-list .carpa-reconciliation-row td{font-size:var(--fs-xs);color:var(--color-text-muted);white-space:normal;padding-top:0}.carpa-list tbody tr:has(+.carpa-reconciliation-row) td{border-bottom:0}.card.carpa-create{padding:var(--space-4);margin-bottom:var(--space-4)}.carpa-create h3{margin:0 0 var(--space-3)}.carpa-create-grid{gap:var(--space-3);margin-top:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.carpa-create-rib{margin-top:var(--space-3)}.carpa-create-actions{gap:var(--space-2);margin-top:var(--space-3);display:flex}.carpa-back,.carpa-import-error{margin-bottom:var(--space-4)}.card.carpa-import{padding:var(--space-6)}.carpa-import .field{margin-bottom:var(--space-4)}.carpa-import .field>label{font-weight:var(--fw-medium);margin-bottom:var(--space-2);display:block}.carpa-import .carpa-import-account{width:100%;max-width:400px}.carpa-drop-zone{border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:var(--space-8);text-align:center;cursor:pointer;transition:border-color var(--dur-fast), background var(--dur-fast)}.carpa-drop-zone>svg{margin:0 auto var(--space-3);color:var(--color-text-subtle);display:block}.carpa-drop-zone.is-dragover{border-color:var(--color-primary);background:var(--color-primary-soft)}.carpa-drop-zone .carpa-drop-title{color:var(--color-text-muted);margin-bottom:var(--space-2)}.carpa-drop-zone .carpa-drop-browse{margin-top:var(--space-2);cursor:pointer}.carpa-drop-zone #file-name{margin-top:var(--space-2)}.card.carpa-import-summary{padding:var(--space-4);margin-bottom:var(--space-4);background:var(--status-info-bg);border:1px solid var(--status-info-border);color:var(--status-info-fg)}.carpa-import-table .carpa-import-check{width:40px}.carpa-import-table .carpa-import-amount{font-weight:var(--fw-medium)}.carpa-import-table .carpa-import-amount.is-debit{color:var(--status-danger-fg)}.carpa-import-table .carpa-import-amount.is-credit{color:var(--status-success-fg)}.carpa-import-actions{gap:var(--space-3);margin-top:var(--space-4);display:flex}@media (width<=639px){.carpa-actions{flex-wrap:wrap}.carpa-header-side{flex-shrink:0;align-items:flex-start;max-width:75%}.carpa-header-side .carpa-actions{flex-direction:column;align-items:flex-start}#carpa-table th,#carpa-table td,.table.carpa-import-table th,.table.carpa-import-table td{padding:6px 8px;font-size:11px}#carpa-table thead th,.table.carpa-import-table thead th{letter-spacing:.3px;font-size:10px}#carpa-table .badge,.table.carpa-import-table .badge{padding:2px 6px;font-size:10px}#carpa-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}#carpa-table .carpa-reconciliation-row td{white-space:normal;max-width:none}.table.carpa-import-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.carpa-create-grid{grid-template-columns:1fr}}.carpa-show .carpa-show-back{margin-bottom:var(--space-4)}.carpa-show .carpa-show-close{float:right;display:inline}.carpa-show .carpa-show-danger{color:var(--status-danger-fg)}.carpa-show-header{margin-bottom:var(--space-4);justify-content:space-between;align-items:center;display:flex}.carpa-show-balance{text-align:right}.carpa-show-balance-value{font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--status-success-fg)}.carpa-show-balance-value.is-negative{color:var(--status-danger-fg)}.carpa-show-link{color:var(--color-link)}.carpa-show-forms{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(280px,1fr));display:grid}.card.carpa-show-form{padding:var(--space-4)}.carpa-show-form h3{margin-bottom:var(--space-3);font-size:var(--fs-base)}.carpa-show-form .carpa-show-submit{margin-top:var(--space-2)}.carpa-show-movements-head{padding:var(--space-4) var(--space-4) 0;justify-content:space-between;align-items:center;display:flex}.carpa-show-movements-head h2{font-size:var(--fs-lg)}.carpa-show-filter{align-items:flex-end;gap:var(--space-2);display:flex}.carpa-show-filter .field{margin:0}.carpa-show-table{margin-top:var(--space-3)}.carpa-show-empty{padding:var(--space-4)}.carpa-show-origin{font-size:10px}.carpa-show-payer{font-size:11px}.carpa-show-status{margin-left:var(--space-1)}.carpa-show-amount{font-weight:var(--fw-medium);color:var(--status-success-fg)}.carpa-show-amount.is-negative{color:var(--status-danger-fg)}.carpa-show-edit{padding:2px 6px;font-size:10px}.carpa-show-edit-row td{padding:var(--space-3);background:var(--color-surface-alt)}.carpa-show-edit-form{align-items:flex-end;gap:var(--space-2);flex-wrap:wrap;display:flex}.carpa-show-edit-field{min-width:100px}.carpa-show-edit-field.is-wide{flex:1;min-width:150px}.carpa-show-edit-field label{color:var(--color-text-muted);font-size:10px}.carpa-show-edit-field .input{padding:4px 6px;font-size:12px}.carpa-show-edit-hint{color:var(--color-text-muted);flex-basis:100%;margin:0;font-size:11px}@media (width<=639px){.carpa-show .input{font-size:16px}.carpa-show-header{width:0}.carpa-show-filter{flex-direction:column;gap:8px}.carpa-show .carpa-show-filter .field input.input[type=date]{padding:10px 14px;font-size:16px}.card>#carpa-movements-table{min-width:600px;display:block;overflow-x:auto}#carpa-movements-table th,#carpa-movements-table td{white-space:nowrap;padding:6px 8px}#carpa-movements-table thead th{letter-spacing:.66px;font-size:11px}#carpa-movements-table td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}#carpa-movements-table .carpa-show-edit-row td{white-space:normal;max-width:none}#carpa-movements-table thead th:first-child{min-width:132px}}.compliance-header{margin-bottom:var(--space-6);justify-content:space-between;align-items:center;display:flex}.compliance-screening-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:1fr 1fr;display:grid}.card.compliance-screening-card{padding:var(--space-4)}.compliance-screening-card h3{margin-bottom:var(--space-3);font-size:var(--fs-base)}.compliance-screening-card .compliance-screening-hint{margin-bottom:var(--space-3)}.compliance-stats{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(4,1fr);display:grid}.card.compliance-stat{padding:var(--space-4);text-align:center}.compliance-stat-value{font-size:var(--fs-2xl);font-weight:var(--fw-bold)}.compliance-stat-value.is-info{color:var(--status-info-fg)}.compliance-stat-value.is-success{color:var(--status-success-fg)}.compliance-stat-value.is-warning{color:var(--status-warning-fg)}.compliance-stat-value.is-danger{color:var(--status-danger-fg)}.compliance-scope,.card.compliance-checks,.card.compliance-extra{margin-bottom:var(--space-6)}.compliance-card-header{padding:var(--space-4) var(--space-4) 0}.compliance-card-header h2{font-size:var(--fs-lg)}.compliance-checks .compliance-empty{padding:var(--space-4)}.compliance-checks .compliance-filter{padding:0 var(--space-4)}.compliance-checks #screenings-table{margin-top:var(--space-3)}.compliance-checks .compliance-score{font-weight:var(--fw-medium)}.compliance-checks .compliance-score.is-high{color:var(--status-danger-fg)}.compliance-checks .compliance-score.is-medium{color:var(--status-warning-fg)}.card.compliance-extra{padding:var(--space-4)}@media (width<=639px){.compliance-screening-grid{grid-template-columns:1fr}}.search-bar{margin-bottom:var(--space-6)}.search-bar .search-bar-field{flex:1;min-width:300px}.empty-state.search-empty{margin-top:var(--space-8)}.search-empty .search-empty-icon{margin:0 auto var(--space-3);color:var(--color-border-strong);display:block}.search-intro{text-align:center;padding:var(--space-8);color:var(--color-text-placeholder)}.search-intro svg{margin:0 auto var(--space-4);display:block}.search-intro .search-intro-scope{margin-top:var(--space-2)}.card.search-category{margin-bottom:var(--space-4)}.search-category .search-category-header{align-items:center;gap:var(--space-2);display:flex}.search-category-header .search-category-icon{color:var(--color-link)}.search-category-header h3{font-size:var(--fs-base);padding-left:15px}.search-category-header h3 .text-muted{font-weight:400}.search-documents-filter{padding:var(--space-2) var(--space-4) 0}.table.search-table{font-size:var(--fs-sm)}.search-table .search-primary-link{font-weight:var(--fw-medium);color:var(--color-primary-soft-fg)}.search-table .search-name-link{color:var(--color-primary-soft-fg)}.search-table .search-col-ref{width:120px}.search-table .search-col-status{width:100px}.search-table .search-document-description{text-overflow:ellipsis;white-space:nowrap;max-width:300px;margin-top:2px;overflow:hidden}.search-table .matter-ref-link{color:inherit;flex-direction:column;gap:2px;text-decoration:none;display:flex}@media (width<=639px){.search-bar .search-bar-field{min-width:0}.table-wrap>.search-table{display:block;overflow-x:auto}.search-table thead th,.search-table td{white-space:nowrap;padding:6px 8px}.search-table td{text-overflow:ellipsis;max-width:180px;font-size:11px;overflow:hidden}}.client-kpis{margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.card.client-kpi{text-align:center;margin:0;padding:12px 14px}.client-kpi .client-kpi-value{color:var(--color-heading);font-size:22px;font-weight:700}.client-kpi .client-kpi-unit{font-size:14px}.client-kpi .client-kpi-label{color:var(--color-text-subtle);font-size:11px}.client-kpi .client-kpi-value.is-success{color:var(--status-success-solid)}.client-kpi .client-kpi-value.is-warning{color:var(--status-warning-solid)}.client-kpi .client-kpi-value.is-danger{color:var(--status-danger-solid)}.client-kpi .client-kpi-value.is-muted{color:var(--color-text-subtle)}.client-kpi .client-kpi-bar{background:var(--color-border);border-radius:2px;height:3px;margin-top:4px;overflow:hidden}.client-kpi .client-kpi-bar-fill{background:var(--status-danger-solid);border-radius:2px;height:100%}.client-kpi .client-kpi-bar-fill.is-success{background:var(--status-success-solid)}.client-kpi .client-kpi-bar-fill.is-warning{background:var(--status-warning-solid)}.client-portal{margin-top:var(--space-4)}.client-portal-access{border-bottom:1px solid var(--color-border);align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;display:flex}.client-portal-access-label{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.client-portal-access-label input{width:18px;height:18px;accent-color:var(--status-success-solid)}.client-portal-intro{color:var(--color-text-subtle);margin-bottom:12px;font-size:12px}.client-portal-modules{grid-template-columns:1fr 1fr;gap:8px;display:grid}.client-portal-module{border:1px solid var(--color-border);background:var(--color-surface);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.client-portal-module.is-checked{background:var(--status-success-bg)}.client-portal-module input{width:16px;height:16px;accent-color:var(--status-success-solid);flex-shrink:0;margin-top:2px}.client-portal-module-label{color:var(--color-text);font-size:13px;font-weight:600}.client-portal-module-description{color:var(--color-text-subtle);margin-top:2px;font-size:11px}.client-portal-actions{align-items:center;gap:8px;margin-top:14px;display:flex}.client-portal-module{cursor:pointer}.modal.client-portal-modal{border-radius:12px;max-width:420px;padding:28px}.client-portal-modal-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.client-portal-modal-head h3{margin:0;font-size:18px;font-weight:700}.client-portal-modal-close{color:var(--color-text-subtle);cursor:pointer;background:0 0;border:none;font-size:20px}.client-portal-modal-intro{color:var(--color-text-muted);margin-bottom:16px;font-size:13px}.client-portal-modal-field{margin-bottom:16px}.client-portal-modal-label{color:var(--color-text-muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.client-portal-modal-hint{color:var(--color-text-subtle);margin-top:4px;font-size:11px}.btn.client-portal-modal-submit{width:100%}.matter-actions.client-actions{flex-wrap:nowrap}.client-actions>form{margin:0}@media (width<=1023px){.client-actions .btn{text-overflow:ellipsis;overflow:hidden}}.matter-tags{flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;display:flex}.matter-tags:empty{display:none}.matter-tag{background:var(--color-accent-soft);font-size:11px;font-weight:var(--fw-semibold);color:var(--color-accent-soft-fg);border-radius:10px;padding:2px 8px}.matter-add-tag-wrap{margin-top:4px}.matter-add-tag{color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.matter-tags-form{align-items:center;gap:4px;margin-top:4px;display:flex}.matter-tags-form[hidden]{display:none}.matter-tags-form .input{width:160px;padding:4px 8px;font-size:12px}.matter-kpis{border:1px solid var(--color-border);background:var(--color-surface);border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;margin-top:10px;padding:14px 18px;display:grid}.matter-kpi{text-align:center}.matter-kpi__value{font-size:20px;font-weight:var(--fw-bold);color:var(--color-heading)}.matter-kpi__value small{font-size:14px}.matter-kpi__value.is-success{color:var(--status-success-fg)}.matter-kpi__value.is-warning{color:var(--status-warning-fg)}.matter-kpi__value.is-danger{color:var(--status-danger-fg)}.matter-kpi__label{color:var(--color-text-subtle);font-size:11px}.matter-kpi__hint{color:var(--color-text-muted);margin-top:2px;font-size:10px}.matter-kpi__bar{background:var(--color-border);border-radius:2px;height:3px;margin-top:4px;overflow:hidden}.matter-kpi__fill{border-radius:2px;height:100%}.matter-kpi__fill.is-info{background:var(--status-info-solid)}.matter-kpi__fill.is-success{background:var(--status-success-solid)}.matter-kpi__fill.is-warning{background:var(--status-warning-solid)}.matter-kpi__fill.is-danger{background:var(--status-danger-solid)}.matter-header__actions{margin-top:var(--space-3)}.matter-header__actions .is-disabled{pointer-events:none;color:var(--color-text-disabled)}.matter-ai-toggle{right:var(--space-4);bottom:var(--space-4);z-index:900;background:var(--color-primary);width:52px;height:52px;color:var(--color-primary-fg);box-shadow:var(--shadow-lg);border:0;border-radius:50%;justify-content:center;align-items:center;display:flex;position:fixed}.matter-ai-toggle:disabled{opacity:.6;cursor:not-allowed}.matter-summary__documents{border-top:1px solid var(--color-border);margin-top:12px;padding-top:12px}.matter-summary__documents-title{font-size:11px;font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:.5px;color:var(--color-text-subtle);margin-bottom:8px}.matter-summary__chips{flex-wrap:wrap;gap:6px;display:flex}.matter-summary__chip{border:1px solid var(--color-border);background:var(--color-surface-alt);color:var(--color-text);border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:11px;text-decoration:none;display:inline-flex}.matter-summary__chip.is-more{font-weight:var(--fw-semibold);color:var(--color-link)}.matter-summary__chip-ext{min-width:28px;font-size:9px;font-weight:var(--fw-bold);color:var(--color-text-muted)}.matter-summary__chip-ext.is-pdf{color:var(--status-danger-fg)}.matter-summary__chip-ext.is-docx,.matter-summary__chip-ext.is-doc{color:var(--status-info-fg)}.matter-summary__chip-ext.is-xlsx,.matter-summary__chip-ext.is-xls{color:var(--status-success-fg)}.matter-summary__chip-name{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.matter-section-head__actions{gap:var(--space-2);display:flex}.matter-section-head__actions .is-disabled,.matter-tab-empty .is-disabled{pointer-events:none;color:var(--color-text-disabled)}.matter-tab-empty{padding:var(--space-6);text-align:center;color:var(--color-text-muted)}.matter-tab-empty>svg{opacity:.4;margin:0 auto 8px;display:block}.matter-tab-empty p{font-size:var(--fs-sm)}.matter-tab-empty .matter-tab-empty__hint{font-size:var(--fs-xs);color:var(--color-text-subtle);margin-bottom:12px}.matter-tab-empty__line{text-align:center;color:var(--color-text-muted);padding:20px;font-size:13px}.matter-emails{max-height:500px;overflow-y:auto}.matter-emails .matter-email{border-bottom:1px solid var(--color-border);color:inherit;align-items:center;gap:12px;padding:10px 16px;text-decoration:none;display:flex}.matter-emails .matter-email:hover{background:var(--color-surface-hover)}.matter-emails .matter-email.is-unread{background:var(--color-surface-alt);font-weight:600}.matter-emails .matter-email__icon{color:var(--color-text-subtle);flex-shrink:0}.matter-emails .matter-email.is-unread .matter-email__icon{color:var(--color-heading)}.matter-emails .matter-email__body{flex:1;min-width:0}.matter-emails .matter-email__line{align-items:center;gap:6px;display:flex}.matter-emails .matter-email__subject{font-size:var(--fs-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.matter-emails .matter-email__clip{color:var(--color-text-subtle);flex-shrink:0}.matter-emails .matter-email__meta{color:var(--color-text-muted);margin-top:2px;font-size:11px}.matter-hearing-form{border-bottom:1px solid var(--color-border);padding:16px}.matter-hearing-form[hidden]{display:none}.matter-hearing-form__grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.matter-hearings{padding:8px 0}.matter-hearing{border-bottom:1px solid var(--color-border);align-items:center;gap:12px;padding:12px 16px;display:flex}.matter-hearing__date{text-align:center;width:50px}.matter-hearing__date strong{color:var(--color-heading);font-size:18px;display:block}.matter-hearing__date span{color:var(--color-text-muted);font-size:10px}.matter-hearing__body{flex:1}.matter-hearing__title{font-size:13px;font-weight:var(--fw-semibold)}.matter-hearing__meta{color:var(--color-text-muted);font-size:11px}.matter-activity{font-weight:var(--fw-semibold)}.matter-activity.is-success{color:var(--status-success-fg)}.matter-activity.is-warning{color:var(--status-warning-fg)}.matter-activity.is-danger{color:var(--status-danger-fg)}@media (width<=639px){.matter-header .page-eyebrow{display:none}.matter-header__actions .matter-duplicate{width:100%}}.matter-timeline{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;position:relative}.matter-timeline-item{gap:var(--space-3);padding:var(--space-2) 0 var(--space-2) var(--space-4);border-left:2px solid var(--color-border);display:flex;position:relative}.matter-timeline-item .timeline-dot{top:var(--space-3);border:2px solid var(--color-surface);border-radius:var(--radius-full);background:var(--color-primary);width:10px;height:10px;position:absolute;left:-6px}.matter-timeline-item .timeline-body{gap:var(--space-1);flex-direction:column;flex:1;display:flex}.matter-timeline-item .timeline-type{align-self:flex-start}.matter-timeline-item .timeline-label{font-weight:var(--fw-medium);color:var(--color-heading)}.matter-party-name{font-weight:var(--fw-semibold);color:var(--color-link);text-decoration:none}.matter-quick-party{width:90%;max-width:480px;padding:var(--space-6)}.matter-quick-party__grid{gap:var(--space-3);margin-bottom:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.matter-quick-party__actions{justify-content:flex-end;gap:var(--space-2);display:flex}.matter-team-list,.matter-deadlines-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.matter-team-item{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border-subtle);display:flex}.matter-team-item:last-child{border-bottom:0}.matter-team-name{font-weight:var(--fw-medium);color:var(--color-heading);flex:1}.matter-deadline-item{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:var(--color-surface-alt);display:flex}.matter-deadline-item.is-urgent{background:var(--status-warning-bg)}.matter-deadline-item.is-overdue{background:var(--status-danger-bg)}.matter-tasks-empty{padding:var(--space-4)}.matter-tasks-table{font-size:var(--fs-sm)}.matter-tasks-table .matter-tasks-table__title{width:40%}.matter-task-title{font-weight:var(--fw-medium)}.matter-task-title.is-done{color:var(--color-text-disabled);text-decoration:line-through}.matter-task-description{text-overflow:ellipsis;white-space:nowrap;max-width:250px;margin-top:2px;overflow:hidden}.matter-task-priority{border-radius:var(--radius-full);font-size:var(--fs-xs);font-weight:var(--fw-medium);padding:2px 8px}.matter-task-priority.is-urgent{background:var(--status-danger-bg);color:var(--status-danger-fg)}.matter-task-priority.is-high{background:var(--status-warning-bg);color:var(--status-warning-fg)}.matter-task-priority.is-medium{background:var(--status-info-bg);color:var(--status-info-fg)}.matter-task-priority.is-low{background:var(--status-neutral-bg);color:var(--status-neutral-fg)}.matter-task-overdue{font-weight:var(--fw-medium);color:var(--status-danger-fg)}.matter-task-complete{display:inline}.matter-messages{max-height:400px;margin-bottom:var(--space-3);overflow-y:auto}.matter-message{padding:var(--space-2) 0;border-bottom:1px solid var(--color-border-subtle);align-items:flex-start;gap:8px;display:flex}.matter-message.is-validated{opacity:.6}.matter-message__body{flex:1}.matter-message__date{margin-left:var(--space-2)}.matter-message__validated{font-size:11px;font-weight:var(--fw-semibold);color:var(--status-success-fg);margin-left:8px}.matter-message__text{margin:2px 0 0}.matter-message.is-validated .matter-message__text{color:var(--color-text-disabled);text-decoration:line-through}.matter-message__text.is-withdrawn{color:var(--color-text-subtle);font-style:italic}.matter-message__actions{flex-shrink:0;gap:2px;display:flex}.matter-message__actions form{margin:0}.matter-message__icon{cursor:pointer;background:0 0;border:0;padding:2px 4px}.matter-message__icon.is-success{color:var(--status-success-fg)}.matter-message__icon.is-danger{color:var(--status-danger-fg)}.matter-message-form{gap:var(--space-2);display:flex}.matter-message-form .input{flex:1}.matter-checklist-score{align-items:center;gap:8px;display:flex}.matter-checklist-score__value{font-size:13px;font-weight:var(--fw-bold)}.matter-checklist-score__value.is-success{color:var(--status-success-fg)}.matter-checklist-score__value.is-warning{color:var(--status-warning-fg)}.matter-checklist-score__value.is-danger{color:var(--status-danger-fg)}.matter-checklist-score__track{background:var(--color-surface-alt);border-radius:3px;width:80px;height:6px;overflow:hidden}.matter-checklist-score__fill{border-radius:3px;height:100%}.matter-checklist-score__fill.is-success{background:var(--status-success-solid)}.matter-checklist-score__fill.is-warning{background:var(--status-warning-solid)}.matter-checklist-score__fill.is-danger{background:var(--status-danger-solid)}.matter-checklist-score__count{color:var(--color-text-muted);font-size:11px}.matter-checklist-notice{margin:0 0 var(--space-3);font-size:var(--fs-xs);color:var(--color-text-subtle)}.matter-checklist-empty{padding:var(--space-4);text-align:center;color:var(--color-text-muted)}.matter-checklist-empty form{margin-top:8px}.matter-checklist-group{border-bottom:1px solid var(--color-border);padding:12px 16px}.matter-checklist-group__title{font-size:12px;font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin-bottom:8px}.matter-checklist-item{margin:0}.matter-checklist-item label{cursor:pointer;align-items:center;gap:10px;padding:6px 0;font-size:13px;display:flex}.matter-checklist-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--color-primary);flex-shrink:0}.matter-checklist-item span{flex:1}.matter-checklist-item span.is-checked{color:var(--color-text-muted);text-decoration:line-through}.matter-checklist-item .matter-checklist-item__by{color:var(--color-text-muted);flex:none;font-size:10px}.activity-feed{margin:0;padding:0;list-style:none}.activity-feed__item{gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border-subtle);display:flex}.activity-feed__avatar{background:var(--color-surface-alt);width:32px;height:32px;font-size:11px;font-weight:var(--fw-semibold);color:var(--color-text);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.activity-feed__body{flex:1;min-width:0}.activity-feed__text{font-size:var(--fs-sm);color:var(--color-heading);margin:0}.activity-feed__text span{color:var(--color-text-muted)}.activity-feed__text a{color:inherit}.activity-feed__date{font-size:var(--fs-xs);color:var(--color-text-subtle)}.activity-feed__type{margin-left:var(--space-2);border-radius:var(--radius-full);color:var(--color-text-inverse);padding:1px 6px;font-size:9px;display:inline-block}.activity-feed__type.is-success{background:var(--status-success-solid)}.activity-feed__type.is-info{background:var(--status-info-solid)}.activity-feed__type.is-warning{background:var(--status-warning-solid)}.activity-feed__type.is-neutral{background:var(--color-text-muted)}.activity-feed__pages{margin-top:var(--space-4)}.matter-documents-table{margin-bottom:var(--space-3)}.matter-documents-table.is-detailed{margin-bottom:var(--space-4)}.matter-documents-table__name{font-weight:var(--fw-medium);font-size:var(--fs-sm)}.matter-documents-table__name a{color:var(--color-link);text-decoration:none}.matter-documents-table__actions{white-space:nowrap}.matter-sharepoint{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.matter-sharepoint p{margin-bottom:var(--space-3)}.matter-ged__bar{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:1.5rem;margin-bottom:var(--space-2);flex-wrap:wrap;display:flex}.matter-ged__path{align-items:center;gap:var(--space-1);font-size:var(--fs-sm);flex-wrap:wrap;min-width:0;display:flex}.matter-ged__path a{color:var(--color-link);text-decoration:none}.matter-ged__sep{color:var(--color-text-muted)}.matter-ged__here{font-weight:var(--fw-medium)}.matter-ged__sync{margin-left:auto}.matter-ged__notice{justify-content:space-between;align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.matter-ged__folder{align-items:center;gap:var(--space-2);display:inline-flex}.matter-ged__folder svg{color:var(--color-primary);flex:none}.matter-ged__empty{padding:var(--space-4) 0;text-align:center}.matter-quick-time{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:flex-end;gap:8px;padding:12px 16px;display:flex}.matter-quick-time .field{margin:0}.matter-quick-time label{font-size:10px;font-weight:var(--fw-semibold)}.matter-quick-time .input,.matter-quick-time .select{font-size:13px}.matter-quick-time__hours{width:70px}.matter-quick-time__desc{flex:1;min-width:150px}.matter-quick-time__cat{width:100px}.matter-quick-time .btn{min-height:36px}.matter-fees-totals{gap:var(--space-4);margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.matter-fees-stat{gap:var(--space-1);padding:var(--space-4);border-radius:var(--radius-md);background:var(--color-surface-alt);flex-direction:column;display:flex}.matter-fees-stat .stat-label{font-size:var(--fs-xs);font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-subtle)}.matter-fees-stat .stat-value{font-size:var(--fs-xl);font-weight:var(--fw-bold);color:var(--color-heading)}.matter-time-form{margin-top:var(--space-4);padding:var(--space-3);border-radius:var(--radius-md);background:var(--color-surface-alt)}.matter-time-form__grid{align-items:end;gap:var(--space-2);grid-template-columns:120px 100px 1fr auto;display:grid}.matter-time-form .field{margin:0}.matter-time-table{margin-top:var(--space-4)}.matter-time-empty{margin-top:var(--space-3)}.matter-billing-totals{margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.matter-billing-total{background:var(--color-surface-alt);text-align:center;border-radius:8px;padding:14px;text-decoration:none}.matter-billing-total.is-due{background:var(--status-danger-bg)}.matter-billing-total__value{font-size:20px;font-weight:var(--fw-bold);color:var(--color-heading)}.matter-billing-total__value.is-success{color:var(--status-success-fg)}.matter-billing-total__value.is-danger{color:var(--status-danger-fg)}.matter-billing-total__label{color:var(--color-text-subtle);margin-top:2px;font-size:11px}.matter-billing-invoices{margin-top:var(--space-4)}.matter-billing-invoices h3{margin-bottom:var(--space-2);font-size:var(--fs-sm);font-weight:var(--fw-semibold)}.matter-billing-invoices__number{font-weight:var(--fw-semibold);color:var(--color-link);text-decoration:none}.matter-billing-invoices__amount{font-weight:var(--fw-semibold)}.matter-section-head__actions .is-disabled{pointer-events:none}.matter-fees-stat .stat-value.is-small{font-size:var(--fs-sm)}.matter-fees-stat .stat-value.is-negative,.matter-carpa-amount.is-negative{color:var(--status-danger-fg)}.matter-carpa-pending{margin-bottom:var(--space-3);font-size:var(--fs-sm);color:var(--status-warning-fg)}.matter-carpa-movements{max-height:400px;margin-bottom:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow-y:auto}.matter-carpa-movements .table{margin:0}.matter-carpa-amount{font-weight:var(--fw-semibold)}.matter-carpa-empty{margin-bottom:var(--space-4)}.matter-carpa-forms{gap:var(--space-2);display:flex}.matter-carpa-form{align-items:flex-end;gap:var(--space-2);display:flex}.matter-carpa-form .field{margin:0}.matter-carpa-form .field.matter-carpa-form__amount{width:120px}.matter-carpa-form .field.matter-carpa-form__description{width:200px}.matter-carpa-create{margin-top:var(--space-3)}@media (width<=639px){.m04-matter-show .matter-section>.table{display:block;overflow-x:auto}.matter-task-complete{margin-bottom:4px;display:block}.m04-matter-show .matter-section .table th,.m04-matter-show .matter-section .table td{white-space:nowrap;padding:6px 8px}.m04-matter-show .matter-section .table th{font-size:11px}.m04-matter-show .matter-section .table td{text-overflow:ellipsis;max-width:180px;font-size:14px;overflow:hidden}.m04-matter-show .matter-section .table td.text-xs{font-size:12px}.m04-matter-show .matter-section form{width:100%;max-width:100%}.m04-matter-show .matter-section .badge{padding:2px 6px;font-size:10px}.matter-time-form__grid,.matter-billing-totals,.matter-fees-totals{grid-template-columns:1fr;gap:8px}.matter-carpa-forms,.matter-message-form,.matter-quick-time{flex-wrap:wrap}.matter-carpa-form{flex-direction:column;gap:8px}.matter-message-form .btn{flex-basis:100%}}.security-summary{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(3,1fr);display:grid}.card.security-stat{padding:var(--space-4);text-align:center}.security-stat-value{font-size:var(--fs-2xl);font-weight:var(--fw-bold)}.security-stat-value.is-success{color:var(--status-success-fg)}.security-stat-value.is-danger{color:var(--status-danger-fg)}.security-stat-label{font-size:var(--fs-xs);color:var(--color-text-subtle)}.security-results-title{font-size:var(--fs-base)}.security-run-at{font-size:var(--fs-xs);color:var(--color-text-subtle)}.security-check-label{font-weight:var(--fw-semibold)}.security-check-details{font-size:var(--fs-xs)}.security-check-details ul{padding-left:var(--space-4);margin:0}.security-check-none{color:var(--color-text-subtle)}@media (width<=639px){.security-summary{grid-template-columns:1fr}.table-wrap>.table.security-table{display:block;overflow-x:auto}.table.security-table thead th,.table.security-table tbody td{white-space:nowrap;padding:6px 8px}.table.security-table tbody td{text-overflow:ellipsis;max-width:180px;overflow:hidden}.table.security-table thead th{letter-spacing:.06em;font-size:11px}}.sso-unavailable{border:0;min-width:0;margin:0;padding:0}.sso-auto-provision{align-items:center;gap:var(--space-2);margin-top:var(--space-3);display:flex}.tenants-summary{margin-bottom:var(--space-6);grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.card.tenants-stat{text-align:center;padding:14px}.tenants-stat-value{font-size:24px;font-weight:var(--fw-bold);color:var(--color-primary)}.tenants-stat-value.is-active{color:var(--status-success-fg)}.tenants-stat-value.is-trial{color:var(--status-warning-fg)}.tenants-stat-value.is-expired{color:var(--status-danger-fg)}.tenants-stat-label{color:var(--color-text-muted);font-size:11px}.tenants-list{flex-direction:column;gap:8px;display:flex}.card.tenant-card{padding:14px 18px}.card.tenant-card.is-expired{border-color:var(--status-danger-border)}.tenant-card-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.tenant-card-main{flex:1;min-width:0}.tenant-card-title{align-items:center;gap:8px;margin-bottom:4px;display:flex}.tenant-name{font-weight:var(--fw-semibold);color:var(--color-heading);font-size:14px}.tenant-plan{font-size:10px;font-weight:var(--fw-semibold);background:var(--status-neutral-bg);color:var(--status-neutral-fg);border-radius:99px;padding:2px 8px}.tenant-plan.is-trial{background:var(--status-warning-bg);color:var(--status-warning-fg)}.tenant-plan.is-mvp{background:var(--color-primary-soft);color:var(--color-primary-soft-fg)}.tenant-plan.is-premium{background:var(--status-success-bg);color:var(--status-success-fg)}.tenant-plan.is-enterprise{background:var(--color-accent-soft);color:var(--color-accent-soft-fg)}.tenant-expired{color:var(--status-danger-fg);font-size:10px;font-weight:var(--fw-semibold)}.tenant-card-meta{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.rgpd-detail-grid{gap:var(--space-6);margin-top:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.rgpd-detail-card{min-height:280px}.rgpd-detail-grid>.card{min-width:0}.rgpd-workflow-intro{margin:0 0 var(--space-4);font-size:var(--fs-sm)}.rgpd-actions-grid{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.rgpd-action-block{gap:var(--space-2);padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-direction:column;display:flex}.rgpd-action-block label{font-size:var(--fs-xs);font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--color-text-muted);display:block}.rgpd-action-block .req{color:var(--status-danger-fg)}.rgpd-config-grid{gap:var(--space-6);margin-top:var(--space-4);grid-template-columns:2fr 1fr;display:grid}.card.rgpd-config-card{padding:var(--space-6)}.card.rgpd-config-aside{padding:var(--space-6);background:var(--color-surface-alt)}.rgpd-help-list{gap:var(--space-3);font-size:var(--fs-sm);color:var(--color-text-muted);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.rgpd-help-list li{padding-left:var(--space-4);position:relative}.rgpd-help-list li:before{content:"";border-radius:var(--radius-full);background:var(--color-accent);width:6px;height:6px;position:absolute;top:9px;left:0}.rgpd-retention-form{padding:0 var(--space-6) var(--space-6)}.rgpd-retention-row{align-items:end}.rgpd-retention-inline{gap:var(--space-2);align-items:center;margin:0;display:inline-flex}.breach-banner{gap:var(--space-4);padding:var(--space-4) var(--space-6);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);border-radius:var(--radius-md);margin:0 0 var(--space-8);align-items:center;display:flex}.breach-banner p{font-size:var(--fs-sm);color:var(--color-text);margin:0}.breach-steps{gap:var(--space-4);margin-bottom:var(--space-8);flex-direction:column;display:flex}.breach-step{padding:0}.breach-step-summary{align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-6);cursor:pointer;background:var(--color-surface-alt);border-radius:var(--radius-lg) var(--radius-lg) 0 0;list-style:none;display:flex}.breach-step[open] .breach-step-summary{background:var(--color-primary-soft)}.breach-step-summary::-webkit-details-marker{display:none}.breach-step-num{border-radius:var(--radius-full);background:var(--color-primary);width:32px;height:32px;color:var(--color-primary-fg);font-weight:var(--fw-semibold);font-size:var(--fs-sm);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.breach-step-title{font-weight:var(--fw-semibold);color:var(--color-heading);font-size:var(--fs-base);flex:1}.breach-form{padding:var(--space-6);gap:var(--space-4);flex-direction:column;display:flex}.audit-kpi-grid{gap:var(--space-4);margin:0 0 var(--space-6);grid-template-columns:repeat(4,1fr);display:grid}.card.audit-kpi{padding:var(--space-4);text-align:left}.audit-kpi-value{font-family:var(--font-serif);font-size:var(--fs-2xl);font-weight:var(--fw-semibold);color:var(--color-heading);margin:var(--space-2) 0 var(--space-1);line-height:var(--lh-tight)}.audit-kpi-small{font-family:var(--font-mono);font-size:var(--fs-sm);color:var(--color-text-muted)}.audit-kpi-warning{color:var(--status-warning-fg)}.audit-kpi-danger{color:var(--status-danger-fg)}.audit-charts-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:2fr 1fr;display:grid}.card.audit-chart{padding:var(--space-6)}.audit-chart-wide{grid-column:1/-1}.audit-chart-canvas{width:100%;min-height:260px;max-height:360px;position:relative}.audit-chart-canvas canvas{width:100%!important;height:100%!important}.audit-alert-form{padding:var(--space-6)}@media (width<=1023px){.rgpd-detail-grid,.rgpd-actions-grid,.rgpd-config-grid,.audit-charts-grid{grid-template-columns:1fr}.audit-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.audit-kpi-grid{grid-template-columns:1fr}}@media (width<=639px){.data-table#audit-alerts-table .cell-actions{padding-left:18px}}.cookie-toggle{border-radius:var(--radius-full);background:var(--color-border-strong);cursor:pointer;width:44px;height:24px;transition:background var(--dur-base) var(--ease-out);border:0;flex-shrink:0;padding:0;position:relative}.cookie-toggle-knob{border-radius:var(--radius-full);background:var(--color-surface);width:20px;height:20px;box-shadow:var(--shadow-xs);transition:transform var(--dur-base) var(--ease-out);position:absolute;top:2px;left:2px}.cookie-toggle.is-on{background:var(--color-primary)}.cookie-toggle.is-on .cookie-toggle-knob{transform:translate(20px)}.cookie-toggle.is-locked{cursor:not-allowed;opacity:.65}.cookie-toggle:focus-visible{box-shadow:var(--shadow-focus);outline:none}.mes-donnees-lede{max-width:760px;font-size:var(--fs-base);color:var(--color-text-muted);line-height:var(--lh-normal)}.mes-donnees-section{margin-top:var(--space-12)}.mes-donnees-h2{font-family:var(--font-serif);font-size:var(--fs-xl);color:var(--color-heading);margin:0 0 var(--space-6);line-height:var(--lh-tight)}.card.action-card{padding:var(--space-6)}.action-card+.action-card{margin-top:var(--space-4)}.action-card-body{gap:var(--space-6);grid-template-columns:56px 1fr auto;align-items:start;display:grid}.action-card-icon{border-radius:var(--radius-lg);background:var(--color-accent-soft);width:48px;height:48px;color:var(--color-accent-soft-fg);justify-content:center;align-items:center;display:inline-flex}.action-card-icon-danger{background:var(--status-danger-bg);color:var(--status-danger-fg)}.action-card-text h4{font-family:var(--font-sans);font-weight:var(--fw-semibold);color:var(--color-heading);margin:0 0 var(--space-2);font-size:var(--fs-md)}.action-card-text p{color:var(--color-text-muted);font-size:var(--fs-sm);margin-bottom:var(--space-2)}.action-card-text .action-legal{font-size:var(--fs-xs);color:var(--color-text-subtle);text-transform:uppercase;letter-spacing:var(--ls-wide);font-weight:var(--fw-semibold);margin-top:var(--space-2)}.action-card-form{gap:var(--space-2);flex-direction:column;align-items:stretch;display:flex}.action-card-form textarea{min-width:240px}.card.action-card-danger{border-color:var(--status-danger-border);background:var(--status-danger-bg)}@supports (color:color-mix(in lab, red, red)){.card.action-card-danger{background:color-mix(in srgb, var(--status-danger-bg) 35%, var(--color-surface))}}.action-card-danger h4{color:var(--status-danger-fg)}.action-link{color:var(--color-link);text-underline-offset:2px;font-size:var(--fs-sm);font-weight:var(--fw-medium);text-decoration:underline}@media (width<=768px){.action-card-body{text-align:left;grid-template-columns:1fr}.action-card-form{margin-top:var(--space-2)}.action-card-form textarea{min-width:0}}@media (width<=639px){#retention-table .input-sm{height:32px;padding:0 var(--space-2);font-size:var(--fs-xs)}#retention-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.data-table#retention-table .cell-actions{padding-left:17px}}.calendar-page .calendar-legend{gap:var(--space-4);margin-bottom:var(--space-4);font-size:var(--fs-xs);flex-wrap:wrap;display:flex}.calendar-page .calendar-legend-item{align-items:center;gap:4px;display:inline-flex}.calendar-page .calendar-legend-dot{background:var(--calendar-type);border-radius:50%;width:12px;height:12px;display:inline-block}.calendar-page .calendar-type-audience{--calendar-type:var(--calendar-audience);--calendar-type-bg:var(--calendar-audience-bg)}.calendar-page .calendar-type-echeance{--calendar-type:var(--calendar-echeance);--calendar-type-bg:var(--calendar-echeance-bg)}.calendar-page .calendar-type-rdv{--calendar-type:var(--calendar-rdv);--calendar-type-bg:var(--calendar-rdv-bg)}.calendar-page .calendar-type-deadline{--calendar-type:var(--calendar-deadline);--calendar-type-bg:var(--calendar-deadline-bg);--calendar-type-text:var(--calendar-deadline-text)}.calendar-page .calendar-type-interne{--calendar-type:var(--calendar-interne);--calendar-type-bg:var(--calendar-interne-bg)}.calendar-page .calendar-type-autre{--calendar-type:var(--calendar-autre);--calendar-type-bg:var(--calendar-autre-bg)}.calendar-page .calendar-card{min-height:600px;padding:var(--space-4)}.calendar-page .fc .calendar-event{border-color:var(--calendar-type);background:var(--calendar-type-bg);color:var(--calendar-type-text,var(--calendar-type))}.calendar-page .fc .calendar-event .fc-event-main,.calendar-page .fc .calendar-event .fc-event-time,.calendar-page .fc .calendar-event .fc-event-title{color:var(--calendar-type-text,var(--calendar-type))}.calendar-page .fc .calendar-event .fc-daygrid-event-dot{border-color:var(--calendar-type)}.calendar-page .fc .fc-button{border:1px solid var(--color-border-strong);color:var(--color-text-muted);background:0 0;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.calendar-page .fc .fc-button:hover{background:var(--color-surface-hover)}.calendar-page .fc .fc-button-active,.calendar-page .fc .fc-button:active{border-color:var(--color-primary)!important;background:var(--color-primary)!important;color:var(--color-primary-fg)!important}.calendar-page .fc .fc-toolbar-title{color:var(--color-heading);font-size:18px;font-weight:700}.calendar-page .fc .fc-daygrid-day-number{color:var(--color-text-muted);font-size:13px}.calendar-page .fc .fc-col-header-cell-cushion{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-subtle);font-size:12px;font-weight:600}.calendar-page .calendar-modal{z-index:9999;background:var(--color-overlay);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.calendar-page .calendar-modal[hidden]{display:none}.calendar-page .calendar-modal-box{width:90%;max-width:520px;max-height:80vh;padding:var(--space-6);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-lg);overflow-y:auto}.calendar-page .calendar-modal-head{margin-bottom:var(--space-4);justify-content:space-between;align-items:start;display:flex}.calendar-page .calendar-modal-head h2{font-family:var(--font-serif);font-size:var(--fs-xl);color:var(--color-heading);margin:0}.calendar-page .calendar-modal-close{padding:var(--space-1);color:var(--color-text-subtle);cursor:pointer;background:0 0;border:none}.calendar-page .calendar-modal-body{font-size:var(--fs-sm);color:var(--color-text-muted)}.calendar-page .calendar-modal-actions{justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-4);display:flex}.calendar-page .calendar-visio-link{align-items:center;gap:6px;display:inline-flex}.calendar-page .card.calendar-form-card{max-width:720px;margin-bottom:var(--space-6)}.calendar-page .calendar-form-card .calendar-last-field{margin-bottom:0}.calendar-page .calendar-check-row{margin-bottom:var(--space-4)}.calendar-page .calendar-check{align-items:center;gap:var(--space-2);font-size:var(--fs-sm);cursor:pointer;display:inline-flex}.calendar-page .calendar-mode-options{gap:var(--space-3);margin-top:var(--space-1);display:flex}.calendar-page .calendar-mode-option{border:1px solid var(--color-border);border-radius:var(--radius-md);font-size:var(--fs-sm);cursor:pointer;align-items:center;gap:6px;padding:8px 16px;transition:all .15s;display:inline-flex}.calendar-page .calendar-mode-option.is-selected{border-color:var(--color-selected-border);background:var(--color-selected-bg)}.calendar-page .calendar-hint{font-size:var(--fs-xs);color:var(--color-text-subtle);margin-top:4px}.calendar-page .calendar-visio-fields{margin-bottom:var(--space-4)}.calendar-page .calendar-adverse{margin-bottom:var(--space-4);border:1px solid var(--color-border);background:var(--color-surface-alt);border-radius:8px;padding:10px 14px}.calendar-page .calendar-adverse-title{font-size:11px;font-weight:var(--fw-semibold);letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-subtle);margin-bottom:8px}.calendar-page .calendar-adverse .field-row{margin-bottom:0}.calendar-page .calendar-attachments{margin-bottom:var(--space-4)}.calendar-page .calendar-attachments-title{margin-bottom:var(--space-2);font-size:var(--fs-xs);color:var(--color-text-subtle)}.calendar-page .calendar-attachment{align-items:center;gap:var(--space-2);padding:var(--space-1) 0;font-size:var(--fs-sm);display:flex}.calendar-page .calendar-attachment-meta{font-size:var(--fs-xs);color:var(--color-text-subtle)}.calendar-page .calendar-help{margin-bottom:var(--space-2)}.calendar-page .calendar-file{font-size:var(--fs-sm)}.calendar-page .calendar-attendee-list{gap:var(--space-2);flex-direction:column;display:flex}.calendar-page .calendar-attendee{align-items:center;gap:var(--space-2);padding:var(--space-1) 0;font-size:var(--fs-sm);cursor:pointer;display:flex}.calendar-page .calendar-attendee-email{font-size:var(--fs-xs);color:var(--color-text-subtle)}.calendar-page .calendar-event-actions{margin-top:var(--space-3)}.calendar-page .calendar-inline-form{display:inline}.calendar-page .calendar-delete{color:var(--status-danger-solid)}.calendar-page .calendar-visio-url{font-size:var(--fs-xs);color:var(--color-text-subtle);word-break:break-all;margin-top:4px;display:inline-block}.calendar-page .calendar-description{font-size:var(--fs-sm);color:var(--color-text-muted);white-space:pre-line}.calendar-page .calendar-attendees{font-size:var(--fs-sm)}.calendar-page .matter-dl .matter-ref-link{display:flex}.calendar-page .card.calendar-sync-card{margin-bottom:var(--space-6)}.calendar-page .calendar-sync-heading-icon{vertical-align:-4px;margin-right:8px}.calendar-page .calendar-sync-providers{gap:var(--space-4);padding:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.calendar-page .calendar-sync-provider{gap:var(--space-2);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);flex-direction:column;display:flex}.calendar-page .calendar-sync-provider-head{align-items:center;gap:var(--space-3);display:flex}.calendar-page .calendar-sync-provider-head h4{font-size:var(--fs-sm);font-weight:var(--fw-semibold);margin:0}.calendar-page .calendar-sync-provider-icon{border-radius:var(--radius-md);background:var(--color-accent-soft);width:40px;height:40px;color:var(--color-accent-soft-fg);justify-content:center;align-items:center;display:flex}.calendar-page .calendar-sync-provider-text{font-size:var(--fs-xs);color:var(--color-text-subtle);flex:1;margin:0}.calendar-page .calendar-sync-provider-action{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.calendar-page .calendar-sync-empty{padding:var(--space-8);text-align:center;color:var(--color-text-subtle)}.calendar-page .calendar-sync-empty svg{margin-bottom:var(--space-3);opacity:.4}.calendar-page .calendar-sync-empty-text{font-size:var(--fs-sm)}.calendar-page .calendar-sync-empty-hint{font-size:var(--fs-xs);color:var(--color-text-disabled)}@media (width<=767px){.calendar-page .calendar-card{min-height:auto}.calendar-page #fullcalendar{font-size:12px}.calendar-page .fc .fc-toolbar{flex-direction:column;align-items:stretch;gap:8px}.calendar-page .fc .fc-toolbar-title{text-align:center;font-size:16px!important}.calendar-page .fc .fc-button{min-height:36px;padding:4px 8px;font-size:12px}.calendar-page .fc .fc-toolbar-chunk{justify-content:center;display:flex}.calendar-page .fc .fc-daygrid-day-number{padding:2px 4px;font-size:12px}.calendar-page .fc .fc-event{padding:1px 3px;font-size:11px}}@media (width<=639px){.calendar-page .calendar-modal-head,.calendar-page .calendar-modal-actions,.calendar-page .calendar-mode-options{flex-wrap:wrap}.calendar-page .calendar-event-actions{flex-wrap:nowrap}.calendar-page .calendar-inline-form{margin-bottom:4px;display:block}.calendar-page .calendar-modal{left:8px;right:8px}.calendar-page .calendar-pdf-icon{display:none}.calendar-page .calendar-event-actions>*{min-width:44px}.calendar-page .calendar-event-actions .calendar-action-edit{flex:0 110px}.calendar-page .calendar-event-actions .calendar-action-pdf{flex:0 186px}.calendar-page .calendar-event-actions .calendar-inline-form{flex:0 265px}}body.rdv-public{background:var(--color-bg);min-height:100vh;color:var(--color-text);justify-content:center;align-items:center;margin:0;padding:24px;display:flex}.rdv-public .rdv-card{background:var(--color-surface);width:100%;max-width:520px;box-shadow:var(--shadow-md);border-radius:16px;overflow:hidden}.rdv-public .rdv-header{text-align:center;background:var(--color-primary);color:var(--color-primary-fg);padding:28px 32px}.rdv-public .rdv-logo{height:40px;margin:0 auto 12px;display:block}.rdv-public .rdv-header h1{color:var(--color-primary-fg);margin:0 0 4px;font-size:20px}.rdv-public .rdv-header p{opacity:.7;margin:0;font-size:13px}.rdv-public .rdv-body{padding:28px 32px}.rdv-public .rdv-body .field{margin-bottom:16px}.rdv-public .rdv-body .field label{color:var(--color-text-muted);margin-bottom:4px;font-size:13px;font-weight:600;display:block}.rdv-public .rdv-body .field input,.rdv-public .rdv-body .field select,.rdv-public .rdv-body .field textarea{border:1px solid var(--color-border);border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px}.rdv-public .rdv-body .field-row{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:0;display:grid}.rdv-public .rdv-turnstile{margin-bottom:16px}.rdv-public .rdv-book{background:var(--color-primary);width:100%;color:var(--color-primary-fg);cursor:pointer;border:none;border-radius:8px;padding:14px;font-size:15px;font-weight:600}.rdv-public .rdv-book:hover{background:var(--color-primary-hover)}.rdv-public .rdv-flash-ok{border:1px solid var(--status-success-border);background:var(--status-success-bg);color:var(--status-success-fg);border-radius:8px;margin-bottom:16px;padding:12px;font-size:13px}.rdv-public .rdv-flash-err{border:1px solid var(--status-danger-border);background:var(--status-danger-bg);color:var(--status-danger-fg);border-radius:8px;margin-bottom:16px;padding:12px;font-size:13px}.rdv-public .rdv-done{text-align:center;color:var(--status-success-solid);margin:20px 0;font-size:14px}.rdv-public .rdv-done svg{margin:0 auto 12px;display:block}.rdv-public .rdv-powered{border-top:1px solid var(--color-border-subtle);text-align:center;color:var(--color-text-disabled);padding:16px;font-size:11px}.rdv-public .rdv-powered a{color:var(--color-text-subtle);text-decoration:none}:is(.signature-page,.document-show) .signature-status-badge{align-items:center;gap:var(--space-1);padding:3px var(--space-2);border-radius:var(--radius-sm);font-size:var(--fs-xs);font-weight:var(--fw-semibold);letter-spacing:var(--ls-wide);text-transform:uppercase;border:1px solid #0000;display:inline-flex}:is(.signature-page,.document-show) .signature-status-dot{background:currentColor;border-radius:50%;width:8px;height:8px;display:inline-block}:is(.signature-page,.document-show) .signature-status-pending{background:var(--status-neutral-bg);color:var(--status-neutral-fg);border-color:var(--status-neutral-border)}:is(.signature-page,.document-show) .signature-status-valid{background:var(--signature-valid-bg);color:var(--status-success-solid);border-color:var(--status-success-border)}:is(.signature-page,.document-show) .signature-status-invalid{background:var(--status-danger-bg);color:var(--status-danger-solid);border-color:var(--status-danger-border)}:is(.signature-page,.document-show) .signature-status-expired{background:var(--signature-expired-bg);color:var(--status-warning-solid);border-color:var(--status-warning-border)}:is(.signature-page,.document-show) .signature-status-revoked{background:var(--status-danger-bg);color:var(--signature-revoked-fg);border-color:var(--signature-revoked-fg)}:is(.signature-page,.document-show) .signature-level-badge{padding:3px var(--space-2);border-radius:var(--radius-sm);font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:var(--ls-wide);text-transform:uppercase;border:1px solid #0000;align-items:center;display:inline-flex}:is(.signature-page,.document-show) .signature-level-badge-ses{background:var(--signature-ses-bg);color:var(--signature-ses-fg);border-color:var(--signature-ses-border)}:is(.signature-page,.document-show) .signature-level-badge-aes{background:var(--signature-aes-bg);color:var(--signature-aes-fg);border-color:var(--signature-aes-border)}:is(.signature-page,.document-show) .signature-level-badge-qes{background:var(--signature-qes-bg);color:var(--signature-qes-fg);border-color:var(--signature-qes-border)}.document-show .signature-list{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.document-show .signature-item{padding:var(--space-3);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}.document-show .signature-item-head{align-items:center;gap:var(--space-2);margin-bottom:var(--space-1);flex-wrap:wrap;display:flex}.document-show .signature-item-actions{gap:var(--space-2);margin-top:var(--space-2);display:flex}.document-show .document-esign-request{margin-top:var(--space-4)}.document-show .document-esign-request>summary{cursor:pointer;list-style:none;display:inline-flex}.document-show .document-esign-request>summary::-webkit-details-marker{display:none}.document-show .document-esign-form{gap:var(--space-3);margin-top:var(--space-3);flex-direction:column;max-width:640px;display:flex}.document-show .document-esign-signer{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}@media (width<=640px){.document-show .document-esign-signer{grid-template-columns:1fr}}.signature-page .kpi-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid}.signature-page .kpi-card{gap:var(--space-1);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);flex-direction:column;display:flex}.signature-page .kpi-card.kpi-card-warning{background:var(--status-warning-bg);border-color:var(--status-warning-border)}.signature-page .kpi-card.kpi-card-danger{background:var(--status-danger-bg);border-color:var(--status-danger-border)}.signature-page .kpi-card .kpi-label{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--color-text-muted);font-weight:var(--fw-semibold)}.signature-page .kpi-card .kpi-value{font-family:var(--font-serif);font-size:var(--fs-2xl);font-weight:var(--fw-semibold);color:var(--color-heading);line-height:1}.signature-page .table-signatures .signature-col-level{width:120px}.signature-page .table-signatures .signature-col-format{width:90px}.signature-page .table-signatures .signature-col-status{width:150px}.signature-page .table-signatures .signature-col-date{width:170px}.signature-page .table-signatures .signature-col-actions{width:160px}.signature-page .signature-inline-form{display:inline}.signature-page .filters-bar .filter-field.signature-matter-field{width:210px}@media (width<=1023px){.signature-page .filters-bar .filter-field.signature-matter-field{width:268px}}@media (width<=767px){.signature-page .filters-bar .filter-field.signature-matter-field{width:100%}}.signature-page .signature-button-icon{vertical-align:-2px;margin-right:4px}.signature-page .signature-empty-icon{color:var(--color-border-strong)}.signature-page .signature-document-table .signature-signer{font-weight:var(--fw-medium);width:10%}.signature-page .signature-document-table .signature-nowrap{white-space:nowrap}.signature-page .signature-document-table .signature-small-button{font-size:11px}.signature-page .signature-small-icon{vertical-align:-1px;margin-right:2px}.signature-page .signature-break{word-break:break-all}.signature-page .dss-report{background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-4);max-height:480px;font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--color-text);white-space:pre-wrap;word-wrap:break-word;margin:0;overflow:auto}.signature-page .sign-form{padding:var(--space-6)}.signature-page .sign-form .field-hint{font-size:var(--fs-xs);color:var(--color-text-muted);display:block}.signature-page .sign-section{margin-bottom:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--color-border)}.signature-page .sign-section:last-child{border-bottom:0;margin-bottom:0}.signature-page .sign-section h2{font-size:var(--fs-md);margin:0 0 var(--space-3);color:var(--color-heading)}.signature-page .sign-level-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}.signature-page .sign-level-card{padding:var(--space-4);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;transition:border-color .15s,background-color .15s;display:block;position:relative}.signature-page .sign-level-card:hover{border-color:var(--color-primary);background:var(--color-surface-hover)}.signature-page .sign-level-card input[type=radio]{opacity:0;pointer-events:none;position:absolute}.signature-page .sign-level-card:has(input[type=radio]:checked){border-color:var(--color-primary);background:var(--color-primary-soft);box-shadow:inset 0 0 0 1px var(--color-primary)}.signature-page .sign-level-card:focus-within{box-shadow:var(--shadow-focus);outline:none}.signature-page .sign-level-badge{padding:3px var(--space-2);border-radius:var(--radius-sm);font-size:var(--fs-xs);font-weight:var(--fw-bold);letter-spacing:var(--ls-wide);margin-bottom:var(--space-2);display:inline-block}.signature-page .sign-level-badge-bronze{background:var(--signature-ses-bg);color:var(--signature-ses-fg);border:1px solid var(--signature-ses-border)}.signature-page .sign-level-badge-navy{background:var(--signature-aes-bg);color:var(--signature-aes-fg);border:1px solid var(--signature-aes-border)}.signature-page .sign-level-badge-navy-900{background:var(--signature-qes-bg);color:var(--signature-qes-fg);border:1px solid var(--signature-qes-border)}.signature-page .sign-level-label{font-weight:var(--fw-semibold);color:var(--color-text);margin-bottom:var(--space-1);display:block}.signature-page .sign-level-hint{line-height:1.4;display:block}.signature-page .sign-qes-warning{margin-top:var(--space-4)}.signature-page .signature-soon{display:inline-flex;position:relative}.signature-page .signature-soon-badge{margin-top:var(--space-1);white-space:nowrap;position:absolute;top:100%;right:0}@media (width<=768px){.signature-page .sign-level-grid{grid-template-columns:1fr}.signature-page .sign-form{padding:var(--space-4)}}.esign-page .esign-empty{padding:var(--space-6);text-align:center;color:var(--color-text-muted)}.esign-page .esign-empty-icon{opacity:.3;margin:0 auto 12px;display:block}body.esign-public{background:var(--color-bg);min-height:100vh;color:var(--color-text);justify-content:center;align-items:center;margin:0;padding:24px;font-family:Arial,sans-serif;display:flex}.esign-public .esign-card,.esign-public .esign-card *{box-sizing:border-box;margin:0;padding:0}.esign-public .esign-card{background:var(--color-surface);width:100%;max-width:560px;box-shadow:var(--shadow-md);border-radius:16px;overflow:hidden}.esign-public .esign-header{text-align:center;background:var(--color-primary);color:var(--color-primary-fg);padding:24px 32px}.esign-public .esign-header h1{color:var(--color-primary-fg);margin-bottom:4px;font-size:18px}.esign-public .esign-header p{opacity:.7;font-size:13px}.esign-public .esign-body{padding:28px 32px}.esign-public .esign-title{color:var(--color-heading);margin-bottom:16px;font-size:16px}.esign-public .esign-info-row{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;padding:8px 0;font-size:13px;display:flex}.esign-public .esign-info-label{color:var(--color-text-muted)}.esign-public .esign-info-value{color:var(--color-text);font-weight:600}.esign-public .esign-draw-hint{margin-top:20px;font-size:13px;font-weight:600}.esign-public .esign-canvas-wrap{border:2px dashed var(--color-border-strong);background:var(--color-surface-alt);border-radius:12px;margin:20px 0;padding:4px}.esign-public #sig-canvas{cursor:crosshair;width:100%;height:150px;color:var(--color-primary);border-radius:8px;display:block}.esign-public .esign-clear{color:var(--status-danger-solid);cursor:pointer;background:0 0;border:none;margin-top:8px;font-size:12px}.esign-public .esign-form{margin-top:16px}.esign-public .esign-submit{background:var(--color-primary);width:100%;color:var(--color-primary-fg);cursor:pointer;border:none;border-radius:8px;padding:14px;font-size:15px;font-weight:600}.esign-public .esign-submit:hover{background:var(--color-primary-hover)}.esign-public .esign-submit-icon{vertical-align:-3px;margin-right:6px}.esign-public .esign-legal{color:var(--color-text-disabled);margin-top:16px;font-size:11px;line-height:1.5}body.esign-public.esign-message{padding:8px;font-size:16px;line-height:normal}.esign-message h1{letter-spacing:normal;margin:.67em 0;font-family:Arial,sans-serif;font-size:2em;font-weight:700;line-height:normal}.esign-message p{margin:1em 0;font-size:16px;line-height:normal}.esign-message .esign-message-box{text-align:center}.esign-message .esign-message-done{color:var(--status-success-solid)}.esign-message .esign-message-icon{background:var(--status-success-bg);width:80px;height:80px;color:var(--status-success-solid);border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;display:inline-flex}.esign-message .esign-message-heading,.esign-message .esign-message-code{color:var(--color-heading)}.esign-message .esign-message-text{color:var(--color-text-muted)}.esign-message .esign-message-hash{font-size:11px}.esign-message .esign-message-link{color:var(--color-link)}.ar24-page .ar24-header-actions{gap:8px;display:flex}.ar24-page .ar24-banner{margin-bottom:16px}.ar24-page .ar24-banner-link{font-weight:700}.ar24-page .ar24-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.ar24-page .card.ar24-stat{text-align:center;padding:16px}.ar24-page .ar24-stat-value{color:var(--color-heading);font-size:24px;font-weight:800}.ar24-page .ar24-stat-value.is-pending{color:var(--status-warning-solid)}.ar24-page .ar24-stat-value.is-delivered{color:var(--status-success-solid)}.ar24-page .ar24-stat-value.is-read{color:var(--status-info-solid)}.ar24-page .ar24-stat-label{color:var(--color-text-muted);text-transform:uppercase;font-size:11px}.ar24-page .table td.ar24-nowrap{white-space:nowrap}.ar24-page .ar24-recipient{color:var(--color-primary);font-weight:600}.ar24-page .ar24-recipient-email{color:var(--color-text-muted);font-size:11px}.ar24-page .ar24-type{font-size:10px;font-weight:600}.ar24-page .table td.ar24-sender{color:var(--color-text-muted);font-size:11px}.ar24-page .table td.ar24-empty{text-align:center;color:var(--color-text-subtle);padding:32px}.ar24-page .badge.ar24-status{color:var(--color-text-inverse);background:var(--color-text-muted)}.ar24-page .badge.ar24-status.is-sent{background:var(--status-warning-solid)}.ar24-page .badge.ar24-status.is-delivered{background:var(--status-success-solid)}.ar24-page .badge.ar24-status.is-read{background:var(--status-info-solid)}.ar24-page .badge.ar24-status.is-refused,.ar24-page .badge.ar24-status.is-error{background:var(--status-danger-solid)}.ar24-page .badge.ar24-status.is-expired{background:var(--color-text-subtle)}.ar24-page .ar24-show-grid{grid-template-columns:1fr 1fr;gap:16px;max-width:900px;display:grid}.ar24-page .card.ar24-show-card{padding:20px}.ar24-page .ar24-show-title{margin-bottom:12px;font-size:14px;font-weight:700}.ar24-page .ar24-details{grid-template-columns:120px 1fr;gap:6px 12px;font-size:13px;display:grid}.ar24-page .ar24-details dt{color:var(--color-text-muted);font-weight:600}.ar24-page .ar24-code{font-size:11px}.ar24-page .ar24-timeline{font-size:13px}.ar24-page .ar24-step{align-items:center;gap:8px;margin-bottom:8px;display:flex}.ar24-page .ar24-dot{background:var(--status-success-solid);border-radius:50%;flex-shrink:0;width:8px;height:8px}.ar24-page .ar24-dot.is-sent{background:var(--status-warning-solid)}.ar24-page .ar24-dot.is-read{background:var(--status-info-solid)}.ar24-page .ar24-dot.is-error{background:var(--status-danger-solid)}.ar24-page .ar24-error{color:var(--status-danger-solid)}.ar24-page .ar24-tracking{margin-top:12px}.ar24-page .card.ar24-content-card{max-width:900px;margin-top:16px;padding:20px}.ar24-page .ar24-content{border:1px solid var(--color-border);background:var(--color-surface-alt);white-space:pre-wrap;border-radius:8px;padding:16px;font-size:13px;line-height:1.7}.ar24-page .card.ar24-form-card{max-width:700px}.ar24-page .card.ar24-settings-card{max-width:600px}.ar24-page .ar24-form{padding:24px}.ar24-page .ar24-grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ar24-page .ar24-gap-bottom{margin-bottom:16px}.ar24-page .ar24-gap-bottom-sm{margin-bottom:12px}.ar24-page .ar24-gap-bottom-lg{margin-bottom:20px}.ar24-page .ar24-gap-top{margin-top:12px}.ar24-page .ar24-separator{border:none;border-top:1px solid var(--color-border);margin:20px 0}.ar24-page .ar24-section-title{margin-bottom:12px;font-size:14px;font-weight:700}.ar24-page .ar24-form-actions{justify-content:flex-end;gap:8px;display:flex}.ar24-page .ar24-soon-wrap{display:inline-flex;position:relative}.ar24-page .ar24-soon-badge{white-space:nowrap;color:var(--color-text-subtle);margin-top:2px;font-size:10px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.ar24-page .ar24-hint{color:var(--color-text-muted);margin-top:4px;font-size:11px}.ar24-page .ar24-hint-block{color:var(--color-text-muted);margin-bottom:8px;font-size:12px}.ar24-page .ar24-check{align-items:center;gap:8px;display:flex}.ar24-page .card.ar24-webhook-card{margin-top:16px;padding:20px}.ar24-page .ar24-webhook-title{margin-bottom:8px}.ar24-page .ar24-webhook-url{background:var(--color-surface-alt);word-break:break-all;border-radius:6px;padding:10px;font-size:12px;display:block}.ar24-page .card.ar24-easyreco-card{margin-top:24px}.ar24-page .ar24-easyreco-title{margin-bottom:4px;font-size:16px;font-weight:700}.ar24-page .ar24-link{color:var(--color-link)}@media (width<=1023px){.ar24-page .ar24-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=639px){.ar24-page .ar24-stats{gap:8px}.ar24-page .ar24-show-grid,.ar24-page .ar24-grid-2{grid-template-columns:1fr;gap:8px}.ar24-page .ar24-header-actions,.ar24-page .ar24-form-actions,.ar24-page .ar24-step{flex-wrap:wrap}}.rmail-page .card.rmail-send-card{margin-bottom:var(--space-6)}.rmail-page .rmail-form{padding:var(--space-4)}.rmail-page .rmail-grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.rmail-page .btn.rmail-send-button{background:var(--status-danger-solid)}.rmail-page .rmail-send-icon{margin-right:6px}.rmail-page .rmail-soon-wrap{display:inline-flex;position:relative}.rmail-page .rmail-soon-badge{white-space:nowrap;color:var(--color-text-subtle);margin-top:2px;font-size:10px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.rmail-page .rmail-legal-note{margin-top:var(--space-4);color:var(--color-text-muted);font-size:12px}.rmail-page .rmail-empty{padding:var(--space-6);text-align:center;color:var(--color-text-muted)}@media (width<=639px){.rmail-page .rmail-grid-2{grid-template-columns:1fr;gap:8px}.rmail-page .form-actions .rmail-soon-wrap,.rmail-page .form-actions .rmail-soon-wrap .btn{width:100%}.rmail-page .form-actions .rmail-soon-wrap .btn{justify-content:center}}body.ar-confirm-public{background:var(--color-bg);justify-content:center;align-items:center;min-height:100vh;margin:0;padding:8px;font-family:Arial,sans-serif;font-size:16px;line-height:normal;display:flex}.ar-confirm-public .ar-confirm-box{text-align:center;max-width:400px}.ar-confirm-public .ar-confirm-icon{background:var(--status-success-bg);width:64px;height:64px;color:var(--status-success-solid);border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;display:inline-flex}.ar-confirm-public .ar-confirm-title{letter-spacing:normal;color:var(--color-heading);margin:.67em 0;font-family:Arial,sans-serif;font-size:20px;font-weight:700;line-height:normal}.ar-confirm-public .ar-confirm-text{color:var(--color-text-muted);margin:1em 0;font-size:16px;line-height:normal}.ebarreau-page .ebarreau-add-icon{margin-right:4px}.ebarreau-page .ebarreau-flash{margin-bottom:var(--space-4)}.ebarreau-page .ebarreau-stats{margin-bottom:var(--space-6);flex-wrap:wrap;gap:12px;display:flex}.ebarreau-page .card.ebarreau-stat{text-align:center;flex:1;min-width:120px;padding:16px}.ebarreau-page .ebarreau-stat-value{color:var(--color-heading);font-size:24px;font-weight:700}.ebarreau-page .ebarreau-stat-label{color:var(--color-text-muted);font-size:12px}.ebarreau-page .ebarreau-empty{padding:var(--space-6);text-align:center;color:var(--color-text-muted)}.ebarreau-page .table td.ebarreau-case{font-family:monospace}.ebarreau-page .table td.ebarreau-actions{text-align:right}.ebarreau-page .ebarreau-inline{display:inline}.ebarreau-page .back-link{margin:0 0 var(--space-3);font-size:var(--fs-sm)}.ebarreau-page .back-link a{align-items:center;gap:var(--space-1);color:var(--color-link);text-decoration:none;display:inline-flex}.ebarreau-page .card.ebarreau-form{max-width:640px}.ebarreau-page .ebarreau-form-body{padding:var(--space-4)}.ebarreau-page .ebarreau-grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=639px){.ebarreau-page .ebarreau-grid-2{grid-template-columns:1fr;gap:8px}}.error-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:72vh;padding:60px 24px;display:flex}.error-page-visual{margin-bottom:32px;position:relative}.error-page-code{letter-spacing:-8px;color:var(--color-surface-hover);-webkit-user-select:none;user-select:none;font-size:160px;font-weight:900;line-height:1}.error-page-icon{color:var(--color-primary);opacity:.6;line-height:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.error-page-icon--alone{opacity:.5;position:static;transform:none}.error-page--warning .error-page-code{color:var(--status-warning-bg)}.error-page--warning .error-page-icon{color:var(--status-warning-solid);opacity:.7}.error-page--danger .error-page-code{color:var(--status-danger-bg)}.error-page--danger .error-page-icon{color:var(--status-danger-solid)}.error-page--info .error-page-code{color:var(--status-info-bg)}.error-page--info .error-page-icon{color:var(--status-info-fg)}.error-page-title{color:var(--color-primary);margin:0 0 8px;font-size:24px;font-weight:700}.error-page-lead{max-width:420px;color:var(--color-text-muted);margin:0 0 12px;font-size:15px;line-height:1.7}.error-page-sub{max-width:420px;color:var(--color-text-subtle);margin:0 0 32px;font-size:13px}.error-page-detail{max-width:420px;color:var(--status-warning-fg);margin:0 0 12px;font-size:14px;font-weight:600}.error-page-lead:last-of-type:not(:has(+.error-page-sub)){margin-bottom:32px}.error-page-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.error-page-btn{gap:6px}.error-page-footer{color:var(--color-text-disabled);margin-top:40px;font-size:12px}.dark .error-page-title{color:var(--color-text)}@media (width<=480px){.error-page{min-height:60vh;padding:40px 16px}.error-page-code{letter-spacing:-5px;font-size:112px}}.bareme-macron-grid{gap:var(--space-4);grid-template-columns:1fr 2fr;display:grid}.bareme-macron-params{align-self:start}.bareme-macron-params-body{padding:var(--space-3)}.bareme-macron-submit{width:100%}.bareme-macron-totals{margin-bottom:var(--space-4)}.bareme-macron-floor{color:var(--status-warning-fg)}.bareme-macron-ceiling{color:var(--status-danger-fg)}.bareme-macron-detail{margin-bottom:var(--space-4)}.bareme-macron-months{color:var(--color-text-muted)}.bareme-macron-amount{font-weight:var(--fw-semibold)}.bareme-macron-total-row{border-top:2px solid var(--color-border-strong)}.bareme-macron-total-row td:first-child{font-weight:var(--fw-bold)}.bareme-macron-total-row td:last-child{font-weight:var(--fw-bold);font-size:var(--fs-base);color:var(--color-heading)}.bareme-macron-scale{max-height:400px;overflow-y:auto}.bareme-macron-scale .table{font-size:var(--fs-xs)}.bareme-macron-scale tr.is-current{background:var(--color-selected-bg);font-weight:var(--fw-bold)}.bareme-macron-empty{padding:var(--space-8)}.bareme-macron-empty>svg{margin:0 auto var(--space-3);color:var(--color-text-subtle);display:block}@media (width<=768px){.bareme-macron-totals{grid-template-columns:1fr}}@media (width<=639px){.bareme-macron-grid{grid-template-columns:1fr;gap:8px}}.chronologie-grid{gap:var(--space-4);grid-template-columns:2fr 1fr;display:grid}.chronologie-empty{padding:var(--space-8)}.chronologie-empty .icon-xl{width:48px;height:48px;margin-bottom:var(--space-3)}.chronologie-track{padding-left:28px;position:relative}.chronologie-line{background:var(--color-border);width:2px;position:absolute;top:0;bottom:0;left:10px}.chronologie-item{margin-bottom:var(--space-4);position:relative}.chronologie-dot{border:2px solid var(--color-surface);background:currentColor;border-radius:50%;width:14px;height:14px;position:absolute;top:4px;left:-24px;box-shadow:0 0 0 2px}@supports (color:color-mix(in lab, red, red)){.chronologie-dot{box-shadow:0 0 0 2px color-mix(in srgb, currentColor 20%, transparent)}}.chronologie-card{padding:var(--space-3)}.chronologie-card.is-critical{border-left:3px solid var(--status-danger-fg)}.chronologie-card-body{justify-content:space-between;align-items:start;display:flex}.chronologie-type{font-size:11px;font-weight:var(--fw-semibold);text-transform:uppercase;letter-spacing:.5px}.chronologie-piece{background:var(--color-surface-alt);border-radius:var(--radius-sm);font-size:10px;font-family:var(--font-mono);margin-left:6px;padding:1px 6px}.chronologie-title{margin:4px 0 0;font-size:14px}.chronologie-desc,.chronologie-document{color:var(--color-text-muted);margin:4px 0 0;font-size:12px}.chronologie-when{text-align:right;white-space:nowrap}.chronologie-date{font-size:13px;font-weight:var(--fw-semibold)}.chronologie-delete-form{margin-top:4px}.chronologie-delete{color:var(--color-text-subtle);cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:11px}.chronologie-delete:hover{color:var(--status-danger-fg)}.chronologie-aside{align-self:start}.chronologie-form{padding:var(--space-3)}.chronologie-form .field>label{font-size:14px}.chronologie-form .field textarea{min-height:44px}.chronologie-form-row{gap:var(--space-2);grid-template-columns:1fr 1fr;display:grid}.chronologie-critical{align-items:end;padding-bottom:4px;display:flex}.chronologie-form .chronologie-critical input[type=checkbox]{width:13px;height:13px;min-height:0;margin:0}.chronologie-form .chronologie-critical>label{cursor:pointer;align-items:center;gap:6px;margin-bottom:0;font-size:13px;display:flex}.chronologie-submit{width:100%;margin-top:var(--space-2)}.chronologie-prescriptions{margin-top:var(--space-4)}.chronologie-prescriptions-body{padding:var(--space-3);font-size:12px}.chronologie-prescription-row{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;padding:4px 0;display:flex}.chronologie-prescription-duration{color:var(--color-text-muted)}.chronologie-prescription-deadline{color:var(--status-warning-fg);text-align:right;padding:2px 0 4px;font-size:11px}.chronologie-prescription-deadline.is-expired{color:var(--status-danger-fg)}.chronologie-prescriptions-note{color:var(--color-text-muted);margin-top:8px;font-size:11px}.timeline-tone-info{color:var(--timeline-tone-info)}.timeline-tone-muted{color:var(--timeline-tone-muted)}.timeline-tone-danger{color:var(--timeline-tone-danger)}.timeline-tone-primary{color:var(--timeline-tone-primary)}.timeline-tone-success{color:var(--timeline-tone-success)}.timeline-tone-violet{color:var(--timeline-tone-violet)}.timeline-tone-subtle{color:var(--timeline-tone-subtle)}.timeline-tone-warning{color:var(--timeline-tone-warning)}@media (width<=639px){.chronologie-grid,.chronologie-form-row{grid-template-columns:1fr;gap:8px}}@layer theme{:root,:host{--font-sans:"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:var(--status-danger-bg);--color-red-100:var(--status-danger-fg);--color-red-200:var(--status-danger-fg);--color-red-300:var(--status-danger-fg);--color-red-400:var(--status-danger-fg);--color-red-600:var(--status-danger-fg);--color-red-800:var(--status-danger-border);--color-red-900:var(--status-danger-border);--color-red-950:var(--status-danger-bg);--color-amber-100:var(--status-warning-fg);--color-amber-300:var(--status-warning-border);--color-amber-700:var(--status-warning-border);--color-amber-950:var(--status-warning-bg);--color-emerald-100:var(--status-success-fg);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-700:var(--status-success-border);--color-emerald-950:var(--status-success-bg);--color-cyan-200:var(--color-link-hover);--color-cyan-300:var(--color-link);--color-cyan-400:var(--color-primary);--color-cyan-500:var(--color-primary);--color-zinc-100:var(--color-text);--color-zinc-200:var(--color-text);--color-zinc-300:var(--color-text-muted);--color-zinc-400:var(--color-text-subtle);--color-zinc-500:var(--color-text-subtle);--color-zinc-600:var(--color-border-strong);--color-zinc-700:var(--color-border-strong);--color-zinc-800:var(--color-border-subtle);--color-zinc-900:var(--color-surface-alt);--color-zinc-950:var(--color-surface);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-extrabold:800;--tracking-normal:0em;--tracking-wide:.025em;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.right-0{right:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.mx-auto{margin-inline:auto}.my-6{margin-block:calc(var(--spacing) * 6)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-7{margin-bottom:calc(var(--spacing) * 7)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-fit{height:fit-content}.h-full{height:100%}.max-h-72{max-height:calc(var(--spacing) * 72)}.max-h-full{max-height:100%}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-\[44rem\]{min-height:44rem}.min-h-screen{min-height:100vh}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-full{min-width:100%}.min-w-max{min-width:max-content}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-1{row-gap:calc(var(--spacing) * 1)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-zinc-800>:not(:last-child)){border-color:var(--color-zinc-800)}.self-end{align-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-md{border-top-left-radius:var(--radius-md);border-top-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-\[var\(--color-border\)\]{border-color:var(--color-border)}.border-\[var\(--color-border-subtle\)\]{border-color:var(--color-border-subtle)}.border-\[var\(--color-primary\)\]{border-color:var(--color-primary)}.border-\[var\(--status-warning-border\)\]{border-color:var(--status-warning-border)}.border-amber-300{border-color:var(--color-amber-300)}.border-amber-700{border-color:var(--color-amber-700)}.border-cyan-400{border-color:var(--color-cyan-400)}.border-emerald-700{border-color:var(--color-emerald-700)}.border-red-300{border-color:var(--color-red-300)}.border-red-800{border-color:var(--color-red-800)}.border-red-900{border-color:var(--color-red-900)}.border-transparent{border-color:#0000}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-800{border-color:var(--color-zinc-800)}.bg-\[var\(--color-primary\)\]{background-color:var(--color-primary)}.bg-\[var\(--color-surface\)\]{background-color:var(--color-surface)}.bg-\[var\(--color-surface-alt\)\]{background-color:var(--color-surface-alt)}.bg-\[var\(--status-success-bg\)\]{background-color:var(--status-success-bg)}.bg-\[var\(--status-warning-bg\)\]{background-color:var(--status-warning-bg)}.bg-amber-950\/40{background-color:var(--color-amber-950)}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/40{background-color:color-mix(in oklab, var(--color-amber-950) 40%, transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-emerald-950\/40{background-color:var(--color-emerald-950)}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\/40{background-color:color-mix(in oklab, var(--color-emerald-950) 40%, transparent)}}.bg-red-50{background-color:var(--color-red-50)}.bg-red-950\/40{background-color:var(--color-red-950)}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/40{background-color:color-mix(in oklab, var(--color-red-950) 40%, transparent)}}.bg-red-950\/50{background-color:var(--color-red-950)}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-white{background-color:var(--color-white)}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-900,.bg-zinc-900\/80{background-color:var(--color-zinc-900)}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\/80{background-color:color-mix(in oklab, var(--color-zinc-900) 80%, transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.p-1{padding:calc(var(--spacing) * 1)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-8{--tw-leading:calc(var(--spacing) * 8);line-height:calc(var(--spacing) * 8)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[var\(--color-primary\)\]{color:var(--color-primary)}.text-\[var\(--color-text\)\]{color:var(--color-text)}.text-\[var\(--color-text-muted\)\]{color:var(--color-text-muted)}.text-\[var\(--color-text-subtle\)\]{color:var(--color-text-subtle)}.text-\[var\(--status-success-fg\)\]{color:var(--status-success-fg)}.text-\[var\(--status-warning-fg\)\]{color:var(--status-warning-fg)}.text-amber-100{color:var(--color-amber-100)}.text-cyan-300{color:var(--color-cyan-300)}.text-cyan-400{color:var(--color-cyan-400)}.text-cyan-500{color:var(--color-cyan-500)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-400{color:var(--color-emerald-400)}.text-red-100{color:var(--color-red-100)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-950{color:var(--color-zinc-950)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-cyan-400{--tw-ring-color:var(--color-cyan-400)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}@media (hover:hover){.hover\:border-\[var\(--color-border-strong\)\]:hover{border-color:var(--color-border-strong)}.hover\:border-cyan-400:hover{border-color:var(--color-cyan-400)}.hover\:bg-\[var\(--color-surface-alt\)\]:hover{background-color:var(--color-surface-alt)}.hover\:text-\[var\(--color-text\)\]:hover{color:var(--color-text)}.hover\:text-cyan-200:hover{color:var(--color-cyan-200)}.hover\:text-red-200:hover{color:var(--color-red-200)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-cyan-400:focus{border-color:var(--color-cyan-400)}.disabled\:opacity-40:disabled{opacity:.4}.aria-\[current\=true\]\:bg-\[var\(--color-surface-alt\)\][aria-current=true]{background-color:var(--color-surface-alt)}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-start{align-items:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}}@media (width>=48rem){.md\:col-span-1{grid-column:span 1/span 1}.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-5{grid-column:span 5/span 5}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}}@media (width>=64rem){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:col-span-6{grid-column:span 6/span 6}.lg\:col-span-12{grid-column:span 12/span 12}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}}}.admin-main .text-white,.admin-main .text-zinc-950,.auth-card .text-white{color:var(--color-text)}.admin-main .text-zinc-700,.admin-main .text-zinc-600{color:var(--color-text-subtle)}.admin-main .bg-white,.auth-card .bg-white{background-color:var(--color-surface)}.admin-main .bg-black\/60{background-color:var(--color-overlay)}.admin-main span[class*=rounded-full],.admin-main span[class*=rounded-md]{align-items:center;gap:var(--space-1);background:var(--status-neutral-bg);color:var(--status-neutral-fg);font-family:var(--font-sans);font-size:11px;font-weight:var(--fw-semibold);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;border:0;border-radius:6px;padding:3px 10px;line-height:1.4;display:inline-flex}.admin-main span[class*=rounded-full][class*=cyan],.admin-main span[class*=rounded-md][class*=cyan]{background:var(--status-info-bg);color:var(--status-info-fg)}.admin-main span[class*=rounded-full][class*=emerald],.admin-main span[class*=rounded-md][class*=emerald]{background:var(--status-success-bg);color:var(--status-success-fg)}.admin-main span[class*=rounded-full][class*=amber],.admin-main span[class*=rounded-md][class*=amber]{background:var(--status-warning-bg);color:var(--status-warning-fg)}.admin-main span[class*=rounded-full][class*=red],.admin-main span[class*=rounded-md][class*=red]{background:var(--status-danger-bg);color:var(--status-danger-fg)}.admin-main a[class*=text-cyan]{color:var(--color-link);font-weight:var(--fw-medium);text-decoration:none}.admin-main a[class*=text-cyan]:hover{color:var(--color-link-hover);text-decoration:underline}.admin-main table tbody td.font-medium,.admin-main table tbody td .font-medium{color:var(--color-text);font-weight:var(--fw-semibold)}.filter-toolbar[data-filter-toolbar]{align-items:center;gap:var(--space-3);min-width:0;padding:var(--space-4);margin:0 0 var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;flex-flow:wrap;display:flex}.filter-toolbar[data-filter-toolbar].documents-toolbar{border:0;border-radius:12px 12px 0 0;margin:0}.filter-toolbar[data-filter-toolbar].period-picker{border:0;margin:0;padding:0}.filter-toolbar[data-filter-toolbar] .filter-toolbar-group,.filter-toolbar[data-filter-toolbar]>.provisions-filters-extra,.filter-toolbar[data-filter-toolbar]>.flex{display:contents}.filter-toolbar[data-filter-toolbar] .filter-control{flex-direction:row;flex:0 1 var(--filter-control-width,220px);width:var(--filter-control-width,220px);border:0;align-items:center;gap:0;min-width:0;max-width:100%;height:40px;margin:0;display:flex;position:relative}.filter-toolbar[data-filter-toolbar] .filter-control>label{width:auto;height:auto;color:var(--color-text-subtle);font-size:var(--fs-sm);font-weight:var(--fw-regular);white-space:nowrap;pointer-events:none;clip:auto;clip-path:none;z-index:1;margin:0;padding:0;line-height:normal;display:block;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.filter-toolbar[data-filter-toolbar] .filter-control:has(.searchable-select)>label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;overflow:hidden}.filter-toolbar[data-filter-toolbar] .filter-control .searchable-select{flex:1;width:100%;min-width:0}.filter-toolbar[data-filter-toolbar] .filter-control .searchable-select.is-open{z-index:auto}.filter-toolbar[data-filter-toolbar] .filter-control>:is(input.input,select.select){width:100%;min-width:0;max-width:none;height:40px;padding:0 12px 0 var(--filter-label-space,76px);font-size:var(--fs-sm);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background-color:var(--color-surface);color:var(--color-text)}.filter-toolbar[data-filter-toolbar] .searchable-select-trigger{text-align:left;width:100%;min-width:0;height:40px;font-size:var(--fs-sm);font-weight:var(--fw-regular);border:1px solid var(--color-border-strong);border-radius:var(--radius-md);background-color:var(--color-surface);color:var(--color-text);cursor:pointer;align-items:center;gap:8px;padding:0 32px 0 12px;display:flex}.filter-toolbar[data-filter-toolbar] .filter-control-label{color:var(--color-text-subtle);flex:none}.filter-toolbar[data-filter-toolbar] .filter-control-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.filter-toolbar[data-filter-toolbar] .searchable-select-dropdown{min-width:0}.filter-toolbar[data-filter-toolbar] .searchable-select-search.input{width:100%;height:40px;font-size:var(--fs-sm);padding:0 12px}.filter-toolbar[data-filter-toolbar] .filter-search{flex:260px;width:auto;min-width:180px;max-width:100%;margin:0}.filter-toolbar[data-filter-toolbar] .filter-search :is(.input,input){border-radius:var(--radius-md);background:var(--color-surface-alt);width:100%;height:40px;min-height:0;font-size:var(--fs-sm);border:1px solid #0000}.filter-toolbar[data-filter-toolbar] .filter-search :is(.input,input):hover{border-color:var(--color-border-strong)}.filter-toolbar[data-filter-toolbar] .filter-search :is(.input,input):focus{border-color:var(--color-primary)}.filter-toolbar[data-filter-toolbar] .filter-actions,.filter-toolbar[data-filter-toolbar] .reminders-filters__actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.filter-toolbar[data-filter-toolbar] .btn{height:40px;min-height:40px}.filter-toolbar[data-filter-toolbar] .reset-link{color:var(--color-text-subtle);font-size:var(--fs-xs)}.filter-toolbar[data-filter-toolbar] .filter-control:focus-within{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:var(--radius-md)}.filter-toolbar[data-filter-toolbar] .filter-control :is(.input,.select):focus{box-shadow:none;outline:none}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-quick-filter{flex-basis:248px;width:248px;max-width:260px}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-format-filter{flex-basis:178px;width:178px}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-filter-panel .searchable-select-trigger{display:block}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-filter-panel-heading .btn{height:28px;min-height:28px}:is(.card.provisions-filters:has(>.filter-toolbar),.card.reporting-period:has(>.filter-toolbar)){background:0 0;border:0;padding:0}.card.provisions-filters>.filter-toolbar,.card.reporting-period>.filter-toolbar{margin-bottom:0}@media (width<=1100px){.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-quick-filter{flex:1;max-width:none}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-search{flex-basis:100%}}@media (width<=639px){.filter-toolbar[data-filter-toolbar]{padding:var(--space-3);gap:var(--space-2)}.filter-toolbar[data-filter-toolbar] .filter-control,.filter-toolbar[data-filter-toolbar] .filter-search{flex:100%;width:100%;min-width:0}.filter-toolbar[data-filter-toolbar] .filter-spacer{display:none}.filter-toolbar[data-filter-toolbar] .filter-actions{width:100%}.filter-toolbar[data-filter-toolbar].documents-toolbar .documents-quick-filter{flex:calc(50% - 8px)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
