
    :root {
      --orange: #F0A000;
      --orange-light: #F5B830;
      --orange-dark: #D08800;
      --teal: #4EC8C5;
      --dark: #1A1A1A;
      --darker: #111111;
      --white: #FFFFFF;
      --gray-100: #F8F8F8;
      --gray-200: #F0F0F0;
      --gray-300: #E0E0E0;
      --text-dark: #222222;
      --text-muted: #666666;
      --radius-sm: 6px;
      --radius-md: 12px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
      --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
      --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 16px; }
    body { font-family: var(--font); color: var(--text-dark); background: #f5f5f5; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    .admin { min-height: 100vh; display: flex; }

    /* Sidebar */
    .sidebar {
      background: var(--dark); color: #fff; width: 260px;
      position: fixed; top: 0; left: 0; bottom: 0;
      display: flex; flex-direction: column; justify-content: space-between;
      padding: 32px 20px; z-index: 100; overflow-y: auto;
    }
    .sidebar__logo { font-size: 1.4rem; font-weight: 900; display: block; margin-bottom: 0.5rem; }
    .sidebar__logo .dot { color: var(--orange); }
    .sidebar__badge {
      display: inline-block; background: rgba(240,160,0,0.2); color: var(--orange);
      font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
      padding: 3px 10px; border-radius: 12px; margin-bottom: 2.5rem;
    }
    .sidebar__nav { display: flex; flex-direction: column; gap: 4px; }
    .sidebar__nav-item {
      display: flex; align-items: center; gap: 12px; padding: 10px 14px;
      border-radius: var(--radius-sm); color: #aaa; font-size: 0.9rem;
      font-weight: 500; transition: all 0.15s;
    }
    .sidebar__nav-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
    .sidebar__nav-item--active { color: #fff; background: rgba(240,160,0,0.15); font-weight: 600; }
    .sidebar__nav-item--active svg { stroke: var(--orange); }
    .sidebar__bottom { margin-top: auto; padding-top: 20px; }
    .sidebar__user { font-size: 0.85rem; color: #888; margin-bottom: 8px; }
    .sidebar__logout {
      display: flex; align-items: center; gap: 8px; color: #666;
      font-size: 0.85rem; padding: 8px 0; transition: color 0.15s;
    }
    .sidebar__logout:hover { color: #ff6b6b; }

    /* Main */
    .main { margin-left: 260px; padding: 40px; width: calc(100% - 260px); }
    .page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
    .page-title span { color: var(--orange); }
    .page-subtitle { color: var(--text-muted); margin-bottom: 32px; }

    /* Generate button */
    .btn-generate {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--orange); color: #fff; font-size: 1rem; font-weight: 700;
      padding: 14px 28px; border-radius: var(--radius-md);
      transition: all 0.2s; margin-bottom: 32px;
    }
    .btn-generate:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
    .btn-generate:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
    .btn-generate svg { animation: none; }
    .btn-generate.loading svg { animation: spin 1s linear infinite; }
    .action-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 32px;
    }
    .selection-hub-card {
      margin-bottom: 28px;
      padding: 22px;
      border-radius: 24px;
      border: 1px solid rgba(15,23,42,0.08);
      background:
        radial-gradient(circle at top left, rgba(78,200,197,0.1), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
      box-shadow: var(--shadow-sm);
    }
    .selection-hub__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }
    .selection-hub__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #0f766e;
      margin-bottom: 8px;
    }
    .selection-hub__title {
      font-size: 1.08rem;
      font-weight: 900;
      color: var(--dark);
      margin-bottom: 4px;
    }
    .selection-hub__desc {
      max-width: 760px;
      color: var(--text-muted);
      font-size: 0.88rem;
      line-height: 1.6;
    }
    .selection-hub__week {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 14px;
      border-radius: 999px;
      background: rgba(15,118,110,0.12);
      border: 1px solid rgba(15,118,110,0.16);
      color: #0f766e;
      font-size: 0.78rem;
      font-weight: 900;
      white-space: nowrap;
    }
    .selection-hub__summary {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }
    .selection-hub__summary-card {
      padding: 14px;
      border-radius: 18px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      box-shadow: var(--shadow-sm);
    }
    .selection-hub__summary-label {
      display: block;
      margin-bottom: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #94a3b8;
    }
    .selection-hub__summary-value {
      display: block;
      color: var(--dark);
      font-size: 1.4rem;
      font-weight: 900;
      line-height: 1;
    }
    .selection-hub__summary-copy {
      margin-top: 8px;
      color: var(--text-muted);
      font-size: 0.76rem;
      line-height: 1.5;
    }
    .selection-hub__filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 18px;
    }
    .selection-hub__daily {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
      margin-bottom: 18px;
    }
    .selection-hub__daily-card {
      padding: 16px 18px;
      border-radius: 20px;
      border: 1px solid rgba(15,23,42,0.08);
      background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
      box-shadow: var(--shadow-sm);
      display: grid;
      gap: 12px;
    }
    .selection-hub__daily-card--primary {
      border-color: rgba(240,160,0,0.2);
      background: linear-gradient(180deg, rgba(255,247,237,0.96) 0%, rgba(255,255,255,0.98) 100%);
    }
    .selection-hub__daily-label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .selection-hub__daily-card--primary .selection-hub__daily-label {
      background: rgba(240,160,0,0.14);
      color: #92400e;
    }
    .selection-hub__daily-card:not(.selection-hub__daily-card--primary) .selection-hub__daily-label {
      background: rgba(15,118,110,0.12);
      color: #0f766e;
    }
    .selection-hub__daily-title {
      color: var(--dark);
      font-size: 0.96rem;
      font-weight: 900;
      line-height: 1.45;
    }
    .selection-hub__daily-copy {
      color: var(--text-muted);
      font-size: 0.8rem;
      line-height: 1.6;
    }
    .selection-hub__daily-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .selection-hub__daily-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.05);
      color: #334155;
      font-size: 0.72rem;
      font-weight: 800;
      border: 1px solid rgba(15,23,42,0.06);
    }
    .selection-hub__daily-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .selection-hub__daily-actions button {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      color: var(--text-dark);
      font-size: 0.74rem;
      font-weight: 800;
    }
    .selection-hub__daily-actions .selection-hub__daily-action--primary {
      background: rgba(240,160,0,0.12);
      border-color: rgba(240,160,0,0.18);
      color: #92400e;
    }
    .selection-hub__filter {
      min-height: 34px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid rgba(15,23,42,0.1);
      background: #fff;
      color: var(--text-dark);
      font-size: 0.76rem;
      font-weight: 800;
      transition: all 0.15s;
    }
    .selection-hub__filter--active {
      background: linear-gradient(135deg, rgba(240,160,0,0.16) 0%, rgba(78,200,197,0.18) 100%);
      border-color: rgba(240,160,0,0.26);
      color: #92400e;
    }
    .selection-hub__hero {
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(240,160,0,0.18);
      background: linear-gradient(135deg, rgba(255,247,237,0.96) 0%, rgba(255,255,255,0.98) 100%);
      margin-bottom: 16px;
    }
    .selection-hub__hero-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .selection-hub__hero-title {
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #c2410c;
    }
    .selection-hub__hero-rank {
      font-size: 0.76rem;
      font-weight: 800;
      color: #92400e;
    }
    .selection-hub__hero strong {
      display: block;
      font-size: 1rem;
      color: var(--dark);
      margin-bottom: 6px;
    }
    .selection-hub__hero p {
      color: var(--text-muted);
      font-size: 0.84rem;
      line-height: 1.6;
    }
    .selection-hub__list {
      display: grid;
      gap: 12px;
    }
    .selection-hub__item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      box-shadow: var(--shadow-sm);
    }
    .selection-hub__item-copy {
      min-width: 0;
    }
    .selection-hub__item-top {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 6px;
    }
    .selection-hub__item-platform,
    .selection-hub__item-status {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 0.68rem;
      font-weight: 900;
    }
    .selection-hub__item-platform {
      background: rgba(15,23,42,0.06);
      color: #334155;
    }
    .selection-hub__item-title {
      color: var(--dark);
      font-size: 0.92rem;
      font-weight: 800;
      line-height: 1.45;
      margin-bottom: 4px;
    }
    .selection-hub__item-reason {
      color: var(--text-muted);
      font-size: 0.78rem;
      line-height: 1.55;
    }
    .selection-hub__item-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }
    .selection-hub__item-btn {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      color: var(--text-dark);
      font-size: 0.74rem;
      font-weight: 800;
    }
    .selection-hub__item-btn--primary {
      background: rgba(240,160,0,0.12);
      border-color: rgba(240,160,0,0.18);
      color: #92400e;
    }
    .selection-hub__item-btn--ghost {
      background: rgba(15,23,42,0.04);
    }
    .btn-generate--secondary {
      background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    }
    .btn-generate--secondary:hover {
      background: linear-gradient(135deg, #020617 0%, #1e293b 100%);
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ── Workflow Breadcrumb ── */
    .workflow-breadcrumb {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 20px; padding: 10px 16px;
      background: rgba(240,160,0,0.04); border-radius: 12px;
      border: 1px solid rgba(240,160,0,0.1);
    }
    .workflow-breadcrumb__step {
      display: flex; align-items: center; gap: 6px;
      font-size: 0.82rem; font-weight: 500; color: #888;
      padding: 4px 10px; border-radius: 8px; transition: all 0.15s;
    }
    .workflow-breadcrumb__step:hover { color: var(--orange); background: rgba(240,160,0,0.08); }
    .workflow-breadcrumb__step--active { color: var(--text-dark); font-weight: 700; background: rgba(240,160,0,0.12); }
    .workflow-breadcrumb__num {
      display: inline-flex; align-items: center; justify-content: center;
      width: 20px; height: 20px; border-radius: 50%;
      background: #e0e0e0; color: #666; font-size: 0.7rem; font-weight: 800;
    }
    .workflow-breadcrumb__step--active .workflow-breadcrumb__num { background: var(--orange); color: #fff; }
    .workflow-breadcrumb__arrow { color: #ccc; font-size: 0.9rem; }

    /* ── Network Tabs ── */
    .network-tabs {
      display: flex; align-items: center; gap: 4px;
      margin-bottom: 16px; padding: 4px;
      background: var(--gray-100); border-radius: 12px;
      border: 1px solid rgba(15,23,42,0.06);
    }
    .network-tabs__btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 16px; border-radius: 8px;
      font-size: 0.82rem; font-weight: 600; color: #888;
      transition: all 0.15s; white-space: nowrap;
    }
    .network-tabs__btn:hover { color: var(--text-dark); background: rgba(255,255,255,0.6); }
    .network-tabs__btn--active {
      color: var(--text-dark); background: #fff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .network-tabs__dot {
      width: 8px; height: 8px; border-radius: 50%; display: inline-block;
    }
    .network-tabs__dot--linkedin { background: #0A66C2; }
    .network-tabs__dot--instagram { background: #E1306C; }
    .network-tabs__dot--tiktok { background: #000; }
    .network-tabs__dot--youtube { background: #FF0000; }
    .network-tabs__dot--facebook { background: #1877F2; }
    .network-tabs__status {
      margin-left: auto; font-size: 0.75rem; color: #aaa; padding-right: 8px;
    }

    /* ── Calendar status colors ── */
    .editorial-calendar__grid .cal-post--published { border-left: 3px solid #16a34a; }
    .editorial-calendar__grid .cal-post--scheduled { border-left: 3px solid var(--orange); }
    .editorial-calendar__grid .cal-post--draft { border-left: 3px solid #d1d5db; }

    /* ── Social Hub Compact ── */
    .social-hub-compact { margin-bottom: 16px; }
    .social-hub-compact__bar {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 16px; cursor: pointer;
      background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
      border: 1px solid rgba(15,23,42,0.08); border-radius: 12px;
      transition: all 0.15s;
    }
    .social-hub-compact__bar:hover { border-color: rgba(240,160,0,0.3); }
    .social-hub-compact__title { font-size: 0.82rem; font-weight: 600; color: #888; min-width: 60px; }
    .social-hub-compact__dots { display: flex; gap: 6px; flex: 1; }
    .social-hub-compact__dot {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 8px;
      font-size: 0.65rem; font-weight: 800; color: #fff;
      transition: all 0.15s;
    }
    .social-hub-compact__dot--connected { background: #16a34a; }
    .social-hub-compact__dot--pending { background: #d1d5db; color: #888; }
    .social-hub-compact__dot--error { background: #ef4444; }
    .social-hub-compact__toggle { font-size: 0.7rem; color: #aaa; transition: transform 0.2s; }
    .social-hub-compact.open .social-hub-compact__toggle { transform: rotate(180deg); }

    /* ── Action Bar Overflow ── */
    .action-bar__overflow { position: relative; }
    .action-bar__overflow-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 44px; height: 44px; border-radius: var(--radius-md);
      background: var(--gray-200); font-size: 1.4rem; color: #666;
      transition: all 0.15s;
    }
    .action-bar__overflow-btn:hover { background: var(--gray-300); }
    .action-bar__overflow-menu {
      display: none; position: absolute; top: 100%; right: 0; margin-top: 6px;
      background: #fff; border: 1px solid rgba(15,23,42,0.1);
      border-radius: 12px; padding: 6px; min-width: 200px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 50;
    }
    .action-bar__overflow-menu--open { display: block; }
    .action-bar__overflow-menu button {
      display: block; width: 100%; text-align: left;
      padding: 10px 14px; border-radius: 8px;
      font-size: 0.85rem; font-weight: 500; color: var(--text-dark);
      transition: background 0.1s;
    }
    .action-bar__overflow-menu button:hover { background: var(--gray-100); }
    .action-bar__overflow-menu button:disabled { opacity: 0.4; cursor: not-allowed; }

    .social-hub {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin-bottom: 20px;
      padding-top: 12px;
    }
    .social-card {
      background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
      border: 1px solid rgba(15, 23, 42, 0.08);
      border-radius: 18px;
      padding: 16px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 150px;
    }
    .social-card__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }
    .social-card__badge {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.88rem;
      font-weight: 900;
      color: #fff;
    }
    .social-card__badge--linkedin { background: #0A66C2; }
    .social-card__badge--facebook { background: #1877F2; }
    .social-card__badge--instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
    .social-card__badge--tiktok { background: linear-gradient(135deg, #111111 0%, #25F4EE 100%); }
    .social-card__badge--youtube { background: #FF0000; }
    .social-card__badge--heygen { background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%); }
    .social-card__meta {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
    }
    .social-card__eyebrow {
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #94a3b8;
    }
    .social-card__title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--dark);
    }
    .social-card__status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 800;
      width: fit-content;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #64748b;
    }
    .social-card__status--connected {
      background: #dcfce7;
      border-color: #bbf7d0;
      color: #166534;
    }
    .social-card__status--disconnected {
      background: #fef2f2;
      border-color: #fecaca;
      color: #b91c1c;
    }
    .social-card__status--pending {
      background: #fff7ed;
      border-color: #fed7aa;
      color: #c2410c;
    }
    .social-card__copy {
      color: var(--text-muted);
      font-size: 0.82rem;
      line-height: 1.55;
      min-height: 40px;
    }
    .social-card__actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: auto;
    }
    .btn-network {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 800;
      transition: all 0.15s;
    }
    .btn-network--primary { color: #fff; }
    .btn-network--linkedin { background: #0A66C2; }
    .btn-network--facebook { background: #1877F2; }
    .btn-network--instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%); }
    .btn-network--tiktok { background: #111111; }
    .btn-network--youtube { background: #FF0000; }
    .btn-network--neutral {
      background: var(--gray-200);
      color: var(--text-dark);
    }
    .btn-network--ghost {
      background: rgba(15, 23, 42, 0.04);
      color: var(--text-dark);
      border: 1px solid rgba(15, 23, 42, 0.08);
    }
    .btn-network[disabled] {
      opacity: 0.55;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    /* Editorial calendar */
    .editorial-calendar-card {
      background:
        radial-gradient(circle at top left, rgba(240,160,0,0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fcfcfb 100%);
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: 24px;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
      padding: 22px;
      margin-bottom: 28px;
    }
    .editorial-calendar__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }
    .editorial-calendar__title {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .editorial-calendar__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: var(--orange-dark);
    }
    .editorial-calendar__title h3 {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--dark);
    }
    .editorial-calendar__title p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.55;
      max-width: 760px;
    }
    .editorial-calendar__nav {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .editorial-calendar__nav button {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      border: 1px solid var(--gray-300);
      background: #fff;
      color: var(--text-dark);
      font-size: 1rem;
      font-weight: 800;
      transition: all 0.15s;
    }
    .editorial-calendar__nav button:hover {
      border-color: rgba(240,160,0,0.45);
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }
    .editorial-calendar__month {
      min-width: 190px;
      text-align: center;
      font-weight: 800;
      color: var(--dark);
    }
    .editorial-calendar__overview {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 14px;
    }
    .editorial-calendar__overview-card {
      border: 1px solid var(--gray-200);
      border-radius: 18px;
      padding: 14px 15px;
      background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }
    .editorial-calendar__overview-label {
      display: block;
      margin-bottom: 8px;
      color: #94a3b8;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .editorial-calendar__overview-value {
      color: var(--dark);
      font-size: 1.3rem;
      font-weight: 900;
      line-height: 1;
    }
    .editorial-calendar__overview-copy {
      margin-top: 8px;
      color: var(--text-muted);
      font-size: 0.76rem;
      line-height: 1.45;
    }
    .editorial-calendar__legend {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }
    .editorial-calendar__legend span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #475569;
      font-size: 0.78rem;
      font-weight: 700;
    }
    .editorial-calendar__legend span::before {
      content: '';
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: currentColor;
    }
    .editorial-calendar__legend .channel--linkedin { color: #0A66C2; }
    .editorial-calendar__legend .channel--facebook { color: #1877F2; }
    .editorial-calendar__legend .channel--instagram { color: #C13584; }
    .editorial-calendar__legend .channel--tiktok { color: #111111; }
    .editorial-calendar__legend .channel--youtube { color: #FF0000; }
    .editorial-calendar__backlog {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }
    .editorial-calendar__backlog-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px dashed rgba(240,160,0,0.35);
      background: rgba(240,160,0,0.08);
      color: #92400e;
      font-size: 0.78rem;
      font-weight: 700;
      max-width: 100%;
    }
    .editorial-calendar__backlog-item strong {
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .editorial-calendar__grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      grid-auto-rows: 150px;
      gap: 12px;
    }
    .editorial-calendar__weekday {
      padding: 0 4px 6px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #9ca3af;
    }
    .editorial-calendar__day {
      height: 150px;
      border-radius: 18px;
      border: 1px solid var(--gray-200);
      background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      cursor: pointer;
      transition: all 0.15s;
    }
    .editorial-calendar__day:hover {
      transform: translateY(-1px);
      border-color: rgba(240,160,0,0.35);
    }
    .editorial-calendar__day--outside {
      background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
      color: #c1c7d0;
      box-shadow: none;
    }
    .editorial-calendar__day--has-posts {
      border-color: rgba(10,102,194,0.16);
      background: linear-gradient(180deg, #ffffff 0%, rgba(219,234,254,0.14) 100%);
    }
    .editorial-calendar__day--selected {
      border-color: rgba(240,160,0,0.38);
      box-shadow: 0 14px 30px rgba(15,23,42,0.08);
    }
    .editorial-calendar__day-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .editorial-calendar__day-number {
      font-size: 0.95rem;
      font-weight: 800;
      color: inherit;
    }
    .editorial-calendar__day-count {
      min-width: 24px;
      height: 24px;
      padding: 0 8px;
      border-radius: 999px;
      background: rgba(10,102,194,0.1);
      color: #0A66C2;
      font-size: 0.72rem;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .editorial-calendar__events {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 0;
      overflow: hidden;
    }
    .editorial-calendar__event {
      border-radius: 14px;
      padding: 8px 9px;
      border: 1px solid rgba(10,102,194,0.14);
      background: linear-gradient(180deg, rgba(10,102,194,0.06) 0%, rgba(255,255,255,0.96) 100%);
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      overflow: hidden;
    }
    .editorial-calendar__event-time {
      font-size: 0.72rem;
      color: #64748b;
      font-weight: 800;
      min-width: 42px;
    }
    .editorial-calendar__event-name {
      font-size: 0.8rem;
      font-weight: 800;
      color: var(--dark);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .editorial-calendar__event-tag {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      font-size: 0.64rem;
      font-weight: 800;
      white-space: nowrap;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #475569;
    }
    .editorial-calendar__event-tag--published {
      background: #dcfce7;
      border-color: #bbf7d0;
      color: #166534;
    }
    .editorial-calendar__event-tag--scheduled {
      background: #dbeafe;
      border-color: #bfdbfe;
      color: #1d4ed8;
    }
    .editorial-calendar__event-tag--draft {
      background: #fff7ed;
      border-color: #fed7aa;
      color: #c2410c;
    }
    .editorial-calendar__more {
      color: #94a3b8;
      font-size: 0.72rem;
      font-weight: 700;
    }
    .editorial-calendar__details {
      margin-top: 18px;
      border: 1px solid var(--gray-200);
      border-radius: 18px;
      background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
      padding: 18px;
    }
    .editorial-calendar__details-title {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    .editorial-calendar__details-title strong {
      color: var(--dark);
      font-size: 1rem;
    }
    .editorial-calendar__details-title span {
      color: #94a3b8;
      font-size: 0.82rem;
      font-weight: 700;
    }
    .editorial-calendar__details-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }
    .editorial-calendar__details-item {
      border: 1px solid var(--gray-200);
      border-radius: 16px;
      padding: 14px;
      background: #fff;
      box-shadow: var(--shadow-sm);
    }
    .editorial-calendar__details-item strong {
      display: block;
      color: var(--dark);
      font-size: 0.92rem;
      margin-bottom: 6px;
    }
    .editorial-calendar__details-item p {
      color: var(--text-muted);
      font-size: 0.84rem;
      line-height: 1.55;
    }
    .editorial-calendar__details-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0 12px;
    }
    .editorial-calendar__details-meta span {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #475569;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .editorial-calendar__details-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      border: 1px solid rgba(240,160,0,0.18);
      color: var(--dark);
      font-size: 0.8rem;
      font-weight: 800;
    }
    .asset-registry-card {
      margin-top: 20px;
      padding: 20px;
      border-radius: 24px;
      border: 1px solid rgba(15,23,42,0.08);
      background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
      box-shadow: var(--shadow-sm);
    }
    .asset-registry__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 16px;
    }
    .asset-registry__title h3 {
      font-size: 1.1rem;
      color: var(--dark);
      margin: 4px 0 6px;
    }
    .asset-registry__title p {
      color: var(--text-muted);
      font-size: 0.88rem;
      line-height: 1.65;
      max-width: 760px;
    }
    .asset-registry__eyebrow {
      display: inline-flex;
      align-items: center;
      font-size: 0.7rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #0f766e;
    }
    .asset-registry__actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
    }
    .asset-registry__meta {
      color: #64748b;
      font-size: 0.8rem;
      font-weight: 700;
    }
    .asset-registry__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 14px;
    }
    .asset-card {
      border-radius: 18px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      padding: 16px;
      box-shadow: var(--shadow-sm);
      display: grid;
      gap: 12px;
    }
    .asset-card__preview {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 5;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(15,118,110,0.08), rgba(240,160,0,0.1));
      border: 1px solid rgba(15,23,42,0.08);
    }
    .asset-card__preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .asset-card__preview-badge {
      position: absolute;
      left: 10px;
      top: 10px;
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.92);
      color: #0f172a;
      border: 1px solid rgba(15,23,42,0.08);
      font-size: 0.7rem;
      font-weight: 800;
      backdrop-filter: blur(6px);
    }
    .asset-card__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .asset-card__title {
      font-size: 0.96rem;
      font-weight: 800;
      color: var(--dark);
      line-height: 1.4;
    }
    .asset-card__status {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: #dcfce7;
      color: #166534;
      border: 1px solid #bbf7d0;
      font-size: 0.72rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .asset-card__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .asset-card__chips span {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #475569;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .asset-card__promise {
      color: var(--text-muted);
      font-size: 0.84rem;
      line-height: 1.65;
      white-space: pre-wrap;
    }
    .asset-card__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .asset-card__action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 0.76rem;
      font-weight: 800;
      transition: all 0.15s;
    }
    .asset-card__action--primary {
      background: linear-gradient(135deg, #0f766e 0%, #0f9d8f 100%);
      color: #fff;
    }
    .asset-card__action--ghost {
      border: 1px solid rgba(15,23,42,0.1);
      background: rgba(15,23,42,0.04);
      color: #0f172a;
    }
    .asset-card__action--warm {
      background: linear-gradient(135deg, #bf7d20 0%, #f59e0b 100%);
      color: #fff;
    }
    .asset-card__group {
      border-radius: 14px;
      border: 1px solid rgba(15,23,42,0.07);
      background: #fcfcfd;
      padding: 12px;
    }
    .asset-card__group-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 8px;
    }
    .asset-card__group-title strong {
      font-size: 0.78rem;
      color: var(--dark);
    }
    .asset-card__group-copy {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.06);
      color: #0f172a;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .asset-card__group-copy.is-copied {
      background: #dcfce7;
      color: #166534;
    }
    .asset-card__group-value {
      color: var(--text-dark);
      font-size: 0.82rem;
      line-height: 1.65;
      white-space: pre-wrap;
    }
    .asset-card__source {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      color: #64748b;
      font-size: 0.76rem;
      font-weight: 700;
    }
    .asset-card__source a {
      color: var(--orange-dark);
      font-weight: 800;
    }

    /* Posts grid */
    .posts-grid { display: flex; flex-direction: column; gap: 20px; }

    .post-card {
      background: var(--white); border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s;
    }
    .post-card:hover { box-shadow: var(--shadow-md); }

    /* ── Compact post view ── */
    .post-compact {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 16px; cursor: pointer;
      transition: background 0.1s;
    }
    .post-compact:hover { background: var(--gray-100); }
    .post-compact__left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .post-compact__hook {
      flex: 1; font-size: 0.85rem; color: var(--text-dark);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      font-weight: 500;
    }
    .post-compact__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
    .post-compact__score { font-size: 0.7rem; font-weight: 700; color: var(--orange); }
    .post-compact__expand-icon { font-size: 0.6rem; color: #ccc; transition: transform 0.2s; }
    .post-card--expanded .post-compact__expand-icon { transform: rotate(180deg); }
    .post-card--expanded .post-compact { border-bottom: 1px solid var(--gray-200); background: var(--gray-100); }

    .post-signal-badge {
      display: inline-block; font-size: 0.65rem; font-weight: 600;
      color: var(--teal); background: rgba(78,200,197,0.1);
      padding: 2px 8px; border-radius: 6px; white-space: nowrap;
      max-width: 180px; overflow: hidden; text-overflow: ellipsis;
    }

    .post-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 20px; border-bottom: 1px solid var(--gray-200);
    }
    .post-meta { display: flex; align-items: center; gap: 12px; }
    .post-meta-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 2px 10px;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 800;
      border: 1px solid transparent;
    }
    .post-meta-pill--meta {
      background: rgba(24,119,242,0.1);
      color: #1877F2;
      border-color: rgba(24,119,242,0.2);
    }
    .post-meta-pill--meta-off {
      background: #f8fafc;
      color: #94a3b8;
      border-color: #e2e8f0;
    }
    .post-meta-pill--platform-instagram {
      background: rgba(221,42,123,0.1);
      color: #C13584;
      border-color: rgba(221,42,123,0.18);
    }
    .post-meta-pill--format-instagram {
      background: rgba(245,158,11,0.12);
      color: #b45309;
      border-color: rgba(245,158,11,0.2);
    }
    .post-meta-pill--platform-tiktok {
      background: rgba(15,23,42,0.08);
      color: #111827;
      border-color: rgba(15,23,42,0.12);
    }
    .post-meta-pill--platform-youtube {
      background: rgba(255,0,0,0.1);
      color: #b91c1c;
      border-color: rgba(255,0,0,0.16);
    }
    .post-badge {
      display: inline-block; padding: 4px 12px; border-radius: 20px;
      font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    }
    .post-badge--storytelling { background: #E8F5E9; color: #2E7D32; }
    .post-badge--conseil { background: #E3F2FD; color: #1565C0; }
    .post-badge--etude_de_cas { background: #FFF3E0; color: #E65100; }
    .post-badge--opinion { background: #FCE4EC; color: #C62828; }
    .post-badge--probleme_solution { background: #F3E5F5; color: #6A1B9A; }
    .post-badge--instagram_reel { background: rgba(221,42,123,0.12); color: #C13584; }
    .post-badge--instagram_carousel { background: rgba(245,158,11,0.14); color: #b45309; }
    .post-badge--instagram_story_pack { background: rgba(59,130,246,0.12); color: #1d4ed8; }
    .post-badge--tiktok_short { background: rgba(15,23,42,0.08); color: #111827; }
    .post-badge--youtube_short { background: rgba(255,0,0,0.1); color: #B91C1C; }
    .post-jour { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
    .post-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .post-platforms {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      padding: 0 20px 18px;
      border-bottom: 1px solid var(--gray-200);
    }
    .post-platform {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 800;
      transition: all 0.15s;
      border: 1px solid transparent;
    }
    .post-platform--linkedin { background: rgba(10,102,194,0.1); color: #0A66C2; }
    .post-platform--facebook { background: rgba(24,119,242,0.12); color: #1877F2; }
    .post-platform--instagram { background: rgba(221,42,123,0.1); color: #C13584; }
    .post-platform--tiktok { background: rgba(15,23,42,0.08); color: #111111; }
    .post-platform--youtube { background: rgba(255,0,0,0.1); color: #B91C1C; }
    .post-platform--heygen { background: rgba(124,58,237,0.12); color: #6d28d9; }
    .post-platform--all { background: rgba(240,160,0,0.12); color: var(--orange-dark); }
    .post-platform--muted {
      background: #f8fafc;
      color: #94a3b8;
      border-color: #e2e8f0;
      cursor: default;
    }
    .post-platform--done {
      background: #dcfce7;
      color: #166534;
      border-color: #bbf7d0;
      cursor: default;
    }
    .post-platform--warning {
      background: #fff7ed;
      color: #c2410c;
      border-color: #fed7aa;
      cursor: default;
    }

    .btn-action {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 14px; border-radius: var(--radius-sm);
      font-size: 0.8rem; font-weight: 600; transition: all 0.15s;
    }
    .btn-copy { background: var(--gray-200); color: var(--text-dark); }
    .btn-copy:hover { background: var(--gray-300); }
    .btn-copy.copied { background: #E8F5E9; color: #2E7D32; }
    .btn-edit { background: rgba(240,160,0,0.1); color: var(--orange-dark); }
    .btn-edit:hover { background: rgba(240,160,0,0.2); }
    .btn-ai { background: rgba(124,58,237,0.12); color: #6d28d9; }
    .btn-ai:hover { background: rgba(124,58,237,0.2); }
    .btn-igtt { background: rgba(15,23,42,0.06); color: #0f172a; }
    .btn-igtt:hover { background: rgba(15,23,42,0.12); }
    .btn-visual { background: rgba(14,116,144,0.12); color: #0e7490; }
    .btn-visual:hover { background: rgba(14,116,144,0.2); }
    .btn-delete { background: rgba(255,0,0,0.05); color: #C62828; }
    .btn-delete:hover { background: rgba(255,0,0,0.1); }
    .btn-publie { background: #E8F5E9; color: #2E7D32; }
    .btn-publie:hover { background: #C8E6C9; }
    .btn-non-publie { background: var(--gray-200); color: var(--text-muted); }
    .btn-non-publie:hover { background: var(--gray-300); }

    .post-body {
      padding: 20px;
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
      gap: 18px;
      align-items: start;
    }
    .post-body__main {
      min-width: 0;
    }
    .post-accroche {
      font-size: 0.85rem; color: var(--orange-dark); font-weight: 700;
      margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--gray-300);
    }
    .post-copy-block {
      display: grid;
      gap: 8px;
      margin-bottom: 16px;
    }
    .post-copy-block__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .post-copy-block__label {
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #64748b;
    }
    .post-ai-inline-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(124,58,237,0.12);
      border: 1px solid rgba(124,58,237,0.16);
      color: #6d28d9;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.04em;
    }
    .post-ai-inline-btn:hover {
      background: rgba(124,58,237,0.18);
    }
    .post-strategy {
      margin-bottom: 16px;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(15,23,42,0.08);
      background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    }
    .post-strategy__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }
    .post-strategy__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--orange-dark);
    }
    .post-strategy__source {
      font-size: 0.92rem;
      font-weight: 800;
      color: var(--dark);
      line-height: 1.45;
    }
    .post-strategy__links {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .post-strategy__link {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(240,160,0,0.12);
      border: 1px solid rgba(240,160,0,0.18);
      color: var(--dark);
      font-size: 0.76rem;
      font-weight: 800;
    }
    .post-strategy__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }
    .post-strategy__chips span {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--gray-200);
      background: #fff;
      color: #475569;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .post-strategy__copy {
      display: grid;
      gap: 10px;
    }
    .post-strategy__copy p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .post-strategy__copy strong {
      color: var(--dark);
    }
    .post-inspiration {
      margin-top: 16px;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(124,58,237,0.16);
      background: linear-gradient(180deg, rgba(250,245,255,0.95) 0%, #ffffff 100%);
    }
    .post-inspiration__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #6d28d9;
      margin-bottom: 12px;
    }
    .post-inspiration__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
    }
    .post-inspiration__card {
      border-radius: 14px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      padding: 14px;
      box-shadow: var(--shadow-sm);
      display: grid;
      gap: 10px;
    }
    .post-inspiration__card--model {
      border-color: rgba(124,58,237,0.2);
      background: linear-gradient(180deg, rgba(245,243,255,0.88) 0%, #ffffff 100%);
    }
    .post-inspiration__label {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      width: fit-content;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(124,58,237,0.1);
      color: #6d28d9;
      font-size: 0.7rem;
      font-weight: 900;
    }
    .post-inspiration__title {
      font-size: 0.86rem;
      line-height: 1.5;
      color: var(--dark);
      font-weight: 800;
    }
    .post-inspiration__meta {
      color: #64748b;
      font-size: 0.75rem;
      line-height: 1.5;
      font-weight: 700;
    }
    .post-inspiration__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .post-inspiration__link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(124,58,237,0.12);
      color: #6d28d9;
      border: 1px solid rgba(124,58,237,0.16);
      font-size: 0.74rem;
      font-weight: 800;
    }
    .post-production {
      margin-top: 16px;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(14,116,144,0.14);
      background: linear-gradient(180deg, rgba(240,249,255,0.9) 0%, #ffffff 100%);
    }
    .post-production__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #0f766e;
      margin-bottom: 12px;
    }
    .post-production__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
    }
    .post-production__card {
      border-radius: 14px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      padding: 14px;
      box-shadow: var(--shadow-sm);
    }
    .post-production__card--caption {
      grid-column: 1 / -1;
    }
    .post-production__title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .post-production__title strong {
      font-size: 0.82rem;
      color: var(--dark);
    }
    .post-production__copy {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.06);
      color: #0f172a;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .post-production__copy.is-copied {
      background: #dcfce7;
      color: #166534;
    }
    .post-production__value {
      white-space: pre-wrap;
      color: var(--text-dark);
      font-size: 0.84rem;
      line-height: 1.65;
    }
    .post-production__hint {
      margin-top: 6px;
      color: #64748b;
      font-size: 0.72rem;
      font-weight: 700;
    }
    .post-production__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }
    .post-production__visual {
      margin-top: 10px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(15,23,42,0.08);
      background: linear-gradient(180deg, rgba(248,250,252,0.9) 0%, #ffffff 100%);
    }
    .post-production__visual img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
    }
    .post-production__error {
      margin-top: 8px;
      color: #b42318;
      font-size: 0.72rem;
      font-weight: 800;
      line-height: 1.5;
    }
    .post-production__link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(15,118,110,0.14) 0%, rgba(14,165,233,0.14) 100%);
      color: #0f766e;
      border: 1px solid rgba(15,118,110,0.12);
      font-size: 0.74rem;
      font-weight: 800;
    }
    .post-performance__summary {
      margin-top: 12px;
      color: #475569;
      font-size: 0.76rem;
      font-weight: 700;
    }
    .post-performance__inputs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      gap: 10px;
      margin-top: 12px;
    }
    .post-performance__field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .post-performance__field label {
      font-size: 0.7rem;
      font-weight: 800;
      color: #475569;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .post-performance__field input,
    .post-performance__field textarea {
      width: 100%;
      border-radius: 10px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      color: var(--text-dark);
      font-size: 0.82rem;
      padding: 10px 12px;
      outline: none;
      resize: vertical;
    }
    .post-performance__field input:focus,
    .post-performance__field textarea:focus {
      border-color: rgba(14,116,144,0.45);
      box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
    }
    .post-performance__field--notes {
      grid-column: 1 / -1;
    }
    .post-performance__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
      align-items: center;
    }
    .post-performance__score {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,118,110,0.12);
      color: #0f766e;
      font-size: 0.72rem;
      font-weight: 800;
    }
    .post-selection {
      margin-top: 12px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(15,23,42,0.08);
      background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
      box-shadow: var(--shadow-sm);
      display: grid;
      gap: 12px;
    }
    .post-selection__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .post-selection__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #0f766e;
      margin-bottom: 6px;
    }
    .post-selection__reason {
      color: var(--text-muted);
      font-size: 0.8rem;
      line-height: 1.6;
    }
    .post-selection__chips,
    .post-selection__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .post-selection__chip,
    .post-selection__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      color: var(--text-dark);
    }
    .post-selection__chip--score {
      background: rgba(15,23,42,0.05);
      color: #334155;
    }
    .post-selection__chip--priority,
    .selection-hub__item-status--priority {
      background: rgba(240,160,0,0.14);
      border-color: rgba(240,160,0,0.2);
      color: #92400e;
    }
    .post-selection__chip--keep,
    .selection-hub__item-status--keep {
      background: rgba(15,118,110,0.12);
      border-color: rgba(15,118,110,0.18);
      color: #0f766e;
    }
    .post-selection__chip--rework,
    .selection-hub__item-status--rework {
      background: rgba(59,130,246,0.12);
      border-color: rgba(59,130,246,0.16);
      color: #1d4ed8;
    }
    .post-selection__chip--discard,
    .selection-hub__item-status--discard {
      background: rgba(239,68,68,0.1);
      border-color: rgba(239,68,68,0.14);
      color: #b91c1c;
    }
    .post-selection__chip--pending,
    .selection-hub__item-status--pending {
      background: rgba(15,23,42,0.05);
      border-color: rgba(15,23,42,0.08);
      color: #475569;
    }
    .post-selection__btn {
      transition: all 0.15s;
    }
    .post-selection__btn:hover {
      transform: translateY(-1px);
      box-shadow: var(--shadow-sm);
    }
    .post-selection__btn--active {
      box-shadow: inset 0 0 0 1px currentColor;
    }
    .post-selection__btn--priority {
      background: rgba(240,160,0,0.12);
      color: #92400e;
    }
    .post-selection__btn--keep {
      background: rgba(15,118,110,0.1);
      color: #0f766e;
    }
    .post-selection__btn--rework {
      background: rgba(59,130,246,0.1);
      color: #1d4ed8;
    }
    .post-selection__btn--discard {
      background: rgba(239,68,68,0.08);
      color: #b91c1c;
    }
    .post-selection__btn--reset {
      background: rgba(15,23,42,0.04);
      color: #475569;
    }
    .post-card--selection-priority {
      border-color: rgba(240,160,0,0.22);
      box-shadow: 0 12px 30px rgba(240,160,0,0.08);
    }
    .post-card--selection-keep {
      border-color: rgba(15,118,110,0.18);
    }
    .post-card--selection-discard {
      opacity: 0.88;
    }
    .post-card--pulse {
      animation: postCardPulse 1.4s ease;
    }
    @keyframes postCardPulse {
      0% { box-shadow: 0 0 0 0 rgba(240,160,0,0); }
      25% { box-shadow: 0 0 0 6px rgba(240,160,0,0.16); }
      100% { box-shadow: 0 0 0 0 rgba(240,160,0,0); }
    }
    .post-contenu {
      font-size: 0.9rem; line-height: 1.7; white-space: pre-wrap; color: var(--text-dark);
    }
    .post-ai-studio {
      min-width: 0;
      display: grid;
      gap: 14px;
      padding: 16px;
      border-radius: 20px;
      border: 1px solid rgba(124,58,237,0.14);
      background: linear-gradient(180deg, rgba(250,245,255,0.98) 0%, rgba(255,255,255,0.98) 100%);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 18px;
    }
    .post-ai-studio__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }
    .post-ai-studio__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #6d28d9;
      margin-bottom: 8px;
    }
    .post-ai-studio__title {
      font-size: 0.98rem;
      font-weight: 900;
      color: var(--dark);
      line-height: 1.35;
    }
    .post-ai-studio__desc {
      margin-top: 4px;
      color: var(--text-muted);
      font-size: 0.8rem;
      line-height: 1.6;
    }
    .post-ai-studio__badge {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,118,110,0.1);
      border: 1px solid rgba(15,118,110,0.16);
      color: #0f766e;
      font-size: 0.72rem;
      font-weight: 900;
      white-space: nowrap;
    }
    .post-ai-studio__row {
      display: grid;
      gap: 8px;
    }
    .post-ai-studio__label {
      font-size: 0.76rem;
      font-weight: 800;
      color: var(--dark);
    }
    .post-ai-studio__select,
    .post-ai-studio__textarea {
      width: 100%;
      border-radius: 14px;
      border: 1px solid #dbe3ef;
      background: #fff;
      outline: none;
      font-family: var(--font);
    }
    .post-ai-studio__select {
      min-height: 42px;
      padding: 0 14px;
      font-size: 0.84rem;
      color: var(--text-dark);
      font-weight: 700;
    }
    .post-ai-studio__textarea {
      min-height: 128px;
      padding: 14px 16px;
      resize: vertical;
      font-size: 0.86rem;
      line-height: 1.65;
      color: var(--text-dark);
    }
    .post-ai-studio__select:focus,
    .post-ai-studio__textarea:focus {
      border-color: rgba(124,58,237,0.36);
      box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
    }
    .post-ai-studio__presets {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .post-ai-studio__preset {
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(15,23,42,0.05);
      border: 1px solid rgba(15,23,42,0.08);
      color: var(--text-dark);
      font-size: 0.74rem;
      font-weight: 800;
    }
    .post-ai-studio__preset:hover {
      border-color: rgba(124,58,237,0.22);
      color: #6d28d9;
      background: rgba(124,58,237,0.08);
    }
    .post-ai-studio__history {
      display: grid;
      gap: 10px;
      max-height: 320px;
      overflow-y: auto;
      padding-right: 4px;
    }
    .post-ai-studio__message {
      padding: 12px 14px;
      border-radius: 16px;
      line-height: 1.6;
      font-size: 0.82rem;
      white-space: pre-wrap;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
    }
    .post-ai-studio__message--assistant {
      background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,255,0.98));
    }
    .post-ai-studio__message--user {
      background: linear-gradient(180deg, rgba(255,251,235,0.98), rgba(255,255,255,0.98));
      border-color: rgba(240,160,0,0.16);
    }
    .post-ai-studio__message-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .post-ai-studio__message-role {
      font-size: 0.7rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--dark);
    }
    .post-ai-studio__message-direction {
      font-size: 0.68rem;
      font-weight: 800;
      color: #6d28d9;
      text-align: right;
    }
    .post-ai-studio__message-notes {
      display: grid;
      gap: 6px;
      margin-top: 10px;
    }
    .post-ai-studio__message-note {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: var(--text-muted);
      font-size: 0.76rem;
      line-height: 1.55;
    }
    .post-ai-studio__message-note::before {
      content: '•';
      color: #6d28d9;
      font-weight: 900;
    }
    .post-ai-studio__actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .post-ai-studio__hint {
      color: var(--text-muted);
      font-size: 0.74rem;
      line-height: 1.55;
      max-width: 340px;
    }
    .post-ai-studio__submit {
      min-height: 42px;
      padding: 0 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
      color: #fff;
      font-size: 0.82rem;
      font-weight: 900;
      letter-spacing: 0.02em;
    }
    .post-ai-studio__submit[disabled] {
      opacity: 0.6;
      cursor: not-allowed;
    }
    .post-contenu-edit {
      width: 100%; min-height: 300px; padding: 16px;
      border: 2px solid var(--orange); border-radius: var(--radius-sm);
      font-family: var(--font); font-size: 0.9rem; line-height: 1.7;
      resize: vertical; outline: none;
    }
    .post-edit-note {
      margin-top: 10px;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 600;
    }
    .btn-save-edit {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--orange); color: #fff; padding: 8px 20px;
      border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem;
      margin-top: 12px; transition: background 0.15s;
    }
    .btn-save-edit:hover { background: var(--orange-dark); }
    .btn-cancel-edit {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--gray-200); color: var(--text-dark); padding: 8px 20px;
      border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem;
      margin-top: 12px; margin-left: 8px; transition: background 0.15s;
    }
    .btn-cancel-edit:hover { background: var(--gray-300); }

    /* Loading */
    .loading-overlay {
      display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.4); z-index: 1000;
      justify-content: center; align-items: center;
    }
    .loading-overlay.active { display: flex; }
    .loading-box {
      background: #fff; padding: 40px 60px; border-radius: var(--radius-md);
      text-align: center; box-shadow: var(--shadow-md);
    }
    .loading-box h3 { margin-top: 16px; font-size: 1.1rem; }
    .loading-box p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
    .spinner {
      width: 40px; height: 40px; border: 4px solid var(--gray-300);
      border-top-color: var(--orange); border-radius: 50%;
      animation: spin 0.8s linear infinite; margin: 0 auto;
    }

    /* Empty state */
    .empty-state {
      text-align: center; padding: 60px 20px; color: var(--text-muted);
    }
    .empty-state svg { opacity: 0.3; margin-bottom: 16px; }
    .empty-state h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 8px; }

    /* Semaine separator */
    .semaine-header {
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 1px; color: var(--text-muted); margin-top: 12px; margin-bottom: 8px;
      padding-bottom: 8px; border-bottom: 2px solid var(--gray-300);
    }
    .semaine-header__label {
      min-width: 0;
    }
    .semaine-header__actions {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .semaine-header__action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 14px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--gray-300);
      color: var(--text-dark);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: all 0.15s;
      white-space: nowrap;
    }
    .semaine-header__action:hover {
      background: var(--gray-100);
      border-color: var(--orange);
      color: var(--orange-dark);
    }
    .semaine-header__action--primary {
      background: rgba(255, 255, 255, 0.95);
      border-color: rgba(15, 118, 110, 0.18);
      color: var(--teal);
    }
    .week-cover-board {
      grid-column: 1 / -1;
      margin: 0 0 22px;
      padding: 18px;
      border-radius: 24px;
      background:
        radial-gradient(circle at top left, rgba(191, 125, 32, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247, 244, 238, 0.98));
      border: 1px solid rgba(29, 42, 38, 0.08);
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
    }
    .week-cover-board__top {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .week-cover-board__title {
      min-width: 0;
    }
    .week-cover-board__title strong {
      display: block;
      font-size: 1rem;
      color: var(--text-dark);
      margin-bottom: 4px;
    }
    .week-cover-board__title span {
      display: block;
      color: var(--text-muted);
      font-size: 0.84rem;
      line-height: 1.6;
    }
    .week-cover-board__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }
    .week-cover-board__summary {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }
    .week-cover-board__pill {
      min-height: 38px;
      padding: 0 14px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(29, 42, 38, 0.08);
      color: var(--text-dark);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.03em;
    }
    .week-cover-board__controls {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 2px 0 18px;
    }
    .week-cover-board__filter {
      min-height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(29, 42, 38, 0.08);
      color: var(--text-dark);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      transition: all 0.15s ease;
    }
    .week-cover-board__filter:hover {
      border-color: var(--orange);
      color: var(--orange-dark);
    }
    .week-cover-board__filter--active {
      background: rgba(15, 118, 110, 0.12);
      border-color: rgba(15, 118, 110, 0.2);
      color: #0f766e;
    }
    .week-cover-board__hero {
      display: grid;
      gap: 10px;
      margin: 0 0 18px;
      padding: 16px 18px;
      border-radius: 22px;
      background: linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(242, 250, 248, 0.96));
      border: 1px solid rgba(29, 42, 38, 0.08);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    }
    .week-cover-board__hero-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .week-cover-board__hero-title {
      font-size: 0.84rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--teal);
    }
    .week-cover-board__hero-rank {
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      background: rgba(191, 125, 32, 0.12);
      color: #a16207;
      border: 1px solid rgba(191, 125, 32, 0.18);
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.04em;
    }
    .week-cover-board__hero strong {
      display: block;
      font-size: 1.02rem;
      line-height: 1.35;
      color: var(--text-dark);
    }
    .week-cover-board__hero p {
      margin: 0;
      color: var(--text-muted);
      line-height: 1.65;
      font-size: 0.84rem;
    }
    .week-cover-card {
      padding: 12px;
      border-radius: 22px;
      background: rgba(255,255,255,0.88);
      border: 1px solid rgba(29, 42, 38, 0.08);
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
      display: grid;
      gap: 12px;
    }
    .week-cover-card__frame {
      width: 100%;
      aspect-ratio: 4 / 5;
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(180deg, #f3ede4, #ebe2d5);
      border: 1px solid rgba(29, 42, 38, 0.08);
    }
    .week-cover-card__frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      background: transparent;
    }
    .week-cover-card__meta {
      display: grid;
      gap: 6px;
    }
    .week-cover-card__meta-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .week-cover-card__rank {
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      background: rgba(15, 23, 42, 0.06);
      color: var(--text-dark);
      font-size: 0.7rem;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .week-cover-card__meta strong {
      display: block;
      font-size: 0.92rem;
      color: var(--text-dark);
      line-height: 1.35;
    }
    .week-cover-card__meta span {
      display: block;
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.55;
    }
    .week-cover-card__review {
      display: grid;
      gap: 10px;
      padding: 12px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(248,244,238,0.92), rgba(255,255,255,0.98));
      border: 1px solid rgba(29, 42, 38, 0.08);
    }
    .week-cover-card__review-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .week-cover-card__grade {
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .week-cover-card__grade--forte {
      background: rgba(15, 118, 110, 0.12);
      color: #0f766e;
      border-color: rgba(15, 118, 110, 0.18);
    }
    .week-cover-card__grade--moyenne {
      background: rgba(191, 125, 32, 0.12);
      color: #a16207;
      border-color: rgba(191, 125, 32, 0.18);
    }
    .week-cover-card__grade--refaire {
      background: rgba(185, 28, 28, 0.1);
      color: #b91c1c;
      border-color: rgba(185, 28, 28, 0.18);
    }
    .week-cover-card__score {
      font-size: 0.78rem;
      font-weight: 900;
      color: var(--text-dark);
    }
    .week-cover-card__reason {
      font-size: 0.82rem;
      color: var(--text-dark);
      line-height: 1.55;
      font-weight: 700;
    }
    .week-cover-card__notes {
      display: grid;
      gap: 6px;
    }
    .week-cover-card__note {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      color: var(--text-muted);
      font-size: 0.78rem;
      line-height: 1.55;
    }
    .week-cover-card__note::before {
      content: '•';
      color: var(--orange);
      font-weight: 900;
      line-height: 1.2;
    }
    .week-cover-card__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .week-cover-card__action {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid rgba(29, 42, 38, 0.08);
      color: var(--text-dark);
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.04em;
    }
    .week-cover-card__action:hover {
      border-color: var(--orange);
      color: var(--orange-dark);
      background: rgba(255, 248, 242, 0.96);
    }

    /* Toast */
    .toast {
      position: fixed; bottom: 30px; right: 30px;
      background: var(--dark); color: #fff; padding: 14px 24px;
      border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 600;
      box-shadow: var(--shadow-md); z-index: 2000;
      transform: translateY(100px); opacity: 0; transition: all 0.3s;
    }
    .toast.show { transform: translateY(0); opacity: 1; }

    .rewrite-drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: min(420px, 100vw);
      height: 100vh;
      background: #fff;
      box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
      z-index: 2600;
      transform: translateX(110%);
      transition: transform 0.25s ease;
      display: flex;
      flex-direction: column;
    }
    .rewrite-drawer.active { transform: translateX(0); }
    .rewrite-drawer__header {
      padding: 22px 22px 14px;
      border-bottom: 1px solid var(--gray-200);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .rewrite-drawer__header h3 {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--dark);
    }
    .rewrite-drawer__header p {
      margin-top: 4px;
      color: var(--text-muted);
      font-size: 0.82rem;
      line-height: 1.55;
    }
    .rewrite-drawer__close {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      background: var(--gray-100);
      color: var(--text-dark);
      font-size: 1.1rem;
      font-weight: 800;
      flex-shrink: 0;
    }
    .rewrite-drawer__body {
      padding: 18px 22px 22px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
      flex: 1;
    }
    .rewrite-drawer__presets {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .rewrite-drawer__preset {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.05);
      border: 1px solid rgba(15, 23, 42, 0.08);
      color: var(--text-dark);
      font-size: 0.78rem;
      font-weight: 700;
    }
    .rewrite-drawer__context {
      padding: 14px;
      border-radius: 16px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
    }
    .rewrite-drawer__context strong {
      display: block;
      margin-bottom: 8px;
      font-size: 0.82rem;
      color: var(--dark);
    }
    .rewrite-drawer__context p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.6;
      white-space: pre-wrap;
    }
    .rewrite-drawer textarea {
      width: 100%;
      min-height: 180px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid #dbe3ef;
      font-family: var(--font);
      font-size: 0.92rem;
      line-height: 1.6;
      outline: none;
      resize: vertical;
    }
    .rewrite-drawer textarea:focus {
      border-color: rgba(240,160,0,0.5);
      box-shadow: 0 0 0 4px rgba(240,160,0,0.08);
    }
    .rewrite-drawer__actions {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
    }
    .rewrite-drawer__cancel,
    .rewrite-drawer__submit {
      min-height: 42px;
      padding: 0 18px;
      border-radius: 999px;
      font-size: 0.84rem;
      font-weight: 800;
    }
    .rewrite-drawer__cancel {
      background: var(--gray-200);
      color: var(--text-dark);
    }
    .rewrite-drawer__submit {
      background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
      color: #fff;
    }
    .rewrite-drawer__submit[disabled] {
      opacity: 0.6;
      cursor: not-allowed;
    }
    .rewrite-drawer__caption {
      color: var(--text-muted);
      font-size: 0.76rem;
      line-height: 1.55;
    }

    /* Crop modal */
    .crop-modal {
      display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.7); z-index: 3000;
      justify-content: center; align-items: center;
    }
    .crop-modal.active { display: flex; }
    .crop-box {
      background: #fff; border-radius: var(--radius-md); padding: 24px;
      max-width: 800px; width: 90%; max-height: 90vh; display: flex;
      flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
    .crop-box h3 { margin-bottom: 4px; font-size: 1.1rem; }
    .crop-box p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 16px; }
    .crop-container { width: 100%; max-height: 50vh; overflow: hidden; background: #f0f0f0; border-radius: var(--radius-sm); }
    .crop-container img { display: block; max-width: 100%; }
    .crop-actions {
      display: flex; gap: 12px; margin-top: 16px; justify-content: flex-end;
    }
    .btn-crop-cancel {
      padding: 10px 24px; border-radius: var(--radius-sm); font-weight: 600;
      background: var(--gray-200); color: var(--text-dark); font-size: 0.9rem;
    }
    .btn-crop-cancel:hover { background: var(--gray-300); }
    .btn-crop-save {
      padding: 10px 24px; border-radius: var(--radius-sm); font-weight: 700;
      background: var(--orange); color: #fff; font-size: 0.9rem;
    }
    .btn-crop-save:hover { background: var(--orange-dark); }
    .crop-format-selector {
      display: flex; gap: 8px; margin-bottom: 12px;
    }
    .crop-format-btn {
      padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
      background: var(--gray-200); color: var(--text-dark); transition: all 0.15s;
    }
    .crop-format-btn:hover { background: var(--gray-300); }
    .crop-format-btn.active { background: var(--orange); color: #fff; }

    /* Approve */
    .btn-approve { background: rgba(34,197,94,0.15); color: #15803d; font-weight: 700; }
    .btn-approve:hover { background: rgba(34,197,94,0.3); }
    .btn-approved { background: rgba(34,197,94,0.2); color: #15803d; font-style: italic; font-weight: 700; }
    .btn-unapprove { background: rgba(239,68,68,0.12); color: #b91c1c; }
    .btn-unapprove:hover { background: rgba(239,68,68,0.22); }

    /* Schedule */
    .btn-schedule { background: rgba(78,200,197,0.15); color: #0d8c89; }
    .btn-schedule:hover { background: rgba(78,200,197,0.25); }
    .btn-scheduled { background: rgba(78,200,197,0.15); color: #0d8c89; font-style: italic; }
    .schedule-picker {
      display: none; padding: 12px 20px; background: #f9fffe;
      border-top: 1px solid rgba(78,200,197,0.3); align-items: center; gap: 12px;
    }
    .schedule-picker.active { display: flex; }
    .schedule-picker input[type="datetime-local"] {
      padding: 8px 12px; border: 2px solid var(--teal); border-radius: var(--radius-sm);
      font-family: var(--font); font-size: 0.85rem; font-weight: 500; outline: none;
    }
    .schedule-picker input[type="datetime-local"]:focus { border-color: var(--orange); }
    .btn-schedule-confirm {
      padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 700;
      background: var(--teal); color: #fff; font-size: 0.8rem;
    }
    .btn-schedule-confirm:hover { background: #3db5b2; }
    .btn-schedule-cancel {
      padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 600;
      background: var(--gray-200); color: var(--text-dark); font-size: 0.8rem;
    }

    /* Image upload */
    .post-image-zone {
      padding: 0 20px 16px; display: flex; align-items: flex-start; gap: 12px;
    }
    .post-image-stack {
      display: grid;
      gap: 8px;
    }
    .post-image-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .post-image-preview {
      width: 120px; height: 120px; border-radius: var(--radius-sm);
      object-fit: cover; border: 2px solid var(--gray-200);
    }
    .post-image-placeholder {
      width: 120px; height: 120px; border-radius: var(--radius-sm);
      border: 2px dashed var(--gray-300); display: flex; flex-direction: column;
      align-items: center; justify-content: center; cursor: pointer;
      color: var(--text-muted); font-size: 0.75rem; gap: 4px;
      transition: all 0.15s; background: var(--gray-100);
    }
    .post-image-placeholder:hover {
      border-color: var(--orange); color: var(--orange); background: rgba(240,160,0,0.05);
    }
    .post-image-placeholder--ai {
      border-color: rgba(14,165,233,0.3);
      background: linear-gradient(180deg, rgba(240,249,255,0.95) 0%, #ffffff 100%);
      color: #0369a1;
    }
    .post-image-placeholder--ai:hover {
      border-color: #0284c7;
      color: #0c4a6e;
      background: rgba(14,165,233,0.08);
    }
    .btn-remove-image {
      background: rgba(255,0,0,0.08); color: #C62828; padding: 4px 10px;
      border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600;
    }
    .btn-remove-image:hover { background: rgba(255,0,0,0.15); }
    .btn-remove-image--secondary {
      background: rgba(14,165,233,0.12);
      color: #075985;
    }
    .btn-remove-image--secondary:hover {
      background: rgba(14,165,233,0.22);
    }
    .post-video-preview {
      width: 200px; height: 120px; border-radius: var(--radius-sm);
      border: 2px solid var(--gray-200); object-fit: cover;
    }
    .post-video-placeholder {
      width: 120px; height: 120px; border-radius: var(--radius-sm);
      border: 2px dashed var(--gray-300); display: flex; flex-direction: column;
      align-items: center; justify-content: center; cursor: pointer;
      color: var(--text-muted); font-size: 0.75rem; gap: 4px;
      transition: all 0.15s; background: var(--gray-100);
    }
    .post-video-placeholder:hover {
      border-color: #E65100; color: #E65100; background: rgba(230,81,0,0.05);
    }
    .media-zone-label {
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 6px;
    }
    .upload-progress {
      height: 4px; background: var(--gray-200); border-radius: 2px;
      overflow: hidden; width: 120px; margin-top: 6px;
    }
    .upload-progress-bar {
      height: 100%; background: var(--orange); border-radius: 2px;
      transition: width 0.3s;
    }
    .post-visual-bank {
      flex: 1;
      min-width: 0;
      display: grid;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
      border: 1px solid rgba(15,23,42,0.08);
      box-shadow: var(--shadow-sm);
    }
    .post-visual-bank__top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }
    .post-visual-bank__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #7c3aed;
      margin-bottom: 6px;
    }
    .post-visual-bank__copy {
      color: var(--text-muted);
      font-size: 0.8rem;
      line-height: 1.55;
      max-width: 680px;
    }
    .post-visual-bank__summary {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .post-visual-bank__pill {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(124,58,237,0.08);
      color: #6d28d9;
      font-size: 0.72rem;
      font-weight: 800;
      border: 1px solid rgba(124,58,237,0.12);
    }
    .post-visual-bank__grid,
    .post-visual-bank__renders {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
      gap: 10px;
    }
    .post-visual-bank__asset,
    .post-visual-bank__render {
      border-radius: 16px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #fff;
      overflow: hidden;
      display: grid;
      min-width: 0;
    }
    .post-visual-bank__preview {
      position: relative;
      height: 108px;
      background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #475569;
      font-size: 0.78rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }
    .post-visual-bank__preview img,
    .post-visual-bank__preview video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .post-visual-bank__meta {
      padding: 10px;
      display: grid;
      gap: 6px;
    }
    .post-visual-bank__name {
      font-size: 0.76rem;
      font-weight: 800;
      color: var(--text-dark);
      line-height: 1.4;
      word-break: break-word;
    }
    .post-visual-bank__kind {
      font-size: 0.68rem;
      font-weight: 800;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .post-visual-bank__subtext {
      font-size: 0.7rem;
      line-height: 1.45;
      color: #64748b;
    }
    .post-visual-bank__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .post-visual-bank__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.06);
      color: #0f172a;
      font-size: 0.7rem;
      font-weight: 800;
    }
    .post-visual-bank__btn--danger {
      background: rgba(239,68,68,0.08);
      color: #b91c1c;
    }
    .post-visual-bank__empty {
      padding: 12px;
      border-radius: 14px;
      background: rgba(15,23,42,0.03);
      color: #64748b;
      font-size: 0.78rem;
      line-height: 1.6;
    }
    .post-visual-bank__manifest {
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(245,158,11,0.08);
      border: 1px solid rgba(245,158,11,0.12);
      color: #7c2d12;
      font-size: 0.78rem;
      line-height: 1.6;
    }
    .post-visual-bank__render-title {
      font-size: 0.8rem;
      font-weight: 900;
      color: var(--text-dark);
    }

    @media (max-width: 768px) {
      .sidebar { /* drawer mobile : regle geree par le bloc .mobile-admin-nav- injecte en debut de body */ }
      .main { margin-left: 0; width: 100%; padding: 20px; }
      .social-hub { grid-template-columns: 1fr; }
      .selection-hub__item { grid-template-columns: 1fr; }
      .selection-hub__item-actions { justify-content: flex-start; }
      .post-body { grid-template-columns: 1fr; }
      .post-ai-studio { position: static; }
      .post-selection__top { flex-direction: column; }
      .post-image-zone { flex-direction: column; }
      .editorial-calendar__header { flex-direction: column; }
      .editorial-calendar__nav { width: 100%; justify-content: space-between; }
      .editorial-calendar__overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .editorial-calendar__grid { grid-auto-rows: 128px; gap: 8px; }
      .editorial-calendar__day { height: 128px; padding: 8px; }
      .editorial-calendar__event { grid-template-columns: 1fr; gap: 4px; align-items: flex-start; }
      .editorial-calendar__event-time { min-width: 0; }
      .editorial-calendar__event-name { font-size: 0.75rem; }
      .editorial-calendar__details-list { grid-template-columns: 1fr; }
    }
  