﻿/* ==========================================================================
   Sodiary Pro Design System ??Ultimate Glassmorphism & Fluid UI
   Designed for impact, clarity, and modern aesthetics.
   ========================================================================== */

:root {
  /* --- Color Palette (Neutral & Clean) --- */
  --primary: #1d1d1f;
  --primary-grad: linear-gradient(180deg, #1d1d1f, #424245);

  --text-main: #1D1D1F;
  --text-sub: #86868B;
  --text-muted: #AEAEB2;

  /* Status Colors (Neon-like) */
  --color-warn: #FF9F0A;
  --color-success: #30D158;
  --color-danger: #FF453A;
  --color-info: #64D2FF;

  /* --- Glassmorphism Variables --- */
  --glass-bg: rgba(255, 255, 255, 0.84);
  --glass-border: rgba(17, 24, 39, 0.05);
  --glass-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  --glass-blur: blur(18px);

  /* --- Dimensions & Effects --- */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 已??�븳 ??吏곸??*/
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.5;
  background: #f5f5f7;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.02em;
}

body.menu-open {
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

/* ==========================================================================
   ???Ambient Living Background
   ========================================================================== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  /* 湲곕??踰좎???*/
}

.blob {
  display: none;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(100, 210, 255, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
}

.blob-2 {
  bottom: -20%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 160, 200, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -5s;
}

.blob-3 {
  bottom: 30%;
  left: 20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(150, 255, 180, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -12s;
}

@keyframes blob-move {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(5%, 10%) scale(1.1) rotate(5deg);
  }

  100% {
    transform: translate(-5%, 5%) scale(0.9) rotate(-5deg);
  }
}

/* ==========================================================================
   ?�?Glassmorphism Base Utility
   ========================================================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur) saturate(180%);
  -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  background-image: none;
}

/* 3D Tilt Interaction */
.tilt {
  transition: transform 0.4s var(--ease-elastic), box-shadow 0.4s ease;
}

.tilt:hover {
  transform: translateY(-6px) scale(1.01) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.tilt-rev:hover {
  transform: translateY(-4px) scale(1.005);
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 210;
  margin: 10px 12px 0;
  background: rgba(248, 248, 250, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1760px;
  margin: 0 auto;
  min-height: 56px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.logo:hover {
  opacity: 0.82;
}

.logo:active {
  transform: translateY(1px);
}

.logo-icon-box {
  display: none;
}

.logo-text {
  font-family: "Space Grotesk", "SF Pro Display", "Pretendard Variable", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #0b0b0d;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.header-nav-item {
  border: none;
  background: transparent;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #3f3f46;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.header-nav-item:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #111827;
}

.header-nav-item.active {
  background: #111827;
  color: #fff;
}

.header-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header-nav-icon svg {
  width: 18px;
  height: 18px;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.presence-stack {
  display: flex;
  align-items: center;
  margin: 0;
}

.presence-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  cursor: help;
  position: relative;
}

.presence-avatar:hover {
  transform: translateY(-2px);
  z-index: 10;
}

.presence-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border: 2px solid #fff;
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  transition: 0.3s var(--ease-elastic);
}

.btn:active {
  transform: scale(0.95);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: 99px;
  color: var(--text-main);
  font-size: 14px;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn-primary {
  background: #1d1d1f;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.14);
}

.btn-primary:hover {
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.2);
  transform: translateY(-2px);
}

.btn-create {
  background: linear-gradient(135deg, #ff8a00 0%, #ff5f6d 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(255, 95, 109, 0.28);
}

.btn-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 95, 109, 0.35);
}

.connection-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.connection-dot .dot {
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.3s;
}

.connection-dot.connected .dot {
  background: var(--color-success);
  box-shadow: 0 0 12px var(--color-success);
}

.connection-dot.error .dot {
  background: var(--color-danger);
  box-shadow: 0 0 12px var(--color-danger);
}

/* ==========================================================================
   Main Layout & Controls
   ========================================================================== */
.main {
  max-width: 100%;
  margin: 28px auto 100px;
  padding: 0 32px;
}

.layout-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: start;
}

.widget-column {
  position: sticky;
  top: 210px;
}

.main-column {
  min-width: 0;
}

.main-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 8px;
}

.page-intro {
  padding: 10px 4px 22px;
}

.page-intro-title {
  font-size: clamp(48px, 10vw, 110px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-intro-title::before,
.page-intro-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 40px;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.22), rgba(17, 24, 39, 0.05));
}

.aux-panels {
  display: contents;
}

.aux-panel {
  border-radius: 20px;
  padding: 22px;
  width: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 255, 0.85));
  box-shadow: 0 16px 36px rgba(18, 43, 94, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.widget-column .btn {
  font-size: 13px;
}

.widget-column .btn.btn-glass {
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 246, 255, 0.6));
  border: 1px solid rgba(0, 122, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.05);
  transition: all 0.25s ease;
}

.widget-column .btn.btn-glass:hover {
  background: #fff;
  border-color: rgba(0, 122, 255, 0.3);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.12);
  transform: translateY(-1px);
}

.widget-column .member-search-input {
  font-size: 12px;
  height: 38px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.widget-column .member-search-input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.aux-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.aux-subtitle {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.35;
}

.benefit-group {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(244, 249, 255, 0.4));
  box-shadow: 0 8px 24px rgba(11, 34, 86, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 34, 86, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.benefit-group:last-child {
  margin-bottom: 0;
}

.benefit-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.benefit-chip-list {
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0c4f86;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  transition: all 0.2s ease;
}

.benefit-chip:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.4);
}

.benefit-chip button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-weight: 900;
  line-height: 1;
}

.benefit-input-row {
  display: flex;
  gap: 6px;
}

.benefit-input-row input {
  min-width: 0;
}

.benefit-input-row button {
  flex-shrink: 0;
}

.admin-me {
  font-size: 13px;
  font-weight: 800;
  color: #0c4f86;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(0, 122, 255, 0.05));
  border: 1px solid rgba(0, 122, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-online-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-online-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(244, 249, 255, 0.5));
  box-shadow: 0 4px 16px rgba(11, 34, 86, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.admin-online-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 34, 86, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.admin-online-name {
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-online-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 6px var(--color-success);
}

.admin-online-time {
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 8px;
}

/* Tab Bar */
.tab-bar {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: 99px;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 99px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.4);
}

.tab.active {
  background: var(--text-main);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 12px;
}

.tab.active .tab-count {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 150px;
}

.stat-card.stat-filter-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card.stat-filter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.stat-card.is-active {
  outline: 2px solid rgba(0, 122, 255, 0.45);
  box-shadow: 0 16px 28px rgba(0, 122, 255, 0.16);
}

/* �??곹깭�?????????踰덉�???�낵 */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
}

.stat-card.stat-warn::before {
  background: var(--color-warn);
}

.stat-card.stat-success::before {
  background: var(--color-success);
}

.stat-card.stat-danger::before {
  background: var(--color-danger);
}

.stat-card.stat-info::before {
  background: var(--color-info);
}

.stat-lbl {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: none;
  letter-spacing: 0.02em;
}

.stat-val {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-main);
}

.stat-warn .stat-val {
  color: var(--color-warn);
}

.stat-success .stat-val {
  color: var(--color-success);
}

.stat-danger .stat-val {
  color: var(--color-danger);
}

.stat-info .stat-val {
  color: var(--color-info);
}

/* Search Toolbar */
.search-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 99px;
  margin-bottom: 32px;
  transition: 0.3s;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.2);
}

.search-box svg {
  color: var(--text-muted);
  transition: 0.3s;
}

.search-box:focus-within svg {
  color: var(--primary);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 17px;
  font-family: var(--font-family);
  width: 100%;
  color: var(--text-main);
  font-weight: 500;
}

.search-box input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.notice-panel {
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.88));
  box-shadow: 0 10px 28px rgba(7, 47, 120, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.notice-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-head p {
  font-size: 12px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.5);
  padding: 4px 10px;
  border-radius: 99px;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.notice-item {
  background: #fff;
  border: 1px solid rgba(0, 40, 100, 0.08);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
}

.notice-item:hover {
  box-shadow: 0 8px 24px rgba(0, 40, 100, 0.08);
}

.notice-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 10px;
}

.notice-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notice-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-author {
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-dark);
}

.notice-time {
  font-size: 11px;
  color: #8c9bb0;
  font-weight: 500;
}

.notice-target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notice-tag {
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.notice-item-text {
  font-size: 14px;
  color: #333;
  word-break: break-all;
  margin-bottom: 14px;
}

.notice-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.5);
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.notice-target-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-target-preview {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dropdown specific styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.1s;
}

.dropdown-item:hover {
  background: rgba(0, 102, 255, 0.05);
}

/* Comments section */
.notice-comments {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding-bottom: 8px;
}

.notice-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.notice-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-comment-author {
  font-weight: 700;
  color: var(--primary-dark);
}

.notice-comment-time {
  color: #8c9bb0;
  font-size: 10px;
}

.notice-comment-text {
  color: #444;
  line-height: 1.4;
}

.notice-reply-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.notice-reply-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
}

.notice-input {
  width: 100%;
  min-height: 70px;
  resize: vertical;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-main);
  font-family: var(--font-family);
}

.notice-input:focus {
  outline: none;
  border-color: rgba(0, 122, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.14);
}

.notice-input-group .btn {
  align-self: flex-end;
  padding: 8px 16px;
  font-size: 13px;
}

/* ==========================================================================
   Cards List & Items
   ========================================================================== */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.match-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.user-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.user-info .name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.user-info .name span:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.user-info .meta {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
  font-weight: 500;
  display: flex;
  gap: 8px;
}

.phase-tag {
  background: var(--text-main);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.status-pill {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.status-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.st-pending {
  color: var(--color-warn);
}

.st-pending::before {
  background: var(--color-warn);
  box-shadow: 0 0 8px var(--color-warn);
}

.st-success {
  color: var(--color-success);
}

.st-success::before {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.st-failed {
  color: var(--color-danger);
}

.st-failed::before {
  background: var(--color-danger);
  box-shadow: 0 0 8px var(--color-danger);
}

.st-info {
  color: var(--color-info);
}

.st-info::before {
  background: var(--color-info);
  box-shadow: 0 0 8px var(--color-info);
}

.card-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s var(--ease-elastic);
}

.match-card.expanded .card-toggle-btn {
  transform: rotate(180deg);
  background: var(--text-main);
  color: #fff;
}

.card-body {
  display: none;
  padding: 28px;
  background: rgba(250, 250, 252, 0.6);
  border-top: 1px solid var(--glass-border);
  animation: slideDown 0.3s var(--ease-elastic);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.note-box {
  background: rgba(255, 69, 58, 0.1);
  color: var(--color-danger);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-danger);
}

.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Loading & Empty --- */
.loading-state,
.empty-state {
  text-align: center;
  padding: 100px 0;
  color: var(--text-sub);
  border-radius: var(--radius-md);
}

.spinner-box {
  margin-bottom: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(17, 24, 39, 0.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-Graphic {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(24px);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  width: 90%;
  max-width: 540px;
  padding: 40px;
  position: relative;
}

#imageModal .modal-content {
  width: min(94vw, 1180px);
  max-width: none;
  padding: 18px;
  overflow: hidden;
}

#imageModal .modal-content::after {
  content: '휠로 확대/축소';
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  pointer-events: none;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

#modalImage {
  display: block;
  width: auto;
  height: auto;
  max-width: min(90vw, 1120px);
  max-height: 84vh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.14s ease;
  cursor: zoom-in;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.modal-close:hover {
  background: var(--color-danger);
  color: #fff;
}

.config-modal h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.config-desc {
  color: var(--text-sub);
  margin-bottom: 32px;
  font-size: 16px;
}

.config-field {
  margin-bottom: 24px;
}

.config-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.glass-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  font-family: var(--font-family);
  transition: 0.3s;
}

.glass-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.2);
}

.btn-lg {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 18px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 28px;
  border-radius: 99px;
  font-weight: 700;
  color: #fff;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastPop 0.4s var(--ease-elastic), fadeOut 0.3s ease 2.7s forwards;
}

.toast::before {
  content: '';
  font-size: 18px;
}

.toast.success {
  background: var(--color-success);
}

.toast.success::before {
  content: 'OK';
}

.toast.error {
  background: var(--color-danger);
}

.toast.error::before {
  content: 'ERR';
}

.toast.info {
  background: var(--primary);
}

.toast.info::before {
  content: 'INFO';
}

@keyframes toastPop {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ==========================================================================
   ??Hamburger Button
   ========================================================================== */
.hamburger-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  transition: background 0.24s ease, transform 0.24s ease;
  margin-right: 2px;
}

.hamburger-btn:hover {
  background: rgba(17, 24, 39, 0.06);
}

.hamburger-btn span {
  display: block;
  width: 16px;
  height: 1.8px;
  background: #111827;
  border-radius: 99px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

/* ==========================================================================
   ?�?Sidebar Navigation
   ========================================================================== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(244, 244, 246, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 198;
  animation: fadeIn 0.28s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.sidebar {
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1480px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 88px);
  overflow: auto;
  z-index: 205;
  background: rgba(248, 248, 250, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  animation: menuDropIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes menuDropIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.sidebar-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.sidebar-logo strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.sidebar-close {
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.sidebar-close:hover {
  background: #111827;
  color: #fff;
  transform: rotate(90deg);
}

.mega-menu-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding: 8px 28px 30px;
}

.sidebar-nav {
  flex: none;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #111827;
  text-align: left;
  font-family: var(--font-family);
  transition: background 0.24s ease, transform 0.24s ease, color 0.24s ease;
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(15, 23, 42, 0.045);
  transform: translateX(6px);
}

.sidebar-item.active {
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.sidebar-item.active:hover {
  transform: translateX(6px);
}

.sidebar-item-index {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: rgba(17, 24, 39, 0.06);
  color: #475569;
  flex-shrink: 0;
}

.sidebar-item.active .sidebar-item-index {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}

.sidebar-item-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sidebar-item-copy small {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-item-copy strong {
  font-size: 28px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sidebar-item.active .sidebar-item-copy small {
  color: rgba(255, 255, 255, 0.58);
}

.mega-menu-stage {
  min-width: 0;
  padding: 18px 10px 6px 0;
}

.mega-menu-copy {
  max-width: 860px;
  padding: 22px 0 8px;
}

.mega-menu-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.mega-menu-title {
  margin-top: 10px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.065em;
  color: #111827;
}

.mega-menu-desc {
  margin-top: 18px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
}

.mega-menu-head {
  margin-top: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.mega-menu-head-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.mega-menu-head-copy {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.mega-menu-open-btn {
  padding-inline: 18px;
}

.mega-menu-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.mega-menu-task-card {
  min-height: 196px;
  padding: 22px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.86));
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
  opacity: 0;
  transform: translateY(24px);
  animation: megaTaskIn 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mega-menu-task-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.18);
}

.mega-menu-task-card strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
}

.mega-menu-task-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
}

.mega-menu-stage.is-animating .mega-menu-kicker,
.mega-menu-stage.is-animating .mega-menu-title,
.mega-menu-stage.is-animating .mega-menu-desc,
.mega-menu-stage.is-animating .mega-menu-head {
  animation: megaFadeUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mega-menu-stage.is-animating .mega-menu-title {
  animation-delay: 40ms;
}

.mega-menu-stage.is-animating .mega-menu-desc {
  animation-delay: 100ms;
}

.mega-menu-stage.is-animating .mega-menu-head {
  animation-delay: 140ms;
}

@keyframes megaFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes megaTaskIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* API Status Dot */
.dot {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}

.connected .dot {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.error .dot {
  background: var(--color-danger);
  box-shadow: 0 0 8px var(--color-danger);
}

/* ===== Member Info Panel ===== */
.member-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #E8ECFF 0%, #F2F6FF 50%, #F7F9FF 100%);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

.member-panel.is-inline {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  background: transparent;
  animation: none;
  border-radius: 28px;
  overflow: hidden;
}

.member-panel.is-hidden {
  display: none;
}

body.gate-open {
  overflow: hidden;
}

body.image-modal-open .member-panel {
  pointer-events: none;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(12, 16, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.access-gate.is-hidden {
  display: none;
}

.access-gate-card {
  width: min(520px, 94vw);
  padding: 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-gate-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.access-gate-card p {
  margin: 0;
}

.access-gate-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.access-gate-input-row .member-search-input {
  width: 100%;
}

.access-gate-name-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.access-gate-subhint {
  font-size: 12px;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 4px;
}

.access-gate-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.access-gate-buttons .btn {
  flex: 1;
  min-width: 40px;
  font-weight: 800;
}

.wf-note-input {
  width: 100%;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.85);
  font-family: inherit;
  transition: all 0.2s ease;
}

.wf-note-input:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
}

.wf-note-input:focus {
  background: #fff;
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
  outline: none;
}

.wf-note-input:disabled {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.4);
  cursor: not-allowed;
}

.access-gate-msg {
  min-height: 18px;
  font-size: 12px;
  color: var(--text-sub);
}

.access-gate-msg.success {
  color: #0d8a53;
  font-weight: 700;
}

.access-gate-msg.error {
  color: #c62b2b;
  font-weight: 700;
}

.member-panel-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 253, 0.86)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(232, 238, 248, 0.72));
  backdrop-filter: blur(22px) saturate(1.15);
}

