/* Tvůrce vlastní sestavy (jedna obrazovka, Overview:builder) a zobrazení vlastní sestavy (rc-*).
   Barvy jen z proměnných --rc-* v report-catalog.css (světlý i tmavý režim). */

/* ===== tlačítka ===== */
.rb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 38px;
    padding: .5rem .95rem; border-radius: .5rem; border: 1px solid var(--rc-line); background: var(--rc-surface);
    color: var(--rc-text); font-size: .85rem; font-weight: 600; text-transform: none; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.rb-btn:hover { background: var(--rc-surface-2); color: var(--rc-text); }
.rb-btn--primary { background: var(--rc-text); border-color: var(--rc-text); color: var(--rc-surface); }
.rb-btn--primary:hover { background: var(--rc-text); color: var(--rc-surface); opacity: .9; }
.rb-btn--soft { background: var(--rc-info-soft); border-color: transparent; color: var(--rc-info); }
.rb-btn--soft:hover { background: var(--rc-info-soft); color: var(--rc-info); filter: brightness(.97); }
.rb-btn--danger { color: var(--rc-accent); border-color: var(--rc-accent); }
.rb-btn--danger:hover { background: var(--rc-accent-soft); color: var(--rc-accent); }
.rb-btn--sm { min-height: 32px; padding: .3rem .7rem; font-size: .8rem; }
.rb-btn[hidden] { display: none; }
.rb-link { border: 0; background: none; color: var(--rc-info); font-size: .82rem; padding: .15rem 0; font-weight: 600; }
.rb-editor :is(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--rc-info); outline-offset: 2px; }

/* ===== pole formuláře (Material Dashboard kreslí .form-control bez rámečku) ===== */
.rb-editor .form-control, .rb-editor .form-select {
    border: 1px solid var(--rc-line); border-radius: .5rem; background-color: var(--rc-surface); color: var(--rc-text);
    padding: .5rem .75rem; font-size: .88rem; line-height: 1.4; box-shadow: inset 0 1px 2px rgba(20, 30, 60, .06);
}
.rb-editor .form-select { padding-right: 2.25rem; background-position: right .75rem center; }
.rb-editor .form-control-sm, .rb-editor .form-select-sm { padding: .32rem .6rem; font-size: .8rem; }
.rb-editor .form-select-sm { padding-right: 2rem; }
.rb-editor .form-control:focus, .rb-editor .form-select:focus { border-color: var(--rc-info); box-shadow: 0 0 0 3px var(--rc-info-soft); outline: none; }
.rb-editor .form-control::placeholder { color: var(--rc-faint); opacity: 1; }
.rb-editor .form-control[aria-invalid="true"] { border-color: var(--rc-accent); box-shadow: 0 0 0 3px var(--rc-accent-soft); }
.rb-editor input[type="checkbox"], .rb-editor input[type="radio"] { accent-color: var(--rc-info); }
.rb-label { display: block; font-size: .8rem; font-weight: 600; margin: 0 0 .35rem; padding: 0; color: var(--rc-text); }
.rb-editor fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rb-editor legend { float: none; width: auto; }
.rb-muted { color: var(--rc-muted); font-size: .82rem; margin: 0; }
.rb-status { font-size: .78rem; color: var(--rc-muted); margin: .4rem 0 0; }
.rb-status:empty { display: none; }
.rb-warn-text { color: var(--rc-warn); font-size: .78rem; margin: .4rem 0 0; }
.rb-warn-text[hidden] { display: none; }
.rb-error {
    display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; padding: .5rem .75rem; margin-bottom: .75rem; border-radius: 8px;
    background: var(--rc-accent-soft); color: var(--rc-accent); font-size: .8rem; font-weight: 600;
}
.rb-error[hidden] { display: none; }

