@font-face {
    font-family: Yekan;
    src: url("Yekan.woff2") format("woff2"),
         url("Yekan.woff") format("woff"),
         url("Yekan.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }
html { font-size: 15px; }
body {
    margin: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
    background: #e8eef5;
    color: #17233c;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.page {
    max-width: 1480px;
    margin: 0 auto;
    padding: 20px;
}
.with-sidebar {
    margin-right: 240px;
    max-width: none;
}
.sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: 240px;
    background: linear-gradient(180deg, #071a31 0%, #0c2442 58%, #102f58 100%);
    color: #fff;
    z-index: 30;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    box-shadow: -10px 0 30px rgba(10, 31, 58, 0.18);
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd54a, #f6b700);
    color: #0b1f3a;
    display: grid;
    place-items: center;
    font-weight: 900;
}
.sidebar-brand strong,
.sidebar-brand small {
    display: block;
}
.sidebar-brand small {
    color: #cbd5e1;
    font-size: 12px;
    margin-top: 3px;
}
.side-nav {
    display: grid;
    gap: 7px;
    padding: 18px 0;
}
.side-nav a {
    color: #dbe7f4;
    min-height: 42px;
    border-radius: 7px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
}
.side-nav a.active,
.side-nav a:hover {
    background: linear-gradient(135deg, #ffd54a, #f6b700);
    color: #0b1f3a;
}
.mobile-logout-link {
    display: none !important;
}
.sidebar-user {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 14px;
    display: grid;
    gap: 9px;
}
.sidebar-user span {
    color: #e2e8f0;
    font-size: 13px;
}
.sidebar-user a {
    color: #ffd54a;
}

.panel {
    background: #fff;
    border: 1px solid #d3deea;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: 0 12px 26px rgba(11, 31, 58, 0.07);
}
.filter-panel { padding: 14px; }
.toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 2fr) minmax(160px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #52606d;
    font-size: 13px;
}
.toolbar input, .toolbar select, input, select, textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #c8d2df;
    border-radius: 7px;
    padding: 8px 10px;
    font: inherit;
    background: #fff;
    color: #17233c;
}
textarea { min-height: 110px; resize: vertical; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border: 0;
    border-radius: 7px;
    padding: 8px 15px;
    font: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #0b1f3a, #12345f);
    color: #fff;
    white-space: nowrap;
}
.btn.secondary { background: #627d98; }
.btn.danger { background: #c92a2a; }
.btn.success { background: #087f5b; }
.btn.light { background: #fff3bf; color: #0b1f3a; }

.city-board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 18px;
    align-items: start;
}
.city-board {
    background: #fff;
    border: 1px solid #cdd9e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(11, 31, 58, 0.1);
}
.city-board-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    color: #fff;
    font-weight: 800;
}
.city-theme-1 .city-board-header,
.city-theme-2 .city-board-header,
.city-theme-3 .city-board-header,
.city-theme-4 .city-board-header,
.city-theme-5 .city-board-header { background: linear-gradient(90deg, #071a31 0%, #0b3f78 58%, #1484d6 100%); }
.city-board-header strong { font-size: 13px; font-weight: 700; }
.city-table-wrap { overflow-x: auto; }
.city-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
}
.city-table th, .city-table td {
    border: 1px solid #d3deea;
    padding: 3px 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 11px;
}
.city-table th {
    background: #f3f7fb;
    color: #071a31;
    font-weight: 800;
}
.city-table tbody tr:nth-child(odd) { background: #f9fbfd; }
.city-table tbody tr:hover { background: #fff8df; }
.code-cell {
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}
.compact-table th:nth-child(1),
.compact-table td:nth-child(1) { width: 82px; }
.compact-table th:nth-child(3),
.compact-table td:nth-child(3) { width: 118px; }
.compact-table th:nth-child(4),
.compact-table td:nth-child(4) { width: 58px; }
.address-cell {
    max-width: 340px;
    text-align: right !important;
    line-height: 1.6;
}
.dash { color: #7b8794; }
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    border-radius: 999px;
    padding: 4px 9px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}
.status-pill.free { background: #0b8f61; }
.status-pill.busy { background: #0b8f61; }
.status-pill.wait { background: #d97706; }
.remain-cell {
    color: #07804f;
    font-weight: 800;
    white-space: nowrap;
}
.action-cell {
    position: relative;
    min-height: 26px;
    white-space: nowrap;
}
.action-menu {
    position: relative;
    display: inline-flex;
}
.action-menu-toggle {
    width: 32px;
    height: 26px;
    border: 0;
    border-radius: 7px;
    background: #071a31;
    color: #ffd54a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}
.action-menu-toggle:hover,
.action-menu.is-open .action-menu-toggle {
    background: #ffd54a;
    color: #071a31;
}
.action-menu-popover {
    position: fixed;
    top: var(--menu-top, 0);
    left: var(--menu-left, 0);
    transform: translateX(-50%) translateY(-3px);
    z-index: 50;
    min-width: 92px;
    padding: 5px;
    border-radius: 8px;
    background: #071a31;
    box-shadow: 0 12px 28px rgba(7, 26, 49, 0.24);
    display: none;
    opacity: 0;
}
.action-menu-popover::before {
    content: "";
    position: absolute;
    top: -6px;
    left: calc(50% - 6px);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 6px solid #071a31;
}
.action-menu.is-open .action-menu-popover {
    display: grid;
    gap: 4px;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.action-menu-popover button,
.action-menu-popover a {
    width: 100%;
    min-height: 28px;
    border: 0;
    border-radius: 6px;
    padding: 5px 9px;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}
.action-menu-popover button:hover,
.action-menu-popover a:hover {
    background: #ffd54a;
    color: #071a31;
}
.icon-action {
    min-width: 46px;
    height: 24px;
    border-radius: 7px;
    border: 0;
    background: #0b1f3a;
    color: #ffd54a;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
}
.image-action {
    background: #075ab8;
    color: #fff;
}
.icon-action:hover {
    background: #ffd54a;
    color: #0b1f3a;
}
.reserve-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border-radius: 7px;
    padding: 3px 9px;
    background: linear-gradient(135deg, #ffd54a, #f6b700);
    color: #0b1f3a;
    font-size: 10.5px;
    font-weight: 800;
}
.details-row:not(.is-open) {
    display: none !important;
}
.details-row.is-open {
    display: table-row;
}
.billboard-details {
    display: grid;
    grid-template-columns: 110px 160px auto;
    gap: 8px;
    align-items: center;
    text-align: right;
    background: #fff9e6;
    border: 1px solid #dce5ef;
    border-radius: 7px;
    padding: 8px;
}
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.image-modal.is-open {
    display: flex;
}
.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 49, 0.68);
}
.image-modal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #d3deea;
    border-radius: 9px;
    box-shadow: 0 24px 70px rgba(7, 26, 49, 0.32);
    padding: 14px;
}
.image-modal-dialog h3 {
    margin: 0 0 6px;
    color: #071a31;
    font-size: 18px;
    font-weight: 900;
}
.image-modal-dialog p {
    margin: 0 0 12px;
    color: #52606d;
    line-height: 1.8;
    font-size: 13px;
}
.image-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #071a31;
    color: #ffd54a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.image-modal-body {
    min-height: 170px;
    display: grid;
    place-items: center;
    background: #eef4fb;
    border-radius: 8px;
    overflow: hidden;
}
.image-modal-body img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #111827;
}
.image-loading,
.image-empty {
    color: #334e68;
    font-weight: 800;
    padding: 22px;
    text-align: center;
}
.image-manager-list {
    display: grid;
    gap: 10px;
}
.image-manager-item {
    display: grid;
    grid-template-columns: 120px minmax(220px, 1fr) minmax(260px, 380px) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    padding: 8px;
    background: #f9fbfd;
}
.image-preview-box {
    width: 120px;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #e8eef5;
    color: #64748b;
    font-size: 12px;
}
.image-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-manager-info strong,
.image-manager-info span {
    display: inline-block;
    margin-left: 8px;
}
.image-manager-info strong {
    color: #071a31;
    font-weight: 900;
}
.image-manager-info p {
    margin: 6px 0 0;
    line-height: 1.7;
    color: #334e68;
    font-size: 12px;
}
.image-upload-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}
.billboard-details span {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-bottom: 3px;
}
.billboard-details strong {
    color: #102a43;
    font-size: 12px;
    line-height: 1.7;
}
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #d8e0eb;
}
.table th, .table td {
    border-bottom: 1px solid #d8e0eb;
    padding: 10px;
    text-align: right;
    vertical-align: top;
    font-size: 14px;
}
.table th { background: #f0f4f8; color: #334e68; }
.reservations-table td:first-child {
    min-width: 250px;
}
.reservations-table .muted {
    display: inline-block;
    margin-top: 4px;
    color: #64748b;
    line-height: 1.7;
    font-size: 12px;
}
.reservation-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.status-pending { background: #fff4cc; color: #8a5a00; }
.status-approved { background: #e6fcf5; color: #087f5b; }
.status-rejected { background: #fff0f0; color: #9b1c1c; }
.status-cancelled { background: #edf2f7; color: #52606d; }
.reservation-action-form {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto auto;
    gap: 6px;
    align-items: center;
}
.reservation-action-form input {
    min-height: 34px;
}
.reservation-action-form .btn,
.reservation-actions .btn {
    min-height: 34px;
    padding: 6px 10px;
}
.notice {
    background: #fff8db;
    border: 1px solid #f7d070;
    color: #8d5800;
    padding: 10px 12px;
    border-radius: 7px;
    margin-bottom: 14px;
}
.success-note {
    background: #e6fcf5;
    border-color: #96f2d7;
    color: #087f5b;
}
.notice.success {
    background: #e6fcf5;
    border-color: #96f2d7;
    color: #087f5b;
}
.notice.danger {
    background: #fff0f0;
    border-color: #f1a4a4;
    color: #9b1c1c;
}
.empty-state { text-align: center; color: #52606d; }

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 213, 74, 0.2), transparent 28%),
        linear-gradient(145deg, #051628 0%, #0a203a 48%, #123b6d 100%);
}
.login-card {
    width: min(420px, 100%);
    background: rgba(5, 19, 34, 0.96);
    border: 1px solid rgba(255, 213, 74, 0.35);
    border-radius: 10px;
    padding: 34px 30px 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    position: relative;
    overflow: hidden;
}
.login-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #ffd54a, #f6b700);
}
.login-card h1 {
    margin: 0 0 26px;
    font-size: 24px;
    color: #ffd54a;
    text-align: center;
    letter-spacing: 0;
    font-weight: 800;
}
.login-field {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    background: #eef3f8;
    margin-bottom: 13px;
    border-radius: 8px;
    overflow: hidden;
}
.login-field span {
    display: grid;
    place-items: center;
    color: #0b1f3a;
    border-left: 1px solid #c7d3e0;
    height: 44px;
    font-size: 12px;
    font-weight: 800;
}
.login-field input {
    border: 0;
    border-radius: 0;
    background: transparent;
    min-height: 44px;
    color: #071a31;
}
.login-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 0;
    background: linear-gradient(135deg, #ffd54a, #f6b700);
    color: #0b1f3a;
    font-weight: 900;
    cursor: pointer;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(246, 183, 0, 0.22);
}
.captcha-field {
    grid-template-columns: 100px 1fr;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.stat-card {
    background: linear-gradient(135deg, #071a31, #123b6d);
    color: #fff;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 213, 74, 0.28);
    box-shadow: 0 12px 24px rgba(16, 42, 67, 0.09);
}
.stat-card span {
    display: block;
    color: #cbd5e1;
    font-size: 12px;
    margin-bottom: 8px;
}
.stat-card strong {
    color: #ffd54a;
    font-size: 23px;
}
.stat-card.wide {
    grid-column: span 2;
}
.action-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.action-stats div {
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    padding: 10px;
    background: #f8fafc;
}
.action-stats span {
    color: #52606d;
    font-size: 12px;
}
.action-stats strong {
    display: block;
    color: #0b1f3a;
    font-size: 20px;
    margin-top: 4px;
}
.compact-log-table th,
.compact-log-table td {
    padding: 7px 8px;
    font-size: 12px;
}
.mobile-city-panel {
    display: none;
}
.inline-edit-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) auto auto;
    gap: 8px;
    align-items: center;
    background: #fff9e6;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 10px;
}
.inline-edit-form input,
.inline-edit-form select {
    min-height: 36px;
    border: 1px solid #c8d2df;
    border-radius: 7px;
    padding: 6px 8px;
}
.check-label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    white-space: nowrap;
}
.compact-btn {
    min-height: 27px;
    padding: 4px 10px;
    font-size: 11px;
}
.form-row { margin-bottom: 14px; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.reserve-form { display: grid; gap: 12px; }
.detail-hero {
    background: #fff;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
}
.detail-hero h1 { margin: 5px 0 8px; font-size: 30px; color: #12263f; }
.detail-hero p { margin: 0; color: #52606d; line-height: 1.9; }
.eyebrow {
    color: #075ab8;
    font-size: 13px;
    font-weight: 800;
}
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.detail-grid div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}
.detail-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 6px;
}
.detail-grid strong { color: #17233c; font-size: 15px; }
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.section-heading h1 { margin: 4px 0 0; font-size: 24px; }
#map {
    height: calc(100vh - 160px);
    min-height: 520px;
    border-radius: 8px;
    border: 1px solid #d8e0eb;
    overflow: hidden;
}
.kada-map-marker {
    background: transparent;
    border: 0;
}
.kada-map-marker span {
    display: block;
    position: relative;
    width: 22px;
    height: 22px;
    background: #e03131;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.kada-map-marker span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    top: 5px;
    left: 5px;
}
.map-popup {
    direction: rtl;
    text-align: right;
    min-width: 190px;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}
.map-popup strong { display: block; font-size: 16px; color: #12263f; }
.map-popup small { color: #64748b; }
.map-popup p { margin: 8px 0; line-height: 1.7; }
.map-popup a {
    display: inline-flex;
    margin-top: 8px;
    margin-left: 6px;
    background: #e7f0ff;
    color: #075ab8;
    border-radius: 6px;
    padding: 5px 9px;
}
.pwt-datepicker, .datepicker-plot-area {
    font-family: Yekan, Tahoma, Arial, sans-serif !important;
}

@media (max-width: 1180px) {
    .city-board-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html { font-size: 14px; }
    .sidebar {
        position: sticky;
        width: auto;
        min-height: auto;
        inset: auto;
        padding: 10px;
        border-radius: 0;
    }
    .sidebar-brand {
        padding-bottom: 10px;
    }
    .side-nav {
        display: flex;
        overflow-x: auto;
        padding: 10px 0 0;
    }
    .side-nav a {
        white-space: nowrap;
        min-height: 38px;
    }
    .mobile-logout-link {
        display: flex !important;
        background: linear-gradient(135deg, #ffd54a, #f6b700);
        color: #0b1f3a !important;
        font-weight: 900;
    }
    .sidebar-user {
        display: none;
    }
    .page, .with-sidebar {
        margin-right: 0;
        padding: 12px;
    }
    .dashboard-filter-panel {
        display: none;
    }
    .toolbar, .form-grid { grid-template-columns: 1fr; }
    .detail-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .detail-grid { grid-template-columns: 1fr; }
    .city-board-header {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 10px 14px;
    }
    .mobile-city-panel {
        display: block;
    }
    .mobile-city-panel select {
        width: 100%;
        min-height: 42px;
        border: 1px solid #c8d2df;
        border-radius: 8px;
        padding: 8px 10px;
    }
    .city-board-grid .city-board {
        display: none;
    }
    .city-board-grid .city-board.mobile-selected {
        display: block;
    }
    .city-table th, .city-table td {
        font-size: 11px;
        padding: 3px 4px;
    }
    .reservations-table-wrap {
        overflow-x: visible;
    }
    .mobile-card-table,
    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td {
        display: block;
        width: 100%;
    }
    .mobile-card-table {
        border: 0;
        background: transparent;
    }
    .mobile-card-table thead {
        display: none;
    }
    .mobile-card-table tr {
        margin-bottom: 10px;
        border: 1px solid #cbd8e6;
        border-radius: 9px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 10px 22px rgba(11, 31, 58, 0.08);
    }
    .mobile-card-table td {
        border: 0;
        border-bottom: 1px solid #e2e8f0;
        padding: 8px 10px;
        text-align: right;
        font-size: 12px;
        line-height: 1.8;
    }
    .mobile-card-table td:last-child {
        border-bottom: 0;
    }
    .mobile-card-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #075ab8;
        font-size: 11px;
        font-weight: 900;
    }
    .reservations-table td:first-child {
        min-width: 0;
    }
    .reservations-table .muted {
        font-size: 11.5px;
    }
    .reservation-action-form {
        grid-template-columns: 1fr 1fr;
    }
    .reservation-action-form input {
        grid-column: 1 / -1;
    }
    .reservation-actions .btn,
    .reservation-action-form .btn {
        width: 100%;
    }
    .reserve-link {
        padding: 4px 8px;
    }
    #map { height: 68vh; min-height: 420px; }
    .billboard-details {
        grid-template-columns: 1fr;
    }
    .address-cell {
        min-width: 180px;
    }
    .image-manager-item {
        grid-template-columns: 88px 1fr;
    }
    .image-preview-box {
        width: 88px;
    }
    .image-upload-form {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }
    .image-manager-item form:not(.image-upload-form) {
        grid-column: 1 / -1;
    }
    .image-modal-dialog {
        padding: 12px;
    }
    .inline-edit-form {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card.wide {
        grid-column: auto;
    }
}
