:root {
  --paper: #f6f2ea;
  --ink: #1b1a17;
  --trav: #e9dfd0;
  --bronze: #b08a57;
  --olive: #6f7550;
  --muted: #8a8578;
  --navy: #132237;
  --line: #ddd4c4;
  --card: #fbf8f2;
  --sold: #cfc8bb;
  --bronze-soft: #f1e6d4;
  --olive-soft: #e6e8da;
  --navy-soft: #dfe3ea;
  --r: 6px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 13px/1.45 var(--sans); font-feature-settings: 'tnum' 1;
  overflow-x: hidden;
}
body.has-detail { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 12px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
small { display: block; color: var(--muted); font-size: 11.5px; }
[hidden] { display: none !important; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); cursor: pointer; text-decoration: none; font-weight: 500; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; }
.btn-wa { background: var(--olive); border-color: var(--olive); color: #fff; }
.btn-wa:hover { background: #5d6243; border-color: #5d6243; }
.link { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand-name { font: 600 24px/1 var(--serif); letter-spacing: .01em; }
.brand-sep { color: var(--line); }
.brand-section { font-weight: 500; color: var(--muted); }
.search {
  flex: 1; max-width: 460px; margin-left: auto; position: relative; display: flex; align-items: center;
}
.search svg { position: absolute; left: 10px; width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.search input {
  width: 100%; height: 34px; padding: 0 10px 0 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
}
.search input:focus { outline: none; border-color: var(--navy); }

.page { padding: 18px 24px 8px; max-width: 1600px; margin: 0 auto; }

/* ---------- resumen ---------- */
.summary { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .8fr); gap: 14px; margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kpi { background: var(--card); padding: 14px 14px 12px; display: flex; flex-direction: column; min-width: 0; }
.kpi-n { font: 600 34px/1 var(--serif); }
.kpi-l { font-weight: 500; margin-top: 6px; }
.kpi-s { color: var(--muted); font-size: 11.5px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-width: 0; }
.panel-title { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.bars { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px; height: 92px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0; border: 0; background: none; cursor: pointer; min-width: 0; }
.bar-n { font-size: 11px; text-align: center; height: 14px; color: var(--ink); }
.bar-fill { display: block; background: var(--navy); border-radius: 2px 2px 0 0; min-height: 2px; flex: 0 0 auto; max-height: calc(100% - 30px); }
.bar-reservado .bar-fill { background: var(--bronze); }
.bar-vendido .bar-fill { background: var(--sold); }
.bar-vendido .bar-n, .bar-vendido .bar-f { color: var(--muted); }
.bar-f { font-size: 11px; text-align: center; border-top: 1px solid var(--line); padding-top: 2px; height: 16px; color: var(--ink); }
.bar.is-sel .bar-f { font-weight: 700; color: var(--navy); border-top: 2px solid var(--navy); }
.bar:hover .bar-fill { opacity: .8; }

.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.src { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 3px 4px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 4px; }
.src:hover, .src.is-sel { background: var(--trav); }
.src-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-n { font-weight: 600; }
.src-bar { grid-column: 1 / -1; height: 3px; background: var(--trav); border-radius: 2px; overflow: hidden; }
.src-bar i { display: block; height: 100%; background: var(--olive); }

/* ---------- trabajo ---------- */
.work { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; }
.tower-panel { position: sticky; top: 70px; padding: 12px 10px; }
.tower-head { display: flex; justify-content: space-between; align-items: baseline; }
.tower { list-style: none; margin: 0; padding: 0 6px; display: grid; gap: 3px; border-bottom: 3px solid var(--ink); padding-bottom: 4px; }
.tower li:first-child .floor { border-radius: 6px 6px 2px 2px; }
.floor {
  width: 100%; height: 28px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px;
  padding: 0 8px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-align: left; font-size: 12px;
}
.fl-disponible { background: var(--olive-soft); }
.fl-reservado { background: var(--bronze-soft); }
.fl-vendido { background: #ebe6dc; color: var(--muted); }
.fl-disponible .fl-num { color: var(--olive); }
.fl-reservado .fl-num { color: #8c6a3e; }
.fl-num { font-weight: 700; }
.fl-typ { font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fl-n { min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.fl-n:empty { background: transparent; }
.fl-vendido .fl-n:not(:empty) { background: var(--muted); }
.floor:hover { border-color: var(--muted); }
.floor.is-sel { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--navy); }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 3px; font-size: 11.5px; color: var(--muted); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.sw-disponible { background: var(--olive-soft); border: 1px solid var(--olive); }
.sw-reservado { background: var(--bronze-soft); border: 1px solid var(--bronze); }
.sw-vendido { background: #ebe6dc; border: 1px solid var(--sold); }

.pipeline { min-width: 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 12px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; white-space: nowrap; color: var(--muted); font-weight: 500; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.tab-n { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: var(--trav); color: var(--ink); font-size: 11px; text-align: center; }
.tab.is-on .tab-n { background: var(--ink); color: var(--paper); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; }
.filters select { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); max-width: 220px; }
.check { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; white-space: nowrap; }
.check input { accent-color: var(--bronze); margin: 0; }
.result-count { margin-left: auto; color: var(--muted); }

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; }
.leads { width: 100%; border-collapse: collapse; }
.leads th { position: sticky; top: 0; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--card); white-space: nowrap; }
.leads td { padding: 8px 10px; border-bottom: 1px solid #ece5d8; vertical-align: top; }
.leads tbody tr { cursor: pointer; }
.leads tbody tr:hover { background: #f3ede2; }
.leads tbody tr.is-open { background: var(--trav); box-shadow: inset 3px 0 0 var(--ink); }
.leads tbody tr:last-child td { border-bottom: 0; }
.c-date { white-space: nowrap; }
.c-name strong { font-weight: 600; }
.c-unit { white-space: nowrap; }
.c-visit { white-space: nowrap; }
.flag { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 3px; background: var(--bronze-soft); color: #8c6a3e; font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.empty { padding: 28px; text-align: center; color: var(--muted); margin: 0; }

.qual { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 500; font-size: 12px; }
.qual.is-q { color: var(--ink); font-weight: 600; }
.qual i { width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }

.pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 500; white-space: nowrap; background: var(--trav); }
.st-nuevo { background: var(--navy); color: #fff; }
.st-contactado { background: var(--navy-soft); color: var(--navy); }
.st-visita-agendada { background: var(--olive-soft); color: #4e5338; }
.st-reservo { background: var(--olive); color: #fff; }
.st-descartado { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- pie ---------- */
.foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 24px 24px; color: var(--muted); font-size: 11.5px; max-width: 1600px; margin: 0 auto; }

/* ---------- detalle ---------- */
.scrim { position: fixed; inset: 0; background: rgba(27, 26, 23, .18); z-index: 30; }
.detail {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 31; width: min(600px, 100%);
  background: var(--paper); border-left: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: -12px 0 32px rgba(27, 26, 23, .08);
}
.d-head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.d-close { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; display: grid; place-items: center; padding: 0; }
.d-close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 1.8; fill: none; }
.d-title { min-width: 0; }
.d-title h2 { margin: 0; font: 600 26px/1.05 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-title p { margin: 2px 0 0; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill-select { height: 32px; padding: 0 28px 0 12px; border-radius: 16px; border: 0; font-weight: 500; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px; background-size: 5px 5px; background-repeat: no-repeat; }
.pill-select option { background: var(--card); color: var(--ink); }
.pill-select.st-descartado { background-color: var(--card); }

.d-sec { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.d-sec h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.d-sec h3 .muted { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.d-sec h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-lines { display: grid; gap: 2px; min-width: 0; }
.contact-lines a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.contact-lines a:first-child { font-size: 15px; font-weight: 600; }
.contact-lines a:hover { text-decoration: underline; }
.contact-btns { display: flex; gap: 8px; }

.warn { background: var(--bronze-soft); border-left: 3px solid var(--bronze); color: #6e5330; padding: 8px 10px; border-radius: 0 var(--r) var(--r) 0; margin: 0 0 12px; }
.warn.small { margin: 8px 0 0; }
.ok { color: var(--olive); margin: 8px 0 0; }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0 0 12px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--card); padding: 8px 8px 6px; min-width: 0; }
.facts dt, .origin dt { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.ustat { font-size: 12px; padding: 1px 6px; border-radius: 3px; }
.us-disponible { background: var(--olive-soft); color: #4e5338; }
.us-reservado, .us-vendido { background: var(--bronze-soft); color: #8c6a3e; }
.plan { margin: 0 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.plan img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1004; object-fit: cover; background: var(--navy); }
.plan figcaption { padding: 6px 10px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--card); }
.sub-block { margin-top: 14px; }
.items { margin: 0; padding-left: 16px; color: #3d3b35; columns: 2; column-gap: 20px; }
.items li { break-inside: avoid; }
.changes { list-style: none; margin: 0; padding: 0; }
.changes li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.quote { width: 100%; border-collapse: collapse; }
.quote td { padding: 5px 0; border-bottom: 1px solid #ece5d8; vertical-align: top; }
.quote td.num { padding-left: 12px; }
.quote tr.sub td { font-weight: 500; }
.quote tr.tot td { font-weight: 700; font-size: 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

.why { margin: 0 0 10px; }
.answers { list-style: none; margin: 0 0 12px; padding: 0; }
.answers li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 10px; padding: 6px 0; border-bottom: 1px solid #ece5d8; align-items: baseline; }
.answers .q { color: var(--muted); font-size: 12px; }
.answers .a { font-weight: 500; }
.pts { text-align: right; font-size: 12px; color: var(--muted); }
.pts-on { color: #8c6a3e; font-weight: 600; }
.origin { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px 14px; margin: 0; }
.origin dd { margin: 1px 0 0; font-size: 12.5px; word-break: break-word; }

.visit { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.visit label { display: grid; gap: 3px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.visit input, .visit select { height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 13px; }
.visit .link { height: 34px; }
#vInfo { margin: 8px 0 0; }

.note-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; margin-bottom: 12px; }
.note-form textarea { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); resize: vertical; }
.note-form textarea:focus { outline: none; border-color: var(--navy); }
.note-form .btn { height: 38px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 8px; }
.timeline li::before { content: ''; position: absolute; left: -18px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.timeline li.muted::before { background: var(--line); }
.timeline li.tl-origin::before { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--muted); }
.timeline time { font-size: 11.5px; color: var(--muted); }
.timeline p { margin: 1px 0 0; white-space: pre-wrap; word-break: break-word; }

.others { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.others button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; text-align: left; }
.others button:hover { border-color: var(--muted); }

/* ---------- modal y toast ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(27, 26, 23, .35); display: grid; place-items: center; padding: 16px; }
.modal { background: var(--paper); border-radius: 8px; padding: 22px; width: min(420px, 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.modal h2 { margin: 0 0 8px; font: 600 24px/1.1 var(--serif); }
.modal p { margin: 0 0 18px; color: #3d3b35; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s; background: var(--ink); color: var(--paper); padding: 9px 14px; border-radius: var(--r); font-weight: 500; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpis { grid-column: 1 / -1; }
  .c-fin { display: none; }
  .leads th:nth-child(4) { display: none; }
}
@media (max-width: 1080px) {
  .c-src small { display: none; }
  .c-pay, .leads th:nth-child(5) { display: none; }
}
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 8px 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .topbar .btn { margin-left: auto; height: 32px; }
  .page { padding: 12px 16px 4px; }
  .summary { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi { padding: 10px; }
  .kpi-n { font-size: 28px; }
  .kpi-s { display: none; }
  .kpi:last-child { grid-column: span 2; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .tower-panel { position: static; }
  .tower { grid-template-columns: repeat(13, minmax(0, 1fr)); direction: rtl; gap: 2px; padding: 0 0 4px; border-bottom-width: 2px; }
  .tower li:first-child .floor { border-radius: 2px; }
  .floor { height: 52px; grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; align-content: center; gap: 3px; padding: 0; direction: ltr; text-align: center; }
  .fl-typ { display: none; }
  .fl-n { min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; }
  .legend { display: flex; gap: 12px; flex-wrap: wrap; }
  .filters select { flex: 1 1 calc(50% - 8px); max-width: none; min-width: 0; }
  .check { flex: 1 1 auto; }
  .result-count { margin-left: 0; }

  .table-wrap { background: transparent; border: 0; overflow: visible; }
  .leads, .leads tbody { display: block; }
  .leads thead { display: none; }
  .leads tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px;
    grid-template-areas: 'name status' 'unit total' 'fin pay' 'src qual' 'date visit';
    padding: 10px 12px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  }
  .leads td { display: block; padding: 0; border: 0; min-width: 0; }
  .leads td small { display: inline; margin-left: 6px; }
  .c-name { grid-area: name; } .c-status { grid-area: status; text-align: right; }
  .c-unit { grid-area: unit; white-space: normal; } .c-total { grid-area: total; font-weight: 600; }
  .c-src { grid-area: src; color: var(--muted); } .c-qual { grid-area: qual; text-align: right; }
  .c-date { grid-area: date; color: var(--muted); font-size: 12px; } .c-visit { grid-area: visit; text-align: right; font-size: 12px; }
  .leads td.c-fin { display: block; grid-area: fin; font-size: 12px; } .leads td.c-pay { display: block; grid-area: pay; text-align: right; font-size: 12px; }
  .c-src small { display: inline; }
  .leads td.c-name small { display: block; margin: 0; }

  .detail { width: 100%; border-left: 0; }
  .scrim { display: none; }
  .d-head { padding: 10px 16px; gap: 10px; }
  .d-title h2 { font-size: 22px; }
  .d-sec { padding: 14px 16px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .items { columns: 1; }
  .foot { flex-direction: column; align-items: flex-start; padding: 12px 16px 24px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 22px; }
  .d-head { grid-template-columns: auto minmax(0, 1fr); }
  .d-status { grid-column: 1 / -1; }
  .pill-select { width: 100%; }
  .answers li { grid-template-columns: minmax(0, 1fr) 34px; }
  .answers .q { grid-column: 1 / -1; }
  .contact-btns { width: 100%; }
  .contact-btns .btn { flex: 1; height: 40px; }
  .note-form { grid-template-columns: 1fr; }
}
