@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/montserrat.woff2") format("woff2"); }
:root {
  --dark: #1a1a1a;
  --ink: #1a1a1a;
  --muted: #626775;
  --accent: #fab612;
  --paper: #f8f9fa;
  --line: #e5e7eb;
  --white: #fff;
  --highlight: #fab612;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  line-height: 1.45;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button, a, input, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #c88c00; }
button, input { border-radius: .55rem; }
[hidden] { display: none !important; }
.button, .primary, .quiet, .login-button { min-height: 2.7rem; padding: .55rem .9rem; font-size: .9rem; line-height: 1.35; font-weight: 650; }
.button { background: white; color: var(--ink); border: 1px solid #cdd1d7; }
.button:hover:enabled, .page-button:hover:enabled { background: #fffaec; }
.primary { border: 1px solid var(--accent); background: var(--accent); color: var(--ink); }
.primary:hover:enabled { background: #e7a20a; }
.quiet { background: transparent; color: inherit; border: 1px solid transparent; }
.quiet:hover:enabled { text-decoration: underline; }
.brand { color:var(--ink); text-decoration:none; display: inline-flex; gap: .8rem; align-items: center; font-size: 1.3rem; font-weight: 730; letter-spacing: -.055em; }
.brand-logo { height: 2.3rem; width: 2.3rem; border-radius: .5rem; object-fit:contain; }
.brand-text { display:flex; flex-direction:column; font-weight:900; font-size:.95rem; line-height:1; letter-spacing:-.03em; }
.brand-text small { color:#946300; margin-top:.22rem; font-size:.63rem; text-transform:uppercase; letter-spacing:.16em; }
.skip { position:fixed; top:-5rem; left:1rem; z-index:20; background:#1a1a1a; color:white; padding:.7rem 1rem; border-radius:.65rem; }
.skip:focus { top:.4rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2rem,4.2vw,3.5rem); letter-spacing: -.065em; font-weight: 750; }
h2 { font-size: 1.36rem; letter-spacing: -.045em; font-weight: 750; }
h3 { font-size: 1rem; }
.login { min-height: calc(100svh - 4.45rem); display:grid; place-items:center; text-align:center; padding:3rem 1.2rem 12vh; }
.login-inner { max-width:49rem; }
.login-logo { width:5.7rem; height:5.7rem; object-fit:contain; background:white; border:1px solid #f1f1f1; border-radius:1rem; padding:.7rem; box-shadow:0 .8rem 2rem #11182715; transform:rotate(3deg); margin-bottom:2rem; }
.login h1 { font-size:clamp(2.8rem,7vw,4.65rem); font-weight:900; letter-spacing:-.06em; }
.login h1 span { color:#ab7200; }
.login-inner p { margin:1.25rem auto 0; max-width:36rem; font-size:1.1rem; color:var(--muted); }
.login-button { margin:2rem auto 0; display:inline-flex; align-items:center; justify-content:center; gap:.85rem; border:0; border-radius:99rem; min-height:3.5rem; padding:.8rem 2rem; color:white; background:var(--dark); box-shadow:0 .7rem 2rem #11182722; }
.login-button:hover:enabled { background:#333; }
.microsoft-mark { width: .47rem; height: .47rem; background: currentColor; box-shadow: .56rem 0, 0 .56rem, .56rem .56rem; margin: -.5rem .5rem 0 0; }
.login-inner #auth-status { font-size: .9rem; }
.topbar { position:sticky; top:0; z-index:5; border-bottom:1px solid var(--line); background:rgb(255 255 255 / 94%); color:var(--ink); backdrop-filter:blur(14px); }
.bar-inner, .workspace { max-width: 91rem; margin: 0 auto; padding-inline: clamp(1rem,4vw,4.5rem); }
.bar-inner { min-height: 4.45rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-side, .user-side, .tools, .toolbar, .pills, .heading-pair, .pagination, .dialog-actions { display: flex; align-items: center; gap: .65rem; }
.brand-side { gap: 1.2rem; }
.product-name { border-left: 1px solid #dcdfe4; padding-left: 1.15rem; color: #4d4d4d; font-size: .9rem; }
.user-side { min-width: 0; font-size: .9rem; }
.user-mail { max-width: 26vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4d4d4d; }
.user-side button { color: var(--ink); border: 1px solid #e5e7eb; background: transparent; border-radius: .45rem; padding: .35rem .65rem; font-size: .88rem; }
.user-side button:hover { background: #fffaec; }
.workspace { padding-bottom: 4rem; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-block: 2.6rem 1.75rem; }
.page-head h1 { font-size: clamp(2.15rem,4.3vw,3.25rem); }
.pills { margin-top: .8rem; flex-wrap: wrap; }
.pill, .state { display: inline-flex; align-items: center; border-radius: 99rem; padding: .21rem .65rem; font-size: .8rem; line-height: 1.4; font-weight: 750; white-space: nowrap; }
.pill { background: #f0f1f4; color: #3f4652; }
.pill.mode { background: #f8edcd; color: #71520b; }
.pill.live, .state.good { background: #dcf1df; color: #255b37; }
.state.warn { background: #f9eccd; color: #734d0e; }
.state.danger { background: #f9e6e3; color: #913c32; }
.state { background: #eaf0ef; color: #49605a; }
.tools { flex-direction: column; align-items: end; gap: .45rem; }
.meta, .statusline, .range-caption, .pager-label { color: var(--muted); font-size: .875rem; }
.statusline { display: block; margin: 0 0 1rem; padding: .7rem .9rem; border-radius: .5rem; background: #e5f0e7; color: #315e45; }
.statusline:empty { display:none; }
.statusline.bad { background: #fce9e6; color: #8d322b; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.metric { position: relative; min-width: 0; min-height: 7.9rem; padding: 1.15rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow:0 .45rem 1.5rem #1118270a; }
.metric:first-child { color: white; background: var(--dark); border-color: var(--dark); }
.metric-label { display: block; color: var(--muted); font-size: .92rem; font-weight: 550; }
.metric:first-child .metric-label { color: #e5e7eb; }
.metric-value { display: block; margin-top: .6rem; font-size: clamp(1.9rem,3vw,2.6rem); line-height: 1; letter-spacing: -.06em; font-weight: 760; font-variant-numeric: tabular-nums; }
.metric:first-child .metric-value { color: var(--highlight); }
.metric.has-errors { border-color: #dcaa9d; }
.metric.has-errors .metric-value { color: #8e3f32; }
.ops { margin-block: 1.15rem; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: .75rem; background: #eef0f3; }
.ranges { display: flex; margin: 0; flex-wrap: wrap; gap: .75rem; align-items: end; }
.ranges label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 600; }
.ranges input { padding: .48rem .6rem; min-height: 2.7rem; color: var(--ink); background: white; border: 1px solid #cdd1d7; min-width: 0; }
.date-field { display: grid; gap: .25rem; min-width: 0; }
.date-control { position: relative; }
.ranges .date-control input[type=text] { padding-right: 2.45rem; width: 10rem; max-width: 100%; }
.calendar-control { position: absolute; inset: 1px 1px 1px auto; width: 2.25rem; display: grid; place-items: center; }
.calendar-control::before { content: ""; width: .9rem; height: .85rem; border: 1.5px solid currentColor; border-radius: .15rem; background: linear-gradient(currentColor,currentColor) center 28% / 100% 1px no-repeat; }
.calendar-control:focus-within { outline: 2px solid #c88c00; border-radius: .4rem; }
.ranges .calendar-control input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.calendar-control input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; cursor: pointer; }
.toolbar { flex-wrap: wrap; }
.history-link { color: var(--ink); font-size: .9rem; text-underline-offset: .2rem; }
.panel { background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow:0 .45rem 1.5rem #1118270a; overflow: hidden; margin-top: 1rem; }
.section-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap: .6rem; padding: 1.2rem 1.35rem; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.mail-identity { display: grid; gap: .25rem; min-width: 13rem; max-width: 26rem; white-space: normal; overflow-wrap: anywhere; }
.mail-identity span { color: var(--muted); font-size: .85rem; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; font-size: .925rem; }
th, td { padding: .8rem 1.1rem; border-top: 1px solid #e7e9ed; }
th:first-child,td:first-child { padding-left: 1.35rem; }
th { background: #f9fafb; color: var(--muted); font-size: .82rem; font-weight: 600; }
tbody tr:hover { background:#fffdf6; }
.id { font: .82rem/1.35 "IBM Plex Mono", Consolas, monospace; color: #575c69; }
.empty { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2.4rem 1.2rem; border-top: 1px solid var(--line); color: var(--muted); }
.empty p { font-size: .925rem; }
.empty-icon { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: .75rem; background: #f5f5f6; display:grid; place-items:center; color: #616674; }
.empty-icon::before { content: ""; width: .85rem; height: 1.15rem; border: 1.5px solid currentColor; border-radius: .14rem; background: linear-gradient(currentColor,currentColor) 50% 38% / 55% 1px no-repeat,linear-gradient(currentColor,currentColor) 50% 66% / 55% 1px no-repeat; }
.pagination { justify-content: end; padding: .65rem 1.3rem; border-top: 1px solid var(--line); }
.pager-label { margin-right: auto; }
.page-button { border: 1px solid var(--line); background: white; font-size:.875rem; padding: .35rem .7rem; color:var(--ink); }
.dialog { border:1px solid var(--line); border-radius:1rem; padding:1.6rem; width:min(30rem, calc(100vw - 2rem)); color:var(--ink); box-shadow:0 1rem 4rem #11182730; }
.dialog::backdrop { background: #11182775; }
.dialog p { margin-top:1rem; color:var(--muted); }
.dialog-actions { margin-top:1.5rem; justify-content:end; flex-wrap:wrap; }
@media (max-width: 850px) {
  .ops { align-items:start; }
  .metric { min-height:6.7rem; }
}
@media (max-width: 620px) {
  .brand { font-size:1.15rem; gap:.55rem; }
  .product-name, .user-mail { display:none; }
  .page-head { align-items:start; flex-direction:column; gap:1rem; padding-block:1.65rem 1.25rem; }
  .tools { align-items:center; flex-direction:row-reverse; gap:.8rem; }
  .metrics { gap:.5rem; grid-template-columns: 1fr; }
  .metric { padding:.95rem 1rem; }
  .ops { padding: .9rem; }
  .ranges { display:grid; grid-template-columns: 1fr 1fr; width:100%; gap:.5rem; }
  .ranges .button { grid-column:span 2; }
  .toolbar { width:100%; }
  .toolbar button { flex:1; }
  .section-head { padding: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background .12s ease, border-color .12s ease; }
}
