@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --ink: #1d201d;
  --muted: #767c76;
  --faint: #a3a8a3;
  --canvas: #f2f3ef;
  --card: #fff;
  --line: #e2e5df;
  --coral: #ff6d55;
  --coral-soft: #fff0ec;
  --blue: #4f72e8;
  --blue-soft: #eef2ff;
  --lime: #dff35b;
  --violet: #7556c9;
  --violet-soft: #f1edfb;
  --green: #188166;
  --shadow: 0 15px 45px rgba(38, 44, 38, .055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--canvas); font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, label { cursor: pointer; }
a { color: inherit; }
svg { display: block; fill: currentColor; }
[hidden] { display: none !important; }

.grid-decoration { position: fixed; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(57,64,56,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(57,64,56,.045) 1px,transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom,black,transparent 68%); }
.grid-decoration::before { position: absolute; top: 180px; right: -130px; width: 380px; height: 380px; border: 1px solid rgba(255,109,85,.24); border-radius: 50%; content: ''; }
.grid-decoration::after { position: absolute; top: 60px; left: -210px; width: 430px; height: 430px; border: 1px solid rgba(79,114,232,.17); border-radius: 50%; content: ''; }

.topbar { display: grid; width: min(1200px,calc(100% - 48px)); height: 78px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #daddd7; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; padding: 6px; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 10px; background: var(--ink); }
.brand-mark i { border-radius: 2px; background: white; }
.brand-mark i:nth-child(2) { border-radius: 2px 5px 2px 2px; background: var(--coral); }
.brand-mark i:nth-child(3) { background: var(--lime); }
.brand strong { font: 700 20px/1 'Manrope',sans-serif; letter-spacing: -.8px; }
.topbar-center { display: inline-flex; padding: 8px 12px; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .55px; text-transform: uppercase; border: 1px solid #dde0db; border-radius: 99px; background: rgba(255,255,255,.56); }
.session-dot { width: 6px; height: 6px; border-radius: 50%; background: #3ca47f; box-shadow: 0 0 0 3px #dcf0e9; }
.topbar-actions { display: flex; justify-self: end; align-items: center; gap: 19px; color: var(--muted); font-size: 10px; }
.topbar-actions a { text-decoration: none; }
.topbar-actions a:hover { color: var(--ink); }
.topbar-actions button { display: inline-flex; height: 33px; padding: 0 11px; align-items: center; gap: 6px; color: var(--ink); font-size: 9px; font-weight: 600; border: 1px solid #d9dcd7; border-radius: 8px; background: white; }
.topbar-actions button svg { width: 14px; height: 14px; }

.page-shell { width: min(1200px,calc(100% - 48px)); margin: 0 auto; padding: 55px 0 66px; }
.page-heading { display: flex; margin-bottom: 31px; align-items: flex-end; justify-content: space-between; }
.eyebrow { display: block; margin-bottom: 9px; color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.page-heading h1 { margin: 0; font: 600 clamp(31px,4vw,46px)/1.07 'Manrope',sans-serif; letter-spacing: -2px; }
.page-heading h1 em { color: var(--coral); font-style: normal; }
.page-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }

.module-grid { display: grid; grid-template-columns: 1fr; gap: 17px; align-items: start; }
.module { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.services-module { grid-column: 1; grid-row: auto; order: 1; }
.payer-module { grid-column: 1; grid-row: auto; order: 2; }
.payment-module { grid-column: 1; grid-row: auto; order: 3; }
.total-module { position: relative; grid-column: 1; grid-row: auto; order: 4; }
.module-head { display: flex; min-height: 77px; padding: 18px 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.module-head--compact { min-height: 72px; padding: 16px 18px; }
.module-title { display: flex; min-width: 0; align-items: center; gap: 11px; }
.module-index { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; color: var(--ink); font: 700 9px 'Manrope',sans-serif; border-radius: 9px; }
.module-index--coral { background: var(--coral-soft); color: #d94d38; }
.module-index--blue { color: #3456c4; background: var(--blue-soft); }
.module-index--lime { background: var(--lime); }
.module-index--violet { color: #6542bc; background: var(--violet-soft); }
.module-title h2 { margin: 0; font: 600 14px/1.2 'Manrope',sans-serif; letter-spacing: -.3px; }
.module-title p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.module-badge { padding: 6px 8px; color: var(--muted); font-size: 8px; font-weight: 600; border-radius: 6px; background: #f3f4f1; }
.module-badge b { color: var(--ink); }

.services-list { padding: 0 20px; }
.service-row { display: grid; grid-template-columns: 36px minmax(180px,1fr) 82px 91px 83px 21px; min-height: 82px; gap: 9px; align-items: center; border-bottom: 1px solid var(--line); transition: opacity .2s,transform .2s; }
.service-row:last-child { border-bottom: 0; }
.service-row.is-removing { opacity: 0; transform: translateX(-8px); }
.service-symbol { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; }
.service-symbol svg { width: 17px; height: 17px; }
.service-symbol--coral { color: #d85742; background: var(--coral-soft); }
.service-symbol--blue { color: #4666d1; background: var(--blue-soft); }
.service-symbol--lime { color: #5e6b16; background: #f2f8ca; }
.service-name { min-width: 0; }
.service-name strong,.service-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-name strong { font-size: 10px; font-weight: 600; }
.service-name span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.unit-price { color: var(--ink); font-size: 9px; text-align: right; white-space: nowrap; }
.unit-price small { color: var(--faint); }
.quantity { display: grid; grid-template-columns: 27px 34px 27px; height: 29px; margin: auto; align-items: center; border: 1px solid #daddd7; border-radius: 7px; background: #fafbf9; }
.quantity button { height: 100%; padding: 0; color: var(--muted); border: 0; background: transparent; }
.quantity button:hover { color: var(--coral); background: var(--coral-soft); }
.quantity input { width: 100%; padding: 0; color: var(--ink); font-size: 10px; font-weight: 600; text-align: center; border: 0; outline: none; background: transparent; -moz-appearance: textfield; }
.quantity input::-webkit-inner-spin-button { display: none; }
.line-total { font-size: 10px; text-align: right; white-space: nowrap; }
.remove-service { display: grid; width: 21px; height: 21px; padding: 0; place-items: center; color: #b1b5af; border: 0; border-radius: 5px; background: transparent; }
.remove-service:hover { color: #d14d42; background: #fff0ee; }
.remove-service svg { width: 14px; height: 14px; }

.icon-button { display: grid; width: 29px; height: 29px; padding: 0; place-items: center; color: var(--blue); border: 1px solid #dce2f6; border-radius: 8px; background: var(--blue-soft); }
.icon-button:hover { background: #e3eaff; }
.icon-button svg { width: 14px; height: 14px; }
.payer-view { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; padding: 20px; align-items: center; gap: 14px; }
.payer-avatar { display: grid; width: 46px; height: 46px; place-items: center; color: white; font-size: 11px; font-weight: 700; border-radius: 14px; background: linear-gradient(145deg,#6f8bf1,#4b68d2); box-shadow: 0 7px 18px rgba(79,114,232,.18); }
.payer-data strong,.payer-data span,.payer-data a { display: block; }
.payer-data strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.payer-data span { width: max-content; margin-top: 5px; padding: 3px 6px; color: #526575; font-size: 7px; font-weight: 600; border-radius: 4px; background: #eef1f3; }
.payer-data a { overflow: hidden; margin-top: 9px; color: var(--blue); font-size: 9px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.verified { display: flex; margin: 0; padding-left: 20px; align-items: center; gap: 6px; color: var(--green); font-size: 8px; font-weight: 600; border-left: 1px solid var(--line); }
.verified svg { width: 14px; height: 14px; }
.payer-editor { padding: 15px 18px 18px; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 12px; padding: 3px; border-radius: 7px; background: #eff1ee; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: grid; height: 29px; place-items: center; color: var(--muted); font-size: 8px; font-weight: 600; border-radius: 5px; }
.type-switch input:checked + span { color: var(--ink); background: white; box-shadow: 0 2px 6px rgba(36,42,36,.06); }
.editor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
.editor-fields .wide { grid-column: 1/-1; }
.editor-fields--contact { padding-top: 10px; border-top: 1px solid var(--line); }
.editor-fields label > span,.card-fields label > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 7px; font-weight: 600; }
.editor-fields input,.card-fields input { width: 100%; height: 33px; padding: 0 9px; color: var(--ink); font-size: 8px; border: 1px solid #dadeD8; border-radius: 6px; outline: none; background: white; transition: border .15s,box-shadow .15s; }
.editor-fields input:focus,.card-fields input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,114,232,.08); }
.editor-actions { display: flex; margin-top: 10px; justify-content: flex-end; gap: 6px; }
.editor-actions button { height: 31px; padding: 0 10px; font-size: 8px; font-weight: 600; border-radius: 6px; }
.cancel-edit { color: var(--muted); border: 1px solid var(--line); background: white; }
.save-edit { color: white; border: 0; background: var(--blue); }

.total-module { background: white; }
.total-shape { position: absolute; top: 0; right: 0; width: 80px; height: 80px; overflow: hidden; pointer-events: none; }
.total-shape i { position: absolute; border-radius: 50%; }
.total-shape i:nth-child(1) { top: -26px; right: -22px; width: 68px; height: 68px; background: var(--lime); }
.total-shape i:nth-child(2) { top: 18px; right: 6px; width: 29px; height: 29px; background: var(--coral); }
.total-shape i:nth-child(3) { top: 36px; right: 35px; width: 14px; height: 14px; background: var(--ink); }
.module-head--total { min-height: 72px; padding: 16px 18px; padding-right: 77px; }
.total-content { display: grid; grid-template-columns: minmax(170px,.8fr) minmax(210px,1fr) minmax(270px,1.15fr); grid-template-rows: auto auto auto auto; gap: 8px 30px; padding: 23px 20px; align-items: start; }
.total-label { display: block; grid-column: 1; grid-row: 1; align-self: end; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.total-content > strong { display: block; grid-column: 1; grid-row: 2 / 5; margin-top: 2px; font: 600 34px/1 'Manrope',sans-serif; letter-spacing: -1.4px; }
.total-content dl { display: grid; grid-column: 2; grid-row: 1 / 5; gap: 12px; margin: 0; padding: 9px 0; align-self: stretch; align-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total-content dl div { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }
.total-content dd { margin: 0; color: var(--ink); font-weight: 600; }
.total-content dd.free { color: var(--green); }
.selected-method { display: flex; grid-column: 3; grid-row: 1; margin: 0; padding: 9px; align-items: center; gap: 8px; border-radius: 8px; background: #f3f4f1; }
.selected-method > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: var(--violet); border-radius: 7px; background: white; }
.selected-method > span svg { width: 16px; height: 16px; }
.selected-method small,.selected-method strong { display: block; }
.selected-method small { margin-bottom: 2px; color: var(--faint); font-size: 6px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.selected-method strong { font-size: 8px; }
.agreement { position: relative; display: flex; grid-column: 3; grid-row: 2; margin: 2px 0; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 7px; line-height: 1.45; }
.agreement input { position: absolute; opacity: 0; }
.check { display: grid; width: 15px; height: 15px; flex: 0 0 auto; place-items: center; color: transparent; border: 1px solid #d4d8d2; border-radius: 4px; }
.check svg { width: 10px; height: 10px; }
.agreement input:checked + .check { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.agreement a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #c2c6c0; }
.pay-button { display: flex; grid-column: 3; grid-row: 3; width: 100%; height: 43px; padding: 0 13px; align-items: center; justify-content: center; gap: 8px; color: white; font-size: 9px; font-weight: 600; border: 0; border-radius: 9px; background: var(--ink); box-shadow: 0 9px 20px rgba(29,32,29,.16); transition: transform .15s,background .15s; }
.pay-button:hover { background: #343834; transform: translateY(-1px); }
.pay-button:disabled { cursor: not-allowed; opacity: .4; box-shadow: none; transform: none; }
.pay-button svg { width: 14px; height: 14px; color: var(--lime); }
.security { display: flex; grid-column: 3; grid-row: 4; margin-top: 3px; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 6px; line-height: 1.4; }
.security svg { width: 14px; height: 14px; color: var(--green); }
.security b { color: var(--ink); font-weight: 600; letter-spacing: .4px; }

.payment-module .module-head { min-height: 75px; }
.instant-badge { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 8px; font-weight: 600; }
.instant-badge i { width: 6px; height: 6px; border-radius: 50%; background: #3ca47f; box-shadow: 0 0 0 3px #e3f2ed; }
.payment-layout { padding: 17px 20px 20px; }
.payment-methods { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.payment-methods input { position: absolute; opacity: 0; }
.method { position: relative; display: flex; min-height: 61px; padding: 10px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; transition: border .15s,transform .15s,box-shadow .15s; }
.method:hover { transform: translateY(-1px); border-color: #c6cbc4; }
.payment-methods input:checked + .method { border-color: var(--coral); box-shadow: 0 0 0 2px rgba(255,109,85,.09); }
.method-icon { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 8px; }
.method-icon svg { width: 18px; height: 18px; }
.method-icon--bank { color: #39785f; background: #eaf4f0; }
.method-icon--paypal { color: white; font: italic 700 17px Arial; background: #0874cf; }
.method-icon--card { color: #6448ae; background: var(--violet-soft); }
.method-icon--crypto { color: #a46720; background: #fff1dc; }
.method strong,.method small { display: block; }
.method strong { font-size: 9px; }
.method small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.method > i { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border: 1px solid #d0d4cf; border-radius: 50%; }
.payment-methods input:checked + .method > i { border: 3px solid var(--coral); }
.method-details { margin-top: 13px; min-height: 104px; border: 1px solid var(--line); border-radius: 10px; background: #f8f9f6; }
.card-details { display: grid; grid-template-columns: 194px 1fr; gap: 18px; padding: 16px; }
.card-visual { position: relative; overflow: hidden; height: 103px; padding: 17px; color: white; border-radius: 11px; background: linear-gradient(135deg,#2d302c,#171916); box-shadow: 0 10px 24px rgba(29,32,29,.16); }
.card-visual::after { position: absolute; right: -27px; bottom: -40px; width: 110px; height: 110px; border: 18px solid var(--coral); border-radius: 50%; content: ''; opacity: .9; }
.card-chip { display: block; width: 22px; height: 16px; border-radius: 4px; background: var(--lime); }
.card-visual b { position: absolute; bottom: 17px; left: 17px; z-index: 1; font-size: 10px; letter-spacing: 1px; }
.card-visual small { position: absolute; top: 18px; right: 16px; z-index: 1; font-size: 6px; font-weight: 700; letter-spacing: .8px; }
.card-visual > i { position: absolute; right: 16px; bottom: 16px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.8); }
.card-visual > i:last-child { right: 27px; background: rgba(255,109,85,.85); }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; align-content: center; }
.card-fields .field-wide { grid-column: 1/-1; }
.card-fields input { height: 35px; font-size: 9px; background: white; }
.info-details { display: flex; padding: 20px; align-items: center; gap: 13px; }
.info-symbol { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--green); font-size: 18px; border-radius: 10px; background: #e7f3ef; }
.info-symbol--paypal { color: white; font: italic 700 19px Arial; background: #0874cf; }
.info-details strong { font-size: 10px; }
.info-details p { margin: 5px 0 0; color: var(--muted); font-size: 8px; }
.crypto-details { padding: 16px; }
.crypto-details > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 8px; }
.crypto-details > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.crypto-details input { position: absolute; opacity: 0; }
.crypto-details b { display: flex; padding: 11px; align-items: center; justify-content: space-between; font-size: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.crypto-details input:checked + b { border-color: var(--coral); background: var(--coral-soft); }
.crypto-details small { color: var(--muted); font-size: 7px; font-weight: 500; }

/* Readable typography and larger controls */
body { font-size: 16px; }
.topbar-center { font-size: 12px; }
.topbar-actions { font-size: 13px; }
.topbar-actions button { height: 38px; padding-right: 14px; padding-left: 14px; font-size: 12px; }
.eyebrow { font-size: 11px; }
.page-heading > p { font-size: 14px; }
.module-head { min-height: 92px; padding: 22px 24px; }
.module-head--compact,.module-head--total { min-height: 86px; }
.module-index { width: 38px; height: 38px; font-size: 11px; }
.module-title h2 { font-size: 18px; }
.module-title p { margin-top: 5px; font-size: 12px; }
.module-badge { padding: 7px 10px; font-size: 11px; }
.services-list { padding-right: 24px; padding-left: 24px; }
.service-row { min-height: 98px; grid-template-columns: 42px minmax(210px,1fr) 105px 105px 105px 25px; gap: 12px; }
.service-symbol { width: 40px; height: 40px; }
.service-symbol svg { width: 20px; height: 20px; }
.service-name strong { font-size: 14px; }
.service-name span { margin-top: 5px; font-size: 12px; }
.unit-price { font-size: 13px; }
.quantity { grid-template-columns: 31px 38px 31px; height: 36px; }
.quantity input { font-size: 13px; }
.line-total { font-size: 14px; }
.remove-service { width: 25px; height: 25px; }
.remove-service svg { width: 16px; height: 16px; }
.payer-view { padding: 24px; }
.payer-avatar { width: 52px; height: 52px; font-size: 14px; }
.payer-data strong { font-size: 15px; }
.payer-data span { margin-top: 6px; padding: 4px 8px; font-size: 11px; }
.payer-data a { margin-top: 10px; font-size: 13px; }
.verified { font-size: 12px; }
.verified svg { width: 17px; height: 17px; }
.icon-button { width: 36px; height: 36px; }
.icon-button svg { width: 17px; height: 17px; }
.payer-editor { padding: 20px 24px 24px; }
.type-switch span { height: 38px; font-size: 12px; }
.editor-fields { gap: 12px; margin-bottom: 12px; }
.editor-fields label > span,.card-fields label > span { margin-bottom: 6px; font-size: 11px; }
.editor-fields input,.card-fields input { height: 42px; padding-right: 12px; padding-left: 12px; font-size: 13px; }
.editor-actions button { height: 40px; padding-right: 15px; padding-left: 15px; font-size: 12px; }
.total-content { padding: 28px 24px; }
.total-label { font-size: 11px; }
.total-content > strong { font-size: 40px; }
.total-content dl { gap: 15px; }
.total-content dl div { font-size: 12px; }
.selected-method { padding: 12px; }
.selected-method > span { width: 36px; height: 36px; }
.selected-method > span svg { width: 19px; height: 19px; }
.selected-method small { font-size: 11px; }
.selected-method strong { font-size: 12px; }
.agreement { font-size: 11px; }
.check { width: 18px; height: 18px; }
.pay-button { height: 52px; font-size: 13px; }
.pay-button svg { width: 17px; height: 17px; }
.security { font-size: 11px; }
.security svg { width: 17px; height: 17px; }
.instant-badge { font-size: 11px; }
.payment-layout { padding: 22px 24px 24px; }
.payment-methods { gap: 12px; }
.method { min-height: 78px; padding: 13px; gap: 11px; }
.method-icon { width: 40px; height: 40px; }
.method-icon svg { width: 21px; height: 21px; }
.method strong { font-size: 14px; }
.method small { margin-top: 4px; font-size: 11px; }
.method-details { min-height: 125px; margin-top: 17px; }
.card-details { grid-template-columns: 215px 1fr; padding: 20px; }
.card-visual { height: 118px; }
.card-visual b { font-size: 12px; }
.card-visual small { font-size: 11px; }
.card-fields input { height: 43px; font-size: 13px; }
.info-details { padding: 24px; }
.info-symbol { width: 48px; height: 48px; font-size: 20px; }
.info-details strong { font-size: 14px; }
.info-details p { margin-top: 6px; font-size: 12px; }
.crypto-details { padding: 20px; }
.crypto-details > span { margin-bottom: 11px; font-size: 11px; }
.crypto-details b { padding: 14px; font-size: 13px; }
.crypto-details small { font-size: 11px; }

.footer { display: flex; width: min(1200px,calc(100% - 48px)); min-height: 74px; margin: 0 auto; align-items: center; justify-content: space-between; color: var(--faint); font-size: 8px; border-top: 1px solid #daddd7; }
.footer div { display: flex; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.toast { position: fixed; right: 21px; bottom: 21px; z-index: 10; display: flex; width: min(340px,calc(100% - 42px)); padding: 13px; align-items: center; gap: 10px; visibility: hidden; opacity: 0; border: 1px solid #dfe2dc; border-radius: 11px; background: white; box-shadow: 0 18px 50px rgba(31,37,31,.15); transform: translateY(12px); transition: .22s; }
.toast.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.toast > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--green); border-radius: 9px; background: #e8f4ef; }
.toast svg { width: 17px; height: 17px; }
.toast strong,.toast small { display: block; }
.toast strong { font-size: 13px; }
.toast small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.footer { font-size: 11px; }

@media (max-width: 800px) {
  .topbar,.page-shell,.footer { width: calc(100% - 28px); }
  .topbar { height: 68px; grid-template-columns: 1fr auto; }
  .topbar-center { display: none; }
  .topbar-actions a { display: none; }
  .page-shell { padding: 38px 0 47px; }
  .page-heading > p { display: none; }
  .module-grid { grid-template-columns: 1fr; }
  .services-module,.payer-module,.total-module,.payment-module { grid-column: 1; }
  .total-content { display: block; padding: 19px 18px 18px; }
  .total-content > strong { margin-top: 7px; font-size: 34px; }
  .total-content dl { display: grid; margin: 17px 0 0; padding: 13px 0; }
  .selected-method { display: flex; margin-top: 13px; }
  .agreement { display: flex; margin: 13px 0; }
  .pay-button { display: flex; }
  .security { display: flex; margin-top: 12px; }
  .service-row { position: relative; grid-template-columns: 36px 1fr auto; gap: 8px; min-height: 0; padding: 15px 25px 15px 0; }
  .service-name { grid-column: 2/-1; }
  .unit-price { display: none; }
  .quantity { grid-column: 2; justify-self: start; margin: 3px 0 0; }
  .line-total { grid-column: 3; grid-row: 2; align-self: center; }
  .remove-service { position: absolute; top: 14px; right: 0; }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .card-details { grid-template-columns: 1fr; }
  .card-visual { display: none; }
}

@media (max-width: 430px) {
  .page-heading h1 { font-size: 30px; }
  .module-head { padding: 16px; }
  .module-title p { display: none; }
  .payer-view { grid-template-columns: 46px minmax(0,1fr); }
  .verified { grid-column: 1/-1; margin-top: 4px; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .services-list { padding: 0 16px; }
  .payment-layout { padding: 14px 16px 17px; }
  .payment-methods { gap: 6px; }
  .method { min-height: 57px; padding: 8px; }
  .method-icon { width: 29px; height: 29px; }
  .method small { display: none; }
  .crypto-details > div { grid-template-columns: 1fr; }
  .editor-fields { grid-template-columns: 1fr; }
  .editor-fields .wide { grid-column: auto; }
  .footer div { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
