@font-face {
    font-family: 'Material Symbols Sharp Local';
    src: url('/assets/Fonts/MaterialSymbolsSharp-VariableFont_FILL%2CGRAD%2Copsz%2Cwght.ttf') format('truetype');
    font-weight: 100 700;
    font-style: normal;
}

.material-symbols-sharp-local {
    font-family: 'Material Symbols Sharp Local', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    font-feature-settings: 'liga' 1, 'clig' 1;
    font-variant-ligatures: contextual common-ligatures discretionary-ligatures;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Sharp Local', sans-serif;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    font-feature-settings: 'liga' 1, 'clig' 1;
    font-variant-ligatures: contextual common-ligatures discretionary-ligatures;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-gap-2 {
    gap: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.flex-gap-4 {
    gap: var(--spacing-md);
    display: flex;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    /* Bolder as per login */
    cursor: pointer;
    transition: all 0.2s ease;
    /* Better transition */
    box-shadow: var(--shadow-sm);
    min-height: 40px;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    min-height: 32px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
    /* Subtle blue shadow */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.15);
    text-decoration: none;
}

.btn-secondary {
    background-color: white;
    border-color: var(--border-color);
    color: var(--text-main);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--bg-surface-alt);
}

.btn-white {
    background-color: #fff;
    border-color: var(--border-color);
    color: var(--text-main);
    text-decoration: none;
}

.btn-white:hover {
    background-color: var(--bg-surface-alt);
}

.btn-outline,
.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
    text-decoration: none;
}

.btn-outline:hover,
.btn-outline-secondary:hover {
    background-color: var(--bg-surface-alt);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-outline-primary:hover {
    background-color: var(--primary-light);
}

.btn-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: #475569;
    font-weight: 600;
    line-height: 1.1;
    box-shadow: var(--shadow-sm);
}

.btn-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-pill.is-active {
    background: var(--primary-color);
    border-color: var(--primary-hover);
    color: #fff;
}

/* Default spacing between neighboring buttons/btn-links */
.btn+.btn,
.btn+a.btn,
a.btn+.btn,
a.btn+a.btn {
    margin-left: var(--spacing-sm);
}

/* Avoid double spacing in containers that already use gap */
.flex-gap-2>.btn+.btn,
.flex-gap-2>.btn+a.btn,
.flex-gap-2>a.btn+.btn,
.flex-gap-2>a.btn+a.btn,
.flex-gap-4>.btn+.btn,
.flex-gap-4>.btn+a.btn,
.flex-gap-4>a.btn+.btn,
.flex-gap-4>a.btn+a.btn,
.action-row-right>.btn+.btn,
.action-row-right>.btn+a.btn,
.action-row-right>a.btn+.btn,
.action-row-right>a.btn+a.btn,
.modal-footer>.btn+.btn,
.modal-footer>.btn+a.btn,
.modal-footer>a.btn+.btn,
.modal-footer>a.btn+a.btn {
    margin-left: 0;
}

.btn-danger-ghost {
    color: var(--text-light);
    background: transparent;
    padding: 2px;
}

.btn-danger-ghost:hover {
    color: var(--danger-color);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    /* darker red */
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #16a34a;
    /* darker green */
}

.btn-map {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.btn-map:hover {
    background-color: #dbeafe;
    /* Blue 100 */
}

/* Forms */
.form-input,
.form-select {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.form-input:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    border-color: var(--primary-color);
}

.form-label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-md);
}

.checkbox {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    width: 1rem;
    height: 1rem;
    color: var(--primary-color);
}

/* Cards & Containers */
.card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    /* Increased radius */
    box-shadow: var(--shadow-fancy);
    /* Fancy shadow */
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Glassmorphism hint */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Even stronger shadow on hover */
}

.card-header {
    background-color: var(--bg-surface-alt);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: var(--spacing-md);
    background-color: var(--bg-surface);
    /* Fix for white bg on rooms */
}

/* Alerts */
.alert {
    border-left-width: 4px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background-color: var(--success-bg);
    border-color: var(--success-border);
    color: var(--success-color);
}

.alert-error {
    background-color: var(--danger-bg);
    border-color: var(--danger-border);
    color: var(--danger-color);
}

/* Room Tiles */
.room-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: var(--spacing-sm);
}

