@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+U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xMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sora Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/sora-latin-ext-wght-normal-CawQDOvP.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sora Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/sora-latin-wght-normal-DdqRvwsR.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--space-xs:4px;--space-sm:8px;--space-md:12px;--space-lg:16px;--space-xl:24px;--space-xxl:32px;--radius-sm:8px;--radius-md:12px;--text-factor:.9;--circle-factor:.85;--font-heading:"Sora Variable", "Manrope Variable", system-ui, sans-serif;--font-body:"Manrope Variable", system-ui, sans-serif;--bg:#eef4ff;--surface:#fff;--surface-alt:#dfe9fb;--border:#c6d5ef;--text:#14203a;--text-muted:#45546f;--text-faint:#6a7a96;--primary:#2f7df6;--on-primary:#fff;--danger:#c62828;--scrim:#101e3c73;--glow:transparent;--surface-fill:linear-gradient(#fff, #fff);--edge:linear-gradient(#c6d5ef, #c6d5ef);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}:root[data-dark=true]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-script=cyrillic]{--font-heading:"Manrope Variable", system-ui, sans-serif}:root[data-script=cjk]{--font-heading:system-ui, sans-serif;--font-body:system-ui, sans-serif}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);font-family:var(--font-body);font-size:calc(16px * var(--text-factor));overscroll-behavior:none;-webkit-tap-highlight-color:transparent;margin:0;line-height:1.4}#root{height:100%}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:none;padding:0}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}p{margin:0}h1,h2,h3{margin:0;font-weight:400}.icon{flex:none;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.faint{color:var(--text-faint)}.accent{color:var(--primary)}.muted{color:var(--text-muted)}.hint{color:var(--text-muted);font-size:calc(14px * var(--text-factor))}.screen{max-width:720px;height:100dvh;padding-top:env(safe-area-inset-top);flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:hidden}.screen.centered{padding:var(--space-xl);text-align:center;justify-content:center;align-items:center}.screen-scroll{overscroll-behavior-y:contain;padding-bottom:calc(var(--space-xxl) + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.screen-scroll.padded{padding-left:var(--space-lg);padding-right:var(--space-lg)}.stack{gap:var(--space-sm);flex-direction:column;display:flex}.stack>p{padding:var(--space-xs) 0}.screen-top-bar{min-height:56px;padding:0 var(--space-xs);flex:none;align-items:center;display:flex}.screen-title{min-width:0;padding-left:var(--space-sm);font-family:var(--font-heading);font-size:calc(22px * var(--text-factor));white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.spacer-md{width:var(--space-md)}.icon-button{width:48px;height:48px;color:var(--text);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-button.small{width:40px;height:40px}.icon-button:disabled{opacity:.4}.glass{background:var(--surface-fill) padding-box, var(--edge) border-box;border:1px solid #0000}:root[data-glow=true] .glow{box-shadow:0 10px 28px -10px var(--glow)}.rows-card{border-radius:var(--radius-md);overflow:hidden}.rows-card>*+*{border-top:1px solid var(--border)}.list-row{align-items:center;gap:var(--space-md);width:100%;min-height:56px;padding:var(--space-sm) var(--space-lg);text-align:start;display:flex}.list-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.list-row-title{font-size:calc(16px * var(--text-factor))}.list-row-subtitle{color:var(--text-muted);font-size:calc(14px * var(--text-factor))}.icon-tile{border-radius:9px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.section-label{color:var(--text-muted);font-size:calc(14px * var(--text-factor));padding:var(--space-md) 0 var(--space-xs);font-weight:500}.version{text-align:center;color:var(--text-faint);font-size:calc(12px * var(--text-factor));padding:var(--space-md)}.primary-button{justify-content:center;align-items:center;gap:var(--space-sm);width:100%;min-height:52px;padding:0 var(--space-xl);background:var(--primary);color:var(--on-primary);font-size:calc(16px * var(--text-factor));border-radius:999px;font-weight:600;display:inline-flex}.primary-button:disabled{opacity:.7}.secondary-button{justify-content:center;align-items:center;gap:var(--space-sm);min-height:48px;padding:0 var(--space-xl);border:1px solid var(--border);font-size:calc(14px * var(--text-factor));border-radius:999px;font-weight:600;display:inline-flex}.secondary-button.wide{width:100%}.ghost-button{min-height:48px;padding:0 var(--space-md);color:var(--primary);font-weight:600;font-size:calc(14px * var(--text-factor));border-radius:999px}.ghost-button.danger,.danger-button{color:var(--danger)}.danger-button{min-height:48px;font-weight:600}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.segmented{padding:var(--space-xs);border-radius:999px;display:flex}.segment{min-height:40px;padding:0 var(--space-xs);color:var(--text-muted);font-weight:500;font-size:calc(15px * var(--text-factor));white-space:nowrap;border-radius:999px;flex:1}.segment.selected{background:var(--surface-alt);color:var(--text);font-weight:600}.nav-arrows{padding:0 var(--space-xs);border-radius:999px;flex:none;display:flex}.period-header{align-items:center;gap:var(--space-md);padding:var(--space-lg);display:flex}.period-title{min-width:0;font-family:var(--font-heading);font-weight:300;font-size:clamp(18px, calc(34px * var(--text-factor)), 34px);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.color-dot{border-radius:50%;flex:none;display:inline-block}.backdrop{pointer-events:none;height:340px;position:absolute;inset:0 0 auto}.home-top-bar{min-height:64px;padding:0 var(--space-xs) 0 var(--space-lg);z-index:2;flex:none;align-items:center;display:flex;position:relative}.category-switcher-wrap{flex:1;min-width:0;position:relative}.category-switcher{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);max-width:100%;min-height:48px;display:inline-flex}.category-switcher-name{font-family:var(--font-heading);font-size:calc(24px * var(--text-factor));white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.menu{border-radius:var(--radius-md);min-width:240px;max-width:min(320px,100vw - 32px);max-height:60dvh;padding:var(--space-xs) 0;z-index:10;position:absolute;top:100%;left:0;overflow-y:auto}.menu-item{align-items:center;gap:var(--space-md);width:100%;min-height:48px;padding:0 var(--space-lg);text-align:start;display:flex}.menu-item-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.menu-item .icon:empty{width:24px}.home-tabs{padding:0 var(--space-lg) var(--space-sm);z-index:1;flex:none;position:relative}.pager{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;flex:1;display:flex;position:relative;overflow:auto hidden}.pager::-webkit-scrollbar{display:none}.page{overscroll-behavior-y:contain;scroll-snap-align:start;scroll-snap-stop:always;padding-bottom:calc(var(--space-xxl) + env(safe-area-inset-bottom));flex:0 0 100%;overflow-y:auto}.hint-card{align-items:center;gap:var(--space-md);margin:var(--space-sm) var(--space-lg);padding:var(--space-sm) var(--space-xs) var(--space-sm) var(--space-lg);border-radius:var(--radius-md);display:flex}.hint-icon{color:var(--primary)}.hint-text{flex:1;min-width:0}.month-calendar{padding:0 var(--space-lg)}.calendar-weekdays{color:var(--text-muted);text-align:center;white-space:nowrap;grid-template-columns:repeat(7,1fr);padding-bottom:8px;font-size:14px;display:grid}.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-cell{justify-content:center;align-items:center;padding:5px 0;display:flex}.day,.day-outside{width:var(--cell);height:var(--cell);font-size:min(16px, calc(var(--cell) * .38));border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.day{border-style:solid}.day.dashed{border-style:dashed}.day.future{opacity:.55}.day-outside{color:var(--text-faint)}.comments-row{padding:var(--space-lg);justify-content:flex-end;display:flex}.collapsible{border-top:1px solid var(--border)}.collapsible-heading{width:100%;min-height:64px;padding:0 var(--space-lg);font-family:var(--font-heading);font-size:calc(22px * var(--text-factor));text-align:start;justify-content:space-between;align-items:center;display:flex}.collapsible-body{grid-template-rows:0fr;transition:grid-template-rows .22s;display:grid}.collapsible-body.open{grid-template-rows:1fr}.collapsible-inner{overflow:hidden}.collapsible-body.open .collapsible-inner{padding-bottom:var(--space-lg)}.chart{width:100%}.chart-label{font-size:11px}.chart-range{padding:var(--space-sm) var(--space-lg);color:var(--text-muted);font-size:calc(12px * var(--text-factor));justify-content:space-between;display:flex}.donut-block{flex-direction:column;align-items:center;display:flex}.legend{gap:var(--space-md);width:100%;padding:var(--space-lg) var(--space-sm) 0;flex-direction:column;display:flex}.legend-row{justify-content:space-around;display:flex}.legend-item{flex-direction:column;align-items:center;display:flex}.legend-count{font-size:calc(24px * var(--text-factor));align-items:center;gap:6px;display:flex}.legend-percent{color:var(--text-muted);font-size:calc(12px * var(--text-factor))}.year-overview{padding:0 var(--space-sm)}.year-grid{grid-template-columns:repeat(3,1fr);display:grid}@media (width<300px){.year-grid{grid-template-columns:repeat(2,1fr)}}.year-month{border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:12px 0;display:flex}.year-month-label{color:var(--text-muted);font-size:calc(12px * var(--text-factor))}.year-facts{grid-template-columns:1fr 1fr;display:grid}.year-fact{padding:12px}.year-fact-title{color:var(--text-muted);font-size:calc(12px * var(--text-factor))}.year-fact-value{align-items:center;gap:var(--space-sm);font-size:calc(15px * var(--text-factor));margin-top:4px;font-weight:500;display:flex}.all-facts{padding-top:var(--space-sm)}.all-fact{align-items:center;gap:var(--space-md);padding:var(--space-lg);display:flex}.all-fact-label{flex:1}.all-fact-value{text-align:end;font-weight:600}.no-data{padding:var(--space-xxl);color:var(--text-muted);text-align:center}.empty-home{justify-content:center;align-items:center;gap:var(--space-md);padding:var(--space-xl);text-align:center;flex-direction:column;flex:1;display:flex}.empty-icon{border:1px solid var(--border);width:88px;height:88px;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;display:flex}.empty-title{font-family:var(--font-heading);font-size:calc(24px * var(--text-factor))}.empty-body{color:var(--text-muted);padding-bottom:var(--space-lg)}.rate-overlay{z-index:20;padding:max(var(--space-lg), env(safe-area-inset-top)) var(--space-lg) max(var(--space-lg), env(safe-area-inset-bottom));background:var(--scrim);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.rate-card{border-radius:var(--radius-md);background:var(--surface);flex-direction:column;width:100%;max-width:560px;max-height:100%;display:flex;overflow:hidden}.rate-header{align-items:center;gap:var(--space-md);padding:var(--space-xs) var(--space-xs) var(--space-xs) var(--space-xl);background:var(--surface-alt);flex:none;min-height:64px;display:flex}.rate-title{font-size:calc(16px * var(--text-factor));flex:1;font-weight:500}.save-button{width:40px;height:40px;margin-right:var(--space-md);background:var(--primary);color:var(--on-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.rate-body{padding:var(--space-lg) var(--space-xl) var(--space-xl);overflow-y:auto}.rating-row{justify-content:space-between;gap:4px;display:flex}.rating-cell{flex:1;justify-content:center;align-items:center;min-height:48px;display:flex}.rating-circle{width:min(calc(48px * var(--circle-factor)), 100%);aspect-ratio:1;font-size:calc(18px * var(--text-factor));border:1.5px solid;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.note-row{align-items:flex-start;gap:var(--space-sm);margin-top:var(--space-lg);display:flex;position:relative}.note-field{resize:none;border:none;border-bottom:1px solid var(--border);min-height:5.6em;padding:var(--space-sm) 0;background:0 0;outline:none;flex:1;line-height:1.4;overflow:hidden}.photo-button-wrap{position:relative}.photo-menu{min-width:220px;left:auto;right:0}.photo-strip{gap:var(--space-sm);margin-top:var(--space-md);flex-wrap:wrap;display:flex}.photo-thumb{width:56px;height:56px;position:relative}.photo-thumb-open{border-radius:var(--radius-sm);background:var(--surface-alt);width:100%;height:100%;overflow:hidden}.photo-thumb-open img,.feed-photo img{object-fit:cover;width:100%;height:100%;display:block}.photo-thumb-remove{background:var(--surface);border:1px solid var(--border);border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;position:absolute;top:-8px;right:-8px}.photo-viewer{z-index:40;touch-action:pinch-zoom;background:#000000e6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.photo-viewer img{object-fit:contain;max-width:100%;max-height:100%}.photo-viewer-close{top:max(var(--space-sm), env(safe-area-inset-top));right:var(--space-sm);position:absolute}.feed-list{overscroll-behavior-y:contain;padding:0 var(--space-lg) calc(var(--space-xxl) + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.feed-row{padding-bottom:12px;position:relative}.feed-connector{pointer-events:none;position:absolute;inset:0}.feed-chain{gap:12px;display:flex;position:relative}.feed-day{gap:var(--space-lg);display:flex;position:relative}.feed-day-content{gap:var(--space-sm);min-width:0;padding-top:var(--space-sm);flex-direction:column;flex:1;display:flex}.feed-note{white-space:pre-wrap;overflow-wrap:anywhere}.feed-photo{border-radius:var(--radius-sm);background:var(--surface-alt);width:150px;height:180px;overflow:hidden}.day-badge{border:1px solid;border-radius:50%;flex-direction:column;flex:none;justify-content:center;align-items:center;width:44px;height:44px;font-size:12px;line-height:14px;display:inline-flex}.field{gap:var(--space-xs);padding-top:var(--space-sm);flex-direction:column;display:flex}.field-label{color:var(--text-muted);font-size:calc(14px * var(--text-factor))}.text-input{min-height:52px;padding:0 var(--space-lg);border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);outline:none}.text-input:focus{border-color:var(--primary)}.color-choices{gap:var(--space-md);flex-wrap:wrap;display:flex}.color-choice{border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.color-choice.selected{outline-offset:3px;outline:2px solid}.form-actions{gap:var(--space-md);padding-top:var(--space-xl);flex-direction:column;display:flex}.style-picker{gap:var(--space-md);grid-template-columns:repeat(2,1fr);display:grid}.style-card{align-items:stretch;gap:var(--space-xs);padding:var(--space-xs);border-radius:var(--radius-md);border:2px solid #0000;flex-direction:column;display:flex}.style-card.selected{border-color:var(--primary);background:var(--surface-alt)}.style-preview{border-radius:var(--radius-md);border:1px solid;justify-content:center;align-items:center;height:68px;display:flex}.style-preview-bar{border:1px solid;border-radius:8px;align-items:center;gap:8px;width:70%;height:32px;padding:0 10px;display:flex}.style-preview-dot{border-radius:50%;width:12px;height:12px}.style-preview-line{border-radius:2px;flex:1;height:3px}.style-label{text-align:center;color:var(--text-muted);font-size:calc(14px * var(--text-factor))}.style-card.selected .style-label{color:var(--text)}.switch-row{cursor:pointer}.switch{appearance:none;background:var(--surface-alt);border:2px solid var(--text-faint);cursor:pointer;border-radius:999px;flex:none;width:52px;height:32px;transition:background .15s;position:relative}.switch:after{content:"";background:var(--text-faint);border-radius:50%;width:20px;height:20px;transition:transform .15s,background .15s;position:absolute;top:4px;left:4px}.switch:checked{background:var(--primary);border-color:var(--primary)}.switch:checked:after{background:var(--on-primary);transform:translate(20px)}.color-grid{gap:var(--space-sm);padding:var(--space-md) 0;grid-template-columns:repeat(6,1fr);display:grid}.color-grid-item{aspect-ratio:1;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.backup-result,.import-report{align-items:center;gap:var(--space-sm);padding:var(--space-xl) var(--space-lg);text-align:center;flex-direction:column;display:flex}.backup-ready{font-family:var(--font-heading);font-size:calc(22px * var(--text-factor));white-space:pre-line}.backup-actions{gap:var(--space-sm);width:100%;padding-top:var(--space-sm);flex-direction:column;display:flex}.import-report h2{font-family:var(--font-heading);font-size:calc(22px * var(--text-factor))}.error{color:var(--danger)}.dialog{background:0 0;border:none;width:100%;max-width:min(420px,100vw - 32px);padding:0}.dialog::backdrop{background:var(--scrim)}.dialog-card{padding:var(--space-xl) var(--space-xl) var(--space-sm);color:var(--text);background:var(--surface);border-radius:28px}.dialog-title{font-family:var(--font-heading);font-size:calc(20px * var(--text-factor))}.dialog-text{padding-bottom:var(--space-md)}.dialog-text.strong{font-weight:600}.dialog-actions{justify-content:flex-end;gap:var(--space-xs);flex-wrap:wrap;display:flex}.toast{left:50%;bottom:calc(var(--space-xl) + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);padding:var(--space-md) var(--space-lg);border-radius:var(--radius-sm);background:var(--text);color:var(--bg);z-index:50;position:fixed;transform:translate(-50%)}.storage-failed{max-width:420px}.hint-card.stacked{padding-top:var(--space-md);flex-wrap:wrap;align-items:flex-start}.hint-card.stacked .hint-icon{margin-top:2px}.hint-actions{margin-top:calc(-1 * var(--space-sm));flex-basis:100%;justify-content:flex-end;display:flex}@media (hover:hover){.icon-button:hover{background:color-mix(in srgb, var(--text) 8%, transparent)}.list-row.clickable:hover{background:color-mix(in srgb, var(--text) 5%, transparent)}.menu-item:hover{background:color-mix(in srgb, var(--text) 6%, transparent)}}.legal-links{justify-content:center;gap:var(--space-lg);padding-bottom:var(--space-md);font-size:calc(12px * var(--text-factor));display:flex}.legal-links a{color:var(--text-muted);align-items:center;min-height:40px;display:inline-flex}
