/* ==========================================================================
   Bot Control Panel — layout shell reproduces the Chrome settings window:
   a 266px sidebar, a centered 680px column and empty spacers that keep the
   column aligned with the search field. Component styles follow Google's
   Material 3 look (outlined fields, pill buttons, switches, chips).
   Wide data tables scroll horizontally inside their card.
   ========================================================================== */

:root {
  color-scheme: light;
  font: 13px/20.02px "Segoe UI", Tahoma, sans-serif;
  color: #1f1f1f;

  --text: #1f1f1f;
  --text-secondary: #444746;
  --line: #747775;          /* field outline */
  --divider: #e3e3e3;       /* row separator */
  --hover: rgba(31, 31, 31, .06);
  --primary: #0b57d0;
  --primary-hover: #0842a0;
  --primary-soft: #e8f0fe;
  --primary-soft-text: #1967d2;
  --surface-2: #f0f4f9;     /* tile background */
  --row: #f8f9fa;
  --ok-bg: #e6f4ea;   --ok-text: #146c2e;
  --warn-bg: #fef7e0; --warn-text: #8f4c00;
  --err-bg: #fce8e6;  --err-text: #b3261e;
  --info-bg: #e8f0fe; --info-text: #1967d2;
  --shadow: 0 1px 2px #0000004d, 0 2px 6px 2px #00000026;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.mono { font-family: "Cascadia Mono", Consolas, "Segoe UI Mono", monospace; font-size: 12.5px; }
.muted { color: var(--text-secondary); }
code { padding: 1px 5px; border-radius: 4px; background: var(--surface-2); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ------------------------------- Toolbar -------------------------------- */

.toolbar { display: flex; align-items: center; flex-shrink: 0; height: 56px; color: #202124; }
.brand, .sidebar { flex: 1 1 0; min-width: 266px; }
.brand { display: flex; align-items: center; box-sizing: border-box; padding-left: 21px; }
.brand img { margin-right: 16px; }
h1 { margin: 0 0 0 6px; font-size: 22.1px; font-weight: 500; line-height: normal; letter-spacing: .25px; }
.search-area, main { flex: 1 1 calc(680px / .96); min-width: 0; }
.search-area { display: flex; justify-content: center; }
.toolbar::after, .layout::after { content: ""; flex: 1 1 0; }

.search { display: flex; align-items: center; width: 680px; height: 36px; padding: 0 6px; border-radius: 100px; background: #eceff7; }
.search .icon { margin: 0 4px; }
.search input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 500; line-height: 1.85; appearance: none; -webkit-font-smoothing: antialiased; }
.search input::placeholder { color: #1f1f1f; opacity: 1; }
.search:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.search input:focus-visible { outline: none; }

.layout { display: flex; flex: 1; overflow: auto; scrollbar-gutter: stable; }

/* ------------------------------- Sidebar -------------------------------- */

/* Icons are original SVGs in one sprite; --icon selects a 20px-high row. */
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; background: url("assets/icons.svg") no-repeat 0 calc(var(--icon) * -20px); }

.sidebar { position: sticky; top: 0; height: 100%; }
nav { width: 266px; box-sizing: border-box; padding: 8px 0 5px; max-height: 100%; overflow: auto; }
.nav-item {
  display: flex; align-items: center;
  width: 263px; height: 40px; margin: 0 2px 0 1px; padding: 10px 16px 10px 23px;
  border: 0; border-radius: 0 100px 100px 0;
  background: transparent; color: #202124; text-align: left;
  font-size: 14px; font-weight: 500; line-height: 14px;
}
.nav-item > .icon:first-child { margin-right: 20px; }
.nav-item:hover { background: #e8eaed; }
.nav-item.active { background: var(--primary-soft); color: var(--primary-soft-text); }

/* ------------------------------- Content -------------------------------- */

.content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 96%;
  max-width: 680px;
  min-width: 550px;
  margin: 0 auto;
  padding-bottom: 24px;
}
/* The [hidden] attribute must win over display:flex above. */
.content[hidden] { display: none; }

h2 { margin: 21px 0 0; padding: 8px 0 4px; font-size: 14.04px; font-weight: 400; letter-spacing: .25px; }

.card { border-radius: 8px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }

.card-head {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px;
  border-bottom: 1px solid var(--divider);
}
.card-head h3 { margin: 0; flex: 1; font-size: 16px; font-weight: 500; letter-spacing: .25px; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid var(--divider);
}
.card-foot-end { justify-content: flex-end; }
/* The last control of a card foot is flush right, always. The status line is
   the first child and collapses when empty (`:empty` → display:none), so in a
   space-between row it left the button as the only item and slid it to the left
   edge; the auto margin keeps it on the right whether the line has text or
   not. */
.card-foot > .btn:last-child { margin-left: auto; }

/* Hero (banner + promo), as on the Chrome settings landing page. */
.banner { padding-top: 17.6471%; background: url("assets/banner.svg") left top / 100% auto no-repeat; }
.promo { display: flex; align-items: center; padding: 0 20px; }
.promo-copy { flex: 1; padding: 12px 0; }
h3 { margin: 4px 0; font-size: 16px; font-weight: 500; letter-spacing: .25px; }
p { margin: 0; color: var(--text-secondary); }

/* ------------------------------- Buttons -------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 100px;
  background: transparent; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outlined { border-color: #747775; color: var(--primary); }
.btn-outlined:hover { background: rgba(11, 87, 208, .08); }
.btn-text { color: var(--primary); padding: 0 16px; }
.btn-text:hover { background: rgba(11, 87, 208, .08); }
/* Small button, used inside table rows where a 40px control is too tall. */
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* Round icon-only button, used for table row actions and the dialog close. */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary);
}
.icon-btn:hover { background: var(--hover); }
.icon-btn .arrow { --icon: 17; margin: 0; }

/* Full-width list row with a trailing chevron. */
.row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 12px 20px;
  border: 0; border-top: 1px solid var(--divider); background: #fff;
  text-align: left; font-size: 14px;
}
.card > .row:first-child, .card > .card-head + .row { border-top: 0; }
.row:hover { background: var(--row); }
.arrow { --icon: 17; margin-left: auto; margin-right: -2px; }

