/* Compact learning UI; recommended ROI is a removable DOM overlay, never image data. */
.wb-learning{margin-bottom:12px;min-width:0}
.wb-learning[hidden],#wb-coach[hidden],#wb-demo-roi[hidden]{display:none!important}
.wb-journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.wb-journey button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 15px;border:1px solid #e5e5ea;background:#fff;color:#73737a;border-radius:16px;min-width:0;cursor:pointer;transition:background .15s,border-color .15s}
.wb-journey button>span:first-child{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#f2f2f7;font-size:12px;font-weight:600}
.wb-journey strong{display:block;font-size:13px;font-weight:600;color:#1c1c1e}
.wb-journey small{display:block;font-size:11px;margin-top:2px;color:#8e8e93}
.wb-journey button:hover,.wb-journey .is-current{border-color:#d5d5dc;background:#f2f2f7}
.wb-journey .is-current>span:first-child{background:#e8e8ee;color:#1c1c1e}
.wb-example-hub{border:1px solid #e5e5ea;background:#f6f6f9;border-radius:16px;padding:0 18px}
.wb-example-hub>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;cursor:pointer;font-size:13px;font-weight:600;list-style:none}
.wb-example-hub>summary::after{content:'展开';font-size:11px;color:#73737a;font-weight:400}
.wb-example-hub[open]>summary::after{content:'收起'}
.wb-example-hub>summary small{font-size:11px;color:#8e8e93;font-weight:400;margin-left:10px}
.wb-example-picker{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:12px 20px;padding:4px 0 16px;align-items:end}
.wb-example-picker label{display:grid;gap:7px;font-size:12px;color:#73737a;margin:0}
#wb-example-kind{width:100%;min-width:0;height:36px;padding:0 12px;border:1px solid #e5e5ea;border-radius:9px;background:#fff;color:#1c1c1e;font-size:13px}
#wb-example-description{font-size:12px;color:#73737a;margin:0;line-height:1.7;align-self:center}
.wb-example-picker .studio-actions{grid-column:1/-1;gap:8px;flex-wrap:wrap}
.wb-coach{margin:10px 0 12px;border:1px solid #e5e5ea;background:#ffffffed;border-radius:16px;padding:14px 16px;box-shadow:0 2px 8px #1c1c1e08;min-width:0}
.wb-coach-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#wb-coach-progress{font-size:11px;color:#8e8e93;letter-spacing:.04em;font-weight:600}
#wb-coach-title{margin:4px 0 0;font-size:14px;line-height:1.6;color:#1c1c1e}
#wb-coach-copy{font-size:12px;color:#73737a;line-height:1.8;margin:8px 0 10px;max-width:1000px}
#wb-coach-actions{display:flex;gap:8px;flex-wrap:wrap}
.wb-coach-expectation{margin-top:12px;padding-top:12px;border-top:1px solid #e8e8ee;font-size:12px;line-height:1.8;color:#8e8e93}
.wb-guide-target{outline:2px solid #ffb341;outline-offset:5px;scroll-margin-top:110px}
#wb-image-stage{position:relative}
#wb-demo-roi{position:absolute;pointer-events:none;z-index:2;border:2px dashed #e99b24;background:#ff950010;color:#9b6614;font-size:11px;font-weight:600;padding:4px 7px;white-space:nowrap}
.wb-guide-start{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.wb-guide-start h2{margin:5px 0 8px}.wb-guide-start p{margin:0;color:#73737a;font-size:13px;line-height:1.8}
.wb-guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.wb-guide-steps article{padding:14px;border:1px solid #e5e5ea;border-radius:16px;background:#fff}
.wb-guide-steps h3{font-size:14px;line-height:1.6;margin:10px 0}.wb-guide-steps p{font-size:12px;color:#73737a;line-height:1.9;margin:0}
.wb-example-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:14px}
.wb-example-cards article{display:flex;flex-direction:column;min-width:0}.wb-example-cards .studio-pill{align-self:flex-start}
.wb-example-cards h3{font-size:15px;margin:16px 0 8px}.wb-example-cards p{font-size:12px;color:#73737a;line-height:1.9}
.wb-example-cards .studio-actions{margin-top:auto;gap:8px;flex-wrap:wrap;padding-top:10px}
.wb-lane-details>summary{cursor:pointer;color:#73737a;font-size:12px;line-height:1.6;padding:8px 0}
@media(max-width:1100px){.wb-example-cards{grid-template-columns:1fr}.wb-guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.wb-learning{margin-bottom:16px}.wb-journey{gap:5px}.wb-journey button{flex-direction:column;align-items:center;gap:5px;text-align:center;padding:10px 3px;border-radius:10px}.wb-journey strong{font-size:11px}.wb-journey small{display:none}.wb-journey button>span:first-child{flex-basis:24px;width:24px;height:24px}.wb-example-hub{padding:0 12px}.wb-example-hub>summary small{display:none}.wb-example-picker{grid-template-columns:1fr;gap:10px}.wb-example-picker .studio-actions>.studio-btn{flex:1 1 145px}.wb-coach{padding:14px}.wb-coach-head{gap:7px}#wb-coach-title{font-size:14px}#wb-coach-copy{font-size:12px}.wb-guide-start{flex-direction:column;align-items:flex-start}.wb-guide-steps{grid-template-columns:1fr}.wb-guide-steps article{padding:16px}#wb-demo-roi{font-size:9px;padding:2px 4px}}
@media(prefers-reduced-motion:reduce){.wb-journey button{transition:none}}
.wb-guide-intro{padding:5px 0 16px}.wb-guide-intro p{font-size:13px;line-height:1.8;color:#73737a}
.wb-guide-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.wb-guide-cases article{background:#f6f6f9;border:1px solid #e5e5ea;border-radius:16px;padding:14px;min-width:0}
.wb-guide-cases h3{font-size:13px;margin:0 0 7px}.wb-guide-cases p{font-size:12px;line-height:1.75;margin:0 0 8px;color:#73737a}
.wb-guide-cases strong{font-size:12px;line-height:1.7;color:#a35815}
#wb-help-dialog .wb-example-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
@media(max-width:640px){.wb-guide-cases,#wb-help-dialog .wb-example-cards{grid-template-columns:minmax(0,1fr)}.wb-guided-shell #sidebar > .wb-guided-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.wb-next-head{align-items:flex-start}}
/* The lesson lives above the layout: it never stretches a column or canvas. */
.wb-coach.is-popup{position:fixed;z-index:10002;width:360px;max-width:calc(100vw - 20px);margin:0;padding:18px;border:1px solid #f0c577;background:#fffdf9;border-radius:20px;box-shadow:0 18px 65px #1618242b;overflow:auto;overscroll-behavior:contain;outline:none;scroll-margin:0}
.wb-coach.is-popup #wb-coach-title{font-size:16px;line-height:1.5;margin-top:5px}
.wb-coach.is-popup #wb-coach-copy{font-size:13px;line-height:1.75;margin:10px 0}
.wb-coach.is-popup #wb-coach-progress{color:#91580b}
.wb-coach.is-popup .wb-coach-head{gap:8px}
.wb-coach.is-popup .studio-btn{min-height:36px;white-space:normal;text-align:center}
.wb-coach.is-popup .wb-coach-expectation{margin-top:10px;padding-top:10px;font-size:12px;color:#775519}
.wb-tour-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:12px;margin-top:12px;border-top:1px solid #eee4d4}
.wb-coach.is-popup::after{content:'';position:fixed;width:10px;height:10px;background:#fffdf9;border:1px solid #f0c577;transform:rotate(45deg);pointer-events:none}
.wb-coach.is-popup[data-side=right]::after{left:calc(var(--tour-left,0px) - 6px);top:calc(var(--tour-top,0px) + var(--tour-arrow-y));border-top:0;border-right:0}
.wb-coach.is-popup[data-side=left]::after{left:calc(var(--tour-left,0px) + var(--tour-width,360px) - 6px);top:calc(var(--tour-top,0px) + var(--tour-arrow-y));border-bottom:0;border-left:0}
.wb-coach.is-popup[data-side=bottom]::after{left:calc(var(--tour-left,0px) + var(--tour-arrow-x));top:calc(var(--tour-top,0px) - 6px);border-bottom:0;border-right:0}
.wb-coach.is-popup[data-side=top]::after{left:calc(var(--tour-left,0px) + var(--tour-arrow-x));top:calc(var(--tour-top,0px) + var(--tour-height,200px) - 6px);border-top:0;border-left:0}
#wb-tour-spotlight{position:fixed;z-index:10001;pointer-events:none;border:3px solid #e59a21;border-radius:10px;box-shadow:0 0 0 9999px #1618241a}
#wb-tour-spotlight[hidden],#wb-tour-resume[hidden]{display:none!important}
#wb-tour-resume{position:fixed;z-index:10002;right:16px;bottom:18px;background:#1c1c1e;color:#fff;border:0;box-shadow:0 8px 28px #0002}
.wb-guide-target{animation:none}
@media(max-width:640px){.wb-coach.is-popup{width:calc(100vw - 20px);padding:14px;border-radius:16px}.wb-coach.is-popup #wb-coach-title{font-size:15px}.wb-coach.is-popup #wb-coach-copy{font-size:12px}.wb-tour-footer{gap:6px}.wb-coach.is-popup .studio-text-btn{font-size:11px}}
/* One question before importing any teaching data. */
#wb-tutorial-choice{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;border:1px solid #e5e5ea;border-radius:24px;background:#fff;color:#1c1c1e;box-shadow:0 24px 90px #16182433;overflow:auto;overscroll-behavior:contain}
#wb-tutorial-choice::backdrop{background:#17192366;backdrop-filter:blur(4px)}
#wb-tutorial-choice .wb-help-head{position:static;padding:0 0 12px;background:transparent;gap:16px}
#wb-tutorial-choice h2{font-size:19px;line-height:1.5;margin:0}
.wb-tutorial-choice-copy{font-size:13px;line-height:1.7;color:#73737a;margin:0 0 16px}
.wb-tutorial-routes{display:grid;gap:8px;padding:0;margin:0 0 14px;border:0;min-width:0}
.wb-tutorial-route{display:flex!important;align-items:flex-start;gap:12px;padding:12px 14px;border:1.5px solid transparent;border-radius:16px;background:#f4f4f7;cursor:pointer;min-width:0}
.wb-tutorial-route:has(input:checked){border-color:#007aff;background:#edf5ff}
.wb-tutorial-route:focus-within{outline:2px solid #007aff;outline-offset:2px}
.wb-tutorial-route>input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0;accent-color:#007aff}
.wb-tutorial-route>span{min-width:0}.wb-tutorial-route strong{display:block;font-size:14px;line-height:1.5}.wb-tutorial-route small{display:block;font-size:12px;line-height:1.7;color:#686870;margin-top:5px}
.wb-tutorial-replicate-note{margin:0 0 12px;padding:9px 11px;border-radius:10px;background:#fff0d6;color:#805218;font-size:12px;line-height:1.6}
.wb-tutorial-locations{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:0;border:0;min-width:0}.wb-tutorial-locations[hidden]{display:none}.wb-tutorial-locations legend{float:none;display:block;width:100%;padding:0;margin:0 0 7px;color:#626269;font-size:12px}.wb-tutorial-locations label{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #e5e5ea;border-radius:10px;font-size:12px;cursor:pointer}.wb-tutorial-locations label:has(:checked){border-color:#007aff;background:#edf5ff}.wb-tutorial-locations input{accent-color:#007aff}
.wb-tutorial-option{display:flex!important;align-items:flex-start;gap:9px;margin:12px 0;font-size:12px;line-height:1.7;color:#4f4f56}.wb-tutorial-option[hidden]{display:none!important}.wb-tutorial-option input{width:16px;height:16px;margin:2px 0 0;flex:0 0 16px;accent-color:#007aff}
.wb-tutorial-choice-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid #e5e5ea}
#wb-tutorial-route-hint{font-size:12px;line-height:1.6;color:#73737a;flex:1 1 190px}#wb-tutorial-start{min-height:42px;white-space:normal;text-align:center}
@media(max-width:640px){#wb-tutorial-choice{padding:16px;border-radius:20px}#wb-tutorial-choice h2{font-size:17px}.wb-tutorial-route{padding:12px}.wb-tutorial-choice-footer>.studio-btn{width:100%}}
