.pb-workspace{color:#164539}.pb-hero{padding:24px;background:#eef6f2;border:1px solid #cbded6;border-radius:18px;margin-bottom:18px}.pb-hero h2{margin:0 0 8px}.pb-hero p{margin:0 0 14px}.pb-counts,.pb-tabs,.pb-tools,.pb-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.pb-counts span{background:white;border-radius:20px;padding:8px 14px}.pb-tabs{margin:14px 0}.pb-tabs button[aria-selected=true],.pb-dialog button[aria-pressed=true]{background:#075a40;color:white}.pb-tools{margin:18px 0;justify-content:space-between}.pb-tools label{display:flex;align-items:center;gap:10px}.pb-workspace input,.pb-workspace select,.pb-dialog input:not([type=checkbox]),.pb-dialog select,.pb-dialog textarea{border:1px solid #b9d4c8;border-radius:9px;padding:11px;background:white;color:#153c33;font:inherit;max-width:100%;box-sizing:border-box}.pb-workspace button,.pb-dialog button{font:inherit;cursor:pointer;border:1px solid #bdd4ca;border-radius:10px;background:#f1f7f4;color:#124a38;padding:10px 14px}.pb-workspace .primary-action,.pb-dialog .primary-action{background:#075a40;color:#fff;font-weight:700}.pb-workspace button:disabled,.pb-dialog button:disabled{opacity:.5;cursor:default}.pb-table-wrap{overflow:auto}.pb-workspace table{width:100%;border-collapse:collapse}.pb-workspace th,.pb-workspace td{padding:14px;text-align:left;border-bottom:1px solid #d6e4de;vertical-align:top}.pb-workspace th{background:#eef6f2}.pb-workspace td small{display:block;white-space:pre-wrap;margin-top:6px;color:#506a60}.pb-empty{padding:28px;border:1px dashed #bbd3c7;border-radius:12px;text-align:center}.pb-calendar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pb-month{border:1px solid #cbded6;border-radius:14px;padding:16px;min-width:0}.pb-month h3{margin:0 0 12px}.pb-period{padding:12px 0;border-top:1px solid #e0eae4}.pb-period strong{display:block}.pb-period small{display:block;margin:5px 0 8px}.pb-period .pb-actions{gap:6px}.pb-period button{font-size:13px;padding:6px 9px}.pb-modal{position:fixed;inset:0;z-index:10020;background:#122e2966;display:flex;align-items:center;justify-content:center;padding:16px}.pb-dialog{background:white;color:#143f34;border-radius:20px;width:min(1000px,100%);max-height:94vh;box-shadow:0 20px 60px #112b2440;display:flex;flex-direction:column}.pb-dialog header,.pb-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px}.pb-dialog header{border-bottom:1px solid #dfebe5}.pb-dialog h2{font-size:21px;margin:0}.pb-dialog form{display:flex;flex-direction:column;min-height:0}.pb-dialog .pb-scroll{padding:20px 24px;overflow:auto;min-height:0}.pb-dialog footer{justify-content:flex-end;border-top:1px solid #dfebe5}.pb-dialog label:not(.pb-check){display:block;font-weight:600;margin-bottom:16px}.pb-dialog label:not(.pb-check)>input,.pb-dialog label>select,.pb-dialog label>textarea{display:block;width:100%;margin-top:7px;font-weight:400}.pb-dialog textarea{min-height:150px;resize:vertical}.pb-dialog [role=alert]{color:#a12119;margin:0 24px 12px;white-space:pre-wrap}.pb-dialog [role=alert]:empty{margin:0}.pb-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pb-grid label{min-width:0}.pb-check{display:flex;gap:8px;align-items:center;font-weight:400;padding:7px 0;line-height:1.4;cursor:pointer}.pb-check input{width:18px;height:18px;flex-shrink:0;accent-color:#075a40}.pb-month-select{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 14px;margin:10px 0 18px}.pb-weeks{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pb-dialog fieldset{border:1px solid #cbded6;border-radius:12px;padding:14px;margin:16px 0}.pb-dialog legend{font-weight:700}.pb-select-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pb-select-periods section{min-width:0;border:1px solid #dfebe5;border-radius:10px;padding:12px}.pb-select-periods h3{margin:0 0 6px;font-size:15px}.pb-selection{font-weight:600}.pb-workspace [role=alert]{color:#a12119;white-space:pre-wrap}.pb-workspace [role=alert]:empty{display:none}@media(max-width:850px){.pb-calendar,.pb-select-periods{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.pb-modal{padding:6px}.pb-dialog{max-height:97dvh;border-radius:14px}.pb-dialog header,.pb-dialog footer,.pb-dialog .pb-scroll{padding:14px}.pb-dialog h2{font-size:18px}.pb-calendar,.pb-select-periods,.pb-grid{grid-template-columns:1fr}.pb-month-select{grid-template-columns:1fr 1fr}.pb-hero{padding:16px}.pb-tools label{display:block;width:100%}.pb-tools input,.pb-tools select{width:100%}.pb-tabs button{flex:1 1 auto}.pb-workspace th,.pb-workspace td{padding:10px}.pb-workspace td .pb-actions{min-width:110px}.pb-dialog footer{flex-wrap:wrap}.pb-dialog button{padding:10px}}

.pb-work-image{margin:0 0 18px;padding:18px;background:#f3f7f4;border:1px solid #d6e4de;border-radius:14px;text-align:center}.pb-work-image img{display:block;width:min(320px,100%);height:180px;object-fit:contain;margin:auto}.pb-work-image figcaption{margin-top:10px;color:#577367;font-size:13px}.pb-image-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center;margin-bottom:18px}.pb-image-editor .pb-work-image{margin:0}.pb-workspace .pb-work-link{display:flex;gap:14px;align-items:center;text-align:left;padding:0;border:0;background:transparent}.pb-work-link img{object-fit:contain;flex-shrink:0;border-radius:8px;background:#f3f7f4}.pb-work-link strong{text-decoration:underline;text-decoration-color:#bdd4ca;text-underline-offset:4px}.pb-work-procedure{white-space:pre-wrap;line-height:1.6}@media(max-width:600px){.pb-image-editor{grid-template-columns:1fr;gap:14px}.pb-work-link img{width:60px;height:48px}.pb-work-image img{height:150px}}

.pb-calendar-help{font-size:13px;color:#526c61}.pb-due-list{display:grid;gap:14px}.pb-due-card{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:18px;padding:20px;border:1px solid #cbded6;border-radius:14px;background:#fff}.pb-due-card h3{margin:8px 0;font-size:18px}.pb-due-card p{margin:8px 0;line-height:1.5}.pb-due-card>img{border-radius:8px}.pb-due-status{display:inline-block;font-size:13px;background:#e6f3ec;padding:5px 9px;border-radius:6px}.pb-due-status.is-overdue{background:#fff0dc;color:#824700}.pb-due-card>.pb-actions{align-self:start}.pb-pager{display:flex;gap:16px;align-items:center;justify-content:center;margin:18px 0}.pb-home-reminder{border:1px solid #b7d6c9;background:#eef7f2;border-radius:14px;padding:18px 22px;margin:16px 0;color:#164539}.pb-home-reminder h3{margin:0 0 8px}.pb-home-reminder li{margin:6px 0}.pb-home-reminder button{padding:10px 16px;border:0;border-radius:9px;background:#075a40;color:white;font:inherit;font-weight:700;cursor:pointer}.pb-home-reminder[hidden]{display:none}@media(max-width:700px){.pb-due-card{grid-template-columns:60px minmax(0,1fr);padding:14px;gap:12px}.pb-due-card>img{width:60px;height:48px}.pb-due-card>.pb-actions{grid-column:1/-1}.pb-due-card>.pb-actions button{width:100%}.pb-home-reminder{padding:16px}}

.pb-reading-config{background:#f3f8f5}.pb-reading-help{font-size:14px;line-height:1.5;color:#506a60}.pb-dialog [data-reading-options][hidden]{display:none}.pb-reading-config textarea{min-height:110px}

/* Maintenance photograph in the basic planning header. */
.pb-hero{position:relative;isolation:isolate;overflow:hidden;min-height:224px;padding:30px;display:flex;align-items:center;background:#edf5f1}
.pb-hero-photo{position:absolute;inset:0 0 0 auto;width:68%;height:100%;object-fit:cover;object-position:80% 58%;z-index:-2}
.pb-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#edf5f1 0%,#edf5f1 32%,rgba(237,245,241,.96) 44%,rgba(237,245,241,.6) 58%,rgba(237,245,241,0) 76%)}
.pb-hero-content{width:62%;max-width:750px;min-width:0}.pb-hero-content h2{font-size:28px;line-height:1.2}.pb-hero-content p{line-height:1.5;max-width:56ch}.pb-hero-content .pb-counts{gap:8px}.pb-hero-content .pb-counts span{border:1px solid #e1ebe5}
@media(max-width:850px){.pb-hero{padding:24px;min-height:230px}.pb-hero-content{width:66%}.pb-hero-content h2{font-size:24px}.pb-hero::after{background:linear-gradient(90deg,#edf5f1 0%,#edf5f1 30%,rgba(237,245,241,.95) 52%,rgba(237,245,241,.15) 100%)}}
@media(max-width:600px){.pb-hero{padding:144px 16px 18px;min-height:0;display:block}.pb-hero-photo{inset:0 0 auto;width:100%;height:126px;object-position:80% 60%}.pb-hero::after{inset:96px 0 auto;height:30px;background:linear-gradient(0deg,#edf5f1,rgba(237,245,241,0))}.pb-hero-content{width:100%;max-width:none}.pb-hero-content h2{font-size:23px}.pb-hero-content .pb-counts{gap:6px}.pb-hero-content .pb-counts span{font-size:13px;padding:7px 10px}}

/* Compact history and the shared section filter, scoped to basic maintenance. */
.pb-filters{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;min-width:0}
.pb-filters label{min-width:0}.pb-filters select{min-width:180px;max-width:320px}
.pb-history-intro{color:#47675b;font-size:14px;margin:10px 0 18px}
.pb-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.pb-history-section{min-width:0;border:1px solid #cbded6;border-radius:14px;overflow:hidden;background:#fff}
.pb-history-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px;background:#edf5f1;border-bottom:1px solid #d6e4de}
.pb-history-section h3{font-size:17px;margin:0;overflow-wrap:anywhere}
.pb-history-section header span{font-size:12px;color:#567267;white-space:nowrap}
.pb-workspace .pb-history-table{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:13px;line-height:1.5}
.pb-workspace .pb-history-table :is(th,td,button){white-space:normal!important;min-width:0;overflow-wrap:anywhere}
.pb-workspace .pb-history-table .pb-history-work{min-height:44px!important;padding:6px 0!important}
.pb-workspace .pb-history-table .pb-history-value{white-space:pre-wrap!important}
.pb-workspace .pb-history-table th,.pb-workspace .pb-history-table td{padding:12px 10px;vertical-align:middle;overflow-wrap:anywhere}
.pb-workspace .pb-history-table th{font-size:12px;text-transform:none;letter-spacing:0;color:#4c685e;background:#f7faf8}
.pb-history-table th:first-child{width:24%}.pb-history-table th:last-child{width:24%}
.pb-history-table time{font-variant-numeric:tabular-nums;white-space:nowrap}
.pb-workspace .pb-history-work{border:0;background:none;padding:6px 0;min-height:44px;text-align:left;border-radius:4px;color:#075a40;font-size:13px;font-weight:600;text-decoration:underline;text-decoration-color:#b2cfc1;text-underline-offset:3px;overflow-wrap:anywhere;max-width:100%}
.pb-history-value{white-space:pre-wrap}.pb-history-table tbody tr:last-child td{border-bottom:0}
.pb-history-void{font-size:12px;color:#7b6156}.pb-history-cancelled{background:#faf8f5}
.pb-history-detail{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px 16px}.pb-history-detail dt{font-weight:600}.pb-history-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.pb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pb-workspace :focus-visible{outline:3px solid #2587b3;outline-offset:2px}
@media(max-width:1000px){.pb-history-grid{grid-template-columns:1fr}}
@media(max-width:600px){.pb-filters{width:100%;display:grid;grid-template-columns:1fr;gap:12px}.pb-filters label{display:grid;gap:6px}.pb-filters select{width:100%;max-width:none;min-width:0}.pb-history-section>header{padding:12px}.pb-workspace .pb-history-table th,.pb-workspace .pb-history-table td{padding:10px 8px}.pb-history-table th:first-child{width:92px}.pb-history-table th:last-child{width:74px}.pb-history-detail{grid-template-columns:1fr;gap:5px}.pb-history-detail dd{margin-bottom:12px}}

/* Preventivo básico: navegación y seguimiento. */
.pb-dashboard{display:grid;grid-template-columns:175px minmax(0,1fr);background:#f1f6f4;border:1px solid #d8e5e0;border-radius:16px;overflow:hidden}
.pb-dashboard .pb-side{background:#163c32;color:#eaf7f0;padding:20px 12px;min-width:0}
.pb-side>p{margin:0 0 8px;padding:0 10px;color:#bbd2c8;font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.pb-dashboard .pb-side button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0 0 4px;padding:9px 10px;background:transparent;color:inherit;border:0;border-radius:8px;text-align:left;font-weight:600}
.pb-dashboard .pb-side button:hover,.pb-dashboard .pb-side button[aria-pressed=true]{background:#2e5849;color:#fff}
.pb-nav-count{background:#416b5b;border-radius:15px;padding:1px 7px;font-size:12px}
.pb-planning{border-top:1px solid #416357;margin-top:14px;padding-top:9px}
.pb-planning summary{padding:5px 9px;color:#d9ebe3;cursor:pointer;font-size:13px}
.pb-planning[open] summary{margin-bottom:5px}
.pb-dashboard .pb-main{min-width:0;padding:20px}
.pb-dashboard-title{margin-bottom:14px}
.pb-dashboard-title small,.pb-detail>small{color:#22634e;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.pb-dashboard-title h2{margin:3px 0 0;font-size:26px;line-height:1.2}
.pb-dashboard [data-error]:empty{display:none}
.pb-dashboard [data-content]{margin-top:14px}
.pb-tracking{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:14px;align-items:start}
.pb-panel{min-width:0;background:#fff;border:1px solid #d8e5e0;border-radius:12px}
.pb-panel h3{font-size:15px;margin:0;overflow-wrap:anywhere}
.pb-records>header{padding:13px;border-bottom:1px solid #d8e5e0}
.pb-status-filters{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.pb-dashboard .pb-status-filters button{padding:5px 8px;font-size:12px;min-height:32px}
.pb-dashboard .pb-status-filters button[aria-pressed=true]{color:#075b41;background:#e4f3eb;border-color:#bcdccb}
.pb-dashboard .pb-record{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;text-align:left;padding:10px 13px;border:0;border-bottom:1px solid #d8e5e0;border-radius:0;background:#fff;color:#163c32;min-height:48px}
.pb-dashboard .pb-record:hover,.pb-dashboard .pb-record[aria-pressed=true]{background:#e8f4ed}
.pb-record strong,.pb-record small{display:block;overflow-wrap:anywhere}
.pb-record small,.pb-meta{font-size:12px;color:#4c6a5d}
.pb-status{display:inline-block;flex:none;white-space:nowrap;padding:3px 7px;border-radius:20px;background:#e4f3eb;color:#175e47;font-size:11px;font-weight:650}
.pb-status-late{background:#fcebe5;color:#973a31}.pb-status-void{background:#eeeae6;color:#695348}
.pb-summary{display:grid;gap:14px}.pb-detail{padding:13px}
.pb-detail h3{margin:3px 0 5px}.pb-detail p{margin:8px 0}.pb-detail-text{white-space:pre-wrap;overflow-wrap:anywhere}
.pb-detail .primary-action,.pb-detail [data-reopen]{margin-top:9px}
.pb-procedure summary{cursor:pointer}
.pb-bar-label{display:flex;justify-content:space-between;gap:6px;font-size:12px;margin:8px 0 3px}
.pb-bar{height:7px;background:#edf4f0;border-radius:8px;overflow:hidden}
.pb-bar span{display:block;height:100%;background:#277e62;border-radius:8px}
.pb-bar-late span{background:#b84e42}
.pb-records .pb-pager,.pb-records .pb-empty{padding:9px 13px}
@media(max-width:1000px){.pb-dashboard{grid-template-columns:145px minmax(0,1fr)}.pb-dashboard .pb-main{padding:15px}}
@media(max-width:800px){.pb-tracking{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.pb-dashboard{display:block}.pb-dashboard .pb-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px}.pb-side>p{display:none}.pb-dashboard .pb-side button{margin:0;min-height:42px}.pb-planning{grid-column:1/-1;margin-top:0;padding-top:3px}.pb-dashboard .pb-main{padding:12px}.pb-dashboard .pb-record{padding:9px}}