/* ---------------------------- Stat tiles -------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; }
.tile + .tile { border-left: 1px solid var(--divider); }
/* The label reserves two lines (16px x 2) so a tile whose label wraps and a
   tile whose label fits put their numbers on the same baseline. Without it
   "DOWNLOADS SENT" takes two lines and pushes its value 16px lower than
   "ONLINE" next to it. The reserve is a height, not white-space: nowrap,
   because clipping the label to "DOWNLOA..." would read worse than wrapping. */
.tile-label { font-size: 12px; font-weight: 500; line-height: 16px; min-height: 32px; letter-spacing: .4px; color: var(--text-secondary); text-transform: uppercase; }
.tile-value { font-size: 24px; font-weight: 500; letter-spacing: .25px; }

/* ------------------------------- Feed ----------------------------------- */

.feed { margin: 0; padding: 0; list-style: none; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 14px; }
.feed li + li { border-top: 1px solid var(--divider); }
.feed-time { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.feed-text { flex: 1; }
.feed-text b { font-weight: 500; }
/* One command can carry two actions (Download & Run), so the badges sit in a
   tight row of their own instead of inheriting the row's 12px gap. */
.feed-badges { display: inline-flex; gap: 6px; flex-shrink: 0; }

/* ------------------------------- Badges --------------------------------- */

.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 100px; background: var(--surface-2); color: var(--text-secondary);
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.badge-ok { background: var(--ok-bg); color: var(--ok-text); }
.badge-warn { background: var(--warn-bg); color: var(--warn-text); }
.badge-error { background: var(--err-bg); color: var(--err-text); }
.badge-info { background: var(--info-bg); color: var(--info-text); }
.badge-live { background: var(--info-bg); color: var(--info-text); }

/* ------------------------------- Fields --------------------------------- */
/* Material 3 outlined text field with a floating label. The label floats on
   :placeholder-shown, so only inputs inside .field need placeholder=" ". */

.field { position: relative; display: block; }
.field input, .field textarea {
  display: block; width: 100%;
  min-height: 56px; padding: 16px 16px 8px;
  border: 1px solid var(--line); border-radius: 4px;
  background: transparent; font-size: 16px; line-height: 24px;
}
/* A template is edited across lines, so the field grows downwards and keeps
   its own monospace look: the placeholders are easier to spot that way. */
.field textarea {
  resize: vertical; padding-top: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 20px;
}
.field input:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  outline: none;
}
.field > span {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  padding: 0 4px; background: #fff; color: var(--text-secondary);
  font-size: 16px; pointer-events: none;
  transition: top .12s ease, font-size .12s ease;
}
/* A textarea is tall from the start, so its label starts near the top edge
   and floats there permanently once the box is focused or filled. */
.field textarea + span { top: 22px; }
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  top: 0; font-size: 12px;
}
.field input:focus + span, .field textarea:focus + span { color: var(--primary); }

/* A select always holds a value, so its label stays floated. */
.field select {
  display: block; width: 100%; min-height: 56px; padding: 16px 44px 8px 16px;
  border: 1px solid var(--line); border-radius: 4px;
  background-color: transparent; font-size: 16px; line-height: 24px;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444746'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
.field select:hover { border-color: var(--text); }
.field select:focus {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  outline: none;
}
.field-select > span { top: 0; font-size: 12px; }
.field-select select:focus + span { color: var(--primary); }

.field-compact input { min-height: 48px; padding: 12px 16px 6px; }
.field-compact > span { font-size: 14px; }
.field-compact input:focus + span,
.field-compact input:not(:placeholder-shown) + span { font-size: 12px; }
/* The compact select keeps the 48px height of the search field it sits next
   to, and its label is always floated, so it stays at 12px. */
.field-compact select { min-height: 48px; padding: 12px 44px 6px 16px; font-size: 14px; }
.field-compact.field-select > span { top: 0; font-size: 12px; }

.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .4px; color: var(--text-secondary); text-transform: uppercase; }
.field-hint { margin: 6px 0 0; font-size: 12px; line-height: 16px; color: var(--text-secondary); }

