*,
:before,
::before,
:after,
::after {
  box-sizing: border-box;
}

* {
  border: 0;
  border-radius: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

html,
body {
  overscroll-behavior: none;
}

body {
  background: #f6f5f1;
  color: #1b1c20;
  font-family: BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  border: 0;
}

ol,
ul {
  list-style: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font-family: inherit;
}

button {
  background-color: transparent;
  cursor: pointer;
}

.LeverageGuide {
  --color-ink: #1b1c20;
  --color-sub: #62666e;
  --color-paper: #f6f5f1;
  --color-card: #ffffff;
  --color-figure: #fbfaf7;
  --color-line: #e5e2da;
  --color-selected: #e9f1f1;
  --color-severity-empty: #e3e1d9;
  --color-warning: #c07b12;
  --color-danger: #c2453e;
  min-height: 100vh;
  padding: 0 14px 26px;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.LeverageGuide-Body {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.PageHeader {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  height: 48px;
  margin: 0 -14px;
  padding: 0 24px;
  background: var(--color-paper);
}

.ProductTab {
  overflow-x: auto;
  overscroll-behavior-x: none;
  scrollbar-width: none;
}
.ProductTab::-webkit-scrollbar {
  display: none;
}
.ProductTab {
  display: flex;
  gap: 6px;
  padding-bottom: 10px;
}
.ProductTab-Item {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-sub);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.ProductTab-Item[data-selected] {
  background: var(--color-ink);
  color: var(--color-card);
}

.ProductPanel {
  margin-top: 16px;
  animation: product-panel-in 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes product-panel-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ProductPanel {
    animation: none;
  }
}
.ProductHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.ProductHead-Text {
  flex: 1 1 300px;
  min-width: 230px;
}
.ProductHead-Name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 24px;
}
.ProductHead-Summary {
  margin-top: 5px;
  color: var(--color-sub);
  font-size: 12.5px;
  line-height: 22px;
}

.SeverityMeter {
  flex: 0 0 auto;
  text-align: right;
}
.SeverityMeter-Label {
  margin-bottom: 5px;
  color: var(--color-sub);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 14px;
}
.SeverityMeter-Body {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.SeverityMeter-Dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-severity-empty);
}
.SeverityMeter-Dot[data-selected] {
  background: var(--severity-color);
}
.SeverityMeter-Text {
  margin-left: 4px;
  color: var(--color-sub);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 14px;
}

.FigureCard {
  margin-top: 12px;
  padding: 10px calc(10px + 2px);
  border-radius: 2px;
  background: var(--color-card);
}
.FigureCard-Canvas {
  border-radius: 2px;
  background: var(--color-figure);
  overflow: hidden;
}

.Figure {
  display: block;
  width: 100%;
  height: 310px;
}

.FigureControl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.FigureControl-Button {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--color-sub);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.FigureControl-Button[data-selected] {
  background: var(--color-selected);
  color: var(--color-ink);
}
.FigureControl-Separator {
  width: 8px;
}

.RiskGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.RiskGrid-Item {
  position: relative;
  padding: 10px calc(12px + 2px) calc(10px - 4px) 16px;
  border-radius: 2px;
  background: var(--color-card);
}
.RiskGrid-Item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--color-warning);
}
.RiskGrid-Item[data-level=high]::before {
  background: var(--color-danger);
}
.RiskGrid-Item-Title {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}
.RiskGrid-Item-Text {
  margin-top: 3px;
  color: var(--color-sub);
  font-size: 12px;
  line-height: 20px;
}

.Note {
  margin-top: 14px;
  color: var(--color-sub);
  font-size: 11px;
  line-height: 18px;
}

.Guide {
  margin-top: 28px;
}
.Guide h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 24px;
}
.Guide p {
  margin-top: 10px;
  color: var(--color-sub);
  font-size: 12.5px;
  line-height: 22px;
}

.Logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.Logo-Text {
  color: var(--color-ink);
  font-family: "Quicksand", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.ApplicationMenu {
  position: fixed;
  top: 48px;
  left: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  width: 300px;
  background: var(--color-card);
  border-radius: 0 12px 0 0;
  box-shadow: 0 0 3px 1px #e8e5dd;
  overflow-y: auto;
  overscroll-behavior-y: none;
}
.ApplicationMenu[data-open] {
  display: flex;
}
.ApplicationMenu-Section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}
.ApplicationMenu-Section + .ApplicationMenu-Section {
  border-top: 1px solid var(--color-line);
}
.ApplicationMenu-Link {
  padding: 0 24px;
}
.ApplicationMenu-Link-Name {
  display: block;
  color: var(--color-ink);
  font-size: 15px;
  line-height: 23px;
  text-decoration: none;
}
.ApplicationMenu-Link-Description {
  color: var(--color-sub);
  font-size: 12px;
  line-height: 20px;
}