/* ============================================================
   Medius Global — Content planner
   Brand palette from style guide
   ============================================================ */

:root {
    /* Brand primaries */
    --red:           #BD1D2C;
    --red-light:     #F9E3E5;
    --blue:          #191970;
    --blue-light:    #E8E8F5;
    --black:         #0B0A0A;
    --gold:          #8C786B;
    --gold-light:    #F0EBE7;

    /* Neutrals */
    --gray:          #B1A7A6;
    --gray-light:    #D3CDCD;
    --gray-pale:     #F5F3F3;
    --ivory:         #E2DED0;
    --ivory-light:   #F5F4EF;
    --white:         #FFFFFF;
    --poured-milk:   #EEEEED;

    /* Traffic lights */
    --amber:         #E86A17;
    --amber-light:   #FCE1C8;
    --green:         #1E9E4A;
    --green-light:   #D0F3DF;

    /* Status semantics */
    --status-planned:         var(--gray);
    --status-planned-bg:      var(--gray-pale);
    --status-draft:           var(--amber);
    --status-draft-bg:        var(--amber-light);
    --status-edits-underway:  var(--red);
    --status-edits-underway-bg: var(--red-light);
    --status-under-review:    var(--blue);
    --status-under-review-bg: var(--blue-light);
    --status-published:       var(--green);
    --status-published-bg:    var(--green-light);

    /* Category pastels (soft, clinical, contrasting) */
    --cat-sale-readiness:     #E8D5E0;
    --cat-financial:          #D5E8E0;
    --cat-workforce:          #E8E0D5;
    --cat-operational:        #D5DDE8;
    --cat-succession:         #E0D5E8;
    --cat-compliance:         #D5E8E8;
    --cat-buyer-selection:    #E8E8D5;
    --cat-governance:         #E0E8D5;
    --cat-practice-sale:      #E8D5D5;
    --cat-best-practice:      #D5D5E8;
    --cat-fractional-bd:      #D8E8D5;

    /* Priority */
    --priority-high:    var(--red);
    --priority-medium:  var(--amber);
    --priority-low:     var(--gray);

    /* Layout */
    --header-height: 72px;
    --nav-height: 48px;
    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.10);
    --transition: 0.25s ease;
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--poured-milk);
    min-height: 100vh;
    line-height: 1.5;
}

/* === Header === */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 40px;
    width: auto;
}

.header-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.01em;
}

.header-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}
.btn-primary:hover {
    background: #a51826;
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--gray-light);
}
.btn-secondary:hover {
    background: var(--ivory-light);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
}

.btn-icon {
    padding: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--gray);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.btn-icon:hover {
    color: var(--blue);
    background: var(--blue-light);
}

/* === Nav === */
.app-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 0 24px;
    position: sticky;
    top: var(--header-height);
    z-index: 99;
}

.nav-tabs {
    display: flex;
    gap: 0;
}

.nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.nav-tab:hover {
    color: var(--blue);
}
.nav-tab.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* === Main === */
.app-main {
    padding: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.view { display: none; }
.view.active { display: block; }

/* === Dashboard === */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gray-light);
}
.summary-card .card-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.summary-card .card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blue);
}
.summary-card.status-planned   { border-left-color: var(--gray); }
.summary-card.status-draft     { border-left-color: var(--amber); }
.summary-card.status-edits-underway { border-left-color: var(--red); }
.summary-card.status-under-review { border-left-color: var(--blue); }
.summary-card.status-published { border-left-color: var(--green); }
.summary-card.total            { border-left-color: var(--blue); }

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.chart-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.chart-card.full-width {
    grid-column: 1 / -1;
}
.chart-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 16px;
}

/* Bar charts */
.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bar-label {
    width: 130px;
    font-size: 0.8rem;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}
.bar-track {
    flex: 1;
    height: 22px;
    background: var(--gray-pale);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
    min-width: 2px;
}
.bar-count {
    width: 28px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    text-align: right;
    flex-shrink: 0;
}

/* Stacked bars (author workload) */
.bar-stacked {
    display: flex;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    transition: width 0.5s ease;
}
.bar-segment {
    height: 100%;
    min-width: 2px;
    transition: width 0.5s ease;
}
.bar-segment:hover {
    opacity: 0.8;
}

