/* Lee's Mobile Repair — grainy olive hero, Fraunces caps + one italic word, pill buttons, paper sections. */
:root {
  --forest-deep: #1E2814;
  --forest: #2D3A1F;
  --sage: #4A553D;
  --sand: #CDBE92;
  --khaki: #B8A678;
  --sage-tag: #69715B;
  --bone: #E8E2D0;
  --accent: #4A553D;
  --paper: #F4F1E8;
  --card: #FBF9F3;
  --ink: #2D3A1F;
  --muted: #5A6150;
  --rule: #DADACE;
  --field: #D0CDB9;
  --danger: #8A2B2B;
  --danger-bg: #F7E3E0;

  --font-sans: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-weight: 400; font-size: 16px; line-height: 1.6; }
body::after { content: ""; position: fixed; inset: 0; background-image: var(--grain); opacity: 0.18; mix-blend-mode: multiply; pointer-events: none; z-index: 50; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
img { max-width: 100%; }
a { color: var(--forest); }
button { font: inherit; }
button:not(:disabled), a { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--sand); }

.skip-link { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 16px; left: 16px; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; padding: 10px 14px; background: var(--card); color: var(--forest); z-index: 60; border-radius: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

.caps { font-family: var(--font-serif); font-weight: 700; text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.98; font-variation-settings: "SOFT" 30, "WONK" 0; }
.marker, .ex-note, .promise, .steps .n, .hint, .count { font-family: var(--font-serif); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.marker { font-weight: 400; text-transform: none; letter-spacing: -0.01em; }

/* ---------- dark band (header + hero, footer) ---------- */
.dark { position: relative; color: #fff; background:
  radial-gradient(120% 70% at 50% 0%, #3B4A29 0%, transparent 60%),
  linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 55%, var(--sage) 100%);
  overflow: hidden; }
.dark::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.dark > * { position: relative; z-index: 1; }
.top-thin { background: linear-gradient(180deg, var(--forest-deep), var(--forest)); }

.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 18px; text-decoration: none; justify-self: start; }
.patch { display: inline-block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper) url("../assets/lees-logo.png") no-repeat 3% 42% / 250% auto; border: 2px solid var(--khaki); }
.patch.sm { width: 28px; height: 28px; border-width: 1.5px; }
.site-nav { display: flex; gap: 32px; }
.navlink { color: rgba(255,255,255,0.82); font-size: 15px; padding: 4px 0; text-decoration: none; border-bottom: 1.5px solid transparent; }
.navlink:hover { color: #fff; }
.navlink[aria-current="page"] { color: #fff; border-bottom-color: var(--sand); }
.pill.header-cta { justify-self: end; min-height: 34px; padding: 0 14px; font-size: 14px; background: rgba(255,255,255,0.84); }
.pill.header-cta:hover:not(:disabled) { background: #fff; }
@media (max-width: 640px) {
  header.site-header .wrap { grid-template-columns: auto 1fr; column-gap: 16px; padding-block: 16px; }
  header.site-header .brand { justify-self: start; }
  .site-header .patch { width: 44px; height: 44px; }
  .pill.header-cta { display: none; }
  header.site-header .site-nav { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 22px; }
  .site-header .navlink { font-size: 14px; }
}

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 150ms ease, background-color 150ms ease, color 150ms ease; }
.pill:hover:not(:disabled) { transform: translateY(-1px); }
.pill:active:not(:disabled) { transform: translateY(0); }
.pill:disabled { opacity: 0.6; cursor: not-allowed; }
.pill-white { background: #fff; color: var(--ink); }
.pill-glass { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill-glass:hover:not(:disabled) { background: rgba(255,255,255,0.22); }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark:hover:not(:disabled) { background: var(--accent); }
.pill-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.pill-block { width: 100%; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 56px; }
.trust { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); font-size: 15px; color: rgba(255,255,255,0.88); }
.trust b { color: #fff; font-weight: 600; }
.trust .bar { width: 1px; height: 18px; background: rgba(255,255,255,0.3); }
/* trust pill: drops in, the patch "drives" in, then "we come to you" is typed */
.trust { position: relative; overflow: hidden; animation: trust-in 700ms cubic-bezier(.2,.8,.2,1) both; }
.trust .patch { animation: patch-drive 900ms cubic-bezier(.3,1.4,.5,1) 250ms both; }
.trust > span:last-child { animation: trust-text 600ms ease 550ms both; }
@keyframes trust-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes patch-drive { 0% { opacity: 0; transform: translateX(-40px) rotate(-200deg); } 70% { opacity: 1; transform: translateX(3px) rotate(8deg); } 100% { transform: none; } }
@keyframes trust-text { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .trust, .trust .patch, .trust > span:last-child { animation: none; } }

.headline-box { position: relative; display: inline-block; margin: 28px auto 0; }
.headline { font-size: clamp(44px, 8.2vw, 104px); color: #fff; }
.headline .line { display: block; }
.headline .marker { color: var(--sand); font-size: 1.06em; }


.sub { max-width: 46ch; margin: 24px auto 0; font-size: 19px; font-weight: 300; color: rgba(255,255,255,0.9); }
.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.window { max-width: 980px; margin: 64px auto -70px; background: var(--card); color: var(--ink); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.25); text-align: left; overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bone); border-bottom: 1px solid var(--rule); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: #EC6A5E; } .dots i:nth-child(2) { background: #F4BF4F; } .dots i:nth-child(3) { background: #61C554; }
.url { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font-size: 13px; color: var(--muted); background: #fff; border-radius: 8px; padding: 5px 12px; }
.win-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 24px 28px 96px; }
.ex-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.ex-title { font-weight: 800; font-size: 20px; text-transform: uppercase; margin-bottom: 14px; }
.ex-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; margin: 0; }
.ex-fields dt { font-size: 12px; color: var(--muted); }
.ex-fields dd { margin: 0; font-weight: 600; font-size: 15px; }
.ex-side { border-left: 1px dashed var(--field); padding-left: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sage-tag); }
.ex-note { color: var(--accent); font-size: 20px; line-height: 1.2; }

/* playable quote demo in the window */
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.demo-top .ex-tag { margin-bottom: 0; }
.demo-play { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--bone); border: 1px solid var(--field); border-radius: 999px; min-height: 36px; padding: 0 16px; cursor: pointer; }
.demo-play:hover { background: var(--sand); }
.demo-form .ex-title { margin-top: 10px; }
.demo-field { display: block; border: 1px solid var(--field); border-radius: 10px; padding: 7px 12px; margin-bottom: 10px; background: #fff; transition: border-color 200ms ease, box-shadow 200ms ease; }
.demo-field .dl { display: block; font-size: 12px; color: var(--muted); }
.demo-field .dv { display: block; min-height: 1.4em; font-weight: 600; font-size: 15px; }
.demo-field.is-active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,166,120,0.35); }
.demo-field.is-active .dv::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: demo-caret 0.8s steps(1) infinite; }
@keyframes demo-caret { 50% { opacity: 0; } }
.demo-send { display: flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 4px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; transition: transform 120ms ease, background-color 150ms ease; }
.demo-send.is-pressed { transform: scale(0.96); background: var(--accent); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: ds; }
.demo-steps li { counter-increment: ds; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); transition: color 200ms ease; }
.demo-steps li::before { content: counter(ds); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--field); font-size: 12px; font-weight: 600; transition: background-color 200ms ease, color 200ms ease; }
.demo-steps li.is-on { color: var(--ink); font-weight: 600; }
.demo-steps li.is-on::before { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.demo-steps li.is-done::before { content: "\2713"; background: var(--khaki); border-color: var(--khaki); color: var(--ink); }
.demo-quote { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--forest); color: var(--paper); opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 350ms ease, transform 350ms ease; }
.demo-quote.is-in { opacity: 1; transform: none; }
.demo-quote .status { color: var(--sand); font-size: 13px; }
.demo-quote .status::before { background: var(--sand); }
.dq-line { font-size: 15px; }
.dq-price { font-family: var(--font-serif); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 40px; line-height: 1.05; color: var(--sand); }
.dq-est { font-family: var(--font-sans); font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244,241,232,0.85); vertical-align: middle; margin-left: 4px; }
.dq-sub { font-size: 13px; color: rgba(244,241,232,0.85); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .demo-quote, .demo-field, .demo-send, .demo-steps li, .demo-steps li::before { transition: none; } .demo-field.is-active .dv::after { animation: none; } }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 5.2vw, 58px); color: var(--ink); }
.sec-head h2 .marker { color: var(--accent); }
.sec-head p { color: var(--muted); margin: 14px auto 0; max-width: 48ch; font-size: 18px; font-weight: 300; }

