/* Dad's Electric Inc. — palette taken from panel hardware: steel gray, breaker blue, handle amber */
:root {
  --ink: #16202a;
  --ink-2: #3a4652;
  --muted: #5b6672;
  --paper: #ffffff;
  --steel: #e6eaee;
  --steel-2: #d3d9df;
  --line: #c3ccd5;
  --blue: #1b4d8c;
  --blue-dark: #133a6b;
  --amber: #f0b323;
  --amber-dark: #d99a0b;
  --green: #1e6b3a;
  --red: #a4231b;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

/* ---------- header & menu ---------- */
.site-header, .admin-bar { background: var(--ink); color: #fff; position: relative; z-index: 20; }
.site-header { position: sticky; top: 0; }
.header-row, .admin-bar-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 14px; height: 30px; border-radius: 3px; background: var(--amber); box-shadow: 8px 0 0 -2px #fff, 16px 0 0 -4px var(--steel-2); margin-right: 14px; }
.brand-name { font: 700 1.6rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 400px) { .brand-name { font-size: 1.35rem; } .brand-inc { font-size: .8rem; } .menu summary { padding: .5rem .75rem; } }
.brand-inc { font: 600 .95rem/1 var(--display); color: var(--steel-2); align-self: flex-end; margin-bottom: 3px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .95rem; border: 1.5px solid rgba(255,255,255,.45); border-radius: var(--radius); font-weight: 600; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { border-color: var(--amber); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink); width: min(300px, calc(100vw - 2.5rem)); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(22,32,42,.28); overflow: hidden; border-top: 4px solid var(--amber); }
.menu ul { list-style: none; margin: 0; padding: .35rem 0; }
.menu li a { display: block; padding: .9rem 1.25rem; font: 600 1.35rem/1.1 var(--display); color: var(--ink); text-decoration: none; }
.menu li a:hover, .menu li a:focus-visible { background: var(--steel); outline-offset: -3px; }
.menu li a[aria-current] { box-shadow: inset 4px 0 0 var(--blue); }
@media (prefers-reduced-motion: no-preference) { .menu[open] nav { animation: drop .16s ease-out; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent; font: 600 1.05rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(127,140,152,.12); color: inherit; }
.btn--danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn--danger:hover { background: #fbeceb; color: var(--red); }
.btn--big { min-height: 56px; font-size: 1.15rem; padding-inline: 2rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; }
.text-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- hero with panel schedule ---------- */
.hero { background: var(--steel); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero h1 { max-width: 15ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }
.hero .actions { margin-top: 1.75rem; }
.panel { background: #2b3642; border-radius: 10px; padding: 14px; box-shadow: inset 0 0 0 2px #435061, 0 18px 40px rgba(22,32,42,.22); color: #fff; }
.panel-head { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem .5rem .8rem; font-size: .85rem; color: #aeb9c4; }
.breakers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .breakers { grid-template-columns: 1fr 1fr; } }
.breaker { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: #f7f8fa; color: var(--ink); border-radius: 5px; padding: 1rem 1rem 1rem .8rem; }
.breaker-handle { width: 18px; height: 42px; border-radius: 3px; background: #1d2731; position: relative; margin-top: .1rem; }
.breaker-handle::before { content: attr(data-n); position: absolute; top: 48px; left: 0; width: 18px; text-align: center; font: 700 .95rem/1 var(--display); color: var(--muted); }
.breaker-handle::after { content: ''; position: absolute; left: 3px; right: 3px; top: 3px; height: 17px; border-radius: 2px; background: var(--amber); }
.breaker h2 { font-size: 1.45rem; margin: 0 0 .25rem; }
.breaker p { margin: 0; font-size: .98rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--tight { padding-top: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section--band { background: var(--blue); color: #fff; }
.band { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.band p { color: #dbe5f1; margin: 0; max-width: 60ch; }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.page-head h1 { margin-bottom: .3em; }

/* ---------- projects ---------- */
.project-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.project-media { position: relative; aspect-ratio: 4 / 3; background: var(--steel); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-noimg { height: 100%; background: repeating-linear-gradient(135deg, var(--steel) 0 14px, var(--steel-2) 14px 16px); }
.tag { position: absolute; left: .75rem; top: .75rem; padding: .2rem .6rem; border-radius: 3px; font-size: .85rem; font-weight: 600; }
.tag--current { background: var(--amber); color: var(--ink); }
.tag--done { background: var(--ink); color: #fff; }
.project-body { padding: 1.1rem 1.2rem 1.3rem; }
.project-body h3 { margin-bottom: .2rem; }
.project-meta { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.project-body p:last-child { margin-bottom: 0; }
.thumbs { display: flex; gap: .5rem; overflow-x: auto; margin-top: .9rem; padding-bottom: .2rem; }
.thumbs img { width: 84px; height: 63px; object-fit: cover; border-radius: 3px; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
.tabs a { padding: .45rem .95rem; border-radius: 99px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--ink-2); }
.empty p { margin: 0; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .92rem; color: var(--muted); margin: -.1rem 0 .4rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #9aa6b2; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(27,77,140,.25); outline-offset: 0; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.error { color: var(--red); font-weight: 600; font-size: .95rem; margin: .35rem 0 0; }
.check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; margin-right: 1rem; }
.check input { width: 20px; height: 20px; min-height: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 0; }
.slot-status { min-height: 1.4em; color: var(--muted); }
.alert { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 5px solid; }
.alert h2 { font-size: 1.6rem; }
.alert p:last-child { margin-bottom: 0; }
.alert--error { background: #fbeceb; border-color: var(--red); }
.alert--ok { background: #e8f3ec; border-color: var(--green); }
.alert--warn { background: #fff6dc; border-color: var(--amber-dark); }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.contact-card { background: var(--steel); border-radius: var(--radius); padding: 1.5rem; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 1.75rem; }
.contact-card dt { font-weight: 600; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- invoice ---------- */
.invoice-wrap { background: var(--steel); }
.invoice { background: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: 0 1px 0 var(--line); }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; border-bottom: 3px solid var(--ink); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.invoice-from { font: 700 1.6rem/1 var(--display); margin-bottom: .4rem; }
.invoice-id h1 { font-size: 2rem; margin-bottom: .2rem; }
.invoice-id { text-align: right; }
.invoice-to { margin-bottom: 1.25rem; }
.invoice-to p { margin-bottom: .2rem; }
.status { display: inline-block; padding: .15rem .6rem; border-radius: 3px; font-weight: 600; font-size: .9rem; }
.status--draft { background: var(--steel); }
.status--sent { background: #fff0c7; }
.status--paid { background: #d8eee0; color: var(--green); }
.status--void { background: #f3dcda; color: var(--red); }
.lines { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.lines th { text-align: left; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); padding: .5rem .4rem; }
.lines td { padding: .7rem .4rem; border-bottom: 1px solid var(--steel); vertical-align: top; }
.num { text-align: right; white-space: nowrap; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: .3rem 0; margin: 0 0 1.5rem auto; max-width: 380px; }
.totals dd { margin: 0; text-align: right; padding-left: 2rem; }
.totals .grand { font-weight: 700; font-size: 1.3rem; border-top: 2px solid var(--ink); padding-top: .4rem; }
.totals .strong { font-weight: 700; }
.totals .credit { color: var(--green); }
.totals dt.credit { font-size: .95rem; }
.invoice-notes { background: var(--steel); padding: 1rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.invoice-notes p { margin-bottom: .3rem; }
.pay-box { text-align: center; padding-top: .5rem; }
.pay-box .muted { margin-top: .75rem; }
.paid-note { font: 700 1.5rem/1.2 var(--display); color: var(--green); }
.print-row { text-align: center; margin-top: 1rem; }
@media (max-width: 600px) {
  .invoice-id { text-align: left; }
  .lines thead { display: none; }
  .lines tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .lines td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .15rem 0; text-align: right; }
  .lines td::before { content: attr(data-label); color: var(--muted); text-align: left; }
  .lines td:first-child { display: block; text-align: left; font-weight: 600; }
  .lines td:first-child::before { content: none; }
  .totals { max-width: none; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c8d0d8; padding: 2.5rem 0 1.25rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-contact { text-align: right; } }
.footer-name { font: 700 1.5rem/1 var(--display); color: #fff; margin-bottom: .5rem; }
.footer-contact p { margin: 0 0 .2rem; }
.footer-base { border-top: 1px solid #34414e; margin-top: 1.75rem; padding-top: 1rem; font-size: .9rem; }
.footer-base p { margin: 0; }

/* ---------- owner area ---------- */
body.admin { background: #f3f5f7; }
.admin-bar-row { flex-wrap: wrap; padding: .4rem 0; }
.admin-nav { display: flex; flex-wrap: wrap; gap: .2rem; align-items: center; }
.admin-nav a, .admin-nav button { color: #dfe5ea; text-decoration: none; padding: .45rem .7rem; border-radius: 4px; font: 600 1rem var(--body); background: none; border: 0; cursor: pointer; }
.admin-nav a[aria-current], .admin-nav a:hover, .admin-nav button:hover { background: #2b3642; color: #fff; }
.admin-nav form { margin: 0; }
.admin-main { padding: 2rem 0 4rem; }
.admin h1 { font-size: 2.3rem; }
.admin h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.title-row h1 { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; }
.card h2:first-child { margin-top: 0; }
.stat-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); }
.stat strong { display: block; font: 700 2rem/1.1 var(--display); }
.admin-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table th, .admin-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--steel); vertical-align: middle; }
.admin-table thead th { font-size: .9rem; color: var(--muted); }
.mini { width: 56px; height: 42px; object-fit: cover; border-radius: 3px; float: left; margin-right: .75rem; }
@media (max-width: 700px) {
  .admin-table--list thead { display: none; }
  .admin-table--list tr { display: block; border-bottom: 1px solid var(--line); padding: .4rem 0; }
  .admin-table--list td { display: block; border: 0; padding: .2rem .9rem; }
  .admin-table:not(.admin-table--list) th, .admin-table:not(.admin-table--list) td { display: block; border: 0; padding: .3rem .9rem; }
  .admin-table:not(.admin-table--list) tr { display: block; border-bottom: 1px solid var(--steel); padding: .4rem 0; }
}
.feed { list-style: none; padding: 0; margin: 0 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card .feed { border: 0; }
.feed li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .65rem 1rem; border-bottom: 1px solid var(--steel); }
.feed li:last-child { border-bottom: 0; }
.req-list { display: grid; gap: 1rem; }
.req { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.req header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.req h2 { margin: 0; font-size: 1.4rem; }
.req:target { outline: 3px solid var(--amber); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin: 0 0 .6rem; }
.kv dt { font-weight: 600; } .kv dd { margin: 0; }
.pre { white-space: pre-wrap; background: var(--steel); padding: .7rem .9rem; border-radius: 4px; }
.inline-select { display: inline-flex; gap: .6rem; align-items: center; font-weight: 600; }
.inline-select select { width: auto; min-height: 40px; padding: .35rem .6rem; }
.login { max-width: 420px; margin: 3rem auto; }
.form-section { margin-top: 1rem; }
.photos { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; margin: 0 0 1rem; background: #fff; }
.photos legend { font-weight: 700; padding: 0 .4rem; }
.photo-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.photo-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; background: #fff; }
.photo-list li:first-child { border: 2px solid var(--amber); }
.photo-list li:first-child::before { content: 'Cover'; font-size: .8rem; font-weight: 700; display: block; margin-bottom: .3rem; }
.photo-list img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 3px; margin-bottom: .5rem; }
.photo-list input { min-height: 40px; padding: .4rem .55rem; font-size: .95rem; }
.photo-btns { display: flex; gap: .4rem; margin-top: .4rem; }
.photo-btns button { flex: 1; font: 600 .9rem var(--body); padding: .45rem; border: 1px solid var(--line); background: var(--steel); border-radius: 4px; cursor: pointer; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.items-table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; }
.items-table th { text-align: left; font-size: .9rem; color: var(--muted); padding: .3rem; }
.items-table td { padding: .3rem; vertical-align: middle; }
.items-table input.short { max-width: 110px; }
.items-table th:nth-child(2), .items-table th:nth-child(3), .items-table th:nth-child(4) { width: 130px; }
.items-table th:nth-child(5) { width: 48px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 4px; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 700px) {
  .items-table thead { display: none; }
  .items-table tr { display: grid; grid-template-columns: 1fr 1fr auto; gap: .4rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .items-table td:first-child { grid-column: 1 / -1; }
  .items-table td[data-amount] { grid-column: 1 / 3; text-align: left; font-weight: 600; }
  .items-table input.short { max-width: none; }
}
.totals-preview p { display: flex; justify-content: space-between; margin: 0 0 .2rem; max-width: 280px; }
.totals-preview .grand { font-size: 1.2rem; border-top: 2px solid var(--ink); padding-top: .3rem; }
.inv-grid { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .inv-grid { grid-template-columns: 1fr 1fr; } }
.inv-grid .card { margin: 0; }
.big-total { font: 700 2.4rem/1 var(--display); margin: .5rem 0; }
.mini-lines { list-style: none; padding: 0; margin: 1rem 0 0; }
.mini-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--steel); }
.copy-row { display: flex; gap: .5rem; margin-bottom: .6rem; }
.copy-row input { font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: var(--radius); z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 2rem); }
.toast.is-error { background: var(--red); }

@media print {
  .site-header, .site-footer, .print-row, .pay-box form, .alert { display: none !important; }
  .invoice-wrap { background: #fff; padding: 0; }
  .invoice { box-shadow: none; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.totals-preview .paid-row { color: var(--green); }
.pay-table th:nth-child(1), .pay-table th:nth-child(2) { width: 170px; }
.pay-table th:nth-child(4) { width: 48px; }
@media (max-width: 700px) { .pay-table tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .pay-table td:first-child { grid-column: auto; } .pay-table td:nth-child(3) { grid-column: 1 / 3; } }
.pay-feed button { font-size: .95rem; }
.record-payment { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.record-payment h3 { font-size: 1.3rem; }
