:root {
    --ink: #172033;
    --muted: #627086;
    --line: #d8e0e8;
    --panel: #fff;
    --bg: #f3f6f8;
    --accent: #167064;
    --accent-dark: #10584f;
    --accent-soft: #e5f2ef;
    --nav: #182233;
    --nav-deep: #101827;
    --warning: #9a6a12;
    --danger: #ad3434;
    --shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
    --shadow-soft: 0 4px 14px rgba(23, 32, 51, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #eef4f3 0, var(--bg) 260px);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--accent);
    font-weight: 600;
}

.app-frame {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.topbar {
    align-items: center;
    background: var(--nav);
    border-bottom: 1px solid #0b1220;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.16);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 12px 18px;
}

.topbar .brand {
    border-bottom: 0;
    margin-bottom: 0;
    padding: 0;
}

.topbar .nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.topbar .nav a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #d7dee8;
    padding: 8px 10px;
    text-decoration: none;
}

.topbar .nav a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.sidebar {
    background: var(--nav);
    border-right: 1px solid #0b1220;
    box-shadow: 8px 0 22px rgba(17, 24, 39, 0.12);
    color: #fff;
    padding: 18px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar span {
    color: #a8b3c2;
    display: block;
    font-size: 14px;
}

.brand {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    min-width: 0;
    padding: 4px 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand strong {
    display: block;
    letter-spacing: 0;
}

.brand-mark {
    align-items: center;
    background: #24a391;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.nav a,
.button,
button {
    background: #f3f6f8;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    cursor: pointer;
    display: inline-block;
    font: inherit;
    min-height: 38px;
    padding: 8px 13px;
    text-decoration: none;
}

.side-nav {
    display: grid;
    gap: 4px;
}

.side-nav a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #d7dee8;
    display: block;
    font: inherit;
    padding: 10px 11px;
    text-decoration: none;
}

.side-nav a:hover,
.side-nav a.active {
    background: rgba(36, 163, 145, 0.18);
    border-color: rgba(124, 221, 207, 0.2);
    color: #fff;
}

.nav-section {
    color: #93a1b3;
    font-size: 12px;
    font-weight: 700;
    margin: 14px 10px 4px;
    text-transform: uppercase;
}

.shell {
    margin: 0;
    max-width: 1320px;
    padding: 28px 24px 56px;
    width: 100%;
}

.shell-plain {
    margin: 0 auto;
}

h1 {
    color: #111827;
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 22px;
}

h2 {
    color: #172033;
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 14px;
}

.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.panel,
.login-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    padding: 18px;
}

.login-panel {
    margin: 10vh auto;
    max-width: 430px;
    padding: 24px;
}

.modern-login {
    background: linear-gradient(180deg, #ffffff 0, #f8fbfa 100%);
    border-top: 4px solid var(--accent);
    max-width: 460px;
    padding: 28px;
}

.login-brand {
    display: grid;
    gap: 2px;
    margin-bottom: 18px;
}

.login-brand strong {
    color: var(--accent);
    font-size: 18px;
}

.login-brand span {
    color: var(--muted);
    font-size: 13px;
}

.login-form {
    grid-template-columns: 1fr;
}

.form {
    display: grid;
    align-items: end;
    gap: 14px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
    color: var(--muted);
    display: grid;
    font-size: 14px;
    gap: 5px;
}

.form label:has(textarea),
.form label:has(input[type="file"]),
.form label:has(input[type="checkbox"]) {
    grid-column: 1 / -1;
}

.form .full,
.form .wide {
    grid-column: 1 / -1;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0;
    padding: 12px;
}

legend {
    color: var(--ink);
    font-weight: 700;
    padding: 0 6px;
}

.check-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.check-grid label {
    align-items: center;
    background: #f8fbfa;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    display: flex;
    gap: 8px;
    padding: 9px 10px;
}

.check-grid input {
    min-height: auto;
    width: auto;
}

.check-grid p {
    color: var(--muted);
    grid-column: 1 / -1;
    margin: 0;
}

.form label:has(input[type="checkbox"]) {
    align-items: center;
    display: flex;
    gap: 9px;
}

.form label:has(input[type="checkbox"]) input {
    min-height: auto;
    width: auto;
}

input,
select,
textarea {
    background: #fff;
    border: 1px solid #cfd7e2;
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    min-height: 40px;
    padding: 9px 11px;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 107, 91, 0.14);
    outline: 0;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form button,
.form .button {
    justify-self: start;
}

.toolbar {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 16px;
}

.quick-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
}

.link-inline-form {
    display: grid;
    gap: 6px;
    min-width: 260px;
}

.link-inline-form input {
    min-height: 34px;
    padding: 7px 9px;
}

.monthly-report-table {
    font-size: 12.5px;
    line-height: 1.3;
    table-layout: fixed;
}

.monthly-report-table .monthly-question-col {
    width: 30%;
}

.monthly-report-table .monthly-score-col {
    width: 112px;
}

.monthly-report-table .monthly-comments-col {
    width: 30%;
}

.monthly-report-table .monthly-task-col {
    width: 22%;
}

.monthly-report-table .monthly-photos-col {
    width: 130px;
}

.monthly-report-table th,
.monthly-report-table td {
    padding: 7px 8px;
}

.monthly-report-table td:first-child {
    font-size: 12.5px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.monthly-report-table td:first-child strong {
    color: var(--accent);
    display: inline-block;
    font-size: 11px;
    margin-bottom: 3px;
}

.monthly-report-table textarea {
    font-size: 12.5px;
    line-height: 1.3;
    min-height: 58px;
    padding: 7px 8px;
}

.monthly-report-table select,
.monthly-report-table input {
    font-size: 12.5px;
    min-height: 34px;
    padding: 6px 7px;
}

.monthly-report-table label {
    font-size: 12px;
    gap: 3px;
}

.monthly-report-table .button {
    font-size: 12px;
    min-height: 30px;
    padding: 5px 8px;
}

.monthly-section[hidden],
[data-question-row][hidden] {
    display: none !important;
}

.tab-links {
    align-items: center;
    background: #f3f6f8;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 3px;
}

.tab-links a {
    border-radius: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 9px;
    text-decoration: none;
    white-space: nowrap;
}

.tab-links a:hover,
.tab-links a.active {
    background: #fff;
    box-shadow: var(--shadow-soft);
    color: var(--accent);
}

.site-tabs-cell {
    min-width: 420px;
    white-space: normal;
}

.site-hub-tabs {
    margin: 0 0 18px;
    padding: 5px;
}

.site-hub-tabs a {
    padding: 8px 11px;
}

.site-detail-list dd {
    margin: 0;
}

.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.danger {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.button:hover,
button:hover {
    filter: brightness(0.97);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible {
    box-shadow: 0 0 0 3px rgba(36, 163, 145, 0.22);
    outline: 0;
}

.error {
    background: #f8e6e6;
    border: 1px solid #e5b8b8;
    border-radius: 6px;
    color: var(--danger);
    padding: 10px;
}

.notice {
    background: #e8f2ee;
    border: 1px solid #b8d5c9;
    border-radius: 6px;
    padding: 10px;
}

.badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
}

.badge.green {
    background: #dff0e8;
    color: #1f684f;
}

.badge.amber {
    background: #fff0cf;
    color: #805700;
}

.badge.red {
    background: #f8d9d9;
    color: #9a2f2f;
}

.badge.grey {
    background: #e5e8ec;
    color: #596575;
}

table {
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.35;
    min-width: 680px;
    overflow: hidden;
    width: 100%;
}

thead {
    background: #f6f8fa;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

td a {
    word-break: break-word;
}

th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

td {
    color: #273449;
    overflow-wrap: anywhere;
}

td small {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

td:first-child {
    font-weight: 600;
}

td .button,
td button {
    margin: 2px 4px 2px 0;
    min-height: 32px;
    padding: 6px 9px;
    width: auto;
}

td.actions-cell,
td:last-child:has(.button),
td:last-child:has(button),
td:last-child:has(form) {
    white-space: nowrap;
    width: 1%;
}

td form {
    display: inline-block;
    margin: 0 4px 4px 0;
}

tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #f8fbfa;
}

.panel > table,
.panel > div > table {
    box-shadow: var(--shadow-soft);
}

.panel:has(> table),
.panel:has(> div > table) {
    overflow-x: auto;
}

.files-table {
    table-layout: fixed;
}

.files-table th:first-child,
.files-table td:first-child {
    width: 38%;
}

.files-table .actions-cell {
    white-space: nowrap;
}

.admin-table,
.site-hub-table {
    min-width: 0;
    table-layout: fixed;
}

.admin-table th,
.admin-table td,
.site-hub-table th,
.site-hub-table td {
    vertical-align: top;
}

.admin-table td:first-child,
.site-hub-table td:first-child {
    width: 28%;
}

.admin-table .actions-cell,
.site-hub-table .actions-cell {
    white-space: nowrap;
    width: 1%;
}

.admin-table .muted,
.site-hub-table .muted {
    color: var(--muted);
}

.report-summary .panel strong {
    color: var(--accent);
    display: block;
    font-size: 32px;
    line-height: 1;
}

.calendar-table {
    table-layout: fixed;
    min-width: 0;
}

.calendar-table th,
.calendar-table td {
    vertical-align: top;
    width: 14.285%;
}

.calendar-table td {
    height: 128px;
    white-space: normal;
}

.calendar-table td > strong {
    display: block;
    margin-bottom: 6px;
}

.calendar-muted {
    background: #f7f9fb;
    color: var(--muted);
}

.calendar-event {
    border-radius: 6px;
    display: block;
    font-size: 11px;
    line-height: 1.25;
    margin: 4px 0;
    padding: 5px 6px;
    text-decoration: none;
    white-space: normal;
}

.calendar-event span {
    color: inherit;
    font-weight: 400;
}

@media print {
    body {
        background: #fff;
    }

    .sidebar,
    .sidebar-open,
    .report-actions,
    .quick-actions {
        display: none !important;
    }

    .app-frame {
        display: block !important;
    }

    .shell {
        max-width: none !important;
        padding: 0 !important;
    }

    .panel {
        box-shadow: none;
        break-inside: avoid;
    }

    a {
        color: #172033;
        text-decoration: none;
    }
}

.stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stack li {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 2px;
    padding: 10px 0;
}

.stack li:first-child {
    padding-top: 0;
}

.stack li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.stack span,
dd {
    color: var(--muted);
}

.admin-hub .panel {
    align-self: start;
}

.admin-hub .stack li {
    gap: 4px;
}

.admin-hub .stack a {
    font-size: 15px;
}

.dashboard-hero {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-bottom: 16px;
}

.dash-stat {
    box-shadow: var(--shadow-soft);
    margin-bottom: 0;
}

.dash-stat span,
.dash-stat small {
    color: var(--muted);
    display: block;
}

.dash-stat strong {
    color: var(--accent);
    display: block;
    font-size: 34px;
    line-height: 1;
    margin: 8px 0;
}

.dash-stat.danger-stat {
    border-left: 4px solid var(--danger);
}

.dash-stat.ok-stat {
    border-left: 4px solid var(--accent);
}

.dashboard-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
}

.dashboard-section-title {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0;
    margin: 24px 0 10px;
    text-transform: uppercase;
}

.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard-grid .panel {
    margin-bottom: 0;
}

.site-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

dl {
    display: grid;
    gap: 8px 18px;
    grid-template-columns: max-content 1fr;
}

dt {
    color: var(--muted);
    font-weight: bold;
}

@media (max-width: 1180px) {
    .app-frame {
        display: block;
    }

    .sidebar {
        bottom: 0;
        height: 100vh;
        left: 0;
        padding: 14px 10px;
        position: fixed;
        top: 0;
        transform: translateX(0);
        transition: transform 180ms ease;
        width: 260px;
        z-index: 50;
    }

    .app-frame.sidebar-collapsed .sidebar {
        border-right: 1px solid #101827;
        display: block;
        height: 100vh;
        padding: 14px 10px;
        transform: translateX(-110%);
        width: 260px;
    }

    .app-frame.sidebar-collapsed .sidebar > * {
        display: block;
    }

    .brand {
        gap: 8px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .brand strong {
        font-size: 14px;
    }

    .sidebar span,
    .brand span {
        font-size: 12px;
    }

    .side-nav a {
        font-size: 13px;
        padding: 8px 8px;
    }

    .shell {
        max-width: none;
        padding: 20px 16px 46px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 18px;
    }

    h2 {
        font-size: 16px;
    }

    .panel,
    .login-panel {
        padding: 15px;
    }

    .grid {
        gap: 14px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .form {
        gap: 12px;
    }

    table {
        font-size: 13px;
        min-width: 560px;
    }

    th,
    td {
        padding: 8px 9px;
    }

    .admin-table,
    .site-hub-table,
    .calendar-table {
        min-width: 0;
    }

    .tab-links a {
        font-size: 12px;
        padding: 6px 8px;
    }

    .site-tabs-cell {
        min-width: 360px;
    }
}

@media (max-width: 1180px) {
    .toolbar {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .quick-actions {
        padding: 8px 0;
    }

    .button,
    button {
        min-height: 36px;
        padding: 7px 10px;
    }

    .admin-table,
    .admin-table thead,
    .admin-table tbody,
    .admin-table tr,
    .admin-table th,
    .admin-table td,
    .site-hub-table,
    .site-hub-table thead,
    .site-hub-table tbody,
    .site-hub-table tr,
    .site-hub-table th,
    .site-hub-table td,
    .monthly-report-table,
    .monthly-report-table thead,
    .monthly-report-table tbody,
    .monthly-report-table tr,
    .monthly-report-table th,
    .monthly-report-table td {
        display: block;
        width: 100% !important;
    }

    .admin-table thead,
    .site-hub-table thead,
    .monthly-report-table colgroup,
    .monthly-report-table thead {
        display: none;
    }

    .admin-table,
    .site-hub-table,
    .monthly-report-table {
        background: transparent;
        border: 0;
        box-shadow: none !important;
        min-width: 0;
        white-space: normal;
    }

    .admin-table tr,
    .site-hub-table tr,
    .monthly-report-table tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-soft);
        margin-bottom: 12px;
        padding: 10px;
    }

    .admin-table td,
    .site-hub-table td,
    .monthly-report-table td {
        border-bottom: 1px solid #edf1f5;
        padding: 8px 0;
        white-space: normal;
    }

    .admin-table td:last-child,
    .site-hub-table td:last-child,
    .monthly-report-table td:last-child {
        border-bottom: 0;
    }

    .admin-table td::before,
    .site-hub-table td::before,
    .monthly-report-table td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .monthly-report-table td:first-child::before {
        display: none;
    }

    .actions-cell,
    td.actions-cell,
    td:last-child:has(.button),
    td:last-child:has(button),
    td:last-child:has(form) {
        white-space: normal;
        width: 100% !important;
    }

    td .button,
    td button {
        width: auto;
    }
}

@media (max-width: 760px) {
    .app-frame {
        display: block;
    }

    .sidebar {
        height: auto;
        position: static;
        padding: 12px;
    }

    .brand {
        margin-bottom: 10px;
    }

    .side-nav {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .toolbar {
        grid-template-columns: 1fr;
    }

    .form {
        grid-template-columns: 1fr;
    }

    .form label:has(textarea),
    .form label:has(input[type="file"]),
    .form label:has(input[type="checkbox"]) {
        grid-column: auto;
    }

    table {
        border-radius: 8px;
        display: table;
        max-width: 100%;
        min-width: 640px;
        white-space: normal;
    }

    .calendar-table,
    .calendar-table thead,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table th,
    .calendar-table td {
        display: block;
        width: 100%;
    }

    .calendar-table thead {
        display: none;
    }

    .calendar-table td {
        height: auto;
        min-height: 76px;
    }

    .calendar-table td::before {
        color: var(--muted);
        content: attr(data-date);
        display: block;
        font-size: 12px;
        font-weight: 700;
    }

    th,
    td {
        padding: 9px 10px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .panel,
    .login-panel {
        border-radius: 8px;
        padding: 14px;
    }

    .grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .button,
    button {
        width: 100%;
    }

    td .button,
    td button {
        min-width: 74px;
        width: auto;
    }

    td.actions-cell,
    td:last-child:has(.button),
    td:last-child:has(button),
    td:last-child:has(form) {
        white-space: normal;
    }

    .form button,
    .form .button {
        justify-self: stretch;
    }

    .quick-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-tabs-cell {
        min-width: 520px;
    }

    .tab-links {
        align-items: stretch;
    }

    .tab-links a {
        flex: 1 0 auto;
        text-align: center;
    }

    .site-profile-summary {
        padding: 16px;
    }

    dl {
        display: block;
    }

    dt {
        color: var(--ink);
        font-size: 14px;
        margin: 0 0 3px;
    }

    dd {
        border-bottom: 1px solid var(--line);
        margin: 0 0 13px;
        padding: 0 0 12px;
        overflow-wrap: anywhere;
    }

    dd:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .site-detail-list {
        display: block;
    }

    .site-detail-list dt {
        color: var(--ink);
        font-size: 14px;
        margin: 0 0 3px;
    }

    .site-detail-list dd {
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: 15px;
        margin: 0 0 13px;
        padding: 0 0 12px;
        overflow-wrap: anywhere;
    }

    .site-detail-list dd:last-child {
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .site-hub-tabs {
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }

    .site-hub-tabs a {
        align-items: center;
        display: flex;
        justify-content: center;
        min-height: 42px;
        padding: 8px 6px;
        white-space: normal;
    }

    .admin-table,
    .admin-table thead,
    .admin-table tbody,
    .admin-table tr,
    .admin-table th,
    .admin-table td,
    .site-hub-table,
    .site-hub-table thead,
    .site-hub-table tbody,
    .site-hub-table tr,
    .site-hub-table th,
    .site-hub-table td {
        display: block;
        min-width: 0;
        width: 100% !important;
    }

    .admin-table,
    .site-hub-table {
        background: transparent;
        border: 0;
        box-shadow: none !important;
        white-space: normal;
    }

    .admin-table thead,
    .site-hub-table thead {
        display: none;
    }

    .admin-table tr,
    .site-hub-table tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-soft);
        margin-bottom: 10px;
        padding: 10px;
    }

    .admin-table td,
    .site-hub-table td {
        border-bottom: 0;
        padding: 6px 0;
        white-space: normal;
    }

    .admin-table td::before,
    .site-hub-table td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 2px;
        text-transform: uppercase;
    }

    .admin-table td.actions-cell .button,
    .admin-table td:last-child .button,
    .site-hub-table td.actions-cell .button,
    .site-hub-table td:last-child .button {
        margin-right: 0;
        width: 100%;
    }

    .monthly-report-table,
    .monthly-report-table thead,
    .monthly-report-table tbody,
    .monthly-report-table tr,
    .monthly-report-table th,
    .monthly-report-table td {
        display: block;
        width: 100% !important;
    }

    .monthly-report-table colgroup,
    .monthly-report-table thead {
        display: none;
    }

    .monthly-report-table {
        background: transparent;
        border: 0;
        box-shadow: none !important;
        font-size: 13px;
        min-width: 0;
    }

    .monthly-report-table tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow-soft);
        margin-bottom: 12px;
        padding: 10px;
    }

    .monthly-report-table td {
        border-bottom: 1px solid #edf1f5;
        padding: 8px 0;
    }

    .monthly-report-table td:last-child {
        border-bottom: 0;
    }

    .monthly-report-table td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .monthly-report-table td:first-child {
        color: var(--ink);
        font-size: 14px;
    }

    .monthly-report-table td:first-child::before {
        display: none;
    }

    .monthly-report-table textarea {
        min-height: 76px;
    }
}
