feat: expand dual-portal interactive prototype

This commit is contained in:
wlx committed 2026-08-19 16:11:01 +08:00
1 parent 663faee95a
commit 78339580a5
5 files changed
+580 -18

No files matched your search

+156
View File
@@ -88,6 +88,12 @@ input, textarea { outline: 0; }
.breadcrumb strong { color: var(--ink); font-weight: 700; }
.breadcrumb svg { color: #b4bdcb; }
.topbar-actions { gap: 13px; }
.portal-switch { min-height: 33px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #ded8ff; border-radius: 8px; color: #6652ca; font-size: 10px; font-weight: 700; background: #f8f6ff; transition: .18s ease; }
.portal-switch:hover { border-color: #c5b9ff; background: #f2efff; transform: translateY(-1px); }
.portal-switch.is-admin { border-color: #cfe8e6; color: #2d837a; background: #f2faf9; }
.admin-context-card { display: flex; flex-direction: column; gap: 7px; padding: 12px; margin: 6px 0 13px; border: 1px solid rgba(166,183,216,.12); border-radius: 11px; color: #7d8ba4; font-size: 9px; line-height: 1.55; background: rgba(255,255,255,.04); }
.admin-context-card span { display: flex; align-items: center; gap: 6px; color: #b7acf8; font-weight: 700; }
.admin-context-card strong { color: #9aa6bb; font-size: 9px; font-weight: 500; }
.global-search { width: 250px; height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: #9ba7b8; background: #fbfcfe; position: relative; }
.global-search:focus-within { border-color: #c6bcff; box-shadow: 0 0 0 3px rgba(116,87,242,.08); }
.global-search input { width: 100%; border: 0; color: var(--ink); font-size: 11px; background: transparent; }
@@ -119,6 +125,12 @@ input, textarea { outline: 0; }
.status-pill i, .latency-badge i { width: 6px; height: 6px; border-radius: 50%; background: #33bb86; box-shadow: 0 0 0 3px rgba(51,187,134,.13); }
.admin-badge { border-color: #ded8ff; color: #6f5cd2; background: #f7f5ff; }
.admin-badge.subtle { padding: 6px 9px; font-size: 9px; }
.admin-module-placeholder { min-height: 390px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 55px; text-align: center; }
.placeholder-symbol { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #ddd7ff; border-radius: 18px; color: var(--violet); background: linear-gradient(145deg, #f8f6ff, #eeebff); box-shadow: 0 12px 28px rgba(100,75,220,.1); }
.admin-module-placeholder h2 { margin: 9px 0 10px; color: var(--ink); font-size: 25px; letter-spacing: -.04em; }
.admin-module-placeholder > p { max-width: 570px; margin: 0; color: var(--ink-faint); font-size: 12px; line-height: 1.8; }
.placeholder-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.placeholder-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); font-size: 9px; background: #fafbfc; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; color: var(--ink); font-size: 11px; font-weight: 700; transition: .18s ease; }
.button.primary { color: #fff; background: linear-gradient(135deg, #7357f2, #6045d8); box-shadow: 0 7px 16px rgba(104, 75, 226, .18); }
.button.primary:hover { box-shadow: 0 9px 22px rgba(104, 75, 226, .3); transform: translateY(-1px); }
@@ -186,6 +198,123 @@ input, textarea { outline: 0; }
.modal-backdrop { display: grid; place-items: center; padding: 20px; background: rgba(11,18,32,.42); backdrop-filter: blur(4px); position: fixed; inset: 0; z-index: 60; }.modal-card { width: min(100%, 430px); padding: 25px; border: 1px solid rgba(255,255,255,.55); border-radius: 15px; box-shadow: var(--shadow-lg); background: #fff; animation: modal-in .25s ease; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; }.modal-head h2 { margin: 6px 0 0; color: var(--ink); font-size: 20px; letter-spacing: -.05em; }.modal-description { margin: 13px 0 22px; color: var(--ink-faint); font-size: 10px; line-height: 1.7; }.modal-input { width: 100%; height: 40px; padding: 0 11px; margin-bottom: 19px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 11px; background: #fbfcfe; }.modal-input:focus { border-color: #bdb3f6; box-shadow: 0 0 0 3px rgba(115,87,242,.08); }.scope-options { display: flex; flex-direction: column; gap: 7px; }.scope-options button { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; text-align: left; background: #fff; }.scope-options button.active { border-color: #c4bafa; background: #faf9ff; }.scope-options button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }.scope-options strong { color: var(--ink); font-size: 10px; }.scope-options small { color: var(--ink-faint); font-size: 9px; }.scope-options button > svg { color: var(--violet); }.radio-dot { width: 12px; height: 12px; border: 1px solid #ccd3df; border-radius: 50%; position: relative; }.scope-options button.active .radio-dot { border-color: var(--violet); }.scope-options button.active .radio-dot:after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); position: absolute; inset: 2px; }.modal-footer { display: flex; justify-content: flex-end; gap: 9px; padding-top: 23px; margin-top: 21px; border-top: 1px solid var(--line); }.secret-modal { text-align: center; }.secret-success { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 700; }.secret-success > div { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; background: var(--green-light); }.secret-modal h2 { margin: 18px 0 7px; font-size: 21px; letter-spacing: -.05em; }.secret-value { display: flex; align-items: center; gap: 7px; padding: 10px 11px; margin: 18px 0 11px; border: 1px dashed #cbc3fa; border-radius: 8px; color: var(--violet); text-align: left; background: #faf9ff; }.secret-value code { overflow: hidden; flex: 1; font-family: 'DM Mono', monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.secret-value button { display: grid; padding: 2px; color: var(--violet); background: transparent; }.secret-warning { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 21px; color: #bc814a; font-size: 9px; }.secret-warning svg { flex: 0 0 16px; }
.toast-message { display: flex; align-items: center; gap: 9px; max-width: min(380px, calc(100vw - 32px)); padding: 11px 13px; border: 1px solid #d8ede4; border-radius: 9px; color: #3b826c; box-shadow: var(--shadow-md); font-size: 10px; font-weight: 700; background: #f5fcf8; position: fixed; right: 26px; bottom: 25px; z-index: 100; }.toast-message > svg { color: var(--green); }.toast-message span { flex: 1; }.toast-message button { display: grid; padding: 1px; color: #7a9a8d; background: transparent; }.toast-enter-active, .toast-leave-active { transition: .25s ease; }.toast-enter-from, .toast-leave-to { opacity: 0; transform: translateY(12px); }
.quick-connect-bar { min-height: 62px; display: flex; align-items: center; gap: 18px; padding: 11px 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.quick-connect-title { min-width: 260px; display: flex; align-items: center; gap: 10px; }
.quick-connect-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 9px; color: var(--violet); background: var(--violet-light); }
.quick-connect-title > div:last-child { display: flex; flex-direction: column; gap: 3px; }
.quick-connect-title span { color: var(--ink-faint); font-size: 8px; }
.quick-connect-title strong { color: var(--ink); font-family: 'DM Mono', monospace; font-size: 10px; }
.quick-connect-meta { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.quick-connect-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 5px; color: var(--ink-soft); font-size: 8px; background: #f6f8fb; }
.quick-connect-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.admin-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 15px; }
.admin-summary-card, .capacity-stat { min-height: 94px; display: flex; align-items: center; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.admin-summary-card > div, .capacity-stat > div { display: flex; flex-direction: column; gap: 3px; }
.admin-summary-card small, .capacity-stat small { color: var(--ink-faint); font-size: 9px; }
.admin-summary-card strong, .capacity-stat strong { color: var(--ink); font-size: 20px; letter-spacing: -.04em; }
.admin-summary-card .positive, .admin-summary-card .neutral, .capacity-stat .positive, .capacity-stat .neutral { font-size: 9px; }
.admin-search { width: 220px; }
.admin-user-table .table-row { grid-template-columns: 1.75fr .85fr .75fr .65fr .75fr .7fr; }
.admin-user-row { width: 100%; padding: 0; color: inherit; text-align: left; background: transparent; }
.admin-user-row:hover { background: #fbfbff; }
.mini-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-width: 1px; }
.role-pill { width: max-content; padding: 5px 7px; border-radius: 5px; color: #6759b5; font-size: 9px; background: #f2efff; }
.admin-balance { color: var(--ink); font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 700; }
.admin-user-drawer { z-index: 45; }
.user-profile-head { display: flex; align-items: center; gap: 11px; padding: 18px 0 22px; }
.large-avatar { width: 48px; height: 48px; flex: 0 0 48px; font-size: 16px; }
.user-profile-head > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.user-profile-head strong { color: var(--ink); font-size: 11px; }
.user-profile-head span { color: var(--ink-faint); font-size: 9px; }
.drawer-actions { display: flex; flex-direction: column; gap: 8px; }
.admin-notice { border-color: #d8eef0; background: #f6fcfc; }
.admin-notice .notice-icon { color: var(--cyan); background: var(--cyan-light); }
.provider-table-panel { padding: 22px 23px; }
.provider-table, .route-table, .queue-table, .pricing-table, .audit-table { margin-top: 18px; }
.provider-table-row { min-height: 62px; display: grid; grid-template-columns: 1.5fr 1fr .45fr .65fr .65fr .7fr 42px; align-items: center; gap: 12px; border-bottom: 1px solid #f0f2f6; }
.provider-table-head, .route-table-head, .queue-table-head, .pricing-table-head, .audit-table-head { min-height: 34px !important; color: #9ca7b7; font-family: 'DM Mono', monospace; font-size: 8px; }
.provider-name { display: flex; align-items: center; gap: 9px; }
.provider-name > div { display: flex; flex-direction: column; gap: 3px; }
.provider-name strong { color: var(--ink); font-size: 10px; }
.provider-name small { color: var(--ink-faint); font-family: 'DM Mono', monospace; font-size: 8px; }
.toggle-switch { width: 36px; height: 20px; padding: 2px; border-radius: 12px; background: #dfe4eb; transition: .2s ease; }
.toggle-switch span { width: 16px; height: 16px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(20,30,50,.18); transition: .2s ease; }
.toggle-switch.active { background: var(--violet); }
.toggle-switch.active span { transform: translateX(16px); }
.model-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 15px; }
.model-admin-card { min-height: 225px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.model-admin-card h3 { margin: 16px 0 7px; color: var(--ink); font-size: 13px; }
.model-admin-card > p { min-height: 36px; margin: 0; color: var(--ink-faint); font-size: 9px; line-height: 1.7; }
.model-admin-meta { display: flex; gap: 6px; padding: 13px 0; margin: 13px 0; border-top: 1px solid #f0f2f6; border-bottom: 1px solid #f0f2f6; }
.model-admin-meta span { padding: 4px 6px; border-radius: 5px; color: var(--ink-soft); font-size: 8px; background: #f5f7fa; }
.routing-banner { min-height: 122px; display: flex; align-items: center; gap: 17px; padding: 22px 24px; margin-bottom: 15px; overflow: hidden; border-radius: 13px; color: #fff; background: linear-gradient(110deg, #171d37, #292654); position: relative; }
.routing-banner-orb { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 52px; border: 1px solid rgba(174,162,255,.35); border-radius: 16px; color: #bcb1ff; background: rgba(133,113,242,.17); }
.routing-banner > div:nth-child(2) { flex: 1; }
.routing-banner h3 { margin: 6px 0 5px; color: #fff; font-size: 16px; }
.routing-banner p { margin: 0; color: #98a4c3; font-size: 9px; }
.routing-health { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.routing-health strong { color: #aef0dc; font-size: 25px; letter-spacing: -.05em; }
.routing-health span { color: #8592b2; font-size: 8px; }
.route-table-row { min-height: 66px; display: grid; grid-template-columns: 1.2fr .8fr 1.15fr 1fr .8fr .55fr 42px; align-items: center; gap: 12px; border-bottom: 1px solid #f0f2f6; }
.route-table-row > div:first-child, .queue-table-row > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.route-table-row strong, .queue-table-row strong { color: var(--ink); font-size: 10px; }
.route-table-row small, .queue-table-row small { color: var(--ink-faint); font-family: 'DM Mono', monospace; font-size: 8px; }
.route-channel { color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.capacity-overview { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 13px; margin-bottom: 15px; }
.capacity-ring-card { min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 17px; border: 1px solid #ddd8ff; border-radius: 12px; background: linear-gradient(145deg, #fbfaff, #f5f3ff); }
.capacity-ring { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; flex-direction: column; flex: 0 0 68px; border: 7px solid #d8d1fb; border-top-color: var(--violet); border-radius: 50%; }
.capacity-ring span { color: var(--ink); font-size: 15px; font-weight: 800; }
.capacity-ring small { color: var(--ink-faint); font-size: 7px; }
.capacity-ring-card > div:last-child h3 { margin: 6px 0 3px; color: var(--ink); font-size: 18px; }
.capacity-ring-card > div:last-child p { margin: 0; color: var(--ink-faint); font-size: 8px; }
.queue-table-row { min-height: 64px; display: grid; grid-template-columns: 1.4fr 1.2fr .7fr .65fr .8fr .8fr; align-items: center; gap: 13px; border-bottom: 1px solid #f0f2f6; }
.queue-meter { display: flex; align-items: center; gap: 8px; }
.queue-meter b { width: 20px; color: var(--ink); font-family: 'DM Mono', monospace; font-size: 9px; }
.queue-count { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; color: #657085; font-family: 'DM Mono', monospace; font-size: 9px; background: #f1f3f7; }
.queue-count.hot { color: #b66f2c; background: var(--orange-light); }
.billing-admin-notice { border-color: #eadff9; background: #fbf8ff; }
.coming-soon-tag { margin-left: auto; padding: 6px 8px; border-radius: 6px; color: #8069d8; font-family: 'DM Mono', monospace; font-size: 8px; background: #eee9ff; }
.billing-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 15px; }
.billing-admin-metric { min-height: 110px; display: flex; justify-content: center; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.billing-admin-metric span { color: var(--ink-faint); font-size: 9px; }
.billing-admin-metric strong { margin: 7px 0 4px; color: var(--ink); font-size: 22px; letter-spacing: -.05em; }
.billing-admin-metric small { color: var(--green); font-size: 8px; }
.pricing-table-row { min-height: 62px; display: grid; grid-template-columns: 1.1fr 1fr .8fr .8fr 1fr .8fr; align-items: center; gap: 12px; border-bottom: 1px solid #f0f2f6; }
.pricing-table-row strong { color: var(--ink); font-size: 10px; }
.mono-text { font-family: 'DM Mono', monospace; font-size: 9px !important; }
.audit-toolbar { display: flex; align-items: center; gap: 13px; padding: 12px; margin-bottom: 15px; }
.audit-toolbar .admin-search { flex: 1; }
.audit-table-row { min-height: 62px; display: grid; grid-template-columns: 1fr .7fr .9fr 1.35fr .75fr .55fr; align-items: center; gap: 12px; border-bottom: 1px solid #f0f2f6; }
.audit-table-row strong { color: var(--ink); font-size: 9px; }
.audit-actor { color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.audit-level { width: max-content; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 5px; color: #6a768c; font-size: 8px; background: #f1f3f6; }
.audit-level i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.audit-level.warning { color: #b47537; background: var(--orange-light); }
.audit-level.danger { color: var(--red); background: #fff0f2; }
.settings-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.settings-panel { padding: 22px 23px; }
.settings-heading-icon { color: var(--violet); }
.settings-description { margin: 15px 0 18px; color: var(--ink-faint); font-size: 10px; line-height: 1.7; }
.settings-list { border-top: 1px solid var(--line); }
.settings-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #f0f2f6; }
.settings-row > span { display: flex; flex-direction: column; gap: 4px; }
.settings-row strong { color: var(--ink); font-size: 10px; }
.settings-row small { color: var(--ink-faint); font-size: 9px; }
.settings-callout { display: flex; align-items: center; gap: 7px; padding: 10px; margin-top: 18px; border-radius: 7px; color: #a2703d; font-size: 9px; background: var(--orange-light); }
.model-detail-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(11,18,32,.24); backdrop-filter: blur(2px); }
.model-detail-drawer { width: 410px; padding: 25px; border-left: 1px solid var(--line); box-shadow: -14px 0 45px rgba(22,32,51,.15); background: #fff; position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; animation: drawer-in .25s ease; }
.model-detail-hero { display: flex; align-items: center; gap: 11px; padding: 22px 0 18px; }
.model-detail-hero > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.model-detail-hero span { color: var(--ink-faint); font-size: 9px; }
.model-detail-hero strong { color: var(--ink); font-size: 11px; }
.model-detail-description { margin: 0 0 18px; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.model-detail-status { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px; border-radius: 9px; background: #f5faf8; }
.model-detail-status strong { color: var(--green); font-size: 18px; }
.model-detail-status small { grid-column: 1 / -1; margin-top: 5px; color: var(--ink-faint); font-size: 8px; }
.model-detail-list { margin-top: 20px; }
.model-detail-callout { display: flex; gap: 8px; padding: 11px; margin-bottom: 20px; border-radius: 8px; color: #64778d; font-size: 9px; line-height: 1.6; background: #f4f7fa; }
.model-detail-callout svg { flex: 0 0 16px; color: var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@@ -193,12 +322,39 @@ input, textarea { outline: 0; }
@media (max-width: 1180px) {
.page-content { padding-left: 28px; padding-right: 28px; }.topbar { padding: 0 28px; }.hero-model-stack { right: 0; transform: scale(.84); transform-origin: right center; }.metrics-grid { grid-template-columns: repeat(2, 1fr); }.model-preview-grid { grid-template-columns: repeat(2, 1fr); }.model-catalog-grid { grid-template-columns: repeat(2, 1fr); }.task-table .table-row { grid-template-columns: 1.4fr 1fr 1.25fr .85fr .8fr 22px; }
.admin-summary-grid, .capacity-overview { grid-template-columns: repeat(2, 1fr); }
.quick-connect-meta span:nth-child(n+2) { display: none; }
.provider-table-panel, .table-panel { overflow-x: auto; }
.provider-table, .route-table, .queue-table, .pricing-table, .audit-table, .admin-user-table { min-width: 900px; }
}
@media (max-width: 860px) {
.sidebar { width: 248px; flex-basis: 248px; position: fixed; transform: translateX(-100%); transition: transform .25s ease; }.sidebar.is-mobile-open { transform: translateX(0); }.sidebar.is-collapsed { width: 248px; flex-basis: 248px; padding-left: 16px; padding-right: 16px; }.sidebar.is-collapsed .brand-copy, .sidebar.is-collapsed .workspace-switcher, .sidebar.is-collapsed .nav-label, .sidebar.is-collapsed .nav-item span, .sidebar.is-collapsed .credit-mini-card, .sidebar.is-collapsed .collapse-button span { display: flex; }.sidebar.is-collapsed .brand-block { padding-left: 8px; }.sidebar-backdrop { position: fixed; inset: 0; z-index: 25; background: rgba(11,18,32,.35); }.mobile-close, .mobile-menu { display: inline-grid; }.mobile-close { margin-left: auto; color: #a7b2c9; }.mobile-menu { margin-right: 9px; }.topbar { height: 64px; padding: 0 18px; }.global-search { width: 190px; }.user-name, .topbar-user > svg { display: none; }.page-content { padding: 29px 18px 55px; }.hero-card { min-height: 435px; padding: 32px 27px; }.hero-model-stack { opacity: .72; right: -64px; top: 155px; transform: scale(.68); }.hero-content { max-width: 74%; }.dashboard-grid, .playground-layout, .usage-layout, .ops-grid { grid-template-columns: 1fr; }.docs-layout { grid-template-columns: 1fr; }.docs-nav { display: none; }.docs-article { max-width: none; padding-left: 0; padding-right: 0; }.task-summary-grid, .ops-metrics { grid-template-columns: repeat(2, 1fr); }.table-panel { overflow-x: auto; }.data-table { min-width: 780px; }.notice-banner, .key-guidance { align-items: flex-start; }.key-guidance .button { margin-left: auto; }.billing-banner { align-items: flex-start; flex-wrap: wrap; }.billing-banner > div:nth-child(2) { min-width: calc(100% - 80px); }.billing-banner .button { margin-left: 72px; }.catalog-toolbar { align-items: stretch; flex-direction: column; }.catalog-search { width: 100%; }
.quick-connect-bar { align-items: flex-start; flex-wrap: wrap; }
.quick-connect-title { flex: 1; }
.quick-connect-meta { display: none; }
.model-admin-grid, .billing-admin-grid, .settings-layout { grid-template-columns: 1fr; }
.audit-toolbar { align-items: stretch; flex-direction: column; }
.audit-toolbar .catalog-search { width: 100%; }
}
@media (max-width: 560px) {
.topbar-actions { gap: 5px; }.global-search { width: 38px; padding: 0 10px; }.global-search input, .global-search kbd { display: none; }.topbar-user { padding-left: 5px; border: 0; }.page-intro, .page-intro.compact-intro { align-items: flex-start; flex-direction: column; gap: 16px; }.intro-actions { width: 100%; }.intro-actions .button { flex: 1; }.hero-card { min-height: 500px; padding: 29px 22px; }.hero-content { max-width: 100%; }.hero-content h2 { font-size: 42px; }.hero-content > p { max-width: 320px; }.hero-actions { flex-direction: column; width: 155px; }.hero-note { gap: 9px; }.hero-model-stack { right: -130px; top: 265px; transform: scale(.66); }.metrics-grid, .model-preview-grid, .model-catalog-grid, .task-summary-grid, .ops-metrics { grid-template-columns: 1fr; }.metric-card { min-height: 112px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }.usage-panel, .activity-panel, .usage-detail-panel, .ledger-panel, .playground-input, .playground-output, .table-panel, .admin-credit-panel, .provider-panel, .ops-log-panel { padding: 18px 16px; }.bar-chart { gap: 7px; }.playground-input, .playground-output { min-height: 550px; }.run-footer { align-items: flex-start; flex-direction: column; }.run-button { width: 100%; }.billing-banner { padding: 18px; }.billing-banner > div:nth-child(2) { min-width: calc(100% - 70px); }.billing-banner .button { margin-left: 0; }.key-guidance { flex-wrap: wrap; }.key-guidance .button { width: 100%; margin-left: 47px; }.docs-step { grid-template-columns: 1fr; }.step-number { margin-bottom: -3px; }.docs-article-heading h2 { font-size: 24px; }.task-detail-drawer { width: min(355px, 100%); }.toast-message { right: 16px; bottom: 16px; }
.admin-summary-grid, .capacity-overview, .billing-admin-grid { grid-template-columns: 1fr; }
.quick-connect-title { min-width: 100%; }
.quick-connect-bar > .button { width: 100%; }
.model-detail-drawer { width: 100%; }
.routing-banner { align-items: flex-start; flex-wrap: wrap; }
.routing-health { align-items: flex-start; width: 100%; }
.coming-soon-tag { display: none; }
}
@media (max-width: 860px) {
.portal-switch span, .portal-switch > svg:last-child { display: none; }
}
@media (max-width: 560px) {
.portal-switch { padding: 0 8px; }
.topbar-user { display: none; }
.admin-module-placeholder { min-height: 330px; padding: 35px 20px; }
}