/* 실제 서비스 화면 전용 스타일 (npm start 백엔드 모드와 관리자 대시보드).
   app.css 바로 다음에 불러오며 같은 우선순위로 app.css의 예전 시연 규칙을 덮어쓴다.
   2026-11-13 app.css에서 분리했다. 규칙 순서는 그대로 유지했다. */

/* ===== backend.css ===== */
.be-live-bar {
  background: #f2f4f6 !important;
  color: #484d54 !important;
}
.be-live-bar > span:first-child {
  font-weight: 800;
  letter-spacing: 1px;
}
.be-hero {
  padding: 40px;
  background: #f2f4f6;
  margin-bottom: 28px;
}
.be-hero h1 {
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: -1.5px;
  margin: 20px 0 14px;
}
.be-hero p {
  color: #666d78;
  line-height: 1.8;
}
.be-hero .primary {
  display: inline-flex;
  margin-top: 16px;
}
.be-index-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.be-post-card {
  padding: 26px;
  margin-bottom: 14px;
}
.be-post-card h3 {
  font-size: 21px;
  line-height: 1.6;
  margin: 14px 0 10px;
  overflow-wrap: anywhere;
}
.be-post-card > p {
  color: #6d7580;
  line-height: 1.8;
  font-size: 17px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.be-challenge {
  background: #0f7a66;
  color: white !important;
  padding: 26px !important;
}
.be-challenge h3 {
  font-size: 25px;
  line-height: 1.5;
}
.be-challenge p {
  color: #f2f4f6;
  line-height: 1.8;
}
.be-challenge .eyebrow {
  color: #e3e6ea;
}
.be-challenge small {
  line-height: 1.8;
  color: #e3e6ea;
  display: block;
}
.be-challenge .primary {
  background: #fff;
  color: #0f7a66;
  margin-top: 22px;
}
.be-side-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
}
.be-account-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.be-asset-price {
  font-size: 34px;
  font-weight: 800;
  margin: 24px 0 12px;
}
.be-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 26px 0;
}
.be-pick-tile {
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.be-pick-tile:hover {
  border-color: #94b9ef;
  transform: translateY(-1px);
}
.be-pick-tile .stock-price {
  margin: 18px 0 10px;
}
.be-round-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 6px;
  padding: 20px;
  background: #f2f4f6;
  margin-bottom: 22px;
  font-size: 17px;
  color: #4e535b;
}
.be-round-note small {
  line-height: 1.8;
}
.be-directions {
  display: flex;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 8px 0;
}
.be-directions legend {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.be-directions label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  padding: 20px;
  background: #f7f8fa;
}
.be-directions label:has(input:checked) {
  border-color: #0f7a66;
  color: #0f7a66;
  background: #f2f4f6;
}
.be-directions input {
  width: 18px;
  height: 18px;
}
.be-long-input {
  min-height: 220px !important;
}
.be-code-input {
  min-height: 220px !important;
  font-family: monospace !important;
  font-size: 16px !important;
}
.be-space-after {
  margin-bottom: 22px;
}
.be-calc-result {
  padding: 30px;
  border-radius: 6px;
  background: #f2f4f6;
  color: #0f7a66;
  margin-bottom: 20px;
}
.be-calc-result strong {
  display: block;
  font-size: 38px;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.be-calc-result p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.be-calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.be-calc-row label {
  min-width: 0;
}
.be-calc-row input {
  margin-top: 10px;
}
.be-calc-row .form-error {
  grid-column: 1/-1;
}
.be-live-bar ~ header .notification[hidden] {
  display: none !important;
}
[id^="be-section-"] {
  scroll-margin-top: 120px;
}
.be-post-card .cm-tags {
  margin-top: 16px;
}
.be-account-menu a {
  text-align: center;
}
.be-live-bar ~ .layout .stock-tile {
  min-width: 0;
}
.be-live-bar ~ .layout .op-tabs {
  max-width: 100%;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
@media (max-width: 700px) {
  .be-hero {
    padding: 28px;
  }
  .be-hero h1 {
    font-size: 31px;
  }
  .be-post-card {
    padding: 22px;
  }
  .be-post-card h3 {
    font-size: 20px;
  }
  .be-index-grid {
    grid-template-columns: 1fr;
  }
  .be-live-bar > span:nth-child(2) {
    display: none;
  }
  .be-round-note {
    font-size: 16px;
  }
  .be-live-bar ~ .layout .op-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .be-calc-result {
    padding: 24px;
  }
  .be-asset-price {
    font-size: 31px;
  }
  .be-live-bar ~ .layout .predict-summary {
    grid-template-columns: 1fr;
  }
  .be-live-bar ~ .layout .profile-hero {
    flex-wrap: wrap;
  }
  .be-live-bar ~ .layout .article h1 {
    font-size: 26px;
    overflow-wrap: anywhere;
  }
  .be-live-bar ~ .layout .op-row {
    flex-wrap: wrap;
  }
  .be-calc-result strong {
    font-size: 32px;
  }
  .be-live-bar ~ .layout .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .be-live-bar ~ .layout .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .be-live-bar ~ .layout .stock-tile .asset-line {
    gap: 8px;
  }
  .be-live-bar ~ .layout .stock-tile .asset-line b {
    font-size: 16px;
  }
  .be-live-bar ~ .layout .stock-price strong {
    font-size: 19px;
  }
}
.be-quote-note {
  display: inline-block;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.be-quote-note a {
  color: #0f7a66;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.be-market-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.be-market-list .op-panel {
  margin: 0;
  min-width: 0;
}
.be-market-list h3 {
  margin: 0;
  font-size: 19px;
}
.be-market-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 10px;
}
.be-market-price strong {
  font-size: 25px;
  overflow-wrap: anywhere;
}
.be-market-summary p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.be-market-settings {
  padding: 16px 20px;
  margin-top: 20px;
  border-radius: 6px;
  background: #f7f8fa;
}
.be-live-bar ~ .layout .stock-tile small {
  display: block;
  line-height: 1.7;
}
.be-live-bar ~ header ~ .ticker a {
  display: inline-flex;
  gap: 10px;
}
.be-market-list .asset-line {
  min-width: 0;
}
.be-market-list .asset-line > div {
  min-width: 0;
}
@media (max-width: 700px) {
  .be-market-list {
    grid-template-columns: 1fr;
  }
  .be-market-price strong {
    font-size: 24px;
  }
  .be-market-settings {
    padding: 12px;
  }
  .be-live-bar ~ .layout .stock-price strong {
    overflow-wrap: anywhere;
  }
}

/* ===== admin.css ===== */
/* Administration has its own shell; member pages keep the existing layout. */
.adm-member-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.adm-member-search {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 620px;
}
.adm-member-search > div {
  flex: 1;
  min-width: 0;
}
.adm-member-search label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #6a727d;
  margin-bottom: 9px;
}
.adm-member-search .field {
  width: 100%;
  min-width: 0;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  background: #f7f8fa;
  padding: 11px 13px;
  font-size: 16px;
  line-height: 1.5;
}
.adm-member-search .primary,
.adm-member-search .adm-button {
  flex-shrink: 0;
  min-height: 43px;
}
.adm-member-person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 165px;
}
.adm-member-person > div {
  min-width: 0;
}
.adm-member-person b,
.adm-member-person small {
  overflow-wrap: anywhere;
}
.adm-member-person .adm-avatar {
  font-size: 16px;
}
.adm-member-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid #f2f4f6;
  padding-top: 19px;
  color: #989fa8;
  font-size: 14px;
}
.adm-member-pagination > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.adm-member-pagination b {
  font-size: 14px;
  color: #78808c;
  font-weight: 500;
}
.be-admin-mode .adm-member-pagination button:disabled {
  cursor: default;
  opacity: 0.45;
}
.be-admin-mode .secondary.adm-danger {
  color: #bc4e51;
  border-color: #efd8db;
  background: #fff9fa;
}
.be-admin-mode .secondary.adm-danger:hover {
  background: #ffeff1;
}
.be-admin-mode .primary.adm-danger-fill {
  background: #c94d54;
  border-color: #c94d54;
}
.be-admin-mode .primary.adm-danger-fill:hover {
  background: #b43e46;
}
.adm-text-button {
  padding: 0;
  background: none;
  color: #0f7a66;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.adm-member-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f7f8fa;
  border: 1px solid #f2f4f6;
  border-radius: 6px;
}
.adm-member-preview > b {
  font-size: 18px;
  color: #40444b;
}
.adm-member-preview > span:not(.adm-pill) {
  font-size: 15px;
  color: #8c939d;
}
.adm-member-preview .adm-pill {
  margin-left: auto;
}
.adm-member-explanation {
  font-size: 16px;
  line-height: 1.9;
  color: #707884;
  margin: 8px 0;
}
.adm-member-previous {
  font-size: 15px;
  color: #888f99;
}
.adm-member-previous summary {
  cursor: pointer;
}
.adm-member-previous p {
  padding: 12px;
  background: #f7f8fa;
  border-radius: 6px;
}
.adm-member-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.adm-member-table td {
  vertical-align: middle;
}
@media (max-width: 640px) {
  .adm-member-metrics .adm-metric {
    padding: 15px 12px;
  }
  .adm-member-metrics .adm-metric-icon {
    display: none;
  }
  .adm-member-metrics .adm-metric-head {
    font-size: 14px;
  }
  .adm-member-metrics .adm-metric strong {
    font-size: 26px;
  }
  .adm-member-metrics .adm-metric p {
    font-size: 13px;
  }
  .adm-member-metrics .adm-metric strong small {
    font-size: 14px;
  }
  .adm-member-search {
    flex-wrap: wrap;
    gap: 8px;
  }
  .adm-member-search .field {
    font-size: 19px;
  }
  .adm-member-search .primary {
    padding: 11px 14px;
  }
  .adm-member-pagination {
    gap: 8px;
    flex-wrap: wrap;
  }
  .adm-member-pagination > div {
    gap: 10px;
    margin-left: auto;
  }
}
.be-admin-frame[hidden] {
  display: none !important;
}
body.be-admin-mode {
  background: #f7f8fa;
  color: #111418;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  padding-bottom: 0;
}
.be-admin-mode > .demo-bar,
.be-admin-mode > header,
.be-admin-mode > #ticker,
.be-admin-mode > footer,
.be-admin-mode > #mobileNav,
.be-admin-mode #sidebar {
  display: none !important;
}
.be-admin-mode > .layout {
  display: block;
  max-width: none;
  width: auto;
  margin: 0 0 0 228px;
  padding: 108px 32px 40px;
  gap: 0;
}
.be-admin-mode #app {
  width: 100%;
  min-width: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.be-admin-mode :is(h1, h2, h3, p) {
  overflow-wrap: anywhere;
}
.be-admin-mode a {
  text-decoration: none;
}
.be-admin-mode :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid #90baff;
  outline-offset: 3px;
}
.adm-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adm-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  padding: 30px 18px 18px;
  background: #fff;
  border-right: 1px solid #e3e6ea;
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.adm-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 32px;
  color: #111418;
}
.adm-brand .brand-symbol {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 6px;
  background: #0f7a66;
  color: white;
  font-size: 27px;
  box-shadow: none;
}
.adm-brand strong {
  font-size: 21px;
  letter-spacing: -0.6px;
  display: block;
}
.adm-brand small {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: #8a919c;
  display: block;
  margin-top: 5px;
}
.adm-nav-label {
  font-size: 14px;
  font-weight: 650;
  color: #999fa8;
  letter-spacing: 0.6px;
  padding: 0 16px;
  margin: 8px 0 14px;
}
.adm-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.adm-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #676e79;
  font-size: 17px;
  font-weight: 550;
  padding: 13px 15px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}
