@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  color-scheme: dark;
  --hall-bg: #070810;
  --hall-surface: #0d0f17;
  --hall-surface-2: #121620;
  --hall-surface-3: #191e2a;
  --hall-border: rgba(255, 255, 255, 0.09);
  --hall-text: #eef1f7;
  --hall-muted: #8a92a6;
  --hall-soft: #c3cbdd;
  --hall-red: #e5484d;
  --hall-red-hover: #f05a5f;
  --hall-blue: #2e6ff2;
  --hall-green: #22b07d;
  --hall-warning: #e0a63b;
}

* {
  box-sizing: border-box;
}

body.hall-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(229, 72, 77, 0.11), transparent 32rem),
    var(--hall-bg);
  color: var(--hall-text);
  font-family: 'Pretendard', 'Malgun Gothic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

button:not(:disabled):active {
  transform: translateY(1px);
}

.hall-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.hall-login-card {
  /* hall.css 의 max-width:420px 를 덮어써서 데스크톱 2열 카드가 보이게 함 */
  width: min(1080px, 100%);
  max-width: none;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(400px, 1.05fr);
  overflow: hidden;
  padding: 0;
  background: var(--hall-surface);
  border: 1px solid var(--hall-border);
  border-radius: 20px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
}

.hall-login-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 10% 5%, rgba(229, 72, 77, 0.22), transparent 50%),
    linear-gradient(155deg, #171c26, #090c12 72%);
}

.hall-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hall-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--hall-red);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.hall-ci {
  margin: 0;
  color: var(--hall-soft);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.hall-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 11px;
  border-radius: 7px;
  background: rgba(229, 72, 77, 0.14);
  color: #ff9fa1;
  font-size: 12px;
  font-weight: 800;
}

.hall-login-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hall-login-hero p {
  max-width: 400px;
  margin: 18px 0 0;
  color: var(--hall-soft);
  font-size: 14px;
  line-height: 1.75;
}

.hall-benefits {
  display: grid;
  gap: 13px;
  color: var(--hall-soft);
  font-size: 13px;
}

.hall-benefits span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hall-benefits span::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hall-red);
}

.hall-login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.hall-login-title {
  margin: 0 0 6px;
  color: var(--hall-text);
  font-size: 23px;
  letter-spacing: -0.02em;
}

.hall-login-copy {
  margin: 0 0 26px;
  color: var(--hall-muted);
  font-size: 13px;
}

.hall-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border: 0;
  border-radius: 11px;
  background: var(--hall-surface-3);
}

.hall-tab {
  flex: 1;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hall-muted);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.hall-tab.active {
  border: 0;
  background: var(--hall-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 72, 77, 0.24);
}

.hall-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.hall-pane.active {
  display: flex;
}

.hall-pane label {
  margin: 4px 0 -3px;
  color: #a9b1c4;
  font-size: 12px;
  font-weight: 700;
}

.hall-pane input,
.hall-pane select {
  width: 100%;
  min-height: 43px;
  padding: 10px 13px;
  border: 1px solid #2a3242;
  border-radius: 9px;
  outline: none;
  background: #161a24;
  color: var(--hall-text);
}

.hall-pane input:focus,
.hall-pane select:focus {
  border-color: var(--hall-blue);
  box-shadow: 0 0 0 3px rgba(46, 111, 242, 0.13);
}

.hall-submit,
.hall-open-btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--hall-red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.hall-submit:hover:not(:disabled),
.hall-open-btn:hover:not(:disabled) {
  background: var(--hall-red-hover);
}

.hall-submit:disabled {
  background: #343a48;
  color: #727b90;
}

.hall-error {
  min-height: 18px;
  color: #ff8a8d;
  font-size: 13px;
}

.hall-hint {
  margin: 18px 0 0;
  color: #687188;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.hall-hint a {
  color: #a9c6ff;
}

.hall-shell {
  min-height: 100vh;
  background: var(--hall-bg);
}

.hall-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--hall-border);
  background: rgba(13, 15, 23, 0.95);
  color: var(--hall-text);
  backdrop-filter: blur(16px);
}

.hall-topbar-brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.hall-meeting-name {
  margin-top: 2px;
  color: var(--hall-text);
  font-size: 15px;
  font-weight: 800;
}

.hall-live-badge,
.hall-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
}

.hall-live-badge {
  background: rgba(229, 72, 77, 0.16);
  color: #ff9fa1;
}

.hall-live-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hall-red);
  animation: hall-pulse 1.4s infinite;
}

.hall-status-pill {
  background: #242a37;
  color: var(--hall-soft);
}