.services { background: var(--bone); }
.svc { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.svc-card { border-radius: 18px; padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; transition: transform 150ms ease, box-shadow 150ms ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30,40,20,0.18); }
.svc-card h3 { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.05; letter-spacing: -0.01em; }
.fill-khaki { background: var(--khaki); color: var(--ink); }
.fill-sage { background: var(--sage); color: var(--paper); }
.fill-forest { background: var(--forest); color: var(--paper); }
.fill-forest h3 { color: var(--sand); }
.tag-khaki { background: var(--khaki); color: var(--ink); }
.tag-sage { background: var(--sage-tag); color: var(--paper); }
.tag-bone { background: var(--bone); color: var(--ink); }
.promise { max-width: 640px; margin: 56px auto 0; text-align: center; }
.promise blockquote { margin: 0; color: var(--ink); font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; }
.promise blockquote::before { content: "\201C"; display: block; font-size: 2.4em; line-height: 0.6; color: var(--khaki); font-style: normal; margin-bottom: 8px; }
.promise figcaption { margin-top: 14px; font-family: var(--font-sans); font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.promise figcaption::before { content: "\2014\00A0"; }

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps li + li::before { content: ""; position: absolute; top: 36px; right: calc(50% + 44px); width: calc(100% - 64px); border-top: 2px dashed var(--khaki); }
.step-icon { position: relative; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--forest); color: var(--sand); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(30,40,20,0.18); }
.step-icon svg { width: 32px; height: 32px; }
.step-num { position: absolute; top: -4px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--khaki); color: var(--ink); border: 3px solid var(--paper); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.steps h3 { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 23px; line-height: 1.15; }
.steps p { margin: 8px auto 0; color: var(--muted); font-size: 15.5px; max-width: 26ch; }

.closing { text-align: center; }
.closing .sec-head { margin-bottom: 28px; }
.row-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.phone { font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; align-self: center; }
.phone:hover { color: var(--forest); }

/* ---------- inner pages ---------- */
.page-head { text-align: center; padding-block: 64px 32px; }
.page-head h1 { font-size: clamp(36px, 6vw, 68px); }
.page-head h1 .marker { color: var(--accent); }
.page-head p { color: var(--muted); margin: 14px auto 0; max-width: 46ch; font-size: 18px; font-weight: 300; }

