:root {
  /* Brand: the PrintMerit logo (deep burgundy + navy on warm cream, CMYK accents from the mark). */
  --ink: #1c2233;
  --ink-2: #3a4152;
  --muted: #6b6f7a;
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --card: #fffdf9;
  --line: #e4ddd0;
  --wine: #4e1224;
  --wine-dark: #3a0c1a;
  --wine-soft: #f3e8ea;
  --gold: #c9a35b;
  --cyan: #45a8dc;
  --magenta: #d6437e;
  --yellow: #d0a24f;
  --ok: #2e7d4f;
  --warn: #b26a00;
  --bad: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 34, 51, 0.06), 0 10px 28px rgba(28, 34, 51, 0.07);
  --display: 'Source Serif 4', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--wine); margin-bottom: 0.6em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

/* CMYK registration strip, used as a subtle brand accent */
.cmyk { display: flex; height: 4px; }
.cmyk span { flex: 1; }
.cmyk span:nth-child(1) { background: var(--cyan); }
.cmyk span:nth-child(2) { background: var(--magenta); }
.cmyk span:nth-child(3) { background: var(--yellow); }
.cmyk span:nth-child(4) { background: var(--ink); }

/* header */
.site-header { background: rgba(246, 242, 234, 0.94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; width: 46px; }
.lockup { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.015em; color: var(--ink); }
.wordmark b { font-weight: 700; color: var(--wine); }
.tagline { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 600 0.58rem var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tagline::before, .tagline::after { content: ''; height: 1px; width: 10px; background: var(--wine); opacity: 0.6; }
.office-top .tagline { display: none; }
@media (max-width: 380px) { .tagline { display: none; } }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--wine); }
.cart-link { position: relative; }
.cart-count { background: var(--wine); color: #fff; border-radius: 999px; font-size: 0.7rem; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font: 600 0.95rem var(--body); text-decoration: none; cursor: pointer; transition: transform 0.08s, background 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 58%; height: 100%; background: radial-gradient(70% 60% at 70% 40%, rgba(78, 18, 36, 0.07), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero-photo { position: relative; margin: 0; }
.hero-photo > img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 2px 4px rgba(28, 34, 51, 0.08), 0 30px 60px -20px rgba(58, 12, 26, 0.45); }
.seal { position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow); font-size: 0.82rem; color: var(--muted); }
.seal img { width: 44px; height: 44px; }
.seal strong { display: block; color: var(--ink); font-size: 0.9rem; }
.cmyk-dots { display: flex; align-items: center; gap: 4px; }
.cmyk-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.cmyk-dots i:nth-child(2) { background: var(--magenta); }
.cmyk-dots i:nth-child(3) { background: var(--yellow); }
.cmyk-dots i:nth-child(4) { background: var(--ink); margin-right: 6px; }
@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .seal { left: 12px; bottom: -18px; }
}

