*{box-sizing:border-box}body{margin:0;background:#f4f5f7;color:#1b2430;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.wrap{max-width:600px;width:calc(100% - 28px);margin:24px auto 36px}header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.mark{width:46px;height:46px;border-radius:13px;background:#29394c;color:white;display:grid;place-items:center;font-weight:800}h1{font-size:1.25rem;margin:0}h2{font-size:1.05rem;margin:0}.muted,header p{color:#687386;font-size:.86rem;line-height:1.45;margin:5px 0 16px}.panel{background:white;border:1px solid #e1e5eb;border-radius:16px;padding:20px;margin-bottom:15px;box-shadow:0 4px 18px #17283c08}form{display:grid;gap:9px}label{font-size:.88rem;font-weight:650;margin-top:5px}input{width:100%;min-height:49px;border:1px solid #cbd3dd;border-radius:10px;padding:0 11px;font:inherit;font-size:1rem;background:white;color:#1b2430}.primary,.secondary{min-height:46px;border-radius:10px;font:inherit;font-weight:650;cursor:pointer}.primary{border:0;background:#29394c;color:white;margin-top:8px}.result{background:#f8f9fb;border:1px solid #e1e5eb;border-radius:13px;padding:17px;margin-top:18px}.result small{font-size:.7rem;letter-spacing:.1em;color:#687386;font-weight:750}.duration{font-size:clamp(1.8rem,7vw,2.35rem);font-weight:800;letter-spacing:-.05em;margin:5px 0}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.secondary{background:white;border:1px solid #cbd3dd;padding:0 12px}.note,footer{color:#687386;font-size:.77rem;line-height:1.5}.note{margin:13px 0 0}.history-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.link{border:0;background:none;color:#687386;font:inherit;font-size:.8rem;cursor:pointer;padding:4px 0}.link:disabled{opacity:.35}ul{list-style:none;padding:0;margin:0}li{border-top:1px solid #e7eaf0;padding:12px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.entry-date{color:#687386;font-size:.76rem}.entry-result{font-weight:750;margin-top:3px}.entry-rates{color:#687386;font-size:.78rem}.entry-actions{display:flex;gap:6px}.entry-actions button{width:34px;height:34px;border:1px solid #e1e5eb;border-radius:8px;background:white;color:#536174;font-size:1rem}footer{text-align:center;padding:6px 10px}.error{color:#b42318;font-size:.85rem;margin:2px 0}#copied{font-size:.8rem;color:#687386}@media(max-width:420px){.wrap{margin-top:17px}.panel{padding:16px}.history-head{flex-direction:column;gap:3px}}
.date-row{display:flex;align-items:center;gap:8px}
.date-text{flex:1;min-width:0;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.date-text::placeholder{color:#98a2b3}
.calendar-button{width:49px;min-width:49px;height:49px;border:1px solid #cbd3dd;border-radius:10px;background:#fff;color:#29394c;font-size:1.35rem;cursor:pointer}
.calendar-button:active{background:#eef2f6}
.native-picker{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;left:-9999px}
