:root{--milk:#f8f5ed;--ink:#25251f;--muted:#77746a;--line:#d7d2c7;--sans:'Montserrat',sans-serif;--serif:'Cormorant Garamond',Georgia,serif;color-scheme:light}
html[lang=hu] .price-option .price{font-size:clamp(18px,5.6vw,25px)}
.correction-link{min-height:44px;padding:10px 4px;font-family:var(--sans);font-size:11px;line-height:1.4;color:inherit;text-underline-offset:4px;text-decoration:underline}
.period-correction{display:block;margin:12px auto 0}
.modal:has(#correction-form){display:flex;flex-direction:column;overflow:hidden}.modal:has(#correction-form) h2,.modal:has(#correction-form) .modal-subtitle{flex-shrink:0}#correction-form{display:flex;flex-direction:column;min-height:0}#correction-form .correction-toolbar,#correction-form .modal-actions{flex-shrink:0}
.correction-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--sans);font-size:11px}.correction-toolbar p{margin:0}.correction-toolbar button{min-height:44px}
.correction-choices{max-height:min(42dvh,360px);min-height:0;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.correction-choice{display:flex;align-items:center;gap:13px;min-height:58px;padding:10px 5px;border-bottom:1px solid var(--line);cursor:pointer}.correction-choice:last-child{border-bottom:0}.correction-choice:has(input:checked){background:#e8e2d680}.correction-choice input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--ink)}.correction-choice span{font-size:18px;line-height:1.25}.correction-choice small{display:block;font-family:var(--sans);font-size:11px;line-height:1.5;margin-top:3px;color:var(--muted)}
.toast-undo{display:block;margin:6px auto -3px;min-height:44px;padding:8px 15px;font-family:var(--sans);font-size:12px;color:inherit;text-decoration:underline;text-underline-offset:4px}.toast-undo:disabled{opacity:.5}
.scenario-count-label{display:block;margin-top:14px;font-family:var(--sans);font-size:10px;color:var(--muted)}#scenario-count{width:100%;min-height:44px;margin:0;accent-color:#292924}
.home-summary .correction-link{display:block;margin:5px auto 0}.session-with-correction{display:flex;align-items:center;border-bottom:1px solid var(--page-line)}.session-with-correction .session-row{flex:1;min-width:0;border-bottom:0}.record-remove{width:44px;min-width:44px;min-height:44px;color:inherit;font-size:23px}.removed-records{margin-top:24px;font-size:19px;border-top:1px solid var(--page-line);padding-top:14px}.removed-records summary{cursor:pointer;min-height:44px}.restorable-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--page-line);font-size:17px}.restorable-row>span{flex:1;min-width:0}.restorable-row .correction-link{flex-shrink:0}
.stat-time-min{display:block;font-size:22px;letter-spacing:0;margin-top:7px}
.modal .trigger-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.trigger-choice{min-width:0}.trigger-choice span{min-width:0;overflow-wrap:anywhere}
.app .smoke-button{top:calc(var(--cigarette-y,80.5%) - 6%);height:12%}.app.dark .smoke-button span{transform:translateY(34px)}
.app.light-content::before{background-image:linear-gradient(to bottom,#f8f5ed00 40%,#f8f5edaa 100%),var(--app-image)}
.stats-screen .page-title{display:none}.stats-screen .period-tabs{margin:10px 0 20px}.stats-screen .stat-columns{margin:26px 0 14px}.stats-screen .little-rule{margin:18px auto}.stats-screen .spending{margin-top:17px}.stats-screen .spending .stat-value{font-size:61px;margin-top:6px}.stats-screen .settings-rows{margin-top:23px}.stats-screen .settings-row{padding:9px 0}.triggers-screen .trigger-bars{gap:6px}.triggers-screen .trigger-insights{padding:18px 0;margin-top:23px}
*{box-sizing:border-box}body{margin:0;background:#eeebe3;color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #9f7650;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.studio-header{max-width:1440px;margin:0 auto;padding:34px 58px 14px;display:flex;justify-content:space-between;align-items:center}.studio-brand{text-decoration:none;font-family:var(--sans);font-size:18px;font-weight:400;letter-spacing:8px}.studio-brand span{display:block;font-size:8px;letter-spacing:2.1px;margin-top:10px;color:var(--muted)}.brief-link{font-family:var(--sans);font-size:11px;text-decoration:none}.brief-link span{margin-left:15px;font-size:20px}.studio{max-width:1330px;margin:auto;display:grid;grid-template-columns:1fr 412px 1fr;gap:48px;align-items:center;padding:28px 58px 38px;min-height:830px}.eyebrow{font-family:var(--sans);font-size:10px;letter-spacing:2px;font-weight:400;line-height:1.7;color:var(--muted)}.introduction h1{font-size:53px;font-weight:400;line-height:1.03;letter-spacing:-1.2px;margin:28px 0 25px}.introduction h1 em{font-weight:400}.intro-copy{font-size:22px;line-height:1.5;color:#6e6a61}.widget-area{margin-top:53px}.widget{position:relative;overflow:hidden;width:142px;height:142px;padding:0;border-radius:50%;box-shadow:0 9px 25px #49403021;background:var(--milk)}.widget img{position:absolute;width:220%;height:110%;max-width:none;top:-5%;left:-4%;object-fit:fill;transition:left .4s}.widget.running img{left:-115%}.widget-area>p:last-child{font-family:var(--sans);font-size:10px;line-height:1.8;color:var(--muted);margin-top:17px}.studio-note{margin-top:33px;color:#8d887c;font-family:var(--sans);font-size:10px;line-height:1.9}
.device-wrap{display:flex;justify-content:center}.device{width:400px;height:814px;padding:9px;border-radius:56px;background:linear-gradient(105deg,#74716b,#111 8%,#494743 10%,#10100f 13%,#080808 88%,#64615b 92%,#141413 95%);box-shadow:0 35px 50px -20px #4b423b4f,0 2px 2px #0005;position:relative}.device::before{content:'';position:absolute;width:3px;height:53px;background:#4a4945;left:-2px;top:183px;border-radius:2px}.device::after{content:'';position:absolute;width:3px;height:76px;background:#4a4945;right:-2px;top:209px;border-radius:2px}.app{--text:var(--ink);--page-line:var(--line);width:100%;height:100%;position:relative;overflow:hidden;border-radius:48px;background:var(--milk);color:var(--text)}.app::before{content:'';position:absolute;inset:0;background-image:var(--app-image,url('assets/home-clear.jpg'));background-position:center;background-size:100% 100%;transition:opacity .7s;pointer-events:none}.app.dark{--text:var(--milk);--page-line:#f8f5ed40}.status-bar{position:relative;z-index:1;height:43px;display:flex;justify-content:space-between;align-items:center;padding:0 27px;font-family:var(--sans);font-size:11px;font-weight:500}.island{position:absolute;left:50%;top:11px;transform:translateX(-50%);width:120px;height:29px;background:#090909;border-radius:30px}.status-icons{display:flex;gap:6px;align-items:center;font-size:9px}.wifi{font-size:18px}.battery{display:block;width:18px;height:8px;border:1px solid currentColor;border-radius:2px;position:relative}.battery::before{content:'';position:absolute;inset:1px;background:currentColor}.battery::after{content:'';position:absolute;right:-3px;top:2px;width:2px;height:3px;background:currentColor}.app-header{position:relative;z-index:2;height:70px;display:flex;justify-content:space-between;align-items:center;padding:0 19px}.wordmark{font-family:var(--sans);font-weight:300;font-size:16px;letter-spacing:7px;padding:10px 0 10px 7px}.icon-button{width:38px;height:44px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5px}.menu-toggle span{height:1px;width:23px;background:currentColor}.language-control select{background:transparent;border:0;color:inherit;font-family:var(--sans);font-weight:300;font-size:11px;width:48px;padding:10px 0}.language-control option{color:var(--ink);background:var(--milk)}.brand-rule{position:relative;z-index:1;display:block;width:22px;height:1px;background:currentColor;margin:0 auto}.screen{position:absolute;inset:126px 0 0;overflow-y:auto;overscroll-behavior:contain;padding:0 25px 34px;scrollbar-width:thin;scrollbar-color:#8883 transparent}.screen.home-screen{overflow:hidden;padding:0}.home-summary{text-align:center;margin-top:89px}.home-label{font-size:19px;margin:0 0 13px}.home-time{font-size:64px;line-height:1.05;letter-spacing:-1.6px}.home-time .unit{font-size:39px;letter-spacing:-.8px;margin-left:5px}.home-count{font-size:42px;line-height:1.15;margin-top:8px;letter-spacing:-.8px}.home-count .unit{font-size:29px;letter-spacing:-.4px}.little-rule{display:block;width:24px;height:1px;background:currentColor;margin:24px auto;opacity:.65}.day-percent{font-size:20px;margin:0}.smoke-button{position:absolute;left:12%;width:81%;height:13%;top:78%;display:flex;align-items:center;justify-content:center;padding:0;color:#25251f;font-family:var(--sans);font-size:8px;letter-spacing:2px;font-weight:300;border-radius:18px}.smoke-button span{display:block;padding-left:60px;padding-bottom:5px}.app.dark .smoke-button{color:var(--milk)}.timer-details{margin-top:25px;display:flex;flex-direction:column;gap:7px;align-items:center}.timer-clock{font-family:var(--sans);font-weight:300;letter-spacing:3px;font-size:17px;font-variant-numeric:tabular-nums}.timer-details small{font-family:var(--sans);font-size:9px;line-height:1.6;max-width:230px;opacity:.8}.home-indicator{position:absolute;bottom:9px;width:94px;height:3px;border-radius:3px;background:currentColor;opacity:.55;left:50%;transform:translateX(-50%);z-index:2;pointer-events:none}.active-banner{position:absolute;bottom:20px;left:18px;right:18px;z-index:3;border-radius:20px;background:#25251f;color:var(--milk);font-family:var(--sans);font-size:11px;padding:12px;box-shadow:0 2px 12px #0002}.page-title{text-align:center;font-size:25px;font-weight:400;margin:7px 0 0}.premium-label{text-align:center;font-family:var(--sans);font-size:8px;letter-spacing:4px;color:var(--muted);margin:4px 0 18px}.period-tabs{display:flex;justify-content:space-between;border-bottom:1px solid var(--page-line);margin:20px 0 30px}.period-tabs button{flex:1;font-size:17px;padding:10px 0 9px;position:relative}.period-tabs button[aria-selected=true]{font-weight:500}.period-tabs button[aria-selected=true]::after{content:'';height:1px;background:var(--text);position:absolute;bottom:-1px;left:10%;right:10%}.stat-columns{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin:40px 0 17px;gap:15px}.stat-columns>div+div{border-left:1px solid var(--page-line);padding-left:15px}.stat-label{font-size:20px;margin:0 0 6px}.stat-value{font-size:64px;line-height:1;letter-spacing:-1.5px}.stat-value small{font-size:32px;letter-spacing:-.5px}.stat-context{font-size:18px;margin:5px 0 0}.spending{text-align:center;margin-top:31px}.spending .stat-value{font-size:66px;margin-top:11px}.spending .stat-value.mixed{font-size:37px}.settings-rows{margin-top:33px}.settings-row{border-bottom:1px solid var(--page-line);padding:13px 0;display:flex;align-items:center;justify-content:space-between;text-decoration:none;font-size:20px;gap:10px;width:100%;text-align:left}.settings-row b{font-weight:400;font-size:19px;white-space:nowrap}.settings-row .chevron{font-family:var(--sans);font-size:23px;font-weight:300;margin-left:10px}.setting-value{display:flex;align-items:center;gap:5px}.section-heading{font-family:var(--sans);font-size:9px;letter-spacing:2px;font-weight:400;color:var(--muted);margin:27px 0 13px}.session-row{display:flex;gap:10px;align-items:center;width:100%;padding:11px 0;border-bottom:1px solid var(--page-line);text-align:left}.session-row time{font-family:var(--sans);font-size:11px;width:42px;color:var(--muted)}.session-description{font-size:16px;flex:1}.session-row .duration{font-size:17px}.empty-state{text-align:center;font-size:20px;line-height:1.4;padding:28px 15px;color:var(--muted)}.triggers-title{text-align:center;font-size:30px;line-height:1.06;font-weight:400;margin:25px -4px 8px}.triggers-subtitle{text-align:center;font-size:17px;line-height:1.3;margin:0 auto 28px;max-width:275px}.trigger-bars{display:flex;flex-direction:column;gap:13px}.trigger-bar{display:grid;grid-template-columns:120px 1fr 35px;gap:9px;align-items:center;font-size:15px}.bar-track{height:5px;background:#28282212}.bar-fill{height:100%;background:#2b2b25}.trigger-bar .bar-percent{text-align:right;font-size:17px}.trigger-insights{display:grid;grid-template-columns:1fr 1fr;text-align:center;border-top:1px solid var(--page-line);border-bottom:1px solid var(--page-line);margin-top:30px;padding:22px 0}.trigger-insights>div+div{border-left:1px solid var(--page-line)}.insight-label{font-family:var(--sans);font-size:8px;letter-spacing:1.4px;line-height:1.7;margin:0 4px 8px;color:var(--muted)}.insight-value{font-size:22px;margin:0 3px;line-height:1.1}.insight-context{font-size:15px;margin:7px 0 0}.primary-button,.secondary-button{display:block;width:100%;border-radius:30px;padding:12px 16px;font-size:19px;line-height:1.15;min-height:44px;text-align:center}.primary-button{background:#282823;color:var(--milk)}.secondary-button{border:1px solid #ccc6b9;color:var(--ink);margin-top:9px;background:#f8f5eddd}.trigger-add{margin-top:25px}.health-page{text-align:center}.health-title{font-size:34px;font-weight:400;line-height:.98;white-space:pre-line;margin:13px 0 18px}.health-intro{font-size:18px;line-height:1.35;max-width:276px;margin:0 auto 20px}.health-list{text-align:left}.health-item{border-bottom:1px solid var(--page-line)}.health-item summary{list-style:none;cursor:pointer;padding:12px 22px 12px 0;position:relative}.health-item summary::-webkit-details-marker{display:none}.health-item summary::after{content:'›';position:absolute;right:1px;top:25px;font-size:26px;font-family:var(--sans);font-weight:300}.health-item[open] summary::after{transform:rotate(90deg)}.health-item h3{font-size:25px;font-weight:400;line-height:1.1;margin:0 0 3px}.health-item p{font-size:17px;line-height:1.2;margin:0}.health-item a{font-family:var(--sans);font-size:11px;display:inline-block;margin:0 0 13px;text-underline-offset:3px}.sources-button{width:100%;padding:18px 0;font-size:19px;text-align:left;border-bottom:1px solid var(--page-line)}.medical-note{font-size:12px;line-height:1.4;opacity:.7;margin:16px 0}.preferences-form label{display:block;font-size:18px;line-height:1.3;margin-bottom:17px}.preferences-form input,.preferences-form select,.other-input,.session-select{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid var(--line);background:#fbf9f4;color:var(--ink);border-radius:9px;font-size:18px;min-height:44px}.preferences-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-help{font-family:var(--sans);font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0 18px}.radio-choice{display:flex!important;align-items:flex-start;gap:11px;border-bottom:1px solid var(--line);padding:13px 0;margin:0!important}.radio-choice input{width:17px;min-height:17px;height:17px;margin-top:2px;accent-color:var(--ink);flex-shrink:0}.radio-choice span{font-size:17px;line-height:1.25}.settings-info{margin-top:29px;border-top:1px solid var(--line);padding-top:15px}.settings-info h3{font-size:22px;font-weight:400;margin:10px 0}.settings-info p{font-size:17px;line-height:1.35;margin:0 0 13px}.settings-info small{font-family:var(--sans);font-size:10px;line-height:1.5;color:var(--muted)}.text-button{padding:5px 0;text-decoration:underline;text-underline-offset:4px;font-family:var(--sans);font-size:11px;text-align:left}.plan-pill{font-family:var(--sans);font-size:10px;letter-spacing:2px;border:1px solid var(--line);padding:7px 12px;border-radius:20px}.plus-title{text-align:center;font-weight:400;font-size:36px;line-height:1;margin:25px 0 13px}.plus-subtitle{font-size:18px;line-height:1.3;text-align:center;margin:0 auto 25px}.feature-table{border-collapse:collapse;width:100%;font-size:16px;margin-bottom:25px}.feature-table td,.feature-table th{padding:9px 3px;border-bottom:1px solid var(--line)}.feature-table th{font-family:var(--sans);font-size:9px;letter-spacing:1px;font-weight:400}.feature-table td:not(:first-child){text-align:center;font-family:var(--sans);font-size:13px}.pricing-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:17px 0}.price-option{border:1px solid var(--line);padding:13px 4px;border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:7px;background:#f8f5ed88}.price-option[aria-pressed=true]{border-color:#282823;background:#e9e4d9}.price-option .plan-name{font-family:var(--sans);font-size:9px}.price-option .price{font-size:25px;white-space:nowrap}.price-option small{font-size:12px}.lock-panel{text-align:center;padding:45px 10px}.lock-panel h2{font-size:34px;font-weight:400;line-height:1.1;margin:12px 0}.lock-panel p{font-size:20px;line-height:1.3;margin-bottom:26px}.lock-panel .lock-mark{font-family:var(--sans);font-size:13px;letter-spacing:4px}.extended-insights{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px;text-align:center}.extended-insights strong{font-size:31px;font-weight:400}.extended-insights p{font-family:var(--sans);font-size:8px;letter-spacing:1.2px;line-height:1.5}
.menu{position:absolute;inset:110px 0 0;background:var(--milk);color:var(--ink);z-index:6;padding:32px 35px}.menu-brand{font-family:var(--sans);font-size:10px;letter-spacing:3px;color:var(--muted);margin:0 0 21px}.menu-link{width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:30px;padding:16px 0;display:flex;align-items:center;justify-content:space-between}.menu-link span{font-family:var(--sans);font-size:17px;font-weight:300}.menu-bottom{font-size:17px;margin-top:35px;color:var(--muted);line-height:1.4}.overlay{position:absolute;inset:0;z-index:10;background:#201a1499;display:flex;align-items:center;justify-content:center;padding:35px 14px}.modal{position:relative;width:100%;max-height:100%;overflow-y:auto;background:var(--milk) url('assets/statistics-milk.png') center/100% 100%;color:var(--ink);padding:27px 19px 20px;border-radius:23px;box-shadow:0 10px 40px #0002;scrollbar-width:thin}.modal h2{font-size:30px;font-weight:400;text-align:center;line-height:1.1;margin:10px 0 7px}.modal-subtitle{font-size:18px;text-align:center;margin:0 0 21px;line-height:1.25}.close-modal{position:absolute;right:8px;top:6px;width:38px;height:38px;font-size:28px;color:var(--muted);font-family:var(--sans);font-weight:300}.trigger-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.trigger-choice{position:relative;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:18px;font-size:15px;line-height:1.1;min-height:44px;padding:8px}.trigger-choice:has(input:checked){background:#e8e2d6;border-color:#b4aca0}.trigger-choice input{appearance:none;position:relative;flex-shrink:0;width:17px;height:17px;border-radius:50%;border:1px solid #a8a399;margin:0;accent-color:var(--ink)}.trigger-choice input:checked{background:#282823;border-color:#282823}.trigger-choice input:checked::after{content:'✓';position:absolute;inset:0;color:var(--milk);text-align:center;font-size:12px;line-height:15px}.trigger-choice:last-child{grid-column:1/-1}.other-input{font-size:16px}.modal-actions{margin-top:20px;position:sticky;bottom:-20px;padding:12px 0 5px;background:var(--milk);box-shadow:0 -9px 14px var(--milk)}.error-message{font-family:var(--sans);color:#a5402c;font-size:11px;line-height:1.5;margin-top:12px}.source-list{padding-left:19px;font-size:19px;line-height:1.5}.source-list li{margin:16px 0}.toast{position:absolute;z-index:20;bottom:35px;left:22px;right:22px;background:#25251ff5;color:var(--milk);border-radius:15px;padding:13px 15px;font-size:17px;text-align:center;box-shadow:0 6px 22px #0002}
.inspector{align-self:center;padding-left:4px}.screen-nav{margin-top:17px}.screen-nav button{display:flex;align-items:center;width:100%;padding:14px 0;border-bottom:1px solid #d2cdc0;text-align:left;font-size:24px;gap:15px;white-space:nowrap}.screen-nav button>span{font-family:var(--sans);font-size:9px;color:#989184;font-weight:300}.screen-nav button>i{font-size:21px;font-style:normal;margin-left:auto;opacity:0}.screen-nav button.active i{opacity:1}.screen-nav button.active{font-style:italic}.scenario-controls{margin-top:37px}.scenario-options{display:flex;gap:7px;margin-top:18px;flex-wrap:wrap}.scenario-options button{border:1px solid #ccc6b9;border-radius:50%;width:37px;height:37px;font-size:19px;padding:0}.scenario-options button[aria-pressed=true]{background:#292924;color:var(--milk);border-color:#292924}#data-mode{font-family:var(--sans);font-size:9px;line-height:1.6;margin:14px 0;color:var(--muted)}.inspector-check{font-family:var(--sans);font-size:11px;display:flex;align-items:center;gap:8px;line-height:1.4;margin-top:22px}.inspector-check input{margin:0;accent-color:#282823;width:14px;height:14px}.control-help{font-family:var(--sans);font-size:9px;line-height:1.8;color:var(--muted);margin:8px 0 0 22px}.studio-footer{max-width:1440px;margin:0 auto;padding:15px 58px 27px;border-top:1px solid #d7d1c4;display:flex;flex-direction:column;gap:9px;color:#8d887c;font-family:var(--sans);font-size:10px;letter-spacing:.3px;line-height:1.5}
@media(min-width:1400px){.studio{gap:65px}.introduction h1{font-size:61px}}@media(max-width:1150px){.studio{grid-template-columns:210px 390px 210px;gap:28px;padding:28px 30px}.studio-header{padding:25px 30px 10px}.device{width:380px;height:788px}.introduction h1{font-size:42px}.screen-nav button{font-size:21px}.intro-copy{font-size:19px}.studio-footer{padding-left:30px;padding-right:30px}}
@media(max-width:950px){.studio{grid-template-columns:400px 220px;justify-content:center;gap:38px;padding:20px 24px}.introduction{display:none}.device{width:400px;height:814px}.studio-header{padding:23px 28px 12px}.studio-footer span:nth-child(2){display:none}}
@media(max-width:690px){.studio-header{padding:20px 22px 12px}.studio-brand{font-size:14px;letter-spacing:6px}.studio-brand span{font-size:7px}.brief-link{font-size:9px}.studio{display:flex;flex-direction:column;padding:15px 14px 26px;gap:32px;min-height:0}.device-wrap{width:100%}.device{width:min(400px,100%);height:auto;aspect-ratio:400/814}.inspector{padding:0;width:min(380px,100%);align-self:center}.screen-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.screen-nav button{font-size:21px;white-space:normal;min-height:51px;gap:9px}.scenario-controls{margin-top:25px}.control-help{font-size:10px}.inspector-check{font-size:12px}#data-mode{font-size:10px}.scenario-options button{width:44px;height:44px}.studio-footer{margin:0 22px;padding:17px 0}.studio-footer span{font-size:7px}.home-summary{margin-top:70px}.home-time{font-size:57px}.home-count{font-size:38px}.home-time .unit{font-size:36px}.home-count .unit{font-size:27px}.timer-details{margin-top:17px}.period-tabs{margin:15px 0 22px}.stat-columns{margin-top:25px}.stat-value{font-size:58px}.spending{margin-top:25px}}
@media(max-width:380px){.device{padding:7px;border-radius:46px}.app{border-radius:40px}.app-header{padding:0 13px}.wordmark{font-size:14px;letter-spacing:5px}.status-bar{padding:0 24px}.screen{padding-left:19px;padding-right:19px;inset:120px 0 0}.screen.home-screen{padding:0}.home-summary{margin-top:49px}.home-time{font-size:50px}.home-time .unit{font-size:31px}.home-count{font-size:34px}.home-count .unit{font-size:25px}.little-rule{margin:18px auto}.day-percent{font-size:18px}.smoke-button{font-size:6px;letter-spacing:1.7px}.smoke-button span{padding-left:45px}.timer-details small{font-size:8px}.home-label{font-size:18px}.island{width:100px}.trigger-bar{grid-template-columns:100px 1fr 31px;font-size:14px;gap:7px}.period-tabs button{font-size:16px}.stat-value{font-size:50px}.stat-value small{font-size:25px}.spending .stat-value{font-size:57px}.stat-label{font-size:18px}.stat-context{font-size:16px}.settings-row{font-size:18px}.settings-row b{font-size:17px}.trigger-choice{font-size:14px;padding:7px 6px}.modal{padding-left:14px;padding-right:14px}.modal h2{font-size:27px}.health-title{font-size:31px}}
@media(max-width:950px){.introduction{display:block;grid-column:1/-1}.introduction>.eyebrow,.introduction h1,.intro-copy,.studio-note{display:none}.widget-area{margin:0;display:grid;grid-template-columns:90px 1fr;column-gap:20px;max-width:380px}.widget-area>.eyebrow{grid-column:2;grid-row:1;align-self:end;margin:0 0 6px}.widget-area>.widget{grid-column:1;grid-row:1/span 2;width:90px;height:90px}.widget-area>p:last-child{grid-column:2;grid-row:2;margin:0;align-self:start}}
@media(max-width:690px){.introduction{width:min(380px,100%)}.studio{gap:24px}}
.studio-links{display:flex;align-items:center;gap:25px}.auth-layer{position:absolute;inset:113px 0 17px;z-index:40;background:var(--milk);overflow-y:auto;overscroll-behavior:contain;padding:22px 27px 30px;color:var(--ink);scrollbar-width:thin}.auth-eyebrow{font-family:var(--sans);font-size:9px;letter-spacing:3px;text-align:center;margin:8px 0 24px}.auth-panel h1{font-size:35px;line-height:1.08;font-weight:400;text-align:center;margin:0}.auth-subtitle{font-size:19px;line-height:1.3;text-align:center;color:var(--muted);margin:13px 0 25px}.auth-form{display:grid;gap:13px}.auth-form label{display:grid;gap:6px;font-size:18px}.auth-form input{width:100%;border:1px solid var(--line);border-radius:6px;background:#fff8;padding:11px 12px;font-family:var(--sans);font-size:13px;color:var(--ink);min-width:0}.auth-form .form-help{margin:0;font-size:10px}.auth-form>.primary-button{margin-top:9px;width:100%;font-size:19px;padding:11px}.auth-forgot{text-align:right;font-size:15px;padding:0}.auth-divider{display:flex;align-items:center;gap:15px;margin:17px 0;color:var(--muted);font-size:15px}.auth-divider::before,.auth-divider::after{content:'';height:1px;background:var(--line);flex:1}.google-button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);border-radius:6px;width:100%;padding:12px;font-family:var(--sans);font-size:11px;background:#fff7}.google-button svg{flex-shrink:0}.auth-switch{text-align:center;font-size:16px;line-height:1.5;margin:19px 0}.auth-switch .text-button{font-size:16px}.auth-demo{display:block;margin:0 auto;font-size:16px;padding:4px}.auth-demo-help{text-align:center;font-family:var(--sans);font-size:9px;line-height:1.6;color:var(--muted);margin:5px 0 0}.auth-message{padding:10px 12px;border:1px solid #d9ada0;border-radius:6px;background:#faf0eb;font-size:16px;line-height:1.35;margin:15px 0}.auth-message.success{border-color:#bdc7b1;background:#f0f4eb}.account-card{border-bottom:1px solid var(--line);padding:0 0 15px;margin:15px 0 22px}.account-email{font-size:20px;overflow-wrap:anywhere;margin:12px 0 7px}.account-state{font-family:var(--sans);font-size:10px;color:var(--muted);line-height:1.6;margin:7px 0 12px}.account-actions{display:flex;justify-content:space-between;gap:12px}.account-card .form-help{margin-bottom:0}.auth-panel>.account-email,.auth-panel>.account-state{text-align:center}.auth-panel>.primary-button,.auth-panel>.secondary-button{width:100%;margin:13px 0}.auth-panel>.text-button{display:block;margin:12px auto}.auth-loading{text-align:center;color:var(--muted);font-size:19px;line-height:1.5;margin-top:35px}
@media(max-width:690px){.studio-links{gap:14px}.studio-links .brief-link span{margin-left:4px}.auth-layer{padding:17px 22px 24px}.auth-panel h1{font-size:31px}}
@media(max-width:380px){.studio-header{padding-left:15px;padding-right:15px}.studio-links{gap:8px}.studio-links .brief-link{font-size:8px}.auth-layer{inset:113px 0 12px;padding:14px 18px 23px}.auth-panel h1{font-size:28px}.auth-eyebrow{margin:4px 0 17px}.auth-subtitle{font-size:17px;margin:10px 0 18px}.auth-form{gap:10px}.auth-form input{padding:9px 10px}.google-button{font-size:10px}}
/* Both photographic and moving smoke share one bottom-anchored daily level. */
@property --app-smoke-front{syntax:'<percentage>';inherits:true;initial-value:100%}
@property --app-smoke-dense{syntax:'<percentage>';inherits:true;initial-value:100%}
.app{background:var(--scene-base,var(--milk));transition:background-color 1.2s ease,--app-smoke-front 1.2s ease,--app-smoke-dense 1.2s ease}
.app::before{-webkit-mask-image:linear-gradient(to bottom,transparent var(--app-smoke-front),#000 var(--app-smoke-dense));mask-image:linear-gradient(to bottom,transparent var(--app-smoke-front),#000 var(--app-smoke-dense))}
.smoke-atmosphere{position:absolute;left:0;right:0;bottom:0;height:var(--app-smoke-height,0%);z-index:1;overflow:hidden;pointer-events:none;opacity:var(--smoke-opacity,0);transition:height 1.2s ease,opacity 1.2s ease;--smoke-ink:#77766c;-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 65%,transparent);mask-image:linear-gradient(transparent,#000 22%,#000 65%,transparent)}
/* Ambient wisps cross the whole scene, including its centre. Their faded bases
   sit in the ground rather than on the filter or on a horizontal crop edge. */
.smoke-wisp{position:absolute;bottom:-6%;left:var(--wisp-left,25%);width:var(--wisp-width,50%);height:var(--wisp-height,100%);background:var(--smoke-ink);-webkit-mask:url('assets/smoke-wisp.svg') center/100% 100% no-repeat;mask:url('assets/smoke-wisp.svg') center/100% 100% no-repeat;transform-origin:50% 70%;animation:smoke-rise var(--wisp-duration,16s) linear infinite;animation-delay:var(--wisp-delay,-4s)}
.app.dark .smoke-atmosphere{--smoke-ink:#e9e4d9}
.app[data-view=home] .smoke-atmosphere{--smoke-ink:var(--smoke-stage-color,#f8f5ed)}
.app[data-view=home]:has(.registered-photo[data-image=fire],.registered-photo[data-image=transition],.registered-photo[data-image=yellow]) .smoke-atmosphere{-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 55%,transparent 73%);mask-image:linear-gradient(transparent,#000 22%,#000 55%,transparent 73%)}
.app.smoke-muted .smoke-atmosphere{opacity:0}
.app.smoke-paused .smoke-wisp{animation:none;opacity:.3}
.app.smoke-paused .smoke-wisp,.app.smoke-muted .smoke-wisp,.app.motion-suspended .smoke-wisp,.app:has(.auth-layer:not([hidden]),.menu:not([hidden]),.overlay:not([hidden])) .smoke-wisp{animation-play-state:paused}
.app .status-bar,.app .brand-rule,.app .screen{z-index:2}.app .smoke-button{z-index:3}
@keyframes smoke-rise{0%{transform:translate3d(0,9%,0) rotate(calc(var(--wisp-turn,3deg) * -1)) scale(.96) scaleX(var(--wisp-flip,1));opacity:0}20%{opacity:var(--wisp-peak,.5)}55%{transform:translate3d(calc(var(--wisp-drift,12%) * .6),-4%,0) rotate(var(--wisp-turn,3deg)) scale(1.02) scaleX(var(--wisp-flip,1));opacity:calc(var(--wisp-peak,.5) * .7)}85%{opacity:.12}100%{transform:translate3d(var(--wisp-drift,12%),-12%,0) rotate(calc(var(--wisp-turn,3deg) * -1)) scale(1.05) scaleX(var(--wisp-flip,1));opacity:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.smoke-wisp{animation:none!important;opacity:.3}}
@media(max-width:380px){.app .smoke-button{font-size:8px;letter-spacing:1.1px}}
.pwa-card{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.network-status{position:absolute;z-index:4;top:118px;left:12px;right:12px;margin:0;text-align:center;font-family:var(--sans);font-size:9px;letter-spacing:.3px;background:#f8f5ede8;color:var(--ink);border-radius:12px;padding:6px 8px;pointer-events:none}.pwa-dialog{max-width:min(400px,calc(100vw - 32px));border:1px solid var(--line);border-radius:22px;padding:27px;background:var(--milk);color:var(--ink);box-shadow:0 12px 50px #0003}.pwa-dialog::backdrop{background:#24221c80}.pwa-dialog h2{font-size:30px;font-weight:400;line-height:1.1;margin:0 0 20px}.pwa-dialog p{font-size:19px;line-height:1.35;margin:15px 0}.pwa-dialog .primary-button{margin-top:23px}
@media(max-width:690px){.studio-header{gap:12px;flex-wrap:wrap}.studio-links{gap:12px}}
body.app-mode{background:var(--milk);min-height:100svh}.app-mode .studio-header,.app-mode .introduction,.app-mode .inspector,.app-mode .studio-footer{display:none}.app-mode .studio{display:block;padding:0;min-height:0;max-width:520px}.app-mode .device-wrap{display:block}.app-mode .device{width:100%;height:100vh;height:100dvh;aspect-ratio:auto;padding:0;border-radius:0;background:none;box-shadow:none}.app-mode .device::before,.app-mode .device::after{display:none}.app-mode .app{border-radius:0}.app-mode .status-bar,.app-mode .home-indicator{display:none}.app-mode .app-header{height:calc(85px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 20px 0}.app-mode .brand-rule{margin:0 auto}.app-mode .screen{inset:calc(103px + env(safe-area-inset-top)) 0 0;padding-bottom:calc(34px + env(safe-area-inset-bottom))}.app-mode .screen.home-screen{padding:0}.app-mode .home-summary{margin-top:clamp(45px,9vh,90px)}.app-mode .auth-layer{inset:calc(96px + env(safe-area-inset-top)) 0 0;padding-bottom:calc(30px + env(safe-area-inset-bottom))}.app-mode .menu{inset:calc(86px + env(safe-area-inset-top)) 0 0;padding-bottom:calc(32px + env(safe-area-inset-bottom));overflow-y:auto}.app-mode .active-banner{bottom:calc(16px + env(safe-area-inset-bottom))}.app-mode .network-status{top:calc(93px + env(safe-area-inset-top));font-size:9px}.app-mode .toast{bottom:calc(25px + env(safe-area-inset-bottom))}
.is-offline.app-mode .screen{top:calc(129px + env(safe-area-inset-top))}.is-offline.app-mode .auth-layer{top:calc(122px + env(safe-area-inset-top))}.is-offline.app-mode .menu{top:calc(122px + env(safe-area-inset-top))}.is-offline:not(.app-mode) .screen{top:153px}.is-offline:not(.app-mode) .auth-layer,.is-offline:not(.app-mode) .menu{top:145px}
.pwa-dialog p:empty{display:none}

/* One visual control, painted from the same daily count and timer in both views. */
.widget{isolation:isolate;color:var(--widget-ink,var(--ink));background:var(--widget-base,var(--milk));border:1px solid #8d847a36;box-shadow:0 8px 28px #25251f26;transition:background-color 1.2s ease,box-shadow 1.2s ease;outline-offset:6px}
.widget-area>.widget{width:230px;max-width:100%;height:auto;aspect-ratio:2/1;border:0;border-radius:0;box-shadow:none}
.widget-face{position:absolute;inset:0;background:var(--widget-face,var(--milk));color:var(--widget-ink,var(--ink));transition:background-color 1.2s ease,color 1.2s ease;overflow:hidden;pointer-events:none}
.widget-scene{position:absolute;inset:0;overflow:hidden;transition:opacity .45s ease}
.home-scene,.registered-photo{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.registered-photo{-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.home-scene{display:none}.app[data-view=home] .home-scene{display:block}
/* Keep the single registered cigarette and ground visible across the full scene. */
.home-scene{-webkit-mask-image:none;mask-image:none}
.photo-smoke-motion{opacity:0}
.app[data-view=home]:not(.smoke-muted):not(.smoke-paused) .photo-smoke-motion{opacity:.45;animation:background-smoke-flow 13s ease-in-out infinite}
.app[data-view=home]:not(.smoke-muted):not(.smoke-paused) .photo-fire-motion{animation:background-fire-rise 8s linear infinite}
.app[data-view=home]:not(.smoke-muted):not(.smoke-paused) .photo-decay-motion{animation:background-decay-fall 10s linear infinite}
.app.motion-suspended .photo-smoke-motion,.app:has(.auth-layer:not([hidden]),.menu:not([hidden]),.overlay:not([hidden])) .photo-smoke-motion{animation-play-state:paused!important}
@keyframes background-smoke-flow{0%,100%{transform:scale(1)}50%{transform:translateX(.4%) scale(1.035)}}
@keyframes background-fire-rise{0%{opacity:0;transform:translateY(1%) scale(1.035)}25%{opacity:.65}75%{opacity:.65}100%{opacity:0;transform:translateY(-3%) scale(1.055)}}
@keyframes background-decay-fall{0%{opacity:0;transform:translateY(-2%) scale(1.04)}25%{opacity:.7}75%{opacity:.7}100%{opacity:0;transform:translateY(3%) scale(1.055)}}
.app[data-view=home]::before{background-image:none}
.photo-surface{position:absolute;left:0;width:100%;max-width:none;pointer-events:none}
.material-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.app[data-view=home]:has(.material-scene) .smoke-atmosphere{-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 55%,transparent 73%);mask-image:linear-gradient(transparent,#000 22%,#000 55%,transparent 73%)}
.widget.running .widget-scene{opacity:1}
.widget-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 23% 76%,#eb502bd9,transparent 47%),radial-gradient(ellipse at 79% 25%,#cf4d2999,transparent 47%);opacity:var(--widget-heat,0);transition:opacity 1.2s ease}
.widget-progress{position:absolute;left:8%;right:8%;bottom:3%;height:2px;background:linear-gradient(90deg,var(--widget-accent) calc(var(--widget-progress,0) * 1%),transparent 0);opacity:0;transition:opacity .45s ease}.widget.running .widget-progress{opacity:1}
.widget-tip{position:absolute;left:var(--widget-tip-x);top:74%;width:2%;height:9%;transform:translate(-50%,-50%);border-radius:50%;opacity:0;z-index:2;pointer-events:none}
.widget.running .widget-tip{opacity:.8;background:#f79b50;box-shadow:0 0 5px #ee603c,0 -2px 10px #e3603c;animation:widget-ember 2.7s ease-in-out infinite}
.widget-caption{position:absolute;top:85%;left:50%;transform:translateX(-50%);width:max-content;max-width:96%;padding:2px 5px;background:#f8f5edeb;border-radius:2px;font-family:var(--sans);font-size:7px;letter-spacing:.6px;line-height:1.4;color:#000;text-align:center;white-space:nowrap}.widget-dark-photo .widget-caption,.widget.running .widget-caption{color:#000;background:none}
.widget-fumes{position:absolute;inset:0;opacity:var(--widget-smoke,0);transition:opacity 1.2s ease;color:var(--widget-ink);--smoke-rise:calc(var(--widget-smokeHeight,.64) / .64)}
.widget-fumes>span{position:absolute;width:72%;height:calc(90% * var(--smoke-rise,1));left:4%;bottom:22%;background:currentColor;opacity:0;-webkit-mask:url('assets/smoke-wisp.svg') center/100% 100% no-repeat;mask:url('assets/smoke-wisp.svg') center/100% 100% no-repeat;animation:widget-fume 13s linear infinite;animation-delay:-4s;--w-drift:16%;transition:height 1.2s ease}
.widget-fumes>span:nth-child(2){left:29%;bottom:19%;animation-duration:17s;animation-delay:-11s;--w-drift:-20%}.widget-fumes>span:nth-child(3){left:15%;width:60%;animation-duration:11s;animation-delay:-8s;--w-drift:9%}
.widget-clean .widget-fumes{opacity:0}.widget-clean .widget-fumes>span{animation-play-state:paused}
.widget-motion-off .widget-fumes{opacity:0}.widget-motion-off .widget-fumes>span,.widget.widget-motion-off .widget-tip{animation:none}
body:has(.auth-layer:not([hidden]),#menu:not([hidden]),#overlay:not([hidden]),#pwa-dialog[open]) .widget-fumes>span,body:has(.auth-layer:not([hidden]),#menu:not([hidden]),#overlay:not([hidden]),#pwa-dialog[open]) .widget-tip,body:has(.app.motion-suspended) .widget-fumes>span,body:has(.app.motion-suspended) .widget-tip{animation-play-state:paused}
.home-control{position:absolute;z-index:3;left:50%;top:calc(var(--cigarette-y,80.5%) - 6%);width:84%;height:16%;transform:translateX(-50%)}
.home-widget{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:12px;background:transparent;box-shadow:none;overflow:visible}
/* Expand the touch target without shifting artwork or lettering on short screens. */
.home-widget::after{content:'';position:absolute;left:0;right:0;top:37.5%;height:100%;min-height:44px;transform:translateY(-50%);z-index:-1}
.home-widget .widget-face{display:none}
.widget-count-shade{display:none}.home-widget .widget-count-shade{display:block;position:absolute;inset:0;pointer-events:none;background:var(--widget-base);-webkit-mask-image:radial-gradient(ellipse at 50% 50%,#000,transparent 70%);mask-image:radial-gradient(ellipse at 50% 50%,#000,transparent 70%);opacity:var(--widget-shade,0);mix-blend-mode:multiply;transition:opacity 1.2s ease,background-color 1.2s ease}
.home-widget::before{content:'';position:absolute;left:8%;right:8%;bottom:0;height:2px;background:linear-gradient(90deg,var(--widget-accent) calc(var(--widget-progress,0) * 1%),transparent 0);opacity:0;transition:opacity .4s ease}
.home-widget.running::before{opacity:1}
.home-widget .widget-tip{left:var(--home-tip-x);top:calc(6 / 16 * 100%);width:2.2%;height:20%}
/* Paper x=38..69% stays intact even in the shortest photographic stage. */
.widget-action{position:absolute;top:37.5%;left:var(--home-caption-x,54.166667%);transform:translate(-50%,-50%);width:var(--home-caption-width,36.904762%);margin:0;padding:0;background:none;text-align:center;pointer-events:auto;font-family:var(--sans);font-size:clamp(7px,2.1vw,10px);font-weight:500;letter-spacing:.1px;line-height:1.15;color:#25251f;white-space:normal;text-wrap:balance}
.app.dark[data-view=home] .home-summary{text-shadow:none}
.app[data-view=home] .toast{bottom:calc(26% + env(safe-area-inset-bottom))}
@media(max-width:950px){.widget-area{display:block;max-width:280px}.widget-area>.eyebrow{margin:0 0 8px}.widget-area>.widget{width:230px;max-width:100%;height:auto}.widget-area>p:last-child{margin:8px 0 0}}
.app[data-view=home]::before{background-size:100% 100%;background-position:center}
.app.timer-running .home-summary{margin-top:50px}.app-mode .app.timer-running .home-summary{margin-top:clamp(20px,5vh,50px)}
@keyframes widget-fume{0%{transform:translate3d(0,20%,0) rotate(-9deg) scale(.8);opacity:0}20%{opacity:.7}65%{opacity:.3}100%{transform:translate3d(var(--w-drift),-42%,0) rotate(9deg) scale(1.17);opacity:0}}
@keyframes widget-ember{0%,100%{filter:brightness(.75)}50%{filter:brightness(1.35)}}
@media(max-height:750px){.app-mode .home-summary{margin-top:35px}.app-mode .app.timer-running .home-summary{margin-top:25px}.app-mode .home-time{font-size:56px}.app-mode .home-count{font-size:36px}.app-mode .home-summary .little-rule{margin:17px auto}.app-mode .timer-details{margin-top:15px;gap:5px}}
@media(max-height:640px){.app-mode .home-summary{margin-top:18px}.app-mode .app.timer-running .home-summary{margin-top:12px}.app-mode .home-time{font-size:43px}.app-mode .home-time .unit{font-size:29px}.app-mode .home-count{font-size:29px}.app-mode .home-count .unit{font-size:22px}.app-mode .home-label{font-size:17px;margin-bottom:7px}.app-mode .home-summary .little-rule{margin:11px auto}.app-mode .day-percent{font-size:17px}.app-mode .timer-details{margin-top:9px}.app-mode .timer-details small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.widget-fumes{display:none}.widget-fumes>span,.widget-tip{animation:none!important}}
.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;font-family:var(--sans);font-size:11px;line-height:1.6}.legal-links a{color:inherit;text-underline-offset:3px}.auth-form .legal-choice{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;font-family:var(--sans);font-size:12px;line-height:1.6;text-align:left}.auth-form .legal-choice input{width:18px;height:18px;margin:2px 0;accent-color:#292922}.danger-button{color:#8b362b}.primary-button.danger-button{background:#8b362b;color:#fff}.auth-panel .danger-button{margin-top:14px}.account-card .danger-button{margin-top:10px}.auth-panel{overflow-wrap:anywhere}
.billing-card{margin:20px 0;padding:18px 16px;background:rgba(248,245,237,.88);border:1px solid rgba(40,40,35,.2);border-radius:8px;color:#292922}.billing-badge{font-family:var(--sans);font-size:10px;letter-spacing:.09em;line-height:1.6;text-transform:uppercase}.billing-status{font-size:24px;line-height:1.2}.billing-card .primary-button{margin:12px 0}.billing-card .text-button{display:block;min-height:44px}.billing-card .form-help{font-size:12px;line-height:1.65}.primary-button:disabled{opacity:.55;cursor:default}
.subscription-status{margin:18px 0 26px;padding:18px 16px;border:1px solid rgba(40,40,35,.2);border-radius:8px;background:rgba(248,245,237,.94);color:#292922;text-align:left;overflow-wrap:anywhere}
.subscription-label{margin:0 0 8px;font-family:var(--sans);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.subscription-name{margin:0 0 6px;font-size:26px;line-height:1.25}.subscription-state{margin:0;font-family:var(--sans);font-size:12px;line-height:1.65}
.subscription-date{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:space-between;margin:14px 0 0;font-family:var(--sans);font-size:12px;line-height:1.6}.subscription-date dd{margin:0;font-weight:600}
/* Equal side columns keep the wordmark centered on every screen and in every language. */
.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.app-header .menu-toggle{justify-self:start}.app-header .language-control{justify-self:end}.wordmark{--brand-spacing:7px;letter-spacing:var(--brand-spacing);padding-left:var(--brand-spacing)}
@media(max-width:380px){.wordmark{--brand-spacing:5px}.screen-nav{grid-template-columns:1fr}}
.app[data-view=home].dark .smoke-atmosphere{--smoke-ink:var(--smoke-stage-color,#f8f5ed)}.widget-dark-photo .widget-fumes{color:var(--widget-smokeColor,#f8f5ed)}
.app[data-view=home] .smoke-wisp{--smoke-ink:var(--smoke-stage-color,#f8f5ed)}
.widget-glow{display:none}
@media(prefers-reduced-motion:reduce){.app .photo-smoke-motion{animation:none!important;opacity:0!important}}
.widget-glow{background:radial-gradient(ellipse at 23% 76%,var(--widget-accent),transparent 47%),radial-gradient(ellipse at 79% 25%,var(--widget-accent),transparent 47%);opacity:calc(var(--widget-heat,0) * .8)}
.auth-form .legal-choice{min-height:44px}.auth-form .legal-choice input{padding:0}.auth-panel .danger-button,.legal-links a{min-height:44px;display:inline-flex;align-items:center}.auth-panel #consent-form .form-help,.auth-panel #delete-form .form-help{font-size:12px;line-height:1.7}
.widget-download,#widget-link-layer .primary-button{display:flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.5;min-height:44px;white-space:normal}.account-card .widget-download{margin:16px 0}.account-card .text-button{display:inline-flex;align-items:center;min-height:44px}#widget-link-layer{z-index:90}#widget-link-layer[hidden]{display:none}

/* The account screen is the entry point, including the root URL. */
.app[data-view=home] .home-time,.app[data-view=home] .home-count,.app[data-view=home] .timer-details{color:var(--metrics-ink,var(--text))}
.app[data-view=home].milk-metrics .home-time,.app[data-view=home].milk-metrics .home-count,.app[data-view=home].milk-metrics .timer-details{text-shadow:none}
.app[data-view=home].milk-metrics .app-header,.app[data-view=home].milk-metrics .status-bar,.app[data-view=home].milk-metrics .home-summary{color:var(--milk);text-shadow:none}
.app[data-view=home] .widget-action{color:#000;text-shadow:none}
.widget .widget-caption{color:#000;background:none;text-shadow:none}
.auth-required #menu-toggle{visibility:hidden}.auth-required .wordmark{pointer-events:none}.auth-required #screen,.auth-required #home-control,.auth-required #active-banner{visibility:hidden}

.auth-panel>[data-auth-action="reset-counts"]{justify-content:center}

.fiscal-dialog{width:min(620px,calc(100vw - 24px));max-width:min(620px,calc(100vw - 24px));max-height:90vh;overflow:auto}.fiscal-dialog label{display:grid;gap:6px;margin-bottom:14px}.fiscal-dialog input,.fiscal-dialog select{width:100%;min-height:42px;padding:10px;font:inherit;border:1px solid #bdb9ae;border-radius:8px;background:#fff;color:#25251f}.fiscal-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.fiscal-grid [hidden]{display:none}@media(max-width:480px){.fiscal-grid{grid-template-columns:1fr}}

.fiscal-dialog .fiscal-terms{display:flex;align-items:flex-start;gap:10px}.fiscal-terms input[type=checkbox]{width:20px;height:20px;min-height:20px;margin-top:2px}
