/* Creator branch presentation, scoped away from the book selector. */
#creator .creation-paths{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#creator .creation-paths .lv2-story-path{position:relative;display:flex;align-items:flex-start;gap:14px;min-width:0;width:100%;padding:22px;text-align:left;border:1px solid #d4d6db;border-radius:18px;background:#fffdf8;color:#172841;box-shadow:0 3px 12px #17284108;transform:none;transition:border-color .15s,box-shadow .15s}
#creator .creation-paths .creation-auto{grid-column:1/-1;padding-top:36px;background:linear-gradient(115deg,#faf0d9,#fffdf7);border-color:#cda552}
#creator .creation-paths .lv2-story-path.selected{border:2px solid #a87a28;padding:21px;box-shadow:0 0 0 3px #d4a85326}
#creator .creation-paths .creation-auto.selected{padding-top:35px}
#creator .creation-paths strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;line-height:1.12;display:block;color:#172841}
#creator .creation-paths small{font-size:14px;line-height:1.5;color:#4b5667;display:block;margin-top:9px}
#creator .creation-duration{display:block;margin-top:14px;color:#61502e;font-size:12px;font-weight:650}
#creator .creation-recommended{position:absolute;top:10px;left:22px;font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#785619}
#creator .lv2-story-path-icon{font-size:27px;flex:0 0 35px;color:#a4772d}
#creator .creation-cast{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 22px}
#creator .creation-cast-card{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;min-width:150px;max-width:100%;background:#f6f1e6;border:1px solid #e3dccd;border-radius:14px;flex:1}
#creator .creation-cast-card img{width:56px;height:64px;object-fit:cover;border-radius:9px;flex:none}
#creator .creation-cast-card strong{display:block;color:#182a40;font-size:14px;overflow-wrap:anywhere}
#creator .creation-cast-card small{display:block;color:#566170;font-size:11px;margin-top:4px}
#creator .creation-cast-placeholder{display:grid;place-items:center;width:56px;height:64px;background:#e6dcc6;border-radius:9px;color:#665431;flex:none}
#creator .creation-auto-note,#creator #surpriseResult{padding:15px 18px;background:#f6f1e6;border-radius:12px;color:#3a4b5c;line-height:1.6;font-size:14px}
#creator .creation-photo-caption{font-weight:650;color:#172841;margin-top:16px}
#creator #storyAvoidWrap{margin:18px 0;padding:18px;background:#fffdf8;border:1px solid #e3dccd;border-radius:14px}
#creator #storyAvoidWrap summary{cursor:pointer;color:#172841;font-weight:650}
#creator #storyAvoid{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #bcc5cf;border-radius:10px;margin-top:8px;resize:vertical}
#creator .lv2-char-photo-btn:focus-visible,#creator .lv2-style-card:focus-visible{outline:3px solid #9d7225;outline-offset:4px}
#creator [hidden]{display:none!important}
html[data-creation-mode="bouyalabs_auto"] #creator .lv2-steps-nav{grid-template-columns:repeat(4,1fr)}
@media(max-width:600px){#creator .creation-paths{grid-template-columns:1fr}#creator .creation-paths .creation-auto{grid-column:auto}#creator .creation-paths strong{font-size:24px}#creator .creation-cast-card{min-width:120px}#creator .creation-cast-card img,#creator .creation-cast-placeholder{width:44px;height:52px}#creator .creation-paths .lv2-story-path{min-height:150px}}
@media(prefers-reduced-motion:reduce){#creator .lv2-panel,#creator .lv2-story-path{animation:none!important;transition:none!important}}
#creator #creationOfferSummary{display:none}
html[data-creation-mode="bouyalabs_auto"] #creator #creationOfferDetails{margin:0 0 20px;padding:16px 18px;border:1px solid #dac6a0;border-radius:14px;background:#fff9eb}
html[data-creation-mode="bouyalabs_auto"] #creator #creationOfferSummary{display:list-item;cursor:pointer;font-size:14px;line-height:1.6;color:#4f4026;font-weight:650}
#creator .lv2-panel-icon{display:grid;place-items:center;font-size:25px;color:#efd7a7}
@media(max-width:600px){#creator .dot-label{font-size:9px!important}}
/* Keep native focus/file-picker scrolling synchronous: a smooth document scroll
   can move the mobile action bar between pointer targeting and the click. */
html { scroll-behavior: auto; }
#creator .lv2-panel.active { animation: creationPanelReveal .16s ease; }
@keyframes creationPanelReveal { from { opacity: .75; } to { opacity: 1; } }
@media(prefers-reduced-motion:reduce){#creator .lv2-panel.active{animation:none}}

/* Review corrections and next steps stay readable without adding another step. */
#creator .creation-recap-edit { display:block; margin-left:auto; padding:8px 0 8px 12px; min-height:44px; color:#76521c; font:600 13px var(--bl-body); text-decoration:underline; text-underline-offset:3px; }
#creator .creation-next-note { margin:18px 0; padding:16px 18px; border-left:3px solid #bc9451; background:#faf5e9; color:#364459; font-size:14px; line-height:1.6; }
#creator #shippingErrors { padding:12px 16px; border:1px solid #b74848; border-radius:8px; }

/* Chapter-like entry: native disclosures, with the original form underneath. */
#creator .intro-opening { margin:0 0 22px; padding:22px; border:1px solid #dccdb3; border-radius:16px; background:radial-gradient(circle at top right,#ecd8aa55,transparent 65%),#faf6ed; }
#creator .intro-opening > span { color:#806130; font-size:10px; text-transform:uppercase; letter-spacing:.17em; font-weight:650; }
#creator #introStoryLine { margin:8px 0; font:600 clamp(24px,4vw,32px)/1.16 var(--bl-display); color:#17243c; overflow-wrap:anywhere; }
#creator .intro-opening > small { display:block; color:#667080; font-size:13px; line-height:1.6; }
#creator .intro-chapter { margin:12px 0; border:1px solid #ded7ca; background:#fffdfa; border-radius:14px; overflow:clip; }
#creator .intro-chapter[open] { border-color:#baa06f; box-shadow:0 8px 24px #25344b08; }
#creator .intro-chapter > summary { list-style:none; display:flex; align-items:center; gap:12px; padding:18px; min-height:82px; cursor:pointer; scroll-margin-top:130px; }
#creator .intro-chapter > summary::-webkit-details-marker { display:none; }
#creator .intro-number { display:grid; place-items:center; flex:0 0 32px; height:38px; border:1px solid #d9c79e; border-radius:7px; color:#82612d; font:600 18px var(--bl-display); }
#creator .intro-chapter[open] .intro-number { background:#17243c; color:#edcf92; border-color:#17243c; }
#creator .intro-chapter summary strong { display:block; font:600 clamp(19px,3vw,23px)/1.2 var(--bl-display); color:#17243c; }
#creator .intro-chapter summary small { display:block; margin-top:4px; color:#657183; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
#creator .intro-chapter summary > span:nth-child(2) { flex:1; min-width:0; }
#creator .intro-chevron { color:#90703e; transition:transform .16s; }
#creator .intro-chapter[open] .intro-chevron { transform:rotate(180deg); }
#creator .intro-body { padding:4px 20px 20px; }
#creator .intro-invitation { color:#617083; font-size:14px; line-height:1.6; margin-bottom:18px; }
#creator .intro-kind-fields { margin-bottom:16px; }
#creator .intro-next { margin-top:16px; width:100%; min-height:48px; justify-content:center; }
#creator[data-intro-stage]:not([data-intro-stage="3"]) [data-panel="1"] > .lv2-nav { display:none; }
#creator .intro-body .lv2-photo-zone { margin-block:12px; }
#creator .intro-body .lv2-extra-chars { margin-top:16px; }
#creator #heroPassion:not([hidden]) { margin-top:10px; }
#creator .intro-body .lv2-char-main { align-items:start; }
#creator .intro-body [data-intro-role] { width:100%; min-width:0; }
@media(max-width:600px) {
  #creator .intro-opening { padding:18px; }
  #creator .intro-chapter > summary { padding:15px 12px; gap:10px; }
  #creator .intro-body { padding:3px 14px 18px; }
  #creator .intro-body :is(input,select,textarea) { font-size:16px; }
}

/* Creator finishing pass: one progression, two recommended styles, optional exploration. */
#creator .lv2-macro-steps,#creator .lv2-progress-wrap{display:none}
#creator .lv2-order-context{margin-bottom:14px}
#creator .lv2-order-strip{margin:0}
#creator [data-panel="1"]>.lv2-panel-icon,#creator [data-panel="1"]>.lv2-panel-title,#creator [data-panel="1"]>.lv2-panel-sub{display:none}
#creator [data-panel="1"]>.intro-opening{margin-top:0}
#creator .lv2-visual-card[data-visual="1"]{background:#f7f1e7}
#creator .lv2-visual-card[data-visual="1"] .lv2-visual-img{width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}
#creator .lv2-style-group.is-favorites{border-color:#c4ad7b;background:#faf4e5;padding:18px}
#creator .is-favorites .lv2-style-group-head{display:block;text-align:left;margin-bottom:16px}
#creator .is-favorites .lv2-style-group-head h3{font:600 28px/1.1 var(--bl-display);color:#243c35}
#creator .is-favorites .lv2-style-group-head p{max-width:none;text-align:left;font-size:13px;line-height:1.6;margin-top:8px;color:#5c665d}
#creator .is-favorites .lv2-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#creator .is-favorites .lv2-style-card{min-width:0;background:#fffdf8}
#creator .is-favorites .lv2-style-card.selected{border-color:#476750;box-shadow:0 0 0 2px #47675033}
#creator .is-favorites .style-meta{flex-wrap:wrap;gap:5px}
#creator .is-favorites .style-meta h4{color:#243c35}
#creator .creation-other-styles{border:1px solid #d9d2c4;background:#fffdf8;border-radius:12px;margin:18px 0}
#creator .creation-other-styles>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:17px 18px;min-height:66px;color:#243c35;font-size:14px;font-weight:650}
#creator .creation-other-styles>summary::-webkit-details-marker{display:none}
#creator .creation-other-styles>summary small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#626c64;font-weight:400}
#creator .creation-other-styles>summary>span:last-child{font-size:23px;font-weight:400}
#creator .creation-other-styles[open]>summary>span:last-child{transform:rotate(45deg)}
#creator .creation-other-styles>summary:focus-visible{outline:3px solid #9d7225;outline-offset:3px;border-radius:10px}
#creator .creation-other-styles-content{padding:0 14px 2px}
#creator .creation-style-choice{margin:14px 0 0;padding:12px 16px;border-left:3px solid #53705a;background:#eff2e9;color:#304c3a;font-size:14px;line-height:1.5}
@media(max-width:600px){#creator .is-favorites.lv2-style-group{padding:12px}#creator .is-favorites .lv2-style-grid{gap:10px}#creator .is-favorites .lv2-style-group-head h3{font-size:25px}#creator .is-favorites .lv2-style-group-head p{font-size:12px}#creator .is-favorites .style-meta{display:block}#creator .is-favorites .style-meta h4{font-size:15px}#creator .is-favorites .style-badge{display:inline-block;margin-top:5px;font-size:9px}#creator .creation-other-styles-content{padding-inline:8px}#creator .creation-style-choice{font-size:13px}}
