:root{color:#17372f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--forest:#173e35;--forest-2:#2f6250;--ink:#18372f;--muted:#6f8178;--paper:#f7f6f1;--white:#fffefa;--line:#e6e9df;--gold:#bb9358;--gold-light:#f7eddb;--soft-green:#eaf1e8;--card:#f0efe8;--card-line:#e0ded3;--card-strong:#e4e2d7;background:#e7ece6;font-family:-apple-system,BlinkMacSystemFont,Thonburi,Noto Sans Thai,sans-serif}.theme-sitting{--card:#ebf2e7;--card-line:#d3e2ce;--card-strong:#d6e6d2}.theme-walking{--card:#f7efe1;--card-line:#e9d9bd;--card-strong:#f0dfc3}.theme-chanting{--card:#f1edf7;--card-line:#ddd4ea;--card-strong:#e2daf0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}.icon{flex:none;width:24px;height:24px;display:block}:focus-visible{outline-offset:3px;outline:3px solid #b58b4f}.app-shell{background:var(--paper);width:min(100%,560px);min-height:100dvh;margin:0 auto;box-shadow:0 0 50px #11322714}.app-header{z-index:10;height:calc(68px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 24px 0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f7f6f1f5;border-bottom:1px solid #173e3512;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;text-decoration:none;display:flex}.brand-mark{background:var(--forest);color:#f5e6c6;border-radius:13px;place-items:center;width:38px;height:38px;display:grid}.brand-mark .icon{width:22px;height:22px}.brand strong{letter-spacing:-.04em;font-family:Georgia,serif;font-size:18px;line-height:1.02;display:block}.brand small{color:var(--gold);letter-spacing:.22em;text-transform:uppercase;font-size:10px;font-weight:700;line-height:1.4;display:block}.header-action{border:1px solid var(--line);background:var(--white);min-width:44px;min-height:44px;color:var(--forest);border-radius:15px;place-items:center;display:grid}.header-action .icon{width:20px;height:20px}.main-content{padding:24px 22px calc(120px + env(safe-area-inset-bottom))}.eyebrow{color:var(--gold);letter-spacing:.15em;text-transform:uppercase;font-size:11px;font-weight:800;line-height:1.5;display:block}.intro{isolation:isolate;color:#f9f8ee;background:linear-gradient(145deg,#173e35 5%,#315e4e 100%);border-radius:26px;min-height:226px;padding:28px 27px 31px;position:relative;overflow:hidden}.intro:before,.intro:after{content:"";z-index:-1;border:1px solid #f9f8ee29;border-radius:50%;position:absolute}.intro:before{width:270px;height:270px;top:-120px;right:-85px}.intro:after{background:#ffffff09;width:205px;height:205px;top:-88px;right:-38px}.intro .eyebrow{color:#e3c490}.intro h1{letter-spacing:-.03em;margin:13px 0 12px;font-size:clamp(29px,7vw,38px);font-weight:700;line-height:1.34}.intro h1 em{color:#e8ca95;font-style:normal}.intro p{color:#dbe8dc;max-width:290px;margin:0;font-size:13px;line-height:1.7}.today-panel{border:1px solid var(--card-line);background:var(--card);border-radius:20px;align-items:center;gap:14px;margin:16px 0 30px;padding:16px 17px;display:flex;box-shadow:0 8px 24px -22px #173e35cc}.today-icon{background:var(--white);width:43px;height:43px;color:var(--forest-2);border-radius:14px;flex:none;place-items:center;display:grid}.today-icon .icon{width:22px;height:22px}.today-copy{gap:2px;min-width:0;display:grid}.today-copy .eyebrow{letter-spacing:.08em;font-size:10px}.today-copy strong{font-size:15px;line-height:1.35}.today-copy>span:last-child{color:var(--muted);font-size:12px}.section-heading{justify-content:space-between;align-items:end;gap:12px;margin:0 0 15px;display:flex}.section-heading h2{letter-spacing:-.02em;margin:4px 0 0;font-size:21px;line-height:1.35}.section-heading>span,.section-heading>.icon{color:#a8b2a7;letter-spacing:.12em;font-size:11px;font-weight:700}.activity-list{gap:11px;display:grid}.activity-card{border:1px solid var(--card-line);background:var(--card);border-radius:20px;align-items:center;gap:15px;min-height:91px;padding:16px;text-decoration:none;transition:transform .16s,border-color .16s;display:flex;box-shadow:0 12px 22px -25px #173e35e6}.activity-card:hover{border-color:var(--card-strong);transform:translateY(-2px)}.activity-symbol{border-radius:17px;flex:none;place-items:center;width:53px;height:53px;display:grid}.activity-symbol .icon{width:28px;height:28px}.activity-symbol.sitting{color:#376652;background:var(--card-strong)}.activity-symbol.walking{color:#786147;background:var(--card-strong)}.activity-symbol.chanting{color:#6d6594;background:var(--card-strong)}.activity-text{flex:1;gap:4px;min-width:0;display:grid}.activity-text strong{font-size:17px;line-height:1.3}.activity-text small{color:var(--muted);font-size:11px;line-height:1.4}.activity-arrow{width:28px;height:28px;color:var(--forest-2);background:var(--white);border-radius:50%;flex:none;place-items:center;display:grid}.activity-arrow .icon{width:16px;height:16px}.quiet-note{color:var(--muted);text-align:center;margin:20px 8px 0;font-size:12px;line-height:1.6}.bottom-nav{z-index:20;width:min(100%,560px);min-height:calc(72px + env(safe-area-inset-bottom));padding:7px 13px env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffefaf7;border-top:1px solid #e4e8dd;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{color:#87948b;border-radius:16px;align-content:center;justify-items:center;gap:2px;min-height:58px;font-size:11px;font-weight:650;text-decoration:none;display:grid}.nav-item .icon{width:23px;height:23px}.nav-item.active{color:var(--forest);background:#eaf1e8}.back-link{min-height:43px;color:var(--forest-2);align-items:center;gap:8px;margin:-6px 0 16px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.back-link .icon{width:18px;height:18px}.picker-head{padding:0 4px 27px}.picker-head .activity-symbol{margin-bottom:16px}.picker-head h1,.page-heading h1,.prayer-detail-head h1{letter-spacing:-.03em;margin:5px 0 7px;font-size:clamp(29px,7vw,38px);line-height:1.25}.picker-head p,.page-heading p,.prayer-detail-head p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.picker-section{margin:0 0 28px}.section-heading.compact{align-items:center;margin-bottom:14px}.section-heading.compact h2{font-size:18px}.section-heading.compact>.icon{width:21px;height:21px}.duration-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.duration-option{border:1.5px solid var(--card-line);background:var(--card);min-height:83px;color:var(--ink);border-radius:15px;align-content:center;justify-items:center;gap:0;padding:6px 2px;display:grid}.duration-option span{font-family:Georgia,serif;font-size:30px;line-height:1.15}.duration-option small{color:var(--muted);font-size:11px}.duration-option.selected{border-color:var(--forest);background:var(--card-strong);box-shadow:inset 0 0 0 1px var(--forest)}.duration-option.selected small{color:var(--forest-2)}.other-options{gap:9px;margin-top:10px;display:grid}.choice-row{border:1.5px solid var(--card-line);background:var(--card);width:100%;min-height:70px;color:var(--ink);text-align:left;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.choice-row.selected{border-color:var(--forest);background:var(--card-strong)}.choice-row>span:first-child{gap:2px;display:grid}.choice-row strong{font-size:14px}.choice-row small{color:var(--muted);font-size:11px}.custom-select{min-height:44px;color:var(--ink);text-align:left;background:0 0;border:0;flex:1;align-content:center;gap:2px;padding:0;display:grid}.custom-select strong{font-size:14px}.custom-select small{color:var(--muted);font-size:11px}.radio-mark{border:1.5px solid #b8c7b9;border-radius:50%;flex:none;width:20px;height:20px}.choice-row.selected .radio-mark{border:6px solid var(--forest)}.custom-input-wrap{white-space:nowrap;color:var(--muted);align-items:center;gap:5px;font-size:12px;display:flex}.custom-input-wrap input{width:61px;height:38px;color:var(--forest);text-align:center;background:#fff;border:1px solid #d4ddd2;border-radius:9px;padding:4px;font-size:16px}.segmented{border:1px solid var(--card-line);background:var(--card-strong);border-radius:15px;grid-auto-columns:1fr;grid-auto-flow:column;gap:5px;padding:5px;display:grid}.segmented button{color:#667a6f;background:0 0;border:0;border-radius:11px;min-height:42px;font-size:12px;font-weight:700}.segmented button.selected{background:var(--white);color:var(--forest);box-shadow:0 2px 8px #173e3517}.field-note{color:var(--muted);margin:10px 2px 0;font-size:11px;line-height:1.5}.background-options{gap:9px;display:grid}.background-option{border:1.5px solid var(--card-line);background:var(--card);width:100%;min-height:69px;color:var(--ink);text-align:left;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.background-option.selected{border-color:var(--forest);background:var(--card-strong)}.background-option>span:first-child{gap:2px;display:grid}.background-option strong{font-size:14px}.background-option small{color:var(--muted);font-size:11px}.background-option.selected .radio-mark{border:6px solid var(--forest)}.start-preview{border:1px solid var(--card-line);background:var(--card-strong);border-radius:18px;justify-content:space-between;align-items:center;gap:13px;margin:8px 0 0;padding:15px;display:flex}.start-preview div{gap:2px;display:grid}.start-preview span{color:var(--muted);font-size:11px}.start-preview strong{font-size:16px}.start-preview button{color:#fff;background:#b5c7b8;border:0;border-radius:12px;min-height:44px;padding:0 14px;font-size:12px;font-weight:750}.start-preview button:not(:disabled){background:var(--forest)}.start-preview button:not(:disabled):hover{background:#2b5948}.active-session-card{background:#eaf3e8;border:1px solid #b7d3b7;border-radius:17px;align-items:center;gap:12px;margin:-12px 0 29px;padding:13px 15px;text-decoration:none;display:flex}.active-session-card>span:first-child{background:#d7e9d5;border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.active-session-card>span:nth-child(2){flex:1;gap:2px;display:grid}.active-session-card small{color:var(--forest-2);font-size:10px}.active-session-card strong{font-size:14px}.active-session-card>.icon{width:18px;height:18px}.timer-screen{text-align:center;justify-items:center;padding:15px 0 18px;display:grid}.timer-screen>.activity-symbol{margin-bottom:16px}.timer-screen h1{margin:3px 0 4px;font-size:31px;line-height:1.35}.timer-screen>p{color:var(--muted);margin:0;font-size:13px}.timer-screen>.ready-sound,.timer-screen>.timer-bell-note{margin-top:5px;font-size:11px}.recovery-note{width:100%;max-width:390px;color:var(--forest-2);background:#e9f2e7;border:1px solid #d5e6d3;border-radius:11px;margin:20px 0 0;padding:10px 13px;font-size:11px;line-height:1.55}.timer-ring{aspect-ratio:1;background:conic-gradient(var(--gold) var(--progress), #e6ebdf var(--progress));border-radius:50%;place-items:center;width:min(71vw,305px);margin:30px 0 13px;display:grid}.timer-ring.open{background:#e4eade}.timer-ring-inner{aspect-ratio:1;background:var(--white);border-radius:50%;align-content:center;justify-items:center;width:calc(100% - 18px);display:grid;box-shadow:0 8px 25px #12302414}.timer-ring-inner span{color:var(--muted);font-size:12px}.timer-ring-inner strong{color:var(--forest);font-variant-numeric:tabular-nums;letter-spacing:-.06em;margin:5px 0 4px;font-family:Georgia,serif;font-size:clamp(42px,11vw,59px);font-weight:500}.timer-ring-inner small{color:var(--gold);font-size:12px;font-weight:750}.timer-screen .timer-elapsed{color:var(--forest-2);font-size:13px;font-weight:650}.timer-sound{border:1px solid var(--card-line);background:var(--card);text-align:left;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:23px;padding:12px 14px;display:flex}.timer-sound>span{align-items:center;gap:11px;min-width:0;display:flex}.timer-sound .icon{width:20px;height:20px;color:var(--forest-2)}.timer-sound>span>span{gap:2px;display:grid}.timer-sound strong{font-size:13px}.timer-sound small{color:var(--muted);font-size:11px}.timer-sound button{border:1px solid var(--forest);background:var(--white);min-width:77px;min-height:39px;color:var(--forest);border-radius:10px;flex:none;padding:0 10px;font-size:12px;font-weight:750}.timer-sound button:disabled{opacity:.5}.timer-screen>.audio-status{color:#8e5c2b;margin-top:9px;font-size:11px}.timer-sound+.timer-actions{margin-top:23px}.timer-actions{grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:35px;display:grid}.timer-actions button{border-radius:15px;min-height:54px;font-size:15px;font-weight:750}.timer-pause{border:1.5px solid var(--forest);color:var(--forest);background:0 0}.timer-finish{border:1.5px solid var(--forest);background:var(--forest);color:#fff}.timer-discard{min-height:44px;color:var(--muted);text-underline-offset:3px;background:0 0;border:0;margin-top:17px;font-size:12px;text-decoration:underline}.ready-start{background:var(--forest);color:#fff;border:0;border-radius:15px;width:100%;min-height:56px;margin-top:35px;font-size:16px;font-weight:750}.ready-start:disabled{opacity:.5}.completed-screen{text-align:center;justify-items:center;padding:45px 8px 25px;display:grid}.completed-symbol{background:var(--soft-green);width:82px;height:82px;color:var(--forest-2);border-radius:26px;place-items:center;margin-bottom:22px;display:grid}.completed-symbol .icon{width:41px;height:41px}.completed-screen h1{margin:8px 0 6px;font-size:27px;line-height:1.3}.completed-screen>p{color:var(--muted);margin:0;font-size:13px}.completed-detail{border:1px solid var(--card-line);background:var(--card);border-radius:20px;justify-items:center;gap:4px;width:100%;margin:32px 0 23px;padding:23px;display:grid}.completed-detail span{color:var(--muted);font-size:13px}.completed-detail strong{color:var(--forest);font-family:Georgia,serif;font-size:42px;font-weight:500}.completed-detail small{color:var(--muted);font-size:11px}.completed-home{background:var(--forest);color:#fff;border-radius:14px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:52px;font-size:14px;font-weight:750;text-decoration:none;display:flex}.completed-home .icon{width:19px;height:19px}.page-heading{padding:15px 4px 30px}.page-heading h1{margin-top:9px}.prayer-list{gap:10px;display:grid}.prayer-card{border:1px solid var(--card-line);background:var(--card);border-radius:18px;align-items:center;gap:16px;min-height:79px;padding:16px;text-decoration:none;display:flex}.prayer-card>span:nth-child(2){flex:1;gap:4px;display:grid}.prayer-card strong{font-size:17px}.prayer-card small{color:var(--muted);font-size:12px}.prayer-number{color:#fff;background:#6d6594;border-radius:13px;place-items:center;width:43px;height:43px;font-family:Georgia,serif;font-size:16px;display:grid}.prayer-card>.icon{width:19px;height:19px;color:var(--forest-2)}.soft-panel{background:var(--card);color:var(--forest-2);border-radius:16px;align-items:flex-start;gap:11px;margin-top:20px;padding:16px;display:flex}.soft-panel .icon{width:19px;height:19px}.soft-panel p{margin:0;font-size:12px;line-height:1.65}.prayer-detail-head{padding:20px 4px 28px}.prayer-placeholder{border:1px solid var(--card-line);background:var(--card);text-align:center;border-radius:22px;justify-items:center;padding:63px 24px;display:grid}.prayer-placeholder-symbol{background:var(--gold-light);color:#a17d45;border-radius:21px;place-items:center;width:68px;height:68px;display:grid}.prayer-placeholder-symbol .icon{width:32px;height:32px}.prayer-placeholder h2{margin:22px 0 4px;font-size:18px}.prayer-placeholder p{max-width:260px;color:var(--muted);margin:0;font-size:13px;line-height:1.7}.prayer-own-heading{margin-top:33px}.custom-number{background:var(--card-strong);color:#6d6594}.custom-number .icon{width:23px;height:23px}.empty-custom{color:var(--muted);margin:0 0 12px;font-size:13px}.add-prayer-link{min-height:52px;color:var(--forest-2);border:1px dashed #a8c3ac;border-radius:15px;justify-content:space-between;align-items:center;margin-top:12px;padding:0 16px;font-size:14px;font-weight:700;text-decoration:none;display:flex}.add-prayer-link .icon{width:18px;height:18px}.reader-tools{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;display:flex}.reader-tools>div{gap:7px;display:flex}.reader-tools button{background:var(--white);min-width:44px;min-height:40px;color:var(--forest);border:1px solid #dce5da;border-radius:11px;font-weight:700}.reader-tools button:disabled{opacity:.45}.prayer-text{background:var(--white);color:var(--ink);font-size:calc(19px * var(--text-scale));overflow-wrap:anywhere;border:1px solid #e3e8df;border-radius:19px;padding:21px 18px;line-height:2.05}.prayer-text p{margin:0 0 23px}.prayer-text p:last-child{margin-bottom:0}.custom-prayer-actions{gap:11px;margin-top:13px;display:flex}.custom-prayer-actions a,.custom-prayer-actions button{background:var(--white);min-height:46px;color:var(--forest-2);border:1px solid #dce5da;border-radius:12px;flex:1;place-items:center;font-size:13px;font-weight:700;text-decoration:none;display:grid}.custom-prayer-actions button{color:#945a4d}.prayer-audio,.chant-panel{border:1px solid var(--card-line);background:var(--card);border-radius:18px;margin-top:26px;padding:19px}.prayer-audio audio{width:100%}.audio-note{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.audio-restart{border:1px solid var(--card-line);background:var(--card-strong);min-height:40px;color:var(--forest);border-radius:11px;margin-top:9px;padding:0 13px;font-size:12px;font-weight:700}.chant-panel h2{margin:6px 0 5px;font-size:20px}.chant-panel>p{color:var(--muted);margin:0 0 15px;font-size:12px;line-height:1.65}.chant-panel form,.custom-prayer-form{gap:14px;display:grid}.chant-panel label,.custom-prayer-form label{gap:6px;font-size:13px;font-weight:700;display:grid}.chant-panel label>span{color:var(--muted);font-size:11px;font-weight:400}.chant-panel input,.custom-prayer-form input,.custom-prayer-form textarea{width:100%;min-height:46px;color:var(--ink);background:#fff;border:1px solid #d8e2d6;border-radius:11px;padding:10px 12px;font-size:15px}.custom-prayer-form textarea{resize:vertical;min-height:260px;line-height:1.75}.input-with-unit{align-items:center;gap:9px;display:flex}.input-with-unit span{color:var(--muted);font-size:12px;font-weight:400}.chant-panel form>button,.custom-prayer-form>button{background:var(--forest);color:#fff;border:0;border-radius:13px;min-height:50px;font-size:14px;font-weight:700}.chant-panel .field-note{margin-top:12px}.saved-note{background:var(--soft-green);color:var(--forest-2);border-radius:10px;margin:0 0 13px;padding:10px 12px;font-size:12px}.stats-section{margin-bottom:21px}.records-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.records-summary>div{border:1px solid var(--card-line);background:var(--card);border-radius:16px;align-content:center;justify-items:start;gap:4px;min-height:120px;padding:15px;display:grid}.records-summary>div:last-child{grid-column:1/-1;min-height:90px}.records-summary span{color:var(--muted);font-size:11px}.records-summary strong{overflow-wrap:anywhere;font-size:21px;line-height:1.3}.records-summary small{color:var(--muted);font-size:11px;line-height:1.45}.period-chips{scrollbar-width:none;gap:7px;padding-bottom:4px;display:flex;overflow:auto}.period-chips button{min-height:43px;color:var(--muted);background:var(--white);border:1px solid #e2e8de;border-radius:11px;flex:none;padding:8px 11px;font-size:11px}.period-chips button.selected{border-color:var(--forest);background:var(--forest);color:#fff}.period-caption{color:var(--muted);margin:7px 1px 14px;font-size:11px;line-height:1.5}.stats-note{color:var(--muted);margin:10px 2px 0;font-size:11px;line-height:1.55}.history-section{margin-top:13px}.history-filters{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:14px;display:grid}.history-filters button{background:var(--white);min-height:42px;color:var(--muted);border:1px solid #e0e8dc;border-radius:11px;padding:0 5px;font-size:12px}.history-filters button.selected{border-color:var(--forest);background:var(--soft-green);color:var(--forest);font-weight:700}.history-list{gap:10px;display:grid}.history-card{border:1px solid var(--card-line);background:var(--card);border-radius:16px;padding:16px}.history-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.history-kind{white-space:nowrap;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:700}.history-kind.sitting{background:var(--card-strong);color:#376652}.history-kind.walking{background:var(--card-strong);color:#786147}.history-kind.chanting{background:var(--card-strong);color:#6d6594}.history-top time{color:var(--muted);text-align:right;font-size:10px}.history-card h3{overflow-wrap:anywhere;margin:11px 0 3px;font-size:16px;line-height:1.4}.history-card p{color:var(--forest-2);margin:0 0 5px;font-size:12px;line-height:1.5}.history-card small{color:var(--muted);font-size:11px;line-height:1.5}.history-more{background:var(--white);width:100%;min-height:47px;color:var(--forest-2);border:1px solid #d9e4d7;border-radius:12px;margin-top:12px;font-size:13px;font-weight:700}.empty-state{text-align:center;justify-items:center;padding:35px 20px;display:grid}.empty-state>.icon{color:#a3b9a7;width:40px;height:40px}.empty-state h1,.empty-state h2{margin:16px 0 4px;font-size:19px}.empty-state p{max-width:260px;color:var(--muted);margin:0;font-size:13px;line-height:1.65}.records-empty{border:1px dashed #d5dfd3;border-radius:19px;margin-top:16px;padding:52px 20px}.recent-record{border:1px solid var(--card-line);background:var(--card);border-radius:17px;gap:5px;margin-top:15px;padding:17px;display:grid}.recent-record strong{font-size:16px}.recent-record small{color:var(--muted);font-size:12px}.text-link{color:var(--forest-2);align-items:center;gap:6px;margin-top:17px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.text-link .icon{width:17px;height:17px}.storage-warning{color:#78531f;background:#fff2dc;border-radius:10px;margin:10px 22px 0;padding:10px 13px;font-size:12px;line-height:1.6}.info-dialog{background:var(--white);width:min(100% - 34px,420px);color:var(--ink);border:0;border-radius:23px;padding:24px;box-shadow:0 20px 70px #102b223b}.info-dialog::backdrop{background:#0e201a80}.dialog-head{justify-content:space-between;align-items:center;display:flex}.dialog-head button{width:40px;height:40px;color:var(--forest);background:#edf2eb;border:0;border-radius:13px;place-items:center;display:grid}.dialog-head button .icon{width:19px;height:19px}.info-dialog h2{margin:12px 0 8px;font-size:23px}.info-dialog p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.dialog-note{background:var(--soft-green);color:var(--forest-2);border-radius:13px;margin-top:19px;padding:14px;font-size:12px;line-height:1.65}@media (width<=360px){.main-content{padding-left:16px;padding-right:16px}.intro{padding:25px 22px}.duration-option{min-height:75px}.duration-option span{font-size:26px}.activity-card{gap:11px;padding:12px}}@media (width<=600px) and (height<=850px){.timer-screen .timer-ring{width:min(65vw,280px);margin-top:22px}.timer-screen .timer-sound{margin-top:16px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.bell-log{border:1px solid var(--card-line);background:var(--card);text-align:left;border-radius:14px;margin:18px 0 0;padding:12px 14px}.bell-log summary{color:var(--muted);cursor:pointer;font-size:12px;font-weight:700}.bell-log ul{gap:5px;margin:10px 0 0;padding-left:18px;display:grid}.bell-log li{color:var(--ink);font-size:12px;line-height:1.6}.data-tools{border-top:1px solid var(--line);gap:10px;margin-top:20px;padding-top:18px;display:grid}.data-tools h3{margin:0;font-size:15px}.data-tools>p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.data-tools button{border:1.5px solid var(--forest);background:var(--white);min-height:46px;color:var(--forest);border-radius:14px;font-size:13px;font-weight:700}.data-tools button.danger{color:#a4503f;border-color:#c98b7f}.data-import{border:1.5px dashed #cfd9cb;border-radius:14px;gap:7px;padding:12px 14px;display:grid}.data-import span{color:var(--forest);font-size:13px;font-weight:700}.data-import input{color:var(--muted);font-size:12px}.data-message{border-radius:12px;margin:2px 0 0;padding:11px 13px;font-size:12px;line-height:1.6}.data-message.ok{background:var(--soft-green);color:var(--forest-2)}.data-message.error{color:#a4503f;background:#fbeeeb}.backfill-link{background:#f5e9d2;border:1px solid #e6d2ad;border-radius:17px;align-items:center;gap:12px;margin:-8px 0 27px;padding:13px 15px;text-decoration:none;display:flex;box-shadow:0 10px 22px -22px #78531fe6}.backfill-link>span:first-child{color:#8a6a3b;background:#fffaf0;border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.backfill-link>span:nth-child(2){flex:1;gap:2px;display:grid}.backfill-link strong{font-size:14px}.backfill-link small{color:#7d6a4f;font-size:11px}.backfill-link>.icon{color:#8a6a3b;width:18px;height:18px}.period-nav{align-items:center;gap:6px;margin:8px 0 12px;display:flex}.period-nav .period-caption{text-align:center;color:var(--ink);flex:1;margin:0;font-size:13px;font-weight:700}.period-step{background:var(--white);width:44px;height:40px;color:var(--forest);border:1px solid #e2e8de;border-radius:11px;place-items:center;display:grid}.period-step .icon{width:17px;height:17px}.period-step:disabled{opacity:.3}.chart-card{border:1px solid var(--card-line);background:var(--card);border-radius:16px;margin-top:9px;padding:15px 13px 12px}.chart-head{color:var(--muted);justify-content:space-between;gap:8px;margin:0 2px 12px;font-size:11px;display:flex}.chart-head strong{color:var(--ink);font-size:14px}.chart-bars{grid-template-columns:repeat(var(--cols), minmax(0, 1fr));gap:2px;height:150px;display:grid}.chart-col{min-width:0;color:var(--muted);background:0 0;border:0;border-radius:6px;grid-template-rows:1fr 8px 16px;grid-template-columns:100%;justify-items:center;padding:0;display:grid}.chart-col:disabled{cursor:default;opacity:.45}.chart-col.now{background:var(--soft-green)}.chart-track{flex-direction:column;justify-content:flex-end;width:min(70%,22px);height:100%;padding-top:4px;display:flex}.chart-bar{width:100%;display:block}.chart-bar.sitting{background:#3f7a62;border-radius:0 0 3px 3px}.chart-bar.walking{background:#c9a774;border-radius:3px 3px 0 0}.chart-dot{border-radius:50%;align-self:center;width:4px;height:4px}.chart-dot.on{background:#8b82b5}.chart-label{white-space:nowrap;align-self:end;font-size:10px;line-height:1}.chart-col.now .chart-label{color:var(--forest);font-weight:700}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:6px 12px;margin:12px 2px 0;font-size:10px;display:flex}.chart-legend span{align-items:center;gap:5px;display:inline-flex}.chart-legend i{border-radius:3px;width:9px;height:9px;display:inline-block}.chart-legend i.sitting{background:#3f7a62}.chart-legend i.walking{background:#c9a774}.chart-legend i.chanting{background:#8b82b5;border-radius:50%;width:6px;height:6px}.chart-legend .chart-hint,.history-top time{margin-left:auto}.history-manual{background:var(--gold-light);color:#8a6a3b;white-space:nowrap;border-radius:7px;padding:4px 7px;font-size:10px}.history-foot{justify-content:space-between;align-items:center;gap:10px;display:flex}.history-delete{color:#a07062;background:0 0;border:0;min-height:34px;padding:0 4px;font-size:11px;text-decoration:underline}.backfill-message{border-radius:12px;margin:0 0 14px;padding:11px 13px;font-size:13px;line-height:1.6}.backfill-message.ok{background:var(--soft-green);color:var(--forest-2)}.backfill-message.error{color:#a4503f;background:#fbeeeb}.backfill-form{border:1px solid var(--card-line);background:var(--card);border-radius:18px;gap:14px;padding:19px;display:grid}.backfill-form label{gap:6px;font-size:13px;font-weight:700;display:grid}.backfill-form label>span{color:var(--muted);font-size:11px;font-weight:400}.backfill-form input:not([type=radio]),.backfill-form select{width:100%;min-width:0;min-height:46px;color:var(--ink);background:#fff;border:1px solid #d8e2d6;border-radius:11px;padding:10px 12px;font-size:15px}.backfill-form>button{background:var(--forest);color:#fff;border:0;border-radius:13px;min-height:50px;font-size:14px;font-weight:700}.backfill-form .field-note{margin:0}.backfill-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.kind-choice{border:0;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:0;display:grid}.kind-choice legend{margin-bottom:6px;padding:0;font-size:13px;font-weight:700}.kind-choice label{display:block;position:relative}.kind-choice input{opacity:0;pointer-events:none;position:absolute}.kind-choice label>span{background:var(--white);min-height:44px;color:var(--muted);border:1px solid #e0e8dc;border-radius:11px;place-items:center;font-size:13px;font-weight:400;display:grid}.kind-choice input:checked+span{border-color:var(--forest);background:var(--forest);color:#fff;font-weight:700}.kind-choice input:focus-visible+span{outline-offset:2px;outline:3px solid #b58b4f}.backfill-form:has(input[name=kind][value=sitting]:checked){--card:#ebf2e7;--card-line:#d3e2ce;--card-strong:#d6e6d2}.backfill-form:has(input[name=kind][value=walking]:checked){--card:#f7efe1;--card-line:#e9d9bd;--card-strong:#f0dfc3}.backfill-form:has(input[name=kind][value=chanting]:checked){--card:#f1edf7;--card-line:#ddd4ea;--card-strong:#e2daf0}.backfill-form .chant-only{display:none}.backfill-form:has(input[name=kind][value=chanting]:checked) .chant-only{display:grid}.backfill-form:has(input[name=kind][value=chanting]:checked) label>span.chant-only{display:inline}.chant-card{margin-top:10px}.chant-card-title{margin:0 2px 9px}.chant-chips{scrollbar-width:none;gap:6px;margin:0 -2px 12px;padding:0 2px 3px;display:flex;overflow-x:auto}.chant-chips button{background:var(--white);min-height:36px;color:var(--muted);border:1px solid #e3e0ec;border-radius:10px;flex:none;padding:6px 11px;font-size:12px}.chant-chips button.selected{color:#fff;background:#6d6594;border-color:#6d6594;font-weight:700}.chart-bar.rounds{background:#8b82b5;border-radius:3px}.goal-card{background:#f3f1f8;border-radius:13px;margin:0 0 14px;padding:13px}.goal-head{color:#5d5680;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;display:flex}.goal-head strong{color:var(--ink);font-size:19px}.goal-bar{background:#e2deee;border-radius:5px;height:9px;margin:9px 0 7px;overflow:hidden}.goal-bar span{background:#6d6594;border-radius:5px;height:100%;display:block}.goal-card.reached .goal-bar span{background:var(--gold)}.goal-note{color:#5d5680;margin:0;font-size:12px;line-height:1.55}.goal-note strong{color:var(--ink)}.goal-edit summary{color:#6d6594;cursor:pointer;margin-top:6px;font-size:12px;text-decoration:underline;list-style:none}.goal-edit summary::-webkit-details-marker{display:none}.goal-card>.goal-edit:only-child summary{margin-top:0}.goal-edit form{gap:8px;margin-top:9px;display:flex}.goal-edit .input-with-unit{flex:1}.goal-edit input{width:100%;min-width:0;min-height:42px;color:var(--ink);background:#fff;border:1px solid #d9d4e6;border-radius:10px;padding:8px 11px;font-size:15px}.goal-edit button{color:#fff;background:#6d6594;border:0;border-radius:10px;flex:none;min-height:42px;padding:0 15px;font-size:13px;font-weight:700}.goal-edit .field-note{margin-top:6px}
