/* Compact mobile application surfaces, ink paper and restrained vermilion. */
.home-greeting{display:flex;align-items:center;justify-content:space-between;padding:19px 2px 17px}.home-greeting h1{font:23px/1.4 var(--calligraphy);margin:0;letter-spacing:1px}.little-seal{display:inline-flex;align-items:center;justify-content:center;border:1px solid #a44837;color:#a44837;border-radius:3px;width:25px;height:27px;font:17px var(--calligraphy)}
.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.home-tool{position:relative;text-align:left;min-width:0;min-height:143px;border:1px solid #e2e2e2;background:#fffefef2;border-radius:17px;padding:16px;box-shadow:0 3px 13px #22222204;display:flex;align-items:flex-start;flex-direction:column}.home-tool:hover{border-color:#aaa;background:#fff}.home-tool strong{display:block;font-size:17px;line-height:1.5;color:#292929;font-weight:650}.home-tool small{display:block;color:#727272;font-size:11px;line-height:1.6;margin-top:3px}.tool-art{font:24px/1.1 var(--calligraphy);color:#555;width:38px;height:36px;margin-bottom:11px;border-left:2px solid #aaa;padding-left:9px}.baby-tool{grid-column:1/-1;min-height:131px;flex-direction:row;align-items:center;gap:20px;overflow:hidden;background:linear-gradient(110deg,#fff 35%,#eeeeee80),url('/ink-landscape.png') right bottom/70% auto no-repeat}.baby-tool:after{content:"";position:absolute;right:20px;top:18px;width:4px;height:30px;border-radius:2px;background:#a44837a8}.baby-tool strong{font:28px var(--calligraphy);letter-spacing:3px}.baby-tool small{font-size:12px;margin-top:7px}.baby-art{font-size:42px;width:54px;height:64px;border:1px solid #a7a7a7;border-radius:7px;padding:8px 4px;text-align:center;margin-bottom:0;color:#333;background:#ffffffb8;transform:rotate(-4deg)}.tool-link{display:flex;gap:6px;align-items:center;font-size:12px;margin-top:14px;color:#a44837}.tool-link .icon{width:17px;height:17px}.book-tool{grid-column:1/-1;flex-direction:row;min-height:84px;align-items:center;gap:12px}.book-tool .tool-art{margin:0}.book-tool>.icon{margin-left:auto;width:18px;color:#999}.home-section-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.home-section-head h2{font:19px var(--calligraphy);margin:0}.home-section-head span{font-size:11px;color:#777}.home-style-list{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.home-style-list button{min-height:44px;font-size:12px;border:1px solid #ddd;background:#ffffffb8;border-radius:9px;color:#555}.home-history{display:flex;align-items:center;gap:10px;width:100%;margin-top:20px;padding:15px 1px;min-height:50px;text-align:left;border-bottom:1px solid #e2e2e2}.home-history small{margin-left:auto;color:#777;font-size:11px}.home-history>.icon{width:19px;height:19px;color:#777}
.subpage-bar{height:57px;margin:0 -3px 6px;display:flex;align-items:center}.subpage-bar h1{font-size:18px}.subpage-bar .back-button{width:38px}.naming-panel{margin-top:4px}.style-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.style-choices button{font-size:13px}.source-preference{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px}.source-preference label{font-size:14px;color:#636363}.source-preference select{min-height:44px;max-width:64%;padding:7px 10px;font-size:13px;border:1px solid #dedede;border-radius:6px}.naming-options{margin-top:4px}.family-form{background:#fffefef5;padding:19px;border:1px solid #e1e1e1;border-radius:16px}.family-form label{font-size:14px;display:block;margin:0 0 8px}.family-form label small{font-size:11px;color:#777}.family-form input,.family-form select{width:100%;min-width:0;min-height:48px;padding:10px 12px;font-size:16px;border:1px solid #ddd;border-radius:9px;background:#f8f8f8;margin-bottom:18px}.family-form .two-fields{gap:12px}.family-form .button{width:100%;min-height:48px}.family-form .inline-error:empty{display:none}.family-muted{font-size:13px;color:#6d6d6d;line-height:1.8}.family-placeholder{text-align:center;margin:32px 10px;color:#757575;font-size:14px;line-height:1.9}.nickname-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nickname-card{border:1px solid #ddd;border-radius:14px;background:#ffffffee;padding:15px;min-width:0}.nickname-card>div{display:flex;align-items:center;justify-content:space-between}.nickname-card h3{font:26px var(--calligraphy);margin:0;color:#333}.nickname-card p{color:#666;font-size:12px;line-height:1.8;min-height:44px;margin:12px 0 5px}.nickname-save{padding:0;width:44px;height:44px;margin:-7px -8px -7px 0;border-radius:10px;color:#777}.nickname-save .icon{width:22px;height:22px}.nickname-save.saved{background:#a44837;color:#fff}.nickname-save.saved .icon{fill:#fff}.nickname-card .text-button{display:flex;align-items:center;gap:4px;font-size:12px;min-height:44px;color:#666}.nickname-card .text-button .icon{width:15px;height:15px}.notebook-tools{display:flex;gap:10px;margin-bottom:17px}.notebook-tools .button{flex:1;font-size:13px;background:#fff;min-height:44px}.history-heading{display:flex;align-items:center;justify-content:space-between;color:#777;font-size:12px;margin:9px 0}.history-heading button{min-height:44px}.history-row{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border:1px solid #e0e0e0;background:#fff;padding:17px;border-radius:12px;margin:0 0 10px}.history-row strong{display:block;font-size:14px;font-weight:550;line-height:1.7}.history-row small{display:block;margin-top:6px;color:#777;font-size:11px}.history-row .icon{width:18px;color:#888;flex-shrink:0}
.expert-card{border:1px solid #ddd;border-radius:18px;background:#fff;padding:23px 21px}.expert-heading{display:flex;align-items:center;gap:14px}.expert-avatar{display:grid;place-items:center;width:62px;height:68px;background:#333;color:#f6f6f6;border-radius:13px 16px 13px 5px;font:33px var(--calligraphy);flex-shrink:0}.expert-heading h2{font:26px var(--calligraphy);margin:0 0 5px}.expert-heading p{font-size:12px;color:#777;margin:0}.expert-heading .little-seal{margin-left:auto;width:22px;height:39px;writing-mode:vertical-rl;font-size:13px}.expert-services{display:flex;flex-wrap:wrap;gap:7px;margin-top:23px}.expert-services span{background:#f3f3f3;border:1px solid #e5e5e5;padding:6px 10px;border-radius:5px;color:#555;font-size:12px}.expert-bio{white-space:pre-line;font-size:14px;line-height:2.1;color:#555;margin:20px 0 0}.expert-contact{border:1px solid #ddd;border-radius:17px;margin-top:16px;padding:23px 20px;background:#fff;text-align:center}.expert-contact h2{font:22px var(--calligraphy);margin:0 0 15px}.expert-qr{display:block;width:208px;height:auto;max-width:100%;margin:0 auto 12px}.expert-contact p{font-size:12px;line-height:1.8;color:#777}.expert-contact .button{display:flex;justify-content:center;align-items:center;min-height:48px;width:100%;margin-top:12px;text-decoration:none}.family-note{font-size:11px;color:#777;padding:15px 8px;line-height:1.8}.analysis-card{border:1px solid #ddd;border-radius:15px;background:#fff;padding:21px 18px;margin-top:18px}.analysis-card>h2{font:36px var(--calligraphy);letter-spacing:3px;margin:0 0 10px}.analysis-facts{display:flex;gap:20px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:16px 0;font-size:13px;color:#777}.analysis-facts strong{color:#333;font-size:19px;font-weight:500}.analysis-character{display:flex;gap:16px;align-items:flex-start;background:#f6f6f6;padding:14px;border-radius:10px;margin-bottom:10px}.analysis-character>strong{font:31px var(--calligraphy)}.analysis-character>div{font-size:13px;color:#666;line-height:1.8}.analysis-character p{margin-top:6px;font-size:14px}.analysis-notes{padding-left:20px;line-height:1.9;font-size:14px;color:#666}.analysis-notes li{margin-bottom:9px}.analysis-card .text-button{min-height:44px;font-size:13px;text-align:left}.analysis-card .text-button .icon{width:15px;height:15px}.copy-content{display:block;width:100%;min-height:180px;resize:vertical;font-size:14px!important;line-height:1.8;background:#f7f7f7!important;border:1px solid #ddd!important;border-radius:10px!important;padding:14px!important;white-space:pre-wrap}
.detail-actions button[aria-pressed=true]{color:#fff;background:#a44837;border-color:#a44837}.detail-actions button[aria-pressed=true] .icon{fill:#fff;stroke:#fff}.bookmark.saved{background:#a44837;color:#fff}.bookmark.saved .icon{fill:#fff;stroke:#fff}
@media(min-width:700px){.bottom-nav a{flex-direction:column;gap:3px;font-size:12px}.bottom-nav a.active:before{width:20px;height:3px;top:0}.header-inner{height:64px}.container{padding-left:18px;padding-right:18px}.results{grid-template-columns:1fr}}
@media(max-width:359px){.home-tool{padding:12px}.home-tool strong{font-size:16px}.home-tool small{font-size:10px}.home-greeting h1{font-size:21px}.home-style-list button{font-size:11px}.baby-tool{gap:16px}.expert-card{padding:19px 15px}.expert-heading{gap:10px}.expert-heading h2{font-size:24px}.nickname-card{padding:12px}.family-form{padding:15px}}

.expert-logo{object-fit:contain;background:#fff;border:1px solid #eee;width:72px;height:72px;border-radius:12px}
