:root {
    --ink: #182332;
    --ink-soft: #425269;
    --muted: #7b899c;
    --canvas: #f4f7fa;
    --paper: #ffffff;
    --line: #e3e9f0;
    --navy: #111c2d;
    --navy-soft: #1d2c43;
    --teal: #20b79b;
    --teal-soft: #e4f8f3;
    --blue: #3e75da;
    --blue-soft: #e9f0ff;
    --amber: #d8922f;
    --amber-soft: #fff4dd;
    --red: #d75b64;
    --red-soft: #ffeaed;
    --shadow: 0 16px 42px rgba(26, 43, 68, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.framework-shell {
    display: flex;
    min-height: 100vh;
}

.framework-sidebar {
    background: var(--navy);
    color: #fff;
    display: flex;
    flex: 0 0 244px;
    flex-direction: column;
    padding: 22px 15px;
}

.framework-brand {
    align-items: center;
    display: flex;
    gap: 11px;
    margin: 3px 10px 34px;
}

.brand-mark {
    align-items: center;
    background: var(--teal);
    border-radius: 11px;
    color: var(--navy);
    display: inline-flex;
    flex: 0 0 40px;
    font-size: 14px;
    font-weight: 900;
    height: 40px;
    justify-content: center;
}

.framework-brand strong,
.framework-brand small {
    display: block;
}

.framework-brand strong {
    font-size: 15px;
}

.framework-brand small {
    color: #8ea0b8;
    font-size: 10px;
    margin-top: 2px;
}

.nav-label {
    color: #71839d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin: 0 12px 10px;
    text-transform: uppercase;
}

.framework-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.framework-nav button,
.framework-nav a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #9eacc0;
    display: flex;
    font-weight: 700;
    gap: 11px;
    padding: 11px 13px;
    text-align: left;
    width: 100%;
}

.framework-nav button span:first-child,
.framework-nav a span:first-child {
    color: #6f8099;
    font-size: 13px;
    text-align: center;
    width: 18px;
}

.framework-nav button:hover,
.framework-nav button.active,
.framework-nav a:hover,
.framework-nav a.active {
    background: var(--navy-soft);
    border-color: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.framework-nav button.active,
.framework-nav a.active {
    box-shadow: inset 3px 0 0 var(--teal);
}

.framework-nav button.active span:first-child,
.framework-nav button:hover span:first-child,
.framework-nav a.active span:first-child,
.framework-nav a:hover span:first-child {
    color: var(--teal);
}

.nav-count {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #dbe4ef !important;
    font-size: 10px !important;
    margin-left: auto;
    padding: 2px 6px;
    width: auto !important;
}

.framework-side-foot {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #93a2b6;
    font-size: 11px;
    margin-top: auto;
    padding: 16px 10px 0;
}

.framework-side-foot b {
    color: #6fe2ca;
    font-weight: 800;
}

.framework-main {
    flex: 1;
    min-width: 0;
}

.framework-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 70px;
    padding: 0 34px;
}

.breadcrumb {
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb b {
    color: var(--ink-soft);
    margin-right: 6px;
}

.global-search {
    align-items: center;
    background: #f6f8fb;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    display: flex;
    gap: 9px;
    max-width: 330px;
    padding: 8px 11px;
    width: 34vw;
}

.global-search input {
    background: transparent;
    border: 0;
    color: var(--ink);
    min-width: 0;
    outline: 0;
    width: 100%;
}

.global-search input::placeholder {
    color: #a4afbe;
}

.framework-user {
    align-items: center;
    display: flex;
    gap: 10px;
}

.avatar {
    align-items: center;
    background: var(--blue-soft);
    border-radius: 50%;
    color: var(--blue);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.framework-user strong,
.framework-user small {
    display: block;
}

.framework-user strong {
    font-size: 12px;
}

.framework-user small {
    color: var(--muted);
    font-size: 10px;
}

.framework-content {
    margin: 0 auto;
    max-width: 1500px;
    padding: 32px 34px 46px;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.page-head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 23px;
}

.eyebrow {
    color: var(--teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.page-head h1 {
    font-size: 29px;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin: 0;
}

.page-head p {
    color: var(--muted);
    font-size: 13px;
    margin: 8px 0 0;
}

.head-actions,
.button-row {
    align-items: center;
    display: flex;
    gap: 9px;
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: #2f62bf;
}

.btn-light {
    background: #fff;
    border-color: var(--line);
    color: var(--ink-soft);
}

.btn-light:hover {
    border-color: #c8d3e0;
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink-soft);
}

.btn-small {
    font-size: 11px;
    min-height: 31px;
    padding: 6px 9px;
}

.attention-banner {
    align-items: center;
    background: var(--navy);
    border-radius: 13px;
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 19px;
    padding: 20px 23px;
}

.attention-banner h2 {
    font-size: 19px;
    letter-spacing: -0.02em;
    margin: 0;
}

.attention-banner p {
    color: #aab7c9;
    font-size: 12px;
    margin: 5px 0 0;
}

.attention-score {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 165px;
}

.score-ring {
    align-items: center;
    border: 5px solid var(--teal);
    border-left-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    height: 54px;
    justify-content: center;
    transform: rotate(35deg);
    width: 54px;
}

.score-ring span {
    font-size: 15px;
    font-weight: 900;
    transform: rotate(-35deg);
}

.score-copy small,
.score-copy strong {
    display: block;
}

.score-copy small {
    color: #91a2b8;
    font-size: 10px;
}

.score-copy strong {
    color: #6fe2ca;
    font-size: 16px;
    margin-top: 2px;
}

.metric-row {
    display: grid;
    gap: 13px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 21px;
}

.metric {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 16px;
}

.metric-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.metric strong {
    display: block;
    font-size: 26px;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-top: 12px;
}

.metric-meta {
    color: var(--muted);
    font-size: 10px;
    margin-top: 9px;
}

.metric-meta.up {
    color: #178d77;
}

.metric-meta.warn {
    color: #ad741f;
}

.overview-grid {
    display: grid;
    gap: 19px;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
}

.panel-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 17px 19px;
}

.panel-head h2 {
    font-size: 14px;
    margin: 0;
}

.panel-head p {
    color: var(--muted);
    font-size: 11px;
    margin: 3px 0 0;
}

.panel-body {
    padding: 18px 19px;
}

.queue-list {
    display: grid;
    gap: 9px;
}

.queue-item {
    align-items: center;
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 9px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 11px 12px;
}

.queue-main {
    align-items: center;
    display: flex;
    gap: 11px;
}

.queue-icon {
    align-items: center;
    background: var(--amber-soft);
    border-radius: 8px;
    color: var(--amber);
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
}

.queue-item.red .queue-icon {
    background: var(--red-soft);
    color: var(--red);
}

.queue-item.blue .queue-icon {
    background: var(--blue-soft);
    color: var(--blue);
}

.queue-main strong,
.queue-main small {
    display: block;
}

.queue-main strong {
    font-size: 12px;
}

.queue-main small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px;
}

.queue-count {
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
    margin-right: 5px;
}

.trend-chart {
    align-items: flex-end;
    display: flex;
    gap: 9px;
    height: 173px;
    padding: 16px 2px 0;
}

.bar-group {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    background: var(--blue-soft);
    border-radius: 5px 5px 2px 2px;
    min-height: 9px;
    width: 100%;
}

.bar.hot {
    background: var(--teal);
}

.bar.failed {
    background: var(--red);
}

.bar-group small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 8px;
}

.legend {
    display: flex;
    gap: 13px;
    margin-top: 13px;
}

.legend span {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: 10px;
    gap: 5px;
}

.legend i {
    border-radius: 3px;
    display: inline-block;
    height: 7px;
    width: 7px;
}

.legend .success {
    background: var(--teal);
}

.legend .fail {
    background: var(--red);
}

.legend .other {
    background: var(--blue-soft);
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

.data-table th {
    background: #fbfcfe;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    padding: 11px 13px;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    border-bottom: 1px solid #eef2f6;
    font-size: 12px;
    padding: 12px 13px;
    vertical-align: middle;
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: #fbfdfd;
}

.data-table input[type="checkbox"] {
    accent-color: var(--blue);
}

.key {
    color: #2c4c6c;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

.badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    padding: 6px 8px;
}

.badge-green {
    background: var(--teal-soft);
    color: #168873;
}

.badge-amber {
    background: var(--amber-soft);
    color: #a96d18;
}

.badge-red {
    background: var(--red-soft);
    color: #b9414a;
}

.badge-blue {
    background: var(--blue-soft);
    color: #386dca;
}

.license-toolbar {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 13px;
}

.filter-row {
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(230px, 1.4fr) repeat(4, minmax(125px, 0.7fr)) auto;
}

.filter-field {
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    min-height: 38px;
    outline: 0;
    padding: 7px 10px;
    width: 100%;
}

.filter-field:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(32, 183, 155, 0.12);
}

.filter-search {
    align-items: center;
    display: flex;
    gap: 8px;
    position: relative;
}

.filter-search span {
    color: var(--muted);
    left: 11px;
    position: absolute;
}

.filter-search input {
    padding-left: 31px;
}

.quick-filters {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    padding-top: 12px;
}

.quick-filter {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
    padding: 6px 9px;
}

.quick-filter:hover,
.quick-filter.active {
    background: var(--blue-soft);
    border-color: #c7d6f7;
    color: var(--blue);
}

.bulk-bar {
    align-items: center;
    background: var(--blue-soft);
    border: 1px solid #cedcf8;
    border-radius: 9px;
    color: var(--blue);
    display: none;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 9px 12px;
}

.bulk-bar.visible {
    display: flex;
}

.bulk-bar strong {
    font-size: 12px;
}

.bulk-actions {
    display: flex;
    gap: 6px;
}

.workspace-panel {
    overflow: hidden;
}

.workspace-panel .panel-head {
    align-items: center;
}

.table-actions {
    display: flex;
    gap: 7px;
}

.text-center {
    text-align: center;
}

.text-danger {
    color: var(--red) !important;
}

.text-success {
    color: var(--teal) !important;
}

.form-panel {
    scroll-margin-top: 24px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    color: var(--ink-soft);
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-control {
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 38px;
}

.pagination-bar {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 13px 16px;
}

.page-number {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
}

.alert {
    border-radius: 9px;
    font-size: 12px;
    margin-bottom: 15px;
    padding: 11px 13px;
}

.alert-success {
    background: var(--teal-soft);
    border: 1px solid #c8ede4;
    color: #168873;
}

.alert-danger {
    background: var(--red-soft);
    border: 1px solid #f4c8cd;
    color: #ad4149;
}

.row-action {
    background: transparent;
    border: 0;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    padding: 4px;
}

.row-action:hover {
    color: #254f9e;
}

.detail-drawer {
    background: #fff;
    box-shadow: -12px 0 34px rgba(21, 35, 57, 0.16);
    display: flex;
    flex-direction: column;
    max-width: 470px;
    min-width: min(470px, 92vw);
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 180ms ease;
    z-index: 20;
}

.detail-drawer.open {
    bottom: 0;
    transform: translateX(0);
}

.drawer-mask {
    background: rgba(11, 20, 33, 0.32);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 19;
}

.drawer-mask.open {
    display: block;
}

.drawer-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 22px;
}

.drawer-head h2 {
    font-size: 17px;
    margin: 0;
}

.drawer-head p {
    color: var(--muted);
    font-size: 11px;
    margin: 4px 0 0;
}

.drawer-close {
    background: #f4f7fa;
    border: 0;
    border-radius: 7px;
    color: var(--muted);
    height: 30px;
    width: 30px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
}

.drawer-actions {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
    padding: 15px 22px;
}

.drawer-actions .btn {
    flex: 1;
}

.detail-status {
    align-items: center;
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 13px;
}

.detail-status small,
.detail-status strong {
    display: block;
}

.detail-status small {
    color: var(--muted);
    font-size: 10px;
}

.detail-status strong {
    font-size: 13px;
    margin-top: 2px;
}

.detail-section {
    margin-top: 19px;
}

.detail-section h3 {
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    margin: 0 0 11px;
    padding-bottom: 8px;
}

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

.detail-item {
    background: #fbfcfe;
    border-radius: 8px;
    padding: 9px 10px;
}

.detail-item small,
.detail-item strong {
    display: block;
}

.detail-item small {
    color: var(--muted);
    font-size: 9px;
}

.detail-item strong {
    font-size: 11px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-timeline {
    display: grid;
    gap: 10px;
}

.timeline-item {
    border-left: 2px solid #cfe0fb;
    padding-left: 11px;
}

.timeline-item strong,
.timeline-item small {
    display: block;
}

.timeline-item strong {
    font-size: 11px;
}

.timeline-item small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px;
}

.toast {
    background: var(--navy);
    border-radius: 9px;
    bottom: 20px;
    box-shadow: var(--shadow);
    color: #fff;
    display: none;
    font-size: 12px;
    padding: 11px 14px;
    position: fixed;
    right: 23px;
    z-index: 30;
}

.toast.show {
    display: block;
}

.auth-layout {
    background: var(--canvas);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
    min-height: 100vh;
}

.auth-side {
    background: var(--navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
    padding: 36px clamp(32px, 7vw, 94px);
    position: relative;
}

.auth-side::after {
    border: 1px solid rgba(32, 183, 155, 0.24);
    border-radius: 50%;
    bottom: -205px;
    content: "";
    height: 520px;
    position: absolute;
    right: -250px;
    width: 520px;
}

.auth-brand {
    align-items: center;
    display: flex;
    gap: 11px;
    position: relative;
    z-index: 1;
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    font-size: 15px;
}

.auth-brand small {
    color: #8ea0b8;
    font-size: 10px;
    margin-top: 2px;
}

.auth-side-copy {
    max-width: 490px;
    position: relative;
    z-index: 1;
}

.auth-side-copy .eyebrow {
    color: #6fe2ca;
}

.auth-side-copy h1 {
    color: #fff;
    font-size: clamp(34px, 4.4vw, 55px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.08;
    margin: 0;
    max-width: 475px;
}

.auth-side-copy > p:not(.eyebrow) {
    color: #aab7c9;
    font-size: 14px;
    margin: 18px 0 0;
    max-width: 410px;
}

.auth-feature-list {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 31px;
    position: relative;
    z-index: 1;
}

.auth-feature {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    color: #dce6f2;
    font-size: 11px;
    padding: 11px;
}

.auth-feature i {
    color: var(--teal);
    display: block;
    font-size: 14px;
    margin-bottom: 9px;
}

.auth-side-foot {
    color: #71829b;
    font-size: 10px;
    position: relative;
    z-index: 1;
}

.auth-panel {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    padding: 42px clamp(22px, 5vw, 78px);
}

.auth-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: var(--shadow);
    max-width: 475px;
    padding: 31px;
    width: 100%;
}

.auth-card.register-card {
    max-width: 540px;
}

.auth-card-head {
    margin-bottom: 25px;
}

.auth-card-head h2 {
    font-size: 25px;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin: 0;
}

.auth-card-head p:last-child {
    color: var(--muted);
    font-size: 13px;
    margin: 8px 0 0;
}

.auth-form .form-group {
    margin-bottom: 17px;
}

.auth-form .form-group label {
    color: var(--ink-soft);
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-form .form-control,
.auth-form select.form-control {
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    min-height: 42px;
    padding: 9px 11px;
}

.auth-form .form-control:focus,
.auth-form select.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(32, 183, 155, 0.12);
    outline: 0;
}

.auth-form .btn-block {
    width: 100%;
}

.auth-links {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-top: 21px;
    padding-top: 17px;
}

.auth-links a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.auth-link-disabled {
    color: #9aa8b8;
    cursor: not-allowed;
    font-size: 12px;
    font-weight: 800;
}

.auth-links small {
    color: var(--muted);
    font-size: 10px;
}

.auth-note {
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
    margin-top: 17px;
    padding: 10px 11px;
}

.registration-closed-card {
    max-width: 475px;
}

.registration-closed {
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 25px 22px;
    text-align: center;
}

.registration-closed-icon {
    align-items: center;
    background: #e9eef5;
    border-radius: 50%;
    color: var(--muted);
    display: inline-flex;
    font-size: 20px;
    height: 52px;
    justify-content: center;
    margin-bottom: 14px;
    width: 52px;
}

.registration-closed strong {
    color: var(--ink-soft);
    display: block;
    font-size: 14px;
}

.registration-closed p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin: 8px auto 0;
    max-width: 310px;
}

.auth-section-label {
    align-items: center;
    color: var(--ink-soft);
    display: flex;
    font-size: 11px;
    font-weight: 900;
    gap: 8px;
    margin: 22px 0 13px;
}

.auth-section-label::after {
    background: var(--line);
    content: "";
    flex: 1;
    height: 1px;
}

.auth-inline-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.auth-success-link {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .filter-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filter-search {
        grid-column: span 3;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .framework-sidebar {
        flex-basis: 205px;
    }

    .framework-topbar,
    .framework-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-side {
        min-height: 410px;
        padding: 31px 28px;
    }

    .auth-panel {
        padding: 28px 20px 38px;
    }
}

@media (max-width: 650px) {
    .framework-shell {
        display: block;
    }

    .framework-sidebar {
        padding: 14px;
    }

    .framework-brand {
        margin-bottom: 18px;
    }

    .framework-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .framework-side-foot {
        display: none;
    }

    .framework-topbar {
        min-height: 62px;
        padding: 0 14px;
    }

    .global-search {
        display: none;
    }

    .framework-content {
        padding: 24px 14px 34px;
    }

    .page-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .head-actions {
        width: 100%;
    }

    .head-actions .btn {
        flex: 1;
    }

    .attention-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .attention-score {
        min-width: 0;
    }

    .metric-row {
        grid-template-columns: 1fr 1fr;
    }

    .auth-side {
        min-height: 390px;
    }

    .auth-feature-list {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 25px 20px;
    }

    .auth-inline-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .filter-search {
        grid-column: span 2;
    }

    .bulk-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bulk-actions {
        width: 100%;
    }

    .bulk-actions .btn {
        flex: 1;
    }

    .pagination-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
