:root{font-family:Inter,system-ui,Arial,sans-serif;color:#e9f0ed;background:#0a1010;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#26bb79;color:#04150e;border:0;border-radius:9px;padding:12px 16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:#1a2925;color:#d9e9e0;border:1px solid #30473e}.app{display:flex;min-height:100vh}aside{width:252px;flex-shrink:0;background:#0e1816;border-right:1px solid #23332c;display:flex;flex-direction:column;padding:25px 16px}.brand{display:flex;align-items:center;margin-bottom:40px}.brandLogo{display:block;width:100%;height:auto;object-fit:contain}.brandSidebar{width:100%;max-width:210px;margin:0 auto 40px}.brandLogin{width:min(100%,290px);margin:0 auto 38px}.nav{display:grid;gap:6px}.nav button{background:transparent;color:#a7bdb2;justify-content:flex-start;font-weight:500}.nav button.active,.nav button:hover{background:#163a2a;color:#5ee3a4}.sidebarBottom{margin-top:auto;border-top:1px solid #2b3c33;padding-top:20px;display:flex;justify-content:space-between;align-items:center}.sidebarBottom small{display:block;color:#89a99b;margin-top:5px}.sidebarBottom button{padding:10px;background:#24382f}main{flex:1;padding:35px;min-width:0;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:12px}header h1{font-size:28px;margin:8px 0}.eyebrow{color:#4bc98c;font-size:11px;letter-spacing:2px}.panel{background:#111c19;border:1px solid #283c32;border-radius:15px;padding:22px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat span{color:#9fb9aa;display:block}.stat strong{font-size:38px;display:block;margin-top:12px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.filters select{width:auto;min-width:170px}.orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:15px}.order{min-height:230px;display:flex;flex-direction:column}.order h3{margin:20px 0 4px}.order p{line-height:1.5}.orderTop,.orderFoot{display:flex;align-items:center;justify-content:space-between;gap:12px}.orderFoot{margin-top:auto;padding-top:16px}.orderFoot small,.muted{color:#8ea99b}.pill{font-size:10px;font-weight:800;letter-spacing:1px;padding:7px 10px;border-radius:20px}.open{color:#ffcf75;background:#3b2d16}.in_progress{color:#81bbff;background:#17334b}.completed{color:#74e7ab;background:#163b2a}.formPanel{max-width:900px}.formPanel h2{margin-top:0}.formgrid,.registerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.formgrid .full{grid-column:1/-1}label{display:grid;gap:8px;margin:12px 0;color:#bed4c9;font-size:14px}input,select,textarea{width:100%;padding:13px 14px;background:#0a1512;color:#e9f5ee;border:1px solid #355044;border-radius:9px;outline:none}input:focus,select:focus,textarea:focus{border-color:#2ac784}.registerGrid .panel{min-width:0}.registerGrid form{display:grid;gap:6px}.items{margin-top:18px;color:#b1c9bb;max-height:220px;overflow:auto}.items p{border-bottom:1px solid #294035;padding-bottom:9px}.center{min-height:100vh;display:grid;place-items:center;padding:20px}.login{width:min(100%,420px);padding:35px}.login h2{margin-bottom:26px}.login button{width:100%;margin-top:12px}.login .brand{margin-bottom:38px}.login .muted{text-align:center;font-size:12px;margin-top:26px}.error,.alert{color:#ffc4c4;background:#492323;border:1px solid #8a4444;border-radius:8px;padding:12px}.alert{display:flex;justify-content:space-between;margin-bottom:16px}.alert button{padding:0 6px;background:transparent;color:#fff}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000b;display:grid;place-items:center;padding:20px;z-index:10}.modal{width:min(100%,650px);max-height:92vh;overflow:auto}.modal textarea{min-height:90px}.modal>button{margin-top:12px}.barRow{display:flex;align-items:center;gap:12px;margin:18px 0}.barRow span{width:140px}.bar{height:12px;flex:1;border-radius:9px;background:#23392e;overflow:hidden}.bar i{display:block;height:100%;background:#25c57e}.empty{grid-column:1/-1;text-align:center;color:#8da89a}.tv aside{width:225px}.tv .order h3{font-size:24px}@media(max-width:800px){.app{display:block}aside{width:100%;padding:15px}.brand{margin-bottom:14px}.brandSidebar{max-width:170px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.sidebarBottom{margin-top:10px;padding-top:10px}main{padding:20px}header h1{font-size:22px}.stats{gap:8px}.stat{padding:12px}.stat strong{font-size:27px}.formgrid,.registerGrid{grid-template-columns:1fr}.formgrid .full{grid-column:auto}.orderFoot{flex-wrap:wrap}}.manageRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #294035}.manageRow>div:first-child{min-width:0}.manageRow b,.manageRow small{display:block;overflow-wrap:anywhere}.manageRow small{color:#8ea99b;margin-top:5px}.rowActions{display:flex;gap:5px;flex-shrink:0}.iconButton{background:#20372d;color:#bce8d0;border:1px solid #355044;padding:8px;border-radius:8px}.iconButton.danger{background:#3a2020;color:#ffc1c1;border-color:#704040}.checkLabel{display:flex;align-items:center;gap:10px}.checkLabel input{width:18px;height:18px;accent-color:#26bb79}.items .manageRow:last-child{border-bottom:0}.protectedLabel{color:#8ea99b;font-size:11px;white-space:nowrap}.orderTopActions{display:flex;align-items:center;gap:8px}.orderDeleteButton{width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#71877c;opacity:.72;display:inline-flex;align-items:center;justify-content:center}.orderDeleteButton:hover{opacity:1;color:#faa;background:#392020;border-color:#633939;filter:none}.orderDeleteButton:focus-visible{outline:2px solid #d98b8b;outline-offset:2px}.orderFoot .rowActions{margin-left:auto}.machineCodeHighlight{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;width:max-content;max-width:100%;margin:8px 0 4px;padding:8px 12px;border:1px solid #287b55;border-left:4px solid #39df91;border-radius:9px;background:linear-gradient(90deg,#123c2a,#10271e);box-shadow:0 0 0 1px #143d2c inset}.machineCodeHighlight span{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#9ce9bf}.machineCodeHighlight strong{font-size:17px;line-height:1.1;font-weight:900;letter-spacing:.5px;color:#65f0a8;overflow-wrap:anywhere}.completedConsultation{display:flex;flex-direction:column;gap:16px}.completedIntro{display:flex;align-items:center;justify-content:space-between;gap:16px}.completedIntro h2{margin:0 0 5px}.completedIntro p{margin:0}.completedCount{display:flex;flex-direction:column;align-items:flex-end;padding:10px 14px;border:1px solid var(--border,#294137);border-radius:12px;background:#101d18;min-width:105px}.completedCount strong{font-size:24px;color:#65e6a3;line-height:1.1}.completedCount span{font-size:11px;color:#a4b8ad}.completedFilters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(150px,1fr));gap:10px}.completedFilters input,.completedFilters select{min-width:0;width:100%}.completedTableWrap{width:100%;overflow:auto;border:1px solid var(--border,#294137);border-radius:13px;background:#101a16}.completedTable{width:100%;border-collapse:collapse;min-width:980px;text-align:left}.completedTable th{padding:13px 12px;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:#9eb5a8;background:#14231c;border-bottom:1px solid #294137;white-space:nowrap}.completedTable td{padding:13px 12px;font-size:13px;color:#e2eee7;border-bottom:1px solid #21342b;vertical-align:middle}.completedTable tbody tr:last-child td{border-bottom:0}.completedTable tbody tr:hover{background:#14231c}.completedTable td:first-child strong{color:#72e8a9}.tableMachineCode{display:inline-block;padding:4px 8px;border-radius:6px;background:#123c2a;border:1px solid #287b55;color:#65f0a8;font-weight:900;white-space:nowrap}.tableMachineName{display:block;margin-top:5px;color:#a9bdb1}.tableProblem{max-width:230px;white-space:normal;line-height:1.4}.tableDetailsButton{padding:7px 10px!important;font-size:12px!important;white-space:nowrap}@media(max-width:850px){.completedFilters{grid-template-columns:1fr 1fr}.completedFilters input{grid-column:1/-1}}@media(max-width:560px){.completedIntro{align-items:flex-start}.completedFilters{grid-template-columns:1fr}.completedFilters input{grid-column:auto}.completedCount{min-width:82px;padding:8px}.completedCount strong{font-size:20px}}.dashboardPage{display:flex;flex-direction:column;gap:16px}.dashboardHeading,.sectionHeading{display:flex;align-items:center;justify-content:space-between;gap:14px}.dashboardHeading h2,.sectionHeading h2{margin:0 0 5px}.dashboardHeading p,.sectionHeading p{margin:0}.dashboardFilters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;padding:14px;border:1px solid var(--border,#294137);border-radius:13px;background:#101a16}.dashboardFilters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#a9bdb1}.dashboardFilters input,.dashboardFilters select{width:100%;min-width:0}.dashboardStats{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px}.dashboardStat{display:flex;flex-direction:column;gap:6px;padding:16px}.dashboardStat span{font-size:12px;color:#a9bdb1}.dashboardStat strong{font-size:28px;line-height:1.1;color:#72e8a9}.dashboardStat small{font-size:11px;color:#82988c}.dashboardColumns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashMachineCode{color:#65f0a8;background:#123c2a;padding:3px 6px;border-radius:5px;font-size:11px}.partCount{font-size:12px;color:#72e8a9;background:#123c2a;padding:6px 9px;border-radius:7px;white-space:nowrap}.partsHistoryTable{width:100%;overflow:auto}.partsHistoryTable table{width:100%;border-collapse:collapse;min-width:520px;text-align:left}.partsHistoryTable th{padding:11px 10px;background:#14231c;color:#9eb5a8;text-transform:uppercase;font-size:11px;letter-spacing:.4px}.partsHistoryTable td{padding:11px 10px;border-top:1px solid #21342b;color:#e2eee7;font-size:13px}.partsHistoryTable td strong{color:#72e8a9}@media(max-width:1050px){.dashboardStats,.dashboardFilters{grid-template-columns:repeat(3,minmax(130px,1fr))}}@media(max-width:700px){.dashboardColumns{grid-template-columns:1fr}.dashboardStats,.dashboardFilters{grid-template-columns:repeat(2,minmax(120px,1fr))}.dashboardHeading,.sectionHeading{align-items:flex-start;flex-direction:column}}@media(max-width:420px){.dashboardStats,.dashboardFilters{grid-template-columns:1fr}}.dashboardActions{display:flex;gap:8px;flex-wrap:wrap}.rankingColumns{align-items:stretch}.rankingPanel{min-width:0}.rankingRow,.failureRankRow{display:flex;flex-direction:column;gap:7px;padding:12px 0;border-bottom:1px solid #21342b}.rankingRow:last-child,.failureRankRow:last-child{border-bottom:0}.rankingLabel,.failureRankHead{display:flex;align-items:center;gap:8px;min-width:0}.rankingLabel strong,.failureRankHead strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.rankingLabel>b,.failureRankHead>b{white-space:nowrap;color:#72e8a9;font-size:12px}.rankingPosition{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;border-radius:7px;background:#1b3328;color:#9eddb8;font-size:11px;font-weight:900}.rankingTrack{height:8px;width:100%;overflow:hidden;border-radius:99px;background:#20372c}.rankingTrack i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#20b978,#65e6a3)}.rankingRow small,.failureRankRow small{font-size:11px;line-height:1.5}.failureRankHead strong{font-weight:700}.recurrencePanel{border-color:#385443}.recurrenceCount{font-size:12px;font-weight:800;color:#ffd27a;background:#3a2b14;border:1px solid #6b4b1d;padding:7px 10px;border-radius:8px;white-space:nowrap}.recurrenceTableWrap{width:100%;overflow:auto}.recurrenceTable{width:100%;min-width:760px;border-collapse:collapse;text-align:left}.recurrenceTable th{padding:11px 10px;background:#14231c;color:#9eb5a8;text-transform:uppercase;font-size:11px;letter-spacing:.4px;white-space:nowrap}.recurrenceTable td{padding:12px 10px;border-top:1px solid #21342b;color:#e2eee7;font-size:12px;vertical-align:middle}.recurrenceMachineName{display:block;margin-top:5px}.recurrenceAlert{display:inline-block;padding:5px 8px;border-radius:7px;background:#3a2b14;border:1px solid #6b4b1d;color:#ffd27a;font-weight:900;white-space:nowrap}.recurrenceEmpty{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px dashed #385443;border-radius:10px;background:#101d18}.recurrenceEmpty strong{color:#cfe9d9;font-size:13px}.recurrenceEmpty span{color:#9eb5a8;font-size:12px;line-height:1.5}.recurrenceLegend{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 12px}.recurrenceBadge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;font-size:10px;font-weight:900;letter-spacing:.25px;white-space:nowrap}.recurrenceBadge.attention{color:#ffd27a;background:#3a2b14;border:1px solid #79551f}.recurrenceBadge.critical{color:#ffaaa5;background:#3d1e20;border:1px solid #874044}.recurrenceHistoryButton{padding:7px 10px!important;font-size:11px!important;white-space:nowrap}.recurrenceOrderList{display:flex;flex-direction:column;gap:8px;padding:6px 2px}.recurrenceOrderItem{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #2b4437;border-radius:9px;background:#101d18}.recurrenceOrderItem>div{display:flex;flex-direction:column;gap:4px;min-width:0}.recurrenceOrderItem strong{color:#dff5e7;font-size:12px}.recurrenceOrderItem span,.recurrenceOrderItem small{color:#9eb5a8;font-size:11px;line-height:1.4}.recurrenceOrderItem small{overflow-wrap:anywhere}.recurrenceOrderItem button{flex:0 0 auto}@media(max-width:720px){.recurrenceOrderItem{align-items:flex-start;flex-direction:column}.recurrenceTable{min-width:820px}}.preventivePage{display:flex;flex-direction:column;gap:16px}.preventiveStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pmOverdueNumber{color:#ff8d86!important}.preventiveCreate form{margin-top:12px}.preventiveLayout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.4fr);gap:14px;align-items:start}.preventiveCalendar{min-width:0}.calendarHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.calendarHeader h2{margin:0;text-transform:capitalize;font-size:18px}.calendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendarWeekday{text-align:center;color:#91aa9d;font-size:11px;font-weight:800;padding:7px 0}.calendarBlank{min-height:42px}.calendarDay{min-width:0;min-height:48px;border:1px solid #294336;border-radius:8px;background:#101d18;color:#e5f4eb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px;cursor:pointer}.calendarDay>span{font-size:13px;font-weight:700}.calendarDay small{font-size:9px;line-height:1;padding:3px 5px;border-radius:10px;background:#1c6b4a;color:#c7ffe0}.calendarDay.selected{outline:2px solid #25c786;background:#173529}.calendarDay.today>span{color:#68e5a6}.calendarDay.hasOverdue small,.calendarDay small.overdueDot{background:#642f2c;color:#ffd1cc}.calendarLegend{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;color:#9eb5a8;font-size:10px}.calendarLegend span{display:flex;align-items:center;gap:5px}.calendarLegend i{width:8px;height:8px;border-radius:50%;display:inline-block;background:#1c6b4a}.calendarLegend .legendToday{background:#25c786}.calendarLegend .legendOverdue{background:#d66b63}.preventiveDayList{min-width:0}.preventiveItem{padding:13px 0;border-bottom:1px solid #263e32;display:flex;flex-direction:column;gap:7px}.preventiveItem:last-child{border-bottom:0}.preventiveItemTop{display:flex;justify-content:space-between;align-items:center;gap:8px}.preventiveItemTop strong{font-size:14px}.pmMachine{font-size:12px;color:#a9e8c4}.preventiveItem p{margin:0;color:#c3d7cb;font-size:12px;line-height:1.5}.preventiveItem>small,.pmCompletionInfo{font-size:11px;color:#91aa9d}.pmStatus{display:inline-flex;align-items:center;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:900;white-space:nowrap}.pmStatus.scheduled{color:#b8f2d1;background:#173d2c;border:1px solid #286347}.pmStatus.late{color:#ffd1cc;background:#492322;border:1px solid #85403b}.pmStatus.done{color:#b5d9ff;background:#1c3048;border:1px solid #365d83}.preventiveItemActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}.preventiveItemActions>small{color:#d9b978;font-size:11px}.preventiveItemActions>button:first-child{display:inline-flex;align-items:center;gap:6px}.preventiveLowerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pmCompactRow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #263e32}.pmCompactRow:last-child{border-bottom:0}.pmCompactRow>div{display:flex;flex-direction:column;gap:5px;min-width:0}.pmCompactRow strong{font-size:12px}.pmCompactRow small{font-size:10px;color:#91aa9d;line-height:1.45}@media(max-width:900px){.preventiveLayout,.preventiveLowerGrid{grid-template-columns:1fr}}@media(max-width:600px){.preventiveStats{grid-template-columns:1fr}.calendarDay{min-height:42px}.calendarGrid{gap:3px}.calendarHeader h2{font-size:16px}}.pmNotesLabel{display:flex;flex-direction:column;gap:5px;color:#91aa9d;font-size:11px}.pmNotesLabel textarea{min-height:52px}.pmHelp{display:block;color:#8fa99b;font-size:11px;margin-top:5px;line-height:1.4}.pmChecklistBox{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #315440;border-radius:10px;background:#0d1a14}.pmChecklistHeading{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#bdebd0;font-size:12px}.pmChecklistHeading strong{display:flex;align-items:center;gap:6px}.pmChecklistHeading small{color:#8fa99b;font-size:10px}.pmChecklistItem{display:flex;align-items:flex-start;gap:9px;padding:7px 8px;border-radius:7px;background:#13251c;color:#d7e9df;font-size:12px;line-height:1.45;cursor:pointer}.pmChecklistItem input{accent-color:#22bd7c;margin:2px 0 0;flex:0 0 auto;width:15px;height:15px}.pmPhotoUpload{display:flex;flex-direction:column;gap:7px;padding:10px;border:1px dashed #3b6850;border-radius:9px;color:#bdebd0;font-size:11px}.pmPhotoUpload>span{display:flex;align-items:center;gap:6px;font-weight:700}.pmPhotoUpload input{font-size:11px;color:#9fb8aa;max-width:100%}.pmPhotoUpload small{color:#8fe0b2;overflow-wrap:anywhere;line-height:1.4}.pmCompletedChecklist{display:flex;flex-direction:column;gap:4px;margin:4px 0}.pmCompletedChecklist span{display:flex;align-items:flex-start;gap:5px;color:#a8dcbc;font-size:11px;line-height:1.4}.pmPdfButton{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:8px 11px!important;font-size:11px!important}.pmHistoryActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media(max-width:600px){.pmChecklistHeading{align-items:flex-start;flex-direction:column}.pmPhotoUpload input{width:100%}}.pmSignatureBox{display:flex;flex-direction:column;gap:7px;padding:11px;border:1px dashed #315d45;border-radius:9px;background:#122c1f47;margin:10px 0}.pmSignatureHead{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#b8d6c2}.pmSignatureHead button{font-size:10px;padding:5px 9px}.pmSignatureCanvas{display:block;width:100%;height:105px;background:#f8fbf7;border:1px solid #b6cbb8;border-radius:6px;touch-action:none;cursor:crosshair}.pmSignatureBox>small{font-size:10px;color:#91ad9b}@media(max-width:700px){.pmSignatureHead{align-items:flex-start;flex-direction:column}.pmSignatureCanvas{height:95px}}
