:root {
  color-scheme: dark;
  --bg: #191919; --bg2: #202020; --bg3: #2c2c2c; --bg4: #373737; --panel: #252525; --input: #1f1f1f;
  --text: #d4d4d4; --strong: #ebebeb; --muted: #8f8f8f; --line: #2f2f2f; --line2: #3a3a3a;
  --accent: #2383e2; --danger: #eb5757; --sb-w: 260px; --radius: 8px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 6px; background: transparent; cursor: pointer; text-decoration: none; white-space: nowrap; font-size: 14px; }
.btn:hover { background: var(--bg2); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { filter: brightness(.95); }
.btn.danger { color: var(--danger); }
.btn.small { padding: 3px 9px; font-size: 13px; }
.icon-btn { border: 0; background: none; cursor: pointer; padding: 4px 8px; border-radius: 4px; font-size: 18px; line-height: 1; color: var(--muted); }
.icon-btn:hover { background: var(--bg3); }
.icon-btn.small { font-size: 14px; padding: 2px 6px; }
.link-btn { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0 4px; font-size: 13px; }
.row-end { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

/* ログイン・初期設定 */
body.simple { background: var(--bg); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px; min-height: 100%; }
.simple-box { background: var(--bg2); padding: 28px; border-radius: 12px; box-shadow: var(--shadow); width: 100%; max-width: 460px; }
.simple-box h1 { margin-top: 0; font-size: 22px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label:not(.check) { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.form input:not([type=checkbox]), .form select, .pop-form input, .pop-form textarea, .schema-ed input, .schema-ed select, .schema-ed textarea, .card select, .card textarea {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--input); font-size: 16px; width: 100%; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
legend { font-size: 13px; color: var(--muted); padding: 0 4px; }
.alert { background: #3b2020; color: #ffb4ab; padding: 10px 12px; border-radius: 6px; margin: 0; }

/* レイアウト */
#app { display: flex; min-height: 100vh; }
#sidebar { width: var(--sb-w); flex-shrink: 0; background: var(--bg2); border-right: 1px solid var(--line); height: 100vh; position: sticky; top: 0; display: flex; flex-direction: column; overflow: hidden; }
#main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#topbar { position: sticky; top: 0; z-index: 20; background: rgba(25,25,25,.94); backdrop-filter: blur(6px); display: flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 46px; border-bottom: 1px solid transparent; }
#crumbs { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#crumbs a { text-decoration: none; }
#crumbs a:hover { text-decoration: underline; }
#crumbs i { font-style: normal; margin: 0 6px; opacity: .5; }
#crumbs span { color: var(--text); }
#top-actions { display: flex; gap: 2px; }
.star.on { color: #e5a00d; }
#save-state { font-size: 12px; color: var(--muted); min-width: 4em; text-align: right; }
#save-state.error { color: var(--danger); }
.menu-btn { display: none; }
#view { flex: 1; }
#backdrop { display: none; }

/* サイドバー */
.sb-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px; }
.brand { font-weight: 700; text-decoration: none; font-size: 15px; }
.sb-close { display: none; }
.sb-nav { padding: 2px 6px; }
.sb-nav.bottom { border-top: 1px solid var(--line); padding: 6px; }
.sb-link { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 5px; text-decoration: none; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-link:hover, .tree-row:hover { background: var(--bg3); }
.sb-link.active, .tree-row:has(a.active) { background: var(--bg4); color: var(--strong); font-weight: 600; }
.as-link { border: 0; background: none; width: 100%; cursor: pointer; text-align: left; }
.sb-section { padding: 6px 6px 0; }
.sb-section.grow { flex: 1; overflow-y: auto; padding-bottom: 12px; }
.sb-title { font-size: 12px; color: var(--muted); padding: 4px 8px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.tree-row { display: flex; align-items: center; border-radius: 5px; min-height: 30px; }
.twisty { border: 0; background: none; width: 22px; height: 22px; cursor: pointer; color: var(--muted); font-size: 12px; flex-shrink: 0; border-radius: 4px; padding: 0; }
.twisty:hover { background: var(--bg4); }
.twisty.none { visibility: hidden; }
.tree-link { flex: 1; min-width: 0; display: flex; gap: 6px; text-decoration: none; font-size: 14px; color: var(--text); padding: 4px 2px; align-items: center; }
.tree-link .tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tree-row .add { visibility: hidden; }
.tree-row:hover .add { visibility: visible; }
.tree-empty { font-size: 12px; color: #6b6b6b; padding: 3px 10px; }
.ic { flex-shrink: 0; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.ic svg, .svg-i svg { width: 16px; height: 16px; display: block; }
.svg-i { display: inline-flex; vertical-align: -3px; color: var(--muted); margin-right: 6px; }
h1 .svg-i svg, h2 .svg-i svg { width: 1em; height: 1em; }
h1 .svg-i { vertical-align: -.12em; }

/* ページ */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 24px 48px 120px; }
.page-wrap.wide { max-width: 1400px; }
.page-head { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 10px; }
.page-icon { border: 0; background: none; padding: 10px 2px 0; color: var(--muted); line-height: 1; }
.page-icon svg { width: 28px; height: 28px; }
.page-title { flex: 1; border: 0; outline: none; resize: none; font-size: 32px; font-weight: 700; line-height: 1.3; padding: 4px 0; overflow: hidden; background: transparent; color: var(--strong); }
.plain-title { font-size: 28px; margin: 18px 0; }
.empty { text-align: center; color: var(--muted); padding: 60px 16px; }

/* エディタの見た目を整える */
#editor .toastui-editor-defaultUI { border: 0; }
#editor .toastui-editor-defaultUI-toolbar { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 46px; z-index: 5; flex-wrap: wrap; }
#editor .toastui-editor-toolbar { position: sticky; top: 46px; z-index: 5; }
#editor .toastui-editor-ww-container { background: var(--bg); }
#editor .ProseMirror, #editor .toastui-editor-contents { font-size: 16px; font-family: inherit; line-height: 1.75; }
#editor .toastui-editor-contents p { margin: 4px 0; }
#editor .toastui-editor-contents img { max-width: 100%; border-radius: 4px; }
#editor .toastui-editor-mode-switch { border-top: 1px solid var(--line); background: var(--bg); }
#editor .toastui-editor-main .toastui-editor-md-splitter { display: none; }
.toastui-editor-contents a { color: var(--accent); cursor: pointer; }

/* 添付・子ページ */
.attach, .children { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sec-head h3 { margin: 0; font-size: 15px; }
.sec-head small { color: var(--muted); font-weight: normal; margin-left: 4px; }
.media { margin: 12px 0; }
.media video { width: 100%; max-height: 70vh; background: #000; border-radius: 8px; }
.media audio { width: 100%; }
.media figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 8px; }
.thumb img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
details summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 4px 0; }
.file-list, .link-list, .search-list, .trash-list, .ev-list { list-style: none; padding: 0; margin: 8px 0; }
.file-list li { padding: 4px 0; font-size: 14px; }
.link-list li a { display: flex; gap: 6px; padding: 5px 6px; text-decoration: none; border-radius: 5px; }
.link-list li a:hover { background: var(--bg2); }
.link-list.cols { columns: 2 260px; }
.link-list.cols li { break-inside: avoid; }

/* ホーム */
.home-title { font-size: 28px; margin: 18px 0 0; }
.card { background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.card h2 { font-size: 16px; margin: 0 0 8px; }
.card textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ev-list li a { display: flex; gap: 10px; align-items: baseline; padding: 5px 4px; text-decoration: none; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.ev-list .ev-date { color: var(--accent); font-size: 13px; min-width: 6em; }
.ev-list small { color: var(--muted); margin-left: auto; font-size: 12px; }
.search-list li a { display: block; padding: 10px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-list small { color: var(--muted); margin-left: 8px; }
.search-list .snip { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.big-input { width: 100%; font-size: 18px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.trash-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.trash-list li span:last-child { display: flex; gap: 6px; }

/* プロパティ */
.props { display: grid; grid-template-columns: minmax(90px, 160px) 1fr; gap: 2px 10px; margin: 4px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prop { display: contents; }
.prop-name { color: var(--muted); font-size: 14px; padding: 6px 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-val { padding: 5px 6px; border-radius: 4px; cursor: pointer; min-height: 32px; font-size: 14px; word-break: break-word; }
.prop-val:hover { background: var(--bg2); }
.chip { display: inline-block; padding: 0 7px; border-radius: 4px; font-size: 13px; line-height: 1.6; margin: 1px 2px 1px 0; white-space: nowrap; }

/* データベース */
.db-desc { margin-bottom: 8px; }
.db-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 6px 0 8px; overflow-x: auto; }
.db-tabs .tab { border: 0; background: none; padding: 7px 12px; cursor: pointer; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.db-tabs .tab.on { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.db-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.db-toolbar input[type=search], .db-toolbar select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; background: var(--input); }
.db-toolbar input[type=search] { width: 160px; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 8px; max-height: 75vh; }
.db-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.db-table th { position: sticky; top: 0; background: var(--bg2); z-index: 2; text-align: left; font-weight: 500; color: var(--muted); padding: 7px 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); cursor: pointer; white-space: nowrap; user-select: none; }
.db-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; cursor: pointer; max-width: 320px; }
.db-table td:hover { background: #1f1f1f; }
.db-table .col-title { min-width: 220px; position: sticky; left: 0; background: var(--bg); z-index: 1; }
.db-table th.col-title { z-index: 3; background: var(--bg2); }
.db-table td.col-title a { text-decoration: none; font-weight: 500; }
.db-table td.col-title a:hover { text-decoration: underline; }
.db-table .t-date { white-space: nowrap; }
.db-table .t-text { min-width: 160px; }
.db-table td.t-text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.has-body { font-size: 11px; margin-left: 4px; opacity: .5; }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.row-card { display: block; text-decoration: none; margin: 0; padding: 10px 12px; }
.row-card:hover { background: var(--bg2); }
.rc-title { font-weight: 600; margin-bottom: 4px; }
.rc-props { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; }
.rc-prop small { color: var(--muted); }

/* ガント */
.g-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.gantt { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; max-height: 75vh; overflow-y: auto; position: relative; }
.g-left { width: 240px; flex-shrink: 0; border-right: 1px solid var(--line); background: var(--bg); position: sticky; left: 0; z-index: 3; }
.g-lhead { height: 52px; padding: 6px 8px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--bg2); position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-end; }
.g-lrow { height: 34px; padding: 0 8px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; }
.g-lrow a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-lrow.done a { color: var(--muted); text-decoration: line-through; }
.g-right { flex: 1; overflow-x: auto; overflow-y: visible; }
.g-canvas { position: relative; overflow: clip; }
.g-head { height: 52px; position: sticky; top: 0; background: var(--bg2); border-bottom: 1px solid var(--line); z-index: 2; }
.g-month { position: absolute; top: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; padding-left: 4px; border-left: 1px solid var(--line2); }
.g-days { position: absolute; bottom: 0; left: 0; right: 0; height: 24px; }
.g-day { position: absolute; bottom: 0; height: 24px; font-size: 11px; color: var(--muted); text-align: center; line-height: 24px; border-left: 1px solid var(--line); }
.g-day.we { color: #b0605a; }
.g-day.today { background: var(--accent); color: #fff; border-radius: 4px; }
.g-rows { position: relative; background-image: repeating-linear-gradient(var(--bg) 0 33px, var(--line) 33px 34px); }
.g-we { position: absolute; top: 0; bottom: 0; background: rgba(255,255,255,.025); }
.g-todayline { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(35,131,226,.6); z-index: 1; }
.g-bar { position: absolute; color: var(--strong); height: 22px; border-radius: 5px; font-size: 12px; line-height: 22px; padding: 0 8px; white-space: nowrap; overflow: hidden; cursor: grab; box-shadow: 0 1px 2px rgba(0,0,0,.15); touch-action: none; z-index: 2; user-select: none; }
.g-bar.done { opacity: .45; }
.g-bar.drag { cursor: grabbing; box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 5; }
.g-bar span { pointer-events: none; }
.g-handle { position: absolute; right: 0; top: 0; bottom: 0; width: 10px; cursor: ew-resize; background: rgba(255,255,255,.12); }

/* カレンダー */
#cal { --fc-border-color: var(--line); --fc-today-bg-color: rgba(35,131,226,.12); --fc-page-bg-color: var(--bg); --fc-neutral-bg-color: var(--bg2); --fc-event-bg-color: var(--accent); --fc-event-border-color: var(--accent); font-size: 14px; }
#cal .fc-toolbar-title { font-size: 20px; }
#cal .fc-button { padding: 4px 10px; font-size: 13px; }
#cal .ev-done { opacity: .45; text-decoration: line-through; }
#cal .fc-daygrid-event { white-space: normal; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; font-size: 13px; }
.lg { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.lg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* 小窓 */
.popover { position: fixed; z-index: 100; background: var(--panel); border-radius: 10px; box-shadow: var(--shadow); padding: 10px; max-height: 70vh; overflow-y: auto; }
.popover.wide-pop { width: min(560px, 94vw) !important; left: 50% !important; top: 8vh !important; transform: translateX(-50%); max-height: 84vh; }
.pop-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.pop-list { display: flex; flex-direction: column; gap: 1px; }
.pop-item { display: flex; align-items: center; gap: 6px; border: 0; background: none; text-align: left; padding: 7px 8px; border-radius: 5px; cursor: pointer; font-size: 14px; width: 100%; }
.pop-item:hover { background: var(--bg2); }
.pop-new { display: flex; gap: 6px; margin-top: 6px; }
.pop-new input { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
.pop-form { display: flex; flex-direction: column; gap: 8px; }
.pop-form label:not(.check) { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 3px; }
.schema-ed { display: flex; flex-direction: column; gap: 10px; }
.schema-ed > label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 3px; }
.s-cols { display: flex; flex-direction: column; gap: 8px; }
.s-col { display: grid; grid-template-columns: 1fr 120px auto auto auto; gap: 6px; align-items: center; padding: 8px; background: var(--bg2); border-radius: 6px; }
.s-col .s-opts { grid-column: 1 / -1; font-size: 14px; }
.s-col input, .s-col select { font-size: 14px !important; padding: 5px 8px !important; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #3a3a3a; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { background: var(--danger); }

/* タブレット */
@media (max-width: 1024px) {
  .page-wrap { padding: 16px 28px 100px; }
}
/* スマホ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  #sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; transform: translateX(-100%); transition: transform .22s ease; width: min(86vw, 320px); box-shadow: var(--shadow); height: 100%; }
  body.sb-open #sidebar { transform: none; }
  body.sb-open #backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 50; }
  .sb-close { display: inline-block; }
  .tree-row .add { visibility: visible; }
  .sb-link, .tree-row { min-height: 38px; }
  #topbar { padding: 6px 8px; border-bottom-color: var(--line); }
  .page-wrap, .page-wrap.wide { padding: 8px 16px 100px; }
  .page-title { font-size: 26px; }
  .page-icon svg { width: 24px; height: 24px; }
  .grid2 { grid-template-columns: 1fr; }
  .props { grid-template-columns: 96px 1fr; }
  .db-toolbar input[type=search] { flex: 1; width: auto; }
  .g-left { width: 120px; }
  .popover.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; border-radius: 14px 14px 0 0; max-height: 75vh; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); transform: none; }
  .s-col { grid-template-columns: 1fr 100px; }
  #editor .toastui-editor-defaultUI-toolbar { top: 50px; }
  .link-list.cols { columns: 1; }
}
.ok-msg{background:#1f3326;color:#9fd9ae;padding:10px 12px;border-radius:6px}
.cal-legend-box { margin-bottom: 10px; }
.cal-legend-box .cal-legend { margin-top: 6px; }
.g-none { padding: 10px 4px; }

/* 黒基調の追加調整 */
h1, h2, h3, .brand, .rc-title { color: var(--strong); }
.icon-btn:hover, .link-list li a:hover, .row-card:hover, .pop-item:hover, .sb-link:hover, .tree-row:hover { background: var(--bg3); }
.btn:hover { background: var(--bg3); }
.icon-btn svg { width: 18px; height: 18px; display: block; }
.icon-btn.small svg { width: 14px; height: 14px; }
.star.on { color: var(--strong); }
.db-table th { background: var(--bg2); }
#editor .toastui-editor-dark .ProseMirror, #editor .toastui-editor-dark .toastui-editor-contents { color: var(--text); }
#editor .toastui-editor-dark.toastui-editor-defaultUI { border: 0; }
#editor .toastui-editor-dark .toastui-editor-defaultUI-toolbar, #editor .toastui-editor-dark .toastui-editor-ww-container, #editor .toastui-editor-dark .toastui-editor-md-container, #editor .toastui-editor-dark .toastui-editor-mode-switch { background: var(--bg); border-color: var(--line); }
#editor .toastui-editor-dark .toastui-editor-toolbar-icons { border-color: transparent; background-color: transparent; }
#editor .toastui-editor-dark .toastui-editor-toolbar-icons:not(:disabled):hover { background-color: var(--bg3); border-color: var(--line2); }
#cal .fc-button { background: var(--bg3); border-color: var(--line2); }
.thumb img { border-color: var(--line); }
input::placeholder, textarea::placeholder { color: #6b6b6b; }
.chip { color: var(--strong); }
.has-body svg { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; }
.svg-i.cb svg { width: 16px; height: 16px; }

/* 左メニューの3区分 */
.sb-areas { padding: 2px 6px 6px; border-bottom: 1px solid var(--line); }
.sb-areas .tree-link { font-weight: 600; }
.work-sec { margin-top: 26px; }
.work-sec .sec-head { margin-bottom: 10px; }
.proj-list .cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
