:root {
  --primary: #1769d2;
  --primary-hover: #1355a9;
  --primary-light: #edf5ff;
  --text-main: #172b43;
  --text-body: #1e334d;
  --text-muted: #526780;
  --bg-app: #f4f7fb;
  --bg-card: #ffffff;
  --border: #dce4ed;
  --border-light: #eef3f8;
  --border-focus: rgba(23, 105, 210, 0.25);
  --sidebar-bg: #111e2f;
  --sidebar-bg-end: #172b43;
  --sidebar-text: #cbd5e1;
  --sidebar-text-active: #ffffff;
  --success-bg: #dcfce7;
  --success-text: #15803d;
  --warning-bg: #fef3c7;
  --warning-text: #b45309;
  --danger-bg: #fee2e2;
  --danger-text: #b42318;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; }

/* ==========================================================
   サイドバー
   ========================================================== */
.sidebar {
  position: fixed;
  width: 240px;
  inset: 0 auto 0 0;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-end) 100%);
  color: var(--sidebar-text);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.brand-icon {
  font-size: 22px;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.brand-text h1 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.brand-badge {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(23, 105, 210, 0.3);
  color: #60a5fa;
  display: inline-block;
  margin-top: 2px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar button {
  background: transparent;
  border: 0;
  color: #94a3b8;
  text-align: left;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  transition: all 0.15s ease;
  width: 100%;
}

.sidebar button:hover {
  background: #27456a;
  color: #ffffff;
}

.sidebar button.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(23, 105, 210, 0.4);
}

.sidebar button.active:hover {
  background: var(--primary);
}

.nav-icon {
  font-size: 15px;
  display: inline-block;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.logout-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius);
  transition: all 0.15s ease;
}

.logout-link:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

/* ==========================================================
   メインコンテンツエリア
   ========================================================== */
main {
  margin-left: 240px;
  padding: 28px 36px 60px;
  flex: 1;
  min-width: 0;
  max-width: 1600px;
}


/* ==========================================================
   フォーム要素・ボタン
   ========================================================== */
input, select, textarea {
  font: inherit;
  font-size: 16px;
  min-height: 44px;
}

button, .button {
  font: inherit;
  font-size: 14px;
  text-decoration: none;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

select, input:not([type="checkbox"]), textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--border-focus);
}

button, .button {
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text-body);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

button:hover, .button:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

button.primary, .button.primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(23, 105, 210, 0.2);
}

button.primary:hover, .button.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

button.btn-sub {
  min-height: 44px;
  padding: 5px 10px;
  font-size: 12px;
}

/* ==========================================================
   ページタイトル・通知
   ========================================================== */
.page-title-wrap {
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px;
}

#status:not(:empty) {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 13.5px;
}

#status.success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #bbf7d0;
}

#status.error {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid #fecaca;
}

/* ==========================================================
   カード & KPI
   ========================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi {
  margin-bottom: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.kpi strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  margin-top: 6px;
}

/* ==========================================================
   グラフ・チャート
   ========================================================== */
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.charts .card { margin-bottom: 0; }

.bars { display: grid; gap: 12px; }

.bar {
  display: grid;
  grid-template-columns: 80px 1fr 90px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.bar span { font-weight: 600; color: var(--text-muted); }

.bar meter {
  width: 100%;
  height: 14px;
  border-radius: var(--radius-full);
  accent-color: var(--primary);
}

.bar strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
  font-size: 13.5px;
}

svg { width: 100%; height: auto; }

/* ==========================================================
   テーブル
   ========================================================== */
.table-wrap {
  overflow: auto;
  max-height: 640px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #475569;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.2px;
  z-index: 2;
}

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}

td {
  color: var(--text-body);
  vertical-align: middle;
}

td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-main);
}

tbody tr {
  transition: background 0.1s ease;
}

tbody tr:hover {
  background: #f8fafc;
}

td button {
  min-height: 44px;
  padding: 4px 10px;
  font-size: 12px;
}

