/* Red Freckles® Kunden-Cockpit
   Fuenf Farben: Mint, Mittelgruen, Tiefgruen, Schwarz, Hell. Keine sechste. */
:root {
  --mint: #56F7A8;
  --mid: #3FB57E;
  --deep: #2A5E45;
  --black: #111311;
  --light: #F5F6F2;
  --light2: #FCFCFA;
  --ink: #F5F6F2;
  --muted: rgba(245, 246, 242, .58);
  --faint: rgba(245, 246, 242, .36);
  --line: rgba(245, 246, 242, .09);
  --card: rgba(245, 246, 242, .035);
  --card-hi: rgba(245, 246, 242, .06);
  --radius: 18px;
  /* Signalfarben nur fuer Status (Kritisch / Beobachten), nicht fuer Gestaltung */
  --red: #FF6B5E;
  --amber: #F5B83D;
  --f-head: 'Space Grotesk', system-ui, sans-serif;
  --f-text: 'Poppins', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--black); }
body {
  font-family: var(--f-text);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.hidden { display: none !important; }

/* ---------- App-Grundgeruest ---------- */
body.app {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(86, 247, 168, .06), transparent 60%),
    linear-gradient(180deg, #141714 0%, var(--black) 420px);
  background-repeat: no-repeat;
  background-color: var(--black);
}
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  padding: 28px 22px 22px;
  border-right: 1px solid var(--line);
  background: rgba(17, 19, 17, .7);
}
.brand img { width: 132px; display: block; }
.brand-sub {
  margin: 12px 0 34px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--card-hi); }
.nav a.on { color: var(--black); background: var(--mint); }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.role-switch .label { margin-bottom: 8px; }
.seg.seg-sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.seg.seg-sm button { padding: 6px 0; font-size: 11px; letter-spacing: -.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sync-box { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.sync-meta { font-size: 12px; color: var(--muted); margin: 4px 0 10px; }
.sync-ok { color: var(--mint); }
.sync-error { color: var(--light); text-decoration: underline; }
.me { display: flex; align-items: center; gap: 10px; }
.me-name { font-weight: 500; font-size: 14px; }
.me-role { font-size: 12px; color: var(--muted); }

.main { padding: 40px 48px 32px; min-width: 0; max-width: 1480px; }
.foot { margin-top: 64px; color: var(--faint); font-size: 12px; }

/* ---------- Typografie ---------- */
h1, .h1 {
  font-family: var(--f-head); font-weight: 600;
  font-size: 46px; line-height: 1.02; letter-spacing: -.035em;
  margin: 0;
}
h2 {
  font-family: var(--f-text); font-weight: 600; font-size: 19px; letter-spacing: -.01em;
  margin: 0 0 14px;
}
h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.mono-link {
  font-family: var(--f-mono); font-size: 13.5px; color: var(--ink);
  border-bottom: 1px solid transparent; transition: color .15s;
}
.mono-link:hover { color: var(--mint); }
.mono-link.muted { color: var(--muted); }
.mono-link.muted:hover { color: var(--mint); }

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.page-head .sub { margin-top: 10px; color: var(--muted); }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.back { display: inline-block; margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-text); font-weight: 500; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .1s, background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mint); color: var(--black); }
.btn-primary:hover { background: var(--light); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(245, 246, 242, .22); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: wait; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }

/* ---------- Karten & Raster ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.section { margin-top: 26px; }

.tile { padding: 18px 20px; }
.tile .value {
  font-family: var(--f-head); font-weight: 600; font-size: 38px; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px;
}
.tile .value small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.tile .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.tile.accent { background: var(--mint); color: var(--black); border-color: var(--mint); }
.tile.accent .label, .tile.accent .hint, .tile.accent .value small { color: rgba(17, 19, 17, .7); }
.tile.tile-crit { border-color: rgba(255, 107, 94, .45); background: rgba(255, 107, 94, .08); }
.tile.tile-crit .value { color: var(--red); }
.tile.tile-warn { border-color: rgba(245, 184, 61, .4); background: rgba(245, 184, 61, .06); }
.tile.tile-warn .value { color: var(--amber); }
a.tile:hover { border-color: rgba(245, 246, 242, .3); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
}
.pill-crit { background: var(--red); color: var(--black); }
.pill-warn { border-color: var(--amber); color: var(--amber); }
.pill-ok-solid { background: var(--mint); color: var(--black); }
.pill-ok { border-color: var(--deep); color: var(--muted); }
.pill-none { border-color: var(--line); color: var(--faint); }
.pill-plain { border-color: var(--line); color: var(--muted); }

.flag {
  display: inline-block; max-width: 100%; vertical-align: top; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); margin: 2px 4px 2px 0;
}
.flag-crit { background: rgba(255, 107, 94, .12); border-color: rgba(255, 107, 94, .5); color: var(--red); }
.flag-warn { background: rgba(245, 184, 61, .08); border-color: rgba(245, 184, 61, .45); color: var(--amber); }

/* ---------- Score-Ring ---------- */
.ring {
  --c: var(--faint);
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(245, 246, 242, .08) 0);
}
.ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #151815; }
.ring span { position: relative; font-family: var(--f-head); font-weight: 600; font-size: 17px; }
.ring-sm { width: 38px; height: 38px; }
.ring-sm::before { inset: 3px; }
.ring-sm span { font-size: 13px; }
.ring-lg { width: 96px; height: 96px; }
.ring-lg::before { inset: 6px; }
.ring-lg span { font-size: 34px; letter-spacing: -.03em; }
.lvl-crit { --c: var(--red); }
.lvl-warn { --c: var(--amber); }
.lvl-ok { --c: var(--mint); }
.lvl-none { --c: var(--faint); }