/* Status legend */
.stacked-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    color: var(--black);
    text-transform: capitalize;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.legend-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Deadline list */
.deadline-list { list-style: none; }
.deadline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-pale);
    font-size: 0.85rem;
}
.deadline-item:last-child { border-bottom: none; }
.deadline-date {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--blue);
    width: 90px;
}
.deadline-title {
    flex: 1;
    color: var(--black);
}
.deadline-overdue {
    color: var(--red);
    font-weight: 600;
}

/* === Filters bar === */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.filter-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-select,
.filter-input {
    padding: 6px 10px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.82rem;
    color: var(--black);
    background: var(--white);
    min-width: 130px;
    transition: border-color var(--transition);
}
.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--blue);
}

.filter-input {
    min-width: 200px;
}

.filter-clear {
    align-self: flex-end;
    margin-left: auto;
}

/* === Table === */
.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.posts-table {
    min-width: 1100px;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    table-layout: fixed;
}

.posts-table thead th {
    position: sticky;
    top: 0;
    background: var(--blue);
    color: var(--white);
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    border-bottom: 2px solid var(--blue);
    overflow: hidden;
    text-overflow: ellipsis;
}
.posts-table thead th:hover {
    background: #141460;
}
.posts-table thead th .sort-icon {
    margin-left: 4px;
    opacity: 0.4;
    font-size: 0.7rem;
}
.posts-table thead th.sorted .sort-icon {
    opacity: 1;
}

.posts-table tbody tr {
    border-bottom: 1px solid var(--gray-pale);
    transition: background var(--transition);
}
.posts-table tbody tr:hover {
    background: var(--ivory-light);
}

.posts-table tbody td {
    padding: 6px 6px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cell-id {
    color: var(--gray);
    font-weight: 500;
    width: 52px;
    text-align: center;
    white-space: nowrap;
}

.cell-title {
    width: 280px;
    min-width: 200px;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    white-space: normal;
    line-height: 1.3;
}
.cell-title:hover {
    color: var(--red);
}

.cell-category {
    white-space: nowrap;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cell-author {
    white-space: nowrap;
    width: 130px;
}

.cell-status {
    white-space: nowrap;
    width: 120px;
}

/* Status pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.status-pill.planned         { background: var(--status-planned-bg); color: #555; }
.status-pill.draft           { background: var(--status-draft-bg); color: #B85A10; }
.status-pill.edits-underway  { background: var(--status-edits-underway-bg); color: var(--red); }
.status-pill.under-review    { background: var(--status-under-review-bg); color: var(--blue); }
.status-pill.published       { background: var(--status-published-bg); color: #167A38; }

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.status-dot.planned         { background: var(--status-planned); }
.status-dot.draft           { background: var(--status-draft); }
.status-dot.edits-underway  { background: var(--status-edits-underway); }
.status-dot.under-review    { background: var(--status-under-review); }
.status-dot.published       { background: var(--status-published); }

/* Priority badge */
.priority-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.priority-badge.high   { background: var(--red-light); color: var(--red); }
.priority-badge.medium { background: var(--amber-light); color: #B85A10; }
.priority-badge.low    { background: var(--blue-light); color: var(--blue); }

/* Word count */
.word-count-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wc-track {
    width: 60px;
    height: 6px;
    background: var(--gray-pale);
    border-radius: 3px;
    overflow: hidden;
}
.wc-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--green);
    transition: width 0.3s ease;
}
.wc-fill.partial { background: var(--amber); }
.wc-fill.low { background: var(--red); }
.wc-text {
    font-size: 0.73rem;
    color: var(--gray);
}

/* Inline editable */
.editable {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    border: 1px dashed transparent;
}
.editable:hover {
    background: var(--ivory-light);
    border-color: var(--gray-light);
}

.inline-edit {
    padding: 4px 8px;
    border: 1px solid var(--blue);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.82rem;
    outline: none;
    width: 100%;
    background: var(--white);
}

.inline-select {
    padding: 3px 4px;
    border: 1px solid var(--blue);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.78rem;
    outline: none;
    background: var(--white);
    cursor: pointer;
    max-width: 140px;
}

/* Table footer */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 0.8rem;
    color: var(--gray);
}

