@charset "utf-8";

/* maintenance board (why.html #care, maintenance.html #status): monthly stacked bars + 30-day lines, drawn by js/care-board.js */
.wy-board { padding: clamp(28px, 2.6vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; word-break: keep-all; }
.wy-board__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.wy-board__head h2, .wy-board__head h3 { font-size: clamp(22px, 1.7vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.wy-board__head p { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--mute); }
.wy-board__head i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.wy-board__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 64px); padding-top: 32px; }
.wy-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 28px; }
.wy-chart figcaption b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.wy-chart__key { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mute); }
.wy-chart__key i { width: 10px; height: 10px; border-radius: 3px; }
.wy-chart__key i:not(:first-child) { margin-left: 10px; }
.wy-chart .is-free { --c: var(--brand); }
.wy-chart .is-paid { --c: #9aa3ae; }
.wy-chart__key i { background: var(--c); }
.wy-chart__plot { padding: 8px 0 44px 44px; }
.wy-plot { position: relative; height: clamp(220px, 18vw, 300px); }
.wy-plot__y { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.wy-plot__y:first-child { border-top-color: var(--line-2); }
.wy-plot__y em { position: absolute; right: 100%; top: -9px; padding-right: 10px; font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; color: var(--mute); white-space: nowrap; }
.wy-bars { position: absolute; inset: 0; display: flex; gap: clamp(6px, .9vw, 16px); padding: 0 4px; list-style: none; }
.wy-bars li { position: relative; flex: 1; display: flex; align-items: flex-end; }
.wy-bars__bar { position: relative; display: flex; flex-direction: column; width: 100%; border-radius: 4px 4px 0 0; overflow: visible; transform-origin: bottom; }
.wy-bars__bar i { display: block; min-height: 2px; background: var(--c); }
.wy-bars__bar i.is-paid { border-radius: 4px 4px 0 0; }
.wy-bars__bar b { position: absolute; left: 50%; bottom: 100%; margin-bottom: 6px; transform: translateX(-50%); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.wy-bars li > span { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%); font-size: 12px; line-height: 1.3; text-align: center; font-variant-numeric: tabular-nums; color: var(--mute); white-space: nowrap; }
.wy-bars li:hover .wy-bars__bar i { filter: brightness(.9); }
.wy-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wy-lines__path { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.wy-lines__path.is-paid { stroke-width: 2; }
.wy-lines__dots circle { fill: #fff; stroke: var(--c); stroke-width: 2; }
.wy-lines__dots circle:hover { fill: var(--c); }
.wy-lines__x span { position: absolute; top: 100%; margin-top: 12px; transform: translateX(-50%); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--mute); white-space: nowrap; }
.js-motion .wy-board[data-reveal] .wy-bars__bar { transform: scaleY(0); transition: transform 1s var(--ease) calc(var(--i, 0) * .05s + .2s); }
.js-motion .wy-board[data-reveal].is-in .wy-bars__bar { transform: none; }
.js-motion .wy-board[data-reveal] .wy-lines__path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js-motion .wy-board[data-reveal].is-in .wy-lines__path { stroke-dashoffset: 0; }
.js-motion .wy-board[data-reveal] .wy-lines__dots { opacity: 0; transition: opacity .6s ease 1.4s; }
.js-motion .wy-board[data-reveal].is-in .wy-lines__dots { opacity: 1; }

@media (max-width: 1100px) {
  .wy-board__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .wy-board { padding: 24px 18px; border-radius: 14px; }
  .wy-chart__plot { padding-left: 36px; }
  .wy-bars { gap: 4px; padding: 0; }
  .wy-bars__bar b { display: none; }
  .wy-bars li > span { font-size: 10px; }
}
