:root {
  --bar: #e6e6e6;
  --bar-border: #b5b5b5;
  --accent: #1a3fd1;
  --text: #1d1d1f;
  --muted: #6b6b70;
  --panel: #ffffff;
  --favourite: #e00000;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { display: flex; flex-direction: column; background: #fff; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }

/* ---- top bar ---- */
#topbar {
  display: flex; align-items: stretch; height: 42px; flex: none;
  background: var(--bar); border-bottom: 1px solid var(--bar-border);
}
#title {
  display: flex; flex: none; align-items: center; padding: 0 18px;
  color: var(--accent); font-size: 19px; white-space: nowrap;
}
#topbar .icon {
  width: 46px; border: 0; border-left: 1px solid var(--bar-border);
  background: transparent; font-size: 22px; color: var(--text);
}
#topbar .icon:hover { background: #d8d8d8; }
#genders { display: flex; border: 1px solid var(--bar-border); border-radius: 4px; overflow: hidden; }
.toggle {
  width: 36px; border: 0; border-right: 1px solid var(--bar-border);
  background: #f3f3f3; color: #9aa3c7; font-size: 16px; font-weight: 700;
}
.toggle:last-child { border-right: 0; }
.toggle[aria-pressed="true"] { color: var(--accent); background: #fff; }
.toggle:hover { background: #e4e4e4; }
.toggle[aria-pressed="true"]:hover { background: #f3f3f3; }

#pages { display: flex; flex: none; border-left: 1px solid var(--bar-border); }
#pages button {
  padding: 0 16px; border: 0; border-right: 1px solid var(--bar-border);
  background: transparent; font-size: 16px; color: var(--text);
}
#pages button:hover:not(:disabled) { background: #d8d8d8; }
#pages button.active { background: #fff; font-weight: 600; box-shadow: inset 0 -3px 0 #1d7a3e; }
#pages button:disabled { color: #9a9a9f; }
#picker { position: relative; display: flex; flex: 0 1 430px; min-width: 200px; margin-left: 16px; }
#picker-button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 0 10px;
  border: 1px solid var(--bar-border); border-top: 0; border-bottom: 0;
  background: #fff; font-size: 17px; text-align: left;
}
#picker-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { color: var(--muted); font-size: 13px; }
#picker-panel {
  position: absolute; top: 42px; left: 0; z-index: 20; width: 560px;
  background: var(--panel); border: 1px solid var(--bar-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.filters { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid #e3e3e3; }
.filters input { flex: 1; min-width: 0; }
.filters input, #fav-nsa { font: inherit; font-size: 14px; padding: 4px 6px; }
#competition-list { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
#competition-list li { padding: 5px 10px; font-size: 15px; cursor: pointer; white-space: nowrap; }
#competition-list li:hover, #competition-list li.active { background: #e8edff; }
#competition-list li.selected { font-weight: 600; }
#competition-list .empty { color: var(--muted); cursor: default; }

.spacer { flex: 1; }
#rounds { position: relative; display: flex; flex: none; border-left: 1px solid var(--bar-border); }
#rounds[hidden] { display: none; }
#rounds-button {
  padding: 0 16px; border: 0; background: transparent; font-size: 16px; color: var(--text); white-space: nowrap;
}
#rounds-button:hover { background: #d8d8d8; }
#rounds-panel {
  position: absolute; top: 42px; right: 0; z-index: 20; min-width: 150px; padding: 6px;
  background: var(--panel); border: 1px solid var(--bar-border); box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
#rounds-panel[hidden] { display: none; }
.rounds-actions { display: flex; gap: 4px; padding-bottom: 6px; border-bottom: 1px solid #e3e3e3; }
.rounds-actions button { flex: 1; border: 1px solid #c8c8c8; border-radius: 4px; background: #f3f3f3; font-size: 12px; padding: 2px 6px; }
.rounds-actions button:hover { background: #e4e4e4; }
#rounds-list { list-style: none; margin: 4px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
#rounds-list li { padding: 4px 10px; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer; border-radius: 3px; }
#rounds-list li:hover { background: #e8edff; }
#rounds-list li.off { color: #b8b8c0; font-weight: 400; text-decoration: line-through; }
/* info: symbols and formulas */
#info { position: relative; display: flex; flex: none; border-left: 1px solid var(--bar-border); }
#info-button { width: 46px; border: 0; background: transparent; }
#info-button:hover { background: #d8d8d8; }
.info-icon {
  display: inline-block; width: 20px; height: 20px; border: 2px solid #6b6b70; border-radius: 50%;
  color: #6b6b70; font: italic 700 13px/16px Georgia, serif; text-align: center;
}
#info-panel {
  position: absolute; top: 42px; right: 0; z-index: 20; width: 460px; max-height: 80vh; overflow-y: auto;
  padding: 4px 16px 12px; background: var(--panel); border: 1px solid var(--bar-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.15); font-size: 13px; line-height: 1.4;
}
#info-panel[hidden], #info-panel [hidden] { display: none; }
#info-panel h3 { margin: 10px 0 2px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
#info-panel ul { margin: 0; padding-left: 18px; }
#info-panel li { margin: 2px 0; }
.info-source { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

/* favourite NSAs: star; list darker than the title bar, chosen NSAs in the bar grey */
#fav { position: relative; display: flex; flex: none; border-left: 1px solid var(--bar-border); }
#fav-button { width: 46px; border: 0; background: transparent; font-size: 22px; color: #8a8a8a; }
#fav-button.on { color: #f0b400; }
#fav-button:hover { background: #d8d8d8; }
#fav-panel {
  position: absolute; top: 42px; right: 0; z-index: 20; width: 170px; padding: 8px;
  background: #c4c4c4; border: 1px solid var(--bar-border); box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
#fav-panel[hidden] { display: none; }
.fav-head { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 6px;
            font-size: 12px; color: #444; text-transform: uppercase; letter-spacing: .04em; }
.fav-head button { border: 1px solid #a8a8a8; border-radius: 4px; background: #d4d4d4; font-size: 12px;
                   padding: 1px 8px; text-transform: none; }
#fav-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr;
            gap: 4px; max-height: 60vh; overflow-y: auto; }
#fav-list li { display: flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 4px;
               font-size: 14px; color: #555; cursor: pointer; }
#fav-list li:hover { background: #b4b4b4; }
#fav-list li.on { background: var(--bar); color: var(--text); font-weight: 600; }
#fav-list li i { flex: none; width: 14px; height: 14px; border-radius: 50%; background-size: cover; }
#menu { position: relative; display: flex; flex: none; }
#menu-panel {
  position: absolute; top: 42px; right: 0; z-index: 20; width: 230px; padding: 6px 12px 12px;
  background: var(--panel); border: 1px solid var(--bar-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.15); display: flex; flex-direction: column; gap: 4px;
}
#menu-panel[hidden], #picker-panel[hidden], #picker[hidden] { display: none; }
.menu-section { margin-top: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
#menu-panel label { font-size: 15px; }
#menu-panel .disabled, #menu-panel em { color: var(--muted); }
#menu-panel small { color: var(--muted); font-size: 12px; }
#menu-panel button { text-align: left; border: 0; background: none; padding: 2px 0; font-size: 15px; }

/* ---- workspace ---- */
#workspace { position: relative; flex: 1; overflow-y: auto; padding: 0 16px 24px; background: #f5f5f7; }
.placeholder { margin: 60px auto; text-align: center; color: var(--muted); font-size: 17px; }
.round-row { margin-bottom: 14px; }
.chart.full { flex: none; }
.round-title { font-size: 15px; font-weight: 600; margin: 6px 0 2px; }
.round-title span { font-weight: 400; color: var(--muted); margin-left: 8px; }
.round-title small { font-weight: 400; font-size: 13px; color: var(--muted); }
.charts { display: flex; flex-wrap: nowrap; gap: 10px; }   /* one row per round, scroll sideways */
.chart { flex: none; width: var(--chart-width, 470px); height: var(--chart-height, 220px); border: 1px solid #dcdce0; border-radius: 4px; background: #fff; }
.legend {
  position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 14px;
  margin: 0 -16px 6px; padding: 8px 16px 6px; background: #f5f5f7; border-bottom: 1px solid #e3e3e8;
  font-size: 13px; color: var(--muted);
}
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1px solid #333; }
.legend i.diamond { border-radius: 0; transform: rotate(45deg) scale(.85); }
.legend i.dotted { background: transparent; border: 2px dotted #138a36; }
.legend i.dotted.red { border-color: var(--favourite); }
.legend i.triangle { border: 0; border-radius: 0; width: 0; height: 0; background: none;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 11px solid #666; }
.legend i.flag { width: 13px; height: 13px; border: 0; background-size: cover; }
.legend i.line.solid { border-top-style: solid; border-top-width: 1px; border-top-color: #555; }
.legend i.band { width: 14px; height: 12px; border: 1px solid #c8c8d0; border-radius: 2px; }
.legend .legend-gap { width: 14px; }
.legend i.line { width: 18px; height: 0; border: 0; border-top: 2px dashed #888; border-radius: 0; vertical-align: 3px; }

/* ---- tooltip ---- */
.tip { border-collapse: collapse; font-size: 13px; color: var(--text); }
.tip td { padding: 1px 0; white-space: nowrap; }
.tip td.pts { text-align: right; padding-left: 18px; min-width: 52px; }
.tip td.rank { text-align: right; padding-left: 14px; min-width: 30px; color: var(--muted); }
.tip .head td { padding-bottom: 2px; }
.tip .judges { font-size: 11px; }
.tip .total td { font-weight: 700; border-top: 1px solid #333; border-bottom: 3px double #333; }
.tip .gap td { height: 8px; }
.tip .bold td { font-weight: 700; }
.tip .red, .tip .status td { color: var(--favourite); font-weight: 700; }
.tip .green { color: #138a36; }

.pinned-tip {
  position: absolute; z-index: 15; padding: 6px 10px; background: #fff; cursor: pointer;
  border: 2px solid #c03030; border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.22);
}
.pinned-tip .round { font-size: 11px; color: var(--muted); }

/* ---- update dialog ---- */
#update-dialog { width: 680px; max-width: 92vw; padding: 0; border: 1px solid var(--bar-border);
  border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
#update-dialog::backdrop { background: rgba(0,0,0,.25); }
#update-dialog header { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--bar); font-weight: 600; }
#update-dialog header button { border: 0; background: none; font-size: 16px; }
#update-dialog p { margin: 10px 14px; font-size: 14px; }
#update-status.error { color: var(--favourite); }
#update-status.ok { color: #2d7a2d; }
#update-steps { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0 14px; padding: 0; font-size: 14px; }
#update-steps li { color: var(--muted); }
#update-steps li.running { color: var(--accent); font-weight: 600; }
#update-steps li.done { color: var(--text); }
#update-steps li.done .icon { color: #2d7a2d; }
#update-steps li.error { color: var(--favourite); font-weight: 600; }
#update-steps small { color: var(--muted); font-weight: 400; }
#update-output { margin: 10px 14px; height: 220px; overflow: auto; padding: 6px 8px; background: #f6f6f8;
  border: 1px solid #ddd; border-radius: 4px; font-size: 11.5px; line-height: 1.35; white-space: pre-wrap; }
#update-output:empty { display: none; }
#update-missing ul { margin: 0 14px 12px; padding: 0; list-style: none; max-height: 160px; overflow: auto; font-size: 13px; }
#update-missing li { padding: 2px 4px; cursor: pointer; border-radius: 3px; }
#update-missing li:hover { background: #eef2ff; color: var(--accent); }

/* ---- tabs ---- */
#tabs {
  display: flex; flex: none; overflow-x: auto; height: 46px;
  background: #f1f1f4; border-top: 1px solid #d5d5da;
}
#tabs button {
  flex: none; padding: 0 22px; border: 0; border-right: 1px solid #d5d5da;
  background: transparent; font-size: 17px; color: var(--text);
}
#tabs button:hover { background: #e6e6ea; }
#tabs button.active { background: #fff; font-weight: 600; box-shadow: inset 0 -3px 0 #1d7a3e; }
#tabs .round-tab { background: #f7f0f3; }

#toast {
  position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); z-index: 30;
  background: #333; color: #fff; padding: 8px 16px; border-radius: 6px; font-size: 14px;
}

/* ---- round tabs: ranking table ---- */
.ranking { padding-top: 8px; }
.ranking-table { border-collapse: collapse; background: #fff; font-size: 13px; border: 1px solid #dcdce0; }
.ranking-table th {
  position: sticky; top: 0; z-index: 5; padding: 4px 6px; background: #e9e9ee; border-bottom: 1px solid #c8c8d0;
  font-weight: 600; white-space: nowrap; cursor: pointer; user-select: none;
}
.ranking-table th.up::after { content: " ▲"; font-size: 9px; }
.ranking-table th.down::after { content: " ▼"; font-size: 9px; }
.ranking-table td { padding: 2px 6px; border-bottom: 1px solid #eeeef2; white-space: nowrap; }
.ranking-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ranking-table tbody tr:hover { background: #eef2ff; }
.ranking-table tr.out td { color: #9a9aa2; }
.ranking-table td.green { color: #138a36; }
.ranking-table td.red { color: var(--favourite); }

.ranking-table tbody tr:nth-child(even) td { background-color: #f4f4f6; }
.ranking-table tr.favourite td { background-color: #d9d9de; font-weight: 700; }
.ranking-table td.bold { font-weight: 700; }
.ranking-table th.group, .ranking-table td.group { border-right: 1px solid #9a9aa6; }

/* ---- jumper page: one table, a grey bar per event ---- */
.jumper-table th { cursor: default; }
/* each event a block (card) on the workspace grey: no frame around the table,
   white rows framed left and right, a gap with the shadow of the block above */
.ranking-table.jumper-table { border: 0; background: transparent; }
.ranking-table.jumper-table tbody tr td { background-color: #fff; }
.ranking-table.jumper-table tbody tr:not(.gap) td:first-child { border-left: 1px solid #c8c8d0; }
.ranking-table.jumper-table tbody tr:not(.gap) td:last-child { border-right: 1px solid #c8c8d0; }
/* competition rounds light (transparent dark) green, the others zebra */
.ranking-table.jumper-table tbody tr.zebra td { background-color: #f4f4f6; }
.ranking-table.jumper-table tbody tr.comp td { background-color: #eaf1ec; }   /* rgba(20,100,45,.09) on white */
.ranking-table.jumper-table tbody tr.event td {
  padding: 5px 8px; font-size: 14px; font-weight: 600;
  background: linear-gradient(#efeff2, #d5d5da);                  /* raised: light on top, darker below */
  border-top: 2px solid #8e8e98; border-bottom: 1px solid #a8a8b0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);             /* highlight under the top edge */
}
.ranking-table.jumper-table tbody tr.gap td {
  height: 12px; padding: 0; border: 0; background: transparent;
  box-shadow: inset 0 7px 6px -6px rgba(0, 0, 0, .28);            /* shadow of the block above */
}
.ranking-table.jumper-table tbody tr.gap:hover td { background: transparent; }
.ranking-table.jumper-table tr.event td span { font-weight: 400; color: var(--muted); }
.ranking-table.jumper-table tr.event td .result { float: right; padding-right: 4px; }
.title-flag { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
#tabs[hidden], #genders button[hidden] { display: none; }
.ranking-table td.pdf { text-align: center; }
.ranking-table td.pdf a {
  display: inline-block; padding: 0 4px; border: 1px solid var(--bar-border); border-radius: 3px;
  background: var(--bar); color: #555; font-size: 10px; font-weight: 700; line-height: 14px; text-decoration: none;
}
.ranking-table td.pdf a:hover { background: #d0d0d0; color: var(--text); }
.pdf-button {
  display: inline-block; margin-left: 8px; padding: 0 5px; border: 1px solid var(--bar-border); border-radius: 3px;
  background: var(--bar); color: #555; font-size: 10px; font-weight: 700; line-height: 15px;
  text-decoration: none; vertical-align: 2px;
}
.pdf-button:hover { background: #d0d0d0; color: var(--text); }

/* ---- jumper charts: round type toggles in the title bar ---- */
#types, #groups { display: flex; flex: none; align-items: center; padding: 0 10px; gap: 0; border-left: 1px solid var(--bar-border); }
#types[hidden], #groups[hidden] { display: none; }
#types .toggle, #groups .toggle { height: 28px; border: 1px solid var(--bar-border); border-right: 0; }
#groups .toggle { width: auto; padding: 0 8px; }
#types .toggle:first-child, #groups .toggle:first-child { border-radius: 4px 0 0 4px; }
#types .toggle:last-child, #groups .toggle:last-child { border-right: 1px solid var(--bar-border); border-radius: 0 4px 4px 0; }

/* competition levels: event bars of the jumper table (raised, light colours) */
.ranking-table.jumper-table tbody tr.event.g-WM td { background: linear-gradient(#edf4fd, #c6dbf5); }
.ranking-table.jumper-table tbody tr.event.g-WC td { background: linear-gradient(#fdf0f0, #f5c8c8); }
.ranking-table.jumper-table tbody tr.event.g-COC td { background: linear-gradient(#f5ede3, #dcc6aa); }
.ranking-table.jumper-table tbody tr.event.g-FC td { background: linear-gradient(#fef2e3, #f8d0a0); }
.ranking-table.jumper-table tbody tr.event.g-AC td { background: linear-gradient(#f5f9e4, #d8e6a6); }

/* hills: expandable table hill > year > competition > jump */
/* title with Top 1 / 10 / 30 fixed at the top, the table header below it */
.hills-head { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px;
  height: 34px; margin: 0; background: #f5f5f7; }
.ref-toggles { display: inline-flex; }
.ref-toggles button { height: 24px; padding: 0 10px; border: 1px solid var(--bar-border); border-right: 0;
  background: #f3f3f3; color: #9aa3c7; font-size: 13px; font-weight: 700; }
.ref-toggles button:first-child { border-radius: 4px 0 0 4px; }
.ref-toggles button:last-child { border-right: 1px solid var(--bar-border); border-radius: 0 4px 4px 0; }
.ref-toggles button.on { background: #fff; color: var(--accent); }
.hills-table { border-collapse: collapse; background: #fff; font-size: 13px; border: 1px solid #dcdce0; min-width: 760px; }
.hills-table th { position: sticky; top: 34px; z-index: 5; padding: 4px 8px; background: #e9e9ee;
  border-bottom: 1px solid #c8c8d0; font-weight: 600; text-align: left; white-space: nowrap; }
.hills-table td { padding: 2px 8px; border-bottom: 1px solid #eeeef2; white-space: nowrap; }
.hills-table td.num, .hills-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.hills-table tr.open-able { cursor: pointer; }
.hills-table tr.open-able:hover td { background-color: #eef2ff; }
.hills-table tr.l0 td { font-weight: 600; background-color: #f4f4f6; border-top: 1px solid #c8c8d0; }
.hills-table tr.l1 td:first-child { padding-left: 26px; }
.hills-table tr.l2 td:first-child { padding-left: 44px; }
.hills-table tr.l3 td:first-child { padding-left: 62px; color: #555; }
.hills-table .caret-toggle { display: inline-block; width: 14px; color: #777; }
.hills-table .hs-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.hills-table td.bar { width: 160px; }
.hills-table th.group, .hills-table td.group { border-right: 1px solid #9a9aa6; }
.hills-table td.estimated b { font-style: italic; font-weight: 400; color: #8a8a92; }
.round-title .ref-toggles { margin-left: 10px; vertical-align: 1px; }
.hills-table tr.l0 .k { font-weight: 400; color: var(--muted); }
.tip tr.chart-value td { padding-top: 3px; padding-bottom: 3px; border-bottom: 1px solid #ddd; }

/* ---- lists (☰ › Lists): table and dialogs ---- */
.lists-head { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 6;
  height: 40px; background: #f5f5f7; }
.lists-head input { font: inherit; font-size: 14px; padding: 4px 8px; width: 320px; }
.lists-head button { font-size: 14px; padding: 3px 12px; border: 1px solid var(--bar-border); border-radius: 4px; background: #fff; }
.lists-head .count { color: var(--muted); font-size: 13px; }
.lists-table th { top: 40px; cursor: default; }
.lists-table tbody tr { cursor: pointer; }
.lists-table td.aliases { max-width: 360px; overflow: hidden; text-overflow: ellipsis; color: #555; }
#login-dialog, #edit-dialog { padding: 0; border: 1px solid var(--bar-border); border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25); }
#login-dialog { width: 340px; }
#edit-dialog { width: 560px; max-width: 94vw; }
#login-dialog::backdrop, #edit-dialog::backdrop { background: rgba(0,0,0,.25); }
#login-dialog header, #edit-dialog header { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--bar); font-weight: 600; }
.dialog-close { border: 0; background: none; font-size: 16px; }
#login-form, #edit-form { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
#login-form label { display: flex; flex-direction: column; gap: 2px; }
#edit-fields { display: grid; grid-template-columns: 150px 1fr; gap: 6px 10px; align-items: center; }
#edit-fields label { color: #444; align-self: start; padding-top: 4px; }
#edit-fields input, #edit-fields select, #edit-fields textarea, #login-form input { font: inherit; font-size: 14px; padding: 3px 6px; }
#edit-fields textarea { min-height: 80px; resize: vertical; }
#edit-fields small { grid-column: 2; color: var(--muted); margin-top: -4px; }
.dialog-error { margin: 0; color: var(--favourite); min-height: 1em; }
.dialog-note { margin: 0; color: var(--muted); font-size: 13px; }
.dialog-buttons { display: flex; gap: 8px; }
.dialog-buttons .spacer { flex: 1; }
.dialog-buttons button { padding: 4px 14px; border: 1px solid var(--bar-border); border-radius: 4px; background: #f3f3f3; }
.dialog-buttons button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.dialog-buttons button.danger { color: var(--favourite); }
.dialog-buttons button:disabled { opacity: .45; }
#pages button.inactive { font-weight: 400; box-shadow: none; background: transparent; }
