@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
    --nav-bg: #162131;
    --nav-dark: #101a27;
    --nav-tab: #1f2a3a;
    --nav-active: #1e86f7;
    --accounts-panel-width: 262px;
    --panel-bg: #0e141c;
    --panel-border: #1f2b3a;
    --panel-text: #dbe2ea;
    --panel-muted: #9aa7b4;
    --accent-orange: #ff8c1a;
    --accent-green: #25c06d;
    --accent-cyan: #00c8ff;
    --workspace: #f5f6f8;
    --grid-border: #d0d0d0;
    --btn-border: #c9c9c9;
    --btn-bg: #f5f5f5;
    --btn-text: #1b1b1b;
    --purple: #742bbd;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: var(--workspace);
    color: #1b1b1b;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: linear-gradient(180deg, #1b2636, #141e2c);
    padding: 8px 12px 8px 0;
    border-bottom: 1px solid #0c141f;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.topbar-tabs {
    display: flex;
    gap: 8px;
    margin-left: 18px;
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
    flex: 0 0 auto;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.user-label {
    color: #dfe7ef;
    font-size: 0.85rem;
}

.top-tab {
    padding: 6px 20px;
    border-radius: 2px;
    background: #263249;
    border: 1px solid #314258;
    color: #f0f2f5;
    text-decoration: none;
    font-size: 0.9rem;
}

.top-tab-accounts {
    width: var(--accounts-panel-width);
    text-align: center;
    padding: 6px 28px;
}

.top-tab.active {
    background: var(--nav-active);
    color: #ffffff;
    font-weight: 600;
}

.workspace {
    display: flex;
    flex: 1;
    min-height: 0;
}

.workspace-main {
    flex: 1;
    background: #ffffff;
    border-left: 1px solid #d6d6d6;
    padding: 14px 16px;
    overflow: auto;
}

.workspace-main.full {
    border-left: none;
}

.accounts-panel {
    width: var(--accounts-panel-width);
    background: linear-gradient(180deg, #0f141b, #0b0f14);
    color: var(--panel-text);
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1a2634;
    height: calc(100vh - 50px);
}

.panel-header {
    padding: 10px 12px;
    background: #0f1722;
    border-bottom: 1px solid #1b2735;
}

.panel-title {
    font-weight: 600;
    color: #e5ecf4;
}

.panel-tabs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
}

.tab-button {
    flex: 1;
    padding: 6px 0;
    background: #1d2734;
    border: 1px solid #8da1b7;
    color: #f2f6fb;
    cursor: pointer;
}

.tab-button.active {
    background: var(--nav-active);
    border-color: #8fb8ff;
}

.panel-search {
    margin: 0 12px 10px;
    display: flex;
    align-items: center;
    background: #1a2635;
    border: 1px solid #273243;
    padding: 6px 8px;
    color: var(--panel-muted);
}

.panel-search input {
    border: none;
    background: transparent;
    color: var(--panel-text);
    flex: 1;
    outline: none;
    font-size: 0.85rem;
}

.search-icon {
    margin-right: 6px;
}

.panel-list {
    flex: 1;
    padding: 6px 12px;
    overflow: auto;
    background: #000000;
    border-top: 1px solid #0d141f;
    border-bottom: 1px solid #0d141f;
}

.server-title {
    margin-top: 8px;
    font-weight: 600;
}

.server-title.orange { color: var(--accent-orange); }
.server-title.green { color: var(--accent-green); }
.server-title.cyan { color: var(--accent-cyan); }

.account-id {
    font-size: 0.85rem;
    margin: 2px 0 2px 10px;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 3px;
}

.account-id:hover {
    background: rgba(255, 255, 255, 0.08);
}

.account-id.active {
    background: rgba(31, 125, 230, 0.35);
    color: #ffffff;
}

.context-menu {
    position: fixed;
    z-index: 2000;
    background: #101621;
    border: 1px solid #2a3644;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    padding: 6px;
    min-width: 120px;
    border-radius: 4px;
}

.context-menu button {
    width: 100%;
    background: transparent;
    color: #e6edf7;
    border: none;
    text-align: left;
    padding: 6px 10px;
    cursor: pointer;
}

.context-menu button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.context-menu button.danger {
    color: #ff8b8b;
}

.panel-footer {
    padding: 12px;
    background: #0b0f14;
    border-top: 1px solid #1a2634;
    position: sticky;
    bottom: 0;
}