/* ===== hlavička ===== */
.rb-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.25rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rc-line); }
.rb-top-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.rb-top-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rc-faint); }
.rb-dirty { display: inline-block; margin-left: .4rem; padding: .05rem .45rem; border-radius: 5px; background: var(--rc-warn-soft); color: var(--rc-warn); letter-spacing: 0; text-transform: none; font-weight: 600; }
.rb-dirty[hidden] { display: none; }
.rb-title-input, .rb-desc-input {
    width: 100%; border: 1px solid transparent; border-radius: .45rem; background: transparent; color: var(--rc-text);
    padding: .1rem .4rem; margin-left: -.4rem; transition: border-color .12s, background .12s;
}
.rb-title-input { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.rb-desc-input { font-size: .88rem; color: var(--rc-muted); resize: none; overflow: hidden; line-height: 1.45; }
.rb-title-input::placeholder, .rb-desc-input::placeholder { color: var(--rc-faint); opacity: 1; }
.rb-title-input:hover, .rb-desc-input:hover { border-color: var(--rc-line); background: var(--rc-surface-2); }
.rb-title-input:focus, .rb-desc-input:focus { border-color: var(--rc-info); background: var(--rc-surface); outline: none; box-shadow: 0 0 0 3px var(--rc-info-soft); }
.rb-title-input[aria-invalid="true"] { border-color: var(--rc-accent); background: var(--rc-accent-soft); }
.rb-field-error { color: var(--rc-accent); font-size: .78rem; font-weight: 600; }
.rb-field-error:empty { display: none; }
.rb-top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rb-icon-btn {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .45rem .75rem; border-radius: .5rem;
    border: 1px solid var(--rc-line); background: var(--rc-surface); color: var(--rc-text); font-size: .82rem; font-weight: 600;
}
.rb-icon-btn:hover, .rb-icon-btn[aria-expanded="true"] { background: var(--rc-info-soft); border-color: var(--rc-info); color: var(--rc-info); }
.rb-pop-wrap { position: relative; }
.rb-pop {
    position: absolute; z-index: 20; top: calc(100% + .4rem); right: 0; width: 380px; max-width: calc(100vw - 32px);
    padding: 1rem; border-radius: 12px; background: var(--rc-surface); border: 1px solid var(--rc-line);
    box-shadow: 0 16px 40px -12px rgba(20, 30, 60, .35); color: var(--rc-text); font-size: .82rem;
}
.rb-pop[hidden] { display: none; }
/* zavírací křížek v pravém horním rohu každého popupu */
.rb-pop-x { position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; }
.rb-pop > .rb-pop-x + .rb-pop-note { margin-right: 1.75rem; }
.rb-pop--sm { width: 280px; }
.rb-pop--icons { left: 0; right: auto; width: 300px; }
.rb-head-icon-btn { position: relative; border: 0; cursor: pointer; padding: 0; }
.rb-head-icon-btn:hover, .rb-head-icon-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--rc-info-soft), 0 0 0 4px var(--rc-info); }
.rb-head-icon-edit {
    position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
    background: var(--rc-surface); color: var(--rc-text); border: 1px solid var(--rc-line); font-size: .55rem; opacity: 0; transition: opacity .12s;
}
.rb-head-icon-btn:hover .rb-head-icon-edit, .rb-head-icon-btn:focus-visible .rb-head-icon-edit, .rb-head-icon-btn[aria-expanded="true"] .rb-head-icon-edit { opacity: 1; }
.rb-pop-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-size: .9rem; }
.rb-pop-sec { margin-bottom: 1rem; }
.rb-pop-note { color: var(--rc-muted); margin: 0 0 1rem; }
.rb-vopt { display: grid; grid-template-columns: 20px 1fr; gap: .55rem; padding: .6rem .7rem; border: 1px solid var(--rc-line); border-radius: 10px; cursor: pointer; margin-bottom: .4rem; color: var(--rc-text); }
.rb-vopt input { margin-top: .2rem; }
.rb-vopt b { font-weight: 600; font-size: .84rem; display: block; }
.rb-vopt small { display: block; color: var(--rc-muted); font-size: .75rem; }
.rb-vopt:has(input:checked) { border-color: var(--rc-info); background: var(--rc-info-soft); }
.rb-icons { display: flex; flex-wrap: wrap; gap: .35rem; }
.rb-icon { margin: 0; }
.rb-icon span { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--rc-line); display: grid; place-items: center; color: var(--rc-muted); cursor: pointer; background: var(--rc-surface); }
.rb-icon input:checked + span { border-color: var(--rc-info); background: var(--rc-info-soft); color: var(--rc-info); }
.rb-icon input:focus-visible + span { outline: 2px solid var(--rc-info); outline-offset: 2px; }
.rb-toggle { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--rc-text); cursor: pointer; }

.rb-server-errors { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 1.5rem 0; padding: .6rem .85rem; border-radius: 10px; background: var(--rc-accent-soft); color: var(--rc-text); font-size: .82rem; }
.rb-server-errors[hidden] { display: none; }
.rb-server-errors > i { color: var(--rc-accent); margin-top: .15rem; }
.rb-server-errors > div { flex: 1; }
.rb-server-errors b { display: block; color: var(--rc-accent); }

