/* Edgemont admin portal. Same blue family as edgemontinnovation.com. */
:root {
  --ink: #071233;
  --ink-2: #1b2a4e;
  --page: #eef3fb;
  --card: #ffffff;
  --line: #dde6f4;
  --muted: #5b6884;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --sky: #38bdf8;
  --cyan: #22d3ee;
  --tint: #e3edff;
  --ok: #059669; --ok-bg: #d1fae5;
  --bad: #dc2626; --bad-bg: #fee2e2;
  --warn: #b45309; --warn-bg: #fef3c7;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
h1 { font-size: 26px; }
h2 { font-size: 17px; margin-bottom: 14px; }
a { color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 22px; }
.sub { color: var(--muted); font-size: 13px; }

/* Shell: one screen tall; only the content scrolls. */
.shell { display: grid; grid-template-columns: 248px 1fr; height: 100vh; }
.side { background: linear-gradient(180deg, #0a1940, var(--ink)); color: #c9d4ee; display: flex; flex-direction: column; padding: 22px 14px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: Sora, Inter, sans-serif; font-weight: 700; font-size: 18px; padding: 0 8px 22px; }
.brand small { display: block; font: 500 12px Inter, sans-serif; color: #8fa0c7; letter-spacing: 0; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 18px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 6px 18px rgba(37,99,235,.45); }
.side nav { display: grid; gap: 3px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #c9d4ee; text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.active { background: linear-gradient(135deg, rgba(37,99,235,.9), rgba(59,130,246,.75)); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.35); }
.icon { width: 18px; height: 18px; flex: none; }
.side-foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.side-foot .who { color: #fff; font-weight: 600; margin-bottom: 4px; }
.side-foot .link-btn { color: #8fa0c7; padding: 0; }
.powered { margin-top: 14px; font-size: 11px; color: #5d6d94; }
.content { overflow-y: auto; padding: 28px 32px 48px; }

/* Page header: icon tile, title, one-line description. */
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .tile { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.page-head .tile .icon { width: 24px; height: 24px; }
.page-head .titles { flex: 1; min-width: 220px; }
.page-head p { margin: 2px 0 0; color: var(--muted); }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(7,18,51,.05), 0 8px 24px rgba(7,18,51,.05); min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
.grid-2.top { margin-top: 0; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.empty { color: var(--muted); background: var(--page); border-radius: 12px; padding: 14px 16px; margin: 0; font-size: 14px; }
.banner { background: var(--tint); color: #1e3a8a; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.banner.ok, .alert.ok { background: var(--ok-bg); color: #065f46; }
.alert { background: var(--bad-bg); color: #991b1b; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 10px 18px; font: 600 14px Inter, sans-serif; cursor: pointer; text-decoration: none; background: var(--tint); color: var(--blue); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn .icon { width: 16px; height: 16px; }
.btn.primary { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.btn.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.btn.small { padding: 7px 13px; font-size: 13px; }
.btn.danger { background: var(--bad); color: #fff; }
.btn.danger-ghost { background: #fff; color: var(--bad); border: 1px solid #fecaca; }
.btn.wide { width: 100%; justify-content: center; padding: 13px; }
.link-btn { background: none; border: 0; color: var(--blue); font: 600 13px Inter, sans-serif; cursor: pointer; padding: 4px 6px; }
.link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; align-items: center; }

/* Forms */
label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label small { font-weight: 400; color: var(--muted); }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
input, select, textarea { font: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
input:disabled, select:disabled { background: var(--page); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.stack { display: grid; gap: 14px; }
.form-card { margin-bottom: 18px; }
.confirm { margin-top: 14px; background: var(--bad-bg); border-radius: 12px; padding: 14px; }
.confirm p { margin: 0 0 10px; color: #7f1d1d; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 1px 2px rgba(7,18,51,.05), 0 8px 24px rgba(7,18,51,.05); }
.kpi span { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi strong { display: block; font: 700 30px Sora, Inter, sans-serif; letter-spacing: -0.03em; margin: 6px 0 2px; }
.kpi strong em { font-style: normal; color: var(--muted); font-weight: 600; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi.accent { background: linear-gradient(135deg, #0b1d4a, #12307a 60%, #0e7490); color: #fff; box-shadow: 0 16px 40px rgba(37,99,235,.28); }
.kpi.accent span, .kpi.accent small { color: #b9c6e4; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 170px 1fr 90px; gap: 12px; align-items: center; font-size: 14px; }
.bar-label small { color: var(--muted); margin-left: 4px; }
.bar-track { height: 10px; background: var(--page); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.bar-value { text-align: right; font-weight: 600; }

.health-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.health-summary strong { display: block; font: 700 30px Sora, Inter, sans-serif; }
.health-summary span { color: var(--muted); font-size: 13px; }
.ok-text { color: var(--ok); }
.bad-text { color: var(--bad); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list li:first-child { border-top: 0; }
.list li > span { color: var(--muted); font-size: 13px; text-align: right; }
.list a { font-weight: 600; text-decoration: none; }
.right { display: flex; align-items: center; gap: 8px; }

/* Pills */
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--page); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: #065f46; }
.pill.bad { background: var(--bad-bg); color: #991b1b; }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.info { background: var(--tint); color: #1e40af; }

/* Tables */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search { max-width: 340px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px Inter, sans-serif; color: var(--ink-2); cursor: pointer; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table.compact td { padding: 8px 6px; }
.table .num { text-align: right; white-space: nowrap; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #f6f9ff; }

.subs { list-style: none; margin: 0; padding: 0; }
.subs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.subs li:first-child { border-top: 0; }
.sub-form { background: var(--page); border-radius: 12px; padding: 16px; margin-bottom: 14px; }

/* Products */
.product-layout { display: grid; grid-template-columns: 270px 1fr; gap: 18px; align-items: start; }
.product-list { padding: 8px; display: grid; gap: 2px; }
.product-item { text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.product-item span { display: block; font-size: 12px; color: var(--muted); }
.product-item:hover { background: var(--page); }
.product-item.on { background: var(--tint); }
.product-item.on strong { color: var(--blue); }
.plan-edit { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.plan-edit.inactive { opacity: .6; }

/* Inquiries */
.inbox { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.inbox-list { padding: 14px; display: grid; gap: 6px; max-height: calc(100vh - 170px); overflow-y: auto; }
.inbox-list .chips { margin-bottom: 8px; }
.inbox-item { text-align: left; border: 0; background: none; border-radius: 12px; padding: 12px; cursor: pointer; font: inherit; color: var(--ink); }
.inbox-item:hover { background: var(--page); }
.inbox-item.on { background: var(--tint); }
.inbox-item .top { display: flex; justify-content: space-between; font-size: 14px; }
.inbox-item .top span { color: var(--muted); font-size: 12px; }
.inbox-item.unread .top strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-right: 7px; vertical-align: middle; }
.inbox-item .preview { color: var(--muted); font-size: 13px; margin-top: 4px; }
.message { white-space: pre-wrap; background: var(--page); border-radius: 12px; padding: 16px; margin: 14px 0; }

/* Platform health */
.health-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.health-card { border-top: 4px solid var(--line); }
.health-card.state-up { border-top-color: var(--ok); }
.health-card.state-slow, .health-card.state-missedcheck { border-top-color: #f59e0b; }
.health-card.state-down { border-top-color: var(--bad); }
.state-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.state-badge i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.state-up .state-badge { color: var(--ok); } .state-up .state-badge i { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); animation: beat 2s ease-in-out infinite; }
.state-slow .state-badge, .state-missedcheck .state-badge { color: var(--warn); } .state-slow .state-badge i, .state-missedcheck .state-badge i { background: #f59e0b; }
.state-down .state-badge { color: var(--bad); } .state-down .state-badge i { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(5,150,105,.08); } }
.health-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 14px; }
.health-stats strong { display: block; font: 700 20px Sora, Inter, sans-serif; }
.health-stats span { font-size: 12px; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 36px; margin-bottom: 8px; }
.spark span { flex: 1; border-radius: 2px; background: var(--ok); opacity: .75; min-height: 4px; }
.spark span.slow { background: #f59e0b; }
.spark span.bad { background: var(--bad); opacity: 1; }

/* Sign in */
.signin-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(ellipse at 20% 10%, #13306e 0%, var(--ink) 60%); position: relative; overflow: hidden; }
.signin-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #1d4ed8; filter: blur(90px); opacity: .45; top: -160px; right: -120px; }
.signin-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.signin-card h1 { margin: 22px 0 8px; }
.signin-card .brand { color: var(--ink); padding: 0; }
.signin-card .brand small { color: var(--muted); }
.code-input { font: 700 26px Sora, Inter, sans-serif; letter-spacing: .4em; text-align: center; }
.dev-note { background: var(--warn-bg); color: var(--warn); padding: 8px 12px; border-radius: 8px; }

#blazor-error-ui { display: none; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--bad); color: #fff; padding: 12px 20px; border-radius: 12px; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
#blazor-error-ui a { color: #fff; font-weight: 600; margin-left: 8px; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .inbox, .product-layout { grid-template-columns: 1fr; }
  .form-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .side { flex-direction: row; align-items: center; padding: 10px 12px; overflow-x: auto; gap: 8px; }
  .brand { padding: 0 8px 0 0; } .brand small { display: none; }
  .side nav { display: flex; gap: 4px; } .side nav a { white-space: nowrap; padding: 8px 10px; }
  .side-foot { display: none; }
  .content { padding: 18px 16px 40px; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .kpis { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 110px 1fr 70px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Product catalog */
.catalog-filter { margin-bottom: 16px; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(7,18,51,.05), 0 8px 24px rgba(7,18,51,.05); transition: transform .2s, box-shadow .2s; }
.product-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .2s; pointer-events: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(37,99,235,.16); }
.product-card:hover::before { opacity: 1; }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pc-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 700 15px Sora, Inter, sans-serif;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 6px 16px rgba(37,99,235,.3); flex: none; }
.pc-mark.big { width: 60px; height: 60px; border-radius: 16px; font-size: 21px; }
.product-card h2 { font-size: 19px; margin-bottom: 6px; }
.pc-tag { color: var(--muted); font-size: 14px; margin: 0 0 16px; flex: 1; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pc-stats strong { display: block; font: 700 15px Sora, Inter, sans-serif; }
.pc-stats span { font-size: 11px; color: var(--muted); }
.pc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; }
.pc-open { color: var(--blue); font-weight: 600; }
.health-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.health-dot i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.health-dot.state-up { color: var(--ok); } .health-dot.state-up i { background: var(--ok); }
.health-dot.state-slow, .health-dot.state-missedcheck { color: var(--warn); } .health-dot.state-slow i, .health-dot.state-missedcheck i { background: #f59e0b; }
.health-dot.state-down { color: var(--bad); } .health-dot.state-down i { background: var(--bad); }

/* Product profile */
.product-hero { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; padding: 26px 28px; border-radius: 20px; margin-bottom: 16px; color: #fff;
  background: radial-gradient(ellipse at 85% 0%, rgba(34,211,238,.35), transparent 55%), linear-gradient(135deg, #0b1d4a, #12307a 60%, #0e7490); box-shadow: 0 18px 44px rgba(37,99,235,.25); }
.ph-back { color: #b9c6e4; text-decoration: none; font-size: 13px; font-weight: 600; }
.ph-back:hover { color: #fff; }
.ph-title { display: flex; gap: 16px; align-items: center; margin: 12px 0 14px; }
.ph-title h1 { font-size: 30px; color: #fff; }
.ph-title p { margin: 4px 0 0; color: #c8d6f5; max-width: 620px; }
.ph-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-meta .pill.muted { background: rgba(255,255,255,.12); color: #e2e9fb; }
.ph-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ph-links .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.ph-links .btn.primary { background: #fff; color: var(--blue); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { border: 0; background: none; padding: 11px 16px; font: 600 14px Inter, sans-serif; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--blue); border-bottom-color: var(--blue); }
.prose { white-space: pre-wrap; margin: 0 0 6px; }
.mini { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 20px 0 10px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.stack-col { display: grid; gap: 18px; align-content: start; }
.list-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list-row:first-of-type { border-top: 0; }
.list-row a { overflow-wrap: anywhere; text-align: right; }
.usecases { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.usecase { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px 64px; }
.uc-num { position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 700 14px Sora, Inter, sans-serif; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.usecase h3 { font-size: 17px; margin-bottom: 4px; }
.uc-who { color: var(--blue); font-weight: 600; font-size: 13px; margin: 0 0 12px; }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.uc-grid p { margin: 4px 0 0; font-size: 14px; }
.pitch { font: 600 18px/1.5 Sora, Inter, sans-serif; letter-spacing: -0.01em; margin: 0; padding: 16px 18px; background: var(--tint); border-radius: 14px; color: #1e3a8a; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fbfcff; }
.tech-chip strong { display: block; font-size: 14px; }
.tech-chip span { font-size: 12px; color: var(--muted); }
.tech-edit { display: grid; grid-template-columns: 140px 1fr 1.4fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.link-btn.danger { color: var(--bad); }
code { font-size: 12px; background: var(--page); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 760px) {
  .usecases { grid-template-columns: 1fr; }
  .uc-grid, .tech-edit { grid-template-columns: 1fr; }
  .product-hero { padding: 20px; }
}

/* Numbers tab */
.mt-s { margin-top: 14px; }
.cost-rows { display: grid; gap: 8px; }
.cost-row { display: grid; grid-template-columns: 130px 1fr 120px auto; gap: 8px; align-items: center; }
.cost-total { display: flex; justify-content: space-between; padding: 10px 2px 0; border-top: 1px solid var(--line); margin-top: 4px; font-size: 14px; }
@media (max-width: 760px) { .cost-row { grid-template-columns: 1fr 1fr; } }

/* Dashboard product table */
.table .neg { color: var(--bad); }
.table .pos { color: var(--ok); }
.table tfoot td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* Logo */
.logo-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
.logo-brand .logo-full { display: block; width: 100%; max-width: 200px; height: auto; }
.logo-brand .logo-mark { display: none; width: 34px; height: 34px; }
.logo-brand small { font: 500 12px Inter, sans-serif; color: #8fa0c7; letter-spacing: .02em; padding-left: 2px; }
.signin-logo img { display: block; width: 240px; max-width: 100%; height: auto; }
.signin-logo small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
@media (max-width: 760px) {
  .logo-brand { flex-direction: row; align-items: center; }
  .logo-brand .logo-full, .logo-brand small { display: none; }
  .logo-brand .logo-mark { display: block; }
}