.ticket { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 32px; max-width: 620px; margin: 0 auto 88px; box-shadow: 0 20px 50px rgba(45,58,31,0.07); }
.ticket.narrow { max-width: 420px; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed var(--field); padding-bottom: 14px; margin-bottom: 24px; }
.ticket-top .label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.ticket-top .req { font-size: 13px; color: var(--muted); }
.row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
label { font-size: 14px; font-weight: 600; }
.required-mark { font-family: Arial, sans-serif; font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 12px; padding: 11px 14px; min-height: 48px; width: 100%; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
textarea { min-height: 110px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; font-size: 13px; color: var(--danger); }
.form-note { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.error-summary { background: var(--danger-bg); color: var(--danger); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.error-summary h2 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.error-summary ul { margin: 0; padding-left: 18px; font-size: 14px; }
.error-summary a { color: var(--danger); }
.done { text-align: center; padding-block: 16px; }
.done h2 { font-size: 40px; }
.done p { color: var(--muted); margin: 8px 0 0; }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--forest); font-weight: 600; font-size: 14px; padding: 8px 10px; }
.error-msg { background: var(--danger-bg); color: var(--danger); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.hint { font-size: 20px; color: var(--accent); margin: 18px 0 0; text-align: center; }

.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-block: 64px 12px; }
.dash-head h1 { font-size: clamp(32px, 5vw, 56px); }
.dash-head h1 .marker { color: var(--accent); }
.count { font-size: 22px; color: var(--accent); }
.table-scroll { position: relative; overflow-x: auto; margin-bottom: 88px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
td { padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td.col-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { color: var(--muted); padding-block: 24px 88px; }

/* ---------- footer ---------- */
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 14px; color: rgba(255,255,255,0.8); }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
@media (max-width: 600px) {
  .site-footer .wrap { font-size: 13px; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; width: 100%; font-size: 12.5px; }
}

@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: 1fr auto; row-gap: 12px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 22px; }
  .navlink.home-link { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .ex-side { border-left: none; padding-left: 0; border-top: 1px dashed var(--field); padding-top: 16px; }
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 460px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; align-items: center; padding: 0; }
  .steps li .step-icon { grid-row: span 2; margin: 0; }
  .steps li h3 { align-self: end; }
  .steps li p { align-self: start; margin: 6px 0 0; }
  .steps li + li::before { top: -28px; left: 35px; right: auto; width: 0; height: 28px; border-top: 0; border-left: 2px dashed var(--khaki); }
  .svc { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  .hero { padding-top: 36px; }
  .headline-box { display: block; }
  .sub { font-size: 17px; }
  .window { margin-top: 44px; }
  .win-body { padding: 18px 18px 90px; }
  .ex-fields { grid-template-columns: 1fr; }
  .svc { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .svc a.svc-card, .svc button.svc-card { min-height: 112px; padding: 16px; gap: 12px; border-radius: 14px; }
  .svc .svc-card h3 { font-size: 19px; line-height: 1.1; overflow-wrap: anywhere; }
  .svc .svc-more { font-size: 12.5px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .ticket { padding: 22px; }
  .section { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) { .pill, .svc-card { transition: none; } .pill:hover:not(:disabled), .svc-card:hover { transform: none; } }

/* service cards link to the services page */
.svc > li { display: flex; min-width: 0; }
a.svc-card, button.svc-card { flex: 1; text-decoration: none; text-align: left; border: 0; font: inherit; cursor: pointer; min-height: 180px; }
.svc-more { font-size: 14px; font-weight: 600; opacity: 0.85; }
.svc-card:hover .svc-more, .svc-card:focus-visible .svc-more { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.fill-khaki .svc-more, .fill-khaki h3 { color: var(--ink); }
.fill-sage h3, .fill-sage .svc-more, .fill-forest .svc-more { color: var(--paper); }

/* services detail page */
.svc-details { display: grid; gap: 28px; max-width: 900px; margin: 0 auto 88px; }
.svc-detail { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; scroll-margin-top: 24px; }
.svc-detail-head { padding: 28px 32px; }
.svc-detail-head h2 { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; }
.svc-detail-head p { margin: 8px 0 0; font-size: 17px; }
.svc-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding: 28px 32px 8px; }
.svc-detail-body h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.svc-detail-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.svc-detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 32px 28px; }
.svc-detail-foot p { margin: 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
@media (max-width: 640px) { .svc-detail-body { grid-template-columns: 1fr; } .svc-detail-head, .svc-detail-body, .svc-detail-foot { padding-inline: 22px; } }

/* legal page */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-serif); font-size: 24px; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; line-height: 1.65; }
.legal-note { background: var(--bone); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* ---------- uploads ---------- */
.field-help { margin: 0; font-size: 13px; color: var(--muted); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 16px; border: 1.5px dashed var(--field); border-radius: 14px; background: #fff; cursor: pointer; text-align: center; transition: border-color 150ms ease, background-color 150ms ease; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--ink); background: var(--card); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.dz-main { font-weight: 600; font-size: 15px; }
.dz-sub { font-size: 13px; color: var(--muted); font-weight: 400; }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.file-item.is-error { border-color: var(--danger); background: var(--danger-bg); }
.fi-thumb { flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--bone); display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.fi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fi-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fi-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-sub { font-size: 12px; color: var(--muted); }
.is-error .fi-sub { color: var(--danger); }
.is-done .fi-sub { color: var(--sage); font-weight: 600; }
.fi-bar { height: 4px; border-radius: 4px; background: var(--bone); overflow: hidden; }
.fi-bar span { display: block; height: 100%; background: var(--sage); transition: width 150ms linear; }
.fi-remove, .link-btn { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn.danger, .fi-remove { color: var(--danger); }

/* private link box after submitting */
.private-link { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--bone); text-align: left; display: grid; gap: 10px; }
.pl-title { margin: 0; font-weight: 700; font-size: 17px; color: var(--ink) !important; }
.pl-sub { margin: 0 !important; font-size: 14px; }
.pl-row { display: flex; gap: 8px; }
.pl-row input { flex: 1; min-width: 0; font-size: 14px; background: #fff; }
.upload-warn { margin-top: 14px !important; color: var(--danger) !important; font-size: 14px; }

/* ---------- customer request page ---------- */
.req-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.req-grid .ticket { margin: 0; max-width: none; }
.req-wide { grid-column: 1 / -1; }
.req-h { margin: 0 0 16px; font-family: var(--font-serif); font-size: 24px; font-weight: 700; }
.req-dl { margin: 0; display: grid; gap: 12px; }
.req-dl dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.req-dl dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.est-amount { margin: 0; font-family: var(--font-serif); font-size: 48px; font-weight: 700; line-height: 1; }
.est-note { margin: 12px 0; white-space: pre-wrap; }
.est-wait { margin: 0; color: var(--muted); }
.est-view { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; }
.est-view td, .est-view th { padding: 8px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.est-view tfoot th, .est-view tfoot td { border-bottom: 0; font-weight: 700; font-size: 18px; padding-top: 12px; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.media-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.media-item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bone); }
.media-item a, .media-item img, .media-item video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-file { display: grid !important; place-items: center; padding: 8px; font-size: 13px; text-align: center; overflow-wrap: anywhere; color: var(--ink); }
.req-private { text-align: center; margin: 24px 0 88px; }
.req-error-text { margin: 0; text-align: center; }
#uploadBtn { margin-top: 12px; }

/* timeline (customer page and portal) */
.timeline { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.tl { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--rule); max-width: 85%; }
.tl-head { font-size: 12px; color: var(--muted); font-weight: 600; }
.tl-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.tl-message.tl-lee { background: var(--forest); color: var(--paper); border-color: var(--forest); justify-self: end; }
.tl-message.tl-lee .tl-head { color: rgba(244,241,232,0.8); }
.tl-update { background: var(--bone); border-color: var(--bone); max-width: 100%; }
.tl-status { background: none; border: 0; border-left: 3px solid var(--khaki); border-radius: 0; padding: 2px 12px; max-width: 100%; }
.tl-status .tl-body { font-size: 14px; font-weight: 600; }
.tl-empty { color: var(--muted); font-size: 14px; }
#msgForm, #postForm { display: grid; gap: 10px; justify-items: start; }
#msgForm textarea, #postForm textarea { width: 100%; min-height: 90px; }

/* ---------- portal ---------- */
.dash-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.tab { padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; }
.tab-panel { margin-bottom: 88px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { display: grid; gap: 4px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
a.stat:hover { border-color: var(--ink); }
.stat-value { font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 14px; font-weight: 600; }
.required-mark { font-family: Arial, sans-serif; font-weight: 400; }
.stat-sub { font-size: 13px; color: var(--muted); }
.stats .stat:first-child { background: var(--khaki); border-color: var(--khaki); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ticket.panel { margin: 0 0 20px; max-width: none; padding: 24px; }
.panel-grid .ticket.panel { margin: 0; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li + li { border-top: 1px solid var(--rule); }
.mini-list a { display: grid; gap: 2px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.mini-list a:hover .mini-main { text-decoration: underline; }
.mini-main { font-weight: 600; font-size: 15px; }
.mini-sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-empty { color: var(--muted); padding: 8px 0; }
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.list-tools select { width: auto; }
.list-tools input[type="search"] { width: auto; flex: 1; min-width: 200px; max-width: 360px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-new { background: var(--khaki); color: var(--ink); }
.badge-estimated { background: var(--bone); color: var(--ink); }
.badge-scheduled { background: var(--sage); color: var(--paper); }
.badge-done { background: transparent; color: var(--muted); border: 1px solid var(--rule); }
tr.has-unread td { font-weight: 600; }
.dot-unread { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); margin-left: 6px; vertical-align: middle; }
.threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.thread a { display: grid; gap: 4px; padding: 16px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.thread a:hover { border-color: var(--ink); }
.thread.is-unread a { border-left: 4px solid var(--danger); }
.thread-top { display: flex; justify-content: space-between; gap: 12px; }
.thread-name { font-weight: 700; }
.thread-time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.thread-body { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread .tab-badge { justify-self: start; }
.price-table { min-width: 720px; }
.price-table td.muted { color: var(--muted); }
.row-actions { white-space: nowrap; text-align: right; }
.price-form { margin: 24px 0 0; max-width: 720px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; margin: 4px 0 14px; }
.check input { width: 18px; height: 18px; min-height: 0; padding: 0; }
.check:has(input:disabled) { color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--field); border-radius: 999px; padding: 3px; gap: 2px; }
.seg label { padding: 6px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.job-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 20px; }
.job-title { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.job-meta { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.est-table { width: 100%; min-width: 0; margin-bottom: 12px; }
.est-table th, .est-table td { padding: 6px 6px 6px 0; border: 0; }
.est-table td input, .est-table td select { min-height: 40px; padding: 8px 10px; font-size: 15px; }
.est-table td:nth-child(2) { width: 110px; }
.est-table td:nth-child(3) { width: 110px; }
.est-table td:nth-child(4) { width: 64px; }
.est-table tfoot th, .est-table tfoot td { font-size: 18px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--ink); }
.est-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.est-add select { width: auto; flex: 1; min-width: 200px; }
.job-saved { margin: 10px 0 0; color: var(--sage); font-weight: 600; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid, .job-grid, .req-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .three { grid-template-columns: 1fr; }
  .tl { max-width: 100%; }
  .est-table thead { display: none; }
  .est-table tbody tr { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 10px; }
  .est-table tbody td:first-child { grid-column: 1 / -1; }
  .est-table td { width: auto !important; padding: 0; }
  .est-table tfoot tr { display: flex; justify-content: space-between; }
}

/* ---------- log in ---------- */
.login-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; max-width: 920px; margin: 0 auto 88px; align-items: start; }
.login-grid .ticket { margin: 0; max-width: none; }
.login-card form { display: grid; }
.seg-wide { display: flex; width: 100%; margin-bottom: 20px; }
.seg-wide button { flex: 1; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; padding: 9px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.seg-wide button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.pw { position: relative; display: flex; }
.pw input { flex: 1; padding-right: 72px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); padding: 8px 10px; cursor: pointer; }
.forgot { justify-self: center; margin-top: 10px; color: var(--muted); font-weight: 600; }
.login-why { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--field); font-size: 14px; color: var(--muted); text-align: center; }
.ok-msg { color: var(--sage) !important; font-weight: 600; }
.login-owner { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.login-owner .req-h { color: var(--sand); }
.login-owner p { color: rgba(244,241,232,0.88); margin: 0 0 18px; }
.login-owner .owner-note { margin: 12px 0 0; font-size: 13px; }
.login-owner label { color: var(--paper); }
.login-owner form { margin-top: 12px; }

/* ---------- customer account ---------- */
.acct-hello { margin: 8px 0 0; color: var(--muted); }
.acct-section { margin: 28px 0 32px; }
.my-requests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.my-req { display: grid; gap: 6px; height: 100%; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color 150ms ease, transform 150ms ease; }
.my-req:hover { border-color: var(--ink); transform: translateY(-2px); }
.my-req-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.my-req-vehicle { font-family: var(--font-serif); font-size: 21px; font-weight: 700; line-height: 1.15; }
.my-req-issue { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.my-req-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.empty-card { margin: 0; max-width: none; text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty-card p { margin: 0; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 88px; }
.acct-grid .ticket.panel { margin: 0; }
.acct-banner { max-width: 980px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 14px; background: var(--bone); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; text-align: center; }
.acct-banner a { color: var(--ink); font-weight: 700; }

/* portal: clients */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head .req-h { margin: 0; }
.small-link { font-size: 14px; font-weight: 600; color: var(--ink); }
.table-scroll.flat { margin: 0; border: 0; border-radius: 0; background: none; }
td.strong { font-weight: 600; }
td.muted { color: var(--muted); }
#clientClose { margin-top: 14px; }

@media (max-width: 760px) {
  .login-grid, .acct-grid { grid-template-columns: 1fr; }
}

/* "How it works" entrance (only when JS adds .will-animate, so nothing hides without it).
   The hidden state applies instantly; transitions and delays only run on the way in. */
.steps.will-animate .step-icon { opacity: 0; transform: scale(0.6); }
.steps.will-animate h3, .steps.will-animate p { opacity: 0; transform: translateY(10px); }
.steps.will-animate li + li::before { transform: scaleX(0); transform-origin: left center; }
.steps.is-in .step-icon { opacity: 1; transform: none; transition: opacity 400ms ease, transform 500ms cubic-bezier(.3,1.5,.5,1); }
.steps.is-in h3, .steps.is-in p { opacity: 1; transform: none; transition: opacity 450ms ease, transform 450ms ease; }
.steps.is-in li + li::before { transform: scaleX(1); transition: transform 500ms ease; }
.steps.is-in li:nth-child(1) h3, .steps.is-in li:nth-child(1) p { transition-delay: 150ms; }
.steps.is-in li:nth-child(2)::before { transition-delay: 350ms; }
.steps.is-in li:nth-child(2) .step-icon { transition-delay: 750ms; }
.steps.is-in li:nth-child(2) h3, .steps.is-in li:nth-child(2) p { transition-delay: 900ms; }
.steps.is-in li:nth-child(3)::before { transition-delay: 1100ms; }
.steps.is-in li:nth-child(3) .step-icon { transition-delay: 1500ms; }
.steps.is-in li:nth-child(3) h3, .steps.is-in li:nth-child(3) p { transition-delay: 1650ms; }
.steps.is-in li:nth-child(4)::before { transition-delay: 1850ms; }
.steps.is-in li:nth-child(4) .step-icon { transition-delay: 2250ms; }
.steps.is-in li:nth-child(4) h3, .steps.is-in li:nth-child(4) p { transition-delay: 2400ms; }
.steps.is-in li:nth-child(4) .step-num { animation: step-done 600ms ease 2850ms both; }
@keyframes step-done { 0% { transform: scale(1); } 50% { transform: scale(1.35); background: var(--sand); } 100% { transform: scale(1); } }
@media (max-width: 860px) {
  .steps.will-animate li + li::before { transform: scaleY(0); transform-origin: center top; }
  .steps.is-in li + li::before { transform: scaleY(1); }
}

/* collapsible "Your details" on the account page */
.ticket.panel.acct-details { padding: 0; }
.acct-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; }
.acct-details summary::-webkit-details-marker { display: none; }
.acct-details summary .req-h { margin: 0; font-size: 20px; }
.acct-details summary::after { content: "Show"; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.acct-details[open] summary::after { content: "Hide"; }
.acct-details form { padding: 0 24px 24px; }

/* account page messages */
.acct-threads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.acct-thread { margin: 0; }
.thread-title { margin: 0; font-family: var(--font-serif); font-size: 20px; }
.thread-ref { font-size: 13px; color: var(--muted); font-weight: 600; }
.acct-thread .timeline { max-height: 320px; overflow-y: auto; }
.acct-reply { display: grid; gap: 8px; justify-items: start; }
.acct-reply textarea { width: 100%; min-height: 70px; }

/* account page: centered header */
.acct-head { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-block: 44px 8px; }
.acct-head .dash-tools { justify-content: center; }

.lee-contact { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding-top: 14px; font-size: 12.5px; color: var(--muted); }
.lee-contact .lc-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lee-contact a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; text-decoration: none; }
.lee-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lee-contact svg { width: 13px; height: 13px; fill: none; stroke: var(--sage-tag); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* account page tabs */
.acct-tabs { justify-content: center; margin: 28px 0 24px; }
.acct-tabs .tab { background: none; border: 0; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.acct-tabs .tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 12px; font-weight: 700; }
.tab-count:empty { display: none; }
.acct-panel { margin-bottom: 88px; }
.my-req.is-done { background: transparent; }

/* account page conversations: chat-style, your messages on the right */
.thread-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.thread-title { font-size: 22px; }
.thread-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.chat-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; max-height: 380px; overflow-y: auto; }
.chat { max-width: 82%; display: grid; gap: 4px; }
.chat-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.chat-meta strong { color: var(--ink); font-size: 14px; }
.chat-tag { padding: 1px 8px; border-radius: 999px; background: var(--khaki); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.chat-body { padding: 12px 16px; border-radius: 16px; font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-lee { align-self: flex-start; }
.chat-lee .chat-body { background: var(--forest); color: var(--paper); border-top-left-radius: 4px; }
.chat-lee.chat-update .chat-body { background: var(--bone); color: var(--ink); }
.chat-you { align-self: flex-end; }
.chat-you .chat-meta { justify-content: flex-end; }
.chat-you .chat-body { background: #fff; border: 1px solid var(--rule); border-top-right-radius: 4px; }
.chat-status { align-self: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 12px; border-radius: 999px; background: var(--bone); }

/* conversation card, messenger style (account page) */
.acct-threads { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.ticket.panel.acct-thread { padding: 0; overflow: hidden; border-radius: 22px; }
.acct-thread .thread-head { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 20px; border: 0; background: var(--forest); color: var(--paper); }
.acct-thread .thread-head .patch { width: 44px; height: 44px; }
.acct-thread .thread-titles { flex: 1; min-width: 0; }
.acct-thread .thread-title { color: var(--paper); font-size: 20px; }
.acct-thread .thread-sub { color: rgba(244,241,232,0.78); margin-top: 2px; }
.acct-thread .chat-list { margin: 0; padding: 22px 20px; max-height: 440px; background: #EFEBDF; }
.acct-thread .chat-you .chat-body { background: var(--khaki); border-color: var(--khaki); color: var(--ink); }
.acct-thread .chat-lee.chat-update .chat-body { background: #fff; border-left: 3px solid var(--khaki); }
.acct-thread .tl-empty { align-self: center; padding: 24px 0; }
.acct-thread .acct-reply { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--rule); background: var(--card); }
.acct-thread .acct-reply textarea { min-height: 48px; height: 48px; resize: vertical; border-radius: 14px; }
.acct-thread .acct-reply .error-msg { grid-column: 1 / -1; grid-row: 1; margin: 0; }
.acct-thread .acct-reply .pill { min-height: 48px; padding: 0 22px; }
@media (max-width: 640px) { .acct-thread .thread-head { flex-wrap: wrap; } .acct-thread .thread-head .pill { width: 100%; } }

.new-account { margin: 0 0 20px; max-width: 760px; }
.or-line { text-align: center; margin: 12px 0 8px; }
#addClient { margin-right: auto; }

/* simpler conversation header */
.acct-thread .thread-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 16px 20px; background: var(--card); color: var(--ink); border-bottom: 1px solid var(--rule); }
.acct-thread .thread-title { color: var(--ink); font-size: 20px; margin: 0; }
.acct-thread .thread-head .small-link { margin-left: auto; }
@media (max-width: 640px) { .acct-thread .thread-head .small-link { margin-left: 0; } }

/* customer pricing book */
.price-book { max-width: 760px; margin: 0 auto; }
.pb-group + .pb-group { margin-top: 24px; }
.pb-cat { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pb-list { list-style: none; margin: 0; padding: 0; }
.pb-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.pb-name { display: grid; gap: 2px; font-weight: 600; }
.pb-note { font-weight: 400; font-size: 14px; color: var(--muted); }
.pb-price { font-family: var(--font-serif); font-weight: 700; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.thread-status { font-size: 13px; font-weight: 600; color: var(--muted); }
.chat-time { font-size: 11.5px; opacity: 0.85; }
.acct-reply textarea, .acct-thread .acct-reply textarea, #msgBody { resize: none; overflow: hidden; }
.acct-thread .acct-reply textarea { height: auto; min-height: 48px; }
.acct-thread .chat-list { min-height: 380px; max-height: 600px; }
.acct-thread .thread-titles { display: grid; gap: 2px; }
.acct-thread .thread-status { font-size: 12px; }
.chat-meta .chat-time { font-size: 10.5px; opacity: 0.75; }
.login-grid.login-single { grid-template-columns: minmax(0, 1fr); max-width: 520px; }

/* Job progress steps (request page and job cards) */
.req-progress { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.req-next { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.steps-track { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; }
.steps-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps-track li + li::before { content: ""; position: absolute; top: 25px; right: 50%; width: 100%; border-top: 2px dashed var(--field); }
.steps-track li.is-done::before, .steps-track li.is-on::before { border-top-style: solid; border-color: var(--forest); }
.st-icon { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--field); color: #9A9C88; }
.st-icon svg { width: 24px; height: 24px; }
.steps-track li.is-done .st-icon { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.steps-track li.is-on .st-icon { background: var(--khaki); border-color: var(--khaki); color: var(--ink); animation: st-pulse 2.2s ease-out infinite; }
.steps-track li.is-on, .steps-track li.is-done { color: var(--ink); }
.st-short { display: none; }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(184,166,120,0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(184,166,120,0); } }
@media (prefers-reduced-motion: reduce) { .steps-track li.is-on .st-icon { animation: none; } }
@media (max-width: 640px) {
  .steps-track li { font-size: 12px; }
  .steps-track li + li::before { top: 20px; }
  .st-icon { width: 42px; height: 42px; }
  .st-icon svg { width: 20px; height: 20px; }
  .st-long { display: none; }
  .st-short { display: inline; }
}
/* Mini version on job cards: small icons, only the current step named */
.steps-track.is-mini { margin: 6px 0 0; max-width: none; }
.steps-track.is-mini li { font-size: 11.5px; gap: 5px; }
.steps-track.is-mini li + li::before { top: 13px; border-top-width: 2px; }
.steps-track.is-mini .st-icon { width: 28px; height: 28px; border-width: 1.5px; }
.steps-track.is-mini .st-icon svg { width: 14px; height: 14px; }
.steps-track.is-mini li:not(.is-on) .st-label { visibility: hidden; }
.steps-track.is-mini li.is-on .st-icon { animation: none; box-shadow: 0 0 0 3px rgba(184,166,120,0.35); }
.my-req.is-done .steps-track.is-mini li:last-child .st-label { visibility: visible; }

/* Smaller, simpler messages */
.chat-list { gap: 4px; }
.chat { max-width: 78%; gap: 3px; }
.chat-body { padding: 8px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.chat + .chat:not(.chat-lee + .chat-lee):not(.chat-you + .chat-you) { margin-top: 8px; }
.chat .chat-time { font-size: 10.5px; color: var(--muted); opacity: 0.8; padding: 0 4px; }
.chat-you .chat-time { text-align: right; }
.req-card .chat-list { max-height: 420px; }
.req-card .tl-empty { color: var(--muted); font-size: 14px; }

/* Request details, folded away until opened */
.ticket.req-fold { padding: 0; }
.req-fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-weight: 600; }
.req-fold summary::-webkit-details-marker { display: none; }
.fold-sub { font-weight: 400; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.req-fold summary::after { content: ""; margin-left: auto; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform 150ms ease; }
.req-fold[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.req-fold > :not(summary) { margin-inline: 22px; }
.req-fold[open] { padding-bottom: 22px; }
.chat-lee .chat-body, .chat-lee.chat-update .chat-body, .acct-thread .chat-lee.chat-update .chat-body { background: var(--bone); color: var(--ink); border: 0; }
.chat-you .chat-body, .acct-thread .chat-you .chat-body { background: var(--forest); color: var(--paper); border: 0; }
.acct-thread .chat-list { min-height: 0; max-height: 440px; padding: 16px; }
.req-card .acct-reply { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.req-card .acct-reply .error-msg { grid-column: 1 / -1; grid-row: 1; margin: 0; }
#msgForm textarea, .req-card .acct-reply textarea, .acct-thread .acct-reply textarea { min-height: 44px; height: 44px; padding: 10px 14px; font-size: 15px; border-radius: 14px; }
.req-card .acct-reply .pill, .acct-thread .acct-reply .pill { min-height: 44px; }

/* Account top bar: contact left, signed-in middle, actions right */
.acct-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 16px; padding-top: 14px; }
.acct-top .lee-contact { padding-top: 0; }
.acct-top .acct-hello { margin: 0; font-size: 12.5px; text-align: center; }
.acct-top .acct-hello:empty { display: none; }
.acct-top .dash-tools { justify-self: end; gap: 8px; }
.acct-top .pill-sm { min-height: 32px; padding: 0 13px; font-size: 13px; }
@media (max-width: 640px) {
  .acct-top { grid-template-columns: 1fr auto; }
  .acct-top .acct-hello { grid-column: 1 / -1; grid-row: 2; }
}

/* Smaller contact links, top left */
.acct-top .lee-contact { justify-self: start; font-size: 11.5px; gap: 2px 12px; }
.acct-top .lee-contact a { gap: 5px; }
.acct-top .lee-contact svg { width: 12px; height: 12px; }
@media (max-width: 640px) { .acct-top .lee-contact { flex-direction: column; align-items: flex-start; } }

/* Title first, then a tidy toolbar under it */
.acct-head { padding-block: 36px 14px; }
.acct-top { padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.acct-top .acct-hello:empty { display: block; visibility: hidden; }
.acct-tabs { margin-top: 22px; }
@media (max-width: 640px) {
  .acct-head { padding-block: 26px 10px; }
  .acct-top .acct-hello:empty { display: none; }
}

/* Header: title with who's signed in, then one toolbar (contact left, actions right) */
.acct-head { gap: 6px; padding-block: 36px 18px; }
.acct-head .acct-hello { margin: 0; font-size: 14px; min-height: 1.4em; }
.acct-top { grid-template-columns: 1fr auto; padding: 12px 0; }
.acct-top .lee-contact { flex-direction: row; align-items: center; font-size: 12.5px; gap: 4px 18px; }
.acct-top .lee-contact svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .acct-head { padding-block: 26px 14px; }
  .acct-top { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; padding: 14px 0; }
  .acct-top .lee-contact { flex-direction: row; justify-content: center; font-size: 12px; gap: 4px 16px; }
  .acct-top .dash-tools { justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .acct-top .pill-sm { min-height: 38px; justify-content: center; }
}

/* Toolbar: phone over email on the left, Sign out over New request on the right */
.acct-top, .acct-top .lee-contact, .acct-top .dash-tools { align-items: center; }
.acct-top .lee-contact { flex-direction: column; align-items: flex-start; justify-self: start; gap: 8px; }
.acct-top .dash-tools { display: grid; grid-template-columns: 1fr; justify-self: end; gap: 8px; }
.acct-top .dash-tools .pill { justify-content: center; }
@media (max-width: 640px) {
  .acct-top { grid-template-columns: 1fr auto; justify-items: stretch; gap: 12px; }
  .acct-top .lee-contact { flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
  .acct-top .dash-tools { justify-self: end; grid-template-columns: 1fr; min-width: 132px; }
}
.acct-top .lee-contact { gap: 8px; }
.acct-top .lee-contact a { min-height: 32px; }
@media (max-width: 640px) { .acct-top .lee-contact a { min-height: 38px; } }

/* Toolbar moved to the very top, compact */
.acct-top { padding: 8px 0; border-top: 0; margin-top: 10px; }
.acct-top .lee-contact { font-size: 11px; gap: 4px; }
.acct-top .lee-contact a { min-height: 26px; gap: 5px; }
.acct-top .lee-contact svg { width: 11px; height: 11px; }
.acct-top .dash-tools { gap: 4px; }
.acct-top .pill-sm { min-height: 26px; padding: 0 12px; font-size: 11.5px; }
.acct-head { padding-block: 22px 14px; }
@media (max-width: 640px) {
  .acct-top .lee-contact a { min-height: 28px; }
  .acct-top .pill-sm { min-height: 28px; }
  .acct-top .dash-tools { min-width: 108px; }
  .acct-head { padding-block: 18px 12px; }
}
/* No divider under the top bar; the title sits right under it */
.acct-top { border-bottom: 0; padding-bottom: 0; }
.acct-head { padding-block: 2px 12px; }
@media (max-width: 640px) { .acct-head { padding-block: 12px 10px; } }

/* Title sits in the top bar: contact | title | buttons. Smaller all round. */
.acct-top { grid-template-columns: 1fr auto 1fr; grid-template-areas: "contact title tools"; padding-top: 12px; }
.acct-top .lee-contact { grid-area: contact; }
.acct-top .acct-head { grid-area: title; padding: 0; gap: 2px; }
.acct-top .dash-tools { grid-area: tools; }
.acct-top .acct-head h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
.acct-top .acct-head .acct-hello { font-size: 12px; }
.acct-tabs { margin: 18px 0 20px; }
.acct-tabs .tab { font-size: 14px; padding: 9px 12px; }
.acct-tabs .tab-count { min-width: 19px; height: 19px; font-size: 11px; padding: 0 6px; }
@media (max-width: 640px) {
  .acct-top { grid-template-columns: 1fr auto; grid-template-areas: "title title" "contact tools"; gap: 10px 12px; }
  .acct-top .acct-head { padding: 0 0 4px; }
  .acct-top .acct-head h1 { font-size: 26px; }
  .acct-tabs { margin: 14px 0 18px; }
  .acct-tabs .tab { font-size: 13.5px; padding: 8px 10px; }
}
@media (max-width: 640px) {
  .acct-tabs { flex-wrap: nowrap; gap: 0; }
  .acct-tabs .tab { font-size: 12.5px; padding: 8px 7px; gap: 5px; }
}
@media (max-width: 380px) { .acct-tabs .tab { font-size: 11.5px; padding: 8px 4px; } }

/* New request leads the tab row */
.acct-tabbar { display: flex; align-items: center; justify-content: center; gap: 10px; border-bottom: 1px solid var(--rule); margin: 18px 0 20px; }
.acct-tabbar .acct-tabs { border-bottom: 0; margin: 0; }
.acct-tabbar .tab-new { flex: none; min-height: 30px; padding: 0 13px; font-size: 13px; gap: 4px; }
@media (max-width: 640px) {
  .acct-tabbar { gap: 6px; margin: 14px 0 18px; }
  .acct-tabbar .tab-new { width: 30px; min-height: 30px; padding: 0; justify-content: center; font-size: 18px; line-height: 1; }
  .tab-new-text, .tab-long { display: none; }
  .acct-tabbar .acct-tabs { justify-content: flex-start; min-width: 0; }
  .acct-tabbar .acct-tabs .tab { font-size: 13px; padding: 8px 7px; }
}
@media (max-width: 370px) { .acct-tabbar .acct-tabs .tab { font-size: 12px; padding: 8px 5px; } }
/* Heading pulled up close to the green header */
.acct-top { margin-top: 0; padding-top: 6px; align-items: start; }
.acct-top .acct-head { margin-top: -2px; }
@media (max-width: 640px) { .acct-top { padding-top: 10px; } .acct-top .lee-contact, .acct-top .dash-tools { align-self: center; } }

/* Tabs as soft pills: the open one is filled, hover is tinted; New request matches */
.acct-tabbar { gap: 4px; padding-bottom: 10px; }
.acct-tabbar .acct-tabs { gap: 4px; }
.acct-tabbar .tab { border: 0; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; margin: 0; transition: background-color 150ms ease, color 150ms ease; }
.acct-tabbar .tab:hover { background: var(--bone); color: var(--ink); }
.acct-tabbar .tab:focus-visible { outline: 2px solid var(--khaki); outline-offset: 2px; }
.acct-tabbar .tab[aria-selected="true"] { background: var(--forest); color: var(--paper); }
.acct-tabbar .tab[aria-selected="true"] .tab-count { background: var(--khaki); color: var(--ink); }
.acct-tabbar .tab-new { width: auto; min-height: 0; line-height: inherit; text-decoration: none; }
@media (max-width: 640px) {
  .acct-tabbar { gap: 2px; justify-content: center; }
  .acct-tabbar .acct-tabs { gap: 2px; }
  .acct-tabbar .tab, .acct-tabbar .acct-tabs .tab { font-size: 12.5px; padding: 6px 8px; }
  .acct-tabbar .tab-new { width: auto; min-height: 0; font-size: 12.5px; padding: 6px 8px; }
}
@media (max-width: 370px) { .acct-tabbar .tab, .acct-tabbar .acct-tabs .tab, .acct-tabbar .tab-new { font-size: 11.5px; padding: 6px 6px; } }
@media (max-width: 640px) {
  .acct-tabbar, .acct-tabbar .acct-tabs { gap: 0; }
  .acct-tabbar .tab, .acct-tabbar .acct-tabs .tab, .acct-tabbar .tab-new { font-size: 12px; padding: 6px 7px; gap: 4px; }
  .acct-tabbar .tab-count { min-width: 17px; height: 17px; font-size: 10.5px; padding: 0 5px; }
}
@media (max-width: 400px) { .acct-tabbar .tab, .acct-tabbar .acct-tabs .tab, .acct-tabbar .tab-new { font-size: 11.5px; padding: 6px 5px; } }
@media (max-width: 350px) { .acct-tabbar .tab, .acct-tabbar .acct-tabs .tab, .acct-tabbar .tab-new { font-size: 11px; padding: 5px 4px; } }

/* Tab bar, minimal: a "+ New" button, then one segmented track with equal tabs */
.acct-tabbar { display: flex; align-items: stretch; justify-content: center; gap: 8px; max-width: 680px; margin: 16px auto 22px; padding: 0; border: 0; }
.acct-tabbar .acct-tabs { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 3px; margin: 0; border: 0; border-radius: 999px; background: var(--bone); }
.acct-tabbar .acct-tabs .tab { justify-content: center; gap: 6px; min-width: 0; margin: 0; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.acct-tabbar .acct-tabs .tab:hover { color: var(--ink); background: rgba(255,255,255,0.45); }
.acct-tabbar .acct-tabs .tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(30,40,20,0.12), 0 2px 8px rgba(30,40,20,0.06); }
.acct-tabbar .acct-tabs .tab[aria-selected="true"] .tab-count { background: var(--forest); color: var(--paper); }
.acct-tabbar .tab-count { min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; background: rgba(45,58,31,0.1); }
.acct-tabbar .tab:focus-visible, .tab-new:focus-visible { outline: 2px solid var(--khaki); outline-offset: 2px; }
.tab-new { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 999px; background: var(--forest); color: var(--paper); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background-color 150ms ease; }
.tab-new:hover { background: var(--forest-deep); }
.tab-new-plus { font-size: 17px; line-height: 1; font-weight: 400; }
@media (max-width: 640px) {
  .acct-tabbar { gap: 6px; margin: 14px 0 18px; }
  .acct-tabbar .acct-tabs .tab { font-size: 12px; padding: 8px 4px; gap: 4px; }
  .acct-tabbar .tab-count { min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
  .tab-new { padding: 0; width: 38px; justify-content: center; }
  .tab-new > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tab-new-plus { font-size: 20px; }
}
@media (max-width: 360px) { .acct-tabbar .acct-tabs .tab { font-size: 11px; padding: 7px 2px; } }
.acct-top { padding-top: 14px; }
@media (max-width: 640px) { .acct-top { padding-top: 16px; } }
@media (max-width: 640px) { .tab-new { align-self: center; width: 36px; height: 36px; } }
@media (max-width: 640px) { .acct-tabbar .tab-new { align-self: center; width: 36px; height: 36px; min-height: 0; padding: 0; justify-content: center; } }

/* Tabs: no fill. Hover lifts a little; the open tab gets a short line under it */
.acct-tabbar .acct-tabs { background: transparent; padding: 0; }
.acct-tabbar .acct-tabs .tab { position: relative; background: transparent; box-shadow: none; transition: transform 150ms ease, color 150ms ease; }
.acct-tabbar .acct-tabs .tab:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.acct-tabbar .acct-tabs .tab[aria-selected="true"] { background: transparent; box-shadow: none; color: var(--ink); }
.acct-tabbar .acct-tabs .tab::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 2px; background: var(--forest); transform: translateX(-50%); transition: width 180ms ease; }
.acct-tabbar .acct-tabs .tab[aria-selected="true"]::after { width: 28px; }
.tab-new { transition: transform 150ms ease, background-color 150ms ease; }
.tab-new:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .acct-tabbar .acct-tabs .tab, .tab-new { transition: none; } .acct-tabbar .acct-tabs .tab:hover, .tab-new:hover { transform: none; } }

/* Under message boxes: what not to send */
.msg-safe { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }
.acct-thread .msg-safe { margin: 0; padding: 0 16px 12px; background: var(--card); }
