:root { color-scheme: light; --ink: #19332f; --muted: #667b73; --teal: #087f72; --line: #dce6df; --paper: #f4f6f2; --danger: #ad472d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.8; }
a { color: inherit; text-decoration: none; } a:hover { color: var(--teal); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 8px 13px; font-size: 12px; }
button:hover { border-color: var(--teal); background: #eff7f1; } button:disabled { opacity: .45; cursor: default; }
button.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #3599b7; outline-offset: 3px; }
[hidden] { display: none !important; }
header { max-width: 1240px; margin: auto; padding: 0 30px; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 20px; white-space: nowrap; }.brand span { color: var(--muted); font-weight: 400; }.brand b { color: white; background: var(--teal); width: 30px; height: 30px; border-radius: 8px; font: 700 28px/24px Georgia, serif; text-align: center; margin-right: 5px; }
.tool-nav { display: flex; gap: 22px; font-size: 12px; }.tool-nav a { padding: 7px 0; border-bottom: 2px solid transparent; }.tool-nav a[aria-current="page"] { color: var(--teal); border-color: var(--teal); }.back { font-size: 12px; color: var(--muted); }
main { max-width: 1240px; margin: auto; padding: 0 30px; }.intro { position: relative; padding: 42px 0 29px; }.eyebrow { color: var(--teal); font: 600 10px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.6px; margin: 0; }
h1 { font-size: clamp(29px, 3.8vw, 44px); line-height: 1.4; letter-spacing: -1px; margin: 12px 0; font-weight: 650; }.intro > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }.local-badge { display: inline-block; margin-top: 17px; background: #e6f0e6; color: #3f735d; font-size: 10px; padding: 3px 9px; border: 1px solid #d8e5d7; border-radius: 5px; }
.tool-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }.tool-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 26px; transition: transform .15s, border-color .15s; }.tool-card:hover { transform: translateY(-3px); border-color: #8fb7a5; color: var(--ink); }.tool-card h2 { font-size: 21px; margin: 21px 0 8px; }.tool-card p { font-size: 13px; color: var(--muted); min-height: 72px; }.tool-card strong { display: block; font-size: 12px; color: var(--teal); margin-top: 24px; }.card-tags { font: 10px ui-monospace, monospace; color: #7c8d84; }.card-demo { height: 140px; border-radius: 9px; background: #f0f6ef; margin-top: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }.card-demo b { font: 600 35px ui-monospace, monospace; letter-spacing: 4px; color: #277762; }.card-demo span { color: #718479; font-size: 11px; }.byte-demo { background: #f0f0f7; }.byte-demo b { color: #6c6292; }.byte-demo em { font-style: normal; background: #e2dff0; padding: 4px 8px; border-radius: 7px; }.power-demo { background: #f7f1e7; }.spark { display: flex; align-items: flex-end; justify-content: space-around; width: 75%; height: 52px; border-bottom: 2px solid #b69b68; }.spark i { width: 8px; height: 45px; border: 2px solid #b69b68; border-bottom: 0; }.spark i:nth-child(even) { height: 25px; }
.bottom-note { margin: 38px 0 25px; padding: 28px 0; border-top: 1px solid var(--line); max-width: 790px; }.bottom-note h2 { font-size: 23px; }.bottom-note p { color: var(--muted); font-size: 13px; }.bottom-note a { font-size: 12px; color: var(--teal); }
.two-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 21px; align-items: start; }.panel { min-width: 0; padding: 25px; border: 1px solid var(--line); background: #fff; border-radius: 13px; margin-bottom: 20px; }.result-panel { background: #fbfcf9; }.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 17px; }.panel-heading h2 { font-size: 17px; font-weight: 650; margin: 0; }.panel-heading > span { font-size: 10px; color: var(--muted); }.panel h3 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
label { display: block; font-size: 11px; color: #62786d; margin-bottom: 6px; }input:not([type="range"]), textarea, select { width: 100%; border: 1px solid #d5e0d8; border-radius: 7px; padding: 9px 11px; background: #fff; font-size: 13px; }label > input, label > select { display: block; margin-top: 7px; }textarea { resize: vertical; min-height: 76px; line-height: 1.8; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }input[type="range"] { width: 100%; accent-color: var(--teal); min-height: 28px; margin: 0; }input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 10px; }.hint { font-size: 11px; color: var(--muted); margin: 10px 0 15px; line-height: 1.9; }.error { background: #fff0e7; color: var(--danger); padding: 11px 14px; border-left: 3px solid #c76a43; font-size: 12px; border-radius: 5px; }.status { color: var(--teal); font-size: 11px; min-height: 0; }.status:empty { margin: 0; }.inset { margin-top: 22px; padding: 18px; background: #f0f5ef; border: 1px solid #e0e8dd; border-radius: 9px; }.inset p { color: #687d70; font-size: 12px; margin: 0; }.empty { text-align: center; padding: 45px 20px; color: #84948a; font-size: 13px; }.big-symbol { display: inline-block; font: 40px ui-monospace, monospace; color: #9eb5a9; margin: 10px 0; }
.manual-result { border: 1px solid #d9e7db; border-radius: 9px; padding: 18px; background: #edf6eb; }.manual-result > span { display: block; font-size: 10px; color: var(--muted); }.manual-result output { display: block; font: 500 clamp(19px, 2.5vw, 27px)/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color: #1d6453; overflow-wrap: anywhere; margin: 7px 0 12px; }.manual-result button { font-size: 11px; padding: 5px 10px; }.notice { color: #8a733e; font-size: 11px; line-height: 1.8; }.field-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 0; }.field-item { padding: 13px 0; border-bottom: 1px solid var(--line); min-width: 0; }.field-item dt { font-size: 10px; color: var(--muted); }.field-item dd { margin: 4px 0 0; font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }.field-item small { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; color: #7f8d81; }.qr-result { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }.qr-result canvas { width: 160px; height: 160px; max-width: 100%; flex-shrink: 0; image-rendering: pixelated; border-radius: 6px; }.qr-result p { color: var(--muted); font-size: 11px; }.qr-result button { font-size: 11px; }
.controls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }.metric-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; padding: 10px 0 23px; border-bottom: 1px solid var(--line); }.metric-row > div { min-width: 0; }.metric-row span, .field-controls > div > span { font-size: 11px; display: block; color: var(--muted); }.metric-row output { display: block; overflow-wrap: anywhere; margin-top: 7px; }.number { font: 600 28px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.5px; }.mono { font: 15px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }.wrap { display: block; overflow-wrap: anywhere; white-space: pre-wrap; }.bit-heading { margin-top: 23px; }.bit-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }.bit { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 7px; border-radius: 6px; background: #f8faf7; }.bit small { font: 9px ui-monospace, monospace; color: #8d9b90; }.bit b { font: 600 20px/1.7 ui-monospace, monospace; }.bit[aria-pressed="true"] { background: #eaf2e9; }.bit.selected { border-color: #5d9d88; box-shadow: inset 0 -3px 0 #6ca28d; }.field-controls { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 20px; margin-top: 23px; align-items: end; }.field-controls output { display: block; overflow-wrap: anywhere; }
.power-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }.activities-heading { margin: 23px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }.activity { border: 1px solid var(--line); border-radius: 9px; background: #fafbf8; padding: 14px; margin-bottom: 12px; }.activity-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }.activity-top label { flex: 1; margin: 0; }.activity-top input { margin: 0; font-size: 12px; }.activity-top button { flex-shrink: 0; font-size: 10px; padding: 6px 9px; color: #8b7566; }.activity-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }.activity label { font-size: 10px; }.activity input { font-size: 12px; padding: 7px 8px; }.activity-current { display: flex; gap: 4px; }.activity-current input { min-width: 0; }.activity-current select { width: 61px; padding: 5px 2px; margin: 0; font-size: 10px; flex-shrink: 0; }.slider-label { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; }.slider-label span { white-space: nowrap; }.hero-metric { padding: 6px 0 24px; border-bottom: 1px solid var(--line); }.hero-metric > span { display: block; color: var(--muted); font-size: 11px; }.hero-metric output { display: block; font-size: clamp(26px, 3vw, 37px); margin-top: 7px; overflow-wrap: anywhere; color: var(--teal); }.small-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 21px 0; }.small-metrics span { display: block; font-size: 10px; color: var(--muted); }.small-metrics output { display: block; font-size: 16px; margin-top: 5px; font-weight: 550; }.bar-row { margin-bottom: 15px; }.bar-label { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; margin-bottom: 5px; }.bar-label span { overflow-wrap: anywhere; }.bar-track { background: #e8eee6; height: 7px; border-radius: 6px; overflow: hidden; }.bar-fill { background: #4b947d; height: 100%; width: 0; border-radius: inherit; }.bar-row:nth-child(2) .bar-fill { background: #9b88b3; }.bar-row:nth-child(3) .bar-fill { background: #b9a16d; }.bar-row:nth-child(4) .bar-fill { background: #739cb2; }.bar-row small { color: var(--muted); font-size: 10px; }.comparison-list { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; font-size: 11px; margin: 0; }.comparison-list dt { color: var(--muted); }.comparison-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.scope { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }.scope summary { cursor: pointer; }.scope p { max-width: 940px; }.scope a { color: var(--teal); text-decoration: underline; }.related { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 12px; margin: 20px 0 30px; color: var(--teal); }
footer { max-width: 1180px; margin: 10px auto 0; padding: 25px 0 30px; border-top: 1px solid var(--line); display: flex; gap: 20px; color: var(--muted); font-size: 11px; }footer a:first-child { color: var(--ink); font-weight: 600; }footer a:last-child { margin-left: auto; }.skip { position: fixed; left: 12px; top: -80px; padding: 10px 15px; background: white; z-index: 10; }.skip:focus { top: 10px; }
@media (max-width: 1000px) { .tool-nav { gap: 13px; }.two-panel { grid-template-columns: 1fr 1fr; }.panel { padding: 20px; }.power-layout { grid-template-columns: 1.3fr 1fr; }.activity-fields { grid-template-columns: 1fr 1fr; }.activity-fields label:last-child { grid-column: 1 / -1; }.tool-card { padding: 20px; }.tool-card h2 { font-size: 18px; }.tool-card p { min-height: 95px; }.qr-result { flex-wrap: wrap; }.controls-grid { gap: 10px; } }
@media (max-width: 720px) { header { height: auto; min-height: 78px; flex-wrap: wrap; padding: 17px 18px 9px; gap: 13px; }.brand { font-size: 18px; }.tool-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; font-size: 11px; }.back { margin-left: auto; }.intro { padding: 30px 0 23px; }h1 { font-size: 29px; }.intro > p:not(.eyebrow) { font-size: 13px; }main { padding: 0 17px; }.tool-cards, .two-panel, .power-layout { grid-template-columns: 1fr; }.tool-card p { min-height: 0; }.tool-card { padding: 24px; }.tool-card h2 { font-size: 23px; }.card-demo { height: 125px; }.tool-card strong { margin-top: 19px; }.panel { padding: 19px; margin-bottom: 15px; }.two-panel, .power-layout { gap: 0; }.controls-grid { grid-template-columns: 1fr 1fr; }.controls-grid > label:last-child { grid-column: 1 / -1; }.field-list { gap: 0 12px; }.qr-result { flex-wrap: nowrap; gap: 12px; }.qr-result canvas { width: 130px; height: 130px; }.manual-result output { font-size: 22px; }.metric-row { grid-template-columns: 1fr; gap: 13px; }.metric-row output { margin-top: 3px; }.number { font-size: 25px; }.bit-grid { gap: 4px; }.bit { padding: 5px 2px; }.bit b { font-size: 18px; }.bit small { font-size: 8px; }.bit-heading > span { font-size: 9px; }.bit-heading h2 { font-size: 14px; }.field-controls { grid-template-columns: 1fr 1fr; gap: 12px; }.field-controls > div { grid-column: 1 / -1; }.activity-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }.activity-fields label:last-child { grid-column: auto; }.activity-current { flex-direction: column; }.activity-current select { width: 100%; }.activity { padding: 12px; }.panel-heading { gap: 10px; }.panel-heading h2 { font-size: 16px; }.panel-heading > span { font-size: 9px; }.hero-metric output { font-size: 34px; }.small-metrics { grid-template-columns: 1fr 1fr 1fr; gap: 9px; }.small-metrics output { font-size: 14px; }footer { margin: 8px 17px 0; flex-wrap: wrap; gap: 10px; font-size: 10px; }footer a:last-child { width: 100%; margin: 0; }.scope { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* Six tools share a wrapping navigation on smaller screens. */
.tool-nav { flex-wrap: wrap; gap: 4px 16px; }
.file-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.drop-zone { min-width: 0; border: 2px dashed #b9cfc3; border-radius: 10px; padding: 22px; background: #f6faf5; }
.drop-zone.dragging { background: #e4f4e8; border-color: var(--teal); }
.drop-zone p { font-size: 12px; }
.range-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.range-list button { text-align: left; overflow-wrap: anywhere; }
.table-scroll { overflow: auto; max-height: 650px; border: 1px solid var(--line); border-radius: 8px; }
.data-table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.data-table th { position: sticky; top: 0; background: #edf4ee; z-index: 1; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.byte-table .changed { background: #fff0dd; color: #8c3e19; }
.timeline-table { table-layout: fixed; }
.timeline-table th:nth-child(1) { width: 85px; }
.timeline-table th:nth-child(2) { width: 175px; }
.timeline-table td { white-space: pre-line; overflow-wrap: anywhere; }
.timeline-table tr.longest { background: #fff5e4; }
.log-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; font: 12px/1.8 ui-monospace, monospace; }
.event-tag { display: inline-block; padding: 1px 6px; margin: 0 5px 4px 0; border-radius: 5px; background: #e3f0e6; color: #29644f; font-size: 10px; }
.stage-link { color: var(--teal); text-decoration: underline; font-size: 11px; }
.actions { align-items: center; }
.actions .offset-input { width: 180px; }
.dataset-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dataset-field { padding: 17px; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.dataset-field summary { font-size: 12px; cursor: pointer; color: var(--teal); }
.dataset-field .mono { font-size: 12px; }
.notice-list { padding-left: 30px; }
@media (max-width: 1000px) { header { height: auto; min-height: 78px; flex-wrap: wrap; padding-top: 15px; padding-bottom: 10px; gap: 12px; }.tool-nav { order: 3; width: 100%; justify-content: flex-start; }.back { margin-left: auto; } }
@media (max-width: 720px) { .file-grid, .range-list, .dataset-fields { grid-template-columns: 1fr; }.drop-zone { padding: 14px; }.data-table th, .data-table td { padding: 8px; }.timeline-table { min-width: 560px; }.timeline-table th:nth-child(2) { width: 145px; }.tool-nav { gap: 3px 15px; } }
