.fbsw{display:grid;gap:18px;min-width:0}.fbsw-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.fbsw-heading h2{margin:6px 0 9px;font-size:24px}.fbsw-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.fbsw-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff)}.fbsw-tabs button{border:0;background:none;padding:11px 15px;border-radius:8px;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.fbsw-tabs button.active{background:var(--primary);color:var(--canvas,#fff);font-weight:700}:root[data-theme=dark] .fbsw-tabs button.active{background:#6558f5;color:#fff}.fbsw-filters{padding:18px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.fbsw-filters label{display:grid;gap:7px;min-width:135px;flex:1;font-size:11px;font-weight:600}.fbsw-filters .fbsw-search{flex:2;min-width:200px}.fbsw-filters input,.fbsw-filters select,.fbsw-dialog input:not([type=checkbox]),.fbsw-dialog textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:10px;background:var(--surface,#fff);color:var(--text);font:inherit;font-size:12px}.fbsw-filters small{color:var(--muted);line-height:1.7;flex-basis:100%}.fbsw-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px}.fbsw-summary>div{padding:18px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:13px;display:grid;gap:10px;align-content:start}.fbsw-summary span{color:var(--muted);font-size:11px;line-height:1.5}.fbsw-summary strong{font-size:24px;overflow-wrap:anywhere}.fbsw-summary small{color:var(--muted);font-size:10px;line-height:1.6}.fbsw-actions{padding:15px 17px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.fbsw-actions strong{font-size:13px;margin-right:5px}.fbsw-actions button{font-size:11px}.fbsw-actions small{flex-basis:100%;font-size:10px;color:var(--muted);line-height:1.7}.fbsw-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff)}.fbsw-table-wrap table{width:100%;min-width:940px;border-collapse:collapse}.fbsw-table-wrap th,.fbsw-table-wrap td{padding:15px 13px;border-bottom:1px solid var(--line);white-space:normal;vertical-align:top;font-size:11px;line-height:1.6}.fbsw-table-wrap th{background:var(--canvas,#f4f6fb);color:var(--muted);font-size:10px;text-align:left}.fbsw-table-wrap td strong{display:block;font-size:12px}.fbsw-table-wrap td small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px}.fbsw-table-wrap td:first-child{white-space:nowrap}.fbsw-table-wrap input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.fbsw-item{min-width:155px;max-width:290px;overflow-wrap:anywhere;margin-bottom:8px}.fbsw-item strong{display:inline!important}.fbsw-item small{display:block;color:var(--muted);font-size:10px;line-height:1.6}.fbsw-table-wrap .text-button{display:block;font-size:11px;margin:0 0 8px;text-align:left}.fbsw-badge{display:inline-flex;padding:4px 8px;border-radius:6px;font-size:10px;line-height:1.6;margin:5px 0;background:var(--canvas,#f0f3fa);color:var(--muted)}.fbsw-badge.good{background:#dff5ec;color:#12674b}.fbsw-badge.bad{background:#ffe8ea;color:#9a263a}:root[data-theme=dark] .fbsw-badge.good{background:#173a35;color:#86e4c8}:root[data-theme=dark] .fbsw-badge.bad{background:#422431;color:#ffadbc}.fbsw-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.fbsw-pagination>div{display:flex;gap:7px}.fbsw-report-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fbsw-note{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.fbsw-warning,.fbsw-error,.fbsw-message,.fbsw-progress{padding:13px 16px;border:1px solid var(--line);border-radius:10px;font-size:12px;line-height:1.7;margin:0;background:var(--surface,#fff)}.fbsw-warning{border-left:3px solid #c58b31}.fbsw-error{border-left:3px solid #d65a6d;color:var(--text)}.fbsw-message,.fbsw-progress{border-left:3px solid var(--primary)}.fbsw-empty{text-align:center;padding:32px!important;color:var(--muted)}.fbsw-history{padding:18px;min-width:0}.fbsw-history summary{font-size:13px;font-weight:700;cursor:pointer}.fbsw-history-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0}.fbsw-history-head p{font-size:11px;color:var(--muted);line-height:1.7}.fbsw-history .fbsw-table-wrap table{min-width:800px}.fbsw-label-task{margin:12px 0;padding-top:10px;border-top:1px solid var(--line);min-width:200px}.fbsw-label-task>span{display:block}.fbsw-label-task>div{display:flex;gap:15px;margin-top:8px}.fbsw-danger{color:#c53a55}:root[data-theme=dark] .fbsw-danger{color:#ffadbc}.fbsw-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 28px));max-height:calc(100dvh - 30px);overflow:auto;border:1px solid var(--line);border-radius:17px;padding:25px;background:var(--surface,#fff);color:var(--text);box-shadow:var(--shadow)}.fbsw-dialog::backdrop{background:rgba(4,8,20,.65);backdrop-filter:blur(4px)}.fbsw-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px;margin-bottom:12px}.fbsw-dialog h3{font-size:23px;margin:10px 0 15px}.fbsw-dialog>p{font-size:12px;line-height:1.8}.fbsw-dialog-actions,.fbsw-dialog-bottom{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}.fbsw-dialog-bottom{border-top:1px solid var(--line);padding-top:17px}.fbsw-dialog .fbsw-table-wrap table{min-width:650px}.fbsw-dialog .fbsw-table-wrap input{width:90px}.fbsw-review{padding:14px;border:1px solid var(--line);border-radius:10px;margin:13px 0;font-size:12px}.fbsw-review h4{margin:0 0 10px}.fbsw-review small{display:block;color:var(--muted);line-height:1.7}.fbsw-exemplar-product h4{font-size:13px;margin:22px 0 12px}.fbsw-exemplar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;margin:13px 0}.fbsw-exemplar legend{font-size:11px;padding:0 8px;color:var(--muted)}.fbsw-exemplar label{display:grid;align-content:start;gap:7px;font-size:11px;min-width:0}.fbsw-exemplar label>span{font-size:10px;line-height:1.6}.fbsw-exemplar small{font-size:10px;color:var(--muted)}.fbsw button:disabled{opacity:.45;cursor:default}.fbsw button:focus-visible,.fbsw-dialog button:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}@media(max-width:700px){.fbsw-heading h2{font-size:21px}.fbsw-heading .secondary-button{font-size:11px;padding:10px}.fbsw-tabs{gap:4px}.fbsw-tabs button{flex:1 1 42%;padding:10px 7px;font-size:11px}.fbsw-filters{gap:11px;padding:14px}.fbsw-filters label{flex:1 1 40%;min-width:0}.fbsw-filters .fbsw-search{flex-basis:100%;min-width:0}.fbsw-filters button{flex-basis:100%}.fbsw-summary{grid-template-columns:1fr 1fr}.fbsw-summary>div{padding:14px}.fbsw-summary strong{font-size:20px}.fbsw-actions{padding:14px}.fbsw-actions strong{flex-basis:100%}.fbsw-actions button{flex:1 1 40%;white-space:normal;line-height:1.5}.fbsw-pagination{align-items:flex-start}.fbsw-pagination button{font-size:11px;padding:8px 11px}.fbsw-report-tools .segmented{display:flex;flex-wrap:wrap}.fbsw-history{padding:14px}.fbsw-history-head{align-items:flex-start}.fbsw-dialog{padding:18px}.fbsw-exemplar{grid-template-columns:1fr}.fbsw-dialog h3{font-size:21px}.fbsw-dialog-actions button{flex:1 1 100%}}

.fbsw-badge.partial{background:#fff1d0;color:#80541c}:root[data-theme=dark] .fbsw-badge.partial{background:#352b1c;color:#ffd38c}

.fbsw-actions label{display:grid;gap:6px;max-width:100%;font-size:11px;color:var(--muted)}.fbsw-actions select{max-width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:9px;background:var(--surface,#fff);color:var(--text);font:inherit;font-size:12px}.fbsw-actions select:focus-visible{outline:2px solid var(--theme-focus);outline-offset:3px}@media(max-width:700px){.fbsw-actions label{flex-basis:100%;min-width:0}.fbsw-actions select{width:100%}}

.fbsw-item{display:flex;align-items:flex-start;gap:9px;max-width:360px}.fbsw-item-text{min-width:0;flex:1}.fbsw-photo{width:48px;min-width:48px;height:60px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);display:flex;align-items:center;justify-content:center;overflow:hidden}.fbsw-photo img{width:48px;height:60px;object-fit:contain}.fbsw-photo>span{font-size:9px;line-height:1.4;text-align:center;color:var(--muted);padding:3px}
