/* BuildRenovate — Etsy-inspired store UI */
:root {
  --brand: #bf4a13;
  --brand-dark: #a03c0c;
  --brand-soft: #fdf0e7;
  --ink: #222220;
  --ink-soft: #595751;
  --line: #e8e4dd;
  --bg: #ffffff;
  --bg-warm: #faf7f2;
  --good: #2e7d4f;
  --warn: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(34, 30, 20, 0.08), 0 6px 20px rgba(34, 30, 20, 0.07);
  --shadow-lift: 0 2px 6px rgba(34, 30, 20, 0.1), 0 14px 34px rgba(34, 30, 20, 0.13);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 99; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 18px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.35rem; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.logo em { color: var(--brand); font-style: normal; }
.search { flex: 1; display: flex; max-width: 520px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: 10px 18px; font-size: 0.95rem; outline: none; font-family: inherit; }
.search button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }
.search button:hover { background: var(--brand-dark); }
.main-nav { display: flex; gap: 18px; }
.main-nav a { text-decoration: none; font-size: 0.93rem; color: var(--ink-soft); padding: 6px 2px; }
.main-nav a:hover { color: var(--ink); }
.header-cta { white-space: nowrap; }
.cat-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 20px 10px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 0.9rem; color: var(--ink-soft); padding: 6px 14px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.cat-strip a:hover { background: var(--bg-warm); color: var(--ink); border-color: var(--line); }
.cat-ic svg { width: 22px; height: 22px; color: var(--brand); }

.tools-strip { display: none; }
@media (max-width: 960px) {
  .tools-strip { display: flex; gap: 4px; overflow-x: auto; padding: 0 20px 10px; scrollbar-width: none; }
  .tools-strip::-webkit-scrollbar { display: none; }
  .tools-strip a { text-decoration: none; font-size: 0.84rem; color: var(--ink); padding: 6px 12px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line); background: var(--bg-warm); }
}

/* Buttons & chips */
.btn { display: inline-block; border: 2px solid transparent; border-radius: 999px; padding: 10px 22px; font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; transition: transform 0.06s ease, background 0.15s ease; text-align: center; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--bg-warm); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 0.92rem; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-warm), #fff); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.hero h1 em { color: var(--brand); font-style: italic; }
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.hero-tag { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px 16px; display: flex; flex-direction: column; font-size: 0.9rem; }
.hero-tag b { color: var(--brand); font-size: 1.05rem; }

