/* Enterprise console skin. Loaded only by the platform and merchant workspaces.
   Business state, authorization and replay sizing remain owned by their modules. */
:root {
  --ink: #16243b;
  --muted: #52647d;
  --paper: #f2f5fa;
  --panel: #ffffff;
  --night: #0b1730;
  --night-2: #132744;
  --accent: #2457d6;
  --accent-deep: #1645b6;
  --accent-soft: #eaf0ff;
  --cyan: #087b94;
  --sidebar-text: #c2cfe3;
  --sidebar-muted: #a8bbd6;
  --on-accent: #ffffff;
  --on-dark: #edf4ff;
  --green: #73b7ff;
  --green-deep: var(--accent-deep);
  --line: #dce3ee;
  --danger: #b42336;
  --danger-soft: #fff0f2;
  --success: #126444;
  --success-soft: #eaf7f0;
  --warning: #855408;
  --warning-soft: #fff5df;
  --focus: #2457d6;
  --radius: 12px;
  --shadow: 0 3px 16px rgba(25,48,85,.045);
}
.enterprise-console { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; font-size: 15px; line-height: 1.65; background: var(--paper); -webkit-font-smoothing: antialiased; }
.enterprise-console [hidden], .enterprise-console .hidden { display: none !important; }
.enterprise-console ::selection { color: var(--ink); background: #cddbff; }
.enterprise-console :is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.enterprise-console :is(button,a) { transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.enterprise-console button:hover { transform: none; }
.enterprise-console :is(input,select,textarea) { border-radius: 7px; }
.enterprise-console input::placeholder, .enterprise-console textarea::placeholder { color: #66778e; opacity: 1; }
.enterprise-console :is(h1,h2,h3) { font-family: inherit; letter-spacing: -.025em; }
.console-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.console-icon { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Stable workspace shell */
.enterprise-console .console { grid-template-columns: 248px minmax(0,1fr); }
.enterprise-console .sidebar { height: 100dvh; padding: 26px 18px 16px; color: var(--sidebar-text); background: linear-gradient(170deg,#112544 0%,var(--night) 60%); border-right: 1px solid #1b3453; scrollbar-width: thin; scrollbar-color: #425b7b var(--night); }
.enterprise-console .sidebar-brand { height: auto; min-height: 55px; padding: 0 9px 18px; border-bottom: 1px solid #2a3b57; }
.enterprise-console .mark { width: 34px; height: 30px; }
.enterprise-console .mark i { width: 18px; height: 18px; border-color: #9bcfff; border-radius: 50%; }
.enterprise-console .mark i:nth-child(3) { left: 8px; }
.enterprise-console .portal-brand-text { gap: 7px; letter-spacing: .04em; }
.enterprise-console .portal-brand-text b { color: var(--on-dark); font-size: 19px; font-weight: 650; }
.enterprise-console .portal-brand-text small, .enterprise-console .sidebar-brand .portal-brand-text small { color: var(--sidebar-muted); font-size: 12px; font-weight: 400; }
.sidebar-caption { margin: 25px 13px 10px; color: var(--sidebar-muted); font-size: 12px; letter-spacing: .12em; }
.enterprise-console .sidebar nav { margin-top: 0; gap: 5px; }
.enterprise-console .nav-item { min-height: 45px; height: auto; padding: 11px 13px; grid-template-columns: 25px minmax(0,1fr); gap: 10px; border: 1px solid transparent; border-radius: 7px; color: var(--sidebar-text); }
.enterprise-console .nav-item i { color: #9bb6d7; font-size: 13px; display: grid; place-items: center; }
.enterprise-console .nav-item span { font-size: 14px; line-height: 1.5; font-weight: 500; }
.enterprise-console .nav-item:hover { background: #1a3151; color: var(--on-dark); }
.enterprise-console .nav-item.active { color: #fff; border-color: #476ea9; background: #254b80; box-shadow: inset 3px 0 #91caff; }
.enterprise-console .nav-item.active i { color: #b9e3ff; }
.enterprise-console .sidebar :is(a,button):focus-visible { outline-color: #9dc9ff; outline-offset: -1px; }
.sidebar-product-note { margin: 18px 12px; color: var(--sidebar-muted); font-size: 12px; line-height: 1.8; }
.enterprise-console .storage-note { margin-top: auto; padding: 14px; border: 1px solid #30435f; border-radius: 8px; background: #142640; }
.enterprise-console .storage-note > span { color: #ffd38a; font-size: 12px; letter-spacing: .03em; }
.enterprise-console .storage-note p { color: var(--sidebar-text); font-size: 12px; line-height: 1.8; }
.enterprise-console .account-card { margin-top: 16px; padding: 16px 4px 2px; grid-template-columns: 36px minmax(0,1fr) auto; gap: 9px; border-top-color: #2a3b57; }
.enterprise-console .avatar { width: 36px; height: 36px; color: #e8f4ff; background: #2c527e; border: 1px solid #5578a2; border-radius: 9px; font-size: 14px; }
.enterprise-console .account-card b { color: var(--on-dark); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.enterprise-console .account-card small { color: var(--sidebar-muted); font-size: 12px; }
.enterprise-console .account-actions button { padding: 3px 5px; color: var(--sidebar-text); font-size: 12px; border-radius: 4px; }
.enterprise-console .account-actions button:hover { color: #fff; background: #2c4263; }
.enterprise-console .main-area { min-width: 0; padding: 0 32px 48px; background: radial-gradient(ellipse at 100% 0%,#e9f0fb 0%,transparent 45%),var(--paper); }
.enterprise-console .topbar { min-height: 108px; gap: 20px; border-bottom: 1px solid var(--line); }
.workspace-eyebrow { margin: 0 0 3px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.enterprise-console .topbar p { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.enterprise-console .topbar h1 { margin: 4px 0 0; font-family: inherit; font-size: 27px; font-weight: 650; line-height: 1.4; }
.enterprise-console .topbar-actions { gap: 12px; flex: 0 0 auto; }
.enterprise-console .online-pill { height: 34px; color: #365272; background: #e8eef8; border: 1px solid #ccd9ed; border-radius: 6px; font-size: 12px; }
.enterprise-console .online-pill i { background: var(--accent); box-shadow: none; }
.enterprise-console .view { padding-top: 25px; }

/* An architectural illustration, not a live state chart. */
.console-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 188px; margin-bottom: 22px; padding: 28px 32px; overflow: hidden; border: 1px solid #294c79; border-radius: var(--radius); color: var(--on-dark); background: linear-gradient(115deg,#142b4e,#173b67 65%,#164873); }
.console-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#8ebdff08 1px,transparent 1px),linear-gradient(90deg,#8ebdff08 1px,transparent 1px); background-size: 32px 32px; }
.console-hero-copy { position: relative; max-width: 620px; z-index: 1; }
.console-hero-kicker { margin: 0 0 12px; font-size: 11px; letter-spacing: .17em; color: #bbd7ff; }
.console-hero h2 { margin: 0; color: #fff; font-size: clamp(26px,2.5vw,34px); font-weight: 600; line-height: 1.4; }
.console-hero-description { margin: 10px 0 0; color: #c4d7ef; font-size: 14px; line-height: 1.9; }
.console-hero-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 17px; color: #e0eeff; font-size: 12px; }
.console-hero-flow span { padding: 3px 10px; border: 1px solid #567699; border-radius: 4px; background: #24496d; }
.console-hero-flow i { color: #aac9ed; font-style: normal; }
.console-hero-art { width: 258px; height: 150px; flex: 0 0 258px; color: #a6d7ff; opacity: .9; }
.hero-art-grid { stroke: #6798ce; opacity: .22; fill: none; }
.hero-art-orbit { stroke: #669bd1; fill: none; opacity: .6; }
.hero-art-core { stroke: #b1e1ff; fill: #225080; }
.hero-art-node { stroke: #c6ebff; fill: #295983; }
.hero-art-link { stroke: #83b8e8; fill: none; }

/* Data hierarchy and shared controls */
.enterprise-console .metric-grid { gap: 16px; border: 0; background: transparent; }
.enterprise-console .metric-grid article { min-height: 155px; padding: 23px 22px 20px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.enterprise-console .metric-grid article:last-child { border: 1px solid var(--line); }
.enterprise-console .metric-grid article > span { padding-right: 34px; color: var(--muted); font-size: 14px; }
.enterprise-console .metric-grid strong { margin: 16px 0 13px; color: var(--ink); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 37px; font-weight: 650; line-height: 1.12; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.enterprise-console .metric-grid small { color: var(--muted); font-size: 12px; }
.metric-icon { width: 32px; height: 32px; position: absolute; top: 20px; right: 20px; padding: 7px; color: var(--accent); background: var(--accent-soft); border-radius: 8px; }
.enterprise-console .overview-grid { grid-template-columns: minmax(0,1.65fr) minmax(300px,.82fr); gap: 22px; margin-top: 23px; align-items: stretch; }
.enterprise-console .panel { border-color: var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.enterprise-console .panel-head { min-height: 78px; padding: 19px 22px; gap: 14px; border-color: var(--line); }
.enterprise-console .panel-head p, .enterprise-console .dialog-head p { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.enterprise-console .panel-head h2 { margin-top: 4px; font-family: inherit; font-size: 19px; font-weight: 650; }
.enterprise-console .recent-panel { min-height: 335px; }
.enterprise-console .table-wrap { border-radius: inherit; overscroll-behavior-inline: contain; }
.enterprise-console th { height: 45px; padding: 10px 17px; color: #52647d; background: #f7f9fc; border-color: #e3e9f2; font-size: 12px; font-weight: 600; }
.enterprise-console td { padding: 16px 17px; color: #354760; border-color: #e9edf4; font-size: 14px; }
.enterprise-console td small { color: var(--muted); font-size: 12px; }
.enterprise-console tbody tr:hover { background: #f2f6fe; }
.enterprise-console .empty-row td { color: var(--muted); }
.enterprise-console :is(.primary-button,.outline-button,.table-action,.text-button) { font-family: inherit; border-radius: 7px; font-size: 14px; font-weight: 550; }
.enterprise-console .primary-button { min-height: 46px; color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); gap: 16px; justify-content: center; box-shadow: 0 2px 5px #2457d615; }
.enterprise-console .primary-button:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.enterprise-console .primary-button.compact { min-height: 40px; }
.enterprise-console .outline-button { min-height: 40px; color: #354760; border-color: #c8d3e3; background: #fff; }
.enterprise-console .outline-button:hover { color: var(--accent-deep); border-color: #90a9db; background: #f5f8ff; }
.enterprise-console .table-action { min-height: 32px; padding: 5px 10px; color: var(--accent-deep); border-color: #cfdbf5; background: #edf2fd; font-size: 12px; white-space: nowrap; }
.enterprise-console .table-action:hover { color: var(--on-accent); border-color: var(--accent); background: var(--accent); }
.enterprise-console .text-button { color: var(--accent-deep); padding: 5px 0; font-size: 13px; }
.enterprise-console .status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-color: #d9e1ee; border-radius: 5px; color: var(--muted); background: #f4f7fb; font-size: 12px; }
.enterprise-console .status-badge.sealed { color: var(--success); border-color: #badbc9; background: var(--success-soft); }
.enterprise-console .status-badge.recording { color: var(--warning); border-color: #ecd1a3; background: var(--warning-soft); }
.enterprise-console .status-badge:is(.revoked,.failed,.interrupted,.expired) { color: var(--danger); border-color: #eac0c7; background: var(--danger-soft); }
.enterprise-console .status-badge:is(.issued,.pending,.awaiting_confirmation,.awaiting_promotion) { color: var(--warning); border-color: #ecd1a3; background: var(--warning-soft); }
.enterprise-console .status-badge.active { color: var(--success); border-color: #badbc9; background: var(--success-soft); }
.enterprise-console .status-badge.debug-environment { color: #923d18; border-color: #ebccb2; background: #fff1e7; }
.enterprise-console .chain-visual { padding: 27px 24px 24px; }
.enterprise-console .chain-visual > b { background: #cbd8e9; }
.enterprise-console .chain-node { color: var(--muted); border-color: #bccce1; background: #f4f7fc; }
.enterprise-console .chain-node.done { color: var(--accent-deep); border-color: #a6bde6; background: var(--accent-soft); }
.enterprise-console .chain-panel ol { padding: 0 22px; }
.enterprise-console .chain-panel li { min-height: 48px; gap: 14px; color: #40516a; font-size: 13px; }
.enterprise-console .chain-panel li b { color: var(--success); font-size: 12px; text-align: right; }
.enterprise-console .chain-panel li b.pending { color: var(--warning); }
.enterprise-console .filter-bar { padding: 18px; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: end; }
.enterprise-console .filter-bar :is(input,select) { min-height: 42px; max-width: 100%; padding: 8px 11px; border-color: #cbd5e4; font-size: 14px; background: #fff; }
.enterprise-console .filter-bar > input { min-width: 200px; flex: 1 1 280px; }
.enterprise-console .filter-bar select { min-width: 135px; flex: 1 1 150px; }
.enterprise-console .filter-bar label { min-width: 0; color: var(--muted); font-size: 12px; }
.enterprise-console .filter-bar label input { margin-top: 5px; min-width: 170px; }
.enterprise-console .section-actions { gap: 14px; flex-wrap: wrap; }
.enterprise-console .section-actions p { color: var(--muted); font-size: 14px; flex: 1 1 400px; }
.enterprise-console .section-actions button { flex-shrink: 0; }
.enterprise-console .pagination { gap: 14px; color: var(--muted); font-size: 13px; }
.enterprise-console .merchant-context { margin-top: 20px; padding: 15px 18px; border-color: #c3d4f4; border-radius: 8px; background: #eaf1fe; }
.enterprise-console .plan-row { border-radius: 9px; color: #354760; }
.enterprise-console .project-grid { gap: 19px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.enterprise-console .project-card { min-width: 0; min-height: 258px; padding: 24px; border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.enterprise-console .project-card-head { gap: 12px; }
.enterprise-console .project-card-head > span { min-width: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.enterprise-console .project-card h2 { margin: 24px 0 8px; font-family: inherit; font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.enterprise-console .project-card > p { font-size: 13px; }
.enterprise-console .project-meta { margin: 22px 0; padding: 18px 0 0; }
.enterprise-console .project-meta span { color: var(--muted); font-size: 12px; }
.enterprise-console .project-meta b { font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.5; }
.enterprise-console .project-card footer { gap: 12px; flex-wrap: wrap; }
.enterprise-console .project-origin { min-width: 0; max-width: 100%; color: var(--muted); font-size: 12px; }

/* Forms, dialogs and exceptional states stay explicit. */
.enterprise-console dialog::backdrop { background: rgba(6,17,37,.6); backdrop-filter: none; }
.enterprise-console .dialog-card { border: 1px solid #ced9e8; border-radius: 14px; background: #fff; box-shadow: 0 24px 80px #071b3b38; }
.enterprise-console .dialog-head { gap: 12px; border-color: var(--line); }
.enterprise-console :is(.dialog-head,.player-head) h2, .enterprise-console .account-settings h3 { font-family: inherit; font-weight: 600; }
.enterprise-console .dialog-head h2 { font-size: 23px; }
.enterprise-console .dialog-head > button { border-radius: 6px; background: #f3f6fb; color: #4c607c; }
.enterprise-console :is(.dialog-card,.login-card) label { color: #3e506b; font-size: 14px; font-weight: 550; }
.enterprise-console :is(.dialog-card,.login-card) :is(input,select,textarea) { border-color: #cbd5e4; color: var(--ink); font-size: 15px; }
.enterprise-console :is(.dialog-card,.login-card) :is(input,select,textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 3px #2457d61a; }
.enterprise-console input[type=checkbox] { accent-color: var(--accent); }
.enterprise-console :is(.setting-help,.dialog-card > small,.empty-hint,.case-summary,.credential-list small,.credential-list em) { color: var(--muted); font-size: 13px; }
.enterprise-console :is(.setting-explainer,.project-access-list,.case-summary,.case-notes article,.recovery-codes) { border-radius: 7px; }
.enterprise-console .setting-explainer { background: #f8faff; border-color: #d3deef; }
.enterprise-console .setting-explainer > summary { color: var(--accent-deep); font-size: 14px; }
.enterprise-console .setting-explainer[open] > summary { border-color: #d3deef; }
.enterprise-console .setting-explainer-body { color: #354760; font-size: 14px; }
.enterprise-console .form-error, .enterprise-console .dialog-error { font-size: 14px !important; }
.enterprise-console .debug-environment-warning { color: #7b390e; border-color: #e3bf95; border-radius: 8px; background: #fff4e8; }
.enterprise-console .verification-cloud-status { color: var(--muted); }
.enterprise-console .verification-cloud-status.is-verified { color: var(--success); }
.enterprise-console .verification-cloud-status.is-error { color: var(--danger); }
.enterprise-console .toast { border-radius: 8px; color: var(--on-dark); }
.enterprise-console .toast.error { border-color: #f595a4; }
.enterprise-console :is(.debug-log-entry pre,.code-panel pre,.integration-code-card pre) { color: #dceaff; background: var(--night); }
.enterprise-console .player-dialog { border-radius: 12px; color: var(--on-dark); }
.enterprise-console :is(.player-meta,.player-resolution,.player-status,.player-controls) { color: #c2d2e9; }
.enterprise-console .player-status[data-state=playing] { color: #8fe0b8; }
.enterprise-console .player-mount { background: #061021; }
.enterprise-console .player-head button { color: #e2edfc; border-color: #506482; border-radius: 6px; }
.enterprise-console .player-head p { color: #a9c9ee; }

/* Documentation and assistant share the same information palette. */
.enterprise-console .integration-guide { color: var(--ink); }
.enterprise-console .integration-guide :is(.guide-intro,.guide-list,.code-note,.resilience-grid p,.confirmation-rules p,.integration-check-grid ul,.integration-concepts span) { color: #354760; }
.enterprise-console .integration-guide :is(.integration-concepts b,.confirmation-rules b,.resilience-grid b) { color: var(--accent-deep); }
.enterprise-console .guide-toc button { border-color: #d2dced; color: #364d70; background: #fff; border-radius: 7px; }
.enterprise-console .guide-toc button span { color: var(--muted); }
.enterprise-console .guide-toc button:hover, .enterprise-console .guide-toc button:focus-visible { color: var(--accent-deep); background: var(--accent-soft); border-color: #91acdf; outline-color: var(--focus); }
.enterprise-console .guide-version { color: var(--accent-deep); background: var(--accent-soft); border-color: #c6d6f9; border-radius: 5px; }
.enterprise-console .guide-downloads a { color: var(--accent-deep); border-color: #d5dff1; background: #f5f8ff; }
.enterprise-console .guide-downloads a:hover { background: #eaf1ff; border-color: #94acdb; }
.enterprise-console .guide-downloads span { color: var(--muted); }
.enterprise-console .guide-side-note { color: #354d70; background: #f0f5fe; }
.enterprise-console .guide-details { border-color: var(--line); }
.enterprise-console .guide-details > summary { color: var(--accent-deep); }
.enterprise-console .guide-details > summary:hover, .enterprise-console .guide-details[open] > summary { background: #edf3fd; border-color: #d3deef; }
.enterprise-console .guide-code-toolbar { background: #f2f6fc; border-color: var(--line); }
.enterprise-console .integration-guide .guide-table-wrap td { color: #354760; }
.enterprise-console .integration-guide .guide-table-wrap th { color: #425c80; background: #f1f5fc; }
.enterprise-console .integration-warning { color: var(--warning); background: var(--warning-soft); border-color: #e2c58e; }
.enterprise-console .integration-assistant { border-color: #b8ccee; }
.enterprise-console .integration-assistant > summary { color: #213f6b; background: #edf3ff; }
.enterprise-console .assistant-open-hint { color: var(--accent-deep); }
.enterprise-console .assistant-privacy { color: #74511a; background: #fff7e7; border-color: #e5d0a9; }
.enterprise-console .assistant-message { color: var(--ink); background: #f7f9fd; border-color: #d7e1f0; }
.enterprise-console .assistant-message-user { background: #edf3ff; border-color: #c5d7f5; }
.enterprise-console .assistant-message > strong { color: var(--accent-deep); }
.enterprise-console :is(.assistant-meta,.assistant-status,.assistant-actions > span) { color: var(--muted); }
.enterprise-console .assistant-form textarea { border-color: #b9cbe5; }
.enterprise-console .assistant-form textarea:disabled { background: #edf1f7; }
.enterprise-console .integration-guide .assistant-code pre { color: #dceaff; }

/* Secure sign-in, using only CSS and SVG decoration. */
.enterprise-console .auth-screen { position: relative; color: var(--on-dark); background: radial-gradient(ellipse at 20% 10%,#193e6b 0%,transparent 52%),linear-gradient(125deg,#0b1830,#102849); grid-template-rows: 98px 1fr 72px; }
.enterprise-console .auth-screen::before { position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; background-image: linear-gradient(#90bafa09 1px,transparent 1px),linear-gradient(90deg,#90bafa09 1px,transparent 1px); background-size: 56px 56px; }
.enterprise-console .auth-brand { position: relative; z-index: 1; letter-spacing: .03em; }
.enterprise-console .auth-grid { grid-template-columns: minmax(0,1fr) minmax(360px,440px); gap: clamp(50px,8vw,130px); padding: 40px 0 70px; }
.enterprise-console .auth-copy .kicker { color: #a9d5ff; font-size: 12px; letter-spacing: .17em; }
.enterprise-console .auth-copy h1 { margin: 23px 0 24px; font-family: inherit; font-size: clamp(38px,4.3vw,62px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
.enterprise-console .auth-copy > p:not(.kicker) { color: #bfd0e7; font-size: 16px; line-height: 1.95; }
.auth-features { display: flex; flex-wrap: wrap; gap: 11px 18px; margin-top: 27px; color: #d7e6f8; font-size: 13px; }
.auth-features span { display: inline-flex; align-items: center; gap: 7px; }
.auth-features .console-icon { width: 16px; height: 16px; color: #99caff; }
.enterprise-console .auth-signal { margin-top: 30px; color: #c4d5ee; font-size: 12px; }
.enterprise-console .auth-signal span { background: #95caff; box-shadow: none; }
.enterprise-console .login-card { width: 100%; padding: 35px 36px; border: 1px solid #d3dfef; border-radius: 15px; background: #fff; box-shadow: 0 26px 80px #020d2355; }
.enterprise-console .login-card-head { align-items: center; padding-bottom: 21px; color: var(--muted); letter-spacing: .11em; border-color: #e0e7f1; }
.login-card-icon { width: 28px; height: 28px; color: var(--accent); }
.enterprise-console .login-card h2 { margin: 25px 0 7px; font-family: inherit; font-size: 27px; font-weight: 650; }
.enterprise-console .login-card > p { font-size: 14px; }
.enterprise-console .login-card input { min-height: 48px; }
.enterprise-console .login-card .primary-button { margin-top: 5px; min-height: 48px; justify-content: space-between; }
.enterprise-console .login-help { color: var(--accent-deep); font-size: 13px; }
.enterprise-console .auth-footer { color: #b9cce5; border-color: #334862; letter-spacing: .02em; }

@media (max-width: 1180px) {
  .enterprise-console .console { grid-template-columns: 224px minmax(0,1fr); }
  .enterprise-console .main-area { padding-left: 24px; padding-right: 24px; }
  .enterprise-console .metric-grid, .enterprise-console .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .enterprise-console .overview-grid { grid-template-columns: minmax(0,1fr); }
  .enterprise-console .metric-grid article { border: 1px solid var(--line); }
  .console-hero { padding: 26px; }
  .console-hero-art { width: 190px; flex-basis: 190px; }
}
@media (max-width: 760px) {
  .enterprise-console .console { display: block; }
  .enterprise-console .sidebar { position: relative; height: auto; padding: 15px 16px 12px; }
  .enterprise-console .sidebar-brand { display: flex; min-height: 40px; padding: 0 0 14px; }
  .enterprise-console .sidebar-brand .portal-brand-text b { font-size: 17px; }
  .enterprise-console .sidebar-brand .portal-brand-text small { font-size: 12px; }
  .sidebar-caption, .sidebar-product-note, .enterprise-console .storage-note { display: none; }
  .enterprise-console .sidebar nav { display: flex; overflow-x: auto; gap: 7px; margin-top: 12px; padding-bottom: 5px; overscroll-behavior-inline: contain; }
  .enterprise-console .nav-item { display: inline-flex; width: auto; min-width: max-content; flex: 0 0 auto; padding: 10px 13px; min-height: 44px; }
  .enterprise-console .nav-item i { width: 19px; }
  .enterprise-console .account-card { grid-template-columns: 30px minmax(0,1fr) auto; margin-top: 9px; padding-top: 10px; }
  .enterprise-console .avatar { width: 30px; height: 30px; font-size: 12px; }
  .enterprise-console .account-actions { display: flex; gap: 7px; }
  .enterprise-console .account-actions button { min-height: 38px; padding: 5px 10px; background: #1a3151; }
  .enterprise-console .main-area { padding: 0 16px 32px; }
  .enterprise-console .topbar { min-height: 99px; gap: 12px; }
  .enterprise-console .topbar h1 { font-size: 24px; }
  .enterprise-console .topbar p { font-size: 11px; }
  .workspace-eyebrow { font-size: 11px; }
  .enterprise-console .topbar-actions { gap: 7px; }
  .enterprise-console .topbar-actions button { padding: 0 12px; font-size: 13px; }
  .enterprise-console .online-pill { display: none; }
  .enterprise-console .view { padding-top: 18px; }
  .console-hero { min-height: 0; margin-bottom: 17px; padding: 22px; }
  .console-hero h2 { font-size: 26px; }
  .console-hero-description { font-size: 13px; }
  .console-hero-art { display: none; }
  .console-hero-flow { gap: 6px; font-size: 11px; }
  .console-hero-flow span { padding: 3px 7px; }
  .enterprise-console .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .enterprise-console .metric-grid article { padding: 18px 15px; min-height: 150px; }
  .enterprise-console .metric-grid article > span { font-size: 13px; padding-right: 20px; }
  .enterprise-console .metric-grid strong { font-size: 30px; margin: 15px 0 12px; }
  .enterprise-console .metric-grid small { font-size: 11px; line-height: 1.6; }
  .metric-icon { width: 25px; height: 25px; padding: 5px; top: 16px; right: 12px; }
  .enterprise-console .overview-grid { gap: 17px; margin-top: 17px; }
  .enterprise-console .panel-head { padding: 17px; min-height: 73px; }
  .enterprise-console .panel-head h2 { font-size: 18px; }
  .enterprise-console .project-grid { grid-template-columns: minmax(0,1fr); }
  .enterprise-console .project-card { padding: 20px; }
  .enterprise-console .section-actions { gap: 11px; }
  .enterprise-console .section-actions p { flex-basis: auto; }
  .enterprise-console .filter-bar { flex-direction: row; padding: 14px; gap: 12px; }
  .enterprise-console .filter-bar > input, .enterprise-console .filter-bar > select, .enterprise-console .filter-bar > label, .enterprise-console .filter-bar > button { width: 100%; min-width: 0; flex-basis: 100%; }
  .enterprise-console .filter-bar label input { min-width: 0; width: 100%; }
  .enterprise-console .filter-bar :is(input,select) { font-size: 16px; }
  .enterprise-console .dialog-card { padding: 23px 20px; max-height: calc(100dvh - 20px); }
  .enterprise-console .dialog-card :is(input,select,textarea) { font-size: 16px; }
  .enterprise-console .dialog-head h2 { font-size: 22px; }
  .enterprise-console .toast-stack { inset: auto 12px 14px; }
  .enterprise-console .toast { min-width: 0; max-width: 100%; }
  .enterprise-console .auth-screen { padding: 0 22px; grid-template-rows: 83px 1fr auto; }
  .enterprise-console .auth-grid { grid-template-columns: minmax(0,1fr); gap: 27px; padding: 20px 0 30px; }
  .enterprise-console .auth-copy h1 { font-size: 36px; margin: 15px 0; }
  .enterprise-console .auth-copy > p:not(.kicker) { font-size: 14px; }
  .auth-features { gap: 9px 13px; font-size: 12px; margin-top: 18px; }
  .enterprise-console .auth-signal { margin-top: 20px; }
  .enterprise-console .login-card { padding: 26px 23px; }
  .enterprise-console .auth-footer { padding: 18px 0; gap: 12px; flex-wrap: wrap; font-size: 11px; }
}
@media (max-width: 360px) {
  .enterprise-console .metric-grid { grid-template-columns: minmax(0,1fr); }
  .enterprise-console .metric-grid article { min-height: 135px; }
  .console-hero h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .enterprise-console *, .enterprise-console *::before, .enterprise-console *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
