@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-medium.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-bold.ttf") format("truetype");
}
:root {
  --plum: #271c28;
  --pink: #e8b8d6;
  --ink: #302733;
  --muted: #716875;
  --line: #e6e1e7;
  --field: #fdfcfd;
  --surface: #ffffff;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--plum); color: #fff; font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: 28px; line-height: 1.25; }
h2 { font-size: 18px; line-height: 1.4; }
h3 { font-size: 14px; line-height: 1.5; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid #b06b97; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: -70px; left: 16px; background: #fff; color: var(--plum); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { display: inline-flex; width: 20px; height: 20px; font-size: 20px; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; }
.icon-14 { width: 14px; height: 14px; font-size: 14px; }
.icon-15 { width: 15px; height: 15px; font-size: 15px; }
.icon-16 { width: 16px; height: 16px; font-size: 16px; }
.icon-18 { width: 18px; height: 18px; font-size: 18px; }
.icon-26 { width: 26px; height: 26px; font-size: 26px; }
.icon-28 { width: 28px; height: 28px; font-size: 28px; }
.site-header { border-bottom: 1px solid #ffffff17; }
.header-inner { height: 80px; max-width: 1080px; padding: 0 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; flex-shrink: 0; }
.brand-wordmark { display: inline-flex; align-items: baseline; gap: .22em; font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 26px; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; text-transform: none; color: #fff; }
.brand-upay { font-weight: 700; }
.brand-feevia { font-weight: 500; }
.site-header nav { display: flex; gap: 8px; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; color: #d1c2d0; border-radius: 8px; font-size: 13px; }
.site-header nav a:hover { background: #ffffff08; color: #fff; }
.site-header nav a[aria-current] { color: var(--pink); background: #ffffff0a; font-weight: 600; }
.demo-banner { padding: 8px 20px; background: #f2e1ed; color: #62435a; font-size: 12px; text-align: center; }
#main { outline: none; display: flow-root; flex: 1 0 auto; min-height: 0; }
.site-footer { width: 100%; flex-shrink: 0; max-width: 1080px; margin: auto; padding: 22px 28px 28px; display: flex; align-items: center; justify-content: space-between; color: #c2adbd; font-size: 12px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.home-shell { width: min(100% - 40px, 492px); margin: 44px auto 20px; }
.card { background: var(--surface); color: var(--ink); border: 1px solid #e9e3e9; border-radius: var(--radius); padding: 28px; }
.lookup-panel { padding: 30px 32px; }
.lookup-panel h1 { margin-bottom: 25px; font-size: 26px; }
label, .field-label { display: block; margin: 19px 0 8px; font-size: 13px; font-weight: 500; color: #4e4352; }
input, select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #dcd5df; border-radius: 8px; padding: 12px 13px; background: var(--field); color: var(--ink); outline: none; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover { border-color: #c3b7c7; }
input:focus, select:focus { border-color: #93617f; box-shadow: 0 0 0 3px #e8b8d64d; }
input[type=date] { appearance: auto; -webkit-appearance: none; }
input::-webkit-date-and-time-value { text-align: left; }
input::placeholder { color: #8e8492; font-size: 14px; }
input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; min-height: 18px; padding: 0; margin: 0; accent-color: var(--plum); flex: 0 0 18px; }
input[type=file] { font-size: 13px; padding: 8px; }
input[type=file]::file-selector-button { border: 0; background: #eee8ef; color: var(--plum); font: inherit; border-radius: 5px; padding: 9px 12px; margin-right: 10px; cursor: pointer; }
.university-field { margin-bottom: 22px; }
.university-field .field-label, .university-field label { margin-top: 0; }
.institution-selected { display: flex; min-height: 65px; align-items: center; padding: 12px 16px; background: #faf9fb; border: 1px solid var(--line); border-radius: 9px; }
.university-logo { display: block; width: 164px; height: 39px; object-fit: contain; object-position: left center; }
.institution-name { font-weight: 500; font-size: 14px; }
.field-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.field-grid > div { min-width: 0; }
.phone-input { display: flex; align-items: center; min-width: 0; min-height: 48px; border: 1px solid #dcd5df; border-radius: 8px; background: var(--field); }
.phone-input > span { padding-left: 12px; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.phone-input input { width: 100%; min-height: 46px; padding-left: 8px; padding-right: 9px; border: 0; background: none; box-shadow: none; }
.phone-input:focus-within { border-color: #93617f; box-shadow: 0 0 0 3px #e8b8d64d; }
.optional { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 5px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] > summary > .ti-chevron-down { transform: rotate(180deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; border: 1px solid transparent; border-radius: 8px; padding: 12px 17px; font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; transition: background .15s; }
.button.primary { background: var(--plum); color: #fff; }
.button.primary:hover { background: #48304a; }
.button.accent { background: var(--pink); color: var(--plum); }
.button.accent:hover { background: #f1cbe2; }
.button.secondary { border-color: #ded4df; background: #fff; color: var(--plum); }
.button:disabled { cursor: wait; opacity: .65; }
.button.wide { width: 100%; justify-content: space-between; }
.button.primary .icon { color: var(--pink); }
.page-shell { max-width: 1080px; padding: 32px 28px 25px; margin: auto; }
.page-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.page-heading h1 { font-size: 27px; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: #ceb7c8; }
.page-heading .back-link { margin: 0 4px 0 -5px; }
.reference { margin-left: auto; font-size: 12px; color: #d8c0d1; font-variant-numeric: tabular-nums; }
.student-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; margin-bottom: 24px; color: var(--ink); background: #fff; border: 1px solid #e9e3e9; border-radius: 13px; }
.student-identity { min-width: 0; }
.student-identity h2 { font-size: 19px; margin-bottom: 5px; }
.student-identity p { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.separator { padding: 0 8px; color: #b8aebc; }
.institution-badge { background: #fff; flex: 0 0 auto; }
.institution-badge .university-logo { width: 152px; height: 37px; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.plan-grid > * { min-width: 0; }
.fee-card { padding: 22px 24px; }
.fee-breakdown-body { padding-top: 24px; }
.fee-account + .fee-account { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.account-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.account-heading h3 { font-size: 13px; }
.account-heading strong { font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-head { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; font-size: 12px; color: var(--muted); }
.fee-head span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); font-size: 12px; }
.payment-card h2 { font-size: 21px; margin-bottom: 22px; }
.payment-card form > label:first-child { margin-top: 0; }
.field-currency { float: right; color: var(--muted); font-weight: 400; }
.field-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.currency-choice { padding: 0; border: 0; margin: 22px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.currency-choice legend { font-size: 13px; font-weight: 500; margin-bottom: 9px; padding: 0; }
.channel-option { display: block; margin: 0; position: relative; cursor: pointer; min-width: 0; }
.channel-option input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.choice-content { display: flex; flex-direction: column; min-height: 126px; padding: 14px 13px; border: 1px solid #dcd5df; border-radius: 9px; background: #fff; }
.choice-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.choice-heading > strong { font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.choice-tick { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #cfc4d1; border-radius: 50%; color: transparent; }
.choice-name { font-size: 12px; color: #625568; margin-top: 3px; line-height: 1.5; white-space: nowrap; }
.method-logo { width: 85px; height: 21px; object-fit: contain; object-position: left center; margin-top: auto; padding-top: 4px; }
.choice-method { display: inline-flex; align-items: center; gap: 5px; color: #625568; font-size: 11px; margin-top: auto; padding-top: 11px; }
.choice-unavailable { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 11px; }
.channel-option input:checked + .choice-content { border-color: #a36b91; box-shadow: 0 0 0 1px #a36b91; background: #fcf7fb; }
.channel-option input:checked + .choice-content .choice-tick { background: var(--plum); border-color: var(--plum); color: #fff; }
.channel-option input:focus-visible + .choice-content { outline: 3px solid #b06b97; outline-offset: 4px; }
.channel-option input:disabled + .choice-content { opacity: .5; cursor: not-allowed; }
.form-error { padding: 12px 14px; margin: 0 0 18px; border-radius: 8px; background: #fff1f3; border: 1px solid #f4d2da; color: #9d2345; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.quote-result { margin-top: 23px; border-top: 1px solid var(--line); padding-top: 21px; }
.quote-label { color: #625568; font-size: 13px; }
.quote-total { display: flex; align-items: baseline; gap: 9px; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.quote-total > span { font-size: 16px; font-weight: 500; color: #625568; }
.quote-total > strong { font-size: 31px; font-weight: 600; line-height: 1.3; letter-spacing: -.045em; overflow-wrap: anywhere; }
.quote-result .button { margin-top: 20px; }
.quote-result .field-hint { margin-top: 5px; font-size: 11px; }
.tracking-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 24px; align-items: start; }
.request-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.request-heading .university-logo { width: 132px; height: 33px; }
.status-chip { font-size: 11px; font-weight: 500; padding: 6px 9px; color: #704662; background: #f4eaf1; border: 1px solid #eddfeb; border-radius: 6px; white-space: nowrap; }
.status-chip.success { background: #eaf7f0; color: #246548; border-color: #d3eadf; }
.tracking-amount { font-size: 34px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.3; margin-bottom: 18px; overflow-wrap: anywhere; }
.tracking-amount > span { font-size: 17px; font-weight: 500; color: #716278; letter-spacing: 0; }
.request-student h2 { font-size: 15px; margin-bottom: 2px; }
.request-student p { font-size: 12px; color: var(--muted); }
.summary-list { margin: 20px 0; }
.summary-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #eee9f0; font-size: 12px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; text-align: right; font-weight: 500; max-width: 65%; overflow-wrap: anywhere; }
.payment-instructions { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; }
.payment-instructions h3 { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; font-size: 14px; }
.bank-name { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.account-holder { color: var(--muted); font-size: 13px; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f7f3f8; border: 1px solid #e9e0eb; border-radius: 9px; padding: 8px 10px 8px 14px; margin: 15px 0 8px; }
.copy-field > strong { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-button { border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 6px; color: #79546d; font-size: 12px; flex-shrink: 0; border-radius: 6px; }
.copy-button:hover { background: #e9dfeb; }
.reference-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.reference-row > strong { color: var(--ink); margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.gateway-logo { display: block; object-fit: contain; object-position: left center; width: 120px; height: 33px; margin-bottom: 20px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: #745067; font-size: 13px; font-weight: 500; }
.text-link:hover { color: #43233f; text-decoration: underline; }
.payment-expiry { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--muted); font-size: 11px; margin: 18px 0 22px; }
.report-panel { padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-panel > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 15px; font-size: 14px; font-weight: 500; }
.report-panel form { padding: 2px 0 20px; }
.report-panel form > label:first-of-type { margin-top: 10px; }
.report-panel .button { margin-top: 19px; }
.cancel-form { text-align: center; margin: 12px 0 -10px; }
.text-button { border: 0; background: transparent; color: #7d6476; padding: 10px 14px; min-height: 44px; font-size: 12px; border-radius: 6px; }
.text-button:hover { background: #f8f2f7; }
.notice { padding: 14px; background: #faf0f7; border-radius: 8px; color: #835873; font-size: 12px; margin: 20px 0; }
.success-note { display: flex; align-items: center; gap: 8px; padding: 15px; margin-top: 22px; border-radius: 8px; color: #246548; background: #edf8f2; font-size: 13px; }
.submitted-details { display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; gap: 5px; }
.timeline-card h2 { font-size: 17px; margin-bottom: 25px; }
.timeline { list-style: none; padding: 0; margin: 0 0 0 5px; }
.timeline li { position: relative; border-left: 1px solid #e2d4e2; padding: 0 0 26px 22px; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-dot { position: absolute; top: 5px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #b58ba9; box-shadow: 0 0 0 4px #f7eff5; }
.timeline strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.timeline time { font-size: 11px; color: var(--muted); }
.activity-heading { justify-content: space-between; margin: 5px 0 30px; }
.activity-heading .button { min-height: 44px; font-size: 13px; }
.activity-list { display: flex; flex-direction: column; gap: 12px; }
.activity-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 17px; align-items: center; background: #fff; color: var(--ink); border: 1px solid #e9e3e9; border-radius: 12px; padding: 21px 23px; transition: background .15s; }
.activity-item:hover { background: #fbf6fa; }
.activity-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #90657f; background: #f5edf4; border-radius: 9px; }
.activity-person { min-width: 0; }
.activity-person h2 { font-size: 15px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-person > span { color: var(--muted); font-size: 12px; }
.activity-right { text-align: right; }
.activity-right > strong { display: block; font-size: 15px; font-variant-numeric: tabular-nums; margin-bottom: 3px; }
.activity-right > span { color: var(--muted); font-size: 12px; }
.activity-item > .icon { color: #98778d; }
.empty-state { text-align: center; padding: 52px 24px; }
.empty-state h2 { margin-bottom: 22px; font-size: 19px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state.compact { padding: 30px 0; }
.empty-state.compact .icon { color: #48795f; margin-bottom: 10px; }
.empty-icon { display: inline-flex; justify-content: center; align-items: center; width: 64px; height: 64px; background: #f5edf4; color: #9c708f; border-radius: 14px; margin-bottom: 20px; }
.message-card { padding: 34px 30px; text-align: center; }
.message-card h1 { font-size: 25px; margin-bottom: 18px; }
.message-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 28px; }
.message-card .text-link { margin-top: 16px; }
.checkout-logo { display: block; object-fit: contain; width: 164px; height: 44px; margin: 0 auto 30px; }
@media (max-width: 859px) {
  .header-inner { padding: 0 22px; }
  .page-shell { padding: 24px 20px; }
  .plan-grid { grid-template-columns: 1fr; gap: 18px; }
  .student-card { margin-bottom: 18px; padding: 20px; }
  .plan-grid .payment-card { max-width: none; }
  .tracking-grid { grid-template-columns: 1fr; gap: 18px; }
  .fee-card { padding: 19px 24px; }
  .timeline-card { padding: 24px; }
}
@media (max-width: 520px) {
  .header-inner { height: 70px; padding: 0 18px; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand-wordmark { font-size: 22px; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding: 0 11px; font-size: 12px; }
  .home-shell { width: calc(100% - 32px); margin: 24px auto 10px; max-width: 460px; }
  .lookup-panel { padding: 25px 22px; border-radius: 13px; }
  .lookup-panel h1 { font-size: 24px; margin-bottom: 24px; }
  .site-footer { padding: 12px 20px 22px; }
  .field-grid { gap: 0; grid-template-columns: 1fr; }
  .field-grid label { font-size: 12px; white-space: nowrap; }
  .field-grid input { padding-left: 10px; padding-right: 6px; font-size: 16px; }
  .field-grid .phone-input input { padding-left: 6px; font-size: 16px; }
  .phone-input > span { padding-left: 10px; font-size: 13px; }
  .page-shell { padding: 22px 16px; }
  .page-heading { margin-bottom: 20px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading .back-link { margin: 0 3px 0 -5px; }
  .student-card { padding: 18px; flex-direction: column-reverse; align-items: flex-start; gap: 17px; border-radius: 11px; }
  .student-identity h2 { font-size: 18px; }
  .student-identity p { font-size: 12px; }
  .student-card .university-logo { width: 140px; height: 34px; }
  .card { padding: 24px 22px; border-radius: 13px; }
  .fee-card { padding: 18px 20px; }
  .payment-card h2 { font-size: 20px; margin-bottom: 21px; }
  .currency-choice { gap: 11px; }
  .choice-content { padding: 13px 11px; min-height: 120px; }
  .choice-name { font-size: 11px; }
  .choice-heading > strong { font-size: 16px; }
  .quote-total > strong { font-size: 30px; }
  .request-heading { margin-bottom: 27px; gap: 8px; }
  .request-heading .university-logo { width: 124px; height: 30px; }
  .status-chip { font-size: 10px; padding: 6px 7px; }
  .tracking-amount { font-size: 31px; }
  .tracking-amount > span { font-size: 16px; }
  .reference { font-size: 11px; }
  .account-heading { gap: 12px; }
  .account-heading h3, .account-heading strong { font-size: 12px; }
  .activity-heading { gap: 15px; margin-bottom: 22px; }
  .activity-heading .button { font-size: 12px; padding-left: 13px; padding-right: 13px; gap: 10px; }
  .activity-item { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 18px 15px; gap: 10px; }
  .activity-icon { width: 34px; height: 37px; }
  .activity-item > .icon { display: none; }
  .activity-person h2 { font-size: 13px; }
  .activity-person > span { font-size: 10px; }
  .activity-right > strong { font-size: 13px; }
  .activity-right > span { font-size: 10px; }
  .message-card { padding: 30px 22px; }
}
@media (max-width: 359px) {
  .header-inner { padding-left: 14px; padding-right: 10px; }
  .brand { gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .brand-wordmark { font-size: 20px; }
  .site-header nav a { padding: 0 8px; }
  .lookup-panel, .payment-card, .request-card { padding-left: 18px; padding-right: 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .field-grid label, .field-grid input, .field-grid .phone-input input { font-size: 16px; }
  .choice-name { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.copy-button.is-copied { color: #246548; }

.faculty-detail { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 17px; color: var(--muted); font-size: 12px; }
.faculty-detail > span { display: block; margin-bottom: 4px; color: #4e4352; font-weight: 500; }

.lookup-form > .button { margin-top: 24px; }
.fee-breakdown > h2 { font-size: 17px; min-height: 24px; }

body.has-install-button { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
.install-button { position: fixed; z-index: 8; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 19px; border: 1px solid #f2cde4; border-radius: 30px; background: var(--pink); color: var(--plum); font-size: 13px; font-weight: 600; box-shadow: 0 4px 18px #10081233; }
.install-button:hover { background: #f1cbe2; }
.install-button:disabled { cursor: wait; opacity: .7; }
.install-dialog { position: fixed; width: min(360px, calc(100% - 40px)); padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 80px #10081240; }
.install-dialog::backdrop { background: #170d1bc4; }
.install-close { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.install-close:hover { background: #f6f1f6; }
.install-app-icon { display: block; border-radius: 13px; margin-bottom: 20px; }
.install-dialog h2 { font-family: "Manrope", sans-serif; font-size: 20px; letter-spacing: -.035em; }
.install-steps { display: grid; gap: 14px; padding-left: 20px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.install-steps li { padding-left: 5px; }
.install-steps li::marker { color: #90607f; font-weight: 600; }
.offline-page { align-items: center; justify-content: center; padding: max(24px, env(safe-area-inset-top, 0px)) 24px max(24px, env(safe-area-inset-bottom, 0px)); }
.offline-card { max-width: 360px; text-align: center; }
.offline-card > img { display: block; margin: 0 auto 28px; border-radius: 17px; }
.offline-card h1 { font-family: "Manrope", sans-serif; font-size: 27px; }
.offline-card p { margin: 12px 0 28px; color: #d1c2d0; }
.offline-card .button { min-width: 150px; }
@media (display-mode: standalone), (display-mode: minimal-ui), (display-mode: window-controls-overlay) {
  .install-button { display: none; }
  body.has-install-button { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .install-button { right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  body:has(input:focus) .install-button, body:has(select:focus) .install-button, body:has(textarea:focus) .install-button { visibility: hidden; }
}
