.author-surface .workspace-sidebar nav{padding-top:20px}.author-surface .workspace-sidebar nav a{margin-bottom:8px}.author-surface .workspace-content{max-width:1180px}.author-surface #workspace>form{margin-top:25px;max-width:none}.author-surface .author-sheet{padding:28px 34px;background:white;border:1px solid var(--line);max-width:960px!important}.author-surface #author-message:empty,.author-surface #author-job:empty{display:none}.author-surface #author-message:not(:empty){padding:12px 16px;border-left:3px solid var(--accent);background:#edf4ff;white-space:pre-wrap}.author-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 15px}.author-toolbar>h3{margin:0 auto 0 0}.author-toolbar button{margin:0}.author-search{margin:0 auto 0 0;min-width:200px;max-width:370px;flex:1}.author-toolbar>.check{margin:0;font-size:12px}.author-list{min-width:0}.author-list table{width:100%;border-collapse:collapse;table-layout:fixed;background:white}.author-list th,.author-list td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:middle}.author-list th{font-size:11px;color:var(--muted);font-weight:500;background:#f0f4f9}.author-list button{background:none;border:0;color:var(--accent);text-align:left;padding:0;margin:0;font-weight:600}.author-list button:hover{text-decoration:underline}.author-list td small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.author-footnote{font-size:12px;color:var(--muted);line-height:1.8}.author-length{max-width:220px}.author-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.author-field-grid label{min-width:0}.author-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(100%,1020px);max-width:100vw;border:0;border-left:1px solid var(--line);padding:0;color:var(--ink);box-shadow:-12px 0 40px #12254226}.author-drawer[open]{display:flex;flex-direction:column}.author-drawer::backdrop{background:#17293f66}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 30px;border-bottom:1px solid var(--line);background:white;flex-shrink:0}.drawer-heading h2{margin:0;font-size:21px}.drawer-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.drawer-heading button{margin:0;flex-shrink:0}.drawer-scroll{padding:22px 30px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.drawer-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 24px;background:#fff;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}#world-form{max-width:none}#world-form>.drawer-actions{position:sticky;bottom:-22px;margin:22px -30px -22px}.author-tabs{display:flex;border-bottom:1px solid #b9c8da;gap:3px;margin:15px 0 22px}.author-tabs button{border:1px solid #bdcde0;border-bottom:0;border-radius:6px 6px 0 0;margin:0;background:#ecf2f9;color:#61718a;padding:11px 24px}.author-tabs button[aria-selected=true]{background:white;border-top:2px solid var(--accent);color:var(--accent)}.author-cast-layout{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:22px}#cast-list{max-height:60vh;overflow:auto}#cast-list button{display:block;width:100%;padding:13px;border-bottom:1px solid var(--line)}#cast-list button[aria-current=true]{background:#edf4ff}#character-editor{min-width:0}#character-fields textarea{min-height:80px}#character-editor-title{font-weight:600;margin:0}#import-characters{max-height:260px;overflow:auto}#import-characters label{margin:9px 0}.author-manuscript{font-family:Georgia,"Noto Serif KR",serif;font-size:17px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere;max-width:760px;margin:0 auto;padding:12px 0 45px}.reader-download{white-space:nowrap;font-weight:600}.drawer-open{overflow:hidden}.author-empty{padding:36px 24px;border-top:1px solid var(--line);color:var(--muted);background:#fff}#world-error:not(:empty){color:#a33126;background:#fff3ef;padding:10px 14px}#author-job:not(:empty){padding:14px 18px;border:1px solid var(--line);background:#fff;margin:18px 0}
@media(max-width:720px){.author-surface .app-header{padding-right:16px}.author-surface .header-tools{gap:12px;font-size:11px}.author-surface .workspace-layout{padding:24px 16px}.author-surface .author-sheet{padding:20px!important}.author-field-grid{grid-template-columns:1fr}.author-cast-layout{grid-template-columns:1fr}#cast-list{max-height:180px}.drawer-heading{padding:16px 18px}.drawer-scroll{padding:16px 18px}.drawer-actions{padding:12px 18px;flex-wrap:wrap}#world-form>.drawer-actions{bottom:-16px;margin:18px -18px -16px}.author-list th,.author-list td{padding:12px 9px;font-size:12px}.author-list th:nth-child(n+3),.author-list td:nth-child(n+3){display:none}.author-reader .author-manuscript{font-size:15px;line-height:2}.author-toolbar{gap:12px 8px}.author-toolbar .author-search{flex-basis:100%;max-width:none}.author-surface .page-heading h1{font-size:25px}}
.author-job-history{margin-top:30px;max-width:960px}.author-draft-result{border-top:1px solid var(--line);padding:18px 0;overflow-wrap:anywhere}.author-draft-result h3{font-size:16px;margin:0 0 8px}.author-draft-result p,.author-draft-result li{font-size:13px;line-height:1.8}.author-draft-result button{margin-top:12px}.author-draft-result details{margin:8px 0}
.author-tab-bar{display:flex;align-items:center;border-bottom:1px solid #b9c8da;gap:12px;margin:15px 0 22px}.author-tab-bar .author-tabs{margin:0;border:0;flex:1;min-width:0}.author-tab-bar .character-new-button{margin:0 0 8px auto;background:var(--accent);color:white;border:0;padding:9px 18px;white-space:nowrap}.author-tab-bar [hidden]{display:none!important}
.intent-choice{min-width:0;margin-bottom:16px}.intent-choice label{margin-bottom:6px}.intent-choice-controls{display:flex;gap:7px;align-items:center}.intent-choice-controls select{min-width:0;flex:1}.intent-choice-controls button{margin:0;padding:8px 13px;font-size:19px;flex-shrink:0}.intent-custom{margin:0}.intent-custom[hidden]{display:none!important}.intent-genre-heading{font-size:12px;margin:0 0 8px;color:var(--muted)}#intent-error:not(:empty){color:#a33126;padding:8px 0}
#cast-list.author-cast-list{max-height:none;overflow:visible}.author-cast-row{display:grid;grid-template-columns:44px minmax(100px,170px) minmax(0,1fr);align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.author-cast-row strong,.author-cast-row button{font-size:14px;color:var(--ink);font-weight:600;overflow-wrap:anywhere}.author-cast-row button{width:auto!important;padding:0!important;border:0!important;margin:0;background:none;text-align:left}.author-cast-avatar{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e9eff8;color:#5b7291;overflow:hidden;font-size:15px}.author-cast-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.author-cast-avatar.has-image{font-size:0}.author-cast-description{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#cast-count{font-size:12px;font-weight:400;color:var(--muted);margin-left:7px}
.author-character-modal{width:min(680px,calc(100vw - 32px));max-height:88dvh;padding:0;border:1px solid var(--line);border-radius:8px;color:var(--ink)}.author-character-modal::backdrop{background:#17293f66}.author-character-modal[open]{display:flex;flex-direction:column}.author-character-modal form{display:flex;flex-direction:column;min-height:0;margin:0;max-width:none}.author-character-modal #character-fields textarea{min-height:72px}.author-character-modal #character-fields [name=short_description]{min-height:58px}.author-character-modal #character-error:not(:empty){color:#a33126}
@media(max-width:540px){.author-tab-bar{gap:5px}.author-tab-bar .author-tabs button{padding:10px 12px;font-size:12px}.author-tab-bar .character-new-button{padding:8px 11px;font-size:12px}.author-cast-row{grid-template-columns:36px minmax(65px,90px) minmax(0,1fr);gap:10px}.author-cast-avatar{width:36px;height:36px}.author-cast-row strong,.author-cast-row button{font-size:12px}.author-cast-description{font-size:12px}}
.world-template-section{border-top:1px solid #dce2e9;padding:16px 0}.world-template-section>summary{font-weight:650;cursor:pointer}.world-template-section[open]>summary{margin-bottom:16px}.template-field>label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.template-field textarea{width:100%;min-height:64px;resize:vertical}.template-field small{font-size:11px;color:#657184}.template-list-row{padding:12px 0 12px 16px;border-left:2px solid #dce2e9;margin:12px 0}.template-list-row>button,.template-field>button{background:#f2f5f9;color:#25446a;border:1px solid #dce2e9;padding:6px 12px}.world-version-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.world-version-controls label{flex:1;min-width:180px}#world-template-tools>details{margin:20px 0;padding:12px 0;border-top:1px solid #dce2e9}#world-hidden-fields{border-left:3px solid #b8893a;padding-left:16px;margin:12px 0}#world-review-results{overflow-wrap:anywhere}#world-review-results small{display:block;margin:12px 0}#world-review-results table{font-size:13px}#world-diff{overflow-x:auto}#world-outline[readonly]{background:#f5f7fa;color:#505f70}#world-outline-fields>label{display:flex;flex-direction:column;gap:8px;margin:16px 0}
.world-row-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.author-surface button.world-danger{color:#a33126;background:transparent;border:1px solid #d6aaa4;padding:6px 10px;font-weight:500}.author-list .world-row-actions button{font-size:12px}.world-row-actions a{font-size:12px}#world-trash{margin:28px 0;border-top:1px solid var(--line);padding-top:18px}#world-trash>summary{cursor:pointer;font-size:14px}#world-lifecycle-target{overflow-wrap:anywhere;font-weight:600}#world-lifecycle-note{font-size:13px;line-height:1.8}#world-lifecycle-error:not(:empty){color:#a33126;font-size:13px}#world-lifecycle-dialog input{width:100%;box-sizing:border-box}#world-delete{margin-left:auto}#world-trash-list td:last-child{display:table-cell}@media(max-width:720px){#world-list th:last-child,#world-list td:last-child{display:table-cell;width:98px}#world-list th:nth-child(2),#world-list td:nth-child(2){display:none}#world-list th:first-child{width:auto}#world-trash-list th:nth-child(2),#world-trash-list td:nth-child(2){display:none}#world-trash-list th:last-child{display:table-cell;width:66px}.world-row-actions{gap:10px}#world-form>.drawer-actions>span{flex-basis:100%}}
.story-mode-options{display:flex;flex-wrap:wrap;gap:12px 24px;border:0;border-block:1px solid var(--line);padding:16px 0;margin:22px 0 8px}.story-mode-options legend{font-size:12px;color:var(--muted);padding:0 6px}.story-mode-options label{display:flex;align-items:center;gap:8px;margin:0;cursor:pointer}.story-mode-options input{width:auto;margin:0;accent-color:var(--accent)}.author-sheet input:disabled,.author-sheet textarea:disabled{background:#f0f2f5;color:#77818b}.author-sheet [hidden]{display:none!important}#story-cast-options-list{max-height:320px;overflow:auto}
#world-readiness{white-space:pre-line;line-height:1.8}
