.portal-admin{max-width:1440px;margin:auto;padding:34px 36px 48px;color:var(--studio-text,#f1f3f5)}
.portal-admin *,.portal-usage *,.portal-signup *{box-sizing:border-box}
.portal-admin-heading{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:28px}
.portal-eyebrow{display:block;color:var(--studio-muted,#9ca7b6);font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:9px}
.portal-admin h1{font:500 clamp(27px,3vw,38px)/1.15 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.04em;margin:0 0 10px}
.portal-admin-heading p{max-width:620px;margin:0;font-size:12px;line-height:1.8;color:var(--studio-muted,#9ca7b6)}
.portal-admin-totals{display:flex;gap:24px;flex:none;padding-left:25px;border-left:1px solid var(--studio-line,#323b48)}
.portal-admin-totals>span{display:flex;flex-direction:column;gap:5px;color:var(--studio-muted,#9ca7b6);font-size:10px;white-space:nowrap}
.portal-admin-totals strong{color:var(--studio-silver,#c3c9d2);font:400 26px/1 Bahnschrift,"Segoe UI",sans-serif}
.portal-admin-overview{display:flex;align-items:center;gap:20px;flex:none}
.portal-admin-overview>.chat-button{white-space:nowrap;min-height:40px;font-size:10px}
.portal-search{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:14px 17px;background:#161e28;border:1px solid var(--studio-line,#323b48);border-radius:9px;color:var(--studio-muted,#9ca7b6);font-size:12px}
.portal-search input{margin:0;max-width:390px;width:55%;min-height:40px;padding:8px 12px;font-size:12px;background:#101720;border:1px solid #3d495a;border-radius:6px;color:var(--studio-text,#f1f3f5)}
.portal-workspaces{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:17px}
.portal-workspace-card{min-width:0;padding:21px;border:1px solid var(--studio-line,#323b48);border-radius:13px;background:linear-gradient(150deg,#232e3a55,transparent 65%),var(--studio-panel,#171d25);box-shadow:0 12px 30px #00000016;display:flex;flex-direction:column}
.portal-workspace-card[hidden]{display:none}
.portal-workspace-card>header{display:flex;align-items:center;gap:11px;margin-bottom:15px;min-width:0}
.portal-business-mark{display:grid;place-items:center;height:38px;width:38px;flex:none;border:1px solid #788494;border-radius:10px;background:linear-gradient(145deg,#536071,#26313f);color:#e4e9f0;font:16px Bahnschrift,"Segoe UI",sans-serif}
.portal-workspace-card>header>div{min-width:0;flex:1}
.portal-workspace-card .portal-eyebrow{font-size:8px;line-height:1.5;letter-spacing:.07em;margin-bottom:4px}
.portal-workspace-card h2{font:500 18px/1.35 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere;margin:0}
.portal-mode{align-self:start;flex:none;padding:4px 7px;border:1px solid #4d5969;border-radius:20px;color:#bdc7d5;font-size:9px}
.portal-industry{color:var(--studio-muted,#9ca7b6);font-size:11px;line-height:1.7;margin:0 0 14px}
.portal-members{border-top:1px solid #2f3b4a;padding-top:12px;min-height:57px;overflow-wrap:anywhere}
.portal-members>div{margin-bottom:10px}
.portal-members strong{display:block;font-size:12px;font-weight:500}
.portal-members div>span{display:block;font-size:11px;line-height:1.6;margin-top:2px;color:var(--studio-muted,#9ca7b6)}
.portal-members>p{margin:0;color:var(--studio-muted,#9ca7b6);font-size:11px;line-height:1.7}
.portal-workspace-meta{display:flex;gap:13px;flex-wrap:wrap;margin:12px 0 15px;color:#b4c0d1;font-size:10px}
.portal-quota-summary{border:1px solid #3c495b;border-radius:8px;padding:11px 12px;background:#111a24;margin-top:auto}
.portal-quota-summary>span{display:block;color:var(--studio-muted,#9ca7b6);font-size:9px;margin-bottom:4px}
.portal-quota-summary>strong{font-size:11px;font-weight:500;color:#d4dce7}
.portal-workspace-card>footer{display:flex;align-items:center;gap:9px;margin-top:16px}
.portal-workspace-card>footer .chat-button{flex:1;min-height:42px;padding:9px 12px;font-size:11px}
.portal-workspace-card>footer .quiet{flex:none}
.portal-preview-note{font-size:11px;line-height:1.7;color:#b9c5d6;border:1px solid #4a596d;border-radius:8px;padding:11px 14px;background:#202b3b55;margin:0 0 20px}
.portal-no-matches{padding:28px;text-align:center;color:var(--studio-muted,#9ca7b6);font-size:12px}
.portal-admin-note{margin:24px 0 0;font-size:10px;line-height:1.8;color:var(--studio-muted,#9ca7b6)}
.portal-empty{padding:48px 30px;text-align:center;border:1px solid var(--studio-line,#323b48);border-radius:12px;background:var(--studio-panel,#171d25)}
.portal-empty p{font-size:12px;line-height:1.8;color:var(--studio-muted,#9ca7b6);max-width:550px;margin:12px auto 24px}
.portal-empty h2{font:500 25px/1.3 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:0}
.portal-workspaces>.portal-empty{grid-column:1/-1}
.portal-unassigned{margin-top:26px;border-top:1px solid #3a4759;padding-top:20px}
.portal-unassigned h2{font-size:17px;font-weight:500;margin:0 0 15px}
.portal-unassigned p{display:flex;gap:20px;flex-wrap:wrap;font-size:12px}
.portal-unassigned p>span{color:var(--studio-muted,#9ca7b6)}
.portal-loading{padding:30px 0;color:var(--studio-muted,#9ca7b6);font-size:12px;line-height:1.8}
.portal-auth-switch{margin:23px 0 0;font-size:11px;line-height:1.8;color:var(--studio-muted,#9ca7b6);text-align:center}
.portal-auth-switch a{color:var(--studio-text,#f1f3f5);border-bottom:1px solid #68778c;padding-bottom:2px}
.portal-signup{max-width:1060px;margin:auto}
.portal-signup>section{width:min(100%,430px);margin:auto;padding:42px 0 35px}
.portal-signup>section>p:first-of-type{font-size:13px;line-height:1.8;margin:12px 0 27px;color:var(--studio-muted,#9ca7b6)}
.portal-signup h1{font:500 36px/1.15 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.04em;margin:0}
.portal-signup .form-field{font-size:12px;margin-bottom:15px}
.portal-signup .form-field input{font-size:13px;min-height:43px;border-radius:7px}
.portal-signup .form-field small{font-size:10px;color:var(--studio-muted,#9ca7b6);margin-top:5px}
.portal-signup .full{min-height:45px;margin-top:8px}
.portal-signup-allowance{color:var(--studio-muted,#9ca7b6);font-size:10px;line-height:1.8;margin:17px 0 0}
.portal-signup>footer{max-width:490px;margin:0 auto;text-align:center;color:#8e9eb3;font-size:10px;line-height:1.8;padding-bottom:25px}
.portal-auth-wordmark{font-size:15px}
dialog:has(.portal-usage){width:min(600px,calc(100vw - 36px));max-width:600px}
.portal-usage{padding:23px 25px 25px;color:var(--studio-text,#f1f3f5)}
.portal-usage>header{margin-bottom:20px}
.portal-usage h3{font:500 27px/1.2 Bahnschrift,"Segoe UI",sans-serif;letter-spacing:-.035em;margin:0 0 10px}
.portal-usage header p{font-size:12px;line-height:1.8;color:var(--studio-muted,#9ca7b6);margin:0}
.portal-usage-column-label{text-align:right;color:var(--studio-muted,#9ca7b6);font-size:9px;text-transform:uppercase;letter-spacing:.06em;padding-bottom:7px}
.portal-usage-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid #354255;min-height:68px}
.portal-usage-row>div>strong{display:block;font-size:12px;font-weight:500}
.portal-usage-row>div>span{display:block;font-size:10px;color:var(--studio-muted,#9ca7b6);margin-top:5px;line-height:1.5}
.portal-usage-row>label{width:92px;flex:none}
.portal-usage-row input{display:block;width:100%;min-height:42px;font-size:15px;padding:8px 10px;border:1px solid #5c6b80;border-radius:7px;background:#111a26;color:#e1e8f1;text-align:right;margin:0}
.portal-usage-limit{font:400 23px/1.1 Bahnschrift,"Segoe UI",sans-serif;text-align:right;flex:none}
.portal-usage-limit>span{display:block;font:9px/1.5 "Segoe UI",sans-serif;color:var(--studio-muted,#9ca7b6);margin-top:3px}
.portal-usage-edit-note{font-size:10px;line-height:1.8;margin:15px 0;color:#aebcd0}
.portal-save-usage{width:100%;min-height:43px;margin-top:8px}
.portal-usage-policy{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px;padding-top:17px;border-top:1px solid #354255}
.portal-usage-policy>span{font-size:9px;line-height:1.5;padding:5px 8px;border:1px solid #46566d;border-radius:6px;background:#192538;color:#bbc9dc}
.portal-usage-footnote{font-size:10px;line-height:1.8;color:var(--studio-muted,#9ca7b6);margin:14px 0 18px}
.portal-usage-close{display:flex;margin-left:auto;min-height:39px}
.portal-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.portal-admin :is(a,button,input):focus-visible,.portal-usage :is(button,input):focus-visible,.portal-signup :is(a,button,input):focus-visible{outline:2px solid var(--studio-silver,#c3c9d2);outline-offset:4px}
@media(max-width:760px){.portal-admin{padding:26px 18px 40px}.portal-admin-heading{align-items:flex-start;flex-direction:column;gap:19px}.portal-admin-totals{padding-left:0;border-left:0;gap:28px}.portal-admin-totals strong{font-size:23px}.portal-admin-overview{flex-wrap:wrap;gap:18px}.portal-admin h1{font-size:30px}.portal-admin-heading p{font-size:11px}.portal-search{flex-direction:column;align-items:stretch;gap:10px;padding:14px}.portal-search input{width:100%;max-width:none}.portal-workspaces{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.portal-workspace-card{padding:19px}.portal-workspace-card>footer .chat-button{min-height:44px}.portal-usage{padding:21px 19px}.portal-usage h3{font-size:24px}.portal-usage header p{font-size:11px}.portal-signup>section{padding-top:35px}.portal-signup h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){.portal-admin *,.portal-usage *,.portal-signup *{scroll-behavior:auto!important;transition:none!important}}
.portal-members [data-portal-reset]{margin-top:6px;font-size:11px;padding:4px 10px}
