:root{color-scheme:dark;--bg:#0a1120;--surface:#111d2f;--surface-2:#17253a;--surface-3:#21314a;--border:#2a3950;--muted:#92a2b9;--ink:#f2f5fa;--accent:#5dddb0;--accent-dark:#183d3a;--danger:#ffaba2;--radius:19px;--shadow:0 14px 35px rgba(0,0,0,.17)}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -10%,#183352,transparent 35%),var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);min-height:100svh;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent)}[hidden]{display:none!important}.app-shell{max-width:740px;margin:0 auto;padding:env(safe-area-inset-top) 18px calc(106px + env(safe-area-inset-bottom))}.topbar{display:flex;justify-content:space-between;align-items:center;padding:21px 0 24px}.brand{display:flex;gap:11px;align-items:center}.brand-mark{width:43px;height:43px;border-radius:14px;color:#061a1b;background:var(--accent);display:grid;place-items:center}.brand strong{display:block;line-height:1.2;font-size:20px;letter-spacing:-.6px}.eyebrow{display:block;color:var(--muted);letter-spacing:1.7px;font-size:10px;font-weight:800}.brand .eyebrow{margin-bottom:3px}.year-tag{padding:9px 12px;border:1px solid var(--border);border-radius:12px;color:#c3d2df;background:var(--surface);font-size:12px;font-weight:750;letter-spacing:1px}
.hero{display:flex;justify-content:space-between;align-items:end;background:linear-gradient(125deg,#1d3653 0%,#15243a 55%,#102034 100%);border:1px solid #2b435e;border-radius:24px;padding:23px 22px 21px;box-shadow:var(--shadow);margin-bottom:15px}.hero-kicker{display:flex;align-items:center;gap:8px;color:#b1c7d5;letter-spacing:1.5px;font-size:10px;font-weight:750}.live-dot{width:8px;height:8px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 4px #5dddb01f}.live-time{margin:11px 0 5px;font-size:clamp(33px,9.7vw,51px);letter-spacing:-2.6px;font-weight:780;font-variant-numeric:tabular-nums}.live-date{font-size:13px;color:#bbc8da}.time-zone{white-space:nowrap;color:#bcc9d8;font-size:10px;max-width:95px;text-align:right;line-height:1.4}
.date-bar{display:flex;gap:9px;align-items:center;margin:18px 0}.icon-button{border:1px solid var(--border);border-radius:13px;background:var(--surface);color:#e9f0fa;min-width:39px;height:46px;font-size:29px;line-height:1}.date-display{flex:1;min-width:0;border-radius:14px;padding:8px 10px;background:var(--surface);border:1px solid var(--border)}.small-caption{display:block;font-size:9px;letter-spacing:1.4px;color:var(--muted);font-weight:800;margin-bottom:1px}.date-display input{background:transparent;border:0;color:var(--ink);font-size:15px;font-weight:750;padding:0;width:100%;height:23px;outline:0;min-width:0}.date-display input::-webkit-calendar-picker-indicator{filter:invert(.85);opacity:.85}.weekday-text{display:block;font-size:11px;color:var(--muted);margin-top:2px}.today-button{border:1px solid var(--accent);border-radius:13px;background:var(--accent-dark);color:var(--accent);font-size:12px;font-weight:700;height:46px;padding:0 11px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0 23px}.stat-card{background:var(--surface);border:1px solid var(--border);padding:15px 10px 14px;border-radius:16px;min-width:0}.stat-card span{display:block;font-size:11px;color:#a5b5c9;margin-bottom:9px}.stat-card strong{font-size:clamp(17px,4.6vw,23px);letter-spacing:-.6px;display:block;font-variant-numeric:tabular-nums;white-space:nowrap}.stat-card small{display:block;color:#788aa3;font-size:10px;margin-top:7px;line-height:1.3}.notice{margin:14px 0 0;padding:11px 13px;font-size:12px;line-height:1.5;border-radius:13px;border:1px solid #a36862;background:#4e262c;color:#ffcfcb}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:21px;padding:19px 17px;margin-bottom:15px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.panel-heading h2{font-size:18px;letter-spacing:-.5px;margin:0 0 4px}.panel-heading p{font-size:12px;color:var(--muted);margin:0}.progress-ring{width:48px;height:48px;border-radius:50%;border:3px solid #3d6a68;display:grid;place-items:center;color:var(--accent);font-weight:750;font-size:11px}.progress-track{height:5px;background:var(--surface-3);border-radius:10px;overflow:hidden;margin:-5px 0 19px}.progress-track>div{height:100%;background:var(--accent);width:0;transition:width .2s}
.primary-action{width:100%;display:flex;align-items:center;gap:13px;border:0;border-radius:16px;padding:18px 17px;background:var(--accent);color:#092422;text-align:left;box-shadow:0 10px 27px #0b594b33;margin-bottom:13px}.primary-action[disabled]{cursor:not-allowed;opacity:.5;box-shadow:none}.action-icon{font-size:23px;background:#00000015;display:grid;place-items:center;width:38px;height:38px;border-radius:12px}.primary-action-copy{display:flex;flex-direction:column;gap:3px;flex:1}.primary-action-copy small{letter-spacing:1.5px;font-size:10px;font-weight:800;opacity:.8}.primary-action-copy strong{font-size:17px;line-height:1.2;letter-spacing:-.4px}.action-chevron{font-size:28px;line-height:1}
.event-list{display:grid;gap:8px}.event-row{display:flex;align-items:center;gap:11px;border:1px solid #2b3e52;background:var(--surface-2);border-radius:14px;padding:13px 10px 13px 13px;min-height:67px}.event-row.recorded{border-color:#27584f;background:#152d35}.event-num{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#25354a;color:#cbd7e2;font-size:12px;font-weight:800;flex:none}.event-row.recorded .event-num{background:#1b4d42;color:var(--accent)}.event-copy{flex:1;min-width:0}.event-title{font-size:13px;font-weight:740;line-height:1.3}.event-value{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px;font-variant-numeric:tabular-nums}.event-row.recorded .event-value{color:var(--accent)}.event-btn{flex:none;min-width:70px;min-height:37px;border-radius:10px;border:1px solid #426274;background:#263e52;color:#e3f4fb;font-size:12px;font-weight:700}.event-row.recorded .event-btn{color:var(--accent);background:transparent;border-color:#367568}.event-btn:disabled{opacity:.5;cursor:default}.completion-line{margin:14px 3px 0;color:var(--accent);font-size:12px;line-height:1.5}.notes-panel textarea{width:100%;border-radius:13px;padding:13px;background:#0d1727;border:1px solid #314157;color:var(--ink);resize:vertical;min-height:72px;font-size:14px;line-height:1.4}.privacy-note{font-size:11px;color:#8b9bb2;line-height:1.5;margin:19px 5px 0}
.bottom-nav{display:flex;position:fixed;z-index:4;bottom:0;left:0;right:0;margin:auto;max-width:740px;align-items:stretch;background:#111e30f7;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid #2b3d54;padding:8px 18px calc(10px + env(safe-area-inset-bottom));gap:7px}.tab{width:33.33%;padding:8px 0 5px;border:0;background:transparent;border-radius:12px;color:#92a4bc;display:grid;place-items:center;gap:5px;font-size:11px;font-weight:650}.tab svg{width:23px;height:23px}.tab.active{background:#1a3f3d;color:var(--accent)}
.section-head{margin:7px 2px 21px}.section-head h1{font-size:30px;margin:8px 0;letter-spacing:-1px}.section-head p:not(.eyebrow){font-size:13px;margin:0;color:var(--muted)}.report-filter{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 12px}.report-filter label{font-size:13px;font-weight:700}.report-filter select{background:var(--surface-2);border:1px solid var(--border);border-radius:11px;color:var(--ink);padding:11px 13px;min-width:145px;max-width:65%}.history-list{display:grid;gap:8px}.history-row{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px;padding:12px 13px;color:var(--ink);background:var(--surface-2);border:1px solid var(--border);border-radius:13px}.history-day{display:flex;flex-direction:column;gap:4px}.history-day strong{font-size:13px}.history-day small{font-size:11px;color:var(--muted)}.history-numbers{text-align:right;display:flex;flex-direction:column;gap:4px}.history-numbers strong{font-size:13px}.history-numbers small{font-size:11px;color:var(--muted)}.history-empty{color:var(--muted);font-size:13px;text-align:center;padding:35px 0}.report-card{background:linear-gradient(135deg,#194f4b,#173344);border:1px solid #356c67;border-radius:22px;padding:23px 21px;margin-bottom:21px}.report-card span{display:block;font-size:10px;font-weight:750;letter-spacing:2px;color:#a2d4c8}.report-card strong{display:block;font-size:39px;margin:11px 0 7px;font-variant-numeric:tabular-nums;letter-spacing:-1.7px}.report-card p{margin:0;color:#b7d0cf;font-size:12px}.report-month-filter{margin:0 3px 0}.reports-stats{margin-top:13px}.reports-stats .stat-card{min-height:92px}.table-scroller{overflow-x:auto}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}th,td{padding:13px 4px;border-top:1px solid var(--border);font-size:12px;text-align:right;white-space:nowrap}th:first-child,td:first-child{text-align:left}th{color:var(--muted);font-size:10px;letter-spacing:.2px}.export-button{width:100%;display:flex;gap:11px;align-items:center;text-align:left;border:1px solid #5b9b87;border-radius:14px;background:#15382f;color:#ebfff5;padding:14px 13px}.export-button>span:first-child{font-size:28px;line-height:1;width:34px;text-align:center;color:var(--accent)}.export-button strong,.export-button small{display:block}.export-button strong{font-size:14px}.export-button small{color:#9ebdad;font-size:11px;margin-top:4px}.secondary-actions{display:flex;gap:9px;margin-top:11px}.secondary-actions button{flex:1;padding:12px 8px;background:#1a2a3f;color:var(--ink);border:1px solid #344e65;border-radius:12px;font-size:11px;font-weight:750}.microcopy{font-size:11px;color:var(--muted);line-height:1.6;margin:15px 3px 0}
.modal-backdrop{position:fixed;z-index:10;inset:0;background:#010815c9;display:flex;align-items:end;justify-content:center;padding:18px 12px max(22px,env(safe-area-inset-bottom))}.modal{background:#17273b;border:1px solid #3a5168;border-radius:24px;width:100%;max-width:520px;padding:23px 21px 19px;box-shadow:0 12px 90px #0009}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head h2{margin:6px 0 0;font-size:24px;letter-spacing:-.6px}.close-button{width:39px;min-width:39px;height:39px;font-size:24px}.modal-subtitle{font-size:13px;color:var(--muted);margin:8px 0 22px}.editor-label{display:block;font-size:12px;color:#b6c9db;font-weight:750;margin-bottom:8px}.modal input{display:block;width:100%;padding:15px 12px;border-radius:12px;background:#0b1728;color:var(--ink);border:1px solid #45607a;font-size:16px;color-scheme:dark}.modal-save,.modal-clear{width:100%;padding:15px;border-radius:12px;font-weight:800;font-size:14px}.modal-save{border:0;background:var(--accent);color:#05201c;margin-top:19px}.modal-clear{border:1px solid #754b50;background:transparent;color:#f3b1ab;margin-top:9px}.editor-error{background:#572d33;color:#ffcdc7;padding:10px 12px;border-radius:10px;margin-top:12px;font-size:12px}
@media(min-width:640px){.app-shell{padding-left:27px;padding-right:27px}.topbar{padding-top:30px}.hero{padding:26px 28px}.stat-card{padding:19px}.event-row{padding:15px}.panel{padding:24px}.live-time{font-size:54px}}
@media(max-width:360px){.app-shell{padding-left:12px;padding-right:12px}.hero{padding:18px}.live-time{font-size:34px}.time-zone{font-size:9px}.stat-card{padding:11px 7px}.stat-card strong{font-size:16px}.date-bar{gap:5px}.today-button{padding:0 8px}}