/* ----------------------------- Sign-in prompt --------------------------- */
/* A browser-style prompt: the card drops from the top edge over a light scrim
   instead of a black screen, so the panel stays readable behind it. The scrim
   still takes every click, because there is nothing usable until the JWT
   arrives. Wording and shape follow Chrome's HTTP-auth bubble. */

#panel-login {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 10px 16px;
  background: rgba(32, 33, 36, .35);
}
/* The rule above is more specific than the UA's [hidden] { display: none }, so
   the attribute needs its own rule or a signed-in load would paint the scrim
   for a frame before the script hides it. */
#panel-login[hidden] { display: none; }

.auth-bubble {
  width: 352px; max-width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 20px 20px;
  border-radius: 12px; background: #fff;
  box-shadow: 0 1px 3px #0000004d, 0 8px 24px 6px #00000026;
  animation: auth-drop .16s ease-out;
}
@keyframes auth-drop {
  from { opacity: 0; transform: translateY(-16px); }
}

.auth-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 2px; }
.auth-glyph {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%; background: var(--primary-soft);
}
.auth-glyph svg { width: 20px; height: 20px; fill: var(--primary); }
.auth-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.auth-title { font-size: 16px; font-weight: 500; line-height: 22px; }
.auth-sub { font-size: 13px; line-height: 18px; color: var(--text-secondary); overflow-wrap: anywhere; }
.auth-sub b { font-weight: 500; color: var(--text); }

/* The status keeps its line even when empty, so the bubble does not resize
   between "Signing in…", an error and nothing. */
.auth-status {
  min-height: 16px; margin: 0;
  font-size: 12px; line-height: 16px; color: var(--text-secondary);
}
.auth-status.status-error { color: var(--err-text); }
.auth-actions { display: flex; justify-content: flex-end; margin-top: -4px; }

/* ------------------------------ Settings -------------------------------- */
/* A named setting inside a card: a title and one sentence on the left, the
   control on the right. Settings that need a whole row (a chip group) use
   .setting-stack so the control sits under the description instead of being
   squeezed into a column half its width. */

.setting {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; border-top: 1px solid var(--divider);
}
.card-head + .setting { border-top: 0; }
.setting-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.setting-stack { flex-direction: column; align-items: stretch; gap: 10px; }
.setting-control { display: flex; flex-direction: column; gap: 2px; }
.setting-title { font-size: 14px; font-weight: 500; }
.setting-desc { font-size: 12px; line-height: 16px; color: var(--text-secondary); }

/* The rendered template, shown under the editor. Whitespace matters here: the
   operator is checking line breaks as much as the words. */
.tg-preview {
  margin: 8px 0 0; padding: 12px 14px;
  background: var(--row); border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 18px; color: var(--text);
  white-space: pre-wrap; overflow-wrap: anywhere;
}

/* A country filter with a flag on every row. A native <select> can only hold
   text, so the panel draws its own listbox: the button copies the look of the
   selects next to it, and the menu is position: fixed because .card clips its
   overflow and would cut a menu laid out inside it. */
