:root{color:#1f2933;background:#f6f4ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffd6,#f1f5f9eb),#f6f4ef}.login-page{position:relative;overflow:hidden;display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(90deg,rgb(15 23 42 / .05) 1px,transparent 1px),linear-gradient(0deg,rgb(15 23 42 / .04) 1px,transparent 1px),linear-gradient(135deg,#f7fafc,#eef6f2 46%,#f5f3ee);background-size:42px 42px,42px 42px,auto}.login-page:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(115deg,rgb(30 64 175 / .14),transparent 36%),linear-gradient(245deg,rgb(5 150 105 / .12),transparent 38%);pointer-events:none}.login-page:after{position:absolute;right:max(32px,8vw);bottom:max(40px,8vh);width:min(520px,46vw);height:min(360px,38vh);content:"";background:linear-gradient(180deg,#ffffff9e,#ffffff2e),repeating-linear-gradient(0deg,rgb(37 99 235 / .18) 0 2px,transparent 2px 34px);border:1px solid rgb(148 163 184 / .24);border-radius:8px;box-shadow:0 24px 80px #0f172a1f;transform:perspective(900px) rotateX(58deg) rotate(-8deg);pointer-events:none}.login-panel{position:relative;z-index:1;width:min(100%,420px);padding:28px;background:#ffffffd6;border:1px solid rgb(203 213 225 / .74);border-radius:8px;box-shadow:0 24px 70px #0f172a24;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:24px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;color:#fff;background:#2563eb;border-radius:8px}.login-form{display:grid;gap:16px}.input-with-icon{display:flex;align-items:center;gap:8px;height:42px;padding:0 11px;background:#fff;border:1px solid #cbd5e1;border-radius:6px}.input-with-icon:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.input-with-icon svg{flex:0 0 auto;color:#667085}.input-with-icon input{height:100%;padding:0;border:0;box-shadow:none}.input-with-icon input:focus{border:0;box-shadow:none}.password-toggle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#667085;background:transparent;border:0;border-radius:6px}.password-toggle:hover{color:#1d4ed8;background:#eef2ff}.login-error{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:6px;font-size:13px;line-height:1.5}.login-button{width:100%;height:42px}button,input,select{font:inherit}button{cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease,color .14s ease}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{display:flex;min-height:100vh}.content{flex:1;min-width:0;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.eyebrow{color:#667085;font-size:12px;font-weight:700;letter-spacing:0}h1,h2{margin:4px 0 0;letter-spacing:0}h1{font-size:28px}h2{font-size:18px}.token-box{display:flex;gap:8px;min-width:360px}.token-box input{flex:1}.toolbar,.table-section{background:#ffffffdb;border:1px solid rgb(203 213 225 / .8);border-radius:8px;box-shadow:0 12px 34px #0f172a0f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.user-actions{display:flex;align-items:center;gap:10px}.user-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;color:#344054;background:#ffffffb8;border:1px solid rgb(203 213 225 / .8);border-radius:999px;font-weight:700}.dashboard-panel{position:relative;overflow:hidden;padding:18px;margin-bottom:16px;background:linear-gradient(135deg,#ffffffeb,#f8fafcd1),#fff;border:1px solid rgb(203 213 225 / .74);border-radius:8px;box-shadow:0 18px 50px #0f172a14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.dashboard-head,.dashboard-actions,.refresh-note{display:flex;align-items:center}.dashboard-head{justify-content:space-between;gap:16px;margin-bottom:16px}.dashboard-actions{gap:10px}.refresh-note{gap:6px;min-height:30px;padding:0 10px;color:#526071;background:#f1f5f9bd;border:1px solid rgb(226 232 240 / .88);border-radius:999px;font-size:12px;font-weight:700}.dashboard-error{display:flex;gap:8px;align-items:center;margin-bottom:12px;padding:10px 12px;color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:6px;font-size:13px}.dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;margin-bottom:14px}.summary-tile{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;align-items:center;min-height:74px;padding:13px 14px;text-align:left;background:#f8fafcad;border:1px solid rgb(226 232 240 / .82);border-radius:8px;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.summary-tile:hover,.summary-tile.active{transform:translateY(-1px);background:#fff;border-color:#3b82f661;box-shadow:0 12px 26px #0f172a14}.summary-tile svg{grid-row:span 2;color:#2563eb}.summary-tile.active svg{color:#059669}.summary-tile span{color:#64748b;font-size:12px;font-weight:800}.summary-tile strong{min-width:0;color:#172026;font-size:23px;line-height:1.05;overflow-wrap:anywhere}.summary-tile.muted{cursor:default}.summary-tile.muted strong{font-size:18px}.trend-chart{padding:8px 10px 6px;background:linear-gradient(180deg,#f8fafcb8,#ffffffe6),#fff;border:1px solid rgb(226 232 240 / .82);border-radius:8px}.trend-chart-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:0}.trend-chart-head div{display:grid;gap:2px}.trend-chart-head span,.trend-chart-head small{color:#64748b;font-size:10px;font-weight:800}.trend-chart-head strong{color:#172026;font-size:18px;line-height:1.05}.trend-chart-svg{display:block;width:100%;height:auto;overflow:visible}.chart-grid-line{stroke:#e2e8f0;stroke-dasharray:4 7;stroke-width:1}.chart-axis-label{fill:#94a3b8;font-size:7.5px;font-weight:500}.chart-axis-label-x{font-size:6.5px}.chart-area{fill:url(#trendArea)}.chart-line{fill:none;stroke:#2563eb;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2;filter:drop-shadow(0 6px 10px rgb(37 99 235 / .14))}.chart-dot{fill:#fff;stroke:#2563eb;stroke-width:2;transition:r .14s ease,fill .14s ease,stroke .14s ease}.chart-dot:hover,.chart-dot:focus,.chart-dot.active{fill:#059669;stroke:#fff;outline:none}.chart-dot.future{fill:#f8fafc;stroke:#cbd5e1}.chart-dot.future.active,.chart-dot.future:hover,.chart-dot.future:focus{fill:#e2e8f0;stroke:#fff}.chart-hover-line{stroke:#0f172a2e;stroke-dasharray:3 5}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:16px}.metric-card{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;min-height:84px;padding:16px;background:#ffffffc7;border:1px solid rgb(203 213 225 / .72);border-radius:8px;box-shadow:0 10px 28px #0f172a0d;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.metric-card:hover{transform:translateY(-1px);border-color:#94a3b8bd;box-shadow:0 16px 34px #0f172a14}.metric-card svg{grid-row:span 2;color:#2563eb}.metric-card span{color:#667085;font-size:13px;font-weight:700}.metric-card strong{min-width:0;color:#172026;font-size:22px;letter-spacing:0}.metric-card.success svg{color:#039855}.metric-card.danger svg{color:#d92d20}.toolbar{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;align-items:end;padding:16px;margin-bottom:16px}.toolbar-title,.toolbar-head,.quick-actions,.toolbar-actions,.summary-pill,.time-cell,.primary-button,.secondary-button,.view-button{display:flex;align-items:center}.toolbar-head{grid-column:1 / -1;justify-content:space-between;gap:12px;padding-bottom:4px}.toolbar-title{gap:8px;font-weight:700}.quick-actions{gap:8px}.quick-actions button{height:36px;padding:0 10px;color:#344054;background:#eef2f6;border:1px solid #d8dee8;border-radius:6px}.job-search-panel{display:grid;grid-column:1 / -1;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end;padding:14px;background:linear-gradient(180deg,#f8fafcc7,#ffffffe6),#fff;border:1px solid rgb(226 232 240 / .9);border-radius:8px}.filter-divider{display:flex;grid-column:1 / -1;align-items:center;gap:10px;color:#64748b;font-size:12px;font-weight:800}.filter-divider:after{flex:1;height:1px;content:"";background:#e2e8f0}label{display:grid;gap:6px;color:#475467;font-size:13px;font-weight:600}input,select{width:100%;min-width:0;height:38px;padding:0 10px;color:#172026;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}input:focus,select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.toolbar-actions{gap:8px}.primary-button,.secondary-button,.icon-button,.view-button{justify-content:center;border-radius:6px}.primary-button,.secondary-button,.view-button{gap:8px;height:38px;padding:0 13px;font-weight:700}.primary-button{color:#fff;background:#1d4ed8;border:1px solid #1d4ed8;box-shadow:0 8px 18px #2563eb2e}.secondary-button{color:#344054;background:#ffffffc7;border:1px solid rgb(203 213 225 / .86)}.icon-button{display:inline-flex;align-items:center;width:34px;height:34px;color:#344054;background:#fff;border:1px solid #cbd5e1}.view-button{color:#1d4ed8;background:#eff6ffd1;border:1px solid rgb(191 219 254 / .9)}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.view-button:hover:not(:disabled),.icon-button:hover:not(:disabled),.quick-actions button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #0f172a17}.table-section{overflow:hidden}.table-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #e4e7ec}.summary-pill{gap:6px;min-height:30px;padding:0 10px;color:#344054;background:#f2f4f7;border-radius:999px;font-size:13px;font-weight:700}.banner-error{display:flex;gap:8px;align-items:center;margin:12px 16px 0;padding:10px 12px;color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:6px}.table-wrap{overflow-x:auto}table{width:100%;min-width:960px;border-collapse:separate;border-spacing:0}th,td{padding:12px 16px;text-align:left;border-bottom:1px solid #edf0f5;vertical-align:middle}th{color:#667085;background:#f8fafc;font-size:12px;font-weight:800}td{color:#344054;font-size:14px}tbody tr{transition:background .13s ease}tbody tr:hover{background:#f8fafcc7}tbody tr:hover td:first-child{box-shadow:inset 3px 0 #60a5fa}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.time-cell{gap:7px;white-space:nowrap}.status{display:inline-flex;align-items:center;min-width:52px;height:26px;justify-content:center;border-radius:999px;font-weight:800}.status.ok{color:#027a48;background:#ecfdf3}.status.failed{color:#b42318;background:#fef3f2}.empty-cell{height:180px;color:#667085;text-align:center}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 16px}.detail-panel{position:fixed;top:16px;right:16px;bottom:16px;z-index:20;display:flex;flex-direction:column;width:min(720px,calc(100vw - 32px));min-width:min(460px,calc(100vw - 32px));background:#fff;border:1px solid #d8dee8;border-radius:8px;box-shadow:0 24px 70px #10182838;animation:detail-panel-in .18s ease-out}@keyframes detail-panel-in{0%{opacity:0;transform:translate(14px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.detail-header{display:flex;flex:0 0 auto;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid #e4e7ec}.detail-header p{margin:6px 0 0;color:#667085;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;word-break:break-all}.tabs{display:flex;flex:0 0 auto;gap:6px;overflow-x:auto;padding:10px 12px;border-bottom:1px solid #e4e7ec}.tab{flex:0 0 auto;height:32px;padding:0 10px;color:#475467;background:#fff;border:1px solid transparent;border-radius:6px;font-weight:700}.tab.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.detail-body{flex:1 1 auto;min-height:0;overflow:auto;padding:16px}.overview-grid{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:start}.overview-grid span{color:#667085}.overview-grid strong{min-width:0;word-break:break-word}.html-preview-section{display:grid;gap:10px;margin-top:18px}.html-preview-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.html-preview-title span{color:#172026;font-weight:800}.html-preview-title strong{min-width:auto;padding:3px 8px;color:#475467;background:#f2f4f7;border-radius:999px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.html-preview-frame{width:100%;height:min(460px,52vh);background:#fff;border:1px solid #e2e8f0;border-radius:6px}.error-event-list{display:grid;gap:12px}.error-event{display:grid;gap:10px;padding:14px;background:snow;border:1px solid #fecdd3;border-radius:8px}.error-event-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.error-event-head div{display:grid;gap:2px}.error-event-head span,.error-event-head small{color:#9f1239;font-size:12px;font-weight:800}.error-event-head strong{color:#881337;font-size:17px}.error-source{width:fit-content;max-width:100%;padding:3px 8px;color:#7f1d1d;background:#ffe4e6;border-radius:999px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;overflow-wrap:anywhere}.error-detail-text{margin:0;padding:12px;max-height:300px;overflow:auto;color:#3f1d2b;background:#fff;border:1px solid #fecdd3;border-radius:6px;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.raw-details summary{color:#9f1239;cursor:pointer;font-size:12px;font-weight:800}.raw-details .json-block{margin-top:8px}.json-block{margin:0;padding:14px;max-width:100%;overflow-x:hidden;overflow-y:auto;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.state-text,.error-text{padding:14px;border-radius:6px}.state-text{color:#475467;background:#f8fafc}.error-text{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3}@media(max-width:1120px){.app-shell{display:block}.detail-panel{inset:12px 12px 12px auto;width:min(92vw,640px);min-width:0}.toolbar{grid-template-columns:repeat(2,minmax(160px,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:720px){.content{padding:14px}.topbar,.table-header,.dashboard-head,.dashboard-actions,.user-actions{align-items:stretch;flex-direction:column}.toolbar{grid-template-columns:1fr}.toolbar-head{align-items:stretch;flex-direction:column}.toolbar-actions{flex-wrap:wrap}.job-search-panel,.metric-grid,.dashboard-summary{grid-template-columns:1fr}.detail-panel{top:0;right:0;bottom:0;left:0;width:100vw;max-height:none;border-radius:0}}
