.creation-dialog { width: min(1100px, calc(100vw - 40px)); }
/* Keep the 3D book covers out of the modal backdrop without collapsing the shelf. */
.creation-open .book-stage { visibility: hidden; }
/* A flat, opaque backdrop avoids repainting blurred 3D layers around this large form. */
.creation-dialog::backdrop { background: var(--bg, #0b1a29); -webkit-backdrop-filter: none; backdrop-filter: none; }
.creation-dialog .dialog-header { padding: 23px 30px 21px; position: sticky; top: 0; z-index: 5; background: var(--surface); }
.creation-dialog .dialog-header h2 { font-size: 29px; }
.creation-dialog .dialog-body { padding: 0; }
.creation-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; }
.creation-main { padding: 27px 30px; min-width: 0; }
.creation-section + .creation-section { margin-top: 30px; }
.creation-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.creation-section-heading > span:first-child { align-self: flex-start; color: var(--accent); font: 21px/1.25 var(--serif); opacity: .7; }
.creation-section-heading h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.creation-section-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.creation-optional { font-size: 10px; color: var(--faint); margin-left: auto; white-space: nowrap; }
.format-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.creation-format-help { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 18px 0; }
.creation-advertising .creation-main { padding-bottom: 12px; }
.creation-advertising iframe { display: block; width: 100%; height: 65dvh; min-height: 440px; border: 0; }
.format-option { border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); text-align: left; padding: 13px 11px; min-width: 0; }
.format-option > .icon { color: var(--muted); width: 22px; height: 22px; margin-bottom: 10px; }
.format-option strong, .format-option small { display: block; }
.format-option strong { font-size: 12px; font-weight: 500; }.format-option small { font-size: 9px; color: var(--faint); margin-top: 4px; }
.format-option.selected, .preset-option.selected, .creation-chip.selected { border-color: var(--accent); background: var(--accent-wash); }
.format-option.selected .icon, .format-option.selected strong { color: var(--accent-strong); }
.format-option:hover, .preset-option:hover, .creation-chip:hover { border-color: var(--accent); }
.preset-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.preset-option { display: flex; gap: 10px; align-items: flex-start; position: relative; text-align: left; min-height: 113px; padding: 16px 13px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.preset-icon { color: var(--faint); display: flex; padding-top: 1px; }.preset-icon .icon { width: 18px; height: 18px; }
.preset-copy { display: flex; flex-direction: column; gap: 6px; padding-right: 5px; min-width: 0; }.preset-copy strong { font-size: 13px; font-weight: 500; }.preset-copy small { color: var(--accent); font-size: 9px; }.preset-copy > span { font-size: 11px; line-height: 1.7; color: var(--muted); }
.preset-check { position: absolute; top: 12px; right: 10px; width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }.preset-check .icon { width: 10px; height: 10px; visibility: hidden; }.selected .preset-check { background: var(--accent); color: var(--bg); border-color: var(--accent); }.selected .preset-check .icon { visibility: visible; }.selected .preset-icon, .selected .preset-copy strong { color: var(--accent-strong); }
.creation-idea label:not(.sr-only) { display: flex; gap: 10px; font-size: 11px; margin-bottom: 7px; }.creation-idea label > span { color: var(--faint); }.creation-idea input { margin-bottom: 10px; }.creation-idea input, .creation-idea textarea { font-size: 12px; }
.creation-details { margin-top: 20px; border-block: 1px solid var(--line); }.creation-details summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; font-size: 12px; }.creation-details summary::-webkit-details-marker { display: none; }.creation-details summary > span { display: flex; gap: 9px; align-items: center; }.creation-details summary .icon { width: 15px; height: 15px; color: var(--muted); }.creation-details summary > small { margin-left: auto; color: var(--faint); font-size: 10px; }.creation-details[open] summary > .icon { transform: rotate(90deg); }.creation-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.creation-details-body { padding: 0 0 18px; }.creation-details fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }.creation-details fieldset:last-child { margin-bottom: 0; }.creation-details legend { font-size: 12px; margin-bottom: 10px; }.creation-details legend small { color: var(--faint); font-size: 10px; margin-left: 10px; }.creation-lengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.creation-chip { text-align: left; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 7px; }.creation-chip strong { display: block; font-size: 11px; font-weight: 500; }.creation-chip small { display: block; font-size: 9px; color: var(--muted); margin-top: 4px; }.creation-audiences { display: flex; flex-wrap: wrap; gap: 7px; }.creation-audiences .button { font-size: 11px; }
.creation-summary { align-self: stretch; padding: 28px 26px; border-left: 1px solid var(--line); background: var(--surface-soft); min-width: 0; }.creation-summary .eyebrow { font-size: 9px; }.summary-emblem { margin: 25px 0 19px; width: 51px; height: 60px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--accent); border-radius: 2px 9px 9px 2px; box-shadow: inset 5px 0 var(--accent-wash); }.summary-emblem .icon { width: 25px; height: 25px; }.summary-format { color: var(--muted); font-size: 11px; margin-bottom: 6px; }.creation-summary h3 { font: 26px/1.4 var(--serif); margin: 0 0 14px; }.summary-experience { font-size: 12px; color: var(--muted); line-height: 1.9; }
.creation-summary-facts { margin: 22px 0; padding-block: 9px; border-block: 1px solid var(--line); }.creation-summary-facts > div { padding-block: 9px; }.creation-summary-facts dt { font-size: 10px; color: var(--faint); margin-bottom: 3px; }.creation-summary-facts dd { font-size: 11px; margin: 0; line-height: 1.7; }.summary-prepares h4 { font-size: 12px; font-weight: 500; margin-bottom: 13px; }.summary-prepares ul { list-style: none; padding: 0; margin: 0; }.summary-prepares li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.8; margin: 9px 0; }.summary-prepares .icon { width: 13px; height: 13px; color: var(--accent); margin-top: 3px; }.summary-boundary { font-size: 10px; color: var(--faint); line-height: 1.8; margin: 22px 0; }.summary-draft-name { font-size: 10px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 15px; }.summary-draft-name span { display: block; color: var(--text); font-size: 13px; margin-top: 6px; overflow-wrap: anywhere; }
.creation-footer { position: sticky; bottom: 0; z-index: 4; padding: 17px 25px; background: var(--surface); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 15px; }.creation-footer > span { display: flex; gap: 7px; align-items: center; font-size: 10px; color: var(--muted); }.creation-footer .icon { width: 13px; height: 13px; }.creation-footer > div { display: flex; gap: 9px; }
@media (max-width: 950px) { .creation-layout { grid-template-columns: minmax(0, 1fr) 245px; }.creation-main { padding: 24px 20px; }.creation-summary { padding: 25px 18px; }.format-options { grid-template-columns: repeat(2, 1fr); }.format-option { padding: 11px; }.format-option > .icon { margin-bottom: 5px; }.creation-footer { flex-wrap: wrap; }.creation-footer > div { margin-left: auto; } }
@media (max-width: 700px) { .creation-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }.creation-dialog .dialog-header { padding: 18px; }.creation-dialog .dialog-header h2 { font-size: 25px; }.creation-layout { grid-template-columns: 1fr; }.creation-main { padding: 22px 17px; }.creation-summary { border-left: 0; border-top: 1px solid var(--line); padding: 25px 20px; }.summary-emblem { float: right; margin: 0; }.creation-summary-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }.creation-optional { display: none; }.preset-option { padding: 13px 10px; gap: 7px; }.preset-icon { display: none; }.preset-copy strong { padding-right: 14px; }.creation-lengths { grid-template-columns: 1fr 1fr; }.creation-footer { padding: 12px 15px; gap: 9px; }.creation-footer > div { width: 100%; }.creation-footer .button { font-size: 11px; padding-inline: 10px; }.creation-footer .button.primary { flex: 1; }.creation-section-heading p { font-size: 10px; } }
