:root {
  --navy: #1f3a5f; --navy-dark: #14233a; --gold: #c8963e; --gold-soft: #f6efe2;
  --ink: #1d2733; --muted: #5d6b7a; --line: #dfe4ea; --bg: #f5f6f8; --card: #fff;
  --ok: #2f7d4f; --err: #b3261e; --radius: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--bg); }
a { color: var(--navy); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy-dark); line-height: 1.2; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .4em; }

header.site { background: var(--navy-dark); color: #fff; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.mark { background: var(--gold); color: var(--navy-dark); font: 700 .8rem/1 var(--sans); letter-spacing: .06em; padding: 7px 8px; border-radius: 6px; }
.secure { font-size: .85rem; opacity: .85; }
footer.site { color: var(--muted); font-size: .85rem; padding: 40px 0; text-align: center; }

.stepper { list-style: none; display: flex; align-items: center; gap: 12px; padding: 0; margin: 32px 0 8px; font-weight: 600; color: var(--muted); font-size: .95rem; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: .85rem; }
.stepper .current { color: var(--navy-dark); }
.stepper .current .dot { border-color: var(--navy); background: var(--navy); color: #fff; }
.stepper .done .dot { border-color: var(--ok); background: var(--ok); color: #fff; }
.stepper .bar { flex: 0 0 60px; height: 2px; background: var(--line); }
.stepper .bar.done { background: var(--ok); }

.intro { margin: 20px 0 24px; max-width: 720px; }
.intro p { margin: .3em 0; }
.muted { color: var(--muted); } .small { font-size: .85rem; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .summary { order: -1; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(20,35,58,.04); }
.card.narrow { max-width: 520px; margin: 40px auto; }
.section-title { font-size: 1.15rem; margin: 28px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; color: var(--navy-dark); }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=password], input[type=date], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400;
  border: 1px solid #c9d1db; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, .agreement:focus, canvas:focus { outline: 3px solid rgba(200,150,62,.35); border-color: var(--gold); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .card { padding: 20px; } }
input.typed { font-family: var(--serif); font-size: 1.2rem; font-style: italic; }

.agreement { height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 4px 22px 16px; background: #fbfbfc; font-size: .92rem; }
.agreement h2 { font-size: 1.2rem; } .agreement h3 { font-size: 1rem; margin: 1.3em 0 .3em; }
.hint { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.hint.ok { color: var(--ok); font-weight: 600; }

.sigwrap { position: relative; border: 1px solid #c9d1db; border-radius: 8px; background: #fff; margin-bottom: 18px; }
.sighead { display: flex; justify-content: space-between; padding: 8px 12px; font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 1px dashed var(--line); }
#sigPad { display: block; width: 100%; height: 160px; touch-action: none; cursor: crosshair; }
.sigline { position: absolute; left: 16px; right: 16px; bottom: 34px; border-bottom: 1px solid #b8c2cd; color: #9aa6b2; font-size: .9rem; pointer-events: none; padding-bottom: 2px; }
#sigPad.signed + .sigline { color: transparent; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }

.btn { display: inline-block; font: 600 1rem var(--sans); padding: 13px 22px; border-radius: 8px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--navy); color: #fff; width: 100%; padding: 15px 22px; font-size: 1.05rem; }
.btn.primary:hover { background: var(--navy-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
.error { background: #fdecea; color: var(--err); border-radius: 8px; padding: 12px 14px; font-size: .92rem; }

.summary { position: sticky; top: 20px; border-top: 4px solid var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--gold); margin: 0 0 4px; }
.summary h3 { margin: 0 0 14px; font-size: 1.25rem; }
.features { list-style: none; padding: 0; margin: 0 0 18px; }
.features li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid #f0f2f5; font-size: .95rem; }
.features li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.total { display: flex; justify-content: space-between; align-items: baseline; background: var(--gold-soft); margin: 0 -28px -28px; padding: 16px 28px; border-radius: 0 0 var(--radius) var(--radius); }
.total strong { font-family: var(--serif); font-size: 1.6rem; color: var(--navy-dark); }

.notice { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; margin: 0 0 24px; font-size: .95rem; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0 0 24px; font-size: .95rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }
#anetFrame { width: 100%; min-height: 640px; border: 0; }
.processing { padding: 40px; text-align: center; color: var(--muted); font-weight: 600; }

.done-card { max-width: 640px; margin: 24px auto; text-align: center; }
.done-card .kv { text-align: left; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 16px; }

.tablecard { padding: 0; overflow-x: auto; }
table.admin { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.admin th, table.admin td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.admin th { background: #f8f9fb; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.pill.paid { background: #e3f3e8; color: var(--ok); } .pill.open, .pill.zl { background: var(--gold-soft); color: #8a6420; }
.pill.review { background: #e8eefc; color: #2a4fa8; } .pill.locked { background: #fdecea; color: var(--err); } .pill.cancelled { background: #eef0f3; color: var(--muted); }

/* signed copy */
body.print { background: #e9ecef; }
.paper { background: #fff; max-width: 820px; margin: 30px auto; padding: 50px 60px; font-size: .95rem; }
.sigtable { border-collapse: collapse; width: 100%; } .sigtable th, .sigtable td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.sigtable th { width: 140px; background: #f8f9fb; }
.sigimg { max-width: 320px; height: auto; }
.audit { font-size: .75rem; color: var(--muted); margin-top: 20px; word-break: break-all; }
@media print { body.print { background: #fff; } .paper { margin: 0; padding: 0; } .no-print { display: none; } }

@media (max-width: 560px) { .total { margin: 0 -20px -20px; padding: 16px 20px; } }

/* ---- v2: payment methods ---- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.desc { color: var(--muted); font-size: .95rem; margin: -6px 0 16px; }
.methods { display: grid; gap: 10px; margin-bottom: 18px; }
.method { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; cursor: pointer; font-weight: 400; }
.method:hover { border-color: #b9c3cf; }
.method.sel { border-color: var(--navy); background: #f5f8fc; box-shadow: 0 0 0 3px rgba(31,58,95,.08); }
.method input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.m-body { flex: 1; display: flex; flex-direction: column; }
.m-name { font-weight: 700; color: var(--navy-dark); }
.m-note { font-size: .85rem; color: var(--muted); }
.m-total { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy-dark); white-space: nowrap; }
.panel { border-top: 1px dashed var(--line); padding-top: 18px; }
.zelle { background: #f7f4fb; border: 1px solid #e4dcf0; border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; }
.zelle .eyebrow { color: #6d1ed4; }
.kv.tight { grid-template-columns: 90px 1fr; margin: 8px 0 10px; }
.ok-msg { color: var(--ok); font-weight: 600; }
.breakdown { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: .95rem; }
.breakdown td { padding: 6px 0; border-bottom: 1px solid #f0f2f5; } .breakdown td:last-child { text-align: right; }
.breakdown .t td { font-weight: 700; border-bottom: 0; color: var(--navy-dark); }
.btn.primary + .btn.primary { margin-top: 10px; }
.panel .check { margin: 12px 0 16px; }
textarea { font: inherit; resize: vertical; }
select { appearance: auto; }

/* ---- invoice ---- */
.invoice .inv-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--navy); padding-bottom: 16px; margin-bottom: 20px; }
.invoice .inv-head h2 { margin: 8px 0 0; } .invoice .inv-head h1 { margin: 0; letter-spacing: .08em; color: var(--navy); }
.invoice .right { text-align: right; }
table.lines { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.lines th, table.lines td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.lines th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.lines tfoot td { font-weight: 700; font-size: 1.1rem; border-bottom: 0; border-top: 2px solid var(--navy); }
.r { text-align: right !important; } .nowrap { white-space: nowrap; }

/* ---- admin ---- */
.anav { display: flex; gap: 4px; flex-wrap: wrap; }
.anav a { color: #dfe6ef; text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: .9rem; }
.anav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-body header.site .wrap { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.admin h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.tile span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.tile strong { font-family: var(--serif); font-size: 1.8rem; color: var(--navy-dark); }
.tile em { font-style: normal; color: var(--muted); font-size: .85rem; }
.tile.hl { border-color: var(--gold); background: var(--gold-soft); }
.actions { margin: 20px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.btn.primary-inline { background: var(--navy); color: #fff; }
.btn.danger { border-color: var(--err); color: var(--err); }
.btn { padding: 10px 16px; font-size: .95rem; }
table.admin-t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.admin-t th, table.admin-t td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.admin-t th { background: #f8f9fb; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (min-width: 561px) { table.plan-t td:nth-child(-n+3) { white-space: nowrap; } }
table.admin-t tr.dim td { opacity: .55; }
.warn-text { color: var(--err); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.tabs a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: .88rem; }
.tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .row3 { grid-template-columns: 1fr; } }
form.inline { display: inline; } .stack > * + * { margin-top: 4px; }
.card h3 { margin-top: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.searchbar { display: flex; gap: 8px; margin-bottom: 14px; max-width: 520px; } .searchbar input { margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 14px; }
legend { font-weight: 700; color: var(--navy-dark); padding: 0 6px; }
.indent { margin-left: 28px; }
.notice.warn { background: #fdecea; border-left-color: var(--err); }
.notice.flash { background: #e3f3e8; border-left-color: var(--ok); word-break: break-all; }
label span.muted.small { display: block; font-weight: 400; margin-top: 4px; }
.toggle { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; cursor: pointer; margin: 14px 0; }
.toggle input { position: absolute; opacity: 0; }
.toggle .sw { flex: none; width: 44px; height: 24px; border-radius: 99px; background: #c9d1db; position: relative; transition: .2s; margin-top: 2px; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + .sw { background: var(--ok); } .toggle input:checked + .sw::after { left: 23px; }
.toggle input:focus-visible + .sw { outline: 3px solid rgba(200,150,62,.5); }
ul.plain { list-style: none; padding: 0; } ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.admin > .notice:first-child { margin-top: 20px; }
.pill { white-space: nowrap; }

/* ---- v3: per-link options, tags, refunds ---- */
.chip { display: inline-block; background: #eef2f8; color: var(--navy); border-radius: 99px; padding: 2px 10px; font-size: .78rem; font-weight: 600; text-decoration: none; margin: 2px 2px 0 0; }
.btn.sm { padding: 6px 10px; font-size: .82rem; }
.linkbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.linkbox code { font-size: .9rem; flex: 1; min-width: 200px; word-break: break-all; }
.mtable { width: 100%; border-collapse: collapse; } .mtable td { padding: 8px 6px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.mtable .check { margin: 0; }
.pct { display: inline-flex; align-items: center; gap: 4px; } .pct input { width: 70px; margin: 0; padding: 7px 8px; text-align: right; }
.money-input { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .money-input span { font-size: 1.3rem; color: var(--muted); }
.money-input input { margin: 0; font-size: 1.3rem; font-family: var(--serif); max-width: 240px; }
.small-eyebrow { margin-top: 4px; }
.paylist { list-style: none; padding: 0; margin: 4px 0 16px; font-size: .92rem; } .paylist li { padding: 3px 0; }
.refundform { display: flex; gap: 4px; flex-wrap: wrap; } .refundform input { width: 90px; margin: 0; padding: 6px 8px; font-size: .82rem; }
.refundform input[name=reason] { width: 130px; }
.danger-zone { margin-top: 18px; }
.linkform fieldset .row { margin-top: 4px; }

/* ---- v4: dashboard tiles, filters, agreement editor, card on file ---- */
.dash-head h1 { margin-bottom: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.filters label { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.filters select, .filters input { margin-top: 4px; padding: 8px 10px; min-width: 150px; }
.filters .custom { display: inline-flex; gap: 8px; align-items: flex-end; }
.filters .custom[hidden] { display: none; }
.krow { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.ktile { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 20px 16px; min-width: 150px; text-align: center; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(20,35,58,.05); display: flex; flex-direction: column; gap: 10px; }
.ktile span { font-size: .72rem; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid #f0f2f5; padding-bottom: 8px; white-space: nowrap; }
.ktile strong { font-size: 1.45rem; font-weight: 500; color: var(--ink); font-family: var(--sans); }
a.ktile:hover { border-color: var(--navy); }
.ktile.on { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(31,58,95,.15); }
.ktile.big strong { font-weight: 700; color: var(--navy-dark); }
.ktile.red strong { color: #d0021b; }
.sm-h { font-size: 1rem !important; margin: 18px 0 10px !important; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--sans); }
.onfile { margin-bottom: 20px; } .onfile .charge { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.5; }
.editor .help code { background: #f3f5f8; padding: 1px 5px; border-radius: 4px; font-size: .82rem; }
.agreement.preview { height: auto; max-height: 600px; }
.savecard { background: #f5f8fc; border-radius: 8px; padding: 10px 12px; }
.agreement section + section { border-top: 1px dashed var(--line); margin-top: 12px; }
textarea, select, input { font-weight: 400; }
.help h3 + table { margin-bottom: 18px; } .help h3 { margin-top: 14px; }

/* ---- v5: search, employees ---- */
.hsearch { flex: 1 1 260px; max-width: 420px; order: 3; }
.hsearch input { width: 100%; margin: 0; padding: 8px 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.hsearch input::placeholder { color: #b8c4d4; }
.hsearch input:focus { background: #fff; color: var(--ink); outline: none; }
.ktile em { font-style: normal; font-size: .75rem; color: var(--muted); margin-top: -6px; }
a.ktile { cursor: pointer; } a.ktile:hover strong { color: var(--navy); }
.inline-edit { display: inline-block; vertical-align: top; } .inline-edit summary { list-style: none; cursor: pointer; display: inline-block; }
.inline-edit summary::-webkit-details-marker { display: none; }
.inline-edit[open] > .pop form { position: static; box-shadow: none; border: 0; padding: 0; width: auto; margin-bottom: 12px; }
.inline-edit[open] > form, .inline-edit[open] > .pop { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; box-shadow: 0 8px 24px rgba(20,35,58,.15); width: 280px; right: 40px; }
.tablecard { position: relative; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }

/* ---- v6: sign-in, 2FA, security ---- */
.login-body .card.narrow { margin-top: 48px; }
.steps { padding-left: 20px; } .steps li { margin-bottom: 12px; }
.qr { background: #fff; display: inline-block; padding: 8px; border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; width: 200px; }
.qr svg { display: block; width: 100%; height: auto; }
code.secret { background: #f3f5f8; padding: 2px 6px; border-radius: 4px; font-size: .9rem; letter-spacing: .05em; }
.otp-big { font-size: 1.6rem !important; letter-spacing: .3em; text-align: center; max-width: 220px; font-family: ui-monospace, monospace; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.codes code { background: #f3f5f8; padding: 8px 10px; border-radius: 6px; font-size: 1.05rem; text-align: center; letter-spacing: .05em; }
.otp-field { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #8a6420; background: var(--gold-soft); border-radius: 6px; padding: 4px 8px; margin: 6px 6px 6px 0; }
.otp-field input { width: 90px; margin: 0; padding: 6px 8px; font-family: ui-monospace, monospace; letter-spacing: .1em; }
.signout { order: 2; margin-left: auto; } .signout .link { color: #dfe6ef; font-size: .85rem; }
.hl-row td { background: #fffaf0; }
@media print { .admin-body header, .login-body header { display: none; } }
.admin-t td { overflow-wrap: break-word; word-break: normal; }
.admin-t td.nowrap, .admin-t th { white-space: nowrap; }
.admin-t td.ua { max-width: 260px; }
.admin-body .wrap { max-width: 1240px; }
.card { min-width: 0; }
.whoami { color: #b8c4d4; font-size: .82rem; margin-right: 6px; }
.method.off { opacity: .45; } .planchoice { margin-bottom: 8px; } .planchoice .methods { margin-bottom: 12px; }
.admin-t td.detail { overflow-wrap: anywhere; min-width: 260px; }
.grid2 > *, .grid > *, .grid3 > * { min-width: 0; }
.grid2.wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 900px) { .grid2.wide-left { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .admin-t th, .admin-t td { padding: 8px; } }
.admin-t td.for { min-width: 170px; }
.contact-cols > form.card { max-width: 640px; margin-top: 28px; }
