:root{--ink:#263d3b;--soft:#667c77;--bg:#f6f8f1;--card:#fff;--line:#dbe5dc;--accent:#236d60;--yellow:#fff3bc}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.75 -apple-system,"PingFang SC",sans-serif}
.wrap{max-width:700px;margin:auto;padding:24px 20px 45px}header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:34px}
.brand{color:var(--ink);text-decoration:none;font-size:24px;font-weight:800}.brand span{display:block;font-size:12px;color:var(--soft);font-weight:400;letter-spacing:2px}.badge{font-size:12px;background:#e4eee4;padding:5px 10px;border-radius:20px}
h1{font-size:29px;line-height:1.45;margin:10px 0 16px}h2{font-size:23px;line-height:1.5;margin:5px 0 20px}.intro{color:var(--soft);margin:0 0 25px}
button{font:inherit;cursor:pointer;border:0;border-radius:15px;min-height:52px;transition:.15s}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d99d25;outline-offset:4px}
.featured{display:grid;gap:13px}.sample{padding:20px;background:#fff;border:1px solid var(--line);text-align:left;display:flex;gap:18px;align-items:center;box-shadow:0 3px 10px #263d3b05}.sample:hover{border-color:var(--accent);transform:translateY(-1px)}
.icon{font-size:29px;background:#edf4e9;width:56px;height:56px;display:grid;place-items:center;border-radius:14px;flex-shrink:0}.sample b{display:block;font-size:21px}.sample span.desc{display:block;color:var(--soft);font-size:15px}.sample .arrow{margin-left:auto;color:var(--accent)}
details{margin-top:22px}summary{font-size:16px;color:var(--soft);cursor:pointer}.all{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.all button{min-height:42px;font-size:15px;padding:8px 14px;background:#fff;border:1px solid var(--line)}
.muted{font-size:14px;color:var(--soft)}.link{background:none;padding:8px 0;color:var(--soft);min-height:40px;text-align:left;font-size:16px}
.question-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;margin:10px 0 22px}.q{font-size:21px;white-space:pre-wrap;line-height:1.95}
.primary{background:var(--accent);color:white;width:100%;font-weight:700;font-size:20px;padding:16px}.clue{margin-top:24px;background:#fffdf4;border:1px solid #ebdfab;border-radius:20px;padding:24px;animation:appear .3s ease}.eyebrow{font-size:13px;color:#96813c;margin-bottom:5px}
.visual{margin:10px 0 22px}.flow{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}.piece{background:#fff;border:1px solid #e4dec5;border-radius:12px;padding:13px 15px;font-size:17px;flex:1;min-width:120px;text-align:center}.piece.muted-item{opacity:.5;text-decoration:line-through}.caption{font-size:15px;color:var(--soft);margin:12px 0 0;text-align:center}.timeline .piece{border-top:4px solid #6f9c82}.shopping .piece{border-top:4px solid #dcb95d}
.hint{font-size:21px;line-height:1.8;margin:8px 0}.paper{font-size:15px;color:var(--soft);margin:18px 0}.secondary{background:#f0f3e9;color:var(--accent);border:1px solid #cbdaca;padding:10px 18px;font-size:16px;min-height:44px}.next{font-size:18px;border-left:3px solid #d5b352;padding-left:15px;margin:20px 0 0}
.full{margin-top:18px;text-decoration:underline}.explanation{margin-top:16px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:18px}.explanation p{white-space:pre-wrap;font-size:18px}.error{color:#a54a32;font-size:15px}footer{margin-top:40px;font-size:13px;color:var(--soft);text-align:center}svg{display:block;width:100%;height:auto;max-height:260px}
@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}[hidden]{display:none!important}
@media(max-width:480px){.wrap{padding:18px 16px 35px}header{margin-bottom:26px}h1{font-size:26px}.question-card,.clue{padding:20px}.q,.hint{font-size:20px}.piece{font-size:16px;min-width:110px}.brand{font-size:22px}.badge{font-size:11px}}
textarea{display:block;width:100%;padding:16px;margin:12px 0;font-family:inherit;font-size:18px;line-height:1.7;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:#fff;resize:vertical}.photo-preview{max-width:100%;max-height:300px;object-fit:contain;border-radius:12px}#bankOpen{display:block;margin-top:24px;font-size:14px}#recognized{font-size:20px}.comparison .piece{border-top:4px solid #6f9c82}.timeline .piece:not(:last-child)::after{content:"↓";display:block;color:var(--accent)}
.work-progress{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:660px;padding:18px 20px;background:#fff;border:1px solid #b7d4c5;border-radius:18px;box-shadow:0 8px 40px #263d3b30;z-index:100}.progress-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:16px}.progress-top span{font-size:13px;color:var(--soft);white-space:nowrap}.progress-track{height:9px;background:#e4eee7;border-radius:10px;overflow:hidden;margin:13px 0 10px}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:10px;transition:width .2s}.progress-track.indeterminate span{animation:working 1.6s ease-in-out infinite}.work-progress p{margin:0;font-size:13px;color:var(--soft);line-height:1.6}@keyframes working{0%{transform:translateX(-110%)}100%{transform:translateX(390%)}}
/* Guided photo help: positions stay on the same natural image rectangle. */
.mode-choices{display:grid;gap:12px;margin:20px 0}.mode-choices .secondary{min-height:62px;font-size:19px;font-weight:600}.question-nav{display:flex;justify-content:space-between;gap:14px}.image-block{margin:18px 0}.image-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:15px;margin-bottom:7px}.image-heading span{font-size:12px;color:var(--soft)}.photo-frame{position:relative;line-height:0;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--line)}.photo-frame>img{display:block;width:100%;height:auto;cursor:crosshair}.image-marks{position:absolute;inset:0;pointer-events:none}.image-mark{position:absolute;border:3px solid #df9b26;border-radius:4px;background:#ffd66b22;box-shadow:0 0 0 1px #fff8}.mark-label{position:absolute;left:0;bottom:100%;padding:3px 6px;border-radius:5px;background:#ffe097;color:#503c0b;line-height:1.35;white-space:nowrap;font-size:12px}.anchor-point{position:absolute;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;background:#236d60dd;color:#fff;box-shadow:0 0 0 2px #236d60;width:44px;height:44px;line-height:38px;font-size:12px;text-align:center;pointer-events:none}.hint,.step-text{white-space:pre-wrap}.steps{border-top:1px solid #e7ddb8;margin-top:18px;padding-top:15px}.step-count{font-size:13px;color:#8c7533}.step-text{font-size:20px;line-height:1.8}.explanation-steps{padding-left:23px}.explanation-steps li{padding-left:5px;margin-bottom:16px;font-size:19px;white-space:pre-wrap}.help-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.help-actions .primary,.help-actions .full{grid-column:1/-1}.help-actions .full{justify-self:center;text-align:center;margin-top:2px}.help-actions .secondary{font-size:16px;padding:14px 8px}.context-area{margin-top:14px}.context-area #contextBody{background:#edf3e9;border:1px solid var(--line);padding:16px;border-radius:16px}.context-area .secondary{width:100%}.context-go{margin-top:17px;font-size:18px}.anchor-status{font-size:14px;color:var(--accent);margin-bottom:0}.note-input{font:inherit;font-size:17px;width:100%;padding:12px;margin-top:10px;border:1px solid var(--line);border-radius:10px;color:var(--ink)}.paused{background:#e7f0e4;padding:22px;border-radius:18px;margin-top:20px}.paused h2{margin-bottom:10px}.history-item{border-bottom:1px solid var(--line);font-size:16px;padding:12px 0}.history-item h3{font-size:17px}.history-item p,.history-item li{white-space:pre-wrap}.history{margin-bottom:25px}#questionText{margin:8px 0 12px}#contextOpen{font-size:14px}#retry{width:100%}
@media(max-width:480px){.image-heading{align-items:flex-start}.image-heading span{max-width:150px;text-align:right}.clue{padding:18px}.hint{font-size:19px}.badge{max-width:120px;text-align:center}.explanation-steps li,.step-text{font-size:18px}}
@media(prefers-reduced-motion:reduce){button,.clue{animation:none;transition:none}.progress-track.indeterminate span{animation-duration:3s}}
/* Touch-friendly single-question crop, isolated from the other site cards. */
body.cropping{overflow:hidden}.crop-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#101b19;color:white;overscroll-behavior:contain}.crop-dialog::backdrop{background:#101b19}.crop-layout{height:100%;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}.crop-heading{text-align:center;padding:18px 20px 4px;flex-shrink:0}.crop-heading h2{font-size:23px;margin:0 0 5px}.crop-heading p{color:#bacdc6;font-size:14px;line-height:1.5;margin:0}.crop-workspace{flex:1;min-height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden}.crop-stage{position:relative;flex-shrink:0;isolation:isolate;touch-action:none;user-select:none;-webkit-user-select:none}.crop-stage canvas{display:block;width:100%;height:100%}.crop-box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 8000px #0009;cursor:move;touch-action:none}.crop-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 33%,#ffffff30 33%,#ffffff30 33.5%,transparent 33.5%,transparent 66%,#ffffff30 66%,#ffffff30 66.5%,transparent 66.5%),linear-gradient(transparent 33%,#ffffff30 33%,#ffffff30 33.5%,transparent 33.5%,transparent 66%,#ffffff30 66%,#ffffff30 66.5%,transparent 66.5%)}.crop-handle{position:absolute;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;transform:translate(-50%,-50%);touch-action:none;transition:none}.crop-handle::after{content:'';position:absolute;left:17px;top:17px;width:10px;height:10px;background:white;border-radius:3px;box-shadow:0 0 2px #000}.crop-handle.nw{left:0;top:0;cursor:nwse-resize}.crop-handle.n{left:50%;top:0;cursor:ns-resize}.crop-handle.ne{left:100%;top:0;cursor:nesw-resize}.crop-handle.e{left:100%;top:50%;cursor:ew-resize}.crop-handle.se{left:100%;top:100%;cursor:nwse-resize}.crop-handle.s{left:50%;top:100%;cursor:ns-resize}.crop-handle.sw{left:0;top:100%;cursor:nesw-resize}.crop-handle.w{left:0;top:50%;cursor:ew-resize}.crop-controls{position:relative;z-index:1;padding:8px 20px calc(16px + env(safe-area-inset-bottom));background:#101b19;flex-shrink:0}.crop-tools{display:flex;justify-content:space-between;gap:12px;max-width:660px;margin:0 auto 10px}.crop-tools button{background:#ffffff14;color:white;padding:8px 20px;font-size:16px;min-height:44px}.crop-controls>.primary{display:block;max-width:660px;margin:auto;background:#258474}.crop-controls p{color:#ffd4ae;margin:0;text-align:center;font-size:14px}.crop-controls p:empty{display:none}@media(max-height:500px){.crop-heading{padding:5px 12px}.crop-heading h2{font-size:18px}.crop-heading p{font-size:12px}.crop-controls{padding:3px 12px}.crop-tools{margin-bottom:3px}.crop-controls>.primary{padding:6px;min-height:40px;font-size:17px}}
/* 2026-10-04: clean reading area and a soft, touch-friendly help panel. */
:root{--ink:#202928;--soft:#788985;--bg:#fcfdfd;--line:#e7efec;--accent:#287c6a;--yellow:#fff5dd}
body{background:linear-gradient(180deg,#fdfefe 0%,#fcfdfd 58%,#edf8f5 100%);background-attachment:fixed;color:var(--ink);line-height:1.7}.wrap{max-width:740px;padding:0 24px 36px;min-height:100dvh}.app-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;margin:0 -12px 24px;padding:12px 0;background:#fcfdfdf5;backdrop-filter:blur(14px)}.app-header .brand{text-align:center;font-size:22px;font-weight:650;letter-spacing:1px}.icon-button{display:grid;place-items:center;width:44px;min-height:44px;padding:10px;background:transparent;border-radius:50%;color:#253c37}.icon-button svg{width:24px;height:24px;max-height:none}.icon-button:hover{background:#eaf2ef}h1{font-size:26px;font-weight:650;line-height:1.5;margin:18px 0 12px}h2{font-weight:650}.primary{background:var(--accent);border-radius:20px;box-shadow:0 6px 16px #287c6a12;font-size:19px;min-height:60px}.secondary{background:#ffffffd9;border:1px solid #e7eeec;border-radius:18px;color:#253b35;font-size:17px;min-height:56px}.link{font-size:15px;color:#7a8984}.question-card{padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;margin:16px 0 24px}.q,#recognized{font-size:22px;line-height:1.95;overflow-wrap:anywhere;letter-spacing:.2px}.photo-preview{display:block;max-height:180px;margin:16px auto 24px;border-radius:18px;border:1px solid var(--line)}textarea,.note-input{border-radius:18px;background:#fff;font-size:17px}.intro{font-size:17px;line-height:1.8}.muted{font-size:14px;line-height:1.7}footer{margin-top:34px;font-size:12px;color:#94a49e}
#home{padding-top:28px;text-align:center}#home h1{font-size:29px}#home .intro{max-width:330px;margin:14px auto 32px}#home #photo{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;max-width:460px;margin:auto;font-size:22px;min-height:76px}#home details{margin:26px auto 0;max-width:460px;text-align:left;background:#f3f7f5;border-radius:20px;padding:16px 20px}#home details summary{text-align:center;color:#73877c}#home #bankOpen{margin:22px auto;text-align:center;font-size:14px}.home-art{position:relative;width:138px;height:128px;margin:0 auto 30px}.home-art span{display:grid;place-items:center;position:absolute;left:12px;top:0;width:98px;height:105px;transform:rotate(-9deg);border-radius:28px;background:linear-gradient(145deg,#ddf1e5,#d9eefa);color:#2c7a65;font-size:70px;font-weight:650;box-shadow:0 14px 30px #3d746818}.home-art i{position:absolute;right:0;bottom:0;background:#fff0be;color:#847248;padding:7px 16px;border-radius:18px;font-size:24px;font-style:normal;transform:rotate(9deg)}.home-art b{position:absolute;right:0;top:-12px;color:#91b9ab;font-size:26px}
.start-card{background:linear-gradient(150deg,#f3f6ff,#e0f3eb);border:1px solid #eef4f2;border-radius:28px;padding:22px;margin-top:24px}.panel-label{margin:0;font-size:21px;font-weight:600}.start-card .mode-choices{margin:18px 0 0}.mode-choices .secondary{font-size:19px;min-height:60px}#confirmBack{float:right}#confirm h1{font-size:22px}#captureNote{margin-top:12px}.question-nav{justify-content:flex-end;margin-top:-10px}#back{display:none}#question>h1{display:none}#modeLabel{font-size:13px;margin:0 0 18px;color:#87978f}#questionText{margin:0 0 18px}#questionText>summary{font-size:13px;letter-spacing:1px;color:#92a29b}#originalBlock{margin:12px 0 24px;border-bottom:1px solid #edf1ef;padding-bottom:16px}#originalBlock>summary{font-size:14px;color:#778b82}#originalBlock .image-heading{margin-top:14px}.photo-frame{border-radius:18px}.image-heading b{font-weight:500}.image-heading span{font-size:12px}
.coach-panel{position:relative;background:linear-gradient(145deg,#f5f6ff 0%,#eaf3fc 42%,#dff3ea 100%);border:1px solid #fff;border-radius:30px;padding:24px;margin:38px -6px 0;box-shadow:0 10px 44px #518c7d13;scroll-margin-top:85px}.coach-heading{display:flex;align-items:center;gap:10px;margin:4px 0 20px;color:#6a857a;font-size:14px}.coach-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#fff9;color:#3f8a73;font-size:27px;box-shadow:0 3px 14px #52897112}.clue{background:none;border:0;border-radius:0;padding:0;margin:0;animation:appear .2s ease;scroll-margin-top:90px}.eyebrow{font-size:13px;color:#6c8a7d;margin:0 0 9px}.clue h2{font-size:22px;line-height:1.6;margin:0 0 14px}.hint{font-size:21px;line-height:1.9;margin:0 0 18px;overflow-wrap:anywhere}.steps{border:0;padding:0;margin-top:20px}.step-count{color:#758994;font-size:13px;margin-bottom:8px}.step-text{border-radius:18px;padding:20px;background:#ffffffb8;font-size:20px;line-height:1.85;margin:0 0 14px}.explanation-steps{padding-left:0;list-style:none;counter-reset:help-step}.explanation-steps li{counter-increment:help-step;background:#ffffffb8;border-radius:18px;padding:18px;margin:0 0 14px;font-size:19px;line-height:1.8}.explanation-steps li::before{content:'第 ' counter(help-step) ' 步';display:block;font-size:13px;color:#7c918b;margin-bottom:7px}#stepNext{width:100%;background:#fff}.help-actions{gap:12px;margin-top:24px}.help-actions .secondary{background:#ffffffcf;border-color:#ffffff99;min-height:60px;font-size:17px;padding:14px 8px}.help-actions .primary{font-size:19px}.help-actions .full{font-size:14px;margin:2px 0 0;text-decoration:none;color:#748880}.context-area{margin-top:16px}#contextOpen{font-size:14px;color:#789085}.context-area #contextBody{padding:16px;border:1px solid #ffffffb3;border-radius:20px;background:#ffffff69}.context-area .secondary{background:#fff}#contextBody .muted{margin-top:0}.paused{margin:0;background:transparent;padding:4px 0 10px}.paused h2{font-size:22px}.paused .secondary{width:100%}.history{padding:16px 6px}.history-item{padding:18px 0}.work-progress{background:#ffffffed;backdrop-filter:blur(18px);border-color:#dfebe5;border-radius:24px;box-shadow:0 8px 36px #426d5f20}.progress-track{height:7px}.error:empty{display:none}
@media(max-width:480px){.wrap{padding:0 20px 28px}.app-header{margin-bottom:20px;padding:10px 0}.app-header .brand{font-size:20px}.q,#recognized{font-size:20px;line-height:1.95}#home{padding-top:22px}#home h1{font-size:26px}.coach-panel{padding:24px 20px 20px;margin-left:-8px;margin-right:-8px;border-radius:28px}.clue{padding:0}.clue h2{font-size:21px}.hint{font-size:20px}.start-card{padding:20px}.help-actions .secondary{font-size:16px}.explanation-steps li,.step-text{font-size:19px}}
@media(prefers-reduced-motion:reduce){.clue{animation:none}}

mark.quantity{color:inherit;background:#dff2e5;border-radius:3px;padding:0 2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* A new sticking point continues the same session with fresh evidence. */
.header-spacer{width:44px;height:44px}.current-task{display:block;width:100%;max-width:460px;margin:16px auto 0}.context-area #newPointTitle{font-size:22px;line-height:1.6;margin:0 0 12px;scroll-margin-top:90px}.context-area .new-question{margin-top:12px}.dictation-note{font-size:13px;line-height:1.6;color:#799085;margin:8px 0 0}.previous-clue{margin-top:20px;border-top:1px solid #dce7e1;padding-top:14px}.previous-clue p,.previous-clue li{white-space:pre-wrap;font-size:16px;line-height:1.8;color:#596f64}.previous-clue summary{font-size:14px}#contextBody{scroll-margin-top:90px}

#contextBody.new-point #noteDetails>summary{display:none}

#probeChoices{display:grid;gap:12px;margin:18px 0}#probeArea>button.secondary{width:100%;margin-top:12px}#probeRoadmap{padding-left:24px}#probeArea details{margin:14px 0}

/* Local forward/inverse diagram, within the existing coach card. */
.money-stage{font-size:15px;font-weight:700;color:#287464;margin:8px 0 10px}.money-mapping{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.money-mapping span{font-size:13px;padding:4px 7px;background:#ffffffbd;border-radius:8px}.money-fact{font-size:19px;font-weight:650;margin:14px 0}.money-label{font-size:13px;color:#617e76;margin:12px 0 6px}.money-row{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr) 40px minmax(0,1fr);align-items:center;gap:3px}.money-row.money-two{grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr)}.money-box{padding:10px 2px;text-align:center;border-radius:12px;background:#fff9;min-width:0;border:1px solid #cde5de}.money-caption{display:block;font-size:12px;color:#627c74;margin-bottom:5px}.money-box strong{font-size:20px;white-space:nowrap}.money-unknown{border-style:dashed}.money-arrow{text-align:center;color:#257968;line-height:1.3}.money-arrow span{font-size:16px;white-space:nowrap}.money-arrow b{display:block;font-size:25px;font-weight:400}.money-track{margin:18px 0;border-top:1px solid #d8e6e0;padding-top:2px}.money-track-line{display:flex;align-items:center;justify-content:space-between;gap:3px}.money-track-line>span{display:flex;flex-direction:column;text-align:center}.money-track-line small{font-size:11px;color:#758a83}.money-track-line b{font-size:17px}.money-track-arrow{color:#6d9588}
@media(max-width:370px){.money-row{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr) 32px minmax(0,1fr)}.money-box strong{font-size:17px}.money-arrow span{font-size:14px}}

.path-chain{display:grid;align-items:center;gap:3px;margin-bottom:15px}.path-chain .money-caption{overflow-wrap:anywhere;font-size:11px;line-height:1.4}.path-chain .money-arrow span{font-size:14px}.path-parts{display:flex;align-items:center;gap:7px;margin-top:10px}.path-parts .money-box{flex:1}.path-plus{color:#287464;font-weight:400}.path-equal{font-size:14px;color:#617e76;text-align:center;margin:9px}.path-chain .money-box strong{font-size:19px}

.path-dot-groups{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.path-dot-set{display:flex;flex-wrap:wrap;gap:3px;max-width:100px;padding:9px;border:1px solid #aacfc1;border-radius:12px;background:#ffffffa0}.path-dot{font-size:18px;color:#3c9078;line-height:1.2}

/* Child-friendly shell; reading, diagrams and crop controls stay clear. */
:root{--ink:#303047;--soft:#6d728c;--accent:#6656b8;--bg:#fffaf0;--line:#e6dfef}
body{background:linear-gradient(180deg,#fffaf2,#fffdf9 48%,#eff4ff);color:var(--ink)}
.app-header{background:#fffaf4f2;border-bottom:1px solid #eee6f0}.app-header .brand{font-weight:750;letter-spacing:0;color:#514482}.header-spacer{display:grid;place-items:center;color:#e8aa37;font-size:26px}
.primary{background:#6656b8;box-shadow:0 4px 0 #4d408d,0 8px 16px #7764bb18;border:1px solid #7566c0}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #4d408d}.secondary{color:#454268;border-color:#ddd6eb;box-shadow:0 3px 0 #ddd7e8}.link{color:#665b88}#home details{background:#f1ebfa}.home-art span{background:linear-gradient(135deg,#e5dbff,#d9efff);color:#6257a3}.home-art span svg{width:92px;height:92px}.home-art i{background:#ffe6aa;color:#7c591d}.home-art b{color:#e2a535}
.coach-panel{background:linear-gradient(140deg,#eee9ff,#edf4ff 50%,#e6f6ef);border:2px solid #fff;border-radius:30px}.coach-heading{color:#645c86}.coach-symbol{color:#6656b8;background:#fffcf0}.start-card{background:linear-gradient(140deg,#eee7ff,#e6f2ff)}.question-card{color:#303047}mark.quantity{background:#ddf2e4}#probeChoices .secondary{text-align:left;padding:15px 17px}.money-label{color:#546d67}
.question-nav{justify-content:flex-start;flex-wrap:wrap;gap:7px;margin:0 0 14px}#back{display:inline-block}.question-nav .link{font-size:14px;border-radius:14px;padding:6px 10px;background:#f0eafa}#changeMode{margin-left:auto}
.analysis-area{margin:18px 0 0;padding:12px 14px;border-radius:18px;background:#ffffffad;border:1px dashed #aea3ce}.analysis-area p{font-size:14px;color:#62597e;line-height:1.65;margin:0 0 8px}.analysis-area .secondary{width:100%}
.task-actions{position:fixed;left:50%;transform:translateX(-50%);width:min(calc(100% - 40px),700px);bottom:calc(12px + env(safe-area-inset-bottom));z-index:21;padding:0;margin:0;pointer-events:none}body:has(#taskActions:not([hidden])) .wrap{padding-bottom:110px}.done-button{pointer-events:auto;display:block;width:100%;font-size:20px;font-weight:750;min-height:60px;border:2px solid #f0c46e;border-radius:22px;color:#5b4213;background:#ffe6a8;box-shadow:0 4px 0 #d6aa52,0 8px 20px #a58c4326}.done-button:active{transform:translateY(2px);box-shadow:0 2px 0 #d6aa52}
.celebration{position:fixed;inset:0;z-index:200;background:#fffaf0ed;display:grid;place-items:center;overflow:hidden;pointer-events:none}.celebration-message{position:relative;z-index:2;text-align:center;font-size:36px;font-weight:800;color:#6552a7}.celebration-message span{display:block;font-size:17px;color:#7c668f;margin-top:12px}.balloons{position:absolute;inset:0}.balloons i{position:absolute;bottom:-120px;font-style:normal;font-size:68px;animation:balloon-rise 1.3s ease-out forwards;left:8%}.balloons i:nth-child(2){left:24%;animation-delay:.06s;filter:hue-rotate(40deg)}.balloons i:nth-child(3){left:42%;animation-delay:.12s;filter:hue-rotate(100deg)}.balloons i:nth-child(4){left:61%;animation-delay:.03s;filter:hue-rotate(170deg)}.balloons i:nth-child(5){left:76%;animation-delay:.09s;filter:hue-rotate(240deg)}.balloons i:nth-child(6){left:88%;animation-delay:.15s;filter:hue-rotate(290deg)}@keyframes balloon-rise{to{transform:translateY(-115vh) rotate(12deg)}}
.basket-row{padding:14px;border-radius:18px;background:#fff9;border:1px solid #d8d0e9;margin:10px 0}.basket-caption{display:flex;justify-content:space-between;font-size:15px;font-weight:650;margin-bottom:10px}.basket-items{display:flex;gap:12px;flex-wrap:wrap}.basket-item{display:flex;align-items:center;gap:8px;padding:7px;border-radius:10px;font-size:17px}.basket-item.same{background:#d9f1e3;border:1px dashed #5da382}.basket-item.cancelled{opacity:.45;text-decoration:line-through}.basket-icon{font-size:27px}
@media(prefers-reduced-motion:reduce){.balloons i{animation:none;bottom:14%;font-size:45px}.primary:active,.done-button:active{transform:none}}
