/* Hub & components showcase — index.html, components.html */
body.proto-hub {
  display: block;
  padding: 0;
  max-width: none;
  margin: 0;
  background: #e5e8eb;
  color: var(--grey-900);
}

.hub-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hub-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.hub-top h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hub-top .lead {
  font-size: 16px;
  color: var(--grey-700);
  line-height: 1.55;
  max-width: 520px;
}

.hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--grey-900);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hub-nav a.primary {
  background: var(--blue);
  color: var(--white);
}

.hub-section {
  margin-bottom: 48px;
}

.hub-section > h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Recommended path */
.path-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 28px 24px;
  color: var(--grey-900);
  margin-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.path-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--grey-900);
}

.path-card p {
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: 20px;
  line-height: 1.5;
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
}

.path-steps .step {
  background: var(--bg);
  color: var(--grey-700);
  padding: 6px 12px;
  border-radius: 8px;
}

.path-steps .arrow {
  color: var(--grey-500);
  font-size: 12px;
}

.path-card .path-cta {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* Flow diagram */
.flow-diagram {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  overflow-x: auto;
}

.flow-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 720px;
}

.flow-block {
  flex: 1;
  min-width: 0;
}

.flow-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.flow-role {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.flow-role.host { background: #E8F3FF; color: var(--blue); }
.flow-role.attendee { background: #E8FAF0; color: #03A65C; }
.flow-role.output { background: #FFF5E0; color: #B8730A; }

.flow-block-head h3 {
  font-size: 15px;
  font-weight: 700;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.flow-step:hover {
  background: #e8ebee;
}

.flow-step .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step .label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.flow-step .hint {
  font-size: 11px;
  color: var(--grey-500);
  font-weight: 500;
}

.flow-connector {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
  color: var(--grey-500);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.flow-connector::before {
  content: '→';
  font-size: 20px;
  color: var(--grey-300);
  margin-bottom: 4px;
}

.flow-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-300);
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.55;
}

.flow-note strong {
  color: var(--grey-900);
}

/* Flow cards grid */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 800px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-row { min-width: 0; flex-direction: column; }
  .flow-connector {
    width: auto;
    padding: 8px 0;
    flex-direction: row;
    gap: 8px;
  }
  .flow-connector::before { margin: 0; }
}

.flow-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
}

.flow-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-card .file {
  font-size: 12px;
  color: var(--grey-500);
  font-family: ui-monospace, monospace;
  margin-bottom: 12px;
}

.flow-card .desc {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.45;
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--grey-700);
  text-decoration: none;
}

.chip:hover { background: #e0e4e8; }

.chip.start {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-row a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--grey-900);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.btn-row a.primary {
  background: var(--blue);
  color: #fff;
}

/* Overlay list */
.overlay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.overlay-item {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
}

.overlay-item .type {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.overlay-item .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.overlay-item a {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

/* Components page */
.comp-section {
  margin-bottom: 48px;
}

.comp-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.comp-section .comp-desc {
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: 20px;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.comp-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
}

.comp-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-500);
  margin-bottom: 14px;
}

.comp-demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.comp-demo.stack {
  flex-direction: column;
  align-items: stretch;
}

.comp-demo .card { margin-bottom: 0; }

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch {
  text-align: center;
}

.color-swatch .swatch {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.color-swatch span {
  font-size: 11px;
  color: var(--grey-700);
  font-weight: 500;
}

/* Static calendar demo */
.cal-demo .cal-weekdays {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.cal-demo .cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  padding: 4px 0;
}

.cal-demo .cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.cal-demo .cal-day {
  aspect-ratio: 1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--grey-900);
}

.cal-demo .cal-day.range { background: var(--blue-50); color: var(--blue); }
.cal-demo .cal-day.start,
.cal-demo .cal-day.end { background: var(--blue); color: #fff; font-weight: 600; }

.cal-demo .cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

/* Grid demo */
.grid-demo {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
}

.grid-demo .grid {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 2px;
  font-size: 10px;
}

.grid-demo .day {
  font-size: 10px;
  font-weight: 600;
  color: var(--grey-700);
  text-align: center;
  padding: 6px 2px;
}

.grid-demo .hour {
  font-size: 9px;
  color: var(--grey-500);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
}

.grid-demo .cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(209, 214, 219, 0.3);
  min-height: 28px;
}

.grid-demo .cell.unavail { background: rgba(240, 68, 82, 0.25); }
.grid-demo .cell.pref { background: rgba(255, 220, 100, 0.35); }
.grid-demo .cell.heat { background: rgba(49, 130, 246, 0.35); }
.grid-demo .cell.heat-strong { background: rgba(49, 130, 246, 0.7); }

/* Toast/sheet preview in components */
.comp-phone-preview {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 24px;
  padding: 16px;
  min-height: 160px;
}

.comp-phone-preview .toss-toast {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  opacity: 1;
  transform: none;
  margin-top: 40px;
}

.comp-sheet-preview {
  background: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 16px;
  margin-top: 24px;
}

.comp-sheet-preview .toss-sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--grey-300);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.comp-sheet-preview h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.comp-sheet-preview p {
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: 14px;
  line-height: 1.45;
}

.comp-sheet-preview .fake-cta {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.comp-sheet-preview .fake-cancel {
  width: 100%;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--grey-700);
  font-size: 14px;
  margin-top: 4px;
}

.demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
}

