:root {
  color-scheme: light;
  --bg: #edf1f4;
  --surface: #ffffff;
  --surface-soft: #f6f8fa;
  --text: #17202a;
  --muted: #66727d;
  --line: #d8e0e6;
  --line-strong: #bdc9d2;
  --red: #d93025;
  --red-dark: #b42318;
  --teal: #087f71;
  --teal-soft: #e7f5f1;
  --blue: #2463d4;
  --blue-dark: #184ba8;
  --blue-soft: #eef4ff;
  --amber: #9a5a08;
  --amber-soft: #fff6df;
  --violet: #6d4bc3;
  --violet-soft: #f3effc;
  --danger: #b42318;
  --shadow: 0 12px 30px rgba(33, 47, 61, 0.07);
  font-family: "Segoe UI", "Yu Gothic UI", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.48; }
h1, h2, p { margin: 0; letter-spacing: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 12px clamp(18px, 3vw, 42px);
}

.topbar-left, .brand, .top-status, .inline-control, .section-heading, .selection-summary,
.search-control, .selected-item-head, .selection-footer, .job-top, .job-bottom {
  display: flex;
  align-items: center;
}

.topbar-left { gap: 12px; min-width: 0; }
.brand { gap: 12px; min-width: 0; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.brand p, .step-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand h1 { margin-top: 2px; font-size: 20px; line-height: 1.15; }
.top-status { gap: 8px; }

.upload-limit-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid #efc36d;
  border-left: 4px solid #d88700;
  border-radius: 6px;
  background: var(--amber-soft);
  color: #714506;
  margin: 14px 0;
  padding: 10px 12px;
}

.upload-limit-notice[hidden] { display: none; }
.upload-limit-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d88700;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.upload-limit-notice strong { display: block; font-size: 13px; line-height: 1.35; }
.upload-limit-notice p { margin-top: 2px; color: #80520a; font-size: 12px; line-height: 1.45; }

.site-switcher {
  position: relative;
  flex: 0 0 auto;
}

.site-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #27323c;
  padding: 0 12px 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.switcher-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.switcher-grid i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--red);
}

.switcher-copy {
  line-height: 1;
  white-space: nowrap;
}

.site-menu-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.site-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: min(330px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.18);
  padding: 8px;
}

.site-menu-panel[hidden] {
  display: none;
}

.site-menu-head {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding: 4px 8px 10px;
}

.site-menu-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-menu-head strong {
  font-size: 14px;
  line-height: 1.35;
}

.site-menu-panel a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  color: var(--text);
  padding: 10px;
  text-decoration: none;
}

.site-menu-panel a:hover,
.site-menu-panel a[aria-current="page"] {
  background: var(--surface-soft);
}

.site-menu-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 8px;
  background: #eef2f6;
  color: #34404b;
  font-size: 10px;
  font-weight: 900;
}

.site-menu-mark.main {
  background: #f2f4f7;
}

.site-menu-mark.upload {
  background: #fff1f3;
  color: var(--red-dark);
}

.site-menu-mark.article {
  background: var(--teal-soft);
  color: #065f55;
}

.site-menu-mark.scale {
  background: var(--blue-soft);
  color: var(--blue);
}

.site-menu-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.site-menu-copy strong {
  font-size: 13px;
  line-height: 1.35;
}

