.logo{gap:var(--space-3);font-family:var(--font-sans);text-decoration:none;color:inherit}.logo,.logo__icon{display:inline-flex;align-items:center}.logo__icon{justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--radius-md);background:var(--gradient-balance-hero);color:var(--color-text-on-brand);font-size:1.125rem;font-weight:700;line-height:1;box-shadow:var(--shadow-sm)}.logo__text{display:flex;align-items:baseline;gap:.1em;line-height:1.2}.logo__name{font-size:1.375rem;font-weight:700;color:var(--color-text);letter-spacing:-.02em}.logo__tld{font-size:1.125rem;font-weight:600;color:var(--color-brand-dark)}.logo--wordmark .logo__name{font-size:1.25rem}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--space-6) var(--space-4);background:var(--gradient-auth-bg)}.auth-page__inner{width:100%;max-width:440px;margin:0 auto}.auth-card{width:100%;padding:var(--space-8);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.auth-card__brand{display:flex;margin-bottom:var(--space-6)}.auth-card__brand,.auth-card__logo{justify-content:center}.auth-card__header{margin-top:0;text-align:center}.auth-card__header--compact h1{font-size:1.375rem}.auth-card__header h1{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;color:var(--color-text)}.auth-card__header p{margin:var(--space-2) 0 0;font-size:.9375rem;line-height:1.5;color:var(--color-text-muted)}.auth-card__footer{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--color-border);font-size:.875rem;color:var(--color-text-muted);text-align:center}.auth-card__footer p{margin:var(--space-2) 0 0}.auth-card__footer p:first-child{margin-top:0}.form{gap:var(--space-4);margin-top:var(--space-6)}.field,.form{display:flex;flex-direction:column}.field{gap:var(--space-2);font-size:.875rem;font-weight:500;color:var(--color-text)}.field--checkbox{flex-direction:row;align-items:flex-start;gap:var(--space-3);font-weight:400;color:var(--color-text-muted);line-height:1.45}.smtp-inline-checkbox{display:inline-flex;gap:var(--space-2);align-items:center}.field--checkbox input{margin-top:.2em;flex-shrink:0}.input{display:block;width:100%;padding:.75rem .875rem;font:inherit;font-size:.9375rem;font-weight:400;color:var(--color-text);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.input::placeholder{color:#94a3b8}.input:hover{border-color:var(--color-brand-dark)}.input:focus{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.field--otp .field__label{text-align:center}.otp-input{display:flex;justify-content:center;gap:var(--space-2)}.otp-input__cell{width:2.75rem;height:2.75rem;padding:0;font:inherit;font-size:1.25rem;font-weight:600;line-height:1;text-align:center;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);transition:border-color .15s ease,box-shadow .15s ease}.otp-input__cell:hover:not(:disabled){border-color:var(--color-brand-dark)}.otp-input__cell:focus{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.otp-input__cell:disabled{opacity:.6;cursor:not-allowed}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);padding:.625rem 1rem;font:inherit;font-size:.9375rem;font-weight:600;line-height:1.25;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}.btn,.btn--primary{border-radius:var(--radius-md)}.btn--primary{width:100%;margin-top:var(--space-1);color:var(--color-text-on-brand);background:var(--color-brand);box-shadow:var(--shadow-sm)}.btn--inline{width:auto;margin-top:0}.btn--primary:hover{background:var(--color-brand-dark)}.btn--primary:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-focus-ring)}.btn--secondary{color:var(--color-text);background:var(--color-surface);border-color:var(--color-border-strong)}.btn--secondary:hover{background:var(--color-brand-soft);border-color:var(--color-brand);color:var(--color-brand-deep)}.btn--ghost{width:auto;margin-top:0;color:var(--color-text-muted);background:var(--color-surface);border-color:var(--color-border);box-shadow:var(--shadow-sm)}.btn--ghost:hover{color:var(--color-text);background:var(--color-brand-soft);border-color:var(--color-brand-muted)}.link{color:var(--color-brand-dark);font-weight:500;text-decoration:none}.link:hover{color:var(--color-brand-deep);text-decoration:underline}.landing-page{min-height:100vh;display:flex;flex-direction:column;background:var(--gradient-auth-bg)}.landing-page__main{flex:1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:var(--space-8);max-width:1100px;width:100%;margin:0 auto;padding:var(--space-8) var(--space-6)}.landing-page__brand{padding:var(--space-8)}.landing-page__brand h1{margin:var(--space-6) 0 var(--space-4);font-size:2.25rem;font-weight:700;letter-spacing:-.04em;line-height:1.15;color:var(--color-text)}.landing-page__brand>p{margin:0;max-width:28rem;font-size:1.0625rem;line-height:1.65;color:var(--color-text-muted)}.landing-hero{width:100%;padding:var(--space-8);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.landing-hero h2{margin:var(--space-6) 0 var(--space-3);font-size:1.25rem;font-weight:700;letter-spacing:-.02em;color:var(--color-text)}.landing-hero>p{margin:0;font-size:.9375rem;line-height:1.6;color:var(--color-text-muted)}.landing-hero__actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-8)}.landing-hero__actions .btn{min-width:8rem}.landing-hero__actions .btn--primary{width:auto}.alert{padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);font-size:.875rem;line-height:1.45}.alert--error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.alert--success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.alert--warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.form-field{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.form-label{font-size:.8125rem;font-weight:600;line-height:1.35;color:var(--color-text)}.form-field .input,.form-field select.input{width:100%}.form-hint{margin:0;font-size:.75rem;line-height:1.4;color:var(--color-text-muted)}.app-shell{display:flex;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;background:var(--color-background)}.app-shell__sidebar{display:flex;flex-direction:column;width:var(--sidebar-width);height:100%;flex-shrink:0;background:var(--color-surface);border-right:1px solid var(--color-border);box-shadow:var(--shadow-sm);transition:width .28s cubic-bezier(.4,0,.2,1);z-index:30}.app-shell--sidebar-collapsed .app-shell__nav{overflow:visible}.app-shell--sidebar-collapsed .app-shell__sidebar{width:var(--sidebar-width-collapsed)}.app-shell__sidebar-brand{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:var(--space-2);padding:var(--space-5) var(--space-4) var(--space-4);transition:padding .28s cubic-bezier(.4,0,.2,1)}.app-shell__sidebar-brand-logo{min-width:0;flex:1}.app-shell--sidebar-collapsed .app-shell__sidebar-brand{flex-direction:column;justify-content:center;gap:var(--space-3);padding:var(--space-5) var(--space-2) var(--space-4)}.app-shell--sidebar-collapsed .app-shell__sidebar-brand-logo{flex:none;display:flex;justify-content:center}.app-shell__sidebar-banner{flex-shrink:0;margin-top:auto;padding:var(--space-3) var(--space-3) var(--space-4);border-top:1px solid var(--color-border)}.app-shell--sidebar-collapsed .app-shell__sidebar-banner{padding-left:var(--space-2);padding-right:var(--space-2);padding-bottom:var(--space-3)}.impersonation-banner{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--color-warning) 35%,#fde68a);background:var(--color-warning-soft);box-shadow:0 1px 3px color-mix(in srgb,var(--color-warning) 12%,transparent)}.impersonation-banner__badge{display:inline-flex;align-items:center;gap:var(--space-2);align-self:flex-start;padding:.2rem .55rem;border-radius:999px;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#92400e;background:color-mix(in srgb,var(--color-warning) 22%,#fffbeb)}.impersonation-banner__dot{width:.45rem;height:.45rem;border-radius:50%;background:var(--color-warning);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-warning) 28%,transparent);animation:impersonation-pulse 2s ease-in-out infinite}@keyframes impersonation-pulse{0%,to{opacity:1}50%{opacity:.45}}.impersonation-banner__title{margin:0;font-size:.8125rem;font-weight:600;line-height:1.35;color:var(--color-text)}.impersonation-banner__client{margin:0;font-size:.9375rem;font-weight:700;line-height:1.3;color:var(--color-text);word-break:break-word}.impersonation-banner__hint{margin:0;font-size:.75rem;line-height:1.4;color:var(--color-text-muted)}.impersonation-banner__exit{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;padding:.5rem .75rem;border:1px solid color-mix(in srgb,var(--color-warning) 45%,#fcd34d);border-radius:var(--radius-md);font-size:.8125rem;font-weight:600;color:#92400e;background:#fffbeb;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.impersonation-banner__exit:hover{background:#fef3c7;border-color:var(--color-warning);color:#78350f}.impersonation-banner__exit:focus-visible{outline:2px solid var(--color-warning);outline-offset:2px}.app-shell--sidebar-collapsed .app-shell__sidebar-banner{border-top:none;padding-top:var(--space-2)}.app-shell--sidebar-collapsed .impersonation-banner{align-items:center;padding:var(--space-2);gap:var(--space-2)}.app-shell--sidebar-collapsed .impersonation-banner__badge,.app-shell--sidebar-collapsed .impersonation-banner__client,.app-shell--sidebar-collapsed .impersonation-banner__hint,.app-shell--sidebar-collapsed .impersonation-banner__title{display:none}.app-shell--sidebar-collapsed .impersonation-banner__exit{width:2.25rem;height:2.25rem;padding:0;border-radius:var(--radius-md)}.app-shell--sidebar-collapsed .impersonation-banner__exit-label{display:none}.app-shell__nav{flex:1;overflow-y:auto;padding:var(--space-2) var(--space-3) var(--space-4)}.app-shell--sidebar-collapsed .app-shell__nav{padding-left:var(--space-2);padding-right:var(--space-2)}.app-shell__nav-group+.app-shell__nav-group{margin-top:var(--space-5)}.app-shell__nav-label{margin:0 0 var(--space-2);padding:0 var(--space-3);font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-subtle);overflow:hidden;white-space:nowrap;opacity:1;max-height:1.25rem;transition:opacity .2s ease,max-height .28s cubic-bezier(.4,0,.2,1),margin .28s cubic-bezier(.4,0,.2,1)}.app-shell--sidebar-collapsed .app-shell__nav-label{opacity:0;max-height:0;margin:0;padding:0}.app-shell--sidebar-collapsed .app-shell__nav-group+.app-shell__nav-group{margin-top:var(--space-2)}.app-shell__nav-list{margin:0;padding:0;list-style:none}.app-shell__nav-link{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);padding:.625rem var(--space-3);border-radius:var(--radius-md);font-size:.875rem;font-weight:500;color:var(--color-text-muted);text-decoration:none;transition:background .15s ease,color .15s ease,padding .28s cubic-bezier(.4,0,.2,1)}.app-shell--sidebar-collapsed .app-shell__nav-list li{display:flex;justify-content:center}.app-shell--sidebar-collapsed .app-shell__nav-link{width:2.25rem;height:2.25rem;padding:0;justify-content:center;align-items:center;flex-shrink:0}.app-shell--sidebar-collapsed .app-shell__nav-link-inner{gap:0;justify-content:center}.app-shell--sidebar-collapsed .app-shell__nav-link[data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:calc(100% + .625rem);top:50%;z-index:50;padding:.375rem .75rem;font-size:.8125rem;font-weight:500;line-height:1.25;color:var(--color-text);white-space:nowrap;pointer-events:none;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);opacity:0;transform:translateY(-50%) translateX(-4px);transition:opacity .15s ease,transform .15s ease}.app-shell--sidebar-collapsed .app-shell__nav-link:focus-visible:after,.app-shell--sidebar-collapsed .app-shell__nav-link:hover:after{opacity:1;transform:translateY(-50%) translateX(0)}.app-shell__nav-link-inner{display:inline-flex;align-items:center;gap:var(--space-3);min-width:0}.app-shell__nav-text{overflow:hidden;white-space:nowrap;opacity:1;max-width:12rem;transition:opacity .2s ease,max-width .28s cubic-bezier(.4,0,.2,1)}.app-shell--sidebar-collapsed .app-shell__nav-text{display:none}.app-shell__nav-icon{flex-shrink:0;opacity:.75}.app-shell__nav-link:hover{background:var(--color-brand-soft);color:var(--color-text)}.app-shell__nav-link.is-active{background:var(--color-nav-active);color:var(--color-nav-active-text)}.app-shell__nav-link.is-active .app-shell__nav-icon{opacity:1}.app-shell__nav-badge{padding:.125rem .5rem;font-size:.6875rem;font-weight:600;border-radius:999px;background:rgba(255,255,255,.15);color:inherit}.app-shell__nav-link:not(.is-active) .app-shell__nav-badge{background:var(--color-background);color:var(--color-text-muted)}.app-shell--sidebar-collapsed .app-shell__nav-badge{position:absolute;top:.125rem;right:.125rem;width:.4375rem;height:.4375rem;padding:0;font-size:0;color:transparent;background:var(--color-brand);border-radius:999px}.app-shell--sidebar-collapsed .app-shell__nav-link.is-active .app-shell__nav-badge{background:var(--color-surface)}.app-shell__sidebar-toggle{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:var(--color-text-muted);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.app-shell__sidebar-toggle:hover{color:var(--color-text);background:var(--color-brand-soft);border-color:var(--color-brand-muted)}.app-shell__sidebar-toggle:focus-visible{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.app-shell__sidebar-toggle-icon{flex-shrink:0;transition:transform .28s cubic-bezier(.4,0,.2,1)}.app-shell__sidebar-toggle-icon.is-flipped{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.app-shell--sidebar-collapsed .app-shell__nav-link[data-tooltip]:after,.app-shell__nav-label,.app-shell__nav-link,.app-shell__nav-text,.app-shell__sidebar,.app-shell__sidebar-brand,.app-shell__sidebar-toggle,.app-shell__sidebar-toggle-icon{transition:none}}.app-shell__main{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.app-shell__topbar{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) var(--space-6);background:var(--color-surface);border-bottom:1px solid var(--color-border)}.app-shell__topbar-start{display:flex;flex:1;align-items:center;min-width:0;gap:var(--space-2)}.app-shell__topbar-end{flex-shrink:0;display:flex;align-items:center;gap:var(--space-3)}.app-shell__topbar-icons{display:flex;align-items:center;gap:var(--space-1)}.app-shell__mobile-toggle{display:none;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;color:var(--color-text);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer}.app-shell__mobile-toggle:hover{background:var(--color-brand-soft);border-color:var(--color-brand-muted)}.app-shell__mobile-toggle:focus-visible{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.app-shell__mobile-overlay{display:none;position:fixed;inset:0;z-index:25;border:none;padding:0;margin:0;background:rgba(15,23,42,.42);backdrop-filter:blur(4px)}.app-shell__icon-btn{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;color:var(--color-text-muted);background:transparent;border:1px solid transparent;border-radius:999px;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.app-shell__icon-btn:hover{color:var(--color-text);background:var(--color-background);border-color:var(--color-border)}.app-shell__user-dropdown{position:relative}.app-shell__user-menu{display:flex;align-items:center;gap:var(--space-3);padding:.25rem .5rem .25rem .25rem;font:inherit;color:inherit;border:1px solid var(--color-border);border-radius:999px;background:var(--color-background);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.app-shell__user-menu:hover{border-color:var(--color-border-strong);background:var(--color-surface)}.app-shell__user-dropdown.is-open .app-shell__user-menu{border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring);background:var(--color-surface)}.app-shell__user-menu:focus-visible{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.app-shell__avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:.75rem;font-weight:700;color:var(--color-text-on-brand);background:var(--gradient-balance-hero);border-radius:999px}.app-shell__user{display:flex;flex-direction:column;gap:.0625rem}.app-shell__user-name{font-size:.8125rem;font-weight:600;color:var(--color-text);line-height:1.2}.app-shell__user-role{font-size:.6875rem;color:var(--color-text-muted);line-height:1.2}.app-shell__user-chevron{flex-shrink:0;color:var(--color-text-subtle);margin-right:var(--space-1);transition:transform .2s ease}.app-shell__user-dropdown.is-open .app-shell__user-chevron{transform:rotate(180deg)}.app-shell__user-dropdown-panel{position:absolute;top:calc(100% + .5rem);right:0;z-index:50;min-width:11.5rem;padding:var(--space-2);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.app-shell__user-dropdown-item{display:flex;align-items:center;gap:var(--space-3);width:100%;padding:.625rem .75rem;font:inherit;font-size:.875rem;font-weight:500;color:var(--color-text);text-align:left;text-decoration:none;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease,color .15s ease}.app-shell__user-dropdown-icon{flex-shrink:0;color:var(--color-text-muted);transition:color .15s ease}.app-shell__user-dropdown-label{line-height:1.25}.app-shell__user-dropdown-item:focus-visible,.app-shell__user-dropdown-item:hover{background:var(--color-brand-soft);color:var(--color-text);outline:none}.app-shell__user-dropdown-item:focus-visible .app-shell__user-dropdown-icon,.app-shell__user-dropdown-item:hover .app-shell__user-dropdown-icon{color:var(--color-brand-dark)}.app-shell__user-dropdown-item--danger,.app-shell__user-dropdown-item--danger .app-shell__user-dropdown-icon{color:var(--color-danger)}.app-shell__user-dropdown-item--danger:focus-visible,.app-shell__user-dropdown-item--danger:hover{background:var(--color-danger-soft);color:var(--color-danger)}.app-shell__user-dropdown-item--danger:focus-visible .app-shell__user-dropdown-icon,.app-shell__user-dropdown-item--danger:hover .app-shell__user-dropdown-icon{color:var(--color-danger)}.app-shell__content{flex:1;min-height:0;padding:var(--space-6);overflow-y:auto;overflow-x:hidden}.page-card{padding:var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.page-card__header{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}.page-card__header--split{align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.page-card__header h2{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em}.page-card__subtitle{margin:var(--space-1) 0 0;font-size:.8125rem;color:var(--color-text-muted)}.page-card__text{margin:0 0 var(--space-4);font-size:.9375rem;line-height:1.6;color:var(--color-text-muted)}.badge{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.75rem;font-weight:600;border-radius:999px}.badge--info{color:#1e40af;background:#dbeafe}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-4)}.kpi-grid--summary{flex:1;min-width:0}.stat-card{display:flex;flex-direction:column;padding:var(--space-5);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);transition:box-shadow .15s ease,border-color .15s ease}.stat-card:hover{border-color:var(--color-border-strong);box-shadow:var(--shadow-md)}.stat-card--accent{background:var(--gradient-balance-hero);border-color:transparent;color:var(--color-text-on-brand)}.stat-card--accent .stat-card__hint,.stat-card--accent .stat-card__label{color:rgba(255,255,255,.85)}.stat-card--accent .stat-card__value{color:var(--color-text-on-brand)}.stat-card__top{display:flex;align-items:center;gap:var(--space-3)}.stat-card__icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--radius-md);background:var(--color-brand-soft);color:var(--color-brand-dark)}.stat-card__label{margin:0;font-size:.8125rem;font-weight:600;color:var(--color-text-muted)}.stat-card__value{margin:var(--space-3) 0 0;font-size:1.625rem;font-weight:700;letter-spacing:-.03em;color:var(--color-text)}.stat-card__hint{margin:var(--space-2) 0 0;font-size:.75rem;color:var(--color-text-muted)}.stat-card__footer{display:inline-flex;align-items:center;gap:var(--space-2);margin-top:auto;padding-top:var(--space-4);font-size:.8125rem;font-weight:600;color:var(--color-brand-dark)}.stat-card__footer-arrow{transition:transform .15s ease}.stat-card:hover .stat-card__footer-arrow{transform:translateX(2px)}.balance-hero{display:flex;align-items:flex-start;gap:var(--space-4);min-width:280px;flex:1.2;padding:var(--space-6);border-radius:var(--radius-lg);background:var(--gradient-balance-hero);color:var(--color-text-on-brand);box-shadow:var(--shadow-md)}.balance-hero__icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:var(--radius-md);background:rgba(255,255,255,.15);flex-shrink:0}.balance-hero__main{flex:1;min-width:0}.balance-hero__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.balance-hero__label{margin:0;font-size:.875rem;opacity:.9}.balance-hero__change{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.75rem;font-weight:600;border-radius:999px;background:rgba(255,255,255,.2)}.balance-hero__value{margin:var(--space-2) 0 0;font-size:2rem;font-weight:700;letter-spacing:-.03em;line-height:1.1}.balance-hero__footer{margin:var(--space-3) 0 0;font-size:.8125rem;opacity:.85}.balance-hero__footer span{font-weight:600}.balance-summary{display:inline-flex;align-items:center;gap:var(--space-4);padding:var(--space-2) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(37,99,235,.06),rgba(37,99,235,.02));box-shadow:var(--shadow-sm)}.balance-summary__icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--radius-md);background:var(--gradient-balance-hero);color:var(--color-text-on-brand);flex-shrink:0}.balance-summary__icon--action{position:relative;padding:0;border:none;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.balance-summary__icon--action:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(22,163,74,.35)}.balance-summary__icon--action:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}.balance-summary__icon-badge{position:absolute;right:-3px;bottom:-3px;display:inline-flex;align-items:center;justify-content:center;width:.875rem;height:.875rem;font-size:.625rem;font-weight:800;line-height:1;color:var(--color-brand-dark);background:#fff;border:1.5px solid var(--color-brand-muted);border-radius:999px;box-shadow:var(--shadow-sm)}.balance-summary__items{display:flex;align-items:center;gap:var(--space-4);padding-left:var(--space-3)}.balance-summary__item{display:flex;flex-direction:column;gap:.125rem;min-width:0}.balance-summary__label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);white-space:nowrap}.balance-summary__value{font-size:1.0625rem;font-weight:700;letter-spacing:-.02em;color:var(--color-text);line-height:1.2;white-space:nowrap}.balance-summary__value--muted{font-size:.9375rem;font-weight:600;color:var(--color-text-muted)}.balance-summary__sep{width:1px;align-self:stretch;min-height:2rem;background:var(--color-border);flex-shrink:0}.balance-filter .orders-filter__grid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3) var(--space-4)}.balance-filter .orders-filter__field{flex:0 1 9rem;min-width:6.5rem;gap:2px}.balance-filter .orders-filter__label{line-height:1.2}.balance-filter .orders-filter__field .input,.balance-filter .orders-filter__field select.input{height:2rem;min-height:2rem;max-height:2rem;padding:0 .625rem;font-size:.8125rem;line-height:1.25;border-radius:var(--radius-sm);box-sizing:border-box}.balance-filter .orders-filter__field input[type=date]{padding-right:.375rem}.balance-filter .orders-filter__field input[type=date]::-webkit-calendar-picker-indicator{width:.875rem;height:.875rem;margin:0;cursor:pointer}.balance-filter .orders-filter__btn{height:2rem;min-height:2rem;padding:0 .75rem;line-height:1.25;box-sizing:border-box}.balance-filter .balance-filter__search{flex:1 1 0;min-width:9rem;max-width:none}.balance-filter .balance-filter__search .input{width:100%}.balance-filter .balance-filter__operation{flex:1 1 11rem;min-width:9.5rem;max-width:16rem}.balance-filter .balance-filter__operator,.balance-filter .balance-filter__status{flex:0 1 9.5rem;min-width:8.5rem}.balance-filter .orders-filter__actions{display:flex;align-items:flex-end;gap:var(--space-2);flex-shrink:0}.balance-filter .orders-filter__action{flex:0 0 auto}.balance-filter .orders-filter__action .orders-filter__btn{width:auto;min-width:6.75rem;white-space:nowrap}.data-table-wrap{overflow-x:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.data-table-wrap--empty{overflow:visible}.table-empty{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-8) var(--space-6);min-height:12.5rem;text-align:center;background:radial-gradient(ellipse 80% 70% at 50% 0,var(--color-brand-glow),transparent 65%),var(--color-background)}.table-empty,.table-empty__icon{align-items:center;justify-content:center}.table-empty__icon{display:inline-flex;width:3.25rem;height:3.25rem;border-radius:var(--radius-md);background:var(--color-brand-soft);color:var(--color-brand);border:1px solid var(--color-brand-muted);box-shadow:var(--shadow-sm)}.table-empty__title{margin:0;font-size:.9375rem;font-weight:600;letter-spacing:-.01em;color:var(--color-text)}.table-empty__hint{margin:0;max-width:22rem;font-size:.8125rem;line-height:1.55;color:var(--color-text-muted)}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table td,.data-table th{padding:.875rem 1rem;text-align:left;border-bottom:1px solid var(--color-border)}.data-table th{font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-subtle);background:var(--color-background)}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:var(--color-brand-soft)}.data-table tbody tr.data-table__row--clickable{cursor:pointer}.status-dot{display:inline-flex;align-items:center;gap:var(--space-2);font-size:.8125rem;font-weight:500;color:var(--color-text)}.status-dot__indicator{flex-shrink:0;width:.5rem;height:.5rem;border-radius:999px;background:var(--color-text-subtle)}.status-dot--success .status-dot__indicator{background:var(--color-success)}.status-dot--warning .status-dot__indicator{background:var(--color-warning)}.status-dot--danger .status-dot__indicator{background:var(--color-danger)}.status-dot--neutral .status-dot__indicator{background:var(--color-text-subtle)}.amount-positive{font-weight:600;color:var(--color-brand-deep)}.amount-negative{font-weight:600;color:#b91c1c}.status-badge{display:inline-flex;padding:.125rem .5rem;font-size:.75rem;font-weight:600;border-radius:999px;background:#e2e8f0;color:var(--color-text);white-space:nowrap}.status-badge--success{background:#dcfce7;color:#166534}.status-badge--warning{background:#fef3c7;color:#92400e}.profile-dl{display:grid;gap:var(--space-4);margin:0}.profile-dl div{display:grid;gap:var(--space-1)}.profile-dl dt{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.profile-dl dd{margin:0;font-size:.9375rem}.orders-chart__bars{display:flex;align-items:flex-end;gap:var(--space-4);min-height:200px;padding:var(--space-4) 0 var(--space-2)}.orders-chart__col{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:var(--space-2);min-width:0;cursor:pointer}.orders-chart__bar-wrap{display:flex;align-items:flex-end;justify-content:center;width:100%;height:160px}.orders-chart__bar-stack{width:2.25rem;min-height:8px;border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;background:rgba(148,163,184,.2);box-shadow:inset 0 0 0 1px rgba(148,163,184,.25);opacity:.75;transition:opacity .2s ease,transform .2s ease}.orders-chart__bar-seg{width:100%}.orders-chart__col.is-active .orders-chart__bar-stack,.orders-chart__col:hover .orders-chart__bar-stack{opacity:1;transform:scaleY(1.02)}.orders-chart__label{font-size:.75rem;font-weight:500;color:var(--color-text-muted);text-align:center}.orders-chart__col.is-active .orders-chart__label{color:var(--color-text);font-weight:600}.orders-chart__tooltip{position:absolute;bottom:calc(100% + .5rem);left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:var(--space-2);min-width:220px;padding:var(--space-3);font-size:.75rem;color:#f8fafc;background:var(--color-nav-active);border-radius:var(--radius-md);box-shadow:var(--shadow-md);white-space:normal;z-index:2}.orders-chart__tooltip-label{font-weight:700;margin-bottom:.125rem}.orders-chart__tooltip-list{display:grid;gap:.375rem}.orders-chart__tooltip-row{display:grid;grid-template-columns:.75rem 1fr auto;gap:var(--space-2);align-items:center}.orders-chart__tooltip-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-chart__tooltip-count{font-variant-numeric:tabular-nums}.orders-chart__toggle{display:inline-flex;padding:.1875rem;background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md)}.orders-chart__toggle-btn{padding:.375rem .75rem;font:inherit;font-size:.75rem;font-weight:600;color:var(--color-text-muted);background:transparent;border:none;border-radius:calc(var(--radius-md) - 2px);cursor:pointer}.orders-chart__toggle-btn.is-active{color:var(--color-text);background:var(--color-surface);box-shadow:var(--shadow-sm)}.orders-chart__toggle-btn:disabled{opacity:.45;cursor:not-allowed}.orders-chart__legend{display:flex;flex-wrap:wrap;gap:var(--space-5);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border);font-size:.8125rem;color:var(--color-text-muted)}.orders-chart__legend-item{display:inline-flex;align-items:center}.orders-chart__legend-dot{display:inline-block;width:.625rem;height:.625rem;margin-right:var(--space-2);border-radius:2px;vertical-align:middle}@media (max-width:640px){.balance-summary{width:100%;justify-content:space-between;gap:var(--space-3)}.filter-bar{padding:var(--space-5)}.filter-bar__row{flex-direction:column;align-items:stretch}.filter-bar__grid{grid-template-columns:1fr;gap:var(--space-3);width:100%}.filter-bar__actions{width:100%;gap:var(--space-2)}.filter-bar__btn{flex:1;min-width:0}.orders-filter{padding:var(--space-5)}.orders-filter__grid{grid-template-columns:1fr;gap:var(--space-3)}.orders-filter__label{white-space:normal}.orders-filter__action{width:100%}.orders-filter__btn{min-height:2.5rem}.balance-summary__items{flex:1;min-width:0;gap:var(--space-3);padding-left:0}.balance-summary__value{font-size:.9375rem}.dashboard-profit__intro{align-items:flex-start}.dashboard-profit__legend{gap:var(--space-3)}.dashboard-profit__hero-body{flex-direction:column;gap:var(--space-4)}.dashboard-profit__grid,.dashboard-profit__hero-metrics{grid-template-columns:1fr}.orders-chart__bars{gap:var(--space-2);overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:var(--space-3)}.orders-chart__col{flex:0 0 3.25rem}.orders-chart__bar-stack{width:1.75rem}.orders-chart__tooltip{min-width:min(18rem,92vw)}.orders-chart__legend{gap:var(--space-3)}}.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--space-4)}.module-card{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.module-card--enabled{border-color:var(--color-brand);background:var(--color-brand-soft)}.module-card h3{margin:0 0 var(--space-2);font-size:1rem}.module-card p{margin:0;font-size:.875rem;color:var(--color-text-muted);line-height:1.45}.module-grid-v2{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-4)}.module-card-v2{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:0 1px 2px rgb(15 23 42/.04);transition:border-color .15s ease,box-shadow .15s ease}.module-card-v2--enabled{border-color:color-mix(in srgb,var(--color-brand) 45%,var(--color-border));background:linear-gradient(165deg,var(--color-brand-soft) 0,var(--color-surface) 55%);box-shadow:0 4px 14px rgb(15 23 42/.06)}.module-card-v2--clickable{cursor:pointer}.module-card-v2--clickable:hover{border-color:color-mix(in srgb,var(--color-brand) 35%,var(--color-border));box-shadow:0 6px 18px rgb(15 23 42/.08)}.module-card-v2--clickable:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}.module-admin-form{display:flex;flex-direction:column;gap:var(--space-5)}.module-admin-form--compact{gap:var(--space-3)}.module-admin-form--compact .page-card__text{margin-bottom:0}.module-admin-form__section{display:flex;flex-direction:column;gap:var(--space-3)}.module-admin-form__title{margin:0;font-size:.9375rem;font-weight:600}.module-admin-form__badges{display:flex;flex-wrap:wrap;gap:var(--space-2)}.order-form-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:640px){.order-form-grid--2{grid-template-columns:1fr}}.green-api-qr{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted,#f8fafc)}.green-api-qr img{width:220px;height:220px;object-fit:contain}.input--secret{user-select:none;-webkit-user-select:none}.module-card-v2__head{display:flex;flex-direction:column;gap:var(--space-2)}.module-card-v2__title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.module-card-v2__title{margin:0;font-size:1.0625rem;font-weight:600;letter-spacing:-.02em}.module-card-v2__desc{margin:0;font-size:.875rem;color:var(--color-text-muted);line-height:1.5}.module-card-v2__badge{flex-shrink:0;padding:.2rem .55rem;border-radius:999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.module-card-v2__badge--on{color:#166534;background:#dcfce7}.module-card-v2__badge--off{color:var(--color-text-muted);background:var(--color-surface-muted,#f1f5f9)}.module-card-v2__badge--phase2{color:#92400e;background:#fef3c7}.module-card-v2__badge--error{color:#b91c1c;background:#fee2e2}.module-card-v2__alert{display:flex;align-items:flex-start;gap:.5rem;margin:var(--space-2) 0 0;padding:.5rem .625rem;border-radius:var(--radius-md,10px);border:1px solid rgba(185,28,28,.2);background:rgba(254,226,226,.45);color:#991b1b}.module-card-v2__alert-icon{width:1.125rem;height:1.125rem;flex:0 0 auto;margin-top:.125rem}.module-card-v2__alert-message{font-size:.875rem;line-height:1.45}.module-card-v2__meta{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:var(--space-3) 0 0;border-top:1px solid var(--color-border)}.module-card-v2__meta-row{display:grid;grid-template-columns:9.5rem 1fr;gap:var(--space-2);align-items:baseline;font-size:.8125rem}.module-card-v2__meta-row dt{margin:0;color:var(--color-text-muted);font-weight:500}.module-card-v2__meta-row dd{margin:0;font-weight:600;color:var(--color-text)}.module-card-v2__meta-row--warn dd{color:#b45309}.module-card-v2__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:auto;padding-top:var(--space-3);border-top:1px solid var(--color-border)}.module-card-v2__setup-hint{margin-left:auto;padding:0;border:none;background:none;font-size:.875rem;font-weight:600;color:var(--color-text,#0f172a);text-align:right;cursor:pointer;text-decoration:none}.module-card-v2__setup-hint:hover{color:var(--color-text,#0f172a);opacity:.75}button.module-card-v2__setup-hint:disabled{cursor:default;opacity:.55;text-decoration:none}.module-toggle{display:inline-flex;align-items:center;gap:var(--space-3);cursor:pointer;user-select:none}.module-toggle:has(input:disabled){cursor:not-allowed;opacity:.55}.module-toggle .product-toggle{flex-shrink:0}.module-toggle__label{font-size:.875rem;font-weight:600;line-height:1.25;white-space:nowrap}.module-toggle--on .module-toggle__label{color:#166534}.module-toggle--off .module-toggle__label{color:var(--color-text-muted)}.modules-page-card{padding:var(--space-5)}.integrations-page{display:flex;flex-direction:column;gap:var(--space-5)}.integration-providers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:var(--space-4);align-items:stretch}.integration-providers-grid .integration-card{height:100%}.integration-card__head{display:flex;align-items:flex-start;gap:var(--space-4)}.integration-card__head .module-card-v2__head{flex:1;min-width:0}.integration-card__head .module-card-v2__title-row{width:100%}.integration-card__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.integration-card__item{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.integration-card__item:hover{border-color:color-mix(in srgb,var(--color-brand) 50%,var(--color-border));background:var(--color-brand-soft)}.integration-card__item--static{cursor:default;flex-direction:row;align-items:center;justify-content:space-between;gap:var(--space-3)}.integration-card__item--static:hover{border-color:var(--color-border);background:var(--color-surface)}.integration-card__item-main{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0;flex:1}.integration-card__item-actions{display:flex;flex-shrink:0;align-items:center;gap:var(--space-2)}.integration-card__delete-btn{padding:.2rem .45rem;min-height:1.5rem;font-size:0;line-height:1;color:#fff;background:#dc2626;border:1px solid #dc2626;border-radius:var(--radius-sm)}.integration-card__delete-btn:hover:not(:disabled){color:#fff;background:#b91c1c;border-color:#b91c1c}.integration-card__delete-btn:disabled{opacity:.5;cursor:not-allowed}.integration-card__delete-btn svg{color:#fff}.integration-card__item-name{font-weight:600;font-size:.9375rem}.integration-card__item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);font-size:.8125rem;color:var(--color-text-muted)}.integration-card__item-hint{font-size:.75rem;color:var(--color-text-muted)}.integration-card__empty{margin:0;font-size:.875rem;color:var(--color-text-muted);line-height:1.5}.integration-card__footer{justify-content:flex-start}.integration-card__footer-btns{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--space-2);min-width:0}.integration-card__footer-btns .btn{flex-shrink:0;white-space:nowrap}.integration-tokens-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--space-4)}.integration-token-card__footer{justify-content:space-between;width:100%}.integration-empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-8) var(--space-4);text-align:center;border:1px dashed var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-muted,#f8fafc)}.integration-empty-state>p:first-child{margin:0;font-weight:600;font-size:1rem}.api-token-reveal__row{display:flex;gap:var(--space-2);align-items:stretch}.api-token-reveal__row .order-control{flex:1;font-family:ui-monospace,monospace;font-size:.8125rem}.integration-modal__header-badge{padding:.2rem .65rem;border-radius:999px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.integration-modal__header-badge--cdek{color:#92400e;background:#fef3c7}.integration-modal__header-badge--pochta{color:#1e40af;background:#dbeafe}.integration-modal-form{display:flex;flex-direction:column;gap:var(--space-4)}.integration-modal-form .order-panel{padding:var(--space-4) var(--space-5);box-shadow:none;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-background)}.integration-modal-form .order-panel__header{margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px solid var(--color-border)}.integration-modal-form__hero{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-radius:var(--radius-md);border:1px solid var(--color-border)}.integration-modal-form__hero--cdek{background:linear-gradient(135deg,rgba(245,208,51,.18),rgba(245,208,51,.04) 55%,transparent);border-color:rgba(245,208,51,.35)}.integration-modal-form__hero--pochta{background:linear-gradient(135deg,rgba(0,86,164,.12),rgba(0,86,164,.03) 55%,transparent);border-color:rgba(0,86,164,.2)}.integration-modal-form__hero .integration-logo{width:52px;height:52px}.integration-modal-form__hero-title{margin:0 0 var(--space-1);font-size:1rem;font-weight:700;letter-spacing:-.02em;color:var(--color-text)}.integration-modal-form__hero-text p{margin:0 0 var(--space-2);font-size:.8125rem;line-height:1.55;color:var(--color-text-muted)}.integration-modal-form__doc-link{font-size:.8125rem;font-weight:600;color:var(--color-brand);text-decoration:none}.integration-modal-form__doc-link:hover{text-decoration:underline}.integration-modal-form__alert{margin:0;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);font-size:.875rem;line-height:1.5}.integration-modal-form__alert--success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.integration-modal-form__alert--error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.integration-modal-form__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-1);padding-top:var(--space-5);border-top:1px solid var(--color-border)}.integration-modal-form__footer-end,.integration-modal-form__footer-start{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.integration-provider-card__head{display:flex;align-items:flex-start;gap:var(--space-4)}.integration-logo{flex-shrink:0;width:56px;height:56px;border-radius:var(--radius-md);background:var(--color-surface-muted) center /contain no-repeat}.integration-logo--cdek{background-color:#fff8e6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect fill='%23f5d033' width='64' height='64' rx='8'/%3E%3Ctext x='32' y='38' text-anchor='middle' font-size='14' font-weight='700' fill='%231a1a1a' font-family='Arial,sans-serif'%3EСДЭК%3C/text%3E%3C/svg%3E")}.integration-logo--pochta{background-color:#e8f4fc;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect fill='%230056a4' width='64' height='64' rx='8'/%3E%3Ctext x='32' y='38' text-anchor='middle' font-size='11' font-weight='700' fill='%23fff' font-family='Arial,sans-serif'%3EПочта%3C/text%3E%3C/svg%3E")}.integration-logo--callcpa{background-color:#ecfdf5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect fill='%2316a34a' width='64' height='64' rx='8'/%3E%3Ctext x='32' y='38' text-anchor='middle' font-size='10' font-weight='700' fill='%23fff' font-family='Arial,sans-serif'%3EAPI%3C/text%3E%3C/svg%3E")}.integration-cabinet-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-2)}.integration-cabinet-list__item{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1);width:100%;padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.integration-cabinet-list__item:hover{border-color:var(--color-brand);box-shadow:0 1px 4px rgb(0 0 0/6%)}.integration-cabinet-list__name{font-weight:600;color:var(--color-text)}.integration-cabinet-list__meta{font-size:.8125rem;color:var(--color-text-muted)}.modal__footer--split{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3)}.modal__footer-end,.modal__footer-start{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.smtp-settings-card__panels{display:flex;flex-direction:column;gap:var(--space-4);margin-top:var(--space-4)}.smtp-panel{padding:var(--space-5);border-radius:var(--radius-md);background:var(--color-bg-subtle,#f8fafc);border:1px solid var(--color-border,#e2e8f0)}.smtp-panel--muted{background:var(--color-surface,#fff)}.smtp-panel__head{margin-bottom:var(--space-4)}.smtp-panel__title{margin:0 0 var(--space-1);font-size:.9375rem;font-weight:600;letter-spacing:-.01em}.smtp-panel__desc{margin:0;font-size:.875rem;color:var(--color-text-muted,#64748b);line-height:1.5;max-width:52rem}.smtp-panel__hint{margin:var(--space-3) 0 0}.smtp-panel .form-error{margin:var(--space-2) 0 0}.s3-usage-panel__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.s3-usage-panel__head .smtp-panel__head{margin-bottom:0;flex:1;min-width:12rem}.s3-usage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:var(--space-3);margin-bottom:var(--space-4)}.s3-usage-stat{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4);background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.s3-usage-stat--primary{background:var(--gradient-balance-hero);border-color:transparent;color:var(--color-text-on-brand)}.s3-usage-stat--primary .s3-usage-stat__hint,.s3-usage-stat--primary .s3-usage-stat__label{color:rgba(255,255,255,.85)}.s3-usage-stat--primary .s3-usage-stat__unit,.s3-usage-stat--primary .s3-usage-stat__value{color:var(--color-text-on-brand)}.s3-usage-stat__label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted,#64748b)}.s3-usage-stat__value{font-size:1.5rem;font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--color-text)}.s3-usage-stat--primary .s3-usage-stat__value{font-size:1.75rem}.s3-usage-stat__unit{margin-left:.15em;font-size:.95rem;font-weight:600;letter-spacing:0;opacity:.9}.s3-usage-stat__hint{font-size:.75rem;color:var(--color-text-muted,#64748b)}.s3-usage-panel__note{margin:0;padding:var(--space-3) var(--space-4);font-size:.8125rem;line-height:1.5;color:var(--color-text-muted,#64748b);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:var(--radius-md)}.s3-usage-panel__note code{font-size:.8125rem}.smtp-subsection-label{margin:var(--space-4) 0 var(--space-3);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted,#64748b)}.smtp-subsection-label:first-of-type{margin-top:0}.smtp-form-grid{display:grid;gap:var(--space-4);grid-template-columns:minmax(0,1fr)}@media (min-width:560px){.smtp-form-grid{grid-template-columns:minmax(7rem,9rem) minmax(0,1fr);align-items:start}.smtp-form-grid .field--full{grid-column:1/-1}.smtp-form-grid--pair{grid-template-columns:repeat(2,minmax(0,1fr))}.smtp-form-grid--pair .field--full{grid-column:span 2}}.smtp-form-grid .field{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}.smtp-form-grid .field .form-hint{margin:0}.smtp-vars-hint{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);margin:var(--space-3) 0 0;padding:var(--space-3) var(--space-4);font-size:.8125rem;line-height:1.45;color:var(--color-text-muted,#64748b);background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0);border-radius:var(--radius-sm,6px)}.smtp-vars-hint__label{font-weight:600;color:var(--color-text,#0f172a)}.smtp-var-chip{padding:.125rem .5rem;font-size:.8125rem;font-family:ui-monospace,monospace;background:var(--color-bg-subtle,#f1f5f9);border:1px solid var(--color-border,#e2e8f0);border-radius:4px}.smtp-vars-hint__text{margin-right:var(--space-1)}.smtp-vars-hint__note{flex:1 1 100%;margin:0;font-size:.8125rem}.smtp-templates{display:grid;gap:var(--space-4);grid-template-columns:1fr}@media (min-width:900px){.smtp-templates{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.smtp-template-block{display:flex;flex-direction:column;height:100%;padding:var(--space-4);border-radius:var(--radius-md);background:var(--color-surface,#fff);border:1px solid var(--color-border,#e2e8f0)}.smtp-template-block__head{margin-bottom:var(--space-3)}.smtp-template-block__title{margin:0 0 var(--space-1);font-size:.875rem;font-weight:600}.smtp-template-block__desc{margin:0;font-size:.8125rem;color:var(--color-text-muted,#64748b);line-height:1.45}.smtp-template-block__fields{display:flex;flex-direction:column;gap:var(--space-3);flex:1}.smtp-template-block__fields .field{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}.smtp-template-block__body{min-height:7.5rem;resize:vertical;font-family:inherit;line-height:1.5}.smtp-test-box{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3)}.smtp-test-box__field{flex:1 1 16rem;min-width:12rem;margin:0;display:flex;flex-direction:column;gap:var(--space-1)}.smtp-settings-card__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--color-border,#e2e8f0)}.smtp-settings-card__footer-messages{flex:1 1 12rem;min-width:0}.smtp-settings-card__footer-messages .form-error,.smtp-settings-card__footer-messages .form-hint{margin:0}.delivery-status-mapping-card__panels{display:flex;flex-direction:column;gap:var(--space-6);margin-top:var(--space-4)}.delivery-status-mapping-card__panel-desc{max-width:none}.delivery-status-mapping-card__add-grid{display:grid;gap:var(--space-4);grid-template-columns:minmax(0,1fr)}@media (min-width:720px){.delivery-status-mapping-card__add-grid{grid-template-columns:9.5rem minmax(12rem,1.5fr) minmax(11rem,1fr);align-items:end}}.delivery-status-mapping-card__add-grid .field{min-width:0}.delivery-status-mapping-card__add-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.delivery-status-mapping-card__table-section{display:flex;flex-direction:column;gap:var(--space-3)}.delivery-status-mapping-card__table{table-layout:fixed}.delivery-status-mapping-card__table--cdek td:first-child,.delivery-status-mapping-card__table--cdek th:first-child{width:auto}.delivery-status-mapping-card__table--cdek td:nth-child(2),.delivery-status-mapping-card__table--cdek th:nth-child(2){width:16rem}.delivery-status-mapping-card__table--cdek td:nth-child(3),.delivery-status-mapping-card__table--cdek th:nth-child(3){width:14.5rem}.delivery-status-mapping-card__table--pochta td:first-child,.delivery-status-mapping-card__table--pochta th:first-child{width:2.5rem}.delivery-status-mapping-card__table--pochta td:nth-child(3),.delivery-status-mapping-card__table--pochta th:nth-child(3){width:6.75rem}.delivery-status-mapping-card__table--pochta td:nth-child(4),.delivery-status-mapping-card__table--pochta th:nth-child(4){width:14.5rem}.delivery-status-mapping-card__code{display:inline-block;max-width:100%;word-break:break-word;overflow-wrap:anywhere;line-height:1.45;vertical-align:top}.delivery-status-mapping-card__desc{color:var(--color-text-muted);line-height:1.45}.delivery-status-mapping-card__workflow .input{min-width:0}.delivery-status-mapping-card__saving{margin:var(--space-1) 0 0;font-size:.75rem;color:var(--color-text-muted)}.delivery-status-mapping-card__section{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-6);padding-top:var(--space-6);border-top:1px solid var(--color-border)}.delivery-status-mapping-card__section:first-of-type{margin-top:var(--space-4);padding-top:0;border-top:none}.delivery-status-mapping-card__hint{margin:0}.delivery-status-mapping-card__add-action{display:flex;align-items:flex-end}.delivery-status-mapping-card__row--seen td{background:color-mix(in srgb,var(--color-primary,#2563eb) 6%,transparent)}.delivery-status-mapping-card__op-name{font-weight:600}.delivery-status-mapping-card__expand{min-width:2rem;padding:.25rem .5rem}.delivery-status-mapping-card__attr-list{margin:0;padding:var(--space-2) var(--space-4) var(--space-3);list-style:none;display:flex;flex-wrap:wrap;gap:var(--space-2)}.delivery-status-mapping-card__attr-list li{display:inline-flex;align-items:center;gap:var(--space-2);padding:.2rem .55rem;border-radius:var(--radius-sm,4px);background:var(--color-surface-muted,#f4f5f7);font-size:.8125rem}.delivery-status-mapping-card__attr-code{font-size:.75rem;opacity:.75}.delivery-status-mapping-card__attrs-row td{padding-top:0;border-bottom-width:2px}.delivery-status-mapping-card__seen{font-size:.8125rem;color:var(--color-text-muted)}.delivery-status-mapping-card__attr-row td{background:var(--color-surface-muted,#f8f9fb)}.delivery-status-mapping-card__attr-row--priority td{background:color-mix(in srgb,var(--color-primary,#0056a4) 6%,transparent)}.delivery-status-mapping-card__attr-name{padding-left:1.75rem;font-size:.875rem}.delivery-status-mapping-card__fallback-hint{display:block;margin-top:.15rem;font-size:.7rem}.form-hint--success{color:var(--color-success,#0d7a4a)}.form-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin-top:var(--space-4)}.page-card__divider{margin:var(--space-6) 0;border:0;border-top:1px solid var(--border-subtle,rgba(0,0,0,.08))}.page-card__section-title{margin:0 0 var(--space-2);font-size:1rem;font-weight:600}.page-stack{display:flex;flex-direction:column;gap:var(--space-6)}.dashboard-header,.page-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.dashboard-header__title,.page-header__title{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.03em;color:var(--color-text)}.dashboard-header__subtitle,.page-header__subtitle{margin:var(--space-1) 0 0;font-size:.875rem;color:var(--color-text-muted)}.dashboard-header__actions,.page-header__actions{display:flex;align-items:center;gap:var(--space-3)}.dashboard-summary{display:flex;flex-wrap:wrap;gap:var(--space-4)}.dashboard-grid{display:grid;grid-template-columns:1fr;gap:var(--space-4)}.dashboard-profit{overflow:hidden}.dashboard-profit__intro{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5)}.dashboard-profit__title{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em}.dashboard-profit__subtitle{margin:var(--space-1) 0 0;font-size:.8125rem;line-height:1.5;color:var(--color-text-muted)}.dashboard-profit__legend{display:flex;flex-wrap:wrap;gap:var(--space-4);font-size:.75rem;color:var(--color-text-muted)}.dashboard-profit__legend-item{display:inline-flex;align-items:center;gap:.375rem}.dashboard-profit__legend-dot{width:.5rem;height:.5rem;border-radius:999px;flex-shrink:0}.dashboard-profit__legend-dot--client{background:var(--color-brand);box-shadow:0 0 0 2px var(--color-brand-muted)}.dashboard-profit__legend-dot--admin{background:#94a3b8}.dashboard-profit__hero{position:relative;margin-bottom:var(--space-5);border-radius:var(--radius-lg);overflow:hidden;border:1px solid rgba(22,163,74,.2);background:linear-gradient(135deg,var(--color-brand-soft) 0,#ffffff 42%,var(--color-brand-muted) 100%);box-shadow:var(--shadow-card)}.dashboard-profit__hero-glow{position:absolute;top:-40%;right:-5%;width:42%;height:140%;background:radial-gradient(circle,rgba(22,163,74,.14) 0,transparent 68%);pointer-events:none}.dashboard-profit__hero-body{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;gap:var(--space-5);padding:var(--space-5) var(--space-6)}.dashboard-profit__hero-main{flex:1 1 14rem;min-width:0}.dashboard-profit__hero-meta{display:none}.dashboard-profit__hero-label{margin:0 0 var(--space-1);font-size:.8125rem;font-weight:600;color:var(--color-brand-dark);text-transform:uppercase;letter-spacing:.06em}.dashboard-profit__hero-value{margin:0;font-size:clamp(1.75rem,4vw,2.25rem);font-weight:800;letter-spacing:-.03em;line-height:1.1;color:var(--color-brand-deep)}.dashboard-profit__hero-value--negative{color:#b91c1c}.dashboard-profit__hero-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr));gap:var(--space-3);flex:1 1 20rem;align-content:start}.dashboard-profit__hero-metric{display:flex;flex-direction:column;gap:.125rem;padding:var(--space-3) var(--space-4);background:rgba(255,255,255,.78);border:1px solid rgba(22,163,74,.12);border-radius:var(--radius-md);backdrop-filter:blur(4px)}.dashboard-profit__hero-metric-label{font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}.dashboard-profit__hero-metric strong{font-size:1rem;font-weight:700;letter-spacing:-.02em}.dashboard-profit__hero-metric-hint{margin-top:.125rem;font-size:.6875rem}.dashboard-profit__finance-link{color:var(--color-brand-dark);font-weight:600;text-decoration:none}.dashboard-profit__finance-link:hover{text-decoration:underline}.dashboard-profit__expense-actions{display:inline-flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.dashboard-profit__expense-btn{width:2.25rem;height:2.25rem;padding:0;border-radius:var(--radius-md);color:#78350f;background:#fef3c7;border:1px solid #f59e0b;box-shadow:var(--shadow-sm)}.dashboard-profit__expense-btn:hover{background:#fde68a;border-color:#d97706}.dashboard-profit__expense-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(245,158,11,.35)}.dashboard-profit__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:var(--space-4)}.dashboard-profit__card{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.dashboard-profit__card:hover{border-color:var(--color-border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.dashboard-profit__card-head{display:flex;align-items:flex-start;gap:var(--space-3)}.dashboard-profit__card-icon{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;flex-shrink:0;border-radius:var(--radius-md);background:var(--color-brand-soft);color:var(--color-brand-dark)}.dashboard-profit__card-titles{flex:1;min-width:0}.dashboard-profit__card-title{margin:0;font-size:.9375rem;font-weight:700;letter-spacing:-.01em}.dashboard-profit__card-hint{margin:.125rem 0 0;font-size:.75rem;line-height:1.4;color:var(--color-text-muted)}.dashboard-profit__card-badge{flex-shrink:0;padding:.2rem .5rem;font-size:.75rem;font-weight:700;border-radius:999px;white-space:nowrap}.dashboard-profit__card-badge--up{color:#166534;background:#dcfce7}.dashboard-profit__card-badge--down{color:#991b1b;background:#fee2e2}.dashboard-profit__bars{display:flex;flex-direction:column;gap:var(--space-2)}.dashboard-profit__bar-row{display:grid;grid-template-columns:3.25rem 1fr auto;align-items:center;gap:var(--space-2)}.dashboard-profit__bar-label{font-size:.6875rem;font-weight:600;color:var(--color-text-muted)}.dashboard-profit__bar-track{height:.5rem;border-radius:999px;background:#f1f5f9;overflow:hidden}.dashboard-profit__bar-fill{height:100%;border-radius:999px;transition:width .35s ease}.dashboard-profit__bar-fill--client{background:linear-gradient(90deg,#22c55e 0,var(--color-brand) 100%)}.dashboard-profit__bar-fill--admin{background:linear-gradient(90deg,#cbd5e1,#64748b)}.dashboard-profit__bar-value{font-size:.75rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-profit__card-footer{display:flex;flex-wrap:wrap;gap:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.dashboard-profit__card-stat{display:flex;flex-direction:column;gap:.125rem;font-size:.875rem;font-weight:700}.dashboard-profit__card-stat--muted,.dashboard-profit__card-stat-label{font-weight:600;color:var(--color-text-muted)}.dashboard-profit__card-stat-label{font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}@media (max-width:640px){.dashboard-profit__hero-body{padding:var(--space-4)}.dashboard-profit__hero-meta{flex-direction:column;align-items:flex-start}.dashboard-profit__bar-row{grid-template-columns:2.75rem 1fr;grid-template-rows:auto auto}.dashboard-profit__bar-value{grid-column:2;justify-self:end;margin-top:-.125rem}}.platform-expense-form{display:flex;flex-direction:column;gap:var(--space-4)}.data-table__row--platform-expense{background:linear-gradient(90deg,rgba(22,163,74,.04),transparent 55%)}.data-table__row--platform-expense-recurring{background:linear-gradient(90deg,rgba(22,163,74,.07),transparent 60%)}.balance-tx__crm-label{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-brand-dark);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:999px}.balance-tx__id-muted,.balance-tx__muted{color:var(--color-text-muted)}.balance-tx__id-muted{font-family:ui-monospace,monospace;font-size:.8125rem}.finance-expense-btn{width:2.5rem;height:2.5rem;padding:0;border-radius:var(--radius-md);color:#78350f;background:#fef3c7;border:1px solid #f59e0b;box-shadow:var(--shadow-sm)}.finance-expense-btn:hover{background:#fde68a;border-color:#d97706}.finance-expense-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(245,158,11,.35)}.kpi-grid--dashboard{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}@media (min-width:1100px){.kpi-grid--dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1400px){.kpi-grid--dashboard{grid-template-columns:repeat(6,minmax(0,1fr))}}.filter-bar__row{display:flex;align-items:flex-end;gap:var(--space-4);flex-wrap:wrap}.filter-bar__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-4);flex:1;min-width:0}.filter-bar__field{display:flex;flex-direction:column;gap:var(--space-2);font-size:.875rem}.filter-bar__label{font-weight:600;color:var(--color-text-muted)}.filter-bar__actions{display:flex;gap:var(--space-3);margin-top:0}@media (min-width:1024px){.filter-bar__row{flex-wrap:nowrap}}.filter-bar__btn{width:auto;min-width:7rem}.filter-bar__field .input,.filter-bar__field select{display:block;width:100%;padding:.625rem .75rem;font:inherit;font-size:.875rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-background)}.call-dots{display:inline-grid;grid-template-columns:repeat(3,8px);gap:3px;vertical-align:middle;width:fit-content}.call-dots__dot{width:8px;height:8px;border-radius:50%;background:#e2e8f0}.call-dots__dot--success{background:#22c55e}.call-dots__dot--failed{background:#ef4444}.call-dots__more{display:flex;align-items:center;justify-content:center;width:8px;height:8px;font-size:.625rem;font-weight:700;line-height:1;color:#64748b}.notify-dots{display:inline-grid;grid-template-columns:repeat(3,8px);gap:3px;vertical-align:middle;width:fit-content}.notify-dots__dot{width:8px;height:8px;border-radius:50%;background:#e2e8f0}.notify-dots__dot--delivered{background:#22c55e}.notify-dots__dot--failed{background:#ef4444}.status-badge--danger{background:#1e293b;color:#f8fafc}.order-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-4)}.order-form-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-overlay{position:fixed;inset:0;z-index:1000;align-items:center;justify-content:center;padding:var(--space-4);background:rgba(15,23,42,.45);backdrop-filter:blur(2px)}.modal,.modal-overlay{display:flex;overflow:hidden}.modal{width:min(640px,100%);max-height:calc(100dvh - 2 * var(--space-4));flex-direction:column;background:var(--color-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.modal--wide{width:min(920px,100%)}.modal--xl{width:min(72rem,100%)}.modal__header{display:flex;flex-shrink:0;align-items:center;gap:var(--space-4);padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--color-border)}.modal__title{margin:0;flex:1;font-size:1.125rem;font-weight:700}.modal__close{margin-left:auto;padding:.25rem .5rem;font-size:1.5rem;line-height:1;color:var(--color-text-muted);background:transparent;border:none;cursor:pointer}.modal__body{flex:1 1 auto;min-height:0;padding:var(--space-5) var(--space-6) var(--space-6);overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.modal__footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-3);border-top:1px solid var(--color-border);background:var(--color-surface)}.modal>.modal__footer{margin-top:0;padding:var(--space-4) var(--space-6) var(--space-5)}.modal__body .modal__footer{margin-top:var(--space-2);padding-top:var(--space-5);padding-bottom:var(--space-2);position:sticky;bottom:calc(-1 * var(--space-6));z-index:1}.modal>.modal__footer:has(.order-billing-summary){padding:var(--space-4) var(--space-6) var(--space-5);background:linear-gradient(180deg,#f8fafc 0,var(--color-surface) 100%)}.order-billing-summary{display:flex;align-items:center;gap:var(--space-4);width:100%;padding:var(--space-3) var(--space-4);border:1px solid #fecaca;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(220,38,38,.07) 0,rgba(254,242,242,.65) 42%,var(--color-surface) 100%);box-shadow:var(--shadow-sm)}.order-billing-summary__icon{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--radius-md);background:linear-gradient(145deg,#ef4444,#b91c1c);color:#fff;flex-shrink:0;box-shadow:0 4px 12px rgba(185,28,28,.28)}.order-billing-summary__main{display:flex;flex:1;flex-direction:column;gap:.1rem;min-width:0}.order-billing-summary__caption{font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted)}.order-billing-summary__title{font-size:.9375rem;font-weight:700;line-height:1.25;color:var(--color-text)}.order-billing-summary__meta{font-size:.75rem;color:var(--color-text-muted)}.order-billing-summary__value{font-size:1.375rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.1;color:#b91c1c;white-space:nowrap}.confirm-modal__message{margin:0;font-size:.9375rem;line-height:1.55;color:var(--color-text)}.employee-form{display:flex;flex-direction:column;gap:var(--space-4)}.employee-form__intro{margin:0;font-size:.875rem;line-height:1.55;color:var(--color-text-muted)}.employee-form__role{display:flex;flex-direction:column;gap:var(--space-2)}.employee-form__error{margin:0}.employee-form__footer{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4);padding-top:var(--space-2)}.employee-form__footer .product-edit-save{margin-left:auto}.employee-form .order-panel{padding:var(--space-4) var(--space-5);box-shadow:none}.employee-form .order-panel__header{margin-bottom:var(--space-4);padding-bottom:var(--space-3)}.employee-role-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.employee-role-option{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-3) var(--space-4);text-align:left;font:inherit;color:inherit;background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.employee-role-option:hover{border-color:var(--color-brand-dark)}.employee-role-option:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-focus-ring)}.employee-role-option.is-active{border-color:var(--color-brand);background:var(--color-brand-soft);box-shadow:0 0 0 1px var(--color-brand)}.employee-role-picker--disabled .employee-role-option{opacity:.55;cursor:not-allowed}.employee-role-picker--disabled .employee-role-option:hover{border-color:var(--color-border)}.employee-role-option__title{font-size:.875rem;font-weight:600;color:var(--color-text)}.employee-role-option__hint{font-size:.75rem;line-height:1.45;color:var(--color-text-muted)}@media (max-width:640px){.employee-form .order-field-grid--2,.employee-role-picker{grid-template-columns:1fr}}.dropdown-btn{position:relative}.dropdown-btn__trigger{display:inline-flex;align-items:center;gap:var(--space-2);padding:.5rem .875rem;font:inherit;font-size:.875rem;font-weight:600;color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer}.dropdown-btn--blue .dropdown-btn__trigger{background:#2563eb}.dropdown-btn--orange .dropdown-btn__trigger{background:#ea580c}.dropdown-btn--gray .dropdown-btn__trigger{color:var(--color-text);background:#f1f5f9;border:1px solid var(--color-border)}.dropdown-btn__menu{position:absolute;top:calc(100% + 4px);left:0;z-index:50;min-width:220px;padding:var(--space-2) 0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.dropdown-btn__item{display:block;width:100%;padding:.5rem 1rem;font:inherit;font-size:.875rem;text-align:left;color:var(--color-text);background:transparent;border:none;cursor:pointer}.dropdown-btn__item:hover{background:var(--color-brand-soft)}.dropdown-btn__sep{margin:var(--space-2) 0;border:none;border-top:1px solid var(--color-border)}.status-pill{display:inline-flex;padding:.25rem .625rem;font-size:.75rem;font-weight:600;line-height:1.3;color:#fff;border-radius:4px;white-space:nowrap}.status-pill--success{background:#16a34a}.status-pill--warning{background:#d97706}.status-pill--danger{background:#dc2626}.status-pill--info{background:#1d4ed8}.status-pill--neutral{background:#334155}.status-pill--violet{background:#7c3aed}.status-pill--teal{background:#0d9488}.status-pill--orange{background:#ea580c}.status-pill--rose{background:#e11d48}.status-pill--sky{background:#0284c7}.btn--outline-danger{width:auto;margin-top:0;color:#dc2626;background:transparent;border-color:#dc2626}.btn--outline-danger:hover{color:#fff;background:#dc2626}.summary-strip--alert{color:#991b1b;background:#fef2f2;border-color:#fecaca}.summary-strip--alert strong{color:#991b1b}.orders-filter{padding:var(--space-4) var(--space-5)}.orders-filter__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-3) var(--space-4);align-items:end}.orders-filter__field{display:flex;flex-direction:column;gap:var(--space-1);min-width:0;font-size:.8125rem}.orders-filter__label{font-size:.75rem;font-weight:600;color:var(--color-text-muted);white-space:nowrap}.orders-filter__field .input,.orders-filter__field select{width:100%;min-width:0;padding:.5rem .625rem;font:inherit;font-size:.8125rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.orders-filter__field .input:disabled,.orders-filter__field select:disabled{color:var(--color-text-muted);background:var(--color-background);cursor:not-allowed}.orders-filter__action{display:flex;align-items:stretch}.orders-filter__btn{width:100%;min-width:0;margin-top:0;padding:.5rem .75rem;font-size:.8125rem}.orders-product-filter{position:relative;min-width:0}.orders-product-filter__trigger{display:flex;align-items:center;gap:.375rem;width:100%;min-width:0;text-align:left;cursor:pointer}.orders-product-filter__trigger.is-open{border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.orders-product-filter__trigger-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-product-filter__chevron{flex-shrink:0;color:var(--color-text-muted);transition:transform .15s ease}.orders-product-filter__trigger.is-open .orders-product-filter__chevron{transform:rotate(180deg)}.orders-product-filter__panel{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-md)}.orders-product-filter__search-wrap{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;background:var(--color-background);border-bottom:1px solid var(--color-border)}.orders-product-filter__search-icon{flex-shrink:0;color:var(--color-text-muted)}.orders-product-filter__search{display:block;flex:1;min-width:0;padding:0;font:inherit;font-size:.8125rem;color:var(--color-text);background:transparent;border:0;border-radius:0}.orders-product-filter__search::placeholder{color:#94a3b8}.orders-product-filter__search:focus{outline:none}.orders-product-filter__list{display:flex;flex-direction:column;min-height:0}.orders-product-filter__options{max-height:220px;overflow-y:auto}.orders-product-filter__option{display:block;width:100%;padding:.5rem .75rem;border:0;background:transparent;font:inherit;font-size:.8125rem;line-height:1.35;text-align:left;cursor:pointer}.orders-product-filter__option:hover{background:var(--color-background)}.orders-product-filter__option[aria-selected=true]{background:var(--color-brand-soft);color:var(--color-brand-dark);font-weight:600}.orders-product-filter__option--clear{color:var(--color-text-muted);font-weight:500}.orders-product-filter__option--clear[aria-selected=true]{color:var(--color-brand-dark)}.orders-product-filter__error,.orders-product-filter__hint{margin:0;padding:.5rem .75rem;font-size:.75rem;line-height:1.35}.orders-product-filter__hint--inline{border-bottom:1px solid var(--color-border)}.orders-product-filter__hint{color:var(--color-text-muted)}.orders-product-filter__error{color:var(--color-danger)}.orders-filter--products .orders-filter__grid{display:flex;align-items:flex-end;gap:var(--space-3) var(--space-4)}.orders-filter--products .orders-filter__field{flex:1 1 0;min-width:0}.orders-filter--products .orders-filter__field+.orders-filter__field{flex:1.2 1 0}.orders-filter--products .orders-filter__actions{display:flex;align-items:flex-end;gap:var(--space-2);flex-shrink:0;margin-left:auto}.orders-filter--products .orders-filter__action{flex:0 0 auto}.orders-filter--products .orders-filter__btn{width:auto;min-width:6.75rem;white-space:nowrap}.notify-history-filter .orders-filter__grid{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:var(--space-3) var(--space-4)}.notify-history-filter .orders-filter__field{flex:0 1 9.5rem;min-width:7.5rem;gap:2px}.notify-history-filter .orders-filter__label{line-height:1.2}.notify-history-filter .orders-filter__field .input,.notify-history-filter .orders-filter__field select.input{height:2rem;min-height:2rem;max-height:2rem;padding:0 .625rem;font-size:.8125rem;line-height:1.25;border-radius:var(--radius-sm);box-sizing:border-box}.notify-history-filter .orders-filter__field input[type=date]{padding-right:.375rem}.notify-history-filter .orders-filter__field input[type=date]::-webkit-calendar-picker-indicator{width:.875rem;height:.875rem;margin:0;cursor:pointer}.notify-history-filter .notify-history-filter__search{flex:1.5 1 12rem;min-width:10rem}.notify-history-filter .notify-history-filter__search .input{width:100%}.notify-history-filter .orders-filter__actions{display:flex;align-items:flex-end;gap:var(--space-2);flex-shrink:0;margin-left:auto}.notify-history-filter .orders-filter__action{flex:0 0 auto;align-items:flex-end}.notify-history-filter .orders-filter__btn{width:auto;min-width:6.75rem;height:2rem;min-height:2rem;max-height:2rem;padding:0 .75rem;line-height:1.25;white-space:nowrap;box-sizing:border-box}.pbx-history-filter .orders-filter__grid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3) var(--space-4);width:100%}.pbx-history-filter .orders-filter__field{flex:1 1 9rem;min-width:7.5rem;gap:2px}.pbx-history-filter .orders-filter__date{flex:0 1 10.5rem;min-width:9rem}.pbx-history-filter .orders-filter__order,.pbx-history-filter .orders-filter__phone{flex:1.2 1 11rem;min-width:9rem}.pbx-history-filter .orders-filter__label{line-height:1.2}.pbx-history-filter .orders-filter__field .input,.pbx-history-filter .orders-filter__field select.input{width:100%;height:2rem;min-height:2rem;max-height:2rem;padding:0 .625rem;font-size:.8125rem;line-height:1.25;border-radius:var(--radius-sm);box-sizing:border-box}.pbx-history-filter .orders-filter__field input[type=date]{padding-right:.375rem}.pbx-history-filter .orders-filter__actions{display:flex;align-items:flex-end;gap:var(--space-2);flex-shrink:0;margin-left:auto}.pbx-history-filter .orders-filter__action{flex:0 0 auto}.pbx-history-filter .orders-filter__btn{width:auto;min-width:6.75rem;height:2rem;min-height:2rem;max-height:2rem;padding:0 .75rem;line-height:1.25;white-space:nowrap;box-sizing:border-box}.kpi-grid--pbx-client{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.kpi-grid--pbx-admin{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.kpi-grid--notify-history{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.pbx-history-filter .pbx-history-filter__client{flex:1.4 1 12rem;min-width:10rem}.pbx-history-table .data-table{table-layout:fixed;width:100%;font-size:.8125rem}.pbx-history-table .data-table td,.pbx-history-table .data-table th{padding:.625rem .625rem .375rem;vertical-align:top}.pbx-history-table .pbx-col-date{width:6.5rem}.pbx-history-table .pbx-col-client{width:7rem}.pbx-history-table .pbx-col-order{width:5.5rem}.pbx-history-table .pbx-col-operator{width:8rem;white-space:normal;word-break:break-word}.pbx-history-table .pbx-col-subscriber{width:9rem}.pbx-history-table .pbx-col-caller{width:6.5rem}.pbx-history-table .pbx-col-recording{width:11rem;min-width:11rem}.pbx-history-table th.pbx-col-recording{text-align:center}.pbx-history-table td.pbx-col-recording{text-align:left}.pbx-history-table .pbx-col-price{width:5.25rem;white-space:nowrap}.pbx-history-table .pbx-col-duration{width:4.5rem;white-space:nowrap}.pbx-history-table .pbx-col-status{width:5.5rem}.pbx-history-table .pbx-cell-clip{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.pbx-history-table .pbx-col-subscriber .pbx-cell-clip{display:inline-block;vertical-align:top}.audio-player{display:flex;align-items:center;gap:var(--space-2);width:100%;min-width:0}.audio-player audio{display:none}.audio-player__play{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:var(--color-text-on-brand);background:linear-gradient(145deg,var(--color-brand-dark),var(--color-brand));border:none;border-radius:50%;cursor:pointer;box-shadow:0 2px 8px var(--color-brand-glow);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.audio-player__play:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 12px rgba(22,163,74,.25)}.audio-player__play:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-focus-ring)}.audio-player__play:disabled{opacity:.45;cursor:not-allowed;transform:none}.audio-player--loading .audio-player__play{color:var(--color-brand-dark);background:var(--color-brand-soft)}.audio-player__spinner{width:.875rem;height:.875rem;border:2px solid var(--color-brand-muted);border-top-color:var(--color-brand);border-radius:50%;animation:audio-player-spin .7s linear infinite}@keyframes audio-player-spin{to{transform:rotate(1turn)}}.audio-player__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}.audio-player__track{position:relative;height:.375rem;background:var(--color-border);border-radius:999px;cursor:pointer;overflow:visible}.audio-player__track:focus-visible{outline:none;box-shadow:0 0 0 2px var(--color-focus-ring)}.audio-player--error .audio-player__track{cursor:not-allowed;opacity:.5}.audio-player__fill{position:absolute;inset:0 auto 0 0;height:100%;background:linear-gradient(90deg,var(--color-brand),#22c55e);border-radius:999px;pointer-events:none;transition:width .08s linear}.audio-player__thumb{position:absolute;top:50%;width:.625rem;height:.625rem;margin-left:-.3125rem;background:var(--color-surface);border:2px solid var(--color-brand);border-radius:50%;transform:translateY(-50%) scale(0);box-shadow:var(--shadow-sm);pointer-events:none;transition:transform .12s ease,left .08s linear}.audio-player--playing .audio-player__thumb,.audio-player__track:focus-visible .audio-player__thumb,.audio-player__track:hover .audio-player__thumb{transform:translateY(-50%) scale(1)}.audio-player__time{font-size:.6875rem;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--color-text-muted);white-space:nowrap}.audio-player__download{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;color:var(--color-text-muted);border-radius:var(--radius-sm);transition:color .15s ease,background .15s ease}.audio-player__download:hover{color:var(--color-brand-dark);background:var(--color-brand-soft)}.audio-player--compact{gap:.375rem}.audio-player--compact .audio-player__play{width:1.75rem;height:1.75rem}.audio-player--compact .audio-player__play svg{width:12px;height:12px}.audio-player--compact .audio-player__track{height:.3125rem}.audio-player--compact .audio-player__time{font-size:.625rem}.audio-player--compact .audio-player__download{width:1.5rem;height:1.5rem}.audio-player--compact .audio-player__download svg{width:14px;height:14px}.audio-player--default{max-width:16rem}.orders-table-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.orders-icon-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.orders-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;font-size:.875rem;color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer}.orders-icon-btn--teal{background:#0d9488}.orders-icon-btn--red{background:#dc2626}.orders-icon-btn--green{background:#16a34a}.orders-icon-btn--slate{background:#475569}.orders-icon-btn--blue{background:#2563eb}.orders-icon-btn--sky{background:#0284c7}.link-cell--stack{display:flex;flex-direction:column;gap:.125rem;line-height:1.25}.data-table__col-order{min-width:11rem}.data-table__col-delivery,.data-table__col-payment{min-width:7.5rem}.data-table__col-recipient{min-width:9.5rem}.data-table__col-product{min-width:14rem}.products-table-cell{display:flex;align-items:center;gap:var(--space-3);min-width:0;text-decoration:none;color:inherit}.products-table-cell:hover .products-table-cell__name{color:var(--color-brand-dark);text-decoration:underline}.products-table-cell__thumb{flex-shrink:0;width:44px;height:44px;object-fit:cover;border-radius:var(--radius-sm);background:#f1f5f9;border:1px solid var(--color-border,#e2e8f0)}.products-table-cell__thumb--empty{display:inline-block;background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.products-table-cell__body{display:flex;flex-direction:column;gap:.125rem;min-width:0}.products-table-cell__name{font-weight:600;font-size:.875rem;line-height:1.35;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.products-table-cell__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .35rem;font-size:.8125rem;line-height:1.3;color:var(--color-text-muted)}.products-table-cell__sku{font-weight:500;font-variant-numeric:tabular-nums}.products-table-cell__id{font-family:var(--font-mono,ui-monospace,monospace);font-size:.75rem;letter-spacing:.02em}.products-table-cell__dot{opacity:.45;user-select:none}.orders-table-cell{display:flex;flex-direction:column;gap:.25rem;min-width:0;line-height:1.35}.orders-table-cell__id{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .45rem;font-weight:600;font-size:.875rem;color:var(--color-brand-dark);width:fit-content;max-width:100%}.orders-table-cell__external{font-weight:500;font-size:.8125rem;color:var(--color-text-muted)}.orders-table-cell__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .35rem;font-size:.8125rem;color:var(--color-text-muted)}.orders-table-cell__dot{opacity:.45;user-select:none}.orders-table-cell__amount{font-size:.9375rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--color-text)}.orders-table-cell__name{font-weight:600;font-size:.875rem;color:var(--color-text)}.orders-table-cell__phone,.orders-table-cell__sub{font-size:.8125rem;color:var(--color-text-muted)}.orders-table-cell__phone{font-variant-numeric:tabular-nums;text-decoration:none;width:fit-content}.orders-table-cell__phone:hover{color:var(--color-brand-dark);text-decoration:underline}.orders-table-labels{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:center;max-width:10rem}.data-table__check{width:2.5rem}.data-table td.data-table__col--cascade,.data-table th.data-table__col--cascade{width:1%;white-space:nowrap}.data-table td.data-table__col--center,.data-table th.data-table__col--center,.data-table th.data-table__col--center-head{text-align:center;vertical-align:middle}.data-table th.data-table__col--center{line-height:0}.data-table th.data-table__col--center svg{display:inline-block;vertical-align:middle}.data-table__row--selected td{background:var(--color-brand-soft)}.data-table__row--selected:hover td{background:color-mix(in srgb,var(--color-brand-soft) 85%,var(--color-border))}.order-lock-notice,.orders-list-stack{display:flex;flex-direction:column;gap:var(--space-2)}.order-lock-notice{padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--color-warning) 35%,#fde68a);background:var(--color-warning-soft)}.order-lock-notice__badge{display:inline-flex;align-items:center;gap:var(--space-2);align-self:flex-start;padding:.2rem .55rem;border-radius:999px;font-size:.6875rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#92400e;background:color-mix(in srgb,var(--color-warning) 18%,#fff)}.order-lock-notice__dot{width:.45rem;height:.45rem;border-radius:50%;background:var(--color-warning);box-shadow:0 0 0 3px color-mix(in srgb,var(--color-warning) 28%,transparent);animation:impersonation-pulse 2s ease-in-out infinite}.order-lock-notice__text{margin:0;font-size:.875rem;line-height:1.45;color:var(--color-text)}.order-lock-notice__name{font-weight:700;color:var(--color-text)}.order-lock-notice__hint{margin:0;font-size:.8125rem;line-height:1.4;color:var(--color-text-muted)}.order-detail-page>.order-lock-notice{margin-bottom:var(--space-1)}.order-lock-badge{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;padding:.125rem .45rem;border-radius:999px;font-size:.6875rem;font-weight:600;line-height:1.2;color:#92400e;background:var(--color-warning-soft);border:1px solid color-mix(in srgb,var(--color-warning) 30%,#fde68a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-lock-badge__dot{flex-shrink:0;width:.35rem;height:.35rem;border-radius:50%;background:var(--color-warning);animation:impersonation-pulse 2s ease-in-out infinite}.order-lock-chip{box-sizing:border-box;display:inline-flex;align-items:center;gap:.45rem;flex-shrink:0;max-width:14rem;height:2.125rem;padding:0 .75rem;border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--color-warning) 35%,#fde68a);background:var(--color-warning-soft);font-size:.8125rem;line-height:1;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-lock-chip__dot{flex-shrink:0;width:.4rem;height:.4rem;border-radius:50%;background:var(--color-warning);box-shadow:0 0 0 2px color-mix(in srgb,var(--color-warning) 25%,transparent);animation:impersonation-pulse 2s ease-in-out infinite}.order-lock-chip__text{min-width:0;overflow:hidden;text-overflow:ellipsis}.order-lock-chip__name{font-weight:700}.orders-table-cell__lock{margin-top:.2rem}.orders-selection{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem var(--space-3);padding:.5rem .75rem;margin:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);animation:orders-selection-in .15s ease-out}@keyframes orders-selection-in{0%{opacity:0}to{opacity:1}}.orders-selection__summary{margin:0;padding-right:var(--space-1);font-size:.8125rem;white-space:nowrap;color:var(--color-text-muted)}.orders-selection__summary strong{color:var(--color-brand-deep);font-weight:700}.orders-selection__group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.orders-selection__label{font-size:.75rem;font-weight:600;color:var(--color-text-subtle);white-space:nowrap}.orders-selection__select{width:auto;min-width:9.5rem;max-width:11rem;padding:0 1.5rem 0 .5rem}.orders-selection__btn,.orders-selection__select{height:1.75rem;min-height:1.75rem;font-size:.8125rem}.orders-selection__btn{padding:0 .5rem;line-height:1.2}.orders-selection__btn--delete{display:inline-flex;align-items:center;gap:.3rem}.orders-selection__clear{margin-left:auto;font-size:.8125rem}.orders-selection__divider{width:1px;height:1.25rem;background:var(--color-border);flex-shrink:0}@media (max-width:720px){.orders-selection__clear{margin-left:0;width:100%;justify-content:center}.orders-selection__divider{display:none}}.order-detail-page{padding-bottom:var(--space-6)}.order-detail-page__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(272px,300px);gap:var(--space-5);align-items:start}.order-detail-page__hero{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;column-gap:var(--space-5);padding:var(--space-4) 0 var(--space-4) var(--space-5)}@supports not (grid-template-columns:subgrid){.order-detail-page__hero{grid-template-columns:minmax(0,1fr) minmax(272px,300px)}}.order-detail-page__hero .order-hero__info{grid-column:1;min-width:0}.order-detail-page__hero .order-hero__toolbar{grid-column:2;justify-self:end;width:max-content;max-width:100%}.order-hero{display:grid;grid-template-columns:1fr auto;gap:var(--space-5);align-items:center;padding:var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);background-image:linear-gradient(135deg,var(--color-brand-soft) 0,var(--color-surface) 42%)}.order-hero--compact{padding:var(--space-3) var(--space-5);gap:var(--space-4);align-items:center}.order-hero--detail{display:grid}.order-detail-page__hero.order-hero.order-hero--compact{grid-template-columns:subgrid;padding:var(--space-4) 0 var(--space-4) var(--space-5);gap:0;column-gap:var(--space-5)}@supports not (grid-template-columns:subgrid){.order-detail-page__hero.order-hero.order-hero--compact{grid-template-columns:minmax(0,1fr) minmax(272px,300px)}}.order-hero__toolbar{justify-content:flex-end}.order-hero--detail .order-hero__actions,.order-hero__toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--space-2)}.order-hero--detail .order-hero__actions{flex-shrink:0}.order-hero--detail .order-hero__actions .dropdown-btn__trigger,.order-hero--detail .order-hero__actions .order-callback-at-field__input,.order-hero--detail .order-hero__actions .order-callback-at-field__preset,.order-hero--detail .order-hero__actions .order-lock-chip,.order-hero--detail .order-hero__actions .order-quick-send{box-sizing:border-box;height:2.125rem;padding-block:0;line-height:1}.order-callback-at-field{display:inline-flex;align-items:center;gap:.375rem;flex-shrink:0;flex-wrap:nowrap}.order-callback-at-field__presets{display:inline-flex;align-items:center;gap:.2rem;flex-shrink:0}.order-callback-at-field__preset{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-size:.6875rem;font-weight:600;line-height:1;padding-inline:.4rem;border-radius:var(--radius-sm,6px);border:1px solid var(--color-border,#e5e7eb);background:var(--color-surface-muted,#f9fafb);color:var(--color-text,#374151);cursor:pointer}.order-callback-at-field__preset:hover:not(:disabled){border-color:var(--color-primary,#f97316);color:var(--color-primary,#f97316)}.order-callback-at-field__preset:disabled{opacity:.55;cursor:not-allowed}.order-callback-at-field__input{font-family:inherit;font-size:.8125rem;color:var(--color-text,#1f2937);background:var(--color-surface,#fff);border:1px solid var(--color-border,#e5e7eb);border-radius:var(--radius-sm,6px);padding:0 .5rem;min-width:9.75rem;flex-shrink:0}.order-callback-at-field__input:focus{outline:none;border-color:var(--color-primary,#f97316);box-shadow:0 0 0 2px color-mix(in srgb,var(--color-primary,#f97316) 25%,transparent)}.order-callback-at-field__input:disabled{opacity:.6;cursor:not-allowed}.order-status-cell{display:flex;flex-direction:column;align-items:center;gap:.2rem}.order-status-cell__callback{font-size:.6875rem;line-height:1.2;color:var(--color-text-muted,#9ca3af);white-space:nowrap}.order-status-cell__callback--overdue{color:var(--color-danger,#dc2626);font-weight:500}.order-status-cell__lock,.order-status-cell__lock .order-lock-badge{max-width:100%}.order-hero--detail .order-detail-nav{gap:var(--space-2);flex-shrink:0}.order-hero--detail .order-detail-nav__btn{box-sizing:border-box;width:auto;min-width:5.5rem;height:2.125rem;padding:0 .65rem;line-height:1}.order-hero--detail .order-detail-nav__btn:last-child{margin-right:var(--space-4)}.order-hero--compact .order-hero__main,.order-hero__info{display:flex;flex-direction:column;gap:.125rem;min-width:0}.order-hero--compact .order-hero__main{justify-content:center}.order-hero--compact .order-hero__title{font-size:1.125rem;line-height:1.25}.order-hero--compact .order-hero__meta{font-size:.75rem;line-height:1.3}.order-hero__meta--inline{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3)}.order-hero__chip{display:inline-flex;padding:.2rem .55rem;font-size:.75rem;font-weight:600;color:var(--color-nav-active-text);background:var(--color-nav-active);border-radius:var(--radius-md)}.order-hero--compact .order-hero__chip{padding:.125rem .45rem;font-size:.6875rem;font-weight:600}.order-hero__title{margin:0;font-size:1.5rem;font-weight:700;letter-spacing:-.02em}.order-hero__external{color:var(--color-text-muted);font-weight:600}.order-hero__meta{margin:0;font-size:.875rem;color:var(--color-text-muted)}.order-hero__total{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-1);padding:var(--space-4) var(--space-5);background:var(--color-surface);border:1px solid var(--color-brand-muted);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.order-hero__total-label{font-size:.75rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}.order-hero__total-value{font-size:1.375rem;font-weight:700;color:var(--color-brand-deep);white-space:nowrap}.order-hero__actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:var(--space-2)}.order-detail-nav{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2);width:100%;min-width:0;align-self:stretch}.order-detail-nav__btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;width:100%;min-width:0;padding:.5rem .75rem;white-space:nowrap;font:inherit;font-size:.8125rem;font-weight:600;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.order-detail-nav__btn:hover:not(:disabled){background:var(--color-surface-muted,#f8fafc);border-color:var(--color-brand-muted)}.order-detail-nav__btn:disabled{opacity:.45;cursor:not-allowed}.order-detail-nav__btn:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}.system-toast-bar{display:flex;flex:1;flex-wrap:wrap;justify-content:center;min-height:2.25rem;min-width:0}.system-toast,.system-toast-bar{align-items:center;gap:var(--space-2)}.system-toast{display:inline-flex;max-width:min(100%,32rem);padding:.5rem .65rem .5rem .75rem;font-size:.875rem;font-weight:500;line-height:1.35;border-radius:var(--radius-md);box-shadow:0 4px 14px rgba(15,23,42,.08);animation:system-toast-in .22s ease-out}@keyframes system-toast-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.system-toast--success{color:#14532d;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #86efac}.system-toast--error{color:#7f1d1d;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:1px solid #fca5a5}.system-toast--info{color:#1e3a5f;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd}.system-toast__icon{width:1.125rem;height:1.125rem;flex-shrink:0}.system-toast__message{flex:1;min-width:0}.system-toast__close{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;padding:0;font-size:1.125rem;line-height:1;color:inherit;opacity:.55;background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer}.system-toast__close:hover{opacity:1;background:rgba(0,0,0,.06)}.order-quick-send{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:.5rem .75rem;font:inherit;font-size:.875rem;line-height:1.25;color:#fff;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:var(--radius-sm);cursor:pointer;transition:transform .12s ease,opacity .12s ease}.order-quick-send:hover:not(:disabled){transform:translateY(-1px)}.order-quick-send:disabled{opacity:.5;cursor:not-allowed}.order-send-trigger{display:inline-flex;align-items:center;gap:var(--space-2);padding:.5rem .875rem;font:inherit;font-size:.875rem;font-weight:600;color:#fff;background:#22c55e;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease}.order-send-trigger:hover{background:#16a34a}.order-send-trigger:focus-visible{outline:2px solid #86efac;outline-offset:2px}.order-status-picker{position:relative}.order-status-picker__trigger{display:inline-flex;align-items:center;gap:.5rem;min-width:11.5rem;max-width:16rem;padding:.4375rem .625rem .4375rem .75rem;font:inherit;font-size:.8125rem;font-weight:600;line-height:1.25;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);box-shadow:0 1px 2px rgb(15 23 42/.04);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.order-status-picker__trigger:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc;box-shadow:0 2px 6px rgb(15 23 42/.06)}.order-status-picker__trigger:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.order-status-picker__trigger:disabled{opacity:.65;cursor:wait}.order-status-picker--open .order-status-picker__trigger{border-color:#64748b;background:#f8fafc;box-shadow:0 2px 8px rgb(15 23 42/.08)}.order-status-picker__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.order-status-picker__chevron{flex-shrink:0;color:#64748b;transition:transform .15s ease}.order-status-picker--open .order-status-picker__chevron{transform:rotate(180deg)}.order-status-dot{flex-shrink:0;width:.5rem;height:.5rem;border-radius:50%;box-shadow:0 0 0 2px rgb(255 255 255/.9)}.order-status-dot--success{background:#16a34a}.order-status-dot--warning{background:#d97706}.order-status-dot--danger{background:#dc2626}.order-status-dot--info{background:#1d4ed8}.order-status-dot--neutral{background:#334155}.order-status-dot--violet{background:#7c3aed}.order-status-dot--teal{background:#0d9488}.order-status-dot--orange{background:#ea580c}.order-status-dot--rose{background:#e11d48}.order-status-dot--sky{background:#0284c7}.order-status-picker__menu{position:absolute;top:calc(100% + 6px);right:0;z-index:60;min-width:100%;width:max-content;max-width:min(20rem,calc(100vw - 2rem));margin:0;padding:.375rem 0;list-style:none;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.order-status-picker__item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.5rem .875rem;font:inherit;font-size:.8125rem;font-weight:500;line-height:1.35;color:var(--color-text);text-align:left;background:transparent;border:none;cursor:pointer}.order-status-picker__item:hover{background:var(--color-brand-soft)}.order-status-picker__item--selected{font-weight:600;background:#eff6ff}.order-status-picker__item-label{flex:1;min-width:0}.order-status-picker__check{flex-shrink:0;font-size:.875rem;font-weight:700;color:#2563eb}.order-hero--detail .order-status-picker{flex-shrink:0}.order-hero--detail .order-status-picker__trigger{box-sizing:border-box;height:2.125rem;min-height:0;padding:0 .65rem 0 .75rem;font-size:.8125rem;line-height:1;box-shadow:none}.order-hero--detail .order-status-picker--open .order-status-picker__trigger,.order-hero--detail .order-status-picker__trigger:hover:not(:disabled){box-shadow:none}.order-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(272px,300px);gap:var(--space-5);align-items:start}.order-detail-page__grid .order-detail-layout__main{grid-column:1;display:flex;flex-direction:column;gap:var(--space-5);min-width:0}.order-detail-page__grid .order-detail-layout__aside{grid-column:2;position:sticky;top:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.order-detail-layout__main{display:flex;flex-direction:column;gap:var(--space-5);min-width:0}.order-detail-layout__aside{position:sticky;top:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.order-detail-save{width:100%;margin-top:0;min-width:0;padding:.75rem 1rem}.order-detail-save--done{background:#15803d}.order-panel{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-card)}.order-panel--summary{background:linear-gradient(180deg,var(--color-brand-soft) 0,var(--color-surface) 100%);border-color:var(--color-brand-muted)}.order-panel--aside{padding:var(--space-4) var(--space-5);background:linear-gradient(165deg,var(--color-brand-soft) 0,var(--color-surface) 55%);border-color:var(--color-brand-muted)}.order-panel--aside .order-panel__header{margin-bottom:var(--space-3);padding-bottom:var(--space-3)}.order-panel--aside .order-panel__title{font-size:.9375rem}.order-panel--aside .order-panel__body{gap:var(--space-4)}.order-aside-fields{display:flex;flex-direction:column;gap:var(--space-3)}.order-aside-fields .order-field__label{font-size:.6875rem;letter-spacing:.03em;text-transform:uppercase}.order-control--area-sm{min-height:3.25rem;resize:vertical}.order-panel__header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--color-border)}.order-panel__body{display:flex;flex-direction:column;gap:var(--space-4)}.order-panel__title{margin:0;font-size:1.0625rem;font-weight:700;letter-spacing:-.02em}.order-panel__subtitle{margin:var(--space-1) 0 0;font-size:.8125rem;color:var(--color-text-muted)}.order-panel-btn{padding:.5rem .875rem;font-size:.8125rem}.order-field-grid{display:grid;gap:var(--space-4)}.order-field-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.order-field-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.order-field-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.order-delivery-fields{display:flex;flex-direction:column;gap:var(--space-4)}.order-delivery-fields>.order-field-grid--2{gap:var(--space-4)}.order-field-grid--address{grid-template-columns:1fr}.order-field{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.order-field--wide{grid-column:1/-1}.order-field__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}.order-field__header-extra{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;margin-left:auto}.order-field__label{font-size:.75rem;font-weight:600;color:var(--color-text-muted)}.order-field__hint{font-size:.75rem;color:var(--color-text-subtle)}.order-control{width:100%;min-width:0;padding:.625rem .75rem;font:inherit;font-size:.875rem;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);transition:border-color .15s ease,box-shadow .15s ease}.order-control:focus{outline:none;border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.order-control--readonly{color:var(--color-text);background:var(--color-background)}.order-control--compact{padding:.375rem .5rem;font-size:.8125rem}.order-control--area{min-height:6.5rem;resize:vertical;line-height:1.5}.order-control--area-2{min-height:calc(.875rem * 1.5 * 2 + 1.25rem);max-height:calc(.875rem * 1.5 * 2 + 1.25rem);resize:none;overflow-y:auto}.order-control-group{display:flex;gap:var(--space-2);align-items:stretch}.order-control-group .order-control{flex:1}.order-control-group--suffix{align-items:center}.order-control-suffix{flex-shrink:0;font-size:.875rem;font-weight:600;color:var(--color-text-muted)}.order-field--phone .order-field__header{justify-content:flex-start;gap:.375rem}.order-field--phone .order-field__header-extra{margin-left:0}.order-phone-local-time{display:inline-flex;align-items:baseline;gap:.25rem;max-width:100%;font-size:.8125rem;font-weight:600;color:var(--color-text);white-space:nowrap}.order-phone-local-time__place{overflow:hidden;text-overflow:ellipsis}.order-phone-local-time__sep{flex-shrink:0;font-weight:400}.order-phone-local-time--loading,.order-phone-local-time__sep{color:var(--color-text-muted)}.order-control-btn{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2.5rem;padding:0;color:#fff;background:var(--color-brand);border:none;border-radius:var(--radius-sm);cursor:pointer}.order-control-btn--blue{background:#2563eb}.order-control-btn--active{box-shadow:inset 0 0 0 2px rgb(255 255 255/.35)}.order-control-btn--hangup{background:#ef4444}.order-empty{margin:0;padding:var(--space-6);font-size:.875rem;text-align:center;color:var(--color-text-muted);background:var(--color-background);border:1px dashed var(--color-border-strong);border-radius:var(--radius-md)}.order-lines-table{display:grid;grid-template-columns:2rem minmax(0,1fr) 6.75rem 5.5rem 5rem 6.5rem 3rem;column-gap:var(--space-3);row-gap:var(--space-2);overflow:visible}.order-lines-table--with-stock{grid-template-columns:2rem minmax(0,1fr) 2.75rem 6.75rem 5.5rem 5rem 6.5rem 3rem}.order-line,.order-lines-head{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;overflow:visible}.order-lines-head{padding-inline:var(--space-3);padding-bottom:var(--space-2);font-size:.6875rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-muted)}.order-lines-head>span{display:flex;align-items:center;justify-content:center;text-align:center}.order-lines-head>span:nth-child(2){justify-content:flex-start;text-align:left}.order-line{padding-block:var(--space-3);padding-inline:var(--space-3);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);overflow:visible}.order-line__index{font-size:.8125rem;font-weight:600;color:var(--color-text-muted);text-align:center}.order-line__title{font-size:.875rem;font-weight:600;line-height:1.3;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-line__sku{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .375rem;min-width:0;font-size:.75rem;line-height:1.3}.order-line__sku-label,.order-line__sku-value{color:var(--color-text-muted)}.order-line__sku-value{font-weight:500;word-break:break-all}.order-line__discount,.order-line__price,.order-line__qty,.order-line__stock,.order-line__total{display:flex;align-items:center;justify-content:center}.order-line__stock-value{font-size:.875rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--color-text-muted)}.order-line__discount .order-control,.order-line__price .order-control{width:100%;text-align:center}.order-line__total{font-weight:700;color:var(--color-brand-deep);text-align:center}.order-line__remove{display:inline-flex;align-items:center;justify-content:center;justify-self:end;width:2.25rem;height:2.25rem;padding:0;color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:var(--radius-sm);cursor:pointer}.order-lines-total{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3);margin-top:var(--space-4);padding:var(--space-3) var(--space-4);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:var(--radius-sm)}.order-lines-total__label{font-size:.875rem;font-weight:600;color:var(--color-text-muted)}.order-lines-total__value{font-size:1.125rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--color-brand-deep);white-space:nowrap}.order-summary-list{display:flex;flex-direction:column;gap:var(--space-3);margin:0}.order-summary-list__row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.order-summary-list__row dt{margin:0;font-size:.8125rem;color:var(--color-text-muted)}.order-summary-list__row dd{margin:0;font-size:.9375rem;font-weight:600}.order-summary-list__row--grand{margin-top:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--color-brand-muted)}.order-summary-list__row--grand dt{font-size:.875rem;font-weight:700;color:var(--color-text)}.order-summary-list__row--grand dd{font-size:1.25rem;font-weight:700;color:var(--color-brand-deep)}.qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden;background:var(--color-surface)}.qty-stepper button{width:1.75rem;height:2rem;padding:0;font-size:1rem;line-height:1;color:var(--color-text-muted);background:var(--color-background);border:none;cursor:pointer}.qty-stepper button:hover{color:var(--color-brand-dark);background:var(--color-brand-soft)}.qty-stepper input{width:2.5rem;padding:.25rem;font:inherit;font-size:.875rem;text-align:center;border:none;border-left:1px solid var(--color-border);border-right:1px solid var(--color-border);background:var(--color-surface)}@media (max-width:1200px){.order-line__product{flex-wrap:wrap;align-items:flex-start}.order-line__extras{flex-basis:100%;margin-left:0;padding-left:0;padding-top:var(--space-2)}}@media (max-width:1100px){.order-detail-page__grid,.order-detail-page__hero,.order-hero{grid-template-columns:1fr}.order-detail-page__grid .order-detail-layout__aside,.order-detail-page__grid .order-detail-layout__main,.order-detail-page__hero .order-hero__info,.order-detail-page__hero .order-hero__toolbar{grid-column:1}.order-hero__toolbar{flex-wrap:wrap;justify-self:start;width:100%}.order-hero--detail .order-hero__actions,.order-hero__toolbar{justify-content:flex-start}.order-hero__total{align-items:flex-start}.order-hero__actions{justify-content:flex-start}.order-detail-layout{grid-template-columns:1fr}.order-detail-layout__aside,.order-detail-page__grid .order-detail-layout__aside{position:static}}@media (max-width:900px){.order-delivery-fields>.order-field-grid--2,.order-field-grid--2,.order-field-grid--3,.order-field-grid--4,.order-field-grid--address{grid-template-columns:1fr}.order-lines-table{display:block}.order-lines-head{display:none}.order-line{display:grid;grid-column:auto;grid-template-columns:1fr 1fr;gap:var(--space-3);margin-bottom:var(--space-2)}.order-line__index{grid-column:1/-1;text-align:left}.order-line__product{grid-column:1/-1;flex-wrap:wrap}.order-line__extras{flex-basis:100%;margin-left:0;padding-left:0;padding-top:var(--space-2);padding-bottom:4px;overflow:visible}.order-line__discount,.order-line__price,.order-line__qty,.order-line__stock{justify-self:stretch}.order-line__total{justify-self:start}.order-line__remove{justify-self:end}}.modal-tabs{display:flex;flex-shrink:0;gap:0;margin:calc(-1 * var(--space-5)) calc(-1 * var(--space-6)) var(--space-5);border-bottom:1px solid var(--color-border);position:sticky;top:calc(-1 * var(--space-5));z-index:1;background:var(--color-surface)}.modal-tabs button{flex:1;padding:var(--space-3) var(--space-4);font:inherit;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);background:#f8fafc;border:none;border-bottom:2px solid transparent;cursor:pointer}.modal-tabs button.is-active{color:#0d9488;background:var(--color-surface);border-bottom-color:#0d9488}.price-badge{display:inline-block;padding:.25rem .5rem;font-size:.8125rem;font-weight:600;border-radius:4px}.price-badge--base{color:#2563eb;border:1px solid #93c5fd}.price-badge--upsell{color:#dc2626;border:1px solid #fca5a5}.product-search{display:flex;gap:var(--space-2);min-width:280px}.product-search .input{flex:1}.product-search__btn{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;padding:0;color:#fff;background:#16a34a;border:none;border-radius:var(--radius-sm);cursor:pointer}.add-product-table-wrap{margin:0}.add-product-table__col-thumb{width:3.5rem}.add-product-table__col-name{min-width:10rem}.add-product-table__col-sku{width:8rem;white-space:nowrap}.add-product-table__col-stock{width:5rem;font-variant-numeric:tabular-nums}.add-product-table__col-actions{width:1%;white-space:nowrap}.add-product-table__name{display:block;font-weight:600;color:var(--color-text)}.add-product-table__sku{font-size:.8125rem;color:var(--color-text-muted);font-variant-numeric:tabular-nums}.add-product-table__stock--empty{color:#b91c1c;font-weight:600}.add-product-modal__row-actions{display:flex;flex-shrink:0;align-items:center;gap:var(--space-2)}.add-product-modal__add-btn{display:inline-flex;flex-direction:row;align-items:center;gap:var(--space-2);padding:.375rem .625rem;white-space:nowrap;border-radius:var(--radius-sm);border:1px solid transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.add-product-modal__add-btn:hover{box-shadow:var(--shadow-sm)}.add-product-modal__add-btn-label{font-size:.625rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.add-product-modal__add-btn-value{font-size:.8125rem;font-weight:700;font-variant-numeric:tabular-nums}.add-product-modal__add-btn--base{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.add-product-modal__add-btn--base:hover{border-color:#2563eb}.add-product-modal__add-btn--upsell{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.add-product-modal__add-btn--upsell:hover{border-color:#dc2626}.product-thumb--empty{display:inline-block;background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.order-line__product{align-items:center;justify-self:stretch;overflow:visible}.order-line__extras,.order-line__product{display:flex;gap:var(--space-3);min-width:0}.order-line__extras{flex:1;flex-wrap:wrap;align-items:flex-end;margin-left:auto;padding-left:var(--space-2);padding-bottom:4px;overflow:hidden}.order-line__extra{display:flex;flex:0 1 7.5rem;flex-direction:column;align-items:stretch;gap:.25rem;margin:0;min-width:0;padding-bottom:1px}.order-line__extra-label{font-size:.625rem;font-weight:600;line-height:1.2;color:var(--color-text-muted);white-space:nowrap}.order-line__extra-control{width:100%;min-width:4.5rem;max-width:7.5rem}.order-line__extra-control:focus,.order-line__extra-control:hover{position:relative;z-index:1}.order-line__thumb-wrap{position:relative;flex-shrink:0;display:inline-flex;cursor:zoom-in}.order-line__thumb{display:block;object-fit:cover;border-radius:var(--radius-sm);background:#f1f5f9}.order-line__thumb,.order-line__thumb--empty{width:40px;height:40px;border:1px solid var(--color-border)}.order-line__thumb--empty{display:inline-block;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-radius:var(--radius-sm)}.order-line__thumb-zoom{position:absolute;left:calc(100% + .5rem);top:50%;z-index:30;display:block;width:11rem;height:11rem;padding:.25rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-50%) scale(.96);transition:opacity .15s ease,visibility .15s ease,transform .15s ease}.order-line__thumb-zoom img{display:block;width:100%;height:100%;object-fit:contain;border-radius:calc(var(--radius-md) - 2px);background:#f8fafc}.order-line__thumb-wrap:focus-within .order-line__thumb-zoom,.order-line__thumb-wrap:hover .order-line__thumb-zoom{opacity:1;visibility:visible;transform:translateY(-50%) scale(1)}.order-line__product-text{display:flex;flex-direction:column;gap:.125rem;min-width:0}.order-line__price-tag{align-self:flex-start;margin-top:.125rem;padding:.125rem .375rem;font-size:.625rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:4px}.order-line__price-tag--base{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.order-line__price-tag--upsell{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.product-picker{position:relative}.product-picker__input{width:100%}.product-picker__selected{display:flex;align-items:center;gap:var(--space-3);min-height:2.375rem;padding:.375rem .625rem;background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.product-picker__selected-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem}.product-picker__clear{flex-shrink:0;padding:0;font:inherit;font-size:.75rem;font-weight:600;color:var(--color-brand-dark);background:none;border:none;cursor:pointer}.product-picker__clear:hover{text-decoration:underline}.product-picker__dropdown{position:absolute;top:calc(100% + .25rem);right:0;left:0;z-index:20;max-height:16rem;overflow:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-card)}.product-picker__option{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;width:100%;padding:.625rem .75rem;font:inherit;text-align:left;background:transparent;border:none;border-bottom:1px solid var(--color-border);cursor:pointer}.product-picker__option:last-child{border-bottom:none}.product-picker__option:hover{background:var(--color-brand-soft)}.product-picker__option-name{font-size:.8125rem;font-weight:600;color:var(--color-text)}.product-picker__option-meta{font-size:.75rem;color:var(--color-text-muted)}.product-picker__error,.product-picker__hint{margin:0;padding:.75rem;font-size:.8125rem}.product-picker__hint{color:var(--color-text-muted)}.product-picker__error{color:#991b1b}.address-picker{display:flex;flex-direction:column;gap:var(--space-3)}.address-picker,.address-picker__control{position:relative}.address-picker__control .address-picker__input{flex:1;min-width:0}.address-parts{display:flex;flex-direction:column;gap:var(--space-3)}.address-parts__row .order-field__label{font-size:.6875rem;letter-spacing:.03em;text-transform:uppercase}.address-picker__dropdown{position:absolute;top:calc(100% + .25rem);right:0;left:0;z-index:20;max-height:16rem;overflow:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-card)}.address-picker__option{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;width:100%;padding:.625rem .75rem;font:inherit;text-align:left;background:transparent;border:none;border-bottom:1px solid var(--color-border);cursor:pointer}.address-picker__option:last-child{border-bottom:none}.address-picker__option:hover{background:var(--color-brand-soft)}.address-picker__option-name{font-size:.8125rem;font-weight:600;color:var(--color-text)}.address-picker__option-meta{font-size:.75rem;color:var(--color-text-muted)}.address-picker__error,.address-picker__hint{margin:0;padding:.75rem;font-size:.8125rem}.address-picker__hint{color:var(--color-text-muted)}.address-picker__error{color:#991b1b}.address-picker__parsed{margin:0}.address-picker__qc,.address-qc-badges{display:flex;flex-wrap:wrap;gap:.375rem}.address-qc-badges .status-badge--success{color:var(--color-nav-active-text);background:var(--color-nav-active);border-radius:var(--radius-md)}.order-field--address{grid-column:1/-1}.table-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.table-pagination__size{display:flex;align-items:center;gap:var(--space-2);margin:0;font-size:.8125rem;color:var(--color-text-muted)}.table-pagination__size-select{width:auto;min-width:4.5rem;padding:.375rem 1.75rem .375rem .625rem;font-size:.8125rem}.table-pagination__nav{display:flex;align-items:center;gap:var(--space-1)}.table-pagination__pages{display:flex;align-items:center;gap:.125rem}.table-pagination__page{min-width:2rem;height:2rem;padding:0 .375rem;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;font-size:.8125rem;color:var(--color-text-muted);cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.table-pagination__page:hover:not(:disabled){background:var(--color-surface-muted);color:var(--color-text)}.table-pagination__page--active{border-color:var(--color-border);background:#fff;color:var(--color-text);font-weight:600}.table-pagination__page:disabled{cursor:not-allowed;opacity:.6}.table-pagination__ellipsis{min-width:1.5rem;text-align:center;font-size:.8125rem;color:var(--color-text-muted);user-select:none}.table-pagination__arrow{min-width:2rem;padding:.375rem}.history-link{color:#2563eb;text-decoration:underline;cursor:pointer}@media (max-width:900px){.orders-filter__grid{grid-template-columns:1fr 1fr}.orders-filter--products .orders-filter__grid{flex-direction:column;align-items:stretch}.orders-filter--products .orders-filter__actions{margin-left:0;justify-content:flex-end}.notify-history-filter .orders-filter__grid{flex-wrap:wrap}.notify-history-filter .orders-filter__actions{margin-left:0;width:100%;justify-content:flex-end}.pbx-history-filter .orders-filter__grid{flex-wrap:wrap}.pbx-history-filter .orders-filter__actions{margin-left:0;width:100%;justify-content:flex-end}.kpi-grid--notify-history,.kpi-grid--pbx-admin,.kpi-grid--pbx-client{grid-template-columns:1fr}.balance-filter .orders-filter__grid{flex-wrap:wrap}.balance-filter .balance-filter__search{flex:1 1 100%}.balance-filter .orders-filter__actions{margin-left:0;width:100%;justify-content:flex-end}.balance-summary{width:100%}.page-header__actions .balance-summary{margin-top:var(--space-2)}.order-form-grid--3{grid-template-columns:1fr}}.settings-layout{display:grid;grid-template-columns:200px 1fr;gap:var(--space-6)}.settings-tabs{display:flex;flex-direction:column;gap:var(--space-1)}.settings-tabs button{padding:.5rem .75rem;font:inherit;font-size:.8125rem;font-weight:700;letter-spacing:.04em;text-align:left;text-transform:uppercase;color:var(--color-text-muted);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer}.settings-tabs button.is-active{color:var(--color-brand-deep);background:var(--color-brand-soft)}.summary-strip{padding:var(--space-4) var(--space-5);font-size:.9375rem;line-height:1.5;color:var(--color-text-muted);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:var(--radius-lg)}.summary-strip strong{color:var(--color-brand-deep);font-weight:700}.notify-subnav{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-1);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.notify-subnav__link{padding:.5rem 1rem;font-size:.875rem;font-weight:600;color:var(--color-text-muted);text-decoration:none;border-radius:var(--radius-md);transition:background .15s ease,color .15s ease}.notify-subnav__link:hover{color:var(--color-text);background:var(--color-background)}.notify-subnav__link.is-active{color:var(--color-brand-deep);background:var(--color-brand-soft)}.notify-history-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:280px;font-size:.875rem;line-height:1.45;color:var(--color-text-muted)}.crons-last-run{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2);min-width:12rem}.crons-run-btn{flex-shrink:0}.crons-logs-header{flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-4)}.crons-logs-filter{display:flex;flex-direction:column;gap:var(--space-1);min-width:14rem}.crons-logs-filter select{padding:.4rem .6rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font-size:.875rem}.crons-status-btn{border:none;cursor:pointer;font:inherit}.crons-status-btn:disabled{cursor:default}.crons-status-btn:not(:disabled):hover{filter:brightness(.95)}.status-badge--danger{background:rgba(220,38,38,.12);color:#b91c1c}.crons-log-message-btn{display:block;max-width:100%;padding:0;border:none;background:none;text-align:left;cursor:pointer;font:inherit}.notify-delivery-panel__header{margin-bottom:var(--space-2)}.notify-delivery-panel__header .page-card__subtitle{margin-top:.15rem}.notify-delivery-panel__body{display:flex;flex-direction:column;gap:.75rem;margin-top:0}.notify-delivery-panel__strips{display:flex;flex-direction:column;gap:.35rem}.notify-delivery-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.45rem .65rem;border:1px solid var(--border-subtle,#e5e7eb);border-radius:6px;background:var(--surface,#fff);font-size:.8125rem}.notify-delivery-strip--warn{border-color:#f59e0b;background:#fffbeb}.notify-delivery-strip__label{font-weight:600;min-width:8rem}.notify-delivery-strip__metrics{display:flex;flex-wrap:wrap;gap:.65rem 1rem;color:var(--text-muted,#6b7280)}.notify-delivery-strip__hot{color:#b45309;font-weight:600}.notify-delivery-strip__bad{color:#b91c1c;font-weight:600}.notify-delivery-strip__hint{font-size:.75rem;color:#92400e}.notify-delivery-panel__block{margin-top:.25rem}.notify-delivery-panel__block-title{display:flex;align-items:center;gap:.5rem;margin:0 0 .35rem;font-size:.875rem;font-weight:600}.notify-delivery-panel__block-hint{margin:0 0 .5rem}.notify-delivery-panel__block--row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem 1rem}.notify-scheduled-modal__hint{margin:0 0 .75rem}.notify-scheduled-modal__scroll{max-height:min(70vh,32rem);overflow-y:auto;margin:0 -.25rem;padding:0 .25rem}.notify-scheduled-modal__sentinel{height:1px}.notify-scheduled-modal__end,.notify-scheduled-modal__more{text-align:center;margin:.5rem 0 0}.notify-delivery-problem__error{display:block;max-width:36rem;font-size:.8125rem;line-height:1.35;word-break:break-word}.crons-log-message-btn:hover .crons-log-message{color:var(--color-primary,#16a34a);text-decoration:underline}.crons-log-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:420px;font-size:.875rem;line-height:1.45;color:var(--color-text-muted)}.cron-log-detail{display:flex;flex-direction:column;gap:var(--space-4)}.cron-log-detail__meta{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:var(--space-3) var(--space-4);margin:0}.cron-log-detail__meta dt{margin:0 0 .15rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted)}.cron-log-detail__meta dd{margin:0;font-size:.9375rem}.cron-log-detail__section{display:flex;flex-direction:column;gap:var(--space-2)}.cron-log-detail__section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.cron-log-detail__heading{margin:0;font-size:.9375rem;font-weight:600}.cron-log-detail__kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:var(--space-2) var(--space-4);margin:0}.cron-log-detail__kv-row dt{margin:0 0 .15rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted)}.cron-log-detail__kv-row dd{margin:0;font-size:.9375rem;word-break:break-word}.cron-log-detail__pre{margin:0;padding:var(--space-3);border-radius:var(--radius-md,8px);background:var(--color-background,#f8fafc);border:1px solid var(--color-border);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;max-height:24rem;overflow:auto}.cron-log-detail__pre--json{max-height:14rem}.cron-log-detail__pre--inline{display:inline-block;padding:.1rem .35rem;max-height:none;font-size:.75rem;vertical-align:middle}.cron-log-detail__hint{margin:0 0 var(--space-3)}.cron-log-detail__errors{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}.cron-log-detail__raw{padding-top:var(--space-2);border-top:1px dashed var(--color-border)}.cron-log-detail__raw summary{cursor:pointer;font-weight:600;color:var(--color-text-muted)}.cron-log-detail__raw-copy{margin-top:var(--space-2);align-self:flex-start}.notify-guide,.notify-map-modal,.notify-schedule-modal{display:flex;flex-direction:column;gap:var(--space-5)}.notify-map-modal__tabs{margin-top:0}.notify-map-subtabs{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-1) 0}.notify-map-subtabs button{padding:var(--space-2) var(--space-4);font:inherit;font-size:.8125rem;font-weight:600;color:var(--color-text-muted);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer}.notify-map-subtabs button.is-active{color:var(--color-brand-deep);background:var(--color-brand-soft);border-color:var(--color-brand)}.notify-map{display:flex;flex-direction:column;gap:var(--space-5)}.notify-map__order{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2) var(--space-4);padding:var(--space-4) var(--space-5);background:linear-gradient(135deg,var(--color-brand-soft) 0,var(--color-surface) 72%);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.notify-map__order-label{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted)}.notify-map__order-id{font-size:1.125rem;color:var(--color-brand-deep)}.notify-map__order-meta{font-size:.875rem;color:var(--color-text-muted)}.notify-map__empty{padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-lg);background:var(--color-background)}.notify-map__timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}.notify-map__step{display:grid;grid-template-columns:1.5rem minmax(0,1fr);gap:var(--space-4);padding-bottom:var(--space-5)}.notify-map__step:last-child{padding-bottom:0}.notify-map__rail{display:flex;flex-direction:column;align-items:center;padding-top:.35rem}.notify-map__dot{width:.75rem;height:.75rem;border-radius:50%;background:var(--color-brand);box-shadow:0 0 0 4px var(--color-brand-soft);flex-shrink:0}.notify-map__line{flex:1;width:2px;min-height:2rem;margin-top:var(--space-2);background:linear-gradient(180deg,var(--color-brand) 0,var(--color-border) 100%);border-radius:1px}.notify-map__content{display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.notify-map__status{display:flex;flex-direction:column;gap:.125rem;padding:var(--space-3) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-left:3px solid var(--color-brand);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.notify-map__status-kicker{font-size:.6875rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-muted)}.notify-map__status-title{font-size:.9375rem;font-weight:700;color:var(--color-text)}.notify-map__notifications{list-style:none;margin:0;padding:0;padding-left:var(--space-3);border-left:2px dashed var(--color-border)}.notify-map__notifications,.notify-map__notify{display:flex;flex-direction:column;gap:var(--space-2)}.notify-map__notify{padding:var(--space-3) var(--space-4);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md)}.notify-map__notify-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.notify-map__notify-name{font-size:.875rem;font-weight:600;color:var(--color-text)}.notify-map__notify-delay{font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:var(--radius-sm);background:#fffbeb;color:#b45309;border:1px solid #fde68a}.notify-map__cascade{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.notify-map__fallback{font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:var(--radius-sm);background:#fffbeb;color:#b45309;border:1px solid #fde68a}.notify-map__cascade-end{font-size:.75rem;color:var(--color-text-muted)}.notify-guide__footer{margin:0}.notify-guide__footer a{color:var(--color-brand-deep);font-weight:600;text-decoration:underline;text-underline-offset:2px}.notify-flow{display:flex;flex-direction:column;gap:var(--space-4)}.notify-flow__diagram{flex-wrap:wrap;padding:var(--space-4);background:var(--color-background);border:1px dashed var(--color-border);border-radius:var(--radius-lg)}.notify-flow__diagram,.notify-flow__node-wrap{display:flex;align-items:center;gap:var(--space-2)}.notify-flow__arrow{width:1.25rem;height:1px;background:var(--color-border-strong);position:relative}.notify-flow__arrow:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);border:5px solid transparent;border-left:5px solid var(--color-border-strong)}.notify-flow__node{display:flex;flex-direction:column;gap:.125rem;min-width:5.5rem;padding:var(--space-3) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-card)}.notify-flow__node--success{border-color:var(--color-brand);background:var(--color-brand-soft)}.notify-flow__node--fallback{border-color:#f59e0b;background:#fffbeb}.notify-flow__node-title{font-size:.875rem;font-weight:700;color:var(--color-text)}.notify-flow__node-hint{font-size:.75rem;color:var(--color-text-muted)}.notify-flow__branch{display:flex;align-items:center;gap:var(--space-2);padding-left:calc(var(--space-4) + 5.5rem)}.notify-flow__branch-line{flex:1;max-width:8rem;height:2rem;border-left:2px dashed #f59e0b;border-bottom:2px dashed #f59e0b;border-radius:0 0 0 var(--radius-sm);margin-top:-1rem}.notify-flow__branch-label{font-size:.75rem;font-weight:600;color:#b45309;white-space:nowrap}.notify-flow__legend{display:grid;gap:var(--space-2);margin:0;padding:0;list-style:none;font-size:.875rem;color:var(--color-text-muted)}.notify-flow__legend li{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.notify-cascade-panel{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:.125rem;max-width:100%}.notify-cascade-panel__track{display:flex;flex-wrap:nowrap;align-items:center;gap:.125rem}.notify-cascade-panel__segment{display:inline-flex;align-items:center}.notify-cascade-panel__connector{display:inline-block;width:.75rem;height:1px;margin:0 .125rem;background:#cbd5e1;flex-shrink:0}.notify-cascade-panel__connector--ok{background:#94a3b8}.notify-cascade-panel__connector--fail{background:var(--color-danger,#dc2626)}.notify-cascade-panel__chip{--chip-accent:#475569;--chip-bg:#f8fafc;--chip-border:#cbd5e1;display:inline-flex;align-items:center;gap:.2rem;padding:.12rem .35rem;border-radius:999px;border:1px solid var(--chip-border);background:var(--chip-bg);font-size:.6875rem;line-height:1.25;white-space:nowrap}.notify-cascade-panel__chip--sms{--chip-accent:#1d4ed8;--chip-bg:#eff6ff;--chip-border:#93c5fd}.notify-cascade-panel__chip--max{--chip-accent:#7e22ce;--chip-bg:#faf5ff;--chip-border:#d8b4fe}.notify-cascade-panel__chip--whatsapp{--chip-accent:#15803d;--chip-bg:#f0fdf4;--chip-border:#86efac}.notify-cascade-panel__chip--voice{--chip-accent:#c2410c;--chip-bg:#fff7ed;--chip-border:#fdba74}.notify-cascade-panel__chip--failed{--chip-bg:#fef2f2;--chip-border:#fca5a5}.notify-cascade-panel__chip--pending{--chip-bg:#fffbeb;--chip-border:#fcd34d}.notify-cascade-panel__chip-icon{font-size:.625rem;font-weight:800;line-height:1}.notify-cascade-panel__chip--delivered .notify-cascade-panel__chip-icon{color:var(--color-success,#16a34a)}.notify-cascade-panel__chip--failed .notify-cascade-panel__chip-icon{color:var(--color-danger,#dc2626)}.notify-cascade-panel__chip--pending .notify-cascade-panel__chip-icon{color:#d97706}.notify-cascade-panel__chip-channel{font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:var(--chip-accent)}.notify-cascade-panel__chip--failed .notify-cascade-panel__chip-channel{color:var(--chip-accent)}.notify-channels-inline{flex-wrap:wrap}.notify-channels-inline,.notify-channels-inline__item{display:inline-flex;align-items:center;gap:.125rem}.notify-channels-inline__sep{font-size:.6875rem;font-weight:600;color:var(--color-text-muted)}.notify-attempt-status{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.notify-attempt-status__meta{font-size:.6875rem;color:var(--color-text-muted);line-height:1.2}.notify-flow--compact .notify-flow__legend{display:none}.notify-steps{display:grid;gap:var(--space-3);margin:0;padding:0;list-style:none}.notify-steps li{display:flex;gap:var(--space-3);align-items:flex-start}.notify-steps__num{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;font-size:.8125rem;font-weight:700;color:var(--color-brand-deep);background:var(--color-brand-soft);border-radius:999px}.notify-steps li strong{display:block;margin-bottom:.25rem;font-size:.9375rem}.notify-steps li p{margin:0;font-size:.875rem;line-height:1.5;color:var(--color-text-muted)}.notify-steps--setup li p{margin:.125rem 0 0}.notify-channel{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:999px}.notify-channel--sms{color:#1e40af;background:#dbeafe}.notify-channel--max{color:#6b21a8;background:#f3e8ff}.notify-channel--whatsapp{color:#166534;background:#dcfce7}.notify-channel--voice{color:#9a3412;background:#ffedd5}.notify-channel--robot{color:#b45309;background:#fef3c7}.notify-templates{display:flex;flex-direction:column;gap:var(--space-5)}.notify-templates__toolbar{position:sticky;top:0;z-index:10;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-card)}.notify-templates__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) var(--space-4) var(--space-3)}.notify-templates__hint{margin:0;max-width:42rem}.notify-templates__head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.notify-templates__title{margin:0 0 var(--space-1);font-size:1rem;font-weight:700}.notify-vars{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);padding:var(--space-3) var(--space-4);background:var(--color-background);border-top:1px solid var(--color-border)}.notify-vars__label{flex-shrink:0;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-subtle)}.notify-vars__chips{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:.25rem;min-width:0}.notify-vars__chip{padding:.125rem .4375rem;font:inherit;font-size:.75rem;line-height:1.35;color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:999px;cursor:pointer;white-space:nowrap;transition:border-color .12s ease,background .12s ease,color .12s ease}.notify-vars__chip:hover{border-color:var(--color-brand);color:var(--color-brand-dark);background:var(--color-brand-soft,#ecfdf5)}.notify-template-list{display:flex;flex-direction:column;gap:var(--space-5);margin:0;padding:0;list-style:none}.notify-template-card{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-card)}.notify-template-card--duplicate{border-color:#f59e0b;box-shadow:0 0 0 1px #fde68a,var(--shadow-card)}.notify-template-card--draft{border-style:dashed;border-color:var(--color-brand-muted);box-shadow:none}.notify-template-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) var(--space-5);background:linear-gradient(135deg,var(--color-brand-soft) 0,var(--color-surface) 55%);border-bottom:1px solid var(--color-border)}.notify-template-card__header--draft{background:var(--color-brand-soft)}.notify-template-card__header-main{display:flex;align-items:flex-start;gap:var(--space-3);min-width:0}.notify-template-card__index{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:.875rem;font-weight:700;color:var(--color-brand-deep);background:var(--color-surface);border:1px solid var(--color-brand-muted);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.notify-template-card__header-text{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.notify-template-card__name{font-size:1rem;font-weight:700;line-height:1.3;color:var(--color-text);letter-spacing:-.02em}.notify-template-card__badges{display:flex;flex-wrap:wrap;gap:.375rem}.notify-template-card__cascade{flex-shrink:0}.notify-template-card__badge{display:inline-flex;align-items:center;padding:.125rem .5rem;font-size:.75rem;font-weight:600;line-height:1.35;color:var(--color-text-muted);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.notify-template-card__badge--fallback{color:#b45309;background:#fffbeb;border-color:#fde68a}.notify-template-card__badge--delay{color:var(--color-brand-deep);background:var(--color-brand-soft);border-color:var(--color-brand-muted)}.notify-template-card__badge--warn{color:#92400e;background:#fffbeb;border-color:#fde68a}.notify-template-card__dupe-hint{margin:0;border-radius:0;border-left:none;border-right:none}.notify-template-card__section{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border)}.notify-template-card__section--filters{padding:var(--space-4) var(--space-5);background:var(--color-background);border-left:3px solid var(--color-brand)}.notify-template-card__section--body{padding-bottom:var(--space-5)}.notify-template-card__section-title{display:block;margin:0 0 var(--space-3);font-size:.6875rem;font-weight:700;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted)}.notify-template-card__logic{margin:0}.notify-template-card__logic--main{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:960px){.notify-template-card__logic--main{grid-template-columns:repeat(2,minmax(0,1fr))}}.notify-template-card__filters-grid{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}.notify-template-card__filters-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.notify-delivery-select{min-width:0}.notify-delivery-select__root{position:relative;min-width:0}.notify-delivery-select__trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);width:100%;min-width:0;text-align:left;cursor:pointer}.notify-delivery-select__root--open .notify-delivery-select__trigger{border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.notify-delivery-select__trigger-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.notify-delivery-select__chevron{flex-shrink:0;color:var(--color-text-muted);transition:transform .15s ease}.notify-delivery-select__root--open .notify-delivery-select__chevron{transform:rotate(180deg)}.notify-delivery-select__menu{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-md)}.notify-delivery-select__option{display:block;width:100%;padding:.5rem .75rem;border:0;background:transparent;font:inherit;font-size:.875rem;font-weight:400;line-height:1.35;text-align:left;color:var(--color-text);cursor:pointer}.notify-delivery-select__option:hover{background:var(--color-background)}.notify-delivery-select__option--selected,.notify-delivery-select__option[aria-selected=true]{background:var(--color-brand-soft);color:var(--color-brand-dark);font-weight:600}.notify-delivery-select__option--any{color:var(--color-text-muted);font-weight:500;border-bottom:1px solid var(--color-border)}.notify-delivery-select__option--any[aria-selected=true]{color:var(--color-brand-dark)}@media (max-width:720px){.notify-template-card__filters-grid,.notify-template-card__filters-grid--compact{grid-template-columns:1fr}}.notify-template-card .input--on-card{background:var(--color-surface)}.field--disabled{opacity:.55}.field--disabled select:disabled{cursor:not-allowed}.notify-template-card__body-field{margin:0;gap:var(--space-2)}.notify-template-card__body{width:100%;resize:vertical;min-height:5.5rem}.notify-template-card__preview{margin:0;padding:var(--space-4) var(--space-5);font-size:.875rem;line-height:1.55;color:var(--color-text-muted);border-bottom:1px solid var(--color-border)}.notify-template-card__footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-5);background:var(--color-background)}.notify-template-card__footer--actions{flex-wrap:nowrap;justify-content:flex-start}.notify-template-card__footer--actions .btn{width:auto;margin-top:0}.notify-template-card__delete{display:inline-flex;align-items:center;gap:var(--space-2);height:auto;min-height:0;padding:.375rem .75rem;font-size:.8125rem}.notify-templates--compact .notify-template-card__section{display:none}.notify-templates--compact .notify-template-card__preview{border-bottom:none}.notify-settings-block{display:flex;flex-direction:column;gap:var(--space-6);padding-top:0}.notify-settings-block>.notify-templates>.notify-templates__toolbar{margin:0 calc(-1 * var(--space-6)) var(--space-5);border-width:0 0 1px;border-radius:0;box-shadow:var(--shadow-card)}.notify-settings-block>.notify-templates>.notify-templates__toolbar .notify-templates__head{padding-left:var(--space-6);padding-right:var(--space-6)}.notify-settings-block>.notify-templates>.notify-templates__toolbar .notify-vars{padding:var(--space-3) var(--space-6)}.notify-settings-block__schedule{padding-top:var(--space-5);border-top:1px solid var(--color-border)}@media (max-width:768px){.notify-flow__diagram,.notify-flow__node-wrap{flex-direction:column;align-items:stretch}.notify-flow__arrow{width:1px;height:1rem;margin:0 auto}.notify-flow__arrow:after{right:auto;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top:5px solid var(--color-border-strong)}.notify-flow__branch{padding-left:var(--space-4)}}.table-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.table-toolbar--end{margin-bottom:var(--space-5);justify-content:flex-end;gap:var(--space-2)}.table-toolbar--split{justify-content:space-between}.table-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end}.inline-code{padding:.1em .35em;font-size:.8125em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--color-brand-deep);background:var(--color-brand-soft);border-radius:4px}.balance-topup-modal,.balance-topup-modal__loading{display:flex;flex-direction:column;gap:var(--space-4)}.balance-topup-modal__loading{align-items:center;padding:var(--space-8) var(--space-4);color:var(--color-text-muted);font-size:.875rem}.balance-topup-modal__spinner{width:2rem;height:2rem;border:2px solid var(--color-border);border-top-color:var(--color-brand);border-radius:50%;animation:loading-spin .8s linear infinite}.balance-topup-modal__warn{display:flex;gap:var(--space-4);padding:var(--space-5);border-radius:var(--radius-md);background:var(--color-warning-soft);border:1px solid #fde68a}.balance-topup-modal__warn-icon{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--radius-md);background:#fff;color:var(--color-warning);flex-shrink:0}.balance-topup-modal__warn p{margin:0;font-size:.875rem;line-height:1.55;color:var(--color-text)}.balance-topup-form{display:flex;flex-direction:column;gap:var(--space-5)}.balance-topup-form__hero{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-radius:var(--radius-md);background:linear-gradient(135deg,rgba(22,163,74,.1),rgba(22,163,74,.02) 55%,transparent);border:1px solid var(--color-brand-muted)}.balance-topup-form__hero-icon{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:var(--radius-md);background:var(--gradient-balance-hero);color:var(--color-text-on-brand);flex-shrink:0;box-shadow:0 4px 14px rgba(22,163,74,.25)}.balance-topup-form__hero-title{margin:0 0 var(--space-1);font-size:.9375rem;font-weight:700;color:var(--color-text)}.balance-topup-form__hero-text{margin:0;font-size:.8125rem;line-height:1.55;color:var(--color-text-muted)}.balance-topup-form__amount-card{padding:var(--space-5);border-radius:var(--radius-md);background:var(--color-background);border:1px solid var(--color-border)}.balance-topup-form__amount-label{display:block;margin-bottom:var(--space-3);font-size:.8125rem;font-weight:700;color:var(--color-text)}.balance-topup-form__amount-field{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);background:var(--color-surface);border:2px solid var(--color-border);transition:border-color .15s ease,box-shadow .15s ease}.balance-topup-form__amount-field:focus-within{border-color:var(--color-brand);box-shadow:0 0 0 3px var(--color-focus-ring)}.balance-topup-form__amount-input{flex:1;min-width:0;padding:var(--space-2) 0;font:inherit;font-size:2rem;font-weight:700;letter-spacing:-.03em;color:var(--color-text);background:transparent;border:none;outline:none}.balance-topup-form__amount-input::placeholder{color:var(--color-text-subtle);font-weight:600}.balance-topup-form__amount-currency{font-size:1.25rem;font-weight:700;color:var(--color-text-muted)}.balance-topup-form__amount-hint{margin:var(--space-2) 0 0;font-size:.75rem;color:var(--color-text-muted)}.balance-topup-form__presets{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4)}.balance-topup-form__preset{padding:.375rem .75rem;font:inherit;font-size:.8125rem;font-weight:600;color:var(--color-brand-dark);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:999px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.balance-topup-form__preset:hover{background:var(--color-brand-muted);border-color:var(--color-brand)}.balance-topup-form__error{margin:0}.balance-topup-form .balance-topup-form__footer.modal__footer{margin:0 calc(-1 * var(--space-6));margin-top:calc(-1 * var(--space-2));margin-bottom:calc(-1 * var(--space-6));padding:var(--space-3) var(--space-6) var(--space-6);background:var(--color-background);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.balance-topup-form__footer .btn--primary{min-width:10rem}.balance-invoice{display:flex;flex-direction:column;gap:var(--space-4)}.balance-invoice--warn{padding:var(--space-5);border-radius:var(--radius-md);background:var(--color-warning-soft);border:1px solid #fde68a}.balance-invoice__lead{margin:0;font-size:.875rem;line-height:1.55;color:var(--color-text)}.balance-invoice__hero{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--space-4) var(--space-6);padding:var(--space-5);border-radius:var(--radius-md);background:linear-gradient(135deg,rgba(22,163,74,.08),rgba(22,163,74,.02));border:1px solid var(--color-brand-muted)}.balance-invoice__hero-col{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}.balance-invoice__hero-status{align-self:center;margin-left:auto}.balance-invoice__label{margin:0 0 var(--space-1);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.balance-invoice__amount,.balance-invoice__number{margin:0;min-height:1.875rem;display:flex;align-items:center;font-weight:700;letter-spacing:-.02em;line-height:1.25}.balance-invoice__number{font-size:1.125rem;color:var(--color-text)}.balance-invoice__amount{font-size:1.5rem;color:var(--color-brand-dark)}.balance-invoice__hint{margin:0;font-size:.8125rem;line-height:1.55;color:var(--color-text-muted)}.balance-invoice__block{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.balance-invoice__block-title{margin:0 0 var(--space-3);font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.balance-invoice__dl{margin:0;display:flex;flex-direction:column;gap:var(--space-3)}.balance-invoice__row{display:grid;grid-template-columns:7.5rem 1fr;gap:var(--space-2) var(--space-4);align-items:start}.balance-invoice__row dt{margin:0;font-size:.8125rem;font-weight:600;color:var(--color-text-muted)}.balance-invoice__row dd{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);font-size:.875rem;color:var(--color-text)}.balance-invoice__copy{padding:.25rem .5rem;font-size:.75rem}.balance-invoice-pdf-host{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bank-invoice-doc{box-sizing:border-box;width:794px;padding:48px 52px 56px;font-family:Times New Roman,Times,serif;font-size:14px;line-height:1.35;color:#000;background:#fff}.bank-invoice-doc__header{margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #000}.bank-invoice-doc__title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.bank-invoice-doc__title{margin:0;font-size:22px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.bank-invoice-doc__badge{padding:4px 10px;font-family:var(--font-sans);font-size:11px;font-weight:600;color:var(--color-brand-dark);background:var(--color-brand-soft);border:1px solid var(--color-brand-muted);border-radius:4px}.bank-invoice-doc__meta{margin:0;font-size:15px}.bank-invoice-doc__meta strong{font-weight:700}.bank-invoice-doc__table{width:100%;border-collapse:collapse;table-layout:fixed;margin-bottom:16px}.bank-invoice-doc__table td{border:1px solid #000;padding:8px 10px;vertical-align:top;word-break:break-word}.bank-invoice-doc__label{width:22%;font-size:12px;font-weight:600;background:#f5f5f5}.bank-invoice-doc__value{width:28%;font-size:14px}.bank-invoice-doc__value--mono{font-family:Courier New,Courier,monospace;font-size:13px;letter-spacing:.02em}.bank-invoice-doc__value--purpose{font-weight:600}.bank-invoice-doc__row-amount .bank-invoice-doc__label,.bank-invoice-doc__row-amount .bank-invoice-doc__value--amount{font-size:15px;font-weight:700}.bank-invoice-doc__value--amount{font-family:Courier New,Courier,monospace;font-size:16px}.bank-invoice-doc__vat{margin:0 0 20px;font-size:13px;font-style:italic}.bank-invoice-doc__footer{margin-top:28px;padding-top:12px;border-top:1px solid #ccc}.bank-invoice-doc__footer p{margin:0;font-family:var(--font-sans);font-size:11px;line-height:1.45;color:#444}.balance-pending__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--space-3)}.balance-pending__item{justify-content:space-between;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-background)}.balance-pending__item,.balance-pending__main{display:flex;flex-wrap:wrap;align-items:center}.balance-pending__main{gap:var(--space-3) var(--space-4)}.balance-pending__invoice{font-size:.9375rem;font-weight:700;background:none;border:none;padding:0;cursor:pointer}.balance-pending__amount{font-weight:700;color:var(--color-brand-dark)}.balance-pending__meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3)}.balance-pending__actions{display:flex;gap:var(--space-2)}.topup-admin__filter{width:auto;min-width:10rem}.data-table__row--topup-pending{background:linear-gradient(90deg,rgba(245,158,11,.08),transparent 55%)}.data-table__row--topup-pending:hover{background:linear-gradient(90deg,rgba(245,158,11,.12) 0,var(--color-background) 55%)}.balance-tx__actions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end}.balance-tx__invoice{font-weight:700;background:none;border:none;padding:0;cursor:pointer;text-align:left}.data-table__actions{width:1%;white-space:nowrap}.link-cell{color:var(--color-brand-dark);font-weight:600;text-decoration:none}.link-cell:hover{text-decoration:underline}.product-thumb{width:40px;height:40px;object-fit:cover;border-radius:var(--radius-sm);background:#f1f5f9}.product-table-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.product-table-actions__left{display:flex;flex-wrap:wrap;gap:var(--space-2)}.product-row-actions{display:inline-flex;gap:var(--space-1)}.product-row-actions__btn{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:#2563eb;background:transparent;border:1px solid #bfdbfe;border-radius:var(--radius-sm);cursor:pointer}.product-row-actions__btn:hover{background:#eff6ff}.product-row-actions__btn--danger{color:#dc2626;border-color:#fecaca}.product-row-actions__btn--danger:hover{background:#fef2f2}.product-row-actions__btn:disabled{color:#9ca3af;border-color:#e5e7eb;cursor:not-allowed;opacity:.55}.product-row-actions__btn:disabled:hover{background:transparent}.clients-table__name{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.clients-table__blocked{font-size:.75rem;vertical-align:middle}.product-row-actions__btn--impersonate{color:var(--color-primary);border-color:color-mix(in srgb,var(--color-primary) 30%,var(--color-border))}.product-row-actions__btn--impersonate:hover{background:color-mix(in srgb,var(--color-primary) 10%,var(--color-surface));border-color:var(--color-primary)}.clients-table__actions{justify-content:flex-end;min-width:6.5rem}.product-row-actions__btn--client-unlocked{color:#16a34a;border-color:#86efac}.product-row-actions__btn--client-unlocked:hover{background:#f0fdf4}.product-row-actions__btn--client-blocked{color:#111827;border-color:#d1d5db}.product-row-actions__btn--client-blocked:hover{background:#f3f4f6}.product-control-suffix{display:flex;align-items:center;gap:var(--space-2)}.product-control-suffix .order-control{flex:1}.product-edit-page-wrap{padding-bottom:var(--space-6)}.product-edit-page{display:flex;flex-direction:column;gap:var(--space-6)}.product-hero{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-5);padding:var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);background-image:linear-gradient(135deg,var(--color-brand-soft) 0,var(--color-surface) 48%)}.product-hero__main{display:flex;flex-direction:column;gap:var(--space-3);min-width:0}.product-hero__back{display:inline-flex;align-items:center;gap:var(--space-1);width:fit-content;font-size:.8125rem;font-weight:600;color:var(--color-text-muted);text-decoration:none;transition:color .15s ease}.product-hero__back:hover{color:var(--color-brand-dark)}.product-hero__top{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.product-hero__chip{color:var(--color-brand-deep);background:var(--color-brand-muted)}.product-hero__chip,.product-hero__status{display:inline-flex;padding:.2rem .65rem;font-size:.75rem;font-weight:600;border-radius:999px}.product-hero__status.is-active{color:var(--color-brand-deep);background:var(--color-brand-muted)}.product-hero__status.is-inactive{color:#991b1b;background:var(--color-danger-soft)}.product-hero__title{margin:0;font-size:1.625rem;font-weight:700;letter-spacing:-.03em;line-height:1.2}.product-hero__meta{margin:0;font-size:.8125rem;color:var(--color-text-muted)}.product-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--space-5);align-items:start}.product-edit-layout__main{display:flex;flex-direction:column;gap:var(--space-5);min-width:0}.product-edit-intro{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:var(--space-5);align-items:stretch}.product-edit-intro .order-panel,.product-edit-intro .product-preview{height:100%}.product-edit-layout__aside{position:sticky;top:var(--space-4);display:flex;flex-direction:column;gap:var(--space-4)}.product-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.product-dimension-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4)}.product-preview{overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.product-preview--compact{display:flex;flex-direction:column}.product-preview--compact .product-preview__media{flex:1;aspect-ratio:auto;min-height:0;border-bottom:none}.product-preview--compact .product-preview__upload{padding:var(--space-3)}.product-preview--compact .product-preview__upload-icon{width:2.75rem;height:2.75rem}.product-preview--compact .product-preview__upload-icon svg{width:22px;height:22px}.product-preview--compact .product-preview__upload-title{font-size:.8125rem}.product-preview--compact .product-preview__upload-hint{display:none}.product-preview--no-media .product-preview__body{padding-top:var(--space-5)}.product-preview__media{position:relative;aspect-ratio:1;background:linear-gradient(180deg,var(--color-brand-soft) 0,#f8fafc 100%);border-bottom:1px solid var(--color-border)}.product-preview__file-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.product-preview__upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);width:100%;height:100%;padding:var(--space-5);font:inherit;color:var(--color-text-muted);background:transparent;border:2px dashed var(--color-brand-muted);border-radius:0;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.product-preview__upload:hover{color:var(--color-brand-dark);background:rgba(240,253,244,.6);border-color:var(--color-brand)}.product-preview__upload-icon{display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;color:var(--color-brand);background:var(--color-brand-muted);border-radius:999px}.product-preview__upload-title{font-size:.9375rem;font-weight:700;color:var(--color-text)}.product-preview__upload-hint{font-size:.75rem;color:var(--color-text-subtle);text-align:center}.product-preview__replace{position:absolute;right:var(--space-3);bottom:var(--space-3);padding:.45rem .75rem;font:inherit;font-size:.75rem;font-weight:600;color:#fff;background:rgba(15,23,42,.72);border:none;border-radius:var(--radius-sm);cursor:pointer;backdrop-filter:blur(4px);transition:background .15s ease}.product-preview__replace:hover{background:rgba(15,23,42,.88)}.product-preview__error{margin:0;padding:var(--space-3) var(--space-4);font-size:.8125rem;color:#991b1b;background:var(--color-danger-soft);border-top:1px solid #fecaca}.product-preview__image{width:100%;height:100%;object-fit:cover}.product-preview__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.875rem;font-weight:600;color:var(--color-text-subtle)}.product-preview__body{padding:var(--space-5)}.product-preview__name{margin:0;font-size:1.0625rem;font-weight:700;letter-spacing:-.02em;line-height:1.35}.product-preview__sku{margin:var(--space-2) 0 0;font-size:.8125rem;color:var(--color-text-muted)}.product-preview__prices{display:flex;flex-direction:column;gap:var(--space-2);margin:var(--space-4) 0 0}.product-preview__price-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:.625rem .75rem;background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.product-preview__price-row dt{font-size:.75rem;font-weight:600;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em}.product-preview__price-row dd{margin:0;font-size:.9375rem;font-weight:700;color:var(--color-text)}.product-preview__price-row--upsell dd{color:#dc2626}.product-extra-list{display:flex;flex-direction:column;gap:var(--space-3)}.product-extra-card{padding:var(--space-4);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);transition:border-color .15s ease,box-shadow .15s ease}.product-extra-card.is-enabled{background:var(--color-surface);border-color:var(--color-brand-muted);box-shadow:var(--shadow-sm)}.product-extra-card__head{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}.product-extra-card__title{flex:1;font-size:.875rem;font-weight:700;color:var(--color-text)}.product-extra-card__delete{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin-left:auto;padding:0;color:#dc2626;background:var(--color-danger-soft);border:1px solid #fecaca;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease,color .15s ease}.product-extra-card__delete:hover{color:#fff;background:#dc2626}.product-extra-empty{margin:0;padding:var(--space-5);font-size:.875rem;text-align:center;color:var(--color-text-muted);background:var(--color-background);border:1px dashed var(--color-border);border-radius:var(--radius-md)}.product-extra-card__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.product-extra-options{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px dashed var(--color-border)}.product-extra-options__label{font-size:.8125rem;font-weight:600;color:var(--color-text-muted)}.product-extra-options__list{display:flex;flex-direction:column;gap:var(--space-2)}.product-extra-option{display:flex;align-items:center;gap:var(--space-2)}.product-extra-option__remove{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:#dc2626;background:var(--color-danger-soft);border:1px solid #fecaca;border-radius:var(--radius-sm);cursor:pointer}.product-extra-option__remove:disabled{opacity:.4;cursor:not-allowed}.product-extra-options__add{align-self:flex-start}.product-edit-footer{display:flex;flex-direction:column;align-items:stretch;gap:var(--space-3);padding-top:var(--space-2)}.product-edit-save{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;padding:.875rem 1.25rem;margin-top:0}@media (max-width:1100px){.product-edit-layout{grid-template-columns:1fr}.product-edit-layout__aside{position:static}.product-edit-intro{grid-template-columns:1fr}.product-edit-intro .product-preview__media{aspect-ratio:16/9}.product-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.product-hero{padding:var(--space-5)}.product-hero__title{font-size:1.375rem}.product-dimension-grid,.product-extra-card__fields,.product-price-grid{grid-template-columns:1fr}}.product-toggle{position:relative;display:inline-flex;width:2.75rem;height:1.5rem;flex-shrink:0}.product-toggle input{position:absolute;opacity:0;width:0;height:0}.product-toggle__track{position:absolute;inset:0;background:#cbd5e1;border-radius:999px;transition:background .15s ease;cursor:pointer}.product-toggle input:checked+.product-toggle__track{background:var(--color-brand)}.product-toggle__track:after{content:"";position:absolute;top:2px;left:2px;width:1.25rem;height:1.25rem;background:#fff;border-radius:50%;transition:transform .15s ease}.product-toggle input:checked+.product-toggle__track:after{transform:translateX(1.25rem)}.product-toggle__label{font-size:.8125rem;font-weight:600;color:var(--color-text-muted);white-space:nowrap}@media (max-width:900px){.auth-page{padding:var(--space-4) var(--space-3)}.auth-card{padding:var(--space-6)}.landing-page__main{grid-template-columns:1fr;padding:var(--space-6) var(--space-4)}.landing-page__brand h1{font-size:1.75rem}.settings-layout{grid-template-columns:1fr}}.page-error{padding:var(--space-4);border-radius:var(--radius-sm);color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-5);padding:var(--space-8);min-height:240px}.loading-state--page{min-height:100vh;background:var(--color-background);background-image:radial-gradient(ellipse 60% 50% at 100% 0,rgba(22,163,74,.06),transparent 50%),radial-gradient(ellipse 40% 40% at 0 100%,rgba(22,163,74,.04),transparent 50%)}.loading-state__spinner{position:relative;width:3rem;height:3rem;border-radius:50%}.loading-state__spinner:before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 90deg,var(--color-brand) 0deg,var(--color-brand-dark) 120deg,var(--color-brand-muted) 280deg,transparent 1turn);animation:loading-spin .9s linear infinite}.loading-state__spinner:after{content:"";position:absolute;inset:4px;border-radius:50%}.loading-state--page .loading-state__spinner:after,.loading-state__spinner:after{background:var(--color-background)}.loading-state__label{margin:0;font-size:.9375rem;font-weight:500;color:var(--color-text-muted);letter-spacing:.01em}@keyframes loading-spin{to{transform:rotate(1turn)}}@media (max-width:1023px){.app-shell{position:relative;height:auto;max-height:none;overflow:visible}.app-shell__topbar{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--color-surface) 92%,transparent);backdrop-filter:blur(10px)}.app-shell__content,.app-shell__main{overflow:visible}.app-shell__mobile-toggle{display:inline-flex;flex-shrink:0}.app-shell__topbar{padding:var(--space-3) var(--space-4);gap:var(--space-3)}.app-shell__topbar-start{gap:var(--space-3)}.app-shell__sidebar{position:fixed;top:0;left:0;bottom:0;width:min(20rem,88vw);height:auto;border-right:1px solid var(--color-border);border-bottom:none;box-shadow:var(--shadow-lg);transform:translateX(-105%);transition:transform .22s ease;z-index:30}.app-shell__sidebar-toggle{display:none}.app-shell--mobile-nav-open .app-shell__mobile-overlay{display:block}.app-shell--mobile-nav-open .app-shell__sidebar{transform:translateX(0)}.app-shell--sidebar-collapsed .app-shell__sidebar{width:min(20rem,88vw)}.app-shell--sidebar-collapsed .app-shell__nav-label,.app-shell--sidebar-collapsed .app-shell__nav-text{display:block;opacity:1;max-width:none;max-height:none}.app-shell--sidebar-collapsed .app-shell__nav-list li{display:list-item}.app-shell--sidebar-collapsed .app-shell__nav-link{width:auto;height:auto;justify-content:space-between;padding:.625rem var(--space-3)}.app-shell--sidebar-collapsed .app-shell__nav-link-inner{gap:var(--space-3)}.app-shell--sidebar-collapsed .app-shell__nav-link[data-tooltip]:after{display:none}.app-shell--sidebar-collapsed .app-shell__nav-badge{position:static;width:auto;height:auto;padding:.125rem .5rem;font-size:.6875rem;color:inherit}.app-shell--sidebar-collapsed .app-shell__sidebar-brand{flex-direction:row;justify-content:space-between;padding-left:var(--space-5);padding-right:var(--space-5)}.dashboard-summary{flex-direction:column}.balance-hero{min-width:0}}.api-docs .api-docs__nav,.api-docs .api-docs__section.page-card{border:none;outline:none;box-shadow:0 1px 3px rgba(15,23,42,.06)}.api-docs .api-docs__section.page-card{padding:0}.api-docs__layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:var(--space-5);align-items:start}.api-docs__nav{position:sticky;top:var(--space-4);padding:var(--space-4);background:var(--color-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.api-docs__nav-title{margin:0 0 var(--space-3);font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted)}.api-docs__nav-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}.api-docs__nav-link{display:block;padding:.5rem .65rem;font-size:.875rem;color:var(--color-text-muted);text-decoration:none;border-radius:var(--radius-md);transition:background .15s ease,color .15s ease}.api-docs__nav-link:hover{color:var(--color-primary);background:color-mix(in srgb,var(--color-primary) 8%,transparent)}.api-docs__main{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}.api-docs__section{overflow:hidden}.api-docs__section-head{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-5) var(--space-5) var(--space-4);background:linear-gradient(180deg,color-mix(in srgb,var(--color-primary) 4%,var(--color-surface)) 0,var(--color-surface) 100%)}.api-docs__section-title{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em}.api-docs__section-body{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4) var(--space-5) var(--space-5)}.api-docs__section-body>*{margin:0}.api-docs__lead,.api-docs__text{font-size:.875rem;color:var(--color-text-muted)}.api-docs__text{line-height:1.55}.api-docs__inline-link{color:var(--color-primary);font-weight:500;text-decoration:none}.api-docs__inline-link:hover{text-decoration:underline}.api-docs__base-url{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--color-surface-muted,#f8fafc);border-radius:var(--radius-md)}.api-docs__copy-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;margin:0;padding:.45rem .85rem;font:inherit;font-size:.8125rem;font-weight:600;line-height:1.2;color:var(--color-primary);background:var(--color-surface);border:1px solid color-mix(in srgb,var(--color-primary) 40%,var(--color-border));border-radius:var(--radius-md);box-shadow:0 1px 2px rgba(15,23,42,.08);cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.api-docs__copy-btn:hover{color:var(--color-brand-deep,var(--color-primary));background:color-mix(in srgb,var(--color-primary) 10%,var(--color-surface));border-color:var(--color-primary)}.api-docs__copy-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-focus-ring)}.api-docs__base-url-text{flex:1;min-width:0;font-size:.875rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}.api-docs__facts{padding:var(--space-3) var(--space-4);list-style:none;display:flex;flex-direction:column;gap:var(--space-2);font-size:.8125rem;color:var(--color-text-muted);background:color-mix(in srgb,var(--color-border) 35%,transparent);border-radius:var(--radius-md)}.api-docs__facts li{display:flex;align-items:baseline;gap:var(--space-2)}.api-docs__facts li:before{content:"";flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--color-primary);opacity:.55}.api-docs__enums{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-4)}.api-docs__enum-block{padding:var(--space-4);border-radius:var(--radius-md);background:var(--color-surface-muted,#f8fafc)}.api-docs__enum-block--wide{margin-bottom:var(--space-4)}.api-docs__status-code{display:inline-block;padding:.15rem .45rem;font-size:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--color-primary);background:color-mix(in srgb,var(--color-primary) 12%,transparent);border-radius:var(--radius-sm)}.api-docs__enum-title{margin:0 0 var(--space-2);font-size:.8125rem;font-weight:600}.api-docs__enum-grid{display:flex;flex-direction:column;gap:var(--space-2)}.api-docs__enum-item{display:flex;align-items:center;gap:var(--space-3);padding:.4rem .5rem;border-radius:var(--radius-sm);background:var(--color-surface-muted,#f8fafc)}.api-docs__enum-id{display:inline-flex;min-width:1.75rem;justify-content:center;padding:.15rem .4rem;font-size:.75rem;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--color-primary);background:color-mix(in srgb,var(--color-primary) 12%,transparent);border-radius:var(--radius-sm)}.api-docs__enum-label{font-size:.875rem}.api-docs__enum-heading{margin:0 0 var(--space-2);font-size:.875rem;font-weight:600}.api-docs__enum-desc{margin:0 0 var(--space-3);font-size:.8125rem;line-height:1.5;color:var(--color-text-muted)}.api-docs__block-label,.api-docs__enum-note{font-size:.75rem;color:var(--color-text-muted)}.api-docs__block-label{font-weight:700;letter-spacing:.06em;text-transform:uppercase}.api-docs__notes{padding:var(--space-3) var(--space-4);list-style:none;font-size:.8125rem;color:var(--color-text-muted);background:color-mix(in srgb,#f59e0b 12%,var(--color-surface));border-radius:var(--radius-md)}.api-docs__notes li+li{margin-top:var(--space-2)}.api-docs__endpoint-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--color-surface-muted,#f8fafc);border-radius:var(--radius-md)}.api-docs__endpoint-bar .api-docs__copy-btn{margin-left:auto}.api-docs__method{display:inline-flex;align-items:center;min-width:3.25rem;justify-content:center;padding:.3rem .55rem;font-size:.6875rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:var(--radius-sm)}.api-docs__method--get{background:#22c55e;color:#052e16}.api-docs__method--post{background:#3b82f6;color:#eff6ff}.api-docs__method--put{background:#f97316;color:#fff7ed}.api-docs__path{flex:1;min-width:0;font-size:.8125rem;color:var(--color-text);word-break:break-all}.api-docs__badge{display:inline-flex;padding:.1rem .45rem;font-size:.6875rem;font-weight:600;color:var(--color-text-muted);background:var(--color-surface-muted,#f1f5f9);border-radius:999px}.api-docs__badge--required{color:#b45309;background:color-mix(in srgb,#f59e0b 18%,transparent)}.api-docs__field{font-size:.8125rem;font-weight:600;color:var(--color-text)}.api-docs__type{font-size:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--color-text-muted)}.api-docs__table-wrap{overflow-x:auto;border-radius:var(--radius-md);background:var(--color-surface-muted,#f8fafc)}.api-docs__table{width:100%;border-collapse:collapse;font-size:.8125rem}.api-docs__table td,.api-docs__table th{padding:.65rem var(--space-3);text-align:left;border-bottom:1px solid color-mix(in srgb,var(--color-border) 55%,transparent);vertical-align:top}.api-docs__table tbody tr:last-child td{border-bottom:none}.api-docs__table th{font-weight:600;font-size:.75rem;color:var(--color-text-muted);background:var(--color-surface-muted,rgba(0,0,0,.03))}.api-docs__code-wrap{border-radius:var(--radius-md);overflow:hidden;background:var(--color-surface-muted,#f8fafc)}.api-docs__code-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-3);font-size:.75rem;color:var(--color-text-muted);background:color-mix(in srgb,var(--color-border) 25%,var(--color-surface))}.api-docs__code-head .api-docs__copy-btn{background:var(--color-surface)}.api-docs__code-label{font-weight:600;letter-spacing:.04em;text-transform:uppercase}.api-docs__code{margin:0;padding:var(--space-4);overflow-x:auto;font-size:.8125rem;line-height:1.55;color:var(--color-text)}.api-docs__code code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre}@media (max-width:900px){.api-docs__layout{grid-template-columns:1fr}.api-docs__nav{position:static}.api-docs__nav-list{flex-direction:row;flex-wrap:wrap;gap:var(--space-2)}.api-docs__nav-link{padding:.35rem .6rem;font-size:.8125rem}.api-docs__section-body,.api-docs__section-head{padding:var(--space-4);gap:var(--space-3)}}.order-send{display:flex;flex-direction:column;gap:var(--space-3)}.order-send__recipient{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);background:var(--color-bg-subtle,#f8fafc);border:1px solid var(--color-border);border-radius:var(--radius-md)}.order-send__recipient-main{display:flex;flex-direction:column;gap:.25rem}.order-send__recipient-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.order-send__phone{font-size:.9375rem;color:var(--color-text-muted)}.order-send__tabs{display:flex;flex-wrap:wrap;gap:var(--space-2);border-bottom:1px solid var(--color-border);padding-bottom:var(--space-2)}.order-send__tab{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .875rem;font:inherit;font-size:.875rem;font-weight:600;color:var(--color-text-muted);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer}.order-send__tab:hover{color:var(--color-text);background:var(--color-bg-subtle,#f1f5f9)}.order-send__tab--active{color:var(--color-text);background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-border)}.order-send__tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .35rem;font-size:.6875rem;font-weight:700;color:#fff;background:#22c55e;border-radius:999px}.order-send__panel{display:flex;flex-direction:column;gap:var(--space-3)}.order-send__panel-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}.order-send__hint{margin:0}.order-send__subtitle{margin:0;font-size:.875rem;font-weight:700}.order-send__quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--space-3)}.order-send__quick-card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);padding:var(--space-4);text-align:left;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.order-send__quick-card:hover:not(:disabled){border-color:#22c55e;box-shadow:0 4px 14px rgba(34,197,94,.12)}.order-send__quick-card:disabled{opacity:.55;cursor:not-allowed}.order-send__quick-card-title{font-size:.9375rem;font-weight:700;color:var(--color-text)}.order-send__quick-card-preview{font-size:.8125rem;line-height:1.45;color:var(--color-text-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.order-send__quick-card-action{margin-top:auto;font-size:.8125rem;font-weight:700;color:#16a34a}.order-send__secondary{display:flex;flex-direction:column;gap:var(--space-3);padding-top:var(--space-2);border-top:1px dashed var(--color-border)}.order-send__template-list,.order-send__template-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--space-3)}.order-send__template-item,.order-send__template-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md)}.order-send__row-preview{margin:.25rem 0 0;font-size:.8125rem;color:var(--color-text-muted);line-height:1.45}.order-send__template-item-main{flex:1;min-width:12rem;display:flex;flex-direction:column;gap:.35rem}.order-send__template-meta{align-items:center}.order-send__template-item-actions,.order-send__template-meta{display:flex;flex-wrap:wrap;gap:var(--space-2)}.order-send__edit{width:100%;display:flex;flex-direction:column;gap:var(--space-3)}.order-send__edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-send__edit-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.order-send__form{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.order-send__form-title{margin:0;font-size:.9375rem;font-weight:700}.order-send__form .field{gap:.35rem;margin:0}.order-send__form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-top:var(--space-1)}.order-send__cascade-block{display:flex;flex-direction:column;gap:var(--space-2)}.order-send__cascade-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted)}.order-send__cascade{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-2);padding:var(--space-3);background:var(--color-bg-subtle,#f8fafc);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.order-send__cascade-field{flex:1;min-width:9rem;max-width:14rem}.order-send__cascade-arrow{flex-shrink:0;padding-bottom:.55rem;font-size:1.125rem;font-weight:700;color:var(--color-text-muted)}.order-send__cascade-hint{margin:0}.order-send__new{margin-top:0}.order-send__vars{margin-bottom:0}.order-send__checkbox{display:flex;align-items:center;gap:var(--space-2);font-size:.875rem;cursor:pointer}.order-send__message-field{display:flex;flex-direction:column;gap:0}.order-send__message-label{margin:0}.order-send__vars{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin-top:.35rem}.order-send__vars-label{font-size:.75rem;font-weight:600;color:var(--color-text-muted);flex-shrink:0}.order-send__vars-chips{display:flex;flex-wrap:wrap;gap:.25rem}.order-send__var-chip{padding:.15rem .45rem;font:inherit;font-size:.75rem;color:var(--color-text);background:var(--color-brand-soft,#ecfdf5);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;transition:border-color .12s ease,background .12s ease}.order-send__var-chip:hover{border-color:#22c55e;background:#dcfce7}.order-send__form-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}.order-send__form-row--top{grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,1.4fr);align-items:end}.order-send__form-row--top>.order-send__cascade-block{min-width:0}.order-send__cascade-block--compact{gap:0}.order-send__cascade--compact{padding:var(--space-2);margin:0}.order-send__cascade--compact .order-send__cascade-field{min-width:7.5rem;max-width:11rem}.order-send__cascade-block--inline{margin:0}.order-send__cascade--inline{padding:0;background:none;border:none;border-radius:0}.order-send__cascade--inline .order-send__cascade-field{min-width:0;max-width:none;flex:1 1 6.5rem}.order-send__panel--compose{gap:var(--space-2)}.order-send__compose-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);padding-top:var(--space-2);margin-top:var(--space-1);border-top:1px solid var(--color-border)}.order-send__inline-check{display:inline-flex;align-items:center;gap:.35rem;margin:0;font-size:.8125rem;font-weight:500;color:var(--color-text);white-space:nowrap;cursor:pointer}.order-send__inline-check input{margin:0;flex-shrink:0}.order-send__inline-input{width:auto;min-width:9rem;max-width:12rem;padding:.35rem .5rem;font-size:.8125rem}.order-send__compose-send{margin-left:auto}.order-send__intro{margin:0}.order-send__compose-fields{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}@media (max-width:640px){.order-send__compose-fields,.order-send__form-row,.order-send__form-row--top{grid-template-columns:1fr}.order-send__compose-send{margin-left:0;width:100%}.order-send__edit-grid{grid-template-columns:1fr}.order-send__template-item,.order-send__template-row{flex-direction:column}}.service-announcement-bell,.service-announcement-bell__trigger{position:relative}.service-announcement-bell__badge{position:absolute;top:-2px;right:-2px;min-width:1.125rem;height:1.125rem;padding:0 .25rem;font-size:.625rem;font-weight:700;line-height:1.125rem;text-align:center;color:#fff;background:var(--color-danger,#dc2626);border:2px solid var(--color-surface,#fff);border-radius:999px;pointer-events:none}.service-announcement-bell__panel{position:absolute;top:calc(100% + .5rem);right:0;z-index:40;display:flex;flex-direction:column;width:min(22rem,calc(100vw - 2rem));max-height:min(28rem,calc(100vh - 6rem));overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:0 10px 15px -3px rgba(15,23,42,.08),0 4px 6px -4px rgba(15,23,42,.06)}.service-announcement-bell__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border)}.service-announcement-bell__header-start{display:flex;align-items:center;gap:var(--space-2);min-width:0}.service-announcement-bell__title{margin:0;font-size:.9375rem;font-weight:600}.service-announcement-bell__mark-all{flex-shrink:0;padding:0;font-size:.75rem;font-weight:600;line-height:1.25;color:var(--color-brand);background:none;border:none;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.service-announcement-bell__mark-all:hover:not(:disabled){color:var(--color-brand-deep)}.service-announcement-bell__mark-all:disabled{opacity:.55;cursor:default}.service-announcement-bell__header-badge{font-size:.75rem;font-weight:600;color:var(--color-brand);background:var(--color-brand-soft);padding:.125rem .5rem;border-radius:999px}.service-announcement-bell__list{overflow-y:auto;padding:var(--space-2)}.service-announcement-bell__empty{margin:var(--space-4);text-align:center;font-size:.875rem;color:var(--color-text-muted)}.service-announcement-bell__item{padding:var(--space-3);border-radius:var(--radius-sm);border-left:3px solid transparent;transition:background .15s ease,border-color .15s ease}.service-announcement-bell__item+.service-announcement-bell__item{margin-top:var(--space-1)}.service-announcement-bell__item--unread{cursor:pointer;background:var(--color-brand-soft);border-left-color:var(--color-brand)}.service-announcement-bell__item--unread:hover{background:color-mix(in srgb,var(--color-brand-soft) 85%,var(--color-brand) 15%)}.service-announcement-bell__item--read{background:var(--color-surface)}.service-announcement-bell__item--read .service-announcement-bell__item-title{font-weight:500;color:var(--color-text-muted)}.service-announcement-bell__item--read .service-announcement-bell__item-body{color:var(--color-text-muted)}.service-announcement-bell__item-title-wrap{display:flex;align-items:center;gap:var(--space-2);min-width:0}.service-announcement-bell__item-dot{flex-shrink:0;width:.5rem;height:.5rem;border-radius:50%;background:var(--color-brand)}.service-announcement-bell__item-tag{flex-shrink:0;padding:.125rem .375rem;font-size:.625rem;font-weight:700;line-height:1.2;letter-spacing:.02em;text-transform:uppercase;color:var(--color-brand-deep);background:#fff;border-radius:999px}.service-announcement-bell__item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-1)}.service-announcement-bell__item-title{margin:0;font-size:.875rem;font-weight:600;line-height:1.35}.service-announcement-bell__item-date{flex-shrink:0;font-size:.6875rem;color:var(--color-text-muted)}.service-announcement-bell__item-preview{margin:0;font-size:.8125rem;line-height:1.45;color:var(--color-text-muted)}.service-announcement-bell__item-body{margin:var(--space-2) 0 0;font-size:.8125rem;line-height:1.5;white-space:pre-wrap}.service-announcement-bell__link{display:inline-flex;margin-top:var(--space-2);font-size:.8125rem;font-weight:600;color:var(--color-brand);text-decoration:none}.service-announcement-bell__link:hover{text-decoration:underline}.service-announcement-bell__order-link{font-weight:600;color:var(--color-brand);text-decoration:none}.service-announcement-bell__order-link:hover{text-decoration:underline}.service-announcements-admin .page-header__subtitle{margin-top:var(--space-2)}.service-announcements-admin__title-cell{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.service-announcements-admin__title{font-weight:500}.service-announcements-admin__actions{display:flex;gap:var(--space-1);justify-content:flex-end}.form-field--checkbox{display:flex;align-items:center;gap:var(--space-2);cursor:pointer}.form-field--checkbox input{width:1rem;height:1rem;flex-shrink:0}.service-announcement-form{display:flex;flex-direction:column;gap:var(--space-4)}.service-announcement-form__textarea{min-height:7.5rem;resize:vertical;line-height:1.5}.service-announcement-form__published .input{max-width:12rem}