.member-panel.is-inline .member-panel-header {
  padding: 20px 24px;
}

.member-panel.is-inline .member-panel-header.glass {
  border-radius: 28px 28px 0 0;
  box-shadow: none;
}

.member-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.member-panel-toolbar--apple {
  align-items: stretch;
}

.member-search-shell {
  flex: 1 1 360px;
  min-width: min(100%, 280px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}

.member-search-shell--apple {
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 252, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 30px rgba(15, 23, 42, 0.08);
}

.member-search-shell svg {
  flex: 0 0 auto;
  color: var(--text-sub);
}

.member-search-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.member-search-shell .member-search-input {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.member-panel-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-panel-actions--apple {
  gap: 10px;
}

.member-panel.is-inline .member-panel-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-panel-subactions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.member-panel-subactions--apple {
  justify-content: flex-end;
  gap: 16px;
  padding-top: 2px;
}

.member-panel-subactions-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.member-panel-subactions-label {
  color: #1f2a3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-panel-subactions-text {
  color: #6f7b8d;
  font-size: 13px;
  line-height: 1.45;
}

.member-panel-subactions-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-panel.is-inline #memberPanelClose {
  display: none;
}

.member-search-input {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  font-size: 14px;
  width: 250px;
  outline: none;
  font-family: var(--font-family);
}

.member-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.member-search-shell .member-search-input:focus {
  box-shadow: none;
}

.member-search-stack {
  flex: 1 1 620px;
  min-width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-search-toolbar-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.member-search-toolbar-row .member-search-shell {
  flex: 1 1 360px;
}

.member-search-criterion {
  flex: 0 0 clamp(136px, 13vw, 162px);
  width: clamp(136px, 13vw, 162px);
  min-width: 136px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 252, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 28px rgba(15, 23, 42, 0.07);
}

.member-search-criterion-label {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.member-search-select {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.member-search-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.member-search-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1 1 360px;
}

.member-search-chip,
.member-search-clear {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.member-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #1d1d1f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.member-search-chip strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-search-chip-label {
  color: #6e6e73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-search-chip-remove {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
}

.member-search-chip--hint {
  border-style: dashed;
  color: #6e6e73;
  background: rgba(255, 255, 255, 0.68);
  cursor: default;
}

.member-search-clear {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.member-search-clear:hover {
  background: rgba(17, 24, 39, 0.12);
  color: #0f172a;
}

.member-search-result-hint {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.member-search-suggestion-panel {
  padding: 16px 18px;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top right, rgba(125, 177, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.94));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.member-search-suggestion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-search-suggestion-head strong {
  color: #111827;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.member-search-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-search-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1f;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.member-search-suggestion:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.member-search-suggestion span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-search-suggestion small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.member-apple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 246, 251, 0.84));
  color: #1f2a3d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.member-apple-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 30px rgba(15, 23, 42, 0.1);
}

.member-apple-btn:active {
  transform: translateY(0);
}

.member-apple-btn--secondary,
.member-apple-btn--ghost,
.member-apple-btn--sheet,
.member-apple-btn--toggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.88));
}

.member-apple-btn--primary,
.member-detail-edit-btn {
  border-color: rgba(17, 24, 39, 0.92);
  background: linear-gradient(180deg, rgba(34, 36, 40, 0.98), rgba(17, 24, 39, 0.96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 28px rgba(17, 24, 39, 0.22);
}

.member-apple-btn--primary:hover,
.member-detail-edit-btn:hover {
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 34px rgba(17, 24, 39, 0.26);
}

.member-apple-btn--ghost {
  color: #556274;
}

.member-apple-btn--toggle.is-active {
  border-color: rgba(17, 24, 39, 0.92);
  background: linear-gradient(180deg, rgba(34, 36, 40, 0.98), rgba(17, 24, 39, 0.96));
  color: #fff;
}

.member-apple-btn--danger {
  border-color: rgba(214, 63, 63, 0.18);
  background: linear-gradient(180deg, rgba(255, 239, 239, 0.96), rgba(255, 244, 244, 0.92));
  color: #b42318;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(180, 35, 24, 0.08);
}

.member-apple-btn--danger:hover {
  color: #9d1c12;
}

.member-apple-btn--warn {
  border-color: rgba(217, 119, 6, 0.22);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.94));
  color: #b45309;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 20px rgba(180, 83, 9, 0.08);
}

.member-apple-btn--warn:hover {
  color: #92400e;
}

.member-table-wrap {
  flex: 1;
  overflow: auto;
  padding: 16px 24px;
}

.member-panel.is-inline .member-table-wrap {
  overflow: auto;
  padding: 16px 0 0;
}

.member-directory-shell {
  position: relative;
  display: block;
}

.member-directory-list {
  min-width: 0;
}

.member-directory-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 14px;
  flex-wrap: wrap;
}

.member-directory-summary strong {
  font-size: 18px;
  font-weight: 800;
}

.member-directory-summary span {
  color: var(--text-sub);
}

.member-directory-summary-meta {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.member-gender-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
}

.member-directory-summary-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}

.member-directory-summary-total strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.member-gender-ring {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--member-gender-chart, conic-gradient(#4f7df0 0 50%, #ff6f91 50% 100%));
  flex: 0 0 auto;
}

.member-gender-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.member-gender-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #364152;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  z-index: 1;
}

.member-gender-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-gender-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 253, 0.94);
}

.member-gender-pill strong {
  font-size: 12px;
  font-weight: 800;
  color: #1f2a3d;
}

.member-gender-pill span {
  color: #657287;
  font-size: 11px;
  font-weight: 700;
}

.member-gender-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
}

.member-gender-pill--male .member-gender-dot {
  background: #4f7df0;
  box-shadow: 0 0 0 4px rgba(79, 125, 240, 0.16);
}

.member-gender-pill--female .member-gender-dot {
  background: #ff6f91;
  box-shadow: 0 0 0 4px rgba(255, 111, 145, 0.16);
}

.member-list-board {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.member-list-head {
  display: grid;
  grid-template-columns: 88px 108px minmax(0, 1.25fr) minmax(140px, 0.9fr) minmax(0, 1.1fr) 120px 56px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(247, 248, 252, 0.96);
}

.member-list-head-btn,
.member-list-head-spacer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #5f6f86;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.member-list-head-btn {
  all: unset;
  cursor: pointer;
}

.member-list-head-btn:hover {
  color: #1f2a3d;
}

.member-list-head-btn .sort-arrow {
  margin-left: 0;
}

.member-list-head-btn--member {
  padding-left: 0;
}

.member-list-head-spacer {
  justify-content: center;
}

.member-list-body {
  display: flex;
  flex-direction: column;
}

.member-list-row {
  display: grid;
  grid-template-columns: 88px 108px minmax(0, 1.25fr) minmax(140px, 0.9fr) minmax(0, 1.1fr) 120px 56px;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  text-align: left;
  font: inherit;
}

.member-list-row:first-child {
  border-top: none;
}

.member-list-row:hover {
  background: rgba(80, 115, 255, 0.05);
}

.member-list-row.is-selected {
  background: linear-gradient(90deg, rgba(84, 104, 255, 0.1), rgba(84, 104, 255, 0.04));
  box-shadow: inset 3px 0 0 #5368ff;
}

.member-list-cell {
  min-width: 0;
}

.member-list-cell--index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
}

.member-list-cell--member {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.member-list-cell--photo {
  display: flex;
  align-items: center;
}

.member-list-photo-frame {
  width: 88px;
  height: 110px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244, 246, 252, 0.98), rgba(233, 238, 247, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-list-photo,
.member-list-photo--placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.member-list-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e4e8f1, #d7deea);
  color: #364152;
  font-size: 18px;
  font-weight: 800;
}

.member-list-primary {
  min-width: 0;
}

.member-list-index-label {
  color: #8a97ab;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.member-list-index-value {
  color: #1f2a3d;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.member-list-name {
  font-size: 16px;
  font-weight: 800;
  color: #1f2a3d;
  line-height: 1.2;
}

.member-list-memberno {
  margin-top: 0;
  color: #75839b;
  font-size: 12px;
  font-weight: 700;
}

.member-list-copy-primary,
.member-list-copy-secondary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-list-copy-primary {
  color: #1f2a3d;
  font-size: 14px;
  font-weight: 700;
}

.member-list-copy-secondary {
  margin-top: 4px;
  color: #7b8799;
  font-size: 12px;
}

.member-list-cell--status {
  display: flex;
  align-items: center;
}

.member-list-cell--date {
  color: #66748a;
  font-size: 13px;
  font-weight: 700;
}

.member-list-cell--action {
  display: flex;
  justify-content: center;
}

.member-list-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(84, 104, 255, 0.08);
  color: #5368ff;
  font-size: 20px;
  font-weight: 800;
}

.member-list-empty {
  padding: 60px 24px;
  text-align: center;
  color: #728099;
  font-size: 14px;
}

.member-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.member-status-chip--detail {
  min-height: 36px;
  padding: 9px 18px;
  font-size: 13px;
}

.member-status-chip--active,
.member-status-chip--success {
  background: rgba(38, 186, 124, 0.16);
  color: #15754c;
}

.member-status-chip--warning {
  background: rgba(245, 172, 53, 0.2);
  color: #985d00;
}

.member-status-chip--danger {
  background: rgba(229, 84, 95, 0.15);
  color: #b4293d;
}

.member-status-chip--muted {
  background: rgba(108, 118, 138, 0.14);
  color: #516173;
}

.member-detail-panel {
  position: fixed;
  top: 88px;
  right: 18px;
  bottom: 18px;
  width: min(1240px, calc(100vw - 28px));
  z-index: 160;
  pointer-events: none;
}

.member-detail-drawer {
  height: 100%;
  transform: translateX(calc(100% + 28px));
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.member-detail-panel.is-open {
  pointer-events: auto;
}

.member-detail-panel.is-open .member-detail-drawer {
  transform: translateX(0);
  opacity: 1;
}

.member-detail-card,
.member-detail-empty-card {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at top right, rgba(120, 180, 255, 0.08), transparent 28%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 250, 0.92));
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.member-detail-card {
  padding: 26px;
  max-height: 100%;
  overflow: auto;
}

.member-detail-empty-card {
  padding: 48px 28px;
  text-align: center;
  color: #718096;
  height: 100%;
}

.member-detail-empty-title {
  color: #1f2a3d;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.member-detail-empty-actions {
  margin-top: 18px;
}

.member-detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.member-detail-card-head-actions {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.member-detail-head-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(320px, 100%);
  max-width: min(320px, 100%);
}

.member-detail-head-actions-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-detail-edit-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.member-detail-head-toggle {
  width: auto;
  min-width: 118px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.member-detail-head-toggle--danger {
  border-color: rgba(185, 28, 28, 0.18);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.96), rgba(220, 38, 38, 0.96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(185, 28, 28, 0.22);
}

.member-detail-head-toggle--danger:hover,
.member-detail-head-toggle--danger.is-active {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.98), rgba(153, 27, 27, 0.98));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 32px rgba(153, 27, 27, 0.28);
}

.member-detail-head-toggle--warn {
  border-color: rgba(217, 119, 6, 0.18);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.96), rgba(245, 158, 11, 0.96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(217, 119, 6, 0.22);
}

.member-detail-head-toggle--warn:hover,
.member-detail-head-toggle--warn.is-active {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.98), rgba(180, 83, 9, 0.98));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 32px rgba(180, 83, 9, 0.28);
}

.member-detail-card-title {
  color: #1d1d1f;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.member-detail-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #6e6e73;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.member-detail-close:hover {
  background: rgba(255, 255, 255, 0.98);
  color: #1d1d1f;
}

.member-detail-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px 6px;
}

.member-detail-photo-nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 0 68px;
}

.member-detail-photo-nav {
  position: absolute;
  top: 50%;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.member-detail-photo-nav--prev {
  left: 0;
}

.member-detail-photo-nav--next {
  right: 0;
}

.member-detail-photo-nav:hover {
  transform: translateY(calc(-50% - 1px));
  background: #fff;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  color: #111827;
}

.member-detail-photo-nav.is-disabled,
.member-detail-photo-nav:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
  transform: translateY(-50%);
}

.member-detail-photo-frame {
  width: 100%;
  max-width: 220px;
  height: 280px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(243, 246, 252, 0.98), rgba(232, 237, 247, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-detail-photo,
.member-detail-photo--placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.member-detail-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2f8, #dce3ef);
  color: #364152;
  font-size: 42px;
  font-weight: 800;
}

.member-detail-name {
  margin-top: 12px;
  color: #1f2a3d;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.member-detail-subline {
  margin-top: 6px;
  color: #79859b;
  font-size: 14px;
  font-weight: 700;
}

.member-detail-memberno {
  margin-top: 12px;
  color: #7c8698;
  font-size: 13px;
  font-weight: 700;
}

.member-detail-gallery {
  width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.member-detail-gallery-item {
  flex: 0 0 clamp(150px, 12vw, 176px);
  width: clamp(150px, 12vw, 176px);
  scroll-snap-align: start;
}

.member-detail-gallery-wrap {
  width: 100%;
  max-width: 1040px;
  margin-top: 22px;
  padding: 14px 16px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.member-detail-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.member-detail-gallery-title {
  color: #1f2a3d;
  font-size: 14px;
  font-weight: 800;
}

.member-detail-gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.member-detail-gallery-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.member-detail-gallery-nav:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.member-detail-gallery-page {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #5f6c80;
  font-size: 12px;
  font-weight: 800;
}

.member-detail-gallery-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  min-width: max-content;
  padding-right: 14px;
  scroll-snap-type: x proximity;
}

.member-detail-gallery-thumb {
  width: 100%;
  aspect-ratio: 10 / 17;
  border-radius: 24px;
  display: block;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 250, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.82);
  cursor: zoom-in;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
}

.member-detail-section {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #f7f8fc;
}

.member-detail-section-title {
  margin-bottom: 12px;
  color: #6f7d92;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-detail-item--full {
  grid-column: 1 / -1;
}

.member-detail-label {
  margin-bottom: 6px;
  color: #7f8a9d;
  font-size: 12px;
  font-weight: 800;
}

.member-detail-value {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.member-detail-value--editable {
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.member-detail-value--editable:hover {
  background: #f3f7ff;
  border-color: rgba(83, 104, 255, 0.28);
}

.member-detail-value-text {
  color: #1f2a3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.member-detail-value-text--multiline {
  white-space: pre-wrap;
}

.member-detail-footer {
  margin-top: 16px;
  color: #7d8798;
  font-size: 12px;
  text-align: center;
}

.mallops-page {
  display: grid;
  gap: 18px;
}

.mallops-hero,
.mallops-shell,
.mallops-summary-card,
.mallops-record,
.mallops-empty {
  border-radius: 28px;
}

.mallops-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
}

.mallops-kicker {
  margin-bottom: 10px;
  color: #f43f8f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.mallops-hero h2 {
  margin: 0;
  color: #152033;
  font-size: clamp(28px, 4vw, 42px);
}

.mallops-hero p {
  margin: 10px 0 0;
  color: #607086;
  font-size: 15px;
  line-height: 1.7;
}

.mallops-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mallops-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mallops-summary-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.mallops-summary-card span {
  display: block;
  color: #7a8798;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mallops-summary-card strong {
  display: block;
  margin-top: 10px;
  color: #132033;
  font-size: 34px;
  font-weight: 900;
}

.mallops-summary-card small {
  display: block;
  margin-top: 8px;
  color: #7b8798;
  font-size: 13px;
}

.mallops-shell {
  padding: 24px;
}

.mallops-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.mallops-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mallops-tab {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #435163;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mallops-tab span {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mallops-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.mallops-tab.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff5fa2, #fb7185);
  box-shadow: 0 14px 26px rgba(244, 63, 148, 0.22);
}

.mallops-tab.is-active span {
  background: rgba(255, 255, 255, 0.18);
}

.mallops-search-wrap {
  flex: 1 1 280px;
  max-width: 360px;
}

.mallops-search-input {
  width: 100%;
}

.mallops-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mallops-submeta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #6b7788;
  font-size: 12px;
  font-weight: 800;
}

.mallops-page-error {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}

.mallops-content {
  display: grid;
  gap: 14px;
}

.mallops-record,
.mallops-empty {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.07);
}

