/* Orble's status page: the tokens and the few components it shares with orble.tech (internal/cp/ui/ui.css), kept here
   so the page loads nothing from orble.tech, then the status board. Light only. */
:root{--bg:#fbfaf7;--panel:#fff;--ink:#17161c;--ink-2:#46434f;--muted:#6c6878;--line:#e6e3ec;--line-2:#f2f0f5;
--accent:#5b3fd9;--accent-2:#4a31c0;--live:#1c8a50;--warn:#b26a00;--down:#c8352b;--none:#e4e1ea;
--sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
--edge:rgb(23 22 28/.1);--edge-low:rgb(23 22 28/.17);--lift:inset 0 1px 0 #fff,0 1px 1.5px rgb(23 22 28/.06);
--r-control:8px;--r-box:14px}
@supports (corner-shape:squircle){:root{--r-control:13px;--r-box:26px}
*,::before,::after{corner-shape:squircle}.dot,.legend .c{corner-shape:round}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:15px/1.55 var(--sans);color:var(--ink);background:var(--bg)}
a{color:var(--accent);text-underline-offset:.18em;text-decoration-thickness:1px}a:hover{color:var(--accent-2)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1{font-size:1.25rem;line-height:1.2;letter-spacing:-.015em;margin:0}
h2{font-size:.98rem;letter-spacing:-.005em;margin:0}
p{margin:.4rem 0}
.muted{color:var(--muted)}.fine{font-size:.85rem}.num{font-variant-numeric:tabular-nums}
svg.i{width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.wrap{max-width:60rem;margin:0 auto;padding:0 1.25rem;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
header.top{display:flex;align-items:center;gap:1.5rem;height:3.75rem}
.brand{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;font-size:1.25rem;letter-spacing:-.015em;
color:var(--ink);text-decoration:none;margin-right:auto}
.brand img{width:34px;height:34px;flex:none}.brand:hover{color:var(--ink)}
.brand .name{display:flex;flex-direction:column;align-items:flex-start;gap:.13rem;translate:0 .13em}
.brand .word{text-box:trim-both cap alphabetic}
.brand .stage{font-size:.52rem;font-weight:500;color:var(--muted);text-box:trim-both cap alphabetic}
.links{display:flex;gap:1.5rem}
.links a{color:var(--ink-2);text-decoration:none;font-size:.93rem}.links a:hover{color:var(--ink)}
main{flex:1 0 auto;padding:2rem 0 4rem}

.btn,.icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--edge);
border-bottom-color:var(--edge-low);background:linear-gradient(#fff,#f8f7fa);box-shadow:var(--lift);
border-radius:var(--r-control);font-family:inherit;color:var(--ink);cursor:pointer;text-decoration:none;
transition:background .15s,border-color .15s}
.btn{height:2rem;padding:0 .8rem;font-size:.87rem;font-weight:550;white-space:nowrap}
.icon{width:2rem;height:2rem;padding:0}
.btn:hover,.icon:hover{border-color:rgb(23 22 28/.16);background:linear-gradient(#fff,#f3f1f7);color:var(--ink)}
.icon[disabled]{opacity:.4;cursor:default;background:linear-gradient(#fff,#f8f7fa)}
.panel{background:var(--panel);border:1px solid rgb(23 22 28/.075);border-top-color:rgb(23 22 28/.05);
border-bottom-color:rgb(23 22 28/.12);border-radius:var(--r-box);
box-shadow:0 1px 1px rgb(23 22 28/.03),0 2px 5px -3px rgb(23 22 28/.06),0 18px 36px -28px rgb(23 22 28/.22)}

/* --- now: the line that says how things are this hour ------------------------------------------------------------ */
.now{margin:0 0 1.5rem}
.headline{display:flex;align-items:center;gap:.6rem;font-size:1.6rem;font-weight:650;letter-spacing:-.02em;line-height:1.2;margin:0}
.dot{width:.7rem;height:.7rem;border-radius:50%;flex:none;background:var(--none)}
.dot.o{background:var(--live);box-shadow:0 0 0 4px rgb(28 138 80/.13)}
.dot.d{background:var(--warn);box-shadow:0 0 0 4px rgb(178 106 0/.14)}
.dot.x{background:var(--down);box-shadow:0 0 0 4px rgb(200 53 43/.14)}
#updated{margin:.45rem 0 0 1.3rem}

/* --- incidents: open ones in their impact's color, resolved ones muted ------------------------------------------- */
#incidents{display:grid;gap:.75rem;margin-bottom:1.5rem}#incidents:empty{display:none}
.incident{padding:1rem 1.2rem;border-left:4px solid var(--down)}
.incident.degraded{border-left-color:var(--warn)}
.incident.resolved{border-left-color:var(--line);box-shadow:none;background:transparent}
.incident .when{font-size:.82rem;color:var(--muted);margin:.15rem 0 .5rem}
.incident ol{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.incident li{display:grid;grid-template-columns:5.5rem 1fr;gap:.75rem;font-size:.9rem;max-width:68ch}
.incident li time{color:var(--muted);font-size:.82rem;padding-top:.08rem}
.incident .tag{font-weight:600;color:var(--down)}
.incident.degraded .tag{color:var(--warn)}.incident.resolved .tag{color:var(--muted)}

/* --- the board: a row per check, each with its hours (or days) as cells ------------------------------------------ */
.board{overflow:hidden}
.board-head{display:flex;align-items:center;gap:1rem 1.5rem;flex-wrap:wrap;padding:1.1rem 1.35rem;border-bottom:1px solid var(--line-2)}
.board-head h1{margin-right:auto}
.legend{display:flex;gap:.9rem;list-style:none;margin:0;padding:0;font-size:.8rem;color:var(--muted)}
.legend li{display:flex;align-items:center;gap:.35rem;white-space:nowrap}
.legend .c{width:.6rem;height:.6rem;border-radius:2px}
.c.o,.cell.o{background:var(--live)}.c.d,.cell.d{background:var(--warn)}.c.x,.cell.x{background:var(--down)}
.c.n,.cell.n{background:var(--none)}
.pager{display:flex;align-items:center;gap:.5rem}
.range{font-size:.82rem;color:var(--ink-2);min-width:8.5rem;text-align:center}
.rows{list-style:none;margin:0;padding:0}
.row{padding:1rem 1.35rem 1.05rem;border-bottom:1px solid var(--line-2)}.row:last-child{border-bottom:0}
.row-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem 1rem;justify-content:space-between}
.row-head h2{white-space:nowrap}
.row .about{font-size:.82rem;color:var(--muted);margin:.15rem 0 .7rem;max-width:62ch}
.row .last{font-size:.78rem;color:var(--muted);white-space:nowrap}
.row .state{font-size:.8rem;font-weight:600;margin-left:.5rem}
.row .state.o{color:var(--live)}.row .state.d{color:var(--warn)}.row .state.x{color:var(--down)}.row .state.n{color:var(--muted)}
.bar{display:grid;grid-template-columns:repeat(14,1fr);gap:3px;height:30px;touch-action:manipulation}
.day{display:grid;grid-template-columns:repeat(24,1fr);gap:1px;min-width:0}
.cell{border-radius:1.5px;min-width:0;cursor:default}
.cell.f{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}
.cell:hover,.cell.on{filter:brightness(.82)}
.axis{display:grid;grid-template-columns:repeat(14,1fr);gap:3px;margin-top:.35rem;font-size:.7rem;color:var(--muted)}
.axis span{text-align:center;white-space:nowrap;overflow:hidden}
.foot{display:flex;justify-content:flex-end;margin-top:.25rem;font-size:.8rem;color:var(--ink-2)}
.loading .bar{background:var(--line-2);border-radius:4px}

/* narrow screens: a cell per day, labels every other day */
.bar.days .day{display:flex}.bar.days .cell{flex:1;border-radius:3px}
@media (max-width:40rem){
.board-head{padding:1rem}.row{padding:.9rem 1rem}
.legend{order:3;width:100%;gap:.75rem}
.legend{gap:.6rem .75rem;flex-wrap:wrap}
.headline{font-size:1.3rem}
}

.tip{position:fixed;z-index:10;pointer-events:none;max-width:16rem;padding:.5rem .65rem;font-size:.8rem;line-height:1.4;
background:#17161c;color:#f4f2f8;border-radius:var(--r-control);box-shadow:0 6px 20px -6px rgb(23 22 28/.45)}
.tip b{font-weight:600}.tip .s{display:flex;align-items:center;gap:.35rem}.tip .s i{width:.55rem;height:.55rem;border-radius:2px}
.tip .m{color:#bdb8c9}

.method{max-width:68ch;margin:1rem .2rem 2rem}
.ask{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;padding:1.15rem 1.35rem;flex-wrap:wrap}
.ask p{margin:.2rem 0 0}

footer.site{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 2rem;border-top:1px solid var(--line);
padding:1.75rem 0 2rem;color:var(--muted);font-size:.86rem}
footer.site .mark{display:inline-flex;align-items:center;gap:.45rem;color:var(--ink);font-weight:700;text-decoration:none}
footer.site nav{display:flex;gap:1.25rem;flex-wrap:wrap}
footer.site nav a{color:var(--muted);text-decoration:none}footer.site nav a:hover{color:var(--ink)}
footer.site .corp{margin:0 0 0 auto;font-size:.8rem}
@media (max-width:40rem){footer.site .corp{margin:0;width:100%}}
