/* Spiritnoise SEO Portal – admin */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --bg: #faf9f7;
  --wash: #f4f1ee;
  --ink: #1f1c1a;
  --ink-2: #5d5752;
  --muted: #8b847d;
  --rule: #ebe6e1;
  --rule-2: #dcd5ce;
  --brand: #cf5e3d;
  --brand-ink: #a9462a;
  --brand-wash: #fcefe9;
  --good: #1d7a4c;
  --good-wash: #e8f4ed;
  --bad: #b8323f;
  --bad-wash: #fbebec;
  --warn-wash: #fdf3df;
  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--f-text); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 600; color: var(--ink); text-decoration: none; }
a.strong:hover { color: var(--brand-ink); }
.right { text-align: right; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Top bar */
.topbar { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 0 28px; height: 62px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 86px; height: auto; }
.brand span { font-family: var(--f-display); font-weight: 600; font-size: 16px; padding-left: 12px; border-left: 1px solid var(--rule); }
.mainnav { display: flex; gap: 6px; }
.mainnav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.mainnav a:hover { background: var(--wash); color: var(--ink); }
.mainnav a.on { background: var(--ink); color: #fff; }
.signout { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.page { max-width: 1320px; margin: 0 auto; padding: 32px 28px 80px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink);
  font: 600 14px/1 var(--f-text); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.accent:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: #f0c9cd; background: #fff; }
.btn.danger:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--brand-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-link.danger { color: var(--bad); }
.icon-btn { width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
.icon-btn:hover { background: var(--wash); color: var(--ink); }
.icon-btn.del:hover { background: var(--bad-wash); color: var(--bad); }
.copy { border: 1px solid var(--rule-2); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: 600 13px var(--f-text); cursor: pointer; color: var(--ink); }
.copy:hover { border-color: var(--ink); }
.copy.done { background: var(--good-wash); border-color: var(--good-wash); color: var(--good); }

/* Page heads */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; letter-spacing: -0.025em; }
.lede { color: var(--ink-2); margin-top: 6px; max-width: 70ch; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); }

/* Flash */
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; background: var(--good-wash); color: #14583a; }
.flash.error { background: var(--bad-wash); color: #8a1f2a; }
.flash.inline { margin: 12px 0 0; }

/* Cards & tables */
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-head h2, .share h2 { font-size: 20px; }
.narrow { max-width: 720px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--rule-2); }
.table td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table td.actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.table td.actions form { display: inline; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--wash); color: var(--ink-2); vertical-align: 1px; }
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--f-text); padding: 3px 10px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.published { background: var(--good-wash); color: var(--good); }
.status.draft { background: var(--warn-wash); color: #7a4d00; }

/* Dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.client-list { display: grid; gap: 20px; }
.client { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px 10px; }
.client-head { display: flex; align-items: center; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.client-logo { width: 96px; height: 44px; object-fit: contain; object-position: left center; }
.client-initial { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-wash); color: var(--brand-ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.client-id h2 { font-size: 20px; }
.muted-link { color: var(--muted); font-size: 13.5px; text-decoration: none; }
.muted-link:hover { color: var(--brand-ink); }
.client-actions { margin-left: auto; display: flex; gap: 8px; }
.client-empty { padding: 16px 0; color: var(--ink-2); }
.side { display: grid; gap: 20px; }
.side-title { font-size: 17px; margin-bottom: 12px; }
.recent { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.recent li { padding: 14px 18px; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.recent li:last-child { border-bottom: 0; }
.recent a { text-decoration: none; color: var(--ink); }
.recent a:hover { color: var(--brand-ink); }
.recent .status { justify-self: start; }
.empty { background: var(--paper); border: 1px dashed var(--rule-2); border-radius: var(--radius); padding: 48px; text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 24px; }

/* Project page */
.share { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; border-color: #f2d6cb; background: linear-gradient(0deg, #fff, #fff), var(--paper); }
.share-main { flex: 1 1 520px; }
.share-main .muted { margin-top: 4px; }
.share-url { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.share-url input { flex: 1 1 360px; height: 40px; border: 1px solid var(--rule-2); border-radius: 999px; padding: 0 16px; font: 500 14px var(--f-text); background: var(--bg); color: var(--ink); }
.new-report { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 16px; background: var(--bg); border-radius: 12px; margin-bottom: 18px; }
.new-report .field { margin: 0; }
.new-report select { min-width: 300px; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .rep-head > span:first-child { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.field small, small.muted { color: var(--muted); font-size: 12.5px; }
.field .count { font-style: normal; font-size: 12px; color: var(--good); font-weight: 600; justify-self: start; background: var(--good-wash); padding: 1px 8px; border-radius: 999px; margin-top: -2px; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=date], input[type=month], input[type=number], select, textarea {
  width: 100%; font: 400 14.5px/1.4 var(--f-text); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-2); border-radius: 10px; padding: 9px 12px; min-height: 40px;
}
textarea { resize: vertical; line-height: 1.5; }
textarea.mono { font: 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-wash); }
input[type=file] { font: 13.5px var(--f-text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check-line input { width: 16px; height: 16px; accent-color: var(--brand); }
.check-line.small { font-size: 13px; color: var(--ink-2); }
.form-actions { display: flex; gap: 10px; padding-top: 6px; }
.suffix-wrap { position: relative; display: block; }
.suffix-wrap input { padding-right: 30px; }
.suffix-wrap i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: 13px; }
.logo-row { display: flex; align-items: center; gap: 16px; }
.logo-preview { max-width: 180px; max-height: 64px; object-fit: contain; border: 1px solid var(--rule); border-radius: 8px; padding: 6px; background: #fff; }
.danger-zone { margin-top: 20px; padding: 18px 24px; border: 1px solid #f0c9cd; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; }
.danger-zone p { color: var(--ink-2); font-size: 14px; }

/* Auth pages */
body.bare { background: var(--bg); }
.auth { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 40px 16px; }
.auth-logo { width: 150px; height: auto; }
.auth-card { width: min(440px, 92vw); background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 32px; display: grid; gap: 16px; }
.auth-card.center { text-align: center; }
.auth-card h1 { font-size: 24px; }
.fine { font-size: 12.5px; color: var(--muted); }

/* Report editor */
.editor-head {
  position: sticky; top: 62px; z-index: 20; background: rgba(250, 249, 247, 0.95); backdrop-filter: blur(8px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin: -32px -28px 24px; padding: 20px 28px 16px; border-bottom: 1px solid var(--rule);
}
.editor-head h1 { font-size: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.editor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.editor { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; }
.editor-nav { position: sticky; top: 170px; display: grid; gap: 2px; }
.editor-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.editor-nav a:hover { background: var(--wash); color: var(--ink); }
.editor-nav a.on { background: var(--paper); color: var(--ink); box-shadow: inset 2px 0 0 var(--brand); border-radius: 0 10px 10px 0; }
.nav-foot { margin-top: 20px; padding: 16px 12px 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 13.5px; }
.editor-main { gap: 24px; }
.ed-sec { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 28px 28px; }
.ed-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.ed-sec-head h2 { font-size: 21px; }
.ed-sec-head p { grid-column: 1; color: var(--ink-2); font-size: 14px; max-width: 80ch; }
.sitecheck-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ed-grid > .field { grid-column: 1 / -1; }
.ed-grid > .field.half { grid-column: auto; }
.editor-bottom { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 0; }

/* Repeating rows */
.rep { gap: 10px; margin-bottom: 4px; }
.kw-rep { margin-bottom: 24px; }
.rep-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rep-count { font-size: 12.5px; color: var(--muted); }
.rep-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; }
.rep-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.rep-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 8px 6px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.rep-table th:first-child, .rep-table td:first-child { padding-left: 10px; }
.rep-table td { padding: 4px 4px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.rep-table tr:last-child td { border-bottom: 0; }
.rep-table input, .rep-table select { border-color: transparent; background: transparent; min-height: 34px; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.rep-table input:hover, .rep-table select:hover { border-color: var(--rule-2); background: #fff; }
.rep-table input:focus, .rep-table select:focus { background: #fff; }
.rep-table .numin { text-align: right; font-variant-numeric: tabular-nums; }
.rep-table .row-tools { width: 64px; white-space: nowrap; text-align: right; padding-right: 6px; }
.rep-table td.mv { font-size: 12.5px; font-weight: 600; padding: 0 8px; white-space: nowrap; }
.mv .up { color: var(--good); } .mv .down { color: var(--bad); } .mv .same { color: var(--muted); } .mv .new { color: var(--brand-ink); }
.rep-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.paste-box { display: grid; gap: 8px; padding: 12px; background: var(--bg); border-radius: 12px; }
.paste-box textarea { font: 12.5px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }

/* Screenshots in editor */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 18px; }
.asset { border: 1px solid var(--rule); border-radius: 12px; padding: 8px; display: grid; gap: 6px; background: var(--bg); }
.asset img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-radius: 8px; background: #fff; }
.asset input, .asset select { min-height: 34px; padding: 6px 8px; font-size: 13px; }
.asset-row { display: grid; grid-template-columns: 1fr 52px 28px; gap: 6px; align-items: center; }
.asset-row .order { text-align: center; }
.upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px; border: 1px dashed var(--rule-2); border-radius: 12px; margin-bottom: 6px; }
.upload select { width: auto; }

/* Toolkit */
.toolkit { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; }
.toolkit .card + .card { margin-top: 0; }

@media (max-width: 1000px) {
  .dash { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .editor-nav { position: static; display: flex; flex-wrap: wrap; }
  .nav-foot { display: none; }
  .toolkit { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar-in { padding: 0 16px; gap: 12px; height: auto; min-height: 58px; flex-wrap: wrap; padding-bottom: 8px; padding-top: 8px; }
  .signout span { display: none; }
  .page { padding: 24px 16px 64px; }
  .editor-head { margin: -24px -16px 20px; padding: 14px 16px; top: 0; position: static; }
  .ed-sec { padding: 20px 16px; }
  .ed-grid, .grid-2 { grid-template-columns: 1fr; }
  .ed-sec-head { grid-template-columns: 1fr; }
  .sitecheck-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .client-actions { margin-left: 0; }
  .table { font-size: 13px; }
  .new-report select { min-width: 0; }
}
.rep-tools select { width: auto; min-height: 32px; padding: 4px 30px 4px 10px; font-size: 13px; }

/* ---------- Client access card ---------- */
.access { border-color: #f2d6cb; }
.access-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.access-head h2 { font-size: 20px; }
.access-head .muted { margin-top: 4px; }
.lock-state { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--f-text); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.lock-state svg { width: 15px; height: 15px; }
.lock-state.on { background: var(--good-wash); color: var(--good); }
.lock-state.off { background: var(--warn-wash); color: #7a4d00; }
.access-grid { display: grid; gap: 14px; margin-top: 20px; }
.access-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.access-row > p { grid-column: 2; }
.access-label { font-weight: 600; font-size: 13.5px; }
.access-row .share-url { margin-top: 0; }
.pw-box {
  flex: 1 1 360px; display: flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 999px;
  background: var(--bg); min-width: 0; overflow: hidden;
}
.pw-dots { color: var(--muted); letter-spacing: 2px; }
.pw-text { font: 600 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); letter-spacing: .02em; user-select: all; animation: pw-in .25s ease; }
@keyframes pw-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.done, .copy-btn.done { background: var(--good-wash); border-color: var(--good-wash); color: var(--good); }
.access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.access-actions form { display: inline-flex; }
.access-actions .push-right { margin-left: auto; }
.own-pw { position: relative; }
.own-pw summary { list-style: none; }
.own-pw summary::-webkit-details-marker { display: none; }
.own-pw[open] summary { border-color: var(--ink); }
.own-pw-form { position: absolute; z-index: 5; top: 46px; left: 0; display: flex; gap: 8px; padding: 12px; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(31, 28, 26, .35); width: 360px; }
.own-pw-form input { min-height: 34px; }
.access .fine { margin-top: 14px; }

/* Activity */
.activity .card-head { margin-bottom: 12px; }
.act-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 4px 0 18px; }
.act-stats div { display: grid; gap: 2px; }
.act-stats strong { font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.act-stats span { font-size: 13px; color: var(--muted); }
.table.compact td { padding-top: 9px; padding-bottom: 9px; }
.pill.warn { background: var(--bad-wash); color: var(--bad); }
.activity .fine { margin-top: 12px; }

/* Dashboard */
.lock-mini { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--good); vertical-align: 1px; }
.lock-mini svg { width: 12px; height: 12px; }
.lock-mini.off { color: #9a6200; }

/* Editor: section switches, history */
.ed-sec-title { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--rule-2); transition: background .2s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--good); }
.switch input:checked + .switch-ui::after { transform: translateX(14px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--brand); outline-offset: 2px; }
.ed-sec.is-off { background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #fbf9f7 10px, #fbf9f7 20px); }
.ed-sec.is-off .switch-text::after { content: " (hidden)"; color: var(--bad); }
.editor-nav a.off { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--rule-2); }
.editor-nav .nav-history { padding: 0; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-history span { font-size: 11.5px; background: var(--wash); color: var(--ink-2); padding: 1px 7px; border-radius: 999px; }
.nav-history:hover { color: var(--brand-ink); }
.kbd-hint { font-size: 12px; color: var(--muted); }
kbd { font: 600 11px/1 var(--f-text); padding: 2px 5px; border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--ink-2); }
.current-row td { background: var(--bg); }

@media (max-width: 720px) {
  .access-row { grid-template-columns: 1fr; }
  .access-row > p { grid-column: 1; }
  .access-actions .push-right { margin-left: 0; }
  .own-pw-form { width: min(360px, 86vw); }
}
