:root {
    --nirc-primary: #4F2683;
    --nirc-primary-dark: #35165F;
    --nirc-primary-light: #7650A5;
    --nirc-secondary: #F5C542;
    --nirc-secondary-light: #FFE9A6;
    --nirc-background: #F7F6FA;
    --nirc-text: #292536;
    --nirc-muted: #777486;
    --nirc-border: #E8E5EF;
    --nirc-radius: 16px;
    --nirc-shadow: 0 8px 30px rgba(45, 25, 75, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Leelawadee UI", "Tahoma", sans-serif;
    background-color: var(--nirc-background);
    color: var(--nirc-text);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--nirc-primary);
    text-decoration: none;
}

a:hover {
    color: var(--nirc-primary-dark);
}

.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--nirc-secondary);
}

.btn-primary {
    --bs-btn-bg: var(--nirc-primary);
    --bs-btn-border-color: var(--nirc-primary);
    --bs-btn-hover-bg: var(--nirc-primary-dark);
    --bs-btn-hover-border-color: var(--nirc-primary-dark);
    --bs-btn-active-bg: var(--nirc-primary-dark);
    --bs-btn-active-border-color: var(--nirc-primary-dark);
}

.btn-warning {
    --bs-btn-bg: var(--nirc-secondary);
    --bs-btn-border-color: var(--nirc-secondary);
    --bs-btn-hover-bg: #E6B52E;
    --bs-btn-hover-border-color: #E6B52E;
    --bs-btn-color: #35165F;
    --bs-btn-hover-color: #35165F;
}

.card {
    border: 1px solid var(--nirc-border);
    border-radius: var(--nirc-radius);
    box-shadow: var(--nirc-shadow);
}

.form-control,
.form-select {
    border-radius: 8px;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--nirc-primary-light);
    box-shadow: 0 0 0 0.2rem rgba(79, 38, 131, 0.12);
}

footer {
    color: var(--nirc-muted);
    background-color: #fff;
}

/* NIRC 10 Hero */

.nirc-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(245, 197, 66, 0.18), transparent 28%),
        linear-gradient(120deg, #35165F 0%, #4F2683 55%, #7650A5 100%);
    padding: 65px 55px;
    min-height: 440px;
    box-shadow: 0 15px 45px rgba(53, 22, 95, 0.2);
    color: #fff;
}

.nirc-hero-content {
    z-index: 1;
}

