.used-purchase{display:grid;gap:13px}.used-purchase>header span,.used-purchase section>h3,.lab-title span,.lab-editor>header span,.lab-history>header span{color:#ff5364;font-size:9px;font-weight:900;letter-spacing:.13em}.used-purchase>header h2,.lab-editor>header h2,.lab-history>header h2{margin:4px 0}.used-purchase>header p,.lab-editor>header p,.lab-history>header p{margin:0;color:#9e9499}.used-purchase>section{padding:15px;border:1px solid #382f33;border-radius:13px;background:#181517}.used-purchase section>h3{margin:0 0 12px}.used-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.used-form-grid label{display:grid;gap:6px}.used-form-grid label>span{color:#aaa0a5;font-size:10px;font-weight:750}.used-form-grid .wide{grid-column:1/-1}.used-repair-panel{display:grid;gap:11px;margin-top:12px;padding-top:13px;border-top:1px solid #3b3035}.used-repair-panel h4{margin:0}.used-service-row,.lab-service-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px 36px;align-items:center;gap:7px;margin-top:7px}.used-service-row button,.lab-service-row button{height:36px;border:1px solid #63303a;border-radius:7px;background:#32131a;color:#ff6877;cursor:pointer}.used-service-total{display:flex;justify-content:flex-end;gap:10px;margin-top:8px;color:#a69ba0}.used-store-client-note{margin:0!important;padding:10px;border-left:3px solid #e01b2e;border-radius:7px;background:#2b1117;color:#c8bdc2!important}.os-photo-intake small,.lab-editor small{color:#8f858a}.lab-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px;padding:20px 23px;border:1px solid #5b202b;border-left:6px solid #e01b2e;border-radius:16px;background:linear-gradient(115deg,#2c0c12,#171416 70%)}.lab-title h1{margin:4px 0}.lab-title p{margin:0;color:#a2979d}.lab-title>strong{font-size:21px}.lab-filters{display:grid!important;grid-template-columns:minmax(260px,1fr) 170px 190px 145px 145px}.lab-table-wrap{overflow:auto;border:1px solid #382f33;border-radius:14px}.lab-table{width:100%;min-width:1120px;border-collapse:collapse;background:#161416}.lab-table th,.lab-table td{padding:12px;border-bottom:1px solid #30282c;text-align:left;vertical-align:middle}.lab-table th{position:sticky;top:0;z-index:2;background:#211c1f;color:#a0959b;font-size:8px;text-transform:uppercase}.lab-table td>small,.lab-table td>strong{display:block}.lab-table td>small{margin-top:4px;color:#91868c}.lab-table td:first-child>b{color:#ff5264}.lab-table tr.store-device{background:#2b0d13}.lab-store-device{display:inline-block;margin-top:6px;padding:4px 6px;border-radius:6px;background:#9f1727;color:#fff;font-size:8px;font-weight:900;text-transform:uppercase}.lab-status-cell{display:flex;align-items:center;gap:6px}.lab-status-cell button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #594048;border-radius:8px;background:#281e22;color:#fff;cursor:pointer}.lab-history-button,.lab-print-button{border:1px solid #4d3940;border-radius:7px;background:#241c1f;color:#fff;padding:7px 9px;cursor:pointer}.lab-print-button{margin-left:4px}.lab-editor{display:grid;gap:13px}.lab-editor>header,.lab-history>header{padding-bottom:12px;border-bottom:1px solid #3a2e34}.lab-service-editor{padding:13px;border:1px solid #392f33;border-radius:11px;background:#181517}.lab-editor-title{display:flex;align-items:center;justify-content:space-between}.lab-editor-title h3{margin:0}.lab-editor-title button{border:1px dashed #64414a;border-radius:8px;background:transparent;color:#f4dce1;padding:7px 9px;cursor:pointer}.lab-history>header{display:flex;justify-content:space-between;gap:15px}.lab-history-list{display:grid;gap:0;max-height:52vh;overflow:auto;margin-top:12px}.lab-history-list article{display:grid;grid-template-columns:14px 1fr;gap:10px;padding:8px 0}.lab-history-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;background:#e01b2e;box-shadow:0 0 0 4px #e01b2e22}.lab-history-list article>div:last-child{padding:0 0 14px 12px;border-left:1px solid #3d3036}.lab-history-list article header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lab-history-list article small{color:#8f848a}.lab-history-list article p{margin:7px 0;color:#c6bbc1}.lab-history-list article img{display:block;max-width:260px;max-height:190px;margin-top:8px;border-radius:10px;object-fit:cover}.lab-elapsed{display:inline-block;padding:3px 6px;border-radius:5px;background:#242023;color:#92888d;font-size:8px}.lab-add-history{margin-top:13px;padding:13px;border:1px solid #3a3034;border-radius:11px;background:#191618}.lab-add-history h3{margin-top:0}
.assistance-switch-header{margin-top:0}.assistance-switch-header .assistance-panel-actions{display:flex;flex:1}.assistance-create-os{display:grid;grid-template-columns:42px 1fr;grid-template-rows:1fr 1fr;align-items:center;width:100%;min-height:82px;border:1px solid #32d9a4;border-radius:16px;background:linear-gradient(135deg,#159c70,#0b644a);box-shadow:0 13px 30px #159c7038;color:#fff;padding:12px 20px;text-align:left;font-family:inherit;cursor:pointer}.assistance-create-os>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#ffffff18;font-size:24px}.assistance-create-os>b{align-self:end;font-size:15px}.assistance-create-os>small{align-self:start;color:#bcebdc;font-size:9px}.assistance-create-os:hover,.assistance-create-os:focus-visible{outline:0;filter:brightness(1.12);transform:translateY(-2px);box-shadow:0 16px 36px #20c18a55}.assistance-compact-table{min-width:880px}.assistance-compact-table th,.assistance-compact-table td{padding:9px 10px}.assistance-switch-header+.stat-row{margin-top:0}
@media(max-width:760px){.used-form-grid{grid-template-columns:1fr}.used-form-grid .wide{grid-column:auto}.lab-filters{grid-template-columns:1fr 1fr}.lab-filters .search{grid-column:1/-1}.used-service-row,.lab-service-row{grid-template-columns:1fr 110px 36px}.assistance-switch-header .assistance-panel-actions{width:100%}.assistance-create-os{padding:10px 14px}}
/* Catálogo pesquisável de aparelhos usado no cadastro de O.S. */
.device-model-picker{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px}.device-model-picker>input{border-radius:9px 0 0 9px}.device-model-picker>button{border:1px solid #514149;border-left:0;border-radius:0 9px 9px 0;background:#2a2024;color:#fff;font-size:18px;cursor:pointer}.device-model-picker>button:hover,.device-model-picker>button:focus-visible{outline:0;background:#4a1721;color:#ff6777}.device-model-results{position:absolute;z-index:1200;top:calc(100% + 5px);left:0;right:0;max-height:310px;overflow:auto;padding:6px;border:1px solid #69313c;border-radius:11px;background:#171416;box-shadow:0 18px 45px #000c}.device-model-results button{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #30272b;background:transparent;color:#fff;text-align:left;cursor:pointer}.device-model-results button:last-child{border-bottom:0}.device-model-results button:hover,.device-model-results button:focus-visible{outline:0;border-radius:7px;background:#4a1520}.device-model-results p{margin:0;padding:12px;color:#a99da3;font-size:11px}.device-model-hint{display:block;margin-top:5px;color:#81767c;font-size:9px}

/* Visão em camadas da assistência para cada loja. */
.assistance-status-layers{margin:0 0 14px;padding:16px;border:1px solid #315047;border-radius:15px;background:linear-gradient(135deg,#121b18,#171516 72%)}.assistance-status-layers>header,.assistance-result-report>header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:12px}.assistance-status-layers>header span,.assistance-result-report>header span{color:#48d9aa;font-size:8px;font-weight:900;letter-spacing:.15em}.assistance-status-layers h3,.assistance-result-report h3{margin:3px 0 0;font-size:16px}.assistance-status-layers>header>strong{padding:6px 9px;border-radius:8px;background:#18362d;color:#71e2bd;font-size:10px}.assistance-layer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.assistance-layer-grid article{position:relative;min-width:0;padding:12px;border:1px solid #393135;border-radius:12px;background:#1b181a;overflow:hidden}.assistance-layer-grid article i{position:absolute;left:0;top:0;bottom:0;width:4px;background:#8b7e84}.assistance-layer-grid article div{display:grid;gap:2px}.assistance-layer-grid article b{font-size:22px}.assistance-layer-grid article span{font-size:10px;font-weight:850}.assistance-layer-grid article small{overflow:hidden;color:#887d83;font-size:8px;white-space:nowrap;text-overflow:ellipsis}.assistance-layer-grid .at-store i{background:#efb93f}.assistance-layer-grid .repairing i{background:#4d9fe6}.assistance-layer-grid .repaired i,.assistance-layer-grid .paid i{background:#28c892}.assistance-layer-grid .failed i{background:#ed344b}.assistance-layer-grid .failed b{color:#ff5b6c}.assistance-layer-grid .repaired b,.assistance-layer-grid .paid b{color:#5be1b5}

.assistance-result-report{margin-top:14px;padding:16px;border:1px solid #393035;border-radius:15px;background:#171517}.assistance-result-report>header>small{color:#887d83;font-size:9px}.assistance-report-table{overflow:auto;border:1px solid #332a2e;border-radius:10px}.assistance-report-table table{width:100%;min-width:720px;border-collapse:collapse}.assistance-report-table th,.assistance-report-table td{padding:10px 12px;border-bottom:1px solid #30272b;text-align:left}.assistance-report-table th{background:#211d1f;color:#988d92;font-size:8px;text-transform:uppercase}.assistance-report-table td{font-size:10px}.assistance-report-table td.ok{color:#5be1b5;font-weight:900}.assistance-report-table td.bad{color:#ff6271;font-weight:900}.result-meter{width:105px;height:5px;margin-bottom:4px;border-radius:999px;background:#38282e;overflow:hidden}.result-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#149d70,#56dfb2)}.assistance-report-table td>small{color:#8f858a;font-size:8px}.empty-report{padding:24px!important;color:#8f858a;text-align:center!important}

@media(max-width:1050px){.assistance-layer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.assistance-layer-grid{grid-template-columns:1fr 1fr}.assistance-status-layers>header,.assistance-result-report>header{align-items:flex-start;flex-direction:column}.device-model-results{max-height:230px}}
