:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --surface-subtle: #fafafa;
  --ink: #1d1d1f;
  --ink-secondary: #5d5d64;
  --ink-tertiary: #86868b;
  --line: rgba(0, 0, 0, .09);
  --line-strong: rgba(0, 0, 0, .15);
  --blue: #0071e3;
  --blue-soft: #eaf3ff;
  --green: #16823b;
  --green-soft: #eaf7ee;
  --amber: #a66300;
  --amber-soft: #fff4df;
  --red: #d92d20;
  --red-soft: #fff0ee;
  --shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 12px 32px rgba(0, 0, 0, .035);
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--canvas); }
button, select, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }

.operations-shell { min-height: 100vh; }
.operations-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 224px;
  padding: 22px 14px 18px;
  flex-direction: column;
  background: rgba(249, 249, 251, .92);
  border-right: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(28px);
}

.operations-brand { display: flex; min-height: 50px; padding: 5px 8px; align-items: center; gap: 11px; }
.operations-brand-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--ink); border-radius: 10px; }
.operations-brand-mark svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.operations-brand strong, .operations-brand small { display: block; }
.operations-brand strong { font-size: 14px; letter-spacing: -.015em; }
.operations-brand small { margin-top: 2px; color: var(--ink-tertiary); font-size: 10px; }

.operations-nav { display: grid; margin-top: 31px; gap: 5px; }
.operations-nav button {
  display: flex;
  width: 100%;
  min-height: 43px;
  padding: 0 11px;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 560;
  text-align: left;
}
.operations-nav button:hover { background: rgba(0, 0, 0, .035); color: var(--ink); }
.operations-nav button.active { color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.operations-nav svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.operations-nav button:first-child svg { fill: currentColor; stroke: none; opacity: .82; }
.operations-rail-footer { display: grid; margin-top: auto; padding: 14px 9px 2px; gap: 12px; color: var(--ink-tertiary); font-size: 11px; }
.operations-rail-footer > a { color: var(--ink-secondary); font-weight: 600; }
.live-state { display: flex; align-items: center; gap: 7px; }
.live-state i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px var(--green-soft); }

