.writer-nav{margin-left:auto;display:flex;gap:20px;align-items:center;font-size:14px;flex-wrap:wrap}.writer-nav a[aria-current]{color:var(--ink);font-weight:600}.writer-nav span{color:var(--muted)}
.writer-main{max-width:1100px}.writer-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.writer-intro h1{font-size:32px;letter-spacing:-.025em;margin:0 0 10px}.writer-intro p{margin:0;color:var(--muted);line-height:1.8}.writer-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.writer-actions button,.writer-nav button{min-height:44px}
.writer-auth{max-width:440px;margin:24px auto 70px}.writer-auth h1{font-size:30px;margin-bottom:12px}.writer-auth>p{color:var(--muted);line-height:1.8}.writer-auth form,.writer-editor{display:grid;gap:22px;margin-top:28px}.writer-auth label,.writer-editor label{display:grid;gap:8px;font-size:14px;font-weight:600}.writer-auth input,.writer-editor input,.writer-editor textarea,.writer-editor select{width:100%;font:inherit;min-height:46px}.writer-auth .primary{width:100%;min-height:46px}.writer-auth .text-button{padding-left:0}.writer-error{color:var(--danger,#aa4841);line-height:1.7;margin:0;white-space:pre-wrap}.writer-notice{line-height:1.8;color:var(--muted);margin:0;padding:18px 0;border-bottom:1px solid var(--line)}
.writer-status{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.writer-filter{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line)}.writer-filter button{min-height:44px;background:transparent;border:0;color:var(--muted)}.writer-filter button[aria-pressed=true]{background:var(--tint);color:var(--blue)}
.submission-row{padding:24px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px}.submission-row h2{font-size:20px;margin:0 0 10px;line-height:1.6;overflow-wrap:anywhere}.submission-row p{margin:8px 0 0;color:var(--muted);line-height:1.7}.submission-row .writer-actions{flex-shrink:0}.submission-row small{color:var(--muted);margin-left:14px}.writer-feedback{white-space:pre-wrap;overflow-wrap:anywhere}
.writer-editor{max-width:820px;margin:24px auto}.writer-editor .writer-title{font-size:22px;line-height:1.6;min-height:86px}.writer-editor .writer-body{min-height:390px;font-size:17px;line-height:1.9;resize:vertical}.writer-editor .writer-fields{display:grid;grid-template-columns:1fr 2fr;gap:22px}.writer-editor .field-note{font-weight:400}.writer-savebar{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.writer-preview{border-top:1px solid var(--line);padding-top:28px;max-width:820px;margin:auto}.writer-preview .article-text{white-space:pre-wrap;line-height:1.95;font-size:18px;overflow-wrap:anywhere}.writer-preview h2{font-size:28px;line-height:1.6;overflow-wrap:anywhere}.writer-main textarea{caret-color:var(--blue)}
#leave-dialog{max-width:480px;width:calc(100% - 40px);border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink)}#leave-dialog::backdrop{background:rgba(25,35,47,.35)}#leave-dialog h2{font-size:22px}#leave-dialog p{line-height:1.8;color:var(--muted)}
.writer-editor input,.writer-editor textarea,.writer-editor select{font-weight:400}.writer-editor .writer-body{font-size:18px}.writer-fields{align-items:end}#leave-dialog{box-shadow:none}
@media(max-width:600px){.writer-nav{gap:12px;font-size:13px}.writer-nav span{display:none}.reader-header:has(.writer-nav){flex-wrap:wrap}.writer-nav{width:100%;margin:0;justify-content:space-between}.writer-intro{align-items:flex-start;gap:18px;flex-direction:column}.writer-intro h1{font-size:27px}.writer-auth{margin:0 auto 40px}.submission-row{align-items:flex-start;flex-direction:column;gap:16px}.writer-editor .writer-fields{grid-template-columns:1fr}.writer-editor .writer-body{min-height:330px}.writer-savebar{align-items:flex-start;flex-direction:column;padding:12px 0}.writer-savebar .writer-actions{width:100%}.writer-savebar button{flex:1}.writer-savebar .writer-status{font-size:12px}.writer-preview h2{font-size:24px}}
.writer-cover-field{display:grid;gap:12px}.cover-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.cover-heading label{margin:0}.cover-heading input{font-size:13px;width:auto;max-width:100%;padding:8px}.cover-heading input::file-selector-button{padding:8px 12px;margin-right:10px;background:#edf2ff;border:1px solid #cdd9fb;border-radius:5px;color:#254ecb;cursor:pointer}.cover-empty{margin:0;font-size:13px;line-height:1.8;color:var(--muted);padding:18px;background:var(--bg);border-radius:6px}#cover-display img{display:block;max-width:100%;width:360px;max-height:230px;object-fit:cover;border-radius:6px}#cover-display .text-button{display:block;margin-top:8px}.writer-preview-cover{display:block;max-width:100%;max-height:420px;margin:20px auto 28px;border-radius:6px}.writer-recovery{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;background:var(--tint);border-radius:7px;margin-bottom:22px}.writer-recovery p{font-size:14px;margin:0;line-height:1.7}.writer-editor .news-editor-tools{margin-top:0}.writer-editor .news-editor-preview{font-weight:400}.writer-editor .field-note{font-size:12px;font-weight:400;line-height:1.7}.writer-status{font-variant-numeric:tabular-nums}.writer-preview .article-text{font-size:17px;line-height:1.95}.writer-nav{flex-wrap:wrap}.writer-nav a{min-height:36px;display:inline-flex;align-items:center}.writer-savebar{gap:16px}.writer-savebar .writer-status{line-height:1.8}.writer-editor{padding-bottom:24px}.writer-auth>.text-button{margin-top:12px}.writer-main #writer-error:empty{min-height:0;margin:0}
@media(max-width:600px){.writer-nav{width:100%;gap:14px;font-size:13px}.writer-nav #writer-name{margin-left:auto}.cover-heading{display:grid;gap:10px}.cover-heading input{padding:0}.writer-savebar{flex-direction:column;align-items:stretch}.writer-savebar .writer-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.writer-savebar .writer-actions button{font-size:13px;padding:10px 12px}.writer-recovery{padding:14px;gap:12px}.writer-recovery p{font-size:13px}.writer-recovery button{white-space:nowrap}.writer-preview{padding:20px 0}.writer-editor .news-editor-tools button{padding:7px 9px}}