.mallops-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.mallops-record-kicker {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mallops-record-head h3 {
  margin: 6px 0 0;
  color: #162235;
  font-size: 24px;
  line-height: 1.25;
}

.mallops-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mallops-pill--soft {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.mallops-pill--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.mallops-pill--pending {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.mallops-record-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mallops-record-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mallops-field {
  min-height: 78px;
  padding: 14px 15px;
  border-radius: 18px;
  background: #f8fafd;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mallops-field--wide {
  grid-column: span 2;
}

.mallops-field-label {
  display: block;
  margin-bottom: 8px;
  color: #7b8798;
  font-size: 12px;
  font-weight: 800;
}

.mallops-field-value {
  color: #182436;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.mallops-message-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 248, 252, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(244, 114, 182, 0.12);
}

.mallops-message-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #ec4899;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mallops-message-box p {
  margin: 0;
  color: #334155;
  line-height: 1.8;
  white-space: pre-wrap;
}

.mallops-answer-meta {
  margin-top: 10px;
  color: #7b8798;
  font-size: 13px;
  font-weight: 700;
}

.mallops-reply-shell {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.mallops-reply-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mallops-inline-label {
  color: #607086;
  font-size: 13px;
  font-weight: 800;
}

.mallops-reply-status {
  max-width: 180px;
}

.mallops-reply-textarea {
  width: 100%;
  min-height: 132px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #1f2937;
  resize: vertical;
  font: inherit;
  line-height: 1.7;
}

.mallops-reply-textarea:focus {
  outline: none;
  border-color: rgba(244, 63, 148, 0.38);
  box-shadow: 0 0 0 4px rgba(244, 63, 148, 0.08);
}

.mallops-reply-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.mallops-empty {
  text-align: center;
}

.mallops-empty strong {
  display: block;
  color: #1f2937;
  font-size: 18px;
}

.mallops-empty p,
.mallops-empty-hint {
  margin: 10px 0 0;
  color: #748094;
  line-height: 1.7;
}

.member-detail-layout-modal {
  position: fixed;
  inset: 0;
  z-index: 3600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.38);
}

.member-detail-layout-modal.is-hidden {
  display: none;
}

.member-detail-layout-dialog {
  width: min(1120px, 100%);
  max-height: min(84vh, 920px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.18);
}

.member-detail-layout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.member-detail-layout-title {
  color: #1f2a3d;
  font-size: 22px;
  font-weight: 800;
}

.member-detail-layout-eyebrow {
  color: #7d8798;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.member-detail-layout-desc {
  margin: 6px 0 0;
  color: #6f7b8d;
  font-size: 13px;
  line-height: 1.55;
}

.member-detail-layout-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: #6f7b8d;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.member-detail-layout-toolbar,
.member-detail-layout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.member-detail-layout-footer {
  justify-content: flex-end;
}

.member-detail-layout-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(400px, 0.92fr);
  gap: 18px;
}

.member-detail-layout-editor,
.member-detail-layout-preview-shell {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.member-detail-layout-toolbar-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-detail-layout-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-detail-layout-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-detail-layout-toolbar-text {
  color: #6f7b8d;
  font-size: 13px;
}

.member-detail-layout-list {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.member-detail-layout-empty {
  padding: 28px 20px;
  border-radius: 22px;
  background: rgba(247, 249, 253, 0.9);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  color: #6f7b8d;
  text-align: center;
}

.member-detail-layout-preview-shell {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(243, 247, 252, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.member-detail-layout-preview-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.member-detail-layout-preview-title {
  color: #1f2a3d;
  font-size: 15px;
  font-weight: 800;
}

.member-detail-layout-preview-copy {
  color: #6f7b8d;
  font-size: 12px;
  line-height: 1.5;
}

.member-detail-layout-preview {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.member-detail-layout-preview-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: #6f7b8d;
  text-align: center;
}

.member-detail-layout-row {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.92));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

.member-detail-layout-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.member-detail-layout-row-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.member-detail-layout-row-index {
  color: #1f2a3d;
  font-size: 15px;
  font-weight: 800;
}

.member-detail-layout-row-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.member-detail-layout-row-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: #425267;
  font-size: 11px;
  font-weight: 800;
}

.member-detail-layout-row-chip--soft {
  background: rgba(84, 104, 255, 0.08);
  color: #5368ff;
}

.member-detail-layout-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-detail-layout-row-caption {
  margin-bottom: 12px;
  color: #7a8798;
  font-size: 12px;
  line-height: 1.5;
}

.member-detail-layout-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) minmax(180px, 1fr) 132px;
  gap: 12px;
  align-items: end;
}

.member-detail-layout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.member-detail-layout-field label,
.member-detail-layout-toggle span {
  color: #6f7b8d;
  font-size: 12px;
  font-weight: 700;
}

.member-detail-layout-field label {
  cursor: text;
}

.member-detail-layout-field input,
.member-detail-layout-field select {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 253, 0.98);
  color: #1f2a3d;
  font: inherit;
  outline: none;
}

.member-detail-layout-field input:focus,
.member-detail-layout-field select:focus {
  border-color: rgba(83, 104, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(83, 104, 255, 0.12);
}

.member-detail-layout-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(248, 250, 253, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.member-detail-card--preview {
  padding: 18px;
  max-height: none;
  min-height: 100%;
  box-shadow: none;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.member-detail-card--preview .member-detail-card-head {
  margin-bottom: 2px;
}

.member-detail-card--preview .member-detail-top {
  padding-top: 10px;
}

.member-detail-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(84, 104, 255, 0.08);
  color: #4457cc;
  font-size: 12px;
  font-weight: 800;
}

.member-detail-shell {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.member-detail-hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.98fr) minmax(0, 1.02fr);
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(126, 180, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(242, 245, 250, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 18px 42px rgba(15, 23, 42, 0.08);
}

.member-detail-hero-media {
  display: flex;
  min-width: 0;
}

.member-detail-hero-media .member-detail-photo-nav-row {
  align-items: stretch;
  gap: 12px;
}

.member-detail-hero-media .member-detail-photo-frame {
  max-width: none;
  flex: 1 1 auto;
  min-height: 440px;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.76), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 245, 250, 0.96));
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.08);
}

.member-detail-hero-media .member-detail-photo-nav {
  align-self: center;
}

.member-detail-hero-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.member-detail-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.member-detail-memberno-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.84);
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.member-detail-hero-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.member-detail-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.74);
  color: #3a3a3c;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.member-detail-status-badge--premium {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.18), rgba(249, 115, 22, 0.18));
  color: #92400e;
}

.member-detail-status-badge--accent {
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(16, 185, 129, 0.18));
  color: #0f766e;
}

