@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --ink: #143834;
  --ink-2: #1f524d;
  --teal: #1a6b65;
  --teal-soft: #e4f1ee;
  --gold: #c8892a;
  --gold-soft: #f8ecd4;
  --paper: #f4efe6;
  --text: #1c3330;
  --muted: #5f736f;
  --line: #e4ddd2;
  --red: #bd534d;
  --red-soft: #f8e2df;
  --shadow: 0 16px 40px rgba(20, 56, 52, .07);
  --radius: 20px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --page-pad: 28px;
  --topbar-sticky-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: #ead7ae; color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(980px 420px at 100% -8%, rgba(200, 137, 42, .13), transparent 58%),
    radial-gradient(760px 380px at -8% -4%, rgba(26, 107, 101, .09), transparent 52%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
[hidden] { display: none !important; }

.eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; margin: 0 0 7px; }
.brand-lockup { align-items: center; display: flex; gap: 12px; }
.brand-mark {
  align-items: center;
  background: var(--gold);
  border-radius: 12px;
  color: var(--ink);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup strong { font-size: 15px; }
.brand-lockup small { color: #a7bbb6; font-size: 11px; margin-top: 2px; }

.landing {
  background:
    radial-gradient(820px 460px at 112% -8%, rgba(200, 137, 42, .32), transparent 60%),
    radial-gradient(640px 420px at -12% 108%, rgba(26, 107, 101, .55), transparent 58%),
    linear-gradient(165deg, #1b4d47 0%, #102c29 58%, #0c221f 100%);
  min-height: 100vh;
  color: #fff;
}
body:has(#signIn:not([hidden])) {
  background:
    radial-gradient(820px 460px at 112% -8%, rgba(200, 137, 42, .32), transparent 60%),
    radial-gradient(640px 420px at -12% 108%, rgba(26, 107, 101, .55), transparent 58%),
    linear-gradient(165deg, #1b4d47 0%, #102c29 58%, #0c221f 100%);
  min-height: 100vh;
  color: #fff;
}
.login-shell {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
  margin: 0;
  max-width: none;
  min-height: 100vh;
  padding: 48px 32px 28px;
  position: relative;
  width: 100%;
}
.login-side { display: flex; flex-direction: column; width: min(420px, 100%); }
.login-shell .landing-footer { color: #8fa29e; display: flex; font-size: 12px; justify-content: flex-end; margin-top: 12px; width: 100%; }
.login-shell .landing-copy { max-width: 640px; }
.login-shell .product-lockup { align-items: center; display: flex; gap: 18px; margin: 0; }
.login-shell .product-copy { display: flex; flex-direction: column; }
.login-shell .product-name {
  background-image: linear-gradient(90deg, #2ad8ff 0%, #3d7cff 46%, #b44bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0;
}
.login-shell .product-tag { color: #e4b15a; font-size: 15px; font-weight: 600; margin: 8px 0 0; }
.login-title { color: var(--ink); font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.login-panel {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  color: var(--text);
  max-width: 420px;
  padding: 26px 26px 22px;
}
.login-form label {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.login-form input {
  background: #fbf8f3;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  display: block;
  font-size: 15px;
  margin-top: 4px;
  outline: 0;
  padding: 13px 14px;
  width: 100%;
}
.login-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26, 107, 101, .14); }
.password-field { display: block; margin-top: 4px; position: relative; }
.password-field input { margin-top: 0; padding-right: 46px; }
.password-field input::-ms-reveal, .password-field input::-ms-clear { display: none; }
.password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #5f736f;
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
}
.password-toggle:hover, .password-toggle:focus-visible { background: rgba(26, 107, 101, .1); color: var(--teal); outline: 0; }
.password-toggle svg[hidden] { display: none; }
.login-error { color: var(--red); font-size: 12px; margin: 4px 0 12px; }
.login-hint { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.login-submit { margin-top: 8px; min-height: 46px; width: 100%; }
@media (min-width: 1100px) {
  .login-shell { display: block; }
  .login-side { left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 420px; }
  .login-shell .landing-copy { position: absolute; right: calc(50% + 210px + 56px); top: 50%; transform: translateY(-50%); }
  .login-panel { width: 100%; }
}

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background:
    radial-gradient(280px 180px at 20% 0%, rgba(200, 137, 42, .18), transparent 70%),
    linear-gradient(180deg, #1a4742 0%, #102c29 100%);
  border-right: 1px solid rgba(200, 137, 42, .22);
  color: #d9e4e1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 22px 14px 18px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.sidebar-brand { padding: 0 9px 26px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: #c5d6d2;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  padding: 11px 12px;
  text-align: left;
  width: 100%;
}
.side-nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-nav button.active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--nav-accent, var(--gold)) 28%, transparent), rgba(255,255,255,.08));
  box-shadow: inset 3px 0 var(--nav-accent, var(--gold));
  color: #fff;
}
.nav-ico {
  align-items: center;
  background: #f0f7f5;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  color: #0f3d39;
  display: inline-flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.nav-ico svg { display: block; }
.side-nav em {
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  margin-left: auto;
  min-width: 1.6em;
  padding: 2px 7px;
  text-align: center;
}
.side-nav button[data-nav="queue"] { --nav-accent: #14b8a6; }
.side-nav button[data-nav="queue"] .nav-ico { background: #ccfbf1; color: #0f766e; }
.side-nav button[data-nav="new"] { --nav-accent: #f59e0b; }
.side-nav button[data-nav="new"] .nav-ico { background: #fef3c7; color: #b45309; }
.side-nav button[data-nav="releases"] { --nav-accent: #6366f1; }
.side-nav button[data-nav="releases"] .nav-ico { background: #e0e7ff; color: #4338ca; }
.side-nav button[data-nav="mine"] { --nav-accent: #0ea5e9; }
.side-nav button[data-nav="mine"] .nav-ico { background: #e0f2fe; color: #0369a1; }
.side-nav button[data-nav="new"] { --nav-accent: #f59e0b; }
.side-nav button[data-nav="new"] .nav-ico { background: #fef3c7; color: #b45309; }
.sidebar-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: auto; padding: 20px 7px 2px; }
.system-status { align-items: center; display: flex; gap: 9px; }
.system-status > span { background: #5ccb9c; border-radius: 50%; box-shadow: 0 0 0 4px rgba(92,203,156,.12); height: 8px; width: 8px; }
.system-status b, .system-status small { display: block; }
.system-status b { color: #d9e4e1; font-size: 11px; }
.system-status small { color: #7f9b96; font-size: 9px; margin-top: 2px; }
.sign-out-nav { margin: 12px 0 0; }
.sign-out-nav .nav-ico { background: #fef3c7; color: #b45309; }

.main-content { min-width: 0; padding: 0 var(--page-pad) 12px; }
.topbar {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid rgba(20, 56, 52, .07);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 calc(var(--page-pad) * -1) 22px;
  min-height: var(--topbar-sticky-height);
  padding: 14px var(--page-pad);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar h1 { color: var(--ink); font-size: 26px; margin: 0; }
.topbar-actions { align-items: center; display: flex; }
.avatar {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.menu-button, .icon-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  display: none;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.dialog-close.icon-button { display: inline-flex; font-size: 22px; line-height: 1; }
.section-heading { align-items: flex-end; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 17px; }
.section-heading h2 { color: var(--ink); font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.section-heading p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.crumb { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 8px; margin-bottom: 6px; }
.text-button { background: none; border: 0; color: var(--teal); font-size: 12px; font-weight: 700; padding: 0; }

.primary-button, .secondary-button {
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 16px;
}
.primary-button {
  background: linear-gradient(180deg, #227972, var(--teal));
  border: 1px solid #165e59;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  color: #fff;
}
.primary-button:hover { background: var(--ink-2); }
.secondary-button { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.secondary-button:hover { border-color: #b8ccc8; }

.kpi-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.kpi-card {
  --kpi: var(--teal);
  background: linear-gradient(180deg, #fff, #fcfaf6);
  border: 1px solid rgba(20, 56, 52, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  overflow: hidden;
  padding: 18px;
  position: relative;
  text-align: left;
}
.kpi-card::before {
  background: var(--kpi);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.kpi-card.is-on { box-shadow: 0 0 0 2px var(--kpi), var(--shadow); }
.kpi-card strong { color: var(--ink); display: block; font-size: 30px; font-weight: 600; margin: 8px 0 2px; }
.kpi-card p { font-size: 12px; font-weight: 700; margin: 0; }
.kpi-card small { color: var(--muted); display: block; font-size: 11px; margin-top: 6px; }
.kpi-open { --kpi: #0f766e; }
.kpi-progress { --kpi: #c8892a; }
.kpi-ready { --kpi: #2563eb; }
.kpi-done { --kpi: #7c3aed; }

.section-tabs {
  background: transparent;
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}
.section-tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
}
.section-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-row { align-items: flex-end; display: flex; gap: 16px; justify-content: space-between; }
.env-tabs { margin-bottom: 0; }
.search-field { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; min-width: 240px; text-transform: uppercase; }
.search-field input, .desk-form input, .desk-form select, .desk-form textarea {
  background: #fbf8f3;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 6px;
  outline: 0;
  padding: 12px 14px;
  text-transform: none;
  width: 100%;
}
.search-field input:focus, .desk-form input:focus, .desk-form select:focus, .desk-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26, 107, 101, .14);
}
.desk-form input::placeholder, .desk-form textarea::placeholder, .search-field input::placeholder { color: #8d8478; font-weight: 500; }
.desk-form input:disabled, .desk-form select:disabled, .desk-form textarea:disabled { cursor: not-allowed; opacity: .65; }

.panel {
  background: linear-gradient(180deg, #fff, #fcfaf6);
  border: 1px solid rgba(20, 56, 52, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  padding: 8px 8px 4px;
}
.panel h3 { color: var(--ink); font-size: 15px; margin: 12px 12px 8px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 14px; text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
tbody tr { border-top: 1px solid rgba(20, 56, 52, .06); cursor: pointer; }
tbody tr:hover { background: rgba(26, 107, 101, .04); }
td { font-size: 14px; }
.ticket-title { color: var(--ink); font-weight: 650; }
.ticket-id { color: var(--muted); display: block; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}
.pill-open { background: #dff7f3; color: #0f766e; }
.pill-progress { background: var(--gold-soft); color: #8b5c0e; }
.pill-ready { background: #dbeafe; color: #1d4ed8; }
.pill-done { background: #f3eefc; color: #6d28d9; }
.pill-env { background: #f4efe6; color: var(--ink); }
.empty-state { color: var(--muted); font-size: 14px; padding: 28px 20px; text-align: center; }

.form-panel { padding: 22px; }
.desk-form label { color: var(--muted); display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; text-transform: uppercase; }
.form-grid { display: grid; gap: 4px 16px; grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.field-note { color: var(--muted); font-size: 12px; letter-spacing: 0; margin: 0 0 12px; text-transform: none; }
.banner { background: var(--red-soft); border-radius: 12px; color: var(--red); font-size: 13px; margin: 0 0 16px; padding: 12px 14px; }

.detail-grid, .detail-split { display: grid; gap: 14px; grid-template-columns: 1fr 1fr 1fr; margin-bottom: 14px; }
.detail-split { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
.detail-grid .panel, .detail-split .panel { padding: 8px 18px 18px; }
.prose { margin: 0; white-space: pre-wrap; }
.comments { display: grid; gap: 10px; margin: 0 0 14px; }
.comment { background: #fbf8f3; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.comment strong { display: block; font-size: 13px; }
.comment small { color: var(--muted); font-size: 11px; }
.comment p { margin: 6px 0 0; white-space: pre-wrap; }
.app-footer {
  border-top: 1px solid rgba(20, 56, 52, .08);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin: 28px 0 0;
  padding: 18px 0 28px;
}
.sidebar-scrim { background: rgba(16, 44, 41, .35); inset: 0; position: fixed; z-index: 25; }

@media (max-width: 1100px) {
  .kpi-grid, .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-split { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .app-shell { display: block; }
  .sidebar { box-shadow: 20px 0 60px rgba(0,0,0,.25); left: -260px; position: fixed; transition: left .2s; width: 248px; }
  .sidebar.open { left: 0; }
  .menu-button { display: inline-flex; }
  .topbar { justify-content: flex-start; }
  .topbar-actions { margin-left: auto; }
}
.topbar-actions { gap: 10px; }
.toolbar { display: grid; gap: 8px; margin-bottom: 14px; }
.toolbar-end { align-items: flex-end; display: flex; gap: 12px; justify-content: space-between; }
.view-toggle { display: flex; gap: 6px; }
.board { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(180px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
.board-col { background: rgba(255,255,255,.55); border: 1px solid rgba(20, 56, 52, .08); border-radius: 16px; min-height: 180px; padding: 10px; }
.board-col h3 { color: var(--muted); font-size: 11px; letter-spacing: .06em; margin: 4px 4px 10px; text-transform: uppercase; }
.board-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; display: block; margin-bottom: 8px; padding: 12px; text-align: left; width: 100%; }
.board-card:hover { border-color: #b8ccc8; }
.board-card strong { color: var(--ink); display: block; font-size: 14px; margin: 4px 0; }
.board-card small { color: var(--muted); display: block; font-size: 11px; }

dialog.modal {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(12, 34, 31, .35);
  color: var(--text);
  max-width: 720px;
  padding: 0;
  width: min(720px, calc(100% - 32px));
}
dialog.modal::backdrop { background: rgba(19, 48, 45, .68); backdrop-filter: blur(4px); }
dialog.create-dialog form,
dialog.ticket-dialog,
dialog.release-dialog,
dialog.app-alert-dialog form { padding: 22px 22px 18px; }
.ticket-dialog { max-height: min(88vh, 860px); max-width: 980px; overflow: auto; width: min(980px, calc(100% - 32px)); }
.create-dialog { max-width: 760px; width: min(760px, calc(100% - 32px)); }
.modal-head { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.modal-head h2 { color: var(--ink); font-size: 22px; margin: 0; }
.modal-sub { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.dialog-tabs { margin-top: 8px; }
.pipeline { display: flex; gap: 6px; list-style: none; margin: 16px 0 8px; overflow-x: auto; padding: 0; }
.pipeline li { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); flex: 1 0 auto; font-size: 11px; font-weight: 700; padding: 7px 10px; text-align: center; }
.pipeline li.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pipeline li.is-past { background: var(--teal-soft); border-color: transparent; color: var(--teal); }
.move-bar { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.move-bar label { display: inline-block; margin-right: 12px; min-width: 180px; vertical-align: top; }
.ticket-dialog .detail-grid { margin-top: 8px; }
.notes-preview { color: var(--muted); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-button { display: inline-flex; position: relative; }
.file-button input { cursor: pointer; inset: 0; opacity: 0; position: absolute; }
.shot-head { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.screenshot-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.shot-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; overflow: hidden; padding: 0; text-align: left; }
.shot-card img { display: block; height: 110px; object-fit: cover; width: 100%; }
.shot-card small { color: var(--muted); display: block; font-size: 11px; padding: 8px 10px 10px; }
.shot-dialog { max-width: 920px; width: min(920px, calc(100% - 32px)); }
.shot-dialog img { background: #fbf8f3; border-radius: 12px; display: block; max-height: 70vh; object-fit: contain; width: 100%; }
.screenshot-panel h3 { margin-bottom: 4px; }
.notes-preview.is-empty { font-style: italic; }
.app-alert-dialog { max-width: 440px; text-align: center; }
.app-alert-dialog form { padding: 22px 22px 20px; text-align: center; }
.app-alert-dialog h2 { color: var(--ink); font-size: 17px; margin: 0 0 10px; }
.app-alert-message { color: var(--text); font-size: 13px; line-height: 1.55; margin: 0 auto 18px; max-width: 36em; white-space: pre-line; }
.app-alert-icon { border-radius: 50%; height: 44px; margin: 0 auto 14px; width: 44px; }
.app-alert-dialog[data-tone="error"] .app-alert-icon { background: #f8e2df; box-shadow: inset 0 0 0 2px rgba(196, 58, 58, .25); }
.app-alert-dialog[data-tone="error"] .app-alert-icon::after { color: var(--red); content: "!"; display: block; font-size: 22px; font-weight: 700; line-height: 44px; }
.app-alert-dialog[data-tone="info"] .app-alert-icon { background: #e2edf7; box-shadow: inset 0 0 0 2px rgba(45, 98, 168, .2); }
.app-alert-dialog[data-tone="info"] .app-alert-icon::after { color: #4d7ca6; content: "i"; display: block; font-size: 20px; font-weight: 700; line-height: 44px; }
.app-alert-actions { justify-content: center; }
.toast { background: var(--ink); border-radius: 999px; bottom: 22px; box-shadow: 0 16px 40px rgba(16, 44, 41, .28); color: #fff; font-size: 13px; left: 50%; opacity: 0; padding: 12px 18px; pointer-events: none; position: fixed; transform: translate(-50%, 12px); transition: .2s; z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  :root { --page-pad: 16px; }
  .kpi-grid, .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .filter-row, .section-heading { align-items: stretch; flex-direction: column; }
  .search-field { min-width: 0; }
  .login-shell .product-name { font-size: 32px; }
  .login-shell { padding: 30px 18px 22px; }
}
