/* 사설춘추: reading-first newsprint. Shared tools retain their existing IDs. */
:root {
  color-scheme: light;
  --bg-desk:#d0d0d0; --paper-sheet:#e5e5e5; --paper-elevated:#ededed; --paper-aged:#dcdcdc; --paper-tint:#dedede;
  --ink-black:#222222; --ink-charcoal:#303030; --ink-body:#303030; --ink-secondary:#595959; --ink-muted:#686868;
  --rule-heavy:#303030; --rule-medium:#888888; --rule-light:#b9b9b9; --rule-hairline:#cccccc;
  --stamp-red:#824238; --stamp-red-soft:#8242380c; --stamp-red-border:#82423855;
  --accent-navy:#455c59; --accent-navy-soft:#455c5910; --accent-olive:#52634a; --accent-olive-soft:#52634a10;
  --accent-amber:#765537; --accent-amber-soft:#76553710; --gold-pro:#824238; --gold-pro-bg:#8242380a;
  --highlight-yellow:#dcbd4166;
  --font-serif-headline:'Noto Serif KR','Nanum Myeongjo',serif;
  --font-serif-body:'Nanum Myeongjo','Noto Serif KR',serif;
  --font-display-en:Georgia,serif; --font-sans-ui:'IBM Plex Sans KR',system-ui,sans-serif; --font-mono:ui-monospace,monospace;
  --editorial-font-size:1.125rem; --editorial-line-height:1.95; --reader-gap:36px;
}
:root[data-theme="ebook"] { --bg-desk:#eeede8; --paper-sheet:#fffef8; --paper-elevated:#fffefa; --paper-aged:#f0efe7; --paper-tint:#f6f5ed; --rule-light:#d9d8ce; --rule-hairline:#e4e3da; }
:root[data-theme="dark"] {
  color-scheme:dark; --bg-desk:#171a18; --paper-sheet:#232723; --paper-elevated:#2b302a; --paper-aged:#30362e; --paper-tint:#272d26;
  --ink-black:#e5e6dc; --ink-charcoal:#d4d7ca; --ink-body:#d4d7ca; --ink-secondary:#acb29f; --ink-muted:#969e8d;
  --rule-heavy:#c7cebb; --rule-medium:#6c7763; --rule-light:#4b5644; --rule-hairline:#3e4739;
  --stamp-red:#cf9180; --stamp-red-soft:#cf918016; --stamp-red-border:#cf918055; --gold-pro:#cf9180; --gold-pro-bg:#cf918010;
  --accent-olive:#b5c5a5; --accent-olive-soft:#b5c5a510; --accent-navy:#a6bdb5; --highlight-yellow:#b79b3655;
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; padding:18px 28px 12px; background:var(--bg-desk); color:var(--ink-body); font-family:var(--font-serif-body); -webkit-font-smoothing:antialiased; }
button,input,textarea,select,summary { font:inherit; }
button,summary { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; color:var(--ink-black); background:transparent; border:1px solid var(--rule-light); padding:7px 12px; font-family:var(--font-sans-ui); font-size:0.875rem; line-height:1.4; }
button:hover { background:var(--paper-aged); }
button:disabled { opacity:.38; cursor:default; }
button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible { outline:2px solid var(--stamp-red); outline-offset:3px; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3,h4 { word-break:keep-all; overflow-wrap:anywhere; }
p,li { word-break:keep-all; overflow-wrap:anywhere; }
input,textarea,select { min-width:0; max-width:100%; color:var(--ink-black); }
[hidden],.hidden { display:none!important; }
.svg-filters { position:absolute;width:0;height:0; }
.paper-grain-overlay { display:none; }
.newspaper-shell { width:100%; max-width:1240px; margin:auto; padding:0 28px; background:var(--paper-sheet); border:1px solid var(--rule-medium); box-shadow:0 6px 20px #151a1512; }
.top-edition-bar { min-height:44px; border-bottom:1px solid var(--rule-light); display:flex; align-items:center; justify-content:space-between; gap:12px; font: 0.875rem var(--font-sans-ui); }
.edition-left,.edition-right { display:flex; align-items:center; gap:14px; min-width:0; }
.edition-left { color:var(--ink-secondary); }
.edition-badge { color:var(--stamp-red); font-weight:600; letter-spacing:.15em; }
.edition-action-btn { border:0; padding:7px 0; background:transparent; white-space:nowrap; font-size:0.875rem; }
.btn-google-auth { display:flex; gap:6px; align-items:center; }
.google-g-icon { width:13px; height:13px; flex-shrink:0; }
#header-auth-label { max-width:170px; overflow:hidden; text-overflow:ellipsis; }
.masthead { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:104px; border-bottom:3px double var(--rule-heavy); }
.masthead-center { padding:13px 0 16px; }
.masthead-sub-en { font: 0.875rem Georgia,serif; letter-spacing:.2em; margin-bottom:7px; color:var(--ink-secondary); }
.masthead-title { display:flex; align-items:baseline; gap:18px; font-family:var(--font-serif-headline); line-height:1.2; }
.kr-title { font-size:2.65rem; letter-spacing:.12em; font-weight:900; }
.hanja-title { font-size:1.2rem; letter-spacing:.23em; font-weight:500; color:var(--ink-secondary); }
.masthead-motto { text-align:right; color:var(--ink-secondary); font-size:.9rem; line-height:1.7; }
.mobile-break { display:none; }
.reader-navigation { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:49px; border-bottom:1px solid var(--rule-light); font-family:var(--font-sans-ui); z-index:20; }
summary { list-style:none; cursor:pointer; padding:9px 0; font-family:var(--font-sans-ui); font-size:0.875rem; user-select:none; }
summary::-webkit-details-marker { display:none; }
summary span { margin-left:6px; color:var(--ink-muted); }
.view-switcher { display:flex; gap:5px; align-self:stretch; align-items:stretch; }
.dock-btn { min-width:90px; border:0; border-bottom:2px solid transparent; padding:9px 14px; color:var(--ink-secondary); font-size:0.875rem; }
.dock-btn.active { color:var(--stamp-red); border-bottom-color:var(--stamp-red); font-weight:600; }
.theme-control { position:relative; }
.theme-popover,.menu-drawer,.edition-drawer,.reading-controls-bar { position:absolute; background:var(--paper-elevated); border:1px solid var(--rule-medium); box-shadow:0 8px 24px #10181022; padding:15px; z-index:60; }
.theme-popover { right:0; top:36px; width:234px; }
.theme-popover p { font:0.875rem var(--font-sans-ui); margin-bottom:9px; color:var(--ink-secondary); }
.theme-popover button { display:flex; width:100%; align-items:center; gap:10px; text-align:left; border:0; padding:10px 8px; }
.theme-popover button[aria-pressed="true"] { background:var(--paper-aged); outline:1px solid var(--rule-medium); }
.theme-popover small { margin-left:auto; color:var(--ink-muted); font-size:0.875rem; }
.theme-swatch { display:block; width:20px; height:24px; border:1px solid #7777; }
.swatch-newspaper { background:#e5e5e5; }.swatch-ebook { background:#fffef8; }.swatch-dark { background:#232723; }
.menu-drawer { width:242px; right:0; top:48px; }
.menu-drawer>button { display:block; width:100%; text-align:left; border:0; padding:10px; white-space:normal; }
.menu-drawer p { border-top:1px solid var(--rule-light); padding:12px 8px 0; margin-top:8px; font-size:0.875rem; color:var(--ink-muted); line-height:1.7; }
.mini-count { font-size:0.875rem; color:var(--ink-muted); margin-left:5px; }
.edition-drawer { left:0; top:48px; width:min(680px,100%); max-height:65dvh; overflow:auto; }
.double-rule-bar { display:flex; flex-direction:column; gap:8px; }
.issue-date-selector,.category-filter-tabs { display:flex; gap:6px; overflow-x:auto; padding:2px 0 6px; }
.issue-date-tab,.issue-tab,.cat-tab { flex-shrink:0; font-size:0.875rem; }
.issue-date-tab.active,.issue-tab.active,.cat-tab.active { border-color:var(--stamp-red); color:var(--stamp-red); }
.editorial-strip-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
.strip-card { text-align:left; padding:12px; }
.strip-card.active { border-color:var(--stamp-red); background:var(--stamp-red-soft); }
.strip-card-top,.strip-footer { display:flex; justify-content:space-between; gap:8px; font-size:0.875rem; color:var(--ink-muted); }
.strip-title { font:700 .95rem/1.6 var(--font-serif-headline); margin:7px 0 12px; }
.free-lead-badge,.locked-blind-badge { color:var(--stamp-red); }
.broadsheet-spread { display:block; }
.newspaper-column-left { min-width:0; position:relative; }
.reader-tools { display:flex; align-items:center; justify-content:space-between; min-height:41px; }
.reader-section-label { font:0.875rem var(--font-sans-ui); color:var(--stamp-red); letter-spacing:.12em; }
.reader-tools-right { position:relative; }
.reading-options summary { color:var(--ink-muted); font-size:0.875rem; }
.reading-controls-bar { top:35px; right:0; width:310px; display:flex; flex-direction:column; gap:14px; }
.control-group { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.control-label { flex-basis:100%; font:0.875rem var(--font-sans-ui); color:var(--ink-muted); margin-bottom:1px; }
.ctrl-btn { font-size:0.875rem; padding:6px 9px; }
.ctrl-btn.active { border-color:var(--stamp-red); color:var(--stamp-red); }
.editorial-header { padding:0 0 19px; margin-bottom:20px; border-bottom:1px solid var(--rule-heavy); }
.editorial-kicker-row { display:flex; gap:10px; align-items:center; font:0.875rem var(--font-sans-ui); color:var(--ink-muted); }
.kicker-tag { color:var(--stamp-red); font-weight:600; }
#ed-access-badge,#ed-difficulty-badge { display:none; }
#ed-reading-meta { margin-left:auto; }
.editorial-headline { font:800 clamp(1.4rem,2.9vw,2.15rem)/1.45 var(--font-serif-headline); color:var(--ink-black); margin:10px 0 8px; letter-spacing:-.04em; }
.editorial-subheadline { font:0.875rem/1.6 var(--font-serif-body); color:var(--ink-secondary); }
.editorial-byline-row { display:flex; justify-content:space-between; gap:10px; margin-top:13px; font:0.875rem var(--font-sans-ui); color:var(--ink-muted); }
.byline-role { display:none; }
.byline-author strong { font-weight:400; }
.editorial-body-wrapper { position:relative; overflow:hidden; height:400px; }
.editorial-body { margin:0; height:100%; width:100%; column-count:1; column-gap:var(--reader-gap); column-fill:auto; font:var(--editorial-font-size)/var(--editorial-line-height) var(--font-serif-body); color:var(--ink-body); overflow:visible; will-change:transform; }
.editorial-body.multi-column { column-count:2; column-rule:1px solid var(--rule-light); }
.editorial-paragraph { margin:0 0 1.05em; text-align:justify; word-break:normal; overflow-wrap:anywhere; line-break:strict; orphans:2; widows:2; }
.drop-cap { font:inherit; }
.para-num-badge { display:none; font: .65em var(--font-sans-ui); color:var(--stamp-red); margin-right:5px; }
.show-para-nums .para-num-badge { display:inline; }
.para-struct-tag { display:none; font:.64em var(--font-sans-ui); padding:1px 4px; color:var(--stamp-red); border:1px solid var(--stamp-red-border); margin-right:4px; }
.show-structure-tags .para-struct-tag { display:inline; }
.editorial-pull-quote { break-inside:avoid; margin:1em 0; padding:14px 12px; border-top:1px solid var(--rule-medium); border-bottom:1px solid var(--rule-medium); }
.pull-quote-mark { display:none; }
.pull-quote-text { font:700 1.1em/1.7 var(--font-serif-headline); color:var(--stamp-red); text-align:center; }
.news-highlight { background:var(--highlight-yellow); color:inherit; }
.audio-active-para,.flash-focus { background:var(--accent-olive-soft); outline:1px solid var(--accent-olive); }
.reader-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; height:62px; border-top:1px solid var(--rule-light); margin-top:14px; font-family:var(--font-sans-ui); }
.reader-pagination button { min-width:106px; padding:9px 12px; }
.page-position { text-align:center; font:0.875rem var(--font-mono); }
#reader-page-hint { display:block; margin-top:4px; font:0.875rem var(--font-sans-ui); color:var(--ink-muted); }
.vocabulary-details { position:relative; border-top:1px solid var(--rule-light); }
.vocabulary-details>summary { color:var(--ink-secondary); font-size:0.875rem; padding:10px 0; }
.editorial-vocab-box { position:absolute; bottom:40px; left:0; right:0; max-height:50dvh; overflow:auto; background:var(--paper-elevated); border:1px solid var(--rule-medium); box-shadow:0 0 20px #151a1522; padding:18px; z-index:30; }
.vocab-header { margin-bottom:16px; }.vocab-header h3 { font:700 .95rem var(--font-serif-headline); }.vocab-icon,.vocab-sub { display:none; }
.vocab-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }.vocab-term { font-weight:700; font-size:0.875rem; margin-bottom:5px; }.vocab-meaning { font:0.875rem/1.8 var(--font-sans-ui); color:var(--ink-secondary); }
.structure-hint-banner { position:absolute; top:42px; left:0; right:0; z-index:25; background:var(--paper-elevated); border:1px solid var(--rule-medium); padding:20px; box-shadow:0 8px 24px #151a1522; }
.hint-banner-title { font:700 .9rem var(--font-serif-headline); margin-bottom:15px; }.hint-banner-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:18px; }.hint-badge { font:0.875rem var(--font-sans-ui); color:var(--stamp-red); }.hint-item p { font:0.875rem/1.8 var(--font-sans-ui); margin-top:8px; }
.newspaper-column-right { display:none; max-width:800px; margin:0 auto; }
body[data-mobile-view="summary"] .newspaper-column-left,body[data-mobile-view="qna"] .newspaper-column-left { display:none; }
body[data-mobile-view="summary"] .newspaper-column-right,body[data-mobile-view="qna"] .newspaper-column-right { display:block; }
.workspace-context { padding:20px 0; border-bottom:1px solid var(--rule-light); display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.workspace-context>span { font:0.875rem var(--font-sans-ui); color:var(--ink-muted); }.workspace-context>strong { width:100%; font:700 1.05rem/1.6 var(--font-serif-headline); order:2; }
#btn-back-to-reading { margin-left:auto; padding:4px 0; border:0; font-size:0.875rem; color:var(--stamp-red); }
.desk-panel { padding:22px 0; }
.newspaper-colophon { text-align:center; border-top:3px double var(--rule-heavy); padding:9px 0; color:var(--ink-muted); font:0.875rem var(--font-sans-ui); letter-spacing:.08em; }
.editorial-blind-curtain { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:30px; text-align:center; background:var(--paper-sheet); border:1px solid var(--rule-light); z-index:2; overflow:auto; gap:14px; }
.is-blinded .editorial-body { filter:blur(5px); user-select:none; pointer-events:none; opacity:.25; }
.blind-curtain-seal { color:var(--stamp-red); font:0.875rem var(--font-sans-ui); }.blind-curtain-title { font:700 1.2rem/1.7 var(--font-serif-headline); }.blind-curtain-desc { max-width:620px; font:0.875rem/1.9 var(--font-sans-ui); color:var(--ink-secondary); }.blind-curtain-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }

/* Account, manuscript, feedback and library tools. */
/* 요약 원고지 헤더 */
.manuscript-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-light);
}

.desk-section-title {
  font-family: var(--font-serif-headline);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink-black);
  margin-bottom: 3px;
}

.desk-section-desc {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.manuscript-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans-ui);
}

.text-link-btn {
  background: none;
  border: none;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-navy);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link-btn:hover {
  color: var(--stamp-red);
}

/* 원고지 입력 필드 */
.manuscript-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.manuscript-field {
  background: var(--paper-sheet);
  border: 1px solid var(--rule-light);
  padding: 9px 11px;
  transition: border-color 0.15s;
}

.manuscript-field:focus-within {
  border-color: var(--ink-black);
  box-shadow: 2px 2px 0 var(--rule-light);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-sans-ui);
}

.field-label-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-charcoal);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.field-label-row .label-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-label-row label small {
  color: var(--ink-muted);
  font-weight: 400;
}

