/* BYSOINS — compact administration workspace */
:root {--sb-w:216px;--sb-w-sm:64px;--c-bg:#fff;--c-surface:#fff;--c-border:#e2e7e3;--c-border-sm:#edf0ed;--c-primary:#24513f;--c-primary-h:#183e2e;--c-accent:#24513f;--c-accent-h:#183e2e;--c-accent-lt:#eff5ef;--c-text:#24372c;--c-text-2:#43574a;--c-text-3:#718075;--c-text-4:#8b978e;--c-success:#28764c;--c-warning:#a7792a;--c-warn:#a7792a;--c-danger:#bd4545;--r:5px;--r-lg:6px;--shadow:none;--shadow-md:none;--modal-sm:460px;--modal-md:580px;--modal-lg:900px;--modal-xl:1160px;--modal-workspace:1600px}
body.admin-shell,body.admin-auth {font-family:'Segoe UI',system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;background:var(--c-bg);color:var(--c-text);-webkit-font-smoothing:antialiased}
.admin-shell * {scrollbar-width:thin;scrollbar-color:#ced7cf transparent}
.admin-shell [hidden] {display:none!important}
.admin-shell :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid #7f9d85;outline-offset:3px}
.admin-shell button:disabled {opacity:.5;cursor:not-allowed}
.ux-sr-only,.ux-native-select {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
.admin-skip-link {position:fixed;top:8px;left:230px;z-index:9999;padding:10px 16px;background:#fff;transform:translateY(-160%)}
.admin-skip-link:focus {transform:none}
/* Navigation */
.admin-shell #admin-sidebar {background:#183c31;border-right:1px solid #254a3d;padding:10px 12px;color:#deebe2;box-shadow:none}
.admin-shell .sb-head {padding:20px 10px 24px;min-height:96px;border:0;gap:8px}
.admin-shell .sb-brand {gap:11px;min-width:0}
.admin-shell .sb-brand-icon {background:#e0eedf;border-radius:12px;width:38px;height:38px;flex:none;box-shadow:inset 0 0 0 1px #ffffff30}
.admin-shell .sb-brand-icon img {width:27px;height:27px;object-fit:contain}
.admin-shell .sb-brand-title {font-size:19px;font-weight:700;letter-spacing:-.6px;white-space:nowrap;color:#fff}
.admin-shell .sb-brand-dot {color:#b8d5a4}
.admin-shell .sb-brand-sub {display:block;color:#aec5b5;font-size:10px;letter-spacing:1.8px;text-transform:uppercase;margin-top:1px}
.admin-shell .sb-toggle {background:#ffffff09;border:1px solid #ffffff15;color:#b8cfc0;width:24px;height:28px;flex:none;border-radius:7px}
.admin-shell .sb-toggle:hover {background:#ffffff18;color:#fff}
.admin-shell .sb-nav {padding:8px 0;gap:5px}
.admin-shell .sb-section-label {font-size:10px;letter-spacing:1.7px;font-weight:600;color:#91ad9d;margin:26px 14px 10px;padding:0}
.admin-shell .sb-item {padding:12px 14px;border-radius:11px;min-height:46px;color:#cadcd0;font-size:13px;font-weight:500;gap:13px;border:1px solid transparent}
.admin-shell .sb-item:hover {background:#ffffff0a;color:#fff}
.admin-shell .sb-item.is-active {background:#dfebd8;border-color:#dfebd8;color:#183c31;box-shadow:0 3px 10px #091d191c}
.admin-shell .sb-item .sb-icon {width:19px;height:19px;stroke-width:1.7;color:#a8c2b1;opacity:1}
.admin-shell .sb-item:hover .sb-icon {color:#e3ede5}
.admin-shell .sb-item.is-active .sb-icon {color:#28513d}
.admin-shell .sb-item .sb-badge {font-size:10px;min-width:21px;height:21px;border-radius:7px;background:#ffffff18;color:#deebe2;line-height:21px}
.admin-shell .sb-item.is-active .sb-badge {background:#bfd3b5;color:#264a35}
.admin-shell .sb-foot {padding:18px 8px 10px;border-top:1px solid #ffffff16;gap:12px}
.sb-account {display:flex;gap:10px;align-items:center;margin-bottom:14px;min-width:0}
.admin-avatar {width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:11px;background:#335648;color:#e2eddf;font-weight:600;font-size:14px}
.sb-account-text {display:flex;flex-direction:column;min-width:0}
.sb-account-text strong {font-size:12px;color:#f0f5ed;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-account-text span {font-size:11px;color:#a6bfaf}
.admin-shell .sb-stripe-badge {background:#ffffff05;border:1px solid #ffffff12;border-radius:8px;padding:9px 10px;gap:8px;color:#a9c1b2;margin-bottom:8px}
.admin-shell .sb-stripe-badge .badge-val {margin-left:auto;font-size:9px;border-radius:4px;letter-spacing:.7px}
.admin-shell .sb-logout {font-size:12px;border-radius:8px;color:#acc3b4;padding:9px 10px;gap:10px}
.admin-shell .sb-logout:hover {background:#ffffff0a;color:#fff}
.admin-shell #admin-sidebar.is-collapsed {padding-left:10px;padding-right:10px}
.admin-shell #admin-sidebar.is-collapsed .sb-head {padding:20px 0;justify-content:center;position:relative}
.admin-shell #admin-sidebar.is-collapsed .sb-toggle {position:absolute;right:-21px;top:38px;background:#315646;z-index:2}
.admin-shell #admin-sidebar.is-collapsed :is(.sb-account-text,.sb-stripe-label,.sb-stripe-badge,.sb-section-label) {display:none}
.admin-shell #admin-sidebar.is-collapsed .sb-account {justify-content:center}
.admin-shell #admin-sidebar.is-collapsed .sb-item {padding:13px;justify-content:center}
.admin-shell #admin-sidebar.is-collapsed .sb-item .sb-badge {position:absolute;top:1px;right:2px;min-width:16px;height:16px;line-height:16px;font-size:9px}

/* Quiet navigation, no oversized decoration. */
.admin-shell #admin-sidebar {padding:0 8px;background:#1e3e32}
.admin-shell .sb-head {min-height:76px;padding:16px 10px;height:76px}
.admin-shell .sb-brand-title {font-size:17px;letter-spacing:-.4px}
.admin-shell .sb-brand-sub {font-size:9px;letter-spacing:1.3px}
.admin-shell .sb-brand-icon {width:30px;height:30px;border-radius:6px}
.admin-shell .sb-brand-icon img {width:23px;height:23px}
.admin-shell .sb-item {min-height:40px;padding:10px 12px;border-radius:5px;font-size:12px;gap:10px}
.admin-shell .sb-nav {gap:3px;padding-top:12px}
.admin-shell .sb-section-label {margin:20px 12px 9px;font-size:9px}
.admin-shell .sb-foot {padding:14px 8px 8px;gap:4px}
.sb-account {margin-bottom:9px}
.admin-avatar {border-radius:5px;width:30px;height:30px}
.admin-shell .sb-stripe-badge {padding:7px 9px;border-radius:4px;margin-bottom:6px}
.admin-shell #admin-sidebar.is-collapsed .sb-brand {display:flex}
.admin-shell #admin-sidebar.is-collapsed .sb-head {overflow:visible;padding:16px 0}
.admin-shell #admin-sidebar.is-collapsed .sb-toggle {right:-7px;top:56px;width:18px;height:18px}
.admin-shell #admin-sidebar.is-collapsed .sb-logout {justify-content:center;padding:9px 0}
/* Page structure */
.admin-shell #admin-topbar {display:flex;position:sticky;top:0;height:54px;min-height:54px;z-index:30;padding:0 28px;background:#fff;border-bottom:1px solid var(--c-border);gap:16px}
.topbar-location,.topbar-actions {display:flex;align-items:center;gap:12px;min-width:0}
.topbar-parent {font-size:11px;color:#657663}.topbar-separator {width:12px;height:12px;color:#657663}
.admin-shell .topbar-title {font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-shell .topbar-toggle {display:none}
.admin-command-trigger {display:flex;align-items:center;gap:8px;font-size:11px;color:#657663;background:#fafbfa;border:1px solid #e7ebe7;border-radius:4px;padding:6px 9px}
.admin-command-trigger svg {width:14px;height:14px}.admin-command-trigger kbd {font:10px inherit;color:#657663;margin-left:16px}
.admin-site-link {display:flex;gap:6px;align-items:center;color:#657663;font-size:11px}.admin-site-link svg {width:14px;height:14px}
.admin-shell #admin-content {flex:1;padding:25px 28px 40px;width:100%;max-width:1900px;margin:auto;min-width:0;outline:none}
.admin-shell .admin-page {gap:18px}
.admin-shell .admin-page-head {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;margin-bottom:0;min-height:65px}
.admin-shell .admin-page-eyebrow {font-size:9px;font-weight:600;letter-spacing:1.3px;color:#657663;margin-bottom:4px}
.admin-shell .admin-page-title {font-size:25px;font-weight:600;letter-spacing:-.8px;line-height:1.25}
.admin-shell .admin-page-desc {font-size:12px;line-height:1.6;color:#657663;margin-top:6px;max-width:750px}
.admin-shell .admin-panel {border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0;overflow:visible}
.admin-shell .admin-panel:is(.p-4,.p-5) {padding:0}
.admin-shell .admin-section-head {padding:14px 0;margin:0;border-bottom:1px solid var(--c-border);min-height:48px;gap:12px;align-items:center}
.admin-shell .admin-section-title {font-size:14px;font-weight:600;letter-spacing:-.2px;color:#354e3e}
.admin-shell .admin-section-meta,.admin-shell .dashboard-section-note {font-size:11px;color:#657663;line-height:1.5}
.admin-shell .admin-panel>.p-5 {padding:16px 0}
.admin-shell .admin-page>.grid>* {min-width:0}
.ux-metrics {display:flex;border-top:1px solid var(--c-border);border-bottom:1px solid var(--c-border);padding:15px 0;gap:0;min-height:89px;background:#fff}
.ux-metric {flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:0 20px;border-right:1px solid var(--c-border)}
.ux-metric:first-child {padding-left:0}.ux-metric:last-child {border:0}
.ux-metric-label {font-size:11px;color:#657663;font-weight:400;line-height:1.4}
.ux-metric-value {font-size:24px;font-weight:600;letter-spacing:-.7px;line-height:1.2;font-variant-numeric:tabular-nums}
.ux-metric-sub {font-size:10px;line-height:1.5;color:#657663}
.ux-metric .admin-stat-icon {display:none}
/* One toolbar, search always available. */
.ux-list-view {min-width:0}
.ux-list-toolbar {display:flex;flex-direction:column;gap:14px;padding:0 0 0;border-bottom:1px solid var(--c-border)}
.ux-toolbar-line {display:flex;align-items:center;gap:14px;min-width:0}
.ux-toolbar-line--bottom {justify-content:space-between;padding-top:1px}
.ux-search {display:flex;align-items:center;gap:9px;flex:1;max-width:540px;min-width:150px;border:1px solid #dbe3db;border-radius:5px;padding:0 10px;background:#fff;height:39px}
.ux-search:focus-within {border-color:#8ba790;box-shadow:0 0 0 2px #eff4ee}
.ux-search>svg {width:16px;height:16px;flex:none;color:#657663}
.admin-shell .ux-search input.admin-input {height:36px;min-height:36px;flex:1;width:100%;border:0;border-radius:0;box-shadow:none!important;background:transparent;padding:7px 0;font-size:12px;min-width:0;outline:none}
.ux-search>button {display:grid;place-items:center;width:24px;height:26px;color:#657663;background:transparent;border:0;border-radius:3px;flex:none}
.ux-search>button:hover {background:#eef4eb;color:#42653b}.ux-search>button svg {width:14px;height:14px}
.ux-access-filter {display:flex;align-items:center;gap:9px;margin-left:auto;font-size:11px;color:#657663}
.ux-reset {display:grid;place-items:center;width:32px;height:32px;color:#657663;flex:none}.ux-reset svg {width:15px;height:15px}
.ux-list-count {font-size:11px;color:#657663;white-space:nowrap;margin-left:auto}
.ux-segmented {display:flex;align-items:center;gap:3px;flex-wrap:wrap;min-width:0}
.ux-choice {padding:7px 10px;min-height:32px;border:1px solid transparent;border-radius:4px;font-size:11px;font-weight:500;line-height:1.3;color:#657663;white-space:normal;background:transparent;transition:background .12s}
.ux-choice:hover {background:#f3f6f0;color:#3f6237}
.ux-choice[aria-pressed=true] {background:#edf3e7;border-color:#e2ead8;color:#3b6031}
.ux-toolbar-line--bottom>.ux-select-control .ux-choice {border-radius:0;padding:9px 12px 12px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:12px}
.ux-toolbar-line--bottom>.ux-select-control .ux-choice[aria-pressed=true] {border-bottom-color:#3d6d37;color:#345e2e}
.ux-select-control {position:relative;min-width:0}
.ux-choice-label {display:none}
.ux-date-filter {display:flex;gap:10px;align-items:center;margin-left:auto}
.ux-date-filter label {display:flex;align-items:center;gap:7px;font-size:11px;color:#657663}
.admin-shell .ux-date-filter .admin-input {width:143px;min-height:36px;padding:7px 9px;font-size:11px}
.ux-leads-toolbar {padding-bottom:14px}
/* Dense data lists, no cards per record. */
.admin-shell .admin-table {width:100%;border-spacing:0;border-collapse:collapse;font-size:12px}
.admin-shell .admin-table thead th {background:#fafbf8;font-size:10px;letter-spacing:.15px;text-transform:none;font-weight:500;color:#657663;padding:11px 12px;border-bottom:1px solid #e5ebdf;white-space:nowrap;text-align:left}
.admin-shell .admin-table tbody td {font-size:12px;line-height:1.5;padding:13px 12px;border-bottom:1px solid #edf0e9;vertical-align:middle;color:#5e7353}
.admin-shell .admin-table tbody tr:hover {background:#fafcf7;box-shadow:none}
.admin-shell :is(.admin-table-wrap,.platform-table-wrap,.leads-table-wrap) {border:0;border-radius:0;box-shadow:none;overflow:auto;width:100%;max-width:100%;max-height:none}
.admin-shell .platform-table {min-width:960px;table-layout:auto}
.admin-shell .platform-table th:first-child,.admin-shell .platform-table td:first-child {padding-left:0}
.admin-shell .platform-table th:last-child,.admin-shell .platform-table td:last-child {padding-right:0;text-align:right}
.admin-shell .platform-table td {height:68px}
.ux-client-name {display:block;font-size:13px;font-weight:600;color:#375a30;text-align:left;background:none;border:0;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ux-client-name:hover {text-decoration:underline;text-underline-offset:3px}
.ux-cell-sub {display:block;font-size:10px;font-weight:400;line-height:1.6;color:#657663;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0}
.ux-row-price {font-size:13px;font-weight:600;color:#4a6a3b;white-space:nowrap}
.ux-plan-name {font-size:12px;color:#657d53}
.ux-access-dot {font-size:11px;color:#657663;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.ux-access-dot::before {content:'';width:5px;height:5px;background:#cfb482;border-radius:50%}
.ux-access-dot.is-on {color:#657663}.ux-access-dot.is-on::before {background:#80a468}
.ux-row-actions {display:flex;align-items:center;gap:6px;justify-content:flex-end;white-space:nowrap}
.ux-row-actions svg {width:13px;height:13px}
.admin-shell .platform-action-menu>summary {width:30px;height:30px;min-height:30px;min-width:30px;display:grid;place-items:center;border:0;border-radius:4px;color:#657663;background:transparent;list-style:none}
.admin-shell .platform-action-menu>summary:hover {background:#eff4e7}
.admin-shell .platform-action-menu-panel {min-width:220px;max-width:calc(100vw - 32px);border:1px solid #dfe7d6;border-radius:6px;background:#fff;padding:5px;box-shadow:0 10px 36px #26441f1c;z-index:70}
.admin-shell .platform-action-item {font-size:12px;padding:10px;border-radius:3px;color:#5b7945;line-height:1.4}
.admin-shell .platform-action-item:hover {background:#f2f6ec}
.admin-shell .platform-action-item--danger {color:#bc5948}
.ux-technical-history {border-top:1px solid var(--c-border);margin-top:8px}
.ux-technical-history>summary {display:flex;align-items:center;gap:9px;font-size:11px;color:#657663;padding:13px 0;cursor:pointer;list-style:none}
.ux-technical-history>summary svg {width:14px;height:14px}.ux-technical-history>summary span {margin-left:auto;font-size:10px;color:#657663}
.ux-empty {padding:34px 20px;text-align:center;color:#657663;font-size:12px}
/* Controls */
.admin-shell :is(.admin-btn,.admin-btn-sm,.admin-btn-xs,.admin-top-action) {font-size:12px;font-weight:500;line-height:1.4;border-radius:4px;box-shadow:none;min-height:35px;padding:8px 12px;gap:7px;letter-spacing:0;white-space:normal}
.admin-shell :is(.admin-btn-sm,.admin-btn-xs) {min-height:30px;padding:6px 9px;font-size:11px}
.admin-shell :is(.admin-btn-primary,.admin-btn-accent,.admin-top-action--primary) {background:#315d39;border-color:#315d39;color:#fff}
.admin-shell :is(.admin-btn-primary,.admin-btn-accent,.admin-top-action--primary):hover {background:#244d2b;border-color:#244d2b}
.admin-shell .admin-btn-secondary,.admin-shell .admin-top-action {border-color:#dce5d2;background:#fff;color:#657663}
.admin-shell .admin-top-action--primary {background:#315d39;color:#fff}
.admin-shell .admin-btn-secondary:hover {background:#f7faf1;border-color:#b9ce9f}
.admin-shell .admin-btn-danger {background:#fff8f3;color:#b45f43;border-color:#efd9c8}
.admin-shell :is(.admin-btn,.admin-btn-sm,.admin-btn-xs).hidden {display:none}
.admin-shell .admin-label {font-size:12px;font-weight:500;color:#617d4a;margin-bottom:7px}
.admin-shell :is(.admin-input,.admin-select,.admin-textarea,.admin-search-input) {border:1px solid #dbe5cf;border-radius:4px;background:#fff;color:#4c7036;padding:9px 11px;font-size:12px;min-height:38px;line-height:1.5;box-shadow:none}
.admin-shell :is(.admin-input,.admin-select,.admin-textarea):focus {border-color:#8aaa70;outline:none;box-shadow:0 0 0 2px #f1f6e9}
.admin-shell input::placeholder,.admin-shell textarea::placeholder {color:#657663}
.admin-shell .admin-hint {font-size:10px;color:#657663;line-height:1.6}
.admin-shell .admin-form-grid {gap:18px}
.admin-shell .admin-chip {font-size:10px;font-weight:500;padding:3px 7px;line-height:1.4;border-radius:3px;white-space:normal;letter-spacing:0}
.admin-shell :is(.admin-chip--indigo,.admin-chip--violet) {background:#eff3e4;color:#657663;border-color:#e3ebd3}
.admin-shell .admin-chip--emerald {background:#eef6e9;color:#657663;border-color:#e0ecd6}
.admin-shell .admin-chip--slate {background:#f4f6ef;color:#657663;border-color:#e6ecdc}
.admin-shell .admin-notice {padding:10px 13px;font-size:11px;border-radius:4px;line-height:1.6}
.admin-shell .admin-filter-panel {background:none;border:0;box-shadow:none;padding:10px 0 14px;border-radius:0}
.admin-shell .admin-filter-toggle {padding:10px 0;font-size:11px}
.admin-shell .admin-filter-body:not(.is-collapsed) {max-height:none!important}
/* Native fields stay in the forms; visible switches keep their original events. */
.admin-shell input.ux-toggle {appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:32px!important;height:18px!important;min-width:32px;min-height:18px;max-height:18px;padding:0!important;border:0!important;border-radius:20px!important;background:#d9e1ce!important;box-shadow:none!important;cursor:pointer;flex:none;opacity:1!important;transition:background .15s}
.admin-shell input.ux-toggle::before {content:'';display:block;position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #30462420;transition:transform .15s}
.admin-shell input.ux-toggle:checked {background:#73974f!important}
.admin-shell input.ux-toggle:checked::before {transform:translateX(14px)}
.admin-shell .ux-switch-label {gap:12px;align-items:center}
.ux-switch-button,.ux-switch-track {display:inline-flex;align-items:center;width:34px;height:20px;background:#d8e1cb;border:0;border-radius:12px;padding:3px;flex:none;transition:background .15s}
.ux-switch-button>span,.ux-switch-track>span {display:block;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #31482520}
.ux-switch-button[aria-checked=true],.ux-inline-switch[aria-checked=true] .ux-switch-track {background:#789c54}
.ux-switch-button[aria-checked=true]>span,.ux-inline-switch[aria-checked=true] .ux-switch-track>span {transform:translateX(14px)}
.ux-inline-switch {display:inline-flex;align-items:center;gap:9px;font-size:11px;color:#657663;white-space:nowrap}
.ux-number-control {display:flex;align-items:center;gap:0;flex-wrap:wrap}
.ux-number-control>button {width:29px;height:36px;border:1px solid #e0e8d3;background:#fafcf5;color:#657663;font-size:16px;flex:none}
.admin-shell .ux-number-control>input {border-radius:0;max-width:110px;min-width:40px;width:90px;min-height:36px;text-align:center;border-left:0;border-right:0;padding:7px 3px}
.ux-number-control>button:first-child {border-radius:4px 0 0 4px}.ux-number-control>button:nth-of-type(2) {border-radius:0 4px 4px 0}
.ux-unlimited-choice {display:flex;align-items:center;gap:7px;font-size:10px;color:#657663;margin-left:12px;cursor:pointer;white-space:nowrap}
.ux-unlimited-value {width:90px;padding:8px 5px;text-align:center;font-size:11px;border-top:1px solid #dbe5cf;border-bottom:1px solid #dbe5cf;height:36px;color:#657663}
/* Shared dialogs */
.admin-shell #admin-modal-overlay {background:#203b2659;backdrop-filter:blur(3px);padding:16px;z-index:1000}
.admin-shell #admin-modal-box {border-radius:8px;box-shadow:0 22px 90px #1d362d40;border:1px solid #dce6d6;max-height:calc(100dvh - 32px);background:#fff}
.admin-shell #admin-modal-box.is-workspace {width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:none}
.admin-shell .admin-modal-header {padding:15px 22px;min-height:59px;border-bottom:1px solid #e3ebd9;flex:none}
.admin-shell .admin-modal-title {font-size:17px;font-weight:600;letter-spacing:-.4px;color:#456d30;white-space:normal;line-height:1.35}
.admin-shell .admin-modal-close {width:30px;height:30px;border-radius:4px;border:0;background:transparent;color:#657663;flex:none}
.admin-shell .admin-modal-close:hover {background:#f1f6e8;color:#657663}
.admin-shell .admin-modal-body {padding:22px;min-height:0;font-size:12px;line-height:1.7;color:#657663;overscroll-behavior:contain}
.admin-shell .admin-modal-body--flush {padding:0}
.admin-shell .is-workspace .admin-modal-body {flex:1;overflow:hidden}
.admin-shell .admin-modal-footer {padding:13px 22px;border-top:1px solid #e3ebd9;border-radius:0;background:#fbfdf7;flex:none;gap:8px}
.admin-shell #admin-modal-footer:empty {display:none}
.admin-shell .admin-toast {border-radius:5px;box-shadow:0 6px 30px #314b2414;padding:13px 15px;border-color:#e1ebd5}
.admin-shell .admin-toast-message {font-size:12px}
/* Client file: identity, navigation, one work area. */
.client-workspace {display:flex;flex-direction:column;height:100%;background:#fff;min-height:0}
.client-summary {padding:18px 26px 16px;border-bottom:1px solid #e3ebd9;flex:none}
.client-identity {display:flex;align-items:center;gap:12px;min-width:0}
.client-avatar {width:36px;height:36px;background:#edf4e4;color:#657663;border-radius:5px;display:grid;place-items:center;font-weight:600;font-size:17px;flex:none}
.client-identity h3 {font-size:18px;font-weight:600;letter-spacing:-.4px;color:#466b34;line-height:1.3}
.client-identity p {font-size:11px;color:#657663;line-height:1.6}.client-identity p span {margin:0 5px;color:#657663}
.client-identity>.admin-chip {margin-left:auto}
.client-key-facts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:16px 0 0 48px}
.client-key-facts dt {font-size:10px;color:#657663;margin-bottom:3px}
.client-key-facts dd {font-size:13px;font-weight:500;color:#657663;line-height:1.5}
.client-key-facts small {font-size:10px;color:#657663;font-weight:400}
.client-layout {display:grid;grid-template-columns:190px minmax(0,1fr);min-height:0;flex:1}
.client-navigation {padding:17px 11px;background:#fafcf6;border-right:1px solid #e3ebd9;display:flex;flex-direction:column;gap:4px;overflow:auto}
.client-navigation button {display:flex;align-items:center;gap:10px;min-height:39px;padding:10px 13px;border-radius:4px;text-align:left;font-size:12px;color:#657663;font-weight:400}
.client-navigation button svg {width:16px;height:16px;stroke-width:1.6}
.client-navigation button.is-active {background:#edf4e3;color:#657663;font-weight:600}
.client-navigation button:hover {background:#f0f6e8}
.client-public-link {display:flex;gap:9px;align-items:center;color:#657663;font-size:10px;padding:15px 13px;margin-top:auto}.client-public-link svg {width:13px;height:13px}
.client-content {padding:23px 30px 35px;overflow:auto;min-width:0;overscroll-behavior:contain}
.client-tab {max-width:1260px;margin:auto}
.client-tab-title {font-size:20px;font-weight:600;letter-spacing:-.5px;color:#5b803d;margin:0 0 21px}
.ux-access-form {display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e9d5;padding:0 0 18px;margin-bottom:23px;gap:20px}
.ux-access-form strong {font-size:13px;font-weight:500;color:#657663}.ux-access-form p {font-size:11px;color:#657663;margin-top:3px}
.admin-shell .client-tab :is(.tenant-support-section,.tenant-support-panel,.tenant-support-card,.tenant-diagnostics-card,.tenant-support-action-card,.tenant-support-fold) {border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:0 0 24px}
.admin-shell .client-tab .tenant-support-card-grid,.admin-shell .client-tab .tenant-diagnostics-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 36px}
.admin-shell .client-tab .tenant-support-card-grid>*,.admin-shell .client-tab .tenant-diagnostics-grid>* {min-width:0}
.admin-shell .client-tab .tenant-support-card h5 {font-size:13px;font-weight:600;color:#657663;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #e4ecd8}
.admin-shell .client-tab .tenant-support-section-head {padding:0;margin:0 0 18px}
.admin-shell .client-tab>.tenant-support-section>.tenant-support-section-head {display:none}
.admin-shell .client-tab .tenant-support-section-title {font-size:14px;font-weight:600;color:#657663}
.admin-shell .client-tab .tenant-support-kv-row {font-size:12px;padding:10px 0;gap:20px;border-color:#eef3e6;align-items:start}
.admin-shell .client-tab .tenant-support-kv-row strong {font-size:12px;font-weight:500;color:#657663;overflow-wrap:anywhere;max-width:65%}
.admin-shell .client-tab .tenant-support-kv-row>span {color:#657663}
.admin-shell .client-tab .tenant-support-fold-summary {padding:13px 0;border-bottom:1px solid #e5edd9;font-size:12px;font-weight:500;color:#657663}
.admin-shell .client-tab .tenant-support-fold-body {padding:17px 0}
.admin-shell .client-tab .tenant-support-quick-action {padding:10px 12px;border:1px solid #e2ebd7;border-radius:4px;background:#fff;color:#657663;box-shadow:none;font-size:11px;transform:none}
.admin-shell .client-tab .tenant-support-action-stack {gap:14px}
.admin-shell .client-tab .tenant-support-action-card--danger {border-top:1px solid #ecd9c5;padding-top:15px}
.admin-shell .client-tab .tenant-support-action-note {font-size:11px;color:#657663;line-height:1.7;margin-top:6px}
.admin-shell .client-tab .tenant-support-inline-note {background:#f7fbef;border:0;border-left:2px solid #d9e8c4;border-radius:0;font-size:11px;color:#657663;padding:11px 14px}
.admin-shell .client-tab .tenant-override-row {border:0;border-bottom:1px solid #e8efdc;border-radius:0;padding:14px 0;background:#fff}
.admin-shell .client-tab .tenant-override-label {font-size:12px;font-weight:600;color:#657663}
.admin-shell .client-tab .tenant-override-help {font-size:10px;color:#657663}
.admin-shell .client-tab .tenant-overrides-grid {gap:0}
.admin-shell .client-tab .tenant-override-actions {gap:5px}
.admin-shell .client-tab .tenant-override-action {border-radius:3px;padding:6px 8px;background:#f5f9ed;border-color:#e5edd8;color:#657663;font-size:10px}
/* Offers: rows and shared dialog header. */
.ux-offer-row {display:grid;grid-template-columns:minmax(200px,1fr) 180px 150px 145px;gap:18px;align-items:center;padding:17px 0;border-bottom:1px solid #e8efdd;min-width:0}
.ux-offer-row>div {min-width:0}.ux-offer-price strong {font-size:17px;font-weight:600;color:#657663;letter-spacing:-.4px}.ux-offer-price small {font-size:10px;color:#657663}
.admin-shell #offers-active-list,.admin-shell #offers-inactive-list {padding:0;margin:0;display:block}
.admin-shell #offers-active-list>*+*,.admin-shell #offers-inactive-list>*+* {margin-top:0}
.admin-shell #offers-inactive-section {border:0;border-top:1px solid #e5edd7;border-radius:0;background:transparent;padding:14px 0}
.admin-shell .offer-tabs-nav {display:flex;gap:2px;border:0;border-bottom:1px solid #e5edd7;border-radius:0;background:transparent;padding:0;overflow:auto;flex-wrap:nowrap}
.admin-shell .offer-tab-btn {flex:1;justify-content:center;white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:13px 16px;font-size:12px;color:#657663;font-weight:400}
.admin-shell .offer-tab-btn.active {border-bottom-color:#8eae6b;color:#657663;background:none;box-shadow:none;font-weight:600}
.admin-shell .offer-tab-btn svg {width:14px;height:14px}
.admin-shell .offers-editor-shell {height:100%;display:flex;flex-direction:column}
.admin-shell #offers-editor-form {max-height:calc(100dvh - 120px);min-height:0}
.admin-shell #offers-editor-form>div:nth-last-child(2) {padding:22px 25px}
.admin-shell #offers-editor-form>div:last-child {padding:13px 22px;border-top:1px solid #e5edd8;background:#fcfef8;flex:none}
.ux-editor-note {font-size:10px;color:#657663}
.admin-shell #offers-editor-form .rounded-xl {border:0;border-radius:0;padding:16px 0;background:none}
.admin-shell #offers-editor-form .feature-toggle-row {border:0;border-bottom:1px solid #eaf0df;border-radius:0;background:#fff;padding:13px 3px;box-shadow:none}
.admin-shell #offers-editor-form .feature-toggle-row.feat-on {background:#fff;border-color:#e3edd5}
.admin-shell #offers-editor-form .feature-toggle-icon {background:none;color:#657663;width:23px;height:23px}
.admin-shell #offers-editor-form .feature-toggle-switch {width:32px;height:18px;background:#e1ebd3}
.admin-shell #offers-editor-form .feature-toggle-switch::after {width:12px;height:12px;top:3px;left:3px}
.admin-shell #offers-editor-form .feat-on .feature-toggle-switch {background:#94b572}
.admin-shell #offers-editor-form .feat-on .feature-toggle-switch::after {transform:translateX(14px)}
.admin-shell #offers-editor-form .feature-toggle-label {font-size:12px;font-weight:400;color:#657663}
.admin-shell #offers-editor-form .feat-on .feature-toggle-label {color:#657663}
.admin-shell #offers-editor-form label.border {border:0;border-bottom:1px solid #eaf1dd;border-radius:0;padding:11px 0;background:transparent}
/* Parameters and dashboard use one visible section at a time. */
.ux-settings-layout {display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;border-top:1px solid #e3ecd7;padding-top:19px;align-items:start}
.ux-section-navigation {display:flex;flex-direction:column;gap:3px;position:sticky;top:75px}
.ux-section-navigation button {font-size:12px;text-align:left;padding:10px 12px;border-radius:4px;color:#657663;line-height:1.4}
.ux-section-navigation button.is-active {background:#f1f7e8;color:#657663;font-weight:600}
.ux-settings-content {min-width:0;max-width:1040px}
.admin-shell .ux-settings-content>.admin-panel>.admin-section-head {padding:0 0 17px;border:0}
.admin-shell .ux-settings-content .p-5 {padding:0}
.admin-shell .ux-settings-content .rounded-xl {border:0;border-radius:0;background:transparent;padding:16px 0}
.admin-shell .ux-settings-content form>div:not(.admin-field) .admin-section-title {border-bottom:1px solid #e9f0de;padding-bottom:12px}
.admin-shell .ux-settings-content .admin-section-title {font-size:19px;letter-spacing:-.4px;color:#657663}
.admin-shell .ux-settings-content :is(.bg-slate-50,.bg-slate-50\/70) {background:transparent}
.ux-page-tabs {display:flex;gap:20px;border-bottom:1px solid #e5edd8;align-items:center}
.ux-page-tabs button {font-size:12px;padding:10px 0;border-bottom:2px solid transparent;color:#657663}
.ux-page-tabs button.is-active {border-bottom-color:#9bb87d;color:#657663;font-weight:600}
.ux-dashboard-section {min-width:0}
.admin-shell .dashboard-signal-card,.admin-shell .dashboard-mini-stat {border:0;border-radius:0;background:none;padding:12px 0;box-shadow:none}
.admin-shell .dashboard-signal-label,.admin-shell .dashboard-mini-stat-label {font-size:10px;color:#657663;font-weight:400;letter-spacing:0;text-transform:none}
.admin-shell .dashboard-signal-value,.admin-shell .dashboard-mini-stat-value {font-size:21px;font-weight:600;color:#657663;letter-spacing:-.5px}
.admin-shell .dashboard-signal-sub {font-size:10px;color:#657663}
.admin-shell .dashboard-mini-stat {border-bottom:1px solid #edf3e4}
.admin-shell #dashboard-plan-distribution .rounded-xl {border:0;border-radius:0;background:transparent;padding:13px 0;border-bottom:1px solid #eaf1de}
.admin-shell #dashboard-plan-distribution .bg-slate-800 {background:#adc891}
.admin-shell .team-layout {display:flex;flex-direction:column;gap:22px}
.admin-shell .team-layout>* {width:100%;min-width:0}
.admin-shell .team-account-panel>.admin-section-head {display:none}
.admin-shell .team-account-panel>.p-5 {display:flex;gap:28px;align-items:center;padding:0 0 18px;border-bottom:1px solid #e5eed8}
.admin-shell .team-account-card {background:none;border:0;padding:0;flex:1;display:flex;align-items:center;gap:22px;border-radius:0}
.admin-shell .team-account-card>.mt-4 {margin:0}
.admin-shell .team-account-card .team-account-meta {display:none}
.admin-shell .team-account-card .team-account-avatar {width:36px;height:36px;font-size:12px;border-radius:4px;background:#e7f1db;color:#657663}
.admin-shell .team-account-panel>.p-5>.mt-4 {display:flex;margin:0;gap:8px}
.admin-shell #team-users-list .admin-table-wrap {overflow:auto}
.admin-shell #team-users-list .admin-table {min-width:760px}
.admin-shell .team-users-panel .admin-section-head {padding-top:0}
.admin-shell .admin-search-wrap {border-radius:4px;border-color:#e2ecd5;background:#fff;padding:0 10px;min-height:36px;gap:7px}
.admin-shell .admin-search-wrap .admin-search-input {border:0;background:none;padding:6px 0;min-height:34px;box-shadow:none;font-size:12px}
.admin-shell .team-user-avatar {border-radius:4px;width:30px;height:30px;background:#edf5e4;color:#657663}
.admin-shell .team-user-name {font-size:12px;font-weight:500}.admin-shell .team-user-email {font-size:10px;color:#657663}
/* Inbox and prospect file */
.admin-shell #support-admin-ticket-list {max-height:calc(100dvh - 280px);overflow:auto}
.admin-shell #support-admin-ticket-list button {border:0;border-bottom:1px solid #edf3e3;border-radius:0;box-shadow:none;padding:15px 13px;background:transparent}
.admin-shell #support-admin-ticket-list button.border-indigo-300 {background:#f5faed;border-left:2px solid #bed69d}
.admin-shell #support-admin-ticket-detail {border-left:1px solid #e9f1dd}
.admin-shell #support-admin-ticket-detail>.border-b {padding:17px 22px;border-color:#e9f1dd;background:none;border-radius:0}
.admin-shell #support-admin-ticket-detail .rounded-xl {border-radius:3px;box-shadow:none;border-color:#edf3e3;background:#fcfef8}
.admin-shell #support-admin-ticket-detail .bg-indigo-50 {background:#f4faeb}
.admin-shell .lead-modal-hero {background:#fbfdf6;border:0;border-bottom:1px solid #e9f1dd;padding:14px 22px}
.admin-shell .lead-modal-grid {border-bottom:1px solid #e9f1dd}
.admin-shell .lead-modal-section {padding:15px 22px}
.admin-shell .lead-modal-meta-strip {padding:10px 22px;background:#fff;border-color:#e9f1dd}
.admin-shell .lead-modal-body {padding:18px 22px}
.admin-shell .lead-modal-block {border:0;border-radius:0;background:transparent;padding:0;margin-bottom:20px}
.admin-shell .lead-modal-footer {background:#fbfef5;border-top:1px solid #e9f1dd;padding:12px 22px;border-radius:0}
/* Page finder */
.admin-command-overlay {position:fixed;inset:0;z-index:1100;display:grid;place-items:start center;padding:13vh 20px 20px;background:#203b2659;backdrop-filter:blur(3px)}
.admin-command-dialog {width:min(540px,100%);border-radius:8px;background:#fff;border:1px solid #e7eddf;box-shadow:0 25px 90px #20382e40;overflow:hidden}
.admin-command-field {display:flex;align-items:center;gap:13px;padding:17px 20px;border-bottom:1px solid #e6ecdf}.admin-command-field svg {width:19px;height:19px;color:#657663}
.admin-command-field input {flex:1;min-width:0;font-size:14px;border:0;background:none;color:#657663;outline:none;box-shadow:none}
.admin-command-close {border:1px solid #e1e8d9;color:#657663;font-size:10px;border-radius:3px;padding:3px 6px}
.admin-command-results {padding:6px;max-height:50vh;overflow:auto}.admin-command-results a {display:flex;align-items:center;gap:12px;border-radius:3px;padding:11px;font-size:12px;color:#657663}.admin-command-results a:hover,.admin-command-results a:focus {background:#f6faef;outline:none}.admin-command-results a svg {width:16px;height:16px}.admin-command-results a span:last-child {margin-left:auto;color:#657663;font-size:10px}.admin-command-note {padding:10px 20px;background:#fbfdf7;color:#657663;font-size:10px}
/* Authentication */
body.admin-auth {min-height:100dvh;display:grid;grid-template-columns:minmax(360px,1fr) minmax(460px,1fr);margin:0;background:#f8faf5}
.auth-story {background:#183c31;color:#e3eddf;display:flex;flex-direction:column;justify-content:space-between;padding:56px 10%;min-height:100dvh;position:relative;overflow:hidden}
.auth-story::after {content:'';width:560px;height:560px;position:absolute;border:1px solid #ffffff0b;border-radius:50%;bottom:-200px;right:-210px;box-shadow:0 0 0 85px #ffffff03,0 0 0 170px #ffffff02;pointer-events:none}
.auth-brand {font-weight:650;font-size:24px;letter-spacing:-1px;color:#f0f5e9;display:flex;gap:10px;align-items:center}
.auth-brand span {color:#b6cc9e}
.auth-story-main {position:relative;z-index:1;padding:80px 0;max-width:450px}
.auth-story-kicker {font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:#a3be9a;display:flex;align-items:center;gap:10px}
.auth-story-kicker::before {content:'';width:6px;height:6px;border-radius:50%;background:#a9c28b}
.auth-story h2 {font-size:clamp(32px,3.2vw,51px);letter-spacing:-1.9px;line-height:1.13;font-weight:500;color:#f3f7ed;margin:25px 0}
.auth-story h2 em {font-style:normal;color:#b3ce9e}
.auth-story p {font-size:14px;line-height:1.9;color:#a7bfa6;max-width:350px}
.auth-story-bottom {font-size:11px;color:#92ad8c;position:relative;z-index:1;display:flex;gap:7px;align-items:center}
.auth-story-bottom svg {width:14px;height:14px}
.admin-auth .auth-wrapper {width:100%;max-width:460px;padding:44px 30px;margin:auto;position:relative}
.admin-auth .auth-card {background:transparent;border:0;box-shadow:none;padding:0;border-radius:0}
.admin-auth .auth-card>.text-center {text-align:left;margin-bottom:32px}
.admin-auth .auth-card>.text-center img {height:32px;max-width:160px;object-fit:contain;object-position:left;margin:0 0 42px}
.admin-auth .auth-card h1 {font-size:29px;font-weight:650;letter-spacing:-1px;color:#294a31;line-height:1.25;margin:0 0 12px}
.admin-auth .auth-card>.text-center p {font-size:13px;color:#7b8d70;line-height:1.8;margin-top:0}
.admin-auth .auth-card form.space-y-5>*+* {margin-top:23px}
.admin-auth .auth-card label {display:block;font-size:12px;font-weight:600;color:#506d42;margin-bottom:8px}
.admin-auth .auth-card input:not([type=hidden]):not(.otp-native) {width:100%;min-height:49px;border-radius:11px;border:1px solid #d6e1cc;background:#fff;color:#36552b;font-size:14px;padding:12px 14px;box-shadow:0 2px 4px #264b1a03;outline:none}
.admin-auth .auth-card input:not([type=hidden]):not(.otp-native):focus {border-color:#7e9f69;box-shadow:0 0 0 3px #80a56816}
.admin-auth .auth-card button.admin-btn {display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:49px;background:#285637;border:1px solid #285637;border-radius:11px;color:#fff;font-size:13px;font-weight:600;padding:13px 18px;box-shadow:0 3px 7px #20471a12}
.admin-auth .auth-card button.admin-btn:hover {background:#1c4328}
.admin-auth .auth-card>.mt-4 {border-radius:10px;font-size:12px;padding:14px;background:#edf4e5;border-color:#d9e6cd;color:#6a8355;line-height:1.7}
.admin-auth .auth-card>.mt-4.bg-rose-50 {background:#fff0e9;border-color:#efd5c4;color:#b06243}
.admin-auth .auth-card>.mt-5,.admin-auth .auth-card>.mt-6 {margin-top:27px;font-size:12px;text-align:left}
.admin-auth .auth-card a {color:#728b5d;text-decoration:none}
.admin-auth .auth-card a:hover {color:#3e642b}
.admin-auth .auth-wrapper>p {font-size:10px;color:#a2ad98;text-align:left;margin-top:46px}
.admin-auth .auth-password-wrap {position:relative}
.admin-auth .auth-password-wrap input {padding-right:48px!important}
.auth-password-toggle {position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:7px;border-radius:7px;color:#8b9e7b;display:grid;place-items:center}
.auth-password-toggle:hover {background:#f1f6e9}
.auth-password-toggle svg {width:17px;height:17px}
.admin-auth .otp-box {border-radius:11px;border-color:#d4e1c8;background:#fff;color:#4b7338;font-size:22px;height:58px}
.admin-auth .otp-wrap:focus-within .otp-box {border-color:#9ab783}

/* Responsive */
@media(max-width:1200px){.admin-shell #admin-content {padding:22px 20px 35px}.admin-shell #admin-topbar {padding:0 20px}.admin-command-trigger span,.admin-command-trigger kbd {display:none}.ux-access-filter {gap:6px}.ux-offer-row {grid-template-columns:minmax(150px,1fr) 140px 125px 125px;gap:12px}.ux-metric {padding:0 14px}.client-key-facts {gap:14px}}
@media(max-width:1000px){.ux-toolbar-line {flex-wrap:wrap}.ux-search {max-width:none}.ux-access-filter {margin-left:0}.ux-offer-row {grid-template-columns:1fr 140px 120px}.ux-offer-row>.ux-row-actions {grid-column:3;grid-row:1/3}.ux-offer-state {grid-column:1/3}.ux-settings-layout {grid-template-columns:160px minmax(0,1fr);gap:22px}.client-layout {grid-template-columns:160px minmax(0,1fr)}.client-content {padding:20px}.client-key-facts {margin-left:0}.admin-shell .client-tab .tenant-support-card-grid,.admin-shell .client-tab .tenant-diagnostics-grid {grid-template-columns:1fr}}
@media(max-width:767px){
 :root {--sb-w:240px}
 .admin-shell #admin-sidebar {width:240px!important;z-index:60}.admin-shell #admin-backdrop {z-index:55;background:#213a2859;backdrop-filter:blur(3px)}
 .admin-shell #admin-sidebar.is-collapsed :is(.sb-brand-text,.sb-section-label,.sb-account-text,.sb-logout-label) {display:revert}.admin-shell #admin-sidebar.is-collapsed .sb-label {display:block!important}.admin-shell #admin-sidebar.is-collapsed .sb-item {justify-content:flex-start;padding:10px 12px}.admin-shell #admin-sidebar.is-collapsed .sb-item .sb-badge.visible {display:flex!important;position:static}.admin-shell #admin-sidebar.is-collapsed .sb-head {padding:16px 10px;justify-content:space-between}.admin-shell #admin-sidebar .sb-toggle {display:none}.admin-shell #admin-sidebar.is-collapsed .sb-account {justify-content:flex-start}
 .admin-shell .topbar-toggle {display:flex;width:30px;height:30px;border-radius:4px}.admin-shell .topbar-toggle svg {width:16px;height:16px}.admin-shell #admin-topbar {height:50px;min-height:50px;padding:0 15px;gap:10px}.topbar-location {gap:9px}.topbar-parent,.topbar-separator,.admin-site-link span {display:none}.topbar-actions {gap:15px}
 .admin-shell #admin-content {padding:19px 15px 30px}.admin-shell .admin-page {gap:16px}.admin-shell .admin-page-head {align-items:flex-start;flex-wrap:wrap;min-height:0;gap:10px}.admin-shell .admin-page-title {font-size:23px}.admin-shell .admin-page-desc {font-size:11px;line-height:1.7}.admin-shell .admin-page-eyebrow {font-size:8px}
 .ux-metrics {padding:12px 0;flex-wrap:wrap;row-gap:14px;min-height:0}.ux-metric {flex:0 0 50%;padding:0 12px;gap:4px}.ux-metric:nth-child(odd) {padding-left:0}.ux-metric:nth-child(even) {border:0}.ux-metric-value {font-size:22px}.ux-metric-label {font-size:10px}.ux-metric-sub {font-size:9px}.ux-metric:nth-child(5) {flex-basis:100%;border:0;padding-top:10px;border-top:1px solid #edf3e3}
 .ux-toolbar-line {gap:10px}.ux-search {flex-basis:calc(100% - 42px);min-width:0;max-width:none;order:0}.ux-reset {margin-left:auto;order:1}.ux-access-filter {order:2;width:100%;justify-content:space-between}.ux-access-filter .ux-choice {padding:6px 9px}.ux-list-toolbar {gap:10px}.ux-date-filter {order:2;margin:0;width:100%;gap:12px}.admin-shell .ux-date-filter .admin-input {min-width:0;width:100%;font-size:10px}.ux-date-filter label {flex:1;min-width:0}.ux-toolbar-line--bottom {flex-wrap:nowrap;gap:7px}.ux-list-count {font-size:10px}.ux-toolbar-line--bottom>.ux-select-control .ux-choice {font-size:11px;padding:8px 8px 10px}
 .admin-shell .ux-subscription-table {display:table;min-width:0;width:100%;table-layout:fixed}.admin-shell .ux-subscription-table :is(thead,tbody) {display:table-row-group}.admin-shell .ux-subscription-table thead {display:table-header-group}.admin-shell .ux-subscription-table tr {display:table-row!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}.admin-shell .ux-subscription-table :is(th,td) {display:table-cell;padding:12px 5px;vertical-align:middle;width:auto!important}.admin-shell .ux-subscription-table :is(th,td):nth-child(1) {width:53%!important;padding-left:0}.admin-shell .ux-subscription-table :is(th,td):nth-child(3) {width:32%!important}.admin-shell .ux-subscription-table :is(th,td):nth-child(7) {width:15%!important}.admin-shell .ux-subscription-table :is(th,td):is(:nth-child(2),:nth-child(4),:nth-child(5),:nth-child(6)) {display:none!important}.admin-shell .ux-subscription-table td::before {display:none!important}.admin-shell .ux-subscription-table .ux-cell-sub {font-size:9px}.admin-shell .ux-subscription-table .ux-client-name {font-size:12px}.admin-shell .ux-subscription-table .ux-row-price {font-size:12px}.admin-shell .ux-subscription-table .ux-row-actions>.admin-btn {font-size:0;padding:6px;min-height:28px}.admin-shell .ux-subscription-table .ux-row-actions>.admin-btn svg {width:15px;height:15px}.admin-shell .ux-subscription-table .platform-action-menu {display:none}
 .admin-shell .leads-table tbody tr.leads-row {border-radius:0;border:0;border-bottom:1px solid #e8efdc;background:#fff;padding:12px 0}.admin-shell .leads-table tbody td {padding:5px 0}
 .admin-shell #admin-modal-overlay {padding:6px}.admin-shell #admin-modal-box {border-radius:6px;max-height:calc(100dvh - 12px)}.admin-shell #admin-modal-box.is-workspace {width:calc(100vw - 12px);height:calc(100dvh - 12px)}.admin-shell .admin-modal-header {padding:12px 15px;min-height:51px}.admin-shell .admin-modal-title {font-size:16px}.admin-shell .admin-modal-body {padding:16px}.admin-shell .admin-modal-body--flush {padding:0}.admin-shell .admin-modal-footer {padding:12px 15px;flex-wrap:wrap}
 .client-summary {padding:13px 15px}.client-avatar {width:30px;height:30px;font-size:15px}.client-identity {gap:8px;flex-wrap:wrap}.client-identity>div {flex:1;min-width:0}.client-identity h3 {font-size:16px}.client-identity p {font-size:10px;overflow-wrap:anywhere}.client-identity>.admin-chip {margin-left:38px;margin-top:0}.client-key-facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 15px;margin:12px 0 0}.client-key-facts dt {font-size:9px}.client-key-facts dd {font-size:11px}.client-key-facts small {font-size:9px}
 .client-layout {display:flex;flex-direction:column}.client-navigation {flex-direction:row;flex-wrap:nowrap;overflow:auto;border:0;border-bottom:1px solid #e7efdc;padding:7px 9px;gap:3px;flex:none}.client-navigation button {min-height:32px;padding:7px 9px;white-space:nowrap;font-size:11px}.client-navigation button svg {display:none}.client-public-link {display:none}.client-content {padding:17px 15px}.client-tab-title {font-size:17px;margin-bottom:17px}.admin-shell .client-tab .tenant-support-kv-row {font-size:11px}.admin-shell .client-tab .tenant-support-kv-row strong {font-size:11px;max-width:62%}.admin-shell .client-tab .tenant-override-row {grid-template-columns:1fr}.admin-shell .client-tab .tenant-support-card-grid,.admin-shell .client-tab .tenant-diagnostics-grid {gap:16px}
 .ux-offer-row {grid-template-columns:minmax(0,1fr) 110px;gap:9px 12px;padding:15px 0}.ux-offer-row>.ux-row-actions {grid-column:2;grid-row:2}.ux-offer-state {grid-column:1;grid-row:2}.ux-offer-price {text-align:right}.ux-offer-row .ux-cell-sub {max-width:100%;font-size:9px}.ux-offer-price strong {font-size:15px}.ux-offer-row>.ux-row-actions .admin-btn {font-size:10px}.ux-inline-switch {font-size:10px;gap:7px}
 .admin-shell .offer-tab-btn {padding:11px 12px;font-size:11px}.admin-shell .offer-tab-btn svg {display:none}.admin-shell #offers-editor-form {max-height:calc(100dvh - 70px)}.admin-shell #offers-editor-form>div:nth-last-child(2) {padding:16px}.admin-shell #offers-editor-form>div:last-child {padding:12px 15px}.ux-editor-note {display:none}.admin-shell #offers-editor-form>div:last-child .flex {flex-wrap:wrap;justify-content:flex-end;width:100%}
 .ux-settings-layout {display:flex;flex-direction:column;gap:18px;padding-top:8px}.ux-section-navigation {flex-direction:row;overflow:auto;flex-wrap:nowrap;width:100%;position:static;border-bottom:1px solid #e8f0dc;padding-bottom:7px}.ux-section-navigation button {white-space:nowrap;padding:8px 10px;font-size:11px}.ux-settings-content {width:100%}.admin-shell .ux-settings-content .admin-section-title {font-size:17px}
 .admin-shell .team-account-panel>.p-5 {display:block}.admin-shell .team-account-card {display:flex;flex-wrap:wrap;gap:12px}.admin-shell .team-account-panel>.p-5>.mt-4 {margin-top:13px;flex-wrap:wrap}.admin-shell .team-account-card .team-account-avatar {width:32px;height:32px}.admin-shell .admin-section-head {flex-wrap:wrap}
 .admin-shell #support-admin-ticket-detail {border:0;border-top:1px solid #e9f1dd}.admin-shell #support-admin-ticket-list {max-height:340px}.admin-shell #support-admin-ticket-detail>.border-b {padding:15px}.admin-shell #support-admin-ticket-detail>.px-6 {padding:15px}
 .ux-page-tabs {gap:18px;overflow:auto}.ux-page-tabs button {font-size:11px;white-space:nowrap}
 body.admin-auth {display:block;padding:30px 0;min-height:100dvh}.auth-story {display:none}.admin-auth .auth-wrapper {padding:30px 28px;max-width:440px}.admin-auth .auth-card h1 {font-size:28px}.admin-skip-link {left:15px}
}
@media(prefers-reduced-motion:reduce){.admin-shell *,.admin-auth * {animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.admin-shell .ux-catalog-note {border:0;background:none!important;color:#657663!important;padding:0;margin-top:4px;font-size:10px;border-radius:0}
.admin-shell .ux-offers-toolbar {padding-bottom:14px}
.ux-priority-filter {display:flex;align-items:center;gap:9px;margin-left:auto;color:#657663;font-size:11px;white-space:nowrap}
.ux-dashboard-section>.admin-panel,.ux-dashboard-section>.grid {margin-bottom:22px}
.ux-dashboard-section>.admin-panel:has(.dashboard-signal-card)>.admin-section-head {padding:0 0 8px;border:0;min-height:30px}
.ux-dashboard-section>.admin-panel:has(.dashboard-signal-card)>.p-5 {padding:0}
.ux-dashboard-section .dashboard-signal-card {padding:10px 0}
.ux-dashboard-section .dashboard-signal-value {color:#526c45}
.admin-shell .ux-select-control[aria-invalid=true] {outline:2px solid #b95a49;outline-offset:2px}
.admin-shell .ux-number-control>input[type=number] {-moz-appearance:textfield;appearance:textfield}
.admin-shell .ux-number-control>input[type=number]::-webkit-inner-spin-button {appearance:none;margin:0}
.admin-shell .ux-search .admin-input::placeholder {color:#83907e}
.admin-shell .client-tab .tenant-support-actions-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:767px){.ux-priority-filter {margin-left:0;order:2}.admin-shell .client-tab .tenant-support-actions-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .ux-number-control>input {width:64px}.ux-unlimited-choice {margin-left:7px}}

.admin-shell dialog.ux-confirm-dialog {width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe7d7;border-radius:8px;color:var(--c-text);background:#fff;box-shadow:0 20px 80px #203a2340;overflow:auto}
.admin-shell dialog.ux-confirm-dialog::backdrop {background:#24392766;backdrop-filter:blur(2px)}
.admin-shell .ux-confirm-dialog .admin-modal-footer {display:flex;justify-content:flex-end}
.admin-shell .ux-confirm-dialog .admin-modal-body {padding:22px;line-height:1.8;font-size:13px}
@media(min-width:768px) and (max-width:1000px){body.admin-auth {grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}.auth-story {padding:35px 10%}.auth-story h2 {font-size:32px}.auth-story p {font-size:12px}.admin-auth .auth-wrapper {min-width:0;padding:30px}}

.admin-shell .limit-unlimited-badge {display:none!important}
.client-signals {margin:-5px 0 15px}
.client-signals .tenant-support-badges {margin:0}
.client-record-dates {padding-top:10px;border-top:1px solid #e3ebd9}
.admin-shell .client-tab .tenant-override-row.is-invalid {border-left:2px solid #bd4545;padding-left:12px}

.ux-mobile-label,.ux-mobile-substatus {display:none}
.ux-section-intro {font-size:12px;color:#657663;margin:0 0 19px;line-height:1.7}
.ux-quota-table-scroll {min-width:0;width:100%;overflow:auto}
.ux-quota-table {width:100%;border-collapse:collapse;table-layout:fixed}
.ux-quota-table th {text-align:left;font-size:10px;font-weight:500;color:#71816b;border-bottom:1px solid #e3ebd9;padding:10px 12px}
.ux-quota-table th:first-child {width:30%;padding-left:0}.ux-quota-table th:nth-child(2) {width:18%}.ux-quota-table th:nth-child(3) {width:35%}.ux-quota-table th:nth-child(4) {width:17%}
.admin-shell .client-tab tr.tenant-override-row {display:table-row;margin:0;padding:0;border:0;background:#fff}
.ux-quota-table td {padding:12px;border-bottom:1px solid #e9efdf;vertical-align:top;font-size:12px;line-height:1.6}
.ux-quota-table td:first-child {padding-left:0}.ux-quota-table td:last-child {padding-right:0}
.admin-shell .client-tab .ux-quota-table .tenant-override-label {font-size:12px;font-weight:500;color:#4e6742;display:block;line-height:1.6}
.admin-shell .client-tab .ux-quota-table .tenant-override-help {font-size:10px;color:#71816b;line-height:1.6;margin-top:3px}
.ux-quota-table strong {font-size:12px;font-weight:500;color:#576e4c;line-height:1.6}
.admin-shell .client-tab .ux-quota-table .tenant-override-actions {display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}
.admin-shell .client-tab .ux-quota-table .tenant-override-action {padding:4px 6px;font-size:9px;line-height:1.4;background:none;border:1px solid #e3ecd7;color:#6c805b;border-radius:3px}
.admin-shell .client-tab .tenant-overrides-footer {position:sticky;bottom:-35px;background:#fff;border-top:1px solid #e0e9d4;padding:15px 0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:10px}
.admin-shell .client-tab .tenant-override-row.is-invalid td {background:#fff9f4;border-bottom-color:#d6a18c}
@media(max-width:767px){.ux-mobile-substatus {display:block;font-size:9px;color:#657663;margin-top:2px}.ux-quota-table {display:block;table-layout:auto}.ux-quota-table thead {display:none}.ux-quota-table tbody {display:block}.admin-shell .client-tab tr.tenant-override-row {display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e5edda;padding:12px 0;gap:9px 12px}.ux-quota-table td {display:block;border:0;padding:0!important;min-width:0}.ux-quota-table td:first-child {grid-column:1/3}.ux-quota-table td:nth-child(3) {grid-column:1/3;grid-row:3}.ux-quota-table td:nth-child(4) {grid-column:2;grid-row:2}.ux-mobile-label {display:block;font-size:9px;color:#71816b}.admin-shell .client-tab .tenant-overrides-footer {bottom:-35px;flex-wrap:wrap;gap:9px;padding:13px 0}.admin-shell .client-tab .tenant-overrides-footer .admin-btn {width:100%;justify-content:center;font-size:11px}}

.admin-shell .admin-page :is(div,section,article,details)[class*="rounded-"] {border-radius:0}
.admin-shell .ux-settings-content .rounded-lg {border-radius:0;background:transparent;box-shadow:none}

.admin-shell #admin-modal-body :is(div,section,article,details)[class*="rounded-"] {border-radius:0;box-shadow:none}
.admin-shell .ux-switch-button.is-loading {justify-content:center}
.admin-shell .ux-switch-button.is-loading .admin-btn-loading-text {display:none}
.admin-shell .ux-switch-button.is-loading .admin-btn-spinner {width:12px;height:12px;background:transparent;border:1.5px solid #ffffff70;border-top-color:#fff;border-radius:50%;box-shadow:none;transform:none!important;margin:0}

/* Subscription worker: shared admin colours and controls, compact flat layout. */
.subscription-worker>summary {flex-wrap:wrap}
.subscription-worker>summary #subscription-worker-status {font-size:10px;max-width:100%;white-space:normal}
.subscription-worker-body {padding:1px 0 16px}
.subscription-worker-intro {margin:0 0 14px;color:var(--c-text-3);font-size:12px;line-height:1.6}
.subscription-worker-metrics {display:grid;grid-template-columns:1fr 1.1fr 1.3fr;gap:22px;padding:0 0 16px;margin:0;border-bottom:1px solid var(--c-border)}
.subscription-worker-metrics>div {min-width:0}
.subscription-worker-metrics dt {font-size:10px;color:var(--c-text-3);margin:0 0 4px}
.subscription-worker-metrics dd {margin:0;font-size:12px;font-weight:500;color:var(--c-text);overflow-wrap:anywhere}
.subscription-worker-settings {display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.4fr);gap:32px;padding:17px 0}
.subscription-worker-form {display:flex;flex-direction:column;align-items:flex-start;gap:13px;margin:0}
.subscription-worker-switch-row {display:flex;align-items:center;justify-content:space-between;gap:22px;width:100%}
.subscription-worker-switch-row label {font-size:12px;color:var(--c-text-2);font-weight:500}
.subscription-worker-switch-row p {font-size:11px;line-height:1.5;color:var(--c-text-3);margin:3px 0 0}
.subscription-worker-link {min-width:0}
.subscription-worker-link .admin-label {display:block;margin-bottom:6px;font-size:11px}
.subscription-worker-copy {display:flex;gap:7px;min-width:0}
.subscription-worker-copy input {width:100%;min-width:0;font-size:11px}
.subscription-worker-copy .admin-btn {flex:none}
.subscription-worker-link-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:8px}
.subscription-worker-link-actions :is(button,a) {display:inline-flex;align-items:center;gap:4px;font-family:inherit;font-size:11px;color:var(--c-primary);text-underline-offset:3px}
.subscription-worker-link-actions button {border:0;background:none;padding:0;cursor:pointer;line-height:inherit}
.subscription-worker-link-actions :is(button,a):hover {text-decoration:underline}
.subscription-worker-link-actions svg {width:12px;height:12px}
.subscription-worker-link-actions a[aria-disabled=true] {opacity:.5;pointer-events:none}
.subscription-worker-hint {font-size:10px;color:var(--c-text-3);line-height:1.5;margin:7px 0 0}
.subscription-worker-foot {display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--c-border-sm);padding-top:12px}
.subscription-worker-foot p {margin:0;color:var(--c-text-3);font-size:10px;line-height:1.6}
.subscription-worker-foot .admin-btn {flex:none}
.subscription-worker-feedback {font-size:11px;line-height:1.6;color:var(--c-success);margin:10px 0 0;overflow-wrap:anywhere}
.subscription-worker-feedback:empty {display:none}
.subscription-worker-feedback[data-error=true] {color:var(--c-danger)}
@media(max-width:767px){
    .subscription-worker>summary #subscription-worker-status {font-size:9px}
    .subscription-worker-metrics {gap:14px;grid-template-columns:1fr 1fr}
    .subscription-worker-metrics>div:last-child {grid-column:1/-1}
    .subscription-worker-settings {grid-template-columns:1fr;gap:20px;padding:16px 0}
    .subscription-worker-foot {align-items:flex-start;gap:12px}
}
