.gri2-route-frame,
.gri2-route-frame * {
    box-sizing: border-box;
}

.gri2-route-frame {
    min-height: 100vh;
    background: #eef2f7;
    color: #0d1421;
    font-family: "Inter", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gri2-inline-brand {
    width: 86px;
    height: auto;
    max-height: 22px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.gri2-route-frame a {
    color: inherit;
}

.gri2-page {
    min-height: calc(100vh - 68px);
    background: #eef2f7;
    color: #0d1421;
    padding: 28px;
}

.gri2-entry {
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 16px;
    padding: 30px 34px;
    box-shadow: 0 8px 28px rgba(13, 20, 33, 0.08);
}

.gri2-entry h1,
.gri2-section-title h1,
.gri2-panel h2,
.gri2-panel h3,
.gri2-card h3 {
    letter-spacing: 0;
}

.gri2-entry h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
}

.gri2-entry p,
.gri2-section-title p {
    margin: 6px 0 0;
    color: #536179;
}

.gri2-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.gri2-entry-card {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gri2-entry-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 8px 22px rgba(20, 184, 166, 0.12);
    transform: translateY(-1px);
}

.gri2-entry-card span:first-child,
.gri2-avatar {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: linear-gradient(135deg, #12d7b0, #008df2);
    color: #082033;
    font-size: 12px;
    font-weight: 800;
}

.gri2-entry-card strong,
.gri2-entry-card small {
    display: block;
}

.gri2-entry-card small {
    color: #60708a;
}

.gri2-shell {
    min-height: calc(100vh - 68px);
    padding: 18px;
    background: #eef2f7;
}

.gri2-topbar {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e3e9f2;
    border-radius: 14px 14px 0 0;
    padding: 0 18px;
}

.gri2-logo {
    width: 120px;
    display: flex;
    align-items: center;
    flex: 0 0 120px;
}

.gri2-logo img {
    width: 86px !important;
    height: auto !important;
    max-height: 24px !important;
    display: block;
    object-fit: contain;
}

.gri2-crumbs,
.gri2-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gri2-crumbs {
    flex: 1;
    color: #6b7790;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gri2-crumbs a {
    color: #63718a;
    text-decoration: none;
}

.gri2-crumbs span:last-child {
    color: #0d1421;
    font-weight: 700;
}

.gri2-top-actions {
    margin-left: auto;
}

.gri2-top-actions small {
    color: #10b981;
    font-weight: 700;
}

.gri2-year {
    min-width: 70px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2ee;
    border-radius: 8px;
    background: #f5f8fc;
    color: #4b5d78;
    font-size: 12px;
    font-weight: 700;
}

.gri2-avatar {
    border-radius: 50%;
    color: #082033;
}

.gri2-app-body {
    min-height: calc(100vh - 112px);
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(13, 20, 33, 0.10);
}

.gri2-sidebar {
    width: 250px;
    flex: 0 0 250px;
    position: sticky;
    top: 12px;
    min-height: calc(100vh - 112px);
    max-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #2d3f5c;
    color: #bcd0ed;
    padding: 16px 14px;
    overflow: hidden;
}

.gri2-sidebar section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gri2-side-label {
    margin: 0 4px 6px;
    color: #7da4d2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gri2-side-link {
    min-height: 32px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 0;
    color: #c8daf2;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.gri2-side-link span {
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gri2-side-link:hover,
.gri2-side-link.active {
    background: rgba(20, 184, 166, 0.22);
    color: #ffffff;
}

.gri2-side-link.active {
    border-left: 3px solid #06e0ba;
    padding-left: 7px;
}

.gri2-side-link.muted {
    color: #a8bad4;
}

.gri2-side-link.disabled {
    cursor: default;
    opacity: 0.62;
}

.gri2-side-link.disabled:hover {
    background: transparent;
    color: #a8bad4;
}

.gri2-side-link b {
    min-width: 22px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.7);
    color: #ffffff;
    font-size: 10px;
    text-align: center;
}

.gri2-standard-scroll {
    max-height: 184px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    padding-right: 3px;
}

.gri2-standard-scroll::-webkit-scrollbar {
    width: 6px;
}

.gri2-standard-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.gri2-side-skeleton {
    height: 32px;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.18), rgba(255,255,255,.08));
    background-size: 220% 100%;
    animation: gri2-shimmer 1.2s linear infinite;
}

.gri2-side-skeleton.short {
    width: 78%;
}

.gri2-side-user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gri2-side-user strong,
.gri2-side-user small {
    display: block;
}

.gri2-side-user strong {
    color: #ffffff;
    font-size: 13px;
}

