.ithc-dashboard,
.ithc-panel,
.ithc-form,
.ithc-balance,
.ithc-wallet,
.ithc-plan-grid {
    color: #1d2a2f;
    font-family: inherit;
}

.ithc-dashboard h2,
.ithc-panel h3,
.ithc-form h3 {
    margin: 0 0 16px;
    line-height: 1.2;
}

.ithc-muted,
.ithc-panel small,
.ithc-plan-card small {
    color: #66777d;
}

.ithc-card-grid,
.ithc-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.ithc-card,
.ithc-panel,
.ithc-balance,
.ithc-wallet-item,
.ithc-plan-card,
.ithc-empty {
    background: #fff;
    border: 1px solid #dfe7e6;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(16, 44, 41, 0.06);
}

.ithc-card span,
.ithc-balance span,
.ithc-admin-card span {
    display: block;
    color: #627277;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.ithc-card strong,
.ithc-balance strong {
    display: block;
    color: #0f3d37;
    font-size: 1.45rem;
    line-height: 1.2;
}

.ithc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.ithc-nav-panel {
    margin: 22px 0 16px;
}

.ithc-nav-panel h3 {
    margin: 0 0 12px;
}

.ithc-nav-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ithc-nav-card {
    align-items: flex-start;
    background: #f7fbfa;
    border: 1px solid #dbe8e5;
    border-radius: 8px;
    color: #1d2a2f;
    display: grid;
    gap: 6px;
    min-height: 108px;
    padding: 14px;
    text-decoration: none;
}

.ithc-nav-card:hover,
.ithc-nav-card:focus,
.ithc-nav-card.is-active,
.ithc-nav-card[aria-selected="true"] {
    background: #eef8f4;
    border-color: #9bd2bd;
    color: #102f29;
}

.ithc-nav-card:focus {
    outline: 2px solid #8fd1bb;
    outline-offset: 2px;
}

.ithc-nav-icon {
    align-items: center;
    background: #1d6b4f;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.ithc-nav-card strong {
    font-size: 1rem;
    line-height: 1.25;
}

.ithc-nav-card small {
    color: #627277;
    line-height: 1.35;
}

.ithc-hub-sections {
    display: grid;
    margin-top: 16px;
}

.ithc-hub-section {
    background: #fff;
    border: 1px solid #dfe7e6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 44, 41, 0.06);
    padding: 18px;
    scroll-margin-top: 110px;
}

.ithc-tabs-ready .ithc-hub-section[hidden] {
    display: none;
}

.ithc-hub-section > h3 {
    margin: 0 0 14px;
}

.ithc-hub-section .ithc-panel,
.ithc-hub-section .ithc-form,
.ithc-hub-section .ithc-balance,
.ithc-hub-section .ithc-wallet-item {
    box-shadow: none;
}

.ithc-button {
    appearance: none;
    background: #1d6b4f;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    text-decoration: none;
}

.ithc-button:hover,
.ithc-button:focus {
    background: #14513c;
    color: #fff;
    outline: 2px solid #8fd1bb;
    outline-offset: 2px;
}

.ithc-button-emergency {
    background: #9f2f22;
}

.ithc-button-emergency:hover,
.ithc-button-emergency:focus {
    background: #782219;
}

.ithc-form {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.ithc-form label {
    display: grid;
    gap: 6px;
}

.ithc-form input,
.ithc-form select,
.ithc-form textarea {
    border: 1px solid #cbd8d6;
    border-radius: 6px;
    max-width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.ithc-form textarea {
    min-height: 120px;
}

.ithc-check {
    align-items: start;
    display: flex !important;
    gap: 8px !important;
}

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

.ithc-warning {
    background: #fff6e5;
    border: 1px solid #efc878;
    border-radius: 8px;
    color: #553800;
    padding: 12px 14px;
}

.ithc-badge {
    background: #e9f5ef;
    border-radius: 999px;
    color: #1d6b4f;
    display: inline-block;
    font-size: 0.82rem;
    margin-bottom: 10px;
    padding: 4px 10px;
}

.ithc-table {
    border-collapse: collapse;
    width: 100%;
}

.ithc-table th,
.ithc-table td {
    border-bottom: 1px solid #e3ebe9;
    padding: 10px;
    text-align: left;
}

.ithc-hp {
    display: none !important;
}

@media (max-width: 640px) {
    .ithc-card-grid,
    .ithc-plan-grid {
        grid-template-columns: 1fr;
    }

    .ithc-actions,
    .ithc-button {
        width: 100%;
    }

    .ithc-table {
        display: block;
        overflow-x: auto;
    }
}
