/* ツールの筆ばこ ― 昔の多機能筆箱をモチーフにした、落ち着いた大人向けのデザイン */
:root {
  --paper: #f5f0e6;
  --card: #fffdf8;
  --ink: #2b2a27;
  --ink-soft: #5f5a50;
  --line: #ddd4c2;
  --case: #2f4a3c;
  --case-dark: #1f3329;
  --case-light: #3e5f4e;
  --brass: #c9a227;
  --brass-dark: #9c7c14;
  --accent: #b84a32;
  --ok: #2f6b45;
  --warn: #9a5a00;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 4px 14px rgba(47, 74, 60, .08);
  --spring: cubic-bezier(.2, 1.6, .4, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: var(--case); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
img, svg, canvas { max-width: 100%; }
h1, h2, h3 { line-height: 1.4; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; padding-left: .6rem; border-left: 4px solid var(--brass); }
h3 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

/* ---------------------------------------------------------------- header：筆箱のふた */
.site-header {
  background: linear-gradient(180deg, var(--case-light), var(--case));
  color: #f3eedf;
  padding: .7rem max(1rem, calc((100% - 960px) / 2 + 1rem)) .55rem;
  display: flex; align-items: baseline; gap: .25rem 1rem; flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .08em; }
.logo:hover { color: #fff; }
.logo__icon { width: 1.6rem; height: 1.6rem; color: var(--brass); }
.site-header__tagline { margin: 0; font-size: .78rem; opacity: .8; }

/* ふたの下の金具のライン ＋ ツールの切り替えメニュー */
.lid {
  background: var(--case-dark);
  border-bottom: 3px solid var(--brass);
  box-shadow: inset 0 -1px 0 var(--brass-dark);
}
.lid__list {
  list-style: none; margin: 0 auto; padding: .4rem .75rem; max-width: 960px;
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none;
}
.lid__list::-webkit-scrollbar { display: none; }
.lid__list a {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
  padding: .3rem .75rem; border-radius: 999px; font-size: .85rem;
  color: #e9e3d2; text-decoration: none; border: 1px solid rgba(255, 255, 255, .15);
}
.lid__list a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lid__list a[aria-current="page"] { background: var(--brass); color: var(--case-dark); border-color: var(--brass); font-weight: 700; }

/* ---------------------------------------------------------------- main */
.main { max-width: 960px; margin: 0 auto; padding: 1rem 1rem 3rem; }
.breadcrumb ol { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "›"; margin: 0 .45rem; color: var(--line); }

.section, .tool-panel, .doc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.25rem; margin: 0 0 1.25rem; box-shadow: var(--shadow);
}
.section > :last-child, .doc > :last-child { margin-bottom: 0; }
.note { font-size: .85rem; color: var(--ink-soft); }
.notice { background: #fff6e0; border: 1px solid #ecd28f; border-radius: 8px; padding: .6rem .8rem; font-size: .9rem; }

/* ---------------------------------------------------------------- トップ：開いた筆箱 */
.hero { margin: .5rem 0 1.25rem; }
.hero h1 { font-size: 1.45rem; margin: 0 0 .35rem; }
.hero p { color: var(--ink-soft); margin: 0; }

.fudebako {
  position: relative;
  background: linear-gradient(180deg, var(--case), var(--case-dark));
  border-radius: 18px; padding: 1rem .75rem .9rem 2.4rem; margin: 0 0 1.5rem;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 10px 24px rgba(31, 51, 41, .25);
}
/* 側面のちょうつがい */
.fudebako::before {
  content: ""; position: absolute; left: .9rem; top: 1.2rem; bottom: 1.2rem; width: .45rem;
  border-radius: 4px; background: repeating-linear-gradient(180deg, var(--brass) 0 14px, var(--brass-dark) 14px 16px);
  opacity: .85;
}
.fudebako__title { color: #efe8d4; font-size: .8rem; letter-spacing: .25em; margin: 0 0 .6rem .2rem; }

.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 720px) { .tool-list { grid-template-columns: repeat(2, 1fr); } }

/* 引き出し（ボタンを押すと しゃきーん と出てくる） */
.drawer {
  position: relative; display: flex; align-items: center; gap: .8rem;
  padding: .8rem .9rem .8rem .7rem; min-height: 4.2rem;
  background: var(--card); color: var(--ink); text-decoration: none;
  border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 2px 0 var(--line);
  transition: transform .18s var(--spring), box-shadow .18s;
}
.drawer:hover { color: var(--ink); transform: translateX(6px); box-shadow: -6px 2px 0 rgba(0, 0, 0, .15); }
.drawer__button {
  flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3d977, var(--brass) 55%, var(--brass-dark));
  box-shadow: 0 2px 0 var(--brass-dark), inset 0 -1px 1px rgba(0, 0, 0, .2);
  transition: transform .08s, box-shadow .08s;
}
.drawer__icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; background: #eef2ec; color: var(--case); }
.drawer__icon .icon { width: 1.6rem; height: 1.6rem; }
.drawer__body { display: grid; gap: .1rem; min-width: 0; }
.drawer__name { font-size: 1.02rem; }
.drawer__summary { font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }
.drawer__arrow { margin-left: auto; font-size: 1.6rem; color: var(--brass-dark); line-height: 1; }

.drawer:active .drawer__button, .drawer.is-pushed .drawer__button { transform: translateY(2px); box-shadow: 0 0 0 var(--brass-dark), inset 0 1px 2px rgba(0, 0, 0, .3); }
.drawer.is-popping { animation: shakiin .26s var(--spring) forwards; }
@keyframes shakiin {
  0% { transform: translateX(0); }
  60% { transform: translateX(22px); }
  100% { transform: translateX(16px); box-shadow: -14px 2px 0 rgba(0, 0, 0, .18); }
}
/* 開いたときに、引き出しが順番に出てくる */
.page-top .fudebako .tool-list > li { animation: slideIn .42s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
@keyframes slideIn { from { transform: translateX(-28px); opacity: 0; } to { transform: none; opacity: 1; } }

.tool-list--small .drawer { min-height: 3.4rem; padding: .55rem .75rem; }
.tool-list--small .drawer__icon { width: 2.1rem; height: 2.1rem; }

/* ---------------------------------------------------------------- ツールのページ */
.tool__header { margin: .25rem 0 1rem; }
.tool__item { display: inline-flex; align-items: center; gap: .3rem; margin: 0 0 .2rem; font-size: .78rem; color: var(--case); background: #e7ede4; border-radius: 999px; padding: .1rem .6rem; }
.tool__header h1 { font-size: 1.5rem; margin: 0 0 .3rem; }
.tool__lead { color: var(--ink-soft); margin: 0; }

.tool-panel { border-top: 4px solid var(--case); }
.field { margin: 0 0 1rem; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field-row { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: flex-end; }
.field-row > .field { margin: 0; }
textarea, input[type="text"], input[type="url"], input[type="number"], select {
  font: inherit; color: inherit; width: 100%;
  border: 1px solid #c9bfa9; border-radius: 8px; background: #fff; padding: .6rem .7rem;
}
textarea { resize: vertical; min-height: 10rem; line-height: 1.7; }
input[type="number"] { width: 7.5rem; }
select { width: auto; min-width: 8rem; }
input[type="color"] { width: 3rem; height: 2.4rem; border: 1px solid #c9bfa9; border-radius: 8px; padding: .15rem; background: #fff; }
input[type="range"] { width: 100%; accent-color: var(--case); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--case); width: 1.1rem; height: 1.1rem; vertical-align: -.15em; }
.choice { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1rem; font-size: .95rem; cursor: pointer; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  min-height: 2.75rem; padding: .5rem 1.15rem; border-radius: 999px;
  background: var(--case); color: #fff; border: 1px solid var(--case-dark);
  box-shadow: 0 3px 0 var(--case-dark); transition: transform .06s, box-shadow .06s;
}
.button:hover { color: #fff; background: var(--case-light); }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--case-dark); }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.button--sub { background: var(--card); color: var(--case); border-color: #c9bfa9; box-shadow: 0 3px 0 #c9bfa9; }
.button--sub:hover { background: #f3efe4; color: var(--case); }
.button--small { min-height: 2.2rem; padding: .3rem .8rem; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }

/* 結果の数字 */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1rem 0 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #f7f4ec; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; margin: 0; }
.stat dt { font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.stat dd { margin: 0; font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat dd small { font-size: .78rem; font-weight: 400; color: var(--ink-soft); margin-left: .15rem; }
.stat--main { grid-column: 1 / -1; background: #eef2ec; border-color: #c5d3c4; }
.stat--main dd { font-size: 2.1rem; color: var(--case); }
@media (min-width: 720px) { .stat--main { grid-column: span 2; } }

/* ドロップ領域 */
.dropzone {
  display: grid; place-items: center; text-align: center; gap: .4rem;
  border: 2px dashed #b9ad93; border-radius: var(--radius); background: #faf7f0;
  padding: 1.6rem 1rem; cursor: pointer; transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.is-over { background: #eef2ec; border-color: var(--case); }
.dropzone strong { font-size: 1.05rem; }
.dropzone .icon { width: 2.2rem; height: 2.2rem; color: var(--case); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.results { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.result { display: grid; grid-template-columns: 4.5rem 1fr; gap: .4rem .8rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: .6rem; background: #fff; }
.result img { width: 4.5rem; height: 4.5rem; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 12px 12px; border-radius: 6px; }
.result__name { font-weight: 700; font-size: .9rem; word-break: break-all; line-height: 1.4; }
.result__meta { font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }
.result__meta b { color: var(--ink); }
.result__actions { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.diff-down { color: var(--ok); font-weight: 700; }
.diff-up { color: var(--warn); font-weight: 700; }
.result--error { grid-template-columns: 1fr; color: var(--accent); }
@media (min-width: 720px) { .result { grid-template-columns: 4.5rem 1fr auto; } .result__actions { grid-column: auto; } }

/* QR */
.qr-layout { display: grid; gap: 1rem; }
@media (min-width: 720px) { .qr-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.qr-preview { display: grid; place-items: center; gap: .5rem; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; min-height: 240px; }
.qr-preview canvas { width: 240px; height: 240px; image-rendering: pixelated; background: #fff; }
.qr-preview canvas[hidden] { display: none; }
.qr-info { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 0; }
.warn { color: var(--warn); font-size: .88rem; margin: .5rem 0 0; }
.warn:empty { display: none; }

/* ---------------------------------------------------------------- 広告枠 */
.ad-slot { margin: 1.5rem 0; min-height: 100px; text-align: center; }
.ad-slot__label { font-size: .7rem; color: var(--ink-soft); margin: 0 0 .25rem; letter-spacing: .1em; }
.ad-slot--dummy { display: grid; place-items: center; border: 2px dashed #c9bfa9; border-radius: 8px; color: #a39a86; font-size: .8rem; min-height: 120px; }

/* ---------------------------------------------------------------- 記事・FAQ */
.section ol, .section ul:not(.tool-list), .doc ol, .doc ul { padding-left: 1.4em; margin: 0 0 1em; }
.section li, .doc li { margin-bottom: .25em; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 0 0 1em; }
th, td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
th { background: #f3efe4; white-space: nowrap; }
.faq__item { border-top: 1px solid var(--line); padding: .2rem 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; font-weight: 700; padding: .55rem 0; list-style-position: outside; margin-left: 1.1em; }
.faq__item p { margin: 0 0 .75rem 1.1em; color: var(--ink-soft); }

.doc h1 { font-size: 1.4rem; margin: 0 0 1rem; }
.doc h2 { margin-top: 1.75rem; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.doc dt { font-weight: 700; }
.doc dd { margin: 0; }
@media (max-width: 480px) { .doc dl { grid-template-columns: 1fr; } .doc dd { margin-bottom: .5rem; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--case-dark); color: #d9d2bf; padding: 1.5rem 1rem 2rem; text-align: center; font-size: .85rem; border-top: 3px solid var(--brass); }
.site-footer__links { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; }
.site-footer a { color: #f1ead6; }
.site-footer__copy { margin: 0; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- タイマー・ストップウォッチ */
.clock { text-align: center; background: var(--case-dark); color: #f3eedf; border-radius: var(--radius); padding: 1.1rem 1rem 1rem; margin: 0 0 1rem; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35); }
.clock__display { margin: 0; font-size: clamp(3.4rem, 17vw, 7.5rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: .02em; font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Hiragino Sans", monospace; }
.clock__display--sw { font-size: clamp(2.8rem, 14vw, 6.5rem); }
.clock__bar { height: 6px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; margin: .6rem auto 0; max-width: 520px; }
.clock__bar span { display: block; height: 100%; background: var(--brass); transform-origin: left; transition: transform .25s linear; }
.clock__status { margin: .4rem 0 0; font-size: .85rem; min-height: 1.3em; color: #d9d2bf; }
.clock-panel[data-state="paused"] .clock__display { opacity: .6; }
.clock-panel[data-state="done"] .clock { animation: ring 1s steps(2) infinite; }
@keyframes ring { 50% { background: var(--accent); } }
.actions--center { justify-content: center; }
.button--big { min-height: 3.4rem; min-width: 7.5rem; font-size: 1.1rem; }
.button--alarm { background: var(--accent); border-color: #8c3624; box-shadow: 0 3px 0 #8c3624; }
.button--alarm:hover { background: #cf5a40; }
input.input-time { width: 5.5rem; }
.laps { margin-top: 1rem; font-variant-numeric: tabular-nums; }
.laps td:first-child { width: 3rem; }
.lap--best td { color: var(--ok); font-weight: 700; }
.lap--worst td { color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------- 日付・お金の道具 */
input[type="date"] {
  font: inherit; color: inherit; border: 1px solid #c9bfa9; border-radius: 8px; background: #fff;
  padding: .5rem .6rem; min-height: 2.75rem; min-width: 10.5rem;
}
.tool-panel > h2 { margin-bottom: 1rem; }
.inline-fields { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.inline-fields input[type="number"] { width: 5rem; }
input.input-money { width: 10rem; }
.convert-arrow { margin: 0 0 .55rem; font-size: 1.4rem; color: var(--brass-dark); }
.stat__text { font-size: 1.1rem; line-height: 1.5; display: inline-block; }
.stat--main .stat__text { font-size: 1.35rem; }
.table-wrap--tall { max-height: 26rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap--tall table { margin: 0; }
.table-wrap--tall th { position: sticky; top: 0; z-index: 1; }
.hayami { font-variant-numeric: tabular-nums; }
.hayami tr.is-current td { background: #fbf3d6; font-weight: 700; }
.groups { table-layout: auto; }
.groups th, .groups td { padding: .35rem .3rem; vertical-align: middle; }
.groups input[type="text"] { min-width: 0; width: 100%; padding: .45rem .5rem; }
.groups input[type="number"] { width: 3.6rem; padding: .45rem .4rem; }
.groups select { min-width: 0; padding: .45rem .3rem; }
.groups .g-del { min-height: 2.2rem; padding: .2rem .65rem; }

/* ---------------------------------------------------------------- ホワイトボード */
.wb { padding: .75rem; }
.wb__bar { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-bottom: .6rem; }
.wb__group { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.wb__btn {
  font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; min-height: 2.4rem; padding: .2rem .7rem;
  border-radius: 8px; border: 1px solid #c9bfa9; background: var(--card); color: var(--case);
}
.wb__btn:hover { background: #f3efe4; }
.wb__btn[aria-pressed="true"] { background: var(--case); color: #fff; border-color: var(--case-dark); }
.wb__btn[disabled] { opacity: .45; cursor: not-allowed; }
.wb__btn--main { background: var(--brass); border-color: var(--brass-dark); color: #2b2a27; }
.wb__btn--main:hover { background: #d8b33a; }
.wb__size { width: 2.6rem; display: inline-grid; place-items: center; }
.wb__size i { display: block; width: var(--s); height: var(--s); border-radius: 50%; background: currentColor; }
.wb__color {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #b9ae96;
}
.wb__color[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--case); }
.wb__select { min-width: 0; min-height: 2.4rem; padding: .2rem .5rem; font-size: .85rem; }
.wb__stage {
  position: relative; height: clamp(320px, 62vh, 760px); border-radius: 8px; overflow: hidden;
  border: 1px solid #c9bfa9; background: #fff; touch-action: none;
}
.wb__stage[data-bg="grid"] {
  background-color: #fff;
  background-image: linear-gradient(#e1e6ee 1px, transparent 1px), linear-gradient(90deg, #e1e6ee 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.wb__stage[data-bg="black"] { background: #22392e; border-color: #5b4a2e; box-shadow: inset 0 0 0 6px #7a5a33; }
.wb__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#wb-live { cursor: crosshair; }
.wb--full {
  position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; border-top: 0;
  display: flex; flex-direction: column; max-width: none; width: 100%; height: 100%;
}
.wb--full .wb__stage { flex: 1; height: auto; }
.wb--full .note { display: none; }
.wb-lock, .wb-lock body { overflow: hidden; }

/* トップの道具の種類見出し・関連する道具 */
.fudebako__group { color: #e2d6ae; font-size: .82rem; font-weight: 700; letter-spacing: .12em; margin: 1.1rem 0 .5rem .2rem; }
.fudebako__group:first-of-type { margin-top: .2rem; }
.related__more { margin: .9rem 0 0; text-align: right; font-size: .92rem; }
@media (max-width: 600px) {
  .wb { padding: .5rem; }
  .wb__bar { gap: .3rem .5rem; }
  .wb__btn { min-height: 2.2rem; padding: .15rem .55rem; font-size: .8rem; }
  .wb__size { width: 2.2rem; }
  .wb__color { width: 1.85rem; height: 1.85rem; }
  .wb__select { min-height: 2.2rem; font-size: .8rem; }
}
/* 全画面では、道具を1行にまとめて横にスクロールする（ボードを広く使う） */
.wb--full .wb__bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .1rem; }
.wb--full .wb__bar::-webkit-scrollbar { display: none; }
.wb--full .wb__group { flex-wrap: nowrap; flex: none; }
#wk-dy, #wk-dm, #wk-dd { width: 3.2rem; padding-left: .4rem; padding-right: .2rem; }
#wk-era, #wk-dera { min-width: 0; width: 5.2rem; padding-left: .5rem; padding-right: .2rem; }
.inline-fields { gap: .25rem; }