.flag-select-btn {
  display: flex; align-items: center; width: 100%;
  min-height: 56px; padding: 16px 44px 8px 16px;
  border: 1px solid var(--line); border-radius: 4px;
  background-color: transparent; color: var(--text);
  font-size: 16px; line-height: 24px; text-align: left; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444746'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
.flag-select-btn:hover { border-color: var(--text); }
.flag-select-btn:focus-visible {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
  outline: none;
}
.flag-select-text { display: flex; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag-select-label { overflow: hidden; text-overflow: ellipsis; }

.flag-select-menu {
  position: fixed; z-index: 60; margin: 0; padding: 4px;
  max-height: 288px; overflow-y: auto;
  border-radius: 4px; background: #fff; list-style: none;
  box-shadow: 0 2px 6px 2px #00000026, 0 1px 2px #0000004d;
}
.flag-select-menu[hidden] { display: none; }
.flag-select-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 4px;
  font-size: 14px; white-space: nowrap; cursor: pointer;
}
.flag-select-option.is-active { background: var(--hover); }
.flag-select-option[aria-selected="true"] { color: var(--primary-soft-text); font-weight: 500; }
.flag-select-option:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

/* Inside a filter control the flag sits against the text, so it drops the
   margin it carries in the table cells. */
.flag-select .flag { margin-left: 0; }
.flag-select-text .flag { margin-right: 8px; }
.flag-select-option .flag { flex-shrink: 0; }
.flag-select-option > span { overflow: hidden; text-overflow: ellipsis; }

/* The compact variant lines up with the 48px search field it sits next to. */
.field-compact .flag-select-btn { min-height: 48px; padding: 12px 44px 6px 16px; font-size: 14px; }

/* Run delay in the Loader. Chrome paints a range input natively, so
   accent-color gives the filled track and the ringed thumb without a
   hand-painted ::-webkit-slider-thumb, which would drop the fill because no
   pure-CSS selector knows the current value. */
input[type="range"].range {
  flex: 1; min-width: 0;
  height: 40px;            /* thin track, generous hit area */
  margin: 0; padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
input[type="range"].range:hover:not(:disabled) { accent-color: var(--primary-hover); }
input[type="range"].range:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 999px;
}
input[type="range"].range:disabled { opacity: .6; cursor: not-allowed; }

.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range-label { font-size: 14px; font-weight: 500; }
.range-value { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.range-body { display: flex; align-items: center; gap: 12px; }
.range-end {
  font-size: 12px; color: var(--text-secondary);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .full > .field-label { margin-bottom: 8px; }

/* The Loader target blocks are a stack: the control, the state line under it,
   then the queue indicator. Spacing is explicit instead of coming from
   .field-hint's own margin, so a hint that wraps to two lines can never look
   like it fell inside the control or ran under its label. */
#loader-target-one, #loader-target-online, #loader-target-country, #loader-target-new {
  display: flex; flex-direction: column; gap: 8px;
}
/* An author display value beats the [hidden] attribute's UA rule, which would
   leave every inactive target visible at once. The panel already guards .btn
   the same way. */
#loader-target-one[hidden], #loader-target-online[hidden],
#loader-target-country[hidden], #loader-target-new[hidden] { display: none; }
#loader-target-one > .field-hint,
#loader-target-online > .field-hint,
#loader-target-country > .field-hint,
#loader-target-new > .field-hint { margin: 0; }
/* An empty hint is not a gap: it is nothing at all. */
#loader-country-hint:empty { display: none; }
#loader-target-country .queue-link, #loader-target-new .queue-link { margin-top: 0; align-self: flex-start; }
/* The country picker's label floats 10px above the control's top edge, so the
   stack's 8px gap would tuck the pill under it. The extra margin keeps the
   queue state clear of the label. */
#loader-target-country #loader-country { margin-top: 8px; }

/* Result line of the build generator. */
.status-line { flex: 1; font-size: 12px; line-height: 16px; color: var(--text-secondary); overflow-wrap: anywhere; }
.status-line:empty { display: none; }
.status-ok { color: var(--ok-text); }
.status-error { color: var(--err-text); }
.status-pending { color: var(--text-secondary); }

.btn:disabled { opacity: .55; cursor: default; }
.btn-primary:disabled:hover { background: var(--primary); }
.btn-text:disabled:hover { background: transparent; }

/* Segmented button. */
.segmented { display: inline-flex; flex-shrink: 0; flex-wrap: wrap; }
.seg {
  height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-left-width: 0;
  background: transparent; color: var(--text);
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.seg:first-child { border-left-width: 1px; border-radius: 100px 0 0 100px; padding-left: 20px; }
.seg:last-child { border-radius: 0 100px 100px 0; padding-right: 20px; }
.seg:hover { background: var(--hover); }
.seg[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-soft-text); }
.seg[aria-pressed="true"] + .seg { border-left-color: var(--primary); }

/* Filter chips. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: transparent; font-size: 13px; font-weight: 500;
}
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] { background: var(--primary-soft); border-color: transparent; color: var(--primary-soft-text); }

/* Bots filter row: search and build filter share the first line, the status
   chips take a line of their own so they never squeeze the fields. */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 20px; }
.filters .field { flex: 1 1 200px; min-width: 180px; }
.filters .chips { flex: 1 1 100%; }

/* Row actions: the text button and the icon button stay on one line, right
   aligned like the rest of the last column. The row variant is tighter than
   the standalone button, because the column is the narrowest in the table. */
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.row-actions .btn-sm { padding: 0 10px; }
.row-actions .icon-btn { width: 28px; height: 28px; }

/* Analytics filter bar. */
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding: 16px 20px; }
.filter-period { flex: 0 0 auto; }
.filter-bar .field-select { flex: 1 1 150px; min-width: 140px; }

/* Tab panels inside the Breakdown card. */
.tabpanel[hidden] { display: none; }

/* ------------------------------- Tables --------------------------------- */

/* position: relative matters here. Without it the absolutely positioned
   .sr-only label in the last header cell has no positioned ancestor inside the
   table, so a table wider than the viewport lets it escape and stretch the
   whole page instead of just this scroll container. */
.table-wrap { position: relative; width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
th, td { padding: 12px 16px; text-align: left; white-space: nowrap; }
th {
  background: var(--row); border-bottom: 1px solid var(--divider);
  color: var(--text-secondary); font-size: 12px; font-weight: 500;
  letter-spacing: .4px; text-transform: uppercase;
}
td { border-bottom: 1px solid var(--divider); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--row); }
td:last-child, th:last-child { text-align: right; }

/* Bot origin metrics carries 8 columns and is sized to fit the 680px column
   without horizontal scrolling, so its first column does not need to stick. */
.table-origin th, .table-origin td { padding: 10px 5px; font-size: 12.5px; }
/* No letter spacing here: the headers are what keep the short columns
   (Country, OS) wide, and dropping it makes all 8 columns fit. "Build key"
   is the longest header and still fits the 680px column. */
