/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--canvas:#ebeae4;--paper:#f6f5f0;--card:#fffefa;--ink:#173331;--muted:#697674;--line:#ddded8;--accent:#e96f5f;--accent-soft:#f8e6df;--green:#173b3a;--mint:#dbeae4;--yellow:#f5d98e}*{box-sizing:border-box}html{background:var(--canvas);-webkit-text-size-adjust:100%}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic UI,Yu Gothic,Noto Sans JP,sans-serif}button,input,textarea{color:inherit;font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #e96f5f4d}.app-shell{background:var(--paper);width:min(100%,520px);min-height:100dvh;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 0 80px #17333114}.app-header{z-index:5;min-height:86px;padding:calc(14px + env(safe-area-inset-top)) 22px 14px;background:#f6f5f0f5;border-bottom:1px solid #17333114;justify-content:space-between;align-items:center;display:flex;position:relative}.brand{align-items:center;gap:11px;display:flex}.brand-mark{background-color:var(--green);background-image:url(/yuragi-note-icon.png);background-position:50%;background-size:cover;border-radius:13px;flex:none;width:42px;height:42px;box-shadow:0 5px 13px #173b3a29}.brand p,.brand h1{margin:0}.brand p{color:#85908e;letter-spacing:.16em;margin-bottom:2px;font-size:9px;font-weight:800}.brand h1{letter-spacing:.04em;font-size:18px;font-weight:800}.local-badge,.recording-badge,.install-badge{color:#61706d;letter-spacing:.02em;background:#fffefa;border:1px solid #d6ddd8;border-radius:999px;min-height:32px;padding:7px 11px;font-size:11px;font-weight:700}.install-badge{color:#285e55;cursor:pointer;background:#e7f0ec;border-color:#cad8d2;align-items:center;gap:6px;display:flex}.install-badge>span{background:var(--green);color:#fff;border-radius:6px;place-items:center;width:18px;height:18px;font-size:12px;line-height:1;display:grid}.recording-badge{color:#ad473b;cursor:pointer;background:#fff2ee;border-color:#f2c6bd;align-items:center;gap:7px;display:flex}.recording-badge span{background:var(--accent);border-radius:50%;width:7px;height:7px;animation:1.6s ease-in-out infinite pulse;box-shadow:0 0 0 4px #e96f5f24}@keyframes pulse{50%{opacity:.5}}.page-content{padding:18px 18px calc(112px + env(safe-area-inset-bottom))}.record-page,.summary-page{flex-direction:column;gap:14px;display:flex}.start-card{background:var(--green);color:#f8f4ea;border-radius:28px;min-height:470px;padding:24px;position:relative;overflow:hidden;box-shadow:0 22px 46px #173b3a29}.start-card:before,.start-card:after{content:"";border:1px solid #ffffff14;border-radius:50%;position:absolute}.start-card:before{width:235px;height:235px;top:-84px;right:-78px}.start-card:after{width:160px;height:160px;top:-47px;right:-41px}.current-time{z-index:1;justify-content:space-between;align-items:flex-start;display:flex;position:relative}.current-time span{color:#b8ccc6;padding-top:6px;font-size:13px;font-weight:650}.current-time strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:36px;font-weight:650}.start-copy{z-index:1;margin-top:65px;position:relative}.eyebrow{color:var(--accent);letter-spacing:.18em;margin:0 0 10px;font-size:10px;font-weight:900}.start-copy h2{letter-spacing:.02em;margin:0;font-size:clamp(29px,8vw,36px);font-weight:800;line-height:1.38}.start-copy>p:last-child{color:#b9cbc6;max-width:330px;margin:15px 0 0;font-size:13px;font-weight:500;line-height:1.8}.primary-start{z-index:1;background:var(--accent);color:#fff;text-align:left;cursor:pointer;border:0;border-radius:19px;align-items:center;gap:14px;width:100%;min-height:78px;margin-top:33px;padding:12px 16px;transition:transform .12s,background .12s;display:flex;position:relative;box-shadow:0 12px 28px #0921203d}.primary-start:active{background:#dc6152;transform:scale(.985)}.start-plus{background:#ffffff29;border-radius:14px;flex:none;place-items:center;width:46px;height:46px;font-size:29px;font-weight:300;display:grid}.primary-start>span:last-child{flex-direction:column;gap:3px;display:flex}.primary-start strong{font-size:17px;font-weight:800}.primary-start small{color:#ffe8e2;font-size:11px;font-weight:600}.manual-link{z-index:1;color:#d4dedb;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:10px;min-height:44px;margin:7px auto -7px;font-size:13px;font-weight:700;display:flex;position:relative}.manual-link span{color:var(--accent);font-size:18px}.privacy-card,.latest-card{border:1px solid var(--line);background:var(--card);border-radius:20px;align-items:center;gap:13px;width:100%;padding:16px 17px;display:flex}.privacy-icon{background:var(--mint);color:#2e6f62;border-radius:11px;flex:none;place-items:center;width:34px;height:34px;font-size:14px;font-weight:900;display:grid}.privacy-card strong{margin-bottom:3px;font-size:13px;font-weight:800;display:block}.privacy-card p{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.latest-card{text-align:left;cursor:pointer;background:#e9ece5;border:0;justify-content:space-between}.latest-card>span:first-child{flex-direction:column;gap:3px;display:flex}.latest-card small{color:var(--muted);font-size:10px;font-weight:700}.latest-card strong{font-size:13px}.latest-arrow{width:34px;height:34px;color:var(--green);background:#fff;border-radius:50%;place-items:center;display:grid}.active-card{background:var(--green);color:#fff;border-radius:25px;padding:20px;box-shadow:0 16px 38px #173b3a24}.active-topline{justify-content:space-between;align-items:center;display:flex}.live-label{color:#f8cfc7;letter-spacing:.08em;align-items:center;gap:8px;font-size:11px;font-weight:800;display:flex}.live-label i{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1.6s ease-in-out infinite pulse;box-shadow:0 0 0 5px #e96f5f29}.active-topline button{color:#b8cbc6;cursor:pointer;background:0 0;border:0;min-width:48px;min-height:36px;font-size:12px;font-weight:700}.elapsed{justify-content:space-between;align-items:flex-end;margin:24px 0 20px;display:flex}.elapsed span{color:#a9bfba;padding-bottom:5px;font-size:12px;font-weight:700}.elapsed strong{letter-spacing:-.03em;font-size:34px;font-weight:700}.time-grid{border-top:1px solid #ffffff1f;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:end;gap:8px;padding-top:17px;display:grid}.time-grid label{min-width:0}.time-grid label>span{color:#9eb4af;margin-bottom:6px;font-size:10px;font-weight:800;display:block}.time-grid input{color:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff14;border:1px solid #ffffff24;border-radius:11px;width:100%;min-height:44px;padding:9px;font-size:10px}.time-arrow{color:var(--accent);text-align:center;padding-bottom:13px}.form-card{border:1px solid var(--line);background:var(--card);border-radius:25px;overflow:hidden}.form-intro{border-bottom:1px solid var(--line);background:#f0f1ec;justify-content:space-between;align-items:center;padding:17px 19px;display:flex}.form-intro span,.section-title-row>div>span{color:var(--accent);letter-spacing:.18em;font-size:9px;font-weight:900}.form-intro p{color:var(--muted);margin:0;font-size:10px}.field-section{border-bottom:1px solid var(--line);padding:21px 19px 23px}.field-section:last-child{border-bottom:0}.field-heading{align-items:flex-start;gap:10px;margin-bottom:15px;display:flex}.field-number{color:#a0aaa8;letter-spacing:.08em;padding-top:4px;font-size:9px;font-weight:800}.field-heading h2,.field-heading p{margin:0}.field-heading h2{font-size:16px;font-weight:800}.field-heading p{color:var(--muted);margin-top:3px;font-size:10px}.chip-list{flex-wrap:wrap;gap:8px;display:flex}.chip{color:#52605e;cursor:pointer;background:#fff;border:1px solid #d6d9d3;border-radius:13px;justify-content:center;align-items:center;gap:5px;min-height:43px;padding:9px 14px;font-size:13px;font-weight:700;transition:transform .1s,color .12s,border-color .12s,background .12s;display:inline-flex}.chip:active{transform:scale(.97)}.chip.is-selected{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 6px 14px #173b3a1f}.chip-check{color:#92d2c0;font-size:11px}.chip-add{color:#496b65;background:#f7f8f4;border-style:dashed;border-color:#abb7b3}.chip-add span{color:var(--accent);font-size:16px}.activity-empty{color:var(--muted);background:#f0f2ed;border-radius:12px;margin:-2px 0 13px;padding:12px 13px;font-size:11px;line-height:1.6}.field-section textarea{resize:vertical;background:#fbfbf8;border:1px solid #d6d9d3;border-radius:14px;width:100%;min-height:105px;padding:14px;font-size:14px;line-height:1.7;display:block}.field-section textarea::placeholder{color:#a2aaa8}.save-panel{text-align:center;padding:5px 0 8px}.save-button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:18px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:62px;font-size:16px;font-weight:800;display:flex;box-shadow:0 12px 26px #e96f5f38}.save-button:active{transform:scale(.985)}.stop-icon{border:2px solid #fff;border-radius:3px;width:13px;height:13px}.save-panel>p:not(.form-error){color:var(--muted);margin:9px 0 0;font-size:10px}.form-error{color:#a93c31;background:#fde7e2;border-radius:11px;margin:0 0 9px;padding:10px;font-size:12px;font-weight:700}.summary-page{gap:18px}.summary-header{justify-content:space-between;align-items:flex-end;padding:12px 4px 3px;display:flex}.summary-header h2{letter-spacing:.01em;margin:0;font-size:29px;font-weight:800}.export-button{background:var(--card);min-height:44px;color:var(--green);cursor:pointer;border:1px solid #cad1cd;border-radius:13px;align-items:center;gap:7px;padding:9px 14px;font-size:12px;font-weight:800;display:flex}.export-button span{font-size:17px}.period-tabs{background:#e4e5df;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.period-tabs button{color:#73807d;cursor:pointer;background:0 0;border:0;border-radius:10px;min-height:40px;font-size:12px;font-weight:750}.period-tabs button.is-active{background:var(--card);color:var(--ink);box-shadow:0 3px 10px #17333114}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.stat-card{border:1px solid var(--line);background:var(--card);border-radius:20px;flex-direction:column;justify-content:space-between;min-height:126px;padding:17px;display:flex}.stat-card>span{color:var(--muted);font-size:11px;font-weight:700}.stat-card>strong{letter-spacing:-.04em;font-size:34px;font-weight:750}.stat-card>strong small{letter-spacing:0;margin-left:4px;font-size:12px}.stat-card .compact-stat{letter-spacing:-.02em;font-size:21px}.stat-primary{border-color:var(--green);background:var(--green);color:#fff}.stat-primary>span{color:#a9bfba}.breakdown-card,.history-section{border:1px solid var(--line);background:var(--card);border-radius:23px;padding:20px}.history-section{padding:20px 0 0;overflow:hidden}.history-section>.section-title-row{padding:0 20px}.section-title-row{justify-content:space-between;align-items:flex-end;margin-bottom:19px;display:flex}.section-title-row h3{margin:2px 0 0;font-size:19px;font-weight:800}.section-title-row>small{color:var(--muted);font-size:10px;font-weight:700}.bar-group+.bar-group{border-top:1px solid var(--line);margin-top:25px;padding-top:21px}.bar-group h4{margin:0 0 15px;font-size:12px;font-weight:800}.bar-row+.bar-row{margin-top:13px}.bar-label{color:#52615e;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:11px;font-weight:700;display:flex}.bar-label strong{color:var(--ink)}.bar-track{background:#e8eae5;border-radius:6px;height:7px;overflow:hidden}.bar-track i{border-radius:inherit;background:#3e8275;min-width:7px;height:100%;display:block}.trigger-bars .bar-track i{background:var(--accent)}.empty-state{border-top:1px solid var(--line);text-align:center;padding:30px 24px 35px}.empty-clock{border:2px solid #a8b4b1;border-radius:50%;width:49px;height:49px;margin-bottom:11px;display:inline-block;position:relative}.empty-clock:before{content:"";background:#a8b4b1;border-radius:2px;width:2px;height:14px;position:absolute;top:10px;left:23px}.empty-clock i{transform-origin:0;background:#a8b4b1;border-radius:2px;width:10px;height:2px;position:absolute;top:23px;left:23px;transform:rotate(25deg)}.empty-state h4{margin:0 0 7px;font-size:14px}.empty-state p{color:var(--muted);margin:0 auto 15px;font-size:11px;line-height:1.7}.empty-state button{min-height:42px;color:var(--green);cursor:pointer;background:#f5f6f2;border:1px solid #cdd5d1;border-radius:12px;padding:8px 16px;font-size:12px;font-weight:800}.history-list,.history-card+.history-card{border-top:1px solid var(--line)}.history-summary{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:49px 1fr 25px;align-items:center;gap:13px;width:100%;min-height:101px;padding:15px 16px 15px 19px;display:grid}.date-tile{background:#e8eee9;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;width:49px;height:58px;display:flex}.date-tile small{color:#658078;font-size:9px;font-weight:800}.date-tile strong{font-size:20px;line-height:1.1}.history-main{flex-direction:column;gap:3px;min-width:0;display:flex}.history-main small{color:#899390;font-size:9px;font-weight:700}.history-main strong{font-variant-numeric:tabular-nums;font-size:15px;font-weight:800}.history-main em{color:#64716e;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;font-weight:650;overflow:hidden}.chevron{color:#86918e;place-items:center;width:24px;height:24px;font-size:18px;transition:transform .16s;display:grid}.chevron.is-open{transform:rotate(180deg)}.history-details{padding:0 18px 19px 81px}.detail-row{border-top:1px solid #ecece8;grid-template-columns:84px 1fr;gap:8px;padding:8px 0;font-size:11px;display:grid}.detail-row span,.note-detail>span{color:#87918f;font-weight:650}.detail-row strong{font-weight:750}.note-detail{border-top:1px solid #ecece8;padding:9px 0;font-size:11px}.note-detail p{color:#455451;white-space:pre-wrap;margin:6px 0 0;line-height:1.7}.delete-button{color:#b14b40;cursor:pointer;background:#fff7f5;border:1px solid #efc8c1;border-radius:10px;min-height:40px;margin-top:10px;padding:8px 12px;font-size:11px;font-weight:750}.backup-note{color:#84908d;text-align:center;margin:-2px 13px 4px;font-size:10px;line-height:1.7}.bottom-nav{z-index:30;width:min(100%,520px);padding:8px 14px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffefaf5;border-top:1px solid #1733311c;grid-template-columns:repeat(2,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -12px 30px #1733310f}.bottom-nav button{color:#87918f;cursor:pointer;background:0 0;border:0;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:58px;display:flex;position:relative}.bottom-nav button.is-active{color:var(--green);background:#edf0eb}.bottom-nav strong{font-size:10px;font-weight:800}.nav-record{border:2px solid;border-radius:8px;place-items:center;width:24px;height:24px;font-size:17px;font-weight:500;line-height:1;display:grid}.nav-bars{justify-content:center;align-items:flex-end;gap:3px;width:25px;height:25px;padding-bottom:3px;display:flex}.nav-bars i{background:currentColor;border-radius:4px 4px 1px 1px;width:4px;display:block}.nav-bars i:first-child{height:8px}.nav-bars i:nth-child(2){height:17px}.nav-bars i:nth-child(3){height:12px}.nav-live-dot{border:2px solid var(--card);background:var(--accent);border-radius:50%;width:7px;height:7px;position:absolute;top:8px;left:calc(50% + 11px)}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c201f75;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.add-modal{width:min(100%,488px);padding:26px 22px calc(22px + env(safe-area-inset-bottom));background:var(--card);border-radius:27px 27px 21px 21px;animation:.18s ease-out slideUp;position:relative;box-shadow:0 26px 70px #091c1b4d}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-handle{background:#d7dad5;border-radius:5px;width:40px;height:4px;position:absolute;top:9px;left:50%;transform:translate(-50%)}.modal-close{color:#65726f;cursor:pointer;background:#eff0ec;border:0;border-radius:50%;place-items:center;width:38px;height:38px;font-size:22px;display:grid;position:absolute;top:18px;right:18px}.add-modal>p{color:var(--accent);letter-spacing:.12em;margin:7px 0 3px;font-size:10px;font-weight:850}.add-modal h2{margin:0 0 22px;font-size:23px;font-weight:800}.add-modal label>span{color:var(--muted);margin-bottom:7px;font-size:11px;font-weight:750;display:block}.add-modal input{background:#fafaf7;border:1px solid #cfd4d0;border-radius:14px;width:100%;min-height:54px;padding:12px 14px;font-size:16px}.modal-submit{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:14px;width:100%;min-height:54px;margin-top:14px;font-size:14px;font-weight:800}.modal-submit:disabled{color:#8d9693;cursor:default;background:#d6dad6}.toast{z-index:100;top:calc(82px + env(safe-area-inset-top));color:#245d53;text-align:center;background:#e7f3ed;border:1px solid #b8d4ca;border-radius:13px;max-width:calc(100% - 40px);padding:11px 17px;font-size:12px;font-weight:800;animation:.18s ease-out toastIn;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 30px #17333126}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}@media (width>=521px){.app-shell{border-radius:28px;min-height:calc(100dvh - 24px);margin:12px auto}.bottom-nav{border-radius:0 0 28px 28px;bottom:12px;overflow:hidden}}@media (width<=370px){.page-content{padding-left:13px;padding-right:13px}.start-card{padding:21px}.start-copy{margin-top:55px}.chip{padding-left:12px;padding-right:12px}.history-details{padding-left:20px}}@media (width<=600px){.app-shell input,.app-shell textarea,.edit-time-card input{font-size:16px}.sheet-header button{width:44px;height:44px;min-height:44px}.chip,.period-tabs button,.managed-option-row button{min-height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.choice-empty{color:var(--muted);background:#f4f5f1;border:1px dashed #c7cec9;border-radius:13px;margin:0;padding:13px 14px;font-size:11px;line-height:1.65}.bottom-nav{grid-template-columns:repeat(3,1fr)}.nav-settings{place-items:center;width:25px;height:25px;font-size:23px;line-height:1;display:grid}.history-actions{grid-template-columns:1fr auto;gap:8px;margin-top:12px;display:grid}.history-actions button{cursor:pointer;border-radius:11px;min-height:42px;margin:0;font-size:11px;font-weight:800}.edit-button{color:#285e55;background:#eef4f0;border:1px solid #b9cbc5}.history-actions .delete-button{padding:8px 15px}.settings-page{flex-direction:column;gap:14px;display:flex}.settings-header{padding:13px 4px 6px}.settings-header h2,.settings-header p{margin:0}.settings-header h2{letter-spacing:.01em;font-size:29px;font-weight:800}.settings-header>p:last-child{color:var(--muted);margin-top:6px;font-size:12px}.settings-notice{background:#eaf2ee;border:1px solid #c9d9d3;border-radius:17px;align-items:flex-start;gap:11px;padding:14px 15px;display:flex}.settings-notice>span{color:#fff;background:#3e8275;border-radius:8px;flex:none;place-items:center;width:25px;height:25px;font-family:Georgia,serif;font-size:13px;font-weight:700;display:grid}.settings-notice p{color:#48635e;margin:1px 0 0;font-size:11px;font-weight:600;line-height:1.7}.settings-section-heading{justify-content:space-between;align-items:flex-end;margin:11px 4px 0;display:flex}.settings-section-heading span{color:var(--accent);letter-spacing:.18em;font-size:9px;font-weight:900}.settings-section-heading h3{margin:2px 0 0;font-size:19px;font-weight:800}.settings-section-heading small{color:var(--muted);font-size:10px;font-weight:700}.option-manager-card{border:1px solid var(--line);background:var(--card);border-radius:21px;overflow:hidden}.option-manager-title{justify-content:space-between;align-items:flex-start;padding:17px 18px 13px;display:flex}.option-manager-title h3,.option-manager-title p{margin:0}.option-manager-title h3{font-size:16px;font-weight:800}.option-manager-title p{color:var(--muted);margin-top:3px;font-size:10px}.option-manager-title>span{color:#60706c;background:#edf0eb;border-radius:9px;padding:5px 8px;font-size:10px;font-weight:800}.option-add-form{grid-template-columns:1fr auto;gap:8px;padding:0 14px 14px;display:grid}.option-add-form label{min-width:0}.option-add-form input{background:#fafaf7;border:1px solid #cfd5d1;border-radius:12px;width:100%;min-height:46px;padding:10px 12px;font-size:13px}.option-add-form input::placeholder{color:#9aa4a1}.option-add-form button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;min-width:62px;min-height:46px;padding:8px 13px;font-size:12px;font-weight:800}.option-add-form button:disabled{color:#8e9794;cursor:default;background:#d8dcd7}.managed-option-list{border-top:1px solid var(--line)}.managed-option-row{justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 12px 8px 18px;display:flex}.managed-option-row+.managed-option-row{border-top:1px solid #ecece8}.managed-option-row>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.managed-option-row button{color:#b24d41;cursor:pointer;background:#fff2ef;border:0;border-radius:9px;min-width:52px;min-height:34px;font-size:10px;font-weight:800}.managed-empty{border-top:1px solid var(--line);color:var(--muted);margin:0;padding:14px 18px 17px;font-size:11px}.info-heading{margin-top:19px}.settings-menu-card{border:1px solid var(--line);background:var(--card);border-radius:21px;overflow:hidden}.settings-menu-card>button{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:40px 1fr 20px;align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 14px;display:grid}.settings-menu-card>button+button{border-top:1px solid var(--line)}.menu-icon{border-radius:12px;place-items:center;width:40px;height:40px;font-size:13px;font-weight:900;display:grid}.terms-icon{color:#2e6c60;background:#e6eee9}.privacy-menu-icon{color:#44657f;background:#e8edf3}.medical-icon{color:#b24f43;background:#fae8e3}.about-icon{color:#8b6c2c;background:#f5ecd5;font-family:Georgia,serif}.install-menu-icon{color:#2d6b60;background:#e3efeb;font-size:19px}.settings-menu-card>button>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.settings-menu-card strong{font-size:13px;font-weight:800}.settings-menu-card small{color:var(--muted);font-size:10px}.settings-menu-card i{color:#97a19e;text-align:center;font-size:22px;font-style:normal}.edit-sheet,.policy-sheet,.settings-sheet,.install-sheet{z-index:70;background:var(--paper);flex-direction:column;width:min(100%,520px);min-height:100dvh;animation:.18s ease-out sheetIn;display:flex;position:fixed;top:0;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 0 70px #0c201f40}.install-sheet{z-index:90}.settings-primary-menu{margin-bottom:4px}.item-menu-icon{color:#2e6c60;background:#e3efeb}.settings-sheet-body{padding:18px 16px calc(38px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.management-notice{margin-bottom:22px}.management-copy{margin:0 3px 13px}.management-copy h3,.management-copy p{margin:0}.management-copy h3{font-size:17px;font-weight:850}.management-copy p{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.65}.management-list{border:1px solid var(--line);background:var(--card);border-radius:21px;overflow:hidden}.management-list>button{text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:70px;padding:11px 14px;display:grid}.management-list>button+button{border-top:1px solid var(--line)}.management-list>button:active{background:#f2f3ef}.management-list>button>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.management-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;overflow:hidden}.management-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.management-list i{color:#97a19e;text-align:center;font-size:22px;font-style:normal}.management-icon{color:#356b61;background:#e8efeb;border-radius:13px;place-items:center;width:40px;height:40px;font-size:12px;font-weight:900;display:grid}.management-icon.memory{color:#456781;background:#e8edf3}.management-icon.triggers{color:#b45f52;background:#faece7}.management-icon.change{color:#886d37;background:#f4ecd9}.management-icon.activities,.management-icon.custom{color:#765893;background:#eee7f5}.management-subheading{color:var(--muted);letter-spacing:.08em;justify-content:space-between;align-items:center;margin:24px 4px 9px;font-size:10px;font-weight:850;display:flex}.management-subheading small{color:var(--muted);letter-spacing:normal;font-size:10px}.activity-management-entry{margin-bottom:8px}.activity-copy{margin-bottom:14px;padding:3px 2px}.custom-section-add-form{border:1px solid var(--line);background:var(--card);border-radius:20px;gap:11px;padding:16px;display:grid}.custom-section-add-form label>span{color:#52635f;margin:0 0 7px 2px;font-size:10px;font-weight:850;display:block}.custom-section-add-form input{background:#fafaf7;border:1px solid #cfd5d1;border-radius:13px;width:100%;min-height:48px;padding:11px 13px;font-size:14px}.custom-section-add-form button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:13px;min-height:48px;font-size:13px;font-weight:850}.custom-section-add-form button:disabled{color:#8e9794;cursor:default;background:#d8dcd7}.activity-list-heading{margin-top:24px}.management-empty-state{text-align:center;background:#f3f4f0;border:1px dashed #c7cec9;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;min-height:190px;padding:28px 22px;display:flex}.management-empty-state>span{color:#4e746c;background:#e3e9e5;border-radius:15px;place-items:center;width:44px;height:44px;margin-bottom:12px;font-size:24px;display:grid}.management-empty-state strong{font-size:13px}.management-empty-state p{color:var(--muted);margin:6px 0 0;font-size:10px;line-height:1.65}.custom-field-notice>span{font-family:inherit}.settings-sheet .option-manager-card{margin-bottom:18px}.delete-custom-section{color:#ad4b40;cursor:pointer;background:#fff5f2;border:1px solid #e7c6c0;border-radius:14px;width:100%;min-height:49px;margin-top:8px;padding:10px 16px;font-size:12px;font-weight:850}.open-record-screen{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:14px;width:100%;min-height:52px;margin-top:7px;padding:11px 16px;font-size:13px;font-weight:850}@media (width<=600px){.app-shell input,.app-shell textarea{font-size:16px}.chip,.period-tabs button,.managed-option-row button,.sheet-header button{min-height:44px}.sheet-header button{width:44px;height:44px}.management-list small,.settings-menu-card small,.option-manager-title p,.management-copy p,.settings-notice p{font-size:11px}}@keyframes sheetIn{0%{opacity:0;transform:translate(-50%,18px)}to{opacity:1;transform:translate(-50%)}}.sheet-header{z-index:4;min-height:83px;padding:calc(9px + env(safe-area-inset-top)) 12px 9px;border-bottom:1px solid var(--line);text-align:center;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f6f5f0f7;grid-template-columns:44px 1fr 44px;align-items:center;display:grid;position:sticky;top:0}.sheet-header button{width:42px;height:42px;color:var(--green);cursor:pointer;background:#e9ebe6;border:0;border-radius:13px;place-items:center;font-size:22px;display:grid}.sheet-header small,.sheet-header h2{margin:0}.sheet-header small{color:var(--accent);letter-spacing:.16em;font-size:8px;font-weight:900}.sheet-header h2{margin-top:2px;font-size:17px;font-weight:800}.edit-sheet-body{-webkit-overflow-scrolling:touch;flex:1;padding:16px 16px 116px;overflow-y:auto}.edit-time-card{background:var(--green);color:#fff;border-radius:20px;gap:12px;padding:17px;display:grid}.edit-time-card label>span{color:#adc1bc;margin-bottom:6px;font-size:10px;font-weight:800;display:block}.edit-time-card input{color:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff14;border:1px solid #ffffff29;border-radius:11px;width:100%;min-height:46px;padding:9px 10px;font-size:12px}.edit-time-card p{color:#d1dedb;margin:0;padding-top:3px;font-size:11px;font-weight:700}.edit-form-card{margin-top:13px}.sheet-footer{z-index:5;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffefaf7;position:absolute;bottom:0;left:0;right:0}.sheet-footer>button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:15px;width:100%;min-height:54px;font-size:14px;font-weight:800;box-shadow:0 10px 24px #e96f5f33}.sheet-footer .form-error{margin-bottom:7px}.install-sheet-body{padding:20px 18px calc(34px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.install-hero-card{background:var(--green);color:#fff;border-radius:24px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:16px;padding:20px;display:grid;box-shadow:0 18px 38px #173b3a29}.install-app-icon{background:#f5f2e8 url(/apple-touch-icon.png) 50%/cover no-repeat;border:1px solid #fff3;border-radius:20px;width:72px;height:72px;box-shadow:0 10px 22px #04151433}.install-hero-card p,.install-hero-card h3,.install-hero-card span{margin:0}.install-hero-card p{color:#9fb9b3;letter-spacing:.14em;margin-bottom:4px;font-size:9px;font-weight:900}.install-hero-card h3{font-size:17px;font-weight:850}.install-hero-card div>span{color:#c7d7d2;margin-top:7px;font-size:11px;line-height:1.6;display:block}.install-guide-card,.install-complete-card{border:1px solid var(--line);background:var(--card);border-radius:21px;margin-top:14px;padding:19px}.install-guide-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.install-guide-heading>span{background:var(--accent-soft);color:#aa4c40;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:850}.install-guide-heading>strong{font-size:13px;font-weight:850}.install-steps{gap:13px;margin:0;padding:0;list-style:none;display:grid}.install-steps li{grid-template-columns:31px minmax(0,1fr);align-items:center;gap:11px;min-height:40px;display:grid}.install-steps b{color:#356c62;background:#e6eeea;border-radius:10px;place-items:center;width:31px;height:31px;font-size:12px;display:grid}.install-steps span{color:#465855;font-size:12px;font-weight:700;line-height:1.55}.install-steps i{color:#2167a7;border:1px solid #ced8d4;border-radius:8px;place-items:center;min-width:28px;height:28px;margin-left:3px;font-size:13px;font-style:normal;display:inline-grid}.native-install-copy{color:#52635f;margin:0;font-size:12px;line-height:1.8}.install-note-card{background:#f0f1ed;border-radius:15px;grid-template-columns:26px minmax(0,1fr);gap:10px;margin-top:12px;padding:13px 14px;display:grid}.install-note-card>span{color:#3f6c64;background:#dce6e1;border-radius:50%;place-items:center;width:24px;height:24px;font-family:Georgia,serif;font-size:13px;font-weight:800;display:grid}.install-note-card p{color:#657370;margin:1px 0 0;font-size:10px;line-height:1.7}.install-primary-button,.install-close-button{cursor:pointer;border-radius:15px;width:100%;min-height:52px;font-size:13px;font-weight:850}.install-primary-button{background:var(--green);color:#fff;border:0;margin-top:16px;box-shadow:0 10px 20px #173b3a26}.install-primary-button>span{margin-right:5px;font-size:17px}.install-close-button{background:var(--card);color:#596965;border:1px solid #ced4d0;margin-top:9px}.install-complete-card{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:13px;display:grid}.install-complete-card>span{color:#2d6d60;background:#e1eee8;border-radius:14px;place-items:center;width:44px;height:44px;font-size:20px;font-weight:900;display:grid}.install-complete-card strong{font-size:13px;font-weight:850;display:block}.install-complete-card p{color:var(--muted);margin:5px 0 0;font-size:11px}.policy-body{padding:19px 19px calc(36px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.policy-content{border:1px solid var(--line);background:var(--card);border-radius:23px;padding:22px 20px}.policy-content>p,.policy-content h3{margin:0}.policy-content>p{color:#53615f;font-size:12px;line-height:1.9}.policy-content>p+h3,.policy-content>div+h3{margin-top:25px}.policy-content h3{margin-bottom:7px;font-size:14px;font-weight:850}.policy-updated{color:#899390!important;margin-bottom:17px!important;font-size:10px!important}.medical-alert{background:#fff0ec;border:1px solid #f0c6bd;border-radius:16px;margin-bottom:23px;padding:15px}.medical-alert strong{color:#a54136;font-size:13px;display:block}.medical-alert p{color:#875f58;margin:5px 0 0;font-size:11px;line-height:1.6}.official-links{gap:8px;margin-top:20px;display:grid}.official-links a{color:#285e55;background:#eef4f1;border:1px solid #c9d7d2;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:11px 13px;font-size:11px;font-weight:800;text-decoration:none;display:flex}.official-links a span{font-size:14px}.about-content{text-align:center}.about-mark{background:var(--green);border-radius:21px;place-items:center;width:72px;height:72px;margin:2px auto 14px;display:grid;position:relative}.about-mark:before{content:"";border:3px solid #f6f1e7;border-radius:50%;width:34px;height:34px}.about-mark:after{content:"";background:#f6f1e7;border-radius:4px;width:3px;height:18px;position:absolute;top:18px;left:35px}.about-mark i{transform-origin:0;background:#f6f1e7;border-radius:4px;width:14px;height:3px;position:absolute;top:35px;left:35px;transform:rotate(31deg)}.about-content>h3{margin-bottom:2px;font-size:20px}.version-label{letter-spacing:.08em;font-weight:850;color:var(--accent)!important;margin-bottom:19px!important;font-size:10px!important}.about-facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;margin-top:22px}.about-facts>div{grid-template-columns:92px 1fr;gap:10px;padding:12px 2px;font-size:11px;display:grid}.about-facts>div+div{border-top:1px solid #ecece8}.about-facts span{color:var(--muted)}.about-facts strong{font-weight:800}.legal-draft-note{text-align:left;background:#f1f2ee;border-radius:13px;padding:13px;color:#697674!important;margin-top:20px!important;font-size:10px!important}@media (width<=370px){.history-actions{grid-template-columns:1fr}.settings-menu-card>button{grid-template-columns:36px 1fr 16px;gap:10px}.menu-icon{width:36px;height:36px}}@media (width<=600px){.app-shell input,.app-shell textarea,.edit-time-card input{font-size:16px}.sheet-header button{width:44px;height:44px;min-height:44px}.chip,.period-tabs button,.managed-option-row button{min-height:44px}}