/* photography: product cards, audience cards, mosaic */
.card .media { margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 11; background: var(--paper-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.card:hover .media img { transform: scale(1.04); }
.photo-card { padding: 0 !important; overflow: hidden; }
.photo-card .media { margin: 0; border-radius: 0; }
.photo-card .body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.photo-card .body .btn { align-self: flex-start; margin-top: auto; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-head p { margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 8px; } }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mosaic .tile { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.mosaic .tile.t-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mosaic .tile:hover img { transform: scale(1.04); }
.mosaic .tile span { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 253, 249, 0.94); color: var(--ink); padding: 5px 12px; border-radius: 999px; font: 600 0.82rem var(--body); }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mosaic .tile.t-big { grid-row: auto; aspect-ratio: 16 / 11; } }

/* cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.3em; }
a.card { color: inherit; text-decoration: none; transition: transform 0.12s, border-color 0.12s; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-2px); border-color: var(--wine); }
.card .price-from { margin-top: auto; padding-top: 12px; font-weight: 600; }
.card .price-from span { color: var(--wine); }
.tag { align-self: flex-start; display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; background: #f3ece4; color: var(--wine); }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience .card { padding: 32px; }
.audience .card.wine h2 { color: #fff; }
.audience .card.wine { background: var(--ink); color: #f4efe8; border-color: var(--ink); }
.audience .card.wine .eyebrow { color: var(--gold); }
.audience .card.wine p { color: #cfd5de; }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 48px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--display); }

.band { background: var(--ink); color: #f4efe8; }
.band h2 { color: #fff; }
.band .muted { color: #b9c1cc; }
.band .card { color: var(--ink); }
.band .card .muted { color: var(--muted); }
.band .card h2, .band .card h3 { color: var(--ink); }

.pkg { display: flex; flex-direction: column; }
.pkg ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.pkg .pkg-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.pkg .pkg-price strong { font-size: 1.6rem; font-family: var(--display); }
.pkg .pkg-price s { color: var(--muted); }

/* forms */
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #d6d0c5; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(140, 28, 58, 0.25); border-color: var(--wine); }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { padding: 9px 14px; border: 1px solid #d6d0c5; background: #fff; border-radius: 10px; font: 500 0.9rem var(--body); cursor: pointer; color: var(--ink); }
.seg button.on { border-color: var(--wine); background: #f8eef1; color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.95rem; }
.alert-bad { background: #fbeceb; color: var(--bad); }
.alert-ok { background: #e9f4ee; color: var(--ok); }
.alert-warn { background: #fdf3e2; color: var(--warn); }
.alert-info { background: #eef2f7; color: var(--ink-2); }

/* configurator */
.config { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 32px; align-items: start; }
.summary { position: sticky; top: 92px; }
.summary .total { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; margin: 6px 0; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 16px 0; font-size: 0.92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
@media (max-width: 860px) { .config { grid-template-columns: 1fr; } .summary { position: static; } }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: #eef2f7; color: var(--ink-2); white-space: nowrap; }
.status.awaiting_payment, .status.awaiting_files, .status.changes_requested { background: #fdf3e2; color: var(--warn); }
.status.proof_sent { background: #f8eef1; color: var(--wine); }
.status.approved, .status.printing { background: #e7f3f8; color: #0f6b85; }
.status.ready, .status.shipped, .status.completed { background: #e9f4ee; color: var(--ok); }
.status.cancelled { background: #f1f1f1; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 14px 16px; position: relative; font-size: 0.92rem; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--wine); }
.timeline time { display: block; color: var(--muted); font-size: 0.8rem; }

.item-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item-row:last-child { border-bottom: 0; }
.drop { border: 2px dashed #d6d0c5; border-radius: 12px; padding: 16px; text-align: center; color: var(--muted); cursor: pointer; margin-top: 10px; }
.drop.over { border-color: var(--wine); background: #f8eef1; }
.file-chip { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; margin-top: 8px; flex-wrap: wrap; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: var(--wine); width: 0; transition: width 0.2s; }

/* footer */
.site-footer { background: var(--ink); color: #b9c1cc; padding: 48px 0 32px; margin-top: 64px; font-size: 0.92rem; }
.site-footer a { color: #e6e9ee; text-decoration: none; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-weight: 600; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .fine { border-top: 1px solid #2c3746; margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

.page-head { padding: 48px 0 24px; }
.product-head { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px; align-items: center; }
.product-head:has(.product-photo.hide) { grid-template-columns: 1fr; }
.product-photo { margin: 0; }
.product-photo img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(58, 12, 26, 0.4); }
@media (max-width: 860px) { .product-head { grid-template-columns: 1fr; gap: 20px; } .product-photo { order: -1; } }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.hide { display: none !important; }
.spec-list { display: grid; gap: 12px; }
.spec-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .spec-list div { grid-template-columns: 1fr; gap: 4px; } }
.item-head { display: flex; justify-content: space-between; gap: 12px; }
.item-head > div:first-child { flex: 1; min-width: 0; }
.item-head > div:last-child { white-space: nowrap; text-align: right; }
.decision { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.decision button { flex: 1; min-width: 140px; }
.decision button.on-approve { background: var(--ok); color: #fff; border-color: var(--ok); }
.decision button.on-changes { background: var(--warn); color: #fff; border-color: var(--warn); }
.sig-pad { width: 100%; height: 160px; border: 1px solid #d6d0c5; border-radius: 10px; background: #fff; touch-action: none; display: block; }
.revisions { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* ---------- back office ---------- */
body.office { background: #f4f2ee; }
.office-top { position: sticky; top: 0; z-index: 30; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
.office-top .wordmark { font-size: 1.2rem; }
.office-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-left: 6px; }
.office-user { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.office-menu { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 1.1rem; }
.office-nav { position: fixed; top: 60px; left: 0; bottom: 0; width: 232px; overflow-y: auto; padding: 16px 10px; background: var(--ink); }
.office-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #cfd5de; text-decoration: none; font-size: 0.92rem; }
.office-nav a:hover { background: #22303f; color: #fff; }
.office-nav a.on { background: var(--wine); color: #fff; }
.office-nav a.soon { opacity: 0.6; }
.office-nav a em { margin-left: auto; font-style: normal; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.office-nav .ico { width: 18px; text-align: center; }
.office-main { margin-left: 232px; padding: 24px 28px 64px; max-width: 1280px; }
.office-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.office-head h1 { font-size: 1.8rem; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kpi .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.kpi .value { font-family: var(--display); font-size: 1.9rem; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-menu { display: block; }
  .office-user { display: none; }
  .office-nav { transform: translateX(-100%); transition: transform 0.2s; z-index: 40; }
  body.nav-open .office-nav { transform: none; }
  .office-main { margin-left: 0; padding: 16px; }
}

/* jobs board */
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 16px; align-items: start; overflow-x: auto; }
.board-col { background: #ebe7e0; border-radius: 12px; padding: 12px; min-height: 120px; }
.board-col h3 { font-size: 0.95rem; margin: 0 0 10px; display: flex; justify-content: space-between; }
.job { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; color: inherit; text-decoration: none; }
.job:hover { border-color: var(--wine); }
.job.rush { border-left: 4px solid var(--bad); }
.job .meta { font-size: 0.8rem; color: var(--muted); }
.checklist label { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist input { width: 20px; height: 20px; }
.checklist .who { margin-left: auto; font-size: 0.78rem; color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(4, 260px); } }
@media print {
  .office-nav, .office-top, .cmyk, .no-print, .btn { display: none !important; }
  .office-main { margin: 0; padding: 0; }
  body.office { background: #fff; }
  .card { box-shadow: none; border: 1px solid #999; }
}

/* design library */
.design-editor { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.design-editor .panel { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
.previews { display: grid; gap: 24px; }
.preview-item h3 { font-size: 1rem; margin-bottom: 8px; }
.preview-pages { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.preview-pages figure { margin: 0; }
.preview-pages canvas { max-width: 100%; height: auto; box-shadow: var(--shadow); border-radius: 4px; background: #fff; }
.preview-pages figcaption { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { border: 2px solid transparent; border-radius: 10px; padding: 4px; background: none; cursor: pointer; display: flex; gap: 2px; }
.swatch.on { border-color: var(--wine); }
.swatch i { width: 18px; height: 28px; border-radius: 3px; display: block; }
.thumb { aspect-ratio: 4 / 3; background: #f1ede6; border-radius: 10px; display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; }
.thumb canvas { max-width: 90%; max-height: 90%; box-shadow: var(--shadow); }
@media (max-width: 900px) { .design-editor { grid-template-columns: 1fr; } .design-editor .panel { position: static; max-height: none; order: 2; } }

/* reviews */
.stars { display: flex; gap: 6px; }
.stars button { font-size: 2.2rem; line-height: 1; background: none; border: 0; cursor: pointer; color: #d6d0c5; padding: 0; }
.stars button.on { color: var(--gold); }
.star-row { color: var(--gold); letter-spacing: 2px; }
.review-card blockquote { margin: 8px 0; font-size: 1.02rem; }

/* header controls keep their natural width */
.office-head .btn-row select, .office-head .btn-row input { width: auto; }

/* blog */
.blog-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.blog-hero { width: 100%; border-radius: 12px; margin: 16px 0 24px; }
.blog-body { font-size: 1.08rem; line-height: 1.75; }
.blog-body h2 { margin-top: 1.6em; }
.blog-body h3 { margin-top: 1.4em; }
.blog-body img { border-radius: 10px; margin: 1em 0; }
.blog-body blockquote { border-left: 4px solid var(--wine); margin: 1.2em 0; padding: 4px 0 4px 18px; color: var(--ink-2); font-style: italic; }
.blog-body a { color: var(--wine); }
.blog-body pre { background: #f1ede6; padding: 12px; border-radius: 8px; overflow-x: auto; }
.blog-body table { border-collapse: collapse; width: 100%; } .blog-body td, .blog-body th { border: 1px solid var(--line); padding: 6px 10px; }
.rte-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.rte-toolbar button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 10px; font: 600 0.85rem var(--body); cursor: pointer; }
.rte { min-height: 360px; border: 1px solid #d6d0c5; border-radius: 10px; padding: 14px 16px; background: #fff; }
.rte:focus { outline: 2px solid rgba(140, 28, 58, 0.25); }
.snippet { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; font-family: Arial, sans-serif; }
.snippet .u { color: #1a0dab; font-size: 18px; } .snippet .l { color: #006621; font-size: 13px; } .snippet .d { color: #545454; font-size: 13px; }