.table-origin th { letter-spacing: 0; }
.table-origin th:first-child, .table-origin td:first-child { padding-left: 16px; }
.table-origin th:last-child, .table-origin td:last-child { padding-right: 16px; text-align: left; }
/* Country now prints a country name, not a two-letter code, and cells are
   nowrap with no ellipsis, so 44px is a floor rather than a cap: auto table
   layout widens the column to fit the longest name, and .table-wrap scrolls
   if that gets too wide. A known trade-off, kept narrow so the other seven
   columns have room. Bot needs room for a full id plus the rename pencil. */
.table-origin th:nth-child(1), .table-origin td:nth-child(1) { width: 112px; }
.table-origin th:nth-child(2), .table-origin td:nth-child(2) { width: 44px; }

/* The Bots table lost its wide columns (hash, build key, source, version,
   country) and kept Bot on the left and Actions on the right, so it fits the
   680px column: tight cell padding and no letter-spacing on the headers are
   what make the eight remaining columns fit. */
.table-bots th, .table-bots td { padding: 10px 5px; }
.table-bots th { letter-spacing: 0; }
.table-bots th:first-child, .table-bots td:first-child { padding-left: 14px; }
.table-bots th:last-child, .table-bots td:last-child { padding-right: 14px; }
/* Downloads and Executions are counts, so they read right aligned, and their
   width is a share of the table rather than of their own content: the space
   the Actions column gives up goes to them. A percentage is what makes that
   safe — it does not raise the table's own minimum width, because Chrome
   treats it as auto when it works out how narrow the table can get, so a
   narrow card squeezes these two columns first and never scrolls the card
   earlier than it used to. */
.table-bots th:nth-child(6), .table-bots td:nth-child(6),
.table-bots th:nth-child(7), .table-bots td:nth-child(7) { width: 7%; text-align: right; font-variant-numeric: tabular-nums; }
/* The Actions column is the sticky one, and its divider reads as the edge of
   the table. It hugs its two buttons instead of taking a share of the free
   space: given a width, it stretched and left a hole between the divider and
   "To Payload" that grew with the window. */
.table-bots th:last-child, .table-bots td:last-child { width: 1px; padding-left: 0; }
/* The Browser column names the browser by its logo alone: the full name lives
   in the img alt and in its tooltip, which is also what a screen reader
   reads, since there is no text in the cell to say it. */
/* The Browser column names itself with one word and its cells hold one mark,
   so the header and the mark share an axis: centred. Left-aligned, the mark
   sat under the first letter of BROWSER and read as a mistake. */
.table-bots th:nth-child(5), .table-bots td:nth-child(5) { text-align: center; }
.browser-icon { width: 20px; height: 20px; vertical-align: middle; }
/* Downloads and Executions are headed by their icon instead of their name.
   A mark is ~20px where the words were ~70px, and that is what pays for the
   Browser column without widening the table. */
.table-bots th .icon { vertical-align: middle; }
/* "Deleted" is the widest status badge, and the table has no room to spare. */
.table-bots .badge { padding: 0 8px; }
/* The country rides at the end of the IP cell as a flag, so the column that
   used to hold it is gone. The flag is the panel's own SVG, sized to the text
   line; the fallback span shows the country code when that file is missing. */
.flag {
  width: 16px; height: 12px; margin-left: 6px;
  vertical-align: -1px; border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px #0000001f;
}
.flag-unknown {
  width: auto; height: auto; box-shadow: none;
  color: var(--text-secondary); font-size: 12px;
}
/* 10px instead of 16px: the five columns would otherwise need 729px inside a
   680px card, which hid the tail of "Download .exe" behind the wrap's
   horizontal scrollbar. 5 columns x 12px saved puts it back under 680px. */
.table-builds th, .table-builds td { padding: 12px 10px; }
/* The date is printed as "05.11 15:59" and must not wrap on the space, or the
   column widens again and pushes the row actions under the scrollbar. */
.table-builds td:first-child { white-space: nowrap; }

/* Keys table: six columns, the key value is masked so it stays short, and the
   masked value plus its Copy button is the widest cell. Tight padding and no
   letter-spacing are what keep the row inside the card, the same trade-off the
   Bots and Origin tables make. */
.table-keys th, .table-keys td { padding: 10px 6px; font-size: 12.5px; }
.table-keys th { letter-spacing: 0; }
.table-keys th:first-child, .table-keys td:first-child { padding-left: 16px; }
.table-keys th:nth-child(3), .table-keys td:nth-child(3),
.table-keys th:nth-child(4), .table-keys td:nth-child(4) { text-align: center; }
.table-keys td code { font-family: "Cascadia Mono", Consolas, "Segoe UI Mono", monospace; font-size: 12px; }
.table-keys .btn-sm { padding: 0 6px; }
/* Actions hugs its two buttons, and stays pinned to the right edge if a long
   key name ever makes the table wider than the card. */
.table-keys th:last-child, .table-keys td:last-child { width: 1px; padding-left: 0; padding-right: 16px; }

/* Files table: four columns, and the name is the editable label. Same padding
   trade-off as the Keys table so three actions fit next to a long name. */
