:root{--paper:#f4f2ea;--panel:#fffef9;--ink:#232c27;--muted:#787c72;--line:#dedfd4;--red:#de5535;--blue:#3156ce;--yellow:#edc344;--green:#53735b;--sidebar:224px;--radius:10px;font-family:Arial,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}input,select,textarea{max-width:100%;color:var(--ink)}input,textarea,select{border:1px solid var(--line);border-radius:6px;background:#fffefb;padding:11px 12px}input::placeholder,textarea::placeholder{color:#919388}textarea{resize:vertical;min-height:76px}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex:none}input[type=date]{min-width:0}select{cursor:pointer}button{border:0;background:none}button[hidden],[hidden]{display:none!important}.icon{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;min-height:44px;border:1px solid transparent;border-radius:6px;font-size:13px;font-weight:600;line-height:1.5;transition:background .16s,transform .16s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--red);color:white}.btn-primary:hover{background:#c3472c}.btn-dark{background:var(--ink);color:#fffef9}.btn-dark:hover{background:#3a453d}.btn-outline{border-color:var(--line);background:var(--panel)}.btn-outline:hover{background:#edece3}.btn-ghost{color:var(--muted)}.btn-ghost:hover{color:var(--ink)}.btn-small{padding:8px 12px;min-height:38px}.btn-danger{background:#b43422;color:#fff}.text-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:8px 0}.text-link:hover{color:var(--red)}.text-link .icon{width:16px;height:16px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:6px;flex:none}.icon-btn:hover{background:#e9e8dd}.danger-text{color:#b13d2c}.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;padding:12px;background:var(--ink);color:white}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:34px 22px 24px;border-right:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:10px;align-items:center}.brand img{width:39px;height:39px}.brand strong{display:block;font-size:21px;letter-spacing:1px;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:7px}.workspace-label{color:var(--muted);font-size:10px;letter-spacing:2px;margin:53px 0 17px 12px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:6px;font-size:13px;margin-bottom:7px;transition:background .2s}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#eae9df}.nav-item.active{background:var(--ink);color:white}.nav-count{margin-left:auto;display:grid;place-items:center;width:22px;height:22px;background:#e5c54d;color:var(--ink);font-size:10px;border-radius:50%}.sidebar-bottom{margin-top:auto;padding:38px 10px 0}.sidebar-art{height:90px;position:relative;width:130px;opacity:.9}.sidebar-art i{position:absolute;width:59px;height:59px;border:1px solid var(--ink);border-radius:50%;left:25px;top:9px}.sidebar-art b{position:absolute;width:51px;height:51px;background:var(--yellow);left:54px;top:9px;border-radius:0 0 50px 0}.sidebar-art em{position:absolute;background:var(--ink);width:68px;height:2px;left:14px;top:70px;transform:rotate(-34deg)}.side-motto{font-size:12px;margin:12px 0 28px}.help-btn{display:flex;gap:9px;align-items:center;font-size:12px;padding:0;margin-bottom:22px}.help-btn .icon{width:17px;height:17px}.local-status{font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted);padding-top:18px;border-top:1px solid var(--line)}.status-dot{height:5px;width:5px;background:var(--green);border-radius:50%}.sidebar-bottom>small{color:var(--muted);font-size:9px;display:block;margin-top:8px}.app-body{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:89px;margin:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:var(--muted)}.breadcrumb strong{font-weight:400;color:var(--ink)}.breadcrumb>span{color:#b8baae}.top-actions{display:flex;align-items:center;gap:17px}.date-label{font-size:11px;color:var(--muted)}.language-btn{display:flex;align-items:center;gap:6px;font-size:11px;min-height:44px}.language-btn .icon{width:15px;height:15px}.top-add{padding:10px 15px;font-size:12px}.top-add .icon{width:17px;height:17px}main{padding:30px 38px 32px;max-width:1560px;width:100%;margin:0 auto;outline:none!important}.hero{background:#e9e9df;border:1px solid #e0e2d5;border-radius:var(--radius);display:grid;grid-template-columns:1.15fr 1fr;position:relative;overflow:hidden;min-height:297px}.hero-content{padding:32px 34px 26px;position:relative;z-index:1}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:var(--muted)}.hero .eyebrow{display:flex;gap:8px;align-items:center;letter-spacing:1px;font-size:10px;color:#626d60}.hero .eyebrow>span{display:block;width:6px;height:6px;border-radius:50%;background:var(--red)}.hero h1{font-size:38px;line-height:1.35;letter-spacing:2px;margin:18px 0 13px;font-weight:700}.hero p{font-size:11px;color:#737a6d;line-height:1.9}.hero .btn{margin-top:24px;font-size:11px;padding:10px 16px;min-height:41px}.hero .btn .icon{width:16px;height:16px;margin-left:12px}.hero-bottom{font-size:8px;letter-spacing:2px;color:#8b8f82;display:inline-block;margin-left:18px}.geometry{position:relative;min-height:310px;isolation:isolate}.geo-grid{position:absolute;width:254px;height:254px;right:18%;top:32px;background-image:linear-gradient(#cfd3c4 1px,transparent 1px),linear-gradient(90deg,#cfd3c4 1px,transparent 1px);background-size:42px 42px;opacity:.65}.geo-circle{position:absolute;width:188px;height:188px;top:30px;right:20%;border-radius:50%;background:var(--red);display:grid;place-items:center;z-index:2}.geo-circle:before,.geo-circle:after{content:"";position:absolute;border:1px solid #f3b19c;border-radius:50%;inset:19px;opacity:.6}.geo-circle:after{inset:39px}.geo-circle span{font-size:100px;color:#f8edcc;line-height:1;font-weight:400;position:relative;z-index:3;margin-top:-9px}.geo-blue{position:absolute;width:123px;height:123px;right:9%;top:160px;background:var(--blue);z-index:3}.geo-yellow{position:absolute;right:40%;top:207px;width:113px;height:80px;background:var(--yellow);border-radius:0 0 100% 0;z-index:3}.geo-line{position:absolute;width:250px;height:1px;background:#414a3e;right:12%;top:269px;transform:rotate(-42deg);z-index:4}.geo-line:before{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ink);right:0;top:-4px}.geo-caption{position:absolute;font-size:7px;line-height:1.5;letter-spacing:1.5px;right:7%;top:54px;writing-mode:vertical-rl;color:#4a5545}.geo-number{position:absolute;right:8%;bottom:19px;font-size:8px;letter-spacing:1px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0 29px}.stat{position:relative;padding:17px 20px;background:var(--panel);border:1px solid var(--line);border-radius:7px;overflow:hidden}.stat-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-label .icon{width:17px;height:17px;color:#939789}.stat-value{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.5;display:block;margin-top:6px;font-variant-numeric:tabular-nums}.stat-value small{font-size:9px;letter-spacing:0;font-weight:400;color:var(--muted);margin-left:9px}.stat-accent{position:absolute;left:0;top:18px;bottom:18px;width:3px}.red{background:var(--red)}.blue{background:var(--blue)}.green{background:var(--green)}.yellow{background:var(--yellow)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:26px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2{font-size:17px;letter-spacing:.5px}.section-head p{font-size:10px;color:var(--muted);margin-top:5px}.section-head .text-link{flex:none}.demo-hint{font-size:10px;color:var(--muted);background:#eae9df;padding:9px 12px;border-radius:5px;margin-bottom:12px}.recent-list{display:grid;gap:13px}.question-card{display:block;position:relative;width:100%;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:20px;transition:transform .16s,border-color .16s,box-shadow .16s;overflow:hidden}.question-card:hover{transform:translateY(-2px);border-color:#a4ad98;box-shadow:0 5px 15px #29362009}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.subject-tag{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#6f7468}.subject-shape{display:block;width:8px;height:8px;background:var(--red);border-radius:50%}.subject-physics .subject-shape{background:var(--blue);border-radius:0}.subject-english .subject-shape{background:var(--yellow);border-radius:0;clip-path:polygon(50% 0,100% 100%,0 100%)}.subject-chemistry .subject-shape,.subject-biology .subject-shape{background:var(--green)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;font-size:9px;padding:3px 7px;white-space:nowrap}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.status-new{background:#f4e9df;color:#a27043}.status-learning{background:#e7ebf7;color:#526aaf}.status-mastered{background:#e7eee4;color:#5e7859}.card-title{display:block;font-size:16px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.card-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.8;margin-top:9px;overflow-wrap:anywhere;min-height:40px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:9px;color:#989c8e;margin-top:19px;padding-top:11px;border-top:1px solid #eeeee5}.card-footer>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;gap:7px}.demo-label{display:inline-block;border:1px solid #d8d9cc;padding:0 4px;font-size:8px;color:#7d826f;border-radius:2px;flex:none}.due-label{display:flex;align-items:center;gap:5px;white-space:nowrap}.due-label .icon{width:12px;height:12px}.due-label .icon:last-child{margin-left:5px}.due-label.expired{color:#bf6846}.compact{padding:18px 20px}.compact .card-top{margin-bottom:8px}.compact .card-title{font-size:14px}.compact .card-reason{min-height:0;-webkit-line-clamp:1;font-size:10px;margin-top:6px}.compact .card-footer{margin-top:12px;padding-top:9px}.loop-note{display:flex;align-items:center;gap:16px;border:1px dashed #c9cebd;border-radius:7px;padding:22px;margin-top:22px}.loop-mark{font-size:46px;color:var(--green);line-height:1}.loop-note h3{font-size:13px;margin:4px 0}.loop-note p{font-size:9px;color:var(--muted)}.loop-note .eyebrow{font-size:7px}.loop-note>.icon-btn{margin-left:auto}.utility-column{display:grid;align-content:start;gap:20px}.timer-panel{border:1px solid #d9dfd0;background:#e9eddf;border-radius:8px;padding:20px}.widget-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.widget-head h2{font-size:16px;margin-top:3px}.widget-head .eyebrow{font-size:7px;letter-spacing:1.5px}.widget-head .icon-btn{width:30px;height:30px}.widget-head .icon{width:17px;height:17px}.timer-tabs{display:flex;gap:2px;background:#dfe4d5;padding:3px;border-radius:5px;margin-top:18px}.timer-tabs button{flex:1;font-size:10px;padding:7px 4px;border-radius:3px}.timer-tabs button.active{background:#fffef8;box-shadow:0 1px 4px #28302410}.timer-face{padding:21px 0 17px;display:grid;place-items:center}.timer-ring{--progress:0deg;width:158px;height:158px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;background:conic-gradient(var(--green) var(--progress),#cdd5c0 var(--progress));isolation:isolate}.timer-ring:before{content:"";position:absolute;inset:3px;background:#e9eddf;border-radius:50%;z-index:-1}.timer-ring:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--green);top:-2px;left:calc(50% - 4px)}.timer-digits{font-size:39px;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.5}.timer-mode-label{font-size:8px;letter-spacing:2px;color:#858e78}.timer-controls{display:flex;align-items:center;gap:10px}.timer-controls .btn{flex:1;font-size:11px;padding:9px 8px}.timer-controls .icon-btn{border:1px solid #cdd5c2}.timer-controls .icon{width:16px;height:16px}.timer-caption{font-size:8px;color:#8b927e;text-align:center;margin-top:13px}.todo-panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:20px}.todo-count{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.todo-date{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:9px;color:var(--muted);margin-top:18px}.todo-date input{background:transparent;border:0;padding:3px 0;font-size:10px;max-width:137px}.todo-list{padding:0;margin:9px 0;list-style:none;max-height:270px;overflow:auto}.todo-list li{display:flex;align-items:center;gap:5px;border-bottom:1px solid #eeeee6;padding:9px 0}.todo-list label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:11px;overflow-wrap:anywhere;cursor:pointer}.todo-list input{margin:0;width:15px;height:15px}.todo-list .done label span{text-decoration:line-through;color:#929689}.todo-delete{width:26px;height:30px;flex:none;display:grid;place-items:center;color:#9b9e91}.todo-delete .icon{width:14px;height:14px}.todo-delete:hover{color:var(--red)}.todo-list .todo-empty{font-size:10px;color:#999e8d;min-height:50px;justify-content:center;text-align:center}.todo-form{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;margin-top:15px;padding:0 2px 0 8px}.todo-form input{border:0;background:none;outline-offset:0;width:100%;padding:9px 0;font-size:10px;min-width:0}.todo-form .icon-btn{width:30px;height:30px}.todo-form .icon{width:16px;height:16px}.app-footer{margin:auto 38px 0;border-top:1px solid var(--line);padding:21px 0;display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#95998b;letter-spacing:1px}.footer-dot{font-size:5px;color:var(--red);margin:0 8px}.network-status{display:flex;align-items:center;gap:5px;letter-spacing:0}.network-status .icon{width:12px;height:12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:13px 0 30px}.page-heading h1{font-size:29px;letter-spacing:1px;line-height:1.5;margin-top:11px}.page-heading p{font-size:12px;color:var(--muted);margin-top:9px}.heading-count{display:inline-block;font-size:14px;margin-left:13px;vertical-align:middle;line-height:30px;padding:0 10px;border-radius:6px;background:#e6e8dc;color:var(--green);letter-spacing:0}.filter-bar{display:flex;gap:10px;align-items:center}.search-field{display:flex;align-items:center;gap:10px;flex:1;min-width:150px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:0 12px}.search-field .icon{width:17px;height:17px;color:var(--muted)}.search-field input{border:0;background:none;width:100%;min-width:0;outline-offset:0;font-size:12px;padding:12px 0}.filter-bar select{font-size:11px;max-width:180px;padding:12px 8px;background:var(--panel)}.result-count{font-size:10px;color:var(--muted);margin:20px 0 13px}.notebook-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.notebook-grid>.empty-state{grid-column:1/-1}.empty-state{border:1px dashed #cdd2c1;background:#efefe5;border-radius:8px;min-height:335px;padding:36px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state h3{font-size:16px;margin:20px 0 9px;line-height:1.6}.empty-state p{font-size:11px;color:var(--muted);max-width:390px}.empty-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:23px}.empty-art{height:64px;width:90px;position:relative;display:block}.empty-art i{height:44px;width:44px;background:var(--red);border-radius:50%;position:absolute;top:0;left:0}.empty-art b{height:44px;width:35px;background:var(--blue);position:absolute;top:18px;right:11px}.empty-art em{height:23px;width:42px;background:var(--yellow);position:absolute;bottom:0;left:5px;border-radius:0 0 100% 0}.review-banner{display:flex;align-items:center;gap:24px;padding:30px;background:#e8eadf;border:1px solid #d8ddce;border-radius:9px;margin-bottom:25px}.review-orbit{width:86px;height:86px;border:1px solid #c3cebc;border-radius:50%;font-size:54px;display:grid;place-items:center;color:var(--green)}.review-banner>div:nth-child(2){display:flex;flex-direction:column}.review-banner strong{font-size:42px;font-variant-numeric:tabular-nums;line-height:1.2}.review-banner span{font-size:11px;color:var(--muted);margin-top:7px}.review-today{margin-left:auto;font-size:10px;color:var(--muted);text-align:right}.review-today b{display:block;color:var(--green);font-size:26px}.review-empty{min-height:260px}.review-empty>.icon{width:45px;height:45px;color:var(--green);margin-bottom:18px}.review-empty h2{font-size:20px}.review-empty p{margin:10px 0 20px}.review-explainer{display:grid;grid-template-columns:repeat(3,1fr);margin-top:30px;border-top:1px solid var(--line);padding-top:22px;gap:20px}.review-explainer>div{display:flex;gap:10px;align-items:center;font-size:10px;flex-wrap:wrap}.review-explainer .step-number{font-size:17px;color:#a3ab94}.review-explainer>div>span:last-child{color:var(--muted);margin-left:auto}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:26px;position:relative}.settings-card h2{font-size:18px;margin:8px 0 12px}.settings-card p{font-size:12px;color:var(--muted);line-height:1.9}.section-index{font-size:10px;color:#a1a68f;letter-spacing:2px}.backup-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.backup-buttons .btn{font-size:11px}.info-note{padding:14px;background:#eeeee4;border-radius:6px;font-size:11px;line-height:1.9;color:#777f69;display:flex;gap:10px}.info-note .icon{width:16px;height:16px;margin-top:3px}.data-meta{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);margin-top:22px}.data-meta b{display:block;color:var(--ink);font-size:10px;font-weight:400;margin-top:4px}.interval-fields{display:flex;flex-direction:column;gap:13px;margin:21px 0}.interval-fields label{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:15px}.interval-fields label>span{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.interval-fields input{width:70px;padding:7px 8px;text-align:center;font-size:13px}.settings-card .small-note,.small-note{font-size:10px;color:var(--muted);line-height:1.8;margin:14px 0 20px}.privacy-card{background:#e8ecdf}.privacy-card>.icon{height:30px;width:30px;color:var(--green);margin:8px 0}.privacy-tags{display:flex;gap:10px;margin-top:24px}.privacy-tags span{border:1px solid #becbb2;border-radius:3px;font-size:8px;padding:4px 9px;letter-spacing:1px}.inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.inline-actions .btn{font-size:11px}.danger-zone{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:18px;font-size:10px;color:var(--muted)}.danger-zone .text-link{font-size:10px}.storage-warning{background:#fff0dc;border:1px solid #d7ae71;padding:15px;border-radius:6px;font-size:12px;margin-bottom:20px}.storage-warning .btn{margin:10px 8px 0 0}.modal{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:0;width:calc(100% - 32px);max-width:540px;max-height:90dvh;box-shadow:0 25px 80px #182d2530;overscroll-behavior:contain}.modal.wide{max-width:760px}.modal::backdrop{background:#1e2b2666;backdrop-filter:blur(3px)}.modal-inner{padding:27px 30px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.modal-heading h2{font-size:22px;line-height:1.5;overflow-wrap:anywhere;margin-top:6px}.modal-heading .icon-btn{margin-top:1px}.modal-heading .eyebrow{font-size:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:11px;font-weight:600}.field>span small{font-size:8px;color:var(--red);font-weight:400;margin-left:4px}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}.sticky-actions{position:sticky;bottom:-27px;background:var(--panel);padding:18px 0;margin-bottom:-8px;border-top:1px solid var(--line)}.detail-meta{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:-8px}.content-label{font-size:10px;color:#7d866f;letter-spacing:.5px;font-weight:600}.question-content{padding:24px 0;margin:14px 0 4px;border-top:1px solid var(--line)}.question-content p,.answer-block p,.reflection-grid p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;margin-top:10px}.answer-block{padding:22px;background:#eef1e5;border-left:3px solid var(--green);border-radius:0 6px 6px 0}.reflection-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 0}.reflection-grid p{font-size:12px;color:#68745e}.reveal-btn{width:100%;margin:5px 0 22px}.review-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 25px}.result-btn{display:flex;flex-direction:column;gap:7px;align-items:center;border:1px solid #cbd6c0;border-radius:7px;padding:16px 8px;background:#edf2e8}.result-btn:hover{filter:brightness(.96)}.result-btn strong{font-size:12px}.result-btn small{font-size:9px;color:#7a856c}.result-hint{border-color:#c6cde3;background:#eaf0fc}.result-again{border-color:#ebd4c1;background:#f8eee2}.history{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;font-size:11px}.history summary{cursor:pointer;display:list-item;list-style-position:inside}.history summary span{float:right;color:var(--muted)}.history>p{padding:15px;color:var(--muted)}.history ol{margin:10px 0 0;padding:0;list-style:none}.history li{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:13px 0;font-size:10px;flex-wrap:wrap}.history li span,.history li small{color:var(--muted)}.history li small{margin-left:auto}.detail-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:23px}.confirm-body{font-size:13px;line-height:2;color:var(--muted)}.typed-label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-top:20px}.duration-fields{display:flex;flex-direction:column;gap:15px}.help-steps{padding:0;list-style:none;margin:25px 0}.help-steps li{display:flex;align-items:flex-start;gap:16px;margin:16px 0}.help-steps li>span{font-size:21px;color:#99a38a;line-height:1.5}.help-steps p{font-size:12px;line-height:1.9;margin-top:3px}.import-summary{margin-top:20px;padding:14px 20px;background:#efefe4;border-radius:6px;color:var(--muted);font-size:12px}.import-summary strong{color:var(--ink);font-size:23px;margin-right:5px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);max-width:calc(100% - 40px);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;box-shadow:0 6px 25px #182e2333;font-size:12px;line-height:1.7;opacity:0;pointer-events:none;z-index:999;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}html[lang=en] .hero h1{font-size:39px;letter-spacing:-1px;line-height:1.25}html[lang=en] .hero-content{padding-right:0}html[lang=en] .hero-bottom{display:block;margin:15px 0 0;font-size:7px}html[lang=en] .brand strong{letter-spacing:-.5px}html[lang=en] .brand small{font-size:6px;letter-spacing:1px}html[lang=en] .section-head h2{font-size:16px}html[lang=en] .section-head p{font-size:9px}html[lang=en] .page-heading h1{letter-spacing:-.5px}
@media(min-width:1550px){:root{--sidebar:250px}.sidebar{padding:38px 27px}.hero{min-height:340px}.hero h1{font-size:44px}.hero-content{padding:38px 40px}.geometry{transform:scale(1.06);transform-origin:center}.dashboard-grid{grid-template-columns:minmax(0,1fr) 345px}.stat{padding:20px 24px}.hero p{font-size:13px}.compact .card-title{font-size:16px}.compact .card-reason{font-size:12px}}
@media(max-width:1150px){:root{--sidebar:195px}.sidebar{padding:28px 15px}.brand strong{font-size:18px}.brand img{width:33px;height:33px}.topbar{margin:0 25px}.date-label{display:none}main{padding:25px}.hero-content{padding:27px}.hero h1{font-size:31px}.hero-bottom{display:block;margin:13px 0 0}.geo-circle{width:155px;height:155px;right:20%;top:40px}.geo-circle span{font-size:83px}.geo-blue{width:98px;height:98px;top:172px;right:5%}.geo-yellow{top:204px;right:43%;width:91px;height:65px}.geo-grid{right:5%;width:220px;height:255px}.geo-line{right:1%;width:220px}.geo-caption{right:3%}.dashboard-grid{grid-template-columns:minmax(0,1fr) 275px;gap:20px}.section-head h2{font-size:15px}.section-head .text-link{font-size:10px}.stat{padding:15px}.stats{gap:12px}.stat-value{font-size:29px}.filter-bar{flex-wrap:wrap}.search-field{flex-basis:100%}.filter-bar select{flex:1;max-width:none}.settings-card{padding:22px}.app-footer{margin:0 25px}.loop-note{padding:17px;gap:10px}.loop-note h3{font-size:12px}.loop-note p{font-size:8px}html[lang=en] .hero h1{font-size:33px}html[lang=en] .heroSub{font-size:10px}}
@media(max-width:950px) and (min-width:761px){:root{--sidebar:178px}.sidebar{padding:28px 12px}.brand{gap:7px}.brand strong{font-size:17px}.brand img{width:30px;height:30px}.brand small{font-size:7px}.workspace-label{font-size:8px;margin-left:9px}.nav-item{font-size:12px;padding:12px 10px;gap:9px}.dashboard-grid{grid-template-columns:1fr}.utility-column{grid-template-columns:1fr 1fr;align-items:start}.hero{grid-template-columns:1.25fr 1fr}.geometry{opacity:.85}.hero-content{padding:23px}.hero h1{font-size:29px}.hero p{font-size:10px}.hero .btn{font-size:10px}.hero .eyebrow{font-size:8px}.geo-circle{right:13%;width:132px;height:132px;top:51px}.geo-blue{width:81px;height:101px;right:8%}.geo-yellow{right:45%;width:77px;height:64px;top:196px}.geo-grid{width:169px;right:3%}.geo-caption{display:none}.geo-line{width:177px;right:0}.notebook-grid{gap:12px}.question-card{padding:16px}.card-title{font-size:14px}.settings-grid{grid-template-columns:1fr}.review-explainer{gap:12px}.review-explainer>div{flex-direction:column;align-items:flex-start}.review-explainer>div>span:last-child{margin-left:0}html[lang=en] .hero h1{font-size:29px}html[lang=en] .hero p{font-size:10px}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{position:fixed;top:auto;right:0;bottom:0;left:0;width:100%;height:auto;min-height:66px;padding:0 12px env(safe-area-inset-bottom);border:0;border-top:1px solid #d6dbcd;background:#f8f7efed;backdrop-filter:blur(16px);z-index:40}.sidebar .brand,.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);width:100%;gap:4px}.nav-item{font-size:10px;gap:5px;flex-direction:column;margin:0;padding:10px 4px 9px;border-radius:0;min-height:65px;position:relative}.nav-item.active{color:var(--ink);background:none}.nav-item.active:before{content:"";position:absolute;top:0;left:calc(50% - 15px);width:30px;height:3px;background:var(--red);border-radius:0 0 3px 3px}.nav-item.active .icon{color:var(--red)}.nav-item .icon{width:20px;height:20px}.nav-count{position:absolute;left:calc(50% + 4px);top:5px;width:16px;height:16px;font-size:8px}.app-body{margin:0;min-height:100dvh;padding-bottom:calc(66px + env(safe-area-inset-bottom))}.topbar{height:73px;margin:0 20px;gap:10px}.breadcrumb{font-size:0;gap:0}.breadcrumb>span{display:none}.breadcrumb strong{font-size:18px;letter-spacing:1px;font-weight:600}.top-actions{gap:15px}.language-btn{font-size:11px}.top-add{font-size:10px;padding:9px 10px;min-height:36px;gap:5px}.top-add .icon{width:15px;height:15px}main{padding:20px}.hero{grid-template-columns:1.25fr 1fr;min-height:277px}.hero-content{padding:23px 0 20px 23px}.hero h1{font-size:28px;letter-spacing:.5px;margin:16px 0 12px}.hero p{font-size:10px;max-width:230px;line-height:1.8}.hero .eyebrow{font-size:8px;letter-spacing:.3px}.hero .btn{font-size:10px;gap:6px;min-height:36px;padding:9px 12px;margin-top:18px}.hero .btn .icon{margin-left:4px;width:14px;height:14px}.hero-bottom{font-size:7px;letter-spacing:1px;margin-top:12px}.geometry{min-height:270px;overflow:hidden}.geo-circle{right:-8px;top:35px;width:139px;height:139px}.geo-circle span{font-size:76px}.geo-blue{right:8px;top:155px;width:75px;height:99px}.geo-yellow{right:70px;top:199px;width:71px;height:55px}.geo-grid{top:30px;right:-5px;width:159px;height:225px;background-size:32px 32px}.geo-caption{display:none}.geo-line{right:-6px;top:225px;width:173px}.geo-number{bottom:9px;font-size:6px}.stats{grid-template-columns:repeat(4,1fr);gap:9px;margin:16px 0 24px}.stat{padding:12px 10px;border-radius:6px}.stat-label{font-size:9px}.stat-label .icon{display:none}.stat-value{font-size:25px;margin-top:6px;line-height:1.25}.stat-value small{font-size:7px;margin-left:3px;display:inline}.stat-accent{top:12px;bottom:12px;width:2px}.dashboard-grid{grid-template-columns:1fr;gap:23px}.section-head{margin-bottom:15px}.section-head h2{font-size:16px}.section-head p{font-size:10px}.compact{padding:17px 18px}.compact .card-title{font-size:15px}.compact .card-reason{font-size:11px}.card-footer{font-size:9px}.utility-column{grid-template-columns:1fr 1fr;gap:16px}.timer-panel,.todo-panel{padding:17px}.widget-head h2{font-size:14px}.widget-head .eyebrow{font-size:6px;letter-spacing:1px}.timer-tabs{margin-top:14px}.timer-tabs button{font-size:9px}.timer-ring{width:132px;height:132px}.timer-digits{font-size:32px}.timer-controls{gap:6px}.timer-controls .btn{font-size:10px}.timer-controls .icon-btn{width:34px}.timer-caption{font-size:7px}.todo-date{flex-wrap:wrap}.todo-date input{font-size:9px}.todo-form input{font-size:9px}.todo-list label{font-size:10px}.todo-empty{line-height:1.9}.loop-note{margin-top:18px}.app-footer{margin:0 20px;font-size:7px;padding:20px 0}.page-heading{margin:7px 0 23px;align-items:flex-start}.page-heading h1{font-size:26px;margin-top:9px}.page-heading p{font-size:11px}.page-heading>.btn{font-size:10px;flex:none;margin-top:27px;padding:8px 10px;gap:6px}.page-heading>.btn .icon{width:14px;height:14px}.filter-bar{gap:7px}.filter-bar select{padding:10px 4px;font-size:10px;min-width:0}.search-field input{font-size:11px}.notebook-grid{gap:12px}.question-card{padding:17px}.card-title{font-size:14px}.card-reason{font-size:10px}.badge{font-size:8px}.card-top{gap:5px}.subject-tag{font-size:9px}.notebook-grid .card-footer{flex-direction:column;align-items:flex-start;gap:8px}.notebook-grid .due-label{align-self:flex-end}.review-banner{padding:24px;gap:18px}.review-orbit{width:65px;height:65px;font-size:43px}.review-banner strong{font-size:34px}.review-today{font-size:8px}.review-explainer{gap:12px}.review-explainer>div{flex-direction:column;align-items:flex-start;gap:5px;font-size:9px}.review-explainer>div>span:last-child{margin-left:0}.settings-grid{grid-template-columns:1fr;gap:18px}.settings-card{padding:23px}.settings-card h2{font-size:17px}.settings-card p{font-size:11px}.empty-state{min-height:295px;padding:28px 20px}.empty-state h3{font-size:15px}.empty-state p{font-size:11px}.modal-inner{padding:22px}.modal-heading h2{font-size:20px}.modal{max-height:92dvh}.modal-actions .btn{font-size:12px}.form-grid{gap:15px}.field input,.field textarea,.field select{font-size:16px;padding:10px}.field>span{font-size:11px}.sticky-actions{bottom:-22px}.question-content p,.answer-block p{font-size:14px}.review-results{gap:7px}.result-btn strong{font-size:10px}.result-btn small{font-size:8px}.result-btn{padding:13px 5px}.reflection-grid{gap:15px}.reflection-grid p{font-size:11px}.history li{gap:8px}.history li small{margin:0}.detail-actions .btn,.detail-actions .text-link{font-size:11px}#toast{bottom:calc(83px + env(safe-area-inset-bottom));width:max-content;font-size:11px}html[lang=en] .hero h1{font-size:30px;line-height:1.2}html[lang=en] .hero p{font-size:10px}html[lang=en] .hero-bottom{font-size:6px;letter-spacing:.8px}html[lang=en] .hero-content{padding-left:20px}html[lang=en] .nav-item{font-size:9px}html[lang=en] .section-head h2{font-size:15px}html[lang=en] .page-heading h1{font-size:26px}}
@media(max-width:480px){.utility-column{grid-template-columns:1fr}.timer-panel{padding:22px}.timer-ring{width:157px;height:157px}.timer-digits{font-size:39px}.timer-tabs button{font-size:11px}.timer-controls .btn{font-size:12px}.timer-controls .icon-btn{width:40px}.timer-caption{font-size:9px}.widget-head h2{font-size:17px}.widget-head .eyebrow{font-size:7px}.todo-panel{padding:22px}.todo-form input{font-size:16px}.todo-list label{font-size:12px}.todo-date{flex-wrap:nowrap}.todo-date input{font-size:12px}.notebook-grid{grid-template-columns:1fr}.notebook-grid .card-footer{flex-direction:row;align-items:center}.card-title{font-size:15px}.card-reason{font-size:11px}.page-heading h1{font-size:24px}.page-heading>.btn{font-size:9px}.review-banner{padding:22px 18px;gap:13px}.review-today{max-width:85px}.reflection-grid{grid-template-columns:1fr}.review-results{grid-template-columns:1fr}.result-btn{flex-direction:row;gap:9px;padding:12px}.result-btn strong{font-size:12px}.result-btn small{margin-left:auto}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.empty-actions .btn{font-size:11px}.hero{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);min-height:279px}.hero h1{font-size:26px;white-space:nowrap}.hero p{position:relative;z-index:4;width:222px;font-size:9px}.hero-content{padding-left:20px}.geometry{opacity:.85}.geo-circle{right:-28px;top:49px;width:122px;height:122px}.geo-blue{right:7px;top:164px;width:64px;height:91px}.geo-yellow{right:58px;top:207px;width:57px;height:48px}.geo-grid{right:-18px;width:135px}.geo-line{right:-20px;top:226px;width:145px}.geo-circle span{font-size:69px}.hero .eyebrow{white-space:nowrap;font-size:7px}.app-footer{letter-spacing:.3px}.footer-dot{margin:0 4px}.stat-value{font-size:25px}.stat-value small{display:block;margin:4px 0 0}.stat{padding:12px 11px}.stat-label{white-space:nowrap;font-size:9px}html[lang=en] .hero{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}html[lang=en] .hero h1{font-size:27px;white-space:normal;width:240px}html[lang=en] .hero p{font-size:9px;width:245px;text-shadow:0 0 8px #e9e9df}html[lang=en] .geometry{opacity:.45}html[lang=en] .stat-label{font-size:8px}html[lang=en] .top-add{font-size:9px}html[lang=en] .top-actions{gap:10px}html[lang=en] .section-head h2{font-size:13px}}
@media(max-width:359px){main{padding:16px}.topbar{margin:0 16px}.hero h1{font-size:23px}.hero-content{padding-left:17px}.geo-circle{right:-38px}.stats{gap:6px}.stat{padding:11px 8px}.stat-label{font-size:8px}.stat-value{font-size:23px}.breadcrumb strong{font-size:16px}.top-actions{gap:8px}.hero p{font-size:8px}.hero .btn{padding:9px;font-size:9px}.filter-bar select{font-size:9px}.review-banner{gap:10px}.review-orbit{width:50px;height:50px;font-size:36px}.page-heading{gap:10px}.page-heading>.btn{font-size:8px}.app-footer{margin:0 16px}html[lang=en] .hero h1{font-size:25px;width:210px}html[lang=en] .hero p{width:220px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.app-footer,.utility-column,.filter-bar,.modal-actions,.detail-actions,.review-results{display:none}.app-body{margin:0;padding:0}.hero{background:white}.geometry{display:none}.dashboard-grid{display:block}.question-card{break-inside:avoid;box-shadow:none}main{padding:0}.modal[open]{position:static;width:100%;max-height:none;max-width:none;box-shadow:none;border:0}.modal::backdrop{display:none}body:has(.modal[open]) #app{display:none}}

/* Dedicated tools live in navigation, leaving the overview focused on review. */
.dashboard-grid{display:block}.recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-list>.empty-state{grid-column:1/-1}.loop-note{margin-top:24px}.tool-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:28px;align-items:start;max-width:1120px;margin:10px auto 35px}.tool-layout>.timer-panel,.tool-layout>.todo-panel{padding:32px}.focus-workspace .timer-face{padding:32px 0}.focus-workspace .timer-ring{width:245px;height:245px}.focus-workspace .timer-digits{font-size:61px}.focus-workspace .timer-mode-label{font-size:11px}.focus-workspace .timer-tabs{margin-top:25px}.focus-workspace .timer-tabs button{font-size:12px;min-height:40px}.focus-workspace .timer-controls .btn{font-size:14px;min-height:49px}.focus-workspace .timer-controls .icon-btn{width:49px;height:49px}.focus-workspace .timer-caption{font-size:10px}.tool-layout .widget-head h2{font-size:23px}.tool-layout .widget-head .eyebrow{font-size:8px}.tool-note{border:1px solid var(--line);border-radius:9px;padding:32px;background:var(--panel)}.tool-note h2{font-size:21px;line-height:1.7;margin:15px 0}.tool-note>p{font-size:12px;color:var(--muted);line-height:2}.tool-note-art{height:120px;position:relative;margin-bottom:27px}.tool-note-art i{position:absolute;width:100px;height:100px;border-radius:50%;background:var(--red);top:0;left:0}.tool-note-art b{position:absolute;width:68px;height:68px;background:var(--blue);top:54px;left:75px}.tool-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);margin-top:25px;padding-top:20px;font-size:10px;color:var(--muted)}.tool-summary strong{display:block;font-size:26px;color:var(--ink);margin-top:7px}.tool-summary small{font-size:9px;font-weight:400}.tasks-workspace .todo-list{max-height:none;margin-top:20px}.tasks-workspace .todo-list li{min-height:55px}.tasks-workspace .todo-list label{font-size:14px;line-height:1.8}.tasks-workspace .todo-list input{width:18px;height:18px}.tasks-workspace .todo-delete{width:44px;height:44px}.tasks-workspace .todo-date{font-size:11px;margin-top:25px}.tasks-workspace .todo-date input{font-size:13px;max-width:170px}.tasks-workspace .todo-form{padding:4px 6px 4px 13px}.tasks-workspace .todo-form input{font-size:14px}.tasks-workspace .todo-form .icon-btn{width:42px;height:42px}.tasks-workspace .todo-empty{min-height:150px!important;font-size:12px!important}.task-note-mark{font-size:82px;line-height:1;width:120px;height:120px;background:var(--yellow);border-radius:50%;display:grid;place-items:center;margin-bottom:30px}.tasks-workspace .todo-count{font-size:15px}
@media(max-width:1100px){.tool-layout{gap:20px;grid-template-columns:minmax(0,1.4fr) minmax(210px,1fr)}.tool-layout>.timer-panel,.tool-layout>.todo-panel,.tool-note{padding:25px}.tool-note h2{font-size:18px}.focus-workspace .timer-ring{width:215px;height:215px}.focus-workspace .timer-digits{font-size:53px}}
@media(max-width:950px) and (min-width:761px){.tool-layout{grid-template-columns:1fr}.tool-note-art,.task-note-mark{display:none}.tool-note{max-width:none}.tool-summary{margin-top:17px}.recent-list{grid-template-columns:1fr}.sidebar-bottom{padding-top:20px}.workspace-label{margin-top:38px}.nav-item{margin-bottom:4px}}
@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.sidebar{padding-left:5px;padding-right:5px}.nav-item{font-size:9px;padding-left:1px;padding-right:1px}.nav-item span:not(.nav-count){white-space:nowrap}.nav-item .icon{width:19px;height:19px}html[lang=en] .nav-item{font-size:8px}.recent-list{grid-template-columns:1fr}.tool-layout{grid-template-columns:1fr;gap:20px;margin-bottom:12px}.tool-layout>.timer-panel,.tool-layout>.todo-panel{padding:25px}.tool-note-art,.task-note-mark{display:none}.tool-note{padding:23px}.tool-note h2{font-size:17px}.focus-workspace .timer-ring{width:225px;height:225px}.focus-workspace .timer-digits{font-size:54px}.focus-workspace .timer-tabs button{min-height:41px}.tasks-workspace .todo-form input{font-size:16px}.tasks-workspace .todo-list label{font-size:13px}.tool-summary strong{font-size:23px}.tool-summary{margin-top:20px;padding-top:17px}}
@media(max-width:359px){.nav-item{font-size:8px}html[lang=en] .nav-item{font-size:7px}.focus-workspace .timer-ring{width:200px;height:200px}.focus-workspace .timer-digits{font-size:49px}}
/* Camera and local photo input */
.photo-picker{grid-column:1/-1;border:1px dashed #bcc8b1;background:#f1f3e9;padding:18px;border-radius:8px}.photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600}.photo-count{font-size:10px;color:var(--muted);font-weight:400}.photo-pick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.photo-pick-actions .btn{font-size:12px;background:var(--panel)}.photo-pick-actions .icon{width:18px;height:18px}.photo-help{font-size:10px;line-height:1.9;color:#78846a;margin-top:12px}.photo-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.photo-previews:not(:empty){margin-top:16px}.photo-item{margin:0;position:relative;min-width:0}.photo-open{display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;width:100%;height:107px;background:var(--panel)}.photo-open img{display:block;width:100%;height:100%;object-fit:contain}.photo-open>span{font-size:10px;color:var(--muted)}.photo-item figcaption{font-size:9px;color:var(--muted);padding-top:6px}.photo-remove{position:absolute;right:4px;top:4px;width:30px;height:30px;display:grid;place-items:center;background:#fffef9ed;border:1px solid #d7decd;border-radius:50%;color:#734b40}.photo-remove .icon{width:15px;height:15px}.photo-status{font-size:11px;color:var(--red);line-height:1.8;margin-top:9px}.photo-status:empty{display:none}.detail-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.detail-photo{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px;min-height:160px;border:1px solid var(--line);border-radius:7px;background:#f1f2e8;font-size:11px;gap:9px;overflow-wrap:anywhere}.detail-photo img{width:100%;max-height:300px;object-fit:contain}.detail-photo span{font-size:10px;color:var(--muted)}.full-photo{display:block;max-width:100%;width:100%;height:auto;max-height:72dvh;object-fit:contain}.photo-viewer{max-width:1050px!important}.photo-badge{display:inline-flex;align-items:center;gap:3px;color:var(--green);font-size:9px}.photo-badge .icon{width:13px;height:13px}.photo-picker[aria-busy=true]{opacity:.7}
@media(max-width:760px){.photo-picker{padding:15px}.photo-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-open{height:132px}.photo-remove{width:40px;height:40px}.photo-pick-actions .btn{min-height:46px;font-size:11px;flex:1;min-width:120px}.photo-help{font-size:11px}.detail-photos{grid-template-columns:1fr}.detail-photo img{max-height:380px}.photo-status{font-size:11px}.photo-viewer .modal-inner{padding:16px}}

.answer-entry{grid-column:1/-1;display:flex;flex-direction:column;gap:14px;min-width:0}.answer-entry .photo-picker{background:#eef1e5;border-color:#afbea3}.answer-block .detail-photo{background:var(--panel)}
/* Dedicated practice-paper workflow. Learning storage remains schema 3. */
.notebook-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.notebook-actions .btn{font-size:11px}.print-selection-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;margin:18px 0 0;background:#e8eddf;border:1px solid #cbd6bf;border-radius:7px;font-size:12px}.print-selection-bar>div{display:flex;gap:6px;flex-wrap:wrap}.question-choice{min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--panel);overflow:hidden}.question-choice.chosen{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.question-choice>label{display:flex;align-items:center;gap:9px;padding:10px 16px;border-bottom:1px solid var(--line);font-size:11px;cursor:pointer}.question-choice .question-card{width:100%;border:0;border-radius:0;box-shadow:none}.print-composer{max-width:1080px!important}.print-intro{font-size:12px;color:var(--muted);margin-top:7px}.print-safety{padding:15px 18px;border-left:3px solid var(--blue);background:#eef1f7;font-size:12px;line-height:1.9;border-radius:0 6px 6px 0}.print-status{font-size:12px;color:var(--green);margin:15px 0;line-height:1.8}.paper-options{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:16px;padding:18px 0 22px}.paper-options input,.paper-options select{width:100%;font-size:13px}.paper-new-page{grid-column:1/-1;font-size:12px;display:flex;gap:9px;align-items:center}.paper-new-page input{width:18px}.paper-question-list{display:flex;flex-direction:column;gap:18px}.paper-question{padding:20px;border:1px solid var(--line);border-radius:9px;background:#f6f6ee;min-width:0}.paper-question-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px;font-size:12px}.paper-question-head strong{color:var(--green);letter-spacing:.5px}.paper-question-head>div{display:flex;gap:5px}.paper-question-head .btn{padding:4px;width:38px;min-height:36px}.paper-question>.field{margin:12px 0}.paper-question>.field input,.paper-question>.field textarea{font-size:13px}.paper-image-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.paper-image-check{padding:12px;background:white;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;gap:10px;align-items:center}.paper-image-check img{width:100%;height:180px;object-fit:contain}.paper-image-check .btn{font-size:11px;padding:8px 12px}.paper-image-check small{font-size:10px;color:#987047}.paper-confirm{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;margin:18px 0 0;cursor:pointer}.paper-confirm input{margin:2px 0;flex:none}.paper-local-note{font-size:11px;line-height:1.8;color:var(--muted);margin:18px 0}.paper-actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.paper-actions [data-paction=preview]{background:var(--ink);color:white}.paper-actions [data-paction=pdf]{background:var(--green);color:white}.paper-preview{padding:18px;background:#e5e8df;border-radius:8px;margin:20px 0}.paper-page-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.paper-page-nav .btn{padding:7px 12px;font-size:11px}.paper-page-count{font-size:12px;font-variant-numeric:tabular-nums}.paper-preview-scaler{width:100%;max-width:min(794px,48vh);margin:auto;position:relative;overflow:hidden;background:white;box-shadow:0 4px 20px #23322615}.paper-preview-frame{border:0;width:793.7008px;height:1122.5197px;transform-origin:0 0;display:block;position:absolute;top:0;left:0}.crop-editor{max-width:880px!important}.crop-help{font-size:12px;color:var(--muted);line-height:1.9}.crop-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:17px 0;font-size:12px}.crop-toolbar .btn{font-size:12px;padding:8px 14px}.crop-toolbar .btn[aria-pressed=true]{background:var(--ink);color:white}.crop-toolbar label{margin-left:auto}.crop-toolbar select{font-size:12px;padding:8px}.crop-canvas-wrap{background:#dddcd2;border:1px solid var(--line);border-radius:6px;min-height:150px;display:flex;justify-content:center;align-items:center;padding:12px}.crop-canvas{max-width:100%;height:auto;touch-action:none;cursor:crosshair;display:block}.crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.crop-fields label{display:flex;flex-direction:column;gap:6px;font-size:11px}.crop-fields input{width:100%;font-size:14px;padding:9px}.crop-status{font-size:12px;color:var(--red)}
@media(max-width:760px){.notebook-actions{gap:6px;max-width:190px}.notebook-actions .btn{font-size:10px;padding:9px 10px;min-height:38px}.page-heading:has(.notebook-actions){gap:10px}.print-selection-bar{align-items:flex-start;flex-direction:column;padding:12px;font-size:11px}.print-selection-bar .btn{font-size:10px;min-height:40px}.print-safety{font-size:11px;padding:12px}.print-intro{font-size:11px}.paper-options{grid-template-columns:1fr}.paper-options input,.paper-options select,.paper-question>.field input,.paper-question>.field textarea{font-size:16px}.paper-question{padding:14px}.paper-question-head .btn{width:40px;min-height:40px}.paper-image-checks{grid-template-columns:1fr}.paper-confirm{font-size:12px}.paper-confirm input{width:20px;height:20px}.paper-actions{flex-direction:column}.paper-actions .btn{width:100%}.paper-preview{padding:10px}.paper-page-nav .btn{font-size:10px;padding:7px 9px}.crop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.crop-fields input{font-size:16px}.crop-toolbar label{margin-left:0}.crop-canvas-wrap{padding:6px}}
@media print{#reveal-content,.answer-block,.reflection-grid,.card-reason,.history,.review-results,.detail-meta,.badge,.card-footer,.print-selection-bar,.notebook-actions{display:none!important}body:has(.print-composer) #modal-root{display:none!important}}
/* Incremental companions and progress; all art is original SVG/CSS. */
.my-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.progress-summary{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 24px;border:1px solid var(--line);border-radius:8px;background:#e9eee2;margin-bottom:26px}.progress-summary h2{font-size:18px;margin:5px 0}.progress-summary p{font-size:12px;color:var(--muted)}.pet-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:26px;margin:15px 0 38px}.pet-room{position:relative;isolation:isolate;padding:26px 28px;text-align:center;border:1px solid #d2d5c6;border-radius:100px 100px 10px 10px;background:#e8eddf;overflow:hidden}.pet-room>*:not(.room-window):not(.room-shelf){position:relative}.room-window{position:absolute;right:10%;top:9%;width:90px;height:110px;background:linear-gradient(90deg,transparent 48%,#e7ddc9 48% 52%,transparent 52%),linear-gradient(0deg,#c9d9da 49%,#e7ddc9 49% 52%,#d5e2db 52%);border:8px solid #e7ddc9;border-radius:50px 50px 0 0;z-index:-1}.room-shelf{position:absolute;left:9%;top:38%;width:85px;height:6px;background:#b59e79;z-index:-1;box-shadow:0 6px 0 #b59e7925}.room-shelf:before{content:'';position:absolute;bottom:6px;left:12px;width:13px;height:32px;background:#aab7a3;box-shadow:17px -6px #c08a69,34px 2px #e2ca82}.room-caption{font-size:11px;color:#687459;letter-spacing:2px}.pet-stage{width:230px;max-width:90%;margin:30px auto 10px;transform-origin:50% 90%}.pet-art{display:block;width:100%;max-height:280px}.pet-room h2{font-size:23px}.pet-speech{min-height:52px;padding:12px 0;font-size:13px;color:#67735e;overflow-wrap:anywhere}.pet-interactions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.pet-interactions .btn{font-size:12px}.xp-label{display:flex;justify-content:space-between;font-size:11px;margin:22px 0 8px}.pet-room progress{width:100%;height:10px;accent-color:#7a8d69}.room-dragon{background:#e7e8f1}.room-dragon .room-window{background:#9bacc7;border-color:#d0cbdc}.room-dragon .room-window:after{content:'✦';font-size:36px;color:#fff5cf;position:relative;top:15px}.room-hamster{background:repeating-linear-gradient(0deg,#ece6d8,#ece6d8 22px,#e6e0d2 22px,#e6e0d2 24px);border-radius:8px}.room-hamster .room-window{border-radius:0;border-width:6px}.room-hamster .pet-art{image-rendering:pixelated}.room-pencil{background-color:#f2eddf;background-image:linear-gradient(#cad2bb55 1px,transparent 1px),linear-gradient(90deg,#cad2bb55 1px,transparent 1px);background-size:22px 22px;border-radius:8px}.pet-notes p{margin:16px 0;font-size:13px}.pet-catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.pet-collection{min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:9px;padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start}.pet-mini{width:120px;max-width:100%;margin:0 auto 16px}.pet-collection h3{font-size:17px;margin:8px 0}.pet-collection p{font-size:11px;color:var(--muted);margin:0 0 12px}.pet-collection .btn{margin-top:auto;font-size:12px}.pet-locked .pet-mini{filter:saturate(.35);opacity:.7}.pet-log ol{padding:0;list-style:none}.pet-log li{display:flex;gap:18px;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;padding:12px 0}.pet-log time{color:var(--muted)}.pet-log b{color:#5d7659}.pet-wave{animation:pet-wave .6s ease-in-out}@keyframes pet-wave{20%{transform:rotate(-4deg) translateY(-5px)}60%{transform:rotate(4deg)}100%{transform:rotate(0)}}.week-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.week-nav strong{font-size:14px}.progress-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;margin:22px 0}.progress-workspace>div{min-width:0}.progress-workspace .settings-card{margin-bottom:22px}.progress-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px}.progress-metrics article{background:var(--panel);border:1px solid var(--line);padding:20px;border-radius:9px}.progress-metrics strong{font-size:35px;display:block}.progress-metrics span{font-size:12px;color:var(--muted)}.progress-workspace p{font-size:12px;line-height:1.9;margin:12px 0;overflow-wrap:anywhere}.card-preview-wrap{align-self:start;position:sticky;top:25px}.card-preview-wrap canvas{display:block;width:100%;height:auto;border:1px solid #cbd5c6;border-radius:8px;box-shadow:0 12px 40px #293b2710}.card-preview-wrap>p{font-size:11px;color:var(--muted)}.card-options .field{margin-bottom:18px}.checkbox-line{display:flex;align-items:center;gap:10px;font-size:12px;margin:15px 0}.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.achievement-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;align-items:flex-start;gap:20px;min-width:0}.achievement-card>div{min-width:0;flex:1}.badge-art{width:70px;flex:none}.achievement-card h2{font-size:18px;margin:6px 0 9px}.achievement-card p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.achievement-card progress{width:100%;height:6px;accent-color:#6a805e}.achievement-date{margin:12px 0}.achievement-toast{position:fixed;bottom:28px;right:28px;z-index:90;display:flex;align-items:center;gap:14px;max-width:min(460px,calc(100% - 32px));background:#f9f1dc;border:1px solid #b9b28e;border-radius:9px;box-shadow:0 6px 25px #242f2215;padding:14px 18px;font-size:13px}.achievement-toast button{width:36px;height:36px;flex:none;font-size:24px}html[data-reduce-motion=true] *,html[data-reduce-motion=true] *:before,html[data-reduce-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1000px){.pet-catalog{grid-template-columns:1fr 1fr}.pet-layout{grid-template-columns:1fr}.progress-workspace{grid-template-columns:1fr}.card-preview-wrap{max-width:540px;position:static}.pet-notes{padding:24px}}
@media(max-width:760px){.sidebar nav{grid-template-columns:repeat(6,minmax(0,1fr))}.progress-summary{padding:17px;gap:12px;flex-wrap:wrap}.progress-summary h2{font-size:16px}.progress-summary p{font-size:11px}.pet-room{padding:24px 16px}.pet-stage{width:200px}.pet-catalog{gap:12px}.pet-collection{padding:18px 12px}.pet-collection h3{font-size:15px}.pet-mini{width:100px}.pet-collection .eyebrow{font-size:8px;letter-spacing:.5px}.achievement-grid{grid-template-columns:1fr;gap:13px}.achievement-card{padding:18px;gap:14px}.badge-art{width:58px}.achievement-card h2{font-size:17px}.week-nav{gap:8px}.week-nav strong{width:100%;order:-1}.week-nav .btn{font-size:12px}.progress-metrics{gap:12px}.progress-metrics article{padding:16px}.progress-metrics span{font-size:11px}.progress-workspace .settings-card{padding:20px}.card-options input,.card-options select{font-size:16px}.achievement-toast{bottom:calc(85px + env(safe-area-inset-bottom));right:16px}.pet-log li{font-size:11px;gap:10px}.my-shortcuts .btn{font-size:12px}}
@media print{.progress-summary,.my-shortcuts,.achievement-toast{display:none!important}}
/* 1.4.1: original illustrated habitats, character rigs and a categorized album. */
.companion-heading h1{font-size:30px;letter-spacing:.7px}.companion-heading .btn span{font-size:11px;color:var(--muted)}.companion-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(265px,1fr);gap:24px;align-items:start;margin:20px 0 40px}.companion-home{border:1px solid #d6d9c9;background:#fffdf5;border-radius:22px;overflow:hidden;min-width:0;box-shadow:0 12px 40px #4d5a4310}.habitat-viewport{position:relative;aspect-ratio:8/5;background:#eee7d7;isolation:isolate;overflow:hidden}.habitat-art{position:absolute;inset:0;display:block;width:100%;height:100%}.scene-toolbar{position:absolute;top:17px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:3}.scene-address,.scene-toggle{font-size:11px;background:#fffdf2df;backdrop-filter:blur(6px);padding:6px 11px;border:1px solid #fffefa90;border-radius:30px;display:flex;align-items:center;gap:7px;color:#64745f}.scene-address i{width:5px;height:5px;border-radius:50%;background:#819c79}.scene-toggle{min-height:34px;cursor:pointer}.habitat-night .scene-address,.habitat-night .scene-toggle{color:#f0ebd5;background:#34474ad9;border-color:#c0c3ae40}.pet-live.pet-stage{position:absolute;left:50%;bottom:15%;width:36%;max-width:none;padding:0;margin:0;transform:translateX(-50%);transform-origin:50% 90%;border-radius:40%;background:transparent;z-index:2;touch-action:manipulation}.pet-live .pet-art{width:100%;height:auto;max-height:none;overflow:visible}.pet-live:focus-visible{outline:2px dashed #818f6b;outline-offset:5px}.pet-live .pet-character{animation:companion-breathe 4.8s ease-in-out infinite;transform-origin:50% 94%;transform-box:fill-box}.pet-live .pet-eyes-open{animation:companion-blink 6.2s infinite;transform-origin:50% 50%;transform-box:fill-box}.pet-live .pet-ear{transform-box:fill-box;transform-origin:50% 90%}.pet-live .pet-ear-right{animation:companion-ear 9s ease-in-out infinite}.pet-live .pet-wing{transform-box:fill-box;transform-origin:70% 80%;animation:companion-wing 6s ease-in-out infinite}.pet-live .pet-wing-right{transform-origin:10% 80%;animation-delay:-3s}.pet-live .pixel-body{animation:companion-pixel 4s steps(1) infinite}.scene-caption{position:absolute;bottom:12px;left:15px;right:15px;text-align:center;font-size:9px;letter-spacing:.7px;color:#6f7e63}.habitat-night .scene-caption{color:#d5dbc7}.room-dust{position:absolute;pointer-events:none;color:#d8be82;animation:room-sparkle 5s ease-in-out infinite;z-index:1}.dust-one{top:30%;left:32%;font-size:15px}.dust-two{top:24%;left:65%;font-size:20px;animation-delay:-2s}.companion-home-body{padding:23px 27px 20px}.companion-name{display:flex;align-items:center;justify-content:space-between;gap:12px}.companion-name h2{font-size:24px;letter-spacing:1px;margin:5px 0}.companion-name h2>span{font-size:10px;letter-spacing:0;display:inline-block;vertical-align:middle;margin-left:12px;color:#728365;padding:3px 7px;background:#eaf0df;border-radius:5px}.companion-number{font-size:11px;color:#a1a791;font-variant-numeric:tabular-nums}.pet-personality{font-size:12px;color:#68755f;line-height:1.9;margin:5px 0 16px}.companion-speech{background:#f2f1e6;border-radius:6px 18px 18px 18px;display:flex;gap:10px;padding:13px 15px;align-items:flex-start;min-height:70px}.companion-speech>span{font:32px Georgia,serif;color:#b8bd9e;line-height:1}.companion-speech p{font-size:12px;line-height:1.9;color:#68765e;overflow-wrap:anywhere}.companion-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 5px}.companion-actions button{padding:10px 5px;border:1px solid #e0e2d4;background:#fffef9;border-radius:10px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;min-height:69px}.companion-actions button>span{font-size:23px;line-height:1.2;color:#73866b}.companion-actions button:hover{background:#f0f3e7;border-color:#a9b59b}.companion-actions button:active{transform:scale(.97)}.companion-footnote{color:#68755f;font-size:9px;margin-top:15px;text-align:center}.adoption-line{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.adoption-line .btn{min-width:160px;font-size:12px}.companion-profile{display:grid;gap:18px;min-width:0}.profile-card{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0}.profile-card h2{font-size:19px;margin:7px 0 14px}.profile-card h3{font-size:14px}.growth-total{display:flex;justify-content:space-between;align-items:center;margin:16px 0 20px}.growth-total>strong{font-size:42px;letter-spacing:-2px;line-height:1.2;font-variant-numeric:tabular-nums;font-weight:600}.growth-total small{font-size:12px;letter-spacing:0;margin-left:8px;color:#8f9a7e;font-weight:400}.growth-total>span{font-size:15px;text-align:right;color:#748767}.growth-total i{display:block;font-size:9px;color:#68755f;font-style:normal;margin-top:4px}.profile-progress-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#68755f;gap:10px;margin-bottom:6px}.profile-progress-label>b{font-weight:500;color:#667b5a}.profile-card>progress,.achievement-book-hero progress{width:100%;height:7px;accent-color:#8ba27d;display:block;border-radius:8px;overflow:hidden}.profile-card .small-note{font-size:10px;color:#68755f;margin-top:10px;line-height:1.9}.companion-facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e7e8dd;border-bottom:1px solid #e7e8dd;padding:16px 0;margin:21px 0 15px}.companion-facts>div+div{border-left:1px solid #e7e8dd;padding-left:22px}.companion-facts b{font-size:23px;font-weight:500}.companion-facts small{font-size:11px;color:#68755f;font-weight:400;margin-left:4px}.companion-facts span{display:block;color:#68755f;font-size:10px}.companion-review-link{font-size:11px;color:#7b8d6a;display:flex;justify-content:space-between;gap:10px;align-items:center}.growth-preview{padding:22px 20px}.growth-preview .section-head{margin-bottom:5px}.growth-preview .text-link{font-size:10px;color:#68755f}.growth-stage-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.growth-stage-options>button{min-width:0;display:flex;flex-direction:column;align-items:center;padding:8px 3px;border-radius:8px;border:1px solid transparent}.growth-stage-options>button.selected{background:#edf1e4;border-color:#d6deca}.stage-thumbnail{display:block;width:100%;aspect-ratio:1;opacity:.8}.stage-thumbnail .pet-art{height:100%;max-height:none}.growth-stage-options b{font-size:10px;color:#76866a;font-weight:500}.growth-stage-options small{font-size:8px;color:#68755f;margin-top:3px}.companion-collection>.section-head h2{font-size:21px;margin:7px 0 0}.companion-collection>.section-head>.small-note{font-size:11px;color:#68755f}.companion-collection .pet-catalog{gap:18px}.companion-collection .pet-collection{padding:0 18px 18px;border-radius:14px;overflow:hidden;position:relative;background:#fffdf6}.companion-collection .pet-collection.viewing{border-color:#9fac8b;box-shadow:0 0 0 2px #d8dfc86b}.pet-preview-button{display:block;align-self:stretch;margin:0 -18px 17px;background:#e9eddf;padding:13px 8px 0;min-height:157px}.pet-preview-button .pet-mini{display:block;width:135px;margin:0 auto}.collection-dragon .pet-preview-button{background:#e6e7ef}.collection-hamster .pet-preview-button{background:repeating-linear-gradient(90deg,#e3e6d3,#e3e6d3 15px,#dce1cc 15px,#dce1cc 16px)}.collection-pencil .pet-preview-button{background-color:#f1ead7;background-image:linear-gradient(#d9ddc955 1px,transparent 1px),linear-gradient(90deg,#d9ddc955 1px,transparent 1px);background-size:15px 15px}.companion-collection .pet-collection .eyebrow{font-size:8px}.companion-collection .pet-collection h3{margin:5px 0 6px;font-size:18px}.companion-collection .pet-collection p{font-size:10px;line-height:1.8;margin:0 0 9px;color:#68755f}.collection-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;width:100%;margin-top:auto}.collection-actions .text-link{font-size:10px;color:#68755f}.collection-actions .btn{font-size:10px;min-height:32px;padding:6px 12px}.companion-records{margin:28px 0 17px}.companion-records .section-head>span{font-size:10px;color:#68755f}.companion-records ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.companion-records li{display:flex;gap:13px;align-items:center;padding:15px 0;border-top:1px solid #e8eadf;min-width:0}.record-icon{width:37px;height:37px;border-radius:10px;background:#e8eddd;color:#8c9b76;display:grid;place-items:center;font-size:19px;flex:none}.record-review{background:#e8e9f2;color:#9497b4}.record-focus{background:#f2ead7;color:#ad9871}.companion-records li>div{min-width:0;flex:1}.companion-records li b{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.companion-records time{display:block;color:#68755f;font-size:9px;margin-top:5px}.companion-records li>strong{font-size:16px;color:#839972;font-weight:500;flex:none}.companion-records li>strong small{font-size:8px;margin-left:4px;color:#68755f}.companion-record-empty{display:flex;gap:20px;align-items:center;padding:24px 0 5px;flex-wrap:wrap}.companion-record-empty>span{font-size:34px;color:#c6ccb0}.companion-record-empty>div{flex:1;min-width:150px}.companion-record-empty h3{font-size:14px}.companion-record-empty p{font-size:11px;color:#68755f;line-height:1.8;margin-top:7px}.companion-record-empty .btn{font-size:11px}.companion-rules{font-size:11px;line-height:1.9;color:#68755f;margin-bottom:20px;padding:8px 3px}.companion-rules summary{cursor:pointer}.companion-rules p{max-width:920px;margin-top:12px}
.pet-live[data-pose=hello] .pet-arm-right{animation:companion-wave .5s ease-in-out 3;transform-origin:20% 10%;transform-box:fill-box}.pet-live[data-pose=hello] .pet-character{animation:companion-greet 1.8s ease}.pet-live[data-pose=pat] .pet-eyes-open,.pet-live[data-pose=rest] .pet-eyes-open,.pet-live[data-pose=pat] .pixel-eyes-open,.pet-live[data-pose=rest] .pixel-eyes-open{display:none}.pet-live[data-pose=pat] .pet-eyes-closed,.pet-live[data-pose=rest] .pet-eyes-closed,.pet-live[data-pose=pat] .pixel-eyes-closed,.pet-live[data-pose=rest] .pixel-eyes-closed,.pet-live[data-pose=pat] .pet-affection,.pet-live[data-pose=rest] .pet-sleep-marks,.pet-live[data-pose=read] .pet-reading-book{display:inline}.pet-live[data-pose=pat] .pet-head{animation:companion-pat 2.2s ease;transform-origin:50% 100%;transform-box:fill-box}.pet-live[data-pose=pat] .pet-affection{animation:companion-hearts 2.2s ease-out}.pet-live[data-pose=read] .pet-head{animation:companion-reading 2.8s ease;transform-origin:50% 100%;transform-box:fill-box}.pet-live[data-pose=rest] .pet-character{animation:none;transform:translateY(5px) rotate(3deg);transform-origin:50% 90%}.pet-live[data-pose=rest] .pet-sleep-marks{animation:companion-hearts 3.2s ease-out}.pet-live[data-pose=rest] .pet-wing,.pet-live[data-pose=rest] .pet-ear{animation:none}.pet-live[data-pose=pat] .pixel-body{animation:companion-greet 1.5s steps(3)}
@keyframes companion-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.984) translateY(1px)}}@keyframes companion-blink{0%,43%,48%,100%{transform:scaleY(1)}45%,46%{transform:scaleY(.12)}}@keyframes companion-ear{0%,72%,100%{transform:rotate(0)}76%{transform:rotate(5deg)}80%{transform:rotate(-3deg)}84%{transform:rotate(0)}}@keyframes companion-wing{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg)}}@keyframes companion-pixel{0%,80%,100%{opacity:1}82%,84%{opacity:.95}}@keyframes companion-wave{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(-55deg)}}@keyframes companion-greet{0%,100%{translate:0 0}25%{translate:0 -8px}50%{translate:0 0}70%{translate:0 -4px}}@keyframes companion-pat{0%,100%{transform:rotate(0)}35%{transform:rotate(-5deg)}65%{transform:rotate(4deg)}}@keyframes companion-reading{0%,100%{transform:rotate(0)}30%,75%{transform:rotate(5deg) translateY(3px)}}@keyframes companion-hearts{0%{opacity:0;translate:0 8px}25%{opacity:1}80%{opacity:.8}100%{opacity:0;translate:0 -15px}}@keyframes room-sparkle{0%,100%{opacity:.2;transform:translateY(0)}50%{opacity:.8;transform:translateY(-5px)}}html[data-pet-paused=true] .pet-live *,html[data-pet-paused=true] .room-dust{animation-play-state:paused!important}
.achievement-book-hero{display:grid;grid-template-columns:118px minmax(0,1fr) minmax(230px,.8fr);gap:25px;padding:30px;border:1px solid #d9ddcc;border-radius:17px;background:#e9eddf;margin:22px 0 26px;align-items:center;position:relative;overflow:hidden}.book-emblem{position:relative;isolation:isolate;width:105px;height:128px;display:grid;place-items:center}.book-emblem>span{font-size:48px;color:#9a8254;width:85px;height:85px;background:#e1c98f;border:4px double #f4e9c6;border-radius:50%;display:grid;place-items:center;box-shadow:0 5px 15px #786f4530}.book-emblem:before,.book-emblem:after{content:'';position:absolute;z-index:-1;width:26px;height:65px;background:#b77b61;top:65px;left:23px;transform:rotate(16deg);clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%)}.book-emblem:after{left:56px;transform:rotate(-16deg)}.achievement-book-hero h2{font-size:16px;font-weight:500;line-height:1.4;margin:9px 0}.achievement-book-hero h2 strong{font-size:44px;font-weight:600;letter-spacing:-2px;margin-right:5px}.achievement-book-hero h2>span{font-size:17px;color:#68755f;margin-right:12px}.achievement-book-hero p{font-size:11px;color:#68755f;line-height:1.9;max-width:470px}.achievement-book-hero aside{padding:10px 0 10px 26px;border-left:1px solid #cdd6bd}.achievement-book-hero aside h3{font-size:17px;margin:7px 0}.achievement-book-hero aside p{font-size:10px}.achievement-book-hero progress{margin-top:12px;height:5px}.achievement-book-hero aside>b{display:block;font-size:10px;text-align:right;color:#68755f;margin-top:5px}.achievement-controls{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:16px 0 25px}.achievement-tabs{display:flex;gap:8px;flex-wrap:wrap}.achievement-tabs button{font-size:11px;border:1px solid #dedfd0;border-radius:25px;padding:8px 13px;min-height:38px;display:flex;gap:8px;align-items:center;white-space:nowrap}.achievement-tabs button.active{background:#657d5c;color:#fff;border-color:#657d5c}.achievement-tabs span{font-size:9px;opacity:.6}.achievement-controls select{font-size:11px;min-height:38px;padding:8px 10px;min-width:110px}.achievement-section{--badge-ribbon:#9aa77d;--badge-bg:#e3d6a7;--badge-stroke:#b9a570;--badge-ink:#84713f;margin:25px 0 35px}.achievement-section>.section-head{margin-bottom:13px}.achievement-section>.section-head h2{font-size:17px}.achievement-section>.section-head>span{font-size:11px;color:#68755f}.category-methods{--badge-ribbon:#be9381;--badge-bg:#ebd6bb;--badge-stroke:#c29c7f;--badge-ink:#a07b59}.category-independent{--badge-ribbon:#a68ea9;--badge-bg:#dfd6e7;--badge-stroke:#b7a5c4;--badge-ink:#8b729c}.category-revisit{--badge-ribbon:#8ca0aa;--badge-bg:#d5e0de;--badge-stroke:#9bb4b0;--badge-ink:#718e89}.category-focus{--badge-ribbon:#c2a76b;--badge-bg:#eee2b6;--badge-stroke:#cdb57c;--badge-ink:#a68b4f}.achievement-section .achievement-grid{margin:0;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.achievement-section .achievement-card{padding:21px 18px;gap:15px;border-radius:12px;min-height:188px}.achievement-section .badge-art{width:64px;height:75px;max-width:100%;overflow:visible}.badge-medallion{flex:none;width:65px}.achievement-card.earned{background:#fffdf4;border-color:#d9dec9}.achievement-section .achievement-card h2{font-size:15px;margin:5px 0 8px;line-height:1.6}.achievement-section .achievement-card p{font-size:10px;color:#68755f;line-height:1.9}.achievement-section .achievement-date{font-size:9px!important;margin:12px 0 8px;color:#68755f!important}.achievement-section .achievement-state{font-size:8px;color:#68755f;letter-spacing:1px}.achievement-section .earned .achievement-state{color:var(--badge-ink)}.achievement-section .achievement-card progress{height:4px;accent-color:var(--badge-ribbon)}.achievement-evidence-note{font-size:10px;line-height:2;color:#68755f;max-width:960px;margin:20px 0}
@media(min-width:1600px){.companion-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr)}}@media(max-width:1250px){.achievement-section .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.companion-layout{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.profile-card{padding:21px}.growth-preview{padding:19px 16px}.achievement-book-hero{grid-template-columns:90px minmax(0,1fr);gap:20px}.book-emblem{width:86px}.achievement-book-hero aside{grid-column:2;padding:15px 0 0;border-left:0;border-top:1px solid #cdd6bd}.achievement-book-hero h2{font-size:14px}.companion-collection .pet-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.companion-layout{grid-template-columns:1fr}.companion-profile{grid-template-columns:1.1fr 1fr;gap:16px}.companion-profile .profile-card{padding:22px}.companion-profile .growth-preview .section-head{flex-wrap:wrap;gap:2px}.growth-stage-options{gap:1px}.companion-collection .pet-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}.collection-actions{flex-direction:column;align-items:flex-start}.pet-preview-button .pet-mini{width:115px}.pet-preview-button{min-height:130px}.companion-collection .pet-collection h3{font-size:15px}.companion-collection .pet-collection{padding:0 13px 15px}.companion-collection .pet-preview-button{margin-left:-13px;margin-right:-13px}.companion-records ol{grid-template-columns:1fr}}
@media(max-width:760px){.companion-heading h1{font-size:24px;line-height:1.5;letter-spacing:.5px}.companion-heading{flex-direction:column;align-items:flex-start}.companion-heading .btn{font-size:10px;min-height:36px;padding:8px 12px;margin-top:2px}.companion-layout{gap:17px;margin-top:18px}.companion-home{border-radius:16px}.companion-home-body{padding:20px 18px 17px}.habitat-viewport{aspect-ratio:8/5.4}.habitat-art{width:108%;max-width:none;height:108%;left:-4%;top:-2%}.pet-live.pet-stage{width:42%;bottom:13%;left:50%}.scene-toolbar{top:12px;left:12px;right:12px}.scene-address,.scene-toggle{font-size:9px;padding:5px 9px}.scene-toggle{min-height:31px}.scene-caption{font-size:8px;bottom:10px;letter-spacing:0}.companion-name h2{font-size:22px}.companion-name .eyebrow{font-size:8px}.companion-name h2>span{font-size:9px;margin-left:9px}.companion-number{font-size:9px}.pet-personality{font-size:11px;line-height:1.9}.companion-speech{padding:11px 13px;min-height:69px}.companion-speech p{font-size:11px}.companion-actions{gap:7px;margin-top:17px}.companion-actions button{font-size:10px;padding:10px 3px;min-height:66px}.companion-actions button>span{font-size:22px}.companion-footnote{font-size:8px;line-height:1.9}.companion-profile{grid-template-columns:1fr}.companion-profile .profile-card{padding:22px}.growth-preview .section-head{flex-wrap:nowrap!important}.growth-stage-options{gap:7px}.stage-thumbnail{max-width:75px;margin:0 auto}.growth-stage-options small{font-size:9px}.companion-collection .pet-catalog{grid-template-columns:1fr 1fr;gap:12px}.companion-collection>.section-head{align-items:flex-start;gap:10px}.companion-collection>.section-head h2{font-size:18px}.companion-collection>.section-head>.small-note{font-size:8px;max-width:60px;text-align:right;margin-top:10px}.companion-collection .pet-collection{padding:0 13px 15px}.companion-collection .pet-preview-button{min-height:135px}.companion-collection .pet-collection h3{font-size:16px}.collection-actions{gap:3px}.collection-actions .text-link{font-size:9px}.collection-actions .btn{font-size:10px;min-height:34px}.companion-records .section-head{align-items:flex-start}.companion-records .section-head>span{font-size:8px;max-width:60px;text-align:right;margin-top:9px}.companion-record-empty{padding-top:18px;gap:13px}.companion-record-empty h3{font-size:13px}.companion-record-empty p{font-size:10px}.companion-records li b{font-size:11px}.companion-rules{font-size:10px}.adoption-line{gap:7px}.adoption-line .btn{font-size:11px;min-width:100%;width:100%}.achievement-book-hero{padding:22px 18px;gap:15px;grid-template-columns:70px minmax(0,1fr)}.book-emblem{width:70px;height:100px}.book-emblem>span{width:64px;height:64px;font-size:37px}.book-emblem:before{left:14px;top:50px;width:20px;height:51px}.book-emblem:after{left:38px;top:50px;width:20px;height:51px}.achievement-book-hero .eyebrow{font-size:7px;letter-spacing:1px}.achievement-book-hero h2{font-size:12px}.achievement-book-hero h2 strong{font-size:34px}.achievement-book-hero h2>span{font-size:14px;margin-right:5px}.achievement-book-hero p{font-size:9px}.achievement-book-hero aside{grid-column:1/-1;padding-top:16px}.achievement-book-hero aside h3{font-size:15px}.achievement-controls{gap:12px;flex-direction:column}.achievement-tabs{gap:7px}.achievement-tabs button{font-size:10px;padding:7px 10px;min-height:35px}.achievement-tabs span{font-size:8px}.achievement-controls select{font-size:12px;min-width:145px}.achievement-section .achievement-grid{grid-template-columns:1fr}.achievement-section .achievement-card{min-height:157px;padding:20px;gap:19px}.achievement-section .badge-art{width:72px;height:85px}.badge-medallion{width:72px}.achievement-section .achievement-card h2{font-size:16px}.achievement-section .achievement-card p{font-size:11px}.achievement-section .achievement-date{font-size:9px!important}.achievement-evidence-note{font-size:9px}.companion-records .profile-card{padding:20px}}
@media print{.companion-actions,.scene-toggle,.companion-rules,.achievement-controls,.companion-heading .btn{display:none!important}}

.profile-card progress,.achievement-book-hero progress,.achievement-section progress{appearance:none;-webkit-appearance:none;border:0;background:#e6eadc;border-radius:8px}.profile-card progress::-webkit-progress-bar,.achievement-book-hero progress::-webkit-progress-bar,.achievement-section progress::-webkit-progress-bar{background:#e6eadc;border-radius:8px}.profile-card progress::-webkit-progress-value,.achievement-book-hero progress::-webkit-progress-value{background:#8ba27d;border-radius:8px}.achievement-section progress::-webkit-progress-value{background:var(--badge-ribbon);border-radius:8px}.profile-card progress::-moz-progress-bar,.achievement-book-hero progress::-moz-progress-bar{background:#8ba27d}.achievement-section progress::-moz-progress-bar{background:var(--badge-ribbon)}

/* Explicit reference-answer mode; source study data is unchanged. */
.paper-answer-section{border-top:1px dashed var(--line);margin-top:20px;padding-top:4px}.paper-answer-section>.field>span{color:var(--green)}.paper-answer-section textarea{font-size:14px}.paper-mode{max-width:100%}@media(max-width:760px){.paper-answer-section textarea{font-size:16px}}

/* Paper review stays a secondary learning flow; no extra Dock tab. */
.paper-index-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;margin-top:24px}.paper-index-card{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:12px}.paper-index-card .btn{align-self:flex-start}.paper-entry{border:1px solid var(--line,#dcdcd4);border-radius:14px;padding:22px;margin:16px 0;background:var(--paper,#faf9f4)}.paper-entry-heading{display:flex;align-items:flex-start;gap:12px}.paper-entry-heading h3{flex:1;min-width:0;overflow-wrap:anywhere;margin:2px 0 14px}.paper-entry-heading .badge{white-space:nowrap}.paper-entry .field{margin-top:16px}.paper-entry select{width:100%;min-height:48px;padding:10px;border:1px solid #b8bcb3;border-radius:8px;background:white}.paper-entry .paper-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.65;margin:14px 0}.paper-entry input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#b4422e}.paper-receipt{line-height:1.9;color:#335d49}.paper-entry-status{min-height:24px;color:#a03f2e}.paper-entry-modal .modal-actions{position:sticky;bottom:0;background:#faf9f4;padding:16px 0}.paper-safety{border-left:3px solid #c59a42;padding:12px;background:#fff7df}.paper-entry-modal .info-note{line-height:1.8}@media(max-width:600px){.paper-index-grid{grid-template-columns:1fr}.paper-entry{padding:16px}.paper-entry-heading{flex-wrap:wrap}.paper-entry-heading h3{flex-basis:65%}.paper-entry-modal .modal-actions{flex-wrap:wrap}.paper-entry-modal .modal-actions .btn{min-height:48px;flex:1}}
/* Manual photo editing stays in the question workflow. */
.photo-edit{display:block;width:100%;min-height:42px;margin-top:8px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--green);font-size:12px;font-weight:600}
.photo-erase-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #d8dfcf;border-radius:18px;background:#faf9f3;color:#263d32;box-shadow:0 24px 100px #152b2540}
.photo-erase-dialog::backdrop{background:#14251fd9}.erase-heading>span{font-size:10px;letter-spacing:.16em;color:#748474}.erase-heading h2{font-size:24px;margin:9px 0}.erase-heading p,.erase-hint{font-size:12px;color:#718071;line-height:1.7}.erase-toolbar,.erase-history,.erase-actions,.erase-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.erase-toolbar{margin:16px 0}.erase-toolbar label{display:flex;align-items:center;gap:7px;font-size:12px}.erase-toolbar select{min-height:42px;border:1px solid #d5ddce;background:#fffef9;border-radius:7px;padding:0 7px;color:#304537}.photo-erase-dialog button{min-height:44px;padding:8px 14px;border:1px solid #d5ddce;border-radius:8px;background:#fffef9;color:#304537;font:inherit;font-size:12px;cursor:pointer}.photo-erase-dialog button:disabled{opacity:.45;cursor:default}.erase-tools button[aria-pressed=true]{background:#304f3d;color:#fffef9;border-color:#304f3d}.erase-viewport{overflow:auto;max-height:52dvh;min-height:180px;padding:12px;background:#e7e9df;border:1px solid #d8dfcf;border-radius:10px;overscroll-behavior:contain}.erase-canvas{display:block;margin:0 auto;max-width:none;touch-action:none;cursor:crosshair;background:#fff}.erase-history{margin-top:12px}.erase-status{min-height:16px;color:#a44f3d;font-size:12px}.erase-actions{justify-content:flex-end}.photo-erase-dialog .erase-save{background:#304f3d;border-color:#304f3d;color:#fffef9;font-weight:600;min-width:180px}.photo-erase-dialog :focus-visible{outline:3px solid #d8af4b;outline-offset:2px}
@media(max-width:600px){.photo-erase-dialog{padding:16px;border-radius:13px}.erase-heading h2{font-size:21px}.erase-toolbar{gap:8px}.erase-toolbar label{font-size:11px}.erase-history{gap:7px}.erase-history button{padding:8px 10px}.erase-actions{position:sticky;bottom:-16px;background:#faf9f3;padding:10px 0}.erase-actions button{flex:1;min-width:0!important}.erase-hint{font-size:11px}}

.paper-file-links{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.paper-file-links[hidden]{display:none}

.paper-page-nav{flex-wrap:wrap}.paper-zoom-label{display:flex;align-items:center;gap:8px;font-size:12px;margin-left:auto}.paper-preview-zoom{padding:8px;min-height:40px}.paper-preview-scaler{max-width:100%;max-height:70vh;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}.paper-preview-stage{position:relative;overflow:hidden;flex-shrink:0}.paper-preview-stage .paper-preview-frame{position:absolute;left:0;top:0;pointer-events:none}@media(max-width:640px){.paper-zoom-label{margin:0;width:100%;justify-content:center}.paper-zoom-label select{max-width:160px}}

/* Source-space photo selection: fixed pointer surface, lightweight overlay. */
.photo-erase-dialog .erase-toolbar{align-items:center;gap:12px}
.photo-erase-dialog .erase-tools{gap:4px;padding:4px;border:1px solid #d8dfcf;border-radius:11px;background:#efeee7}
.photo-erase-dialog .erase-tools button{border:0;background:transparent;min-height:40px;padding:8px 14px}
.photo-erase-dialog .erase-tools button[aria-pressed=true]{background:#304f3d;color:#fff;box-shadow:0 1px 4px #18392916}
.photo-erase-dialog .erase-zoom-control{margin-left:auto}
.photo-erase-dialog .erase-viewport{padding:0;max-height:52dvh;min-height:120px;background:#e5e7e0;scrollbar-width:thin}
.photo-editor-stage{position:relative;width:max-content;padding:16px;margin:0 auto;user-select:none;-webkit-user-select:none;touch-action:none}
.photo-editor-surface{position:relative;isolation:isolate;flex:none}
.photo-editor-surface .erase-canvas{margin:0;cursor:inherit;box-shadow:0 3px 16px #172e2020}
.photo-crop-overlay{position:absolute;inset:0;pointer-events:none}
.photo-crop-mask{position:absolute;inset:0;background:#172c3866;display:block;contain:strict}
.photo-crop-selection{position:absolute;outline:1.5px solid #fff;box-shadow:0 0 0 1px #304f3d;will-change:left,top;box-sizing:border-box}
.photo-crop-grid{display:none;position:absolute;inset:0;background:linear-gradient(to right,transparent 33.1%,#ffffff60 33.1%,#ffffff60 33.4%,transparent 33.4%,transparent 66.5%,#ffffff60 66.5%,#ffffff60 66.8%,transparent 66.8%),linear-gradient(to bottom,transparent 33.1%,#ffffff60 33.1%,#ffffff60 33.4%,transparent 33.4%,transparent 66.5%,#ffffff60 66.5%,#ffffff60 66.8%,transparent 66.8%)}
.is-dragging .crop-editing .photo-crop-grid{display:block}
.photo-crop-handle{display:none;position:absolute;width:10px;height:10px;background:#fff;border:1px solid #304f3d;border-radius:2px;box-shadow:0 1px 3px #0003;transform:translate(-50%,-50%)}
.crop-editing .photo-crop-handle{display:block}
.handle-nw{left:0;top:0}.handle-n{left:50%;top:0}.handle-ne{left:100%;top:0}.handle-e{left:100%;top:50%}.handle-se{left:100%;top:100%}.handle-s{left:50%;top:100%}.handle-sw{left:0;top:100%}.handle-w{left:0;top:50%}
.photo-crop-controls{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.photo-erase-dialog .photo-crop-controls button{min-height:36px;padding:6px 11px;font-size:11px}
.photo-crop-dimensions{margin-left:auto;color:#6f7a70;font-size:11px;font-variant-numeric:tabular-nums}
.photo-editor-guide{font-size:12px;line-height:1.7;color:#566c5e;margin:12px 0}
.photo-erase-dialog .erase-history button{min-height:38px;font-size:11px;background:transparent}
.photo-erase-dialog .erase-hint{margin:12px 0 0;font-size:11px}
.photo-editor-stage.is-dragging{cursor:inherit}
@media(max-width:600px){.photo-erase-dialog .erase-toolbar{gap:9px}.photo-erase-dialog .erase-tools{width:100%;justify-content:space-between}.photo-erase-dialog .erase-tools button{flex:1;padding:7px 8px;font-size:12px}.photo-erase-dialog .erase-viewport{max-height:45dvh}.photo-crop-handle{width:12px;height:12px}.photo-editor-guide{font-size:11px}.photo-erase-dialog .erase-zoom-control{margin-left:0}.photo-crop-dimensions{font-size:10px}}

.photo-erase-dialog[data-editor-tool=pan] .photo-editor-stage.is-dragging{cursor:grabbing!important}
html[data-care-theme=memorial] .photo-erase-dialog{background:#fafafa;color:#222;border-color:#ccc}
html[data-care-theme=memorial] .photo-erase-dialog .erase-tools,html[data-care-theme=memorial] .photo-erase-dialog .erase-viewport{background:#e7e7e7;border-color:#ccc}
html[data-care-theme=memorial] .photo-erase-dialog button,html[data-care-theme=memorial] .photo-erase-dialog select{background:#fafafa;color:#222;border-color:#bbb}
html[data-care-theme=memorial] .photo-erase-dialog .erase-tools button[aria-pressed=true],html[data-care-theme=memorial] .photo-erase-dialog .erase-save{background:#303030;color:#fff;border-color:#333}
html[data-care-theme=memorial] .photo-erase-dialog p,html[data-care-theme=memorial] .photo-erase-dialog .photo-crop-dimensions,html[data-care-theme=memorial] .photo-erase-dialog .erase-heading>span{color:#555}
html[data-care-theme=memorial] .photo-erase-dialog .erase-actions{background:#fafafa}
html[data-care-theme=memorial] .photo-crop-mask{background:#2226}html[data-care-theme=memorial] .photo-crop-selection{box-shadow:0 0 0 1px #444}html[data-care-theme=memorial] .photo-crop-handle{border-color:#444}
