:root {
  color-scheme: light;
  --dl-ink: #1c2430;
  --dl-muted: #667085;
  --dl-surface: #ffffff;
  --dl-surface-soft: #f6f8fb;
  --dl-line: #d9e0ea;
  --dl-blue: #2457c5;
  --dl-blue-soft: #e8f0ff;
  --dl-red: #d9343f;
  --dl-red-soft: #fff0f1;
  --dl-green: #177c59;
  --dl-green-soft: #e8f7f0;
  --dl-yellow: #f4bf45;
  --dl-yellow-soft: #fff7df;
  --dl-radius: 8px;
  --dl-shadow: 0 12px 28px rgba(28, 36, 48, 0.08);
  --dl-shadow-soft: 0 8px 18px rgba(28, 36, 48, 0.06);
  font-family: Inter, "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  background: var(--dl-surface-soft);
  color: var(--dl-ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(232, 240, 255, 0.72), rgba(246, 248, 251, 0) 300px),
    var(--dl-surface-soft);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("https://assets.dreamlabs.co.kr/ui-patterns/backgrounds/dreamlabs-grid-subtle.svg");
  background-size: 520px 520px;
  opacity: 0.45;
}

button,
a {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(217, 224, 234, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand-symbol {
  width: 54px;
  height: 54px;
  padding: 6px;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: var(--dl-surface);
  object-fit: contain;
  box-shadow: var(--dl-shadow-soft);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.24;
}

h2 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.topbar p {
  margin-top: 5px;
  color: var(--dl-muted);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border-radius: var(--dl-radius);
  color: var(--dl-blue);
  background: var(--dl-blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

button {
  border: 1px solid var(--dl-blue);
  background: var(--dl-blue);
  color: #ffffff;
  border-radius: var(--dl-radius);
  min-height: 38px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--dl-shadow-soft);
}

button:hover {
  background: #1f4cac;
}

.top-actions,
.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-link,
.button-link {
  align-items: center;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  color: #334155;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.nav-link:hover,
.button-link-secondary:hover {
  border-color: var(--dl-blue);
  color: var(--dl-blue);
}

.nav-link-strong,
.button-link {
  background: var(--dl-blue);
  border-color: var(--dl-blue);
  color: #ffffff;
}

.nav-link-strong:hover,
.button-link:hover {
  background: #1f4cac;
  color: #ffffff;
}

.button-link-secondary {
  background: #ffffff;
  border-color: var(--dl-line);
  color: #334155;
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 24px 32px 34px;
}

.hero-section {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 255, 0.78)),
    var(--dl-surface);
  box-shadow: var(--dl-shadow);
}

.hero-copy {
  align-content: center;
  display: grid;
  gap: 18px;
  padding: 42px;
}

.hero-copy h2 {
  color: #111827;
  font-size: 44px;
  line-height: 1.12;
  margin: 0;
  max-width: 720px;
}

.hero-copy p {
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
  max-width: 660px;
}

.hero-visual {
  display: grid;
  grid-template-rows: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.04), rgba(255, 255, 255, 0.4)),
    url("https://assets.dreamlabs.co.kr/ui-patterns/backgrounds/dreamlabs-grid-subtle.svg");
  background-size: auto, 460px 460px;
}

.org-hub {
  align-self: end;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 28px;
  border: 1px solid rgba(36, 87, 197, 0.2);
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--dl-shadow-soft);
  text-align: center;
}

.org-hub img {
  height: 82px;
  width: 82px;
  object-fit: contain;
}

.org-hub strong {
  font-size: 24px;
  line-height: 1.2;
}