.table-files th, .table-files td { padding: 10px 6px; font-size: 12.5px; }
.table-files th { letter-spacing: 0; }
.table-files th:first-child, .table-files td:first-child { padding-left: 16px; }
.table-files .btn-sm { padding: 0 6px; }
.table-files th:last-child, .table-files td:last-child { width: 1px; padding-left: 0; padding-right: 16px; }

/* Drop area of the upload card. The native file input is hidden and a button
   opens it: an <input type="file"> cannot be made to look like a .btn, and it
   prints its own "No file chosen" text in the middle of the card. */
.upload-zone {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border: 1px dashed var(--line); border-radius: 8px;
  background: var(--row);
  transition: border-color .12s, background .12s;
}
.upload-zone.is-dragging { border-color: var(--primary); background: var(--primary-soft); }
.upload-hint { font-size: 12px; color: var(--text-secondary); }

/* The Builder's key picker. Each active key is one radio row carrying its name
   and the masked value, the same choice the source offered as cards. */
.key-list { display: flex; flex-direction: column; gap: 8px; }
.key-option {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--divider); border-radius: 8px;
  background: #fff; cursor: pointer;
}
.key-option:hover { background: var(--hover); }
.key-option-on { border-color: var(--primary); background: var(--primary-soft); }
.key-option input { margin: 0; }
.key-option-text { flex: 1; min-width: 0; }
.key-option-name { font-size: 13px; font-weight: 500; color: var(--text); }
.sticky-col th:first-child, .sticky-col td:first-child {
  position: sticky; left: 0; z-index: 1;
  background: #fff; box-shadow: 1px 0 0 var(--divider);
}
.sticky-col thead th:first-child { background: var(--row); z-index: 2; }
.sticky-col tbody tr:hover td:first-child { background: var(--row); }
/* The row actions stay on screen even when the table is wider than the card. */
.sticky-actions th:last-child, .sticky-actions td:last-child {
  position: sticky; right: 0; z-index: 1;
  background: #fff; box-shadow: -1px 0 0 var(--divider);
}
.sticky-actions thead th:last-child { background: var(--row); z-index: 2; }
.sticky-actions tbody tr:hover td:last-child { background: var(--row); }

/* Bots on one address fold into a group: one line above their rows. The cell
   is static on purpose — it is both first and last child, so the sticky Bot
   and sticky Actions rules would otherwise try to pin it to both edges at
   once. It also gives up its padding so the button owns the whole line, which
   is what makes one click or one Tab reach it. The table sizes its last column
   at 1px, which would squeeze this cell into a sliver at the right edge, so
   both the width and the right alignment are taken back here. */
.table-bots tr.bots-group > td.bots-group-cell {
  position: static; z-index: auto; box-shadow: none; padding: 0;
  width: auto; text-align: left; background: var(--row);
}
.table-bots tr.bots-group:hover > td.bots-group-cell { background: var(--surface-2); }
.bots-group-toggle {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 14px; border: 0; background: transparent;
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
}
.bots-group-toggle:hover { background: var(--hover); }
.bots-group-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.bots-group-ip { font-weight: 500; }
.bots-group-meta { color: var(--text-secondary); font-size: 12px; }
/* The chevron points down while the group is open and right while it is shut,
   so the mark says what the next click will do. */
.group-chevron { --icon: 17; transform: rotate(90deg); transition: transform .12s ease; }
.group-chevron-closed { transform: none; }

/* The Dashboard origin table puts every browser of a machine in one cell, so a
   computer with Chrome and Edge is one row with two marks and the two never
   read as two people. */
.cell-browsers { white-space: nowrap; }
.cell-browsers .browser-icon + .browser-icon { margin-left: 4px; }
/* "+2" next to a renamed machine: how many more browsers it runs. */
.cell-bot-count {
  margin-left: 4px; padding: 0 5px; border-radius: 100px;
  background: var(--surface-2); color: var(--text-secondary);
  font-size: 11px; font-variant-numeric: tabular-nums;
}
/* One line under a section heading that explains what a count means. */
.section-note { margin: -4px 0 12px; }

/* Editable name in the origin and files tables: the id (or the stored file
   name) stays the key, the label is what the user sees and edits. The pencil
   appears on hover or keyboard focus. .file-name is the same control on a file
   row, so both tables are edited with the same gesture. */