/* ---------- Budget-Balken ---------- */
.bbar { min-width: 0; }
.bbar-track { position: relative; height: 6px; border-radius: 999px; background: rgba(245, 246, 242, .08); overflow: hidden; }
.bbar-forecast { position: absolute; inset: 0 auto 0 0; background: rgba(245, 246, 242, .14); border-radius: 999px; }
.bbar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: rgba(245, 246, 242, .6); }
.bbar.lvl-warn .bbar-fill { background: var(--amber); }
.bbar.lvl-crit .bbar-fill { background: var(--red); }
.bbar-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.bbar-empty .bbar-meta { margin-top: 0; }
.bbar-lg .bbar-track { height: 10px; }
.bbar-lg .bbar-meta { font-size: 13px; }

/* ---------- Avatare ---------- */
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--deep); color: var(--light); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.avatar-sm { width: 26px; height: 26px; font-size: 10.5px; border: 2px solid #151815; }
.avatars { display: inline-flex; }
.avatars .avatar + .avatar { margin-left: -7px; }

/* ---------- Listen (Dashboard) ---------- */
.list { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px 38px; gap: 16px; align-items: center;
  padding: 14px 4px; border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; }
.row > * { min-width: 0; }
.list-crit .row { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
.list-warn .row { box-shadow: inset 3px 0 0 var(--amber); padding-left: 14px; }
.card.crit-card { border-color: rgba(255, 107, 94, .35); background: linear-gradient(180deg, rgba(255, 107, 94, .06), var(--card) 140px); }
.card.warn-card { border-color: rgba(245, 184, 61, .3); background: linear-gradient(180deg, rgba(245, 184, 61, .05), var(--card) 140px); }
.card-head .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; }
.dot-crit { background: var(--red); } .dot-warn { background: var(--amber); }
.row:hover .row-name { color: var(--mint); }
.row-name { font-weight: 500; transition: color .15s; }
.row-flags { margin-top: 4px; }
.empty { color: var(--muted); padding: 18px 4px; font-size: 14px; }
.list-more { padding-top: 14px; border-top: 1px solid var(--line); }
.list .row.extra { display: none; }
.list.expanded .row.extra { display: grid; }
.list.expanded .list-more { display: none; }

/* ---------- Kundenkarten ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.search {
  flex: 1; min-width: 220px; background: var(--card); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 11px 18px; font: inherit;
}
.search:focus { outline: none; border-color: var(--mint); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button {
  background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.seg button.on { background: var(--light); color: var(--black); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ccard {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  transition: border-color .15s, background .15s;
}
.ccard:hover { border-color: rgba(245, 246, 242, .24); background: var(--card-hi); }
.ccard.lvl-crit { border-color: rgba(255, 107, 94, .55); box-shadow: inset 3px 0 0 var(--red); }
.ccard.lvl-warn { border-color: rgba(245, 184, 61, .4); box-shadow: inset 3px 0 0 var(--amber); }
.ccard-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ccard-name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.ccard-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.ccard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.inactive-list { margin-top: 36px; }
.inactive-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.inactive-list summary::-webkit-details-marker { display: none; }
.inactive-list summary .mono-link::after { content: ' ↓'; }
.inactive-list[open] summary .mono-link::after { content: ' ↑'; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.nowrap { white-space: nowrap; }
tbody tr:hover td { background: rgba(245, 246, 242, .02); }
tfoot td { padding: 14px 12px 4px; border-top: 1px solid rgba(245, 246, 242, .2); }

/* ---------- Formulare ---------- */
form.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=month], select, textarea {
  font: inherit; font-size: 14.5px; color: var(--ink);
  background: rgba(245, 246, 242, .04); border: 1px solid rgba(245, 246, 242, .14);
  border-radius: 12px; padding: 11px 14px; width: 100%;
}
select option { background: var(--black); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mint); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-error { border: 1px solid var(--mint); color: var(--mint); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.check { flex-direction: row; align-items: center; gap: 10px; color: var(--ink); font-weight: 400; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--mint); }

