Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
style(portal): integrate console masthead into shell
rcourtman2a2d2ba93c75
diff --git a/internal/cloudcp/portal/dist/build_manifest.json b/internal/cloudcp/portal/dist/build_manifest.jsonindex bad69ea8a6..99c8a03fed 100644--- a/internal/cloudcp/portal/dist/build_manifest.json+++ b/internal/cloudcp/portal/dist/build_manifest.json@@ -1,5 +1,5 @@{- "source_hash": "52cc4e938d4e2d9faf8baccb4ba63be6dfcbf6172126273c48ed6661ac7231ea",+ "source_hash": "ddd93142cd52f630277d943b39580c9f06d810ca3dffe1b96ab87ab9705ee6ed","build_inputs": ["package.json","tsconfig.json",diff --git a/internal/cloudcp/portal/dist/portal_app.css b/internal/cloudcp/portal/dist/portal_app.cssindex 24743bd600..4ac072b81c 100644--- a/internal/cloudcp/portal/dist/portal_app.css+++ b/internal/cloudcp/portal/dist/portal_app.css@@ -158,44 +158,23 @@ header .logout-btn:hover,padding: 22px 24px 56px;}.portal-shell {- display: flex;- flex-direction: column;- gap: 16px;-}-.portal-hero {- display: grid;- grid-template-columns: minmax(0, 1fr) auto;- gap: 14px;- padding: 10px 14px;- border: 1px solid var(--line);- border-radius: var(--radius-lg);- background: #fff;- box-shadow: 0 10px 24px rgba(10, 25, 41, 0.035);+ display: block;}-.portal-hero-compact {- align-items: center;- padding: 10px 14px;+.portal-shell-head {+ padding: 20px 22px 18px;+ border-bottom: 1px solid var(--line);+ background:+ linear-gradient(+ 180deg,+ rgba(248, 250, 252, 0.98),+ rgba(245, 248, 250, 0.96));}-.portal-hero-copy {+.portal-shell-head-main {display: flex;flex-direction: column;- gap: 2px;- max-width: 900px;-}-.portal-hero-heading-row {- display: flex;- align-items: center;gap: 10px;- flex-wrap: wrap;}-.portal-hero-brand {- font-size: 26px;- font-weight: 800;- line-height: 1;- letter-spacing: -0.045em;- color: var(--ink);-}-.portal-hero-kicker,+.portal-shell-head-kicker,.account-panel-kicker,.service-card-kicker,.account-eyebrow {@@ -204,7 +183,7 @@ header .logout-btn:hover,letter-spacing: 0.14em;text-transform: uppercase;}-.portal-hero-kicker,+.portal-shell-head-kicker,.account-panel-kicker,.service-card-kicker {color: var(--accent);@@ -212,18 +191,44 @@ header .logout-btn:hover,.account-eyebrow {color: var(--ink-muted);}-.portal-hero p,+.portal-shell-head p,.intro-card p {margin: 0;font-size: 12px;line-height: 1.45;color: var(--ink-soft);}-.portal-hero p strong {+.portal-shell-head p strong {color: var(--ink);font-weight: 700;}-.portal-hero-chip {+.portal-shell-head-row {+ display: grid;+ grid-template-columns: minmax(0, 1fr) auto;+ gap: 16px;+ align-items: end;+}+.portal-shell-head-copy {+ display: flex;+ flex-direction: column;+ gap: 6px;+ max-width: 860px;+}+.portal-shell-head-brand-row {+ display: flex;+ align-items: center;+ gap: 12px;+ flex-wrap: wrap;+}+.portal-shell-head-title {+ margin: 0;+ font-size: 32px;+ line-height: 0.98;+ letter-spacing: -0.06em;+ font-weight: 800;+ color: var(--ink);+}+.portal-shell-head-chip {display: inline-flex;align-items: center;min-height: 24px;@@ -236,31 +241,31 @@ header .logout-btn:hover,letter-spacing: 0.08em;text-transform: uppercase;}-.portal-hero-stats {+.portal-shell-head-stats {display: flex;align-items: stretch;- gap: 6px;- align-self: center;+ gap: 8px;+ align-self: start;}-.portal-hero-stat {+.portal-shell-head-stat {display: flex;flex-direction: column;justify-content: center;- min-width: 120px;+ min-width: 132px;min-height: 0;- padding: 8px 10px;+ padding: 10px 12px;border: 1px solid var(--line);border-radius: 12px;- background: #fbfcfd;+ background: rgba(255, 255, 255, 0.92);}-.portal-hero-stat-label {+.portal-shell-head-stat-label {font-size: 11px;font-weight: 700;color: var(--ink-muted);letter-spacing: 0.06em;text-transform: uppercase;}-.portal-hero-stat-value {+.portal-shell-head-stat-value {font-size: 14px;font-weight: 800;line-height: 1.25;@@ -282,8 +287,8 @@ header .logout-btn:hover,align-items: start;border: 1px solid var(--line);border-radius: var(--radius-lg);- background: #fff;- box-shadow: 0 16px 40px rgba(10, 25, 41, 0.05);+ background: #e9eef3;+ box-shadow: 0 22px 48px rgba(10, 25, 41, 0.08);overflow: hidden;}.portal-shell-nav {@@ -387,9 +392,9 @@ header .logout-btn:hover,}.portal-shell-main {min-width: 0;- min-height: 760px;- padding: 20px 22px 26px;- background: #fbfcfd;+ min-height: 820px;+ padding: 0 0 28px;+ background: #f5f7fa;}.portal-shell-main > .portal-content-panel {display: none !important;@@ -425,6 +430,9 @@ header .logout-btn:hover,flex-direction: column;gap: 26px;}+.portal-content-panel {+ padding: 20px 22px 0;+}.portal-top-section,.service-section {display: flex;@@ -457,7 +465,7 @@ header .logout-btn:hover,border: none;background: transparent;box-shadow: none;- padding: 0;+ padding: 0 0 6px;}.account-surface + .account-surface {margin-top: 22px;@@ -467,7 +475,7 @@ header .logout-btn:hover,grid-template-columns: minmax(0, 1fr) auto;align-items: end;gap: 16px;- padding: 6px 4px 12px;+ padding: 0 4px 12px;border: none;border-bottom: 1px solid var(--line);border-radius: var(--radius-md);@@ -1611,11 +1619,10 @@ header .logout-btn:hover,}}@media (max-width: 920px) {- .portal-hero {+ .portal-shell-head-row {grid-template-columns: 1fr;- padding: 20px;}- .portal-hero-stats {+ .portal-shell-head-stats {flex-wrap: wrap;}.workspace-row {@@ -1640,12 +1647,15 @@ header .logout-btn:hover,.portal-shell-nav-group {grid-template-columns: 1fr;}- .account-surface,- .portal-hero,.intro-card,.service-panel {padding: 18px;}+ .portal-shell-head,+ .portal-content-panel {+ padding-left: 16px;+ padding-right: 16px;+ }.account-surface-header,.workspace-management-header,.team-management-header,diff --git a/internal/cloudcp/portal/dist/portal_app.js b/internal/cloudcp/portal/dist/portal_app.jsindex f5a333798b..a1b74b09b0 100644--- a/internal/cloudcp/portal/dist/portal_app.js+++ b/internal/cloudcp/portal/dist/portal_app.js@@ -1735,7 +1735,7 @@var workspaceTotal = countWorkspaces(accounts);var statusText = hosted ? "Hosted access is active on this account." : "No hosted workspace access is attached to this account yet.";var summary = hosted ? "Hosted operations, operator access, and commercial account services." : "Billing, license recovery, refunds, and privacy actions until hosted access is attached.";- return '<section class="portal-hero portal-hero-compact"><div class="portal-hero-copy"><div class="portal-hero-heading-row"><div class="portal-hero-brand">Pulse Account</div><span class="portal-hero-chip">' + (hosted ? "Operator ready" : "Self-hosted only") + "</span></div><p><strong>" + statusText + "</strong> " + summary + '</p></div><div class="portal-hero-stats"><div class="portal-hero-stat"><span class="portal-hero-stat-label">Hosted access</span><span class="portal-hero-stat-value">' + (hosted ? "Active" : "Not attached") + '</span></div><div class="portal-hero-stat"><span class="portal-hero-stat-label">Accounts</span><span class="portal-hero-stat-value">' + (accounts.length === 1 ? "1 account" : String(accounts.length) + " accounts") + '</span></div><div class="portal-hero-stat"><span class="portal-hero-stat-label">Workspace fleet</span><span class="portal-hero-stat-value">' + (workspaceTotal ? workspaceCountLabel(workspaceTotal) : "0 workspaces") + "</span></div></div></section>";+ return '<section class="portal-shell-head"><div class="portal-shell-head-main"><div class="portal-shell-head-kicker">Pulse Account</div><div class="portal-shell-head-row"><div class="portal-shell-head-copy"><div class="portal-shell-head-brand-row"><h1 class="portal-shell-head-title">' + (hosted ? "Operator console" : "Account console") + '</h1><span class="portal-shell-head-chip">' + (hosted ? "Operator ready" : "Self-hosted only") + "</span></div><p><strong>" + statusText + "</strong> " + summary + '</p></div><div class="portal-shell-head-stats"><div class="portal-shell-head-stat"><span class="portal-shell-head-stat-label">Hosted access</span><span class="portal-shell-head-stat-value">' + (hosted ? "Active" : "Not attached") + '</span></div><div class="portal-shell-head-stat"><span class="portal-shell-head-stat-label">Accounts</span><span class="portal-shell-head-stat-value">' + (accounts.length === 1 ? "1 account" : String(accounts.length) + " accounts") + '</span></div><div class="portal-shell-head-stat"><span class="portal-shell-head-stat-label">Workspace fleet</span><span class="portal-shell-head-stat-value">' + (workspaceTotal ? workspaceCountLabel(workspaceTotal) : "0 workspaces") + "</span></div></div></div></div></section>";}function shellSectionButton(section, activeSection, title, copy) {return '<button class="portal-shell-nav-link' + (activeSection === section ? " active" : "") + '" type="button" data-shell-action="activate-section" data-shell-section="' + section + '"><span class="portal-shell-nav-label">' + title + '</span><span class="portal-shell-nav-copy">' + copy + "</span></button>";@@ -1826,7 +1826,7 @@var workspaceLabel = workspaceCountLabel((account.workspaces || []).length);return '<section class="account-surface"><div class="account-surface-header"><div class="account-heading"><div class="account-eyebrow">' + escapeHTML(accountKindLabel(account)) + "</div><h2>" + escapeHTML(account.name) + '</h2><div class="account-summary">' + escapeHTML(account.kind === "msp" ? "Operator workspace account" : "Hosted account operations") + '</div></div><div class="account-context-strip"><span class="account-context-chip">' + escapeHTML(account.kind_label) + '</span><span class="account-context-chip">' + escapeHTML(titleCase(account.role)) + '</span><span class="account-context-chip">' + escapeHTML(workspaceLabel) + '</span></div></div><div class="account-surface-body">' + renderAccountOverviewSection(account) + renderAccountWorkspaceSection(account, context.accountAPIBasePath) + renderAccountTeamSection(account) + "</div></section>";}).join("");- return '<div class="portal-shell" data-shell-section="' + activeSection + '">' + renderOverviewBand(accounts) + '<div class="portal-shell-layout">' + renderShellNavigation(accounts, context.bootstrap.support_email || "", activeSection) + '<div class="portal-shell-main"><section class="portal-content-panel portal-content-panel-overview"><div id="accounts-root">' + hostedContent + '</div></section><section class="portal-content-panel portal-content-panel-services service-section" id="account-services-section"><div class="service-header"><div><div class="account-panel-kicker">Account services</div><h2>' + serviceHeading + '</h2></div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-list-intro"><div class="account-panel-kicker">Commercial actions</div><p>Use these tools for self-hosted billing, license recovery, refunds, and privacy. Hosted workspace operations stay in Workspaces and Team.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Open Stripe billing access for existing self-hosted subscriptions without leaving the Pulse Account shell.", "manage-service-panel", "manage-inline-email", ["Invoices and plan changes", "Subscription self-service"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "Recover the latest active self-hosted license and invoice link for a commercial email address.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Request an immediate self-serve refund for eligible self-hosted purchases with explicit revocation confirmation.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Explicit revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Request commercial data export or deletion without leaving the account shell.", "data-service-panel", "data-export-email", ["Export or deletion", "Support escalation path"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Select a service</div><h3>Choose a commercial account action</h3><p>Open a billing, license, refund, or privacy flow from the service navigator. The active request stays here so the account-services area behaves like one working surface instead of a list of disconnected tools.</p><div class="service-empty-points"><div class="service-empty-point"><strong>Billing</strong><span>Open Stripe customer portal access after verification.</span></div><div class="service-empty-point"><strong>Licenses</strong><span>Recover the latest active self-hosted license and invoice link.</span></div><div class="service-empty-point"><strong>Privacy</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license actions? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div><div class="service-inline-support"><div class="account-panel-kicker">Support</div><p>Use support if a billing, refund, privacy, or license flow does not behave as expected for this account.</p><a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";+ return '<div class="portal-shell" data-shell-section="' + activeSection + '"><div class="portal-shell-layout">' + renderShellNavigation(accounts, context.bootstrap.support_email || "", activeSection) + '<div class="portal-shell-main">' + renderOverviewBand(accounts) + '<section class="portal-content-panel portal-content-panel-overview"><div id="accounts-root">' + hostedContent + '</div></section><section class="portal-content-panel portal-content-panel-services service-section" id="account-services-section"><div class="service-header"><div><div class="account-panel-kicker">Account services</div><h2>' + serviceHeading + '</h2></div><div class="service-note">' + serviceNote + '</div></div><div class="service-shell"><aside class="service-shell-sidebar"><div class="service-list-intro"><div class="account-panel-kicker">Commercial actions</div><p>Use these tools for self-hosted billing, license recovery, refunds, and privacy. Hosted workspace operations stay in Workspaces and Team.</p></div><div class="service-action-list">' + renderServiceActionRow("open-manage-service", "Billing", "Manage subscriptions", "Open Stripe billing access for existing self-hosted subscriptions without leaving the Pulse Account shell.", "manage-service-panel", "manage-inline-email", ["Invoices and plan changes", "Subscription self-service"]) + renderServiceActionRow("open-retrieve-service", "Licenses", "Retrieve licenses", "Recover the latest active self-hosted license and invoice link for a commercial email address.", "retrieve-service-panel", "retrieve-inline-email", ["Latest active license", "Invoice lookup"]) + renderServiceActionRow("open-refund-service", "Refunds", "Refund requests", "Request an immediate self-serve refund for eligible self-hosted purchases with explicit revocation confirmation.", "refund-service-panel", "refund-inline-email", ["Eligibility check", "Explicit revocation"]) + renderServiceActionRow("open-data-service", "Privacy", "Data and privacy", "Request commercial data export or deletion without leaving the account shell.", "data-service-panel", "data-export-email", ["Export or deletion", "Support escalation path"]) + '</div></aside><div class="service-shell-main"><div class="service-detail-shell"><div class="service-panel service-panel-empty visible" id="service-panel-empty"><div class="account-panel-kicker">Select a service</div><h3>Choose a commercial account action</h3><p>Open a billing, license, refund, or privacy flow from the service navigator. The active request stays here so the account-services area behaves like one working surface instead of a list of disconnected tools.</p><div class="service-empty-points"><div class="service-empty-point"><strong>Billing</strong><span>Open Stripe customer portal access after verification.</span></div><div class="service-empty-point"><strong>Licenses</strong><span>Recover the latest active self-hosted license and invoice link.</span></div><div class="service-empty-point"><strong>Privacy</strong><span>Request export or deletion without leaving Pulse Account.</span></div></div><div class="service-empty-support">Need help with billing, refund, privacy, or license actions? <a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div><div class="service-panel" id="manage-service-panel"><div id="manage-service-root"></div></div><div class="service-panel" id="retrieve-service-panel"><div id="retrieve-service-root"></div></div><div class="service-panel" id="refund-service-panel"><div id="refund-service-root"></div></div><div class="service-panel" id="data-service-panel"><h3>Data and privacy</h3><p>Request export or deletion of the commercial data tied to an email address. Payment data held directly by Stripe still requires support handling.</p><div class="subsection"><div id="data-export-root"></div></div><div class="subsection"><div id="data-delete-root"></div></div><div class="helper-text">Payment-card data stays with Stripe. For Stripe deletion support, contact <a href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a>.</div></div></div><div class="service-inline-support"><div class="account-panel-kicker">Support</div><p>Use support if a billing, refund, privacy, or license flow does not behave as expected for this account.</p><a class="portal-support-link" href="mailto:' + escapeAttr(context.bootstrap.support_email || "") + '">' + escapeHTML(context.bootstrap.support_email || "") + '</a></div></div></div></section><section class="portal-content-panel portal-content-panel-support">' + renderSupportSection(context) + "</section></div></div></div>";}function renderSignedOutPortalHTML(context) {var statusHTML = "";diff --git a/internal/cloudcp/portal/frontend/src/shell_view.test.ts b/internal/cloudcp/portal/frontend/src/shell_view.test.tsindex 038135f54c..b31d3cfa25 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.test.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.test.ts@@ -125,7 +125,8 @@ describe('shell view', function() {}));- expect(html).toContain('portal-hero-brand">Pulse Account</div>');+ expect(html).toContain('portal-shell-head-kicker">Pulse Account</div>');+ expect(html).toContain('portal-shell-head-title">Operator console</h1>');expect(html).toContain('Hosted access is active on this account.');expect(html).toContain('portal-shell-nav');expect(html).toContain('Overview');@@ -189,6 +190,7 @@ describe('shell view', function() {expect(html).toContain('Pulse Account');expect(html).toContain('Self-hosted only');+ expect(html).toContain('portal-shell-head-title">Account console</h1>');expect(html).toContain('No hosted workspace access is attached to this account yet.');expect(html).toContain('Use these tools for self-hosted billing, license recovery, refunds, and privacy.');expect(html).toContain('Account services');diff --git a/internal/cloudcp/portal/frontend/src/shell_view.ts b/internal/cloudcp/portal/frontend/src/shell_view.tsindex c91115bebb..35b0a30dfb 100644--- a/internal/cloudcp/portal/frontend/src/shell_view.ts+++ b/internal/cloudcp/portal/frontend/src/shell_view.ts@@ -211,26 +211,31 @@ function renderOverviewBand(accounts: PortalAccountSummary[]): string {: 'Billing, license recovery, refunds, and privacy actions until hosted access is attached.';return (- '<section class="portal-hero portal-hero-compact">' +- '<div class="portal-hero-copy">' +- '<div class="portal-hero-heading-row">' +- '<div class="portal-hero-brand">Pulse Account</div>' +- '<span class="portal-hero-chip">' + (hosted ? 'Operator ready' : 'Self-hosted only') + '</span>' +- '</div>' +- '<p><strong>' + statusText + '</strong> ' + summary + '</p>' +- '</div>' +- '<div class="portal-hero-stats">' +- '<div class="portal-hero-stat">' +- '<span class="portal-hero-stat-label">Hosted access</span>' +- '<span class="portal-hero-stat-value">' + (hosted ? 'Active' : 'Not attached') + '</span>' +- '</div>' +- '<div class="portal-hero-stat">' +- '<span class="portal-hero-stat-label">Accounts</span>' +- '<span class="portal-hero-stat-value">' + (accounts.length === 1 ? '1 account' : String(accounts.length) + ' accounts') + '</span>' +- '</div>' +- '<div class="portal-hero-stat">' +- '<span class="portal-hero-stat-label">Workspace fleet</span>' +- '<span class="portal-hero-stat-value">' + (workspaceTotal ? workspaceCountLabel(workspaceTotal) : '0 workspaces') + '</span>' ++ '<section class="portal-shell-head">' ++ '<div class="portal-shell-head-main">' ++ '<div class="portal-shell-head-kicker">Pulse Account</div>' ++ '<div class="portal-shell-head-row">' ++ '<div class="portal-shell-head-copy">' ++ '<div class="portal-shell-head-brand-row">' ++ '<h1 class="portal-shell-head-title">' + (hosted ? 'Operator console' : 'Account console') + '</h1>' ++ '<span class="portal-shell-head-chip">' + (hosted ? 'Operator ready' : 'Self-hosted only') + '</span>' ++ '</div>' ++ '<p><strong>' + statusText + '</strong> ' + summary + '</p>' ++ '</div>' ++ '<div class="portal-shell-head-stats">' ++ '<div class="portal-shell-head-stat">' ++ '<span class="portal-shell-head-stat-label">Hosted access</span>' ++ '<span class="portal-shell-head-stat-value">' + (hosted ? 'Active' : 'Not attached') + '</span>' ++ '</div>' ++ '<div class="portal-shell-head-stat">' ++ '<span class="portal-shell-head-stat-label">Accounts</span>' ++ '<span class="portal-shell-head-stat-value">' + (accounts.length === 1 ? '1 account' : String(accounts.length) + ' accounts') + '</span>' ++ '</div>' ++ '<div class="portal-shell-head-stat">' ++ '<span class="portal-shell-head-stat-label">Workspace fleet</span>' ++ '<span class="portal-shell-head-stat-value">' + (workspaceTotal ? workspaceCountLabel(workspaceTotal) : '0 workspaces') + '</span>' ++ '</div>' ++ '</div>' +'</div>' +'</div>' +'</section>'@@ -703,10 +708,10 @@ export function renderAuthenticatedPortalHTML(context: ShellViewContext): stringreturn ('<div class="portal-shell" data-shell-section="' + activeSection + '">' +- renderOverviewBand(accounts) +'<div class="portal-shell-layout">' +renderShellNavigation(accounts, context.bootstrap.support_email || '', activeSection) +'<div class="portal-shell-main">' ++ renderOverviewBand(accounts) +'<section class="portal-content-panel portal-content-panel-overview">' +'<div id="accounts-root">' + hostedContent + '</div>' +'</section>' +diff --git a/internal/cloudcp/portal/frontend/src/styles.css b/internal/cloudcp/portal/frontend/src/styles.cssindex e5fb31ed07..4026509a30 100644--- a/internal/cloudcp/portal/frontend/src/styles.css+++ b/internal/cloudcp/portal/frontend/src/styles.css@@ -155,50 +155,23 @@ header .logout-btn:hover,}.portal-shell {- display: flex;- flex-direction: column;- gap: 16px;-}--.portal-hero {- display: grid;- grid-template-columns: minmax(0, 1fr) auto;- gap: 14px;- padding: 10px 14px;- border: 1px solid var(--line);- border-radius: var(--radius-lg);- background: #fff;- box-shadow: 0 10px 24px rgba(10, 25, 41, 0.035);+ display: block;}-.portal-hero-compact {- align-items: center;- padding: 10px 14px;+.portal-shell-head {+ padding: 20px 22px 18px;+ border-bottom: 1px solid var(--line);+ background:+ linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(245, 248, 250, 0.96));}-.portal-hero-copy {+.portal-shell-head-main {display: flex;flex-direction: column;- gap: 2px;- max-width: 900px;-}--.portal-hero-heading-row {- display: flex;- align-items: center;gap: 10px;- flex-wrap: wrap;-}--.portal-hero-brand {- font-size: 26px;- font-weight: 800;- line-height: 1;- letter-spacing: -0.045em;- color: var(--ink);}-.portal-hero-kicker,+.portal-shell-head-kicker,.account-panel-kicker,.service-card-kicker,.account-eyebrow {@@ -208,7 +181,7 @@ header .logout-btn:hover,text-transform: uppercase;}-.portal-hero-kicker,+.portal-shell-head-kicker,.account-panel-kicker,.service-card-kicker {color: var(--accent);@@ -218,7 +191,7 @@ header .logout-btn:hover,color: var(--ink-muted);}-.portal-hero p,+.portal-shell-head p,.intro-card p {margin: 0;font-size: 12px;@@ -226,12 +199,42 @@ header .logout-btn:hover,color: var(--ink-soft);}-.portal-hero p strong {+.portal-shell-head p strong {color: var(--ink);font-weight: 700;}-.portal-hero-chip {+.portal-shell-head-row {+ display: grid;+ grid-template-columns: minmax(0, 1fr) auto;+ gap: 16px;+ align-items: end;+}++.portal-shell-head-copy {+ display: flex;+ flex-direction: column;+ gap: 6px;+ max-width: 860px;+}++.portal-shell-head-brand-row {+ display: flex;+ align-items: center;+ gap: 12px;+ flex-wrap: wrap;+}++.portal-shell-head-title {+ margin: 0;+ font-size: 32px;+ line-height: 0.98;+ letter-spacing: -0.06em;+ font-weight: 800;+ color: var(--ink);+}++.portal-shell-head-chip {display: inline-flex;align-items: center;min-height: 24px;@@ -245,26 +248,26 @@ header .logout-btn:hover,text-transform: uppercase;}-.portal-hero-stats {+.portal-shell-head-stats {display: flex;align-items: stretch;- gap: 6px;- align-self: center;+ gap: 8px;+ align-self: start;}-.portal-hero-stat {+.portal-shell-head-stat {display: flex;flex-direction: column;justify-content: center;- min-width: 120px;+ min-width: 132px;min-height: 0;- padding: 8px 10px;+ padding: 10px 12px;border: 1px solid var(--line);border-radius: 12px;- background: #fbfcfd;+ background: rgba(255, 255, 255, 0.92);}-.portal-hero-stat-label {+.portal-shell-head-stat-label {font-size: 11px;font-weight: 700;color: var(--ink-muted);@@ -272,7 +275,7 @@ header .logout-btn:hover,text-transform: uppercase;}-.portal-hero-stat-value {+.portal-shell-head-stat-value {font-size: 14px;font-weight: 800;line-height: 1.25;@@ -296,8 +299,8 @@ header .logout-btn:hover,align-items: start;border: 1px solid var(--line);border-radius: var(--radius-lg);- background: #fff;- box-shadow: 0 16px 40px rgba(10, 25, 41, 0.05);+ background: #e9eef3;+ box-shadow: 0 22px 48px rgba(10, 25, 41, 0.08);overflow: hidden;}@@ -418,9 +421,9 @@ header .logout-btn:hover,.portal-shell-main {min-width: 0;- min-height: 760px;- padding: 20px 22px 26px;- background: #fbfcfd;+ min-height: 820px;+ padding: 0 0 28px;+ background: #f5f7fa;}.portal-shell-main > .portal-content-panel {@@ -463,6 +466,10 @@ header .logout-btn:hover,gap: 26px;}+.portal-content-panel {+ padding: 20px 22px 0;+}+.portal-top-section,.service-section {display: flex;@@ -499,7 +506,7 @@ header .logout-btn:hover,border: none;background: transparent;box-shadow: none;- padding: 0;+ padding: 0 0 6px;}.account-surface + .account-surface {@@ -511,7 +518,7 @@ header .logout-btn:hover,grid-template-columns: minmax(0, 1fr) auto;align-items: end;gap: 16px;- padding: 6px 4px 12px;+ padding: 0 4px 12px;border: none;border-bottom: 1px solid var(--line);border-radius: var(--radius-md);@@ -1825,12 +1832,11 @@ header .logout-btn:hover,}@media (max-width: 920px) {- .portal-hero {+ .portal-shell-head-row {grid-template-columns: 1fr;- padding: 20px;}- .portal-hero-stats {+ .portal-shell-head-stats {flex-wrap: wrap;}@@ -1861,13 +1867,17 @@ header .logout-btn:hover,grid-template-columns: 1fr;}- .account-surface,- .portal-hero,.intro-card,.service-panel {padding: 18px;}+ .portal-shell-head,+ .portal-content-panel {+ padding-left: 16px;+ padding-right: 16px;+ }+.account-surface-header,.workspace-management-header,.team-management-header,