/* dashboards enhancement - proportional bento layout */
.dashboard-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

#page-dashboard .section-head {
    margin-bottom: 1.5rem;
}

/* school identity (rouse high school crest beside the greeting) */
.dashboard-school-id {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.dashboard-school-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dashboard-school-logo {
        width: 42px;
        height: 42px;
    }

    .dashboard-school-id {
        gap: 0.6rem;
    }
}

#page-dashboard .content-wrapper {
    max-width: 70%;
    margin: 0 auto;
}

@media (max-width: 1366px) {
    #page-dashboard .content-wrapper {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    #page-dashboard .content-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

#page-dashboard .section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

/* 1. stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: #ffffff;
    border: none;
    padding: 1.5rem;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: var(--shadow-medium);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--muted-text);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
    line-height: 1;
}

/* 2. bento grid */
.dashboard-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content;
    gap: 1rem;
}

.bento-card {
    background: #ffffff;
    border: none;
    padding: 1.5rem;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.card-large-span {
    grid-column: span 2;
}

.card-mid-span {
    grid-column: span 3;
}

.card-small-span {
    grid-column: span 1;
}

.card-full-span {
    grid-column: span 4;
}

#page-admin .stats-row {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1366px) {
    #page-admin .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #page-admin .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.admin-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-title-group h2 {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.admin-title-group .label-tech {
    padding-left: 0;
    margin-bottom: 0;
    display: block;
}

.admin-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.admin-actions {
    margin-bottom: 0.25rem;
}

.card-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-color);
    text-transform: capitalize;
}

.head-count {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    background: #f4f5f7;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

/* action card - specially styled */
button.action-card {
    background: #ffffff;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    text-align: left;
    border: 2px dashed var(--border-color);
    border-radius: 32px;
    min-height: 220px;
    width: 100%;
    box-shadow: none;
}

.action-card:hover {
    transform: translateY(-5px) scale(1.015);
    background: #f8fafc;
    border-color: var(--text-color);
}

.action-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

.action-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.action-icon {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: auto;
    background: #f1f5f9;
    color: var(--text-color);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.action-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: var(--text-color) !important;
}

/* buttons in dashboard inherit from components.css */

/* rest of list/view items remain from previous editorial style */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list-item {
    background: #f8fafc;
    border: none;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.list-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.list-item strong {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.list-item .item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item .ref-code {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--muted-text);
    letter-spacing: 0.1em;
}

.list-item .status-badge {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    padding: 0.35rem 0.8rem;
    border: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    background: #e2e8f0;
}

.status-badge.approved {
    color: #00cc66;
    border-color: rgba(0, 204, 102, 0.3);
    background: rgba(0, 204, 102, 0.02);
}

.status-badge.pending {
    color: var(--accent-color);
    border-color: rgba(0, 106, 255, 0.3);
    background: rgba(0, 106, 255, 0.02);
}

.admin-actions-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

/* multi-action rows (claims, pending reports): info on top, buttons below
   so the action group never crowds the title text */
.list-item.clickable {
    flex-direction: column;
    align-items: stretch;
}
.list-item.clickable .admin-actions-inline {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.list-item.clickable .admin-actions-inline .btn {
    flex: 0 1 auto;
    white-space: nowrap;
}

/* on phones let the buttons grow and wrap evenly */
@media (max-width: 640px) {
    .list-item.clickable .admin-actions-inline {
        justify-content: stretch;
    }
    .list-item.clickable .admin-actions-inline .btn {
        flex: 1 1 auto;
        min-width: 96px;
    }
}

/* audit log styles */
.audit-log-container {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
}

.audit-header {
    display: grid;
    grid-template-columns: 140px 1.2fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.025);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted-text);
    text-transform: uppercase;
}

.audit-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    display: block;
}

.audit-entry {
    display: grid;
    grid-template-columns: 140px 1.2fr 1fr 1fr;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 0.75rem;
    align-items: center;
    transition: background 0.2s ease;
}

