:root{color-scheme:light;--paper:#f8f6ef;--ink:#364535;--muted:#727566;--green:#52684a;--line:#e3e3d7;--serif:"Iowan Old Style","AppleMyungjo","Batang",serif;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button,a{touch-action:manipulation}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #a67549;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,p,figure{margin:0}button{background:none}[hidden]{display:none!important}.app-shell{max-width:1240px;margin:auto;padding:0 44px}.header{height:108px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:12px;align-items:center;font-family:var(--serif);font-weight:600;font-size:1.3125rem;letter-spacing:-.6px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:#e7ebdf;border-radius:50% 45% 46% 40%;color:#667a58}.brand-mark svg{width:25px;height:25px}.brand small{display:block;font-family:Georgia,serif;font-size:0.5rem;letter-spacing:2px;font-weight:400;margin-top:7px;color:#78836c}.family-button{display:flex;gap:8px;align-items:center;min-height:44px;color:#656d5e;font-size:0.8125rem;padding:8px 0 8px 12px}.family-button svg{width:18px}.home-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,1fr);gap:42px;padding:48px 0 28px;align-items:center}.story{min-width:0;position:relative}.story-heading{text-align:center;position:relative;z-index:1}.eyebrow{font-size:0.625rem;letter-spacing:2.1px;color:#77826b;font-weight:500;line-height:1.8}.story-heading .eyebrow{font-size:0.75rem;letter-spacing:2px;display:flex;align-items:center;justify-content:center;gap:8px}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#a4b18b}h1{font-family:var(--serif);font-weight:400;font-size:2.6875rem;letter-spacing:-2px;line-height:1.52;margin:14px 0 16px}.intro{font-size:0.875rem;line-height:1.85;color:#767a6d;letter-spacing:-.25px}.mobile-break{display:none}.landscape{margin:18px -14px 0}.scene-frame{width:100%;aspect-ratio:3/2;position:relative;overflow:hidden;isolation:isolate;mask-image:linear-gradient(to bottom,transparent 0%,#000 7%,#000 87%,transparent 100%)}.scene-frame img,.scene-frame canvas,.scene-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.scene-frame img{z-index:1}.scene-frame canvas{z-index:2;opacity:0;transition:opacity .3s}.scene-frame canvas.ready{opacity:1}.scene-fallback{background:radial-gradient(ellipse at 50% 80%,#dce5d580,transparent 65%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#819177;font-family:var(--serif)}.scene-fallback svg{width:56px;height:56px}.scene-frame.image-failed img{display:none}figcaption{margin:-4px 22px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#828475;font-size:0.625rem;letter-spacing:.4px}.scene-note:before{content:"";display:inline-block;width:20px;height:1px;background:#b9c2a7;vertical-align:middle;margin-right:9px}.motion-button{display:flex;align-items:center;gap:5px;min-height:44px;min-width:90px;justify-content:center;font-size:0.6875rem;color:#646d59;border-radius:24px}.motion-button:hover{background:#e9eddf}.motion-button svg{width:13px;height:13px}.motion-button:disabled{cursor:default;color:#71756a}.story-footnote{text-align:center;font-family:var(--serif);font-size:0.75rem;color:#858475;margin:20px 0 0;letter-spacing:.3px}.story-footnote:before{content:"";display:block;width:24px;height:1px;background:#c9cdbd;margin:0 auto 17px}.home-tools{padding-top:6px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:8px}.section-title h2{font-size:1.125rem;font-weight:500;letter-spacing:-.7px;margin-top:7px}.title-sprout{width:28px;height:28px;color:#9cab8b}.growth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.growth-card{position:relative;min-height:159px;padding:18px 17px 30px;border-radius:6px 19px 6px 6px;text-align:left;border:1px solid #dce4d180;transition:transform .2s,box-shadow .2s}.growth-card:hover{transform:translateY(-3px);box-shadow:0 5px 14px #3545330b}.reading{background:#eaf0e2;color:#536746}.writing{background:#f4e9dc;color:#87634c;border-color:#ecdfd1}.thinking{background:#e7eef0;color:#58727b;border-color:#dce5e7}.choosing{background:#eeeadd;color:#80714b;border-color:#e6e1d1}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card-top>svg{width:25px;height:25px}.card-top>span{font-family:Georgia,serif;font-size:0.6875rem;opacity:.7}.growth-card strong{display:block;font-size:0.875rem;letter-spacing:-.6px;font-weight:600;line-height:1.6}.card-description{display:block;font-size:0.625rem;margin-top:5px;letter-spacing:-.35px;line-height:1.6}.card-arrow{position:absolute;width:16px;height:16px;right:13px;bottom:11px;opacity:.65}.daily-section{margin-top:27px;padding-top:23px;border-top:1px solid var(--line)}.daily-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:14px}.daily-heading h2{font-size:0.875rem;font-weight:500;letter-spacing:-.5px}.daily-heading>span{font-size:0.625rem;color:#848877;white-space:nowrap}.child-picker{display:flex;align-items:center;width:100%;padding:12px 14px;border:1px solid #dce0d3;border-radius:9px;background:#fcfbf6;text-align:left;gap:11px;min-height:65px}.child-icon{display:grid;place-items:center;background:#ecefe4;width:36px;height:36px;border-radius:50%;color:#879578}.child-icon svg{width:19px}.child-picker small{display:block;color:#7c8370;font-size:0.625rem;margin-bottom:4px}.child-picker strong{display:block;font-size:0.8125rem;font-weight:500;line-height:1.5}.child-picker .down{margin-left:auto;transform:rotate(90deg);width:15px}.action-buttons{display:grid;gap:7px;margin-top:12px}.primary{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--green);color:#fffdf5;border:1px solid var(--green);padding:15px 18px;border-radius:9px;min-height:51px;font-weight:500;font-size:0.875rem;letter-spacing:-.3px;line-height:1.5}.primary svg{width:18px;height:18px}.primary svg:last-child{margin-left:auto}.primary svg:first-child{margin-right:auto}.primary:hover{background:#415b3c}.secondary{min-height:46px;display:flex;justify-content:center;align-items:center;gap:7px;font-size:0.8125rem}.secondary svg{width:13px}.secondary:hover{background:#e9eddf;border-radius:8px}.page-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:21px 0 113px;gap:10px;color:#7a806e;font-size:0.625rem}.prototype-label{font-size:0.5625rem;color:#828474}.bottom-nav{position:fixed;z-index:10;bottom:20px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,1fr);width:310px;background:#fbfaf4ef;border:1px solid #e0e4d7;backdrop-filter:blur(14px);border-radius:22px;box-shadow:0 5px 30px #39452d0b;padding:6px 10px}.bottom-nav a{min-height:51px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#818775;font-size:0.625rem;border-radius:16px}.bottom-nav svg{width:20px;height:20px}.bottom-nav a[aria-current="page"]{background:#e8eddf;color:#536848}.bottom-nav a:hover{background:#edf0e6}.skip-link{position:fixed;left:15px;top:-100px;z-index:100;background:var(--ink);color:white;padding:12px}.skip-link:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.icon-button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f0f1e8}.icon-button svg{width:18px}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}dialog{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 48px);border:1px solid #e3e5d7;border-radius:24px;padding:25px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #27322222}dialog::backdrop{background:#2f392954;backdrop-filter:blur(4px)}dialog h2{font-family:var(--serif);font-size:1.5625rem;font-weight:400;letter-spacing:-.8px;line-height:1.5}.dialog-description{font-size:0.75rem;line-height:1.85;color:var(--muted);margin:12px 0 24px}.child-options{display:grid;gap:10px}.child-options button{display:flex;align-items:center;gap:12px;padding:14px;background:#fcfbf6;border:1px solid var(--line);border-radius:12px;text-align:left;min-height:74px}.child-options strong{display:block;font-size:0.875rem;font-weight:500}.child-options small{display:block;font-size:0.625rem;margin-top:6px;color:var(--muted);line-height:1.5}.child-options button>svg{width:15px;margin-left:auto}.avatar{width:38px;height:38px;display:grid;place-items:center;background:#e5ebdc;border-radius:50%;font-family:Georgia,serif;color:#6a7b53}.avatar.peach{background:#f0e1d3;color:#916e56}.text-button{font-size:0.75rem;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:block;margin:16px auto 0}.dialog-note{font-size:0.625rem;color:#7c806f;text-align:center;line-height:1.8;margin-top:10px}.detail-container{max-width:670px;min-height:590px;margin:auto;padding:35px 0 50px}.back-button{display:flex;gap:7px;align-items:center;font-size:0.75rem;min-height:44px;margin-bottom:24px;color:#65755b}.back-button svg{width:17px}.detail-container h1{font-size:2.0625rem;line-height:1.5;margin:12px 0}.detail-intro{font-size:0.875rem;color:var(--muted);line-height:1.9}.preview-badge{font-size:0.625rem;letter-spacing:1px;color:#7e7457;background:#efeadc;padding:7px 10px;border-radius:5px;display:inline-block}.empty-state{margin:30px 0;padding:36px 24px;text-align:center;border:1px solid #e0e5d5;border-radius:16px;background:#eef1e640}.empty-state>svg{width:44px;height:44px;color:#8c9c7b;margin-bottom:20px}.empty-state h2{font-family:var(--serif);font-size:1.3125rem;font-weight:400;line-height:1.5}.empty-state p{font-size:0.8125rem;line-height:1.9;color:var(--muted);margin:12px auto 0;max-width:400px}.detail-container .primary{width:100%;margin-top:14px}.detail-axis-list{display:grid;gap:10px;margin-top:24px}.detail-axis-list button{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--line);border-radius:10px;text-align:left;line-height:1.6}.detail-axis-list button>svg:last-child{margin-left:auto;width:16px}.detail-note{font-size:0.6875rem;line-height:1.9;color:var(--muted);margin-top:23px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:22px 0;font-size:0.875rem}.settings-row span{display:block;font-size:0.6875rem;color:var(--muted);margin-top:6px;line-height:1.6}.settings-row button{border:1px solid #d5dcc8;border-radius:8px;padding:12px;min-width:90px;font-size:0.75rem}.noscript-note{padding:20px;text-align:center}
@media(min-width:1200px){.home-layout{gap:56px}.landscape{margin-left:-26px;margin-right:-26px}}
@media(max-width:920px) and (min-width:701px){.app-shell{padding:0 25px}.home-layout{gap:25px;grid-template-columns:minmax(0,1fr) minmax(310px,1fr)}h1{font-size:2.125rem}.daily-heading>span{display:none}.card-description{font-size:0.625rem}.growth-card{padding:15px 12px 28px}}
@media(max-width:700px){.app-shell{padding:0 23px;max-width:520px}.header{height:81px}.brand{font-size:1.125rem;gap:9px}.brand-mark{width:34px;height:36px}.brand-mark svg{width:22px}.brand small{font-size:0.375rem;letter-spacing:1.7px;margin-top:5px}.family-button{font-size:0.6875rem;gap:5px}.family-button svg{width:16px}.home-layout{display:flex;flex-direction:column;gap:28px;padding:29px 0 22px}.story{width:100%}.story-heading .eyebrow{font-size:0.5625rem;letter-spacing:1.4px}h1{font-size:1.9375rem;line-height:1.48;letter-spacing:-1.2px;margin:12px 0}.intro{font-size:0.75rem;line-height:1.8}.mobile-break{display:block}.landscape{margin:12px -23px 0}.scene-frame{aspect-ratio:1.5}.landscape figcaption{margin:-3px 22px 0;font-size:0.5625rem}.motion-button{font-size:0.625rem;min-width:82px}.story-footnote{display:none}.home-tools{width:100%;padding:0}.section-title{margin-bottom:14px}.section-title .eyebrow{font-size:0.5rem;letter-spacing:1.5px}.section-title h2{font-size:1.0rem;margin-top:5px}.title-sprout{width:24px;height:24px}.growth-grid{gap:10px}.growth-card{min-height:130px;padding:13px 14px 25px}.card-top{margin-bottom:10px}.card-top>svg{width:22px;height:22px}.card-top>span{font-size:0.625rem}.growth-card strong{font-size:0.8125rem;letter-spacing:-.65px}.card-description{font-size:0.625rem;margin-top:3px}.card-arrow{width:13px;height:13px;bottom:9px}.daily-section{margin-top:24px;padding-top:21px}.daily-heading h2{font-size:0.8125rem}.daily-heading>span{font-size:0.5625rem}.child-picker{min-height:66px}.primary{min-height:52px}.page-footer{font-size:0.5625rem;padding:19px 0 114px;flex-direction:column;gap:9px;align-items:center}.bottom-nav{width:calc(100% - 36px);max-width:390px;bottom:max(12px,env(safe-area-inset-bottom));border-radius:20px;padding:6px 16px}.bottom-nav a{min-height:48px}.detail-container{padding-top:20px;min-height:66vh}.detail-container h1{font-size:1.8125rem}.empty-state{padding:28px 19px}.empty-state h2{font-size:1.25rem}.dialog-top .eyebrow{font-size:0.5625rem}}
@media(max-width:359px){.app-shell{padding:0 17px}.landscape{margin-left:-17px;margin-right:-17px}.family-button span{font-size:0.625rem}.brand{font-size:1.0rem}.brand small{font-size:0.3125rem}h1{font-size:1.75rem}.growth-grid{gap:8px}.growth-card{padding-left:10px;padding-right:10px}.growth-card strong{font-size:0.75rem}.card-description{font-size:0.5625rem}.daily-heading>span{display:none}.section-title h2{font-size:0.9375rem}.scene-note{font-size:0.5rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.scene-frame canvas{display:none}}

.nav-record{display:none}
@media(max-width:700px){.bottom-nav{grid-template-columns:1fr 1fr 1fr 1.5fr;gap:4px;padding:6px 9px}.nav-record{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--green);color:#fffdf5;border-radius:14px;font-size:0.75rem;min-height:48px}.nav-record svg{width:16px}.growth-card strong{font-size:0.875rem}.card-description{font-size:0.6875rem}.growth-card{min-height:139px}}

@media(max-width:700px){.header{height:auto;min-height:81px;padding:14px 0;flex-wrap:wrap}.daily-heading{flex-wrap:wrap}.growth-card{overflow-wrap:anywhere}.bottom-nav{max-width:calc(100% - 24px)}.page-footer{padding-bottom:150px}.child-picker{height:auto}.section-title h2{line-height:1.7}}

/* First records: keep the landscape unchanged and use the same paper/green palette. */
.record-banner{margin:20px 0 10px;padding:16px;border:1px solid #cfb88e;border-radius:12px;background:#f6efdf;font-size:.875rem;line-height:1.7}
.record-banner p{margin-top:6px}.record-controls,.record-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
#record-workspace label{display:grid;gap:8px;margin:14px 0;font-size:.875rem;line-height:1.6;min-width:0}
#record-workspace input,#record-workspace select,#record-workspace textarea{font:inherit;display:block;width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid #b8c2ac;border-radius:8px;background:#fffef9;color:var(--ink);box-sizing:border-box}
#record-workspace input:focus-visible,#record-workspace textarea:focus-visible{outline:3px solid #a67549;outline-offset:2px}
#record-workspace input[readonly]{background:#eeeee5}#record-workspace fieldset{border:0;padding:0;margin:0;min-width:0}
#record-workspace button{min-height:44px;white-space:normal;overflow-wrap:anywhere}#record-workspace button:disabled{opacity:.6;cursor:not-allowed}
.record-heading{font-size:1.2rem;margin-top:25px}.record-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;align-items:center}.record-actions button{border:1px solid var(--line);border-radius:8px;padding:10px 14px}.record-actions .primary{width:auto;flex:1}
.record-totals{display:flex;gap:12px;flex-wrap:wrap;background:#eaf0e2;padding:18px;border-radius:12px;margin-top:20px;line-height:1.8}.record-totals span{flex:1;min-width:100px}.record-totals strong{display:block;font-size:1.4rem}
.record-card{padding:20px;border:1px solid var(--line);border-radius:12px;margin:16px 0;overflow-wrap:anywhere}.record-card h2{font-size:1.15rem;line-height:1.6}.record-card p{font-size:.875rem;line-height:1.8;margin:6px 0}
[data-message]{margin-top:16px;font-size:.875rem;line-height:1.7;overflow-wrap:anywhere}.conflict{border:2px solid #a67549;border-radius:10px;padding:16px;margin-top:16px}.conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.danger{color:#873c30}
@media(max-width:450px){.record-controls,.record-dates{grid-template-columns:minmax(0,1fr)}}

/* Authentication uses the existing paper/green palette and never blocks the public home. */
.auth-entry{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:.75rem;min-height:44px;margin-left:auto;margin-right:12px;white-space:normal}
.auth-dialog{width:min(430px,calc(100vw - 32px));padding:24px;box-sizing:border-box;overflow-wrap:anywhere;max-height:85vh}
.auth-dialog h2{font-size:1.25rem;line-height:1.5}.auth-dialog .dialog-top{align-items:flex-start;gap:16px}.auth-dialog .dialog-top button{min-width:44px;min-height:44px}
.auth-note,[data-auth-message]{font-size:.875rem;line-height:1.8;margin:14px 0}.auth-actions{display:grid;gap:10px;margin:14px 0}.auth-dialog button{min-height:44px;white-space:normal}.auth-dialog button:disabled{opacity:.55;cursor:not-allowed}
[data-provider-mount]{max-width:100%;overflow:auto;margin:16px 0}.auth-dialog [hidden]{display:none!important}
@media(max-width:450px){.auth-entry{order:3;flex-basis:100%;margin:8px 0 0;font-size:.75rem}.auth-dialog{padding:18px}}
/* Parent bookshelf: compact facts, current books, evidence, then editable rounds. */
.shelf-heading h2{font-family:var(--serif);font-size:1.6rem;margin:8px 0 12px}.shelf-heading .record-totals{display:flex;flex-wrap:wrap;gap:8px 16px;background:none;padding:0;margin:0}.shelf-heading .record-totals span{display:inline-flex;gap:5px;align-items:baseline;background:none;padding:0}.shelf-heading .record-totals strong{display:inline;font-size:1.05rem}.shelf-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.shelf-section h3,[data-axis-detail] h3{font-size:1.05rem;margin:0 0 12px}.shelf-section h4{font-size:.85rem;margin:20px 0 8px}.shelf-section h4 small{font-weight:400;color:var(--muted)}.recent-book{width:100%;display:flex;gap:16px;text-align:left;padding:14px;background:#efefe4;border-radius:14px;margin:8px 0}.recent-book>span{display:flex;flex-direction:column;gap:8px;min-width:0;justify-content:center}.recent-book strong{font-family:var(--serif);font-size:1.15rem;overflow-wrap:anywhere}.recent-book small,.recent-book>span>span{font-size:.75rem;color:#626c5b}.book-placeholder{width:72px;min-width:72px;align-self:start;min-height:98px;padding:12px 8px;background:#e4e9db;border:1px solid #cdd5c2;border-left:5px solid #bac8ad;border-radius:3px 9px 9px 3px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;text-align:center;color:#52634b}.book-placeholder span{font-family:var(--serif);font-size:.7rem;overflow-wrap:anywhere}.book-placeholder small{font-size:.55rem}.shelf-axis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.shelf-axis{display:flex;flex-direction:column;gap:12px;padding:18px 14px;border:1px solid #dce1d2;border-radius:6px 20px 6px 6px;overflow-wrap:anywhere;min-height:172px}.shelf-axis>span{font-size:.82rem}.shelf-axis strong{font-size:1.15rem}.shelf-axis small{font-size:.68rem;line-height:1.6}.shelf-axis:hover{box-shadow:0 4px 14px #35453318}.record-card{display:flex;gap:16px}.record-card>div:last-child{min-width:0;flex:1}.record-card h2{overflow-wrap:anywhere}.axis-metric{font-size:1.8rem;margin:20px 0}.axis-evidence{display:flex;flex-direction:column;gap:8px;padding:18px;text-align:left;width:100%;background:#edf0e5;border-radius:10px;margin:10px 0;overflow-wrap:anywhere}.axis-evidence span{font-size:.8rem}[data-axis-detail]>p{line-height:1.8}[data-axis-detail] h3{margin-top:28px}@media(max-width:360px){.record-card{flex-wrap:wrap}.shelf-axis-grid{gap:8px}.shelf-axis{padding:14px 10px}}@media(max-width:24rem){.shelf-axis-grid{grid-template-columns:1fr}.recent-book{flex-wrap:wrap}}
.shelf-connection{font-size:.75rem;color:#626c5b;margin:16px 0}.shelf-settings{font-size:.8rem;border-bottom:1px solid var(--line);padding-bottom:12px}.shelf-settings summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.shelf-settings .record-controls{margin:8px 0}.shelf-settings+[data-message]{font-size:.7rem;color:var(--muted);margin-top:8px}
.response-confirm{display:flex!important;flex-direction:row!important;align-items:start;gap:10px}.response-confirm input{width:auto!important;min-width:22px;min-height:22px}.axis-evidence span{white-space:pre-wrap}
