:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #263c46; background: #f4f7f9; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 14px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #55b7c0; outline-offset: 3px; }
input, select { width: 100%; min-width: 0; border: 1px solid #d8e2e7; border-radius: 8px; padding: 10px 11px; color: #263c46; background: #fff; outline: none; }
input:focus, select:focus { border-color: #1496a4; box-shadow: 0 0 0 3px #1496a415; }
input::placeholder { color: #93a2a9; }
h1, h2, p { margin: 0; }
h1 { font-size: 27px; line-height: 1.3; font-weight: 650; letter-spacing: -.5px; }
h2 { font-size: 18px; font-weight: 650; }
a { color: #087f91; text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: #7a8b94; }
.eyebrow { display: block; color: #92a1aa; font-size: 10px; letter-spacing: 1.5px; font-weight: 600; }
.brand { display: flex; gap: 11px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #16788b, #10a0af); color: #fff; font-size: 24px; font-weight: 700; }
.brand strong { display: block; color: #21434e; font-size: 15px; }
.brand div > span { display: block; color: #8a9aa3; font-size: 11px; margin-top: 1px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 13px; min-height: 36px; border: 1px solid #dbe4e9; border-radius: 8px; background: #fff; color: #4e6570; font-size: 12px; font-weight: 500; white-space: nowrap; }
.button:hover:enabled { background: #f3f8f9; border-color: #adcbd2; }
.button.primary { color: #fff; border-color: #0d8d9b; background: #0d8d9b; }
.button.primary:hover:enabled { background: #087b89; }
.button.danger { color: #b34d48; border-color: #efcecb; background: #fff6f4; }
.button.danger:hover:enabled { background: #ffecea; }
.button.quiet { background: transparent; color: #748a94; }
.button.small { padding: 5px 9px; min-height: 29px; font-size: 11px; }
.icon-button { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 7px; color: #8498a1; background: #f2f6f8; font-size: 21px; line-height: 1; }
.icon-button:hover { background: #e9f1f4; }
.login-view { min-height: 100vh; padding: 40px 20px; display: grid; place-items: center; background: radial-gradient(ellipse at 20% 10%, #e1f2f3, transparent 55%), #f4f7f9; }
.login-card { width: 100%; max-width: 410px; padding: 34px; border: 1px solid #dde7eb; border-radius: 18px; background: #fff; box-shadow: 0 20px 70px #28465008; }
.login-card .brand { margin-bottom: 31px; }
.login-card h1 { font-size: 24px; margin-bottom: 7px; }
.login-hint { font-size: 11px; color: #93a1a9; margin-top: 7px; }
#login-form { margin-top: 23px; display: flex; flex-direction: column; gap: 8px; }
#login-form label { font-size: 12px; color: #687e88; }
#login-form input { height: 43px; margin-bottom: 8px; }
#login-submit { width: 100%; height: 42px; margin-top: 5px; }
.login-footnote { margin-top: 20px; color: #9aa9b1; text-align: center; font-size: 11px; }
.notice { padding: 11px 13px; border: 1px solid #cfe7e8; border-radius: 9px; background: #edf9f7; color: #2f7c71; font-size: 12px; overflow-wrap: anywhere; }
.notice.error { border-color: #f0d9d3; background: #fff5f2; color: #a65d4c; }
#login-message { margin-top: 18px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 27px 18px 18px; border-right: 1px solid #e1e9ed; background: #fff; display: flex; flex-direction: column; }
.sidebar .brand { padding-inline: 6px; }
.sidebar .brand-mark { width: 32px; height: 32px; font-size: 21px; border-radius: 10px; }
.sidebar .brand strong { font-size: 13px; }
.main-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 35px; }
.main-nav button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 15px; border: 0; border-radius: 9px; background: transparent; text-align: left; color: #7c8d96; font-size: 13px; }
.main-nav button > span { display: grid; place-items: center; width: 19px; height: 19px; color: #96aab3; font-size: 18px; font-weight: 400; }
.main-nav button:hover { color: #168394; background: #f3f8f9; }
.main-nav button[aria-current="page"] { background: #e9f6f7; color: #087f91; font-weight: 600; }
.main-nav button[aria-current="page"] > span { color: #1595a5; }
.sidebar-account { margin-top: auto; padding: 18px 9px 0; border-top: 1px solid #edf1f4; }
.sidebar-account strong { display: block; margin: 7px 0 12px; font-size: 11px; font-weight: 500; color: #70848f; overflow-wrap: anywhere; }
.sidebar-account .button { width: 100%; font-size: 11px; }
.main-content { width: 100%; max-width: 1680px; padding: 32px 36px 40px; min-width: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.page-heading .eyebrow { margin-bottom: 8px; }
.page-heading .muted { font-size: 12px; margin-top: 9px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
#app-message { margin-bottom: 18px; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 16px; border: 1px solid #e0e8ec; border-radius: 12px; background: #fff; margin-bottom: 18px; }
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #7b909b; min-width: 135px; }
.filters label.search-field { flex: 1; min-width: 200px; }
.filters input, .filters select { min-height: 36px; padding: 7px 9px; font-size: 12px; }
.filter-note { font-size: 11px; color: #94a4ad; margin-left: auto; padding-bottom: 8px; }
.table-panel { border: 1px solid #e0e8ec; border-radius: 12px; background: #fff; overflow: hidden; }
.table-scroll { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { padding: 13px 15px; background: #f8fafb; border-bottom: 1px solid #e4ecef; color: #8597a0; font-weight: 500; white-space: nowrap; font-size: 11px; }
td { padding: 14px 15px; border-bottom: 1px solid #eef2f5; vertical-align: top; color: #607884; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfd; }
td .button + .button { margin-left: 6px; }
.cell-primary { display: block; font-weight: 500; color: #344f5b; }
.cell-sub { display: block; margin-top: 4px; font-size: 10px; color: #9baab2; }
.cell-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-width: 200px; overflow-wrap: anywhere; font-size: 10px; }
.cell-date { white-space: nowrap; font-size: 11px; }
.cell-actions { min-width: 115px; white-space: nowrap; }
.cell-note { color: #9baab2; font-size: 10px; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 500; white-space: nowrap; background: #eef3f6; color: #788f9a; }
.badge.good { background: #e8f6ef; color: #3d9472; }
.badge.active { background: #e8f6f8; color: #158a9c; }
.badge.warn { background: #fff3dc; color: #ae873e; }
.badge.bad { background: #ffefed; color: #bd7264; }
.empty-state { padding: 60px 20px; text-align: center; border: 1px solid #e0e8ec; border-radius: 12px; background: #fff; color: #91a3ad; }
.empty-state strong { display: block; font-size: 15px; font-weight: 500; color: #617d8a; margin-bottom: 6px; }
.empty-state p { font-size: 12px; }
.empty-state .button { margin-top: 16px; }
.pagination { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #93a4ad; font-size: 11px; }
.pagination-controls { display: flex; gap: 7px; align-items: center; }
.pagination select { width: auto; padding: 5px 8px; font-size: 11px; background: transparent; }
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 23px; border: 1px solid #e0e8ec; border-radius: 12px; background: #fff; }
.metric-label { font-size: 12px; color: #81949f; }
.metric-value { display: block; margin-top: 12px; font-size: 32px; font-weight: 600; letter-spacing: -.7px; color: #294d5c; }
.metric.primary { background: #eaf7f7; border-color: #cce8ea; }
.metric.primary .metric-value { color: #0c8b9b; }
.service-panel { margin-top: 22px; padding: 20px 23px; background: #fff; border: 1px solid #e0e8ec; border-radius: 12px; }
.service-panel h2 { font-size: 14px; margin-bottom: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-grid dt { color: #90a2ad; font-size: 11px; }
.service-grid dd { margin: 6px 0 0; color: #5e7d8b; font-size: 12px; overflow-wrap: anywhere; }
.modal { width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 50px); margin: auto; padding: 24px; border: 1px solid #dce7eb; border-radius: 15px; color: #263c46; background: #fff; box-shadow: 0 20px 80px #183b4330; }
.modal::backdrop { background: #19364155; backdrop-filter: blur(2px); }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.review-body > p { color: #7b909b; font-size: 12px; margin-top: 12px; }
.review-facts { margin: 15px 0; padding: 14px; background: #f5f9fa; border-radius: 8px; font-size: 12px; }
.review-facts dt { color: #8da0aa; font-size: 10px; margin-top: 10px; }
.review-facts dt:first-child { margin-top: 0; }
.review-facts dd { margin: 4px 0 0; color: #496c7d; overflow-wrap: anywhere; }
.stack-form { display: flex; flex-direction: column; gap: 16px; }
.stack-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: #7e949e; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-form .modal-actions { margin-top: 5px; }
.inline-error { color: #b36c59; font-size: 12px; overflow-wrap: anywhere; margin-top: 12px; }
.code-warning { color: #ad8646; font-size: 12px; padding: 12px; background: #fff7e7; border-radius: 8px; margin-bottom: 19px; }
.field-label { display: block; margin-bottom: 7px; font-size: 12px; color: #8197a2; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
#copy-message { font-size: 11px; margin-top: 10px; }
.detail-modal { width: min(1050px, calc(100vw - 32px)); }
.detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 24px; }
.detail-facts dt { font-size: 10px; color: #91a3ae; }
.detail-facts dd { font-size: 12px; margin: 5px 0 0; color: #587987; overflow-wrap: anywhere; }
.detail-section-title { font-size: 14px; margin-bottom: 12px; }
.audit-details { max-width: 280px; }
.audit-details summary { cursor: pointer; color: #168b9a; font-size: 11px; }
.provider-modal { width: min(540px, calc(100vw - 32px)); }
.field-help { color: #8a9da7; font-size: 11px; line-height: 1.6; }
.provider-capabilities { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 12px; border: 1px solid #dfe8ec; border-radius: 8px; }
.provider-capabilities legend { padding: 0 5px; color: #7e949e; font-size: 12px; }
.stack-form .check-field { display: flex; flex-direction: row; align-items: center; gap: 7px; color: #5e7b88; font-size: 12px; }
.check-field input { width: 15px; height: 15px; padding: 0; margin: 0; accent-color: #0d8d9b; }
.provider-options { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.provider-intro { margin-bottom: 16px; }
.provider-intro p + p { margin-top: 9px; }
.provider-intro .field-help { display: block; }
.provider-url { display: block; max-width: 240px; overflow-wrap: anywhere; font-size: 10px; color: #829aa5; }
.provider-status { display: flex; flex-wrap: wrap; gap: 5px; }
.facebook-account + .facebook-account { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f5; }
.facebook-account .button { margin-top: 6px; }
.activity-summary { display: block; max-width: 300px; white-space: normal; overflow-wrap: anywhere; }
pre { max-height: 200px; overflow: auto; margin-bottom: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #8097a3; font-size: 10px; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: #fff; color: #597581; }
@media (max-width: 1100px) { .app-shell { grid-template-columns: 195px minmax(0, 1fr); } .sidebar { padding-inline: 13px; } .main-content { padding: 27px 24px; } .overview-grid { gap: 12px; } .metric { padding: 20px; } }
@media (max-width: 760px) { .app-shell { display: block; } .sidebar { position: static; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid #e1e9ed; } .sidebar .brand { padding: 0; } .main-nav { flex-direction: row; overflow: auto; margin-top: 19px; gap: 4px; } .main-nav button { width: auto; padding: 8px 11px; flex-shrink: 0; gap: 6px; font-size: 12px; } .main-nav button > span { display: none; } .sidebar-account { margin-top: 14px; padding: 12px 0 0; display: flex; align-items: center; gap: 10px; } .sidebar-account .eyebrow { display: none; } .sidebar-account strong { margin: 0; flex: 1; } .sidebar-account .button { width: auto; min-height: 29px; padding: 5px 9px; } .main-content { padding: 23px 16px; } .page-heading { align-items: flex-start; margin-bottom: 20px; } h1 { font-size: 23px; } .page-heading .eyebrow { display: none; } .page-heading .muted { max-width: 260px; } .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metric { padding: 17px; } .metric-value { font-size: 27px; } .service-grid { grid-template-columns: 1fr; gap: 14px; } .filters { padding: 13px; gap: 10px; } .filters label { min-width: 110px; flex: 1; } .filter-note { width: 100%; padding: 0; margin: 0; } .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .login-card { padding: 26px; } .page-heading { flex-wrap: wrap; } .page-actions { width: 100%; } .page-actions .button { flex: 1; } .metric-value { font-size: 24px; } .metric { padding: 14px; } .modal { padding: 19px; } .detail-facts { grid-template-columns: 1fr; } .form-grid { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