.part-stamp {
  font-family: var(--font-serif-headline);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 2px 7px;
  letter-spacing: 0.03em;
}

.part-thesis {
  background: var(--ink-black);
  color: var(--paper-sheet);
}

.part-intro {
  background: var(--accent-navy-soft);
  color: var(--accent-navy);
  border: 1px solid var(--accent-navy);
}

.part-body {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
}

.part-conclusion {
  background: var(--accent-olive-soft);
  color: var(--accent-olive);
  border: 1px solid var(--accent-olive);
}

.char-counter {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.manuscript-input-line,
.manuscript-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px dashed var(--rule-hairline);
  padding-top: 6px;
  font-family: var(--font-serif-body);
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--ink-black);
  resize: vertical;
}

.manuscript-input-line:focus,
.manuscript-textarea:focus {
  outline: none;
}

.manuscript-textarea {
  background-image: repeating-linear-gradient(
    transparent,
    transparent calc(1.66em - 1px),
    var(--rule-hairline) calc(1.66em - 1px),
    var(--rule-hairline) 1.66em
  );
  background-attachment: local;
}

.manuscript-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.total-manuscript-meta {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.autosave-status {
  margin-left: 5px;
  color: var(--accent-olive);
  font-size: 0.875rem;
}

.btn-ink-primary {
  background: var(--ink-black);
  color: var(--paper-sheet);
  border: 1.5px solid var(--ink-black);
  font-family: var(--font-serif-headline);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.btn-ink-primary:hover:not(:disabled) {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
  color: #fff;
}

.btn-ink-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ==========================================================================
   AI 평점(무료) & Pro 정밀 첨삭 페이월(Paywall Blur)
   ========================================================================== */
.feedback-container {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2.5px double var(--rule-heavy);
  animation: fadeInPaper 0.3s ease;
}

@keyframes fadeInPaper {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.feedback-report-card {
  background: var(--paper-sheet);
  border: 1.5px solid var(--rule-heavy);
  padding: 16px;
  position: relative;
}

/* 전통 붉은 인주 직인 (Stamp Seal) */
.red-ink-stamp {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 3px double var(--stamp-red);
  color: var(--stamp-red);
  padding: 5px 11px;
  text-align: center;
  transform: rotate(-6deg);
  background: var(--paper-sheet);
  box-shadow: inset 0 0 0 1px var(--stamp-red-border);
  font-family: var(--font-serif-headline);
  user-select: none;
  animation: stampThud 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

@keyframes stampThud {
  0% { transform: scale(1.6) rotate(-12deg); opacity: 0; }
  100% { transform: scale(1) rotate(-6deg); opacity: 1; }
}

.stamp-grade {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.05;
  display: block;
}

.stamp-word {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: block;
  border-top: 1px solid var(--stamp-red);
  margin-top: 2px;
  padding-top: 2px;
  white-space: nowrap;
}

.feedback-header-title {
  font-family: var(--font-serif-headline);
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--ink-black);
  margin-bottom: 4px;
  padding-right: 105px;
}

.feedback-score-line {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--stamp-red);
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-overall-comment {
  font-family: var(--font-serif-body);
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink-body);
  background: var(--paper-elevated);
  border-left: 3px solid var(--stamp-red);
  padding: 9px 12px;
  margin-bottom: 14px;
}

/* 4대 루브릭 바 (무료 공개) */
.rubric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: var(--paper-aged);
  border: 1px solid var(--rule-light);
  font-family: var(--font-sans-ui);
}

.rubric-item {
  font-size: 0.875rem;
}

.rubric-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.rubric-bar-track {
  height: 6px;
  background: var(--rule-light);
  overflow: hidden;
}

.rubric-bar-fill {
  height: 100%;
  background: var(--ink-black);
}

/* Pro 전용 영역 & Paywall 블러 컨테이너 */
.pro-paywall-zone {
  position: relative;
}

.pro-paywall-zone.is-locked .pro-blur-content {
  filter: blur(5.5px);
  user-select: none;
  pointer-events: none;
  max-height: 290px;
  overflow: hidden;
  opacity: 0.62;
}

.paywall-overlay-card {
  position: absolute;
  inset: 16px 8px 8px;
  background: linear-gradient(180deg, rgba(246, 242, 233, 0.78) 0%, var(--paper-elevated) 38%, var(--paper-elevated) 100%);
  border: 2px solid var(--gold-pro);
  box-shadow: 0 12px 32px rgba(23, 22, 20, 0.18);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
}

body.paper-theme-night .paywall-overlay-card {
  background: linear-gradient(180deg, rgba(28, 26, 23, 0.8) 0%, var(--paper-elevated) 40%);
}

.paywall-Crown {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.paywall-title {
  font-family: var(--font-serif-headline);
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--ink-black);
  margin-bottom: 6px;
}

.paywall-desc {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  line-height: 1.54;
  color: var(--ink-secondary);
  margin-bottom: 14px;
  max-width: 400px;
}

/* 서·본·결 파트별 첨삭 카드 */
.section-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.sec-fb-card {
  border: 1px solid var(--rule-light);
  background: var(--paper-elevated);
  padding: 10px 12px;
  font-family: var(--font-sans-ui);
}

.sec-fb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sec-fb-title {
  font-family: var(--font-serif-headline);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--ink-black);
}