.audit-entry:hover {
    background: rgba(0, 106, 255, 0.02);
}

.audit-entry:last-child {
    border-bottom: none;
}

.audit-time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted-text);
}

.audit-user {
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audit-action {
    display: inline-flex;
}

.audit-action-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.action-login {
    background: rgba(0, 204, 102, 0.1);
    color: #00cc66;
}

.action-register {
    background: rgba(0, 106, 255, 0.1);
    color: var(--accent-color);
}

.action-create {
    background: rgba(255, 165, 0, 0.1);
    color: #ff8c00;
}

.action-update {
    background: rgba(128, 128, 128, 0.1);
    color: #555;
}

.action-delete {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.audit-resource {
    color: var(--muted-text);
    font-style: italic;
    font-size: 0.7rem;
}

.loading-text {
    padding: 2rem;
    text-align: center;
    color: var(--muted-text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* admin detail modal styles */
.list-item.clickable {
    cursor: pointer;
}

.admin-detail-view {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    padding-top: 1rem;
}

.admin-detail-main h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--muted-text);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.admin-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.no-photo-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-color);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .admin-detail-view {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* pastel utility backgrounds for stats cards */
.bg-pastel-blue {
    background: #e0f2fe;
}

.bg-pastel-green {
    background: #dcfce7;
}

.bg-pastel-orange {
    background: #ffedd5;
}

.bg-pastel-yellow {
    background: #fef9c3;
}

/* premium claim status tracker & stepper */

.claim-container-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible; /* need overflow visible for tooltips and dropdowns */
}

.claim-container-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.claim-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    margin-bottom: 1.5rem;
    width: 100%;
}

.claim-card-header .title-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.claim-card-header h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-deep);
    margin: 0;
    line-height: 1.25;
}

.claim-card-header .ref-code {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    opacity: 0.8;
}

.claim-card-header .toggle-arrow {
    background: rgba(29, 78, 216, 0.06);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
    cursor: pointer;
}

.claim-card-header:hover .toggle-arrow {
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-deep);
}

.claim-container-card.expanded .toggle-arrow {
    transform: rotate(180deg);
}

/* horizontal timeline stepper */
.claim-stepper-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 0.5rem 0;
    padding: 0 8% 1.5rem 8%;
}

.claim-stepper-track {
    position: absolute;
    top: 16px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #cbd5e1; /* uncompleted gray line */
    z-index: 1;
}

.claim-stepper-progress {
    position: absolute;
    top: 16px;
    left: 8%;
    height: 2px;
    background: var(--accent-color);
    z-index: 1;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.claim-stepper-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.claim-stepper-step .step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    color: var(--accent-color);
    cursor: pointer;
}

.claim-stepper-step .step-label {
    margin-top: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    transition: color 0.3s ease;
    text-align: center;
    position: absolute;
    top: 32px;
    width: 60px;
}

/* completed step */
.claim-stepper-step.completed .step-dot {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.claim-stepper-step.completed .step-dot svg {
    display: block;
}

.claim-stepper-step.completed .step-label {
    color: var(--accent-color);
    font-weight: 700;
}

/* active current step */
.claim-stepper-step.active .step-dot {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
}

.claim-stepper-step.active .step-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
}

.claim-stepper-step.active .step-label {
    color: var(--accent-color);
    font-weight: 800;
}

/* svg icons hidden by default */
.claim-stepper-step .step-dot svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: none;
}

/* tooltip / description speech bubble */
.step-tooltip {
    position: absolute;
    bottom: 48px;
    background: #1e293b;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    width: 190px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    line-height: 1.35;
}

.step-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
}

.claim-stepper-step:hover .step-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* expanded section panel */
.claim-details-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    border-top: 1px dashed rgba(29, 78, 216, 0.2);
    margin-top: 0.5rem;
    padding-top: 0;
}

