.novel-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr)); gap: 12px; margin-top: 20px; }
.novel-project-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 190px; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-strong); text-align: left; cursor: pointer; }
.novel-project-card:hover { border-color: var(--brand); }
.novel-project-card strong { font-size: 18px; }
.novel-project-card span { margin: 10px 0; color: var(--blue); }
.novel-project-card small { margin-top: auto; color: var(--muted); }
.novel-workspace-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 22px; margin-top: 20px; }
.novel-contents { display: flex; flex-direction: column; align-self: start; gap: 4px; position: sticky; top: calc(var(--topbar-height) + 15px); max-height: calc(100vh - var(--topbar-height) - 28px); overflow: auto; padding-right: 9px; border-right: 1px solid var(--line); }
.novel-contents h2 { margin: 0 0 10px; font-size: 15px; }
.novel-contents button { min-height: 37px; padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.novel-contents button.is-active { background: var(--surface-tint); color: var(--brand-strong); font-weight: 700; }
.novel-contents button small { display: block; color: var(--muted); }
.novel-contents button:disabled { cursor: not-allowed; opacity: .5; }
.novel-content { min-width: 0; }
.novel-content h2 { margin: 0 0 18px; font-size: 19px; }
.novel-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin: 0 0 26px; }
.novel-settings > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.novel-settings dt { color: var(--muted); font-size: 12px; }
.novel-settings dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.novel-form { display: grid; gap: 15px; }
.novel-form > label, .novel-two > label { display: grid; gap: 6px; }
.novel-form :is(input, textarea, select) { width: 100%; min-width: 0; min-height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-strong); color: var(--text); }
.novel-form textarea { resize: vertical; line-height: 1.65; }
.novel-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.novel-stage { padding-top: 17px; border-top: 1px solid var(--line); }
.novel-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.novel-stage-head h3 { margin: 0; font-size: 15px; }
.novel-stage textarea { width: 100%; }
.novel-model { max-width: 420px; }
.novel-download-format { display: inline-flex; align-items: center; gap: 7px; }
.novel-download-format select { width: auto; min-width: 145px; }
.novel-form [data-novel-status] { min-height: 18px; margin: 0; color: var(--muted); }
@media (max-width: 800px) { .novel-workspace-layout { grid-template-columns: 1fr; } .novel-contents { position: static; flex-direction: row; flex-wrap: wrap; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; } .novel-contents h2 { width: 100%; } }
@media (max-width: 520px) { .novel-two { grid-template-columns: 1fr; } .novel-stage-head { align-items: flex-start; } .novel-workshop .novel-form > .form-actions { flex-wrap: wrap; padding-bottom: 88px; } }