@media (min-width: 640px) {
    .room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .room-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.room-tile {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    background-color: var(--bg-surface);
    transition: box-shadow 0.15s ease;
    cursor: grab;
}

.room-tile:hover {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.room-tile.is-shaft {
    background-color: var(--shaft-bg);
    border-color: var(--shaft-border);
}

.room-tile.dragging {
    opacity: 0.5;
}

.room-tile.drag-over {
    background-color: var(--primary-light);
}

.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.font-bold {
    font-weight: 700;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color);
}

.text-purple {
    color: var(--shaft-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Utilities */
.icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
}

.icon-sm {
    width: 0.875rem;
    height: 0.875rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-xl {
    width: 2rem;
    height: 2rem;
}

.transition-transform {
    transition: transform 0.2s;
}

.rotate-90 {
    transform: rotate(90deg);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.justify-end {
    justify-content: flex-end;
}

.items-start {
    align-items: flex-start;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: var(--spacing-sm);
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.action-row-right {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.object-select {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 320px;
}

.object-select-label {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

.header-object-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-sm);
    min-width: 340px;
    width: 100%;
    max-width: 760px;
}

.header-object-select {
    width: 100%;
    max-width: 420px;
}

.header-object-line {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--spacing-sm);
}

.btn-chip-sm {
    padding: 0.2rem 0.5rem;
    font-size: var(--font-size-xs);
    border-radius: 5px;
    box-shadow: none;
}

.btn-house {
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.btn-house:hover {
    background: #bfdbfe;
}

.btn-house.is-active {
    background: #2563eb;
    border-color: #1d4ed8;
    color: #fff;
}

.btn-level {
    background: #fef9c3;
    border-color: #fde68a;
    color: #854d0e;
}

.btn-level:hover {
    background: #fde68a;
}

.btn-level.is-active {
    background: #facc15;
    border-color: #eab308;
    color: #111827;
}

.mb-4 {
    margin-bottom: var(--spacing-md);
}

.mb-6 {
    margin-bottom: var(--spacing-lg);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-4 {
    margin-top: var(--spacing-md);
}

.mt-6 {
    margin-top: var(--spacing-lg);
}

.ml-2 {
    margin-left: var(--spacing-sm);
}

.w-100 {
    width: 100%;
}

.space-y-2>*+* {
    margin-top: var(--spacing-sm);
}

.space-y-4>*+* {
    margin-top: var(--spacing-md);
}

.bg-gray-50 {
    background-color: var(--bg-body);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* Deep modal modal shadow */
    padding: var(--spacing-lg);
    width: 24rem;
    max-width: 90vw;
}

.modal-dialog.lg {
    width: 32rem;
}

.modal-dialog.xl {
    width: 48rem;
}

/* Map View Overlay */
.fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: var(--bg-surface-alt);
    display: flex;
    flex-direction: column;
}

.map-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.map-canvas {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.map-node {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: move;
    background-color: white;
    width: 140px;
    user-select: none;
}

.map-node.is-shaft {
    background-color: var(--shaft-bg);
    border-color: var(--shaft-border);
}

/* Semantic Utilities (Replacing Tailwind) */
.stack-y {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.ml-md {
    margin-left: var(--spacing-md);
}

.pl-md {
    padding-left: var(--spacing-md);
}

.p-md {
    padding: var(--spacing-md);
}

.p-lg {
    padding: var(--spacing-lg);
}

.border-light {
    border-color: var(--border-color);
}

.border-l {
    border-left: 2px solid var(--border-color);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.bg-gradient-soft {
    background: linear-gradient(to right, var(--bg-surface-alt), #f5f3ff);
}

.px-sm {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.hover-bg-surface-alt:hover {
    background-color: var(--bg-surface-alt);
}

.hover-bg-danger-light:hover {
    background-color: #fef2f2;
}

.hover-text-danger:hover {
    color: var(--danger-color);
}

.bg-success-light {
    background-color: var(--success-bg);
    border-color: var(--success-border) !important;
}

.bg-warning-light {
    background-color: var(--warning-bg);
    border-color: var(--warning-border) !important;
}

.bg-purple-light {
    background-color: var(--shaft-bg);
    border-color: var(--shaft-border) !important;
}

/* Gradients for Combinations */
.bg-gradient-green-yellow {
    background: linear-gradient(135deg, var(--success-bg), var(--warning-bg));
    border-color: var(--success-border) !important;
}

.bg-gradient-green-purple {
    background: linear-gradient(135deg, var(--success-bg), var(--shaft-bg));
    border-color: var(--success-border) !important;
}

.bg-gradient-purple-yellow {
    background: linear-gradient(135deg, var(--shaft-bg), var(--warning-bg));
    border-color: var(--shaft-border) !important;
}

.bg-gradient-green-purple-yellow {
    background: linear-gradient(135deg, var(--success-bg), var(--shaft-bg), var(--warning-bg));
    border-color: var(--success-border) !important;
}

/* Entity List System (Centers -> Buildings -> Levels) */
.entity-item {
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-fancy);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.entity-header {
    background-color: var(--bg-surface-alt);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.entity-header:hover {
    background-color: #f8fafc;
    /* Slight lighten on hover */
}

.entity-body {
    padding: var(--spacing-md);
    background-color: var(--bg-surface);
}

/* Recursive Indentation */
.entity-item .entity-item {
    margin-left: var(--spacing-lg);
    border-left: 4px solid var(--primary-light);
    /* Visual guide for hierarchy */
    box-shadow: var(--shadow-md);
    /* Slightly reduced shadow for nested items */
}

/* Ensure the shaft drag/drop grid fits nicely inside entity-body */
.entity-body .room-grid {
    margin-top: var(--spacing-sm);
}

/* Selection Highlighting for Rentals */
.bg-blue-selection {
    background-color: #dbeafe !important;
    /* blue-100 */
    border-color: #2563eb !important;
    /* blue-600 */
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.entity-header.is-selected-path {
    background-color: #eff6ff !important;
    /* blue-50 */
    border-left: 4px solid #2563eb !important;
    /* blue-600 */
}

/* Tenant Assigned State (Read-Only) */
.bg-yellow-assigned {
    background-color: #fef9c3 !important;
    /* yellow-100 */
    border-color: #eab308 !important;
    /* yellow-500 */
}

/* =========================================
   Miller Columns Selector (Object Selection)
   ========================================= */
.mc-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.mc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 500px;
    /* Fixed height for scrolling */
}

@media (max-width: 768px) {
    .mc-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 500px;
    }
}

.mc-column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
    background-color: white;
}

.mc-column:nth-child(2) {
    background-color: #fafafa;
}

.mc-column:nth-child(3) {
    background-color: #f5f5f5;
}

.mc-column:last-child {
    border-right: none;
}

.mc-header {
    padding: var(--spacing-md);
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.mc-header-icon {
    font-size: 1.1em;
}

.mc-list {
    overflow-y: auto;
    flex-grow: 1;
    padding: var(--spacing-sm);
}

/* Custom Scrollbar for list */
.mc-list::-webkit-scrollbar {
    width: 6px;
}

.mc-list::-webkit-scrollbar-track {
    background: transparent;
}

.mc-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.mc-item {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.mc-item:hover {
    background-color: white;
    border-color: var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mc-item.is-selected {
    background-color: #dbeafe;
    /* blue-100 */
    border-color: #93c5fd;
    /* blue-300 */
    color: #1e40af;
    /* blue-800 */
}

.mc-item-content {
    display: flex;
    flex-direction: column;
}

.mc-item-title {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.mc-item-subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.mc-item.is-selected .mc-item-subtitle {
    color: #1e3a8a;
    /* blue-900 */
}

.mc-item-arrow {
    color: var(--text-muted);
    font-size: 0.8em;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.mc-item:hover .mc-item-arrow {
    opacity: 0.5;
    transform: translateX(0);
}

.mc-item.is-selected .mc-item-arrow {
    opacity: 1;
    color: #2563eb;
    transform: translateX(0);
}

/* Empty State */
.mc-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: var(--spacing-lg);
    opacity: 0.7;
}

.mc-empty-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

/* Level Item Specifics */
.mc-level-item {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: var(--spacing-md);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.2s;
}

.mc-level-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    z-index: 1;
}

.mc-level-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    transition: background-color 0.2s;
}

.mc-level-item:hover:before {
    background-color: var(--primary-color);
}

/* Status Bar */
.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 56px;
    background: #333;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10000;
    font-family: sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #3a3a3a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.status-bar .sb-left,
.status-bar .sb-center,
.status-bar .sb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-bar md-text-button,
.status-bar md-filled-tonal-button,
.status-bar md-outlined-button {
    --md-filled-tonal-button-container-color: #b3261e;
    --md-filled-tonal-button-label-text-color: #fff;
    --md-text-button-label-text-color: #ccc;
    --md-outlined-button-label-text-color: #fff;
    --md-outlined-button-outline-color: #5a5a5a;
}

.status-bar md-text-button.active {
    --md-text-button-label-text-color: #8ab4ff;
}

.sb-label {
    color: #888;
    font-weight: bold;
    font-size: 0.8em;
    margin-right: 8px;
    text-transform: uppercase;
}

.sb-warn {
    color: #ffeb3b;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.sb-info {
    font-weight: bold;
    color: #fff;
}

.sb-info-admin {
    color: #8ab4ff;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 780px) {
    .status-bar .sb-center {
        display: none;
    }

    .status-bar .sb-label {
        display: none;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 16px;
    }

    .form-grid,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .action-row-right {
        width: 100%;
        justify-content: flex-start;
    }

    .object-select {
        width: 100%;
        min-width: 0;
    }

    .header-object-nav {
        min-width: 0;
        max-width: none;
        align-items: stretch;
    }

    .header-object-select {
        max-width: none;
    }

    .header-object-line {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}