.claim-container-card.expanded .claim-details-expanded {
    max-height: 900px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1.25rem;
}

.expanded-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

@media (max-width: 640px) {
    .expanded-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.details-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.details-block h5 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--accent-deep);
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

.details-block p {
    font-size: 0.8rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

/* proof image thumbnail */
.proof-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-height: 180px;
    cursor: zoom-in;
    margin-top: 0.25rem;
}

.proof-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proof-img-container:hover img {
    transform: scale(1.05);
}

/* claims timeline logs */
.claim-activity-logs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
}

.log-entry {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.72rem;
    line-height: 1.35;
}

.log-entry .log-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.log-entry .log-text {
    flex-grow: 1;
    color: var(--text-color);
}

.log-entry .log-time {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent-color);
    opacity: 0.7;
    white-space: nowrap;
}

/* actions in card */
.claim-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.btn-claim-action {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-claim-action.withdraw {
    background: transparent;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.btn-claim-action.withdraw:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.btn-claim-action.message {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: #ffffff;
}

.btn-claim-action.message:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

/* prompts the claimant to resubmit proof after an admin requests details */
.btn-claim-action.provide {
    background: #f59e0b;
    border: 1px solid #f59e0b;
    color: #ffffff;
}

.btn-claim-action.provide:hover {
    background: #d97706;
    border-color: #d97706;
}

/* demo status simulator badge */
.claim-simulation-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    background: rgba(29, 78, 216, 0.08);
    color: var(--accent-color);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: none;
    font-weight: 700;
}

.claim-simulation-badge:hover {
    opacity: 1;
    background-color: rgba(29, 78, 216, 0.15);
}

.claim-simulation-badge svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* simulator dropdown menu */
.claim-simulation-menu {
    position: absolute;
    top: 2rem;
    right: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.05);
    z-index: 1000;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 140px;
}

.claim-simulation-menu.hidden {
    display: none !important;
}

.claim-simulation-menu button {
    background: transparent;
    border: none;
    padding: 0.4rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text-color);
    width: 100%;
    transition: all 0.15s ease;
    font-weight: 600;
}

.claim-simulation-menu button:hover {
    background: rgba(29, 78, 216, 0.06);
    color: var(--accent-color);
}

/* segmented dashboard tabs (mobile & tablet) */

.dashboard-tabs-nav {
    display: none;
}

@media (max-width: 1366px) {
    .dashboard-tabs-nav {
        display: flex;
        gap: 4px;
        background: rgba(15, 23, 42, 0.04);
        border-radius: 999px;
        padding: 4px;
        margin: 0.5rem 0 1.5rem;
        box-sizing: border-box;
        width: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(15, 23, 42, 0.05);
    }
    
    .tab-nav-item {
        flex: 1;
        border: none;
        background: transparent;
        padding: 0.6rem 0.8rem;
        font-family: var(--font-mono);
        font-size: 0.75rem;
        font-weight: 700;
        border-radius: 999px;
        color: var(--ink-3);
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        text-transform: uppercase;
        text-align: center;
        outline: none;
        white-space: nowrap;
    }
    
    .tab-nav-item.active {
        background: #ffffff;
        color: var(--accent-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    /* hide bento cards on tablet/mobile if they are not selected */
    .bento-card.tab-hidden,
    button.bento-card.tab-hidden {
        display: none !important;
    }
}
/*  drop box sensor status (esp32 + vl53l0x)  */
.box-status-card {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0.6rem;
    background: rgba(0, 0, 0, 0.02);
}
.box-status-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}
.box-status-pct {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.box-status-bar-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.box-status-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}
.box-status-meta {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.65;
}
.box-status-card.box-mid  .box-status-bar-fill { background: #f5a623; }
.box-status-card.box-full .box-status-bar-fill { background: #e0433d; }
.box-status-card.box-full .box-status-pct      { color: #e0433d; }
