:root {
    --op4-bg: #09101d;
    --op4-panel: #121c2b;
    --op4-panel-2: #172437;
    --op4-paper: #ffffff;
    --op4-ink: #e6edf7;
    --op4-heading: #ffffff;
    --op4-muted: #91a3bb;
    --op4-line: rgba(148, 163, 184, .18);
    --op4-line-strong: rgba(148, 163, 184, .34);
    --op4-cyan: #22d3ee;
    --op4-green: #22c55e;
    --op4-amber: #f59e0b;
    --op4-red: #fb7185;
    --op4-purple: #a78bfa;
    --op4-blue: #60a5fa;
    --op4-shadow: 0 24px 64px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

body.op4-app,
body.op4-login {
    margin: 0;
    color: var(--op4-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

body.op4-app {
    min-height: 100vh;
    background: linear-gradient(135deg, #09101d 0%, #0d1726 46%, #101827 100%);
}

body.op4-app a,
body.op4-login a {
    color: inherit;
    text-decoration: none;
}

body.op4-app button,
body.op4-login button,
body.op4-app input,
body.op4-login input,
body.op4-app select,
body.op4-app textarea {
    font-family: inherit;
    letter-spacing: 0;
}

.op4-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
}

.op4-rail {
    position: sticky;
    top: 0;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px 12px;
    background: #070d18;
    border-right: 1px solid var(--op4-line);
}

.op4-brand {
    display: grid;
    place-items: center;
    gap: 8px;
    width: 72px;
}

.op4-brand span,
.op4-login-brand span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #05111d;
    background: var(--op4-cyan);
    font-weight: 900;
}

.op4-brand strong {
    max-width: 72px;
    overflow: hidden;
    color: var(--op4-heading);
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.op4-nav {
    display: grid;
    gap: 9px;
}

.op4-nav a,
.op4-logout,
.op4-icon-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--op4-muted);
    background: rgba(255, 255, 255, .04);
}

.op4-nav a span,
.op4-logout span {
    display: none;
}

.op4-nav a:hover,
.op4-nav a.is-active {
    color: #05111d;
    border-color: rgba(34, 211, 238, .42);
    background: var(--op4-cyan);
    box-shadow: 0 12px 28px rgba(34, 211, 238, .18);
}

.op4-logout {
    margin-top: auto;
    color: var(--op4-red);
}

.op4-main {
    min-width: 0;
}

.op4-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 28px;
    background: rgba(9, 16, 29, .86);
    border-bottom: 1px solid var(--op4-line);
    backdrop-filter: blur(18px);
}

.op4-topbar span,
.op4-command-strip span,
.op4-panel header span,
.op4-kpi span,
.op4-summary-grid span,
.op4-muted,
.op1-muted,
.op4-doc-hero span {
    color: var(--op4-muted);
    font-size: 12px;
    line-height: 1.35;
}

.op4-topbar h1,
.op4-command-strip h2,
.op4-panel header h2,
.op4-doc-hero h2 {
    margin: 4px 0 0;
    color: var(--op4-heading);
    font-size: 23px;
    line-height: 1.2;
}

