:root{--navy:#073d68;--blue:#0057a8;--muted:#536d7c;--aqua:#eaf7f8;--border:#dce7ec;color:var(--navy);font-family:'Open Sans',sans-serif;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f3f7fb}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #36bdd6;outline-offset:3px}[hidden]{display:none!important}p,h1,h2{margin:0}p{color:var(--muted);line-height:1.5}h1{font-size:30px;line-height:1.2;letter-spacing:-.8px;font-weight:700}h2{font-size:16px;font-weight:600;line-height:normal}.stage{margin:24px auto;position:relative;width:390px;height:844px}.phone{width:390px;height:844px;background:#fff;border-radius:32px;overflow:hidden;display:flex;flex-direction:column;position:relative;transform-origin:top left}.status{height:52px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;color:#173f58;font:600 14px Inter,sans-serif}.status>div{display:flex;align-items:center;gap:5px}.status img{display:block}.brand{padding:6px 24px 12px;display:flex;justify-content:space-between;align-items:center;height:66px}.brand-logo{display:block;object-fit:cover}.account{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.avatar{position:relative;border-radius:50%;overflow:hidden;width:42px;height:42px}.avatar img{position:absolute;width:183.75%;height:245%;left:-43.33%;top:-23.33%;max-width:none}#screens{flex:1;min-height:0;overflow:auto;scrollbar-width:none}#screens::-webkit-scrollbar{display:none}.screen{padding-inline:24px}.overview{padding-top:12px}.greeting{display:grid;gap:8px;margin-bottom:24px}.greeting p{font-size:14px}.payment{background:var(--aqua);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:12px}.amount{font-weight:700;font-size:68px;line-height:1.15;letter-spacing:-3px;color:var(--blue);margin-bottom:-12px}.per-month{color:var(--navy);line-height:normal}.next-payment{display:flex;align-items:center;gap:8px;padding-top:12px;color:#173f58;font-size:14px}.small{font-size:13px;line-height:normal}.reminder{margin-top:24px;display:grid;gap:8px}.reminder h2{font-size:18px;font-weight:700}.reminder p:not(.small){font-size:16px;line-height:24px}.meter{padding-top:24px}.instructions{display:grid;gap:12px}.instructions p{font-size:16px;line-height:24px}.meter-guide{margin-top:24px;background:var(--aqua);border-radius:20px;padding:20px;display:grid;gap:12px}.digits{display:flex;gap:4px;align-items:center}.digits span{display:flex;align-items:center;justify-content:center;background:var(--navy);color:white;border-radius:4px;width:31px;height:42px;font-size:24px;font-weight:600}.digits i{width:4px;height:4px;border-radius:2px;background:var(--muted)}.digits .decimal{width:29px;background:white;color:#af4051;font-weight:400}.meter-guide p{font-size:13px;color:#173f58;line-height:19.5px}form{margin-top:24px}form label{display:block;font-size:15px;font-weight:600;margin-bottom:8px}.reading-field{height:64px;border:2px solid var(--blue);border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;gap:10px}.reading-field input{width:100%;min-width:0;border:0;background:transparent;color:var(--navy);font-size:28px;letter-spacing:4px;font-weight:600;padding:0;outline:none}.reading-field span{color:var(--muted);font-size:16px}#previous-reading{margin-top:8px;line-height:19.5px}.reading-date{display:flex;justify-content:space-between;margin-top:24px;font-size:14px;color:var(--muted);line-height:19px}.reading-date strong{color:#173f58;font-weight:600}.primary{height:48px;width:100%;display:flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--blue);color:#fff;font-size:16px;font-weight:600;line-height:24px}form .primary{margin-top:24px}.error{font-size:13px;color:#af4051;margin-top:8px}.phone-footer{flex-shrink:0;padding:20px 24px 0;display:flex;flex-direction:column;align-items:center;gap:16px}.phone-footer nav{width:342px;height:80px;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 6px 20px #073d681a;padding:7px;display:flex;gap:4px}.phone-footer nav button{width:106px;flex-shrink:0;height:64px;background:#fff;border:0;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;font-size:12px;font-weight:600;color:var(--muted);line-height:18px}.phone-footer nav button[aria-current=page]{background:var(--aqua);color:var(--blue)}.phone-footer nav img{display:block}.home-indicator{height:22px;display:flex;align-items:center;justify-content:center;width:100%}.home-indicator:after{content:'';width:128px;height:4px;background:#173f58;border-radius:2px}.history{padding-top:12px}.reading-history{margin-top:24px}.history-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--border);min-height:74px}.history-row>div:first-child{display:grid;gap:6px}.history-row h2{font-size:16px}.history-row p{font-size:13px;line-height:normal}.history-value strong{font-size:20px;color:var(--blue);font-weight:700}.history-value span{font-size:13px;color:var(--muted)}.history-row.latest{padding-inline:16px;border:0;border-radius:10px;background:var(--aqua)}.history-row.latest p{color:#00858c}.units{display:flex;align-items:center;gap:8px;font-size:13px;line-height:normal;margin-top:14px}.success{padding-top:32px;display:flex;flex-direction:column;align-items:center;gap:28px}.success-illustration{position:relative;width:148px;height:159.509px;margin-bottom:3.158px;flex-shrink:0}.success-check{position:absolute;left:97.37px;top:97.19px;border-radius:50%;width:77.895px;height:77.895px;background:var(--aqua);display:flex;align-items:center;justify-content:center}.success h1{text-align:center;margin-top:0}.saved-reading{width:100%;padding:24px;border-radius:20px;background:var(--aqua);display:grid;gap:12px}.saved-reading h2{font-size:14px}.saved-reading p{color:var(--navy);line-height:normal}.saved-reading strong{font-size:38px;color:var(--blue);letter-spacing:1px}.saved-reading span{font-size:18px}.saved-reading .small{font-size:14px;color:var(--muted)}.reassurance{text-align:center;font-size:14px;line-height:21px}.success-actions{width:100%;display:grid;gap:16px}.back-overview{background:none;border:0;color:var(--blue);font-weight:600;font-size:14px;line-height:19px;padding:4px 0}.phone[data-screen=success] .phone-footer{gap:16px}.phone[data-screen=success] .success-actions{gap:16px}.phone[data-screen=success] .success-actions .primary{margin-bottom:4px}
@media(max-width:430px){.stage{margin-block:0}}

/* Compact presentation; the original design coordinates stay intact. */
body{background:transparent}.stage{margin:0 auto}.meter{padding-top:12px}
.phone-footer nav{position:relative;isolation:isolate}
.phone-footer nav button,.phone-footer nav button[aria-current=page]{position:relative;z-index:1;background:transparent}
.tab-highlight{position:absolute;left:7px;top:7px;width:106px;height:64px;background:var(--aqua);border-radius:12px;z-index:0;pointer-events:none;transform-origin:center;will-change:transform,border-radius}
/* Dark palette shares the same layout, assets and interaction state. */
:root[data-theme=dark]{color-scheme:light;--navy:#e3f3ff;--blue:#75c4ff;--muted:#a9bfce;--aqua:#17394a;--border:#2b4557;color:var(--navy)}
[data-theme=dark] .phone{background:#0c1c29;color-scheme:dark}
[data-theme=dark] h1,[data-theme=dark] h2{color:#ffffff}
[data-theme=dark] .status{color:#e3f3ff}
[data-theme=dark] .status img,[data-theme=dark] .brand-logo{filter:brightness(0) invert(1)}
[data-theme=dark] .next-payment,[data-theme=dark] .meter-guide p,[data-theme=dark] .reading-date strong{color:#d3e6f4}
[data-theme=dark] .next-payment img,[data-theme=dark] .units img{filter:brightness(0) invert(1)}
[data-theme=dark] .phone-footer nav{background:#122a3a;border-color:var(--border);box-shadow:0 6px 20px #0004}
[data-theme=dark] .phone-footer nav img{filter:brightness(0) invert(1);opacity:.65}
[data-theme=dark] .phone-footer nav button[aria-current=page] img{opacity:1}
[data-theme=dark] .home-indicator:after{background:#d5e8f4}
[data-theme=dark] .digits span{background:#d3edff;color:#0a3553}
[data-theme=dark] .digits .decimal{background:#263c4b;color:#ff9aab}
[data-theme=dark] .primary{background:#69bbfa;color:#092b45}
[data-theme=dark] .reading-field{background:#102634}
[data-theme=dark] .history-row.latest p{color:#78d8d5}
[data-theme=dark] .error{color:#ff9aab}
[data-theme=dark] .success-check img{filter:brightness(0) invert(1)}

/* Keep the document canvas transparent; dark colour-scheme belongs only to the phone. */
html,body{background:transparent!important}