.gri2-side-user small {
    color: #95acd0;
    font-size: 11px;
}

.gri2-main {
    min-width: 0;
    flex: 1;
    min-height: calc(100vh - 112px);
    background: #f8fafc;
    overflow: auto;
}

.gri2-content {
    padding: 24px;
}

.gri2-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.gri2-section-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.gri2-tabs,
.gri2-toolbar,
.gri2-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gri2-tabs {
    min-height: 44px;
    padding: 0 18px;
    background: #ffffff;
    border-bottom: 1px solid #dfe7f1;
}

.gri2-tabs button {
    height: 44px;
    padding: 0 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #73819b;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.gri2-tabs button span {
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #edf4ff;
    color: #59708f;
    font-size: 11px;
    font-weight: 800;
}

.gri2-tabs button.active {
    border-bottom-color: #008df2;
    color: #0074df;
}

.gri2-toolbar {
    margin-bottom: 12px;
}

.gri2-toolbar .mud-input-control {
    margin: 0;
}

.gri2-panel,
.gri2-card {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
}

.gri2-panel-pad,
.gri2-card {
    padding: 16px;
}

.gri2-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 13px;
}

.gri2-table th {
    height: 36px;
    padding: 0 12px;
    background: #f4f7fa;
    color: #8896ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
}

.gri2-table td {
    min-height: 42px;
    padding: 10px 12px;
    border-top: 1px solid #e5ecf4;
    vertical-align: middle;
}

.gri2-table tr:hover td,
.gri2-row-active td {
    background: #f0fbf8;
}

.gri2-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 3px 8px;
    border-radius: 5px;
    background: #d9fbec;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
}

.gri2-status,
.gri2-review-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.gri2-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.gri2-status.approved {
    background: #ddfbef;
    color: #00a66a;
}

.gri2-status.draft {
    background: #e5f2ff;
    color: #0079ef;
}

.gri2-status.not-started {
    background: #edf1f5;
    color: #6a778f;
}

.gri2-review-state {
    margin-left: 6px;
    background: #fff6da;
    color: #d97706;
}

.gri2-progress {
    width: 100%;
    height: 8px;
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: #e3e9f0;
}

.gri2-progress span.approved {
    background: #07c98d;
}

.gri2-progress span.draft {
    background: #008df2;
}

.gri2-progress span.not-started {
    background: #dce3ec;
}

.gri2-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gri2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gri2-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
}

.gri2-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gri2-metric strong {
    font-size: 28px;
    line-height: 1;
}

.gri2-metric span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.gri2-form-header,
.gri2-review-banner,
.gri2-report-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 16px 24px;
    background: #fff8df;
    border-bottom: 1px solid #f3d47b;
}

.gri2-report-banner .gri2-report-action,
.gri2-report-banner .gri2-report-action:disabled {
    color: #ffffff !important;
}

.gri2-report-banner .gri2-report-action:disabled {
    opacity: 0.72;
}

.gri2-report-banner {
    margin-bottom: 14px;
    border: 0;
    border-radius: 8px;
    background: #0d1a2a;
    color: #ffffff;
}

.gri2-form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gri2-field-card {
    padding: 14px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #ffffff;
}

.gri2-field-card.highlight {
    border-color: #9ff0d5;
    background: #fbfffd;
}

.gri2-evidence-list,
.gri2-comments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gri2-evidence-list button {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #dfe7f1;
    border-radius: 7px;
    background: #f8fafc;
    color: #1f2a3d;
    font: inherit;
    cursor: pointer;
}

.gri2-comments article {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
}

.gri2-comments article > div {
    padding: 10px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #ffffff;
}

.gri2-comments header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #63718a;
    font-size: 11px;
}

.gri2-comments p {
    margin: 6px 0 0;
    color: #44546d;
    font-size: 13px;
}

.gri2-comment-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gri2-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.gri2-stepper span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a98ad;
    font-size: 12px;
}

.gri2-stepper b {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7edf5;
    color: #8190a8;
}

.gri2-stepper .active {
    color: #0074df;
}

.gri2-stepper .active b,
.gri2-stepper .done b {
    background: #008df2;
    color: #ffffff;
}

.gri2-upload {
    border: 1px dashed #cdd7e6;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
    text-align: center;
}

.gri2-question-set-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 14px;
    align-items: center;
}

.gri2-question-set-tools > div:first-child {
    min-width: 0;
}

.gri2-question-set-actions,
.gri2-question-set-upload {
    flex-wrap: wrap;
}

.gri2-question-set-upload {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: left;
}

.gri2-question-set-upload span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #60708a;
    font-size: 13px;
}

