:root{--app-header-height:80px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#252525;font-synthesis:none;--muted:#70706a;--line:#ededeb;--coral:#d93651;--soft:#f7f7f4}*{box-sizing:border-box}html{overscroll-behavior-y:none}body{margin:0}button,input,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:active{background-color:#f3f3f0}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}svg{width:22px;height:22px;display:block}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
:root[data-pointer-input] button:focus { outline: none; }
:root[data-apple-standalone] { --app-header-height: 64px; }
.app-shell {
  --wallet-full-top: max(8px, env(safe-area-inset-top, 0px));
  --wallet-rest-top: min(clamp(220px, 52dvh, 448px), calc(100dvh - 104px));
  position: relative;
  isolation: isolate;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  margin: auto;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  overscroll-behavior-y: none;
  background: #fff;
}

/* Match the status bar before revealing the sky behind the header. */
:root[data-apple-standalone]:not([data-night-background="solar"]) .app-shell::after {
  --status-bar-inset: env(safe-area-inset-top, 0px);
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  block-size: calc(var(--status-bar-inset) + var(--app-header-height) + 24px);
  background: linear-gradient(to bottom,
    var(--app-chrome) var(--status-bar-inset),
    color-mix(in srgb, var(--app-chrome) 88%, transparent) calc(var(--status-bar-inset) + 24px),
    color-mix(in srgb, var(--app-chrome) 30%, transparent) calc(var(--status-bar-inset) + 60px),
    transparent);
  pointer-events: none;
}

.header{height:var(--app-header-height);flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 26px}.brand {
  --brand-image: url('/offline-data-wordmark.png');
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #353534;
  font-size: 18px;
  font-weight: 600;
}
.brand-logo {
  width: 152px;
  aspect-ratio: 1250 / 222;
  background: var(--brand-image) center / contain no-repeat;
}
.brand-name { display: none; }
@media (forced-colors: active) {
  .brand-logo { display: none; }
  .brand-name { display: inline; }
}
.icon-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.header .icon-button{margin-right:-8px;color:#666}
main {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: max(0px, calc(var(--wallet-rest-top) - var(--app-header-height) - env(safe-area-inset-top, 0px)));
  min-height: 0;
  padding: 6px 24px;
}
.call-section{text-align:center;width:100%;max-height:100%;overflow-y:auto;overscroll-behavior-y:contain;padding:5px 4px}
@media (max-height: 680px) { .call-section .call-symbol { display: none; } }
.call-symbol{width:72px;height:72px;background:#fff2ee;color:var(--coral);border-radius:50%;margin:0 auto 25px;display:flex;align-items:center;justify-content:center}.call-symbol svg{width:29px;height:29px}.call-section h1{font-size:14px;font-weight:450;color:#6d6d67;letter-spacing:0}.call-number{min-height:44px;padding:0;border-radius:12px;font-size:clamp(27px,8.4vw,36px);font-weight:600;letter-spacing:-1.1px;line-height:1.35;margin-top:9px;font-variant-numeric:tabular-nums;white-space:nowrap}
.number-caption {
  display: grid;
  place-items: center;
}

.number-caption > * { grid-area: 1 / 1; }

#number-copy-feedback {
  margin: 0;
  opacity: 0;
  color: #514052;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.call-number {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.call-number:active { background: transparent; }
.call-section.is-copied #call-title { opacity: 0; }
.call-section.is-copied #number-copy-feedback { opacity: 1; }
.clipboard-fallback {
  position: fixed;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  font-size: 16px;
  -webkit-user-select: text;
  user-select: text;
}

@media (prefers-reduced-motion: no-preference) {
  .number-caption > * { transition: opacity 180ms ease-out, transform 180ms ease-out; }
  #number-copy-feedback { transform: translateY(4px); }
  .call-section.is-copied #call-title { transform: translateY(-4px); }
  .call-section.is-copied #number-copy-feedback { transform: none; }
  .call-section.is-copied .call-number { animation: number-copied 370ms ease-out; }
}

@keyframes number-copied {
  34% { transform: scale(1.035); }
}

.call-description{font-size:14px;color:#73736b;line-height:1.7;margin-top:19px}.plan-summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;margin-top:23px;padding:8px 6px;font-size:13px;color:#55554e;border-radius:10px;flex-wrap:wrap}.plan-summary .normal{color:#7b7b72}.plan-summary #selected-plan{font-weight:600}.plan-summary .normal{font-weight:400}.plan-summary svg{width:13px;height:13px}.plan-separator{width:3px;height:3px;background:#adada4;border-radius:50%}.connection{display:block;font-size:12px;color:#885f27;margin-top:15px;line-height:1.6}.connection[hidden]{display:none}.wallet-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 0 23px;border-top:1px solid var(--line)}.wallet-summary h2{font-size:12px;font-weight:400;color:#71716a}.balance{font-size:24px;font-weight:600;letter-spacing:-.7px;margin-top:5px;font-variant-numeric:tabular-nums}.balance>span{font-size:17px;color:#92928a;font-weight:400}.add-money{min-height:44px;padding:0 12px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;background:var(--soft);border-radius:12px}.add-money svg{width:16px;height:16px}.primary,.dark-button{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;background:var(--coral);color:#fff;border-radius:15px;font-size:14px;font-weight:600}.primary:active{background:#ac243c}.call-button {
  position: relative;
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

.call-button svg{width:20px;height:20px}.save-number{display:flex;align-items:center;justify-content:center;gap:7px;margin:6px auto 0;min-height:44px;width:100%;font-size:13px;color:#65655e;border-radius:10px}.save-number svg{width:16px;height:16px}.dark-button{background:#282828;width:100%;margin-top:18px}.skip{position:fixed;left:20px;top:-100px;background:white;padding:15px;z-index:20}.skip:focus{top:10px}dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,440px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px));border:0;border-radius:25px 25px 0 0;background:#fff;color:#242424;box-shadow:0 -12px 60px #0001;overscroll-behavior:contain}dialog::backdrop{background:#24242455;backdrop-filter:blur(3px)}.sheet-handle{height:4px;width:34px;background:#deded8;border-radius:3px;margin:0 auto 13px}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.dialog-header h2{font-size:22px;font-weight:650;letter-spacing:-.65px;line-height:1.3}.dialog-header .icon-button{background:#f5f5f2;margin-right:-6px}.dialog-header svg{width:18px;height:18px}label{display:block;font-size:13px;font-weight:600;line-height:1.5;margin:18px 0 8px}input:not([type=checkbox]):not([type=radio]),select{width:100%;min-height:52px;border:1px solid #d8d8d0;border-radius:12px;padding:10px 13px;background:white;color:#242424;font-size:16px}input,select{scroll-margin:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;padding-bottom:2px}.dialog-actions .primary{flex:1}.secondary{border:1px solid #deded6;border-radius:13px;padding:13px 20px;min-height:50px;font-size:14px}.form-error{font-size:13px;line-height:1.6;color:#af243f;margin:12px 0}.plan-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #deded7;border-radius:14px;margin:10px 0;cursor:pointer;min-height:76px}.plan-option:has(input:checked){background:#fff6f3;border-color:var(--coral)}.plan-option input{width:19px;height:19px;accent-color:var(--coral);flex-shrink:0}.plan-option strong{font-size:16px}.plan-option small{display:block;font-size:12px;font-weight:400;color:#73736b;margin-top:4px}.plan-option .price{margin-left:auto;font-size:15px;font-weight:600}.notice{padding:16px;background:#f7f7f3;border-radius:13px;font-size:13px;color:#6c6c63;line-height:1.7;margin:18px 0}.bank-details{padding:20px;border:1px solid var(--line);background:#fafaf7;border-radius:15px;margin:20px 0}.bank-details>span{display:block;font-size:12px;color:#73736b;line-height:1.7}.bank-details strong{display:block;font-size:22px;margin:8px 0}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.switch-row label{margin:0}.switch-row input{width:23px;height:23px;accent-color:var(--coral);flex-shrink:0}.help-step{display:flex;gap:13px;margin:22px 0}.help-step>span{width:36px;height:36px;border-radius:12px;background:#fff2ee;color:var(--coral)}.help-step svg{width:19px}.help-step strong{font-size:14px;font-weight:600}.activity-row{display:flex;align-items:center;gap:11px;padding:17px 0;border-bottom:1px solid var(--line)}.transaction-description,.transaction-value{display:flex;flex-direction:column;gap:6px}.transaction-description strong,.transaction-value strong{font-size:12px;font-weight:600}.transaction-description span,.transaction-value span{font-size:10px;color:#74746b;line-height:1.5}.transaction-value{margin-left:auto;text-align:right}.settings-caption{font-size:12px;line-height:1.8;color:#717168;margin:22px 0 0}.text-button{min-height:44px;font-size:13px;text-decoration:underline}
#toast, #app-update-notice {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + var(--app-header-height));
  left: 50%;
  z-index: 10;
  width: max-content;
  max-width: min(360px, calc(100% - 40px));
  padding: 10px 15px;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #252522;
  color: #fff;
  box-shadow: 0 6px 18px #0002;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

#toast {
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease-out, transform 180ms ease-out;
}

#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

#app-update-notice:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 4px 3px 12px;
  transform: translateX(-50%);
}

#app-update-button {
  flex: none;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  background: #ffffff20;
}

#app-update-button:disabled { opacity: .6; }
#app-update-notice:not([hidden]) + #toast { margin-top: 62px; }
.full-width{width:100%}@media(min-width:600px){.app-shell{box-shadow:0 0 0 1px #e9e9e4}}@media(max-width:360px){.header{padding:0 22px}main{padding-left:20px;padding-right:20px}.call-number{font-size:28px}.plan-summary{font-size:12px;gap:7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: transform 160ms cubic-bezier(.2,.75,.3,1), background-color 160ms ease-out, filter 160ms ease-out;
  }

  button:not(:disabled):active { transform: scale(.985); }
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover, .plan-summary:hover, .save-number:hover { background-color: var(--soft); }
  .add-money:hover { background-color: #eeeee9; }
  .primary:hover { background-color: #bc2942; }
  .dark-button:hover { background-color: #444; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  button:not(:disabled, :active, .settings-row):hover { transform: scale(1.015); }
}

[data-service-mode]:not([data-service-ready]) :is(.call-button,.save-number),
[data-service-mode]:not([data-customer-loaded]) .wallet-history,
:is(.call-number,.plan-summary)[hidden] { visibility: hidden; }
[data-service-mode]:not([data-customer-loaded]) .balance { display: none; }
[data-service-mode] :is(.call-description,.save-number)[hidden] { display: none; }
[data-service-mode="sandbox"] :is(.save-number,.call-description) { display: none; }
.customer-order-state { margin: 12px 0 0; line-height: 1.4; font-size: 13px; text-align: center; }

