.i4s-staff-panel {
    --i4s-staff-ink: #10202d;
    --i4s-staff-muted: #536372;
    --i4s-staff-navy: #061d33;
    --i4s-staff-blue: #0b2a46;
    --i4s-staff-gold: #b08a5b;
    --i4s-staff-gold-light: #d7b47f;
    --i4s-staff-paper: #ffffff;
    --i4s-staff-canvas: #f3f6f8;
    --i4s-staff-line: #d9e1e7;
    box-sizing: border-box;
    max-width: 1320px;
    width: min(100%, 1320px);
    margin: 20px auto;
    color: var(--i4s-staff-ink);
    font-family: inherit;
    letter-spacing: 0;
}

.i4s-staff-panel *,
.i4s-staff-panel *::before,
.i4s-staff-panel *::after {
    box-sizing: border-box;
}

.i4s-staff-panel [hidden] {
    display: none !important;
}

.i4s-staff-panel h2,
.i4s-staff-panel p {
    margin: 0;
    letter-spacing: 0;
}

.i4s-staff-panel button,
.i4s-staff-panel input,
.i4s-staff-panel select,
.i4s-staff-panel textarea {
    font: inherit;
    letter-spacing: 0;
}

.i4s-staff-panel-shell {
    overflow: hidden;
    border: 1px solid rgba(6, 29, 51, 0.18);
    border-radius: 8px;
    background: var(--i4s-staff-canvas);
    box-shadow: 0 18px 44px rgba(6, 29, 51, 0.14);
}

.i4s-staff-panel-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 128px;
    padding: 26px 30px;
    background: var(--i4s-staff-navy);
    color: #fff;
}

.i4s-staff-panel-hero > div {
    min-width: 0;
}

.i4s-staff-panel-kicker {
    margin-bottom: 5px;
    color: var(--i4s-staff-gold-light);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel :where(
    .i4s-staff-panel-module-head,
    .i4s-staff-panel-subpanel,
    .i4s-staff-panel-card,
    .i4s-staff-panel-empty,
    .i4s-staff-panel-item,
    .i4s-client-panel-card,
    .i4s-client-panel-staff-head
) .i4s-staff-panel-kicker {
    color: #755631;
}

.i4s-staff-panel-hero h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-hero p {
    color: #c4d1dc;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-brand,
.i4s-staff-panel-session a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(176, 138, 91, 0.7);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.i4s-staff-panel-brand:hover,
.i4s-staff-panel-brand:focus-visible,
.i4s-staff-panel-session a:hover,
.i4s-staff-panel-session a:focus-visible {
    border-color: var(--i4s-staff-gold-light);
    color: var(--i4s-staff-gold-light);
    outline: none;
}

.i4s-staff-panel-session {
    display: grid;
    gap: 8px;
    justify-items: end;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.i4s-staff-panel-login-body {
    max-width: 480px;
    padding: 24px;
    background: #fff;
}

.i4s-staff-panel-login-body form {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-login-body .i4s-staff-panel-feedback {
    margin: 0 0 14px;
}

.i4s-staff-panel-login-body label {
    display: grid;
    gap: 6px;
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-login-body input[type="text"],
.i4s-staff-panel-login-body input[type="password"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #bdc9d2;
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--i4s-staff-ink);
    font-size: 15px;
    text-transform: none;
}

.i4s-staff-panel-login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
}

.i4s-staff-panel-login-remember input {
    width: 18px;
    height: 18px;
}

.i4s-staff-panel-login-body input[type="submit"],
.i4s-staff-panel button {
    min-height: 40px;
    border: 1px solid #bcc8d0;
    border-radius: 6px;
    background: #fff;
    color: var(--i4s-staff-navy);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
}

.i4s-staff-panel-login-body input[type="submit"],
.i4s-staff-panel-login-body button[type="submit"],
.i4s-staff-panel-filter button[type="submit"],
.i4s-staff-panel-publish-mode button.is-on {
    border-color: var(--i4s-staff-navy);
    background: var(--i4s-staff-navy);
    color: #fff;
}

.i4s-staff-panel button:hover,
.i4s-staff-panel button:focus-visible,
.i4s-staff-panel-login-body input[type="submit"]:hover,
.i4s-staff-panel-login-body input[type="submit"]:focus-visible,
.i4s-staff-panel-login-body button[type="submit"]:hover,
.i4s-staff-panel-login-body button[type="submit"]:focus-visible {
    border-color: var(--i4s-staff-gold);
    color: #725433;
    outline: none;
}

.i4s-staff-panel-filter button[type="submit"]:hover,
.i4s-staff-panel-filter button[type="submit"]:focus-visible,
.i4s-staff-panel-publish-mode button.is-on:hover,
.i4s-staff-panel-publish-mode button.is-on:focus-visible {
    color: var(--i4s-staff-gold-light);
}

.i4s-staff-panel-news {
    display: grid;
    gap: 0;
}

.i4s-staff-panel-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--i4s-staff-line);
    border-bottom: 1px solid var(--i4s-staff-line);
}

.i4s-staff-panel-stat {
    display: grid;
    gap: 4px;
    min-height: 88px;
    padding: 18px 20px;
    background: #fff;
}

.i4s-staff-panel-stat span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-stat strong {
    color: var(--i4s-staff-navy);
    font-size: 30px;
    line-height: 1;
}

.i4s-staff-panel-stat em {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.i4s-staff-panel-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 1px;
    background: var(--i4s-staff-line);
    border-bottom: 1px solid var(--i4s-staff-line);
}

.i4s-staff-panel-nav button {
    display: grid;
    gap: 4px;
    min-height: 74px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--i4s-staff-ink);
    text-align: left;
}

.i4s-staff-panel-nav button strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.15;
}

.i4s-staff-panel-nav button span,
.i4s-staff-panel-nav button small {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    line-height: 1.2;
}

.i4s-staff-panel-nav button.is-active {
    background: var(--i4s-staff-navy);
}

.i4s-staff-panel-nav button.is-active strong,
.i4s-staff-panel-nav button.is-active span,
.i4s-staff-panel-nav button.is-active small {
    color: #fff;
}

.i4s-staff-panel-global-feedback {
    margin: 18px 20px 0;
    padding: 12px 14px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 6px;
    background: #fff;
    color: var(--i4s-staff-ink);
    font-size: 14px;
    font-weight: 700;
}

.i4s-staff-panel-section {
    display: none;
}

.i4s-staff-panel-section.is-active {
    display: block;
}

