:root {
    --forest: #16362e;
    --forest-mid: #215246;
    --copper: #c4622d;
    --copper-dark: #9b4b22;
    --cream: #f4efe4;
    --paper: #fffaf2;
    --ink: #1c1916;
    --muted: #6d645b;
    --line: #e2d6c4;
    --ok: #2f6f4e;
    --warn: #b5812a;
    --danger: #a33b32;
    --info: #2c5f73;
    --shadow: 0 18px 40px rgba(22, 54, 46, 0.08);
    --radius: 18px;
    --sans: "DM Sans", "Segoe UI", sans-serif;
    --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 550;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }

a { color: var(--forest-mid); }
button, input, select { font: inherit; }

.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar {
    background: none;
    color: #f6f1e7;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    min-height: 0;
    flex: 1;
    min-width: 0;
}

.brand {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--copper);
    font-family: var(--display);
    font-weight: 650;
}

.brand small { display: none; }

.brand strong {
    display: block;
    max-width: 12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    font-size: 0.92rem;
}

.side-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

.side-nav a {
    color: #d9cfc0;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    white-space: nowrap;
}

.side-nav a.active,
.side-nav a:hover {
    background: rgba(255, 250, 242, 0.1);
    color: #fff;
}

.app-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 25;
    padding: 0.65rem 1.15rem;
    background: linear-gradient(90deg, var(--forest) 0%, #10261f 100%);
    color: #f6f1e7;
}

.topbar-place { display: none; }
.topbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}
.topbar-user {
    margin: 0;
    color: #d9cfc0;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar .btn { white-space: nowrap; flex-shrink: 0; }
.logout-form { margin: 0; }

.page-body {
    padding: 0.5rem 1.5rem 2.5rem;
    min-width: 0;
}

.page-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin: 1.2rem 0 1.4rem;
    flex-wrap: wrap;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--copper-dark);
    margin: 0 0 0.35rem;
}

.lede {
    max-width: 46rem;
    color: var(--muted);
    margin: 0.35rem 0 0;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: transparent;
    color: inherit;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--copper-dark); }
.btn-secondary { background: var(--forest); color: #fff; }
.btn-ghost { border: 1px solid var(--line); background: var(--paper); }
.btn-danger-ghost { color: var(--danger); }
.btn-block { width: 100%; }

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.panel header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.stat-grid, .split, .form-grid {
    display: grid;
    gap: 1rem;
}

.stat-grid { grid-template-columns: repeat(4, 1fr); }
.split { grid-template-columns: 1.2fr 0.8fr; }
.form-grid { grid-template-columns: repeat(2, 1fr); }

.stat-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}