td.preview {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

/* ==========================================================
   ツールバー
   ========================================================== */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.toolbar h3 { margin: 0 auto 0 0; }

/* ==========================================================
   バッジ各種
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.badge-open { background: #dbeafe; color: #1e40af; }
.badge-upcoming { background: #ede9fe; color: #6d28d9; }
.badge-ended { background: #f1f5f9; color: #64748b; }
.badge-closed { background: #fee2e2; color: #b91c1c; }
.badge-named { background: #dcfce7; color: #15803d; }
.badge-anonymous { background: #dbeafe; color: #1e40af; }
.badge-no { background: #f1f5f9; color: #64748b; }

/* ==========================================================
   星評価
   ========================================================== */
.score-stars {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.score-stars .stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
}

.score-stars .score-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.tag-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #e2e8f0;
  color: #334155;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}

/* ==========================================================
   ダイアログ（モーダル）
   ========================================================== */
dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: min(860px, 95vw);
  max-height: 94vh;
  padding: 28px 32px;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  border-radius: 4px;
}

.close:hover { color: var(--text-main); background: #f1f5f9; }

dialog h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-right: 48px;
}

dialog textarea, dialog input, dialog select {
  width: 100%;
  margin: 6px 0 16px;
}

dialog input[type=checkbox] { width: auto; }
dialog textarea { resize: vertical; overflow: hidden; line-height: 1.7; }
dialog p { white-space: pre-wrap; overflow-wrap: anywhere; }

.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================
   状態表示・読み込み中
   ========================================================== */
.empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.loading-state {
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.metric-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

a { color: var(--primary); }
small, .muted { color: var(--text-muted); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }

p.error {
  color: var(--danger-text);
  background: var(--danger-bg);
  padding: 12px;
  border-radius: var(--radius);
}

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1100px) {
  .sidebar { width: 200px; padding: 20px 10px; }
  main { margin-left: 200px; padding: 24px 20px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .charts { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { flex-direction: column; }
  .sidebar {
    position: static;
    width: 100%;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .sidebar-brand { margin-bottom: 12px; padding-bottom: 12px; }
  .sidebar nav { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .sidebar button { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
  .sidebar-footer { padding-top: 8px; }
  main { margin-left: 0; padding: 16px; }
  .kpis { grid-template-columns: 1fr; }
  .grid-form { grid-template-columns: 1fr; }
}


/* ==========================================================
   UI/UX改善追加スタイル（2026-10-14）
   ========================================================== */

/* 開催回一覧テーブル（1280pxで内部横スクロールもゼロ・数値tabular-nums） */
table.events-table {
  font-size: 13px;
}

table.events-table th,
table.events-table td {
  padding: 8px 6px;
}

table.events-table td.col-title {
  white-space: normal;
  min-width: 120px;
  max-width: 185px;
  line-height: 1.4;
}

table.events-table td.col-series {
  white-space: normal;
  max-width: 88px;
  line-height: 1.35;
}

table.events-table td.col-actions {
  white-space: nowrap;
}


.toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-main);
}

details summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: var(--radius);
}

details summary:hover {
  background: var(--primary-light);
}

.status-ok {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #bbf7d0;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

.tech-details {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.tech-details pre {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
  max-height: 280px;
  overflow: auto;
}

@media (max-width: 768px) {

  .toolbar,
  .toolbar select,
  .toolbar input:not([type="checkbox"]) {
    min-width: 0;
    max-width: 100%;
  }

  /* 開催回一覧テーブルのモバイルカード化 */
  .table-wrap:has(table.events-table) {
    max-height: none;
    overflow: visible;
    border: none;
    background: transparent;
  }

  table.events-table,
  table.events-table tbody {
    display: block;
    width: 100%;
    white-space: normal;
  }

  table.events-table thead {
    display: none;
  }

  table.events-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }

  table.events-table tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 0;
    border: none;
    text-align: left;
  }

  table.events-table tbody td.num {
    text-align: left;
  }

  table.events-table tbody td::before {
    content: attr(data-label);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2px;
  }

  table.events-table tbody td.col-title,
  table.events-table tbody td.col-actions {
    grid-column: 1 / -1;
    max-width: none;
  }

  table.events-table tbody td.col-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
  }

  table.events-table tbody td.col-actions::before {
    width: 100%;
  }

  table.events-table tbody td.col-actions button {
    flex: 1;
    min-width: 110px;
  }
}

/* フェーズ2：閲覧専用ロール・10点満点併記・掲載管理カードの文脈 */
body[data-role="viewer"] .owner-only {
  display: none !important;
}

.score-ten {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#toggle-distributions {
  margin-top: 12px;
}

/* 主催側の振り返り: 操作バーと編集フォーム */
.notes-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.notes-toolbar select,
.notes-form input,
.notes-form select,
.notes-form textarea {
  min-height: 44px;
  font-size: 16px;
}

.notes-select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.notes-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-family: inherit;
  line-height: 1.6;
}