.hall-status-pill--open {
  background: rgba(34, 176, 125, 0.16);
  color: #5fd6a6;
}

.hall-clock {
  margin-left: auto;
  color: var(--hall-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.hall-body-wrap {
  padding: 16px;
  background: transparent;
}

.hall-content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(560px, 2fr) minmax(240px, 0.72fr);
  gap: 14px;
  align-items: start;
}

.hall-operator-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 9px 12px;
  overflow-x: auto;
  border: 1px solid var(--hall-border);
  border-radius: 10px;
  background: var(--hall-surface);
  white-space: nowrap;
}

.hall-operator-strip span {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--hall-muted);
  font-size: 11px;
  font-weight: 750;
}

.hall-operator-strip span.active {
  background: rgba(46, 111, 242, 0.16);
  color: #a9c6ff;
}

.hall-operator-strip strong {
  margin-left: auto;
  color: #5fd6a6;
  font-size: 11px;
}

.hall-operator-main {
  position: relative;
  min-width: 0;
}

.hall-view-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--hall-border);
  border-radius: 9px;
  background: var(--hall-surface);
  color: var(--hall-muted);
  font-size: 11px;
}

.hall-view-btn {
  padding: 7px 11px;
  border: 1px solid var(--hall-border);
  border-radius: 7px;
  background: transparent;
  color: var(--hall-muted);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.hall-view-btn.active {
  border-color: rgba(46, 111, 242, 0.45);
  background: rgba(46, 111, 242, 0.16);
  color: #a9c6ff;
}

.hall-view-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.hall-view-switch > span:last-child {
  margin-left: auto;
}

.hall-catenoid-preview {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--hall-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 35%, #202838, #090b11 72%);
}

.hall-operator-main > .hall-catenoid-preview {
  position: absolute;
  inset: 58px 0 auto;
  z-index: 5;
  width: 100%;
  min-height: clamp(520px, 62vh, 680px);
  aspect-ratio: 16 / 9;
}

.hall-catenoid-preview .hall-source-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(229, 72, 77, 0.16);
  color: #ff9fa1;
}

.hall-catenoid-preview strong {
  color: var(--hall-text);
  font-size: 22px;
}

.hall-catenoid-preview small {
  color: var(--hall-muted);
}

.hall-catenoid-preview[hidden],
#zoom-root[hidden] {
  display: none !important;
}

.hall-panel {
  padding: 16px;
  border: 1px solid var(--hall-border);
  border-radius: 13px;
  background: var(--hall-surface);
  box-shadow: none;
}

.hall-panel h3 {
  margin: 0 0 13px;
  color: var(--hall-text);
  font-size: 13px;
  font-weight: 800;
}

.hall-agenda-tree,
.hall-agenda-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 13px;
}

.hall-agenda-tree {
  padding-left: 0;
}

.hall-agenda-item {
  margin: 3px 0;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--hall-muted);
  font-size: 12px;
  line-height: 1.4;
}

.hall-agenda-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--hall-soft);
}

.hall-agenda-item.active {
  background: rgba(46, 111, 242, 0.14);
  color: #a9c6ff;
}

.hall-attendance-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--hall-muted);
  font-size: 12px;
}

.hall-attendance-row span:last-child {
  color: var(--hall-text);
  font-weight: 700;
}

.hall-bar {
  height: 9px;
  margin: 8px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #252b38;
}

.hall-bar > div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hall-blue), #5a8bff);
}

.hint {
  color: var(--hall-muted);
  font-size: 12px;
  line-height: 1.6;
}

.hall-content-tabs {
  display: flex;
  gap: 4px;
  margin: 0 auto 14px;
  padding: 4px;
  border: 0;
  border-radius: 11px;
  background: var(--hall-surface);
}

.hall-attendee-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: 14px;
  align-items: start;
}

.hall-broadcast-stage {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--hall-border);
  border-radius: 14px;
  background: var(--hall-surface);
}

.hall-broadcast-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hall-source-pill,
.hall-panel-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(46, 111, 242, 0.16);
  color: #a9c6ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hall-broadcast-copy {
  color: var(--hall-muted);
  font-size: 11px;
}

.hall-shareholder-panel {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--hall-border);
  border-radius: 14px;
  background: var(--hall-surface);
}

.hall-shareholder-panel .hall-content-tabs {
  margin-bottom: 10px;
  background: var(--hall-surface-3);
}

.hall-shareholder-panel .hall-panel {
  min-height: 420px;
  border: 0;
  background: transparent;
}

.hall-panel-kicker {
  margin-bottom: 10px;
  background: rgba(229, 72, 77, 0.14);
  color: #ff9fa1;
}