.operations-main { min-height: 100vh; margin-left: 224px; }
.operations-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  min-height: 86px;
  padding: 17px clamp(24px, 3vw, 44px);
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 245, 247, .84);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: saturate(180%) blur(24px);
}
.operations-topbar p, .operations-panel header p { margin: 0 0 3px; color: var(--ink-tertiary); font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.operations-topbar h1 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.operations-topbar-actions { display: flex; align-items: center; gap: 9px; }
.last-updated { margin-right: 5px; color: var(--ink-tertiary); font-size: 11px; }
.operations-topbar-actions button, .operations-topbar-actions a, .operations-panel header button {
  min-height: 38px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.operations-topbar-actions a { display: inline-flex; align-items: center; color: #fff; background: var(--blue); border-color: var(--blue); }
.operations-topbar-actions button:hover, .operations-panel header button:hover { background: var(--surface-subtle); }

.operations-content { width: min(1480px, 100%); margin: 0 auto; padding: 30px clamp(24px, 3vw, 44px) 70px; }
.operations-view { display: none; }
.operations-view.active { display: block; animation: view-in .22s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.operations-status {
  display: grid;
  min-height: 150px;
  padding: 25px 27px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  overflow: hidden;
  color: #fff;
  background: #1d1d1f;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.operations-status.has-issues { background: #2b2421; }
.operations-status p { max-width: 620px; margin: 9px 0 0; color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 1.55; }
.operations-status h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.045em; }
.operations-status strong { font-size: 64px; font-variant-numeric: tabular-nums; font-weight: 640; line-height: .88; letter-spacing: -.055em; }
.operations-status strong small { margin-left: 5px; color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 500; letter-spacing: 0; }

.metric-grid { display: grid; margin: 18px 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.metric-card { min-height: 108px; padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.metric-card span, .metric-card small { display: block; color: var(--ink-tertiary); font-size: 10px; }
.metric-card strong { display: block; margin: 12px 0 7px; font-size: 25px; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }

.operations-grid { display: grid; gap: 18px; }
.operations-grid-primary { grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); }
.operations-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.operations-panel > header { display: flex; min-height: 74px; padding: 18px 20px; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.operations-panel header h2 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.operations-panel header > span { color: var(--ink-tertiary); font-size: 11px; }
.operations-panel header button { min-height: 32px; padding: 0 10px; color: var(--ink-secondary); font-size: 11px; }

.issue-row { display: grid; min-height: 65px; padding: 13px 18px; grid-template-columns: 9px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.issue-row:last-child { border-bottom: 0; }
.issue-row > i { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 4px var(--amber-soft); }
.issue-row.critical > i { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.issue-row strong, .issue-row span, .issue-row small { display: block; }
.issue-row strong { font-size: 12px; }
.issue-row span { margin-top: 4px; overflow: hidden; color: var(--ink-secondary); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.issue-row small { margin-top: 4px; color: var(--ink-tertiary); font-size: 10px; }
.issue-row a { padding: 7px 9px; color: var(--blue); background: var(--blue-soft); border-radius: 8px; font-size: 10px; font-weight: 650; }

.empty-row { padding: 30px 20px; color: var(--ink-tertiary); font-size: 12px; text-align: center; }
.empty-row strong { display: block; margin-bottom: 5px; color: var(--ink-secondary); }
.user-summary-row { display: grid; min-height: 61px; padding: 12px 18px; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.user-summary-row:last-child { border-bottom: 0; }
.user-avatar { display: grid; width: 32px; height: 32px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 10px; font-size: 11px; font-weight: 700; }
.user-summary-row strong, .user-summary-row small { display: block; }
.user-summary-row strong { font-size: 12px; }
.user-summary-row small { margin-top: 3px; color: var(--ink-tertiary); font-size: 10px; }
.user-summary-row > span { color: var(--ink-tertiary); font-size: 10px; }
.user-summary-row > span.active { color: var(--green); }

.project-panel { margin-top: 18px; overflow: hidden; }
.overview-activity-panel { margin-top: 18px; overflow: hidden; }
.overview-activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-activity-row { display: grid; min-height: 72px; padding: 14px 18px; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview-activity-row:nth-child(2n) { border-right: 0; }
.overview-activity-row:nth-last-child(-n + 2) { border-bottom: 0; }
.overview-activity-row strong, .overview-activity-row span { display: block; }
.overview-activity-row strong { font-size: 12px; }
.overview-activity-row span { margin-top: 5px; overflow: hidden; color: var(--ink-secondary); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.overview-activity-row.failed strong { color: var(--red); }
.project-table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--ink-tertiary); background: #fbfbfc; font-size: 10px; font-weight: 600; }
td { color: var(--ink-secondary); font-size: 11px; }
tbody tr:last-child td { border-bottom: 0; }
td strong, td small { display: block; }
td strong { max-width: 320px; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; }
td small { max-width: 260px; margin-top: 4px; overflow: hidden; color: var(--ink-tertiary); font-size: 9px; text-overflow: ellipsis; }
.stage-pill, .count-pill { display: inline-flex; min-height: 24px; padding: 0 8px; align-items: center; border-radius: 7px; font-size: 10px; }
.stage-pill { color: #5c4d9b; background: #f0edfb; }
.count-pill { color: var(--ink-secondary); background: #f2f2f4; }
td a { color: var(--blue); font-weight: 650; }

.activity-panel { overflow: hidden; }
.activity-head { align-items: flex-end !important; }
.activity-filters { display: flex; align-items: center; gap: 8px; }
.activity-filters label { display: grid; gap: 4px; color: var(--ink-tertiary); font-size: 9px; }
.activity-filters select { min-width: 128px; height: 34px; padding: 0 28px 0 9px; color: var(--ink-secondary); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 11px; }
.activity-list { padding: 7px 22px 18px; }
.activity-row { position: relative; display: grid; min-height: 76px; padding: 15px 0 15px 29px; grid-template-columns: 1fr auto; gap: 16px; border-bottom: 1px solid var(--line); }
.activity-row::before { position: absolute; top: 22px; left: 3px; width: 9px; height: 9px; content: ""; background: var(--blue); border: 3px solid var(--blue-soft); border-radius: 50%; box-sizing: content-box; }
.activity-row::after { position: absolute; top: 38px; bottom: -16px; left: 9px; width: 1px; content: ""; background: var(--line-strong); }
.activity-row:last-child::after { display: none; }
.activity-row.failed::before { background: var(--red); border-color: var(--red-soft); }
.activity-row strong, .activity-row span, .activity-row small { display: block; }
.activity-row strong { font-size: 12px; }
.activity-row span { margin-top: 5px; color: var(--ink-secondary); font-size: 11px; }
.activity-row small { margin-top: 5px; color: var(--ink-tertiary); font-size: 9px; }
.activity-time { color: var(--ink-tertiary); font-size: 10px; text-align: right; }

.uploads-summary-grid { margin-bottom: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-stat { min-height: 118px; padding: 21px; }
.compact-stat p { margin: 0; color: var(--ink-tertiary); font-size: 10px; }
.compact-stat strong { display: block; margin-top: 17px; font-size: 30px; letter-spacing: -.045em; }
.compact-stat span { margin-left: 6px; color: var(--ink-tertiary); font-size: 11px; }
.uploads-panel { overflow: hidden; }
.generated-panel { margin-bottom: 18px; overflow: hidden; }
.generated-grid { display: grid; padding: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.generated-card { min-width: 0; overflow: hidden; background: #f8f8fa; border: 1px solid var(--line); border-radius: 14px; }
.generated-card-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ececef; }
.generated-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.generated-card-image:hover img { transform: scale(1.018); }
.generated-status, .generated-selected { position: absolute; top: 8px; min-height: 22px; padding: 0 7px; display: inline-flex; align-items: center; color: #fff; background: rgba(29, 29, 31, .76); border-radius: 7px; font-size: 8px; font-weight: 650; backdrop-filter: blur(8px); }
.generated-status { left: 8px; }
.generated-status.approved { color: #eafff0; background: rgba(18, 111, 52, .86); }
.generated-selected { right: 8px; color: #fff; background: rgba(0, 113, 227, .88); }
.generated-card-copy { padding: 12px; }
.generated-card-copy > strong, .generated-card-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.generated-card-copy > strong { font-size: 12px; }
.generated-card-copy > small { margin-top: 5px; color: var(--ink-tertiary); font-size: 9px; }
.generated-card dl { display: grid; margin: 11px 0 0; gap: 6px; }
.generated-card dl div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 7px; font-size: 9px; }
.generated-card dt { color: var(--ink-tertiary); }
.generated-card dd { margin: 0; overflow: hidden; color: var(--ink-secondary); text-overflow: ellipsis; white-space: nowrap; }
.generated-open { display: inline-flex; min-height: 28px; margin-top: 11px; padding: 0 9px; align-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 8px; font-size: 9px; font-weight: 650; }
.upload-grid { display: grid; padding: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.upload-card { min-width: 0; overflow: hidden; background: #f7f7f8; border: 1px solid var(--line); border-radius: 13px; }
.upload-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ececef; }
.upload-card img { width: 100%; height: 100%; object-fit: cover; }
.upload-card-image span { position: absolute; top: 7px; left: 7px; padding: 4px 6px; color: #fff; background: rgba(29, 29, 31, .72); border-radius: 6px; font-size: 8px; backdrop-filter: blur(8px); }
.upload-card-copy { padding: 10px; }
.upload-card strong, .upload-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-card strong { font-size: 11px; }
.upload-card small { margin-top: 5px; color: var(--ink-tertiary); font-size: 9px; }

.account-panel { overflow: hidden; }
.account-grid { display: grid; padding: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-card { min-height: 150px; padding: 17px; background: #fafafa; border: 1px solid var(--line); border-radius: 14px; }
.account-card-head { display: flex; align-items: center; gap: 10px; }
.account-card h3 { margin: 0; font-size: 13px; }
.account-card p { margin: 4px 0 0; color: var(--ink-tertiary); font-size: 10px; }
.account-facts { display: grid; margin: 18px 0 0; gap: 8px; }
.account-facts div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; font-size: 10px; }
.account-facts dt { color: var(--ink-tertiary); }
.account-facts dd { margin: 0; overflow: hidden; color: var(--ink-secondary); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.account-state { display: flex; margin-top: 20px; padding-top: 13px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.account-state span { color: var(--ink-tertiary); font-size: 10px; }
.account-state strong { color: var(--green); font-size: 11px; }
.operations-note { margin-top: 16px; padding: 18px 20px; color: var(--ink-secondary); background: var(--blue-soft); border: 1px solid rgba(0, 113, 227, .12); border-radius: 14px; }
.operations-note strong { color: var(--ink); font-size: 12px; }
.operations-note p { margin: 6px 0 0; font-size: 11px; line-height: 1.6; }
.session-panel { margin-top: 16px; overflow: hidden; }
.session-table-wrap { overflow-x: auto; }
.session-state { display: inline-flex; min-height: 24px; padding: 0 8px; align-items: center; color: var(--ink-secondary); background: #f2f2f4; border-radius: 7px; font-size: 9px; font-weight: 650; }
.session-state.online { color: #136d35; background: var(--green-soft); }
.session-state.logged_out { color: var(--ink-tertiary); }

.cost-hero { display: grid; min-height: 174px; padding: 27px; grid-template-columns: 1fr auto; align-items: end; gap: 28px; color: #fff; background: linear-gradient(135deg, #1d1d1f 0%, #24262d 100%); border-radius: 22px; box-shadow: var(--shadow); }
.cost-hero p { margin: 0 0 10px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.cost-hero strong { display: block; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.055em; }
.cost-hero span { display: block; margin-top: 9px; color: rgba(255,255,255,.62); font-size: 11px; }
.cost-hero dl { display: grid; min-width: 380px; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 13px; }
.cost-hero dl div { padding: 16px; background: rgba(255,255,255,.07); }
.cost-hero dt { color: rgba(255,255,255,.58); font-size: 9px; }
.cost-hero dd { margin: 7px 0 0; font-size: 15px; font-weight: 650; }
.provider-panel { margin-top: 18px; overflow: hidden; }
.provider-account-grid { display: grid; padding: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.provider-account-grid article { min-height: 94px; padding: 17px; background: #fafafa; border: 1px solid var(--line); border-radius: 13px; }
.provider-account-grid span, .provider-account-grid strong { display: block; }
.provider-account-grid span { color: var(--ink-tertiary); font-size: 10px; }
.provider-account-grid strong { margin-top: 13px; font-size: 18px; letter-spacing: -.03em; }
.cost-breakdown-grid { margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cost-breakdown-grid > .operations-panel { overflow: hidden; }
.cost-list { max-height: 540px; overflow-y: auto; }
.cost-row { display: grid; min-height: 68px; padding: 14px 18px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.cost-row:last-child { border-bottom: 0; }
.cost-row strong, .cost-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cost-row strong { font-size: 12px; }
.cost-row span { margin-top: 5px; color: var(--ink-tertiary); font-size: 9px; }
.cost-row b { color: var(--ink-secondary); font-size: 12px; font-variant-numeric: tabular-nums; }
.cost-note { background: #f7f7f9; border-color: var(--line); }

.operations-gate { display: grid; min-height: 100vh; padding: 24px; place-items: center; }
.operations-gate > div { width: min(440px, 100%); padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-align: center; }
.operations-gate .operations-brand-mark { margin: 0 auto 20px; }
.operations-gate p { margin: 0; color: var(--ink-tertiary); font-size: 10px; font-weight: 650; }
.operations-gate h1 { margin: 8px 0; font-size: 23px; letter-spacing: -.035em; }
.operations-gate span:not(.operations-brand-mark) { display: block; color: var(--ink-secondary); font-size: 12px; }
.operations-gate a { display: inline-flex; min-height: 40px; margin-top: 20px; padding: 0 15px; align-items: center; color: #fff; background: var(--blue); border-radius: 10px; font-size: 12px; font-weight: 650; }
.operations-toast { position: fixed; right: 20px; bottom: 20px; z-index: 60; padding: 11px 14px; color: #fff; background: rgba(29,29,31,.92); border-radius: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; font-size: 11px; }
.operations-toast.show { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .upload-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .generated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .operations-rail { inset: auto 0 0; width: auto; height: calc(64px + env(safe-area-inset-bottom)); padding: 7px 8px env(safe-area-inset-bottom); flex-direction: row; border-top: 1px solid var(--line); border-right: 0; }
  .operations-brand, .operations-rail-footer { display: none; }
  .operations-nav { display: grid; width: 100%; margin: 0; grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .operations-nav button { min-height: 49px; padding: 4px 2px; flex-direction: column; justify-content: center; gap: 3px; font-size: 9px; text-align: center; }
  .operations-nav button.active { box-shadow: none; }
  .operations-nav svg { width: 17px; height: 17px; }
  .operations-main { margin: 0; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .operations-topbar { min-height: 68px; padding: 12px 14px; }
  .operations-topbar h1 { font-size: 20px; }
  .last-updated, .operations-topbar-actions a { display: none; }
  .operations-topbar-actions button { min-height: 36px; }
  .operations-content { padding: 15px 12px 45px; }
  .operations-status { min-height: 132px; padding: 20px; grid-template-columns: 1fr; gap: 18px; }
  .operations-status strong { font-size: 44px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operations-grid-primary, .uploads-summary-grid { grid-template-columns: 1fr; }
  .operations-grid-primary { gap: 14px; }
  .project-table-wrap { padding-bottom: 3px; }
  table { min-width: 780px; }
  .activity-head { display: block !important; }
  .activity-filters { margin-top: 14px; overflow-x: auto; }
  .activity-filters select { min-width: 132px; }
  .activity-list { padding-inline: 16px; }
  .activity-row { grid-template-columns: 1fr; gap: 6px; }
  .activity-time { text-align: left; }
  .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 11px; }
  .generated-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 11px; }
  .overview-activity-list { grid-template-columns: 1fr; }
  .overview-activity-row, .overview-activity-row:nth-child(2n), .overview-activity-row:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .overview-activity-row:last-child { border-bottom: 0; }
  .account-grid { grid-template-columns: 1fr; padding: 11px; }
  .cost-hero { min-height: 190px; padding: 21px; grid-template-columns: 1fr; }
  .cost-hero dl { min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cost-hero dl div { padding: 12px 9px; }
  .cost-hero dd { font-size: 12px; }
  .provider-account-grid, .cost-breakdown-grid { grid-template-columns: 1fr; }
  .session-table-wrap table { min-width: 940px; }
}

@media (max-width: 360px) {
  .metric-grid, .upload-grid, .generated-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.issue-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.issue-row-actions button {
  border: 0;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0066cc;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.budget-progress {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding-top: 14px;
}

.budget-progress span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.budget-progress em,
.budget-progress small {
  color: #6e6e73;
  font-style: normal;
}

.budget-progress > i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
}

.budget-progress > i > u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0071e3;
  text-decoration: none;
}