.org-hub span {
  color: var(--dl-muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-performer-rail {
  align-content: start;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.hero-mini {
  align-items: center;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  min-height: 76px;
  border: 1px solid rgba(217, 224, 234, 0.95);
  border-left-width: 4px;
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, 0.96);
  padding: 10px;
}

.hero-mini .profile-image {
  height: 54px;
  width: 54px;
}

.hero-mini strong,
.hero-mini span {
  display: block;
}

.hero-mini span {
  color: var(--dl-muted);
  font-size: 13px;
  line-height: 1.35;
}

.public-section,
.dashboard-shell {
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--dl-shadow);
  padding: 22px;
}

.organization-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.25fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.organization-column {
  border: 1px solid #e3e7ef;
  border-left: 4px solid #718096;
  border-radius: var(--dl-radius);
  background: #fbfcfe;
  min-width: 0;
  padding: 14px;
}

.organization-column-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}

.organization-column-head span {
  color: var(--dl-muted);
  font-size: 12px;
  font-weight: 900;
}

.organization-column-head strong {
  font-size: 18px;
  line-height: 1.25;
}

.organization-column-head p {
  color: var(--dl-muted);
  font-size: 13px;
  line-height: 1.45;
}

.organization-members {
  display: grid;
  gap: 8px;
}

.organization-member {
  align-items: center;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  min-height: 58px;
  border-top: 1px solid #eef2f7;
  padding-top: 8px;
}

.organization-member .profile-image {
  height: 44px;
  width: 44px;
  border-radius: 12px;
}

.organization-member strong,
.organization-member span {
  display: block;
}

.organization-member span {
  color: var(--dl-muted);
  font-size: 12px;
  line-height: 1.35;
}

.public-performer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
}

.public-performer {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  min-height: 176px;
  border: 1px solid #e3e7ef;
  border-left: 4px solid #718096;
  border-radius: var(--dl-radius);
  background: #fbfcfe;
  padding: 14px;
}

.public-performer-media {
  display: grid;
  align-content: start;
  gap: 8px;
}

.public-performer-media .profile-image {
  height: 88px;
  width: 88px;
}

.public-performer-media span {
  border: 1px solid var(--dl-line);
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  justify-self: start;
  padding: 5px 8px;
}

.public-performer-copy {
  min-width: 0;
}

.public-performer-copy > strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.public-performer-copy p {
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
}

.public-task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.public-task-list span {
  background: #eef2f7;
  border: 1px solid var(--dl-line);
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  padding: 5px 8px;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

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

.login-badge {
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  color: #3730a3;
  background: #eef2ff;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.summary-section,
.attention-section,
.panel {
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--dl-shadow);
}

.dashboard-shell .summary-section,
.dashboard-shell .attention-section,
.dashboard-shell .panel {
  box-shadow: none;
}

.summary-section {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.section-note {
  color: var(--dl-muted);
  font-size: 13px;
  margin-top: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(116px, 1fr));
  gap: 10px;
}

.summary-card {
  min-height: 112px;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f9fbfe);
}

.summary-card span,
.summary-card small {
  color: var(--dl-muted);
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.summary-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin: 8px 0;
}

.attention-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(232, 240, 255, 0.86), rgba(255, 255, 255, 0.96) 48%),
    var(--dl-surface);
}

.attention-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.attention-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 10px;
}

.attention-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid #fed7aa;
  border-radius: var(--dl-radius);
  padding: 12px;
  background: #fffaf2;
}

.attention-card-ok {
  grid-column: 1 / -1;
  border-color: #b7e4cf;
  background: var(--dl-green-soft);
}

.attention-card.delay-blocked {
  border-color: #f2a8ad;
  background: var(--dl-red-soft);
}

.attention-card.delay-delayed {
  border-color: #f5cc73;
  background: var(--dl-yellow-soft);
}

.attention-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.attention-head .profile-image {
  width: 42px;
  height: 42px;
  border-radius: var(--dl-radius);
}

.attention-head strong,
.attention-head span {
  display: block;
}

.attention-head span {
  color: var(--dl-muted);
  font-size: 12px;
  line-height: 1.4;
}

.attention-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.attention-card dl div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
}

.attention-card dt,
.attention-card dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.attention-card dt {
  color: var(--dl-muted);
  font-weight: 800;
}

.attention-card dd {
  color: var(--dl-ink);
  overflow-wrap: anywhere;
}

