/* Page-local additions; shared site styles are unchanged. */
.hyoki-page *, .hyoki-page *::before, .hyoki-page *::after {
  animation: none !important;
  transition: none !important;
}
.hyoki-page .page-head .wrap { padding-top: 48px; padding-bottom: 24px; }
.hyoki-page .page-head h1 { font-size: var(--type-h1); margin-bottom: 12px; }
.hyoki-page .eyebrow { margin-bottom: 12px; }
.hyoki-page .lead { margin-bottom: 20px; max-width: none; }
.tool-steps { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 20px; padding-left: 1.4em; font-size: 15px; }
.data-note { font-size: 14px; margin: 0; padding-left: 12px; border-left: 3px solid var(--gold); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 24px; align-items: start; }
.tool-card { min-width: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tool-card h2, .result-head h2 { font-size: 22px; margin: 0 0 8px; }
.tool-card h3 { font-size: 17px; margin: 24px 0 8px; }
.tool-card p { margin: 0 0 16px; }
.tool-card .small, .small { font-size: 14px; line-height: 1.8; color: var(--muted); }
.tool-label { display: block; margin: 12px 0 8px; font-size: 15px; font-weight: 700; }
.tool-input, .tool-select { width: 100%; min-width: 0; padding: 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.tool-input { display: block; resize: vertical; min-height: 168px; line-height: 1.7; }
#words { min-height: 92px; }
.tool-input:focus-visible, .tool-select:focus-visible, .tool-button:focus-visible, .table-box:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tool-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.op.op-tooltip.tool-toolbar { flex-direction: row; min-height: 0; max-width: none; width: auto; border: 0; background: transparent; }
.tool-button, .tool-toolbar .tool-button.op-tooltip-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1.5; }
.tool-button svg { flex: none; width: 20px; height: 20px; }
.tool-button.primary, .tool-toolbar .tool-button.primary { background: var(--ink); color: var(--dk-ink); border-color: var(--gold); }
.tool-button:disabled { opacity: .45; cursor: default; }
@media (hover: hover) {
  .tool-button:not(:disabled):hover, .tool-toolbar .tool-button:not(:disabled):hover { background: var(--gold-tint); color: var(--ink); border-color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .hyoki-page .tool-button { transition: background-color 160ms cubic-bezier(.2,.8,.2,1), border-color 160ms cubic-bezier(.2,.8,.2,1) !important; }
}
.check-line, .column-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.hyoki-page input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 0; }
.rule-list .check-line { align-items: flex-start; min-height: 0; font-weight: 700; }
.rule-list input { margin-top: 5px; }
.rule-list p { font-size: 14px; color: var(--muted); margin: 4px 0 0 28px; line-height: 1.8; }
#column-options { margin: 20px 0 0; }
#column-options legend { margin-bottom: 4px; }
#columns { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.column-choice { max-width: 100%; }
.tool-status { min-height: 1.8em; margin: 16px 0; font-size: 14px; }
#results { margin-top: 16px; }
.result-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 16px; }
.result-head .tool-toolbar { margin: 0; }
#counts { font-size: 15px; font-variant-numeric: tabular-nums; }
.table-box { max-height: 420px; width: 100%; min-width: 0; overflow: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.table-box table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; text-align: left; }
.table-box th, .table-box td { padding: 10px 16px; border-top: 1px solid var(--line); white-space: pre; vertical-align: top; }
.table-box thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); border-top: 0; box-shadow: inset 0 -1px 0 var(--line-strong); }
.table-box thead th:first-child { left: 0; z-index: 3; }
.table-box tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); font-weight: 400; color: var(--muted); }
.table-box td.is-changed { position: relative; background: var(--gold-tint); box-shadow: inset 3px 0 0 var(--ink); }
.hyoki-page mark { background: rgba(198, 154, 56, .45); color: inherit; box-shadow: inset 0 -2px 0 var(--ink); }
.cell-size { display: block; height: 0; overflow: hidden; visibility: hidden; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.compare section { min-width: 0; }
.compare h3 { font-size: 17px; margin: 0 0 8px; }
.compare-key { margin: 0 0 4px; }
.key-cell { padding: 2px 6px 2px 9px; background: var(--gold-tint); box-shadow: inset 3px 0 0 var(--ink); color: var(--ink); white-space: nowrap; }
.compare-key mark { color: var(--ink); }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.review-list { list-style: none; max-height: 380px; overflow: auto; padding: 0 8px 0 0; margin: 0; font-size: 14px; }
.review-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-list li:last-child { border: 0; }
.review-list p { margin: 0 0 4px; }
.cell-place, .cell-rules { color: var(--muted); font-size: 13px; }
.cell-values { white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-bottom { padding: 32px 0 0; }
.tool-bottom p { margin: 0 0 20px; }
.paid-route { border-top: 1px solid var(--line); padding-top: 24px; }
.hyoki-page footer { margin-top: 48px; }
.saved-brand { display: flex; align-items: center; gap: 12px; padding-top: 24px; font-family: var(--lat); letter-spacing: .3em; }
.saved-brand svg { width: 37px; height: 26px; }
.hyoki-page [hidden] { display: none !important; }
@media (max-width: 760px) {
  .tool-layout, .review-grid, .compare { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .compare .table-box { max-height: 280px; }
  .hyoki-page .page-head .wrap { padding-top: 28px; }
  .tool-card { padding: 20px; }
}
@media (max-width: 600px) {
  .hyoki-page .wrap { padding-left: 20px; padding-right: 20px; }
  .tool-steps { display: block; }
  .tool-steps li { margin-bottom: 4px; }
  .tool-toolbar .tool-button { padding: 10px 12px; }
}
