/* ShelfAnElf shared interface. Scoped away from other tenants and the book canvas. */
.shelf-site,.shelf-public{--primary:#285d46;--primary-color:#285d46;--primary-dark:#1c4935;--primary-light:#e6efe6;--accent-color:#285d46;--text-primary:#233e32;--text-secondary:#64736a;--border-color:#dce3d9;--elf-green:#285d46;--font-family:Inter,system-ui,sans-serif;font-family:Inter,system-ui,sans-serif!important;background:#f5f5ef!important;color:#233e32!important;line-height:1.6}
.shelf-site *,.shelf-public *{box-sizing:border-box}.shelf-public{margin:0}.shelf-site .outer-container{max-width:none!important;background:transparent!important;box-shadow:none!important;margin:0!important}.shelf-site .header{background:#fff!important;box-shadow:none!important;border:0!important;position:relative!important}.shelf-site .header>.container{max-width:1240px;margin:auto;padding:12px 28px;min-height:76px}.shelf-site .logo-image,.shelf-site .logo-link img{max-height:56px!important;width:auto!important}.shelf-site .main-nav{background:#fff!important;box-shadow:none!important;border:0!important}.shelf-site .nav-container{max-width:1240px!important;padding:4px 28px 16px!important}.shelf-site .nav-menu{gap:6px!important}.shelf-site .nav-menu a{border:0!important;border-radius:10px!important;padding:9px 16px!important;font-size:14px!important;font-weight:600!important;color:#5a7061!important;background:transparent!important;box-shadow:none!important}.shelf-site .nav-menu a.active,.shelf-site .nav-menu a:hover{background:#e7efe5!important;color:#234d38!important}.shelf-site .nav-menu a::after,.shelf-site .nav-menu a::before{display:none!important}
.shelf-site main.container,.shelf-site .project-create,.shelf-site .story-generator-main,.shelf-site .checkout-container,.shelf-site .orders-container{max-width:1240px!important;width:100%!important;margin:0 auto!important;padding:38px 28px 56px!important;background:transparent!important}.shelf-site .page-header,.shelf-site .project-header{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0 0 28px!important;margin:0!important;color:#233e32!important;gap:20px!important}.shelf-site h1{font-size:clamp(25px,3vw,36px)!important;letter-spacing:-1px!important;line-height:1.2!important;color:#233e32!important}.shelf-site .page-header p,.shelf-site .project-header p{font-size:15px!important;color:#637568!important;margin-top:10px!important}.shelf-site h2,.shelf-site h3{color:#294c38!important;letter-spacing:-.3px}.shelf-site .page-header h1::after,.shelf-site .section-title::after,.shelf-site .card-header::after,.shelf-site h2::after,.shelf-site h3::after{display:none!important}.shelf-site .btn,.shelf-public .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px!important;border-radius:10px!important;font-family:inherit!important;font-weight:600!important;font-size:13px!important;text-decoration:none!important;line-height:1.3;cursor:pointer;box-shadow:none!important;transform:none!important}.shelf-site .btn-primary,.shelf-public .btn-primary{background:#285d46!important;border:1px solid #285d46!important;color:#fff!important}.shelf-site .btn-primary:hover,.shelf-public .btn-primary:hover{background:#1d4936!important}.shelf-site .btn-outline,.shelf-site .btn-outline-primary,.shelf-site .btn-secondary,.shelf-public .btn-outline{background:#fff!important;color:#285d46!important;border:1px solid #d4dfd2!important}.shelf-site button:disabled{opacity:.5;cursor:not-allowed}.shelf-site .form-control,.shelf-site input[type=text],.shelf-site input[type=email],.shelf-site input[type=tel],.shelf-site input[type=password],.shelf-site select,.shelf-site textarea{font-family:inherit!important;font-size:14px!important;color:#263e30!important;border:1px solid #cbd7c9!important;border-radius:9px!important;background:#fff!important;padding:11px 13px!important;box-shadow:none!important;max-width:100%}.shelf-site :focus-visible,.shelf-public :focus-visible{outline:3px solid #829d87!important;outline-offset:3px}.shelf-site label{font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}.shelf-site .form-panel,.shelf-site .main-content-panel,.shelf-site .card,.shelf-site .checkout-section,.shelf-site .order-summary{background:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 6px 24px #233e3206!important}.shelf-site .info-panel,.shelf-site .tips-section,.shelf-site .tips-card{background:#eaf0e6!important;border:0!important;border-radius:16px!important;box-shadow:none!important}.shelf-site .info-panel{padding:24px!important}.shelf-site .card-header,.shelf-site .section-title{background:transparent!important;border:0!important;padding-bottom:14px!important}.shelf-site .alert,.shelf-site .pdf-status-banner,.shelf-site .tip,.shelf-site .step-item.active,.shelf-site .workflow-step.active{border-left:0!important;border-bottom:0!important;box-shadow:none!important;border-radius:12px!important}.shelf-site .progress-step.active,.shelf-site .workflow-step.active{background:#e1eddf!important}.shelf-site .breadcrumb{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;flex-wrap:wrap}.shelf-site .header-actions,.shelf-site .page-header-actions{flex-wrap:wrap;gap:8px!important}.shelf-site .project-card{border:0!important;border-radius:16px!important;overflow:hidden;box-shadow:0 5px 20px #233e3208!important;transform:none!important;background:#fff!important}.shelf-site .project-card:hover{box-shadow:0 10px 28px #233e3215!important}.shelf-site .project-image{height:210px!important}.shelf-site .project-progress{display:none}.shelf-site .action-btn.edit-btn{width:auto!important;padding:9px 14px!important;min-height:40px;font-size:12px;font-weight:600;color:#fff!important;background:#285d46!important;border:0!important;border-radius:9px!important}.shelf-site .action-btn.delete-btn{background:#f6ece8!important;color:#954836!important;border:0!important;border-radius:9px!important}.shelf-site .project-actions{justify-content:space-between!important;padding:14px 18px!important;border:0!important}.shelf-site .filter-bar,.shelf-site .filter-controls{border:0!important;border-radius:14px!important;background:#ecefe7!important;box-shadow:none!important}.shelf-site .stat-badge,.shelf-site .status-badge{background:#e6eee2!important;color:#37593d!important;border:0!important;border-radius:8px!important}.shelf-site .story-page-card{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:none!important;animation:none!important}.shelf-site .story-page-text{font-size:17px!important;line-height:1.8!important;color:#294131!important}.shelf-site .story-page-number{background:#edf2e8!important;color:#34573d!important;border-radius:8px!important}.shelf-site .tips-header,.shelf-site .info-panel h2{border:0!important}.shelf-site .workflow-sidebar .card{background:#eaf0e6!important}.shelf-site .upload-area{border:2px dashed #c8d7c2!important;background:#f5f8f0!important;border-radius:14px!important}.shelf-site .gallery-item,.shelf-site .project-photo{border-radius:12px!important;box-shadow:none!important}.shelf-site .step-number,.shelf-site .progress-step-number{background:#dce9d7!important;color:#2c563c!important;box-shadow:none!important}.shelf-site .page-header::before,.shelf-site .page-header::after,.shelf-site .info-panel::before,.shelf-site .form-panel::before,.shelf-site .project-card::before,.shelf-site .tips-section::before{display:none!important}
.shelf-footer{width:100%;box-sizing:border-box;max-width:1240px;margin:32px auto 0;padding:32px 28px 40px;display:flex;justify-content:space-between;align-items:start;gap:32px;color:#657568;font-size:12px;background:transparent!important;border:0!important}.shelf-footer strong{font-size:20px;color:#28533a}.shelf-footer p{margin:7px 0}.shelf-footer nav{display:flex;justify-content:flex-end;align-items:center;gap:8px 24px;flex-wrap:wrap;flex:1;max-width:760px}.shelf-footer nav a{display:inline-flex;align-items:center;min-height:44px}.shelf-footer>div{flex-shrink:0}.shelf-footer a{color:#47634f;text-decoration:none}.shelf-footer a:hover{color:#203e30;text-decoration:none}.shelf-footer a:focus-visible{outline:2px solid #507e60;outline-offset:4px;border-radius:4px}.shelf-footer a::before,.shelf-footer a::after{display:none!important}.shelf-dashboard{max-width:1240px;margin:auto;padding:30px 28px 12px}.shelf-welcome{display:grid;grid-template-columns:1.1fr 1fr;gap:42px;align-items:center;background:#e8eedf;border-radius:24px;padding:42px;margin:0 0 26px;overflow:hidden}.shelf-welcome h1{font-size:clamp(32px,4vw,50px)!important;line-height:1.12!important;letter-spacing:-1.7px!important;margin:14px 0 20px}.shelf-welcome p{max-width:470px;color:#566c59;font-size:15px}.shelf-welcome>img{width:100%;height:310px;object-fit:cover;border-radius:16px}.shelf-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:1.8px!important;color:#53724e!important}.shelf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.shelf-stats{display:flex;gap:38px;padding:12px 6px 28px}.shelf-stats>div{display:flex;align-items:center;gap:10px}.shelf-stats strong{font-size:24px;color:#32563e}.shelf-stats span{font-size:12px;color:#6a796a}.shelf-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 20px}.shelf-section-title h2{margin:4px 0;font-size:24px}.shelf-section-title a{font-size:13px;color:#285d46}.shelf-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.shelf-book-card{display:block;background:#fff;border-radius:18px;overflow:hidden;color:#294633;text-decoration:none;transition:box-shadow .2s}.shelf-book-card:hover{box-shadow:0 8px 26px #29463315}.shelf-book-card>img,.shelf-book-placeholder{width:100%;height:200px;object-fit:cover}.shelf-book-placeholder{display:grid;place-items:center;background:#e6ecdc;font:italic 24px Georgia,serif;color:#58704b}.shelf-book-card>div:not(.shelf-book-placeholder){padding:20px}.shelf-book-card h3{margin:12px 0 6px;font-size:18px;line-height:1.4}.shelf-book-card p{font-size:13px;color:#6b7a6b;margin:0 0 18px}.shelf-book-card strong{font-size:12px}.shelf-badge{font-size:10px;background:#edf3e7;border-radius:6px;padding:5px 8px;font-weight:600}.shelf-next{margin:52px 0 24px;background:#fff;border-radius:20px;padding:34px}.shelf-next h2{font-size:25px;margin:5px 0 28px;letter-spacing:-.7px}.shelf-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.shelf-steps article>span{display:inline-grid;place-items:center;width:38px;height:38px;background:#edf1e2;border-radius:12px;font-size:12px;color:#517047;font-weight:700}.shelf-steps h3{font-size:17px;margin:16px 0 9px}.shelf-steps p{font-size:13px;color:#6a7867;margin:0}.shelf-empty{padding:38px;background:#fff;border-radius:18px}.shelf-public-header{max-width:1240px;margin:auto;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.shelf-wordmark{font-family:Georgia,serif;font-size:31px;letter-spacing:-1.5px;font-weight:700;color:#28533a;text-decoration:none}.shelf-wordmark span{font-size:17px;font-style:italic;margin:0 4px}.shelf-public-header nav{display:flex;align-items:center;gap:20px}.shelf-public-header nav>a{color:#526a56;text-decoration:none;font-size:13px}.shelf-public main{max-width:1240px;margin:auto;padding:10px 28px}.shelf-public .shelf-welcome{padding:54px 46px}.shelf-public-art{position:relative}.shelf-public-art img{width:100%;border-radius:17px;display:block}.shelf-public-art>span{display:block;text-align:center;font:italic 18px Georgia,serif;background:#fff8e9;padding:14px;border-radius:0 0 12px 12px;margin:-5px 12px 0}.shelf-small{font-size:12px!important;margin-top:20px}.shelf-public-note{text-align:center;max-width:650px;margin:65px auto}.shelf-public-note h2{font:32px Georgia,serif;color:#28533a}.shelf-public-note p{color:#63745d;font-size:15px;margin-bottom:24px}.shelf-auth{border:0;border-radius:20px;background:#fffef9;color:#294633;padding:32px;width:min(460px,94vw);max-height:90dvh;overflow:auto;font-family:Inter,system-ui,sans-serif;box-shadow:0 24px 100px #102c2244}.shelf-auth::backdrop{background:#142d22ba}.shelf-auth-close{position:absolute;right:14px;top:12px;background:#edf1e8;border:0;border-radius:50%;height:30px;width:30px;font-size:22px;cursor:pointer}.shelf-auth .modal-tabs{display:flex;gap:6px;margin:12px 0 24px}.shelf-auth .modal-tab{flex:1;border:0;border-radius:9px;background:#f0f2e9;color:#52674f;padding:11px;font:600 13px Inter,sans-serif;cursor:pointer}.shelf-auth .modal-tab.active{background:#dfead9;color:#244f33}.shelf-auth .modal-tab-content{display:none}.shelf-auth .modal-tab-content.active{display:block}.shelf-auth h2{margin:0 0 7px;font-size:25px;letter-spacing:-.7px}.shelf-auth p{font-size:13px;color:#6b7b63;margin:0 0 22px}.shelf-auth label{display:block;font-size:12px;font-weight:600;margin:16px 0}.shelf-auth input{display:block;width:100%;border:1px solid #cdd8c7;border-radius:9px;padding:12px 13px;margin-top:6px;font:14px Inter,sans-serif;background:#fff}.shelf-auth button[type=submit]{width:100%;margin-top:10px;border:0;border-radius:9px;background:#285d46;color:#fff;padding:13px;font:600 14px Inter,sans-serif;cursor:pointer}.shelf-auth .error-message{padding:12px;background:#fbede6;color:#8b4436;border-radius:9px;font-size:13px}.shelf-auth .success-message{padding:12px;background:#e7f1df;border-radius:9px}
@media(max-width:850px){.shelf-site .content-grid,.shelf-site .content-wrapper,.shelf-site .generator-grid,.shelf-site .checkout-grid{grid-template-columns:1fr!important}.shelf-site .info-panel,.shelf-site .workflow-sidebar{position:static!important;max-height:none!important}.shelf-site .project-create .info-panel .tips-section{display:none}.shelf-welcome{gap:24px;padding:28px}.shelf-public .shelf-welcome{padding:30px}.shelf-welcome h1{font-size:36px!important}.shelf-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-footer{margin:25px auto 0}.shelf-site .page-header,.shelf-site .project-header{flex-direction:column!important;align-items:flex-start!important}.shelf-public-header nav>a{display:none}}
@media(max-width:580px){.shelf-site main.container,.shelf-site .project-create,.shelf-site .story-generator-main,.shelf-site .checkout-container,.shelf-dashboard{padding:24px 16px!important}.shelf-public-header{padding:18px 16px}.shelf-wordmark{font-size:25px}.shelf-public-header nav{gap:8px}.shelf-public-header .btn-primary{display:none}.shelf-public main{padding:0 16px}.shelf-welcome{grid-template-columns:1fr;border-radius:18px;padding:24px!important}.shelf-welcome>img{height:220px}.shelf-welcome h1{font-size:35px!important}.shelf-book-grid{grid-template-columns:1fr}.shelf-stats{gap:14px;flex-wrap:wrap}.shelf-stats>div{gap:6px}.shelf-stats span{font-size:10px}.shelf-stats strong{font-size:19px}.shelf-section-title{align-items:flex-start}.shelf-section-title h2{font-size:21px}.shelf-steps{grid-template-columns:1fr;gap:24px}.shelf-next{padding:24px;margin-top:30px}.shelf-footer{flex-direction:column;margin:16px auto 0;padding:24px 16px 32px;gap:20px}.shelf-footer nav{justify-content:flex-start;gap:4px 24px;max-width:none}.shelf-site .header>.container{padding:12px 16px}.shelf-site .nav-container{padding:4px 16px 12px!important}.shelf-site .form-row{grid-template-columns:1fr!important}.shelf-site .form-panel,.shelf-site .checkout-section{padding:22px!important}.shelf-site .header-stats{flex-wrap:wrap}.shelf-auth{padding:28px 24px}}
@media(prefers-reduced-motion:reduce){.shelf-site *,.shelf-public *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.shelf-site .header-content{max-width:1240px!important;margin:auto!important;padding:14px 28px!important}.shelf-site .site-logo{height:52px!important;width:auto!important}.shelf-site .info-panel h2::before,.shelf-site h1::before,.shelf-site h2::before,.shelf-site h3::before,.shelf-site .tips-title::before,.shelf-site .section-title::before{display:none!important}.shelf-site .project-create .content-grid{grid-template-columns:280px minmax(0,1fr);gap:28px}.shelf-site .project-create .info-panel p{font-size:14px;line-height:1.8;margin:14px 0}.shelf-site .project-actions{position:static!important;opacity:1!important;transform:none!important;display:flex!important;background:#fff!important}.shelf-site .header-stats .stat-badge{box-shadow:none!important}.shelf-site .gallery-sidebar .sidebar-section,.shelf-site .gallery-sidebar{border-radius:16px!important;box-shadow:none!important}.shelf-site .gallery-header{background:transparent!important;border:0!important;box-shadow:none!important;padding:0 0 26px!important}.shelf-site .gallery-title h1{margin-top:0}.shelf-site .gallery-container{padding-top:0}.shelf-site .photo-grid .photo-item{box-shadow:none!important;border:0!important;border-radius:14px!important;overflow:hidden}.shelf-site .project-create .header-save-btn{display:none!important}
@media(max-width:850px){.shelf-site .project-create .content-grid{grid-template-columns:1fr}.shelf-site .project-create .info-panel{display:none}}

.shelf-site .story-preview-intro,.shelf-site .photo-warning,.shelf-site .batch-selection-bar{border-left:0!important;border-radius:12px!important}.shelf-site .btn::before,.shelf-site .btn::after{display:none!important}.shelf-site .checkout-container>h1{border:0!important}.shelf-site .stat-badge{box-shadow:none!important}
.shelf-site .shipping-option{display:flex!important;align-items:center;gap:14px;width:100%;background:#f3f6ef;border:0!important;padding:17px!important;border-radius:12px!important;margin-bottom:10px!important}.shelf-site .shipping-option:has(input:checked){background:#e0eddf!important}.shelf-site .shipping-option input[type=radio]{position:static!important;opacity:1!important;width:18px;height:18px;flex:none;accent-color:#285d46}.shelf-site .shipping-content{flex:1;gap:12px;padding:0!important}.shelf-site .shipping-content::before{display:none!important}.shelf-site .shipping-info h4{font-size:14px!important}.shelf-site .shipping-info p{font-size:12px!important;font-weight:400}.shelf-site .shipping-price{font-size:15px!important;white-space:nowrap}.shelf-site .summary-item{border:0!important}.shelf-site .price-breakdown{border:0!important}.shelf-site .order-summary .total{background:#edf3e7;border-radius:10px;padding:14px!important}