.member-detail-name-line {
  margin-top: 16px;
  color: #0f172a;
  font-size: clamp(28px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.member-detail-name-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.member-detail-name-copy {
  min-width: 0;
  flex: 1 1 280px;
}

.member-detail-demographics {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.member-detail-demographics-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-detail-inline-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.member-detail-inline-nav-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.member-detail-inline-nav-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
  color: #111827;
}

.member-detail-inline-nav-btn.is-disabled,
.member-detail-inline-nav-btn:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.member-detail-inline-nav-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.member-detail-inline-nav-copy span {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-detail-inline-nav-copy strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-detail-platform {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
}

.member-detail-meta-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-detail-meta-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.member-detail-meta-icon,
.member-detail-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-detail-meta-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
}

.member-detail-meta-icon svg,
.member-detail-section-icon svg {
  width: 18px;
  height: 18px;
}

.member-detail-meta-content {
  min-width: 0;
  flex: 1 1 auto;
}

.member-detail-meta-label {
  margin-bottom: 3px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-detail-meta-pill .member-detail-value {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.member-detail-meta-pill .member-detail-value--editable:hover {
  background: transparent;
  border-color: transparent;
}

.member-detail-meta-pill .member-detail-value-text {
  font-size: 13px;
  font-weight: 800;
}

.member-detail-hero-gallery {
  margin-top: 18px;
}

.member-detail-admin-actions {
  margin-top: 18px;
}

.member-detail-withdraw-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: none;
}

.member-detail-withdraw-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 247, 251, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

.member-detail-withdraw-shell--warn {
  border-color: rgba(217, 119, 6, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 251, 235, 0.96), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(255, 244, 227, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 28px rgba(180, 83, 9, 0.1);
}

.member-detail-withdraw-label {
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-detail-withdraw-input {
  width: 100%;
  min-height: 88px;
  padding: 13px 15px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(249, 250, 252, 0.98), rgba(243, 245, 249, 0.94));
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.member-detail-withdraw-input:focus {
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.06);
}

.member-detail-withdraw-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.member-detail-withdraw-note {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.member-detail-withdraw-note--warn {
  color: #9a3412;
}

.member-detail-withdraw-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.member-detail-hero-gallery .member-detail-gallery-wrap {
  margin-top: 0;
  max-width: none;
}

.member-detail-hero-gallery .member-detail-gallery-title {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.member-detail-section-card {
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 250, 0.94));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(175%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
}

.member-detail-section-card--wide {
  grid-column: 1 / -1;
}

.member-detail-section-card--admin {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  border-color: rgba(148, 163, 184, 0.22);
}

.member-detail-section-card--interview {
  background: linear-gradient(180deg, rgba(255, 247, 248, 0.98), rgba(255, 251, 250, 0.98));
  border-color: rgba(251, 113, 133, 0.14);
}

.member-detail-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.member-detail-section-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.98);
  color: #475569;
}

.member-detail-section-card--admin .member-detail-section-icon {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.member-detail-section-name {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.member-detail-section-card--admin .member-detail-section-name {
  color: #f8fafc;
}

.member-detail-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-detail-fact--full {
  grid-column: 1 / -1;
}

.member-detail-fact-label {
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.member-detail-section-card .member-detail-value {
  min-height: 52px;
  border-radius: 16px;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.member-detail-value--related {
  min-height: 0;
  padding: 14px;
}

.member-detail-section-card .member-detail-value--editable:hover {
  background: #eef4ff;
  border-color: rgba(87, 102, 245, 0.26);
}

.member-detail-section-card .member-detail-value-text {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.member-detail-section-card--admin .member-detail-fact-label {
  color: rgba(226, 232, 240, 0.7);
}

.member-detail-section-card--admin .member-detail-value {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.member-detail-section-card--admin .member-detail-value--editable:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.member-detail-section-card--admin .member-detail-value-text {
  color: #f8fafc;
}

.member-detail-related-stage {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 26px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.42) transparent;
  touch-action: pan-x pinch-zoom;
  cursor: grab;
  padding-bottom: 8px;
}

.member-detail-related-stage::-webkit-scrollbar {
  height: 8px;
}

.member-detail-related-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.42);
}

.member-detail-related-stage::-webkit-scrollbar-track {
  background: transparent;
}

.member-detail-related-stage:active {
  cursor: grabbing;
}

.member-detail-related-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-detail-related-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-detail-related-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.member-detail-related-page strong {
  color: #0f172a;
  font-size: 11px;
  font-weight: 900;
}

.member-detail-related-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.member-detail-related-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.member-detail-related-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.member-detail-related-nav:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.member-detail-related-track {
  display: flex;
  gap: 14px;
  width: max-content;
  min-width: max-content;
  padding-right: 14px;
  align-items: stretch;
}

.member-detail-related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 clamp(176px, 17vw, 228px);
  width: clamp(176px, 17vw, 228px);
  min-height: 0;
  height: 100%;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.9));
  text-align: left;
  color: inherit;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  scroll-snap-align: start;
}

.member-detail-related-card--blank {
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}

.member-detail-related-card--empty {
  align-items: flex-start;
  justify-content: center;
  cursor: default;
}

.member-detail-related-photo-frame {
  width: 100%;
  height: clamp(260px, 19vw, 360px);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.member-detail-related-photo,
.member-detail-related-photo--placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.member-detail-related-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #364152;
  font-size: 24px;
  font-weight: 800;
}

.member-detail-related-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.member-detail-related-no {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.member-detail-related-name {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.member-detail-related-copy,
.member-detail-related-ticket,
.member-detail-related-empty {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.member-detail-related-empty {
  padding: 2px 0;
}

.member-detail-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(87, 102, 245, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.08);
}

.member-detail-related-wrap.is-single .member-detail-related-stage {
  border-radius: 24px;
  overflow-x: hidden;
  padding-bottom: 0;
}

.member-detail-section-card--admin .member-detail-related-page {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 249, 0.88);
}

.member-detail-section-card--admin .member-detail-related-page strong {
  color: #f8fafc;
}

.member-detail-section-card--admin .member-detail-related-nav {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.member-detail-section-card--admin .member-detail-related-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 10px 18px rgba(2, 6, 23, 0.18);
}

.member-detail-section-card--admin .member-detail-related-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.member-detail-section-card--admin .member-detail-related-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.member-detail-section-card--admin .member-detail-related-photo-frame {
  border-color: rgba(255, 255, 255, 0.12);
}

.member-detail-section-card--admin .member-detail-related-no {
  color: rgba(226, 232, 240, 0.72);
}

.member-detail-section-card--admin .member-detail-related-name,
.member-detail-section-card--admin .member-detail-related-copy,
.member-detail-section-card--admin .member-detail-related-ticket,
.member-detail-section-card--admin .member-detail-related-empty {
  color: #f8fafc;
}

.member-detail-section-card--admin .member-detail-related-stage {
  scrollbar-color: rgba(226, 232, 240, 0.42) transparent;
}

.member-detail-section-card--admin .member-detail-related-stage::-webkit-scrollbar-thumb {
  background: rgba(226, 232, 240, 0.42);
}

.member-detail-interview-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-detail-interview-item {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(251, 113, 133, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

.member-detail-interview-q {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #9f1239;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.member-detail-interview-qmark {
  color: #fb7185;
  flex: 0 0 auto;
}

.member-detail-interview-a {
  margin-top: 10px;
  padding-left: 18px;
}

.member-detail-interview-a .member-detail-value {
  min-height: 0;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(251, 113, 133, 0.14);
}

.member-detail-card--preview .member-detail-shell {
  gap: 14px;
}

.member-detail-card--preview .member-detail-hero {
  grid-template-columns: 1fr;
  padding: 18px;
  border-radius: 22px;
}

.member-detail-card--preview .member-detail-sections {
  grid-template-columns: 1fr;
}

.member-detail-section--merged {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .overview-mode-bar {
    grid-template-columns: 1fr;
  }

  .overview-column {
    min-width: min(86vw, 340px);
    max-width: min(86vw, 340px);
  }

  .member-search-toolbar-row {
    flex-direction: column;
  }

  .member-search-result-hint {
    white-space: normal;
  }

  .member-detail-hero,
  .member-detail-meta-grid,
  .member-detail-sections,
  .member-detail-section-grid {
    grid-template-columns: 1fr;
  }

  .member-detail-section-card--wide {
    grid-column: auto;
  }

  .member-detail-name-row {
    flex-direction: column;
    align-items: stretch;
  }

  .member-detail-withdraw-card {
    min-width: 100%;
    max-width: 100%;
  }

  .member-detail-head-actions-stack {
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .member-search-stack {
    min-width: 100%;
  }

  .overview-column-title-group strong {
    font-size: 17px;
  }

  .overview-member-card-title {
    font-size: 18px;
  }

  .overview-summary-col,
  .overview-next-col {
    min-width: 180px;
    width: 180px;
  }

  .member-search-toolbar-row {
    flex-direction: column;
  }

  .member-search-criterion {
    width: 100%;
    min-width: 100%;
    flex-basis: auto;
  }

  .member-search-meta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .member-search-result-hint {
    width: 100%;
    justify-content: center;
  }

  .member-detail-card {
    padding: 18px;
  }

  .member-detail-hero {
    padding: 18px;
  }

  .member-detail-hero-media .member-detail-photo-frame {
    min-height: 300px;
  }

  .member-detail-hero-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-detail-name-row {
    gap: 14px;
  }

  .member-detail-hero-badges {
    justify-content: flex-start;
  }

  .member-detail-meta-pill {
    padding: 12px 14px;
  }

  .member-detail-withdraw-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .member-detail-withdraw-note {
    width: 100%;
  }

  .member-detail-withdraw-btn {
    width: 100%;
    justify-content: center;
  }

  .member-detail-related-photo-frame {
    height: clamp(180px, 46vw, 280px);
  }

  .member-detail-related-card {
    flex-basis: clamp(154px, 44vw, 208px);
    width: clamp(154px, 44vw, 208px);
  }
}

.member-table-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.member-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  width: max-content;
}

.member-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.member-table th {
  background: rgba(235, 242, 255, 0.98);
  color: var(--text-main);
  font-weight: 600;
  font-size: 12px;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid var(--primary);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.member-table th:last-child {
  border-right: none;
}

.member-table th.member-col-header {
  cursor: grab;
}

.member-table th.member-col-header.dragging {
  opacity: 0.5;
}

.member-col-resizer {
  position: absolute;
  top: 0;
  right: -3px;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  z-index: 20;
}

.member-col-resizer:hover {
  background: rgba(17, 24, 39, 0.12);
}

.member-th-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.member-col-rename {
  margin-left: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  font-size: 11px;
  cursor: pointer;
  color: var(--text-sub);
}

.member-col-rename:hover {
  color: var(--primary);
  border-color: rgba(17, 24, 39, 0.22);
}

.member-table th .sort-arrow {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.4;
}

.member-table th .sort-arrow.active {
  opacity: 1;
  color: var(--primary);
}

.member-filter-row th {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 8px;
  cursor: default;
  position: sticky;
  top: 42px;
  z-index: 7;
}

.member-filter-input {
  width: 100%;
  min-width: 52px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 11px;
  font-family: var(--font-family);
  background: #fff;
}

.member-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  white-space: normal;
  word-break: break-word;
  min-width: 88px;
  max-width: 420px;
  vertical-align: top;
  max-height: none;
  overflow: visible;
  cursor: default;
  transition: background 0.2s ease;
}

.member-table td.member-media-cell {
  max-height: none;
  overflow: visible;
  cursor: default;
}

.member-table tbody tr {
  height: var(--member-row-height, 46px);
}

.member-sticky-index {
  position: sticky !important;
  left: 0;
  z-index: 8;
  min-width: 88px !important;
  width: 88px !important;
  max-width: 120px !important;
  background: rgba(244, 244, 246, 0.98);
}

.member-filter-row .member-sticky-index {
  z-index: 9;
}

.member-table tbody tr:nth-child(even) .member-sticky-index {
  background: rgba(239, 239, 242, 0.98);
}

.member-index-cell {
  cursor: pointer;
  font-weight: 700;
}

.member-index-cell:hover {
  background: rgba(255, 173, 63, 0.18);
}

.member-editable-cell {
  cursor: pointer !important;
}

.member-editable-cell:hover {
  background: rgba(0, 122, 255, 0.08);
  outline: 1px solid rgba(0, 122, 255, 0.35);
  outline-offset: -1px;
}

.member-media-slider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.member-media-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.08);
  color: #0a4f88;
  font-size: 12px;
  font-weight: 700;
  min-height: 36px;
}

.member-media-nav {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.member-media-thumb {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
}

.member-media-index {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

.member-table td:last-child {
  border-right: none;
}

.member-table td.cell-expanded {
  max-height: none;
  overflow: visible;
}

.member-table tbody tr:hover {
  background: rgba(0, 122, 255, 0.05);
}

.member-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

/* Column hide */
.col-hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Editable cells */
.member-table td.editable {
  cursor: pointer;
}

.member-table td.editable:hover {
  background: rgba(0, 122, 255, 0.08);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 4px;
}

/* Editable headers (local only) */
.member-table th.editable-header {
  cursor: pointer;
}

.member-table th.editable-header:hover {
  background: rgba(255, 165, 0, 0.15);
  outline: 2px solid orange;
  outline-offset: -2px;
}

@media (max-width: 1180px) {
  .member-directory-shell {
    display: block;
  }

  .member-detail-panel {
    width: min(760px, calc(100vw - 24px));
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 860px) {
  .member-directory-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-gender-summary {
    width: 100%;
    justify-content: space-between;
  }

  .member-directory-summary-total {
    min-height: 48px;
    padding: 0 16px;
  }

  .member-list-head {
    display: none;
  }

  .member-list-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .member-list-cell--index {
    gap: 4px;
  }

  .member-list-index-value {
    font-size: 18px;
  }

  .member-list-cell--photo {
    justify-content: flex-start;
  }

  .member-list-photo-frame {
    width: 84px;
    height: 108px;
  }

  .member-list-cell--action {
    display: none;
  }

  .member-list-cell--date,
  .member-list-cell--status {
    justify-content: flex-start;
  }

  .member-detail-card {
    padding: 18px;
  }

  .member-detail-panel {
    top: 78px;
    left: 12px;
    right: 12px;
    width: auto;
  }

  .member-detail-name {
    font-size: 24px;
  }

  .member-detail-photo-nav-row {
    gap: 10px;
    padding: 0 56px;
  }

  .member-detail-photo-nav {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .member-detail-grid {
    grid-template-columns: 1fr;
  }

  .member-detail-item--full {
    grid-column: auto;
  }

  .member-detail-gallery-controls {
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
  }

  .member-detail-gallery {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .member-detail-gallery-track {
    min-width: max-content;
  }

  .member-detail-gallery-item {
    flex-basis: 148px;
    width: 148px;
  }
}

/* Drive image thumbnails */
.drive-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
}

.drive-thumb:hover {
  transform: scale(3);
  z-index: 100;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Column hide dropdown */
.col-toggle-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 8px;
  max-height: 300px;
  overflow: hidden;
  z-index: 9999;
  min-width: 240px;
}

.col-toggle-menu-head {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.col-toggle-menu-head .btn {
  flex: 1;
}

.col-toggle-menu-list {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 4px 0;
}

.col-toggle-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
}

.col-toggle-item:hover {
  background: rgba(0, 122, 255, 0.05);
}

.col-toggle-empty {
  padding: 10px 12px;
  color: var(--text-sub);
  font-size: 12px;
}

/* View mode toggle buttons */
.view-mode-group {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 2px;
}

.view-mode-group--apple {
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.86));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.view-mode-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  font-family: var(--font-family);
}

.view-mode-group--apple .view-mode-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: #5a687c;
  font-size: 13px;
  font-weight: 700;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.view-mode-btn.active {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  font-weight: 700;
}

.view-mode-group--apple .view-mode-btn.active {
  background: linear-gradient(180deg, rgba(34, 36, 40, 0.98), rgba(17, 24, 39, 0.96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(17, 24, 39, 0.18);
}

.last-update-hint {
  font-size: 12px;
  color: #7f8793;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Daily Overview Slide Mode ===== */
.overview-container {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 18px 0 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.overview-container::-webkit-scrollbar {
  height: 6px;
}

.overview-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.overview-column {
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at top right, rgba(126, 180, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 250, 0.92));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
}

.overview-column-header {
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.overview-column-title-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overview-column-title-group strong {
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.overview-column-phase,
.overview-column-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.overview-column-phase {
  background: rgba(17, 24, 39, 0.08);
  color: #1f2937;
}

.overview-column-step {
  background: rgba(84, 104, 255, 0.1);
  color: #4457cc;
}

.overview-column-header .count-badge {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.18);
}

.overview-column-body {
  padding: 14px;
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overview-member-card {
  padding: 14px;
  margin-bottom: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.94));
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.overview-member-card:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 104, 255, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.overview-member-card-head,
.overview-member-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.overview-member-card-order,
.overview-member-card-position,
.overview-member-card-chip,
.overview-member-card-next {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.overview-member-card-order {
  background: rgba(17, 24, 39, 0.07);
  color: #475569;
}

.overview-member-card-position {
  background: rgba(84, 104, 255, 0.12);
  color: #4457cc;
}

.overview-member-card-title {
  margin-top: 12px;
  color: #0f172a;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.overview-member-card-copy {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
  word-break: break-word;
}

.overview-member-card-meta {
  margin-top: 12px;
}

.overview-member-card-chip {
  background: rgba(15, 23, 42, 0.08);
  color: #1f2937;
}

.overview-member-card-next {
  background: rgba(244, 246, 250, 0.96);
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.overview-empty-col {
  text-align: center;
  color: var(--text-muted);
  padding: 26px 18px;
  border-radius: 20px;
  background: rgba(248, 250, 253, 0.92);
}

.overview-table-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 2px 2px;
}

.overview-table-meta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.overview-table-meta p {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
  flex: 1 1 360px;
}

.overview-table-meta-chip,
.overview-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.overview-table-meta-chip {
  background: rgba(17, 24, 39, 0.07);
  color: #1d1d1f;
}

.overview-table-meta-chip--soft {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
}

.overview-status-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.overview-status-pill--done {
  background: rgba(48, 209, 88, 0.14);
  color: #147a35;
}

.overview-status-pill--current {
  background: rgba(0, 122, 255, 0.14);
  color: #0b5fc1;
}

.overview-status-pill--todo {
  background: rgba(17, 24, 39, 0.08);
  color: #475569;
}

.overview-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overview-mode-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.overview-mode-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 148px;
  padding: 20px 22px 18px;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top right, rgba(125, 177, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.94));
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.overview-mode-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.overview-mode-btn.active {
  border-color: rgba(17, 24, 39, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(34, 36, 40, 0.98), rgba(17, 24, 39, 0.98));
  color: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.overview-mode-kicker {
  color: #6e6e73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overview-mode-btn.active .overview-mode-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.overview-mode-btn strong {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.overview-mode-btn small {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.overview-mode-btn.active small {
  color: rgba(255, 255, 255, 0.74);
}

.overview-mode-badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 800;
}

.overview-mode-btn.active .overview-mode-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.overview-mode-state {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.overview-member-wrap {
  border-radius: var(--radius-md);
  padding: 12px;
}

.overview-member-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.overview-member-table thead th {
  position: sticky;
  top: 0;
  background: rgba(0, 122, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: left;
}

.overview-member-table tbody td {
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}

.overview-member-no {
  font-weight: 800;
}

.overview-gauge {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-width: 120px;
}

.overview-gauge-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d1d1f 0%, #6e6e73 100%);
}

.overview-gauge-label {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 4px;
  display: inline-block;
}

.overview-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overview-detail-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0b4f82;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.12);
}

.archive-panel {
  border-radius: var(--radius-md);
  padding: 14px;
}

.archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.archive-head h3 {
  font-size: 18px;
  font-weight: 800;
}

.archive-head span {
  font-size: 12px;
  color: var(--text-sub);
}

.archive-table-wrap {
  overflow: auto;
  max-height: 74vh;
}

.archive-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.archive-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}

.archive-table tbody td {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 10px;
  white-space: pre-wrap;
  word-break: break-word;
  vertical-align: top;
}

.archive-empty {
  text-align: center;
  color: var(--text-sub);
}

/* ===== Workflow Board (Individual View) ===== */
.wf-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wf-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0 12px;
}

.wf-filter-btn {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
  border-radius: 14px;
  padding: 14px 22px;
  min-height: 54px;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-family);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wf-filter-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.wf-filter-btn.active {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.wf-subfilter-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.wf-subfilter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wf-subfilter-btn {
  border: 1px solid rgba(0, 122, 255, 0.28);
  background: rgba(0, 122, 255, 0.1);
  color: #0a4f88;
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wf-subfilter-btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 122, 255, 0.18);
  box-shadow: 0 6px 14px rgba(0, 122, 255, 0.22);
}

.wf-subfilter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 122, 255, 0.3);
}

.wf-subfilter-guide {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wf-subfilter-guide-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
}

.wf-subfilter-guide-label {
  color: var(--text-sub);
}

.wf-subfilter-guide-copy {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-sub);
}

.wf-group-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  padding: 8px 4px 0;
}

.wf-board {
  transform: scale(0.8);
  transform-origin: top left;
  width: 125%;
}

.wf-section {
  border-radius: var(--radius-md);
  padding: 14px;
}

.wf-section-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.wf-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.wf-section-meta {
  color: var(--text-sub);
  font-size: 12px;
}

.wf-section-count {
  min-width: 30px;
  text-align: center;
  background: rgba(0, 122, 255, 0.12);
  color: var(--primary);
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

.wf-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.wf-list.wf-list-vertical {
  grid-template-columns: 1fr;
}

.wf-list.wf-list-profile-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wf-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 24px;
  border-bottom: 3px solid rgba(17, 24, 39, 0.1);
}

.wf-item.wf-item-flat {
  padding: 10px 12px;
}

.wf-item-index {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.wf-item-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wf-item-top .wf-item-index {
  margin-bottom: 0;
}

.wf-item-top-right {
  margin-left: auto;
  display: inline-flex;
  align-items: flex-start;
}

.wf-index-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wf-index-meta-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
}

.wf-index-meta-label {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 700;
}

.wf-index-meta-value {
  font-size: 12px;
  color: var(--text-main);
  min-width: 0;
  word-break: break-word;
}

.wf-index-row {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(36px, auto);
  column-gap: 14px;
  align-items: center;
}

.wf-index-value span {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.wf-member-no-slot {
  min-width: 0;
}

.wf-member-no-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.wf-member-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.wf-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.wf-member-badge.badge-premium {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.wf-member-badge.badge-match {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.wf-member-badge.badge-meeting {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.wf-section-columns,
.wf-section-row {
  display: grid;
  gap: 12px;
  align-items: center;
}

.wf-section-columns {
  padding: 0 12px 2px;
}

.wf-cols-profile-create,
.wf-section-row-profile-create {
  grid-template-columns: minmax(90px, 0.8fr) minmax(52px, 0.45fr) minmax(200px, 1.5fr) minmax(150px, 1fr);
}

.wf-cols-profile-unsent,
.wf-section-row-profile-unsent {
  grid-template-columns: minmax(430px, 2.2fr) minmax(90px, 0.5fr) minmax(130px, 0.8fr) minmax(200px, 1.5fr) minmax(130px, 0.8fr);
  align-items: stretch;
}

.wf-cols-opp-uncreated,
.wf-section-row-opp-uncreated {
  grid-template-columns: minmax(90px, 0.55fr) minmax(52px, 0.35fr) minmax(180px, 0.95fr) minmax(220px, 1.2fr) minmax(90px, 0.55fr) minmax(150px, 1.2fr) minmax(180px, 1fr);
}

.wf-cols-phase1-opp,
.wf-section-row-phase1-opp {
  grid-template-columns: minmax(70px, 0.5fr) minmax(40px, 0.3fr) minmax(180px, 2fr) minmax(120px, 1fr) minmax(180px, 1fr);
}

.wf-cols-phase1-unselected,
.wf-section-row-phase1-unselected {
  grid-template-columns: minmax(90px, 0.7fr) minmax(52px, 0.35fr) minmax(120px, 1fr) minmax(150px, 1.5fr) minmax(90px, 0.6fr);
}

.wf-cols-phase2-opp,
.wf-section-row-phase2-opp {
  grid-template-columns: minmax(70px, 0.5fr) minmax(40px, 0.3fr) minmax(140px, 1fr) minmax(160px, 1.5fr) minmax(80px, 0.6fr) minmax(120px, 1fr) minmax(180px, 1.2fr);
}

.wf-cols-phase2-unselected,
.wf-section-row-phase2-unselected {
  grid-template-columns: minmax(90px, 0.6fr) minmax(52px, 0.35fr) minmax(220px, 1.2fr) minmax(120px, 0.7fr) minmax(150px, 1.5fr) minmax(110px, 0.7fr);
}

.wf-section-col {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
}

.wf-section-col:last-child {
  text-align: left;
}

.wf-section-row .wf-section-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.wf-section-row .wf-section-cell:last-child {
  justify-content: flex-start;
}

.wf-section-row .wf-inline-actions {
  margin-left: 0;
}

.wf-section-message {
  font-size: 13px;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
}

.wf-table-ideal {
  width: 100%;
  min-height: 56px;
  font-size: 12px;
  white-space: pre-wrap;
}

.wf-profile-feature-card {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 244, 246, 0.94));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.wf-profile-feature-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-profile-feature-frame {
  min-height: 320px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, #ffffff, #f1f1f3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wf-profile-feature-frame .wf-media-group {
  width: 100%;
  justify-content: center;
}

.wf-profile-feature-frame .wf-thumb {
  width: min(100%, 220px);
  height: 300px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.wf-profile-feature-frame .wf-textbox,
.wf-profile-feature-frame .wf-link {
  width: 100%;
}

.wf-profile-feature-copy {
  align-self: flex-start;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.wf-profile-feature-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.wf-profile-feature-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-profile-feature-member {
  min-width: 0;
}

.wf-profile-feature-member .wf-member-no-wrap {
  gap: 8px;
}

.wf-profile-feature-member .wf-member-no-value,
.wf-profile-feature-member {
  font-size: 24px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.04em;
}

.wf-profile-feature-gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 800;
}

.wf-profile-feature-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wf-profile-feature-chip,
.wf-profile-feature-score {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.95);
}

.wf-profile-feature-chip-label,
.wf-profile-feature-note-label {
  font-size: 12px;
  font-weight: 700;
  color: #6e6e73;
}

.wf-profile-feature-chip-value {
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.wf-profile-score-select {
  min-width: 120px;
  border-color: rgba(17, 24, 39, 0.08);
  background-color: #fff;
  color: #1d1d1f;
  box-shadow: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%231d1d1f%22%20d%3D%22M1.2.7a.8.8%200%200%201%201.1%200L5%203.4%207.7.7a.8.8%200%200%201%201.1%201.1l-3.3%203.3a.8.8%200%200%201-1.1%200L1.2%201.8A.8.8%200%200%201%201.2.7Z%22%2F%3E%3C%2Fsvg%3E");
}

.wf-profile-score-select:hover,
.wf-profile-score-select:focus {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
  transform: none;
}

.wf-profile-feature-note-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-profile-feature-note {
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.98);
  resize: vertical;
  font-size: 14px;
  line-height: 1.6;
}

.wf-profile-feature-note:focus {
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.wf-profile-feature-actions {
  display: flex;
  justify-content: flex-end;
}

.wf-profile-feature-submit {
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: #1d1d1f;
  border-color: #1d1d1f;
  box-shadow: none;
  font-weight: 800;
}

.wf-profile-feature-submit:hover {
  transform: translateY(-1px);
  background: #000;
  border-color: #000;
}

.wf-item-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-inline-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wf-inline-grow {
  flex: 1 1 280px;
}

.wf-inline-label {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 700;
  white-space: nowrap;
}

.wf-inline-value {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.wf-inline-value.wf-inline-text {
  font-weight: 600;
  font-size: 13px;
}

.wf-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
}

.wf-profile-unsent-row {
  align-items: center;
}

.wf-inline-photo.wf-inline-photo-xl .wf-thumb {
  width: 340px;
  height: 340px;
}

.wf-inline-photo.wf-inline-photo-xxl .wf-thumb {
  width: 480px;
  height: 640px;
  object-fit: contain;
}

/* 이성프로필 미생성 사진 확대 */
.wf-section-row-opp-uncreated .wf-thumb {
  width: 360px;
  height: 480px;
  object-fit: contain;
}

.btn-copy-photo {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-copy-photo:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
}

/* 서비스 종료 버튼 */
.btn-end-service {
  background: linear-gradient(135deg, #64748b, #475569);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(71, 85, 105, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-end-service:hover {
  background: linear-gradient(135deg, #475569, #334155);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.45);
}

.btn-end-service:disabled,
.btn-repay:disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* 재결제 버튼 */
.btn-repay {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-repay:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

/* 2차이관 버튼 (1차 호감 미전달) */
.btn-transfer-p2 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-transfer-p2:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

.btn-transfer-p2:disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* 사진 보기 토글 버튼 */
.btn-photo-toggle {
  background: rgba(255, 255, 255, 0.85);
  color: #6366f1;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 0;
  transition: all 0.2s ease;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-photo-toggle:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.5);
}

/* 호감 미전달 헤더 - 상대 번호 */
.wf-like-opponent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 600;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 20px;
}

.wf-like-result-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 180px;
}

.wf-like-result-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1;
}

.wf-result-dropdown {
  position: relative;
  width: 220px;
  max-width: 100%;
  z-index: 8;
}

.wf-result-dropdown.is-open {
  z-index: 20;
}

.wf-result-dropdown.is-busy {
  pointer-events: none;
}

.wf-result-trigger.wf-result-select-sm {
  min-height: 38px;
  width: 220px;
  padding: 6px 10px 6px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
  background-color: var(--wf-result-bg, rgba(107, 114, 128, 0.12));
  color: var(--wf-result-text, #4b5563);
  border-color: var(--wf-result-border, rgba(107, 114, 128, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.wf-result-dropdown.is-open .wf-result-trigger {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.wf-result-trigger-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}

.wf-result-trigger-caret {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  opacity: 0.72;
}

.wf-result-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(241, 241, 243, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
}

.wf-result-dropdown.is-open .wf-result-menu {
  display: flex;
}

.wf-result-option {
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
}

.wf-result-option-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 32px;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 12px;
  border: 1px solid var(--wf-result-border, rgba(107, 114, 128, 0.28));
  background: var(--wf-result-bg, rgba(107, 114, 128, 0.12));
  color: var(--wf-result-text, #4b5563);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.wf-result-guide-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 12px;
  border: 1px solid var(--wf-result-border, rgba(107, 114, 128, 0.28));
  background: var(--wf-result-bg, rgba(107, 114, 128, 0.12));
  color: var(--wf-result-text, #4b5563);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.wf-result-option:hover .wf-result-option-pill {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px var(--wf-result-shadow, rgba(107, 114, 128, 0.16));
}

.wf-result-option.is-selected .wf-result-option-pill {
  box-shadow: 0 12px 22px var(--wf-result-shadow, rgba(107, 114, 128, 0.18));
}

.wf-result-trigger[data-color-step="neutral"],
.wf-result-option-pill[data-color-step="neutral"],
.wf-result-guide-pill[data-color-step="neutral"],
.wf-slide-jump[data-color-step="neutral"] {
  --wf-result-bg: #eef0f4;
  --wf-result-text: #4b5563;
  --wf-result-border: rgba(107, 114, 128, 0.24);
  --wf-result-solid: #6b7280;
  --wf-result-shadow: rgba(107, 114, 128, 0.2);
}

.wf-result-trigger[data-color-step="like-unsent"],
.wf-result-option-pill[data-color-step="like-unsent"],
.wf-result-guide-pill[data-color-step="like-unsent"],
.wf-slide-jump[data-color-step="like-unsent"] {
  --wf-result-bg: #ffe7bf;
  --wf-result-text: #c2410c;
  --wf-result-border: rgba(245, 158, 11, 0.32);
  --wf-result-solid: #f59e0b;
  --wf-result-shadow: rgba(245, 158, 11, 0.28);
}

.wf-result-trigger[data-color-step="like-sent"],
.wf-result-option-pill[data-color-step="like-sent"],
.wf-result-guide-pill[data-color-step="like-sent"],
.wf-slide-jump[data-color-step="like-sent"] {
  --wf-result-bg: #dbeafe;
  --wf-result-text: #1d4ed8;
  --wf-result-border: rgba(59, 130, 246, 0.3);
  --wf-result-solid: #3b82f6;
  --wf-result-shadow: rgba(59, 130, 246, 0.28);
}

.wf-result-trigger[data-color-step="match-success"],
.wf-result-option-pill[data-color-step="match-success"],
.wf-result-guide-pill[data-color-step="match-success"],
.wf-slide-jump[data-color-step="match-success"] {
  --wf-result-bg: #dcfce7;
  --wf-result-text: #15803d;
  --wf-result-border: rgba(34, 197, 94, 0.32);
  --wf-result-solid: #22c55e;
  --wf-result-shadow: rgba(34, 197, 94, 0.28);
}

.wf-result-trigger[data-color-step="room-done"],
.wf-result-option-pill[data-color-step="room-done"],
.wf-result-guide-pill[data-color-step="room-done"],
.wf-slide-jump[data-color-step="room-done"] {
  --wf-result-bg: #ede9fe;
  --wf-result-text: #6d28d9;
  --wf-result-border: rgba(139, 92, 246, 0.32);
  --wf-result-solid: #8b5cf6;
  --wf-result-shadow: rgba(139, 92, 246, 0.28);
}

.wf-result-trigger[data-color-step="match-fail"],
.wf-result-option-pill[data-color-step="match-fail"],
.wf-result-guide-pill[data-color-step="match-fail"],
.wf-slide-jump[data-color-step="match-fail"] {
  --wf-result-bg: #fee2e2;
  --wf-result-text: #dc2626;
  --wf-result-border: rgba(239, 68, 68, 0.32);
  --wf-result-solid: #ef4444;
  --wf-result-shadow: rgba(239, 68, 68, 0.28);
}

.wf-result-trigger[data-color-step="waiting"],
.wf-result-option-pill[data-color-step="waiting"],
.wf-result-guide-pill[data-color-step="waiting"],
.wf-slide-jump[data-color-step="waiting"] {
  --wf-result-bg: #1f2937;
  --wf-result-text: #ffffff;
  --wf-result-border: rgba(31, 41, 55, 0.46);
  --wf-result-solid: #111827;
  --wf-result-shadow: rgba(17, 24, 39, 0.3);
}

.wf-result-trigger[data-color-step="success-shared"],
.wf-result-option-pill[data-color-step="success-shared"],
.wf-result-guide-pill[data-color-step="success-shared"],
.wf-slide-jump[data-color-step="success-shared"] {
  --wf-result-bg: #e8dcff;
  --wf-result-text: #7c3aed;
  --wf-result-border: rgba(124, 58, 237, 0.24);
  --wf-result-solid: #8b5cf6;
  --wf-result-shadow: rgba(139, 92, 246, 0.28);
}

.wf-like-media-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.wf-like-media-col {
  min-width: 0;
}

.wf-like-media-col .wf-media-group {
  justify-content: flex-start;
}

.wf-like-media-col .wf-thumb {
  width: 100%;
  max-width: 280px;
  max-height: 360px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.wf-like-media-full .wf-media-group {
  justify-content: center;
  overflow: hidden;
  padding-bottom: 0;
}

.wf-like-item {
  padding-top: 10px;
}

.wf-order-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #0c4f86;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  margin-bottom: 8px;
}

.wf-like-arrow {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  align-self: center;
}

.wf-inline-photo .wf-thumb {
  width: 260px;
  height: 260px;
  border-radius: 10px;
}

.wf-inline-photo .wf-media-group {
  gap: 8px;
}

.wf-inline-media {
  max-width: 260px;
}

.wf-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.wf-row {
  font-size: 12px;
  color: var(--text-sub);
}

.wf-key {
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.wf-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-label {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

.wf-media-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wf-media-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.08);
  color: #0a4f88;
  font-size: 12px;
  font-weight: 700;
}

.wf-thumb {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
}

.wf-copy {
  width: 100%;
  min-height: 68px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 8px;
  font-family: var(--font-family);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.wf-result-select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font-family: var(--font-family);
}

.wf-result-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.16);
}

.wf-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-time {
  font-size: 12px;
  color: #0b5e9a;
  font-weight: 600;
}

.wf-link {
  color: var(--primary);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wf-textbox {
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-main);
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.wf-muted {
  color: var(--text-muted);
  font-size: 12px;
}

.wf-empty {
  color: var(--text-sub);
  padding: 8px;
  font-size: 13px;
}

/* ==========================================================================
   Overview Grid Gauge (9 Steps)
   ========================================================================== */
.overview-member-wrap {
  overflow-x: auto;
  padding: 14px 14px 10px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(126, 180, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 250, 0.92));
}

.overview-member-table.has-grid-gauge {
  min-width: 1960px;
  width: 100%;
  width: max-content;
  border-collapse: collapse;
  margin-top: 8px;
}

.overview-member-table.has-grid-gauge th {
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  white-space: normal;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding: 12px 8px;
}

.overview-member-table.has-grid-gauge td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.88);
}

.overview-sticky-col {
  position: sticky;
  left: 0;
  background: rgba(248, 249, 253, 0.98);
  z-index: 2;
  font-weight: 800;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  width: 80px;
  padding: 12px 10px;
  font-size: 12px;
  text-align: center;
}

.overview-summary-col,
.overview-next-col {
  min-width: 220px;
  width: 220px;
  padding: 12px 14px !important;
  vertical-align: middle;
}

.overview-summary-col {
  min-width: 250px;
  width: 250px;
}

.overview-stage-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.overview-stage-head-phase,
.overview-stage-head-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.overview-stage-head-phase {
  background: rgba(17, 24, 39, 0.08);
  color: #374151;
}

.overview-stage-head-step {
  background: rgba(84, 104, 255, 0.1);
  color: #4457cc;
}

.overview-stage-head-title {
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.overview-member-row.is-active-row td {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.94));
}

.overview-member-stage-card,
.overview-member-next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 86px;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 250, 0.94));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.overview-member-stage-step,
.overview-member-next-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overview-member-stage-card strong,
.overview-member-next-card strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.overview-member-stage-card small,
.overview-member-next-card small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

/* Gauge Cells */
.overview-gauge-cell {
  position: relative;
  text-align: center;
  height: 48px;
  padding: 0 !important;
}

.overview-gauge-cell::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.04);
  margin-top: -2px;
  z-index: 0;
}

.overview-gauge-cell.first-cell::before {
  left: 50%;
}

.overview-gauge-cell.last-cell::before {
  right: 50%;
}

.overview-gauge-cell::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Connect the lines */
.overview-gauge-cell.is-done::before {
  background: var(--color-success);
}

.overview-gauge-cell.is-done::after {
  background: var(--color-success);
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.4);
}

.overview-gauge-cell.is-current::before {
  background: linear-gradient(90deg, var(--color-success) 50%, rgba(0, 0, 0, 0.04) 50%);
}

.overview-gauge-cell.first-cell.is-current::before {
  background: rgba(0, 0, 0, 0.04);
}

.overview-gauge-cell.last-cell.is-current::before {
  background: var(--color-success);
}

.overview-gauge-cell.is-current::after {
  background: var(--primary);
  width: 16px;
  height: 16px;
  border: 4px solid rgba(135, 153, 255, 0.3);
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.4);
}

