/* Page 2 only. No business state, API or other page styles. */
body.planning-mode:not(.result-mode):has(#planner:not([hidden])){background:#f4efeb;color:#34234f;font-family:LunaPageOne,"Songti SC",serif}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .app{position:relative;isolation:isolate;max-width:760px;min-height:100vh;padding:22px 16px 24px;background:#fffdf9;box-shadow:0 0 40px #6c547a0a}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .app:before{content:'';position:absolute;inset:0 0 auto;height:clamp(135px,33vw,245px);z-index:-1;pointer-events:none;background:url('./assets/lunawish-page1-assets/page-top-stars-v2.webp') right -35px/100% auto no-repeat;opacity:.22;mask-image:linear-gradient(#000 20%,transparent 95%)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .header{display:none!important}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .steps{position:relative;display:flex;gap:9px;padding:0;margin:0 0 12px;border-bottom:1px solid #dfc7a6;background:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step{position:relative;display:flex;justify-content:center;align-items:center;gap:6px;padding:8px 0;min-width:0;min-height:43px;background:none;font-size:14px;line-height:1.5;color:#67518d;border-bottom:3px solid transparent}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step span{display:inline;width:auto;height:auto;margin:0;background:none;color:inherit;font-family:Georgia,serif;font-style:italic;font-size:19px;font-weight:400}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step[aria-selected=true]{color:#4c245a;font-weight:700;background:none;border-color:#c19b62}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step:not(:last-child):after{content:'✦';position:absolute;right:-7px;color:#c5a277;font-size:10px;font-weight:400}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) #catalog-selector{margin:0;min-height:24px;gap:0;font-size:11px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) #catalog-refresh{min-height:30px;font-size:11px;padding:3px 8px;color:#67518d;border-radius:16px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) #catalog-status{margin:3px 0 8px;font-size:12px;line-height:1.6;color:#67518d}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) #pools{position:relative;z-index:1}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section{padding:0;margin:0 0 25px;border:0;background:none;box-shadow:none;border-radius:0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading{display:flex;align-items:center;gap:9px;min-height:44px;margin:0 0 10px;padding:0;list-style:none;cursor:pointer}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading::-webkit-details-marker{display:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading h2{display:flex;align-items:center;gap:5px;margin:0;flex:none;font-size:23px;line-height:1.3;font-weight:700;color:#34234f}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon{display:block;width:31px;height:35px;flex:none;background-position:center;background-size:contain;background-repeat:no-repeat}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon-official{background-image:url('./assets/lunawish-page2-assets/icon-official-pool.webp')}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon-predicted{background-image:url('./assets/lunawish-page2-assets/icon-prediction-pool.webp')}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon-custom{background-image:url('./assets/lunawish-page2-assets/icon-custom-pool.webp')}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-line{height:1px;flex:1;min-width:4px;background:linear-gradient(90deg,#d8b77c,transparent)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading>small{display:flex;align-items:center;justify-content:center;gap:10px;flex:none;border:1px solid #e8d8be;border-radius:30px;min-height:30px;padding:4px 11px;font-size:12px;font-weight:400;color:#a47b50;background:#fffdf9b3;white-space:nowrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-chevron{width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);transition:transform .2s}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section[open]>.pool-section-heading .section-chevron{transform:rotate(225deg)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card{position:relative;isolation:isolate;display:block;margin:10px 0;padding:12px 12px 8px 31%;min-height:126px;border:1px solid #e6dde6;border-radius:16px;overflow:hidden;background:#fffdf9;color:#34234f;box-shadow:0 3px 10px #806e870b;transition:color .2s,border-color .2s,box-shadow .2s}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:url('./assets/lunawish-page2-assets/pool-card-default.webp') 22% center/auto 166% no-repeat}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 22%,#fffdf99c 36%,#fffdf9b3 78%,#fffdf944)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card.is-selected{border-color:#d8b77c;background:#271834;color:#fff6e7;box-shadow:0 0 0 1px #e8d8be88,0 3px 8px #806b8b15}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card.is-selected:before{background-image:url('./assets/lunawish-page2-assets/pool-card-selected.webp')}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card.is-selected:after{background:linear-gradient(90deg,transparent 22%,#28163466 36%,#28163466 78%,transparent)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-check{position:absolute;left:12px;top:12px;margin:0;width:29px;height:29px;min-height:29px;border:2px solid #967b9f;border-radius:6px;background:#fffefa;color:#fff6e7;font-size:23px;line-height:25px;padding:0;box-shadow:0 0 0 3px #ffffff44}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .is-selected .pool-check{border-color:#eed9b5;background:#4b285e;box-shadow:0 0 5px #e2b67b66}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-content{min-width:0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-heading{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-heading h3{margin:0;max-width:100%;font-size:19px;line-height:1.4;font-weight:700;color:inherit;overflow-wrap:anywhere}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .type-chip{display:inline-block;max-width:100%;padding:2px 7px;border:1px solid #d8c4c6;border-radius:20px;font-size:10px;line-height:1.4;color:#67518d;background:#ffffff88}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .is-selected .type-chip{color:#fff0de;border-color:#d8b77c88;background:#b18a6844}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .source-chip{margin-top:5px;padding:2px 8px;background:#ece5f0;color:#67518d;font-size:10px;line-height:1.6}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .is-selected .source-chip{background:#ffffff22;color:#fff6e7}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-dates{display:flex;align-items:baseline;gap:6px;margin:8px 0;color:inherit;font-size:12px;line-height:1.6;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .date-symbol{font-family:Arial,sans-serif;font-size:16px;flex:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-controls{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:wrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .count-label{font-size:12px;white-space:nowrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter{display:flex;align-items:center;gap:3px;flex:none;border:1px solid #dac5ce;border-radius:24px;background:#fffaf5;color:#34234f}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter button{display:grid;place-items:center;padding:0;border:0;width:32px;min-height:32px;border-radius:50%;font-size:23px;background:transparent;color:inherit}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter button:disabled{opacity:.48}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter output{font:20px Georgia,serif;min-width:18px;text-align:center}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .is-selected .target-counter button{background:#4b2f60;color:#fff5e6}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .join-button{margin-left:auto;min-height:34px;max-width:100%;padding:5px 9px;border:1px solid #d5bccd;border-radius:30px;background:#fffdf9;color:#34234f;font-size:11px;line-height:1.6;white-space:normal}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .is-selected .join-button{background:#fff3de;border-color:#e3c69e;color:#68334e}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .goal-summary{font-size:12px;color:inherit;line-height:1.7;min-height:36px;flex:1 1 140px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools{align-items:flex-start;margin-top:5px;gap:8px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools .text-button{font-size:10px;opacity:1;color:inherit;min-height:32px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .order-options{font-size:10px;color:inherit;background:transparent}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .order-options[open]{padding:5px 0;max-width:110px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .order-options summary{font-size:10px;min-height:32px;line-height:32px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-update{color:inherit;font-size:11px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .empty-pools{margin:0;padding:12px 14px;color:#81758d;font-size:12px;line-height:1.6;border:1px solid #eee7ed;border-radius:12px;background:#fffdfa88}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry{position:relative;isolation:isolate;overflow:hidden;display:flex;gap:10px;width:100%;min-height:83px;padding:16px 12px;border:1px dashed #d8b77c;border-radius:16px;background:#fffdf9;color:#34234f}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./assets/lunawish-page2-assets/pool-card-custom.webp') center/103% auto no-repeat;opacity:.3}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry>span:first-child{display:grid;place-items:center;width:44px;height:44px;line-height:1;font-size:34px;border:1px solid #b49bc2;background:#fffdf9cc;border-radius:50%}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry>span:nth-child(2){min-width:0;flex:1}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry strong{font-size:16px;line-height:1.5;font-weight:700}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry small{font-size:10px;line-height:1.6;color:#81758d;margin-top:4px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry b{flex:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid #e8d8be;border-radius:50%;font-size:23px;background:#fffdf9aa}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions{position:relative;isolation:isolate;bottom:auto;z-index:1;display:flex;align-items:center;gap:14px;margin:68px -16px 0;padding:16px;background:#fffdf9;border-radius:24px 24px 0 0;backdrop-filter:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions:before{content:'';position:absolute;inset:-78px 0 auto;height:95px;opacity:.65;z-index:-1;pointer-events:none;background:url('./assets/lunawish-page2-assets/page2-footer-background.webp') center bottom/100% auto no-repeat;mask-image:linear-gradient(transparent,#000 25%)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.text-button{flex:1;min-width:0;padding:10px 0;color:#34234f;font-size:15px;letter-spacing:0;white-space:nowrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:12px;flex:1.2;min-width:0;min-height:46px;padding:8px 12px;font-size:19px;letter-spacing:1px;line-height:1.4;overflow:hidden;border:1px solid #d8b77c!important;outline:1px solid #e8d8be;outline-offset:2px;border-radius:40px!important;color:#fff5e6!important;background:#352040!important;box-shadow:0 2px 6px #53365822,inset 0 0 0 2px #d8b77c44!important}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./assets/lunawish-page2-assets/pool-card-selected.webp') 80% 50%/auto 430% no-repeat;opacity:.65}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .page2-button-arrow{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #dfc8a6;border-radius:50%;font:19px Georgia,serif}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-editor{background:#fffdf9;border-color:#e8d8be;border-radius:16px;min-width:0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-editor-heading{gap:8px;flex-wrap:wrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-editor-heading h2{font-size:20px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-editor .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-editor input{max-width:100%}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer{background:none;border:0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) button:focus-visible{outline:2px solid #a478bb;outline-offset:3px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) summary:focus-visible{outline:2px solid #a478bb;outline-offset:3px}
@media(min-width:700px){
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .app{padding:30px 35px;max-width:760px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .app:before{background-position:right -55px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step{font-size:20px;min-height:55px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step span{font-size:25px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .steps{gap:20px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step:not(:last-child):after{right:-12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section{margin-bottom:34px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading{margin-bottom:14px;gap:14px;min-height:54px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading h2{font-size:30px;gap:10px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon{width:43px;height:43px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading>small{font-size:16px;padding:7px 19px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card{padding:23px 22px 12px 33%;min-height:178px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-heading h3{font-size:25px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .type-chip{font-size:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-dates{font-size:15px;margin:10px 0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .count-label{font-size:14px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter button{width:38px;min-height:38px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .target-counter output{font-size:24px;min-width:24px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-controls{gap:9px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .join-button{font-size:14px;min-height:40px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-check{left:18px;top:18px;width:35px;height:35px;line-height:31px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools .text-button{font-size:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .order-options summary{font-size:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .goal-summary{font-size:15px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry{padding:24px;gap:24px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry strong{font-size:23px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry small{font-size:14px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry>span:first-child{width:65px;height:65px;font-size:44px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions{margin:90px -35px 0;padding:20px 35px;gap:24px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions:before{top:-112px;height:132px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.text-button{font-size:22px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary{min-height:58px;font-size:26px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .page2-button-arrow{width:31px;height:31px;font-size:23px}
}
@media(max-width:389px){
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .app{padding-left:12px;padding-right:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .steps{gap:7px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .step{font-size:13px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading{gap:6px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading h2{font-size:21px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .section-icon{width:29px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .pool-section-heading>small{padding:4px 9px;font-size:11px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-card{padding-left:29%;padding-right:10px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-heading h3{font-size:17px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-dates{font-size:10px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.text-button{font-size:14px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary{font-size:18px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .custom-entry strong{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) *{transition:none!important;animation:none!important}
}
body.planning-mode.pool-edit-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions{display:none}

/* Round 2: title restored, actual embedded font, restrained asset use. */
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) h2{font-family:LunaPageOne,"Noto Serif SC",serif;font-weight:700}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) h3{font-family:LunaPageOne,"Noto Serif SC",serif}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) button{font-family:LunaPageOne,"Microsoft YaHei",sans-serif}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .header{display:flex!important;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:6px;padding:3px 5px 15px;min-height:62px;border:0;background:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .header:after{content:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .brand-name{font-family:LunaPageOne,serif;color:#511564;font-size:24px;line-height:1.4;letter-spacing:1px;font-weight:700}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .brand-sub{font-family:LunaPageOne,serif;color:#8d7b9b;font-size:6px;letter-spacing:2px;margin-top:4px;white-space:nowrap}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .settings-menu{position:relative;z-index:10;flex:none;font-size:11px;color:#594464}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .settings-menu>summary{padding:7px 0;min-height:38px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .settings-content{font-family:Arial,"Microsoft YaHei",sans-serif;background:#fffdf9}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-heading h3{font-weight:700;letter-spacing:.01em}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-dates{font-family:Georgia,LunaPageOne,serif}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .type-chip{font-family:"Microsoft YaHei",sans-serif;font-size:11px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools{flex-wrap:wrap;column-gap:12px;row-gap:0}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools .text-button{font-size:11px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .choice-tools .order-options{margin-left:auto}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .history-delete{text-decoration:underline;text-underline-offset:3px;color:inherit;font-size:12px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .history-local-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid #e8d8be;font:12px/1.6 "Microsoft YaHei",sans-serif;color:#67518d}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer{position:relative;isolation:isolate;padding:26px 8px 12px;min-height:98px;background:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer:before{content:'';position:absolute;inset:-4px -16px -24px;z-index:-1;pointer-events:none;background:url('./assets/lunawish-page2-assets/page2-footer-background.webp') center bottom/100% auto no-repeat;opacity:.55;mask-image:linear-gradient(transparent,#000 35%)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer>p{font-family:LunaPageOne,serif;font-size:13px;color:#67518d;letter-spacing:2px}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary{padding:0;min-height:44px;aspect-ratio:4.24;flex:1.2;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;font-size:0;color:transparent!important;overflow:hidden;border-radius:999px!important}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary:before{inset:auto 0;top:50%;aspect-ratio:4.24;transform:translateY(-50%);opacity:1;background:url('./assets/lunawish-page2-assets/button-start-prediction.webp') 50% 49.4%/123% auto no-repeat;clip-path:inset(0 round 999px)}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary .page2-button-arrow{display:none}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary:focus-visible{outline:2px solid #a478bb;outline-offset:3px}
@media(min-width:700px){body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .brand-name{font-size:32px}body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .brand-sub{font-size:8px;letter-spacing:2.5px}body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .header{min-height:84px;padding-bottom:21px}body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer:before{left:-35px;right:-35px}body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .list-actions>.primary{font-size:0;min-height:58px}}
body.planning-mode.pool-edit-mode:not(.result-mode):has(#planner:not([hidden])) .header{display:none!important}
/* Personal snapshots stay separate from the CMS catalog. */
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .saved-plans{margin:18px 0;padding:12px;border:1px solid #e8d8be;border-radius:12px;background:#fffdf9}
body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .saved-plans>summary{cursor:pointer;color:#67518d;font-size:13px;line-height:1.7}


@media(max-width:389px){body.planning-mode:not(.result-mode):has(#planner:not([hidden])) .footer:before{left:-12px;right:-12px}}