.attention-card a,
.executive-status a {
  color: var(--dl-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(440px, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
}

.panel {
  padding: 20px;
  min-width: 0;
}

.primary-panel {
  min-height: 560px;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  border: 1px solid #e3e7ef;
  border-radius: var(--dl-radius);
  padding: 12px;
  background: #fbfcfe;
}

.performer-item {
  position: relative;
  overflow: hidden;
  border-left: 4px solid #718096;
}

.performer-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 74px;
  border-bottom-left-radius: 74px;
  background: rgba(36, 87, 197, 0.06);
  pointer-events: none;
}

.type-human {
  border-left-color: var(--dl-blue);
}

.type-worker {
  border-left-color: var(--dl-green);
}

.type-agent {
  border-left-color: #7c3aed;
}

.type-system {
  border-left-color: var(--dl-yellow);
}

.needs-attention {
  border-color: #f5cc73;
  background: #fffdf7;
}

.delay-blocked {
  border-color: #f2a8ad;
}

.delay-delayed,
.delay-watch {
  border-color: #f5cc73;
}

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

.session-item {
  border-left: 4px solid #64748b;
}

.item-head {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.profile-head {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.profile-image {
  display: block;
  border: 1px solid var(--dl-line);
  border-radius: 16px;
  box-shadow: var(--dl-shadow-soft);
  flex: 0 0 auto;
  height: 60px;
  width: 60px;
  object-fit: cover;
  background: var(--dl-surface);
}

.profile-human {
  border-radius: 50%;
}

.profile-worker {
  background: #101828;
}

.profile-system {
  padding: 4px;
  object-fit: contain;
}

.item strong {
  display: block;
  line-height: 1.35;
}

.title {
  color: #334155;
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.muted {
  color: var(--dl-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}

.identity {
  color: #475569;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.badge {
  background: #eef2f7;
  border: 1px solid var(--dl-line);
  border-radius: 999px;
  color: #334155;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  white-space: nowrap;
}

.type-human .badge {
  color: var(--dl-blue);
  background: var(--dl-blue-soft);
}

.type-worker .badge {
  color: var(--dl-green);
  background: var(--dl-green-soft);
}

.type-system .badge {
  color: #8a6200;
  background: var(--dl-yellow-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chips span {
  background: #ecfdf5;
  border: 1px solid #b7e4cf;
  border-radius: 999px;
  color: #17634a;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.executive-status {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--dl-radius);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
}

.executive-status.attention-required {
  background: var(--dl-yellow-soft);
  border-color: #f5cc73;
}

.executive-status div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.executive-status span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.executive-status strong {
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.executive-status a {
  grid-column: 1 / -1;
}

.operation-list {
  display: grid;
  gap: 12px;
}

.operation-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #e3e7ef;
  padding-bottom: 12px;
}

.operation-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  background: #eef2f7;
  border-radius: 4px;
  padding: 2px 4px;
}

.tasks {
  margin-top: 10px;
}

.tasks ul {
  margin: 4px 0 0;
  padding-left: 18px;
}

.tasks li {
  line-height: 1.45;
  margin-top: 3px;
}

pre {
  white-space: pre-wrap;
  background: #101828;
  color: #e6edf5;
  border-radius: var(--dl-radius);
  padding: 12px;
  min-height: 44px;
  overflow: auto;
}

@media (max-width: 1180px) {
  .summary-grid,
  .attention-list,
  .session-grid,
  .public-performer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section,
  .content-grid,
  .attention-section,
  .organization-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .brand-block {
    align-items: flex-start;
  }

  .layout {
    padding: 16px;
  }

  .summary-grid,
  .attention-list,
  .session-grid,
  .executive-status,
  .public-performer-grid {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .dashboard-heading {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .nav-link,
  .button-link,
  button {
    justify-content: center;
    width: 100%;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-copy h2 {
    font-size: 30px;
  }

  .hero-visual {
    padding: 18px;
  }

  .public-section,
  .dashboard-shell {
    padding: 16px;
  }

  .public-performer {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
  }
}