.op4-userbar,
.op4-page-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.op4-account {
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--op4-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.op4-account-text {
    min-width: 0;
}

.op4-account b,
.op4-account small {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.op4-account small {
    margin-top: 3px;
    color: var(--op4-muted);
}

.op4-icon-btn {
    color: var(--op4-cyan);
    cursor: pointer;
}

.op4-icon-btn.is-danger {
    color: var(--op4-red);
}

.op4-content {
    display: grid;
    gap: 16px;
    padding: 24px 28px 34px;
}

.op4-command-strip,
.op4-panel,
.op1-panel,
.op4-kpi,
.op1-kpi,
.op4-summary-grid > article,
.op1-summary-grid > article {
    border: 1px solid var(--op4-line);
    border-radius: 14px;
    background: rgba(18, 28, 43, .92);
    box-shadow: var(--op4-shadow);
}

.op4-command-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.op4-btn,
.op1-btn,
.op1-action-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid var(--op4-line-strong);
    border-radius: 10px;
    color: var(--op4-ink);
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.op4-btn.is-primary,
.op1-btn.is-primary {
    color: #06111d;
    border-color: var(--op4-cyan);
    background: var(--op4-cyan);
}

.op4-btn.is-soft {
    color: var(--op4-cyan);
    border-color: rgba(34, 211, 238, .28);
    background: rgba(34, 211, 238, .1);
}

.op4-btn.is-ghost,
.op1-btn.is-ghost {
    color: var(--op4-ink);
}

.op4-kpi-grid,
.op4-summary-grid,
.op1-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.op4-summary-grid,
.op1-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.op4-kpi,
.op1-kpi,
.op4-summary-grid > article,
.op1-summary-grid > article {
    min-height: 112px;
    padding: 18px;
}

.op4-kpi.is-primary,
.op1-kpi.is-primary {
    background: linear-gradient(135deg, rgba(34, 211, 238, .95), rgba(96, 165, 250, .95));
}

.op4-kpi.is-primary span,
.op4-kpi.is-primary p,
.op1-kpi.is-primary span,
.op1-kpi.is-primary p,
.op4-kpi.is-primary strong,
.op1-kpi.is-primary strong {
    color: #06111d;
}

.op4-kpi strong,
.op1-kpi strong,
.op4-summary-grid b,
.op1-summary-grid b {
    display: block;
    margin-top: 8px;
    color: var(--op4-heading);
    font-size: 24px;
    line-height: 1.2;
}

.op4-kpi p,
.op1-kpi p {
    margin: 8px 0 0;
    color: var(--op4-muted);
}

.op4-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(310px, .85fr);
    gap: 16px;
}

.op4-panel,
.op1-panel {
    min-width: 0;
    padding: 18px;
}

.op4-panel-wide {
    grid-row: span 2;
}

.op4-panel header,
.op1-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.op4-quick-list {
    display: grid;
    gap: 10px;
}

.op4-quick-list a {
    min-height: 70px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--op4-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.op4-quick-list i {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--op4-cyan);
    background: rgba(34, 211, 238, .1);
}

.op4-quick-list b,
.op4-quick-list span,
.op1-mini-row b,
.op1-mini-row span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.op4-quick-list span {
    color: var(--op4-muted);
    font-size: 12px;
}

.op4-trend,
.op1-trend {
    min-height: 275px;
}

.op1-trend-bar {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 74px;
    gap: 12px;
    align-items: center;
    margin-bottom: 13px;
}

.op1-trend-bar b {
    display: block;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--op4-cyan), var(--op4-green));
}

.op1-trend-bar span {
    color: var(--op4-heading);
    font-weight: 800;
}

.op1-trend-bar small {
    color: var(--op4-muted);
}

.op4-mini-list,
.op1-mini-list {
    display: grid;
    gap: 10px;
}

.op1-mini-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--op4-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.op1-mini-row > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #06111d;
    background: var(--op4-cyan);
}

.op4-filter-bar,
.op1-filter-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr)) auto auto;
    gap: 10px;
    align-items: center;
}

.op1-filter-extra {
    display: none;
}

.op4-filter-bar input,
.op4-filter-bar select,
.op1-filter-bar input,
.op1-filter-bar select,
.op4-drawer input,
.op4-drawer select,
.op4-drawer textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--op4-line-strong);
    border-radius: 10px;
    color: var(--op4-ink);
    background: rgba(255, 255, 255, .07);
    outline: none;
}

.op4-filter-bar input::placeholder,
.op1-filter-bar input::placeholder {
    color: #7f91a8;
}

.op4-filter-bar input:focus,
.op4-filter-bar select:focus,
.op1-filter-bar input:focus,
.op1-filter-bar select:focus,
.op4-drawer input:focus,
.op4-drawer select:focus,
.op4-drawer textarea:focus {
    border-color: var(--op4-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
}

.op4-table-wrap,
.op1-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.op1-data-table {
    width: 100%;
    min-width: 1020px;
    border-collapse: separate;
    border-spacing: 0;
}

.op1-data-table th,
.op1-data-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--op4-line);
    color: var(--op4-ink);
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.op1-data-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: var(--op4-muted);
    background: #0d1624;
    font-weight: 800;
}

.op1-data-table tbody tr:hover td {
    background: rgba(255, 255, 255, .035);
}

.op1-money {
    color: #ffffff;
    font-weight: 900;
}

.op1-tag {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--op4-purple);
    background: rgba(167, 139, 250, .14);
    font-size: 12px;
    font-weight: 800;
}

.op1-tag.is-success { color: var(--op4-green); background: rgba(34, 197, 94, .14); }
.op1-tag.is-running { color: var(--op4-blue); background: rgba(96, 165, 250, .14); }
.op1-tag.is-wait { color: var(--op4-amber); background: rgba(245, 158, 11, .14); }
.op1-tag.is-fail { color: var(--op4-red); background: rgba(251, 113, 133, .14); }
.op1-tag.is-abnormal { color: var(--op4-purple); background: rgba(167, 139, 250, .14); }