.overview-gauge-current-label {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  z-index: 4;
  white-space: nowrap;
}

.overview-dropdown-result {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  background: rgba(108, 92, 231, 0.1);
  color: #315ac5;
  padding: 2px 6px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 700;
  z-index: 5;
}

.matchform-panel {
  border-radius: var(--radius-md);
  padding: 14px;
}

.matchform-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}

.matchform-head h3 {
  font-size: 18px;
  font-weight: 800;
}

.matchform-head span {
  font-size: 12px;
  color: var(--text-sub);
}

.matchform-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  gap: 8px;
  margin-bottom: 10px;
}

.matchform-toolbar .member-search-input {
  width: 100%;
}

.matchform-summary {
  font-size: 12px;
  color: #31587f;
  margin-bottom: 10px;
  font-weight: 700;
}

.matchform-table-wrap {
  max-height: 320px;
  overflow: auto;
  margin-bottom: 12px;
}

.matchform-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 57, 122, 0.14);
}

.matchform-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(224, 236, 255, 0.95);
  border: 1px solid rgba(16, 57, 122, 0.16);
  padding: 8px;
  text-align: left;
}

.matchform-table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
  vertical-align: top;
}

.matchform-table input[type="text"] {
  width: 100%;
  min-width: 170px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  font-size: 12px;
  font-family: var(--font-family);
}

.matchform-row-no {
  font-weight: 800;
  text-align: center;
}

.matchform-state-cell {
  min-width: 240px;
}

.matchform-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.05);
  color: #4b5563;
}

.matchform-badge.badge-ok {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
}

.matchform-badge.badge-warn {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(180, 83, 9, 0.08);
}

.matchform-badge.badge-error {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.08);
}

.matchform-badge.badge-skip {
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.35);
  background: rgba(107, 114, 128, 0.08);
}

.matchform-hint {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
}

.matchform-hint.warn {
  color: #975a16;
}

.matchform-hint.error {
  color: #b91c1c;
}

.matchform-result-head {
  font-size: 13px;
  font-weight: 800;
  color: #274873;
  margin-bottom: 6px;
}

.statusboard-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.statusboard-draft-page {
  max-width: 980px;
  margin: 0 auto;
}

.statusboard-draft-header,
.statusboard-draft-stage,
.statusboard-draft-faq {
  padding: 24px;
  border-radius: 28px;
}

.statusboard-draft-header {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 113, 133, 0.12);
}

.statusboard-draft-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 113, 133, 0.12);
  color: #fb7185;
  font-size: 24px;
}

.statusboard-draft-header-copy h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.statusboard-draft-name {
  color: #f43f5e;
}

.statusboard-draft-header-copy p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.statusboard-draft-stage {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 113, 133, 0.12);
}

.statusboard-draft-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #1f2937;
  font-size: 20px;
  font-weight: 800;
}

.statusboard-draft-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 113, 133, 0.12);
  color: #fb7185;
  font-size: 15px;
  flex: 0 0 auto;
}

.statusboard-draft-flow {
  background: linear-gradient(180deg, rgba(255, 251, 253, 0.96), rgba(249, 250, 251, 0.96));
}

.statusboard-draft-demo {
  padding: 20px;
  border-radius: 24px;
  background: rgba(254, 242, 242, 0.72);
  border: 1px solid rgba(251, 113, 133, 0.16);
}

.statusboard-draft-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.statusboard-draft-demo-head h3 {
  margin: 0;
  color: #e11d48;
  font-size: 14px;
  font-weight: 800;
}

.statusboard-draft-faq {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 113, 133, 0.12);
}

.statusboard-admin-card {
  margin-top: 4px;
}

.statusboard-hero,
.statusboard-card,
.statusboard-controls {
  padding: 24px;
  border-radius: 30px;
}

.statusboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 251, 0.96), rgba(255, 255, 255, 0.92));
}

.statusboard-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb7185, #f9a8d4);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 28px rgba(251, 113, 133, 0.22);
}

.statusboard-hero-copy {
  flex: 1 1 260px;
  min-width: 220px;
}