.i4s-staff-panel-module {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.i4s-staff-panel-module-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-module-head h3,
.i4s-staff-panel-subpanel h4 {
    margin: 0;
    color: var(--i4s-staff-navy);
    letter-spacing: 0;
}

.i4s-staff-panel-module-head h3 {
    font-size: 22px;
    line-height: 1.1;
}

.i4s-staff-panel-module-head > span {
    min-width: 0;
    max-width: 100%;
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.i4s-staff-panel-overview-stats,
.i4s-staff-panel-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: var(--i4s-staff-line);
}

.i4s-staff-panel-overview-grid,
.i4s-staff-panel-settings-grid,
.i4s-staff-panel-users-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.i4s-staff-panel-clickable-subpanel {
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.i4s-staff-panel-clickable-subpanel:hover,
.i4s-staff-panel-clickable-subpanel:focus-visible {
    border-color: rgba(30, 64, 175, 0.34);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.i4s-staff-panel-subpanel {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-subpanel p,
.i4s-staff-panel-muted {
    color: var(--i4s-staff-muted);
    font-size: 14px;
    line-height: 1.45;
}

.i4s-staff-panel-mini-list {
    display: grid;
    gap: 9px;
}

.i4s-staff-panel-mini-list div {
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    background: #f9fbfc;
}

.i4s-staff-panel-mini-list strong {
    color: var(--i4s-staff-navy);
    font-size: 12px;
    text-transform: uppercase;
}

.i4s-staff-panel-mini-list span {
    color: var(--i4s-staff-ink);
    font-size: 14px;
    line-height: 1.42;
}

.i4s-staff-panel-metrics-pixel {
    gap: 16px;
    overflow: hidden;
}

.i4s-staff-panel-metrics-pixel .i4s-metrics-pixel-dashboard {
    min-width: 0;
}

.i4s-staff-panel-metrics-correlation {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    background: #f8fbfd;
}

.i4s-staff-panel-metrics-correlation-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.i4s-staff-panel-metrics-correlation-head div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.i4s-staff-panel-metrics-correlation-head h4,
.i4s-staff-panel-metrics-correlation-head p {
    margin: 0;
}

.i4s-staff-panel-metrics-correlation-head p {
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.4;
}

.i4s-staff-panel-metrics-correlation-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(11, 93, 149, 0.25);
    border-radius: 999px;
    color: var(--i4s-staff-blue);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.i4s-staff-panel-client-timeline {
    gap: 16px;
    overflow: hidden;
}

.i4s-staff-panel-client-timeline-filter {
    display: flex;
    align-items: end;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-client-timeline-filter label {
    display: grid;
    flex: 1 1 260px;
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-client-timeline-filter span,
.i4s-staff-panel-client-timeline-grid h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-client-timeline-filter select {
    width: 100%;
    min-width: 0;
    height: 42px;
    max-height: 42px;
    appearance: auto;
}

.i4s-staff-panel-client-timeline-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 14px;
    min-width: 0;
}

.i4s-staff-panel-client-timeline-grid > div,
.i4s-staff-panel-timeline-item {
    min-width: 0;
}

.i4s-staff-panel-timeline-list {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-timeline-item {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    background: #fbfcfd;
}

.i4s-staff-panel-timeline-item header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-timeline-item header strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    text-transform: uppercase;
}

.i4s-staff-panel-timeline-item time {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.i4s-staff-panel-timeline-item dl {
    display: grid;
    grid-template-columns: minmax(80px, 0.32fr) minmax(0, 1fr);
    gap: 6px 10px;
    margin: 0;
    min-width: 0;
}

.i4s-staff-panel-timeline-item dt,
.i4s-staff-panel-timeline-item dd {
    margin: 0;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
}

.i4s-staff-panel-timeline-item dt {
    color: var(--i4s-staff-muted);
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-timeline-item dd,
.i4s-staff-panel-timeline-item p {
    color: var(--i4s-staff-ink);
    overflow-wrap: anywhere;
}

.i4s-staff-panel-timeline-item p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 12px;
}

.i4s-staff-panel-timeline-item code {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-local-export .i4s-staff-panel-mini-list span {
    overflow-wrap: anywhere;
}

.i4s-staff-panel-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--i4s-staff-line);
    background: #fff;
}

.i4s-staff-panel-filter {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-filter-fields {
    display: grid;
    grid-template-columns: minmax(128px, 150px) minmax(190px, 1fr) minmax(150px, 190px) minmax(132px, 150px) minmax(132px, 150px);
    gap: 12px;
    align-items: end;
    min-width: 0;
}

.i4s-staff-panel-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-filter label span,
.i4s-staff-panel-publish-mode span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-filter input,
.i4s-staff-panel-filter select,
.i4s-staff-panel-edit textarea,
.i4s-staff-panel-user-create input,
.i4s-staff-panel-user-create select,
.i4s-staff-panel-user-filter input,
.i4s-staff-panel-user input,
.i4s-staff-panel-user select,
.i4s-staff-panel-access-gate-form input,
.i4s-staff-panel-content-enforcement-form input,
.i4s-staff-panel-content-enforcement-form select,
.i4s-staff-panel-ai-settings input,
.i4s-staff-panel-ai-provider-routing select,
.i4s-staff-panel-ai-chat textarea,
.i4s-staff-panel-intel-bridge-form input,
.i4s-staff-panel-intel-bridge-form select,
.i4s-staff-panel-intel-review-form input,
.i4s-staff-panel-intel-review-form select,
.i4s-staff-panel-intel-review-form textarea,
.i4s-staff-panel-intel-chat-form input,
.i4s-staff-panel-intel-chat-form select,
.i4s-staff-panel-intel-chat-form textarea,
.i4s-staff-panel-intel-credit-form input,
.i4s-staff-panel-intel-credit-form select,
.i4s-staff-panel-intel-credit-form textarea,
.i4s-staff-panel-corporate-form input,
.i4s-staff-panel-corporate-form select,
.i4s-staff-panel-corporate-form textarea,
.i4s-staff-panel-editorial-form input,
.i4s-staff-panel-editorial-form select,
.i4s-staff-panel-editorial-form textarea,
.i4s-staff-panel-content-policy-form input,
.i4s-staff-panel-content-policy-form select,
.i4s-staff-panel-content-policy-form textarea,
.i4s-staff-panel-client-timeline-filter select {
    width: 100%;
    border: 1px solid #bdc9d2;
    border-radius: 6px;
    background: #fff;
    color: var(--i4s-staff-ink);
    outline: none;
}

.i4s-staff-panel-filter input,
.i4s-staff-panel-filter select,
.i4s-staff-panel-user-create input,
.i4s-staff-panel-user-create select,
.i4s-staff-panel-user-filter input,
.i4s-staff-panel-user input,
.i4s-staff-panel-user select,
.i4s-staff-panel-access-gate-form input,
.i4s-staff-panel-content-enforcement-form input,
.i4s-staff-panel-content-enforcement-form select,
.i4s-staff-panel-ai-settings input,
.i4s-staff-panel-ai-provider-routing select,
.i4s-staff-panel-intel-bridge-form input,
.i4s-staff-panel-intel-bridge-form select,
.i4s-staff-panel-intel-review-form input,
.i4s-staff-panel-intel-review-form select,
.i4s-staff-panel-intel-chat-form input,
.i4s-staff-panel-intel-chat-form select,
.i4s-staff-panel-intel-credit-form input,
.i4s-staff-panel-intel-credit-form select,
.i4s-staff-panel-corporate-form input,
.i4s-staff-panel-corporate-form select,
.i4s-staff-panel-editorial-form input,
.i4s-staff-panel-editorial-form select,
.i4s-staff-panel-content-policy-form input,
.i4s-staff-panel-content-policy-form select,
.i4s-staff-panel-client-timeline-filter select {
    min-height: 42px;
    padding: 8px 10px;
}

.i4s-staff-panel-filter input:focus,
.i4s-staff-panel-filter select:focus,
.i4s-staff-panel-edit textarea:focus,
.i4s-staff-panel-user-create input:focus,
.i4s-staff-panel-user-create select:focus,
.i4s-staff-panel-user-filter input:focus,
.i4s-staff-panel-user input:focus,
.i4s-staff-panel-user select:focus,
.i4s-staff-panel-access-gate-form input:focus,
.i4s-staff-panel-content-enforcement-form input:focus,
.i4s-staff-panel-content-enforcement-form select:focus,
.i4s-staff-panel-ai-settings input:focus,
.i4s-staff-panel-ai-provider-routing select:focus,
.i4s-staff-panel-ai-chat textarea:focus,
.i4s-staff-panel-intel-bridge-form input:focus,
.i4s-staff-panel-intel-bridge-form select:focus,
.i4s-staff-panel-intel-review-form input:focus,
.i4s-staff-panel-intel-review-form select:focus,
.i4s-staff-panel-intel-review-form textarea:focus,
.i4s-staff-panel-intel-chat-form input:focus,
.i4s-staff-panel-intel-chat-form select:focus,
.i4s-staff-panel-intel-chat-form textarea:focus,
.i4s-staff-panel-intel-credit-form input:focus,
.i4s-staff-panel-intel-credit-form select:focus,
.i4s-staff-panel-intel-credit-form textarea:focus,
.i4s-staff-panel-corporate-form input:focus,
.i4s-staff-panel-corporate-form select:focus,
.i4s-staff-panel-corporate-form textarea:focus,
.i4s-staff-panel-editorial-form input:focus,
.i4s-staff-panel-editorial-form select:focus,
.i4s-staff-panel-editorial-form textarea:focus,
.i4s-staff-panel-content-policy-form input:focus,
.i4s-staff-panel-content-policy-form select:focus,
.i4s-staff-panel-content-policy-form textarea:focus,
.i4s-staff-panel-client-timeline-filter select:focus {
    border-color: var(--i4s-staff-gold);
    box-shadow: 0 0 0 3px rgba(176, 138, 91, 0.2);
}

.i4s-staff-panel input::placeholder,
.i4s-staff-panel textarea::placeholder {
    color: #9aa8b5;
    opacity: 1;
}

.i4s-staff-panel-publish-mode {
    display: grid;
    gap: 6px;
    align-self: end;
    justify-items: stretch;
    min-width: 0;
    text-align: center;
}

.i4s-staff-panel-publish-mode span {
    text-align: center;
}

.i4s-staff-panel-filter button,
.i4s-staff-panel-publish-mode button {
    justify-content: center;
    width: 100%;
    min-width: 94px;
}

.i4s-staff-panel-date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.i4s-staff-panel-date-presets button {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 7px 11px;
    border-color: #c7d2da;
    background: #f8fafb;
    color: var(--i4s-staff-navy);
    font-size: 12px;
}

.i4s-staff-panel-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(98px, 130px) minmax(98px, 130px) minmax(170px, 220px);
    justify-content: end;
    align-items: end;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-publish-mode button.is-off {
    border-color: #a7b3bd;
    background: #eef3f6;
}

.i4s-staff-panel-publish-mode strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #a7b3bd;
    border-radius: 6px;
    background: #eef3f6;
    color: var(--i4s-staff-navy);
    font-size: 13px;
    font-weight: 800;
}

.i4s-staff-panel-publish-mode strong.is-on {
    border-color: rgba(25, 115, 91, 0.3);
    color: #155d4b;
    background: rgba(25, 115, 91, 0.08);
}

.i4s-staff-panel-feedback,
.i4s-staff-panel-notice {
    margin: 18px 20px 0;
    padding: 12px 14px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 6px;
    background: #fff;
    color: var(--i4s-staff-ink);
    font-size: 14px;
    font-weight: 700;
}

.i4s-staff-panel-feedback.is-success {
    border-color: rgba(25, 115, 91, 0.3);
    color: #155d4b;
    background: rgba(25, 115, 91, 0.08);
}

.i4s-staff-panel-feedback.is-error,
.i4s-staff-panel-global-feedback.is-error,
.i4s-staff-panel-notice-warning {
    border-color: rgba(150, 64, 42, 0.28);
    color: #7a3022;
    background: rgba(150, 64, 42, 0.08);
}

.i4s-staff-panel-global-feedback.is-success {
    border-color: rgba(25, 115, 91, 0.3);
    color: #155d4b;
    background: rgba(25, 115, 91, 0.08);
}

.i4s-staff-panel-news-list {
    padding: 18px 20px 22px;
}

.i4s-staff-panel-list {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-item {
    display: grid;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-item-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.i4s-staff-panel-item-head > div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.i4s-staff-panel-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 9px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 999px;
    color: var(--i4s-staff-navy);
    background: #f8fafb;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-status-published {
    border-color: #bad8cf;
    color: #124c3d;
    background: #e5f2ee;
}

.i4s-staff-panel-status-draft {
    border-color: rgba(176, 138, 91, 0.32);
    color: #74532a;
    background: rgba(176, 138, 91, 0.1);
}

.i4s-staff-panel-status-hidden {
    border-color: rgba(101, 117, 133, 0.28);
    color: #45515d;
    background: #eef2f5;
}

.i4s-staff-panel-item time,
.i4s-staff-panel-item-meta {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-item-meta {
    display: grid;
    gap: 3px;
    justify-items: end;
    text-align: right;
}

.i4s-staff-panel-item-meta code {
    color: var(--i4s-staff-blue);
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-item-body p {
    color: var(--i4s-staff-ink);
    font-size: 15px;
    line-height: 1.52;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.i4s-staff-panel-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 8px;
    border: 1px solid rgba(176, 138, 91, 0.32);
    border-radius: 999px;
    color: #755a17;
    background: rgba(176, 138, 91, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.i4s-staff-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.i4s-staff-panel-actions .is-danger {
    border-color: #e4c3bb;
    color: #7a3022;
    background: #fff2ef;
}

.i4s-staff-panel button.is-danger {
    border-color: #e4c3bb;
    color: #7a3022;
    background: #fff2ef;
}

.i4s-staff-panel-edit {
    border-top: 1px solid var(--i4s-staff-line);
    padding-top: 10px;
}

.i4s-staff-panel-edit summary {
    cursor: pointer;
    color: var(--i4s-staff-blue);
    font-size: 13px;
    font-weight: 800;
}

.i4s-staff-panel-edit textarea {
    display: block;
    margin: 10px 0;
    min-height: 112px;
    padding: 10px;
    resize: vertical;
}

.i4s-staff-panel-empty {
    padding: 18px;
    border: 1px dashed var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
    color: var(--i4s-staff-muted);
    font-weight: 700;
}

.i4s-staff-panel-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.i4s-staff-panel-form-grid label,
.i4s-staff-panel-form-grid .i4s-staff-panel-field,
.i4s-staff-panel-user-filter label,
.i4s-staff-panel-user-fields label,
.i4s-staff-panel-editorial-form label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-form-grid label span,
.i4s-staff-panel-form-grid .i4s-staff-panel-field > span,
.i4s-staff-panel-user-filter label span,
.i4s-staff-panel-user-fields label span,
.i4s-staff-panel-editorial-form label span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-form-wide {
    grid-column: 1 / -1;
}

.i4s-staff-panel-check {
    align-items: center;
    display: grid;
    grid-template-columns: auto 1fr;
    cursor: pointer;
}

.i4s-staff-panel-check input {
    width: 18px;
    min-height: 18px;
    cursor: pointer;
}

.i4s-staff-panel-toggle-row,
.i4s-staff-panel-form-grid .i4s-staff-panel-toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 800;
}

.i4s-staff-panel-toggle-row input {
    flex: 0 0 auto;
    width: 18px;
    min-height: 18px;
}

.i4s-staff-panel-toggle-row span,
.i4s-staff-panel-form-grid .i4s-staff-panel-toggle-row span {
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: none;
}

.i4s-staff-panel-user-filter {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-users-list {
    min-width: 0;
}

.i4s-staff-panel-user-view-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.i4s-staff-panel-user-view-tabs button {
    display: grid;
    justify-items: start;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #c7d2da;
    border-radius: 8px;
    background: #f8fafb;
    color: var(--i4s-staff-navy);
    text-align: left;
}

.i4s-staff-panel-user-view-tabs button.is-active {
    border-color: rgba(176, 138, 91, 0.75);
    background: #fff8ed;
}

.i4s-staff-panel-user-view-tabs strong {
    font-size: 14px;
    line-height: 1.2;
}

.i4s-staff-panel-user-view-tabs span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.i4s-staff-panel-user-list,
.i4s-staff-panel-comment-list {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-user-list {
    min-width: 0;
}

.i4s-staff-panel-comment-workflow {
    align-items: start;
    padding: 18px 20px 0;
}

.i4s-staff-panel-user,
.i4s-staff-panel-comment {
    display: grid;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-user > summary {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.i4s-staff-panel-user > summary::-webkit-details-marker {
    display: none;
}

.i4s-staff-panel-user > summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 999px;
    background: #eef5fb;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    font-weight: 900;
}

.i4s-staff-panel-user[open] > summary::before {
    content: "-";
}

.i4s-staff-panel-user > summary > header {
    flex: 1 1 auto;
}

.i4s-staff-panel-user > summary:focus-visible {
    outline: 2px solid var(--i4s-staff-blue);
    outline-offset: 4px;
    border-radius: 6px;
}

.i4s-staff-panel-user[open] {
    border-color: rgba(23, 58, 103, 0.24);
    box-shadow: 0 10px 26px rgba(9, 32, 52, 0.06);
}

.i4s-staff-panel-user:not([open]) > :not(summary) {
    display: none !important;
}

.i4s-staff-panel-user-body {
    display: grid;
    gap: 13px;
    min-width: 0;
    padding-top: 13px;
    border-top: 1px solid var(--i4s-staff-line);
}

.i4s-staff-panel-user header,
.i4s-staff-panel-comment header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.i4s-staff-panel-user header > div:first-child,
.i4s-staff-panel-comment header > div:first-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-user header strong,
.i4s-staff-panel-comment header strong {
    color: var(--i4s-staff-navy);
    font-size: 16px;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-user header span,
.i4s-staff-panel-comment header span,
.i4s-staff-panel-comment time {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-user-flags {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.i4s-staff-panel-user-flags span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-user-flags span.is-on {
    color: #124c3d;
    background: #e5f2ee;
}

.i4s-staff-panel-user-flags span.is-off {
    color: #7a3022;
    background: #fff2ef;
}

.i4s-staff-panel-user-flags code,
.i4s-staff-panel-subpanel code {
    color: var(--i4s-staff-blue);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-user-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(160px, 0.8fr);
    gap: 12px;
}

.i4s-staff-panel-client-identity .i4s-staff-panel-user-fields,
.i4s-staff-panel-staff-identity .i4s-staff-panel-user-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.i4s-staff-panel-user-section {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-user-wp-fields {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.i4s-staff-panel-client-identity .i4s-staff-panel-user-wp-fields,
.i4s-staff-panel-staff-identity .i4s-staff-panel-user-wp-fields {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.i4s-staff-panel-permission-matrix {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-permission-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.i4s-staff-panel-permission-head strong {
    color: var(--i4s-staff-navy);
    font-size: 14px;
}

.i4s-staff-panel-permission-head span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
}

.i4s-staff-panel-permission-grid {
    display: grid;
    gap: 8px;
    min-width: 0;
    max-height: min(430px, 58vh);
    overflow: auto;
    padding-right: 4px;
}

.i4s-staff-panel-permission-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.2fr) repeat(5, minmax(84px, 0.6fr));
    gap: 8px;
    align-items: center;
    min-width: 0;
    padding: 9px;
    border: 1px solid #e3ebf1;
    border-radius: 7px;
    background: #fff;
}

.i4s-staff-panel-permission-row > div:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.i4s-staff-panel-permission-row > div:first-child strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-permission-row > div:first-child span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-permission-row .i4s-staff-panel-check {
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-permission-row .i4s-staff-panel-check span {
    color: var(--i4s-staff-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.i4s-staff-panel-comment p {
    color: var(--i4s-staff-ink);
    font-size: 15px;
    line-height: 1.5;
}

.i4s-staff-panel-comment .i4s-staff-panel-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.i4s-staff-panel-comment .i4s-staff-panel-actions > * {
    width: 100%;
}

.i4s-staff-panel-profile-hero,
.i4s-staff-panel-intel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid rgba(23, 58, 103, 0.18);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(23, 58, 103, 0.08), rgba(196, 157, 95, 0.12));
}

.i4s-staff-panel-profile-hero h4,
.i4s-staff-panel-intel-hero h4 {
    margin: 2px 0 4px;
    color: var(--i4s-staff-navy);
    font-size: 22px;
    line-height: 1.15;
}

.i4s-staff-panel-profile-hero p,
.i4s-staff-panel-intel-hero p {
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    font-weight: 700;
}

.i4s-staff-panel-profile-status-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.i4s-staff-panel-profile-status-strip span {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(23, 58, 103, 0.14);
    border-radius: 8px;
    color: var(--i4s-staff-navy);
    background: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-profile-grid,
.i4s-staff-panel-profile-workspace,
.i4s-staff-panel-intel-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.i4s-staff-panel-profile-admin {
    margin-top: 14px;
}

.i4s-staff-panel-profile-workspace {
    margin-top: 14px;
    align-items: start;
}

.i4s-staff-panel-profile-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.i4s-staff-panel-profile-section-title span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--i4s-staff-blue);
    font-size: 11px;
    font-weight: 900;
}

.i4s-staff-panel-profile-section-title h4,
.i4s-staff-panel-profile-section-title h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
}

.i4s-staff-panel-profile-dl,
.i4s-staff-panel-profile-contribution dl,
.i4s-staff-panel-intel-item dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.i4s-staff-panel-profile-dl div,
.i4s-staff-panel-profile-contribution dl div,
.i4s-staff-panel-intel-item dl div {
    display: grid;
    grid-template-columns: minmax(105px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.i4s-staff-panel-profile-dl dt,
.i4s-staff-panel-profile-contribution dt,
.i4s-staff-panel-intel-item dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-profile-dl dd,
.i4s-staff-panel-profile-contribution dd,
.i4s-staff-panel-intel-item dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-profile-contributions,
.i4s-staff-panel-intel-list {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-profile-contribution,
.i4s-staff-panel-intel-item {
    display: grid;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-profile-contribution header,
.i4s-staff-panel-intel-item header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.i4s-staff-panel-profile-contribution header span,
.i4s-staff-panel-profile-contribution header em,
.i4s-staff-panel-intel-item header span,
.i4s-staff-panel-intel-item header em {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-profile-contribution header strong,
.i4s-staff-panel-intel-item header strong {
    display: block;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-profile-contribution p,
.i4s-staff-panel-intel-item p {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.5;
}

.i4s-staff-panel-intel-review-queue {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-intel-review-item {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-intel-review-item header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-intel-review-item header > div {
    min-width: 0;
}

.i4s-staff-panel-intel-review-item header span,
.i4s-staff-panel-intel-review-item header em,
.i4s-staff-panel-intel-review-item dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-intel-review-item header strong {
    display: block;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-review-item header em {
    flex: 0 0 auto;
    max-width: 44%;
    text-align: right;
}

.i4s-staff-panel-intel-review-item dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.i4s-staff-panel-intel-review-item dl div {
    display: grid;
    grid-template-columns: minmax(105px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.i4s-staff-panel-intel-review-item dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-review-form {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-intel-review-form textarea {
    min-height: 86px;
    padding: 9px 10px;
    resize: vertical;
}

.i4s-staff-panel-intel-review-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.i4s-staff-panel-intel-review-actions button {
    min-width: 0;
    width: 100%;
    white-space: normal;
}

.i4s-staff-panel-intel-chat-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.i4s-staff-panel-intel-chat-form {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-intel-chat-form textarea {
    min-height: 118px;
    padding: 10px;
    resize: vertical;
}

.i4s-staff-panel-intel-chat-results {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-intel-chat-answer {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel-intel-chat-answer > header,
.i4s-staff-panel-intel-chat-sources article header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-intel-chat-answer > header > div,
.i4s-staff-panel-intel-chat-sources article header > strong {
    min-width: 0;
}

.i4s-staff-panel-intel-chat-answer span,
.i4s-staff-panel-intel-chat-answer em,
.i4s-staff-panel-intel-chat-sources dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-intel-chat-answer strong,
.i4s-staff-panel-intel-chat-sources article header strong {
    display: block;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-chat-answer p,
.i4s-staff-panel-intel-chat-sources article p {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-chat-sources {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-intel-chat-sources article {
    display: grid;
    gap: 9px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(23, 58, 103, 0.12);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.86);
}

.i4s-staff-panel-intel-chat-sources dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.i4s-staff-panel-intel-chat-sources dl div {
    display: grid;
    grid-template-columns: minmax(95px, 0.36fr) minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

.i4s-staff-panel-intel-chat-sources dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-credit-panel {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-intel-credit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.i4s-staff-panel-intel-credit-ranking,
.i4s-staff-panel-intel-credit-recent,
.i4s-staff-panel-intel-credit-admin,
.i4s-staff-panel-intel-credit-awards {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-intel-credit-ranking h5,
.i4s-staff-panel-intel-credit-recent h5,
.i4s-staff-panel-intel-credit-admin h5,
.i4s-staff-panel-intel-credit-awards h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 14px;
}

.i4s-staff-panel-intel-credit-admin {
    padding: 13px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-intel-credit-admin .i4s-staff-panel-notice {
    margin: 0;
}

.i4s-staff-panel-intel-credit-list {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-intel-credit-item {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-intel-credit-item header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-intel-credit-item header > div {
    min-width: 0;
}

.i4s-staff-panel-intel-credit-item header span,
.i4s-staff-panel-intel-credit-item header em,
.i4s-staff-panel-intel-credit-item dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-intel-credit-item header strong {
    display: block;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-credit-item header em {
    flex: 0 0 auto;
    max-width: 42%;
    text-align: right;
}

.i4s-staff-panel-intel-credit-item dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.i4s-staff-panel-intel-credit-item dl div {
    display: grid;
    grid-template-columns: minmax(105px, 0.42fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    min-width: 0;
}

.i4s-staff-panel-intel-credit-item dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-intel-credit-form {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-intel-credit-form textarea {
    min-height: 76px;
    padding: 9px 10px;
    resize: vertical;
}

.i4s-staff-panel-intel-form input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    box-sizing: border-box;
}

.i4s-staff-panel-intel-hub [data-ai-chat-surface] {
    align-self: start;
}

.i4s-staff-panel-profile-edit-form {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-profile-edit-section {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(23, 58, 103, 0.12);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.78);
}

.i4s-staff-panel-profile-edit-section h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 13px;
    letter-spacing: 0;
}

.i4s-staff-panel-card-grid,
.i4s-staff-panel-settings-groups,
.i4s-staff-panel-agent-history {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-card-grid,
.i4s-staff-panel-settings-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.i4s-staff-panel-intel-bridge {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-intel-bridge .i4s-staff-panel-module-head {
    padding: 0;
}

.i4s-staff-panel-intel-bridge .i4s-staff-panel-notice,
.i4s-staff-panel-intel-bridge .i4s-staff-panel-feedback {
    margin: 0;
}

.i4s-staff-panel-intel-bridge-form {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-bridge-status .i4s-staff-panel-card p {
    overflow-wrap: anywhere;
}

.i4s-staff-panel-card {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-card header,
.i4s-staff-panel-card footer,
.i4s-staff-panel-inline-head,
.i4s-staff-panel-agent-event header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.i4s-staff-panel-card strong,
.i4s-staff-panel-agent-event strong {
    color: var(--i4s-staff-navy);
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-card p,
.i4s-staff-panel-agent-snapshot p,
.i4s-staff-panel-agent-event p {
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-card header span,
.i4s-staff-panel-card footer span {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #45515d;
    background: #eef2f5;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-card header span.is-on {
    color: #124c3d;
    background: #e5f2ee;
}

.i4s-staff-panel-card header span.is-off {
    color: #7a3022;
    background: #fff2ef;
}

.i4s-staff-panel-card code {
    color: var(--i4s-staff-blue);
    font-size: 12px;
}

.i4s-staff-panel-shortcode-chips,
.i4s-staff-panel-plugin-links {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.i4s-staff-panel-shortcode-chips > span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(6, 29, 51, 0.12);
    border-radius: 7px;
    background: #fff;
}

.i4s-staff-panel-shortcode-chips button,
.i4s-staff-panel-shortcode-list button {
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
}

.i4s-staff-panel-plugin-links {
    grid-template-columns: repeat(2, minmax(0, max-content));
}

.i4s-staff-panel-plugin-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 9px;
    border: 1px solid rgba(176, 138, 91, 0.4);
    border-radius: 6px;
    color: var(--i4s-staff-navy);
    background: rgba(176, 138, 91, 0.08);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.i4s-staff-panel-plugin-links a:hover,
.i4s-staff-panel-plugin-links a:focus-visible {
    border-color: var(--i4s-staff-gold);
    color: var(--i4s-staff-navy);
    background: rgba(176, 138, 91, 0.16);
    outline: none;
}

.i4s-staff-panel-aviation-layout {
    align-items: start;
}

.i4s-staff-panel-aviation-plugins {
    grid-column: 1 / -1;
}

.i4s-staff-panel-aviation-plugins .i4s-staff-panel-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.i4s-staff-panel-aviation-plugins .i4s-staff-panel-card {
    align-content: start;
}

.i4s-staff-panel-inline-head h4 {
    margin: 0;
}

.i4s-staff-panel-agent-snapshot {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-agent .i4s-staff-panel-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.i4s-staff-panel-ai-console {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 14px;
    margin-bottom: 14px;
}

.i4s-staff-panel-ai-settings,
.i4s-staff-panel-ai-chat {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-ai-settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.i4s-staff-panel-ai-settings label,
.i4s-staff-panel-ai-chat label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-ai-settings label span,
.i4s-staff-panel-ai-chat label span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-ai-settings .i4s-staff-panel-check,
.i4s-staff-panel-ai-settings .i4s-staff-panel-actions {
    grid-column: 1 / -1;
}

.i4s-staff-panel-ai-chat textarea {
    min-height: 118px;
    padding: 10px;
    resize: vertical;
}

.i4s-staff-panel-ai-provider-registry {
    grid-column: 1 / -1;
}

.i4s-staff-panel-ai-provider-registry .i4s-staff-panel-inline-head p {
    margin: 4px 0 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
}

.i4s-staff-panel-ai-provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.i4s-staff-panel-ai-provider-card {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d8e0e6;
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-ai-provider-card header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.i4s-staff-panel-ai-provider-card strong {
    color: var(--i4s-staff-ink);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-ai-provider-card header span {
    display: inline-flex;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef3f7;
    color: #314253;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-ai-provider-card.is-live header span,
.i4s-staff-panel-ai-provider-card.is-available header span {
    background: #e5f2ee;
    color: #124c3d;
}

.i4s-staff-panel-ai-provider-card.is-needs_key header span,
.i4s-staff-panel-ai-provider-card.is-planned header span {
    background: #fff7e8;
    color: #6d4618;
}

.i4s-staff-panel-ai-provider-card.is-off header span {
    background: #fff2ef;
    color: #7a3022;
}

.i4s-staff-panel-ai-provider-card p {
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-ai-provider-card code {
    overflow-wrap: anywhere;
    color: #5a6874;
}

.i4s-staff-panel-ai-provider-routing {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-ai-route-list {
    display: grid;
    gap: 8px;
}

.i4s-staff-panel-ai-route-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0e7ed;
    border-radius: 8px;
    background: #f8fafb;
}

.i4s-staff-panel-ai-route-row.is-locked {
    background: #fff7f5;
}

.i4s-staff-panel-ai-route-meta {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-ai-route-meta strong {
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel-ai-route-meta small {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    line-height: 1.35;
}

.i4s-staff-panel-ai-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-ai-status.is-on {
    color: #124c3d;
    background: #e5f2ee;
}

.i4s-staff-panel-ai-status.is-off {
    color: #7a3022;
    background: #fff2ef;
}

.i4s-staff-panel-ai-chat-log {
    display: grid;
    gap: 9px;
    max-height: 290px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f8fafb;
}

.i4s-staff-panel-ai-message {
    display: grid;
    gap: 4px;
    max-width: 92%;
    padding: 10px;
    border: 1px solid #d9e2e8;
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-ai-message.is-user {
    justify-self: end;
    border-color: rgba(9, 85, 153, 0.22);
    background: rgba(9, 85, 153, 0.07);
}

.i4s-staff-panel-ai-message strong {
    color: var(--i4s-staff-navy);
    font-size: 12px;
    text-transform: uppercase;
}

.i4s-staff-panel-ai-message p {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.i4s-staff-panel-ai-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 0 20px 14px;
    padding: 12px 14px;
    border: 1px solid rgba(176, 138, 91, 0.28);
    border-radius: 8px;
    background-color: #061d33;
    background-image: linear-gradient(135deg, rgba(6, 29, 51, 0.97), rgba(11, 42, 70, 0.96));
    color: #fff;
}

.i4s-staff-panel-ai-strip span {
    display: block;
    margin-bottom: 2px;
    color: var(--i4s-staff-gold-light);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-ai-strip strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

.i4s-staff-panel-ai-strip p {
    margin-top: 4px;
    color: #c4d1dc;
    font-size: 13px;
    line-height: 1.35;
}

.i4s-staff-panel-ai-strip-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(92px, auto));
    gap: 8px;
}

.i4s-staff-panel-ai-strip-actions button {
    min-height: 34px;
    padding: 7px 10px;
    border-color: rgba(215, 180, 127, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

.i4s-staff-panel .i4s-staff-panel-ai-strip-actions button:hover,
.i4s-staff-panel .i4s-staff-panel-ai-strip-actions button:focus-visible {
    border-color: var(--i4s-staff-gold-light);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.i4s-staff-panel-floating-ai {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.i4s-staff-panel-floating-ai-toggle,
.i4s-staff-panel-floating-ai-drawer {
    pointer-events: auto;
}

.i4s-staff-panel .i4s-staff-panel-floating-ai-toggle {
    display: grid;
    gap: 2px;
    justify-items: center;
    width: 112px;
    min-height: 54px;
    margin-left: auto;
    border: 1px solid rgba(215, 180, 127, 0.48);
    border-radius: 8px;
    background: var(--i4s-staff-navy);
    color: #fff;
    box-shadow: 0 16px 32px rgba(6, 29, 51, 0.24), 0 0 0 2px rgba(11, 88, 170, 0.18);
}

.i4s-staff-panel .i4s-staff-panel-floating-ai-toggle:hover,
.i4s-staff-panel .i4s-staff-panel-floating-ai-toggle:focus-visible {
    border-color: var(--i4s-staff-gold-light);
    background: var(--i4s-staff-navy);
    color: #fff;
}

.i4s-staff-panel .i4s-staff-panel-floating-ai-toggle span {
    color: var(--i4s-staff-gold-light);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel .i4s-staff-panel-floating-ai-toggle strong {
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.i4s-staff-panel-floating-ai.is-open .i4s-staff-panel-floating-ai-toggle {
    display: none;
}

.i4s-staff-panel-floating-ai-drawer {
    overflow: hidden;
    border: 1px solid rgba(6, 29, 51, 0.2);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(6, 29, 51, 0.24);
}

.i4s-staff-panel-floating-ai-drawer > header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: var(--i4s-staff-navy);
    color: #fff;
}

.i4s-staff-panel-floating-ai-drawer h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
}

.i4s-staff-panel-floating-ai-drawer header span {
    display: inline-flex;
    margin-top: 5px;
    min-height: 22px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--i4s-staff-gold-light);
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-floating-ai-drawer [data-ai-close] {
    width: 34px;
    min-height: 34px;
    padding: 0;
    border-color: rgba(215, 180, 127, 0.42);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 22px;
    line-height: 1;
}

.i4s-staff-panel-ai-quick-prompts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 12px 0;
}

.i4s-staff-panel-ai-quick-prompts button {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 11px;
}

.i4s-staff-panel-floating-ai .i4s-staff-panel-ai-chat-log {
    max-height: 280px;
    margin: 12px;
}

.i4s-staff-panel-floating-ai .i4s-staff-panel-ai-chat {
    padding: 0 12px 12px;
}

.i4s-staff-panel-floating-ai .i4s-staff-panel-ai-chat textarea {
    min-height: 92px;
}

.i4s-staff-panel-agent-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.i4s-staff-panel-agent-metrics span {
    display: grid;
    gap: 4px;
    min-height: 66px;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-agent-metrics strong {
    color: var(--i4s-staff-navy);
    font-size: 20px;
    line-height: 1;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-agent-event {
    display: grid;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-agent-event header > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-agent-event time {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
}

.i4s-staff-panel-editorial-command {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.i4s-staff-panel-editorial-command-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.i4s-staff-panel-editorial-command-column {
    min-width: 0;
}

.i4s-staff-panel-editorial-source-list {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-editorial-source-item {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #ffffff;
}

.i4s-staff-panel-editorial-source-item header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.i4s-staff-panel-editorial-source-item header > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-editorial-source-item strong,
.i4s-staff-panel-editorial-source-item span,
.i4s-staff-panel-editorial-source-item p {
    overflow-wrap: anywhere;
}

.i4s-staff-panel-editorial-source-item header .i4s-staff-panel-status {
    justify-self: start;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.i4s-staff-panel-editorial-source-item p {
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-editorial-source-item .i4s-staff-panel-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.i4s-staff-panel-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 14px;
    align-items: start;
}

.i4s-staff-panel-editorial-form textarea {
    min-height: 92px;
    padding: 10px;
    resize: vertical;
}

.i4s-staff-panel-editorial-form textarea[name="body"] {
    min-height: 250px;
}

.i4s-staff-panel-editorial-form select[multiple] {
    min-height: 158px;
    padding: 7px;
}

.i4s-staff-panel-editorial-form select[multiple] option {
    padding: 6px 8px;
}

.i4s-staff-panel-category-list {
    display: grid;
    gap: 6px;
    max-height: 190px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #bdc9d2;
    border-radius: 6px;
    background: #ffffff;
}

.i4s-staff-panel-category-option {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px !important;
    min-height: 30px;
    padding: 5px 6px;
    border-radius: 5px;
    color: var(--i4s-staff-ink);
    cursor: pointer;
}

.i4s-staff-panel-category-option:hover,
.i4s-staff-panel-category-option:focus-within {
    background: #f2f6f9;
}

.i4s-staff-panel-category-option input {
    width: 16px !important;
    min-height: 16px !important;
    margin: 0;
}

.i4s-staff-panel-category-option span {
    color: var(--i4s-staff-ink) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    text-transform: none !important;
}

.i4s-staff-panel-editorial-form input[type="file"] {
    padding: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-editorial-form .i4s-staff-panel-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.i4s-staff-panel-editorial-prompt {
    display: grid;
    gap: 9px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-editorial-prompt textarea {
    min-height: 190px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

.i4s-staff-panel-editorial-prompt button {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
}

.i4s-staff-panel-editorial-preview-wrap {
    position: sticky;
    top: 16px;
}

.i4s-staff-panel-editorial-preview {
    min-width: 0;
}

.i4s-staff-panel-editorial-card {
    overflow: hidden;
    border: 1px solid rgba(6, 29, 51, 0.18);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-editorial-hero {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1920 / 649;
    overflow: hidden;
    background: #061d33;
    background-position: center;
    background-size: cover;
}

.i4s-staff-panel-editorial-hero span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(215, 180, 127, 0.55);
    border-radius: 999px;
    color: var(--i4s-staff-gold-light);
    font-size: 24px;
    font-weight: 900;
}

.i4s-staff-panel-editorial-hero.has-image span {
    opacity: 0;
}

.i4s-staff-panel-editorial-hero img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.i4s-staff-panel-editorial-dimensions {
    padding: 8px 10px 0;
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.i4s-staff-panel-editorial-copy {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.i4s-staff-panel-editorial-copy > span {
    color: var(--i4s-staff-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-editorial-copy h4 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-editorial-copy p {
    color: var(--i4s-staff-ink);
    font-size: 15px;
    line-height: 1.5;
}

.i4s-staff-panel-editorial-result {
    padding-top: 4px;
}

.i4s-staff-panel-editorial-created {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid rgba(25, 115, 91, 0.24);
    border-radius: 8px;
    background: rgba(25, 115, 91, 0.08);
}

.i4s-staff-panel-editorial-created .i4s-staff-panel-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.i4s-staff-panel-editorial-created strong {
    color: var(--i4s-staff-navy);
    font-size: 15px;
}

.i4s-staff-panel-editorial-created span,
.i4s-staff-panel-editorial-created p {
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.4;
}

.i4s-staff-panel[data-loading="1"],
.i4s-staff-panel-news[data-loading="1"],
.i4s-staff-panel-users[data-loading="1"],
.i4s-staff-panel-comments[data-loading="1"],
.i4s-staff-panel-agent[data-loading="1"],
.i4s-staff-panel-editorial[data-loading="1"] {
    cursor: wait;
}

.i4s-staff-panel button[disabled],
.i4s-staff-panel input[disabled],
.i4s-staff-panel select[disabled],
.i4s-staff-panel textarea[disabled] {
    cursor: wait;
    opacity: 0.68;
}

.i4s-staff-panel-workbench {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 680px;
}

.i4s-staff-panel-rail {
    border-right: 1px solid rgba(6, 29, 51, 0.18);
    background: #071522;
}

.i4s-staff-panel-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px 8px;
    color: #9db1c3;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-rail-head strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.i4s-staff-panel-main {
    min-width: 0;
    background: var(--i4s-staff-canvas);
}

.i4s-staff-panel-nav {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
    background: transparent;
    border-bottom: 0;
}

.i4s-staff-panel-nav button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 7px;
    background: #fff;
    color: var(--i4s-staff-ink);
    text-align: left;
}

.i4s-staff-panel-nav button strong {
    min-width: 0;
    color: var(--i4s-staff-navy);
    overflow-wrap: anywhere;
}

.i4s-staff-panel-nav button small {
    min-width: 0;
    color: var(--i4s-staff-muted);
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-nav button.is-active {
    border-color: var(--i4s-staff-navy);
    background: var(--i4s-staff-navy);
    box-shadow: 0 0 0 1px rgba(9, 32, 52, 0.12), 0 10px 24px rgba(9, 32, 52, 0.18);
}

.i4s-staff-panel-nav button.is-active strong,
.i4s-staff-panel-nav button.is-active small {
    color: #fff;
}

.i4s-staff-panel-nav button.is-active::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 11px solid #050a0f;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 7px rgba(71, 167, 255, 0.88));
}

.i4s-staff-panel .i4s-staff-panel-nav button:hover,
.i4s-staff-panel .i4s-staff-panel-nav button:focus-visible {
    border-color: var(--i4s-staff-blue);
    background: #eef5fb;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel .i4s-staff-panel-nav button:hover strong,
.i4s-staff-panel .i4s-staff-panel-nav button:focus-visible strong {
    color: var(--i4s-staff-navy);
}

.i4s-staff-panel .i4s-staff-panel-nav button:hover small,
.i4s-staff-panel .i4s-staff-panel-nav button:focus-visible small {
    color: var(--i4s-staff-muted);
}

.i4s-staff-panel .i4s-staff-panel-nav button.is-active:hover,
.i4s-staff-panel .i4s-staff-panel-nav button.is-active:focus-visible {
    border-color: var(--i4s-staff-navy);
    background: var(--i4s-staff-navy);
    color: #fff;
}

.i4s-staff-panel .i4s-staff-panel-nav button.is-active:hover strong,
.i4s-staff-panel .i4s-staff-panel-nav button.is-active:focus-visible strong,
.i4s-staff-panel .i4s-staff-panel-nav button.is-active:hover small,
.i4s-staff-panel .i4s-staff-panel-nav button.is-active:focus-visible small {
    color: #fff;
}

.i4s-staff-panel-nav-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.i4s-staff-panel-nav-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #08233a;
    background: #d4eaff;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.i4s-staff-panel-nav-badge.is-warning {
    color: #2d1a04;
    background: var(--i4s-staff-gold-light);
}

.i4s-staff-panel-nav-group {
    display: grid;
    gap: 0;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.i4s-staff-panel-nav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding: 11px 12px;
    color: var(--i4s-staff-ink);
    cursor: pointer;
    list-style: none;
}

.i4s-staff-panel-nav-group summary::-webkit-details-marker {
    display: none;
}

.i4s-staff-panel-nav-group summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eef5fb;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    font-weight: 900;
}

.i4s-staff-panel-nav-group[open] summary::before {
    content: "-";
}

.i4s-staff-panel-nav-group.is-active {
    border-color: rgba(6, 29, 51, 0.45);
    box-shadow: 0 10px 22px rgba(9, 32, 52, 0.08);
}

.i4s-staff-panel-nav-group.is-active summary {
    background: #f6f9fc;
}

.i4s-staff-panel-nav-group-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
}

.i4s-staff-panel-nav-group-copy strong {
    color: var(--i4s-staff-navy);
    font-size: 12px;
    line-height: 1.15;
    text-transform: uppercase;
}

.i4s-staff-panel-nav-group-copy small {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-nav-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 24px;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #d4eaff;
    color: #08233a;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.i4s-staff-panel-nav-group-items {
    display: grid;
    gap: 7px;
    padding: 8px;
    border-top: 1px solid var(--i4s-staff-line);
    background: #f8fafc;
}

.i4s-staff-panel-nav-group-items button {
    width: 100%;
}

.i4s-staff-panel-action-center {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.i4s-staff-panel-action-card {
    display: grid;
    gap: 6px;
    justify-items: start;
    min-height: 116px;
    padding: 16px;
    border-color: var(--i4s-staff-line);
    background: #fff;
    text-align: left;
}

.i4s-staff-panel-action-card span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-action-card strong {
    color: var(--i4s-staff-navy);
    font-size: 31px;
    line-height: 1;
}

.i4s-staff-panel-action-card em {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.i4s-staff-panel-action-card.is-warning {
    border-color: rgba(176, 138, 91, 0.52);
    background: rgba(176, 138, 91, 0.1);
}

.i4s-staff-panel-filter-fields {
    grid-template-columns: minmax(120px, 150px) minmax(180px, 1fr) minmax(150px, 180px) minmax(135px, 150px) minmax(135px, 150px);
}

.i4s-staff-panel-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--i4s-staff-navy);
    border-radius: 6px;
    background: var(--i4s-staff-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.i4s-staff-panel-create-drawer {
    display: grid;
    gap: 13px;
    position: relative;
    z-index: 2;
}

.i4s-staff-panel-create-drawer-toggle,
.i4s-staff-panel-plugin-group summary {
    cursor: pointer;
    color: var(--i4s-staff-navy);
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 900;
    text-align: left;
}

.i4s-staff-panel-create-drawer.is-open .i4s-staff-panel-create-drawer-toggle,
.i4s-staff-panel-plugin-group[open] summary {
    color: #725433;
}

.i4s-staff-panel-nav-group:not([open]) > :not(summary),
.i4s-staff-panel-create-drawer:not(.is-open) > :not(.i4s-staff-panel-create-drawer-toggle),
.i4s-staff-panel-plugin-group:not([open]) > :not(summary) {
    display: none !important;
}

.i4s-staff-panel-create-drawer.is-open > .i4s-staff-panel-form-grid {
    display: grid;
}

.i4s-staff-panel-create-drawer.is-open input,
.i4s-staff-panel-create-drawer.is-open select,
.i4s-staff-panel-create-drawer.is-open textarea,
.i4s-staff-panel-create-drawer.is-open button {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.i4s-staff-panel-password-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.i4s-staff-panel-password-control input {
    min-width: 0;
}

.i4s-staff-panel-password-toggle {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #bdc9d2;
    border-radius: 6px;
    background: #fff;
    color: var(--i4s-staff-navy);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.i4s-staff-panel-plugin-groups {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-plugin-group {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-plugin-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
}

.i4s-staff-panel-plugin-group summary strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--i4s-staff-navy);
    background: #e7eef4;
    font-size: 12px;
}

.i4s-staff-panel-plugin-group .i4s-staff-panel-card-grid {
    padding: 0 12px 12px;
}

.i4s-staff-panel-shortcode-list em {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}

.i4s-staff-panel-shortcode-code {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 5px;
    background: #eef3f6;
    color: var(--i4s-staff-navy);
    font-weight: 800;
}

.i4s-staff-panel-shortcode-placeholder {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border: 1px solid #d4dee6;
    border-radius: 5px;
    background: #eef3f6;
    color: var(--i4s-staff-navy);
    font-size: 12px;
    font-weight: 800;
}

.i4s-staff-panel-shortcode-code::before {
    content: "[";
}

.i4s-staff-panel-shortcode-code::after {
    content: "]";
}

.i4s-staff-panel-shortcode-list button {
    justify-self: start;
}

.i4s-staff-panel-shortcode-list .is-inactive {
    opacity: 0.72;
}

.i4s-staff-panel-health-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.i4s-staff-panel-health-check {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-health-check strong,
.i4s-staff-panel-module-map-row strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.25;
}

.i4s-staff-panel-health-check em {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e6f1f8;
    color: #0a4f7d;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-health-check span {
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.4;
}

.i4s-staff-panel-module-map {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-module-map-row {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-module-map-row header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.i4s-staff-panel-module-map-row code {
    flex: 0 0 auto;
    color: #0a4f7d;
    font-size: 12px;
}

.i4s-staff-panel-module-map-row dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.i4s-staff-panel-module-map-row dl div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 9px;
    border-radius: 7px;
    background: #ffffff;
}

.i4s-staff-panel-module-map-row dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-module-map-row dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.4;
}

.i4s-staff-panel-content-enforcement {
    gap: 14px;
}

.i4s-staff-panel-content-enforcement-form {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-access-inventory {
    gap: 14px;
}

.i4s-staff-panel-access-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.i4s-staff-panel-access-summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid #dce8f0;
    border-radius: 999px;
    background: #f7fbfd;
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.i4s-staff-panel-access-summary strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
}

.i4s-staff-panel-access-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #ffffff;
}

.i4s-staff-panel-access-toolbar label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.i4s-staff-panel-access-toolbar span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-access-toolbar input,
.i4s-staff-panel-access-toolbar select {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border: 1px solid #cddce6;
    border-radius: 8px;
    background: #ffffff;
    color: var(--i4s-staff-ink);
    font-size: 13px;
}

.i4s-staff-panel-access-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.i4s-staff-panel-access-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
}

.i4s-staff-panel-access-table th,
.i4s-staff-panel-access-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e8eff4;
    color: var(--i4s-staff-ink);
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    vertical-align: top;
}

.i4s-staff-panel-access-table th {
    background: #f7fbfd;
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-access-table tr:last-child td {
    border-bottom: 0;
}

.i4s-staff-panel-access-table strong,
.i4s-staff-panel-access-table code,
.i4s-staff-panel-access-table a {
    overflow-wrap: anywhere;
}

.i4s-staff-panel-access-table strong {
    display: block;
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.3;
}

.i4s-staff-panel-access-table code {
    display: inline-block;
    margin-top: 4px;
}

.i4s-staff-panel-access-select {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-access-select input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.i4s-staff-panel-policy-chip {
    display: inline-grid;
    gap: 2px;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #dce8f0;
    border-radius: 8px;
    background: #f7fbfd;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel-policy-chip strong {
    color: var(--i4s-staff-navy);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.i4s-staff-panel-policy-chip small {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-policy-chip.is-enabled {
    border-color: #9fd6c0;
    background: #eefaf4;
}

.i4s-staff-panel-policy-chip.is-disabled {
    border-color: #e0c8a2;
    background: #fff8ec;
}

.i4s-staff-panel-policy-chip.is-none {
    border-color: #dce8f0;
    background: #f7fbfd;
}

.i4s-staff-panel-content-policy-bulk {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-bulk-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #ffffff;
    min-width: 0;
}

.i4s-staff-panel-content-policy-bulk-panel header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-bulk-panel header > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-bulk-panel strong {
    color: var(--i4s-staff-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.i4s-staff-panel-content-policy-bulk-panel header span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.i4s-staff-panel-access-policy-registry {
    gap: 14px;
}

.i4s-staff-panel-content-policy-create,
.i4s-staff-panel-content-policy-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dde7ee;
    border-radius: 8px;
    background: #ffffff;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 8px;
    background: #f0f9ff;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter header > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 14px;
    font-weight: 900;
}

.i4s-staff-panel-content-policy-starter header span,
.i4s-staff-panel-content-policy-starter p,
.i4s-staff-panel-content-policy-starter small {
    color: #475569;
}

.i4s-staff-panel-content-policy-starter header strong {
    flex: 0 0 auto;
    color: #0369a1;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-content-policy-starter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter-list article {
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 8px;
    background: #ffffff;
    min-width: 0;
}

.i4s-staff-panel-content-policy-starter-list article.is-existing,
.i4s-staff-panel-content-policy-starter-list article.is-missing {
    background: #f8fafc;
}

.i4s-staff-panel-content-policy-starter-list strong,
.i4s-staff-panel-content-policy-starter-list span,
.i4s-staff-panel-content-policy-starter-list code,
.i4s-staff-panel-content-policy-starter-list small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-content-policy-create h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 14px;
    font-weight: 900;
}

.i4s-staff-panel-content-policy-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-card header > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-card strong,
.i4s-staff-panel-content-policy-card span,
.i4s-staff-panel-content-policy-card code,
.i4s-staff-panel-content-policy-card p {
    overflow-wrap: anywhere;
}

.i4s-staff-panel-content-policy-card strong {
    color: var(--i4s-staff-navy);
    font-size: 14px;
    line-height: 1.3;
}

.i4s-staff-panel-content-policy-card header span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
}

.i4s-staff-panel-content-policy-form,
.i4s-staff-panel-content-policy-delete {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-content-policy-delete {
    border-top: 1px solid #e8eff4;
    padding-top: 10px;
}

@media (max-width: 640px) {
    .i4s-staff-panel-access-toolbar {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-content-enforcement-form .i4s-staff-panel-form-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-content-policy-bulk-panel header {
        display: grid;
    }

    .i4s-staff-panel-content-policy-bulk-panel .i4s-staff-panel-form-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-content-policy-card header {
        display: grid;
    }

    .i4s-staff-panel-content-policy-form .i4s-staff-panel-form-grid {
        grid-template-columns: 1fr;
    }
}

.i4s-staff-panel-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf4f8;
    color: #16445f;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.i4s-staff-panel :where(
    .i4s-staff-panel-module-head,
    .i4s-staff-panel-subpanel,
    .i4s-staff-panel-card,
    .i4s-staff-panel-empty,
    .i4s-staff-panel-item,
    .i4s-staff-panel-action-card,
    .i4s-staff-panel-agent-event,
    .i4s-client-panel-card,
    .i4s-client-panel-staff,
    .i4s-client-panel-staff-head,
    .i4s-client-panel-staff-list article,
    .i4s-client-panel-staff-action,
    .i4s-client-panel-staff-filter
) {
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel :where(input, select, textarea) {
    background: #ffffff;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel ::placeholder {
    color: #637382;
    opacity: 1;
}

.i4s-staff-panel :where(a:not(.i4s-staff-panel-button-link)) {
    color: #0a4f7d;
}

.i4s-staff-panel-recommendation {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid rgba(25, 115, 91, 0.24);
    border-radius: 8px;
    background: rgba(25, 115, 91, 0.08);
}

.i4s-staff-panel-recommendation-list {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-recommendation.is-warning {
    border-color: rgba(176, 138, 91, 0.42);
    background: rgba(176, 138, 91, 0.1);
}

.i4s-staff-panel-recommendation strong {
    color: var(--i4s-staff-navy);
}

.i4s-staff-panel-corporate {
    gap: 16px;
}

.i4s-staff-panel-corporate-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: var(--i4s-staff-line);
}

.i4s-staff-panel-corporate-summary > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    min-height: 92px;
    padding: 16px;
    background: #fff;
}

.i4s-staff-panel-corporate-summary span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-corporate-summary strong {
    color: var(--i4s-staff-navy);
    font-size: 28px;
    line-height: 1;
}

.i4s-staff-panel-corporate-summary em {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
}

.i4s-staff-panel-corporate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.i4s-staff-panel-company-fichas {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-company-fichas-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.i4s-staff-panel-company-fichas-head p {
    margin-top: 5px;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-company-fichas-head > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(25, 115, 91, 0.22);
    border-radius: 999px;
    background: rgba(25, 115, 91, 0.08);
    color: #155d4b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
}

.i4s-staff-panel-company-ficha-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.i4s-staff-panel-company-ficha {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel-company-ficha header,
.i4s-staff-panel-company-ficha footer {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-company-ficha header > div {
    min-width: 0;
}

.i4s-staff-panel-company-ficha h4 {
    margin: 4px 0 0;
    color: var(--i4s-staff-navy);
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-company-ficha header span,
.i4s-staff-panel-company-ficha footer > span,
.i4s-staff-panel-company-ficha dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-company-ficha header em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 140px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid rgba(176, 138, 91, 0.45);
    border-radius: 999px;
    background: rgba(176, 138, 91, 0.1);
    color: #725433;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.i4s-staff-panel-company-ficha-completion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    align-items: center;
}

.i4s-staff-panel-company-ficha-completion span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-company-ficha-completion strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1;
}

.i4s-staff-panel-company-ficha-completion div {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf1;
}

.i4s-staff-panel-company-ficha-completion i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #19735b, #b08a5b);
}

.i4s-staff-panel-company-ficha-sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.i4s-staff-panel-company-ficha-sections section {
    display: grid;
    gap: 9px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-company-ficha-sections h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.2;
}

.i4s-staff-panel-company-ficha-sections dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.i4s-staff-panel-company-ficha-sections dl > div {
    display: grid;
    gap: 3px;
}

.i4s-staff-panel-company-ficha dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-company-ficha-links {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.i4s-staff-panel-company-ficha-links li {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 7px;
    border: 1px solid #dfe7ed;
    border-radius: 6px;
    background: #fff;
}

.i4s-staff-panel-company-ficha-links li.is-empty {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.i4s-staff-panel-company-ficha-links strong {
    color: var(--i4s-staff-navy);
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-company-ficha-links span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    line-height: 1.25;
}

.i4s-staff-panel-template-factory {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-template-factory-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.i4s-staff-panel-template-factory-head p {
    margin-top: 5px;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-template-factory-head > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(25, 115, 91, 0.22);
    border-radius: 999px;
    background: rgba(25, 115, 91, 0.08);
    color: #155d4b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.i4s-staff-panel-template-factory-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(320px, 1fr) minmax(260px, 0.92fr);
    gap: 14px;
    align-items: start;
}

.i4s-staff-panel-template-registry,
.i4s-staff-panel-template-draft-form,
.i4s-staff-panel-template-preview {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
    color: var(--i4s-staff-ink);
}

.i4s-staff-panel-template-registry h5,
.i4s-staff-panel-template-draft-form h5,
.i4s-staff-panel-template-preview h5 {
    margin: 0;
    color: var(--i4s-staff-navy);
    font-size: 15px;
    line-height: 1.2;
}

.i4s-staff-panel-template-registry article {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-template-registry header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.i4s-staff-panel-template-registry strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-template-registry em {
    flex: 0 0 auto;
    max-width: 110px;
    padding: 4px 7px;
    border: 1px solid rgba(176, 138, 91, 0.42);
    border-radius: 999px;
    background: rgba(176, 138, 91, 0.1);
    color: #725433;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.i4s-staff-panel-template-registry > article > span {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-template-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.i4s-staff-panel-template-chips i {
    display: inline-flex;
    max-width: 100%;
    padding: 4px 7px;
    border: 1px solid #d7e0e7;
    border-radius: 999px;
    background: #fff;
    color: var(--i4s-staff-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-template-draft-form textarea {
    min-height: 132px;
    resize: vertical;
}

.i4s-staff-panel-template-draft-form .i4s-staff-panel-form-grid {
    grid-template-columns: 1fr;
}

.i4s-staff-panel-template-draft-form input,
.i4s-staff-panel-template-draft-form select,
.i4s-staff-panel-template-draft-form textarea {
    max-width: 100%;
    min-width: 0;
}

.i4s-staff-panel-template-preview p {
    margin: 0;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-template-preview dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.i4s-staff-panel-template-preview dl > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-template-preview dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-template-preview dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-template-preview pre {
    max-height: 420px;
    margin: 0;
    overflow: auto;
    padding: 12px;
    border: 1px solid #dfe7ed;
    border-radius: 8px;
    background: #f9fbfc;
    color: var(--i4s-staff-ink);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corporate-domains {
    display: grid;
    gap: 14px;
}

.i4s-staff-panel-domain-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.i4s-staff-panel-domain-head p {
    margin-top: 5px;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-domain-head > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(176, 138, 91, 0.4);
    border-radius: 999px;
    background: rgba(176, 138, 91, 0.1);
    color: #725433;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
}

.i4s-staff-panel-domain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.i4s-staff-panel-domain-card {
    display: grid;
    gap: 7px;
    min-width: 0;
    min-height: 138px;
    padding: 13px;
    border: 1px solid #d7e0e7;
    border-radius: 8px;
    background: #fff;
    color: var(--i4s-staff-ink);
    text-align: left;
    box-shadow: none;
}

.i4s-staff-panel-domain-card:hover,
.i4s-staff-panel-domain-card.is-active {
    border-color: rgba(176, 138, 91, 0.75);
    background: linear-gradient(180deg, #fff, rgba(176, 138, 91, 0.08));
}

.i4s-staff-panel-domain-card span {
    color: var(--i4s-staff-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-domain-card strong {
    color: var(--i4s-staff-navy);
    font-size: 15px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-domain-card em {
    color: var(--i4s-staff-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corporate-tools {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
}

.i4s-staff-panel-corporate-tools p {
    margin-top: 5px;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.45;
}

.i4s-staff-panel-corporate-workspace {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
    align-items: start;
}

.i4s-staff-panel-corp-card {
    display: grid;
    gap: 13px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-corp-card header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-corp-card h4 {
    margin: 4px 0 0;
    color: var(--i4s-staff-navy);
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corp-card header span,
.i4s-staff-panel-corp-card dt {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-corp-card header em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 120px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid rgba(176, 138, 91, 0.45);
    border-radius: 999px;
    background: rgba(176, 138, 91, 0.1);
    color: #725433;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.i4s-staff-panel-corp-card p {
    color: var(--i4s-staff-ink);
    font-size: 14px;
    line-height: 1.45;
}

.i4s-staff-panel-corp-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.i4s-staff-panel-corp-card dl > div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px;
    border: 1px solid #e2e8ee;
    border-radius: 6px;
    background: #f9fbfc;
}

.i4s-staff-panel-corp-card dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corp-card ul,
.i4s-staff-panel-step-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.35;
}

.i4s-staff-panel-corporate-form {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-form-mode {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(176, 138, 91, 0.35);
    border-radius: 999px;
    background: rgba(176, 138, 91, 0.1);
    color: #725433;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.i4s-staff-panel-corporate-form textarea {
    min-height: 108px;
    padding: 10px;
    resize: vertical;
}

.i4s-staff-panel-corporate-form .i4s-staff-panel-feedback {
    margin: 0;
}

.i4s-staff-panel-corporate-record-list {
    display: grid;
    gap: 10px;
    max-height: 620px;
    overflow: auto;
    padding-right: 2px;
}

.i4s-staff-panel-backoffice-boards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.i4s-staff-panel-backoffice-board {
    display: grid;
    gap: 10px;
    min-width: 0;
    align-content: start;
    padding: 14px;
    border: 1px solid var(--i4s-staff-line);
    border-radius: 8px;
    background: #fff;
}

.i4s-staff-panel-backoffice-board[data-filtered-empty="1"]::after {
    content: "No matching records in this board.";
    display: block;
    padding: 12px;
    border: 1px dashed #d7e0e7;
    border-radius: 6px;
    color: var(--i4s-staff-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.i4s-staff-panel-backoffice-board > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.i4s-staff-panel-backoffice-board > header h4 {
    margin: 3px 0 0;
    color: var(--i4s-staff-navy);
    font-size: 17px;
    line-height: 1.15;
}

.i4s-staff-panel-backoffice-board > header span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.i4s-staff-panel-backoffice-board > header strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 28px;
    border: 1px solid #d7e0e7;
    border-radius: 999px;
    background: #f8fafb;
    color: var(--i4s-staff-navy);
    font-size: 12px;
}

.i4s-staff-panel-corporate-record {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f9fbfc;
}

.i4s-staff-panel-corporate-record header,
.i4s-staff-panel-corporate-record footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.i4s-staff-panel-corporate-record header > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.i4s-staff-panel-corporate-record header span,
.i4s-staff-panel-corporate-record dt,
.i4s-staff-panel-corporate-record footer span {
    color: var(--i4s-staff-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.i4s-staff-panel-corporate-record strong {
    color: var(--i4s-staff-navy);
    font-size: 14px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corporate-record header em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 7px;
    border: 1px solid rgba(25, 115, 91, 0.24);
    border-radius: 999px;
    background: rgba(25, 115, 91, 0.08);
    color: #155d4b;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.i4s-staff-panel-corporate-record dl {
    display: grid;
    gap: 7px;
    margin: 0;
}

.i4s-staff-panel-corporate-record dl > div {
    display: grid;
    gap: 3px;
}

.i4s-staff-panel-corporate-record dd {
    margin: 0;
    color: var(--i4s-staff-ink);
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.i4s-staff-panel-corporate-record p {
    color: var(--i4s-staff-muted);
    font-size: 13px;
    line-height: 1.42;
}

.i4s-staff-panel-corporate-record footer button {
    min-height: 30px;
    padding: 5px 8px;
}

.i4s-staff-panel-record-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 6px;
    max-width: 100%;
}

.i4s-staff-panel-record-actions button {
    min-width: 0;
    max-width: 100%;
    font-size: 11px;
    white-space: normal;
}

.i4s-staff-panel-corporate-list {
    display: grid;
    gap: 9px;
}

.i4s-staff-panel-corporate-list > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    background: #f9fbfc;
}

.i4s-staff-panel-corporate-list strong {
    color: var(--i4s-staff-navy);
    font-size: 13px;
    line-height: 1.2;
}

.i4s-staff-panel-corporate-list span,
.i4s-staff-panel-corporate-list em {
    color: var(--i4s-staff-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.35;
}

.i4s-staff-panel-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}

.i4s-staff-panel-chip-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid #d7e0e7;
    border-radius: 999px;
    background: #f8fafb;
    color: var(--i4s-staff-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.i4s-staff-panel-task-counts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.i4s-staff-panel-task-counts span {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid var(--i4s-staff-line);
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    color: var(--i4s-staff-muted);
}

.i4s-staff-panel-task-counts strong {
    color: var(--i4s-staff-navy);
    font-size: 1.35rem;
    line-height: 1;
}

.i4s-staff-panel-task-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(96px, auto);
    gap: 10px;
    align-items: end;
}

.i4s-staff-panel-task-create {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-task-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.i4s-staff-panel-task-filter input,
.i4s-staff-panel-task-filter select,
.i4s-staff-panel-task-filter button,
.i4s-staff-panel-task-create input,
.i4s-staff-panel-task-create select,
.i4s-staff-panel-task-create textarea {
    width: 100%;
    min-width: 0;
}

.i4s-staff-panel-task-filter span {
    color: var(--i4s-staff-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.i4s-staff-panel-task-list {
    display: grid;
    gap: 12px;
}

.i4s-staff-panel-task {
    display: grid;
    gap: 12px;
    min-width: 0;
    border: 1px solid var(--i4s-staff-line);
    background: #fff;
    border-radius: 8px;
    padding: 14px;
}

.i4s-staff-panel-task header,
.i4s-staff-panel-task footer,
.i4s-staff-panel-task dl {
    display: grid;
    gap: 10px;
}

.i4s-staff-panel-task footer.i4s-staff-panel-actions {
    display: flex;
}

.i4s-staff-panel-task header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.i4s-staff-panel-task strong {
    display: block;
    color: var(--i4s-staff-navy);
    overflow-wrap: anywhere;
}

.i4s-staff-panel-task header span,
.i4s-staff-panel-task p,
.i4s-staff-panel-task dd {
    color: var(--i4s-staff-muted);
    line-height: 1.45;
}

.i4s-staff-panel-task p,
.i4s-staff-panel-task dl,
.i4s-staff-panel-task dd {
    margin: 0;
}

.i4s-staff-panel-task dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.i4s-staff-panel-task dt {
    color: #755631;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.i4s-staff-panel-task-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.i4s-staff-panel-task-badges em {
    border-radius: 999px;
    border: 1px solid var(--i4s-staff-line);
    background: #f8fafb;
    color: var(--i4s-staff-navy);
    font-style: normal;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 8px;
}

.i4s-staff-panel-task.is-priority-urgent,
.i4s-staff-panel-task.is-priority-high {
    border-color: var(--i4s-staff-gold-light);
}

.i4s-staff-panel-task.is-done,
.i4s-staff-panel-task.is-archived {
    opacity: 0.74;
}

@media (max-width: 760px) {
    .i4s-staff-panel {
        width: 100%;
        margin: 12px auto;
        overflow-x: hidden;
    }

    .i4s-staff-panel-shell {
        border-radius: 0;
    }

    .i4s-staff-panel-hero,
    .i4s-staff-panel-toolbar,
    .i4s-staff-panel-item-head,
    .i4s-staff-panel-module-head,
    .i4s-staff-panel-inline-head,
    .i4s-staff-panel-user header,
    .i4s-staff-panel-comment header {
        align-items: stretch;
        flex-direction: column;
    }

    .i4s-staff-panel-session,
    .i4s-staff-panel-item-meta,
    .i4s-staff-panel-user-flags {
        justify-items: start;
        text-align: left;
    }

    .i4s-staff-panel-workbench {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .i4s-staff-panel-rail {
        border-right: 0;
        border-bottom: 1px solid rgba(6, 29, 51, 0.18);
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
    }

    .i4s-staff-panel-rail-head {
        padding: 12px 12px 4px;
    }

    .i4s-staff-panel-nav {
        display: flex;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 10px 12px 12px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .i4s-staff-panel-nav::-webkit-scrollbar {
        display: none;
    }

    .i4s-staff-panel-nav button {
        flex: 0 0 min(168px, 44vw);
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
        justify-items: start;
        align-items: start;
        min-height: 76px;
        padding: 11px;
        scroll-snap-align: start;
    }

    .i4s-staff-panel-nav button small {
        width: 100%;
        text-align: left;
    }

    .i4s-staff-panel-nav button.is-active::before {
        display: none;
    }

    .i4s-staff-panel-main,
    .i4s-staff-panel-sections,
    .i4s-staff-panel-section,
    .i4s-staff-panel-module,
    .i4s-staff-panel-intel-hub,
    .i4s-staff-panel-intel-chat-panel,
    .i4s-staff-panel-intel-credit-panel,
    .i4s-staff-panel-intel-review-item,
    .i4s-staff-panel-intel-credit-item {
        min-width: 0;
        max-width: 100%;
    }

    .i4s-staff-panel-stats,
    .i4s-staff-panel-overview-stats,
    .i4s-staff-panel-metric-grid,
    .i4s-staff-panel-action-center,
    .i4s-staff-panel-task-counts,
    .i4s-staff-panel-corporate-summary,
    .i4s-staff-panel-corporate-grid,
    .i4s-staff-panel-domain-grid,
    .i4s-staff-panel-corporate-workspace,
    .i4s-staff-panel-backoffice-boards,
    .i4s-staff-panel-client-timeline-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-filter,
    .i4s-staff-panel-filter-fields,
    .i4s-staff-panel-task-filter,
    .i4s-staff-panel-task header,
    .i4s-staff-panel-task dl,
    .i4s-staff-panel-overview-grid,
    .i4s-staff-panel-settings-grid,
    .i4s-staff-panel-users-toolbar,
    .i4s-staff-panel-user-fields,
    .i4s-staff-panel-client-identity .i4s-staff-panel-user-fields,
    .i4s-staff-panel-staff-identity .i4s-staff-panel-user-fields,
    .i4s-staff-panel-user-view-tabs,
    .i4s-staff-panel-permission-row,
    .i4s-staff-panel-card-grid,
    .i4s-staff-panel-settings-groups,
    .i4s-staff-panel-agent-metrics,
    .i4s-staff-panel-health-list,
    .i4s-staff-panel-module-map-row dl,
    .i4s-staff-panel-ai-console,
    .i4s-staff-panel-ai-settings,
    .i4s-staff-panel-ai-provider-grid,
    .i4s-staff-panel-ai-route-row,
    .i4s-staff-panel-intel-bridge .i4s-staff-panel-form-grid,
    .i4s-staff-panel-intel-review-form .i4s-staff-panel-form-grid,
    .i4s-staff-panel-intel-chat-form .i4s-staff-panel-form-grid,
    .i4s-staff-panel-intel-credit-form .i4s-staff-panel-form-grid,
    .i4s-staff-panel-editorial-command-grid,
    .i4s-staff-panel-editorial-grid,
    .i4s-staff-panel-company-ficha-grid,
    .i4s-staff-panel-company-ficha-sections,
    .i4s-staff-panel-template-factory-grid,
    .i4s-staff-panel-corporate-tools,
    .i4s-staff-panel-intel-layout,
    .i4s-staff-panel-intel-credit-grid,
    .i4s-staff-panel-client-timeline-filter {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .i4s-staff-panel-ai-strip {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-ai-strip-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .i4s-staff-panel-intel-review-item header,
    .i4s-staff-panel-intel-chat-answer > header,
    .i4s-staff-panel-intel-chat-sources article header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-credit-item header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-review-item header em,
    .i4s-staff-panel-intel-chat-answer > header em {
        max-width: 100%;
        text-align: left;
    }

    .i4s-staff-panel-intel-credit-item header em {
        max-width: 100%;
        text-align: left;
    }

    .i4s-staff-panel-intel-review-item dl div,
    .i4s-staff-panel-intel-chat-sources dl div {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-credit-item dl div {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-review-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .i4s-staff-panel-editorial-preview-wrap {
        position: static;
    }

    .i4s-staff-panel-publish-mode {
        width: 100%;
        flex-basis: auto;
    }

    .i4s-staff-panel-domain-head {
        align-items: stretch;
        flex-direction: column;
    }

    .i4s-staff-panel-company-fichas-head,
    .i4s-staff-panel-template-factory-head,
    .i4s-staff-panel-template-registry header,
    .i4s-staff-panel-company-ficha header,
    .i4s-staff-panel-company-ficha footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-toolbar-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .i4s-staff-panel-publish-mode {
        grid-column: 1 / -1;
    }

    .i4s-staff-panel-aviation-plugins .i4s-staff-panel-card-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-aviation-plugins .i4s-staff-panel-card {
        gap: 8px;
        padding: 12px;
    }

    .i4s-staff-panel-aviation-plugins .i4s-staff-panel-card p {
        display: none;
    }

    .i4s-staff-panel-aviation-plugins .i4s-staff-panel-card footer {
        display: none;
    }

    .i4s-staff-panel-aviation-plugins .i4s-staff-panel-shortcode-chips > span {
        padding: 6px 7px;
    }

    .i4s-staff-panel-client-timeline-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .i4s-staff-panel-client-timeline-filter label {
        flex: 0 0 auto;
    }
}

@media (min-width: 441px) and (max-width: 760px) {
    .i4s-staff-panel-news .i4s-staff-panel-filter-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .i4s-staff-panel-news .i4s-staff-panel-filter-fields label:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .i4s-staff-panel-news .i4s-staff-panel-filter-fields label:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .i4s-staff-panel-news .i4s-staff-panel-filter-fields label:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .i4s-staff-panel-news .i4s-staff-panel-filter-fields label:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .i4s-staff-panel-news .i4s-staff-panel-filter-fields label:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    .i4s-staff-panel-news .i4s-staff-panel-toolbar-actions {
        grid-template-columns: minmax(88px, 1fr) minmax(88px, 1fr) minmax(150px, 1.2fr);
        align-items: end;
    }

    .i4s-staff-panel-news .i4s-staff-panel-publish-mode {
        grid-column: auto;
    }

    .i4s-staff-panel-news .i4s-staff-panel-item {
        gap: 10px;
        padding: 13px;
    }

    .i4s-staff-panel-news .i4s-staff-panel-item-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(118px, 0.42fr);
        align-items: start;
        gap: 10px;
    }

    .i4s-staff-panel-news .i4s-staff-panel-item-meta {
        justify-items: end;
        text-align: right;
    }

    .i4s-staff-panel-news .i4s-staff-panel-item-body p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .i4s-staff-panel-news .i4s-staff-panel-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .i4s-staff-panel-news .i4s-staff-panel-actions button {
        width: 100%;
        min-height: 34px;
        padding: 7px 9px;
    }

    .i4s-staff-panel-comment .i4s-staff-panel-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .i4s-staff-panel-agent .i4s-staff-panel-agent-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .i4s-staff-panel-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .i4s-staff-panel-hero > div {
        width: 100%;
    }

    .i4s-staff-panel-hero p,
    .i4s-staff-panel-hero span {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .i4s-staff-panel-corporate-summary,
    .i4s-staff-panel-template-draft-form .i4s-staff-panel-form-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-module-head {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .i4s-staff-panel,
    .i4s-staff-panel-module,
    .i4s-staff-panel-module-head,
    .i4s-staff-panel-subpanel,
    .i4s-staff-panel-content-enforcement {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .i4s-staff-panel-hero,
    .i4s-staff-panel-login-body,
    .i4s-staff-panel-news-list,
    .i4s-staff-panel-toolbar,
    .i4s-staff-panel-module {
        padding-inline: 14px;
    }

    .i4s-staff-panel-nav {
        display: flex;
        grid-template-columns: none;
    }

    .i4s-staff-panel-nav button {
        flex-basis: 148px;
        min-height: 72px;
    }

    .i4s-staff-panel-stats,
    .i4s-staff-panel-overview-stats,
    .i4s-staff-panel-metric-grid,
    .i4s-staff-panel-action-center,
    .i4s-staff-panel-corporate-summary,
    .i4s-staff-panel-corporate-grid,
    .i4s-staff-panel-company-ficha-grid,
    .i4s-staff-panel-company-ficha-sections,
    .i4s-staff-panel-template-factory-grid,
    .i4s-staff-panel-domain-grid,
    .i4s-staff-panel-corporate-workspace,
    .i4s-staff-panel-corporate-tools,
    .i4s-staff-panel-backoffice-boards,
    .i4s-staff-panel-client-timeline-grid,
    .i4s-staff-panel-profile-hero,
    .i4s-staff-panel-intel-hero,
    .i4s-staff-panel-profile-grid,
    .i4s-staff-panel-profile-workspace,
    .i4s-staff-panel-intel-layout,
    .i4s-staff-panel-ai-provider-grid,
    .i4s-staff-panel-ai-route-row,
    .i4s-staff-panel-editorial-command-grid,
    .i4s-staff-panel-form-grid,
    .i4s-staff-panel-intel-credit-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-access-summary span,
    .i4s-staff-panel-content-enforcement-form input,
    .i4s-staff-panel-content-enforcement-form select {
        max-width: 100%;
        min-width: 0;
    }

    .i4s-staff-panel-editorial-source-item header,
    .i4s-staff-panel-editorial-source-item .i4s-staff-panel-actions,
    .i4s-staff-panel-company-fichas-head,
    .i4s-staff-panel-template-factory-head,
    .i4s-staff-panel-template-registry header,
    .i4s-staff-panel-company-ficha header,
    .i4s-staff-panel-company-ficha footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-profile-status-strip {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-profile-dl div,
    .i4s-staff-panel-profile-contribution dl div,
    .i4s-staff-panel-intel-item dl div,
    .i4s-staff-panel-intel-review-item dl div,
    .i4s-staff-panel-intel-chat-sources dl div,
    .i4s-staff-panel-intel-credit-item dl div {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-review-item header,
    .i4s-staff-panel-intel-chat-answer > header,
    .i4s-staff-panel-intel-chat-sources article header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-credit-item header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-review-item header em,
    .i4s-staff-panel-intel-chat-answer > header em {
        max-width: 100%;
        text-align: left;
    }

    .i4s-staff-panel-intel-credit-item header em {
        max-width: 100%;
        text-align: left;
    }

    .i4s-staff-panel-intel-review-actions {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-ai-strip-actions,
    .i4s-staff-panel-toolbar-actions {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-intel-review-actions button,
    .i4s-staff-panel-ai-strip-actions button,
    .i4s-staff-panel-toolbar-actions button {
        width: 100%;
        min-width: 0;
    }

    .i4s-staff-panel-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-task footer.i4s-staff-panel-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-timeline-item header {
        align-items: flex-start;
        flex-direction: column;
    }

    .i4s-staff-panel-timeline-item dl {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-task footer.i4s-staff-panel-actions button {
        width: 100%;
    }

    .i4s-staff-panel-toolbar-actions {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-shortcode-chips > span,
    .i4s-staff-panel-plugin-links {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-date-presets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .i4s-staff-panel-agent .i4s-staff-panel-actions,
    .i4s-staff-panel-comment .i4s-staff-panel-actions,
    .i4s-staff-panel-agent .i4s-staff-panel-agent-metrics,
    .i4s-staff-panel-editorial-form .i4s-staff-panel-actions {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-floating-ai {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .i4s-staff-panel-ai-quick-prompts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .i4s-staff-panel-metrics-pixel .i4s-metrics-pixel-grid {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-metrics-pixel .i4s-metrics-pixel-ip-list div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .i4s-staff-panel-metrics-correlation-head,
    .i4s-staff-panel-metrics-pixel .i4s-metrics-pixel-head {
        display: grid;
        align-items: start;
    }

    .i4s-staff-panel-metrics-pixel .i4s-metrics-pixel-cards {
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-editorial-source-item header,
    .i4s-staff-panel-editorial-source-item .i4s-staff-panel-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .i4s-staff-panel-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        overflow: visible;
        overscroll-behavior-x: auto;
        padding: 10px 12px 12px;
        scroll-snap-type: none;
        scrollbar-width: auto;
    }

    .i4s-staff-panel-nav-group {
        width: 100%;
        max-width: 100%;
    }

    .i4s-staff-panel-nav-group summary {
        min-height: 54px;
    }

    .i4s-staff-panel-nav-group-items {
        max-height: 288px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .i4s-staff-panel-nav .i4s-staff-panel-nav-group-items button {
        flex: initial;
        display: flex;
        min-height: 58px;
        width: 100%;
        padding: 10px 11px;
        scroll-snap-align: none;
    }
}

@media (max-width: 440px) {
    .i4s-staff-panel-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .i4s-staff-panel-nav .i4s-staff-panel-nav-group-items button {
        flex-basis: auto;
        min-height: 58px;
    }
}