.op1-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.op1-action-btn {
    min-height: 30px;
    padding: 0 10px;
    color: var(--op4-cyan);
    border-color: rgba(34, 211, 238, .24);
    background: rgba(34, 211, 238, .1);
}

.op4-pager,
.op1-pager {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: var(--op4-muted);
}

.op1-pager-actions {
    display: flex;
    gap: 8px;
}

.op1-pager button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--op4-line);
    border-radius: 10px;
    color: var(--op4-ink);
    background: rgba(255, 255, 255, .06);
}

.op1-pager button:disabled {
    color: #64748b;
    background: rgba(255, 255, 255, .03);
}

.op1-empty {
    min-height: 120px;
    display: grid;
    place-items: center;
    color: var(--op4-muted);
    border: 1px dashed var(--op4-line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.op1-empty.is-loading::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 8px;
    display: inline-block;
    border: 2px solid rgba(34, 211, 238, .2);
    border-top-color: var(--op4-cyan);
    border-radius: 999px;
    animation: op4-spin .8s linear infinite;
    vertical-align: middle;
}

@keyframes op4-spin {
    to { transform: rotate(360deg); }
}

.op4-tabs,
.op1-tabs {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 14px;
    padding: 5px;
    border: 1px solid var(--op4-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.op4-tabs button,
.op1-tabs button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    color: var(--op4-muted);
    background: transparent;
    font-weight: 800;
}

.op4-tabs button.is-active,
.op1-tabs button.is-active {
    color: #06111d;
    background: var(--op4-cyan);
}

.op4-drawer-mask,
.op1-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    background: rgba(0, 0, 0, .58);
}

.op4-drawer-mask.is-open,
.op1-drawer-mask.is-open {
    display: block;
}

.op4-drawer,
.op1-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(660px, 96vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #101a29;
    border-left: 1px solid var(--op4-line);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .42);
}

.op4-drawer header,
.op1-drawer header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--op4-line);
}

.op4-drawer header span,
.op1-drawer header span {
    color: var(--op4-muted);
    font-size: 12px;
}

.op4-drawer header h3,
.op1-drawer header h3 {
    margin: 4px 0 0;
    color: var(--op4-heading);
    font-size: 21px;
}

.op4-drawer header button,
.op1-drawer header button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--op4-line);
    border-radius: 10px;
    color: var(--op4-ink);
    background: rgba(255, 255, 255, .06);
}

.op4-drawer-body,
.op1-drawer-body {
    flex: 1;
    min-height: 0;
    padding: 20px 22px;
    overflow-y: auto;
}

.op1-drawer-filter {
    display: grid;
    gap: 12px;
}

.op1-detail-card {
    display: grid;
    gap: 12px;
}

.op1-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.op1-detail-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--op4-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.op1-detail-item.is-wide {
    grid-column: 1 / -1;
}

.op1-detail-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--op4-muted);
    font-size: 12px;
}

.op1-detail-item b,
.op1-detail-value {
    display: block;
    min-width: 0;
    color: var(--op4-heading);
    font-size: 13px;
    line-height: 1.45;
    word-break: break-all;
}

.op1-detail-pre {
    padding: 10px;
    border-radius: 10px;
    color: #dbeafe;
    background: #07111f;
    white-space: pre-wrap;
}

.op4-doc-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(34, 211, 238, .18);
    border-radius: 14px;
    background: rgba(34, 211, 238, .08);
}

.op4-doc-hero p {
    margin: 8px 0 0;
    color: var(--op4-muted);
}

.op4-doc-shell,
.op1-doc-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.op4-doc-nav,
.op1-doc-nav {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--op4-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.op1-doc-nav-title {
    margin-bottom: 6px;
    color: var(--op4-muted);
    font-size: 12px;
    font-weight: 900;
}

.op4-doc-nav a,
.op1-doc-nav a {
    min-height: 32px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 9px;
    color: var(--op4-ink);
    font-size: 13px;
}

.op4-doc-nav a:hover,
.op4-doc-nav a.is-active,
.op1-doc-nav a:hover,
.op1-doc-nav a.is-active {
    color: #06111d;
    background: var(--op4-cyan);
}

.op4-doc-content,
.op1-doc-content {
    min-width: 0;
    color: var(--op4-ink);
    line-height: 1.7;
}

.op4-doc-content h1,
.op4-doc-content h2,
.op4-doc-content h3,
.op1-doc-content h1,
.op1-doc-content h2,
.op1-doc-content h3 {
    color: var(--op4-heading);
}

.op4-doc-content table,
.op1-doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    border: 1px solid var(--op4-line);
}