.stat-card p { margin: 0; color: var(--muted); }
.stat-card strong {
    font-family: var(--display);
    font-size: 2rem;
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plain-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.coverage-bar, .hours-bar, .hours-track {
    height: 10px;
    background: #efe6d6;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.coverage-bar > div, .hours-fill {
    height: 100%;
}

.hours-fill.assigned, .coverage-bar > div { background: var(--forest-mid); }
.hours-fill.pending { background: var(--copper); }
.hours-fill.scheduled { background: #c8b79a; position: absolute; inset: 0 auto 0 0; }
.hours-fill.worked { background: var(--forest-mid); position: absolute; inset: 0 auto 0 0; }

.hours-meter, .toolbar { margin-bottom: 1rem; }

.schedule-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.schedule-top {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin: 0.35rem 0 0.7rem;
}

.schedule-top h1 {
    margin: 0;
    font-size: 1.45rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.schedule-top .week-nav {
    margin: 0;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.schedule-top .week-nav-label {
    min-width: 0;
    flex: 0 1 auto;
}

.schedule-top .week-nav-label span,
.schedule-top .week-nav-label .week-range-full { display: none; }

.schedule-top .week-nav-label .week-range-short {
    display: block;
    white-space: nowrap;
}

.schedule-top .lede {
    margin: 0;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-top-employee {
    gap: 0.45rem;
}

.schedule-top-employee h1 {
    font-size: 1.15rem;
}

.schedule-top-employee .lede {
    font-size: 0.74rem;
    letter-spacing: -0.011em;
}

.schedule-top-employee .week-nav {
    gap: 0.28rem;
}

.schedule-top-employee .week-nav .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.82rem;
}

.schedule-top-employee .week-nav-label {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.schedule-top-employee .week-nav-label strong {
    font-size: 0.86rem;
}

.schedule-top-employee .week-nav-label span {
    font-size: 0.75rem;
}

.schedule-top-employee .week-nav-label .week-range-full { display: inline; white-space: nowrap; }
.schedule-top-employee .week-nav-label .week-range-short { display: none; }
.schedule-top-employee .week-nav-label span { display: inline; white-space: nowrap; }

.schedule-summary {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.88rem;
}

.schedule-top .copy-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
}

.schedule-top .copy-employee-field {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    width: auto;
}

.schedule-top .copy-employee-field span { white-space: nowrap; }

.schedule-top .copy-employee-field select {
    width: 10.5rem;
    padding: 0.4rem 0.6rem;
}

.copy-actions { align-items: flex-end; }

.copy-employee-field {
    margin-bottom: 0;
    min-width: 200px;
}
.hours-meter-head, .hours-meter-legend, .hours-row-nums {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.hours-meter-head { margin-bottom: 0.45rem; color: var(--ink); }
.hours-meter-legend { margin-top: 0.45rem; }
.pattern-hint { color: var(--muted); margin: 0 0 1rem; }

.week-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.week-nav-label { min-width: min(220px, 100%); flex: 1; }
.week-nav-label .week-range-full { display: block; }
.week-nav-label .week-range-short,
.nav-short, .week-scroll-hint, .week-days, .cell-label { display: none; }
.week-nav-label span, .week-grid-day span, .week-grid-label span, .slot-meta {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.week-grid-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.week-grid {
    display: grid;
    grid-template-columns: minmax(92px, 132px) repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

.week-grid > * { min-width: 0; }

.week-grid-corner, .week-grid-day, .week-grid-label {
    padding: 0.55rem 0.4rem;
}

.week-grid-day.is-today strong { color: var(--copper-dark); }

.slot-cell {
    text-align: left;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 14px;
    padding: 0.7rem 0.75rem;
    min-height: 92px;
    margin: 0;
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font: inherit;
    color: inherit;
}

.slot-cell.is-empty { opacity: 0.45; cursor: default; }
.slot-cell.is-blocked {
    opacity: 0.7;
    background: #f0eeea;
    cursor: default;
}
.slot-cell.is-open { background: #fbf7ef; }
.slot-cell.is-partial { background: #f4eee0; border-style: dashed; }
.slot-cell.is-mine { background: #e7f0ea; border-color: #b7d0c2; }
.slot-cell.is-assigned { background: #ece7dc; }
.slot-cell.is-requested { background: #f8eadb; border-color: #e4b48a; }
.slot-cell.has-requests { background: #efe8f4; border-color: #cbb7d8; }
.slot-cell.on-pattern.is-open { box-shadow: inset 3px 0 0 var(--copper); }
.slot-hours { font-size: 0.75rem; color: var(--muted); }
.slot-title { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.slot-meta { overflow-wrap: anywhere; }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(22, 54, 46, 0.28);
    z-index: 40;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    height: 100dvh;
    background: var(--paper);
    z-index: 41;
    padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: calc(1rem + env(safe-area-inset-top)) 1.25rem 0.9rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.drawer-head p { margin: 0 0 0.3rem; }
.drawer-head h2 { margin-bottom: 0.25rem; }
.drawer-close { flex-shrink: 0; }

.drawer > :not(header) {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.field span { font-size: 0.88rem; color: var(--muted); }

input, select, textarea {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: #fff;
    font-size: 1rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    max-width: 100%;
}

.check {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.4rem 0 1rem;
}

.notice {
    border-radius: 14px;
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;
}

.notice-ok { background: #e7f0ea; color: var(--ok); }
.notice-danger { background: #f8e6e4; color: var(--danger); }
.notice-warn { background: #f7eddc; color: var(--warn); }
.notice-info { background: #e7eef2; color: var(--info); }

.pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.8rem;
}

.pill-ok { background: #e7f0ea; color: var(--ok); }
.pill-muted { background: #eee9e0; color: var(--muted); }
.pill-warn { background: #f7eddc; color: var(--warn); }

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    text-align: left;
    padding: 0.75rem 0.6rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.data-table tr.is-disabled { opacity: 0.6; }
.data-table tr.is-editing { background: #f4eee3; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.row-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.data-table th:last-child,
.data-table td:last-child {
    position: sticky;
    right: 0;
    background: var(--paper);
}
.request-row { align-items: center; }

.login-layout { min-height: 100vh; }
.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.login-brand {
    background: linear-gradient(160deg, var(--forest), #0f241d);
    color: #f6f1e7;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand h1 {
    font-size: 2.4rem;
    max-width: 14ch;
}

.brand strong {
    display: block;
    line-height: 1.25;
    font-size: 0.92rem;
}

.login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: var(--cream);
}

.hours-chart { display: flex; flex-direction: column; gap: 1rem; }
.hours-row { display: grid; grid-template-columns: 140px 1fr 180px; gap: 0.8rem; align-items: center; }
.hours-row-label span { display: block; color: var(--muted); font-size: 0.85rem; }
.plain-list li > div span,
.plain-list li > span { color: var(--muted); font-size: 0.88rem; }
.empty-state { padding: 3rem 0; }

.muted { color: var(--muted); }

h1:focus { outline: none; }

.valid.modified:not([type=checkbox]) { outline: 1px solid var(--ok); }
.invalid { outline: 1px solid var(--danger); }
.validation-message { color: var(--danger); font-size: 0.85rem; }

#blazor-error-ui {
    color-scheme: light only;
    background: #fff3b0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: var(--danger);
    padding: 1rem;
    color: white;
}

@media (max-width: 960px) {
    .app-shell { display: block; }
    .login-shell, .split, .form-grid, .hours-row { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        min-height: 0;
        width: auto;
        flex: none;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        padding: 0.2rem 0.35rem calc(0.2rem + env(safe-area-inset-bottom));
        z-index: 30;
        background: linear-gradient(180deg, var(--forest) 0%, #10261f 100%);
        box-shadow: 0 -10px 30px rgba(16, 38, 31, 0.28);
    }

    .sidebar .brand { display: none; }

    .topbar-place {
        display: block;
        flex: 1;
        min-width: 0;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: 0.06em;
    }

    .side-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        gap: 0.15rem;
    }

    .side-nav a {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.35rem 0.2rem;
        font-size: clamp(0.68rem, 2.7vw, 0.8rem);
        line-height: 1.15;
    }

    .nav-full { display: none; }
    .nav-short { display: inline; }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 25;
        padding: calc(0.7rem + env(safe-area-inset-top)) 1rem 0.7rem;
        background: var(--cream);
        color: var(--ink);
        border-bottom: 1px solid var(--line);
    }

    .topbar-user { color: var(--muted); }

    .page-body { padding: 0.35rem 1rem 1.5rem; }

    .app-shell:has(.sidebar) .page-body {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
    }

    h1 { scroll-margin-top: 4.75rem; }

    .page-head {
        flex-direction: column;
        align-items: stretch;
    }

    .page-head > .btn,
    .page-head > a.btn,
    .schedule-toolbar .btn,
    .copy-actions .btn { width: 100%; }

    .login-brand { padding: 1.75rem 1.25rem 1.35rem; }
    .login-brand h1 { font-size: 1.85rem; }
    .login-card { padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }

    .schedule-top {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .schedule-top h1,
    .schedule-top .lede,
    .schedule-top .week-nav,
    .schedule-summary,
    .schedule-top .copy-actions { width: 100%; }

    .schedule-summary,
    .schedule-top .lede { white-space: normal; }

    .schedule-top-employee .week-nav-label { flex-wrap: wrap; }

    .schedule-toolbar,
    .copy-actions,
    .schedule-top .copy-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .schedule-top .copy-employee-field {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .schedule-top .copy-employee-field select { width: 100%; }

    .copy-actions { width: 100%; }
    .copy-employee-field { min-width: 0; width: 100%; }

    .week-grid-wrap { display: none; }

    .week-days {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .week-day {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 16px;
        overflow: hidden;
    }

    .week-day.is-today {
        border-color: #e4b48a;
        box-shadow: inset 0 0 0 1px #e4b48a;
    }

    .week-day-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 0.8rem 0.9rem;
        background: #f6f0e6;
    }

    .week-day.is-today .week-day-head strong { color: var(--copper-dark); }

    .week-day-date { color: var(--muted); font-size: 0.9rem; }

    .today-tag {
        margin-left: 0.45rem;
        color: var(--copper-dark);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .week-days .slot-cell {
        min-height: 0;
        border: 0;
        border-radius: 0;
        border-top: 1px solid var(--line);
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0.9rem;
    }

    .slot-shift { flex: 0 0 7.6rem; min-width: 0; }
    .slot-shift strong,
    .slot-shift span { display: block; }
    .slot-shift span { color: var(--muted); font-size: 0.75rem; line-height: 1.3; }
    .slot-copy { flex: 1; min-width: 0; }
    .slot-copy .slot-title,
    .slot-copy .slot-meta { display: block; overflow-wrap: anywhere; }

    .data-table thead { display: none; }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td {
        display: block;
        width: auto;
    }

    .data-table tr {
        border: 1px solid var(--line);
        border-radius: 14px;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0.85rem 0.7rem;
    }

    .data-table td,
    .data-table th:last-child,
    .data-table td:last-child {
        border: 0;
        padding: 0.4rem 0;
        position: static;
        background: transparent;
        overflow-wrap: anywhere;
    }

    .data-table tr.is-editing td { background: transparent; }

    .cell-label {
        display: block;
        color: var(--muted);
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 0.1rem;
    }

    .data-table td.row-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-top: 0.55rem;
    }

    .data-table td.row-actions .cell-label { flex: 1 0 100%; }
    .data-table td.row-actions .btn { flex: 1 1 auto; }

    .table-wrap { overflow: visible; }
    .btn { min-height: 44px; }
    .week-nav .btn { min-width: 44px; }
}

@media (max-width: 640px) {
    h1 { font-size: 1.7rem; }
    .stat-card { padding: 0.9rem 1rem; }
    .stat-card strong { font-size: 1.65rem; }
    .panel { padding: 1rem; }
    .drawer { width: 100%; }

    .week-nav {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .week-nav .btn-secondary { grid-column: 1 / -1; }
    .week-nav-label .week-range-full { display: none; }
    .week-nav-label .week-range-short { display: block; }
    .week-nav-label { text-align: center; min-width: 0; }

    .plain-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .plain-list li.request-row { align-items: stretch; gap: 0.65rem; }

    .drawer .row-actions,
    .request-row .row-actions { flex-direction: column; align-items: stretch; }

    .drawer > .btn,
    .request-row > .btn,
    .drawer .row-actions .btn,
    .request-row .row-actions .btn { width: auto; align-self: stretch; }
}