.adm-nav a:hover {
  background: #f7f8fa;
  color: #373b40;
}
.adm-nav a[aria-current] {
  background: #e7f3f0;
  color: #0f7a66;
  font-weight: 750;
}
.adm-nav a[aria-current]::after {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-left: auto;
}
.adm-sidebar-bottom {
  margin-top: auto;
  padding: 20px 12px 0;
  border-top: 1px solid #f2f4f6;
}
.adm-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
}
.adm-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #f2f4f6;
  color: #585f68;
  font-weight: 700;
  flex-shrink: 0;
}
.adm-user > div {
  min-width: 0;
}
.adm-user b {
  display: block;
  overflow-wrap: anywhere;
}
.adm-user small {
  display: block;
  color: #949ba4;
  font-size: 14px;
  margin-top: 3px;
}
.adm-logout {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
  color: #868e98;
  padding: 5px 0;
  font-size: 15px;
}
.adm-topbar {
  position: fixed;
  inset: 0 0 auto 228px;
  height: 76px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e3e6ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 35;
}
.adm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #9aa0a9;
}
.adm-breadcrumb b {
  font-weight: 600;
  color: #4f545c;
}
.adm-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.adm-access {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #858d97;
}
.adm-access .adm-icon {
  width: 14px;
  height: 14px;
}
.adm-member-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a4f57;
  font-size: 15px;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  padding: 9px 12px;
  background: #fff;
}
.adm-member-link .adm-icon {
  width: 15px;
  height: 15px;
}
.adm-skip {
  position: fixed;
  top: -100px;
  left: 245px;
  z-index: 100;
  padding: 12px;
  background: #0f7a66;
  color: #fff;
}
.adm-skip:focus {
  top: 10px;
}
.adm-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 26px;
}
.adm-heading h1 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 0 0 10px;
  font-weight: 750;
  line-height: 1.3;
}
.adm-heading p {
  font-size: 16px;
  color: #888f99;
  margin: 0;
  line-height: 1.7;
}
.adm-heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.be-admin-mode .adm-button,
.be-admin-mode .primary,
.be-admin-mode .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  min-height: 38px;
  font-weight: 650;
  box-shadow: none;
  letter-spacing: 0;
  transition: background 0.15s;
}
.be-admin-mode .adm-button,
.be-admin-mode .secondary {
  background: #fff;
  border: 1px solid #e3e6ea;
  color: #575d66;
}
.be-admin-mode .primary {
  background: #0f7a66;
  color: #fff;
  border: 1px solid #0f7a66;
}
.be-admin-mode .adm-button:hover,
.be-admin-mode .secondary:hover {
  background: #f7f8fa;
}
.be-admin-mode .primary:hover {
  background: #0f7a66;
}
.be-admin-mode .adm-button .adm-icon {
  width: 15px;
  height: 15px;
}
.adm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.adm-metric,
.adm-panel {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  box-shadow: none;
  min-width: 0;
}
.adm-metric {
  padding: 21px 23px;
}
.adm-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7d8590;
  font-size: 15px;
  font-weight: 550;
}
.adm-metric-icon {
  display: grid;
  place-items: center;
  color: #0f7a66;
  background: #f2f4f6;
  border-radius: 6px;
  width: 33px;
  height: 33px;
}
.adm-metric-icon.amber {
  color: #bf8627;
  background: #fff8e9;
}
.adm-metric-icon.mint {
  color: #36917c;
  background: #ebf8f3;
}
.adm-metric-icon.violet {
  color: #8b78c4;
  background: #f4f0ff;
}
.adm-metric strong {
  display: block;
  font-size: 33px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 13px 0 8px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.adm-metric strong small {
  font-size: 17px;
  color: #8b929c;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 5px;
}
.adm-metric p {
  font-size: 14px;
  line-height: 1.6;
  color: #8d949e;
  margin: 0;
}
.adm-attention {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  background: #f2f4f6;
  border: 1px solid #f2f4f6;
  border-radius: 6px;
  margin-bottom: 22px;
  color: #0f7a66;
  font-size: 15px;
  line-height: 1.7;
}
.adm-attention > div {
  flex: 1;
}
.adm-attention b {
  color: #0f7a66;
}
.adm-attention a {
  color: #0f7a66;
  font-weight: 650;
  flex-shrink: 0;
}
.adm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
  align-items: stretch;
}
.adm-panel {
  padding: 23px 24px;
}
.adm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.adm-panel-head h2 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.3px;
  font-weight: 700;
}
.adm-panel-head p {
  font-size: 14px;
  color: #99a0a8;
  margin: 6px 0 0;
}
.adm-panel-head > a {
  font-size: 14px;
  color: #888f99;
  white-space: nowrap;
}
.adm-panel-head > a:hover {
  color: #0f7a66;
}
.adm-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 5px 8px;
  line-height: 1.3;
  background: #f2f4f6;
  color: #818994;
  white-space: nowrap;
}
.adm-pill.blue {
  background: #f2f4f6;
  color: #0f7a66;
}
.adm-pill.amber {
  background: #fff5df;
  color: #ab781f;
}
.adm-pill.green {
  background: #eaf8f0;
  color: #3a9673;
}
.adm-chart-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.adm-chart-total {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.adm-chart-total small {
  font-size: 15px;
  color: #9198a1;
  font-weight: 400;
  margin-left: 5px;
}
.adm-legend {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-size: 13px;
  color: #8a919c;
}
.adm-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #0f7a66;
  margin-right: 5px;
}
.adm-legend span + span::before {
  background: #e3e6ea;
}
.adm-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  height: 155px;
  gap: 16px;
  padding-top: 6px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 39px,
    #f2f4f6 39px,
    #f2f4f6 40px
  );
  border-bottom: 1px solid #f2f4f6;
}
.adm-bar-col {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.adm-bar-value {
  font-size: 13px;
  color: #888f9a;
}
.adm-bar-stack {
  width: min(32px, 80%);
  height: var(--bar-size);
  min-height: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  background: #f2f4f6;
}
.adm-bar-stack > span:first-child {
  background: #e3e6ea;
  height: var(--comment-size);
}
.adm-bar-stack > span + span {
  background: #0f7a66;
  flex: 1;
}
.adm-bar-labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
  color: #979ea7;
  font-size: 13px;
  margin-top: 11px;
}
.adm-bar-labels b {
  font-weight: 650;
  color: #0f7a66;
}
.adm-connection {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.adm-connection-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbced3;
  box-shadow: 0 0 0 5px #f2f4f6;
  margin: 5px;
}
.adm-connection-dot.ready {
  background: #42b18a;
  box-shadow: 0 0 0 5px #edf9f4;
}
.adm-connection b {
  font-size: 19px;
  letter-spacing: -0.4px;
}
.adm-connection p {
  font-size: 14px;
  color: #989fa8;
  margin: 5px 0 0;
}
.adm-keyvalues {
  margin: 0;
}
.adm-keyvalues > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 15px;
  padding: 10px 0;
}
.adm-keyvalues dt {
  color: #8e959f;
}
.adm-keyvalues dd {
  margin: 0;
  text-align: right;
  color: #4a4f57;
  overflow-wrap: anywhere;
}
.adm-keyvalues dd b {
  font-variant-numeric: tabular-nums;
}
.adm-progress {
  height: 5px;
  background: #f2f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin: 9px 0;
}
.adm-progress > span {
  display: block;
  height: 100%;
  background: #5b95ec;
  border-radius: 4px;
}
.adm-note {
  font-size: 14px;
  color: #999fa8;
  line-height: 1.75;
  margin: 9px 0 0;
}
.adm-panel .adm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f7a66;
  font-size: 15px;
  font-weight: 600;
  margin-top: 17px;
}
.adm-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 15px;
  color: #9ca2ab;
  font-size: 15px;
  text-align: center;
  line-height: 1.7;
}
.adm-empty .adm-icon {
  width: 28px;
  height: 28px;
  color: #c3c7cc;
  margin-bottom: 4px;
}
.adm-empty b {
  font-size: 16px;
  color: #737c87;
  font-weight: 600;
}
.adm-empty p {
  margin: 0;
  font-size: 14px;
}
.adm-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 6px;
}
.adm-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
}
.adm-table th {
  font-size: 13px;
  letter-spacing: 0.2px;
  color: #9ba1aa;
  text-align: left;
  padding: 11px 14px;
  background: #f7f8fa;
  border-bottom: 1px solid #f2f4f6;
  font-weight: 550;
  white-space: nowrap;
}
.adm-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #f2f4f6;
  color: #707883;
  vertical-align: middle;
}
.adm-table tr:last-child td {
  border-bottom: 0;
}
.adm-table td b {
  font-weight: 600;
  color: #4c5159;
}
.adm-table .adm-cell-title {
  max-width: 310px;
  min-width: 180px;
  overflow-wrap: anywhere;
}
.adm-table small {
  display: block;
  font-size: 13px;
  color: #9ca2aa;
  margin-top: 4px;
}
.adm-table .secondary {
  padding: 6px 10px;
  min-height: 30px;
  font-size: 14px;
  white-space: nowrap;
}
.adm-table .adm-nowrap {
  white-space: nowrap;
}
.adm-table-scroll {
  max-height: 330px;
  overflow: auto;
}
.adm-table-scroll th {
  position: sticky;
  top: 0;
}
.adm-table .be-quote-note {
  font-size: 13px;
  min-width: 180px;
}
.adm-round-title {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 12px 0 15px;
}
.adm-round-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 20px 0 12px;
}
.adm-round-count strong {
  font-size: 29px;
  letter-spacing: -0.7px;
}
.adm-round-count span {
  font-size: 14px;
  color: #9aa0a9;
}
.adm-audit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}
.adm-audit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f2f4f6;
  min-width: 0;
}
.adm-audit-item > .adm-icon {
  width: 16px;
  height: 16px;
  color: #abb0b7;
  margin-top: 3px;
}
.adm-audit-item > div {
  min-width: 0;
}
.adm-audit-item b {
  font-size: 15px;
  font-weight: 600;
  color: #5b626b;
}
.adm-audit-item p {
  margin: 6px 0;
  font-size: 14px;
  color: #9198a1;
  line-height: 1.65;
}
.adm-audit-item small {
  font-size: 13px;
  color: #a2a8b0;
}
.adm-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.adm-filter a {
  padding: 8px 14px;
  border-radius: 6px;
  background: white;
  border: 1px solid #e3e6ea;
  font-size: 15px;
  color: #8d949e;
}
.adm-filter a[aria-current] {
  background: #e7f3f0;
  border-color: #e3e6ea;
  color: #0f7a66;
  font-weight: 650;
}
.adm-filter span {
  font-size: 14px;
  color: #9ca2ab;
  margin-left: auto;
}
.adm-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.adm-content-grid .adm-panel {
  margin: 0;
}
.adm-content-card h2 {
  font-size: 19px;
  margin: 16px 0 10px;
}
.adm-content-card .op-body {
  font-size: 15px;
  color: #868d98;
  max-height: 180px;
  overflow: auto;
}
.adm-card-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.adm-card-foot small {
  font-size: 14px;
  color: #999fa8;
}
.adm-quote-details {
  margin-top: 22px;
}
.adm-quote-details summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  padding: 2px 0;
}
.adm-quote-details[open] summary {
  margin-bottom: 22px;
}
.adm-quote-details .asset-line img,
.adm-quote-details .asset-logo {
  width: 28px;
  height: 28px;
}
.adm-quote-details .asset-line b {
  font-size: 15px;
}
.adm-quote-details .asset-line {
  min-width: 190px;
}
.be-admin-mode .op-panel.card {
  border-radius: 6px;
  border: 1px solid #e3e6ea;
  box-shadow: none;
}
.be-admin-mode .op-panel.card:hover {
  transform: none;
  box-shadow: none;
}
.be-admin-mode .op-empty {
  border-radius: 6px;
  border: 1px solid #e3e6ea;
  box-shadow: none;
}
.be-admin-mode dialog {
  max-width: 600px;
}
.be-admin-mode .modal-head h2 {
  font-size: 22px;
}
.be-admin-mode .op-form label {
  font-size: 16px;
}
.be-admin-mode .op-form .field {
  border-radius: 6px;
  background: #f7f8fa;
}
@media (min-width: 1600px) {
  .be-admin-mode > .layout {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 1150px) {
  .adm-metrics {
    gap: 12px;
  }
  .adm-metric {
    padding: 18px;
  }
  .adm-metric strong {
    font-size: 30px;
  }
  .adm-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 16px;
  }
  .adm-panel {
    padding: 20px;
  }
  .be-admin-mode > .layout {
    padding-left: 24px;
    padding-right: 24px;
  }
  .adm-heading h1 {
    font-size: 27px;
  }
}
@media (max-width: 900px) {
  .adm-sidebar {
    width: 196px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .adm-topbar {
    left: 196px;
    padding: 0 24px;
  }
  .be-admin-mode > .layout {
    margin-left: 196px;
  }
  .adm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-grid {
    grid-template-columns: 1fr;
  }
  .adm-content-grid {
    grid-template-columns: 1fr;
  }
  .adm-access {
    display: none;
  }
}
@media (max-width: 640px) {
  .adm-sidebar {
    position: static;
    width: 100%;
    padding: 18px 16px 0;
    border-right: 0;
    border-bottom: 1px solid #e3e6ea;
  }
  .adm-brand {
    padding: 0 0 17px;
  }
  .adm-brand strong {
    font-size: 19px;
  }
  .adm-brand small {
    font-size: 13px;
  }
  .adm-brand .brand-symbol {
    width: 33px;
    height: 33px;
    font-size: 25px;
  }
  .adm-nav-label,
  .adm-sidebar-bottom {
    display: none;
  }
  .adm-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 12px;
  }
  .adm-nav a {
    padding: 10px 12px;
    font-size: 15px;
    gap: 7px;
  }
  .adm-nav .adm-icon {
    width: 16px;
    height: 16px;
  }
  .adm-nav a[aria-current]::after {
    display: none;
  }
  .adm-topbar {
    position: static;
    height: auto;
    min-height: 52px;
    padding: 10px 18px;
    gap: 12px;
  }
  .adm-breadcrumb {
    font-size: 14px;
    gap: 8px;
  }
  .adm-member-link {
    font-size: 13px;
    padding: 7px 9px;
  }
  .be-admin-mode > .layout {
    margin-left: 0;
    padding: 24px 16px 30px;
  }
  .adm-heading {
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .adm-heading h1 {
    font-size: 25px;
    margin-bottom: 8px;
  }
  .adm-heading p {
    font-size: 14px;
  }
  .adm-heading-actions {
    flex-shrink: 1;
  }
  .be-admin-mode .adm-heading .adm-button {
    font-size: 0;
    padding: 9px;
  }
  .adm-heading-actions .primary {
    font-size: 14px;
    padding: 9px;
    white-space: nowrap;
  }
  .adm-metrics {
    gap: 10px;
    margin-bottom: 16px;
  }
  .adm-metric {
    padding: 15px;
  }
  .adm-metric-head {
    font-size: 14px;
  }
  .adm-metric-icon {
    width: 27px;
    height: 27px;
  }
  .adm-metric-icon .adm-icon {
    width: 16px;
    height: 16px;
  }
  .adm-metric strong {
    font-size: 29px;
    margin: 10px 0 6px;
  }
  .adm-metric p {
    font-size: 13px;
  }
  .adm-attention {
    padding: 13px 15px;
    font-size: 14px;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
  }
  .adm-attention > a {
    font-size: 13px;
  }
  .adm-panel {
    padding: 19px 17px;
  }
  .adm-panel-head {
    margin-bottom: 20px;
  }
  .adm-panel-head h2 {
    font-size: 17px;
  }
  .adm-grid {
    gap: 16px;
    margin-bottom: 16px;
  }
  .adm-audit-list {
    grid-template-columns: 1fr;
  }
  .adm-chart-total {
    font-size: 25px;
  }
  .adm-bars,
  .adm-bar-labels {
    gap: 10px;
  }
  .adm-bars {
    height: 140px;
  }
  .adm-filter {
    gap: 5px;
  }
  .adm-filter a {
    font-size: 14px;
    padding: 7px 10px;
  }
  .adm-filter span {
    width: 100%;
    margin-top: 5px;
  }
  .adm-table td {
    padding: 12px 10px;
  }
  .adm-table th {
    padding: 10px;
  }
  .adm-skip {
    left: 10px;
  }
  .adm-top-actions {
    gap: 8px;
  }
}
/* 회원 상세·기간제 정지·금지 문구 (2026-11-12) */
.adm-member-name {
  color: inherit;
  text-decoration: none;
}
.adm-member-name:hover b,
.adm-member-name:hover {
  color: #0f7a66;
  text-decoration: underline;
}
.adm-notice-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.adm-period {
  border: 1px solid #f2f4f6;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.adm-period legend {
  font-size: 15px;
  font-weight: 600;
  padding: 0 4px;
}
.adm-period label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  margin: 0;
}
.adm-heading-actions .adm-pill {
  align-self: center;
}
.adm-grid .adm-audit-list {
  grid-template-columns: 1fr;
}
.adm-term-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adm-price-set {
  border: 1px solid #f2f4f6;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.adm-price-set legend {
  font-weight: 600;
  font-size: 16px;
  padding: 0 4px;
}
.adm-price-set legend small {
  font-weight: 400;
  color: #707883;
}
.adm-price-set label {
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.adm-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.adm-break {
  word-break: break-all;
  min-width: 120px;
}

/* API screen layout: keep these rules separate from the static demo markup. */
body.be-app {
  min-width: 0;
}
.be-app .be-hero {
  display: block;
  min-height: 0;
  padding: 36px 40px;
}
.be-app .be-hero .eyebrow {
  max-width: 100%;
  line-height: 1.6;
}
.be-app .be-hero h1 {
  margin: 18px 0 14px;
  font-size: 38px;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.be-app .be-hero p {
  margin: 0;
  word-break: keep-all;
}
.be-app .be-hero .primary {
  margin-top: 24px;
}
.be-app .be-round-note {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.be-app :is(.primary, .secondary, .text-link) {
  word-break: keep-all;
}
.be-app .section-head {
  gap: 12px 20px;
  flex-wrap: wrap;
  margin: 32px 0 16px;
}
.be-app .section-head h2 {
  margin: 0;
  word-break: keep-all;
}
.be-app .section-head > :is(a, button) {
  flex-shrink: 0;
}
.be-app :is(.op-heading, .op-panel, .profile-hero) :is(h1, h2, h3, p) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.be-app :is(.op-panel, .profile-hero, .stats-grid > *, .predict-summary > *) {
  min-width: 0;
}
.be-app .op-settings-grid {
  align-items: stretch;
}
.be-app .op-settings-grid > .op-panel {
  margin: 0;
}
.be-app .op-settings-grid + .op-panel {
  margin-top: 24px;
}
.be-app .predict-summary {
  align-items: stretch;
  gap: 16px;
}
.be-app .predict-summary > .op-panel {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.be-app .predict-summary h2 {
  margin: 12px 0 8px;
}
.be-app .predict-summary p {
  margin: 0 0 20px;
}
.be-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: auto;
}
.be-app #be-asset-search {
  margin-bottom: 20px;
}
.be-app .stock-grid {
  gap: 16px;
}
.be-app .stock-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
  min-width: 0;
  text-align: left;
}
.be-app .stock-tile .asset-line {
  min-height: 66px;
  align-items: center;
}
.be-app .asset-line > div {
  min-width: 0;
}
.be-app .stock-tile .asset-line b {
  display: block;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.be-app .stock-tile .asset-line small {
  margin-top: 4px;
}
.be-app .stock-tile .stock-price {
  display: block;
  margin: 20px 0 6px;
}
.be-app .stock-tile .stock-price strong {
  font-size: 23px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
/* A quote inside <strong> is a price, not the small percentage label. */
.be-app .stock-price strong > [data-quote-price] {
  font: inherit;
  letter-spacing: inherit;
}
.be-app .stock-tile > small:last-child {
  padding-top: 14px;
  margin-top: auto;
}
.be-app .stock-tile .be-quote-note {
  font-size: 14px;
}
.be-app .be-pick-tile > small {
  color: var(--on-surface-variant);
}
.be-app .be-pick-tile > small:last-child {
  color: var(--primary);
  font-weight: 600;
}
.be-app .profile-hero {
  gap: 18px;
}
.be-app .profile-hero > div {
  flex: 1;
  min-width: 0;
}
.be-app .profile-hero > .avatar {
  flex-shrink: 0;
}
.be-app .profile-hero > .secondary {
  flex-shrink: 0;
  margin-left: auto;
}
.be-app .profile-hero h1 {
  margin: 4px 0 8px;
}
.be-app .profile-hero p {
  margin: 0;
}
.be-app .author-row {
  flex-wrap: wrap;
  gap: 10px;
}
.be-app .author-row b {
  min-width: 0;
  overflow-wrap: anywhere;
}
.be-app .author-row small {
  margin-left: auto;
}
.be-app .article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.be-app .cm-post-meta {
  flex-wrap: wrap;
  gap: 8px;
}
.be-app .cm-post-meta > b {
  overflow-wrap: anywhere;
  min-width: 0;
}
.be-app .op-row {
  gap: 12px;
}
.be-app .op-row > :is(b, span, div) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.be-app .op-form .field {
  min-width: 0;
  max-width: 100%;
}
.be-app .op-form > label {
  margin-bottom: -4px;
}
.be-app .form-error:empty {
  display: none;
}
.be-app .modal-head {
  align-items: flex-start;
  gap: 16px;
}
.be-app .modal-head h2 {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.be-app .modal-head [data-close] {
  flex: 0 0 32px;
}
.be-app .be-calc-row {
  align-items: start;
  gap: 10px 16px;
}
.be-app .be-calc-row + .be-calc-row {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.be-app .be-calc-row .form-error {
  margin: 0;
}
.be-app .be-calc-result strong {
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.be-app #loginOpen {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.be-app #ticker {
  justify-content: flex-start;
  overflow-x: auto;
}
.be-app #ticker > a {
  flex-shrink: 0;
  white-space: nowrap;
}
.be-app #ticker > a:first-child {
  margin-left: auto;
}
.be-app #ticker > a:last-child {
  margin-right: auto;
}
.be-app .op-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* The growing admin menu must stay reachable on shorter desktop windows. */
.adm-sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.adm-sidebar > * {
  flex-shrink: 0;
}
.adm-heading {
  flex-wrap: wrap;
}
.adm-heading > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}
.adm-heading-actions {
  flex-wrap: wrap;
  max-width: 100%;
}
.adm-panel-head {
  flex-wrap: wrap;
}
.adm-panel-head > div {
  min-width: 0;
}
.adm-card-foot {
  flex-wrap: wrap;
}
.adm-keyvalues > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: start;
}
.adm-keyvalues :is(dt, dd) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.adm-metric-head {
  min-height: 33px;
}
.adm-metric-head > span:first-child {
  min-width: 0;
  word-break: keep-all;
}
.adm-metric-icon {
  flex-shrink: 0;
}
.adm-chart-top,
.adm-legend {
  flex-wrap: wrap;
}
.adm-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adm-price-grid > label {
  min-width: 0;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .be-app .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .be-app .be-hero {
    padding: 28px 24px;
  }
  .be-app .be-hero h1 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .be-app .be-hero .eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .be-app .be-hero p {
    font-size: 16px;
  }
  .be-app .be-hero .primary {
    padding: 12px 18px;
  }
  .be-app .section-head {
    margin-top: 28px;
    gap: 12px;
  }
  .be-app .section-head h2 {
    font-size: 22px;
  }
  .be-app .stock-grid {
    gap: 12px;
  }
  .be-app .stock-tile {
    padding: 18px 16px;
  }
  .be-app .stock-tile .asset-line {
    min-height: 60px;
  }
  .be-app .stock-tile .stock-price strong {
    font-size: 20px;
  }
  .be-app .be-live-bar ~ .layout .be-index-grid {
    grid-template-columns: 1fr;
  }
  .be-app .be-index-grid .asset-line {
    min-height: 42px;
  }
  .be-app .be-index-grid .stock-price strong {
    font-size: 26px;
  }
  .be-app .profile-hero > div {
    flex-basis: calc(100% - 90px);
  }
  .be-app .profile-hero > .secondary {
    margin-left: auto;
  }
  .be-app .be-calc-row {
    gap: 10px;
  }
  .be-app .be-directions {
    min-width: 0;
  }
  .be-app .be-directions label {
    min-width: 0;
    gap: 6px;
    padding: 16px 10px;
    white-space: nowrap;
  }
  .be-app #loginOpen {
    max-width: 128px;
  }
  .be-app #mobileNav a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 2px;
    white-space: nowrap;
  }
  .be-app .op-form :is(input, select, textarea) {
    font-size: 19px;
  }
  .be-app footer {
    align-items: flex-start;
    gap: 12px 20px;
  }
}
@media (max-width: 640px) {
  .adm-heading > div:first-child {
    flex-basis: 100%;
  }
  .adm-heading-actions {
    width: 100%;
  }
  .be-admin-mode .adm-heading .adm-button {
    font-size: 15px;
    gap: 7px;
    padding: 10px 12px;
  }
  .adm-heading-actions .primary {
    font-size: 15px;
    padding: 10px 12px;
  }
  .adm-member-metrics {
    grid-template-columns: 1fr !important;
  }
  .adm-member-metrics .adm-metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }
  .adm-member-metrics .adm-metric-head {
    min-height: 0;
    align-self: center;
    font-size: 15px;
  }
  .adm-member-metrics .adm-metric strong {
    margin: 0;
    text-align: right;
  }
  .adm-member-metrics .adm-metric p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .adm-attention {
    flex-wrap: wrap;
  }
  .adm-attention > div {
    min-width: 0;
    flex-basis: calc(100% - 40px);
  }
  .adm-attention > a {
    margin-left: 30px;
  }
  .adm-panel-head {
    gap: 12px;
  }
  .adm-member-form-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 520px) {
  .be-app .be-live-bar ~ .layout .stock-grid {
    grid-template-columns: 1fr;
  }
  .be-app .stock-tile .asset-line {
    min-height: 42px;
  }
  .be-app .cm-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .be-app .cm-nav a {
    min-width: 0;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .be-app header .brand small {
    display: none;
  }
  .be-app #loginOpen {
    min-width: 74px;
    max-width: 110px;
    padding-inline: 12px;
  }
  .be-app #mobileNav a {
    font-size: 13px;
  }
}

