.simple-shell{--simple-paper: #fffdf9;--simple-surface: #f7f8f3;--simple-ink: #262b24;--simple-muted: #5c6258;--simple-line: #d8ddd1;--simple-accent: #353e2e;--simple-hover: #242c1d;--simple-selected: #edf2e7;--simple-focus: #536a3e;background:var(--simple-paper);color:var(--simple-ink);font-family:var(--font-ui)}.simple-shell button{border-radius:4px;cursor:pointer;transition:background-color .18s,border-color .18s,color .18s}.simple-shell button:disabled{cursor:not-allowed}.simple-shell :is(button,a,input,select):focus-visible,.simple-shell .fold-guide :focus-visible{outline:2px solid var(--simple-focus);outline-offset:3px}.simple-header{background:var(--simple-paper);border-color:var(--simple-line)}.simple-brand{font-family:var(--font-display);font-size:30px;font-weight:500;letter-spacing:-.035em}.simple-mode-label{color:var(--simple-muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.simple-advanced{color:var(--simple-muted);min-height:44px}.simple-advanced:hover{color:var(--simple-accent)}.simple-controls{width:100%;min-width:0;min-height:0;flex:1;flex-direction:column;gap:14px;padding:16px;overflow-y:auto;background:var(--simple-paper);border-right:1px solid var(--simple-line);font-family:var(--font-ui)}.simple-word-heading label,.simple-book legend{display:block;margin-bottom:8px;color:var(--simple-muted);font-size:12px;font-weight:600}.simple-word-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}.simple-word-heading label{margin-bottom:0}.simple-word-links{display:flex;gap:6px}.simple-word-heading a{min-height:44px;padding:6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--simple-line);border-radius:4px;background:var(--simple-paper);font-size:11px;font-weight:600;color:var(--simple-accent);white-space:nowrap;text-decoration:none;transition:background-color .18s,border-color .18s}.simple-word-heading a:hover{background:var(--simple-selected);border-color:var(--simple-focus)}.simple-word input{width:100%;padding:4px 0 8px;border-bottom:2px solid var(--simple-line);color:var(--simple-ink);background:transparent;font-size:32px;line-height:1.1;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.simple-word input:focus{outline:none;border-color:var(--simple-focus)}.simple-word p{margin:4px 0 0;font-size:11px;color:var(--simple-muted)}.simple-book{margin:0;padding:0;min-width:0;border:0}.simple-book-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.simple-book-options button{min-height:64px;padding:10px;border:1px solid var(--simple-line);text-align:left;color:var(--simple-ink);background:var(--simple-paper)}.simple-book-options button>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:4px}.simple-book-options strong{font-size:13px;font-weight:600}.simple-book-options small{font-size:10px;color:var(--simple-muted);white-space:nowrap}.simple-option-detail{display:block;margin-top:4px;font-size:11px;color:var(--simple-muted)}.simple-book-options button:hover{border-color:var(--simple-focus);background:var(--simple-surface)}.simple-book-options button[aria-pressed=true]{border-color:var(--simple-focus);color:var(--simple-accent);background:var(--simple-selected)}.simple-book-options button:disabled{opacity:.6}.simple-custom-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.simple-custom-fields label{font-size:11px;color:var(--simple-muted)}.simple-custom-fields input{width:100%;min-width:0;height:40px;margin-top:5px;padding:6px;border:1px solid var(--simple-line);border-radius:4px;background:#fff;font-size:16px;color:var(--simple-ink)}.simple-custom-fields input[aria-invalid=true]{border-color:#b42318}.simple-book-summary{margin:10px 0 0;font-size:11px;line-height:1.4;color:var(--simple-muted)}.simple-custom-fields:has([aria-invalid=true])+.simple-book-summary{color:#b42318}.simple-generate{margin-top:auto}.simple-generate button{width:100%;min-height:46px;padding:10px;border:1px solid var(--simple-accent);background:var(--simple-accent);color:#fff;font-size:14px;font-weight:600}.simple-generate button:hover{background:var(--simple-hover);border-color:var(--simple-hover)}.simple-generate button:disabled{opacity:.5}.simple-generate>p{margin-bottom:8px;color:#b42318;font-size:12px}.simple-controls-footer{display:flex;align-items:center;gap:16px;padding-top:10px;border-top:1px solid var(--simple-line);font-size:11px;color:var(--simple-muted)}.simple-controls-footer a:hover{color:var(--simple-accent)}.simple-controls-footer span{margin-left:auto}.simple-preview{background:var(--simple-surface)}.simple-preview-tabs{background:var(--simple-paper);border-color:var(--simple-line)}.simple-preview-tabs button{min-height:44px;color:var(--simple-muted)}.simple-preview-tab[aria-pressed=true]{background:var(--simple-selected);color:var(--simple-accent)}.simple-preview-tabs button:hover{background:var(--simple-selected)}.simple-preview-empty{color:var(--simple-muted);font-size:13px}.simple-result-actions{padding:8px 12px;font-family:var(--font-ui);background:var(--simple-paper);border-color:var(--simple-line)}.simple-project-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:10px;color:var(--simple-muted)}.simple-project-status a{color:var(--simple-accent);font-size:12px;white-space:nowrap}.simple-project-status span{text-align:right}.simple-share-fallback{display:block;margin-bottom:8px;font-size:12px}.simple-share-fallback input{width:100%;min-height:44px;margin-top:4px;padding:8px;border:1px solid var(--simple-line);border-radius:4px;background:var(--simple-paper);font-size:16px}.simple-result-actions>[role=alert]{color:#b42318;font-size:11px;margin-bottom:6px}.simple-shell .fold-guide{color:var(--simple-ink);background:var(--simple-surface)}.simple-shell .fold-guide button{border-radius:4px}.simple-shell .fold-camera button[aria-pressed=true]{color:var(--simple-accent);background:var(--simple-selected)}.simple-shell .fold-guide .fold-play{color:var(--simple-accent);border-color:var(--simple-line);background:var(--simple-paper)}.simple-shell .fold-guide .fold-primary{background:var(--simple-accent);color:#fff}.simple-shell .fold-guide .fold-primary:hover{background:var(--simple-hover)}.simple-shell .fold-guide .fold-play:hover{background:var(--simple-selected);border-color:var(--simple-focus)}.simple-shell .fold-page-button,.simple-shell .fold-previous{color:var(--simple-muted);background:transparent}.simple-shell .fold-page-button:hover,.simple-shell .fold-previous:hover{background:var(--simple-selected)}.simple-shell .fold-instructions{background:var(--simple-paper);border-color:var(--simple-line)}.simple-shell .fold-dimensions strong{color:var(--simple-accent)}.simple-shell .fold-dimensions select,.simple-shell .fold-jump-form input{border-color:var(--simple-line);background:var(--simple-paper);color:var(--simple-ink);border-radius:4px}.simple-shell .fold-jump-form{border-color:var(--simple-line);border-radius:4px;background:var(--simple-paper);box-shadow:0 6px 24px #262b2414}.simple-shell .fold-jump-form button{border:1px solid var(--simple-line)}.simple-shell .fold-jump-form button[type=submit]{background:var(--simple-accent);border-color:var(--simple-accent);color:#fff}.simple-shell .fold-scene [stroke="#2563eb"]{stroke:var(--simple-focus)}.simple-shell .fold-scene [fill="#2563eb"]{fill:var(--simple-focus)}.simple-shell .fold-scene [fill="#dbeafe"]{fill:#e4ebd9}.simple-shell .simple-preview :is(.bg-blue-500,.bg-green-500,.bg-orange-500){background:var(--simple-accent)}.simple-shell .simple-preview input[type=range]{accent-color:var(--simple-focus)}.simple-shell .simple-mobile-banner{background:var(--simple-paper);border-color:var(--simple-line)}.simple-shell .simple-banner-preview{background:var(--simple-surface);color:var(--simple-muted)}@media(min-width:768px){.simple-controls{flex:0 0 auto;width:34%;min-width:320px;max-width:400px;padding:24px;gap:22px}.simple-word input{font-size:40px}.simple-book-options button{min-height:76px;padding:12px}}@media(max-height:600px)and (max-width:767px){.simple-controls{padding:12px 16px;gap:7px}.simple-book-options button{min-height:60px;padding:8px 10px}.simple-custom-fields{margin-top:8px}}@media(prefers-reduced-motion:reduce){.simple-shell *{transition:none;animation:none}}