.sec-fb-status {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 1px 7px;
  border: 1px solid currentColor;
}

.status-good { color: var(--accent-olive); background: var(--accent-olive-soft); }
.status-ok { color: var(--accent-navy); background: var(--accent-navy-soft); }
.status-warn { color: var(--stamp-red); background: var(--stamp-red-soft); }

.sec-fb-comment {
  font-size: 0.875rem;
  line-height: 1.56;
  color: var(--ink-secondary);
  margin-bottom: 7px;
}

.sec-fb-improved {
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-black);
  background: var(--paper-sheet);
  border-left: 2.5px solid var(--accent-olive);
  padding: 6px 10px;
}

.sec-fb-improved strong {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--accent-olive);
  display: block;
  margin-bottom: 2px;
}

.model-summary-details {
  border: 1px solid var(--rule-medium);
  background: var(--paper-aged);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: var(--font-sans-ui);
}

.model-summary-details summary {
  font-family: var(--font-serif-headline);
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink-black);
}

.model-summary-body {
  margin-top: 10px;
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  line-height: 1.64;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.socratic-Prompt-box {
  background: var(--stamp-red-soft);
  border: 1px solid var(--stamp-red-border);
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.socratic-title {
  font-family: var(--font-serif-headline);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--stamp-red);
}

.socratic-text {
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-black);
}

.btn-socratic-qna {
  align-self: flex-end;
  background: var(--stamp-red);
  color: #fff;
  border: none;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 5px 11px;
  cursor: pointer;
}

/* ==========================================================================
   탭 2: 논설위원 Q&A 문답 살롱
   ========================================================================== */
.qna-salon-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: 12px;
}

.salon-author-profile {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.author-seal {
  width: 36px;
  height: 36px;
  background: var(--ink-black);
  color: var(--paper-sheet);
  font-family: var(--font-serif-headline);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px double var(--paper-sheet);
}

.salon-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.salon-title-row strong {
  font-family: var(--font-serif-headline);
  font-size: 0.94rem;
  color: var(--ink-black);
}

.salon-badge {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-olive);
  background: var(--accent-olive-soft);
  border: 1px solid var(--accent-olive);
  padding: 1px 6px;
}

.salon-greeting {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  line-height: 1.48;
  color: var(--ink-secondary);
}

.starter-questions-box {
  background: var(--paper-aged);
  border: 1px solid var(--rule-light);
  padding: 9px 11px;
  margin-bottom: 12px;
}

.starter-label {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.starter-chips-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.starter-chip {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-light);
  padding: 6px 10px;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-black);
  text-align: left;
  cursor: pointer;
  transition: all 0.14s;
  line-height: 1.42;
  white-space: normal !important;
}

.starter-chip:hover {
  border-color: var(--ink-black);
  background: var(--paper-sheet);
  padding-left: 13px;
}

.qna-messages-list {
  max-height: 440px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 6px 4px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule-light);
}

.qna-empty-state {
  text-align: center;
  padding: 26px 14px;
  color: var(--ink-muted);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  line-height: 1.6;
}

.qna-msg {
  padding: 10px 12px;
  border: 1px solid var(--rule-light);
  font-size: 0.875rem;
  line-height: 1.66;
}

.qna-msg-user {
  background: var(--paper-aged);
  margin-left: 20px;
  border-left: 3px solid var(--ink-black);
}

.qna-msg-assistant {
  background: var(--paper-sheet);
  margin-right: 10px;
  border-left: 3px solid var(--stamp-red);
}

.qna-msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--ink-secondary);
}

.para-jump-btn {
  background: var(--stamp-red-soft);
  border: 1px solid var(--stamp-red-border);
  color: var(--stamp-red);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 1px 6px;
  cursor: pointer;
}

.qna-msg-quote {
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  color: var(--ink-secondary);
  background: var(--paper-elevated);
  border-left: 2px solid var(--accent-amber);
  padding: 5px 8px;
  margin-bottom: 6px;
  font-style: italic;
}

.qna-msg-content {
  font-family: var(--font-serif-body);
  color: var(--ink-body);
  white-space: pre-line;
}

.qna-followups {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dotted var(--rule-light);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.followup-chip {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-medium);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-black);
  padding: 3px 8px;
  cursor: pointer;
  white-space: normal !important;
  text-align: left;
}

.followup-chip:hover {
  background: var(--ink-black);
  color: var(--paper-sheet);
}

.qna-quote-preview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  background: var(--accent-amber-soft);
  border: 1px solid var(--accent-amber);
  padding: 7px 10px;
  margin-bottom: 8px;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
}

.quote-badge {
  font-weight: 700;
  color: var(--accent-amber);
  display: block;
  margin-bottom: 2px;
}

.quote-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-secondary);
  font-size: 0.875rem;
}

.qna-input-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.qna-textarea {
  flex: 1;
  background: var(--paper-sheet);
  border: 1px solid var(--rule-medium);
  padding: 8px 10px;
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  color: var(--ink-black);
  resize: none;
}

.qna-textarea:focus {
  outline: none;
  border-color: var(--ink-black);
}

.btn-ink-send {
  background: var(--ink-black);
  color: var(--paper-sheet);
  border: none;
  font-family: var(--font-serif-headline);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0 15px;
  cursor: pointer;
}

.btn-ink-send:hover:not(:disabled) {
  background: var(--stamp-red);
  color: #fff;
}

/* ==========================================================================
   전용 풀스크린 워크스페이스: 『클라우드 서재 (Cloud Docs)』
   ========================================================================== */