/* 관리자 사이드바 로고를 회원 화면 브랜드 이미지로 통일 (2026-11-12) */
.adm-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.adm-brand-image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}
.adm-brand small {
  margin-top: 0;
  padding-left: 4px;
}
@media (max-width: 900px) {
  .adm-brand-image {
    width: 160px;
  }
}
@media (max-width: 640px) {
  .adm-brand-image {
    width: 150px;
  }
}

/* 종목 뉴스 편집: 자동 수집 기사 목록 (2026-11-13) */
.be-news-auto {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e6ea;
}
.be-news-auto h3,
.ar-news-editor h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.be-news-auto-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.be-news-auto-head button {
  flex-shrink: 0;
}
.be-news-candidates {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.be-news-candidate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e3e6ea;
  border-radius: 6px;
  background: #fff;
}
.be-news-candidate > div {
  min-width: 0;
}
.be-news-candidate a {
  display: block;
  color: #111418;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.be-news-candidate small {
  display: block;
  margin-top: 3px;
  color: #6f7782;
  font-size: 13px;
}
.be-news-candidate small b {
  color: #0f7a66;
}
.be-news-candidate button {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 13px;
}
.be-news-candidate.is-excluded a {
  color: #9da3ab;
  text-decoration: line-through;
}
@media (max-width: 640px) {
  .be-news-auto-head,
  .be-news-candidate {
    flex-direction: column;
    align-items: stretch;
  }
}
