/* あしたクエスト visual direction v2: a little illustrated activity book, not an AI dashboard. */
:root {
  --ink:#26344a; --navy:#26344a; --muted:#6c7890;
  --cream:#fff9ef; --paper:#fffefb;
  --red:#ff644e; --yellow:#ffd640; --blue:#3989f5;
  --green:#26b878; --purple:#9870e2;
  --border:#e5e8e8; --shadow:none; --round:18px;
  color:var(--ink);background:#fff9ef;
}
body, body.mode-parent {background:#fff9ef;color:var(--ink)}
body.mode-child {background:#ebf5ff;color:var(--ink)}
body.mode-child .top-wave {background-image:radial-gradient(#b8d8fb 1px,transparent 1px);background-size:30px 30px;opacity:.22}
.brand-title, .hero h1, .quest-title, .section-h h2 {letter-spacing:-.065em}
.topbar {height:76px;max-width:100%;gap:8px}
.brand {gap:9px}.brand-icon {width:48px;height:48px;filter:none}.brand-title {font-size:22px;letter-spacing:-.05em;color:var(--ink)}
/* Keep the image inside the responsive logo box so the title retains its gap. */
.brand-icon img {display:block;width:100%;height:100%;object-fit:contain}
.brand-sub {font-size:10px;color:#75829a;font-weight:800;letter-spacing:0}
.demo-flag {display:none}
.device-pill {border:2px solid #26344a;border-radius:9px;box-shadow:none;color:#26344a;background:#fff;padding:6px 10px;font-size:10px;letter-spacing:.11em}
.top-btn {border:2px solid #26344a;border-radius:11px;background:#fff;box-shadow:2px 3px 0 #26344a;color:var(--ink);min-height:41px}
.top-btn.role {background:#ffd640;border-color:#26344a}.top-btn .role-arrow {font-size:13px;font-weight:1000}
.top-btn:hover {transform:translateY(-1px)}
.demo-strip {display:block;max-width:none;padding:0;margin:0 0 15px;border:0;background:transparent;color:#6b7890;font-size:11px;text-align:left;line-height:1.45;font-weight:700}
.demo-strip summary {display:inline-flex;align-items:center;gap:5px;list-style:none;cursor:pointer;border-bottom:1px dotted #7e8ca0}
.demo-strip summary::-webkit-details-marker{display:none}.demo-strip summary span{font-size:15px}
.demo-strip[open] p {margin:8px 0 0;border-left:3px solid var(--yellow);padding:4px 9px;max-width:660px}
.layout {grid-template-columns:180px minmax(0,1fr);gap:25px}
.sidebar {background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0;padding:22px 5px;top:24px}
.sidebar-title {font-size:11px;color:#7b8699;letter-spacing:.08em;margin:4px 11px 19px}
.side-nav {gap:6px}.side-nav button {padding:12px 13px;border-radius:12px;min-height:48px;font-size:13px;gap:12px}
.side-nav button.active {background:#ffe57a;color:#25374f;border:2px solid #25374f;padding:10px 11px;box-shadow:2px 3px 0 #25374f}
.side-nav button:hover {background:#fff2c3}.side-nav .ico{font-size:18px;display:grid;place-items:center}.side-nav svg{width:21px;height:21px}
.side-bottom {border-top:1px solid #e1dbd0;color:#808ba0}
.hero {box-shadow:none;border-radius:24px;min-height:0;position:relative;overflow:hidden}
.hero::before,.hero::after {display:none}
.parent-hero {background:#ffe17c;border:2px solid #26344a;color:#26344a;box-shadow:5px 6px 0 #26344a;min-height:242px;align-items:center;padding:28px 31px;margin:0 6px 25px 0}
.parent-hero .hero-content {max-width:calc(100% - 150px)}
.parent-kicker {display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.02em;font-weight:900;color:#374459;margin-bottom:9px}
.kicker-dot {width:10px;height:10px;border-radius:50%;background:var(--red);border:1px solid var(--ink)}
.parent-hero h1{font-size:clamp(27px,3.1vw,40px);line-height:1.28;color:#26344a;font-weight:1000;letter-spacing:-.065em;margin:0 0 9px}
.underline-rough{text-decoration:underline;text-decoration-color:#ff644e;text-decoration-thickness:6px;text-underline-offset:6px}
.parent-hero p{color:#3b4656;font-weight:800;opacity:1;font-size:13px;line-height:1.75}
.parent-hero-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:17px}
.parent-hero-actions .btn {min-height:44px}
.hero-art.parent-sticker {width:164px;height:186px;flex:none;z-index:1}
.mascot-illustration {width:100%;height:100%;object-fit:contain;filter:drop-shadow(3px 6px 0 rgba(31,52,74,.08))}
.parent-sticker .mascot-illustration {transform:rotate(-2deg)}
.mascot-spark {position:absolute;right:-8px;top:3px;font-size:29px;color:#ff644e}
.toolbar {border:1.5px solid #dfdfd6;background:#fffefb;box-shadow:none;border-radius:14px;padding:13px 14px;margin:0 0 17px}
.circle-btn{background:#f2f3f0;border-radius:9px;color:var(--ink);width:37px;height:37px}
.date-main{font-size:14px}.date-mini{font-size:10px;color:#7c8a96}
.seg-chip{background:#fff;border:1.5px solid #dfe3e5;color:#52647b;border-radius:9px}
.seg-chip.active{background:#ffdf68;color:#26344a;border-color:#26344a}
.panel {border:1.5px solid #e0e4e5;background:#fff;box-shadow:none;border-radius:18px;padding:21px}
.section-h {align-items:center;margin-bottom:15px}.section-h h2 {font-size:20px;margin:2px 0 0;font-weight:1000;color:#26344a}
.section-h p {color:#7f8b9d;font-size:12px}.section-label {display:block;font-size:10px;letter-spacing:.15em;color:#4172bf;font-weight:1000}
.parent-overview{grid-template-columns:minmax(0,1.3fr) minmax(255px,.75fr);gap:16px}.stack{gap:16px}
.parent-status{display:flex;align-items:center;gap:15px;background:#f0f7ff;border-radius:14px;padding:10px 17px;margin-bottom:18px}
.parent-status-count {font-size:39px;font-weight:1000;letter-spacing:-.05em;white-space:nowrap;color:#2866b5}
.parent-status-count .slash {font-size:20px;color:#8399b2;letter-spacing:0}
.parent-status strong{display:block;font-size:14px;font-weight:1000}.parent-status-note{display:block;color:#7a8ba1;font-size:11px;margin-top:4px}
.parent-list-head {display:flex;gap:10px;align-items:center;justify-content:space-between;margin:18px 0 10px}
.parent-list-head strong{font-size:14px;line-height:1.55}
.btn{border:2px solid transparent;border-radius:12px;box-shadow:none;font-size:13px;padding:9px 15px;transition:transform .14s,box-shadow .14s;background:#eff1f5;color:#24344a}
.btn.primary{background:#ff644e;color:#fff;border-color:#26344a;box-shadow:2px 3px 0 #26344a}
.btn.secondary{background:#3989f5;color:#fff;border-color:#26344a;box-shadow:2px 3px 0 #26344a}
.btn.sun{background:#ffdf68;color:#26344a;border-color:#26344a;box-shadow:2px 3px 0 #26344a}
.btn.green{background:#26b878;color:white;border-color:#26344a}
.btn.line{border:1.5px solid #aeb9c3;background:#fff;box-shadow:none;color:#26344a}
.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:3px 5px 0 #26344a}
.btn.line:hover:not(:disabled){box-shadow:1px 2px 0 #26344a}
.btn:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.btn.small {font-size:12px;border-radius:10px;padding:7px 12px}
.kid-chip{border-radius:11px;box-shadow:none;min-height:42px;border:1.5px solid #e1e6e9;font-size:13px;padding:7px 11px}
.kid-chip.active{border:2px solid #26344a;background:#ffea98}
.kid-chip .avatar {font-size:19px}
.task-list {gap:0}.task-row {border:0;border-radius:0;border-bottom:1px dashed #dfe3e7;background:#fff;padding:11px 3px;gap:10px}
.task-row.done{background:#fff;border-color:#dfe3e7}.task-row:last-child{border-bottom:0}
.task-icon{border-radius:10px;background:#fff2c9;width:42px;height:42px;font-size:22px}
.task-name{font-size:13px}.task-sub{font-size:10px}.task-state{font-size:11px}
.mini-x{background:#f6f7f8;color:#718095}
.progress-track {height:9px;background:#e9edf1;border-radius:9px}
.progress-fill{background:#29b77e!important}
.week-preview{gap:8px}.subject-pill {background:#f3f7ff;border:1px solid #dce7fb;border-radius:8px;font-size:12px}
.stamp-choice {background:#fff7e4;border:1.5px solid #f6daa1;border-radius:12px;box-shadow:none;font-size:11px}
.stamp-choice span {font-size:21px}
.message-chip {border:0;background:#f4f8fc;border-radius:12px}
.message-symbol {font-size:25px}
/* Child's activity-book world. Big decisions first; rewards after the mission. */
.mode-child .topbar{background:transparent}.mode-child .brand-sub{color:#6c87a7}
.child-shell {max-width:970px}.child-hero {background:#3989f5;color:#fff;border:3px solid #26344a;box-shadow:5px 6px 0 #26344a;min-height:214px;padding:25px 30px 23px;margin:0 6px 22px 0;align-items:center}
/* Keep every child destination reachable when the mobile menu is hidden. */
.child-desktop-nav {display:none}
.child-desktop-nav button {display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;min-height:58px;padding:11px 8px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);box-shadow:2px 3px 0 var(--ink);font-size:14px;font-weight:1000;line-height:1.5;transition:transform .14s,box-shadow .14s,background-color .14s}
.child-desktop-nav .ico {display:grid;place-items:center;flex:none}
.child-desktop-nav .ico svg {width:24px;height:24px}
.child-desktop-nav button>span:last-child {min-width:0;overflow-wrap:anywhere}
.child-desktop-nav button.active,.child-desktop-nav button[aria-current="page"] {background:#ffdf68;color:var(--ink)}
.child-desktop-nav button:focus-visible {outline:3px solid #1764c5;outline-offset:4px}
@media(hover:hover){
  .child-desktop-nav button:hover {transform:translateY(-1px)}
  .child-desktop-nav button:hover:not(.active):not([aria-current="page"]) {background:#fff2c3}
}
.child-desktop-nav button:active {transform:translateY(2px);box-shadow:none}
@media(min-width:761px){
  .mode-child .child-desktop-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 4px 22px 0}
}
.child-hero .hero-content {max-width:calc(100% - 190px)}
.child-hint{color:#fff5b9;display:flex;align-items:center;gap:12px;font-size:13px;margin-bottom:9px;letter-spacing:.02em}
.hero-stage{background:#fff;border:2px solid #26344a;border-radius:6px;font-size:10px;letter-spacing:.16em;padding:4px 7px;color:#26344a;transform:rotate(-3deg)}
.child-hero h1{font-size:clamp(31px,4.3vw,48px);font-weight:1000;line-height:1.2;color:#fff;letter-spacing:-.06em;margin:0 0 10px}
.child-hero .count-big{font-size:1.34em;color:#ffdc4a;text-shadow:2px 3px 0 #26344a}
.child-hero p{font-size:13px;color:#fff;opacity:1;font-weight:900;line-height:1.55}
.child-hero .hero-art{width:177px;height:175px;position:relative;z-index:2}
.child-hero .mascot-illustration{width:100%;height:100%;transform:rotate(0);animation:mascotBounce 4.8s ease-in-out infinite}
.hero-spark{font-size:25px;color:#ffd640;position:absolute}.spark-one{right:1px;top:8px}.spark-two{left:0;bottom:6px}
.hero-stage-dots{display:flex;gap:8px;position:absolute;bottom:14px;right:25px}.hero-stage-dots span{width:7px;height:7px;background:#fff;border-radius:100%}.hero-stage-dots span:nth-child(2){background:#ffdf5f}.hero-stage-dots span:nth-child(3){background:#ff6554}.hero-stage-dots span:nth-child(4){background:#2ec486}
.child-profile-bar{align-items:center;gap:9px;margin-bottom:12px}.child-profile-bar .who{color:#537497;font-size:12px}
.profile-select{box-shadow:none;background:#fff;border:2px solid #d6e3ee;border-radius:11px;min-height:45px;padding:6px 12px;font-size:13px}
.profile-select.active{background:#ffdf68;border-color:#26344a;box-shadow:2px 3px 0 #26344a;color:#26344a}
.profile-select .face{font-size:22px}
.mode-child .toolbar {background:transparent;border:none;box-shadow:none;padding:6px 0 10px;margin:0 0 6px;border-radius:0}
.mode-child .date-main {font-size:13px}.mode-child .date-mini{font-size:10px}.mode-child .quick-date{margin-left:auto}
.mode-child .circle-btn{background:#fff;border:1.5px solid #d3e2f1;border-radius:8px}
.mode-child .seg-chip{background:#fff;border-color:#cddde9}.mode-child .seg-chip.active{background:#ffdf68;border-color:#26344a}
.child-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,.62fr);gap:16px}
.quest-panel {background:#fff;border:2px solid #26344a;border-radius:18px;padding:21px;box-shadow:4px 5px 0 #26344a}
.quest-title{font-size:23px;letter-spacing:-.045em;color:#26344a;margin:2px 0 0}
.kpi-chip{border-radius:8px;background:#ffdf68;border:1.5px solid #26344a;color:#26344a;font-weight:1000}
.quest-items {margin-top:15px;display:grid;gap:9px}
.quest-item{display:flex;align-items:center;gap:11px;border:2px solid #dce6eb;border-radius:14px;background:#fff;min-height:80px;padding:10px;margin:0;overflow:visible}
.quest-item.complete{border-color:#54bd91;background:#e7f9ee}
.quest-item .q-number{font-size:11px;font-weight:1000;color:#8da2b4;align-self:flex-start;margin-top:5px;width:15px;flex:none}
.quest-item .q-icon{width:46px;height:46px;border-radius:10px;background:#fff1be;display:grid;place-items:center;font-size:24px;flex:none}
.quest-item .q-main{flex:1;min-width:0}.quest-item .q-name{font-size:14px;font-weight:1000;line-height:1.45}
.quest-item .q-reward{font-size:10px;color:#75879a;margin-top:4px}
.quest-item .q-done{min-height:45px;min-width:72px;font-size:13px;font-weight:1000;background:#ff644e;border:2px solid #26344a;border-bottom:4px solid #26344a;border-radius:10px;padding:9px 11px;color:#fff}
.quest-item .q-done:hover:not(:disabled){background:#ff785b}
.quest-item .q-done.done{background:#bdebd2;color:#376554;border-color:#78bf9a}
.quest-item .q-done:active:not(:disabled){transform:translateY(2px);border-bottom-width:2px}
.quest-bottom-note{margin-top:18px;background:#f5f7f8;border-left:4px solid #ffcf39;padding:11px 13px;font-size:12px;font-weight:800;color:#5c7085;line-height:1.5}
.reward-stack{gap:13px}.coin-panel {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#ffdf68;border:2px solid #26344a;box-shadow:4px 5px 0 #26344a;border-radius:18px;padding:15px}
.coin-caption{font-size:10px;letter-spacing:.17em;font-weight:1000;color:#647084}
.coin-number{font-size:37px;font-weight:1000;color:#26344a;line-height:1.25}.coin-number span{color:#f6a524;text-shadow:1px 2px 0 #26344a}
.coin-panel .small{font-size:11px;color:#54647a}
.reward-title{font-size:17px;letter-spacing:-.05em;margin:0 0 15px;font-weight:1000}
.levels{gap:8px}.level-row {background:#f7faff;color:#6c7890;border:0;border-bottom:1px solid #e6ebf0;padding:11px 4px;border-radius:0}.level-row.unlocked{background:#fffdf4;color:#554a28}
.level-row .l-emoji{font-size:22px}.reward-card{background:transparent;border:1px dashed #91bedc;border-radius:14px;padding:13px;margin-top:0}
.reward-card h3{font-size:13px}.reward-card p{font-size:11px}
.mode-child .footer,.mode-parent .footer{font-size:10px;color:#8191a1;padding:10px 0}
/* Make other pages and controls share the handmade design language. */
.mode-child .child-subject {border:2px solid #dce8f2;background:#fff;border-radius:13px}.mode-child .child-subject:nth-child(3n+2){background:#fff5d5}.mode-child .child-subject:nth-child(3n){background:#f0f6ff}
.reply-choice {border:2px solid #26344a;border-bottom-width:4px;border-radius:13px;background:#fff}.reply-choice:hover{background:#fff1ca}
.preset{border-radius:12px}.preset:hover{border-color:var(--blue)}
.bottom-nav .ico {display:grid;place-items:center}.bottom-nav .ico svg {width:23px;height:23px}
.bottom-nav {border-top:2px solid #26344a;background:#fff;box-shadow:none}
.bottom-nav button {font-size:10px;color:#728197;border-radius:10px}
.bottom-nav button.active {background:#ffdf68;color:#26344a;border:1.5px solid #26344a}
.modal {border:2px solid #26344a;border-radius:20px;box-shadow:7px 9px 0 rgba(38,52,74,.28)}
.modal-x{border-radius:9px}.filter-tabs button{border-radius:9px}.filter-tabs button.active{background:#ffdf68;border-color:#26344a}
/* Data notices stay readable even with long backup filenames on a phone. */
.storage-notice,.recovery-panel {min-width:0;max-width:100%;padding:16px 18px;border:2px solid var(--ink);border-radius:14px;color:var(--ink);font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.storage-notice {margin:0 0 18px;background:#fff2c3}
.recovery-panel {width:100%;max-width:680px;margin:16px auto;background:#fff;box-shadow:3px 4px 0 var(--ink)}
.storage-notice h2,.storage-notice h3,.recovery-panel h2,.recovery-panel h3 {margin:0 0 8px;font-weight:1000;line-height:1.5}
.storage-notice h2,.recovery-panel h2 {font-size:21px}
.storage-notice h3,.recovery-panel h3 {font-size:15px}
.storage-notice p,.recovery-panel p {margin:7px 0}
.storage-notice p:last-child,.recovery-panel p:last-child {margin-bottom:0}
.storage-notice .btn,.recovery-panel .btn {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.storage-notice .select-group,.recovery-panel .select-group {margin-top:12px}
.backup-preview {min-width:0;max-width:100%;margin:14px 0;padding:13px 14px;border:1.5px solid #dce3e9;border-radius:12px;background:#f8fafc;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.backup-preview p {margin:5px 0}
.backup-preview dl,dl.backup-preview {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:6px 12px}
.backup-preview dl {margin:0}
.backup-preview dt {font-weight:900}
.backup-preview dd {min-width:0;margin:0}
.backup-preview ul {margin:6px 0;padding-left:20px}
.file-picker {display:block;width:100%;max-width:100%;min-width:0;padding:12px;border:2px dashed #aeb9c3;border-radius:12px;background:#fff;color:var(--ink);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.file-picker input[type="file"] {display:block;width:100%;max-width:100%;min-width:0;font:inherit}
.file-picker::file-selector-button,.file-picker input[type="file"]::file-selector-button {max-width:100%;margin:0 10px 4px 0;padding:8px 11px;border:2px solid var(--ink);border-radius:8px;background:#ffdf68;color:var(--ink);font:inherit;font-weight:900;white-space:normal;cursor:pointer}
.file-picker:focus-visible,.file-picker:focus-within {outline:3px solid #1764c5;outline-offset:3px}
.modal {min-width:0;max-width:100%;overflow-wrap:anywhere;overscroll-behavior:contain}
.modal h2 {padding-right:30px;line-height:1.45}
.modal .btn {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.modal .inline-switch {flex-wrap:wrap}
.modal .inline-switch .field {flex:1 1 150px;width:auto;min-width:0}
.modal .filter-tabs {flex-wrap:wrap;overflow:visible}
.modal .filter-tabs button {max-width:100%;white-space:normal;overflow-wrap:anywhere}
.modal .preset,.modal .preset>span,.modal .subject-option {min-width:0}
@keyframes mascotBounce {0%,70%,100%{transform:translateY(0) rotate(0)}78%{transform:translateY(-4px) rotate(-1deg)}86%{transform:translateY(0) rotate(0)}92%{transform:translateY(-2px) rotate(1deg)}}
@media(max-width:1010px){
  .parent-overview{grid-template-columns:1fr}.parent-hero .hero-content{max-width:calc(100% - 125px)}
  .hero-art.parent-sticker{width:130px;height:150px}
  .child-grid{grid-template-columns:1fr 265px}
}
@media(max-width:760px){
  .shell{padding:0 15px 90px}
  .topbar{height:68px}.brand-icon {width:41px;height:41px}.brand-title{font-size:18px}.brand-sub{font-size:9px}
  .top-btn{padding:5px 9px;min-width:38px;min-height:38px;height:38px}.top-btn .role-arrow{font-size:12px}
  .device-pill{display:none}.top-btn span.label{display:none}
  .demo-strip{font-size:10px;margin:0 0 11px}
  .parent-hero {margin-right:4px;border-radius:19px;padding:21px 20px;min-height:0}
  .parent-hero h1{font-size:25px}.parent-hero p{font-size:11px}
  .parent-hero .hero-content{max-width:calc(100% - 95px)}
  .parent-hero-actions{margin-top:13px}.parent-hero-actions .btn{font-size:11px;min-height:39px;padding:7px 11px}
  .hero-art.parent-sticker{width:95px;height:135px;position:absolute;right:6px;bottom:10px}
  .panel{padding:16px;border-radius:15px}.section-h h2{font-size:17px}.section-label{font-size:9px}
  .toolbar{padding:10px 8px;margin-bottom:13px}.date-main{min-width:109px}
  .btn.small{min-height:34px}
  .parent-status-count{font-size:33px}
  .child-hero{padding:18px 18px 17px;min-height:166px;border-radius:18px;margin-right:4px;margin-bottom:14px}
  .child-hero .hero-content{max-width:calc(100% - 100px)}
  .child-hero h1{font-size:clamp(25px,6vw,31px)}.child-hint{font-size:11px;margin-bottom:6px}.child-hero p{font-size:10.5px;line-height:1.5}
  .child-hero .hero-art {display:flex;width:115px;height:133px;right:-9px;top:15px;position:absolute;opacity:1}
  .hero-stage-dots{bottom:8px;right:19px}.hero-stage-dots span{width:5px;height:5px}
  .child-profile-bar{margin-bottom:7px}.child-profile-bar .who{font-size:11px}
  .profile-select {min-height:38px;padding:5px 9px;font-size:12px}.profile-select .face{font-size:19px}
  .mode-child .toolbar{margin-bottom:8px;padding:5px 0}
  .child-grid{grid-template-columns:1fr;gap:13px}
  .quest-panel {padding:15px;border-radius:15px;box-shadow:3px 4px 0 #26344a}
  .quest-title {font-size:20px}.quest-item {padding:9px 8px;gap:8px;min-height:69px}
  .quest-item .q-icon{width:38px;height:38px;font-size:21px}.quest-item .q-name{font-size:13px}.quest-item .q-reward{font-size:9px}
  .quest-item .q-done{font-size:12px;min-height:40px;min-width:69px;padding:6px 8px}
  .reward-stack{display:grid;grid-template-columns:1fr;gap:13px}
  .coin-panel {padding:14px}
  .bottom-nav{padding:6px 9px calc(6px + env(safe-area-inset-bottom))}
  .bottom-nav button{min-height:50px}
  .modal-actions {gap:8px}
  .modal-actions .btn {flex:1 1 120px}
  .storage-notice,.recovery-panel {padding:13px 14px}
}
@media(max-width:410px){
  .parent-hero .hero-content{max-width:100%}.parent-sticker{display:none!important}
  .parent-hero h1{font-size:25px}.parent-hero .parent-kicker{font-size:10px}
  .parent-hero-actions{gap:6px}.parent-hero-actions .btn{font-size:11px}
  .child-hero .hero-art{display:flex;position:absolute;right:-9px;top:22px;opacity:1;width:105px;height:115px}
  .child-hero .hero-content{max-width:calc(100% - 87px)}
  .child-hero h1{font-size:24px}.child-hero p{font-size:9px}
  .child-hint{gap:6px;font-size:10px}
  .mode-child .toolbar .quick-date{gap:4px}.mode-child .toolbar .seg-chip{font-size:10px;padding:7px 6px;min-height:34px}
  .mode-child .toolbar .date-main{min-width:99px;font-size:11px}.mode-child .toolbar .circle-btn{width:28px;height:31px;font-size:17px}
  .mode-child .date-mini{font-size:9px}
  .quest-item .q-number{width:11px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .child-hero .mascot-illustration{animation:none}
  .child-desktop-nav button{transition:none}
  .child-desktop-nav button:hover,.child-desktop-nav button:active{transform:none}
}

.child-grade-list{display:grid;gap:10px;margin:14px 0}.child-grade-form{display:grid;grid-template-columns:minmax(80px,1fr) minmax(120px,1.5fr) auto;gap:8px;align-items:center}.child-grade-form label{font-weight:800;overflow-wrap:anywhere}.child-grade-form select{min-width:0;width:100%}
@media(max-width:570px){.child-grade-form{grid-template-columns:minmax(0,1fr) auto}.child-grade-form label{grid-column:1 / -1}}