.clouddocs-workspace {
  background: var(--paper-sheet);
  border: 2px solid var(--rule-heavy);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  width: 96vw;
  max-width: 1480px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.clouddocs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--paper-aged);
  border-bottom: 2px solid var(--rule-heavy);
}

.clouddocs-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.clouddocs-icon {
  font-size: 1.45rem;
}

.clouddocs-brand h2 {
  font-family: var(--font-serif-headline);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink-black);
}

.clouddocs-brand p {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.pro-pill {
  background: var(--ink-black);
  color: #F8D377;
  border: 1px solid var(--gold-pro);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2px 8px;
}

.clouddocs-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-status-chip {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--accent-olive);
  font-weight: 600;
  margin-right: 4px;
}

.clouddocs-body {
  flex: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 350px;
  overflow: hidden;
}

/* 좌측 문서 탐색 사이드바 */
.cd-sidebar {
  border-right: 1px solid var(--rule-medium);
  background: var(--paper-elevated);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cd-sidebar-head {
  padding: 12px;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-search-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--rule-medium);
  background: var(--paper-sheet);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-black);
}

.cd-folder-pills {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.cd-folder-btn {
  background: var(--paper-sheet);
  border: 1px solid var(--rule-light);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 3px 8px;
  cursor: pointer;
}

.cd-folder-btn.active {
  background: var(--ink-black);
  color: var(--paper-sheet);
  border-color: var(--ink-black);
}

.cd-doc-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cd-doc-item {
  background: var(--paper-sheet);
  border: 1px solid var(--rule-light);
  padding: 10px 11px;
  cursor: pointer;
  text-align: left;
  transition: all 0.14s;
}

.cd-doc-item:hover {
  border-color: var(--ink-black);
}

.cd-doc-item.active {
  background: var(--paper-aged);
  border: 1.5px solid var(--ink-black);
  box-shadow: 2px 2px 0 var(--ink-black);
}

.cd-doc-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.cd-doc-item-title {
  font-family: var(--font-serif-headline);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-black);
  line-height: 1.36;
  margin-bottom: 5px;
}

.cd-doc-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* 중앙 Google Docs 스타일 문서 에디터 */
.cd-editor-pane {
  background: var(--bg-desk);
  overflow-y: auto;
  padding: 22px 28px;
}

.cd-paper-canvas {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper-sheet);
  border: 1px solid var(--rule-medium);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  padding: 26px 32px;
}

.cd-doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule-heavy);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cd-version-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cd-ver-chip {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-medium);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--ink-secondary);
}

.cd-ver-chip.active {
  background: var(--ink-black);
  color: var(--paper-sheet);
  border-color: var(--ink-black);
}

.cd-title-input {
  width: 100%;
  font-family: var(--font-serif-headline);
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--ink-black);
  background: transparent;
  border: none;
  border-bottom: 1px dashed var(--rule-light);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.cd-title-input:focus {
  outline: none;
  border-bottom-color: var(--ink-black);
}

/* 우측 AI 첨삭 주석 레일 */
.cd-comments-rail {
  border-left: 1px solid var(--rule-medium);
  background: var(--paper-elevated);
  overflow-y: auto;
  padding: 16px;
}

/* ==========================================================================
   모달 (로그인 / 요금제 / 윤전기)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.68);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-paper-card {
  background: var(--paper-sheet);
  border: 2px solid var(--rule-heavy);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 6px 6px 0 var(--paper-aged);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 22px 24px;
}

.modal-paper-card.modal-wide {
  max-width: 820px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 2px solid var(--rule-heavy);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.modal-kicker {
  font-family: var(--font-serif-headline);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--stamp-red);
}

.modal-header h2 {
  font-family: var(--font-serif-headline);
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 900;
  color: var(--ink-black);
  margin-top: 2px;
}

.modal-close-btn {
  background: none;
  border: 1px solid var(--rule-light);
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-black);
  flex-shrink: 0;
}

.modal-desc {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  line-height: 1.56;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

/* 요금제 비교 그리드 */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 16px;
  margin-bottom: 14px;
}

.pricing-card {
  background: var(--paper-elevated);
  border: 1.5px solid var(--rule-medium);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-pro {
  background: var(--paper-sheet);
  border: 2px solid var(--gold-pro);
  box-shadow: 4px 4px 0 rgba(156, 107, 25, 0.2);
}

.pricing-popular-ribbon {
  position: absolute;
  top: -11px;
  right: 14px;
  background: var(--ink-black);
  color: #F8D377;
  border: 1px solid var(--gold-pro);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2px 9px;
}

.pricing-tier-name {
  font-family: var(--font-serif-headline);
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--ink-black);
  margin-bottom: 6px;
}

.pricing-price {
  font-family: var(--font-serif-headline);
  margin-bottom: 6px;
}

.pricing-price strong {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--stamp-red);
}

.pricing-price span {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.pricing-sub {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dotted var(--rule-light);
}

.pricing-feature-list {
  list-style: none;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  line-height: 1.58;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  flex: 1;
}

.feature-disabled {
  color: var(--ink-muted);
  text-decoration: line-through;
}

.full-width {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.btn-pro-cta {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
  color: #fff;
}

.pricing-footer-note {
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-secondary);
  background: var(--paper-aged);
  padding: 9px 12px;
  border: 1px solid var(--rule-light);
}

/* 윤전기 및 공통 폼 */
.preset-topics-box {
  background: var(--paper-aged);
  border: 1px solid var(--rule-light);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.preset-label {
  display: block;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 7px;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-preset-chip {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-medium);
  padding: 4px 9px;
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  color: var(--ink-black);
  cursor: pointer;
}

.topic-preset-chip:hover {
  background: var(--ink-black);
  color: var(--paper-sheet);
}

.generator-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-family: var(--font-sans-ui);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-row label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-black);
}

.form-row input,
.form-row select {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-medium);
  padding: 9px 11px;
  font-family: var(--font-serif-body);
  font-size: 0.89rem;
  color: var(--ink-black);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-light);
}

.btn-paper-secondary {
  background: var(--paper-elevated);
  border: 1px solid var(--rule-medium);
  color: var(--ink-black);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
}

/* 본문 드래그 플로팅 잉크 툴바 */
.selection-toolbar {
  position: fixed;
  z-index: 1200;
  background: var(--ink-black);
  color: var(--paper-sheet);
  padding: 5px 7px;
  border: 1px solid var(--paper-aged);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -115%);
}

