.framework-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 36px 56px;
}

.framework-page-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 28px;
}

.framework-page-heading h1 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 750;
}

.framework-page-heading p {
    max-width: 620px;
    margin: 0;
    color: #657276;
}

.framework-card {
    min-width: 0;
    border: 1px solid #dce5e2;
    border-radius: 6px;
    background: #fff;
}

.framework-card-header,
.framework-card-content,
.framework-card-footer {
    padding: 18px;
}

.framework-card-header { padding-bottom: 0; }
.framework-card-footer { padding-top: 0; }

.framework-button,
.framework-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #cbd7d3;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.framework-button:disabled { cursor: wait; opacity: .65; }
.framework-button-primary, .framework-link-primary { border-color: #197b67; background: #197b67; color: #fff; }
.framework-button-primary:hover, .framework-link-primary:hover { background: #105c4d; }
.framework-button-secondary, .framework-link-secondary { background: #fff; color: #1d2528; }
.framework-button-danger, .framework-link-danger { border-color: #a62b25; background: #a62b25; color: #fff; }
.framework-button-text, .framework-link-text { border-color: transparent; background: transparent; color: #105c4d; padding-inline: 0; }

.framework-empty-state {
    display: grid;
    justify-items: start;
    gap: 16px;
    padding: 24px;
    border: 1px solid #dce5e2;
    border-radius: 6px;
    background: #fff;
}

.framework-empty-state h2 { margin: 0; font-family: 'Manrope', sans-serif; font-size: 18px; }
.framework-empty-state p { margin: 0; color: #657276; font-size: 13px; }
.framework-empty-action { margin-top: 4px; }
.framework-button-row { display: flex; flex-wrap: wrap; gap: 10px; }

.framework-notice {
    padding: 11px 14px;
    border: 1px solid #dce5e2;
    border-radius: 5px;
    background: #f6f8f7;
    color: #394448;
}

.framework-notice-error { border-color: #e5b7b4; background: #fff6f5; color: #8f211c; }
.framework-notice-success { border-color: #b5d7ca; background: #f0f8f4; color: #105c4d; }
.framework-notice-warning { border-color: #ead8a6; background: #fffaf0; color: #725a18; }
.framework-loading { padding: 18px 0; color: #657276; }

.framework-data-table-wrap { overflow-x: auto; border: 1px solid #dce5e2; border-radius: 6px; background: #fff; }
.framework-data-table { width: 100%; border-collapse: collapse; text-align: left; }

.framework-data-table th,
.framework-data-table td { padding: 13px 16px; border-bottom: 1px solid #e7ecea; font-size: 13px; white-space: nowrap; }

.framework-data-table th { color: #657276; font-size: 11px; font-weight: 700; }
.framework-data-table tbody tr:last-child td { border-bottom: 0; }

.framework-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(16, 37, 32, 0.45);
    backdrop-filter: blur(3px);
    animation: framework-fade-in 0.15s ease-out;
}

.framework-modal-dialog {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(29, 37, 40, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: framework-slide-down 0.15s ease-out;
}

.framework-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid #e7ecea;
}

.framework-modal-header h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 750;
    color: #1d2528;
}

.framework-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #657276;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.12s ease, color 0.12s ease;
}

.framework-modal-close:hover {
    background: #f0f4f3;
    color: #1d2528;
}

.framework-modal-body {
    padding: 20px 24px 24px;
}

@keyframes framework-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes framework-slide-down {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
    .framework-page { padding: 28px 20px 40px; }
    .framework-page-heading h1 { font-size: 27px; }
}