.notes-form textarea.notes-body {
  min-height: 320px;
}

/* 開催回の削除（設定ダイアログの最下部） */
/* 開催回の設定ダイアログ（1280×800 でスクロールせず削除欄まで収まる密度） */
dialog:has(.event-settings) { padding: 18px 24px 20px; }
.dialog-header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 44px; margin-bottom: 12px; padding-right: 52px; }
.dialog-header h2 { margin: 0; padding-right: 0; }
.preview-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; }
.preview-link:hover { text-decoration: underline; }
.form-section { margin: 0 0 12px; padding: 10px 16px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: #f8fafc; display: grid; gap: 10px; min-width: 0; }
.form-section legend { float: left; width: 100%; padding: 0; font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; }
.form-row { display: grid; gap: 10px 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.event-settings .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 700; color: var(--text-main); line-height: 1.3; }
.field-hint { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.event-settings input, .event-settings select { margin: 0; }
.event-settings p.error { margin: 0 0 12px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.form-actions button { min-width: 120px; }
.event-settings .danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 10px 16px; border: 1px solid #f8d4cf; border-top: 1px solid #f8d4cf; border-radius: var(--radius-lg); background: #fff7f6; }
.event-settings .danger-zone p { margin: 0; font-size: 13px; }
.event-settings .danger-zone button { flex-shrink: 0; }
@media (max-width: 768px) {
  .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
  .preview-link { margin-left: 0; }
  .event-settings .danger-zone { flex-direction: column; align-items: stretch; }
}

.danger-zone { margin-top: 28px; padding-top: 16px; border-top: 1px solid #f3b4ad; }
.danger-zone h3 { margin: 0 0 4px; font-size: 1rem; color: #b42318; }
.danger-zone button.danger { color: #b42318; border-color: #f3b4ad; background: #fff; }
.danger-zone button.danger[data-armed] { color: #fff; background: #b42318; border-color: #b42318; }

/* 「開催回を追加」で出すAI向けプロンプト */
.prompt-box { width: 100%; box-sizing: border-box; margin: 8px 0 12px; padding: 12px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #1e334d; background: #f8fafc; border: 1px solid #dce4ed; border-radius: 8px; resize: vertical; }

/* hidden 属性を display 指定より優先する（ページ送りなど） */
[hidden] { display: none !important; }

/* 閲覧の共有（2026-10-22）：本人の共有管理ページ・共有先の入口 */
body[data-role="guest"] nav,
body[data-role="guest"] .sidebar-footer { display: none; }
.viewer-label { margin: 0 0 8px; font-size: 13px; color: var(--sidebar-text); line-height: 1.5; }
.share-intro p { margin: 0 0 10px; line-height: 1.7; }
.share-chip { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 10px; border-radius: var(--radius-full); background: var(--primary-light); color: var(--primary-hover); font-size: 13px; }
.share-table td small { display: block; }
.share-events { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.share-event { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border-light); border-radius: 8px; cursor: pointer; }
.share-event input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.share-event span { display: flex; flex-direction: column; gap: 2px; }
.share-event small { color: var(--text-muted); font-size: 12px; }
.share-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.share-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 10px; border: 1px solid var(--border-light); border-radius: 8px; }
.share-list small { display: block; }
.share-notes { padding-left: 1.2em; line-height: 1.7; }
.invite-url { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; }
.share-landing { max-width: 560px; line-height: 1.8; }
.share-landing h3 { margin: 18px 0 4px; }
.join-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; box-sizing: border-box; background: var(--bg-app); }
.join-card { width: 100%; max-width: 480px; padding: 24px; box-sizing: border-box; background: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow-md); line-height: 1.8; }
.join-card h1 { margin: 0 0 8px; font-size: 22px; }
.join-card .primary { width: 100%; min-height: 48px; font-size: 16px; }
.join-card .muted { font-size: 13px; }
