@font-face{font-family:"Instrument Serif";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-ext-400-normal-C2je3j2s.woff2) format("woff2"),url(/assets/instrument-serif-latin-ext-400-normal-CFCUzsTy.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Instrument Serif";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2) format("woff2"),url(/assets/instrument-serif-latin-400-normal-BVbkICAY.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Instrument Serif";font-style:italic;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-ext-400-italic-C9HzH3YL.woff2) format("woff2"),url(/assets/instrument-serif-latin-ext-400-italic-D7-lnxEk.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Instrument Serif";font-style:italic;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-italic-DKMiL14s.woff2) format("woff2"),url(/assets/instrument-serif-latin-400-italic-u__WvvIK.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5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tGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:var(--sans);color:var(--text);background:var(--bg);font-synthesis:none;--serif: "Instrument Serif", Georgia, "Times New Roman", serif;--sans: "Manrope Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--bg: #fbf1ee;--surface: #fffaf8;--text: #2b1426;--muted: #6e4a5f;--line: #2b14261a;--brand: #a8304f;--action: #2b1426;--on-action: #fff1ea;--soft: #a8304f14;--accent: #a84a2a;--danger: #b3263e;--shadow: 0 18px 40px -18px #7828464d;--glass: linear-gradient(160deg, #ffffffd1, #ffffff73);--glass-flat: #ffffffa6;--glass-border: #ffffffe6;--glass-hi: #ffffff;--field: #ffffffb3;--sheet: #fdf6f3;--scrim: #2b142666;--glow-1: #ff8a6594;--glow-2: #f07aa080;--glow-3: #b48ce680;--spark: #ff8a65;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ad614a;outline-offset:3px}button{border:0;background:none;min-height:44px}a{color:inherit}input,textarea,select{min-height:48px;width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);padding:12px 14px;font-size:16px;max-width:100%}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--brand)}input[type=date],input[type=time]{min-width:0;-webkit-appearance:none}h1,h2,p{margin-top:0}h1{font-family:var(--serif);font-size:34px;font-weight:400;letter-spacing:-1.2px}h2{font-size:19px;font-weight:600;letter-spacing:-.4px;margin-bottom:20px}p{line-height:1.65}small{font-size:13px}.muted,.fine{color:var(--muted)}.fine{font-size:13px;line-height:1.7;margin-top:18px}.center{text-align:center}.app{max-width:640px;margin:auto;padding-bottom:calc(112px + env(safe-area-inset-bottom));min-height:100dvh}.app-header{display:flex;justify-content:space-between;align-items:center;padding:calc(16px + env(safe-area-inset-top)) 24px 10px}.wordmark{font-family:var(--serif);font-style:italic;font-size:31px;line-height:1;font-weight:400;letter-spacing:-1.8px;text-decoration:none}.wordmark span{display:block;font-size:11px;font-family:var(--sans);font-style:normal;letter-spacing:2px;font-weight:400;text-transform:uppercase;margin-top:6px;color:var(--muted)}.header-actions{display:flex;gap:6px}.icon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;border-radius:50%}.sync{font-size:12px;display:flex;align-items:center;gap:7px;margin:0 24px;color:var(--muted);letter-spacing:.2px}.sync span{width:5px;height:5px;border-radius:50%;background:#a55269}.sync-error{color:#b04f40}.sync-error span{background:#b04f40}.content{padding:20px 24px 0}.page-title{margin:4px 0 20px}.page-title p{font-size:11px;text-transform:uppercase;letter-spacing:1.9px;color:var(--muted);margin:0 0 10px}.page-title h1{margin:0 0 9px}.page-title>span{font-size:13px;color:var(--muted)}.hero-card{background:radial-gradient(ellipse at 100% 0%,#973c51 0%,transparent 65%),linear-gradient(145deg,#782039,#471527);color:#fff2ed;border-radius:8px 38px;box-shadow:0 8px 22px #661b3412;isolation:isolate;padding:20px;margin-bottom:14px;position:relative;overflow:hidden}.hero-card:after{content:"";width:270px;height:270px;position:absolute;border:1px solid #efb6a42a;border-radius:50%;top:-95px;right:-160px;box-shadow:0 0 0 22px #efb6a408,0 0 0 48px #efb6a407;z-index:-1;pointer-events:none}.eyebrow{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.3px;color:#f3cbd1}.hero-time{font-family:var(--serif);font-style:italic;font-size:48px;font-weight:400;letter-spacing:-2px;margin:12px 0 14px;display:flex;align-items:center;gap:18px}.hero-time span{font-size:13px;letter-spacing:0;font-family:var(--sans);font-style:normal;max-width:112px;line-height:1.6;color:#edbbc8}.hero-info{display:flex;justify-content:space-between;font-size:13px;gap:10px}.progress-track{height:4px;background:#fff2;margin:9px 0;border-radius:5px;overflow:hidden}.progress-track i{display:block;height:100%;background:#edba9f;border-radius:5px}.hero-card p{font-size:13px;color:#f3cbd1;margin:0 0 14px;line-height:1.5}.light-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border-radius:50px;background:#ffe9df;color:#85243e;font-size:14px;font-weight:600}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.quick-grid button{text-align:left;background:var(--surface);padding:14px;border:1px solid var(--line);border-radius:4px 24px;position:relative}.quick-grid b{display:block;font-size:14px;margin-top:10px}.quick-grid span{display:block;font-size:13px;color:var(--muted);margin-top:6px}.quick-grid button>svg:last-child{position:absolute;right:12px;top:14px;color:var(--muted)}.quick-grid button:nth-child(2)>svg:first-child{color:var(--accent)}.section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.section-title h2{margin:0;font-size:17px}.text-button{font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--brand);padding:8px}.event{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:flex-start;gap:12px;background:var(--surface);border:0;border-bottom:1px solid var(--line);border-radius:4px;margin-bottom:10px;padding:17px 12px 15px 15px;min-width:0;flex:1}.event-icon{display:flex;align-items:center;justify-content:center;background:var(--soft);width:38px;height:38px;border-radius:50%;color:var(--brand);flex-shrink:0}.event-copy{flex:1;min-width:0}.event-copy b{display:block;font-size:15px;line-height:1.5}.event-copy small{color:var(--muted);display:block;font-size:13px;margin-top:3px}.event-copy p{font-size:14px;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.rating{color:var(--accent);display:block;letter-spacing:3px;font-size:11px;margin-top:9px}.event-actions{display:flex;grid-column:2;justify-content:flex-end;gap:4px;margin:0 -4px -6px 0}.event-actions .icon{height:44px;min-height:44px;width:44px;min-width:44px;color:var(--muted)}.empty{text-align:center;padding:35px 16px;color:var(--muted)}.empty svg{opacity:.4}.empty p{font-size:13px;margin-top:15px}.card{border:1px solid var(--line);background:var(--surface);border-radius:8px 24px;padding:20px;margin-bottom:14px;box-shadow:var(--shadow)}.card h2{font-size:17px}.bottom-nav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:608px;display:flex;justify-content:space-around;align-items:center;padding:7px 6px;background:color-mix(in srgb,var(--surface) 95%,transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--line);border-radius:24px;box-shadow:0 4px 18px #4813290c;z-index:10}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:18%;color:var(--muted);font-size:11px;min-height:48px}.bottom-nav .active{color:var(--brand)}.bottom-nav .add-button{height:46px;min-height:46px;width:46px;flex-shrink:0;border-radius:50%;background:var(--action);color:var(--on-action);transform:none;box-shadow:none}.field{display:block;margin-bottom:14px}.field>span,.field>label>span{display:block;margin-bottom:8px;font-size:14px;font-weight:500}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid>*{min-width:0}.primary,.secondary{border-radius:13px;min-height:49px;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:9px}.primary{background:var(--action);color:var(--on-action);width:100%;margin-top:18px}.secondary{background:var(--soft);color:var(--brand);padding:10px 18px}.full{width:100%}.scrim{position:fixed;inset:0;background:#230d1bdc;z-index:30;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sheet{width:100%;max-width:620px;background:var(--surface);border-radius:26px 26px 0 0;padding:20px 24px calc(26px + env(safe-area-inset-bottom));max-height:92dvh;overflow-y:auto;animation:slide-in .2s ease}.sheet-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-20px;padding:10px 0;background:var(--surface);z-index:2;margin-bottom:10px}.sheet-head h2{margin:0;font-size:21px}.sheet p{font-size:13px}.add-options button{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border-bottom:1px solid var(--line);padding:19px 2px}.add-options button>svg:first-child{color:var(--accent)}.add-options button div{flex:1}.add-options b,.add-options span{display:block}.add-options b{font-size:14px}.add-options span{font-size:12px;color:var(--muted);margin-top:6px}.month-heading{display:flex;align-items:center;justify-content:space-between;margin:-7px -10px 13px}.month-heading h2{margin:0;font-size:16px}.month-heading h2:first-letter{text-transform:uppercase}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.calendar small{color:var(--muted);margin-bottom:10px;font-size:12px}.calendar button{height:48px;min-height:48px;border-radius:13px;font-size:14px;position:relative;font-weight:500;padding:2px}.calendar button.pause{background:var(--soft)}.calendar button.chosen{background:var(--action);color:var(--on-action)}.dots{display:flex;gap:2px;justify-content:center;height:5px;margin-top:5px}.dots i{width:4px;height:4px;border-radius:50%;background:#b893a2}.dots .encounter{background:#ad614a}.dots .dose{background:#aa4a69}.dots .note{background:#9d7652}.dots .warning{background:#cf6b59}.legend{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px;margin-top:5px;line-height:1.8}.search{display:flex;align-items:center;gap:10px;margin-bottom:19px}.search input{border:0;padding-left:2px;background:transparent}.selectable{display:flex;align-items:flex-start;gap:9px}.selectable>input{margin-top:22px;flex-shrink:0}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 7px}.metric-grid .card{padding:20px 17px;margin:0 0 8px}.metric-grid span{font-size:13px;color:var(--muted);display:block;margin-bottom:9px}.metric-grid strong{display:block;font-size:32px;font-weight:500;letter-spacing:-1px}.metric-grid strong small{font-size:13px;letter-spacing:0;color:var(--muted)}.metric-grid .card>small{font-size:12px;color:var(--muted);display:block;margin-top:8px}.bar-row{display:flex;align-items:center;gap:12px;font-size:13px;margin:17px 0}.bar-row>span{width:100px;flex-shrink:0;overflow-wrap:anywhere}.bar-row>div{flex:1;background:var(--soft);height:7px;border-radius:5px;overflow:hidden}.bar-row i{height:100%;display:block;background:#a23a58;border-radius:5px}.bar-row b{font-size:13px;min-width:14px}.data-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.5}.data-row b{font-weight:500;font-size:13px}.data-row small{text-align:right;font-size:12px;color:var(--muted)}.toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;font-size:14px;position:relative}.toggle input{position:absolute;opacity:0;right:0;width:44px;height:30px}.toggle i{width:42px;height:25px;border-radius:20px;background:var(--line);position:relative;pointer-events:none}.toggle i:after{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;background:#fff;border-radius:50%;transition:transform .2s}.toggle input:checked+i{background:var(--brand)}.toggle input:checked+i:after{transform:translate(17px)}.toggle input:focus-visible+i{outline:3px solid var(--accent)}.settings-button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border-bottom:1px solid var(--line);padding:14px 0;min-height:54px;font-size:14px;line-height:1.6}.settings-button>svg:last-child:not(:first-child){margin-left:auto}.settings-button:last-child{border-bottom:0}.danger-text{color:var(--danger)!important}.danger-zone{border-color:#be79622b}.tag-edit{display:flex;align-items:center;gap:5px;margin-bottom:9px}.tag-edit input{font-size:16px;min-height:43px;padding:8px 10px}.tag-edit .text-button{min-width:50px;font-size:12px}.gate{min-height:100dvh;max-width:440px;margin:auto;padding:calc(60px + env(safe-area-inset-top)) 30px 40px;display:flex;flex-direction:column;align-items:center;text-align:center}.brand-mark{background:linear-gradient(145deg,#902d49,#451126);color:#fff;font-size:51px;width:76px;height:76px;display:flex;align-items:center;justify-content:center;border-radius:50%;box-shadow:0 12px 35px #83243e20;margin-bottom:24px;font-family:var(--serif);padding:10px}.gate h1{font-size:35px;margin:0 0 5px}.gate>p{font-size:13px}.gate form{width:100%;margin-top:27px}.gate form .field{text-align:left}.gate form>p{font-size:12px}.gate h2{margin-top:13px;font-size:20px}.gate-icon{margin:3px 0 0;color:var(--accent)}.secure{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:30px}.alert{padding:14px;border-radius:12px;background:#ad614a14;color:#aa5c4d;font-size:12px;overflow-wrap:anywhere}.toast{position:fixed;pointer-events:none;z-index:40;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:calc(100% - 40px);max-width:600px;display:flex;align-items:center;justify-content:space-between;background:var(--text);color:var(--surface);box-shadow:0 8px 30px #0003;border-radius:14px;padding:12px 17px;font-size:12px}.toast button{pointer-events:auto;color:inherit;flex-shrink:0}.recovery{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;border:1px dashed var(--accent);border-radius:13px;font-size:13px;line-height:1.8}.install-steps{padding-left:25px;font-size:14px;line-height:2.2}.import-preview{padding:18px;background:var(--soft);border-radius:13px;margin:17px 0}.import-preview b,.import-preview span{display:block;font-size:13px}.import-preview span{font-size:11px;margin-top:8px;color:var(--muted)}details{margin:12px 0 23px}summary{min-height:44px;display:flex;align-items:center;font-size:14px;cursor:pointer;color:var(--brand)}summary:after{content:"+";margin-left:auto;font-size:20px}details[open]>summary:after{content:"−"}fieldset{border:0;padding:0;margin:0 0 23px;min-width:0}legend{font-size:14px;font-weight:500;margin-bottom:10px}.rating-field>div{display:flex;gap:8px}.rating-field button{border:1px solid var(--line);background:var(--bg);border-radius:13px;flex:1;min-height:46px;font-size:15px}.rating-field button span{display:block;font-size:19px;margin-top:2px;color:var(--accent)}.rating-field button.selected,.chips button.selected{border-color:var(--brand);background:var(--soft);color:var(--brand)}.chips{display:flex;flex-wrap:wrap;gap:7px}.chips button{border:1px solid var(--line);min-height:44px;border-radius:30px;padding:8px 14px;font-size:13px;background:var(--bg)}.destructive{background:#a75045}.masked{filter:blur(9px);pointer-events:none;-webkit-user-select:none;user-select:none}.concealed .app{visibility:hidden}.concealed body{background:var(--bg)}@keyframes slide-in{0%{transform:translateY(35px);opacity:0}to{transform:translateY(0);opacity:1}}:root[data-theme=dark]{--bg: #140a12;--surface: #2b1426;--text: #f7eaec;--muted: #cfb5c0;--line: #ffffff21;--brand: #ffc2a6;--action: #f6d3c1;--on-action: #2b1426;--soft: #ffffff14;--accent: #ff9b7a;--danger: #ff8c9c;--shadow: 0 20px 40px -14px #08020899;--glass: linear-gradient(160deg, #ffffff26, #ffffff0d);--glass-flat: #ffffff12;--glass-border: #ffffff29;--glass-hi: #ffffff47;--field: #140a1273;--sheet: #221020;--scrim: #0a040ab3;--glow-1: #ff8a65b3;--glow-2: #c2366a99;--glow-3: #5b2e8cb3;--spark: #ff8a65;color-scheme:dark}@media(prefers-color-scheme:dark){:root[data-theme=system]{--bg: #140a12;--surface: #2b1426;--text: #f7eaec;--muted: #cfb5c0;--line: #ffffff21;--brand: #ffc2a6;--action: #f6d3c1;--on-action: #2b1426;--soft: #ffffff14;--accent: #ff9b7a;--danger: #ff8c9c;--shadow: 0 20px 40px -14px #08020899;--glass: linear-gradient(160deg, #ffffff26, #ffffff0d);--glass-flat: #ffffff12;--glass-border: #ffffff29;--glass-hi: #ffffff47;--field: #140a1273;--sheet: #221020;--scrim: #0a040ab3;--glow-1: #ff8a65b3;--glow-2: #c2366a99;--glow-3: #5b2e8cb3;--spark: #ff8a65;color-scheme:dark}}@media(min-width:600px){.content{padding:30px 35px}.app-header{padding-left:35px;padding-right:35px}.sync{margin-left:35px}.hero-card{padding:24px}.scrim{align-items:center;padding:25px}.sheet{border-radius:26px;max-height:90dvh;padding:25px 30px}.sheet-head{top:-25px}.quick-grid button{padding:18px}.hero-time{font-size:52px}}@media(max-width:360px){.content,.app-header{padding-left:16px;padding-right:16px}.calendar{gap:2px}.card{padding:17px}.quick-grid{gap:8px}.quick-grid button{padding:16px 12px}.quick-grid b{font-size:13px}.sheet{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.brand-mark img{width:100%;height:100%}.wordmark>img{width:28px;height:28px;background:#601d35;border-radius:50%;margin-right:8px;padding:3px;vertical-align:-2px}h2{font-family:var(--serif);font-weight:400}.metric-grid strong,.hero-time{font-variant-numeric:tabular-nums}.page-title h1{max-width:100%;font-size:34px;line-height:1.12}.page-title p{letter-spacing:1.2px;font-size:11px}.primary{border-radius:50px;min-height:50px}.gate{padding-top:calc(70px + env(safe-area-inset-top))}.gate h1{font-size:56px;font-style:italic;margin-bottom:8px}.gate form{padding:26px 20px 16px;border:1px solid var(--line);border-radius:8px 32px;background:var(--surface);box-shadow:var(--shadow)}.bottom-nav .active>svg{stroke-width:2.3}.bottom-nav button:not(.add-button).active{font-weight:600}.quick-grid button:first-child{background:var(--soft);color:var(--brand)}select{appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%;background-size:5px 5px;background-repeat:no-repeat}summary{list-style:none}summary::-webkit-details-marker{display:none}.bottom-nav svg{width:22px;height:22px}.bottom-nav .add-button svg{width:26px;height:26px}.hero-info>:last-child{text-align:right}.quick-grid>button>svg:first-child{width:22px;height:22px}.quick-grid>button>svg:last-child{width:17px;height:17px}.hero-time{line-height:1.15}.sheet.record-sheet{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}.record-sheet .sheet-head{flex-shrink:0;position:static;padding-top:0}.record-form{display:flex;flex-direction:column;min-height:0}.form-body{overflow-y:auto;min-height:0;overscroll-behavior-y:contain;padding:3px 3px 16px;margin-inline:-3px}.form-actions{flex-shrink:0;padding:12px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}.form-actions .primary{margin:0}.form-actions .fine{font-size:12px;margin:8px 0 0;line-height:1.4}.encounter-form .form-basics>.field:first-child{grid-column:1 / -1}.record-form fieldset{margin-bottom:14px}.record-form .field>label>span{margin-bottom:6px}.record-form textarea{min-height:96px}.rating-value{color:var(--muted);font-size:13px;font-weight:400;margin-left:8px}.activity-picker{margin:0 0 14px;border-block:1px solid var(--line)}.activity-picker summary{gap:8px;min-height:50px;color:var(--text)}.activity-picker .chips{padding:4px 0 14px}.summary-count{font-size:12px;font-weight:400;color:var(--muted)}.settings-list{display:grid;gap:10px}.settings-section.card{margin:0;padding:0;border-radius:16px;box-shadow:none}.settings-summary{padding:15px 16px;min-height:72px;gap:12px;color:var(--text)}.settings-summary:after,.settings-section[open]>.settings-summary:after{content:none}.settings-summary>svg{margin-left:auto;flex-shrink:0;color:var(--muted);transition:transform .15s ease}.settings-section[open]>.settings-summary>svg{transform:rotate(90deg)}.settings-topic-icon{color:var(--brand);width:24px;height:24px;flex-shrink:0}.settings-topic-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.settings-topic-copy strong{font-size:15px;font-weight:600}.settings-topic-copy small{color:var(--muted);font-size:12px;line-height:1.45}.settings-section-body{padding:4px 16px 18px}.settings-section-body .card{padding:0;border:0;box-shadow:none;border-radius:0}.settings-section-body h2{font-family:inherit;font-size:15px;font-weight:600;margin:18px 0 12px}.settings-section-body .danger-zone{border-top:1px solid var(--line);padding-top:8px;margin-top:20px}.tag-edit{flex-wrap:nowrap}.tag-edit input{min-width:0}.tag-edit .icon{min-width:44px}.legend{display:flex;flex-wrap:wrap;gap:6px 14px;line-height:1.5}.legend>span{display:inline-flex;align-items:center;gap:6px}.legend-marker{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--muted);flex-shrink:0}.legend-marker.dose,.dots .dose{background:var(--brand);border-radius:2px}.legend-marker.encounter,.dots .encounter{background:var(--accent);border-radius:50%}.legend-marker.note,.dots .note{background:var(--muted);border-radius:1px;transform:rotate(45deg)}.legend-marker.late,.dots .warning{background:var(--danger);border-radius:0;clip-path:polygon(50% 0,100% 100%,0 100%)}.legend-marker.pause{width:12px;height:12px;border-radius:4px;background:var(--soft);border:1px solid var(--line)}.dots{gap:3px;height:6px}.dots i{width:5px;height:5px}.calendar .chosen .dots i{background:var(--on-action)}.insights-secondary{padding:0 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin:14px 0}.insights-secondary>summary{min-height:58px;color:var(--text);font-weight:600}.insights-secondary .card{padding:18px 0;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.chart-empty{font-size:13px;color:var(--muted);margin-bottom:0}@media(min-width:600px){.form-actions{padding-bottom:20px}}@media(max-width:360px){.hero-time{font-size:43px;gap:10px}.hero-card{padding:18px}.hero-time span{font-size:12px}.page-title h1{font-size:31px}.gate{padding-inline:20px}.bottom-nav{width:calc(100% - 20px);padding-inline:4px}.bottom-nav button{font-size:11px}.quick-grid span{font-size:12px}.form-grid{gap:0 10px}.data-row{flex-wrap:wrap}}:root{background:var(--bg)}body{background:transparent;font-family:var(--sans);-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:-10vmax;z-index:-1;pointer-events:none;background:radial-gradient(38vmax 38vmax at 12% 22%,var(--glow-1),transparent 70%),radial-gradient(36vmax 36vmax at 92% 8%,var(--glow-2),transparent 70%),radial-gradient(44vmax 44vmax at 82% 92%,var(--glow-3),transparent 70%)}.concealed body:before{display:none}.hero-card,.bottom-nav,.gate form,.quick-grid button,.header-actions .icon{background:var(--glass);border:1px solid var(--glass-border);box-shadow:inset 0 1px 0 var(--glass-hi),var(--shadow);-webkit-backdrop-filter:blur(28px) saturate(170%);backdrop-filter:blur(28px) saturate(170%)}.card,.event,.insights-secondary,.settings-section.card{background:var(--glass-flat);border:1px solid var(--glass-border);box-shadow:inset 0 1px 0 var(--glass-hi)}h1,.page-title h1{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1}.page-title h1{font-size:44px}h2,.section-title h2,.card h2{font-family:var(--serif);font-weight:400;font-size:24px;letter-spacing:0}.sheet-head h2{font-size:30px}.page-title p{font-weight:600;letter-spacing:.14em}.wordmark{font-size:30px;letter-spacing:0}.wordmark>img{width:34px;height:24px;padding:0;margin-right:10px;border-radius:0;background:none;vertical-align:-3px}.wordmark span{font-weight:600;letter-spacing:.14em}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--accent)}.header-actions{gap:8px}.icon.active,.icon:hover{background:var(--soft)}.header-actions .icon.active{background:var(--soft);color:var(--brand)}.sync span{width:6px;height:6px;background:#4fbf84;box-shadow:0 0 8px #4fbf84}.sync-error span{background:var(--danger);box-shadow:0 0 8px var(--danger)}.hero-card{color:var(--text);border-radius:30px;padding:20px}.hero-card:after{display:none}.eyebrow,.hero-card p,.hero-time span{color:var(--muted)}.eyebrow{font-weight:600}.hero-card h2{margin:12px 0 8px;font-size:30px}.hero-time{font-family:var(--serif);font-size:56px;letter-spacing:0}.hero-time span{font-family:var(--sans)}.progress-track{height:8px;background:var(--soft);border-radius:999px}.progress-track i{border-radius:999px;background:linear-gradient(90deg,#e0567f,var(--spark));box-shadow:0 0 14px -2px var(--spark)}.primary,.light-button{border-radius:999px;min-height:52px;font-weight:700;background:linear-gradient(180deg,color-mix(in srgb,var(--action) 82%,#fff),var(--action));color:var(--on-action);box-shadow:0 12px 30px -12px var(--spark),inset 0 1px #ffffff59}.secondary{border-radius:999px;background:var(--glass-flat);border:1px solid var(--glass-border);color:var(--text)}.destructive,.primary.destructive{background:linear-gradient(180deg,#d0576a,#a8304f);color:#fff4f1;box-shadow:0 12px 30px -12px #d0576a}.quick-grid{gap:12px}.quick-grid button,.quick-grid button:first-child{border-radius:24px;color:var(--text)}.quick-grid button>svg:first-child{box-sizing:content-box;padding:9px;border-radius:50%;background:#e0567f2e;color:var(--brand)}.quick-grid button:nth-child(2)>svg:first-child{background:#ff8a6533;color:var(--accent)}.event{border-radius:22px;border-bottom:1px solid var(--glass-border)}.event-icon{background:var(--soft);color:var(--brand)}.rating{color:var(--accent)}.card{border-radius:24px}.metric-grid strong{font-family:var(--serif);font-size:44px;font-weight:400;letter-spacing:0;line-height:1}.metric-grid strong small{font-family:var(--sans)}.bar-row>div{height:10px;border-radius:999px}.bar-row i{border-radius:999px;background:linear-gradient(90deg,#e0567f,var(--spark))}.insights-secondary{border-radius:24px}.bottom-nav{border-radius:999px;padding:8px 10px;-webkit-backdrop-filter:blur(40px) saturate(180%);backdrop-filter:blur(40px) saturate(180%)}.bottom-nav button:not(.add-button).active{color:var(--brand);background:var(--soft);border-radius:999px}.bottom-nav .add-button{height:52px;min-height:52px;width:52px;background:radial-gradient(circle at 35% 30%,#ffe7da,var(--spark) 72%);color:#2b1426;box-shadow:0 0 24px -4px var(--spark),inset 0 1px #fff}input,textarea,select{background-color:var(--field);border:1px solid var(--line);border-radius:16px;box-shadow:inset 0 2px 6px #00000014}.search input{box-shadow:none}.rating-field button,.chips button{background:var(--glass-flat);border:1px solid var(--line)}.rating-field button{border-radius:16px}.rating-field button span{font-family:var(--serif)}.rating-field button.selected,.chips button.selected{border-color:color-mix(in srgb,var(--spark) 60%,transparent);background:color-mix(in srgb,var(--spark) 22%,transparent);color:var(--text);box-shadow:0 0 18px -8px var(--spark)}.toggle i{background:var(--soft);box-shadow:inset 0 0 0 1px var(--line)}.toggle input:checked+i{background:linear-gradient(90deg,#e0567f,var(--spark));box-shadow:none}.calendar button.today{box-shadow:inset 0 0 0 1px var(--brand)}.calendar button.chosen{background:radial-gradient(circle at 35% 30%,#ffe7da,var(--spark) 80%);color:#2b1426;box-shadow:0 0 18px -6px var(--spark)}.calendar .chosen .dots i{background:#2b1426}.scrim{background:var(--scrim);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}.sheet,.sheet-head,.form-actions{background:var(--sheet)}.sheet{border:1px solid var(--glass-border);border-bottom:0;box-shadow:inset 0 1px 0 var(--glass-hi),0 -20px 60px -20px #0006;border-radius:32px 32px 0 0}.gate h1{font-size:64px}.gate form{border-radius:32px}.brand-mark{width:96px;height:66px;padding:0;border-radius:0;background:none;box-shadow:none;filter:drop-shadow(0 8px 24px #ff8a6566)}.alert{background:#ff8a651f;color:var(--text);border:1px solid #ff8a6559}.toast{border-radius:999px;padding:12px 20px}.recovery{border-color:var(--accent);background:var(--field);border-radius:18px}@media(min-width:600px){.hero-time{font-size:60px}.sheet{border-radius:32px;border-bottom:1px solid var(--glass-border)}}@media(max-width:360px){.hero-time{font-size:46px}.page-title h1{font-size:38px}}.background-hidden #root{visibility:hidden}.update-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;background:var(--glass-flat);border:1px solid var(--glass-border);border-radius:999px;font-size:12px;margin-bottom:20px}
