:root{--hp-canvas:#f4f1ea;--hp-paper:#fcfaf6;--hp-ink:#23323d;--hp-muted:#6c777c;--hp-navy:#173341;--hp-green:#28654f;--hp-sage:#dce9e1;--hp-line:#ded9cf;--hp-clay:#b86d52;--hp-blue:#0b6cae;--hp-blue-bg:#dceeff;--hp-red:#bb493d;--hp-red-bg:#f7e1dc;--hp-gold:#a97813;--hp-gold-bg:#fff2c9;--hp-shadow:0 16px 40px rgba(33,51,61,.08);--hp-radius:22px}.hearthplan-page,.hearthplan-page article{margin:0!important;padding:0!important;max-width:none!important;background:transparent!important}.hearthplan-root{min-height:100vh;background:var(--hp-canvas);color:var(--hp-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}.hearthplan-root *{box-sizing:border-box}.hearthplan-root h1,.hearthplan-root h2,.hearthplan-root h3{margin:0;font-family:Georgia,"Times New Roman",serif;line-height:1.08}.hearthplan-root button,.hearthplan-root input,.hearthplan-root select,.hearthplan-root textarea{font:inherit}.hearthplan-root button{cursor:pointer}.hearthplan-loading{display:grid;place-items:center;min-height:70vh;text-align:center;color:var(--hp-muted)}.hearthplan-spinner{width:32px;height:32px;border:3px solid var(--hp-line);border-top-color:var(--hp-green);border-radius:50%;animation:hp-spin .8s linear infinite}@keyframes hp-spin{to{transform:rotate(360deg)}}.hearthplan-login{max-width:620px;margin:80px auto;padding:42px;border-radius:var(--hp-radius);background:var(--hp-paper);box-shadow:var(--hp-shadow);text-align:center}.hearthplan-login h2{font-family:Georgia,serif;font-size:2rem}.hearthplan-login-button,.hp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:14px;background:var(--hp-green);color:white!important;text-decoration:none;font-weight:750;transition:transform .15s ease,background .15s ease}.hp-btn:active{transform:scale(.97)}.hp-btn:hover{background:#1f5744}.hp-btn.secondary{border-color:var(--hp-line);background:var(--hp-paper);color:var(--hp-ink)!important}.hp-btn.danger{background:#a8493f}.hp-btn.ghost{background:transparent;color:var(--hp-ink)!important}.hp-btn.small{min-height:36px;padding:0 12px;border-radius:11px;font-size:.84rem}.hp-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.hp-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 14px;background:var(--hp-navy);color:white}.hp-brand{display:flex;align-items:center;gap:11px;padding:0 10px 24px;font:700 1.35rem Georgia,serif}.hp-brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.3);border-radius:9px}.hp-nav{display:grid;gap:6px}.hp-nav button{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:0 14px;border:0;border-radius:14px;background:transparent;color:#e8eeee;text-align:left}.hp-nav button:hover,.hp-nav button.active{background:#264c57;color:white}.hp-sidebar-user{margin-top:auto;padding:14px 11px;border-top:1px solid rgba(255,255,255,.12);font-size:.84rem}.hp-sidebar-user strong,.hp-sidebar-user span{display:block}.hp-sidebar-user span{margin-top:3px;color:#90a3aa;overflow-wrap:anywhere}.hp-mobilebar{display:none}.hp-main{min-width:0;padding:30px clamp(16px,3vw,42px) 60px}.hp-page{max-width:1240px;margin:0 auto}.hp-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.hp-eyebrow{margin:0 0 6px;color:#63737a;font-size:.71rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.hp-header h1{font-size:clamp(2rem,4vw,3rem)}.hp-header p{max-width:720px;margin:10px 0 0;color:var(--hp-muted)}.hp-header-actions{display:flex;align-items:center;gap:10px}.hp-card{border:1px solid rgba(222,217,207,.9);border-radius:var(--hp-radius);background:var(--hp-paper);box-shadow:var(--hp-shadow)}.hp-pad{padding:22px}.hp-grid{display:grid;gap:16px}.hp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-hero{display:grid;grid-template-columns:1fr auto;gap:24px;padding:32px;background:var(--hp-green);color:white}.hp-hero h2{max-width:700px;font-size:clamp(2rem,4vw,3.2rem)}.hp-hero p{color:rgba(255,255,255,.72)}.hp-stat{min-width:104px;padding:16px;border-radius:18px;background:rgba(255,255,255,.12);text-align:center}.hp-stat strong{display:block;font:2rem Georgia,serif}.hp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hp-section-head h2{font-size:1.55rem}.hp-empty{display:grid;place-items:center;min-height:180px;padding:28px;text-align:center;color:var(--hp-muted)}.hp-list{display:grid;gap:10px}.hp-item{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--hp-line);border-radius:16px;background:#fffefa}.hp-item-main{min-width:0;flex:1}.hp-item h3{font:750 1rem Inter,system-ui,sans-serif}.hp-item p{margin:5px 0 0;color:var(--hp-muted);font-size:.9rem;white-space:pre-wrap}.hp-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.hp-badge{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:8px;background:#eef2ee;color:#53645d;font-size:.73rem;font-weight:800}.hp-badge.blue{background:var(--hp-blue-bg);color:var(--hp-blue)}.hp-badge.red{background:var(--hp-red-bg);color:var(--hp-red)}.hp-badge.gold{background:var(--hp-gold-bg);color:var(--hp-gold)}.hp-badge.clay{background:#f4e6e1;color:#99543f}.hp-toolbar{display:grid;gap:12px;margin-bottom:16px;padding:16px}.hp-period{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}.hp-period button{min-height:44px;border:1px solid var(--hp-line);border-radius:14px;background:#fffefa;color:var(--hp-ink);font-weight:750}.hp-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:4px;border-radius:15px;background:#ece9e2}.hp-tabs button{min-height:38px;border:0;border-radius:12px;background:transparent;color:var(--hp-ink)}.hp-tabs button.active{background:var(--hp-green);color:white}.hp-filters{display:flex;flex-wrap:wrap;gap:8px}.hp-filter{min-height:40px;padding:0 13px;border:1px solid var(--hp-line);border-radius:13px;background:#fffefa;color:var(--hp-ink)}.hp-filter.blue{border-color:#9fc9e4;color:var(--hp-blue)}.hp-filter.red{border-color:#e6b2aa;color:var(--hp-red)}.hp-filter.gold{border-color:#ead48e;color:var(--hp-gold)}.hp-calendar-shell{overflow:hidden}.hp-weekdays,.hp-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hp-weekdays{border-bottom:1px solid var(--hp-line);color:#65747a;font-size:.67rem;font-weight:850;text-align:center;text-transform:uppercase}.hp-weekdays span{padding:11px 4px}.hp-daycell{position:relative;min-height:118px;padding:9px;border:0;border-right:1px solid var(--hp-line);border-bottom:1px solid var(--hp-line);background:transparent;color:inherit;text-align:left;overflow:hidden}.hp-daycell:nth-child(7n){border-right:0}.hp-daycell.outside{opacity:.42}.hp-daycell.selected{box-shadow:inset 0 0 0 2px #8eb7a6;background:#f1f7f2}.hp-daynum{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;font-weight:800}.hp-dayitems{display:grid;gap:3px;margin-top:7px}.hp-chip{display:block;max-width:100%;padding:3px 5px;border:1px solid var(--hp-line);border-radius:6px;background:white;color:var(--hp-ink);font-size:.62rem;font-weight:750;line-height:1.15;white-space:normal;overflow:hidden}.hp-chip.event{border-left:3px solid var(--hp-green)}.hp-chip.task{border-color:#d99a83;background:#fff2ed;color:#984d37}.hp-chip.reminder{border-color:#9cbcae;background:#eef7f2;color:#2d6550}.hp-chip.us{border-color:#70b4df;background:var(--hp-blue-bg);color:#075b93}.hp-chip.cn{border-color:#df9b91;background:var(--hp-red-bg);color:#a23b32}.hp-chip.cnfestival{border-color:#dfc26b;background:var(--hp-gold-bg);color:#86600e}.hp-more{color:var(--hp-muted);font-size:.62rem;font-weight:800}.hp-month-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px}.hp-day-agenda{padding:20px;border-left:1px solid var(--hp-line)}.hp-day-agenda h2{font-size:1.7rem}.hp-week-scroll{overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.hp-week{display:grid;grid-template-columns:repeat(7,250px);gap:10px;min-width:max-content}.hp-week-day{min-height:420px;padding:14px;scroll-snap-align:start}.hp-week-day.today{box-shadow:inset 0 0 0 2px #8eb7a6}.hp-week-date{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.hp-week-date strong{font:1.2rem Georgia,serif}.hp-year{display:grid;gap:22px}.hp-year-section{overflow:hidden}.hp-year-title{display:flex;justify-content:space-between;padding:18px 20px;background:var(--hp-green);color:white}.hp-year-title h2{font-size:2rem}.hp-mini-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.hp-mini-month{overflow:hidden;border:1px solid var(--hp-line);border-radius:16px;background:#fffefa}.hp-mini-head{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px;border:0;border-bottom:1px solid var(--hp-line);background:transparent;color:var(--hp-ink);text-align:left}.hp-mini-head strong{font:1.35rem Georgia,serif}.hp-mini-week,.hp-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hp-mini-week span{padding:7px 2px;color:#68767b;font-size:.58rem;font-weight:850;text-align:center}.hp-mini-cell{min-height:80px;padding:5px;border:0;border-top:1px solid var(--hp-line);border-right:1px solid var(--hp-line);background:transparent;text-align:left;overflow:hidden}.hp-mini-cell:nth-child(7n){border-right:0}.hp-mini-cell.outside{opacity:.38}.hp-mini-num{font-size:.64rem;font-weight:850}.hp-mini-cell .hp-chip{margin-top:3px;font-size:.53rem}.hp-onboarding{display:grid;grid-template-columns:1.05fr .95fr;max-width:980px;margin:48px auto;overflow:hidden}.hp-onboarding-copy{padding:46px;background:var(--hp-green);color:white}.hp-onboarding-copy h1{font-size:clamp(2.4rem,5vw,4rem)}.hp-onboarding-copy p{color:rgba(255,255,255,.76)}.hp-onboarding-form{padding:36px}.hp-form{display:grid;gap:14px}.hp-field{display:grid;gap:6px}.hp-field label{font-size:.78rem;font-weight:850}.hp-field input,.hp-field select,.hp-field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--hp-line);border-radius:12px;background:white;color:var(--hp-ink)}.hp-field textarea{min-height:110px;resize:vertical}.hp-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hp-segment{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:4px;border-radius:13px;background:#ece9e2}.hp-segment button{min-height:38px;border:0;border-radius:10px;background:transparent}.hp-segment button.active{background:white;box-shadow:0 4px 12px rgba(0,0,0,.07)}.hp-dialog{width:min(620px,calc(100vw - 28px));max-height:88vh;padding:0;border:0;border-radius:22px;background:var(--hp-paper);color:var(--hp-ink);box-shadow:0 28px 90px rgba(17,37,48,.35)}.hp-dialog::backdrop{background:rgba(12,30,39,.55);backdrop-filter:blur(4px)}.hp-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--hp-line)}.hp-dialog-head h2{font-size:1.6rem}.hp-dialog-body{max-height:calc(88vh - 75px);overflow:auto;padding:22px}.hp-dialog-close{width:42px;height:42px;border:1px solid var(--hp-line);border-radius:50%;background:white}.hp-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.hp-task-check{width:26px;height:26px;border:2px solid #9ab0a6;border-radius:8px;background:white}.hp-task-check.done{background:var(--hp-green);color:white}.hp-note{border-top:5px solid #d4b77b}.hp-toast{position:fixed;right:20px;bottom:20px;z-index:999999;max-width:360px;padding:14px 18px;border-radius:14px;background:var(--hp-navy);color:white;box-shadow:var(--hp-shadow)}.hp-error{border:1px solid #e5aaa1;border-radius:12px;background:#fff0ed;color:#8d3028;padding:12px}.hp-code{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px dashed #a8b7ad;border-radius:12px;background:#f2f7f3;font-family:ui-monospace,monospace;font-weight:800}.hp-install{border:1px solid #b8d1c4;background:#eef6f1}.hp-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:currentColor}.hp-hidden{display:none!important}@media(max-width:1023px){.hp-shell{display:block}.hp-sidebar{display:none}.hp-mobilebar{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 14px;border-bottom:1px solid var(--hp-line);background:rgba(244,241,234,.94);backdrop-filter:blur(14px)}.hp-mobilebar strong{font-family:Georgia,serif}.hp-mobilebar button{width:42px;height:42px;border:1px solid var(--hp-line);border-radius:12px;background:white}.hp-main{padding-top:22px}.hp-mobile-nav{position:fixed;inset:56px 0 0;z-index:90;display:none;padding:18px;background:var(--hp-navy)}.hp-mobile-nav.open{display:block}.hp-mobile-nav button{display:block;width:100%;min-height:50px;margin-bottom:7px;padding:0 16px;border:0;border-radius:13px;background:transparent;color:white;text-align:left}.hp-mobile-nav button.active{background:#264c57}.hp-month-layout{grid-template-columns:1fr}.hp-day-agenda{border-top:1px solid var(--hp-line);border-left:0}.hp-week{grid-template-columns:repeat(7,240px)}}@media(max-width:720px){.hp-main{padding:16px 12px 48px}.hp-header{display:block}.hp-header-actions{margin-top:14px}.hp-grid.two,.hp-grid.three,.hp-form-row,.hp-onboarding{grid-template-columns:1fr}.hp-onboarding{margin:16px auto}.hp-onboarding-copy,.hp-onboarding-form{padding:28px 22px}.hp-hero{grid-template-columns:1fr}.hp-period{grid-template-columns:1fr 1fr}.hp-period button:nth-child(2){grid-column:1/-1;grid-row:2}.hp-daycell{min-height:80px;padding:5px}.hp-dayitems .hp-chip{height:7px;padding:0;border:0;border-radius:999px;color:transparent}.hp-dayitems{display:flex;gap:3px}.hp-dayitems .hp-chip.us{background:var(--hp-blue)}.hp-dayitems .hp-chip.cn{background:var(--hp-red)}.hp-dayitems .hp-chip.cnfestival{background:var(--hp-gold)}.hp-dayitems .hp-chip.task{background:var(--hp-clay)}.hp-dayitems .hp-chip.event{background:var(--hp-green)}.hp-more{font-size:.55rem}.hp-mini-months{grid-template-columns:1fr;padding:8px}.hp-mini-cell{min-height:74px}.hp-mini-cell .hp-chip{font-size:.5rem}.hp-card.hp-pad{padding:17px}.hp-actions{flex-wrap:wrap}.hp-actions .hp-btn{flex:1}.hp-header h1{font-size:2.25rem}}