.statusboard-kicker {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statusboard-hero-copy h2 {
  margin-top: 6px;
  color: #111827;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.statusboard-user-name {
  color: #f43f5e;
}

.statusboard-hero-copy p {
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.statusboard-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.statusboard-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.statusboard-pill--pending {
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.statusboard-pill--success {
  background: rgba(34, 211, 238, 0.16);
  color: #0f766e;
}

.statusboard-pill--fail {
  background: rgba(249, 168, 212, 0.24);
  color: #be185d;
}

.statusboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.statusboard-card-head h3,
.statusboard-controls-head h3 {
  margin-top: 6px;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.statusboard-meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.statusboard-flow {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 251, 253, 0.96), rgba(248, 250, 252, 0.94));
}

.statusboard-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.statusboard-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  z-index: 1;
}

.statusboard-node-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
}

.statusboard-node-label {
  width: 102px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.statusboard-controls {
  background:
    linear-gradient(180deg, rgba(255, 244, 247, 0.98), rgba(255, 251, 252, 0.96));
  border-color: rgba(251, 113, 133, 0.18);
}

.statusboard-controls-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.statusboard-reset-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #475569;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.statusboard-reset-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.statusboard-control-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.statusboard-action-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.statusboard-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 20px;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.12);
}

.statusboard-action:hover:not(:disabled) {
  transform: translateY(-1px);
}

.statusboard-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.statusboard-action--primary {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}

.statusboard-action--success {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
}

.statusboard-action--fail {
  background: linear-gradient(135deg, #64748b, #334155);
}

.statusboard-control-note {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.65;
}

.statusboard-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.statusboard-issue-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.statusboard-issue-label--wide {
  grid-column: 1 / -1;
}

.statusboard-issue-textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  padding: 14px 16px;
  color: #111827;
  font: inherit;
}

.statusboard-issue-textarea:focus {
  outline: none;
  border-color: rgba(244, 114, 182, 0.38);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.statusboard-issue-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.statusboard-issue-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.statusboard-issue-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.statusboard-issue-result-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.statusboard-issue-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.statusboard-issue-empty {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.statusboard-issue-output {
  color: #0f172a;
  font-size: 13px;
}

.statusboard-manager-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.statusboard-manager-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.statusboard-manager-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.statusboard-manager-item {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  padding: 16px;
}

.statusboard-manager-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.statusboard-manager-head strong {
  color: #0f172a;
  font-size: 18px;
}

.statusboard-manager-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.statusboard-manager-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.statusboard-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.statusboard-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.statusboard-faq-item {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.statusboard-faq-item.is-open {
  border-color: rgba(244, 114, 182, 0.22);
  background: linear-gradient(180deg, rgba(255, 247, 250, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 14px 24px rgba(251, 113, 133, 0.08);
}

.statusboard-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.statusboard-faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 16px;
  font-weight: 900;
  flex: 0 0 auto;
}

.statusboard-faq-answer {
  padding: 0 20px 20px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .statusboard-flow {
    min-height: 520px;
  }

  .statusboard-action-split {
    grid-template-columns: 1fr;
  }

  .statusboard-issue-grid {
    grid-template-columns: 1fr;
  }

  .statusboard-manager-grid {
    grid-template-columns: 1fr;
  }

  .statusboard-node-dot {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .statusboard-node-label {
    width: 82px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .statusboard-draft-header,
  .statusboard-draft-stage,
  .statusboard-draft-faq,
  .statusboard-hero,
  .statusboard-card,
  .statusboard-controls {
    padding: 18px;
    border-radius: 24px;
  }

  .statusboard-draft-avatar {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .statusboard-draft-section-title {
    font-size: 18px;
  }

  .statusboard-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .statusboard-card-head h3,
  .statusboard-controls-head h3 {
    font-size: 18px;
  }

  .statusboard-flow {
    min-height: 460px;
  }

  .statusboard-faq-question {
    padding: 16px;
    font-size: 14px;
  }

  .statusboard-faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }
}

@media (max-width: 1380px) {
  .layout-shell {
    grid-template-columns: 210px minmax(0, 1fr) 210px;
  }
}

@media (max-width: 1180px) {
  .header {
    margin: 8px 10px 0;
    border-radius: 24px;
  }

  .header-inner {
    padding: 10px 14px;
  }

  .header-nav {
    display: none;
  }

  .header-meta {
    flex: 1;
  }

  .mega-menu-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sidebar {
    top: 70px;
    max-height: calc(100vh - 82px);
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-item {
    flex: 1 1 240px;
  }

  .mega-menu-stage {
    padding-right: 0;
  }

  .layout-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .widget-column {
    position: static;
  }

  .main-column {
    order: 1;
  }

  .widget-column-left {
    order: 2;
  }

  .widget-column-right {
    order: 3;
  }

  .stats-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .stats-grid .stat-card {
    flex: 0 0 220px;
    min-height: 140px;
  }

  .member-panel.is-inline .member-panel-actions {
    justify-content: flex-start;
  }

  .member-panel-subactions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .header {
    margin: 6px 8px 0;
    border-radius: 20px;
  }

  .header-inner {
    padding: 10px 12px;
    gap: 10px;
  }

  .logo-text {
    font-size: 26px;
  }

  .header-meta {
    gap: 8px;
  }

  .header-actions .btn {
    padding-inline: 12px;
  }

  .presence-stack {
    display: none;
  }

  .sidebar {
    top: 66px;
    width: calc(100vw - 16px);
    border-radius: 26px;
  }

  .sidebar-header,
  .mega-menu-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sidebar-item {
    flex: 1 1 100%;
  }

  .sidebar-item-copy strong {
    font-size: 24px;
  }

  .mega-menu-title {
    font-size: clamp(42px, 15vw, 64px);
  }

  .mega-menu-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 0 12px;
  }

  .home-shortcut-slider {
    gap: 8px;
  }

  .home-shortcut-grid {
    gap: 12px;
  }

  .home-shortcut-card {
    flex-basis: 104px;
    width: 104px;
  }

  .home-shortcut-nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .home-shortcut-icon {
    width: 94px;
    height: 72px;
    border-radius: 24px;
  }

  .home-shortcut-title {
    font-size: 14px;
    min-height: 36px;
  }

  .main-top-row {
    flex-wrap: wrap;
    padding: 0 0 8px;
  }

  .wf-list {
    grid-template-columns: 1fr;
  }

  .last-update-hint {
    width: 100%;
    margin-top: 4px;
  }

  .wf-item-top {
    flex-wrap: wrap;
  }

  .wf-item-top-right {
    margin-left: 0;
    width: 100%;
  }

  .member-panel.is-inline .member-panel-header {
    padding: 18px 18px 16px;
  }

  .member-panel-toolbar,
  .member-panel-actions,
  .member-panel-subactions {
    justify-content: flex-start;
  }

  .member-panel-subactions-actions,
  .member-detail-layout-toolbar-actions {
    justify-content: flex-start;
  }

  .member-panel-subactions-copy {
    width: 100%;
  }

  .member-search-shell {
    flex-basis: 100%;
  }

  .member-panel-actions .view-mode-group {
    width: 100%;
  }

  .view-mode-group--apple {
    width: 100%;
  }

  .member-detail-card-head,
  .member-detail-card-head-actions,
  .member-detail-layout-head,
  .member-detail-layout-toolbar,
  .member-detail-layout-footer {
    flex-wrap: wrap;
  }

  .member-detail-layout-row-top {
    flex-direction: column;
  }

  .member-detail-layout-dialog {
    padding: 18px;
    border-radius: 22px;
  }

  .member-detail-layout-body {
    grid-template-columns: 1fr;
  }

  .member-detail-layout-grid {
    grid-template-columns: 1fr;
  }

  .wf-like-result-wrap {
    align-items: flex-start;
    width: 100%;
  }

  .page-intro-title {
    gap: 14px;
  }

  .page-intro-title::before,
  .page-intro-title::after {
    min-width: 22px;
  }

  .wf-result-dropdown,
  .wf-result-select.wf-result-select-sm {
    width: 100%;
  }

  .wf-item-inline {
    align-items: flex-start;
  }

  .wf-section-columns {
    display: none;
  }

  .wf-section-row-profile-create,
  .wf-section-row-profile-unsent,
  .wf-section-row-opp-uncreated,
  .wf-section-row-phase1-opp,
  .wf-section-row-phase1-unselected,
  .wf-section-row-phase2-opp,
  .wf-section-row-phase2-unselected {
    grid-template-columns: 1fr;
  }

  .wf-section-row .wf-section-cell:last-child {
    justify-content: flex-start;
  }

  .wf-inline-photo .wf-thumb {
    width: 180px;
    height: 180px;
  }

  .wf-inline-photo.wf-inline-photo-xl .wf-thumb {
    width: 220px;
    height: 220px;
  }

  .wf-inline-photo.wf-inline-photo-xxl .wf-thumb {
    width: 240px;
    height: 240px;
  }

  .wf-profile-feature-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }

  .wf-list.wf-list-profile-compact {
    grid-template-columns: 1fr;
  }

  .wf-profile-feature-frame {
    min-height: 320px;
  }

  .wf-profile-feature-frame .wf-thumb {
    width: min(100%, 240px);
    height: 320px;
  }

  .wf-profile-feature-meta {
    grid-template-columns: 1fr;
  }

  .wf-profile-feature-actions {
    justify-content: stretch;
  }

  .wf-profile-feature-submit {
    width: 100%;
  }

  .wf-like-media-col .wf-thumb {
    width: 100%;
    max-width: 300px;
    max-height: 360px;
    height: auto;
  }

  .member-media-thumb {
    width: 160px;
    height: 160px;
  }

  .wf-filter-bar,
  .wf-subfilter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wf-filter-btn,
  .wf-subfilter-btn {
    width: 100%;
  }

  .notice-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .overview-mode-bar {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .overview-mode-btn {
    width: 100%;
    text-align: center;
  }

  .matchform-toolbar {
    grid-template-columns: 1fr;
  }

  .matchform-state-cell {
    min-width: 0;
  }

  .home-hero {
    padding: 24px 20px;
  }

  .home-hero-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .home-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Home Page
   ========================================================================== */
.home-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-page.home-links-page {
  padding-top: 6px;
}

.home-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(0, 122, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 245, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(12, 42, 100, 0.09);
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b63d1;
  background: rgba(0, 122, 255, 0.1);
}

.home-hero-copy h2 {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.home-hero-copy p {
  margin-top: 10px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-sub);
}

.home-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-stat {
  min-width: 112px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 122, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.home-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-section-head.compact {
  padding-top: 4px;
}

.home-section-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.home-section-head p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
}

.home-shortcut-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.home-shortcut-viewport {
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.home-shortcut-viewport::before,
.home-shortcut-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 12px;
  width: 26px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.home-shortcut-slider.is-overflowing:not(.is-at-start) .home-shortcut-viewport::before,
.home-shortcut-slider.is-overflowing:not(.is-at-end) .home-shortcut-viewport::after {
  opacity: 1;
}

.home-shortcut-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.home-shortcut-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.home-shortcut-nav {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.home-shortcut-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #fff;
}

.home-shortcut-nav:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

.home-shortcut-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 12px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}

.home-shortcut-grid::-webkit-scrollbar {
  display: none;
}

.home-shortcut-card {
  appearance: none;
  flex: 0 0 118px;
  width: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 2px 10px;
  text-align: center;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: transform 0.22s ease;
  text-decoration: none;
  scroll-snap-align: start;
}

.home-shortcut-card:hover {
  transform: translateY(-3px);
}

.home-shortcut-card::after {
  content: '';
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--shortcut-bar, rgba(17, 24, 39, 0.12));
  opacity: 0.78;
}

.home-shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 84px;
  border-radius: 28px;
  color: var(--shortcut-icon, #111827);
  background: var(--shortcut-bg, linear-gradient(135deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.03)));
  border: 1px solid var(--shortcut-border, rgba(17, 24, 39, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 22px rgba(15, 23, 42, 0.06);
}

.home-shortcut-icon svg {
  width: 28px;
  height: 28px;
}

.home-shortcut-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.35;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-wrap: balance;
}

.home-shortcut-desc {
  display: none;
}

.home-shortcut-card.tone-sheet {
  --shortcut-bg: linear-gradient(180deg, rgba(199, 244, 175, 0.85), rgba(233, 251, 223, 0.92));
  --shortcut-border: rgba(148, 198, 115, 0.32);
  --shortcut-bar: linear-gradient(90deg, #9fd56d, #c4ea95);
}

.home-shortcut-card.tone-slide-male {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 203, 147, 0.88), rgba(190, 231, 255, 0.94));
  --shortcut-border: rgba(255, 173, 102, 0.28);
  --shortcut-bar: linear-gradient(90deg, #f8b26a, #8dcff8);
}

.home-shortcut-card.tone-slide-female {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 202, 146, 0.88), rgba(255, 219, 236, 0.94));
  --shortcut-border: rgba(246, 172, 128, 0.28);
  --shortcut-bar: linear-gradient(90deg, #f5b067, #f2a6cb);
}

.home-shortcut-card.tone-photo-drive {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 220, 220, 0.88), rgba(255, 239, 239, 0.96));
  --shortcut-border: rgba(238, 164, 164, 0.28);
  --shortcut-bar: linear-gradient(90deg, #f2b1b1, #f7d3d3);
}

.home-shortcut-card.tone-watermark-drive {
  --shortcut-bg: linear-gradient(180deg, rgba(188, 223, 255, 0.9), rgba(228, 242, 255, 0.96));
  --shortcut-border: rgba(130, 181, 234, 0.3);
  --shortcut-bar: linear-gradient(90deg, #72b2ef, #9ad0ff);
}

.home-shortcut-card.tone-shop {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 224, 240, 0.9), rgba(255, 240, 246, 0.96));
  --shortcut-border: rgba(241, 171, 206, 0.3);
  --shortcut-bar: linear-gradient(90deg, #eda5ca, #f4bfd9);
}

.home-shortcut-card.tone-instagram {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 231, 150, 0.92), rgba(255, 214, 236, 0.96));
  --shortcut-border: rgba(244, 171, 121, 0.3);
  --shortcut-bar: linear-gradient(90deg, #f7cf62, #ef6aa6);
  --shortcut-icon: #b83280;
}

.home-shortcut-card.tone-naver-blog {
  --shortcut-bg: linear-gradient(180deg, rgba(209, 246, 175, 0.92), rgba(240, 252, 225, 0.98));
  --shortcut-border: rgba(132, 198, 92, 0.3);
  --shortcut-bar: linear-gradient(90deg, #8fcf53, #c8ec9d);
  --shortcut-icon: #34751f;
}

.home-shortcut-card.tone-youtube {
  --shortcut-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 243, 0.98));
  --shortcut-border: rgba(236, 72, 72, 0.24);
  --shortcut-bar: linear-gradient(90deg, #ff4d4f, #dc2626);
  --shortcut-icon: #e11d48;
}

.home-shortcut-card.tone-frip {
  --shortcut-bg: linear-gradient(180deg, rgba(232, 219, 255, 0.92), rgba(246, 240, 255, 0.98));
  --shortcut-border: rgba(176, 145, 238, 0.28);
  --shortcut-bar: linear-gradient(90deg, #b59af5, #d1c0fb);
  --shortcut-icon: #7c3aed;
}

.home-shortcut-card.tone-imweb {
  --shortcut-bg: linear-gradient(180deg, rgba(59, 59, 63, 0.9), rgba(30, 30, 33, 0.98));
  --shortcut-border: rgba(17, 17, 17, 0.38);
  --shortcut-bar: linear-gradient(90deg, #171717, #4b4b4f);
  --shortcut-icon: #fff;
}

.home-shortcut-card.tone-notion {
  --shortcut-bg: linear-gradient(180deg, rgba(220, 220, 225, 0.88), rgba(242, 242, 244, 0.96));
  --shortcut-border: rgba(171, 171, 177, 0.3);
  --shortcut-bar: linear-gradient(90deg, #a7a7ad, #ccccd1);
}

.home-shortcut-card.tone-form {
  --shortcut-bg: linear-gradient(180deg, rgba(224, 209, 255, 0.9), rgba(242, 236, 255, 0.96));
  --shortcut-border: rgba(170, 140, 230, 0.28);
  --shortcut-bar: linear-gradient(90deg, #a67be8, #c7aff4);
}

/* ==========================================================================
   매칭 ?�카?�브 카드 UI
   ========================================================================== */
.archive-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.archive-page-header {
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 255, 0.88));
}

.archive-page-title h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.archive-page-title p {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

.archive-page-title strong {
  color: var(--primary);
  font-weight: 800;
}

.archive-search-shell {
  width: min(340px, 100%);
}

.archive-page-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  width: min(520px, 100%);
}

.archive-filter-shell {
  width: min(160px, 100%);
}

.archive-search-input {
  width: 100%;
}

.archive-filter-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.archive-list-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.archive-list-item {
  padding: 18px 20px;
  border-radius: 22px;
}

.archive-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.archive-list-primary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.archive-list-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--text-main);
  letter-spacing: -0.02em;
}

.archive-list-time {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.archive-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.archive-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.archive-badge.badge-male {
  background: rgba(0, 122, 255, 0.12);
  color: #0a52a8;
  border: 1px solid rgba(0, 122, 255, 0.25);
}

.archive-badge.badge-female {
  background: rgba(255, 45, 145, 0.1);
  color: #b01469;
  border: 1px solid rgba(255, 45, 145, 0.22);
}

.archive-badge.badge-round {
  background: rgba(15, 185, 129, 0.12);
  color: #0b7d59;
  border: 1px solid rgba(15, 185, 129, 0.26);
}

.archive-list-media {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.archive-list-media-item {
  flex: 1 1 220px;
}

.archive-list-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-card-field {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.archive-card-label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--text-sub);
  font-size: 11px;
  min-width: 72px;
  padding-top: 1px;
}

.archive-card-value {
  color: var(--text-main);
  font-weight: 500;
  word-break: break-all;
}

@media (max-width: 680px) {
  .archive-page-header {
    align-items: flex-start;
  }

  .archive-list-head {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Notice Items
   ========================================================================== */
#noticeList li,
.notice-item {
  padding: 18px;
  border-bottom: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(240, 246, 255, 0.4));
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(11, 34, 86, 0.02);
}

#noticeList li:hover,
.notice-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(11, 34, 86, 0.05);
}

#noticeList li:last-child {
  margin-bottom: 0;
}



/* 추가된 공지사항 타겟팅 및 삭제 스타일 */
.notice-target-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-sub);
}

.notice-target-wrap label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.notice-dynamic-targets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.notice-target-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.notice-target-chip span.remove {
  cursor: pointer;
  color: #ff453a;
  font-weight: bold;
}

.notice-target-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  width: 120px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.notice-target-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-delete-notice {
  background: none;
  border: none;
  color: #ff453a;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
  font-size: 14px;
  line-height: 1;
}

.btn-delete-notice:hover {
  opacity: 1;
}

.notice-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.notice-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.notice-targets-display {
  font-size: 11px;
  color: #0a84ff;
  font-weight: 500;
}

/* Slide navigation for grouped like-unsent cards */
.wf-slide-group {
  position: relative;
}

.wf-slide-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 12px;
}

