.iss-screener {
  --iss-bg: #eef4f2;
  --iss-surface: #ffffff;
  --iss-soft: #f7faf9;
  --iss-line: #d8e4e0;
  --iss-line-strong: #c7d6d1;
  --iss-text: #0f1b19;
  --iss-muted: #60726d;
  --iss-faint: #8a9a95;
  --iss-green: #10806c;
  --iss-green-dark: #075f51;
  --iss-red: #d64d4d;
  --iss-blue: #356fd1;
  --iss-amber: #d69020;
  --iss-shadow: 0 18px 45px rgba(21, 36, 32, 0.08);
  color: var(--iss-text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  margin: 0 auto;
  max-width: none;
  min-width: 0;
  width: min(100%, 1380px);
  container-type: inline-size;
}

.iss-screener * {
  box-sizing: border-box;
}

body.page-id-94 .entry-title,
body.page-id-94 .page-title,
body.page-id-94 #secondary,
body.page-id-94 #right-sidebar,
body.page-id-94 #left-sidebar,
body.page-id-94 .secondary,
body.page-id-94 .sidebar,
body.page-id-94 .is-right-sidebar,
body.page-id-94 .is-left-sidebar,
body.page-id-94 .widget-area,
body.page-id-94 aside[role="complementary"] {
  display: none !important;
}

body.page-id-94 .site.grid-container,
body.page-id-94 .container.grid-container,
body.page-id-94 .ultp-template-container,
body.page-id-94 #primary,
body.page-id-94 .primary,
body.page-id-94 .content-area,
body.page-id-94 .site-content .content-area,
body.page-id-94 .site-content,
body.page-id-94 .site-main,
body.page-id-94 .entry-content,
body.page-id-94 .wp-block-post-content {
  max-width: 1480px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.page-id-94 #primary,
body.page-id-94 .content-area {
  float: none !important;
}

body.page-id-94 #content,
body.page-id-94 .site-content,
body.page-id-94 .content-area {
  display: block !important;
}

body.page-id-94 .inside-article,
body.page-id-94 .ultp-template-container {
  padding-left: clamp(10px, 2vw, 24px) !important;
  padding-right: clamp(10px, 2vw, 24px) !important;
}

body.page-id-94 .entry-content,
body.page-id-94 .wp-block-post-content,
body.page-id-94 .ultp-template-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

.iss-layout {
  background:
    linear-gradient(180deg, rgba(229, 244, 239, 0.85), rgba(245, 248, 247, 0) 320px),
    var(--iss-bg);
  border: 1px solid var(--iss-line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: minmax(230px, 295px) minmax(0, 1fr);
  min-height: 720px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.iss-rail {
  background: rgba(248, 250, 249, 0.88);
  border-right: 1px solid var(--iss-line);
  display: grid;
  gap: 18px;
  grid-template-rows: auto auto auto auto 1fr;
  min-width: 0;
  padding: 22px 18px;
}

.iss-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.iss-brand-mark {
  align-items: center;
  background: var(--iss-green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.iss-brand p,
.iss-header p,
.iss-panel-head p,
.iss-content > div > p {
  color: var(--iss-muted);
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 4px;
}

.iss-brand h2,
.iss-header h2,
.iss-panel h3,
.iss-content h3 {
  color: var(--iss-text);
  line-height: 1.15;
  margin: 0;
}

.iss-brand h2 {
  font-size: 20px;
  word-break: keep-all;
}

.iss-search-card {
  background: var(--iss-surface);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  color: var(--iss-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  padding: 13px;
}

.iss-rail-section {
  display: grid;
  gap: 10px;
}

.iss-rail-section h3 {
  color: var(--iss-muted);
  font-size: 13px;
  font-weight: 900;
  margin: 0;
}

.iss-condition-list,
.iss-summary-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

.iss-condition-item,
.iss-summary-list div {
  align-items: center;
  border-bottom: 1px solid rgba(216, 228, 224, 0.82);
  display: grid;
  gap: 8px;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 42px;
}

.iss-condition-item strong,
.iss-summary-list dt {
  color: #20322e;
  font-size: 13px;
  font-weight: 850;
}

.iss-condition-item em,
.iss-summary-list dd {
  color: var(--iss-text);
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
  margin: 0;
}

.iss-summary-list div {
  grid-template-columns: minmax(0, 1fr) auto;
}

.iss-dot {
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.iss-dot-A {
  background: var(--iss-red);
}

.iss-dot-B {
  background: var(--iss-green);
}

.iss-dot-C {
  background: var(--iss-blue);
}

.iss-snapshot-card {
  align-self: end;
  background: var(--iss-surface);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.iss-snapshot-card span {
  color: var(--iss-muted);
  font-size: 12px;
  font-weight: 900;
}

.iss-snapshot-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.iss-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 26px 22px 24px;
}

.iss-header {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.iss-header h2 {
  font-size: 28px;
  letter-spacing: 0;
}

.iss-header span {
  color: var(--iss-muted);
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.iss-status {
  background: #e5f4ef;
  border: 1px solid #b9ded4;
  border-radius: 999px;
  color: var(--iss-green-dark);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
}

.iss-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.iss-toolbar label,
.iss-toolbar > span {
  align-items: center;
  background: var(--iss-surface);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  color: var(--iss-muted);
  display: inline-flex;
  flex: 1 1 180px;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.iss-toolbar input,
.iss-toolbar select {
  background: transparent;
  border: 0;
  color: var(--iss-text);
  font: inherit;
  font-weight: 850;
  min-width: 0;
  outline: 0;
}

.iss-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.iss-metrics div {
  background: var(--iss-surface);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  padding: 15px;
}

.iss-metrics span,
.iss-ad span {
  color: var(--iss-muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.iss-metrics strong {
  color: var(--iss-text);
  display: block;
  font-size: 29px;
  line-height: 1;
  margin-top: 9px;
}

.iss-metric-accent {
  background: #fff4de !important;
  border-color: #edcd8c !important;
}

.iss-panel,
.iss-content,
.iss-ad {
  background: var(--iss-surface);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  box-shadow: var(--iss-shadow);
}

.iss-panel-head {
  align-items: center;
  border-bottom: 1px solid var(--iss-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
}

.iss-panel-head strong {
  color: var(--iss-muted);
  font-size: 13px;
  white-space: nowrap;
}

.iss-table-wrap {
  overflow-x: auto;
}

.iss-screener table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.iss-screener th,
.iss-screener td {
  border-bottom: 1px solid var(--iss-line);
  padding: 13px 14px;
  text-align: left;
  white-space: nowrap;
}

.iss-screener th {
  background: var(--iss-soft);
  color: var(--iss-muted);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.iss-screener th:first-child {
  text-align: center;
}

.iss-screener td {
  color: var(--iss-text);
  font-size: 14px;
  font-weight: 760;
}

.iss-screener td:not(:first-child) {
  text-align: center;
}

.iss-screener th:nth-child(2),
.iss-screener th:nth-child(3),
.iss-screener th:nth-child(4),
.iss-screener td:nth-child(2),
.iss-screener td:nth-child(3),
.iss-screener td:nth-child(4) {
  text-align: center;
}

.iss-screener tbody tr:hover {
  background: #fbfdfc;
}

.iss-screener tbody tr.iss-row-intersection {
  background: #fffaf0;
}

.iss-screener td strong {
  display: block;
}

.iss-screener td span {
  color: var(--iss-faint);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.iss-flag {
  align-items: center;
  background: var(--iss-soft);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  color: #8b9793;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  line-height: 32px;
  margin: 0 auto !important;
  min-width: 0;
  padding: 1px 0 0;
  text-align: center;
  vertical-align: middle;
  width: 32px;
}

.iss-flag.is-active {
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.iss-flag-A.is-active {
  background: var(--iss-red);
}

.iss-flag-B.is-active {
  background: var(--iss-green);
}

.iss-flag-C.is-active {
  background: var(--iss-blue);
}

.iss-empty {
  color: var(--iss-muted);
  padding: 32px !important;
  text-align: center !important;
}

.iss-content {
  display: grid;
  gap: 14px;
  line-height: 1.65;
  padding: 18px;
}

.iss-content > p {
  color: var(--iss-muted);
  margin: 0;
}

.iss-note-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.iss-note-grid article {
  background: var(--iss-soft);
  border: 1px solid var(--iss-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 13px;
}

.iss-note-grid strong {
  color: var(--iss-green-dark);
}

.iss-note-grid span {
  color: var(--iss-muted);
  font-size: 13px;
}

.iss-ad {
  padding: 18px;
}

.iss-ad ins {
  display: block;
  min-height: 100px;
}

@media (max-width: 1020px) {
  .iss-layout {
    grid-template-columns: 1fr;
  }

  .iss-rail {
    border-right: 0;
    border-bottom: 1px solid var(--iss-line);
    grid-template-columns: 1fr;
  }

  .iss-snapshot-card {
    align-self: auto;
  }
}

@container (max-width: 980px) {
  .iss-layout {
    grid-template-columns: 1fr;
  }

  .iss-rail {
    border-right: 0;
    border-bottom: 1px solid var(--iss-line);
    grid-template-columns: 1fr;
  }

  .iss-snapshot-card {
    align-self: auto;
  }

  .iss-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .iss-layout {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .iss-main,
  .iss-rail {
    padding: 16px 12px;
  }

  .iss-header {
    display: grid;
  }

  .iss-header h2 {
    font-size: 23px;
  }

  .iss-toolbar,
  .iss-toolbar label,
  .iss-toolbar > span {
    align-items: stretch;
    display: grid;
    width: 100%;
  }

  .iss-metrics,
  .iss-note-grid {
    grid-template-columns: 1fr;
  }

  .iss-table-wrap {
    overflow: visible;
  }

  .iss-screener table,
  .iss-screener tbody,
  .iss-screener tr,
  .iss-screener td {
    display: block;
    min-width: 0;
  }

  .iss-screener thead {
    display: none;
  }

  .iss-screener tbody {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .iss-screener tr {
    background: var(--iss-surface);
    border: 1px solid var(--iss-line);
    border-radius: 8px;
    padding: 12px;
  }

  .iss-screener td {
    align-items: center;
    border: 0;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    text-align: right !important;
    white-space: normal;
  }

  .iss-screener td::before {
    color: var(--iss-muted);
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 950;
    margin-right: 12px;
  }

  .iss-screener td:first-child {
    display: block;
    text-align: left !important;
  }

  .iss-screener td:first-child::before {
    display: none;
  }
}

@container (max-width: 720px) {
  .iss-layout {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .iss-main,
  .iss-rail {
    padding: 16px 12px;
  }

  .iss-header {
    display: grid;
  }

  .iss-header h2 {
    font-size: 23px;
  }

  .iss-toolbar,
  .iss-toolbar label,
  .iss-toolbar > span {
    align-items: stretch;
    display: grid;
    width: 100%;
  }

  .iss-metrics,
  .iss-note-grid {
    grid-template-columns: 1fr;
  }

  .iss-table-wrap {
    overflow: visible;
  }

  .iss-screener table,
  .iss-screener tbody,
  .iss-screener tr,
  .iss-screener td {
    display: block;
    min-width: 0;
  }

  .iss-screener thead {
    display: none;
  }

  .iss-screener tbody {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .iss-screener tr {
    background: var(--iss-surface);
    border: 1px solid var(--iss-line);
    border-radius: 8px;
    padding: 12px;
  }

  .iss-screener td {
    align-items: center;
    border: 0;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    text-align: right !important;
    white-space: normal;
  }

  .iss-screener td::before {
    color: var(--iss-muted);
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 950;
    margin-right: 12px;
  }

  .iss-screener td:first-child {
    display: block;
    text-align: left !important;
  }

  .iss-screener td:first-child::before {
    display: none;
  }
}

@container (max-width: 1220px) {
  .iss-layout {
    grid-template-columns: 1fr;
  }

  .iss-rail {
    align-items: stretch;
    border-right: 0;
    border-bottom: 1px solid var(--iss-line);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .iss-brand,
  .iss-search-card,
  .iss-rail-section,
  .iss-snapshot-card {
    min-width: 0;
  }

  .iss-brand,
  .iss-search-card {
    grid-column: span 2;
  }

  .iss-snapshot-card {
    align-self: stretch;
  }

  .iss-condition-item,
  .iss-summary-list div {
    min-height: 38px;
  }
}

@container (max-width: 900px) {
  .iss-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iss-brand,
  .iss-search-card {
    grid-column: 1 / -1;
  }

  .iss-main {
    padding: 20px 16px;
  }

  .iss-header,
  .iss-panel-head {
    align-items: stretch;
    display: grid;
  }

  .iss-header h2 {
    font-size: 24px;
  }

  .iss-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iss-toolbar label,
  .iss-toolbar > span {
    align-items: stretch;
    display: grid;
    width: 100%;
  }

  .iss-toolbar > span {
    grid-column: 1 / -1;
  }

  .iss-table-wrap {
    overflow: visible;
  }

  .iss-screener table,
  .iss-screener tbody,
  .iss-screener tr,
  .iss-screener td {
    display: block;
    min-width: 0;
  }

  .iss-screener table {
    min-width: 0;
  }

  .iss-screener thead {
    display: none;
  }

  .iss-screener tbody {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .iss-screener tr {
    background: var(--iss-surface);
    border: 1px solid var(--iss-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(21, 36, 32, 0.05);
    padding: 13px;
  }

  .iss-screener td {
    align-items: center;
    border: 0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 6px 0;
    text-align: right !important;
    white-space: normal;
  }

  .iss-screener td::before {
    color: var(--iss-muted);
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 950;
    margin-right: 12px;
  }

  .iss-screener td:first-child {
    display: block;
    padding-bottom: 4px;
    text-align: left !important;
  }

  .iss-screener td:first-child::before {
    display: none;
  }
}

@container (max-width: 640px) {
  .iss-rail,
  .iss-toolbar,
  .iss-metrics,
  .iss-note-grid {
    grid-template-columns: 1fr;
  }

  .iss-layout {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .iss-main,
  .iss-rail {
    padding: 15px 12px;
  }

  .iss-header h2 {
    font-size: 22px;
  }

  .iss-metrics strong {
    font-size: 26px;
  }

  .iss-screener tbody {
    padding: 10px;
  }

  .iss-screener tr {
    padding: 12px;
  }
}

.iss-screener th,
.iss-screener td,
.iss-screener td:first-child,
.iss-screener td[data-label="종목"],
.iss-screener td[data-label="현재가"],
.iss-screener td[data-label="250일 고가"],
.iss-screener td[data-label="대량체결 상위"],
.iss-screener td[data-label="거래대금 상위"] {
  text-align: center !important;
}

.iss-screener td[data-label="종목"] strong,
.iss-screener td[data-label="종목"] span {
  text-align: center;
}

.iss-screener td[data-label="현재가"] {
  font-weight: 850;
}
