/* Мокапы блога — тёмная тема WedNote (как my.wednote.app, class dark) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.wn-device {
  font-family: 'Inter', 'Mulish', system-ui, sans-serif;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  background: #0f172a;
  border-radius: 20px;
  border: 1px solid rgba(51, 65, 85, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(6, 182, 212, 0.08);
  overflow: hidden;
}

.wn-device-wide { max-width: 440px; }

.wn-app-screen {
  padding: 14px 12px 16px;
  background: #0f172a;
}

.wn-app-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.wn-app-lead {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 14px;
}

/* Чипы фильтра (Дедлайны, календарь) */
.wn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.wn-chip {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.wn-chip-active {
  background: #0891b2;
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.wn-chip-inactive {
  background: rgba(51, 65, 85, 0.5);
  color: #cbd5e1;
}

/* Карточка дедлайна */
.wn-deadline-card {
  background: #1e293b;
  border-radius: 12px;
  border-left: 4px solid #22c55e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-bottom: 12px;
}

.wn-deadline-card--amber { border-left-color: #facc15; }

.wn-deadline-head {
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
}

.wn-deadline-names {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.wn-deadline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.wn-badge-cyan {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
}

.wn-badge-purple {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
}

.wn-deadline-date {
  margin-left: auto;
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
}

.wn-deadline-body { padding: 12px 14px 14px; }

.wn-inset {
  background: rgba(51, 65, 85, 0.35);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.wn-inset:last-child { margin-bottom: 0; }

.wn-inset-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 4px;
}

.wn-inset-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 2px;
  line-height: 1.4;
}

.wn-inset-sub--orange { color: #fb923c; }

.wn-inset-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.wn-btn-sm {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: #0891b2;
  border: none;
  border-radius: 8px;
}

.wn-status-ok { font-size: 0.6875rem; font-weight: 600; color: #4ade80; margin-top: 6px; display: block; text-align: center; }

.wn-progress {
  height: 6px;
  background: #475569;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.wn-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #22d3ee;
}

.wn-progress-fill--warn { background: #fb923c; }
.wn-progress-fill--danger { background: #f87171; }

/* Сдача проекта / материалы */
.wn-section-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 12px;
  padding: 14px;
}

.wn-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #22d3ee;
  margin: 0 0 8px;
}

.wn-section-head svg { width: 20px; height: 20px; flex-shrink: 0; }

.wn-nested {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.wn-nested-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.wn-nested h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px;
}

.wn-nested-lines {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
}

.wn-nested-lines .cyan { color: rgba(34, 211, 238, 0.9); }

.wn-btn {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: #0891b2;
  border: none;
  border-radius: 10px;
  white-space: nowrap;
}

/* Финансы */
.wn-finance-card {
  background: #1e293b;
  border: 1px solid rgba(51, 65, 85, 0.55);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.wn-finance-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 10px;
}

.wn-finance-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  margin-bottom: 6px;
}

.wn-finance-row span:first-child { color: #94a3b8; }
.wn-finance-row span:last-child { color: #fff; font-weight: 700; }
.wn-finance-row .green { color: #4ade80; }
.wn-finance-row .amber { color: #fbbf24; }

.wn-finance-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

.wn-finance-cards .wn-finance-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wn-finance-card--accent {
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(8, 145, 178, 0.12);
}

.wn-finance-label {
  font-size: 0.6875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wn-finance-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.wn-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #1e293b;
  border-radius: 10px;
  border: 1px solid rgba(51, 65, 85, 0.45);
  margin-bottom: 6px;
}

.wn-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.wn-stat {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(51, 65, 85, 0.4);
}

.wn-stat-label {
  display: block;
  font-size: 0.6875rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.wn-stat-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.wn-stat-value.cyan { color: #22d3ee; }

.wn-profit {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4ade80;
}

/* Календарь — как CalendarScreen month */
.wn-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wn-cal-month {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
}

.wn-cal-nav {
  display: flex;
  gap: 4px;
}

.wn-cal-nav button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.45);
  color: #94a3b8;
  font-size: 14px;
}

.wn-cal-filter-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.wn-cal-filter-row .wn-chip { font-size: 0.625rem; padding: 5px 10px; }

.wn-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
}

.wn-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.wn-cal-cell {
  min-height: 76px;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(71, 85, 105, 0.35);
  background: rgba(51, 65, 85, 0.35);
}

.wn-cal-cell--weekend {
  background: rgba(51, 65, 85, 0.55);
}

.wn-cal-cell--booked {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.28);
}

.wn-cal-cell--selected {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.35);
}

.wn-cal-cell--empty {
  min-height: 72px;
  background: transparent;
  border-color: transparent;
}

.wn-cal-day-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.wn-cal-day-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wn-cal-day-num--today {
  background: #06b6d4;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.wn-cal-pill {
  margin-top: 3px;
  padding: 4px 5px;
  border-radius: 8px;
  background: rgba(8, 145, 178, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 0.5625rem;
  font-weight: 500;
  color: #ecfeff;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wn-cal-pill-time {
  display: block;
  font-size: 0.5rem;
  color: rgba(207, 250, 254, 0.85);
  margin-top: 2px;
}

.wn-cal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
}

.wn-cal-divider::before,
.wn-cal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.4));
}

.wn-cal-divider::after {
  background: linear-gradient(270deg, transparent, rgba(100, 116, 139, 0.4));
}

.wn-cal-divider span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.85);
  white-space: nowrap;
}

.wn-cal-list-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #67e8f9;
  margin: 0 0 8px;
}

.wn-cal-list-card {
  background: #1e293b;
  border: 1px solid rgba(51, 65, 85, 0.55);
  border-left: 3px solid #22c55e;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

.wn-cal-list-card h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.wn-cal-list-card p {
  font-size: 0.6875rem;
  color: #94a3b8;
  margin: 0;
}

/* Настройки / Google */
.wn-settings-card {
  background: #1e293b;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.5);
  padding: 16px;
}

.wn-settings-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.wn-settings-card p {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 12px;
}

.wn-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
}

.wn-toggle-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.wn-toggle {
  width: 44px;
  height: 24px;
  background: #0891b2;
  border-radius: 12px;
  position: relative;
}

.wn-toggle::after {
  content: '';
  position: absolute;
  right: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
}

.wn-gcal-preview {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 8px;
  border: 1px solid rgba(51, 65, 85, 0.55);
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.wn-gcal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #22d3ee;
  margin-right: 6px;
  vertical-align: middle;
}

/* Карточка проекта (список) */
.wn-project-card {
  background: #1e293b;
  border-radius: 12px;
  border-top: 1px solid #475569;
  border-right: 1px solid #475569;
  border-bottom: 1px solid #475569;
  border-left: 4px solid #22c55e;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.wn-project-card-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.wn-project-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #334155;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wn-project-card-body { padding: 12px 14px; }

.mock-cap {
  font-size: 0.6875rem;
  color: #64748b;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

.mock-panel--flush {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

@media (min-width: 900px) {
  .mock-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
}
