* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172033; background: #f3f6fa; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 0 0, rgba(55, 111, 211, .11), transparent 34rem), #f3f6fa; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
[hidden] { display: none !important; }
.app-frame { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem clamp(1rem, 5vw, 4.8rem); color: #f8fbff; background: #10233f; box-shadow: 0 8px 25px rgba(16, 35, 63, .16); }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .72rem; color: #10233f; background: #8cc7ff; font-weight: 900; font-size: 1.25rem; box-shadow: 0 4px 13px rgba(140, 199, 255, .3); }
.brand .eyebrow { margin-bottom: .08rem; color: #91b9dc; }
.brand strong { display: block; font-size: .98rem; letter-spacing: -.02em; }
.topbar-meta { display: flex; align-items: center; gap: .8rem; }
.secure-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .6rem; border: 1px solid rgba(166, 211, 248, .25); border-radius: 999px; color: #b9ddfb; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.status-dot { width: .42rem; height: .42rem; border-radius: 50%; background: #5ee1a0; box-shadow: 0 0 0 .18rem rgba(94, 225, 160, .14); }
main { flex: 1; width: min(100%, 1160px); margin: 0 auto; padding: clamp(2rem, 6vw, 5.2rem) clamp(1rem, 5vw, 2.2rem) 3rem; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(2rem, 8vw, 7rem); align-items: center; min-height: 62vh; }
.intro-panel { max-width: 560px; }
.eyebrow { margin: 0 0 .42rem; color: #7f91a6; font-size: .68rem; font-weight: 850; letter-spacing: .17em; }
.eyebrow.accent { color: #2a7cbd; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.1rem; color: #10233f; font-size: clamp(2.35rem, 5vw, 4.15rem); line-height: 1.08; letter-spacing: -.065em; }
.intro-panel h1 span { color: #2b83c5; }
.intro-copy { max-width: 480px; margin-bottom: 1.7rem; color: #64758b; font-size: 1rem; line-height: 1.7; }
.intro-points { display: grid; gap: .85rem; color: #3f536b; font-size: .86rem; font-weight: 700; }
.intro-points div { display: flex; align-items: center; gap: .62rem; }
.point-icon { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; color: #168b61; background: #d9f8e9; font-size: .75rem; }
.card { border: 1px solid #dce5ef; border-radius: 1.15rem; background: rgba(255,255,255,.94); box-shadow: 0 1rem 2.7rem rgba(38, 65, 95, .07); }
.login-card { padding: clamp(1.35rem, 4vw, 2rem); }
.card-heading, .section-heading, .dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card-heading { margin-bottom: .7rem; }
h2 { margin-bottom: 0; color: #162b49; font-size: 1.3rem; letter-spacing: -.035em; }
.lock-icon { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .68rem; color: #287cbb; background: #e9f5ff; font-size: 1.25rem; }
.muted { color: #708198; font-size: .82rem; line-height: 1.5; }
.small { font-size: .71rem; }
.login-card > .muted { margin-bottom: 1.35rem; }
.field-label { display: block; margin: 1rem 0 .38rem; color: #435871; font-size: .73rem; font-weight: 800; }
.field { width: 100%; min-height: 2.8rem; padding: .66rem .78rem; border: 1px solid #ccd8e5; border-radius: .7rem; outline: none; color: #172b47; background: #fbfdff; transition: border-color .15s, box-shadow .15s; }
.password-field { position: relative; }
.password-field .field { padding-right: 3rem; }
.password-toggle { position: absolute; top: 50%; right: .45rem; display: grid; place-items: center; width: 2rem; height: 2rem; transform: translateY(-50%); border: 0; border-radius: .52rem; color: #7890a6; background: transparent; font-size: .98rem; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { color: #247eb6; background: #eaf5fd; }
.field:focus { border-color: #3b92ce; box-shadow: 0 0 0 .2rem rgba(59, 146, 206, .13); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.55rem; padding: .62rem .85rem; border: 1px solid transparent; border-radius: .68rem; font-size: .77rem; font-weight: 820; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { color: white; background: #197dbd; box-shadow: 0 .45rem 1.1rem rgba(25, 125, 189, .2); }
.button-primary:hover:not(:disabled) { background: #126da8; }
.button-secondary { color: #1b6f9f; border-color: #b9d8ef; background: #eff8ff; }
.button-ghost { min-height: 2rem; padding: .35rem .6rem; color: #bfddf5; background: transparent; border-color: rgba(191, 221, 245, .24); }
.button-wide { width: 100%; margin-top: 1.25rem; }
.button-arrow { margin-left: auto; font-size: 1.08rem; }
.form-note { display: flex; align-items: center; gap: .4rem; margin: 1.15rem 0 0; color: #8998aa; font-size: .68rem; }
.shield { color: #3fa777; font-size: .55rem; }
.alert { margin-top: .8rem; padding: .65rem .75rem; border-radius: .65rem; font-size: .75rem; line-height: 1.45; }
.alert-error { color: #9c3036; border: 1px solid #f3c4c5; background: #fff2f2; }
.alert-info { color: #245d86; border: 1px solid #b9ddf3; background: #eef8ff; }
.dashboard-heading { align-items: end; margin-bottom: 1.65rem; }
.dashboard-heading h1 { margin-bottom: .35rem; font-size: clamp(2rem, 4vw, 3rem); }
.dashboard-heading .muted { margin-bottom: 0; }
.refresh-symbol { font-size: 1.2rem; line-height: .7; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: .9rem; }
.metric-card { min-width: 0; padding: 1.1rem; border: 1px solid #dce5ef; border-radius: .95rem; background: rgba(255,255,255,.92); box-shadow: 0 .55rem 1.5rem rgba(38,65,95,.045); }
.metric-primary { color: white; border-color: #236ca9; background: linear-gradient(145deg, #1c527e, #247fb9); }
.metric-label { color: #7b8ea4; font-size: .63rem; font-weight: 850; letter-spacing: .13em; }
.metric-primary .metric-label, .metric-primary .metric-caption { color: #add8f6; }
.metric-value { margin-top: .58rem; overflow: hidden; color: #1d6d9f; font-size: 1.38rem; font-weight: 850; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.metric-value.compact { font-size: 1.08rem; }
.metric-primary .metric-value { color: #fff; }
.metric-caption { margin-top: .22rem; overflow: hidden; color: #8a99aa; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: .9rem; }
.info-card { grid-row: span 2; padding: 1.3rem; }
.connector-card, .feature-card { padding: 1.3rem; }
.section-heading { margin-bottom: 1rem; }
.pill { display: inline-flex; align-items: center; padding: .32rem .5rem; border-radius: 999px; white-space: nowrap; font-size: .62rem; font-weight: 850; letter-spacing: .03em; }
.pill-muted { color: #708198; background: #edf1f5; }
.pill-info { color: #277bb1; background: #e7f4fd; }
.pill-success { color: #147552; background: #dcf8e9; }
.pill-warn { color: #9a641d; background: #fff1d5; }
.pill-off { color: #9b3b42; background: #ffe5e4; }
.data-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; padding-bottom: 1.15rem; border-bottom: 1px solid #e8eef4; }
.data-metric { display: flex; align-items: center; gap: .6rem; padding: .67rem; border: 1px solid #e7edf3; border-radius: .7rem; background: #fbfdff; }
.data-metric strong, .data-metric small { display: block; }
.data-metric strong { color: #1b3553; font-size: 1.08rem; }
.data-metric small { margin-top: .08rem; color: #7d8ea2; font-size: .65rem; }
.data-icon { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: .55rem; font-size: 1.08rem; }
.data-icon.blue { color: #257db5; background: #e2f3ff; }.data-icon.purple { color: #7958ba; background: #eee8ff; }.data-icon.green { color: #168568; background: #ddf7ed; }.data-icon.orange { color: #c27625; background: #fff0db; }
.subsection-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 1.15rem 0 .62rem; }.subsection-heading h3 { margin: 0; color: #405670; font-size: .77rem; }
.preview-list { display: grid; gap: .48rem; }.preview-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .58rem .65rem; border-radius: .58rem; background: #f5f8fb; font-size: .72rem; }.preview-row strong { overflow: hidden; color: #324b68; text-overflow: ellipsis; white-space: nowrap; }.preview-row span { flex: 0 0 auto; color: #8190a0; }.empty-state { padding: 1rem; border: 1px dashed #cdd8e4; border-radius: .62rem; color: #8290a1; text-align: center; font-size: .74rem; }
.connector-visual { display: flex; align-items: center; gap: .8rem; padding: .7rem 0 1rem; border-bottom: 1px solid #e8eef4; }.connector-visual strong, .connector-visual small { display: block; }.connector-visual strong { color: #2b4967; font-size: .85rem; }.connector-visual small { margin-top: .25rem; color: #8191a4; font-size: .68rem; line-height: 1.4; }.connector-ring { display: grid; place-items: center; width: 3rem; height: 3rem; border: .35rem solid #d8f3e5; border-top-color: #36a879; border-radius: 50%; }.connector-core { width: .85rem; height: .85rem; border-radius: 50%; background: #36a879; box-shadow: 0 0 .6rem rgba(54,168,121,.45); }
.details-list { margin: .85rem 0 0; }.details-list div { display: flex; justify-content: space-between; gap: .7rem; padding: .43rem 0; }.details-list dt { color: #8290a1; font-size: .67rem; }.details-list dd { max-width: 62%; margin: 0; overflow: hidden; color: #405670; font-size: .69rem; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.feature-intro { margin: -.35rem 0 .85rem; }.feature-list { display: grid; gap: .45rem; }.feature-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .58rem .65rem; border: 1px solid #e8eef4; border-radius: .62rem; }.feature-name { display: flex; align-items: center; gap: .55rem; color: #425a73; font-size: .73rem; font-weight: 750; }.feature-check { display: grid; place-items: center; width: 1.28rem; height: 1.28rem; border-radius: 50%; font-size: .67rem; font-weight: 900; }.feature-check.on { color: #137653; background: #dcf8e9; }.feature-check.off { color: #a33e45; background: #ffe5e4; }.feature-state { font-size: .64rem; font-weight: 800; }.feature-state.on { color: #16805e; }.feature-state.off { color: #ad5257; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1rem, 5vw, 4.8rem); color: #8190a1; border-top: 1px solid #e0e8f0; font-size: .67rem; }
@media (max-width: 860px) { .login-layout { grid-template-columns: 1fr; max-width: 560px; margin: auto; }.intro-panel { text-align: center; margin: auto; }.intro-copy { margin-left: auto; margin-right: auto; }.intro-points { justify-items: center; }.summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.content-grid { grid-template-columns: 1fr; }.info-card { grid-row: auto; } }
@media (max-width: 560px) { main { padding-top: 1.6rem; }.topbar { padding: .9rem 1rem; }.secure-badge { display: none; }.dashboard-heading { align-items: flex-start; flex-direction: column; }.summary-grid { gap: .55rem; }.metric-card { padding: .85rem; }.metric-value { font-size: 1.12rem; }.footer { flex-direction: column; padding: 1rem; }.data-metrics { grid-template-columns: 1fr 1fr; } }