.op4-doc-content th,
.op4-doc-content td,
.op1-doc-content th,
.op1-doc-content td {
    padding: 10px;
    border: 1px solid var(--op4-line);
    text-align: left;
}

.op4-doc-content pre,
.op1-doc-content pre {
    overflow-x: auto;
    padding: 14px;
    border-radius: 12px;
    color: #dbeafe;
    background: #06101d;
}

.op4-code-wrap {
    position: relative;
}

.op4-code-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid rgba(34, 211, 238, .32);
    border-radius: 8px;
    padding: 5px 9px;
    color: #06111d;
    background: var(--op4-cyan);
    font-size: 12px;
    cursor: pointer;
}

.select2-container--default .select2-selection--single {
    min-height: 38px;
    border-color: var(--op4-line-strong);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: var(--op4-ink);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-dropdown {
    color: #111827;
    border-color: #94a3b8;
    border-radius: 10px;
    overflow: hidden;
}

.layui-laydate {
    border-color: #334155;
    border-radius: 12px;
    box-shadow: var(--op4-shadow);
}

.layui-laydate .layui-this {
    background-color: #0891b2 !important;
}

body.op4-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #07101d center / cover no-repeat;
}

body.op4-login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 10, 20, .9), rgba(12, 30, 49, .62));
}

.op4-login-shell {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100vw - 42px));
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, .22);
    border-radius: 22px;
    background: rgba(7, 13, 24, .76);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .42);
    backdrop-filter: blur(16px);
}

.op4-login-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
}

.op4-login-brand {
    display: inline-grid;
    grid-template-columns: 46px minmax(0, auto);
    gap: 12px;
    align-items: center;
}

.op4-login-brand strong {
    color: #ffffff;
    font-size: 20px;
}

.op4-login-copy p {
    margin: 0 0 12px;
    color: var(--op4-cyan);
    font-weight: 900;
}

.op4-login-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.1;
}

.op4-login-copy span {
    display: block;
    margin-top: 14px;
    color: var(--op4-muted);
}

.op4-login-card {
    display: flex;
    align-items: center;
    padding: 34px;
    background: rgba(10, 18, 32, .94);
    border-left: 1px solid var(--op4-line);
}

.op4-login-card form {
    width: 100%;
    display: grid;
    gap: 14px;
}

.op4-login-card label {
    display: grid;
    gap: 7px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
}

.op4-login-card input,
.op4-captcha input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--op4-line-strong);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
    outline: none;
}

.op4-login-card input:focus,
.op4-captcha input:focus {
    border-color: var(--op4-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
}

.op4-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 10px;
}

.op4-captcha img {
    width: 120px;
    height: 44px;
    border: 1px solid var(--op4-line);
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}

.op4-remember {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
    color: var(--op4-muted) !important;
}

.op4-remember input {
    width: auto;
    height: auto;
}

.op4-login-submit {
    width: 100%;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    color: #06111d;
    background: var(--op4-cyan);
    font-weight: 900;
    cursor: pointer;
}

.op4-login-submit:disabled {
    cursor: not-allowed;
    opacity: .72;
}

@media (max-width: 1280px) {
    .op4-filter-bar,
    .op1-filter-bar {
        grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto;
    }
}

@media (max-width: 980px) {
    .op4-shell {
        grid-template-columns: 1fr;
    }

    .op4-rail {
        position: sticky;
        min-height: auto;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 14px;
    }

    .op4-brand strong,
    .op4-logout span {
        display: none;
    }

    .op4-nav {
        display: flex;
    }

    .op4-logout {
        margin: 0 0 0 auto;
    }

    .op4-dashboard-grid,
    .op4-doc-shell,
    .op1-doc-shell {
        grid-template-columns: 1fr;
    }

    .op4-doc-nav,
    .op1-doc-nav {
        position: static;
    }

    .op4-summary-grid,
    .op1-summary-grid,
    .op4-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op4-login-shell {
        grid-template-columns: 1fr;
    }

    .op4-login-copy {
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .op4-content,
    .op4-topbar {
        padding-left: 14px;
        padding-right: 14px;
    }

    .op4-topbar,
    .op4-command-strip,
    .op4-doc-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .op4-account {
        display: none;
    }

    .op4-summary-grid,
    .op1-summary-grid,
    .op4-kpi-grid,
    .op4-filter-bar,
    .op1-filter-bar,
    .op1-detail-grid {
        grid-template-columns: 1fr;
    }
}