/* Sections */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.see-all { color: var(--brand); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }
.h-city { color: var(--ink-soft); font-size: 0.6em; font-family: var(--font); font-weight: 500; }
.page-sub { color: var(--ink-soft); max-width: 70ch; font-size: 1.03rem; margin-bottom: 24px; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.cat-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card-ic svg { width: 34px; height: 34px; color: var(--brand); }
.cat-card-name { font-weight: 700; font-size: 1.05rem; font-family: var(--display); }
.cat-card-short { font-size: 0.84rem; color: var(--ink-soft); }
.cat-card-price { font-size: 0.88rem; font-weight: 700; color: var(--brand); margin-top: auto; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 18px; }
.card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--bg-warm); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 0.76rem; font-weight: 700; box-shadow: var(--shadow); color: var(--ink); }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px 16px; }
.card-cat { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-soft); font-weight: 700; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.card-blurb { font-size: 0.87rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.card-price { font-size: 0.95rem; }
.card-price b { color: var(--ink); font-size: 1.08rem; }
.card-chip { font-size: 0.74rem; color: var(--good); font-weight: 700; white-space: nowrap; }

/* How it works */
.how { background: var(--ink); color: #f6f2ea; padding: 56px 0; }
.how h2 { color: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
.how-step h3 { color: #fff; }
.how-step p { color: #cfc9bd; font-size: 0.95rem; }
.how-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split > div { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; font-size: 1rem; list-style-position: outside; }
.faq summary:hover { color: var(--brand); }
.faq p { color: var(--ink-soft); padding-bottom: 12px; margin: 0; }

/* Lead capture band */
.capture { background: var(--brand-soft); border-top: 1px solid var(--line); padding: 48px 0; }
.capture-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.capture-form { display: flex; gap: 10px; flex-wrap: wrap; }
.capture-form input[type="email"] { flex: 1; min-width: 220px; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 0.98rem; font-family: inherit; }
.lead-fine { font-size: 0.8rem; color: var(--ink-soft); margin: 6px 0 0; }

/* Breadcrumbs */
.crumbs { font-size: 0.84rem; color: var(--ink-soft); padding: 18px 0 8px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumb-sep { margin: 0 8px; opacity: 0.6; }

/* Filters */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.empty-msg { color: var(--ink-soft); padding: 40px 0; text-align: center; }

/* PDP */
.pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 10px 0 30px; }
.pdp-gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.gallery-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.pdp-buy h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 4px 0 10px; }
.pdp-price { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; font-family: var(--display); margin: 0; }
.pdp-price-note { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 18px; }
.opt-group { margin-bottom: 18px; }
.opt-label { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.opt-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 0.9rem; cursor: pointer; font-family: inherit; }
.pill:hover { border-color: var(--ink); }
.pill.is-on { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.tier-cards { display: grid; gap: 10px; }
.tier { text-align: left; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 16px; cursor: pointer; font-family: inherit; font-size: 0.88rem; }
.tier:hover { border-color: var(--ink); }
.tier.is-on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); background: var(--brand-soft); }
.tier-name { font-weight: 700; font-size: 0.98rem; display: block; margin-bottom: 6px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.tier li { margin: 2px 0; }
.pdp-buy .btn-block { margin-top: 8px; }
.buy-trust { list-style: none; padding: 14px 0 0; margin: 6px 0 0; font-size: 0.86rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.buy-trust li { margin: 6px 0; }
.pdp-cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
.table-note { font-size: 0.85rem; color: var(--ink-soft); }
.li-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 0.94rem; }
.li-table th { text-align: left; border-bottom: 2px solid var(--ink); padding: 8px 10px 8px 0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.li-table td { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; }
.li-table td:last-child { font-weight: 600; white-space: nowrap; }

/* Guide pages */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 20px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.guide-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.guide-article h2 { margin-top: 1.6em; }
.answer-box { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 18px 0 26px; }
.answer-box p { margin: 0; font-size: 1.04rem; }
.answer-label { text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.1em; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px !important; }
.guide-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin: 34px 0; flex-wrap: wrap; }
.guide-callout h2 { margin-bottom: 6px; }
.guide-callout p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.guide-callout.small { padding: 16px 20px; }
.guide-sources { font-size: 0.8rem; color: var(--ink-soft); margin: 30px 0 50px; }

/* Tools */
.tool-head { padding-top: 8px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 10px; }
.est-step { margin-bottom: 18px; }
.est-result { border-top: 2px solid var(--ink); margin-top: 22px; padding-top: 18px; }
.est-result-label { text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.1em; font-weight: 800; color: var(--ink-soft); margin-bottom: 4px; }
.est-result-price { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 0 0 12px; color: var(--brand); }
.est-lines { font-size: 0.9rem; color: var(--ink-soft); columns: 2; gap: 30px; margin-bottom: 16px; }
.est-lines div { break-inside: avoid; display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.est-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qc-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.qc-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 700; flex: 1; min-width: 200px; }
.qc-field select, .qc-field input { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 0.98rem; font-family: inherit; font-weight: 400; }
.qc-result { margin-top: 26px; }
.qc-meter { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #7fc79b 0 33%, #f2c14e 33% 66%, #e2695a 66% 100%); margin: 10px 0 14px; }
.qc-marker { position: absolute; top: -7px; width: 4px; height: 28px; background: var(--ink); border-radius: 2px; transition: left 0.4s ease; }
.qc-verdict { font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.qc-cta { background: var(--brand-soft); border-radius: 12px; padding: 18px 22px; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.qc-cta p { margin: 0; max-width: 56ch; }

/* Forms & modal */
label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 12px; }
label input, label textarea, label select { display: block; width: 100%; margin-top: 5px; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 0.97rem; font-family: inherit; font-weight: 400; }
label input:focus, label textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.opt { font-weight: 400; color: var(--ink-soft); }
.contact-form { max-width: 560px; }
.lead-modal[hidden] { display: none; }
.lead-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lead-backdrop { position: absolute; inset: 0; background: rgba(30, 26, 20, 0.55); }
.lead-card { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lift); width: min(440px, 100%); max-height: 90vh; overflow: auto; padding: 28px; }
.lead-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.lead-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.lead-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 1.7rem; cursor: pointer; color: var(--ink-soft); }
.lead-done { text-align: center; padding: 30px 10px; }
.lead-done-big { color: var(--good); font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
.center-msg { text-align: center; padding: 80px 20px; }

/* Footer */
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 44px 20px 24px; font-size: 0.9rem; color: var(--ink-soft); }
.foot-logo { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }
.foot-logo em { color: var(--brand); font-style: normal; }
.foot-h { font-weight: 800; color: var(--ink); text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.09em; margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--ink-soft); text-decoration: none; padding: 3px 0; }
.foot-grid a:hover { color: var(--brand); }
.foot-city { font-size: 0.82rem; }
.foot-legal { border-top: 1px solid var(--line); padding: 16px 20px; font-size: 0.78rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .pdp, .pdp-cols, .split, .capture-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .est-lines { columns: 1; }
}
@media (max-width: 620px) {
  .header-row { flex-wrap: wrap; }
  .search { order: 3; min-width: 100%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
}

/* Customer dashboard — quote card & project status */
.quote-card { border: 2px solid var(--brand); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lift); padding: 26px; margin: 22px 0; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.quote-head h2 { margin: 0; }
.quote-total { text-align: right; }
.quote-total span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.quote-total b { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--brand-dark); }
.quote-msg { background: var(--bg-warm); border-radius: 10px; padding: 14px 16px; margin: 16px 0; white-space: pre-wrap; }
.quote-card .li-table { margin-top: 14px; }
.quote-grand td { border-top: 2px solid var(--ink); border-bottom: 0; font-size: 1.05rem; }
.quote-actions { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.quote-accept { background: var(--brand-soft); border-radius: 12px; padding: 18px; }
.quote-decline { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 0.9rem; }
.quote-decline summary { cursor: pointer; color: var(--ink-soft); }
.quote-decided { background: #e9f5ee; border-radius: 10px; padding: 14px 16px; margin-top: 16px; }
.oe-work-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 10px 0; }
.oe-work-row .pill-status { border-radius: 999px; padding: 2px 12px; font-size: 0.78rem; font-weight: 700; background: var(--bg-warm); border: 1px solid var(--line); }
.oe-editor-h { margin-top: 26px; }
#oe-work { margin: 22px 0; }
[hidden] { display: none !important; }
.oe-locked-note { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 14px; }

/* Subcontractor portal + client care */
.sp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.sp-job.is-offer { border: 2px solid var(--brand); }
.sp-offer-tag { display: inline-block; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 0.76rem; font-weight: 700; margin-bottom: 8px; }
.sp-row select, .sp-row input[type=text], .sp-row input[type=date], .sp-row input[type=file], .sp-row [data-reason] { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-family: inherit; font-size: 0.9rem; }
.sp-ticket { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 0.92rem; }
.sp-ticket p { margin: 6px 0 0; color: var(--ink-soft); }
table.adm-lite { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.adm-lite th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid var(--ink); padding: 6px 8px 6px 0; }
table.adm-lite td { border-bottom: 1px solid var(--line); padding: 8px 8px 8px 0; vertical-align: top; }
.pill-status.approved { background: #e9f5ee; border-color: var(--good); color: var(--good); }
.pill-status.pending { background: #fdf0e7; border-color: var(--brand); color: var(--brand); }
.pill-status.rejected, .pill-status.open { background: #fdecea; border-color: var(--warn); color: var(--warn); }
.pill-status.resolved { background: #e9f5ee; border-color: var(--good); color: var(--good); }
.oe-ticket-form { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 640px; }
.oe-ticket-form select, .oe-ticket-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 0.95rem; }
.oe-ticket { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.oe-ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
.oe-msg { border-left: 3px solid var(--line); padding: 4px 0 4px 12px; margin: 8px 0; font-size: 0.9rem; color: var(--ink-soft); }
.oe-msg.from-br { border-left-color: var(--brand); }
.oe-msg p { margin: 4px 0 0; color: var(--ink); }

/* Save for later, photos, readiness checklist */
.save-block { margin-top: 10px; }
.save-form input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-family: inherit; font-size: 0.95rem; }
.oe-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 12px 0; }
.oe-photo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-warm); }
.oe-photo img { width: 100%; height: 90px; object-fit: cover; display: block; }
.oe-photo span { display: block; font-size: 0.72rem; padding: 4px 6px; color: var(--ink-soft); }
.oe-photo button { position: absolute; top: 4px; right: 4px; border: 0; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: 0.8rem; line-height: 1; }
.oe-photo-add { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.oe-photo-add input[type=text] { flex: 1; min-width: 200px; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-family: inherit; font-size: 0.9rem; }
.oe-photos-group, .oe-intake-group { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.oe-intake { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.oe-intake label { font-size: 0.86rem; }
.oe-intake label:nth-last-child(-n+3) { grid-column: 1 / -1; }
.oe-intake select, .oe-intake input, .oe-intake textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font-family: inherit; font-size: 0.92rem; margin-top: 4px; }
@media (max-width: 640px) { .oe-intake { grid-template-columns: 1fr; } }
.sla-banner { background: linear-gradient(180deg, var(--brand-soft), #fff); border: 2px solid var(--brand); border-radius: var(--radius); padding: 18px 22px; margin: 18px 0; }
.sla-banner b { font-family: var(--display); font-size: 1.3rem; color: var(--brand-dark); }

/* ---------- Customer account hub (/account/) ---------- */
#ac-who { font-size: 1.35rem; margin: 2px 0 0; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
#ac-dash .sp-top > div { min-width: 0; flex: 1 1 220px; }
#ac-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ac-card { display: flex; gap: 14px; align-items: stretch; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.14s ease, box-shadow 0.14s ease; min-width: 0; }
.ac-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,16,12,0.12); }
.ac-card > img { width: 108px; height: 100%; min-height: 118px; object-fit: cover; flex: 0 0 108px; background: var(--bg-warm); }
.ac-card-body { display: block; padding: 13px 14px 13px 0; min-width: 0; flex: 1; }
.ac-card:not(:has(> img)) .ac-card-body { padding-left: 14px; }
.ac-card-body > b { display: block; font-family: var(--display); font-size: 1.02rem; line-height: 1.25; margin-bottom: 4px; overflow-wrap: anywhere; }
.ac-card-body .muted { font-size: 0.82rem; color: var(--ink-soft); margin: 2px 0; overflow-wrap: anywhere; }
.ac-card-body > div { margin-top: 5px; }
.ac-card .pill-status { display: inline-block; border-radius: 999px; padding: 2px 11px; font-size: 0.74rem; font-weight: 700;
  background: var(--bg-warm); border: 1px solid var(--line); }
.ac-card .pill-status.draft { background: var(--bg-warm); color: var(--ink-soft); }
.ac-card .pill-status.submitted, .ac-card .pill-status.reviewing { background: #fdf0e7; border-color: var(--brand); color: var(--brand); }
.ac-card .pill-status.quoted, .ac-card .pill-status.accepted, .ac-card .pill-status.completed { background: #e9f5ee; border-color: var(--good); color: var(--good); }
.ac-card .pill-status.declined { background: #fdecea; border-color: var(--warn); color: var(--warn); }
.ac-sla { display: block; margin-top: 6px; font-size: 0.8rem; font-weight: 700; color: var(--brand); }
.ac-saved-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; margin-bottom: 10px; }
.ac-saved-item > div:first-child { min-width: 0; }
.ac-saved-item b { overflow-wrap: anywhere; }
.ac-saved-item .muted { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 520px) {
  #ac-orders { grid-template-columns: 1fr; }
  .ac-card { flex-direction: column; }
  .ac-card > img { width: 100%; flex: 0 0 auto; height: 150px; min-height: 0; }
  .ac-card-body { padding: 13px 14px; }
  #ac-who { font-size: 1.12rem; }
}

/* ---------- Subcontractor record & reviews ---------- */
.sp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin: 14px 0 6px; }
.sp-stats > div { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sp-stat-n { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.sp-stats .muted { font-size: 0.78rem; }
.sp-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 12px; font-size: 0.9rem; }
.sp-bar { height: 8px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.sp-bar span { display: block; height: 100%; background: var(--brand); }
.sp-review { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.sp-review p { margin: 6px 0 0; }
.sp-resp { background: var(--bg-warm); border-left: 3px solid var(--brand); padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: 0.9rem; }
.sp-hist { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.sp-hist th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); border-bottom: 2px solid var(--line); padding: 8px 10px 6px; }
.sp-hist td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
@media (max-width: 560px) { .sp-hist th:nth-child(2), .sp-hist td:nth-child(2) { display: none; } }
