/**
 * NAVER & POOMGO — master·Workspace와 같은 편집샵 근간.
 * html.editorial-console 만. 엑셀·대조 로직은 유지, ERP 초록·라운드만 걷는다.
 */
html.editorial-console {
  --bg: var(--ed-paper);
  --card: var(--ed-canvas);
  --line: var(--ed-line);
  --line-soft: var(--ed-wash);
  --text: var(--ed-ink);
  --muted: var(--ed-mute);
  --muted-2: var(--ed-faint);
  --primary: var(--ed-ink);
  --dark: var(--ed-ink);
  --danger: var(--ed-danger);
  --shadow-md: none;
  --ease: var(--ed-ease);
}

html.editorial-console {
  background: var(--ed-paper);
}

html.editorial-console body {
  background: var(--ed-paper);
  color: var(--ed-ink);
  font-family: var(--ed-font);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  font-weight: 450;
}

html.editorial-console ::selection {
  background: rgba(26, 27, 29, 0.12);
  color: var(--ed-ink);
}

html.editorial-console .app {
  background: var(--ed-paper);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

html.editorial-console .top {
  align-items: center;
  min-height: var(--ed-topbar);
  padding: 8px 24px;
  background: var(--ed-canvas);
  border-bottom: 1px solid var(--ed-line);
}

html.editorial-console .top__brand {
  align-items: center;
  gap: 12px;
}

html.editorial-console .ed-wordmark {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

html.editorial-console .ed-wordmark > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

html.editorial-console .ed-wordmark__mark {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1;
  color: var(--ed-ink);
}

html.editorial-console .ed-wordmark em {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--ed-font);
  font-size: var(--ed-micro);
  font-style: normal;
  font-weight: 500;
  letter-spacing: var(--ed-track-label);
  text-indent: var(--ed-track-label);
  text-transform: uppercase;
  color: var(--ed-faint);
  border-radius: 0;
}

html.editorial-console .top__title,
html.editorial-console .top__brand strong {
  font-size: var(--ed-title);
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

html.editorial-console .top__temp {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: var(--ed-track-label);
  text-transform: uppercase;
  color: #9a5c45;
  border: 1px solid rgba(154, 92, 69, 0.28);
  background: rgba(154, 92, 69, 0.08);
  padding: 3px 7px;
}

html.editorial-console .top__user {
  font-weight: 400;
  color: var(--ed-mute);
}

html.editorial-console .top__user span:first-child {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: var(--ed-ink);
  font-size: 0.625rem;
  font-weight: 550;
}

html.editorial-console .main {
  padding: 24px 28px 48px;
}

html.editorial-console .card,
html.editorial-console .kpis article,
html.editorial-console .wait__card {
  border-radius: 0;
  box-shadow: none;
  background: var(--ed-canvas);
  border-color: var(--ed-line);
}

html.editorial-console .field {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .field input[type="text"],
html.editorial-console .field input[type="file"],
html.editorial-console .field input[type="date"] {
  border-radius: 0;
  height: 36px;
  border-color: var(--ed-line);
  color: var(--ed-ink);
}

html.editorial-console .field input:focus {
  outline: none;
  border-color: var(--ed-ink);
}

html.editorial-console .btn {
  border-radius: 0;
  height: 36px;
  border-color: var(--ed-line-strong);
  background: var(--ed-canvas);
  color: var(--ed-ink);
  font-weight: 450;
}

html.editorial-console .btn:hover:not(:disabled) {
  border-color: var(--ed-ink);
}

html.editorial-console .btn-primary {
  background: var(--ed-ink);
  border-color: var(--ed-ink);
  color: #fff;
}

html.editorial-console .btn-primary:hover:not(:disabled) {
  background: #000;
  border-color: #000;
}

html.editorial-console .status {
  font-weight: 400;
}

html.editorial-console .status--warn {
  color: var(--ed-danger);
  font-weight: 550;
}

html.editorial-console .kpis {
  gap: 1px;
  background: var(--ed-line);
  border: 1px solid var(--ed-line);
}

html.editorial-console .kpis article {
  border: 0;
  border-radius: 0;
}

html.editorial-console .kpis p {
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console .kpis strong {
  font-weight: 520;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

html.editorial-console .table-card h2 {
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
  color: var(--ed-ink);
}

html.editorial-console th {
  background: var(--ed-paper);
  font-size: var(--ed-micro);
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-faint);
}

html.editorial-console tbody tr:hover td {
  background: var(--ed-wash);
}

html.editorial-console .wait {
  background: rgba(247, 246, 243, 0.82);
  backdrop-filter: none;
}

html.editorial-console .wait__ring {
  border-radius: 50%;
  border-color: var(--ed-line);
  border-top-color: var(--ed-ink);
}

html.editorial-console .wait__title {
  font-weight: 540;
  letter-spacing: var(--ed-track-title);
}

html.editorial-console .wait__bar,
html.editorial-console .wait__bar span {
  border-radius: 0;
}

html.editorial-console .wait__bar span {
  background: var(--ed-ink);
}

@media (max-width: 768px) {
  html.editorial-console .top {
    align-items: center;
    padding: 12px 14px;
  }

  html.editorial-console .ed-wordmark em {
    display: none;
  }

  html.editorial-console .main {
    padding: 16px 14px 40px;
  }
}
