/* Remuvl ops: the same look as the office skin (indigo menu that folds to icons, white cards, pastel numbers). */
:root {
  --ink: #1e2235; --ink2: #5b6078; --mute: #8d92a8; --line: #e8e9f1; --line2: #f0f1f6;
  --bg: #f4f5fa; --card: #fff; --deep: #2a2d6e; --pri: #5b5bd6; --pri-d: #4747c2; --pri-bg: #ecebfd;
  --green: #12a150; --green-bg: #e3f6ec; --amber: #c27c0e; --amber-bg: #fdf3e1; --red: #e5484d; --red-bg: #fdecee; --grey: #9aa0b4; --grey-bg: #f0f1f6;
  --r: 12px; --sh: 0 1px 2px rgba(30,34,53,.04), 0 2px 10px rgba(30,34,53,.05);
  --f: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --navw: 240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 var(--f); background: var(--bg); color: var(--ink); }
a { color: var(--pri-d); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: var(--mute); } .small { font-size: 12.5px; }

/* shell */
.shell { display: grid; grid-template-columns: var(--navw) 1fr; min-height: 100vh; transition: grid-template-columns .2s; }
.nav { position: sticky; top: 0; height: 100vh; background: var(--deep); color: #c9cbf2; display: flex; flex-direction: column; overflow-y: auto; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 16px 18px; min-height: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mk { width: 34px; height: 34px; border-radius: 9px; background: #a5a6ff; color: var(--deep); display: grid; place-items: center; font-weight: 800; flex: none; }
.brand b { font-size: 16px; color: #fff; white-space: nowrap; } .brand em { font-style: normal; color: #a5a6ff; font-weight: 500; }
.nav nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; flex: 1; }
.nav nav a, .me { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: #c9cbf2; font-weight: 500; white-space: nowrap; }
.nav nav a:hover, .me:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.nav nav a.on { background: rgba(255,255,255,.13); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 #a5a6ff; }
.nav nav a.soon { opacity: .55; cursor: default; } .nav nav a.soon i { font-style: normal; font-size: 10.5px; background: rgba(255,255,255,.12); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.gh { color: #8f92c9; font: 600 10.5px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; padding: 16px 12px 6px; }
.me { margin: 10px 12px 16px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0; padding-top: 14px; }
.navx { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
body.mini { --navw: 76px; }
body.mini .nav nav a span, body.mini .brand b, body.mini .me span, body.mini .gh { display: none; }
body.mini .nav nav a, body.mini .me { justify-content: center; padding: 10px 0; } body.mini .brand { justify-content: center; padding: 16px 0; }

main { min-width: 0; }
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 12px 24px; min-height: 64px; }
.top h1 { margin: 0; font-size: 19px; letter-spacing: -.01em; } .crumb { color: var(--mute); font-size: 12px; }
.top .tr { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.fold { background: none; border: 1px solid var(--line); border-radius: 9px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink2); cursor: pointer; }
.view { padding: 22px 24px 60px; max-width: 1400px; }

/* bits */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 13px/1 var(--f); padding: 10px 14px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: #cfd2e2; }
.btn.pri { background: var(--pri); border-color: var(--pri); color: #fff; } .btn.pri:hover { background: var(--pri-d); }
.btn.danger { color: var(--red); border-color: #f5c2c4; } .btn.danger:hover { background: var(--red-bg); }
.btn[disabled] { opacity: .6; cursor: wait; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.card h2 { margin: -18px -20px 14px; padding: 14px 20px; border-bottom: 1px solid var(--line2); font-size: 15px; display: flex; align-items: center; gap: 10px; position: relative; }
.card h2::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pri); }
.card h2 small { color: var(--mute); font-weight: 500; font-size: 12px; } .card h2 a { margin-left: auto; font-size: 12.5px; font-weight: 600; }
.card h3 { font-size: 13px; margin: 18px 0 8px; }
.card.narrow { max-width: 620px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 18px; } .grid2 > .card { margin-bottom: 0; } .grid2 { margin-bottom: 18px; }
.empty { color: var(--mute); text-align: center; padding: 18px 0; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border-top: 3px solid var(--pri); }
.kpi small { color: var(--ink2); font-weight: 600; } .kpi b { font-size: 26px; letter-spacing: -.02em; } .kpi span { color: var(--mute); font-size: 12.5px; }
.kpi.green { border-top-color: var(--green); } .kpi.amber { border-top-color: var(--amber); } .kpi.red { border-top-color: var(--red); background: var(--red-bg); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--grey-bg); color: var(--ink2); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--grey); }
.pill.green { background: var(--green-bg); color: #0b7a3b; } .pill.green i { background: var(--green); }
.pill.amber { background: var(--amber-bg); color: #8a5806; } .pill.amber i { background: var(--amber); }
.pill.red { background: var(--red-bg); color: #b4282d; } .pill.red i { background: var(--red); }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tile { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: var(--pri); }
.tile i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); grid-row: span 2; }
.tile small { color: var(--mute); grid-column: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.green i { background: var(--green); } .tile.amber { background: var(--amber-bg); } .tile.amber i { background: var(--amber); } .tile.red { background: var(--red-bg); border-color: #f5c2c4; } .tile.red i { background: var(--red); }
.srv { padding: 6px 0 14px; } .srv + .srv { border-top: 1px solid var(--line2); padding-top: 14px; }
.bars { display: grid; gap: 8px; margin: 12px 0; }
.bar { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink2); }
.bar div { height: 8px; background: var(--line2); border-radius: 99px; overflow: hidden; } .bar div i { display: block; height: 100%; background: var(--pri); border-radius: 99px; }
.bar div i.amber { background: var(--amber); } .bar div i.red { background: var(--red); } .bar b { text-align: right; }
.ev { list-style: none; margin: 0; padding: 0; }
.ev li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.ev li:last-child { border-bottom: 0; }
.ev li > i { width: 8px; height: 8px; border-radius: 50%; background: var(--pri); margin-top: 6px; }
.ev li.green > i { background: var(--green); } .ev li.amber > i { background: var(--amber); } .ev li.red > i { background: var(--red); }
.ev b { font-weight: 600; display: block; } .ev small { color: var(--mute); } .ev pre { margin: 6px 0; white-space: pre-wrap; word-break: break-word; background: var(--bg); padding: 8px 10px; border-radius: 8px; max-height: 140px; overflow: auto; }
pre.log { white-space: pre-wrap; word-break: break-word; background: #1e2235; color: #e3e5f5; padding: 12px 14px; border-radius: 10px; max-height: 260px; overflow: auto; }
.tw { overflow-x: auto; margin: -4px -20px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); font-weight: 600; padding: 8px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 20px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
tr:hover td { background: #fafafe; }
dl.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0; } dl.kv dt { color: var(--mute); } dl.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
dl.kv dd svg { width: 13px; height: 13px; vertical-align: -1px; }
.why { margin: 0 0 14px; padding-left: 18px; } .why li { margin: 3px 0; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line2); }
form.inl { display: inline; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; margin-bottom: 14px; }
input, select, textarea { font: 14px var(--f); padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); width: 100%; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pri-bg); border-color: var(--pri); }
.pre { display: flex; align-items: center; } .pre input { border-radius: 9px 0 0 9px; } .pre em { font-style: normal; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-left: 0; border-radius: 0 9px 9px 0; color: var(--ink2); font-weight: 500; }
label small { font-weight: 400; }
.flash { border-radius: var(--r); padding: 14px 18px; margin: 0 0 18px; background: var(--green-bg); border: 1px solid #bfe6cf; }
.flash.bad { background: var(--red-bg); border-color: #f5c2c4; white-space: pre-wrap; }
.once { margin-top: 10px; background: #fff; border-radius: 10px; padding: 12px 14px; } .once p { margin: 0 0 8px; }
.once dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin: 0; } .once dd { margin: 0; overflow-wrap: anywhere; } .once code { font-size: 14px; background: var(--pri-bg); padding: 2px 6px; border-radius: 6px; }
.warn { color: #8a5806; margin-top: 10px !important; }

/* sign in */
body.login { display: grid; place-items: center; min-height: 100vh; padding: 16px; background: var(--deep); }
.card.lg { width: 100%; max-width: 400px; padding: 26px; }
.card.lg .brand { border: 0; padding: 0 0 18px; min-height: 0; } .card.lg .brand b { color: var(--ink); }
.card.lg .btn { width: 100%; justify-content: center; padding: 12px; }
#qr { display: grid; place-items: center; padding: 12px; } #qr img, #qr canvas { width: 180px; height: 180px; }

/* phones */
.scrim { display: none; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .nav { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; transform: translateX(-100%); transition: transform .2s; }
  body.open .nav { transform: none; } body.open .scrim { display: block; position: fixed; inset: 0; background: rgba(20,22,40,.45); z-index: 25; }
  .navx { display: block; }
  body.mini { --navw: 240px; }
  .top { padding: 10px 16px; gap: 10px; } .top h1 { font-size: 17px; } .crumb { display: none; }
  .top .tr .ghost { display: none; }
  .view { padding: 16px 16px 60px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .kpi { padding: 12px 14px; } .kpi b { font-size: 22px; }
  dl.kv { grid-template-columns: 1fr; gap: 2px; } dl.kv dd { margin-bottom: 8px; }
  .bar { grid-template-columns: 90px 1fr 40px; }
  .tw { margin: -4px -20px; }
}

/* their web address */
.how summary { cursor: pointer; font-weight: 600; margin: 4px 0 12px; }
.grid2.tight { gap: 14px; margin: 0 0 8px; } .grid2.tight > div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.grid2.tight h3 { margin: 0 0 2px; }
table.dns { width: 100%; font-size: 13px; margin: 8px 0; } table.dns th, table.dns td { padding: 6px 8px; } table.dns code { background: #fff; padding: 2px 6px; border-radius: 6px; }
form.dom { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; } form.dom label { flex: 1 1 280px; margin: 0; }

/* feedback */
.nav nav a .nb { margin-left: auto; background: #fde9b8; color: #5a3c00; font-size: 11px; line-height: 18px; min-width: 18px; text-align: center; border-radius: 9px; padding: 0 5px; }
body.mini .nav nav a .nb { display: none; }
article.fb { border: 1px solid var(--line); border-left: 4px solid var(--pri); border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; }
article.fb.done, article.fb.wont { opacity: .65; border-left-color: var(--green); }
article.fb.new { border-left-color: var(--amber); background: #fffdf7; }
.fb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fb-st { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--grey-bg); padding: 3px 9px; border-radius: 99px; }
.fb-text { font-size: 15px; margin: 10px 0; }
.fb-shot { max-width: 100%; max-height: 360px; border: 1px solid var(--line); border-radius: 8px; margin: 0 0 10px; display: block; }
.fb-ctx { font-size: 12.5px; margin: 6px 0 10px; } .fb-ctx pre { margin: 0; }
.fb-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .fb-act input { flex: 1 1 220px; }
