*{box-sizing:border-box}body{margin:0;background:#f3f6f8;color:#24343e;font:16px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit}header,main,footer{max-width:1060px;margin:auto;padding:26px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d8dfe3}.brand{font-size:23px;font-weight:750;text-decoration:none;display:flex;align-items:center;gap:12px}.brand img{width:42px;height:42px;border-radius:12px}.tag{font-size:12px;letter-spacing:.14em;color:#60707b}.hero{padding:42px 0 34px;max-width:760px}h1{font-size:clamp(32px,5vw,56px);line-height:1.24;letter-spacing:-.03em;margin:14px 0 20px}h2{font-size:22px;margin:12px 0}p{color:#5e6970}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{padding:30px;background:white;border:1px solid #dce2e6;border-radius:22px}.card.primary{background:#314b5c;color:white}.card.primary p{color:#dce5eb}.eyebrow{font-size:12px;letter-spacing:.16em}.button{display:inline-block;border-radius:12px;padding:11px 20px;background:#bfd9ea;color:#24343e;font-weight:650;text-decoration:none;margin-top:12px}.secondary{background:#e8edf1}.small{font-size:13px}.steps{padding-left:22px}code{background:#e9eef1;padding:3px 7px;border-radius:5px;font-size:.88em;word-break:break-all}.note{background:#e6edf1;border-left:3px solid #637785;padding:18px 22px;border-radius:0 12px 12px 0;margin:24px 0}.plain{max-width:800px}footer{font-size:13px;color:#717a80}footer a{margin-right:18px}@media(max-width:680px){header,main,footer{padding:20px}.grid{grid-template-columns:1fr}.hero{padding:24px 0}.card{padding:23px}}
body{color:var(--ink)}
/* Qingbu Sunlight Motion v1. Sky stays blue; light moves like a sheer curtain.
   Static by default. Motion requires both an enabled control and system consent.
   Only transform/opacity move; all light is noninteractive and behind content. */
body:has(#sunlight-motion){isolation:isolate}
.sunlight-air{
 position:fixed;inset:-6% -6% -6% -6%;z-index:-1;pointer-events:none;
 transform-origin:100% 0%;opacity:.58;
 background:radial-gradient(ellipse at 96% 2%,#fff3d1a6 0%,#fff9e84d 15%,transparent 37%),linear-gradient(126deg,transparent 39%,#fffdf794 44%,#fff6de61 47%,transparent 53%,transparent 63%,#fffef68a 66%,transparent 73%);
 -webkit-mask-image:linear-gradient(#000, #0009 65%,transparent);mask-image:linear-gradient(#000,#0009 65%,transparent);
}
body:has(#sunlight-motion) #walk-card:before{
 transform:translate3d(-2%,0,0) skewX(-11deg);transform-origin:100% 0%;opacity:.64;
}
body:has(#sunlight-motion) #walk-card:after{
 inset:-14% -19%;opacity:.68;transform-origin:100% 0%;transform:translate3d(-3%,1%,0) rotate(-2deg);
 background:radial-gradient(ellipse at 94% 5%,#fff0c5c4 0%,#fff6df47 19%,transparent 34%),linear-gradient(132deg,transparent 27%,#fffdf5c9 32%,#fff1cb73 35%,transparent 41%,transparent 49%,#fffdf2b8 54%,#ffe6ae52 57%,transparent 63%,transparent 73%,#fffaf491 77%,transparent 83%);
}
/* Portals and the browser companion share the same understated incoming light. */
body:has(#sunlight-motion) :is(.card.primary,.timer-card){position:relative;isolation:isolate;overflow:hidden}
body:has(#sunlight-motion) :is(.card.primary,.timer-card):after{
 content:"";position:absolute;inset:-14% -19%;z-index:-1;pointer-events:none;opacity:.68;transform-origin:100% 0%;
 background:radial-gradient(ellipse at 94% 5%,#fff0c5ad,transparent 30%),linear-gradient(132deg,transparent 29%,#fffdf5bf 35%,#fff1cb66 38%,transparent 44%,transparent 58%,#fffdf2a6 64%,transparent 71%);
}
.sunlight-control{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;position:relative;
 min-height:36px;padding:5px 9px;border:1px solid #acd1ee;border-radius:20px;
 background:#eff9ffe6;color:#285f87;font:500 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 white-space:nowrap;cursor:pointer;flex:0 0 auto;box-sizing:border-box;
}
.sunlight-control input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0;border:0}
.sunlight-control:has(input:focus-visible){outline:3px solid #2479b8;outline-offset:3px}
.sunlight-control:hover{background:#fafdff;border-color:#6ea9d3}
.sunlight-switch{display:block;width:27px;height:16px;border-radius:12px;background:#b8cfe1;position:relative;flex:0 0 auto}
.sunlight-switch:before{content:"";position:absolute;width:10px;height:10px;top:3px;left:3px;background:#fff;border-radius:50%}
.sunlight-control input:checked+.sunlight-switch{background:#2479b8}
.sunlight-control input:checked+.sunlight-switch:before{transform:translateX(11px)}
.sunlight-static-note{display:none;color:#456781;font-size:11px;white-space:nowrap}
/* Paused is also the safe fallback for browsers without :has(). No runtime timer. */
@keyframes qingbu-sun-rays{
 0%,100%{transform:translate3d(-3%,1%,0) rotate(-2deg);opacity:.52}
 50%{transform:translate3d(4%,-2%,0) rotate(1deg);opacity:.88}
}
@keyframes qingbu-sheer-drift{
 0%,100%{transform:translate3d(-2%,0,0) skewX(-11deg);opacity:.56}
 50%{transform:translate3d(5%,1%,0) skewX(-8deg);opacity:.78}
}
@keyframes qingbu-air-light{
 0%,100%{transform:translate3d(-1%,0,0);opacity:.40}
 50%{transform:translate3d(2%,1%,0);opacity:.68}
}
@media(prefers-reduced-motion:no-preference){
 body:has(#sunlight-motion) #walk-card:before{animation:qingbu-sheer-drift 28s ease-in-out infinite;animation-play-state:paused}
 body:has(#sunlight-motion) #walk-card:after,
 body:has(#sunlight-motion) :is(.card.primary,.timer-card):after{animation:qingbu-sun-rays 24s ease-in-out infinite;animation-play-state:paused}
 body:has(#sunlight-motion) .sunlight-air{animation:qingbu-air-light 36s ease-in-out infinite;animation-play-state:paused}
 body:has(#sunlight-motion:checked) #walk-card:before,
 body:has(#sunlight-motion:checked) #walk-card:after,
 body:has(#sunlight-motion:checked) :is(.card.primary,.timer-card):after,
 body:has(#sunlight-motion:checked) .sunlight-air{animation-play-state:running}
 /* Keep the view still while a form, confirmation or help dialog is open. */
 body:has(#sunlight-motion):has(dialog[open]) #walk-card:before,body:has(#sunlight-motion):has(dialog[open]) #walk-card:after,
 body:has(#sunlight-motion):has(dialog[open]) .sunlight-air{animation-play-state:paused}
}
@media(max-width:650px){
 .top-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}
 .topbar{min-height:64px;height:auto;padding-top:8px;padding-bottom:8px;gap:8px}
 .sunlight-control{min-height:36px;padding:5px 7px;gap:5px}
 .sunlight-label{font-size:11px}
 .sunlight-air{opacity:.4}
 body:has(#sunlight-motion) #walk-card:after{inset:-10% -18%}
}
@media(max-width:440px){
 .top-actions .sunlight-label{display:none}
 .top-actions .sunlight-control{min-width:44px}
 body>header{flex-wrap:wrap;gap:12px}
}
@media(prefers-reduced-motion:reduce){
 .sunlight-control{display:none}.sunlight-static-note{display:inline}
 .sunlight-air,body:has(#sunlight-motion) #walk-card:before,body:has(#sunlight-motion) #walk-card:after,
 body:has(#sunlight-motion) :is(.card.primary,.timer-card):after{animation:none!important;transition:none!important}
}
@media print{
 .sunlight-air,.sunlight-control,.sunlight-static-note{display:none!important}
 body:has(#sunlight-motion) :is(.card.primary,.timer-card):after{display:none!important}
}

/* Qingbu Theme Gallery v1. Six switchable visual moods. */
.theme-control{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--blue) 28%,#fff);border-radius:20px;background:color-mix(in srgb,var(--paper) 86%,transparent);color:var(--ink);font:500 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.theme-control span{white-space:nowrap}
.theme-control select{appearance:auto;max-width:150px;border:0;background:transparent;color:inherit;font:inherit;outline:0;cursor:pointer}
.theme-control:has(select:focus-visible){outline:3px solid color-mix(in srgb,var(--blue) 75%,#fff);outline-offset:3px}
@media(max-width:650px){.theme-control{padding:5px 7px}.theme-control span{display:none}.theme-control select{max-width:118px;font-size:11px}}
@media(max-width:420px){.theme-control select{max-width:92px}}
@media print{.theme-control{display:none!important}}

/* 1 · 治愈温柔：天空蓝 + 碎金晨光 */
:root,[data-qingbu-theme="healing-morning"]{
 --bg:#e5f4ff;--paper:#f6fbff;--ink:#234c70;--muted:#456781;--blue:#216da6;--blue-hover:#1c649a;--line:#c8e1f5;--lime:#cce9ff;--sage:#e0f1ff;
}
[data-qingbu-theme="healing-morning"] body{background:radial-gradient(ellipse at 12% 0%,#f4fbff,transparent 43%),radial-gradient(ellipse at 100% 24%,#d1eaff,transparent 68%),linear-gradient(155deg,#eaf7ff,#dbedff 68%,#e7f5ff)}
[data-qingbu-theme="healing-morning"] #walk-card{background:radial-gradient(ellipse at 103% -7%,#ffedc6b3 0,#fff7e03d 10%,transparent 27%),linear-gradient(140deg,#d9efff,#c3e5ff 53%,#d1edff)}
[data-qingbu-theme="healing-morning"] .sunlight-air{background:radial-gradient(ellipse at 96% 2%,#fff3d1a6 0,#fff9e84d 15%,transparent 37%),linear-gradient(126deg,transparent 39%,#fffdf794 44%,#fff6de61 47%,transparent 53%,transparent 63%,#fffef68a 66%,transparent 73%)}

/* 2 · 自然清新：晨雾、叶影、露水 */
[data-qingbu-theme="fresh-nature"]{
 --bg:#edf8f2;--paper:#fbfefc;--ink:#274b40;--muted:#56746a;--blue:#3e8b72;--blue-hover:#32735f;--green:var(--blue);--green-hover:var(--blue-hover);--line:#d2e7dc;--lime:#dff2e5;--sage:#e9f6ee;
}
[data-qingbu-theme="fresh-nature"] body{background:radial-gradient(ellipse at 8% 0%,#fbfff9,transparent 35%),radial-gradient(ellipse at 88% 16%,#d9efdf,transparent 60%),linear-gradient(155deg,#eef9f3,#e0f2e7 65%,#f6fbf7)}
[data-qingbu-theme="fresh-nature"] .sidebar,[data-qingbu-theme="fresh-nature"] .card{background:linear-gradient(145deg,#fbfefc,#edf8f1);border-color:#d2e7dc}
[data-qingbu-theme="fresh-nature"] #walk-card{background:radial-gradient(circle at 88% 4%,#fff0b777,transparent 25%),radial-gradient(circle at 72% 20%,#b7dfbd55,transparent 27%),linear-gradient(140deg,#eaf7ed,#cfe9d6 56%,#e6f5ec)}
[data-qingbu-theme="fresh-nature"] .sunlight-air{background:radial-gradient(circle at 88% 5%,#fff3c1a6,transparent 25%),repeating-radial-gradient(ellipse at 82% 13%,#a8d4a433 0 18px,transparent 20px 50px)}
[data-qingbu-theme="fresh-nature"] .schedule-icon.yellow{background:#e4f3e8;color:#44795e}

/* 3 · 现代都市：冷蓝灰 + 咖啡暖光 */
[data-qingbu-theme="urban-morning"]{
 --bg:#edf2f7;--paper:#fbfcfe;--ink:#2d4056;--muted:#657386;--blue:#4d7398;--blue-hover:#3e6082;--green:var(--blue);--green-hover:var(--blue-hover);--line:#d8e0e9;--lime:#e1ebf3;--sage:#edf2f6;
}
[data-qingbu-theme="urban-morning"] body{background:linear-gradient(125deg,#f7f9fc,#e8eef5 63%,#f6f0e8)}
[data-qingbu-theme="urban-morning"] .sidebar,[data-qingbu-theme="urban-morning"] .card{background:linear-gradient(145deg,#ffffff,#eef3f7);border-color:#d8e0e9}
[data-qingbu-theme="urban-morning"] #walk-card{background:radial-gradient(circle at 93% 4%,#e9bf7b7d,transparent 25%),linear-gradient(143deg,#edf3f9,#dbe6ef 62%,#f4eee6)}
[data-qingbu-theme="urban-morning"] .sunlight-air{background:linear-gradient(128deg,transparent 44%,#fff8e4a6 48%,transparent 54%),linear-gradient(90deg,transparent 0 67%,#b9c4cf24 67% 69%,transparent 69% 78%,#b9c4cf1f 78% 80%,transparent 80%)}

/* 4 · Romantic & Artistic：粉紫晚霞 + 金色余晖 */
[data-qingbu-theme="romantic-evening"]{
 --bg:#f4edf7;--paper:#fff9fd;--ink:#55415f;--muted:#7a677f;--blue:#8d659f;--blue-hover:#765285;--green:var(--blue);--green-hover:var(--blue-hover);--line:#e7d8ea;--lime:#f0dff0;--sage:#f6eaf5;
}
[data-qingbu-theme="romantic-evening"] body{background:radial-gradient(ellipse at 100% 0%,#ffd9b76e,transparent 38%),radial-gradient(ellipse at 12% 12%,#ead6ff,transparent 55%),linear-gradient(160deg,#f6eafa,#efdfe9 64%,#f8e9d8)}
[data-qingbu-theme="romantic-evening"] .sidebar,[data-qingbu-theme="romantic-evening"] .card{background:linear-gradient(145deg,#fffafd,#f2e8f4);border-color:#e7d8ea}
[data-qingbu-theme="romantic-evening"] #walk-card{background:radial-gradient(circle at 89% 3%,#ffd09d88,transparent 28%),linear-gradient(140deg,#ead9f5,#e2cfe8 48%,#f6d9d1)}
[data-qingbu-theme="romantic-evening"] .sunlight-air{background:radial-gradient(ellipse at 95% 8%,#ffc98fa6 0,transparent 31%),linear-gradient(129deg,transparent 42%,#fff0d68a 48%,transparent 56%,transparent 64%,#f7d2e675 69%,transparent 76%)}

/* 5 · Cozy & Relatable：暖米色、琥珀、街灯 */
[data-qingbu-theme="cozy-evening"]{
 --bg:#f6efe4;--paper:#fffaf3;--ink:#5b4839;--muted:#806d5b;--blue:#a86f3d;--blue-hover:#8d592f;--green:var(--blue);--green-hover:var(--blue-hover);--line:#eadcc9;--lime:#f1dfc9;--sage:#f7ebdd;
}
[data-qingbu-theme="cozy-evening"] body{background:radial-gradient(circle at 92% 10%,#f4b85c55,transparent 34%),linear-gradient(155deg,#fbf5ec,#efe2d0 68%,#e7d3bc)}
[data-qingbu-theme="cozy-evening"] .sidebar,[data-qingbu-theme="cozy-evening"] .card{background:linear-gradient(145deg,#fffaf4,#f5e9d9);border-color:#eadcc9}
[data-qingbu-theme="cozy-evening"] #walk-card{background:radial-gradient(circle at 90% 5%,#ffc66b91,transparent 29%),linear-gradient(140deg,#f7ead8,#eed7bd 58%,#f6e5d0)}
[data-qingbu-theme="cozy-evening"] .sunlight-air{background:radial-gradient(circle at 90% 10%,#ffc46b8c 0,transparent 31%),linear-gradient(130deg,transparent 45%,#fff0c782 50%,transparent 57%)}

/* 6 · Melancholic & Deep：靛蓝暮色 + 琥珀余光 */
[data-qingbu-theme="melancholic-evening"]{
 --bg:#1f2940;--paper:#2a3550;--ink:#f3f1f7;--muted:#c0bfd0;--blue:#9d88c3;--blue-hover:#b19bd2;--green:var(--blue);--green-hover:var(--blue-hover);--line:#46516a;--lime:#3b4660;--sage:#303b55;--error:#ffb0a6;color-scheme:dark;
}
[data-qingbu-theme="melancholic-evening"] body{background:radial-gradient(ellipse at 100% 0%,#c27b3f42,transparent 34%),linear-gradient(160deg,#1d2639,#2b3150 62%,#3a2f46);color:var(--ink)}
[data-qingbu-theme="melancholic-evening"] .sidebar,[data-qingbu-theme="melancholic-evening"] .card,[data-qingbu-theme="melancholic-evening"] dialog{background:linear-gradient(145deg,#2f3953,#252f48);border-color:#46516a;color:var(--ink)}
[data-qingbu-theme="melancholic-evening"] #walk-card{background:radial-gradient(circle at 91% 3%,#d8924c69,transparent 30%),linear-gradient(140deg,#34405d,#2f3655 55%,#4b3e52);color:#f7f2fb}
[data-qingbu-theme="melancholic-evening"] #walk-card h2,[data-qingbu-theme="melancholic-evening"] #walk-card .timer-number{color:#fff7f1}
[data-qingbu-theme="melancholic-evening"] #walk-card .hero-sub,[data-qingbu-theme="melancholic-evening"] #walk-card .hero-top>small,[data-qingbu-theme="melancholic-evening"] .page-footer{color:#d4cfdd}
[data-qingbu-theme="melancholic-evening"] .field input,[data-qingbu-theme="melancholic-evening"] .field select,[data-qingbu-theme="melancholic-evening"] .field textarea{background:#222c43;color:#f4f1f7;border-color:#4a5873}
[data-qingbu-theme="melancholic-evening"] .sunlight-air{background:radial-gradient(ellipse at 97% 5%,#d9944f77 0,transparent 32%),linear-gradient(130deg,transparent 44%,#f6b86c4f 50%,transparent 58%)}
[data-qingbu-theme="melancholic-evening"] .theme-control,[data-qingbu-theme="melancholic-evening"] .sunlight-control{background:#303b55;color:#f1eef7;border-color:#59657e}
[data-qingbu-theme="melancholic-evening"] .theme-control select{background:#303b55;color:#f1eef7}

/* Reference-palette collection: colors are derived from user-provided mood boards; images are not published. */
[data-qingbu-theme="reeds-sunset"]{--bg:#fff4df;--paper:#fff4df;--ink:#4d291e;--muted:#2d6863;--blue:#2d6863;--blue-hover:#06091d;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#2d6863 25%,#fff4df);--lime:color-mix(in srgb,#ffc338 18%,#fff4df);--sage:color-mix(in srgb,#e29160 14%,#fff4df);--theme-a:#f4792e;--theme-b:#ffc338;--theme-c:#e29160;--theme-d:#2d6863;--theme-e:#06091d}
[data-qingbu-theme="autumn-bench"]{--bg:#fff4e8;--paper:#fff4e8;--ink:#4c1e12;--muted:#f37d2d;--blue:#f37d2d;--blue-hover:#f6a82d;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#f37d2d 25%,#fff4e8);--lime:color-mix(in srgb,#4b1509 18%,#fff4e8);--sage:color-mix(in srgb,#a33a1d 14%,#fff4e8);--theme-a:#050704;--theme-b:#4b1509;--theme-c:#a33a1d;--theme-d:#f37d2d;--theme-e:#f6a82d}
[data-qingbu-theme="violet-coast"]{--bg:#fff5f8;--paper:#fff5f8;--ink:#4d2740;--muted:#9a3e45;--blue:#9a3e45;--blue-hover:#d16661;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#9a3e45 25%,#fff5f8);--lime:color-mix(in srgb,#341e34 18%,#fff5f8);--sage:color-mix(in srgb,#73374f 14%,#fff5f8);--theme-a:#050616;--theme-b:#341e34;--theme-c:#73374f;--theme-d:#9a3e45;--theme-e:#d16661}
[data-qingbu-theme="sunrise-coast"]{--bg:#fff9f4;--paper:#fff9f4;--ink:#4a3442;--muted:#201b2d;--blue:#201b2d;--blue-hover:#959bad;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#201b2d 25%,#fff9f4);--lime:color-mix(in srgb,#ffcb32 18%,#fff9f4);--sage:color-mix(in srgb,#57292e 14%,#fff9f4);--theme-a:#fff0e7;--theme-b:#ffcb32;--theme-c:#57292e;--theme-d:#201b2d;--theme-e:#959bad}
[data-qingbu-theme="snow-bloom"]{--bg:#f8fbff;--paper:#f8fbff;--ink:#263e62;--muted:#b7bfd4;--blue:#b7bfd4;--blue-hover:#315391;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#b7bfd4 25%,#f8fbff);--lime:color-mix(in srgb,#3b7117 18%,#f8fbff);--sage:color-mix(in srgb,#8e2d67 14%,#f8fbff);--theme-a:#82b119;--theme-b:#3b7117;--theme-c:#8e2d67;--theme-d:#b7bfd4;--theme-e:#315391}
[data-qingbu-theme="glacier-blue"]{--bg:#f5fbff;--paper:#f5fbff;--ink:#173e5b;--muted:#27668f;--blue:#27668f;--blue-hover:#103d5d;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#27668f 25%,#f5fbff);--lime:color-mix(in srgb,#acd0df 18%,#f5fbff);--sage:color-mix(in srgb,#4da9c7 14%,#f5fbff);--theme-a:#123d5d;--theme-b:#acd0df;--theme-c:#4da9c7;--theme-d:#27668f;--theme-e:#103d5d}
[data-qingbu-theme="open-valley"]{--bg:#f8f3ed;--paper:#f8f3ed;--ink:#253e49;--muted:#4ca0b9;--blue:#4ca0b9;--blue-hover:#28617d;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#4ca0b9 25%,#f8f3ed);--lime:color-mix(in srgb,#735438 18%,#f8f3ed);--sage:color-mix(in srgb,#dc9453 14%,#f8f3ed);--theme-a:#080d10;--theme-b:#735438;--theme-c:#dc9453;--theme-d:#4ca0b9;--theme-e:#28617d}
[data-qingbu-theme="golden-autumn"]{--bg:#fff9e9;--paper:#fff9e9;--ink:#4b3512;--muted:#e4722b;--blue:#e4722b;--blue-hover:#7d1b18;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#e4722b 25%,#fff9e9);--lime:color-mix(in srgb,#8eab0a 18%,#fff9e9);--sage:color-mix(in srgb,#fff72a 14%,#fff9e9);--theme-a:#29470c;--theme-b:#8eab0a;--theme-c:#fff72a;--theme-d:#e4722b;--theme-e:#7d1b18}
[data-qingbu-theme="desert-sky"]{--bg:#fff7ee;--paper:#fff7ee;--ink:#58341f;--muted:#f26a2d;--blue:#f26a2d;--blue-hover:#9f361f;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#f26a2d 25%,#fff7ee);--lime:color-mix(in srgb,#347bb5 18%,#fff7ee);--sage:color-mix(in srgb,#f5a72f 14%,#fff7ee);--theme-a:#6ba1d6;--theme-b:#347bb5;--theme-c:#f5a72f;--theme-d:#f26a2d;--theme-e:#9f361f}
[data-qingbu-theme="forest-gold"]{--bg:#fff9ed;--paper:#fff9ed;--ink:#4a332b;--muted:#55352e;--blue:#55352e;--blue-hover:#0a173a;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#55352e 25%,#fff9ed);--lime:color-mix(in srgb,#e4ac63 18%,#fff9ed);--sage:color-mix(in srgb,#b96e4f 14%,#fff9ed);--theme-a:#fae8a9;--theme-b:#e4ac63;--theme-c:#b96e4f;--theme-d:#55352e;--theme-e:#0a173a}
[data-qingbu-theme="misty-hills"]{--bg:#f7f7e9;--paper:#f7f7e9;--ink:#303722;--muted:#314527;--blue:#314527;--blue-hover:#0c0e09;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#314527 25%,#f7f7e9);--lime:color-mix(in srgb,#bfc052 18%,#f7f7e9);--sage:color-mix(in srgb,#8b9148 14%,#f7f7e9);--theme-a:#b3aa27;--theme-b:#bfc052;--theme-c:#8b9148;--theme-d:#314527;--theme-e:#0c0e09}
[data-qingbu-theme="turquoise-lake"]{--bg:#f2fbfc;--paper:#f2fbfc;--ink:#173f49;--muted:#37352f;--blue:#37352f;--blue-hover:#92928f;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#37352f 25%,#f2fbfc);--lime:color-mix(in srgb,#2d7c88 18%,#f2fbfc);--sage:color-mix(in srgb,#164c57 14%,#f2fbfc);--theme-a:#50aebc;--theme-b:#2d7c88;--theme-c:#164c57;--theme-d:#37352f;--theme-e:#92928f}
[data-qingbu-theme="twilight-cove"]{--bg:#fff5f8;--paper:#fff5f8;--ink:#4c2940;--muted:#9a4048;--blue:#9a4048;--blue-hover:#d26863;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#9a4048 25%,#fff5f8);--lime:color-mix(in srgb,#321f34 18%,#fff5f8);--sage:color-mix(in srgb,#74384f 14%,#fff5f8);--theme-a:#070817;--theme-b:#321f34;--theme-c:#74384f;--theme-d:#9a4048;--theme-e:#d26863}
[data-qingbu-theme="pastel-lake"]{--bg:#fff7f7;--paper:#fff7f7;--ink:#35465f;--muted:#529ba7;--blue:#529ba7;--blue-hover:#25375e;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#529ba7 25%,#fff7f7);--lime:color-mix(in srgb,#e9a398 18%,#fff7f7);--sage:color-mix(in srgb,#c1d7c7 14%,#fff7f7);--theme-a:#d06e77;--theme-b:#e9a398;--theme-c:#c1d7c7;--theme-d:#529ba7;--theme-e:#25375e}
[data-qingbu-theme="peach-ridges"]{--bg:#fff6ef;--paper:#fff6ef;--ink:#4b2d39;--muted:#805a6c;--blue:#805a6c;--blue-hover:#21101d;--green:var(--blue);--green-hover:var(--blue-hover);--line:color-mix(in srgb,#805a6c 25%,#fff6ef);--lime:color-mix(in srgb,#ff9862 18%,#fff6ef);--sage:color-mix(in srgb,#c28179 14%,#fff6ef);--theme-a:#f7ddb0;--theme-b:#ff9862;--theme-c:#c28179;--theme-d:#805a6c;--theme-e:#21101d}
[data-qingbu-theme="reeds-sunset"],[data-qingbu-theme="autumn-bench"],[data-qingbu-theme="violet-coast"],[data-qingbu-theme="sunrise-coast"],[data-qingbu-theme="snow-bloom"],[data-qingbu-theme="glacier-blue"],[data-qingbu-theme="open-valley"],[data-qingbu-theme="golden-autumn"],[data-qingbu-theme="desert-sky"],[data-qingbu-theme="forest-gold"],[data-qingbu-theme="misty-hills"],[data-qingbu-theme="turquoise-lake"],[data-qingbu-theme="twilight-cove"],[data-qingbu-theme="pastel-lake"],[data-qingbu-theme="peach-ridges"]{color-scheme:light}
[data-qingbu-theme="reeds-sunset"] body,[data-qingbu-theme="autumn-bench"] body,[data-qingbu-theme="violet-coast"] body,[data-qingbu-theme="sunrise-coast"] body,[data-qingbu-theme="snow-bloom"] body,[data-qingbu-theme="glacier-blue"] body,[data-qingbu-theme="open-valley"] body,[data-qingbu-theme="golden-autumn"] body,[data-qingbu-theme="desert-sky"] body,[data-qingbu-theme="forest-gold"] body,[data-qingbu-theme="misty-hills"] body,[data-qingbu-theme="turquoise-lake"] body,[data-qingbu-theme="twilight-cove"] body,[data-qingbu-theme="pastel-lake"] body,[data-qingbu-theme="peach-ridges"] body{background:radial-gradient(ellipse at 96% 2%,color-mix(in srgb,var(--theme-b) 30%,transparent),transparent 38%),linear-gradient(155deg,color-mix(in srgb,var(--theme-a) 13%,var(--paper)),color-mix(in srgb,var(--theme-d) 13%,var(--paper)) 66%,color-mix(in srgb,var(--theme-c) 10%,var(--paper)))}
[data-qingbu-theme="reeds-sunset"] :is(.sidebar,.card,dialog),[data-qingbu-theme="autumn-bench"] :is(.sidebar,.card,dialog),[data-qingbu-theme="violet-coast"] :is(.sidebar,.card,dialog),[data-qingbu-theme="sunrise-coast"] :is(.sidebar,.card,dialog),[data-qingbu-theme="snow-bloom"] :is(.sidebar,.card,dialog),[data-qingbu-theme="glacier-blue"] :is(.sidebar,.card,dialog),[data-qingbu-theme="open-valley"] :is(.sidebar,.card,dialog),[data-qingbu-theme="golden-autumn"] :is(.sidebar,.card,dialog),[data-qingbu-theme="desert-sky"] :is(.sidebar,.card,dialog),[data-qingbu-theme="forest-gold"] :is(.sidebar,.card,dialog),[data-qingbu-theme="misty-hills"] :is(.sidebar,.card,dialog),[data-qingbu-theme="turquoise-lake"] :is(.sidebar,.card,dialog),[data-qingbu-theme="twilight-cove"] :is(.sidebar,.card,dialog),[data-qingbu-theme="pastel-lake"] :is(.sidebar,.card,dialog),[data-qingbu-theme="peach-ridges"] :is(.sidebar,.card,dialog){background:linear-gradient(145deg,color-mix(in srgb,#fff 70%,var(--paper)),color-mix(in srgb,var(--theme-c) 10%,var(--paper)));border-color:var(--line);color:var(--ink)}
[data-qingbu-theme="reeds-sunset"] #walk-card,[data-qingbu-theme="autumn-bench"] #walk-card,[data-qingbu-theme="violet-coast"] #walk-card,[data-qingbu-theme="sunrise-coast"] #walk-card,[data-qingbu-theme="snow-bloom"] #walk-card,[data-qingbu-theme="glacier-blue"] #walk-card,[data-qingbu-theme="open-valley"] #walk-card,[data-qingbu-theme="golden-autumn"] #walk-card,[data-qingbu-theme="desert-sky"] #walk-card,[data-qingbu-theme="forest-gold"] #walk-card,[data-qingbu-theme="misty-hills"] #walk-card,[data-qingbu-theme="turquoise-lake"] #walk-card,[data-qingbu-theme="twilight-cove"] #walk-card,[data-qingbu-theme="pastel-lake"] #walk-card,[data-qingbu-theme="peach-ridges"] #walk-card{background:radial-gradient(circle at 91% 4%,color-mix(in srgb,var(--theme-b) 52%,transparent),transparent 28%),linear-gradient(140deg,color-mix(in srgb,var(--theme-a) 20%,var(--paper)),color-mix(in srgb,var(--theme-c) 18%,var(--paper)) 55%,color-mix(in srgb,var(--theme-d) 16%,var(--paper)));border-color:color-mix(in srgb,var(--theme-d) 30%,var(--paper));color:var(--ink)}
[data-qingbu-theme="reeds-sunset"] .sunlight-air,[data-qingbu-theme="autumn-bench"] .sunlight-air,[data-qingbu-theme="violet-coast"] .sunlight-air,[data-qingbu-theme="sunrise-coast"] .sunlight-air,[data-qingbu-theme="snow-bloom"] .sunlight-air,[data-qingbu-theme="glacier-blue"] .sunlight-air,[data-qingbu-theme="open-valley"] .sunlight-air,[data-qingbu-theme="golden-autumn"] .sunlight-air,[data-qingbu-theme="desert-sky"] .sunlight-air,[data-qingbu-theme="forest-gold"] .sunlight-air,[data-qingbu-theme="misty-hills"] .sunlight-air,[data-qingbu-theme="turquoise-lake"] .sunlight-air,[data-qingbu-theme="twilight-cove"] .sunlight-air,[data-qingbu-theme="pastel-lake"] .sunlight-air,[data-qingbu-theme="peach-ridges"] .sunlight-air{background:radial-gradient(ellipse at 96% 4%,color-mix(in srgb,var(--theme-b) 55%,transparent),transparent 31%),linear-gradient(130deg,transparent 42%,color-mix(in srgb,var(--theme-b) 28%,#fff) 48%,transparent 56%,transparent 65%,color-mix(in srgb,var(--theme-a) 22%,transparent) 70%,transparent 77%)}
[data-qingbu-theme="reeds-sunset"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="autumn-bench"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="violet-coast"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="sunrise-coast"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="snow-bloom"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="glacier-blue"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="open-valley"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="golden-autumn"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="desert-sky"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="forest-gold"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="misty-hills"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="turquoise-lake"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="twilight-cove"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="pastel-lake"] :is(.btn-primary,#walk-card .btn-light),[data-qingbu-theme="peach-ridges"] :is(.btn-primary,#walk-card .btn-light){background:var(--blue);border-color:var(--blue);color:#fff}
[data-qingbu-theme="reeds-sunset"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="autumn-bench"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="violet-coast"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="sunrise-coast"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="snow-bloom"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="glacier-blue"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="open-valley"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="golden-autumn"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="desert-sky"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="forest-gold"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="misty-hills"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="turquoise-lake"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="twilight-cove"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="pastel-lake"] :is(.theme-control,.sunlight-control,.chip),[data-qingbu-theme="peach-ridges"] :is(.theme-control,.sunlight-control,.chip){background:color-mix(in srgb,var(--paper) 88%,transparent);border-color:var(--line);color:var(--ink)}

/* Qingbu bilingual UI: responsive controls, English wrapping, no layout reset. */
.language-control{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--blue) 28%,#fff);border-radius:20px;background:color-mix(in srgb,var(--paper) 86%,transparent);color:var(--ink);font:500 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap}
.language-control select{border:0;background:transparent;color:inherit;font:inherit;outline:0;cursor:pointer}
.language-control:has(select:focus-visible){outline:3px solid color-mix(in srgb,var(--blue) 75%,#fff);outline-offset:3px}
html[lang="en"] .topbar{height:auto;min-height:72px;gap:12px}
html[lang="en"] .top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
html[lang="en"] .hero h2{letter-spacing:-.025em;line-height:1.3;font-size:clamp(25px,2.1vw,34px)}
html[lang="en"] .hero-actions{flex-wrap:wrap}
html[lang="en"] .hero-bottom{flex-wrap:wrap;row-gap:8px}
html[lang="en"] .timer-label{max-width:170px;margin:0 auto;font-size:11px;line-height:1.4}
html[lang="en"] :is(.schedule-detail,.record-main,.section-title>h2,.settings-row>div){min-width:0}
html[lang="en"] :is(.schedule-detail strong,.schedule-detail small,.record-main,.reference-note,.help-copy,.notice,.dialog-head p,.field-label){overflow-wrap:anywhere}
html[lang="en"] :is(.btn,.button){white-space:normal;line-height:1.35}
html[lang="en"] .plan-item .range{display:block}
html[lang="en"] .choice-group{flex-wrap:wrap}
html[lang="en"] .exercise-num{font-size:11px}
@media(max-width:650px){.language-control{padding:5px 7px}.language-control>span{display:none}.topbar{flex-wrap:wrap;height:auto;gap:8px;padding-block:10px}.top-actions{flex-wrap:wrap;gap:6px;justify-content:flex-end}.top-actions .chip{display:none}html[lang="en"] .timer-label{max-width:150px}.language-control,.theme-control{min-height:40px}}
@media(max-width:440px){.topbar .mobile-brand{font-size:17px;flex:1 1 auto}.top-actions{width:100%;justify-content:flex-start}html[lang="en"] .top-actions{justify-content:flex-start}.top-actions .theme-control select{max-width:140px}.top-actions .language-control select{max-width:78px}html[lang="en"] .settings-row{gap:12px}.settings-row>.btn{flex-shrink:0;max-width:45%}}
@media print{.language-control{display:none!important}}
