:root{color:#09090b;font-synthesis:none;--foreground:#09090b;--muted:#f4f4f5;--muted-foreground:#71717a;--border:#e4e4e7;--input:#d4d4d8;--ring:#18181b;--radius:8px;background:#fafafa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;font-size:14px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin:0}a{color:inherit}::selection{color:#fff;background:#18181b}.button{white-space:nowrap;border:1px solid #0000;border-radius:6px;outline:none;flex:none;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.button:focus-visible,.input:focus-visible,.textarea:focus-visible,.select-trigger:focus-visible,.switch:focus-visible,.tabs-trigger:focus-visible{box-shadow:0 0 0 2px white, 0 0 0 4px var(--ring)}.button-default{color:#fff;background:#18181b}.button-default:hover{background:#27272a}.button-outline{border-color:var(--border);color:var(--foreground);background:#fff;box-shadow:0 1px 2px #00000008}.button-outline:hover,.button-ghost:hover{background:var(--muted)}.button-ghost{color:var(--foreground);background:0 0}.button-destructive{color:#fff;background:#18181b}.button-md{height:36px;padding:0 13px}.button-sm{height:30px;padding:0 9px}.button-icon{width:34px;height:34px;padding:0}.badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;width:fit-content;padding:5px 8px;font-size:11px;font-weight:600;line-height:1;display:inline-flex}.badge-secondary{background:var(--muted);color:#52525b}.badge-outline{border-color:var(--border);color:#52525b;background:#fff}.badge-solid{color:#fff;background:#18181b}.card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;min-width:0;box-shadow:0 1px 2px #00000005}.card-header{flex-direction:column;gap:4px;padding:18px 20px 14px;display:flex}.card-title{letter-spacing:-.01em;font-size:15px;font-weight:600;line-height:1.3}.card-description{color:var(--muted-foreground);font-size:13px;line-height:1.5}.card-content{padding:0 20px 18px}.card-footer{border-top:1px solid var(--border);color:var(--muted-foreground);align-items:center;gap:4px;padding:9px 12px;font-size:12px;display:flex}.separator{background:var(--border);width:100%;height:1px}.label{color:#27272a;font-size:13px;font-weight:500;line-height:1}.input,.textarea,.select-trigger{border:1px solid var(--input);color:var(--foreground);background:#fff;border-radius:6px;outline:none;font-size:14px}.input{width:100%;height:36px;padding:0 10px}.textarea{resize:vertical;width:100%;min-height:110px;padding:10px}.input::placeholder,.textarea::placeholder{color:#a1a1aa}.form-stack{gap:16px;display:grid}.form-field{gap:7px;display:grid}.field-hint{color:var(--muted-foreground);font-size:12px}.select-trigger{text-align:left;justify-content:space-between;align-items:center;width:100%;height:36px;padding:0 9px;display:flex}.select-content{border:1px solid var(--border);min-width:var(--radix-select-trigger-width);z-index:60;background:#fff;border-radius:7px;padding:4px;animation:.12s ease-out pop;overflow:hidden;box-shadow:0 10px 30px #0000001a}.select-item{color:#27272a;-webkit-user-select:none;user-select:none;border-radius:5px;outline:none;align-items:center;min-height:31px;padding:0 30px 0 9px;font-size:13px;display:flex;position:relative}.select-item[data-highlighted]{background:var(--muted)}.select-item-indicator{position:absolute;right:9px}.dropdown-content{border:1px solid var(--border);z-index:60;background:#fff;border-radius:7px;min-width:150px;padding:4px;animation:.12s ease-out pop;box-shadow:0 10px 30px #0000001a}.dropdown-item{color:#27272a;-webkit-user-select:none;user-select:none;border-radius:5px;outline:none;align-items:center;min-height:31px;padding:0 9px;font-size:13px;display:flex}.dropdown-item[data-highlighted]{background:var(--muted)}.dropdown-item[data-disabled]{color:#a1a1aa;pointer-events:none}.dropdown-item-destructive{color:#b91c1c}.dropdown-separator{background:var(--border);height:1px;margin:4px}.switch{background:#d4d4d8;border:0;border-radius:999px;outline:none;width:36px;height:20px;padding:2px;transition:background .15s}.switch[data-state=checked]{background:#18181b}.switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block;transform:translate(0);box-shadow:0 1px 2px #00000040}.switch[data-state=checked] .switch-thumb{transform:translate(16px)}.tabs-list{background:var(--muted);border-radius:6px;align-items:center;gap:2px;padding:3px;display:inline-flex}.tabs-trigger{color:var(--muted-foreground);background:0 0;border:0;border-radius:4px;outline:none;height:28px;padding:0 10px;font-size:12px;font-weight:500}.tabs-trigger[data-state=active]{color:#18181b;background:#fff;box-shadow:0 1px 2px #00000014}.dialog-overlay{z-index:50;background:#09090b8c;animation:.15s ease-out fade;position:fixed;inset:0}.dialog-content{border:1px solid var(--border);z-index:51;background:#fff;border-radius:9px;width:calc(100% - 32px);max-width:480px;max-height:min(90vh,760px);padding:20px;animation:.16s ease-out dialog-in;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 24px 70px #00000038}.dialog-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.dialog-title{font-size:16px;font-weight:600}.dialog-description{color:var(--muted-foreground);margin-top:5px;font-size:13px;line-height:1.5}.alert-dialog-content{max-width:410px}.alert-dialog-content .dialog-description{margin-top:8px}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.tooltip-content{color:#fff;z-index:60;background:#18181b;border-radius:5px;padding:6px 8px;font-size:11px;animation:.12s ease-out pop}.tooltip-arrow{fill:#18181b}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:720px}.table th{color:var(--muted-foreground);letter-spacing:.04em;text-align:left;text-transform:uppercase;background:#fafafa;padding:10px 16px;font-size:11px;font-weight:500}.table td{border-top:1px solid var(--border);color:#52525b;vertical-align:middle;padding:12px 16px;font-size:13px}.table td>strong,.table td>small{display:block}.table td>strong{color:#18181b;font-weight:500}.table td>small{color:#a1a1aa;margin-top:2px}.tenant-members .section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.tenant-members .number-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.tenant-members .number-row>div:first-child{overflow-wrap:anywhere;min-width:0}.tenant-members .number-row p{color:var(--muted-foreground);margin:4px 0 0;font-size:13px}.tenant-members .number-row-actions{align-items:center;gap:12px;display:flex}@media (width<=540px){.tenant-members .number-row{flex-direction:column;align-items:flex-start}}.tenant-members-stack{gap:16px;display:grid}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:240px;padding:40px 24px;display:flex}.empty-state-icon{background:linear-gradient(#fff, var(--muted));border:1px solid var(--border);color:var(--muted-foreground);border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;display:flex;box-shadow:0 2px 4px #00000005,inset 0 0 0 4px #fff}.empty-state-icon svg{width:22px;height:22px}.empty-state-copy{max-width:340px}.empty-state-copy h3{letter-spacing:-.015em;font-size:15px;font-weight:600;line-height:1.5}.empty-state-copy p{color:var(--muted-foreground);margin:6px 0 0;font-size:13px;line-height:1.65}.empty-state-action{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.brand{color:var(--foreground);align-items:center;gap:9px;padding:0 6px 18px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.brand-mark{color:#fff;background:#18181b;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.app-shell{grid-template-columns:220px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;height:100vh;padding:18px 12px 12px;display:flex;position:sticky;top:0}.workspace-label{border-block:1px solid var(--border);align-items:center;gap:9px;margin-bottom:14px;padding:14px 6px;display:flex}.workspace-label>div{flex:1;gap:4px;min-width:0;display:grid}.workspace-label strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.workspace-label>div>span{color:var(--muted-foreground);font-size:11px}.workspace-label>svg{color:var(--muted-foreground);flex-shrink:0}.workspace-avatar,.user-avatar{background:var(--muted);color:#52525b;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:500;display:inline-flex}.sidebar nav{gap:2px;display:grid}.nav-link{color:#52525b;justify-content:flex-start;width:100%}.nav-link svg{width:16px;height:16px}.nav-link.selected,.nav-link.selected:hover{color:#fff;background:#18181b}.nav-link>span:first-of-type{text-align:left;flex:1}.nav-count{border:1px solid;border-radius:4px;padding:2px 5px;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:20px}.profile{text-align:left;justify-content:flex-start;width:100%;height:auto;padding:10px 6px}.profile>span:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.profile strong{text-overflow:ellipsis;font-size:12px;font-weight:500;overflow:hidden}.profile small,.profile>svg{color:var(--muted-foreground)}.main-shell{min-width:0;padding:0 clamp(22px,4vw,54px) 40px}.topbar{justify-content:space-between;align-items:center;gap:16px;max-width:1240px;margin:0 auto;padding:22px 0;display:flex}.topbar>span{color:var(--muted-foreground);align-items:center;gap:10px;font-size:12px;display:flex}.topbar strong{color:var(--foreground);font-weight:500}.topbar-right .user-avatar{margin-left:6px}.status-dot{background:#18181b;border-radius:50%;flex-shrink:0;width:7px;height:7px}.status-dot.paused{background:#a1a1aa}#main-content{max-width:1240px;margin:0 auto}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin:6px 0 22px;display:flex}.page-heading h1{letter-spacing:-.02em;font-size:21px;font-weight:600}.page-heading p{color:var(--muted-foreground);margin-top:7px;font-size:13px;line-height:1.5}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px;display:grid}.stat-card .card-content{padding:16px}.stat-heading{color:var(--muted-foreground);justify-content:space-between;align-items:center;font-size:12px;display:flex}.stat-value{letter-spacing:-.04em;justify-content:space-between;width:100%;height:auto;margin-top:13px;padding:0;font-size:26px;font-weight:600;display:flex}.stat-value:hover{background:0 0}.stat-value>svg{color:var(--muted-foreground)}.section-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px;display:flex}.section-title h2{font-size:15px;font-weight:600}.section-title p{color:var(--muted-foreground);margin-top:5px;font-size:13px}.integration-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.integration-card{flex-direction:column;align-items:flex-start;padding:20px;display:flex}.integration-card img{object-fit:contain;width:30px;height:30px;margin-bottom:15px}.integration-card .card-title{margin-bottom:8px}.integration-card p{color:var(--muted-foreground);flex:1;margin-bottom:18px;font-size:13px;line-height:1.5}.integration-card>.button{justify-content:space-between;width:100%}.integration-top{align-items:center;gap:8px;width:100%;margin-bottom:14px;display:flex}.integration-top img{margin:0}.connection-state{margin-left:auto}.access-toggle{border-top:1px solid var(--border);width:100%;color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;font-size:12px;display:flex}.switch{flex-shrink:0}.panel{overflow:hidden}.panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;display:flex}.panel-heading h2{font-size:15px;font-weight:600}.count{background:var(--muted);color:#52525b;border-radius:999px;margin-left:7px;padding:3px 7px;font-size:11px}.quiet{color:var(--muted-foreground);font-size:12px}.number-row{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:16px 20px;display:flex}.number-row:last-child{border:0}.number-icon,.stat-icon{color:#52525b;background:var(--muted);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.number-detail{flex:1;gap:5px;min-width:0;display:grid}.number-detail strong{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.number-detail>span{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:12px}.info-note{color:var(--muted-foreground);align-items:center;gap:9px;margin-top:16px;display:flex}.info-note>svg{flex-shrink:0;width:16px}.info-note p{font-size:12px;line-height:1.5}.empty{text-align:center;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:36px 24px;display:flex}.empty h3{color:var(--foreground);font-size:14px}.empty p{font-size:13px}.settings-stack{gap:14px;max-width:800px;display:grid}.settings-form{justify-items:start;gap:18px;padding:20px;display:grid}.field{gap:7px;width:100%;font-size:13px;font-weight:500;display:grid}.settings-form .field{max-width:450px}.input:disabled{background:var(--muted);color:var(--muted-foreground)}.setting-row{align-items:center;gap:12px;padding:20px;display:flex}.setting-row>div{flex:1}.setting-row h3{font-size:14px;font-weight:500}.setting-row p{color:var(--muted-foreground);margin-top:5px;font-size:12px;line-height:1.5}.alert{background:var(--muted);border:1px solid var(--input);color:#27272a;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;font-size:12px;display:flex}.loading{min-height:60vh;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.auth-page{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{width:100%;max-width:380px}.auth-card .card-header{padding:26px 26px 18px}.auth-card .brand{padding:0 0 10px;font-size:16px}.auth-card .card-content{padding:0 26px 26px}.auth-card form{gap:16px;display:grid}.auth-card .button.full{width:100%}.auth-card .alert{margin:0}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(-3px)}}@keyframes dialog-in{0%{opacity:0;transform:translate(-50%,-48%)scale(.98)}}@media (width<=1100px){.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.app-shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);height:auto;padding:14px 16px;position:static}.sidebar>.brand{padding:0}.workspace-label{border:0;margin:0;padding:10px 0}.workspace-label .workspace-avatar,.workspace-label>svg,.workspace-label>div>span{display:none}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.nav-link{justify-content:center;padding:0 8px;font-size:12px}.nav-link>span:first-of-type{flex:0}.nav-count{display:none}.sidebar-bottom{padding:0;position:absolute;top:12px;right:16px}.profile{width:auto}.profile>span,.profile>span:nth-child(2){display:none}.main-shell{padding:0 16px 30px}.topbar{padding:16px 0}.topbar-right .user-avatar{display:none}.page-heading{align-items:flex-start;margin-top:10px}.page-heading h1{font-size:20px}.integration-grid{grid-template-columns:1fr}.stat-grid{gap:8px}.stat-card .card-content{padding:12px}.stat-heading{align-items:flex-start;gap:7px;font-size:11px}.stat-heading svg{display:none}.stat-value{font-size:22px}.stat-value svg{display:none}.panel-heading{align-items:flex-start;padding:16px}.panel-heading .quiet{text-align:right;max-width:120px}.number-row,.settings-form,.setting-row{padding:16px}.setting-row .stat-icon{display:none}.nav-link svg{width:14px;height:14px}.page-heading>.button{flex-shrink:0;padding:0 10px;font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.alert-destructive{color:#b91c1c;background:#fef2f2;border-color:#fecaca}@media (width<=900px){.app-shell,.auth-page{min-height:100dvh}.sidebar{padding-top:max(14px, env(safe-area-inset-top));grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:12px;display:grid;position:relative}.sidebar-bottom{grid-area:1/3;margin:0;padding:0;position:static}.sidebar>.brand{grid-area:1/1;padding:0}.sidebar>.workspace-label,.sidebar>.workspace-switcher{grid-area:1/2;min-width:0;margin:0}.sidebar>.workspace-label{border-left:1px solid var(--border);padding:0 0 0 12px}.sidebar>.workspace-switcher{padding-inline:8px}.sidebar nav{grid-area:2/1/auto/-1;gap:6px}.nav-link{border:1px solid var(--border);background:var(--muted);flex-direction:column;gap:5px;height:auto;min-height:56px;padding:8px 2px;font-size:11px;box-shadow:0 1px 2px #0000000a}.nav-link.selected{border-color:#18181b}.nav-link>span:first-of-type{text-align:center}.nav-link svg{width:18px;height:18px}.main-shell{padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));padding-bottom:max(30px, env(safe-area-inset-bottom))}.button{white-space:normal;min-height:44px}.button-icon,.profile{min-width:44px}.input,.textarea,.select-trigger{min-height:44px;font-size:16px}.field,.settings-form,.setting-row>div,.card{min-width:0}.input{width:100%;min-width:0}.page-heading{flex-wrap:wrap;gap:12px}.page-heading>div{flex:210px}.page-heading>.button{width:100%}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-heading{overflow-wrap:anywhere}.stat-value{font-size:20px}.panel-heading{flex-wrap:wrap;gap:8px}.panel-heading .quiet{text-align:left;max-width:none}.number-row{gap:8px;padding:12px}.number-icon{width:30px;height:30px}.number-row>.button{flex-shrink:0}.integration-card{padding:16px}.integration-top{flex-wrap:wrap}.switch{position:relative}.switch:before{content:"";position:absolute;inset:-12px -4px}.access-toggle,.setting-row{min-height:60px}.settings-form>.button{width:100%}.auth-page{padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom))}.auth-card .card-header{padding:22px 20px 18px}.auth-card .card-content{padding:0 20px 22px}.dialog-content{width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:16px;scroll-padding-block:16px}.dialog-header{gap:12px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:120px}.select-content{max-width:calc(100vw - 24px);max-height:var(--radix-select-content-available-height);overflow-y:auto}.select-trigger{text-align:left;overflow-wrap:anywhere;height:auto}.select-trigger>svg{flex-shrink:0}.select-item,.dropdown-item{overflow-wrap:anywhere;min-height:44px;padding-block:10px}.dropdown-content{max-width:calc(100vw - 24px);max-height:var(--radix-dropdown-menu-content-available-height);overflow-y:auto}.tooltip-content{max-width:calc(100vw - 32px)}.alert{overflow-wrap:anywhere}}@media (width<=360px){.topbar{gap:8px}.topbar>span{gap:6px;font-size:11px}.stat-card .card-content{padding:10px}.stat-value{font-size:18px}}.nav-link{text-decoration:none}.integration-search{margin-bottom:16px;position:relative}.integration-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.integration-search .input{width:100%;padding-left:38px}.workspace-switcher{justify-content:space-between;width:100%;margin:8px 0 14px;overflow:hidden}.workspace-options{z-index:60;background:var(--background);border:1px solid var(--border);border-radius:8px;gap:4px;width:min(300px,100vw - 32px);max-height:360px;padding:8px;display:grid;overflow-y:auto;box-shadow:0 8px 24px #0001}.workspace-options>.button{white-space:normal;text-align:left;justify-content:flex-start}.skeleton{background:var(--muted);border-radius:5px;width:100%;height:14px;animation:1.6s ease-in-out infinite skeleton-pulse;display:block}.skeleton-name{width:80px;max-width:100%}.skeleton-title{width:55%;height:24px}.skeleton-description{width:80%}.skeleton-icon{flex-shrink:0;width:30px;height:30px}.skeleton-input,.skeleton-button{height:44px}.skeleton-button{margin-top:12px}.skeleton-card{gap:16px;padding:20px;display:grid}.skeleton-heading{gap:12px;display:grid}.page-skeleton>.stat-grid{margin-bottom:24px}.skeleton-search{margin-bottom:20px}.skeleton-list{gap:16px;display:grid}.skeleton-row{align-items:center;gap:12px;padding-block:10px;display:flex}.skeleton-row>div{flex:1;gap:8px;display:grid}@keyframes skeleton-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.password-field{position:relative}.password-field .input{width:100%;padding-right:48px}.password-field .password-toggle{width:44px;height:100%;min-height:0;color:var(--muted-foreground);position:absolute;top:0;right:0}.invitation-page{flex-direction:column;gap:24px}.invitation-page>.brand{padding:0;font-size:16px}.auth-secondary{margin-top:12px;text-decoration:none}
