.smart-list-controls{padding:12px 0;display:grid;gap:9px}.smart-saved,.smart-bar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.smart-saved-item{border:1px solid var(--border);border-radius:10px;background:#fff;padding:9px 13px;color:#334155;font-weight:700;cursor:pointer}.smart-saved-item:hover,.smart-saved-item:focus-visible{border-color:var(--accent)}.smart-bar input{min-width:220px;max-width:380px}.smart-status{font-size:12px;color:#64748b}.smart-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:12px 0;flex-wrap:wrap}.smart-pager span{margin-right:auto;color:#64748b}.smart-pager select{width:auto}.smart-th{display:flex;gap:3px;align-items:center;white-space:nowrap}.smart-th button{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:4px;cursor:pointer}.smart-th button:last-child{font-size:11px;color:#64748b}.smart-th button.active{color:var(--accent)}.smart-menu{position:fixed;z-index:100;width:276px;max-height:min(380px,70vh);overflow:auto;padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 16px 40px #0f172a24}.smart-menu>strong{display:inline-block;margin-bottom:10px}.smart-menu-close{float:right;border:0;background:transparent;font-size:20px;cursor:pointer}.smart-menu input[type=search],.smart-menu input[type=date]{width:100%;margin:4px 0 9px}.smart-menu p{font-size:12px;color:#64748b}.smart-options{max-height:205px;overflow:auto}.smart-options label,.smart-column-row{display:flex;align-items:center;gap:8px;padding:6px 2px;font-size:13px}.smart-options input,.smart-column-row input{width:auto}.smart-columns{border:1px solid var(--border);border-radius:12px;padding:20px;min-width:min(360px,90vw)}.smart-columns::backdrop{background:#0f172a66}.smart-columns .btn{margin:12px 6px 0 0}.smart-save-form{display:flex;gap:8px;max-width:420px}.dashboard-head-actions{display:flex;align-items:center;gap:8px}.dashboard-repair-board .rep-pagehead,.dashboard-repair-board .rep-tabs{display:none}.dashboard-repair-board{margin:8px 0 18px}
.smart-column-list{display:grid;gap:4px;max-height:55vh;overflow:auto}.smart-column-row{display:flex;gap:8px;align-items:center;padding:7px 9px;border:1px solid #e2e8f0;border-radius:7px;background:#fff}.smart-column-row[draggable=true]{cursor:grab}.smart-column-row.drop-target{border-color:var(--accent);background:#eaf2ff}.smart-column-row label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0}.smart-column-row .btn{margin:0;padding:4px 8px}.smart-column-handle{color:#94a3b8;font-size:16px}.smart-column-hint,.smart-column-message{font-size:12px;color:#64748b}.smart-column-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}.smart-column-actions .btn{margin:0}.smart-columns{width:min(500px,94vw)}

/* Shared list toolbar and quick-filter cards. */
.smart-list-controls .smart-bar{flex-wrap:nowrap;min-width:0}
.smart-list-controls .smart-bar>input{flex:1 1 250px;max-width:none;min-width:160px}
.smart-list-controls .smart-bar>.btn{white-space:nowrap;flex-shrink:0}
.smart-list-controls .smart-bar>#relation-new-action,.smart-list-controls .smart-bar>#quote-new-action,.smart-list-controls .smart-bar>#order-new-action{margin-left:auto}
.smart-list-controls .relation-quick-filters{gap:10px;align-items:stretch}
@media(max-width:1100px){.smart-list-controls .smart-bar{flex-wrap:wrap}.smart-list-controls .smart-bar>input{flex-basis:100%}}
@media(max-width:620px){.smart-list-controls .smart-bar>#relation-new-action,.smart-list-controls .smart-bar>#quote-new-action,.smart-list-controls .smart-bar>#order-new-action{margin-left:0}}
.list-period-form{display:flex;align-items:end;gap:7px;flex-wrap:wrap;padding:8px 0}.list-period-form label{display:grid;gap:3px;margin:0;font-size:11px;white-space:nowrap}.list-period-form select,.list-period-form input[type=date]{box-sizing:border-box;width:130px;min-width:0;margin:0;padding:7px;font-size:12px}.list-period-form select{width:145px}.list-period-form>.btn{white-space:nowrap}.smart-bar>.list-period-form{padding:0;flex:0 1 auto}.smart-bar>.list-period-form .btn{align-self:end}@media(max-width:1100px){.smart-bar>.list-period-form{flex-basis:100%}}@media(max-width:650px){.list-period-form{width:100%}.list-period-form label{flex:1 1 140px}.list-period-form select,.list-period-form input[type=date]{width:100%}}
.smart-list-controls .smart-bar.has-period-form{flex-wrap:wrap}.smart-bar.has-period-form>.list-period-form{flex:0 0 auto;flex-wrap:nowrap}.smart-bar.has-period-form>.period-toolbar-break{flex-basis:100%;height:0}.smart-bar.has-period-form>#quote-new-action,.smart-bar.has-period-form>#order-new-action{margin-left:auto}@media(max-width:650px){.smart-bar.has-period-form>.list-period-form{flex:1 1 100%;flex-wrap:wrap}}
.smart-list-controls .smart-bar.date-period-toolbar{flex-wrap:nowrap}.smart-bar.date-period-toolbar>.list-period-form{flex:0 0 auto}.smart-bar.date-period-toolbar>#quote-new-action,.smart-bar.date-period-toolbar>#order-new-action{margin-left:auto}.smart-menu.smart-date-range{width:min(340px,calc(100vw - 16px));max-height:calc(100vh - 16px);box-sizing:border-box}.smart-date-range .ticket-date-range{margin-bottom:10px}.smart-date-range .calendar-grid button.in-range{background:#e3f0ff}.smart-date-range .calendar-grid button.selected{background:#1f6feb;color:#fff}.smart-date-range .smart-date-actions{display:flex;gap:7px;justify-content:flex-end;margin-top:10px}.smart-date-range .smart-date-hint{font-size:12px;margin:9px 0 2px}@media(max-width:1300px){.smart-list-controls .smart-bar.date-period-toolbar{flex-wrap:wrap}.smart-bar.date-period-toolbar>input{flex-basis:100%}}
.saved-filter-editor label.saved-filter-check{display:flex!important;align-items:center;gap:8px}.saved-filter-editor .saved-filter-check input[type=checkbox]{flex:none;margin:0}
