:root { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; color: #162c38; background: #f5f8f8; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .52; cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #80cdd2; outline-offset: 2px; }
.eyebrow { margin: 0 0 9px; color: #588594; font-size: 11px; letter-spacing: .17em; font-weight: 750; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 18% 10%, #d4ebeb 0, transparent 34%), radial-gradient(circle at 90% 85%, #e0f2ee 0, transparent 32%), #f5f8f8; }
.login-card { width: min(100%, 450px); padding: 42px; background: #fff; border: 1px solid #e4eeee; border-radius: 24px; box-shadow: 0 22px 72px rgba(22, 66, 75, .1); }
.brand-mark, .brand-icon { display: grid; place-items: center; background: #087c8c; color: white; font-weight: 800; }
.brand-mark { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 32px; font-size: 31px; }
.login-card h1 { margin: 0; font-size: 31px; letter-spacing: -.03em; }
.login-description { margin: 13px 0 32px; line-height: 1.7; color: #637b87; font-size: 14px; }
.login-card form { display: grid; gap: 12px; }
.login-card label, .filter-group label, .environment-wrap label { color: #425e6a; font-size: 12px; font-weight: 750; }
input, select { min-height: 40px; border: 1px solid #cfdcdf; border-radius: 9px; background: #fff; color: #203944; padding: 9px 12px; outline: 0; }
input:focus, select:focus { border-color: #087c8c; box-shadow: 0 0 0 3px #dceff0; }
.login-card input { min-height: 48px; }
.primary-button { min-height: 46px; border: 0; border-radius: 9px; background: #087c8c; color: white; font-weight: 730; }
.primary-button:hover { background: #076b78; }
.form-error { color: #ab3434; font-size: 13px; margin: 13px 0 0; }
.login-footnote { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #e9eeee; font-size: 12px; color: #879ba3; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 234px minmax(0, 1fr); }
.sidebar { background: #123440; color: #d9e9e9; display: flex; flex-direction: column; min-height: 100vh; padding: 28px 16px 22px; }
.side-head { display: flex; align-items: center; gap: 11px; padding: 4px 12px 34px; }
.brand-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; font-size: 23px; }
.side-head strong, .side-head span { display: block; }
.side-head strong { color: #fff; font-size: 16px; letter-spacing: -.02em; }
.side-head span { color: #91b3b9; font-size: 11px; margin-top: 2px; }
.side-nav { display: grid; gap: 5px; }
.nav-button { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; color: #b4d0d4; background: transparent; text-align: left; padding: 11px 13px; font-size: 13px; font-weight: 650; }
.nav-button:hover { background: #1e4651; color: #fff; }
.nav-button.active { background: #087c8c; color: #fff; }
.nav-icon { width: 17px; text-align: center; font-size: 17px; line-height: 1; }
.side-bottom { margin-top: auto; padding: 22px 12px 0; border-top: 1px solid #31515b; }
.source-label { font-size: 12px; font-weight: 700; color: #d6e9e9; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6ad1bc; margin-right: 6px; }
.side-bottom p { color: #85abb2; font-size: 11px; line-height: 1.6; }
.main-content { min-width: 0; }
.topbar { height: 66px; padding: 0 42px; background: #fff; border-bottom: 1px solid #e7eeee; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-caption { color: #68818c; font-size: 12px; }
.topbar-divider { padding: 0 10px; color: #b0c2c9; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.connection-status { color: #67838c; font-size: 12px; }
.connection-status.ready { color: #14816d; }
.connection-status.problem { color: #b24743; }
.text-button, .subtle-button { border: 0; background: transparent; color: #087c8c; font-weight: 700; font-size: 12px; }
.content-wrap { padding: 42px; max-width: 1480px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 31px; }
.page-heading h1 { margin: 0; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.045em; }
.page-description { margin: 10px 0 0; color: #6c8790; font-size: 13px; line-height: 1.6; }
.outline-button { min-height: 37px; background: white; border: 1px solid #cbdde0; border-radius: 8px; color: #33606c; font-size: 12px; font-weight: 720; padding: 8px 13px; white-space: nowrap; }
.outline-button:hover { border-color: #71b7bd; background: #f3fbfa; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.metric-card { min-height: 154px; background: #fff; border: 1px solid #e2eded; border-radius: 14px; padding: 22px 23px; box-shadow: 0 3px 12px rgba(15, 70, 78, .025); }
.metric-card span, .info-panel span { display: block; font-size: 12px; font-weight: 680; color: #66818b; }
.metric-card strong { display: block; margin: 17px 0 9px; color: #173541; font-size: clamp(25px, 3vw, 33px); letter-spacing: -.05em; }
.metric-card small, .info-panel small { display: block; color: #91a4ac; font-size: 11px; }
.metric-card b, .info-panel b { color: #317b7e; }
.overview-panels { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 17px; }
.info-panel { display: flex; align-items: center; gap: 17px; background: #fff; border: 1px solid #e2eded; border-radius: 14px; padding: 20px 23px; }
.panel-symbol { display: grid; place-items: center; width: 46px; height: 46px; flex: none; background: #e8f5f4; color: #0b818b; border-radius: 11px; font-size: 24px; }
.info-panel strong { display: block; font-size: 23px; margin: 5px 0; }
.notice { border-radius: 11px; padding: 15px 18px; font-size: 12px; line-height: 1.7; }
.notice p { margin: 4px 0 0; }
.info-notice { margin-top: 23px; background: #e9f2f2; color: #47707a; }
.info-notice strong { color: #2c6770; }
.error-notice { margin-bottom: 20px; color: #a23d3d; background: #fff0ed; border: 1px solid #f3d7d0; }
.list-section { background: #fff; border: 1px solid #e2eded; border-radius: 15px; padding: 19px; }
.list-toolbar { display: flex; justify-content: space-between; gap: 22px; align-items: end; }
.filter-group { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.filter-group label { flex-basis: 100%; }
.filter-group input { width: min(305px, 100%); }
.environment-wrap { display: grid; gap: 7px; min-width: 124px; }
.list-caption { margin: 20px 0 11px; color: #8197a0; font-size: 11px; }
.table-frame { overflow-x: auto; border: 1px solid #e6eeee; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th { background: #f6f9f9; color: #66828a; font-size: 11px; font-weight: 760; text-align: left; white-space: nowrap; padding: 14px 16px; }
td { border-top: 1px solid #edf2f2; padding: 15px 16px; font-size: 12px; color: #4e6872; white-space: nowrap; }
tbody tr:hover { background: #f9fcfc; }
.account-link { border: 0; padding: 0; background: none; color: #087c8c; font-weight: 730; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.account-link:hover { text-decoration: underline; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.02em; }
.numeric { color: #183c49; font-weight: 720; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 7px; background: #e9f3f3; color: #26737c; font-weight: 720; font-size: 11px; }
.badge.warn { background: #fff1dd; color: #9a691c; }
.empty-state { text-align: center; padding: 54px 20px; color: #92a5ad; font-size: 13px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 2px 0; color: #91a4ad; font-size: 11px; }
.content-footer { margin: 30px 2px 0; color: #96a9af; font-size: 11px; }
.content-footer span { padding: 0 8px; }
.account-dialog { width: min(680px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 34px)); padding: 0; border: 1px solid #dce9e9; border-radius: 17px; box-shadow: 0 30px 90px rgba(8, 35, 42, .2); }
.account-dialog::backdrop { background: rgba(14, 35, 42, .52); }
.dialog-header { position: sticky; top: 0; display: flex; align-items: start; justify-content: space-between; padding: 24px 27px 16px; background: white; border-bottom: 1px solid #edf2f2; }
.dialog-header h2 { margin: 0; font-size: 23px; }
.icon-button { background: #f0f5f5; color: #3a6670; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 23px; line-height: 1; }
#dialog-content { padding: 23px 27px 29px; overflow-y: auto; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.detail-item { padding: 13px; border-radius: 9px; background: #f5f9f9; min-width: 0; }
.detail-item span { display: block; color: #77939b; font-size: 11px; margin-bottom: 6px; }
.detail-item strong { display: block; color: #31535e; font-size: 13px; overflow-wrap: anywhere; }
.detail-heading { font-size: 13px; margin: 24px 0 10px; }
.detail-list { padding: 0; margin: 0; list-style: none; }
.detail-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf2f2; padding: 10px 0; font-size: 11px; color: #647f88; }
@media (max-width: 1000px) { .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .content-wrap { padding: 30px; } .topbar { padding: 0 30px; } }
@media (max-width: 650px) { .app-shell { display: block; } .sidebar { min-height: 0; padding: 13px 15px; } .side-head { padding: 0 0 12px; } .side-nav { display: flex; overflow-x: auto; } .nav-button { width: auto; flex: none; padding: 9px 11px; } .side-bottom { display: none; } .topbar { height: 52px; padding: 0 18px; } .content-wrap { padding: 23px 16px; } .page-heading { align-items: start; } .page-heading .outline-button { margin-top: 21px; } .metrics-grid { gap: 10px; } .metric-card { padding: 16px; min-height: 132px; } .overview-panels { grid-template-columns: 1fr; gap: 10px; } .list-toolbar { display: block; } .environment-wrap { margin-top: 16px; } .login-card { padding: 29px; } .detail-grid { grid-template-columns: 1fr; } }