.bot-name,
.file-name {
  display: inline-flex; align-items: center; gap: 4px;
  max-width: 100%; margin: -4px -6px; padding: 4px 6px;
  border: 0; border-radius: 6px; background: transparent;
  font-family: "Cascadia Mono", Consolas, "Segoe UI Mono", monospace;
  font-size: 12.5px; color: var(--text); text-align: left;
}
.bot-name:hover,
.file-name:hover { background: var(--surface-2); }
.bot-name::after,
.file-name::after {
  content: ""; flex-shrink: 0; width: 14px; height: 14px;
  opacity: 0; transition: opacity .12s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444746'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.bot-name:hover::after, .bot-name:focus-visible::after,
.file-name:hover::after, .file-name:focus-visible::after { opacity: 1; }
.bot-name-text,
.file-name-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A definite width is what keeps a long name from stretching the column: in
   table auto layout a percentage max-width resolves to none, so the cell would
   otherwise grow to the full text. Long names ellipsize and the full value
   stays available in the button's title. */
.cell-bot .bot-name { width: 96px; }
/* A file name is longer than a bot id, so the Files table gets more room; the
   wrap scrolls if a name is longer still. */
.file-name { width: 220px; }

/* The Bot column can be wider than it once was: 112px is the most the eight
   columns can take and still fit the 680px card. A UUID is longer than that,
   so it ellipsizes and the full value stays in the button's title. */
.table-bots .cell-bot .bot-name { width: 112px; }

.bot-name-input,
.file-name-input {
  display: block; width: 100%; min-width: 0;
  margin: -4px 0; padding: 3px 6px;
  border: 1px solid var(--primary); border-radius: 6px; background: #fff;
  font-family: "Cascadia Mono", Consolas, "Segoe UI Mono", monospace;
  font-size: 12.5px;
}

/* -------------------------------- Chart --------------------------------- */

/* The chart carries its own value axis: the gridlines hold the scale, so a bar
   height can be read off the picture instead of hovered for. */
.chart { padding: 20px; }
.chart-note { margin: 0 0 16px; font-size: 12px; line-height: 16px; color: var(--text-secondary); }
.chart-plot { position: relative; height: 180px; padding-left: 40px; }
.chart-grid { position: absolute; inset: 0 0 0 40px; }
.chart-grid-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--divider); }
.chart-grid-base { border-top-color: var(--line); }
.chart-tick {
  position: absolute; right: calc(100% + 8px); transform: translateY(-50%);
  font-size: 11px; color: var(--text-secondary); font-variant-numeric: tabular-nums;
}
.chart-plot .chart-canvas { position: absolute; inset: 0 0 0 40px; }
.chart-svg { display: block; width: 100%; height: 100%; }
/* The series switch in the card head narrows the picture to one metric. */
.chart[data-series="downloads"] .series-executions,
.chart[data-series="executions"] .series-downloads { display: none; }
/* A band marks the busiest window, so the peak the note names is visible. */
.chart-band { fill: var(--surface-2); }
/* The fill sits under the downloads line and fades out at the baseline, so the
   executions line drawn inside it stays readable. */
.chart-area { fill: url(#chart-fill); }
.chart-stop { stop-color: var(--primary); }
.chart-stop-soft { stop-opacity: .24; }
.chart-stop-fade { stop-opacity: 0; }
.chart-line { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-line-alt { stroke: #34a853; }
/* A dot is hollow, so the fill behind it shows through and the line keeps its
   shape; the ring marks the window the busiest-window stat names. */
.chart-dot { fill: #fff; stroke: var(--primary); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-dot-alt { stroke: #34a853; }
.chart-dot-ring { fill: none; stroke: var(--primary); stroke-width: 1.5; opacity: .45; vector-effect: non-scaling-stroke; }
/* One column per bucket, drawn over the picture: it carries the tooltip and
   draws the guide line under the cursor. */
.chart-hits { position: absolute; inset: 0 0 0 40px; }
.chart-hit { position: absolute; top: 0; bottom: 0; }
.chart-hit .chart-guide { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); opacity: 0; }
.chart-hit:hover .chart-guide { opacity: .45; }
.axis { display: flex; gap: 8px; margin-top: 8px; padding-left: 40px; font-size: 11px; color: var(--text-secondary); }
.axis span { flex: 1; text-align: center; }
.legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--text-secondary); }
.key { display: inline-flex; align-items: center; gap: 6px; }
/* The swatch is a piece of line, not a chip: the chart draws lines now. */
.key::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--primary); }
.key-alt::before { background: #34a853; }

/* Totals under the chart: the same numbers the lines add up to. Four columns
   fit the 640px inside the card, and the busiest-window value is set smaller
   because it is a label and a count, not a single number. */
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--divider); }
.chart-stats .stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chart-stats dt { font-size: 12px; font-weight: 500; letter-spacing: .4px; color: var(--text-secondary); text-transform: uppercase; }
.chart-stats dd { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: .25px; font-variant-numeric: tabular-nums; }
.chart-stats .stat-wide dd { font-size: 15px; line-height: 24px; }

/* ---------------------------- Country ranking ---------------------------- */

/* Countries by size of their bot base. The track is scaled to the biggest
   country, so the longest bar always fills the row and the rest read as
   fractions of the leader. */