.gri2-table-footer {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid #e5ecf4;
    color: #60708a;
    font-size: 13px;
}

.gri2-skeleton-table {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.gri2-skeleton-table div {
    height: 42px;
    border-radius: 7px;
    background: linear-gradient(90deg, #eef3f8, #f8fafc, #eef3f8);
    background-size: 220% 100%;
    animation: gri2-shimmer 1.2s linear infinite;
}

.gri2-target {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff6da;
    color: #d97706;
    font-size: 12px;
    font-weight: 800;
}

.gri2-readiness-grid {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 180px;
    gap: 22px;
    align-items: center;
}

.gri2-gauge {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#07c98d var(--gri2-readiness), #e3e9f0 0);
}

.gri2-gauge > div {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: #ffffff;
}

.gri2-gauge strong {
    font-size: 22px;
    line-height: 1;
}

.gri2-gauge span,
.gri2-readiness-counts span,
.gri2-readiness-counts small,
.gri2-yoy small {
    color: #718098;
    font-size: 11px;
}

.gri2-readiness-counts {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 16px;
    align-items: center;
}

.gri2-readiness-counts .gri2-progress {
    grid-column: 1 / -1;
}

.gri2-readiness-counts strong {
    margin-left: 4px;
    color: #008df2;
    font-size: 22px;
}

.gri2-yoy {
    display: grid;
    justify-items: center;
    gap: 6px;
}

.gri2-yoy strong {
    font-size: 12px;
}

.gri2-yoy-bars {
    height: 70px;
    display: flex;
    align-items: flex-end;
    gap: 28px;
}

.gri2-yoy-bars span {
    width: 28px;
    min-height: 8px;
    border-radius: 4px;
    background: #dce3ec;
}

.gri2-yoy-bars .current {
    background: #00b8c4;
}

.gri2-yoy-labels {
    display: flex;
    gap: 18px;
    text-align: center;
}

.gri2-yoy em {
    padding: 3px 8px;
    border-radius: 999px;
    background: #ddfbef;
    color: #00a66a;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

@keyframes gri2-shimmer {
    to {
        background-position: -220% 0;
    }
}

.gri-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gri-field-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.gri-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0d1421;
    font-weight: 800;
}

.gri-field-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 3px 8px;
    border-radius: 5px;
    background: #d9fbec;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
}

.gri-required {
    color: #ef4444;
    font-weight: 900;
}

.gri-guidance {
    padding: 10px 12px;
    border-radius: 7px;
    background: #f6f8fb;
    color: #536179;
    font-size: 13px;
    line-height: 1.5;
}

.gri-example {
    padding: 10px 12px;
    border-left: 3px solid #38bdf8;
    border-radius: 6px;
    background: #eff9ff;
    color: #42627d;
    font-size: 13px;
}

.gri-table-editor {
    overflow-x: auto;
}

.gri-table-editor table {
    width: 100%;
    border-collapse: collapse;
}

.gri-table-editor th,
.gri-table-editor td {
    padding: 8px;
    border: 1px solid #dfe7f1;
}

.gri-table-editor th {
    background: #f4f7fa;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.gri-table-empty {
    color: #8a98ad;
    text-align: center;
}

.gri-file-field,
.gri-file-upload-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gri-omission-row {
    display: grid;
    grid-template-columns: 150px minmax(180px, 240px) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #ffe2a7;
    border-radius: 8px;
    background: #fff8e7;
}

.gri-field.readonly {
    pointer-events: none;
}

@media (max-width: 980px) {
    .gri2-entry-grid,
    .gri2-grid-2,
    .gri2-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .gri2-shell,
    .gri2-page {
        padding: 12px;
    }

    .gri2-app-body,
    .gri2-topbar,
    .gri2-section-title,
    .gri2-form-header,
    .gri2-review-banner,
    .gri2-report-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .gri2-sidebar {
        position: static;
        min-height: 0;
        max-height: none;
        width: 100%;
        flex-basis: auto;
    }

    .gri2-main {
        min-height: 0;
    }

    .gri2-question-set-tools {
        grid-template-columns: 1fr;
    }

    .gri2-question-set-upload {
        justify-content: flex-start;
    }

    .gri2-standard-scroll {
        max-height: 220px;
    }

    .gri2-readiness-grid {
        grid-template-columns: 1fr;
    }

    .gri2-content {
        padding: 14px;
    }

    .gri2-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gri2-table {
        min-width: 760px;
    }

    .gri2-panel {
        overflow-x: auto;
    }

    .gri-omission-row {
        grid-template-columns: 1fr;
    }
}