.demo-cta.primary { background: var(--blue); color: #fff; }
.demo-cta.secondary {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.demo-cta.ghost {
  background: transparent;
  color: var(--grey-700);
  font-weight: 500;
}
.demo-cta:disabled {
  opacity: 0.45;
}

.progress-demo {
  display: flex;
  gap: 0;
  background: var(--grey-300);
  border-radius: 10px;
  overflow: hidden;
  height: 4px;
}

.progress-demo .seg { flex: 1; height: 4px; background: var(--grey-300); }
.progress-demo .seg.done,
.progress-demo .seg.active { background: var(--blue); }

.member-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
}

.day-row-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 12px;
  border: 2px solid transparent;
  margin-bottom: 8px;
}

.day-row-demo.blocked {
  background: #FFF5F5;
  border-color: var(--red);
  color: var(--red);
}

/* Intro entry — index.html (quiet card, no full-bleed blue) */
.intro-hero {
  background: var(--white);
  color: var(--grey-900);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.intro-hero-main h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--grey-900);
  margin-bottom: 8px;
}

.intro-hero-main > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-700);
  max-width: 520px;
  margin-bottom: 20px;
}

.flow-entry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-entry-btn {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg);
  color: var(--grey-900);
  border-radius: 14px;
  text-decoration: none;
  min-width: 0;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.flow-entry-btn:hover {
  background: var(--blue-50);
  border-color: rgba(49, 130, 246, 0.25);
}

.flow-entry-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  letter-spacing: 0.02em;
}

.flow-entry-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

.flow-entry-nav a.primary {
  background: var(--blue);
  color: var(--white);
}

/* Legacy review guide — removed from index; keep class names if referenced elsewhere */
.submit-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  background: linear-gradient(135deg, #3182F6 0%, #1B64DA 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.submit-hero-label {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 8px;
}

.submit-hero-main h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 8px;
}

.submit-hero-main p {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 480px;
  margin-bottom: 16px;
}

.submit-hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--white);
  color: var(--blue);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.submit-hero-steps {
  list-style: none;
  counter-reset: submit-step;
  margin: 0;
  padding: 0;
  min-width: 200px;
}

