*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#e8ecf1;color:#333;min-height:100vh}.dashboard-page-grid{display:grid;grid-template-columns:minmax(24px,1fr) minmax(0,1400px) minmax(24px,1fr);min-height:100vh}.dashboard-grid-inner{display:grid;grid-template-columns:minmax(24px,1fr) minmax(0,1400px) minmax(24px,1fr)}.dashboard-container{max-width:100%;padding:20px 24px}.site-banner{background:#fff;padding:12px 20px;border-radius:8px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:32px;box-shadow:0 2px 4px #0000000d}.site-name{font-size:18px;font-weight:600;color:#373f98}.connection-status{font-size:18px;color:#888}.connection-status.connected{color:#28a745}.connection-status.error{color:#dc3545}.dashboard-container input[type=checkbox]{accent-color:#373F98}.alert-log-section{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000000d}.alert-header{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #eee}.alert-title{font-size:18px;font-weight:600;color:#373f98}.alert-count{font-size:14px;font-weight:400;color:#888}.alert-log{max-height:420px;overflow-y:auto}.alert-entry{justify-content:space-between;flex-wrap:wrap;gap:8px 16px}.alert-entry.resolved .alert-message{opacity:.6}.alert-severity{flex-shrink:0}.alert-actions{align-items:center;gap:16px;flex-shrink:0;margin-left:auto}.alert-resolve{width:230px;overflow-wrap:anywhere}.alert-resolution{font-size:11px;color:#888;margin-top:2px}.alert-help{width:18px;height:18px;border-radius:50%;border:1px solid #aaa;color:#555;font-size:11px;font-weight:600;line-height:16px;text-align:center;cursor:help;background:#fff}.alert-empty{text-align:center;color:#888;padding:30px;font-style:italic}.alert-entry{display:flex;align-items:center;padding:10px 12px;border-bottom:1px solid #f0f0f0;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;background-color:#fff3cd}to{opacity:1;background-color:transparent}}.alert-entry:last-child{border-bottom:none}.alert-content{display:flex;align-items:center;flex-wrap:wrap;gap:6px 15px;min-width:0;flex:1 1 360px}.alert-timestamp{font-family:SF Mono,Monaco,Courier New,monospace;font-size:12px;color:#888;white-space:nowrap}.alert-message{color:#dc3545;font-size:14px;min-width:0;overflow-wrap:anywhere}.alert-message.medium{color:#1a202c}.alert-log::-webkit-scrollbar{width:8px}.alert-log::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.alert-log::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}@media (max-width: 768px){.dashboard-page-grid,.dashboard-grid-inner{grid-template-columns:0 minmax(0,1fr) 0}.dashboard-container{padding:20px 16px}.alert-actions{margin-left:0;flex-shrink:1;min-width:0;max-width:100%;flex-wrap:wrap;gap:8px 16px}.alert-resolve{width:auto}.alert-filters{width:100%}.alert-filters select{flex:1;min-width:0}}.apexcharts-legend,.apexcharts-legend-text{font-size:10px!important}#water-panel .apexcharts-datalabels-group{display:none!important;visibility:hidden!important;pointer-events:none!important}body:has(.pe-app){background:#f3f4f7;color:#141824;font-family:Manrope,Segoe UI,sans-serif}.pe-app .apexcharts-legend,.pe-app .apexcharts-legend-text{font-size:12px!important}.pe-status-error i{background:var(--bad);box-shadow:0 0 0 4px #be123c24}.pe-status-wait i{background:var(--warn);box-shadow:0 0 0 4px #b4530924}.pe-app{--ink: #141824;--ink-soft: #3d4456;--muted: #6c7386;--line: #e4e7ee;--line-strong: #d3d7e2;--canvas: #f3f4f7;--card: #ffffff;--brand: #2c3488;--brand-deep: #1c225c;--good: #0f7a52;--warn: #b45309;--bad: #be123c;--shadow: 0 1px 2px rgba(20, 24, 36, .04), 0 10px 28px rgba(20, 24, 36, .04);--font: "Manrope", "Segoe UI", sans-serif;--mono: "IBM Plex Mono", ui-monospace, monospace;min-height:100vh;color:var(--ink);background:var(--canvas);font-family:var(--font);font-size:15px;line-height:1.45}.pe-app,.pe-app *{box-sizing:border-box}.pe-app button,.pe-app input,.pe-app select{font-family:inherit}.pe-app :focus-visible{outline:2px solid var(--brand);outline-offset:2px}.pe-top{position:sticky;top:0;z-index:20;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.pe-top:before{content:"";display:block;height:3px;background:linear-gradient(90deg,var(--brand-deep),#3b5bdb 42%,#0c8599)}.pe-top-inner,.pe-page{width:min(1240px,calc(100% - 40px));margin:0 auto}.pe-top-inner{display:flex;align-items:center;gap:20px;min-height:80px}.pe-brand{display:flex;align-items:center;gap:10px;margin-right:auto}.pe-header-mark{width:52px;height:52px;display:block;flex:none}.pe-header-wordmark{height:28px;width:auto;display:block}.pe-auth-wordmark{height:32px;width:auto;display:block;margin-bottom:8px}.pe-brand strong{display:block;font-size:15px;letter-spacing:-.02em}.pe-brand span{display:block;color:var(--muted);font-size:12px;font-weight:600}.pe-top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.pe-page{padding:28px 0 56px}.pe-sitehead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.pe-kicker{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pe-sitehead h1{min-height:1.1em}.pe-sitehead h1,.pe-auth-card h1,.pe-page h1{margin:0;font-size:32px;line-height:1.1;letter-spacing:-.035em;font-weight:800}.pe-lead{margin:8px 0 0;color:var(--ink-soft);max-width:62ch}.pe-status{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink-soft);font-size:13px;font-weight:650;white-space:nowrap}.pe-status i{width:8px;height:8px;border-radius:50%;background:var(--good);box-shadow:0 0 0 4px #0f7a5224}.pe-logo-slot{height:96px;width:auto}.pe-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:16px}.pe-toolbar-group{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pe-seg{display:inline-flex;padding:3px;background:#e7e9ef;border-radius:11px;gap:2px}.pe-seg button{border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700;padding:7px 12px;border-radius:8px;cursor:pointer}.pe-seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #14182414}.pe-field{display:inline-flex;align-items:center;gap:8px;color:var(--ink-soft);font-size:13px;font-weight:700}.pe-select,.pe-input{height:38px;border-radius:10px;border:1px solid var(--line-strong);background:#fff;color:var(--ink);padding:0 12px;font-size:14px}.pe-input{width:100%}.pe-select{min-width:148px}.pe-btn{height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--line-strong);background:#fff;color:var(--ink);font-size:13px;font-weight:750;cursor:pointer}.pe-btn:hover{background:#fafafa}.pe-btn:disabled{opacity:.45;cursor:not-allowed}.pe-btn-primary{background:var(--brand);border-color:transparent;color:#fff}.pe-btn-primary:hover{background:#242b74}.pe-btn-ghost{background:transparent;border-color:transparent;color:var(--ink-soft)}.pe-btn-ghost:hover{background:#eceef3}.pe-logout{height:48px;padding:0 22px;border-radius:12px;font-size:16px}.pe-textbtn{border:0;background:transparent;color:var(--brand);font-weight:750;font-size:12px;cursor:pointer;padding:0}.pe-pill{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:999px;background:#fff6e8;color:#9a5b08;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pe-note{margin:0 0 16px;padding:10px 12px;border-radius:12px;background:#eef3ff;color:var(--brand-deep);font-size:13px;font-weight:650}.pe-loading{display:flex;justify-content:center;padding:80px 0}.pe-spinner{width:36px;height:36px;border-radius:50%;border:3px solid var(--line-strong);border-top-color:var(--brand);animation:pe-spin .7s linear infinite}@keyframes pe-spin{to{transform:rotate(360deg)}}.pe-notes{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin-bottom:16px}.pe-notes-title{margin:0;font-weight:800;font-size:14px}.pe-notes ul{margin:10px 0 4px;padding-left:18px;color:var(--ink-soft)}.pe-notes li{margin:6px 0;font-size:13.5px}.pe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pe-subtotals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,450px),1fr));gap:14px}.pe-grid+.pe-grid,.pe-section{margin-top:14px}.pe-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);min-width:0}.pe-card-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px 16px;margin-bottom:6px}.pe-card h2,.pe-card h3{margin:0;font-size:16px;letter-spacing:-.02em}.pe-card-head p,.pe-caption{margin:3px 0 0;color:var(--muted);font-size:12px}.pe-legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin-top:4px}.pe-legend label{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:11px;color:var(--ink-soft);max-width:100%}.pe-swatch{display:inline-block;width:18px;height:0;border-top:2px solid var(--c, var(--brand));flex:none}.pe-swatch.dashed{border-top-style:dashed}.pe-empty{height:220px;display:grid;place-items:center;color:var(--muted);font-size:13px}.pe-split{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:8px 18px;align-items:center}.pe-total-label{margin:0;text-align:center;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pe-total{margin:2px 0 12px;text-align:center;font-size:28px;letter-spacing:-.04em;font-weight:800;font-variant-numeric:tabular-nums}.pe-checks{display:flex;flex-direction:column;gap:8px}.pe-check{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:center;font-size:13px;cursor:pointer}.pe-check input{accent-color:var(--brand)}.pe-filters{display:flex;flex-wrap:wrap;gap:8px}.pe-alert{display:grid;grid-template-columns:4px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 4px;border-top:1px solid var(--line)}.pe-alert .bar{align-self:stretch;border-radius:4px;background:var(--bad)}.pe-alert.medium .bar{background:var(--warn)}.pe-alert time{display:block;font-family:var(--mono);font-size:11px;color:var(--muted)}.pe-alert .msg{margin:3px 0 0}.pe-alert.resolved .msg{color:var(--muted)}.pe-tag{display:inline-flex;margin-left:8px;height:18px;padding:0 6px;border-radius:999px;background:#ffe4e9;color:var(--bad);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}.pe-alert.medium .pe-tag{background:#fff1dc;color:var(--warn)}.pe-alert-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.pe-resolve{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}.pe-resolve small,.pe-fine{display:block;color:var(--muted);font-size:11px;font-weight:600;text-align:right}.pe-more{display:flex;justify-content:center;padding-top:12px}.pe-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}.pe-table{width:100%;border-collapse:collapse}.pe-table th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:12px 14px;border-bottom:1px solid var(--line);background:#fafbfc;white-space:nowrap}.pe-table td{padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.pe-table tr:last-child td{border-bottom:0}.pe-table tbody tr:hover td{background:#fafbfe}.pe-mono{font-family:var(--mono);font-size:12px}.pe-stack{display:flex;flex-direction:column;gap:8px;max-width:720px}.pe-stack label,.pe-auth-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:750}.pe-help{margin:0;color:var(--muted);font-size:13px}.pe-auth{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.pe-auth-hero{position:relative;overflow:hidden;color:#fff;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(800px 420px at 0% 0%,rgba(255,255,255,.16),transparent 55%),radial-gradient(640px 380px at 100% 100%,rgba(34,184,207,.28),transparent 50%),var(--brand-deep)}.pe-auth-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.55),transparent 80%);mask-image:linear-gradient(180deg,rgba(0,0,0,.55),transparent 80%);pointer-events:none}.pe-auth-hero>*{position:relative;z-index:1}.pe-mark{width:46px;height:46px;display:block}.pe-auth-hero h1{margin:18px 0 12px;max-width:11em;font-size:52px;line-height:1.02;letter-spacing:-.04em;font-weight:800}.pe-auth-hero p{max-width:38ch;margin:0;color:#ffffffd1;font-size:16px}.pe-auth-panel{display:flex;align-items:center;justify-content:center;padding:32px 24px;background:linear-gradient(180deg,#f7f8fa,#eef0f4)}.pe-auth-card{width:min(420px,100%)}.pe-auth-card img{height:192px;width:auto;margin-bottom:18px}.pe-auth-card form{display:flex;flex-direction:column;gap:12px;margin-top:22px}.pe-auth-card .pe-btn-primary{height:44px;margin-top:4px;font-size:15px}.pe-error{margin:0;color:var(--bad);font-size:13px;font-weight:700}.pe-auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.pe-auth-links a,.pe-auth-links button{color:var(--brand);font-size:14px;font-weight:750;background:none;border:0;padding:0;cursor:pointer;text-decoration:none}.pe-foot{margin-top:22px;color:var(--muted);font-size:12px}@media (max-width: 980px){.pe-grid,.pe-split,.pe-auth{grid-template-columns:1fr}.pe-auth-hero{min-height:280px;padding:32px 24px}.pe-auth-hero h1{font-size:36px}}@media (max-width: 720px){.pe-top-inner,.pe-page{width:min(1240px,calc(100% - 28px))}.pe-top-inner{flex-wrap:wrap;padding:10px 0}.pe-brand{margin-right:0}.pe-header-wordmark{height:22px}.pe-sitehead{flex-wrap:wrap}.pe-sitehead h1,.pe-page h1{font-size:26px}.pe-alert{grid-template-columns:4px minmax(0,1fr)}.pe-alert-actions{grid-column:2;align-items:flex-start}.pe-fine,.pe-resolve small{text-align:left}.pe-alert-actions{flex-direction:row;flex-wrap:wrap;align-items:center}.pe-alert-actions .pe-resolve,.pe-alert-actions .pe-fine{flex-basis:100%}.pe-toolbar-group{min-width:0;max-width:100%}.pe-seg{min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}.pe-seg::-webkit-scrollbar{display:none}.pe-seg button{flex:none;white-space:nowrap;padding:7px 10px}.pe-logo-slot{height:64px}.pe-auth{grid-template-rows:auto 1fr}.pe-auth-panel{align-items:flex-start;padding:24px 16px 32px}.pe-auth-hero{min-height:0;padding:20px 16px 22px}.pe-mark{width:36px;height:36px}.pe-auth-hero .pe-kicker{margin-top:12px!important}.pe-auth-hero h1{margin:6px 0 8px;font-size:28px}.pe-auth-hero p{font-size:14px}.pe-card .chakra-table__container{white-space:normal}.pe-card .chakra-table__container td p{overflow-wrap:anywhere}.pe-table-cards thead{display:none}.pe-table-cards,.pe-table-cards tbody,.pe-table-cards tr,.pe-table-cards td{display:block;width:100%}.pe-table-cards tr{padding:10px 14px;border-bottom:1px solid var(--line)}.pe-table-cards tr:last-child{border-bottom:0}.pe-table-cards td,.pe-table-cards tr:last-child td{display:flex;justify-content:space-between;gap:12px;padding:2px 0;border-bottom:0;text-align:right;overflow-wrap:anywhere}.pe-table-cards td:first-child{padding-bottom:6px;font-weight:700;text-align:left}.pe-table-cards td[data-label]:before{content:attr(data-label);flex:none;color:var(--muted);font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:left}.pe-table-cards tbody tr:hover td{background:none}}