.wf-slide-indicator {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  min-width: 60px;
  text-align: center;
}

.wf-slide-prev,
.wf-slide-next {
  min-width: 36px;
  font-size: 14px;
  padding: 4px 10px;
}

.wf-slide-prev:disabled,
.wf-slide-next:disabled {
  opacity: 0.45;
  cursor: default;
}

.wf-slide {
  animation: slideIn 0.2s ease;
}

.wf-slide-jump {
  min-width: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--wf-result-border, rgba(107, 114, 128, 0.28));
  background: var(--wf-result-bg, rgba(107, 114, 128, 0.12));
  color: var(--wf-result-text, #4b5563);
  font-weight: 700;
}

.wf-slide-jump.is-active {
  background: var(--wf-result-solid, #6b7280);
  border-color: var(--wf-result-solid, #6b7280);
  color: #fff;
  box-shadow: 0 10px 18px var(--wf-result-shadow, rgba(107, 114, 128, 0.22));
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Attractiveness UI */
.wf-score-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 12px;
  padding: 10px 32px 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.08);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007AFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 10px auto;
  min-width: 90px;
}

.wf-score-select:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
  transform: translateY(-1px);
}

.wf-score-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.wf-score-select option {
  font-weight: 600;
  color: var(--text-main);
  background: white;
}

/* ==========================================================================
   Apple-like Widget, Notice, Home Overrides
   ========================================================================== */
.page-intro {
  padding: 8px 4px 24px;
}

.page-intro-title {
  color: #1d1d1f;
  letter-spacing: -0.07em;
}

.home-notice-slot {
  display: block;
}

.aux-panel {
  border-radius: 32px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

.aux-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
}

.aux-subtitle {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #6e6e73;
}

.widget-column .btn.btn-glass {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: none;
}

.widget-column .btn.btn-glass:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.widget-column .member-search-input {
  border-radius: 16px;
  border-color: rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.widget-column .member-search-input:focus {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.presence-avatar {
  background: #1d1d1f;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.presence-avatar::after {
  background-color: #34c759;
}

.benefit-group {
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 18px;
  background: linear-gradient(180deg, rgba(251, 251, 253, 0.98), rgba(243, 243, 245, 0.94));
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.benefit-group:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.benefit-head {
  margin-bottom: 10px;
}

.benefit-head span {
  font-size: 16px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.benefit-chip-list {
  min-height: 34px;
  gap: 8px;
}

.benefit-empty {
  font-size: 13px;
  color: #8b8b90;
}

.benefit-chip {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  color: #1d1d1f;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.benefit-chip:hover {
  border-color: rgba(17, 24, 39, 0.14);
  background: #fff;
}

.benefit-chip--premium {
  background: linear-gradient(180deg, rgba(255, 243, 220, 0.98), rgba(255, 248, 236, 0.96));
}

.benefit-chip--matchGuarantee {
  background: linear-gradient(180deg, rgba(232, 240, 255, 0.98), rgba(245, 248, 255, 0.96));
}

.benefit-chip--meetingGuarantee {
  background: linear-gradient(180deg, rgba(236, 247, 238, 0.98), rgba(247, 251, 248, 0.96));
}

.benefit-chip button {
  opacity: 0.55;
}

.benefit-chip button:hover {
  opacity: 1;
}

.benefit-input-row {
  gap: 8px;
}

.admin-me {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 248, 0.95));
  border: 1px solid rgba(17, 24, 39, 0.06);
  color: #1d1d1f;
}

.admin-online-list {
  gap: 10px;
}

.admin-online-empty {
  padding: 18px 0;
  text-align: center;
  color: #8b8b90;
  font-size: 13px;
}

.admin-online-item {
  border-radius: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
  box-shadow: none;
}

.admin-online-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 5px rgba(52, 199, 89, 0.12);
  flex-shrink: 0;
}

.admin-online-name {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
}

.admin-online-time {
  font-size: 12px;
  color: #6e6e73;
}

.notice-panel {
  border-radius: 34px;
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.notice-panel.is-home-docked {
  margin-top: 4px;
}

.notice-head {
  align-items: flex-end;
  margin-bottom: 18px;
}

.notice-head h3 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #1d1d1f;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.notice-head h3::before {
  content: 'NOTICE';
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6e6e73;
}

.notice-head p {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.05);
  color: #6e6e73;
}

.notice-list {
  gap: 12px;
  max-height: 420px;
  padding-right: 2px;
}

#noticeList li,
.notice-item {
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

#noticeList li:hover,
.notice-item:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.1);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.notice-item-header {
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.notice-author {
  font-size: 15px;
  color: #1d1d1f;
}

.notice-time,
.notice-comment-time {
  font-size: 12px;
  color: #6e6e73;
}

.notice-tag {
  background: rgba(29, 29, 31, 0.05);
  color: #1d1d1f;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
}

.notice-item-text {
  color: #1d1d1f;
  line-height: 1.7;
}

.notice-comments {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  background: rgba(247, 247, 248, 0.96);
}

.notice-comment-item {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

.notice-comment-author {
  color: #1d1d1f;
}

.notice-comment-text {
  color: #444;
}

.notice-input-group {
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(247, 247, 248, 0.96);
}

.notice-target-wrap {
  gap: 10px;
  margin-bottom: 0;
}

.notice-target-preview {
  color: #6e6e73;
}

.dropdown-menu {
  margin-top: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.dropdown-item {
  border-radius: 12px;
}

.dropdown-item:hover {
  background: rgba(29, 29, 31, 0.04);
}

.notice-reply-wrap {
  margin-top: 12px;
}

.notice-reply-input,
.notice-input,
.notice-target-input {
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: #1d1d1f;
}

.notice-target-chip {
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #1d1d1f;
}

.notice-input:focus,
.notice-reply-input:focus,
.notice-target-input:focus {
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.btn-delete-notice {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.05);
  color: #6e6e73;
  opacity: 1;
}

.btn-delete-notice:hover {
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
}

.home-page.home-links-page {
  gap: 18px;
}

.home-wish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-wish-card {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 248, 0.94));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.home-wish-card.tone-priority {
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(255, 255, 255, 0.94));
}

.home-wish-card.tone-meeting {
  background: linear-gradient(180deg, rgba(245, 249, 241, 0.98), rgba(255, 255, 255, 0.94));
}

.home-wish-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.home-wish-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e6e73;
}

.home-wish-card h3 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.home-wish-count {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.07);
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
}

.home-wish-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-wish-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
}

.home-wish-empty,
.home-wish-loading {
  min-height: 62px;
  display: flex;
  align-items: center;
  color: #8b8b90;
  font-size: 14px;
}

.home-insight-board {
  padding: 30px 30px 32px;
  border-radius: 38px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background:
    radial-gradient(circle at top left, rgba(125, 176, 255, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(124, 212, 193, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.95));
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 22px;
}

.home-insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.home-insight-kicker,
.home-insight-panel-kicker,
.home-insight-metric-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6e73;
}

.home-insight-board h3 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -0.06em;
  color: #1d1d1f;
}

.home-insight-period {
  margin-top: 9px;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 600;
}

.home-insight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #0a84ff;
  font-size: 18px;
  font-weight: 800;
}

.home-insight-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-insight-range-copy,
.home-insight-range-controls {
  display: grid;
  gap: 6px;
}

.home-insight-range-copy strong {
  color: #1d1d1f;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.home-insight-range-kicker {
  color: #8b8b90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-insight-range-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 248, 0.88));
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.home-insight-range-btn {
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: #1d1d1f;
  border-radius: 18px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-insight-range-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.home-insight-range-btn {
  border-color: rgba(10, 132, 255, 0.18);
}

.home-insight-range-btn {
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.16), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home-insight-range-btn.is-ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 24, 39, 0.08);
}

.home-insight-range-btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.home-insight-range-field {
  display: grid;
  gap: 7px;
  min-width: 156px;
  padding: 10px 14px 11px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-insight-range-field span {
  color: #8b8b90;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-insight-range-input {
  min-width: 160px;
  min-height: 26px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: color 180ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.home-insight-range-input:focus {
  color: #0a84ff;
}

.home-insight-range-field:focus-within {
  border-color: rgba(10, 132, 255, 0.22);
  box-shadow:
    0 0 0 4px rgba(10, 132, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-insight-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-insight-metric,
.home-insight-stat {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.home-insight-metric::before,
.home-insight-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.18), rgba(10, 132, 255, 0.6));
}

.home-insight-metric {
  padding: 20px 22px 22px;
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.home-insight-metric-value {
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.07em;
  color: #1d1d1f;
}

.home-insight-metric-label {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.home-insight-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 16px;
}

.home-insight-panel {
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.home-insight-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.home-insight-panel h4 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.home-insight-panel-head p {
  max-width: 300px;
  margin: 0;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.home-insight-period-stack {
  display: grid;
  gap: 18px;
}

.home-insight-period-block {
  display: grid;
  gap: 14px;
}

.home-insight-period-block + .home-insight-period-block {
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.home-insight-period-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.home-insight-period-head strong {
  display: block;
  margin-top: 8px;
  color: #1d1d1f;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.home-insight-period-head p {
  max-width: 280px;
  margin: 0;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.home-insight-visual-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: center;
}

.home-insight-ring-wrap {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.home-insight-ring {
  --rate: 0;
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(from -90deg, #0a84ff calc(var(--rate) * 1%), rgba(10, 132, 255, 0.14) 0);
  box-shadow:
    0 28px 44px rgba(10, 132, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  isolation: isolate;
  animation: homeInsightFloatIn 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-insight-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.home-insight-ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.18), transparent 66%);
  z-index: 0;
  animation: homeInsightPulse 3.6s ease-in-out infinite;
}

.home-insight-ring-core {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 28px;
  text-align: center;
}

.home-insight-ring-core strong {
  color: #1d1d1f;
  font-size: 42px;
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.home-insight-ring-core span {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.home-insight-ring-copy {
  display: grid;
  gap: 4px;
  text-align: center;
}

.home-insight-ring-copy strong {
  color: #1d1d1f;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.home-insight-ring-copy span {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.5;
}

.home-insight-rate-bars {
  display: grid;
  gap: 14px;
}

.home-insight-rate-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  animation: homeInsightRiseIn 540ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-insight-rate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.home-insight-rate-head span {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
}

.home-insight-rate-head strong {
  color: #1d1d1f;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-insight-rate-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.07);
}

.home-insight-rate-fill {
  display: block;
  height: 100%;
  width: var(--fill);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: homeInsightFillIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-insight-rate-fill.accent-overall {
  background: linear-gradient(90deg, #0a84ff, #5ac8fa);
}

.home-insight-rate-fill.accent-male {
  background: linear-gradient(90deg, #5ac8fa, #64d2ff);
}

.home-insight-rate-fill.accent-female {
  background: linear-gradient(90deg, #ff6482, #ff375f);
}

.home-insight-rate-caption,
.home-insight-summary-lead {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.6;
}

.home-insight-summary-lead {
  margin-bottom: 16px;
}

.home-insight-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-insight-stat {
  min-height: 92px;
  padding: 16px 18px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.home-insight-stat span {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
}

.home-insight-stat strong {
  color: #1d1d1f;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.home-insight-loading {
  min-height: 214px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.86);
  color: #6e6e73;
  font-size: 14px;
  font-weight: 600;
}

.home-insight-metric.accent-overall::before,
.home-insight-stat.accent-overall::before {
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.24), rgba(10, 132, 255, 0.9));
}

.home-insight-metric.accent-male::before,
.home-insight-stat.accent-male::before {
  background: linear-gradient(90deg, rgba(90, 200, 250, 0.24), rgba(90, 200, 250, 0.95));
}

.home-insight-metric.accent-female::before,
.home-insight-stat.accent-female::before {
  background: linear-gradient(90deg, rgba(255, 55, 95, 0.22), rgba(255, 55, 95, 0.88));
}

.home-insight-metric.accent-ops::before,
.home-insight-stat.accent-ops::before {
  background: linear-gradient(90deg, rgba(48, 209, 88, 0.2), rgba(48, 209, 88, 0.88));
}

@keyframes homeInsightRiseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeInsightFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeInsightFillIn {
  from {
    opacity: 0.55;
    transform: scaleX(0.12);
    transform-origin: left center;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes homeInsightPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.58;
    transform: scale(1.03);
  }
}

.home-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.home-rank-card {
  padding: 30px 24px 26px;
  border-radius: 38px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 248, 0.94));
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.08);
}

.home-rank-card.tone-provided {
  background:
    radial-gradient(circle at top right, rgba(10, 132, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.home-rank-card.tone-selected {
  background:
    radial-gradient(circle at top right, rgba(52, 199, 89, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(246, 253, 247, 0.98), rgba(255, 255, 255, 0.94));
}

.home-rank-card.tone-success {
  background:
    radial-gradient(circle at top right, rgba(255, 159, 10, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 255, 255, 0.94));
}

.home-rank-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.home-rank-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e6e73;
}

.home-rank-head h3 {
  margin-top: 8px;
  font-size: clamp(28px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.home-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.07);
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-rank-carousel {
  position: relative;
}

.home-rank-viewport {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 2px 0 0;
}

.home-rank-viewport::before,
.home-rank-viewport::after {
  display: none;
}

.home-rank-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-width: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-rank-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "order value"
    "avatar avatar"
    "copy copy";
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  scroll-snap-align: start;
}

.home-rank-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.home-rank-order {
  grid-area: order;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
}

.home-rank-avatar-wrap {
  grid-area: avatar;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.home-rank-avatar,
.home-rank-avatar--placeholder {
  width: 100%;
  height: clamp(288px, 23vw, 396px);
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.home-rank-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 26px;
  font-weight: 800;
}

.home-rank-copy {
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-rank-name-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.home-rank-name-row strong {
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-rank-name-row span {
  color: #8b8b90;
  font-size: 13px;
  font-weight: 700;
}

.home-rank-meta {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-rank-value {
  grid-area: value;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 0 14px;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.07);
  color: #1d1d1f;
  font-weight: 800;
}

.home-rank-value em {
  font-style: normal;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.home-rank-value span {
  font-size: 13px;
  color: #6e6e73;
}

.home-rank-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  color: #8b8b90;
  font-size: 15px;
}

.home-rank-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-rank-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-rank-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, width 0.18s ease;
}

.home-rank-dot:hover {
  transform: scale(1.08);
  background: rgba(15, 23, 42, 0.28);
}

.home-rank-dot.is-active {
  width: 22px;
  background: rgba(15, 23, 42, 0.84);
}

.home-rank-pager {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
}

.home-rank-pager-current {
  color: #1d1d1f;
}

@media (max-width: 900px) {
  .home-wish-grid {
    grid-template-columns: 1fr;
  }

  .home-insight-toolbar {
    align-items: stretch;
  }

  .home-insight-range-controls {
    width: 100%;
  }

  .home-insight-range-field {
    flex: 1 1 180px;
  }

  .home-insight-metric-grid,
  .home-insight-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-insight-panel-grid,
  .home-insight-panel-head {
    grid-template-columns: 1fr;
  }

  .home-insight-visual-grid {
    grid-template-columns: 1fr;
  }

  .home-insight-panel-head {
    display: grid;
  }

  .home-insight-panel-head p {
    max-width: none;
    text-align: left;
  }

  .home-insight-period-head {
    display: grid;
  }

  .home-insight-period-head p {
    max-width: none;
    text-align: left;
  }

  .home-rank-grid {
    grid-template-columns: 1fr;
  }

  .home-rank-item {
    min-width: 100%;
  }

  .notice-panel {
    padding: 20px;
    border-radius: 26px;
  }

  .notice-head h3 {
    font-size: 26px;
  }
}

@media (max-width: 620px) {
  .home-insight-range-copy,
  .home-insight-range-controls {
    width: 100%;
  }

  .home-insight-range-btn {
    width: 100%;
    justify-content: center;
  }

  .home-insight-range-field {
    min-width: 100%;
  }

  .home-insight-range-input {
    min-width: 100%;
    width: 100%;
  }

  .home-insight-metric-grid,
  .home-insight-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-insight-metric-value {
    font-size: 36px;
  }

  .home-insight-ring {
    width: min(100%, 190px);
  }
}

/* ==========================================================================
   Workflow / Archive / Home Success Overrides
   ========================================================================== */
.wf-board {
  transform: none;
  transform-origin: unset;
  width: 100%;
  gap: 22px;
}

.wf-filter-bar,
.wf-subfilter-bar {
  gap: 10px;
}

.wf-filter-btn,
.wf-subfilter-btn {
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #1d1d1f;
  box-shadow: none;
}

.wf-filter-btn:hover,
.wf-subfilter-btn:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.wf-filter-btn.active,
.wf-subfilter-btn.active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff;
  box-shadow: none;
}

.wf-group-title {
  font-size: 30px;
  letter-spacing: -0.05em;
  padding: 4px 2px 0;
}

.wf-section {
  border-radius: 32px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.06);
}

.wf-section-header {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title count"
    "meta count";
  gap: 10px 16px;
  align-items: end;
  margin-bottom: 18px;
}

.wf-section-title {
  grid-area: title;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.wf-section-meta {
  grid-area: meta;
  font-size: 14px;
  line-height: 1.7;
  color: #6e6e73;
}

.wf-section-count {
  grid-area: count;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 800;
}

.wf-list.wf-list-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wf-action-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 0;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 248, 0.94));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.wf-action-card.has-visual {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: stretch;
}

.wf-action-card.wf-opp-card.has-visual {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
}

.wf-action-visual {
  display: flex;
}

.wf-action-media-frame {
  width: 100%;
  min-height: 280px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 243, 245, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wf-action-media-thumb {
  width: min(100%, 240px);
  height: 320px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.wf-opp-card .wf-action-media-frame {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
}

.wf-opp-card .wf-opp-media-thumb {
  width: min(100%, 320px);
  height: 420px;
  border-radius: 22px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
}

.wf-opp-visual-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-opp-media-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-opp-ideal-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, rgba(248, 248, 250, 0.98), rgba(241, 241, 244, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  min-width: 0;
}

.wf-opp-ideal-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
}

.wf-opp-ideal-copy {
  font-size: 13px;
  line-height: 1.72;
  color: #1d1d1f;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.wf-media-fallback {
  width: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(29, 29, 31, 0.04);
  color: #8b8b90;
  font-size: 14px;
  text-align: center;
}

.wf-action-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.wf-opp-card .wf-action-body {
  gap: 14px;
}

.wf-action-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6e6e73;
}

.wf-action-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-action-member {
  min-width: 0;
}

.wf-action-gender {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 800;
}

.wf-action-title {
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.wf-action-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #6e6e73;
}

.wf-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wf-opp-card .wf-meta-grid {
  grid-template-columns: 1fr;
}

.wf-phase-delivery-card .wf-meta-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(220px, 0.88fr);
  align-items: start;
  gap: 10px;
}

.wf-meta-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.96);
  min-width: 0;
}

.wf-meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6e6e73;
}

.wf-meta-value,
.wf-meta-copy {
  font-size: 14px;
  line-height: 1.7;
  color: #1d1d1f;
  word-break: break-word;
}

.wf-action-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.wf-action-note {
  min-width: 0;
}

.wf-opp-card .wf-action-footer {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.wf-opp-card .wf-action-actions {
  justify-content: flex-start;
}

.wf-action-note-input {
  min-height: 112px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.98);
  resize: vertical;
}

.wf-action-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-delivery-gallery-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wf-delivery-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 250, 0.94));
}

.wf-delivery-gallery-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.wf-delivery-gallery-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-sub);
}

.wf-delivery-gallery-own {
  display: flex;
  justify-content: center;
}

.wf-delivery-gallery-target {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 284px;
}

.wf-delivery-gallery-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-delivery-gallery-slide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-delivery-gallery-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  align-items: center;
}