.panel-add {
    width: 100%;
    background: #16202b;
    border: 1px solid #cfd6df;
    color: #f4f7fb;
    padding: 8px 0;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

.accounts-surface {
    position: relative;
    height: 100%;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #bfbfbf;
    padding: 6px 10px;
    background: #f7f7f7;
}

.analysis-tabs {
    display: inline-flex;
    gap: 4px;
}

.analysis-tab {
    border: 1px solid #bfbfbf;
    background: #f2f2f2;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.analysis-tab.active {
    background: #ffffff;
    border-bottom-color: #ffffff;
}

.analyze-btn {
    margin-left: auto;
}

.analysis-account {
    margin-left: 12px;
    font-size: 0.85rem;
    color: #333;
}

.analysis-latency {
    margin: 8px 0 10px 0;
    font-size: 0.85rem;
    color: #1f7d25;
}

.analysis-error {
    margin-bottom: 8px;
}

.analysis-empty {
    padding: 20px;
    color: #666;
}

.analysis-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.analysis-card {
    border: 1px solid #e0e0e0;
    padding: 8px;
    font-size: 0.82rem;
    min-height: 80px;
}

.analysis-card .card-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.analysis-card .card-row {
    line-height: 1.45;
}

.card-blue { background: #eff4ff; }
.card-green { background: #eef9f0; }
.card-yellow { background: #fff7e6; }
.card-red { background: #ffecec; }

.analysis-lower {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.analysis-bottom {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
    margin-top: 12px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.analysis-top-symbols,
.analysis-recent,
.analysis-periods,
.analysis-bestworst {
    border: 1px solid #bfbfbf;
    padding: 8px;
    background: #ffffff;
}

.analysis-bestworst .bestworst-row {
    margin-top: 6px;
    font-size: 0.85rem;
}

.analysis-table th {
    background: #f2f2f2;
}

.pie-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pie-chart {
    width: 180px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #bfbfbf;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 10px;
    height: 10px;
    display: inline-block;
}

.analysis-details {
    border: 1px solid #bfbfbf;
    padding: 10px;
    background: #ffffff;
    margin-top: 8px;
}

.analysis-details pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: Consolas, monospace;
    font-size: 0.8rem;
    max-height: 480px;
    overflow: auto;
}

.accounts-blank {
    height: calc(100vh - 70px);
    background: #ffffff;
}

.copy-surface {
    background: #ffffff;
}

.copy-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #000000;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.copy-title {
    font-weight: 600;
    margin-right: 10px;
}

.btn-purple {
    background: var(--purple);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 600;
}

.btn-ghost-light {
    background: #ffffff;
    border: 1px solid #000000;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
}

.btn-group {
    display: inline-flex;
    border: 2px solid #4a4f55;
    border-radius: 4px;
    overflow: hidden;
}

.btn-icon {
    width: 34px;
    height: 24px;
    border: none;
    cursor: pointer;
    color: #000;
}

.btn-icon.green { background: #41b54a; }
.btn-icon.yellow { background: #f2d13d; }
.btn-icon.red { background: #e54646; color: #fff; }
.btn-icon.dark { background: #2f3944; color: #fff; }

.grid-wrap {
    border: 1px solid #000;
}

.grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.grid th {
    background: #f2f2f2;
    border-bottom: 1px solid #bfbfbf;
    padding: 6px 8px;
    text-align: left;
}

.grid td {
    border-bottom: 1px solid #d8d8d8;
    padding: 6px 8px;
}

.tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.75rem;
    color: #fff;
    margin-right: 6px;
}

.tag.teal { background: #2e9fa8; }
.tag.orange { background: #e6872a; }

.bold { font-weight: 600; }
.status-text { color: #6d6d6d; }

.simple-surface {
    background: #ffffff;
    padding: 18px;
}

.simple-title {
    font-size: 1rem;
    margin-bottom: 12px;
}

.simple-subtitle {
    font-size: 0.85rem;
    color: #666;
}

.simple-buttons {
    display: grid;
    gap: 10px;
    width: 200px;
}

.btn-plain {
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    padding: 6px 12px;
    cursor: pointer;
    color: var(--btn-text);
}

.btn-plain.wide {
    width: 200px;
}

.import-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.import-platform {
    font-weight: 600;
}

.import-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.import-grid th,
.import-grid td {
    font-size: 0.85rem;
}

.import-check {
    width: 34px;
    text-align: center;
}

.import-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
}

.import-save {
    color: #1f7a3b;
    font-weight: 600;
}

.app-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.app-modal {
    background: #f5f5f5;
    border: 1px solid #9f9f9f;
    width: 380px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: block;
    position: relative;
    max-height: 90vh;
    overflow: auto;
}

.app-modal-wide { width: 520px; }
.app-modal-large { width: 560px; }

.app-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #cfcfcf;
}

.app-modal-title { font-weight: 600; }

.app-modal-close {
    border: none;
    background: transparent;
    cursor: pointer;
}

.app-modal-body { padding: 10px; }

.app-modal-note {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-row.align-start {
    align-items: flex-start;
}

.form-row-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.inline-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.inline-label { margin-left: 8px; }

.input {
    padding: 4px 6px;
    border: 1px solid #bdbdbd;
    background: #fff;
}

.input.small { width: 200px; }
.input.tiny { width: 60px; }

.check {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    justify-self: start;
}

.check.inline { margin-left: 10px; }

.form-hint {
    font-size: 0.75rem;
    color: #5f6b77;
    margin-top: 4px;
}

.server-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.server-actions {
    display: flex;
    justify-content: flex-end;
}

.server-actions .btn-plain {
    min-width: 120px;
}

.test-status {
    font-size: 0.8rem;
    color: #4b4b4b;
}

.test-status.ok {
    color: #1f7a3b;
    font-weight: 600;
}

.test-status.error {
    color: #b24a4a;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    border: 1px solid #cfcfcf;
    background: #ffffff;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.summary-item span {
    color: #4b4b4b;
    margin-right: 6px;
}

.app-modal-footer {
    padding: 8px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid #cfcfcf;
}

.account-footer {
    justify-content: space-between;
    align-items: center;
}

.account-footer-actions {
    display: flex;
    gap: 8px;
}

.grid-box {
    border: 1px solid #bfbfbf;
    margin-top: 6px;
}

.grid-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #f2f2f2;
    border-bottom: 1px solid #bfbfbf;
    padding: 6px;
    font-size: 0.85rem;
}

.grid-body {
    height: 160px;
    background: #ffffff;
}

.results {
    font-size: 0.8rem;
    margin-top: 8px;
}

.login-card {
    width: 360px;
    background: #ffffff;
    border: 1px solid #cfcfcf;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.login-title { font-weight: 600; margin-bottom: 6px; }
.login-subtitle { font-size: 0.85rem; color: #666; margin-bottom: 10px; }

.error {
    background: #ffe5e5;
    border: 1px solid #e19999;
    padding: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .workspace {
        flex-direction: column;
    }

    .accounts-panel {
        width: 100%;
    }
}

.accounts-toolbar {
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
}

.grow {
    flex: 1;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1b2a3c 0%, #0f1722 70%);
}

.login-card {
    width: 420px;
    background: #ffffff;
    border: 1px solid #cfd6df;
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.login-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.login-mark {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(145deg, #1e86f7, #0f5fb8);
}

.login-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #66717e;
}

.btn-primary {
    width: 100%;
    background: #1e86f7;
    border: 1px solid #1a73d9;
    color: #fff;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 4px;
}

.login-footnote {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #77818d;
    text-align: center;
}

.app-modal-section-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-icon {
    min-width: 46px;
    padding: 0 8px;
    font-size: 0.8rem;
}


.copy-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #000000;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-right {
    display: flex;
    align-items: center;
}

.session-count {
    font-size: 0.85rem;
    color: #4b4b4b;
}

.copy-grid th,
.copy-grid td {
    font-size: 0.8rem;
}

.row-selected {
    background: #d6e6ff;
}

.status-stopped {
    color: #c0392b;
    font-weight: 600;
}

.status-running {
    color: #1f7a3b;
    font-weight: 600;
}

.status-paused {
    color: #8a6d3b;
    font-weight: 600;
}

.status-connecting {
    color: #2c6ebd;
    font-weight: 600;
}

.app-modal-copy {
    width: 600px;
}

.copy-form {
    font-size: 0.85rem;
}

.copy-form-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.copy-section-label {
    margin-top: 8px;
    font-weight: 600;
}

.copy-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.copy-row.inline {
    grid-template-columns: 140px 100px;
}

.copy-platform-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.platform-label {
    width: 40px;
    text-align: right;
}

.platform-or {
    width: 24px;
    text-align: center;
}

.copy-checks {
    display: grid;
    gap: 4px;
    margin: 6px 0 6px 0;
}

.copy-metrics-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-refresh {
    width: 26px;
    height: 26px;
    border: 1px solid #78a8d6;
    background: #e1f0ff;
    color: #23507d;
    cursor: pointer;
}

.copy-footer {
    justify-content: space-between;
    align-items: center;
}

.copy-footer-actions {
    display: flex;
    gap: 8px;
}

.btn-plain.bold {
    font-weight: 600;
}

.input.wide { width: 100%; }
.input.medium { width: 210px; }
.input.platform { width: 180px; }

.app-modal-map {
    width: 760px;
    max-height: 80vh;
}

.map-info {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.map-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.map-busy {
    font-size: 0.8rem;
    color: #4b4b4b;
    margin-bottom: 6px;
}

.app-modal-map .grid-wrap {
    max-height: 52vh;
    overflow: auto;
}

.map-grid th,
.map-grid td {
    padding: 4px 6px;
}

.map-grid td {
    line-height: 1.15;
}

.map-grid td input {
    width: 100%;
    height: 24px;
    padding: 3px 6px;
}

.map-delete {
    width: 40px;
    text-align: center;
}

.app-modal-preferred { width: 590px; }

.pref-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.pref-info {
    font-size: 0.85rem;
    color: #5d5d5d;
    margin-bottom: 8px;
}

.pref-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pref-body {
    display: flex;
    gap: 8px;
}

.pref-table-wrap {
    width: 100%;
    max-height: 330px;
    overflow-y: auto;
}

.pref-grid {
    width: 100%;
}

.pref-move {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 60px;
}

.pref-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.app-modal-log { width: 760px; }

.app-modal-analysis { width: 760px; max-width: 90vw; }

.analysis-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.analysis-grid td {
    padding: 6px 8px;
}

.analysis-grid th {
    text-align: left;
    padding: 6px 8px;
    background: #f1f3f6;
}

.analysis-loading {
    font-size: 0.9rem;
    color: #666;
}

.analysis-section {
    margin-top: 12px;
}

.analysis-subtitle {
    font-weight: 600;
    margin: 10px 0 6px 0;
    color: #1f2937;
}

.log-path {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.log-list {
    height: 280px;
    border: 1px solid #bfbfbf;
    background: #ffffff;
    padding: 8px;
    overflow: auto;
    font-family: Consolas, monospace;
    font-size: 0.8rem;
}

.app-modal-servers { width: 760px; }

.server-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.server-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.server-grid th,
.server-grid td {
    font-size: 0.85rem;
}

.server-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.server-status {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #666;
}

.app-modal-server-edit { width: 520px; }

.app-modal-security { width: 420px; }

.security-info {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.security-group {
    border: 1px solid #cfcfcf;
    padding: 10px;
    background: #ffffff;
}

.security-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.app-modal-broker { width: 640px; }

.broker-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.broker-status {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #666;
}

.app-modal-filter { width: 320px; }

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 360px;
    overflow: auto;
}

.app-modal-selection { width: 900px; }

.selection-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.selection-footer {
    justify-content: space-between;
}

.selection-grid th,
.selection-grid td {
    font-size: 0.85rem;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(900px 460px at 12% 0%, rgba(37, 124, 228, 0.16), transparent 60%),
        radial-gradient(700px 400px at 88% 0%, rgba(35, 183, 156, 0.12), transparent 56%),
        linear-gradient(155deg, #0b1322 0%, #101b2d 55%, #111d2f 100%);
}

.auth-shell {
    width: 100%;
    max-width: 460px;
}

.auth-card {
    border: 1px solid rgba(118, 153, 197, 0.35);
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(160deg, rgba(12, 26, 45, 0.94), rgba(12, 25, 42, 0.9));
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
}

.register-card {
    max-width: 500px;
}

.auth-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.auth-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(145deg, #2498ff, #1969d8);
    box-shadow: inset 0 0 0 1px rgba(198, 231, 255, 0.45);
}

.auth-title {
    color: #f0f7ff;
    font-weight: 700;
    font-size: 1.12rem;
}

.auth-subtitle {
    color: #a8bdd4;
    font-size: 0.87rem;
}

.field {
    margin-bottom: 10px;
}

.field label {
    display: block;
    margin-bottom: 5px;
    color: #d7e8fb;
    font-size: 0.86rem;
    font-weight: 600;
}

.field .input {
    width: 100%;
    height: 38px;
    border: 1px solid #355173;
    border-radius: 9px;
    background: #0b1523;
    color: #edf6ff;
    padding: 0 11px;
    font-size: 0.9rem;
}

.field .input:focus {
    outline: none;
    border-color: #4ea4ff;
    box-shadow: 0 0 0 3px rgba(78, 164, 255, 0.2);
}

.password-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.toggle-pass {
    height: 38px;
    min-width: 66px;
    border-radius: 9px;
    border: 1px solid #355173;
    background: #111f33;
    color: #d9e9fb;
    cursor: pointer;
}

.toggle-pass:hover {
    background: #15263d;
}

.validation-message {
    display: block;
    color: #ffb4b4;
    font-size: 0.8rem;
    margin-top: 3px;
}

.password-rules {
    margin: 0 0 12px 0;
    padding-left: 18px;
    color: #a9c0d8;
    font-size: 0.82rem;
    line-height: 1.55;
}

.auth-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 8px;
}

.auth-actions .btn-main,
.auth-actions .btn-ghost {
    height: 38px;
    border-radius: 9px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.auth-actions .btn-main {
    background: linear-gradient(145deg, #2195ff, #1868d9);
    color: #f8fcff;
    border-color: rgba(123, 197, 255, 0.65);
}

.auth-actions .btn-main:disabled,
.auth-actions .btn-ghost:disabled {
    opacity: 0.65;
    cursor: default;
}

.auth-actions .btn-ghost {
    min-width: 90px;
    background: #111f33;
    color: #d8e8fb;
    border-color: #355173;
}

.auth-footnote {
    margin-top: 12px;
    color: #9eb5cd;
    font-size: 0.82rem;
    text-align: center;
}

.auth-footnote a {
    color: #9ed0ff;
    text-decoration: none;
}

.auth-footnote a:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .auth-card {
        padding: 14px;
    }

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

/* ===== Landing Page (Home) ===== */
.landing-shell {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background:
        radial-gradient(1400px 700px at 8% -6%, rgba(28, 130, 255, 0.2), transparent 62%),
        radial-gradient(1200px 620px at 96% 6%, rgba(20, 196, 168, 0.16), transparent 58%),
        linear-gradient(160deg, #081224 0%, #091932 44%, #081327 100%);
}

.landing-home {
    position: relative;
    isolation: isolate;
    width: min(2000px, calc(100vw - 12px));
    margin: 0 auto;
    padding: 28px 16px 28px;
    color: #e8f3ff;
    font-family: "Space Grotesk", Tahoma, sans-serif;
}

.landing-bg-grid {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background-image:
        linear-gradient(to right, rgba(118, 163, 224, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(118, 163, 224, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 52% 42%, black 36%, transparent 86%);
    pointer-events: none;
}

.landing-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    opacity: 0.56;
}

.landing-bg-glow.left {
    width: 520px;
    height: 520px;
    left: -130px;
    top: -150px;
    background: radial-gradient(circle, rgba(38, 152, 255, 0.56), rgba(38, 152, 255, 0.03) 72%);
}

.landing-bg-glow.right {
    width: 600px;
    height: 600px;
    right: -170px;
    top: 90px;
    background: radial-gradient(circle, rgba(37, 210, 177, 0.34), rgba(37, 210, 177, 0.02) 76%);
}

.landing-hero,
.landing-features,
.landing-flow,
.landing-coverage {
    position: relative;
    z-index: 1;
}

.landing-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.landing-topbar-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-pill {
    border: 1px solid rgba(123, 168, 224, 0.58);
    border-radius: 999px;
    padding: 6px 12px;
    color: #deeeff;
    font-size: 0.73rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(142deg, rgba(30, 112, 208, 0.34), rgba(20, 38, 65, 0.56));
    font-weight: 700;
}

.brand-pill.muted {
    background: rgba(16, 35, 59, 0.72);
}

.landing-topbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(720px, 980px);
    gap: 28px;
    align-items: center;
    min-height: 700px;
}

.landing-copy h1 {
    margin: 0;
    max-width: 860px;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 3.5vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.landing-copy p {
    margin: 14px 0 0;
    max-width: 820px;
    color: #abc4dd;
    font-size: 1.08rem;
    line-height: 1.75;
}

.landing-points {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.landing-points li {
    position: relative;
    padding-left: 23px;
    color: #d4e8fb;
    font-size: 0.95rem;
}

.landing-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #67d7ff, #1c81ff);
    box-shadow: 0 0 0 4px rgba(80, 164, 255, 0.17);
}

.landing-btn {
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26, 93, 196, 0.27);
}

.landing-btn.primary {
    color: #f4fbff;
    border: 1px solid rgba(132, 199, 255, 0.7);
    background: linear-gradient(145deg, #1f97ff, #1a69d6);
}

.landing-btn.secondary {
    color: #e6f1ff;
    border: 1px solid rgba(122, 158, 201, 0.46);
    background: linear-gradient(145deg, rgba(19, 35, 58, 0.94), rgba(14, 25, 41, 0.95));
}

.landing-kpis {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 900px;
}

.landing-kpis article {
    border-radius: 12px;
    border: 1px solid rgba(119, 161, 213, 0.34);
    background: linear-gradient(160deg, rgba(10, 24, 42, 0.84), rgba(10, 22, 37, 0.8));
    padding: 12px;
}

.landing-kpis .label {
    display: block;
    color: #89bae5;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.landing-kpis strong {
    display: block;
    margin-top: 4px;
    color: #ecf6ff;
    font-size: 0.98rem;
}

.landing-kpis small {
    display: block;
    margin-top: 5px;
    color: #a7c0db;
    font-size: 0.82rem;
}

.landing-visual {
    position: relative;
    height: 640px;
    perspective: 1400px;
}

.visual-mainframe {
    position: absolute;
    top: 44px;
    left: 18px;
    width: min(900px, 96%);
    border-radius: 18px;
    border: 1px solid rgba(121, 166, 220, 0.36);
    background: linear-gradient(160deg, rgba(9, 22, 41, 0.95), rgba(8, 18, 33, 0.94));
    box-shadow: 0 26px 64px rgba(2, 10, 22, 0.6);
    transform: rotateY(-11deg) rotateX(7deg) translateZ(58px);
    overflow: hidden;
}

.visual-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(108, 153, 210, 0.25);
    background: linear-gradient(180deg, rgba(24, 45, 74, 0.82), rgba(15, 30, 49, 0.88));
}

.visual-topbar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.visual-topbar .dot.blue {
    background: #34a5ff;
}

.visual-topbar .dot.cyan {
    background: #3be2ff;
}

.visual-topbar .dot.green {
    background: #37d8ab;
}

.visual-title {
    margin-left: 6px;
    color: #cfe5ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.visual-body {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 420px;
}

.visual-sidebar {
    border-right: 1px solid rgba(112, 150, 199, 0.23);
    padding: 14px;
    background: linear-gradient(180deg, rgba(10, 22, 38, 0.9), rgba(8, 17, 30, 0.93));
}

.side-chip {
    border: 1px solid rgba(98, 140, 193, 0.36);
    border-radius: 9px;
    padding: 8px 10px;
    color: #b8cfe7;
    font-size: 0.82rem;
    margin-bottom: 8px;
    background: rgba(13, 29, 49, 0.7);
}

.side-chip.active {
    border-color: rgba(116, 192, 255, 0.62);
    color: #eef7ff;
    background: linear-gradient(145deg, rgba(30, 108, 205, 0.46), rgba(17, 44, 79, 0.68));
}

.visual-content {
    padding: 12px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.stat-card {
    border: 1px solid rgba(110, 151, 201, 0.3);
    border-radius: 10px;
    padding: 8px;
    background: linear-gradient(160deg, rgba(11, 24, 41, 0.84), rgba(10, 21, 36, 0.8));
}

.stat-card span {
    display: block;
    color: #8fb8e1;
    font-size: 0.74rem;
}

.stat-card strong {
    display: block;
    margin-top: 3px;
    color: #ecf5ff;
    font-size: 1rem;
}

.symbol-strip {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #d6e8fb;
    font-size: 0.82rem;
}

.symbol-strip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.symbol-strip .dot.gold {
    background: #58b5ff;
}

.symbol-strip .dot.orange {
    background: #ffaf52;
}

.symbol-strip .dot.teal {
    background: #32d7b1;
}

.route-table {
    margin-top: 10px;
    border: 1px solid rgba(109, 147, 194, 0.33);
    border-radius: 12px;
    overflow: hidden;
}

.route-head,
.route-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 0.9fr;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    font-size: 0.82rem;
}

.route-head {
    color: #9bbde0;
    background: rgba(20, 41, 66, 0.75);
    border-bottom: 1px solid rgba(113, 148, 190, 0.3);
}

.route-row {
    color: #d9ebff;
    border-bottom: 1px dashed rgba(112, 149, 196, 0.2);
}

.route-row:last-child {
    border-bottom: none;
}

.route-row .ok {
    color: #59dfb2;
    font-weight: 700;
}

.route-row .warn {
    color: #ffd071;
    font-weight: 700;
}

.floating-card {
    position: absolute;
    border-radius: 14px;
    border: 1px solid rgba(119, 162, 216, 0.35);
    background: linear-gradient(160deg, rgba(11, 27, 49, 0.92), rgba(10, 21, 38, 0.91));
    box-shadow: 0 18px 44px rgba(5, 14, 27, 0.52);
    padding: 12px;
}

.floating-card h4 {
    margin: 0 0 8px;
    color: #d8eafc;
    font-size: 0.9rem;
    font-weight: 700;
}

.risk-card {
    right: 12px;
    top: 98px;
    width: 320px;
    transform: rotateY(-9deg) rotateX(7deg) translateZ(84px);
}

.risk-card div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    color: #c5d9ef;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(114, 154, 199, 0.2);
}

.risk-card div span:last-child {
    color: #89cbff;
    font-weight: 700;
}

.risk-card div:last-child {
    border-bottom: none;
}

.speed-card {
    left: 40px;
    top: 0;
    width: 300px;
    transform: rotateY(-13deg) rotateX(9deg) translateZ(120px);
}

.speed-line {
    height: 8px;
    border-radius: 999px;
    margin-top: 8px;
}

.speed-line.w1 {
    width: 88%;
    background: linear-gradient(90deg, #2fd0af, #41efcb);
}

.speed-line.w2 {
    width: 94%;
    background: linear-gradient(90deg, #2a9eff, #67d6ff);
}

.speed-line.w3 {
    width: 70%;
    background: linear-gradient(90deg, #ffbe4e, #ffd56f);
}

.landing-features {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.landing-features article {
    border-radius: 13px;
    border: 1px solid rgba(115, 156, 207, 0.34);
    background: linear-gradient(160deg, rgba(10, 24, 42, 0.9), rgba(10, 22, 38, 0.84));
    padding: 14px;
}

.landing-features h3 {
    margin: 0 0 8px;
    color: #e5f2ff;
    font-size: 1.02rem;
}

.landing-features p {
    margin: 0;
    color: #adc5de;
    font-size: 0.9rem;
    line-height: 1.6;
}

.landing-flow {
    margin-top: 16px;
}

.landing-flow h2,
.landing-coverage h2 {
    margin: 0 0 10px;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(1.2rem, 1.6vw, 1.8rem);
}

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

.flow-grid article {
    border-radius: 12px;
    border: 1px solid rgba(114, 153, 204, 0.35);
    background: linear-gradient(160deg, rgba(9, 22, 39, 0.9), rgba(8, 19, 34, 0.85));
    padding: 12px;
}

.flow-grid article span {
    display: inline-block;
    min-width: 32px;
    text-align: center;
    border-radius: 8px;
    padding: 4px 8px;
    background: linear-gradient(145deg, #1f95ff, #1a69d5);
    border: 1px solid rgba(132, 199, 255, 0.65);
    color: #f2f9ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.flow-grid h4 {
    margin: 10px 0 6px;
    color: #e8f3ff;
    font-size: 1rem;
}

.flow-grid p {
    margin: 0;
    color: #abc3dc;
    font-size: 0.88rem;
    line-height: 1.6;
}

.landing-coverage {
    margin-top: 16px;
}

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

.coverage-grid article {
    border-radius: 12px;
    border: 1px solid rgba(114, 153, 204, 0.35);
    background: linear-gradient(160deg, rgba(9, 22, 39, 0.88), rgba(8, 19, 34, 0.83));
    padding: 12px;
}

.coverage-grid h4 {
    margin: 0 0 7px;
    color: #e7f3ff;
    font-size: 1rem;
}

.coverage-grid p {
    margin: 0;
    color: #aac3dc;
    font-size: 0.88rem;
    line-height: 1.62;
}

@media (max-width: 1540px) {
    .landing-home {
        width: min(1520px, calc(100vw - 16px));
        padding: 24px 12px 18px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .landing-visual {
        height: 580px;
    }
}

@media (max-width: 1080px) {
    .landing-kpis,
    .landing-features,
    .flow-grid,
    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .visual-mainframe {
        left: 0;
        width: 100%;
    }

    .risk-card {
        right: 4px;
    }

    .landing-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .landing-home {
        width: calc(100vw - 10px);
        padding: 18px 6px 12px;
    }

    .landing-copy h1 {
        font-size: clamp(1.7rem, 7.2vw, 2.4rem);
    }

    .landing-hero {
        gap: 14px;
    }

    .landing-topbar-actions {
        width: 100%;
    }

    .landing-btn {
        width: 100%;
    }

    .landing-visual {
        height: 520px;
    }

    .visual-body {
        grid-template-columns: 1fr;
    }

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

    .side-chip {
        margin-bottom: 0;
    }

    .risk-card,
    .speed-card {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 10px;
    }
}

.challenge-surface {
    background: #ffffff;
}

.challenge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.challenge-title {
    font-weight: 700;
    font-size: 1.08rem;
}

.challenge-subtitle {
    font-size: 0.86rem;
    color: #556070;
}

.challenge-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.challenge-column {
    display: grid;
    gap: 8px;
    align-content: start;
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.challenge-section-marker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border: 2px solid;
    border-radius: 6px;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    text-transform: lowercase;
}

.challenge-section-marker.free {
    border-color: #23b44b;
    color: #23b44b;
    background: #f4fff7;
}

.challenge-section-marker.paid {
    border-color: #3f4fd2;
    color: #3f4fd2;
    background: #f4f6ff;
}

.challenge-section-marker.pro {
    border-color: #d27b2a;
    color: #d27b2a;
    background: #fff6ec;
}

.challenge-card {
    border: 1px solid #cdd6e2;
    border-radius: 8px;
    padding: 10px;
    background: linear-gradient(160deg, #f8fbff, #f2f6fb);
    cursor: pointer;
}

.challenge-card.selected {
    border-color: #6eaef8;
    box-shadow: inset 0 0 0 1px #6eaef8;
}

.challenge-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.challenge-card-title {
    font-weight: 700;
}

.challenge-chip {
    border: 1px solid #9ec5f7;
    border-radius: 999px;
    padding: 2px 8px;
    background: #e8f3ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.challenge-card-text {
    margin-top: 8px;
    font-size: 0.84rem;
    color: #445064;
    min-height: 36px;
}

.challenge-target {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #1e5f9f;
    font-weight: 600;
}

.challenge-rules {
    margin: 8px 0 0;
    padding-left: 16px;
    font-size: 0.8rem;
    color: #445064;
}

.challenge-rules li {
    margin-bottom: 4px;
}

.challenge-my-entry {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #cfd8e5;
    background: #ffffff;
    font-size: 0.82rem;
    display: grid;
    gap: 3px;
}

.challenge-join-box {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #cfd8e5;
    background: #ffffff;
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
}

.challenge-calc-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.challenge-calc-row label {
    font-size: 0.78rem;
    color: #4a5568;
}

.challenge-calc-line {
    flex-wrap: wrap;
    gap: 10px;
}

.challenge-calc-label {
    font-size: 1rem !important;
    color: #2b2f35 !important;
    font-weight: 500;
}

.challenge-calc-caption {
    font-size: 1.06rem;
    color: #0f1216;
}

.challenge-calc-box {
    min-width: 120px;
    height: 36px;
    border: 1px solid #222;
    background: #f3f3f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    color: #111;
    padding: 0 10px;
}

.challenge-calc-reward {
    color: #0b8f33;
}

.challenge-calc-master-range {
    border: 1px solid #d2e5ff;
    background: #edf5ff;
    color: #1f4f95;
    font-size: 1rem;
    padding: 6px 10px;
    line-height: 1;
}

.challenge-card.pro .challenge-calc-line {
    gap: 6px;
}

.challenge-card.pro .challenge-calc-box {
    min-width: 96px;
    font-size: 1.6rem;
    height: 34px;
}

.challenge-card.pro .challenge-calc-master-range {
    font-size: 0.9rem;
    padding: 5px 8px;
    white-space: nowrap;
}

.challenge-calc-result {
    font-size: 0.8rem;
    color: #1d4f8f;
    background: #f1f7ff;
    border: 1px solid #d3e4fb;
    padding: 6px 8px;
}

.challenge-check {
    font-size: 0.8rem;
}

.challenge-panels {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
}

.challenge-panel {
    border: 1px solid #cdd6e2;
    background: #ffffff;
    padding: 10px;
}

.challenge-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.challenge-table th,
.challenge-table td {
    font-size: 0.82rem;
}

.challenge-loading {
    font-size: 0.85rem;
    color: #4e5b6f;
    padding: 10px 0;
}

@media (max-width: 1100px) {
    .challenge-columns {
        grid-template-columns: 1fr;
    }

    .challenge-panels {
        grid-template-columns: 1fr;
    }
}

.admin-challenge-surface {
    margin-top: 14px;
}

.admin-challenge-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid #cfd7e4;
    border-radius: 999px;
    background: #f5f8ff;
    color: #2f4d7a;
    font-size: 12px;
}

.admin-source-grid tbody tr.selected {
    background: #edf4ff;
}

.admin-source-grid tbody tr {
    cursor: pointer;
}

.admin-verify-box {
    margin-top: 12px;
    border: 1px solid #d8dce3;
    background: #f8fafc;
    padding: 10px;
}

.admin-verify-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.admin-verify-row label {
    width: 110px;
    flex: 0 0 110px;
}

.admin-verify-actions {
    margin-top: 10px;
}