/* ===== sekce přes celou šířku ===== */
.rb-sections { display: flex; flex-direction: column; }
.rb-section { padding: 1.1rem 1.5rem 1.25rem; border-bottom: 1px solid var(--rc-line); min-width: 0; }
.rb-section:last-child { border-bottom: 0; }
.rb-section--flush { padding: 0; }
.rb-section-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: .75rem; }
.rb-section-title { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-size: .95rem; font-weight: 700; color: var(--rc-text); }
.rb-section-meta { font-size: .76rem; color: var(--rc-muted); }
.rb-search { margin-left: auto; flex: 0 1 320px; }

/* zdroj: segmentový přepínač */
.rb-seg { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; }
.rb-seg-item { position: relative; display: flex; min-width: 190px; flex: 1 1 190px; max-width: 280px; }
.rb-seg-btn {
    display: flex; align-items: flex-start; gap: .55rem; padding: .55rem 1.9rem .55rem .8rem; border-radius: 10px; text-align: left; width: 100%;
    border: 1px solid var(--rc-line); background: var(--rc-surface); color: var(--rc-text);
}
.rb-seg-item > .rb-tip { position: absolute; top: .45rem; right: .4rem; }
.rb-seg-btn > i { color: var(--rc-muted); margin-top: .2rem; }
.rb-seg-text { display: flex; flex-direction: column; min-width: 0; }
.rb-seg-text b { font-size: .85rem; }
.rb-seg-text small { font-size: .72rem; color: var(--rc-muted); line-height: 1.3; }
.rb-seg-btn:hover { border-color: var(--rc-info); }
.rb-seg-btn[aria-checked="true"] { border-color: var(--rc-info); background: var(--rc-info-soft); box-shadow: 0 0 0 1px var(--rc-info); }
.rb-seg-btn[aria-checked="true"] > i, .rb-seg-btn[aria-checked="true"] b { color: var(--rc-info); }
.rb-confirm { margin-top: .75rem; padding: .75rem 1rem; border-radius: 10px; background: var(--rc-warn-soft); color: var(--rc-text); font-size: .82rem; }
.rb-confirm[hidden] { display: none; }
.rb-confirm-title { font-weight: 700; color: var(--rc-warn); margin: 0 0 .25rem; }

/* nápověda "i" */
.rb-tip { position: relative; display: inline-flex; vertical-align: middle; }
.rb-tip-btn { border: 0; background: none; padding: .1rem .25rem; color: var(--rc-info); font-size: .85rem; line-height: 1; cursor: pointer; }
.rb-tip-bubble {
    position: absolute; z-index: 15; top: calc(100% + .35rem); left: 50%; transform: translateX(-50%); width: 280px; max-width: calc(100vw - 32px);
    padding: .6rem .75rem; border-radius: 8px; background: var(--rc-text); color: var(--rc-surface); font-size: .76rem; font-weight: 400;
    line-height: 1.45; text-transform: none; letter-spacing: 0; box-shadow: 0 10px 24px -10px rgba(20, 30, 60, .5);
}
.rb-tip-bubble[hidden] { display: none; }

/* údaje */
/* skupiny údajů pod sebou, tlačítka každé skupiny se roztáhnou přes celou šířku */
.rb-fields { display: flex; flex-direction: column; gap: 1rem; }
.rb-fg-title { display: flex; align-items: center; gap: .2rem; margin: 0 0 .4rem; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rc-faint); font-weight: 700; }
.rb-fl { display: flex; flex-wrap: wrap; gap: .3rem; }
.rb-fbtn { border: 1px solid var(--rc-line); background: var(--rc-surface); border-radius: 7px; padding: .22rem .55rem; font-size: .78rem; color: var(--rc-text); }
.rb-fbtn i { color: var(--rc-faint); font-size: .65rem; }
.rb-fbtn:hover { border-color: var(--rc-info); }
.rb-fbtn[aria-pressed="true"] { background: var(--rc-info); border-color: var(--rc-info); color: var(--rc-surface); }
.rb-fbtn[aria-pressed="true"] i { color: var(--rc-surface); }
.rb-fbtn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* vybrané sloupce */
.rb-colstrip { display: flex; flex-wrap: wrap; gap: .4rem; }
.rb-col { display: inline-flex; align-items: center; gap: 1px; border: 1px solid var(--rc-line); background: var(--rc-surface-2); border-radius: 8px; padding: 2px 3px 2px 2px; font-size: .78rem; position: relative; }
.rb-col.is-renamed::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--rc-info); }
.rb-col .rb-grip { cursor: grab; color: var(--rc-faint); padding: 0 .2rem; }
.rb-col { cursor: grab; }
.rb-col:active { cursor: grabbing; }
.rb-col-no { font-size: .68rem; color: var(--rc-faint); min-width: 1rem; text-align: center; }
.rb-col-lock { color: var(--rc-faint); font-size: .65rem; margin: 0 .15rem; }
.rb-col input { border: 0; background: transparent; font-size: .78rem; padding: .15rem .1rem; color: var(--rc-text); max-width: 220px; }
.rb-col input:focus { outline: 1px solid var(--rc-info); border-radius: 4px; background: var(--rc-surface); }
.rb-col .report-menu-tool { width: 22px; height: 22px; font-size: .65rem; }