.site-menu-copy em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge.neutral { background: #f7f9fa; color: var(--muted); }
.status-badge.good { border-color: #acd9d1; background: var(--teal-soft); color: #065f55; }
.status-badge.warn { border-color: #efce9d; background: #fff8e8; color: var(--amber); }
.status-badge.bad { border-color: #efb4ae; background: #fff1ef; color: var(--danger); }

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 19px;
  line-height: 1;
}

main {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 20px clamp(16px, 2.5vw, 36px) 40px;
}

.source-band, .panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.source-band {
  border-top: 3px solid var(--blue);
  padding: 18px;
}
.panel { padding: 16px; }
.preview-panel { border-top: 3px solid var(--blue); }
.selection-panel { border-top: 3px solid var(--teal); }
.jobs-panel { border-top: 3px solid #d18a14; }
.section-heading { justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading.compact { margin-bottom: 12px; }
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 17px;
  line-height: 1.2;
}
.section-heading h2::before {
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
}
.selection-panel .section-heading h2::before { background: var(--teal); }
.jobs-panel .section-heading h2::before { background: #d18a14; }
.status-text { color: var(--muted); font-size: 12px; font-weight: 700; }
.selection-summary { gap: 12px; color: var(--muted); font-size: 11px; font-weight: 800; }

.search-row {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(360px, 1fr);
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #cfdbef;
  border-left: 4px solid var(--blue);
  border-radius: 7px;
  background: var(--blue-soft);
}

.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label {
  color: #3c4854;
  font-size: 11px;
  font-weight: 800;
}

.search-control { gap: 8px; min-width: 0; }
.search-control input { flex: 1 1 auto; min-width: 0; }
.search-control .primary-button { flex: 0 0 156px; }

.destination-grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(360px, 1.45fr) minmax(150px, 0.6fr) minmax(110px, 0.45fr);
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.library-field { grid-column: 1 / -1; }
.inline-control { gap: 7px; min-width: 0; }
.inline-control select { min-width: 0; }
.library-field .inline-control { width: 100%; }

input, select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

input:hover, select:hover { border-color: #99a9b5; }

.fixed-value {
  display: flex;
  align-items: center;
  height: 40px;
  border-bottom: 2px solid var(--teal);
  color: #1f3b37;
  font-size: 12px;
  font-weight: 900;
}

.source-path-value {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-soft);
  color: #42505d;
  padding: 0 10px;
  font-family: Consolas, "Yu Gothic UI", monospace;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mono-value {
  color: #124f48;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

input:focus, select:focus, button:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 99, 235, 0.14);
  outline: none;
}

.primary-button, .secondary-button, .upload-button, .text-button, .job-action {
  min-height: 40px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  padding: 0 18px;
}

.primary-button:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.upload-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  padding: 0 18px;
}
.upload-button:hover { border-color: var(--red-dark); background: var(--red-dark); }
.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #34404c;
  padding: 0 12px;
  white-space: nowrap;
}
.secondary-button:hover:not(:disabled), .job-action:hover:not(:disabled) {
  border-color: #93a5b2;
  background: var(--surface-soft);
}
.secondary-button.small { min-height: 34px; font-size: 11px; }
.text-button {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0;
  font-size: 11px;
}
.danger-text { color: var(--danger); }

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(360px, 0.75fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.preview-panel { min-height: 520px; }
.selection-panel {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.jobs-panel { grid-column: 1 / -1; }
.jobs-heading-actions { display: flex; align-items: center; gap: 10px; }
.queue-stats { color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; }

.table-wrap {
  min-height: 430px;
  max-height: calc(100vh - 330px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
thead { position: sticky; top: 0; z-index: 1; background: #f1f4f6; }
th, td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: middle; }
th { color: #52606d; font-size: 10px; font-weight: 900; white-space: nowrap; }
th:first-child { width: 48px; }
.check-column, .video-check { text-align: center; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); }
tbody tr:not(.selected-row):hover td { background: #f8fafc; }
tr.selected-row td { background: var(--teal-soft); }
tr.selected-row td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.video-name, .video-meta { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-name { font-weight: 800; }
.video-meta { margin-top: 3px; color: var(--muted); font-size: 10px; }
.empty-cell { height: 330px; color: var(--muted); text-align: center; }

.selected-list {
  flex: 1 1 auto;
  min-height: 320px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.selected-item {
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: #fbfcfe;
  padding: 13px;
}
.selected-item:last-child { border-bottom: 0; }
.selected-item.registered { border-left-color: var(--teal); background: #f5fbf9; }
.selected-item-head { align-items: flex-start; gap: 9px; }
.selected-item-copy { min-width: 0; flex: 1 1 auto; }
.registered-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #065f55;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 900;
}
.remove-selection {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.remove-selection:hover { border-color: #efb4ae; background: #fff1ef; color: var(--danger); }
.selection-footer {
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding-top: 12px;
}
.selection-footer > span { color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.4; }
.selection-footer .upload-button { flex: 0 0 auto; min-width: 174px; }

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
  background: #f6f8fa;
}
.tab {
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.tab:last-child { border-right: 0; }
.tab:hover:not(.active) { background: #fff; color: var(--text); }
.tab.active { background: var(--amber-soft); color: #724208; box-shadow: inset 0 -3px 0 #d18a14; }
.jobs-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 210px;
  max-height: 520px;
  overflow: auto;
}
.job-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid #a8b5bf;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}
.job-item:has(.job-status.running) { border-top-color: var(--blue); }
.job-item:has(.job-status.completed) { border-top-color: var(--teal); }
.job-item:has(.job-status.failed), .job-item:has(.job-status.cancelled) { border-top-color: var(--red); }
.job-top, .job-bottom { justify-content: space-between; gap: 10px; }
.job-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 900; }
.job-status { flex: 0 0 auto; border-radius: 999px; padding: 4px 8px; font-size: 9px; font-weight: 900; }
.job-status.queued { background: #edf1f4; color: #52606d; }
.job-status.running { background: #e8f0ff; color: #1e4faf; }
.job-status.completed { background: var(--teal-soft); color: #065f55; }
.job-status.failed, .job-status.cancelled { background: #fff1ef; color: var(--danger); }
.job-meta { margin: 6px 0 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.progress-track { height: 5px; overflow: hidden; border-radius: 3px; background: #edf1f4; }
.progress-bar { height: 100%; background: var(--blue); transition: width 180ms ease; }
.studio-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin-top: 9px;
  border: 1px solid #e4e9ed;
  border-radius: 5px;
  background: #f8fafb;
  padding: 5px 6px;
}
.studio-status-main { display: flex; align-items: center; min-width: 0; gap: 6px; }
.studio-label { flex: 0 0 auto; color: #687683; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.studio-status { flex: 0 0 auto; border-radius: 999px; padding: 3px 6px; font-size: 9px; font-weight: 900; }
.studio-status.pending { background: #fff4d8; color: #80520a; }
.studio-status.running { background: #e8f0ff; color: #1e4faf; }
.studio-status.completed { background: var(--teal-soft); color: #065f55; }
.studio-status.needs_login { background: #fff1d6; color: #8a4b06; }
.studio-status.failed { background: #fff1ef; color: var(--danger); }
.studio-status.skipped { background: #edf1f4; color: #52606d; }
.studio-message { min-width: 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.studio-retry { flex: 0 0 auto; border-color: #e7b567; background: #fffaf0; color: #7a4605; }
.studio-retry:hover:not(:disabled) { border-color: #d18a14; background: #fff4d8; color: #603600; }
.job-bottom { margin-top: 9px; }
.job-message { min-width: 0; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.job-link { color: var(--blue); font-size: 10px; font-weight: 900; text-decoration: none; }
.job-actions { display: flex; gap: 7px; }
.job-action { min-height: 27px; border: 1px solid var(--line); background: #fff; color: #394652; padding: 0 8px; font-size: 10px; }
.empty-state { display: grid; place-items: center; min-height: 210px; color: var(--muted); padding: 24px; font-size: 12px; text-align: center; }
.compact-empty { min-height: 320px; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  max-width: min(440px, calc(100vw - 36px));
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  border-radius: 7px;
  background: #17202a;
  color: #fff;
  padding: 11px 13px;
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.22);
  font-size: 12px;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 18px 24px 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: #405467; text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }

.legal-page { background: #fff; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  padding: 0 max(24px, calc((100vw - 920px) / 2));
}
.legal-brand { color: var(--text); font-size: 15px; font-weight: 900; text-decoration: none; }
.legal-back { color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.legal-main { max-width: 920px; margin: 0 auto; padding: 58px 24px 72px; }
.legal-main > h1 { margin: 5px 0 8px; font-size: 34px; line-height: 1.2; }
.legal-updated { margin: 0 0 44px; color: var(--muted); font-size: 12px; }
.legal-main section { margin-top: 34px; }
.legal-main section h2 { margin: 0 0 10px; font-size: 17px; }
.legal-main section p { margin: 8px 0 0; color: #334155; font-size: 14px; line-height: 1.9; }
.legal-main section a { color: var(--blue); }
.legal-footer { max-width: 920px; margin: 0 auto; padding-right: 24px; padding-left: 24px; }

@media (max-width: 1180px) {
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-field { grid-column: 1 / -1; }
  .workspace-grid { grid-template-columns: 1fr; }
  .selection-panel { position: static; max-height: none; }
  .jobs-panel { grid-column: auto; }
  .table-wrap { max-height: none; }
  .jobs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar, .section-heading { align-items: flex-start; }
  .topbar { position: static; flex-direction: column; gap: 10px; }
  .topbar-left { width: 100%; }
  .top-status { width: 100%; justify-content: space-between; }
  .search-row, .destination-grid { grid-template-columns: 1fr; }
  .search-control { align-items: stretch; flex-direction: column; }
  .search-control .primary-button { flex-basis: 40px; width: 100%; }
  .library-field { grid-column: auto; }
  .library-field .inline-control { align-items: stretch; flex-direction: column; }
  .workspace-grid { display: block; }
  .selection-panel, .jobs-panel { margin-top: 16px; }
  .jobs-panel .section-heading { align-items: stretch; flex-direction: column; gap: 10px; }
  .jobs-heading-actions { justify-content: space-between; width: 100%; }
  .jobs-list { grid-template-columns: 1fr; max-height: none; }
  .studio-status-row { align-items: flex-start; flex-direction: column; }
  .studio-status-main { width: 100%; }
  .studio-retry { align-self: flex-end; }
  .selection-footer { align-items: stretch; flex-direction: column; }
  .selection-footer .upload-button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { flex-direction: column; gap: 10px; }
  .legal-header { padding: 0 18px; }
  .legal-main { padding: 40px 18px 56px; }
  .legal-main > h1 { font-size: 28px; }
}

/* 2026-09-14 shared team switcher polish */
.site-menu-button {
  gap: 10px;
  height: 40px;
  border-color: transparent;
  border-radius: 999px;
  background: #17202a;
  color: #ffffff;
  padding: 0 14px 0 12px;
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.16);
}

.site-menu-button::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
  content: "";
}

.site-menu-button:hover {
  border-color: transparent;
  background: #25313d;
}

.switcher-grid {
  grid-template-columns: repeat(2, 6px);
}

.switcher-grid i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.switcher-grid i:nth-child(1) {
  background: var(--red);
}

.switcher-grid i:nth-child(2) {
  background: var(--teal);
}

.switcher-grid i:nth-child(3) {
  background: var(--blue);
}

.switcher-grid i:nth-child(4) {
  background: #d18a14;
}

.site-menu-panel {
  width: min(360px, calc(100vw - 28px));
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(23, 32, 42, 0.2);
  padding: 10px;
}

.site-menu-head {
  border: 1px solid #e5ebf0;
  border-radius: 7px;
  background: #f7f9fb;
  margin: -2px -2px 6px;
  padding: 10px;
}

.site-menu-panel a {
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.site-menu-panel a:hover,
.site-menu-panel a[aria-current="page"] {
  border-color: #e3e9ef;
  background: #f8fafc;
  transform: translateX(2px);
}