/* === Calendar === */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.calendar-nav h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue);
    min-width: 180px;
    text-align: center;
}

.calendar-view-toggle {
    display: flex;
    gap: 0;
}
.cal-toggle-btn {
    padding: 6px 14px;
    border: 1px solid var(--gray-light);
    background: var(--white);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--black);
}
.cal-toggle-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cal-toggle-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cal-toggle-btn.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.calendar-grid {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cal-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--blue);
}
.cal-header-cell {
    padding: 10px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cal-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
    min-height: 110px;
    padding: 6px;
    border-right: 1px solid var(--gray-pale);
    border-bottom: 1px solid var(--gray-pale);
    position: relative;
    transition: background var(--transition);
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.other-month {
    background: var(--gray-pale);
    opacity: 0.5;
}
.cal-cell.today {
    background: var(--ivory-light);
}
.cal-cell:hover {
    background: var(--ivory-light);
}

.cal-day-num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 4px;
}
.cal-cell.other-month .cal-day-num { color: var(--gray); }
.cal-cell.today .cal-day-num {
    background: var(--red);
    color: var(--white);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cal-event {
    padding: 3px 6px;
    margin-bottom: 3px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform var(--transition);
    border-left: 3px solid;
}
.cal-event:hover {
    transform: translateX(2px);
}
.cal-event.planned         { background: var(--status-planned-bg); border-color: var(--gray); color: #555; }
.cal-event.draft           { background: var(--status-draft-bg); border-color: var(--amber); color: #B85A10; }
.cal-event.edits-underway  { background: var(--status-edits-underway-bg); border-color: var(--red); color: var(--red); }
.cal-event.under-review    { background: var(--status-under-review-bg); border-color: var(--blue); color: var(--blue); }
.cal-event.published       { background: var(--status-published-bg); border-color: var(--green); color: #167A38; }

.cal-event.overdue {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 0 2px var(--red-light); }
}

/* === Modal === */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(27, 18, 18, 0.45);
    z-index: 200;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    overflow-y: auto;
}
.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 600px;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-pale);
}
.modal-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.modal-close:hover { color: var(--red); }

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-pale);
}

/* Form fields in modal */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--black);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}
.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* === Toast === */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.84rem;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s;
    animation-fill-mode: forwards;
}
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(30px); }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .app-main { padding: 16px; }
    .dashboard-charts { grid-template-columns: 1fr; }
    .summary-cards { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (max-width: 768px) {
    .app-header { padding: 0 12px; }
    .header-title h1 { font-size: 1rem; }
    .header-subtitle { display: none; }
    .filters-bar { flex-direction: column; }
    .filter-group { width: 100%; }
    .filter-select, .filter-input { width: 100%; min-width: 0; }
    .cal-cell { min-height: 80px; }
    .cal-event { font-size: 0.65rem; }
    .form-row { grid-template-columns: 1fr; }
    .posts-table { font-size: 0.78rem; }
}

/* === Empty state === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--gray-light);
}
.empty-state p {
    font-size: 0.9rem;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-pale); }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }

/* === Delete button === */
.btn-delete {
    color: var(--gray-light);
    transition: color var(--transition);
}
.btn-delete:hover {
    color: var(--red);
    background: var(--red-light);
}
.cell-actions {
    width: 50px;
    text-align: center;
}

/* === Dragging states (calendar) === */
.cal-event.dragging {
    opacity: 0.5;
}
.cal-cell.drag-over {
    background: var(--blue-light);
}

/* === No-data message for deadline list === */
.no-deadlines {
    padding: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

/* === Author manager modal === */
.author-manager-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}
.author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--gray-pale);
    border-radius: 6px;
    transition: background 0.15s;
}
.author-row:hover {
    background: var(--gray-light);
}
.author-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--black);
}
.author-row-actions {
    display: flex;
    gap: 6px;
}
.author-row-actions .btn-icon {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
}