.rank { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 20px 20px 4px; list-style: none; }
.rank-row {
  display: grid; grid-template-columns: 24px 18px 128px 1fr 56px 44px;
  align-items: center; gap: 12px; font-size: 13px;
}
.rank-index { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.rank-flag { display: flex; align-items: center; }
.rank-flag .flag { margin: 0; }
.rank-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-track { height: 12px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.rank-fill { height: 100%; border-radius: 100px; background: var(--primary); }
.rank-value { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.rank-share { text-align: right; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.rank-note { padding: 12px 20px 20px; margin: 0; }
/* A flag that opens a cell sits before its text instead of after it. */
.cell-country .flag { margin: 0 8px 0 0; }
tr.rank-total td { font-weight: 500; border-top: 1px solid var(--divider); }

/* --------------------------- Feed filters ------------------------------- */

/* The filter row is a row of badges, not of outlined chips: the same height,
   radius, padding, font and palette as the badge next to a row, so a colour
   means the same action in the button and in the list under it. The picked
   badge is ringed in its own colour; dimming the others instead would drop
   their text below the contrast the palette is built for. */
.feed-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--divider); }
.chip.chip-filter {
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 24px; padding: 0 10px; border: 0; border-radius: 100px;
  background: var(--surface-2); color: var(--text-secondary);
  font-size: 12px; font-weight: 500;
}
.chip.chip-filter.chip-ok { background: var(--ok-bg); color: var(--ok-text); }
.chip.chip-filter.chip-info { background: var(--info-bg); color: var(--info-text); }
.chip.chip-filter.chip-error { background: var(--err-bg); color: var(--err-text); }
.chip.chip-filter:hover { filter: brightness(.96); }
.chip.chip-filter[aria-pressed="true"] { box-shadow: 0 0 0 2px currentColor; }
/* .btn is inline-flex, which would beat the hidden attribute on its own. */
.btn[hidden] { display: none; }

/* ------------------------------- Dialog --------------------------------- */

.modal {
  width: min(560px, 92vw); padding: 0;
  border: 0; border-radius: 12px; background: #fff; color: var(--text);
  box-shadow: 0 8px 12px 6px #00000026, 0 4px 4px #00000040;
}
.modal::backdrop { background: rgba(0, 0, 0, .32); }
.modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--divider);
}
.modal-head h3 { margin: 0; flex: 1; font-size: 16px; font-weight: 500; }
.modal-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 10px 16px; border-top: 1px solid var(--divider);
}
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding: 20px 24px; }
.kv-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv-k { font-size: 12px; font-weight: 500; letter-spacing: .4px; color: var(--text-secondary); text-transform: uppercase; }
.kv-v { font-size: 14px; overflow-wrap: anywhere; }

/* The queue card. Same dialog shell as the bot card, with a grouped list in the
   body: a user, the browsers of that user, and the files each is waiting for. */
.modal-wide { width: min(720px, 94vw); }
.queue-note { margin: 0; padding: 16px 24px 0; font-size: 12px; line-height: 16px; color: var(--text-secondary); }
.queue-body { padding: 12px 24px 20px; max-height: min(60vh, 520px); overflow-y: auto; }
.queue-empty { margin: 0; padding: 20px 0; text-align: center; color: var(--text-secondary); }
.queue-user { padding: 14px 0; }
.queue-user + .queue-user { border-top: 1px solid var(--divider); }
.queue-user-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.queue-user-name { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.queue-user-meta { font-size: 12px; color: var(--text-secondary); }
.queue-browser { padding: 8px 0 8px 12px; border-left: 2px solid var(--divider); margin-top: 8px; }
.queue-browser-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; font-size: 12.5px; }
.queue-browser-id { color: var(--text-secondary); }
.queue-browser-seen { color: var(--text-secondary); }
.queue-file { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 3px 0; font-size: 13px; }
.queue-file-name { font-weight: 500; }
.queue-file-url { flex: 1 1 200px; min-width: 0; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-file-age { color: var(--text-secondary); font-size: 12px; white-space: nowrap; }

/* The queue indicators under the two targets that address offline users. */
.queue-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 4px 10px 4px 8px;
  border: 1px solid var(--divider); border-radius: 100px; background: #fff;
  font: inherit; font-size: 12px; line-height: 16px; color: var(--text-secondary);
  cursor: pointer;
}
.queue-link:hover { background: var(--hover); }
.queue-link.has-queue { color: var(--text); border-color: #c8d4e4; background: var(--surface-2); }
.queue-dot { width: 6px; height: 6px; border-radius: 50%; background: #c3c7cc; flex: 0 0 auto; }
.queue-link.has-queue .queue-dot { background: #1a73e8; }

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 980px) {
  .toolbar::after, .layout::after { display: none; }
  .search { width: auto; flex: 1; margin-right: 18px; }
  main { padding: 0 3px; }
}
@media (max-width: 700px) {
  .sidebar { display: none; }
  .brand { flex: 0 0 auto; min-width: 0; padding-right: 20px; }
  .brand img { margin-right: 0; }
  h1 { font-size: 18px; }
  .search-area { flex: 1; }
  .content { min-width: 0; }
  .promo { flex-wrap: wrap; gap: 4px; padding-bottom: 16px; }
  .promo-copy { flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:nth-child(odd) { border-left: 0; }
  .filters { flex-direction: column; align-items: stretch; }
  .card-head { flex-wrap: wrap; }
  .kv { grid-template-columns: 1fr; }
}

/* Mirror scrollbar above the Builds table. The table's own bar is only
   reachable under the last row; this one is a real scroll container of the
   same width, kept in step by script, so the row can be dragged from the top. */
.scroll-top {
  overflow-x: auto;
  overflow-y: hidden;
  height: 12px;
}
.scroll-top > div { height: 1px; }
