:root{--color-bg:#f5f5f7;--color-surface:#ffffff;--color-surface-dim:#f3f3f5;--color-text:#1a1c1d;--color-text-secondary:#717786;--color-text-muted:#414755;--color-border:#c1c6d7;--color-success:#006b27;--color-success-bg:rgba(0,135,51,0.08);--color-error:#ba1a1a;--color-error-bg:rgba(186,26,26,0.08);--color-warning:#92600a;--color-warning-bg:rgba(255,191,0,0.1);--color-loading:#0058bc;--color-loading-bg:rgba(0,112,235,0.06);--radius:16px;--radius-sm:12px;--radius-lg:24px}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--color-bg);color:var(--color-text);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body,main{min-height:100dvh}main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.checkout-card{width:100%;max-width:680px;background:var(--color-surface);border-radius:var(--radius-lg);padding:32px;box-shadow:0 8px 30px rgba(0,0,0,.04)}@media (min-width:768px){.checkout-card{padding:48px}}.checkout-header{text-align:center;margin-bottom:40px}.checkout-header-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:var(--color-surface-dim);border-radius:50%;margin-bottom:24px;font-size:32px}.checkout-card h1{font-size:30px;font-weight:800;letter-spacing:-.02em;color:var(--color-text);margin-bottom:8px}.checkout-subtitle{font-size:14px;color:var(--color-text-secondary)}.checkout-form{gap:32px}.checkout-form,.field{display:flex;flex-direction:column}.field{gap:12px}.field-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--color-text-secondary);padding-left:4px}.field input,.field select{width:100%;height:56px;padding:0 16px;font-size:16px;font-weight:500;font-family:inherit;border:none;border-radius:var(--radius-sm);background:var(--color-surface-dim);color:var(--color-text);-moz-appearance:none;appearance:none;-webkit-appearance:none;transition:background-color .15s ease}.field input:hover,.field select:hover{background:#eeeef0}.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23717786' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:44px;cursor:pointer}.field input:focus,.field select:focus{outline:none;box-shadow:0 0 0 2px rgba(0,88,188,.15)}.field input.input-error{box-shadow:0 0 0 2px rgba(186,26,26,.2)}.amount-input-wrapper{position:relative}.amount-symbol{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:18px;font-weight:600;color:var(--color-text-muted);pointer-events:none}.amount-input-wrapper input{padding-left:40px}.field-hint{font-size:12px;color:var(--color-text-secondary);padding-left:4px;font-style:italic}.apple-pay-button-area{min-height:56px}.apple-pay-placeholder{min-height:56px;justify-content:center;color:var(--color-text-secondary);border:2px dashed var(--color-border)}.apple-pay-placeholder,.status-message{display:flex;align-items:center;font-size:14px;border-radius:var(--radius-sm)}.status-message{gap:12px;padding:16px;font-weight:500}.status-icon{font-size:20px;flex-shrink:0}.status-loading{background:var(--color-loading-bg);color:var(--color-loading)}.status-loading .status-icon{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.status-success{background:var(--color-success-bg);color:var(--color-success)}.status-error{background:var(--color-error-bg);color:var(--color-error)}.status-warning{background:var(--color-warning-bg);color:var(--color-warning)}.debug-panel{margin-top:32px}.debug-panel details{background:var(--color-surface-dim);border-radius:var(--radius-sm);transition:all .3s ease}.debug-panel summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.debug-panel summary::-webkit-details-marker{display:none}.debug-summary-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--color-text)}.debug-summary-icon{font-size:20px}.debug-chevron{font-size:20px;color:var(--color-text-secondary);transition:transform .2s ease}details[open] .debug-chevron{transform:rotate(180deg)}.debug-content{padding:0 16px 24px}.debug-inner{background:var(--color-surface);border-radius:var(--radius-sm);padding:16px}.debug-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--color-surface-dim);font-size:11px;font-family:SF Mono,Fira Code,Courier New,monospace;line-height:1.6}.debug-row:last-child{border-bottom:none}.debug-row dt{text-transform:uppercase;color:var(--color-text-secondary);font-weight:500}.debug-row dd{color:var(--color-text);word-break:break-all;text-align:right;max-width:60%}.debug-value-true{color:var(--color-success);font-weight:700}.debug-value-false{color:var(--color-error);font-weight:700}.checkout-footer{margin-top:48px;text-align:center}.checkout-footer p{font-size:10px;text-transform:uppercase;letter-spacing:.2em;font-weight:500;color:var(--color-text-secondary)}