:root{--background:#fff;--foreground:#191919;--card:#fff;--card-foreground:#191919;--primary:#3f58d9;--primary-dark:#3148c4;--primary-foreground:#fff;--secondary:#e7ebfb;--muted:#eef0f4;--muted-foreground:#727985;--accent:#e5e8f8;--accent-foreground:#293b9f;--destructive:#e0574e;--border:#dfe3ea;--input:#d9dee7;--ring:#3f58d9;--settings-max-width:62rem;--team-max-width:54rem;--org-max-width:54rem;--radius-sm:6px;--radius-md:10px;--radius-lg:12px;--list-page-max-width:1180px;--list-title-size:14px;--list-control-height:42px;--list-control-radius:10px;--list-control-font:14px;--list-cell-font:13px;--list-head-font:14px;--topbar-title-font-size:18px;--topbar-title-font-weight:600}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--background);color:var(--foreground);font-family:system-ui,ui-sans-serif,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:14px}h1,h2,h3,h4{margin:0}.app-root{min-height:100dvh}.app-root:not(.guest){height:100dvh;overflow:hidden}.app-root.guest{place-items:center;padding:24px;display:grid}button{border:1px solid var(--primary);border-radius:var(--radius-md);background:var(--primary);color:var(--primary-foreground);cursor:pointer;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 14px;font-size:13px;font-weight:300;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}button>svg{flex:none}button:hover:enabled{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.6}button.danger{background:var(--destructive);border-color:var(--destructive)}button.alt{background:var(--card);color:var(--foreground);border-color:var(--border)}button.alt:hover:enabled{background:var(--muted);border-color:#d4d9e4}.flash{border-radius:var(--radius-md);border:1px solid #0000;padding:10px 12px;font-size:13px}.modal-flash{z-index:4;position:sticky;top:0}.modal-flash .flash{margin:0}.flash.success{color:#286f3f;background:#e9f8ee;border-color:#b8e9c7}.flash.error{color:#8c2f28;background:#ffecea;border-color:#f6c0bc}.admin-action-modal-error{border-radius:var(--radius-md);color:#8c2f28;background:#ffecea;border:1px solid #f6c0bc;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.admin-action-modal-error svg{flex-shrink:0}.auth-shell{place-items:center;width:100%;display:grid}.auth-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);gap:14px;width:min(420px,100%);padding:28px;display:grid}.auth-logo{width:132px}.auth-card h1{font-size:26px;font-weight:700;line-height:1.2}.auth-card p{color:var(--muted-foreground);margin:0;font-size:14px}.auth-switch{color:var(--muted-foreground);align-items:center;gap:6px;margin-top:2px;font-size:13px;display:flex}.provider-actions{gap:8px;display:grid}.provider-button{border:1px solid var(--input);background:var(--card);width:100%;color:var(--foreground)}.provider-button:hover:enabled{background:#fafafa}.link-button{color:var(--primary);background:0 0;border:0;border-radius:0;height:auto;padding:0;font-size:13px;font-weight:600}.link-button:hover:enabled{background:0 0;text-decoration:underline}.app-root.guest .flash{margin:0}.dashboard-shell{background:var(--background);height:100dvh;display:flex;overflow:hidden}.dashboard-sidenav{border-right:1px solid var(--border);background:#fff;flex-direction:column;width:232px;min-width:232px;height:100dvh;display:flex;overflow:hidden}.sidenav-brand{border-bottom:1px solid var(--border);padding:5px 36px 15px}.sidenav-brand img{width:150px;max-width:100%}.sidenav-nav{flex-direction:column;flex:1;gap:8px;min-height:0;padding:10px 10px 16px;display:flex;overflow:auto}.sidenav-group{gap:2px;display:grid}.sidenav-item{color:var(--muted-foreground);border:1px solid #0000;border-radius:10px;justify-content:flex-start;align-items:center;gap:10px;height:44px;padding:0 12px;font-size:14px;font-weight:500;text-decoration:none;display:flex;text-align:left!important;background:0 0!important}.sidenav-item:hover:enabled{color:var(--foreground);border-color:#d7dce7;transform:none;background:#eceff4!important}.sidenav-item.active{color:#232734;border-color:#d7dce7;background:#fff!important}a.sidenav-item:hover{color:var(--foreground);border-color:#d7dce7;background:#eceff4!important}.sidenav-item.active .menu-icon{color:var(--primary)}.menu-icon{color:#747b86;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.menu-icon svg{width:18px;height:18px}.sidenav-item span{font-size:14px;line-height:1.1}.sidenav-divider{background:var(--border);height:1px;margin:2px 0}.sidenav-link{margin-top:2px}.sidenav-footer{border-top:1px solid var(--border);background:#fff;flex-shrink:0;gap:10px;margin-top:auto;padding:10px;display:grid;position:sticky;bottom:0}.sidenav-profile-card{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;width:100%;height:auto;padding:10px 12px;transition:background-color .14s,border-color .14s;display:flex}.sidenav-profile-card:hover:enabled{background:#eceff4;border-color:#c9d0dd;transform:none}.sidenav-profile-card.active{background:#f7f9ff;border-color:#3156d6;box-shadow:0 0 0 1px #3156d61f}.sidenav-avatar{color:#222738;background:#d6dbec;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:11px;font-weight:700;display:inline-flex}.sidenav-profile-copy{min-width:0}.sidenav-profile-copy span{color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;display:block;overflow:hidden}.sidenav-profile-copy small{color:var(--muted-foreground);margin-top:2px;font-size:11px;display:block}.sidenav-logout{width:100%;color:var(--muted-foreground);margin-top:2px}.sidenav-logout:hover:enabled{color:var(--foreground);box-shadow:none;outline:none}.sidenav-logout .menu-icon{color:inherit}.settings-shell{width:100%;max-width:var(--settings-max-width);gap:16px;margin:0 auto;display:grid}.settings-card{background:#fff;border:1px solid #cfd3dc;border-radius:10px;width:100%;padding:0 20px}.settings-row{border-bottom:1px solid #d6d9df;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.settings-row:last-child{border-bottom:0}.settings-copy h4{color:#12151d;margin:0;font-size:14px;font-weight:600}.settings-copy p{color:#6f7277;margin:7px 0 0;font-size:14px;line-height:1.35}.settings-avatar{color:#212734;background:#d8dce5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:18px;font-weight:700;display:inline-flex}.settings-link-btn{color:#6f5cf4;background:0 0;border:0;height:auto;padding:0;font-size:14px;font-weight:500}.settings-link-btn:hover:enabled{color:#5543d7;background:0 0;text-decoration:underline;transform:none}.settings-password-form{gap:12px;padding-bottom:18px;display:grid}.settings-select{color:#1e222d;background:#fff;border:1px solid #d2d5dc;border-radius:8px;width:auto;min-width:132px;height:32px;padding:0 12px;font-size:14px}.settings-logout-btn{color:#171b25;background:#fff;border:1px solid #d2d5dc;border-radius:8px;min-width:108px;height:32px;font-size:14px;font-weight:600}.settings-logout-btn:hover:enabled{background:#f1f3f7;border-color:#c7cbd4;transform:none}.security-panel{padding-bottom:20px}.security-panel-header{align-items:flex-start}.security-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 0 0;display:grid}.security-block{border:1px solid var(--border);border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid}.security-block-wide{grid-column:1/-1}.security-block h5{margin:0;font-size:13px;font-weight:700}.security-form{gap:10px;display:grid}.security-form.two-col,.audit-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.security-form button{width:fit-content}.security-form label{color:var(--muted-foreground);gap:6px;font-size:12px;display:grid}.security-form select{border:1px solid var(--input);height:38px;color:var(--foreground);background:#fff;border-radius:8px;padding:0 10px}.security-json{white-space:pre-wrap;word-break:break-word;background:#f6f7fa;border:1px solid #e2e5ec;border-radius:8px;min-height:140px;max-height:220px;margin:0;padding:10px;font-size:12px;line-height:1.45;overflow:auto}.security-secret-once{background:#f2f7ff;border:1px solid #b9d6ff;border-radius:8px;gap:6px;padding:10px;display:grid}.security-secret-once strong{font-size:12px}.security-secret-once code{overflow-wrap:anywhere;font-size:12px}.security-audit-table-wrap{overflow-x:auto}.security-audit-table{border-collapse:collapse;width:100%;font-size:12px}.security-audit-table th,.security-audit-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:9px 8px}.security-audit-table th{color:var(--muted-foreground);font-weight:700}.dashboard-main{flex-direction:column;flex:1;min-width:0;height:100dvh;display:flex;overflow:hidden}.dashboard-topbar{background:var(--card);justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.settings-topbar{background:0 0;border-bottom:0;justify-content:flex-start;padding:24px 24px 12px}.settings-topbar h2{width:min(100%, var(--settings-max-width));margin:0 auto;font-size:20px;font-weight:700}.dashboard-topbar h2{font-size:var(--topbar-title-font-size);font-weight:var(--topbar-title-font-weight)}.dashboard-actions{flex-wrap:wrap;gap:8px;display:flex}.content{gap:16px;padding:18px 20px 24px;display:grid;overflow:auto}.content-settings{background:#fff;flex-direction:column;align-items:center;gap:16px;padding:0 24px 28px;display:flex}.content-settings>.flash{width:min(100%, var(--settings-max-width))}.team-topbar,.org-topbar{border-bottom:0;justify-content:space-between;gap:16px;padding:16px 20px 20px}.team-topbar-search,.org-topbar-search,.list-topbar-search{flex:0 500px;max-width:100%}.team-search-input,.org-search-input,.list-search-input{width:100%;height:var(--list-control-height);border-radius:var(--list-control-radius);font-size:var(--list-control-font);color:#4b5563;background:#fff;border:1px solid #d1d5db;padding:0 14px}.team-search-input:focus,.org-search-input:focus,.list-search-input:focus{border-color:#b9c0cf;outline:none;box-shadow:0 0 0 2px #6366f114}.team-shell{width:100%;max-width:var(--list-page-max-width);gap:16px;margin:0 auto;display:grid}.team-filters-card{background:#fff;border:1px solid #d1d5db;border-radius:14px;padding:16px}.team-filters-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.team-filter-field{gap:6px;display:grid}.team-filter-field>span{color:#4b5563;font-size:12px;font-weight:600}.team-filter-field select,.team-filter-field input{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;width:100%;height:40px;padding:0 12px;font-size:14px}.team-filter-field select:focus,.team-filter-field input:focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.team-filter-actions{flex-wrap:nowrap;justify-content:flex-end;gap:10px;display:flex}.team-filter-btn{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;padding:0;display:inline-flex}.team-filter-btn.primary{color:#fff;background:#3f58d9;border-color:#3f58d9}.team-filter-btn svg{flex:none}.team-filter-btn:hover:enabled{background:#f5f6fb;transform:none}.team-filter-btn.primary:hover:enabled{background:#3348b2;border-color:#3348b2}.team-filter-btn:disabled{opacity:.5;cursor:not-allowed}.team-table-card{background:#fff;border:1px solid #d1d5db;border-radius:14px;overflow:hidden}.team-table-wrap{overflow:auto}.team-table{border-collapse:collapse;width:100%}.team-table th,.team-table td{text-align:left;white-space:nowrap;font-size:var(--list-cell-font);color:#2f3440;border-bottom:1px solid #d1d5db;padding:12px 14px}.team-table th{font-weight:600;font-size:var(--list-head-font);color:#666;background:#f3f4f6}.team-table tbody tr:last-child td{border-bottom:0}.team-id-cell{color:#6b7280;width:110px}.team-name-cell{min-width:260px}.team-member{align-items:center;gap:12px;display:inline-flex}.team-member-copy{flex-direction:column;gap:6px;display:flex}.team-member-name{color:#111827;font-weight:600}.team-member-tags{flex-wrap:wrap;gap:6px;display:flex}.team-member-tag{border:1px solid #0000;border-radius:999px;align-items:center;min-height:22px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.team-member-tag.partner{color:#166534;background:#dcfce7;border-color:#bbf7d0}.team-member-tag.tenant{color:#7c3aed;background:#f3e8ff;border-color:#e9d5ff}.team-member-tag.client{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.team-avatar{color:#5f6673;text-transform:uppercase;background:#eceef2;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:14px;font-weight:600;display:inline-flex;overflow:hidden}.team-email-cell{color:#6b7280!important}.team-member-meta{flex-direction:column;gap:4px;display:flex}.team-member-company{color:#111827;font-weight:600}.team-member-role{color:#6b7280;font-size:12px}.team-avatar img{object-fit:cover;width:100%;height:100%;display:block}.team-actions-cell{text-align:center;width:150px}.team-action-btn{color:#111827;background:0 0;border:0;border-radius:6px;width:24px;height:24px;margin-left:8px;padding:0}.team-action-btn svg{width:16px;height:16px}.team-action-btn:hover:enabled{border-color:#0000;transform:none}.team-action-btn.edit{color:#2563eb}.team-action-btn.edit:hover:enabled{color:#fff;background:#2563eb;border-color:#2563eb}.team-action-btn.archive{color:#b45309}.team-action-btn.archive:hover:enabled{color:#fff;background:#b45309;border-color:#b45309}.team-action-btn.delete{color:#dc2626}.team-action-btn.delete:hover:enabled{color:#fff;background:#dc2626;border-color:#dc2626}.team-action-btn.view{color:#475569}.team-action-btn.view:hover:enabled{color:#fff;background:#475569;border-color:#475569}.team-action-btn.refund{color:#b45309}.team-action-btn.refund:hover:enabled{color:#fff;background:#b45309;border-color:#b45309}.team-action-btn.charge{color:#047857}.team-action-btn.charge:hover:enabled{color:#fff;background:#047857;border-color:#047857}.team-action-btn:disabled{opacity:.4;cursor:not-allowed}.team-action-muted{color:#9ca3af;font-size:14px}.team-pagination{justify-content:center;align-items:center;gap:18px;padding:16px 0 8px;display:flex}.team-page-btn{color:#6b7280;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:42px;height:42px;padding:0;font-size:22px;font-weight:600}.team-page-btn.nav-btn:disabled{opacity:.4}.team-page-btn:hover:enabled{background:#f5f6fb;transform:none}.team-page-indicator{color:#424852;text-align:center;min-width:78px;font-size:16px}.content-team{flex-direction:column;align-items:center;gap:12px;padding:0 16px 20px;display:flex}.content-services{padding:12px 20px 24px}.team-topbar h2{font-size:var(--list-title-size);color:#101623;margin:0;font-weight:700}.team-topbar-right,.list-topbar-right{align-items:center;gap:16px;margin-left:auto;display:flex}.team-new-btn,.org-new-btn,.list-new-btn{height:var(--list-control-height);border-radius:var(--list-control-radius);font-size:var(--list-control-font);white-space:nowrap;background:var(--primary);color:var(--primary-foreground);border:1px solid var(--primary);flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 14px;line-height:1;display:inline-flex}.team-new-btn svg,.org-new-btn svg,.list-new-btn svg{flex-shrink:0;width:16px;height:16px}.team-new-btn:hover:enabled,.org-new-btn:hover:enabled,.list-new-btn:hover:enabled{background:var(--primary-dark);border-color:var(--primary-dark);transform:none}.member-modal-backdrop{z-index:80;overscroll-behavior:contain;background:#1b1e2680;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.member-modal{-webkit-overflow-scrolling:touch;background:#fff;border-radius:14px;gap:14px;width:min(560px,100%);max-height:min(760px,100dvh - 48px);padding:20px 24px 22px;display:grid;position:relative;overflow-y:auto}.member-modal-loading{z-index:5;background:color-mix(in srgb, var(--card,#fff) 72%, transparent);border-radius:14px;justify-content:center;align-items:center;min-height:120px;display:flex;position:absolute;inset:0}.spinner-wrap{color:var(--muted-foreground);flex-direction:column;align-items:center;gap:10px;font-size:13px;display:inline-flex}.spinner-label{font-weight:500}.spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:.7s linear infinite spinner-rotate;display:block}.spinner-sm .spinner{border-width:2px;width:18px;height:18px}.spinner-md .spinner{width:30px;height:30px}.spinner-lg .spinner{border-width:4px;width:44px;height:44px}@keyframes spinner-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:1.6s}}.member-modal h3{text-align:center;margin:10px 0 14px;font-size:22px;font-weight:700}.member-modal-close{color:#666;background:0 0;border:0;border-radius:10px;width:34px;height:34px;padding:0;font-size:24px;line-height:1;position:absolute;top:10px;right:14px}.member-modal-close:hover:enabled{background:#f3f4f6;transform:none}.member-modal input:not([type=checkbox]){color:#111827;border:1px solid #d6d9e0;border-radius:10px;height:44px;padding:0 14px;font-size:15px}.member-modal input:not([type=checkbox]):focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.member-modal input:not([type=checkbox])[readonly]{background:#e9edf7}.member-modal-field{gap:6px;display:grid}.member-modal-field span{color:#2f3440;font-size:12px;font-weight:600}.member-modal-search-field{position:relative}.member-modal-helper{color:#6b7280;font-size:12px}.member-modal-helper.error{color:#dc2626}.member-modal-suggestions{z-index:20;background:#fff;border:1px solid #d6d9e0;border-radius:10px;gap:4px;max-height:196px;margin:0;padding:4px;list-style:none;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 10px 24px #0f172a1f}.member-modal-suggestion-btn{color:#111827;text-align:left;background:0 0;border:0;border-radius:8px;justify-items:start;gap:2px;width:100%;height:auto;min-height:0;padding:10px 12px;display:grid}.member-modal-suggestion-btn:hover:enabled,.member-modal-suggestion-btn.active{background:#f3f4f6;border-color:#0000;transform:none}.member-modal-suggestion-btn strong{font-size:13px;font-weight:600;line-height:1.2}.member-modal-suggestions-empty{color:#6b7280;padding:10px 12px;font-size:12px}.member-modal select{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;height:44px;padding:0 14px;font-size:15px}.member-modal select:focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.tenant-modal{width:min(560px,100%)}.tenant-modal-field{gap:6px;display:grid}.tenant-modal-field span{color:#2f3440;font-size:12px;font-weight:600}.tenant-modal-field input:not([type=checkbox]),.tenant-modal-field select{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;height:44px;padding:0 14px;font-size:15px}.tenant-modal-field input:not([type=checkbox]):focus,.tenant-modal-field select:focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.tenant-services-grid{flex-wrap:wrap;gap:8px 12px;display:flex}.tenant-service-option{color:#111827;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:flex-start;align-items:center;gap:10px;min-width:160px;min-height:88px;padding:8px 10px;font-size:14px;font-weight:500;display:inline-flex}.tenant-service-check{box-sizing:border-box;appearance:none;cursor:pointer;background:#fff;border:2px solid #94a3b8;border-radius:50%;place-items:center;width:20px;min-width:20px;height:20px;min-height:20px;margin:0;padding:0;display:grid;position:static}.tenant-service-check:after{content:"";background:#2563eb;border-radius:50%;width:10px;height:10px;transition:transform .14s ease-in-out;transform:scale(0)}.tenant-service-check:checked{border-color:#2563eb}.tenant-service-check:checked:after{transform:scale(1)}.tenant-service-check:focus-visible{outline-offset:1px;outline:2px solid #93c5fd}.tenant-service-logo{object-fit:contain;flex:0 0 46px;width:46px;height:46px}.tenant-service-meta{flex-direction:column;justify-content:center;align-items:center;gap:6px;display:inline-flex}.tenant-service-label{text-align:center;font-size:13px;line-height:1.1}.field-required{color:#dc2626;margin-left:4px;font-weight:700}.tenant-modal-check{color:#2f3440;align-items:center;gap:10px;font-size:14px;font-weight:500;display:inline-flex}.tenant-modal-choice-row{flex-wrap:wrap;gap:12px 18px;display:flex}.tenant-modal-check input{width:16px;height:16px}.tenant-delete-note{color:#374151;margin:0;font-size:14px}.tenant-delete-note strong{color:#111827}.tenant-modal-delete-btn{background:linear-gradient(90deg,#dc2626 0%,#b91c1c 100%)}.create-team-member-picker{gap:8px;display:grid}.create-team-search-field{position:relative}.create-team-suggestions{z-index:20;background:#fff;border:1px solid #d6d9e0;border-radius:10px;gap:4px;max-height:196px;margin:0;padding:4px;list-style:none;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 10px 24px #0f172a1f}.create-team-suggestions li button{color:#111827;text-align:left;background:0 0;border:0;border-radius:8px;justify-items:start;gap:2px;width:100%;height:auto;min-height:0;padding:8px 10px;display:grid}.create-team-suggestions li button:hover:enabled{background:#f3f4f6;border-color:#0000;transform:none}.create-team-suggestions li strong{font-size:13px;font-weight:600;line-height:1.2}.create-team-suggestions li span{color:#6b7280;font-size:12px;line-height:1.2}.create-team-suggestions-empty{color:#6b7280;padding:10px 12px;font-size:12px}.create-team-selected{gap:6px;display:grid}.create-team-selected p{color:#374151;margin:0;font-size:12px;font-weight:600}.create-team-selected ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.create-team-selected li{background:#f3f5ff;border:1px solid #d8def2;border-radius:999px;align-items:center;gap:6px;max-width:100%;min-height:28px;padding:4px 8px;display:inline-flex}.create-team-selected-label{color:#24324a;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;line-height:1.2;display:block;overflow:hidden}.create-team-tag-remove{color:#5c6780;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;min-height:18px;padding:0;font-size:15px;line-height:1;display:inline-flex}.create-team-tag-remove:hover:enabled{color:#2f3d5c;background:#e1e6fb;border-color:#0000;transform:none}.member-modal-actions{justify-content:flex-end;align-items:center;gap:16px;margin-top:10px;display:flex}.member-modal-cancel{color:#111827;background:0 0;border:0;padding:0 8px;font-size:16px;font-weight:500}.member-modal-cancel:hover:enabled{background:0 0;text-decoration:underline;transform:none}.member-modal-save{background:var(--primary);border-color:var(--primary);border-radius:10px;height:44px;padding:0 18px;font-size:16px;font-weight:600}.member-modal-save:hover:enabled{background:var(--primary-dark);border-color:var(--primary-dark)}.member-modal-resend{height:38px;color:var(--primary);border:1px solid var(--primary);background:0 0;border-radius:10px;align-self:flex-start;padding:0 14px;font-size:14px;font-weight:600}.member-modal-resend:hover:enabled{background:var(--primary);color:var(--primary-foreground)}.org-topbar h2{font-size:var(--list-title-size);color:#101623;margin:0;font-weight:700}.org-topbar-search{margin-left:auto}.content-orgs{flex-direction:column;align-items:center;gap:12px;padding:0 16px 20px;display:flex}.content-teams{padding:0 16px 20px}.teams-shell{width:100%;max-width:var(--list-page-max-width);grid-template-columns:320px minmax(0,1fr);gap:16px;margin:0 auto;display:grid}.teams-list-card,.teams-main-card{background:#fff;border:1px solid #d1d5db;border-radius:14px;overflow:hidden}.teams-card-head{background:#f8fafc;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.teams-card-head h3{margin:0;font-size:15px}.teams-card-head small{color:#6b7280}.teams-list{gap:6px;padding:10px;display:grid}.teams-list-item{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-items:start;gap:2px;height:auto;padding:10px 12px;display:grid}.teams-list-item.active{color:#fff;background:#3f58d9;border-color:#c7d2fe}.teams-list-item span{color:#6b7280;font-size:12px}.teams-list-item.active span{color:#ffffffe6}.teams-list-item:hover:enabled{color:#fff;background:#3f58d9;border-color:#3f58d9;transform:none}.teams-list-item:hover:enabled span{color:#ffffffe6}.teams-create-form,.teams-detail{gap:10px;padding:12px 14px;display:grid}.teams-permissions{flex-wrap:wrap;gap:10px;display:flex}.teams-permission-builder{gap:10px;display:grid}.teams-permission-field{gap:6px;display:grid}.teams-permission-field>span{color:#4b5563;font-size:12px;font-weight:600}.teams-permission-field select,.teams-permission-field input{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;width:100%;height:40px;padding:0 12px;font-size:14px}.teams-permission-field select:focus,.teams-permission-field input:focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.teams-permission-field input:disabled{color:#9ca3af;background:#f3f4f6}.teams-permission-access{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.teams-permission-access>span{color:#4b5563;margin-right:2px;font-size:12px;font-weight:600}.teams-permission-item{color:#374151;align-items:center;gap:6px;font-size:13px;display:inline-flex}.teams-permission-item input{width:auto;height:auto}.teams-detail h4{margin:0;font-size:15px}.teams-detail p{color:#6b7280;margin:0;font-size:13px}.team-edit-member-picker{margin-top:6px}.team-edit-member-picker input{color:#111827;background:#fff;border:1px solid #d6d9e0;border-radius:10px;width:100%;height:40px;padding:0 12px;font-size:14px}.team-edit-member-picker input:focus{border-color:#6d5df1;outline:none;box-shadow:0 0 0 2px #6d5df124}.teams-permissions-line{color:#4b5563;text-transform:lowercase;font-size:13px}.teams-permission-badges{flex-wrap:wrap;gap:8px;display:flex}.teams-badge{color:#4338ca;background:#eef2ff;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex}.teams-member-form{grid-template-columns:1fr auto;gap:8px;display:grid}.teams-member-list{color:#374151;gap:8px;margin:0;padding:0;font-size:13px;list-style:none;display:grid}.teams-member-list li{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.teams-member-copy{gap:2px;min-width:0;display:grid}.teams-member-copy strong{color:#111827;font-size:13px}.teams-member-copy span{color:#6b7280;font-size:12px}.org-shell{width:100%;max-width:var(--list-page-max-width);gap:16px;margin:0 auto;display:grid}.org-current-card{background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #d1d5db;border-radius:18px;gap:18px;padding:20px 22px;display:grid}.org-current-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.org-current-summary{gap:10px;display:grid}.org-current-glance{gap:4px;display:grid}.org-current-glance strong{color:#111827;font-size:16px}.org-current-glance span{color:#6b7280;font-size:13px}.org-current-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.org-current-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.org-current-item{background:#fff;border:1px solid #e5e7eb;border-radius:14px;gap:8px;padding:14px 16px;display:grid}.org-current-item.wide{grid-column:span 2}.org-current-item span{color:#6b7280;font-size:12px;font-weight:600}.org-current-item strong{color:#111827;word-break:break-word;font-size:15px}.org-table-card{background:#fff;border:1px solid #d1d5db;border-radius:14px;overflow:hidden}.org-table-wrap{overflow:auto}.org-table{border-collapse:collapse;width:100%}.org-table th,.org-table td{text-align:left;white-space:nowrap;font-size:var(--list-cell-font);color:#2f3440;border-bottom:1px solid #d1d5db;padding:12px 14px}.org-table th{font-weight:600;font-size:var(--list-head-font);color:#666;background:#f3f4f6}.org-table tbody tr:last-child td{border-bottom:0}.org-services-cell{min-width:180px;white-space:normal!important}.org-tenant-type-cell{min-width:90px;white-space:normal!important}.tenant-type-tag{border:1px solid #0000;border-radius:999px;align-items:center;min-height:22px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.tenant-type-tag.partner{color:#166534;background:#dcfce7;border-color:#bbf7d0}.tenant-type-tag.client{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.tenant-type-tag.evolany{color:#7c3aed;background:#f3e8ff;border-color:#e9d5ff}.tenant-list-service-tags{flex-wrap:wrap;gap:6px;display:flex}.tenant-list-service-tag{border:1px solid #0000;border-radius:999px;align-items:center;min-height:22px;padding:3px 8px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.tenant-list-service-tag.anybot{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.tenant-list-service-tag.anyapps{color:#0f766e;background:#ccfbf1;border-color:#99f6e4}.tenant-list-service-tag.anylinks{color:#7e22ce;background:#f3e8ff;border-color:#e9d5ff}.tenant-list-service-tag.anybase{color:#c2410c;background:#ffedd5;border-color:#fed7aa}.tenant-list-service-tag.other{color:#4b5563;background:#f3f4f6;border-color:#e5e7eb}.org-detail-cell{text-align:center}.org-detail-btn{color:#6f7787;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.org-detail-btn svg{width:18px;height:18px}.org-detail-btn:hover:enabled{color:#2f63e0;background:#eef2fb;border-color:#d0d7e8;transform:none}.org-pagination{justify-content:center;align-items:center;gap:18px;padding:16px 0 8px;display:flex}.org-page-btn{color:#6b7280;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:42px;height:42px;padding:0;font-size:22px;font-weight:600}.org-page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.org-page-btn:hover:enabled{color:#4b5563;background:#f5f6fb;transform:none}.org-page-gap{color:#6b7280;font-size:16px;line-height:1}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.pagination-btn{border:1px solid var(--border);background:var(--card);width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0;font-size:13px;font-weight:600;line-height:1;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.pagination-btn:hover:enabled{background:#8b96e8;background:color-mix(in srgb, var(--primary) 58%, #fff);color:var(--primary-foreground);border-color:#0000}.pagination-btn.active{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground);cursor:default;opacity:1}.pagination-btn:disabled:not(.active){opacity:.45;cursor:not-allowed}.pagination-gap{color:var(--muted-foreground);padding:0 2px;font-size:14px;line-height:1}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);gap:6px;padding:14px;display:grid}.metric-card small{color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.metric-card h3{color:var(--foreground);font-size:20px;line-height:1.1}.metric-card p{color:#4e5664;margin:0;font-size:12px}.metric-card.blue1{background:#d2eefb}.metric-card.green1{background:#d8f4d1}.metric-card.yellow1{background:#f8edc7}.metric-card.purple1{background:#ede7fc}.metric-card.red1{background:#f9e4e3}.metric-card.gray1{background:#eff0f1}.service-grid{flex-wrap:wrap;align-items:stretch;gap:12px;display:flex}.service-card{background:#fff;border:1px solid #d4dbe7;border-radius:8px;flex:230px;align-items:center;gap:10px;max-width:300px;min-height:112px;padding:12px;display:flex}.service-card-interactive{appearance:none;text-align:left;width:100%;height:auto;color:inherit;background:linear-gradient(#fff 0%,#f7faff 100%);border-color:#ced8f0;padding:14px;transition:border-color .16s,box-shadow .16s,transform .16s;box-shadow:0 10px 26px #24336d0f}.service-card-interactive:hover:enabled{background:linear-gradient(#fff 0%,#f3f6ff 100%);border-color:#3f58d9;transform:translateY(-2px);box-shadow:0 16px 34px #3f58d91f}.service-card-interactive:focus-visible{border-color:#3f58d9;outline:0;box-shadow:0 0 0 3px #3f58d92e,0 14px 32px #3f58d91f}.service-card-disabled{filter:grayscale();opacity:.78;box-shadow:none}.service-logo-wrap{flex-shrink:0;justify-content:center;align-items:center;width:72px;display:flex}.service-logo{width:58px;max-width:100%;height:auto;display:block}.service-copy{flex:1;min-width:0}.service-card-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.service-copy h4{color:#1a2234;margin:0;font-size:14px;font-weight:700;line-height:1.2}.service-copy p{color:#1f2937;margin:6px 0 8px;font-size:12px;line-height:1.35}.service-summary-block{background:#ffffffd1;border:1px solid #e3e8f5;border-radius:12px;gap:4px;margin-top:4px;padding:10px 12px;display:grid}.service-summary-label{letter-spacing:.08em;text-transform:uppercase;color:#75809b;font-size:10px;font-weight:700}.service-summary-block strong{color:#1f2937;font-size:12px;line-height:1.45}.service-summary-block small{color:#677185;font-size:11px;line-height:1.4}.service-card-link{color:#3148c4;align-items:center;gap:6px;margin-top:10px;font-size:12px;font-weight:700;display:inline-flex}.service-card-link:after{content:"→";font-size:12px}.status-chip{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;width:auto;padding:4px 8px;font-size:12px;font-weight:700;line-height:1.1;display:inline-flex}.status-chip.active{color:#1f8a4c;background:#e8f7ee}.status-chip.coming{color:#d97706;background:#fff3e6}.services-catalog{display:block}.card,.panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);box-shadow:0 2px 8px #161b2d0a}.card{padding:16px}.card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.card-head-copy{min-width:0}.card-head h3{color:#252a34;font-size:16px;font-weight:600}.card-head p{color:var(--muted-foreground);margin:6px 0 0;font-size:12px}.card-head-actions{flex-shrink:0}.card-body{gap:12px;margin-top:12px;display:grid}.form-grid,.form-inline{gap:12px;display:grid}.form-inline{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end}.field{gap:5px;min-width:0;display:grid}.field span{color:var(--foreground);font-size:12px;font-weight:600}input,textarea{border:1px solid var(--input);border-radius:var(--radius-sm);width:100%;min-width:0;color:var(--foreground);font:inherit;background:#fff;padding:8px 10px;font-size:13px}input:not([type=checkbox]):not([type=radio]){height:38px}textarea{resize:vertical;min-height:74px}input[type=checkbox],input[type=radio]{width:auto;height:auto;padding:0}input::placeholder,textarea::placeholder{color:#8a91a0}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus{border-color:var(--ring);outline:none;box-shadow:0 0 0 3px #3f58d929}.check{color:var(--muted-foreground);align-items:center;gap:8px;font-size:13px;display:flex}.check input{width:auto;height:auto}.button-row{flex-wrap:wrap;gap:10px;display:flex}.hint{color:var(--muted-foreground);margin:0;font-size:12px}.section-grid{align-items:start;gap:16px;display:grid}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{overflow:hidden}.panel header{border-bottom:1px solid var(--border);color:#31384a;background:#f7f8fc;padding:11px 14px;font-size:12px;font-weight:600}.panel pre{color:#2f3542;background:#fff;max-height:320px;margin:0;padding:14px;font-size:12px;line-height:1.5;overflow:auto}.table-wrap{background:#fff;overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th,.data-table td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:10px 12px}.data-table th{color:#40485a;z-index:1;background:#f7f8fc;font-weight:600;position:sticky;top:0}.data-table td{color:#2f3542}.table-empty{text-align:center!important;color:var(--muted-foreground)!important}.info-stack{gap:4px;display:grid}.info-stack p{color:#2f3542;margin:0;font-size:13px}.billing-shell{gap:18px}.billing-contact-form{gap:14px;display:grid}.billing-contact-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.billing-contact-note{grid-column:1/-1}.billing-contact-actions{justify-content:flex-end;display:flex}.billing-config-edit-btn{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.billing-config-summary{gap:14px;display:grid}.billing-config-status-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.billing-config-hint{color:#667085;margin:0;font-size:12px;line-height:1.45}.billing-config-alert{color:#8a3636;background:#fff2f2;border:1px solid #f2c7c7;border-radius:12px;margin:0;padding:12px 14px;font-size:13px;line-height:1.5}.billing-config-alert strong{color:#732828}.billing-plan-change-alert{gap:12px;display:grid}.billing-plan-change-alert p{margin:0}.billing-config-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.billing-config-stat{background:#fafcff;border:1px solid #dde4f0;border-radius:14px;gap:6px;padding:14px;display:grid}.billing-config-stat span{color:#667085;font-size:12px;font-weight:600}.billing-config-stat strong{color:#1b2340;font-size:16px;line-height:1.3}.billing-config-stat small{color:#556070;font-size:13px;line-height:1.5}.billing-hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);align-items:stretch;gap:16px;display:grid}.billing-plan-spotlight{background:linear-gradient(135deg,#f8faff 0%,#eef3ff 54%,#f7f5ff 100%);border:1px solid #d7deed;border-radius:18px;gap:18px;padding:20px;display:grid;box-shadow:0 14px 34px #3d58a614}.billing-plan-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.billing-plan-title{gap:8px;display:grid}.billing-kicker{letter-spacing:.08em;text-transform:uppercase;color:#5b67a5;font-size:11px;font-weight:700}.billing-plan-title h3{color:#1b2340;font-size:34px;line-height:1}.billing-plan-title p{color:#495165;max-width:60ch;margin:0;font-size:14px;line-height:1.55}.billing-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.billing-badge.current{color:#fff;background:#24336d}.billing-badge.popular{color:#7a5c00;background:#f1e6b5}.billing-badge.active{color:#156c3f;background:#d8f3e2}.billing-badge.pastdue{color:#8a4b00;background:#fbe3c4}.billing-badge.canceled{color:#8a3636;background:#efe3e3}.billing-badge.pending{color:#9a6700;background:#fef0c7}.billing-actor{flex-direction:column;gap:3px;line-height:1.3;display:flex}.billing-actor-name{color:var(--primary-dark);font-weight:600}.billing-actor-role{color:var(--accent-foreground);background:var(--accent);border-radius:999px;align-self:flex-start;padding:1px 8px;font-size:11px;font-weight:600}.billing-actor-email{color:var(--muted-foreground);font-size:12px}.billing-source{color:var(--muted-foreground)}.panel-head-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.billing-inline-list{gap:4px;display:grid}.billing-interval-toggle{gap:8px;display:inline-flex}.billing-actions-cell{white-space:nowrap}.billing-icon-action{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:center;gap:6px;height:auto;padding:8px 10px;font-size:12px;font-weight:300;line-height:1;display:inline-flex}.billing-icon-action+.billing-icon-action{margin-left:4px}.billing-icon-action svg{width:24px;height:24px}.billing-icon-action.view{color:#475569}.billing-icon-action.refund{color:#b45309}.billing-icon-action.charge{color:#047857}.billing-icon-action.view:hover:enabled{background:#e2e8f0}.billing-icon-action.refund:hover:enabled{background:#fef3e2}.billing-icon-action.charge:hover:enabled{background:#e3f5ec}.invoice-download-btn{white-space:nowrap;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:inline-flex}.invoice-download-btn svg{flex-shrink:0}.billing-config-modal{width:min(620px,100%)}.billing-config-modal-hero{gap:8px;display:grid}.billing-config-modal-hero p{color:#556070;margin:0;font-size:14px;line-height:1.6}.billing-config-option-list{gap:12px;display:grid}.billing-config-option{cursor:pointer;background:#fff;border:1px solid #d6d9e0;border-radius:14px;grid-template-columns:auto 1fr;align-items:flex-start;gap:12px;padding:14px;display:grid}.billing-config-option.selected{background:#f8faff;border-color:#24336d;box-shadow:0 0 0 2px #24336d14}.billing-config-option input{margin-top:4px}.billing-config-option-copy{gap:4px;display:grid}.billing-config-option-copy strong{color:#111827;font-size:15px;line-height:1.3}.billing-config-option-copy small{color:#556070;font-size:13px;line-height:1.5}.billing-config-modal-note{color:#4b5563;background:#f7f8fc;border-radius:12px;margin:0;padding:12px 14px;font-size:13px;line-height:1.5}.billing-config-modal-note strong{color:#252a34}.payment-methods-modal{gap:18px;width:min(720px,100%)}.payment-method-list{gap:12px;display:grid}.payment-method-card{background:#fafcff;border:1px solid #d6ddea;border-radius:16px;gap:12px;padding:16px;transition:border-color .18s,background-color .18s,box-shadow .18s;display:grid}.payment-method-card:hover{background:#fff;border-color:#c7d4f5}.payment-method-card.is-selected{background:#f7f9ff;border-color:#9fb7ff;box-shadow:0 0 0 1px #5d76e814}.payment-method-card-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.payment-method-select-btn{text-align:left;cursor:pointer;background:0 0;border:0;flex:280px;align-items:center;gap:14px;min-width:0;padding:0;display:flex}.payment-method-select-btn.is-disabled{cursor:default}.payment-method-select-input{opacity:0;pointer-events:none;position:absolute}.payment-method-select-indicator{background:#fff;border:2px solid #c7d2e5;border-radius:999px;flex:0 0 22px;width:22px;height:22px;transition:border-color .18s,box-shadow .18s;position:relative}.payment-method-select-indicator.is-selected{border-color:#5d76e8;box-shadow:0 0 0 3px #5d76e81a}.payment-method-select-indicator.is-selected:after{content:"";border-radius:inherit;background:#5d76e8;position:absolute;inset:4px}.payment-method-card-copy{gap:4px;display:grid}.payment-method-card-copy strong{color:#1b2340;font-size:16px;line-height:1.35}.payment-method-card-copy small{color:#667085;font-size:13px;line-height:1.5}.payment-method-card-actions{justify-content:flex-end;display:flex}.payment-method-delete-btn{color:#dc2626;cursor:pointer;background:0 0;border:0;border-radius:8px;width:32px;height:32px;margin-left:8px;padding:0;transition:background-color .18s,color .18s}.payment-method-delete-btn:hover:not(:disabled),.payment-method-delete-btn:focus-visible{color:#fff;background:#dc2626;outline:none}.payment-method-delete-btn:disabled{cursor:not-allowed;opacity:.6}.payment-method-delete-btn svg{width:16px;height:16px}.payment-methods-blocked-note{gap:6px;display:grid}.payment-methods-blocked-time{color:#8a3636}.payment-method-default-removal{justify-content:flex-end;display:flex}.payment-methods-footer-note{color:#6b7280;margin:0;font-size:12px;line-height:1.6}.payment-methods-footer-time{color:#8a3636;font-weight:600}.payment-methods-empty{color:#667085;text-align:center;background:#fafcff;border:1px dashed #d6ddea;border-radius:16px;margin:0;padding:18px;font-size:14px;line-height:1.6}.link-btn{color:#24336d;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-weight:600}.link-btn:hover{text-decoration:underline}.empty-row{text-align:center;color:#6b7280;padding:28px 12px}.muted{color:#6b7280}button.alt.danger,.member-modal-save.danger{color:#b3261e;border-color:#f1c6c2}.member-modal-save.danger{color:#fff;background:#b3261e}.member-modal-save.danger:hover:enabled{background:#8e1d17;border-color:#8e1d17}.tenant-modal-delete-btn:hover:enabled{background:linear-gradient(90deg,#b91c1c 0%,#991b1b 100%);border-color:#0000}.admin-customer-modal{gap:18px;width:min(920px,100%);padding-left:32px;padding-right:32px}.admin-action-modal{gap:14px;width:min(560px,100%)}.confirm-dialog{width:min(440px,100%)}.confirm-dialog .manage-plan-modal-head h3{word-break:break-word;font-size:22px}.form-grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=640px){.form-grid-2,.plan-editor-pricing-grid,.plan-editor-discount-row,.stripe-log-columns{grid-template-columns:1fr}.billing-interval-toggle{width:100%}.billing-interval-toggle button{flex:1}}.billing-price-row,.plan-price{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.billing-price-row strong,.plan-price strong{color:#111827;font-size:32px;line-height:1}.billing-price-row span,.plan-price span{color:#5b6476;padding-bottom:3px;font-size:13px}.billing-spotlight-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.billing-spotlight-stat{background:#ffffffe0;border:1px solid #7b8cbd2e;border-radius:14px;gap:6px;padding:14px;display:grid}.billing-spotlight-stat span{letter-spacing:.04em;text-transform:uppercase;color:#6b7280;font-size:11px;font-weight:700}.billing-spotlight-stat strong{color:#1f2937;font-size:20px}.billing-spotlight-stat small{color:#596174;font-size:12px}.billing-usage-list{gap:14px;display:grid}.usage-meter{gap:8px;display:grid}.usage-meter-head{color:#4b5563;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.usage-meter-head strong{color:#1f2937}.usage-track{background:#6374a124;border-radius:999px;width:100%;height:10px;overflow:hidden}.usage-fill{border-radius:inherit;background:linear-gradient(90deg,#3554d1 0%,#5f7cff 100%);height:100%}.usage-fill.accent{background:linear-gradient(90deg,#0f766e 0%,#4db7a8 100%)}.billing-note-list{gap:10px;display:grid}.billing-note-list p{color:#2f3542;margin:0;font-size:13px;line-height:1.55}.checkbox-row{color:#374151;align-items:center;gap:10px;font-size:13px;display:inline-flex}.checkbox-row input{margin:0}.token-paygo-note{color:#7c5b00;background:#fef3c7;border-radius:999px;align-items:center;width:fit-content;max-width:100%;padding:7px 10px;font-size:12px;font-weight:700;line-height:1.4;display:inline-flex}.token-meter-grid,.token-stat-grid,.token-detail-grid{gap:12px;display:grid}.token-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.token-meter-card,.token-stat-card,.token-detail-card{background:#fbfcff;border:1px solid #e4e9f3;border-radius:14px;gap:8px;padding:14px;display:grid}.token-meter-card small,.token-stat-card small,.token-detail-card small{color:#697386;font-size:12px}.token-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.token-stat-card span,.token-detail-card span{letter-spacing:.04em;text-transform:uppercase;color:#7b8597;font-size:11px;font-weight:700}.token-stat-card strong,.token-detail-card strong{color:#1f2937;font-size:18px}.token-detail-grid{grid-template-columns:1.2fr 1fr 1fr}.token-detail-card.highlight{background:linear-gradient(#fffdf5 0%,#fff8dc 100%);border-color:#f4df96}.anyapps-modal{gap:18px;width:min(760px,100%)}.anyapps-modal-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:16px;padding-right:28px;display:grid}.anyapps-modal-logo{width:84px}.anyapps-modal-title{gap:6px;display:grid}.anyapps-modal-title h3{text-align:left;color:#18233b;margin:0;font-size:28px}.anyapps-modal-title p{color:#5c6578;margin:0;font-size:14px;line-height:1.55}.anyapps-modal-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.anyapps-modal-stat{background:#f8faff;border:1px solid #e2e7f2;border-radius:14px;gap:6px;padding:14px;display:grid}.anyapps-modal-stat span{letter-spacing:.04em;text-transform:uppercase;color:#6b7280;font-size:11px;font-weight:700}.anyapps-modal-stat strong{color:#111827;font-size:18px}.anyapps-modal-stat small{color:#667085;font-size:12px}.anyapps-modal-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.anyapps-modal-panel{background:#fff;border:1px solid #e3e8f1;border-radius:16px;gap:10px;padding:16px;display:grid}.anyapps-modal-panel h4{color:#18233b;font-size:15px}.anyapps-modal-panel p{color:#4b5563;margin:0;font-size:13px;line-height:1.55}.anyapps-modal-tags{flex-wrap:wrap;gap:8px;display:flex}.anyapps-info-tag{color:#3148c4;background:#eef2ff;border-radius:999px;align-items:center;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex}.anyapps-modal-actions{margin-top:0}.manage-plan-modal{gap:18px;width:min(920px,100%)}.manage-plan-modal-head{gap:8px;display:grid}.manage-plan-modal-head h3{text-align:left;color:#18233b;margin:0;font-size:28px}.manage-plan-modal-head p{color:#5b6476;margin:0;font-size:14px;line-height:1.6}.plan-editor-pricing-shell{gap:14px;display:grid}.plan-editor-section-head{gap:6px;display:grid}.plan-editor-section-head strong{color:#18233b;font-size:18px}.plan-editor-section-head p{color:#5b6476;margin:0;font-size:13px;line-height:1.55}.plan-editor-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.plan-editor-price-card{box-shadow:none;background:#fff;border:1px solid #dfe5f0;border-radius:16px;align-content:start;gap:12px;padding:18px;display:grid}.plan-editor-price-card.accent{background:#fff}.plan-editor-yearly-card{gap:14px}.plan-editor-yearly-card .plan-editor-price-card-head{gap:6px}.plan-editor-yearly-card .plan-editor-price-card-head p{max-width:34rem}.plan-editor-price-card-head{gap:4px;display:grid}.plan-editor-card-kicker{color:#3f51c1;letter-spacing:.04em;text-transform:uppercase;background:#eef2ff;border-radius:999px;align-items:center;width:fit-content;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.plan-editor-price-card-head strong{color:#18233b;font-size:18px}.plan-editor-price-card-head p{color:#5b6476;margin:0;font-size:13px;line-height:1.55}.plan-editor-price-controls{gap:12px}.plan-editor-discount-row{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:start;gap:12px 16px;display:grid}.plan-editor-discount-row>.field{min-width:0}.plan-editor-discount-row .field select,.plan-editor-discount-row .field input{width:100%;min-width:0;height:48px}.plan-editor-discount-row .field input{padding-left:16px;padding-right:16px}.plan-editor-price-summary,.plan-editor-price-meta{background:#f8faff;border:1px solid #e5eaf5;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.plan-editor-price-summary span,.plan-editor-price-meta span{color:#667085;font-size:12px;font-weight:600}.plan-editor-price-summary strong,.plan-editor-price-meta strong{color:#18233b;font-size:24px;line-height:1.1}.plan-editor-price-summary small{color:#556070;font-size:12px}.plan-editor-price-summary.muted strong{font-size:18px}.plan-editor-card-note{color:#556070;margin:0;font-size:12px;line-height:1.5}.plan-editor-preview-card{background:#f8faff}.plan-editor-toggle-card{cursor:pointer;background:0 0;border:0;border-radius:0;align-items:flex-start;gap:12px;padding:4px 2px 0;display:flex}.plan-editor-toggle-copy{gap:4px;display:grid}.plan-editor-toggle-copy strong{color:#18233b;font-size:14px}.plan-editor-toggle-copy small{color:#5b6476;font-size:13px;line-height:1.5}.plan-editor-checkbox{block-size:22px;inline-size:22px;aspect-ratio:1;box-sizing:border-box;appearance:none;cursor:pointer;background:#fff;border:2px solid #a8b2c8;border-radius:50%;flex:0 0 22px;place-items:center;width:22px;min-width:22px;max-width:22px;height:22px;max-height:22px;margin:3px 0 0;padding:0;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid;overflow:hidden}.plan-editor-checkbox:after{content:"";background:#5a48dc;border-radius:50%;width:9px;height:9px;transition:transform .16s;transform:scale(0)}.plan-editor-checkbox:checked{border-color:#5a48dc;box-shadow:0 0 0 4px #5a48dc1f}.plan-editor-checkbox:checked:after{transform:scale(1)}.plan-editor-checkbox:focus-visible{outline:none;box-shadow:0 0 0 4px #5a48dc2e}.plan-editor-meter-panel{background:#fff;border:1px solid #e3e8f2;border-radius:18px}.plan-editor-meter-head{background:#f8faff;border-bottom:1px solid #e8edf5;gap:6px;padding:16px 18px 14px;display:grid}.plan-editor-meter-head strong{color:#18233b;font-size:16px}.plan-editor-meter-head p{color:#5b6476;margin:0;font-size:13px;line-height:1.55}.plan-editor-meter-table th,.plan-editor-meter-table td{white-space:normal;vertical-align:middle}.plan-editor-meter-table tbody tr.is-disabled{background:#fbfcfe}.plan-editor-meter-name{width:100%;min-width:190px}.plan-editor-meter-name strong{color:#1f2937;font-size:14px;display:block}.plan-editor-meter-name small{color:#7b8597;font-size:12px}.plan-editor-meter-help{color:#7b8597;margin-top:4px;font-size:12px;line-height:1.5;display:block}.plan-editor-tax-card{box-shadow:none;background:#fff;border:1px solid #dfe5f0;border-radius:16px;flex-direction:column;gap:12px;padding:18px;display:flex}.plan-editor-tax-explainer{flex-direction:column;gap:4px;display:flex}.plan-editor-tax-explainer p{color:#5b6476;margin:0;font-size:13px;line-height:1.55}.plan-editor-tax-explainer small{color:#7b8597;font-size:12px;line-height:1.5}.plan-editor-freetier-grid{flex-wrap:wrap;gap:14px;padding:18px;display:flex}.plan-editor-freetier-card{background:#fff;border:1px solid #dfe5f0;border-radius:16px;flex-direction:column;flex:220px;justify-content:space-between;gap:14px;min-width:0;padding:20px 18px;display:flex}.plan-editor-freetier-card.is-disabled{opacity:.55}.plan-editor-freetier-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.plan-editor-freetier-card .field{width:100%}.plan-editor-freetier-card .plan-editor-meter-input{width:100%;max-width:none}.plan-editor-freetier-toggle{color:#5b6476;white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.plan-editor-meter-toggle-cell{text-align:center}.plan-editor-meter-toggle-cell .plan-editor-checkbox{margin:0 auto}.plan-editor-meter-input{min-width:120px;max-width:160px}.plan-editor-meter-input:disabled{color:#96a0b2;cursor:not-allowed;background:#f3f6fb}.manage-plan-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.manage-plan-overview-card,.manage-plan-impact-card{background:#f9fbff;border:1px solid #e0e6f2;border-radius:16px;gap:6px;padding:15px;display:grid}.manage-plan-overview-card.current{background:linear-gradient(#fff 0%,#f6f8ff 100%)}.manage-plan-overview-card.selected{background:linear-gradient(#f8faff 0%,#eff4ff 100%);border-color:#cad6fb}.manage-plan-overview-card span,.manage-plan-impact-card span{letter-spacing:.05em;text-transform:uppercase;color:#728097;font-size:11px;font-weight:700}.manage-plan-overview-card strong,.manage-plan-impact-card strong{color:#111827;font-size:20px}.manage-plan-overview-card small,.manage-plan-impact-card small{color:#667085;font-size:12px}.manage-plan-section{gap:14px;display:grid}.manage-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.manage-plan-option{appearance:none;text-align:left;height:auto;min-height:170px;color:inherit;background:#fff;border:1px solid #dce2ec;border-radius:18px;align-content:start;gap:8px;padding:16px;display:grid;box-shadow:0 8px 24px #18234a0a}.manage-plan-option:hover:enabled{background:#fbfcff;border-color:#9fb1ee;transform:translateY(-1px)}.manage-plan-option.selected{background:linear-gradient(#fff 0%,#f5f7ff 100%);border-color:#3f58d9;box-shadow:0 14px 34px #3f58d91f}.manage-plan-option.current{border-style:solid}.manage-plan-option-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.manage-plan-option-head strong{color:#18233b;font-size:20px}.manage-plan-option-price{color:#3148c4;font-size:14px;font-weight:700}.manage-plan-option small{color:#667085;font-size:12px;line-height:1.45}.manage-plan-impact{background:#fbfcfe;border:1px solid #e5eaf4;border-radius:18px;padding:16px}.manage-plan-impact-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.manage-plan-warning{gap:4px;display:grid}.manage-plan-warning strong{font-size:13px}.manage-plan-warning span{font-size:12px}.section-copy{gap:6px;display:grid}.section-copy h3{color:#1f2937;font-size:18px}.section-copy p{color:#667085;margin:0;font-size:13px}.billing-plan-grid{flex-wrap:wrap;align-items:stretch;gap:12px;display:flex}.billing-plan-grid .plan-card{flex:320px;min-width:0}.plan-card{background:#fff;border:1px solid #dce2ec;border-radius:18px;align-content:start;gap:16px;padding:18px;display:grid;box-shadow:0 10px 30px #18234a0a}.plan-card.current{background:linear-gradient(#fff 0%,#f6f8ff 100%);border-color:#3f58d9;box-shadow:0 16px 40px #3f58d924}.plan-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.plan-card-head h3{color:#18233b;font-size:22px}.plan-card-head p{color:#596174;margin:6px 0 0;font-size:13px;line-height:1.5}.plan-card-badges{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.plan-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.plan-spec-grid div{border-top:1px solid #edf1f7;gap:4px;padding-top:10px;display:grid}.plan-spec-grid dt{letter-spacing:.04em;text-transform:uppercase;color:#7b8597;font-size:11px;font-weight:700}.plan-spec-grid dd{color:#1f2937;margin:0;font-size:14px;font-weight:600;line-height:1.45}.plan-comparison-table .plan-row-current td{background:#f5f7ff}.plan-table-name{align-items:center;gap:8px;display:flex}.billing-footnote{color:#697386;margin:-4px 0 0;font-size:12px}.stripe-log-list{gap:12px;display:grid}.stripe-log-card{background:#fbfcff;border:1px solid #e4e8f1;border-radius:14px;overflow:hidden}.stripe-log-card summary{cursor:pointer;padding:14px 16px;list-style:none}.stripe-log-card summary::-webkit-details-marker{display:none}.stripe-log-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.stripe-log-card summary small{color:#697386}.stripe-log-body{border-top:1px solid #e4e8f1;gap:12px;padding:16px;display:grid}.stripe-log-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stripe-log-columns strong{margin-bottom:6px;display:block}.stripe-log-error{color:#b42318;margin:0;font-size:13px}.json-block{color:#dbe6ff;white-space:pre-wrap;word-break:break-word;background:#0f172a;border-radius:12px;margin:0;padding:12px;font-size:12px;line-height:1.5;overflow:auto}@media (width<=980px){.app-root:not(.guest){height:auto;overflow:visible}.dashboard-shell{flex-direction:column;height:auto;min-height:100dvh;overflow:visible}.dashboard-sidenav{border-right:0;border-bottom:1px solid var(--border);width:100%;min-width:0;height:auto;overflow:visible}.sidenav-nav{gap:8px;display:flex}.sidenav-item{height:40px}.sidenav-footer{grid-template-columns:1fr;align-items:stretch;position:static}.sidenav-logout{width:100%;padding:0 12px}.dashboard-topbar{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px;padding:16px 14px 30px}.team-topbar-search,.list-topbar-search{flex:auto;width:100%;max-width:none}.team-topbar-right,.list-topbar-right{flex-wrap:wrap;width:100%}.team-new-btn,.list-new-btn{width:100%}.org-topbar-search{flex:auto;width:100%;max-width:none}.org-new-btn{width:100%}.team-shell{width:100%;max-width:100%}.team-filters-form{grid-template-columns:1fr}.team-filter-actions{justify-content:flex-start}.team-filter-btn{width:40px}.org-shell{width:100%}.org-current-head{flex-direction:column;align-items:stretch}.org-current-actions{flex-wrap:wrap;width:100%;margin-left:0}.org-current-grid{grid-template-columns:1fr}.org-current-item.wide{grid-column:span 1}.teams-shell{grid-template-columns:1fr}.team-table th,.team-table td,.org-table th,.org-table td{padding:12px;font-size:13px}.team-avatar{width:38px;height:38px;font-size:15px}.team-search-input{height:48px;font-size:18px}.member-modal{padding:20px}.member-modal h3{font-size:28px}.dashboard-main{height:auto}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col,.billing-hero-grid{grid-template-columns:1fr}.billing-spotlight-meta,.billing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.token-detail-grid{grid-template-columns:1fr}.manage-plan-grid,.manage-plan-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-grid{gap:10px}.service-card{flex:calc(50% - 10px);max-width:none;min-height:106px}.anyapps-modal-summary,.anyapps-modal-panels{grid-template-columns:1fr}.settings-card{padding:0 16px}.settings-row{flex-direction:column;align-items:flex-start;padding:16px 0}.settings-select,.settings-logout-btn{width:100%}.security-grid,.security-form.two-col,.audit-filter-form{grid-template-columns:1fr}.security-form button{width:100%}}@media (width<=640px){.app-root.guest{padding:14px}.auth-card{padding:20px}.content{padding:14px}.metric-grid{grid-template-columns:1fr}.billing-plan-spotlight{padding:16px}.billing-plan-head{flex-direction:column;align-items:flex-start}.billing-plan-title h3,.billing-price-row strong,.plan-price strong{font-size:28px}.billing-spotlight-meta,.billing-plan-grid,.plan-spec-grid,.token-meter-grid,.token-stat-grid,.manage-plan-overview,.manage-plan-grid,.manage-plan-impact-grid{grid-template-columns:1fr}.usage-meter-head,.plan-card-head,.plan-table-name{flex-direction:column;align-items:flex-start}.content-team{padding:0 14px 20px}.team-topbar h2{font-size:30px}.team-new-btn{height:48px;font-size:18px}.member-modal-backdrop{align-items:flex-start;padding:12px}.member-modal{width:100%;max-height:calc(100dvh - 24px)}.member-modal input:not([type=checkbox]),.member-modal select,.tenant-modal-field input:not([type=checkbox]),.tenant-modal-field select{height:48px;font-size:16px}.tenant-services-grid{width:100%}.member-modal-save{height:48px;font-size:18px}.service-grid{gap:10px}.service-card{flex:100%;gap:8px;max-width:none;min-height:100px;padding:10px}.service-card-head,.anyapps-modal-head{grid-template-columns:1fr;display:grid}.service-card-head{gap:6px}.anyapps-modal,.manage-plan-modal{padding:18px}.anyapps-modal-title h3,.manage-plan-modal-head h3{font-size:24px}.anyapps-modal-logo{width:64px}.service-logo-wrap{width:56px}.service-logo{width:44px}.service-copy p{font-size:12px}.form-inline{grid-template-columns:1fr}.plan-editor-freetier-grid{padding:14px}.plan-editor-freetier-card{flex:100%}.card-head,.billing-config-status-row{flex-direction:column;align-items:stretch}.card-head-actions{width:100%}.billing-config-edit-btn{justify-content:center;width:100%}}