/* Auswahl-Chips (Radio) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label {
  flex-direction: row; cursor: pointer; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(245, 246, 242, .18); color: var(--ink); font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.choices label:hover { border-color: var(--mint); }
.choices input:checked + label { background: var(--mint); border-color: var(--mint); color: var(--black); }
.choices input:focus-visible + label { outline: 2px solid var(--light); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: -6px; }

.flash {
  border: 1px solid rgba(86, 247, 168, .45); background: rgba(86, 247, 168, .08); color: var(--mint);
  border-radius: 14px; padding: 12px 18px; margin-bottom: 22px; font-size: 14px;
}
.copy-ok { color: var(--mint) !important; }

/* ---------- Kunden-Detail ---------- */
.detail-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.detail-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.score-block { display: flex; align-items: center; gap: 16px; }
.score-block .label { text-align: right; }
.budget-tile { background: var(--mint); color: var(--black); border-color: var(--mint); }
.budget-tile .label, .budget-tile .muted { color: rgba(17, 19, 17, .66); }
.budget-tile .big { font-family: var(--f-head); font-weight: 600; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; margin: 8px 0 4px; }
.budget-tile .notes { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(17, 19, 17, .16); white-space: pre-wrap; font-size: 14px; }
.budget-tile .mono-link { color: var(--black); }
.budget-tile .mono-link:hover { color: var(--black); text-decoration: underline; }
.budget-tile select, .budget-tile input, .budget-tile textarea {
  background: rgba(255, 255, 255, .45); border-color: rgba(17, 19, 17, .2); color: var(--black);
}
.budget-tile label { color: rgba(17, 19, 17, .7); }
.budget-tile .btn-primary { background: var(--black); color: var(--light); }
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 200px; }
.chart-box.tall { height: 420px; }
.comment { padding: 14px 0; border-top: 1px solid var(--line); }
.comment:first-child { border-top: 0; }
.comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.comment-text { white-space: pre-wrap; }

/* Modal-artige Bearbeitung */
details.edit > summary { list-style: none; cursor: pointer; display: inline-block; }
details.edit > summary::-webkit-details-marker { display: none; }
details.edit[open] > summary { margin-bottom: 14px; }

/* ---------- Ansicht als ---------- */
.viewas {
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--amber); background: rgba(245, 184, 61, .08); color: var(--light);
  border-radius: 14px; padding: 12px 18px; margin-bottom: 22px; font-size: 14px;
}

.demo-bar { border-color: var(--mint); background: rgba(86, 247, 168, .07); }
.demo-links { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.demo-links > div:last-child { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Rentabilitaet ---------- */
.finance { border-color: rgba(86, 247, 168, .28); }
.finance .note { font-size: 12px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.kpi .value { font-family: var(--f-head); font-weight: 600; font-size: 26px; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.lock { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* Verantwortliche mit Art */
.resp-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.resp-row:last-child { border-bottom: 0; }
.resp-row select { width: auto; min-width: 190px; padding: 8px 12px; font-size: 13.5px; }
.kind-lead { background: var(--mint); color: var(--black); border-color: #151815; }

/* ---------- Login ---------- */
body.auth {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px;
  background:
    radial-gradient(700px 420px at 0% 100%, rgba(86, 247, 168, .07), transparent 60%),
    var(--black);
}
.auth-logo { position: fixed; top: 28px; left: 32px; }
.auth-logo img { width: 128px; display: block; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 52px; margin-bottom: 10px; }
.auth-card p { margin: 0 0 24px; }
.auth-card form { margin-bottom: 24px; }
.auth-foot { position: fixed; bottom: 22px; font-size: 12px; color: var(--faint); }

/* ---------- Oeffentliche Kundenansicht (hell) ---------- */
body.share { background: var(--light); color: var(--black); }
.share-wrap { max-width: 980px; margin: 0 auto; padding: 36px 28px 60px; }
.share-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.share-top img { width: 120px; display: block; }
.share h1 { font-size: 58px; }
.share .sub { color: rgba(17, 19, 17, .6); margin-top: 12px; font-size: 17px; }
.share .card { background: var(--light2); border-color: rgba(17, 19, 17, .08); }
.share .card.dark { background: var(--black); color: var(--light); border-color: var(--black); }
.share .label { color: rgba(17, 19, 17, .55); }
.share .card.dark .label { color: var(--muted); }
.share th { color: rgba(17, 19, 17, .55); border-color: rgba(17, 19, 17, .1); }
.share td { border-color: rgba(17, 19, 17, .08); }
.share tbody tr:hover td { background: transparent; }
.share .tile .value small { color: rgba(17, 19, 17, .55); }
.share .tile .hint { color: rgba(17, 19, 17, .55); }
.share .foot { color: rgba(17, 19, 17, .45); }
.share .muted { color: rgba(17, 19, 17, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  body.app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 20px; }
  .brand-sub { display: none; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-foot { margin: 0 0 0 auto; flex-direction: row; align-items: center; }
  .role-switch .label { margin-bottom: 8px; }
.seg.seg-sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.seg.seg-sm button { padding: 6px 0; font-size: 11px; letter-spacing: -.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sync-box { display: none; }
  .main { padding: 28px 20px; }
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; }
  h1, .h1 { font-size: 36px; }
  .row { grid-template-columns: 1fr 38px; }
  .row .bbar { display: none; }
}
