/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-white:#fff;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.block{display:block}.contents{display:contents}.hidden{display:none}}:root{color:#263343;font-synthesis:none;background:#f7f9fc;font-family:Inter,Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;font:inherit;transition:background .15s}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #91bae9}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #a6c8f2}h1,h2,h3,p{margin:0}h1{letter-spacing:.035em;font-size:28px;font-weight:650;line-height:1.45}h2{align-items:center;gap:9px;font-size:16px;font-weight:650;display:flex}h3{font-size:14px;font-weight:600}small{font-size:12px}.app-shell{min-height:100vh}.sidebar{z-index:20;background:#fff;border-right:1px solid #e4eaf2;flex-direction:column;width:235px;padding:35px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.6px;align-items:center;gap:11px;font-size:20px;font-weight:650;display:flex}.brand-icon{color:#fff;background:#4285d4;border-radius:11px;flex-shrink:0;place-items:center;width:41px;height:43px;display:grid}.brand small{letter-spacing:.03em;color:#8a95a6;margin-top:2px;font-size:10px;font-weight:400;display:block}.nav-caption{letter-spacing:.15em;color:#a0aaba;margin:48px 14px 14px;font-size:10px}.sidebar nav{flex-direction:column;gap:9px;display:flex}.nav-link{text-align:left;color:#768395;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;width:100%;min-height:57px;padding:12px 13px;display:flex}.nav-link small{color:#a0aaba;letter-spacing:.03em;font-size:10px;line-height:1.3;display:block}.nav-link span{font-size:13px}.nav-link.selected{color:#3477c8;background:#edf4fd;font-weight:600}.nav-link.selected small{color:#83a7d5;font-weight:400}.nav-link:hover{background:#f4f7fb}.nav-dot{background:#4285d4;border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-footer{color:#8390a2;margin-top:auto;padding:24px 10px 0;font-size:11px}.sidebar-footer small{color:#a0aaba;margin-top:8px;font-size:10px;display:block}.local-dot{background:#69aa91;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.version{letter-spacing:.12em;color:#acb5c2;margin-top:24px;font-size:9px;display:block}.main-shell{margin-left:235px}.topbar{background:#fff;border-bottom:1px solid #e6ebf2;align-items:center;gap:20px;height:77px;padding:0 42px;display:flex}.breadcrumb{color:#8b98a9;flex:1;font-size:12px}.breadcrumb span{color:#c8d0db;margin:0 15px}.topbar-date{color:#8591a1;align-items:center;gap:8px;font-size:11px;display:flex}.avatar{color:#7b8ba1;background:#f3f6fa;border:1px solid #dde5ee;border-radius:50%;place-items:center;width:30px;height:30px;font-size:11px;display:grid}main{max-width:1350px;margin:0 auto;padding:39px 42px 28px}.mobile-brand,.mobile-nav{display:none}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.eyebrow{letter-spacing:.15em;color:#8c9db0;margin-bottom:10px;font-size:10px;font-weight:550}.page-title p{color:#8a96a6;margin-top:11px;font-size:12px}.date-pill{white-space:nowrap;background:#fff;border:1px solid #e0e7ef;border-radius:7px;padding:10px 14px;font-size:13px}.date-pill span{color:#91a0b2;margin-left:10px;font-size:11px}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:27px;display:grid}.overview{background:#fff;border:1px solid #e0e7ef;border-radius:10px;gap:15px;min-height:139px;padding:22px;display:flex;position:relative}.overview-icon{border-radius:10px;flex-shrink:0;place-items:center;width:39px;height:39px;display:grid}.blue{color:#4285d4;background:#edf4fd}.amber{color:#b38a4b;background:#fcf5e9}.green{color:#58a58b;background:#edf7f3}.neutral{color:#9aa5b3;background:#f4f6f9}.overview div>span{color:#7e8d9f;font-size:11px}.overview strong{letter-spacing:-.7px;font-size:30px;font-weight:650;line-height:1.4;display:block}.overview strong small{color:#a4afbd;letter-spacing:0;font-size:13px;font-weight:400}.overview p{color:#9aa6b5;margin-top:3px;font-size:10px}.progress-track{background:#eef3f9;height:3px;position:absolute;bottom:0;left:22px;right:22px}.progress-track i{background:#4285d4;height:100%;display:block}.home-grid{grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:24px;display:grid}.card{border-style:var(--tw-border-style);background-color:var(--color-white);border-width:1px;border-color:#dde5ee;border-radius:10px;overflow:hidden}.section-head{justify-content:space-between;align-items:center;gap:12px;padding:22px 24px;display:flex}.section-head p{color:#929fb0;margin-top:6px;font-size:11px}.count{color:#94a2b5;background:#f0f4f9;border-radius:5px;place-items:center;min-width:22px;height:21px;font-size:10px;font-weight:400;display:inline-grid}.text-button{color:#7c91aa;white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;min-height:44px;padding:4px 0;font-size:11px;display:inline-flex}.text-button:hover{color:#4285d4}.habit-list{padding:0 24px}.habit-row{border-top:1px solid #edf1f6;align-items:center;gap:13px;min-height:86px;display:flex}.habit-row:first-child{border-top:0}.habit-check{color:#fff;background:#fff;border:1.5px solid;border-radius:9px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid;position:relative}.habit-check:before{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px}.habit-row-text{flex:1;min-width:0}.habit-row-text strong{overflow-wrap:anywhere;font-size:13px;font-weight:550}.habit-row-text small{color:#93a0b2;margin-top:5px;font-size:10px;display:block}.habit-row-text small span{margin-left:8px}.badge{white-space:nowrap;border-radius:5px;padding:5px 9px;font-size:10px;line-height:1.4;display:inline-block}.gentle-note{color:#98a5b5;background:#fafbfd;border-top:1px solid #edf1f6;align-items:center;gap:8px;padding:16px 24px;font-size:10px;display:flex}.consistency .section-head{padding-bottom:12px}.mini-habit{padding:14px 24px}.mini-habit>div:first-child{align-items:center;gap:7px;font-size:11px;display:flex}.mini-habit small{color:#9aa8b8;margin-left:auto;font-size:10px}.color-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px;display:inline-block}.week-dots{justify-content:space-between;gap:5px;margin-top:12px;display:flex}.week-dots>div{text-align:center}.week-dots span{background:#f0f4f9;border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.week-dots small{color:#a0acbc;margin-top:5px;font-size:9px;display:block}.consistency-footer{color:#a0adbd;text-align:center;border-top:1px solid #edf1f6;margin-top:8px;padding:13px 20px;font-size:10px}.home-bottom{grid-template-columns:1fr 1fr;gap:22px;display:grid}.summary-row{border-top:1px solid #edf1f6;align-items:center;gap:13px;margin:0 24px;padding:16px 0;display:flex}.service-avatar{color:#7890b1;background:#f0f4f9;border:1px solid #e9eef5;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:17px;font-weight:600;display:grid}.service-avatar.green{color:#58a58b;background:#edf7f3;border-color:#e4f0ea}.summary-row>div{flex:1;min-width:0}.summary-row strong{overflow-wrap:anywhere;font-size:12px;font-weight:550}.summary-row small{color:#98a5b5;margin-top:4px;font-size:10px;display:block}.page-footer{color:#a0adbc;text-align:center;margin-top:26px;font-size:10px;line-height:1.9}.quiet-empty{color:#98a5b5;padding:22px 24px;font-size:12px}.empty{text-align:center;color:#95a4b7;padding:48px 24px}.empty>svg{color:#a8bfbe;margin:0 auto 15px}.empty h3{color:#687d94;margin-bottom:8px;font-size:15px}.empty p{font-size:12px;line-height:1.9}.empty button{margin-top:23px}.primary,.secondary,.danger-button{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 17px;font-size:12px;font-weight:500;display:inline-flex}.primary{color:#fff;background:#4285d4}.primary:hover{background:#3477c8}.secondary{color:#667c96;background:#fff;border-color:#dde5ee}.danger-button{color:#bc5d64;background:#fff4f4;border-color:#f3dfe1}.icon-button{color:#8da0b6;background:0 0;border:0;border-radius:6px;place-items:center;min-width:44px;min-height:44px;display:inline-grid}.icon-button:hover{color:#4285d4;background:#f0f5fb}.actions{flex-shrink:0;gap:0;display:flex}.quick-number{color:#98a5b5;align-items:center;gap:3px;font-size:10px;display:flex}.quick-number input{text-align:center;width:58px;min-height:38px;padding:8px 5px;font-size:12px}.quick-number .icon-button{min-width:35px}.achievement{color:#77a28e;font-size:9px}.calendar-card{margin-bottom:26px;padding:0}.calendar-toolbar{justify-content:space-between;align-items:center;gap:15px;padding:20px 24px 14px;display:flex}.segmented{background:#f1f5fa;border-radius:8px;padding:3px;display:flex}.segmented button{color:#91a0b3;background:0 0;border:0;border-radius:6px;min-height:38px;padding:6px 23px;font-size:12px}.segmented button.active{color:#4285d4;background:#fff;font-weight:550;box-shadow:0 1px 3px #cfd9e155}.month-control{align-items:center;gap:8px;display:flex}.month-control h2{font-size:15px}.calendar-filters{flex-wrap:wrap;gap:8px;padding:0 24px 18px;display:flex}.filter-chip{color:#73869f;background:#fff;border:1px solid #e0e7f0;border-radius:6px;align-items:center;gap:6px;min-height:40px;padding:6px 10px;font-size:11px;display:flex}.filter-chip.dimmed{opacity:.4}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{text-align:center;color:#93a2b5;background:#fcfdff;border-top:1px solid #e5ecf3;padding:10px 0;font-size:11px}.calendar-day{color:#73849b;text-align:left;background:#fff;border-top:1px solid #edf1f6;border-bottom:0;border-left:0;border-right:1px solid #edf1f6;flex-direction:column;align-items:stretch;min-width:0;min-height:91px;padding:10px 0;display:flex}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{background:#f4f8fd}.calendar-day.outside{color:#c4cdd8;background:#fafbfd}.calendar-day:disabled{opacity:1;color:#c4cdd8}.day-number{align-self:flex-start;place-items:center;width:24px;height:24px;margin-left:10px;font-size:11px;display:grid}.today .day-number{color:#fff;background:#4285d4;border-radius:50%}.today{background:#f7faff}.ribbon-stack{flex-direction:column;gap:4px;margin-top:5px;display:flex}.ribbon-lane{height:5px}.ribbon{z-index:1;height:5px;display:block;position:relative}.calendar-legend{color:#9aa8b8;border-top:1px solid #edf1f6;flex-wrap:wrap;align-items:center;gap:18px;padding:15px 24px;font-size:10px;display:flex}.calendar-legend span{align-items:center;gap:6px;display:flex}.calendar-legend i{background:#4285d4;border-radius:2px;width:16px;height:5px;display:inline-block}.calendar-legend .legend-light{opacity:.48}.calendar-legend small{margin-left:auto;font-size:10px}.calendar-individual{text-align:center;color:#6d85a2;border-top:1px solid #edf1f6;padding:13px;font-size:12px}.section-heading{justify-content:space-between;align-items:center;margin:22px 0 15px;display:flex}.section-heading span{color:#9ba8b9;font-size:11px}.habit-card-grid,.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.habit-detail .section-head{padding:20px}.stats-row{padding:0 20px 23px;display:flex}.stats-row>div{text-align:center;border-right:1px solid #edf1f6;flex:1}.stats-row>div:last-child{border:0}.stats-row strong{font-size:25px;font-weight:600;display:block}.stats-row strong small{color:#9ca9ba;margin-left:3px;font-size:11px;font-weight:400}.stats-row span{color:#98a6b8;font-size:10px}.simple-summary{color:#4285d4;background:#edf4fd;border:1px solid #dce8f8;border-radius:9px;align-items:center;gap:18px;margin-bottom:25px;padding:23px 26px;display:flex}.simple-summary small{color:#7395bf;font-size:11px}.simple-summary strong{font-size:28px;font-weight:600;display:block}.simple-summary strong span{font-size:12px;font-weight:400}.simple-summary p{color:#8a9fb9;margin-left:auto;font-size:11px}.item-card{padding:22px 24px}.item-card .section-head{padding:0 0 15px}.item-card>h2{overflow-wrap:anywhere;margin-bottom:10px;font-size:18px}.item-card .price{margin-top:20px;font-size:27px}.price small{color:#9eabba;font-size:12px}dl{margin:20px 0}dl>div{justify-content:space-between;gap:20px;padding:8px 0;font-size:11px;display:flex}dt{color:#98a5b7;flex-shrink:0}dd{text-align:right;color:#6b7f97;overflow-wrap:anywhere;margin:0}.due{color:#b38a4b}.memo{color:#7e8fa5;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border-radius:5px;padding:12px;font-size:12px}.item-card details{color:#93a3b8;border-top:1px solid #edf1f6;margin-top:19px;padding-top:13px;font-size:11px}.item-card summary{cursor:pointer;min-height:32px}.history-line{justify-content:space-between;gap:10px;padding:8px 0;display:flex}.forecast-note{color:#a3afbe;margin-bottom:13px;font-size:10px;line-height:1.9}.item-card .history-title{border-top:1px solid #edf1f6;margin-top:20px;padding-top:20px;padding-bottom:6px}.usage-row{border-top:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:8px;padding:13px 0;display:flex}.usage-row strong{color:#71849e;font-size:11px;font-weight:500}.usage-row small{color:#a0adbe;overflow-wrap:anywhere;font-size:10px;display:block}.usage-row>div:first-child{min-width:0}.settings-card{max-width:850px;margin-bottom:22px;padding:26px}.settings-card>p{color:#8b9bb0;margin-top:17px;font-size:12px;line-height:2}.backup-actions{flex-wrap:wrap;gap:12px;margin-top:23px;display:flex}.file-button{cursor:pointer}.file-button input{opacity:0;width:1px;height:1px;position:absolute}.file-button:focus-within{outline:3px solid #91bae9}.danger-zone h2{color:#bc6d76}.danger-zone button{margin-top:18px}dialog{color:#263343;background:#fff;border:1px solid #dde5ee;border-radius:13px;width:min(540px,100vw - 28px);max-height:calc(100dvh - 40px);padding:25px;box-shadow:0 15px 90px #26334322}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#26334355}.modal-head{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.modal-head h2{font-size:19px}.modal-intro{color:#91a0b2;margin-bottom:18px;font-size:12px}.field{margin-bottom:17px;display:block}.field>span{color:#7e8fa6;margin-bottom:7px;font-size:12px;display:block}input:not([type=checkbox]):not([type=color]),select,textarea{width:100%;min-height:44px;font:inherit;color:#526981;background:#fff;border:1px solid #dde5ee;border-radius:6px;padding:9px 12px;font-size:13px}input::placeholder,textarea::placeholder{color:#b2bdca}textarea{resize:vertical}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.form-footer{border-top:1px solid #edf1f6;justify-content:flex-end;gap:10px;margin-top:15px;padding-top:15px;display:flex}.checkbox-label{align-items:center;gap:9px;min-height:44px;font-size:13px;display:flex}.checkbox-label input{accent-color:#4285d4;width:19px;height:19px}.muted{color:#9aa8ba;margin-top:12px;font-size:11px;line-height:1.9}.color-picker{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.color-picker button{color:#fff;border:2px solid #fff;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 0 0 1px #dfe6f0}.color-picker input{background:0 0;border:0;width:38px;height:38px;padding:0}.weekday-picker{gap:6px;margin-bottom:20px;display:flex}.weekday-picker button{color:#8c9caf;background:#fff;border:1px solid #dde5ee;border-radius:6px;flex:1;min-height:44px;font-size:12px}.weekday-picker button.active{color:#4285d4;background:#edf4fd;border-color:#9fbfe9}.record-edit{border-bottom:1px solid #edf1f6;padding:15px 0}.record-edit .field{margin:8px 0}.record-edit small{color:#97a6b9;font-size:11px}.confirm-text{color:#7d8fa6;font-size:13px;line-height:2}.error{color:#bd565f;font-size:12px}.alert{background:#fff1f3;border:1px solid #f0d5d9;border-radius:7px;margin-bottom:20px;padding:13px 16px}.toast{color:#fff;z-index:50;background:#263343;border-radius:9px;align-items:center;gap:9px;padding:12px 20px;font-size:12px;display:flex;position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 5px 25px #26334322}.saving{z-index:60;background:#fff;border:1px solid #dde5ee;border-radius:7px;padding:9px 14px;font-size:12px;position:fixed;top:14px;right:14px}.loading{color:#7e94ae;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:100vh;display:flex}.loading p{text-align:center;max-width:360px}.loading button{padding:12px}@media(min-width:1450px){.home-grid{grid-template-columns:1.55fr 1fr}.overview{min-height:150px}.habit-row{min-height:96px}}@media(max-width:1150px){.sidebar{width:210px;padding:30px 15px}.main-shell{margin-left:210px}main{padding:30px 26px}.topbar{padding:0 26px}.brand{font-size:18px}.home-grid{grid-template-columns:1.3fr 1fr;gap:17px}.section-head{padding:20px}.habit-list{padding:0 20px}.overview{gap:10px;padding:18px}.overview p{font-size:9px}.overview-icon{width:33px;height:33px}.habit-row{gap:10px}.habit-row-text small span{margin-left:0;display:block}.quick-number input{width:45px}.home-bottom{gap:17px}.gentle-note{padding:14px 20px;font-size:9px}.overview-grid{gap:14px}.summary-row{margin:0 20px}.page-title h1{font-size:25px}}@media(max-width:900px){.home-grid,.home-bottom{grid-template-columns:1fr}.consistency .mini-habit{vertical-align:top;width:50%;display:inline-block}.overview-grid{gap:10px}.overview{flex-direction:column;gap:7px;min-height:160px;padding:16px 12px}.overview strong{font-size:26px}.overview p{font-size:9px}.page-title{align-items:flex-start}.date-pill,.simple-summary p{display:none}.item-grid,.habit-card-grid{grid-template-columns:1fr}.calendar-toolbar{gap:8px;padding:18px}.segmented button{padding:6px 14px}.month-control{gap:0}.month-control .text-button{margin-left:6px}.calendar-filters{padding:0 18px 14px}}@media(max-width:640px){:root{font-size:14px}.sidebar,.topbar{display:none}.main-shell{margin-left:0}.mobile-brand{color:#4285d4;align-items:center;gap:9px;padding:5px 0 24px;font-size:19px;display:flex}.mobile-brand b{color:#263343;font-weight:650}main{padding:20px 17px 100px}.page-title{flex-direction:column;gap:14px;margin-bottom:23px}.page-title h1{font-size:23px}.page-title p{margin-top:9px;font-size:11px;line-height:1.9}.eyebrow{margin-bottom:8px;font-size:9px}.page-title>.primary{align-self:flex-start}.overview-grid{gap:8px;margin-bottom:20px}.overview{border-radius:8px;min-height:154px;padding:12px 10px}.overview div>span{white-space:nowrap;font-size:9px}.overview strong{font-size:26px}.overview strong small{font-size:10px}.overview p{font-size:8px;line-height:1.6}.overview-icon{border-radius:7px;width:29px;height:29px}.overview-icon svg{width:16px}.progress-track{left:10px;right:10px}.home-grid{gap:17px;margin-bottom:17px}.section-head{gap:8px;padding:19px 17px}.section-head h2{font-size:14px}.section-head p,.text-button{font-size:10px}.habit-list{padding:0 17px}.habit-row{flex-wrap:wrap;gap:10px;min-height:87px}.habit-row-text strong{font-size:12px}.habit-row-text small{font-size:9px}.habit-row-text small span{margin-left:5px;display:inline}.habit-check{border-radius:8px;width:29px;height:29px}.quick-number input{width:48px}.quick-number .icon-button{min-width:31px}.achievement{display:none}.gentle-note{align-items:flex-start;padding:13px 17px;font-size:9px;line-height:1.7}.gentle-note svg{flex-shrink:0}.mini-habit{padding:13px 17px}.consistency .mini-habit{width:100%}.week-dots span{width:33px;height:33px}.week-dots small{font-size:10px}.summary-row{margin:0 17px}.summary-row strong{font-size:12px}.summary-row .badge{padding:5px 7px;font-size:9px}.page-footer{margin-top:20px;font-size:9px}.mobile-nav{padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:30;background:#fff;border-top:1px solid #dde5ee;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:#a0acba;background:0 0;border:0;border-radius:7px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;min-height:51px;font-size:9px;display:flex}.mobile-nav button.selected{color:#4285d4;background:#f0f6fd}.toast{white-space:nowrap;bottom:90px;left:50%}.calendar-toolbar{flex-direction:column;align-items:stretch;gap:12px;padding:16px}.segmented{align-self:flex-start}.segmented button{min-height:40px;padding:5px 25px}.month-control{justify-content:center}.month-control h2{flex:1;justify-content:center;font-size:14px}.calendar-filters{gap:6px;padding:0 16px 14px}.filter-chip{padding:5px 8px;font-size:10px}.calendar-day{min-height:72px;padding:7px 0}.day-number{width:22px;height:22px;margin-left:5px;font-size:10px}.calendar-weekdays{font-size:10px}.calendar-legend{gap:10px;padding:12px 14px;font-size:8px}.calendar-legend small{width:100%;font-size:9px}.calendar-legend i{width:12px}.calendar-individual{font-size:11px}.simple-summary{padding:18px}.simple-summary strong{font-size:25px}.item-card,.settings-card{padding:20px}.settings-card>p{font-size:11px}.backup-actions{flex-direction:column;align-items:stretch}.empty{padding:38px 19px}.empty p{font-size:11px}.empty h3{font-size:14px}.habit-detail .section-head{gap:6px}.habit-detail h2{font-size:14px}.habit-detail .section-head p{font-size:10px}.habit-detail .actions .icon-button{min-width:38px}.stats-row strong{font-size:23px}dialog{margin:auto;padding:20px}.modal-head h2{font-size:17px}.form-grid{gap:10px}.field>span{font-size:11px}.checkbox-label{font-size:12px}.item-card dl>div{gap:10px}.item-card dd{font-size:10px}.record-edit .checkbox-label{overflow-wrap:anywhere}.quiet-empty{font-size:11px}.habit-row-text{min-width:85px}.badge{font-size:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.file-button{position:relative}.file-button input[type=file]{clip-path:inset(50%);pointer-events:none;border:0;width:1px;height:1px;min-height:0;padding:0;position:absolute}.quick-number input[type=number]{text-align:center;width:58px;min-width:0;min-height:44px;padding:8px 5px;font-size:12px}@media(max-width:640px){.quick-number input[type=number]{width:52px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}:root{background:#f7f8fa;color:#2d3545}.crown-brand{gap:10px;align-items:center;padding:3px 0 20px}.crown-brand-mark{width:35px;height:35px;display:grid;place-items:center;color:#8e7958;background:#f1ede4;border-radius:11px}.crown-brand b{font-family:Georgia,Times New Roman,serif;font-size:22px;letter-spacing:-.5px;font-weight:600;color:#303849}.crown-brand small{display:block;font-size:8px;letter-spacing:.18em;color:#9a9eaa;margin-top:1px}.crown-local{margin-left:auto;font-size:9px;color:#969caa;white-space:nowrap}.crown-local i{display:inline-block;width:5px;height:5px;background:#83a99c;border-radius:50%;margin-right:5px}.brand-icon{background:#f1ede4;color:#8e7958}.brand{font-family:Georgia,serif}.brand small{font-family:system-ui,sans-serif}.brand{font-size:19px}.page-habits .topbar{display:none}.page-habits main{max-width:730px;padding:28px 32px 105px}.page-habits .mobile-brand{display:flex}.primary{background:#526b9c;border-radius:9px}.primary:hover{background:#425c8e}.toast{background:#34415a}.jewel-month{display:flex;align-items:center;justify-content:center;gap:12px;position:relative;margin:0 0 22px;padding:6px 0}.jewel-month>label{position:relative;min-width:145px;text-align:center;cursor:pointer}.jewel-month>label>span{font-size:12px;font-weight:500;color:#8e95a3;display:flex;align-items:baseline;justify-content:center;gap:13px}.jewel-month b{font-size:26px;font-weight:650;color:#313a4a;letter-spacing:-.04em}.jewel-month input[type=month]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;min-height:44px;cursor:pointer}.jewel-month input::-webkit-calendar-picker-indicator{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.jewel-month label:focus-within{outline:2px solid #9eb7dc;outline-offset:4px;border-radius:5px}.month-today{position:absolute;right:0;min-height:44px;min-width:44px;font-size:11px;color:#8393ac;background:none;border:0}.jewel-month .icon-button{color:#8391a6}.monthly-crown{display:flex;align-items:center;gap:4px;border:1px solid #e5e2da;background:linear-gradient(110deg,#fffefb,#faf9f6);border-radius:14px;padding:12px 13px 12px 8px;box-shadow:0 3px 13px #353f5310;position:relative;isolation:isolate;overflow:hidden;margin-bottom:20px}.crown-art{width:110px;height:83px;flex-shrink:0}.crown-copy{flex:1;min-width:0}.crown-eyebrow{font-size:8px;letter-spacing:.14em;color:#a49a89;display:block;margin-bottom:5px}.crown-copy h2{font-size:13px;font-weight:600;display:flex;flex-wrap:wrap;gap:6px}.crown-copy h2>span{font-size:9px;border:1px solid #e9e2d5;background:#f5f1e8;border-radius:5px;padding:1px 6px;color:#a08a62;font-weight:400}.crown-copy p{font-size:10px;color:#9a978f;margin-top:6px;line-height:1.7}.crown-actions{display:flex;flex-direction:column;gap:0;align-self:stretch;justify-content:center}.crown-actions .icon-button{color:#a29885;min-width:37px;min-height:37px}.crown-progress{display:flex;gap:4px;max-width:120px;margin-top:10px}.crown-progress i{height:3px;background:#e8e5df;flex:1;border-radius:2px}.crown-progress .filled{background:#bca579}.monthly-crown.crown-growth:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#fff9e5aa 48%,transparent 65%);z-index:2;animation:crown-glow 1.1s ease-out both}.crown-preview{text-align:center;border:1px solid #ece7db;border-radius:12px;padding:24px;margin:18px 0;background:#fcfbf8}.crown-preview .crown-art{width:175px;height:120px;display:block;margin:auto}.crown-preview h3{margin-top:12px}.crown-preview p{font-size:12px;color:#9b917d;margin-top:6px}.stage-picker{display:flex;gap:7px}.stage-picker button{flex:1;min-width:0;min-height:64px;border:1px solid #e5e5e7;background:#fff;border-radius:9px;color:#9b9ba5;font-size:19px}.stage-picker button small{font-size:9px;display:block;margin-top:3px}.stage-picker button.active{color:#9a8153;border-color:#cdbc9a;background:#faf7ef}.crown-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crown-collection button{display:flex;flex-direction:column;align-items:center;padding:14px;border:1px solid #e7e3d9;background:#fdfcf9;border-radius:10px}.crown-collection strong{font-size:12px;font-weight:550}.crown-collection small{color:#a09684;font-size:10px;margin-top:6px}.gesture-hint{display:flex;align-items:flex-start;gap:8px;background:#eef2f8;border-radius:9px;color:#8292ab;margin-bottom:23px;padding:10px 7px 10px 12px}.gesture-hint>svg{flex-shrink:0;margin-top:3px}.gesture-hint p{flex:1;min-width:0;line-height:1.8;font-size:10px;align-self:center}.gesture-hint strong{display:block;font-size:10px;font-weight:550;color:#74849e}.gesture-hint p span{font-size:9px}.gesture-hint .icon-button{min-width:33px;min-height:35px;align-self:center}.jewel-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 17px}.jewel-section-head .eyebrow{font-size:8px;letter-spacing:.13em;color:#a4aaba;margin-bottom:5px}.jewel-section-head h1{font-size:19px;font-weight:550;letter-spacing:.015em}.jewel-section-head .primary{padding:9px 12px;min-height:42px;font-size:11px}.jewel-calendars{display:flex;flex-direction:column;gap:23px}.jewel-card{background:#fff;border:1px solid #e4e7ed;border-radius:15px;padding:17px 18px 4px;box-shadow:0 3px 14px #2e3a4f07;min-width:0}.jewel-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.jewel-card-heading>div{flex:1;min-width:0}.jewel-card-heading h2{font-size:15px;line-height:1.5;overflow-wrap:anywhere;font-weight:600;gap:6px}.jewel-card-heading h2 small{font-size:9px;background:#f2f3f6;color:#9aa2b0;padding:2px 5px;white-space:nowrap;font-weight:400}.jewel-card-heading p{font-size:9px;color:#9da6b5;margin-top:4px;overflow-wrap:anywhere}.jewel-card-heading .icon-button{min-width:32px;min-height:44px;color:#9daabd}.gem-emblem{display:block;width:22px;height:26px;background:linear-gradient(145deg,var(--gem-glint),var(--gem-light) 15%,var(--gem) 52%,var(--gem-deep));clip-path:polygon(50% 0,100% 25%,90% 75%,50% 100%,10% 75%,0 25%);flex-shrink:0;box-shadow:inset 2px 2px 5px #fff8}.jewel-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center;margin-bottom:9px;font-size:10px;color:#a7adba}.jewel-weekdays span:nth-child(6){color:#91a7c6}.jewel-weekdays span:nth-child(7){color:#c6a0aa}.jewel-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.jewel-tile,.jewel-blank{aspect-ratio:1.03;min-width:0}.jewel-tile{border:1px solid #e8ebf0;border-radius:8px;background:#f1f3f6;position:relative;color:#a8afbc;padding:0;isolation:isolate;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-y;transition:box-shadow .15s,border-color .15s}.jewel-tile:focus-visible{outline-offset:2px;outline:2px solid #839ec9;z-index:2}.jewel-tile:disabled{opacity:.6;color:#c0c5ce}.jewel-tile.recorded{color:#fff;border-color:var(--gem);background:linear-gradient(128deg,#ffffff45,transparent 24%,transparent 75%,#00000014),linear-gradient(145deg,var(--gem-light) -25%,var(--gem) 40%,var(--gem-deep) 120%);box-shadow:inset 0 1px 1px #ffffff80,inset 1px 0 1px #ffffff25,inset 0 -2px 4px #00000013,0 2px 3px #2230430d}.jewel-tile.recorded:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(140deg,#ffffff35 0%,#ffffff09 20%,transparent 20.5%,transparent 68%,#ffffff0e 68.5%,#ffffff05);clip-path:polygon(0 0,100% 0,100% 65%,68% 100%,0 100%);z-index:-1}.jewel-tile.recorded:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;pointer-events:none;border-top:1px solid #ffffff4d;border-left:1px solid #ffffff28;border-radius:5px;z-index:-1}.jewel-tile.rest{background:linear-gradient(140deg,#fcf0f2,#f6e6eb);border-color:#efdde3;color:#bc8799}.jewel-tile.is-today{border-color:#aebbd2;box-shadow:0 0 0 1.5px #aab8d144}.jewel-tile.is-today.recorded{border-color:var(--gem-deep);box-shadow:inset 0 1px 1px #ffffff80,0 0 0 1.5px #91a0bc55}.jewel-day{position:absolute;left:9%;top:4%;font-family:Arial,Helvetica Neue,sans-serif;font-size:clamp(20px,5.6vw,31px);font-style:italic;font-weight:900;letter-spacing:-.055em;line-height:1.2;transform:skew(-5deg);text-shadow:0 1px 2px #00000008}.recorded .jewel-day{text-shadow:0 1px 3px #14214155}.jewel-value{position:absolute;right:7%;bottom:5%;max-width:95%;font-family:Arial,Helvetica Neue,sans-serif;font-size:clamp(12px,3.4vw,18px);font-weight:800;font-style:italic;letter-spacing:-.04em;line-height:1.15;transform:skew(-5deg);text-shadow:0 1px 3px #14214155}.jewel-sparkle{position:absolute;width:13px;height:13px;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,#fff 0,#fff 8%,#ffffff66 20%,transparent 45%);animation:jewel-glint .8s ease-out both;pointer-events:none;z-index:3}.jewel-sparkle:before,.jewel-sparkle:after{content:"";position:absolute;top:50%;left:50%;width:14px;height:1px;background:linear-gradient(90deg,transparent,#fff,transparent);transform:translate(-50%,-50%)}.jewel-sparkle:after{transform:translate(-50%,-50%) rotate(90deg)}.jewel-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:53px}.jewel-card-footer p{color:#97a2b4;font-size:10px}.jewel-card-footer strong{font-size:16px;font-weight:600;color:#697d9b;margin-right:3px}.jewel-card-footer p>span{font-size:9px;color:#a8afbb;margin-left:11px}.jewel-card-footer .text-button{font-size:11px;gap:5px;min-height:44px;padding:3px 4px}.jewel-legend{display:flex;justify-content:center;gap:20px;margin-top:25px;font-size:10px;color:#a3aab7}.jewel-legend>span{display:flex;align-items:center;gap:5px}.jewel-legend i{width:10px;height:10px;background:#eceff4;border-radius:3px}.jewel-legend .legend-jewel{background:linear-gradient(140deg,#79a2df,#315b9c)}.jewel-legend .legend-rest{background:#f3dfe7}.jewel-footnote{text-align:center;font-size:10px;letter-spacing:.025em;color:#a8afba;margin-top:14px}.gem-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gem-palette button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:70px;padding:7px 3px;border:1px solid #e7ebf1;border-radius:8px;background:#fff;color:#93a0b2}.gem-palette button.chosen{border-color:#9cadc9;background:#f4f7fb;color:#526b93}.palette-jewel{display:grid;place-items:center;position:relative;width:31px;height:30px;background:linear-gradient(135deg,var(--gem-light),var(--gem) 45%,var(--gem-deep));border:1px solid var(--gem);border-radius:7px;box-shadow:inset 1px 1px 2px #ffffff80,0 2px 3px #23344e0c;color:#fff}.palette-jewel:before{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;border-top:1px solid #ffffff66;border-radius:4px;pointer-events:none}.gem-palette small{font-size:9px}.sparkle-setting{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;margin-top:12px}.sparkle-setting strong{font-size:13px;font-weight:550}.sparkle-setting small{display:block;font-size:10px;color:#94a1b4;margin-top:6px}.sparkle-setting input{width:23px;height:23px;accent-color:#526b9c;cursor:pointer}.settings-card .secondary{margin-top:13px}.legacy-backup{border-top:1px solid #edf1f6;padding-top:14px;margin-top:18px}.legacy-backup p{font-size:11px;color:#95a1b3}.detail-target{padding:10px 13px;background:#f3f6fa;border-radius:7px;font-size:12px;color:#8393ab}.jewel-screen .empty{background:#fff;border:1px solid #e4e7ed;border-radius:14px;margin-top:12px}@keyframes jewel-glint{0%{opacity:0;scale:.4}35%{opacity:.95;scale:1.15}to{opacity:0;scale:.5}}@keyframes crown-glow{0%{transform:translate(-100%);opacity:0}30%{opacity:.9}to{transform:translate(100%);opacity:0}}@media(min-width:641px){.jewel-day{font-size:32px}.jewel-value{font-size:19px}.jewel-grid{gap:8px}.jewel-tile{border-radius:10px}.jewel-month{margin-bottom:24px}.jewel-month b{font-size:30px}.monthly-crown{padding:14px 18px;gap:12px}.monthly-crown>.crown-art{width:125px;height:90px}.crown-copy h2{font-size:15px}.crown-copy p{font-size:11px}}@media(max-width:1024px){.sidebar,.topbar{display:none}.main-shell{margin-left:0}.mobile-brand{display:flex}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#ffffffed;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #e5e9f0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:30}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;min-height:51px;border:0;background:none;color:#a0a9b8;font-size:9px;border-radius:9px}.mobile-nav button.selected{color:#526b9c;background:#edf2f9}main{padding-bottom:110px}.toast{left:50%;bottom:90px}.page-habits main{padding:21px 20px 110px;max-width:640px}.main-shell .crown-brand{padding-bottom:21px}.crown-brand b{font-size:23px}.page-habits .mobile-brand{display:flex}}@media(max-width:420px){.page-habits main{padding:20px 15px 105px}.crown-brand b{font-size:21px}.crown-local{font-size:8px}.jewel-card{padding:16px 12px 2px;border-radius:13px}.jewel-grid,.jewel-weekdays{gap:5px}.jewel-tile{border-radius:7px}.jewel-card-heading{gap:8px;margin-bottom:15px}.jewel-card-heading h2{font-size:14px}.jewel-card-heading .icon-button{min-width:29px}.jewel-card-heading p{font-size:8px}.jewel-card-footer p>span{font-size:8px;margin-left:7px}.jewel-section-head h1{font-size:18px}.jewel-section-head .primary{font-size:10px;padding:9px 10px}.monthly-crown{padding:10px 5px 10px 3px;gap:1px}.monthly-crown>.crown-art{width:94px;height:75px}.crown-copy p{font-size:9px}.crown-copy h2{font-size:12px}.crown-eyebrow{font-size:7px}.crown-actions .icon-button{min-width:32px;min-height:35px}.jewel-month{gap:8px;margin-bottom:18px}.jewel-month>label{min-width:128px}.gesture-hint strong{font-size:9px}.gesture-hint p span{font-size:8px}.gesture-hint>svg{width:15px}.jewel-calendars{gap:20px}}@media(max-width:350px){.crown-local{display:none}.jewel-card{padding:14px 9px 2px}.jewel-grid{gap:4px}.jewel-day{font-size:18px}.jewel-value{font-size:11px}.jewel-section-head .eyebrow{font-size:7px;letter-spacing:.06em}.jewel-section-head h1{font-size:16px}.jewel-section-head .primary{padding:8px;font-size:9px;gap:4px}.crown-art{width:80px!important}.crown-copy h2{font-size:11px}.crown-copy h2>span{font-size:8px}.crown-copy p{font-size:8px}.jewel-month>label{min-width:110px}.jewel-card-heading p{font-size:7px}.jewel-card-heading .icon-button{min-width:25px}.gem-emblem{width:19px;height:23px}.gesture-hint{padding-left:9px;gap:6px}.gesture-hint p span{font-size:7px}.gesture-hint strong{font-size:8px}}@media(prefers-reduced-motion:reduce){.jewel-sparkle,.monthly-crown.crown-growth:after{display:none!important;animation:none!important}.jewel-tile{transition:none}}.toast{pointer-events:none}.jewel-tile:disabled{opacity:1;color:#9ba7ba}.jewel-tile.recorded:disabled{color:#fff}