.nirc-hero-badge {
    display: inline-block;
    color: var(--nirc-secondary-light);
    border: 1px solid rgba(255, 233, 166, 0.45);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 9px 16px;
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.nirc-hero-title {
    color: #fff;
    font-size: clamp(4.5rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
}

.nirc-hero-title span {
    color: var(--nirc-secondary);
}

.nirc-hero-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.nirc-event-date {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nirc-date-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    background: var(--nirc-secondary);
    color: var(--nirc-primary-dark);
    border-radius: 15px;
    font-size: 1.7rem;
    font-weight: 900;
}

.nirc-hero-art {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nirc-orbit {
    position: absolute;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

.nirc-orbit-one {
    transform: rotateX(65deg) rotate(-25deg);
}

.nirc-orbit-two {
    width: 235px;
    height: 235px;
    transform: rotateX(65deg) rotate(35deg);
}

.nirc-hero-number {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFE9A6, #F5C542);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--nirc-primary-dark);
    transform: rotate(-8deg);
}

.nirc-hero-number span {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
}

.nirc-hero-number small {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.nirc-hero-star {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    color: var(--nirc-secondary);
}

/* Information Strip */

.nirc-info-strip {
    background: #fff;
    border: 1px solid var(--nirc-border);
    border-radius: var(--nirc-radius);
    padding: 22px;
    box-shadow: var(--nirc-shadow);
}

.nirc-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.nirc-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #F1EAF8;
    color: var(--nirc-primary);
    font-weight: 800;
}

.nirc-info-label {
    color: var(--nirc-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nirc-info-value {
    font-weight: 700;
    margin-top: 3px;
}

/* Content Sections */

.nirc-section-label {
    color: var(--nirc-primary-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nirc-feature-card {
    padding: 30px;
    border: 1px solid var(--nirc-border);
    border-radius: var(--nirc-radius);
    background: #fff;
    box-shadow: var(--nirc-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nirc-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(45, 25, 75, 0.13);
}

.nirc-feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1EAF8;
    color: var(--nirc-primary);
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 900;
}

.nirc-callout {
    background: linear-gradient(135deg, #F0EAF7, #FFF8E5);
    border: 1px solid #E8DDF3;
}

/* Login Page */

.auth-container {
    min-height: 100vh;
}

.auth-card {
    width: 100%;
}

/* Responsive */

@media (max-width: 991.98px) {
    .nirc-hero {
        padding: 45px 35px;
    }
}

@media (max-width: 767.98px) {
    .nirc-hero {
        padding: 38px 25px;
        min-height: auto;
    }

    .nirc-hero-title {
        font-size: 5rem;
    }

    .nirc-hero-badge {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .nirc-info-item {
        padding: 8px 0;
    }

    .nirc-feature-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    main.container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nirc-hero {
        padding: 32px 20px;
        border-radius: 14px !important;
    }

    .nirc-hero-title {
        font-size: 4.2rem;
        letter-spacing: -2px;
    }

    .nirc-hero h2 {
        font-size: 1.35rem;
    }

    .nirc-hero .btn {
        width: 100%;
    }

    .nirc-info-strip {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   NIRC CSP Migration
   Externalized Inline Styles
   ========================================== */

body.auth-page {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #35165F 0%,
        #4F2683 55%,
        #7650A5 100%
    );
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.auth-content {
    max-width: 480px;
}

.auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.auth-brand {
    color: #fff;
    letter-spacing: 2px;
    font-weight: 700;
}

.auth-accent {
    color: #F5C542;
}

.nirc-navbar {
    background-color: #4F2683;
}

.nirc-home-description {
    max-width: 720px;
}


/* NIRC Author Dashboard — external stylesheet (CSP compatible) */
/* NIRC Author Dashboard - styles are scoped to this view */
.nirc-author-dashboard {
    --nirc-purple: #4f2683;
    --nirc-purple-dark: #35145f;
    --nirc-gold: #f5c542;
    --nirc-ink: #211638;
    --nirc-muted: #687386;
    color: var(--nirc-ink);
}
.nirc-author-dashboard .author-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    color: #fff;
    background: radial-gradient(circle at 88% 12%, rgba(245,197,66,.28), transparent 25%),
                linear-gradient(125deg, var(--nirc-purple-dark), #5b2b91 58%, #7950a5);
    box-shadow: 0 16px 36px rgba(61, 30, 96, .20);
}
.nirc-author-dashboard .author-hero:after {
    content: "NIRC 10";
    position: absolute;
    right: 2rem;
    bottom: -1.5rem;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.07);
    pointer-events: none;
}
.nirc-author-dashboard .hero-eyebrow {
    color: #ffe28a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.nirc-author-dashboard .hero-title {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 850;
    letter-spacing: -.035em;
}
.nirc-author-dashboard .hero-subtitle {
    color: rgba(255,255,255,.82);
    font-size: .98rem;
}
.nirc-author-dashboard .hero-action {
    position: relative;
    z-index: 1;
    color: #291447;
    background: var(--nirc-gold);
    border: 1px solid var(--nirc-gold);
    border-radius: 11px;
    font-weight: 800;
    padding: .78rem 1.15rem;
    box-shadow: 0 7px 16px rgba(22, 10, 40, .16);
}
.nirc-author-dashboard .hero-action:hover {
    color: #291447;
    background: #ffda62;
    border-color: #ffda62;
    transform: translateY(-1px);
}
.nirc-author-dashboard .summary-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #ece8f3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(43, 28, 66, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.nirc-author-dashboard .summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 27px rgba(43, 28, 66, .11);
}
.nirc-author-dashboard .summary-card:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--tone);
}
.nirc-author-dashboard .summary-card .card-body { padding: 1.25rem 1.3rem; }
.nirc-author-dashboard .summary-label {
    color: #596579;
    font-size: .88rem;
    font-weight: 700;
}
.nirc-author-dashboard .summary-value {
    color: #211638;
    font-size: 2.35rem;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.04em;
}
.nirc-author-dashboard .summary-description {
    color: #7b8493;
    font-size: .78rem;
}
.nirc-author-dashboard .summary-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--tone);
    background: var(--tone-bg);
    font-size: 1.35rem;
}
.nirc-author-dashboard .tone-purple { --tone:#5a2b91; --tone-bg:#f0e8fa; }
.nirc-author-dashboard .tone-green { --tone:#16845b; --tone-bg:#e4f5ed; }
.nirc-author-dashboard .tone-blue { --tone:#0878bd; --tone-bg:#e4f3fc; }
.nirc-author-dashboard .tone-gold { --tone:#a87500; --tone-bg:#fff4d2; }
.nirc-author-dashboard .section-card {
    overflow: hidden;
    border: 1px solid #e9e5ef;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 23px rgba(43, 28, 66, .055);
}
.nirc-author-dashboard .section-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.1rem 1.3rem;
    color: #fff;
    background: linear-gradient(100deg, #43206f, #5b2d8d);
}
.nirc-author-dashboard .section-heading .heading-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    color: #3b1b65;
    background: var(--nirc-gold);
    font-size: 1.05rem;
}
.nirc-author-dashboard .section-heading h3 {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
}
.nirc-author-dashboard .section-heading p {
    margin: .16rem 0 0;
    color: rgba(255,255,255,.74);
    font-size: .77rem;
}
.nirc-author-dashboard .section-count {
    margin-left: auto;
    white-space: nowrap;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: #321b4d;
    background: #ffe18a;
    font-size: .76rem;
    font-weight: 800;
}
.nirc-author-dashboard .status-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .7rem;
    padding: 1.1rem;
}
.nirc-author-dashboard .status-item {
    min-width: 0;
    padding: .9rem .85rem;
    border: 1px solid #eeeaf3;
    border-radius: 13px;
    background: #fcfbfe;
}
.nirc-author-dashboard .status-top {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 38px;
}
.nirc-author-dashboard .status-code {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 25px;
    padding: 0 .35rem;
    border-radius: 7px;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
}
.nirc-author-dashboard .status-name {
    color: #4d586a;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}
.nirc-author-dashboard .status-number {
    margin-top: .45rem;
    color: #24183a;
    font-size: 1.65rem;
    font-weight: 900;
}
.nirc-author-dashboard .action-alert {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border: 1px solid #f0d68a;
    border-left: 5px solid #e5ad18;
    border-radius: 14px;
    color: #654900;
    background: linear-gradient(100deg, #fff7df, #fffdf5);
}
.nirc-author-dashboard .action-alert .alert-icon {
    font-size: 1.35rem;
    color: #bd8700;
}
.nirc-author-dashboard .action-alert strong { color: #533900; }
.nirc-author-dashboard .action-alert p { margin: .2rem 0 0; font-size: .84rem; }
.nirc-author-dashboard .table-responsive { border-radius: 0 0 17px 17px; }
.nirc-author-dashboard .table { margin: 0; }
.nirc-author-dashboard .table thead th {
    padding: .9rem .85rem;
    color: #fff;
    background: #35204f;
    border: 0;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}
.nirc-author-dashboard .table tbody td {
    padding: .9rem .85rem;
    color: #354052;
    border-color: #eeeaf3;
    font-size: .86rem;
    vertical-align: middle;
}
.nirc-author-dashboard .table tbody tr:hover { background: #faf7ff; }
.nirc-author-dashboard .record-id {
    color: #4f2683;
    font-weight: 900;
    letter-spacing: .02em;
}
.nirc-author-dashboard .record-title {
    color: #251a39;
    font-weight: 700;
}
.nirc-author-dashboard .status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .65rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}
.nirc-author-dashboard .detail-btn {
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 700;
}
.nirc-author-dashboard .empty-state {
    padding: 2.2rem 1rem !important;
    color: #7b8493 !important;
    text-align: center;
}
.nirc-author-dashboard .empty-state i {
    display: block;
    margin-bottom: .5rem;
    color: #b9a8ce;
    font-size: 2rem;
}
@media (max-width: 1199.98px) {
    .nirc-author-dashboard .status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .nirc-author-dashboard .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nirc-author-dashboard .section-heading { align-items: flex-start; }
    .nirc-author-dashboard .section-count { font-size: .68rem; }
    .nirc-author-dashboard .hero-action { width: 100%; }
}

.nirc-author-dashboard .author-hero-content { z-index: 1; }
.nirc-author-dashboard .status-code-00 { background: #697586; }
.nirc-author-dashboard .status-code-01 { background: #2563eb; }
.nirc-author-dashboard .status-code-02 { background: #dc3545; }
.nirc-author-dashboard .status-code-03 { background: #16845b; }
.nirc-author-dashboard .status-code-04 { background: #0891b2; }
.nirc-author-dashboard .status-code-05 { background: #d69e00; }


/* NIRC Author Detail — external stylesheet (CSP compatible) */

    .nirc-detail { --nd-purple:#4f2683; --nd-purple-dark:#35145f; --nd-yellow:#f5c542; color:#25213a; }
    .nirc-detail .nd-hero { position:relative; overflow:hidden; border-radius:22px; padding:clamp(1.35rem,3vw,2.25rem); color:#fff; background:linear-gradient(115deg,var(--nd-purple-dark),#603394 68%,#80549a); box-shadow:0 14px 32px rgba(55,25,91,.16); }
    .nirc-detail .nd-hero:after { content:"NIRC X"; position:absolute; right:1.25rem; bottom:-1.6rem; font-size:clamp(3.5rem,9vw,7rem); line-height:1; font-weight:900; color:rgba(255,255,255,.07); pointer-events:none; }
    .nirc-detail .nd-eyebrow { color:#ffdf72; font-size:.72rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
    .nirc-detail .nd-hero h1 { position:relative; z-index:1; font-size:clamp(1.45rem,3vw,2rem); font-weight:800; margin:.45rem 0 .25rem; }
    .nirc-detail .nd-hero p { position:relative; z-index:1; margin:0; color:rgba(255,255,255,.78); }
    .nirc-detail .nd-hero .nd-back { position:relative; z-index:2; white-space:nowrap; border:1px solid rgba(255,255,255,.65); color:#fff; }
    .nirc-detail .nd-hero .nd-back:hover { background:#fff; color:var(--nd-purple); }
    .nirc-detail .nd-card { border:1px solid #eee9f5; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 7px 22px rgba(35,24,55,.055); }
    .nirc-detail .nd-card-head { display:flex; align-items:center; gap:.8rem; padding:1rem 1.25rem; color:#fff; background:linear-gradient(100deg,#452071,#63358e); }
    .nirc-detail .nd-card-head .nd-icon { width:40px; height:40px; display:grid; place-items:center; flex:0 0 40px; border-radius:12px; color:#3d1d68; background:var(--nd-yellow); font-size:1.1rem; }
    .nirc-detail .nd-card-head h2 { font-size:1rem; font-weight:800; margin:0; }
    .nirc-detail .nd-card-head small { display:block; margin-top:.15rem; color:rgba(255,255,255,.72); }
    .nirc-detail .nd-card-body { padding:clamp(1rem,2.5vw,1.5rem); }
    .nirc-detail .nd-field { height:100%; padding:.85rem 1rem; border:1px solid #eeeaf4; border-radius:13px; background:#fcfbfe; }
    .nirc-detail .nd-label { display:block; margin-bottom:.35rem; color:#81758f; font-size:.78rem; }
    .nirc-detail .nd-value { color:#2b2140; font-weight:700; overflow-wrap:anywhere; }
    .nirc-detail .nd-section-title { display:flex; align-items:center; gap:.55rem; margin:0 0 1rem; color:#382054; font-size:1rem; font-weight:800; }
    .nirc-detail .nd-section-title i { color:#7545a1; }
    .nirc-detail .nd-article-title { padding:1rem; border:1px solid #eee9f5; border-radius:13px; background:#fcfbfe; overflow-wrap:anywhere; }
    .nirc-detail .nd-file { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; border:1px solid #eee9f5; border-radius:14px; background:#fff; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
    .nirc-detail .nd-file:hover { transform:translateY(-2px); border-color:#d7c5eb; box-shadow:0 8px 20px rgba(55,25,91,.08); }
    .nirc-detail .nd-file-main { display:flex; align-items:center; gap:.85rem; min-width:0; }
    .nirc-detail .nd-file-icon { width:44px; height:44px; display:grid; place-items:center; flex:0 0 44px; border-radius:12px; color:#5a2d87; background:#f1eafa; font-size:1.25rem; }
    .nirc-detail .nd-file-name { min-width:0; overflow-wrap:anywhere; font-weight:700; color:#302340; }
    .nirc-detail .nd-file-meta { color:#8a8094; font-size:.75rem; }
    .nirc-detail .nd-note { border:1px solid #b9e9f4; border-radius:13px; background:#eafaff; color:#176078; padding:1rem 1.1rem; }
    .nirc-detail .nd-status { font-size:.8rem; padding:.5rem .75rem; border-radius:999px; }
    @media (max-width:575.98px) { .nirc-detail .nd-file { align-items:flex-start; flex-direction:column; } .nirc-detail .nd-file .btn { width:100%; } .nirc-detail .nd-hero .nd-back { width:100%; } }


/* NIRC X public navigation and registration calls to action */
.nirc-navbar .navbar-nav .nav-link {
    white-space: nowrap;
}

.nirc-navbar .btn-warning {
    color: #35165F;
    border-color: #F5C542;
}

.nirc-hero-actions .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nirc-about-accent {
    border-color: #F5C542 !important;
}

@media (max-width: 1199.98px) {
    .nirc-navbar .navbar-nav {
        align-items: stretch !important;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .nirc-navbar .navbar-nav .nav-link {
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

/* ==========================================
   NIRC Payment Officer Dashboard
   Restored finance dashboard presentation
   ========================================== */
.po-page {
    width: min(100% - 2rem, 1560px);
    margin: 1.5rem auto 2.5rem;
    color: #292536;
}

.po-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    margin-bottom: 1.7rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(245,197,66,.22), transparent 24%),
        linear-gradient(115deg, #35165f 0%, #4f2683 58%, #7650a5 100%);
    box-shadow: 0 14px 34px rgba(53,22,95,.17);
}

.po-heading > div:first-child { position: relative; z-index: 1; }
.po-eyebrow {
    display: inline-block;
    margin-bottom: .45rem;
    color: #ffe28a;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
}
.po-heading h1 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 850;
    letter-spacing: -.035em;
}
.po-heading p {
    margin: 0;
    color: rgba(255,255,255,.8);
}
.po-heading-mark {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    border-radius: 19px;
    color: #3b1b65;
    background: #f5c542;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(20,10,35,.15);
}

.po-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.55rem;
}
.po-stat {
    position: relative;
    display: flex;
    min-height: 155px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 1.25rem 1.45rem;
    border: 1px solid #e9e5ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(43,28,66,.055);
}
.po-stat-pending { border-top: 5px solid #f5c542; }
.po-stat span {
    color: #777486;
    font-size: .9rem;
    font-weight: 700;
}
.po-stat strong {
    margin: .15rem 0;
    color: #4f2683;
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1.2;
}
.po-stat small { color: #858092; font-size: .8rem; }

.po-panel {
    overflow: hidden;
    border: 1px solid #e9e5ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(43,28,66,.06);
}
.po-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eeeaf3;
}
.po-panel-head h2 {
    margin: 0;
    color: #382054;
    font-size: 1.12rem;
    font-weight: 850;
}
.po-panel-head p {
    margin: .2rem 0 0;
    color: #858092;
    font-size: .82rem;
}
.po-panel-head .badge { padding: .45rem .75rem; color: #39204f; }
.po-empty {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 2rem 1rem;
    color: #858092;
    text-align: center;
}
.po-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: .55rem;
    border-radius: 50%;
    color: #16845b;
    background: #e7f6ee;
    font-size: 1.8rem;
    font-weight: 800;
}
.po-empty strong { color: #382054; font-size: 1rem; }
.po-empty span { font-size: .88rem; }
.po-table { margin: 0; }
.po-table thead th {
    padding: .9rem .85rem;
    border: 0;
    color: #fff;
    background: #39205b;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}
.po-table tbody td {
    padding: .9rem .85rem;
    border-color: #eeeaf3;
    color: #3c3548;
    font-size: .86rem;
    vertical-align: middle;
}
.po-table tbody tr:hover { background: #faf7ff; }
.po-table td small { color: #858092; }
.po-regis-id { color: #4f2683; font-weight: 900; }
.po-title-cell { min-width: 220px; font-weight: 700; }
.po-review-btn { border-radius: 9px; font-weight: 700; white-space: nowrap; }
.po-footnote {
    margin: .9rem .15rem 0;
    color: #858092;
    font-size: .8rem;
}

@media (max-width: 767.98px) {
    .po-page { width: min(100% - 1.25rem, 1560px); margin-top: 1rem; }
    .po-heading { align-items: flex-start; padding: 1.35rem; border-radius: 16px; }
    .po-heading-mark { width: 54px; height: 54px; flex-basis: 54px; border-radius: 14px; }
    .po-stats { grid-template-columns: 1fr; gap: .8rem; }
    .po-stat { min-height: 125px; }
    .po-panel-head { align-items: flex-start; padding: 1rem; }
}

@media (max-width: 420px) {
    .po-heading-mark { display: none; }
    .po-panel-head { flex-direction: column; }
}


/* ==========================================
   NIRC X - Editor Dashboard
   Scoped styles; no inline CSS required.
   ========================================== */
.nirc-editor-dashboard {
    width: min(100%, 1560px);
    margin: .25rem auto 2.5rem;
    color: #30283b;
}
.ed-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    overflow: hidden;
    margin-bottom: 1.35rem;
    padding: clamp(1.45rem, 3vw, 2.25rem);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(245,197,66,.24), transparent 25%),
        linear-gradient(115deg, #35165f 0%, #4f2683 58%, #7650a5 100%);
    box-shadow: 0 14px 34px rgba(53,22,95,.16);
}
.ed-eyebrow {
    display: inline-block;
    margin-bottom: .45rem;
    color: #ffe28a;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
}
.ed-heading h1 {
    margin: 0 0 .4rem;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.035em;
}
.ed-heading p { margin: 0; color: rgba(255,255,255,.82); }
.ed-mark {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border-radius: 19px;
    color: #3b1b65;
    background: #f5c542;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(20,10,35,.15);
}
.ed-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1.25rem;
}
.ed-stat {
    display: flex;
    min-height: 145px;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.15rem;
    border: 1px solid #e9e5ef;
    border-top: 4px solid #8c72aa;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(43,28,66,.05);
}
.ed-stat-primary { border-top-color: #4f2683; }
.ed-stat-warning { border-top-color: #e2ae18; }
.ed-stat-success { border-top-color: #20966a; }
.ed-stat span { color: #777486; font-size: .82rem; font-weight: 750; }
.ed-stat strong {
    margin: .18rem 0;
    color: #4f2683;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
}
.ed-stat small { color: #898494; font-size: .72rem; }
.ed-panel {
    overflow: hidden;
    border: 1px solid #e9e5ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(43,28,66,.055);
}
.ed-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.45rem;
    border-bottom: 1px solid #eeeaf3;
}
.ed-panel-head h2 {
    margin: 0;
    color: #382054;
    font-size: 1.08rem;
    font-weight: 850;
}
.ed-panel-head p { margin: .25rem 0 0; color: #858092; font-size: .8rem; }
.ed-panel-tag {
    padding: .4rem .7rem;
    border-radius: 999px;
    color: #4f2683;
    background: #f1eafa;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}
.ed-table { min-width: 850px; }
.ed-table thead th {
    padding: .85rem .8rem;
    border: 0;
    color: #fff;
    background: #39205b;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}
.ed-table tbody td {
    padding: .85rem .8rem;
    border-color: #eeeaf3;
    color: #484153;
    font-size: .82rem;
}
.ed-table tbody tr:hover { background: #fbf9fe; }
.ed-regis-id { color: #4f2683; font-weight: 900; letter-spacing: .03em; }
.ed-title-cell { min-width: 250px; }
.ed-title-cell strong { display: block; color: #382b49; font-weight: 750; }
.ed-title-cell small { display: block; margin-top: .2rem; color: #898494; }
.ed-status {
    display: inline-block;
    padding: .35rem .6rem;
    border-radius: 999px;
    color: #4b3470;
    background: #f1eafa;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}
.ed-review-count { color: #4f2683; font-weight: 850; white-space: nowrap; }
.ed-empty {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 2rem 1rem;
    color: #858092;
    text-align: center;
}
.ed-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: .5rem;
    border-radius: 50%;
    color: #4f2683;
    background: #f1eafa;
    font-size: 1.8rem;
}
.ed-empty strong { color: #382054; }
.ed-empty span { font-size: .82rem; }
.ed-footnote { margin: .85rem .15rem 0; color: #898494; font-size: .75rem; }
@media (max-width: 1199.98px) {
    .ed-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .ed-heading { align-items: flex-start; padding: 1.3rem; border-radius: 16px; }
    .ed-mark { width: 52px; height: 52px; flex-basis: 52px; border-radius: 14px; font-size: 1.6rem; }
    .ed-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .ed-stat { min-height: 125px; padding: .9rem; }
    .ed-stat strong { font-size: 1.9rem; }
    .ed-panel-head { align-items: flex-start; padding: 1rem; }
}
@media (max-width: 420px) {
    .ed-mark { display: none; }
    .ed-stat-grid { grid-template-columns: 1fr; }
    .ed-panel-head { flex-direction: column; }
}


/* ==========================================
   NIRC X - Editor Paper Management
   ========================================== */
.ed-panel-actions { display:flex; align-items:center; gap:.65rem; }
.ed-manage-link { border-radius:9px; font-weight:750; white-space:nowrap; }
.nirc-editor-papers { width:min(100%,1560px); margin:.25rem auto 2.5rem; color:#30283b; }
.ep-heading { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; margin-bottom:1.15rem; padding:clamp(1.4rem,3vw,2rem); border-radius:22px; color:#fff; background:linear-gradient(115deg,#35165f 0%,#4f2683 58%,#7650a5 100%); box-shadow:0 14px 34px rgba(53,22,95,.14); }
.ep-eyebrow { display:inline-block; margin-bottom:.45rem; color:#ffe28a; font-size:.72rem; font-weight:850; letter-spacing:.14em; }
.ep-heading h1 { margin:0 0 .35rem; color:#fff; font-size:clamp(1.55rem,3vw,2.1rem); font-weight:850; }
.ep-heading p { margin:0; color:rgba(255,255,255,.82); }
.ep-back { border:0; border-radius:10px; color:#35165f; font-weight:800; white-space:nowrap; }
.ep-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; margin-bottom:1rem; }
.ep-summary>div { display:flex; flex-direction:column; gap:.2rem; padding:1rem 1.2rem; border:1px solid #e9e5ef; border-radius:15px; background:#fff; box-shadow:0 7px 22px rgba(43,28,66,.04); }
.ep-summary span { color:#777486; font-size:.82rem; font-weight:700; }
.ep-summary strong { color:#4f2683; font-size:1.35rem; font-weight:850; }
.ep-panel { overflow:hidden; border:1px solid #e9e5ef; border-radius:18px; background:#fff; box-shadow:0 8px 25px rgba(43,28,66,.05); }
.ep-filters { display:grid; grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(180px,1fr) auto; align-items:end; gap:.85rem; padding:1.15rem; border-bottom:1px solid #eeeaf3; }
.ep-filters label { display:block; margin-bottom:.35rem; color:#51465f; font-size:.8rem; font-weight:800; }
.ep-filter-actions { display:flex; gap:.45rem; }
.ep-filter-actions .btn { min-height:44px; border-radius:9px; font-weight:750; white-space:nowrap; }
.ep-table { min-width:1050px; }
.ep-table thead th { padding:.9rem .8rem; border:0; color:#fff; background:#39205b; font-size:.78rem; font-weight:800; white-space:nowrap; }
.ep-table tbody td { padding:.9rem .8rem; border-color:#eeeaf3; color:#3c3548; font-size:.84rem; }
.ep-table tbody tr:hover { background:#fbf9fe; }
.ep-regis-id { color:#4f2683; font-weight:900; }
.ep-title-cell { min-width:260px; }
.ep-title-cell strong { display:block; color:#332344; font-weight:800; }
.ep-title-cell small,.ep-muted { display:block; margin-top:.2rem; color:#858092; }
.ep-type { display:inline-flex; padding:.3rem .55rem; border-radius:8px; color:#4f2683; background:#f1eafa; font-size:.75rem; font-weight:800; white-space:nowrap; }
.ep-status { display:inline-flex; padding:.34rem .6rem; border-radius:999px; font-size:.73rem; font-weight:800; white-space:nowrap; }
.ep-status-pending { color:#72520a; background:#fff5d7; }
.ep-status-uploaded { color:#285b9b; background:#eaf3ff; }
.ep-status-rejected { color:#a22d3a; background:#ffedf0; }
.ep-status-accepted { color:#16734f; background:#e8f7ef; }
.ep-status-review { color:#65409a; background:#f1eafa; }
.ep-status-revision { color:#96551c; background:#fff0e1; }
.ep-files { white-space:nowrap; }
.ep-file-link { display:inline-block; margin-right:.25rem; padding:.34rem .55rem; border:1px solid #eadff7; border-radius:7px; color:#4f2683; background:#f7f1ff; font-size:.73rem; font-weight:850; }
.ep-file-link:hover { color:#35165f; background:#eee3fb; }
.ep-file-word { border-color:#dce7f7; color:#315d91; background:#eff5ff; }
.ep-no-file { color:#9a96a2; font-size:.76rem; }
.ep-empty { display:flex; min-height:250px; flex-direction:column; align-items:center; justify-content:center; gap:.4rem; padding:2rem; color:#858092; text-align:center; }
.ep-empty-icon { display:grid; width:58px; height:58px; place-items:center; margin-bottom:.4rem; border-radius:50%; color:#4f2683; background:#f1eafa; font-size:1.8rem; }
.ep-empty strong { color:#382054; }
.ep-pagination { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.15rem; border-top:1px solid #eeeaf3; color:#858092; font-size:.8rem; }
.ep-pagination nav { display:flex; align-items:center; gap:.45rem; }
.ep-pagination .btn { border-radius:8px; font-weight:750; }
.ep-page-number { color:#4f2683; font-weight:800; white-space:nowrap; }
.ep-footnote { margin:.85rem .15rem 0; color:#858092; font-size:.8rem; }
@media(max-width:900px) { .ep-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .ep-filter-actions { grid-column:1/-1; } }
@media(max-width:600px) { .nirc-editor-papers { width:calc(100% - 1.25rem); } .ep-heading { align-items:flex-start; flex-direction:column; border-radius:16px; } .ep-summary { grid-template-columns:1fr; gap:.6rem; } .ep-filters { grid-template-columns:1fr; } .ep-filter-actions { grid-column:auto; } .ep-filter-actions .btn { flex:1; } .ep-pagination { align-items:flex-start; flex-direction:column; } .ed-panel-actions { align-items:flex-start; flex-direction:column; } }


/* ==========================================
   NIRC X - Editor Paper Detail (Step 4)
   ========================================== */
.nirc-editor-detail { width:min(100%,1560px); margin:.25rem auto 2.5rem; color:#30283b; }
.edp-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; padding:clamp(1.4rem,3vw,2rem); border-radius:22px; color:#fff; background:linear-gradient(115deg,#35165f 0%,#4f2683 58%,#7650a5 100%); box-shadow:0 14px 34px rgba(53,22,95,.14); }
.edp-heading h1 { margin:0 0 .35rem; color:#fff; font-size:clamp(1.55rem,3vw,2.1rem); font-weight:850; }
.edp-heading p { margin:0; color:rgba(255,255,255,.82); }
.edp-title-card,.edp-card { padding:1.25rem 1.4rem; border:1px solid #e9e5ef; border-radius:17px; background:#fff; box-shadow:0 7px 22px rgba(43,28,66,.045); }
.edp-title-card { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1rem; }
.edp-kicker,.edp-muted { color:#898494; font-size:.8rem; }
.edp-title-card h2 { margin:.35rem 0; color:#382054; font-size:1.35rem; font-weight:800; }
.edp-title-en { margin:0; color:#777486; }
.edp-status { display:inline-block; flex-shrink:0; padding:.45rem .75rem; border-radius:999px; color:#4b3470; background:#f1eafa; font-size:.78rem; font-weight:800; }
.edp-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-bottom:1rem; }
.edp-card h3 { margin:0 0 1rem; color:#382054; font-size:1.05rem; font-weight:800; }
.edp-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem 1.2rem; margin:0; }
.edp-meta div { min-width:0; }
.edp-meta dt { color:#898494; font-size:.75rem; font-weight:700; }
.edp-meta dd { margin:.15rem 0 0; color:#382b49; font-size:.88rem; font-weight:700; overflow-wrap:anywhere; }
.edp-empty { padding:1.5rem; border-radius:12px; color:#777486; background:#faf8fc; text-align:center; line-height:1.8; }
.edp-empty small { color:#898494; }
.edp-section { margin-top:1rem; }
.edp-abstract { margin:0; color:#484153; line-height:1.9; overflow-wrap:anywhere; }
.edp-subheading { margin-top:1.5rem !important; }
.edp-card-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.edp-card-heading span { color:#898494; font-size:.8rem; }
.edp-files-table thead th { color:#fff; background:#3e205f; font-size:.78rem; white-space:nowrap; }
.edp-files-table tbody td { color:#484153; font-size:.8rem; border-color:#eeeaf3; }
.edp-timeline { display:grid; gap:.8rem; }
.edp-timeline-item { display:grid; grid-template-columns:100px 1fr; gap:.35rem .8rem; padding:1rem; border-left:4px solid #8c72aa; border-radius:10px; background:#faf8fc; }
.edp-timeline-item strong { color:#4f2683; }
.edp-timeline-item small,.edp-timeline-item p { grid-column:2; color:#777486; margin:0; }
.edp-decision { grid-column:2; color:#20966a; font-size:.85rem; font-weight:800; }
.edp-footnote { margin:.85rem .15rem 0; color:#898494; font-size:.75rem; }
.ep-detail-link { text-decoration:none; }
.ep-detail-link:hover { text-decoration:underline; }
@media(max-width:767.98px) {
 .edp-heading,.edp-title-card { flex-direction:column; align-items:flex-start; }
 .edp-grid { grid-template-columns:1fr; }
 .edp-meta { grid-template-columns:1fr 1fr; }
 .edp-timeline-item { grid-template-columns:1fr; }
 .edp-timeline-item small,.edp-timeline-item p,.edp-decision { grid-column:1; }
}
@media(max-width:420px) { .edp-meta { grid-template-columns:1fr; } }


/* NIRC X Editor Reviewer Assignment Dashboard - isolated styles */
.nirc-editor-assignments { color:#292536; }
.nirc-editor-assignments .ea-hero { position:relative; overflow:hidden; padding:clamp(1.4rem,3vw,2.2rem); border-radius:20px; color:#fff; background:radial-gradient(circle at 88% 12%,rgba(245,197,66,.25),transparent 26%),linear-gradient(120deg,#35165f,#4f2683 58%,#7650a5); box-shadow:0 14px 32px rgba(53,22,95,.16); }
.nirc-editor-assignments .ea-eyebrow { color:#ffe28a; font-size:.72rem; font-weight:800; letter-spacing:.13em; }
.nirc-editor-assignments .ea-hero h1 { margin:.35rem 0; font-size:clamp(1.5rem,3vw,2.2rem); font-weight:850; }
.nirc-editor-assignments .ea-hero p { margin:0; color:rgba(255,255,255,.82); }
.nirc-editor-assignments .ea-back { border-radius:10px; font-weight:700; }
.nirc-editor-assignments .ea-stat { height:100%; padding:1.1rem 1.2rem; border:1px solid #ece8f3; border-radius:15px; background:#fff; box-shadow:0 7px 20px rgba(43,28,66,.055); }
.nirc-editor-assignments .ea-stat span { display:block; color:#747084; font-size:.82rem; font-weight:700; }
.nirc-editor-assignments .ea-stat strong { display:block; margin-top:.15rem; color:#35165f; font-size:2rem; line-height:1.25; font-weight:900; }
.nirc-editor-assignments .ea-panel { overflow:hidden; border:1px solid #e9e5ef; border-radius:16px; background:#fff; box-shadow:0 8px 23px rgba(43,28,66,.05); }
.nirc-editor-assignments .ea-panel-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.2rem; color:#fff; background:linear-gradient(100deg,#43206f,#5b2d8d); }
.nirc-editor-assignments .ea-panel-head h2 { margin:0; font-size:1.02rem; font-weight:800; }
.nirc-editor-assignments .ea-filter { display:flex; gap:.65rem; padding:1rem 1.2rem; border-bottom:1px solid #eeeaf3; }
.nirc-editor-assignments .ea-filter .form-control { max-width:440px; }
.nirc-editor-assignments .ea-table { margin:0; }
.nirc-editor-assignments .ea-table thead th { padding:.85rem .8rem; color:#fff; background:#35204f; border:0; font-size:.76rem; white-space:nowrap; }
.nirc-editor-assignments .ea-table tbody td { padding:.85rem .8rem; color:#454052; border-color:#eeeaf3; font-size:.82rem; vertical-align:middle; }
.nirc-editor-assignments .ea-table tbody tr:hover { background:#faf7ff; }
.nirc-editor-assignments .ea-id { color:#4f2683; font-weight:900; white-space:nowrap; }
.nirc-editor-assignments .ea-title { min-width:220px; max-width:390px; color:#292238; font-weight:750; }
.nirc-editor-assignments .ea-muted { display:block; color:#858092; font-size:.74rem; }
.nirc-editor-assignments .ea-pill { display:inline-flex; padding:.32rem .58rem; border-radius:99px; font-size:.72rem; font-weight:800; white-space:nowrap; }
.nirc-editor-assignments .ea-pending { color:#815900; background:#fff2c7; }
.nirc-editor-assignments .ea-review { color:#155b91; background:#e3f2ff; }
.nirc-editor-assignments .ea-waiting { color:#6a3c91; background:#f0e7fa; }
.nirc-editor-assignments .ea-closed { color:#176b4a; background:#e1f5eb; }
.nirc-editor-assignments .ea-missing { color:#9b3030; background:#fde8e8; }
.nirc-editor-assignments .ea-action { border-radius:8px; font-size:.76rem; font-weight:750; white-space:nowrap; }
.nirc-editor-assignments .ea-empty { padding:2rem 1rem!important; color:#7b8493!important; text-align:center; }
.nirc-editor-assignments .ea-note { padding:.9rem 1rem; border:1px solid #f0d68a; border-radius:12px; color:#654900; background:#fff9e8; font-size:.82rem; }
@media(max-width:767.98px){.nirc-editor-assignments .ea-panel-head{align-items:flex-start;flex-direction:column}.nirc-editor-assignments .ea-filter{flex-direction:column}.nirc-editor-assignments .ea-filter .form-control{max-width:none}.nirc-editor-assignments .ea-stat strong{font-size:1.7rem}}


/* NIRC Editor Assignment Form — Step 5.2 (CSP-safe external stylesheet) */
.nirc-editor-assignment-form { color:#29213a; }
.nirc-editor-assignment-form .eaf-hero { border-radius:20px; padding:1.6rem 2rem; color:#fff; background:linear-gradient(110deg,#35145f,#603394 72%,#80549a); box-shadow:0 12px 28px rgba(55,25,91,.14); }
.nirc-editor-assignment-form .eaf-eyebrow { color:#ffdf72; font-size:.72rem; font-weight:800; letter-spacing:.12em; }
.nirc-editor-assignment-form .eaf-hero h1 { margin:.45rem 0 .25rem; font-size:clamp(1.45rem,3vw,2rem); font-weight:850; }
.nirc-editor-assignment-form .eaf-hero p { margin:0; color:rgba(255,255,255,.8); }
.nirc-editor-assignment-form .eaf-card { overflow:hidden; border:1px solid #eee8f5; border-radius:16px; background:#fff; box-shadow:0 7px 22px rgba(35,24,55,.05); }
.nirc-editor-assignment-form .eaf-card-head { padding:.95rem 1.2rem; color:#fff; background:linear-gradient(100deg,#452071,#63358e); font-weight:800; }
.nirc-editor-assignment-form .eaf-paper { padding:1.2rem; }
.nirc-editor-assignment-form .eaf-paper-id { color:#4f2683; font-weight:900; letter-spacing:.03em; }
.nirc-editor-assignment-form .eaf-reviewer { height:100%; padding:1rem; border:1px solid #e9e2f1; border-radius:13px; background:#fff; transition:border-color .15s,box-shadow .15s; }
.nirc-editor-assignment-form .eaf-reviewer:has(input:checked) { border-color:#6a3b99; box-shadow:0 0 0 3px rgba(79,38,131,.09); background:#fcfaff; }
.nirc-editor-assignment-form .eaf-reviewer input { width:1.1rem; height:1.1rem; accent-color:#4f2683; }
.nirc-editor-assignment-form .eaf-reviewer-name { color:#33204d; font-weight:800; }
.nirc-editor-assignment-form .eaf-muted { display:block; color:#7b7188; font-size:.82rem; }
.nirc-editor-assignment-form .eaf-expertise { display:inline-block; margin:.35rem .25rem 0 0; padding:.25rem .5rem; border-radius:999px; color:#4d2875; background:#f1eafa; font-size:.72rem; font-weight:700; }
.nirc-editor-assignment-form .eaf-warning { padding:.85rem 1rem; border:1px solid #f2d17a; border-radius:12px; color:#78530a; background:#fff9e9; }
.nirc-editor-assignment-form .eaf-selection-bar { position:sticky; bottom:0; z-index:5; padding:.9rem 1rem; border:1px solid #e8e0f0; border-radius:14px; background:rgba(255,255,255,.96); box-shadow:0 -5px 20px rgba(40,25,60,.06); }
@media(max-width:575.98px){ .nirc-editor-assignment-form .eaf-hero{padding:1.25rem;} }

.nirc-editor-assignment-form .eaf-required-count { color:#4f2683; }


/* NIRC Editor Assignment Form — reviewer account identification */
.nirc-editor-assignment-form .eaf-reviewer-username {
    display: inline-flex;
    align-items: center;
    margin-left: .35rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    color: #5b3a83;
    background: #f2edf8;
    font-size: .7rem;
    font-weight: 700;
}


/* NIRC X Reviewer Dashboard — Step 6.1 */
.nirc-reviewer-dashboard{color:#29213a}
.nirc-reviewer-dashboard .rv-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.65rem 2rem;border-radius:20px;color:#fff;background:linear-gradient(110deg,#35145f,#603394 72%,#80549a);box-shadow:0 12px 28px rgba(55,25,91,.14)}
.nirc-reviewer-dashboard .rv-eyebrow{color:#ffdf72;font-size:.72rem;font-weight:800;letter-spacing:.12em}
.nirc-reviewer-dashboard .rv-hero h1{margin:.45rem 0 .25rem;font-size:clamp(1.45rem,3vw,2rem);font-weight:850}
.nirc-reviewer-dashboard .rv-hero p{margin:0;color:rgba(255,255,255,.82)}
.nirc-reviewer-dashboard .rv-hero-mark{display:grid;place-items:center;width:62px;height:62px;border:1px solid rgba(255,255,255,.28);border-radius:18px;color:#ffdf72;font-size:2rem}
.nirc-reviewer-dashboard .rv-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.35rem 0}
.nirc-reviewer-dashboard .rv-stat{display:flex;flex-direction:column;min-height:142px;padding:1.15rem 1.2rem;border:1px solid #eee8f5;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.045)}
.nirc-reviewer-dashboard .rv-stat>span{color:#71677e;font-size:.82rem;font-weight:750}
.nirc-reviewer-dashboard .rv-stat strong{margin:.25rem 0;color:#3e205f;font-size:2rem;font-weight:900;line-height:1.2}
.nirc-reviewer-dashboard .rv-stat small{margin-top:auto;color:#8b8493;font-size:.74rem}
.nirc-reviewer-dashboard .rv-stat-primary{border-top:4px solid #603394}
.nirc-reviewer-dashboard .rv-stat-pending{border-top:4px solid #e4b33e}
.nirc-reviewer-dashboard .rv-stat-review{border-top:4px solid #4c91c7}
.nirc-reviewer-dashboard .rv-stat-submitted{border-top:4px solid #3b9a72}
.nirc-reviewer-dashboard .rv-panel{overflow:hidden;border:1px solid #eee8f5;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.05)}
.nirc-reviewer-dashboard .rv-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.3rem;border-bottom:1px solid #f0ebf5}
.nirc-reviewer-dashboard .rv-panel-head h2{margin:0;color:#33204d;font-size:1.08rem;font-weight:850}
.nirc-reviewer-dashboard .rv-panel-head p{margin:.25rem 0 0;color:#82798d;font-size:.82rem}
.nirc-reviewer-dashboard .rv-count{padding:.38rem .7rem;border-radius:99px;color:#4f2683;background:#f2edf8;font-size:.76rem;font-weight:800;white-space:nowrap}
.nirc-reviewer-dashboard .rv-table{min-width:820px}
.nirc-reviewer-dashboard .rv-table thead th{padding:.85rem 1rem;border-bottom:1px solid #eee8f5;color:#746b80;background:#fbf9fd;font-size:.75rem;font-weight:800;white-space:nowrap}
.nirc-reviewer-dashboard .rv-table tbody td{padding:.95rem 1rem;border-color:#f1edf5;color:#51485e;font-size:.82rem}
.nirc-reviewer-dashboard .rv-paper-id{color:#4f2683;font-weight:900;letter-spacing:.025em}
.nirc-reviewer-dashboard .rv-title-cell{min-width:260px}
.nirc-reviewer-dashboard .rv-title-cell strong{display:block;color:#332344;font-weight:800}
.nirc-reviewer-dashboard .rv-title-cell small{display:block;margin-top:.22rem;color:#898191;font-size:.74rem}
.nirc-reviewer-dashboard .rv-round{color:#5e477b;font-size:.78rem;font-weight:800;white-space:nowrap}
.nirc-reviewer-dashboard .rv-status{display:inline-flex;padding:.32rem .58rem;border-radius:99px;font-size:.72rem;font-weight:800;white-space:nowrap}
.nirc-reviewer-dashboard .rv-status-pending{color:#815900;background:#fff2c7}
.nirc-reviewer-dashboard .rv-status-review{color:#155b91;background:#e3f2ff}
.nirc-reviewer-dashboard .rv-status-submitted{color:#176b4a;background:#e1f5eb}
.nirc-reviewer-dashboard .rv-status-muted{color:#665d70;background:#f0edf3}
.nirc-reviewer-dashboard .rv-no-date{color:#9991a1;font-size:.78rem}
.nirc-reviewer-dashboard .rv-empty{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:3rem 1rem;color:#837b8c;text-align:center}
.nirc-reviewer-dashboard .rv-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:.35rem;border-radius:16px;color:#603394;background:#f2edf8;font-size:1.55rem}
.nirc-reviewer-dashboard .rv-empty strong{color:#443454}
.nirc-reviewer-dashboard .rv-empty span{font-size:.82rem}
.nirc-reviewer-dashboard .rv-privacy-note,.nirc-reviewer-dashboard .rv-alert{display:flex;flex-direction:column;gap:.25rem;margin-top:1rem;padding:.9rem 1.05rem;border:1px solid #eadcf8;border-radius:12px;color:#5a3c77;background:#faf6ff;font-size:.82rem}
.nirc-reviewer-dashboard .rv-privacy-note strong,.nirc-reviewer-dashboard .rv-alert strong{font-weight:850}
.nirc-reviewer-dashboard .rv-alert{border-color:#f0d68a;color:#78530a;background:#fff9e8}
@media(max-width:991.98px){.nirc-reviewer-dashboard .rv-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.nirc-reviewer-dashboard .rv-hero{padding:1.25rem}.nirc-reviewer-dashboard .rv-hero-mark{width:48px;height:48px}.nirc-reviewer-dashboard .rv-stat-grid{gap:.65rem}.nirc-reviewer-dashboard .rv-stat{min-height:128px;padding:.9rem}.nirc-reviewer-dashboard .rv-stat strong{font-size:1.7rem}.nirc-reviewer-dashboard .rv-panel-head{align-items:flex-start;flex-direction:column}}


/* Reviewer Step 6.2 — assigned paper detail */
.nirc-reviewer-dashboard .rv-detail-link{text-decoration:none}.nirc-reviewer-dashboard .rv-detail-link:hover{text-decoration:underline;color:#7544a8}
.nirc-reviewer-detail{color:#30243f}.nirc-reviewer-detail .rvd-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.45rem 1.7rem;border-radius:18px;color:#fff;background:linear-gradient(110deg,#35145f,#603394 72%,#80549a)}
.nirc-reviewer-detail .rvd-eyebrow{color:#ffdf72;font-size:.72rem;font-weight:800;letter-spacing:.12em}.nirc-reviewer-detail .rvd-heading h1{margin:.35rem 0;font-size:1.65rem;font-weight:850}.nirc-reviewer-detail .rvd-heading p{margin:0;color:rgba(255,255,255,.82);font-size:.88rem}
.nirc-reviewer-detail .rvd-title-card{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:1.1rem 0;padding:1.35rem 1.5rem;border:1px solid #eee8f5;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.045)}
.nirc-reviewer-detail .rvd-title-card>div>span{color:#6a4a8a;font-size:.76rem;font-weight:850}.nirc-reviewer-detail .rvd-title-card h2{margin:.4rem 0;color:#34204e;font-size:1.35rem;font-weight:850}.nirc-reviewer-detail .rvd-title-card p{margin:0;color:#81788c}.nirc-reviewer-detail .rvd-status{padding:.4rem .75rem;border-radius:99px;color:#795600;background:#fff2c7;font-size:.75rem;font-weight:850;white-space:nowrap}
.nirc-reviewer-detail .rvd-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.nirc-reviewer-detail .rvd-card{padding:1.2rem 1.35rem;border:1px solid #eee8f5;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.04)}.nirc-reviewer-detail .rvd-card h3{margin:0 0 .9rem;color:#3c2458;font-size:1rem;font-weight:850}.nirc-reviewer-detail .rvd-card dl{margin:0}.nirc-reviewer-detail .rvd-card dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.58rem 0;border-bottom:1px solid #f1edf5}.nirc-reviewer-detail .rvd-card dl>div:last-child{border:0}.nirc-reviewer-detail dt{color:#81788c;font-size:.8rem}.nirc-reviewer-detail dd{margin:0;color:#42344f;font-size:.82rem;font-weight:750;text-align:right}.nirc-reviewer-detail .rvd-no-file{display:flex;flex-direction:column;gap:.4rem;padding:1.15rem;border:1px dashed #e4d9ef;border-radius:12px;color:#6e5b7e;background:#fbf9fd;font-size:.82rem}.nirc-reviewer-detail .rvd-no-file strong{color:#57357b}.nirc-reviewer-detail .rvd-file-list>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #f1edf5;font-size:.82rem}.nirc-reviewer-detail .rvd-file-list>div:last-child{border:0}.nirc-reviewer-detail .rvd-abstract{margin-top:1rem}.nirc-reviewer-detail .rvd-abstract p{color:#51485e;font-size:.9rem;line-height:1.85;white-space:normal}.nirc-reviewer-detail .rvd-abstract h3:not(:first-child){margin-top:1.3rem}.nirc-reviewer-detail .rvd-muted{color:#9991a1!important}.nirc-reviewer-detail .rvd-privacy{display:flex;flex-direction:column;gap:.25rem;margin-top:1rem;padding:.9rem 1.05rem;border:1px solid #eadcf8;border-radius:12px;color:#5a3c77;background:#faf6ff;font-size:.82rem}
@media(max-width:767.98px){.nirc-reviewer-detail .rvd-heading,.nirc-reviewer-detail .rvd-title-card{align-items:flex-start;flex-direction:column}.nirc-reviewer-detail .rvd-grid{grid-template-columns:1fr}}


/* NIRC Editor Assignment — make the unchanged/invalid submit state obvious */
.nirc-editor-assignment-form #eafSaveButton:disabled,
.nirc-editor-assignment-form #eafSaveButton[disabled],
.nirc-editor-assignment-form #eafSaveButton[aria-disabled="true"] {
    color: #667085 !important;
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    opacity: 1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none;
    filter: none !important;
}

.nirc-editor-assignment-form #eafSaveButton:disabled:hover,
.nirc-editor-assignment-form #eafSaveButton[disabled]:hover,
.nirc-editor-assignment-form #eafSaveButton[aria-disabled="true"]:hover {
    color: #667085 !important;
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
}

.nirc-editor-assignment-form #eafSaveButton:not(:disabled) {
    cursor: pointer;
}


/* Editor review score breakdown — Step 6.5.2 */
.er-score-breakdown {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #e8e1f0;
    border-radius: 14px;
    background: #fcfaff;
}
.er-score-breakdown h4 {
    margin: 0 0 .8rem;
    color: #452276;
    font-size: 1.05rem;
    font-weight: 700;
}
.er-score-list { display: grid; gap: .55rem; }
.er-score-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid #eee9f4;
}
.er-score-row span { color: #40364c; }
.er-score-row strong { color: #4d267e; white-space: nowrap; }
.er-score-comment {
    margin: -.25rem 0 .35rem;
    color: #71677d;
    font-size: .9rem;
}
.er-score-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 2px solid #e4d9f0;
    color: #342044;
    font-weight: 700;
}
@media (max-width: 576px) {
    .er-score-row { flex-direction: column; gap: .2rem; }
    .er-score-total { align-items: flex-start; }
}


/* NIRC Editor Review Detail — consistent editorial workspace styling */
.nirc-editor-review-detail{--erd-purple:#4f2683;--erd-deep:#35165f;--erd-gold:#ffdf72;--erd-ink:#30243f;--erd-muted:#81788c;--erd-line:#eee8f5;color:var(--erd-ink);}
.nirc-editor-review-detail .er-hero{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin-bottom:1.15rem;padding:clamp(1.35rem,3vw,2rem);border-radius:20px;color:#fff;background:radial-gradient(circle at 88% 12%,rgba(245,197,66,.24),transparent 25%),linear-gradient(110deg,var(--erd-deep),#603394 72%,#80549a);box-shadow:0 12px 28px rgba(55,25,91,.14)}
.nirc-editor-review-detail .er-eyebrow{color:var(--erd-gold);font-size:.72rem;font-weight:850;letter-spacing:.12em}
.nirc-editor-review-detail .er-hero h1{margin:.38rem 0 .28rem;color:#fff;font-size:clamp(1.45rem,3vw,2rem);font-weight:900}
.nirc-editor-review-detail .er-hero p{margin:0;color:rgba(255,255,255,.82);font-size:.88rem}
.nirc-editor-review-detail .er-hero .btn{border:0;border-radius:10px;color:#432267;font-weight:800;white-space:nowrap}
.nirc-editor-review-detail .er-alert{margin:0 0 1rem;padding:.85rem 1rem;border:1px solid;border-radius:12px;font-size:.86rem;font-weight:700}
.nirc-editor-review-detail .er-alert.is-success{border-color:#bce7d1;color:#176b4a;background:#edfaf3}
.nirc-editor-review-detail .er-alert.is-error{border-color:#f1c7c7;color:#9d3030;background:#fff4f4}
.nirc-editor-review-detail .er-paper-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.2rem;margin-bottom:1rem;padding:1.35rem 1.5rem;border:1px solid var(--erd-line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.045)}
.nirc-editor-review-detail .er-paper-head>div>span{color:#6a4a8a;font-size:.76rem;font-weight:850}
.nirc-editor-review-detail .er-paper-head h2{margin:.4rem 0;color:#34204e;font-size:1.25rem;font-weight:900;line-height:1.5}
.nirc-editor-review-detail .er-paper-head p{margin:0;color:var(--erd-muted);font-size:.84rem}
.nirc-editor-review-detail .er-paper-group{display:inline-flex;padding:.4rem .75rem;border-radius:99px;color:#4f2683;background:#f2edf8;font-size:.75rem;font-weight:850;white-space:nowrap}
.nirc-editor-review-detail .er-paper-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1rem}
.nirc-editor-review-detail .er-paper-meta>div{display:flex;flex-direction:column;gap:.35rem;min-height:92px;padding:1rem 1.05rem;border:1px solid var(--erd-line);border-top:3px solid #8054a5;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(35,24,55,.035)}
.nirc-editor-review-detail .er-paper-meta span{color:var(--erd-muted);font-size:.75rem;font-weight:750}
.nirc-editor-review-detail .er-paper-meta strong{color:#392451;font-size:.92rem;font-weight:850;line-height:1.5}
.nirc-editor-review-detail .er-card,.nirc-editor-review-detail .er-round,.nirc-editor-review-detail .er-decision-card{margin:0 0 1rem;padding:1.25rem 1.35rem;border:1px solid var(--erd-line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(35,24,55,.045)}
.nirc-editor-review-detail .er-abstract h2,.nirc-editor-review-detail .er-abstract h3{margin:0 0 .65rem;color:#3c2458;font-size:1.02rem;font-weight:900}
.nirc-editor-review-detail .er-abstract h3{margin-top:1.25rem}
.nirc-editor-review-detail .er-abstract p{margin:0;color:#51485e;font-size:.9rem;line-height:1.9;overflow-wrap:anywhere}
.nirc-editor-review-detail .er-round{padding:0;overflow:hidden}
.nirc-editor-review-detail .er-round-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.35rem;border-bottom:1px solid #f0ebf5;background:#fbf9fd}
.nirc-editor-review-detail .er-round-heading h2{margin:0;color:#33204d;font-size:1.12rem;font-weight:900}
.nirc-editor-review-detail .er-round-heading p{margin:.25rem 0 0;color:var(--erd-muted);font-size:.8rem}
.nirc-editor-review-detail .er-count{display:inline-flex;padding:.38rem .72rem;border-radius:99px;color:#4f2683;background:#f2edf8;font-size:.76rem;font-weight:850;white-space:nowrap}
.nirc-editor-review-detail .er-evaluation{margin:1rem 1.15rem;padding:1.15rem;border:1px solid #eee8f5;border-radius:14px;background:#fff}
.nirc-editor-review-detail .er-evaluation-heading,.nirc-editor-review-detail .er-decision-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.9rem}
.nirc-editor-review-detail .er-evaluation-heading h3,.nirc-editor-review-detail .er-decision-heading h3{margin:0;color:#392451;font-size:1rem;font-weight:900}
.nirc-editor-review-detail .er-badge{display:inline-flex;align-items:center;padding:.34rem .65rem;border-radius:99px;font-size:.72rem;font-weight:850;white-space:nowrap}
.nirc-editor-review-detail .er-badge.is-ready{color:#176b4a;background:#e1f5eb}
.nirc-editor-review-detail .er-badge.is-waiting{color:#815900;background:#fff2c7}
.nirc-editor-review-detail .er-recommendation{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.7rem 0;padding:.8rem .95rem;border-radius:11px;background:#f7f3fb}
.nirc-editor-review-detail .er-recommendation span{color:var(--erd-muted);font-size:.8rem;font-weight:750}
.nirc-editor-review-detail .er-recommendation strong{color:#4f2683;font-size:.88rem;font-weight:900;text-align:right}
.nirc-editor-review-detail .er-comment{margin:.85rem 0;padding:.95rem 1rem;border:1px solid #eee8f5;border-radius:12px;background:#fcfbfe}
.nirc-editor-review-detail .er-comment h4,.nirc-editor-review-detail .er-score-breakdown h4{margin:0 0 .55rem;color:#452276;font-size:.9rem;font-weight:900}
.nirc-editor-review-detail .er-comment p{margin:0;color:#51485e;font-size:.86rem;line-height:1.8;overflow-wrap:anywhere}
.nirc-editor-review-detail .er-comment p.is-empty,.nirc-editor-review-detail .is-empty{color:#9991a1;font-style:italic}
.nirc-editor-review-detail .er-comment.is-confidential{border-color:#eadcf8;background:#faf6ff}
.nirc-editor-review-detail .er-comment.is-confidential h4{color:#603394}
.nirc-editor-review-detail .er-submitted-at{display:block;margin-top:.75rem;color:#8b8493;font-size:.75rem}
.nirc-editor-review-detail .er-pending-note{margin:0;padding:.9rem 1rem;border-radius:10px;color:#78530a;background:#fff9e8;font-size:.82rem;line-height:1.7}
.nirc-editor-review-detail .er-decision-card{margin:1rem 1.15rem;padding:1.2rem 1.25rem;border-color:#e6dcef;background:#fff}
.nirc-editor-review-detail .er-decision-card.is-recorded{border-left:4px solid #3b9a72}
.nirc-editor-review-detail .er-decision-card.is-locked{border-left:4px solid #e4b33e;background:#fffdf7}
.nirc-editor-review-detail .er-decision-help{margin:0 0 1rem;padding:.8rem .95rem;border-radius:10px;color:#176b4a;background:#edfaf3;font-size:.84rem;font-weight:750}
.nirc-editor-review-detail .er-decision-form{display:grid;gap:.55rem}
.nirc-editor-review-detail .er-decision-form label{margin-top:.45rem;color:#49365d;font-size:.82rem;font-weight:850}
.nirc-editor-review-detail .er-decision-form label span{color:#c43b3b}
.nirc-editor-review-detail .er-decision-form .form-select,.nirc-editor-review-detail .er-decision-form .form-control{border-color:#ded5e9;border-radius:10px;color:#382b49;font-size:.88rem}
.nirc-editor-review-detail .er-decision-form .form-select:focus,.nirc-editor-review-detail .er-decision-form .form-control:focus{border-color:#8054a5;box-shadow:0 0 0 .2rem rgba(96,51,148,.12)}
.nirc-editor-review-detail .er-decision-form small{color:var(--erd-muted);font-size:.75rem;line-height:1.6}
.nirc-editor-review-detail .er-decision-form button{justify-self:start;margin-top:.55rem;padding:.7rem 1.15rem;border:0;border-radius:10px;background:linear-gradient(110deg,#4f2683,#7650a5);font-weight:850;box-shadow:0 6px 14px rgba(79,38,131,.16)}
.nirc-editor-review-detail .er-notification-status{background:#fbf9fd}
.nirc-editor-review-detail .er-notification-status p+p{margin-top:.3rem}
.nirc-editor-review-detail .er-empty{margin:1rem;padding:1.5rem;border:1px dashed #e4d9ef;border-radius:12px;color:#837b8c;background:#fbf9fd;text-align:center;font-size:.85rem}
.nirc-editor-review-detail .er-replacement-action{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;padding:0 1.15rem}
.nirc-editor-review-detail .er-replacement-action .btn{border-radius:10px;font-weight:800}
.nirc-editor-review-detail .er-privacy{display:flex;flex-direction:column;gap:.25rem;margin-top:1rem;padding:1rem 1.15rem;border:1px solid #eadcf8;border-radius:12px;color:#5a3c77;background:#faf6ff;font-size:.82rem}
.nirc-editor-review-detail .er-privacy strong{font-weight:900}
.nirc-editor-review-detail .er-privacy p{margin:0;line-height:1.7}
@media(max-width:991.98px){.nirc-editor-review-detail .er-paper-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.nirc-editor-review-detail .er-hero,.nirc-editor-review-detail .er-paper-head{align-items:flex-start;flex-direction:column}.nirc-editor-review-detail .er-hero .btn{align-self:flex-start}.nirc-editor-review-detail .er-paper-group{white-space:normal}.nirc-editor-review-detail .er-round-heading,.nirc-editor-review-detail .er-evaluation-heading,.nirc-editor-review-detail .er-decision-heading{align-items:flex-start;flex-direction:column}.nirc-editor-review-detail .er-evaluation,.nirc-editor-review-detail .er-decision-card{margin:.75rem;padding:.9rem}}
@media(max-width:575.98px){.nirc-editor-review-detail .er-paper-meta{grid-template-columns:1fr 1fr;gap:.6rem}.nirc-editor-review-detail .er-paper-meta>div{min-height:85px;padding:.8rem}.nirc-editor-review-detail .er-paper-meta strong{font-size:.82rem}.nirc-editor-review-detail .er-card{padding:1rem}.nirc-editor-review-detail .er-recommendation{align-items:flex-start;flex-direction:column;gap:.25rem}.nirc-editor-review-detail .er-recommendation strong{text-align:left}}
@media(max-width:380px){.nirc-editor-review-detail .er-paper-meta{grid-template-columns:1fr}}


/* Step 6.7.3.1 — Editor Revision Verification (read-only UI) */
.nirc-editor-detail .edp-revision-panel { border-top:4px solid #f5c542; }
.nirc-editor-detail .edp-revision-eyebrow { display:block; margin-bottom:.25rem; color:#8a6a16; font-size:.7rem; font-weight:850; letter-spacing:.12em; }
.nirc-editor-detail .edp-revision-badge,.nirc-editor-detail .edp-latest-pill { display:inline-flex; align-items:center; border-radius:999px; padding:.35rem .7rem; color:#76520a; background:#fff1c5; font-size:.75rem; font-weight:800; white-space:nowrap; }
.nirc-editor-detail .edp-revision-intro { margin:0 0 1rem; color:#777486; }
.nirc-editor-detail .edp-revision-version { margin-top:1rem; padding:1.1rem; border:1px solid #e9e5ef; border-radius:14px; background:#fbfaff; }
.nirc-editor-detail .edp-revision-version.is-latest { border-color:#cbb6e8; background:#fcf9ff; box-shadow:0 5px 18px rgba(79,38,131,.06); }
.nirc-editor-detail .edp-revision-version-head { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:.85rem; }
.nirc-editor-detail .edp-revision-version-head strong { color:#3f205f; font-size:1rem; }
.nirc-editor-detail .edp-revision-version-head small { color:#898494; }
.nirc-editor-detail .edp-latest-pill { margin-left:.5rem; color:#3c2460; background:#eee5fa; }
.nirc-editor-detail .edp-revision-files { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.nirc-editor-detail .edp-revision-file { display:flex; justify-content:space-between; align-items:center; gap:.8rem; min-width:0; padding:.85rem; border:1px solid #ece8f3; border-radius:11px; background:#fff; }
.nirc-editor-detail .edp-revision-file div { display:grid; min-width:0; gap:.15rem; }
.nirc-editor-detail .edp-revision-file strong { color:#4f2683; font-size:.85rem; }
.nirc-editor-detail .edp-revision-file span { color:#777486; font-size:.78rem; overflow-wrap:anywhere; }
.nirc-editor-detail .edp-revision-file .btn { flex-shrink:0; }
.nirc-editor-detail .edp-response-box { margin-top:.8rem; padding:1rem; border-radius:11px; background:#f3eef9; }
.nirc-editor-detail .edp-response-box h4 { margin:0 0 .45rem; color:#4f2683; font-size:.9rem; font-weight:800; }
.nirc-editor-detail .edp-response-box p { margin:0; color:#484153; line-height:1.85; overflow-wrap:anywhere; }
.nirc-editor-detail .edp-revision-meta { display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; margin-top:.75rem; color:#898494; font-size:.75rem; }
.nirc-editor-detail .edp-revision-notice { margin-top:1rem; padding:.85rem 1rem; border:1px solid #cdeeff; border-radius:11px; color:#176b8c; background:#eaf8fd; font-size:.82rem; line-height:1.75; }
@media(max-width:767.98px) {
 .nirc-editor-detail .edp-revision-version-head { align-items:flex-start; flex-direction:column; }
 .nirc-editor-detail .edp-revision-files { grid-template-columns:1fr; }
}


/* Step 6.7.3.2 — Editor revision verification actions */
.edp-revision-action{margin-top:1.25rem;padding:1.25rem;border:1px solid #e8ddf5;border-radius:1rem;background:#fbf9fe}
.edp-revision-action h4{margin:0 0 1rem;color:#43216e;font-size:1.05rem;font-weight:700}
.edp-revision-action label{display:block;margin-bottom:.5rem;font-weight:600}
.edp-revision-action textarea{min-height:110px;resize:vertical}
.edp-revision-action-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.edp-revision-action .edp-revision-notice{margin-top:1rem;padding:.85rem 1rem;border-radius:.75rem;background:#eaf8fc;color:#17617d}
.edp-revision-version-head .badge{margin-left:.45rem}
@media(max-width:575.98px){.edp-revision-action-buttons{flex-direction:column}.edp-revision-action-buttons .btn{width:100%}}

/* Step 6.8.2 — Administrator dashboard */
.nirc-admin-dashboard{--nad-purple:#4f2683;--nad-ink:#30243e;color:#302b38}
.nad-hero{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:2rem 2.2rem;margin-bottom:1.4rem;border-radius:1.25rem;background:linear-gradient(120deg,#4f2683 0%,#7044a1 58%,#f0c94b 150%);color:#fff;box-shadow:0 12px 30px rgba(79,38,131,.15)}
.nad-eyebrow{display:block;margin-bottom:.55rem;font-size:.72rem;font-weight:800;letter-spacing:.14em;opacity:.8}
.nad-hero h1{margin:0 0 .5rem;font-size:clamp(1.55rem,3vw,2.15rem);font-weight:800}
.nad-hero p{margin:0;max-width:700px;color:rgba(255,255,255,.86);line-height:1.7}
.nad-emblem{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border:1px solid rgba(255,255,255,.45);border-radius:22px;background:rgba(255,255,255,.13);font-size:2.4rem;font-weight:900}
.nad-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.35rem}
.nad-stat{min-width:0;padding:1.2rem 1.25rem;border:1px solid #eee9f4;border-radius:1rem;background:#fff;box-shadow:0 5px 18px rgba(48,36,62,.045)}
.nad-stat-top{display:flex;justify-content:space-between;align-items:center;gap:.75rem;color:#686174;font-size:.86rem;font-weight:700}
.nad-stat strong{display:block;margin:.65rem 0 .2rem;color:var(--nad-ink);font-size:2rem;line-height:1.1;font-weight:850}
.nad-stat small{color:#918a9a;font-size:.76rem}
.nad-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:1.15rem;font-weight:800}
.nad-purple .nad-icon{background:#f0e9f8;color:#4f2683}.nad-green .nad-icon{background:#e7f6ed;color:#21834a}.nad-blue .nad-icon{background:#e9f2fc;color:#2865a5}.nad-gold .nad-icon{background:#fff5d9;color:#a77808}
.nad-panel{overflow:hidden;border:1px solid #eee9f4;border-radius:1rem;background:#fff;box-shadow:0 5px 18px rgba(48,36,62,.045)}
.nad-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.4rem;border-bottom:1px solid #f0edf4}
.nad-panel-heading h2{margin:0 0 .25rem;color:#3e2856;font-size:1.05rem;font-weight:800}.nad-panel-heading p{margin:0;color:#8b8494;font-size:.8rem}
.nad-chip{padding:.35rem .75rem;border-radius:99px;background:#f0e9f8;color:#4f2683;font-size:.72rem;font-weight:800;letter-spacing:.06em}
.nad-table thead th{padding:1rem 1.4rem;background:#faf8fc;color:#81798c;font-size:.75rem;font-weight:800;white-space:nowrap;border-bottom:1px solid #eee9f4}
.nad-table tbody td{padding:.95rem 1.4rem;border-color:#f1eef4;color:#4b4553;font-size:.86rem}
.nad-role-code{display:inline-block;padding:.3rem .55rem;border-radius:.45rem;background:#f3eef9;color:#4f2683;font-size:.72rem;font-weight:800;letter-spacing:.03em}
.nad-permission-count{display:inline-block;min-width:2.4rem;padding:.25rem .5rem;border-radius:99px;background:#fff5d9;color:#89620b;font-weight:800}
.nad-empty{padding:2rem;text-align:center;color:#898293}
.nad-notice{display:flex;gap:.75rem;align-items:flex-start;margin-top:1rem;padding:1rem 1.15rem;border:1px solid #e8def3;border-radius:.85rem;background:#faf7fd;color:#655b70;font-size:.8rem;line-height:1.7}
.nad-notice strong{flex:0 0 auto;color:#4f2683}
@media(max-width:767.98px){.nad-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nad-hero{padding:1.5rem}.nad-emblem{flex-basis:58px;width:58px;height:58px;font-size:1.8rem}}
@media(max-width:479.98px){.nad-stat-grid{grid-template-columns:1fr}.nad-hero{align-items:flex-start}.nad-emblem{display:none}.nad-notice{flex-direction:column;gap:.2rem}}


/* Step 6.8.3 - Admin User Management */
.nm-eyebrow{letter-spacing:.14em}
.nm-wrap{color:#342342}.nm-hero{padding:30px 34px;border-radius:22px;background:linear-gradient(115deg,#4f2683,#79529b 65%,#a77f83);color:#fff;margin:8px 0 24px;box-shadow:0 14px 35px rgba(79,38,131,.13)}.nm-hero h1{font-weight:800;margin:8px 0}.nm-hero p{margin:0;color:rgba(255,255,255,.85)}.nm-panel{background:#fff;border:1px solid #eee7f4;border-radius:18px;box-shadow:0 8px 24px rgba(49,28,68,.045);overflow:hidden}.nm-panel-head{padding:22px 26px;border-bottom:1px solid #eee9f3}.nm-filter{padding:18px 24px;background:#fbf9fd;border-bottom:1px solid #eee9f3}.nm-table th{font-size:.86rem;color:#766b82;background:#faf8fc;white-space:nowrap}.nm-table td{vertical-align:middle}.nm-code{font-weight:800;color:#552c83;background:#f3edf9;padding:6px 10px;border-radius:8px;display:inline-block}.nm-status{font-size:.78rem;font-weight:700;border-radius:30px;padding:6px 11px}.nm-active{background:#e5f6ec;color:#167044}.nm-inactive{background:#fff0e6;color:#a34b14}.nm-role{display:inline-block;margin:2px;padding:4px 7px;border-radius:7px;background:#f5f0fa;color:#563184;font-size:.75rem;font-weight:700}.nm-muted{color:#8c8296}.nm-actions form{display:inline}.nm-foot{padding:16px 24px;color:#8a8093;font-size:.85rem;background:#fcfbfd;border-top:1px solid #f0ebf4}

/* Step 6.8.4 - Role Assignment */
.nm-actions .btn{white-space:nowrap}.nm-panel form{display:inline-block}

/* Step 6.8.5 UI refinement - compact, responsive Role Management */
.nm-role-management .nm-role-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.nm-role-management .nm-role-table{width:100%;min-width:0;table-layout:fixed}
.nm-role-management .nm-role-table .col-role-code{width:14%}
.nm-role-management .nm-role-table .col-role-name{width:38%}
.nm-role-management .nm-role-table .col-role-members{width:12%}
.nm-role-management .nm-role-table .col-role-permissions{width:14%}
.nm-role-management .nm-role-table .col-role-status{width:11%}
.nm-role-management .nm-role-table .col-role-actions{width:11%}
.nm-role-management .nm-role-table th{white-space:normal;padding:14px 12px;line-height:1.35}
.nm-role-management .nm-role-table td{padding:14px 12px;overflow-wrap:anywhere}
.nm-role-management .nm-role-table th:first-child,.nm-role-management .nm-role-table td:first-child{padding-left:22px}
.nm-role-management .nm-role-table th:last-child,.nm-role-management .nm-role-table td:last-child{text-align:right;padding-right:22px}
.nm-role-management .nm-role-name-cell{min-width:0}
.nm-role-management .nm-role-description{color:#8c8296;margin-top:3px;line-height:1.4}
.nm-role-management .nm-role-edit{margin-top:8px}
.nm-role-management .nm-role-edit summary{display:inline-block;cursor:pointer;list-style:none}
.nm-role-management .nm-role-edit summary::-webkit-details-marker{display:none}
.nm-role-management .nm-role-edit[open] summary{margin-bottom:10px}
.nm-role-management .nm-role-edit-form{display:block!important;width:100%;padding:12px;background:#fbf9fd;border:1px solid #eee7f4;border-radius:10px}
.nm-role-management .nm-role-edit-form .form-control{min-width:0}
.nm-role-management .nm-role-action-cell form{display:inline-block}
.nm-role-management .nm-role-action-cell .btn{white-space:normal;max-width:100%}
.nm-role-management .nm-role-create-form{display:block!important}
@media(max-width:1199.98px){
 .nm-role-management .nm-role-table{min-width:900px}
}
@media(max-width:767.98px){
 .nm-role-management .nm-hero{padding:22px 20px}
 .nm-role-management .nm-panel-head{padding:18px}
 .nm-role-management .nm-role-table{min-width:860px}
 .nm-role-management .nm-role-table td,.nm-role-management .nm-role-table th{padding:12px 10px}
}


/* Step 6.8.5 UI hotfix 2 — prevent left edge clipping in Role table */
.nm-role-management,
.nm-role-management .nm-panel,
.nm-role-management .nm-role-table-scroll {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}
.nm-role-management .nm-role-table-scroll {
    display: block;
    position: relative;
    inset-inline-start: 0;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    direction: ltr;
    scroll-padding-inline-start: 0;
}
.nm-role-management .nm-role-table {
    position: relative;
    inset-inline-start: 0;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    border-spacing: 0;
    border-collapse: collapse;
    min-width: 1120px;
    width: 100%;
    table-layout: fixed;
    direction: ltr;
}
.nm-role-management .nm-role-table th:first-child,
.nm-role-management .nm-role-table td:first-child {
    padding-left: 22px !important;
    text-align: left;
}
.nm-role-management .nm-role-table th:last-child,
.nm-role-management .nm-role-table td:last-child {
    padding-right: 22px !important;
}
@media (min-width: 1200px) {
    .nm-role-management .nm-role-table { min-width: 1120px; }
}


/* Step 6.8.5 UI FIX 3 — isolate horizontal scrolling to the Role table */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
.nm-role-management {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
}
.nm-role-management .nm-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.nm-role-management .nm-role-table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    direction: ltr;
}
.nm-role-management .nm-role-table {
    width: 1320px !important;
    min-width: 1320px !important;
    max-width: none;
    margin: 0 !important;
    table-layout: fixed;
    direction: ltr;
    transform: none !important;
    position: static !important;
}
.nm-role-management .nm-role-table col.col-role-code { width: 190px !important; }
.nm-role-management .nm-role-table col.col-role-name { width: 470px !important; }
.nm-role-management .nm-role-table col.col-role-members { width: 150px !important; }
.nm-role-management .nm-role-table col.col-role-permissions { width: 190px !important; }
.nm-role-management .nm-role-table col.col-role-status { width: 150px !important; }
.nm-role-management .nm-role-table col.col-role-actions { width: 170px !important; }
.nm-role-management .nm-role-table th:first-child,
.nm-role-management .nm-role-table td:first-child {
    padding-left: 18px !important;
    white-space: nowrap;
    overflow: visible;
}
.nm-role-management .nm-role-table .nm-code {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.nm-role-management .nm-role-table td {
    overflow-wrap: normal;
    word-break: normal;
}
.nm-role-management .nm-role-table .nm-role-name-cell {
    overflow-wrap: anywhere;
}
@media (min-width: 1400px) {
    .nm-role-management .nm-role-table-scroll {
        overflow-x: hidden !important;
    }
    .nm-role-management .nm-role-table {
        width: 100% !important;
        min-width: 1320px !important;
    }
}
@media (max-width: 1399.98px) {
    .nm-role-management .nm-role-table-scroll {
        overflow-x: auto !important;
    }
}

/* Step 6.8.6.1 — Permission Catalog */
.nm-permission-catalog .nm-permission-filter{display:block!important}
.nm-permission-catalog .nm-permission-filter .form-control,.nm-permission-catalog .nm-permission-filter .form-select{min-width:0}
.nm-permission-catalog .nm-permission-table{min-width:850px}
.nm-permission-catalog .nm-permission-table th{white-space:nowrap}
.nm-permission-catalog .nm-permission-table td{overflow-wrap:anywhere}
.nm-permission-catalog .nm-permission-table td:nth-child(2){min-width:210px}
.nm-permission-catalog .nm-permission-table td:nth-child(3){min-width:260px}


/* NIRC 10 public conference homepage */
.nirc-navbar-logo{width:48px;height:auto;max-height:42px;object-fit:contain;background:#fff;border-radius:6px;padding:2px}
.nirc10-hero{position:relative;isolation:isolate;overflow:hidden;min-height:570px;border-radius:24px;color:#fff;background:#28104d url('/assets/images/nirc10-poster-banner.png') center/cover no-repeat;display:flex;align-items:flex-end;box-shadow:0 18px 48px rgba(38,16,74,.22)}
.nirc10-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(30,10,63,.94) 0%,rgba(42,15,81,.82) 47%,rgba(42,15,81,.08) 100%)}
.nirc10-hero-content{width:min(780px,100%);padding:clamp(28px,5vw,62px);position:relative}
.nirc10-brandline{display:flex;align-items:center;gap:14px;margin-bottom:34px;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.08em}
.nirc10-gsbru-logo{width:210px;max-height:80px;object-fit:contain;object-position:left center;background:#fff;border-radius:8px;padding:5px}
.nirc10-eyebrow{display:inline-block;color:#ffe28b;font-size:.74rem;letter-spacing:.12em;font-weight:800}
.nirc10-title{font-size:clamp(4.5rem,10vw,8rem);font-weight:950;letter-spacing:-.075em;line-height:.98;margin:.3rem 0;color:#fff}
.nirc10-title span{color:#ffc83d;text-shadow:0 4px 18px rgba(0,0,0,.2)}
.nirc10-hero h2{font-weight:850;font-size:clamp(1.25rem,2.4vw,2rem);max-width:780px}
.nirc10-theme-th{font-size:1.12rem;font-weight:750;color:#ffe18a;margin-bottom:.35rem}
.nirc10-theme-en{max-width:670px;color:rgba(255,255,255,.88);margin-bottom:0}
.nirc10-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid var(--nirc-border);border-radius:18px;box-shadow:var(--nirc-shadow);overflow:hidden}
.nirc10-facts>div{padding:22px 26px;display:flex;flex-direction:column;border-right:1px solid var(--nirc-border)}
.nirc10-facts>div:last-child{border:0}
.nirc10-facts span,.nirc10-mini-label{font-size:.72rem;color:var(--nirc-primary-light);font-weight:850;letter-spacing:.1em}
.nirc10-facts strong{font-size:1.1rem;color:var(--nirc-primary-dark);margin:.25rem 0}
.nirc10-facts small{color:var(--nirc-muted)}
.nirc10-section-heading{margin-bottom:18px}
.nirc10-section-heading>span{font-size:.72rem;letter-spacing:.16em;font-weight:900;color:#7950a5}
.nirc10-section-heading h2{font-size:clamp(1.55rem,3vw,2.2rem);font-weight:900;color:#32145d;margin:.35rem 0}
.nirc10-section-heading p{color:var(--nirc-muted);margin:0}
.nirc10-panel,.nirc10-card,.nirc10-price-card,.nirc10-download-card{background:#fff;border:1px solid var(--nirc-border);border-radius:17px;box-shadow:var(--nirc-shadow);padding:24px}
.nirc10-theme-panel{background:linear-gradient(135deg,#35165f,#5d3290);color:#fff;display:flex;flex-direction:column;justify-content:center}
.nirc10-theme-panel h3{font-size:1.7rem;font-weight:900;margin:.6rem 0}
.nirc10-theme-panel p{color:rgba(255,255,255,.85)}
.nirc10-card{padding:22px;transition:transform .2s ease}
.nirc10-card:hover{transform:translateY(-4px)}
.nirc10-card-number{width:42px;height:42px;border-radius:13px;background:#f1eaf8;color:#4f2683;display:grid;place-items:center;font-weight:900;margin-bottom:15px}
.nirc10-card h3{font-size:1rem;font-weight:850;color:#35165f}
.nirc10-card p{font-size:.9rem;color:var(--nirc-muted);margin:0}
.nirc10-track{height:100%;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--nirc-border);border-radius:14px;padding:17px;box-shadow:var(--nirc-shadow)}
.nirc10-track span{flex:0 0 42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#4f2683;color:#fff;font-weight:900}
.nirc10-track strong{font-size:.94rem;color:#33204d}
.nirc10-table thead th{background:#f2edf8;color:#35165f;font-weight:850;white-space:nowrap}
.nirc10-table td{font-size:.94rem}
.nirc10-price-card{padding:24px;position:relative;overflow:hidden}
.nirc10-price-tag{display:inline-block;padding:6px 10px;border-radius:20px;background:#f1eaf8;color:#4f2683;font-size:.78rem;font-weight:850}
.nirc10-price-card h3{font-size:1.12rem;font-weight:850;margin:16px 0 8px;color:#35165f}
.nirc10-price{font-size:2.2rem;font-weight:950;color:#4f2683;line-height:1.25}
.nirc10-price small{font-size:.9rem;font-weight:700}
.nirc10-price-card p{color:var(--nirc-muted);margin:7px 0}
.nirc10-price-alt{border-top:1px solid var(--nirc-border);padding-top:12px;font-weight:800;color:#35165f}
.nirc10-price-featured{border:2px solid #e2b532;background:linear-gradient(180deg,#fffdf4,#fff)}
.nirc10-free-card{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;padding:18px 22px;background:#f4eff9;border-radius:14px;color:#35165f}
.nirc10-free-card strong{margin-right:auto}
.nirc10-download-card{display:flex;align-items:center;justify-content:space-between;gap:14px;height:100%}
.nirc10-download-card>div{display:flex;align-items:center;gap:13px}
.nirc10-download-card small{display:block;color:var(--nirc-muted);margin-top:4px}
.nirc10-download-lang{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#4f2683;color:#fff;font-weight:900}
.nirc10-contact-main{background:linear-gradient(145deg,#35165f,#5f3692);border-radius:18px;padding:28px;color:#fff;box-shadow:var(--nirc-shadow)}
.nirc10-contact-main h3{font-size:1.7rem;font-weight:900}
.nirc10-contact-main p{color:rgba(255,255,255,.82)}
.nirc10-contact-main a{display:block;color:#ffe18a;font-weight:800;margin:.6rem 0}
.nirc10-contact-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.nirc10-contact-list>div{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid var(--nirc-border)}
.nirc10-contact-list strong{font-size:.9rem;color:#34204f}
.nirc10-contact-list a{font-weight:750;font-size:.9rem}
.nirc10-closing{padding:42px 24px;border-radius:22px;background:linear-gradient(130deg,#2d1054,#5a318b);color:#fff}
.nirc10-footer-logo{width:min(230px,65%);max-height:88px;object-fit:contain;background:#fff;border-radius:8px;padding:6px;margin-bottom:18px}
.nirc10-closing>span{display:block;color:#ffe18a;font-size:.7rem;font-weight:850;letter-spacing:.12em}
.nirc10-closing h2{font-size:3.8rem;font-weight:950;margin:.25rem 0}
.nirc10-closing p{color:rgba(255,255,255,.82)}
@media(max-width:767.98px){
 .nirc10-hero{min-height:560px;background-position:62% center}
 .nirc10-hero:before{background:linear-gradient(90deg,rgba(30,10,63,.94),rgba(42,15,81,.72))}
 .nirc10-brandline{align-items:flex-start;flex-direction:column;margin-bottom:24px}
 .nirc10-gsbru-logo{width:175px}
 .nirc10-facts{grid-template-columns:1fr}
 .nirc10-facts>div{border-right:0;border-bottom:1px solid var(--nirc-border);padding:16px 20px}
 .nirc10-contact-list{grid-template-columns:1fr}
 .nirc10-download-card{align-items:flex-start;flex-direction:column}
}


/* NIRC 10 registration fee cards - premium conference pricing */
.nirc10-hero sup,.nirc10-closing sup{font-size:.42em;vertical-align:super;line-height:0}
.nirc10-fee-intro{display:flex;align-items:center;gap:17px;padding:20px 24px;margin-bottom:25px;border-radius:18px;background:linear-gradient(105deg,#32115f,#58308b);color:#fff;box-shadow:0 12px 30px rgba(48,17,91,.17)}
.nirc10-fee-intro-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.15);font-size:1.55rem;color:#ffdb72}
.nirc10-fee-intro>div:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}
.nirc10-fee-intro>div:nth-child(2) strong{font-size:1.02rem}
.nirc10-fee-intro>div:nth-child(2) span{font-size:.86rem;color:rgba(255,255,255,.78)}
.nirc10-fee-intro-date{display:flex;flex-direction:column;text-align:right;padding-left:18px;border-left:1px solid rgba(255,255,255,.25)}
.nirc10-fee-intro-date small{color:#ffdf83}
.nirc10-fee-intro-date b{font-size:1.05rem}
.nirc10-fee-card{position:relative;display:flex;flex-direction:column;padding:24px 22px 20px;border:1px solid #e8e1f0;border-radius:20px;box-shadow:0 10px 28px rgba(44,20,73,.08);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.nirc10-fee-card:hover{transform:translateY(-7px);box-shadow:0 18px 38px rgba(44,20,73,.16);border-color:#bda3d7}
.nirc10-fee-card-top{display:flex;justify-content:space-between;align-items:center}
.nirc10-fee-pill{font-size:.76rem;font-weight:850;padding:6px 12px;border-radius:30px;color:#4d277b;background:#f0e8f8}
.nirc10-fee-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#f6f0fb;color:#542c83;font-size:1.2rem}
.nirc10-fee-kind{font-size:.68rem;font-weight:900;letter-spacing:.13em;color:#8b6ba9;margin-top:19px}
.nirc10-fee-card h3{font-size:1.22rem;font-weight:900;color:#32145d;margin:5px 0}
.nirc10-fee-desc{min-height:25px;color:#7d7487;font-size:.84rem;margin:0 0 18px}
.nirc10-fee-price-label{font-size:.82rem;color:#6e6479;font-weight:750}
.nirc10-fee-card .nirc10-price{font-size:2.75rem;letter-spacing:-.06em;font-weight:950;color:#4c237b;line-height:1.12;margin:5px 0 18px}
.nirc10-fee-card .nirc10-price small{font-size:.95rem;letter-spacing:0;color:#76688a}
.nirc10-fee-onsite{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #eee8f3;padding:14px 0 17px;margin-top:auto;font-size:.82rem;color:#70667a}
.nirc10-fee-onsite i{color:#9a7a22}
.nirc10-fee-onsite strong{margin-left:auto;color:#32145d;font-size:.98rem}
.nirc10-fee-button{border:1px solid #4b2378;background:#fff;color:#4b2378;border-radius:11px;font-size:.87rem;font-weight:850;padding:11px 12px}
.nirc10-fee-button:hover,.nirc10-fee-button:focus{background:#4b2378;color:#fff}
.nirc10-fee-button i{margin-left:5px}
.nirc10-fee-international{border:2px solid #d9b44e;background:linear-gradient(160deg,#fffdf5,#fff 65%)}
.nirc10-fee-international .nirc10-fee-pill{background:#fff0c3;color:#76530a}
.nirc10-fee-international .nirc10-fee-icon{background:#fff4d4;color:#986d0a}
.nirc10-fee-international .nirc10-fee-kind{color:#a17a20}
.nirc10-fee-international .nirc10-price{color:#895e08}
.nirc10-fee-international .nirc10-fee-button{border-color:#9b741c;color:#805d12}
.nirc10-fee-international .nirc10-fee-button:hover{background:#805d12;color:#fff}
.nirc10-fee-ribbon{position:absolute;right:-35px;top:13px;transform:rotate(38deg);background:#d9b44e;color:#3b2600;font-size:.58rem;font-weight:950;letter-spacing:.1em;padding:5px 38px}
.nirc10-participant-card{display:flex;align-items:center;gap:17px;padding:20px 24px;border-radius:18px;background:linear-gradient(100deg,#f2edf8,#fff);border:1px solid #e5d9ef}
.nirc10-participant-icon{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border-radius:15px;background:#4d267d;color:#fff;font-size:1.35rem}
.nirc10-participant-card>div:nth-child(2){display:flex;flex-direction:column;gap:4px}
.nirc10-participant-card>div:nth-child(2) strong{color:#32145d;font-weight:900}
.nirc10-participant-card>div:nth-child(2) span{font-size:.84rem;color:#746b7e}
.nirc10-participant-options{display:flex;gap:10px}
.nirc10-participant-options span{display:flex;gap:8px;align-items:center;padding:9px 13px;border-radius:12px;background:#fff;color:#57466b;font-size:.84rem}
.nirc10-participant-options b{color:#16834b;font-size:1rem}
.nirc10-journal-fees{padding:25px;border-radius:20px;background:#fff;border:1px solid #e8e1f0;box-shadow:0 10px 28px rgba(44,20,73,.07)}
.nirc10-journal-heading{display:flex;align-items:center;gap:15px;margin-bottom:18px}
.nirc10-journal-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;border-radius:15px;background:#f0e8f8;color:#4d267d;font-size:1.35rem}
.nirc10-journal-heading>div>span{font-size:.68rem;letter-spacing:.14em;font-weight:900;color:#8b6ba9}
.nirc10-journal-heading h3{font-size:1.25rem;font-weight:900;color:#32145d;margin:3px 0}
.nirc10-journal-heading p{font-size:.84rem;color:#7d7487;margin:0}
.nirc10-journal-table thead th{background:#f2edf8;color:#35165f;white-space:nowrap;font-size:.86rem}
.nirc10-journal-table td{font-size:.87rem}
@media(max-width:767.98px){
 .nirc10-fee-intro{align-items:flex-start;flex-wrap:wrap;padding:18px}
 .nirc10-fee-intro-date{width:100%;text-align:left;border-left:0;border-top:1px solid rgba(255,255,255,.25);padding:12px 0 0}
 .nirc10-participant-card{align-items:flex-start;flex-wrap:wrap;padding:18px}
 .nirc10-participant-options{width:100%;flex-wrap:wrap}
 .nirc10-journal-fees{padding:17px}
}


/* Visual refresh: high-contrast, premium pricing section */
#fees{position:relative;padding:clamp(28px,4vw,52px) clamp(14px,2vw,24px);border-radius:30px;background:radial-gradient(circle at 8% 5%,rgba(244,199,83,.16),transparent 25%),radial-gradient(circle at 94% 90%,rgba(103,61,158,.13),transparent 28%),linear-gradient(145deg,#f7f3fb 0%,#fffaf0 100%);overflow:hidden}
#fees:before{content:"";position:absolute;top:-110px;right:-80px;width:290px;height:290px;border:1px solid rgba(104,66,153,.13);border-radius:50%;box-shadow:0 0 0 24px rgba(104,66,153,.035),0 0 0 50px rgba(104,66,153,.025);pointer-events:none}
#fees>.nirc10-section-heading{position:relative;margin-bottom:30px}
#fees>.nirc10-section-heading>span{display:inline-block;padding:7px 15px;border-radius:30px;background:#eadff5;color:#4d267d;letter-spacing:.16em}
#fees>.nirc10-section-heading h2{font-size:clamp(1.8rem,3.5vw,2.65rem);color:#2e1055;text-shadow:0 2px 0 #fff}
#fees>.nirc10-section-heading p{font-size:1rem;color:#6f647d}
.nirc10-fee-intro{position:relative;border:1px solid rgba(255,255,255,.24);box-shadow:0 16px 38px rgba(46,16,85,.22);background:linear-gradient(105deg,#261047 0%,#51277e 58%,#7650a0 100%);padding:22px 28px}
.nirc10-fee-intro:after{content:"NIRC 10";font-size:3.8rem;font-weight:950;letter-spacing:-.08em;color:rgba(255,255,255,.07);position:absolute;right:22px;bottom:-12px;pointer-events:none}
.nirc10-fee-intro-icon{background:linear-gradient(145deg,#ffdf83,#e5ad30);color:#38165f;box-shadow:0 5px 18px rgba(0,0,0,.18)}
.nirc10-fee-intro>div:nth-child(2) strong{font-size:1.08rem;color:#fff}
.nirc10-fee-intro>div:nth-child(2) span{color:#e8dff1}
.nirc10-fee-intro-date{position:relative;z-index:1}
.nirc10-fee-grid{position:relative}
.nirc10-fee-card{min-height:365px;padding:25px 23px 22px;border:1px solid #e6dced;border-radius:22px;background:linear-gradient(160deg,#fff 0%,#fbf8ff 100%);box-shadow:0 13px 32px rgba(52,24,82,.10);overflow:hidden}
.nirc10-fee-card:before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:linear-gradient(90deg,#4c237b,#9873bb)}
.nirc10-fee-card:after{content:"";position:absolute;width:130px;height:130px;right:-65px;top:75px;border-radius:50%;background:rgba(94,52,139,.045);pointer-events:none}
.nirc10-fee-card:hover{transform:translateY(-9px);box-shadow:0 22px 44px rgba(52,24,82,.18);border-color:#b99bd4}
.nirc10-fee-card-top{position:relative;z-index:1}
.nirc10-fee-pill{padding:7px 13px;background:#eee5f7;color:#48216f;border:1px solid #dfd0ed;font-size:.8rem}
.nirc10-fee-icon{width:auto;min-width:56px;height:35px;padding:0 10px;border-radius:9px;background:#f3edf8;color:#5a3382;font-size:.66rem;font-weight:950;letter-spacing:.08em}
.nirc10-fee-kind{margin-top:21px;color:#9679b0;font-size:.69rem}
.nirc10-fee-card h3{font-size:1.27rem;margin:7px 0 5px;color:#32145d}
.nirc10-fee-desc{font-size:.86rem;color:#7b7185;margin-bottom:17px}
.nirc10-fee-price-label{display:flex;align-items:center;gap:7px;color:#6e607d;font-size:.78rem;font-weight:800}
.nirc10-fee-price-label:before{content:"";width:7px;height:7px;border-radius:50%;background:#d5a62e;box-shadow:0 0 0 4px rgba(213,166,46,.15)}
.nirc10-fee-card .nirc10-price{font-size:clamp(2.65rem,3vw,3.2rem);color:#4a2079;margin:6px 0 16px;line-height:1;font-weight:950;text-shadow:0 2px 0 #f2eaf8}
.nirc10-fee-card .nirc10-price small{font-size:.9rem;color:#806e91}
.nirc10-fee-onsite{padding:13px 0 15px;border-top:1px dashed #d9cde4;color:#6f647b;font-size:.81rem}
.nirc10-fee-onsite strong{color:#32145d;font-size:1rem}
.nirc10-fee-button{background:linear-gradient(100deg,#4b2378,#6b4294);color:#fff;border:0;border-radius:12px;padding:12px 10px;box-shadow:0 7px 15px rgba(75,35,120,.18);font-size:.85rem}
.nirc10-fee-button:hover,.nirc10-fee-button:focus{background:linear-gradient(100deg,#2d104f,#4b2378);color:#ffdf83;transform:translateY(-1px)}
.nirc10-fee-international{border:2px solid #d7ad45;background:linear-gradient(155deg,#fff8df 0%,#fff 42%,#fffaf0 100%);box-shadow:0 16px 36px rgba(151,106,20,.14)}
.nirc10-fee-international:before{height:8px;background:linear-gradient(90deg,#c08a18,#f2d77c,#b77c13)}
.nirc10-fee-international .nirc10-fee-pill{background:#ffedbd;border-color:#f0d98f;color:#78530b}
.nirc10-fee-international .nirc10-fee-icon{background:#f8e9b9;color:#80590d}
.nirc10-fee-international .nirc10-fee-kind{color:#9c761d}
.nirc10-fee-international h3{color:#563a08}
.nirc10-fee-international .nirc10-price{color:#9a6807;text-shadow:0 2px 0 #fff1c9}
.nirc10-fee-international .nirc10-fee-price-label:before{background:#c18c1d;box-shadow:0 0 0 4px rgba(193,140,29,.15)}
.nirc10-fee-international .nirc10-fee-onsite strong{color:#6c4b0a}
.nirc10-fee-international .nirc10-fee-button{background:linear-gradient(100deg,#a8750c,#d2a536);color:#2c1b00;box-shadow:0 7px 16px rgba(168,117,12,.22)}
.nirc10-fee-international .nirc10-fee-button:hover{background:linear-gradient(100deg,#805609,#b8861c);color:#fff}
.nirc10-fee-ribbon{right:-32px;top:15px;z-index:2;background:linear-gradient(90deg,#d4a32b,#f5d77e);color:#442d05;box-shadow:0 3px 9px rgba(0,0,0,.12)}
.nirc10-participant-card{background:linear-gradient(100deg,#2e1055,#563181);border:0;color:#fff;box-shadow:0 12px 28px rgba(46,16,85,.17);padding:22px 25px}
.nirc10-participant-icon{background:linear-gradient(145deg,#ffdf83,#d6a32d);color:#35145c}
.nirc10-participant-card>div:nth-child(2) strong{color:#fff;font-size:1.03rem}
.nirc10-participant-card>div:nth-child(2) span{color:#e5d9ef}
.nirc10-participant-options span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);color:#fff}
.nirc10-participant-options b{color:#ffdf83}
.nirc10-journal-fees{border-radius:22px;border-color:#e6dced;box-shadow:0 13px 32px rgba(52,24,82,.08)}
.nirc10-journal-icon{background:linear-gradient(145deg,#4b2378,#7852a0);color:#ffdf83}
.nirc10-journal-heading h3{color:#32145d}
.nirc10-journal-table thead th{background:#32145d;color:#fff}
.nirc10-journal-table tbody tr:nth-child(even){background:#faf7fd}
.nirc10-journal-table tbody td:last-child{color:#4b2378}
@media(max-width:767.98px){
 #fees{padding:24px 12px;border-radius:20px}
 .nirc10-fee-intro{padding:18px}
 .nirc10-fee-intro:after{font-size:2.5rem}
 .nirc10-fee-card{min-height:0}
 .nirc10-fee-card .nirc10-price{font-size:2.7rem}
 .nirc10-participant-card{gap:12px}
 .nirc10-participant-options span{flex:1;justify-content:center}
}


/* NIRC 10 homepage - soft pastel visual theme */
:root{
 --nirc-pastel-lilac:#eee7f8;
 --nirc-pastel-lavender:#dcd0ef;
 --nirc-pastel-pink:#f9e6ef;
 --nirc-pastel-peach:#ffeddf;
 --nirc-pastel-yellow:#fff4cf;
 --nirc-pastel-mint:#e1f2eb;
 --nirc-pastel-blue:#e5effb;
 --nirc-pastel-ink:#39265a;
}
body{background:#fcfaff}
.nirc10-hero{
 background-color:#cbb9e4;
 box-shadow:0 18px 48px rgba(100,75,135,.14);
}
.nirc10-hero:before{
 background:linear-gradient(90deg,rgba(54,35,89,.82) 0%,rgba(74,53,112,.57) 48%,rgba(74,53,112,.04) 100%);
}
.nirc10-hero .nirc10-title span{color:#ffe5a5}
.nirc10-theme-th{color:#ffe8ad}
.nirc10-facts{
 background:linear-gradient(110deg,#fff 0%,#fbf7ff 38%,#fffaf3 100%);
 border-color:#eee5f5;
 box-shadow:0 12px 32px rgba(91,68,125,.08);
}
.nirc10-facts>div:nth-child(1){background:linear-gradient(145deg,#fff,#f6effc)}
.nirc10-facts>div:nth-child(2){background:linear-gradient(145deg,#fff,#eef5ff)}
.nirc10-facts>div:nth-child(3){background:linear-gradient(145deg,#fff,#fff5e8)}
.nirc10-section-heading>span{
 background:#f0e9fa;color:#79599e;border:1px solid #e5d9f2;
}
.nirc10-section-heading h2{color:#493267}
.nirc10-panel,.nirc10-card,.nirc10-download-card{
 border-color:#eee6f4;
 box-shadow:0 10px 26px rgba(91,68,125,.065);
}
.nirc10-panel:nth-child(odd){background:linear-gradient(145deg,#fff,#fcf8ff)}
.nirc10-theme-panel{
 background:linear-gradient(135deg,#9d84c4 0%,#b49bd4 55%,#d0bce7 100%);
 color:#34234e;
}
.nirc10-theme-panel .nirc10-mini-label{color:#fff}
.nirc10-theme-panel p{color:#4d3d63}
.nirc10-card:nth-child(1){background:linear-gradient(145deg,#fff,#f7effb)}
.nirc10-card:nth-child(2){background:linear-gradient(145deg,#fff,#eef5ff)}
.nirc10-card:nth-child(3){background:linear-gradient(145deg,#fff,#fff4e9)}
.nirc10-card:nth-child(4){background:linear-gradient(145deg,#fff,#edf7f2)}
.nirc10-card:nth-child(5){background:linear-gradient(145deg,#fff,#fff5f7)}
.nirc10-card-number{background:#eee5f7;color:#674b8c}
.nirc10-card h3{color:#493267}
.nirc10-track:nth-child(3n+1){background:linear-gradient(110deg,#fff,#f7effb)}
.nirc10-track:nth-child(3n+2){background:linear-gradient(110deg,#fff,#eef5ff)}
.nirc10-track:nth-child(3n){background:linear-gradient(110deg,#fff,#fff5e8)}
.nirc10-track span{background:#a68bc9;color:#fff}
.nirc10-table thead th{background:#eee7f7;color:#55406f}
.nirc10-table tbody tr:nth-child(even){background:#fcf9ff}
.nirc10-closing{
 background:linear-gradient(120deg,#9b83bd 0%,#b7a0d5 48%,#d3c2e7 100%);
 color:#34234e;box-shadow:0 15px 36px rgba(91,68,125,.12)
}
.nirc10-closing>span,.nirc10-closing p{color:#fff}
.nirc10-closing .btn-outline-light{color:#493267;border-color:#fff;background:rgba(255,255,255,.45)}
.nirc-navbar-logo{box-shadow:0 2px 8px rgba(65,43,91,.08)}
/* Pastel fee cards */
#fees{
 background:
  radial-gradient(circle at 8% 5%,rgba(242,220,249,.9),transparent 28%),
  radial-gradient(circle at 92% 12%,rgba(255,235,207,.85),transparent 25%),
  radial-gradient(circle at 82% 92%,rgba(216,235,249,.9),transparent 27%),
  linear-gradient(145deg,#fbf8ff 0%,#fffaf6 52%,#f5faff 100%);
}
#fees:before{border-color:rgba(160,132,190,.16);box-shadow:0 0 0 24px rgba(210,190,230,.06),0 0 0 50px rgba(210,190,230,.035)}
#fees>.nirc10-section-heading>span{background:#f0e8f8;color:#80649f;border-color:#e9def2}
#fees>.nirc10-section-heading h2{color:#493267;text-shadow:none}
.nirc10-fee-intro{
 background:linear-gradient(105deg,#9b83bd 0%,#b6a0d2 56%,#d5c2e8 100%);
 color:#34234e;box-shadow:0 12px 28px rgba(111,83,145,.14);border-color:rgba(255,255,255,.7)
}
.nirc10-fee-intro-icon{background:#fff0c9;color:#795b91;box-shadow:none}
.nirc10-fee-intro>div:nth-child(2) strong{color:#34234e}
.nirc10-fee-intro>div:nth-child(2) span{color:#58486d}
.nirc10-fee-intro-date small{color:#fff}
.nirc10-fee-intro-date b{color:#34234e}
.nirc10-fee-intro:after{color:rgba(255,255,255,.17)}
.nirc10-fee-card{
 border:1px solid #e9e0f1;
 background:linear-gradient(155deg,#fff 0%,#faf6ff 100%);
 box-shadow:0 11px 27px rgba(103,78,133,.09)
}
.nirc10-fee-card:before{background:linear-gradient(90deg,#c6b1df,#e5d8f1)}
.nirc10-fee-card:nth-child(1){background:linear-gradient(155deg,#fff 0%,#f6effb 100%)}
.nirc10-fee-card:nth-child(2){background:linear-gradient(155deg,#fff 0%,#eef5fd 100%)}
.nirc10-fee-card:nth-child(3){background:linear-gradient(155deg,#fff 0%,#fff7e9 100%)}
.nirc10-fee-card:nth-child(4){background:linear-gradient(155deg,#fff 0%,#fdf0f5 100%)}
.nirc10-fee-pill{background:#f0e8f8;color:#70548f;border-color:#e7dcef}
.nirc10-fee-icon{background:#f4eef9;color:#82699e}
.nirc10-fee-kind{color:#9b83b6}
.nirc10-fee-card h3{color:#493267}
.nirc10-fee-card .nirc10-price{color:#795a9e;text-shadow:none}
.nirc10-fee-onsite{border-color:#eee5f3;color:#796d86}
.nirc10-fee-onsite strong{color:#493267}
.nirc10-fee-button{background:linear-gradient(100deg,#a38abd,#c0add8);color:#fff;box-shadow:0 6px 14px rgba(133,105,167,.17)}
.nirc10-fee-button:hover,.nirc10-fee-button:focus{background:linear-gradient(100deg,#80659f,#a38abd);color:#fff}
.nirc10-fee-international{
 border:2px solid #ead7a4;
 background:linear-gradient(155deg,#fffdf6 0%,#fff7e4 100%);
 box-shadow:0 13px 30px rgba(173,143,79,.12)
}
.nirc10-fee-international:before{background:linear-gradient(90deg,#e8cf8e,#f5e6bd,#e7d19c)}
.nirc10-fee-international .nirc10-fee-pill{background:#fff0c9;border-color:#f0e0b7;color:#94752d}
.nirc10-fee-international .nirc10-fee-icon{background:#fff1d4;color:#aa8a48}
.nirc10-fee-international .nirc10-fee-kind{color:#b09354}
.nirc10-fee-international h3{color:#66512b}
.nirc10-fee-international .nirc10-price{color:#a17c34;text-shadow:none}
.nirc10-fee-international .nirc10-fee-price-label:before{background:#d6b66c;box-shadow:0 0 0 4px rgba(214,182,108,.16)}
.nirc10-fee-international .nirc10-fee-onsite strong{color:#806532}
.nirc10-fee-international .nirc10-fee-button{background:linear-gradient(100deg,#d4b875,#e7d39f);color:#5c4824;box-shadow:0 6px 14px rgba(173,143,79,.15)}
.nirc10-fee-international .nirc10-fee-button:hover{background:linear-gradient(100deg,#b89a5d,#d4b875);color:#fff}
.nirc10-fee-ribbon{background:linear-gradient(90deg,#e5cf98,#f5e7bf);color:#75602f;box-shadow:none}
.nirc10-participant-card{
 background:linear-gradient(100deg,#a18abd,#c1add9);color:#34234e;
 box-shadow:0 10px 24px rgba(112,85,145,.13)
}
.nirc10-participant-icon{background:#fff0c9;color:#9275a9}
.nirc10-participant-card>div:nth-child(2) strong{color:#34234e}
.nirc10-participant-card>div:nth-child(2) span{color:#554669}
.nirc10-participant-options span{background:rgba(255,255,255,.55);border-color:rgba(255,255,255,.75);color:#554669}
.nirc10-participant-options b{color:#548a70}
.nirc10-journal-fees{background:linear-gradient(145deg,#fff,#fbf8ff);border-color:#e9e0f1}
.nirc10-journal-icon{background:#eee5f7;color:#8a70a9}
.nirc10-journal-heading h3{color:#493267}
.nirc10-journal-table thead th{background:#e9e0f2;color:#55406f}
.nirc10-journal-table tbody tr:nth-child(even){background:#fcf9ff}
.nirc10-journal-table tbody td:last-child{color:#795a9e}


/* NIRC 10 - richer pastel palette (deeper contrast, still soft) */
:root{
 --nirc-pastel-ink:#33234f;
 --nirc-pastel-plum:#76559b;
 --nirc-pastel-lavender:#bca5d8;
 --nirc-pastel-rose:#d9a6bd;
 --nirc-pastel-teal:#83b7b0;
 --nirc-pastel-butter:#e8ca7c;
}
body{background:#f7f4fb;color:#332b43}
.nirc-navbar{background:linear-gradient(100deg,#46305f 0%,#65477f 55%,#80628e 100%)}
.navbar-dark .navbar-nav .nav-link{color:#fff;opacity:.96}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus{color:#ffe6a5}
.navbar-dark .navbar-nav .nav-link.active{color:#ffe6a5;font-weight:800}
.nirc10-section-heading>span{background:#e3d6f0;color:#5a3d79;border-color:#d4c1e5}
.nirc10-section-heading h2{color:#3e2b5a}
.nirc10-hero:before{background:linear-gradient(90deg,rgba(48,31,72,.88) 0%,rgba(68,47,95,.68) 48%,rgba(68,47,95,.08) 100%)}
.nirc10-theme-panel{background:linear-gradient(135deg,#8f75b1,#b19acb 65%,#d0bddf)}
.nirc10-closing{background:linear-gradient(120deg,#80649e 0%,#a58bbd 52%,#c6b1d7 100%)}
#fees{background:
 radial-gradient(circle at 8% 5%,rgba(218,199,235,.9),transparent 28%),
 radial-gradient(circle at 92% 12%,rgba(249,224,188,.9),transparent 25%),
 radial-gradient(circle at 82% 92%,rgba(193,222,222,.9),transparent 27%),
 linear-gradient(145deg,#f5effa 0%,#fff8f1 52%,#eff7f7 100%)}
.nirc10-fee-intro{background:linear-gradient(105deg,#604579 0%,#82649e 56%,#a58ab7 100%);color:#fff}
.nirc10-fee-intro>div:nth-child(2) strong{color:#fff}
.nirc10-fee-intro>div:nth-child(2) span{color:#f0e8f5}
.nirc10-fee-card{border-color:#d9cbe7;box-shadow:0 13px 30px rgba(72,48,98,.12)}
.nirc10-fee-card:before{background:linear-gradient(90deg,#82649e,#c0a9d8)}
.nirc10-fee-card:nth-child(1){background:linear-gradient(155deg,#fff 0%,#eee5f7 100%)}
.nirc10-fee-card:nth-child(2){background:linear-gradient(155deg,#fff 0%,#e4eef8 100%)}
.nirc10-fee-card:nth-child(3){background:linear-gradient(155deg,#fffdf7 0%,#f8edcf 100%)}
.nirc10-fee-card:nth-child(4){background:linear-gradient(155deg,#fff 0%,#f5e4ec 100%)}
.nirc10-fee-pill{background:#e5d9f0;color:#553b72;border-color:#d5c3e5}
.nirc10-fee-icon{background:#e8def1;color:#62477f}
.nirc10-fee-card h3{color:#3f2b5a}
.nirc10-fee-card .nirc10-price{color:#634282}
.nirc10-fee-button{background:linear-gradient(100deg,#72538f,#987bb0);color:#fff}
.nirc10-fee-button:hover,.nirc10-fee-button:focus{background:linear-gradient(100deg,#52376f,#76559b);color:#fff}
.nirc10-fee-international{border-color:#dfc47e;background:linear-gradient(155deg,#fffdf7 0%,#f7ebc9 100%)}
.nirc10-fee-international:before{background:linear-gradient(90deg,#d0ae5f,#f0d993,#d0ae5f)}
.nirc10-fee-international .nirc10-fee-pill{background:#f5e5b6;color:#71551b;border-color:#e9d38f}
.nirc10-fee-international .nirc10-price{color:#87651d}
.nirc10-fee-international .nirc10-fee-button{background:linear-gradient(100deg,#b38e43,#d3b66e);color:#392a0c}
.nirc10-participant-card{background:linear-gradient(100deg,#82669f,#aa91c0);color:#fff}
.nirc10-participant-card>div:nth-child(2) strong{color:#fff}
.nirc10-participant-card>div:nth-child(2) span{color:#f4edf8}
.nirc10-participant-options span{background:rgba(255,255,255,.22);color:#fff;border-color:rgba(255,255,255,.35)}
.nirc10-participant-options b{color:#fff0b9}
.nirc10-journal-table thead th{background:#70548c;color:#fff}
.nirc10-download-card{padding:24px;border:1px solid #dfd2e9;border-radius:20px;background:linear-gradient(145deg,#fff,#f2eafa);box-shadow:0 12px 28px rgba(72,48,98,.09)}
.nirc10-download-card-ready:nth-child(odd){background:linear-gradient(145deg,#fff,#f3eafa)}
.nirc10-download-card-head{display:flex;align-items:center;gap:15px}
.nirc10-download-card-head>div{display:flex;flex-direction:column;gap:4px}
.nirc10-download-card-head strong{font-size:1.08rem;color:#3e2b5a}
.nirc10-download-card-head small{color:#786b88}
.nirc10-download-lang{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;border-radius:16px;background:#d9c6eb;color:#4d326b;font-weight:950;font-size:1.15rem}
.nirc10-download-lang-en{background:#d1e5e5;color:#315e61}
.nirc10-download-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.nirc10-download-btn{border:0;border-radius:10px;padding:10px 14px;background:#72538f;color:#fff;font-size:.86rem;font-weight:800}
.nirc10-download-btn:hover,.nirc10-download-btn:focus{background:#52376f;color:#fff}
.nirc10-download-btn-secondary{background:#dce9ed;color:#365c65}
.nirc10-download-btn-secondary:hover,.nirc10-download-btn-secondary:focus{background:#bfd9dc;color:#29484f}
.nirc10-download-note{margin:14px 0 0;color:#786b88;font-size:.82rem}
@media(max-width:767.98px){
 .nirc10-download-card{padding:18px}
 .nirc10-download-actions .btn{width:100%}
}


/* Official NIRC 10 publicity poster */
.nirc10-publicity-section{scroll-margin-top:96px}
.nirc10-publicity-card{overflow:hidden;border:1px solid #d8c5e8;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f1e8f8 58%,#f8eddf 100%);box-shadow:0 18px 42px rgba(61,39,86,.14)}
.nirc10-publicity-image-link{display:block;padding:clamp(10px,2vw,22px);text-align:center;background:linear-gradient(135deg,#f2eaf8,#fff8eb)}
.nirc10-publicity-image{display:block;width:100%;height:auto;max-height:920px;object-fit:contain;border-radius:14px;box-shadow:0 10px 28px rgba(38,26,55,.12)}
.nirc10-publicity-caption{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;background:linear-gradient(100deg,#4e356a,#74528e)}
.nirc10-publicity-caption>div{display:flex;flex-direction:column;gap:3px}
.nirc10-publicity-caption strong{color:#fff;font-size:1.05rem}
.nirc10-publicity-caption span{color:#f1e7f8;font-size:.88rem}
.nirc10-publicity-caption small{color:#e1d3eb}
.nirc10-publicity-download{flex:0 0 auto;border:0;border-radius:12px;background:#f0d58f;color:#47351a;font-weight:800;padding:11px 17px}
.nirc10-publicity-download:hover,.nirc10-publicity-download:focus{background:#ffe6a9;color:#38280f}
@media(max-width:575.98px){.nirc10-publicity-caption{align-items:stretch;flex-direction:column}.nirc10-publicity-download{width:100%}}


/* Homepage display correction: remove the wrong GSBRU-only banner from hero */
main.container > .nirc10-hero,
main.container > .nirc10-facts{
    width:100%;
    max-width:none;
}
.nirc10-hero{
    min-height:clamp(420px,42vw,560px);
    background-image:linear-gradient(115deg,#392253 0%,#65477f 52%,#a68fbb 100%) !important;
    background-position:center;
    background-size:cover;
}
.nirc10-hero:before{
    background:
      radial-gradient(circle at 82% 20%,rgba(255,231,177,.18),transparent 28%),
      linear-gradient(100deg,rgba(45,27,67,.28),rgba(65,43,88,.04)) !important;
}
.nirc10-hero-content{
    width:min(900px,100%);
    max-width:100%;
}
.nirc10-brandline{
    display:flex;
    align-items:center;
    flex-direction:row;
    gap:16px;
    margin-bottom:30px;
}
.nirc10-gsbru-logo{
    width:190px;
    max-height:78px;
    object-fit:contain;
}
.nirc10-hero .nirc10-title{
    font-size:clamp(4rem,8vw,7rem);
    line-height:.95;
    margin:.2rem 0 .8rem;
}
.nirc10-hero h2{
    color:#fff;
    max-width:820px;
    line-height:1.35;
    text-shadow:0 2px 12px rgba(0,0,0,.18);
}
.nirc10-theme-th,.nirc10-theme-en{
    color:#fff;
    line-height:1.65;
}
.nirc10-facts{
    width:100%;
    max-width:none;
}
@media(max-width:767.98px){
    .nirc10-hero{min-height:500px}
    .nirc10-brandline{align-items:flex-start;flex-direction:column}
    .nirc10-gsbru-logo{width:165px}
    .nirc10-hero .nirc10-title{font-size:clamp(3.8rem,16vw,5.5rem)}
}