.hall-query-panel .hall-query-log-btn {
  width: 100%;
  margin-top: 18px;
  padding: 10px 13px;
}

.hall-query-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 14px 0 16px;
}

.hall-query-mode button {
  min-height: 36px;
  border: 1px solid var(--hall-border);
  border-radius: 8px;
  background: var(--hall-surface-2);
  color: var(--hall-muted);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.hall-query-mode button.active {
  border-color: rgba(229, 72, 77, 0.55);
  background: rgba(229, 72, 77, 0.14);
  color: #ff9fa1;
}

.hall-field-label {
  display: block;
  margin: 13px 0 6px;
  color: #a9b1c4;
  font-size: 11px;
  font-weight: 750;
}

.hall-query-field {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #3a4252;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--hall-text);
  font-size: 12px;
}

textarea.hall-query-field {
  min-height: 92px;
  resize: vertical;
  line-height: 1.55;
}

.hall-query-field:focus {
  border-bottom-color: var(--hall-blue);
}

.hall-query-submit {
  width: 100%;
  min-height: 40px;
  margin-top: 15px;
  border: 0;
  border-radius: 8px;
  background: var(--hall-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.hall-query-submit:disabled {
  background: #343a48;
  color: #727b90;
}

.hall-query-submit--voice {
  background: var(--hall-blue);
}

.hall-query-feedback {
  min-height: 20px;
  margin: 10px 0 0;
  color: #a9c6ff;
  font-size: 11px;
  line-height: 1.5;
}

.hall-catenoid-preview--attendee {
  min-height: 520px;
}

.hall-content-tab {
  flex: 1;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hall-muted);
  font-weight: 750;
}

.hall-content-tab.active {
  border: 0;
  background: rgba(46, 111, 242, 0.18);
  color: #a9c6ff;
}

.hall-content-pane {
  display: none;
}

.hall-content-pane.active {
  display: block;
}

.hall-query-log-btn {
  margin: 0 0 12px;
  padding: 8px 13px;
  border: 1px solid var(--hall-border);
  border-radius: 8px;
  background: var(--hall-surface-3);
  color: var(--hall-soft);
  font-size: 12px;
  font-weight: 750;
}

.hall-query-log-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(8px);
}

.hall-query-log-overlay[hidden] {
  display: none !important;
}

.hall-query-log-box {
  width: min(560px, 100%);
  max-height: 75vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--hall-border);
  border-radius: 15px;
  background: var(--hall-surface);
  color: var(--hall-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.hall-query-log-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--hall-border);
  color: var(--hall-soft);
  font-size: 13px;
}

#zoom-root {
  min-width: 0;
}

/* 고객 사이트 목업과 구분: ksdzoomwrapper 납품(Zoom 컨트롤) 범위 표시 */
.hall-delivery-box {
  position: relative;
  min-width: 0;
  margin-top: 4px;
  padding: 14px 12px 12px;
  border: 2px solid rgba(229, 72, 77, 0.95);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(229, 72, 77, 0.08), transparent 48px),
    rgba(229, 72, 77, 0.03);
  box-shadow:
    0 0 0 1px rgba(229, 72, 77, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hall-delivery-box:has(#zoom-root[hidden]) {
  display: none;
}

.hall-delivery-box__badge {
  position: absolute;
  top: -11px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(229, 72, 77, 0.85);
  border-radius: 999px;
  background: #1a0c0e;
  color: #ff9fa1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
}

.hall-delivery-box__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.25);
}

@keyframes hall-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (max-width: 980px) {
  .hall-login-card {
    grid-template-columns: 1fr;
  }

  .hall-login-hero {
    min-height: 300px;
  }

  .hall-benefits {
    display: none;
  }

  .hall-content-grid {
    grid-template-columns: 1fr;
  }

  .hall-attendee-layout {
    grid-template-columns: 1fr;
  }

  .hall-shareholder-panel .hall-panel {
    min-height: 0;
  }

  .hall-topbar-brand {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hall-login {
    padding: 0;
  }

  .hall-login-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .hall-login-hero {
    min-height: 250px;
    padding: 30px 24px;
  }

  .hall-login-form {
    padding: 30px 24px 40px;
  }

  .hall-topbar {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .hall-topbar-brand {
    flex: 1 1 100%;
  }

  .hall-clock {
    margin-left: 0;
  }

  .hall-body-wrap {
    padding: 10px;
  }
}

.hall-share-card {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hall-border);
}

.hall-share-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.hall-share-url {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid var(--hall-border);
  border-radius: 10px;
  background: var(--hall-surface-2);
  color: var(--hall-soft);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.hall-share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
