body{font-size:16px}.content{padding:24px 32px 48px}.sidebar{gap:32px}.brandname small{font-size:10px;letter-spacing:.07em}.nav button{font-size:14px;min-height:48px}.version{font-size:12px;line-height:1.8}.topbar{height:76px;gap:16px;padding:0 32px}.work-select{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.work-select label{font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}.work-select select{max-width:400px;min-width:170px;width:100%;padding:10px 28px 10px 12px;background:#f5f7f4;border:1px solid var(--line);border-radius:8px;font-size:14px;color:var(--ink);font-weight:700}.storage-status{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--teal-dark);font-size:12px;padding:8px}.storage-status svg{width:16px;height:16px}.storage-status.needs-backup{color:#896022}.breadcrumb{color:var(--muted);font-size:12px;margin-bottom:20px}.breadcrumb span{margin:0 7px}.work-context{background:white;border:1px solid var(--line);border-radius:14px;padding:23px 25px}.eyebrow{font-size:11px;letter-spacing:.1em}.work-context-heading{display:flex;justify-content:space-between;gap:24px;align-items:center}.work-context h1{font-size:28px;letter-spacing:-.035em;margin:7px 0 8px}.work-context p{color:var(--muted);font-size:14px;margin:0;line-height:1.6}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{font-size:14px;min-height:42px;padding:10px 14px}.btn svg{width:18px;height:18px}.btn:disabled{opacity:.5;cursor:default;transform:none}.commission-progress{max-width:700px;margin-top:18px}.commission-progress>div:first-child{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px;gap:16px}.commission-progress>p{font-size:12px;margin-top:8px}.progress-track,.mini-progress{height:6px;background:#e8ede9;border-radius:8px;overflow:hidden}.progress-track i,.mini-progress i{display:block;height:100%;background:var(--teal);border-radius:8px}.stats.five{grid-template-columns:repeat(5,minmax(0,1fr));margin:18px 0 22px;gap:10px}.stat{text-align:left;padding:16px 15px;transition:box-shadow .15s;border:1px solid var(--line);width:100%}.stat:hover{box-shadow:0 7px 24px #17293618;border-color:#bdcdc7}.stat label{font-size:12px;cursor:pointer;white-space:normal}.stat strong{font-size:27px;margin-top:6px}.stat-icon{width:30px;height:30px;background:#f0f4f1;border-radius:8px}.stat-icon svg{width:18px}.stat .stat-icon.progress{background:#edf1f4;color:#566875}.stat .stat-icon.pendente{background:#fff1dc;color:#987123}.stat .stat-icon.ok{background:#e5f4ef;color:var(--teal-dark)}.stat .stat-icon.fail{background:#f9e7e7;color:var(--red)}.stat-critical{border-color:#e4a9a9}.stat-critical strong{color:#ad3838}.section-head{margin:24px 0 12px}.section-head h2{font-size:17px}.section-head p{font-size:12px;line-height:1.5}.compact-empty{display:flex;align-items:center;gap:18px;padding:20px 24px;min-height:110px}.compact-empty>div:first-child:not(:last-child){color:var(--teal-dark)}.compact-empty h3{font-size:16px;margin:0 0 6px}.compact-empty p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.compact-empty .btn{margin-left:auto}.equipment-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.type-tile{padding:17px 15px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:145px;transition:border-color .15s}.type-tile:hover{border-color:var(--teal)}.type-tile b{font-size:14px;line-height:1.3}.type-tile small{font-size:11px;color:var(--muted);line-height:1.5}.type-icon{width:42px;height:42px;border-radius:11px;background:#e8f5ef;color:var(--teal-dark);display:inline-grid;place-items:center;flex-shrink:0}.type-icon svg{width:25px;height:25px}.continue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.continue-card{padding:18px;display:flex;align-items:center;gap:14px;text-align:left}.continue-card>div:nth-child(2){flex:1;min-width:0}.continue-card h3{font-size:15px;margin:0 0 6px}.continue-card p{font-size:12px;color:var(--muted);margin:0 0 12px}.continue-card small{font-size:11px;display:block;color:var(--muted);margin-top:7px}.continue-card>b{font-size:12px;color:var(--teal-dark);max-width:75px}.attention-list{overflow:hidden}.attention-list>button{display:flex;align-items:center;width:100%;text-align:left;gap:13px;border:0;border-bottom:1px solid var(--line);background:white;padding:13px 18px}.attention-list>button:last-child{border:0}.attention-list>button:hover{background:#fafbf8}.attention-list>button>div{flex:1}.attention-list b{font-size:14px}.attention-list p{font-size:12px;color:var(--muted);margin:4px 0 0}.attention-mark{color:#a87828;display:grid;place-items:center;width:32px}.attention-mark.bad{color:var(--red)}.tag{font-size:11px;white-space:nowrap}.tag.progress{background:#eaf0f4;color:#4b6472}.works-grid,.equipment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.work-card,.equipment-card{padding:22px}.work-card h2,.equipment-card h2{font-size:20px;margin:8px 0}.work-card p,.equipment-card p{font-size:13px;color:var(--muted);line-height:1.5}.work-card small,.equipment-card small{font-size:12px;color:var(--muted)}.work-card .progress-track{margin:20px 0 9px}.work-card .actions,.equipment-card .actions{margin-top:20px}.equipment-card-head{display:flex;gap:13px;align-items:center}.equipment-card-head>div{flex:1}.equipment-card-head h2{margin:0 0 5px}.equipment-card-head p{margin:0}.plan-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.plan-chip{border:1px solid var(--line);border-radius:7px;background:#f7f9f5;text-align:left;padding:7px 9px;font-size:11px;color:#5c7067}.plan-chip.ok{border-color:#afdccc;background:#e7f6ef;color:#097257}.plan-chip.fail{border-color:#e6b6b6;background:#fbeaea;color:#a33f3f}.plan-chip.progress{background:#edf1f5}.page-title{gap:20px}.page-title h1{font-size:26px}.page-title p{font-size:13px;line-height:1.6}.filterbar{flex-wrap:wrap}.filterbar select{font-size:13px;max-width:100%;min-height:42px}.search-input{padding:10px 12px;border:1px solid var(--line);border-radius:8px;max-width:280px;font-size:13px}.records-table th{font-size:10px;line-height:1.5;padding:12px}.records-table td{font-size:12px;padding:13px 12px}.records-table tbody tr{cursor:default}.sub-cell{font-size:11px;line-height:1.4}.wrap-cell{white-space:normal;overflow-wrap:anywhere;min-width:70px}.field label{font-size:12px;line-height:1.45}.field input,.field select,.field textarea{font-size:14px;min-height:43px}.field textarea{min-height:92px;line-height:1.6}.help{font-size:11px;line-height:1.6}.form-section h3{font-size:15px}.form-title h2{font-size:23px}.form-title p{font-size:12px;line-height:1.5}.split{grid-template-columns:minmax(0,1fr) 260px}.form-card{padding:24px}.form-card h2{font-size:20px}.context-strip{padding:13px 15px;background:#f3f7f2;border-radius:9px;display:flex;flex-direction:column;gap:5px;margin-bottom:18px}.context-strip b{font-size:15px}.context-strip span{font-size:13px;color:var(--muted)}.context-strip small{font-size:11px;color:var(--muted)}.panel h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.panel .hint{font-size:12px;line-height:1.6;margin-top:12px}.rule-box b{font-size:13px}.rule-box p{font-size:12px;line-height:1.6}.notice{font-size:12px;line-height:1.6}.notice p{margin:5px 0 0}.matrix th{font-size:10px;letter-spacing:0;line-height:1.45}.matrix input{font-size:13px;min-width:75px;min-height:42px}.matrix td{font-size:12px}.matrix .result-pill{font-size:10px;white-space:normal}.photo-box>b{font-size:14px}.photo-actions{margin:12px 0}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.evidence-thumb{position:relative;min-width:0}.photo-preview{width:100%;height:130px;border:0;padding:0;background:#f0f2ec;border-radius:8px;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:contain}.evidence-thumb input{font-size:12px;width:100%;margin-top:7px;min-height:38px}.photo-remove{position:absolute;right:5px;top:5px;width:27px;height:27px;background:#fff;border:1px solid #ddd;border-radius:50%;color:var(--red);font-size:20px}.evidence-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.evidence-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px;min-width:0;text-align:left}.evidence-card img{width:100%;height:190px;object-fit:contain;background:#f6f7f2}.evidence-card span{display:block;font-size:12px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.detail-item label{font-size:10px;letter-spacing:0}.detail-item b{font-size:13px;overflow-wrap:anywhere}.detail-section h3{font-size:16px}.detail-head h2{margin:0 0 7px}.detail-head p{font-size:13px;color:var(--muted)}.preserve-lines{white-space:pre-wrap;line-height:1.7;font-size:14px}.settings-card h2{font-size:17px}.settings-card p{font-size:13px}.settings-card .btn{margin:4px 4px 4px 0}.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.report-layout .grid{margin-top:22px}.report-check{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.5;margin:20px 0 10px}.report-check input{margin-top:3px}.report-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.report-summary>div{font-size:12px;color:var(--muted);padding:12px;background:#f5f7f2;border-radius:9px}.report-summary b{display:block;font-size:24px;color:var(--ink);margin-bottom:4px}.report-summary .text-danger b{color:var(--red)}.report-outline{padding-left:20px;font-size:12px;line-height:1.7;color:var(--muted);margin:20px 0}.report-outline li{margin:8px 0}.modal{border:1px solid var(--line);border-radius:15px;background:white;padding:24px;width:min(780px,94vw);max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #101e2a40}.modal::backdrop{background:#101e2a70}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.modal-head h2{font-size:21px;margin:0}.modal-head .btn{padding:5px 11px;font-size:22px}.modal h3{font-size:15px;margin:22px 0 8px}.modal form{margin:0}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:13px;margin-top:15px}.check-grid label{display:flex;align-items:flex-start;gap:7px;line-height:1.6}.check-grid input{margin-top:5px}.chooser{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chooser>.btn{justify-content:flex-start;text-align:left;padding:16px;gap:13px}.chooser span{display:flex;flex-direction:column;gap:5px}.chooser small{font-size:12px;font-weight:400;color:var(--muted)}.muted{font-size:14px;color:var(--muted)}.lightbox-photo{width:100%;max-height:65vh;object-fit:contain;background:#f3f5ef}.report-preview{overflow:auto}.save-error{color:var(--red)!important}.error-start{margin:10vh auto;padding:24px;max-width:650px;background:white;border-radius:12px}.toast{font-size:14px;max-width:calc(100vw - 40px)}button:focus-visible,a:focus-visible{outline:3px solid #58b5a1;outline-offset:3px}
@media(max-width:1200px){.stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-icon{display:none}.equipment-types{grid-template-columns:repeat(4,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1fr)}.field-aside{display:none}.report-layout{grid-template-columns:minmax(0,1fr) 270px}.storage-status span{max-width:130px;line-height:1.4}.content{padding:22px 24px}.continue-grid{grid-template-columns:1fr}.topbar{padding:0 24px}}
@media(max-width:900px){.report-layout{grid-template-columns:1fr}.works-grid,.equipment-grid{grid-template-columns:1fr}.equipment-types{grid-template-columns:repeat(3,minmax(0,1fr))}.work-select label{display:none}.topright{gap:0}.work-context-heading{align-items:flex-start}.work-context h1{font-size:24px}.stat label{font-size:11px}.stat{padding:14px 10px}}
@media(max-width:780px){.topbar{height:66px;padding:0 12px;gap:8px}.content{padding:18px 14px 40px}.work-select{min-width:0}.work-select select{min-width:0;font-size:13px;max-width:100%;padding-left:7px}.storage-status{padding:5px}.storage-status span{max-width:80px;font-size:10px}.storage-status svg{display:none}.work-context{padding:18px}.work-context-heading{flex-direction:column;gap:16px}.work-context-heading .actions{width:100%}.work-context-heading .btn{width:100%}.work-context h1{font-size:25px}.stats.five{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stats.five .stat:last-child{grid-column:auto}.stat label{font-size:12px}.stat strong{font-size:25px}.equipment-types{grid-template-columns:repeat(2,minmax(0,1fr))}.type-tile{min-height:135px;padding:15px}.compact-empty{align-items:flex-start;padding:18px;flex-wrap:wrap;min-height:100px}.compact-empty .btn{margin-left:0}.continue-card{padding:14px;gap:10px}.continue-card>.type-icon{display:none}.continue-card>b{max-width:65px}.attention-list>button{padding:12px;gap:7px}.attention-list .tag{max-width:88px;white-space:normal;line-height:1.3}.attention-mark{width:23px;flex-shrink:0}.section-head{gap:10px}.section-head .btn{font-size:12px;min-height:38px;padding:8px;flex-shrink:0}.section-head p{font-size:11px}.form-card{padding:17px}.grid.three{grid-template-columns:1fr 1fr}.matrix th{font-size:10px}.photo-grid{grid-template-columns:1fr}.evidence-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.evidence-card img{height:140px}.modal{padding:18px}.modal-head h2{font-size:19px}.check-grid{grid-template-columns:1fr}.report-layout .form-actions{align-items:stretch;flex-direction:column}.search-input{width:100%;max-width:none}.filterbar select{flex:1;min-width:120px}.form-actions .btn{font-size:13px}.detail-grid{grid-template-columns:1fr 1fr}.page-title .actions{width:100%}.report-summary{grid-template-columns:1fr 1fr}.records-table th{font-size:10px}.records-table td{font-size:12px}}
@media(max-width:440px){.grid,.grid.three{grid-template-columns:1fr}.field.wide{grid-column:1}.stats.five{grid-template-columns:repeat(3,minmax(0,1fr))}.stat strong{font-size:24px}.stat label{font-size:11px}.equipment-card-head{flex-wrap:wrap}.equipment-card-head>.tag{margin-left:55px}.chooser{grid-template-columns:1fr}.evidence-gallery{grid-template-columns:1fr}.evidence-card img{height:200px}}
@media print{.modal{display:none}.breadcrumb{display:none}.evidence-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

.field label{font-size:14px}.field .help{font-size:12px}.matrix input{font-size:14px}.records-table td{font-size:13px}

.work-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:400px;min-width:170px;width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#f5f7f4;color:var(--ink);font:inherit;font-size:14px;font-weight:700;text-align:left}.work-switch span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.work-switch svg{flex-shrink:0;color:var(--teal-dark)}.work-query{display:block;width:100%;max-width:none;font-size:16px;min-height:47px}.work-results{max-height:55vh;overflow:auto;display:grid;gap:9px}.work-result{width:100%;display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;color:var(--ink)}.work-result.selected{border-color:var(--teal);background:#f0f8f3}.work-result:hover{background:#f4f8f2}.work-result b{font-size:16px}.work-result span{font-size:14px;color:var(--muted);line-height:1.5}.work-result small{font-size:12px;color:var(--muted)}input[readonly]{background:#f2f5f1;color:#4b635c;cursor:default}.record-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:120px}.record-actions .btn{font-size:13px;padding:8px 10px;min-height:38px}.btn-delete{border-color:#d7ddd9;color:#65736d;background:#fff}.btn-delete:hover{border-color:#cda8a8;color:var(--red)}.undo-delete{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:9px;background:white;margin-bottom:14px;font-size:14px}.camera-view video{display:block;width:100%;max-height:55vh;min-height:180px;border-radius:10px;object-fit:contain;background:#101e2a}.camera-view p{font-size:14px;line-height:1.6;margin:15px 0}.camera-select{font-size:14px;display:flex;align-items:center;gap:12px}.camera-select[hidden]{display:none}.camera-select select{flex:1;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}.camera-modal{width:min(780px,94vw)}
@media(max-width:780px){.work-switch{max-width:100%;min-width:0;font-size:13px;padding:9px;gap:8px}.record-actions{min-width:95px;flex-direction:column}.record-actions .btn{width:100%}.undo-delete{align-items:flex-start;flex-direction:column}.camera-modal .form-actions{gap:12px;flex-wrap:wrap}.camera-view video{min-height:150px}}

#recordsList .records-table th:last-child,#recordsList .records-table td:last-child{position:sticky;right:0;background:white;box-shadow:-4px 0 8px #18293608}#recordsList .records-table th:last-child{background:#f3f6f4}#recordsList .records-table td:last-child{min-width:118px}

/* Inspeção por equipamento e isolação das chaves */
.equipment-work{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;padding:12px 14px;background:var(--surface-soft,#f3f7f4);border-radius:10px;margin:14px 0;color:#17343f}.equipment-work>span{font-size:12px;color:#627680}.equipment-work>small{grid-column:2;font-size:12px;color:#627680}.equipment-work>b{overflow-wrap:anywhere}
.visual-checklist{display:grid;gap:10px;margin-top:16px}.visual-item{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(160px,.8fr) minmax(0,1fr);gap:12px;align-items:center;padding:12px;border:1px solid #e1e9e5;border-radius:10px;background:#fbfcfa}.visual-item-title{display:flex;gap:10px;align-items:baseline;font-size:13px}.visual-item-title>span{color:#78908d;font-size:11px}.visual-item .field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.visual-item .field input,.visual-item .field select{font-size:12px;min-height:40px}.visual-summary{margin-top:12px;font-size:12px;color:#61757c}.visual-summary[data-status=fail]{color:#a63333}.visual-summary[data-status=pending]{color:#95611a}.visual-item select[data-status=fail]{color:#a63333;border-color:#e3b1ad;background:#fff5f3}.visual-item select[data-status=pending]{color:#95611a;border-color:#e5d0a7;background:#fffaf0}
.switch-phase-grid{display:grid;gap:14px}.switch-phase{padding:16px;border:1px solid #dce6e1;border-radius:12px;background:#fafcfb}.switch-phase-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.switch-phase-head h4{margin:0;font-size:15px}.phase-connections{margin-top:12px}.phase-connections summary,.legacy-readings summary{font-size:12px;color:#48686c;cursor:pointer}.phase-connections .grid{margin-top:12px}.legacy-readings{margin-top:16px}.legacy-readings .table-scroll{margin-top:12px}
@media(max-width:1100px){.visual-item{grid-template-columns:minmax(0,1fr) minmax(145px,.8fr)}.visual-item .field:last-child{grid-column:1/-1}}@media(max-width:640px){.visual-item{grid-template-columns:1fr}.visual-item .field:last-child{grid-column:auto}.visual-item-title{margin-bottom:3px}.switch-phase{padding:12px}}

/* Fichas com vários ensaios — V2.3 beta */
.selection-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.selection-actions .btn{font-size:12px;padding:8px 12px;min-height:36px}.test-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.test-selection label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fafcf9;font-size:13px;line-height:1.5;cursor:pointer}.test-selection input{width:18px;height:18px;accent-color:var(--teal);flex-shrink:0;margin-top:1px}.test-selection label:has(input:checked){border-color:#63afa0;background:#edf7f2}.bundle-title{margin:24px 0 16px}.test-panel{border:1px solid #d9e5df;border-radius:12px;padding:18px;margin-bottom:20px;background:#fff;min-width:0}.test-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:16px}.test-panel-heading h3{margin:0;font-size:16px}.test-panel .form-section:first-child{border:0;padding:0;margin:0}.test-panel .form-section{margin-top:20px}.test-panel .matrix-wrap{max-width:100%;overflow-x:auto}.test-panel-heading .tag{white-space:nowrap}.release-card{margin-bottom:24px}.release-card h2{font-size:20px}.release-card .records-table{min-width:620px}.evidence-thumb .photo-scope{font-size:11px;color:#54766e;padding:4px 0}.brandname{font-size:17px}
@media(max-width:640px){.test-selection{grid-template-columns:1fr}.test-panel{padding:12px}.test-panel-heading{align-items:flex-start}.test-panel-heading h3{font-size:14px}}
