/* Doc 573 — /invoices (web/invoices.blade.php): send invoices, two ways (Monezzi's invoice / your own Stripe).
   Scoped under .ivq; class names the site CSS already uses carry an iv- prefix (hero, btn, eyebrow, amt, card, brand).
   Amounts: whole dollars in full size, cents small and raised (<sup>). */
.ivq {
  --ink: #0B1220; --ink-2: #334155; --muted: #5B6577; --line: #E4E9F0; --line-2: #EEF2F7;
  --soft: #F6F8FB; --card: #F4F6FA; --primary: #2563EB; --primary-ink: #1D4ED8; --primary-soft: #DBEAFE;
  --green: #059669; --green-2: #10B981; --green-soft: #D1FAE5; --amber-soft: #FEF3C7;
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px rgba(11,18,32,.06);
  --shadow-lg: 0 2px 6px rgba(11,18,32,.05), 0 24px 60px rgba(11,18,32,.12);
  color: var(--ink); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.ivq *, .ivq *::before, .ivq *::after { box-sizing: border-box; }
.ivq a { color: inherit; text-decoration: none; }
.ivq img { display: block; max-width: 100%; }
.ivq .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ivq h1, .ivq h2, .ivq h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; font-weight: 800; color: var(--ink); }
.ivq h2 { font-size: clamp(34px, 4.6vw, 58px); }
.ivq p { margin: 0; }
.ivq sup { font-size: .55em; font-weight: 700; vertical-align: super; line-height: 0; margin-inline-start: 1px; opacity: .8; }
.ivq .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 600px; margin-top: 18px; }
.ivq .iv-eyebrow { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--card); font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 20px; }
.ivq .iv-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.ivq .iv-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.35); }
.ivq .iv-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ivq .iv-btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.32); }
.ivq .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ivq .note { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px 16px; flex-wrap: wrap; }
.ivq .note span::before { content: "✓"; color: var(--green-2); font-weight: 800; margin-inline-end: 6px; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes tap { 0%,100% { transform: scale(.8); opacity: .3; } 50% { transform: scale(1); opacity: 1; } }
.ivq .iv-hero { padding: 64px 0 56px; background: radial-gradient(1200px 520px at 85% -10%, #D1FAE5 0, transparent 60%), radial-gradient(900px 500px at -10% 10%, #DBEAFE 0, transparent 55%); overflow: hidden; }
.ivq .hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.ivq .kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.ivq .iv-hero h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.045em; line-height: .98; }
.ivq .iv-hero h1 em { font-style: normal; background: linear-gradient(90deg, #059669, #10B981 45%, #2563EB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivq .iv-hero .lead { font-size: clamp(18px, 1.7vw, 21px); }
.ivq .hero-stage { position: relative; display: flex; justify-content: center; min-height: 640px; align-items: center; }
.ivq .toast { position: absolute; z-index: 4; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: float 6s ease-in-out infinite; }
.ivq .toast b { display: block; font-size: 14px; }
.ivq .toast small { color: var(--muted); font-size: 12.5px; }
.ivq .toast .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.ivq .toast .iv-amt { color: var(--green); font-weight: 900; margin-inline-start: 6px; }
.ivq .t1 { top: 10px; inset-inline-start: 0; }
.ivq .t2 { top: 290px; inset-inline-end: -10px; animation-delay: 1.5s; }
.ivq .t3 { bottom: 60px; inset-inline-start: 20px; animation-delay: 3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.ivq .band { position: relative; height: min(86vh, 800px); min-height: 520px; overflow: hidden; background: #04120D; color: #fff; display: flex; align-items: flex-end; }
.ivq .band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ivq .band-toggle { position: absolute; z-index: 3; inset-inline-end: 24px; bottom: 24px; width: 42px; height: 42px; border-radius: 99px; border: 1px solid rgba(255,255,255,.35); background: rgba(11,18,32,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ivq .band-toggle [hidden] { display: none; }
.ivq .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,12,9,.94) 0%, rgba(3,12,9,.4) 45%, rgba(3,12,9,.1) 75%), linear-gradient(90deg, rgba(3,12,9,.6), transparent 60%); }
.ivq .band .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.ivq .band .eb { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.ivq .band .eb::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: #34D399; box-shadow: 0 0 0 5px rgba(52,211,153,.25); animation: blink 1.4s infinite; }
.ivq .band h2 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.045em; line-height: .96; max-width: 1000px; }
.ivq .band h2 em { font-style: normal; background: linear-gradient(90deg,#6EE7B7,#A7F3D0 50%,#FDE68A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivq .band p { margin-top: 22px; font-size: clamp(17px, 1.7vw, 21px); color: rgba(255,255,255,.86); max-width: 640px; }
.ivq .ticker { position: absolute; z-index: 2; top: 110px; inset-inline-end: 6%; width: 340px; display: grid; gap: 10px; }
.ivq .tk { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px); animation: tk 12s ease-in-out infinite; }
.ivq .tk:nth-child(2) { animation-delay: 1.5s; }
.ivq .tk:nth-child(3) { animation-delay: 3s; }
.ivq .tk:nth-child(4) { animation-delay: 4.5s; }
.ivq .tk .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--green-soft); font-size: 17px; flex: 0 0 auto; }
.ivq .tk b { display: block; font-size: 14px; }
.ivq .tk small { color: var(--muted); font-size: 12px; }
.ivq .tk .iv-amt { margin-inline-start: auto; color: var(--green); font-weight: 900; white-space: nowrap; }
@keyframes tk { 0% { opacity: 0; transform: translateY(14px); } 8%, 75% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-8px); } }
.ivq section.blk { padding: 110px 0; }
.ivq .soft { background: var(--soft); }
.ivq .head2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.ivq .head2 > p { color: var(--ink-2); font-size: 19px; }
@keyframes prog { to { width: 100%; } }
.ivq .feat { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ivq .feat + .feat { margin-top: 110px; }
.ivq .fvis { border-radius: 28px; background: var(--card); padding: 36px; display: grid; place-items: center; min-height: 420px; position: relative; overflow: hidden; }
.ivq .bul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ivq .bul li { display: flex; gap: 12px; font-size: 16.5px; color: var(--ink-2); }
.ivq .bul li::before { content: "✓"; color: var(--green-2); font-weight: 900; }
.ivq .who { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 40px; }
.ivq .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.ivq .qa { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; margin-bottom: 12px; }
.ivq .qa summary { list-style: none; padding: 20px 22px; font-weight: 700; font-size: 17px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.ivq .qa summary::after { content: "+"; font-weight: 800; color: var(--muted); }
.ivq .qa[open] summary::after { content: "−"; }
.ivq .qa p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }
.ivq .cta { position: relative; overflow: hidden; color: #fff; padding: 120px 0; background: #04120D; }
.ivq .cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ivq .cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,12,9,.9), rgba(3,12,9,.35)); }
.ivq .cta .wrap { position: relative; z-index: 1; }
.ivq .cta h2 { max-width: 760px; }
.ivq .cta p { color: rgba(255,255,255,.85); font-size: 20px; max-width: 560px; margin-top: 20px; }
@media (max-width: 1100px) {
  .ivq .hero-in, .ivq .head2, .ivq .feat, .ivq .faq { grid-template-columns: 1fr; }
  .ivq .ticker { display: none; }
  .ivq .who { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .ivq .ctas .iv-btn { flex: 1 1 100%; height: 54px; }
  .ivq .hero-stage { min-height: 660px; }
  .ivq .t2 { inset-inline-end: 0; top: 330px; }
  .ivq .t1 { top: 20px; }
  .ivq section.blk { padding: 80px 0; }
  .ivq .fvis { padding: 20px; min-height: 0; }
  .ivq .who { grid-template-columns: repeat(4, 72%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .ivq .band { height: 88svh; }
}
@keyframes shake { 25% { translate: -4px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
@keyframes flash { 0% { background: #DCFCE7; } 100% { background: transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes scan { to { top: calc(100% - 13px); } }
.ivq .iv-hero { background: radial-gradient(1000px 520px at 90% -10%, #DBEAFE 0, transparent 60%), radial-gradient(900px 520px at -10% 110%, #D1FAE5 0, transparent 60%), #fff; }
.ivq .kicker.blue { color: #1E40AF; background: #DBEAFE; }
.ivq .iv-hero h1 em { background: linear-gradient(90deg, #2563EB, #0EA5E9 45%, #059669); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ivq .hero-stage { min-height: 660px; display: flex; justify-content: center; align-items: center; position: relative; padding: 78px 0 86px; }
.ivq .hero-stage .paper { max-width: 440px; }
.ivq .hero-stage .toast { max-width: 255px; }
.ivq .hero-stage .t1 { top: 0; inset-inline-start: 0; inset-inline-end: auto; bottom: auto; }
/* "Paid by card" sits top right (always above the fold, next to "Invoice sent"); the bank transfer note below. */
.ivq .hero-stage .t2 { top: 0; inset-inline-end: 0; inset-inline-start: auto; bottom: auto; }
.ivq .hero-stage .t3 { top: auto; bottom: 0; inset-inline-end: 30px; inset-inline-start: auto; }
.ivq .paper { width: 100%; max-width: 480px; background: #fff; border-radius: 14px; box-shadow: 0 30px 70px rgba(11,18,32,.18), 0 0 0 1px rgba(11,18,32,.05); padding: 26px 26px 18px; font-size: 12px; color: #374151; position: relative; overflow: hidden; }
.ivq .paper .ph { display: flex; justify-content: space-between; gap: 14px; }
.ivq .paper .from b { display: block; font-size: 15px; color: #111827; letter-spacing: -.01em; }
.ivq .paper .from small, .ivq .paper .to small { display: block; color: #6B7280; line-height: 1.45; }
.ivq .paper .meta { text-align: end; }
.ivq .paper .meta .ttl { font-size: 18px; font-weight: 900; letter-spacing: .08em; color: #111827; }
.ivq .paper .meta .ref { font-weight: 800; color: #111827; }
.ivq .paper .meta .d { color: #6B7280; margin-top: 2px; }
.ivq .stamp { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 4px; font-weight: 900; font-size: 11px; letter-spacing: 1px; }
.ivq .stamp.unpaid { background: #FEF3C7; color: #78350F; border: 1.5px solid #92400E; }
.ivq .stamp.paid { background: #D1FAE5; color: #065F46; border: 1.5px solid #059669; animation: stampin .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes stampin { 0% { transform: scale(2.2) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ivq .paper .due { color: #6B7280; margin-top: 4px; }
.ivq .paper .due b { color: #78350F; }
.ivq .paper .to { margin-top: 16px; }
.ivq .paper .lbl { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #9CA3AF; text-transform: uppercase; }
.ivq .paper .to b { display: block; color: #111827; font-size: 13px; }
.ivq .paper table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.ivq .paper th { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #6B7280; text-align: start; padding: 7px 0; border-bottom: 1.5px solid #111827; }
.ivq .paper th.r, .ivq .paper td.r { text-align: end; }
.ivq .paper td { padding: 8px 0; border-bottom: 1px solid #F3F4F6; vertical-align: top; }
.ivq .paper td b { display: block; color: #111827; }
.ivq .paper td small { color: #6B7280; }
.ivq .paper tr.add td { animation: rowin .4s ease; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ivq .paper .tots { margin-inline-start: auto; width: 210px; margin-top: 10px; }
.ivq .paper .tots div { display: flex; justify-content: space-between; padding: 3px 0; }
.ivq .paper .tots .g { border-top: 1.5px solid #111827; margin-top: 4px; padding-top: 7px; font-size: 15px; font-weight: 900; color: #111827; }
.ivq .paper .tots .pd { color: #065F46; font-weight: 800; }
.ivq .paper .htp { clear: both; margin-top: 14px; padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 8px; background: #F9FAFB; }
.ivq .paper .htp b { display: block; color: #111827; margin-bottom: 2px; }
.ivq .paper .htp .lnk { color: #1D4ED8; word-break: break-all; }
.ivq .paper .htp .iv-cardline { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; color: #111827; }
.ivq .paper .htp .iv-cardline i { font-style: normal; font-size: 10px; font-weight: 900; padding: 2px 5px; border-radius: 3px; background: #1E3A8A; color: #fff; }
.ivq .paper .foot { margin-top: 18px; padding-top: 10px; border-top: 1px solid #E5E7EB; font-size: 9.5px; color: #9CA3AF; display: flex; justify-content: space-between; }
.ivq .paper[dir="rtl"] { font-family: inherit; }
.ivq .paper sup { font-size: .6em; }
.ivq .routes { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.ivq .rtabs { display: grid; gap: 10px; }
.ivq .rtab { text-align: start; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; padding: 16px 16px 14px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .15s; }
.ivq .rtab:hover { transform: translateY(-1px); }
.ivq .rtab.on { border-color: #2563EB; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.ivq .rtab .rt-tag { font-size: 12px; font-weight: 800; color: var(--muted); }
.ivq .rtab b { display: block; font-size: 17px; margin-top: 3px; letter-spacing: -.01em; }
.ivq .rtab .fee { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: #047857; }
.ivq .rtab small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ivq .rstage { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.ivq .calc2 { background: #0B1220; color: #fff; border-radius: 22px; padding: 20px; }
.ivq .calc2 label { font-size: 13px; color: #94A3B8; font-weight: 700; display: block; }
.ivq .calc2 .amt-in { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 28px; font-weight: 900; }
.ivq .calc2 .amt-in input { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 2px solid #334155; color: #fff; font: inherit; outline: 0; padding: 2px 0; }
.ivq .calc2 .rr { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: #CBD5E1; }
.ivq .calc2 .rr b { color: #fff; white-space: nowrap; }
.ivq .calc2 .rr.k { font-size: 17px; color: #fff; border: 0; padding-top: 12px; }
.ivq .calc2 .rr.k b { color: #6EE7B7; font-size: 22px; }
.ivq .calc2 .flow2 { margin-top: 14px; display: grid; gap: 8px; }
.ivq .calc2 .flow2 div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #E2E8F0; }
.ivq .calc2 .flow2 i { font-style: normal; width: 26px; height: 26px; border-radius: 99px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 12px; font-weight: 900; flex: none; }
.ivq .calc2 .src { margin-top: 12px; font-size: 11.5px; color: #64748B; }
.ivq .calc2 sup { font-size: .55em; }
.ivq .ib { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ivq .ipanel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.ivq .isec + .isec { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.ivq .isec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.ivq .isec-h b { font-size: 15px; }
.ivq .isec-h small { color: var(--muted); font-size: 13px; font-weight: 600; }
.ivq .seg { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.ivq .seg button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.ivq .seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12); }
.ivq .contacts { display: grid; gap: 8px; }
.ivq .ct { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 9px 12px; cursor: pointer; background: #fff; font: inherit; text-align: start; color: var(--ink); }
.ivq .ct.on { border-color: #2563EB; background: #EFF6FF; }
.ivq .ct .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; flex: none; }
.ivq .ct b { display: block; font-size: 14.5px; }
.ivq .ct small { color: var(--muted); font-size: 12.5px; }
.ivq .ct .fl { margin-inline-start: auto; font-size: 18px; }
.ivq .lines { display: grid; gap: 8px; }
.ivq .ln { display: grid; grid-template-columns: 1fr 56px 96px 26px; gap: 8px; align-items: center; background: var(--soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; }
.ivq .ln .nm { min-width: 0; }
.ivq .ln input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13.5px; background: #fff; color: var(--ink); }
.ivq .ln input.t { font-weight: 700; }
.ivq .ln input.d { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.ivq .ln .src2 { font-size: 10.5px; font-weight: 800; color: #1D4ED8; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.ivq .ln .src2.free { color: #7C3AED; }
.ivq .ln button { border: 0; background: none; color: #94A3B8; font-size: 18px; cursor: pointer; }
.ivq .ladd { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ivq .ladd button { border: 1px dashed #93C5FD; background: #EFF6FF; color: #1D4ED8; border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ivq .ladd button.free { border-color: #C4B5FD; background: #F5F3FF; color: #5B21B6; }
.ivq .catalog { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ivq .catalog[hidden] { display: none; }
.ivq .catalog .srch { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: #94A3B8; background: #fff; }
.ivq .catalog button { display: flex; width: 100%; justify-content: space-between; gap: 10px; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; padding: 9px 12px; font: inherit; font-size: 14px; cursor: pointer; text-align: start; color: var(--ink); }
.ivq .catalog button:hover { background: #F8FAFC; }
.ivq .catalog button small { display: block; color: var(--muted); font-size: 12px; }
.ivq .catalog button em { font-style: normal; font-weight: 800; white-space: nowrap; }
.ivq .dates { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ivq .dates input[type=date] { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font: inherit; font-size: 13.5px; }
.ivq .ipay textarea, .ivq .ipay input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13.5px; margin-top: 6px; }
.ivq .ipay textarea { min-height: 70px; resize: vertical; }
.ivq .ipay .note2 { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ivq .ibtns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ivq .ibtns button { border: 0; border-radius: 14px; height: 50px; padding: 0 20px; font: inherit; font-weight: 800; cursor: pointer; }
.ivq .ibtns .go { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.35); flex: 1; }
.ivq .ibtns .gh { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.ivq .ibtns .go:disabled { opacity: .5; cursor: not-allowed; }
.ivq .iprev { position: sticky; top: 92px; }
.ivq .iprev .paper { max-width: none; }
.ivq .quota { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.ivq .flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.ivq .fcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; opacity: .45; transition: opacity .4s, transform .4s; }
.ivq .fcard.on { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ivq .fcard .fh { padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; font-weight: 800; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.ivq .fcard .fb { padding: 16px; font-size: 13.5px; flex: 1; }
.ivq .mail .subj { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.ivq .mail pre { white-space: pre-wrap; font: inherit; color: var(--ink-2); margin: 10px 0 0; line-height: 1.55; }
.ivq .mail .att { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-weight: 700; font-size: 12.5px; }
.ivq .paypg .pay-amt { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.ivq .paypg .pay-amt sup { font-size: .5em; }
.ivq .paypg .who { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.ivq .paypg .cardf { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: #94A3B8; display: flex; justify-content: space-between; }
.ivq .paypg .paybtn { margin-top: 10px; width: 100%; height: 46px; border: 0; border-radius: 12px; background: #111827; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.ivq .paypg .instr { margin-top: 12px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; font-size: 13px; }
.ivq .paypg .marknote { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.ivq .done2 { text-align: center; }
.ivq .done2 .ck { width: 54px; height: 54px; border-radius: 99px; background: #D1FAE5; color: #047857; display: grid; place-items: center; font-size: 26px; font-weight: 900; margin: 6px auto 10px; }
.ivq .done2 b { display: block; font-size: 17px; }
.ivq .done2 small { color: var(--muted); }
.ivq .done2 ul { list-style: none; padding: 0; margin: 12px 0 0; text-align: start; display: grid; gap: 6px; font-size: 13px; }
.ivq .done2 li::before { content: "✓ "; color: #10B981; font-weight: 900; }
.ivq .ilist { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ivq .ilist-top { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.ivq .ilist-top .search { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; color: #94A3B8; font-size: 13.5px; }
.ivq .ilist table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ivq .ilist th { text-align: start; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 16px; background: #F8FAFC; }
.ivq .ilist td { padding: 12px 16px; border-top: 1px solid var(--line-2); }
.ivq .ilist td.r, .ivq .ilist th.r { text-align: end; }
.ivq .pill2 { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.ivq .pill2.unp { background: #FEF3C7; color: #92400E; }
.ivq .pill2.pd { background: #D1FAE5; color: #065F46; }
.ivq .pill2.cn { background: #F1F5F9; color: #64748B; }
.ivq .od { color: #B91C1C; font-weight: 800; }
.ivq .acts { display: flex; gap: 6px; justify-content: flex-end; }
.ivq .acts span { border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.ivq .ilist-foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.ivq .cp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ivq .cpc { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #fff; }
.ivq .cpc h3 { font-size: 22px; letter-spacing: -.02em; }
.ivq .cpc > p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.ivq .cpc .fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ivq .cpc .fields span { font-size: 12.5px; font-weight: 700; background: var(--soft); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 10px; color: var(--ink-2); }
.ivq .cpc .mini { margin-top: 14px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.ivq .cpc .mini div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: 13.5px; border-top: 1px solid var(--line-2); }
.ivq .cpc .mini div:first-child { border-top: 0; }
.ivq .cpc .mini small { color: var(--muted); }
.ivq .world { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ivq .wl { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; }
.ivq .wl i { font-style: normal; font-size: 22px; }
.ivq .wl b { display: block; margin-top: 6px; }
.ivq .wl small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 1100px) {
  .ivq .routes, .ivq .ib, .ivq .rstage { grid-template-columns: 1fr; }
  .ivq .iprev { position: static; }
  .ivq .flow3 { grid-template-columns: 1fr; }
  .ivq .world { grid-template-columns: 1fr 1fr; }
  .ivq .hero-stage { justify-content: center; min-height: 0; padding: 20px 0; }
  .ivq .hero-stage .toast { display: none; }
}
@media (max-width: 760px) {
  .ivq .cp { grid-template-columns: 1fr; }
  .ivq .paper { padding: 18px 16px 14px; font-size: 11.5px; }
  .ivq .paper .ph { flex-direction: column-reverse; }
  .ivq .paper .meta { text-align: start; }
  .ivq .ln { grid-template-columns: 70px 1fr 26px; gap: 6px; }
  .ivq .ln .nm { grid-column: 1 / -1; }
  .ivq .ilist .hide-m { display: none; }
}
.ivq .hero-in > *, .ivq .routes > *, .ivq .rstage > *, .ivq .ib > *, .ivq .cp > *, .ivq .flow3 > * { min-width: 0; }
.ivq .paper .from .iv-brand { display: block; font-size: 17px; font-weight: 900; color: #111827; letter-spacing: -.01em; }
.ivq .paper .supby { margin-top: 6px; display: inline-block; font-size: 10.5px; font-weight: 800; color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 99px; padding: 2px 8px; }
.ivq .paper .htp .wire { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #E5E7EB; }
.ivq .paper .htp .wire div { display: flex; gap: 8px; }
.ivq .paper .htp .wire span { color: #6B7280; min-width: 84px; }
.ivq .paper .htp .wire .wr { font-weight: 800; color: #111827; }
.ivq .seg button[disabled] { opacity: .4; cursor: not-allowed; }
.ivq .seg-note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ivq .calc2 .ptog { display: flex; gap: 6px; margin-top: 14px; }
.ivq .calc2 .ptog button { flex: 1; border: 1px solid #334155; background: transparent; color: #CBD5E1; border-radius: 10px; padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ivq .calc2 .ptog button.on { background: #fff; color: #0B1220; border-color: #fff; }
.ivq .pill2.mz { background: #EDE9FE; color: #5B21B6; margin-inline-start: 4px; }
.ivq .paypg .sold { margin-top: 6px; font-size: 12px; font-weight: 700; color: #047857; }
.ivq .paypg .or { margin: 12px 0 0; text-align: center; font-size: 12px; color: #94A3B8; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ivq .paper .mznote { margin-top: 10px; font-size: 10px; color: #6B7280; line-height: 1.45; }
.ivq .paypg .wbtn { margin-top: 8px; width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 800; color: var(--ink-2); cursor: pointer; }

/* page-only details */
.ivq .band h2, .ivq .cta h2 { color: #fff; }
.ivq .band-toggle [hidden] { display: none; }
.ivq .mail .to-line { color: var(--muted); display: block; }
.ivq .ln .t.ro { display: flex; align-items: center; min-height: 38px; padding: 0 2px; font-weight: 700; color: var(--ink); }
.ivq .ladd button.lnk { border-style: solid; background: none; text-decoration: underline; text-underline-offset: 3px; }
.ivq .ladd button.lnk::after { content: " \2197"; text-decoration: none; }
.ivq .quota.bad, .ivq .seg-note.bad { color: #B91C1C; font-weight: 700; }
.ivq .calc2 .rmsg { margin-top: 10px; font-size: 13px; font-weight: 700; color: #FCA5A5; }
.ivq .paper .htp.paybox { border-color: #BFDBFE; background: #EFF6FF; }
.ivq .paper .htp.paybox b { color: #1E3A8A; }
.ivq .paper .htp + .htp { margin-top: 8px; }
.ivq .paper.dim { opacity: .35; filter: grayscale(1); transition: opacity .2s; }
.ivq input[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.ivq .ibtns .go:disabled { opacity: .45; cursor: not-allowed; }
.ivq [data-new-note]:empty, .ivq [data-lines-note]:empty { display: none; }
.ivq .bul { margin-top: 18px; }
.ivq .head2 p a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.ivq #build, .ivq #routes { scroll-margin-top: 90px; }
.ivq button:focus-visible, .ivq input:focus-visible, .ivq textarea:focus-visible { outline: 2px solid #93C5FD; outline-offset: 2px; }
@media (max-width: 760px) { .ivq { font-size: 16px; } .ivq .wrap { padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) { .ivq *, .ivq *::before, .ivq *::after { animation: none !important; transition: none !important; } }
.ivq .hero-in > *, .ivq .routes > *, .ivq .rstage > *, .ivq .ib > *, .ivq .cp > *, .ivq .flow3 > *, .ivq .feat > * { min-width: 0; }
