*{box-sizing:border-box}body{margin:0;background:#f2f5ed;color:#173e39;font:18px/1.6 system-ui,sans-serif}header,main,footer{max-width:1080px;margin:auto;padding:24px}header{display:flex;gap:24px;flex-wrap:wrap}h1{font-size:clamp(38px,6vw,62px);line-height:1.1;margin:16px 0}h2{font-size:28px;line-height:1.3}a{color:#174b64}section,details{background:white;border:1px solid #bdcec3;border-radius:20px;padding:26px;margin:24px 0}.eyebrow{font-size:14px;font-weight:800;letter-spacing:.12em}.friends{display:flex;align-items:center;gap:22px}.friends img{object-fit:contain;max-height:110px}.notice{background:#fff6df;border-left:5px solid #a57022;padding:20px;border-radius:12px}summary{cursor:pointer;font-weight:700}label{display:block;margin:14px 0}input,select,textarea,button{font:inherit;max-width:100%}input:not([type=checkbox]),select,textarea{border:1px solid #809c90;border-radius:8px;padding:10px;background:white;color:#173e39}input:not([type=checkbox]),textarea{width:100%}input[type=checkbox]{width:22px;height:22px;vertical-align:middle}button{border:2px solid #285b4f;border-radius:12px;padding:10px 16px;margin:5px;background:#f3f7ee;color:#173e39;cursor:pointer;min-height:48px}button:disabled{opacity:.48;cursor:default}:focus-visible{outline:4px solid #b16a15;outline-offset:4px}fieldset{border:1px solid #b5c8be;border-radius:12px;padding:16px}fieldset[hidden],[hidden]{display:none!important}.clock{max-width:400px;margin:20px auto}.clock svg{display:block;width:100%;height:auto}.time-label,.prompt{font-size:24px;font-weight:750}.clock text{font-family:system-ui,sans-serif;fill:#173e39;text-anchor:middle;dominant-baseline:central}.clock .minute-label{font-size:12px;fill:#285b9c}.clock .hour-label{font-size:20px;font-weight:700}#model-guide{border-left:4px solid #bb8c37;background:#fff8e8;padding:18px;margin:16px 0}textarea{min-height:90px}footer{font-size:14px}@media(max-width:600px){body{font-size:17px}header,main,footer{padding:16px}section,details{padding:18px}.friends{gap:8px}.friends img{width:60px}h2{font-size:24px}.time-label,.prompt{font-size:21px}}
#palette,#selection,#kept{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}.token{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;min-width:76px;min-height:76px;padding:8px;border:2px solid #315d51;border-radius:50%;background:#f7f0cf;color:#173e39}.token.note{border-radius:10px;background:#eaf1ff;min-width:110px}.token small{font-size:11px;font-weight:500}.token b{font-size:24px}.piece{display:inline-block;margin:4px}.piece button{display:block;font-size:14px;min-height:42px;margin:4px auto}.kept{background:#f5f7f1;border:1px solid #b5c8be;border-radius:12px;padding:12px;flex:1;min-width:240px}.token:focus-visible{outline-offset:5px}#model-guide{white-space:pre-line}#selection{min-height:110px;padding:16px;border:2px dashed #789b8c;border-radius:12px}#value-status{font-weight:700}section{overflow-wrap:anywhere}button,select{white-space:normal}#palette button{margin:0}#selected-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px}input[type=number]{max-width:230px}@media(max-width:600px){.kept{min-width:0;width:100%;flex-basis:100%}.token{min-width:68px;min-height:68px}.token.note{min-width:96px}}
/* Matched selected money resources */
.mo-sheet{font:16px/1.45 system-ui,sans-serif;color:#173e39;max-width:760px;margin:auto;background:#fffef9;border:1px solid #b3c8bc;padding:20px}.mo-sheet h3{font-size:22pt;line-height:1.2;margin:7px 0}.mo-sheet h4{font-size:13pt;margin:12px 0 5px}.mo-sheet p{overflow-wrap:anywhere}.mo-sheet-head{display:flex;gap:12px;align-items:center;border-bottom:2px solid #52766a;padding-bottom:10px}.mo-sheet-head>div{flex:1;min-width:0}.mo-sheet-head p{font-size:10pt;margin:5px 0}.mo-portrait{width:65px;display:block;flex-shrink:0;object-fit:contain}.mo-portrait svg{display:block;width:100%;height:auto}.mo-small{width:52px}.mo-task{margin:14px 0;padding:10px;border:1px solid #b3c8bc;break-inside:avoid}.mo-sheet .mo-task h4{margin:0 0 6px}.mo-response{padding-top:8px}.mo-explain{font-size:11pt}.mo-foot{font-size:9pt;border-top:1px solid #b3c8bc;padding-top:9px}.mo-model{margin:16px 0;padding:12px;border:1px solid #b3c8bc;break-inside:avoid}.mo-money-bank,.mo-collection{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}.mo-token{width:74px;min-height:74px;display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;border:2px solid #52766a;border-radius:50%;background:#f3f6f1;padding:5px;text-align:center}.mo-token.note{width:100px;min-height:58px;border-radius:4px}.mo-token strong{font-size:15pt}.mo-token small{font-size:8pt}.mo-write,.mo-draw{line-height:2;overflow-wrap:anywhere}.mo-value-bank{break-inside:avoid}
.mo-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.mo-settings label{display:block;min-width:0}.mo-settings select{display:block;width:100%}.friends p{min-width:0;overflow-wrap:anywhere}.friends .learning-pet{width:80px;flex-shrink:0}.friends .learning-pet svg{display:block;width:100%;height:auto}.mo-views button[aria-pressed=true]{background:#173e39;color:white}#mo-preview{margin:20px 0}#money-resource-creator{overflow-wrap:anywhere}@media(max-width:600px){.mo-sheet{padding:12px}.mo-settings{grid-template-columns:1fr}.mo-portrait{width:42px}.mo-small{width:34px}.mo-sheet h3{font-size:22px}.mo-sheet-head{gap:7px}.friends .learning-pet{width:60px}}
