:root { font-family: Inter, ui-sans-serif, system-ui, "PingFang SC", sans-serif; color: #24342e; background: #eef1e8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
main { min-height: 100vh; display: grid; grid-template-columns: minmax(280px, 390px) 1fr; }
aside { display: flex; flex-direction: column; padding: 54px clamp(24px, 4vw, 58px); background: #183c32; color: #f3f2dd; }
.eyebrow { margin: 0 0 8px; color: #aacdb5; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(58px, 8vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.07em; }
h1 span { color: #f3ab74; font-style: italic; }
.intro { max-width: 300px; margin: 24px 0 38px; color: #c6d4c9; line-height: 1.7; }
form { display: grid; gap: 19px; }
label { font-size: 13px; font-weight: 700; }
input { width: 100%; margin-top: 7px; padding: 13px 0; border: 0; border-bottom: 1px solid #78968a; outline: none; background: transparent; color: white; font-size: 18px; }
input::placeholder { color: #78968a; }
input:focus { border-color: #f3ab74; }
.hour-input { position: relative; }
.hour-input span { position: absolute; right: 0; bottom: 14px; color: #aacdb5; font-size: 12px; }
form button { display: flex; justify-content: space-between; border: 0; border-radius: 999px; margin-top: 5px; padding: 15px 20px; background: #f3ab74; color: #183c32; font-weight: 800; }
#error { margin: -8px 0 0; min-height: 18px; color: #ffb9a4; font-size: 12px; }
.reset { margin-top: auto; padding: 12px 0 0; border: 0; background: transparent; color: #9fb5a8; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.canvas { position: relative; padding: 48px clamp(24px, 7vw, 90px); overflow: hidden; }
.canvas::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid #d7dbce; border-radius: 50%; top: -220px; right: -160px; }
.warning { display: none; width: fit-content; margin: 0 auto 10px; padding: 7px 13px; border-radius: 999px; background: #a83329; color: white; font-size: 12px; font-weight: 800; }
.warning.show { display: block; }
.chart-wrap { display: grid; place-items: center; min-height: 410px; }
.chart { --ring: #dce0d5; position: relative; width: min(57vw, 370px); aspect-ratio: 1; border-radius: 50%; background: var(--ring); box-shadow: 0 22px 70px #4f685129; transition: background .35s; }
.chart::after { content: ""; position: absolute; inset: 24%; border-radius: 50%; background: #eef1e8; box-shadow: inset 0 0 0 1px #d7dbce; }
.center { position: absolute; z-index: 1; inset: 29%; display: grid; place-content: center; text-align: center; }
.center strong { font-family: Georgia, serif; font-size: clamp(48px, 8vw, 76px); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.center span { margin-top: 8px; color: #6f7d76; font-size: 12px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #cbd1c5; }
h2 { font-family: Georgia, serif; font-weight: 400; font-size: 25px; }
.list-head span { color: #6f7d76; font-size: 13px; }
.activity-list { max-height: 250px; overflow: auto; }
.activity-row { display: grid; grid-template-columns: 13px 1fr auto; gap: 13px; align-items: center; padding: 15px 2px; border-bottom: 1px solid #d7dbce; }
.activity-row i { width: 11px; height: 11px; border-radius: 50%; background: var(--color); }
.activity-row strong, .activity-row span { display: block; }
.activity-row strong { overflow-wrap: anywhere; font-size: 15px; }
.activity-row span { margin-top: 3px; color: #77847d; font-size: 12px; }
.activity-row button { border: 0; background: transparent; color: #8e6557; font-size: 12px; }
.empty { padding: 32px 0; color: #7e8983; text-align: center; font-size: 14px; }
@media (max-width: 760px) { main { grid-template-columns: 1fr; } aside { min-height: auto; padding: 30px 24px; } h1 { font-size: 58px; } .intro { margin: 16px 0 25px; } .reset { margin-top: 22px; } .canvas { padding: 28px 22px 50px; } .chart-wrap { min-height: 330px; } .chart { width: min(82vw, 330px); } }