.submit-hero-steps li {
  counter-increment: submit-step;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.submit-hero-steps li:last-child { border-bottom: none; }

.submit-hero-steps li::before {
  content: counter(submit-step) ". ";
  font-weight: 700;
  opacity: 0.85;
}

.submit-hero-steps a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hub-details {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
  overflow: hidden;
}

.hub-details > summary {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hub-details > summary::-webkit-details-marker { display: none; }

.hub-details > summary::after {
  content: "펼치기";
  float: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.hub-details[open] > summary::after { content: "접기"; }

.hub-section-nested {
  padding: 0 28px 28px;
  margin-bottom: 0;
}

.hub-section-nested + .hub-section-nested {
  padding-top: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0;
  padding-top: 28px;
}

.hub-section-muted {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hub-section-lead {
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: 20px;
  line-height: 1.55;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.doc-card {
  display: block;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.doc-card:hover { background: #e8ebee; }

.doc-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doc-card p {
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .intro-hero {
    padding: 24px 20px;
  }

  .flow-entry-row {
    flex-direction: column;
  }

  .flow-entry-btn {
    flex: 1 1 auto;
    width: 100%;
  }

  .submit-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .submit-hero-steps { min-width: 0; }
}

.review-guide-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.review-guide-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.review-guide-card > p {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.55;
  margin-bottom: 20px;
}

.review-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: review;
}

.review-steps li {
  counter-increment: review;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 14px;
  line-height: 1.45;
}

.review-steps li:last-child { border-bottom: none; }

.review-steps li::before {
  content: counter(review);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-steps .time {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-500);
}

.review-steps a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.review-steps a:hover { text-decoration: underline; }

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.doc-links a:hover {
  background: var(--blue-50);
  color: var(--blue);
}

/* State matrix — components.html */
.state-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--bg);
}

.state-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.state-table th,
.state-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--bg);
  vertical-align: top;
}

.state-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--grey-700);
  font-size: 12px;
}

.state-table tr:last-child td { border-bottom: none; }

.state-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.state-pill.done { background: #E8F8F0; color: #03B26C; }
.state-pill.spec { background: var(--bg); color: var(--grey-500); }

/* Typography demo */
.type-scale { display: flex; flex-direction: column; gap: 16px; }
.type-scale .row { display: flex; flex-direction: column; gap: 4px; }
.type-scale .label { font-size: 11px; font-weight: 600; color: var(--grey-500); }
.type-scale .h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.type-scale .sub { font-size: 15px; color: var(--grey-700); line-height: 1.45; }
.type-scale .cell { font-size: 12px; font-weight: 600; }

/* Spacing demo */
.spacing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}

.spacing-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
}

.spacing-block i {
  display: block;
  background: var(--blue-50);
  border: 1px dashed var(--blue);
  border-radius: 4px;
}

/* Skeleton loading */
.skeleton-grid {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 4px;
  max-width: 280px;
}

.skeleton-grid .sk {
  border-radius: 4px;
  background: linear-gradient(90deg, #e8eaed 25%, #f2f4f6 50%, #e8eaed 75%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.2s ease-in-out infinite;
}

.skeleton-grid .sk-label { height: 14px; }
.skeleton-grid .sk-cell { aspect-ratio: 1; min-height: 28px; }

@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Overlay embed — components.html (real overlays/view.html in iframe) */
.comp-card--overlay {
  grid-column: 1 / -1;
}

.comp-overlay-note {
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.5;
  margin: -6px 0 16px;
}

.comp-overlay-embed {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 400px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.comp-overlay-embed iframe {
  position: absolute;
  left: 50%;
  top: -66%;
  width: 390px;
  height: 844px;
  border: 0;
  transform: translateX(-50%) scale(0.82);
  transform-origin: top center;
  pointer-events: none;
}

/* Member row — admin 패턴 */
.comp-member-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.comp-member-row .member-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.comp-member-row .role-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  line-height: 1;
}

.comp-member-row .role-badge.required { background: #E8F3FF; color: var(--blue); }
.comp-member-row .role-badge.optional { background: var(--grey-300); color: var(--grey-700); }
.comp-member-row .role-badge.pending-style { background: #F9FAFB; color: #C5CBD3; border: 1px solid #EEF0F2; }

.comp-member-row .name {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-900);
}

.comp-member-row .name.muted { color: #C5CBD3; }

.comp-member-row .member-delete-demo {
  margin-left: auto;
  color: var(--grey-500);
  font-size: 16px;
  line-height: 1;
}

.comp-member-row.disabled-row { opacity: 1; }

/* Toggle chips — host layer */
.toggle-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-chip {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--grey-300);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-700);
}

.toggle-chip.active {
  border-color: var(--blue);
  background: var(--blue-50);
  color: var(--blue);
}

.toggle-chip.disabled {
  border: 1px solid #EEF0F2;
  background: #F9FAFB;
  color: #C5CBD3;
  cursor: not-allowed;
}
