.efp-shell {
    --efp-border: #d8dee7;
    --efp-text: #172033;
    --efp-muted: #667085;
    --efp-bg: #f6f8fb;
    color: var(--efp-text);
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    margin: 24px auto;
    max-width: 1180px;
}

.efp-page-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.efp-page-head h2 {
    font-size: 26px;
    margin: 4px 0 0;
}

.efp-kicker {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.efp-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.efp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.efp-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.efp-two-col {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.efp-panel,
.efp-card,
.efp-notice {
    background: #fff;
    border: 1px solid var(--efp-border);
    border-radius: 8px;
    padding: 18px;
}

.efp-card span {
    color: var(--efp-muted);
    display: block;
    font-size: 13px;
}

.efp-card strong {
    display: block;
    font-size: 30px;
    margin-top: 8px;
}

.efp-form {
    display: grid;
    gap: 12px;
}

.efp-form label {
    color: var(--efp-muted);
    display: grid;
    font-size: 13px;
    gap: 6px;
}

.efp-form input,
.efp-form select,
.efp-form textarea {
    border: 1px solid var(--efp-border);
    border-radius: 6px;
    color: var(--efp-text);
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.efp-form button {
    background: #0f766e;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 11px 14px;
}

.efp-service-shell {
    margin-top: 10px;
}

.efp-service-form {
    background: #fff;
    border: 1px solid var(--efp-border);
    border-radius: 8px;
    padding: 18px;
}

.efp-checkbox {
    align-items: flex-start;
    display: flex !important;
    flex-direction: row;
    gap: 10px;
}

.efp-checkbox input {
    margin-top: 6px;
    width: auto;
}

.efp-result {
    color: var(--efp-text);
    margin-top: 12px;
    white-space: pre-wrap;
}

.efp-definition-list {
    display: grid;
    gap: 8px;
    grid-template-columns: 180px 1fr;
}

.efp-definition-list dt {
    color: var(--efp-muted);
}

.efp-definition-list dd {
    margin: 0;
}

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

.efp-table th,
.efp-table td {
    border-bottom: 1px solid var(--efp-border);
    padding: 10px;
    text-align: right;
}

.efp-row-list {
    display: grid;
    gap: 8px;
}

.efp-row-list div {
    align-items: center;
    border-bottom: 1px solid var(--efp-border);
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.efp-commerce-shell,
.efp-account-shell {
    max-width: 1180px;
}

.efp-commerce-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0;
}

.efp-plan-card {
    background: #fff;
    border: 1px solid var(--efp-border);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.efp-plan-card span {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}

.efp-plan-card h3 {
    font-size: 22px;
    margin: 0;
}

.efp-plan-card strong {
    color: #172033;
    font-size: 24px;
}

.efp-plan-card ul,
.efp-payment-flow ol {
    margin: 0;
    padding-inline-start: 22px;
}

.efp-plan-card li,
.efp-payment-flow li {
    margin-bottom: 6px;
}

.efp-plan-card button,
.efp-button-link {
    background: #0f766e;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    padding: 11px 14px;
    text-decoration: none;
    width: 100%;
}

.efp-subscription-status strong {
    color: #0f766e;
}

.efp-action-list {
    display: grid;
    gap: 8px;
}

.efp-action-list a {
    background: #f6f8fb;
    border: 1px solid var(--efp-border);
    border-radius: 6px;
    color: var(--efp-text);
    font-weight: 700;
    padding: 10px 12px;
    text-decoration: none;
}

.efp-saved-forms {
    margin-top: 16px;
    overflow-x: auto;
}

@media (max-width: 820px) {
    .efp-grid-3,
    .efp-grid-4,
    .efp-two-col,
    .efp-commerce-grid {
        grid-template-columns: 1fr;
    }

    .efp-definition-list {
        grid-template-columns: 1fr;
    }
}
