/* Scoped presentation helpers. Existing application tokens/fallbacks, no global overrides. */
.dbv-list { border-top:1px solid var(--border,#e7e7e5); }
.dbv-list ul { margin:0;padding:0;list-style:none; }
.dbv-list-row { display:flex;align-items:center;gap:20px;min-height:43px;padding:7px 10px;border-bottom:1px solid var(--border,#e7e7e5); }
.dbv-list-row:hover { background:var(--hover,#f7f7f5); }
.dbv-list-name { display:flex;align-items:center;gap:8px;flex:1 1 220px;min-width:100px;color:inherit;text-decoration:none;font-weight:500; }
.dbv-list-name:hover span { text-decoration:underline;text-underline-offset:3px; }
.dbv-list-name svg { flex:none;width:16px;height:16px;opacity:.65; }
.dbv-list-name>span { min-width:0; }
.dbv-list-properties { display:flex;align-items:center;justify-content:flex-end;gap:18px;flex:1 1 300px;min-width:0; }
.dbv-property { display:block;max-width:180px;min-width:0;color:var(--muted,#777);font-size:12px; }
.dbv-nowrap .dbv-property,.dbv-nowrap .dbv-list-name>span,.dbv-nowrap .dbv-card-property>span,.dbv-card.dbv-nowrap>strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.dbv-wrap .dbv-property,.dbv-wrap .dbv-list-name>span,.dbv-wrap .dbv-card-property>span,.dbv-card.dbv-wrap>strong { overflow-wrap:anywhere;white-space:normal; }
.dbv-wrap .dbv-list-properties { flex-wrap:wrap;row-gap:5px; }
.dbv-body.dbv-lines th,.dbv-body.dbv-lines td { border-right:1px solid var(--border,#e7e7e5); }
.dbv-body.dbv-no-lines th,.dbv-body.dbv-no-lines td { border-right:none; }
.dbv-body.dbv-wrap td { white-space:normal;overflow-wrap:anywhere; }
.dbv-body.dbv-wrap td input:not([type=checkbox]) { min-width:0;width:100%; }
.dbv-body.dbv-nowrap td { white-space:nowrap; }
.dbv-card { display:block;width:100%;text-align:left; }
.dbv-card>strong { display:block; }
.dbv-card>strong svg { width:15px;height:15px;vertical-align:middle;margin-right:6px; }
.dbv-card-properties { display:flex;flex-direction:column;gap:7px;margin-top:12px; }
.dbv-card-property { display:grid;grid-template-columns:minmax(55px,1fr) minmax(0,2fr);gap:8px;font-size:12px; }
.dbv-property-name { color:var(--muted,#777); }
.dbv-empty { text-align:center;padding:42px 20px;color:var(--muted,#777); }
.dbv-empty strong { color:var(--text,#37352f); }
.dbv-empty p { font-size:12px;margin:8px 0 0; }
.dbv-page-notice,.dbv-hint { color:var(--muted,#777);font-size:12px;line-height:1.55; }
.dbv-settings { width:min(100%,580px);max-height:75vh;overflow:auto; }
.dbv-settings header,.dbv-settings footer { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.dbv-settings h3 { font-size:17px;margin:0; }
.dbv-settings fieldset { margin:20px 0 0;padding:0 0 14px;border:0;border-bottom:1px solid var(--border,#e7e7e5);min-width:0; }
.dbv-settings legend { margin-bottom:10px;font-size:12px;font-weight:600;color:var(--muted,#777); }
.dbv-layouts { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px; }
.dbv-layouts button { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px 5px;border:1px solid var(--border,#e7e7e5);border-radius:6px;background:transparent;color:inherit;font-size:12px; }
.dbv-layouts button.selected { border-color:#73899d;background:var(--hover,#f3f5f7);box-shadow:inset 0 0 0 1px #73899d; }
.dbv-layouts svg { width:20px;height:20px; }
.dbv-setting { display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:36px;font-size:13px; }
.dbv-setting>span { min-width:0;overflow-wrap:anywhere; }
.dbv-setting select { max-width:60%; }
.dbv-setting input[type=checkbox] { flex:none;accent-color:#52728c; }
.dbv-settings footer { padding-top:12px; }
.dbv-query { display:flex;align-items:center;flex-wrap:wrap;gap:8px; }
.dbv-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.dbv-settings button:focus-visible,.dbv-list a:focus-visible,.dbv-card:focus-visible { outline:2px solid #52728c;outline-offset:3px; }
@media(max-width:600px) { .dbv-list-row { flex-wrap:wrap;gap:6px; }.dbv-list-properties { flex-basis:100%;justify-content:flex-start;padding-left:24px;flex-wrap:wrap; }.dbv-layouts { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* D06 date-only atomic editor. Scope both application cells and its modal portal. */
#app .app-shell .date-range-trigger { width:100%; min-height:32px; text-align:left; background:transparent; border:1px solid transparent; border-radius:5px; padding:5px 8px; font:inherit; white-space:normal; }
#app .app-shell .date-range-trigger:hover:not(:disabled) { border-color:var(--border,#ddd); }
#app .app-shell .date-range-trigger:focus-visible,
#app:has(.app-shell) ~ #overlay .date-range-editor :focus-visible { outline:2px solid var(--accent,#576bd1); outline-offset:2px; }
#app:has(.app-shell) ~ #overlay .date-range-editor .date-range-toggle { display:flex; align-items:center; gap:8px; }
#app:has(.app-shell) ~ #overlay .date-range-editor .date-range-toggle input { width:auto; }
#app:has(.app-shell) ~ #overlay .date-range-editor .date-range-fields { display:grid; gap:8px; margin:16px 0; }
#app:has(.app-shell) ~ #overlay .date-range-editor [hidden] { display:none; }
#app:has(.app-shell) ~ #overlay .date-range-editor #date-error { color:var(--danger,#b42318); min-height:1.5em; }

/* V01 monthly read-only timeline. Keep horizontal movement inside the chart. */
.app-shell .v01-timeline { min-width:0; }
.app-shell .v01-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:16px 0 8px; }
.app-shell .v01-toolbar button { min-height:36px; padding:6px 12px; }
.app-shell .v01-notice,.app-shell .v01-counts { color:var(--muted); font-size:13px; line-height:1.7; }
.app-shell .v01-scroll { max-width:100%; overflow-x:auto; border:1px solid var(--border); border-radius:8px; padding:12px; }
.app-shell .v01-axis,.app-shell .v01-lane { display:grid; grid-template-columns:repeat(var(--v01-days),minmax(2.5rem,1fr)); min-width:calc(var(--v01-days) * 2.5rem); }
.app-shell .v01-axis { border-bottom:1px solid var(--border); padding-bottom:8px; }
.app-shell .v01-day { text-align:center; color:var(--muted); font-size:12px; }
.app-shell .v01-lane { margin-top:8px; background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / var(--v01-days) - 1px),var(--border) calc(100% / var(--v01-days) - 1px),var(--border) calc(100% / var(--v01-days))); }
.app-shell .v01-bar { min-width:0; text-align:left; padding:8px; border:1px solid #b6cbd7; border-radius:5px; background:#e8f1f6; color:#254d65; min-height:48px; overflow:hidden; }
.app-shell .v01-bar-title { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; }
.app-shell .v01-bar-dates { display:block; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.app-shell .v01-bar:focus-visible,.app-shell .v01-scroll:focus-visible { outline:2px solid #276d98; outline-offset:2px; }
.app-shell .v01-undated { margin-top:16px; }
.app-shell .v01-undated button { display:block; text-align:left; padding:8px; }
.app-shell .v01-empty { padding:20px; color:var(--muted); }
@media(max-width:600px){.app-shell .v01-toolbar{gap:8px}.app-shell .v01-counts{font-size:12px}.app-shell .v01-scroll{padding:8px}}
.app-shell .v01-lanes { list-style:none; padding:0; margin:0; }
.app-shell .v01-row-label { grid-column:1 / -1; background:var(--bg,#fff); display:flex; gap:12px; padding:6px 0; align-items:baseline; }
.app-shell .v01-row-label strong { font-size:13px; }
.app-shell .v01-row-label span { font-size:12px; color:var(--muted); }
.app-shell .v01-bar { min-height:24px; height:24px; padding:2px 6px; }
.app-shell .v01-bar-title,.app-shell .v01-bar-dates,.app-shell .v01-bar-clipping { display:none; }

/* V01 count chart: text conveys every value; bars are decorative, no motion. */
.app-shell .db-chart { min-width:0; max-width:100%; padding:16px 0; }
.app-shell .db-chart-summary { font-size:16px; line-height:1.6; margin:0 0 8px; }
.app-shell .db-chart-notice,.app-shell .db-chart-scale { font-size:12px; line-height:1.7; color:var(--muted); overflow-wrap:anywhere; white-space:normal; }
.app-shell .db-chart-categories { list-style:none; margin:20px 0 0; padding:0; }
.app-shell .db-chart-category { display:grid; grid-template-columns:minmax(120px,240px) minmax(0,1fr) 60px; align-items:center; gap:14px; padding:10px 0; border-bottom:1px solid var(--border); }
.app-shell .db-chart-label { grid-column:1; grid-row:1; overflow-wrap:anywhere; white-space:normal; font-size:13px; line-height:1.6; }
.app-shell .db-chart-count { grid-column:3; grid-row:1; text-align:right; font-size:14px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.app-shell .db-chart-track { grid-column:2; grid-row:1; min-width:0; height:18px; background:var(--hover,#f3f5f7); border-left:1px solid var(--muted); }
.app-shell .db-chart-bar { display:block; height:100%; background:#52728c; border-radius:0 3px 3px 0; }
@media(max-width:600px){.app-shell .db-chart-category{grid-template-columns:minmax(0,1fr) 60px;gap:6px 12px}.app-shell .db-chart-label{grid-column:1;grid-row:1}.app-shell .db-chart-count{grid-column:2;grid-row:1}.app-shell .db-chart-track{grid-column:1 / -1;grid-row:2}}
.app-shell .db-chart-category-heading { display:contents; }
.app-shell .db-chart-scale { display:flex; justify-content:space-between; gap:12px; }

/* V01 local world map: static motion, bounded pan, semantic full result list. */
.app-shell .db-map { max-width:100%; min-width:0; padding:16px 0; white-space:normal; }
.app-shell .db-map p { font-size:12px; line-height:1.65; color:var(--muted); overflow-wrap:anywhere; }
.app-shell .db-map .db-map-summary { color:var(--text); font-size:14px; font-weight:600; }
.app-shell .db-map-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:14px 0; }
.app-shell .db-map-controls button { min-height:36px; padding:7px 12px; border:1px solid var(--border); border-radius:6px; background:var(--bg); }
.app-shell .db-map-surface { display:block; width:100%; max-width:100%; height:auto; min-width:0; border-radius:8px; background:#f7fafb; touch-action:pan-y; user-select:none; }
.app-shell .db-map-surface a { cursor:pointer; }
.app-shell .db-map-surface a:focus-visible circle { stroke:#111827; stroke-width:4px; }
.app-shell .db-map-controls button:focus-visible,.app-shell .db-map-row button:focus-visible { outline:2px solid #2563a6; outline-offset:2px; }
.app-shell .db-map-rows { max-height:420px; overflow:auto; padding:0; list-style:none; margin:0; border:1px solid var(--border); border-radius:8px; }
.app-shell .db-map-row { display:grid; grid-template-columns:minmax(140px,1fr) minmax(0,2fr); gap:5px 16px; padding:10px 14px; border-bottom:1px solid var(--border); font-size:12px; overflow-wrap:anywhere; }
.app-shell .db-map-row button { text-align:left; font-weight:600; min-width:0; white-space:normal; overflow-wrap:anywhere; }
.app-shell .db-map-row-status { color:var(--muted); }
.app-shell .db-map-place { grid-column:1 / -1; }
@media(max-width:600px){.app-shell .db-map-row{grid-template-columns:minmax(0,1fr)}.app-shell .db-map-controls{gap:5px}.app-shell .db-map-controls button{padding:6px 9px;min-height:40px}.app-shell .db-map-surface{min-height:180px}}
.app-shell .db-map-surface { stroke:none; touch-action:none; cursor:grab; }
.app-shell .db-map-surface > svg { width:1000px; height:500px; stroke:none; }
.app-shell .db-map-surface:active { cursor:grabbing; }

/* Finite light backgrounds retain a dark high-contrast foreground in all themes. */
.app-shell #db-body tr.db-row-color > td { background:var(--row-color); color:#20242a; }
.app-shell #db-body tr.db-row-color > td > button { color:#20242a; }
.app-shell .db-row-color-yellow { --row-color:#fff4c2; }
.app-shell .db-row-color-green { --row-color:#dff1df; }
.app-shell .db-row-color-blue { --row-color:#e1efff; }
.app-shell .db-row-color-purple { --row-color:#efe5fa; }
.app-shell .db-row-color-pink { --row-color:#fbe4ee; }
.app-shell .db-row-color-gray { --row-color:#e9ecef; }
.app-shell .db-row-color-badge { display:block; color:#334155; font-size:11px; line-height:1.6; font-weight:600; }
.app-shell .db-row-color-summary { font-size:12px; line-height:1.6; white-space:normal; overflow-wrap:anywhere; margin:10px 0; }
.db-row-color-settings button { padding:7px 10px; margin:4px; }
.db-row-color-editor label { display:flex; flex-direction:column; gap:7px; margin:14px 0; min-width:0; }
.db-row-color-editor select { width:100%; min-width:0; max-width:100%; min-height:40px; }
.db-row-color-editor p,.db-row-color-settings p { overflow-wrap:anywhere; white-space:normal; }
@media print { .app-shell #db-body tr.db-row-color > td { background:white!important; color:black!important; } .app-shell .db-row-color-badge { color:black; } }

/* V07 scoped calendar date movement */
.calendar-date-row{display:flex;align-items:center;gap:4px;margin:3px 0;min-width:0}
.calendar-date-row>button:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.calendar-cell .calendar-date-row .calendar-date-move-button,.dbv-undated .calendar-date-move-button{flex:none;width:auto;font-size:11px;padding:3px 5px;opacity:.8}
.calendar-date-row button:focus-visible{outline:2px solid var(--accent,#526bea);outline-offset:2px}
.calendar-cell.drop-target{outline:2px solid var(--accent,#526bea);outline-offset:-2px}
.calendar-date-move{padding:20px;display:grid;gap:12px}
.calendar-date-move input{padding:10px;max-width:260px}
.calendar-date-move p{margin:0;line-height:1.6}
.calendar-date-move [role=alert]{color:var(--danger,#b44536)}
.calendar-move-actions{display:flex;flex-wrap:wrap;gap:8px}
.calendar-move-actions button{padding:8px 12px;border:1px solid var(--border,#ddd);border-radius:6px}

/* AF02 location-scoped independent table, no global overrides. */
#app > .app-shell .linked-view { margin-top:20px;padding:16px;border:1px solid var(--border,#ddd);border-radius:8px;min-width:0;overflow-wrap:anywhere; }
#app > .app-shell .linked-view .inline-heading,#app > .app-shell .linked-view .pager,#app > .app-shell .linked-view-condition { display:flex;flex-wrap:wrap;gap:8px;align-items:center; }
#app > .app-shell .linked-view input:not([type=checkbox]),#app > .app-shell .linked-view select { max-width:100%;min-width:0;width:min(230px,100%);padding:6px; }
#app > .app-shell .linked-view fieldset { min-width:0;margin:8px 0;padding:8px; }
#app > .app-shell .linked-view .inline-table-wrap { overflow:auto;max-width:100%; }
#app > .app-shell .linked-view table { border-collapse:collapse;min-width:100%; }
#app > .app-shell .linked-view th,#app > .app-shell .linked-view td { padding:8px;border-bottom:1px solid var(--border,#ddd);text-align:left;max-width:280px;overflow-wrap:anywhere; }
#app > .app-shell .linked-view-hidden { display:flex;flex-wrap:wrap;gap:10px;margin:12px 0; }
#app > .app-shell .linked-view-settings { margin:12px 0; }

/* Table inline editing (public/db-inline-edit.mjs): cell controls, picker popover, add-property popover. */
.table-wrap{position:relative}
.table-wrap td{position:relative;vertical-align:middle}
.dbi-pick{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;min-height:28px;padding:2px 4px;border-radius:5px;text-align:left}
.dbi-pick:disabled{opacity:1;cursor:default;background:none}
.dbi-input,.dbi-date,.dbi-title{width:100%;min-height:28px;padding:2px 4px;border:1px solid transparent;border-radius:5px;background:transparent;color:inherit;font:inherit}
.dbi-input:hover:not(:disabled),.dbi-date:hover:not(:disabled),.dbi-title:hover{border-color:var(--line)}
.dbi-input:focus,.dbi-date:focus,.dbi-title:focus,.dbi-pick:focus-visible,.dbi-option:focus-visible,.dbi-add:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.dbi-input:disabled,.dbi-date:disabled{opacity:1;color:inherit;background:transparent}
.dbi-number{display:flex;align-items:center;gap:6px}
.dbi-number .dbi-input{flex:1;min-width:0}
.dbi-pop{position:absolute;z-index:30;top:100%;left:0;min-width:220px;max-width:320px;max-height:320px;overflow:auto;display:grid;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 8px 24px rgba(0,0,0,.14)}
.dbi-results{display:grid;gap:4px}
.dbi-options{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.dbi-option{width:100%;justify-content:space-between;padding:4px 6px}
.dbi-option.selected{background:var(--soft)}
.dbi-check{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.dbi-create{justify-content:flex-start;width:100%;padding:4px 6px;color:var(--accent)}
.dbi-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.dbi-foot .muted{margin:0}
.dbi-error{margin:0;color:#b42318;font-size:12px}
.dbi-error:empty{display:none}
.dbi-add-col{width:44px;padding:0 4px}
.dbi-add{width:28px;height:28px;padding:0;font-size:18px;line-height:1}
.dbi-menu{min-width:28px;padding:6px 7px}
.dbi-prop-pop{position:absolute;z-index:30;top:4px;right:0;width:260px;display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 8px 24px rgba(0,0,0,.14)}
.dbi-prop-pop label{font-size:12px;color:var(--muted)}
.dbi-prop-pop input,.dbi-prop-pop select{padding:4px 6px;border:1px solid var(--line);border-radius:5px;background:var(--paper)}
.dbi-prop-pop .modal-actions{margin-top:4px}

/* G017 view tabs: scrollable tab strip; menus and the create popover are fixed, so the scroll box never clips them. */
.view-tab-row{display:flex;align-items:center;gap:4px;flex:1;min-width:0;position:relative}
.view-tab-row .view-tabs{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;-webkit-overflow-scrolling:touch;align-items:center}
.view-tab-wrap{display:inline-flex;align-items:center;flex:none;white-space:nowrap}
.view-tab-more,.view-tab-add,.view-tab-settings{border:0;background:transparent;color:var(--muted,#99958b);padding:4px 6px;border-radius:5px;cursor:pointer;flex:none;line-height:1}
.view-tab-more:hover,.view-tab-add:hover,.view-tab-settings:hover{background:var(--hover,#f1efe9)}
.view-tab-add{font-size:16px}
.view-tab-settings{margin-left:auto}
.view-tab-menu,.view-tab-create{position:fixed;z-index:60;background:var(--paper,#fff);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.14);padding:6px}
.view-tab-menu{display:flex;flex-direction:column;min-width:160px}
.view-tab-menu button{text-align:left;border:0;background:transparent;padding:7px 10px;border-radius:5px;cursor:pointer;font-size:13px}
.view-tab-menu button:hover,.view-tab-menu button:focus-visible{background:var(--hover,#f1efe9)}
.view-tab-create{width:300px;max-width:calc(100vw - 16px);display:grid;gap:8px;padding:12px}
.view-tab-create-title{margin:0;font-weight:600;font-size:13px}
.view-tab-layouts{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.view-tab-layout{border:1px solid var(--line);background:transparent;border-radius:6px;padding:6px 4px;font-size:12px;cursor:pointer;text-align:center}
.view-tab-layout.active{border-color:#65537e;background:#f0edf5;color:#65537e;font-weight:600}
.view-tab-create label{font-size:12px;color:var(--muted)}
.view-tab-create input{padding:6px 8px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font-size:13px;min-width:0}
.view-tab-scope,.view-tab-error{margin:0;font-size:12px;color:var(--muted)}
.view-tab-error{color:#b42318}
.view-tab-create-actions,.view-tab-dialog .saved-view-actions{display:flex;gap:6px;justify-content:flex-end}
.view-tab-dialog{display:grid;gap:8px}
.view-tab-dialog input{padding:6px 8px;border:1px solid var(--line);border-radius:6px;font-size:13px}
@media (max-width:600px){.view-tab-row .view-tabs{padding-bottom:2px}.view-tab-create{width:min(92vw,300px)}}

/* DB page chrome (F019): icon toolbar, popovers, chip row, footer, text-like cells. */
.db-tools { display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end; }
.db-tools .dbv-query input { min-width:160px; }
.db-tool-icon { display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted,#6b6b6b);font:inherit;font-size:14px;cursor:pointer; }
.db-tool-icon:hover:not(:disabled),.db-tool-icon[aria-expanded="true"] { background:var(--hover,#f1f1ef);color:inherit; }
.db-tool-icon.is-active { color:var(--accent,#2563eb); }
.db-tool-icon:disabled { opacity:.45;cursor:default; }
.db-tool-icon:focus-visible { outline:2px solid var(--accent,#2563eb);outline-offset:1px; }
.db-pop-wrap { position:relative;display:inline-flex; }
.db-pop { position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:240px;max-width:min(92vw,340px);display:grid;gap:10px;padding:12px;border:1px solid var(--border,#e4e4e1);border-radius:8px;background:var(--paper,#fff);box-shadow:0 8px 24px rgba(0,0,0,.14); }
.db-pop select { width:100%;min-height:30px;font-size:13px; }
.db-pop-actions { display:flex;flex-wrap:wrap;gap:6px; }
.db-chips-host { min-height:0; }
.db-chips { display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 2px; }
.db-chip { display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 4px 2px 8px;border:1px solid var(--border,#e4e4e1);border-radius:999px;font-size:12px;background:var(--hover,#f7f7f5); }
.db-chip-x { border:0;background:transparent;color:var(--muted,#777);font-size:14px;line-height:1;padding:0 4px;cursor:pointer; }
.db-chip-add { border:0;background:transparent;color:var(--muted,#777);font:inherit;font-size:12px;padding:2px 6px;cursor:pointer; }
.db-chip-add:hover,.db-chip-x:hover { color:inherit; }
.db-footer { display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:6px 0 24px;font-size:13px; }
.db-footer-add { border:0;background:transparent;color:var(--muted,#6b6b6b);font:inherit;padding:4px 2px;cursor:pointer; }
.db-footer-add:hover { color:inherit; }
.db-footer-count { margin-left:auto;color:var(--muted,#8a8a8a);font-size:12px; }
.db-sentinel { flex-basis:100%;height:1px; }
.dbv-tools { margin-top:12px; }
.dbv-tool-list { display:flex;flex-wrap:wrap;gap:6px; }
.dbi-view { display:block;width:100%;min-height:28px;padding:2px 4px;border:1px solid transparent;border-radius:5px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:text; }
button.dbi-view:hover { border-color:var(--line,#e4e4e1); }
button.dbi-view:focus-visible { outline:2px solid var(--accent,#2563eb);outline-offset:1px; }
.dbi-view.is-empty { color:var(--muted,#9b9b9b); }
.table-wrap .person-trigger { border-color:transparent !important; background:transparent !important; padding-left:4px; }
.table-wrap .person-trigger:hover:not(:disabled) { border-color:var(--line,#e4e4e1) !important; }
