*{box-sizing:border-box}body{color:#061a4f;background:#f7eeee;margin:0;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}.app{min-height:100vh;display:flex}.sidebar{background:linear-gradient(#fff6f6 0%,#f1d9d9 100%);border-right:1px solid #d99a9a;flex-shrink:0;width:250px;padding:22px 14px;box-shadow:8px 0 24px #8f0d1718}.sidebar-links{display:block}.mobile-menu-toggle,.logo{display:none}.sidebar a{color:#061a4f;cursor:pointer;background:0 0;border:1px solid #e4b7b7;border-radius:8px;align-items:center;gap:12px;width:100%;margin-bottom:8px;padding:14px;font-size:15px;text-decoration:none;transition:background .2s,border-color .2s,color .2s;display:flex}.sidebar a.active,.sidebar a:hover{color:#fff;background:#c1121f;border-color:#ef233c;box-shadow:0 10px 22px #c1121f33}.main{background:radial-gradient(circle at 15% 0,#ffd9d9 0,#0000 28%),radial-gradient(circle at 90% 12%,#f4b8b8 0,#0000 24%),linear-gradient(135deg,snow 0%,#f7eeee 48%,#f2e5e5 100%);flex:1;min-width:0;padding:24px;overflow-x:hidden}.header{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.header.compact-checklist-header{align-items:center;margin-bottom:14px}.header.compact-checklist-header h1{font-size:32px}.header.compact-checklist-header p{margin-top:3px}.header.compact-checklist-header .header-right{gap:16px}.header h1{color:#061a4f;margin:0;font-size:38px}.header p{color:#061a4f;margin:6px 0 0}.header-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;display:flex}.mqtt{background:#fff8f8;border:1px solid #e5bcbc;border-radius:8px;align-items:center;gap:10px;padding:14px 18px;font-size:18px;font-weight:800;display:flex;box-shadow:0 10px 24px #11182712}.clock,.weather,.logged-user{box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;padding:0;font-size:18px;font-weight:800;display:flex}.weather{min-width:132px}.logged-user{min-width:118px}.logged-user svg{color:#061a4f}.logout-button{color:#061a4f;cursor:pointer;background:#fff8f8;border:1px solid #c1121f;border-radius:8px;align-items:center;gap:8px;padding:13px 16px;font-size:15px;font-weight:900;display:flex}.logout-button:hover{color:#fff;background:#c1121f}.mqtt.online{color:#0f6b2d;border-color:#0f6b2d}.mqtt.offline,.mqtt.erro{color:#e10600}.clock span,.weather span,.logged-user span{color:#061a4f;font-size:15px;display:block}.clock strong,.weather strong,.logged-user strong{color:#061a4f;font-size:18px}.weather.ok svg{color:#0f6b2d}.weather.unavailable svg,.weather.loading svg{color:#b45309}.global-event-alert{border-radius:8px;align-items:center;gap:10px;margin:18px 0 0;padding:16px 20px;font-size:17px;font-weight:900;display:flex}.global-event-alert.critical{color:#fff;background:#c1121f}.global-event-alert.warning{color:#061a4f;background:#facc15}.state-box{background:linear-gradient(135deg,#fff7f7 0%,#fff 68%);border:1px solid #c1121f;border-radius:8px;margin-bottom:22px;padding:22px;position:relative;overflow:hidden;box-shadow:0 12px 28px #11182714}.state-box:before{content:"";background:linear-gradient(90deg,#8f0d17,#c1121f,#ef233c);height:5px;position:absolute;inset:0 0 auto}.state-box span{color:#061a4f}.state-box strong{color:#c1121f;margin-top:8px;font-size:34px;display:block}.state-box.normal{border-color:#061a4f}.state-box.normal strong{color:#061a4f}.state-box.on{border-color:#0f6b2d}.state-box.on strong{color:#0f6b2d}.state-box.fault{background:#fff7f7;border-color:#e10600}.state-box.fault strong{color:#e10600}.state-box.attention{border-color:#c1121f}.cards-grid,.pump-grid{gap:18px;margin-bottom:28px;display:grid}.cards-grid{grid-template-columns:repeat(4,1fr)}.pump-grid{grid-template-columns:repeat(3,1fr)}.status-card,.pump-card{background:linear-gradient(#fff7f7 0%,#fff 42%);border:1px solid #e8c4c4;border-radius:8px;padding:24px;position:relative;overflow:hidden;box-shadow:0 12px 28px #11182712}.status-card:before,.pump-card:before{content:"";background:linear-gradient(90deg,#8f0d17,#c1121f,#ef233c);height:5px;position:absolute;inset:0 0 auto}.card-title{color:#061a4f;align-items:center;gap:10px;font-size:20px;font-weight:700;display:flex}.status-card strong{color:#061a4f;margin-top:22px;font-size:68px;display:block}.status-card span{color:#061a4f;font-size:34px}.telemetry-card strong{font-size:42px}.telemetry-card>span{margin-top:8px;font-size:26px;font-weight:800;display:block}.pump-card{text-align:center;min-height:380px}.pump-card h3{color:#061a4f;font-size:28px}.pump-icon{color:#8b949e;justify-content:center;margin:24px 0 28px;display:flex}.pump-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:5.5px;width:190px;height:126px}.pump-card.on .pump-icon{color:#0f6b2d;filter:drop-shadow(0 0 20px #0f6b2d66)}.pump-card.fault{background:#fff7f7;border-color:#e10600;box-shadow:0 0 0 2px #e1060022,0 16px 32px #e1060022}.pump-card.fault .pump-icon,.pump-card.fault .pump-status{color:#e10600}.pump-status{color:#061a4f;letter-spacing:0;background:#f3e7e7;border-radius:8px;margin-bottom:18px;padding:16px;font-size:18px;font-weight:900}.pump-card.on .pump-status{color:#fff;background:#0f6b2d}.pump-info{color:#061a4f;gap:10px;font-size:22px;line-height:1.3;display:grid}.pump-info b{color:#061a4f;font-size:22px}.pump-info b.mode-auto{color:#0f6b2d}.pump-info b.mode-alert{color:#b45309}.valve-group{text-align:left;border-top:1px solid #ead3d3;margin-top:18px;padding-top:16px}.valve-group-title{color:#061a4f;text-transform:uppercase;align-items:center;gap:8px;margin-bottom:12px;font-size:16px;font-weight:900;display:flex}.valve-list{gap:8px;display:grid}.valve-status{color:#061a4f;background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;grid-template-columns:12px 1fr auto;align-items:center;gap:8px;min-height:42px;padding:8px 10px;display:grid}.valve-status span{font-size:14px;font-weight:800}.valve-status b{font-size:13px;font-weight:900}.valve-dot{border-radius:999px;width:10px;height:10px}.valve-status.open .valve-dot{background:#0f6b2d;box-shadow:0 0 0 4px #0f6b2d18}.valve-status.open b{color:#0f6b2d}.valve-status.closed .valve-dot{background:#b45309;box-shadow:0 0 0 4px #b4530918}.valve-status.closed b{color:#b45309}.valve-status.unknown .valve-dot{background:#94a3b8}.valve-status.unknown b{color:#64748b}section>.valve-group{background:snow;border:1px solid #e8c4c4;border-radius:8px;margin-bottom:28px;padding:18px;box-shadow:0 12px 28px #11182712}.placeholder-page{background:snow;border:1px solid #e8c4c4;border-radius:8px;padding:28px;box-shadow:0 12px 28px #11182712}.placeholder-page h2{color:#061a4f;margin:0 0 8px}.placeholder-page p{color:#061a4f;margin:0;font-weight:700}@media (width<=900px){.app{flex-direction:column}.sidebar{box-shadow:none;z-index:30;background:0 0;border-right:0;width:100%;padding:0 14px;display:block;position:sticky;top:0}.mobile-menu-toggle{color:#fff;cursor:pointer;background:#c1121f;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:0 18px;font-size:16px;font-weight:900;display:inline-flex}.header-menu-toggle{display:inline-flex}.sidebar-links{background:linear-gradient(#fff6f6 0%,#f1d9d9 100%);border:1px solid #e4b7b7;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;padding:10px;display:none;box-shadow:0 12px 28px #8f0d1726}.sidebar.mobile-open .sidebar-links{display:grid}.logo{display:none}.sidebar a{min-width:0;margin-bottom:0}.header{flex-direction:column;align-items:flex-start;gap:14px}.header.compact-checklist-header{gap:10px}.checklist-main .global-event-alert{display:none}.cards-grid,.pump-grid{grid-template-columns:1fr}}@media (width<=640px){.main{padding:14px}.sidebar{padding:0 10px}.mobile-menu-toggle{width:100%}.sidebar-links{grid-template-columns:1fr}.sidebar a{gap:8px;padding:10px 12px;font-size:13px}.sidebar a svg{flex:none;width:17px;height:17px}.header{margin-bottom:18px}.header h1{font-size:30px;line-height:1.05}.header p{font-size:14px}.header-right{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:10px;width:100%;display:grid}.header.compact-checklist-header .header-right{gap:10px}.mqtt,.logout-button,.clock,.weather,.logged-user{justify-content:flex-start;width:100%;min-width:0}.logged-user,.logout-button,.mqtt,.header-menu-toggle,.weather,.clock{grid-column:span 2}.mqtt,.logout-button,.logged-user{background:#fff8f8;border:1px solid #e5bcbc;border-radius:8px;min-height:44px;padding:9px 10px;box-shadow:0 10px 24px #11182712}.logged-user{gap:8px}.logout-button{border-color:#c1121f}.mqtt,.logout-button,.header-menu-toggle{min-height:44px;padding:9px 10px;font-size:13px}.header-menu-toggle{border-radius:8px;gap:7px}.clock strong,.weather strong,.logged-user strong{font-size:15px}.clock span,.weather span,.logged-user span{font-size:12px}.global-event-alert{align-items:flex-start;padding:13px 14px;font-size:15px}.state-box,.status-card,.pump-card,.placeholder-page{padding:18px}.state-box strong{font-size:26px;line-height:1.15}.card-title{font-size:17px}.status-card strong{font-size:46px}.status-card span{font-size:24px}.telemetry-card strong{font-size:34px}.telemetry-card>span{font-size:22px}.pump-card{min-height:0}.pump-card h3{font-size:23px}.pump-icon svg{width:140px;height:94px}.pump-info,.pump-info b{font-size:18px}.valve-status{grid-template-columns:10px 1fr}.valve-status b{grid-column:2}}@media (width<=420px){.main{padding:10px}.header h1{font-size:27px}.sidebar a{min-width:108px}}.alarms-page{color:#061a4f}.alarms-summary{background:#fff;border:1px solid #e4b7b7;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:18px;padding:20px 24px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 28px #11182712}.alarms-summary:before{content:"";background:linear-gradient(90deg,#8f0d17,#c1121f,#ef233c);height:5px;position:absolute;inset:0 0 auto}.alarms-summary.normal:before{background:#0f6b2d}.alarms-summary span{color:#061a4f;text-transform:uppercase;font-size:15px;font-weight:900;display:block}.alarms-summary strong{color:#061a4f;margin-top:4px;font-size:42px;display:block}.alarms-summary.active strong{color:#c1121f}.alarm-summary-counts{gap:34px;display:flex}.alarms-summary .warning-count{color:#b45309}.alarm-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.alarm-action{cursor:pointer;border:1px solid #c1121f;border-radius:8px;align-items:center;gap:8px;padding:12px 16px;font-size:15px;font-weight:900;transition:opacity .2s,transform .2s;display:flex}.alarm-action:hover:not(:disabled){transform:translateY(-1px)}.alarm-action:disabled{cursor:not-allowed;opacity:.45}.alarm-action.mute{color:#fff;background:#c1121f}.alarm-action.reset{color:#061a4f;background:#fff8f8}.alarms-table-wrap{background:#fff;border:1px solid #e4b7b7;border-radius:8px;overflow:hidden;box-shadow:0 12px 28px #11182712}.alarms-table{border-collapse:collapse;width:100%}.alarms-table th,.alarms-table td{text-align:left;border-bottom:1px solid #efd0d0;padding:18px 20px}.alarms-table th{color:#fff;letter-spacing:0;text-transform:uppercase;background:#061a4f;font-size:14px}.alarms-table tr.normal{color:#061a4f;background:#fff}.alarms-table tr.active{color:#fff;background:#c1121f}.alarms-table tr.warning{color:#061a4f;background:#facc15}.alarms-table tr.active td{border-bottom-color:#ef8f8f}.alarms-table tr.warning td{border-bottom-color:#d6a800}.alarms-table tr.empty td{color:#061a4f;text-align:center;padding:28px 20px;font-weight:900}.alarms-table tr:last-child td{border-bottom:0}.alarm-status{text-transform:uppercase;align-items:center;gap:10px;font-weight:900;display:inline-flex}.event-type{text-transform:uppercase;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:13px;font-weight:900;display:inline-flex}.event-type.alarme{color:#b91c1c;background:#fee2e2}.event-type.alerta{color:#92400e;background:#fef3c7}.alarms-table tr.active .event-type.alarme{color:#c1121f;background:#fff}.alarms-table tr.warning .event-type.alerta{color:#7c2d12;background:#fff7d6}.alarms-table tr.normal .alarm-status{color:#6b7280}.alarms-table tr.active .alarm-status{color:#fff}.alarms-table tr.warning .alarm-status{color:#7c2d12}.alarm-count{text-align:center;min-width:32px;font-size:22px;display:inline-block}@media (width<=800px){.alarms-summary{flex-direction:column;align-items:flex-start;gap:16px;padding:16px}.alarm-summary-counts{gap:22px;width:100%}.alarm-actions{justify-content:flex-start;width:100%}.alarm-action{justify-content:center;width:100%}}@media (width<=640px){.alarms-table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.alarms-table{border-collapse:separate;border-spacing:0 12px;width:100%;min-width:0}.alarms-table thead{display:none}.alarms-table tbody,.alarms-table tr,.alarms-table td{width:100%;display:block}.alarms-table tbody tr{background:#fff;border:1px solid #e4b7b7;border-radius:12px;padding:14px;overflow:hidden;box-shadow:0 10px 22px #061a4f14}.alarms-table tr.active{color:#fff;background:#c1121f}.alarms-table tr.warning{color:#061a4f;background:#facc15}.alarms-table tr.normal{color:#061a4f;background:#fff}.alarms-table th,.alarms-table td{text-align:left;border:0;padding:8px 0}.alarms-table td:before{color:#64748b;content:attr(data-label);letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:12px;font-weight:900;display:block}.alarms-table tr.active td:before{color:#fee2e2}.alarms-table tr.warning td:before{color:#7c2d12}.alarms-table td:first-child{font-size:18px;line-height:1.28}.alarms-table td:not(:first-child){border-top:1px solid #e5e7eb;margin-top:8px;padding-top:12px}.alarms-table tr.active td:not(:first-child){border-top-color:#ef8f8f}.alarms-table tr.warning td:not(:first-child){border-top-color:#d6a800}.alarms-table td:nth-child(2),.alarms-table td:nth-child(3),.alarms-table td:nth-child(4),.alarms-table td:nth-child(5){grid-template-columns:108px minmax(0,1fr);align-items:center;gap:10px;display:grid}.alarms-table td:nth-child(2):before,.alarms-table td:nth-child(3):before,.alarms-table td:nth-child(4):before,.alarms-table td:nth-child(5):before{margin-bottom:0}.alarms-table .empty,.alarms-table .empty td{display:block}.alarms-table .empty td{text-align:center;padding:18px}.alarms-table .empty td:before{content:none}.event-type,.alarm-status{max-width:max-content}.alarm-count{text-align:left}}@media (width<=480px){.alarm-summary-counts{grid-template-columns:1fr 1fr;display:grid}.alarms-summary strong{font-size:36px}}.checklist-page{gap:14px;display:grid}.checklist-header,.checklist-wizard,.checklist-step-card,.checklist-history,.checklist-api-message,.desktop-checklist-notice,.checklist-report-query,.scada-prepared-message,.mobile-field-note,.checklist-final-alert{background:snow;border:1px solid #e8c4c4;border-radius:8px;box-shadow:0 12px 28px #11182712}.checklist-header{border-top:5px solid #c1121f;align-items:flex-start;gap:12px;padding:14px 16px;display:grid}.module-kicker,.photos-title,.mobile-field-note,.scada-prepared-message,.checklist-final-alert,.checklist-report-query{color:#061a4f;align-items:center;gap:10px;display:flex}.module-kicker{text-transform:uppercase;font-size:14px;font-weight:900}.checklist-header h2{color:#061a4f;margin:6px 0 4px;font-size:22px;line-height:1.08}.checklist-header p,.desktop-checklist-notice span,.photos-title span{color:#061a4f;margin:0;font-weight:700}.checklist-header-actions{gap:10px;display:grid}.checklist-header-actions button,.field-bottom-actions button,.capture-button,.photo-option,.history-refresh,.checklist-report-query button{color:#fff;cursor:pointer;background:#061a4f;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:50px;padding:0 16px;font-size:16px;font-weight:900;display:flex}.checklist-header-actions span{color:#061a4f;align-items:center;gap:8px;font-weight:900;display:flex}.checklist-header-actions small{color:#0f6b2d;font-size:13px;font-weight:900}.desktop-checklist-notice{align-items:flex-start;gap:14px;padding:18px;display:flex}.desktop-checklist-notice svg{color:#b45309;flex:none}.desktop-checklist-notice strong{color:#061a4f;margin-bottom:7px;font-size:18px;line-height:1.25;display:block}.checklist-api-message{padding:12px 14px;font-size:15px;font-weight:900}.checklist-api-message.success{color:#0f6b2d;background:#ecfdf5;border-color:#86efac}.checklist-api-message.error{color:#c1121f;background:#fff1f2;border-color:#fca5a5}.field-checklist-layout{gap:12px;display:grid}.mobile-field-note{background:#eef6ff;border-color:#bfdbfe;padding:10px 12px;font-size:14px;font-weight:900}.scada-prepared-message{color:#0f6b2d;background:#ecfdf5;border-color:#86efac;padding:14px;font-weight:900}.checklist-wizard{gap:8px;padding:10px;display:grid}.wizard-topline{justify-content:space-between;align-items:start;gap:5px;display:flex}.wizard-topline span,.checklist-history header span,.checklist-report-query span{color:#061a4f;text-transform:uppercase;font-size:13px;font-weight:900}.wizard-topline strong{color:#061a4f;font-size:22px}.wizard-topline b{color:#061a4f;white-space:nowrap;background:#f3e7e7;border-radius:999px;padding:7px 10px;font-size:13px}.wizard-progress{background:#f3e7e7;border-radius:999px;height:18px;overflow:hidden}.wizard-progress span{background:#c1121f;height:100%;transition:width .2s;display:block}.wizard-steps{grid-template-columns:repeat(10,1fr);gap:5px;display:grid}.wizard-steps button{color:#64748b;cursor:default;opacity:1;background:#f8fafc;border:1px solid #d7e0ea;border-radius:999px;height:30px;padding:0;font-size:12px;font-weight:900}.wizard-steps button.active{color:#fff;background:#c1121f;border-color:#c1121f}.wizard-steps button.done{color:#fff;background:#0f6b2d;border-color:#0f6b2d}.field-bottom-actions{grid-template-columns:1fr;gap:10px;display:grid}.field-bottom-actions button:disabled{color:#64748b;cursor:not-allowed;background:#cbd5e1}.field-bottom-actions .save{color:#061a4f;background:#fff8f8;border:1px solid #c1121f}.checklist-step-card{background:#eef3f8;padding:18px;scroll-margin-top:16px}.checklist-step-card>header{align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.checklist-step-card>header>span{color:#fff;background:#061a4f;border-radius:8px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;font-weight:900;display:flex}.checklist-step-card h3{color:#061a4f;margin:0 0 5px;font-size:24px}.checklist-step-card p{color:#061a4f;margin:0;font-weight:700}.checklist-fields-grid{gap:14px;display:grid}.step-observations-section{gap:12px;display:grid}.step-observations-section h4{color:#061a4f;text-transform:uppercase;margin:0;font-size:16px;font-weight:900}.step-section-divider{background:#cbd5e1;width:100%;height:1px;margin:18px 0}.checklist-section-title{color:#061a4f;text-transform:uppercase;background:#eef2f7;border-left:5px solid #061a4f;border-radius:8px;grid-column:1/-1;margin:6px 0 0;padding:12px 14px;font-size:17px;font-weight:900}.checklist-guided-steps{color:#061a4f;background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;gap:7px;margin:0 0 18px;padding:14px 14px 14px 34px;font-size:15px;font-weight:800;display:grid}.step-capture-panel{background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;gap:12px;margin-bottom:18px;padding:14px;display:grid}.capture-button{background:#061a4f}.capture-result{color:#061a4f;gap:10px;font-weight:900;display:grid}.captured-data-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;display:grid}.captured-data-grid span{background:#fff;border:1px solid #d7e0ea;border-radius:8px;gap:3px;padding:10px;display:grid}.captured-data-grid small{color:#475569;text-transform:uppercase;font-size:11px}.captured-data-grid b{color:#061a4f;font-size:15px}.checklist-field,.checklist-radio{color:#061a4f;text-transform:uppercase;gap:7px;font-size:14px;font-weight:900;display:grid}.checklist-field small,.checklist-radio small{color:#c1121f;margin-left:6px;font-size:11px}.checklist-field.required-missing input,.checklist-field.required-missing textarea,.checklist-radio.required-missing label{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b22}.checklist-field input,.checklist-field textarea,.checklist-radio label,.checklist-history-filters input,.checklist-history-filters select{color:#061a4f;background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;min-height:50px;padding:12px;font-size:16px;font-weight:800}.checklist-field textarea{resize:vertical}.technical-status{color:#061a4f;background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;gap:10px;padding:12px;font-size:16px;font-weight:900;display:grid}.technical-status.has-issue{background:#fff1f2;border-color:#ef4444}.technical-status-title{line-height:1.25}.technical-status-options{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.technical-status-option{color:#061a4f;cursor:pointer;border:1px solid #d7e0ea;border-radius:8px;min-height:42px;font-size:13px;font-weight:900}.technical-status-option.ok.selected{color:#0f6b2d;background:#dcfce7;border-color:#0f6b2d}.technical-status-option.nao-ok.selected{color:#c1121f;background:#fee2e2;border-color:#c1121f}.technical-status-option.na.selected{color:#334155;background:#e2e8f0;border-color:#64748b}.technical-observation{color:#c1121f;text-transform:uppercase;gap:7px;font-size:13px;display:grid}.technical-observation textarea{color:#061a4f;resize:vertical;background:#fff;border:1px solid #ef4444;border-radius:8px;padding:10px;font-size:15px;font-weight:800}.checklist-radio input{accent-color:#c1121f;width:22px;height:22px}.checklist-radio{border:0;margin:0;padding:0}.checklist-radio legend{margin-bottom:7px}.checklist-radio div{gap:8px;display:grid}.checklist-radio label{text-transform:none;align-items:center;gap:10px;display:flex}.checklist-photos{background:#fff;border:1px solid #d7e0ea;border-radius:8px;gap:14px;margin-top:0;padding:18px;display:grid}.photos-title strong{color:#061a4f;font-size:18px;display:block}.photo-counter,.photos-loading{color:#061a4f;background:#eef6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:900}.photo-counter strong{color:#c1121f}.photo-request-list{color:#061a4f;background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;gap:6px;margin:0;padding:12px 12px 12px 30px;font-size:14px;font-weight:900;display:grid}.photo-caption-composer{background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;gap:12px;padding:12px;display:grid}.photo-caption-composer label{color:#061a4f;text-transform:uppercase;gap:7px;font-size:13px;font-weight:900;display:grid}.photo-caption-composer input{color:#061a4f;background:#fff;border:1px solid #d7e0ea;border-radius:8px;min-height:48px;padding:11px 12px;font-size:15px;font-weight:800}.photo-caption-previews{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;display:grid}.photo-caption-previews img{aspect-ratio:4/3;object-fit:cover;border-radius:6px;width:100%}.photo-caption-actions{grid-template-columns:1fr 1.3fr;gap:8px;display:grid}.photo-caption-actions button{color:#061a4f;background:#e2e8f0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:900;display:flex}.photo-caption-actions button.send{color:#fff;background:#061a4f}.photo-caption-actions button:disabled{cursor:wait;opacity:.65}.photo-add-menu{gap:8px;display:grid;position:relative}.photo-add-trigger,.photo-add-options button{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:58px;padding:0 16px;font-size:16px;font-weight:900;display:flex}.photo-add-trigger{color:#fff;background:#c1121f}.photo-add-trigger:disabled{cursor:wait;background:#94a3b8}.photo-add-chevron{margin-left:auto;transition:transform .16s}.photo-add-menu.open .photo-add-chevron{transform:rotate(180deg)}.photo-add-options{background:#fff;border:1px solid #cbd5e1;border-radius:8px;gap:6px;padding:8px;display:grid;box-shadow:0 12px 24px #1118271f}.photo-add-options button{color:#061a4f;background:#f8fafc;justify-content:flex-start;min-height:52px}.photo-add-options button:active{background:#e2e8f0}.photo-file-input{display:none}.photo-preview-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.photo-preview-grid figure{background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;margin:0;overflow:hidden}.photo-preview-grid img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.photo-image-unavailable{aspect-ratio:4/3;color:#64748b;background:#e2e8f0;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:900;display:flex}.photo-preview-grid figcaption{color:#061a4f;text-overflow:ellipsis;white-space:nowrap;padding:8px;font-size:12px;font-weight:800;overflow:hidden}.photo-origin-badge{text-transform:uppercase;border-radius:999px;margin-right:6px;padding:3px 6px;font-size:10px;display:inline-block}.photo-origin-badge.sent{color:#166534;background:#dcfce7}.photo-origin-badge.pending{color:#9a3412;background:#ffedd5}.photo-description{color:#061a4f;border-top:1px solid #d7e0ea;gap:4px;min-height:54px;padding:10px;display:grid}.photo-description strong{font-size:13px;line-height:1.25}.photo-description>span{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:900}.photo-description small{color:#64748b;font-size:11px;font-weight:900}.photo-card-actions{border-top:1px solid #d7e0ea;display:grid}.photo-card-actions button{cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;font-weight:900;display:flex}.photo-card-actions button+button{border-top:1px solid #d7e0ea}.photo-card-actions .retry{color:#061a4f;background:#eff6ff}.photo-card-actions .retry:disabled{color:#94a3b8;cursor:wait}.photo-card-actions .delete{color:#c1121f;background:#fff8f8}.step-message{margin:0 0 12px}.checklist-final-alert{color:#7c2d12;background:#ffedd5;border-color:#fdba74;padding:14px;font-weight:900}.checklist-desktop-tools{gap:18px;display:grid}.mobile-execution-control{display:none}.checklist-report-query{justify-content:space-between;padding:18px}.checklist-report-query strong{color:#061a4f;font-size:18px;display:block}.checklist-report-query button{color:#0f6b2d;background:#fff8f8;border:1px solid #0f6b2d;min-height:44px}.checklist-history{overflow:hidden}.checklist-history>header{border-bottom:1px solid #e8c4c4;align-items:center;gap:16px;padding:18px;display:grid}.checklist-history header strong{color:#061a4f;font-size:32px;display:block}.checklist-history header small{color:#64748b;margin-top:4px;font-size:13px;font-weight:900;display:block}.checklist-history header small.history-error{color:#c1121f}.checklist-history-filters{gap:10px;display:grid}.checklist-history-filters label{color:#061a4f;text-transform:uppercase;gap:7px;font-size:13px;font-weight:900;display:grid}.history-refresh{color:#061a4f;background:#fff8f8;border:1px solid #c1121f;min-height:50px}.checklist-history-table-wrap{overflow-x:auto}.checklist-history-table{border-collapse:collapse;color:#061a4f;width:100%;min-width:900px}.checklist-history-table th{color:#fff;text-align:left;text-transform:uppercase;background:#061a4f;padding:14px;font-size:13px}.checklist-history-table td{border-bottom:1px solid #ead3d3;padding:14px;font-size:15px;font-weight:800}.checklist-status{text-transform:uppercase;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:900;display:inline-flex}.checklist-status.concluido,.checklist-status.aprovado{color:#0f6b2d;background:#dcfce7}.checklist-status.aprovado-com-ressalvas{color:#b45309;background:#ffedd5}.checklist-status.reprovado{color:#c1121f;background:#fee2e2}.checklist-status.pendente{color:#b45309;background:#ffedd5}.checklist-status.rascunho{color:#061a4f;background:#dbeafe}.checklist-status.pdf-salvo{color:#166534;background:#dcfce7}.checklist-history-actions{gap:8px;display:flex}.checklist-history-actions button,.checklist-history-actions a{color:#fff;cursor:pointer;white-space:nowrap;background:#061a4f;border:0;border-radius:8px;align-items:center;min-height:36px;padding:0 10px;font-size:13px;font-weight:900;text-decoration:none;display:inline-flex}.checklist-history-actions button:disabled{color:#64748b;cursor:not-allowed;background:#e2e8f0}.checklist-history-actions button.delete{color:#c1121f;background:#fff;border:1px solid #c1121f}.checklist-report-id{color:#061a4f;white-space:nowrap;font-size:14px}.checklist-pdf-confirmed{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;width:max-content;margin-top:6px;padding:5px 8px;font-size:10px;font-weight:900;display:block}@media (width>=641px){.checklist-header{grid-template-columns:1fr auto}.checklist-header-actions{min-width:280px}.field-bottom-actions{grid-template-columns:1fr 1.2fr 1fr}.checklist-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checklist-field.full,.checklist-radio{grid-column:1/-1}.checklist-field:has(textarea){grid-column:1/-1}.checklist-history>header,.checklist-history-filters{grid-template-columns:auto 1fr}.checklist-history-filters{grid-template-columns:minmax(180px,260px) auto;justify-self:end;align-items:end;min-width:min(440px,100%)}}@media (width>=1025px){.field-checklist-layout{display:none}.checklist-desktop-tools{display:grid}}@media (width<=1024px){.desktop-checklist-notice,.checklist-desktop-tools:not(.mobile-history-visible){display:none}.checklist-desktop-tools.mobile-history-visible{display:grid}.mobile-execution-control{background:#fff;border:1px solid #d7e0ea;border-left:5px solid #c1121f;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.mobile-execution-control span,.mobile-execution-control strong{color:#061a4f;display:block}.mobile-execution-control span{text-transform:uppercase;margin-bottom:4px;font-size:12px;font-weight:900}.mobile-execution-control strong{font-size:16px}.mobile-execution-control button{color:#fff;background:#061a4f;flex:none;align-items:center;gap:8px;min-height:50px;padding:0 18px;display:inline-flex}}@media (width<=640px){.checklist-header h2{font-size:24px}.checklist-step-card,.checklist-photos,.checklist-wizard,.checklist-header{padding:12px}.wizard-steps{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.wizard-steps button{height:26px;font-size:11px}.checklist-report-query{flex-direction:column;align-items:flex-start}.checklist-report-query button{width:100%}.checklist-desktop-tools{gap:10px}.checklist-history>header{padding:12px}.mobile-execution-control{flex-direction:column;align-items:stretch;padding:14px}.mobile-execution-control button{justify-content:center;width:100%}}.settings-page{gap:18px;display:grid}.settings-card{color:#061a4f;background:#ffffffeb;border:1px solid #c1121f47;border-top:5px solid #b1121f;border-radius:8px;gap:18px;max-width:620px;padding:24px;display:grid;box-shadow:0 16px 35px #11182714}.settings-card-wide{max-width:1120px}.settings-card-header span{letter-spacing:.02em;text-transform:uppercase;font-size:13px;font-weight:900;display:block}.settings-card-header h2{margin:6px 0 8px;font-size:28px}.settings-card-header p{color:#475569;margin:0;font-weight:700;line-height:1.45}.settings-field{text-transform:uppercase;gap:8px;font-size:13px;font-weight:900;display:grid}.settings-field select{color:#061a4f;font:inherit;text-transform:none;background:#f8fafc;border:1px solid #061a4f2e;border-radius:8px;min-height:48px;padding:0 14px;font-size:17px}.settings-save-button{color:#fff;cursor:pointer;background:#061a4f;border:0;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:fit-content;min-height:48px;padding:0 18px;font-size:16px;font-weight:900;display:inline-flex}.settings-save-button:disabled,.settings-secondary-button:disabled{cursor:not-allowed;opacity:.58}.settings-secondary-button{color:#061a4f;cursor:pointer;background:#f8fafc;border:1px solid #061a4f2e;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:0 16px;font-size:15px;font-weight:900;display:inline-flex}.push-status{border:1px solid #061a4f29;border-radius:8px;align-items:center;gap:12px;padding:14px 16px;display:flex}.push-status.is-active{color:#166534;background:#ecfdf5;border-color:#86efac}.push-status.is-inactive{color:#061a4f;background:#f8fafc}.push-status span{letter-spacing:.02em;text-transform:uppercase;font-size:12px;font-weight:900;display:block}.push-status strong{margin-top:2px;font-size:16px;display:block}.push-actions{flex-wrap:wrap;gap:10px;display:flex}.push-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.push-group{border:1px solid #061a4f24;border-radius:8px;gap:12px;margin:0;padding:16px;display:grid}.push-group legend{color:#061a4f;text-transform:uppercase;padding:0 6px;font-size:15px;font-weight:900}.push-options{gap:10px;display:grid}.push-option{color:#061a4f;cursor:pointer;background:#f8fafc;border:1px solid #061a4f14;border-radius:8px;align-items:center;gap:10px;min-height:44px;padding:10px 12px;font-weight:800;display:flex}.push-option input{accent-color:#b1121f;flex:none;width:18px;height:18px}.settings-success{color:#166534;background:#dcfce7;border:1px solid #86efac;border-radius:8px;padding:14px 16px;font-weight:900}@media (width<=760px){.settings-card{max-width:none;padding:18px}.push-groups{grid-template-columns:1fr}.settings-save-button,.settings-secondary-button{width:100%}}.history-page{color:#061a4f;min-width:0;max-width:100%;overflow:hidden}.history-summary{background:#fff;border:1px solid #e4b7b7;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:20px 24px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 28px #11182712}.history-summary:before{content:"";background:linear-gradient(90deg,#8f0d17,#c1121f,#ef233c);height:5px;position:absolute;inset:0 0 auto}.history-summary span{text-transform:uppercase;font-size:15px;font-weight:900;display:block}.history-summary strong{margin-top:4px;font-size:38px;display:block}.history-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-left:auto;display:flex}.history-refresh{color:#061a4f;cursor:pointer;background:#fff;border:1px solid #c1121f;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-size:15px;font-weight:900;display:inline-flex}.history-refresh:disabled{cursor:wait;opacity:.7}.history-error{color:#fff;background:#c1121f;border-radius:8px;align-items:center;min-height:48px;margin-bottom:18px;padding:0 20px;font-size:16px;font-weight:900;display:flex}.history-filters{background:#fff;border:1px solid #e4b7b7;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:end;gap:14px;max-width:100%;margin-bottom:18px;padding:18px;display:grid;box-shadow:0 12px 28px #11182712}.history-filters label{color:#061a4f;text-transform:uppercase;gap:8px;font-size:13px;font-weight:900;display:grid}.history-filters input,.history-filters select{color:#061a4f;background:#f8fafc;border:1px solid #d6b7b7;border-radius:8px;min-height:44px;padding:0 12px;font-size:15px;font-weight:800}.history-filter-clear{color:#fff;cursor:pointer;background:#061a4f;border:0;border-radius:8px;width:100%;min-height:44px;padding:0 18px;font-size:14px;font-weight:900}.history-table-wrap{background:#fff;border:1px solid #e4b7b7;border-radius:8px;width:100%;max-width:100%;max-height:min(620px,100vh - 430px);overflow:auto;box-shadow:0 12px 28px #11182712}.history-table{border-collapse:collapse;table-layout:fixed;width:3550px}.history-table th,.history-table td{text-align:center;vertical-align:middle;border-bottom:1px solid #efd0d0;border-right:1px solid #d8e0ea;padding:14px 10px}.history-table th:last-child,.history-table td:last-child{border-right:0}.history-table th{color:#fff;text-transform:uppercase;white-space:normal;z-index:3;background:#061a4f;font-size:12px;line-height:1.05;position:sticky;top:0}.history-table th span{display:block}.history-table td{color:#061a4f;white-space:nowrap;font-size:14px;font-weight:800}.history-table tr:last-child td{border-bottom:0}.history-table tr.empty td{text-align:center;padding:28px 20px}.history-date{justify-content:center;align-items:center;gap:8px;display:flex}.valve-state{text-transform:uppercase;border-radius:999px;justify-content:center;min-width:86px;padding:6px 10px;font-size:12px;font-weight:900;display:inline-flex}.valve-state.open{color:#166534;background:#dcfce7}.valve-state.closed{color:#9a3412;background:#ffedd5}.valve-state.unknown{color:#475569;background:#e5e7eb}.history-table th:first-child,.history-table td:first-child{position:sticky;left:0}.history-table th:first-child{z-index:4}.history-table td:first-child{z-index:2;background:#fff;box-shadow:8px 0 12px #061a4f0f}@media (width<=700px){.history-summary{flex-direction:column;align-items:flex-start;padding:16px}.history-actions{justify-content:flex-start;width:100%}.history-refresh{justify-content:center;width:100%}.history-filters{grid-template-columns:1fr;padding:14px}.history-table-wrap{max-height:calc(100vh - 390px)}.history-summary strong{font-size:34px}}@media (width<=420px){.history-table-wrap{max-height:calc(100vh - 410px)}.history-filters input,.history-filters select{font-size:14px}}.events-history-page .history-summary{align-items:center}.events-filters{grid-template-columns:repeat(2,minmax(220px,1fr))}.events-error{justify-content:space-between}.events-error button{color:#c1121f;cursor:pointer;background:#fff;border:0;border-radius:8px;min-height:38px;padding:0 14px;font-size:14px;font-weight:900}.events-table-wrap{max-height:min(640px,100vh - 470px)}.events-table{width:100%;min-width:980px}.events-table th:first-child,.events-table td:first-child{width:230px}.events-table th:nth-child(2),.events-table td:nth-child(2){width:160px}.events-table th:nth-child(3),.events-table td:nth-child(3){text-align:left;white-space:normal;padding-left:22px;padding-right:18px;font-size:16px;font-weight:900;line-height:1.25}.events-table th:nth-child(4),.events-table td:nth-child(4){width:150px}.events-table td:nth-child(4){font-size:15px;font-weight:900}.event-category{text-transform:uppercase;border-radius:999px;align-items:center;min-height:28px;padding:0 12px;font-size:13px;font-weight:900;display:inline-flex}.event-category.operacao{color:#0f6b2d;background:#dcfce7}.event-category.sistema{color:#061a4f;background:#dbeafe}.event-category.falha{color:#c1121f;background:#fee2e2}.event-category.alarme{color:#b45309;background:#ffedd5}.event-category.valvula{color:#075985;background:#e0f2fe}.events-pagination{color:#061a4f;background:#fff;border:1px solid #e4b7b7;border-radius:8px;justify-content:space-between;align-items:center;margin-top:14px;padding:14px 16px;font-size:15px;font-weight:900;display:flex}.events-pagination div{gap:10px;display:flex}.events-pagination button{color:#fff;cursor:pointer;background:#061a4f;border:0;border-radius:8px;min-height:40px;padding:0 16px;font-size:14px;font-weight:900}.events-pagination button:disabled{color:#64748b;cursor:not-allowed;background:#cbd5e1}@media (width<=900px){.events-filters{grid-template-columns:1fr}.events-pagination{flex-direction:column;align-items:flex-start;gap:12px}.events-pagination div,.events-pagination button{width:100%}}@media (width<=640px){.events-table-wrap{max-height:none;overflow:visible}.events-table{border-collapse:separate;border-spacing:0 12px;width:100%;min-width:0}.events-table thead{display:none}.events-table tbody,.events-table tr,.events-table td{display:block}.events-table tbody tr{background:#fff;border:1px solid #e4b7b7;border-radius:12px;padding:12px 14px;overflow:hidden;box-shadow:0 10px 24px #061a4f14}.events-table td,.events-table th:first-child,.events-table th:nth-child(2),.events-table th:nth-child(3),.events-table th:nth-child(4),.events-table td:first-child,.events-table td:nth-child(2),.events-table td:nth-child(3),.events-table td:nth-child(4){text-align:left;border:0;width:auto;padding:8px 0}.events-table td:before{color:#64748b;content:attr(data-label);letter-spacing:0;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.events-table td:first-child,.events-table td:nth-child(2),.events-table td:nth-child(4){grid-template-columns:96px minmax(0,1fr);align-items:flex-start;gap:10px;display:grid}.events-table td:first-child:before,.events-table td:nth-child(2):before,.events-table td:nth-child(4):before{margin-bottom:0}.events-table td:nth-child(3){white-space:normal;border-top:1px solid #f1d6d6;margin-top:4px;padding-top:12px;font-size:18px;line-height:1.28}.events-table td:nth-child(4){border-top:1px solid #f1d6d6;margin-top:4px;padding-top:12px}.events-table .empty td,.events-table tr.empty{border:0;display:block}.events-table .empty td:before{display:none}.history-date{white-space:normal;align-items:center}.event-category{justify-content:center;max-width:max-content}}.login-page{color:#f8fafc;background:radial-gradient(circle at 20% 12%,#7f1d1d 0,#0000 28%),radial-gradient(circle at 90% 18%,#dc2626 0,#0000 24%),linear-gradient(135deg,#111827 0%,#1f2937 48%,#0f172a 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-panel{color:#061a4f;background:#f8fafc;border:1px solid #ef4444;border-radius:10px;width:100%;max-width:460px;padding:30px;position:relative;overflow:hidden;box-shadow:0 28px 80px #0005}.login-panel:before{content:"";background:linear-gradient(90deg,#8f0d17,#dc2626,#ef4444);height:6px;position:absolute;inset:0 0 auto}.login-brand{align-items:center;gap:16px;margin-bottom:30px;display:flex}.login-brand h1{margin:0;font-size:32px;line-height:1}.login-brand p{margin:8px 0 0;font-weight:700}.login-icon{color:#fff;background:#dc2626;border-radius:8px;justify-content:center;align-items:center;width:66px;height:66px;display:flex}.login-form{gap:18px;display:grid}.login-form label{color:#061a4f;text-transform:uppercase;gap:8px;font-size:14px;font-weight:900;display:grid}.login-form label span{background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:10px;padding:0 14px;display:flex}.login-form input{color:#061a4f;border:0;outline:0;flex:1;padding:16px 0;font-size:18px;font-weight:800}.login-form button{color:#fff;cursor:pointer;background:#c1121f;border:1px solid #ef233c;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:16px;font-size:18px;font-weight:900;display:flex}.login-form button:disabled{cursor:wait;opacity:.75}.login-error{color:#b91c1c;background:#fef2f2;border:1px solid #ef4444;border-radius:8px;padding:12px 14px;font-weight:800}@media (width<=520px){.login-page{align-items:stretch;padding:14px}.login-panel{align-self:center;padding:24px 18px}.login-brand{flex-direction:column;align-items:flex-start;gap:12px}.login-brand h1{font-size:28px}.login-icon{width:56px;height:56px}.login-form input{font-size:16px}}.reports-page{gap:18px;display:grid}.reports-summary,.pressure-chart-card,.report-metric-card{background:snow;border:1px solid #e8c4c4;border-radius:8px;box-shadow:0 12px 28px #11182712}.reports-summary{border-top:5px solid #c1121f;justify-content:space-between;align-items:center;gap:18px;min-height:118px;padding:22px 24px;display:flex}.reports-summary>svg{color:#061a4f;flex:none}.reports-summary span,.pressure-chart-card header span,.report-metric-card span,.reports-actions label{color:#061a4f;text-transform:uppercase;font-size:14px;font-weight:900}.reports-summary strong{color:#061a4f;margin-top:4px;font-size:34px;line-height:1.05;display:block}.reports-actions{align-items:end;gap:12px;margin-left:auto;display:flex}.reports-actions label{gap:7px;display:grid}.reports-actions select,.reports-actions button{color:#061a4f;background:#f8fafc;border:1px solid #e4b7b7;border-radius:8px;min-height:46px;padding:0 14px;font-size:15px;font-weight:900}.reports-actions button{cursor:pointer;align-items:center;gap:8px;display:flex}.reports-actions button:hover:not(:disabled){border-color:#c1121f}.reports-actions button:disabled{cursor:wait;opacity:.7}.reports-error{color:#fff;background:#c1121f;border-radius:8px;padding:14px 18px;font-size:16px;font-weight:900}.report-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.report-metric-card{align-items:center;gap:14px;min-height:104px;padding:18px;display:flex}.report-metric-card svg{color:#061a4f}.report-metric-card strong{color:#061a4f;margin-top:6px;font-size:28px;display:block}.pressure-chart-card{gap:18px;padding:22px;display:grid}.pressure-chart-card header{justify-content:space-between;align-items:center;gap:12px;display:flex}.pressure-chart-card h2{color:#061a4f;margin:4px 0 0;font-size:24px}.pressure-chart-card header strong{color:#061a4f;white-space:nowrap;background:#f3e7e7;border-radius:999px;padding:8px 12px;font-size:14px}.pressure-chart-wrap{background-color:#f8fafc;background-image:linear-gradient(#e7edf5 1px,#0000 1px),linear-gradient(90deg,#e7edf5 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #d7e0ea;border-radius:8px;min-height:420px;padding:12px;position:relative;overflow-x:auto}.pressure-chart{width:100%;min-width:780px;display:block}.chart-grid-line{stroke:#d9e2ec;stroke-width:1px}.chart-axis{stroke:#73808c;stroke-width:1.6px}.chart-axis-label,.chart-time-label{fill:#061a4f;font-size:15px;font-weight:800}.chart-time-label{text-anchor:middle}.chart-average-line{stroke:#b45309;stroke-dasharray:8 8;stroke-width:2px}.chart-average-label{fill:#7c2d12;font-size:13px;font-weight:900}.pressure-area{fill:#c1121f;opacity:.08}.pressure-line{fill:none;filter:drop-shadow(0 3px 7px #c1121f22);stroke:#c1121f;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.pressure-marker circle{fill:#fff;stroke:#061a4f;stroke-width:3px}.pressure-marker text{fill:#061a4f;paint-order:stroke;stroke:#f8fafc;stroke-width:4px;font-size:13px;font-weight:900}.pressure-marker.ultimo circle{fill:#c1121f;stroke:#fff}.pressure-marker.maximo circle{fill:#b45309;stroke:#fff}.pressure-marker.minimo circle{fill:#0f6b2d;stroke:#fff}.chart-empty{color:#061a4f;text-align:center;justify-content:center;align-items:center;padding:22px;font-size:18px;font-weight:900;display:flex;position:absolute;inset:0}.reports-valves-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.reports-valves-grid article{background:#f8fafc;border:1px solid #d8e0ea;border-radius:8px;padding:12px}.reports-valves-grid h3{color:#061a4f;text-transform:uppercase;margin:0 0 10px;font-size:13px}.reports-valves-grid dl{gap:8px;margin:0;display:grid}.reports-valves-grid dl div{justify-content:space-between;align-items:center;gap:8px;display:flex}.reports-valves-grid dt{color:#334155;font-size:13px;font-weight:800}@media (width<=900px){.reports-summary{flex-direction:column;align-items:flex-start}.reports-actions{grid-template-columns:1fr 1fr;width:100%;margin-left:0;display:grid}.reports-actions select,.reports-actions button{width:100%}.report-metrics-grid,.reports-valves-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.reports-summary,.pressure-chart-card,.report-metric-card{padding:16px}.reports-summary strong{font-size:26px}.reports-actions,.report-metrics-grid{grid-template-columns:1fr}.report-metric-card{min-height:84px}.reports-valves-grid{grid-template-columns:1fr}.report-metric-card strong{font-size:24px}.pressure-chart-card header{flex-direction:column;align-items:flex-start}.pressure-chart-card h2{font-size:20px}.pressure-chart-wrap{min-height:360px}}.checklist-report-page{color:#172033;gap:14px;display:grid}.report-actions{justify-content:flex-end;gap:10px;display:flex}.report-actions button,.report-error button{color:#061a4f;cursor:pointer;background:#fff;border:1px solid #c1121f;border-radius:6px;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-weight:900;display:inline-flex}.report-actions button.primary{color:#fff;background:#061a4f;border-color:#061a4f}.report-print-confirmation{background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.report-print-confirmation strong,.report-print-confirmation span{display:block}.report-print-confirmation small{color:#c1121f;margin-top:7px;font-size:12px;font-weight:900;display:block}.report-confirmation-actions{flex:none;gap:8px;display:flex}.report-print-confirmation strong{color:#061a4f;font-size:15px}.report-print-confirmation span{color:#475569;margin-top:4px;font-size:12px;font-weight:800}.report-print-confirmation button{color:#fff;cursor:pointer;background:#166534;border:0;border-radius:6px;flex:none;align-items:center;gap:8px;min-height:44px;padding:0 14px;font-weight:900;display:inline-flex}.report-print-confirmation button.secondary{color:#061a4f;background:#fff;border:1px solid #64748b}.report-print-confirmation button:disabled{cursor:wait;opacity:.65}.report-actions button:disabled{color:#64748b;cursor:not-allowed;background:#e2e8f0;border-color:#cbd5e1}.checklist-report-document{background:#fff;border:1px solid #d8dee8;border-radius:8px;gap:28px;padding:clamp(18px,3vw,42px);display:grid;box-shadow:0 14px 36px #11182712}.report-document-header{grid-template-columns:auto 1fr auto;gap:20px;display:grid}.report-brand{align-items:center;gap:10px;display:flex}.report-brand>span{color:#fff;background:#c1121f;border-radius:6px;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.report-brand strong,.report-brand small{display:block}.report-brand strong{color:#061a4f;font-size:18px}.report-brand small,.report-title span,.report-section-heading span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900}.report-title{border-left:1px solid #d8dee8;padding-left:20px}.report-title h1{color:#061a4f;margin:4px 0 0;font-size:clamp(22px,3vw,32px);line-height:1.1}.report-document-number{color:#c1121f;text-transform:uppercase;margin-top:8px;font-size:14px;display:block}.report-final-badge{text-align:center;border:1px solid;border-radius:999px;align-self:center;padding:10px 14px;font-size:12px;font-weight:900}.report-final-badge.approved{color:#166534;background:#dcfce7;border-color:#22c55e}.report-final-badge.warning{color:#92400e;background:#fef3c7;border-color:#f59e0b}.report-final-badge.rejected{color:#991b1b;background:#fee2e2;border-color:#dc2626}.report-final-badge.draft{color:#475569;background:#f1f5f9;border-color:#94a3b8}.report-identification-grid{border:1px solid #d8dee8;border-radius:6px;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.report-identification-grid div{border-bottom:1px solid #d8dee8;border-right:1px solid #d8dee8;padding:12px}.report-identification-grid div:nth-child(4n){border-right:0}.report-identification-grid div:nth-last-child(-n+4){border-bottom:0}.report-identification-grid dt,.report-recorded-data dt,.report-captured-data dt,.report-conclusion-grid dt,.report-photo-modal dt{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:900}.report-identification-grid dd,.report-recorded-data dd,.report-captured-data dd,.report-conclusion-grid dd,.report-photo-modal dd{color:#061a4f;margin:4px 0 0;font-size:14px;font-weight:900}.report-section{gap:14px;display:grid}.report-section-heading h2{color:#061a4f;margin:3px 0 0;font-size:22px}.report-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.report-summary-grid article{background:#f8fafc;border:1px solid #d8dee8;border-left:4px solid #64748b;border-radius:6px;align-items:center;gap:10px;min-height:86px;padding:13px;display:flex}.report-summary-grid article.ok{border-left-color:#16803b}.report-summary-grid article.not-ok{border-left-color:#c1121f}.report-summary-grid article.na{border-left-color:#64748b}.report-summary-grid article.photos{border-left-color:#0369a1}.report-summary-grid strong,.report-summary-grid span{display:block}.report-summary-grid strong{color:#061a4f;font-size:24px}.report-summary-grid span{color:#475569;font-size:11px;font-weight:900}.report-steps-section{border-top:2px solid #c1121f;padding-top:22px}.report-steps-list{gap:16px;display:grid}.report-step-card{border:1px solid #cbd5e1;border-radius:6px;overflow:hidden}.report-step-card>header{background:#eef2f6;border-bottom:1px solid #cbd5e1;align-items:center;gap:14px;padding:14px 16px;display:flex}.report-step-card>header>span{color:#fff;background:#061a4f;border-radius:4px;flex:0 0 42px;justify-content:center;align-items:center;height:42px;font-size:16px;font-weight:900;display:flex}.report-step-card h3{color:#061a4f;margin:0;font-size:18px}.report-step-card header p{color:#475569;margin:3px 0 0;font-size:13px}.report-status-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 16px;display:grid}.report-status-list>div{border-bottom:1px solid #e2e8f0;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:10px 0;display:grid}.report-status-list>div:nth-child(odd){padding-right:16px}.report-status-list>div:nth-child(2n){border-left:1px solid #e2e8f0;padding-left:16px}.report-status-list span{color:#172033;font-size:13px;font-weight:800}.report-status-list b{border-radius:999px;padding:5px 8px;font-size:10px}.report-status-list b.ok{color:#166534;background:#dcfce7}.report-status-list b.not-ok{color:#991b1b;background:#fee2e2}.report-status-list b.na,.report-status-list b.unanswered{color:#475569;background:#e2e8f0}.report-status-list small{color:#991b1b;grid-column:1/-1;font-weight:800}.report-recorded-data,.report-captured-data,.report-observations,.report-step-photos{border-top:1px solid #d8dee8;padding:14px 16px}.report-recorded-data h4,.report-captured-data h4,.report-observations h4,.report-step-photos h4{color:#061a4f;text-transform:uppercase;margin:0 0 10px;font-size:13px}.report-recorded-data dl,.report-captured-data dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.report-recorded-data dl div,.report-captured-data dl div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:9px}.report-captured-data{background:#f0f7ff}.report-captured-data>small{color:#475569;margin-top:9px;font-weight:800;display:block}.report-valves-data{background:#f8fafc}.report-valve-group+.report-valve-group{margin-top:12px}.report-valve-group>strong{color:#061a4f;text-transform:uppercase;margin-bottom:7px;font-size:12px;display:block}.report-valve-group dd.open{color:#166534}.report-valve-group dd.closed{color:#9a3412}.report-valve-group dd.unknown{color:#475569}.report-observations div+div{margin-top:10px}.report-observations strong{color:#061a4f;font-size:12px}.report-observations p{color:#334155;white-space:pre-wrap;margin:4px 0 0;line-height:1.5}.report-step-photos h4{align-items:center;gap:8px;display:flex}.report-step-photos h4 span{background:#e2e8f0;border-radius:999px;padding:3px 7px}.report-photo-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.report-photo-grid button{cursor:zoom-in;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:5px;padding:0;overflow:hidden}.report-photo-grid img,.report-photo-missing{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.report-photo-missing{color:#64748b;background:#e2e8f0;justify-content:center;align-items:center;display:flex}.report-photo-grid button>span:last-child{color:#061a4f;text-overflow:ellipsis;white-space:nowrap;padding:8px;font-size:12px;font-weight:900;display:block;overflow:hidden}.report-conclusion-grid{grid-template-columns:1.5fr 1fr;gap:16px;display:grid}.report-conclusion-grid>article{border:1px solid #cbd5e1;border-radius:6px;padding:18px}.report-conclusion-grid dl{gap:10px;margin:14px 0 0;display:grid}.report-conclusion-grid dl div{border-top:1px solid #e2e8f0;padding-top:9px}.report-signature{text-align:center;flex-direction:column;align-items:center;display:flex}.report-signature .report-section-heading{text-align:left;align-self:stretch}.report-signature>svg{color:#64748b;margin:26px 0 10px}.report-signature>strong{color:#061a4f;font-size:18px}.report-signature>em{color:#172033;border-bottom:1px solid #64748b;min-width:80%;margin:24px 0 8px;padding-bottom:5px;font-family:cursive;font-size:24px}.report-signature>span{color:#64748b;text-transform:uppercase;margin-top:6px;font-size:11px;font-weight:900}.report-photo-modal{z-index:1000;background:#020617e8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.report-photo-modal>div{background:#fff;border-radius:6px;width:100%;max-width:1000px;max-height:90vh;overflow:auto}.report-photo-modal img{object-fit:contain;width:100%;max-height:70vh;display:block}.report-photo-modal dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:16px;display:grid}.report-photo-modal dt{align-items:center;gap:5px;display:flex}.report-photo-modal .close{cursor:pointer;background:#fff;border:0;border-radius:50%;width:44px;height:44px;position:fixed;top:24px;right:24px}.report-loading,.report-error{color:#061a4f;background:#fff;border:1px solid #d8dee8;border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:240px;padding:24px;font-weight:900;display:flex}.report-error{flex-direction:column}.spin{animation:.9s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}@media (width<=900px){.report-document-header{grid-template-columns:1fr auto}.report-title{border-left:0;order:3;grid-column:1/-1;padding-left:0}.report-identification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-identification-grid div:nth-child(4n){border-right:1px solid #d8dee8}.report-identification-grid div:nth-child(2n){border-right:0}.report-identification-grid div:nth-last-child(-n+4){border-bottom:1px solid #d8dee8}.report-identification-grid div:nth-last-child(-n+2){border-bottom:0}.report-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.report-actions{grid-template-columns:1fr;display:grid}.report-actions button{justify-content:center;padding:0 8px;font-size:12px}.report-print-confirmation{flex-direction:column;align-items:stretch}.report-confirmation-actions{grid-template-columns:1fr;display:grid}.report-print-confirmation button{justify-content:center;width:100%}.checklist-report-document{border-left:0;border-right:0;border-radius:0;margin:0 -12px;padding:16px 12px}.report-document-header{grid-template-columns:1fr}.report-final-badge{justify-self:start}.report-title{grid-column:auto}.report-identification-grid{grid-template-columns:1fr}.report-identification-grid div,.report-identification-grid div:nth-child(2n),.report-identification-grid div:nth-last-child(-n+2){border-bottom:1px solid #d8dee8;border-right:0}.report-identification-grid div:last-child{border-bottom:0}.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary-grid article:first-child{grid-column:1/-1}.report-status-list{grid-template-columns:1fr}.report-status-list>div:nth-child(odd),.report-status-list>div:nth-child(2n){border-left:0;padding-left:0;padding-right:0}.report-recorded-data dl,.report-captured-data dl,.report-conclusion-grid,.report-photo-modal dl{grid-template-columns:1fr}.report-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{@page{margin:10mm;size:A4 portrait}html,body,#root{background:#fff!important;width:100%!important;height:auto!important;margin:0!important;overflow:visible!important}*,:before,:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.sidebar,.main>.header,.report-actions,.report-print-confirmation,.global-event-alert,.report-photo-modal{display:none!important}.app,.main,.checklist-report-page{background:#fff!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.checklist-report-document{box-shadow:none;border:0;border-radius:0;width:100%;margin:0;padding:0;display:block}.report-document-header,.report-section,.report-conclusion-grid{margin-bottom:8mm}.report-steps-section,.report-steps-list{display:block}.report-steps-section>.report-section-heading{margin-bottom:5mm}.report-document-header{break-inside:avoid-page;page-break-inside:avoid;grid-template-columns:auto 1fr auto}.report-title{order:initial;border-left:1px solid #d8dee8;grid-column:auto;padding-left:20px}.report-identification-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-identification-grid div,.report-identification-grid div:nth-child(2n),.report-identification-grid div:nth-last-child(-n+2){border-bottom:1px solid #d8dee8;border-right:1px solid #d8dee8}.report-identification-grid div:nth-child(4n){border-right:0}.report-identification-grid div:nth-last-child(-n+4){border-bottom:0}.report-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.report-summary-grid article{min-height:22mm;padding:8px}.report-summary-grid strong{font-size:18px}.report-summary-grid span{font-size:9px}.report-steps-section>.report-section-heading,.report-step-card>header,.report-step-card h3,.report-step-card h4{break-after:avoid-page;page-break-after:avoid}.report-step-card,.report-conclusion-grid>article,.report-summary-grid article{break-inside:avoid-page;page-break-inside:avoid}.report-step-card{margin-bottom:5mm;overflow:visible}.report-step-photos{break-inside:avoid-page;page-break-inside:avoid}.report-status-list{grid-template-columns:repeat(2,minmax(0,1fr))}.report-status-list>div:nth-child(odd){padding-left:0;padding-right:16px}.report-status-list>div:nth-child(2n){border-left:1px solid #e2e8f0;padding-left:16px}.report-recorded-data dl,.report-captured-data dl{grid-template-columns:repeat(3,minmax(0,1fr))}.report-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-photo-grid button{break-inside:avoid-page;page-break-inside:avoid}.report-photo-grid img,.report-photo-missing{max-height:38mm}.report-conclusion-grid{grid-template-columns:1.5fr 1fr}}
