:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182333;background:#f2f5fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:940px;margin:auto;padding:36px 28px}header{display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;font-size:32px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;color:inherit}.mark{display:grid;place-items:center;background:#234bed;color:white;width:36px;height:36px;border-radius:10px;margin-right:10px;font-size:32px;letter-spacing:0}.period{color:#234bed}.badge{font-size:14px;color:#58647b}.intro{margin:48px 0 30px}h1{font-size:48px;line-height:1.1;letter-spacing:-2px;margin:0 0 16px}.intro p{font-size:17px;color:#627087;margin:0}.calculator{display:grid;grid-template-columns:1.15fr 1fr;background:white;border-radius:24px;overflow:hidden;box-shadow:0 12px 50px #1d38600c;border:1px solid #e3e8f2}.inputs{padding:34px}label{font-weight:650;font-size:16px}.amount-wrap{display:flex;align-items:center;border-bottom:2px solid #dbe2ee;margin-top:14px}.amount-wrap:focus-within{border-color:#234bed}.amount-wrap span{font-size:32px;color:#8c98aa}input{font:inherit;min-width:0;color:inherit}#amount{width:100%;border:0;background:none;font-size:44px;font-weight:600;padding:8px 10px;outline:0;letter-spacing:-1px}.hint{font-size:14px;color:#6b7890;margin:10px 0 30px}.people-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}.stepper{display:flex;align-items:center;border:1px solid #dfe5ef;border-radius:12px;overflow:hidden}button{font:inherit;cursor:pointer;border:0;min-height:44px;transition:background .15s}button:focus-visible,input:focus-visible{outline:3px solid #809aff;outline-offset:3px}.stepper button{width:40px;background:#f5f7fc;color:#234bed;font-size:22px}.stepper input{width:54px;text-align:center;border:0;font-weight:650;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.tip-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.optional{font-size:14px;color:#7e8a9e;font-weight:400;margin-left:5px}.modes{display:flex;background:#f0f3fa;border-radius:8px;padding:3px}.modes button{min-height:30px;width:34px;border-radius:6px;background:transparent;color:#67758b}.modes button[aria-pressed=true]{background:white;color:#234bed;box-shadow:0 1px 4px #0001}.tip-controls{display:flex;gap:8px}.presets{display:flex;gap:6px;flex:1}.presets button{flex:1;border-radius:9px;background:#f2f5fb;color:#53617a;font-size:14px;white-space:nowrap;padding:0 8px}.presets button[aria-pressed=true]{background:#e9eeff;color:#234bed;box-shadow:inset 0 0 0 1px #bfcdfb}#tip{width:60px;border:1px solid #dfe5ef;border-radius:9px;text-align:center;font-size:16px}#error{color:#b42b36;font-size:14px;min-height:20px;margin:12px 0 0}.reset{padding:0;background:transparent;color:#64728b;font-size:14px;text-decoration:underline;text-underline-offset:4px}.result{padding:40px 32px;background:#234bed;color:white;display:flex;flex-direction:column}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#d4deff}.share{font-size:60px;font-weight:700;letter-spacing:-2px;line-height:1.2;margin:14px 0 8px;overflow-wrap:anywhere}.allocation{font-size:15px;line-height:1.5;min-height:48px;margin:0 0 26px;color:#e0e7ff}.summary{border-top:1px solid #ffffff35;padding-top:18px;margin-top:auto}.summary div{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:15px}.summary span{color:#d6dfff}.summary strong{font-weight:600}.summary .total{border-top:1px solid #ffffff35;padding-top:16px;margin-top:18px}.total span{color:white}#copy{width:100%;background:white;border-radius:11px;color:#234bed;font-weight:700;margin-top:16px}#copy:disabled{opacity:.55;cursor:default}.copy-status{font-size:14px;text-align:center;min-height:20px;margin-top:8px}.cent-note{text-align:center;font-size:13px;color:#d2dcff;margin:8px 0 0}footer{text-align:center;font-size:14px;color:#7a879d;margin:28px 0}button:hover{filter:brightness(.97)}@media(max-width:680px){main{padding:24px 20px}.intro{margin:32px 0 24px}h1{font-size:38px}.calculator{grid-template-columns:1fr}.inputs{padding:26px 24px}.result{padding:28px 24px}.share{font-size:54px}.allocation{min-height:0;margin-bottom:22px}.hint{margin-bottom:24px}footer{margin:24px 0}.people-row{margin-bottom:24px}}@media(max-width:360px){main{padding:20px 12px}.inputs{padding:22px 16px}.tip-controls{flex-wrap:wrap}#tip{width:100%;min-height:44px}.people-row{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){button{transition:none}}

.amount-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}#currency{font:inherit;font-size:14px;color:#53617a;background:#f2f5fb;border:1px solid #dfe5ef;border-radius:8px;padding:8px;max-width:170px;min-height:44px}#currency:focus-visible{outline:3px solid #809aff;outline-offset:3px}.modes button{width:auto;min-width:34px;padding:0 8px}.amount-wrap #currency-symbol{font-size:24px}

.brand-icon{width:44px;height:44px;margin-right:12px;flex-shrink:0}.brand{letter-spacing:-1.2px}

.install-button{background:transparent;color:#234bed;font-size:15px;font-weight:650;padding:8px 16px;border:1px solid #cdd7f5;border-radius:10px}.install-button[hidden]{display:none}footer p{margin:14px 0}dialog{max-width:390px;width:calc(100% - 40px);border:0;border-radius:20px;padding:28px;color:#182333;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#18233366}dialog h2{font-size:24px;margin:0 0 16px}dialog p{font-size:16px;line-height:1.6}.close-install{width:100%;border-radius:10px;background:#234bed;color:white;font-weight:650;margin-top:8px}