/* filtry a řazení */
.rb-filters { display: flex; flex-direction: column; gap: .45rem; }
.rb-frow { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 200px) minmax(0, 1fr) 28px; gap: .4rem; align-items: center; padding: .45rem .55rem; background: var(--rc-surface-2); border: 1px solid var(--rc-line); border-radius: 9px; }
.rb-frow.is-bad { border-left: 3px solid var(--rc-warn); }
.rb-frow .rb-f-value[hidden] { display: none; }
.rb-frow .rb-f-del { grid-column: 4; grid-row: 1; }
.rb-fmsg { grid-column: 1 / -1; margin: 0; font-size: .74rem; color: var(--rc-warn); }
.rb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; min-width: 0; }
.rb-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .2rem .15rem .5rem; border-radius: 6px; background: var(--rc-info-soft); color: var(--rc-info); font-size: .76rem; font-weight: 600; }
.rb-tag-x { border: 0; background: none; color: inherit; padding: 0 .2rem; font-size: .7rem; line-height: 1; }
.rb-tag-input { width: 9rem; border: 1px dashed var(--rc-line); border-radius: 6px; background: var(--rc-surface); color: var(--rc-text); font-size: .76rem; padding: .25rem .5rem; }
.rb-tag-input:focus { border-style: solid; border-color: var(--rc-info); outline: none; box-shadow: 0 0 0 3px var(--rc-info-soft); }
.rb-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .75rem; }
.rb-filter-bar-gap { flex: 1; }
.rb-inline-field { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-size: .8rem; color: var(--rc-muted); }
.rb-inline-field select { width: auto; min-width: 150px; }

/* náhled */
.rb-preview-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .5rem 1rem; padding: 1.1rem 1.5rem .85rem; }
.rb-preview-title small { display: block; margin-top: .15rem; font-size: .76rem; color: var(--rc-muted); }
.rb-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rc-ok); box-shadow: 0 0 0 3px var(--rc-ok-soft); }
.rb-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.rb-chips[hidden] { display: none; }
.rb-chips-label { font-size: .72rem; color: var(--rc-muted); margin-right: .15rem; }
.rb-chip { display: inline-flex; align-items: center; padding: .15rem .5rem; border: 1px solid var(--rc-line); border-radius: 6px; background: var(--rc-surface-2); font-size: .72rem; color: var(--rc-text); }
.rb-inline-error { margin: 0 1.5rem .5rem; padding: .45rem .7rem; border-radius: 8px; background: var(--rc-accent-soft); color: var(--rc-accent); font-size: .8rem; }
.rb-inline-error[hidden] { display: none; }
.rb-table-wrap { border-top: 1px solid var(--rc-line); overflow-x: auto; transition: opacity .12s; }
.rb-table-wrap.is-busy { opacity: .55; }
.rb-table-wrap .rc-table th { text-transform: none; letter-spacing: 0; font-size: .75rem; color: var(--rc-text); background: var(--rc-surface-2); padding: .6rem .9rem; }
.rb-table-wrap .rc-table th.is-sorted { color: var(--rc-info); }
.rb-table-wrap .rc-table td { padding: .5rem .9rem; vertical-align: middle; }
.rb-table-wrap .rc-table .rb-td-first { font-weight: 700; }
.rb-badge { display: inline-block; padding: .05rem .45rem; border-radius: 6px; background: var(--rc-surface-2); border: 1px solid var(--rc-line); font-size: .74rem; }
.rb-table-wrap .rc-table tfoot td { background: var(--rc-info-soft); }
.rb-table-wrap .rc-table tfoot td.rb-total-val { color: var(--rc-info); }
.rb-skeleton { height: 160px; margin: 1rem 1.5rem; border-radius: 8px; background: repeating-linear-gradient(var(--rc-surface-2) 0 28px, var(--rc-surface) 28px 36px); }
.rb-note { padding: .6rem 1.5rem; color: var(--rc-muted); font-size: .75rem; border-top: 1px solid var(--rc-line); margin: 0; }
.rb-empty { padding: 2.5rem 1.25rem; text-align: center; color: var(--rc-muted); }
.rb-empty i { font-size: 2rem; color: var(--rc-faint); display: block; margin-bottom: .5rem; }
.rb-empty p { margin: 0; }

