@layer tokens,base,components,shell,pages;@layer tokens{:root,:root[data-theme=dark]{color-scheme:dark;--bg-primary: #0a0a0f;--bg-secondary: #12121a;--bg-tertiary: #1a1a25;--bg-elevated: #222230;--bg-hover: rgba(255, 255, 255, .04);--bg-active: rgba(255, 255, 255, .06);--surface: #16161f;--surface-hover: #1e1e2a;--surface-active: #262635;--surface-border: rgba(255, 255, 255, .08);--surface-border-hover: rgba(255, 255, 255, .14);--text-primary: #f0f0f5;--text-secondary: #9898aa;--text-muted: #8a8a9c;--text-disabled: #4a4a58;--glass-bg: rgba(22, 22, 31, .7);--glass-border: rgba(255, 255, 255, .1);--overlay: rgba(0, 0, 0, .6);--accent-text: #f06a80;--success-text: #4ade80;--warning-text: #fbbf24;--error-text: #f87171;--info-text: #60a5fa;--skeleton-a: rgba(255, 255, 255, .04);--skeleton-b: rgba(255, 255, 255, .09);--critical-bg: #7f1d1d;--critical-text: #fecaca;--card-shadow: none;--series-1: #338ced;--series-2: #e76624;--chart-grid: rgba(255, 255, 255, .08)}:root[data-theme=light]{color-scheme:light;--bg-primary: #f6f7f9;--bg-secondary: #ffffff;--bg-tertiary: #f1f3f5;--bg-elevated: #ffffff;--bg-hover: rgba(0, 0, 0, .04);--bg-active: rgba(0, 0, 0, .06);--surface: #ffffff;--surface-hover: #f5f5f8;--surface-active: #ebecef;--surface-border: rgba(0, 0, 0, .12);--surface-border-hover: rgba(0, 0, 0, .24);--text-primary: #14141c;--text-secondary: #4f5061;--text-muted: #5e6072;--text-disabled: #8a8c9c;--glass-bg: rgba(255, 255, 255, .85);--glass-border: rgba(0, 0, 0, .08);--overlay: rgba(20, 20, 28, .45);--accent-text: #b3132f;--success-text: #166534;--warning-text: #854d0e;--error-text: #b91c1c;--info-text: #1d4ed8;--skeleton-a: rgba(0, 0, 0, .04);--skeleton-b: rgba(0, 0, 0, .09);--critical-bg: #991b1b;--critical-text: #ffffff;--card-shadow: 0 1px 2px rgba(20, 20, 28, .06), 0 2px 6px rgba(20, 20, 28, .04);--series-1: #257de0;--series-2: #f47230;--chart-grid: rgba(0, 0, 0, .08)}:root{--accent: #d71f3f;--accent-hover: #c01a37;--accent-active: #a8182f;--accent-subtle: rgba(215, 31, 63, .16);--accent-border: rgba(215, 31, 63, .3);--accent-glow: rgba(215, 31, 63, .3);--on-accent: #ffffff;--success: #22c55e;--success-subtle: rgba(34, 197, 94, .12);--success-border: rgba(34, 197, 94, .3);--warning: #f59e0b;--warning-subtle: rgba(245, 158, 11, .12);--warning-border: rgba(245, 158, 11, .3);--error: #ef4444;--error-subtle: rgba(239, 68, 68, .12);--error-border: rgba(239, 68, 68, .3);--info: #3b82f6;--info-subtle: rgba(59, 130, 246, .12);--info-border: rgba(59, 130, 246, .3);--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--text-2xs: 12px;--text-xs: 12px;--text-sm: 12px;--text-md: 13px;--text-base: 14px;--text-lg: 16px;--text-xl: 20px;--text-2xl: 24px;--text-3xl: 28px;--leading-tight: 1.2;--leading-normal: 1.5;--leading-relaxed: 1.6;--space-3xs: 2px;--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 40px;--space-3xl: 56px;--radius-xs: 2px;--radius-sm: 4px;--radius: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-pill: 999px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);--shadow-md: 0 4px 12px rgba(0, 0, 0, .4);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .5);--shadow-glow: 0 0 12px rgba(215, 31, 63, .2);--glass-blur: blur(16px);--motion-fast: .15s;--motion-base: .2s;--motion-slow: .24s;--motion-ease: cubic-bezier(.2, .8, .2, 1);--z-header: 20;--z-sidebar: 40;--z-float: 50;--z-modal: 100;--z-toast: 9999;--sidebar-w: clamp(200px, 18vw, 240px);--header-h: 56px;--bottom-nav-h: 64px;--modal-w-sm: 420px;--modal-w-md: 560px;--input-height: 40px;--btn-height-sm: 32px;--btn-height-md: 40px;--btn-height-lg: 48px;--touch: 44px;--border: 1px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}}@layer base{*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text-primary);background:var(--bg-primary);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh;min-height:100dvh}html.menu-open,html.menu-open body{overflow:hidden}h1,h2,h3,p,ul,ol,dl,dd,fieldset{margin:0;padding:0}ul,ol{list-style:none}a{color:var(--accent-text);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}table{border-collapse:collapse;width:100%}fieldset{border:0;min-width:0}::selection{background:var(--accent-glow)}:focus{outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-sm);box-shadow:0 0 0 4px var(--accent-subtle)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--text-muted);font-weight:400}.num{text-align:right;font-variant-numeric:tabular-nums}*{scrollbar-width:thin;scrollbar-color:var(--surface-border-hover) transparent}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}}@layer shell{.shell{min-height:100vh;min-height:100dvh}.skip-link{position:fixed;top:var(--space-xs);left:var(--space-xs);z-index:var(--z-toast);display:inline-flex;align-items:center;min-height:var(--touch);padding:0 var(--space-md);border-radius:var(--radius);background:var(--accent);color:var(--on-accent);font-weight:600;transform:translateY(-200%)}.skip-link:focus{transform:none;text-decoration:none}.sidebar{position:fixed;top:0;inset-inline-start:0;width:var(--sidebar-w);height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column;background:var(--bg-secondary);border-inline-end:var(--border) solid var(--surface-border);z-index:var(--z-sidebar)}.sidebar__top{padding:var(--space-lg) var(--space-md);display:flex;align-items:center;justify-content:space-between}.sidebar .sidebar__close{display:none}.sidebar__nav{padding:var(--space-md) var(--space-xs);display:flex;flex-direction:column;gap:var(--space-3xs);flex:1;overflow-y:auto;overscroll-behavior:contain}.nav-item{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--btn-height-md);padding:var(--space-sm) var(--space-md);font-weight:600;color:var(--text-secondary);border-inline-start:2px solid transparent;border-radius:var(--radius);transition:background var(--motion-fast),color var(--motion-fast)}.nav-item:hover{background:var(--bg-hover);color:var(--text-primary);text-decoration:none}.nav-item[aria-current=page]{color:var(--text-primary);border-inline-start-color:var(--accent);background:linear-gradient(90deg,var(--accent-subtle),transparent)}.nav-item[aria-current=page] .icon{color:var(--accent-text)}.sidebar__foot{padding:var(--space-sm) var(--space-md) var(--space-md);border-top:var(--border) solid var(--surface-border);display:flex;flex-direction:column;gap:var(--space-2xs)}.sidebar .sidebar__btn{justify-content:flex-start;width:100%}.sidebar__user{display:flex;align-items:center;gap:var(--space-xs);min-height:var(--touch);padding:var(--space-xs) var(--space-sm);min-width:0;border-radius:var(--radius);color:inherit}.sidebar__user:hover{background:var(--bg-hover);text-decoration:none}.sidebar__user-text{display:flex;flex-direction:column;min-width:0;line-height:var(--leading-tight)}.sidebar__user-text strong{font-size:var(--text-md);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__user-text small{font-size:var(--text-xs);color:var(--text-muted)}.avatar{flex:none;display:grid;place-items:center;width:var(--space-xl);height:var(--space-xl);border-radius:var(--radius-pill);background:var(--accent);color:var(--on-accent);font-weight:700;font-size:var(--text-sm)}.brand{display:inline-flex;align-items:center;gap:var(--space-sm);min-width:0}.brand__mark{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--accent),var(--accent-hover));color:var(--on-accent);box-shadow:var(--shadow-glow)}.brand__mark--lg{width:var(--space-3xl);height:var(--space-3xl);border-radius:var(--radius-xl)}.brand__text{display:flex;flex-direction:column;line-height:var(--leading-tight)}.brand__text strong{font-size:var(--text-lg);font-weight:700}.brand__text small{font-size:var(--text-xs);color:var(--text-muted)}.app-main{margin-inline-start:var(--sidebar-w);min-height:100vh;min-height:100dvh;padding:var(--space-xl) clamp(var(--space-md),3vw,var(--space-2xl)) var(--space-3xl);container-type:inline-size}.app-main:focus{outline:none}.page-root{display:flex;flex-direction:column;gap:var(--space-lg);min-width:0}.mobile-header,.bottom-nav,.drawer-overlay{display:none}@media (max-width: 767px){.app-main{margin-inline-start:0;padding:var(--space-lg) var(--space-md) calc(var(--space-lg) + var(--bottom-nav-h) + var(--safe-bottom));min-height:0}.mobile-header{position:sticky;top:0;z-index:var(--z-header);display:flex;align-items:center;gap:var(--space-xs);height:calc(var(--header-h) + var(--safe-top));padding:var(--safe-top) max(var(--space-md),env(safe-area-inset-right)) 0 max(var(--space-xs),env(safe-area-inset-left));background:var(--glass-bg);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border-bottom:var(--border) solid var(--surface-border)}.mobile-header__title{font-size:var(--text-lg);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar{width:min(85vw,320px);z-index:var(--z-modal);padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);transform:translate(-100%);visibility:hidden;transition:transform var(--motion-slow) var(--motion-ease),visibility 0s linear var(--motion-slow)}.sidebar.is-open{transform:none;visibility:visible;box-shadow:var(--shadow-lg);transition-delay:0s}.sidebar .sidebar__close{display:inline-flex}.nav-item{min-height:48px;font-size:var(--text-lg)}.drawer-overlay{display:block;border:0;padding:0;position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(--z-modal) - 1);background:var(--overlay);opacity:0;pointer-events:none;transition:opacity var(--motion-slow)}.drawer-overlay.is-open{opacity:1;pointer-events:auto}.bottom-nav{position:fixed;inset-inline:0;bottom:0;z-index:var(--z-float);height:calc(var(--bottom-nav-h) + var(--safe-bottom));padding:0 env(safe-area-inset-right) var(--safe-bottom) env(safe-area-inset-left);display:grid;grid-template-columns:repeat(5,1fr);background:var(--bg-secondary);border-top:var(--border) solid var(--surface-border)}.bottom-nav__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3xs);min-height:48px;min-width:0;padding:0 var(--space-3xs);background:none;border:0;color:var(--text-muted);font-size:var(--text-xs);font-weight:600}.bottom-nav__item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottom-nav__item:hover{text-decoration:none}.bottom-nav__item{position:relative;transition:color var(--motion-fast),background var(--motion-fast)}.bottom-nav__item[aria-current=page],.bottom-nav__item.is-active{color:var(--accent-text);background:var(--accent-subtle)}.bottom-nav__item[aria-current=page]:before,.bottom-nav__item.is-active:before{content:"";position:absolute;top:0;inset-inline:var(--space-md);height:3px;border-radius:0 0 var(--radius-sm) var(--radius-sm);background:var(--accent)}.bottom-nav__item:focus-visible{outline-offset:-4px}}:root[data-density=compact] .table th,:root[data-density=compact] .table td{padding:var(--space-2xs) var(--space-sm)}:root[data-density=compact] .list__row{min-height:var(--space-xl)}@media (max-width: 767px){.btn-icon{min-width:var(--touch);min-height:var(--touch)}.crumbs a,.crumbs__current{min-height:var(--touch)}}.sidebar__search{display:flex;align-items:center;gap:var(--space-xs);margin:0 var(--space-xs);min-height:var(--btn-height-md);padding:0 var(--space-sm);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius);color:var(--text-secondary)}.sidebar__search:hover{border-color:var(--surface-border-hover);color:var(--text-primary)}.sidebar__search span{flex:1;text-align:left}.sidebar__search kbd,.palette__kbd{padding:var(--space-3xs) var(--space-xs);border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius-sm);font:inherit;font-size:var(--text-xs);color:var(--text-muted)}.mobile-header__title{flex:1;min-width:0}@media (max-width: 767px){.sidebar__search kbd{display:none}.sidebar__search{min-height:var(--touch)}}@media (min-width: 768px){.mobile-header__search{display:none}}.palette{width:min(100% - var(--space-xl),560px);margin-top:var(--space-3xl)}.palette__content{display:flex;flex-direction:column}.palette__field{display:flex;align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border-bottom:var(--border) solid var(--surface-border);color:var(--text-muted)}.palette__input{flex:1;min-width:0;height:var(--touch);background:none;border:0;color:var(--text-primary);font-size:var(--text-lg)}.palette__input:focus-visible{outline:none;box-shadow:none}.palette__list{max-height:50dvh;overflow-y:auto;padding:var(--space-xs)}.palette__opt{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--touch);padding:var(--space-xs) var(--space-sm);border-radius:var(--radius);cursor:pointer}.palette__opt.is-active{background:var(--accent-subtle)}.palette__label{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette__sub{margin-inline-start:auto;color:var(--text-muted);font-size:var(--text-md);white-space:nowrap}.palette__empty{padding:var(--space-md);color:var(--text-muted)}.palette__status{min-height:var(--space-lg);padding:var(--space-xs) var(--space-md) var(--space-sm);color:var(--text-secondary);font-size:var(--text-md)}@media (max-width: 767px){.palette{margin-top:var(--space-xl)}.palette__sub{display:none}}}@layer components{.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-xs);height:var(--btn-height-md);padding:0 var(--space-md);border:var(--border) solid transparent;border-radius:var(--radius);font-size:var(--text-base);font-weight:600;white-space:nowrap;text-decoration:none;transition:background var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast)}.btn:hover{text-decoration:none}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}.btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:var(--shadow-glow)}.btn-primary:hover,.btn-primary:active{background:var(--accent-active)}.btn:active:not(:disabled){filter:brightness(.94)}.btn-secondary{background:var(--bg-tertiary);border-color:var(--surface-border);color:var(--text-primary)}.btn-secondary:hover{background:var(--surface-hover);border-color:var(--surface-border-hover)}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover{background:var(--bg-hover);color:var(--text-primary)}.btn-danger{background:var(--error);color:var(--on-accent)}.btn-danger:hover{filter:brightness(.9)}.btn-danger-text{color:var(--error-text)}.btn-danger-text:hover{color:var(--error);background:var(--error-subtle)}.btn-sm{height:var(--btn-height-sm);padding:0 var(--space-sm);font-size:var(--text-md)}.btn-lg{height:var(--btn-height-lg);padding:0 var(--space-lg);font-size:var(--text-lg)}.btn-icon{width:var(--btn-height-md);padding:0}.card{background:var(--surface);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);padding:var(--space-lg);min-width:0;box-shadow:var(--card-shadow)}.card--flush{padding:0;overflow:hidden}.card__pad{padding:var(--space-md) var(--space-lg)}.card__title{font-size:var(--text-lg);font-weight:600;margin-bottom:var(--space-md)}.card__subtitle{font-size:var(--text-md);font-weight:600;color:var(--text-secondary);margin:var(--space-lg) 0 var(--space-xs)}.card__foot{margin-top:var(--space-md);font-size:var(--text-md);color:var(--text-secondary)}.card--flush>.card__title{padding:var(--space-lg) var(--space-lg) 0}.stack{display:flex;flex-direction:column;gap:var(--space-lg);min-width:0}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-lg)}@container (max-width: 880px){.two-col{grid-template-columns:minmax(0,1fr)}}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md);flex-wrap:wrap}.page-header__text{min-width:0;display:flex;flex-direction:column;gap:var(--space-2xs)}.page-title{font-size:clamp(20px,2vw + 16px,28px);font-weight:700;letter-spacing:-.02em;line-height:var(--leading-tight);overflow-wrap:anywhere}.page-subtitle{color:var(--text-secondary);max-width:60ch}.page-header__actions{display:flex;gap:var(--space-xs);flex-wrap:wrap}.back-link{display:inline-flex;align-items:center;gap:var(--space-2xs);font-size:var(--text-md);color:var(--text-secondary);min-height:var(--space-xl)}.badge{display:inline-flex;align-items:center;gap:var(--space-2xs);padding:var(--space-3xs) var(--space-xs);border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:600;white-space:nowrap;background:var(--bg-active);color:var(--text-secondary)}.badge--success{background:var(--success-subtle);color:var(--success-text)}.badge--warning{background:var(--warning-subtle);color:var(--warning-text)}.badge--error{background:var(--error-subtle);color:var(--error-text)}.badge--critical{background:var(--critical-bg);color:var(--critical-text)}.badge--info{background:var(--info-subtle);color:var(--info-text)}.chip{display:inline-flex;align-items:center;gap:var(--space-xs);min-height:28px;padding:var(--space-2xs) var(--space-sm);border-radius:var(--radius-pill);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);font-size:var(--text-md);font-weight:500;color:var(--text-primary);transition:background var(--motion-fast),border-color var(--motion-fast)}button.chip:hover{background:var(--surface-hover)}.chip.is-active,.chip[aria-pressed=true]{background:var(--accent-subtle);border-color:var(--accent-border);color:var(--accent-text)}.chips{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin-bottom:var(--space-md)}.chip--removable{padding-inline-end:var(--space-2xs)}.chip--removable a{color:inherit}.chip__x{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-muted)}.chip__x:hover{background:var(--error-subtle);color:var(--error-text)}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-md)}.kpi-card{display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md)}.kpi-card__icon{flex:none;display:grid;place-items:center;width:var(--touch);height:var(--touch);border-radius:var(--radius-lg);background:var(--accent-subtle);color:var(--accent-text)}.kpi-card--success .kpi-card__icon{background:var(--success-subtle);color:var(--success-text)}.kpi-card--warning .kpi-card__icon{background:var(--warning-subtle);color:var(--warning-text)}.kpi-card--error .kpi-card__icon{background:var(--error-subtle);color:var(--error-text)}.kpi-card__body{display:flex;flex-direction:column;min-width:0}.kpi-card__label{font-size:var(--text-md);color:var(--text-secondary)}.kpi-card__value{font-size:clamp(18px,1.1vw + 14px,24px);font-weight:700;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.kpi-card__hint{font-size:var(--text-sm);color:var(--text-muted)}@container (max-width: 640px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm)}.kpi-card{flex-direction:column;align-items:flex-start;gap:var(--space-xs);padding:var(--space-md)}.kpi-card__icon{width:var(--space-xl);height:var(--space-xl)}}.table-wrapper{overflow-x:auto;container-type:inline-size}.table-wrapper.is-loading{opacity:.6;transition:opacity var(--motion-base)}.table{font-size:var(--text-base)}.table th{padding:var(--space-sm) var(--space-md);text-align:left;font-size:var(--text-sm);font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);border-bottom:var(--border) solid var(--surface-border);white-space:nowrap}.table th.num{text-align:right}.table td{padding:var(--space-sm) var(--space-md);border-bottom:var(--border) solid var(--surface-border);vertical-align:middle}.table tbody tr:hover{background:var(--bg-hover)}.table tbody tr:last-child td{border-bottom:0}.cell-actions{display:flex;gap:var(--space-xs);justify-content:flex-end;flex-wrap:wrap}.contact-link{display:flex;flex-direction:column;color:var(--text-primary);min-width:0;overflow-wrap:anywhere}.contact-link small{color:var(--text-muted);font-size:var(--text-md)}.contact-link:hover strong{color:var(--accent-text)}.contact-link:hover{text-decoration:none}@container (max-width: 600px){.table-cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.table-cards,.table-cards tbody,.table-cards tr,.table-cards td{display:block}.table-cards tbody{padding:var(--space-sm);display:flex;flex-direction:column;gap:var(--space-sm)}.table-cards tr{padding:var(--space-sm) var(--space-md);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);background:var(--bg-secondary)}.table-cards tbody tr:hover{background:var(--bg-secondary)}.table-cards td{display:flex;justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-xs) 0;border:0;text-align:right}.table-cards td[data-label]:before{content:attr(data-label);flex:none;font-size:var(--text-sm);font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);text-align:left}.table-cards td.cell-main{justify-content:flex-start;text-align:left;font-size:var(--text-lg)}.table-cards td.cell-main:before{display:none}.table-cards td.cell-actions{justify-content:flex-start}}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-sm);padding:clamp(var(--space-lg),6vw,var(--space-3xl));color:var(--text-secondary)}.empty-state__icon{opacity:.4}.empty-title{font-size:var(--text-lg);font-weight:600;color:var(--text-secondary)}.empty-text{font-size:var(--text-md);color:var(--text-muted);max-width:48ch}.alert{color:var(--text-primary);display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border:var(--border) solid var(--info-border);border-radius:var(--radius-lg);background:var(--info-subtle)}.alert>.icon{flex:none;color:var(--info-text)}.alert__body{flex:1;display:flex;flex-direction:column;min-width:0;font-size:var(--text-md)}.alert--error{border-color:var(--error-border);background:var(--error-subtle)}.alert--error>.icon{color:var(--error-text)}.alert--success{border-color:var(--success-border);background:var(--success-subtle)}.alert--success>.icon{color:var(--success-text)}.alert--warning{border-color:var(--warning-border);background:var(--warning-subtle)}.alert--warning>.icon{color:var(--warning-text)}@media (max-width: 480px){.alert{flex-wrap:wrap}}.skeleton{display:block;width:var(--sk-w, 100%);height:var(--sk-h, 16px);border-radius:var(--radius);background:linear-gradient(90deg,var(--skeleton-a),var(--skeleton-b),var(--skeleton-a));background-size:200% 100%;animation:shimmer 1.4s linear infinite}.skeleton--row{height:var(--space-2xl)}.skeleton-rows{display:flex;flex-direction:column;gap:var(--space-xs)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.spinner{display:inline-block;width:var(--space-lg);height:var(--space-lg);border:2px solid var(--surface-border-hover);border-top-color:var(--accent);border-radius:var(--radius-pill);animation:spin .8s linear infinite}.spinner--sm{width:var(--space-md);height:var(--space-md);margin-inline-start:var(--space-xs);vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.boot{min-height:100dvh;display:grid;place-items:center}.pagination{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.pagination__info{color:var(--text-secondary);font-size:var(--text-md)}.result-count{padding:var(--space-md) var(--space-lg) var(--space-xs);color:var(--text-secondary);font-size:var(--text-md)}.card:not(.card--flush)>.result-count{padding-inline:0;padding-top:0}.list{display:flex;flex-direction:column}.list__row{display:flex;align-items:center;gap:var(--space-sm);min-height:var(--space-2xl);padding:var(--space-xs) 0;border-bottom:var(--border) solid var(--surface-border)}.list__row:last-child{border-bottom:0}.list__row>:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.list__meta{color:var(--text-muted);font-size:var(--text-md);font-variant-numeric:tabular-nums}.modal{padding:0;border:var(--border) solid var(--surface-border);border-radius:var(--radius-xl);background:var(--surface);color:var(--text-primary);box-shadow:var(--shadow-lg);width:min(100% - var(--space-xl),var(--modal-w-sm));max-height:calc(100dvh - var(--space-2xl))}.modal::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal__content{padding:var(--space-lg);display:flex;flex-direction:column;gap:var(--space-md)}.modal__title{font-size:var(--text-lg);font-weight:700}.modal__body{color:var(--text-secondary);line-height:var(--leading-relaxed)}.modal__body strong{color:var(--text-primary)}.modal__footer{display:flex;justify-content:flex-end;gap:var(--space-xs)}@media (max-width: 767px){.modal{margin:auto 0 0;width:100%;max-width:100%;border-radius:var(--radius-xl) var(--radius-xl) 0 0}.modal__content{padding-bottom:calc(var(--space-md) + var(--safe-bottom))}.modal__footer .btn{flex:1 1 auto}}@media (pointer: coarse){.btn,.chip,.input{min-height:var(--touch)}.btn-icon{min-width:var(--touch)}.chip__x{width:var(--touch);height:var(--touch)}.back-link{min-height:var(--touch)}}.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2xs)}.crumbs li{display:inline-flex;align-items:center;font-size:var(--text-md);color:var(--text-secondary)}.crumbs li+li:before{content:"/";margin-inline-end:var(--space-2xs);color:var(--text-muted)}.crumbs a,.crumbs__current{display:inline-flex;align-items:center;min-height:var(--space-xl)}.crumbs__current{color:var(--text-primary);font-weight:600;max-width:40ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (pointer: coarse){.crumbs a,.crumbs__current{min-height:var(--touch)}}.infotip{position:relative;display:inline-flex;vertical-align:middle;margin-inline-start:var(--space-2xs)}.infotip__btn{display:grid;place-items:center;width:var(--space-lg);height:var(--space-lg);padding:0;border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius-pill);background:transparent;color:var(--text-secondary);font-size:var(--text-xs);font-weight:700;line-height:1;text-transform:none}.infotip__btn:after{content:"";position:absolute;inset:calc(var(--space-xs) * -1)}.infotip__pop{position:absolute;z-index:var(--z-float);top:calc(100% + var(--space-2xs));inset-inline-start:50%;transform:translate(-50%);width:max-content;max-width:min(260px,70vw);padding:var(--space-xs) var(--space-sm);background:var(--bg-elevated);border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius);box-shadow:var(--shadow-md);color:var(--text-primary);font-size:var(--text-md);font-weight:400;letter-spacing:0;text-transform:none;white-space:normal;text-align:left}.collapsible{padding:0}.collapsible__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);width:100%;min-height:var(--touch);padding:var(--space-sm) var(--space-lg);background:none;border:0;color:var(--text-primary);text-align:left}.collapsible__head span{display:flex;flex-direction:column}.collapsible__head small{color:var(--text-muted);font-size:var(--text-md)}.collapsible__body{padding:0 var(--space-lg) var(--space-lg)}.rot-flip,.rot-up2{transform:rotate(180deg)}.th-flex{display:inline-flex;align-items:center}.th-sort{display:inline-flex;align-items:center;gap:var(--space-2xs);min-height:var(--space-xl);padding:0;background:none;border:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}.th-sort:hover,.th-sort.is-active{color:var(--text-primary)}.sort-idle{opacity:.4}.table-wrapper--sticky{max-height:min(72dvh,760px);overflow:auto}.table-wrapper--sticky .table th{position:sticky;top:0;z-index:1;background:var(--surface)}@media (max-width: 767px){.table-wrapper--sticky{max-height:none;overflow-x:visible}.th-sort{min-height:var(--touch)}}.toasts{position:fixed;z-index:var(--z-toast);inset-inline-end:var(--space-md);bottom:var(--space-md);display:flex;flex-direction:column;gap:var(--space-xs);width:min(380px,calc(100vw - var(--space-xl)))}.toast{display:flex;align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);background:var(--bg-elevated);border:var(--border) solid var(--surface-border-hover);border-inline-start:3px solid var(--info);border-radius:var(--radius);box-shadow:var(--shadow-md);color:var(--text-primary);font-size:var(--text-base)}.toast--success{border-inline-start-color:var(--success)}.toast--success>.icon{color:var(--success-text)}.toast--error{border-inline-start-color:var(--error)}.toast--error>.icon{color:var(--error-text)}.toast__text{flex:1;min-width:0;overflow-wrap:anywhere}.toast__x{display:grid;place-items:center;width:var(--touch);height:var(--touch);margin:calc(var(--space-sm) * -1) calc(var(--space-sm) * -1) calc(var(--space-sm) * -1) 0;background:none;border:0;color:var(--text-muted)}@media (max-width: 767px){.toasts{inset-inline:var(--space-md);width:auto;bottom:calc(var(--bottom-nav-h) + var(--safe-bottom) + var(--space-sm))}}.illustration{color:var(--text-muted)}.illustration__bg{fill:var(--bg-tertiary);stroke:none}.is-stale{opacity:.55;transition:opacity var(--motion-base)}.selbox{display:inline-grid;place-items:center;width:var(--touch);height:var(--touch);margin:calc(var(--space-xs) * -1) 0;cursor:pointer}.selbox input{width:var(--space-md);height:var(--space-md);accent-color:var(--accent);cursor:pointer}.cell-check{width:var(--touch);padding-inline-end:0!important}.table tbody tr.is-selected{background:var(--accent-subtle)}.selbar{position:fixed;z-index:var(--z-float);inset-inline:var(--sidebar-w) 0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;padding:var(--space-sm) clamp(var(--space-md),3vw,var(--space-2xl));background:var(--bg-elevated);border-top:var(--border) solid var(--accent-border);box-shadow:var(--shadow-lg)}.selbar__info{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap}.selbar__actions{display:flex;gap:var(--space-xs);flex-wrap:wrap}@media (max-width: 767px){.selbar{inset-inline:0;bottom:calc(var(--bottom-nav-h) + var(--safe-bottom))}.selbar__actions .btn{flex:1 1 auto}}.has-selbar{padding-bottom:calc(var(--space-3xl) * 2)}@media (max-width: 767px){.has-selbar{padding-bottom:calc(var(--space-3xl) * 5)}}.select-page{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.select-page .result-count{padding:var(--space-md) var(--space-lg) var(--space-xs)}.select-page .check{padding-inline-end:var(--space-lg)}.link-btn{min-height:var(--touch)}.table,.kpi-card,.stat,.gauge,.list__meta,.bars__value{font-variant-numeric:tabular-nums}.is-strong{font-weight:600;color:var(--text-primary)}.table td.num:not(.is-strong){color:var(--text-secondary)}.table tbody tr{transition:background var(--motion-fast)}.table tbody tr:focus-within{background:var(--bg-active)}.row-link{position:relative}.row-link .contact-link:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.row-link .cell-check{position:relative;z-index:2}.row-link:hover .contact-link strong{color:var(--accent-text)}.sort-note{padding:0 var(--space-lg) var(--space-xs);font-size:var(--text-md);color:var(--text-muted)}.count-note{font-size:var(--text-md);color:var(--text-muted)}.icon{flex:none}.btn .icon,.badge .icon{vertical-align:middle}.chip--removable>a{display:inline-flex;align-items:center;min-height:var(--space-lg)}@media (pointer: coarse),(max-width: 767px){.chip--removable>a{min-height:var(--touch)}.chip--removable{padding-block:0}}}@layer components{.field{display:flex;flex-direction:column;gap:var(--space-2xs);min-width:0}.field--grow{flex:1 1 240px}.field>label,.combobox>label{font-size:var(--text-md);font-weight:600;color:var(--text-secondary)}.field>label.sr-only,.combobox>label.sr-only{position:absolute}.input{width:100%;height:var(--input-height);padding:0 var(--space-sm);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius);font-size:var(--text-base);color:var(--text-primary);transition:border-color var(--motion-fast),box-shadow var(--motion-fast)}.input::placeholder{color:var(--text-muted)}.input:hover{border-color:var(--surface-border-hover)}.input:focus,.input:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-subtle);outline:none}.input[aria-invalid=true]{border-color:var(--error)}select.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-inline-end:var(--space-xl);text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--space-sm) center;background-size:16px}select.input option,select.input optgroup{background:var(--surface);color:var(--text-primary)}.input--num{width:112px}.help{font-size:var(--text-md);color:var(--text-muted);line-height:var(--leading-relaxed);max-width:72ch}.field-error{color:var(--error-text);font-size:var(--text-md);margin-top:var(--space-xs)}.inline-form{display:flex;align-items:flex-end;gap:var(--space-xs);flex-wrap:wrap}.inline-form>.btn,.filters__search>.btn{height:var(--input-height)}@media (pointer: coarse){.inline-form>.btn,.filters__search>.btn{height:var(--touch)}}.combobox{position:relative;display:flex;flex-direction:column;gap:var(--space-2xs);min-width:0}.combobox__list{position:absolute;z-index:var(--z-float);inset-inline:0;top:calc(100% + var(--space-2xs));max-height:260px;overflow-y:auto;padding:var(--space-2xs);background:var(--bg-elevated);border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius);box-shadow:var(--shadow-lg)}.combobox__opt,.combobox__empty{padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-sm);font-size:var(--text-base);cursor:pointer;overflow-wrap:anywhere}.combobox__empty{color:var(--text-muted);cursor:default}.combobox__opt:hover,.combobox__opt.is-active{background:var(--bg-active)}.combobox__opt[aria-selected=true]{color:var(--accent-text);font-weight:600}@media (pointer: coarse){.combobox__opt{min-height:var(--touch);display:flex;align-items:center}}.input-group{display:flex;gap:var(--space-xs)}.input-group .input{flex:1;min-width:0}.input-group__btn{flex:none;height:var(--input-height);min-width:var(--touch)}@media (max-width: 767px),(pointer: coarse){.input-group__btn{height:var(--touch)}}.field-warn{color:var(--warning-text);font-size:var(--text-md)}.input:disabled{cursor:not-allowed;border-style:dashed;background:var(--bg-active)}.disabled-legend{font-size:var(--text-md);color:var(--text-muted)}.account-form{display:flex;flex-direction:column;gap:var(--space-md);max-width:420px}.meter{display:flex;flex-direction:column;gap:var(--space-2xs);margin-top:calc(var(--space-xs) * -1)}.meter__bars{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-2xs)}.meter__bar{height:var(--space-xs);border-radius:var(--radius-pill);background:var(--bg-active)}.meter__bar--error{background:var(--error)}.meter__bar--warning{background:var(--warning)}.meter__bar--success{background:var(--success)}.meter__label{font-size:var(--text-md);color:var(--text-secondary)}}@layer components{.group{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);background:var(--bg-secondary);container-type:inline-size}.group--d2{background:var(--bg-tertiary);border-inline-start:3px solid var(--accent-border)}.group--d3{background:var(--surface);border-inline-start:3px solid var(--accent)}.group__head{display:flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap}.group__lead{font-size:var(--text-md);color:var(--text-secondary)}.group__remove{margin-inline-start:auto}.group__empty{font-size:var(--text-md);color:var(--text-muted)}.group__items{display:flex;flex-direction:column;gap:var(--space-xs)}.group__actions{display:flex;gap:var(--space-xs);flex-wrap:wrap}.seg{display:inline-flex;padding:var(--space-3xs);gap:var(--space-3xs);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius)}.group--d2 .seg{background:var(--bg-secondary)}.seg__btn{height:28px;padding:0 var(--space-sm);border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);font-size:var(--text-md);font-weight:600}.seg__btn.is-active{background:var(--accent);color:var(--on-accent)}@media (pointer: coarse),(max-width: 767px){.seg__btn{height:var(--touch)}}.joiner{display:inline-block;margin:0 0 var(--space-xs) var(--space-xs);padding:var(--space-3xs) var(--space-xs);border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:700;letter-spacing:.06em;background:var(--bg-active);color:var(--text-secondary)}.joiner--any{background:var(--warning-subtle);color:var(--warning-text)}.cond{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,2fr) auto;gap:var(--space-xs);align-items:start;padding:var(--space-xs);border:var(--border) solid var(--surface-border);border-radius:var(--radius);background:var(--surface)}.group--d2 .cond{background:var(--bg-secondary)}.cond__field,.cond__op{position:relative;min-width:0}.cond__value{display:flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap;min-width:0}.cond__value>.input,.cond__value>.combobox{flex:1 1 140px;width:auto}.cond__value .input--num{flex:0 0 112px}.cond__inline{display:inline-flex;align-items:center;gap:var(--space-xs);color:var(--text-secondary)}.cond__status{display:flex;flex-wrap:wrap;gap:var(--space-xs)}.cond__remove{color:var(--text-muted)}.cond__remove:hover{color:var(--error)}@container (max-width: 640px){.cond{grid-template-columns:minmax(0,1fr) auto}.cond__field,.cond__op,.cond__value{grid-column:1}.cond__remove{grid-column:2;grid-row:1}}}@layer components{.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-md);align-items:end}.form-grid>.field--wide{grid-column:1 / -1}.field--narrow{max-width:280px}.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-sm);align-items:end}.inline-form--end{align-items:stretch;flex-wrap:nowrap}.inline-form--end>.input{flex:1;min-width:0}.input--area{height:auto;min-height:96px;padding:var(--space-sm);resize:vertical;line-height:var(--leading-normal)}.input--code{font-family:var(--font-mono);font-size:var(--text-md)}.input:disabled{opacity:.6;cursor:not-allowed}.spaced{margin-top:var(--space-md)}.check{display:inline-flex;align-items:center;gap:var(--space-xs);min-height:var(--space-xl);cursor:pointer}.check input{width:var(--space-md);height:var(--space-md);accent-color:var(--accent)}@media (pointer: coarse){.check{min-height:var(--touch)}.check input{width:var(--space-lg);height:var(--space-lg)}}.link-btn{background:none;border:0;padding:0;color:var(--accent-text);text-decoration:underline;font-size:inherit}.cell-url{word-break:break-all;font-family:var(--font-mono);font-size:var(--text-md)}.rot-up{transform:rotate(90deg)}.rot-down{transform:rotate(-90deg)}.kpi-card__value--sm{font-size:var(--text-base)}.kpi-card__icon--bad{background:var(--error-subtle);color:var(--error)}.popmenu{position:relative;display:inline-block}.popmenu__list{position:absolute;z-index:var(--z-float);top:calc(100% + var(--space-2xs));inset-inline-end:0;min-width:240px;padding:var(--space-2xs);background:var(--bg-elevated);border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-height:320px;overflow-y:auto}.popmenu__list--center{inset-inline-end:auto;inset-inline-start:50%;transform:translate(-50%);min-width:260px}.popmenu__item{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-3xs);width:100%;min-height:var(--touch);padding:var(--space-xs) var(--space-sm);background:none;border:0;border-radius:var(--radius-sm);text-align:left;color:var(--text-primary)}.popmenu__item--row{flex-direction:row;align-items:center;gap:var(--space-xs)}.popmenu__item:hover{background:var(--bg-active)}.popmenu__item code{font-family:var(--font-mono);font-size:var(--text-md);color:var(--accent-text)}.popmenu__item span{font-size:var(--text-sm);color:var(--text-muted)}.popmenu__item--row span{font-size:var(--text-base);color:var(--text-primary)}.email-editor{display:flex;flex-direction:column;gap:var(--space-sm);container-type:inline-size}.email-editor__bar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.email-editor__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-lg);align-items:start}@container (max-width: 880px){.email-editor__grid{grid-template-columns:minmax(0,1fr)}}.email-editor__left{display:flex;flex-direction:column;gap:var(--space-sm);min-width:0}.block-list{display:flex;flex-direction:column;gap:var(--space-sm)}.block-card{border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);background:var(--bg-secondary)}.block-card__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-xs);padding:var(--space-xs) var(--space-sm);border-bottom:var(--border) solid var(--surface-border)}.block-card__tools{display:flex;gap:var(--space-3xs)}.block-card__body{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-sm)}.block-add{display:flex;flex-wrap:wrap;gap:var(--space-xs);padding:var(--space-sm);border:var(--border) dashed var(--surface-border-hover);border-radius:var(--radius-lg)}.block-add legend{padding:0 var(--space-xs);font-size:var(--text-md);font-weight:600;color:var(--text-secondary)}.preview-frame{display:flex;flex-direction:column;gap:var(--space-xs);min-width:0;position:sticky;top:var(--space-md)}.preview-frame .seg{align-self:flex-start}.preview-frame__stage{display:flex;justify-content:center;padding:var(--space-sm);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);min-height:200px}.preview-frame__iframe{border:0;background:var(--on-accent);border-radius:var(--radius);height:560px;max-width:100%}.preview-frame__iframe--desktop{width:100%}.preview-frame__iframe--mobile{width:360px}@container (max-width: 880px){.preview-frame{position:static}}.stepper ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-xs)}.stepper__btn{display:flex;align-items:center;gap:var(--space-xs);width:100%;min-height:var(--touch);padding:var(--space-xs) var(--space-sm);background:var(--surface);border:var(--border) solid var(--surface-border);border-radius:var(--radius);color:var(--text-secondary);font-weight:600;text-align:left}.stepper__btn:hover{border-color:var(--surface-border-hover)}.stepper__n{flex:none;display:grid;place-items:center;width:var(--space-lg);height:var(--space-lg);border-radius:var(--radius-pill);background:var(--bg-active);color:var(--text-primary);font-size:var(--text-sm)}.stepper__btn.is-current{border-color:var(--accent-border);background:var(--accent-subtle);color:var(--text-primary)}.stepper__btn.is-current .stepper__n{background:var(--accent);color:var(--on-accent)}.stepper__btn.is-done .stepper__n{background:var(--success-subtle);color:var(--success-text)}.stepper__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stepper__current{display:none;margin:0 0 var(--space-xs);font-weight:600}@media (max-width: 480px){.stepper__label{display:none}.stepper__btn{justify-content:center}.stepper__current{display:block}.inline-form--end{flex-direction:column;align-items:stretch}.inline-form--end .popmenu,.inline-form--end .popmenu>.btn{width:100%}}.wizard-nav{display:flex;justify-content:space-between;gap:var(--space-sm)}.radio-list{display:flex;flex-direction:column;gap:var(--space-xs)}.radio-list--inline{flex-direction:row;flex-wrap:wrap}.radio-list--inline .radio-card{flex:1 1 240px}.radio-card{display:flex;align-items:flex-start;gap:var(--space-sm);min-height:var(--touch);padding:var(--space-sm) var(--space-md);border:var(--border) solid var(--surface-border);border-radius:var(--radius);background:var(--bg-tertiary);cursor:pointer}.radio-card:hover{border-color:var(--surface-border-hover)}.radio-card.is-selected{border-color:var(--accent);background:var(--accent-subtle)}.radio-card input{margin-top:var(--space-2xs);accent-color:var(--accent)}.radio-card__body{display:flex;flex-direction:column;min-width:0}.radio-card__body small{color:var(--text-muted);font-size:var(--text-md)}.checklist{display:flex;flex-direction:column;gap:var(--space-xs)}.check-item{display:flex;align-items:flex-start;gap:var(--space-xs)}.check-item>.icon{flex:none;margin-top:var(--space-3xs)}.check-item--ok>.icon{color:var(--success-text)}.check-item--warn>.icon{color:var(--warning-text)}.check-item--bad>.icon{color:var(--error-text)}.preset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:var(--space-md)}.preset{display:flex;flex-direction:column;gap:var(--space-xs);width:100%;height:100%;text-align:left;color:var(--text-primary)}.preset span{color:var(--text-secondary);font-size:var(--text-md)}.plan{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:var(--space-xs);margin:var(--space-sm) 0}.plan__item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:var(--space-xs);font-size:var(--text-md);color:var(--text-secondary)}.preset-grid--flows{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.preset .btn{margin-top:auto;align-self:stretch;color:inherit}.preset .btn-primary{color:var(--on-accent)}.mini-flow{display:flex;flex-direction:column;gap:var(--space-2xs);padding:var(--space-xs) 0}.mini-flow__item{position:relative;margin-inline-start:calc(var(--d) * var(--space-md));padding:var(--space-3xs) var(--space-xs) var(--space-3xs) var(--space-sm);border-inline-start:3px solid var(--surface-border-hover);font-size:var(--text-md);color:var(--text-primary)}.mini-flow__item--trigger{border-inline-start-color:var(--accent);font-weight:600}.mini-flow__item--email{border-inline-start-color:var(--info)}.mini-flow__item--condition{border-inline-start-color:var(--warning)}.mini-flow__item--branch{color:var(--text-secondary);font-weight:600;border-inline-start-style:dashed}.footer-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-lg);align-items:start;container-type:inline-size}@media (max-width: 1100px){.footer-settings{grid-template-columns:minmax(0,1fr)}}.footer-settings__form{display:flex;flex-direction:column;gap:var(--space-md);min-width:0}.footer-settings__group{display:flex;flex-direction:column;gap:var(--space-sm);min-width:0;margin:0;padding:var(--space-md);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg)}.footer-settings__group legend{padding:0 var(--space-xs);font-size:var(--text-md);font-weight:600;color:var(--text-secondary)}.footer-settings__links{display:flex;flex-direction:column;gap:var(--space-sm)}.footer-settings__link{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr) auto;gap:var(--space-xs);align-items:end}.footer-settings__link>.btn{height:var(--input-height)}@media (pointer: coarse){.footer-settings__link>.btn{height:var(--touch);min-width:var(--touch)}}@container (max-width: 420px){.footer-settings__link{grid-template-columns:minmax(0,1fr) auto}.footer-settings__link>.field:first-child{grid-column:1 / -1}}.footer-settings__preview{display:flex;flex-direction:column;gap:var(--space-xs);min-width:0;position:sticky;top:var(--space-md)}.footer-settings__label{font-size:var(--text-md);font-weight:600;color:var(--text-secondary)}.footer-settings__iframe{width:100%;height:420px;border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);background:var(--bg-tertiary)}.automation-desc{margin-top:var(--space-3xs);font-size:var(--text-sm);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}@layer components{.flow-wrap{display:flex;flex-direction:column;align-items:center;container-type:inline-size}.flow-wrap{width:100%}.flow-wrap>.step,.flow-wrap>.flow{width:min(760px,100%)}.flow{display:flex;flex-direction:column;align-items:stretch;min-width:0}.flow__node{position:relative;display:flex;flex-direction:column;align-items:stretch;padding-top:var(--space-xl)}.flow__node:before{content:"";position:absolute;top:0;inset-inline-start:50%;width:2px;height:var(--space-xl);background:var(--surface-border-hover);transform:translate(-1px);z-index:0}.flow__node--end{padding-top:var(--space-xl);align-items:center}.flow__add{position:absolute;top:0;inset-inline-start:50%;transform:translate(-50%);z-index:2}.flow__plus{display:grid;place-items:center;width:var(--space-xl);height:var(--space-xl);border-radius:var(--radius-pill);border:2px solid var(--accent-border);background:var(--surface);color:var(--accent-text);transition:background var(--motion-fast),color var(--motion-fast)}.flow__plus:hover,.flow__plus[aria-expanded=true]{background:var(--accent);color:var(--on-accent)}@media (pointer: coarse){.flow__plus{width:var(--touch);height:var(--touch)}}.flow__node--end .flow__add{position:absolute}.flow__hint{margin-top:var(--space-xl)}.flow__end{padding:var(--space-xl) 0 var(--space-sm);color:var(--text-muted);font-size:var(--text-md);position:relative;text-align:center}.flow__end span{padding:var(--space-3xs) var(--space-sm);border:var(--border) solid var(--surface-border);border-radius:var(--radius-pill);background:var(--bg-tertiary)}.flow--nested{width:100%}.step{background:var(--surface);border:var(--border) solid var(--surface-border);border-radius:var(--radius-lg);min-width:0}.step--trigger{border-color:var(--accent-border)}.step__head{display:flex;align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border-bottom:var(--border) solid var(--surface-border)}.step__icon{flex:none;display:grid;place-items:center;width:var(--space-xl);height:var(--space-xl);border-radius:var(--radius);background:var(--bg-active);color:var(--text-secondary)}.step__icon--accent{background:var(--accent);color:var(--on-accent);font-weight:700}.step__title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.step--email .step__icon{background:var(--info-subtle);color:var(--info)}.step--condition .step__icon{background:var(--warning-subtle);color:var(--warning)}.step-body{display:flex;flex-direction:column;gap:var(--space-sm);padding:var(--space-md)}.step-body.form-grid{display:grid}.step-body.inline-form{flex-direction:row}.step-stats{display:flex;flex-wrap:wrap;gap:var(--space-xs) var(--space-md);padding:var(--space-xs) var(--space-md) var(--space-sm);font-size:var(--text-md);color:var(--text-secondary)}.step-stats strong{color:var(--text-primary);font-variant-numeric:tabular-nums}.branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-md);padding:var(--space-md);border-top:var(--border) solid var(--surface-border);container-type:inline-size}@container (max-width: 560px){.branches{grid-template-columns:minmax(0,1fr)}}@media (max-width: 767px){.branches{grid-template-columns:minmax(0,1fr)}}.branch{min-width:0;padding:var(--space-sm);border:var(--border) dashed var(--surface-border-hover);border-radius:var(--radius-lg);background:var(--bg-secondary)}.branch__label{display:inline-block;padding:var(--space-3xs) var(--space-sm);border-radius:var(--radius-pill);font-size:var(--text-sm);font-weight:700}.branch__label--yes{background:var(--success-subtle);color:var(--success-text)}.branch__label--no{background:var(--error-subtle);color:var(--error-text)}.branch .flow__node{padding-top:var(--space-lg)}.branch .flow__node:before{height:var(--space-lg)}.branch .flow__hint{margin-top:var(--space-lg)}.step__num{flex:none;display:grid;place-items:center;min-width:var(--space-lg);height:var(--space-lg);padding:0 var(--space-2xs);border-radius:var(--radius-pill);background:var(--bg-active);color:var(--text-primary);font-size:var(--text-sm);font-weight:700}.step--trigger .step__num{background:var(--accent);color:var(--on-accent)}.step__toggle{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-xs);min-height:var(--touch);padding:0;background:none;border:0;color:var(--text-primary);text-align:left}.step__toggle .step__title{flex:none}.step__summary{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);font-size:var(--text-md)}.step.is-closed .step__head{border-bottom:0}.step__head{padding-block:var(--space-2xs)}@media (max-width: 480px){.step__summary{display:none}.step.is-closed .step__summary{display:block}}@media (max-width: 480px){.branches{padding:var(--space-xs);gap:var(--space-xs)}.branch{padding:var(--space-xs)}.step-body{padding:var(--space-sm)}.step__head{padding-inline:var(--space-xs);gap:var(--space-2xs)}.step__title{font-size:var(--text-md)}}.step-review{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-xs);margin:0;padding:var(--space-xs) var(--space-sm);background:var(--warning-subtle);border-bottom:var(--border) solid var(--warning-border);color:var(--warning-text);font-size:var(--text-md)}.step-review__text{flex:1;min-width:min(100%,200px)}.ac-panel{display:grid;gap:var(--space-md)}.ac-panel__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-sm)}.ac-panel__title{margin:0;font-size:var(--text-lg)}.ac-panel__meta{margin:0;color:var(--text-secondary);font-size:var(--text-md)}.ac-checklist{margin:0;padding-inline-start:var(--space-lg);display:grid;gap:var(--space-xs);font-size:var(--text-base)}.ac-checklist__tipo{margin-inline-end:var(--space-2xs)}.ac-emails{margin:0;padding:0;list-style:none;display:grid;gap:var(--space-2xs);font-size:var(--text-md)}.ac-emails li{display:flex;flex-wrap:wrap;gap:var(--space-xs);justify-content:space-between;padding:var(--space-xs) 0;border-bottom:var(--border) solid var(--surface-border)}.ac-emails__nums{color:var(--text-secondary);font-variant-numeric:tabular-nums}.cell-sub{display:block;margin-top:var(--space-3xs);color:var(--text-secondary);font-size:var(--text-sm)}.cell-badges{display:inline-flex;flex-wrap:wrap;gap:var(--space-2xs);margin-top:var(--space-2xs)}.ac-import{display:grid;gap:var(--space-xs)}}@layer components{.bar-chart{display:flex;flex-direction:column;gap:var(--space-2xs);margin-bottom:var(--space-md)}.bar-chart__plot{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));align-items:end;gap:var(--space-2xs);height:140px;padding-bottom:var(--space-2xs);border-bottom:var(--border) solid var(--surface-border)}.bar-chart__col{display:flex;align-items:flex-end;height:100%}.bar-chart__bar{display:block;width:100%;height:var(--h);min-height:2px;background:var(--accent);border-radius:var(--radius-xs) var(--radius-xs) 0 0;opacity:.85}.bar-chart__col:hover .bar-chart__bar{opacity:1}.bar-chart__axis{display:flex;justify-content:space-between;font-size:var(--text-sm);color:var(--text-muted)}.chart{display:flex;flex-direction:column;gap:var(--space-xs);min-width:0}.chart__legend{display:flex;flex-wrap:wrap;gap:var(--space-xs) var(--space-md);font-size:var(--text-md);color:var(--text-secondary)}.chart__legend li{display:inline-flex;align-items:center;gap:var(--space-xs)}.chart__swatch{display:inline-block;flex:none;width:var(--space-sm);height:var(--space-sm);border-radius:var(--radius-xs);background:var(--c)}.chart__plot{position:relative;width:100%;min-width:0;border-radius:var(--radius-sm);touch-action:pan-y}.chart__plot:focus-visible{outline:2px solid var(--accent);outline-offset:var(--space-3xs)}.chart__plot svg{display:block;overflow:visible}.chart__grid{stroke:var(--chart-grid);stroke-width:1}.chart__axis{stroke:var(--surface-border-hover);stroke-width:1}.chart__tick{fill:var(--text-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.chart__line{fill:none;stroke:var(--c);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart__cross{stroke:var(--surface-border-hover);stroke-width:1}.chart__dot{fill:var(--c);stroke:var(--surface);stroke-width:2}.chart__bar{fill:var(--c)}.is-hover .chart__bar{opacity:.75}.chart__tip{position:absolute;top:0;left:var(--x);transform:translate(-50%);z-index:var(--z-float);pointer-events:none;display:flex;flex-direction:column;gap:var(--space-3xs);min-width:140px;padding:var(--space-xs) var(--space-sm);background:var(--bg-elevated);border:var(--border) solid var(--surface-border-hover);border-radius:var(--radius);box-shadow:var(--shadow-md);font-size:var(--text-md);color:var(--text-primary);white-space:nowrap}.chart__tip span{display:flex;align-items:center;gap:var(--space-2xs);color:var(--text-secondary)}.chart__tip b{color:var(--text-primary);font-variant-numeric:tabular-nums}.chart__tip .chart__swatch{width:var(--space-xs);height:var(--space-xs)}.chart-note{margin-top:var(--space-xs);font-size:var(--text-md);color:var(--text-muted)}.spark{display:block;overflow:visible}.spark polyline{fill:none;stroke:var(--series-1);stroke-width:1.5;stroke-linejoin:round}.spark--empty{color:var(--text-muted)}.funnel{display:flex;flex-direction:column;gap:var(--space-xs)}.funnel__row{display:grid;grid-template-columns:minmax(0,7rem) minmax(0,1fr) minmax(7rem,auto);align-items:center;gap:var(--space-sm);min-height:var(--touch)}.funnel__label{color:var(--text-secondary);font-size:var(--text-md)}.funnel__track{height:var(--space-sm);border-radius:var(--radius-xs);background:var(--bg-tertiary);overflow:hidden}.funnel__fill{display:block;height:100%;width:var(--w);background:var(--series-1);border-radius:var(--radius-xs)}.funnel__value{display:flex;flex-direction:column;align-items:flex-end;font-variant-numeric:tabular-nums}.funnel__value small{color:var(--text-muted);font-size:var(--text-sm)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:var(--space-md)}.stat{display:flex;flex-direction:column;gap:var(--space-2xs);min-height:104px}.stat__label{font-size:var(--text-md);color:var(--text-secondary)}.stat__value{font-size:var(--text-2xl);font-weight:700;line-height:var(--leading-tight);font-variant-numeric:tabular-nums}.stat__delta{font-size:var(--text-md);font-weight:600}.stat__delta--success{color:var(--success-text)}.stat__delta--warning{color:var(--warning-text)}.stat__delta--neutral{color:var(--text-muted);font-weight:500}.stat__hint{font-size:var(--text-md);color:var(--text-muted)}.data-table{margin-top:var(--space-sm)}.data-table>summary{display:inline-flex;align-items:center;min-height:var(--touch);cursor:pointer;color:var(--accent-text);font-weight:600;font-size:var(--text-md)}.data-table .table-wrapper{max-height:320px;overflow:auto;margin-top:var(--space-xs)}.table--compact th,.table--compact td{padding-block:var(--space-2xs);font-size:var(--text-md)}.an-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:var(--space-md)}.an-grid>.card{min-width:0}.an-stack{display:flex;flex-direction:column;gap:var(--space-lg);min-width:0}.top-list{display:flex;flex-direction:column}.top-list li{display:grid;grid-template-columns:var(--space-lg) minmax(0,1fr) auto;align-items:center;gap:var(--space-sm);min-height:var(--touch);padding:var(--space-xs) 0;border-bottom:var(--border) solid var(--surface-border)}.top-list li:last-child{border-bottom:0}.top-list__rank{display:grid;place-items:center;width:var(--space-lg);height:var(--space-lg);border-radius:var(--radius-pill);background:var(--bg-tertiary);color:var(--text-secondary);font-size:var(--text-sm);font-weight:700}.top-list .cell-num-stack strong{font-variant-numeric:tabular-nums}.an-meta{font-size:var(--text-md);color:var(--text-muted)}.an-meta strong{color:var(--text-primary);font-weight:600}.cmp-list{display:flex;flex-direction:column}.cmp-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:var(--space-sm);align-items:center;min-height:var(--touch);border-bottom:var(--border) solid var(--surface-border);font-size:var(--text-md);font-variant-numeric:tabular-nums}.cmp-list li:last-child{border-bottom:0}.cmp-list .muted{min-width:7rem;text-align:right}.ab-winner{display:inline-flex;align-items:center;gap:var(--space-2xs)}.cell-num-stack{display:flex;flex-direction:column;align-items:flex-end}.cell-num-stack small{color:var(--text-muted);font-size:var(--text-sm)}.page-campaigns .cell-main{min-width:11rem}.step-depth{padding-left:calc(var(--d, 0) * var(--space-md))}@media (max-width: 767px){.funnel__row{grid-template-columns:minmax(0,1fr) minmax(6rem,auto);grid-template-areas:"label value" "track track";row-gap:var(--space-2xs)}.funnel__label{grid-area:label}.funnel__value{grid-area:value}.funnel__track{grid-area:track}.stat__value{font-size:var(--text-xl)}.cmp-list .muted{min-width:5rem}.top-list li{grid-template-columns:var(--space-lg) minmax(0,1fr)}.top-list .cell-num-stack{grid-column:2;align-items:flex-start}.cmp-list li{grid-template-columns:minmax(0,1fr) auto;padding-block:var(--space-2xs)}.cmp-list li>:nth-child(3){grid-column:2;justify-self:end}}}@layer pages{.login{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-md);padding:var(--space-md);background:radial-gradient(60% 50% at 50% 0%,var(--accent-subtle),transparent),var(--bg-primary)}.login__card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:var(--space-md);padding:var(--space-xl);box-shadow:var(--shadow-lg)}.login__card .brand__mark{align-self:center}.login__title{text-align:center;font-size:var(--text-2xl);font-weight:700;letter-spacing:-.02em}.login__sub{text-align:center;color:var(--text-secondary);font-size:var(--text-md)}.login__submit{width:100%}@media (max-width: 480px){.login__card{padding:var(--space-lg) var(--space-md)}}.login__tag{text-align:center;color:var(--text-primary);font-size:var(--text-base);line-height:var(--leading-relaxed)}.login__foot{color:var(--text-muted);font-size:var(--text-md);text-align:center}}@layer pages{.import__summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);flex-wrap:wrap;margin-bottom:var(--space-md)}.import__total{font-size:var(--text-3xl);font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}.import__caption{font-size:var(--text-md);color:var(--text-muted)}.bars{display:flex;flex-direction:column;gap:var(--space-xs)}.bars__row{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr) auto;align-items:center;gap:var(--space-xs);padding:var(--space-2xs) 0;font-size:var(--text-md)}.bars__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary)}.bars__track{height:10px;border-radius:var(--radius-pill);background:var(--bg-tertiary);overflow:hidden}.bars__fill{display:block;height:100%;width:var(--w);border-radius:var(--radius-pill);background:var(--accent)}.bars__fill--success{background:var(--success)}.bars__fill--warning{background:var(--warning)}.bars__fill--error{background:var(--error)}.bars__fill--neutral{background:var(--text-muted)}.bars__value{font-weight:600;font-variant-numeric:tabular-nums}.page-overview .kpi-grid>.card{min-height:88px}.page-overview .card--tall{min-height:360px}.page-overview .card--daily{min-height:200px}.card__titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;margin-bottom:var(--space-md)}.card__titlebar .card__title{margin:0}.progress{height:var(--space-xs);border-radius:var(--radius-pill);background:var(--bg-tertiary);overflow:hidden}.progress__fill{display:block;height:100%;width:var(--w);border-radius:var(--radius-pill);background:var(--accent)}.progress__label{margin:var(--space-xs) 0 var(--space-md);font-size:var(--text-md);color:var(--text-secondary)}.setup-list{display:flex;flex-direction:column;gap:var(--space-xs)}.setup-item{display:flex;align-items:flex-start;gap:var(--space-sm);min-height:var(--touch);padding:var(--space-xs) 0}.setup-item__mark{flex:none;display:grid;place-items:center;width:var(--space-lg);height:var(--space-lg);margin-top:var(--space-3xs);border:2px solid var(--surface-border-hover);border-radius:var(--radius-pill);color:var(--on-accent)}.setup-item.is-done .setup-item__mark{background:var(--success-text);border-color:var(--success-text);color:var(--bg-primary)}.setup-item__text{display:flex;flex-direction:column;min-width:0}.setup-item__text a{font-weight:600}.setup-item.is-done .setup-item__text a{color:var(--text-secondary);font-weight:500}.setup-item__text small{color:var(--text-muted);font-size:var(--text-md)}.kpi-grid--5{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}.page-overview .card--tall{min-height:280px}.stack-bar{display:flex;height:var(--space-md);border-radius:var(--radius-pill);overflow:hidden;background:var(--bg-tertiary);gap:2px}.stack-bar__seg{display:block;width:var(--w)}.stack-bar__seg--success,.legend__dot--success{background:var(--success)}.stack-bar__seg--warning,.legend__dot--warning{background:var(--warning)}.stack-bar__seg--error,.legend__dot--error{background:var(--error)}.legend{display:flex;flex-direction:column;gap:var(--space-2xs);margin:var(--space-sm) 0}.legend li{display:grid;grid-template-columns:var(--space-sm) minmax(0,1fr) auto auto;align-items:center;gap:var(--space-xs);font-size:var(--text-md);min-height:var(--space-lg)}.legend__dot{width:var(--space-sm);height:var(--space-sm);border-radius:var(--radius-pill)}.shortcuts{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin-top:var(--space-sm)}}@layer pages{.filters{display:flex;flex-direction:column;gap:var(--space-sm)}.filters__search{display:flex;align-items:flex-end;gap:var(--space-xs);flex-wrap:wrap}.filters__row{display:flex;align-items:flex-end;gap:var(--space-sm);flex-wrap:wrap}.filters__row .field{flex:1 1 200px;max-width:320px}.filters__row .field--combo{flex:1 1 260px;max-width:360px}.filters__toggle{justify-content:space-between}.chips--filters{margin:0;align-items:center}@container (max-width: 600px){.filters__row .field,.filters__row .field--combo{max-width:none;flex-basis:100%}}.page-contacts .cell-main{min-width:220px}@container (max-width: 600px){.contacts-table .table tr{display:grid;grid-template-columns:var(--touch) repeat(3,minmax(0,1fr));gap:var(--space-xs) var(--space-sm);padding:var(--space-sm)}.contacts-table .table td{display:block;padding:0;text-align:left}.contacts-table .table td.cell-check{grid-column:1;grid-row:1}.contacts-table .table td.cell-main{grid-column:2 / 4;font-size:var(--text-base)}.contacts-table .table td.cell-status{grid-column:4;text-align:right}.contacts-table .table td.cell-check:before{display:none}.contacts-table .table td:nth-child(4){grid-column:2}.contacts-table .table td:nth-child(5){grid-column:3}.contacts-table .table td:nth-child(7){grid-column:4}.contacts-table .table td.cell-status:before,.contacts-table .table td.cell-main:before{display:none}.contacts-table .table td.cell-stat{display:flex;flex-direction:column;align-items:flex-start;gap:0}.contacts-table .table td.cell-stat:before{font-size:var(--text-xs)}.contacts-table .table td.cell-extra{display:none}}}@layer pages{.contact-sub{display:inline-flex;align-items:center;gap:var(--space-xs);flex-wrap:wrap;overflow-wrap:anywhere}.details{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-md)}.page-contact .two-col .details{grid-template-columns:repeat(2,minmax(0,1fr))}@container (max-width: 480px){.page-contact .two-col .details{grid-template-columns:minmax(0,1fr)}}.detail dt{font-size:var(--text-sm);font-weight:600;color:var(--text-secondary)}.detail dd{margin-top:var(--space-3xs);overflow-wrap:anywhere}.timeline{display:flex;flex-direction:column;margin-bottom:var(--space-md)}.timeline__item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--space-sm);padding:var(--space-xs) 0;align-items:baseline}.timeline__item:before{content:"";position:absolute;inset-block:0;inset-inline-start:4px;width:var(--border);background:var(--surface-border)}.timeline__dot{position:relative;width:9px;height:9px;margin-top:var(--space-2xs);border-radius:var(--radius-pill);background:var(--text-muted);box-shadow:0 0 0 3px var(--surface)}.timeline__item--open .timeline__dot,.timeline__item--click .timeline__dot,.timeline__item--order .timeline__dot{background:var(--success)}.timeline__item--bounce .timeline__dot,.timeline__item--complaint .timeline__dot,.timeline__item--unsubscribe .timeline__dot{background:var(--error)}.timeline__item--sent .timeline__dot,.timeline__item--tag_added .timeline__dot{background:var(--accent)}.timeline__body{display:flex;flex-direction:column;min-width:0}.timeline__detail{font-size:var(--text-md);color:var(--text-muted);overflow-wrap:anywhere}.timeline__time{font-size:var(--text-sm);color:var(--text-muted);white-space:nowrap}@container (max-width: 480px){.timeline__item{grid-template-columns:auto minmax(0,1fr)}.timeline__time{grid-column:2}}.fields-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:var(--space-md)}.fields-grid .detail{min-width:0}.fields-grid dt{overflow-wrap:anywhere;letter-spacing:.02em;text-transform:none;font-size:var(--text-md)}.fields-grid dd{overflow-wrap:anywhere}.url-link{display:inline-flex;align-items:center;gap:var(--space-xs);max-width:100%}.url-link__text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.url-link__open{flex:none;padding:0 var(--space-xs);border:var(--border) solid var(--accent-border);border-radius:var(--radius-pill);font-size:var(--text-sm)}.spaced-b{margin-bottom:var(--space-md)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:var(--space-xs);margin-bottom:var(--space-sm)}.stat{display:flex;flex-direction:column;padding:var(--space-xs) var(--space-sm);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius)}.stat__label{font-size:var(--text-md);color:var(--text-secondary)}.stat__value{font-size:var(--text-lg);font-weight:700;font-variant-numeric:tabular-nums}.stat__hint{font-size:var(--text-sm);color:var(--text-muted)}.migr-controls{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:var(--space-md);align-items:end;margin:var(--space-sm) 0}.range{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:var(--input-height);background:transparent;cursor:pointer}.range::-webkit-slider-runnable-track{height:var(--space-xs);border-radius:var(--radius-pill);background:linear-gradient(var(--accent),var(--accent)) 0 / var(--p, 0%) 100% no-repeat,var(--bg-tertiary)}.range::-moz-range-track{height:var(--space-xs);border-radius:var(--radius-pill);background:var(--bg-tertiary)}.range::-moz-range-progress{height:var(--space-xs);border-radius:var(--radius-pill);background:var(--accent)}.range::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;margin-top:-6px;border-radius:var(--radius-pill);background:var(--accent);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--accent-border)}.range::-moz-range-thumb{width:20px;height:20px;border-radius:var(--radius-pill);background:var(--accent);border:2px solid var(--surface)}.range:focus-visible{outline:none;box-shadow:none}.range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}.range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}.range:disabled{cursor:not-allowed;opacity:.6}@media (pointer: coarse){.range{height:var(--touch)}}.plan-summary{display:flex;flex-wrap:wrap;gap:var(--space-xs) var(--space-lg);margin:var(--space-sm) 0;font-size:var(--text-md);color:var(--text-secondary)}.plan-summary strong{color:var(--text-primary)}@media (max-width: 480px){.migr-controls{grid-template-columns:minmax(0,1fr)}}.side__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-sm)}.side__list dt{font-size:var(--text-md);color:var(--text-secondary)}.side__list dd{font-size:var(--text-xl);font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.side--new{border-top:3px solid var(--accent)}.side--ac{border-top:3px solid var(--info)}.cmp{display:flex;flex-direction:column;gap:var(--space-md)}.cmp__label{font-weight:600;margin-bottom:var(--space-2xs)}.cmp__line{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(96px,auto);align-items:center;gap:var(--space-xs);padding:var(--space-3xs) 0;font-size:var(--text-md)}.cmp__who{color:var(--text-secondary)}.cmp__track{height:var(--space-sm);border-radius:var(--radius-pill);background:var(--bg-tertiary);overflow:hidden}.cmp__fill{display:block;height:100%;width:var(--w);min-width:2px;border-radius:var(--radius-pill)}.cmp__zoom{margin-inline-start:var(--space-xs);color:var(--text-muted);font-weight:400;font-size:var(--text-sm)}.cmp__fill--new{background:var(--accent)}.cmp__fill--ac{background:var(--info)}.cmp__val{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.cmp__val small{color:var(--text-muted);font-weight:400}.gauges{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--space-md)}.gauge{padding:var(--space-md);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius)}.gauge.is-over{border-color:var(--error-border)}.gauge__head{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-xs)}.gauge__head strong{font-size:var(--text-xl);font-variant-numeric:tabular-nums}.gauge__track{position:relative;height:var(--space-sm);margin:var(--space-xs) 0;border-radius:var(--radius-pill);background:var(--bg-active);overflow:visible}.gauge__fill{display:block;height:100%;width:var(--w);border-radius:var(--radius-pill);background:var(--success)}.gauge.is-over .gauge__fill{background:var(--error)}.gauge__mark{position:absolute;top:calc(var(--space-2xs) * -1);bottom:calc(var(--space-2xs) * -1);left:var(--x);width:2px;background:var(--text-primary)}.gauge__foot{display:flex;justify-content:space-between;align-items:center;gap:var(--space-xs);flex-wrap:wrap}.gauge__foot small{color:var(--text-muted);font-size:var(--text-md)}@media (max-width: 480px){.side__list{grid-template-columns:minmax(0,1fr)}}.purchases{display:flex;flex-direction:column;gap:var(--space-sm)}.purchases__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap}.purchases__head .card__title{margin:0}.purchases--shopify{padding:var(--space-md);border:var(--border) solid var(--accent-border);border-radius:var(--radius-lg);background:var(--accent-subtle)}.purchases--shopify .kpi-card{background:var(--surface)}.timeline__items{margin-top:var(--space-3xs);padding-inline-start:var(--space-md);list-style:disc;font-size:var(--text-md);color:var(--text-secondary)}@media (max-width: 480px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}}@layer pages{.editor-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:var(--space-lg);align-items:start}@container (max-width: 1080px){.editor-grid{grid-template-columns:minmax(0,1fr)}}.preview__status{min-height:var(--space-2xl);display:flex;align-items:center}.preview__count{font-size:var(--text-lg);line-height:var(--leading-relaxed)}.preview__count strong{font-size:var(--text-xl);font-variant-numeric:tabular-nums}.preview__count.is-stale{opacity:.6}.preset-chips{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin-top:var(--space-sm)}.preset-chips .chip:disabled{opacity:.5;cursor:not-allowed}.preview__time{font-size:var(--text-md);color:var(--text-secondary)}.seg-tag{margin-top:var(--space-lg)}.seg-tag__body{display:flex;flex-direction:column;gap:var(--space-sm);margin-top:var(--space-sm)}.seg-tag__body .field--narrow{max-width:420px}.seg-tag__status{display:flex;flex-direction:column;gap:var(--space-2xs)}.seg-tag__actions{display:flex;align-items:center;gap:var(--space-sm);flex-wrap:wrap}.seg-tagcell{display:flex;flex-direction:column;gap:var(--space-2xs);min-width:0;max-width:240px}.page-segments .cell-main{min-width:200px}.seg-tagcell__badges{display:flex;flex-wrap:wrap;gap:var(--space-2xs);min-width:0}.seg-tagcell__badges .badge{max-width:100%;overflow:hidden;text-overflow:ellipsis}.seg-tagcell__meta{font-size:var(--text-sm);color:var(--text-muted)}}@layer pages{.tag-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:var(--space-xs)}.tag-card{display:flex;align-items:center;gap:var(--space-xs);min-height:var(--touch);padding:var(--space-xs) var(--space-sm);background:var(--bg-tertiary);border:var(--border) solid var(--surface-border);border-radius:var(--radius);color:var(--text-primary);transition:border-color var(--motion-fast),background var(--motion-fast)}.tag-card:hover{text-decoration:none;border-color:var(--accent-border);background:var(--surface-hover)}.tag-card .icon{flex:none;color:var(--text-muted)}.tag-card__name{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:500}.tag-card__count{flex:none;font-size:var(--text-sm);font-weight:600;color:var(--text-primary);background:var(--bg-active);padding:var(--space-3xs) var(--space-xs);border-radius:var(--radius-pill);font-variant-numeric:tabular-nums}}