.wf-delivery-gallery-thumb {
  width: min(100%, 126px);
  height: 182px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.wf-delivery-gallery-thumb-main {
  width: min(100%, 152px);
  height: 272px;
}

.wf-delivery-gallery-thumb-target {
  width: min(100%, 160px);
  height: 244px;
}

.wf-delivery-gallery-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.wf-delivery-gallery-fallback,
.wf-delivery-gallery-empty {
  min-height: 110px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(17, 24, 39, 0.12);
  color: var(--text-sub);
}

.wf-delivery-gallery-own .wf-delivery-gallery-fallback {
  width: min(100%, 152px);
  min-height: 272px;
}

.wf-delivery-gallery-target .wf-delivery-gallery-fallback {
  width: min(100%, 160px);
  min-height: 244px;
}

.wf-delivery-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.wf-delivery-gallery-navbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wf-delivery-gallery-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #1d1d1f;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.wf-delivery-gallery-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.wf-delivery-gallery-counter {
  min-width: 54px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #4b5563;
}

.wf-delivery-card-body {
  gap: 18px;
}

.wf-delivery-member-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wf-delivery-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.wf-delivery-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-delivery-toolbar-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}

.wf-delivery-message-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.96);
}

.wf-delivery-message-panel.is-hidden {
  display: none;
}

.wf-delivery-message-title {
  color: #6e6e73;
  font-size: 12px;
  font-weight: 800;
}

.wf-delivery-message-copy {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.wf-delivery-note-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-delivery-note-input {
  min-height: 78px;
}

.wf-like-item,
.wf-slide-group {
  margin-bottom: 0;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.wf-like-media-row {
  gap: 18px;
}

.wf-delivery-inline-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.wf-delivery-note-input {
  min-height: 92px;
  resize: vertical;
}

.wf-delivery-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-progress-compact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 248, 0.94));
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.wf-progress-compact-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wf-progress-compact-member-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.wf-progress-compact-member .wf-member-no-wrap {
  gap: 8px;
}

.wf-progress-compact-member,
.wf-progress-compact-member .wf-member-no-value {
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1f;
}

.wf-progress-compact-gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.08);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 800;
}

.wf-progress-compact-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wf-progress-compact-label {
  color: #6e6e73;
  font-size: 11px;
  font-weight: 800;
}

.wf-progress-compact-value {
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 800;
}

.wf-progress-compact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.wf-progress-compact-note-input {
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 18px;
}

.archive-page-linear .archive-list-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-page-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
}

.archive-list-item {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 248, 0.94));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.archive-story-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.archive-profile-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archive-profile-label {
  font-size: 12px;
  font-weight: 700;
  color: #6e6e73;
  text-align: center;
}

.archive-profile-media {
  min-height: 280px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 243, 245, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.archive-profile-thumb {
  width: min(100%, 220px);
  height: 280px;
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  cursor: zoom-in;
}

.archive-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.archive-bridge-result {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #1d1d1f;
}

.archive-bridge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 29, 31, 0.06);
  color: #1d1d1f;
}

.archive-bridge-icon svg {
  width: 28px;
  height: 28px;
}

.archive-bridge.success .archive-bridge-icon {
  background: rgba(255, 59, 107, 0.12);
  color: #ff375f;
}

.archive-bridge.fail .archive-bridge-icon {
  background: rgba(255, 69, 58, 0.12);
  color: #ff453a;
}

.archive-bridge-note {
  font-size: 13px;
  line-height: 1.65;
  color: #6e6e73;
}

.archive-list-fields.archive-list-fields-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.archive-card-field {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(250, 250, 252, 0.96);
}

.home-success-section {
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94));
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.home-success-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.home-success-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e6e73;
}

.home-success-section h3 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #1d1d1f;
}

.home-success-count {
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.07);
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
}

.home-success-carousel {
  position: relative;
  padding: 12px 0 2px;
  overflow: hidden;
}

.home-success-stage {
  position: relative;
  min-height: 648px;
  perspective: 1800px;
  overflow: hidden;
}

.home-success-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(78vw, 860px);
  max-width: calc(100% - 76px);
  transform-origin: center center;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.4s ease;
  will-change: transform, opacity;
}

.home-success-slide[data-pos="0"] {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 5;
}

.home-success-slide[data-pos="-1"] {
  transform: translate3d(calc(-50% - min(24vw, 300px)), 34px, 0) scale(0.84) rotate(-5deg);
  opacity: 0.5;
  filter: saturate(0.86);
  z-index: 4;
}

.home-success-slide[data-pos="1"] {
  transform: translate3d(calc(-50% + min(24vw, 300px)), 34px, 0) scale(0.84) rotate(5deg);
  opacity: 0.5;
  filter: saturate(0.86);
  z-index: 4;
}

.home-success-slide[data-pos="-2"] {
  transform: translate3d(calc(-50% - min(44vw, 560px)), 72px, 0) scale(0.7);
  opacity: 0.12;
  filter: saturate(0.8);
  z-index: 3;
}

.home-success-slide[data-pos="2"] {
  transform: translate3d(calc(-50% + min(44vw, 560px)), 72px, 0) scale(0.7);
  opacity: 0.12;
  filter: saturate(0.8);
  z-index: 3;
}

.home-success-slide[data-pos="-3"],
.home-success-slide[data-pos="3"] {
  transform: translate3d(-50%, 92px, 0) scale(0.66);
  opacity: 0;
  filter: saturate(0.78);
  z-index: 1;
  pointer-events: none;
}

.home-success-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top, rgba(255, 119, 155, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(93, 166, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 250, 0.96));
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.home-success-slide.is-active .home-success-card {
  animation: homeSuccessFloat 6.2s ease-in-out infinite;
}

.home-success-card-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-success-couple-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.home-success-profile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(244, 246, 250, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 24px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.home-success-thumb,
.home-success-fallback {
  display: block;
  max-width: 100%;
  width: 100%;
  height: clamp(250px, 34vw, 430px);
  border-radius: 26px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.home-success-thumb {
  cursor: zoom-in;
}

.home-success-fallback {
  min-height: 250px;
  justify-content: center;
}

.home-success-copy {
  padding: 0 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.home-success-label {
  font-size: 13px;
  font-weight: 800;
  color: #1d1d1f;
  text-align: center;
  letter-spacing: -0.02em;
}

.home-success-heart {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 123, 158, 0.16), rgba(255, 92, 133, 0.2));
  color: #ff4f7b;
  box-shadow: inset 0 0 0 1px rgba(255, 79, 123, 0.14), 0 18px 28px rgba(255, 79, 123, 0.12);
}

.home-success-heart svg {
  width: 34px;
  height: 34px;
}

.home-success-result {
  font-size: 18px;
  font-weight: 900;
  color: #ff4f7b;
  letter-spacing: -0.04em;
}

.home-success-meta {
  font-size: 13px;
  line-height: 1.6;
  color: #6e6e73;
  text-align: right;
}

.home-success-nav {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  z-index: 6;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.home-success-nav:hover {
  transform: translateY(-50%) scale(1.04);
  background: #fff;
}

.home-success-nav-prev {
  left: 2px;
}

.home-success-nav-next {
  right: 2px;
}

.home-success-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-success-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-success-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.16);
  cursor: pointer;
  transition: width 0.24s ease, transform 0.2s ease, background 0.2s ease;
}

.home-success-dot:hover {
  transform: scale(1.08);
}

.home-success-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #ff5c85, #7fb6ff);
}

.home-success-pager {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
}

.home-success-pager-current {
  font-size: 20px;
  color: #1d1d1f;
}

.home-success-empty {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b8b90;
  font-size: 14px;
  border-radius: 24px;
  background: rgba(248, 248, 250, 0.76);
}

@keyframes homeSuccessFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .wf-list.wf-list-tiles,
  .archive-page-linear .archive-list-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-success-stage {
    min-height: 590px;
  }

  .home-success-slide {
    width: min(84vw, 760px);
    max-width: calc(100% - 48px);
  }

  .home-success-slide[data-pos="-1"] {
    transform: translate3d(calc(-50% - min(22vw, 220px)), 28px, 0) scale(0.82) rotate(-4deg);
  }

  .home-success-slide[data-pos="1"] {
    transform: translate3d(calc(-50% + min(22vw, 220px)), 28px, 0) scale(0.82) rotate(4deg);
  }

  .archive-page-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .wf-action-card.wf-opp-card.has-visual,
  .wf-phase-delivery-card .wf-meta-grid,
  .wf-action-card.has-visual,
  .archive-story-board {
    grid-template-columns: 1fr;
  }

  .archive-bridge {
    order: 2;
  }
}

@media (max-width: 768px) {
  .wf-section,
  .archive-list-item,
  .home-success-section,
  .home-insight-board {
    padding: 18px;
    border-radius: 24px;
  }

  .wf-section-title,
  .wf-action-title,
  .home-success-section h3,
  .home-insight-board h3 {
    font-size: 24px;
  }

  .wf-meta-grid,
  .archive-list-fields.archive-list-fields-compact,
  .wf-list.wf-list-tiles {
    grid-template-columns: 1fr;
  }

  .home-success-stage {
    min-height: 500px;
  }

  .home-success-slide {
    width: min(92vw, 520px);
    max-width: calc(100% - 8px);
  }

  .home-success-slide[data-pos="-1"] {
    transform: translate3d(calc(-50% - min(17vw, 92px)), 18px, 0) scale(0.86) rotate(-3deg);
    opacity: 0.28;
  }

  .home-success-slide[data-pos="1"] {
    transform: translate3d(calc(-50% + min(17vw, 92px)), 18px, 0) scale(0.86) rotate(3deg);
    opacity: 0.28;
  }

  .home-success-slide[data-pos="-2"],
  .home-success-slide[data-pos="2"] {
    opacity: 0;
  }

  .home-success-card {
    padding: 18px;
    border-radius: 30px;
  }

  .home-success-couple-board {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    gap: 10px;
  }

  .home-success-profile {
    padding: 8px;
    border-radius: 22px;
  }

  .home-success-thumb,
  .home-success-fallback {
    height: 230px;
    border-radius: 20px;
  }

  .home-success-heart {
    width: 58px;
    height: 58px;
  }

  .home-success-heart svg {
    width: 28px;
    height: 28px;
  }

  .home-success-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .home-success-meta {
    text-align: left;
  }

  .home-success-nav {
    top: auto;
    bottom: 86px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .home-success-nav-prev {
    left: 8px;
  }

  .home-success-nav-next {
    right: 8px;
  }

  .home-success-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .wf-action-footer {
    grid-template-columns: 1fr;
  }

  .wf-delivery-gallery-wrap {
    grid-template-columns: 1fr;
  }

  .wf-progress-compact-main {
    align-items: stretch;
  }

  .wf-progress-compact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .wf-delivery-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .wf-delivery-gallery-thumb-main {
    width: 100%;
    max-width: 152px;
  }

  .wf-delivery-gallery-target {
    min-height: 248px;
  }
}

@media (max-width: 1100px) {
  .mallops-summary-grid {
    grid-template-columns: 1fr;
  }

  .mallops-record-grid,
  .mallops-record-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mallops-hero,
  .mallops-shell {
    padding: 18px;
  }

  .mallops-hero {
    flex-direction: column;
  }

  .mallops-hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .mallops-shell-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mallops-search-wrap {
    max-width: none;
  }

  .mallops-record-grid,
  .mallops-record-grid--compact {
    grid-template-columns: 1fr;
  }

  .mallops-field--wide {
    grid-column: span 1;
  }

  .mallops-reply-top {
    flex-direction: column;
    align-items: stretch;
  }

  .mallops-reply-status {
    max-width: none;
  }
}
