:root{--bc-ink: #1f2933;--bc-muted: #64748b;--bc-line: #d9e2ec;--bc-surface: #f8fafc;--bc-panel: #ffffff;--bc-accent: #2563eb;--bc-accent-soft: #eff6ff;--bc-danger: #b42318;--bc-warning: #b54708}html[data-theme=dark]{--bc-ink: #e5e7eb;--bc-muted: #9ca3af;--bc-line: #374151;--bc-surface: #111827;--bc-panel: #1f2937;--bc-accent: #60a5fa;--bc-accent-soft: #172554}[x-cloak]{display:none!important}html,body,.app-shell,.app-main{background:var(--bc-surface)!important;color:var(--bc-ink)!important}body{font-size:.95rem}.quick-sale-grid{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr) 380px}.quick-search-form{align-items:end;display:grid;gap:.6rem;grid-template-columns:repeat(3,minmax(88px,.8fr)) minmax(130px,1fr) minmax(180px,1.2fr) auto}.quick-results{max-height:calc(100vh - 330px);min-height:360px;overflow:auto;outline:none}.quick-result-header,.quick-result-row{grid-template-columns:92px 62px 56px 56px 56px 86px 58px 62px 116px 78px 82px}.quick-result-row{align-items:center;background:var(--bc-panel);color:var(--bc-ink);border:0;border-bottom:1px solid var(--bc-line);display:grid;gap:.5rem;min-height:54px;padding:.55rem .75rem;text-align:left;width:100%}.quick-result-row.active,.quick-result-row:hover{background:var(--bc-accent-soft)}.quick-result-header{color:var(--bc-muted);display:grid;font-size:.75rem;gap:.5rem;padding:.4rem .75rem;text-transform:uppercase}.quick-preview{align-self:start;position:sticky;top:1rem}.figure-preview{align-items:center;aspect-ratio:4/3;background:var(--bc-surface);border:1px solid var(--bc-line);border-radius:8px;display:flex;justify-content:center;overflow:hidden}.figure-preview img{height:100%;object-fit:contain;width:100%}.autocomplete-panel{background:var(--bc-panel);border:1px solid var(--bc-line);border-radius:8px;box-shadow:0 12px 28px #0f172a1f;left:0;max-height:260px;overflow:auto;position:absolute;right:0;top:100%;z-index:20}.autocomplete-item{background:transparent;border:0;color:var(--bc-ink);display:block;padding:.65rem .85rem;text-align:left;width:100%}.autocomplete-item.active,.autocomplete-item:hover{background:var(--bc-accent-soft)}.recent-strip{border-bottom:1px solid var(--bc-line);display:grid;gap:.5rem;margin-top:.75rem;padding-bottom:.75rem}.filter-strip{align-items:center;border-bottom:1px solid var(--bc-line);display:flex;gap:.85rem;margin-top:.75rem;padding-bottom:.75rem}.recent-group{align-items:center;display:flex;flex-wrap:wrap;gap:.35rem}.recent-title{color:var(--bc-muted);font-size:.78rem;min-width:82px}.recent-chip{background:var(--bc-surface);border:1px solid var(--bc-line);border-radius:999px;color:var(--bc-ink);font-size:.78rem;padding:.22rem .55rem}.recent-chip.muted{color:var(--bc-muted)}.trust-pill{align-items:center;display:inline-flex;font-size:.78rem;gap:.35rem;white-space:nowrap}.trust-pill i{border-radius:50%;display:inline-block;height:.65rem;width:.65rem}.trust-new i{background:#facc15}.trust-verified i{background:#22c55e}.trust-very_reliable i{background:#3b82f6}.detail-stack{display:grid;gap:.85rem}.detail-stack section{border-top:1px solid var(--bc-line);padding-top:.75rem}.detail-stack h2{font-size:.86rem;margin-bottom:.45rem}.mini-row{align-items:center;display:flex;font-size:.82rem;gap:.5rem;justify-content:space-between;padding:.22rem 0}@media(max-width:1100px){.quick-sale-grid{grid-template-columns:1fr}.quick-preview{position:static}.quick-result-row{grid-template-columns:88px 54px 48px 48px 48px 72px 54px 54px 1fr}.quick-result-header,.quick-result-row .btn{display:none}}@media(max-width:900px){.quick-search-form{grid-template-columns:repeat(3,1fr)}.quick-search-form>div:nth-child(4),.quick-search-form>div:nth-child(5),.quick-search-form>button{grid-column:span 3}}.app-shell{min-height:100vh}.app-sidebar{width:248px;border-right:1px solid var(--bc-line);background:var(--bc-panel)}.app-main{min-width:0}.nav-link{color:var(--bc-ink);border-radius:6px}.nav-link.active,.nav-link:hover{background:var(--bc-accent-soft);color:var(--bc-accent)}.work-panel{background:var(--bc-panel);border:1px solid var(--bc-line);border-radius:8px}.metric{border-left:3px solid var(--bc-accent);padding-left:.85rem}.table thead th{color:#475569;font-size:.78rem;letter-spacing:0;text-transform:uppercase}.btn-icon{align-items:center;display:inline-flex;gap:.4rem}.search-input{font-size:1.05rem;min-height:48px}.app-header{background:var(--bc-panel)!important}.notification-menu{position:relative}.notification-menu summary{list-style:none}.notification-menu summary::-webkit-details-marker{display:none}.notification-panel{background:var(--bc-panel);border:1px solid var(--bc-line);border-radius:8px;box-shadow:0 12px 28px #0f172a24;min-width:260px;padding:.35rem;position:absolute;right:0;top:calc(100% + .35rem);z-index:30}.notification-item{align-items:center;color:var(--bc-ink);display:flex;justify-content:space-between;padding:.55rem .65rem;text-decoration:none}.notification-item:hover{background:var(--bc-accent-soft)}.notification-empty{color:var(--bc-muted);padding:.65rem}.settings-grid{display:grid;gap:1rem;max-width:980px}.settings-help-grid{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-help-grid p{color:var(--bc-muted);font-size:.88rem;margin:.35rem 0 0}.role-help-grid{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.role-help-item{background:var(--bc-surface);border:1px solid var(--bc-line);border-radius:8px;padding:.8rem}.role-help-item p{color:var(--bc-muted);font-size:.86rem;margin:.3rem 0 0}.pagination{align-items:center;gap:.25rem;margin-bottom:0}.pagination svg{height:1rem;width:1rem}.page-link{border-radius:6px;color:var(--bc-ink)}.page-item.active .page-link{background-color:var(--bc-accent);border-color:var(--bc-accent);color:#fff}.page-item.disabled .page-link{background-color:var(--bc-surface);color:var(--bc-muted)}@media(max-width:900px){.settings-help-grid,.role-help-grid{grid-template-columns:1fr}}html[data-theme=dark] *,html[data-theme=dark] *:before,html[data-theme=dark] *:after{border-color:var(--bc-line)}html[data-theme=dark] .bg-white,html[data-theme=dark] .form-control,html[data-theme=dark] .form-select,html[data-theme=dark] .btn-outline-secondary,html[data-theme=dark] .table,html[data-theme=dark] .table>:not(caption)>*>*,html[data-theme=dark] .table-responsive,html[data-theme=dark] .card,html[data-theme=dark] .modal-content,html[data-theme=dark] .dropdown-menu,html[data-theme=dark] .page-link,html[data-theme=dark] .list-group-item,html[data-theme=dark] .pagination,html[data-theme=dark] .border,html[data-theme=dark] .rounded,html[data-theme=dark] .bg-light,html[data-theme=dark] .bg-body,html[data-theme=dark] .bg-body-tertiary{background-color:var(--bc-panel)!important;border-color:var(--bc-line)!important;color:var(--bc-ink)!important}html[data-theme=dark] .table tbody,html[data-theme=dark] .table tr,html[data-theme=dark] .table td,html[data-theme=dark] .table th,html[data-theme=dark] .table-striped>tbody>tr:nth-of-type(odd)>*,html[data-theme=dark] .table-hover>tbody>tr:hover>*{background-color:var(--bc-panel)!important;color:var(--bc-ink)!important}html[data-theme=dark] .form-control::placeholder{color:var(--bc-muted)!important}html[data-theme=dark] .text-muted,html[data-theme=dark] .form-text,html[data-theme=dark] .table thead th{color:var(--bc-muted)!important}html[data-theme=dark] .form-label,html[data-theme=dark] .form-check-label,html[data-theme=dark] .col-form-label,html[data-theme=dark] label,html[data-theme=dark] dt,html[data-theme=dark] dd,html[data-theme=dark] p,html[data-theme=dark] span,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] h5,html[data-theme=dark] h6,html[data-theme=dark] td,html[data-theme=dark] th{color:var(--bc-ink)}html[data-theme=dark] a:not(.btn):not(.nav-link):not(.notification-item){color:#93c5fd}html[data-theme=dark] .btn-outline-secondary:hover,html[data-theme=dark] .page-link:hover{background-color:var(--bc-accent-soft)!important;color:var(--bc-ink)!important}html[data-theme=dark] .page-item.active .page-link{background-color:var(--bc-accent)!important;border-color:var(--bc-accent)!important;color:#07111f!important}html[data-theme=dark] .page-item.disabled .page-link{background-color:#111827!important;color:var(--bc-muted)!important}html[data-theme=dark] .alert-success{background-color:#052e16;border-color:#166534;color:#bbf7d0}html[data-theme=dark] .alert-danger{background-color:#450a0a;border-color:#991b1b;color:#fecaca}html[data-theme=dark] .text-dark{color:var(--bc-ink)!important}
