/* ============================================================
   bid-matcher Next（実験UI）
   二極構成: 操作・ブランドの層は表現力（シェーダー・Liquid・形の変化）、
             読む層は静かで平ら（白い面・罫線・大きめの文字）。
   ============================================================ */
:root {
  --paper: #f4f1ea; --paper-2: #ece7dc; --sheet: #fffdf9; --sheet-2: #f8f5ef;
  --ink: #16140f; --ink-2: #4a4439; --ink-3: #5f584c;   /* 2026-10-13: #6f675a は小さく薄いと試験で103件の指摘（「見やすさが一番」）→ 1段濃く（白地で 6.9:1） */
  --line: rgba(40, 30, 10, .10); --line-2: rgba(40, 30, 10, .18);
  --night: #0b1020; --night-2: #16203f;
  --sun: #d9481f; --sun-deep: #a83210; --amber: #f4a13a;
  --sunrise: linear-gradient(120deg, #d9481f, #ef7a2a 55%, #f4b04a);
  --ok: #276443; --ok-soft: #e1efe5; --warn: #855300; --warn-soft: #f9ecd2; --bad: #9d2a1f; --bad-soft: #fae2dd; --sky: #2c5b75; --sky-soft: #e2edf3;
  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --f-num: "Bricolage Grotesque", "Zen Kaku Gothic New", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  /* 形の階層（Expressive）: 読む面は控えめ、操作は大胆に */
  --r-read: 14px; --r-obj: 22px; --r-act: 999px;
  --lq-tint: rgba(255, 252, 246, .55);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-scheme="light"])) { --paper: #0e1016; --paper-2: #151821; --sheet: #171a22; --sheet-2: #1c2029; --ink: #f2ede3; --ink-2: #cbc3b4; --ink-3: #b3ab9e;
    --line: rgba(255, 240, 210, .09); --line-2: rgba(255, 240, 210, .17); --sun: #ff7a45; --sun-deep: #ff9a6b;
    --ok: #86cfa4; --ok-soft: #17291f; --warn: #f0c068; --warn-soft: #2f2511; --bad: #ff9c8c; --bad-soft: #3a1c18; --sky: #9cc7de; --sky-soft: #1b2a33;
    --lq-tint: rgba(24, 27, 35, .55); color-scheme: dark; }
} /* scheme-mirror */ @media all {
  :root:where([data-scheme="dark"]) { --paper: #0e1016; --paper-2: #151821; --sheet: #171a22; --sheet-2: #1c2029; --ink: #f2ede3; --ink-2: #cbc3b4; --ink-3: #b3ab9e;
    --line: rgba(255, 240, 210, .09); --line-2: rgba(255, 240, 210, .17); --sun: #ff7a45; --sun-deep: #ff9a6b;
    --ok: #86cfa4; --ok-soft: #17291f; --warn: #f0c068; --warn-soft: #2f2511; --bad: #ff9c8c; --bad-soft: #3a1c18; --sky: #9cc7de; --sky-soft: #1b2a33;
    --lq-tint: rgba(24, 27, 35, .55); color-scheme: dark; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-jp); font-size: 16px; line-height: 1.75; font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased; }
a { color: var(--sun-deep); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.nx-skip:focus { left: 8px; }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; }

/* ─────────── 上部の Liquid バー ─────────── */
.nx-top { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nx-bar { pointer-events: auto; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 8px 0 16px; width: min(1180px, calc(100vw - 24px)); --lq-radius: 22px; }
.nx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; white-space: nowrap; }
.nx-brand__sun { width: 28px; height: 28px; border-radius: 50%; background: var(--sunrise); box-shadow: 0 6px 18px -6px rgba(217, 72, 31, .7); position: relative; overflow: hidden; }
.nx-brand__sun::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 2px; background: rgba(255,255,255,.7); box-shadow: 0 5px 0 rgba(255,255,255,.7); }
.nx-brand__name { font-family: var(--f-num); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.nx-brand__name sup { font-size: 10px; font-weight: 800; letter-spacing: .08em; margin-left: 3px; padding: 2px 6px; border-radius: 999px; background: var(--ink); color: var(--paper); vertical-align: 6px; }
.nx-seg { margin-left: 8px; }
.nx-seg a { text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.nx-bar__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nx-density { min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.nx-me { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 900; }

/* ─────────── ホーム: 空と目的の入力 ─────────── */
.nx-hero { position: relative; min-height: min(86vh, 800px); display: grid; align-items: end; padding: 120px 24px 72px; overflow: hidden; color: #fbf6ec; isolation: isolate; background: var(--night); }
.nx-hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.nx-hero { border-radius: 0 0 36px 36px; }
.nx-hero__inner { width: min(1080px, 100%); margin: 0 auto; }
.nx-hero__hello { margin: 0 0 12px; font-weight: 700; font-size: 15px; letter-spacing: .06em; opacity: .85; }
.nx-hero__h { margin: 0; font-weight: 900; font-size: clamp(44px, 8.4vw, 120px); line-height: 1.02; letter-spacing: -.02em; text-shadow: 0 10px 60px rgba(10, 8, 30, .35); }
.nx-morphword { display: inline-block; background: linear-gradient(100deg, #fff7e6, #ffc27a 45%, #ff8a4c); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter .38s var(--ease), opacity .38s var(--ease), transform .38s var(--ease); }
.nx-morphword.is-out { filter: blur(10px); opacity: 0; transform: translateY(12px) scaleY(.9); }
.nx-hero__sub { margin: 22px 0 30px; max-width: 46em; font-size: 17px; opacity: .88; }
.nx-hero__sub b { font-family: var(--f-num); font-size: 1.15em; }
.nx-goal { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; --lq-radius: 26px; --lq-tint: rgba(255, 250, 240, .16); color: #fff; max-width: 860px; }
.nx-goal__spark { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(244, 161, 58, .25), 0 0 24px rgba(244, 161, 58, .9); animation: nx-breathe 3.6s ease-in-out infinite; flex: none; }
@keyframes nx-breathe { 50% { box-shadow: 0 0 0 10px rgba(244, 161, 58, .12), 0 0 36px rgba(244, 161, 58, .6); } }
.nx-goal input { flex: 1; min-width: 0; height: 60px; border: 0; background: transparent; color: #fff; font-size: 20px; font-weight: 500; outline: none; }
.nx-goal input::placeholder { color: rgba(255, 246, 230, .62); }
.nx-goal__go { height: 52px; padding: 0 26px; border: 0; border-radius: 20px; background: var(--sunrise); color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 12px 30px -12px rgba(217, 72, 31, .9); }
.nx-suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nx-chip { min-height: 44px; padding: 0 18px; border: 0; cursor: pointer; font-weight: 700; font-size: 14px; color: #fff; --lq-radius: 999px; --lq-tint: rgba(255, 250, 240, .12); }

/* エージェントの手順 */
.nx-run { scroll-margin-top: 90px; width: min(1080px, calc(100% - 32px)); margin: -24px auto 0; position: relative; z-index: 2; background: var(--sheet); border-radius: 28px; padding: 26px 30px 30px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(40, 20, 0, .35); }
.nx-run__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nx-run__head h2 { margin: 0; font-size: 22px; font-weight: 900; }
.nx-run__ctl { display: flex; gap: 8px; }
.nx-steps { list-style: none; margin: 16px 0 0; padding: 0 0 0 6px; display: grid; gap: 4px; position: relative; }
.nx-steps::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.nx-step { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 16px; padding: 6px 0; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .5s var(--spring); transition-delay: calc(var(--i) * 140ms); }
.nx-step.is-in { opacity: 1; transform: none; }
.nx-step__dot { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--sheet); box-shadow: 0 0 0 3px var(--ok) inset; z-index: 1; }
.nx-step b { font-weight: 900; }
.nx-step span:last-child { grid-column: 2; font-size: 14px; color: var(--ink-3); }
.nx-run.is-running .nx-step:last-child .nx-step__dot { box-shadow: 0 0 0 3px var(--sun) inset; animation: nx-breathe 1.2s infinite; }

/* 下見の案件（形のあるオブジェクト） */
.nx-feed, .nx-kinds, .nx-watch, .nx-case { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nx-feed { padding: 56px 0 8px; }
.nx-sechead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nx-sechead h1, .nx-sechead h2 { margin: 0; font-weight: 900; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.01em; }
.nx-sechead p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; max-width: 60em; }
.nx-link { font-weight: 900; text-decoration: none; white-space: nowrap; }
.nx-objs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.nx-obj { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind date" "title title" "org org" "why why"; gap: 6px 12px; min-height: 170px;
  padding: 20px 22px; border-radius: var(--r-obj); background: var(--sheet); color: inherit; text-decoration: none; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -22px rgba(40, 20, 0, .5); transition: transform .45s var(--spring), box-shadow .3s, border-radius .45s var(--spring); }
.nx-obj::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--kind-color, var(--ink-3)); transform-origin: left; transform: scaleX(.18); transition: transform .5s var(--ease); }
@media (hover: hover) { .nx-obj:hover { transform: translateY(-4px); border-radius: 30px 30px 30px 12px; box-shadow: 0 0 0 1px var(--line-2), 0 24px 44px -26px rgba(40, 20, 0, .6); } }
@media (hover: hover) { .nx-obj:hover::before { transform: scaleX(1); } }
.nx-obj:active { transform: scale(.985); }
.nx-obj__kind { grid-area: kind; justify-self: start; align-self: start; line-height: 1.6; font-size: 12px; font-weight: 900; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--kind-soft, var(--paper-2)); color: var(--kind-color, var(--ink-2)); }
.nx-obj__date { grid-area: date; text-align: right; font-size: 12px; color: var(--ink-3); line-height: 1.2; }
.nx-obj__date b { display: block; font-family: var(--f-num); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: -.03em; }
.nx-obj__title { grid-area: title; font-weight: 900; font-size: 17px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nx-obj__org { grid-area: org; font-size: 13px; color: var(--ink-3); }
.nx-obj__why { grid-area: why; font-size: 13px; color: var(--ink-2); padding-top: 8px; border-top: 1px dashed var(--line-2); }
[data-kind="物品"] { --kind-color: #a83210; --kind-soft: #fbe6dc; }
[data-kind="工事"] { --kind-color: #2c5b75; --kind-soft: #e1ecf2; }
[data-kind="役務"] { --kind-color: #5d4a86; --kind-soft: #ebe6f4; }
[data-kind="保守・維持管理"] { --kind-color: #276443; --kind-soft: #e1efe5; }
[data-kind="IT"] { --kind-color: #1d5f8a; --kind-soft: #e0edf6; }
.nx-objs--ranked li { animation: nx-rise .6s var(--spring) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes nx-rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.nx-kinds { display: flex; flex-wrap: wrap; gap: 10px; padding: 26px 0 64px; }
.nx-kind { display: inline-flex; align-items: baseline; gap: 8px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 18px 18px 18px 6px; background: var(--sheet); cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring), border-radius .4s var(--spring); }
@media (hover: hover) { .nx-kind:hover { transform: translateY(-2px) rotate(-.5deg); border-radius: 6px 18px 18px 18px; } }
.nx-kind b { font-family: var(--f-num); font-size: 24px; font-weight: 700; }
.nx-kind span { font-weight: 700; color: var(--ink-2); }

/* ─────────── 案件画面（読む層は平ら） ─────────── */
.nx-case { padding: 96px 0 140px; }
.nx-case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.nx-back { font-weight: 900; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.nx-plan { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); font-weight: 700; }
.nx-plan__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sunrise); box-shadow: 0 0 0 4px rgba(217, 72, 31, .15); display: inline-block; flex: none; }
.nx-plan__who { color: var(--ink-3); font-weight: 500; padding-left: 8px; border-left: 1px solid var(--line-2); }
.nx-adapt { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); }
.nx-adapt button { border: 0; background: none; color: var(--sun-deep); font-weight: 900; cursor: pointer; text-decoration: underline; min-height: 32px; }

.nx-canvas, .nx-gen { display: grid; gap: 16px; }
.nx-gen { margin-top: 26px; scroll-margin-top: 90px; }
.nx-gen:empty { display: none; }
.nx-gen__head { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 15px; }
.nx-gen__head small { font-weight: 500; color: var(--ink-3); }
.nx-assemble { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }
.nx-assemble.is-in { opacity: 1; transform: none; }

.nx-b-brief { padding: 30px 34px; border-radius: 28px; background: linear-gradient(160deg, var(--sheet) 55%, #fff1e6); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(60, 20, 0, .6); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-b-brief { background: linear-gradient(160deg, var(--sheet) 55%, #2a1d17); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-b-brief { background: linear-gradient(160deg, var(--sheet) 55%, #2a1d17); } }
.nx-b-brief__kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.nx-pill { padding: 3px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.nx-b-brief__title { margin: 12px 0 6px; font-size: clamp(26px, 3.2vw, 42px); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.nx-b-brief__org { margin: 0; font-weight: 700; color: var(--ink-2); }
.nx-b-brief__sum { margin: 14px 0 0; font-size: 17px; line-height: 1.9; max-width: 52em; }

.nx-b-actions { position: sticky; top: 84px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; }
.nx-act { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 12px; border: 0; cursor: pointer; font-weight: 900; font-size: 15px; --lq-radius: 999px; }
.nx-act__shape { width: 22px; height: 22px; background: var(--sunrise); clip-path: var(--shape-circle); transition: clip-path .5s var(--spring), transform .5s var(--spring); }
@media (hover: hover) { .nx-act:hover .nx-act__shape { clip-path: var(--shape-cookie); transform: rotate(45deg); } }
.nx-act.is-on .nx-act__shape { clip-path: var(--shape-diamond); }
.nx-act.is-busy .nx-act__shape { animation: nx-morph 1.1s var(--ease) infinite; }
:root {
  /* 同じ頂点数（12）の多角形どうしで形を変化させる（Expressive の形の変化） */
  --shape-circle: polygon(50% 0%, 75% 7%, 93% 25%, 100% 50%, 93% 75%, 75% 93%, 50% 100%, 25% 93%, 7% 75%, 0% 50%, 7% 25%, 25% 7%);
  --shape-cookie: polygon(50% 0%, 68% 18%, 93% 25%, 82% 50%, 93% 75%, 68% 82%, 50% 100%, 32% 82%, 7% 75%, 18% 50%, 7% 25%, 32% 18%);
  --shape-diamond: polygon(50% 0%, 62% 20%, 80% 30%, 100% 50%, 80% 70%, 62% 80%, 50% 100%, 38% 80%, 20% 70%, 0% 50%, 20% 30%, 38% 20%);
}
@keyframes nx-morph { 0% { clip-path: var(--shape-circle); transform: rotate(0); } 33% { clip-path: var(--shape-cookie); } 66% { clip-path: var(--shape-diamond); } 100% { clip-path: var(--shape-circle); transform: rotate(180deg); } }
.nx-forming { display: flex; align-items: center; gap: 14px; padding: 28px; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); font-weight: 700; color: var(--ink-2); }
.nx-forming__shape { width: 34px; height: 34px; background: var(--sunrise); animation: nx-morph 1.2s var(--ease) infinite; }

.nx-block { border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.nx-block__head { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 18px 24px; border: 0; background: none; text-align: left; cursor: pointer; min-height: 56px; }
.nx-block__title { font-weight: 900; font-size: 19px; }
.nx-block__help { font-size: 13px; color: var(--ink-3); display: none; }
[data-density="first"] .nx-block__help { display: inline; }
.nx-block__chev { width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .35s var(--spring); }
.nx-block.is-folded .nx-block__chev { transform: rotate(-45deg); }
.nx-block__body { padding: 0 24px 22px; }
.nx-block.is-folded .nx-block__body { display: none; }
[data-density="daily"] .nx-block__head, :root:not([data-density]) .nx-block__head { padding: 14px 22px; min-height: 48px; }
[data-density="daily"] .nx-ev, :root:not([data-density]) .nx-ev { font-size: 13px; }
.nx-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.nx-state { display: inline-block; font-size: 11px; font-weight: 900; padding: 1px 8px; border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.nx-state--ok { background: var(--ok-soft); color: var(--ok); } .nx-state--open { background: var(--warn-soft); color: var(--warn); }
.nx-state--ng { background: var(--bad-soft); color: var(--bad); } .nx-state--info { background: var(--sky-soft); color: var(--sky); }

.nx-facts { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 0; margin: 0; }
.nx-facts dt, .nx-facts dd { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.nx-facts dt { font-weight: 900; color: var(--ink-2); padding-right: 16px; }
.nx-ev { margin-top: 8px; } .nx-ev summary { cursor: pointer; color: var(--sun-deep); font-weight: 700; font-size: 13px; min-height: 28px; }
.nx-ev p { white-space: pre-wrap; font-size: 13px; line-height: 1.8; background: var(--sheet-2); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--ink-2); }

.nx-qualify { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-qualify__row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 12px; background: var(--sheet-2); }
.nx-qualify__k { font-weight: 900; }
.nx-qualify__v { line-height: 1.8; }

.nx-tl { list-style: none; margin: 4px 0 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 2px; }
.nx-tl::before { content: ""; position: absolute; left: 104px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber), var(--sun)); border-radius: 2px; }
.nx-tl__ev { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 26px; padding: 10px 0; position: relative; }
.nx-tl__ev::after { content: ""; position: absolute; left: 99px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--sheet); box-shadow: 0 0 0 3px var(--sun) inset; }
.nx-tl__ev.is-past { opacity: .55; } .nx-tl__ev.is-past::after { box-shadow: 0 0 0 3px var(--ink-3) inset; }
.nx-tl__ev time { text-align: right; line-height: 1.1; }
.nx-tl__ev time b { display: block; font-family: var(--f-num); font-weight: 700; font-size: 26px; letter-spacing: -.03em; }
.nx-tl__ev time small { color: var(--ink-3); font-size: 12px; }
.nx-tl__label { font-weight: 900; display: block; } .nx-tl__detail { font-size: 14px; color: var(--ink-3); }
.nx-tl__odd { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--warn); background: var(--warn-soft); padding: 1px 8px; border-radius: 999px; }
.nx-tl__now { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 26px; padding: 4px 0; }
.nx-tl__now span { grid-column: 2; justify-self: start; font-size: 12px; font-weight: 900; color: #fff; background: var(--sun); padding: 2px 10px; border-radius: 999px; box-shadow: 0 0 0 4px rgba(217, 72, 31, .15); }

.nx-scope { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.nx-scope > div { padding: 16px; border-radius: 12px; background: var(--sheet-2); }
.nx-scope__main { background: #fff1e6 !important; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-scope__main { background: #2a1d17 !important; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-scope__main { background: #2a1d17 !important; } }
.nx-scope__k { font-size: 12px; font-weight: 900; letter-spacing: .06em; color: var(--ink-3); }
.nx-scope p { margin: 6px 0 0; line-height: 1.85; }

.nx-tablewrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.nx-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nx-table th { text-align: left; font-size: 13px; color: var(--ink-2); background: var(--sheet-2); padding: 10px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.nx-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.nx-table tr:last-child td { border-bottom: 0; }
.nx-table .num { text-align: right; font-family: var(--f-num); white-space: nowrap; }
.nx-table__spec { font-size: 13px; color: var(--ink-2); max-width: 40em; }
.nx-compare td small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.nx-compare tr.is-open td:nth-child(2) b { color: var(--ink); } .nx-compare tr.is-ng td:nth-child(2) b { color: var(--ink-3); font-weight: 500; }

.nx-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-check__row label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--sheet-2); cursor: pointer; transition: background .2s; }
.nx-check__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-check__box { width: 24px; height: 24px; border-radius: 8px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink-3) 70%, transparent) inset;   /* 枠は文字の薄い色から（10/20 r11b m7: 暗い表示で地とほぼ同じ暗さだった） */ display: grid; place-items: center; transition: background .25s, box-shadow .25s, border-radius .4s var(--spring); }
.nx-check__row input:checked + .nx-check__box { background: var(--ok); box-shadow: none; border-radius: 50%; }
.nx-check__row input:checked + .nx-check__box::after { content: ""; width: 10px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.nx-check__row input:focus-visible + .nx-check__box { outline: 3px solid var(--sun); outline-offset: 2px; }
.nx-check__row input:checked ~ .nx-check__t { text-decoration: line-through; color: var(--ink-3); }
.nx-check__row small { grid-column: 2; font-size: 12px; color: var(--ink-3); }
.nx-check__row.is-ng label { background: var(--bad-soft); }

.nx-unknowns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-unknowns li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); }
.nx-unknowns b { color: var(--warn); } .nx-unknowns small { color: var(--ink-3); }

.nx-sources { display: grid; gap: 8px; }
.nx-src { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: 12px; background: var(--sheet-2); text-decoration: none; color: inherit; font-weight: 700; transition: transform .3s var(--spring); }
@media (hover: hover) { .nx-src:hover { transform: translateX(4px); } }
.nx-src__k { font-family: var(--f-num); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.nx-muted { color: var(--ink-3); font-size: 13px; margin: 6px 0 0; }
.nx-callout { padding: 14px 18px; border-radius: 12px; background: var(--sky-soft); color: var(--sky); font-weight: 700; }
.nx-callout--bad { background: var(--bad-soft); color: var(--bad); }
.nx-empty { padding: 30px; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); }

.nx-btn { min-height: 44px; padding: 0 16px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 900; transition: transform .3s var(--spring), background .2s; }
.nx-btn:active { transform: scale(.96); }
.nx-btn--quiet { background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-btn--go { background: var(--sunrise); color: #fff; box-shadow: 0 10px 24px -14px rgba(217, 72, 31, .9); }

/* ─────────── 監督画面 ─────────── */
.nx-watch { padding: 104px 0 120px; }
.nx-sechead--page h1 { font-size: clamp(34px, 4.4vw, 56px); }
.nx-watch__count { font-family: var(--f-num); font-weight: 700; font-size: 15px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-lanes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.nx-lane h2 { margin: 0; font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.nx-lane__n { font-family: var(--f-num); font-size: 15px; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.nx-lane__note { margin: 4px 0 12px; font-size: 13px; color: var(--ink-3); }
.nx-decks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-deck { border-radius: 20px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: opacity .35s, transform .45s var(--spring); }
.nx-deck__body { display: grid; gap: 4px; padding: 16px 18px 10px; text-decoration: none; color: inherit; }
.nx-deck__body .nx-obj__kind { justify-self: start; }
.nx-deck__body b { font-weight: 900; line-height: 1.55; }
.nx-deck__org { font-size: 13px; color: var(--ink-3); }
.nx-deck__why { display: flex; flex-wrap: wrap; gap: 6px; } .nx-deck__why span { font-size: 12px; padding: 2px 8px; border-radius: 8px; background: var(--sheet-2); color: var(--ink-2); }
.nx-deck__act { display: flex; gap: 8px; padding: 0 18px 16px; }
.nx-deck[data-decided="adopt"] { box-shadow: 0 0 0 2px var(--ok); }
.nx-deck[data-decided="adopt"] [data-decide="adopt"], .nx-deck[data-decided="skip"] [data-decide="skip"] { display: none; }
.nx-deck[data-decided="skip"] { opacity: .5; transform: scale(.98); }
.nx-deck[data-decided] [data-decide="adopt"], .nx-deck[data-decided] [data-decide="skip"] { }
.nx-deck[data-decided="adopt"] [data-decide="skip"], .nx-deck[data-decided="skip"] [data-decide="adopt"] { display: none; }

/* ─────────── 共通 ─────────── */
.nx-foot { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 120px; font-size: 12px; color: var(--ink-3); line-height: 1.9; }
.nx-toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 24px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: #1f1b15; color: #f5efe4; font-weight: 700; font-size: 14px; pointer-events: none; transition: opacity .25s, transform .45s var(--spring); }
.nx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 共有要素の変形（一覧の案件 → 詳細の見出し） */
@view-transition { navigation: auto; }
::view-transition-group(nx-morph) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }
::view-transition-old(nx-morph), ::view-transition-new(nx-morph) { height: 100%; object-fit: cover; }
::view-transition-old(root) { animation: nx-vt-out .2s ease both; }
::view-transition-new(root) { animation: nx-vt-in .35s var(--ease) both; }
@keyframes nx-vt-out { to { opacity: 0; } }
@keyframes nx-vt-in { from { opacity: 0; } }
.nx-top { view-transition-name: nx-top; }

/* ─────────── 幅ごと ─────────── */
@media (max-width: 900px) {
  .nx-lanes, .nx-scope { grid-template-columns: minmax(0, 1fr); }
  .nx-facts { grid-template-columns: minmax(0, 1fr); } .nx-facts dt { border-top: 1px solid var(--line); padding-bottom: 0; } .nx-facts dd { border-top: 0; }
  .nx-qualify__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 640px) {
  .nx-top { top: 8px; }
  .nx-bar { height: 56px; gap: 6px; padding: 0 6px 0 12px; }
  .nx-brand__name { font-size: 16px; } .nx-brand__name sup { display: none; }
  .nx-seg a { font-size: 13px; padding: 0 10px; }
  .nx-seg a:last-child { display: none; }
  .nx-density { display: none; }
  .nx-hero { padding: 100px 16px 56px; min-height: 86vh; }
  .nx-hero__h { font-size: 48px; }
  .nx-goal { flex-wrap: wrap; padding: 10px; }
  .nx-goal input { height: 48px; font-size: 17px; flex-basis: calc(100% - 30px); }
  .nx-goal__go { width: 100%; }
  .nx-objs { grid-template-columns: minmax(0, 1fr); }
  .nx-run { padding: 20px 18px; border-radius: 22px; }
  .nx-case { padding-top: 84px; }
  .nx-b-brief { padding: 22px 20px; border-radius: 22px; }
  .nx-b-actions { top: 70px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .nx-act { white-space: nowrap; }
  .nx-block__head, .nx-block__body { padding-left: 16px; padding-right: 16px; }
  .nx-tl::before { left: 72px; } .nx-tl__ev, .nx-tl__now { grid-template-columns: 62px minmax(0, 1fr); gap: 22px; } .nx-tl__ev::after { left: 67px; }
  .nx-tl__ev time b { font-size: 21px; }
  .nx-sechead { flex-direction: column; align-items: start; }
}

/* 空の上ではバーを暗いガラスに（白い曇りガラスが灰色に濁って見えるのを避ける） */
.nx-on-sky .nx-bar { --lq-tint: rgba(14, 18, 34, .38); --lq-text: #fbf6ec; color: #fbf6ec; }
/* 空の上の帯は、地が紺のときに文字も必ず明るく（10/20 r13b R13B-1: WebKit のスマホで地は紺なのに「Polaris」と三本線が liquid.css の既定の #1c1c1e のままで 1.07） */
.nx-on-sky .nx-bar, .nx-on-sky .nx-bar .nx-brand, .nx-on-sky .nx-bar .nx-brand * { --lq-text: #fbf6ec !important; --lq-text-dim: rgba(251, 246, 236, .74) !important; color: #fbf6ec !important; }
.nx-on-sky .nx-bar .lq-seg-item { color: rgba(251, 246, 236, .78); }
.nx-on-sky .nx-bar .lq-seg-item[aria-current="page"] { color: var(--ink); }
.nx-on-sky .nx-density { background: rgba(255, 250, 240, .14) !important; color: #fbf6ec !important; box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset; }
.nx-on-sky .nx-me { background: #fbf6ec; color: var(--ink); }
.nx-bar, .nx-bar * { transition: color .35s var(--ease), background-color .35s var(--ease); }


/* =====================================================================
   v2: 本番に近いシミュレーション版（2026-09-23 夜）
   アクセントを「夜明け前の青緑（teal）」へ。朱は太陽のロゴだけに残す。
   ===================================================================== */
:root { --acc: #0f7a70; --acc-2: #14b8a6; --acc-soft: #e4f6f2; --acc-glow: rgba(20, 184, 166, .45);
  /* 2026-10-16 デバッグ SW-5: 緑の主ボタンの右端（#5eead4）で白い文字の比が 1.6 まで落ちた → 明るい端を濃く（白との比が右端でも 3.5 以上） */
  --accent-grad: linear-gradient(120deg, #0f766e, #0e8a7f 60%, #0f9488); --up: #0f7a55; --down: #b3261e; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-scheme="light"])) { --acc: #5eead4; --acc-2: #2dd4bf; --acc-soft: #0f2a27; --up: #6ee7b7; --down: #fca5a5; } } /* scheme-mirror */ @media all { :root:where([data-scheme="dark"]) { --acc: #5eead4; --acc-2: #2dd4bf; --acc-soft: #0f2a27; --up: #6ee7b7; --down: #fca5a5; } }
a { color: var(--acc); }
:focus-visible { outline-color: var(--acc-2); }
.nx-btn--go, .nx-goal__go { background: var(--accent-grad); box-shadow: 0 10px 24px -14px var(--acc-glow); }
.nx-plan__dot { background: var(--accent-grad); box-shadow: 0 0 0 4px rgba(20, 184, 166, .16); }
.nx-act__shape, .nx-forming__shape { background: var(--accent-grad); }
.nx-tl::before { background: linear-gradient(var(--acc-2), var(--acc)); }
.nx-tl__ev::after { box-shadow: 0 0 0 3px var(--acc) inset; }
.nx-tl__now span { background: var(--acc); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
.nx-ev p { border-left-color: var(--acc-2); }
.nx-b-brief { background: linear-gradient(160deg, var(--sheet) 55%, #e8f6f3); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-b-brief { background: linear-gradient(160deg, var(--sheet) 55%, #10231f); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-b-brief { background: linear-gradient(160deg, var(--sheet) 55%, #10231f); } }
.nx-scope__main { background: #e8f6f3 !important; }

/* 会社の切替（試作用） */
.nx-co { display: flex; align-items: center; gap: 8px; }
.nx-co select { max-width: 230px; min-height: 40px; border: 0; border-radius: 12px; padding: 0 30px 0 10px; font: inherit; font-size: 13px; font-weight: 700; color: inherit;
  background: rgba(255,255,255,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; cursor: pointer; }
.nx-on-sky .nx-co select { background-color: rgba(255,255,255,.12); color: #f4f7fb; }
.nx-on-sky .nx-co select option { color: #111; }

/* ─────────── ホーム: 控えめな一行＋今日の動き ─────────── */
.nx-deck-hero { position: relative; isolation: isolate; overflow: hidden; background: #070b18; color: #eef3f8; border-radius: 0 0 36px 36px; padding: 104px 24px 40px; }
.nx-deck-hero .nx-hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.nx-deck-hero::before { /* 読みやすさのための薄い暗幕（左上を少し濃く） */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 70% at 10% 0%, rgba(4, 8, 20, .55), transparent 70%); }
.nx-deck-hero__inner { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: end; }
.nx-today__date { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--f-num); font-size: 13px; letter-spacing: .08em; color: rgba(238, 243, 248, .7); }
.nx-live { width: 8px; height: 8px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 0 0 var(--acc-glow); animation: nx-live 2.4s infinite; }
@keyframes nx-live { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .5); } 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.nx-today__line { margin: 14px 0 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.55; letter-spacing: .01em; }
.nx-today__line b { font-weight: 900; }
.nx-today__line em { font-style: normal; font-family: var(--f-num); font-weight: 700; font-size: 1.6em; line-height: 1; padding: 0 .08em; background: linear-gradient(100deg, #ccfbf1, #5eead4 60%, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-today__sub { display: block; font-size: 13px; color: rgba(238, 243, 248, .6); font-weight: 500; }
.nx-cmd { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 10px 0 16px; --lq-radius: 16px; --lq-tint: rgba(255, 255, 255, .08); color: #eef3f8; max-width: 560px; }
.nx-cmd__icon { width: 18px; height: 18px; color: var(--acc-2); flex: none; }
.nx-cmd input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #fff; font-size: 16px; outline: none; }
.nx-cmd input::placeholder { color: rgba(238, 243, 248, .5); }
.nx-cmd kbd { font-family: var(--f-num); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.1); color: rgba(238,243,248,.7); }
.nx-cmd__ai { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px 4px 6px; border-radius: 999px; background: rgba(45, 212, 191, .14); color: #99f6e4; cursor: pointer; }
.nx-cmd__ai input { width: 16px; height: 16px; accent-color: #2dd4bf; margin: 0; }
.nx-deck-hero .nx-suggest { margin-top: 12px; }
.nx-deck-hero .nx-chip { min-height: 38px; font-size: 13px; color: #e6eef6; --lq-tint: rgba(255, 255, 255, .07); }

.nx-signals { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.nx-sig { --lq-radius: 20px; --lq-tint: rgba(10, 16, 32, .42); color: #eef3f8; padding: 14px 16px 12px; min-width: 0; }
.nx-sig--market { grid-row: span 2; }
.nx-sig header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.nx-sig h2 { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: rgba(238, 243, 248, .72); }
.nx-sig__src { font-size: 11px; color: rgba(238, 243, 248, .45); white-space: nowrap; }
.nx-quotes, .nx-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nx-quote { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; grid-template-areas: "name spark px" "name spark chg"; align-items: center; column-gap: 12px; padding: 9px 4px; border-top: 1px solid rgba(255,255,255,.07);
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--spring); transition-delay: calc(var(--i) * 70ms); }
.nx-quote:first-child { border-top: 0; }
.nx-signals.is-in .nx-quote, .nx-signals.is-in .nx-news li { opacity: 1; transform: none; }
.nx-quote__name { grid-area: name; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-quote__px { grid-area: px; font-family: var(--f-num); font-weight: 600; font-size: 17px; text-align: right; letter-spacing: -.02em; }
.nx-quote__chg { grid-area: chg; font-family: var(--f-num); font-size: 12px; font-weight: 700; text-align: right; }
.nx-quote__chg.is-up { color: #6ee7b7; } .nx-quote__chg.is-down { color: #fda4af; }
.nx-spark { grid-area: spark; width: 96px; height: 28px; overflow: visible; }
.nx-spark__line { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: nx-draw 1.4s var(--ease) forwards; animation-delay: .2s; }
.nx-spark.is-up .nx-spark__line { stroke: #5eead4; } .nx-spark.is-down .nx-spark__line { stroke: #fda4af; }
.nx-spark__area { opacity: .16; } .nx-spark.is-up .nx-spark__area { fill: #5eead4; } .nx-spark.is-down .nx-spark__area { fill: #fda4af; }
@keyframes nx-draw { to { stroke-dashoffset: 0; } }
.nx-news li { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--spring); transition-delay: calc(var(--i) * 80ms + 120ms); }
.nx-news a { display: grid; gap: 2px; padding: 7px 6px; margin: 0 -6px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .2s; }
@media (hover: hover) { .nx-news a:hover { background: rgba(255, 255, 255, .06); } }
.nx-news__t { font-size: 13.5px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-news__m { font-size: 11px; color: rgba(238, 243, 248, .5); }
.nx-skel { height: 34px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 200% 100%; animation: nx-shimmer 1.2s linear infinite; }
@keyframes nx-shimmer { to { background-position: -200% 0; } }
.nx-sig__err { font-size: 12px; color: rgba(238, 243, 248, .55); padding: 8px 0; }

/* ─────────── 自社との適合 ─────────── */
.nx-fit__head { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 18px; align-items: center; }
.nx-fit__score { display: flex; align-items: baseline; gap: 4px; }
.nx-fit__score b { font-family: var(--f-num); font-weight: 700; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.nx-fit__score span { color: var(--ink-3); font-weight: 700; }
.nx-fit__verdict { font-weight: 900; padding: 6px 14px; border-radius: 999px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-fit__verdict--ok { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
.nx-fit__verdict--mismatch { background: var(--bad-soft); color: var(--bad); box-shadow: none; }
.nx-fit__verdict--unknown, .nx-fit__verdict--content_unknown { background: var(--warn-soft); color: var(--warn); box-shadow: none; }
.nx-fit__bars { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: flex-end; }
.nx-fit__bar { display: grid; gap: 3px; min-width: 70px; }
.nx-fit__bar i { display: block; height: 6px; border-radius: 3px; width: calc(min(var(--n), 20) * 5px + 6px); transition: width .8s var(--spring); }
.nx-fit__bar.is-ok i { background: var(--ok); } .nx-fit__bar.is-plus i { background: var(--acc-2); } .nx-fit__bar.is-open i { background: #d6a743; } .nx-fit__bar.is-ng i { background: var(--bad); }
.nx-fit__bar small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.nx-fit__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.nx-fit__col { padding: 12px 14px; border-radius: 12px; background: var(--sheet-2); }
.nx-fit__col h4 { margin: 0 0 6px; font-size: 13px; font-weight: 900; }
.nx-fit__col ul { margin: 0; padding-left: 1.1em; font-size: 13.5px; line-height: 1.7; }
.nx-fit__col small { font-size: 12px; color: var(--ink-3); }
.nx-fit__col.is-ng { background: var(--bad-soft); } .nx-fit__col.is-ng h4 { color: var(--bad); }
.nx-fit__col.is-ok h4 { color: var(--ok); } .nx-fit__col.is-open h4 { color: var(--warn); } .nx-fit__col.is-plus h4 { color: var(--acc); }
.nx-keys dd span { line-height: 1.8; }
.nx-keys__note { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.nx-unk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-unk-chips span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-weight: 700; }
.nx-block.is-emph { box-shadow: 0 0 0 2px var(--acc-2), 0 20px 40px -30px var(--acc-glow); }

/* ─────────── AI の見立て ─────────── */
.nx-ins { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 22px 26px; color: #eaf6f4;
  background: radial-gradient(120% 140% at 0% 0%, #134e4a 0%, #0b2530 45%, #0a1020 100%); box-shadow: 0 30px 60px -36px rgba(8, 40, 50, .8); }
.nx-ins::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 234, 212, .35), transparent 65%); animation: nx-drift 12s ease-in-out infinite alternate; }
@keyframes nx-drift { to { transform: translate(-60px, 40px) scale(1.15); } }
.nx-ins__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; color: #99f6e4; }
.nx-ins__orb { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, #5eead4, #a7f3d0, #67e8f9, #5eead4); animation: nx-spin 4s linear infinite; box-shadow: 0 0 16px rgba(94, 234, 212, .7); }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx-ins__head { margin: 10px 0 14px; font-size: clamp(19px, 2vw, 24px); font-weight: 900; line-height: 1.5; }
.nx-ins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nx-ins__sec { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.nx-ins__sec h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .06em; color: #99f6e4; }
.nx-ins__sec ul { margin: 0; padding-left: 1.1em; font-size: 14px; line-height: 1.75; }
.nx-ins__sec.is-watch h4 { color: #fcd34d; }
.nx-ins__meta { margin: 12px 0 0; font-size: 11.5px; color: rgba(234, 246, 244, .55); }
.nx-forming--ai { background: linear-gradient(120deg, #0b2530, #0a1020); color: #d1faf4; box-shadow: none; }
.nx-act.is-done { opacity: .75; }
#nx-ins-slot:empty { display: none; }

/* 監督: 3列 */
.nx-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-deck[data-decided="adopt"] { box-shadow: 0 0 0 2px var(--acc-2); }

@media (max-width: 1100px) {
  .nx-deck-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .nx-ins__grid { grid-template-columns: minmax(0, 1fr); }
  .nx-lanes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nx-deck-hero { padding: 88px 14px 28px; border-radius: 0 0 26px 26px; }
  .nx-signals { grid-template-columns: minmax(0, 1fr); }
  .nx-sig--market { grid-row: auto; }
  .nx-cmd kbd { display: none; }
  .nx-co select { max-width: 120px; }
  .nx-fit__head { grid-template-columns: auto minmax(0, 1fr); } .nx-fit__bars { grid-column: 1 / -1; justify-content: flex-start; }
}

/* 今週の3つの数字（控えめ・等幅数字） */
.nx-deck-hero__inner { align-items: center; }
.nx-today__line { margin: 12px 0 10px; font-size: 17px; font-weight: 500; color: rgba(238, 243, 248, .85); }
.nx-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; max-width: 520px; }
.nx-kpi > div { padding: 6px 16px 6px 0; border-right: 1px solid rgba(255, 255, 255, .1); margin-right: 16px; }
.nx-kpi > div:last-child { border-right: 0; margin-right: 0; }
.nx-kpi dt { font-size: 12px; letter-spacing: .06em; color: rgba(238, 243, 248, .6); }
.nx-kpi dd { margin: 2px 0 0; font-family: var(--f-num); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1.05; }
.nx-kpi .is-acc dd { background: linear-gradient(100deg, #ccfbf1, #5eead4 60%, #2dd4bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-today__sub { margin: 0 0 20px; }
/* スマホ: 会社の切替は頭文字の丸だけにし、押すと選べる（選択欄は丸に重ねて透明に） */
@media (max-width: 640px) {
  .nx-co { position: relative; }
  .nx-co select { position: absolute; inset: 0; width: 36px; max-width: 36px; opacity: 0; padding: 0; }
}

/* ─────────── v3: 要の日付・金額／パンくず／探す／その他メニュー／監督の絞り込み ─────────── */
.nx-keyline { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.nx-keyline__i { display: grid; gap: 1px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px var(--line) inset; min-width: 104px; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-keyline__i { background: rgba(255, 255, 255, .04); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-keyline__i { background: rgba(255, 255, 255, .04); } }
.nx-keyline dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--ink-3); }
.nx-keyline dd { margin: 0; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.nx-keyline dd b { font-family: var(--f-num); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.nx-keyline dd small { font-size: 11px; color: var(--ink-3); }
.nx-keyline__i.is-money dd b { font-family: var(--f-jp); font-size: 15px; font-weight: 900; }
.nx-keyline__i.is-unknown dd b { color: var(--warn); }

.nx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); flex-basis: 100%; }
.nx-crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
@media (hover: hover) { .nx-crumbs a:hover { color: var(--acc); text-decoration: underline; } }
.nx-crumbs [aria-current] { color: var(--ink-3); }

.nx-more { position: relative; }
.nx-more > summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 800; }
.nx-more > summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .nx-more > summary:hover { background: rgba(127, 127, 127, .12); } }
.nx-more__panel { position: absolute; top: calc(100% + 10px); left: 0; width: 300px; padding: 12px; display: grid; gap: 2px; z-index: 60; --lq-radius: 18px; --lq-tint: rgba(255, 253, 249, .92); color: var(--ink); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-more__panel { --lq-tint: rgba(24, 27, 35, .94); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-more__panel { --lq-tint: rgba(24, 27, 35, .94); } }
.nx-more__h { margin: 4px 8px 0; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.nx-more__note { margin: 2px 8px 8px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.nx-more__panel a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
@media (hover: hover) { .nx-more__panel a:hover { background: rgba(127, 127, 127, .12); } }
/* メニューの近道（10/18 。next-navsub.js がマウスのある端末だけ出す） */
.nx-navsub { position: fixed; z-index: 60; width: max-content; min-width: 200px; max-width: min(360px, calc(100vw - 16px)); padding: 8px; display: grid; gap: 2px; --lq-radius: 16px; --lq-tint: rgba(255, 253, 249, .95); color: var(--ink); }
.nx-navsub a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.35; }
.nx-navsub a small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.nx-navsub__h { margin: 6px 10px 2px; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nx-navsub__chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 6px 4px; }
.nx-navsub__chips a { padding: 4px 10px; font-size: 13px; box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-navsub a:focus-visible { outline: 2px solid var(--acc-2); outline-offset: -2px; }
@media (hover: hover) { .nx-navsub a:hover { background: rgba(127, 127, 127, .12); } }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-navsub { --lq-tint: rgba(24, 27, 35, .96); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-navsub { --lq-tint: rgba(24, 27, 35, .96); } }
.nx-on-sky .nx-more > summary { color: #eef3f8; }

.nx-searchpage { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 104px 0 120px; }
.nx-sform { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 12px; }
.nx-sform__q { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2); }
.nx-sform__q:focus-within { box-shadow: 0 0 0 2px var(--acc-2), 0 0 0 6px rgba(20, 184, 166, .15); }
.nx-sform__q svg { width: 20px; height: 20px; color: var(--ink-3); }
.nx-sform__q input { flex: 1; border: 0; background: transparent; font-size: 17px; outline: none; min-width: 0; }
.nx-sform__sel select { height: 52px; border-radius: 14px; border: 0; padding: 0 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2); font: inherit; font-weight: 700; }
.nx-sform__chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; min-height: 44px; }
.nx-sform__chk input { width: 18px; height: 18px; accent-color: var(--acc); }
.nx-scount { margin: 8px 4px; color: var(--ink-3); font-size: 14px; } .nx-scount b { font-family: var(--f-num); font-size: 22px; color: var(--ink); }
.nx-lines { list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-line { display: grid; grid-template-columns: 56px 86px minmax(0, 1fr) minmax(0, 220px) 150px; gap: 14px; align-items: center; min-height: 52px; padding: 8px 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .15s; }
.nx-lines li + li .nx-line { border-top: 1px solid var(--line); border-radius: 0; }
@media (hover: hover) { .nx-line:hover { background: var(--sheet-2); border-radius: 12px; } }
.nx-line__date { font-family: var(--f-num); font-weight: 600; color: var(--ink-3); }
.nx-line .nx-obj__kind { justify-self: start; }
.nx-line__title { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-line__org { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-line__fit { font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: right; white-space: nowrap; }
.nx-pager { display: flex; justify-content: space-between; margin-top: 14px; }

.nx-wfilter { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; margin: 0 0 18px; border-radius: 14px; background: rgba(127, 127, 127, .1); }
.nx-wf { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font-weight: 800; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .2s, box-shadow .2s; }
.nx-wf[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(0,0,0,.3); }
.nx-lane__empty { font-size: 13px; color: var(--ink-3); padding: 14px; border-radius: 14px; background: var(--sheet-2); }
.nx-deck[hidden] { display: none; }

@media (max-width: 900px) {
  .nx-line { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "d t f" "d o k"; row-gap: 0; }
  .nx-line__date { grid-area: d; } .nx-line__title { grid-area: t; } .nx-line__org { grid-area: o; } .nx-line__fit { grid-area: f; } .nx-line .nx-obj__kind { grid-area: k; justify-self: end; }
}
@media (max-width: 640px) {
  .nx-more > summary { padding: 0 8px; }
  .nx-more__panel { position: fixed; left: 8px; right: 8px; top: 72px; width: auto; }
}

/* 日程: 線と〇の中心をそろえる（ol の左余白をなくし、同じ基準で位置を決める） */
.nx-tl { padding-left: 0; --tl-x: 104px; }
.nx-tl::before { left: calc(var(--tl-x) - 1px); width: 2px; }
.nx-tl__ev::after { left: calc(var(--tl-x) - 6px); width: 12px; height: 12px; box-sizing: border-box; background: var(--sheet); z-index: 1; }
@media (max-width: 640px) { .nx-tl { --tl-x: 73px; } .nx-tl::before { left: calc(var(--tl-x) - 1px); } .nx-tl__ev::after { left: calc(var(--tl-x) - 6px); } }

/* ─────────── 考えている間の見せ方 ─────────── */
@property --nx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.nx-cmd { position: relative; }
.nx-cmd.is-thinking::before { /* 縁を回る光（入力欄そのものが考えている） */
  content: ""; position: absolute; inset: -2px; border-radius: 18px; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--nx-a), transparent 0deg, #5eead4 40deg, #a7f3d0 70deg, transparent 120deg, transparent 200deg, #67e8f9 250deg, transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nx-orbit 1.6s linear infinite; filter: drop-shadow(0 0 8px rgba(94, 234, 212, .7));
}
.nx-cmd.is-thinking input { background: linear-gradient(90deg, #fff 0%, #fff 40%, #99f6e4 50%, #fff 60%, #fff 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: nx-sweep 1.8s linear infinite; }
@keyframes nx-orbit { to { --nx-a: 360deg; } }
@keyframes nx-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.nx-step.is-live .nx-step__dot { box-shadow: 0 0 0 3px var(--acc-2) inset; animation: nx-live 1.4s infinite; }
.nx-step.is-live b:first-of-type { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 35%, var(--acc-2) 50%, var(--ink) 65%, var(--ink) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: nx-sweep 1.6s linear infinite; }
.nx-live-sec { font-family: var(--f-num); font-variant-numeric: tabular-nums; color: var(--acc); }
.nx-step.is-luna .nx-step__dot { background: conic-gradient(#5eead4, #a7f3d0, #67e8f9, #5eead4); box-shadow: none; }
.nx-fchips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 30px; }
.nx-fchip { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); font-weight: 800; font-size: 13px;
  opacity: 0; transform: translateY(8px) scale(.9); animation: nx-chip-in .5s var(--spring) forwards; animation-delay: calc(var(--i) * 90ms); }
.nx-fchip small { font-size: 11px; font-weight: 700; opacity: .7; }
@keyframes nx-chip-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nx-cmd.is-thinking::before { animation: none; background: #5eead4; } .nx-cmd.is-thinking input { animation: none; color: #fff; background: none; } .nx-fchip { opacity: 1; transform: none; } }

/* 手順ごとの実測時間（右寄せの等幅数字） */
.nx-step { grid-template-columns: 14px minmax(0, 1fr) auto; }
.nx-step > span:last-child { grid-column: 2 / 4; }
.nx-step__ms { grid-column: 3; grid-row: 1; justify-self: end; font-style: normal; font-family: var(--f-num); font-variant-numeric: tabular-nums;
  font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); }
.nx-step.is-luna .nx-step__ms { color: var(--acc); background: var(--acc-soft); }
.nx-live-sec { display: inline-block; min-width: 3.4em; text-align: right; }
/* 実行中の丸は青緑（旧来の朱の指定を上書き） */
.nx-run.is-running .nx-step:last-child .nx-step__dot, .nx-step.is-live .nx-step__dot { box-shadow: 0 0 0 3px var(--acc-2) inset; }

/* 戻ってきたときの復元表示 */
.nx-restored { list-style: none; margin: 0 0 6px 30px; font-size: 12px; font-weight: 700; color: var(--acc); }
.nx-fchip.is-restored { opacity: 1; transform: none; animation: none; }

/* 一番上へ戻る（右下に浮かぶガラスの丸。縁の輪＝読んだ割合） */
.nx-totop { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 45;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  --lq-radius: 999px; --lq-tint: rgba(255, 253, 249, .72); color: var(--ink);
  opacity: 0; transform: translateY(14px) scale(.85); transition: opacity .25s var(--ease), transform .45s var(--spring); }
.nx-totop.is-on { opacity: 1; transform: none; }
@media (hover: hover) { .nx-totop:hover .nx-totop__arrow { transform: translateY(-2px); } }
.nx-totop__arrow { width: 20px; height: 20px; position: relative; z-index: 1; transition: transform .3s var(--spring); }
.nx-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.nx-totop__ring circle { fill: none; stroke: var(--acc-2); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .12s linear; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-totop { --lq-tint: rgba(24, 27, 35, .78); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-totop { --lq-tint: rgba(24, 27, 35, .78); } }
@media (max-width: 640px) { .nx-totop { width: 46px; height: 46px; right: 14px; bottom: 18px; } }
.nx-totop[hidden] { display: none; }

/* ─────────── 探す（旧「案件を探す」の構成・Next の青緑） ─────────── */
.nx-shead h1 { margin: 0; font-weight: 900; font-size: clamp(28px, 2.6vw, 38px); }
.nx-shead p { margin: 6px 0 18px; color: var(--ink-3); font-size: 14px; }
.nx-qbox { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 18px; background: var(--sheet);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px -26px rgba(10, 40, 50, .35); transition: box-shadow .25s; }
.nx-qbox:focus-within { box-shadow: 0 0 0 2px var(--acc-2), 0 0 0 7px rgba(20, 184, 166, .16), 0 20px 44px -26px rgba(10, 40, 50, .35); }
.nx-qbox svg { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
.nx-qbox input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 18px; outline: none; }
.nx-qbox__go { height: 48px; padding: 0 24px; border: 0; border-radius: 14px; cursor: pointer; font-weight: 900; font-size: 16px; color: #fff; background: var(--accent-grad); box-shadow: 0 10px 24px -14px var(--acc-glow); transition: transform .2s var(--spring); }
.nx-qbox__go:active { transform: scale(.96); }
.nx-sfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; }
.nx-seg2 { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(127, 127, 127, .1); gap: 2px; }
.nx-seg2 a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 800; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.nx-seg2 a[aria-current="true"] { background: var(--sheet); color: var(--acc); box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(0,0,0,.3); }
.nx-flabel { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.nx-flabel select, .nx-flabel input { height: 42px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); }
.nx-flabel select:focus, .nx-flabel input:focus { outline: none; box-shadow: 0 0 0 2px var(--acc-2) inset; }
/* 語のまとまりで折り返す（10/18 決定⑧。next-budoux.js が <wbr> を入れた要素に .bx）。1つのまとまりが行より長いときだけ途中で折る */
.bx { word-break: keep-all; overflow-wrap: break-word; }
.bx-n { display: inline; white-space: nowrap; }   /* かっこで始まる短い塊（next-budoux.js。WebKit が「（」の直後で折った） */
/* 題名（下の「案件名は普通に折り返す」）も、next-budoux.js が長いまとまりの中を1字ごとに折れるようにした上で語の切れ目に（「令和」だけの行は出ない） */
:is(.nx-srow__title, .dg-row__main b, .nx-rel__title, .nx-deck h3, .nx-deck__title, .nh-row__t, .pp-tl__name span, .nx-b-brief__title).bx { word-break: keep-all; }
/* 「場所未確認」の札（10/18 決定③）: 地域の札と同じ色で、点線の枠にして「確かな地域ではない」と分かるように */
.nx-mk.is-pref.is-hq { background: transparent; box-shadow: none; outline: 1px dashed currentColor; outline-offset: -1px; font-weight: 700; }
/* 探す「締切の過ぎた案件も含める」（10/18 決定②）: 欄の形（高さ・枠）を付けず、ふつうのチェックに */
.nx-flabel--chk { font-weight: 700; cursor: pointer; }
.nx-flabel--chk input { height: 18px; width: 18px; padding: 0; box-shadow: none; accent-color: var(--acc); }
.nx-flabel--chk input:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.nx-btn--ghost { background: transparent; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; }
@media (hover: hover) { .nx-btn--ghost:hover { background: rgba(127,127,127,.1); } }
.nx-snote { margin: 8px 2px 0; font-size: 12px; color: var(--ink-3); }
.nx-countline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 6px 10px; font-size: 14px; color: var(--ink-3); }
.nx-countline b { font-family: var(--f-num); font-size: 22px; color: var(--ink); margin-right: 4px; }
.nx-kbdhint kbd { font-family: var(--f-num); font-size: 11px; padding: 3px 6px; border-radius: 6px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; }

.nx-split { display: grid; grid-template-columns: minmax(400px, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
.nx-listpanel { background: var(--sheet); border-radius: 22px; padding: 6px; box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.nx-srows { list-style: none; margin: 0; padding: 0; }
.nx-srow { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 14px 14px; border-radius: 14px; color: inherit; text-decoration: none; transition: background .15s; }
.nx-srows li + li .nx-srow::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--line); }
@media (hover: hover) { .nx-srow:hover { background: var(--sheet-2); } }
.nx-srow[aria-current="true"] { background: var(--acc-soft); }
.nx-srow[aria-current="true"]::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent-grad); }
.nx-srow__date { display: grid; line-height: 1.1; }
.nx-srow__date b { font-family: var(--f-num); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.nx-srow__date small { font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.nx-srow__main { display: grid; gap: 4px; min-width: 0; }
.nx-srow__title { font-weight: 800; font-size: 15.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-srow__meta { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-srow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-chip2 { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-chip2.is-fit { background: var(--acc-soft); color: var(--acc); box-shadow: none; }
.nx-chip2.is-ng { background: var(--bad-soft); color: var(--bad); box-shadow: none; }
.nx-chip2.is-none { color: var(--ink-3); }

.nx-pane { position: sticky; top: 88px; height: calc(100vh - 104px); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(10, 40, 50, .5); view-transition-name: nx-pane; }
.nx-pane__bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 20px; font-size: 13px; color: var(--ink-3);
  background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nx-pane__bar .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--ink-2); }
.nx-pane__body { padding: 14px 16px 60px; }
.nx-canvas--pane .nx-b-actions { position: static; }
.nx-canvas--pane .nx-b-brief { padding: 22px 24px; }
.nx-canvas--pane .nx-b-brief__title { font-size: 24px; }
.nx-pane__empty { height: 60vh; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--ink-3); font-size: 14px; }
.nx-pane__empty b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.nx-pane__empty .orb { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ccfbf1, #2dd4bf 45%, #0f766e 100%); box-shadow: 0 20px 40px -18px var(--acc-glow); animation: nx-float 5s ease-in-out infinite; }
@keyframes nx-float { 50% { transform: translateY(-8px); } }
.nx-skel2 { display: grid; gap: 14px; padding: 24px; }
.nx-skel2 i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--paper-2), var(--sheet-2), var(--paper-2)); background-size: 200% 100%; animation: nx-shimmer 1.1s linear infinite; }
.nx-skel2 i:first-child { height: 30px; width: 70%; }
::view-transition-new(nx-pane) { animation: nx-vt-in .3s var(--ease) both; }
@media (max-width: 1024px) { .nx-split { grid-template-columns: minmax(0, 1fr); } .nx-pane { display: none; } .nx-kbdhint { display: none; } }
@media (max-width: 640px) { .nx-qbox { padding-left: 14px; } .nx-qbox input { font-size: 16px; } .nx-qbox__go { padding: 0 16px; } .nx-seg2 { overflow-x: auto; max-width: 100%; } }
/* 種類の札: 物品を朱から藍へ（オレンジを使わない配色に統一） */
[data-kind="物品"] { --kind-color: #3f45b5; --kind-soft: #e7e8fb; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) [data-kind="物品"] { --kind-color: #a5b4fc; --kind-soft: #1e2140; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) [data-kind="物品"] { --kind-color: #a5b4fc; --kind-soft: #1e2140; } }

/* いまの天気（空の変化の出どころを小さく示す） */
.nx-wx { display: inline-flex; align-items: baseline; gap: 8px; margin-left: 10px; padding: 3px 12px; border-radius: 999px; font-family: var(--f-jp); letter-spacing: .02em;
  background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; color: rgba(238, 243, 248, .85); font-size: 12px; }
.nx-wx[hidden] { display: none; }
.nx-wx b { font-family: var(--f-num); font-size: 13px; color: #fff; }
.nx-wx__place { color: rgba(238, 243, 248, .6); }
@media (max-width: 640px) { .nx-wx { margin: 6px 0 0; } .nx-today__date { flex-wrap: wrap; } }

.nx-wxline { margin: 8px 0 0; min-height: 26px; }
.nx-wx { margin-left: 0; white-space: nowrap; }

/* 時計（今日の日時・秒まで）と試験表示の目印 */
.nx-clock { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nx-simflag { margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #fbbf24; color: #1c1a15; }
.nx-simflag[hidden] { display: none; }
/* 表示を試す（試作用パネル） */
.nx-simbtn { position: fixed; left: 20px; bottom: 24px; z-index: 46; min-height: 44px; padding: 0 16px; border: 0; cursor: pointer; font-weight: 800; font-size: 13px;
  --lq-radius: 999px; --lq-tint: rgba(255, 253, 249, .78); color: var(--ink); }
.nx-sim { position: fixed; left: 20px; bottom: 80px; z-index: 46; width: 340px; max-height: calc(100vh - 120px); overflow: auto; padding: 14px 16px 16px;
  --lq-radius: 20px; --lq-tint: rgba(255, 253, 249, .94); color: var(--ink); display: grid; gap: 10px; animation: nx-rise .35s var(--spring); }
.nx-sim[hidden] { display: none; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-sim, :where(:root:not([data-scheme="light"])) .nx-simbtn { --lq-tint: rgba(24, 27, 35, .94); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-sim, :where(:root[data-scheme="dark"]) .nx-simbtn { --lq-tint: rgba(24, 27, 35, .94); } }
.nx-sim header { display: flex; align-items: center; justify-content: space-between; }
.nx-sim h2 { margin: 0; font-size: 14px; font-weight: 900; }
.nx-sim__x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.nx-sim__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.nx-sim__row label { font-weight: 800; color: var(--ink-2); }
.nx-sim__row input[type=datetime-local], .nx-sim__row select { grid-column: 2 / 4; height: 38px; border: 0; border-radius: 10px; padding: 0 10px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; font: inherit; color: var(--ink); }
.nx-sim__row:has(.nx-sim__mini) input { grid-column: 2; }
.nx-sim__mini { height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--acc-soft); color: var(--acc); font-weight: 800; cursor: pointer; }
.nx-sim__row input[type=range] { width: 100%; accent-color: var(--acc-2); }
.nx-sim__row output { min-width: 5.5em; text-align: right; font-family: var(--f-num); font-weight: 700; font-size: 12px; color: var(--ink-2); }
.nx-sim__quick { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 54px; }
.nx-sim__quick button { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
@media (hover: hover) { .nx-sim__quick button:hover { color: var(--acc); } }
.nx-sim__note { margin: 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.nx-sim__foot { display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .nx-simbtn { left: 14px; bottom: 18px; } .nx-sim { left: 8px; right: 8px; width: auto; bottom: 72px; } }

/* ─────────── ホームの日本地図（光の柱） ─────────── */
/* 日時・天気: 右上。広い画面ではナビの右の余白、狭い画面ではナビの下に右寄せ。時刻は大きく */
.nx-corner { width: min(1180px, 100%); margin: -26px auto 6px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 14px; }
.nx-corner .nx-wxline { margin: 0; min-height: 0; }
.nx-corner .nx-today__date { gap: 8px; color: rgba(238, 243, 248, .78); }
.nx-clock { display: inline-flex; align-items: baseline; gap: 0 10px; flex-wrap: wrap; justify-content: flex-end; }
.nx-clock__hm { font-family: var(--f-num); font-weight: 600; font-size: clamp(30px, 2.6vw, 44px); line-height: 1; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.nx-clock__s { font-family: var(--f-num); font-size: .9em; font-weight: 600; margin-left: -8px; color: rgba(238, 243, 248, .6); }
.nx-clock__date { font-size: 13px; letter-spacing: .06em; }
.nx-corner .nx-wx { white-space: normal; flex-wrap: wrap; row-gap: 0; }
@media (min-width: 1760px) {   /* 2026-10-12 表示の点検「ホームの時計の位置が崩れた」: 1500〜1759px では右の余白が 180〜250px しかなく、時計と天気が押しつぶされて上の帯の裏に入っていた → 余白に収まる 1760px から */
  .nx-corner { position: absolute; top: 14px; left: calc(50% + 590px + 28px); right: auto; width: auto; max-width: calc((100vw - 1180px) / 2 - 44px); margin: 0; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
  .nx-corner .nx-today__date { align-items: flex-start; justify-content: flex-start; }
  .nx-corner .nx-live { margin-top: 14px; }
  /* 広い画面: 大きな時刻の下に日付（2列の格子で右寄せ） */
  .nx-clock { display: inline-grid; grid-template-columns: auto auto; align-items: baseline; row-gap: 6px; column-gap: 0; }
  .nx-clock__s { margin-left: 2px; }
  .nx-clock__date { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) { .nx-corner { margin-top: -10px; } .nx-clock__hm { font-size: 28px; } }

/* 地図は左の列の上。広い画面では左の余白まではみ出して大きく使う */
.nx-map { clip-path: inset(-400px 0 0 0); position: relative; height: clamp(320px, 37vw, 520px); margin: 28px 0 10px; opacity: 0; transition: opacity .8s ease; }
.nx-map.is-ready { opacity: 1; }
.nx-map[aria-busy="true"] .nxm-beams { opacity: .55; transition: opacity .3s; }
.nxm-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nxm-grid line { stroke: rgba(200, 225, 255, .06); stroke-width: .5; }
.nxm-slab path { fill: rgba(2, 6, 18, .45); stroke: none; }
.nxm-land path { fill: rgba(14, 26, 52, .42); stroke: rgba(190, 220, 255, .38); stroke-width: .55; stroke-linejoin: round; transition: fill .25s, stroke .25s; outline: none; }
.nxm-land path.has-cases { fill: rgba(40, 90, 140, .38); cursor: pointer; }
.nxm-land path.is-hot, .nxm-land path:focus-visible { fill: rgba(94, 234, 212, .30); stroke: rgba(204, 251, 241, .95); stroke-width: .9; } @media (hover: hover) { .nxm-land path.has-cases:hover { fill: rgba(94, 234, 212, .30); stroke: rgba(204, 251, 241, .95); stroke-width: .9; } }

/* 自社のピン */
.nxm-pin__ring { fill: none; stroke: #fbbf24; stroke-width: 1; opacity: .9; transform-box: fill-box; transform-origin: center; animation: nxm-ring 2.6s ease-out infinite; }
.nxm-pin__body { fill: #fbbf24; stroke: rgba(40, 20, 0, .5); stroke-width: .5; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.nxm-pin__dot { fill: #3b2300; }
.nxm-pin__label { font: 800 8px/1 var(--f-jp, sans-serif); fill: #fde68a; paint-order: stroke; stroke: rgba(10, 10, 20, .7); stroke-width: 2px; letter-spacing: .06em; }
@keyframes nxm-ring { from { transform: scale(.5); opacity: .95; } to { transform: scale(2.3); opacity: 0; } }

/* 光の柱: 立ち上がり → ゆっくり明滅、中を光の粒が昇る */
.nxm-beam { opacity: var(--b, .8); filter: drop-shadow(0 0 3px rgba(165, 243, 252, .55)); transition: opacity .35s; cursor: pointer; }
.nxm-beam.is-dim { opacity: .14; }
.nxm-beam__col { transform-box: view-box; animation: nxm-rise .9s cubic-bezier(.2, .9, .25, 1.15) both; animation-delay: calc(var(--i) * 28ms); }
.nxm-beam__halo { opacity: .75; animation: nxm-breathe 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -170ms); }
.nxm-beam__pool { animation: nxm-breathe 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -170ms); }
.nxm-beam__spark { fill: #fff; opacity: 0; animation: nxm-spark 3.2s ease-in infinite; }
.nxm-beam__ring { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: .6; stroke-dasharray: 2 2; }
.nxm-beam.is-out { animation: nxm-sink .4s ease-in forwards; }
@keyframes nxm-rise { from { transform: scaleY(0); opacity: 0; } 60% { opacity: 1; } to { transform: scaleY(1); opacity: 1; } }
@keyframes nxm-sink { to { opacity: 0; transform: translateY(6px); } }
@keyframes nxm-breathe { 0%, 100% { opacity: .5; } 50% { opacity: .95; } }
@keyframes nxm-spark { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(var(--h)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nxm-beam__col, .nxm-beam__halo, .nxm-beam__pool, .nxm-pin__ring { animation: none; } }

/* 都道府県ごとの小さな窓（1件1行） */
.nxm-pop { position: absolute; z-index: 5; width: min(340px, calc(100% - 12px)); max-height: 300px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
  background: rgba(10, 18, 36, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 18px 40px -16px rgba(0, 0, 0, .7); color: #eef3f8;
  opacity: 0; transform: translateY(4px) scale(.98); transition: opacity .18s, transform .18s; }
.nxm-pop.is-on { opacity: 1; transform: none; }
.nxm-pop[hidden] { display: none; }
.nxm-pop header { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px 6px; font-size: 13px; }
.nxm-pop header span { font-family: var(--f-num); font-size: 12px; color: rgba(238, 243, 248, .6); }
.nxm-pop ul { list-style: none; margin: 0; padding: 0 6px 6px; overflow: auto; }
.nxm-pop a { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 9px; padding: 7px 8px; border-radius: 9px; color: inherit; text-decoration: none; }
.nxm-pop a:focus-visible { background: rgba(255, 255, 255, .09); outline: none; } @media (hover: hover) { .nxm-pop a:hover { background: rgba(255, 255, 255, .09); outline: none; } }
.nxm-pop a i { grid-row: 1 / 3; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: #8b5cf6; box-shadow: 0 0 8px currentColor; }
.nxm-pop a[data-tier="hi"] i { background: #67e8f9; color: #67e8f9; }
.nxm-pop a[data-tier="mid"] i { background: #38bdf8; color: #38bdf8; }
.nxm-pop a[data-tier="lo"] i { color: #8b5cf6; }
.nxm-pop a b { font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxm-pop a small { font-size: 11px; color: rgba(238, 243, 248, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 何を出しているか（小さく薄く） */
.nxm-note { position: absolute; left: 2px; right: 0; top: -18px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: .02em; color: rgba(238, 243, 248, .45); pointer-events: none; }
@media (max-width: 1100px) { .nx-map { height: clamp(280px, 62vw, 440px); } }

/* 特別な島（地域不明・地域外）: 点線の縁で「ふつうの陸ではない」と分かるように */
.nxm-island__slab { fill: rgba(2, 6, 18, .4); }
.nxm-island { fill: rgba(30, 44, 80, .5); stroke: rgba(200, 225, 255, .55); stroke-width: .6; stroke-dasharray: 2 1.6; transition: fill .25s; outline: none; }
.nxm-island.has-cases { fill: rgba(80, 70, 150, .45); cursor: pointer; }
.nxm-island.is-hot, .nxm-island:focus-visible { fill: rgba(167, 139, 250, .38); stroke: #ede9fe; } @media (hover: hover) { .nxm-island.has-cases:hover { fill: rgba(167, 139, 250, .38); stroke: #ede9fe; } }
.nxm-island__label { font: 700 7px/1 var(--f-jp, sans-serif); fill: rgba(226, 232, 240, .72); text-anchor: middle; letter-spacing: .08em; paint-order: stroke; stroke: rgba(6, 10, 24, .55); stroke-width: 2px; pointer-events: none; }

/* 見出しと右のリンクが狭い画面で横にはみ出さないように */
.nx-sechead { flex-wrap: wrap; } .nx-sechead > div { min-width: 0; flex: 1 1 280px; }
.nx-sechead h2, .nx-sechead p { overflow-wrap: anywhere; }
.nx-more > summary { white-space: nowrap; }   /* 狭い画面で「その他」が縦書きにならないように */

/* 左の列（地図・件数・検索窓）をまとめて左の余白まで張り出し、日本列島と文字の左端をそろえる */
.nx-today { margin-left: calc(-1 * max(0px, (100vw - 1180px) / 2 - 24px)); }
/* 試作用の「表示を試す」は右下（上へ戻るボタンの左）へ。左の列の検索窓に重ならないように */
.nx-simbtn { left: auto; right: 84px; }
.nx-sim { left: auto; right: 20px; }
@media (max-width: 640px) { .nx-simbtn { left: auto; right: 70px; } .nx-sim { left: 8px; right: 8px; } }

/* ─────────── 幅ごとの配置の釣り合い ───────────
   1500px〜 : 左の列は左の余白まで張り出し、時計は右の余白（既定）
   1101〜1499: 地図の列を広く（7:5）。右の「今日の動き」は縦1列（各窓の中はスクロール）
   〜1100   : 1列。地図は高くしすぎない。今日の動きは2列 */
@media (min-width: 1101px) and (max-width: 1499px) {
  .nx-deck-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); }
  .nx-map { height: clamp(340px, 34vw, 480px); }
}
@media (max-width: 1100px) {
  .nx-map { height: clamp(260px, 52vw, 420px); margin-top: 16px; }
}
.nx-density { white-space: nowrap; }
@media (max-width: 900px) { .nx-density { display: none; } }   /* 狭い画面では「毎日使う」を畳む（ナビが折り返さないように） */

/* ─────────── 件数・検索窓は日本列島の中ほどの下へ（地図の下端に少し重ねる） ─────────── */
.nx-today__body { position: relative; z-index: 1; }
@media (min-width: 1101px) {
  .nx-deck-hero[data-map="on"] .nx-map { margin-bottom: -58px; }
  .nx-deck-hero[data-map="on"] .nx-today__body { margin-left: clamp(0px, 18%, 200px); }
}
.nx-map:has(.nxm-pop.is-on) { z-index: 3 !important; }   /* 小窓は件数の文字より手前に。11/2: ホームの形ごとの .nx-map の z-index: 0（html.nx-home2 .nx-hero2 .nx-map ほか）に負けて、スマホで小窓が「表示」・件数・目的の欄の下に潜っていた */

/* ─────────── 今日の動き: 各窓は高さを決めて中をスクロール（上に主要、下に関連） ─────────── */
.nx-sig { display: flex; flex-direction: column; min-height: 0; }
.nx-sig > header { flex: none; }
.nx-sig__scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); padding-bottom: 18px; }
.nx-sig__sub { margin: 16px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: rgba(238, 243, 248, .5); }
.nx-sig__sub.is-first { margin-top: 2px; }
.nx-sig[hidden], .nx-map[hidden] { display: none !important; }

@media (min-width: 1101px) {
  .nx-signals { height: clamp(560px, 76vh, 760px); }
  .nx-deck-hero[data-sigs="3"] .nx-signals { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
  .nx-deck-hero[data-sigs="3"] .nx-sig--market { grid-row: span 2; }
  .nx-deck-hero[data-sigs="2"] .nx-signals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr; }
  .nx-deck-hero[data-sigs="1"] .nx-signals { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; }
  .nx-deck-hero:is([data-sigs="2"], [data-sigs="1"]) .nx-sig--market { grid-row: auto; }
  /* 情報窓を全部消したら、地図の列が全幅に広がる */
  .nx-deck-hero[data-sigs="0"] .nx-signals { display: none; }
  .nx-deck-hero[data-sigs="0"] .nx-deck-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .nx-deck-hero[data-sigs="0"] .nx-map { height: clamp(380px, 40vw, 620px); }
  /* 地図を消したら、情報窓の列を広く */
  .nx-deck-hero[data-map="off"] .nx-deck-hero__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .nx-deck-hero[data-map="off"] .nx-today { margin-left: 0; padding-top: 24px; }
  .nx-deck-hero[data-map="off"][data-sigs="0"] .nx-deck-hero__inner { grid-template-columns: minmax(0, 640px); }
}
@media (min-width: 1101px) and (max-width: 1499px) {
  .nx-deck-hero[data-sigs="3"] .nx-signals { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1.25fr 1.1fr .8fr; }
  .nx-deck-hero[data-sigs="3"] .nx-sig--market { grid-row: auto; }
  .nx-deck-hero[data-sigs="2"] .nx-signals { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
  .nx-deck-hero[data-map="off"] .nx-signals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
  .nx-deck-hero[data-map="off"][data-sigs="3"] .nx-sig--market { grid-row: span 2; }
}
@media (max-width: 1100px) {
  .nx-signals { height: auto; }
  .nx-sig__scroll { max-height: 380px; }
  .nx-deck-hero[data-sigs="1"] .nx-signals { grid-template-columns: minmax(0, 1fr); }
  .nx-deck-hero[data-sigs="0"] .nx-signals { display: none; }
}

/* ─────────── 表示の設定（右上・日時の下） ─────────── */
.nx-viewset { position: relative; }
.nx-viewbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700;
  color: rgba(238, 243, 248, .85); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.nx-viewbtn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); color: #fff; } @media (hover: hover) { .nx-viewbtn:hover { background: rgba(255, 255, 255, .16); color: #fff; } }
.nx-viewbtn svg { width: 14px; height: 14px; }
.nx-view { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: 250px; padding: 12px 14px; border-radius: 14px; color: #eef3f8;
  background: rgba(10, 18, 36, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 18px 40px -16px rgba(0, 0, 0, .7); }
@media (min-width: 1760px) { .nx-view { right: auto; left: 0; } }
.nx-view[hidden] { display: none; }
.nx-view__h { margin: 4px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: rgba(238, 243, 248, .5); }
.nx-view__h + label { margin-top: 0; }
.nx-view label { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; align-items: start; padding: 6px 4px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .nx-view label:hover { background: rgba(255, 255, 255, .06); } }
.nx-view input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #2dd4bf; }
.nx-view small { grid-column: 2; font-size: 11px; font-weight: 500; color: rgba(238, 243, 248, .55); line-height: 1.5; }
.nx-view__note { margin: 8px 0 0; font-size: 11px; color: rgba(238, 243, 248, .45); }

/* ─────────── 軽量表示: 常に動くもの（空・光の柱・点滅）を止める ─────────── */
.nx-lite .nxm-beam *, .nx-lite .nxm-pin__ring, .nx-lite .nx-live, .nx-lite [class^="nxw-"], .nx-lite [class*=" nxw-"] { animation: none !important; }
.nx-lite .nxm-beam { filter: none; }

/* 左の列（地図・件数・検索窓）をまとめて上へ。地図の上側は柱の余白なので、右の情報窓の上端とそろうまで持ち上げる */
@media (min-width: 1101px) {
  .nx-deck-hero[data-map="on"] .nx-map { margin-top: -72px; }
}
.nx-corner { position: relative; z-index: 4; }   /* 持ち上げた地図より手前（「表示」ボタンを押せるように） */
@media (min-width: 1760px) { .nx-corner { position: absolute; } }
/* 注記は検索の候補ボタンの下に、小さく薄く */
#nx-map-note { position: static; margin: 10px 0 0; white-space: normal; overflow: visible; }

/* 日本列島だけをさらに上へ（背景の格子は上の枠に重なってよい）。件数・検索窓の位置は変えない */
@media (min-width: 1101px) {
  .nx-deck-hero[data-map="on"] .nx-map { margin-top: -122px; margin-bottom: -8px; }
}

/* ─────────── 自社情報・対応業務（登録フォーム） ─────────── */
.nx-mepage { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 104px 0 96px; }
.nx-me__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: end; margin-bottom: 22px; }
.nx-me__head .nx-crumbs { grid-column: 1 / -1; }
.nx-me__title h1 { margin: 4px 0 6px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.01em; line-height: 1.25; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nx-me__title h1 .nx-obj__kind { font-size: 14px; }
.nx-me__title p { margin: 0; color: var(--ink-3); font-size: 14px; max-width: 56em; }
.nx-savestate { margin: 0; justify-self: end; font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 6px 12px; border-radius: 999px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line) inset; transition: background .2s, color .2s; white-space: nowrap; }
.nx-savestate[data-kind="busy"], .nx-savestate[data-kind="wait"] { color: var(--sky); }
.nx-savestate[data-kind="ok"] { color: var(--ok); background: var(--ok-soft); }
.nx-savestate[data-kind="warn"] { color: var(--warn); background: var(--warn-soft); }
.nx-savestate[data-kind="err"] { color: var(--bad); background: var(--bad-soft); }
.nx-me__rd { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; justify-self: end; min-width: 220px; }
.nx-me__rd > span:first-child { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.nx-me__rd b { font-family: var(--f-num); font-size: 30px; line-height: 1; justify-self: end; }
.nx-me__rd .nx-meter, .nx-me__rd small { grid-column: 1 / -1; }
.nx-me__rd small { font-size: 12px; color: var(--ink-3); }
.nx-meter { display: block; height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.nx-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #2dd4bf); transition: width .6s var(--ease); }

/* 初回の項目（アカウント情報に近い扱い） */
.nx-onboard { display: flex; align-items: center; gap: 18px; padding: 16px 20px; margin-bottom: 22px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(20, 184, 166, .12), rgba(56, 189, 248, .08)); box-shadow: 0 0 0 1px rgba(20, 184, 166, .25) inset; }
.nx-onboard h2 { margin: 0; font-size: 16px; font-weight: 900; }
.nx-onboard p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.nx-onboard.is-done { background: var(--ok-soft); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-ring { --p: 0; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1;
  background: radial-gradient(closest-side, var(--sheet) 76%, transparent 78%), conic-gradient(#14b8a6 calc(var(--p) * 1%), var(--paper-2) 0); transition: background .4s; }
.nx-ring b { font-family: var(--f-num); font-size: 22px; } .nx-ring small { font-size: 11px; color: var(--ink-3); }

.nx-me__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.nx-me__side { position: sticky; top: 92px; display: grid; gap: 14px; }
@media (max-width: 1000px) { .nx-me__grid { grid-template-columns: minmax(0, 1fr); } .nx-me__side { position: static; order: -1; } .nx-me__head { grid-template-columns: minmax(0, 1fr); } .nx-savestate, .nx-me__rd { justify-self: start; } }
.nx-sechead2 { margin: 30px 0 12px; }
.nx-sechead2:first-child { margin-top: 0; }
.nx-sechead2 h2 { margin: 0; font-size: 20px; font-weight: 900; }
.nx-sechead2 p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); max-width: 60em; }
.nx-formnote { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; font-size: 13px; background: var(--warn-soft); color: var(--warn); font-weight: 700; }
.nx-formnote.is-info { background: var(--sky-soft); color: var(--sky); }

/* 資料のドロップ先 */
.nx-drop { position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 22px; background: var(--sheet); box-shadow: 0 0 0 1.5px var(--line-2) inset; outline: none;
  transition: box-shadow .25s, transform .35s var(--spring), background .25s; }
.nx-drop::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; border: 1.5px dashed rgba(20, 184, 166, .45); pointer-events: none; transition: inset .3s var(--spring), border-color .2s; }
.nx-drop.is-over { transform: scale(1.015); background: linear-gradient(160deg, rgba(20, 184, 166, .12), var(--sheet)); box-shadow: 0 0 0 2px #14b8a6 inset, 0 18px 40px -18px rgba(20, 184, 166, .6); }
.nx-drop.is-over::before { inset: 4px; border-color: #14b8a6; }
.nx-drop__orb { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 10px; background: conic-gradient(from 200deg, #0f766e, #2dd4bf, #38bdf8, #0f766e); box-shadow: 0 10px 24px -12px rgba(20, 184, 166, .8); position: relative; }
.nx-drop__orb::after { content: ""; position: absolute; inset: 11px 13px 13px; border: 2.5px solid #fff; border-top: 0; border-radius: 0 0 5px 5px; }
.nx-drop__orb::before { content: ""; position: absolute; left: 50%; top: 9px; width: 2.5px; height: 15px; margin-left: -1.25px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 0 transparent; }
.nx-drop h2 { margin: 0 0 4px; font-size: 17px; font-weight: 900; }
.nx-drop p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.nx-drop__how { font-size: 12px !important; color: var(--ink-3) !important; }
.nx-drop__pick { color: #0f766e; font-weight: 800; text-decoration: underline; cursor: pointer; }

/* フォーム（next-form.js） */
.nf { display: grid; gap: 10px; }
.nf-group { margin: 14px 0 2px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--ink-3); }
.nf-group:first-child { margin-top: 0; }
.nf-basic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .nf-basic { grid-template-columns: minmax(0, 1fr); } }
.nf-card { position: relative; padding: 14px 16px 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .2s; }
.nf-card[hidden] { display: none; }
.nf-card:focus-within { box-shadow: 0 0 0 1.5px rgba(20, 184, 166, .55) inset, 0 8px 22px -16px rgba(20, 30, 40, .4); }
.nf-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.nf-card[data-state="ai_candidate"]::before { background: #a855f7; }
.nf-card[data-state="doc_stated"]::before { background: #38bdf8; }
.nf-card[data-state="user_confirmed"]::before { background: #14b8a6; }
.nf-card.is-driver { box-shadow: 0 0 0 1.5px rgba(56, 189, 248, .45) inset; }
.nf-card.is-required .nf-label::after { content: "はじめに"; margin-left: 8px; font-size: 10px; font-weight: 900; letter-spacing: .06em; padding: 1px 7px; border-radius: 99px; background: #0f766e; color: #fff; vertical-align: 2px; }
.nf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.nf-head .grow { flex: 1; }
.dc-in.is-area { display: block; resize: none; overflow: hidden; line-height: 1.5; white-space: pre-wrap; }   /* 見積の規格・仕様（L9-11） */
.dc-amtnote.is-err { color: var(--bad); font-weight: 700; }   /* 入札金額が読めないとき（L9-5） */
.pp-resdlg__err { margin: -4px 0 8px; font-size: 13px; font-weight: 700; color: var(--bad); }   /* 落札額が読めないときの文（L8-2） */
.nx-mk.is-nodue { color: var(--ink-3); background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }   /* 締切不明（L7-10）。目立たせすぎない */
/* 時間がかかる旨（10/19 ）: 照合の画面の上の一言と、照合の画面を開いている間の帯（next.js） */
.nx-slow { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.nx-navwait { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; width: min(560px, calc(100% - 24px)); margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--ink); background: var(--sheet); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(0, 0, 0, .35); }
.nx-fit__head > .nx-fit__rule { grid-column: 1 / -1; order: 9; margin: 0; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--ink-3); white-space: normal; }   /* 決まりの照合の結果だと添える（L6-2）。札の外・頭の行の下（L15） */
/* 公開日までの「近日公開」（next-soon.js。押せないことが分かる見た目に） */
.nx-prelaunch { cursor: not-allowed; text-decoration: none; } .nx-btn.nx-prelaunch { opacity: .55; filter: grayscale(.5); box-shadow: none; }   /* .is-soon は締切が近い印・料金の準備中の機能の名前（ぶつけない） */
/* スマホでは見出しの行を折らず、見出しの文字の中で折る（10/19 L5-15: 長い見出しで「?」だけが次の行に離れた） */
@media (max-width: 600px) { .nf-head { flex-wrap: nowrap; } .nf-head .nf-label { flex: 0 1 auto; min-width: 0; } .nf-head > :not(.nf-label):not(.grow) { flex: none; }
  .nx-savestate { white-space: normal; border-radius: 12px; }   /* 保存の文が長くなり 390 で右に切れた（L5-6） */ }
.nf-label { margin: 0; font-size: 15px; font-weight: 900; }
.nf-tag { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); cursor: help; }
.nf-tag.is-hard { background: #fde8e4; color: #9d2a1f; } .nf-tag.is-soft { background: #e3f4ee; color: #1e6b4a; } .nf-tag.is-special, .nf-tag.is-info { background: var(--sky-soft); color: var(--sky); }
.nf-tag.is-strict { background: #fff4d6; color: #8a5a00; } .nf-tag.is-driver { background: #dff1fb; color: #0b5a82; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nf-tag.is-hard { background: #3a1c18; color: #ff9c8c; } :where(:root:not([data-scheme="light"])) .nf-tag.is-soft { background: #17291f; color: #86cfa4; } :where(:root:not([data-scheme="light"])) .nf-tag.is-strict { background: #2f2511; color: #f0c068; } :where(:root:not([data-scheme="light"])) .nf-tag.is-driver { background: #13303f; color: #9cd7f5; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nf-tag.is-hard { background: #3a1c18; color: #ff9c8c; } :where(:root[data-scheme="dark"]) .nf-tag.is-soft { background: #17291f; color: #86cfa4; } :where(:root[data-scheme="dark"]) .nf-tag.is-strict { background: #2f2511; color: #f0c068; } :where(:root[data-scheme="dark"]) .nf-tag.is-driver { background: #13303f; color: #9cd7f5; } }
.nf-freq { font-size: 11px; color: var(--ink-3); font-family: var(--f-num); }
.nf-state, .nf-item-state { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--paper-2); color: var(--ink-3); white-space: nowrap; }
.nf-state[data-s="ok"], .nf-item-state[data-s="ok"] { background: #d9f3ec; color: #0f766e; }
.nf-state[data-s="ai"], .nf-item-state[data-s="ai"] { background: #f1e6fe; color: #7e22ce; }
.nf-state[data-s="doc"], .nf-item-state[data-s="doc"] { background: #e0f2fe; color: #0369a1; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nf-state[data-s="ok"], :where(:root:not([data-scheme="light"])) .nf-item-state[data-s="ok"] { background: #12302b; color: #5eead4; } :where(:root:not([data-scheme="light"])) .nf-state[data-s="ai"], :where(:root:not([data-scheme="light"])) .nf-item-state[data-s="ai"] { background: #2a1840; color: #d8b4fe; } :where(:root:not([data-scheme="light"])) .nf-state[data-s="doc"], :where(:root:not([data-scheme="light"])) .nf-item-state[data-s="doc"] { background: #10283a; color: #7dd3fc; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nf-state[data-s="ok"], :where(:root[data-scheme="dark"]) .nf-item-state[data-s="ok"] { background: #12302b; color: #5eead4; } :where(:root[data-scheme="dark"]) .nf-state[data-s="ai"], :where(:root[data-scheme="dark"]) .nf-item-state[data-s="ai"] { background: #2a1840; color: #d8b4fe; } :where(:root[data-scheme="dark"]) .nf-state[data-s="doc"], :where(:root[data-scheme="dark"]) .nf-item-state[data-s="doc"] { background: #10283a; color: #7dd3fc; } }
.nf-helpbtn { width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer; font-weight: 900; font-size: 12px; background: var(--paper-2); color: var(--ink-2); }
.nf-helpbtn[aria-expanded="true"] { background: #0f766e; color: #fff; }
.nf-help { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: var(--sheet-2); color: var(--ink-2); }
.nf-cond { margin: 4px 0 0; font-size: 12px; color: #0b5a82; }
.nf-body { margin-top: 10px; }
.nf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nf-chip { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2);
  background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .15s, color .15s, transform .25s var(--spring); }
@media (hover: hover) { .nf-chip:not(.is-on):hover { background: var(--paper-2); } }   /* 2026-10-13 （iPhone）: 押しても緑にならず、次を押すと前のが緑になった＝指の端末ではホバーが押した札に残り、選ばれた色を上書きしていた */
.nf-chip:active { transform: scale(.95); }
.nf-chip.is-on { background: #0f766e; color: #fff; box-shadow: none; }
.nf-chip.is-on[data-s="ai"] { background: #7e22ce; } .nf-chip.is-on[data-s="doc"] { background: #0369a1; }
.nf-chip small { font-size: 10px; opacity: .85; }
.nf-input { width: 100%; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 0; font: inherit; font-size: 14px; color: var(--ink); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; box-sizing: border-box; }
.nf-input:focus { outline: none; box-shadow: 0 0 0 2px #14b8a6 inset; background: var(--sheet); }
.nf-input.is-area { min-height: 76px; resize: vertical; line-height: 1.6; }
.nf-input.is-num { width: 9em; font-family: var(--f-num); }
.nf-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nf-line > .nf-input:not(.is-num) { flex: 1 1 260px; }
.nf-tilde { color: var(--ink-3); }
.nf-add { margin-top: 8px; max-width: 360px; }
.nf-note { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.nf-raw { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.nf-mini { min-height: 26px; padding: 0 10px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; background: #0f766e; color: #fff; }
.nf-x { width: 28px; height: 28px; border-radius: 8px; border: 0; cursor: pointer; font-size: 16px; line-height: 1; background: transparent; color: var(--ink-3); }
@media (hover: hover) { .nf-x:hover { background: var(--bad-soft); color: var(--bad); } }
.nf-rows { display: grid; gap: 4px; }
.nf-row { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)) auto; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--sheet-2); font-size: 13px; }
.nf-row.is-head { background: transparent; padding-bottom: 0; font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.nf-row.is-new { background: transparent; padding: 4px 0 0; }
.nf-row.is-new .nf-input { min-height: 36px; font-size: 13px; }
.nf-row .is-wide { white-space: pre-wrap; }
.nf-row__act { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.nf-addrow { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--ink); color: var(--paper); transition: transform .25s var(--spring); }
.nf-addrow:active { transform: scale(.96); }
@media (max-width: 640px) { .nf-row { grid-template-columns: minmax(0, 1fr) auto; } .nf-row.is-head { display: none; } .nf-row > span[data-col]::before { content: attr(data-col) "："; color: var(--ink-3); font-size: 11px; } .nf-row.is-new { grid-template-columns: minmax(0, 1fr); } }
.nf-detail { border-radius: 16px; background: var(--paper-2); }
.nf-detail > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-radius: 16px; }
.nf-detail > summary::-webkit-details-marker { display: none; }
.nf-detail > summary::before { content: "＋"; font-weight: 900; color: #0f766e; transition: transform .25s var(--spring); display: inline-block; }
.nf-detail[open] > summary::before { transform: rotate(45deg); }
.nf-detail > summary b { font-size: 15px; }
.nf-detail__n { font-size: 12px; font-family: var(--f-num); color: var(--ink-3); }
.nf-detail > summary small { flex-basis: 100%; font-size: 12px; color: var(--ink-3); padding-left: 22px; }
.nf-detail__body { display: grid; gap: 10px; padding: 0 10px 12px; }

/* 対応業務の一覧（1件1行） */
.nx-works { margin-top: 40px; }
.nx-worklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-workrow { display: grid; grid-template-columns: auto minmax(0, 1fr) 180px 16px; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px;
  text-decoration: none; color: inherit; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .3s var(--spring), box-shadow .2s; }
@media (hover: hover) { .nx-workrow:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 10px 24px -18px rgba(20, 30, 40, .5); } }
.nx-workrow__main b { display: block; font-size: 15px; font-weight: 900; }
.nx-workrow__main small { font-size: 12px; color: var(--ink-3); }
.nx-workrow__rd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.nx-workrow__rd b { font-family: var(--f-num); font-size: 15px; }
.nx-workrow__go { color: var(--ink-3); font-size: 20px; }
@media (max-width: 640px) { .nx-workrow { grid-template-columns: minmax(0, 1fr) 16px; } .nx-workrow .nx-obj__kind { grid-column: 1; } .nx-workrow__rd { grid-column: 1; } .nx-workrow__go { grid-row: 1 / span 3; grid-column: 2; } }
.nx-addwork { margin-top: 10px; width: 100%; min-height: 52px; border-radius: 16px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 900; color: #0f766e;
  background: transparent; box-shadow: 0 0 0 1.5px rgba(20, 184, 166, .5) inset; transition: background .2s, transform .3s var(--spring); }
@media (hover: hover) { .nx-addwork:hover { background: rgba(20, 184, 166, .08); } } .nx-addwork:active { transform: scale(.99); }
.nx-addwork[aria-expanded="true"] { background: rgba(20, 184, 166, .1); }
.nx-catpick { margin-top: 10px; padding: 16px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-catpick > p { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.nx-catpick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.nx-cattile { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; background: var(--sheet-2);
  box-shadow: 0 0 0 1px var(--line) inset; transition: transform .3s var(--spring), box-shadow .2s; }
@media (hover: hover) { .nx-cattile:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px rgba(20, 184, 166, .6) inset, 0 12px 24px -18px rgba(20, 30, 40, .5); } }
.nx-cattile small { font-size: 11px; color: var(--ink-3); }
.nx-cattile__eg { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.nx-cattile.is-busy { opacity: .6; }

/* フォームに無い重要な情報・照合用の要約 */
.nx-extra { display: grid; gap: 12px; }
.nx-loose { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nx-loose li { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14px; }
.nx-loose li b { font-size: 13px; color: var(--ink-2); }
.nx-loose li small { grid-column: 2 / -1; font-size: 12px; color: var(--ink-3); }
.nx-loose__empty { display: block !important; color: var(--ink-3); font-size: 13px !important; }
.nx-loose__add { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 8px; }
@media (max-width: 640px) { .nx-loose li, .nx-loose__add { grid-template-columns: minmax(0, 1fr); } }
.nx-sum { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--paper-2); }
.nx-sum__h { margin: 0; font-size: 13px; font-weight: 900; color: var(--ink-2); }
.nx-sum__row { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.nx-danger { margin-top: 48px; text-align: right; }
.nx-workrow .nx-obj__kind, .nx-me__title .nx-obj__kind, .nx-cattile .nx-obj__kind { grid-area: auto; }
.nx-drop .nx-btn { text-decoration: none; display: inline-flex; align-items: center; }

/* ─────────── 資料の取り込み（右の列） ─────────── */
#nx-import { display: grid; gap: 12px; }
.nxi-msg { padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; }
/* 取り込みの結果の知らせが4つ並ぶと、段落の既定の余白で間が空きすぎた（10/18 R5C-3・4 で増えた） */
.nxp-job > .nxi-msg { margin: 8px 0 0; }
.nxi-msg[hidden], .nxi-msg:empty { display: none; }
.nxi-msg[data-kind="ok"] { background: var(--ok-soft); color: var(--ok); }
.nxi-msg[data-kind="warn"] { background: var(--warn-soft); color: var(--warn); }
.nxi-msg[data-kind="err"] { background: var(--bad-soft); color: var(--bad); }
.nxi-msg[data-kind="busy"] { color: var(--sky); background: var(--sky-soft); }
.nxi-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nxi-docs:empty { display: none; }
.nxi-docs li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nxi-doc__ico { width: 40px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-num); font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #fff;
  background: linear-gradient(160deg, #0f766e, #0e7490); }
.nxi-docs li[data-s="failed"] .nxi-doc__ico, .nxi-docs li[data-s="unsupported"] .nxi-doc__ico { background: linear-gradient(160deg, #9d2a1f, #b45309); }
.nxi-doc__main { min-width: 0; display: grid; }
.nxi-doc__main b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nxi-doc__main small { font-size: 11px; color: var(--ink-3); }
.nxi-doc__note { color: var(--bad) !important; line-height: 1.5; }
.nxi-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(20, 184, 166, .25); border-top-color: #14b8a6; animation: nxi-spin .9s linear infinite; }
@keyframes nxi-spin { to { transform: rotate(360deg); } }
.nxi-ai, .nxi-cands { padding: 14px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nxi-ai[hidden], .nxi-cands[hidden] { display: none; }
.nxi-ai header, .nxi-cands header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.nxi-ai h3, .nxi-cands h3 { margin: 0; font-size: 15px; font-weight: 900; }
.nxi-cands header small { font-size: 12px; color: var(--ink-3); }
.nxi-ai .grow, .nxi-cands .grow { flex: 1; }
.nxi-live { font-size: 12px; font-weight: 800; color: #0f766e; display: inline-flex; align-items: center; gap: 6px; }
.nxi-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #14b8a6; animation: nx-live 2.4s infinite; }
.nxi-jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.nxi-jobs li { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 7px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--sheet-2); }
.nxi-jobs li i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.nxi-jobs li[data-s="running"] i { background: #38bdf8; box-shadow: 0 0 0 0 rgba(56, 189, 248, .6); animation: nxi-pulse 1.4s infinite; }
.nxi-jobs li[data-s="done"] i, .nxi-jobs li[data-s="skipped_cache"] i { background: #14b8a6; }
.nxi-jobs li[data-s="failed"] i { background: #dc2626; }
.nxi-jobs b { font-size: 12px; } .nxi-jobs small { font-size: 11px; color: var(--ink-3); }
.nxi-jobs li:last-child { grid-column: 1 / -1; }
@keyframes nxi-pulse { 70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); } }
.nxi-hide { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.nxi-hide input { accent-color: #0f766e; }
.nxi-bulk { width: 100%; display: grid; gap: 2px; text-align: left; margin-bottom: 10px; padding: 10px 14px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 900;
  color: #fff; background: linear-gradient(120deg, #0f766e, #0e7490); transition: transform .25s var(--spring), opacity .2s; }
.nxi-bulk small { font-size: 11px; font-weight: 600; opacity: .85; }
.nxi-bulk:active { transform: scale(.98); } .nxi-bulk:disabled { opacity: .5; }
.nxi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 60vh; overflow: auto; scrollbar-width: thin; }
.nxi-list li { padding: 10px 12px; border-radius: 12px; background: var(--sheet-2); }
.nxi-list li[data-review="adopted"] { opacity: .65; } .nxi-list li[data-review="rejected"] { opacity: .45; }
.nxi-c__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nxi-c__head b { font-size: 13px; }
.nxi-agree { font-size: 11px; color: var(--ink-3); font-family: var(--f-num); }
.nf-item-state[data-s="bad"] { background: var(--bad-soft); color: var(--bad); }
.nxi-c__val { margin: 4px 0 0; font-size: 14px; font-weight: 700; line-height: 1.55; word-break: break-word; }
.nxi-c__note { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.nxi-ev summary { cursor: pointer; font-size: 12px; font-weight: 700; color: #0e7490; margin-top: 4px; }
.nxi-ev blockquote { margin: 6px 0 0; padding: 6px 10px; border-left: 3px solid rgba(14, 116, 144, .4); font-size: 12px; color: var(--ink-2); background: var(--sheet); border-radius: 0 8px 8px 0; }
.nxi-ev blockquote small { display: block; font-size: 11px; color: var(--ink-3); }
.nxi-c__act { display: flex; gap: 6px; margin-top: 8px; }
.nxi-btn { min-height: 30px; padding: 0 12px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; background: var(--sheet); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; transition: transform .25s var(--spring); }
.nxi-btn:active { transform: scale(.95); }
.nxi-btn.is-go { background: #0f766e; color: #fff; box-shadow: none; }
@media (hover: hover) { .nxi-btn.is-no:hover { background: var(--bad-soft); color: var(--bad); } }
.nxi-btn:disabled { opacity: .45; cursor: default; }
.nxi-edit { display: flex; gap: 6px; margin-top: 6px; } .nxi-edit[hidden] { display: none; }
.nxi-c__done { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--ink-3); }

/* ─────────── 照合 ─────────── */
.nx-mbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.nx-mbar .grow { flex: 1; }
.nx-mbar .nx-seg2 a { display: inline-grid; line-height: 1.3; }
.nx-mbar .nx-seg2 small { font-size: 10px; font-weight: 600; opacity: .7; }
.nx-mbar__last { font-size: 12px; color: var(--ink-3); }
.nx-mnote { margin: 0 0 18px; font-size: 12px; color: var(--ink-3); }
.nx-mtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
@media (max-width: 800px) { .nx-mtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nx-mtile { display: grid; padding: 14px 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-mtile b { font-family: var(--f-num); font-size: 30px; line-height: 1.1; }
.nx-mtile span { font-size: 13px; font-weight: 800; } .nx-mtile small { font-size: 11px; color: var(--ink-3); }
.nx-mtile[data-k="fit"] b { color: #0f766e; } .nx-mtile[data-k="ng"] b { color: var(--bad); }
.nx-mlane { margin-bottom: 22px; }
.nx-mlane h2 { margin: 0; font-size: 18px; font-weight: 900; display: flex; align-items: baseline; gap: 10px; }
.nx-mlane h2 small, .nx-mlane summary small { font-size: 12px; font-weight: 700; color: var(--ink-3); font-family: var(--f-num); }
.nx-mlane__note { margin: 2px 0 10px; font-size: 12px; color: var(--ink-3); }
.nx-mlane__none { font-size: 13px; color: var(--ink-3); }
.nx-mlane.is-fold { padding: 4px 16px; border-radius: 16px; background: var(--paper-2); }
.nx-mlane.is-fold summary { cursor: pointer; padding: 10px 0; display: flex; align-items: baseline; gap: 10px; list-style: none; }
.nx-mlane.is-fold summary::before { content: "＋"; color: var(--ink-3); font-weight: 900; }
.nx-mlane.is-fold[open] summary::before { content: "－"; }
.nx-mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nx-mrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 14px; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: inherit;
  background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .3s var(--spring), box-shadow .2s; }
@media (hover: hover) { .nx-mrow:hover { transform: translateX(2px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 8px 20px -16px rgba(20, 30, 40, .5); } }
.nx-mrow__score { display: flex; align-items: baseline; gap: 2px; } .nx-mrow__score b { font-family: var(--f-num); font-size: 20px; } .nx-mrow__score small { font-size: 11px; color: var(--ink-3); }
.nx-mrow__main { min-width: 0; display: grid; } .nx-mrow__main b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nx-mrow__main small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-mrow__tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nx-mrow__go { color: var(--ink-3); }
@media (max-width: 700px) { .nx-mrow { grid-template-columns: 52px minmax(0, 1fr) 14px; } .nx-mrow__tags { grid-column: 2; justify-content: flex-start; } }

/* ─────────── 商品 ─────────── */
.nx-addbtn { justify-self: end; text-decoration: none; display: inline-flex; align-items: center; color: #fff; }
.nx-drop--wide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 12px; }
.nx-drop--wide .nx-drop__orb { margin: 0; }
#nx-pimport { display: grid; gap: 10px; margin-bottom: 18px; }
#nx-pimport:empty { display: none; }
.nxp-job { padding: 14px 16px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 10px; }
.nxp-job > header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nxp-job > header b { font-size: 14px; } .nxp-job > header small { font-size: 12px; color: var(--ink-3); }
.nxp-job > footer { display: flex; align-items: center; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.nxp-job > footer small { flex: 1; font-size: 11px; color: var(--ink-3); }
.nx-pstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.nx-pstats .nx-meter { margin-top: 6px; }
@media (max-width: 700px) { .nx-pstats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.nx-ptools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 10px; }
.nx-qbox--sm { flex: 1 1 280px; min-height: 44px; }
.nx-psel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.nx-psel > span { font-weight: 800; margin-right: 4px; }
.nx-psel .nx-btn { min-height: 34px; font-size: 12px; }
.nx-psel small { font-size: 11px; color: var(--ink-3); }
.nx-ptable { overflow-x: auto; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-ptable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nx-ptable th { position: sticky; top: 0; text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--ink-3); padding: 10px 12px; background: var(--sheet-2); white-space: nowrap; }
.nx-ptable td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.nx-ptable tr.is-sel td { background: rgba(20, 184, 166, .08); }
@media (hover: hover) { .nx-ptable tbody tr:hover td { background: var(--sheet-2); } }
.nx-ptable .c-pick { width: 34px; cursor: pointer; } .nx-ptable .c-pick input { width: 20px; height: 20px; accent-color: #0f766e; }   /* 枠ごと押せる（next-products.js。10/19 L15-6: 16×16 だった） */
.nx-ptable .c-name a { font-weight: 800; color: var(--ink); text-decoration: none; } @media (hover: hover) { .nx-ptable .c-name a:hover { color: #0f766e; text-decoration: underline; } }
.nx-ptable .c-name small { display: block; font-size: 11px; color: var(--ink-3); }
.nx-ptable .c-model { font-family: var(--f-num); letter-spacing: .02em; }
.nx-ptable .c-num { text-align: right; font-family: var(--f-num); white-space: nowrap; }
.nx-ptable.is-mini { max-height: 380px; overflow: auto; }
.nx-none { color: var(--ink-3); font-size: 12px; }
.nx-pempty { padding: 36px 16px !important; text-align: center; color: var(--ink-3); }
.nx-pager2 { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 14px 0; }
.nx-pager2 .nx-btn { min-height: 36px; font-size: 12px; }
.nx-pager2__n { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.nx-pager2__n input { width: 5em; min-height: 36px; }
.nx-pbar { position: sticky; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 18px;
  background: rgba(22, 20, 15, .92); color: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); }
.nx-pbar[hidden] { display: none; }
.nx-pbar b { margin-right: auto; font-size: 14px; }
.nx-pbar .nx-btn--quiet, .nx-pbar .nx-btn--ghost { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: none; }
.nx-drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; gap: 12px; padding: 22px; overflow: auto;
  background: var(--sheet); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); animation: nx-drawer .35s var(--ease); }
.nx-drawer[hidden] { display: none; }
@keyframes nx-drawer { from { transform: translateX(40px); opacity: 0; } }
.nx-drawer header { display: flex; align-items: center; justify-content: space-between; }
.nx-drawer h2 { margin: 0; font-size: 20px; font-weight: 900; }
.nx-drawer__note { margin: 0; font-size: 13px; color: var(--ink-2); }
.nx-dfield { display: grid; gap: 4px; font-size: 13px; font-weight: 800; }
.nx-dfield select { min-height: 40px; border-radius: 10px; border: 0; padding: 0 10px; font: inherit; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-dcheck { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; } .nx-dcheck input { accent-color: #0f766e; }
.nx-dprev { padding: 12px 14px; border-radius: 12px; background: var(--paper-2); font-size: 13px; }
.nx-dprev p { margin: 0 0 6px; } .nx-dprev table { width: 100%; border-collapse: collapse; font-size: 12px; } .nx-dprev th, .nx-dprev td { text-align: left; padding: 4px 6px; border-top: 1px solid var(--line); }
.nx-warn { color: var(--warn); font-weight: 800; }
.nx-drawer footer { margin-top: auto; display: flex; gap: 8px; justify-content: flex-end; }
.nx-toast2 { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px;
  background: rgba(22, 20, 15, .94); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.nx-toast2[hidden] { display: none; }
.nx-toast2 .nf-mini { background: #2dd4bf; color: #062a26; }
.nx-psum { padding: 16px 18px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-psum h2 { margin: 0 0 4px; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.nx-psum p { margin: 6px 0 0; font-size: 13px; }
.nx-psum__big { font-size: 20px !important; font-weight: 900; color: var(--warn); } .nx-psum__big[data-ok="true"] { color: #0f766e; }

/* ─────────── アカウントなし・アカウント ─────────── */
.nx-login { font-size: 13px; font-weight: 800; color: inherit; text-decoration: none; padding: 0 10px; }
.nx-start { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; color: #fff; font-size: 13px; }
.nx-acct { position: relative; }
.nx-acct > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 2px 8px 2px 2px; border-radius: 14px; }
.nx-acct > summary::-webkit-details-marker { display: none; }
.nx-acct__name { font-size: 13px; font-weight: 800; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-acct__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 220px; display: grid; gap: 2px; padding: 10px; border-radius: 16px; --lq-tint: rgba(255, 252, 246, .95); color: var(--ink); }
.nx-acct__panel p { margin: 0 6px 6px; font-size: 12px; color: var(--ink-3); }
.nx-acct__panel a, .nx-acct__panel button { display: block; text-align: left; width: 100%; padding: 8px 10px; border-radius: 10px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; }
@media (hover: hover) { .nx-acct__panel a:hover, .nx-acct__panel button:hover { background: var(--paper-2); } }
.nx-anoncta { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(120deg, rgba(20, 184, 166, .14), rgba(56, 189, 248, .1));
  box-shadow: 0 0 0 1px rgba(20, 184, 166, .3) inset; }
.nx-anoncta div { flex: 1; display: grid; gap: 4px; } .nx-anoncta b { font-size: 16px; } .nx-anoncta span { font-size: 13px; color: var(--ink-2); }
.nx-anoncta .nx-btn { text-decoration: none; color: #fff; display: inline-flex; align-items: center; white-space: nowrap; }
@media (max-width: 700px) { .nx-anoncta { flex-direction: column; align-items: stretch; } }
.nx-btn--big { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.nx-btn--glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; backdrop-filter: blur(10px); text-decoration: none; }
@media (hover: hover) { .nx-btn--glass:hover { background: rgba(255, 255, 255, .2); } }

/* 紹介ページ */
.nx-wel { position: relative; isolation: isolate; overflow: hidden; min-height: min(92vh, 860px); display: grid; align-items: center; padding: 120px 24px 72px; color: #eef3f8; border-radius: 0 0 36px 36px; background: #070b18; }
.nx-wel .nx-hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.nx-wel__inner { width: min(1100px, 100%); margin: 0 auto; }
.nx-wel__eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: #5eead4; }
/* 明るい地の見出しの上の小さな札（アカウント・はじめる・おかえりなさい）は水色だとほぼ読めない（2026-10-13 試験）→ 深い緑。暗い空の上（入口）は水色のまま */
.nx-login .nx-wel__eyebrow, .nx-wel__eyebrow:not(.nx-wel__brand) { color: #0f766e; }
.nx-wel h1 { margin: 0; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.nx-wel h1 em { font-style: normal; background: linear-gradient(100deg, #ccfbf1, #5eead4 55%, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-wel__lead { margin: 22px 0 30px; max-width: 44em; font-size: 16px; color: rgba(238, 243, 248, .82); }
.nx-wel__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-wel__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; }
.nx-wel__stats dt { font-size: 12px; letter-spacing: .08em; color: rgba(238, 243, 248, .6); }
.nx-wel__stats dd { margin: 4px 0 0; font-family: var(--f-num); font-size: 34px; font-weight: 600; } .nx-wel__stats dd small { font-size: 14px; margin-left: 2px; }
.nx-wel__stats .is-kinds { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--f-jp); font-size: 13px; }
.nx-wel__stats .is-kinds span { padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.nx-wel2 { width: min(1100px, calc(100% - 32px)); margin: 56px auto 96px; }
.nx-wel2__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .nx-wel2__grid { grid-template-columns: minmax(0, 1fr); } }
.nx-wel2 article { padding: 22px; border-radius: 22px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-wel2__n { font-family: var(--f-num); font-size: 13px; font-weight: 800; color: #0f766e; }
.nx-wel2 h2 { margin: 6px 0 8px; font-size: 22px; font-weight: 900; }
.nx-wel2 article p { margin: 0; font-size: 14px; color: var(--ink-2); }
.nx-wel2__table { width: 100%; margin-top: 28px; border-collapse: collapse; background: var(--sheet); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; }
.nx-wel2__table caption { text-align: left; font-size: 18px; font-weight: 900; margin-bottom: 10px; }
.nx-wel2__table th, .nx-wel2__table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; text-align: center; }
.nx-wel2__table tbody th { text-align: left; font-weight: 700; }
.nx-wel2__table thead th { background: var(--sheet-2); font-size: 12px; color: var(--ink-3); }
.nx-wel2__table td:last-child { color: #0f766e; font-weight: 900; }
.nx-wel2__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--ink-3); }

/* アカウント作成 */
.nx-signup { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 110px 0 80px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .nx-signup { grid-template-columns: minmax(0, 1fr); } }
.nx-signup__side h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.25; font-weight: 900; }
.nx-signup__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.nx-signup__steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
.nx-signup__steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-weight: 800; color: #fff; background: linear-gradient(140deg, #0f766e, #0e7490); }
.nx-signup__steps b { font-size: 15px; } .nx-signup__steps span { font-size: 13px; color: var(--ink-3); }
.nx-signup__form { display: grid; gap: 14px; padding: 26px; border-radius: 24px; --lq-tint: rgba(255, 252, 246, .9); }
.nx-signup__need { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--sky-soft); color: var(--sky); font-weight: 800; font-size: 13px; }
.nx-signup__price { margin: 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.nx-signup__err { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-weight: 800; font-size: 13px; }
.nx-signup__err.is-stale { background: var(--sheet); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line) inset; font-weight: 600; }
.nx-field { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.nx-field input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 0; font: inherit; font-size: 16px; font-weight: 500; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-field input:focus { outline: none; box-shadow: 0 0 0 2px #14b8a6 inset; }
.nx-catpick2 { border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.nx-catpick2 legend { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.nx-cat2 { position: relative; cursor: pointer; }
.nx-cat2 input { position: absolute; opacity: 0; }
.nx-cat2 span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; transition: box-shadow .2s, transform .25s var(--spring); height: 100%; box-sizing: border-box; }
.nx-cat2 b { font-size: 14px; } .nx-cat2 small { font-size: 11px; color: var(--ink-3); line-height: 1.4; }
.nx-cat2 input:checked + span { box-shadow: 0 0 0 2px #0f766e inset; background: rgba(20, 184, 166, .08); transform: translateY(-1px); }
.nx-cat2 input:focus-visible + span { outline: 3px solid var(--sun); }
.nx-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; color: var(--ink-2); cursor: pointer; } .nx-agree input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #0f766e; }
.nx-signup__login { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ─────────── 初回の利用ガイド ─────────── */
.nxt { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; color: #eef3f8; background: #060a16; overflow: hidden; }
.nxt__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.nxt__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; }
.nxt__hello { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: rgba(238, 243, 248, .7); }
.nxt__skip { border: 0; background: rgba(255, 255, 255, .1); color: #fff; padding: 8px 16px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.nxt__stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; width: min(1200px, calc(100% - 48px)); margin: 0 auto; opacity: 0; transform: translateY(12px); }
.nxt__stage.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
@media (max-width: 900px) { .nxt__stage { grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: auto; align-content: start; } .nxt { overflow: auto; } }
.nxt__no { margin: 0 0 10px; font-family: var(--f-num); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #5eead4; }
.nxt__text h1 { margin: 0; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.2; font-weight: 900; }
.nxt__lead { margin: 16px 0 18px; font-size: 15px; color: rgba(238, 243, 248, .8); line-height: 1.8; }
.nxt__task { display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(94, 234, 212, .12); color: #ccfbf1; font-weight: 800; font-size: 14px; }
.nxt__task span { color: #5eead4; animation: nxt-blink 1.6s ease-in-out infinite; }
@keyframes nxt-blink { 50% { opacity: .3; } }
.nxt__done { min-height: 1.6em; margin: 12px 0 0; font-size: 14px; font-weight: 800; color: #fde68a; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--spring); }
.nxt__done.is-on { opacity: 1; transform: none; }
.nxt__done.is-on::before { content: "★ "; }
.nxt__scene { position: relative; min-height: 380px; border-radius: 28px; background: rgba(8, 14, 30, .45); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 40px 80px -40px rgba(0, 0, 0, .8); backdrop-filter: blur(6px); padding: 20px; }
.nxt__foot { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px 22px; }
.nxt__nav { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s, transform .3s var(--spring); }
.nxt__nav:disabled { opacity: .3; cursor: default; }
.nxt__nav.is-ready { background: linear-gradient(140deg, #0b5f58, #0f766e); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: nxt-ready 1.8s infinite; }
@keyframes nxt-ready { 70% { box-shadow: 0 0 0 14px rgba(45, 212, 191, 0); } }
.nxt__stars { width: min(520px, 70vw); height: 60px; overflow: visible; }
.nxt__line { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 1.2; stroke-dasharray: 3 4; }
.nxt__line.is-lit { stroke: #fde68a; stroke-dasharray: none; stroke-width: 1.6; filter: drop-shadow(0 0 4px #fde68a); transition: all .6s; }
.nxt__star { cursor: pointer; outline: none; }
.nxt__halo { fill: transparent; }
.nxt__shape { fill: rgba(255, 255, 255, .25); transition: fill .4s, transform .5s var(--spring); transform-origin: center; }
.nxt__star.is-on .nxt__shape { fill: #fde68a; filter: drop-shadow(0 0 6px #fde68a); transform: scale(1.35); }
.nxt__star.is-cur .nxt__halo { fill: rgba(94, 234, 212, .14); stroke: rgba(94, 234, 212, .6); stroke-width: 1; }
.nxt__label { fill: rgba(238, 243, 248, .6); font-size: 10px; text-anchor: middle; font-family: var(--f-jp); }
.nxt__star.is-cur .nxt__label { fill: #fff; font-weight: 800; }
/* 場面1 */
.nxt__svg { width: 100%; height: 100%; min-height: 360px; overflow: visible; }
.nxt__land { fill: rgba(14, 26, 52, .6); stroke: rgba(190, 220, 255, .35); stroke-width: .6; }
.nxt__beam { opacity: var(--b); cursor: pointer; transform-box: fill-box; }
.nxt__beam .nxt__core, .nxt__beam .nxt__halo2 { transform-box: fill-box; transform-origin: bottom; animation: nxm-rise 1s cubic-bezier(.2, .9, .25, 1.15) both; animation-delay: calc(var(--i) * 120ms + 300ms); }
.nxt__core { fill: #e0fbff; } .nxt__halo2 { fill: rgba(103, 232, 249, .28); filter: blur(3px); } .nxt__pool { fill: rgba(103, 232, 249, .5); filter: blur(2px); }
.nxt__beam.is-hot { opacity: 1; } .nxt__beam.is-hot .nxt__halo2 { fill: rgba(253, 230, 138, .45); }
.nxt__tip { position: absolute; z-index: 3; width: 240px; display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 18, 36, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset; font-size: 13px; }
.nxt__tip small { color: #5eead4; }
/* 場面2 */
.nxt__goal { display: grid; align-content: center; gap: 16px; }
.nxt__cmdwrap { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.nxt__cmdicon { color: #5eead4; font-size: 20px; }
.nxt__cmd { flex: 1; border: 0; background: none; color: #fff; font: inherit; font-size: 20px; outline: none; }
.nxt__ex { display: flex; flex-wrap: wrap; gap: 8px; }
.nxt__ex button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 700; color: #ccfbf1; background: rgba(94, 234, 212, .12); }
@media (hover: hover) { .nxt__ex button:hover { background: rgba(94, 234, 212, .22); } }
.nxt__chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 90px; align-content: flex-start; }
.nxt__chip { display: inline-grid; padding: 10px 16px; border-radius: 16px; font-size: 18px; font-weight: 800; background: linear-gradient(140deg, rgba(20, 184, 166, .35), rgba(56, 189, 248, .25));
  box-shadow: 0 0 0 1px rgba(94, 234, 212, .5) inset, 0 10px 30px -10px rgba(45, 212, 191, .6); animation: nxt-fly .7s cubic-bezier(.2, .9, .25, 1.2) both; animation-delay: calc(var(--i) * 140ms); }
.nxt__chip small { font-size: 11px; color: #99f6e4; letter-spacing: .08em; }
.nxt__chipnote { align-self: center; font-size: 13px; color: rgba(238, 243, 248, .7); animation: nxt-fly .7s both; animation-delay: calc(var(--i) * 140ms); }
@keyframes nxt-fly { from { opacity: 0; transform: translate(-60px, -40px) scale(.6) rotate(-6deg); } }
/* 場面3 */
.nxt__doc { display: grid; gap: 18px; }
.nxt__docrow { display: flex; align-items: center; justify-content: center; gap: 60px; min-height: 180px; }
.nxt__paper { position: relative; width: 120px; height: 160px; border-radius: 10px; background: #fbf6ec; color: #111; padding: 14px 12px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); cursor: grab; display: grid; align-content: start; gap: 8px;
  transform: rotate(-6deg); transition: transform .4s var(--spring), opacity .5s; animation: nxt-float 3s ease-in-out infinite; }
.nxt__paper b { font-size: 11px; } .nxt__paper i { display: block; height: 5px; border-radius: 3px; background: #d6d0c4; } .nxt__paper i.is-s { width: 60%; }
@media (hover: hover) { .nxt__paper:hover { transform: rotate(-2deg) scale(1.05); } }
.nxt__paper.is-gone { opacity: 0; transform: translateX(160px) scale(.3) rotate(20deg); pointer-events: none; }
@keyframes nxt-float { 50% { translate: 0 -8px; } }
.nxt__zone { position: relative; width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(94, 234, 212, .6); color: #99f6e4; font-weight: 800;
  box-shadow: 0 0 60px -10px rgba(45, 212, 191, .5) inset; transition: all .4s var(--spring); }
.nxt__zone.is-over { transform: scale(1.1); border-color: #fde68a; }
.nxt__zone.is-eat { border-style: solid; background: radial-gradient(circle, rgba(45, 212, 191, .35), transparent 70%); }
.nxt__zone.is-eat > span { opacity: 0; }
.nxt__zone.is-done { border-color: #fde68a; box-shadow: 0 0 60px -6px rgba(253, 230, 138, .5) inset; }
.nxt__orbit { position: absolute; inset: 0; animation: nxt-spin 6s linear infinite; }
.nxt__orbit.is-done { animation-duration: 18s; }
.nxt__orbit span { position: absolute; left: 50%; top: 50%; width: 64px; margin: -11px 0 0 -32px; text-align: center; font-size: 10px; font-weight: 800; padding: 3px 0; border-radius: 99px;
  background: rgba(56, 189, 248, .3); box-shadow: 0 0 12px rgba(56, 189, 248, .6); transform: rotate(calc(var(--n) * 72deg)) translate(96px) rotate(calc(var(--n) * -72deg)); }
@keyframes nxt-spin { to { transform: rotate(360deg); } }
.nxt__out { display: grid; gap: 8px; }
.nxt__field { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset; font-size: 13px; animation: nxt-fly .6s both; }
.nxt__field b { color: #ccfbf1; }
.nxt__field em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: rgba(56, 189, 248, .25); }
.nxt__field em[data-s="ai"] { background: rgba(168, 85, 247, .35); } .nxt__field em[data-s="ok"] { background: rgba(45, 212, 191, .4); }
.nxt__field button { border: 0; cursor: pointer; padding: 6px 12px; border-radius: 99px; font: inherit; font-size: 12px; font-weight: 800; background: #14b8a6; color: #062a26; animation: nxt-ready 1.8s infinite; }
@media (max-width: 700px) { .nxt__field { grid-template-columns: minmax(0, 1fr) auto; } }
/* 場面4 */
.nxt__lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nxt__lanes section { padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); min-height: 220px; }
.nxt__lanes section[data-k="fit"] { box-shadow: 0 0 0 1px rgba(45, 212, 191, .4) inset; } .nxt__lanes section[data-k="pre"] { box-shadow: 0 0 0 1px rgba(168, 85, 247, .4) inset; }
.nxt__lanes section[data-k="ng"] { box-shadow: 0 0 0 1px rgba(248, 113, 113, .4) inset; }
.nxt__lanes h3 { margin: 0 0 10px; font-size: 13px; font-weight: 900; }
.nxt__lanes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nxt__lanes li { display: grid; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; font-size: 13px; animation: nxt-drop .6s cubic-bezier(.2, .9, .25, 1.2) both; transition: background .2s; }
@media (hover: hover) { .nxt__lanes li:hover { background: rgba(255, 255, 255, .16); } }
.nxt__lanes li small { color: rgba(238, 243, 248, .6); font-family: var(--f-num); }
.nxt__lanes section[data-k="ng"] li { animation: nxt-drop .6s both, nxt-wiggle 2.4s 1.2s ease-in-out infinite; }
@keyframes nxt-drop { from { opacity: 0; transform: translateY(-80px) rotate(4deg); } }
@keyframes nxt-wiggle { 0%, 90%, 100% { transform: none; } 94% { transform: rotate(-1.5deg); } 97% { transform: rotate(1.5deg); } }
.nxt__why { margin-top: 12px; display: grid; gap: 4px; padding: 12px 16px; border-radius: 14px; background: rgba(248, 113, 113, .14); box-shadow: 0 0 0 1px rgba(248, 113, 113, .4) inset; font-size: 14px; animation: nxt-fly .5s both; }
@media (max-width: 700px) { .nxt__lanes { grid-template-columns: minmax(0, 1fr); } }
/* 場面5 */
.nxt__final { grid-column: 1 / -1; text-align: center; max-width: 760px; margin: 0 auto; }
.nxt__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .nxt__stage, .nxt__chip, .nxt__field, .nxt__lanes li, .nxt__paper, .nxt__orbit { animation: none !important; transition: none !important; } }
/* はじめの設定 */
.nx-setup { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: st; }
@media (max-width: 800px) { .nx-setup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.nx-setup li { counter-increment: st; display: grid; gap: 4px; padding: 14px 16px 14px 52px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; position: relative; }
.nx-setup li::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-weight: 800; background: var(--paper-2); color: var(--ink-2); }
.nx-setup li.is-done::before { content: "✓"; background: #0f766e; color: #fff; }
.nx-setup b { font-size: 14px; } .nx-setup small { font-size: 12px; color: var(--ink-3); }

/* ─────────── ログイン後の入力画面（プロフィール・事業所・チーム）: ログイン前と同じ暗い空の見た目 ─────────── */
.nx-dk { --paper: #070b18; --paper-2: rgba(255, 255, 255, .06); --sheet: rgba(14, 22, 42, .72); --sheet-2: rgba(255, 255, 255, .05);
  --ink: #eef3f8; --ink-2: #c3cedb; --ink-3: #8e9bb0; --line: rgba(200, 220, 255, .10); --line-2: rgba(200, 220, 255, .20);
  --ok: #5eead4; --ok-soft: rgba(45, 212, 191, .14); --warn: #fcd34d; --warn-soft: rgba(252, 211, 77, .12); --bad: #fca5a5; --bad-soft: rgba(248, 113, 113, .14);
  --sky: #7dd3fc; --sky-soft: rgba(56, 189, 248, .12); color-scheme: dark; }
.nx-dk body { background: #070b18; color: var(--ink); }
.nx-dk__sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nx-dk__veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 11, 24, .2) 0%, rgba(7, 11, 24, .72) 40%, rgba(7, 11, 24, .9) 100%); }
.nx-dk main, .nx-dk .nx-foot, .nx-dk footer { position: relative; z-index: 1; }
.nx-dk a { color: #5eead4; }
.nx-dkhead { padding: 20px 0 26px; }
.nx-dkhead .nx-crumbs { margin-bottom: 18px; }
.nx-dkhead__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: #5eead4; display: flex; align-items: center; gap: 10px; }
.nx-dkhead h1 { margin: 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(100deg, #ffffff, #ccfbf1 45%, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-dkhead__lead { margin: 14px 0 0; max-width: 52em; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.nx-dkhead__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.nx-dkhead .nx-savestate { margin-top: 14px; display: inline-block; }
.nx-rename { vertical-align: middle; margin-left: 8px; padding: 4px 12px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800;
  color: #ccfbf1; background: rgba(94, 234, 212, .14); -webkit-text-fill-color: #ccfbf1; }
.nx-dk .nf-card { background: rgba(14, 22, 42, .66); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(200, 220, 255, .12) inset, 0 20px 40px -30px rgba(0, 0, 0, .8); }
.nx-dk .nf-card:focus-within { box-shadow: 0 0 0 1.5px rgba(94, 234, 212, .7) inset, 0 0 30px -10px rgba(45, 212, 191, .5); }
.nx-dk .nf-card.is-required { box-shadow: 0 0 0 1px rgba(94, 234, 212, .35) inset, 0 20px 40px -30px rgba(0, 0, 0, .8); }
.nx-dk .nf-detail { background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px rgba(200, 220, 255, .1) inset; }
.nx-dk .nf-chip { background: rgba(255, 255, 255, .05); color: var(--ink-2); box-shadow: 0 0 0 1px rgba(200, 220, 255, .18) inset; }
.nx-dk .nf-chip.is-on { background: linear-gradient(140deg, #0f766e, #0e7490); color: #fff; }
.nx-dk .nf-input { background: rgba(255, 255, 255, .05); color: var(--ink); box-shadow: 0 0 0 1px rgba(200, 220, 255, .18) inset; }
.nx-dk .nf-input:focus { background: rgba(255, 255, 255, .08); }
.nx-dk .nf-addrow { background: #eef3f8; color: #0a0f1d; }
.nx-dk .nf-tag.is-hard { background: rgba(248, 113, 113, .16); color: #fca5a5; } .nx-dk .nf-tag.is-soft { background: rgba(45, 212, 191, .14); color: #5eead4; }
.nx-dk .nf-tag.is-strict { background: rgba(252, 211, 77, .14); color: #fcd34d; } .nx-dk .nf-tag.is-driver { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
.nx-dk .nf-tag.is-special, .nx-dk .nf-tag.is-info { background: rgba(56, 189, 248, .12); color: #7dd3fc; }
.nx-dk .nf-state[data-s="ok"], .nx-dk .nf-item-state[data-s="ok"] { background: rgba(45, 212, 191, .16); color: #5eead4; }
.nx-dk .nf-state[data-s="doc"], .nx-dk .nf-item-state[data-s="doc"] { background: rgba(56, 189, 248, .16); color: #7dd3fc; }
.nx-dk .nf-state[data-s="ai"], .nx-dk .nf-item-state[data-s="ai"] { background: rgba(168, 85, 247, .2); color: #d8b4fe; }
.nx-dk .nf-helpbtn { background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.nx-dk .nf-help { background: rgba(255, 255, 255, .05); }
.nx-dk .nf-row { background: rgba(255, 255, 255, .04); }
.nx-dk .nf-cond { color: #7dd3fc; }
.nx-dk .nx-drop { background: rgba(14, 22, 42, .66); backdrop-filter: blur(10px); box-shadow: 0 0 0 1.5px rgba(94, 234, 212, .3) inset, 0 0 60px -30px rgba(45, 212, 191, .7); }
.nx-dk .nxi-ai, .nx-dk .nxi-cands, .nx-dk .nxi-docs li { background: rgba(14, 22, 42, .7); backdrop-filter: blur(10px); }
.nx-dk .nxi-list li, .nx-dk .nxi-jobs li { background: rgba(255, 255, 255, .05); }
.nx-dk .nx-sum { background: rgba(255, 255, 255, .04); }
.nx-dk .nx-loose li { background: rgba(14, 22, 42, .66); }
.nx-dk .nx-formnote { background: rgba(252, 211, 77, .1); color: #fcd34d; } .nx-dk .nx-formnote.is-info { background: rgba(56, 189, 248, .1); color: #7dd3fc; }
.nx-dk .nx-setup li { background: rgba(14, 22, 42, .7); backdrop-filter: blur(10px); }
.nx-dk .nx-setup li::before { background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.nx-dk .nx-setup li.is-done::before { background: linear-gradient(140deg, #0b5f58, #0f766e); color: #fff; }
.nx-dk .nx-catpick, .nx-dk .nx-cattile { background: rgba(14, 22, 42, .7); }
.nx-dk .nx-field input { background: rgba(255, 255, 255, .06); color: var(--ink); }

/* 仮採用（未確認だが照合に使っている値）: 琥珀色で見分ける */
.nf-state[data-s="prov"], .nf-item-state[data-s="prov"] { background: #fef3c7; color: #92400e; }
.nx-dk .nf-state[data-s="prov"], .nx-dk .nf-item-state[data-s="prov"] { background: rgba(251, 191, 36, .18); color: #fcd34d; }
.nf-card[data-state="provisional"]::before { background: #f59e0b; }
.nf-card[data-state="provisional"] { box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; }
.nf-chip.is-on[data-s="prov"] { background: linear-gradient(140deg, #b45309, #d97706); }

/* まとめて仮採用 */
.nxi-all { width: 100%; display: grid; gap: 4px; text-align: left; margin-bottom: 12px; padding: 16px 18px; border-radius: 16px; border: 0; cursor: pointer; font: inherit; color: #fff;
  background: linear-gradient(120deg, #0f766e, #0e7490 60%, #6d28d9); box-shadow: 0 16px 40px -18px rgba(45, 212, 191, .8); transition: transform .3s var(--spring); }
.nxi-all b { font-size: 16px; } .nxi-all small { font-size: 12px; opacity: .85; }
@media (hover: hover) { .nxi-all:hover { transform: translateY(-1px); } } .nxi-all:active { transform: scale(.98); } .nxi-all:disabled { opacity: .6; }
.nxi-alldone { display: grid; gap: 4px; margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(251, 191, 36, .12); box-shadow: 0 0 0 1px rgba(251, 191, 36, .35) inset; font-size: 13px; }
.nxi-alldone b { font-size: 15px; color: #fcd34d; } .nxi-alldone small { color: var(--ink-3); }
.nxi-one > summary { cursor: pointer; font-size: 13px; font-weight: 800; color: var(--ink-2); padding: 6px 0 10px; }

/* プロフィール → 事業所・チームへの入口 */
.nx-worklink { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 18px 20px; border-radius: 18px; text-decoration: none; color: inherit !important;
  background: linear-gradient(120deg, rgba(20, 184, 166, .16), rgba(56, 189, 248, .1)); box-shadow: 0 0 0 1px rgba(94, 234, 212, .3) inset; transition: transform .3s var(--spring); }
@media (hover: hover) { .nx-worklink:hover { transform: translateY(-2px); } }
.nx-worklink span:first-child { flex: 1; display: grid; gap: 2px; } .nx-worklink b { font-size: 16px; } .nx-worklink small { font-size: 12px; color: var(--ink-3); }

/* 事業所・チームの一覧（カード） */
.nx-units { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.nx-unit { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start; min-height: 190px; padding: 20px; border-radius: 22px; text-decoration: none; color: inherit !important;
  background: rgba(14, 22, 42, .72); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(200, 220, 255, .14) inset, 0 30px 50px -36px rgba(0, 0, 0, .9);
  transition: transform .4s var(--spring), box-shadow .3s; animation: nxt-fly .6s both; animation-delay: calc(var(--i, 0) * 80ms); border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
@media (hover: hover) { .nx-unit:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px rgba(94, 234, 212, .55) inset, 0 30px 60px -30px rgba(45, 212, 191, .5); } }
.nx-unit__glow { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .35), transparent 70%); pointer-events: none; }
.nx-unit .nx-obj__kind { justify-self: start; }
.nx-unit b { font-size: 20px; font-weight: 900; } .nx-unit small { font-size: 12px; color: var(--ink-3); }
.nx-unit__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--ink-3); }
.nx-unit__meta span { padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); } .nx-unit__meta .is-prov { background: rgba(251, 191, 36, .18); color: #fcd34d; }
.nx-unit__rd { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: auto; } .nx-unit__rd b { font-size: 15px; font-family: var(--f-num); }
.nx-unit__rd small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.nx-unit--add { place-content: center; justify-items: center; text-align: center; background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1.5px rgba(94, 234, 212, .35) inset; border: 0; }
.nx-unit__plus { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(140deg, #0b5f58, #0f766e); box-shadow: 0 0 30px -4px rgba(45, 212, 191, .7); margin-bottom: 6px; }
.nx-proflink { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: inherit; background: rgba(127, 127, 127, .12); }
.nx-proflink svg { width: 20px; height: 20px; }
/* 仮採用の応募条件の知らせ */
.nx-provbar { display: grid; gap: 6px; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; background: rgba(251, 191, 36, .12); box-shadow: 0 0 0 1px rgba(251, 191, 36, .4) inset; }
.nx-provbar b { color: #b45309; font-size: 15px; } .nx-dk .nx-provbar b { color: #fcd34d; }
.nx-provbar span { font-size: 13px; color: var(--ink-2); }
.nx-provbar div { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-provbar button { border: 0; cursor: pointer; padding: 5px 12px; border-radius: 99px; font: inherit; font-size: 12px; font-weight: 800; color: #92400e; background: #fde68a; }
.nx-dk .nx-provbar button { color: #1c1400; background: #fcd34d; }
.nf-card.is-flash { animation: nx-flash 1.6s ease; }
.nx-block.is-flash { animation: nx-flash 1.6s ease; }
/* 2026-10-12 ロールプレイ: 移った先の見出しが、上に固定した操作ボタンの帯に隠れていた */
.nx-block, #nx-gen { scroll-margin-top: 150px; }
@media (max-width: 720px) { .nx-block, #nx-gen { scroll-margin-top: 130px; } }
@keyframes nx-flash { 20%, 60% { box-shadow: 0 0 0 3px #fcd34d inset, 0 0 40px -6px rgba(252, 211, 77, .8); } }
/* ナビ: どのタブにも当たらない画面（プロフィール・紹介など）では、強調を出さない（先頭の「ホーム」に付かないように） */
.nx-seg:not(:has(.lq-seg-item[aria-current="page"])) .lq-seg-indicator { opacity: 0; }
.nx-unit .nx-obj__kind { grid-area: auto; }
.nx-unit > * { position: relative; }
.nx-unit > .nx-unit__glow { position: absolute; }

/* ─────────── 白基調に戻す（2026-09-24 一部の画面だけ黒いのは違和感。暗い見た目はあとで選べる設定に） ─────────── */
.nx-dkhead h1 { background: linear-gradient(100deg, #0b1b2b 10%, #0f766e 70%, #0e7490); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-dkhead__eyebrow { color: #0f766e; }
.nx-dkhead__lead { color: var(--ink-3); }
.nx-rename { color: #0f766e; background: rgba(20, 184, 166, .12); -webkit-text-fill-color: #0f766e; }
.nx-unit { background: var(--sheet); backdrop-filter: none; box-shadow: 0 0 0 1px var(--line) inset, 0 16px 30px -24px rgba(20, 30, 40, .35); }
@media (hover: hover) { .nx-unit:hover { box-shadow: 0 0 0 1.5px rgba(20, 184, 166, .6) inset, 0 20px 40px -24px rgba(20, 184, 166, .45); } }
.nx-unit__glow { background: radial-gradient(circle, rgba(20, 184, 166, .18), transparent 70%); }
.nx-unit__meta span { background: var(--paper-2); } .nx-unit__meta .is-prov { background: #fef3c7; color: #92400e; }
.nx-unit--add { background: rgba(20, 184, 166, .04); box-shadow: 0 0 0 1.5px rgba(20, 184, 166, .4) inset; }
.nxi-alldone { background: #fffbeb; box-shadow: 0 0 0 1px #fcd34d inset; } .nxi-alldone b { color: #b45309; }

/* ─────────── 入力欄のカード: 状態で形を分ける（未入力＝入力欄／確かめる＝琥珀＋合っている・直す／済み＝要約＋✓） ─────────── */
.nf-card { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line) inset; padding: 14px 16px; transition: box-shadow .25s, background .25s, transform .3s var(--spring); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nf-card { background: var(--sheet); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nf-card { background: var(--sheet); } }
.nf-card::before { display: none; }
.nf-card.is-filtered { display: none !important; }
.nf-head { gap: 8px; }
.nf-ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; line-height: 1; }
.nf-card.is-todo .nf-ico { box-shadow: 0 0 0 2px #cbd5e1 inset; }
.nf-card.is-check .nf-ico { background: #f59e0b; color: #fff; }
.nf-card.is-done .nf-ico { background: #0f766e; color: #fff; }
.nf-label { font-size: 15px; }
.nf-hard { font-size: 11px; font-weight: 800; color: #b42318; display: inline-flex; align-items: center; gap: 4px; }
.nf-hard::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e11d48; }
.nf-drv { font-size: 11px; color: var(--sky); }   /* 決め打ちの #0369a1 は暗い表示で地に沈んだ（10/19 L15: 明暗比 約2.9）→ 暗い表示で明るくなる変数に */
.nf-kindtag { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: #fef3c7; color: #92400e; }
/* 未入力: 点線の枠。中は入力欄 */
.nf-card.is-todo { box-shadow: none; outline: 1.5px dashed #cbd5e1; outline-offset: -1.5px; background: #fcfcfb; }
.nf-card.is-todo:focus-within { outline: 2px solid #14b8a6; background: #fff; }
/* 確かめる: 琥珀の帯と背景。ボタンが主役 */
.nf-card.is-check { background: #fffbeb; box-shadow: 0 0 0 1px #fcd34d inset, 6px 0 0 #f59e0b inset; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nf-card.is-check { background: #2a2210; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nf-card.is-check { background: #2a2210; } }
/* 済み: 静かに。値の要約だけ */
.nf-card.is-done { box-shadow: 0 0 0 1px var(--line) inset; }
.nf-card.is-done .nf-label { color: var(--ink-2); }
.nf-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nf-sumchip, .nf-sumtext { font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 10px; background: var(--paper-2); color: var(--ink); line-height: 1.5; word-break: break-word; }
.nf-card.is-done .nf-sumchip, .nf-card.is-done .nf-sumtext { background: #ecfdf5; color: #065f46; }
.nf-sumchip[data-s="prov"], .nf-sumchip[data-s="ai"], .nf-sumchip[data-s="doc"] { background: #fff; box-shadow: 0 0 0 1.5px #fbbf24 inset; color: #78350f; }
.nf-sumtext { background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; }
.nf-card.is-check .nf-sumtext { box-shadow: 0 0 0 1.5px #fbbf24 inset; color: #78350f; }
.nf-actions { display: flex; gap: 8px; margin-top: 12px; }
.nf-card.is-done .nf-actions { margin-top: 8px; }
.nf-btn { min-height: 38px; padding: 0 16px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 1.5px var(--line-2) inset; transition: transform .25s var(--spring), background .2s; }
@media (hover: hover) { .nf-btn:hover { background: var(--paper-2); } } .nf-btn:active { transform: scale(.96); }
.nf-btn.is-go { color: #fff; background: linear-gradient(140deg, #0b5f58, #0f766e); box-shadow: 0 8px 18px -10px rgba(15, 118, 110, .9); }
@media (hover: hover) { .nf-btn.is-go:hover { filter: brightness(1.06); } }
.nf-btn.is-quiet { min-height: 30px; padding: 0 10px; font-size: 12px; box-shadow: none; background: transparent; color: var(--ink-3); }
@media (hover: hover) { .nf-btn.is-quiet:hover { color: var(--ink); background: var(--paper-2); } }
/* 入力欄は入力欄らしく */
.nf-input { background: #fff; box-shadow: 0 0 0 1.5px #d4dbe3 inset; }
.nf-input:focus { box-shadow: 0 0 0 2px #14b8a6 inset, 0 0 0 4px rgba(20, 184, 166, .15); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nf-input { background: var(--sheet-2); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nf-input { background: var(--sheet-2); } }
.nf-chip { background: #fff; box-shadow: 0 0 0 1.5px #d4dbe3 inset; }
.nf-help { margin-top: 8px; }
.nf-card.is-flash { animation: nf-flash 1.5s ease; }
@keyframes nf-flash { 0% { transform: scale(1); } 15% { transform: scale(1.015); box-shadow: 0 0 0 3px #14b8a6 inset, 0 0 0 8px rgba(20, 184, 166, .18); } 100% { transform: scale(1); } }

/* ─────────── 次にやること（画面の上に貼り付く） ─────────── */
.nx-flow { position: sticky; top: 84px; z-index: 20; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0 0 16px;
  padding: 10px 12px; border-radius: 18px; background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line) inset, 0 14px 30px -20px rgba(20, 30, 40, .45); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-flow { background: rgba(23, 26, 34, .92); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-flow { background: rgba(23, 26, 34, .92); } }
.nx-flow__ring { --p: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1;
  background: radial-gradient(closest-side, var(--sheet) 74%, transparent 76%), conic-gradient(#0f766e calc(var(--p) * 1%), var(--paper-2) 0); }
.nx-flow__ring b { font-family: var(--f-num); font-size: 17px; } .nx-flow__ring small { font-size: 10px; color: var(--ink-3); }
.nx-flow__seg { display: flex; flex-wrap: wrap; gap: 4px; }
.nx-flow__seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800;
  color: var(--ink-2); background: transparent; transition: background .2s; }
.nx-flow__seg button b { font-family: var(--f-num); font-size: 12px; padding: 1px 7px; border-radius: 99px; background: var(--paper-2); }
.nx-flow__seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); } .nx-flow__seg button[aria-pressed="true"] b { background: rgba(255, 255, 255, .2); color: inherit; }   /* 選んだタブの丸は地と同じ明るい字（10/19 第10周 R10A-1: 「確認」「完了」の濃い字が黒い地に残り、明暗比 1.3〜1.4 で数字が読めなかった。下の .is-check/.is-done b より強い指定） */
.nx-flow__seg .is-check b { background: #fef3c7; color: #92400e; } .nx-flow__seg .is-done b { background: #d1fae5; color: #065f46; }
.nx-flow__next { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-align: left; min-height: 52px; padding: 6px 18px; border-radius: 14px; border: 0; cursor: pointer; font: inherit;
  color: #fff; background: linear-gradient(140deg, #0b5f58, #0f766e); box-shadow: 0 10px 22px -12px rgba(15, 118, 110, .9); transition: transform .3s var(--spring); animation: nx-nudge 3s ease-in-out infinite; }
.nx-flow__next small { grid-column: 1; font-size: 11px; opacity: .85; } .nx-flow__next b { grid-column: 1; font-size: 15px; max-width: 16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-flow__next span { grid-column: 2; grid-row: 1 / 3; font-size: 22px; }
@media (hover: hover) { .nx-flow__next:hover { transform: translateX(2px); } }
@keyframes nx-nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateX(4px); } 95% { transform: translateX(0); } }
.nx-flow__done { display: grid; text-align: right; } .nx-flow__done b { color: #0f766e; } .nx-flow__done small { font-size: 12px; color: var(--ink-3); }
@media (max-width: 800px) { .nx-flow { grid-template-columns: auto minmax(0, 1fr); top: 70px; } .nx-flow__next, .nx-flow__done { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .nx-flow__next { animation: none; } }
/* 旧: 仮採用の帯・状態バッジ（カードの形で見せるので使わない） */
.nx-provbar { display: none; }
.nxi-blank { margin: 0 0 10px; font-size: 12px; color: var(--ink-3); line-height: 1.7; } .nxi-blank b { display: block; color: var(--ink-2); font-size: 12px; }
/* スマホ: 入力の画面は、項目（と「次にやること」）を先に。資料の取り込みはその下 */
@media (max-width: 1000px) { .nx-me__side { order: 0; } }
/* スマホ: ナビのタブが入りきらないときは横に送れる */
@media (max-width: 900px) { .nx-seg { overflow-x: auto; scrollbar-width: none; max-width: 52vw; } .nx-seg::-webkit-scrollbar { display: none; } .nx-seg .lq-seg-item { white-space: nowrap; flex: none; } }

/* アカウントなしでAIを押したときの案内（消えない。押したボタンのすぐ下に出る） */
.nx-needacct { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #effaf6, #eef4ff); border: 1.5px solid #9fd9c6; animation: nx-needacct-in .35s ease both; }
.nx-needacct > div { flex: 1 1 260px; display: grid; gap: 3px; }
.nx-needacct b { font-size: 15px; color: #0d3b32; }
.nx-needacct small { color: #4a5a58; font-size: 12.5px; }
.nx-needacct__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0f766e; color: #fff; font-size: 17px; flex: none; }
.nx-needacct__login { font-size: 13px; color: #0f766e; }
@keyframes nx-needacct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* Next のログイン */
.nx-login .nx-signup__side h1 { font-size: clamp(32px, 4vw, 44px); }
.nx-login__lead { margin-top: 14px; color: inherit; opacity: .85; }
.nx-login__lead a { color: inherit; font-weight: 700; }
.nx-login__demo { margin-top: 18px; font-size: 13px; }
.nx-login__demo summary { cursor: pointer; color: #5b6b69; }
.nx-login__demo div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* 利用ガイド: 星（進み具合）と「戻る／次へ」を画面の上寄せ（見出しのすぐ下）に置く */
.nxt { grid-template-rows: auto auto 1fr; grid-template-areas: "top" "foot" "stage"; }
.nxt__top { grid-area: top; }
.nxt__foot { grid-area: foot; padding: 0 20px 8px; }
.nxt__stage { grid-area: stage; align-self: center; padding-bottom: 28px; }
.nxt__nav { width: auto; min-width: 96px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .04em; border: 1px solid rgba(255, 255, 255, .22); }
@media (hover: hover) { .nxt__nav:not(:disabled):hover { background: rgba(255, 255, 255, .18); } }
@media (max-width: 640px) { .nxt__nav { min-width: 0; padding: 0 12px; font-size: 13px; } .nxt__foot { gap: 8px; } .nxt__stars { width: 56vw; } }

/* ===== はじめの設定（手順と進み具合を目立たせる。終わったら全体が緑＋大きな✓）===== */
.nx-setup2 { position: relative; overflow: hidden; margin: 0 0 22px; padding: 18px 20px 20px; border-radius: 20px; background: #fff;
  border: 2.5px solid #0f766e; box-shadow: 0 10px 30px -18px rgba(15, 118, 110, .55); transition: background .6s, border-color .6s; }
.nx-setup2__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.nx-setup2__head h2 { margin: 0; font-size: 19px; letter-spacing: .02em; }
.nx-setup2__count { font-size: 14px; color: var(--ink-2); } .nx-setup2__count b { font-family: var(--f-num); font-size: 22px; color: #0f766e; }
.nx-setup2__bar { flex: 1 1 160px; height: 10px; border-radius: 99px; background: #e3ece9; overflow: hidden; }
.nx-setup2__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #14b8a6, #0f766e); transition: width .8s cubic-bezier(.3, 1.3, .5, 1); }
.nx-setup2__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: st; position: relative; z-index: 1; }
@media (max-width: 900px) { .nx-setup2__steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .nx-setup2__steps { grid-template-columns: minmax(0, 1fr); } }
.nx-setup2__steps li { counter-increment: st; position: relative; display: grid; gap: 4px; align-content: start; min-height: 104px; padding: 16px 16px 14px 62px;
  border-radius: 16px; background: #f6f8f7; border: 2px solid #dfe6e3; transition: background .4s, border-color .4s, transform .3s; }
.nx-setup2__steps li::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-num); font-weight: 800; font-size: 17px; background: #fff; color: #8a9794; border: 2px solid #d3dcd9; }
.nx-setup2__steps b { font-size: 15.5px; } .nx-setup2__steps small { font-size: 12.5px; color: var(--ink-3); }
.nx-setup2__steps li.is-opt b::after { content: "任意"; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 700; color: #6b7a77; background: #e9efed; vertical-align: 2px; }
.nx-setup2__go, .nx-setup2__skip { justify-self: start; margin-top: 6px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; border-radius: 99px; padding: 6px 14px; }
.nx-setup2__go { color: #fff; background: #0f766e; border: 0; }
.nx-setup2__skip { color: #5b6b69; background: transparent; border: 1px solid #cfd8d5; }
/* いまやる段: 太い色枠＋ゆっくり脈打つ */
.nx-setup2__steps li.is-cur { background: #fff; border-color: #14b8a6; box-shadow: 0 0 0 4px rgba(20, 184, 166, .16); animation: nx-setup-pulse 2.4s ease-in-out infinite; }
.nx-setup2__steps li.is-cur::before { background: #0f766e; color: #fff; border-color: #0f766e; }
.nx-setup2__steps li:not(.is-cur):not(.is-done) .nx-setup2__go { background: #9fb3ae; }
@keyframes nx-setup-pulse { 50% { box-shadow: 0 0 0 8px rgba(20, 184, 166, .06); } }
/* 済んだ段: 緑に塗る＋背景に大きな✓ */
.nx-setup2__steps li.is-done { background: #e7f7ef; border-color: #34c38f; overflow: hidden; }
.nx-setup2__steps li.is-done::before { content: "✓"; background: #15803d; border-color: #16a34a; color: #fff; }
.nx-setup2__steps li.is-done::after { content: "✓"; position: absolute; right: -6px; bottom: -34px; font-size: 118px; font-weight: 900; line-height: 1; color: rgba(22, 163, 74, .13); pointer-events: none; }
.nx-setup2__steps li.is-done .nx-setup2__go, .nx-setup2__steps li.is-done .nx-setup2__skip { display: none; }
.nx-setup2__steps li.is-pop { animation: nx-setup-pop .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes nx-setup-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
/* 全部済んだ: 枠内全体を緑に＋中央に大きな✓ */
.nx-setup2__fin { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .6s; }
.nx-setup2__check { font-size: clamp(120px, 16vw, 200px); font-weight: 900; line-height: 1; color: rgba(255, 255, 255, .28); transform: scale(.4) rotate(-12deg); transition: transform .9s cubic-bezier(.3, 1.6, .5, 1); }
.nx-setup2__done { display: none; position: relative; z-index: 1; margin: 14px 0 0; font-size: 16px; font-weight: 700; color: #fff; }
.nx-setup2__done a { color: #fff; margin-left: 8px; }
.nx-setup2.is-all { background: linear-gradient(135deg, #16a34a, #0f766e); border-color: #15803d; color: #fff; }
.nx-setup2.is-all .nx-setup2__head h2, .nx-setup2.is-all .nx-setup2__count, .nx-setup2.is-all .nx-setup2__count b { color: #fff; }
.nx-setup2.is-all .nx-setup2__bar { background: rgba(255, 255, 255, .25); } .nx-setup2.is-all .nx-setup2__bar i { background: #fff; }
.nx-setup2.is-all .nx-setup2__steps li { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }
.nx-setup2.is-all .nx-setup2__steps small { color: rgba(255, 255, 255, .8); }
.nx-setup2.is-all .nx-setup2__steps li::after { color: rgba(255, 255, 255, .12); }
.nx-setup2.is-all .nx-setup2__fin { opacity: 1; } .nx-setup2.is-all .nx-setup2__check { transform: none; }
.nx-setup2.is-all .nx-setup2__done { display: block; }
.nx-setup2.is-cheer { animation: nx-setup-pop .9s cubic-bezier(.3, 1.6, .5, 1); }

/* ===== 読み取りシアター（資料の読み取り中は画面の中央を大きく使う）===== */
html.nxr-open { overflow: hidden; }
.nxr { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(236, 242, 240, .72); backdrop-filter: blur(8px); }
.nxr[hidden] { display: none; }
.nxr.is-in .nxr-card { animation: nxr-in .45s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes nxr-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.nxr-card { width: min(1080px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 22px 24px; border-radius: 24px;
  background: #fff; border: 1px solid #dbe4e1; box-shadow: 0 30px 80px -30px rgba(15, 60, 55, .45); overflow: hidden; }
.nxr-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nxr-head h2 { margin: 0; font-size: 22px; } .nxr-sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); max-width: 60ch; }
.nxr-head .grow { flex: 1; }
.nxr-clock { font-family: var(--f-num); font-size: 22px; color: #0f766e; min-width: 3.2em; text-align: right; }
.nxr-stop { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 99px; cursor: pointer; color: #b42318; background: #fff; border: 2px solid #f3b3ab; }
.nxr-stop i { width: 11px; height: 11px; border-radius: 2px; background: #d92d20; }
@media (hover: hover) { .nxr-stop:hover { background: #fff3f1; border-color: #d92d20; } }
.nxr-stop[hidden] { display: none; }
.nxr-hide { font: inherit; font-size: 13px; padding: 9px 14px; border-radius: 99px; cursor: pointer; color: #45524f; background: #f1f5f4; border: 1px solid #d9e2df; }
.nxr-phase { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nxr-phase li { flex: 1; position: relative; padding: 8px 0 0; font-size: 12px; color: #8a9794; text-align: center; }
.nxr-phase li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 99px; background: #e3ebe8; }
.nxr-phase li.is-done { color: #0f766e; } .nxr-phase li.is-done::before { background: #14b8a6; }
.nxr-phase li.is-cur { color: #0f3b36; font-weight: 700; }
.nxr-phase li.is-cur::before { background: linear-gradient(90deg, #14b8a6 0 40%, #bdeee4 40% 60%, #14b8a6 60%); background-size: 200% 100%; animation: nxr-flow 1.4s linear infinite; }
@keyframes nxr-flow { to { background-position: -200% 0; } }
.nxr-body { display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr); gap: 22px; min-height: 0; }
@media (max-width: 760px) { .nxr-body { grid-template-columns: minmax(0, 1fr); } .nxr-orbit { height: 220px !important; } .nxr { padding: 10px; } .nxr-card { padding: 16px; max-height: calc(100vh - 20px); } }
/* 資料の周りを読み手が回る */
.nxr-orbit { position: relative; height: 340px; border-radius: 20px; background: radial-gradient(circle at 50% 50%, #effaf6 0 30%, #f7faf9 60%); overflow: hidden; }
.nxr-doc { position: absolute; left: 50%; top: 50%; width: 74px; height: 94px; margin: -47px 0 0 -37px; border-radius: 8px; background: #fff; border: 1.5px solid #cfdcd8;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .25); display: grid; align-content: center; gap: 8px; padding: 0 12px; }
.nxr-doc i { display: block; height: 5px; border-radius: 3px; background: #d7e3df; } .nxr-doc i:nth-child(2) { width: 70%; }
.nxr[data-phase="ex"] .nxr-doc::after, .nxr[data-phase="ai"] .nxr-doc::after { content: ""; position: absolute; left: 6px; right: 6px; height: 3px; top: 10%; border-radius: 3px; background: #14b8a6; box-shadow: 0 0 10px #14b8a6; animation: nxr-scan 1.6s ease-in-out infinite alternate; }
@keyframes nxr-scan { to { top: 86%; } }
.nxr-reader { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; margin: -14px 0 0 -40px; border-radius: 99px; font-size: 12px; font-weight: 700;
  background: #fff; color: #6b7a77; border: 1.5px solid #d9e2df; transform: rotate(calc(var(--n) * 72deg)) translateX(118px) rotate(calc(var(--n) * -72deg)); transition: background .4s, color .4s, border-color .4s; }
.nxr-reader i { width: 8px; height: 8px; border-radius: 50%; background: #c5d0cd; }
.nxr[data-phase="ai"] .nxr-reader, .nxr[data-phase="tr"] .nxr-reader { animation: nxr-orbit 14s linear infinite; }
@keyframes nxr-orbit { from { transform: rotate(calc(var(--n) * 72deg)) translateX(118px) rotate(calc(var(--n) * -72deg)); } to { transform: rotate(calc(var(--n) * 72deg + 360deg)) translateX(118px) rotate(calc(var(--n) * -72deg - 360deg)); } }
.nxr-reader[data-s="running"] { color: #0f766e; border-color: #14b8a6; } .nxr-reader[data-s="running"] i { background: #14b8a6; animation: nxr-blink 1s infinite; }
.nxr-reader[data-s="done"], .nxr-reader[data-s="skipped_cache"] { color: #fff; background: #0f766e; border-color: #0f766e; } .nxr-reader[data-s="done"] i, .nxr-reader[data-s="skipped_cache"] i { background: #7ff0d6; }
.nxr-reader[data-s="failed"] { color: #b42318; border-color: #f3b3ab; } .nxr-reader[data-s="failed"] i { background: #d92d20; }
@keyframes nxr-blink { 50% { opacity: .3; } }
.nxr-terra { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; font-size: 11.5px; color: #8a9794; background: #fff; border: 1px dashed #cfd8d5; }
.nxr-terra[data-s="running"] { color: #0f766e; border: 1.5px solid #14b8a6; } .nxr-terra[data-s="done"], .nxr-terra[data-s="skipped_cache"] { color: #fff; background: #0f766e; border-color: #0f766e; }
@media (max-width: 760px) { .nxr-reader { transform: rotate(calc(var(--n) * 72deg)) translateX(84px) rotate(calc(var(--n) * -72deg)); } @keyframes nxr-orbit { from { transform: rotate(calc(var(--n) * 72deg)) translateX(84px) rotate(calc(var(--n) * -72deg)); } to { transform: rotate(calc(var(--n) * 72deg + 360deg)) translateX(84px) rotate(calc(var(--n) * -72deg - 360deg)); } } }
/* 見つかった情報が上から積み重なる */
.nxr-feedwrap { display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.nxr-feedhead { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; }
.nxr-count { font-family: var(--f-num); color: #0f766e; }
.nxr-feed { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 8px; align-content: start; overflow: auto; max-height: 340px; }
.nxr-item { display: grid; grid-template-columns: minmax(7em, 11em) minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: #fbf7ec; border: 1px solid #efdcaa;
  animation: nxr-pop .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--d, 0ms); }
.nxr-item b { font-size: 12.5px; color: #6f5a1f; } .nxr-item span { font-size: 14px; overflow-wrap: anywhere; } .nxr-item small { font-size: 11px; color: #8c7430; white-space: nowrap; }
.nxr-item.is-bump small { animation: nxr-pop .5s cubic-bezier(.2, 1.5, .4, 1); color: #0f766e; font-weight: 700; }
@keyframes nxr-pop { from { opacity: 0; transform: translateY(-14px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .nxr-item { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.nxr-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.nxr-foot:empty { display: none; }
.nxr-ask { margin: 0 auto 0 0; font-size: 17px; font-weight: 800; color: #0f3b36; }
.nxr-go { display: grid; gap: 3px; text-align: left; font: inherit; cursor: pointer; padding: 14px 22px; border-radius: 16px; border: 0; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 12px 28px -12px rgba(15, 118, 110, .8); animation: nxt-ready 1.8s infinite; }
.nxr-go b { font-size: 16px; } .nxr-go small { font-size: 12px; opacity: .9; max-width: 44ch; }
.nxr-pill { position: fixed; right: 18px; bottom: 18px; z-index: 70; font: inherit; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 99px; cursor: pointer;
  color: #fff; background: #0f766e; border: 0; box-shadow: 0 10px 24px -10px rgba(15, 118, 110, .8); }
.nxr-pill[hidden] { display: none; }
/* 吸い込み: 飛んでいく値と、受け取った欄 */
.nxr-ghost { position: fixed; z-index: 95; display: grid; grid-template-columns: minmax(7em, 11em) minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; border-radius: 12px; pointer-events: none;
  background: #fbf7ec; border: 1px solid #efdcaa; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .3); font-size: 13px; }
.nxr-ghost small { display: none; }
.nf-card.is-suck, .nx-worklink.is-suck { animation: nxr-suck .8s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes nxr-suck { 0% { box-shadow: 0 0 0 0 rgba(245, 180, 40, .0); transform: scale(1); } 30% { box-shadow: 0 0 0 5px rgba(245, 180, 40, .45); transform: scale(1.02); } 100% { box-shadow: 0 0 0 0 rgba(245, 180, 40, 0); transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .nxr-reader, .nxr-item, .nxr-card, .nxr-go, .nx-setup2__steps li { animation: none !important; } }
/* 読み手の輪を少し上に（下の「突き合わせ」と重ならない） */
.nxr-doc { top: 44%; } .nxr-reader { top: 44%; }
.nxr-needacct-fix {}
.nx-needacct .nx-btn--go { white-space: nowrap; }
.nx-needacct .nx-btn--go { text-decoration: none; }
@media (max-width: 760px) {
  .nxr-terra { bottom: auto; top: 10px; left: auto; right: 10px; transform: none; }
  .nxr-doc { width: 54px; height: 70px; margin: -35px 0 0 -27px; padding: 0 9px; gap: 6px; }
}

/* ===== 2026-09-25 表示の点検: 必須と任意の境界・確認ボタン・条件の札 ===== */
/* 必須／任意の枠 */
.nf-sect { display: grid; gap: 12px; margin: 0 0 18px; padding: 14px 14px 16px; border-radius: 20px; border: 2px solid; }
.nf-sect.is-req { border-color: #f59f9f; background: #fff7f6; }
.nf-sect.is-req.is-ok { border-color: #86d6b3; background: #f3fbf7; }
.nf-sect.is-opt { border-color: #dfe5e3; background: #f7f8f7; border-style: dashed; }
.nf-sect__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 0 4px; }
.nf-sect__head b { font-size: 16px; }
.nf-sect__head small { font-size: 12px; color: var(--ink-3); }
.nf-sect__tag { align-self: center; font-size: 12px; font-weight: 900; letter-spacing: .08em; padding: 3px 10px; border-radius: 8px; color: #fff; }
.nf-sect.is-req .nf-sect__tag { background: #b42318; }   /* 10/20 r13b: 白い字が #d92d20 の上で 4.1（WebKit は 227,66,54 に見えた）→ 濃い赤で 6 以上 */   /* 2026-10-17 第4周 R4C-9: 白い字の小さな札の明暗比を 4.5 以上に（緑 #16a34a→#15803d・灰 #8a9794→#5e6a66・赤 #d6453d→#c8342d をサイト全体で） */
.nf-sect.is-req.is-ok .nf-sect__tag { background: #15803d; }
.nf-sect.is-opt .nf-sect__tag { background: #5e6a66; }
.nf-sect .nf-detail { background: transparent; }
.nf-card.is-required .nf-label::after { content: none; }
/* 畳む印は ＋ / − （×に見えない） */
.nf-detail > summary::before { content: "＋"; }
.nf-detail[open] > summary::before { content: "−"; transform: none; }
/* 参加条件チェックの札: 赤（必須・エラーに見える）をやめて落ち着いた青 */
.nf-hard { color: #2f5f8f; background: #edf3fa; padding: 1px 8px; border-radius: 6px; cursor: help; }
.nf-hard::before { background: #5b8ac0; }
/* 自動入力のカード: オレンジの一文と「完了」「修正」 */
.nf-autonote { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--warn); }   /* 決め打ちの #b45309 は暗い表示で約3.0（10/19 L15）→ 変数に */
.nf-btn.is-fix { color: #b42318; background: #fff; border: 1.5px solid #f3b3ab; }
@media (hover: hover) { .nf-btn.is-fix:hover { background: #fff3f1; border-color: #d92d20; } }
/* 次にやること: 必須・任意の件数 */
.nx-flow__meters { display: flex; gap: 8px; align-items: stretch; }
.nx-flow__meter { position: relative; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; padding: 8px 12px; border-radius: 14px; background: #f3f6f5; overflow: hidden; }
.nx-flow__meter small { font-size: 11px; font-weight: 800; color: var(--ink-3); }
.nx-flow__meter b { font-family: var(--f-num); font-size: 18px; }
.nx-flow__meter em { grid-column: 1 / -1; font-style: normal; font-size: 11px; font-weight: 800; }
.nx-flow__meter i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 1%); background: #14b8a6; }
.nx-flow__meter.is-req { grid-template-columns: auto auto auto; }
.nx-flow__mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; align-self: center; }
.nx-flow__meter.is-miss { background: #fff1ef; box-shadow: 0 0 0 2px #f3b3ab inset; animation: nx-miss 1.8s ease-in-out infinite; }
.nx-flow__meter.is-miss .nx-flow__mark { background: #b42318; } .nx-flow__meter.is-miss em, .nx-flow__meter.is-miss b { color: #b42318; }
.nx-flow__meter.is-ok { background: #effaf4; } .nx-flow__meter.is-ok .nx-flow__mark { background: #15803d; }
@keyframes nx-miss { 50% { box-shadow: 0 0 0 4px rgba(217, 45, 32, .18) inset; } }
.nx-flow__seg button small { font-size: 10.5px; font-weight: 600; opacity: .8; margin-left: 2px; }
.nx-flow__next.is-req { background: linear-gradient(135deg, #a51d14, #c8342d); }   /* 白い字が右の明るい赤で 2.9 だった（10/20 r13）→ 両端とも 4.5 以上の濃い赤 */
.nx-flow { flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .nx-flow__meter.is-miss { animation: none; } }
/* 11/8 「次にやること」は右上の小窓（.nx-fpop）。×で閉じると赤字の吹き出し（.nx-fbub）。中の帯は貼り付かず縦に積む */
.nx-fpop { position: fixed; top: 96px; right: 24px; z-index: 60; width: 430px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); overflow: auto;
  background: var(--sheet); color: var(--ink); border-radius: 18px; padding: 14px 16px 16px; box-shadow: 0 18px 40px -10px rgba(40, 30, 10, .35), 0 0 0 1px rgba(60, 40, 10, .08); animation: nx-fpop-in .22s ease; }
@keyframes nx-fpop-in { from { opacity: 0; transform: translateY(-8px); } }
.nx-fpop__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.nx-fpop__h b { font-size: 15px; font-weight: 800; }
.nx-fpop__h small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.nx-fpop__x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .nx-fpop__x:hover { background: var(--paper-2); } }
.nx-fpop .nx-flow { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.nx-fpop .nx-flow__next, .nx-fpop .nx-flow__done { width: 100%; text-align: left; }
.nx-fbub { position: fixed; top: 86px; right: 24px; z-index: 60; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sheet); color: #b42318; font-size: 14px; font-weight: 800; box-shadow: 0 10px 24px -8px rgba(40, 30, 10, .4), 0 0 0 1px rgba(180, 35, 24, .25); }
.nx-fbub::before { content: ""; position: absolute; top: -7px; right: 30px; border: 7px solid transparent; border-top: 0; border-bottom-color: var(--sheet); }
.nx-fbub b { font-size: 17px; margin: 0 2px; font-family: var(--f-num); }
.nx-fpop[hidden], .nx-fbub[hidden] { display: none; }
@media (max-width: 800px) { .nx-fpop, .nx-fbub { top: 104px; right: 16px; } .nx-fbub { top: calc(68px + env(safe-area-inset-top, 0px)); } }   /* 11/12 吹き出しは上の帯（スマホは下端 56px）のすぐ下に。104px では離れすぎ */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-fbub { color: #ff8a80; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-fbub { color: #ff8a80; } }
@media (prefers-reduced-motion: reduce) { .nx-fpop { animation: none; } }
/* 帯は2段: 上 = 必須・任意の件数と「次へ」、下 = 絞り込み（詰め込んで折り返さない） */
.nx-flow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m n" "s s"; row-gap: 10px; }
.nx-flow__meters { grid-area: m; } .nx-flow__next, .nx-flow__done { grid-area: n; } .nx-flow__seg { grid-area: s; }
.nx-flow__ring { display: none; }
@media (max-width: 640px) { .nx-flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "m" "n" "s"; } .nx-flow__next b { max-width: none; } }
/* 読み取りの小窓: 回転の中心は利用ガイドと同じ暗い夜空のグラデーション */
.nxr-orbit { background: radial-gradient(circle at 50% 44%, #22406b 0%, #13264a 32%, #0a1430 62%, #060a16 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.nxr-orbit::before { content: ""; position: absolute; left: 50%; top: 44%; width: 236px; height: 236px; margin: -118px 0 0 -118px; border-radius: 50%; border: 1px dashed rgba(148, 197, 255, .22); pointer-events: none; }
.nxr-orbit::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(1px 1px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 78% 14%, #fff, transparent), radial-gradient(1px 1px at 88% 70%, #cfe3ff, transparent),
    radial-gradient(1px 1px at 22% 82%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 88%, #bfe9ff, transparent), radial-gradient(1px 1px at 40% 10%, #fff, transparent); }
.nxr-doc { box-shadow: 0 0 40px rgba(94, 234, 212, .35), 0 10px 24px -12px rgba(0, 0, 0, .5); z-index: 1; }
.nxr-reader { background: rgba(255, 255, 255, .1); color: #c9d6ea; border-color: rgba(255, 255, 255, .22); z-index: 2; }
.nxr-reader i { background: #6b7d99; }
.nxr-reader[data-s="running"] { background: rgba(20, 184, 166, .16); color: #7ff0d6; border-color: #2dd4bf; }
.nxr-reader[data-s="done"], .nxr-reader[data-s="skipped_cache"] { background: #0f766e; color: #fff; border-color: #2dd4bf; box-shadow: 0 0 14px rgba(45, 212, 191, .5); }
.nxr-reader[data-s="failed"] { background: rgba(217, 45, 32, .2); color: #fecaca; border-color: #f87171; }
.nxr-terra { background: rgba(255, 255, 255, .08); color: #9fb0c8; border-color: rgba(255, 255, 255, .25); z-index: 2; }
@media (max-width: 760px) { .nxr-orbit::before { width: 168px; height: 168px; margin: -84px 0 0 -84px; } }
/* 右側の資料の行: 取り込み済み＋解析結果 */
.nxi-doc__st { font-style: normal; font-weight: 700; }
.nxi-docs li[data-done] .nxi-doc__st { color: #15803d; }
.nxi-docs li[data-done] .nxi-doc__st::before { content: "✓ "; }
.nxi-result { flex: none; font: inherit; font-size: 12.5px; font-weight: 800; padding: 7px 12px; border-radius: 99px; cursor: pointer; color: #fff; background: #0f766e; border: 0; }
@media (hover: hover) { .nxi-result:hover { background: #115e59; } }

/* ===== 裏で進んでいること: ベル・右下の表示・事業所カードの印（2026-09-25）===== */
.nx-bellwrap { position: relative; }
.nx-bell { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); background: transparent; }
@media (hover: hover) { .nx-bell:hover { background: rgba(0, 0, 0, .05); } }
.nx-bell svg { width: 22px; height: 22px; }
.nx-bell__n { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; font-size: 11px; font-weight: 900; line-height: 18px; color: #fff; background: #0f766e; display: none; }
.nx-bell.is-live .nx-bell__n, .nx-bell.is-done .nx-bell__n { display: block; }
.nx-bell.is-done .nx-bell__n { background: #15803d; }
.nx-bell.is-live svg { animation: nx-bell-ring 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes nx-bell-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(12deg); } 82% { transform: rotate(-10deg); } 89% { transform: rotate(6deg); } }
.nx-bellwin { position: absolute; right: -8px; top: calc(100% + 10px); width: min(340px, 92vw); padding: 10px; border-radius: 18px; background: #fff; border: 1px solid #dde5e2;
  box-shadow: 0 20px 50px -20px rgba(15, 40, 40, .45); z-index: 60; display: grid; gap: 4px; }
.nx-bellwin[hidden] { display: none; }
.nx-bellwin__h { margin: 4px 6px 2px; font-size: 11.5px; font-weight: 800; color: var(--ink-3); letter-spacing: .06em; }
.nx-bellwin__row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; font: inherit; padding: 10px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; }
@media (hover: hover) { .nx-bellwin__row:hover { background: #f1f6f5; } }
.nx-bellwin__row span { display: grid; gap: 1px; } .nx-bellwin__row b { font-size: 13.5px; } .nx-bellwin__row small { font-size: 12px; color: var(--ink-3); }
.nx-bellwin__row em { font-style: normal; font-family: var(--f-num); font-weight: 800; color: #0f766e; }
.nx-bellwin__ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; color: #fff; background: #15803d; }
.nx-pp__spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(20, 184, 166, .25); border-top-color: #14b8a6; animation: nx-spin .9s linear infinite; display: inline-block; }
@keyframes nx-spin { to { transform: rotate(360deg); } }
.nx-pp { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 6px; }
.nx-pp[hidden] { display: none; }
.nx-pp__row { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 99px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, #0b1733, #13325a); border: 1px solid rgba(94, 234, 212, .35); box-shadow: 0 14px 30px -12px rgba(8, 20, 45, .7); }
@media (hover: hover) { .nx-pp__row:hover { transform: translateY(-1px); } }
.nx-pp__row .nx-pp__spin { border-color: rgba(255, 255, 255, .2); border-top-color: #5eead4; }
.nx-pp__t { font-family: var(--f-num); color: #5eead4; min-width: 3em; text-align: right; }
@media (max-width: 520px) { .nx-pp { left: 12px; right: 12px; bottom: 12px; } .nx-pp__row { width: 100%; justify-content: space-between; } }
.nx-unit { position: relative; }
.nx-unit.is-live { box-shadow: 0 0 0 2px #14b8a6, 0 18px 40px -24px rgba(15, 118, 110, .6); }
.nx-unit__live { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 99px; font-size: 12px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, #0b1733, #13325a); font-variant-numeric: tabular-nums; }
.nx-unit__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5eead4; animation: nxr-blink 1s infinite; }
@media (prefers-reduced-motion: reduce) { .nx-bell.is-live svg, .nx-pp__spin, .nx-unit__live::before { animation: none; } }
/* 商品: 事業所・チームの切り替え */
.nx-unittabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.nx-unittabs a { display: grid; gap: 1px; padding: 10px 16px; border-radius: 14px; text-decoration: none; color: inherit; background: #fff; border: 1.5px solid #dde5e2; }
.nx-unittabs a b { font-size: 14px; } .nx-unittabs a small { font-size: 11.5px; color: var(--ink-3); }
.nx-unittabs a[aria-current="true"] { border-color: #0f766e; background: #effaf6; box-shadow: 0 0 0 3px rgba(20, 184, 166, .15); }
.nx-prodlink { margin: 0 0 14px; }
/* ホーム: 関連性のある案件（1件1行・区分の札） */
.nx-feed h2 small { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.nx-feed.is-flash { animation: nx-feed-flash 1.4s ease; }
@keyframes nx-feed-flash { 20% { box-shadow: 0 0 0 4px rgba(20, 184, 166, .35); } 100% { box-shadow: none; } }
.nx-rel { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: #fff; border: 1px solid #e3e9e7; overflow: hidden; }
.nx-rel li + li { border-top: 1px solid #eef2f1; }
.nx-rel__row { display: grid; grid-template-columns: 4.2em 8.8em minmax(0, 1fr) minmax(0, 16em); gap: 12px; align-items: center; padding: 11px 16px; text-decoration: none; color: inherit; }
@media (hover: hover) { .nx-rel__row:hover { background: #f5faf8; } }
.nx-rel__score { font-size: 11px; color: var(--ink-3); } .nx-rel__score b { font-family: var(--f-num); font-size: 17px; color: var(--ink); margin-right: 1px; }
.nx-rel__title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-rel__org { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-tier { display: inline-block; justify-self: start; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.nx-tier[data-t="fit"] { color: #065f46; background: #d1fae5; }
.nx-tier[data-t="cond"] { color: #92400e; background: #fef3c7; }
.nx-tier[data-t="maybe"] { color: #475569; background: #eef2f6; }
.nx-rel__more { margin-top: 10px; }
@media (max-width: 720px) { .nx-rel__row { grid-template-columns: 3.6em auto minmax(0, 1fr); } .nx-rel__title { grid-column: 1 / -1; white-space: normal; } .nx-rel__org { grid-column: 1 / -1; } }
/* 管理者: アカウントの削除（1件1行） */
.nx-admin__table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e3e9e7; font-size: 13.5px; }
.nx-admin__table th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 700; padding: 10px 14px; background: #f6f8f7; }
.nx-admin__table td { padding: 10px 14px; border-top: 1px solid #eef2f1; }
.nx-admin__del, .nx-admin__all { color: #b42318; background: #fff; border: 1.5px solid #f3b3ab; }
@media (hover: hover) { .nx-admin__del:hover, .nx-admin__all:hover { background: #fff3f1; border-color: #d92d20; } }
.nx-admin__me { font-style: normal; font-size: 11px; font-weight: 800; color: #0f766e; background: #effaf6; padding: 1px 7px; border-radius: 99px; }
.nx-admin__msg { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #effaf4; color: #065f46; font-weight: 700; }
@media (max-width: 720px) { .nx-admin__table { display: block; overflow-x: auto; } }
/* ホームの件数: 2つだけなので大きく（2026-09-25 ） */
.nx-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.nx-kpi > div { padding-right: 24px; margin-right: 24px; }
.nx-kpi dt { font-size: 14px; }
.nx-kpi dd { font-size: clamp(46px, 4.8vw, 68px); }
.nx-kpi dd small { font-family: var(--f-body, inherit); font-size: .32em; font-weight: 700; letter-spacing: 0; margin-left: 4px; opacity: .75; }
.nx-kpi dd a { color: inherit; text-decoration: none; }
.nx-kpi .is-acc dd small { color: #5eead4; -webkit-text-fill-color: #5eead4; }
@media (hover: hover) { .nx-kpi .is-acc dd a:hover { filter: brightness(1.15); } }
/* 上部バー: 右側（会社名・ベル・毎日使う）が枠からはみ出さないように（2026-09-25 ベルを足して幅が足りなくなった）
   会社名は幅を決めて「…」で省く。全体は枠の幅に収め、足りなければ会社名から縮む */
.nx-bar { min-width: 0; }
.nx-bar__tools { min-width: 0; flex-shrink: 1; gap: 8px; }
.nx-co { min-width: 0; }
.nx-co select { max-width: 11.5em; min-width: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.nx-acct__name { max-width: 11em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
@media (max-width: 1440px) {
  .nx-seg .lq-seg-item { padding-left: 12px; padding-right: 12px; }
  .nx-co select { max-width: 9em; }
  .nx-acct__name { max-width: 8em; }
}
/* 読み取りの小窓: 文字を読む段・受け取りの段も、読み手がゆっくり回って準備中に見えるように（止まって見えない） */
.nxr[data-phase="up"] .nxr-reader, .nxr[data-phase="ex"] .nxr-reader { animation: nxr-orbit 28s linear infinite; }
.nxr[data-phase="up"] .nxr-reader i, .nxr[data-phase="ex"] .nxr-reader i { background: #5eead4; animation: nxr-blink 1.6s ease-in-out infinite; }

/* 進み具合のメーター（目安）: 右下の表示と、資料の行 */
.nx-pp__row { position: relative; overflow: hidden; padding-bottom: 13px; }
.nx-pp__bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.nx-pp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #14b8a6, #5eead4); transition: width 1s ease; }
.nxi-prog { display: grid; gap: 3px; margin-top: 6px; }
.nxi-prog__track { display: block; height: 6px; border-radius: 99px; background: #e3ebe8; overflow: hidden; }
.nxi-prog__track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0f766e, #14b8a6); transition: width 1s ease; }
.nxi-prog small { font-size: 11px; color: #0f766e; font-weight: 700; }
.nxi-docs li .nxi-doc__main { min-width: 0; flex: 1; }
/* 入口のパスワードが切れたときの知らせ（画面の上） */
.nx-gate { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: calc(100vw - 32px); padding: 14px 18px; border-radius: 16px; background: #fff7ed; border: 2px solid #fdba74; color: #9a3412; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35); font-size: 14px; }
/* 地図: 都道府県を押したときに出る四角い枠（ブラウザの既定のフォーカス枠）を消す。キーボードで選んだときは塗りで分かる */
.nxm-svg:focus, .nxm-svg *:focus, #nx-map:focus { outline: none; }
.nxm-land path:focus:not(:focus-visible), .nxm-island:focus:not(:focus-visible) { outline: none; }
/* 案件画面: 原文は項目名の横の小さなボタン。押したときだけ下に出す（2026-09-28） */
.nx-evbtn { margin-left: 6px; font: inherit; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; cursor: pointer; vertical-align: 1px;
  color: var(--sun-deep); background: transparent; border: 1px solid rgba(180, 83, 9, .35); }
.nx-evbtn[aria-expanded="true"] { background: rgba(245, 158, 11, .12); } @media (hover: hover) { .nx-evbtn:hover { background: rgba(245, 158, 11, .12); } }
.nx-evtext { white-space: pre-wrap; margin: 8px 0 0; font-size: 13px; line-height: 1.8; background: var(--sheet-2); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--ink-2); }
.nx-block__n { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
/* 冒頭の要点: 状況・入札方式・地域・等級（文字の値なので数字より小さめ） */
.nx-keyline__i.is-info dd b { font-family: inherit; font-size: 15px; letter-spacing: 0; }
.nx-keyline__i.is-info dd small { margin-left: 6px; font-size: 12px; font-weight: 700; }
/* 2026-10-12 ロールプレイ: 長い補足（申込の期限は過ぎました…）がスマホで横にはみ出していた → 状況などの欄は折り返す */
.nx-keyline__i { max-width: 100%; } .nx-keyline__i.is-info dd { white-space: normal; }
.nx-keyline__i.is-ok { background: #effaf4; box-shadow: 0 0 0 1px #9fdcbf inset; } .nx-keyline__i.is-ok dd b, .nx-keyline__i.is-ok dd small { color: #047857; }
.nx-keyline__i.is-warn { background: #fff7ed; box-shadow: 0 0 0 1px #fdba74 inset; } .nx-keyline__i.is-warn dd b, .nx-keyline__i.is-warn dd small { color: #c2410c; }
.nx-keyline__i.is-past { background: #f3f4f4; } .nx-keyline__i.is-past dd b { color: #5f6673; }   /* 2026-10-17 第4周 R4C-9: 4.39→5.2。上の --acc-soft を #dcf3ef→#e4f6f2（--acc の字の札 20か所が 4.48→4.6） */

/* 一覧の要点のしるし（方式・地域・締切・納期・金額）と凡例（2026-09-28） */
.nx-marks { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; vertical-align: middle; }
.nx-mk { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 800; line-height: 1;
  white-space: nowrap; color: #334155; background: #f1f5f4; box-shadow: 0 0 0 1px #dde5e2 inset; font-variant-numeric: tabular-nums; }
.nx-mk i { font-style: normal; font-size: 9.5px; padding: 1px 3px; border-radius: 4px; background: rgba(255, 255, 255, .7); color: inherit; margin-left: 2px; }
.nx-mk.is-method { color: #1e40af; background: #eaf1ff; box-shadow: 0 0 0 1px #c7d7fb inset; }
.nx-mk.is-method[data-m="総合"] { color: #4338ca; background: #eef0ff; box-shadow: 0 0 0 1px #cfd2fb inset; }
.nx-mk.is-method[data-m="指名"] { color: #0f766e; background: #e8f7f4; box-shadow: 0 0 0 1px #b6e3da inset; }
.nx-mk.is-method[data-m="企画"], .nx-mk.is-method[data-m="プロポ"] { color: #7e22ce; background: #f5edff; box-shadow: 0 0 0 1px #e0cbfa inset; }
.nx-mk.is-method[data-m="随契"], .nx-mk.is-method[data-m="見積"], .nx-mk.is-method[data-m="OC"], .nx-mk.is-method[data-m="公募"], .nx-mk.is-method[data-m="公募随契"] { color: #475569; background: #f1f5f9; box-shadow: 0 0 0 1px #d6dde6 inset; }
.nx-mk.is-method[data-m="意見"], .nx-mk.is-method[data-m="資料"] { color: #92400e; background: #fdf6e7; box-shadow: 0 0 0 1px #f1dca8 inset; }
.nx-mk.is-due { color: #065f46; background: #e9f8f1; box-shadow: 0 0 0 1px #b3e5cc inset; }
.nx-mk.is-due.is-soon { color: #b91c1c; background: #fdecec; box-shadow: 0 0 0 1px #f6b4b4 inset; }
.nx-mk.is-closed { color: #6b7280; background: #f3f4f6; }
/* 参加手続の期限切れ（11/12）: 入札の日は先でも、交付・参加申請・必須の説明会の期限が過ぎた案件。受付中の緑・締切済の灰と分ける */
.nx-mk.is-procend { color: #8a3346; background: #fbf2f4; box-shadow: 0 0 0 1px #e8c3cc inset; }
.nx-keyline__i.is-procend { background: #fbf2f4; box-shadow: 0 0 0 1px #e8c3cc inset; } .nx-keyline__i.is-procend dd b, .nx-keyline__i.is-procend dd small { color: #8a3346; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-mk.is-procend, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-procend { color: #f4a7b7; background: color-mix(in srgb, #e11d48 13%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #e11d48 40%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-procend dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-procend dd small { color: #f4a7b7; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-mk.is-procend, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-procend { color: #f4a7b7; background: color-mix(in srgb, #e11d48 13%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #e11d48 40%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-procend dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-procend dd small { color: #f4a7b7; } }
.nx-mk.is-yen { color: #1f2937; background: #fff; }
.nx-mklegend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 10px; font-size: 11.5px; color: var(--ink-3); }
.nx-mklegend > i { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 3px; border-radius: 4px; background: #eaf1ff; color: #1e40af; }
.nx-mklegend .nx-mk { margin-left: 6px; }
/* 探す: しるしは種類の札の横に */
.nx-srow__chips { flex-wrap: wrap; row-gap: 4px; }
/* 監督のカード */
.nx-deck__body .nx-marks { margin-top: 4px; }
/* ホームの1件1行: しるしの列を足す */
.nx-rel__row { grid-template-columns: 4.2em 8.8em minmax(0, 1fr) auto minmax(0, 12em); }
.nx-rel__mk { display: flex; justify-content: flex-end; }
@media (max-width: 900px) { .nx-rel__row { grid-template-columns: 3.6em auto minmax(0, 1fr); } .nx-rel__mk, .nx-rel__org { grid-column: 1 / -1; justify-content: flex-start; } .nx-rel__title { grid-column: 1 / -1; white-space: normal; } }
.nx-mrow__mk:not(:empty) { display: block; margin-top: 4px; }
.nx-obj .nx-marks { grid-column: 1 / -1; }

/* ─────────── 過去の落札・契約履歴（nh-。2026-09-28） ───────────
   一覧は1件1行（日付・件名・発注機関→契約先・金額）。詳細は件名の先。 */
.nh-page { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 104px 0 120px; }
.nh-page--narrow { width: min(880px, calc(100% - 32px)); }
.nh-form .nx-sfilters { margin-top: 12px; }
.nh-filter { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
.nh-muted { color: var(--ink-3); font-size: 13px; }
.nh-note { color: var(--ink-3); font-size: 12.5px; line-height: 1.6; margin: 8px 0 0; }
.nh-foot { color: var(--ink-3); font-size: 12px; margin-top: 28px; }
.nh-rows { list-style: none; margin: 0; padding: 0; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); }
.nh-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px; }
.nh-row + .nh-row { border-top: 1px solid var(--line); }
.nh-row__date { display: grid; line-height: 1.1; text-align: right; }
.nh-row__date small { font-size: 11px; color: var(--ink-3); }
.nh-row__date b { font-family: var(--f-num); font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.nh-row__main { min-width: 0; display: grid; gap: 1px; }
.nh-row__title { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .nh-row__title:hover { color: var(--acc); text-decoration: underline; } }
.nh-row__meta { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-row__meta a { color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .nh-row__meta a:hover { color: var(--acc); text-decoration: underline; } }
.nh-arrow { margin: 0 6px; color: var(--ink-3); }
.nh-sep { color: var(--ink-3); }
.nh-co.is-joint_venture::after { content: "JV"; font-size: 10px; font-weight: 800; margin-left: 4px; padding: 0 5px; border-radius: 6px; background: var(--sky-soft); color: var(--sky); }
.nh-st { font-size: 11px; font-weight: 800; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.nh-row__yen { text-align: right; white-space: nowrap; }
.nh-yen { font-family: var(--f-num); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.nh-yen small { display: block; font-family: var(--f-jp); font-size: 10.5px; font-weight: 700; color: var(--ink-3); line-height: 1.2; }
.nh-yen.is-none { color: var(--ink-3); font-weight: 400; }
.nh-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 16px 0; }
.nh-pager > :last-child { justify-self: end; }
.nh-pager .nx-btn { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.nh-pager__n { font-size: 13px; color: var(--ink-3); }
.nh-hits { display: grid; gap: 6px; margin: 18px 0 0; }
.nh-hits h2 { font-size: 13px; margin: 8px 0 0; color: var(--ink-3); }
.nh-mini { list-style: none; margin: 0; padding: 0; }
.nh-mini li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.nh-mini li > a { font-weight: 700; text-decoration: none; }
@media (hover: hover) { .nh-mini li > a:hover { text-decoration: underline; } }
.nh-mini__n { margin-left: auto; font-family: var(--f-num); font-weight: 700; font-variant-numeric: tabular-nums; }
.nh-mini__d { font-size: 12px; color: var(--ink-3); min-width: 7.5em; text-align: right; }
.nh-badge { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.nh-badge.is-ok { background: var(--ok-soft); color: var(--ok); }
.nh-badge.is-open { background: var(--sheet-2); color: var(--ink-3); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nh-badge.is-jv { background: var(--sky-soft); color: var(--sky); }
.nh-head { margin: 14px 0 18px; }
.nh-kicker { margin: 0; font-size: 13px; font-weight: 800; color: var(--acc); letter-spacing: .06em; }
.nh-head h1 { margin: 2px 0 6px; font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.nh-head h1.nh-h1--title { font-size: clamp(20px, 2.4vw, 28px); }
.nh-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--ink-2); }
.nh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; border-radius: var(--r-read); overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.nh-kpis > div { background: var(--sheet); padding: 12px 16px; min-width: 0; }
.nh-kpis dt { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.nh-kpis dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.nh-kpis b { font-family: var(--f-num); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.nh-kpis b.nh-kpis__txt { font-family: var(--f-jp); font-size: 15px; }
.nh-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.nh-card { background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); padding: 16px 18px; min-width: 0; }
.nh-card h2 { font-size: 16px; margin: 0 0 10px; }
.nh-card h3 { font-size: 13px; margin: 12px 0 4px; color: var(--ink-2); }
.nh-card--flat { margin-bottom: 16px; }
.nh-card summary { cursor: pointer; list-style: none; }
.nh-card summary::-webkit-details-marker { display: none; }
.nh-card summary h2 { display: inline; margin: 0; }
.nh-card summary::after { content: "開く"; font-size: 12px; margin-left: 10px; color: var(--ink-3); }
.nh-card[open] summary::after { content: "閉じる"; }
.nh-card[open] summary { margin-bottom: 10px; }
/* 年ごとの件数: 1系列の棒（1色・細め・上端を丸める）。数は棒の上、年は下 */
.nh-years { margin: 0; }
.nh-years__plot { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 18px; border-bottom: 1px solid var(--line-2); }
.nh-years__col { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.nh-years__bar { width: min(22px, 80%); min-height: 2px; background: var(--acc-2); border-radius: 4px 4px 0 0; transition: background .15s; }
.nh-years__n { font-size: 10.5px; font-family: var(--f-num); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.nh-years__y { position: absolute; bottom: -20px; font-size: 10.5px; color: var(--ink-3); font-family: var(--f-num); }
.nh-years__col:focus-visible .nh-years__bar { background: var(--acc); } @media (hover: hover) { .nh-years__col:hover .nh-years__bar { background: var(--acc); } }
.nh-years__col:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); z-index: 5; width: max-content; max-width: 240px;
  padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 1.5; white-space: normal; pointer-events: none; } @media (hover: hover) { .nh-years__col:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); z-index: 5; width: max-content; max-width: 240px;
  padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 1.5; white-space: normal; pointer-events: none; } }
.nh-years__col:first-child:focus-visible::after { left: 0; transform: none; } @media (hover: hover) { .nh-years__col:first-child:hover::after { left: 0; transform: none; } }
.nh-years__col:last-child:focus-visible::after { left: auto; right: 0; transform: none; } @media (hover: hover) { .nh-years__col:last-child:hover::after { left: auto; right: 0; transform: none; } }
.nh-years__table { margin-top: 28px; font-size: 13px; }
.nh-years__table summary { cursor: pointer; color: var(--ink-3); font-size: 12.5px; }
.nh-years__table table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.nh-years__table th, .nh-years__table td { text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.nh-years__table th:first-child, .nh-years__table td:first-child { text-align: left; }
.nh-share { list-style: none; margin: 0; padding: 0; counter-reset: nh; }
.nh-share li { display: grid; grid-template-columns: minmax(0, 1fr) 72px 4.5em; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nh-share li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .nh-share li > a:hover { text-decoration: underline; } }
.nh-share li > .nh-badge { display: none; }
.nh-share--rank li { grid-template-columns: 1.6em minmax(0, 1fr) 72px 4.5em; }
.nh-share--rank li::before { counter-increment: nh; content: counter(nh); font-family: var(--f-num); font-weight: 700; color: var(--ink-3); }
.nh-share__bar { height: 6px; border-radius: 3px; background: var(--sheet-2); overflow: hidden; }
.nh-share__bar i { display: block; height: 100%; background: var(--acc-2); border-radius: 3px; }
.nh-share__n { text-align: right; font-family: var(--f-num); font-weight: 700; font-variant-numeric: tabular-nums; }
.nh-names { list-style: none; margin: 4px 0 0; padding: 0; }
.nh-names li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nh-names li span { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.nh-list { margin-top: 22px; }
.nh-bid { margin-top: 18px; }
.nh-bid h2 { margin: 0 0 10px; font-size: 16px; } .nh-bid h2 small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.nh-bid__wrap { overflow-x: auto; }
.nh-bid__t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nh-bid__t th, .nh-bid__t td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-family: var(--f-num); }
.nh-bid__t th[scope=row], .nh-bid__t thead th:first-child { text-align: left; font-family: inherit; white-space: normal; min-width: 9em; }
.nh-bid__t thead th { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.nh-bid__t tr.is-win th, .nh-bid__t tr.is-win td { background: var(--ok-soft); font-weight: 800; }
.nh-bid__win { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; background: var(--ok); color: var(--paper); font-size: 11px; font-weight: 800; }
.nh-bid__t td.nh-bid__why { text-align: left; color: var(--ink-3); font-family: inherit; }
.nh-bid__note { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.nh-list__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nh-list__head h2 { font-size: 18px; margin: 0; }
.nh-inlineq { display: flex; gap: 6px; }
.nh-inlineq input { height: 40px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 14px; width: 14em; max-width: 50vw; }
.nh-inlineq .nx-btn { min-height: 40px; }
.nh-count { margin: 8px 4px; font-size: 13px; color: var(--ink-3); }
.nh-count b { font-family: var(--f-num); font-size: 18px; color: var(--ink); margin-right: 2px; }
.nh-facts { display: grid; gap: 0; margin: 0 0 16px; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); }
.nh-facts > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 10px 18px; }
.nh-facts > div + div { border-top: 1px solid var(--line); }
.nh-facts dt { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.nh-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.nh-big { font-family: var(--f-num); font-size: 20px; }
@media (max-width: 760px) {
  .nh-page { padding-top: 88px; }
  .nh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-grid { grid-template-columns: minmax(0, 1fr); }
  .nh-row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
  .nh-row__yen { grid-column: 2; text-align: left; margin-top: -2px; }
  .nh-yen small { display: inline; margin-left: 4px; }
  .nh-row__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .nh-facts > div { grid-template-columns: 6.5em minmax(0, 1fr); padding: 10px 14px; }
  .nh-mini__d { display: none; }
}

/* 案件ページの「過去の実績」部品（hx-） */
.hx { display: grid; gap: 14px; }
.hx__org { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 14px; }
.hx__org a { font-weight: 800; }
.hx__est { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-3); box-shadow: 0 0 0 1px var(--line-2) inset; }
.hx__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hx__stat { background: var(--sheet); padding: 10px 14px; min-width: 0; }
.hx__stat dt { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.hx__stat dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.hx__stat b { font-family: var(--f-num); font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.hx__range { position: relative; height: 8px; margin: 10px 2px 4px; border-radius: 4px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line) inset; }
.hx__range i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc-2) inset; }
.hx__range b { position: absolute; top: -4px; width: 3px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--acc); }
.nx-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; }
.nx-terms__k { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nx-terms__list { display: contents; list-style: none; margin: 0; padding: 0; }
.nx-terms__list li:has(> .nx-term[open]) { flex-basis: 100%; }
.nx-term > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.nx-term > summary::-webkit-details-marker { display: none; }
.nx-term > summary::after { content: "▾"; font-size: 11px; opacity: .7; }
.nx-term[open] > summary::after { content: "▴"; }
.nx-term--plus > summary { background: var(--ok-soft); color: var(--ok); }
.nx-term--cond > summary { background: var(--sky-soft); color: var(--sky); }
.nx-term--info > summary { background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-term__q { margin: 6px 0 2px; padding: 8px 12px; border-left: 3px solid var(--line-2); background: var(--sheet); font-size: 13px; color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.nx-terms__note { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.hx-rv__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.hx-rv__i { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.hx-rv__head { display: flex; align-items: center; gap: 8px; }
.hx-rv__name { flex: 1; min-width: 0; font-weight: 800; font-size: 14.5px; overflow-wrap: anywhere; }
.hx-rv__follow { min-height: 32px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; flex: none; box-shadow: 0 0 0 1px var(--line-2) inset; }
.hx-rv__follow[aria-pressed="true"] { background: var(--acc-soft); color: var(--acc); box-shadow: none; }
.hx-rv__meta, .hx-rv__amt { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.hx-rv__amt b { font-family: var(--f-num); color: var(--ink); }
.hx-rv__ex { margin-top: 4px; font-size: 13px; }
.hx-rv__ex summary { min-height: 32px; display: inline-flex; align-items: center; color: var(--ink-3); font-weight: 700; cursor: pointer; }
.hx-rv__ex summary::after { content: "▾"; margin-left: 4px; }
.hx-rv__ex[open] summary::after { content: "▴"; }
.hx-rv__ex ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hx-rv__ex small { color: var(--ink-3); font-family: var(--f-num); }
.hx__freq { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.hx__freq li b { font-family: var(--f-num); margin-left: 4px; }
.hx__freq li::before { content: attr(data-rk) "."; color: var(--ink-3); font-family: var(--f-num); margin-right: 4px; }
.hx h4 { margin: 0 0 4px; font-size: 13px; color: var(--ink-3); }
.hx .nh-rows { box-shadow: 0 0 0 1px var(--line); }
.hx__more { font-weight: 800; font-size: 14px; }
@media (max-width: 640px) { .hx__stats { grid-template-columns: minmax(0, 1fr); } }
/* ナビに「落札実績」を足した分、1100px 以下では「毎日使う」を畳み、項目の余白を詰める（1024px で右上が欠けたため。2026-09-28） */
@media (max-width: 1100px) { .nx-density { display: none; } .nx-seg .lq-seg-item { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 640px) { .nh-years__n { display: none; } .nh-years__plot { gap: 2px; } }   /* 13年分の数が重なるため。数は吹き出しと表で */
/* AI の見立て: 「過去の実績から」は4つ目の欄として横いっぱいに（公開の落札結果を根拠にした見立て。2026-09-28） */
.nx-ins__sec.is-past { grid-column: 1 / -1; }
/* 案件画面の並びの列を画面の幅までに抑える（AI の見立てが入ると 390px で 26px はみ出していた。2026-09-28） */
.nx-canvas, .nx-gen { grid-template-columns: minmax(0, 1fr); }
.hx__own { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--sheet-2); font-size: 14px; }
.hx__own b { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.hx__own.is-has { background: var(--acc-soft); }
.hx__own a { font-weight: 800; }
/* プロフィール: 公開の落札実績との結び付け（本人だけに使う） */
.nh-own { margin-top: 16px; padding: 18px; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nh-own h2 { font-size: 16px; margin: 0 0 4px; }
.nh-own p { margin: 4px 0; font-size: 13px; color: var(--ink-2); }
.nh-own__q { display: flex; gap: 6px; margin: 10px 0 6px; }
.nh-own__q input { flex: 1; min-width: 0; height: 40px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 14px; }
.nh-own__list { list-style: none; margin: 6px 0 0; padding: 0; }
.nh-own__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nh-own__list li small { grid-column: 1; color: var(--ink-3); font-size: 12px; }
.nh-own__list li .nx-btn { grid-row: 1 / span 2; grid-column: 2; min-height: 36px; font-size: 13px; }
.nh-own__linked { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--acc-soft); margin-top: 8px; font-size: 14px; }
.nh-own__linked a { font-weight: 800; }
.nh-own__linked button { justify-self: start; background: none; border: 0; padding: 0; color: var(--ink-3); font-size: 12px; text-decoration: underline; cursor: pointer; }

/* ─────────── スマホ幅の導線（2026-09-29） ───────────
   上部のメニューが入り切らず、落札実績・監督・照合へ行けなかった／ログインの札が縦に崩れていた。
   760px 以下は、上部をロゴと通知・アカウントだけにし、主な画面は画面下のタブへ。 */
.nx-tabbar { display: none; }
@media (max-width: 760px) {
  .nx-bar .nx-seg, .nx-bar .nx-more { display: none; }
  .nx-bar { gap: 8px; }
  .nx-login, .nx-start { white-space: nowrap; }
  .nx-start { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .nx-tabbar { position: fixed; z-index: 55; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); display: flex; justify-content: space-around;
    height: 60px; padding: 0 4px; --lq-radius: 20px; }
  .nx-tabbar > a, .nx-tabbar__more > summary { flex: 1; display: grid; place-items: center; align-content: center; gap: 2px; min-width: 0; height: 100%;
    color: var(--ink-3); text-decoration: none; font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; border-radius: 14px; }
  .nx-tabbar__more > summary::-webkit-details-marker { display: none; }
  .nx-tabbar__more { flex: 1; display: flex; }
  .nx-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .nx-tabbar [aria-current="page"], .nx-tabbar__more[open] > summary { color: var(--acc); background: var(--acc-soft); }
  .nx-tabbar__sheet { position: fixed; left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; padding: 8px; --lq-radius: 18px; }
  .nx-tabbar__sheet a { padding: 14px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 800; }
  @media (hover: hover) { .nx-tabbar__sheet a:hover { background: var(--sheet-2); } }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nx-totop { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .nx-toast, .nx-toast2 { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .nx-pp { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* 監督の件数の札が、狭い幅で縦に伸びて大きな白い円になっていた */
.nx-watch__count { align-self: flex-start; height: auto; width: fit-content; }
.nx-sechead > .nx-watch__count { flex: 0 0 auto; }   /* 見出しの子に効く flex: 1 1 280px が、縦並びで高さ280pxになっていた */
@media (max-width: 760px) { .nx-tabbar__sheet { background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -16px rgba(0, 0, 0, .35); } }
@media (max-width: 900px) { .nx-sechead > div { flex-basis: auto; } }   /* 縦並びのとき、280px が高さとして効いて空白ができていた */
/* しるしの凡例は畳む（毎回2行出ていた。2026-09-29）。開けば今までどおり */
details.nx-mklegend { display: block; margin: 0 0 8px; }
details.nx-mklegend > summary { cursor: pointer; font-size: 12px; font-weight: 800; color: var(--ink-3); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
details.nx-mklegend > summary::-webkit-details-marker { display: none; }
details.nx-mklegend > summary::before { content: "?"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font: 800 10.5px/1 var(--f-jp); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
details.nx-mklegend > p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 0; font-size: 11.5px; color: var(--ink-3); }
/* 11/16 スマホで札と説明が別の行に分かれた（並べて折り返す組み方だと、長い説明が丸ごと次の行へ回る）→ 文の流れで組み、説明は札のすぐ後ろから折り返す */
details.nx-mklegend > p { display: block; line-height: 2.1; }
details.nx-mklegend > p > .nx-mk, details.nx-mklegend > p > .nx-chip2 { vertical-align: middle; }
/* 凡例は件数の行（.nx-countline）の中にあり、件数の数字の大きな字が見本の「あと2日」にも当たっていた → 札の中の字は札の大きさのまま */
details.nx-mklegend .nx-mk b { font-family: inherit; font-size: inherit; color: inherit; margin-right: 0; }
details.nx-mklegend > p > i { font-style: normal; font-size: 9.5px; font-weight: 800; padding: 1px 3px; border-radius: 4px; background: #eaf1ff; color: #1e40af; }
details.nx-mklegend .nx-mk { margin-left: 6px; }
/* 探すの件数の行の道具の中の「しるしの意味」: 開くと説明が1行のまま件数の行を約2,300px に広げ、右が切れて読めなかった（10/18 真っ白な担当の点検 困る-1）
   → この場所だけ、押した所の下に小さな窓で開く（折り返して全部読める） */
.nx-countline__tools details.nx-mklegend { position: relative; }
.nx-countline__tools details.nx-mklegend > p { position: absolute; z-index: 30; right: 0; top: calc(100% + 6px); width: min(520px, calc(100vw - 32px)); padding: 10px 12px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2), 0 8px 24px rgba(0, 0, 0, .14); }
@media (max-width: 600px) { .nx-countline__tools details.nx-mklegend > p { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; max-height: 50vh; overflow: auto; } }   /* スマホ: 押した所の下だと左へはみ出すので、下の帯の上に */
.nx-setup2__count small { font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.nxt__goal { fill: none !important; stroke: rgba(255, 255, 255, .55); stroke-width: 2.4; }
.nxt__star.is-on .nxt__goal { stroke: #fde68a; }
.nx-404 h1 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 32px); }
.nx-404__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.nx-404__go .nx-btn { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.nx-404__go .nx-btn--go { color: #fff; }
/* 出力（CSV）のボタン。どの一覧でも件数の横に同じ形（2026-09-29） */
.nx-export { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 800;
  color: var(--acc); text-decoration: none; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; white-space: nowrap; }
@media (hover: hover) { .nx-export:hover { background: var(--acc-soft); } }
.nx-export svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-export small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.nx-export.is-locked { color: var(--ink-3); }
.pp-csvinc { position: relative; }
.pp-csvinc > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; list-style: none; }
.pp-csvinc > summary::-webkit-details-marker { display: none; }
.pp-csvinc > summary::after { content: "▾"; color: var(--ink-3); }
.pp-csvinc__k { color: var(--ink-3); }
.pp-csvinc__v { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-csvinc__box { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; display: grid; gap: 6px; min-width: 15em; max-width: min(22em, calc(100vw - 32px)); margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.pp-csvinc__box legend { padding: 0; margin-bottom: 4px; font-size: 12px; font-weight: 800; color: var(--ink-3); float: left; width: 100%; }
.pp-csvinc__box label { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.pp-csvinc__box small { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.nx-countline__tools { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
.nh-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nx-me { flex: none; }   /* 上部の部品が増えて、会社のアイコンが細く潰れていた */
/* 料金（2026-09-29） */
.nx-price__head h1 { margin: 6px 0 10px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; }
/* 2026-10-16 デバッグ anon-12: 比較表をやめた跡の右の列が空のまま（PC で枠の右6割が白い）→ 1列・中身の幅 */
.nx-price__card { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 680px; gap: 0; margin: 26px 0; border-radius: 26px; overflow: hidden;
  background: var(--sheet); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(10, 40, 50, .5); }
.nx-price__plan { padding: 30px; background: linear-gradient(160deg, var(--acc-soft), var(--sheet) 70%); display: grid; align-content: start; gap: 8px; }
.nx-price__name { margin: 0; font-weight: 900; color: var(--acc); letter-spacing: .04em; }
.nx-price__yen { margin: 0; line-height: 1; } .nx-price__yen b { font-family: var(--f-num); font-size: 64px; letter-spacing: -.04em; }
.nx-price__yen span { font-size: 16px; font-weight: 800; color: var(--ink-2); margin-left: 6px; }
.nx-price__note { margin: 6px 0 14px; font-size: 13.5px; color: var(--ink-2); }
.nx-price__plan .nx-btn { justify-self: start; display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.nx-price__feats { list-style: none; margin: 0; padding: 22px 26px; display: grid; gap: 2px; }
.nx-price__feats li { display: grid; gap: 2px; padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.nx-price__feats li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 900; color: #fff; background: var(--acc-2); }
.nx-price__feats li b { font-size: 15px; } .nx-price__feats li span { font-size: 13px; color: var(--ink-3); }
.nx-price__feats li.is-soon::before { content: "…"; background: var(--sheet-2); color: var(--ink-3); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-price__feats li.is-soon b { color: var(--ink-3); }
.nx-price__table { width: 100%; border-collapse: collapse; background: var(--sheet); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; }
.nx-price__table caption { text-align: left; font-size: 18px; font-weight: 900; margin-bottom: 10px; }
.nx-price__table th, .nx-price__table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; text-align: center; }
.nx-price__table tbody th { text-align: left; font-weight: 700; }
.nx-price__table td.is-yes { color: var(--acc); font-weight: 900; }
.is-soon { color: var(--ink-3); font-size: 13px; }
.nx-price__faq { margin-top: 30px; } .nx-price__faq h2 { font-size: 18px; }
.nx-price__faq dl { margin: 0; display: grid; gap: 0; background: var(--sheet); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.nx-price__faq dl > div { padding: 14px 18px; } .nx-price__faq dl > div + div { border-top: 1px solid var(--line); }
.nx-price__faq dt { font-weight: 800; } .nx-price__faq dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) {
  .nx-price__card { grid-template-columns: minmax(0, 1fr); }
  .nx-price__table th, .nx-price__table td { padding: 10px 8px; font-size: 12.5px; }
}
.nx-wel__price { margin: 14px 0 0; font-size: 14px; } .nx-wel__price a { color: inherit; opacity: .9; }
/* 案件の判断（2026-09-29）: 状態は色の札で。検討中=青緑、準備中=琥珀、提出済=緑、見送り=灰 */
.cs { display: grid; gap: 12px; }
.cs__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cs__pill { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
  background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .15s, color .15s; }
.cs__pill[aria-pressed="true"][data-s="adopt"] { background: var(--acc); color: #fff; box-shadow: none; }
.cs__pill[aria-pressed="true"][data-s="prepare"] { background: #b45309; color: #fff; box-shadow: none; }
.cs__pill[aria-pressed="true"][data-s="submitted"] { background: var(--ok); color: #fff; box-shadow: none; }
.cs__pill[aria-pressed="true"][data-s="skip"] { background: var(--ink-3); color: #fff; box-shadow: none; }
.cs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 12em); gap: 10px; }
.cs label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.cs__in { width: 100%; min-height: 40px; border: 0; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line-2) inset; }
.cs__memo { resize: vertical; min-height: 60px; }
.cs__in:focus { outline: none; box-shadow: 0 0 0 2px var(--acc-2) inset; }
.cs__foot { margin: 0; font-size: 12px; color: var(--ink-3); } .cs__saved { color: var(--acc); font-weight: 700; }
.nx-block--state[data-status="adopt"] { box-shadow: 0 0 0 2px var(--acc-2); }
.nx-block--state[data-status="prepare"] { box-shadow: 0 0 0 2px #d97706; }
.nx-block--state[data-status="submitted"] { box-shadow: 0 0 0 2px var(--ok); }
@media (max-width: 640px) { .cs__row { grid-template-columns: minmax(0, 1fr); } }
.nx-deck__state { justify-self: start; font-size: 11.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: var(--acc); color: #fff; }
.nx-deck__state[data-s="prepare"] { background: #b45309; } .nx-deck__state[data-s="submitted"] { background: var(--ok); } .nx-deck__state[data-s="skip"] { background: var(--ink-3); }
.nx-deck[data-decided="adopt"] [data-decide="adopt"] { display: none; }
/* 保存した条件・検索語の読み方（2026-09-29） */
.nx-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.nx-saved__h { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nx-saved__chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-saved__chip.is-on { background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc-2) inset; }
.nx-saved__chip a { padding: 6px 4px 6px 14px; font-size: 13.5px; font-weight: 800; color: var(--ink); text-decoration: none; }
.nx-saved__chip form { display: inline; }
.nx-saved__chip button { border: 0; background: none; cursor: pointer; padding: 6px 12px 6px 6px; color: var(--ink-3); font-size: 14px; }
@media (hover: hover) { .nx-saved__chip button:hover { color: var(--bad); } }
.nx-qread { margin: 14px 6px 0; font-size: 13px; color: var(--ink-2); }
.nx-savebox { margin: 12px 6px 0; }
.nx-savebox > summary { display: inline-flex; cursor: pointer; font-size: 13px; font-weight: 800; color: var(--acc); list-style: none; }
.nx-savebox > summary::-webkit-details-marker { display: none; }
.nx-savebox__f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.nx-savebox__f input[name="name"] { height: 40px; border: 0; border-radius: 12px; padding: 0 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; font: inherit; font-size: 14px; width: 16em; max-width: 60vw; }
.nx-savebox__f .nx-btn { min-height: 40px; color: #fff; }
/* 毎朝のお知らせ（2026-09-29） */
.dg-n { font-family: var(--f-num); color: var(--acc); }
.dg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.dg-sec { margin-bottom: 22px; } .dg-sec h2 { font-size: 17px; margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.dg-sec h2 small { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.dg-more { margin-left: auto; font-size: 13px; }
.dg-list { list-style: none; margin: 0; padding: 0; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); }
.dg-list li + li { border-top: 1px solid var(--line); }
.dg-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: inherit; text-decoration: none; }
@media (hover: hover) { .dg-row:hover { background: var(--sheet-2); } }
.dg-row__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dg-row__main b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-row__main small { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-left { flex: none; display: grid; text-align: center; min-width: 64px; padding: 4px 8px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); }
.dg-left b { font-size: 15px; } .dg-left small { font-size: 10.5px; }
.dg-left.is-hot { background: var(--bad-soft); color: var(--bad); }
.is-due .dg-list { box-shadow: 0 0 0 2px var(--warn-soft), 0 0 0 1px var(--line); }
.dg-hint { font-size: 13px; color: var(--ink-3); }
.dg-aside .nh-card { display: grid; gap: 10px; position: sticky; top: 96px; }
.dg-aside h2 { margin: 0; font-size: 16px; }
.dg-soon { margin: 0; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--sheet-2); color: var(--ink-2); }
.dg-f { display: grid; gap: 4px; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.dg-f textarea { border: 0; border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line-2) inset; resize: vertical; }
.dg-check { font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.dg-aside .nx-btn { justify-self: start; color: #fff; }
@media (max-width: 900px) { .dg-grid { grid-template-columns: minmax(0, 1fr); } .dg-aside .nh-card { position: static; } }
.nx-today__digest { margin: 6px 0 0; font-size: 13.5px; font-weight: 800; } .nx-today__digest a { color: inherit; }
.hx__rate { margin: 0; font-size: 13.5px; color: var(--ink-2); } .hx__rate b { font-family: var(--f-num); color: var(--ink); font-size: 15px; }
/* 収録の範囲（2026-09-29） */
.cv-table { width: 100%; border-collapse: collapse; background: var(--sheet); border-radius: var(--r-read); overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.cv-table th, .cv-table td { padding: 7px 14px; border-top: 1px solid var(--line); font-size: 14px; text-align: right; }
.cv-table thead th { font-size: 12px; color: var(--ink-3); border-top: 0; }
.cv-table tbody th { text-align: left; font-weight: 800; } .cv-table tbody th a { text-decoration: none; }
.cv-bar { position: relative; min-width: 160px; } .cv-bar b { position: relative; }
.cv-bar__b { position: absolute; left: 14px; top: 50%; height: 8px; margin-top: -4px; max-width: calc(100% - 70px); border-radius: 4px; background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc-2) inset; }
.cv-table tr.is-empty td, .cv-table tr.is-empty th a { color: var(--ink-3); }
@media (max-width: 640px) { .cv-table th, .cv-table td { padding: 6px 8px; font-size: 12.5px; } .cv-bar { min-width: 90px; } .cv-bar-h { font-size: 11px; } }
.cv-table thead th:first-child { text-align: left; } .cv-table th:first-child { width: 30%; }
.cv-table td:nth-child(2), .cv-table td:nth-child(3), .cv-table td:nth-child(5), .cv-table thead th:nth-child(2), .cv-table thead th:nth-child(3), .cv-table thead th:nth-child(5) { width: 11%; }
.nx-keyline__i.is-more { cursor: pointer; } .nx-keyline__full { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; color: var(--ink-2); max-width: 28em; }
.nh-own__confirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--warn-soft); font-size: 13px; }
.nh-own__confirm .nx-btn { min-height: 34px; font-size: 13px; } .nh-own__confirm .nx-btn--go { color: #fff; }
.nx-renamein { font-size: inherit; font-weight: inherit; max-width: 20em; }
/* 監督: 1件1行（2026-09-29。3列のカードで字が小さく縦に長く、流し読みできなかった）。
   区分（判断できる／条件つき・可能性あり／見送り候補）は縦に並べ、各案件は 件名・発注者・しるし・理由の要約・判断ボタン を1行に */
.nx-watch .nx-lanes { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.nx-watch .nx-decks { gap: 0; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.nx-watch .nx-deck { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: 0; box-shadow: none; background: none; }
.nx-watch .nx-deck + .nx-deck { border-top: 1px solid var(--line); }
.nx-watch .nx-deck__body { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "kind title" "kind meta"; column-gap: 12px; row-gap: 2px; padding: 10px 16px; }
.nx-watch .nx-deck__body > .nx-obj__kind { grid-area: kind; align-self: center; }
.nx-watch .nx-deck__body > b { grid-area: title; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-watch .nx-deck__body > .nx-deck__org, .nx-watch .nx-deck__body > .nx-marks, .nx-watch .nx-deck__body > .nx-deck__why, .nx-watch .nx-deck__body > .nx-deck__state { grid-column: 2; }
.nx-watch .nx-deck__body { grid-auto-flow: row dense; }
.nx-watch .nx-deck__org { display: inline; font-size: 12.5px; }
.nx-watch .nx-deck__why span:nth-child(n+2) { display: none; }   /* 理由は要約の1つだけ（全部は案件を開くと見える） */
.nx-watch .nx-deck__why span { font-size: 11.5px; padding: 1px 8px; }
.nx-watch .nx-deck__act { padding: 0 16px 0 0; gap: 6px; }
.nx-watch .nx-deck__act .nx-btn { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.nx-watch .nx-deck[data-decided="skip"] { opacity: .55; transform: none; }
.nx-watch .nx-deck[data-decided="adopt"] { box-shadow: inset 4px 0 0 var(--acc-2); }
@media (max-width: 760px) {
  .nx-watch .nx-deck { grid-template-columns: minmax(0, 1fr); }
  .nx-watch .nx-deck__act { padding: 0 16px 10px; }
  .nx-watch .nx-deck__body > b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* 上部のバー: 後ろの本文が透けて重なり読みにくかったので、少し濃く（ガラスの質感は残す） */
.nx-bar { --lq-tint: rgba(255, 252, 246, .84); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar { --lq-tint: rgba(24, 27, 35, .86); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-bar { --lq-tint: rgba(24, 27, 35, .86); } }
.nx-watch .nx-deck__body > .nx-deck__meta { grid-column: 2; display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.nx-watch .nx-deck__meta .nx-deck__org { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nx-watch .nx-deck__meta .nx-marks, .nx-watch .nx-deck__meta .nx-deck__why { flex: none; }
.nx-watch .nx-deck__body > .nx-obj__kind { min-width: 4.2em; text-align: center; }
@media (max-width: 760px) { .nx-watch .nx-deck__body > .nx-deck__meta { flex-wrap: wrap; white-space: normal; } .nx-watch .nx-deck__why { display: none; } }
.nx-signup__err ul { margin: 4px 0 0; padding-left: 1.2em; } .nx-signup__err li { margin: 2px 0; }
/* 照合 = 判断のカード（2026-09-29 監督をなくし、照合を3列のカードに。元のカードの形・押すと暗くなる演出を残す） */
.nx-judge { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 96px 0 120px; }
.nx-judge__head h1 { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; }
.nx-judge__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 10px; }
.nx-judge__go { margin-left: auto; font-weight: 800; font-size: 14px; }
.nx-judge .nx-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-judge .nx-lane h2 { display: flex; align-items: center; gap: 8px; }
.nx-judge .nx-deck { position: relative; }
.nx-deck__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nx-deck__score { font-family: var(--f-num); font-weight: 700; font-size: 18px; color: var(--acc); } .nx-deck__score small { font-size: 11px; margin-left: 1px; color: var(--ink-3); }
.nx-deck__why .is-cond { background: var(--warn-soft); color: var(--warn); } .nx-deck__why .is-pre { background: var(--sky-soft); color: var(--sky); }
.nx-deck__q { position: absolute; right: 12px; bottom: 16px; }
.nx-lane__more { margin: 8px 4px 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .nx-judge .nx-lanes { grid-template-columns: minmax(0, 1fr); } .nx-judge { padding-top: 84px; } }
/* 「?」の説明（カーソルを合わせる・押すと出る。2026-09-29 説明を常に出さない） */
.nx-q { position: relative; display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; cursor: help;
  font: 800 12px/1 var(--f-jp); color: var(--ink-3); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; vertical-align: middle; }
.nx-q:focus-visible { color: var(--acc); box-shadow: 0 0 0 1px var(--acc-2) inset; outline: none; } @media (hover: hover) { .nx-q:hover { color: var(--acc); box-shadow: 0 0 0 1px var(--acc-2) inset; outline: none; } }
.nx-q::after { content: attr(data-tip); position: absolute; z-index: 60; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: min(320px, 80vw);
  padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 500; line-height: 1.6; text-align: left;
  white-space: normal; letter-spacing: 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.nx-q:focus::after { opacity: 1; visibility: visible; } @media (hover: hover) { .nx-q:hover::after { opacity: 1; visibility: visible; } }
.nx-deck__q .nx-q::after { left: auto; right: -6px; transform: none; }
h1 .nx-q::after, h2 .nx-q::after { left: -10px; transform: none; bottom: auto; top: calc(100% + 8px); }
/* 一覧の小さな「検討する」（2026-09-29） */
.nx-rel li, .nx-srows li { position: relative; }
.nx-csbtn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 12px/1 var(--f-jp); color: var(--acc); background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; opacity: .0; transition: opacity .15s, background .15s; }
.nx-csbtn:focus-visible, .nx-csbtn[aria-pressed="true"], .nx-csbtn[data-s="skip"] { opacity: 1; } @media (hover: hover) { .nx-rel li:hover .nx-csbtn, .nx-srows li:hover .nx-csbtn { opacity: 1; } }
.nx-csbtn[aria-pressed="true"] { background: var(--acc); color: #fff; box-shadow: none; }
.nx-csbtn[data-s="skip"] { color: var(--ink-3); }
.nx-srows .nx-csbtn { top: 14px; transform: none; }
@media (hover: none) { .nx-csbtn { opacity: 1; } }
.nx-rel__row, .nx-srow { padding-right: 104px; }
/* 検討中（2026-09-29） */
.pp-kpi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0 0 18px; border-radius: var(--r-read); overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.pp-kpi > div { background: var(--sheet); padding: 12px 16px; } .pp-kpi dt { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.pp-kpi dd { margin: 2px 0 0; font-family: var(--f-num); font-size: 26px; font-weight: 700; }
.pp-kpi [data-k="adopt"] dd { color: var(--acc); } .pp-kpi [data-k="prepare"] dd { color: #b45309; } .pp-kpi [data-k="submitted"] dd { color: var(--ok); }
.pp-kpi .is-warn dd { color: var(--bad); } .pp-kpi .is-muted dd { color: var(--ink-3); }
.pp-soon { margin-bottom: 16px; } .pp-soon h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 8px; }
.pp-soon ol { list-style: none; margin: 0; padding: 0; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); }
.pp-soon li + li { border-top: 1px solid var(--line); }
.pp-soon a { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: inherit; text-decoration: none; }
@media (hover: hover) { .pp-soon a:hover { background: var(--sheet-2); } }
.pp-soon b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.pp-soon small { color: var(--ink-3); font-size: 12px; }
.pp-soon__st { font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; color: #fff; background: var(--acc); }
.pp-soon__st[data-s="prepare"] { background: #b45309; } .pp-soon__st[data-s="submitted"] { background: var(--ok); }
.pp-left { flex: none; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); white-space: nowrap; }
.pp-left.is-hot { background: var(--bad-soft); color: var(--bad); } .pp-left.is-warn { background: var(--warn-soft); color: var(--warn); }
.pp-left.is-past, .pp-left.is-none { color: var(--ink-3); }
.pp-facts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.pp-past { color: var(--ink-2); }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0 18px 10px; font-size: 12.5px; }
.pp-who { font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); } .pp-who.is-none { background: var(--sheet-2); color: var(--ink-3); }
.pp-due { font-weight: 700; color: var(--ink-2); } .pp-due.is-hot { color: var(--bad); }
.pp-memo { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); }
.pp-ics { margin-left: auto; color: var(--ink-3); text-decoration: none; font-size: 12px; } @media (hover: hover) { .pp-ics:hover { color: var(--acc); } }
.pp-lanes .nx-lane[data-col="prepare"] .nx-lane__n { background: #b45309; } .pp-lanes .nx-lane[data-col="submitted"] .nx-lane__n { background: var(--ok); }
.pp-card[data-status="prepare"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 #d97706; } .pp-card[data-status="submitted"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--ok); }
.pp-card[data-status="adopt"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--acc-2); }
.pp-skipped { margin-top: 24px; } .pp-skipped summary { cursor: pointer; font-weight: 800; color: var(--ink-3); }
.pp-skipped ul { list-style: none; margin: 8px 0 0; padding: 0; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); }
.pp-skipped li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 14px; } .pp-skipped li + li { border-top: 1px solid var(--line); }
.pp-skipped li a { font-weight: 700; } .pp-skipped li small { color: var(--ink-3); flex: 1; } .pp-skipped .nx-btn { min-height: 32px; font-size: 12.5px; }
.pp-empty a { font-weight: 800; }
@media (max-width: 760px) { .pp-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pp-kpi dd { font-size: 20px; } }
/* 「?」の吹き出しは、見えないときは場所を取らない（見えないままスマホで横にはみ出していた） */
.nx-q::after { display: none; }
.nx-q:focus::after { display: block; } @media (hover: hover) { .nx-q:hover::after { display: block; } }
@media (max-width: 760px) { .nx-q::after { position: fixed; left: 16px !important; right: 16px !important; top: auto !important; bottom: 92px !important; transform: none !important; width: auto; max-width: none; } }
.pp-ics { display: inline-flex; align-items: center; gap: 4px; } .pp-ics svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* 検討する・見送る（常に表示。押した状態を行の見た目で。2026-09-29 ） */
.nx-cs { display: inline-flex; gap: 6px; z-index: 3; }
.nx-cs__b { min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; cursor: pointer; font: 800 12px/1 var(--f-jp); white-space: nowrap;
  background: var(--sheet); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; transition: background .15s, color .15s; }
.nx-cs__b.is-adopt { color: var(--acc); }
@media (hover: hover) { .nx-cs__b:hover { background: var(--sheet-2); } }
.nx-cs__b.is-adopt[aria-pressed="true"] { background: var(--acc); color: #fff; box-shadow: none; }
.nx-cs__b.is-skip[aria-pressed="true"] { background: var(--ink-3); color: #fff; box-shadow: none; }
.nx-rel li > .nx-cs { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.nx-srows li > .nx-cs { position: absolute; right: 12px; bottom: 12px; }
.nx-srow__chips { padding-right: 170px; }
.dg-list li { position: relative; } .dg-list li > .nx-cs { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.nx-rel__row { padding-right: 190px; } .dg-row { padding-right: 190px; }
.nx-srow { padding-right: 14px; }
/* 行の状態: 検討中は色の帯と薄い色、見送りは暗く（ボタンは押せるまま） */
li[data-cs-state="adopt"] { box-shadow: inset 4px 0 0 var(--acc-2); background: color-mix(in srgb, var(--acc-soft) 55%, transparent); }
li[data-cs-state="skip"] > a { opacity: .42; filter: grayscale(.6); }
@media (hover: hover) { li[data-cs-state="skip"] > a:hover { opacity: .75; } }
.nx-cs--brief { margin: 4px 0 6px; } .nx-cs--brief .nx-cs__b { min-height: 36px; padding: 0 16px; font-size: 13.5px; }
@media (max-width: 760px) {
  .nx-rel li > .nx-cs, .dg-list li > .nx-cs { position: static; transform: none; margin: 0 12px 10px; }
  .nx-rel__row, .dg-row { padding-right: 14px; }
  .nx-srow__chips { padding-right: 0; } .nx-srows li > .nx-cs { position: static; margin: -4px 14px 10px 86px; }
}

/* ─── 検討中: 予定表（横軸。2026-09-29 ） ─── */
.pp-tl { margin: 0 0 18px; background: var(--sheet); border-radius: var(--r-read); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.pp-tl__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 16px 8px; }
.pp-tl__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.pp-tl__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font-size: 11.5px; color: var(--ink-3); }
.pp-tl__more { display: none; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pp-tl:has(.pp-tl__scroll[data-hclip$="r"]) .pp-tl__more { display: inline; }   /* 右に続きがあるときだけ（L15-7） */
.pp-tl__legend li { display: inline-flex; align-items: center; gap: 4px; } .pp-tl__legend .pp-tl__ev { position: static; transform: none; cursor: default; }
.pp-tl__scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; max-height: 440px; overflow-y: auto; }
.pp-tl__grid { --w: 30px; --name: 232px; position: relative; width: calc(var(--name) + var(--n) * var(--w)); min-width: 100%; }
.pp-tl__cols { position: absolute; inset: 0 0 0 var(--name); pointer-events: none; }
.pp-tl__cols i { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * var(--w)); width: var(--w); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.pp-tl__cols i.is-today { background: color-mix(in srgb, var(--acc-2) 16%, transparent); box-shadow: inset 2px 0 0 var(--acc-2); }
.pp-tl__row { position: relative; display: flex; min-height: 38px; border-top: 1px solid var(--line); }
.pp-tl__row--days { position: sticky; top: 0; z-index: 3; min-height: 56px; background: var(--sheet); border-top: 0; box-shadow: 0 1px 0 var(--line); }
.pp-tl__name { position: sticky; left: 0; z-index: 2; flex: none; width: var(--name); display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 7px;
  padding: 5px 10px 5px 12px; background: var(--sheet); box-shadow: 1px 0 0 var(--line); color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.pp-tl__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-tl__name small { grid-column: 2; font-size: 11px; font-weight: 800; color: var(--ink-3); } .pp-tl__name small.is-none { font-weight: 600; }
@media (hover: hover) { .pp-tl__name:hover span { text-decoration: underline; } }
.pp-tl__name.is-hot { background: color-mix(in srgb, var(--bad-soft) 85%, var(--sheet)); color: var(--bad); } .pp-tl__name.is-hot small { color: var(--bad); }
.pp-tl__name.is-warn { background: color-mix(in srgb, var(--warn-soft) 85%, var(--sheet)); color: var(--warn); } .pp-tl__name.is-warn small { color: var(--warn); }
.pp-tl__st { grid-row: span 2; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-2); }
.pp-tl__st[data-s="prepare"] { background: #d97706; } .pp-tl__st[data-s="submitted"] { background: var(--ok); }
.pp-tl__lane { position: relative; flex: none; width: calc(var(--n) * var(--w)); }
.pp-tl__day { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * var(--w)); width: var(--w); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 4px; font-size: 10.5px; color: var(--ink-3); }
.pp-tl__day b { font-family: var(--f-num); font-size: 12px; color: var(--ink-2); } .pp-tl__day small { font-size: 9.5px; }
.pp-tl__day em { position: absolute; top: 4px; left: 4px; font-style: normal; font-weight: 800; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.pp-tl__day.is-we b, .pp-tl__day.is-we small { color: var(--bad); opacity: .8; }
.pp-tl__day.is-today b, .pp-tl__day.is-today small { color: var(--acc); font-weight: 800; }
.pp-tl__ev { position: absolute; top: 50%; left: calc(var(--x) * var(--w) + var(--w) / 2); transform: translate(-50%, -50%); display: inline-grid; place-items: center;
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; font: 800 11px/1 var(--f-jp); color: #fff; background: var(--ink-3); cursor: pointer; z-index: 1; }
.pp-tl__ev.is-apply { background: #b45309; } .pp-tl__ev.is-ask { background: var(--sky); } .pp-tl__ev.is-bid { background: var(--bad); }
.pp-tl__ev.is-open { background: #6b4fa0; } .pp-tl__ev.is-own { background: var(--acc); }
.pp-tl__ev.is-past { opacity: .35; }
.pp-tl__row .pp-tl__ev::before { content: ""; position: absolute; inset: -6px; }   /* 予定表の印は見た目 22px のまま、押せる範囲を 34px に（台帳 10/13。10/19 L15-6）。::after は吹き出しで使用中 */
.pp-tl__ev.is-hot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 30%, transparent); animation: pp-pulse 1.8s ease-in-out infinite; }
@keyframes pp-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--bad) 12%, transparent); } }
@media (prefers-reduced-motion: reduce) { .pp-tl__ev.is-hot { animation: none; } }
.pp-tl__ev[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); display: none; width: max-content; max-width: 220px;
  padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--sheet); font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: normal; text-align: left; z-index: 5; }
.pp-tl__ev[data-tip]:focus-visible::after, .pp-tl__ev.is-open-tip::after { display: block; } @media (hover: hover) { .pp-tl__ev[data-tip]:hover::after { display: block; } }
.pp-tl__row:nth-of-type(-n+3) .pp-tl__ev[data-tip]::after { bottom: auto; top: calc(100% + 6px); }
.pp-tl__ev.is-open-tip { z-index: 4; } @media (hover: hover) { .pp-tl__ev:hover { z-index: 4; } }
.pp-tl__later { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) { .pp-tl__grid { --name: 138px; --w: 28px; } .pp-tl__name { font-size: 11.5px; padding-left: 8px; } }

/* ─── 検討中: まとめてAI分析 ─── */
.pp-ai { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--r-read); background: linear-gradient(120deg, color-mix(in srgb, var(--acc-soft) 70%, var(--sheet)), var(--sheet)); box-shadow: 0 0 0 1px var(--line); }
.pp-ai__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pp-ai__go { min-height: 44px; padding: 0 20px; font-size: 15px; }
.pp-ai__scope { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sheet-2); }
.pp-ai__scope .nx-wf { min-height: 36px; font-size: 13px; padding: 0 12px; }
.pp-ai__note { flex: 1 1 280px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: 0; font-size: 12.5px; color: var(--ink-2); }
.pp-ai__run { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; margin-top: 12px; }
.pp-ai__meter { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: var(--sheet-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.pp-ai__meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--acc), var(--acc-2)); transition: width .6s ease; }
.pp-ai__count { margin: 0; font-size: 14px; } .pp-ai__count b { font-family: var(--f-num); font-size: 26px; color: var(--acc); }
.pp-ai__now { margin-left: 10px; font-size: 12.5px; color: var(--ink-2); }
.pp-ai.is-running .pp-ai__go { opacity: .5; }
.pp-chk { position: absolute; top: 10px; right: 10px; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; }
@media (hover: hover) { .pp-chk:hover { background: var(--sheet-2); } }
.pp-chk__in { width: 18px; height: 18px; accent-color: var(--acc); cursor: pointer; }
/* 選ぶチェックは自分で描く（10/20 r13b: 暗い表示で端末のチェックの枠 (90,95,104) が地 (50,56,68) に溶けて 1.83）。枠は文字の薄い色・入れたら緑に白いレ点 */
.pp-chk__in { appearance: none; -webkit-appearance: none; margin: 0; border: 2px solid var(--ink-3); border-radius: 5px; background: var(--sheet); display: grid; place-items: center; }
.pp-chk__in:checked { border-color: var(--acc); background: var(--acc) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat; }
.pp-chk__in:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
:root[data-scheme="dark"] .pp-chk__in:checked { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231f232b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }   /* 暗い表示は緑が明るいので、レ点は暗い色 */
.pp-card { position: relative; } .pp-card .nx-deck__top { padding-right: 30px; }
.pp-card.is-picked { box-shadow: 0 0 0 2px var(--acc-2) !important; }
.pp-card.is-ai-running::after { content: "AI分析中…"; position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; font-weight: 800; color: var(--acc); animation: pp-blink 1.2s ease-in-out infinite; }
@keyframes pp-blink { 50% { opacity: .35; } }
.pp-aichip { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--sky-soft); color: var(--sky); }
.pp-aichip.is-ok { background: var(--ok-soft); color: var(--ok); } .pp-aichip.is-check { background: var(--warn-soft); color: var(--warn); } .pp-aichip.is-ng { background: var(--bad-soft); color: var(--bad); }
.pp-taskchip { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); } .pp-taskchip.is-done { background: var(--ok-soft); color: var(--ok); }

/* ─── 案件ページ: 参加の準備 ─── */
.nx-block--prep { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--acc-2); }
.nx-block--prep[data-stage="prepare"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 #d97706; }
.nx-block--prep[data-stage="submitted"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--ok); }
.pr__head { cursor: default; } .pr__stage { margin-left: 8px; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--acc); }
[data-stage="prepare"] .pr__stage { background: var(--warn-soft); color: #b45309; } [data-stage="submitted"] .pr__stage { background: var(--ok-soft); color: var(--ok); }
.pr { display: grid; gap: 14px; }
.pr-cta { display: grid; justify-items: start; gap: 8px; padding: 18px; border-radius: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--acc-soft) 70%, var(--sheet)), var(--sheet)); box-shadow: inset 0 0 0 1px var(--line); }
.pr-cta__go { min-height: 48px; padding: 0 22px; font-size: 15.5px; } .pr-cta p { margin: 0; font-size: 13px; color: var(--ink-2); }
.pr-run { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: var(--acc-soft); }
.pr-run b { font-size: 16px; } .pr-run p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); } .pr-run > div { flex: 1; }
.pr-run__orb { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--acc), var(--acc-2), transparent 70%); animation: pr-spin 1.1s linear infinite; -webkit-mask: radial-gradient(circle, transparent 11px, #000 12px); mask: radial-gradient(circle, transparent 11px, #000 12px); }
@keyframes pr-spin { to { transform: rotate(1turn); } }
.pr-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-radius: 12px; background: var(--sky-soft); }
.pr-verdict.is-ok { background: var(--ok-soft); } .pr-verdict.is-check { background: var(--warn-soft); } .pr-verdict.is-ng { background: var(--bad-soft); }
.pr-verdict__label { font-weight: 900; font-size: 15px; } .pr-verdict.is-ok .pr-verdict__label { color: var(--ok); } .pr-verdict.is-check .pr-verdict__label { color: var(--warn); } .pr-verdict.is-ng .pr-verdict__label { color: var(--bad); }
.pr-verdict p { flex: 1 1 260px; margin: 0; font-size: 13.5px; }
.pr-verdict__meta { font-size: 11.5px; color: var(--ink-3); }
.pr-redo { border: 0; background: none; color: var(--acc); font: 800 12px var(--f-jp); cursor: pointer; text-decoration: underline; padding: 4px; }
.pr__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-box { padding: 12px 14px; border-radius: 12px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.pr-box h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 14px; }
.pr-box ul, .pr-box ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pr-none { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.pr-to { flex: none; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); white-space: nowrap; }
.pr-left { flex: none; font-size: 11.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.pr-left.is-hot { color: var(--bad); } .pr-left.is-warn { color: var(--warn); } .pr-left.is-past { color: var(--ink-3); font-weight: 600; }
.pr-act, .pr-task, .pr-askg li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 4px; border-radius: 8px; }
.pr-act label, .pr-task label, .pr-askg label { flex: 1 1 200px; display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 13.5px; line-height: 1.45; }
.pr-act input, .pr-task input[type=checkbox], .pr-askg input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--acc); flex: none; }
.pr-act.is-high .pr-act__t { font-weight: 800; } .pr-act.is-high { background: color-mix(in srgb, var(--bad-soft) 45%, transparent); }
.is-done > label span, .pr-act.is-done .pr-act__t { text-decoration: line-through; color: var(--ink-3); font-weight: 500; }
.pr-act.is-done { background: none; }
.pr-dates li { display: grid; grid-template-columns: 52px 76px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; padding: 6px 4px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.pr-dates__d { font-family: var(--f-num); font-weight: 800; } .pr-dates__d small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.pr-dates__k { font-size: 11.5px; font-weight: 800; color: var(--ink-2); } .pr-dates__l { min-width: 0; }
.pr-dates li.is-hot { background: color-mix(in srgb, var(--bad-soft) 55%, transparent); } .pr-dates li.is-warn { background: color-mix(in srgb, var(--warn-soft) 55%, transparent); }
.pr-dates li.is-past { opacity: .5; }
.pr-conds__sum { display: flex; gap: 10px; margin: 0 0 6px; font-size: 12.5px; font-weight: 800; }
.pr-conds__sum .is-ok { color: var(--ok); } .pr-conds__sum .is-check { color: var(--warn); } .pr-conds__sum .is-ng { color: var(--bad); }
.pr-cond { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 7px 4px; border-bottom: 1px dashed var(--line); }
/* 10/23 s05 K10: スマホは条件と根拠を全幅で読み、確認ボタンをその下へ（台帳10/21）。 */
@media (max-width: 760px) {
  .pr-cond { grid-template-columns: 24px minmax(0, 1fr); }
  .pr-cond > .pr-mini { grid-column: 2; justify-self: start; }
}
.pr-cond__i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 900; font-size: 12px; }
.pr-cond.is-ok .pr-cond__i { background: var(--ok-soft); color: var(--ok); } .pr-cond.is-check .pr-cond__i { background: var(--warn-soft); color: var(--warn); } .pr-cond.is-ng .pr-cond__i { background: var(--bad-soft); color: var(--bad); }
.pr-conds__sum .is-mine { color: var(--sky); } .pr-cond.is-mine .pr-cond__i { background: var(--sky-soft); color: var(--sky); }
.pr-cond b { font-size: 13.5px; } .pr-cond p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-2); }
.pr-cond q { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); } .pr-cond q::before { content: "資料: "; }
.pr-mini { min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line-2); font: 800 12px var(--f-jp); color: var(--acc); cursor: pointer; white-space: nowrap; }
.pr-mini.is-on { background: var(--ok); color: #fff; box-shadow: none; }
.pr-ref { display: grid; gap: 6px; margin: 0; } .pr-ref > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pr-ref dt { font-size: 12px; font-weight: 800; color: var(--ink-3); min-width: 110px; } .pr-ref dd { margin: 0; } .pr-ref dd b { font-family: var(--f-num); font-size: 16px; }
.pr-ref dd small { margin-left: 8px; font-size: 11.5px; color: var(--ink-3); }
.pr-factors { margin-top: 8px !important; font-size: 12.5px; color: var(--ink-2); } .pr-factors li::before { content: "・"; }
.pr-calc { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pr-calc__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr-calc__in label { display: grid; gap: 2px; font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.pr-calc__out { margin: 8px 0 0; font-weight: 800; font-size: 14px; color: var(--acc); } .pr-calc__cmp { margin: 2px 0 0; font-size: 13px; font-weight: 700; }
.pr-doc { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line); }
.pr-doc b { font-size: 13.5px; } .pr-doc p { margin: 1px 0 0; font-size: 12px; color: var(--ink-3); }
.pr-doc__st { min-height: 30px; border: 0; border-radius: 999px; font: 800 11.5px var(--f-jp); cursor: pointer; background: var(--sheet-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pr-doc.is-doing .pr-doc__st { background: var(--warn-soft); color: var(--warn); box-shadow: none; }
.pr-doc.is-done .pr-doc__st { background: var(--ok); color: #fff; box-shadow: none; } .pr-doc.is-done b { color: var(--ink-3); text-decoration: line-through; }
.pr-askg + .pr-askg { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pr-askg h4 { margin: 0 0 4px; font-size: 12.5px; color: var(--ink-3); }
.pr-draft__go { margin-top: 6px; min-height: 36px; font-size: 13px; }
.pr-draft { display: grid; gap: 6px; justify-items: start; margin-top: 8px; } .pr-draft.is-empty { display: none; } .pr-draft textarea { width: 100%; font-size: 13px; }
.pr-tasks .pp-who { font-size: 11.5px; }
.pr-task__add { display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px auto; gap: 6px; margin-top: 6px; }
.pr-x { border: 0; background: none; color: var(--ink-3); font-size: 18px; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; } @media (hover: hover) { .pr-x:hover { background: var(--sheet-2); color: var(--bad); } }
.pr__more { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.pr__advance { min-height: 36px; font-size: 13px; }
@media (max-width: 760px) {
  .pr__grid, .pr-calc__in { grid-template-columns: minmax(0, 1fr); }
  .pr-task__add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pr-task__add > input:first-child { grid-column: 1 / -1; }
  .pr-dates li { grid-template-columns: 46px minmax(0, 1fr) auto; } .pr-dates__k { display: none; }
  .pr-doc { grid-template-columns: 60px minmax(0, 1fr); } .pr-doc .pr-to, .pr-doc .pr-left { grid-column: 2; justify-self: start; }
}
.pp-tl__ev sup { position: absolute; top: -5px; right: -6px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 999px; background: var(--ink); color: var(--sheet); font-size: 9.5px; line-height: 14px; }

/* ─── 2026-09-29 表示の点検の手直し ─── */
/* 見送ったカード: 全体を薄くすると「見送り」の札と「取り消す」まで押せないように見える → 中身だけ薄く */
.nx-deck[data-decided="skip"], .nx-watch .nx-deck[data-decided="skip"] { opacity: 1; background: color-mix(in srgb, var(--sheet-2) 70%, var(--sheet)); }
.nx-deck[data-decided="skip"] .nx-deck__body > :not(.nx-deck__state) { opacity: .42; }
.nx-deck[data-decided="skip"] .nx-deck__state { opacity: 1; }
.nx-deck[data-decided="skip"] .nx-deck__act, .nx-deck[data-decided="skip"] .nx-undo { opacity: 1; }
.nx-deck__state[data-s="submitted"] { background: var(--sky); } .nx-deck__state[data-s="won"] { background: var(--ok); } .nx-deck__state[data-s="lost"] { background: var(--ink-2); }
/* 要確認・未着手は赤（手を付けるべき物） */
.pr-cond.is-check .pr-cond__i { background: var(--bad-soft); color: var(--bad); }
.pr-conds__sum .is-check { color: var(--bad); }
.pr-doc.is-todo .pr-doc__st { background: var(--bad-soft); color: var(--bad); box-shadow: none; }
/* 注意（!）とAIの注意書き */
.nx-q--warn { color: var(--bad); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent) inset; font-weight: 900; }
.pr-ainote { flex-basis: 100%; margin: 0; font-size: 11.5px; color: var(--ink-3); }
.pr-thin { color: var(--warn); font-weight: 800; }
.pr-cta .pr-ainote { margin-top: -2px; }
/* 押した後の選択肢の小窓 */
.nx-pick { position: fixed; z-index: 90; width: min(340px, calc(100vw - 16px)); padding: 12px 12px 10px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0,0,0,.45); animation: nx-pick-in .16s ease-out; }
@keyframes nx-pick-in { from { opacity: 0; transform: translateY(-4px); } }
.nx-pick__t { margin: 0 26px 8px 2px; font-size: 13px; font-weight: 800; }
.nx-pick__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-pick__o { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 10px; background: var(--sheet-2); color: var(--ink); font: 800 13px var(--f-jp); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.nx-pick__o small { font-size: 10.5px; font-weight: 600; color: var(--ink-3); }
.nx-pick__o:focus-visible { background: var(--acc-soft); color: var(--acc); outline: none; box-shadow: inset 0 0 0 1px var(--acc-2); } @media (hover: hover) { .nx-pick__o:hover { background: var(--acc-soft); color: var(--acc); outline: none; box-shadow: inset 0 0 0 1px var(--acc-2); } }
.nx-pick__o.is-on { box-shadow: inset 0 0 0 2px var(--acc-2); }
.nx-pick__x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); font-size: 17px; cursor: pointer; }
@media (hover: hover) { .nx-pick__x:hover { background: var(--sheet-2); } }
.cs__why { margin-top: 8px; max-width: 260px; }
/* 検討中: 結果・見送りの理由 */
.pp-res { flex: none; font-size: 11.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; color: #fff; background: var(--ok); } .pp-res[data-s="lost"] { background: var(--ink-3); }
.pp-why { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.pp-results { margin-top: 18px; }
.cs__pill[aria-pressed="true"][data-s="submitted"] { background: var(--sky); }
.cs__pill[aria-pressed="true"][data-s="won"] { background: var(--ok); color: #fff; box-shadow: none; }
.cs__pill[aria-pressed="true"][data-s="lost"] { background: var(--ink-2); color: #fff; box-shadow: none; }
.pp-lanes .nx-lane[data-col="submitted"] .nx-lane__n { background: var(--sky); } .pp-card[data-status="submitted"] { box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--sky); }
.pp-kpi [data-k="submitted"] dd { color: var(--sky); } .pp-tl__st[data-s="submitted"] { background: var(--sky); }
.pr-verdict .pr-ainote { flex: 0 0 100%; margin-top: 2px; }
.pp-tl__ev.is-deliv { background: #5b7b83; }
/* 暗い表示: 文字が暗い（#0d1117）ので、地が暗いままだと明暗比 4.15 で足りなかった（第4周）。10/18 決定⑨で台帳 L9「地は変えない」の例外として、暗い表示だけ地を明るく（6.42） */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .pp-tl__ev.is-deliv { background: #7a9ca4; }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .pp-tl__ev.is-deliv { background: #7a9ca4; }
}

/* ─── AI の結果は青の基調（2026-09-29 緑ではなく青っぽく。AI解析済みがすぐ分かるように） ─── */
:root { --ai: #2458a8; --ai-2: #4a86d8; --ai-soft: #e4edfb; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-scheme="light"])) { --ai: #a3c2f7; --ai-2: #6f9be6; --ai-soft: #172338; } } /* scheme-mirror */ @media all { :root:where([data-scheme="dark"]) { --ai: #a3c2f7; --ai-2: #6f9be6; --ai-soft: #172338; } }
.nx-block--prep, .nx-block--prep[data-stage] { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai-2) 35%, var(--line)), inset 4px 0 0 var(--ai-2); }
.pr__stage, [data-stage] .pr__stage { background: var(--ai-soft); color: var(--ai); }
.pr-cta { background: linear-gradient(120deg, var(--ai-soft), var(--sheet)); }
.pr-cta__go { background: linear-gradient(120deg, var(--ai), var(--ai-2)); }
.pr-run { background: var(--ai-soft); }
.pr-run__orb { background: conic-gradient(var(--ai), var(--ai-2), transparent 70%); }
.pr-redo, .pr-mini, .pr-calc__out { color: var(--ai); }
.pr-act input, .pr-task input[type=checkbox], .pr-askg input { accent-color: var(--ai); }
.pr-verdict.is-none { background: var(--ai-soft); }
.pr-box { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai-2) 18%, var(--line)); }
.pp-ai { background: linear-gradient(120deg, var(--ai-soft), var(--sheet)); }
.pp-ai__go { background: linear-gradient(120deg, var(--ai), var(--ai-2)); }
.pp-ai__meter i { background: linear-gradient(90deg, var(--ai), var(--ai-2)); }
.pp-ai__count b, .pp-card.is-ai-running::after { color: var(--ai); }
/* カードの札: 青「AI解析済み」＋判定の色 */
.pp-aichip { display: inline-flex; align-items: stretch; padding: 0; overflow: hidden; background: none; box-shadow: inset 0 0 0 1.5px var(--ai-2); }
.pp-aichip__tag { padding: 2px 8px; background: var(--ai); color: #fff; font-weight: 800; }
.pp-aichip__v { padding: 2px 9px; background: var(--sky-soft); color: var(--sky); }
.pp-aichip.is-ok .pp-aichip__v { background: var(--ok-soft); color: var(--ok); } .pp-aichip.is-check .pp-aichip__v { background: var(--warn-soft); color: var(--warn); }
.pp-aichip.is-ng .pp-aichip__v { background: var(--bad-soft); color: var(--bad); }
/* カードを詰める: 照合の札は種類の横、締切は右端 */
.pp-card .nx-deck__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pp-card .pp-fit { margin-right: auto; font-size: 11.5px; padding: 1px 8px; }
.pp-card .pp-facts:empty { display: none; }
.pp-card .pp-meta { padding-bottom: 6px; }

/* ─── 検討中: 履歴・結果（2026-09-29 不落札にしたら消えた。過去の処理を見て、間違えたら戻せるように） ─── */
.pp .nx-judge__head { position: relative; }
/* 10/23 s05 K9: タッチ端末でも検討中から自社の戦績へ進める（台帳10/18）。 */
.pp .nx-crumbs .pp-record { display: inline-flex; align-items: center; margin-left: auto; min-height: 32px; }
@media (max-width: 760px) { .pp .nx-crumbs .pp-record { min-height: 44px; } }
.pp-histbtn { position: absolute; right: 0; bottom: 6px; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 42px; padding: 6px 14px;
  border: 0; border-radius: 12px; background: var(--sheet); color: var(--ink); font: 800 14px var(--f-jp); cursor: pointer; box-shadow: 0 0 0 1px var(--line-2), 0 6px 16px -10px rgba(0,0,0,.35); }
@media (hover: hover) { .pp-histbtn:hover { box-shadow: 0 0 0 1.5px var(--acc-2), 0 6px 16px -10px rgba(0,0,0,.35); } }
.pp-histbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-histbtn__n { font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.pp-histbtn__n.is-res { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 760px) { .pp-histbtn { position: static; margin: 4px 0 8px; } }
.pp-histlink { margin: 18px 0 0; text-align: center; }
.pp-histlink .nx-linkbtn { border: 0; background: none; color: var(--acc); font: 800 13.5px var(--f-jp); cursor: pointer; text-decoration: underline; padding: 8px; }
.pp-hist { width: min(760px, calc(100vw - 24px)); max-height: min(82vh, 820px); padding: 0; border: 0; border-radius: 18px; background: var(--sheet); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.pp-hist[open] { display: flex; flex-direction: column; }
.pp-hist::backdrop { background: rgba(15, 12, 8, .45); }
.pp-hist__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 6px; }
.pp-hist__head h2 { margin: 0; font-size: 18px; }
.pp-hist__x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); font-size: 22px; cursor: pointer; } @media (hover: hover) { .pp-hist__x:hover { background: var(--sheet-2); } }
.pp-hist__tabs { display: flex; gap: 4px; margin: 0 14px; padding: 3px; border-radius: 12px; background: var(--sheet-2); overflow-x: auto; }
.pp-hist__tabs button { flex: 1 0 auto; min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 800 13px var(--f-jp); cursor: pointer; white-space: nowrap; }
.pp-hist__tabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 3px 8px -5px rgba(0,0,0,.3); }
.pp-hist__tabs b { margin-left: 4px; font-family: var(--f-num); }
.pp-hist__body { overflow-y: auto; padding: 10px 18px 18px; }
.pp-hist__note { margin: 4px 0 10px; font-size: 12.5px; color: var(--ink-3); }
.pp-log { list-style: none; margin: 0; padding: 0; }
.pp-log li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.pp-log time { flex: none; width: 86px; font-family: var(--f-num); font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.pp-log__main { flex: 1 1 260px; min-width: 0; display: grid; gap: 3px; }
.pp-log__main a { font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media (hover: hover) { .pp-log__main a:hover { text-decoration: underline; } }
.pp-log__main small { font-size: 11.5px; color: var(--ink-3); }
.pp-log__chg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--ink-3); }
.pp-st { font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.pp-st[data-s="adopt"] { background: var(--acc-soft); color: var(--acc); } .pp-st[data-s="prepare"] { background: var(--warn-soft); color: #b45309; }
.pp-st[data-s="submitted"] { background: var(--sky-soft); color: var(--sky); } .pp-st[data-s="won"] { background: var(--ok-soft); color: var(--ok); }
.pp-st[data-s="lost"] { background: var(--sheet-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); } .pp-st[data-s="skip"] { background: var(--ink-3); color: #fff; }
.pp-res[data-s="skip"] { background: var(--ink-3); }
.pp-log .pp-undo { min-height: 34px; font-size: 12.5px; }
@media (max-width: 760px) { .pp-hist { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 18px 18px 0 0; } .pp-log time { width: auto; } }
/* お知らせの「元に戻す」 */
.nx-toast.is-act { pointer-events: auto; display: flex; align-items: center; gap: 12px; }
.nx-toast__undo { border: 0; border-radius: 999px; padding: 6px 14px; background: #f5efe4; color: #1f1b15; font: 800 13px var(--f-jp); cursor: pointer; white-space: nowrap; }
/* 締切が近い案件も、案件名は黒のまま（2026-09-29 黒文字のほうが見やすい）。色は背景と下の小さな「あとN日」で */
.pp-tl__name.is-hot, .pp-tl__name.is-warn { color: var(--ink); }
/* カードの上の行は1行に（2026-09-29 縦の幅を減らしたい。2行になったら意味がない） */
.pp-card .nx-deck__top { flex-wrap: nowrap; }
.pp-card .nx-deck__top > * { flex: none; }
.pp-card .pp-fit { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-card .pp-left { margin-left: auto; }
.pp-card .nx-deck__top { gap: 4px; }
.pp-card .pp-fit { padding: 1px 6px; }
.pp-card .nx-deck__top .pp-left { padding: 2px 7px; font-size: 11.5px; }
/* 案件ページ: 会議用の資料を作る（2026-09-29） */
.nx-sheetbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--sheet); color: var(--ink); font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 0 0 1px var(--line-2); }
@media (hover: hover) { .nx-sheetbtn:hover { box-shadow: 0 0 0 1.5px var(--acc-2); color: var(--acc); } }
.nx-sheetbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ─── 色の意味（2026-09-29 ）: 資料・印刷＝紫がかったピンク、AI＝濃紺〜青 ─── */
:root { --doc: #8a3aa6; --doc-2: #c8468c; --doc-soft: #f6e8f3; --ai-deep: #102b5f; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-scheme="light"])) { --doc: #c68ad8; --doc-2: #ec84b6; --doc-soft: #2e1a2c; --ai-deep: #16336f; } } /* scheme-mirror */ @media all { :root:where([data-scheme="dark"]) { --doc: #c68ad8; --doc-2: #ec84b6; --doc-soft: #2e1a2c; --ai-deep: #16336f; } }
.nx-case__meta .nx-sheetbtn { order: 99; margin-left: auto; min-height: 40px; padding: 0 18px; color: #fff; font-size: 14px;
  background: linear-gradient(120deg, var(--doc), var(--doc-2)); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--doc-2) 70%, transparent); }
@media (hover: hover) { .nx-case__meta .nx-sheetbtn:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--doc-2) 85%, transparent); } }
/* AI を動かすボタンは濃紺のグラデーション */
.pr-cta__go, .pp-ai__go { background: linear-gradient(120deg, var(--ai-deep), var(--ai)) !important; color: #fff; }
.nx-act[data-intent="luna"] { background: linear-gradient(120deg, var(--ai-deep), var(--ai)) !important; color: #fff !important; }
.nx-act[data-intent="luna"] .nx-act__shape { background: linear-gradient(135deg, #7fb0ff, #fff) !important; }
/* 資料・出力のボタン（紫がかったピンク＝資料・印刷。2026-09-29 ） */
.nx-docbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(120deg, var(--doc), var(--doc-2)); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--doc-2) 70%, transparent); }
@media (hover: hover) { .nx-docbtn:hover { filter: brightness(1.06); color: #fff; } }
.nx-docbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nx-docbtn--quiet { background: var(--doc-soft); color: var(--doc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--doc) 30%, transparent); }
@media (hover: hover) { .nx-docbtn--quiet:hover { color: var(--doc); } }
.nx-dkhead { position: relative; }
.nx-dkhead > .nx-docbtn { position: absolute; top: 0; right: 0; }
.nx-docout { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.nx-docout__t { font-size: 12px; font-weight: 800; color: var(--doc); }
/* 2026-11-13: ログイン後の暗い表示（木目）で --doc #c68ad8 が 3.0〜3.4 */
@media (prefers-color-scheme: dark) { :where(:root[data-paper]:not([data-scheme="light"])) body:not([data-anon]) .nx-docout__t { color: #e8b6f2; } } /* scheme-mirror */ @media all { :where(:root[data-paper][data-scheme="dark"]) body:not([data-anon]) .nx-docout__t { color: #e8b6f2; } }
.nx-docout__note { flex-basis: 100%; font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 760px) { .nx-dkhead > .nx-docbtn { position: static; margin: 0 0 8px; } }
.nx-docout__busy { flex-basis: 100%; font-size: 12px; font-weight: 800; color: var(--doc); }
/* 商品: AI準備済みの説明（上だと固定の見出しに隠れるので下に開く） */
.nx-mtile__ai { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 800; }
.nx-mtile__ai .nx-q::after { bottom: auto; top: calc(100% + 8px); }

/* ─── 右上のアカウントのメニュー（2026-09-29）: まとまりごとに区切る ─── */
.nx-acct--icon > summary { padding: 0; } .nx-acct--icon > summary.nx-proflink { list-style: none; }
.nx-acct__panel { min-width: 250px; max-height: min(78vh, 640px); overflow-y: auto; }
.nx-acct__who { display: grid; gap: 1px; margin: 2px 6px 6px !important; }
.nx-acct__who b { font-size: 13.5px; color: var(--ink); } .nx-acct__who small { font-size: 11.5px; color: var(--ink-3); }
.nx-acct__grp { display: grid; gap: 1px; padding: 4px 0; border-top: 1px solid var(--line); }
.nx-acct__grp.is-small a { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 5px 10px; }
.nx-acct__panel form { border-top: 1px solid var(--line); padding-top: 4px; }
/* ─── 最下部のリンク ─── */
.nx-foot__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; }
.nx-foot__links a { color: var(--ink-2); text-decoration: none; font-size: 12px; } @media (hover: hover) { .nx-foot__links a:hover { text-decoration: underline; color: var(--ink); } }
.nx-foot__copy { margin: 0 0 6px; font-size: 11.5px; } .nx-foot__lab { margin: 0; font-size: 11px; color: var(--ink); }
/* 10/24 R14A-4: 開発の注も紙の模様・端の陰の上で読めるよう、透過させず本文色にそろえる。 */
/* ─── 規約・ヘルプ ─── */
.nx-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 88px; }
.nx-legal__nav { position: sticky; top: 96px; }
.nx-legal__nav ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.nx-legal__nav a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .nx-legal__nav a:hover { background: var(--sheet-2); } } .nx-legal__nav a[aria-current="page"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.nx-legal__doc { max-width: 820px; padding: 28px 32px 36px; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-legal__doc h1 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.nx-legal__lead { margin: 0 0 14px; color: var(--ink-2); }
.nx-legal__draft { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 13px; }
.nx-legal__body { font-size: 14.5px; line-height: 1.9; }
.nx-legal__body section { margin: 0 0 22px; scroll-margin-top: 96px; }
.nx-legal__body h2 { margin: 0 0 8px; padding-bottom: 6px; font-size: 17px; border-bottom: 1px solid var(--line); }
.nx-legal__body h3 { margin: 14px 0 4px; font-size: 15px; }
.nx-legal__body p { margin: 0 0 8px; } .nx-legal__body ol, .nx-legal__body ul { margin: 0 0 8px; padding-left: 1.4em; }
.nx-legal__body table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 6px 0 10px; }
.nx-legal__body th, .nx-legal__body td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.nx-legal__body th { width: 30%; color: var(--ink-2); font-weight: 800; background: var(--sheet-2); }
.nx-legal__body dt { font-weight: 800; margin-top: 8px; } .nx-legal__body dd { margin: 0 0 6px; }
.nx-legal__upd { margin: 20px 0 0; font-size: 12px; color: var(--ink-3); }
/* スマホ・狭い画面の目次は1行の横に動く帯（10/18 第7周 R7A-25: 10個が5行に折れて本文が画面の中ほどから始まった） */
@media (max-width: 900px) { .nx-legal { grid-template-columns: minmax(0, 1fr); padding-top: 76px; } .nx-legal__nav { position: static; } .nx-legal__nav ul { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; } .nx-legal__nav li { flex: none; } .nx-legal__nav a { white-space: nowrap; }
  .nx-legal__doc { padding: 20px 16px 26px; } .nx-legal__body th { width: 36%; } }
/* ─── 通知の設定・お知らせ ─── */
.nt { max-width: 980px; margin: 0 auto; padding-top: 88px; }
.nt-head h1 { margin: 6px 0 4px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.nt-lead { margin: 0 0 16px; color: var(--ink-2); }
.nt-status { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.7; }
.nt-status.is-held { background: var(--warn-soft); color: var(--warn); } .nt-status.is-on { background: var(--ok-soft); color: var(--ok); }
.nt-ok { margin: 0 0 12px; padding: 8px 14px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 13.5px; }
.nt-ok b { display: block; margin-top: 4px; color: var(--warn, #9a5b00); }
.nt-off { margin: 0 0 12px; padding: 8px 14px; border-radius: 10px; background: var(--warn-soft, #fff4e0); color: var(--warn, #9a5b00); font-size: 13.5px; }
.nt-card { margin: 0 0 16px; padding: 16px 18px; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nt-card h2 { margin: 0 0 10px; font-size: 17px; } .nt-card h2 small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.nt-mx { width: 100%; border-collapse: collapse; }
.nt-mx th { text-align: left; font-size: 12px; color: var(--ink-3); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.nt-mx td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.nt-mx td b { display: block; font-size: 14px; } .nt-mx td small { display: block; font-size: 12px; color: var(--ink-3); }
.nt-sw { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.nt-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.nt-sw span[aria-hidden] { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.nt-sw span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s var(--spring); }
.nt-sw input:checked + span[aria-hidden] { background: var(--acc); } .nt-sw input:checked + span[aria-hidden]::after { transform: translateX(18px); }
.nt-sw input:focus-visible + span[aria-hidden] { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.nt-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sheet-2); flex-wrap: wrap; }
.nt-seg label { position: relative; } .nt-seg input { position: absolute; opacity: 0; }
.nt-seg span { display: inline-block; padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); cursor: pointer; }
@media (min-width: 601px) { .nt-seg { flex-wrap: nowrap; } .nt-seg span { white-space: nowrap; } }   /* PC でも「送らない」だけ次の行に落ち、8行とも縦に間延びした（10/18 第7周 R7A-26） */
.nt-seg input:checked + span { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 3px 8px -5px rgba(0,0,0,.3); }
.nt-seg input:focus-visible + span { outline: 2px solid var(--acc-2); }
.nt-row { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 4px 0 10px; }
.nt-field { display: grid; gap: 4px; margin: 0 0 10px; font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nt-fs { border: 0; margin: 0; padding: 0; min-width: 0; } .nt-fs[disabled] { opacity: .6; }   /* メンバーには触れない見た目（R7B-4） */
.nt-inline { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 16px; }
.nt-when { flex-basis: 100%; grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); }   /* 送る時の説明は全幅（狭い列で「その／日」と折れた。10/18 R6D-17） */
.nt-inline .nt-field { min-width: 120px; }
.nt-actions { margin: 0 0 22px; }
.nt-head2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; } .nt-head2 h2 { margin: 0; }
.nt-st { flex: none; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.nt-st[data-s="held"] { background: var(--warn-soft); color: var(--warn); } .nt-st[data-s="sent"] { background: var(--ok-soft); color: var(--ok); } .nt-st[data-s="failed"] { background: var(--bad-soft); color: var(--bad); }
.nx-linkbtn2 { font-size: 12px; color: var(--ink-3); }
.nt-list { list-style: none; margin: 0; padding: 0; border-radius: var(--r-read); background: var(--sheet); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.nt-list li + li { border-top: 1px solid var(--line); }
.nt-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 12px 16px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .nt-list a:hover { background: var(--sheet-2); } } .nt-list small { grid-column: 2; font-size: 12.5px; color: var(--ink-3); } .nt-list time { font-size: 12px; color: var(--ink-3); }
.nt-list .is-unread a { background: color-mix(in srgb, var(--acc-soft) 50%, transparent); } .nt-list .is-unread b::before { content: "● "; color: var(--acc-2); font-size: 10px; vertical-align: 2px; }
.nt-ev { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); white-space: nowrap; }
.nt-ev[data-e="new_match"], .nt-ev[data-e="saved_search"] { background: var(--acc-soft); color: var(--acc); } .nt-ev[data-e="deadline"] { background: var(--bad-soft); color: var(--bad); }
.nt-ev[data-e="ai_done"] { background: var(--ai-soft); color: var(--ai); }
.nt-unsub { max-width: 560px; text-align: center; padding-top: 120px; } .nt-unsub h1 { font-size: 26px; }
/* ─── ベル（お知らせ） ─── */
.nx-ntfwrap { position: relative; }
.nx-ntf__n { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sun); color: #fff; font: 800 10.5px/17px var(--f-num); text-align: center; }
.nx-ntfwin { position: absolute; right: -8px; top: calc(100% + 10px); z-index: 70; width: min(360px, 92vw); padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #dde5e2; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); color: var(--ink); }
.nx-ntfwin[hidden] { display: none; }
.nx-ntfwin header, .nx-ntfwin footer { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; font-size: 13px; }
.nx-ntfwin header button { border: 0; background: none; color: var(--acc); font: 700 12px var(--f-jp); cursor: pointer; }
.nx-ntfwin footer { border-top: 1px solid var(--line); margin-top: 4px; } .nx-ntfwin footer a { color: var(--acc); font-weight: 700; font-size: 12.5px; }
.nx-ntfwin ul { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.nx-ntfwin li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 9px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .nx-ntfwin li a:hover { background: var(--paper-2); } } .nx-ntfwin li .nt-ev { justify-self: start; } .nx-ntfwin li b { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; }
.nx-ntfwin li time { grid-row: 1; grid-column: 2; font-size: 11px; color: var(--ink-3); }
.nx-ntfwin li.is-unread a { background: color-mix(in srgb, var(--acc-soft) 55%, transparent); }
.nx-ntfwin li.is-empty { padding: 16px 10px; color: var(--ink-3); font-size: 13px; text-align: center; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-ntfwin { background: #1b1f28; border-color: rgba(255,255,255,.1); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-ntfwin { background: #1b1f28; border-color: rgba(255,255,255,.1); } }
@media (max-width: 760px) { .nt, .nx-legal { padding-top: 76px; } .nt-mx thead { display: none; } .nt-mx tr { display: grid; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); } .nt-mx td { border: 0; padding: 0; } }
/* 履歴・結果の窓: タブが縮んで下が切れていた（2026-09-29） */
.pp-hist__head, .pp-hist__tabs { flex: none; }
.pp-hist__tabs { overflow-x: auto; overflow-y: hidden; }
.pp-hist__body { flex: 1 1 auto; min-height: 0; }
/* 照合: 表示の切り替え・50件ずつのページ送り（2026-09-29 ） */
.nx-viewsw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sheet-2); margin-left: auto; }
.nx-viewsw a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 9px; color: var(--ink-2); font-weight: 800; font-size: 13px; text-decoration: none; }
.nx-viewsw a[aria-current="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 3px 8px -5px rgba(0,0,0,.3); }
.nx-viewsw svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nx-mpager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 10px 0 14px; }
.nx-mpager > :first-child { justify-self: start; } .nx-mpager > :last-child { justify-self: end; }
.nx-mpager__n { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; }
.nx-mpager--bottom { margin-top: 18px; }
.nx-mlist-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.nx-mlist li[data-lane="skip"] > a { opacity: .75; }
.nx-tier[data-t="skip"] { background: var(--sheet-2); color: var(--ink-3); }
@media (max-width: 760px) { .nx-mpager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nx-mpager__n { grid-column: 1 / -1; grid-row: 1; } }
.nx-pager--top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 0 0 10px; }
.nx-pager--top > :last-child { justify-self: end; } .nx-pager__n { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.nx-expjob { max-width: 720px; } .nx-expjob h1 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 6px; }
.xj-meter { height: 14px; margin: 14px 0 8px; } .xj-n { margin: 0 0 14px; } .xj-n b { font-family: var(--f-num); font-size: 24px; color: var(--acc); }
.nx-docout__scope { font-size: 11.5px; color: var(--ink-3); }
.xj-meter i { background: linear-gradient(90deg, var(--doc), var(--doc-2)) !important; } .xj-n b { color: var(--doc); }
/* 商品: 追加と出力は右側にまとめる（2026-09-30 ） */
.nx-me__side { display: grid; justify-items: end; gap: 10px; }
.nx-me__side .nx-docout { justify-content: flex-end; }
.nx-me__side .nx-docout__note, .nx-me__side .nx-docout__scope, .nx-me__side .nx-docout__busy { text-align: right; }
@media (max-width: 760px) { .nx-me__head { grid-template-columns: minmax(0, 1fr); } .nx-me__side { justify-items: start; } .nx-me__side .nx-docout { justify-content: flex-start; } }
/* CSVで出力（どの一覧でも）: 資料・出力の色（紫がかったピンク） */
.nx-export:not(.is-locked) { color: var(--doc); background: var(--doc-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--doc) 30%, transparent); }
@media (hover: hover) { .nx-export:not(.is-locked):hover { background: color-mix(in srgb, var(--doc-soft) 70%, var(--doc-2) 12%); } }
.nx-export:not(.is-locked) small { color: var(--doc); opacity: .8; }
/* ページ送り（照合・探す、上下とも）: 件数の両隣に文字のリンクで */
.nx-mpager, .nx-mpager--top, .nx-mpager--bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; grid-template-columns: none; }
.nx-mpager__a { color: var(--acc); font-weight: 800; font-size: 13.5px; text-decoration: none; padding: 4px 2px; }
@media (hover: hover) { .nx-mpager__a:hover { text-decoration: underline; } }
.nx-price__seats { display: grid; gap: 2px; margin: 4px 0 8px; padding: 8px 12px; border-radius: 12px; background: var(--acc-soft); }
.nx-price__seats b { color: var(--acc); font-size: 15px; } .nx-price__seats span { font-size: 12.5px; color: var(--ink-2); }
.nx-price__term { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ok); }
/* ─── メンバー（2026-10-03） ─── */
.mb-copy { display: flex; gap: 8px; } .mb-copy input { flex: 1; font-size: 13px; }
.mb-link { box-shadow: 0 0 0 2px var(--acc-2); }
.mb-seat { font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.mb-seat.is-extra { background: var(--warn-soft); color: var(--warn); }
.mb-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-weight: 900; }
.mb-me { margin-left: 6px; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.mb-role { flex: none; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--sheet-2); color: var(--ink-2); }
.mb-role[data-r="admin"] { background: var(--acc-soft); color: var(--acc); }
.mb-sm { min-height: 32px; font-size: 12.5px; } .mb-danger { color: var(--bad); }
.mb-list form { margin: 0; }
.mb-inv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.mb-note { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); } .mb-note.is-extra { color: var(--warn); font-weight: 700; }
.mb-h3 { margin: 16px 0 4px; font-size: 14px; }
.mb-acc { text-align: left; } .mb-accf { display: grid; gap: 4px; margin-top: 12px; } .mb-accf .nx-btn--big { justify-self: start; margin-top: 8px; }
@media (max-width: 760px) { .mb-inv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1012px) { .nt { padding-left: 16px; padding-right: 16px; } }

/* ─── 提出書類の下書き（見積書・提案書。2026-10-03）: AI の青の基調 ─── */
.nx-block--docs { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai-2) 35%, var(--line)), inset 4px 0 0 var(--ai-2); }
.dc__head { cursor: default; } .dc__ai { margin-left: 8px; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--ai); color: #fff; }
.dc__saved { margin-left: auto; font-size: 12px; color: var(--ok); font-weight: 700; }
.dc { display: grid; gap: 12px; }
.dc-guide { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--ai-soft); font-size: 13.5px; } .dc-guide small { color: var(--ink-3); margin-left: 4px; }
.dc-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--sheet-2); width: max-content; max-width: 100%; }
.dc-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 800 13.5px var(--f-jp); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dc-tabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 3px 8px -5px rgba(0,0,0,.3); }
.dc-tabs small { font-size: 10.5px; padding: 0 6px; border-radius: 999px; background: var(--ai-soft); color: var(--ai); }
.dc-basis { margin: 0 0 8px; font-size: 13px; } .dc-basis b { color: var(--ai); }
.dc-head3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 10px; }
.dc-tabwrap { overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.dc-tab { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.dc-tab th { text-align: left; font-size: 11.5px; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--line); background: var(--sheet-2); white-space: nowrap; }
.dc-tab td { padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dc-in { width: 100%; min-height: 32px; border: 0; border-radius: 8px; padding: 4px 8px; background: transparent; font: inherit; font-size: 13px; color: var(--ink); }
.dc-in:focus { background: var(--sheet-2); outline: none; box-shadow: inset 0 0 0 1px var(--line-2); } @media (hover: hover) { .dc-in:hover { background: var(--sheet-2); outline: none; box-shadow: inset 0 0 0 1px var(--line-2); } }
.dc-in.is-num { text-align: right; width: 90px; } .dc-in.is-unit { width: 56px; }
.dc-amt { text-align: right; font-family: var(--f-num); font-weight: 700; padding-top: 10px !important; white-space: nowrap; }
.dc-tab tr.is-noprice .dc-in.is-num:nth-child(1) { } .dc-tab tr.is-noprice td:nth-child(5) .dc-in { background: var(--bad-soft); }
.dc-prod { display: block; padding: 0 8px; font-size: 11px; color: var(--ai); }
.dc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.dc-ohl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); } .dc-oh { width: 80px; }
.dc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; margin-top: 10px; }
.dc h4 { margin: 8px 0 6px; font-size: 13.5px; }
.dc-sum { display: grid; gap: 4px; } .dc-sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 2px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.dc-sum > div:not(.is-bid) > span { white-space: nowrap; }   /* 「合計（税込）」が「合計（税／込）」と折れた（10/18 R6D-15） */
/* 見積書の表（スマホ）: 7列の表で品名・規格が7〜9文字で切れ、数量・単価は画面の外だった（10/18 第6周 R6D-14）→ 1行を1枚のカードに。品名・規格は全幅、数量・単位・単価・金額は下に並べ、欄の名前を添える */
@media (max-width: 600px) {
  .dc-qt { min-width: 0; }
  .dc-qt thead { display: none; }
  .dc-qt tr { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 2px 6px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
  .dc-qt td { display: block; padding: 0; border: 0; min-width: 0; }
  .dc-qt td:nth-child(1), .dc-qt td:nth-child(2) { grid-column: 1 / -1; }
  .dc-qt td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); }
  .dc-qt .dc-in.is-num, .dc-qt .dc-in.is-unit { width: 100%; }
  .dc-qt td.dc-amt { align-self: end; padding-bottom: 6px; font-family: var(--f-num); text-align: right; }
  .dc-qt td:last-child { align-self: end; }
}
.dc-sum b { font-family: var(--f-num); } .dc-sum .is-total b { font-size: 18px; color: var(--ink); }
.dc-sum .is-bid { flex-wrap: wrap; margin-top: 6px; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--ai-soft); }
.dc-sum .is-bid b { color: var(--ai); font-size: 16px; } .dc-sum .is-bid small { flex-basis: 100%; font-size: 11.5px; color: var(--ink-3); }
.dc-warn { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.dc-warn li { padding: 6px 10px; border-radius: 9px; background: var(--sheet-2); } .dc-warn .is-bad { background: var(--bad-soft); color: var(--bad); }
.dc-warn .is-warn { background: var(--warn-soft); color: var(--warn); } .dc-warn .is-ok { background: var(--ok-soft); color: var(--ok); }
.dc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.dc-fmt { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 6px; margin: 0 0 4px; }
.dc-fmt > div { padding: 6px 10px; border-radius: 10px; background: var(--sheet-2); } .dc-fmt dt { font-size: 11px; color: var(--ink-3); font-weight: 800; } .dc-fmt dd { margin: 0; font-size: 13px; }
.dc-cov__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .dc-cov__top b { font-size: 15px; color: var(--ai); }
.dc-meter { flex: 1; max-width: 320px; height: 10px; border-radius: 999px; background: var(--sheet-2); overflow: hidden; } .dc-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--ai-deep), var(--ai-2)); }
.dc-crit { width: 100%; border-collapse: collapse; font-size: 12.5px; } .dc-crit td { padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dc-crit td small { display: block; color: var(--ink-3); font-size: 11.5px; } .dc-crit td.r { text-align: right; white-space: nowrap; font-weight: 800; }
.dc-crit tr.is-weak td { background: color-mix(in srgb, var(--bad-soft) 60%, transparent); } .dc-crit tr.is-weak td:last-child { color: var(--bad); font-weight: 800; }
.dc-sec { padding: 10px 12px; border-radius: 12px; background: var(--sheet); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai-2) 18%, var(--line)); margin-bottom: 8px; }
.dc-sec.is-noev { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bad) 45%, transparent); }
.dc-sec__h { display: flex; align-items: center; gap: 8px; } .dc-no { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ai); color: #fff; font-size: 12px; font-weight: 800; }
.dc-st { font-weight: 800; } .dc-ta { width: 100%; margin-top: 6px; font-size: 13.5px; line-height: 1.75; }
.dc-fill { flex: none; font-size: 11.5px; font-weight: 800; } .dc-fill.is-on { padding: 1px 8px; border-radius: 999px; background: var(--bad-soft); color: var(--bad); }
.dc-crit-tag { margin: 4px 0 0; font-size: 11.5px; font-weight: 800; color: var(--ai); }
.dc-ev { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .dc-evt { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--ai-soft); color: var(--ai); }
.dc-evt[data-k="一般的な進め方"] { background: var(--sheet-2); color: var(--ink-2); } .dc-evt.is-none { background: var(--bad-soft); color: var(--bad); font-weight: 800; }
.dc-todo { margin: 6px 0 0; padding-left: 1.2em; font-size: 12.5px; color: var(--warn); }
.dc-mx tr.is-ok td:last-child select { color: var(--ok); font-weight: 800; } .dc-mx tr.is-check td:last-child select { color: var(--bad); font-weight: 800; } .dc-mx tr.is-ng td { background: var(--bad-soft); }
@media (max-width: 760px) { .dc-head3, .dc-split { grid-template-columns: minmax(0, 1fr); } .dc-tabs { width: auto; } }
.dc-cands { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 2px 8px 4px; } .dc-cands small { font-size: 11px; color: var(--ink-3); }
.dc-cand { border: 0; border-radius: 999px; padding: 2px 9px; background: var(--ai-soft); color: var(--ai); font: 700 11.5px var(--f-jp); cursor: pointer; }
@media (hover: hover) { .dc-cand:hover { box-shadow: inset 0 0 0 1px var(--ai-2); } }
.dc-newer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 700; }
/* ─── 軽い表示（2026-10-03）: ぼかし・背景の動き・画面の切り替えの動きを止め、普通の色の板に ─── */
.nx-lite *, .nx-lite *::before, .nx-lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nx-lite { --lq-tint: var(--sheet); }
.nx-lite .lq, .nx-lite .nx-top, .nx-lite .nx-tabbar, .nx-lite .nx-acct__panel, .nx-lite .nx-bellwin, .nx-lite .nx-ntfwin { background: var(--sheet) !important; }
/* 暗い空の上（はじめのページなど）は文字が白いので、軽い表示でも暗い地のままにする（10/4: 白地に白い文字になっていた） */
.nx-lite.nx-on-sky .nx-bar.lq { background: rgba(14, 18, 34, .94) !important; }
.nx-lite ::view-transition-group(*), .nx-lite ::view-transition-old(*), .nx-lite ::view-transition-new(*) { animation: none !important; }
.nx-lite .nx-assemble { transition: none !important; opacity: 1 !important; transform: none !important; }
.nx-litebtn { display: flex !important; justify-content: space-between; align-items: center; }
.nx-litebtn__st { font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.nx-litebtn[aria-pressed="true"] .nx-litebtn__st { color: var(--ok); }

/* ─── 名前とロゴ（2026-10-04）: Polaris｜入札観測サービス（北極星）。有料プランは Polaris Pro ─── */
.nx-mark { flex: none; display: block; filter: drop-shadow(0 6px 14px rgba(16, 43, 95, .18)); }
.nx-brand__name.is-free { font-family: var(--f-jp); font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.nx-brand__name.is-paid { display: grid; line-height: 1; font-family: var(--f-num); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.nx-brand__name.is-paid > span { display: inline-flex; align-items: center; gap: 5px; }
.nx-pro { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; color: #fff; background: linear-gradient(120deg, var(--ai-deep), var(--ai)); }
.nx-brand__name.is-paid small { margin-top: 2px; font-family: var(--f-jp); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); }
.nx-on-sky .nx-brand__name.is-paid small { color: rgba(251, 246, 236, .72); }   /* 暗い空の上ではサブタイトルを明るく */
.nx-polaris-btn { background: linear-gradient(120deg, var(--ai-deep), var(--ai)) !important; color: #fff !important; }
.nx-wel__brand { display: inline-flex !important; align-items: center; gap: 8px; font-size: 15px !important; letter-spacing: .1em; }
.nx-wel__polaris { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 18px 0 10px; padding: 14px 16px; border-radius: 18px; max-width: 760px;
  background: color-mix(in srgb, #102b5f 72%, transparent); color: #eef3fb; box-shadow: 0 0 0 1px rgba(160, 196, 255, .25); }
.nx-wel__polaris > div { flex: 1 1 320px; display: grid; gap: 4px; } .nx-wel__polaris b { font-size: 16px; } .nx-wel__polaris span { font-size: 13px; line-height: 1.7; opacity: .92; }
.nx-anoncta .nx-mark { margin-right: 4px; }
.nx-price__brand { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; } .nx-price__brand small { flex-basis: 100%; font-size: 12px; font-weight: 700; color: var(--ink-3); }

/* 2026-10-04 スマホの指摘: (1) ダークモードでヘッダーの「Polaris」「ログイン」が暗い地に暗い字で見えない（.lq の文字色が固定だった）
   (2) 390px 前後で「Polaris Pro を始める」がヘッダーの枠から右にはみ出す → 狭い画面では「Pro を始める」に縮める */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar.lq { color: #f2ede3; } :where(:root:not([data-scheme="light"])) .nx-bar.lq .nx-brand__name.is-paid small { color: rgba(242, 237, 227, .7); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-bar.lq { color: #f2ede3; } :where(:root[data-scheme="dark"]) .nx-bar.lq .nx-brand__name.is-paid small { color: rgba(242, 237, 227, .7); } }
.nx-start__short { display: none; }
@media (max-width: 440px) { .nx-start__long, .nx-start__brand { display: none; } .nx-start__short { display: inline; } .nx-start { padding-inline: 14px !important; } }
/* ロゴ E の紺のピンは、暗い地（空の上・紺の箱・ダークモード）では沈むので明るい青にする */
.nx-on-sky .nx-mark__pin, .nx-wel__polaris .nx-mark__pin, .nx-wel__brand .nx-mark__pin { fill: #2f6fd0; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-mark__pin { fill: #2f6fd0; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-mark__pin { fill: #2f6fd0; } }
/* ─── Polaris Pro でできること（使う順・画像つき）2026-10-04 ─── */
.nx-proflow { max-width: 1120px; margin: 56px auto 24px; padding: 0 16px; }
.nx-proflow__head { text-align: center; margin-bottom: 28px; }
.nx-proflow__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--ai, #2f6fd0); }
.nx-proflow__head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35; }
.nx-proflow__lead { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.nx-proflow__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.nx-proflow__list::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--ai-deep, #102b5f), var(--ai, #2f6fd0) 60%, transparent); opacity: .35; }
.nx-proflow__step { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; padding-left: 52px; }
.nx-proflow__text h3 { margin: 4px 0 8px; font-size: 19px; line-height: 1.45; }
.nx-proflow__text p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.nx-proflow__when { display: flex; align-items: center; gap: 10px; font-size: 12.5px !important; font-weight: 800; letter-spacing: .08em; color: var(--ai, #2f6fd0) !important; }
.nx-proflow__when b { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--f-num); font-size: 14px; color: #fff; background: linear-gradient(140deg, var(--ai-deep, #102b5f), var(--ai, #2f6fd0)); box-shadow: 0 6px 16px -6px rgba(16, 43, 95, .55); }
.nx-proflow__shot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--sheet); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 18px 40px -22px rgba(16, 43, 95, .45); max-height: 340px; }
.nx-proflow__shot img { display: block; width: 100%; height: auto; }
.nx-proflow__shot.is-fade { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.nx-proflow__shot.is-mail { -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); background: #f3f0ea; }
.nx-proflow__free { margin: 32px 0 0; padding: 16px 20px; border-radius: 16px; font-size: 14px; line-height: 1.8; text-align: center;
  background: color-mix(in srgb, var(--ai, #2f6fd0) 9%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai, #2f6fd0) 22%, transparent); }
@media (max-width: 760px) {
  .nx-proflow__step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 48px; align-items: start; }
  .nx-proflow__when b { top: 12px; transform: none; width: 34px; height: 34px; font-size: 13px; }
  .nx-proflow__list::before { left: 16px; }
  .nx-proflow__shot { max-height: 260px; }
}
/* ─── Polaris Pro でできること（一目で分かる一覧）2026-10-04 ─── */
.nx-prochk { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nx-prochk__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.nx-prochk__list li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); }
.nx-prochk__ic { flex: none; }
.nx-prochk__ic circle { fill: color-mix(in srgb, var(--ai, #2f6fd0) 14%, transparent); }
.nx-prochk__ic path { fill: none; stroke: var(--ai, #2f6fd0); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nx-prochk__list b { display: block; font-size: 16px; line-height: 1.4; }
.nx-prochk__list small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 640px) { .nx-prochk__list { grid-template-columns: minmax(0, 1fr); gap: 0; } .nx-prochk__list b { font-size: 15px; } }
/* ─── 営業担当の1日で見る Polaris Pro（図にした画面＋1回だけの動き）2026-10-04 ─── */
.ps { max-width: 1080px; margin: 64px auto 24px; padding: 0 16px; --ps-ai: var(--ai, #2f6fd0); --ps-deep: var(--ai-deep, #102b5f); }
.ps__head { text-align: center; margin-bottom: 36px; }
.ps__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--ps-ai); }
.ps__head h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; }
.ps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.ps__scene { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.ps__scene:nth-child(even) .ps__copy { order: 2; }
.ps__time { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-family: var(--f-num); font-weight: 800; font-size: 30px; letter-spacing: -.02em; color: var(--ps-deep); }
.ps__time span { font-family: var(--f-jp); font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--ink-3); }
.ps__copy h3 { margin: 0 0 14px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.45; }
.ps__now { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.ps__ba { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 14px; }
.ps__ba s { color: var(--ink-3); text-decoration-thickness: 1.5px; }
.ps__ba s::after { content: "→"; display: inline-block; margin-left: 10px; text-decoration: none; color: var(--ps-ai); }
.ps__ba b { padding: 3px 10px; border-radius: 999px; color: #fff; background: linear-gradient(120deg, var(--ps-deep), var(--ps-ai)); }
.ps__art { position: relative; display: grid; place-items: center; min-height: 300px; padding: 22px; border-radius: 26px;
  background: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--ps-ai) 16%, transparent), transparent 60%), color-mix(in srgb, var(--ps-ai) 5%, var(--sheet));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ps-ai) 14%, transparent); overflow: hidden; }
/* 共通の部品 */
.ps-win, .ps-phone, .ps-sheet, .ps-read, .ps-docs { position: relative; font-size: 12px; color: var(--ink); }
.ps-win { width: min(460px, 100%); border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 48px -26px rgba(16,43,95,.5); overflow: hidden; }
.ps-win__bar { display: flex; gap: 5px; padding: 9px 12px; background: color-mix(in srgb, var(--ink) 5%, var(--sheet)); }
.ps-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); }
.ps-phone { width: 230px; height: 300px; padding: 10px; border-radius: 30px; background: #0f1830; box-shadow: 0 24px 48px -22px rgba(16,43,95,.6); overflow: hidden; }
.ps-phone__bar { display: flex; justify-content: center; padding: 4px 0 10px; color: #dfe6f5; font-family: var(--f-num); font-weight: 700; font-size: 13px; }
.ps-ntf { display: flex; gap: 8px; align-items: center; padding: 9px 10px; margin-bottom: 7px; border-radius: 14px; background: rgba(255,255,255,.92); color: #111; }
.ps-ntf.is-dim { opacity: .55; }
.ps-ntf b { display: block; font-size: 11.5px; } .ps-ntf span { display: block; font-size: 10.5px; color: #555; }
.ps-ntf__ic { flex: none; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(140deg, var(--ps-deep), var(--ps-ai)); } .ps-ntf__ic.is-grey { background: #9aa3b2; }
.ps-mail { margin-top: 8px; padding: 10px; border-radius: 14px; background: #fff; color: #111; }
.ps-mail__h { margin: 0 0 6px; font-weight: 800; font-size: 11.5px; color: var(--ps-deep); }
.ps-row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 5px 0; border-top: 1px solid #eee; font-size: 10.5px; }
.ps-row em { font-style: normal; font-weight: 800; color: #0f766e; }
.ps-read { display: flex; align-items: center; gap: 14px; width: min(480px, 100%); }
.ps-pages { position: relative; flex: none; width: 92px; height: 120px; }
.ps-pages i { position: absolute; inset: 0; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.3);
  background-image: repeating-linear-gradient(#fff 0 10px, #e9edf3 10px 12px); background-size: 70% 100%; background-repeat: no-repeat; background-position: 12px 14px; }
.ps-pages i:nth-child(1) { transform: translate(-8px, 8px) rotate(-6deg); } .ps-pages i:nth-child(2) { transform: translate(-4px, 4px) rotate(-3deg); }
.ps-pages i:nth-child(4) { transform: translate(4px, -3px) rotate(2deg); } .ps-pages i:nth-child(5) { transform: translate(8px, -6px) rotate(4deg); }
.ps-pages span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.ps-arrow { flex: none; width: 34px; height: 2px; background: var(--ps-ai); position: relative; }
.ps-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--ps-ai); }
.ps-sum { flex: 1; padding: 12px 14px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ps-ai) 25%, transparent), 0 18px 36px -24px rgba(16,43,95,.5); }
.ps-sum__t { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--ps-ai); }
.ps-line { margin: 0; padding: 5px 0; font-size: 12px; line-height: 1.5; border-top: 1px dashed color-mix(in srgb, var(--ink) 12%, transparent); }
.ps-line b { display: inline-block; min-width: 4.2em; margin-right: 6px; color: var(--ps-deep); }
.ps-rank { padding: 12px 14px 14px; display: grid; gap: 10px; }
.ps-rk { display: grid; grid-template-columns: minmax(0, 1fr) 90px 38px; gap: 4px 10px; align-items: center; }
.ps-rk__t { font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-rk em { font-style: normal; font-family: var(--f-num); font-weight: 800; color: #0f766e; text-align: right; }
.ps-rk small { grid-column: 1 / -1; font-size: 10.5px; color: var(--ink-3); } .ps-rk small.is-ok { color: #0f766e; }
.ps-bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #14b8a6, #0f766e); }
.ps-cal { padding: 10px 12px 12px; }
.ps-cal__days { display: grid; grid-template-columns: 92px repeat(14, minmax(0, 1fr)); font-family: var(--f-num); font-size: 9.5px; color: var(--ink-3); text-align: center; }
.ps-cal__days::before { content: ""; }
.ps-cal__row { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; height: 30px; border-top: 1px solid color-mix(in srgb, var(--ink) 7%, transparent); }
.ps-cal__row span { font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-cal__row .ps-dot { position: absolute; left: calc(92px + (100% - 92px) * (var(--x) - .5) / 14 - 7px); top: 8px; }
.ps-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; } .ps-dot.is-mo { background: #c2410c; } .ps-dot.is-q { background: #0f766e; } .ps-dot.is-bid { background: #b91c1c; }
.ps-cal__key { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 10.5px; color: var(--ink-3); } .ps-cal__key .ps-dot { width: 9px; height: 9px; margin-left: 6px; }
.ps-sheet { width: min(330px, 100%); padding: 18px 18px 22px; border-radius: 6px; background: #fff; color: #111; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 26px 50px -26px rgba(16,43,95,.55); }
.ps-sheet__k { margin: 0; font-size: 10px; font-weight: 800; color: #1d4ed8; border-bottom: 2px solid #111; padding-bottom: 4px; }
.ps-sheet__t { margin: 8px 0; font-size: 14px; font-weight: 800; }
.ps-sheet__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #ddd; border-radius: 6px; margin-bottom: 10px; }
.ps-sheet__cells span { padding: 6px; font-weight: 800; font-size: 11px; border-left: 1px solid #eee; } .ps-sheet__cells span:first-child { border-left: 0; }
.ps-sheet__cells small { display: block; font-size: 8.5px; color: #888; }
.ps-sheet__l { height: 7px; margin: 6px 0; border-radius: 4px; background: #e9edf3; } .ps-sheet__l.is-s { width: 70%; }
.ps-pdf { position: absolute; right: -10px; bottom: -10px; padding: 6px 10px; border-radius: 10px; font-weight: 800; font-size: 11px; color: #fff; background: linear-gradient(120deg, var(--doc, #8a3aa6), var(--doc-2, #c8468c)); box-shadow: 0 10px 20px -10px rgba(138,58,166,.8); }
.ps-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: min(480px, 100%); }
.ps-xls, .ps-doc { padding: 12px; border-radius: 10px; background: #fff; color: #111; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 20px 40px -24px rgba(16,43,95,.5); }
.ps-docs__k { display: inline-block; margin: 0 0 8px; padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 800; color: #fff; }
.ps-docs__k.is-x { background: #15803d; } .ps-docs__k.is-w { background: #1d4ed8; }
.ps-xr { display: grid; grid-template-columns: minmax(0, 1fr) 30px 46px; gap: 4px; margin: 0; padding: 5px 0; font-size: 10.5px; border-top: 1px solid #eee; }
.ps-xr span:nth-child(n+2) { text-align: right; font-family: var(--f-num); } .ps-xr.is-h { font-weight: 800; color: #666; border-top: 0; }
.ps-ch { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 0; font-size: 11px; font-weight: 700; border-top: 1px solid #eee; }
.ps-ch b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; font-size: 9.5px; color: #fff; background: #1d4ed8; }
.ps-ch em { margin-left: auto; font-style: normal; font-size: 9.5px; color: #1d4ed8; }
/* 動き: 画面に入ったら1回だけ。入る前は少し下で薄く */
.ps__scene .ps-a1, .ps__scene .ps-a2, .ps__scene .ps-a3 { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease, ease), transform .5s var(--ease, ease); }
.ps__scene.is-in .ps-a1 { opacity: 1; transform: none; transition-delay: .15s; }
.ps__scene.is-in .ps-a2 { opacity: 1; transform: none; transition-delay: .55s; }
.ps__scene.is-in .ps-a3 { opacity: 1; transform: none; transition-delay: .95s; }
.ps__scene.is-in .ps-ntf.is-dim { opacity: .55; }
.ps__scene .ps-bar i { width: 0; transition: width 1s var(--ease, ease) .4s; } .ps__scene.is-in .ps-bar i { width: var(--w); }
.ps__scene .ps-pages i { transition: transform .8s var(--ease, ease) .2s; }
.ps__scene.is-in .ps-pages i { transform: translate(0, 0) rotate(0) scale(.92); }
.ps__scene .ps-dot { transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); } .ps__scene.is-in .ps-dot { transform: none; }
.ps__scene.is-in .ps-cal__row.ps-a2 .ps-dot { transition-delay: .7s; } .ps__scene.is-in .ps-cal__row.ps-a3 .ps-dot { transition-delay: 1.1s; } .ps__scene.is-in .ps-cal__row.ps-a1 .ps-dot { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .ps__scene * { transition: none !important; } }
@media (max-width: 760px) {
  .ps__list { gap: 44px; }
  .ps__scene { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ps__scene:nth-child(even) .ps__copy { order: 0; }
  .ps__art { min-height: 0; padding: 18px 12px; }
  .ps__time { font-size: 26px; }
  .ps-docs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
}
/* ─── Polaris Pro の紹介ページ（/next/pro）2026-10-04。本文16px以上・行間ゆったり（30〜60代の読みやすさ） ─── */
.pp-page { padding-bottom: 40px; }
/* 紹介の「← 戻る」は料金と同じく本文の左上に（2026-10-16 デバッグ anon-12: 上の帯の外の左上の隅 (0,0) に出ていた） */
.pp-page { position: relative; }
.pp-page > .nx-back { position: absolute; z-index: 3; top: 96px; left: max(16px, calc((100% - 1080px) / 2)); }
.pp-hero { max-width: 1040px; margin: 0 auto; padding: 120px 16px 40px; text-align: center; }
.pp-hero__k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--f-num); font-weight: 800; font-size: 17px; color: var(--ai-deep, #102b5f); }
.pp-hero h1 { margin: 0; font-size: clamp(30px, 5vw, 54px); line-height: 1.3; letter-spacing: -.01em; }
.pp-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--ai-deep, #102b5f), var(--ai, #2f6fd0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-hero__lead { max-width: 640px; margin: 18px auto 0; font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.pp-hero__buy { display: inline-grid; justify-items: center; gap: 10px; margin-top: 28px; padding: 22px 28px; border-radius: 24px; background: var(--sheet);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai, #2f6fd0) 16%, transparent), 0 24px 50px -30px rgba(16, 43, 95, .45); }
.pp-price { margin: 0; display: flex; align-items: baseline; gap: 6px; } .pp-price b { font-family: var(--f-num); font-size: 44px; letter-spacing: -.03em; } .pp-price span { font-size: 15px; font-weight: 700; }
.pp-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.pp-terms li::before { content: "✓ "; color: var(--ok, #0f766e); font-weight: 800; }
.pp-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 8px 0 0; }
.pp-sub { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.pp-li-note { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.pp-trialnote { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); }   /* お試しの決まった一文（台帳 10/13） */
.pp-h2 { margin: 0 0 18px; text-align: center; font-size: clamp(22px, 3vw, 30px); }
.pp-checks { margin: 36px auto 0; }
.pp-trust { max-width: 1080px; margin: 72px auto 0; padding: 0 16px; }
.pp-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-trust__grid article { padding: 18px; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.pp-trust__grid h3 { margin: 6px 0 6px; font-size: 16px; } .pp-trust__grid p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.pp-num { font-family: var(--f-num); font-weight: 800; font-size: 30px !important; color: var(--ai-deep, #102b5f) !important; } .pp-num small { font-size: 14px; margin-left: 2px; }
.pp-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: 18px !important; color: var(--ai, #2f6fd0) !important; background: color-mix(in srgb, var(--ai, #2f6fd0) 12%, transparent); }
.pp-trust__free { margin: 18px 0 0; text-align: center; font-size: 15.5px; }
.pp-end { max-width: 760px; margin: 72px auto 0; padding: 36px 20px; text-align: center; border-radius: 28px; color: #eef3fb;
  background: radial-gradient(120% 120% at 20% 0%, #2f6fd0 0%, #102b5f 55%, #0b1b3d 100%); }
.pp-end h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); } .pp-end p { margin: 0; font-size: 16px; line-height: 1.8; }
.pp-end .pp-sub { color: #dbe6ff; } .pp-end .pp-cta { margin-top: 18px; }
.pp-end .nx-polaris-btn { background: #fff !important; color: #102b5f !important; }
.pp-end .nx-btn--ghost.nx-btn--big { color: #eef3fb; box-shadow: inset 0 0 0 1.5px rgba(238,243,251,.45); }   /* 2026-11-13: 紺の帯の上の「見本の会社で試す」が比 1.4 */
.pp-note { margin-top: 16px !important; font-size: 12.5px !important; opacity: .75; }
.pp-welchk { max-width: 1080px; margin: 56px auto 8px; padding: 0 16px; }
.pp-welchk__more { margin: 16px 0 0; text-align: center; font-size: 16px; font-weight: 800; } .pp-welchk__more a { color: var(--ai, #2f6fd0); }
.ps__now, .ps__ba { font-size: 16px !important; }
@media (max-width: 900px) { .pp-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pp-hero { padding-top: 100px; } .pp-hero__buy { padding: 18px 16px; width: 100%; box-sizing: border-box; } .pp-trust__grid { grid-template-columns: minmax(0, 1fr); } .pp-hero__lead { font-size: 16px; } }
/* 図の横に添える実際の画面（小さく・押すと大きく） */
.ps-real { display: block; margin-top: 16px; max-width: 360px; text-decoration: none; color: var(--ink-3); }
.ps-real img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: cover; object-position: top left; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 30px -20px rgba(16,43,95,.5); transition: transform .2s var(--ease, ease); }
@media (hover: hover) { .ps-real:hover img { transform: translateY(-2px); } }
.ps-real span { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; }
@media (max-width: 760px) { .ps-real { max-width: 100%; } }
/* 時刻の代わりに番号（10/4 時刻は出さない）。場面と場面のあいだに下向きの矢印で導線 */
.ps__step { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: .1em; color: var(--ai, #2f6fd0); }
.ps__step b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--f-num); font-size: 17px; letter-spacing: 0; color: #fff;
  background: linear-gradient(140deg, var(--ai-deep, #102b5f), var(--ai, #2f6fd0)); box-shadow: 0 8px 18px -8px rgba(16, 43, 95, .6); }
.ps__scene { position: relative; }
.ps__scene + .ps__scene::before { content: ""; position: absolute; left: 50%; top: -44px; width: 2px; height: 30px; transform: translateX(-50%);
  background: linear-gradient(transparent, color-mix(in srgb, var(--ai, #2f6fd0) 60%, transparent)); }
.ps__scene + .ps__scene::after { content: ""; position: absolute; left: 50%; top: -16px; transform: translateX(-50%); border: 7px solid transparent; border-top-color: color-mix(in srgb, var(--ai, #2f6fd0) 70%, transparent); }
.ps-reals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 16px; max-width: 460px; }
.ps-reals .ps-real { margin-top: 0; }
@media (max-width: 760px) { .ps__scene + .ps__scene::before { top: -36px; height: 22px; } .ps__scene + .ps__scene::after { top: -14px; } }
/* ロゴ B の紺の輪と方位の印は、暗い地・ダークモードでは明るくする */
.nx-on-sky .nx-mark__dk, .nx-wel__polaris .nx-mark__dk, .nx-wel__brand .nx-mark__dk, .pp-end .nx-mark__dk { stroke: #9cc3ff; fill: #9cc3ff; }
.nx-on-sky circle.nx-mark__dk, .nx-wel__polaris circle.nx-mark__dk, .nx-wel__brand circle.nx-mark__dk { fill: none; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) path.nx-mark__dk { fill: #9cc3ff; } :where(:root:not([data-scheme="light"])) circle.nx-mark__dk { stroke: #9cc3ff; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) path.nx-mark__dk { fill: #9cc3ff; } :where(:root[data-scheme="dark"]) circle.nx-mark__dk { stroke: #9cc3ff; } }
/* ─── サイトの文字を直すモード（2026-10-04） ─── */
.nxt-bar { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; max-width: calc(100vw - 24px);
  padding: 10px 16px; border-radius: 16px; font-size: 14px; color: #fff; background: #8a3aa6; box-shadow: 0 16px 36px -12px rgba(0,0,0,.45); }
.nxt-bar span { opacity: .85; font-size: 13px; } .nxt-bar a { color: #fff; font-weight: 800; } .nxt-bar a.is-end { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); text-decoration: none; }
.nxt-on body * { cursor: text; }
.nxt-on .nxt-target { outline: 2px solid #c8468c; outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) { .nxt-on main :is(h1,h2,h3,p,span,b,a,li,small,em,th,td,button,label,dt,dd):hover { outline: 1px dashed rgba(200,70,140,.6); outline-offset: 2px; } }
.nxt-pop { position: absolute; z-index: 10000; width: min(420px, calc(100vw - 16px)); padding: 14px; border-radius: 14px; background: #fff; color: #1c1c1e; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 48px -16px rgba(0,0,0,.4); }
.nxt-pop * { cursor: auto; }
.nxt-pop__h { margin: 0 0 8px; font-weight: 800; font-size: 14px; color: #8a3aa6; }
.nxt-pop__o { margin: 0 0 8px; font-size: 12.5px; color: #666; }
.nxt-pop textarea { width: 100%; box-sizing: border-box; padding: 10px; border-radius: 10px; border: 1px solid #ccc; font: inherit; font-size: 16px; line-height: 1.6; color: #111; background: #fff; }
.nxt-pop__n { margin: 6px 0 10px; font-size: 12px; color: #777; }
.nxt-pop__b { display: flex; flex-wrap: wrap; gap: 8px; }
.nxt-pop__b button { padding: 8px 14px; border-radius: 999px; border: 0; font-weight: 800; font-size: 14px; cursor: pointer; background: #f1eef3; color: #333; }
.nxt-pop__b .is-save { color: #fff; background: linear-gradient(120deg, #8a3aa6, #c8468c); }
.nxt-toast { position: fixed; left: 50%; top: 90px; transform: translateX(-50%); z-index: 10001; padding: 10px 18px; border-radius: 999px; color: #fff; background: #1c1c1e; font-weight: 700; font-size: 14px; }
.nxt-page__mode { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; } .nxt-page__on { color: #8a3aa6; }
.nxt-page__note { font-size: 13px; }
.nxt-sec { margin-top: 28px; } .nxt-sec h2 { font-size: 18px; margin: 0 0 10px; }
.nxt-table { width: 100%; border-collapse: collapse; font-size: 14px; } .nxt-table th { text-align: left; font-size: 12.5px; color: var(--ink-3); padding: 6px; }
.nxt-table td { padding: 8px 6px; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); vertical-align: top; }
.nxt-table textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--sheet); color: var(--ink); }
.nxt-orig { color: var(--ink-2); max-width: 280px; } .nxt-at { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.nxt-act { display: flex; flex-direction: column; gap: 6px; }
.nxt-log { list-style: none; margin: 0; padding: 0; } .nxt-log li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); font-size: 14px; }
.nxt-chg { flex: 1 1 300px; }
@media (max-width: 640px) { .nxt-table thead { display: none; } .nxt-table tr { display: grid; gap: 4px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent); } .nxt-table td { border: 0; padding: 2px 0; } .nxt-act { flex-direction: row; } }
/* ─── 結果が出た案件（落札・契約の結果とつないだもの）2026-10-04 ─── */
.nx-award { display: grid; gap: 8px; margin: 0 0 16px; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, #0f766e 8%, var(--sheet));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #0f766e 28%, transparent); }
.nx-award.is-fail { background: color-mix(in srgb, #b45309 8%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #b45309 30%, transparent); }
.nx-award__k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #0f766e; } .nx-award.is-fail .nx-award__k { color: #b45309; }
.nx-award__v { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 15px; } .nx-award__v b { font-size: 20px; }
.nx-award .nx-btn { justify-self: start; }
.nx-award__n { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.nx-mk.is-result { font-weight: 800; color: #fff; background: #0f766e; box-shadow: none; } .nx-mk.is-result.is-fail { background: #b45309; } .nx-mk.is-result.is-open { background: #64748b; }
.pp-left.is-result { color: #fff; background: #0f766e; } .pp-left.is-result.is-fail { background: #b45309; }
.nh-case-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 16px; }

/* 掲載終了（官公需ポータル。結果ではない）は灰色で控えめに */
.nx-award.is-gone { background: color-mix(in srgb, var(--ink) 4%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
.nx-award.is-gone .nx-award__k { color: var(--ink-2); }
.nx-mk.is-result.is-gone { color: var(--ink-2); background: color-mix(in srgb, var(--ink) 10%, transparent); font-weight: 700; }
.pp-left.is-result.is-gone { color: var(--ink-2); background: color-mix(in srgb, var(--ink) 10%, transparent); }

.nx-ended-sw { font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }

.pp-resnote { margin: 6px 0 0; padding: 7px 10px; border-radius: 10px; font-size: 13px; line-height: 1.6; background: color-mix(in srgb, #0f766e 9%, var(--sheet)); }
.pp-resnote.is-fail { background: color-mix(in srgb, #b45309 9%, var(--sheet)); } .pp-resnote a { font-weight: 700; }

.pp-card .pp-resnote { margin: 6px 14px 0; }
.pp-card .nx-mk.is-result { display: none; }   /* 上の「結果: 落札済み」と二重にしない */

.nx-award.is-retender { background: color-mix(in srgb, var(--ai, #2f6fd0) 9%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai, #2f6fd0) 30%, transparent); }
.nx-award.is-retender .nx-award__k { color: var(--ai, #2f6fd0); }

.nx-openonly { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; } .nx-openonly input { width: 18px; height: 18px; accent-color: #0f766e; }

/* 検証環境（shadow）の帯（2026-10-05） */
.nx-envbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; padding: 6px 12px; text-align: center; font-size: 13px; font-weight: 800; color: #fff; background: #b45309; }

/* ─── 探す: 一覧を多く見せる（2026-10-08 条件は上部の小さな帯に、文字を小さく、一覧に場所を） ─── */
.nx-searchpage--top { margin-top: -6px; }
.nx-stool { display: grid; gap: 8px; padding: 10px 12px; margin: 0 0 10px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-stool__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.nx-stool__h { margin: 0 4px 0 2px; font-size: 18px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.nx-stool .nx-qbox { flex: 1 1 320px; min-width: 0; padding: 3px 3px 3px 12px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); gap: 8px; }
.nx-stool .nx-qbox svg { width: 17px; height: 17px; }
.nx-stool .nx-qbox input { height: 32px; font-size: 14px; }
.nx-stool .nx-qbox__go { height: 30px; padding: 0 14px; border-radius: 9px; font-size: 13px; }
.nx-stool .nx-seg2 { padding: 3px; border-radius: 11px; flex-wrap: wrap; }
.nx-stool .nx-seg2 a { height: 28px; padding: 0 9px; border-radius: 8px; font-size: 12.5px; }
.nx-stool .nx-flabel { gap: 6px; font-size: 12px; white-space: nowrap; }
.nx-stool .nx-flabel select, .nx-stool .nx-flabel input:not([type="checkbox"]) { height: 32px; border-radius: 9px; padding: 0 8px; font-size: 13px; }
.nx-stool .nx-flabel input[type="date"] { width: 8.9em; padding: 0 4px 0 6px; }
.nx-stool__org { width: 7.5em; }
.nx-stool .nx-flabel select { max-width: 8.5em; }
.nx-stool .nx-openonly input { width: 16px; height: 16px; }
.nx-stool .nx-btn { min-height: 32px; padding: 0 12px; font-size: 13px; }
.nx-stool__cov { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.nx-stool__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -2px 2px 10px; font-size: 13px; }
.nx-stool__sub .nx-saved, .nx-stool__sub .nx-qread, .nx-stool__sub .nx-savebox { margin: 0; }
/* 一覧の上: 件数・しるしの意味・CSV を1行に */
.nx-searchpage--top .nx-countline { margin: 4px 10px 2px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.nx-searchpage--top .nx-countline b { font-size: 18px; }
.nx-searchpage--top .nx-countline__tools { display: inline-flex; align-items: center; gap: 10px; }
.nx-searchpage--top .nx-mklegend { margin: 0; }
/* 一覧の行: 小さめの文字で詰める。日付の下に照合の札、種類・しるしの行の右に「検討する・見送る」 */
.nx-searchpage--top .nx-srow { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 9px 12px; }
.nx-searchpage--top .nx-srow__date { align-content: start; justify-items: start; gap: 4px; }
.nx-searchpage--top .nx-srow__date b { font-size: 16px; }
.nx-searchpage--top .nx-srow__date .nx-chip2 { font-size: 11px; padding: 1px 7px; line-height: 1.35; white-space: nowrap; }
.nx-searchpage--top .nx-srow__date .nx-chip2 small { display: block; font-size: 10px; font-weight: 700; opacity: .85; }
.nx-searchpage--top .nx-srow__main { gap: 2px; }
.nx-searchpage--top .nx-srow__title { font-size: 14px; line-height: 1.45; }
.nx-searchpage--top .nx-srow__meta { font-size: 12px; }
.nx-searchpage--top .nx-srow__chips { gap: 4px; padding-right: 150px; }
.nx-searchpage--top .nx-srows li > .nx-cs { bottom: 8px; right: 10px; }
.nx-searchpage--top .nx-cs__b { min-height: 26px; padding: 0 10px; font-size: 11.5px; }
.nx-searchpage--top .nx-split { gap: 14px; grid-template-columns: minmax(420px, 6fr) minmax(0, 5fr); }   /* 一覧を広く（行の折り返しを減らす） */
.nx-searchpage--top .nx-srow__chips .nx-obj__kind { font-size: 11px; padding: 1px 8px; min-height: 0; line-height: 1.5; }
.nx-searchpage--top .nx-srows li:not(:has(> .nx-cs)) .nx-srow__chips { padding-right: 0; }   /* アカウントなし（ボタンなし）は右を空けない */
.nx-searchpage--top .nx-countline { flex-wrap: nowrap; }
.nx-searchpage--top .nx-countline > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-searchpage--top .nx-countline__tools { flex: none; }
.nx-searchpage--top .nx-countline .nx-btn { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.nx-searchpage--top .nx-pane { top: 84px; height: calc(100vh - 96px); }
/* ページ送り: 前・番号・次を1行に（件数は上の行） */
.nx-pgnum, .nx-pgnum.nx-mpager--top, .nx-pgnum.nx-mpager--bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 8px; margin: 2px 10px 4px; }
.nx-pgnum__side:first-child { justify-self: start; } .nx-pgnum__side:nth-child(3) { justify-self: end; }
.nx-pgnum__nums { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
.nx-pgnum__n { min-width: 26px; height: 26px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 8px; font: 700 12.5px/1 var(--f-num); color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { a.nx-pgnum__n:hover { background: var(--sheet-2); color: var(--acc); } }
.nx-pgnum__n.is-on { background: var(--acc-soft); color: var(--acc); }
.nx-pgnum__gap { color: var(--ink-3); padding: 0 2px; }
.nx-pgnum .nx-mpager__a { font-size: 12.5px; }
.nx-pgnum.nx-mpager--bottom { margin-top: 10px; }
@media (max-width: 1024px) { .nx-searchpage--top .nx-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .nx-searchpage--top .nx-countline { flex-wrap: wrap; }
  .nx-stool__h { display: none; }
  .nx-stool__cov { margin-left: 0; }
  .nx-searchpage--top .nx-srow__chips { padding-right: 0; }
  .nx-searchpage--top .nx-srows li > .nx-cs { position: static; margin: -4px 12px 8px 92px; }
  .nx-pgnum, .nx-pgnum.nx-mpager--top, .nx-pgnum.nx-mpager--bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nx-pgnum__nums { grid-column: 1 / -1; grid-row: 1; }
}

/* ─── 入札案件観測所のロゴ（2026-10-08 試作。無料のページ＝入札案件観測所、有料ツール＝Polaris） ─── */
.nx-brand__name.is-free { font-size: 17px; letter-spacing: .04em; white-space: nowrap; }
.nx-on-sky .nx-mark--free .nx-mark__dk, .nx-wel__brand .nx-mark--free .nx-mark__dk { fill: #9cc3ff; }
.nx-on-sky .nx-mark--free .nx-mark__ln, .nx-wel__brand .nx-mark--free .nx-mark__ln { stroke: #9cc3ff; }
.nx-on-sky .nx-mark--free .nx-mark__lt, .nx-wel__brand .nx-mark--free .nx-mark__lt { fill: #0c1f52; }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-mark--free .nx-mark__dk { fill: #9cc3ff; } :where(:root:not([data-scheme="light"])) .nx-mark--free .nx-mark__ln { stroke: #9cc3ff; } :where(:root:not([data-scheme="light"])) .nx-mark--free .nx-mark__lt { fill: #0c1f52; }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-mark--free .nx-mark__dk { fill: #9cc3ff; } :where(:root[data-scheme="dark"]) .nx-mark--free .nx-mark__ln { stroke: #9cc3ff; } :where(:root[data-scheme="dark"]) .nx-mark--free .nx-mark__lt { fill: #0c1f52; }
}
@media (max-width: 760px) { .nx-brand__name.is-free { font-size: 15px; } }
/* 暗い表示で上部のメニューの文字が背景に溶けていた（liquid.css に暗い表示の色が無い）→ 明るい色に（2026-10-08） */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar { --lq-text: #f2ede3; --lq-text-dim: rgba(242, 237, 227, .72); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-bar { --lq-text: #f2ede3; --lq-text-dim: rgba(242, 237, 227, .72); } }

/* 無料で見せる範囲の設定で隠した場所の案内（2026-10-08） */
.nx-locked h2 { color: var(--ink-3); }
.nx-locked__p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.nx-locked__p svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nx-locked__p a { color: var(--acc); font-weight: 800; }

/* ─── 読みたいところをはっきり（2026-10-08 丸みはそのまま、境界を分かりやすく） ─── */
/* まとまりの見出し: 左に色の帯。開いているときは見出しの帯に薄い色と下の線 */
.nx-block > .nx-block__head .nx-block__title { position: relative; padding-left: 13px; }
.nx-block > .nx-block__head .nx-block__title::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: var(--accent-grad); }
.nx-block:not(.is-folded) > .nx-block__head { background: color-mix(in srgb, var(--acc-soft) 50%, var(--sheet)); border-bottom: 1px solid var(--line-2); }
@media (hover: hover) { .nx-block.is-folded > .nx-block__head:hover { background: color-mix(in srgb, var(--acc-soft) 30%, var(--sheet)); } }
.nx-block:not(.is-folded) > .nx-block__body { padding-top: 8px; }
/* 項目表: 項目名の欄に薄い色、項目名と中身の間に縦の線、行の線は少し濃く */
.nx-facts dt { background: color-mix(in srgb, var(--sheet-2) 75%, transparent); padding-left: 12px; border-right: 1px solid var(--line-2); font-size: 14px; }
.nx-facts dd { padding-left: 16px; }
.nx-facts dt, .nx-facts dd { border-top-color: var(--line-2); }
.nx-facts > dt:first-child, .nx-facts > dt:first-child + dd { border-top: 0; }
@media (max-width: 900px) { .nx-facts dt { border-right: 0; } .nx-facts dd { padding-left: 12px; } }
/* CSV で出力: アカウントなし（鍵つき）も資料・出力の色（ピンク）に */
.nx-export.is-locked { color: var(--doc); background: color-mix(in srgb, var(--doc-soft) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--doc) 25%, transparent); }
@media (hover: hover) { .nx-export.is-locked:hover { background: var(--doc-soft); } }

/* 項目表: 要確認・原文の札は項目名の下の行に（2026-10-08） */
.nx-keys dt .nx-keys__label { display: block; }
.nx-keys dt .nx-keys__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.nx-keys dt .nx-keys__tags:empty { display: none; }
/* 「？」「！」の吹き出し: 出すときに画面の中の位置に固定（next.js）。枠で切れない */
@media (min-width: 761px) {
  .nx-q.is-placed::after { position: fixed; left: var(--tip-x) !important; top: var(--tip-y) !important; right: auto !important; bottom: auto !important;
    transform: none !important; width: max-content; max-width: var(--tip-w); z-index: 9500;
    /* 10/23 s03-rt1-001: 高さも画面内に制限し、長い説明は吹き出しの中で読めるようにする。 */
    max-height: calc(100vh - 16px); overflow: auto; pointer-events: auto; }
}
/* 提出書類の下書き: 「この案件で出すもの」を目立たせる。提案書が要らない（価格で決まる）ときは赤を基調に */
.dc-guide.is-noprop { background: color-mix(in srgb, var(--bad-soft) 85%, var(--sheet)); color: var(--ink); box-shadow: inset 4px 0 0 var(--bad), 0 0 0 1px color-mix(in srgb, var(--bad) 30%, transparent); }
.dc-guide.is-noprop b { color: var(--bad); }
.dc-guide.is-prop { box-shadow: inset 4px 0 0 var(--acc-2); }
.dc-err { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--bad); background: var(--bad-soft); }
.dc__head .dc__ai { justify-self: start; }   /* 「AI」の札が見出しの帯いっぱいに伸びていた（2026-10-08） */
/* スマホ幅: 件数の行（注記・CSV の「準備に少しかかります」）と長い企業名が横にはみ出していた（2026-10-08 巡回で発見。落札実績 22px） */
@media (max-width: 760px) {
  .nx-countline { flex-wrap: wrap; }
  /* 2026-10-24 C1: 探すの flex: none でも、増えた道具が列を広げないよう欄内で折り返す（落札結果も共通）。 */
  .nx-countline__tools { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .nx-export small { white-space: normal; }
  .nh-co { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
}
/* 申し込み・ログイン・お支払いの枠: 狭い画面の一列で、中身（契約の内容の表など）が列を押し広げ 357px はみ出していた（2026-10-08 巡回で発見） */
@media (max-width: 900px) { .nx-signup { grid-template-columns: minmax(0, 1fr); } .nx-signup > * { min-width: 0; } .nx-billing__terms dd { overflow-wrap: anywhere; } }
.nx-signup__form { white-space: normal; }   /* 枠のガラスの部品（.lq）の nowrap を受け継いで、お支払いの文が折り返さなかった（2026-10-08） */
/* 資料の入れ口の「AIとデータの取扱い」の一言（2026-10-08） */
.nx-drop__safe { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.nx-drop__safe a { color: var(--acc); font-weight: 700; margin-left: 4px; }

/* ─── 照合の AI による見直し（2026-10-08） ─── */
.nx-chip2--ai { font-weight: 800; }
.nx-chip2--ai.is-fit { background: var(--acc-soft); color: var(--acc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent); }
.nx-chip2--ai.is-cond { background: color-mix(in srgb, #d97706 14%, var(--sheet)); color: #a45a05; }
.nx-chip2--ai.is-no { background: var(--bad-soft); color: var(--bad); }
.nx-chip2--ai.is-unk { color: var(--ink-3); }
.nx-aim { margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: var(--sheet); box-shadow: inset 4px 0 0 var(--acc-2), 0 0 0 1px var(--line); }
.nx-aim--no { box-shadow: inset 4px 0 0 var(--bad), 0 0 0 1px var(--line); }
.nx-aim--cond { box-shadow: inset 4px 0 0 #d97706, 0 0 0 1px var(--line); }
.nx-aim--unk { box-shadow: inset 4px 0 0 var(--ink-3), 0 0 0 1px var(--line); }
.nx-aim__k { margin: 0; font-size: 13px; color: var(--ink-3); font-weight: 800; } .nx-aim__k b { margin-left: 6px; font-size: 16px; color: var(--ink); }
.nx-aim__r { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.nx-aim__p { margin: 6px 0 0; padding-left: 1.2em; font-size: 13.5px; } .nx-aim__c { margin: 6px 0 0; font-size: 13px; color: var(--warn); font-weight: 700; }   /* 決め打ちの #a45a05 は暗い表示で 2.27（10/20 r13b R13B-2）→ 明暗で変わる橙 */
.nx-aim__n { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.nx-aimbox { margin: 10px 0 14px; padding: 12px 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--ai-2, var(--acc-2)); }
/* 戦績（10/18 決定⑩。templates/next_record.html） */
.nh-page.nr-page { width: min(1180px, calc(100% - 32px)); }   /* 検討中・探すと同じ幅に（10/18 点検 気-9） */
.nr-page h1 { margin: 6px 0 12px; }
.nr-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.nr-who { width: 10em; }
.nr-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 8px; }
.nr-kpi > div { padding: 12px 14px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nr-kpi dt { font-size: 13px; font-weight: 800; color: var(--ink-3); }
.nr-kpi dd { margin: 4px 0 0; }
.nr-kpi dd b { font-size: 30px; font-weight: 900; line-height: 1.1; }
.nr-kpi dd small { margin-left: 2px; font-size: 13px; font-weight: 700; }
.nr-kpi p { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.nr-kpi .is-won dd b { color: var(--ok); }
.nr-k { font-size: 13px; font-weight: 700; color: var(--ink-3); }
@media (max-width: 600px) { .nr-kpi > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }   /* 5枚目（落札額の合計）が1枚だけ左に残らないように（R6D-19） */
.nr-now { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-2); }
.nr-empty { margin-top: 8px; }
.nr-empty p { margin: 6px 0 10px; }
.nr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; }
.nr-box { padding: 14px 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.nr-box h2 { margin: 0 0 10px; font-size: 16px; }
.nr-box h2 small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.nr-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.nr-bars li { display: grid; grid-template-columns: minmax(8em, 12em) minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13.5px; }
.nr-bars__bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--ink-3) var(--w), transparent var(--w)); box-shadow: 0 0 0 1px var(--line) inset; }
.nf-suggest b { color: var(--ink); }
.dc-tabs small.dc-tab__plus { color: var(--ok); background: var(--ok-soft); font-weight: 800; }
@media (max-width: 640px) { .dc-tabs button small.dc-tab__plus { width: auto; height: auto; padding: 0 6px; border-radius: 999px; background: var(--ok-soft); font-size: 11px; } }   /* 「下書きあり」は点だが、加点ありは字で（タブは折り返すので幅がある） */
.dc-w .dc-bnote { background: var(--sheet-2); box-shadow: inset 4px 0 0 var(--line-2); }
.dc-w .dc-bnote.is-plus { background: var(--ok-soft); box-shadow: inset 4px 0 0 var(--ok); }
.dc-w .dc-mode { margin: 4px 0 8px; }
.nx-perk { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.6; white-space: nowrap; }
.nx-perk.is-good { background: var(--ok-soft); color: var(--ok); }
.nx-perk.is-bad { background: var(--bad-soft); color: var(--bad); }
.nx-perk.is-info { background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.hx__band { padding: 10px 12px; border-radius: 12px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line) inset; }
.hx__band-v { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13.5px; color: var(--ink-2); }
.hx__band-k { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.hx__band-v b { font-family: var(--f-num); font-size: 17px; color: var(--ink); }
.hx__band .nh-note { margin: 4px 0 0; }
.nh-mini__o { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.pp-split { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 11.5px; font-weight: 800; }
.nx-soonnote { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
/* フクロウのポラリス（10/20 ）: 顔・名札・吹き出し。顔の絵は next.js の NxPolaris */
.nx-pol__face { display: inline-block; flex: none; width: 28px; height: 28px; vertical-align: middle; margin-right: 6px; }
.nx-pol__face svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(20, 32, 74, .22)); }
.nx-pol__face.is-sm { width: 22px; height: 22px; margin: -2px 6px 0 0; }
.nx-pol__face.is-xs { width: 15px; height: 15px; margin: -2px 3px 0 -2px; }
.nx-pol { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 14px; }
.nx-pol__who { display: grid; justify-items: center; gap: 2px; }
.nx-pol__who .nx-pol__face { width: 46px; height: 46px; margin: 0; }
.nx-pol__who small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.nx-pol__b { position: relative; margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.nx-pol__b::before { content: ""; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px; background: var(--sheet); box-shadow: -1px 1px 0 0 var(--line-2); transform: rotate(45deg); }
.nx-caseguide { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 6px; font-size: 14px; }
.nx-caseguide__k { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nx-caseguide a { display: inline-flex; align-items: baseline; gap: 2px; min-height: 32px; align-items: center; font-weight: 700; }
.nx-caseguide small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.nx-price__cancel { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--sheet-2); font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.nx-price__cancel b { color: var(--ink); }
.nx-price__cancel ol { margin: 4px 0; padding-left: 1.4em; }
.nx-price__cancel p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.nh-karte { display: grid; gap: 6px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--acc-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent) inset; }
.nh-karte p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; color: var(--ink-2); }
.nh-karte__k { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.nh-karte b { font-family: var(--f-num); font-size: 17px; color: var(--ink); }
.nh-karte__ov a { display: inline-flex; align-items: baseline; gap: 3px; min-height: 32px; align-items: center; font-weight: 700; }
.nh-karte__ov small { color: var(--ink-3); font-family: var(--f-num); }
.nh-karte__rng { white-space: nowrap; }
.nx-srccredit { display: inline; } .nx-srccredit__ng { display: block; }   /* 名前を変えた（10/20: .nx-credit は別の部品の名前で、地と余白が付いて上の注に重なった）*/
.nx-srccredit__more { display: inline; } .nx-srccredit__more > summary { display: inline; cursor: pointer; list-style: none; } .nx-srccredit__more > summary::-webkit-details-marker { display: none; }
.nx-srccredit__more > summary::after { content: " ▾"; } .nx-srccredit__more[open] > summary::after { content: " ▴"; }
.nx-srccredit__more > span { overflow-wrap: anywhere; }
.nx-srccredit__more ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.nh-karte__note { font-size: 12px; color: var(--ink-3); }
.nr-lost__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nr-lost__list > li { padding: 8px 10px; border-radius: 12px; background: var(--sheet-2); min-width: 0; }
.nr-lost__head { display: flex; align-items: baseline; gap: 8px; }
.nr-lost__name { flex: 1; min-width: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.nr-lost__n { font-family: var(--f-num); font-weight: 800; color: var(--bad); white-space: nowrap; }
.nr-lost__meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.nr-lost__meta small { color: var(--ink-3); }
.nr-lost__diff { font-weight: 700; }
.nr-lost__diff.is-up { color: var(--bad); }
.nr-lost__ex { margin-top: 2px; font-size: 13px; }
.nr-lost__ex summary { min-height: 32px; display: inline-flex; align-items: center; color: var(--ink-3); font-weight: 700; cursor: pointer; }
.nr-lost__ex ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nr-lost__ex small { color: var(--ink-3); }
.nr-nb { white-space: nowrap; }
.nr-lost__note { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.nr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nr-table th, .nr-table td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.nr-table th:first-child { text-align: left; white-space: normal; font-weight: 700; }
.nr-table thead th { font-size: 12px; color: var(--ink-3); font-weight: 800; }
.nr-recent { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nr-recent li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; }
.nr-recent a { color: var(--ink); font-weight: 700; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.nr-recent small { grid-column: 2; font-size: 12.5px; color: var(--ink-3); }
.nr-st { display: inline-block; min-width: 4.6em; text-align: center; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; background: var(--paper-2); color: var(--ink-2); }
.nr-st.is-won { background: var(--ok-soft); color: var(--ok); }
@media (hover: hover) { .nr-recent a:hover { text-decoration: underline; } }
@media (max-width: 600px) { .nr-bars li { grid-template-columns: minmax(0, 1fr) auto; } .nr-bars__bar { grid-column: 1 / -1; grid-row: 2; } .nr-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nr-grid { grid-template-columns: minmax(0, 1fr); }
  .nr-filter .nx-flabel--range { width: 100%; } .nr-filter .nx-flabel--range input { flex: 1 1 0; min-width: 0; width: auto; } }   /* 期間の右の欄が画面の右に切れた（10/18 点検 気-10） */
/* 照合: 条件を満たすと合いそうに増える案件（10/18 決定⑩。next-gains.js） */
.nx-gains { margin: 10px 0 14px; padding: 12px 16px; border-radius: 16px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--ok); }
.nx-gains__h { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.nx-gains__h small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.nx-gains__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nx-gains__list li { padding: 8px 0 0; border-top: 1px solid var(--line); }
.nx-gains__what { margin: 0; font-size: 14px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.nx-gains__what b { color: var(--ok); }
.nx-gains__what small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.nx-gains__exs { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.nx-gains__k { color: var(--ink-3); font-weight: 700; }
.nx-gains__ex { display: inline-block; vertical-align: bottom; color: var(--acc); text-decoration: underline; text-underline-offset: 2px; max-width: min(32em, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-gains__more { margin-top: 8px; }
.nx-gains__more > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.nx-gains__more > .nx-gains__list { margin-top: 6px; }
.nx-aimbox__h { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; } .nx-aimbox__h span { font-size: 13px; color: var(--ink-3); }
.nx-aimbox__d { margin: 4px 0 8px; font-size: 13px; color: var(--ink-2); } .nx-aimbox__d a { color: var(--acc); font-weight: 700; }
.nx-aimbox__a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; } .nx-aimbox__a small { font-size: 12px; color: var(--ink-3); }
.nx-aimbox__s { margin: 0; font-size: 13px; font-weight: 700; color: var(--acc); }
/* 軽い表示（nx-lite。性能の低い端末で自動）では .lq の背景が白になり、白い文字の「AIに分析してもらう」が見えなくなっていた（2026-10-08 巡回で発見） */
.nx-lite .nx-act[data-intent="luna"] { background: linear-gradient(120deg, var(--ai-deep), var(--ai)) !important; color: #fff !important; }

/* 提出書類の下書き: この案件で出すもの（方式＋書類の一覧）・書き分け・入札書・AIの利用量（2026-10-09） */
.dc-guide > p { margin: 0; }
.dc-method { margin-top: 4px !important; font-size: 12.5px; color: var(--ink-2); } .dc-method small { color: var(--ink-3); margin-left: 4px; }
.dc-submit { margin-top: 8px; padding-top: 8px; border-top: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.dc-submit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.dc-submit li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
.dc-submit__n { font-weight: 700; } .dc-submit li small { color: var(--ink-3); font-size: 11.5px; }
.dc-submit__go { margin-left: auto; border: 0; background: none; padding: 2px 4px; color: var(--ai); font: 700 12px var(--f-jp); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.dc-submit .dc-submit__own { margin-left: auto; }   /* .dc-guide small の余白より強く */
.dc-submit__src { display: block; margin-top: 6px; color: var(--ink-3); font-size: 11.5px; }
.dc-mode { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; align-items: center; }
.dc-mode button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink-2); font: 700 12.5px var(--f-jp); cursor: pointer; }
.dc-mode button[aria-checked="true"] { border-color: var(--ai); background: var(--ai-soft); color: var(--ai); }
.dc-tools .dc-datesw { margin: 0 0 0 auto; }
.dc-datesw__k { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.dc-mode__note { flex-basis: 100%; color: var(--ink-3); font-size: 12px; }
.dc-bnote { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; font-size: 13px; background: color-mix(in srgb, var(--bad-soft) 70%, var(--sheet)); box-shadow: inset 4px 0 0 var(--bad); }
.dc-bnote b { color: var(--bad); margin-right: 4px; }
.dc-b .dc-f { display: grid; gap: 3px; font-size: 12px; color: var(--ink-2); } .dc-b .dc-f.is-wide { grid-column: 1 / -1; }
.dc-b .dc-head3 { margin-bottom: 10px; }
.dc-amtnote { color: var(--ink-3); font-size: 11.5px; }
.dc-b .dc-proxy { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 13px; font-weight: 700; cursor: pointer; } .dc-b .dc-proxy input { width: 18px; height: 18px; margin: 0; flex: none; }
.dc-meterline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--sheet-2); font-size: 12.5px; color: var(--ink-2); }
.dc-meterline .dc-meter { flex: 0 1 160px; } .dc-meterline small { color: var(--ink-3); } .dc-meterline a { margin-left: auto; font-size: 12px; }
.dc-meterline.is-high .dc-meter i { background: #c98a12; } .dc-meterline.is-full { background: var(--bad-soft); } .dc-meterline.is-full b, .dc-meterline.is-full small { color: var(--bad); }
.nx-aimeter { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--sheet-2); }
.nx-aimeter h2 { margin: 0 0 6px; font-size: 15px; } .nx-aimeter p { margin: 4px 0; font-size: 13px; } .nx-aimeter small { color: var(--ink-3); }
.nx-aimeter .dc-meter { display: inline-block; width: 180px; vertical-align: middle; margin: 0 6px; }
.dc-meterline .dc-meter, .nx-aimeter .dc-meter { background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.dc-b .dc-head3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .dc-b .dc-head3 { grid-template-columns: minmax(0, 1fr); } .dc-submit .dc-submit__go, .dc-submit .dc-submit__own { margin-left: 0; } }
/* 書類のタブが3つになり、スマホ幅で「見積／書」と折れた（2026-10-09）→ 折らずに横へ流す（ページは横に動かない） */
@media (max-width: 760px) { .dc-tabs { width: 100%; flex-wrap: wrap; } .dc-tabs button { flex: 1 1 auto; white-space: nowrap; padding: 0 12px; } }   /* 4つ目（賃上げの表明書）で横に送らないと見えなかった（10/19 N2）→ 折り返す */

/* 探すの切り替え（自社に合う｜受付中｜すべて）と、終わった案件・過去の落札結果の行（2026-10-09） */
.nx-stool .nx-stab a { gap: 5px; }
.nx-stool .nx-stab small { font: 600 11px var(--f-num); color: var(--ink-3); }
.nx-stool .nx-stab a[aria-current="true"] small { color: var(--acc); }
.nx-stool .nx-stab a.is-lock { color: var(--ink-3); }
.nx-countline__mix { margin-left: 6px; font-size: 12px; color: var(--ink-3); }
.nx-countline__sort, .nx-countline__items, .nx-countline__range { white-space: nowrap; } /* 11/17: 「順」だけが次の行へ落ちない */
.nx-countline__card { margin-left: 8px; font-size: 12px; }
.nx-aimbox--search { margin: 4px 10px 6px; }
/* 終わった案件は一目で分かるように: 灰色の札・控えめの色・結果の行。生きた案件と取り違えないため */
.nx-srows li.is-ended { position: relative; }
.nx-srows li.is-ended .nx-srow { background: color-mix(in srgb, var(--ink) 3.5%, transparent); }
.nx-srows li.is-ended .nx-srow__title { color: var(--ink-2); font-weight: 700; }
.nx-srows li.is-ended .nx-srow__date b { color: var(--ink-3); }
.nx-srow__yr { font-size: 10.5px !important; margin-top: 0 !important; }
.nx-chip2.is-ended { background: color-mix(in srgb, var(--ink) 10%, var(--sheet)); color: var(--ink-2); box-shadow: none; }
.nx-srow__result { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.nx-srow__result b { font-weight: 700; color: var(--ink); } .nx-srow__result small { color: var(--ink-3); font-size: 11px; }
.nx-srow__src { color: var(--ink-3); font-size: 11.5px; }
.nx-srow__page { position: absolute; right: 12px; bottom: 9px; font-size: 12px; font-weight: 700; color: var(--acc); text-decoration: none; }
@media (hover: hover) { .nx-srow__page:hover { text-decoration: underline; } }
.nx-srows li.is-ended:has(.nx-srow__page) .nx-srow { padding-bottom: 26px; }
/* 分析の切り替えと、発注機関・落札企業の一覧（2026-10-09） */
.nx-anav { margin: 4px 0 12px; }
.nh-dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.nh-dir a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; }
@media (hover: hover) { .nh-dir a:hover { box-shadow: 0 0 0 1.5px var(--acc); } }
.nh-dir__n { font-weight: 800; font-size: 14px; } .nh-dir__m { font-size: 12px; color: var(--ink-3); }
.nx-award__end { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
/* 自社に合うの AI の箱は一覧の上で小さく（説明は「?」相当の文を省き、1〜2行に。一覧を多く見せる。10/8 の決定） */
.nx-aimbox--search { padding: 8px 12px; border-radius: 12px; }
.nx-aimbox--search .nx-aimbox__d { display: none; }
.nx-aimbox--search .nx-aimbox__h { font-size: 13px; }
.nx-aimbox--search .nx-aimbox__a { margin-top: 4px; }
.nx-aimbox--search .nx-btn { min-height: 30px; padding: 0 12px; font-size: 12.5px; }
.nx-wel__stats .nx-wel__sub { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 2px; }
/* 出典の表示（2026-10-10） */
.nx-credit { margin: 0 0 14px; padding: 8px 14px; border-radius: 10px; background: var(--sheet-2); font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.nx-credit a { color: var(--ink-2); font-weight: 700; }
/* 網羅の前の登録の状況（2026-10-10） */
.nx-aimbox__cl { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0; font-size: 12.5px; }
.nx-aimbox__cl .is-ok { color: var(--acc); font-weight: 700; } .nx-aimbox__cl .is-miss { color: var(--bad); font-weight: 700; }
.nx-aimbox__cl a { font-weight: 600; }
.nx-aimbox__warn { margin: 2px 0 6px; font-size: 12.5px; color: var(--ink-2); }
.nx-aimbox--search .nx-aimbox__warn { font-size: 12px; }
/* 部品に向けた吹き出し（2026-10-10） */
.nx-hintbub { position: fixed; z-index: 90; max-width: min(340px, calc(100vw - 20px)); padding: 9px 12px; border-radius: 10px; background: #1f2430; color: #fff;
  font-size: 12.5px; line-height: 1.65; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); pointer-events: none; animation: nx-hint-in .12s ease-out; }
.nx-hintbub::after { content: ""; position: absolute; left: var(--arrow-x, 50%); width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.nx-hintbub.is-above::after { bottom: -5px; } .nx-hintbub.is-below::after { top: -5px; }
.nx-hintbub.is-warn { background: #fff4ec; color: #5b2a14; box-shadow: 0 0 0 1.5px #d9622b, 0 10px 24px -10px rgba(0,0,0,.35); }
.nx-hintbub.is-warn::after { background: #fff4ec; box-shadow: 1.5px 1.5px 0 #d9622b; }
.nx-hintbub.is-warn.is-below::after { box-shadow: -1.5px -1.5px 0 #d9622b; }
@keyframes nx-hint-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.nx-aimbox__h .nx-q { width: 18px; height: 18px; font-size: 11px; }
.nx-aimbox__pv { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.nx-aimbox__cl a.is-miss { color: var(--bad); font-weight: 700; text-decoration: none; border-bottom: 1px dashed currentColor; }
.nx-aimbox__s.is-muted { color: var(--ink-3); font-weight: 600; }
/* 分析 → 分野別（2026-10-10） */
.nx-shead--tight { margin-bottom: 6px; } .nx-shead--tight h1 { display: flex; align-items: center; gap: 8px; }
.nh-form--row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.nh-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 10px; }
.nh-fcard { padding: 14px 16px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nh-fcard h2 { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); } .nh-fcard h2 b { font: 800 22px var(--f-num); color: var(--ink); margin-left: 6px; } .nh-fcard h2 small { color: var(--ink-3); font-weight: 600; }
.nh-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nh-bars li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px; align-items: center; gap: 8px; font-size: 12px; }
.nh-bars i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--acc-2), var(--acc)); min-width: 2px; } .nh-bars b { text-align: right; font: 700 12px var(--f-num); }
.nh-fmix { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 0; font-size: 12px; } .nh-fmix a { color: var(--ink-2); }
.nh-money { margin: 0; display: flex; align-items: baseline; gap: 10px; } .nh-money span { font-size: 12px; color: var(--ink-3); } .nh-money b { font: 800 26px var(--f-num); }
.nh-money-sub { margin: 4px 0 0; font-size: 13px; } .nh-money-sub small { color: var(--ink-3); }
.nh-rank { margin: 0; padding-left: 20px; display: grid; gap: 3px; font-size: 13px; } .nh-rank li { display: flex; gap: 8px; } .nh-rank li b { margin-left: auto; font: 700 12px var(--f-num); color: var(--ink-2); }
.nh-bars--price li { grid-template-columns: 76px minmax(0, 1fr) 56px; }
.nh-h2 { margin: 18px 0 8px; font-size: 15px; }

/* 2026-10-11 hidden が display:grid に負けて、動いていないときも 0/0件・止める が出ていた */
.pp-ai__run[hidden] { display: none; }
/* 2026-10-11 見出しの下の説明文は「説明 多め」（data-density=first）のときだけ。いつもは見出しの「?」 */
.nx-explain { display: none !important; }
[data-density="first"] .nx-explain { display: block !important; }
/* 2026-10-11 会社の PC（低スペック）でホームのニュース欄が真っ白。
   原因は軽い表示（nx-lite。4コア以下・メモリ4GB以下で自動）で .lq の背景が白（--sheet）になり、空の上の白い文字が白地に乗っていたこと。
   空の上（ホームの地図・数字・情報窓・目的の入力）は、ぼかしの代わりに不透明の暗い板にする（10/8 の「AIに分析してもらう」と同じ型の不具合） */
.nx-lite .nx-deck-hero .lq { background: rgba(16, 22, 40, .92) !important; }
.nx-rel__all { margin: 10px 0 0; text-align: center; font-size: 13px; }
/* 分析 → 自社の立ち位置（2026-10-11） */
.nh-ptab { width: 100%; border-collapse: collapse; font-size: 13px; }
.nh-ptab th { text-align: left; font-size: 11.5px; font-weight: 800; color: var(--ink-3); padding: 4px 6px; border-bottom: 1px solid var(--line); }
.nh-ptab td { padding: 7px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.nh-ptab td:nth-child(n+2), .nh-ptab th:nth-child(n+2) { text-align: right; }
.nh-ptab .is-up { color: var(--ok, #1e6b4a); } .nh-ptab .is-down { color: #9d2a1f; }
.nh-rank small { font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.nh-rank--share li { display: grid; grid-template-columns: minmax(0, 1fr) 60px auto; align-items: center; gap: 8px; }
/* 自社の立ち位置の割合の棒。2026-10-16 デバッグ anon-22: 一覧の .nh-share（2097行）と同じ名前で、発注機関・企業の一覧が高さ 6px に潰れていた → 名前を分けた */
.nh-sharebar { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.nh-sharebar i { display: block; height: 100%; background: var(--sea, #14907e); }
.nh-fgrid--pos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .nh-fgrid--pos { grid-template-columns: minmax(0, 1fr); } }
.nh-ptab th, .nh-ptab td:first-child { white-space: nowrap; }
/* 自社の立ち位置（スマホ）: 種類ごとの金額の表が 390 幅で右の「比」が切れ、長い社名で右の件数が見えなかった（10/18 第6周 R6C-8）→ 見出しと種類名は折り、間を詰める。社名は折り、件数は縮めない */
.nh-rank li a { min-width: 0; overflow-wrap: anywhere; } .nh-rank li b { flex-shrink: 0; }
@media (max-width: 600px) { .nh-ptab th, .nh-ptab td:first-child { white-space: normal; } .nh-ptab th, .nh-ptab td { padding-left: 3px; padding-right: 3px; } }
/* 初回の案内の作り直し（2026-10-11）。背景は動かない夜明けの色（空のシェーダーはやめた）。新しい場面: 合う案件（AI の札）・やることにまとめる・書類の下書き */
.nxt { background: radial-gradient(120% 80% at 70% 110%, rgba(214, 140, 90, .35), transparent 60%), linear-gradient(180deg, #060a16 0%, #0d1830 55%, #1d2a4a 100%); }
.nxt__scene .nxt__sample { position: absolute; top: 12px; right: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 2px 8px; border-radius: 99px; color: rgba(238, 243, 248, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.nxt__lanes li.has-ai { box-shadow: 0 0 0 1px rgba(168, 85, 247, .55) inset; }
.nxt__ai { margin-left: 6px; font-family: var(--f-jp); font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(168, 85, 247, .4); color: #f3e8ff; }
.nxt__ai[data-v="fit"] { background: rgba(45, 212, 191, .4); color: #ccfbf1; }
.nxt__why[data-k="ai"] { background: rgba(168, 85, 247, .14); box-shadow: 0 0 0 1px rgba(168, 85, 247, .45) inset; }
.nxt__why[data-k="fit"], .nxt__why[data-k="pre"] { background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.nxt__quote { padding: 6px 10px; border-left: 3px solid #c084fc; background: rgba(0, 0, 0, .2); border-radius: 0 8px 8px 0; color: #f3e8ff; }
.nxt__prep, .nxt__draft { display: grid; align-content: start; gap: 14px; }
.nxt__case { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.nxt__case small { font-size: 11px; color: #5eead4; font-weight: 800; letter-spacing: .1em; } .nxt__case b { font-size: 17px; } .nxt__case span { font-size: 12px; color: rgba(238, 243, 248, .6); }
.nxt__go { justify-self: start; border: 0; cursor: pointer; padding: 11px 20px; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(120deg, #6d28d9, #a855f7); box-shadow: 0 10px 30px -10px rgba(168, 85, 247, .8); animation: nxt-ready 1.8s infinite; }
.nxt__go:disabled { animation: none; opacity: .75; cursor: default; }
.nxt__plist { display: grid; gap: 6px; }
.nxt__pitem { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 13.5px; animation: nxt-fly .6s both; }
.nxt__pitem em { font-style: normal; font-size: 11px; font-weight: 800; color: #ccfbf1; }
.nxt__cal { padding: 12px 16px 30px; border-radius: 14px; background: rgba(94, 234, 212, .08); box-shadow: 0 0 0 1px rgba(94, 234, 212, .3) inset; animation: nxt-fly .6s both; }
.nxt__cal > b { font-size: 12px; color: #5eead4; }
.nxt__calbar { position: relative; height: 2px; margin: 18px 6px 0; background: rgba(255, 255, 255, .2); }
.nxt__calbar span { position: absolute; left: var(--x); top: -6px; animation: nxt-drop .6s both; animation-delay: calc(var(--i) * 160ms); }
.nxt__calbar i { display: block; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 10px #fde68a; }
.nxt__calbar small { position: absolute; top: 18px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: rgba(238, 243, 248, .8); }
.nxt__draftrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: start; }
@media (max-width: 700px) { .nxt__draftrow { grid-template-columns: minmax(0, 1fr); } }
.nxt__docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nxt__docs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 13.5px; animation: nxt-fly .6s both; animation-delay: calc(var(--i) * 100ms); }
.nxt__docs button { border: 0; cursor: pointer; padding: 6px 12px; border-radius: 99px; font: inherit; font-size: 12px; font-weight: 800; background: #14b8a6; color: #062a26; }
.nxt__docs small { font-size: 11px; color: rgba(238, 243, 248, .5); }
.nxt__sheet { padding: 18px 20px; border-radius: 6px; background: #fbf6ec; color: #1c1a17; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); font-size: 13px; transform: rotate(1deg); }
.nxt__sheet.is-in { animation: nxt-fly .5s both; }
.nxt__sheet h4 { margin: 0 0 12px; text-align: center; font-size: 17px; letter-spacing: .2em; }
.nxt__sheet p { margin: 0 0 8px; } .nxt__sheet small { display: block; margin-top: 10px; color: #6b655c; font-size: 11px; }
.nxt__sheet .nxt__amt { padding: 8px 0; border-bottom: 1px solid #c9c1b2; font-weight: 800; }
.nxt__sheet .nxt__line2 { padding-bottom: 6px; border-bottom: 1px dashed #d6d0c4; color: #4a453d; }
.nxt__past { display: grid; gap: 2px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #e7f6f2; color: #0f5148; }
.nxt__past b { font-size: 11.5px; } .nxt__past span { font-size: 14px; font-weight: 800; }
.nxt__more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: rgba(238, 243, 248, .6); }
.nxt__more span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: rgba(238, 243, 248, .85); }
@media (prefers-reduced-motion: reduce) { .nxt__pitem, .nxt__cal, .nxt__calbar span, .nxt__docs li, .nxt__sheet.is-in, .nxt__go { animation: none !important; } }
/* 2026-10-11 星が灯ると scale が SVG 全体の中心で効き、星が左へずれて「戻る」に重なっていた（元からの不具合）→ 星そのものの中心で */
.nxt__shape { transform-box: fill-box; }
.nxt__calbar span:nth-child(even) small { top: -24px; }
.nxt__cal { padding-top: 30px; }
.nxt__scene .nxt__sample { z-index: 2; background: rgba(8, 14, 30, .8); }
.nxt__draftrow { margin-top: 22px; }
.nxt__docs small { white-space: nowrap; }
/* 2026-10-11 狭い画面で場面が背の高さを超えると、中央寄せ（align-self:center）で上へはみ出し、見出しと星の帯に重なっていた → 上から並べる */
@media (max-width: 900px) { .nxt__stage { align-self: start; } }
@media (max-width: 700px) { .nxt__lanes section { min-height: 0; } }
.nxt__nav { white-space: nowrap; }
/* 2026-10-12 ロールプレイ: スマホで商品名の列が4〜5文字で折り返す → 表は横に流し、商品名に幅を取る。分析の切り替えは右に続きがあると分かるように薄く */
@media (max-width: 700px) {
  .nx-ptable table { min-width: 760px; }
  .nx-ptable td:nth-child(2), .nx-ptable th:nth-child(2) { min-width: 180px; }
  .nx-anav { display: flex; flex-wrap: wrap; overflow: visible; max-width: 100%; }   /* 2026-10-12: 右を薄くしても行き先が読めなかった → 折り返して全部見せる */
}
/* 2026-10-12 ロールプレイ: スマホで長い会社名が上部の右端からはみ出していた（403px）→ 名前は省略して収める */
@media (max-width: 640px) {
  .nx-acct { max-width: 46vw; min-width: 0; }
  .nx-acct summary { min-width: 0; max-width: 100%; }
  .nx-acct__name { display: inline-block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  .nx-acct__panel { right: 0; left: auto; max-width: calc(100vw - 24px); }
}
.nx-fit__ngalert { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: #9d2a1f; font-size: 13px; font-weight: 800; }
.nx-tabbar.is-off { display: none !important; }
/* お問い合わせのフォーム（2026-10-12） */
.lg-form { display: grid; gap: 12px; max-width: 560px; margin: 8px 0 0; }
.lg-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.lg-form input, .lg-form select, .lg-form textarea { font: inherit; font-weight: 400; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.lg-form button { justify-self: start; }
.lg-note { font-size: 12px; color: var(--ink-3); margin: 0; }
.lg-ok { padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.lg-err { padding: 10px 14px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); font-weight: 700; font-size: 13px; }
.lg-err p { margin: 2px 0; }
.nx-deadline-note { margin: 0 0 8px; font-size: 12px; color: var(--ink-3); }
/* 検討中: 開札日の前の結果ボタン・結果の記録（2026-10-12） */
.pp-opennote { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.pp-resinfo { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; } .pp-resinfo em { display: block; font-style: normal; color: var(--ink-3); }
.pp-resdlg { border: 0; border-radius: 16px; padding: 18px 20px; max-width: 420px; width: calc(100% - 32px); background: var(--sheet); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.pp-resdlg::backdrop { background: rgba(0,0,0,.35); }
.pp-resdlg h3 { margin: 0 0 4px; font-size: 16px; } .pp-resdlg__lead { margin: 0 0 10px; font-size: 12px; color: var(--ink-3); }
.pp-resdlg label { display: grid; gap: 4px; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pp-resdlg input, .pp-resdlg textarea { font: inherit; font-weight: 400; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.pp-resdlg__act { display: flex; gap: 8px; }
/* 探す: 詳しい条件（2026-10-12） */
.nx-sdetail { flex-basis: 100%; }
.nx-sdetail > summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-2); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.nx-sdetail > summary::before { content: "＋"; } .nx-sdetail[open] > summary::before { content: "－"; }
.nx-sdetail > summary small { color: var(--sky); }
.nx-sdetail__body { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 10px 0 4px; }
.nx-sdetail__prefs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0; max-height: 120px; overflow: auto; font-size: 12.5px; }
.nx-sdetail__prefs legend { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 0 4px; }
.nx-sdetail__prefs label { display: inline-flex; gap: 3px; align-items: center; }
.nx-sdetail__terms { max-height: none; }
.nx-sdetail__note { flex-basis: 100%; margin: 0; font-size: 11.5px; color: var(--ink-3); }
.nx-chipbtn { font: inherit; font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink-2); cursor: pointer; }
.nx-sdetail, .nx-sdetail__body { min-width: 0; max-width: 100%; }
.nx-sdetail__body .nx-flabel { flex-wrap: wrap; max-width: 100%; }
.nx-sdetail__prefs { max-width: 100%; box-sizing: border-box; }
@media (max-width: 720px) { .nx-sdetail__body input[type=date] { max-width: 9.5em; } }
/* 資料の読み取りの確認役・資料と違う項目（2026-10-12） */
.nf-issue { margin: 0 0 6px; padding: 6px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 12.5px; font-weight: 700; }
.nxi-checked { color: var(--warn); }
.nx-conflicts { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-conflicts h2 { margin: 0 0 4px; font-size: 15px; } .nx-conflicts h2 small { color: var(--warn); }
.nx-conflicts__lead { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-2); }
.nx-cfrow { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }   /* 資料と違う項目の行（10/19 L5-2: 確かめの窓の .nx-conflict と名前がぶつかり、行が全画面の膜になった → 名前を分けた） */
.nx-ask p { white-space: pre-line; }
.ax-chip.is-zero { opacity: .55; }
/* ホームの「→」の文字リンクが高さ 23〜25px（台帳 10/13: スマホの押せる部品は32px以上）。見た目は変えず、上下に見えない押せる範囲を足す（10/18 第6周 R6D-4） */
@media (max-width: 600px) { .nx-dash header > a, .nx-dash__kpi dd > a, .nx-cal__foot > a { display: inline-block; padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; } }
.nh-groups { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 4px; } .nh-groups__k { font-size: 13px; font-weight: 800; color: var(--ink-3); margin-right: 4px; }   /* 価格の相場の比べる金額（R6C-12） */   /* いまの条件で0件の地域（R6C-16） */
.ax-mine__err { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--bad); }   /* 見積りの金額を読めなかったとき（10/18 R6C-3） */   /* 確かめの窓の文の改行（\n）をそのまま（10/18 R6B-16） */
.nx-cfrow em { font-style: normal; font-weight: 700; } .nx-cfrow__act { display: flex; gap: 6px; margin-left: auto; }
/* 事業所・チームの地域と登録（2026-10-12） */
.nx-teamarea { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-teamarea__lead { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-3); }
.nx-teamarea__row { padding: 8px 0; border-top: 1px solid var(--line); }
.nx-teamarea__k { display: grid; gap: 4px; font-size: 13px; } .nx-teamarea__k small { color: var(--ink-3); font-size: 11.5px; }
.nx-teamarea__k textarea { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); }
.nx-teamarea__co { margin: 4px 0; font-size: 12px; color: var(--ink-3); }
.nx-teamarea__act { display: flex; gap: 8px; align-items: center; } .nx-teamarea__st { font-size: 12px; color: var(--ink-2); }
.nx-unit__meta .is-own { color: var(--sky); font-weight: 700; }

/* ═══════════ 2026-10-12 UI の見直し（競合との比較・性格の違う利用者の試験・スマホを重点に） ═══════════ */
/* 探す（PC）: 閉じた「詳しい条件」が1行を占め、「絞り込む」が3行目に落ちて一覧が約170px 下がっていた。閉じている間は同じ行に並べる */
.nx-sdetail:not([open]) { flex-basis: auto; }
/* 探す: 条件を畳むボタンはスマホだけ */
.nx-ftoggle { display: none; }
@media (max-width: 760px) {
  /* 上の帯と下のタブは、後ろの文字が透けて読みにくかった（すりガラスを濃く） */
  .nx-bar, .nx-tabbar { --lq-tint: rgba(255, 253, 249, .95); }
  /* 案件ページの AI のボタンの列は、スマホでは画面に貼り付けない（上の帯・下のタブと合わせて画面の3分の1を覆い、右端のボタンが切れていた） */
  .nx-b-actions { position: static; flex-wrap: wrap; overflow: visible; }
  .nx-b-actions .nx-act { white-space: normal; }
  /* 案件ページの日付カード: 幅がばらばらで段がそろわなかった → 2列の同じ幅 */
  .nx-keyline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-keyline__i { min-width: 0; }
  /* 案件の題名: 26px で3〜4行に折り返し、本文が画面の外へ押し出されていた */
  .nx-b-brief__title { font-size: 22px; line-height: 1.4; }
  .nx-keyline dd { white-space: normal; }
  /* 探す: 条件は「絞り込み」で開く。検索窓・？・ボタンを1行に */
  .nx-ftoggle { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; cursor: pointer;
    font: 800 13px var(--f-jp); color: var(--ink); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
  .nx-ftoggle small { font-size: 11px; color: var(--acc); }
  .nx-ftoggle[aria-expanded="true"] { background: var(--acc-soft); color: var(--acc); }
  .nx-stool .nx-qbox { flex: 1 1 0; }
  .nx-stool__row--f { display: none; }
  .nx-stool.is-fopen .nx-stool__row--f { display: flex; }
  /* 探す（スマホ）の一覧の行: 日付の列（70px）をやめて件名を全幅に。日付と照合の札は件名の上の小さな1行、検討する・見送るは札の行の右 */
  .nx-searchpage--top .nx-srow { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 10px 12px; }
  .nx-searchpage--top .nx-srow__date { display: flex; align-items: center; gap: 8px; }
  .nx-searchpage--top .nx-srow__date b { font-size: 13px; color: var(--ink-3); }
  .nx-searchpage--top .nx-srow__date .nx-chip2 small { display: inline; margin-left: 4px; }
  .nx-searchpage--top .nx-srow__chips { padding-right: 0; }
  .nx-searchpage--top .nx-srow__date { min-height: 30px; padding-right: 136px; }
  .nx-searchpage--top .nx-srows li { position: relative; }
  .nx-searchpage--top .nx-srows li > .nx-cs { position: absolute; right: 10px; top: 8px; bottom: auto; margin: 0; }
  /* 保存した条件は横に流す1行（2行に折り返して一覧を押し下げていた） */
  .nx-stool__sub .nx-saved { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .nx-stool__sub .nx-saved > * { flex: none; }
  .nx-searchpage--top .nx-deadline-note { font-size: 11.5px; line-height: 1.5; margin: 0 10px 6px; }
  .nx-searchpage--top .nx-srows li > .nx-cs .nx-cs__b { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .nx-searchpage--top .nx-srows li:not(:has(> .nx-cs)) .nx-srow__chips { padding-right: 0; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar, :where(:root:not([data-scheme="light"])) .nx-tabbar { --lq-tint: rgba(24, 27, 35, .95); } } /* scheme-mirror */ @media (max-width: 760px) { :where(:root[data-scheme="dark"]) .nx-bar, :where(:root[data-scheme="dark"]) .nx-tabbar { --lq-tint: rgba(24, 27, 35, .95); } }
/* 「この端末でよく開く順に並べています」は、display の指定が hidden を打ち消して、並べ替えていなくても常に出ていた（2026-10-12） */
.nx-adapt[hidden], .nx-plan[hidden] { display: none; }
@media (max-width: 760px) {
  /* ホーム（スマホ）: 空の上の上の帯も、下へ送ると件数の文字が透けて重なって見えた → 濃い紺の板に */
  .nx-on-sky .nx-bar { --lq-tint: rgba(14, 18, 34, .9); }
  /* ホーム（スマホ）: 地図・件数・ニュースの窓で約1,450px あり、「関連性ありそうな案件」の一覧まで2画面近く送る必要があった。
     ニュースの窓は高さを決めて中で送る（地図とニュースは既定で出す決定は変えない） */
  .nx-sig { max-height: 340px; }
}
/* 締切の札の「あとN日」（2026-10-12） */
.nx-mk.is-due b { margin-left: 5px; padding-left: 5px; border-left: 1px solid currentColor; font-weight: 900; }
.nx-mk.is-due.is-near { color: #9a3412; background: #fff3e6; box-shadow: 0 0 0 1px #f8c99a inset; }
/* 使っている条件の札（スマホで条件を畳んでいるときだけ。PC は条件の欄がいつも見えている） */
.nx-fchips { display: none; }
@media (max-width: 760px) {
  .nx-stool:not(.is-fopen) .nx-fchips { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .nx-fchip { margin: 0; }
  .nx-stool .nx-fchips { padding: 0; margin: 0; }
  .nx-fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; cursor: pointer;
    font: 800 12.5px var(--f-jp); color: var(--acc); background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc-2) inset; }
  .nx-fchip::after { content: "×"; font-size: 14px; opacity: .8; }
  /* 条件を開いたときは「絞り込む」を欄の下に貼り付け、指で届く所に（競合の NJSS） */
  .nx-stool.is-fopen .nx-stool__row--f > button[type="submit"] { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 4; width: 100%; min-height: 44px;
    font-size: 15px; color: #fff; background: var(--accent-grad, var(--acc)); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
}
/* 入口の「うち受付中 N件・過去の落札結果を含む」: 暗い空の上に暗い茶色（--ink-3）で、ほとんど読めなかった（2026-10-12 試験の事務員役） */
.nx-wel__stats .nx-wel__sub { color: rgba(238, 243, 248, .78); }
/* 案件ページ（PC）: 貼り付いた AI のボタンの列の、ボタンの間から下の本文が透けて重なって見えた → 列の後ろに薄い板 */
@media (min-width: 761px) {
  .nx-b-actions { margin-left: -8px; margin-right: -8px; padding: 6px 8px; border-radius: 18px;
    background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nx-canvas--pane .nx-b-actions { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; margin: 0; padding: 4px 0; }
}
/* 上の帯（PC）: 0.84 では下へ送った本文の文字が帯の中に読めるほど透け、ボタンの字と重なった（試験の若手営業役・現場事務員役）→ すりガラスの見た目は残して濃く */
.nx-bar { --lq-tint: rgba(255, 252, 246, .94); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar { --lq-tint: rgba(24, 27, 35, .95); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-bar { --lq-tint: rgba(24, 27, 35, .95); } }
/* 空の上の上の帯（暗い板）では、進行中の作業・お知らせのアイコンを明るく（暗い茶色のままで沈んでいた。2026-10-12） */
.nx-on-sky .nx-bar .nx-bell, .nx-on-sky .nx-bar .nx-ntf { color: #fbf6ec; }
/* 検討中のカード（2026-10-12）: 結果待ちの「開札 ○/○ のあとに結果を記録」とボタンが1行に押し込まれ、ボタンの字が縦に1字ずつ折れていた → 注意は1行、ボタンは次の行 */
.pp-card .nx-deck__act { flex-wrap: wrap; }
.pp-card .nx-deck__act .nx-btn { white-space: nowrap; }
/* カードは右上に「申込 あとN日」があるので、しるしの「あとN日」は重ねて出さない */
.pp-card .nx-mk.is-due b { display: none; }
.nx-aimeter__day { white-space: nowrap; }
@media (max-width: 760px) { .nx-aimeter .dc-meter { width: 140px; } }
/* 紹介ページの「Polaris でできること」の補足: 小さく薄くて読めない（試験の老眼の社長役・古いノートPCの事務員役）→ 1段濃く・少し大きく */
.nx-prochk__list small { font-size: 13.5px; color: var(--ink-2); }
/* 軽い表示: 上の帯を包む外枠（画面幅いっぱい）まで白く塗っていて、帯の左右に白い帯が出ていた（2026-10-12 表示の点検「上部のバーが崩れた」）。塗るのは帯だけ */
.nx-lite .nx-top { background: transparent !important; }

/* ═══════════ 2026-10-12 すりガラスをやめる（「軽い表示が要るほど凝っているなら抑えてよい。見やすさが一番。多少の最新感は残したい」） ═══════════
   GPU のない環境で測ると、ホームは 1秒22回 → ぼかしを外すだけで 60回（空の動きを外すと33回、地図はほぼ影響なし）。
   重さの主因は後ろをぼかす処理（backdrop-filter）で、後ろの空が動くたびにぼかしを計算し直していた。
   → ぼかしはやめ、部品の下に地の色（--lq-base）を敷いて、ほぼ不透明の板にする。角の丸み・薄い影・上の光る縁（::before）は残す。 */
*, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.lq { will-change: auto; background: linear-gradient(var(--lq-tint), var(--lq-tint)), var(--lq-base, var(--sheet)); }
/* 暗い空・暗い面の上の部品は紺の地 */
.nx-deck-hero .lq, .nx-on-sky .nx-bar, .lq-on-dark, .nx-dk .lq, .nx-wel .lq { --lq-base: #111a30; }
.nx-on-sky .nx-bar { --lq-tint: rgba(14, 18, 34, .6); }

/* ═══════════ 2026-10-13 UI の見直し その6（試験の所見 1,393件の仕分け docs/ui_review/TRIAGE_UI_20261013.md から） ═══════════ */
/* 貼り付く帯（会社情報の進み具合・案件ページの AI のボタンの列）は、ぼかしをやめたので地を不透明に（後ろの本文が透けて重なっていた） */
.nx-flow { background: var(--sheet); }
@media (min-width: 761px) { .nx-b-actions { background: var(--paper); } .nx-canvas--pane .nx-b-actions { background: none; } }
/* 本文も言葉の切れ目で折り返す（「収録の範／囲」「株式会／社」のように語の途中や最後の1字で折れていた。見出しだけだった auto-phrase を全体へ。
   入りきらない長い語だけは途中で折る＝break-word。対応していないブラウザは今までどおり） */
body { word-break: auto-phrase; overflow-wrap: break-word; }
input, textarea, select, pre, code, .nx-pgnum, .nx-clock { word-break: normal; }
.nx-fit__verdict { white-space: nowrap; }
.nx-fit__head > p { grid-column: 2 / -1; }
@media (max-width: 760px) { .nx-fit__head > p { grid-column: 1 / -1; } }
/* スマホの上の帯: 会社名は「【RP】株…」のように数文字で切れて読めなかった → 頭文字の丸だけ（正式名はメニューの一番上に出ている） */
@media (max-width: 640px) { .nx-acct__name { display: none; } }
/* 毎朝のお知らせ: 件名が1行で切れて、右が空いているのに読めなかった → 2行まで */
.dg-row__main b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
/* 指で操作する端末では「Shift キーで」「ドラッグして」などの案内を出さない（2026-10-13 試験: スマホに出ていた）。data-hover-only を付けた所だけ */
@media (hover: none) { [data-hover-only] { display: none !important; } }
/* お知らせの設定（スマホ）: 表の見出しが消えて、スイッチと「すぐ／毎朝まとめて／送らない」が何の設定か分からなかった（2026-10-13 試験）→ 各行に小さな札 */
@media (max-width: 760px) {
  .nt-mx tbody td:nth-child(2), .nt-mx tbody td:nth-child(3) { display: flex; align-items: center; gap: 10px; }
  .nt-mx tbody td:nth-child(2)::before { content: "画面"; flex: 0 0 3.6em; font-size: 12px; font-weight: 800; color: var(--ink-2); }
  .nt-mx tbody td:nth-child(3)::before { content: "メール"; flex: 0 0 3.6em; font-size: 12px; font-weight: 800; color: var(--ink-2); }
}
.nx-price__trial { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--ok, #0f766e); }
.nh-bars--price li { grid-template-columns: 9.5em minmax(0, 1fr) 56px; }   /* 「10万円〜50万円」が入る幅（2026-10-13） */
/* ホームの「このうち自社に合う…を『探す』で見る →」が折り返さず、スマホで横に 508px まではみ出した（2026-10-13 文を長くしたとき）→ 狭い幅では折り返す */
@media (max-width: 760px) { .nx-sechead .nx-link, .nx-link { white-space: normal; } }

/* ═══════════ 2026-10-13 入口: 見出しの折り返しと「Polaris（有料ツール）ではこんなことができます」（指示） ═══════════ */
.nx-nw { white-space: nowrap; }
/* 一覧: 表の枠と線（白い地・細い線・角丸）。項目を押すと説明と画面の例が開く（1つ開くとほかは閉じる） */
.pf { width: min(860px, calc(100% - 32px)); margin: 56px auto 0; interpolate-size: allow-keywords; }
.pf__h { margin: 0 0 14px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; line-height: 1.4; }
.pf__br { display: none; }
@media (max-width: 520px) { .pf__br { display: inline; } }
.pf__list { background: var(--sheet); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset, 0 18px 40px -28px rgba(20, 30, 50, .35); }
.pf__i + .pf__i { border-top: 1px solid var(--line); }
.pf__i > summary, .pf__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 18px; list-style: none; }
.pf__i > summary { cursor: pointer; transition: background .2s; }
.pf__i > summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .pf__i > summary:hover { background: var(--sheet-2); } }
.pf__i > summary:focus-visible { outline: 2px solid var(--ai, #2458a8); outline-offset: -2px; }
.pf__ic circle { fill: color-mix(in srgb, var(--ai, #2458a8) 14%, transparent); }
.pf__ic path { fill: none; stroke: var(--ai, #2458a8); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pf__t { display: grid; gap: 2px; min-width: 0; }
.pf__t b { font-size: 15.5px; line-height: 1.4; }
.pf__t small { font-size: 13px; color: var(--ink-2); }
/* ▼: 開くと上向きに回る */
.pf__chev { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line) inset; transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
.pf__chev::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); }
.pf__i[open] .pf__chev { transform: rotate(180deg); background: color-mix(in srgb, var(--ai, #2458a8) 12%, var(--sheet)); }
.pf__i[open] > summary { background: color-mix(in srgb, var(--ai, #2458a8) 5%, var(--sheet)); }
/* 開くときは高さがなめらかに伸びる（対応していないブラウザはそのまま開く） */
.pf__i::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.2, .8, .2, 1), content-visibility .4s allow-discrete; }
.pf__i[open]::details-content { block-size: auto; }
.pf__body { padding: 2px 18px 18px 52px; }
.pf__body p { margin: 0 0 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
/* 画面の例: 少し下から、ぼかしが抜けて現れる */
.pf__shot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line), 0 22px 44px -26px rgba(20, 30, 50, .45); }
.pf__shot img { display: block; width: 100%; height: auto; opacity: 0; transform: translateY(14px) scale(.985); filter: blur(6px); transition: opacity .5s ease .08s, transform .6s cubic-bezier(.2, .8, .2, 1) .08s, filter .5s ease .08s; }
.pf__i[open] .pf__shot img { opacity: 1; transform: none; filter: none; }
.pf__shot.is-tall { max-width: 340px; margin: 0 auto; }
.pf__note { margin: 10px 4px 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 640px) {
  .pf__i > summary, .pf__row { padding: 13px 14px; gap: 10px; }
  .pf__body { padding: 0 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .pf__i::details-content, .pf__shot img, .pf__chev { transition: none; } }
.nx-lite .pf__shot img { transition: none; filter: none; }
.nx-wel2:has(> .nx-wel2__foot:only-child) { margin-top: 28px; }
.pf__shot { max-width: 640px; }   /* PC で見積書の例が1画面を超えていた */

/* ═══════════ 2026-10-13 スマホは丸みの大きい枠を使わない（「曲線の枠は無理に使わない。文字が中央に来ない・はみ出す所があり、作り物感が出る。
   綺麗にまとまる枠でシンプルに」）。スマホの主な画面で角の丸み 14px 以上の部品を数えて（docs/ui_review/_scripts/radius_scan.py）、
   上の帯・下のタブ＝画面幅いっぱいの平らな帯、カード・枠＝角 10px、ボタン・札＝角 8px にそろえる。丸いことに意味がある部品（スイッチ・顔の丸・件数の丸・上へ戻る）は丸のまま。 ═══════════ */
@media (max-width: 760px) {
  /* 上の帯: 浮いた丸い板 → 画面幅いっぱいの帯（下に細い線） */
  .nx-top { top: 0; }
  .nx-bar { width: 100vw; height: 56px; border-radius: 0; border-width: 0 0 1px; border-color: var(--line); box-shadow: none; padding: 0 8px 0 14px; }
  .nx-bar.lq::before, .nx-bar.lq::after, .nx-tabbar.lq::before, .nx-tabbar.lq::after { display: none; }
  /* 下のタブ: 画面幅いっぱいの帯（上に細い線）。選んでいるタブは丸い背景でなく、色と上の線で */
  .nx-tabbar { left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; border-width: 1px 0 0; border-color: var(--line); box-shadow: none; }
  .nx-tabbar > a, .nx-tabbar__more > summary { border-radius: 0; position: relative; }
  .nx-tabbar [aria-current="page"], .nx-tabbar__more[open] > summary { background: none; color: var(--acc); }
  .nx-tabbar [aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); }
  .nx-tabbar__sheet { left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); border-radius: 0; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .nx-totop { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .nx-toast, .nx-toast2 { bottom: calc(70px + env(safe-area-inset-bottom)); }
  /* カード・枠: 角 6px（10/13 は 10px。10/14 「丸み帯びたやつを多用しすぎて違和感」でさらに控えめに） */
  .lq, .nx-deck, .nx-unit, .nx-acct__panel, .nx-block, .nf-card, .pf__shot, .pf__list, .nt-card, .ps__art, .nf-sect, .nx-mtile, .nx-qbox, .nx-signup__form,
  .nx-stool, .nx-listpanel, .pr-cta, .nx-flow__meter, .nx-drop, .nx-seg2, .nh-rows, .nh-fcard, .ps-ntf, .ps-win, .nx-cmd, .nx-sig, .nx-rel, .nx-b-brief,
  .pp-kpi, .pp-tl, .pp-ai, .nx-wfilter, .nx-flow, .nx-flow__next, .nf-detail, .nx-worklink, .nh-own, .nx-ptable, .nt-status, .dg-list, .nh-card,
  .nx-wel__polaris, .nx-price__card, .nx-price__table, .nx-kind, .nx-run, .nx-sim, .nx-bellwin, .nx-ntfwin, .nx-aimbox, .nx-empty, .nx-keyline__i,
  .nx-pro article, .nx-price__card dl, .nf-sect li, .nx-me__side, .nx-hero, .nx-deck-hero, .nx-wel,
  .nf-input, .cs__in, .nf-addrow, .nf-btn, .nt-seg, .nx-export, .nx-fit__col, .st-item, .nx-matchres, .nx-savebar, .pp-stagetabs, .nx-teamarea, .nx-wf, .nf-sumtext,
  .nx-toast, .nx-setupbub, .nx-psum, .nx-hello, .st-hello, .nx-verifybar, .nx-todo__a, .nx-todo__trial, select,
  .nx-legal__doc, .nx-legal__nav a, .bl-card, .gd-toc { border-radius: 6px; }
  .nx-deck-hero, .nx-hero, .nx-wel { border-radius: 0 0 6px 6px; }
  /* 一覧の行は角を丸めない（行の背景が丸く欠けて見えた） */
  .nx-srow, .nh-rows li, .dg-row { border-radius: 0; }
  /* ボタン・札: カプセル形 → 角 6px（10/13 は 8px） */
  .nx-btn, .nx-cs__b, .pp-left, .pp-who, .nt-st, .nx-obj__kind, .nx-tier, .nx-chip, .nx-docbtn, .nxi-result, .nf-chip, .is-prov, .nx-saved__chip, .cs__pill,
  .pp-taskchip, .pp-aichip, .nx-qbox__go, .nx-wx, .nx-viewbtn, .nx-sheetbtn, .nx-pill, .pr__stage, .nx-fit__verdict, .nx-savestate, .mb-seat, .nx-seg2 a,
  .nx-fchip, .nx-ftoggle, .nx-chip2, .lq-pill-button, .nx-act, .nx-density, .nx-polaris-btn, .nx-start, .nx-stab a, .nx-stool .nx-seg2 a, .nx-pgnum__n,
  .nx-tabbar > a, .dg-left, .pp-histbtn, .nx-chipbtn,
  .nt-ev, .nx-deck__state, .nf-sumchip, .nh-st, .nf-item-state, .nx-rename, .nx-cmd__ai, .nf-sect__tag, .nx-mk { border-radius: 6px; }
  /* 下線つきの文字をボタンの中に置かない（「詳しく見る」が下線つきで中央からずれて見えた） */
  .nx-btn { text-decoration: none; } @media (hover: hover) { .nx-btn:hover { text-decoration: none; } }
}
@media (max-width: 760px) {
  .nx-unittabs a, .nx-unit__meta .is-prov, .ps__ba b, .nx-tl__now > span { border-radius: 6px; }
  .nf-detail summary, .nxi-docs li, .nx-price__faq dl, .pp-hero__buy, .ps-mail, .ps-sum, .pp-trust__grid article { border-radius: 6px; }
  .pp-end { border-radius: 0; }
}
@media (max-width: 760px) {
  /* 上の帯を平らにしたので（高さ 56px）、浮いた帯に合わせていた本文の上の余白（76〜120px）を詰める */
  body .nx-searchpage, body .nx-case, body .nx-judge, body .nx-mepage, body .nh-page, body .nt, body .nx-signup, body .nx-legal, body .nx-deck-hero { padding-top: 68px; }
  body .nx-wel { padding-top: 84px; }
  /* 上の帯・下のタブは角を丸めない（共通の .lq の角 10px に上書きされていた） */
  .nx-bar.lq, .nx-tabbar.lq { border-radius: 0; }
  /* ボタンの文字は上下左右の中央に（「詳しく見る」が上に寄っていた） */
  .nx-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 760px) { .nx-keyline dd small { display: block; } }   /* 「一般／競争入札」と語の途中で折れていた → 「電子入札」は次の行 */

/* ═══════════ 2026-10-13 暗い表示・Safari の崩れ（の iPhone・Safari・暗い表示の画面写真から） ═══════════ */
/* 1. 暗い表示: すりガラスの部品（.lq）の文字色が黒（--lq-text #1c1c1e）のままで、暗い地に黒い文字になっていた（アカウント作成のラベル・種類の見出しなど） */
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-scheme="light"])):not([data-theme-force="light"]) { --lq-text: var(--ink); --lq-text-dim: var(--ink-2); --lq-border: rgba(255, 255, 255, .12); }
} /* scheme-mirror */ @media all {
  :root:where([data-scheme="dark"]):not([data-theme-force="light"]) { --lq-text: var(--ink); --lq-text-dim: var(--ink-2); --lq-border: rgba(255, 255, 255, .12); }
}
/* 2. Safari: 入力欄は自分の決まった幅（Safari では大きい）より縮まず、枠の中の格子や横並びの中で右へはみ出していた（Chrome では起きない）。
      入力欄・選択欄・文の欄は、親の幅まで縮めるようにする */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea { min-width: 0; max-width: 100%; }
.nx-field > input, .nx-field > select, .nx-field > textarea { width: 100%; box-sizing: border-box; }
/* 3. 上の帯の「ログイン」を折り返さない指定（.nx-login）が、同じ名前のページの枠（ログイン・再設定・お支払い・お知らせの画面）にも効いて、
      スマホで説明文が1行のまま右へ伸び、画面が 523px に広がっていた（2026-10-13 全画面の巡回で発見）→ ページの枠は折り返す */
.nx-signup.nx-login { white-space: normal; }
/* 4. 暗い表示: すりガラスの部品の地が明るいクリーム色のまま残り（地の色の上に明るい色を重ねていた）、明るい文字が読めなかった。
      部品の地は暗い面（--sheet）に。空の上の暗い部品（ホームの帯・ニュースなど）は従来どおり紺 */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .lq { background: var(--sheet); }
  :where(:root:not([data-scheme="light"])) .nx-deck-hero .lq, :where(:root:not([data-scheme="light"])) .nx-on-sky .nx-bar, :where(:root:not([data-scheme="light"])) .lq-on-dark, :where(:root:not([data-scheme="light"])) .nx-dk .lq, :where(:root:not([data-scheme="light"])) .nx-wel .lq { background: linear-gradient(var(--lq-tint), var(--lq-tint)), #111a30; }
  /* 白い文字の札: 暗い表示では地（--acc・--sky・--bad・--ok・--ink-3）が明るい色に変わるので、文字を暗く。地が暗いままの橙・紫は白のまま */
  :where(:root:not([data-scheme="light"])) .nx-deck__state:not([data-s="prepare"]), :where(:root:not([data-scheme="light"])) .pp-tl__ev:not(.is-apply):not(.is-open) { color: #0d1117; }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .lq { background: var(--sheet); }
  :where(:root[data-scheme="dark"]) .nx-deck-hero .lq, :where(:root[data-scheme="dark"]) .nx-on-sky .nx-bar, :where(:root[data-scheme="dark"]) .lq-on-dark, :where(:root[data-scheme="dark"]) .nx-dk .lq, :where(:root[data-scheme="dark"]) .nx-wel .lq { background: linear-gradient(var(--lq-tint), var(--lq-tint)), #111a30; }
  /* 白い文字の札: 暗い表示では地（--acc・--sky・--bad・--ok・--ink-3）が明るい色に変わるので、文字を暗く。地が暗いままの橙・紫は白のまま */
  :where(:root[data-scheme="dark"]) .nx-deck__state:not([data-s="prepare"]), :where(:root[data-scheme="dark"]) .pp-tl__ev:not(.is-apply):not(.is-open) { color: #0d1117; }
}
/* 5. 暗い表示で、地の色を白と直に書いていた部品（明るい文字が白い地に乗って読めなかった）と、暗い色の文字のグラデーション。
      暗い表示で明るい地のまま残る部品を全画面で数えて（docs/ui_review/_scripts/darkbg_scan.py）、文字が読めないものを直す */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-dkhead h1 { background: linear-gradient(100deg, #e6fffa 10%, #5eead4 60%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
  :where(:root:not([data-scheme="light"])) .pp-hero h1 em { background: linear-gradient(120deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; background-clip: text; }
  :where(:root:not([data-scheme="light"])) .nx-rel { background: var(--sheet); border-color: var(--line-2); }
  :where(:root:not([data-scheme="light"])) .nx-unittabs a { background: var(--sheet); border-color: var(--line-2); }
  :where(:root:not([data-scheme="light"])) .nx-unittabs a[aria-current="true"] { background: color-mix(in srgb, #14b8a6 18%, var(--sheet)); border-color: #2dd4bf; }
  :where(:root:not([data-scheme="light"])) .nf-card.is-todo { background: var(--sheet); outline-color: var(--line-2); }
  :where(:root:not([data-scheme="light"])) .nf-card.is-todo:focus-within { background: var(--sheet-2); }
  :where(:root:not([data-scheme="light"])) .nf-sect.is-req { background: color-mix(in srgb, #f87171 10%, var(--sheet)); border-color: #b4534d; }
  :where(:root:not([data-scheme="light"])) .nf-sect.is-req.is-ok { background: color-mix(in srgb, #34d399 10%, var(--sheet)); border-color: #2f8f6b; }
  :where(:root:not([data-scheme="light"])) .nf-sect.is-opt { background: var(--sheet-2); border-color: var(--line-2); }
  :where(:root:not([data-scheme="light"])) .nx-flow__meter { background: var(--sheet-2); }
  :where(:root:not([data-scheme="light"])) .nx-flow__meter.is-ok { background: color-mix(in srgb, #34d399 14%, var(--sheet)); }
  :where(:root:not([data-scheme="light"])) .nx-flow__meter.is-miss { background: color-mix(in srgb, #f87171 14%, var(--sheet)); }
  :where(:root:not([data-scheme="light"])) .nx-flow__meter.is-miss em, :where(:root:not([data-scheme="light"])) .nx-flow__meter.is-miss b { color: #fca5a5; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-info { background: color-mix(in srgb, #f59e0b 12%, var(--sheet)); }
  :where(:root:not([data-scheme="light"])) .nx-me { background: #f2ede3; color: #16140f !important; }
  /* 水色・橙の地に白い文字（暗い表示では地が明るくなる） */
  :where(:root:not([data-scheme="light"])) .nx-tl__now span, :where(:root:not([data-scheme="light"])) .nx-cs__b.is-adopt[aria-pressed="true"] { color: #0d1117; }   /* 押した状態（水色の地）だけ。普段は水色の文字 */
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-dkhead h1 { background: linear-gradient(100deg, #e6fffa 10%, #5eead4 60%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
  :where(:root[data-scheme="dark"]) .pp-hero h1 em { background: linear-gradient(120deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; background-clip: text; }
  :where(:root[data-scheme="dark"]) .nx-rel { background: var(--sheet); border-color: var(--line-2); }
  :where(:root[data-scheme="dark"]) .nx-unittabs a { background: var(--sheet); border-color: var(--line-2); }
  :where(:root[data-scheme="dark"]) .nx-unittabs a[aria-current="true"] { background: color-mix(in srgb, #14b8a6 18%, var(--sheet)); border-color: #2dd4bf; }
  :where(:root[data-scheme="dark"]) .nf-card.is-todo { background: var(--sheet); outline-color: var(--line-2); }
  :where(:root[data-scheme="dark"]) .nf-card.is-todo:focus-within { background: var(--sheet-2); }
  :where(:root[data-scheme="dark"]) .nf-sect.is-req { background: color-mix(in srgb, #f87171 10%, var(--sheet)); border-color: #b4534d; }
  :where(:root[data-scheme="dark"]) .nf-sect.is-req.is-ok { background: color-mix(in srgb, #34d399 10%, var(--sheet)); border-color: #2f8f6b; }
  :where(:root[data-scheme="dark"]) .nf-sect.is-opt { background: var(--sheet-2); border-color: var(--line-2); }
  :where(:root[data-scheme="dark"]) .nx-flow__meter { background: var(--sheet-2); }
  :where(:root[data-scheme="dark"]) .nx-flow__meter.is-ok { background: color-mix(in srgb, #34d399 14%, var(--sheet)); }
  :where(:root[data-scheme="dark"]) .nx-flow__meter.is-miss { background: color-mix(in srgb, #f87171 14%, var(--sheet)); }
  :where(:root[data-scheme="dark"]) .nx-flow__meter.is-miss em, :where(:root[data-scheme="dark"]) .nx-flow__meter.is-miss b { color: #fca5a5; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-info { background: color-mix(in srgb, #f59e0b 12%, var(--sheet)); }
  :where(:root[data-scheme="dark"]) .nx-me { background: #f2ede3; color: #16140f !important; }
  /* 水色・橙の地に白い文字（暗い表示では地が明るくなる） */
  :where(:root[data-scheme="dark"]) .nx-tl__now span, :where(:root[data-scheme="dark"]) .nx-cs__b.is-adopt[aria-pressed="true"] { color: #0d1117; }   /* 押した状態（水色の地）だけ。普段は水色の文字 */
}
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-rename { color: #5eead4; -webkit-text-fill-color: #5eead4; background: rgba(94, 234, 212, .14); }   /* 暗い緑の文字が暗い地に沈んでいた */
  /* 一覧のしるし・札: 暗い表示では白い地が光ってまぶしかった → 暗い地にうっすら色を混ぜ、文字を明るく（意味の色は残す） */
  :where(:root:not([data-scheme="light"])) .nx-mk.is-method { color: #93c5fd; background: color-mix(in srgb, #3b82f6 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #3b82f6 40%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-pref, :where(:root:not([data-scheme="light"])) .nx-mk.is-deliv, :where(:root:not([data-scheme="light"])) .nx-mk.is-closed, :where(:root:not([data-scheme="light"])) .nx-tier { color: #cbd5e1; background: color-mix(in srgb, #94a3b8 14%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #94a3b8 35%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-due { color: #6ee7b7; background: color-mix(in srgb, #10b981 14%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #10b981 40%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-due.is-near { color: #fdba74; background: color-mix(in srgb, #f97316 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #f97316 45%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-due.is-soon { color: #fca5a5; background: color-mix(in srgb, #ef4444 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #ef4444 45%, transparent) inset; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-yen { color: var(--ink); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
  :where(:root:not([data-scheme="light"])) .nx-obj__kind { color: #a5d8f0; background: color-mix(in srgb, #38bdf8 14%, var(--sheet)); }
  :where(:root:not([data-scheme="light"])) .is-prov, :where(:root:not([data-scheme="light"])) .nx-tier--ai { color: #fcd34d; background: color-mix(in srgb, #f59e0b 16%, var(--sheet)); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-rename { color: #5eead4; -webkit-text-fill-color: #5eead4; background: rgba(94, 234, 212, .14); }   /* 暗い緑の文字が暗い地に沈んでいた */
  /* 一覧のしるし・札: 暗い表示では白い地が光ってまぶしかった → 暗い地にうっすら色を混ぜ、文字を明るく（意味の色は残す） */
  :where(:root[data-scheme="dark"]) .nx-mk.is-method { color: #93c5fd; background: color-mix(in srgb, #3b82f6 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #3b82f6 40%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-pref, :where(:root[data-scheme="dark"]) .nx-mk.is-deliv, :where(:root[data-scheme="dark"]) .nx-mk.is-closed, :where(:root[data-scheme="dark"]) .nx-tier { color: #cbd5e1; background: color-mix(in srgb, #94a3b8 14%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #94a3b8 35%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-due { color: #6ee7b7; background: color-mix(in srgb, #10b981 14%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #10b981 40%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-due.is-near { color: #fdba74; background: color-mix(in srgb, #f97316 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #f97316 45%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-due.is-soon { color: #fca5a5; background: color-mix(in srgb, #ef4444 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #ef4444 45%, transparent) inset; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-yen { color: var(--ink); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
  :where(:root[data-scheme="dark"]) .nx-obj__kind { color: #a5d8f0; background: color-mix(in srgb, #38bdf8 14%, var(--sheet)); }
  :where(:root[data-scheme="dark"]) .is-prov, :where(:root[data-scheme="dark"]) .nx-tier--ai { color: #fcd34d; background: color-mix(in srgb, #f59e0b 16%, var(--sheet)); }
}
/* 利用ガイド（スマホ）: 上の「〇〇さん、ようこそ」の長い会社名が列を 417px に押し広げ、本文・「次へ」・見本の枠の右端が画面の外に切れていた → 列は画面の幅、上の行は折り返す */
.nxt { grid-template-columns: minmax(0, 1fr); }
.nxt__top { gap: 12px; min-width: 0; }
.nxt__top > * { min-width: 0; }
@media (max-width: 640px) { .nxt__top { padding: 14px 16px; } }
@media (max-width: 900px) { .nxt__stage { grid-template-columns: minmax(0, 1fr); } }   /* 1fr は中の長い行に合わせて広がり、本文が右で切れていた */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-mk i { background: rgba(255, 255, 255, .14); color: inherit; }   /* 「電」の小さな札が白く潰れていた */
  :where(:root:not([data-scheme="light"])) .nx-rel li + li { border-top-color: var(--line); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-mk i { background: rgba(255, 255, 255, .14); color: inherit; }   /* 「電」の小さな札が白く潰れていた */
  :where(:root[data-scheme="dark"]) .nx-rel li + li { border-top-color: var(--line); }
}
@media (max-width: 640px) {   /* 利用ガイドの見本（資料のカード＋「ここへ」の丸）が横に収まらず切れていた */
  .nxt__docrow { gap: 18px; min-height: 140px; }
  .nxt__zone { width: 124px; height: 124px; }
}
.nx-signup__form > *, .nx-field { min-width: 0; }   /* Safari: 格子の中の部品が中身の幅より縮まず、枠からはみ出していた（念のため枠の子すべて） */
/* 6. Safari は「言葉の切れ目で折り返す」（word-break: auto-phrase）に対応しておらず、見出しが「公告を読み、合／う案件」「進むべき道／筋」のように語の途中で折れていた
      → 対応していないブラウザでは、見出しは「、」や空白などの切れ目でだけ折る（入りきらない長い語だけは途中で折る） */
@supports not (word-break: auto-phrase) {
  h1, h2, h3, .pf__t b, .nx-wel__polaris b { word-break: keep-all; overflow-wrap: anywhere; }
}
/* 2026-10-16 デバッグ W-3: Safari でボタン・リンク・札・凡例・質問の見出しが「料金は変わりま｜すか？」「タッ｜プして」のように語の途中で折れた
   → 見出しと同じ直し方を、短い部品にも（本文の段落は対象にしない。入りきらない長い語だけは途中で折る） */
@supports not (word-break: auto-phrase) {
  button, .nx-btn, summary, dt, label > span, .nx-chip, .nx-chip2, .nx-tier, .nx-link, .nx-linkbtn, .nx-legend, .nx-legend *, .pp-tl__legend li,
  .nx-dash__kpi p, .nx-tile > header a, .nx-price__card dt, .nx-faq dt, .ax-lead, .ax-note, .ax-card h3, .ax-card h4 { word-break: keep-all; overflow-wrap: anywhere; }
}
/* 7. 紹介ページ（暗い表示）: 件数の大きな数字と上の「Polaris」が暗い紺のまま暗い地に沈んでいた */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .pp-num { color: #93c5fd !important; }
  :where(:root:not([data-scheme="light"])) .pp-hero__k span { color: #bfdbfe; }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .pp-num { color: #93c5fd !important; }
  :where(:root[data-scheme="dark"]) .pp-hero__k span { color: #bfdbfe; }
}

/* ═══════════ 2026-10-13 午後 仕分けの A の残り（TRIAGE_UI_20261013.md） ═══════════ */
/* A-21 会社情報（スマホ）: 社名の見出しが大きすぎて4行になり、入力欄が最初の画面に入らなかった */
@media (max-width: 640px) { .nx-dkhead h1 { font-size: 24px; line-height: 1.35; } }
/* A-44 指で押す端末では「?」の押せる範囲を 44px 四方に（見た目の大きさはそのまま） */
@media (hover: none) { .nx-q::before { content: ""; position: absolute; inset: -12px; } }
/* A-42 お支払いの下のリンクが「料金プラン・特定商取引法…・利用規約」と一続きに見えた → 間を空けて並べる */
.nx-linkrow { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* A-17 商品が0件のとき: 集計・検索・選択の操作・空の表を出さない（取り込みの入口が下に押し出されていた） */
html.nx-pempty #nx-pstats, html.nx-pempty #nx-ptools, html.nx-pempty #nx-psel { display: none; }
/* 0件のときの「条件を1つ外すと見つかります」（押すとその条件だけ外した探すへ） */
.nx-relax { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 12px; }
.nx-relax__h { flex-basis: 100%; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.nx-relax__a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; font-weight: 800; text-decoration: none;
  color: var(--acc); background: var(--acc-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent) inset; }
.nx-relax__a small { font-size: 12px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 760px) { .nx-relax__a { border-radius: 8px; } }
/* A-43 いま使っている保存した条件が分かりにくかった → 塗りつぶし＋✓ */
.nx-saved__chip.is-on { background: var(--acc); box-shadow: none; }
.nx-saved__chip.is-on a, .nx-saved__chip.is-on button { color: #fff; }
.nx-saved__chip.is-on a::before { content: "✓ "; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-saved__chip.is-on a, :where(:root:not([data-scheme="light"])) .nx-saved__chip.is-on button { color: #0d1117; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-saved__chip.is-on a, :where(:root[data-scheme="dark"]) .nx-saved__chip.is-on button { color: #0d1117; } }
/* A-40 紹介ページ:「数百件の公告をひとつずつ見る」の取り消し線が文字に重なって読みにくかった → 線はやめ、薄い字の「これまで」と「→」で対比 */
.ps__ba s { text-decoration: none; }
.ps__ba s::before { content: "これまで: "; font-size: .85em; font-weight: 700; }
/* A-39 通知の見本: 「新着 5／件」と数字と単位の間で折れていた */
.ps-ntf b, .ps-mail__h { word-break: keep-all; }

/* ═══════════ 2026-10-13 流れの試験（docs/ui_review/FLOWS_20261013.md）から ═══════════ */
/* 保存した条件の札の鈴（毎朝のお知らせの入り切り） */
.nx-saved__ntf { display: inline; }
.nx-saved__ntf button { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; color: var(--ink-3); }
.nx-saved__ntf button.is-on { color: var(--acc); }
.nx-saved__ntf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-saved__chip.is-on .nx-saved__ntf button { color: inherit; }
.nx-savebox__done { font-size: 13px; font-weight: 800; color: var(--ok, #0f766e); }
/* スマホのトースト: 画面の真ん中から広げる作りで幅が画面の半分しかなく、5行に折れて本文に重なっていた → 左右いっぱい */
@media (max-width: 760px) {
  .nx-toast { left: 12px; right: 12px; transform: translateY(24px); text-align: center; }
  .nx-toast.is-on { transform: none; }
  .nx-toast2 { left: 12px; right: 12px; transform: none; justify-content: space-between; }
}
/* スマホのアカウントのメニュー: 中身が 823px あり、画面の高さで切れて下の「軽い表示」などは中で送らないと見えなかった（ボタン点検で発見）→ 項目を2列にして一度に収める */
@media (max-width: 640px) {
  .nx-acct__grp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; }
  .nx-acct__grp > :only-child { grid-column: 1 / -1; }
  .nx-acct__panel a, .nx-acct__panel button { padding: 9px 10px; }
  .nx-acct__panel { max-height: calc(100dvh - 140px); }
}
@media (max-width: 640px) { .nx-acct__panel { width: calc(100vw - 24px); max-width: none; } }   /* 2列の項目が折れないよう、画面の幅いっぱい */
/* 暗い表示の残り（Safari の描画で写真から測定）: 色の変数が文字用の明るい色に変わり、それを地に使うボタン・札の白い文字が薄かった */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-sheetbtn[class], :where(:root:not([data-scheme="light"])) .nx-docbtn { background: linear-gradient(120deg, #8a3aa6, #c8468c); color: #fff; }
  :where(:root:not([data-scheme="light"])) .nx-btn--go:not(.nx-polaris-btn) { background: linear-gradient(120deg, #0f766e, #0d9488); color: #fff; }
  :where(:root:not([data-scheme="light"])) .nx-chip2--ai.is-cond { background: color-mix(in srgb, #f59e0b 18%, var(--sheet)); color: #fcd34d; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-soon dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-soon dd small { color: #fdba74; }
  /* ホームの空の上の時計の秒・日付・天気（薄くて読みにくかった） */
  :where(:root:not([data-scheme="light"])) .nx-clock__s, :where(:root:not([data-scheme="light"])) .nx-clock__date, :where(:root:not([data-scheme="light"])) .nx-corner .nx-wx, :where(:root:not([data-scheme="light"])) .nx-corner .nx-wx * { color: rgba(238, 243, 248, .92); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-sheetbtn[class], :where(:root[data-scheme="dark"]) .nx-docbtn { background: linear-gradient(120deg, #8a3aa6, #c8468c); color: #fff; }
  :where(:root[data-scheme="dark"]) .nx-btn--go:not(.nx-polaris-btn) { background: linear-gradient(120deg, #0f766e, #0d9488); color: #fff; }
  :where(:root[data-scheme="dark"]) .nx-chip2--ai.is-cond { background: color-mix(in srgb, #f59e0b 18%, var(--sheet)); color: #fcd34d; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-soon dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-soon dd small { color: #fdba74; }
  /* ホームの空の上の時計の秒・日付・天気（薄くて読みにくかった） */
  :where(:root[data-scheme="dark"]) .nx-clock__s, :where(:root[data-scheme="dark"]) .nx-clock__date, :where(:root[data-scheme="dark"]) .nx-corner .nx-wx, :where(:root[data-scheme="dark"]) .nx-corner .nx-wx * { color: rgba(238, 243, 248, .92); }
}
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn dd small { color: #fdba74; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn dd small { color: #fdba74; } }   /* 「受付中 残り1日」（部品名は is-warn） */
/* ホームの空の上の時計・日付・天気・件数の補足: 昼の明るい空の上だと白い文字が薄くなる → 文字の後ろに薄い影（空の明るさに関係なく読める） */
.nx-corner, .nx-today__body { text-shadow: 0 1px 8px rgba(6, 12, 28, .55); }
.nx-corner .nx-viewbtn { text-shadow: none; }
.nx-kpi .is-acc dd, .nx-today__line em, .nx-kpi .is-acc dd * { text-shadow: none; }   /* グラデーションで塗った数字は影が透けて濁るので外す */
/* 毎朝のお知らせの右の欄（相手のセッションが本当の設定の表示に替えたもの）: dl の既定の字下げで値が大きくずれ、ボタンの文字が下線つきで中央からずれていた */
.dg-mail { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 10px 0 14px; font-size: 13px; }
.dg-mail dt { font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.dg-mail dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.nh-card > .nx-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* 照合の画面の事業所・チームの切り替え: 折り返さず、事業所の多い会社で右へはみ出して画面が横に動いていた（ボタン点検 PC 1366 で 283px）→ 折り返す */
.nx-mbar { min-width: 0; flex-wrap: wrap; }
.nx-mbar .nx-seg2 { flex-wrap: wrap; max-width: 100%; height: auto; row-gap: 4px; }
/* 案件名は普通に折り返す: 本文を言葉の切れ目で折る指定にしたため、区切りのない長い件名がまとめて次の行へ送られ「令和」だけが1行に残っていた（試験の所見）。
   見出し・ラベルは言葉の切れ目のまま */
.nx-srow__title, .dg-row__main b, .nx-rel__title, .nx-deck h3, .nx-deck__title, .nh-row__t, .pp-tl__name span, .nx-b-brief__title { word-break: normal; }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) input::placeholder, :where(:root:not([data-scheme="light"])) textarea::placeholder { color: #8f97a6; opacity: 1; }   /* 暗い表示で入力例が暗い灰色で読みにくかった */
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) input::placeholder, :where(:root[data-scheme="dark"]) textarea::placeholder { color: #8f97a6; opacity: 1; }   /* 暗い表示で入力例が暗い灰色で読みにくかった */
}
.nx-deck__body > b { word-break: normal; }   /* 検討中のカードの案件名も普通に折り返す */

/* ═══════════ 2026-10-13 2回目の流れの試験（docs/ui_review/FLOWS2_20261013.md）から ═══════════ */
/* #9 お知らせの一覧（スマホ）: 札・件名・時刻の3列のままで、件名が切れ時刻が画面の外に出ていた → 札と時刻を上の1行、件名をその下に */
@media (max-width: 760px) {
  .nt-list a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .nt-list a > :first-child { grid-column: 1; justify-self: start; }
  .nt-list a > time { grid-column: 2; grid-row: 1; }
  .nt-list a > b, .nt-list a > strong, .nt-list a > span:not(:first-child) { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; }
  .nt-list small { grid-column: 1 / -1; }
}
/* #10 検討中のカード（PC）: 右上のチェック欄が「申込 あと7日」などの札に重なり、長い件名がカードの右で切れていた */
.pp-card .nx-deck__top { padding-right: 46px; }
.pp-card .nx-deck__body > b { overflow-wrap: anywhere; }
/* #18 タスク（スマホ）: 期日と×が2行目に折れて×の位置がそろわなかった → ×はいつも1行目の右端 */
@media (max-width: 640px) {
  .pr-task { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .pr-task > label { grid-column: 1; }
  .pr-task > .pr-x { grid-column: 2; grid-row: 1; }
  .pr-task > :not(label):not(.pr-x) { grid-column: 1; justify-self: start; margin-left: 24px; }
}
/* #19 案件ページ（PC）: 上に貼り付く「AIに分析してもらう…」の帯が、下へ送る本文の節の見出しを隠していた → PC でも貼り付けない（スマホと同じ） */
@media (min-width: 761px) { .nx-b-actions { position: static; background: none; padding: 4px 0; margin: 0; } }
/* #13 アカウントのメニュー（PC）: 中身が画面の高さを超え、下のログアウトなどは中で送らないと見えなかった → PC でも項目を2列にして一度に収める */
@media (min-width: 641px) {
  .nx-acct__panel { min-width: 360px; }
  .nx-acct__grp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; }
  .nx-acct__grp > :only-child { grid-column: 1 / -1; }
}
/* メールアドレスの確認がまだのときの帯（はじめての利用の流れの試験 #4） */
.nx-verifybar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 14px; padding: 10px 14px; border-radius: 10px;
  background: color-mix(in srgb, #f59e0b 14%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #f59e0b 45%, transparent) inset; color: var(--ink); font-size: 13.5px; text-shadow: none; }
.nx-verifybar b { color: #92400e; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-verifybar b { color: #fcd34d; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-verifybar b { color: #fcd34d; } }
.nx-verifybar .nx-btn { min-height: 34px; }
.nf-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 10px 4px 2px; font-size: 14px; font-weight: 800; }
.nf-next a { color: var(--acc); }
.nf-next small { flex-basis: 100%; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
/* ホームの「はじめにやること」とお試しの残り日数（空の上・控えめに1行） */
.nx-todo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; text-shadow: none; }
.nx-todo__h { font-size: 12.5px; font-weight: 800; color: rgba(238, 243, 248, .85); }
.nx-todo__a, .nx-todo__trial { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; text-decoration: none; }
.nx-todo__a { color: #0d1117; background: #fcd34d; }
.nx-todo__trial { color: #eef3f8; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset; }
@media (max-width: 760px) { .nx-todo__a, .nx-todo__trial { border-radius: 8px; } }

/* 文字の下限を上げたら、予定表の日付の見出しで「10月」の札が日付の数字に重なった → スマホでは見出しの行を高く */
@media (max-width: 760px) { .pp-tl__row--days { min-height: 80px; } }

/* ═══ 2026-10-13 物品の会社の流れの試験（docs/ui_review/FLOWS4_GOODS_20261013.md）から ═══ */
/* #10 スマホの取り込み: 列の対応の表が横に広く「意味」を選ぶ欄が画面の外（x=477〜685）だった → 1列ずつ縦に（列名・中身の例・意味の選択） */
@media (max-width: 640px) {
  .nx-ptable.is-map table, .nx-ptable.is-map tbody, .nx-ptable.is-map tr, .nx-ptable.is-map td { display: block; width: auto; }
  .nx-ptable.is-map thead { display: none; }
  .nx-ptable.is-map tr { padding: 10px 2px; border-top: 1px solid var(--line); }
  .nx-ptable.is-map td { padding: 2px 4px; border: 0; }
  .nx-ptable.is-map td:nth-child(2) { font-size: 12px; color: var(--ink-3); }
  .nx-ptable.is-map td:nth-child(2)::before { content: "例: "; }
  .nx-ptable.is-map select { width: 100%; margin-top: 4px; }
  .nx-ptable.is-map table, .nx-ptable.is-map td { min-width: 0 !important; }   /* 一覧の表の min-width 760px が列の対応の表にも効き、横に動いて選ぶ欄が切れた（10/18 rt8） */
}

/* ═══ 2026-10-13 テンプレート・JS に直書きされていた見た目を CSS へ（相手のセッションがの急ぎの依頼で入れたもの） ═══ */
/* パスワードの「表示／隠す」（next.js が type="password" をすべて .nx-pwwrap で包む） */
.nx-pwwrap { position: relative; display: block; }
.nx-pwin { width: 100%; box-sizing: border-box; padding-right: 64px !important; }
.nx-pwbtn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 40px; min-width: 56px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; opacity: .8; font: inherit; font-weight: 700; cursor: pointer; }
.nx-pwbtn[aria-pressed="true"] { opacity: 1; background: var(--sheet-2); } @media (hover: hover) { .nx-pwbtn:hover { opacity: 1; background: var(--sheet-2); } }
/* 案件ページのアカウントなしの案内（短い形）の見出し: ロゴの右に「Polaris で確かめる」 */
.nx-anoncta__h { display: flex; align-items: center; gap: 8px; }
/* 直書きの文字の大きさを部品に（スマホの文字の下限の仕組みが効くように） */
.nh-note-s { font-size: 12px; margin: 8px 0 0; }
span.nh-note-s { margin: 0; font-size: 12.5px; }
.nh-note-warn { color: #9a4a08; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nh-note-warn { color: #fdba74; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nh-note-warn { color: #fdba74; } }
.nx-fit__none { margin: 0; font-size: 12.5px; }

/* ═══ はじめにやること（2026-10-13 初回の導線。中身は next_setup.tasks。知見: docs/ui_review/ONBOARDING_RESEARCH_20261013.md）
   赤は「必須の残り」と「メール未確認」だけ。任意・お試しは赤くしない。済んだらすぐ消える（数は tasks の答えのまま） ═══ */
.nx-bar__tools { position: relative; }
.nx-acct > summary, .nx-acct--icon > summary { position: relative; }
.nx-setupdot { position: absolute; top: -5px; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center;
  font-size: 12px; font-weight: 900; line-height: 1; color: #fff; background: #c8342d; box-shadow: 0 0 0 2px var(--sheet); pointer-events: none; }
.nx-acct--icon .nx-setupdot { left: 20px; }
.nx-setupbub { position: absolute; top: calc(100% + 12px); right: 0; z-index: 55; display: flex; align-items: center; border-radius: 8px; font-size: 13px; font-weight: 800; line-height: 1.4;
  white-space: nowrap; color: #fff; background: #c8342d; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.nx-setupbub a { padding: 8px 4px 8px 12px; color: #fff; text-decoration: none; }
@media (hover: hover) { .nx-setupbub a:hover { text-decoration: underline; } }
.nx-setupbub__x { min-width: 32px; min-height: 34px; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; cursor: pointer; opacity: .85; }
@media (hover: hover) { .nx-setupbub__x:hover { opacity: 1; } }
.nx-bubx .nx-setupbub { display: none; }
.nx-setupbub { transition: opacity .2s, transform .2s; }
.nx-bubscroll .nx-setupbub { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nx-setupbub::before { content: ""; position: absolute; top: -6px; right: 16px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.nx-acct[open] ~ .nx-setupbub { display: none; }
.nx-acct__setup { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; }
.nx-acct__setup b { padding: 1px 8px; border-radius: 9px; font-size: 12px; color: #fff; background: #c8342d; }
/* スマホの赤い吹き出しが、ページの見出し・数字に重なって読めなかった（10/18 第6周 R6A-10）→ 6秒で消す（アイコンの赤い数字は残る。台帳 10/13 の印は数字が主） */
@media (max-width: 760px) { .nx-setupbub { animation: nx-bubout .4s ease 6s forwards; } }
@keyframes nx-bubout { to { opacity: 0; visibility: hidden; transform: translateY(-6px); } }
@media (max-width: 760px) { .nx-setupbub { right: -2px; } .nx-acct__grp > .nx-acct__setup:only-child { grid-column: 1 / -1; } }
/* スマホ: 吹き出しが本文（ホームの時計など）に重なっていた（相手の指摘）。出ている間だけ本文を吹き出しの分だけ下げる。× で閉じたら元に戻る */
@media (max-width: 760px) {
  :root:not(.nx-bubx) body:has(.nx-setupbub) :is(.nx-searchpage, .nx-case, .nx-judge, .nx-mepage, .nh-page, .nt, .nx-deck-hero, .nx-signup, .nx-legal) { padding-top: 120px; }   /* 10/14: お支払い（.nx-signup）・規約（.nx-legal）が抜けていて重なった */
}

/* ホームの帯（1本: メール未確認 → 必須の残り → お試しの残り） */
.nx-todo__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-right: 6px; padding: 0 5px; border-radius: 10px; font-size: 12px; font-weight: 900; color: #fff; background: #c8342d; }
.nx-todo__a.is-mail { color: #fff; background: #c8342d; }
.nx-todo__h b { margin-left: 4px; color: #ffb4ae; }
a.nx-todo__h { text-decoration: none; } @media (hover: hover) { a.nx-todo__h:hover { text-decoration: underline; } }
.nx-todo__a.is-mail .nx-todo__n { color: #c8342d; background: #fff; }

/* はじめにやること の画面 */
.st-hello { margin: 4px 0 18px; padding: 14px 16px; border-radius: 10px; background: var(--ok-soft); border: 1px solid var(--ok); }
.st-hello__ok { margin: 0 0 4px; font-size: 18px; font-weight: 900; color: var(--ok); }
.st-hello__sub { margin: 0; line-height: 1.7; }
.st-page .nh-head h1 { display: flex; align-items: baseline; gap: 6px; }
.st-left { color: #c8342d; }
.st-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 10px 0 6px; }
.st-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ok); transition: width .4s ease; }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-item { display: flex; gap: 12px; padding: 14px; border-radius: 10px; background: var(--sheet); border: 1px solid var(--line); scroll-margin-top: 84px; }
.st-item:target { border-color: #c8342d; }
.st-item.is-done { background: transparent; }
.st-item.is-done .st-body b { color: var(--ink-3); }
.st-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; font-size: 16px; line-height: 1; color: #fff; background: #c8342d; }
.st-item.is-done .st-num { color: var(--sheet); background: var(--ok); }   /* 暗い表示では --ok が明るい緑なので、✓ は面の色で */
.st-num--later { color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); }
.st-body { flex: 1; min-width: 0; }
.st-body > b { font-size: 16px; line-height: 1.5; }
.st-body p { margin: 6px 0 0; line-height: 1.7; color: var(--ink-2); }
.st-ok { margin-left: 8px; font-size: 13px; color: var(--ok); font-weight: 800; }
.st-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.st-help { margin-top: 10px; }
.st-help summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; color: var(--ink-2); }
.st-help summary::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.st-help[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.st-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-copy code { padding: 4px 8px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.st-note { color: var(--ok) !important; font-weight: 700; }
.st-later { margin-top: 26px; }
.st-later h2 { font-size: 16px; margin: 0 0 8px; color: var(--ink-2); }
.st-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 640px) {
  .st-item { padding: 12px; gap: 10px; }
  .st-act .nx-btn, .st-foot .nx-btn { flex: 1 1 100%; justify-content: center; }
}

/* ═══ スマホの押せる大きさ（2026-10-13 相手の測定: 32px 未満が 検討中 357・お知らせの設定 139。指で押しにくい）
   見た目を変えたくない小さな印（予定表の丸・？）は、見えない押せる範囲を広げる。ボタン・リンクは高さを 34px 以上に ═══ */
@media (max-width: 760px) {
  /* 予定表の丸（22px）: 見た目はそのまま、押せる範囲を 34px に（::after は吹き出しで使っている） */
  button.pp-tl__ev::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
  .pp-chk__in { width: 22px; height: 22px; }
  .nf-helpbtn { position: relative; }
  .nf-helpbtn::before { content: ""; position: absolute; inset: -6px; }
  /* お知らせの設定: 透明な入力を、見えている部品（ラベル）いっぱいに */
  .nt-seg input { inset: 0; width: 100%; height: 100%; margin: 0; z-index: 1; cursor: pointer; }
  .nt-seg span { padding: 8px 12px; }
  .nt-sw input { inset: -10px -6px; }
  /* ボタン・リンク */
  .nx-cs__b, .nx-viewbtn, .nx-qbox__go, .nf-btn, .nx-rename, .nx-mpager__a { min-height: 34px; }
  .nx-pgnum__n { min-width: 36px; min-height: 36px; }
  .nx-saved__chip button { min-width: 34px; min-height: 34px; }
  .nx-seg2 a { min-height: 34px; }
  .nx-foot__links a, .nx-crumbs a, .nx-linkbtn2, .dg-more, .nx-aimbox__pv, .nx-countline__card, .nx-stool__cov, a.nx-todo__h,
  .dc-submit__go, .pp-log__main > a { display: inline-flex; align-items: center; min-height: 32px; }
  .nh-row__title { display: -webkit-box; padding: 4px 0; }   /* 押しやすい高さのまま、2行で「…」の指定（上の -webkit-line-clamp）を消さない（10/18 第6周 R6A-9: inline-block が上書きして3行以上出た） */
  details > summary { min-height: 32px; }
  /* 10/19 L15-6 の残り: 短い足元のリンク（「料金」26px）は幅も32px に。一覧の行の中のリンク（ランキング・会社・発注機関。高さ18〜20px）は、見えない上下の余白で押せる範囲を広げる */
  .nx-foot__links a { min-width: 32px; justify-content: center; }
  .ax-hb__l, a.nh-co, a.nh-org { padding-block: 8px; margin-block: -8px; }
  .nf-next > a { display: inline-block; padding-block: 4px; }   /* 「扱う商品を見る（N件）→」（25px） */
  a.nh-co, a.nh-org { display: inline-block; }
  /* 10/20 r11b m1: 「次の50件 →」27px（a なので min-height が効いていなかった）・準備の「満たすと確認した」「未着手」30px・「作り直す」27px・AI でまとめて見直す 30px・分析の札 29px */
  .nx-mpager__a { display: inline-flex; align-items: center; }
  .pr-mini, .pr-doc__st, .nx-aimbox .nx-btn, .ax-chip { min-height: 32px; }
  .pr-redo { min-height: 32px; display: inline-flex; align-items: center; }
}

/* ═══ スマホの読む文字を 14px に（2026-10-13 3段目: 「見にくいなら16でいい・他が崩れないよう慎重に」）
   対象は読む文（案件の発注者・所在・日付の行、説明・注記、事業所の説明）。しるし・札・ボタン・下のリンク・予定表の件名（幅が狭く省略が増える）は 13px のまま。
   自動の節（mobile_font_floor.py）は同じ部品名の後の指定を読むので、ここで 14px にしたものは自動の節から外れる ═══ */
@media (max-width: 760px) {
  .nx-srow__meta, .nx-searchpage--top .nx-srow__meta, .nx-rel__org, .nx-unit__meta, .nx-unit small, .nx-unit__rd small,
  .nf-detail > summary small, .nf-raw, .nf-next small, .nf-sect__head small, .pr-ainote, .nx-deadline-note, .nx-searchpage--top .nx-deadline-note,
  .nxm-note, .nx-news__m, details.nx-mklegend > p, .nx-mklegend, .pp-left, .pp-card .nx-deck__top .pp-left, .pp-tl__later, .pr-tasks .pp-who,
  .nx-credit, .dc-submit__src, .cs__foot, .nx-aimbox__cl, .nx-worklink small, .nxi-doc__main small,
  .pp-log__main small, .pp-log time, .nt-st, .nt-list small, .nt-list time, .mb-note { font-size: 14px; }
  /* 指定のない <small> はブラウザの既定で親の 0.83 倍になり、自動の節では拾えない（案件ページで 10.8px が残っていた）。スマホでは 13px を下限に */
  small { font-size: max(13px, .83em); }
}

/* ═══ 使い方ガイドのスマホ（2026-10-13 iPhone で崩れが酷い・ガイドは全体を再点検） ═══ */
/* 読み手の札: 輪が回ると札も一緒に回って逆さまになっていた → 札だけ逆に回して、いつも正立させる */
@keyframes nxt-upright { from { transform: rotate(calc(var(--n) * 72deg)) translate(var(--r, 96px)) rotate(calc(var(--n) * -72deg)); }
  to { transform: rotate(calc(var(--n) * 72deg)) translate(var(--r, 96px)) rotate(calc(var(--n) * -72deg - 360deg)); } }
.nxt__orbit span { transform: rotate(calc(var(--n) * 72deg)) translate(var(--r, 96px)) rotate(calc(var(--n) * -72deg)); animation: nxt-upright 6s linear infinite; white-space: nowrap; }
.nxt__orbit.is-done span { animation-duration: 18s; }
.nxt__field > em, .nxt__field > button { white-space: nowrap; }
@media (max-width: 700px) {
  .nxt__top { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .nxt__hello { min-width: 0; line-height: 1.6; }
  .nxt__skip { flex: none; white-space: nowrap; border-radius: 8px; padding: 8px 12px; }
  .nxt__stage { width: calc(100% - 32px); }
  .nxt__scene { border-radius: 12px; }
  .nxt__doc { overflow: hidden; padding: 16px 12px; }
  .nxt__docrow { gap: 20px; min-height: 160px; }
  .nxt__paper { width: 96px; height: 128px; }
  .nxt__paper.is-gone { position: absolute; }
  .nxt__zone { width: 130px; height: 130px; --r: 78px; }
  .nxt__orbit span { --r: 78px; font-size: 12px; width: 72px; margin: -12px 0 0 -36px; }
  /* 項目の行: 1行目に「項目名・値」、2行目に「状態の札（左）・完了（右）」。札が狭い列に押し込まれて1〜2字ずつ縦に折れていた */
  .nxt__field { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 6px 12px; border-radius: 10px; }
  .nxt__field > span { text-align: right; }
  .nxt__field > em { grid-column: 1; justify-self: start; }
  .nxt__field > button { grid-column: 2; justify-self: end; min-height: 34px; padding: 6px 18px; border-radius: 8px; }
  .nxt__field > em:last-child { grid-column: 1 / -1; }
  .nxt__task { border-radius: 10px; }
  /* 星の下の場面の名前は、スマホでは縮んで 5px ほどになり読めなかった → 出さない（「1 / 4」と見出しで分かる） */
  .nxt__label { display: none; }
  /* 見出し: 「入れましょ／う。」のように最後の1字で折れていた → スマホは少し小さく */
  .nxt__text h1, .nxt__final h1 { font-size: 26px; }
}

/* ═══ スマホの登録画面の UX（2026-10-13 拠点・チームの設定と業務の項目の画面） ═══ */
/* 1. iOS は 16px 未満の入力欄に触れると画面を拡大し、横にずれたままになる → 指で操作する端末では入力欄を 16px に（拡大を止める maximum-scale は使わない） */
@media (max-width: 760px), (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=button]):not([type=submit]), textarea, select { font-size: 16px !important; }
}
/* 6. 資料の自動取り込みは、スマホでも一番上に（全部手で入れたあとに気づいていた。以前の「スマホは項目を先に」は取りやめ） */
@media (max-width: 1000px) { .nx-me__grid > .nx-me__side { order: -1; } }
[data-touch-only] { display: none; }
@media (hover: none) { [data-touch-only] { display: inline; } }   /* 指で操作する端末だけの文言（「タップしてファイルを選択」）。隠す側は data-hover-only */
/* 4. 任意の印・照合のボタン */
.nx-opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; vertical-align: middle; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); }
.nx-sechead2 > p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.7; }
.nx-rematch { white-space: nowrap; }
/* 3. 拠点・チームの欄（会社の値入り・会社の値に戻す） */
.nx-teamarea__k textarea { width: 100%; box-sizing: border-box; resize: vertical; overflow: hidden; line-height: 1.6; }
.nx-teamarea__act { flex-wrap: wrap; min-height: 0; }
.nx-teamarea__act:not(:has(> :not([hidden]))) { display: none; }   /* 「会社の値に戻す」が出ていないときは空の行を詰める */
.nx-teamarea__co { margin: 4px 0 0; }
.nx-teamarea .nx-linkbtn { border: 0; background: none; padding: 6px 0; min-height: 32px; font: inherit; font-size: 13px; font-weight: 700; color: var(--acc); text-decoration: underline; cursor: pointer; }
/* 2. 変えたときだけ出る「変更を保存」の帯（画面の下に固定。スマホは下のタブの上） */
.nx-savebar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px;
  width: min(720px, calc(100vw - 24px)); box-sizing: border-box; padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--sheet); color: var(--ink);
  border: 1px solid var(--line-2); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35); }
.nx-savebar[hidden] { display: none; }
.nx-savebar > span { flex: 1 1 0; min-width: 0; font-weight: 700; font-size: 14px; line-height: 1.5; }
.nx-savebar .nx-btn { flex: none; }
.nx-savebar .nx-btn { min-height: 40px; }
@media (max-width: 760px) {
  .nx-savebar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  html.nx-has-savebar .nx-totop { display: none; }
  .nx-dkhead__row { flex-wrap: wrap; gap: 8px; }
  .nx-rematch { width: 100%; justify-content: center; }
}
html.nx-has-savebar body { padding-bottom: 96px; }

/* ═══ 他画面の点検（docs/ui_review/MOBILE_UX_AUDIT_20261013.md）の直し ═══ */
/* 暗い表示: 入力の部品に白い地の決め打ちが残り、薄い文字が白の上に乗っていた（選択肢の札 1.75・「!」2.15 など）。同じ種類をまとめて暗い地に */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nf-chip, :where(:root:not([data-scheme="light"])) .nf-btn, :where(:root:not([data-scheme="light"])) .nf-sumtext { background: var(--sheet-2); box-shadow: 0 0 0 1.5px var(--line-2) inset; color: var(--ink-2); }
  :where(:root:not([data-scheme="light"])) .nf-btn { color: var(--ink); }
  :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="prov"], :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="ai"], :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="doc"] { background: var(--sheet-2); color: #fcd34d; }
  :where(:root:not([data-scheme="light"])) .nf-card.is-todo .nf-ico { color: var(--ink); box-shadow: 0 0 0 2px var(--line-2) inset; }
  :where(:root:not([data-scheme="light"])) .nf-card.is-check .nf-ico { color: #1c1408; }
  :where(:root:not([data-scheme="light"])) .nf-card.is-todo:focus-within { background: var(--sheet); }
  :where(:root:not([data-scheme="light"])) .nx-cs__b.is-skip[aria-pressed="true"] { color: var(--sheet); }
  :where(:root:not([data-scheme="light"])) .pp-aichip__tag { color: var(--sheet); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nf-chip, :where(:root[data-scheme="dark"]) .nf-btn, :where(:root[data-scheme="dark"]) .nf-sumtext { background: var(--sheet-2); box-shadow: 0 0 0 1.5px var(--line-2) inset; color: var(--ink-2); }
  :where(:root[data-scheme="dark"]) .nf-btn { color: var(--ink); }
  :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="prov"], :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="ai"], :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="doc"] { background: var(--sheet-2); color: #fcd34d; }
  :where(:root[data-scheme="dark"]) .nf-card.is-todo .nf-ico { color: var(--ink); box-shadow: 0 0 0 2px var(--line-2) inset; }
  :where(:root[data-scheme="dark"]) .nf-card.is-check .nf-ico { color: #1c1408; }
  :where(:root[data-scheme="dark"]) .nf-card.is-todo:focus-within { background: var(--sheet); }
  :where(:root[data-scheme="dark"]) .nx-cs__b.is-skip[aria-pressed="true"] { color: var(--sheet); }
  :where(:root[data-scheme="dark"]) .pp-aichip__tag { color: var(--sheet); }
}
.pp-aichip__tag { white-space: nowrap; }
.nt-log > summary { list-style: none; cursor: pointer; margin-bottom: 0; min-height: 44px; }
.nt-log > summary::-webkit-details-marker { display: none; }
.nt-log > summary::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.nt-log[open] > summary::after { transform: rotate(-135deg); }
.nt-log[open] > summary { margin-bottom: 8px; }
.nt-build { margin: 0 0 10px; }
.nx-req { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; vertical-align: middle; color: #fff; background: #b8433b; }
/* お知らせの設定: 「保存する」が 2.6 画面ぶん下にあった → スマホでは画面の下（タブの上）に貼り付ける */
@media (max-width: 760px) { .nt-actions { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; padding: 10px 0; background: linear-gradient(to top, var(--paper) 70%, transparent); } }
/* 「入力は自動で保存されます」はボタンに見えていた → 枠をやめて文字だけに */
.nx-savestate[data-kind="idle"] { background: none; box-shadow: none; border: 0; padding-left: 0; padding-right: 0; color: var(--ink-3); font-weight: 600; }

/* 進み具合の枠（任意 1/9・次に入れる・すべて／確認／未入力／完了）: スマホでは高さが約 250px あり、上に貼り付いて本文を隠していた（10/13 表示の控え）→ スマホは貼り付けない */
@media (max-width: 760px) { .nx-flow { position: static; } }

/* はじめにやることへ戻る・登録済み・照合の結果（2026-10-13 の iPhone の写真） */
.nx-setupback { display: inline-flex; align-items: center; min-height: 36px; margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--acc); text-decoration: none; }
@media (hover: hover) { .nx-setupback:hover { text-decoration: underline; } }
.nx-acct__setup b.is-done { background: var(--ok); color: var(--sheet); }
.nx-rematch.is-done { background: var(--sheet); color: var(--ok); box-shadow: 0 0 0 1.5px var(--ok) inset; }
.nx-matchres { flex-basis: 100%; display: grid; gap: 6px; justify-items: start; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--ok-soft); border: 1px solid var(--ok); }
.nx-matchres[hidden] { display: none; }
.nx-matchres > b { color: var(--ok); font-size: 15px; }
.nx-matchres > p { margin: 0; line-height: 1.7; color: var(--ink); }
/* お知らせの設定: iPhone は時刻の欄を広く描き、「夜は送らない」と時刻が重なっていた → スマホは2列の格子に */
@media (max-width: 760px) {
  .nt-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; align-items: end; }
  .nt-inline > .nt-field:first-child, .nt-inline > .nt-row { grid-column: 1 / -1; }
  .nt-inline .nt-field { min-width: 0; }
  .nt-inline input[type=time] { width: 100%; min-width: 0; box-sizing: border-box; }
  /* 画面の横揺れ（の iPhone でプロフィールが左右にずれた）を止める。clip は貼り付け（sticky）を壊さない */
  html, body { overflow-x: clip; }
}

/* 下のタブの「その他」: 閉じていても Safari はシートを画面の右の外（x=390〜463）に描いていた。iPhone ではこれが横の揺れ・右へのはみ出しの元になる → 閉じているときは描かない */
.nx-tabbar__more:not([open]) .nx-tabbar__sheet { display: none; }
/* 暗い表示: ホバーの色に明るい色の決め打ちがあり、PC の暗い表示でも行が白く光っていた */
@media (prefers-color-scheme: dark) { @media (hover: hover) {
  :where(:root:not([data-scheme="light"])) .nx-rel__row:hover, :where(:root:not([data-scheme="light"])) .nx-bellwin__row:hover { background: var(--sheet-2); }
  :where(:root:not([data-scheme="light"])) .nxr-stop:hover, :where(:root:not([data-scheme="light"])) .nf-btn.is-fix:hover, :where(:root:not([data-scheme="light"])) .nx-admin__del:hover, :where(:root:not([data-scheme="light"])) .nx-admin__all:hover { background: var(--bad-soft); }
} } /* scheme-mirror */ @media all { @media (hover: hover) {
  :where(:root[data-scheme="dark"]) .nx-rel__row:hover, :where(:root[data-scheme="dark"]) .nx-bellwin__row:hover { background: var(--sheet-2); }
  :where(:root[data-scheme="dark"]) .nxr-stop:hover, :where(:root[data-scheme="dark"]) .nf-btn.is-fix:hover, :where(:root[data-scheme="dark"]) .nx-admin__del:hover, :where(:root[data-scheme="dark"]) .nx-admin__all:hover { background: var(--bad-soft); }
} }

/* メニューを開いている間は後ろを暗くし、そこを触ると閉じる（2026-10-14 右上のアイコンを押さないと閉じられなかった。閉じる処理は next.js） */
@media (max-width: 760px) {
  .nx-acct[open]::before, .nx-tabbar__more[open]::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); }
  .nx-acct__panel, .nx-tabbar__sheet { z-index: 60; }   /* 暗くした層（z 40）より上に */
  /* 11/1 m01-chrome-116: 開いたボタン（「その他」・≡）が暗くした層の下になり、WebKit では同じボタンをもう一度押しても閉じなかった */
  .nx-acct[open] > summary, .nx-tabbar__more[open] > summary { position: relative; z-index: 41; }
  /* 11/1 m01-chrome-116 の続き: 下のタブの帯は .lq の transform（translateZ）を持つため、暗くした層（fixed）が帯の中に閉じ込められ、
     窓の外を触っても後ろのリンクに届いていた。開いている間だけ transform を外す（上の帯 .nx-bar.lq と同じ理由） */
  .nx-tabbar.lq:has(> .nx-tabbar__more[open]) { transform: none !important; will-change: auto !important; }
}
.nx-acct__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.nx-acct__top .nx-acct__who { min-width: 0; }
.nx-acct__panel .nx-acct__close { flex: none; width: auto; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; }
@media (min-width: 761px) { .nx-acct__close { display: none; } }

/* 試験登録（運営者の端末だけ） */
.nx-testsign { display: grid; gap: 8px; justify-items: start; margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; border: 1px dashed #b45309; background: var(--warn-soft); }
.nx-testsign p { margin: 0; line-height: 1.6; color: var(--ink); } .nx-testsign p b { display: block; color: var(--warn); }
.nx-testsign code { padding: 2px 6px; border-radius: 4px; background: var(--sheet); border: 1px solid var(--line); user-select: all; }

/* ═══ お支払い（2026-10-14 作り直し。「このページだけチープ」） ═══ */
.bl { display: grid; gap: 14px; }
.bl .nh-head { margin-bottom: 0; }
.bl-msg { margin: 0; padding: 12px 14px; border-radius: 6px; line-height: 1.7; }
.bl-msg.is-ok { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok); }
.bl-msg.is-bad { background: var(--bad-soft); color: var(--bad); border: 1px solid var(--bad); }
.bl-card { padding: 18px 20px; border-radius: 8px; background: var(--sheet); border: 1px solid var(--line); }
.bl-card > h2 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 17px; }
.bl-card > h2 small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.bl-status { border-left: 4px solid var(--acc); }
.bl-status[data-state="past_due"], .bl-status[data-state="canceled"] { border-left-color: var(--bad); }
.bl-badge { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 4px; font-size: 13px; font-weight: 800; color: var(--acc); background: var(--acc-soft); }
.bl-status[data-state="past_due"] .bl-badge, .bl-status[data-state="canceled"] .bl-badge { color: var(--bad); background: var(--bad-soft); }
.bl-status__main { margin: 0; font-size: 20px; line-height: 1.5; }
.bl-status__sub { margin: 8px 0 0; color: var(--ink-2); line-height: 1.7; }
.bl-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; }
.bl-act small { color: var(--ink-3); }
.bl-rows { margin: 0; display: grid; }
.bl-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.bl-rows > div:first-child { border-top: 0; padding-top: 0; }
/* 10/23 s07 M1: Safariでも説明欄を縮め、金額の幅を確保する。10/19の語ごとの折返しは維持。 */
.bl-rows dt { min-width: 0; flex: 1; font-weight: 700; } .bl-rows dt small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.bl-rows dd { flex-shrink: 0; margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.bl-rows > div.is-total { border-top: 2px solid var(--ink); }
.bl-rows > div.is-total dt, .bl-rows > div.is-total dd { font-size: 18px; font-weight: 900; }
.bl-rows--text > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); }
.bl-rows--text dd { white-space: normal; font-weight: 500; line-height: 1.7; }
.bl-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.bl-use { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 16px; align-items: center; }
.bl-use p { margin: 0; display: flex; align-items: baseline; gap: 6px; } .bl-use p span { min-width: 7em; color: var(--ink-2); } .bl-use p small { color: var(--ink-3); }
.bl-use .dc-meter { display: block; width: 100%; }
.bl-ai { margin-top: 16px; padding: 0; background: none; box-shadow: none; }
.bl-ai h3 { margin: 0 0 6px; font-size: 15px; }
.bl-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bl-way { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--sheet-2); }
.bl-way h3 { margin: 0; font-size: 16px; } .bl-way p { margin: 0; color: var(--ink-2); line-height: 1.7; font-size: 14px; }
.bl-way summary { cursor: pointer; font-weight: 800; color: var(--acc); min-height: 36px; display: flex; align-items: center; }
.bl-inv { display: grid; gap: 10px; margin-top: 8px; }
.bl-hist { margin-top: 12px; }
.bl-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; }
@media (max-width: 760px) {
  .bl-card { padding: 14px; }
  .bl-status__main { font-size: 18px; }
  .bl-ways, .bl-use { grid-template-columns: minmax(0, 1fr); }
  .bl-use .dc-meter { margin-bottom: 8px; }
  .bl-rows--text > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bl-act .nx-btn { width: 100%; justify-content: center; }
}

/* ═══ 利用ガイド（/next/legal/guide。2026-10-14 「ガイドはユースケースを最大限カバーする手順に」） ═══ */
.gd { counter-reset: none; }
.gd-toc { margin: 0 0 28px; padding: 16px 18px; border-radius: 8px; background: var(--sheet); border: 1px solid var(--line); }
.gd-toc ol { margin: 0; padding-left: 1.6em; columns: 2; column-gap: 28px; }
.gd-toc li { margin: 0 0 6px; break-inside: avoid; line-height: 1.6; }
.gd-toc a { font-weight: 700; text-decoration: none; color: var(--acc); }
@media (hover: hover) { .gd-toc a:hover { text-decoration: underline; } }
.gd section { scroll-margin-top: 84px; margin: 0 0 36px; }
.gd section > h2 { padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.gd h3 { margin: 22px 0 8px; font-size: 16px; scroll-margin-top: 84px; }
.gd-when { margin: 0 0 12px; padding: 10px 14px; border-radius: 6px; background: var(--acc-soft); color: var(--ink); line-height: 1.7; }
.gd-steps { counter-reset: gd; list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 8px; }
.gd-steps > li { counter-increment: gd; position: relative; padding: 2px 0 2px 38px; line-height: 1.75; }
.gd-steps > li::before { content: counter(gd); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  font-size: 13px; font-weight: 900; color: var(--sheet); background: var(--acc); }
.gd-note { margin: 8px 0 14px; padding: 10px 14px; border-radius: 6px; border-left: 4px solid #c98a12; background: var(--warn-soft); color: var(--ink); line-height: 1.7; }
.gd table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; }
.gd th, .gd td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 760px) { .gd-toc ol { columns: 1; } .gd table { display: block; overflow-x: auto; } }

/* お支払い 案D・登録の4段の流れ（2026-10-14 作り直しの計画） */
.bl-msg.is-info { background: var(--acc-soft); color: var(--ink); border: 1px solid var(--acc-2, var(--acc)); }
.bl-status[data-state="free"] { border-left-color: var(--ink-3); }
.bl-sum { margin: 0 0 14px; display: grid; gap: 8px; }
.bl-sum > div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 8px; align-items: baseline; }
.bl-sum dt { font-weight: 800; color: var(--ink-2); } .bl-sum dd { margin: 0; line-height: 1.7; } .bl-sum dd b { font-size: 20px; } .bl-sum dd small { display: block; color: var(--ink-3); font-size: 13px; }
.bl-pick__h { margin: 0 0 8px; font-weight: 800; }
.bl-ways { grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
.bl-way { padding: 0 !important; overflow: hidden; }
.bl-way > summary { list-style: none; cursor: pointer; display: grid; gap: 2px; padding: 14px 16px 14px 44px; position: relative; min-height: 44px; }
.bl-way > summary::-webkit-details-marker { display: none; }
.bl-way > summary::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--sheet); }
.bl-way[open] > summary::before { border: 5px solid var(--acc); }
.bl-way[open] { border-color: var(--acc) !important; }
.bl-way > summary small { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.bl-way__go, .bl-inv, .bl-way__pts { margin: 0 16px 16px !important; }
.bl-way__pts { padding-left: 1.2em; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.bl-way__go .nx-btn { width: 100%; justify-content: center; }
.bl-more > summary { cursor: pointer; font-weight: 800; min-height: 32px; display: flex; align-items: center; }
.bl-more[open] > summary { margin-bottom: 12px; }
.bl-more .bl-use { margin-top: 14px; }
.nx-flow4 { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.nx-flow4 li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; background: var(--sheet); border: 1px solid var(--line-2); font-weight: 700; }
.nx-flow4 li b { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: var(--sheet); font-size: 13px; }
.nx-flow4 li.is-end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; padding: 0; background: none; border: 0; }
.nx-flow4 li.is-end > span { padding: 10px 12px; border-radius: 6px; font-size: 14px; line-height: 1.5; background: var(--ok-soft); border: 1px solid var(--ok); color: var(--ink); }
.nx-flow4 li.is-end > span + span { background: var(--warn-soft); border-color: #c98a12; }
.nx-signup__retrial { margin: 0 0 12px; padding: 12px 14px; border-radius: 6px; background: var(--warn-soft); color: var(--ink); border: 1px solid #c98a12; line-height: 1.7; } .nx-signup__retrial b { display: block; }

.nx-nb { white-space: nowrap; }   /* 意味のまとまりの中で折り返さない（「3か／所まで」と割れていた） */
/* ═══ 右上: 頭文字＝プロフィールへ・右端の三本線＝メニュー（2026-10-14 ）。メニューは種類ごとの開閉（.nx-mgrp） ═══ */
.nx-melink { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-width: 0; color: inherit; text-decoration: none; border-radius: 10px; }
.nx-melink__ico { width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 10px; }
.nx-melink .nx-setupdot { left: 24px; }
.nx-burger { list-style: none; display: inline-grid !important; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 10px; cursor: pointer; color: inherit; }
.nx-burger::-webkit-details-marker { display: none; }
.nx-burger svg { width: 24px; height: 24px; }
.nx-acct[open] > .nx-burger { background: var(--paper-2); }
@media (hover: hover) { .nx-burger:hover, .nx-melink:hover .nx-me { filter: brightness(1.08); } }
.nx-mgrp { border-top: 1px solid var(--line); }
.nx-mgrp > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 10px; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--ink); }
.nx-mgrp > summary::-webkit-details-marker { display: none; }
.nx-mgrp > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nx-mgrp[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.nx-mgrp__body { display: grid; gap: 0; padding: 0 0 8px 10px; }
.nx-acct__panel .nx-mgrp__body a { padding: 10px 12px; border-left: 2px solid var(--line); border-radius: 0; font-weight: 700; }
.nx-acct__panel .nx-mgrp__body a[aria-current="page"] { border-left-color: var(--acc); color: var(--acc); }
.nx-mgrp__body .nx-scheme { padding: 6px 12px !important; }
.nx-acct__out { border-top: 1px solid var(--line); margin-top: 4px; }
.nx-acct__panel .nx-acct__out button { color: var(--ink-2); }
/* 上の帯は押したときの動き（.lq の transform）を使わない。transform があると、中の position: fixed（メニューのパネル）が帯の中に閉じ込められ、帯の高さで切れていた */
.nx-bar.lq { transform: none !important; will-change: auto !important; }
@media (max-width: 760px) {
  /* スマホは右から出る全高のパネル（よくある三本線のメニュー） */
  .nx-acct__panel { position: fixed !important; top: 0 !important; right: 0 !important; left: auto !important; bottom: 0; width: min(340px, 88vw) !important; max-width: none !important; max-height: none !important;
    overflow-y: auto; border-radius: 0 !important; padding: calc(12px + env(safe-area-inset-top)) 14px calc(92px + env(safe-area-inset-bottom)) !important;   /* 下のタブ（上の帯より手前に重なる）の分だけ下を空ける */ animation: nx-drawer .2s ease-out; }
  @keyframes nx-drawer { from { transform: translateX(24px); opacity: .6; } }
  .nx-acct__grp { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) { .nx-acct__panel { animation: none !important; } }

/* 本文の器が画面より広がらないように（2026-10-14 iPhone の Safari で右が見切れた。iPhone の字体は試験の環境より幅を取り、
   中身に合わせて器が広がると、横揺れ止めの clip で切れて見えた）。grid の列は minmax(0, …fr)（fr_shrink.py）。 */
@media (max-width: 760px) {
  #nx-main, .nx-mepage, .nh-page, .nx-me__grid, .nx-me__grid > *, .nx-me__main, .nx-me__side, .nx-searchpage, .nx-deck-hero__inner, .nx-today, .nx-today__body { min-width: 0; max-width: 100%; }
}
/* 落札実績の一覧（スマホ）: 「発注機関 → 落札した会社」が1行で切れ、いちばん知りたい会社名が「…」で消えていた（10/14 相手の測定）→ 2行まで折り返す */
@media (max-width: 760px) { .nh-row__meta { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; } }
/* iPhone の Safari で会社情報の右の列（資料から自動で入力・公開の落札実績）が画面より広がった（10/14 、2回目）。
   列の幅を決めていない grid は「いちばん広い中身」まで列が伸びる。iPhone では入力欄の素の幅が日本語の字体で広く計算され、
   「テスト1［探す］」の行が列ごと押し広げたとみる → (1) 幅を決めていない grid の列は画面より広がらない (2) 横に並ぶ入力欄は素の幅を0から伸ばす */
@media (max-width: 760px) {
  * { grid-auto-columns: minmax(0, 1fr); }
  .nx-me__side { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .nx-me__side > * { min-width: 0; max-width: 100%; }
}
.nh-own__q input, .nx-qbox input, .nx-cmd input, .nx-loose__add input { width: 0; min-width: 0; }
/* スマホ: ベル（お知らせ）と更新（進行中の作業）の窓が、ボタンの右端に合わせて置かれ、画面の左の外へはみ出していた（10/14 ）
   → スマホでは上の帯のすぐ下に、画面の幅いっぱい（左右 8px）で出す。上の帯は transform を持たないので fixed は画面が基準 */
@media (max-width: 760px) {
  .nx-bellwin, .nx-ntfwin { position: fixed !important; left: 8px !important; right: 8px !important; top: calc(var(--nx-topbar, 64px) + 8px + env(safe-area-inset-top)) !important; width: auto !important; max-height: calc(100dvh - 180px); overflow-y: auto; z-index: 70; }
}
/* ベル・更新の窓は、夜空の帯の上（.nx-on-sky）でも紙の地と濃い文字に（10/14 相手の写真: 濃い紺の地に暗い見出しで読めなかった） */
.nx-bellwin, .nx-ntfwin { background: var(--sheet) !important; color: var(--ink) !important; border-color: var(--line-2) !important; }
.nx-ntfwin header, .nx-bellwin header, .nx-ntfwin header b, .nx-ntfwin li b, .nx-bellwin b { color: var(--ink); }
.nx-ntfwin li.is-unread a { background: var(--acc-soft); }
body:has(.nx-ntfwin:not([hidden])) .nx-setupbub, body:has(.nx-bellwin:not([hidden])) .nx-setupbub, body:has(.nx-acct[open]) .nx-setupbub { display: none; }   /* 窓・メニューを開いている間は赤い吹き出しを隠す（後ろから覗いていた） */
/* 閉じたメニューのパネルは描かない（開くときの動きの途中の値が残り、上の押す場所を覆うことがないように） */
.nx-acct:not([open]) > .nx-acct__panel { display: none; }
/* 公式資料の行: 名前は折り返し、右端の ↗ が切れないように */
.nx-src { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.nx-src__n { min-width: 0; overflow-wrap: anywhere; }
.nx-src__go { flex: none; }
/* 文字を直すモードに入るボタン（開発・運営者だけ。いつも左下） */
.nx-editfab { position: fixed; left: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 75; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 6px; font-size: 14px; font-weight: 800; color: #fff; background: #8a3aa6; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); }
.nx-editfab::before { content: "✎"; margin-right: 6px; }
@media (max-width: 760px) { .nx-editfab { bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* ホームの時計・天気（2026-10-15 ・iPhone）: 上の帯に詰まっていた → スマホは少し下げ、「表示」のボタンを上に。天気の薄い白い枠はやめる（全幅で） */
.nx-corner .nx-wx { background: none !important; box-shadow: none !important; padding: 0 !important; }
@media (max-width: 760px) {
  .nx-corner { margin-top: 14px !important; row-gap: 8px; }
  .nx-corner .nx-viewset { order: -1; flex-basis: 100%; display: flex; justify-content: flex-end; }
}
/* 夜空の帯は「はみ出しを隠す」だけでなく、中で動かない（clip）。hidden だと中の部品へ scrollIntoView・フォーカスが移ったとき帯の中身ごと上へずれ、
   空の絵の下に暗い板が出た（2026-10-15 ホームにお知らせの窓を足したときに見つけた） */
.nx-deck-hero, .nx-wel, .nx-hero { overflow: clip; }
/* ホームのいちばん上の予定表（試作・2026-10-15）: 予定表のときは地図とその注記・「出す情報」の地図の行を出さない */
.nx-deck-hero[data-top="tl"] :is(.nx-map, #nx-map-note) { display: none !important; }
.nx-deck-hero[data-top="tl"] [data-hometop-map] { display: none; }
.nx-hometl { position: relative; z-index: 3; margin: 8px 0 16px; }
@media (min-width: 1101px) { .nx-hometl { margin-left: max(0px, (100vw - 1180px) / 2 - 24px); margin-top: 48px; } }   /* PC: 左の列（.nx-today）は地図のために左へ広げてあるので、予定表は本文の左端にそろえる */
.nx-hometl[hidden] { display: none; }
.nx-hometl .pp-tl { margin: 0; color: var(--ink); text-shadow: none; }
.nx-hometl__more { display: inline-flex; align-items: center; min-height: 36px; margin-top: 8px; font-weight: 800; color: #eef3f8; text-decoration: underline; }
.nx-hometl__msg { color: rgba(238, 243, 248, .8); }
.nx-hometl__empty { display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 6px; background: var(--sheet); color: var(--ink); text-shadow: none; }
.nx-hometl__empty p { margin: 0; color: var(--ink-2); line-height: 1.7; }
/* お知らせの窓（2026-10-15）: 4つ出したときは 2×2 */
@media (min-width: 1101px) {
  .nx-deck-hero[data-sigs="4"] .nx-signals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
  .nx-deck-hero[data-sigs="4"] .nx-sig--market { grid-row: auto; }
}
.nx-news li.is-unread .nx-news__t { font-weight: 900; }
.nx-news li.is-unread .nx-news__t::before { content: "●"; margin-right: 6px; color: #f87171; font-size: 10px; vertical-align: middle; }
.nx-news__empty { color: rgba(238, 243, 248, .7); padding: 8px 0; }
/* 一覧の点数の列をやめた（2026-10-15 札と合った理由の一言に）。行は「札・件名・しるし・発注者」、理由は件名の下の行 */
.nx-rel__row { grid-template-columns: 8.8em minmax(0, 1fr) auto minmax(0, 12em); }
.nx-rel__row .nx-why { grid-column: 2 / -1; font-size: 13px; color: var(--ink-3); margin-top: -6px; }
@media (max-width: 900px) {
  .nx-rel__row { grid-template-columns: auto minmax(0, 1fr); }
  .nx-rel__row .nx-why { grid-column: 1 / -1; margin-top: 0; }
}
/* 「理由: 」の前置きは外した（10/21 見れば分かる説明は書かない） */
/* ホームの「近い期限」（予定表の要約・2026-10-15 ） */
.nx-hometl__card { display: grid; gap: 4px; padding: 14px 16px; border-radius: 6px; background: var(--sheet); color: var(--ink); text-shadow: none; }
.nx-hometl__card > h2 { margin: 0 0 4px; font-size: 16px; }
.nx-hometl__list { list-style: none; margin: 0; padding: 0; display: grid; }
.nx-hometl__list a { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.nx-hometl__when { display: grid; line-height: 1.3; } .nx-hometl__when b { font-size: 15px; font-variant-numeric: tabular-nums; } .nx-hometl__when small { font-size: 13px; color: var(--ink-3); }
.nx-hometl__when.is-hot small { color: var(--bad); font-weight: 800; }
.nx-hometl__body { display: grid; min-width: 0; } .nx-hometl__body em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--acc); }
.nx-hometl__body span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.nx-hometl__card .nx-hometl__more { color: var(--acc); margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; text-decoration: none; }
/* 時計・天気は左上に詰め、時刻と「表示」を同じ高さに（2026-10-15 上の空きがもったいない。端に寄せすぎない） */
@media (max-width: 760px) {
  .nx-corner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date view" "wx wx"; align-items: center; justify-items: start; margin-top: 6px !important; padding: 0 4px; row-gap: 2px !important; }
  .nx-corner .nx-today__date { grid-area: date; justify-content: flex-start !important; }
  .nx-corner .nx-wxline { grid-area: wx; }
  .nx-corner .nx-viewset { grid-area: view; order: 0 !important; flex-basis: auto !important; justify-self: end; }
  .nx-clock { justify-content: flex-start !important; }
}
/* 有料の機能の案内（402 のとき。next.js） */
.nx-plan { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; width: min(520px, calc(100vw - 24px)); box-sizing: border-box; display: grid; gap: 8px;
  padding: 16px 18px; border-radius: 8px; background: var(--sheet); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4); }
.nx-plan > b { font-size: 16px; } .nx-plan > p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.nx-plan__act { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .nx-plan { bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* 画面の明るさの切り替え（明るい／暗い／端末に合わせる） */
.nx-scheme { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 10px !important; }
.nx-scheme__h { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.nx-scheme__seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--paper-2); }
.nx-scheme__seg button { width: auto !important; min-height: 32px; padding: 4px 10px !important; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 13px !important; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.nx-scheme__seg button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.nx-scheme--foot { justify-content: flex-start; margin: 12px 0 0; padding: 0 !important; }
/* 足元の「画面」と「軽い表示」を1列に並べ、狭いときは折り返す（11/1） */
.nx-foot__prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 12px 0 0; }
.nx-foot__prefs > .nx-scheme--foot { margin: 0; }
.nx-acct__grp.nx-scheme { grid-template-columns: none !important; }

/* ═══ 検討中のスマホ: 段のタブと畳み（2026-10-13 「畳む・タブ、両方採用」。next-pipeline.js が作る） ═══ */
.pp-stagetabs { display: none; }
@media (max-width: 760px) {
  .pp-stagetabs { position: sticky; top: 64px; z-index: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; padding: 4px;
    border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
  .pp-stagetabs[hidden] { display: none; }
  .pp-stagetabs button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; border-radius: 8px; background: none;
    font: inherit; font-size: 15px; font-weight: 800; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
  .pp-stagetabs button b { min-width: 22px; padding: 1px 6px; border-radius: 10px; font-size: 13px; background: var(--line); color: var(--ink); }
  .pp-stagetabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 3px 8px -5px rgba(0, 0, 0, .3); }
  .pp-stagetabs button[aria-selected="true"] b { background: var(--acc); color: var(--sheet); }
  .nx-lane.is-tabout { display: none; }
  .pp-lanes .nx-lane > h2 { display: none; }   /* タブに同じ名前と数があるので段の見出しは出さない */
  .pp-card.is-more, .pp-tl__row.is-more { display: none; }
  .pp-more { display: flex; width: 100%; justify-content: center; min-height: 44px; margin: 8px 0 0; }
  .pp-more[hidden] { display: none; }
}

/* ─────────── ホームの PC の並べ方（2026-10-15 広げると左右の縦横の釣り合いが崩れる → 試作 A〜D から A「枠のまま端と高さをそろえる」に決定。
   幅を変えても・日本地図／予定表を切り替えても・窓を増減しても比率が合うこと） ───────────
   1101px 以上。日時・天気・「表示」はナビと同じ幅の箱の中の1行。.nx-today を display: contents にして、
   上（地図か「近い期限」）・件数の塊・右の窓を1つの格子に置く。左右は 1:1、右の窓の列は左の列の高さに合わせる（contain: size）。
   data-top は JS が必ず付ける（付かないとき＝JS が動かないときは以前の並びのまま） */
@media (min-width: 1101px) {
  .nx-deck-hero[data-top] { padding-left: 12px; padding-right: 12px; }   /* ナビ（画面の端から 12px）と端をそろえる。1204px 未満で差が出ていた */
  .nx-deck-hero[data-top] .nx-corner { position: relative; top: auto; left: auto; right: auto; width: min(1180px, 100%); max-width: none; margin: -8px auto 18px; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 4px 20px; }
  .nx-deck-hero[data-top] .nx-corner .nx-today__date { align-items: center; }
  .nx-deck-hero[data-top] .nx-corner .nx-live { margin-top: 0; }
  .nx-deck-hero[data-top] .nx-clock { display: inline-flex; flex-wrap: nowrap; column-gap: 10px; }
  .nx-deck-hero[data-top] .nx-clock__s { margin-left: -8px; }
  .nx-deck-hero[data-top] .nx-corner .nx-viewset { margin-left: auto; }
  .nx-deck-hero[data-top] .nx-view { right: 0; left: auto; }
  .nx-deck-hero[data-top] .nx-deck-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top sig" "body sig"; align-items: stretch; column-gap: 28px; row-gap: 22px; }
  .nx-deck-hero[data-top] .nx-today { display: contents; }
  .nx-deck-hero[data-top] :is(.nx-map, .nx-hometl) { grid-area: top; margin: 0; }
  .nx-deck-hero[data-top] .nx-map { height: clamp(340px, 30vw, 500px); }
  .nx-deck-hero[data-top] .nx-today__body { grid-area: body; margin: 0; }
  /* 右の窓は左の列の高さに合わせる（中身の長さで列を伸ばさない。各窓の中はスクロール）。左が短いときも低くなりすぎない */
  .nx-deck-hero[data-top] .nx-signals { grid-area: sig; height: auto; contain: size; min-height: 480px; }
  /* 窓を全部消したら左の列だけ（横いっぱい）。地図・「近い期限」・件数は縦に */
  .nx-deck-hero[data-top][data-sigs="0"] .nx-deck-hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "body"; }
  /* 窓の並び: 1〜3つは縦に1列（高さを等分）、4つは 2×2。各窓の中はスクロール */
  .nx-deck-hero[data-top] .nx-signals { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); grid-template-rows: none; }
  .nx-deck-hero[data-top][data-sigs] .nx-signals > .nx-sig { grid-row: auto; }
  .nx-deck-hero[data-top][data-sigs="4"] .nx-signals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ─────────── ホームの形「大きな日本列島」（試作・2026-10-15 シダックスのサイトのように） ───────────
   枠を取り払う: ナビは空の上にいる間は地も影も無く、左上にロゴ・間を空けてメニュー。背景いっぱいに日本列島（光の柱）、
   真ん中より少し左に 日時 → 天気 → 件数 → 検索窓。「表示」は右上。ニュース・株価などの窓は既定で出さない（出したときは右下に枠なしで）。
   JS（next.js のホームの形）が data-look="stage" を付け、日時・天気・「表示」を件数の塊の頭へ移す */
:root.nx-stage { --stage-g: clamp(28px, 5vw, 96px); }
.nx-deck-hero[data-look="stage"] .nx-corner.nx-corner--stage { position: static; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 18px; width: auto; max-width: none; margin: 0 0 14px; padding: 0; }
.nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-today__date { flex-basis: 100%; }
.nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-viewset { margin-left: 0; order: 0; flex-basis: auto; }
.nx-deck-hero[data-look="stage"] .nx-hometl { display: none !important; }
.nx-stage .nx-view__top { display: none; }
@media (min-width: 1101px) {
  /* ナビ: 空の上では枠なし（下へ動かして空を抜けたら、いつものナビに戻る） */
  html.nx-stage.nx-on-sky .nx-bar, html.nx-stage.nx-on-sky .nx-bar.lq { width: calc(100vw - var(--stage-g) * 2 + 32px); background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-color: transparent; }
  html.nx-stage.nx-on-sky .nx-bar.lq::before, html.nx-stage.nx-on-sky .nx-bar.lq::after { display: none; }
  html.nx-stage.nx-on-sky .nx-bar .nx-seg { margin-left: clamp(24px, 4vw, 72px); background: none; box-shadow: none; }
  html.nx-stage .nx-bar { transition: width .35s var(--ease), background-color .35s var(--ease); }

  .nx-deck-hero[data-look="stage"] { min-height: 100vh; min-height: 100svh; padding: 0; }
  .nx-deck-hero[data-look="stage"]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 8, 20, .62) 0%, rgba(4, 8, 20, .34) 38%, rgba(4, 8, 20, 0) 62%); }
  .nx-deck-hero[data-look="stage"][data-top] .nx-deck-hero__inner { display: block; position: relative; width: 100%; max-width: none; min-height: 100vh; min-height: 100svh; margin: 0; padding: 0; }
  .nx-deck-hero[data-look="stage"][data-top] .nx-today { display: block; margin: 0; }
  /* 日本列島は背景いっぱい（右寄り。左の文字と重なりすぎないように） */
  .nx-deck-hero[data-look="stage"][data-top] .nx-map { position: absolute; z-index: 0; top: 10vh; bottom: 3vh; left: 30vw; right: 2vw; height: auto; margin: 0; clip-path: none; }
  .nx-deck-hero[data-look="stage"][data-top]:not([data-sigs="0"]) .nx-map { right: calc(var(--stage-g) + min(380px, 26vw)); left: 26vw; }
  .nx-deck-hero[data-look="stage"][data-top] .nx-today__body { position: absolute; z-index: 2; left: var(--stage-g); top: 50%; transform: translateY(-46%); width: min(600px, 36vw); margin: 0; }   /* 36vw: 日本列島（30vw から）の「自社」の印に検索窓が重ならない幅 */
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-today__date { display: flex; align-items: baseline; gap: 14px; }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-clock { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px; justify-content: flex-start; }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-clock__hm { font-size: clamp(64px, 6.4vw, 112px); font-weight: 500; letter-spacing: -.03em; }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-clock__s { font-size: .3em; margin-left: -6px; color: rgba(238, 243, 248, .72); }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-clock__date { flex-basis: 100%; font-size: 16px; letter-spacing: .1em; color: rgba(238, 243, 248, .86); }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-live { align-self: center; }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-wxline { font-size: 15px; }
  .nx-deck-hero[data-look="stage"] .nx-corner--stage .nx-view { left: 0; right: auto; }
  .nx-deck-hero[data-look="stage"] .nx-today__body > :is(.nx-today__sub, .nx-today__digest, #nx-map-note) { display: none; }
  .nx-deck-hero[data-look="stage"] .nx-today__line { margin: 22px 0 6px; font-size: 15px; color: rgba(238, 243, 248, .8); }
  .nx-deck-hero[data-look="stage"] .nx-kpi { margin-bottom: 22px; }
  .nx-deck-hero[data-look="stage"] .nx-cmd { max-width: none; height: 60px; }
  .nx-deck-hero[data-look="stage"] .nx-todo { margin: 0 0 22px; }
  /* 窓（任意）: 右下に枠なし。見出しの上の細い線で区切る */
  .nx-deck-hero[data-look="stage"][data-top] .nx-signals { position: absolute; z-index: 2; right: var(--stage-g); bottom: 8vh; top: auto; width: min(380px, 26vw); height: auto; max-height: 62vh; min-height: 0; contain: none;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 22px; overflow: auto; scrollbar-width: none; }
  .nx-deck-hero[data-look="stage"][data-top][data-sigs] .nx-signals > .nx-sig { border: 0 !important; border-top: 1px solid rgba(238, 243, 248, .32) !important; border-radius: 0; background: none !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 12px 0 0; max-height: 30vh; text-shadow: 0 1px 8px rgba(6, 12, 28, .6); }
  .nx-deck-hero[data-look="stage"] .nx-sig::before, .nx-deck-hero[data-look="stage"] .nx-sig::after { display: none; }
}

/* ═══════════ ホームの作り直し（2026-10-15 ） ═══════════
   上: 高さの約9割は枠なし・背景いっぱいの日本列島（光の柱）。左寄りに 日時 → 天気（と「表示」）→ 新着の件数 → 検索窓 だけ。空との境は直線。
   下: 「司令室」を明るい背景で。はじめにやること（帯）→ 数字4枚 → 近い期限・合いそうな新着 → 大きなカードのボタン → 予定表。
   右の列（地域別・お知らせ・マーケット・官公需・ニュース）は予定表の下の線で終わる（contain: size で左の列の高さに合わせ、中は各枠でスクロール） */
:root.nx-home2 { --stage-g: clamp(16px, 5vw, 96px); }
html.nx-home2 .nx-deck-hero.nx-hero2 { display: block; height: 80vh; height: 80svh; min-height: 520px; padding: 0; border-radius: 0; }   /* 90→80（ナビの下の何もない帯を切る） */
.nx-hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 8, 20, .6) 0%, rgba(4, 8, 20, .3) 36%, rgba(4, 8, 20, 0) 60%); }
html.nx-home2 .nx-hero2 .nx-map { position: absolute; z-index: 0; top: 1vh; bottom: 1vh; left: 26vw; right: 1vw; height: auto; margin: 0; clip-path: none; }
.nx-hero2 #nx-map-note { display: none; }
.nx-hero2__txt { position: absolute; z-index: 2; left: var(--stage-g); top: 52%; transform: translateY(-50%); width: min(560px, 34vw); text-shadow: 0 1px 10px rgba(6, 12, 28, .55); }
/* 列島を背景にした形（PC）: 時計と件数はナビのすぐ下の左上へ（上の空きが気になる・青枠→赤枠） */
@media (min-width: 1101px) { html.nx-homebg .nx-hero2__txt { top: clamp(78px, 9vh, 104px); transform: none; } }   /* 時計・件数をもう少し上へ（10/20 ） */
.nx-hero2 .nx-today__date { display: flex; flex-wrap: nowrap !important; align-items: flex-start; gap: 14px; }
.nx-hero2 .nx-today__date .nx-live { flex: none; margin-top: .55em; }
.nx-hero2 .nx-clock { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px; justify-content: flex-start; }
.nx-hero2 .nx-clock__hm { font-size: clamp(36px, 3.2vw, 52px); font-weight: 500; letter-spacing: -.02em; }   /* 時計と件数の大きさを入れ替え（ 10/15: 主役は件数） */
.nx-hero2 .nx-clock__s { font-size: .3em; margin-left: -6px; color: rgba(238, 243, 248, .72); }
.nx-hero2 .nx-clock__date { flex-basis: 100%; font-size: 16px; letter-spacing: .1em; color: rgba(238, 243, 248, .88); }
.nx-hero2__wx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 26px; }
.nx-hero2__wx .nx-wxline { margin: 0; font-size: 15px; }
.nx-hero2__wx .nx-wx { background: none !important; box-shadow: none !important; padding: 0 !important; }
.nx-hero2 .nx-view { left: 0; right: auto; }
.nx-hero2__new { margin: 0 0 14px; }
.nx-hero2__new a { display: inline-flex; align-items: baseline; gap: 8px; color: rgba(238, 243, 248, .86); font-size: 15px; font-weight: 700; text-decoration: none; }
.nx-hero2__new b { font-family: var(--f-num); font-size: clamp(54px, 5.4vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.03em; padding: 0 .04em;
  color: #5eead4; background: linear-gradient(100deg, #ccfbf1, #5eead4 60%, #2dd4bf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }   /* 初期の件数の色（ 10/15: 真っ白でなく少し色を） */
.nx-hero2__new small { font-size: 15px; }
.nx-hero2 .nx-cmd { max-width: min(440px, 100%); height: 60px; }   /* 列島（left 26vw）に触れない幅（） */
@media (max-width: 1100px) {
  /* スマホ: 列島と時計が重ならないよう、縦に積む（列島は残りの高さいっぱい・文字はその下）。時計と列島が被る */
  html.nx-home2 .nx-deck-hero.nx-hero2 { display: flex; flex-direction: column; justify-content: space-between; height: auto; min-height: 90svh; padding: 56px 0 24px; }
  html.nx-home2 .nx-hero2 .nx-map { position: relative; inset: auto; flex: none; height: clamp(240px, 78vw, 380px); }
  .nx-hero2__txt { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 0 16px; }
  .nx-hero2 .nx-cmd { max-width: none; }
  .nx-hero2 .nx-clock__hm { font-size: 34px; }
  .nx-hero2__new b { font-size: 50px; }
  .nx-hero2::after { background: linear-gradient(0deg, rgba(4, 8, 20, .62) 0%, rgba(4, 8, 20, .2) 45%, rgba(4, 8, 20, 0) 60%); }
}

/* 司令室 */
.nx-dash { background: var(--paper); color: var(--ink); padding: 26px var(--stage-g) 48px; }
.nx-dash > * { max-width: 1560px; margin-left: auto; margin-right: auto; }
/* はじめにやること: 空のすぐ下に画面の左右いっぱいの帯（ 10/15: 箱でなく帯／全体を同じ赤ピンク・上下の線だけ色を変えない）。
   左に「はじめにやること あと n つ」とその下に「お試し 残り n日」（大きめ）、右に大きめの項目のボタン。中身は下の面と同じ左右の端 */
.nx-dash > .nx-dash__todo { --todo-bg: #f7c9cf; --todo-ink: #861b27; max-width: none; margin: -26px calc(-1 * var(--stage-g)) 18px; padding: 16px max(var(--stage-g), calc((100vw - 1560px) / 2)); border: 0; border-radius: 0;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; column-gap: 28px; row-gap: 10px; background: var(--todo-bg); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-dash > .nx-dash__todo { --todo-bg: #6e2433; --todo-ink: #ffe4e8; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-dash > .nx-dash__todo { --todo-bg: #6e2433; --todo-ink: #ffe4e8; } }
.nx-todo__side { display: grid; gap: 6px; justify-items: start; }
.nx-dash__todo .nx-todo__h { color: var(--todo-ink); font-size: 16px; }
.nx-dash__todo .nx-todo__h b { margin-left: 8px; color: var(--todo-ink); }
.nx-dash__todo .nx-todo__trial { min-height: 0; padding: 0; font-size: 18px; font-weight: 900; color: var(--todo-ink); background: none; box-shadow: none; }
.nx-todo__btns { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.nx-dash__todo .nx-todo__a { min-height: 48px; padding: 0 20px; font-size: 16px; border-radius: 8px; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.nx-dash__todo .nx-todo__n { min-width: 24px; height: 24px; font-size: 13px; }
@media (max-width: 760px) { .nx-dash > .nx-dash__todo { grid-template-columns: minmax(0, 1fr); } .nx-dash__todo .nx-todo__a { min-height: 44px; font-size: 15px; } }
.nx-dash__kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 0; margin-bottom: 14px; }
.nx-dash__kpi > div, .nx-tile { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.nx-dash__kpi > div { padding: 14px 18px; }
.nx-dash__kpi dt, .nx-tile > header h2 { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--ink-3); }
.nx-dash__kpi dd { margin: 4px 0 2px; }
.nx-dash__kpi dd b { font-family: var(--f-num); font-size: 42px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.nx-dash__kpi dd small { margin-left: 4px; font-size: 14px; color: var(--ink-3); }
.nx-dash__kpi dd a { color: inherit; text-decoration: none; }
/* 10/23 s01-I02: 数字の配置を保って期限への押せる範囲を確保。固定の上帯に見出しを隠さない。 */
#nx-k0 > a, #nx-k7 > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
#nx-dl-h { scroll-margin-top: 100px; }
.nx-dash__kpi p { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.nx-dash__kpi .is-red b { color: var(--bad); }
.nx-dash__kpi .is-acc b { color: var(--acc); }
.nx-dash__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.nx-dash__main { display: grid; gap: 14px; align-content: start; min-width: 0; }
.nx-dash__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; }
.nx-tile { display: flex; flex-direction: column; padding: 14px 18px 12px; }
.nx-tile > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.nx-tile > header a { font-size: 13px; font-weight: 800; color: var(--acc); text-decoration: none; white-space: nowrap; }
.nx-tile__list { list-style: none; margin: 0; padding: 0; }
.nx-tile__list > li > a { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.nx-tile__msg { padding: 10px 0; color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.nx-tile__list > li.nx-tile__more > a { display: block; padding: 10px 0 2px; border-top: 1px solid var(--line); font-weight: 800; color: var(--acc); text-decoration: none; }
.nx-when { display: grid; line-height: 1.3; } .nx-when b { font-size: 14px; font-variant-numeric: tabular-nums; } .nx-when small { font-size: 12.5px; color: var(--ink-3); }
.nx-when.is-hot small { color: var(--bad); font-weight: 800; }
.nx-what { display: grid; min-width: 0; line-height: 1.45; } .nx-what em { font-style: normal; font-size: 12px; font-weight: 900; color: var(--acc); }
.nx-what span, .nx-fit__t, .nx-fit__o { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-what span, .nx-fit__t { font-weight: 700; }
.nx-tile__list.nx-fit > li > a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tier t" "tier o"; row-gap: 0; }
.nx-fit .nx-tier { grid-area: tier; align-self: center; }
.nx-fit__t { grid-area: t; } .nx-fit__o { grid-area: o; font-size: 12.5px; color: var(--ink-3); }
.nx-tile__list.nx-fit > li > a { grid-template-areas: "tier t" "tier o" "tier w"; }
.nx-fit__w { grid-area: w; font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-srow__why { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
/* 大きなカードのボタン（色の帯に名前・下に絵と一言） */
.nx-bigcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nx-bigcard { --c: #3b7a7e; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; overflow: hidden; border-radius: 10px; background: var(--sheet); border: 2px solid var(--c); color: var(--ink); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.nx-bigcard[data-c="prep"] { --c: #8a6420; } .nx-bigcard[data-c="history"] { --c: #4b5b9c; }
.nx-bigcard > b { justify-self: stretch; padding: 12px; background: var(--c); color: #fff; font-size: 17px; font-weight: 900; letter-spacing: .06em; }
.nx-bigcard__ic { display: grid; place-items: center; padding: 16px 0 4px; color: var(--c); } .nx-bigcard__ic svg { width: 56px; height: 56px; }
.nx-bigcard > small { padding: 0 14px 16px; font-size: 13px; color: var(--ink-2); }
@media (hover: hover) { .nx-bigcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(20, 30, 50, .45); } }
.nx-bigcard:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
/* 右の列 */
.nx-dash__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.nx-regions__bars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.nx-regions__bars li:not(.nx-tile__msg) { display: grid; grid-template-columns: 5em minmax(0, 1fr) 2.4em; gap: 8px; align-items: center; font-size: 13px; }
.nx-regions__bars i { display: block; width: var(--w, 0%); max-width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--acc), #4b78c8); }
.nx-regions__bars b { text-align: right; font-family: var(--f-num); font-weight: 600; }
.nx-dash .nx-signals { display: flex; flex-direction: column; gap: 14px; height: auto; min-height: 0; flex: 1 1 auto; }
.nx-dash .nx-sig { --lq-tint: transparent; flex: 1 1 0; min-height: 0; padding: 14px 18px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--sheet) !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--ink); text-shadow: none; }
.nx-dash .nx-sig::before, .nx-dash .nx-sig::after { display: none; }
.nx-dash .nx-sig h2 { font-size: 12px; color: var(--ink-3); }
.nx-dash .nx-sig__src, .nx-dash .nx-sig__sub, .nx-dash .nx-news small, .nx-dash .nx-news__m, .nx-dash .nx-news__empty { color: var(--ink-3); }
.nx-dash .nx-sig__src[href] { color: var(--acc); font-weight: 800; }
.nx-dash .nx-news a, .nx-dash .nx-news__t, .nx-dash .nx-quote__name, .nx-dash .nx-quote__px { color: var(--ink); }
.nx-dash .nx-quote, .nx-dash .nx-news li { border-color: var(--line); }
.nx-dash .nx-quote__chg.is-up { color: var(--ok); } .nx-dash .nx-quote__chg.is-down { color: var(--bad); }
.nx-dash .nx-sig__scroll { -webkit-mask-image: none; mask-image: none; }
.nx-dash__digest { margin: 0; font-size: 13px; } .nx-dash__digest a { color: var(--acc); font-weight: 800; }
@media (min-width: 1101px) {
  .nx-dash__side { contain: size; }   /* 左の列（予定表の下の線）で高さが決まる */
  .nx-dash .nx-sig[hidden] { display: none !important; }
}
@media (max-width: 1100px) {
  .nx-dash__kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-dash__grid, .nx-dash__pair { grid-template-columns: minmax(0, 1fr); }
  .nx-dash .nx-sig { flex: none; } .nx-dash .nx-sig__scroll { max-height: 360px; }
}
@media (max-width: 640px) {
  .nx-bigcards { grid-template-columns: minmax(0, 1fr); }
  .nx-bigcard { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; }
  .nx-bigcard > b { grid-column: 1 / -1; }
  .nx-bigcard__ic { padding: 12px 0 12px 14px; } .nx-bigcard__ic svg { width: 40px; height: 40px; }
  .nx-bigcard > small { padding: 12px 14px; align-self: center; }
  .nx-dash__kpi dd b { font-size: 34px; }
}

/* 試作「列島を背景に」（2026-10-15 背景として薄く大きく・空全体を使う・時計と重なってよい・光は生かす）。
   列島はホームの上の面より大きく（はみ出しは切る）、陸・格子は薄く、光の柱と自社の印はそのまま。検索窓は下の面のいちばん上へ（JS が移す） */
html.nx-homebg .nx-hero2 .nx-map { position: absolute !important; z-index: 0; inset: -26% -2% -6% 10% !important; height: auto !important; margin: 0 !important; flex: none !important; }
html.nx-homebg .nx-hero2 .nx-map :is(.nxm-land, .nxm-slab, .nxm-islands, .nxm-island__label, .nxm-inset) { opacity: .45; }
html.nx-homebg .nx-hero2 .nx-map .nxm-grid { opacity: .5; }
html.nx-homebg .nx-hero2::after { background: linear-gradient(90deg, rgba(4, 8, 20, .5) 0%, rgba(4, 8, 20, .15) 40%, rgba(4, 8, 20, 0) 60%); }
html.nx-homebg .nx-dash > .nx-cmd--dash { display: flex; max-width: 1560px; height: 60px; margin: 0 auto 14px; padding: 0 10px 0 18px; border-radius: 10px;
  background: var(--sheet) !important; border: 1px solid var(--line); box-shadow: 0 6px 20px -14px rgba(20, 30, 50, .4) !important; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.nx-homebg .nx-cmd--dash::before, html.nx-homebg .nx-cmd--dash::after { display: none; }
html.nx-homebg .nx-cmd--dash input { color: var(--ink); }
html.nx-homebg .nx-cmd--dash input::placeholder { color: var(--ink-3); }
html.nx-homebg .nx-cmd--dash kbd { background: var(--paper-2); color: var(--ink-3); }
html.nx-homebg .nx-cmd--dash .nx-cmd__ai { background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
@media (max-width: 1100px) {
  html.nx-homebg .nx-deck-hero.nx-hero2 { display: block; height: 82svh; min-height: 520px; padding: 0; }
  html.nx-homebg .nx-hero2 .nx-map { inset: -26% -14% 44% -14% !important; }   /* スマホは列島が下すぎ・空が多い */
  html.nx-homebg .nx-hero2__txt { position: absolute; left: 16px; right: 16px; bottom: 32px; margin: 0; }
}

/* 列島を背景にした形でも、列島の柱・都道府県にカーソルを合わせられるように: 上の文字（時計・天気・件数）は表示だけなので操作を下の列島へ通す。押せる部品だけ受ける */
html.nx-homebg .nx-hero2__txt { pointer-events: none; }
html.nx-homebg .nx-hero2__txt :is(a, button, input, label, .nx-view) { pointer-events: auto; }
/* 11/1 m02-home-095・002: スマホでは本文の枠（時計〜件数）が地図に重なり、透明な所でも地図の県・小窓の案件リンクへの指を奪っていた。
   PC では天気の説明（title）が上の素通しの決まりから漏れ、マウスが後ろの空の canvas に当たっていた
   → どの幅でも枠は素通しにし、押せる物・説明のある物・お知らせの欄だけが受ける（pointer-events は子へ引き継ぐ） */
.nx-hero2__txt { pointer-events: none; }
.nx-hero2__txt :is(a, button, input, select, textarea, label, summary, form, .nx-view, .nx-hnews, [title], [tabindex]) { pointer-events: auto; }

/* 列島を背景にした形の PC: 検索窓は空の下の真ん中（ 10/15）。列島は検索窓の上で止まる（next.js の fitBgMap） */
html:not(.nx-homebg) .nx-hero2 > .nx-cmd--herobot { left: 62.5%; }   /* ふだんの形では列島（26vw〜99vw）の真ん中の下（ページの真ん中だと九州・四国に重なった。10/20） */
.nx-hero2 > .nx-cmd--herobot { position: absolute; z-index: 3; left: 50%; bottom: clamp(18px, 3.5vh, 40px); transform: translateX(-50%); width: min(620px, 42vw); max-width: none; height: 58px; }

/* ホームの予定表（カレンダー・2026-10-15 検討中の画面のようなカレンダーを簡単に、このページの見た目で） */
.nx-cal { --n: 14; display: grid; }
.nx-cal__row { display: grid; grid-template-columns: minmax(8em, 16em) minmax(0, 1fr); align-items: stretch; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.nx-cal__row--head { border-top: 0; }
@media (hover: hover) { a.nx-cal__row:hover { background: var(--sheet-2); } }
.nx-cal__name { align-self: center; padding: 9px 12px 9px 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-cal__lane { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.nx-cal__day { display: grid; justify-items: center; padding: 4px 0 6px; line-height: 1.2; color: var(--ink-2); }
.nx-cal__day b { font-family: var(--f-num); font-size: 14px; } .nx-cal__day small { font-size: 11.5px; color: var(--ink-3); }
.nx-cal__day.is-today { color: var(--acc); } .nx-cal__day.is-today small { color: var(--acc); font-weight: 800; }
.nx-cal__day.is-we b { color: var(--ink-3); }
.nx-cal__cell { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2px; min-height: 40px; border-left: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nx-cal__cell.is-we { background: color-mix(in srgb, var(--paper-2) 55%, transparent); }
.nx-cal__cell.is-today { background: color-mix(in srgb, var(--acc) 9%, transparent); }
.nx-cal__ev { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; font-style: normal; font-size: 12px; font-weight: 900; color: #fff; background: #6b7280; }
/* 印の色は明るい・暗い表示で変えない（色の変数は暗い表示で明るくなり、白い文字が読めなくなった） */
.nx-cal__ev.is-apply { background: #b45309; } .nx-cal__ev.is-ask { background: #2c5b75; } .nx-cal__ev.is-bid { background: #9d2a1f; }
.nx-cal__ev.is-open { background: #6b4fa0; } .nx-cal__ev.is-own { background: #0f766e; } .nx-cal__ev.is-deliv { background: #5b7b83; }
.nx-cal__ev.is-hot { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--bad); }
.nx-cal__row { grid-template-columns: minmax(8em, 16em) minmax(0, 1fr) 7.2em; }
.nx-cal__later { align-self: center; justify-self: end; font-size: 12px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.nx-cal__later:not(:empty):not(.is-head) { padding: 2px 8px; border-radius: 999px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-cal__later.is-head { align-self: end; padding-bottom: 6px; font-weight: 700; color: var(--ink-3); font-size: 11.5px; }
@media (max-width: 640px) { .nx-cal__row { grid-template-columns: minmax(0, 1fr); } .nx-cal__later { justify-self: end; margin: 2px 0 4px; } .nx-cal__later.is-head { display: none; } }
.nx-cal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.nx-cal__foot > a { font-weight: 800; color: var(--acc); text-decoration: none; }
.nx-cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12.5px; color: var(--ink-3); }
.nx-cal__legend .nx-cal__ev { width: 18px; height: 18px; font-size: 11px; margin-left: 4px; }
@media (max-width: 640px) {
  .nx-cal__row { grid-template-columns: minmax(0, 1fr); }
  .nx-cal__row--head .nx-cal__name { display: none; }
  .nx-cal__name { padding: 8px 0 2px; }
  .nx-cal__cell { min-height: 32px; }
}

/* スケジュールの枠は周りよりほんの少しだけ灰色に（ 10/15） */
.nx-tile.nx-sched { background: var(--sheet-2); }   /* color-mix は測定の道具・古い Safari で読み違えがあった */
.nx-sched .nx-cal__cell.is-we { background: color-mix(in srgb, var(--paper-2) 80%, transparent); }
/* 司令室のマーケットは詰める（ 10/15: 文字が大きく2つしか見えない → 5つほど見えるように） */
.nx-dash .nx-quote { grid-template-columns: minmax(0, 1fr) 64px auto; column-gap: 10px; padding: 4px 2px; }
.nx-dash .nx-quote__name { font-size: 13px; }
.nx-dash .nx-quote__px { font-size: 14.5px; }
.nx-dash .nx-quote__chg { font-size: 11.5px; }
.nx-dash .nx-spark { width: 64px; height: 20px; }
.nx-dash .nx-sig__sub { margin: 10px 0 2px; }
@media (min-width: 1101px) {
  /* マーケットは主な指標5つが必ず見える高さ（ 10/15: 2〜3つしか見えない）。ほかの窓は残りを分ける（最低 130px） */
  .nx-dash .nx-sig--market { flex: 0 0 auto; }
  .nx-dash .nx-sig--market .nx-sig__scroll { max-height: 290px; }   /* 1行 55px × 5 ＋余白 */
  .nx-dash .nx-signals > .nx-sig:not(.nx-sig--market) { min-height: 130px; }
  /* 右の列は左の列の高さに合わせるが、窓の最低の高さの合計より低くはしない。そのときは左のスケジュールが伸びて下の線がそろう */
  .nx-dash__side { min-height: 1020px; }
  .nx-dash__main { display: flex; flex-direction: column; }
  .nx-dash__main > .nx-sched { flex: 1 1 auto; }
}

/* スマホの探すの上部（2026-10-16 デバッグ anon-6: 切り替えの「すべて」が2行目に落ちる・件数の内訳が「案件 2…」で切れる）。
   切り替え3つは同じ幅で1行（件数・「登録で14日間無料」は下の小さい字）。件数の行は PC では1行で切る（行の節約）が、スマホは折り返して全部読む */
@media (max-width: 640px) {
  .nx-stool .nx-stab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .nx-stool .nx-stab a { flex-direction: column; justify-content: center; gap: 0; height: auto; min-height: 48px; padding: 4px 4px; text-align: center; white-space: normal; line-height: 1.25; }
  .nx-stool .nx-stab small { display: block; }
  .nx-searchpage--top .nx-countline { flex-wrap: wrap; }
  .nx-searchpage--top .nx-countline > span:first-child { overflow: visible; white-space: normal; text-overflow: clip; }
  .nx-countline__mix { display: block; }
}

.c-name a.is-draft { color: var(--ink-3); font-style: italic; }   /* 商品の下書き（daily-2） */

/* 上書きの確かめ（T-1）: ほかの人が先に直したときの小窓・メモの履歴 */
/* 10/30 点検 stage3e: 90 だと、スマホで上にかぶさるタスク管理の右の欄（9000）の裏に確認の窓が隠れて押せなかった。確かめ・取り合いの窓は、どの部品よりも前に */
.nx-conflict { position: fixed; inset: 0; z-index: 10002; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 24, .45); }
.nx-conflict__card { width: min(560px, 100%); max-height: 86vh; overflow: auto; padding: 20px 22px; border-radius: 8px; background: var(--sheet); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.nx-conflict__card h2 { margin: 0 0 8px; font-size: 18px; }
.nx-conflict__card p { margin: 0 0 12px; line-height: 1.7; }
.nx-conflict__rows { margin: 0 0 14px; display: grid; gap: 10px; }
.nx-conflict__rows dt { font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.nx-conflict__rows dd { margin: 4px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.nx-conflict__rows dd span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 6px; background: var(--sheet-2); white-space: pre-wrap; word-break: break-word; }
.nx-conflict__rows dd small { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 640px) { .nx-conflict__rows dd { grid-template-columns: minmax(0, 1fr); } }
.cs__memolog-wrap { margin-top: 4px; }
.cs__memolog-btn { border: 0; background: none; padding: 6px 0; min-height: 32px; font: inherit; font-size: 13px; font-weight: 700; color: var(--acc); text-decoration: underline; cursor: pointer; }
.cs__memolog { display: grid; gap: 8px; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--sheet-2); font-size: 14px; }
.cs__memolog-i { display: grid; gap: 4px; justify-items: start; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cs__memolog-i:last-child { border-bottom: 0; padding-bottom: 0; }
.cs__memolog-i p { margin: 0; white-space: pre-wrap; }
.cs__memolog-i small { color: var(--ink-3); }

/* 暗い表示で、地が明るい色に変わる白い文字の札・しるしは暗い文字に（2026-10-16 デバッグ W-1: 判断の札「検討中」が白い文字×明るいミントで比 1.48）。
   台帳 10/13 L9「白い文字の札は地が明るくなる色では暗い文字に」と同じ直し方（地は変えない）を、まだ当たっていなかった札にも */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .cs__pill[aria-pressed="true"]:is([data-s="adopt"], [data-s="submitted"], [data-s="won"], [data-s="lost"], [data-s="skip"]), :where(:root:not([data-scheme="light"])) .nx-csbtn[aria-pressed="true"], :where(:root:not([data-scheme="light"])) .pp-soon__st, :where(:root:not([data-scheme="light"])) .nx-cs__b.is-skip[aria-pressed="true"], :where(:root:not([data-scheme="light"])) .pr-mini.is-on, :where(:root:not([data-scheme="light"])) .pr-doc.is-done .pr-doc__st, :where(:root:not([data-scheme="light"])) .pp-res, :where(:root:not([data-scheme="light"])) .pp-st[data-s="skip"] { color: #0d1117; }
  /* 案件の「状況 受付中」などの札（W-2: 緑の文字が茶色がかった地に沈んで比 2.58） */
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok { background: #16302f; box-shadow: 0 0 0 1px rgba(110, 231, 183, .35) inset; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok dd small { color: #6ee7b7; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn { background: #372620; box-shadow: 0 0 0 1px rgba(253, 186, 116, .35) inset; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn dd small { color: #fdba74; }
  :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-past { background: var(--sheet-2); } :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-past dd b { color: var(--ink-3); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .cs__pill[aria-pressed="true"]:is([data-s="adopt"], [data-s="submitted"], [data-s="won"], [data-s="lost"], [data-s="skip"]), :where(:root[data-scheme="dark"]) .nx-csbtn[aria-pressed="true"], :where(:root[data-scheme="dark"]) .pp-soon__st, :where(:root[data-scheme="dark"]) .nx-cs__b.is-skip[aria-pressed="true"], :where(:root[data-scheme="dark"]) .pr-mini.is-on, :where(:root[data-scheme="dark"]) .pr-doc.is-done .pr-doc__st, :where(:root[data-scheme="dark"]) .pp-res, :where(:root[data-scheme="dark"]) .pp-st[data-s="skip"] { color: #0d1117; }
  /* 案件の「状況 受付中」などの札（W-2: 緑の文字が茶色がかった地に沈んで比 2.58） */
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok { background: #16302f; box-shadow: 0 0 0 1px rgba(110, 231, 183, .35) inset; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok dd small { color: #6ee7b7; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn { background: #372620; box-shadow: 0 0 0 1px rgba(253, 186, 116, .35) inset; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn dd small { color: #fdba74; }
  :where(:root[data-scheme="dark"]) .nx-keyline__i.is-past { background: var(--sheet-2); } :where(:root[data-scheme="dark"]) .nx-keyline__i.is-past dd b { color: var(--ink-3); }
}

/* スマホの角は 6px（台帳 10/14「丸の意味がある部品だけ丸」）。2026-10-16 デバッグ SW-1 の測定で 6px を超えて残っていた部品をまとめて */
@media (max-width: 760px) {
  .nx-deck__why span, .nx-skip, .nx-setupbub, select, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .mb-role, .st-item, .nx-lane__empty, .nx-qbox, .nx-seg2, .nx-seg2 a,
  .nx-verifybar, .nf-row, .nxt__skip, .nxt__task, .nxt__scene, .nxt__paper, .nx-src, .nx-credit, .nx-viewsw, .nx-viewsw a, .nx-me button.is-all, .nx-me button.is-check, .nx-me button.is-todo, .nx-me button.is-done,
  button.is-all, button.is-check, button.is-todo, button.is-done, .t-q, .t-print, .t-go, .chip, .bl-card, .nx-aimeter, .cv-table, .gd-toc { border-radius: 6px; }
}

/* 案内（/next/tour）の「← 戻る」「次へ →」がスマホで枠からはみ出した（2026-10-16 デバッグ SW-2: 390 で「る」「→」が線をまたぐ） */
@media (max-width: 760px) { .nxt__nav { min-width: 0; padding: 0 14px; white-space: nowrap; flex: none; border-radius: 6px; } }

/* 暗い表示の AI のボタン（2026-10-16 デバッグ T-12: 地の --ai・--ai-2 が暗い表示で水色になり、白い文字が右側で比 1.8 に溶けた）。
   ボタンは左が濃い紺なので文字を暗くはできない → 地だけ明るい表示と同じ濃い紺のグラデーションのまま */
/*   2760行の明るい表示の指定が !important のため、暗い表示の直しが負けて比 1.81 のままだった（試し直し 09:50）→ こちらも !important */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .pr-cta__go, :where(:root:not([data-scheme="light"])) .pp-ai__go { background: linear-gradient(120deg, #2458a8, #3b6fc0) !important; color: #fff; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .pr-cta__go, :where(:root[data-scheme="dark"]) .pp-ai__go { background: linear-gradient(120deg, #2458a8, #3b6fc0) !important; color: #fff; } }
/* 同じ原因の残り（2026-11-13: 上の帯の「始める」・Polaris を始める・AIに分析してもらう。白い文字が右側で比 2.0〜2.7）。.pp-end .nx-polaris-btn（白地）は詳しさが上なのでそのまま白 */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-polaris-btn, :where(:root:not([data-scheme="light"])) .nx-act[data-intent="luna"], :where(:root:not([data-scheme="light"])).nx-lite .nx-act[data-intent="luna"] { background: linear-gradient(120deg, #2458a8, #3b6fc0) !important; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-polaris-btn, :where(:root[data-scheme="dark"]) .nx-act[data-intent="luna"], :where(:root[data-scheme="dark"]).nx-lite .nx-act[data-intent="luna"] { background: linear-gradient(120deg, #2458a8, #3b6fc0) !important; } }

/* 同じ種類の AI の札（T-12）: 札は台帳 10/13 L9 の形（地は明るいまま文字を暗く） */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .pp-aichip__tag, :where(:root:not([data-scheme="light"])) .dc__ai, :where(:root:not([data-scheme="light"])) .dc-no { color: #0d1117; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .pp-aichip__tag, :where(:root[data-scheme="dark"]) .dc__ai, :where(:root[data-scheme="dark"]) .dc-no { color: #0d1117; } }

/* ボタンの形のリンクは下線なし（2026-10-16 デバッグ S-24: はじめにやることの画面だけ a のボタン7つに下線が出ていた。ほかの12画面は下線なし） */
a.nx-btn { text-decoration: none; }
/* スマホの会社情報: 必須の所在地・対応地域が約2画面下まで出なかった（2026-10-16 デバッグ S-16）。
   台帳 10/13「資料の自動取り込みはスマホでも一番上」は守り、右の列のほかの部品（公開の落札実績と結び付ける など）だけ本文の後ろへ */
@media (max-width: 1000px) {
  .nx-me__grid:has(> .nx-me__side #nx-drop) { display: flex; flex-direction: column; }
  .nx-me__grid:has(> .nx-me__side #nx-drop) > .nx-me__side { display: contents; }
  .nx-me__grid:has(> .nx-me__side #nx-drop) > .nx-me__side > * { order: 2; }
  .nx-me__grid:has(> .nx-me__side #nx-drop) > .nx-me__side > :is(#nx-drop, #nx-import) { order: -1; }
}

/* 暗い表示の上の帯（2026-10-16 デバッグ SW-3: 「いまの画面」の印・「説明 少なめ」の地 --lq-tint-strong が明るいまま（約 #CCC8C2）で、
   暗い表示用の明るい文字が見えなかった。W-1・T-12 と同じ種類）→ 帯の中の強い地を暗い色に */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-bar { --lq-tint-strong: rgba(58, 64, 78, .92); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-bar { --lq-tint-strong: rgba(58, 64, 78, .92); } }

.st-donenote { margin-left: 6px; font-size: 13px; color: var(--ink-3); font-weight: 700; }   /* はじめにやること: 選んだ答え（S-01・S-20） */

.nx-cs[aria-busy="true"] .nx-cs__b { opacity: .55; cursor: progress; }   /* 判断を読み込み中は押せない（daily-15） */
.nx-fit__none { margin: 6px 0 10px; font-size: 13.5px; color: var(--ink-3); }   /* 公告に条件の無い項目（daily-10） */

/* 暗い表示で明るい地のまま残った札・値の枠（2026-10-16 デバッグ SW-4・anon-19。台帳 10/13「暗い表示の部品の地は暗い面・文字は明るく」）。
   札の種類ごとの指定（data-t など）が暗い表示の指定より強かった → 同じ強さ以上で暗い地と明るい字に */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-tier[data-t="fit"] { background: #12352b; color: #86efac; }
  :where(:root:not([data-scheme="light"])) .nx-tier[data-t="cond"] { background: #3a2a10; color: #fcd34d; }
  :where(:root:not([data-scheme="light"])) .nx-tier[data-t="maybe"] { background: #262c36; color: #cbd5e1; }
  :where(:root:not([data-scheme="light"])) .nx-tier.nx-tier--ai[data-t] { background: #3a2a10; color: #fcd34d; }
  :where(:root:not([data-scheme="light"])) .nf-sumchip, :where(:root:not([data-scheme="light"])) .nf-sumtext { background: #14302a; color: #d1fae5; }
  :where(:root:not([data-scheme="light"])) .nf-hard { background: #1b2a3a; color: #bfdbfe; }
  :where(:root:not([data-scheme="light"])) .nx-mk.is-method[data-m] { color: #93c5fd; background: color-mix(in srgb, #3b82f6 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #3b82f6 40%, transparent) inset; }   /* anon-19: 決まりの値を方式ごとの指定にも */
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-tier[data-t="fit"] { background: #12352b; color: #86efac; }
  :where(:root[data-scheme="dark"]) .nx-tier[data-t="cond"] { background: #3a2a10; color: #fcd34d; }
  :where(:root[data-scheme="dark"]) .nx-tier[data-t="maybe"] { background: #262c36; color: #cbd5e1; }
  :where(:root[data-scheme="dark"]) .nx-tier.nx-tier--ai[data-t] { background: #3a2a10; color: #fcd34d; }
  :where(:root[data-scheme="dark"]) .nf-sumchip, :where(:root[data-scheme="dark"]) .nf-sumtext { background: #14302a; color: #d1fae5; }
  :where(:root[data-scheme="dark"]) .nf-hard { background: #1b2a3a; color: #bfdbfe; }
  :where(:root[data-scheme="dark"]) .nx-mk.is-method[data-m] { color: #93c5fd; background: color-mix(in srgb, #3b82f6 16%, var(--sheet)); box-shadow: 0 0 0 1px color-mix(in srgb, #3b82f6 40%, transparent) inset; }   /* anon-19: 決まりの値を方式ごとの指定にも */
}

/* 会社情報の値の枠（SW-4 の続き）: 入力済み（.nf-card.is-done）・確かめ待ちの指定の方が強かった → 同じ強さで暗い地 */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nf-card.is-done .nf-sumchip, :where(:root:not([data-scheme="light"])) .nf-card.is-done .nf-sumtext { background: #14302a; color: #d1fae5; }
  :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="prov"], :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="ai"], :where(:root:not([data-scheme="light"])) .nf-sumchip[data-s="doc"], :where(:root:not([data-scheme="light"])) .nf-card.is-check .nf-sumtext { background: #3a2a10; color: #fde68a; }
  :where(:root:not([data-scheme="light"])) .nf-sumtext { background: var(--sheet-2); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nf-card.is-done .nf-sumchip, :where(:root[data-scheme="dark"]) .nf-card.is-done .nf-sumtext { background: #14302a; color: #d1fae5; }
  :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="prov"], :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="ai"], :where(:root[data-scheme="dark"]) .nf-sumchip[data-s="doc"], :where(:root[data-scheme="dark"]) .nf-card.is-check .nf-sumtext { background: #3a2a10; color: #fde68a; }
  :where(:root[data-scheme="dark"]) .nf-sumtext { background: var(--sheet-2); }
}

/* 初回の案内のスマホ: 「← 戻る」「次へ →」が画面の端に貼り付く（R2A-7）→ 左右 16px の余白 */
/*   原因は真ん中の進み具合の図（svg 218px）が縮まず、行が 32px はみ出して中央寄せで両端へ押し出されていたこと。図を縮める */
@media (max-width: 760px) { .nxt__foot { padding-left: 16px; padding-right: 16px; } .nxt__foot > svg { flex: 1 1 0; min-width: 0; max-width: 218px; height: auto; } }
/* 上記以外の重要な情報の「分類」「内容」の欄が幅 24px に潰れる（R2C-3）: はみ出し止めの width:0（4602行）で、グリッドの枠いっぱいに伸びなくなっていた。
   枠（180px・残り）の幅いっぱいに。min-width:0 はそのまま */
.nx-loose__add input { width: 100%; }
/* 本文だけで当たった案件の抜粋（R4B-2・サーバー担当の作り）: 元の文の引用と分かる小さな灰の1〜2行。長いときは2行で切る */
.nx-srow__snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; padding-left: 8px; border-left: 2px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); }
/* 上の帯のお知らせの未読の数（白い字）が、暗い表示で --sun が明るくなり明暗比 2.59・明るい表示でも 4.29 だった（2026-10-18 第5周 R5B-4）
   → 地は暗い・明るいとも同じ濃いだいだい #c2410c（白で 5.2） */
.nx-ntf__n { background: #c2410c; }
/* 送ったメールの記録の件名が右端で字の途中から切れ「…」も無かった（R5B-3）→ 折り返して全部見せる */
/* 10/23 N1: 語の切れ目（bx・wbr）は保持し、指の端末でも本文の行として折り返す。inline-flexだと各断片が別の細い列に縮む。押せる高さは保持。 */
.pp-log__main > a, .pp-log__main > b { display: block; white-space: normal; overflow-wrap: break-word; min-width: 0; }
.pp-log__main { min-width: 0; }
/* スマホの絞り込みの「並び」で「取得の新しい順」の最後の字が下向きの印に隠れていた（2026-10-18 試し直し rt5・R4C-6 の残り）→ 印の分の余白と最小の幅 */
@media (max-width: 760px) { .nx-stool .nx-flabel select[name="sort"] { padding-right: 28px; min-width: 10.5em; } }
/* 暗い表示の検討中の予定表の「納」の丸（4.15）・明るい表示の「社名を変える」（4.39）を 4.5 以上に（rt5） */
.nx-rename { color: #0b5f58; -webkit-text-fill-color: #0b5f58; }
/* 暗い表示（10/19 L5-14: 上の1行が暗い表示の決まりより後ろにあり、暗い地に暗い緑の字になった） */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-rename { color: #5eead4; -webkit-text-fill-color: #5eead4; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-rename { color: #5eead4; -webkit-text-fill-color: #5eead4; } }
:where(:root[data-scheme="dark"]) .nx-rename { color: #5eead4; -webkit-text-fill-color: #5eead4; }
/* 書類の版（R4D-24）: 最後に直した人と、前の版の一覧 */
.dc-vers { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.dc-vers__list { flex: 1 1 100%; display: grid; gap: 6px; margin: 4px 0 0; padding: 10px 12px; border-radius: 6px; background: var(--sheet-2); list-style: none; }
.dc-vers__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
/* 探すの検索語の欄だけフォーカスの枠が出なかった（2026-10-18 第5周 R5A-5）: .nx-stool .nx-qbox の線の指定が :focus-within の枠を上書きしていた */
.nx-stool .nx-qbox:focus-within { box-shadow: 0 0 0 2px var(--acc-2), 0 0 0 5px rgba(20, 184, 166, .18); }
/* Tab で進んだ部品が、上の帯・下のタブ帯の裏に隠れていた（2026-10-18 第5周 R5A-13: 拡大 200% で 70回中 16〜25回）→ 帯の分だけ見える位置まで送る */
html { scroll-padding-top: 88px; }
@media (max-width: 760px) { html { scroll-padding-top: 72px; scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }
/* 11/1 m02-home-038: 事業所の切り替えで上の帯が2段（104px）になると、決め打ちの 72px では「#」で飛んだ見出しが帯に隠れた
   → next.js が帯の下端を測って --nx-top-h に入れ、それに合わせる（測れないときは上の決め打ちのまま） */
html[style*="--nx-top-h"] { scroll-padding-top: calc(var(--nx-top-h) + 12px); }
/* 拡大 150%（1366幅＝911px 相当）・200%（1920幅＝960px 相当）で上の帯の右端が画面から 63px／13px はみ出し、☰ とアカウントの窓が画面の外だった
   （2026-10-18 第5周 R5A-12）→ スマホの形（760px 以下）になるまでの間は、アカウントの横の会社名を隠して頭文字だけに（名前は窓の中と title に残る） */
@media (min-width: 761px) and (max-width: 1080px) { .nx-melink .nx-acct__name { display: none; } }
@media (min-width: 761px) and (max-width: 900px) { .nx-bar .nx-brand__name { display: none; } }   /* それでも 800px 前後で 16〜28px はみ出すので、ロゴの文字も隠す（印は残る・リンクの名前は aria-label） */
/* 送ったメールの記録の札: 参加済み（R4D-2・サーバー担当が足した joined）は送信済みと同じ緑、取り消し済みは控えめに */
.nt-st[data-s="joined"] { background: var(--ok-soft); color: var(--ok); }
.nt-st[data-s="canceled"] { background: var(--sheet-2); color: var(--ink-3); }
/* 発注機関などの上の数字の枠（.nh-kpis・4列）: 3つのときに4つ目が中身の無い灰色の枠になっていた（2026-10-17 第4周 R4D-8。検討中の daily-23 と同じ種類）
   → 3つなら3列。スマホ（2列）で最後が1つ余るときは横いっぱい */
.nh-kpis:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .nh-kpis:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nh-kpis > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 暗い表示: 濃い青緑の字（#0f766e など）を直に書いた所が、暗い地で明暗比 3.2〜3.5 に沈んでいた（2026-10-17 第4周 試し直し: プロフィールの「大事な項目はそろいました」ほか）。
   地を持たない文字の指定 24 か所をまとめて、暗い表示では明るい --acc に（紙面の .ps- と :hover は除く） */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-scheme="light"])) .nx-drop__pick, :where(:root:not([data-scheme="light"])) .nf-detail > summary::before, :where(:root:not([data-scheme="light"])) .nxi-live, :where(:root:not([data-scheme="light"])) .nx-mtile[data-k="fit"] b, :where(:root:not([data-scheme="light"])) .nx-psum__big[data-ok="true"], :where(:root:not([data-scheme="light"])) .nx-login .nx-wel__eyebrow, :where(:root:not([data-scheme="light"])) .nx-wel__eyebrow:not(.nx-wel__brand), :where(:root:not([data-scheme="light"])) .nx-wel2__n, :where(:root:not([data-scheme="light"])) .nx-wel2__table td:last-child, :where(:root:not([data-scheme="light"])) .nx-dkhead__eyebrow, :where(:root:not([data-scheme="light"])) .nx-flow__done b, :where(:root:not([data-scheme="light"])) .nx-needacct__login, :where(:root:not([data-scheme="light"])) .nx-setup2__count b, :where(:root:not([data-scheme="light"])) .nxr-clock, :where(:root:not([data-scheme="light"])) .nxr-phase li.is-done, :where(:root:not([data-scheme="light"])) .nxr-reader[data-s="running"], :where(:root:not([data-scheme="light"])) .nxr-terra[data-s="running"], :where(:root:not([data-scheme="light"])) .nxr-count, :where(:root:not([data-scheme="light"])) .nxr-item.is-bump small, :where(:root:not([data-scheme="light"])) .nx-bellwin__row em, :where(:root:not([data-scheme="light"])) .nxi-prog small, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok dd b, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok dd small, :where(:root:not([data-scheme="light"])) .nx-award__k { color: var(--acc); }
} /* scheme-mirror */ @media all {
  :where(:root[data-scheme="dark"]) .nx-drop__pick, :where(:root[data-scheme="dark"]) .nf-detail > summary::before, :where(:root[data-scheme="dark"]) .nxi-live, :where(:root[data-scheme="dark"]) .nx-mtile[data-k="fit"] b, :where(:root[data-scheme="dark"]) .nx-psum__big[data-ok="true"], :where(:root[data-scheme="dark"]) .nx-login .nx-wel__eyebrow, :where(:root[data-scheme="dark"]) .nx-wel__eyebrow:not(.nx-wel__brand), :where(:root[data-scheme="dark"]) .nx-wel2__n, :where(:root[data-scheme="dark"]) .nx-wel2__table td:last-child, :where(:root[data-scheme="dark"]) .nx-dkhead__eyebrow, :where(:root[data-scheme="dark"]) .nx-flow__done b, :where(:root[data-scheme="dark"]) .nx-needacct__login, :where(:root[data-scheme="dark"]) .nx-setup2__count b, :where(:root[data-scheme="dark"]) .nxr-clock, :where(:root[data-scheme="dark"]) .nxr-phase li.is-done, :where(:root[data-scheme="dark"]) .nxr-reader[data-s="running"], :where(:root[data-scheme="dark"]) .nxr-terra[data-s="running"], :where(:root[data-scheme="dark"]) .nxr-count, :where(:root[data-scheme="dark"]) .nxr-item.is-bump small, :where(:root[data-scheme="dark"]) .nx-bellwin__row em, :where(:root[data-scheme="dark"]) .nxi-prog small, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok dd b, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok dd small, :where(:root[data-scheme="dark"]) .nx-award__k { color: var(--acc); }
}
/* Safari: 下の関連リンク・見本の入口が「AIとデータの取扱／い」「（見るだ／け）」と1〜2字だけ次の行へ回っていた（2026-10-17 第4周 R4C-12）→ 1つのリンクは1行に */
.nx-foot__links a, .nx-login__lead a { white-space: nowrap; }
/* hidden の付いた部品は必ず隠す（2026-10-17 第4周 R4C-14: 「前のメモ」の記録の枠が display:grid に負けて空のまま出ていた。
   同じ負け方で、案件が0件の検討中に空の段の枠 115px も出ていた。台帳 10/12「hidden が display に負ける罠」をサイト全体で止める）
   全画面を測って、hidden なのに出ていたのはこの2つだけだった（どちらも出す意図は無い） */
[hidden] { display: none !important; }
/* 提出書類の下書きの切り替え（R4C-11）: スマホで「下書きあり」の札が付くと、右端の「入札書・委任状」が切れていた → スマホは札を小さな点に（読み上げは文字のまま） */
@media (max-width: 640px) { .dc-tabs button small { display: inline-block; width: 7px; height: 7px; margin-left: 4px; padding: 0; border-radius: 50%; background: var(--acc); font-size: 0; vertical-align: middle; } }
/* スマホの絞り込みの期間（取得日・締切）: 2つ目の日付が枠から 8px はみ出す・「〜」だけ1行目に残って2つ目が次の行に落ちていた（2026-10-17 第4周 R4C-6）
   → 見出しは1行目、「から 〜 まで」は2行目に並べ、日付の欄は行の幅を分け合う */
@media (max-width: 760px) {
  .nx-stool .nx-flabel--range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 4px 6px; width: 100%; white-space: normal; }
  .nx-stool .nx-flabel--range > .nx-flabel__k { grid-column: 1 / -1; }
  .nx-stool .nx-flabel--range > input[type="date"] { width: 100%; min-width: 0; }
}
/* スマホの探す: 検索窓が「絞り込み」「?」と1行に並び、入力欄が約110pxで「設備 保守点検」の頭が切れていた（2026-10-17 第4周 R4C-5）
   → 検索窓は1行を全部使い、「絞り込み」「?」は次の行に（条件を「絞り込み」で畳む台帳 10/12 の形はそのまま） */
@media (max-width: 760px) { .nx-stool .nx-stool__row:not(.nx-stool__row--f) > .nx-qbox { flex: 1 1 100%; } }
/* 発注機関の「次に出そうな案件」（R4B-11）: 時期を過ぎた印は小さな札・スマホは時期を1行目に。フォローの説明はスマホでボタンの下の1行 */
.nh-soon__late { margin: 0 6px; padding: 1px 6px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); background: var(--sheet-2); white-space: nowrap; }
@media (max-width: 760px) { .nh-soon__list li > b { display: inline-block; margin-right: 2px; } .nx-follow__note { display: block; margin-top: 6px; } }
/* 探すの「本文だけで当たった案件」の区切り（R4B-3） */
.nx-srows__sep { list-style: none; margin: 14px 0 4px; padding: 8px 2px 4px; border-top: 1px solid var(--line-2); font-size: 13px; font-weight: 800; color: var(--ink-3); }
/* スマホの表の行（所在地など）: 2列目の値が狭い列に押し込まれ、「区分（本店/支店/営業所）：」が1文字ずつ縦に折れていた（2026-10-17 第4周 R4C-1）
   → 値は縦に並べ、消す「×」は1行目の右。見出しは括弧の中を外した短い形（区分・所在地） */
@media (max-width: 640px) {
  .nf-row:not(.is-head):not(.is-new) > span[data-col] { grid-column: 1; }
  .nf-row:not(.is-head):not(.is-new) > .nf-row__act { grid-column: 2; grid-row: 1; align-self: start; }
  .nf-row > span[data-short]::before { content: attr(data-short) "："; }
}
/* 照合の件数の札が、案件が無いと空のまま白い丸い枠だけ残っていた（2026-10-17 第4周 R4A-8）→ 中身が無いときは出さない */
.nx-watch__count:empty { display: none; }
/* 開いたことのある案件の題名を少し薄く（2026-10-17 第4周 B13。どこまで見たか分かるように）。:visited は色だけ変えられる */
a.nx-srow:visited .nx-srow__title { color: var(--ink-2); }
/* スマホの検討中の件数の表（3列）で、5つ目のあとに中身の無い灰色のますが出ていた・照合の件数の札が両端の丸い大きな札（2026-10-16 デバッグ daily-23）
   → 最後の1つが行の途中で終わるときは残りの列まで広げる。件数の札は台帳 10/14 のスマホの角 6px に */
@media (max-width: 760px) {
  .pp-kpi > div:last-child:nth-child(3n+2) { grid-column: span 2; }
  .pp-kpi > div:last-child:nth-child(3n+1) { grid-column: span 3; }
  .nx-watch__count { border-radius: 6px; }
}
/* 地図の沖縄県の差し込み（R2D-16）: 枠と名前。押す邪魔をしない */
.nxm-inset { pointer-events: none; }
.nxm-inset__frame { fill: none; stroke: rgba(200, 225, 255, .4); stroke-width: .6; stroke-dasharray: 3 2; }
.nxm-inset__label { text-anchor: start; }
.nh-ptab__scope { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }   /* 種類ごとの比べた範囲（A-11） */
/* 登録の誤り（R3A-1）: 添え書きは誤りの文と行を分け、直す欄に赤い枠 */
.nx-signup__errnote { display: block; margin-top: 4px; font-weight: 600; }
.nx-signup__form input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--bad) inset; }
.nx-agree { padding-block: 4px; }   /* 押せる範囲を 32px 以上に（10/19 L15-6: 24px だった） */
.nx-agree.is-bad { border-radius: 8px; box-shadow: 0 0 0 2px var(--bad); padding: 6px 8px; }
/* お支払いの「料金の明細・使っている量」に開く印が無かった（R2D-28）→ 右端に＋／－（台帳 9/25 の畳む印） */
.bl-more > summary { list-style: none; gap: 10px; }
.bl-more > summary::-webkit-details-marker { display: none; }
.bl-more > summary::after { content: "＋"; margin-left: auto; font-weight: 900; color: var(--acc); }
.bl-more[open] > summary::after { content: "－"; }
/* 書類の同時の直し（T-1）: どちらを残すかの2つのボタン */
.nx-conflict__acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* リンクのボタン（a.nx-btn）の文字が上に寄る（R2A-9 の残り: はじめにやることの一番下の3つ・上2px 下18px）→ サイト全体の a.nx-btn を上下中央に。
   :where で強さを0にし、個別の display の指定（隠す・block など）と [hidden] には必ず負ける */
:where(a.nx-btn) { display: inline-flex; align-items: center; justify-content: center; }
/* はじめにやることの PC: リンクのボタンの文字が上に寄る（R2A-9: 上1px・下19px）→ 上下中央 */
.st-item a.nx-btn, .st-act a.nx-btn { display: inline-flex; align-items: center; justify-content: center; }

/* プロフィール: AI による照合の見直しの切り替え（2026-10-17 表示方針） */
.nx-aipref { display: grid; gap: 4px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-aipref .nx-agree b { color: var(--ink); }
.nx-aipref .nx-agree a { margin-left: 6px; }
.nx-aipref .nx-agree small { margin-left: 6px; color: var(--ink-3); }
.nx-aipref .nx-agree input:disabled { cursor: not-allowed; }
.nx-aipref__st { font-size: 13px; color: var(--ink-3); min-height: 1em; }

/* 横に流す箱の、右に続きがあるときだけ右の端を薄く（fresh2 気-18・19。印は next.js が付ける）。
   左は薄くしない（検討中のスケジュール・表は左の列が固定で、名前が薄くなる） */
[data-hclip$="r"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }

/* 案件ページの PC 幅は、パンくずと「← ○○へ戻る」が同じ戻り先で二重だった（10/18 fresh2 気-16）→ PC はパンくずだけ。スマホは押しやすい戻るを残す */
/* 10/25 （スマホの上半分に無駄な場所・選択「スマホでも外す」）: スマホもパンくずだけ。代わりにパンくずのリンクを押しやすい高さに */
.nx-case__meta > .nx-back { display: none; }
@media (max-width: 760px) { .nx-case__meta .nx-crumbs a { min-height: 44px; } }

/* スマホの「検討する」「見送る」の押す部分を大きく（10/18 fresh2 気-20: 探すの一覧が32px・案件ページが36pxで押し間違えやすかった）。
   探すの一覧は日付の行も36pxにして、件名がボタンの下に潜らないように（40px は件名にかかった・36px でも日付の行が30pxのままだと件名にかかった。測ってから決めた） */
@media (max-width: 760px) {
  .nx-searchpage--top .nx-srows li > .nx-cs .nx-cs__b { min-height: 36px; }
  .nx-searchpage--top .nx-srow__date { min-height: 36px; }
  .nx-cs--brief .nx-cs__b { min-height: 40px; }
}

/* 大きいボタンの白い文字（.nx-btn--big）は緑のボタンのためのもの。枠だけのボタン（ghost）にも当たり、入口・料金の「見本の会社で試す（登録なし）」が明るい地に白で読めなかった（10/18 第8周 R8A-1）
   → ghost は濃い文字と細い枠（暗い表示では --ink-2 が明るい色になるので読める） */
.nx-btn--ghost.nx-btn--big { color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* 空のとき本社などの値で照合する欄の一言（10/18 第7周 R7B-3。next-me.js の paintHeld） */
.nf-held { margin: 2px 0 6px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* 文字を大きくした細い画面（幅340px以下）は、ログインしない上の帯でロゴの文字を出さず印だけ（10/18 第8周 R8A-16: 幅260で「始める」の右端が323で画面の外）。
   読み上げはリンクの aria-label「入札案件観測所 ホーム」で変わらない */
@media (max-width: 340px) { .nx-bar .nx-brand__name.is-free { display: none; } }
/* 一覧の案内（0件のとき）のリンクは、期限の行の2列（日付｜件名）にしない（10/18 第8周 R8A-10: 「合いそうな案／件を探す →」が日付の列 92px に押し込まれて折れた。PC でも） */
.nx-tile__list > li.nx-tile__msg > a { display: inline; }

/* 適合の未確認から入れる先へ（10/18 第8周 R8A-13） */
.nx-fit__go { margin-left: 6px; font-weight: 800; white-space: nowrap; }

/* 料金・紹介ページで、ログイン済みのメンバーに出す1行（10/18 第8周 R8C-12） */
.nx-cta-note { display: inline-block; padding: 10px 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* 会社名・事業所名の見出しは、地名の途中で折らない（10/19 第9周 R9A-13: 「株式会社 秋／田測地コンサルタント」）。
   BudouX から外し、和文の字の間では折らず（keep-all）、空白（「株式会社」の後）で折る。長すぎるときだけどこでも折る */
#nx-coname, #nx-unitname { word-break: keep-all; overflow-wrap: anywhere; }

/* スマホの絞り込みを開いたとき、発注者・並びの欄が狭く（並びの「取得の新しい順」の「順」が切れた）、種類・地域・取得日と幅がそろわなかった（10/19 R6D-7）
   → 名前つきの欄は1行ずつ全幅、中の入力・選択は残りの幅いっぱい。チェックは押せる高さ 32px 以上（台帳 10/13） */
@media (max-width: 760px) {
  .nx-stool.is-fopen .nx-stool__row--f > label.nx-flabel:not(.nx-flabel--chk) { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; }
  .nx-stool.is-fopen .nx-stool__row--f > label.nx-flabel:not(.nx-flabel--chk) > select,
  .nx-stool.is-fopen .nx-stool__row--f > label.nx-flabel:not(.nx-flabel--chk) > input { flex: 1 1 auto; width: auto; min-width: 0; max-width: none; }
  .nx-stool.is-fopen .nx-flabel--chk { min-height: 32px; }
}

/* 登録の直後の「今日の合いそう」（10/20 表示方針⑩）。はじめにやることの帯のすぐ下・数字4枚の上 */
.nx-picks { margin-bottom: 14px; }
.nx-picks h2 small { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); font-family: var(--f-jp); letter-spacing: 0; }
.nx-picks__note { margin: 0 0 6px; font-size: 13px; color: var(--ink-2); }
.nx-picks__list { list-style: none; margin: 0; padding: 0; display: grid; }
.nx-picks__list > li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.nx-picks__list > li:first-child { border-top: 0; }
/* 10/23 s01-I03: 理由の?は件名リンクの外、行の右端。説明用の行を増やさず、共通のタップ範囲も枠内に置く。 */
.nx-picks__list > li:has(> .nx-q) { position: relative; padding-right: 44px; }
.nx-picks__list > li > .nx-q { position: absolute; right: 12px; top: 12px; }
.nx-picks__list a { display: grid; min-width: 0; color: inherit; text-decoration: none; }
.nx-picks__t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-picks__o { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .nx-picks__list a:hover .nx-picks__t { text-decoration: underline; } }

/* 探すから持ち越した条件の一行（10/20 R11-3） */
.nx-signup__carry { margin: 0; padding: 8px 12px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 8%, transparent); color: var(--ink-2); font-size: 13px; }

/* 企業ページは未ログインに非公開（10/20）。JS が無いときも、会社名のリンクを押せない文字に見せる（JS は href を外して nx-cotext を付ける。next.js の末尾） */
body[data-anon] a[href*="/next/history/company/"]:not([href*="/company/co-jp-"]):not([data-co-open]) { pointer-events: none; color: inherit; text-decoration: none; cursor: text; }
body[data-anon] a.nx-cotext { color: inherit; text-decoration: none; cursor: default; }   /* JS が href を外した会社名。見本が浮かぶよう押せる状態のまま（10/21） */
.pp-need { margin: 0 auto 14px; max-width: max-content; }
@media (max-width: 640px) { .pp-need { margin-top: 34px; } }   /* スマホは左上の「← 戻る」と重なった */

/* お試し終了の帯「栞の紐」（10/21 表示方針⑪ 案A。templates/_trialband.html）。緑＝お試し・金＝切り替わる日・点線＝保存・朱＝削除・赤い栞＝今日 */
.nx-tband { margin: 14px 0 0; padding: 16px 18px 14px; border-radius: 8px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-tband__rail { position: relative; display: grid; height: 10px; margin-top: 10px; border-radius: 2px; }
.nx-tband__rail > span:nth-child(1) { background: var(--acc); border-radius: 2px 0 0 2px; }
.nx-tband__rail > span:nth-child(2) { background: #b08a2e; }
.nx-tband__rail > span:nth-child(3) { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); }
.nx-tband__rail > span:nth-child(4) { background: var(--bad); opacity: .55; border-radius: 0 2px 2px 0; }
.nx-tband__mark { position: absolute; top: -12px; width: 16px; height: 34px; transform: translateX(-50%); background: linear-gradient(#a51d14, #7d140e); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); }
.nx-tband__stops { list-style: none; display: grid; margin: 12px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-2); }
.nx-tband__stops li { min-width: 0; display: grid; gap: 1px; }
.nx-tband__stops b { font-family: var(--serif, inherit); font-size: 14px; color: var(--ink); }
.nx-tband__stops li:nth-child(2) { grid-column: 3; }
.nx-tband__stops li:nth-child(3) { grid-column: 4; justify-self: end; text-align: right; white-space: nowrap; }   /* 狭い列から左へ伸ばす */
/* 料金のページ（日付なし）は文字を3等分に */
.nx-tband--plain .nx-tband__stops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.nx-tband--plain .nx-tband__stops li:nth-child(2) { grid-column: 2; }
.nx-tband--plain .nx-tband__stops li:nth-child(3) { grid-column: 3; white-space: normal; }
.nx-tband__today { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.nx-tband__today span { color: #a51d14; margin-right: 4px; font-size: 11px; }
@media (max-width: 640px) {
  .nx-tband__stops { grid-template-columns: minmax(0, 1fr) !important; gap: 6px; }
  .nx-tband__stops li:nth-child(2), .nx-tband__stops li:nth-child(3) { grid-column: auto; justify-self: start; text-align: left; white-space: normal; }
  .nx-tband--plain .nx-tband__stops li:nth-child(n) { grid-column: auto; }   /* 3等分の列の指定より強く、スマホは1列に */
}

/* 税込の1行（10/21 料金の改定: 税抜を大きく・税込を添える。特商法は税込の総額） */
.nx-price__tax { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pp-tax { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }

.nx-login__kicked small { display: block; margin-top: 4px; font-weight: 500; color: var(--ink-2); }   /* 同時ログインで切れた知らせの添え書き（10/21） */

/* 案件ページの見直し（10/21 文面の無駄を削る。部品・境界・パンくずは残す） */
.nx-keyline .nx-keyline__i:not(.is-info) dd small { display: inline-block; margin-left: .2em; white-space: nowrap; }   /* 日付の曜日を次の行にしない。状況・入札方式の添え（電子入札など）はスマホで次の行のまま（10/13 の語の途中の折れの直し） */
.nx-tl__ev time { white-space: nowrap; }
.nx-tl__ev time b { display: inline; font-size: 22px; }
.nx-tl::before { left: 132px; } .nx-tl__ev, .nx-tl__now { grid-template-columns: 120px minmax(0, 1fr); } .nx-tl__ev::after { left: 127px; }
.nx-keys dd.has-ev { position: relative; padding-right: 4.5em; }
.nx-evbtn.nx-evbtn--end { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; padding: 2px 4px; border: 0; border-radius: 4px; background: none; box-shadow: none; color: var(--ink-3); font-weight: 500; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.nx-evbtn.nx-evbtn--end[aria-expanded="true"] { top: .9em; transform: none; color: var(--acc); }
@media (hover: hover) { .nx-evbtn.nx-evbtn--end:hover { background: none; color: var(--acc); } }
.nx-fit__none a { white-space: nowrap; }
@media (max-width: 640px) {
  .nx-b-actions .nx-act:not([data-intent="luna"]) { display: none; }   /* スマホの上のボタンは「AIに分析してもらう」だけ */
  .nx-tl::before { left: 106px; } .nx-tl__ev, .nx-tl__now { grid-template-columns: 96px minmax(0, 1fr); gap: 22px; } .nx-tl__ev::after { left: 101px; }
  .nx-tl__ev time b { font-size: 19px; }
}

/* 探すの行: 種類の札と要点の札を同じ並びに（10/21 スマホで「IT」だけが1行使っていた） */
.nx-srow__chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nx-srow__chips .nx-marks { display: contents; }

/* 案件ページの右の余白の目次（10/21 各項目へすぐ飛べる控えめなボタン）。置き場所は next.js の caseJump */
.nx-jump { position: fixed; top: 132px; z-index: 20; width: 96px; }
.nx-jump[hidden] { display: none; }
.nx-jump ol { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 1px solid var(--line-2); display: grid; gap: 2px; }
.nx-jump a { display: block; padding: 3px 0 3px 6px; margin-left: -9px; border-left: 2px solid transparent; font-size: 12px; line-height: 1.35; color: var(--ink-3); text-decoration: none; }
.nx-jump a.is-on { color: var(--acc); border-left-color: var(--acc); font-weight: 700; }
@media (hover: hover) { .nx-jump a:hover { color: var(--ink); } }
.nx-jump a:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#nx-canvas > .nx-block, #nx-canvas > .nx-b-brief, #nx-canvas > .nx-ins { scroll-margin-top: 96px; }   /* 上の帯の下に見出しが来るように */
@media (max-width: 1099px) { .nx-jump { display: none; } }

/* スマホ・狭い画面の目次の帯（10/21 スマホにも目次。上に横に流せる帯）。上の帯の下に貼り付く */
.nx-jumpbar { display: none; }
@media (max-width: 1099px) {
  .nx-jumpbar { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 60px); z-index: 15; margin: 0 0 10px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
  .nx-jumpbar ol { list-style: none; margin: 0; padding: 6px 2px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nx-jumpbar ol::-webkit-scrollbar { display: none; }
  .nx-jumpbar a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 6px; font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
  .nx-jumpbar a.is-on { background: var(--sheet); color: var(--acc); font-weight: 700; box-shadow: 0 0 0 1px var(--line) inset; }
  #nx-canvas > .nx-block, #nx-canvas > .nx-b-brief, #nx-canvas > .nx-ins { scroll-margin-top: 112px; }
}

/* ログインなしの人への見本（10/21 カーソルを合わせると見本の画面が浮かぶ。スマホは触れたら）。next.js の peek */
.nx-peek { position: absolute; z-index: 70; max-height: calc(100vh - 16px); overflow: auto; border-radius: 14px; background: #fffdf7; color: #22232c; box-shadow: 0 0 0 1px #c9bb94, 0 24px 60px -18px rgba(20, 16, 0, .55); }   /* 10/24 地の色と分かれる明るい紙（暗い表示でも紙のまま） */
.nx-peek__h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 8px 9px 14px; background: #14204a; color: #f3ead2; font-size: 13px; }
.nx-peek__h small { margin-left: auto; font-size: 12px; opacity: .75; }
.nx-peek__x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #f3ead2; font-size: 20px; cursor: pointer; }
.nx-peek__bar { height: 3px; background: rgba(20, 32, 74, .12); }
.nx-peek__bar i { display: block; height: 100%; width: 100%; background: #e6c46e; transform-origin: left; animation: nx-peekbar linear forwards; }
.nx-peek.is-held .nx-peek__bar i { animation-play-state: paused; }
@keyframes nx-peekbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nx-peek__stage { position: relative; display: grid; padding: 12px 12px 0; touch-action: pan-y; }
.nx-peek__stage img { grid-area: 1 / 1; display: block; width: 100%; height: auto; align-self: start; border-radius: 6px; box-shadow: 0 0 0 1px #e2d8bd; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.nx-peek__stage img.is-on { opacity: 1; }
.nx-peek__nav { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 253, 247, .94); box-shadow: 0 0 0 1px #c9bb94; color: #14204a; font-size: 20px; cursor: pointer; }
.nx-peek__prev { left: 2px; } .nx-peek__next { right: 2px; }
.nx-peek__cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 16px 2px; }
.nx-peek__cap b { font-size: 15px; color: #14204a; } .nx-peek__cap span { font-size: 12px; color: #6a5f4a; font-variant-numeric: tabular-nums; }
.nx-peek__dots { display: flex; justify-content: center; gap: 2px; padding: 0 0 6px; }
.nx-peek__dots button { position: relative; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; }
.nx-peek__dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 4px; background: #d8ccab; transition: width .2s, margin .2s; }
.nx-peek__dots button.is-on::after { width: 20px; margin-left: -10px; background: #14204a; }
.nx-peek__foot { padding: 10px 16px 14px; border-top: 1px dashed #d8ccab; }
.nx-peek__t { margin: 0; font-size: 14px; font-weight: 800; color: #0f6b5c; }
.nx-peek__n { display: block; margin: 6px 0 0; font-size: 12px; color: #6a5f4a; }
.nx-peek .nx-launchline { background: #fbefd8; color: #22232c; }
.nx-peek .nx-launchline b { color: #b42318; } .nx-peek .nx-launchline a { color: #0f6b5c; }   /* 見本の窓はいつも明るい紙。暗い表示の色だと読めない（10/25 Z11-02） */
@media (max-width: 640px) { .nx-peek { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); max-height: 86vh; } }   /* スマホは画面の下から */
@media (prefers-reduced-motion: reduce) { .nx-peek__stage img { transition: none; } .nx-peek__bar { display: none; } }


/* 先行リリースキャンペーン（10/21 表示方針）。定価に線・理由の枠 */
.nx-price__list, .pp-list { margin: 0 0 4px; font-size: 13px; color: var(--ink-2); }
.nx-price__list s, .pp-list s { color: var(--ink-3); }
.nx-price__list b { color: var(--bad); }
.nx-price__launch { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: color-mix(in srgb, var(--acc) 7%, var(--sheet)); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13px; color: var(--ink-2); }
.nx-price__launch b { display: block; margin-bottom: 4px; color: var(--ink); }
.nx-price__launch p { margin: 0; line-height: 1.75; }

/* 角印「先行優待価格」（10/21 。トップの料金の札と同じ印を小さく。数字の右上・上に空きを作る） */
@font-face{ font-family:'Polaris Hanko';src:url(/static/next/fonts/hanko/yuji-boku-hanko.woff2) format('woff2');font-display:block }
.nx-hanko-host { position: relative; display: inline-block; margin-top: 44px; }
.nx-kakuin { position: absolute; right: -20px; top: -50px; width: 74px; height: 74px; border: 3.5px solid #b42318; border-radius: 3px; transform: rotate(-5deg); display: flex; align-items: center; justify-content: center; color: #b42318; opacity: .9; pointer-events: none; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.8'/></filter><rect width='160' height='160' filter='url(%23f)'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.4 1.8'/></filter><rect width='160' height='160' filter='url(%23f)'/></svg>"); -webkit-mask-size: 120px; mask-size: 120px; }
.nx-kakuin b { writing-mode: vertical-rl; font-family: 'Polaris Hanko', serif; font-weight: 400; font-size: 21px; line-height: 1.04; letter-spacing: .02em; white-space: nowrap; color: #b42318; }
@media (max-width: 640px) { .nx-kakuin { right: -6px; } }

/* 案件ページの件名と要点（サーバーの HTML。10/21 SEO 1）。JS が動く端末では JS の画面が同じものを描くので隠す */
.js .nx-ssr{display:none}
.nx-ssr__t{font-size:1.4rem;margin:.5rem 0}
.nx-ssr__f{display:grid;gap:.25rem;margin:0 0 .75rem}
.nx-ssr__f div{display:flex;gap:.75rem}
.nx-ssr__f dt{color:var(--ink-3);min-width:6em}
.nx-ssr__f dd{margin:0}

/* 発注機関のページの受付中の案件（10/22 表示方針 B） */
.nh-open { margin: 18px 0; }
.nh-open__list { list-style: none; margin: 8px 0 10px; padding: 0; border-top: 1px solid var(--line); }
.nh-open__list li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.nh-open__list a { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.nh-open__list small { flex: none; color: var(--ink-3); font-size: 12px; white-space: nowrap; }

/* 公告の条件の札の名前だけ（未ログイン。10/22 表示方針 C）。押して開く札と同じ形で、▾ は付けない */
.nx-term__n { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.nx-term--plus > .nx-term__n { background: var(--ok-soft); color: var(--ok); }
.nx-term--cond > .nx-term__n { background: var(--sky-soft); color: var(--sky); }
.nx-term--info > .nx-term__n { background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; }

/* 先行キャンペーンの札と1行（10/22 表示方針 案B）。2027/4/1 からサーバーが出さない */
.nx-startwrap { position: relative; display: inline-flex; }
.nx-launchtag { position: absolute; right: 0; top: calc(100% + 9px); z-index: 2; display: grid; width: max-content; gap: 1px; padding: 4px 10px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; text-align: right; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: opacity .2s; }
.nx-launchtag::before { content: ""; position: absolute; right: 22px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--bad); }   /* 吹き出しの三角（10/22 ボタンを指す形に） */
.nx-launchtag b { font-weight: 800; }
body.nx-scrolled .nx-launchtag { opacity: 0; }   /* 下へ動かしたら消す（固定のヘッダーの下で本文に重ならないように） */
body[data-anon] #nx-main { padding-top: 34px; }   /* 吹き出しの分だけ本文を下げる（スマホで検索窓に重なった。10/22） */
.nx-acct--pub { flex: none; }   /* 未ログインの三本線は縮めない（10/22: 390 で 15px・360 で 0px に押しつぶされた） */
@media (max-width: 640px) {
  body[data-anon] #nx-main { padding-top: 46px; }
  body[data-anon] .nx-bar__tools > .nx-login { display: none; }   /* スマホのログインは下のタブと三本線の中にある */
}
.nx-launchline { display: block; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--ink); font-size: 13px; font-weight: 700; }
.nx-launchline b { color: var(--bad); }

/* 運営からのお知らせ（10/22）。紙の地の上に、日付と種類の札・見出し・本文。#id で開いた記事は少し色を付ける */
.nx-opnews { max-width: 760px; margin: 0 auto; padding: 16px 16px 48px; }   /* スマホで端にくっついた（10/22 本番 100102）→ 左右に16px */
.nx-opnews__h { margin: 10px 0 4px; font-family: var(--f-jp); font-size: clamp(26px, 3vw, 34px); }
.nx-opnews__lead { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.nx-opnews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nx-opnews__item { scroll-margin-top: 96px; padding: 18px clamp(16px, 3vw, 26px); border-radius: 16px 16px 16px 6px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.nx-opnews__item:target { box-shadow: 0 0 0 2px var(--sky); }
.nx-opnews__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.nx-opnews__tag { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.nx-opnews__tag--info { background: var(--sheet-2); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-opnews__tag--new { background: var(--ok-soft); color: var(--ok); }
.nx-opnews__tag--fix { background: var(--sky-soft); color: var(--sky); }
.nx-opnews__tag--camp { background: var(--warn-soft); color: var(--bad); }
.nx-opnews__t { margin: 0 0 8px; font-size: 18px; line-height: 1.5; }
.nx-opnews__t a { color: inherit; text-decoration: none; }
.nx-opnews__p { margin: 0 0 6px; font-size: 15px; line-height: 1.85; color: var(--ink); overflow-wrap: anywhere; }
.nx-opnews__home { margin-bottom: 10px; }
.nx-opnews__sub { display: flex; justify-content: space-between; align-items: baseline; }
.nx-opnews__sub a { font-weight: 700; color: inherit; }
.nx-opnews__tag--imp { background: var(--bad-soft); color: var(--bad); }   /* 11/14 重要なお知らせ（すべてのタブで印を付ける） */
/* 11/14 お知らせのタブ（重要なお知らせ・すべて）。住所を変えるリンク。指の端末でも押しやすい高さ */
.nx-opnews__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.nx-opnews__tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-opnews__tabs a[aria-current="page"] { color: var(--sheet); background: var(--ink); box-shadow: none; }
@media (hover: hover) { .nx-opnews__tabs a:not([aria-current]):hover { color: var(--ink); box-shadow: 0 0 0 1px var(--ink-3) inset; } }
@media (max-width: 760px) { .nx-opnews__tabs a { min-height: 44px; } }

/* 10/23 s01 F8: WebKit は帯の色の遷移中に SVG と背景が別の配色のまま残る。
   Safari だけ帯の遷移を止め、空を抜けた時も地と印を同時に切り替える。
   10/12 の濃さ・10/15 の空の上の枠なしの指定は維持（Chromium は従来どおり）。 */
@supports (-webkit-hyphens: none) {
  .nx-bar, .nx-bar * { transition: none !important; }
}

/* 10/23 s01 F9: ホームの小さな操作は印の大きさを保ち、透明な当たりと余白を広げる。 */
@media (max-width: 760px) {
 [data-page="home"] :is(.nx-melink, .nx-viewbtn, .nx-cmd__ai, .nx-burger, .nx-bell) { position: relative; }
 [data-page="home"] :is(.nx-melink, .nx-viewbtn, .nx-cmd__ai, .nx-burger, .nx-bell)::after { content: ""; position: absolute; width: max(100%, 44px); height: max(100%, 44px); left: 50%; top: 50%; transform: translate(-50%, -50%); }
 [data-page="home"] :is(.nx-tile > header a, .nx-sig__src[href], .nx-opnews__sub a, .nx-foot__links a, .nx-dash__digest a, .nx-scheme__seg button) { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
 [data-page="home"] .nx-melink { min-width: 44px; min-height: 44px; justify-content: center; }
 /* 固定の高さの窓でも、見出しを縮めて次の行に当たりが重ならないようにする。 */
 [data-page="home"] .nx-tile > header { flex-shrink: 0; min-height: 44px; align-items: center; }
 [data-page="home"] .nx-opnews__sub { align-items: center; }
}

/* 10/23 s02 G5: Escで閉じた説明は、? にフォーカスが残っていても隠す。 */
.nx-q[data-tip-dismissed]::after { display: none; }

/* 10/23 s04 J8: WebKitの月日10/21などが数字の途中で折れない幅。分析の共通行すべてに適用。 */
.nh-row__date b, .nh-row__date small { white-space: nowrap; }
@media (max-width: 760px) {
  .nh-row { grid-template-columns: 52px minmax(0, 1fr); }
}

/* 10/23 s04 J5: 分析の札と?は見た目を保ち、透明な当たりだけ44pxへ。隣の当たりと重ならない間隔も取る。 */
@media (max-width: 760px) {
  .ax-chip, .nh-page .hco-help { position: relative; }
  .ax-chip::after, .nh-page .hco-help::after {
    content: ""; position: absolute; width: max(100%, 44px); height: max(100%, 44px);
    left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .ax-filters { gap: 14px; }
  .ax-filters__row { gap: 12px; }
  .nh-page .nx-q::before {
    content: ""; position: absolute; inset: auto; width: max(100%, 44px); height: max(100%, 44px);
    left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .nh-page :is(.nh-mini li > a, .hco-nta a, .hco-bars li > a, .hco-same a, a.nh-co, a.nh-org) {
    display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  }
  .nh-page .hco-ranked a { display: flex; align-items: center; min-height: 44px; }
  /* 発注機関の受注企業ランキングは省略表示を保ち、文字の大きさを変えず行内の当たりを広げる。 */
  .nh-page .nh-share li > a { display: block; min-height: 44px; line-height: 44px; }
}

/* 10/23 s02 G7: 円の上下限。既存の期間欄と同じ幅で、狭い画面では枠内に収める。 */
.nx-stool .nx-flabel--range input[type="number"] { width: 8.9em; }
@media (max-width: 760px) {
  .nx-stool .nx-flabel--range > input[type="number"] { width: 100%; min-width: 0; }
}

/* 10/23 表示方針・s02 G8: 探すの押せる高さはスマホだけ44px。PCの小さな条件帯は維持。 */
@media (max-width: 760px) {
  #nx-sform .nx-qbox input, #nx-sform .nx-qbox__go, #nx-sform .nx-ftoggle,
  #nx-sform .nx-flabel select, #nx-sform .nx-flabel input:not([type="checkbox"]) {
    height: 44px; min-height: 44px;
  }
  #nx-sform .nx-fchip { height: 44px; min-height: 44px; min-width: 44px; }
  #nx-sform .nx-btn, #nx-sform .nx-chipbtn, #nx-sform .nx-sdetail > summary,
  #nx-sform .nx-sdetail__prefs label, #nx-sform .nx-flabel--chk {
    min-height: 44px; align-items: center;
  }
  .nx-searchpage--top .nx-mklegend > summary, .nx-searchpage--top .nx-savebox > summary {
    min-height: 44px; align-items: center;
  }
  .nx-searchpage--top .nx-savebox__f input, .nx-searchpage--top .nx-savebox__f .nx-btn {
    min-height: 44px;
  }
  .nx-searchpage--top .nx-saved__chip a, .nx-searchpage--top .nx-saved__chip button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  }
}

/* 10/23 s03 H6: 案件の目次・原文・メモ履歴・フォローは、見た目と位置を保ち指で押す範囲だけ44pxへ（台帳10/21・10/23）。 */
@media (max-width: 760px) {
  .nx-jumpbar a, .cs__memolog-btn, .hx-rv__follow { position: relative; }
  .nx-jumpbar a::after, .nx-evbtn--end::after, .cs__memolog-btn::after, .hx-rv__follow::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; min-width: 44px; min-height: 44px;
  }
}

/* 10/23 s05 K12: 検討中・履歴・提出書類の小さな操作は、見た目を保ち透明な当たりを44pxへ（台帳10/23）。 */
@media (max-width: 760px) {
  .pp-tl__row button.pp-tl__ev::before { inset: -11px; }
  /* 透明な当たりどうしが重ならない最小限の間隔（elementFromPoint で確認）。 */
  .pp-ai__bar { row-gap: 14px; }
  .pp-ai__note { column-gap: 24px; }
  .dc-tabs { row-gap: 6px; }
  .pp-chk::before, .pp .nx-q::before, .nx-block--prep .nx-q::before, .nx-block--docs .nx-q::before {
    content: ""; position: absolute; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: max(100%, 44px); height: max(100%, 44px);
  }
  .pp-ai__scope .nx-wf, .pp-hist__tabs button, .pp-hist__x, .pp-hist .pp-undo,
  .nx-toast__undo, .dc-tabs button, .dc-mode button, .dc-submit__go, .dc-vers button,
  .dc .pr-x, .dc .nx-btn, .dc .pr-redo, .nx-block--prep .pr-mini, .nx-block--prep .pr-redo, .nx-block--prep .pr-doc__st, .pr-askg .nx-btn { position: relative; }
  .pp-ai__scope .nx-wf::after, .pp-hist__tabs button::after, .pp-hist__x::after, .pp-hist .pp-undo::after,
  .nx-toast__undo::after, .dc-tabs button::after, .dc-mode button::after, .dc-submit__go::after, .dc-vers button::after,
  .dc .pr-x::after, .dc .nx-btn::after, .dc .pr-redo::after, .nx-block--prep .pr-mini::after, .nx-block--prep .pr-redo::after, .nx-block--prep .pr-doc__st::after, .pr-askg .nx-btn::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: max(100%, 44px); height: max(100%, 44px);
  }
  /* 入力欄は疑似要素で当たりを広げられないため、欄そのものの高さを確保する。 */
  .dc .dc-in { min-height: 44px; }
}

/* 10/23 J5b: F9/G8/H6/J5/K12の当たりは配置にも44pxを確保する。
   透明な範囲だけが折り返した次の札や隣のボタンへはみ出すのを防ぐ（台帳10/23）。
   ?と予定の丸は小さい見た目を保ち、余白・日付の幅・行の高さで当たりを離す。PCは維持。 */
@media (max-width: 760px) {
  [data-page="home"] :is(.nx-viewbtn, .nx-cmd__ai, .nx-burger, .nx-bell),
  .ax-chip, .nh-page .hco-help,
  .nx-jumpbar a, .cs__memolog-btn, .hx-rv__follow,
  .pp-ai__scope .nx-wf, .pp-hist__tabs button, .pp-hist__x, .pp-hist .pp-undo,
  .nx-toast__undo, .dc-tabs button, .dc-mode button, .dc-submit__go, .dc-vers button,
  .dc .pr-x, .dc .nx-btn, .dc .pr-redo, .nx-block--prep .pr-mini,
  .nx-block--prep .pr-redo, .nx-block--prep .pr-doc__st, .pr-askg .nx-btn {
    min-width: 44px; min-height: 44px;
  }
  [data-page="home"] :is(.nx-burger, .nx-bell) { width: 44px; height: 44px; }
  .nh-page .nx-q, .pp .nx-q, .nx-block--prep .nx-q, .nx-block--docs .nx-q { margin: 12px; }
  .pp-chk { width: 44px; height: 44px; top: 3px; right: 3px; }
  .pp-tl__grid { --w: 44px; }
  .pp-tl__row:not(.pp-tl__row--days) { min-height: 44px; }
}

/* 10/23 s06-L11: 商品の選択欄は、透明な当たりでなく配置にも高さを取る（J5bと同じ）。 */
.nxp-job > .nxp-map { min-width: 0; }
@media (max-width: 760px) {
  #nx-pdrop .nx-drop__pick {
    display: inline-flex; align-items: center; min-height: 44px;
    padding-inline: 8px; margin-block: 4px; vertical-align: middle;
  }
  #nx-pdrop .nx-q { margin: 12px; vertical-align: middle; }
  .nxp-job .nf-note > label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
  .nxp-job .nf-note > label > input[type="checkbox"] { flex: none; }
}

/* 10/23 s07 M8: 業種に札が複数あるときは札を次の行へ。10/19 L5-15の「?は見出しと同じ行」を維持。 */
@media (max-width: 760px) {
  .nx-mepage .nf-head:has(.nf-drv) { flex-wrap: wrap; }
  .nx-mepage .nf-head:has(.nf-drv) .nf-label { flex: 1 1 calc(100% - 64px); }
  .nx-mepage .nf-head:has(.nf-drv) .grow { display: none; }
  .nx-mepage .nf-head:has(.nf-drv) .nf-hard, .nx-mepage .nf-head:has(.nf-drv) .nf-drv { order: 1; }
  .nx-mepage .nf-head:has(.nf-drv) .nf-hard { margin-left: 30px; }
}

/* 10/23 s07 M9: 設定の操作は当たりと配置の両方に44pxを取る（台帳10/23・J5b）。PCは維持。 */
@media (max-width: 760px) {
  .nx-mepage .nf-chip, .nx-mepage .nf-btn, .nx-mepage .nf-mini,
  .nx-mepage .nf-addrow, .nx-mepage .nf-x, .nx-mepage .nx-rename,
  .nx-mepage .nx-flow__seg button { min-height: 44px; min-width: 44px; }
  .nx-mepage .nf-input, .nx-mepage .nf-row.is-new .nf-input { min-height: 44px; }
  .bl-more > summary { min-height: 44px; }
  /* ?は22pxの見た目を保ち、隣と重ならない余白で44pxの当たりを確保。 */
  .nx-mepage .nf-helpbtn { margin: 11px; }
  .nx-mepage .nf-helpbtn::before { inset: -11px; }
  .nx-mepage .nx-q { margin: 12px; }
  .nx-mepage .nf-head:has(.nf-drv) .nf-label { flex-basis: calc(100% - 86px); }
}

/* 10/23 s08-P3: 資料室の扉（全開で68px）を残し、法律の左ナビ側に余白を取る。 */
@media (min-width: 901px) {
  .nx-legal { padding-left: 80px; padding-right: 16px; }
}

/* 10/23 s08-P4: ヘルプの章への近道。説明を足さず、リンク同士の当たりを離す。 */
.nx-legal__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin: 0 0 22px; }
.nx-legal__toc a { display: flex; align-items: center; min-height: 44px; }
@media (min-width: 761px) { .nx-legal__toc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 10/23 s08-P5: 送信の表はスマホで項目名つきのまとまりへ。内容と表の読み上げの役割を残す。 */
@media (max-width: 760px) {
  .nx-legal__body .nx-legal__cards { display: block; }
  .nx-legal__cards thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nx-legal__cards tbody { display: grid; gap: 12px; }
  .nx-legal__cards tbody tr { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--sheet-2); }
  .nx-legal__body .nx-legal__cards td { display: block; min-width: 0; padding: 0; border: 0; }
  .nx-legal__cards td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--ink-2); }
  .nx-legal__cards td:first-child { font-weight: 700; color: var(--ink); }
}

/* 10/23 s08-P11: スマホの公開説明も44px前後の当たりにする（台帳10/23・J5b）。
   本文リンクは書体・色・下線を保ち、リンクのある行だけ高さを取り、折り返しても隣の当たりへ重ねない。 */
@media (max-width: 760px) {
  .nx-scheme__seg button { min-height: 44px; min-width: 44px; }
  .nx-legal__body a[href]:not(nav a):not(.nx-btn) {
    padding-top: 14px; padding-bottom: 14px; line-height: 54px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
  .nx-legal__body nav a[href] { display: flex; align-items: center; min-height: 44px; }
  .nx-legal__body .nx-btn { min-height: 44px; }
  .cv-table tbody th a { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
}

/* 10/23 s09 R5: 貼り付けた長い検索語でも、説明と条件解除の札を画面内で折り返す。 */
.nx-qread, .nx-relax { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.nx-relax__a { display: inline-block; min-width: 0; max-width: 100%; padding: 6px 12px;
  white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.nx-relax__a small { display: inline-block; margin-inline-start: 8px; white-space: nowrap; }
@media (max-width: 760px) { .nx-relax__a { min-height: 44px; } }

/* 10/23 s09 R10: ツアーの操作も当たりと配置の両方を44pxに。透明な当たりで隣を覆わない。 */
.nxt__steps { display: none; }
@media (max-width: 760px) {
  .nxt__foot { flex-wrap: wrap; }
  .nxt__stars { display: none; }
  .nxt__steps { display: flex; flex: 0 0 100%; order: -1; justify-content: space-between; gap: 8px; max-width: 360px; }
  .nxt__step { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: rgba(238, 243, 248, .65); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
  .nxt__step.is-on { color: #fde68a; }
  .nxt__step.is-cur { color: #fff; background: rgba(94, 234, 212, .14); box-shadow: 0 0 0 1px rgba(94, 234, 212, .6) inset; }
  .nxt__step:focus-visible { outline: 2px solid #5eead4; outline-offset: 2px; }
  .nxt__nav, .nxt__skip, .nxt__field button, .nxt__docs button { min-width: 44px; min-height: 44px; }
  .nxt__nav { height: 44px; }
}

/* 下のタブと iPhone の Safari（10/23 夜 「致命的」: 下の端でタブを切り替えようとすると、下のタブの下の空き〔safe-area の分〕が触りを受け取った）。
   帯は触りを受け取らず、ボタンだけ受け取る。下へスクロールしている間は引っ込め、上へ戻すと出す（Safari の帯と同じ動き）。台帳 9/29「スマホは下タブ」は変えない */
@media (max-width: 760px) {
  .nx-tabbar { pointer-events: none; transition: transform .25s ease; }
  .nx-tabbar > a, .nx-tabbar > details { pointer-events: auto; }
  .nx-tabbar.is-tuck { transform: translateY(calc(100% + 2px)); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .nx-tabbar { transition: none; } }

/* 料金のページの角印は大きく、プランの札の右上に（10/24 青枠いっぱいくらい。角度・かすれはそのまま、文字の後ろ） */
.nx-price__plan { position: relative; }
.nx-price__plan > :not(.nx-kakuin) { position: relative; z-index: 1; }
.nx-price__plan .nx-hanko-host { position: static; }
.nx-price__plan .nx-kakuin { z-index: 0; right: 24px; top: 22px; width: clamp(128px, 32vw, 200px); height: clamp(128px, 32vw, 200px); border-width: clamp(6px, 1.3vw, 9px); -webkit-mask-size: 260px; mask-size: 260px; }
.nx-price__plan .nx-kakuin b { font-size: clamp(36px, 9vw, 56px); }
/* 暗い表示の角印（2026-11-13: 赤 #b42318 が暗い札の上で 1.6〜2.0） */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-kakuin, :where(:root:not([data-scheme="light"])) .nx-kakuin b { color: #ff958c; border-color: #ff958c; } :where(:root:not([data-scheme="light"])) .nx-price__plan .nx-kakuin, :where(:root:not([data-scheme="light"])) .nx-price__plan .nx-kakuin b { color: #e5604f; border-color: #e5604f; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-kakuin, :where(:root[data-scheme="dark"]) .nx-kakuin b { color: #ff958c; border-color: #ff958c; } :where(:root[data-scheme="dark"]) .nx-price__plan .nx-kakuin, :where(:root[data-scheme="dark"]) .nx-price__plan .nx-kakuin b { color: #e5604f; border-color: #e5604f; } }
@media (max-width: 640px) { .nx-price__plan .nx-kakuin { right: 14px; top: 16px; } }

/* 「できること」（10/24 作り直し）。写真つきの札を3章に。押すと背景がぼやけて画面が浮かび上がる。重くしすぎない（動くのは transform・opacity だけ。軽い表示ではぼかさない） */
.pfx { width: min(860px, calc(100% - 32px)); margin: 56px auto 0; }
.pfx__h { margin: 0 0 4px; font-family: var(--f-jp); font-size: clamp(22px, 2.8vw, 30px); }
.pfx__lead { margin: 0 0 14px; color: var(--ink-3); font-size: 14px; }
.pfx__flow { display: flex; gap: 8px; align-items: center; margin: 0 0 20px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.pfx__flow i { font-style: normal; color: var(--ink-3); }
.pfx__ch { margin: 0 0 24px; }
.pfx__chh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); font-size: inherit; }
.pfx__chh b { font-family: var(--f-jp); font-size: 20px; } .pfx__chh small { font-size: 11px; letter-spacing: .2em; color: var(--ink-3); }
.pfx__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pfx__t { position: relative; display: grid; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--sheet); box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -18px rgba(40, 30, 10, .5); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.pfx__th { display: block; height: 128px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.pfx__th img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s ease; }
.pfx__tx { display: grid; gap: 4px; align-content: start; padding: 12px 14px 14px; }
.pfx__tx b { font-size: 15px; line-height: 1.5; } .pfx__tx span { font-size: 13px; line-height: 1.65; color: var(--ink-3); }
.pfx__new { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 2px 9px; border-radius: 999px; background: #b42318; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
@media (hover: hover) { .pfx__t:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2), 0 18px 30px -18px rgba(40, 30, 10, .55); } .pfx__t:hover .pfx__th img { transform: scale(1.05); } }
.pfx__t:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.pfx__note { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.pfo { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(246, 241, 227, .5); -webkit-backdrop-filter: blur(8px) saturate(.9); backdrop-filter: blur(8px) saturate(.9); opacity: 0; transition: opacity .2s ease; }
.pfo[hidden] { display: none; }
.pfo.is-in { opacity: 1; }
.pfo__c { width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 16px; background: #fffdf7; color: #22232c; box-shadow: 0 0 0 1px #c9bb94, 0 40px 80px -30px rgba(20, 16, 0, .6); transform: translateY(14px) scale(.97); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.pfo.is-in .pfo__c { transform: none; }
.pfo__h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: #14204a; color: #f3ead2; font-size: 13px; }
.pfo__h small { opacity: .75; } .pfo__h span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pfo__x { margin-left: auto; flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: #f3ead2; font-size: 22px; cursor: pointer; }
.pfo__img { padding: 14px 14px 0; } .pfo__img img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px #e2d8bd; }
.pfo__tx { padding: 12px 20px 4px; } .pfo__tx h3 { margin: 0 0 4px; font-size: 19px; color: #14204a; } .pfo__tx p { margin: 0; font-size: 14.5px; line-height: 1.8; }
.pfo__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 14px; }
.pfo__nav button { min-width: 44px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #c9bb94; background: #fffdf7; color: #14204a; font-weight: 800; cursor: pointer; }
.pfo__dots { display: flex; gap: 5px; } .pfo__dots i { width: 7px; height: 7px; border-radius: 4px; background: #d8ccab; transition: width .2s; } .pfo__dots i.is-on { width: 20px; background: #14204a; }
html.pfo-open { overflow: hidden; }
.nx-lite .pfo { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(246, 241, 227, .92); }
@media (prefers-reduced-motion: reduce) { .pfo, .pfo__c, .pfx__t, .pfx__th img { transition: none; } }
@media (max-width: 640px) { .pfo { padding: 8px; align-items: end; } .pfo__c { max-height: calc(100vh - 16px); } }
@media (max-width: 640px) { .pfx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .pfx__th { height: 92px; } .pfx__tx { padding: 9px 10px 11px; } .pfx__tx b { font-size: 14px; line-height: 1.45; } .pfx__tx span { display: none; } .pfx__new { left: 6px; top: 6px; } }   /* スマホは2列・説明は浮かび上がった画面で（1列だと9枚で縦に長すぎた） */

/* 10/24 の追加: 章は色の帯に・札の見出しは目立たせ写真と分ける・写真は浮かび上がるまで少しぼかす */
/* 章の帯は木の板（10/24 紺は単調 → 雰囲気に合う木目）。木目は重ねたグラデーションだけ（画像なし） */
.pfx__chh { position: relative; padding: 10px 16px 10px 40px; border: 0; border-radius: 8px; color: #fbf3df; text-shadow: 0 1px 0 rgba(40, 20, 0, .45);
  background: radial-gradient(ellipse 18% 70% at 72% 55%, rgba(70, 35, 10, .22), rgba(70, 35, 10, 0) 70%),
    repeating-linear-gradient(179deg, rgba(70, 35, 10, .18) 0 1px, rgba(0, 0, 0, 0) 1px 4px, rgba(255, 235, 200, .06) 4px 6px, rgba(0, 0, 0, 0) 6px 9px),
    repeating-linear-gradient(181.5deg, rgba(60, 30, 10, .1) 0 2px, rgba(0, 0, 0, 0) 2px 13px),
    linear-gradient(180deg, #a26c40, #8a5932 55%, #75482a);
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, .35), inset 0 -2px 0 rgba(40, 20, 0, .25), 0 3px 8px -4px rgba(60, 30, 10, .5); }
.pfx__chh::before, .pfx__chh::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3dc9a, #a77d2c 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.pfx__chh::before { left: 16px; } .pfx__chh::after { right: 16px; }   /* 板を留める真鍮の鋲 */
.pfx__chh small { color: #f0d79a; }
/* 札は便せん（トップの観測記録の紙と同じ罫線と紙のざらつき） */
.pfx__t { background: repeating-linear-gradient(transparent 0 25px, rgba(70, 100, 160, .1) 25px 26px), linear-gradient(165deg, #f8f4e9, #ece5d2); box-shadow: 0 0 0 1px #d6cfb8, 0 12px 26px -18px rgba(40, 30, 10, .55); border-radius: 4px 4px 4px 14px; }
.pfx__th { margin: 10px 10px 0; border: 0; border-radius: 3px; box-shadow: 0 0 0 1px #e0d6bb, 0 4px 10px -6px rgba(40, 30, 10, .4); transform: rotate(-.6deg); }
.pfx__grid > li:nth-child(even) .pfx__th { transform: rotate(.6deg); }
.pfx__tx { background: none; border-top: 0; padding-top: 12px; }
.pfx__th { position: relative; }
.pfx__th img { filter: none; }   /* 10/24 便せんの形ならぼかさなくてよい */
.pfx__th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 253, 247, 0) 40%, rgba(246, 241, 227, .7)); pointer-events: none; }
@media (hover: hover) { .pfx__t:hover .pfx__th img { filter: none; } }
.pfx__tx b { font-size: 16.5px; font-weight: 900; color: #14204a; }
@media (max-width: 640px) { .pfx__tx b { font-size: 14.5px; } }
.nx-lite .pfx__th img { filter: none; }

/* 暗い表示の吹き出しの札と電子入札の印（10/24 第14周 R14A-2・R14A-4） */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-launchtag { background: #b42318; color: #fff; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-launchtag { background: #b42318; color: #fff; } }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-launchtag::before { border-bottom-color: #b42318; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-launchtag::before { border-bottom-color: #b42318; } }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-mk i { background: rgba(255, 255, 255, .16); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-mk i { background: rgba(255, 255, 255, .16); } }

/* スマホで押す所を広げる（10/24 第14周 R14B-5）。見た目の大きさは変えず、透明な押せる範囲を足す。予定表の印・「?」は前から 44px（::before） */
@media (max-width: 760px) {
  .dc-cand, .nx-evbtn { position: relative; }
  .dc-cand::before { content: ""; position: absolute; inset: -11px -2px; }
  .nx-evbtn::before { content: ""; position: absolute; inset: -9px -6px; }
}

/* 「電」の札の暗い表示（10/24 第14周の試し直しで 3.97）。文字を明るく、地は一段暗く */
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-mk i { color: #e3edff; background: rgba(0, 0, 0, .28); } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-mk i { color: #e3edff; background: rgba(0, 0, 0, .28); } }

/* 10/25 「スマホの案件ページの上半分に無駄な場所」: パンくずの最後（いまのページの件名）が2〜3行に折れ、すぐ下の件名と重なっていた。
   スマホは1行にして件名は … で切る（パンくずそのものは残す・台帳 10/21）。右に部品を持つパンくず（検討中の .pp-record）は今までどおり */
@media (max-width: 760px) {
  .nx-crumbs:not(:has(.pp-record)) { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
  .nx-crumbs:not(:has(.pp-record)) > :not([aria-current]) { flex: none; white-space: nowrap; }
  .nx-crumbs:not(:has(.pp-record)) > [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* 10/25 「スマホの案件ページ上半分に無駄な場所」の続き: ログインした人は「資料を作る」がパンくずの下に1行を使っていた。
   パンくず（1行・件名は …）と同じ行の右端に置く。ボタンの無い未ログインはパンくずが行いっぱいのまま */
.nx-case__meta .nx-crumbs { flex: 1 1 0; min-width: 0; }

/* 10/26 検討中の数の札（第16周 W1 の「期限切れ作業」）: スマホで見出しが2行に折れ、数が隣の札より下にずれた（360 は「7日以内の締切」も）。
   見出しは1行（入らなければ …）・スマホは左右の余白を詰める。数だけがリンクで下線が付いていた → 下線を外し、札全体を押せる形に */
.pp-kpi dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .pp-kpi > div { padding: 10px 8px 10px 10px; } }
.pp-kpi > div:has(> dd > a) { position: relative; }
.pp-kpi dd > a { color: inherit; text-decoration: none; }
.pp-kpi dd > a::after { content: ""; position: absolute; inset: 0; }
.pp-kpi dd > a:focus-visible { outline: none; }
.pp-kpi > div:has(> dd > a:focus-visible) { box-shadow: inset 0 0 0 2px var(--acc); }
@media (hover: hover) { .pp-kpi > div:has(> dd > a):hover { background: color-mix(in srgb, var(--sheet) 92%, var(--bad)); } }

/* 同じ種類（10/26）: とても狭い画面（340px 以下）は検討中の札を2列に（3列だと「7日以内の締切」が … で切れた） */
@media (max-width: 340px) { .pp-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 同じ種類（10/26）: ホームの数の札も、360 以下で「直近7日の合いそう」が2行に折れて数が隣より下にずれた → スマホは字間と左右の余白を詰めて1行に */
@media (max-width: 600px) {
  .nx-dash__kpi > div { padding: 12px 12px; }
  .nx-dash__kpi dt { letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 340px) { .nx-dash__kpi > div { padding: 12px 10px; } .nx-dash__kpi dt { letter-spacing: 0; } }

/* 10/26 V3: ホームの期限切れ作業も、件数の下で44pxの押せる高さを確保する。 */
#nx-task-overdue > a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }

/* 10/26 V5-7・V5-8・V6-4: 金額の表示と編集を同じ欄に置き、スマホの数量を読み切れる幅に。 */
.dc-money { display: block; position: relative; width: 90px; max-width: 100%; font-size: 13px; }
.dc-money > input { width: 100%; }
.dc-money > input:not(:focus) { color: transparent; }
.dc-money__value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 4px 8px; pointer-events: none; white-space: nowrap; overflow: hidden; color: var(--ink); font: inherit; }
.dc-money:focus-within > .dc-money__value { visibility: hidden; }
.dc-money:has(> .cs__in) { width: 100%; font-size: 14px; }
.dc-money:has(> .cs__in) > .dc-money__value { padding: 8px 12px; justify-content: flex-start; }
.dc-prod[data-product-annotation] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; overflow-wrap: anywhere; }
.dc-prod[data-product-annotation] > button { max-width: 100%; white-space: normal; }
@media (max-width: 600px) {
  .dc-money { width: 100%; }
  .dc-qt tr { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.5fr); }
  .dc-qt td.dc-amt { grid-column: 1 / 3; }
  .dc-qt td:last-child { justify-self: end; }
}
@media (max-width: 760px) { .dc-money > input { min-height: 44px; } }

/* 10/26 R19A-3・台帳10/23: 単独の導線は文字・色を保ち、スマホで押せる高さを確保する。 */
@media (max-width: 760px) {
  /* 10/26 S8-01: ロゴと登録・ログイン・紹介の単独リンクにも同じ押せる範囲を。 */
  .nx-brand, .nx-login__lead a, .mb-acc p > a, .pp-sub,
  .nx-fit__go, .nx-fit__none a, .nx-aimbox__pv, .pr-ainote a, .dc-meterline > a,
  .nt-lead > a, .nr-kpi p a, .nr-now > a, .nx-opnews__t > a, .nx-opnews__p > a {
    display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%;
  }
  .nx-judge :is(.nx-rel__row, .nx-deck__body) { min-height: 44px; }
}

/* 10/26 しるしの意味（凡例・_marks.html。探す・ホーム・検討中・照合など共通）の「入札の言葉」のリンクが、スマホで高さ 24.5px だった（1つだけで立つリンクは 44px・台帳 10/13・sb1） */
@media (max-width: 760px) { details.nx-mklegend > p > a { display: inline-flex; align-items: center; min-height: 44px; } }

/* 10/26 お支払いの画面の下の「料金・特定商取引法に基づく表記・利用規約」がスマホで高さ 25px（押す部品は 32px 以上・単独に近いリンクは 44px・台帳 10/13） */
@media (max-width: 760px) { .bl-links a { display: inline-flex; align-items: center; min-height: 44px; } .bl-links { row-gap: 0; } }

/* ═══ 10/26 「トップ画面は A 案で」「日付を時刻の右側に」（ログイン後のホームの上・見本 docs/ui_review/samples/home_dashboard/） ═══
   PC: 列島は右半分（next.js の fitBgMap が左の列の右から置く）・左は時刻と件数の下にお知らせ（運営2件＋自社あて3件）。
   スマホ: 日時を左上（台帳 10/15）・列島は天気と件数の間の帯（next.js の fitBand）・件数・検索窓・お知らせの順 */
.nx-hero2 .nx-clock { display: inline-flex; flex-wrap: nowrap; align-items: baseline; column-gap: 12px; }
.nx-hero2 .nx-clock__date { flex-basis: auto; grid-column: auto; white-space: nowrap; }
/* お知らせの枠: 暗い空の上は紺の不透明な板（台帳 10/12 すりガラスはやめる）。空は明るい表示でも暗いので、色は決め打ち */
.nx-hnews { position: relative; z-index: 3; margin-top: 10px; pointer-events: auto; background: #101a33; border: 1px solid rgba(160, 190, 240, .18); border-radius: 12px; box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .7); color: #e8eef8; text-shadow: none; }
.nx-hnews header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px 2px; }
.nx-hnews h2 { margin: 0; font-family: var(--f-head, inherit); font-size: 15px; font-weight: 800; letter-spacing: .04em; color: #f2f5fb; }
.nx-hnews header a { display: inline-flex; align-items: center; min-height: 32px; color: #8fe3d1; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nx-hnews__list { list-style: none; margin: 0; padding: 0 6px; }
.nx-hnews__list:last-child { padding-bottom: 8px; }
.nx-hnews__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 5px 8px; border-radius: 8px; color: #e8eef8; text-decoration: none; }
@media (hover: hover) { .nx-hnews__list a:hover { background: rgba(143, 227, 209, .08); } }
.nx-hnews__k { font-size: 11.5px; font-weight: 800; color: #9fb3d6; white-space: nowrap; }
.nx-hnews__k.is-op { color: #f2c46d; }
.nx-hnews__k.is-hot { color: #ff9c8c; }
.nx-hnews__t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; font-weight: 600; }
.nx-hnews__m { font-size: 11.5px; color: #9fb3d6; white-space: nowrap; }
.nx-hnews__list li.is-unread .nx-hnews__t::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 2px 0; border-radius: 50%; background: #ff9c8c; vertical-align: middle; }
.nx-hnews__empty { padding: 5px 8px; font-size: 12.5px; color: #9fb3d6; }
@media (min-width: 1101px) {
  .nx-hero2__txt:has(.nx-hnews) { width: min(520px, 36vw); }
  .nx-hero2__txt:has(.nx-hnews) .nx-hero2__new { margin-bottom: 8px; }
}
@media (max-width: 760px) {
  html.nx-home2 .nx-deck-hero.nx-hero2:has(.nx-hnews) { display: block; height: auto; min-height: 0; padding: 64px 0 18px; }
  html.nx-home2 .nx-hero2:has(.nx-hnews) .nx-map { position: absolute !important; z-index: 0; height: auto; }
  .nx-hero2:has(.nx-hnews) .nx-hero2__txt { z-index: 2; }
  .nx-hero2:has(.nx-hnews) .nx-hero2__wx { margin-bottom: 4px; }
  .nx-hero2:has(.nx-hnews) .nx-hero2__new { margin-top: 176px; }
  .nx-hnews__list a { min-height: 44px; align-items: center; padding-top: 2px; padding-bottom: 2px; }
  .nx-hnews header a { min-height: 44px; }
}

/* 10/26 A案の上の余白（64px）が、メール未確認の吹き出しの間だけ本文を下げる決まり（120px・上の 10/14 の規則）を上書きし、スマホで吹き出しが時刻の行にかかった → 吹き出しが出ている間は 120px に戻す（× で閉じたら 64px。列島の帯は next.js が置き直す） */
@media (max-width: 760px) { html.nx-home2:not(.nx-bubx) body:has(.nx-setupbub) .nx-deck-hero.nx-hero2:has(.nx-hnews) { padding-top: 120px; } }

/* 10/27 スマホの押す大きさの残り（fix-r19b2 R19V-2 の漏れ・４の確かめで見つけ、サイト全体をたどって同じ種類を集めた）。台帳 10/13: 押す部品は 32px 以上・1つだけで立つリンクは 44px */
@media (max-width: 760px) {
  /* 縦に並ぶ案件名・照合の切替・落札の記録の「すべて見る」: 行を 44px に */
  .nx-ended-sw, .nx-judge__go, .hx__more { display: flex; align-items: center; min-height: 44px; }
  /* 照合の例の案件名は縦に詰めて並ぶ（44px の行にすると間が空きすぎた）: 押せる範囲 45px・上下の余白を 6px ずつ重ねて行の間は 37px */
  .nx-gains__ex { padding-top: 10px; padding-bottom: 10px; margin-top: -6px; margin-bottom: -6px; }
  .nx-ended-sw, .nx-judge__go { display: inline-flex; }
  /* 見出しの行の中の名前（落札の記録の競合の社名・商品の名前）: 見た目の高さは変えず、押せる範囲だけ上下に広げる */
  .hx-rv__name, .c-name > a { padding-top: 10px; padding-bottom: 10px; margin-top: -10px; margin-bottom: -10px; }
  .c-name > a { display: inline-block; }
  /* 札のように横に並ぶ物（分析の切替・予測の発注機関）: 36px */
  .ax-seg__b { min-height: 36px; }
  .fc-sub .nx-link { display: inline-flex; align-items: center; min-height: 36px; }
  /* 1つだけで立つリンク（「← メンバーへ戻る」・収録の範囲の「自社が調べる範囲」など）: 44px */
  p > a.nx-link:only-child, .nh-head > p.bx > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 10/27 同じ続き（R19V-2・デバッグチームの確かめ直し）: 照合のパンくず「探す（自社に合う）」が 32px（案件ページのパンくずだけ 44px だった）→ スマホのパンくずのリンクは全部 44px。
   AI の見直しの欄の「未登録 〇〇」の札が 26px → 札の並びの見た目は変えず、押せる範囲だけ 44px に */
@media (max-width: 760px) {
  .nx-crumbs a { min-height: 44px; }
  .nx-aimbox__cl a.is-miss { display: inline-block; padding-top: 9px; padding-bottom: 9px; margin-top: -9px; margin-bottom: -9px; }
}

/* 10/27 「赤枠のスペースが非常に無駄」（1151×830 の画面で、面が画面の 80% の高さに伸び、列島が真ん中に小さく・検索窓が一番下）:
   PC の A 案は面の高さを中身に合わせる。左の列は上から並べ、検索窓はそのすぐ下の真ん中（横の真ん中は台帳 10/20 のまま）。列島の上下は左の列にそろえる（next.js fitBgMap） */
@media (min-width: 1101px) {
  html.nx-home2 .nx-deck-hero.nx-hero2:has(.nx-hnews) { height: auto; min-height: 0; padding: clamp(78px, 9vh, 104px) 0 28px; }
  html.nx-homebg .nx-hero2:has(.nx-hnews) .nx-hero2__txt { position: relative; left: auto; top: auto; transform: none; margin-left: var(--stage-g); }
  .nx-hero2:has(.nx-hnews) > .nx-cmd--herobot { position: relative; left: auto; bottom: auto; transform: none; margin: 22px auto 0; }
}

/* 10/27 「下部の右側にお知らせの窓が残っている。上部に表示するならここは消さないと」: 上にお知らせ（A案）があるときは、下の右の列のお知らせの窓を出さない
   （「表示」の「お知らせ」は上の枠の出し入れになる・data-win="notices"）。空いた高さは官公需・ニュースの窓に回る（右の列は窓どうしで高さを分ける作り） */
body:has(.nx-hnews) .nx-dash .nx-sig--notices { display: none !important; }

/* 10/27 「人間目線で普通の違和感」: 右の列（幅 255px ほど）で窓の見出しが「マーケッ／ト」「官公需・／政策の動き」と途中で折れた（横の出典の字に場所を取られた）
   → 見出しは1行のまま、出典が入らないときは次の行へ。ニュース系の題名は 13px にして、お知らせの窓を消して伸びた窓に4件ほど見えるように */
.nx-dash .nx-sig > header { flex-wrap: wrap; row-gap: 2px; }
.nx-dash .nx-sig > header h2 { white-space: nowrap; }
@media (min-width: 1101px) { .nx-dash :is(.nx-sig--policy, .nx-sig--news) .nx-news__t { font-size: 13px; line-height: 1.45; } }

/* 10/27 同じく右の列の「地域別の新着」: 名前が「国の／機関など／（場所未確認）」「東京都（本／店）」と言葉の途中で折れた → 名前の欄を少し広げ、折れるのは括弧の前だけ */
.nx-regions__bars li:not(.nx-tile__msg) { grid-template-columns: 7.5em minmax(0, 1fr) 2.4em; }
.nx-regions__bars li:not(.nx-tile__msg) > span:first-child { word-break: keep-all; overflow-wrap: normal; line-break: strict; }

/* 10/27 スマホのホーム: 吹き出しは 6秒で消える（10/18 R6A-10・見出しに重なったため）が、ホームは時刻を下げて重ならないようにしたので、消えた後に時刻の上が空いて見えた → ホームでは × で閉じるまで出しておく（下へ読み進めたら隠れるのはそのまま） */
@media (max-width: 760px) { body:has(.nx-hnews) .nx-setupbub { animation: none; } }

/* 10/27 「日本列島が影ついてるからかぼやけて見える。線をくっきり」: ホームの上（A案）の列島は、陸を 45% に透かしていたため、少しずらして敷いた暗い影の層（.nxm-slab）が透けて輪郭が二重に見えた
   → 陸は透かさず（塗りの濃さは塗りの色で）、影の層はごく薄く、境の線を明るく少し太く（台帳 10/15「背景として薄く」をこの点だけ置き換え） */
body:has(.nx-hnews) .nx-hero2 .nx-map :is(.nxm-land, .nxm-islands, .nxm-island__label, .nxm-inset) { opacity: 1; }
body:has(.nx-hnews) .nx-hero2 .nx-map .nxm-slab { opacity: .18; }
body:has(.nx-hnews) .nx-hero2 .nxm-land path { fill: rgba(16, 30, 60, .62); stroke: rgba(205, 228, 255, .72); stroke-width: .7; }
body:has(.nx-hnews) .nx-hero2 .nxm-land path.has-cases { fill: rgba(40, 90, 140, .55); }

/* 10/27 はじめにやること帯を「栞のカード」に（A 案）。全幅の薄いピンクをやめ、下のカードと同じ幅・紙の色にして、左に赤い栞を垂らす。
   1つ目（メール確認）は濃い赤で塗り、ほかは赤の線。見出しは下のカードと同じ字体。お試しだけのとき（必須の残りなし）は栞を赤くしない（10/13 の決定） */
.nx-dash > .nx-dash__todo { --todo-bg: #fbf3e4; --todo-ink: #7d1622; --todo-sub: #a8323f; --todo-line: rgba(150, 40, 40, .18); --todo-btn: #fff; --todo-btnline: #c9545f; --todo-red: #a3202d; --todo-rib: linear-gradient(#b3202f, #8e1824);
  position: relative; overflow: hidden; max-width: 1560px; margin: 0 auto 18px; padding: 18px 24px 18px 34px; border: 1px solid var(--todo-line); border-radius: 10px; column-gap: 32px;
  background: var(--todo-bg); box-shadow: 0 1px 0 rgba(120, 80, 30, .08), 0 6px 18px -10px rgba(90, 40, 20, .35); }
.nx-dash > .nx-dash__todo::before { content: ""; position: absolute; left: 12px; top: -2px; width: 12px; height: calc(100% - 14px); background: var(--todo-rib);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%); }
.nx-dash > .nx-dash__todo:not(:has(.nx-todo__a)) { --todo-rib: linear-gradient(#b08a4a, #8a6a35); }
.nx-dash__todo .nx-todo__h { font-family: "Kaisei Tokumin", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 19px; color: var(--todo-ink); letter-spacing: .04em; }
.nx-dash__todo .nx-todo__h b { display: block; margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--todo-sub); letter-spacing: .02em; }
.nx-dash__todo .nx-todo__trial { font-size: 15px; font-weight: 700; color: var(--todo-sub); }
.nx-dash__todo .nx-todo__a { min-height: 46px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 700; box-shadow: none; color: var(--todo-ink); background: var(--todo-btn); border: 1.5px solid var(--todo-btnline); }
.nx-dash__todo .nx-todo__a.is-mail { color: #fff; background: var(--todo-red); border-color: var(--todo-red); }
.nx-dash__todo .nx-todo__n { color: #fff; background: var(--todo-red); }
.nx-dash__todo .nx-todo__a.is-mail .nx-todo__n { color: var(--todo-red); background: #fff; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-dash > .nx-dash__todo { --todo-bg: #2c2022; --todo-ink: #ffdfe3; --todo-sub: #f3a7b0; --todo-line: rgba(255, 150, 160, .22); --todo-btn: transparent; --todo-btnline: #d0606c; --todo-red: #b8303d; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-dash > .nx-dash__todo { --todo-bg: #2c2022; --todo-ink: #ffdfe3; --todo-sub: #f3a7b0; --todo-line: rgba(255, 150, 160, .22); --todo-btn: transparent; --todo-btnline: #d0606c; --todo-red: #b8303d; } }
@media (max-width: 760px) {
  .nx-dash > .nx-dash__todo { margin: 0 0 14px; padding: 14px 16px 14px 32px; border-radius: 6px; }
  .nx-dash__todo .nx-todo__h { font-size: 17px; }
  .nx-dash__todo a.nx-todo__h { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .nx-dash__todo .nx-todo__btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nx-dash__todo .nx-todo__a { justify-content: flex-start; min-height: 44px; }
}

/* 10/27 右の列の窓が狭い（スケジュールが1〜2件の会社で、官公需・政策とニュースが記事2件分ほどになった）。
   スケジュールは予定が少なくても5件分の高さを取り、右の列の最低の高さも上げて、ニュースの窓は記事3〜4件分を確保する */
@media (min-width: 1101px) {
  .nx-dash .nx-sched { display: flex; flex-direction: column; }
  .nx-dash .nx-sched .nx-cal { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 280px; }
  .nx-dash .nx-sched .nx-cal__row.is-fill { flex: 1 1 0; min-height: 0; pointer-events: none; }
  .nx-dash .nx-sched .nx-cal > .nx-tile__msg { margin: auto; }
  .nx-dash .nx-signals > .nx-sig:not(.nx-sig--market) { min-height: 380px; }
  .nx-dash__side { min-height: 1500px; }
}
@media (max-width: 1100px) { .nx-cal__row.is-fill { display: none; } }

/* ═══ スマホの文字の下限（自動・docs/ui_review/_scripts/mobile_font_floor.py が作る。手で直さない） ═══ */
@media (max-width: 760px) {
  .cs label, .cv-bar-h, .cv-table td, .cv-table th, .cv-table thead th, .dc-amtnote, .dc-b .dc-f, .dc-cand, .dc-cands small, .dc-crit, .dc-crit td small, .dc-crit-tag { font-size: 13px; }
  .dc-datesw__k, .dc-evt, .dc-fill, .dc-fmt dt, .dc-meterline, .dc-meterline a, .dc-method, .dc-mode button, .dc-mode__note, .dc-no, .dc-ohl, .dc-prod { font-size: 13px; }
  .dc-qt td[data-label]::before, .dc-submit li small, .dc-submit__go, .dc-sum .is-bid small, .dc-tab th, .dc-tabs button small.dc-tab__plus, .dc-tabs small, .dc-todo, .dc-warn, .dc__ai, .dc__saved, .dg-f { font-size: 13px; }
  .dg-left small, .dg-row__main small, .dg-soon, .hx-rv__follow, .hx__band-k, .hx__est, .hx__own b, .hx__stat dt, .lg-note, .mb-me, .mb-role, .mb-seat { font-size: 13px; }
  .mb-sm, .nf-btn.is-quiet, .nf-card.is-required .nf-label::after, .nf-chip small, .nf-cond, .nf-detail__n, .nf-drv, .nf-freq, .nf-hard, .nf-held, .nf-helpbtn, .nf-issue { font-size: 13px; }
  .nf-item-state, .nf-kindtag, .nf-mini, .nf-note, .nf-row > span[data-col]::before, .nf-row.is-head, .nf-sect__tag, .nf-state, .nf-tag, .nh-badge, .nh-bars b, .nh-bars li { font-size: 13px; }
  .nh-bid h2 small, .nh-bid__note, .nh-bid__t thead th, .nh-bid__win, .nh-card summary::after, .nh-co.is-joint_venture::after, .nh-dir__m, .nh-fmix, .nh-foot, .nh-karte__k, .nh-karte__note, .nh-kpis dt { font-size: 13px; }
  .nh-mini__d, .nh-mini__o, .nh-money span, .nh-names li span, .nh-note, .nh-note-s, .nh-open__list small, .nh-own__linked button, .nh-own__list li small, .nh-ptab th, .nh-ptab__scope, .nh-rank li b { font-size: 13px; }
  .nh-row__date small, .nh-soon__late, .nh-st, .nh-years__col:focus-visible::after, .nh-years__n, .nh-years__table summary, .nh-years__y, .nh-yen small, .nr-box h2 small, .nr-kpi p, .nr-lost__note, .nr-recent small { font-size: 13px; }
  .nr-st, .nr-table thead th, .nt-card h2 small, .nt-ev, .nt-field, .nt-list .is-unread b::before, .nt-mx tbody td:nth-child(2)::before, .nt-mx tbody td:nth-child(3)::before, .nt-mx td small, .nt-mx th, .nt-seg span, .nx-acct__grp.is-small a { font-size: 13px; }
  .nx-acct__panel p, .nx-acct__setup b, .nx-acct__who small, .nx-admin__me, .nx-admin__table th, .nx-aim__n, .nx-aimbox--search .nx-aimbox__warn, .nx-aimbox--search .nx-btn, .nx-aimbox__a small, .nx-aimbox__h .nx-q, .nx-aimbox__pv, .nx-aimbox__warn { font-size: 13px; }
  .nx-award__n, .nx-bell__n, .nx-bellwin__h, .nx-bellwin__ok, .nx-bellwin__row small, .nx-block__n, .nx-brand__name sup, .nx-brand__name.is-paid small, .nx-cal__day small, .nx-cal__ev, .nx-cal__later, .nx-cal__later.is-head { font-size: 13px; }
  .nx-cal__legend, .nx-cal__legend .nx-cal__ev, .nx-caseguide small, .nx-caseguide__k, .nx-cat2 small, .nx-cattile small, .nx-cattile__eg, .nx-check__row small, .nx-chip2, .nx-chipbtn, .nx-cmd kbd, .nx-cmd__ai { font-size: 13px; }
  .nx-compare td small, .nx-conflict__rows dd small, .nx-conflict__rows dt, .nx-conflicts__lead, .nx-countline__card, .nx-countline__mix, .nx-cs__b, .nx-csbtn, .nx-dash .nx-quote__chg, .nx-dash .nx-sig h2, .nx-dash__kpi dt, .nx-dash__kpi p { font-size: 13px; }
  .nx-deck__score small, .nx-deck__state, .nx-deck__why span, .nx-docout__busy, .nx-docout__note, .nx-docout__scope, .nx-docout__t, .nx-dprev table, .nx-drop__safe, .nx-evbtn, .nx-evbtn.nx-evbtn--end, .nx-export small { font-size: 13px; }
  .nx-fchip, .nx-fchip small, .nx-fit__bar small, .nx-fit__col small, .nx-fit__head > .nx-fit__rule, .nx-fit__o, .nx-fit__w, .nx-flow__done small, .nx-flow__mark, .nx-flow__meter em, .nx-flow__meter small, .nx-flow__next small { font-size: 13px; }
  .nx-flow__ring small, .nx-flow__seg button b, .nx-flow__seg button small, .nx-foot, .nx-foot__copy, .nx-foot__lab, .nx-foot__links a, .nx-ftoggle small, .nx-gains__h small, .nx-gains__what small, .nx-hintbub, .nx-hnews header a { font-size: 13px; }
  .nx-hnews__empty, .nx-hnews__k, .nx-hnews__m, .nx-ins__badge, .nx-ins__meta, .nx-ins__sec h4, .nx-jump a, .nx-kbdhint kbd, .nx-keyline dd small, .nx-keyline dt, .nx-keyline__full, .nx-keyline__i.is-info dd small { font-size: 13px; }
  .nx-keys__note, .nx-lane__more, .nx-launchtag, .nx-legal__upd, .nx-line__fit, .nx-linkbtn2, .nx-litebtn__st, .nx-loose li small, .nx-mbar .nx-seg2 small, .nx-mbar__last, .nx-me__rd > span:first-child, .nx-me__rd small { font-size: 13px; }
  .nx-mk, .nx-mk i, .nx-mklegend > i, .nx-mlane h2 small, .nx-mlane summary small, .nx-mlane__note, .nx-mlist-legend, .nx-mnote, .nx-more__h, .nx-more__note, .nx-mrow__main small, .nx-mrow__score small { font-size: 13px; }
  .nx-mtile small, .nx-mtile__ai, .nx-navsub a small, .nx-navsub__h, .nx-needacct small, .nx-news li.is-unread .nx-news__t::before, .nx-none, .nx-ntf__n, .nx-ntfwin footer a, .nx-ntfwin header button, .nx-ntfwin li time, .nx-obj__date { font-size: 13px; }
  .nx-obj__kind, .nx-opnews__tag, .nx-opt, .nx-pager2 .nx-btn, .nx-pager2__n, .nx-pager__n, .nx-peek__cap span, .nx-peek__h small, .nx-peek__n, .nx-perk, .nx-pgnum .nx-mpager__a, .nx-pgnum__n { font-size: 13px; }
  .nx-pick__o small, .nx-picks h2 small, .nx-picks__o, .nx-pol__who small, .nx-price__brand small, .nx-price__cancel p, .nx-price__feats li::before, .nx-price__seats span, .nx-price__table td, .nx-price__table th, .nx-pro, .nx-proflow__lead { font-size: 13px; }
  .nx-provbar button, .nx-psel .nx-btn, .nx-psel small, .nx-ptable .c-name small, .nx-ptable th, .nx-ptable.is-map td:nth-child(2), .nx-q, .nx-q::after, .nx-quote__chg, .nx-rel__score, .nx-relax__a small, .nx-rename { font-size: 13px; }
  .nx-req, .nx-restored, .nx-ring small, .nx-saved__h, .nx-savestate, .nx-scope__k, .nx-sdetail > summary, .nx-sdetail__note, .nx-sdetail__prefs, .nx-sdetail__prefs legend, .nx-searchpage--top .nx-countline .nx-btn, .nx-searchpage--top .nx-cs__b { font-size: 13px; }
  .nx-searchpage--top .nx-srow__chips .nx-obj__kind, .nx-searchpage--top .nx-srow__date .nx-chip2, .nx-searchpage--top .nx-srow__date .nx-chip2 small, .nx-searchpage--top .nx-srows li > .nx-cs .nx-cs__b, .nx-setup small, .nx-setup2__count small, .nx-setup2__steps li.is-opt b::after, .nx-setup2__steps small, .nx-setupdot, .nx-sig h2, .nx-sig__err, .nx-sig__src { font-size: 13px; }
  .nx-sig__sub, .nx-signup__price, .nx-sim__note, .nx-sim__quick button, .nx-sim__row output, .nx-simflag, .nx-slow, .nx-snote, .nx-src__k, .nx-srow__date small, .nx-srow__page, .nx-srow__result { font-size: 13px; }
  .nx-srow__result small, .nx-srow__snip, .nx-srow__src, .nx-state, .nx-step__ms, .nx-stool .nx-flabel, .nx-stool .nx-seg2 a, .nx-stool .nx-stab small, .nx-stool__cov, .nx-tabbar > a, .nx-tabbar__more > summary, .nx-tband__stops { font-size: 13px; }
  .nx-tband__today span, .nx-teamarea__co, .nx-teamarea__k small, .nx-teamarea__lead, .nx-teamarea__st, .nx-term > summary::after, .nx-terms__k, .nx-terms__note, .nx-tier, .nx-tile > header h2, .nx-tl__ev time small, .nx-tl__now span { font-size: 13px; }
  .nx-tl__odd, .nx-todo__h, .nx-todo__n, .nx-unit__live, .nx-unittabs a small, .nx-unk-chips span, .nx-view small, .nx-view__h, .nx-view__note, .nx-viewbtn, .nx-watch .nx-deck__org, .nx-watch .nx-deck__why span { font-size: 13px; }
  .nx-wel2__table thead th, .nx-wel__stats .nx-wel__sub, .nx-wel__stats dt, .nx-what em, .nx-when small, .nx-workrow__main small, .nx-wx, .nxi-agree, .nxi-all small, .nxi-blank, .nxi-blank b, .nxi-btn { font-size: 13px; }
  .nxi-bulk small, .nxi-c__done, .nxi-c__note, .nxi-cands header small, .nxi-doc__ico, .nxi-ev blockquote, .nxi-ev blockquote small, .nxi-ev summary, .nxi-hide, .nxi-jobs b, .nxi-jobs small, .nxi-live { font-size: 13px; }
  .nxi-prog small, .nxi-result, .nxm-island__label, .nxm-pin__label, .nxm-pop a small, .nxm-pop header span, .nxp-job > footer small, .nxp-job > header small, .nxr-go small, .nxr-item b, .nxr-item small, .nxr-phase li { font-size: 13px; }
  .nxr-reader, .nxr-terra, .nxt-at, .nxt-pop__n, .nxt-pop__o, .nxt-table th, .nxt__ai, .nxt__cal > b, .nxt__calbar small, .nxt__case small, .nxt__case span, .nxt__chip small { font-size: 13px; }
  .nxt__docs button, .nxt__docs small, .nxt__field button, .nxt__field em, .nxt__label, .nxt__more, .nxt__orbit span, .nxt__paper b, .nxt__past b, .nxt__pitem em, .nxt__scene .nxt__sample, .nxt__sheet small { font-size: 13px; }
  .pf__note, .pfx__chh small, .pfx__new, .pfx__note, .pp-ai__note, .pp-ai__now, .pp-aichip, .pp-card .pp-fit, .pp-card.is-ai-running::after, .pp-csvinc > summary, .pp-csvinc__box legend, .pp-csvinc__box small { font-size: 13px; }
  .pp-facts, .pp-hist__note, .pp-histbtn__n, .pp-ics, .pp-kpi dt, .pp-li-note, .pp-log .pp-undo, .pp-log__chg, .pp-meta, .pp-opennote, .pp-res, .pp-resdlg__lead { font-size: 13px; }
  .pp-resinfo, .pp-skipped .nx-btn, .pp-soon small, .pp-soon__st, .pp-split, .pp-st, .pp-taskchip, .pp-tl__day, .pp-tl__day b, .pp-tl__day em, .pp-tl__day small, .pp-tl__ev { font-size: 13px; }
  .pp-tl__ev sup, .pp-tl__ev[data-tip]::after, .pp-tl__legend, .pp-tl__more, .pp-tl__name, .pp-tl__name small, .pp-why, .pr-askg h4, .pr-calc__in label, .pr-cond p, .pr-cond q, .pr-cond__i { font-size: 13px; }
  .pr-conds__sum, .pr-dates__d small, .pr-dates__k, .pr-doc p, .pr-doc__st, .pr-factors, .pr-left, .pr-mini, .pr-none, .pr-redo, .pr-ref dd small, .pr-ref dt { font-size: 13px; }
  .pr-to, .pr-verdict__meta, .pr__stage, .ps-cal__days, .ps-cal__key, .ps-cal__row span, .ps-ch, .ps-ch b, .ps-ch em, .ps-docs, .ps-docs__k, .ps-line { font-size: 13px; }
  .ps-mail__h, .ps-ntf b, .ps-ntf span, .ps-pages span, .ps-pdf, .ps-phone, .ps-read, .ps-real span, .ps-rk small, .ps-rk__t, .ps-row, .ps-sheet { font-size: 13px; }
  .ps-sheet__cells small, .ps-sheet__cells span, .ps-sheet__k, .ps-sum__t, .ps-win, .ps-xr, details.nx-mklegend > p > i, details.nx-mklegend > summary, details.nx-mklegend > summary::before, span.nh-note-s { font-size: 13px; }
  .nx-drop__how, .nx-proflow__when, .nx-srow__yr, .pp-note { font-size: 13px !important; }
  .ax-mine__err, .bl-badge, .bl-card > h2 small, .bl-note, .bl-rows dt small, .bl-sum dd small, .bl-way > summary small, .cs__memolog-btn, .dc h4, .dc-b .dc-proxy, .dc-basis, .dc-bnote { font-size: 14px; }
  .dc-err, .dc-fmt dd, .dc-guide, .dc-in, .dc-money, .dc-newer, .dc-submit li, .dc-sum > div, .dc-ta, .dc-tab, .dc-tabs button, .dc-vers { font-size: 14px; }
  .dg-check, .dg-hint, .dg-mail, .dg-more, .dg-sec h2 small, .gd-steps > li::before, .hx h4, .hx-rv__amt, .hx-rv__ex, .hx-rv__meta, .hx__band-v, .hx__rate { font-size: 14px; }
  .hx__stat dd, .is-soon, .lg-err, .lg-form label, .mb-copy input, .nf-addrow, .nf-autonote, .nf-chip, .nf-group, .nf-help, .nf-ico, .nf-row { font-size: 14px; }
  .nf-row.is-new .nf-input, .nh-bid__t, .nh-card h3, .nh-count, .nh-facts dt, .nh-filter, .nh-groups__k, .nh-hits h2, .nh-id, .nh-kicker, .nh-kpis dd, .nh-money-sub { font-size: 14px; }
  .nh-muted, .nh-own p, .nh-own__confirm, .nh-own__confirm .nx-btn, .nh-own__list li .nx-btn, .nh-pager__n, .nh-ptab, .nh-rank, .nh-row__meta, .nh-years__table, .nr-bars li, .nr-k { font-size: 14px; }
  .nr-kpi dd small, .nr-kpi dt, .nr-lost__ex, .nr-lost__meta, .nr-now, .nr-table, .nt-off, .nt-ok, .nt-status, .nt-when, .nx-acct__name, .nx-acct__panel a { font-size: 14px; }
  .nx-acct__panel button, .nx-acct__who b, .nx-admin__table, .nx-aim__c, .nx-aim__k, .nx-aim__p, .nx-aimbox--search .nx-aimbox__h, .nx-aimbox__d, .nx-aimbox__h span, .nx-aimbox__s, .nx-aimeter p, .nx-aipref__st { font-size: 14px; }
  .nx-anoncta span, .nx-award__k, .nx-b-brief__kicker, .nx-bellwin__row b, .nx-bigcard > small, .nx-block__help, .nx-case__meta, .nx-catpick > p, .nx-catpick2 legend, .nx-cfrow, .nx-clock__date, .nx-co select { font-size: 14px; }
  .nx-crumbs, .nx-cs--brief .nx-cs__b, .nx-dash .nx-quote__name, .nx-dash__digest, .nx-dash__todo .nx-todo__h b, .nx-dash__todo .nx-todo__n, .nx-dcheck, .nx-deck-hero .nx-chip, .nx-deck__org, .nx-density, .nx-dfield, .nx-dkhead__eyebrow { font-size: 14px; }
  .nx-dprev, .nx-drawer__note, .nx-drop p, .nx-ended-sw, .nx-envbar, .nx-ev p, .nx-ev summary, .nx-evtext, .nx-export, .nx-feed h2 small, .nx-field, .nx-fit__col h4 { font-size: 14px; }
  .nx-fit__col ul, .nx-fit__ngalert, .nx-fit__none, .nx-flabel, .nx-flow4 li b, .nx-flow__seg button, .nx-formnote, .nx-ftoggle, .nx-gains__exs, .nx-gains__more > summary, .nx-hnews__t, .nx-hometl__body em { font-size: 14px; }
  .nx-hometl__when small, .nx-jumpbar a, .nx-keyline dd, .nx-lane__empty, .nx-lane__note, .nx-launchline, .nx-legal__body table, .nx-legal__draft, .nx-legal__nav a, .nx-line__org, .nx-locked__p, .nx-login { font-size: 14px; }
  .nx-login__demo, .nx-loose li b, .nx-mlane__none, .nx-more > summary, .nx-mpager__a, .nx-mpager__n, .nx-mtile span, .nx-muted, .nx-navsub__chips a, .nx-navwait, .nx-needacct__login, .nx-news__t { font-size: 14px; }
  .nx-note, .nx-ntfwin footer, .nx-ntfwin header, .nx-ntfwin li b, .nx-ntfwin li.is-empty, .nx-obj__org, .nx-obj__why, .nx-onboard p, .nx-opnews__meta, .nx-pane__bar, .nx-peek__h, .nx-pick__o { font-size: 14px; }
  .nx-pick__t, .nx-picks__note, .nx-pp__row, .nx-price__cancel, .nx-price__feats li span, .nx-price__launch, .nx-price__list, .nx-price__note, .nx-price__term, .nx-price__trial, .nx-prochk__list small, .nx-proflow__eyebrow { font-size: 14px; }
  .nx-proflow__when b, .nx-provbar span, .nx-psel, .nx-psum h2, .nx-psum p, .nx-ptable table, .nx-qread, .nx-regions__bars li:not(.nx-tile__msg), .nx-rel__all, .nx-rel__row .nx-why, .nx-relax__a, .nx-relax__h { font-size: 14px; }
  .nx-savebox > summary, .nx-savebox__done, .nx-saved__chip a, .nx-scheme__h, .nx-searchpage--top .nx-countline, .nx-searchpage--top .nx-srow__date b, .nx-sechead2 p, .nx-seg a, .nx-setup2__go, .nx-setup2__skip, .nx-setupbub, .nx-sheetbtn { font-size: 14px; }
  .nx-signup__carry, .nx-signup__err, .nx-signup__login, .nx-signup__need, .nx-signup__steps span, .nx-sim__row, .nx-simbtn, .nx-srow__why, .nx-srows__sep, .nx-start, .nx-stool .nx-btn, .nx-stool .nx-flabel input:not([type="checkbox"]) { font-size: 14px; }
  .nx-stool .nx-flabel select, .nx-stool .nx-qbox__go, .nx-stool__sub, .nx-sum__h, .nx-sum__row, .nx-table th, .nx-table__spec, .nx-tband__today, .nx-teamarea .nx-linkbtn, .nx-teamarea__k, .nx-term > summary, .nx-term__n { font-size: 14px; }
  .nx-term__q, .nx-tile > header a, .nx-toast__undo, .nx-today__date, .nx-today__digest, .nx-today__sub, .nx-todo__a, .nx-todo__trial, .nx-verifybar, .nx-view label, .nx-viewsw a, .nx-watch .nx-deck__act .nx-btn { font-size: 14px; }
  .nx-wel2__foot, .nx-wel2__n, .nx-wel__eyebrow, .nx-wel__polaris span, .nx-wel__stats .is-kinds, .nx-wx b, .nxi-alldone, .nxi-bulk, .nxi-c__head b, .nxi-doc__main b, .nxi-msg, .nxi-one > summary { font-size: 14px; }
  .nxm-pop a b, .nxm-pop header, .nxr-feedhead, .nxr-ghost, .nxr-hide, .nxr-pill, .nxr-sub, .nxt-bar span, .nxt-page__note, .nxt__chipnote, .nxt__docs li, .nxt__ex button { font-size: 14px; }
  .nxt__field, .nxt__hello, .nxt__lanes h3, .nxt__lanes li, .nxt__nav, .nxt__no, .nxt__pitem, .nxt__sheet, .nxt__skip, .nxt__tip, .pf__t small, .pfo__h { font-size: 14px; }
  .pfx__flow, .pfx__tx span, .pp-ai__scope .nx-wf, .pp-csvinc__box label, .pp-hist__tabs button, .pp-histlink .nx-linkbtn, .pp-list, .pp-resdlg label, .pp-resdlg__err, .pp-resnote, .pp-stagetabs button b, .pp-trialnote { font-size: 14px; }
  .pr-act label, .pr-askg label, .pr-calc__cmp, .pr-cond b, .pr-cta p, .pr-dates li, .pr-doc b, .pr-draft textarea, .pr-draft__go, .pr-run p, .pr-task label, .pr-verdict p { font-size: 14px; }
  .pr__advance, .pr__more, .ps-phone__bar, .ps__eyebrow, .ps__time span, .st-donenote, .st-ok, :root:not([data-density]) .nx-ev, [data-density="daily"] .nx-ev { font-size: 14px; }
  .nx-loose__empty, .nx-scheme__seg button { font-size: 14px !important; }
}
/* ═══ スマホの文字の下限 ここまで ═══ */
/* 10/27 ホームの「今日の仕事」（近い期限・合いそうな新着の2枚を作り直した大きな枠）。中に 作業・近い期限・フォロー中の動き の3枚、見出しの横に進み具合の数 */
.nx-work { min-width: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--acc) 5%, var(--sheet)); }
.nx-work__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 2px 12px; }
.nx-work__head h2 { margin: 0; font-family: "Kaisei Tokumin", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 19px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.nx-work__stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nx-work__stages a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); color: var(--ink-2); font-size: 13px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.nx-work__stages b { font-family: var(--f-num); font-size: 18px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.nx-work__stages small { margin-left: -3px; font-size: 12px; color: var(--ink-3); }
@media (hover: hover) { .nx-work__stages a:hover { border-color: var(--acc); color: var(--acc); } }
.nx-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nx-work__grid:has(.nx-work__tasks) > .nx-work__moves { grid-column: 1 / -1; }
.nx-work .nx-tile { border-radius: 8px; }
.nx-work .nx-tile > header h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nx-work .nx-tile > header h2 em { font-style: normal; padding: 1px 8px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.nx-work .nx-tile > header h2 em.is-late { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.nx-tile__list.nx-wtask > li > a { grid-template-columns: 5.4em minmax(0, 1fr); grid-template-areas: "d t" "d c"; row-gap: 0; }
.nx-wtask__d { grid-area: d; align-self: center; font-size: 13px; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nx-wtask__d.is-overdue { color: var(--bad); } .nx-wtask__d.is-today { color: var(--acc); }
.nx-wtask__t, .nx-wtask__c, .nx-wmove__n, .nx-wmove__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-wtask__t { grid-area: t; font-weight: 700; } .nx-wtask__c { grid-area: c; font-size: 12.5px; color: var(--ink-3); }
.nx-tile__list.nx-wmove > li > a { grid-template-columns: 5.4em minmax(0, 1fr) auto; grid-template-areas: "k n c" "k t t"; row-gap: 0; }
.nx-wmove__k { justify-self: start; padding: 1px 8px; border-radius: 4px; font-size: 12px; font-weight: 800; color: var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); }
.nx-wmove__k[data-k="co"] { color: #7a5a14; background: color-mix(in srgb, #c9a040 18%, transparent); }
.nx-wmove__k { grid-area: k; align-self: center; } .nx-wmove__n { grid-area: n; font-weight: 700; } .nx-wmove__c { grid-area: c; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; } .nx-wmove__c b { font-family: var(--f-num); font-size: 15px; color: var(--ink); }
.nx-wmove__t { grid-area: t; font-size: 12.5px; color: var(--ink-3); }
.nx-wmove__more { margin: 6px 0 0; font-size: 13px; } .nx-wmove__more a { color: var(--acc); font-weight: 800; }
.nx-tile__msg a { color: var(--acc); font-weight: 700; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-wmove__k[data-k="co"] { color: #e6c47a; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-wmove__k[data-k="co"] { color: #e6c47a; } }
@media (min-width: 1101px) { .nx-fitwide .nx-tile__list.nx-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (max-width: 760px) {
  .nx-work { padding: 12px 10px 12px; border-radius: 8px; }
  .nx-work__grid { grid-template-columns: minmax(0, 1fr); }
  .nx-work__stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .nx-work__stages a { justify-content: center; min-height: 44px; padding: 6px 4px; gap: 4px; font-size: 12.5px; }
  .nx-work__stages b { font-size: 16px; }
  .nx-tile__list.nx-wmove > li > a { grid-template-columns: 5em minmax(0, 1fr); grid-template-areas: "k n" "k c" "k t"; }
}
/* 10/29 今日のタスクの作業に AI の「次にやること」も入るので、今日の作業の画面と同じく AI の札 */
.nx-wtask__ai { margin-right: 6px; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--acc); vertical-align: 1px; }
/* 10/29 デバッグ ②-02: 検証環境（shadow）の帯が、スマホの下のメニュー（.nx-tabbar）の上に重なって押せなかった。
   帯は知らせるだけなので押せないようにし、スマホでは下のメニューの上に出す（本番には帯そのものが出ない＝ENV_FEATURES.env_banner） */
.nx-envbar { pointer-events: none; }
@media (max-width: 760px) { .nx-envbar { bottom: calc(max(8px, env(safe-area-inset-bottom)) + 64px); left: 8px; right: 8px; padding: 4px 10px; border-radius: 8px; opacity: .92; } }
/* 10/29 タスク管理の作成の進み具合（右下）。画面を離れても作成は続く。案件ページの「タスク管理 →」・準備中のカードのボタン */
.nx-tcrun { position: fixed; right: 16px; bottom: 16px; z-index: 9500; width: min(360px, calc(100% - 32px)); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--ink); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .55); }
.nx-tcrun__row { display: flex; align-items: flex-start; gap: 10px; }
.nx-tcrun__row b { display: block; font-size: 14px; }
.nx-tcrun__row p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.nx-tcrun__row a { font-weight: 800; color: var(--acc); }
.nx-tcrun__orb { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--acc) 30%, transparent); border-top-color: var(--acc); animation: nx-tcspin 1s linear infinite; }
@keyframes nx-tcspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nx-tcrun__orb { animation: none; } }
.nx-tcrun__x { flex: none; margin-left: auto; min-width: 32px; min-height: 32px; border: 0; background: transparent; color: var(--ink-3); font-size: 18px; cursor: pointer; }
.pr-tasklink { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 4px; }
.pr-tasklink span { font-size: 13px; color: var(--ink-2); }
.pp-taskbtn { white-space: nowrap; }
@media (max-width: 760px) { .nx-tcrun { left: 16px; right: 16px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom)); border-radius: 6px; } .nx-tcrun__x { min-width: 44px; min-height: 44px; } }
/* 10/30 分野別のランキング: 数えた条件（直近N年・分野・地域）を見出しの下に小さく */
.nh-rankcond { margin: -4px 0 8px; font-size: 12px; color: var(--ink-3); }
/* 10/30 試作（開発だけ）: 自分の名前を姓と名に分けて入れる */
.mb-name2 { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-name2 .cs__in { flex: 1 1 140px; min-width: 0; }
.mb-name2__note { margin: 4px 0 0; font-size: 12px; }
/* 10/30 メール設定: 適用範囲・1行ずつのメールアドレス（状態・誤りは行の直下）・作業ごとの予約・必ず届く連絡 */
.nt-scope { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.nt-addr-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.nt-addr { display: grid; grid-template-columns: minmax(5em, 9em) minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
@media (max-width: 520px) {   /* 狭い画面は名前の下にアドレス（アドレスが切れないように） */
  .nt-addr { grid-template-columns: minmax(0, 1fr) auto; }
  .nt-addr__name, .nt-addr__who, .nt-addr input[name=emails] { grid-column: 1; }
  .nt-addr .nt-addr__x { grid-column: 2; grid-row: 1 / span 2; }
}
.nt-addr__who { font-size: 13px; font-weight: 700; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-addr .cs__in { min-width: 0; }
.nt-addr__st, .nt-addr__err { grid-column: 1 / -1; font-size: 12px; font-weight: 700; }
.nt-addr__st { color: var(--ink-3); } .nt-addr__st[data-s="ok"] { color: var(--ok); } .nt-addr__st[data-s="wait"] { color: var(--warn); } .nt-addr__st[data-s="blocked"] { color: var(--ink-3); }
.nt-addr__err { color: var(--bad); }
.nt-addr.is-err .cs__in { border-color: var(--bad); }
.nt-addr__x { grid-column: 3; grid-row: 1; width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); color: var(--ink-3); cursor: pointer; }
@media (hover: hover) { .nt-addr__x:hover { color: var(--bad); border-color: var(--bad); } }
.nt-addr-add { margin-top: 8px; }
.nt-devnote, .nt-more { margin-top: 8px; font-size: 12px; }
.nt-resv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nt-resv li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.nt-resv li span { flex: 1 1 auto; color: var(--ink-3); font-size: 12px; }
/* 10/30 作業の知らせを止めた宛先の再開（メール設定の中） */
.nt-taskoff { margin: 10px 0 0; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 6px; font-size: 13px; }
.nt-taskoff p { margin: 0 0 4px; }
.nt-taskoff ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nt-must p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 760px) { .nt-addr__x { width: 44px; min-height: 44px; } }
.nx-mailset { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; font-size: 13px; font-weight: 700; }
.nx-mailset span { color: var(--ink-3); font-weight: 600; }
.nx-setup2__mail { margin: 4px 0 10px; font-size: 12.5px; color: var(--ink-2); }
/* 10/30 試作: 検討・準備のカードの「…」（ごみ箱へ） */
.pp-dots { position: absolute; top: 10px; right: 44px; z-index: 4; }
.pp-dots > summary { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; list-style: none; color: var(--ink-3); font-weight: 800; cursor: pointer; }
.pp-dots > summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .pp-dots > summary:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); } }
.pp-dots__menu { position: absolute; right: 0; top: 32px; min-width: 9em; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.pp-dots__menu button { display: block; width: 100%; min-height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--bad); font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
@media (hover: hover) { .pp-dots__menu button:hover { background: var(--bad-soft); } }
@media (max-width: 760px) { .pp-dots { top: 3px; right: 50px; } .pp-dots > summary { width: 44px; height: 44px; } .pp-dots__menu, .pp-dots__menu button { border-radius: 6px; } .pp-dots__menu button { min-height: 44px; } }
/* 10/30 試作: 事業所・チームの技術者の一覧（1行）と容量 */
.mb-eng__tabs { display: flex; gap: 2px; margin: 0 0 6px; border-bottom: 1px solid var(--line); }
.mb-eng__tabs button { min-height: 30px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mb-eng__tabs button[aria-selected="true"] { border-bottom-color: var(--acc); color: var(--acc); }
.mb-eng__list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.mb-eng__list li { display: grid; grid-template-columns: minmax(6em, 12em) minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.mb-eng__list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); font-size: 12px; }
.mb-eng__list li > small { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.mb-eng__list .mb-eng__none { display: block; color: var(--ink-3); }
.mb-eng__form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.mb-eng__form span { display: contents; }
.mb-eng__form span[hidden] { display: none; }
.mb-eng__form input { min-width: 0; flex: 1 1 10em; min-height: 32px; padding: 0 8px; border: 1px solid var(--line-2, var(--line)); border-radius: 6px; background: var(--sheet); color: var(--ink); font: inherit; font-size: 13px; }
.mb-eng__msg { flex-basis: 100%; margin: 0; color: var(--bad); font-size: 12px; }
.mb-eng__msg:empty { display: none; }
.mb-meter__bar { height: 6px; border-radius: 9px; background: var(--line-2, var(--line)); overflow: hidden; }
.mb-meter__bar i { display: block; height: 6px; background: var(--acc); }
.mb-meter__bar.is-warn i { background: var(--warn); } .mb-meter__bar.is-full i { background: var(--bad); }
.mb-meter p { margin: 4px 0 0; color: var(--ink-3); font-size: 12px; }
@media (max-width: 760px) {
  .mb-eng__list li { grid-template-columns: minmax(0, 1fr) auto auto; } .mb-eng__list li > span { grid-column: 1 / -1; grid-row: 2; }
  .mb-eng__list li > small { display: none; }
  .mb-eng__form input, .mb-eng__tabs button { min-height: 44px; }
}
.pp-card:has(.pp-dots) .nx-deck__top { padding-right: 66px; overflow: hidden; }
@media (max-width: 760px) { .pp-card:has(.pp-dots) .nx-deck__top { padding-right: 96px; } }
.mb-eng__form .nx-btn { min-height: 32px !important; padding: 0 14px !important; font-size: 13px !important; }
@media (max-width: 760px) { .mb-eng__form .nx-btn { min-height: 44px !important; } }
/* 10/30 入札の記録の期間（狭い画面）: 2つの日付の欄を縮めすぎて「yyyy/mm/」で切れた → 期間の下に から／まで を1行ずつ */
@media (max-width: 520px) {
  .nr-filter .nx-flabel--range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; }
  .nr-filter .nx-flabel--range input { width: 100%; min-width: 0; }
  .nr-filter .nx-flabel--range input[name="until"] { grid-column: 2; }
  .nr-who { width: 11.5em; max-width: 100%; }
}
/* 10/31 総点検 S9-01: 暗い表示でも機能カードは便せん（明るい紙）のまま。説明が暗い表示の薄い灰色を引き継いで読めなかった（約1.6:1）→ 紙の上の濃い文字に */
.pfx__tx span { color: #4a4439; }
/* 10/31 総点検 R2C-03: 空白の無い長い名前（英数字・記号の続き）で、見出しとパンくずが画面の横へはみ出した。
   日本語の折り返しは今のまま、はみ出すときだけどこでも折り返す（見出しはすべて・パンくずの各項目） */
#nx-main h1, #nx-main h2, #nx-main h3 { overflow-wrap: anywhere; min-width: 0; }
.nx-crumbs > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

/* スマホの角は 6px（台帳 10/14「丸の意味がある部品だけ丸」）。2026-10-31 総点検 R3A-01 の測定で、公開画面に 8〜18px が残っていた部品
   （機関・企業の一覧の行・絞り込みの選択欄・検索の帯・料金の説明枠・お知らせ・案件の過去の結果・問い合わせなどの入力欄・札）。PC はそのまま */
@media (max-width: 760px) {
  .nh-dir a, .nx-flabel select, .nx-flabel input, .nx-stool .nx-flabel select, .nx-stool .nx-qbox, .nx-stool .nx-seg2, .nx-stool .nx-qbox__go, .nx-countline__tools details.nx-mklegend > p,
  .nx-price__seats, .nx-price__launch, .nx-price__cancel, .nx-tband, .nx-opnews__item, .nx-opnews__tag, .nh-badge, .nx-legal__draft,
  .hx__stats, .hx__est, .nx-term__n, .nx-unk-chips > span,
  .lg-form input, .lg-form select, .lg-form textarea, .nxt-pop textarea, .pp-resdlg input, .pp-resdlg textarea, .nx-teamarea__k textarea { border-radius: 6px; }
  /* 読む枠の共通の角（--r-read 14px：機関・落札結果の詳細の表、一覧の枠、規約など）もスマホは 6px */
  :root { --r-read: 6px; --r-obj: 6px; }
}

/* スマホの押せる範囲は 44px 前後（台帳 10/23）。2026-10-31 総点検 R4C-01: ヘッダーの印 40px・プロフィール 36px・検索の検討/見送り 36px・
   案件の判断 40px・メール設定の選択 38.75px などが残っていた。ホームだけにあった型（10/23 s01 F9）を全画面へ: 見た目は変えず、透明な当たりを 44px に */
@media (max-width: 760px) {
  :is(.nx-burger, .nx-setupbub__x, .nx-setupbub > a, .nx-cs__b, .cs__pill, .nx-pgnum__n, .nx-mpager__a, .nx-stool__cov, .nx-export, .nx-start, .nx-back,
    .nxi-result, .nx-linkbtn, .nx-btn--quiet, .nx-sheetbtn, .nx-docbtn, .ax-seg__b, .nx-wf, .nx-foot__links a, .nx-crumbs a, .nx-caseguide a, .nx-link, .nx-legal__nav a,
    .nx-anav a, .nf-next a, .nx-cal__foot a, .hx__freq a) { position: relative; }
  .nx-dkhead > .nx-docbtn { position: relative; }   /* スマホの static（上の帯の下に置く指定）より強く。当たりがほかの部品の上に出ないように */
  :is(.nx-bell, .nx-melink, .nx-burger, .nx-setupbub__x, .nx-setupbub > a, .nx-cs__b, .cs__pill, .nx-pgnum__n, .nx-mpager__a, .nx-stool__cov, .nx-export, .nx-start, .nx-back, .nx-pwbtn,
    .nxi-result, .nx-linkbtn, .nx-btn--quiet, .nx-sheetbtn, .nx-docbtn, .ax-seg__b, .nx-wf, .nx-foot__links a, .nx-crumbs a, .nx-caseguide a, .nx-link, .nx-legal__nav a, .nt-sw, .nt-seg label,
    .nx-anav a, .nf-next a, .nx-cal__foot a, .hx__freq a)::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max(100%, 44px); height: max(100%, 44px);
  }
  /* 開閉の見出し（矢印に ::after を使う物がある）・縦に並ぶ選び欄・入力欄は、当たりを重ねず高さそのものを 44px に */
  :is(.st-help, .pp-csvinc, details.nx-mklegend, .hx-rv__ex, .ax-table, .ax-filters) > summary { min-height: 44px; align-items: center; }
  .nx-login__demo > summary { padding-block: 10px; }
  .nx-of1-invite label { min-height: 44px; }
  .nh-own__q input { min-height: 44px; }
}

/* 発注機関ページの年ごとの一覧への入口（10/31 午後） */
.nh-yearlinks { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 4px 0 18px; font-size: 13px; }
.nh-yearlinks a { color: var(--ink); white-space: nowrap; }
.nh-yearlinks small { margin-left: 2px; color: var(--ink-3); font-size: 11px; }

/* 発注機関×年の一覧（10/31 午後）: タスク管理くらいの小さな字で一目で多く見る表 */
.nhy-count { margin: 0 0 6px; font-size: 12px; color: var(--ink-3); }
.nhy-wrap { overflow-x: auto; }
.nhy-tbl { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.4; }
.nhy-tbl th { position: sticky; top: 0; background: var(--paper); text-align: left; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding: 4px 6px; white-space: nowrap; }
.nhy-tbl td { padding: 3px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.nhy-tbl a { color: var(--ink); }
.nhy-d { width: 3.5em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.nhy-w { width: 28%; }
.nhy-y { width: 6.5em; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nhy-st { margin-left: 6px; font-size: 11px; color: var(--ink-3); }
.nhy-years { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -6px 0 14px; font-size: 13px; }
.nhy-years a { color: var(--ink); }
/* スマホ: 1行を「日付・件名・金額」と、その下の契約先の2段に（列のままだと契約先が1字ずつ折れて行が縦に伸びた） */
@media (max-width: 640px) {
  .nhy-tbl, .nhy-tbl tbody { display: block; font-size: 12px; }
  .nhy-tbl thead { display: none; }
  .nhy-tbl tr { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; column-gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--line); }
  .nhy-tbl td { padding: 0; border: 0; }
  .nhy-tbl td.nhy-w { grid-column: 2 / 4; grid-row: 2; width: auto; font-size: 11px; color: var(--ink-3); }
  .nhy-y { width: auto; }
  /* 10/31: スマホは全部の文字を出さなくてよい。件名・契約先は1行で切って件数を多く見せる */
  .nhy-tbl td:nth-child(2), .nhy-tbl td.nhy-w { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nhy-st { display: none; }
}

/* 10/31 各メニューの画面から、そのメニューの操作マニュアルの本へ（_manual.html）。小さく、検索の邪魔をしない */
.nx-manual{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:12px;line-height:1.2;color:var(--ink-2,#5b5446);text-decoration:none;padding:4px 7px;border-radius:6px;white-space:nowrap}
.nx-manual svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){.nx-manual:hover{background:rgba(0,0,0,.05);color:inherit;text-decoration:underline}}
@media (max-width:760px){.nx-manual span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.nx-manual{padding:6px}}
.nx-manual--top{padding:6px}   /* 上の帯は混んでいるので本のマークだけ（文字は title と読み上げ）。事業所の選択欄を押しつぶさない */
.nx-manual--top span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.nx-manual--top svg{width:19px;height:19px}
/* 10/31 上の帯にマニュアルの本のマークが入り、1151〜1300 幅で事業所の選択欄が約100px（名前が3文字）まで縮んだ。
   メニューの文字の左右の余白と部品の間を少し詰めて、事業所の名前の幅を戻す（760 以下は別の並び） */
@media (min-width: 761px) and (max-width: 1300px) {
  .nx-bar .nx-seg a { padding-inline: 8px; }
  .nx-bar { gap: 10px; }
}
/* 10/31 料金のページ: 基本料金と、追加の事業所・追加アカウント（1つにつき）を同じ並べ方で */
.nx-price__lbl { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; color: var(--ink-3); }
.nx-price__add { margin: 14px 0 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.nx-price__yen--add b { font-size: 44px; }
/* 11/1 ホームの「表示」の窓: 入れ物（.nx-hero2__txt・重なりの順 2）が、検索の欄（.nx-cmd--herobot・3）より下で、窓の「軽量表示」に検索の欄がかぶっていた。
   開いているときだけ入れ物を上げる。スマホは窓が縦に長く下のメニューの裏まで伸びたので、高さを画面に収めて中をスクロール */
.nx-hero2__txt:has(.nx-view:not([hidden])), .nx-hero2:has(.nx-view:not([hidden])) { z-index: 30; }   /* 窓は上の部分の外（下の「はじめにやること」）まで出るので、上の部分ごと上げる（60 にすると上の帯・事業所の欄まで隠れる。下のメニューとの重なりは next.js で窓の高さを詰める） */
@media (max-width: 760px) { .nx-view { max-height: 55vh; max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain; } }
.nx-view { background: rgb(10, 18, 36); }   /* 軽い表示（ぼかしが外れる）で後ろの数字・検索の文字が透けて重なって見えた。11/1: .97 でも下の白い太字（お知らせ・目的の入力欄）が透けて読めなくなった→不透明に */
/* 11/1 検討・準備のカード: 期限切れの作業の数（タスク管理の上の札と同じ数）を「タスク 0/19」の右に赤で */
.pp-taskchip__late { margin-left: 6px; color: var(--bad); font-weight: 800; }

/* 11/1: 「…」で切れた文字を押すと全文（next.js の共通の仕組み）。開いた時だけ折り返す */
.nx-clip { cursor: pointer; }
:has(> .nx-unclip) { flex-wrap: wrap; }   /* 横に並んだ行は、開いた文字を次の行へ回して幅を使う */
.nx-unclip { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; line-clamp: unset !important; max-height: none !important; height: auto !important; overflow-wrap: anywhere; cursor: pointer; }

/* 11/1: スマホ（下のタブのある幅）では右上のメニューのボタンを出さない（帯に入り切らず、ホームでは画面の外で押せなかった）。
   明るさ・軽い表示・ログアウトは下の「その他」の欄に入れた。ログインしていない画面のメニュー（--pub）はそのまま */
@media (max-width: 760px) {
  .nx-bar__tools > .nx-acct:not(.nx-acct--pub) { display: none; }
  .nx-tabbar__sheet { max-height: calc(100dvh - 96px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
  .nx-tabbar__opts { display: grid; gap: 8px; margin: 4px 0 0; padding: 10px 16px 4px; border-top: 1px solid var(--line); }
  .nx-tabbar__opts .nx-scheme { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .nx-tabbar__opts .nx-scheme__seg button, .nx-tabbar__opts .nx-litebtn { min-height: 44px; }
  .nx-tabbar__opts .nx-litebtn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
  .nx-tabbar__opts .nx-litebtn__st { font-size: 13px; font-weight: 700; color: var(--ink-3); }
  .nx-tabbar__out { margin: 0; }
  .nx-tabbar__out button { width: 100%; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
}
@media (max-width: 760px) and (hover: hover) { .nx-tabbar__out button:hover { background: var(--sheet-2); } }
/* 11/1: 右上のメニューを外しても、360〜390 では右端のプロフィールが帯から 4〜25px はみ出した → 狭いスマホはアイコンの間を詰め、ロゴの小さな副題を隠す。
   340 以下はロゴの文字も隠す（無料の画面の 340 以下と同じ扱い）。761〜900 で文字を隠しているのと同じ考え */
@media (max-width: 430px) { .nx-bar__tools { gap: 4px; } .nx-bar .nx-brand__name.is-paid small { display: none; } }
@media (max-width: 340px) { .nx-bar .nx-brand__name.is-paid { display: none; } }

/* PC の上の帯が収まらないときの3段（next.js が実際に測って付ける。11/1 m01-chrome-001） */
.nx-bar.nx-bar--fit1 .nx-melink .nx-acct__name { display: none; }
.nx-bar.nx-bar--fit2 { gap: 8px; }
.nx-bar.nx-bar--fit2 .nx-bar__tools { gap: 4px; }
html.nx-stage.nx-on-sky .nx-bar.nx-bar--fit2 .nx-seg { margin-left: 12px; }
.nx-bar.nx-bar--fit3 .nx-brand__name { display: none; }

.nx-case-search { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.nx-case-search:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.nx-detail-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.nx-detail-tools > .nx-crumbs { flex: 1 1 0; min-width: 0; }
.nx-page-copy { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; min-width: 0; }
.nx-page-copy[hidden], .nx-page-copy__manual[hidden] { display: none; }
.nx-page-copy > button { appearance: none; box-sizing: border-box; border: 0; background: none; padding: 0 4px; min-height: 0; min-width: 8em; font: inherit; font-size: 13px; font-weight: 700; line-height: inherit; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.nx-page-copy > button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nx-page-copy__manual { flex-basis: 100%; min-width: 0; max-width: 100%; font-size: 13px; color: var(--ink); }
.nx-page-copy__manual input { display: block; box-sizing: border-box; width: 100%; min-width: 0; padding: 6px; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.nx-search-tip::after { white-space: pre-line; }
@media (max-width: 760px) {
  .nx-case-search { padding: 11px 3px; margin: -11px -3px; }
  .nx-page-copy > button { min-height: 44px; font-size: 14px; border-radius: 6px; }
  .nx-page-copy__manual { font-size: 14px; }
  .nx-search-tip::after { max-height: calc(100dvh - 120px); overflow: auto; pointer-events: auto; }
}

/* 11/2 設定系の画面を密に（「プロフィール設定などところどころ文字やフォームが大きくて少し見づらい。小さくてもいいので広い範囲を見渡せた方がいい」）。
   対象: プロフィール（二段階の確認も page=me）・事業所・チーム・メンバー・メール設定・お申込み・はじめにやること。
   台帳 10/30「業務の表は密に（小さめの字・そろった並び）」。PC の入力欄は 32px 前後でよい（10/23）。スマホの押せる高さ 44px 前後（10/23・10/31）は守る。
   ここで変えるのは大きさと余白だけ。並び・色・文面は変えない */
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nx-mepage, .nt, .nh-page) {
  padding-top: calc(var(--nx-top-h, 72px) + 12px); padding-bottom: 56px;
}
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nx-dkhead, .nt-head, .nh-head) { padding: 0 0 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main h1 {
  margin: 2px 0 4px; font-size: clamp(22px, 2vw, 26px); line-height: 1.3;
}
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nx-dkhead__eyebrow) { margin: 0 0 2px; font-size: 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main h2 { font-size: 15px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nt-card, .bl-card) { margin-bottom: 10px; padding: 12px 14px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nt-status, .nt-lead, .nx-aipref) { margin-bottom: 10px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-status { padding: 8px 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-card h2 { margin-bottom: 6px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-me__grid { gap: 16px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-verifybar { margin: 6px 0 8px; padding: 6px 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-aipref { padding: 8px 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-crumbs { margin: 0 0 6px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-savestate { margin-top: 0; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-aipref__st:empty { display: none; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nf-sect { gap: 8px; margin-bottom: 12px; padding: 10px 10px 12px; border-radius: 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nf-card { padding: 10px 12px; border-radius: 10px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nf-card.is-done .nf-actions { margin-top: 4px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-drop { padding: 14px; border-radius: 14px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-drop__orb { width: 36px; height: 36px; margin-bottom: 6px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nh-own { margin-top: 12px; padding: 12px 14px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-worklink { margin-top: 12px; padding: 10px 14px; border-radius: 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-units { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-unit { min-height: 0; padding: 12px 14px; gap: 4px; border-radius: 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-unit b { font-size: 16px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-unit__rd b { font-size: 14px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-unit__plus { width: 40px; height: 40px; font-size: 22px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .st-item { padding: 10px 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .st-later { margin-top: 16px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .st-foot { margin: 14px 0 8px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .bl-capacity__row { padding: 10px 12px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .bl { gap: 10px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-lead { font-size: 14px; margin-bottom: 8px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-row { font-size: 14px; margin: 2px 0 6px; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-card > p { margin: 8px 0; }
:root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .pp-log > li { padding-top: 6px; padding-bottom: 6px; }
@media (min-width: 761px) {
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .cs__in { min-height: 32px; padding: 4px 10px; border-radius: 8px; font-size: 13px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nx-btn { min-height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-field { margin-bottom: 6px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nf-input, .nh-own__q input) { min-height: 32px; height: auto; padding: 4px 10px; border-radius: 8px; font-size: 13px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .cs__pill { min-height: 32px; padding: 0 12px; font-size: 13px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main .nt-card :is(td, th) { padding: 5px 8px; }
}
@media (max-width: 760px) {
  /* スマホは事業所を選ぶ行の分（body:has(.nx-of1) #nx-main の 48px）も --nx-top-h に入っているので、main の分は外して器の側だけで空ける */
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main { padding-top: 0; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nx-mepage, .nt, .nh-page) { padding-top: calc(var(--nx-top-h, 104px) + 8px); }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main h1 { font-size: 20px; }
  :root:is([data-page="me"], [data-page="works"], [data-page="members"], [data-page="notify"], [data-page="billing"], [data-page="setup"]) #nx-main :is(.nt-card, .bl-card) { padding: 10px 12px; }
}

/* 11/2 探すの最初の画面（スマホ）: 上の部品の余白が多く、1件目が下へ押されていた。「しるしの意味」の「?」は丸の中の字が下に寄っていた（上の ::before の字の行の高さ）。
   締切の注記の文言と、読む文字 14px（10/12・10/13 の決まり）・押せる大きさは保ったまま、余白・字間・上のページ送りを詰める */
@media (max-width: 760px) {
  :root[data-page="search"] .nx-searchpage--top .nx-countline { margin: 0 6px 2px; row-gap: 0; }
  :root[data-page="search"] .nx-searchpage--top .nx-countline__tools { row-gap: 0; }
  :root[data-page="search"] .nx-searchpage--top .nx-deadline-note { margin: 0 6px 2px; line-height: 1.5; letter-spacing: 0; }
  /* 上のページ送りは番号だけ（「次の50件」は番号の「2」と同じ行き先で、下のページ送りにもある） */
  :root[data-page="search"] .nx-pgnum.nx-mpager--top { margin: 0 6px 2px; grid-template-columns: minmax(0, 1fr); }
  :root[data-page="search"] .nx-pgnum.nx-mpager--top .nx-pgnum__side { display: none; }
}

/* 11/2 プロフィールの見直し（目的によりどこを見てどこを入れればいいか即座に分からない）。
   上部の余白を詰め、保存の表示は社名の行の右へ。AI の見直しは枠なし。メンバー・通知の枠。資料の取り込みは絵と軽い動きで何の場所か分かるように */
:root[data-page="me"] .nx-mepage .nx-dkhead { padding-bottom: 8px; }
:root[data-page="me"] .nx-mepage .nx-dkhead .nx-crumbs { margin-bottom: 4px; }
.nx-mehead { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.nx-mehead h1 { min-width: 0; }
.nx-dkhead .nx-mehead .nx-savestate { margin: 0 0 0 auto; display: inline-block; }
.nx-aipref.is-plain, :root[data-page="me"] #nx-main .nx-aipref.is-plain { padding: 0 2px; background: none; box-shadow: none; border-radius: 0; margin: 0 0 8px; min-height: 0; }
:root[data-page="me"] .nx-mepage .nx-verifybar { margin-bottom: 8px; }
.nx-me__side > .nx-drop { width: 100%; box-sizing: border-box; text-align: center; }
.nx-me__side > .nx-drop .nx-drop__art { margin: 0 auto 6px; }
.nx-teamcard { display: grid; gap: 0; }
.nx-teamcard__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 6px 4px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nx-teamcard__row:first-of-type { border-top: 0; }
.nx-teamcard__row b { font-size: 14px; }
.nx-teamcard__row span { font-size: 13px; color: var(--ink-3); }
.nx-teamcard__row i { font-style: normal; color: var(--ink-3); font-size: 18px; }
@media (hover: hover) { .nx-teamcard__row:hover b { color: var(--acc); } }
.nx-drop__art { position: relative; width: 64px; height: 56px; margin: 0 0 8px; }
.nx-drop__tray { position: absolute; left: 6px; right: 6px; bottom: 0; height: 22px; border: 2.5px solid #14b8a6; border-top: 0; border-radius: 0 0 8px 8px; }
.nx-drop__tray::before { content: ""; position: absolute; left: -8px; right: -8px; top: 0; border-top: 2.5px solid #14b8a6; }
.nx-drop__doc { position: absolute; left: 20px; top: 0; width: 24px; height: 30px; border-radius: 3px; background: var(--sheet); box-shadow: 0 0 0 2px #0f766e inset;
  background-image: linear-gradient(#0f766e, #0f766e), linear-gradient(#0f766e, #0f766e), linear-gradient(#0f766e, #0f766e);
  background-size: 12px 2px, 12px 2px, 8px 2px; background-position: 6px 9px, 6px 14px, 6px 19px; background-repeat: no-repeat;
  animation: nx-drop-in 2.6s ease-in-out infinite; }
@keyframes nx-drop-in { 0% { transform: translateY(-6px); opacity: 0; } 25% { opacity: 1; } 55% { transform: translateY(16px); opacity: 1; } 75%, 100% { transform: translateY(16px); opacity: 0; } }
.nx-drop.is-over .nx-drop__doc { animation-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) { .nx-drop__doc { animation: none; transform: translateY(10px); } }
.nx-lite .nx-drop__doc { animation: none; transform: translateY(10px); }
.nx-drop__lead { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.nx-drop__lead .nx-drop__pick { font-weight: 800; }
.nx-drop__safe { font-size: 12px; margin-top: 4px; }
@media (max-width: 760px) {
  .nx-dkhead .nx-mehead .nx-savestate { margin-left: 0; }
  .nx-dkhead .nx-mehead .nx-savestate[data-kind="idle"] { display: none; }   /* スマホは社名が折り返して1行取るので、保存したとき（保存中・保存しました）だけ出す */
}
.nt-h1row { display: flex; align-items: center; gap: 8px; }   /* 11/2 見出しの横の「?」（見出しの文字は h1 だけに） */

/* 落札結果速報（11/2。/next/history/flash）。一覧の行は過去の落札結果と同じ nh-row */
.fl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.fl-head h1 small { font-size: .55em; font-weight: 700; color: var(--ink-3); }
.fl-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.fl-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.fl-tabs a b { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.fl-tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); }   /* 暗い画面でも読める組（.nx-flow__seg と同じ） */
@media (hover: hover) { .fl-tabs a:not([aria-current]):hover { color: var(--acc); } }
.fl-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.fl-form .nx-qbox { flex: 1 1 320px; min-width: 0; }
.fl-days { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.fl-days a { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); text-decoration: none; background: var(--sheet); box-shadow: 0 0 0 1px var(--line); }
.fl-days a small { font-size: 11px; color: var(--ink-3); }
@media (hover: hover) { .fl-days a:hover { color: var(--acc); } }
.fl-day { margin: 0 0 18px; scroll-margin-top: 90px; }
.fl-day h2 { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.fl-day .nh-row__date b { font-size: 14px; }
.nh-st.is-fail { background: var(--sheet-2, var(--line)); color: var(--ink-2); }
.fl-more { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: 14px; }
@media (max-width: 560px) {
  .fl-tabs { width: 100%; } .fl-tabs a { flex: 1; justify-content: center; min-height: 44px; }
  .fl-days a { min-height: 36px; align-items: center; }
  .fl-more a { display: inline-flex; align-items: center; min-height: 44px; }
  /* スマホは件名を上に、発注機関→会社と金額を同じ行に（金額だけで1行取らない） */
  .fl-day .nh-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "d t t" "d m y"; gap: 2px 10px; }
  .fl-day .nh-row__main { display: contents; }
  .fl-day .nh-row__date { grid-area: d; align-self: start; padding-top: 4px; }
  .fl-day .nh-row__title { grid-area: t; }
  .fl-day .nh-row__meta { grid-area: m; align-self: center; }
  .fl-day .nh-row__yen { grid-area: y; grid-column: auto; align-self: center; text-align: right; margin-top: 0; }
}
/* 速報の各行の状態のハンコ（11/2。絵は hanko の svg の形だけ、色はここで。落札・契約＝朱、不落札＝墨、中止＝灰）。行の高さは変えない */
.fl-day { --hk-red: #c8372d; --hk-ink: #2f2f33; --hk-gray: #85858c; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .fl-day { --hk-red: #e5604f; --hk-ink: #c4c4c4; --hk-gray: #9a9aa2; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .fl-day { --hk-red: #e5604f; --hk-ink: #c4c4c4; --hk-gray: #9a9aa2; } }
.fl-day .nh-row__date { position: relative; align-self: start; }
.fl-hanko { position: absolute; right: 2px; top: calc(100% - 5px); width: 30px; height: 30px; background: var(--hk-red); opacity: .92; pointer-events: none; transform: rotate(-12deg);
  -webkit-mask: url("hanko/won.svg") center / contain no-repeat; mask: url("hanko/won.svg") center / contain no-repeat; }
.fl-hanko.is-contract { -webkit-mask-image: url("hanko/contract.svg"); mask-image: url("hanko/contract.svg"); }
.fl-hanko.is-fail { background: var(--hk-ink); -webkit-mask-image: url("hanko/fail.svg"); mask-image: url("hanko/fail.svg"); }
.fl-hanko.is-cancel { background: var(--hk-gray); -webkit-mask-image: url("hanko/cancel.svg"); mask-image: url("hanko/cancel.svg"); }
.fl-day .nh-row:nth-child(4n+2) .fl-hanko { transform: rotate(-6deg); }
.fl-day .nh-row:nth-child(4n+3) .fl-hanko { transform: rotate(-17deg); }
.fl-day .nh-row:nth-child(4n) .fl-hanko { transform: rotate(-9deg); }
@media (max-width: 560px) { .fl-day .nh-row__date { padding-top: 2px; } .fl-hanko { right: 0; top: 100%; width: 36px; height: 36px; } }
/* 案件ページの結果（11/2: 状態をもっと豪華に。説明は「?」へ）。紙の札に朱のハンコ */
.nx-award { --hk-red: #c8372d; --hk-ink: #2f2f33; --hk-gray: #85858c; }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-award { --hk-red: #e5604f; --hk-ink: #d0d0d0; --hk-gray: #a2a2aa; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-award { --hk-red: #e5604f; --hk-ink: #d0d0d0; --hk-gray: #a2a2aa; } }
.nx-award:has(.nx-award__hero) { gap: 6px; border-top: 4px solid var(--hk-red); background: repeating-linear-gradient(transparent 0 23px, color-mix(in srgb, var(--ink) 6%, transparent) 23px 24px), color-mix(in srgb, #b98a3c 7%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #b98a3c 30%, transparent), 0 14px 30px -20px rgba(60, 40, 10, .5); }
.nx-award:has(.nx-award__hero.is-fail) { border-top-color: var(--hk-ink); }
.nx-award:has(.nx-award__hero.is-cancel) { border-top-color: var(--hk-gray); }
.nx-award__hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; margin: 2px 0; color: var(--hk-red); }
.nx-award__hero.is-fail { color: var(--hk-ink); } .nx-award__hero.is-cancel { color: var(--hk-gray); }
.nx-award__seal { display: block; width: 92px; height: 92px; transform: rotate(-12deg); font-family: var(--f-serif, "Kaisei Tokumin", serif); animation: nx-hanko-press .5s cubic-bezier(.2, 1.5, .4, 1) both .25s; }
.nx-award__seal svg { display: block; overflow: visible; }
.nx-award__hero .nx-award__v { display: grid; gap: 2px; }
.nx-award__hero .nx-award__v b { font-family: var(--f-serif, "Kaisei Tokumin", serif); font-weight: 900; font-size: 30px; line-height: 1.15; letter-spacing: .08em; color: inherit; }
.nx-award__date { font-size: 14px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nx-award__w { margin: 0; font-size: 15px; color: var(--ink-2); } .nx-award__w b { color: var(--ink); }
.nx-award__yen { font-family: var(--f-num); font-size: 20px; font-variant-numeric: tabular-nums; }
.nx-award__w small { font-size: 12.5px; color: var(--ink-3); margin-left: 4px; }
@keyframes nx-hanko-press { 0% { opacity: 0; transform: rotate(-12deg) scale(1.8); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .nx-award__seal { animation: none; } }
.nx-lite .nx-award__seal { animation: none; }
@media (max-width: 560px) { .nx-award__seal { width: 80px; height: 80px; } .nx-award__hero .nx-award__v b { font-size: 26px; } }


/* 検索条件は必要な群だけを開く。 */
.nx-rich-group { flex: 1 0 100%; min-width: 0; border-top: 1px solid var(--line); }
.nx-rich-group > summary, .nx-rich-pick > summary, .nx-rich-or > summary { cursor: pointer; font-size: 12.5px; color: var(--ink-2); padding: 6px 4px; border-radius: 6px; }
.nx-rich-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; min-width: 0; max-width: 100%; }
.nx-rich-fields label, .nx-rich-pick label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-size: 12.5px; }
.nx-rich-fields input, .nx-rich-fields select { max-width: 100%; min-width: 0; box-sizing: border-box; border-radius: 6px; }
.nx-rich-fields input:not([type=checkbox]):not([type=date]) { width: 13em; }
.nx-rich-fields label small, .nx-rich-hits { color: var(--ink-3); font-size: 11.5px; }
.nx-rich-region { flex: 1 0 100%; border: 1px solid var(--line); border-radius: 6px; min-width: 0; margin: 0; padding: 6px 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.nx-rich-region legend { font-size: 12px; color: var(--ink-2); }
.nx-rich-region label { min-width: 88px; }
.nx-rich-pick { position: relative; min-width: 0; max-width: 100%; }
.nx-rich-pick > summary { border: 1px solid var(--line); padding: 5px 8px; }
.nx-rich-pick > fieldset { display: flex; flex-wrap: wrap; gap: 6px 14px; max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 10px; margin: 4px 0; min-width: 0; }
.nx-rich-cat > fieldset { position: absolute; z-index: 15; width: min(360px, 70vw); box-shadow: 0 4px 16px #0002; }
.nx-rich-pick label { padding: 4px 0; }
.nx-rich-or { font-size: 12.5px; max-width: 100%; }
.nx-rich-or .nx-rich-fields { border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.nx-rich-or label { flex-wrap: wrap; }
.nx-rich-fields [hidden], .nx-stool [hidden] { display: none !important; }
.nx-rich-fields output { font-size: 12px; overflow-wrap: anywhere; }
.nx-search-tip[data-open-words] { cursor: pointer; }
.nx-rich-hits { display: inline; margin-left: 4px; }
@media (hover: hover) {
  .nx-rich-group > summary:hover, .nx-rich-pick > summary:hover, .nx-rich-or > summary:hover { color: var(--sky); }
}
@media (max-width: 760px) {
  .nx-rich-group > summary, .nx-rich-pick > summary, .nx-rich-or > summary { min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
  .nx-rich-fields { align-items: stretch; flex-direction: column; width: 100%; }
  .nx-rich-fields label { justify-content: space-between; flex-wrap: wrap; min-height: 44px; }
  .nx-rich-fields input:not([type=checkbox]), .nx-rich-fields select { width: 100%; min-height: 44px; font-size: 14px; }
  .nx-rich-fields .nx-chipbtn, .nx-rich-pick .nx-chipbtn { min-height: 44px; }
  .nx-rich-region { flex-basis: auto; }
  .nx-rich-region label { flex: 0 0 calc(50% - 10px); justify-content: flex-start; }
  .nx-rich-region legend { max-width: 100%; }
  .nx-rich-pick > fieldset { max-height: 55vh; }
  .nx-rich-pick > fieldset label { min-height: 44px; }
  .nx-rich-cat > fieldset { position: static; width: auto; box-shadow: none; }
}
.nx-stool__sub:has(.nx-rich-or) .nx-saved { flex: 1 1 0; min-width: 0; }
.nx-rich-or[open] { flex-basis: 100%; }

@media (min-width: 761px) {
  .nx-rich-cat > summary { height: 30px; box-sizing: border-box; line-height: 18px; padding: 5px 8px; }
}

#nx-sform .nx-rich-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
#nx-sform .nx-rich-chips .nx-fchip { border-radius: 6px; min-height: 32px; align-items: center; animation: none; opacity: 1; transform: none; }
#nx-sform .nx-rich-chips .nx-fchip::after { content: "×"; font-size: 14px; opacity: .8; }
.nx-stool .nx-stab > span[aria-disabled] { display: flex; align-items: center; justify-content: center; height: 28px; padding: 0 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); opacity: .7; text-align: center; line-height: 1.25; min-width: 0; }
@media (max-width: 760px) {
  #nx-sform:not(.is-fopen) .nx-rich-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  #nx-sform.is-fopen .nx-rich-chips { display: none; }
  #nx-sform .nx-rich-chips .nx-fchip { min-height: 44px; height: auto; }
  .nx-stool .nx-stab > span[aria-disabled] { min-height: 48px; height: auto; padding: 4px; font-size: 13px; }
}

/* 詳しい条件は別の窓で開く（11/2）。その場に広げると探すの画面を大きく取っていた。
   PC は画面の中央の窓・左に項目の見出し、右に選んだ項目だけ。スマホは全面のシートで項目を畳む */
.nx-sdetail__head, .nx-sdetail__foot, .nx-sdetail__x { display: none; }
.nx-sdetail[open] { flex-basis: auto; }
.nx-sdetail[open]::before { content: ""; position: fixed; inset: 0; z-index: 8000; background: rgba(12, 15, 22, .46); }
.nx-sdetail[open] > .nx-sdetail__body { position: fixed; z-index: 8001; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 64px); box-sizing: border-box;
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0;
  background: var(--sheet); color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 28px 60px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.nx-sdetail[open] .nx-sdetail__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.nx-sdetail__head > b { font-size: 15px; }
.nx-sdetail__wait { flex-basis: 100%; order: 3; font-size: 12px; color: var(--ink-3); }
.nx-sdetail[open] .nx-sdetail__x { display: inline-grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font-size: 22px; cursor: pointer; }
.nx-sdetail__main { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 10px 14px; padding: 14px 18px; }
.nx-sdetail[open] .nx-sdetail__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.nx-sdetail__foot .nx-btn { min-height: 40px; border-radius: 6px; font-size: 13.5px; }
.nx-sdetail__foot [data-sdetail-go] { background: var(--ink); color: var(--paper); }
.nx-sdetail__body .nx-sdetail__prefs { max-height: none; }
/* 会員の項目（言葉・地域・…）: 左に見出しの列、右に選んだ項目 */
/* 項目を切り替えても窓の大きさが変わらないよう、会員の窓は高さを決める */
.nx-sdetail[open] > .nx-sdetail__body:has(.has-tabs) { height: min(600px, calc(100vh - 64px)); }
.nx-sdetail__main.has-tabs { display: grid; grid-template-columns: 168px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
.nx-sdetail__main.has-tabs .nx-rich-fields { align-content: flex-start; }
.nx-sdetail__tabs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; overflow: auto; border-right: 1px solid var(--line); background: var(--sheet-2); }
.nx-sdetail__tabs button { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.nx-sdetail__tabs button[aria-current="true"] { background: var(--sheet); color: var(--ink); font-weight: 800; box-shadow: 0 0 0 1px var(--line); }
.nx-sdetail__tabs button i { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none; }
.nx-sdetail__main.has-tabs > .nx-rich-group { grid-column: 2; grid-row: 1; border-top: 0; overflow: auto; padding: 6px 18px 14px; }
.nx-sdetail__main.has-tabs > .nx-rich-group:not([open]) { display: none; }
.nx-sdetail__main.has-tabs > .nx-rich-group > summary { display: none; }
html:has(.nx-sdetail[open]) { overflow: hidden; }
.nx-sdetail__body select, .nx-sdetail__body input:not([type=checkbox]):not([type=radio]) { height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--sheet); color: var(--ink); font: inherit; font-size: 13px; box-sizing: border-box; }
@media (hover: hover) {
  .nx-sdetail__tabs button:hover { color: var(--ink); background: rgba(127, 127, 127, .1); }
  .nx-sdetail__x:hover { background: rgba(127, 127, 127, .12); }
}
@media (max-width: 720px) {
  .nx-sdetail[open] > .nx-sdetail__body { inset: 0; left: 0; top: 0; transform: none; width: 100%; height: 100%; max-height: none; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .nx-sdetail[open] > .nx-sdetail__body:has(.has-tabs) { height: 100%; }
  .nx-sdetail__main.has-tabs { display: block; overflow: auto; padding: 4px 14px 14px; }
  .nx-sdetail__tabs { display: none; }
  .nx-sdetail__main.has-tabs > .nx-rich-group { padding: 0; overflow: visible; border-top: 1px solid var(--line); }
  .nx-sdetail__main.has-tabs > .nx-rich-group:not([open]) { display: block; }
  .nx-sdetail__main.has-tabs > .nx-rich-group > summary { display: flex; }
  .nx-sdetail__foot .nx-btn { flex: 1; min-height: 44px; }
  .nx-sdetail[open] .nx-sdetail__x { width: 44px; height: 44px; }
}

/* 11/2 22:47: 検索語の欄（高さ 68px・角 18px）と「から」「まで」などの選択欄が大きすぎた（スマホで指摘・PC も同じ大きさ）。
   探すの帯（.nx-stool）と同じ詰めた形にそろえる。スマホの押せる高さは 44px 前後を保つ（台帳 10/23）。文字 16px は iPhone の拡大を防ぐため */
.nx-qbox:not(.nx-stool .nx-qbox) { gap: 8px; padding: 3px 3px 3px 14px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.nx-qbox:not(.nx-stool .nx-qbox):focus-within { box-shadow: 0 0 0 2px var(--acc-2), 0 0 0 5px rgba(20, 184, 166, .18); }
.nx-qbox:not(.nx-stool .nx-qbox) svg { width: 18px; height: 18px; }
.nx-qbox:not(.nx-stool .nx-qbox) input { height: 40px; font-size: 16px; }
.nx-qbox:not(.nx-stool .nx-qbox) .nx-qbox__go { height: 38px; min-height: 38px; padding: 0 18px; border-radius: 9px; font-size: 14px; box-shadow: none; }
.nx-flabel:not(.nx-stool .nx-flabel) select, .nx-flabel:not(.nx-stool .nx-flabel) input:not([type="checkbox"]) { height: 38px; border-radius: 9px; padding: 0 10px; }
@media (max-width: 760px) {
  .nx-qbox:not(.nx-stool .nx-qbox) { padding: 2px 2px 2px 12px; border-radius: 6px; }
  .nx-qbox:not(.nx-stool .nx-qbox) svg { width: 17px; height: 17px; }
  .nx-qbox:not(.nx-stool .nx-qbox) .nx-qbox__go { height: 40px; min-height: 40px; padding: 0 14px; border-radius: 6px; }
  .nx-flabel:not(.nx-stool .nx-flabel) { gap: 6px; font-size: 12px; }
  .nx-flabel:not(.nx-stool .nx-flabel) select, .nx-flabel:not(.nx-stool .nx-flabel) input:not([type="checkbox"]) { height: 40px; padding: 0 8px; font-size: 14px; border-radius: 6px; }
}
/* 11/3: 詳しい条件の窓の上段「トップに優先的に表示する条件」（AIおすすめ・こだわり条件）。窓の中の項目とは別に、いつも見える1行。見た目は上のタブ（.nx-seg2）と同じ */
.nx-sdetail__basis { display: none; }
.nx-sdetail[open] .nx-sdetail__basis { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 18px; border-bottom: 1px solid var(--line); }
.nx-sdetail__basis-h { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.nx-sdetail__basis .nx-seg2 label { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.nx-sdetail__basis .nx-seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.nx-sdetail__basis .nx-seg2 label:has(input:checked) { background: var(--sheet); color: var(--acc); box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(0,0,0,.3); }
.nx-sdetail__basis .nx-seg2 label:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 1px; }
@media (max-width: 760px) { .nx-sdetail__basis { padding: 8px 12px; } .nx-sdetail__basis .nx-seg2 label { height: 40px; border-radius: 6px; } }
/* 11/3: 無料の人の「この条件を保存（毎朝、新着をメールで）」。会員の保存の見出しと同じ見た目のリンク */
a.nx-savebox--anon { display: inline-flex; font-size: 13px; font-weight: 800; color: var(--acc); text-decoration: none; }
@media (hover: hover) { a.nx-savebox--anon:hover { text-decoration: underline; } }
.nx-sdetail__words .nx-flabel input { width: 12em; max-width: 100%; }
@media (max-width: 760px) { .nx-sdetail__words .nx-flabel { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: center; width: 100%; } .nx-sdetail__words .nx-flabel > input { width: 100%; min-width: 0; } }
/* 11/4: 詳しい条件の「等級（いくつでも）」。A〜E の後ろの「等級の書いていない案件を除く」は1行に */
.nx-sdetail__grade .nx-sdetail__grade-only { flex-basis: 100%; }
/* 11/4: スマホの案件の概要（状況・入札方式・地域・日付・金額）は、2列のカードをやめ、外枠1つの表に1行ずつ（左に項目・右に中身） */
@media (max-width: 760px) {
  .nx-keyline { display: block; margin-top: 16px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line) inset; background: rgba(255, 255, 255, .6); overflow: hidden; }
  .nx-keyline__i { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); align-items: baseline; column-gap: 12px; min-width: 0; max-width: none;
    padding: 10px 14px; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
  .nx-keyline__i:first-child { border-top: 0; }
  .nx-keyline__i.is-ok, .nx-keyline__i.is-warn, .nx-keyline__i.is-past, .nx-keyline__i.is-info { background: none; box-shadow: none; }
  .nx-keyline dt { font-size: 13px; }
  .nx-keyline dd b { font-size: 16px; }
  .nx-keyline__i.is-info dd b, .nx-keyline__i.is-money dd b { font-size: 15px; }
  .nx-keyline dd small, .nx-keyline__i.is-info dd small { display: inline-block; margin-left: 6px; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-keyline { background: rgba(255, 255, 255, .04); } :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-ok, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-warn, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-past, :where(:root:not([data-scheme="light"])) .nx-keyline__i.is-info { background: none; box-shadow: none; } } /* scheme-mirror */ @media (max-width: 760px) { :where(:root[data-scheme="dark"]) .nx-keyline { background: rgba(255, 255, 255, .04); } :where(:root[data-scheme="dark"]) .nx-keyline__i.is-ok, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-warn, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-past, :where(:root[data-scheme="dark"]) .nx-keyline__i.is-info { background: none; box-shadow: none; } }
/* 最終更新の日付（11/5）。見出しの下・件数の行に小さく。_updated.html の upd() */
.nx-upd { display: inline-block; font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; white-space: nowrap; }
.nx-shead h1 + .nx-upd { display: block; margin-top: 4px; }
.nx-countline .nx-upd { margin-left: auto; margin-right: 10px; }
.nx-upds { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 4px 0 0; }
.nx-hm { margin-left: .2em; }
/* 11/5: 詳しい条件の「業種（いくつでも）」。物品・役務の畳みは1行ずつ、中の品目は横に並べる */
.nx-sdetail__ind .nx-sdetail__indg { flex-basis: 100%; }
.nx-sdetail__prefs.nx-sdetail__ind { max-height: none; }   /* 畳みを開いたら全部見える（地域は 120px で中を送る） */
.nx-sdetail__indg > summary { cursor: pointer; font-weight: 700; padding: 6px 0; min-height: 32px; }
.nx-sdetail__indl { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 2px 0 8px; }
.nx-sdetail__ind .nx-sdetail__ind-only { flex-basis: 100%; }
.nx-rich-ind__g { flex-basis: 100%; margin: 6px 0 0; font-size: 12px; font-weight: 800; color: var(--ink-3); }
/* 主なページの上の数字（11/5）。見出しの下に1行で小さく。_facts.html */
.nx-datastrip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.nx-datastrip a { color: inherit; text-decoration: none; white-space: nowrap; }
.nx-datastrip a b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.nx-datastrip > span { display: inline-flex; flex-wrap: wrap; gap: 0 10px; }
@media (hover: hover) { .nx-datastrip a:hover { text-decoration: underline; } }
/* ご意見・ご要望（11/5）。/next/feedback の書く欄と公開の一覧。入口は左の扉の中（guide/door.css の gh-dpanel） */
.nx-fbk { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.nx-fbk__h { margin: 4px 0 0; }
.nx-fbk__form { display: grid; gap: 8px; padding: 14px 16px; border-radius: 10px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-fbk__say { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--ink-2); }
.nx-fbk__say .nx-pol__face { width: 34px; height: 34px; flex: none; }
.nx-fbk__form textarea { width: 100%; box-sizing: border-box; min-height: 110px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 15px; background: var(--paper, #fff); color: var(--ink); resize: vertical; }
.nx-fbk__note { margin: 0; font-size: 12px; color: var(--ink-3); }
.nx-fbk__err { margin: 0; font-size: 13px; color: var(--warn); }
.nx-fbk__ok { margin: 0; font-size: 13px; font-weight: 700; color: var(--acc); }
.nx-fbk__go { justify-self: end; min-height: 44px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--acc); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.nx-fbk__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-fbk__h2 { margin: 10px 0 0; font-size: 17px; }
.nx-fbk__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-radius: 10px; box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; background: var(--sheet); }
.nx-fbk__item { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 10px 14px; border-top: 1px solid var(--line); }
.nx-fbk__item:first-child { border-top: 0; }
.nx-fbk__st { grid-row: span 2; justify-self: start; font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: var(--sheet-2); color: var(--ink-2); }
.nx-fbk__st[data-s="doing"] { background: #fff4e0; color: #9a4a08; }
.nx-fbk__st[data-s="done"] { background: #e3f4ee; color: #0f766e; }
.nx-fbk__t { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.nx-fbk__n { margin: 0; font-size: 12.5px; color: var(--ink-3); }
/* 11/7: パンくずが上の帯に隠れていた（お知らせ・ご意見）。ほかの画面と同じ上の余白に。入力欄は問い合わせの欄と同じ地の色 */
.nx-fbk, .nx-opnews { padding-top: 88px; }
@media (max-width: 760px) { .nx-fbk, .nx-opnews { padding-top: 68px; } }
.nx-fbk__form textarea { background: var(--sheet); }
/* 発注機関・落札企業の一覧の詳しい条件（11/5）。探すと同じ窓。並び替え・分野・時期などの短い選択肢は枠の高さを決めない */
.nx-dirform .nx-sfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.nx-dirf:not(.nx-dirf--pref) { max-height: none; }
/* 一覧の期間（11/5 午後）: 期間の選択の下にカレンダー（日付を指定） */
.nx-dirf__dates { flex-basis: 100%; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nx-dirf__dates input { font: inherit; font-size: 14px; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper, #fff); color: var(--ink); min-height: 36px; }

/* 11/8 ホームの上: 件数はテープで留めたメモの紙・お知らせは黒板（木枠なし）・検索の欄は今の見た目のまま。
   PC は検索の欄を左の列（時計・メモ・黒板）の右に置き、黒板と下の線をそろえる（列島は next.js が検索の欄の上で止める） */
.nx-hero2__new { margin: 6px 0 16px; }
.nx-hero2__new a { position: relative; align-items: baseline; padding: 16px 22px 12px 18px; color: #3d3020; text-shadow: none;
  background: repeating-linear-gradient(transparent 0 25px, rgba(70, 100, 160, .16) 25px 26px), linear-gradient(165deg, #fbf6e6, #efe5c9);
  border-radius: 2px 2px 2px 14px; transform: rotate(-1.6deg); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .75), 0 0 0 1px rgba(120, 100, 60, .25); }
.nx-hero2__new a::before { content: ""; position: absolute; top: -10px; left: 50%; width: 74px; height: 22px; margin-left: -37px; transform: rotate(4deg);
  background: rgba(236, 226, 196, .62); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }   /* 留めのテープ */
.nx-hero2__new b { color: #c8372d; -webkit-text-fill-color: #c8372d; background: none; font-size: clamp(42px, 4.2vw, 70px); }
.nx-hero2__new small { color: #3d3020; }
/* 11/14 スマホで札が大きすぎた: 紙・数字・テープを小さく */
@media (max-width: 760px) {
  .nx-hero2__new { margin: 4px 0 10px; }
  .nx-hero2__new a { gap: 6px; padding: 9px 14px 6px 12px; font-size: 13px; border-radius: 2px 2px 2px 10px; }
  .nx-hero2__new a::before { top: -7px; width: 52px; height: 15px; margin-left: -26px; }
  .nx-hero2__new b { font-size: 30px; }
  .nx-hero2__new small { font-size: 13px; }
}
.nx-hnews { margin-top: 14px; border: 0; border-radius: 6px; color: #eef1ea; text-shadow: 0 0 1px rgba(255, 255, 255, .35);
  background: radial-gradient(ellipse 60% 40% at 30% 30%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 50% 50% at 80% 75%, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #2f4b3c, #263f32 60%, #22392d);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), inset 0 2px 10px rgba(0, 0, 0, .35), 0 14px 28px -14px rgba(0, 0, 0, .85); }
.nx-hnews h2 { color: #f6f7f0; font-size: 16px; letter-spacing: .12em; }
.nx-hnews header a { color: #bfe3f2; }
.nx-hnews__list a { color: #eef1ea; }
.nx-hnews__k, .nx-hnews__m { color: #c9d4c6; }
.nx-hnews__k.is-op { color: #f6e08a; }
.nx-hnews__k.is-hot { color: #f6b3bf; }
@media (hover: hover) { .nx-hnews__list a:hover { background: rgba(255, 255, 255, .07); } }
@media (min-width: 1101px) {
  .nx-hero2:has(.nx-hnews) > .nx-cmd--herobot { position: absolute; margin: 0; transform: none; bottom: 28px;
    left: calc(var(--stage-g) + min(520px, 36vw) + 28px); width: min(620px, calc(100vw - 2 * var(--stage-g) - min(520px, 36vw) - 28px)); }
}

/* 今月の傾向（発注機関・企業のページ。月ごとの短い文章。本文は読みやすさ優先で 16px・行送り 1.9・1行 40字前後） */
.nh-month { margin: 16px 0 18px; padding: 16px 20px 6px; background: var(--sheet); border-radius: var(--r-read, 10px); box-shadow: 0 0 0 1px var(--line); border-left: 4px solid var(--sky); }
.nh-month__h { margin: 0 0 8px; font-size: 16px; }
.nh-month__h small { margin-left: 2px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.nh-month p { max-width: 42em; margin: 0 0 10px; font-size: 16px; line-height: 1.9; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 760px) { .nh-month { margin: 12px 0 14px; padding: 14px 14px 4px; } .nh-month p { font-size: 16px; line-height: 1.85; } }
/* 11/15 PC で枠が全幅なのに文が 42em で止まり左半分に寄っていた → 広い画面は2段に組んで枠を埋める（1行の長さは読みやすいまま） */
@media (min-width: 1100px) {
  .nh-month { column-count: 2; column-gap: 48px; column-rule: 1px solid var(--line); }
  .nh-month__h { column-span: all; }
  .nh-month p { max-width: none; break-inside: avoid-column; }
}

/* 案件ページの発注者まわり（発注者名のリンク・この発注元の過去の案件・よく落札する会社） */
.nx-b-brief__org a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { .nx-b-brief__org a:hover { color: var(--sky); } }
.nx-orgpast { margin: 18px 0; padding: 14px 18px 12px; background: var(--sheet); border-radius: var(--r-read, 10px); box-shadow: 0 0 0 1px var(--line); }
.nx-orgpast__h { margin: 0 0 6px; font-size: 16px; }
.nx-orgpast__h small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.nx-orgpast__list { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.nx-orgpast__list li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.nx-orgpast__list a, .nx-orgpast__list span { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.nx-orgpast__list small { flex: none; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.nx-orgtop__list { counter-reset: nxtop; }
.nx-orgtop__list li::before { counter-increment: nxtop; content: counter(nxtop); flex: none; width: 1.4em; color: var(--ink-3); font-size: 13px; }
.nx-orgtop__list li > a, .nx-orgtop__list li > span { flex: 1; }
@media (max-width: 760px) { .nx-orgpast { padding: 12px 14px 10px; } .nx-orgpast__list li { flex-wrap: wrap; gap: 2px 10px; } .nx-orgpast__list small { white-space: normal; } }

/* 案件ページの発注者名の下の行き先（発注機関のページ・落札企業のページ。無ければ「収録なし」） */
.nx-b-brief__pages { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.nx-b-brief__pages span { min-width: 0; overflow-wrap: anywhere; }
.nx-b-brief__pages a { color: var(--sky); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nx-b-brief__pages em { font-style: normal; }

/* 扱う案件の種類と仕事の中身の食い違いの案内（1行）と、分野の外ですが仕事の言葉が合う工事の一覧（自社に合うの後ろ） */
.nx-kindhint { margin: 0 0 10px; padding: 7px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--ink-2); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.nx-kindhint .nx-link { font-weight: 700; white-space: nowrap; }
.nx-outfield { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.nx-outfield__h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--ink); }
.nx-outfield__h small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.nx-perk.is-warn { background: var(--warn-soft); color: var(--warn); }

/* 11/13 案件ページの冒頭の事実の1文（画面が組み上がると .nx-ssr ごと隠れる。要点の dl と同じ並びの上に置く） */
.nx-ssr__lead{margin:0 0 .75rem;line-height:1.8}
/* 11/13 案件のパンくずの真ん中の段（発注機関）。長い名前でも1行に収め、… で切る（スマホは1行のパンくず。10/25） */
.nx-case__meta .nx-crumbs .nx-crumbs__org{flex:0 1 auto;min-width:0;max-width:22em;overflow:hidden}
.nx-crumbs__org > span{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media (max-width: 760px){.nx-case__meta .nx-crumbs .nx-crumbs__org{max-width:none}}

/* 11/15 広い PC では一覧・表・分析の画面を横に広げる（両側の余白がもったいない）。
   文章を読む画面（手引き・料金・紹介・案件の詳しい画面・狭い器）は今の幅のまま。スマホは変わらない */
@media (min-width: 1240px) {
  .nx-bar { width: min(1440px, calc(100vw - 64px)); }
  .nh-page:not(.nh-page--narrow):not(.nx-price):not(.nxt-page),
  .nx-searchpage, .nx-judge, .nx-mepage,
  .nx-feed, .nx-kinds, .nx-watch, .nx-foot { width: min(1440px, calc(100% - 64px)); }
  .nx-deck-hero__inner, .nx-corner, .nx-deck-hero[data-top] .nx-corner { width: min(1440px, 100%); }
}

/* 11/15 一覧で選んでいる行は紺（検討中・準備中の青緑の行と見分ける）。押した後のボタンは段ごとの色: 検討中=青緑・準備中=琥珀・結果待ち=緑 */
.nx-srow[aria-current="true"] { background: color-mix(in srgb, #1f3f7a 16%, var(--sheet)); }
.nx-srow[aria-current="true"]::after { background: #1f3f7a; width: 5px; }
.nx-cs__b.is-adopt[aria-pressed="true"][data-st="prepare"] { background: #b0620c; color: #fff; }
.nx-cs__b.is-adopt[aria-pressed="true"][data-st="submitted"] { background: #2e7d32; color: #fff; }
/* 11/15 タスク管理の作成の進み具合は右上へ（右下は気づかれにくかった）。上の帯の下に出す */
.nx-tcrun { top: 84px; bottom: auto; }
@media (max-width: 760px) { .nx-tcrun { top: calc(12px + env(safe-area-inset-top)); bottom: auto; } }

.nx-src--text { cursor: default; }
.nx-src--text code { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; overflow-wrap: anywhere; user-select: all; }

/* 11/15 要約なしの指名競争: 公告の項目は値の改行をそのまま（1行1項目） */
.nx-facts--lines dd > span:first-child { white-space: pre-line; overflow-wrap: anywhere; }
/* 11/15 意見招請・資料提供招請の提出の期限（「あとN日」は締切の札と同じ区切り） */
.nx-mk.is-iken b { margin-left: 5px; padding-left: 5px; border-left: 1px solid currentColor; font-weight: 900; }

/* 11/15 入札予定（発注の見通し）。探すと同じ二段（左に一覧・右に読む欄）。色は既存の言葉（--sheet・--line）だけ */
.nx-yt { display: grid; gap: 14px; width: min(1376px, calc(100% - 32px)); margin: 0 auto; padding: 104px 0 120px; }   /* 探すと同じ外枠 */
.nx-yt-tabs + .nx-yt-f { margin-top: -14px; border-top-left-radius: 0; }
.nx-yt-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.nx-yt-tabs a { padding: 9px 16px; border-radius: 12px 12px 0 0; background: var(--sheet-2); color: var(--ink-2); font-weight: 800; text-decoration: none; }
.nx-yt-tabs a[aria-current="page"] { background: var(--sheet); color: var(--ink); box-shadow: 0 -2px 0 var(--ok) inset; }
.nx-yt-tabs small { font-weight: 600; color: var(--ink-3); margin-left: 4px; font-variant-numeric: tabular-nums; }
.nx-yt-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; }
.nx-yt-f input[type="search"] { flex: 1 1 260px; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.nx-yt-f select { height: 38px; max-width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 0 8px; }
.nx-yt-f__c { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); }
.nx-yt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.nx-yt-list, .nx-yt-pane { min-width: 0; border-radius: 18px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line) inset; padding: 14px; }
.nx-yt-pane { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.nx-yt-list__n { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 2px 4px 8px; color: var(--ink-2); font-size: 13px; }
.nx-yt-list__n b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.nx-yt-list__n span { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.nx-yt-list__h { margin: 14px 4px 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 800; }
.nx-yt-rows { list-style: none; margin: 0; padding: 0; }
.nx-yt-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 11px 10px; border-radius: 12px; color: inherit; text-decoration: none; }
.nx-yt-rows li + li .nx-yt-row { box-shadow: 0 -1px 0 var(--line); }
@media (hover: hover) { .nx-yt-row:hover { background: var(--sheet-2); } }
.nx-yt-row.is-on { background: var(--sheet-2); box-shadow: 3px 0 0 var(--ink) inset; }
.nx-yt-row__when { display: grid; align-content: start; gap: 2px; font-size: 13px; }
.nx-yt-row__when small { font-size: 11px; color: var(--ink-3); }
.nx-yt-row__main { display: grid; gap: 3px; min-width: 0; }
.nx-yt-row__t { font-weight: 800; overflow-wrap: anywhere; }
.nx-yt-row__o { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.nx-mk.is-yt-linked { color: var(--ok); background: var(--ok-soft); }
.nx-yt-pane__empty { margin: 40px 8px; text-align: center; color: var(--ink-3); }
.nx-yt-d { display: grid; gap: 10px; }
.nx-yt-d__k { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.nx-yt-d__t { margin: 0; font-size: 20px; line-height: 1.4; text-wrap: balance; overflow-wrap: anywhere; }
.nx-yt-d__o { margin: 0; color: var(--ink-2); }
.nx-yt-d__linked { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); }
.nx-yt-d__done { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--sheet-2); color: var(--ink-2); }
.nx-yt-org { margin: 8px 4px 0; font-size: 13px; color: var(--ink-2); }
.nx-yt-org a { margin-left: 8px; }
.nx-yt-d__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 4px 0 0; }
.nx-yt-d__g dt { font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.nx-yt-d__g dd { margin: 2px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.nx-yt-d__g dd small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.nx-yt-d__mv { margin: 0; font-size: 13px; color: var(--ink-2); }
.nx-yt-d__sib { padding: 10px 12px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; }
.nx-yt-d__sib h3 { margin: 0 0 6px; font-size: 13px; }
.nx-yt-d__sib ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 13px; }
.nx-yt-d__sib small { color: var(--ink-3); margin-left: 4px; }
.nx-yt-d__note, .nx-yt-d__src { margin: 0; font-size: 12px; color: var(--ink-3); }
.nx-yt--one .nx-yt-pane { position: static; max-height: none; max-width: 860px; }
@media (max-width: 900px) {
  .nx-yt-cols { grid-template-columns: minmax(0, 1fr); }
  .nx-yt-cols > .nx-yt-pane { display: none; }
  .nx-yt-d__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-yt-row { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
}
.nx-yt-pg { display: flex; justify-content: space-between; gap: 12px; margin: 12px 4px 0; font-weight: 700; }
.nx-searchpage > .nx-yt-tabs { margin-bottom: 6px; }

/* 11/16 探す: 指名競争・意見招請などを含める/除くのボタン（絞り込みを開かずに選ぶ）と、上の並びへ移した「さらに詳しく」 */
.nx-kindtg { display: inline-flex; gap: 6px; flex: none; }
.nx-kindtg__b { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 12.5px var(--f-jp); color: var(--ink); background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-kindtg__b small { font-size: 11px; font-weight: 800; color: var(--acc); }
.nx-kindtg__b[aria-pressed="false"] { color: var(--ink-3); background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }
.nx-kindtg__b[aria-pressed="false"] small { color: var(--bad); }
.nx-stool__row:not(.nx-stool__row--f) > .nx-sdetail { flex-basis: auto; }
.nx-stool__row:not(.nx-stool__row--f) > .nx-sdetail > summary { height: 32px; padding: 0 10px; border-radius: 8px; color: var(--acc); background: var(--acc-soft); }

/* 11/16 決定: 下のメニューが背景に溶け込んで分かりにくい → 紺の帯に白い字（上の「始める」と同じ系統）。
   暗いモードは逆に明るい帯に濃い字。今の画面は白（暗いモードは緑）の字と上の線。軽い表示（nx-lite）でも同じ */
@media (max-width: 760px) {
  html .nx-tabbar.nx-tabbar { background: #1c2f5a !important; border-color: transparent !important; box-shadow: 0 -6px 18px -10px rgba(0, 0, 0, .35) !important; }
  html .nx-tabbar > a, html .nx-tabbar__more > summary { color: rgba(255, 255, 255, .8); }
  html .nx-tabbar [aria-current="page"], html .nx-tabbar__more[open] > summary { color: #fff; }
  html .nx-tabbar [aria-current="page"]::before { background: #fff; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  html:where(:not([data-scheme="light"])) .nx-tabbar.nx-tabbar { background: #e9e3d6 !important; }
  html:where(:not([data-scheme="light"])) .nx-tabbar > a, html:where(:not([data-scheme="light"])) .nx-tabbar__more > summary { color: #3d382f; }
  html:where(:not([data-scheme="light"])) .nx-tabbar [aria-current="page"], html:where(:not([data-scheme="light"])) .nx-tabbar__more[open] > summary { color: #0f6b62; }
  html:where(:not([data-scheme="light"])) .nx-tabbar [aria-current="page"]::before { background: #0f6b62; }
} /* scheme-mirror */ @media (max-width: 760px) {
  html:where([data-scheme="dark"]) .nx-tabbar.nx-tabbar { background: #e9e3d6 !important; }
  html:where([data-scheme="dark"]) .nx-tabbar > a, html:where([data-scheme="dark"]) .nx-tabbar__more > summary { color: #3d382f; }
  html:where([data-scheme="dark"]) .nx-tabbar [aria-current="page"], html:where([data-scheme="dark"]) .nx-tabbar__more[open] > summary { color: #0f6b62; }
  html:where([data-scheme="dark"]) .nx-tabbar [aria-current="page"]::before { background: #0f6b62; }
}

/* 11/16 検索の「すべて含む／どれかを含む」（語が2つ以上のときだけ出る） */
.nx-qmode { display: inline-flex; flex: none; padding: 3px; gap: 2px; border-radius: 999px; background: var(--sheet-2); box-shadow: 0 0 0 1px var(--line-2) inset; }
.nx-qmode label { position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.nx-qmode input { position: absolute; opacity: 0; pointer-events: none; }
.nx-qmode label:has(input:checked) { color: var(--acc); background: var(--sheet); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.nx-qmode label:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 1px; }
@media (max-width: 760px) {
  /* スマホは検索窓の下に1行で（絞り込み・本・?・さらに詳しくの並びを2行に割らない） */
  .nx-stool__row > .nx-qmode { flex: 1 1 100%; }
  .nx-qmode label { flex: 1; justify-content: center; height: 32px; }
}

/* 11/16 登録画面: お試しの後の説明は枠なしの普通の文（上の流れと同じ字体） */
.nx-flow4__note { margin: 12px 2px 0; font-size: 14px; font-weight: 500; line-height: 1.8; color: var(--ink-2); }

/* 11/16 探す（PC）: 1段目＝検索窓・?・さらに詳しく、2段目＝すべて/どれか・範囲・指名競争・意見招請（等間隔）。スマホは今のまま */
.nx-stool__br { display: none; }
@media (min-width: 761px) {
  .nx-stool__row > .nx-stool__br { display: block; flex-basis: 100%; height: 0; }
  .nx-stool__row:not(.nx-stool__row--f) { column-gap: 12px; }
}

/* 11/16 発注機関・落札企業の一覧で、フォローしている行の名前の横に小さな印 */
.nx-fol { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; color: var(--acc); background: var(--acc-soft); vertical-align: 2px; white-space: nowrap; }

/* 11/16 決定: 鮮やかな赤をやめる。ホームの「直近7日の合いそう」の件数は紺、はじめにやることの吹き出し・印・帯は紫（夜空と紙の雰囲気に合わせる）。
   11/17 決定: 紫は変なので濃いピンク（赤紫寄り・見本 B #b8326e）に */
.nx-hero2__new b { color: #22386b; -webkit-text-fill-color: #22386b; }
.nx-setupbub { background: #b8326e; }
.nx-setupdot { background: #b8326e !important; }
.nx-dash > .nx-dash__todo { --todo-ink: #7a1d47; --todo-sub: #b4497a; --todo-line: rgba(184, 50, 110, .18); --todo-btnline: #d27aa0; --todo-red: #b8326e; --todo-rib: linear-gradient(#c93d7c, #9c2a5d); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-scheme="light"])) .nx-dash > .nx-dash__todo { --todo-bg: #331f2a; --todo-ink: #ffe0ec; --todo-sub: #f0b3cc; --todo-line: rgba(240, 140, 180, .22); --todo-btnline: #d07aa0; --todo-red: #b03a70; } } /* scheme-mirror */ @media all { :where(:root[data-scheme="dark"]) .nx-dash > .nx-dash__todo { --todo-bg: #331f2a; --todo-ink: #ffe0ec; --todo-sub: #f0b3cc; --todo-line: rgba(240, 140, 180, .22); --todo-btnline: #d07aa0; --todo-red: #b03a70; } }

/* 11/16 入札予定の中の切り替え（公表された予定｜過去からの見込み） */
.nx-stool .nx-plsub, .nx-plsub { display: inline-flex; width: max-content; max-width: 100%; margin: 10px 0 4px; }
.nx-plsub small { margin-left: 4px; font-size: 10.5px; color: var(--ink-3); }

/* 11/16 夜 決定: 品目の一覧（要約なし）。札と案件ページの表 */
.nx-mk.is-items { color: var(--ink-2); background: transparent; box-shadow: 0 0 0 1px var(--line) inset; }
.nx-itbl__note { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.nx-itbl__wrap { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.nx-itbl__t { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.nx-itbl__t th, .nx-itbl__t td { padding: 5px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.nx-itbl__t th { position: sticky; top: 0; background: var(--paper, var(--bg)); color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.nx-itbl__t td:first-child, .nx-itbl__t td:nth-child(4), .nx-itbl__t td:nth-child(5) { white-space: nowrap; }
.nx-itbl__t td:nth-child(5) { text-align: right; }
.nx-itbl__t td:nth-child(2) { min-width: 7.5em; }
.nx-itbl__t td:nth-child(3) { min-width: 9em; }

/* 11/17 決定: 探す（PC）の検索窓が長すぎる → 半分ほど（最大 600px）。右の「?」「さらに詳しく」は窓のすぐ横に並ぶ。スマホ（760px 以下）は全幅のまま */
@media (min-width: 761px) { .nx-searchpage .nx-stool .nx-stool__row:not(.nx-stool__row--f) > .nx-qbox { flex: 0 1 600px; max-width: 600px; } }
