/* Quote Me Appy brand on the Covework site: the same mark, wordmark and colours as www.quotemeappy.com.
   Loaded only on the home page and the Quote Me Appy pages. */
.qma-theme { --qma-ink: #0B2027; --qma-lime: #D7F94A; --qma-paper: #F6F4EE; --accent: #5C6B0E; --glow: rgba(215,249,74,.38); }
.qma-lockup { display: inline-flex; align-items: center; gap: .55em; vertical-align: middle; }
.qma-mark { width: 1.9em; height: 1.9em; flex: none; border-radius: .5em; box-shadow: 0 10px 22px -12px rgba(11,32,39,.55); }
.qma-word { font: 800 1em/1 var(--display); letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; }
.qma-word b { color: var(--ink); font-weight: 800; background: linear-gradient(transparent 58%, #D7F94A 58%, #D7F94A 92%, transparent 92%); padding: 0 .06em; }
.qma-theme .btn:not(.ghost) { background: #D7F94A; color: #0B2027; border-color: #D7F94A; box-shadow: 0 10px 24px -14px rgba(92,107,14,.9); }
.qma-theme .btn:not(.ghost):hover { filter: brightness(1.04); }
.qma-theme .badge.soon { color: #0B2027; border-color: #C3E33A; background: #EAFBA8; }
.qma-theme .badge.soon::before { background: #0B2027; }
.qma-tabs a.cta { background: #D7F94A; color: #0B2027; border-color: #D7F94A; font-weight: 650; }
.app-feature.qma-theme { background: radial-gradient(120% 90% at 100% 0%, rgba(215,249,74,.30), transparent 55%), var(--surface); }
/* Quote Me Appy mentions anywhere on the site: mini mark, lime underline, branded chat chip. */
.qma-mini { display: inline-block; width: 1.2em; height: 1.2em; border-radius: .32em; vertical-align: -.25em; margin-right: .45em; flex: none; }
a.qma-link { text-decoration: underline; text-decoration-color: #D7F94A; text-decoration-thickness: .18em; text-underline-offset: .2em; white-space: nowrap; }
a.qma-link:hover { text-decoration-color: currentColor; }
.pilot-chips button.chip-qma { display: inline-flex; align-items: center; border-color: #C3E33A; background: #F3FDD0; color: #0B2027; }
.pilot-chips button.chip-qma .qma-mini { margin-right: .4em; }
/* Live demo: lime instead of Covework gold (WhatsApp's own colours in the chat stay as they are). */
.qd-brands button[aria-pressed="true"] { border-color: #D7F94A; background: rgba(215,249,74,.14); }
.qd-dl { background: #D7F94A !important; color: #0B2027 !important; border-color: #D7F94A !important; }
.qd-epic .badge::before { background: #D7F94A; }
/* How it works and Make it yours: lime and ink instead of WhatsApp green (WhatsApp buttons elsewhere stay green). */
.qma-theme .hw-n { background: #D7F94A; color: #0B2027; }
.qma-theme .hw-vis { background: radial-gradient(80% 80% at 50% 30%, rgba(215,249,74,.28), transparent 70%), var(--surface); }
.qma-theme .hw-mic { background: #0B2027; color: #D7F94A; }
.qma-theme .hw-mic span { border-color: #D7F94A; }
.qma-theme .hw-tags span { color: #0B2027; background: #EAFBA8; }
.qma-theme .bk-l span { background: #D7F94A; color: #0B2027; }
.qma-theme .bk-trade[aria-pressed="true"] { border-color: #0B2027; box-shadow: 0 0 0 3px rgba(215,249,74,.85); }
.qma-theme .bk-col[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #0B2027; }
.qma-theme .bk-open { border-color: #D7F94A !important; background: rgba(215,249,74,.16) !important; }
.qma-theme .bl-mine { background: #D7F94A; }
.qma-theme .brand-chip.mine { color: #0B2027 !important; background: #EAFBA8; border-color: #C3E33A; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pilot-chips button.chip-qma { background: rgba(215,249,74,.1); border-color: rgba(215,249,74,.45); color: #D7F94A; }
  :root:not([data-theme="light"]) .qma-theme .hw-tags span, :root:not([data-theme="light"]) .qma-theme .brand-chip.mine { color: #D7F94A !important; background: rgba(215,249,74,.1); }
  :root:not([data-theme="light"]) .qma-theme .hw-mic { background: #D7F94A; color: #0B2027; }
  :root:not([data-theme="light"]) .qma-theme .bk-trade[aria-pressed="true"], :root:not([data-theme="light"]) .qma-theme .bk-col[aria-pressed="true"] { border-color: #D7F94A; box-shadow: 0 0 0 2.5px #D7F94A; }
  :root:not([data-theme="light"]) .qma-theme { --accent: #D7F94A; --glow: rgba(215,249,74,.12); }
  :root:not([data-theme="light"]) .qma-word b { color: #D7F94A; background: none; padding: 0; }
  :root:not([data-theme="light"]) .qma-theme .badge.soon { color: #D7F94A; border-color: rgba(215,249,74,.4); background: rgba(215,249,74,.08); }
  :root:not([data-theme="light"]) .qma-theme .badge.soon::before { background: #D7F94A; }
  :root:not([data-theme="light"]) .app-feature.qma-theme { background: radial-gradient(120% 90% at 100% 0%, rgba(215,249,74,.10), transparent 55%), var(--surface); }
}
:root[data-theme="dark"] .qma-theme { --accent: #D7F94A; --glow: rgba(215,249,74,.12); }
:root[data-theme="dark"] .qma-word b { color: #D7F94A; background: none; padding: 0; }
:root[data-theme="dark"] .qma-theme .badge.soon { color: #D7F94A; border-color: rgba(215,249,74,.4); background: rgba(215,249,74,.08); }
:root[data-theme="dark"] .qma-theme .badge.soon::before { background: #D7F94A; }
:root[data-theme="dark"] .app-feature.qma-theme { background: radial-gradient(120% 90% at 100% 0%, rgba(215,249,74,.10), transparent 55%), var(--surface); }
:root[data-theme="dark"] .qma-theme .hw-tags span, :root[data-theme="dark"] .qma-theme .brand-chip.mine { color: #D7F94A !important; background: rgba(215,249,74,.1); }
:root[data-theme="dark"] .qma-theme .hw-mic { background: #D7F94A; color: #0B2027; }
:root[data-theme="dark"] .qma-theme .bk-trade[aria-pressed="true"], :root[data-theme="dark"] .qma-theme .bk-col[aria-pressed="true"] { border-color: #D7F94A; box-shadow: 0 0 0 2.5px #D7F94A; }
:root[data-theme="dark"] .pilot-chips button.chip-qma { background: rgba(215,249,74,.1); border-color: rgba(215,249,74,.45); color: #D7F94A; }

/* The sample quote on the Quote Me Appy page, drawn like the real PDF (always on white paper). */
.nq { --b: #0B2027; background: #fff; color: #18272B; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); font-size: 14px; line-height: 1.4; text-align: left; }
.nq small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: #7C8A8D; }
.nq-band { background: linear-gradient(115deg, var(--b) 62%, #12303A 62%); color: #fff; padding: 22px 22px 52px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.nq-biz { display: flex; gap: 12px; align-items: center; min-width: 0; }
.nq-logo { width: 44px; height: 44px; border-radius: 12px; background: #D7F94A; color: #0B2027; display: grid; place-items: center; font-weight: 800; flex: none; }
.nq-biz b { display: block; font-size: 17px; line-height: 1.15; }
.nq-biz small { color: rgba(255,255,255,.65); letter-spacing: 0; font-weight: 500; font-size: 12px; margin-top: 3px; }
.nq-title { text-align: right; flex: none; }
.nq-title b { display: block; font-size: 34px; line-height: 1; letter-spacing: .02em; font-weight: 800; }
.nq-title span { display: block; font-weight: 700; margin-top: 6px; }
.nq-title em { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; background: rgba(255,255,255,.12); border-radius: 99px; padding: 5px 10px; margin-top: 8px; }
.nq-card { margin: -34px 16px 0; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px -18px rgba(11,32,39,.45), 0 0 0 1px rgba(11,32,39,.06); padding: 14px; display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; gap: 14px; align-items: stretch; position: relative; }
.nq-to b, .nq-dates b { display: block; font-size: 15px; margin: 3px 0 2px; color: #0B2027; }
.nq-to span { color: #56676B; font-size: 13px; }
.nq-dates b + small { margin-top: 8px; }
.nq-total { background: var(--b); color: #fff; border-radius: 12px; padding: 12px 14px; }
.nq-total small { color: rgba(255,255,255,.7); }
.nq-total b { display: block; font-size: 26px; line-height: 1.1; margin: 4px 0 2px; letter-spacing: -.01em; }
.nq-total span { font-size: 11.5px; color: rgba(255,255,255,.7); }
.nq-scope { padding: 20px 18px 6px; }
.nq-sh { display: flex; justify-content: space-between; align-items: baseline; }
.nq-sh small { color: #0B2027; letter-spacing: .18em; }
.nq-sh span { color: #7C8A8D; font-size: 12px; }
.nq table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.nq th { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #7C8A8D; text-align: left; font-weight: 700; padding: 8px 6px; border-bottom: 2px solid #0B2027; }
.nq td { padding: 10px 6px; border-bottom: 1px solid #E8ECEC; }
.nq td:first-child { color: #8A979A; font-size: 11.5px; font-weight: 600; }
.nq tbody tr:nth-child(even) { background: #F5F6F5; }
.nq .n { text-align: right; white-space: nowrap; }
.nq td:last-child { font-weight: 700; color: #0B2027; }
.nq-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; padding: 12px 18px 4px; }
.nq-thanks b { display: block; color: #0B2027; }
.nq-thanks span { color: #56676B; font-size: 13px; }
.nq-totals div { display: flex; justify-content: space-between; padding: 3px 4px; color: #56676B; font-size: 13px; }
.nq-totals .nq-grand { background: var(--b); color: #fff; border-radius: 12px; padding: 12px 14px; margin-top: 6px; font-weight: 700; font-size: 15px; }
.nq-grand span:last-child { font-size: 20px; }
.nq-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 18px 6px; }
.nq-p { background: #F4F5F3; border-radius: 12px; padding: 12px 14px; }
.nq-p.strong { background: #ECEFF0; border-left: 4px solid var(--b); border-radius: 0 12px 12px 0; }
.nq-p small { color: #0B2027; }
.nq-p.strong small { color: #0B2027; }
.nq-p p { margin: 6px 0 0; font-size: 12.5px; color: #2F3E42; line-height: 1.45; }
.nq-p:not(.strong) small { color: #7C8A8D; }
.nq-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid #E8ECEC; margin: 14px 18px 0; padding: 10px 0 14px; font-size: 11px; color: #8A979A; }
.nq-credit { display: inline-flex; align-items: center; }
.nq-credit .qma-mini { width: 13px; height: 13px; border-radius: 4px; margin-right: 5px; }
@media (max-width: 560px) {
  .nq { font-size: 13px; border-radius: 14px; }
  .nq-band { padding: 18px 16px 48px; flex-direction: column; gap: 14px; }
  .nq-title { text-align: left; }
  .nq-title b { font-size: 30px; }
  .nq-card { grid-template-columns: 1fr 1fr; margin: -32px 12px 0; }
  .nq-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2px 12px; }
  .nq-total b { order: 2; margin: 0; font-size: 24px; }
  .nq-total span { order: 3; flex-basis: 100%; }
  .nq-scope { padding: 18px 12px 4px; }
  .nq th:first-child, .nq td:first-child, .nq th:nth-child(4), .nq td:nth-child(4) { display: none; }
  .nq-sum { grid-template-columns: 1fr; padding: 10px 12px 4px; }
  .nq-thanks { order: 2; }
  .nq-panels { grid-template-columns: 1fr; padding: 12px 12px 4px; }
  .nq-foot { margin: 12px 12px 0; flex-direction: column; gap: 4px; }
}

/* Live demo: reactions, reply buttons and find results, like the real app */
.qd-log .b.has-rx { margin-bottom: 14px; position: relative; }
.qd-log .b .rx { position: absolute; bottom: -12px; right: 10px; background: #fff; border-radius: 999px; padding: 1px 6px; font-size: 13px; line-height: 1.4; box-shadow: 0 1px 3px rgba(11,20,26,.25); animation: rxPop .35s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes rxPop { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.qd-log .wa-btns { display: grid; margin: 8px -9px -7px; border-top: 1px solid #E9EDEF; }
.qd-log .wa-btns button { background: transparent; border: 0; border-bottom: 1px solid #E9EDEF; padding: 9px 6px; font: 600 13.5px/1.2 var(--body); color: #0B8A7A; cursor: pointer; }
.qd-log .wa-btns button:last-child { border-bottom: 0; }
.qd-log .wa-btns button:disabled { color: #8696A0; cursor: default; }
.qd-log .hit { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-top: 6px; padding: 8px 10px; border: 0; border-radius: 8px; background: #F0F2F5; font: 13px/1.3 var(--body); color: #111B21; text-align: left; cursor: pointer; }
.qd-log .hit:hover { background: #E6F7D0; }
.qd-primary button[data-find] { white-space: nowrap; }
/* Live preview and the demo PDF view use the sample business's colours */
.qd-paper, .qd-body { container-type: inline-size; }
.nq-band { color: var(--bi, #fff); background: linear-gradient(115deg, transparent 62%, rgba(255,255,255,.09) 62%), var(--b) !important; }
.nq-biz small, .nq-total small, .nq-total span { color: inherit !important; opacity: .7; }
.nq-title em { background: color-mix(in srgb, var(--bi, #fff) 14%, transparent) !important; }
.nq-total, .nq-totals .nq-grand { color: var(--bi, #fff) !important; }
.nq-logo.img { background: #fff; padding: 4px; overflow: hidden; }
.nq-logo.img svg, .nq-logo.img img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.nq-stamp { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 1.5px dashed currentColor; border-radius: 6px; padding: 3px 8px; margin-bottom: 8px; opacity: .85; }
.nq-stamp.ok { border-style: solid; background: #D7F94A; color: #0B2027; border-color: #D7F94A; opacity: 1; }
.nq-wait { padding: 26px 22px 30px; display: grid; gap: 10px; }
.nq-wait span { height: 12px; border-radius: 6px; background: #EEF1F0; }
.nq-wait span.s { width: 60%; }
.nq-wait p { margin: 8px 0 0; color: #7C8A8D; font-size: 13px; }
@container (max-width: 520px) {
  .nq { font-size: 13px; border-radius: 14px; }
  .nq-band { padding: 18px 16px 48px; flex-direction: column; gap: 14px; }
  .nq-title { text-align: left; }
  .nq-title b { font-size: 30px; }
  .nq-card { grid-template-columns: 1fr 1fr; margin: -32px 12px 0; }
  .nq-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2px 12px; }
  .nq-total b { order: 2; margin: 0; font-size: 24px; }
  .nq-total span { order: 3; flex-basis: 100%; }
  .nq-scope { padding: 18px 12px 4px; }
  .nq th:first-child, .nq td:first-child, .nq th:nth-child(4), .nq td:nth-child(4) { display: none; }
  .nq-sum { grid-template-columns: 1fr; padding: 10px 12px 4px; }
  .nq-thanks { order: 2; }
  .nq-panels { grid-template-columns: 1fr; padding: 12px 12px 4px; }
  .nq-foot { margin: 12px 12px 0; flex-direction: column; gap: 4px; }
}

/* Demo brand chips show each sample business's real logo */
.qd-brands .bl-logo { width: 24px; height: 24px; flex: none; display: inline-grid; border-radius: 7px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 4px 10px -4px rgba(0,0,0,.5); }
.qd-brands .bl-logo svg { width: 100%; height: 100%; display: block; }
.qd-brands button { transition: border-color .2s, background .2s, transform .2s; }
.qd-brands button:hover { transform: translateY(-1px); border-color: rgba(215,249,74,.45); }

/* Make it yours: Quote / Invoice switch and the branded preview */
#miy-paper { container-type: inline-size; }
.miy-kind { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 12px; }
.miy-kind button { border: 0; background: transparent; color: var(--ink); font: 600 14px var(--body); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.miy-kind button[aria-pressed="true"] { background: #D7F94A; color: #0B2027; }
.miy-hint { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.miy-hint.mine { color: #5C6B0E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .miy-hint.mine { color: #D7F94A; } }
:root[data-theme="dark"] .miy-hint.mine { color: #D7F94A; }
