/* =====================================================================
   Notera v4 — penyelarasan proporsi: tipografi sistem, sidebar hangat,
   kolom tulis 708px, menu "/" berkelompok, kartu format vertikal,
   database inline, pengaturan lega, alur orientasi. Menimpa style.css.
   ===================================================================== */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Helvetica, Arial, "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --sb: #f9f8f7; --sb-hover: #efeeec; --sb-active: #eceae8; --sb-text: #5f5e5b;
  --text: #2c2c2b; --text-2: #73726e; --text-3: #a6a39f; --border: #ebeae8; --border-2: #dfdedb;
  --bg-hover: #f2f1ef; --sb-w: 264px;
  --shadow: 0 14px 28px -6px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06), 0 0 0 1px rgba(84, 72, 49, .08);
}
[data-theme="dark"] { --sb: #202020; --sb-text: #9b9a97; --sb-hover: #2c2c2c; --sb-active: #2f2f2f; }
.doc .blocks { font-size: 16px; }

/* ---------- sidebar ---------- */
#sidebar { background: var(--sb); border-right: 1px solid color-mix(in srgb, var(--sb) 92%, #000); padding-top: 4px; }
.sb-top { padding: 6px 10px 4px 12px; }
.sb-ib { width: 28px; height: 28px; color: #91918e; }
#sidebar .ico { color: #91918e; }
.sb-search { height: 30px; margin: 2px 10px 8px; width: calc(100% - 20px); background: #f3f2f0; border: 1px solid #e6e5e2; border-radius: 8px; padding: 0 5px 0 10px; color: #a3a19c; font-size: 14px; }
[data-theme="dark"] .sb-search { background: #262626; border-color: #333; }
.sb-search:hover { border-color: #d9d8d4; background: #f1f0ee; }
.sb-search > .ico { display: none !important; }
.sb-search kbd { font-family: var(--font); font-size: 11px; color: #9a9893; background: #eae9e6; border: 0; border-radius: 4px; padding: 1px 5px; }
[data-theme="dark"] .sb-search kbd { background: #333; }
.sb-tabs { padding: 0 10px 6px; gap: 4px; }
.sb-tab { height: 28px; padding: 0 10px 0 7px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #464644; gap: 7px; }
#btn-home { background: #eeeceb; }
[data-theme="dark"] #btn-home { background: #2f2f2f; color: var(--text); }
#btn-home .ico { color: #3f3e3c !important; }
#btn-home .ico svg { fill: currentColor; stroke: currentColor; }
.sb-tabs .sb-ib { color: #a4a29e; }
.sb-scroll { padding: 0 10px 10px; }
.sb-entries { margin-bottom: 18px; gap: 0; }
.sb-item { height: 30px; padding: 0 8px; gap: 9px; font-size: 14px; font-weight: 500; color: var(--sb-text); border-radius: 6px; }
.sb-item .ico svg { width: 18px; height: 18px; }
.sb-section { margin-bottom: 18px; }
.sb-label { font-size: 12px; font-weight: 500; color: #a8a5a0; padding: 0 8px; height: 26px; }
.tree-row { height: 30px; font-size: 14px; font-weight: 500; color: var(--sb-text); border-radius: 6px; gap: 6px; padding-right: 4px; }
.tree-row.active { background: var(--sb-active); color: #37352f; }
[data-theme="dark"] .tree-row.active { color: var(--text); }
.tree-row:hover:not(.active) { background: var(--sb-hover); }
.tree-ico { width: 22px; font-size: 16px; color: #91918e; margin-left: 2px; }
.tree-caret { width: 22px; height: 22px; margin-right: -28px; position: relative; z-index: 1; opacity: 0; border-radius: 4px; color: #8b8a86; }
.tree-row:hover .tree-caret:not(.leaf) { opacity: 1; background: var(--sb); }
.tree-row:hover .tree-caret:not(.leaf):hover { background: var(--sb-active); }
.tree-row:hover .tree-caret:not(.leaf) + .tree-ico { visibility: hidden; }
.sb-add { color: #9b9995; font-weight: 500; }
.sb-more { margin-top: 2px; padding-top: 6px; display: flex; flex-direction: column; gap: 0; }
.sb-foot { padding: 4px 10px 8px; }
.sb-foot .sb-item, .sb-custom-btn { color: #9b9995; font-weight: 500; font-size: 14px; }
.ws-chip { font-size: 14px; font-weight: 500; color: #464644; height: 30px; }
.ws-av { width: 20px; height: 20px; border-radius: 4px; font-size: 14px; background: transparent; }
.ws-av.letter { background: #e0703a; }

/* ---------- bilah atas ---------- */
#topbar { height: 45px; padding: 0 12px 0 14px; }
.crumb { font-size: 14px; color: #37352f; }
.privacy { font-size: 14px; color: #9b9995; }
.edited { font-size: 14px; color: #9b9995; }
.share-btn { font-size: 14px; font-weight: 500; }
#save-status { display: none; }
[data-theme="dark"] .crumb { color: var(--text); }

/* ---------- halaman: kolom 708px ---------- */
.doc, .dbpage { max-width: 900px; padding: 0 96px 30vh; }
.doc.full { max-width: none; }
.page-head { padding-top: 80px; }
.page-head.has-icon, .page-head:has(.page-icon) { padding-top: 54px; }
.page-icon { font-size: 78px; line-height: 1.1; margin: 0 0 8px -2px; }
.page-title { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: 0; padding: 3px 2px; color: #2c2c2b; }
[data-theme="dark"] .page-title { color: var(--text); }
.blocks { margin-top: 6px; }
.block { margin: 1px 0; }
.b-text { line-height: 1.5; padding: 3px 2px; }
.t-p .b-text:empty:focus::before, .b-text.slash-q::after { color: #a6a39f; }
.t-h1 .b-text { font-size: 30px; font-weight: 700; margin-top: 1.1em; }
.t-h2 .b-text { font-size: 24px; font-weight: 600; margin-top: .8em; }
.t-h3 .b-text { font-size: 20px; font-weight: 600; margin-top: .5em; }
.b-text.slash-q::after { content: attr(data-slash-ph); pointer-events: none; }
.b-text.slash-q { background: #f4f3f1; border-radius: 4px; box-shadow: 0 0 0 2px #f4f3f1; width: fit-content; max-width: 100%; flex: 0 1 auto; align-self: flex-start; padding-right: 4px; }
[data-theme="dark"] .b-text.slash-q { background: #2a2a2a; box-shadow: none; }

/* ---------- menu "/" berkelompok ---------- */
.slash-menu { width: 324px; max-height: min(420px, 60vh); padding: 0; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.slash-menu.mention-menu { padding: 4px; overflow-y: auto; display: block; }
.sl-scroll { overflow-y: auto; padding: 4px; flex: 1; min-height: 0; }
.slash-menu .menu-heading { font-size: 12px; font-weight: 500; color: #8f8d89; padding: 8px 10px 4px; text-transform: none; letter-spacing: 0; }
.slash-menu .sl-sep { height: 1px; background: var(--border); margin: 5px 6px; }
.slash-menu:not(.mention-menu) .slash-item { height: 30px; padding: 0 8px; gap: 9px; border-radius: 6px; }
.slash-menu:not(.mention-menu) .slash-ico { width: 20px; height: 20px; border: 0; box-shadow: none; background: transparent; color: #55534e; font-size: 14px; font-weight: 600; display: grid; place-items: center; flex: none; }
[data-theme="dark"] .slash-menu:not(.mention-menu) .slash-ico { color: var(--text-2); }
.slash-menu:not(.mention-menu) .slash-ico svg { width: 18px; height: 18px; }
.slash-menu:not(.mention-menu) .slash-txt { flex: 1; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 6px; }
.slash-menu:not(.mention-menu) .slash-txt b { font-weight: 400; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slash-menu:not(.mention-menu) .slash-txt small { display: none; }
.sl-sc { margin-left: auto; font-size: 12px; color: #a6a39f; font-family: var(--font); white-space: nowrap; }
.sl-new { font-size: 10px; font-weight: 600; color: #2a7bd4; background: #e7f1fb; border-radius: 4px; padding: 1px 5px; }
.sl-foot { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 14px; border-top: 1px solid var(--border); font-size: 14px; color: #55534e; cursor: pointer; flex: none; }
.sl-foot:hover { background: var(--bg-hover); }
.sl-foot span:last-child { font-size: 12px; color: #a6a39f; }
[data-theme="dark"] .sl-foot { color: var(--text-2); }

/* ---------- kartu format vertikal ---------- */
.fmt-bar, [data-theme="dark"] .fmt-bar { flex-direction: column; width: 196px; padding: 6px; gap: 0; border-radius: 10px; background: var(--bg); color: var(--text); box-shadow: var(--shadow); }
.fmt-bar.show { display: flex; }
.fmt-row { display: flex; align-items: center; gap: 2px; }
.fmt-row.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.fmt-sep { height: 1px; background: var(--border); margin: 5px 4px; }
.fmt-bar .fmt-btn { height: 30px; min-width: 0; padding: 0; justify-content: center; display: grid; place-items: center; font-size: 15px; color: #37352f; border-radius: 6px; }
[data-theme="dark"] .fmt-bar .fmt-btn { color: var(--text); }
.fmt-bar .fmt-btn svg { width: 17px; height: 17px; }
.fmt-bar .fmt-wide { display: flex; align-items: center; justify-content: flex-start; gap: 9px; padding: 0 8px; width: 100%; font-size: 14px; }
.fmt-bar .fmt-wide .fmt-chev { margin-left: auto; color: #a6a39f; display: grid; }
.fmt-bar .fmt-wide .fmt-lead { width: 18px; display: grid; place-items: center; font-weight: 600; color: #55534e; }
.fmt-row.cm .fmt-wide { flex: 1; }
.fmt-row.cm .fmt-btn:not(.fmt-wide) { width: 32px; flex: none; }
.fmt-a { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px var(--border-2); font-size: 12px; font-weight: 500; }
.fmt-tx { font-family: Georgia, serif; font-size: 15px; }
.fmt-tx sub { font-family: var(--font); font-size: 9px; }
.eq-inline { display: inline-block; padding: 0 2px; border-radius: 3px; cursor: pointer; vertical-align: baseline; }
.eq-inline:hover { background: var(--bg-hover); }
.eq-inline math { font-size: 1.05em; }
.turn-menu .menu-item .mi-ico { font-weight: 600; font-size: 13px; }

/* ---------- menu workspace ---------- */
.wsm-head { padding: 10px 10px 8px; gap: 10px; }
.wsm-name { font-size: 14px; font-weight: 500; }
.wsm-sub { font-size: 12px; color: #9b9995; }
.wsm-btns { display: none; }
.wsm-pop .menu .menu-item { font-size: 14px; height: 30px; }
.wsm-pop .menu .menu-item.wsm-blue, .wsm-pop .menu .menu-item.wsm-blue .mi-ico { color: #2a7bd4; }
.wsm-pop .menu .menu-heading { font-size: 12px; font-weight: 400; color: #9b9995; display: flex; justify-content: space-between; align-items: center; }
.wsm-pop .menu .menu-item.wsm-quiet { color: #8f8d89; font-size: 13px; }

/* ---------- Pustaka ---------- */
.lib { max-width: none; margin: 0; padding: 40px 100px 80px; }
.lib-top { margin-bottom: 14px; }
.lib-h1 { font-size: 26px; font-weight: 700; }
.lib-new { height: 28px; padding: 0 10px; border-radius: 6px; font-size: 14px; }
.lib-new svg { display: none; }
.lib-tab { height: 28px; padding: 0 10px; border-radius: 16px; font-size: 14px; color: #73726e; }
.lib-tab.active { background: #f1f0ee; color: #37352f; }
.lib-search-wrap { height: 28px; padding: 0 6px; }
.lib-search { width: 120px; font-size: 14px; }
.lib-type { border: 0; background: transparent; color: #73726e; font-size: 14px; }
.lib-row { min-height: 36px; grid-template-columns: minmax(240px, 2.6fr) minmax(130px, 1fr) minmax(110px, .9fr) minmax(130px, 1fr) minmax(130px, 1fr); }
.lib-head { min-height: 34px; border-bottom: 1px solid var(--border); border-top: 0; }
.lib-th { font-size: 14px; color: #8f8d89; font-weight: 400; }
.lib-title { font-weight: 500; }
.lib-src { font-weight: 400; color: #55534e; }
.lib-time, .lib-by { color: #55534e; font-size: 14px; }

/* ---------- database inline ---------- */
.inline-db { flex: 1; min-width: 0; margin: 4px 0 8px; }
.idb-head { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.idb-title { flex: 1; min-width: 0; font-size: 20px; font-weight: 700; color: var(--text); outline: none; padding: 2px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idb-title:empty::before { content: attr(data-ph); color: #d6d4d0; }
[data-theme="dark"] .idb-title:empty::before { color: #555; }
.idb-tools { display: flex; align-items: center; gap: 2px; opacity: .9; }
.idb-tools .icon-btn { width: 28px; height: 28px; color: #9b9995; border-radius: 6px; }
.idb-tools .icon-btn:hover { background: var(--bg-hover); }
.idb-new { display: inline-flex; align-items: stretch; height: 28px; border-radius: 6px; overflow: hidden; background: #2383e2; color: #fff; font-size: 14px; font-weight: 500; margin-left: 4px; }
.idb-new button { color: #fff; padding: 0 9px; display: grid; place-items: center; }
.idb-new button:hover { background: #0077d4; }
.idb-new button + button { border-left: 1px solid rgba(255, 255, 255, .25); padding: 0 6px; }
.inline-db .db-toolbar { display: none; }
.inline-db.show-tools .db-toolbar { display: flex; }
.inline-db .dbt { font-size: 14px; }
.inline-db .dbt th { height: 34px; color: #8f8d89; font-weight: 400; }
.inline-db .dbt td { height: 34px; }
.inline-db .dbt th:first-child, .inline-db .dbt td:first-child { border-left: 0; }
.inline-db .table-wrap { margin: 0; padding: 0; }
.inline-db .add-row { height: 34px; color: #a6a39f; font-size: 14px; }
.inline-db .idb-filler td { height: 34px; }
.block.has-idb .gutter { padding-top: 8px; }
.inline-db .db-empty, .inline-db .db-count { display: none; }
.inline-db .th-add { width: auto; text-align: left; white-space: nowrap; color: #a6a39f; padding: 0 8px; }
.inline-db .th-add .th-add-l { margin-left: 6px; font-size: 14px; vertical-align: middle; }
.inline-db .th-add svg { vertical-align: middle; }

/* ---------- pengaturan lega ---------- */
.modal-back:has(.modal-settings) { background: rgba(15, 15, 15, .45); padding-top: 32px; }
.modal.modal-settings { max-width: 1432px; width: min(calc(100vw - 100px), 1432px); height: calc(100vh - 100px); border-radius: 10px; }
.setm-nav { width: 226px; background: var(--sb); border-right: 0; padding: 8px 6px; }
.setm-search-wrap { height: 28px; border-radius: 6px; background: var(--bg); border: 1px solid #2383e2; box-shadow: 0 0 0 2px rgba(35, 131, 226, .2); margin: 0 2px 12px; }
.setm-search-wrap:not(:focus-within) { border-color: var(--border-2); box-shadow: none; }
.setm-gt { font-size: 12px; font-weight: 500; color: #9b9995; padding: 6px 10px 4px; }
.setm-item { height: 30px; font-size: 14px; font-weight: 400; color: #55534e; padding: 0 10px; }
.setm-item.active { color: #37352f; font-weight: 500; }
.setm-group { margin-bottom: 10px; }
.setm-pane { padding: 36px 32px 60px; }
.setm-pane > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.setp-head h2 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.setp-head p { font-size: 14px; color: #37352f; margin-bottom: 28px; }
[data-theme="dark"] .setp-head p { color: var(--text-2); }
.setp-group { margin-bottom: 30px; }
.setp-group h3 { font-size: 16px; font-weight: 500; padding-bottom: 12px; margin-bottom: 8px; }
.setp-line { padding: 9px 0; }
.setp-line + .setp-line { border-top: 0; }
.setp-lt { font-size: 14px; font-weight: 400; color: #37352f; }
[data-theme="dark"] .setp-lt { color: var(--text); }
.setp-ld { font-size: 12px; color: #8f8d89; }
.setp-c .menu-select { width: auto; min-width: 0; max-width: 240px; height: 28px; border: 1px solid var(--border-2); background: var(--bg); border-radius: 6px; padding: 0 26px 0 8px; font-size: 14px; }
.setp-c .menu-input { width: 220px; }
.setp-c .tgl { flex: none; }
.v4-toggle { position: relative; width: 30px; height: 18px; flex: none; }
.v4-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.v4-toggle i { position: absolute; inset: 0; border-radius: 9px; background: #d9d8d5; transition: background .15s; }
.v4-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.v4-toggle input:checked + i { background: #2383e2; }
.v4-toggle input:checked + i::after { transform: translateX(12px); }
.setm-close { top: 8px; right: 10px; }

/* ---------- orientasi setelah daftar ---------- */
.onb { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: flex; flex-direction: column; align-items: center; overflow-y: auto; transition: opacity .2s; }
.onb.out { opacity: 0; pointer-events: none; }
.onb-top { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 18px 24px; font-size: 15px; color: var(--text); }
.onb-logo { width: 24px; height: 24px; }
.onb-dots { margin-left: auto; display: flex; gap: 6px; }
.onb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); }
.onb-dots i.done { background: #9fc6ee; }
.onb-dots i.on { background: #2383e2; }
.onb-card { width: 100%; max-width: 520px; padding: 7vh 20px 60px; }
.onb-step { font-size: 12.5px; color: var(--text-3); margin-bottom: 8px; font-weight: 500; }
.onb-card h1 { font-size: 28px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; line-height: 1.25; }
.onb-sub { margin: 0 0 26px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.onb-opts { display: grid; gap: 10px; margin-bottom: 26px; }
.onb-opts.three { grid-template-columns: repeat(3, 1fr); }
.onb-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--border-2); background: var(--bg); text-align: left; cursor: pointer; color: var(--text); }
.onb-opt:hover { box-shadow: 0 0 0 1px var(--text-3); }
.onb-opt.on { box-shadow: 0 0 0 2px #2383e2; background: color-mix(in srgb, #2383e2 5%, var(--bg)); }
.onb-ic { font-size: 26px; line-height: 1; }
.onb-opt b { font-size: 14.5px; font-weight: 600; }
.onb-opt small { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }
.onb-opts.rows .onb-opt { flex-direction: row; align-items: center; gap: 14px; }
.onb-opt-t { display: flex; flex-direction: column; gap: 2px; }
.onb-label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.onb-field { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--bg); padding: 0 12px; font-size: 15px; color: var(--text); outline: none; font-family: inherit; margin-bottom: 14px; }
.onb-field:focus { border-color: #2383e2; box-shadow: 0 0 0 3px rgba(35, 131, 226, .18); }
.onb-row { display: flex; gap: 8px; }
.onb-row .onb-field { flex: 1; }
.onb-ws-prev { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--sb); margin-bottom: 26px; font-size: 14px; font-weight: 500; }
.onb-ws-prev .ws-av { width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; font-size: 13px; background: #e3e2e0; color: #55534e; }
.onb-inv-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.onb-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 4px 0 10px; border-radius: 13px; background: var(--bg-hover); font-size: 13px; }
.onb-chip button { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.onb-acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.onb-acts-r { display: flex; align-items: center; gap: 8px; }
.onb-btn { height: 38px; padding: 0 18px; border-radius: 8px; background: #2383e2; color: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.onb-btn:hover { background: #0077d4; }
.onb-btn:disabled { opacity: .45; cursor: default; background: #2383e2; }
.onb-btn.ghost { background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--border-2); height: 40px; }
.onb-btn.ghost:hover { background: var(--bg-hover); }
.onb-back, .onb-skip { color: var(--text-2); font-size: 14px; padding: 8px 10px; border-radius: 6px; }
.onb-back:hover, .onb-skip:hover { background: var(--bg-hover); }
.onb-note { font-size: 12.5px; color: var(--text-3); margin: 6px 0 0; line-height: 1.5; }
.onb-how { padding-left: 18px; text-align: left; align-self: stretch; }
.onb-how li { margin: 3px 0; }
.onb-pwa { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.onb-pwa-art { width: 240px; height: 150px; border-radius: 12px; background: var(--sb); box-shadow: 0 0 0 1px var(--border); position: relative; overflow: hidden; }
.onb-pwa-art::before { content: ""; position: absolute; left: 14px; top: 14px; right: 14px; height: 12px; border-radius: 6px; background: var(--border); }
.onb-pwa-art img { position: absolute; left: 50%; top: 58%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 12px; }
.onb-msg { min-height: 0; font-size: 13px; color: #d1453b; margin: -6px 0 8px; }
.onb-msg:empty { display: none; }
@media (max-width: 640px) { .onb-opts.three { grid-template-columns: 1fr; } .onb-card h1 { font-size: 24px; } .onb-acts { flex-wrap: wrap; } }
/* persamaan inline */
.eq-pop { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.eq-pop .menu-heading { padding: 0 2px; }
.eq-prev { min-height: 34px; padding: 6px 8px; border-radius: 6px; background: var(--sb); display: flex; align-items: center; overflow-x: auto; }
.eq-acts { display: flex; justify-content: flex-end; gap: 6px; }

@media (max-width: 860px) {
  .doc, .dbpage, .dbpage.full { padding: 0 18px 30vh 40px; }
  .page-head { padding-top: 40px; }
  .lib { padding: 24px 14px 60px; }
  .modal.modal-settings { width: 100vw; height: 100vh; }
}
.inline-db:not(.show-tools) .dbt-foot, .inline-db:not(.show-tools) .db-foot { display: none; }
.inline-db .idb-addrow td { padding: 0; }
.inline-db .idb-addrow .add-row { width: 100%; justify-content: flex-start; padding: 0 8px; border-radius: 0; background: none; display: flex; align-items: center; gap: 6px; }
.inline-db .idb-addrow .add-row:hover { background: var(--bg-hover); }
.inline-db .th-add { display: table-cell; }
.inline-db .th-add > svg, .inline-db .th-add > span { display: inline-block; vertical-align: middle; }
.inline-db .dbt thead tr { border-top: 0; }
.inline-db .dbt th.th-add { width: 100%; }
.inline-db .dbt th.th-title { min-width: 300px; }
.inline-db .dbt th:not(.th-add):not(.th-title) { min-width: 200px; }
.inline-db .idb-filler td:last-child, .inline-db .dbt td:last-child { border-right: 0; }
.inline-db .dbt th.th-add { text-align: left !important; }
.inline-db .th-add svg { margin: 0; }
.inline-db .table-wrap { border-top: 0; }
.inline-db .dbt thead th { border-top: 0; }
.setm-pane .setp-c select.menu-select { border-color: transparent; background-color: transparent; box-shadow: none; text-align: right; padding-right: 22px; cursor: pointer; }
.setm-pane .setp-c select.menu-select:hover { background-color: var(--bg-hover); }
