.auth-screen{min-height:100dvh;display:grid;place-items:center;background:#f7f1e9;padding:24px}.auth-card{width:min(100%,460px);padding:32px;background:#fffaf4;border:1px solid #e3d4c4;border-radius:20px;box-shadow:0 12px 45px #70544316}.auth-card h1{font:32px Georgia,serif;color:#705443}.auth-card h2{font-size:22px}.auth-card form,.auth-card label{display:grid;gap:10px}.auth-card form{gap:18px}.auth-card input{font:inherit;padding:12px;border:1px solid #ddc9b9;border-radius:8px;width:100%;box-sizing:border-box}.auth-card button{min-height:44px}.auth-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.auth-card [role=alert]{color:#a13836}.auth-card .muted{font-size:12px;line-height:1.5}.modal details label{display:block;margin:12px 0}.modal details input[type=password]{display:block;width:100%;padding:10px}@media(max-width:520px){.library-app>header>button.web-account-button{grid-column:1/-1;grid-row:4}}*{box-sizing:border-box}.modal.template-library{width:min(1100px,94vw);max-height:90vh;overflow-y:auto;padding:26px 30px}.template-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.template-heading h2{margin:6px 0 0}.template-heading>button{padding:7px}.template-filters{display:flex;gap:12px;margin:20px 0 14px}.template-filters select,.save-template-form select,.save-template-form input{padding:10px;background:#fffaf5;border:1px solid #dbcbbc;border-radius:7px;color:inherit}.template-search{display:flex;align-items:center;gap:8px;border:1px solid #dbcbbc;border-radius:7px;padding:0 12px;flex:1;background:#fffaf5}.template-search input{min-width:80px;width:100%;background:transparent;border:0;padding:10px 0;outline:none}.template-categories{display:flex;gap:7px;flex-wrap:wrap}.template-categories button{font-size:12px;padding:6px 9px;border-radius:18px}.template-categories button.active{background:#f4dcd5;border-color:#dba99d}.template-results{display:flex;justify-content:space-between;margin:18px 0 12px;color:#a18a77;font-size:12px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:8px}.template-card{position:relative;border:1px solid #e4d5c5;border-radius:11px;overflow:hidden;background:#fffcf7;box-shadow:0 4px 12px #75533c0a}.template-card-open{display:flex;flex-direction:column;align-items:flex-start;border:0;border-radius:0;padding:12px;width:100%;text-align:left;gap:8px}.template-card-open img{display:block;width:100%;height:235px;object-fit:contain;background:#ede3d7;padding:9px;border-radius:5px}.template-card-open strong{font-family:Georgia,serif;font-weight:400;font-size:17px;margin:3px 0 0;padding-right:25px}.template-card-open small{color:#a18a77}.template-heart{position:absolute;bottom:34px;right:10px;border:0;padding:5px;background:transparent}.template-large-preview{height:min(54vh,600px);display:flex;justify-content:center;background:#e9dfd3;padding:18px;border-radius:10px}.template-large-preview img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:2px 3px 15px #624b3e25}.template-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.save-template-form label{display:flex;flex-direction:column;gap:7px;margin:18px 0}.template-empty{padding:35px 15px;text-align:center}.template-save-button{width:100%;font-size:11px;margin-bottom:12px}.modal.new-page-dialog{width:min(560px,92vw)}.new-page-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.new-page-options button{flex-direction:column;padding:25px 15px;background:#fcf2e7}.new-page-options button:last-child{background:#f4e4dd}.new-page-options small{font-size:12px;line-height:1.6;font-weight:400}@media(max-width:900px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-filters{flex-wrap:wrap}.template-search{flex-basis:100%}}body{margin:0;color:#624b3e;background:#f5eee5;font-family:Segoe UI,sans-serif;font-size:13px}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid #e2d6ca;background:#fffaf5;border-radius:7px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s,box-shadow .15s}button:hover:not(:disabled){background:#f3e1d7;box-shadow:0 2px 5px #76553b12}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #b5766c;outline-offset:3px}h1,h2,h3,p{margin:0}h2{font-size:15px}h3{font-size:15px;font-weight:600}.app{height:100vh;min-width:1020px;min-height:640px;display:flex;flex-direction:column}header{height:87px;flex-shrink:0;background:linear-gradient(110deg,#fbf1e6,#fff9f4 60%,#f6e8df);border-bottom:1px solid #dfd1c4;display:flex;align-items:center;padding:0 25px;gap:16px}.brand{display:flex;align-items:center;gap:12px;min-width:280px}.brand-bear{font-size:43px}.brand h1{font-family:Georgia,serif;font-style:italic;font-weight:400;font-size:30px;letter-spacing:-1px}.brand h1 span{font-size:20px;color:#df9f95}.brand p{font-family:Georgia,serif;font-size:13px;letter-spacing:1.5px;margin-top:4px;color:#9c7e69}nav{display:flex;align-items:center;flex:1;gap:28px}nav button.nav-active{background:#f5d8ce;border:0;padding:17px;color:#80584a}.nav-note{font-family:Georgia,serif;font-style:italic;color:#ab9381}.save{padding:11px 16px}.help{border-radius:50%;width:30px;height:30px;padding:0}.layout{display:grid;grid-template-columns:208px minmax(0,1fr) 264px;flex:1;min-height:0}.pages{padding:22px 16px 0;background:#faf5ee;border-right:1px solid #e1d5c7;display:flex;flex-direction:column;min-height:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-heading>span{background:#efe7dc;border-radius:20px;padding:2px 8px;color:#a08b79;font-size:11px}.primary{background:#ce8e83;border-color:#ce8e83;color:#fff}.primary:hover:not(:disabled){background:#bb7d72}.new-page{width:100%;padding:11px 3px;font-size:12px}.page-list{overflow:auto;flex:1;margin:18px -8px 0;padding:0 7px}.page-card{display:block;width:100%;padding:9px;margin-bottom:12px;background:#fffaf4;border-color:#e6dcd0;text-align:left}.page-card.active{border-color:#ca9486;background:#f7e6df;box-shadow:0 0 0 1px #ca948633}.thumbnail{overflow:hidden;border:3px solid #e5d3bc;border-radius:3px;margin:auto;width:156px;height:111px;background:#fcf7eb;pointer-events:none}.page-caption{display:flex;gap:9px;align-items:baseline;margin-top:10px}.page-caption span{font-size:10px;color:#b69c86}.page-caption strong{font-size:12px;font-weight:500;line-height:1.5;overflow:hidden}.local-note{display:flex;align-items:center;gap:8px;padding:18px 0;font-size:10px;color:#8f8e78;line-height:1.6}.local-note small{display:block;font-size:9px;color:#aaa18e}main{min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 40%,#eee3d2,#e5d8c6)}.workspace-heading{padding:22px 29px 17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#a18a73;display:block;margin-bottom:8px}.workspace-heading input{font-family:Georgia,serif;font-size:21px;border:0;background:transparent;width:100%;max-width:410px;outline-offset:5px}.status{font-size:10px;color:#7e8970;white-space:nowrap;display:flex;align-items:center;gap:5px}.warning{color:#ae574d}.viewport{flex:1;min-height:0;overflow:auto;display:grid;place-items:center;padding:30px 25px}.book-wrap{flex-shrink:0;padding:10px;background:#bb9376;border-radius:10px;box-shadow:0 15px 30px #67452b27,0 3px 4px #67452b40,inset 0 0 0 3px #d1b399,inset 0 0 0 5px #b18c6f;position:relative}.book-wrap:after{content:"";position:absolute;bottom:5px;left:15px;right:15px;height:3px;border-top:1px solid #e8dac5;border-bottom:1px solid #e8dac5;pointer-events:none}.canvas-hint{text-align:center;padding:12px 10px 20px;font-size:10px;color:#9d8974;display:flex;justify-content:center;gap:5px}footer{height:62px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8f1e9;border-top:1px solid #e0d2c3;padding:0 20px;flex-shrink:0}footer button{border:0;background:transparent;padding:7px}.pager,.zoom,.history{display:flex;align-items:center;gap:7px}.pager span{font-size:11px;white-space:nowrap}.zoom input{width:85px;accent-color:#997760}.zoom button{font-size:11px}.tools{background:#fcf8f2;border-left:1px solid #e2d6ca;display:flex;flex-direction:column;min-height:0}.tabs{display:flex;border-bottom:1px solid #e5d9cc;height:57px;flex-shrink:0}.tabs button{flex:1;background:transparent;border:0;border-radius:0;position:relative}.tabs button.active:after{content:"";position:absolute;bottom:0;left:22px;right:22px;height:2px;background:#cd9287}.tabs span{font-size:10px;color:#a18e7d}.tools-scroll{overflow:auto;padding:20px 18px}.add-tools{display:flex;gap:8px;margin-bottom:26px}.add-tools button{flex:1;flex-direction:column;border:0;padding:11px 8px;background:#f6f0e9;font-size:11px}.add-tools .pink{background:#f8e1df;color:#c27e7a}.add-tools svg{width:22px;height:22px;stroke-width:1.5}section .muted{margin-top:7px;color:#a49180;font-size:11px;line-height:1.6}.stickers{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:17px}.stickers button{display:flex;flex-direction:column;border:1px solid #ede3d7;background:linear-gradient(145deg,#faf5ed,#f3ece2);padding:10px 8px 7px}.stickers img{width:72px;height:72px}.stickers span{font-size:10px;color:#a18a77;margin-top:5px}.tip{margin-top:27px;padding:18px 9px;text-align:center;border-top:1px solid #e8dccc;color:#a3a789}.tip p{font-family:Georgia,serif;font-size:13px;line-height:1.7;margin-top:8px;color:#99816d}.tip span{font:11px/1.8 Segoe UI,sans-serif;color:#af9c89}.properties{border:1px solid #e5d6c9;border-radius:8px;padding:12px;margin-bottom:25px;background:#f8f0e7}.properties .section-heading{margin-bottom:10px}.properties h3{font-size:12px}.properties button{padding:5px}.properties textarea{width:100%;min-height:90px;resize:vertical;background:#fffaf4;border:1px solid #ddcdbc;border-radius:4px;padding:8px;font-family:Georgia,serif}.fields{display:flex;gap:10px;margin-top:10px}.fields label{width:50%;font-size:10px;color:#967d67}.fields input{width:100%;margin-top:4px;border:1px solid #ddcdbc;background:#fffaf4;border-radius:4px;height:30px;padding:4px}.element-actions{display:flex;justify-content:space-between;margin-top:15px}.element-actions button{width:37px;height:30px}.layer-list{margin-top:12px;display:grid;gap:6px}.layer-list button{justify-content:flex-start;min-height:45px;text-align:left;font-size:11px}.layer-list img{width:30px;height:30px;object-fit:contain}.layer-list span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px}.layer-list .active{background:#f3dbd1;border-color:#c99487}.error{margin:0 20px;padding:9px;background:#ffe5dc;border:1px solid #d79b88;border-radius:6px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.error button{font-size:11px}.modal-backdrop{position:fixed;inset:0;background:#4c362c66;display:grid;place-items:center;z-index:10}.modal{background:#fff9f1;padding:30px;border:1px solid #dac6b3;border-radius:15px;width:480px;box-shadow:0 20px 80px #46332244}.library-app{display:block;min-height:100vh;height:auto;overflow:auto;background:#f7f1e9}.library-app header{position:sticky;top:0;z-index:2;background:#fffaf4}.library-app .brand{min-width:300px}.library-content{max-width:1240px;margin:auto;padding:38px 36px}.library-intro h2{font:36px Georgia,serif;color:#705443;margin:12px 0}.library-intro p{color:#947e6b;font-size:14px}.library-filters{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.library-filters label{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;background:#fffaf4;border:1px solid #e3d4c4;border-radius:10px;padding:10px 14px}.library-filters input{border:none;background:transparent;width:100%;outline:none;font:inherit}.library-filters select{border:1px solid #e3d4c4;border-radius:10px;background:#fffaf4;padding:10px 14px;color:#705443}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.library-book{background:#fffaf5;border:1px solid #e4d8ca;border-radius:16px;overflow:hidden;box-shadow:0 6px 18px #73583a08}.library-cover{width:100%;min-height:240px;display:grid;place-items:center;border:none;border-radius:0;background:linear-gradient(135deg,var(--cover-soft),#f5eee5);padding:22px;box-shadow:none}.cover-paper{width:180px;max-height:218px;border:1px solid #ded0be;border-left:7px solid var(--cover-accent);border-radius:3px 9px 9px 3px;background:var(--cover-paper);box-shadow:4px 7px 10px #745a4824;padding:12px;display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:6px}.cover-label{text-transform:uppercase;font-size:8px;letter-spacing:1.4px;color:var(--cover-accent)}.cover-paper img{width:95%;max-height:100px;object-fit:cover;border:4px solid #fff9f1}.cover-icon{font-size:42px}.cover-paper strong{font:16px Georgia,serif;color:var(--cover-accent);text-align:center;overflow-wrap:anywhere}.cover-paper svg{color:var(--cover-accent)}.library-book-info{padding:20px}.library-book h3{margin:0 0 9px;font:22px Georgia,serif;color:#6b503e;overflow-wrap:anywhere}.library-book-info p{font-size:12px;color:#8b7563;margin:7px 0}.library-book-info small{font-size:10px;color:#a08c7a}.library-book-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}.library-book-actions button{padding:8px;display:flex;align-items:center;gap:6px;font-size:11px}.library-empty{text-align:center;padding:70px 20px;border:1px dashed #ddcbb8;border-radius:16px;background:#fffaf3;color:#947d65}.library-empty h3{font:26px Georgia,serif}.library-empty p{font-size:13px}.library-local{margin:32px 0 0;font-size:11px;text-align:center;color:#a18d78}.new-book-title{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:13px}.new-book-title input{padding:10px 12px;border:1px solid #dacbbd;border-radius:8px;background:#fffcf9;color:#604f43;font:inherit;width:100%;box-sizing:border-box}.backup-checkbox{display:flex;gap:8px;align-items:center;font-size:13px;margin:20px 0}.restore-options{display:flex;flex-direction:column;gap:10px;margin-top:22px}.library-app .modal{max-height:90vh;overflow:auto}@media(max-width:1000px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-app .brand{min-width:200px}}@media(max-width:650px){.library-grid{grid-template-columns:1fr}.library-content{padding:25px 18px}}.modal h2{font-family:Georgia,serif;font-size:23px;font-weight:400}.modal p{line-height:1.7;margin:18px 0;color:#907561}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.loading{height:100vh;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center}.loading h1{font-family:Georgia,serif;font-style:italic}.loading p{max-width:550px;text-align:center}@media(max-width:1200px){.layout{grid-template-columns:180px minmax(0,1fr) 235px}.pages{padding-left:10px;padding-right:10px}.thumbnail{width:146px}.nav-note{display:none}.workspace-heading{padding:18px}.status,.canvas-hint{font-size:9px}footer{padding:0 9px;gap:4px}.zoom input{width:50px}.pager{gap:0}.pager span{font-size:10px}.brand{min-width:240px}}.workspace-heading>div{flex:1;min-width:0}.workspace-heading input{max-width:540px}.book-wrap canvas{touch-action:none}.footer-toggle{width:100%;justify-content:flex-start;margin-bottom:18px;font-size:11px;background:#f5eee5}.footer-toggle.active{background:#f5dfd5;border-color:#cd9789}.footer-editor h3{line-height:1.5;margin-bottom:12px}.footer-editor label,.photo-side{display:block;font-size:11px;color:#967d67;margin-top:10px}.footer-editor input,.photo-side select{width:100%;border:1px solid #ddcdbc;background:#fffaf4;border-radius:4px;padding:8px;margin-top:6px}.photo-side small{display:block;font-size:10px;line-height:1.5;margin-top:7px;color:#9b8979}.sticker-search{display:flex;align-items:center;gap:7px;border:1px solid #e2d5c8;border-radius:7px;background:#fffaf5;padding:9px 10px;margin-top:15px;color:#9b8471}.sticker-search input{border:0;background:transparent;width:100%;min-width:0;font-size:11px;outline:0}.sticker-categories{display:flex;flex-wrap:wrap;gap:5px;margin-top:11px}.sticker-categories button{padding:6px 9px;font-size:10px;border:0;background:#f3ece3}.sticker-categories button.active{background:#f0d5ce;color:#955d53}.stickers{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stickers button{padding:8px 3px 7px;min-width:0;border-radius:9px;background:radial-gradient(ellipse at 35% 20%,#fffaf4,#f2eae0)}.stickers img{width:100%;height:67px;object-fit:contain;filter:drop-shadow(0 2px 1px #79604a12)}.stickers span{font-size:9px;max-width:100%;white-space:normal;min-height:24px;display:flex;align-items:center;text-align:center}.canvas-hint{flex-wrap:wrap}.viewport{overscroll-behavior:contain}.property-select{display:block;margin-top:12px;font-size:11px;color:#967d67}.property-select select{display:block;width:100%;border:1px solid #ddcdbc;background:#fffaf4;border-radius:4px;padding:7px 5px;margin-top:5px;font-size:11px}.check-row{display:flex;align-items:center;gap:7px;font-size:11px;color:#967d67;margin-top:14px;line-height:1.5}.check-row input{accent-color:#be887b;flex-shrink:0;margin:0}.paper-swatches{display:flex;gap:8px;margin-top:14px}.paper-swatches button{width:25px;height:25px;padding:0;border-radius:50%;border:1px solid #cabbab;box-shadow:inset 0 0 0 2px #ffffff70}.stickers button[draggable=true]{cursor:grab;touch-action:pan-y}.stickers button[draggable=true]:active{cursor:grabbing}.stickers img{pointer-events:none}.viewport.drop-ready{outline:2px dashed #bf897d;outline-offset:-12px;background-color:#fae6d830}.print-guides{margin:14px 0;font-size:11px;color:#967d67}.print-guides summary{cursor:pointer}.clean-guides{margin-top:12px;font-size:11px}.print-dialog{position:relative;width:min(530px,95vw);max-height:94vh;overflow:auto}.print-dialog .close{position:absolute;top:14px;right:14px;font-size:20px;padding:0;width:30px;height:30px}.export-result{overflow-wrap:anywhere;padding:12px;background:#e7edde;border-radius:6px}.print-dialog.print-preview{width:min(920px,95vw)}.print-preview-content{display:flex;gap:28px;align-items:center}.print-preview-content>div:last-child{max-width:245px}.print-leaf{box-shadow:0 5px 22px #72543f25;flex-shrink:0}.export-details{display:grid;grid-template-columns:110px 1fr;gap:12px;font-size:13px}.export-details dd{margin:0}.export-details dt{color:#967d67}.quality-note{font-size:11px;line-height:1.6;color:#956538;background:#f6e8d4;border-radius:6px;padding:10px}.export-button{font-size:12px}@media(max-width:1150px){header .nav-note{display:none}.print-preview-content{gap:15px}}@media(max-width:750px){.print-preview-content{flex-direction:column}header{flex-wrap:wrap}}.format-dialog{width:min(630px,95vw);max-height:94vh;overflow:auto}.format-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.format-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:18px 9px;border:1px solid #ddcdbc;border-radius:9px;cursor:pointer;font-size:12px;text-align:center}.format-option.active{background:#f5dfd5;border-color:#bd887b}.format-option input{position:absolute;top:10px;left:10px;accent-color:#bd887b}.format-symbol{display:block;border:2px solid #ab8c75;background:#fffaf1;box-shadow:2px 3px #d9c5ae;margin:9px}.new-journal-link{margin-top:20px;font-size:12px}.backup-notice{display:flex;gap:12px;align-items:center;padding:8px 14px;font-size:11px;overflow-wrap:anywhere;background:#e7edde}.backup-notice button{margin-left:auto;padding:2px 6px}@media(max-width:1500px){header .nav-note{display:none}header{gap:10px;padding:0 18px}.book-settings{font-size:12px}}.family-panel.modal{width:min(1050px,95vw);max-height:92vh;overflow-y:auto;padding:28px 34px;position:relative}.family-heading,.family-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.family-heading h2{font: 29px Georgia,serif;margin:9px 0 18px}.family-tabs{display:flex;align-items:center;gap:8px;padding-bottom:20px;border-bottom:1px solid #e6d8c8;margin-bottom:24px}.family-tabs button.active{background:#f4dcd5;border-color:#dba99d}.family-tabs span{margin-left:auto;font-size:11px;color:#967d67}.profile-layout{display:grid;grid-template-columns:250px 1fr;gap:38px}.profile-portrait{background:linear-gradient(160deg,#f4dfd5,#f6eddf);border:1px solid #e5cfc0;border-radius:90px 90px 12px 12px;text-align:center;padding:25px 18px;align-self:start}.portrait-circle{width:180px;height:180px;margin:auto;border-radius:50%;background:#fffaf1;border:7px solid #fffaf1;box-shadow:0 5px 14px #75533c18;overflow:hidden;display:grid;place-items:center}.portrait-circle img{width:100%;height:100%;object-fit:cover}.portrait-circle span{font-size:95px}.profile-portrait h3{font: 25px Georgia,serif;overflow-wrap:anywhere}.profile-portrait p{font-size:12px}.profile-portrait button{margin-top:12px;font-size:12px}.family-form{border:0;padding:0;margin:0;min-width:0}.family-form legend{font: 20px Georgia,serif;margin:0 0 20px}.family-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.family-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px}.family-fields .wide{grid-column:1/-1}.family-fields input,.family-fields select,.family-fields textarea{width:100%;min-width:0;border:1px solid #dbcbbc;border-radius:7px;padding:10px 12px;background:#fffcf7;color:#654a38;font:inherit}.family-fields textarea{resize:vertical;line-height:1.6}.family-fields small,.family-hint{font-size:12px;color:#927661;line-height:1.6}.photo-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fffaf4;border:1px solid #d8c3b1;border-radius:7px;padding:10px 12px;font-size:12px;cursor:pointer}.photo-upload input{position:absolute;width:100%;height:100%;opacity:0;inset:0;cursor:pointer}.photo-upload:focus-within{outline:2px solid #bc8072}.family-photo-strip{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 20px}.family-photo-strip>div{position:relative}.family-photo-strip img{width:100px;height:90px;object-fit:cover;border:5px solid white;box-shadow:0 2px 7px #77544020;border-radius:4px}.family-photo-strip button{position:absolute;top:-6px;right:-6px;padding:4px;border-radius:50%}.family-actions{display:flex;gap:8px;margin:16px 0}.family-list-heading{margin-bottom:22px}.family-list-heading h3{margin:0;font: 22px Georgia,serif}.family-list-heading p{margin-bottom:0;font-size:12px;color:#987e69}.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.milestone-card{background:#fffcf7;border:1px solid #e2d1bf;border-radius:11px;overflow:hidden;box-shadow:0 4px 14px #75533c0d}.milestone-cover{display:block;width:100%;height:170px;object-fit:cover}.milestone-art{display:grid;place-items:center;background:linear-gradient(145deg,#f6ded7,#f4ead4);color:#bd887b}.milestone-card-content{padding:18px}.milestone-category{display:inline-block;font-size:11px;padding:5px 9px;background:#e9eddf;color:#718166;border-radius:14px}.milestone-card time{display:block;font-size:11px;color:#957b66;margin:10px 0}.milestone-card h3{font: 21px Georgia,serif;margin:12px 0;overflow-wrap:anywhere}.milestone-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;max-height:130px;overflow:auto}.milestone-card small{font-size:11px;color:#9b806b}.milestone-card button{font-size:11px}.milestone-design{width:100%;background:#f4dfd6;justify-content:center}.family-empty{padding:45px 20px;text-align:center;color:#967661}.family-empty>svg{color:#c89684}.family-empty h3{font: 25px Georgia,serif}.family-notice{background:#e8edde;padding:12px;border-radius:7px}.family-error{background:#fae2da;padding:12px;border-radius:7px}.family-confirm{position:sticky;bottom:0;background:#fff6e9;padding:24px;border:2px solid #d3ad96;box-shadow:0 -5px 25px #77544025;border-radius:12px;z-index:4}.family-confirm button{margin-right:10px}header nav{flex-shrink:0}header .nav-note{display:none}@media(max-width:1350px){header{gap:7px;padding:0 12px}header nav button{padding:8px;font-size:11px}header .brand{min-width:190px}header .brand h1{font-size:26px}header .brand-bear{font-size:35px}}@media(max-width:800px){.profile-layout{grid-template-columns:1fr}.profile-portrait{max-width:300px;margin:auto}.milestone-grid{grid-template-columns:1fr 1fr}.family-tabs span{display:none}}.chapter-tools{display:flex;gap:6px;padding:8px 14px}.chapter-tools button{flex:1;padding:9px 4px;font-size:12px}.chapter-navigation{display:block}.chapter-group{margin-bottom:10px}.chapter-heading{display:flex;align-items:center;border-radius:9px;background:#f2e9e0;margin:5px 0 9px}.chapter-heading.active{background:var(--theme-soft, #f9dfd9)}.chapter-heading button{border:none;background:transparent;box-shadow:none;padding:10px 7px;text-align:left}.chapter-heading button:last-child{flex:1;min-width:0}.chapter-heading strong,.chapter-heading small{display:block;overflow-wrap:anywhere}.chapter-heading strong{font-size:13px}.chapter-heading small{font-size:11px;color:#897a70;margin-top:4px}.chapter-group .page-card{width:100%;margin-bottom:10px}.chapter-empty{font-size:12px;color:#897a70;line-height:1.6;padding:4px 9px}.chapter-context{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 0 12px;color:#8a7466;font-size:12px}.chapter-context label{display:flex;align-items:center;gap:8px}.chapter-context select{max-width:200px;padding:6px 9px;border:1px solid #dfd2c4;border-radius:7px;background:#fffaf5;color:#70594c}.chapter-dialog{width:560px;max-height:90vh;overflow-y:auto}.chapter-dialog label,.chapter-delete label,.year-structure label,.new-year-structure label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:13px}.chapter-dialog input,.chapter-dialog select,.chapter-dialog textarea,.chapter-delete select,.year-structure input,.new-year-structure input[type=number]{width:100%;padding:10px 12px;border:1px solid #dacbbd;border-radius:8px;background:#fffcf9;color:#604f43;font:inherit;box-sizing:border-box}.chapter-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chapter-month-picker{display:grid;grid-template-columns:1fr 100px auto;gap:10px;align-items:center;padding:0 12px;background:var(--theme-soft, #f9dfd9);border-radius:9px}.chapter-month-picker button{font-size:12px}.book-overview{width:900px;max-width:calc(100vw - 60px);max-height:90vh;overflow-y:auto}.overview-title{display:flex;justify-content:space-between;align-items:center}.overview-title h2{margin-bottom:6px}.overview-actions,.year-structure{display:flex;align-items:center;gap:12px}.overview-actions{justify-content:space-between;margin:15px 0}.year-structure input{width:90px}.year-structure label{margin:0}.chapter-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.chapter-overview-card{background:#fffaf5;border:1px solid #eaded1;border-radius:13px;padding:12px;min-width:0}.chapter-overview-open{display:flex;width:100%;flex-direction:column;align-items:center;gap:8px;border:none;background:transparent;padding:0;box-shadow:none}.chapter-overview-open>img{width:100%;height:100px;object-fit:cover;border-radius:8px}.chapter-overview-open>span{width:100%;height:100px;background:var(--theme-soft, #f9dfd9);border-radius:8px;display:grid;place-items:center;font-size:38px}.chapter-overview-open strong{overflow-wrap:anywhere}.chapter-overview-open small,.chapter-overview-card p{font-size:12px;color:#8a7466}.chapter-overview-card .chapter-description{white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.chapter-card-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.chapter-card-actions button{padding:6px 8px;font-size:11px}.chapter-delete{padding:20px;border:1px solid #edd3c9;border-radius:12px;background:#fff8f3}.new-year-structure{padding:12px 16px;background:var(--theme-soft, #f9dfd9);border-radius:10px;margin-top:14px}.new-year-structure label:first-child{flex-direction:row;align-items:center;gap:9px}.new-year-structure input[type=number]{max-width:130px}.new-year-structure small{display:block;color:#8a7466}@media(max-width:1000px){.chapter-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-context{flex-wrap:wrap}}@media(max-width:650px){.chapter-overview-grid{grid-template-columns:1fr}.overview-actions{align-items:start;flex-direction:column}.chapter-month-picker{grid-template-columns:1fr}}.photo-library h2{font:23px Georgia,serif;margin:12px 0}.photo-library h2 span{font:14px system-ui;color:#a78672}.photo-library-hint{font-size:12px;color:#967764;line-height:1.6}.photo-upload{display:flex;gap:8px;align-items:center;justify-content:center;position:relative;background:#e69b9e;color:#fff;border-radius:9px;padding:12px;cursor:pointer}.photo-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-library-filters{display:grid;grid-template-columns:1fr 32px;gap:7px;margin:12px 0}.photo-library-filters input{grid-column:1/-1}.photo-library-filters input,.photo-library-filters select{min-width:0;width:100%;padding:9px;border:1px solid #e5d7cc;border-radius:7px;background:#fffaf6;color:#795a47;font-size:12px}.photo-library-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.library-photo{background:#fffaf5;border:1px solid #eadacf;border-radius:10px;overflow:hidden;min-width:0}.library-photo img{width:100%;height:115px;object-fit:cover;display:block;cursor:grab}.library-photo-caption{padding:8px;display:flex;flex-direction:column;gap:5px}.library-photo strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-photo small{font-size:10px;color:#9b8070}.library-photo button{font-size:10px;padding:6px;border-radius:6px;border:1px solid #ead1c6;background:#f6e6dd;color:#76503c}.photo-used,.photo-unused{font-size:10px;color:#71896d}.photo-unused{color:#a08c7b}.library-more{width:100%;margin:12px 0;padding:10px}.photo-import-status{font-size:12px;line-height:1.5}.photo-library-empty{text-align:center;padding:30px 12px;color:#a18471}.photo-actions{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.photo-actions button{padding:9px;border:1px solid #e8d1c5;border-radius:8px;background:#fff7f0;color:#795844}.crop-dialog{width:min(720px,94vw);max-height:94vh;overflow:auto}.crop-preview{display:flex;justify-content:center;align-items:center;min-height:160px;background:#f3e7dd;border:1px solid #e2cebd;border-radius:12px;overflow:hidden;margin:15px 0;touch-action:none}.crop-preview canvas{cursor:move}.crop-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px}.crop-dialog input[type=range]{width:100%;accent-color:#df9699}.crop-offsets{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:14px 0}.crop-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.crop-dialog .dialog-actions button{padding:10px 15px}.book-type-dialog{width:min(950px,95vw);max-height:94vh;overflow:auto}.book-type-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.book-type-card{position:relative;border:1px solid #e3d7cd;border-radius:14px;padding:16px;background:#fffaf5;cursor:pointer;transition:box-shadow .15s,border-color .15s}.book-type-card.active{border-color:var(--card-accent);box-shadow:0 0 0 2px var(--card-soft)}.book-type-card input{position:absolute;right:14px;top:14px;accent-color:var(--card-accent)}.book-type-card strong{display:block;font:20px Georgia,serif;margin-top:12px;color:var(--card-accent)}.book-type-card p{font-size:12px;line-height:1.6;margin:8px 0;min-height:40px}.book-type-card small{font-size:10px;color:#927f72}.type-example{height:102px;border-radius:9px;background:var(--card-soft);display:flex;align-items:center;justify-content:center;gap:24px;overflow:hidden}.type-paper{display:grid;place-items:center;background:var(--card-paper);width:72px;height:86px;transform:rotate(-7deg);box-shadow:0 4px 9px #0001;border:6px solid white;font-size:23px;position:relative}.type-paper i{position:absolute;top:-9px;width:34px;height:13px;background:var(--card-accent);opacity:.4;transform:rotate(7deg)}.type-icon{font-size:40px;color:var(--card-accent)}.book-type-summary{display:flex;align-items:center;justify-content:space-between;color:#876d5c;font-size:14px}.book-type-summary button{font-size:12px;background:transparent;border:0;text-decoration:underline}.all-stickers{display:flex;gap:8px;align-items:center;font-size:12px;margin:12px 0}.all-stickers input{accent-color:var(--theme-accent)}.app:not([data-book-type=baby]){color:var(--theme-ink);font-family:var(--theme-font),sans-serif;background:var(--theme-background)}.app:not([data-book-type=baby]) header,.app:not([data-book-type=baby]) aside,.app:not([data-book-type=baby]) footer{background:var(--theme-panel)}.app:not([data-book-type=baby]) main{background:var(--theme-background)}.app:not([data-book-type=baby]) .brand h1,.app:not([data-book-type=baby]) .workspace-heading input{font-family:var(--theme-font),serif;color:var(--theme-ink)}.app:not([data-book-type=baby]) .primary,.app:not([data-book-type=baby]) .photo-upload,.app:not([data-book-type=baby]) .new-page{background:var(--theme-accent);color:#fff}.app:not([data-book-type=baby]) .active,.app:not([data-book-type=baby]) .nav-active{background:var(--theme-soft);color:var(--theme-ink)}.app:not([data-book-type=baby]) .book-wrap{background:var(--theme-accent)}.app:not([data-book-type=baby]) button{color:var(--theme-ink)}.app:not([data-book-type=baby]) .primary{color:#fff}.app:not([data-book-type=baby]) .brand p{color:var(--theme-accent)}.app:not([data-book-type=baby]) .modal{background:var(--theme-panel);color:var(--theme-ink)}@media(max-width:800px){.book-type-options{grid-template-columns:repeat(2,1fr)}}@media(max-width:1650px){.app:not(.library-app) header{gap:10px;padding:0 16px}.app:not(.library-app) header nav{gap:8px}.app:not(.library-app) header button{font-size:12px;padding:9px 10px}.app:not(.library-app) header .help{padding:0;flex-shrink:0}.app:not(.library-app) header svg{flex-shrink:0}}@media(min-width:1351px)and (max-width:1650px){.app:not(.library-app) header .brand{min-width:240px}}header button.brand-home{position:relative;border:0;background:transparent;padding:0;flex-shrink:0}.brand-home-icon{position:absolute;bottom:0;right:-3px;background:#fffaf4;border-radius:4px;color:#80584a}.app[data-book-type=baby] .primary{background:#a65c50;color:#fff}.empty-book-art{display:block;font-size:42px;margin-bottom:20px}.product-tooltip{position:fixed;width:235px;max-width:calc(100vw - 16px);background:#594538;color:#fffaf4;font:12px/1.6 Arial,sans-serif;padding:12px;border-radius:8px;box-shadow:0 4px 16px #59453824;z-index:50;pointer-events:none}.chapter-tools{flex-wrap:wrap;display:grid;grid-template-columns:24px minmax(0,1fr);padding:8px 0}.chapter-tools>button:last-child{grid-column:1 / -1}.chapter-tools>button{min-width:0;white-space:normal}.library-app{min-width:0}.library-book{overflow:visible;transition:box-shadow .2s ease,transform .2s ease}.library-book:hover{box-shadow:0 10px 24px #73583a18}.library-cover{border-radius:15px 15px 0 0}.library-book-actions{justify-content:space-between;align-items:center}.library-book-actions>.primary{padding:10px 15px;font-size:13px}.book-actions-menu{position:relative}.book-menu{max-height:calc(100dvh - 16px);overflow-y:auto;position:absolute;right:0;bottom:calc(100% + 7px);width:240px;padding:6px;background:#fffaf4;border:1px solid #d5c0ae;border-radius:12px;box-shadow:0 12px 30px #563c3528;z-index:5}.book-menu button{width:100%;padding:11px 12px;border:0;background:transparent;text-align:left;font-size:13px}.book-menu button:hover{background:#f2e5da}.library-empty{color:#705443;padding:55px 24px}.library-empty p{max-width:600px;line-height:1.8;margin:15px auto 24px}.library-empty button{margin:4px}.library-book-info small,.library-local,.library-intro p{color:#75624f}.modal{max-height:calc(100dvh - 28px);overflow-y:auto}.onboarding{width:min(580px,94vw);text-align:center}.guide-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.guide-top button{flex-shrink:0;border:0;background:transparent;padding:6px}.intro-art{display:block;font-size:68px;margin:24px 0 12px}.intro-step{font-size:12px;color:#78624f}.intro-description{line-height:1.8;max-width:430px;margin:15px auto 24px}.intro-dots{display:flex;gap:7px;justify-content:center;margin:24px}.intro-dots span{width:7px;height:7px;border-radius:50%;background:#deccbe}.intro-dots .active{background:#aa6255;width:23px;border-radius:5px}.onboarding .dialog-actions{justify-content:center;flex-wrap:wrap}.product-help{width:min(720px,94vw)}.product-help h2{margin:8px 0}.product-help>p,.help-topics p{line-height:1.7}.intro-replay{margin:8px 0 20px}.help-topics details{border-top:1px solid #e4d5c5;padding:12px 0}.help-topics summary{cursor:pointer;font-weight:600;padding:5px}.help-topics p{margin:8px 5px;color:#715b48}.info-tip{display:inline-flex;position:relative;vertical-align:middle}.info-button{border:0;background:transparent;padding:4px;color:#7b6352;cursor:help}.guide-tip-row{display:flex;align-items:center;justify-content:space-between;gap:3px}.guide-tip-row .check-row{flex:1}.viewport{position:relative}.editor-start{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3;width:min(520px,calc(100% - 36px));max-height:calc(100% - 24px);overflow:auto;border:1px solid #dbc4b1;background:#fffaf4f5;border-radius:18px;padding:25px;text-align:center;box-shadow:0 14px 45px #65492d2e}.editor-start h2{font:25px Georgia,serif;margin:8px 0}.editor-start p{font-size:13px;line-height:1.7;color:#715b48}.editor-start button{font-size:12px;padding:9px 11px;margin:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #92594b;outline-offset:3px}.library-filters label:focus-within{outline:3px solid #92594b;outline-offset:3px}.modal,.library-empty,.backup-notice{animation:product-appear .18s ease-out}@keyframes product-appear{0%{opacity:.4}to{opacity:1}}@media(max-width:1250px){.app:not(.library-app){min-width:800px;min-height:0}.app header{height:auto;min-height:85px;flex-wrap:wrap;padding:10px 16px;gap:8px}.app:not(.library-app) header .brand{min-width:210px}.app header nav{flex:1}.app:not(.library-app) header nav{gap:4px}.app:not(.library-app) header nav .nav-note{display:none}.app:not(.library-app) header button{padding:7px;font-size:11px}.app .brand h1{font-size:25px}.app .brand p{font-size:11px}.layout{grid-template-columns:180px minmax(0,1fr) 240px}.viewport{min-height:180px}.library-app .brand{min-width:250px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-content{padding:28px 24px}}@media(max-width:950px){.library-app header nav{display:none}.library-app header .brand{flex:1}.layout{grid-template-columns:160px minmax(0,1fr) 220px}.editor-start{padding:15px}.editor-start h2{font-size:21px}}@media(max-width:620px){.library-grid{grid-template-columns:minmax(0,1fr)}.library-content{padding:22px 16px}.library-app .brand{min-width:220px}.library-app header{position:static}.library-filters select{flex:1;min-width:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.month-care{width:min(1100px,94vw)}.month-care>label{display:flex;gap:12px;align-items:center;margin-top:18px}.month-care select{padding:9px;border:1px solid #d4bfad;border-radius:8px;max-width:100%}.care-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;background:#f0e6db;border-radius:10px;font-size:13px}.care-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;max-height:46vh;overflow:auto;padding:4px}.care-photos article,.care-previews article{background:#fffaf5;border:1px solid #ddc9b9;border-radius:10px;padding:10px}.care-photos label{display:block;position:relative;cursor:pointer}.care-photos input{position:absolute;top:8px;left:8px;width:20px;height:20px;accent-color:#a65c50}.care-photos img{width:100%;height:130px;object-fit:cover;border-radius:6px}.care-photos span{display:block;font-size:13px;overflow-wrap:anywhere}.care-photos small{display:block;line-height:1.6;color:#6f5a49;margin:8px 0}.care-photos button,.care-previews button{font-size:12px;padding:7px}.care-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;margin-top:18px}.care-ways{display:flex;flex-wrap:wrap;gap:15px;padding:20px 0}.care-status{font-size:12px;color:#74604e}.chapter-tools>button:not(:first-of-type){grid-column:1 / -1}.care-entry{background:#f0ded1;font-weight:600}.care-large{position:fixed;inset:24px;z-index:12;background:#fffaf4;padding:24px;border:1px solid #d6bcaa;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column}.care-large img{max-width:100%;max-height:calc(100vh - 170px);object-fit:contain}.care-large>button{align-self:flex-end}.mobile-menu-toggle,.tablet-toolbar,.panel-close,.phone-guidance{display:none}.app.library-app{min-width:0}.compact-editor{min-width:0!important;min-height:0!important;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.compact-editor>header{min-height:56px;height:56px;padding:6px 12px;flex-wrap:nowrap;gap:8px}.compact-editor>header .brand{min-width:0!important;flex:1;gap:8px}.compact-editor>header .brand h1{font-size:22px}.compact-editor>header .brand p{font-size:10px;letter-spacing:0}.compact-editor>header .brand-bear{font-size:28px}.compact-editor>header>button:not(.mobile-menu-toggle){display:none}.compact-editor .mobile-menu-toggle{display:flex;min-height:44px;padding:10px 16px}.compact-editor>header nav{display:none}.compact-editor>header nav.navigation-open{display:flex;flex-direction:column;align-items:stretch;gap:8px;position:fixed;z-index:8;top:calc(62px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 85px - env(safe-area-inset-bottom));overflow-y:auto;background:var(--theme-panel, #fffaf4);border:1px solid #d8c6b6;border-radius:14px;padding:14px;box-shadow:0 14px 60px #59433955}.compact-editor>header nav button{justify-content:flex-start;min-height:44px;padding:10px 14px;font-size:14px}.compact-editor .tablet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 12px;background:var(--theme-panel, #faf5ee);border-bottom:1px solid #e1d5c7}.compact-editor .tablet-toolbar button{min-height:44px;flex:1;padding:8px;font-size:13px}.compact-editor .layout{display:flex;min-height:0}.compact-editor .layout>main{width:100%;min-width:0;min-height:0}.compact-editor .pages,.compact-editor .tools{display:none}.compact-editor .panel-open{display:flex;position:fixed;z-index:7;top:env(safe-area-inset-top);bottom:env(safe-area-inset-bottom);width:min(420px,calc(100vw - 24px));box-shadow:0 10px 60px #4d342d66;padding:12px;overflow-y:auto;overscroll-behavior:contain}.compact-editor .pages.panel-open{left:env(safe-area-inset-left)}.compact-editor .tools.panel-open{right:env(safe-area-inset-right)}.compact-editor .panel-close{display:block;min-height:44px;width:100%;margin-bottom:12px;flex-shrink:0}.drawer-backdrop{position:fixed;inset:0;background:#4d342d55;border:0;border-radius:0;z-index:6}.compact-editor .workspace-heading{padding:12px 16px;min-height:52px;gap:8px}.compact-editor .workspace-heading input{font-size:21px;max-width:100%}.compact-editor .chapter-context{padding:6px 16px;flex-wrap:wrap}.compact-editor .viewport{min-height:0;padding:16px;align-items:safe center;justify-items:safe center}.book-wrap,.crop-preview canvas{touch-action:none}.compact-editor .canvas-hint{padding:6px;font-size:11px}.compact-editor footer{height:auto;min-height:58px;padding:6px 12px;flex-wrap:wrap;justify-content:center}.compact-editor footer button{min-width:44px;min-height:44px}.compact-editor .tools-scroll{padding:12px 4px}.compact-editor .photo-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-editor .editor-start{max-width:calc(100% - 20px);padding:16px}.modal-backdrop{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.modal{max-width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}.crop-preview{min-width:0;touch-action:none}.care-large{inset:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}@media(pointer:coarse),(max-width:1100px){.app button,.modal button,.app select,.modal select,summary{min-height:44px;min-width:44px}.app input:not([type=checkbox]):not([type=radio]),.modal input:not([type=checkbox]):not([type=radio]){min-height:44px;font-size:16px}.sticker-categories button,.template-categories button{padding:10px 14px}.care-toolbar label{display:flex;align-items:center;gap:8px;min-height:44px}.care-photos input{width:28px;height:28px}.element-actions button{padding:10px}}@media(max-width:750px){.modal{padding:20px;border-radius:12px}.modal.template-library{padding:18px}.template-filters,.template-actions,.dialog-actions{flex-wrap:wrap}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-card-open img{height:155px}.template-filters{flex-direction:column}.chapter-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-book-format-grid,.format-options{flex-wrap:wrap}.family-fields{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.compact-editor .phone-guidance{display:block;font-size:11px;text-align:center;padding:4px 14px;margin:0}.compact-editor .workspace-heading .eyebrow,.compact-editor .brand p,.compact-editor .canvas-hint{display:none}.compact-editor .tablet-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.compact-editor .tablet-toolbar button{font-size:12px;overflow-wrap:anywhere}.compact-editor .workspace-heading input{font-size:18px}.compact-editor footer .zoom input{display:none}.compact-editor footer{gap:0}.library-app header{padding:10px 12px;gap:8px}.library-app .brand{min-width:0!important;flex:1}.library-app .brand-bear,.library-app header .brand p{display:none}.library-app .brand h1{font-size:22px}.library-app header>button{padding:8px;font-size:12px}.template-grid,.chapter-overview-grid,.book-type-options{grid-template-columns:minmax(0,1fr)}.care-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.care-photos img{height:100px}.care-photos article{padding:6px}.care-photos small{font-size:11px}.crop-offsets{flex-wrap:wrap}.care-previews{grid-template-columns:minmax(0,1fr)}.care-previews canvas{max-width:100%}}.photo-selection{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;padding:10px;border:1px solid #ddc9b9;border-radius:10px}.photo-selection p{width:100%;margin:0;font-size:12px}.photo-pick{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;font-size:12px}.photo-pick input{width:22px;height:22px;accent-color:#a87967}.modal-backdrop .modal{min-width:0;max-width:min(100%,calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}@media(max-width:1100px){.overview-actions,.year-structure{flex-wrap:wrap}.year-structure{justify-content:flex-start}.book-overview .overview-actions{gap:14px}}@media(max-width:520px){.format-options{grid-template-columns:minmax(0,1fr)}.format-option{flex-direction:row;justify-content:center}.month-care>label{flex-wrap:wrap}.month-care select{min-width:0;width:100%}}.modal-backdrop{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.library-app{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}.library-app>header{padding-top:env(safe-area-inset-top);min-height:calc(87px + env(safe-area-inset-top))}.book-wrap,.crop-preview,.stickers img{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}@media(max-width:520px){.library-app>header{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:auto;padding:calc(12px + env(safe-area-inset-top)) 12px 12px}.library-app>header .brand{grid-column:1 / -1;min-width:0}.library-app>header .brand h1{margin:0;font-size:24px;white-space:normal}.library-app>header .library-help-button{grid-column:1;grid-row:2}.library-app>header>button.primary{grid-column:2;grid-row:2}.library-app>header>button:not(.primary):not(.library-help-button){grid-column:1 / -1;grid-row:3}.library-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.library-filters label{grid-column:1 / -1;min-width:0}.library-filters select{width:100%;min-width:0}}
/*# sourceMappingURL=main.css.map */