/* ===== zobrazení vlastní sestavy ===== */
.rc-table { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--rc-text); }
.rc-table th { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rc-faint); white-space: nowrap; padding: .55rem .9rem; }
.rc-table td { white-space: nowrap; padding: .45rem .9rem; }
.rc-table tfoot td { font-weight: 700; background: var(--rc-surface-2); }
.rc-table-wrap { border-top: 1px solid var(--rc-line); }
.rc-result-bar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: .6rem 1.25rem; color: var(--rc-muted); font-size: .8rem; border-top: 1px solid var(--rc-line); }
/* hlavička sestavy / tvůrce v novějším jazyce (Kontrola výkazů, dashboard): plochá ikona v řádku s nadpisem */
.rc-head { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; }
.rc-head-icon { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: .75rem; background: #344767; color: #fff; font-size: 1.25rem; }
body.dark-mode .rc-head-icon { background: var(--dm-accent-primary, #38bdf8); color: #0f172a; }
.rc-head > .rc-report-head { flex: 1 1 auto; min-width: 0; }
.rc-report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; }
.rc-report-title { min-width: 0; }
.rc-report-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; flex-shrink: 0; }
.rc-report-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex-shrink: 0; }
.rc-report-period { margin: .15rem 0 0; font-size: .8rem; font-weight: 600; color: var(--rc-text); }
.rc-report-count { font-weight: 400; color: var(--rc-muted); }
.rc-report-desc { margin: .1rem 0 0; font-size: .8rem; color: var(--rc-muted); }

.rc-report-actions a.report-pin-btn { text-decoration: none; }
.rc-delete { position: relative; }
.rc-delete summary { list-style: none; cursor: pointer; }
.rc-delete summary::-webkit-details-marker { display: none; }
.rc-delete-panel {
    position: absolute; z-index: 5; top: calc(100% + .35rem); right: 0; width: 280px; max-width: calc(100vw - 32px); padding: .75rem; border-radius: 10px;
    background: var(--rc-surface); border: 1px solid var(--rc-line); box-shadow: 0 10px 30px rgba(20, 30, 60, .2); font-size: .8rem; color: var(--rc-text);
}
.rc-grid { padding-top: 0; }
.rc-grid .datagrid form, .rc-grid .datagrid table { margin-top: 0; }
.rc-head + .rc-grid, .card-header.rc-head { padding-bottom: .75rem; }
.rc-pager { display: flex; flex-wrap: wrap; gap: .3rem; padding: .75rem 1.25rem; border-top: 1px solid var(--rc-line); }
.rc-pager a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .rb-table-wrap, .rb-title-input, .rb-desc-input { transition: none; } }

@media (max-width: 991px) {
    .rb-frow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
    .rb-frow .rb-f-del { grid-column: 3; }
    .rb-frow > .rb-f-value, .rb-frow > .rb-tags { grid-column: 1 / -1; }
}

/* mobil */
@media (max-width: 575.98px) {
    .rc-head { padding: 1rem; gap: .75rem; }
    .rc-head-icon { width: 40px; height: 40px; font-size: 1.05rem; border-radius: .6rem; }
    .rc-report-head { flex-direction: column; }
    .rc-report-side { align-items: flex-start; clear: both; width: 100%; }
    .rc-report-actions { justify-content: flex-start; width: 100%; }
    .rc-delete-panel { right: auto; left: 0; }

    .rb-top { padding: 1rem; }
    .rc-head-icon.rb-head-icon-btn { width: 40px; height: 40px; font-size: 1.05rem; }
    .rb-title-input { font-size: 1.15rem; }
    .rb-top-actions { width: 100%; }
    .rb-top-actions [data-rb-save] { flex: 1; }
    .rb-pop { right: auto; left: 0; }
    .rb-section { padding: 1rem; }
    .rb-preview-head { padding: 1rem; grid-template-columns: 1fr; }
    .rb-note { padding: .6rem 1rem; }
    .rb-search { flex: 1 1 100%; margin-left: 0; }
    .rb-seg-item { max-width: none; }
    .rb-frow { grid-template-columns: minmax(0, 1fr) 28px; }
    .rb-frow .rb-f-del { grid-column: 2; }
    .rb-frow > .rb-f-op, .rb-frow > .rb-f-value, .rb-frow > .rb-tags { grid-column: 1 / -1; }
    .rb-filter-bar-gap { display: none; }
    .rb-inline-field { flex: 1 1 100%; }
    .rb-inline-field select { flex: 1; }
}
