    :root {
      --color-bg: #FAFAF7;
      --color-dark: #2C1810;
      --color-gold: #C9A84C;
      --color-warm: #F5F0EB;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    body {
      min-height: 100vh;
      background: var(--color-bg);
      font-family: system-ui, -apple-system, sans-serif;
      margin: 0;
      color: var(--color-dark);
    }

    /* === Top bar === */
    .topbar {
      background: var(--color-dark);
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .topbar-title {
      color: #FFFFFF;
      font-size: 16px;
      font-weight: 600;
      margin: 0;
    }

    .topbar-actions {
      display: flex;
      gap: 8px;
    }

    .btn-topbar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }

    .btn-topbar-primary {
      background: var(--color-gold);
      color: var(--color-dark);
    }

    .btn-topbar-secondary {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #FFFFFF;
    }

    /* === Main content === */
    main {
      max-width: 960px;
      margin: 0 auto;
      padding: 24px 16px;
    }

    h1 {
      font-size: 24px;
      font-weight: 600;
      line-height: 1.2;
      margin: 0 0 24px 0;
    }

    h2 {
      font-size: 18px;
      font-weight: 600;
      line-height: 1.2;
      margin: 0 0 16px 0;
    }

    .section-separator {
      margin: 32px 0;
      border: none;
      border-top: 1px solid #D1C7BC;
    }

    /* === Banners === */
    .success-banner,
    .error-banner {
      display: none;
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 14px;
      margin-bottom: 16px;
    }

    .success-banner {
      background: #F0FDF4;
      border: 1px solid #BBF7D0;
      color: #166534;
    }

    .error-banner {
      background: #FEF2F2;
      border: 1px solid #FECACA;
      color: #991B1B;
    }

    .success-banner p,
    .error-banner p {
      margin: 0;
    }

    /* === Lista post === */
    .list-container {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .post-row-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      color: #6B7280;
    }

    .post-row {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #FFFFFF;
      border-radius: 8px;
      padding: 12px 16px;
      transition: background 0.15s;
    }

    .post-row:hover {
      background: var(--color-bg);
    }

    .col-title {
      flex: 1;
      font-size: 16px;
      color: var(--color-dark);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .col-date {
      flex: 0 0 120px;
      font-size: 14px;
    }

    .col-categoria {
      flex: 0 0 140px;
      font-size: 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .col-stato {
      flex: 0 0 100px;
    }

    .col-azioni {
      flex: 0 0 auto;
      display: flex;
      gap: 8px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    .badge {
      display: inline-block;
      font-size: 14px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;
    }

    .badge-published {
      background: #DCFCE7;
      color: #166534;
    }

    .badge-draft {
      background: #F3F4F6;
      color: #6B7280;
    }

    .btn-azione {
      min-height: 44px;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, color 0.15s, opacity 0.15s;
    }

    .btn-modifica {
      background: var(--color-warm);
      color: var(--color-dark);
    }

    .btn-elimina {
      background: #FEF2F2;
      color: #991B1B;
    }

    .btn-pubblica {
      background: var(--color-gold);
      color: var(--color-dark);
    }

    .btn-azione:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .btn-azione:focus {
      outline: 2px solid var(--color-gold);
      outline-offset: 2px;
    }

    .loading-state,
    .empty-state {
      text-align: center;
      color: #6B7280;
      padding: 16px 0;
    }

    .loading-state {
      font-size: 16px;
    }

    .empty-state {
      font-size: 14px;
    }

    /* === Modale conferma eliminazione === */
    .modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(44, 24, 16, 0.5);
      z-index: 100;
    }

    .modal-card {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 101;
      background: #FFFFFF;
      border-radius: 12px;
      max-width: 400px;
      width: calc(100% - 32px);
      padding: 32px;
      box-shadow: 0 2px 8px rgba(44, 24, 16, 0.08);
    }

    .modal-card h2 {
      margin: 0 0 16px 0;
    }

    .modal-card p {
      margin: 0 0 24px 0;
      font-size: 16px;
    }

    .modal-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
    }

    .btn-modal {
      min-height: 44px;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 20px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: opacity 0.15s;
    }

    .btn-modal-cancel {
      background: var(--color-warm);
      color: var(--color-dark);
    }

    .btn-modal-confirm {
      background: #C0392B;
      color: #FFFFFF;
    }

    .btn-modal:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .btn-modal:focus {
      outline: 2px solid var(--color-gold);
      outline-offset: 2px;
    }
  