/* 起動画面: 薄い青の背景に白い紙を1枚置いた形(1ページ目・2ページ目とも同じ) */
:root {
  --bg: #e6f0fa; --sheet: #ffffff; --text: #1d2a3a; --sub: #5a6878; --line: #cfdbe8;
  --accent: #1f4fae; --accent-soft: #e8f0fc; --gold: #b8924a; --ok: #2f7d4f;
  --font: "BIZ UDPGothic", "BIZ UDPゴシック", "Yu Gothic UI", "Meiryo", "Hiragino Sans", system-ui, sans-serif;   /* 0.5.17 画面の字体は BIZ UDPゴシック */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #142030; --sheet: #1b2838; --text: #e6edf5; --sub: #9fb0c3; --line: #2c3d52; --accent: #8fb3f0; --accent-soft: #22344c; --gold: #d6b26e; --ok: #6fc394; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #142030; --sheet: #1b2838; --text: #e6edf5; --sub: #9fb0c3; --line: #2c3d52; --accent: #8fb3f0; --accent-soft: #22344c; --gold: #d6b26e; --ok: #6fc394; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-family: var(--font); line-height: 1.6; }

.page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.sheet { width: min(860px, 100%); padding: 36px 32px 28px; border-radius: 18px; background: var(--sheet); box-shadow: 0 10px 30px rgba(30,70,120,.10); }
.question { margin: 0 0 24px; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: .04em; text-wrap: balance; }
.brand { margin: 28px 0 0; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.brand.small { font-size: 14px; margin-top: 20px; color: var(--sub); }

/* 1ページ目 */
.companies { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 24px; }
.company { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 16px 20px; border: 2px solid var(--line); border-radius: 16px;
  background: var(--sheet); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.company:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgba(31,79,174,.15); transform: translateY(-2px); }
.company:focus-visible, .app:focus-within, .go:focus-visible, .current:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.company .logo-box { width: 160px; height: 160px; display: grid; place-items: center; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #e3e8ef; }
.company img { max-width: 100%; max-height: 100%; }
.company .cname { font-size: 18px; font-weight: 700; }
.company .last { font-size: 12px; color: var(--sub); }

/* 2ページ目 */
.bar { display: flex; align-items: center; gap: 12px; margin: -12px 0 18px; }
.current { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--sheet); color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.current:hover { border-color: var(--accent); }
.current img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.current .sw { color: var(--accent); font-size: 12px; }
.link { margin-left: auto; border: 0; background: none; color: var(--sub); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 640px) { .apps { grid-template-columns: 1fr; } }
.app { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-width: 0; }
.app:hover { border-color: var(--accent); }
.app.on { border-color: var(--accent); background: var(--accent-soft); }
/* いちばん大事な機能(顧客管理)は赤枠で、横いっぱいに置く */
.app.featured { grid-column: 1 / -1; border: 3px solid #c0392b; padding: 16px 18px; box-shadow: 0 4px 14px rgba(192,57,43,.14); }
.app.featured:hover { border-color: #a52f23; }
.app.featured .appicon { width: 56px; height: 56px; }
.app.featured .app-name { font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app.featured .app-sub { font-size: 13px; }
.featured-top { margin: 0 0 16px; }
.featured-top .app.featured { width: 100%; }
@media (max-width: 1099px) { .apps .app.featured { display: none; } }
@media (min-width: 1100px) { .featured-top { display: none; } }
.featured-tag { font-size: 11.5px; font-weight: 700; color: #fff; background: #c0392b; border-radius: 99px; padding: 1px 9px; letter-spacing: .04em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.featured { border-color: #e2685c; } :root:not([data-theme="light"]) .featured-tag { background: #b8473b; } }
:root[data-theme="dark"] .app.featured { border-color: #e2685c; }
.app.off { cursor: default; opacity: .55; }
.app.off.missing { cursor: pointer; }
.app.off.missing:hover { opacity: .8; }
.app input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.appicon { width: 44px; height: 44px; flex: none; border-radius: 10px; }
.mark { width: 36px; height: 36px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; }
.app-text { display: flex; flex-direction: column; min-width: 0; }
.app-name { font-weight: 700; font-size: 15.5px; }
.app-sub { font-size: 12px; color: var(--sub); }
.hint { margin: 14px 0 0; font-size: 12.5px; color: var(--sub); text-align: center; }
.go-row { display: flex; justify-content: center; margin-top: 18px; }
.go { min-width: 260px; height: 50px; padding: 0 28px; border: 2px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.go:disabled { background: var(--sheet); color: var(--sub); border-color: var(--line); cursor: default; }

/* 共通部品 */
.btn { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.badge { display: inline-block; white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--sub); font-size: 12px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; text-align: center; border: 2px dashed var(--line); border-radius: 12px; color: var(--sub); font-size: 13px; }
.drop b { color: var(--text); }
.vlist { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13.5px; }
.vlist li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.vlist .grow { flex: 1; min-width: 0; }
.vlist li.small { display: block; color: var(--sub); font-size: 12.5px; }
.overlay { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(20,40,70,.55); color: #fff; text-align: center; }
.overlay div { display: flex; flex-direction: column; gap: 6px; padding: 28px 36px; border: 2px dashed #fff; border-radius: 16px; }
.modal-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.4); }
.modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 20px; border-radius: 14px; background: var(--sheet); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.modal h3 { margin: 0 0 12px; font-size: 17px; }
.modal ul { margin: 6px 0 0; padding-left: 20px; }
.modal .note { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); font-size: 13px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); padding: 10px 16px; border-radius: 10px; background: #222; color: #fff; font-size: 14px; }
.errbar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55; display: flex; flex-direction: column; gap: 4px; max-width: 760px; margin: 0 auto; padding: 12px 16px; border-radius: 10px; background: #fdf0ec; color: #7a2a15; border: 1px solid #e3b4a4; font-size: 13px; }
.errbar .muted { color: #8a5a4a; font-size: 12px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .company { transition: none; } .company:hover { transform: none; } }
@media (max-width: 560px) { .companies { gap: 12px; } .company { padding: 16px 8px 14px; gap: 10px; } .company .logo-box { width: 100%; max-width: 110px; height: auto; aspect-ratio: 1; padding: 10px; } .company .cname { font-size: 13px; word-break: keep-all; overflow-wrap: anywhere; } .sheet { padding: 28px 16px 22px; } }
.link, .current .sw { white-space: nowrap; }
.current { min-width: 0; }
.current b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .current { font-size: 12px; gap: 6px; } .current img { width: 24px; height: 24px; } .bar { gap: 8px; } }

/* データの書き出し・読み込み */
.bar .link + .link { margin-left: 12px; }
.modal .dlist { list-style: none; margin: 10px 0 0; padding: 0; }
.dlist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dlist li.none { color: var(--sub); }
.dlist input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.dlist img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.dlist .grow { flex: 1; min-width: 0; }
.dlist .sz { font-size: 12px; color: var(--sub); white-space: nowrap; }
.dchoice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dchoice button { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.dchoice button:hover { border-color: var(--accent); }
.dchoice b { font-size: 15px; } .dchoice span { font-size: 12.5px; color: var(--sub); }
.dprog { margin: 12px 0 0; font-size: 13px; color: var(--sub); }
@media (max-width: 560px) { .dchoice { grid-template-columns: 1fr; } .bar .link + .link { margin-left: 8px; } }

/* ===== ブラウザ版で足した部品 ===== */
.page.top { align-items: start; }
.who { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--sub); white-space: nowrap; }
.who button { border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); color: var(--text); font: inherit; font-size: 12.5px; padding: 3px 10px; cursor: pointer; }
.who button:hover { border-color: var(--accent); }
.who a { color: var(--sub); }
.app.soon { cursor: default; opacity: .5; }
.app .soonbadge { margin-left: auto; flex: none; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--sub); white-space: nowrap; }

.notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--sheet)); font-size: 13.5px; }
.notice h2 { margin: 0 0 6px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.notice h2 .ver { font-weight: 400; color: var(--sub); font-size: 12px; }
.notice ul { margin: 0; padding-left: 20px; }
.notice .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

.search { position: relative; margin: 0 0 18px; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--text); font: inherit; font-size: 15px; }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.search::before { content: "🔍"; position: absolute; left: 12px; top: 11px; font-size: 15px; opacity: .6; }
.results { list-style: none; margin: -8px 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.results li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.results li:first-child { border-top: 0; }
.results li:hover { background: var(--accent-soft); }
.results li.none { cursor: default; color: var(--sub); font-size: 13px; }
.results li.none:hover { background: none; }
.results img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.r-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.r-title { font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-sub { font-size: 12px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sh { display: inline-block; white-space: nowrap; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; border: 1px solid var(--line); color: var(--sub); }
.sh.view { border-color: #6a8fd0; color: #2b5bb0; background: #eef3fc; }
.sh.edit { border-color: #5aa77a; color: #22704a; background: #edf8f1; }
.sh.other { border-color: #c9a25e; color: #7a5a1a; background: #fbf5ea; }

/* 機能を開いた画面: 上に細い帯、下はその機能 */
#pageApp { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; padding: 0; place-items: initial; }
.appbar { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px; padding-top: max(6px, env(safe-area-inset-top)); background: var(--sheet); border-bottom: 1px solid var(--line); font-size: 13px; min-width: 0; }
.appbar .back { flex: none; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; padding: 4px 6px; white-space: nowrap; }
.appbar .aname { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.appbar .aname img { width: 22px; height: 22px; border-radius: 5px; }
.appbar .co { flex: none; border: 1px solid var(--line); border-radius: 999px; background: var(--sheet); color: inherit; font: inherit; font-size: 12px; padding: 2px 10px; cursor: pointer; white-space: nowrap; }
.docstate { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin-left: auto; }
.docstate .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sub); max-width: 26vw; }
.appbar .btn { height: 28px; padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
.frame { flex: 1; min-height: 0; border: 0; width: 100%; background: #fff; }
@media (max-width: 640px) {
  .appbar { flex-wrap: wrap; row-gap: 4px; }
  .appbar .aname span { display: none; }
  .docstate { order: 5; width: 100%; margin-left: 0; }
  .docstate .t { max-width: none; flex: 1; }
}

/* 一覧(自分の/社内共有)の引き出し */
.drawer-wrap { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.35); display: flex; justify-content: flex-end; }
.drawer { width: min(560px, 100%); height: 100%; background: var(--sheet); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.2); }
.drawer header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); padding-top: max(12px, env(safe-area-inset-top)); }
.drawer header h3 { margin: 0; font-size: 16px; flex: 1; }
.tabs { display: flex; gap: 4px; padding: 8px 14px 0; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; border-bottom: 3px solid transparent; background: none; color: var(--sub); font: inherit; font-size: 14px; padding: 6px 12px; cursor: pointer; }
.tabs button.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.dl { list-style: none; margin: 0; padding: 0 14px 20px; overflow: auto; flex: 1; }
.dl li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dl li:first-child { border-top: 0; }
.dl .row1 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dl .row1 b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.dl .row2 { font-size: 12px; color: var(--sub); }
.dl .row3 { display: flex; flex-wrap: wrap; gap: 6px; }
.dl .empty { color: var(--sub); font-size: 13px; padding: 20px 0; border: 0; }

.choice { display: flex; flex-direction: column; gap: 8px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.choice b { display: block; font-size: 14px; } .choice span { font-size: 12.5px; color: var(--sub); }
.hist { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; max-height: 200px; overflow: auto; }
.hist li { padding: 4px 0; border-top: 1px solid var(--line); color: var(--sub); }
.hist b { color: var(--text); font-weight: 600; }
.msg { padding: 16px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
/* スマホ幅で横にはみ出さないように */
.page { grid-template-columns: minmax(0, 1fr); }
.sheet { min-width: 0; justify-self: center; }
.bar { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 560px) {
  .who { margin-left: 0; width: 100%; justify-content: flex-end; }
  .search input { font-size: 16px; }   /* iPhone で入力時に拡大されないよう16px */
  .notice { font-size: 13px; }
}

/* 今日やること */
.today { margin: 0 0 18px; padding: 14px 16px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); }
.today h2 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.today h2 .sub { font-size: 12.5px; font-weight: 400; color: var(--sub); }
.tgroup h3 { margin: 10px 0 4px; font-size: 12.5px; color: var(--sub); font-weight: 700; }
.tgroup ul { list-style: none; margin: 0; padding: 0; }
.tgroup li { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 6px; }
.tgroup li:first-child { border-top: 0; }
.tgroup li:hover { background: var(--accent-soft); }
.tgroup .tl { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tgroup .tl b { font-size: 14px; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.4; }
.tgroup .ts { font-size: 12px; color: var(--sub); }
.tgroup li.more { color: var(--accent); font-size: 13px; font-weight: 700; }
.tgroup .acts { display: flex; justify-content: flex-end; padding: 2px 0 6px; }
.today .empty { margin: 4px 0 10px; color: var(--sub); font-size: 13px; }
.tag { flex: none; white-space: nowrap; font-size: 11.5px; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--sub); }
.tag.due { border-color: #d9826a; color: #a33a1c; background: #fdf0ec; font-weight: 700; }
.tag.soon { border-color: #c9a25e; color: #7a5a1a; background: #fbf5ea; }
.tag.none { background: var(--accent-soft); }
.tag.new { border-color: #6a8fd0; color: #2b5bb0; background: #eef3fc; font-weight: 700; }

/* 工事の状況 */
#pageBoard { display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding: 0; place-items: initial; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: var(--sheet); color: var(--sub); font: inherit; font-size: 12.5px; padding: 3px 12px; cursor: pointer; }
.seg button.on { background: var(--accent); color: #fff; font-weight: 700; }
.bsum { margin-left: auto; font-size: 12.5px; color: var(--sub); white-space: nowrap; }
.board { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 10px; padding: 12px; overflow: auto; }
.bcol { display: flex; flex-direction: column; min-height: 0; background: color-mix(in srgb, var(--line) 35%, var(--bg, #f4f5f7)); border-radius: 12px; padding: 8px; }
.bcol header { display: flex; align-items: baseline; gap: 8px; padding: 2px 4px 8px; font-size: 13px; }
.bcol header span { color: var(--sub); font-size: 12px; }
.bcol header .amt { margin-left: auto; }
.bcol[data-st="受注"] header b { color: #22704a; } .bcol[data-st="失注"] header b { color: var(--sub); }
.bcards { display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.bcard { display: flex; flex-direction: column; gap: 3px; padding: 10px; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 13px; }
.bcard:hover, .bcard:focus { border-color: var(--accent); outline: none; }
.bcard b { font-size: 13.5px; line-height: 1.35; }
.bcard .bs { color: var(--text); font-size: 12.5px; }
.bcard .bmeta { color: var(--sub); font-size: 11.5px; }
.bcard select { margin-top: 4px; align-self: flex-start; font: inherit; font-size: 12.5px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); color: var(--text); }
.bcard .sh { align-self: flex-start; margin-top: 4px; }
.bempty { color: var(--sub); font-size: 12.5px; padding: 6px 4px; margin: 0; }
@media (max-width: 760px) {
  .board { grid-template-columns: 1fr; overflow: auto; }
  .bcol { min-height: auto; }
  .bcards { overflow: visible; }
  .bsum { width: 100%; margin-left: 0; text-align: right; }
}

/* 利用の申し込み・利用者の管理 */
.sheet.narrow { width: min(560px, 100%); }
.form .lead { margin: 0 0 18px; font-size: 14px; color: var(--sub); line-height: 1.7; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--sub); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--text); font: inherit; font-size: 16px; font-weight: 400; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 400; color: var(--text); cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.checks.sm label { padding: 4px 8px; font-size: 12.5px; }
.checks.sm input { width: 15px; height: 15px; }
.err { margin: 0 0 8px; padding: 10px 12px; border-radius: 8px; background: #fdecec; color: #a32020; font-size: 13px; }
.who .admin-btn { position: relative; }
.badge { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #d63b3b; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.modal.wide { width: min(760px, 100%); }
.um h4 { margin: 16px 0 8px; font-size: 14px; }
.um h4:first-child { margin-top: 0; }
.um ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.um li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.um li.pending { border-color: #e0a43a; background: #fff8ec; }
.um li.off { opacity: .6; }
.um .who-col { flex: 1 1 220px; min-width: 0; }
.um .who-col b { display: block; font-size: 14px; }
.um .who-col span { display: block; font-size: 12px; color: var(--sub); overflow-wrap: anywhere; }
.um .acts { display: flex; gap: 6px; margin-left: auto; }
.um .empty { padding: 10px 0; font-size: 13px; color: var(--sub); }
@media (prefers-color-scheme: dark) { .um li.pending { background: rgba(224,164,58,.12); } .err { background: rgba(214,59,59,.15); color: #ff9a9a; } }
.btn.danger { color: #b42323; border-color: #e7b4b4; }
.btn.danger:hover { border-color: #b42323; }
@media (prefers-color-scheme: dark) { .btn.danger { color: #ff9a9a; border-color: #6b3434; } }

/* 作業指示 */
.today h2 .task-new { margin-left: auto; align-self: center; }
.tgroup .done-btn { flex: none; padding: 2px 10px; }
.tag.ok { border-color: #8cc0a0; color: #22704a; background: #eef8f1; }
.task-form .field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--text); font: inherit; font-size: 16px; }
.task-form .hint { margin: -4px 0 8px; font-size: 12.5px; color: #7a5a1a; }
@media (prefers-color-scheme: dark) { .tag.ok { background: rgba(60,160,100,.15); color: #8fd6aa; } .task-form .hint { color: #e0c48a; } }
.narrow-only { display: none; }
@media (max-width: 640px) { .wide-only { display: none; } .narrow-only { display: inline; } }

/* 一覧: 「自分だけ」をまとめて共有 */
#dList li.bulk { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fdf6e3; border-color: #ecd9a6; font-size: 13px; }
.today h2 .hd-btns .task-new { margin-left: 0; }
.today h2 .hd-btns { margin-left: auto; align-self: center; display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.choice input[type=checkbox] { margin-top: 3px; }
.today h2 { flex-wrap: wrap; white-space: nowrap; row-gap: 6px; }

/* 使い方(5ステップ) */
.appbar .btn.guide-btn { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 700; }
.appbar .btn.guide-btn .q { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 4px; border-radius: 50%; background: var(--accent); color: var(--sheet); font-size: 11px; line-height: 1; }
.guide-wrap { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; background: rgba(10,20,35,.45); }
.guide { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px 24px 18px; border-radius: 16px; background: var(--sheet); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.g-head { display: flex; align-items: center; gap: 12px; }
.g-head img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.g-kicker { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.g-head h3 { margin: 2px 0 0; font-size: 20px; }
.g-lead { margin: 12px 0 4px; font-size: 14px; color: var(--sub); line-height: 1.6; }
.g-steps { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: none; }
.g-steps li { position: relative; display: flex; gap: 14px; padding: 10px 0 12px; }
.g-steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 42px; bottom: -8px; width: 2px; background: var(--line); }
.g-steps .n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--sheet); font-weight: 700; font-size: 15px; position: relative; }
.g-steps b { display: block; font-size: 15px; margin-top: 5px; }
.g-steps p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--text); }
.guide .key { display: inline-block; margin: 0 2px; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--bg); font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.g-tip { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdf6e3; border: 1px solid #ecd9a6; font-size: 13px; line-height: 1.7; }
.g-tip b { margin-right: 8px; color: #8a6a1f; }
.g-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.g-foot { font-size: 12.5px; color: var(--sub); }
.g-actions .btn { flex: none; min-width: 96px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .g-tip { background: rgba(214,178,110,.12); border-color: #5b4a2a; } :root:not([data-theme="light"]) .g-tip b { color: var(--gold); } }
:root[data-theme="dark"] .g-tip { background: rgba(214,178,110,.12); border-color: #5b4a2a; }
@media (max-width: 640px) {
  .guide-wrap { place-items: end stretch; padding: 0; }
  .guide { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); }
  .g-head h3 { font-size: 18px; }
  .g-actions { flex-direction: column; align-items: stretch; }
  .g-actions .btn { height: 44px; font-size: 15px; }
  .g-foot { text-align: center; }
}
@media (max-width: 640px) {
  .appbar { gap: 6px; }
  .appbar .btn.guide-btn { width: 30px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
  .appbar .btn.guide-btn .q { width: 20px; height: 20px; margin: 0; font-size: 13px; }
}
/* 販売用: 会社の設定 */
.um .cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 12px; }
.um .cs-grid .field { margin: 0 0 6px; }
.um .cs-add input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.um .ts { font-size: 12px; color: var(--sub); }

/* 0.4.23 最近つくった・直した資料、ゴミ箱、前の版 */
.today.recent .ricon { width: 26px; height: 26px; flex: none; border-radius: 6px; }
.today.recent h2 .hd-btns { margin-left: auto; }
.trash-list { max-height: 60vh; overflow: auto; padding: 0; }
.vh { margin: 4px 0 4px; font-size: 13.5px; }
.vh + .vnote { margin: 0 0 4px; font-size: 12px; color: var(--sub); line-height: 1.5; }
.hist.vers { max-height: 240px; margin-bottom: 12px; }
.hist li.ver { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hist li.ver .btn { flex: none; }
.hist .vt { font-size: 11.5px; }

/* ===== 0.5.0 見た目の見直し(案AB: すっきり＋左メニュー) ===== */
:root { --page: #f7f8fa; --side-w: 232px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --page: #121b27; } }
:root[data-theme="dark"] { --page: #121b27; }
body.has-side { background: var(--page); }
/* 左メニュー: 広い画面だけ */
.side { display: none; }
@media (min-width: 1000px) {
  body.has-side .side:not([hidden]) { display: flex; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 30; width: var(--side-w); flex-direction: column; gap: 1px; padding: 14px 12px 10px; background: var(--sheet); border-right: 1px solid var(--line); overflow-y: auto; }
  body.has-side #pageApps, body.has-side #pageApp, body.has-side #pageBoard { margin-left: var(--side-w); }
  /* 左メニューに会社・ホーム・名前があるので、上の帯からは外す */
  body.has-side #pageApps .bar { display: none; }
  body.has-side .appbar .back, body.has-side .appbar .co { display: none; }
  body.has-side .appbar { padding-left: 16px; min-height: 48px; }
  /* ソフトのタイルも左メニューに任せる */
  body.has-side #appList, body.has-side .apps-h { display: none; }
}
.side-co { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.side-co:hover { border-color: var(--accent); }
.side-co img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.side-co b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-co .sw { font-size: 11px; color: var(--sub); white-space: nowrap; }
.side-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; min-height: 34px; }
.side-item:hover { background: var(--accent-soft); }
.side-item.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.side-item img { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.side-item .si { width: 22px; text-align: center; color: var(--sub); flex: none; }
.side-item .sl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item .badge { margin-left: auto; }
.side-l { margin: 10px 10px 2px; font-size: 11px; color: var(--sub); letter-spacing: .06em; }
.side-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.side-who { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 8px 0 0; padding: 0 10px; font-size: 13px; color: var(--sub); white-space: normal; }
.side-who > span { font-weight: 700; color: var(--text); }
.side-who button, .side-who a { border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--text); font: inherit; font-size: 12.5px; padding: 4px 10px; cursor: pointer; text-align: left; text-decoration: none; position: relative; }
.side-who button:hover { border-color: var(--accent); }

/* ホーム: 白い紙の枠をやめて、余白を広く */
#pageApps { background: var(--page); }
#pageApps .sheet { width: min(1000px, 100%); padding: 36px 32px 28px; background: none; box-shadow: none; border-radius: 0; }
#pageApps .bar { margin: -12px 0 22px; }
.hello { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.hello > div { flex: 1; min-width: 0; }
.hello-t { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.hello-s { margin: 2px 0 0; color: var(--sub); font-size: 14px; }
.news-pill { flex: none; margin-top: 6px; border: 0; border-radius: 999px; padding: 4px 12px; background: var(--accent-soft); color: var(--accent); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.news-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #e0453a; vertical-align: 1px; }
#pageApps .search input { height: 50px; border-radius: 14px; font-size: 15px; }
#pageApps .search::before { top: 14px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.quick .btn { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.quick .btn.primary { font-weight: 700; }
#homeMsg:empty { display: none; }
#homeMsg { margin: 0 0 18px; }
.sec { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--sub); }
/* ソフトのタイル(狭い画面だけ。広い画面は左メニュー) */
#pageApps .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
#pageApps .app { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 14px 6px; border-radius: 14px; background: var(--sheet); color: inherit; font: inherit; }
#pageApps .app .appicon { width: 40px; height: 40px; }
#pageApps .app .app-name { font-size: 13px; line-height: 1.35; }
#pageApps .app .app-sub { display: none; }
@media (min-width: 640px) {
  #pageApps .app { flex-direction: row; text-align: left; justify-content: flex-start; padding: 14px 16px; gap: 12px; }
  #pageApps .app .app-name { font-size: 15px; }
  #pageApps .app .app-sub { display: block; }
}
/* 今日やること・最近の資料: 2つ横に */
.home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.home-col { min-width: 0; }
.home .today { margin: 0; padding: 0; border: 0; background: none; }
.home .today > h2 { margin: 0 0 10px; font-size: 13px; color: var(--sub); }
.home .today > h2 .hd-btns { margin-left: auto; }
.home .today > h2 .hd-btns .btn { height: auto; padding: 0; border: 0; background: none; color: var(--accent); font-size: 12.5px; }
.home .tgroup { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 4px 6px; margin-bottom: 12px; }
.home .tgroup h3 { margin: 8px 10px 2px; }
.home .tgroup li { padding: 10px; }
.home .tgroup .acts { padding: 2px 6px 8px; }
.home .today .empty { padding: 16px; background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; margin: 0; }
@media (max-width: 999px) {
  #pageApps .sheet { padding: 20px 16px 96px; }
  .home { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .hello-t { font-size: 21px; }
  .news-pill { display: none; }
  .quick { margin-bottom: 22px; }
  .quick .btn { flex: 1 1 auto; }
}
/* スマホ・タブレット: ホームの下にタブ */
.tabbar { display: none; }
@media (max-width: 999px) {
  .tabbar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--sheet); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border: 0; background: none; color: var(--sub); font: inherit; font-size: 11px; cursor: pointer; }
  .tabbar button.on { color: var(--accent); font-weight: 700; }
  .tabbar img { width: 22px; height: 22px; border-radius: 5px; }
  .tabbar .ti { font-size: 19px; line-height: 22px; }
  body.has-side .toast { bottom: 84px; }
}

/* 左メニューをたたんだとき: アイコンだけの細い帯 */
@media (min-width: 1000px) {
  body.side-mini { --side-w: 64px; }
  body.side-mini .side { padding: 14px 8px 10px; }
  body.side-mini .side .sl, body.side-mini .side-l, body.side-mini .side-co b, body.side-mini .side-co .sw, body.side-mini .side-who { display: none; }
  body.side-mini .side-co { justify-content: center; padding: 8px 0; }
  body.side-mini .side-item { justify-content: center; padding: 6px 0; position: relative; }
  body.side-mini .side-item .badge { position: absolute; top: 0; right: 2px; min-width: 16px; line-height: 16px; font-size: 10px; padding: 0 4px; margin: 0; }
  body.side-mini #sideApps { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
}
.side-fold { margin-top: 6px; color: var(--sub); }

/* ===== 0.5.16 見た目の設定(着せ替え) =====
   色は html の data-skin(navy=濃紺・既定 / white=前の白 / warm / green / night)、文字の大きさは data-fs。
   shell.js の applyLook が付ける(明るい色のときは data-theme="light"、夜は "dark" も一緒に付ける)。
   左メニューの色は --side-*。白(white)は今までどおり --sheet の色 */
:root[data-skin="navy"] { --bg: #eef2f7; --page: #eef2f7; --sheet: #ffffff; --text: #1d2a3a; --sub: #5f6d7d; --line: #d8e0ea; --accent: #1f6fd6; --accent-soft: #e9f1fd;
  --side-bg: #1b2d52; --side-ink: #e8eef8; --side-sub: #9fb0cc; --side-hover: rgba(255,255,255,.08); --side-on: #1f6fd6; --side-edge: rgba(255,255,255,.12); }
:root[data-skin="warm"] { --bg: #f6f1ea; --page: #f6f1ea; --sheet: #fffdfa; --text: #2f261e; --sub: #75655a; --line: #e6dccf; --accent: #a95a24; --accent-soft: #f7e9dc;
  --side-bg: #4a3a2c; --side-ink: #f6ece0; --side-sub: #c7b29b; --side-hover: rgba(255,255,255,.08); --side-on: #a95a24; --side-edge: rgba(255,255,255,.14); }
:root[data-skin="green"] { --bg: #edf4f0; --page: #edf4f0; --sheet: #ffffff; --text: #1d2e27; --sub: #5a6d64; --line: #d3e2da; --accent: #237a50; --accent-soft: #e3f3ea;
  --side-bg: #1f4a3c; --side-ink: #e6f2ec; --side-sub: #9cc0af; --side-hover: rgba(255,255,255,.08); --side-on: #237a50; --side-edge: rgba(255,255,255,.14); }
:root[data-skin="night"] { --bg: #121a26; --page: #121a26; --sheet: #1b2534; --text: #e6edf5; --sub: #9fb0c3; --line: #2c3a4e; --accent: #5b9bf0; --accent-soft: #22344c; color-scheme: dark;
  --side-bg: #0b111b; --side-ink: #dfe7f2; --side-sub: #8696ab; --side-hover: rgba(255,255,255,.06); --side-on: #2e5fa8; --side-edge: rgba(255,255,255,.08); }
.side { background: var(--side-bg, var(--sheet)); border-right-color: var(--side-edge, var(--line)); color: var(--side-ink, var(--text)); }
.side-co { background: var(--side-hover, var(--sheet)); border-color: var(--side-edge, var(--line)); color: var(--side-ink, var(--text)); }
.side-co .sw, .side-item .si, .side-l, .side-who, .side-fold { color: var(--side-sub, var(--sub)); }
.side-item { color: var(--side-ink, var(--text)); }
.side-item:hover { background: var(--side-hover, var(--accent-soft)); }
.side-item.on { background: var(--side-on, var(--accent-soft)); color: var(--side-bg, var(--accent)); }
:root[data-skin] .side-item.on { color: #fff; }
:root[data-skin] .side-item.on .si { color: #fff; }
:root[data-skin="white"] .side-item.on { color: var(--accent); }
.side-foot { border-top-color: var(--side-edge, var(--line)); }
.side-who > span { color: var(--side-ink, var(--text)); }
.side-who button, .side-who a { background: var(--side-hover, var(--sheet)); border-color: var(--side-edge, var(--line)); color: var(--side-ink, var(--text)); }
:root[data-skin]:not([data-skin="white"]) .side-co img, :root[data-skin]:not([data-skin="white"]) .side-item img { background: #fff; border-radius: 5px; }
:root[data-skin="navy"] .home .tgroup, :root[data-skin="warm"] .home .tgroup, :root[data-skin="green"] .home .tgroup,
:root[data-skin="navy"] .search input, :root[data-skin="warm"] .search input, :root[data-skin="green"] .search input { box-shadow: 0 1px 3px rgba(20,40,80,.06); }
:root[data-skin="warm"] .tag.new { border-color: #d29a6c; color: #8a4517; background: #fbefe4; }
:root[data-skin="green"] .tag.new { border-color: #7cbf9c; color: #1f6e48; background: #e8f6ee; }
:root[data-skin="night"] .tag.new { border-color: #4a6fa8; color: #a9c6f5; background: #1e2f48; }
:root[data-skin="night"] .tag.due { border-color: #7a3b33; color: #f0a08b; background: #3a2224; }
:root[data-skin="night"] .frame { background: #121a26; }
/* 文字の大きさ: 画面全体を拡大・縮小する(Edge・Chrome では各ソフトの中も同じ倍率になる) */
:root[data-fs="s"] { zoom: .9; }
:root[data-fs="l"] { zoom: 1.12; }
:root[data-fs="xl"] { zoom: 1.25; }
/* 見た目の設定の画面 */
.modal.look { width: min(720px, 100%); }
.look-l { margin: 16px 0 8px; font-size: 13px; color: var(--sub); font-weight: 700; }
.look-l:first-of-type { margin-top: 4px; }
.skins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .skins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.skin { display: flex; flex-direction: column; gap: 6px; padding: 7px; border: 2px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.skin:hover { border-color: var(--accent); }
.skin.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.skin.on span { color: var(--accent); font-weight: 700; }
.skin .pv { position: relative; height: 64px; border-radius: 8px; overflow: hidden; }
.skin .pv i { position: absolute; left: 0; top: 0; bottom: 0; width: 26%; }
.skin .pv b { position: absolute; left: 32%; right: 8%; height: 18px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.skin .pv u { position: absolute; left: 32%; bottom: 7px; width: 28%; height: 8px; border-radius: 3px; }
.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.segs button { border: 1px solid var(--line); background: var(--sheet); color: var(--text); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.segs button:hover { border-color: var(--accent); }
.segs button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.look-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 560px) { .look-cols { grid-template-columns: 1fr; } }
.look-btn { display: block; }
@media (max-width: 999px) { .look-side { display: none; } }
@media (max-width: 640px) { .who { flex-wrap: wrap; justify-content: flex-end; white-space: normal; row-gap: 6px; min-width: 0; } }