.selection-toolbar button {
  background: transparent;
  border: none;
  color: var(--paper-sheet);
  font-family: var(--font-sans-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
}

.selection-toolbar button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.selection-toolbar .toolbar-btn-accent {
  background: var(--stamp-red);
  color: #fff;
}

.toolbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

/* Small, explicit overrides for the auxiliary workspaces. */
.nowrap-chip { white-space:normal; }
.manuscript-header { gap:20px; }.manuscript-actions { flex-shrink:0; }.desk-section-desc { max-width:550px; }
.manuscript-field { background:transparent; border:0; border-bottom:1px solid var(--rule-light); padding:16px 0; }
.field-label-row { align-items:flex-start; gap:8px; }.field-label-row label { flex-wrap:wrap; gap:8px; }.label-text { white-space:normal; }
.manuscript-textarea,.manuscript-input-line { background:var(--paper-elevated); border:1px solid var(--rule-light); margin-top:10px; line-height:1.8; padding:12px; }
.btn-ink-primary,.btn-ink-send { background:var(--ink-black); color:var(--paper-sheet); border-color:var(--ink-black); }.btn-ink-primary:hover,.btn-ink-send:hover { opacity:.85; background:var(--ink-black); }
.btn-paper-secondary { background:transparent; }.pro-pill { background:var(--stamp-red-soft); color:var(--stamp-red); border:1px solid var(--stamp-red-border); }.part-stamp { background:transparent!important; color:var(--ink-black)!important; border:0!important; padding:0; }
.manuscript-submit-bar { flex-wrap:wrap; gap:16px; }.total-manuscript-meta { display:flex; gap:5px; flex-wrap:wrap; }
.feedback-report-card { box-shadow:none; border:1px solid var(--rule-light); background:var(--paper-elevated); }.red-ink-stamp { right:15px; top:15px; width:58px; height:58px; }.feedback-header-title { padding-right:64px; }.paywall-overlay-card { position:relative; margin-bottom:18px; padding:24px 18px; }.pro-paywall-zone.is-locked .pro-blur-content { display:none; }
.rubric-grid { gap:14px; }.socratic-Prompt-box { padding:16px; border:1px solid var(--rule-light); }.socratic-text { font-size:0.875rem; line-height:1.8; }
.qna-pro-lock-banner { border:1px solid var(--stamp-red-border); background:var(--stamp-red-soft); padding:20px; margin:18px 0; font-family:var(--font-sans-ui); }.qna-pro-lock-banner h4 { font-size:1rem; line-height:1.7; margin:10px 0; }.qna-pro-lock-banner p { font-size:0.875rem; line-height:1.9; }
.qna-salon-header { gap:15px; }.salon-title-row { flex-wrap:wrap; }.qna-messages-list { max-height:55dvh; min-height:120px; }.qna-msg { max-width:96%; }.qna-textarea { font-size:.88rem; }
.modal-backdrop { padding:18px; }.modal-paper-card { padding:22px; max-height:92dvh; box-shadow:0 18px 60px #10151055; border:1px solid var(--rule-medium); }.modal-header h2 { font-size:1.25rem; line-height:1.65; }.modal-kicker { font: 0.875rem var(--font-sans-ui); }
.modal-close-btn { min-width:32px; }.pricing-footer-note { display:none; }.pricing-popular-ribbon { background:var(--stamp-red); color:var(--paper-sheet); }.pricing-feature-list li { line-height:1.8; }.btn-toss-checkout { padding:12px; background:var(--stamp-red); color:var(--paper-sheet); border-color:var(--stamp-red); }
.clouddocs-workspace { height:92dvh; max-width:1360px; width:100%; border:1px solid var(--rule-medium); }.clouddocs-topbar { flex-wrap:wrap; gap:12px; padding:15px; }.clouddocs-top-actions { flex-wrap:wrap; }.clouddocs-brand p,.sync-status-chip,.clouddocs-icon { display:none; }.clouddocs-body { min-height:0; grid-template-columns:220px minmax(0,1fr) 250px; }.cd-editor-pane { padding:18px; }.cd-paper-canvas { padding:22px; }.cd-comments-rail { font-size:0.875rem; }.cd-doc-item { width:100%; }.cd-title-input { font-size:1.2rem; }
.selection-toolbar { max-width:calc(100vw - 24px); flex-wrap:wrap; justify-content:center; white-space:normal; z-index:100; }.selection-toolbar button { font-size:0.875rem; padding:7px; }
.toast-notification { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); width:max-content; max-width:calc(100vw - 30px); padding:12px 20px; border:1px solid var(--rule-medium); background:var(--ink-black); color:var(--paper-sheet); font:0.875rem/1.7 var(--font-sans-ui); z-index:3000; box-shadow:0 4px 22px #1115; }
/* Audio is a Pro reader's optional floating studio, never part of first paint. */
.audio-studio-dock { position:fixed; right:max(28px,calc((100vw - 1184px)/2)); bottom:28px; width:min(600px,calc(100vw - 36px)); max-height:76dvh; overflow:auto; z-index:80; padding:20px; border:1px solid var(--rule-medium); background:var(--paper-elevated); box-shadow:0 12px 44px #10181044; font-family:var(--font-sans-ui); }
.audio-dock-heading { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--rule-light); padding-bottom:10px; margin-bottom:15px; font-size:0.875rem; }.audio-dock-heading button { border:0; font-size:0.875rem; }
.audio-brand-group { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }.audio-onair-pill { color:var(--stamp-red); font-size:0.875rem; }.audio-program-label { font-size:0.875rem; color:var(--ink-muted); }
.audio-mode-tabs { display:flex; gap:6px; flex-wrap:wrap; }.audio-mode-btn { padding:7px; font-size:0.875rem; flex:1; }.audio-mode-btn.active { color:var(--stamp-red); border-color:var(--stamp-red); }
.audio-player-bar { display:flex; gap:12px; flex-wrap:wrap; margin-top:15px; align-items:center; }.btn-audio-play { background:var(--ink-black); color:var(--paper-sheet); font-size:0.875rem; }.audio-progress-wrap { flex:1; min-width:200px; }.audio-meta-line { display:flex; justify-content:space-between; gap:10px; font-size:0.875rem; margin-bottom:8px; }.audio-seek-slider { width:100%; accent-color:var(--stamp-red); }.audio-extra-controls { display:flex; gap:8px; align-items:center; }.audio-speed-select { background:var(--paper-sheet); border:1px solid var(--rule-light); padding:6px; font-size:0.875rem; }
.audio-transcript-drawer { margin-top:18px; border-top:1px solid var(--rule-light); padding-top:14px; }.transcript-drawer-head { display:flex; justify-content:space-between; gap:12px; font-size:0.875rem; margin-bottom:12px; }#transcript-hosts-badge { display:none; }.audio-transcript-list { max-height:35dvh; overflow:auto; }.transcript-seg-item { font-size:0.875rem; line-height:1.9; padding:10px; cursor:pointer; }.transcript-seg-meta { font-size:0.875rem; color:var(--ink-muted); }.active-seg { background:var(--accent-olive-soft); border-left:2px solid var(--accent-olive); }
@media (max-width:1023px) {
  body { padding:12px 16px; }.newspaper-shell { padding:0 22px; }
  .masthead { min-height:95px; }.kr-title { font-size:2.3rem; }.masthead-motto { font-size:0.875rem; }.hanja-title { font-size:1.05rem; }
  .editorial-body.multi-column { column-count:2; }.editorial-headline { font-size:1.75rem; }
  .clouddocs-body { grid-template-columns:190px minmax(0,1fr); }.cd-comments-rail { display:none; }
}
@media (max-width:600px) {
  :root { --reader-gap:24px; --editorial-font-size:1.02rem; --editorial-line-height:1.9; }
  body { padding:0; }.newspaper-shell { padding:0 18px; border:0; box-shadow:none; }
  .top-edition-bar { min-height:41px; }.edition-left,.edition-right { gap:10px; }.edition-left { font-size:0.875rem; }.edition-badge,#masthead-date { display:none; }.edition-action-btn { font-size:0.875rem; }#header-auth-label { max-width:135px; }
  .masthead { min-height:80px; gap:8px; }.masthead-center { padding:12px 0; }.masthead-sub-en { font-size:0.875rem; letter-spacing:.12em; }.kr-title { font-size:2rem; letter-spacing:.08em; }.hanja-title { font-size:0.875rem; letter-spacing:.1em; }.masthead-title { gap:10px; }.masthead-motto { font-size:0.875rem; line-height:1.7; }.mobile-break { display:block; }
  .reader-navigation { min-height:45px; gap:4px; }.reader-navigation summary { font-size:0.875rem; }.reader-navigation summary span { margin-left:1px; }.dock-btn { min-width:0; padding:8px 11px; font-size:0.875rem; }.view-switcher { gap:0; }
  .theme-popover { right:-35px; }.edition-drawer { top:44px; padding:12px; }.editorial-strip-list { grid-template-columns:1fr; }.menu-drawer { top:44px; }
  .reader-tools { min-height:34px; }.reader-section-label,.reading-options summary { font-size:0.875rem; }.reading-controls-bar { width:min(300px,calc(100vw - 36px)); }
  .editorial-header { padding-bottom:12px; margin-bottom:14px; }.editorial-kicker-row { font-size:0.875rem; gap:7px; }#ed-reading-meta { font-size:0.875rem; }.editorial-headline { font-size:1.35rem; line-height:1.5; margin:8px 0 7px; }.editorial-subheadline { font-size:0.875rem; line-height:1.7; }.editorial-byline-row { font-size:0.875rem; margin-top:10px; }.byline-date { display:none; }
  .editorial-body.multi-column { column-count:1; }.editorial-pull-quote { padding:10px; }.pull-quote-text { font-size:1em; }
  .reader-pagination { height:56px; margin-top:12px; gap:6px; }.reader-pagination button { padding:8px 9px; min-width:96px; font-size:0.875rem; }#reader-page-hint { font-size:0.875rem; }.vocabulary-details>summary { padding:9px 0; font-size:0.875rem; }.newspaper-colophon { font-size:0.875rem; padding:8px 0; }.vocab-grid,.hint-banner-grid { grid-template-columns:1fr; }
  .structure-hint-banner { max-height:65dvh; overflow:auto; padding:16px; }.hint-banner-title { font-size:0.875rem; }
  .workspace-context { padding:16px 0; }.workspace-context>strong { font-size:.95rem; }.desk-panel { padding:18px 0; }.manuscript-header { flex-wrap:wrap; gap:12px; }.desk-section-title { font-size:1.1rem; }.desk-section-desc { font-size:0.875rem; }.label-text { font-size:0.875rem; }.label-text small { display:none; }.manuscript-field { padding:14px 0; }.manuscript-submit-bar { display:flex; flex-direction:column; align-items:stretch; }.total-manuscript-meta { font-size:0.875rem; }.manuscript-submit-bar .btn-ink-primary { width:100%; font-size:0.875rem; }
  .qna-salon-header { flex-wrap:wrap; }.author-seal { display:none; }.salon-greeting { font-size:0.875rem; }.qna-input-form { gap:8px; }.btn-ink-send { font-size:0.875rem; padding:10px; }.qna-messages-list { max-height:48dvh; }.feedback-report-card { padding:16px; }.rubric-grid { grid-template-columns:1fr; }
  .modal-backdrop { padding:10px; }.modal-paper-card { padding:18px; }.modal-header h2 { font-size:1.05rem; }.pricing-cards-grid { grid-template-columns:1fr; }.form-grid-2 { grid-template-columns:1fr; }.pricing-card { padding:20px 16px; }.modal-backdrop button { white-space:normal; }
  .clouddocs-workspace { height:96dvh; }.clouddocs-topbar { padding:12px; }.clouddocs-brand h2 { font-size:.95rem; }.clouddocs-top-actions { gap:6px; }.clouddocs-top-actions .ctrl-btn { font-size:0.875rem; padding:6px; }.clouddocs-body { display:flex; flex-direction:column; overflow:auto; }.cd-sidebar { flex-shrink:0; max-height:32dvh; overflow:auto; border-bottom:1px solid var(--rule-light); border-right:0; }.cd-doc-list { flex-direction:row; overflow:auto; min-height:82px; }.cd-doc-item { min-width:200px; }.cd-editor-pane { padding:12px; flex:1; overflow:visible; }.cd-paper-canvas { padding:16px; }.audio-studio-dock { right:10px; bottom:10px; width:calc(100vw - 20px); padding:15px; }.audio-progress-wrap { min-width:180px; }.audio-mode-btn { min-width:100px; }
}
@media (orientation:landscape) and (max-height:600px) {
  body { padding:0 10px; }.newspaper-shell { padding:0 20px; }.top-edition-bar { min-height:30px; }.masthead { min-height:48px; }.masthead-center { padding:5px 0; }.masthead-sub-en,.masthead-motto { display:none; }.kr-title { font-size:1.5rem; }.hanja-title { font-size:0.875rem; }.reader-navigation { min-height:35px; }.dock-btn { padding:5px 12px; }.reader-tools { min-height:26px; }.reading-options summary { padding:4px 0; }.editorial-header { padding-bottom:8px; margin-bottom:10px; }.editorial-headline { font-size:1.2rem; margin:5px 0; }.editorial-subheadline,.editorial-byline-row { display:none; }.editorial-kicker-row { font-size:0.875rem; }.reader-pagination { height:42px; margin-top:7px; }.reader-pagination button { padding:5px 10px; }.vocabulary-details>summary { padding:5px 0; }.newspaper-colophon { display:none; }.editorial-body.multi-column { column-count:2; }.editorial-body { line-height:1.8; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
@media print {
  body { padding:0; background:white; }.newspaper-shell { padding:0; border:0; box-shadow:none; }.top-edition-bar,.reader-navigation,.reader-tools,.reader-pagination,.vocabulary-details,.newspaper-colophon,.audio-studio-dock,.selection-toolbar,.toast-notification { display:none!important; }
  .editorial-body-wrapper { height:auto!important; overflow:visible!important; }.editorial-body { height:auto!important; columns:2; transform:none!important; }.newspaper-column-left { display:block!important; }.newspaper-column-right { display:none!important; }.editorial-header { break-after:avoid; }
}
.issue-date-btn { flex-shrink:0; font-size:0.875rem; }.issue-date-btn.active { border-color:var(--stamp-red); color:var(--stamp-red); }
.audio-disclosure { color:var(--ink-muted); font-size:0.875rem; line-height:1.7; }
/* Give short landscape screens their vertical space back to the article. */
@media (orientation:landscape) and (max-height:850px) and (min-height:501px) {
  .top-edition-bar { min-height:36px; }.masthead { min-height:64px; }.masthead-center { padding:8px 0; }.masthead-sub-en { font-size:0.875rem; margin-bottom:4px; }.kr-title { font-size:1.9rem; }.hanja-title { font-size:.95rem; }.masthead-motto { font-size:0.875rem; }
  .reader-navigation { min-height:40px; }.reader-tools { min-height:30px; }.reading-options summary { padding:6px 0; }
  .editorial-header { margin-bottom:14px; padding-bottom:12px; }.editorial-headline { font-size:1.5rem; line-height:1.45; margin:7px 0 6px; }.editorial-subheadline { font-size:0.875rem; line-height:1.6; }.editorial-byline-row { margin-top:8px; font-size:0.875rem; }
  .reader-pagination { height:52px; margin-top:10px; }.vocabulary-details>summary { padding:8px 0; }.newspaper-colophon { padding:7px 0; }
}
@media (orientation:landscape) and (max-height:500px) {
  .top-edition-bar { min-height:28px; }.masthead { min-height:34px; }.masthead-center { padding:4px 0; }.kr-title { font-size:1.25rem; }.hanja-title { font-size:0.875rem; }
  .reader-navigation { min-height:32px; }.reader-navigation summary { padding:5px 0; }.dock-btn { padding:4px 11px; font-size:0.875rem; }.reader-tools { min-height:23px; }
  .editorial-header { padding-bottom:6px; margin-bottom:8px; }.editorial-headline { font-size:1.05rem; line-height:1.45; margin:4px 0; }.editorial-kicker-row { font-size:0.875rem; }
  .reader-pagination { height:40px; margin-top:6px; }.reader-pagination button { font-size:0.875rem; padding:5px 9px; }#reader-page-hint { display:none; }.vocabulary-details>summary { padding:4px 0; font-size:0.875rem; }
}
@media (orientation:portrait) and (max-width:600px) and (max-height:720px) {
  .top-edition-bar { min-height:36px; }.masthead { min-height:56px; }.masthead-center { padding:8px 0; }.masthead-sub-en { display:none; }.kr-title { font-size:1.75rem; }.hanja-title { font-size:0.875rem; }.masthead-motto { font-size:0.875rem; }
  .reader-navigation { min-height:40px; }.reader-navigation summary { padding:7px 0; }.reader-tools { min-height:28px; }.reading-options summary { padding:5px 0; }
  .editorial-header { padding-bottom:10px; margin-bottom:10px; }.editorial-headline { font-size:1.25rem; line-height:1.5; margin:6px 0; }.editorial-subheadline,.editorial-byline-row { display:none; }
  .reader-pagination { height:52px; margin-top:10px; }.vocabulary-details>summary { padding:8px 0; }.newspaper-colophon { display:none; }
}

/* v3.1 — a neutral grey broadsheet, with room to read and write. */
body { padding:12px 24px; }
button,summary { font-size:14px; }
small { font-size:13px; }
.newspaper-shell { max-width:1700px; padding:0 24px; box-shadow:0 6px 24px #00000010; }
.top-edition-bar { min-height:36px; font-size:14px; }
.edition-action-btn,.edition-left { font-size:14px; }
.edition-right { gap:20px; }
.masthead { min-height:70px; border-bottom:4px double var(--rule-heavy); }
.masthead-center { padding:8px 0 10px; }
.masthead-sub-en { display:none; }
.kr-title { font-size:42px; letter-spacing:.1em; }
.hanja-title { font-size:20px; }
.masthead-motto { font-size:14px; line-height:1.6; }
.reader-navigation { min-height:42px; border-bottom:2px solid var(--rule-heavy); }
.reader-navigation summary { padding:8px 0; font-size:14px; }
.dock-btn { font-size:14px; padding:8px 14px; }
.dock-btn.active { background:var(--ink-black); border-bottom-color:var(--ink-black); color:var(--paper-sheet); }
.menu-drawer { width:360px; max-width:calc(100vw - 36px); padding:0; top:41px; border:1px solid var(--rule-heavy); }
.menu-heading { padding:18px 18px 14px; border-bottom:3px double var(--rule-heavy); display:flex; align-items:baseline; justify-content:space-between; gap:15px; }
.menu-heading>span { color:var(--stamp-red); font:14px var(--font-serif-headline); letter-spacing:.16em; }
.menu-heading>strong { font:700 18px var(--font-serif-headline); }
.menu-section-title { padding:14px 18px 5px; color:var(--ink-muted); font:13px var(--font-sans-ui); }
.menu-drawer>.menu-entry { display:flex; align-items:center; gap:13px; border:0; border-top:1px solid var(--rule-hairline); padding:14px 18px; width:100%; text-align:left; }
.menu-icon { width:25px; height:25px; flex-shrink:0; color:var(--stamp-red); }
.menu-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:5px; }
.menu-copy strong { font-size:15px; font-weight:600; }
.menu-copy small { font-size:13px; line-height:1.6; color:var(--ink-secondary); }
.menu-arrow { color:var(--ink-muted); font-size:18px; }
.menu-drawer .menu-note { margin:0; padding:14px 18px; border-top:3px double var(--rule-medium); font-size:13px; }
.mini-count { font-size:13px; }
.theme-popover { width:270px; }.theme-popover p,.theme-popover small { font-size:13px; }.theme-popover button { font-size:14px; padding:12px 8px; }
.edition-drawer { top:41px; width:min(760px,100%); }.strip-card-top,.strip-footer { font-size:13px; }.strip-title { font-size:17px; }.issue-date-btn,.cat-tab { font-size:14px; }
.reader-tools { min-height:38px; gap:16px; }
.reader-tools-right { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.editorial-kicker-row { font-size:14px; gap:12px; min-width:0; flex-wrap:wrap; }
#ed-reading-meta { font-size:13px; margin-left:0; }
.reading-options summary,.vocabulary-details>summary { font-size:14px; padding:8px 0; color:var(--ink-secondary); }
.reading-controls-bar { top:36px; width:330px; }.control-label,.ctrl-btn { font-size:14px; }
.vocabulary-details { border:0; }
.editorial-vocab-box { top:36px; bottom:auto; right:0; left:auto; width:min(600px,calc(100vw - 36px)); max-height:60dvh; padding:20px; }
.vocab-term { font-size:16px; }.vocab-meaning { font-size:14px; }.vocab-header h3 { font-size:18px; }
.editorial-header { padding:0 0 10px; margin-bottom:14px; border-bottom:1px solid var(--rule-heavy); position:relative; }
.editorial-headline { margin:5px 0 7px; font-size:26px; line-height:1.4; letter-spacing:-.035em; }
.editorial-subheadline-box { padding-left:10px; border-left:2px solid var(--stamp-red-border); }
.editorial-subheadline { font-size:13px; line-height:1.6; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.editorial-byline-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; font-size:14px; line-height:1.5; }
.byline-author { min-width:0; }.byline-author strong { font-size:14px; }
.article-details { flex-shrink:0; }
.article-details>summary { font-size:14px; padding:0; color:var(--ink-secondary); }
.article-details-popover { position:absolute; top:100%; left:0; right:0; z-index:45; padding:20px; background:var(--paper-elevated); border:1px solid var(--rule-medium); box-shadow:0 8px 24px #0002; }
#ed-subtitle-full { font:16px/1.8 var(--font-serif-body); }
.article-details-meta { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:14px; padding-top:12px; border-top:1px solid var(--rule-light); font:14px/1.6 var(--font-sans-ui); color:var(--ink-secondary); }
.article-details-meta #ed-difficulty-badge,.article-details-meta .byline-date { display:block; font-size:14px; }
.editorial-body { font-size:var(--editorial-font-size,18px); }
.editorial-body.multi-column { column-count:var(--reader-columns,1); }
.para-num-badge,.para-struct-tag { font-size:14px; }
.editorial-pull-quote { padding:10px; }.pull-quote-text { font-size:18px; line-height:1.7; }
.reader-pagination { height:54px; margin-top:10px; }
.reader-pagination button { font-size:14px; min-width:110px; padding:8px 11px; }
.page-position { font-size:14px; }#reader-page-hint { font-size:13px; }
.newspaper-colophon { display:block; padding:8px 0; font-size:14px; line-height:1.5; letter-spacing:.03em; }
.workspace-context>span,#btn-back-to-reading { font-size:14px; }
.desk-tabs { display:none; }
.manuscript-input-line,.manuscript-textarea { font-size:16px; }
.field-label-row label,.label-text,.part-stamp { font-size:14px; }
.char-counter,.autosave-status,.total-manuscript-meta { font-size:13px; }
.desk-section-desc,.starter-label,.salon-greeting,.audio-disclosure,.audio-program-label { font-size:13px; }
.audio-meta-line,.audio-speed-select,.audio-mode-btn,.btn-audio-play,.audio-dock-heading button,.transcript-drawer-head,.transcript-seg-meta { font-size:14px; }
.audio-onair-pill,.audio-dock-heading { font-size:14px; }
.audio-studio-dock { right:max(24px,calc((100vw - 1650px)/2)); }
.selection-toolbar button { font-size:14px; }
.selection-toolbar { gap:4px; }
@media (min-width:1200px) {
  .view-switcher { display:none; }
  .masthead { min-height:66px; }.masthead-center { padding:6px 0 8px; }.kr-title { font-size:42px; }
  .broadsheet-spread { display:grid; grid-template-columns:minmax(0,1.56fr) minmax(390px,1fr); gap:30px; align-items:start; padding-top:2px; }
  body[data-mobile-view] .newspaper-column-left { display:block; }
  body[data-mobile-view] .newspaper-column-right { display:block; min-width:0; max-width:none; margin:0; padding-left:24px; border-left:3px double var(--rule-heavy); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
  .workspace-context { display:none; }
  .desk-tabs { display:grid; grid-template-columns:1fr 1fr; position:sticky; top:0; z-index:15; background:var(--paper-sheet); border-bottom:1px solid var(--rule-medium); }
  .desk-tab { display:flex; gap:9px; align-items:center; justify-content:center; padding:9px 6px; border:0; color:var(--ink-secondary); font-size:14px; }
  .desk-tab.active { background:var(--ink-black); color:var(--paper-sheet); }
  .tab-num { font:16px var(--font-serif-headline); }.tab-text strong { font-size:14px; font-weight:500; }
  .tab-badge { font-size:13px; font-style:normal; }
  .desk-panel { padding:12px 0 16px; }
  .manuscript-header { gap:8px; margin-bottom:8px; padding-bottom:0; border:0; flex-wrap:wrap; }
  .desk-section-title { font-size:18px; line-height:1.4; margin-bottom:4px; }
  .desk-section-desc { font-size:13px; line-height:1.5; }
  .manuscript-actions { gap:6px; margin-left:auto; }.text-link-btn { font-size:14px; }
  .manuscript-form { gap:6px; }
  .manuscript-field { padding:6px 0; border-bottom:1px solid var(--rule-light); }
  .field-label-row { margin-bottom:4px; gap:8px; }
  .field-label-row label { flex-wrap:nowrap; font-size:14px; gap:8px; }
  .field-label-row .label-text { font-size:14px; white-space:normal; overflow:visible; }
  .part-stamp { font-size:14px; letter-spacing:0; }
  .part-stamp::before { content:""; display:inline-block; width:4px; height:12px; margin-right:6px; background:var(--stamp-red); }
  .manuscript-input-line,.manuscript-textarea { font-size:16px; line-height:1.5; padding:7px 9px; margin:0; background:var(--paper-elevated); border:1px solid var(--rule-light); }
  .manuscript-input-line { height:38px; }.manuscript-textarea { height:62px; min-height:62px; }
  .manuscript-submit-bar { display:flex; flex-direction:column; align-items:stretch; gap:8px; padding-top:4px; }
  .total-manuscript-meta { font-size:13px; line-height:1.4; gap:5px; }.autosave-status { font-size:13px; margin-left:auto; }#manuscript-squares { display:none; }
  #btn-submit-summary { width:100%; min-height:40px; font-size:16px; padding:8px 12px; }
  .qna-salon-header { flex-wrap:wrap; gap:12px; }.salon-greeting { font-size:14px; }.qna-messages-list { min-height:140px; max-height:40dvh; }.qna-msg-content,.qna-textarea { font-size:16px; }.qna-msg-meta,.followup-chip,.para-jump-btn { font-size:14px; }
  .feedback-container { margin-top:16px; }.feedback-report-card { padding:18px 14px; }.rubric-grid { grid-template-columns:1fr; }
}
@media (max-width:1199px) {
  body { padding:8px 14px; }.newspaper-shell { padding:0 20px; }
  .kr-title { font-size:36px; }.hanja-title { font-size:18px; }.masthead { min-height:62px; }.masthead-center { padding:7px 0; }
  .editorial-headline { font-size:25px; }.reader-tools { min-height:38px; }
  .editorial-byline-row { margin-top:7px; }.editorial-header { padding-bottom:9px; margin-bottom:12px; }
  .manuscript-header { gap:12px; }.manuscript-textarea { min-height:88px; }
  .desk-section-title { font-size:20px; }.desk-section-desc { font-size:14px; }
}
@media (max-width:600px) {
  :root { --editorial-font-size:1.125rem; --editorial-line-height:1.9; --reader-gap:24px; }
  body { padding:0; }.newspaper-shell { padding:0 18px; }
  .top-edition-bar { min-height:40px; }.edition-left,.edition-right,.edition-action-btn { font-size:14px; }.edition-right { gap:16px; }#header-auth-label { max-width:145px; }
  .masthead { min-height:64px; }.masthead-center { padding:8px 0; }.masthead-motto { display:none; }.masthead-title { gap:12px; }.kr-title { font-size:36px; }.hanja-title { font-size:16px; }
  .reader-navigation { min-height:42px; gap:6px; }.reader-navigation summary { font-size:14px; padding:8px 0; }.dock-btn { font-size:14px; min-width:0; padding:8px; }.dock-detail { display:none; }
  .reader-navigation summary span { margin-left:1px; }.theme-popover { right:-28px; }.menu-drawer { top:41px; }.edition-drawer { top:41px; }
  .reader-tools { min-height:40px; gap:8px; }.reader-tools-right { gap:12px; }.editorial-kicker-row { font-size:14px; gap:8px; }#ed-reading-meta { display:none; }.reading-options summary,.vocabulary-details>summary { font-size:14px; }.reading-controls-bar { width:min(330px,calc(100vw - 36px)); }
  .editorial-headline { font-size:24px; line-height:1.4; margin:4px 0 6px; }.editorial-subheadline { font-size:13px; line-height:1.6; }.editorial-byline-row { font-size:14px; margin-top:6px; }.editorial-header { padding-bottom:8px; margin-bottom:12px; }.article-details>summary { font-size:14px; }
  .reader-pagination { height:56px; margin-top:10px; gap:6px; }.reader-pagination button { min-width:98px; padding:8px; font-size:14px; }#reader-page-hint { display:none; }
  .newspaper-colophon { font-size:14px; padding:8px 0; }
  .label-text,.field-label-row label,.part-stamp { font-size:14px; }.manuscript-input-line,.manuscript-textarea { font-size:16px; }.manuscript-submit-bar .btn-ink-primary { font-size:16px; }
  .modal-header h2 { font-size:20px; }.clouddocs-top-actions .ctrl-btn { font-size:14px; }.clouddocs-brand h2 { font-size:18px; }.audio-mode-btn { min-width:110px; }
}
@media (orientation:portrait) and (max-width:600px) and (max-height:720px) {
  .top-edition-bar { min-height:36px; }.masthead { min-height:54px; }.masthead-center { padding:6px 0; }.kr-title { font-size:32px; }.hanja-title { font-size:16px; }
  .reader-navigation { min-height:40px; }.reader-tools { min-height:36px; }.editorial-headline { font-size:23px; }.editorial-subheadline-box { display:none; }.editorial-header { margin-bottom:10px; }
  .newspaper-colophon { display:block; font-size:14px; }
}
@media (orientation:landscape) and (max-height:500px) {
  body { padding:0 10px; }.newspaper-shell { padding:0 16px; }.top-edition-bar { min-height:30px; }.masthead { min-height:38px; }.masthead-center { padding:3px 0; }.kr-title { font-size:26px; }.hanja-title { font-size:16px; }.masthead-motto { display:none; }
  .reader-navigation { min-height:36px; }.reader-navigation summary { padding:5px 0; }.dock-btn { padding:5px 11px; }.reader-tools { min-height:32px; }.reading-options summary,.vocabulary-details>summary { padding:5px 0; }
  .editorial-headline { font-size:22px; margin:2px 0 4px; }.editorial-header { padding-bottom:6px; margin-bottom:8px; }.editorial-subheadline-box,.editorial-byline-row { display:none; }
  .reader-pagination { height:42px; margin-top:6px; }.reader-pagination button { padding:5px 10px; font-size:14px; }#reader-page-hint { display:none; }.newspaper-colophon { display:none; }
}
/* A two-line manuscript field includes both lines of 16px type in full. */
@media (min-width:1200px) {
  .manuscript-textarea { height:64px; min-height:64px; }
}
@media (min-width:1200px) and (max-height:800px) {
  .editorial-subheadline-box { display:none; }
  .desk-tab { padding-top:8px; padding-bottom:8px; }
  .desk-panel { padding-top:8px; }
  .desk-section-desc { display:none; }
  .manuscript-header { margin-bottom:4px; }
  .manuscript-form { gap:3px; }
  .manuscript-field { padding-top:4px; padding-bottom:4px; }
  .field-label-row { margin-bottom:3px; }
  .manuscript-submit-bar { gap:6px; }
}

/* v3.3 — reading tools belong to the navigation, leaving an uninterrupted article. */
#reader-menu>summary,#reading-options>summary { font-weight:700; }
.article-metadata { justify-content:flex-start; }
.menu-drawer { max-height:76dvh; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.reading-tool-group { border-bottom:1px solid var(--rule-medium); }
.reading-tool-group .menu-section-title { padding-bottom:8px; }
.reading-tool-group>.menu-tool { position:static; margin:0; border:0; border-top:1px solid var(--rule-hairline); }
.reading-tool-group>.menu-tool>summary { display:flex; align-items:center; gap:10px; padding:12px 18px; font-family:var(--font-sans-ui); font-size:14px; color:var(--ink-black); }
.menu-tool>summary .tool-label { margin:0; color:inherit; }
.menu-tool>summary .tool-description { margin:0; flex:1; color:var(--ink-secondary); font-size:13px; line-height:1.6; font-weight:400; }
.menu-tool>summary .tool-toggle { margin:0; color:var(--ink-muted); font-size:16px; font-weight:400; }
.menu-tool[open]>summary { background:var(--paper-aged); }
.menu-tool[open]>summary .tool-toggle { transform:rotate(45deg); }
.reading-tool-group .reading-controls-bar { position:static; top:auto; right:auto; width:auto; max-width:none; padding:14px 18px 18px; gap:14px; background:transparent; border:0; box-shadow:none; }
.reading-tool-group .editorial-vocab-box { position:static; inset:auto; width:auto; max-width:none; max-height:none; padding:16px 18px 18px; background:transparent; border:0; box-shadow:none; }
.reading-tool-group .vocab-grid { grid-template-columns:1fr; gap:16px; }.reading-tool-group .vocab-header h3 { font-size:16px; }.reading-tool-group .vocab-header { margin-bottom:14px; }
.reading-tool-group .article-details-popover { position:static; inset:auto; padding:14px 18px 18px; border:0; box-shadow:none; background:transparent; }
@media (max-width:360px) { .reading-tool-group>.menu-tool>summary { gap:8px; padding:12px 14px; }.menu-tool>summary .tool-description { max-width:160px; }.reading-tool-group .reading-controls-bar,.reading-tool-group .editorial-vocab-box,.reading-tool-group .article-details-popover { padding-left:14px; padding-right:14px; } }

/* Service policy links remain in the reader menu, outside the newspaper article. */
.menu-policy-links { display:flex; flex-direction:column; gap:12px; padding:16px 18px; border-top:1px solid var(--rule-light); }
.menu-policy-links a { color:var(--ink-black); font-size:14px; font-weight:700; text-underline-offset:4px; }

/* v3.5 — server-verified reader accounts and administrator controls. */
.account-card { display:flex; flex-direction:column; gap:8px; padding:18px; border:1px solid var(--rule-heavy); background:var(--paper-elevated); }
.account-kicker,.account-email,.account-membership { font-family:var(--font-sans-ui); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.account-name { font-size:20px; }.account-membership { padding-top:8px; border-top:1px solid var(--rule-light); font-weight:700; }
.account-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }.account-actions button { flex:1; }
.auth-intro { font-size:16px; line-height:1.8; margin-bottom:20px; }.auth-policy-links { display:flex; gap:16px; flex-wrap:wrap; font-size:14px; line-height:1.7; margin-top:18px; }
.auth-modal-body .btn-google-auth { justify-content:center; gap:12px; min-height:48px; font-size:16px; white-space:normal; }
.membership-notice { margin:16px 0; font-family:var(--font-sans-ui); font-size:14px; line-height:1.8; overflow-wrap:anywhere; }.membership-contact { display:inline-block; color:var(--stamp-red); font-family:var(--font-sans-ui); font-size:16px; font-weight:700; line-height:1.7; text-underline-offset:4px; }
.pricing-price strong { font-size:24px; }.pricing-feature-list { list-style:none; }.pricing-feature-list li { padding:5px 0; font-size:14px; }.pricing-card-pro { padding-top:30px; }
.admin-search-form { display:flex; flex-direction:column; gap:8px; font-family:var(--font-sans-ui); font-size:14px; }.admin-search-form>div { display:flex; gap:10px; }.admin-search-form input { min-width:0; flex:1; padding:10px; border:1px solid var(--rule-medium); background:var(--paper-elevated); color:var(--ink-black); font-size:16px; }
.admin-list-status { min-height:24px; margin:16px 0 8px; font-family:var(--font-sans-ui); font-size:14px; line-height:1.7; }.admin-user-list { display:grid; gap:0; border-top:2px solid var(--rule-heavy); }
.admin-user-card { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid var(--rule-medium); font-family:var(--font-sans-ui); font-size:14px; }.admin-user-identity { display:flex; flex-direction:column; gap:5px; min-width:0; flex:1; overflow-wrap:anywhere; }.admin-user-identity strong { font-size:16px; }.admin-user-identity small { font-size:13px; color:var(--ink-muted); }.admin-user-plan { display:flex; align-items:center; gap:10px; }.admin-user-plan select { border:1px solid var(--rule-medium); background:var(--paper-elevated); color:var(--ink-black); padding:9px; font-size:16px; }.admin-user-plan label { font-size:14px; }.admin-role-label { font-size:14px; }
.admin-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; font-family:var(--font-sans-ui); font-size:14px; }
.feedback-access-note,.feedback-storage-note { margin-top:18px; padding:14px; border-top:1px solid var(--rule-medium); font-family:var(--font-sans-ui); font-size:14px; line-height:1.8; }.feedback-access-note p,.feedback-storage-note p { margin:6px 0 12px; }.feedback-detail-list { margin:14px 0; font-family:var(--font-sans-ui); font-size:14px; line-height:1.8; }.feedback-detail-list ul { padding-left:20px; }
.cloud-login-note { grid-column:1/-1; padding:32px; font-family:var(--font-sans-ui); font-size:16px; line-height:1.8; }.cloud-login-note h3 { font-size:22px; }.cloud-login-note p { margin:16px 0 22px; }
@media (max-width:600px) { .admin-user-card { align-items:stretch; flex-direction:column; gap:12px; }.admin-user-plan { justify-content:flex-end; flex-wrap:wrap; }.admin-user-plan label { margin-right:auto; }.admin-search-form>div { gap:8px; }.admin-search-form button { padding-left:14px; padding-right:14px; }.account-actions { flex-direction:column; }.pricing-price strong { font-size:22px; }.cloud-login-note { padding:20px; } }

[hidden] { display:none !important; }
