:root{--sp-blue:#082a61;--sp-blue2:#1556a8;--sp-orange:#f47a20;--sp-bg:#f4f7fb;--sp-line:#dce5f0;--sp-text:#102033;--sp-muted:#64748b;--sp-shadow:0 10px 28px rgba(8,42,97,.09);--sp-radius:18px}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{background:radial-gradient(circle at 50% 0,#fafdff 0,#f4f7fb 42%,#f2f5f9 100%);color:var(--sp-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(244,122,32,.38);outline-offset:2px}.header{height:72px;position:sticky;top:0;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);border-bottom:1px solid rgba(8,42,97,.1);box-shadow:0 3px 16px rgba(8,42,97,.06)}.brand>span{box-shadow:inset 0 -4px var(--sp-orange),0 5px 14px rgba(8,42,97,.16)}.brand b{color:var(--sp-blue);letter-spacing:-.01em}.logout{min-height:42px;cursor:pointer;transition:.18s ease}.logout:hover{border-color:#b8c9df;color:var(--sp-blue);background:#f8fbff}.shell{max-width:1600px}.shell aside{position:sticky;top:72px;height:calc(100vh - 72px);min-height:0;overflow:auto;border-right:1px solid rgba(8,42,97,.09);box-shadow:5px 0 18px rgba(8,42,97,.025)}.nav{min-height:48px;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease;border:1px solid transparent}.nav:hover{background:#f3f7fd;color:var(--sp-blue);transform:translateX(2px)}.nav.active{background:linear-gradient(90deg,#e7f0fd,#f7faff);color:var(--sp-blue);border-color:#d8e5f7;box-shadow:inset 4px 0 var(--sp-orange)}.shell main{max-width:1380px;width:100%;margin:0 auto;padding:28px 30px 60px}.dashboard-cover-wrap,.system-refresh-card,.director-message-control,.attention-dashboard,.service-competition,.turnos-summary,.panel,.work-card,.worker-card,.planning-card,.well-kpis article{box-shadow:var(--sp-shadow)}.top{align-items:center}.top h1{letter-spacing:-.035em;color:var(--sp-blue);line-height:1.05}.top .primary,#newCase,#newWork,#newWell,#newPlanning,#newWorker{min-height:46px;box-shadow:0 8px 20px rgba(8,42,97,.16)}.primary,.cancel,.danger,.filters button,.service-clear{transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}.director-quick-login{width:100%;min-height:48px;margin-top:10px;border:0;border-radius:12px;background:linear-gradient(135deg,#f47a20,#ff9b52);color:#fff;font-weight:900;font-size:16px;cursor:pointer;box-shadow:0 8px 20px rgba(244,122,32,.25)}.director-quick-login:active{transform:scale(.99)}.primary:hover,.cancel:hover,.danger:hover,.service-clear:hover{transform:translateY(-1px)}.primary:active,.cancel:active,.danger:active,.service-clear:active{transform:translateY(0) scale(.985)}.system-refresh-card{border-color:#d7e4f4;background:linear-gradient(135deg,#fff,#f5f9ff);transition:.16s ease}.system-refresh-card:hover{border-color:#b9cde8;transform:translateY(-1px)}.stats.priority-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.priority-buttons button,.priority-buttons .works-filter{min-height:124px;border-radius:18px;overflow:hidden}.priority-buttons button:hover,.priority-buttons .works-filter:hover{transform:translateY(-2px)}.priority-buttons button.active{box-shadow:0 12px 28px rgba(8,42,97,.13)}.service-competition-grid{align-items:stretch}.service-category-card{min-height:102px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.service-category-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(8,42,97,.12);border-color:#c5d5e9}.attention-dashboard,.service-competition,.director-message-control{border-radius:20px}.attention-kpis article{border-radius:15px}.turnos-summary{transition:transform .16s ease,box-shadow .16s ease}.turnos-summary:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(8,42,97,.13)}input,select,textarea{min-height:44px;border-color:#ccd8e7;transition:border-color .14s ease,box-shadow .14s ease;background:#fff}input:focus,select:focus,textarea:focus{border-color:#7ba4d5;box-shadow:0 0 0 4px rgba(21,86,168,.09)}textarea{line-height:1.45}.modal{border:1px solid rgba(255,255,255,.65);box-shadow:0 28px 90px rgba(4,20,43,.35)}.modal>header{position:sticky;top:0;z-index:4;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.modal>header button{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;cursor:pointer}.modal>header button:hover{background:#f1f5f9}.direction-case,.category-report-row,.resolved-card{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.direction-case:hover,.category-report-row:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(8,42,97,.09);border-color:#bfd2e9}.case-whatsapp-actions{gap:8px}.wa-big{min-height:46px;border-radius:12px}.planning-card{border-top:1px solid #dce6f3}.planning-direction-group>header{box-shadow:0 5px 15px rgba(8,42,97,.14)}.worker-card{min-height:110px}.empty{border-radius:16px}.director{box-shadow:0 10px 24px rgba(8,42,97,.18)}@media(max-width:1150px){.stats.priority-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.header{height:64px;padding:0 16px}.brand{gap:9px}.brand>span{width:40px;height:40px;border-radius:12px}.brand b{font-size:15px}.brand small{font-size:8px}.logout{min-height:40px;padding:8px 11px}.shell aside{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:calc(72px + env(safe-area-inset-bottom));min-height:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));display:flex;justify-content:flex-start;gap:3px;overflow-x:auto;overflow-y:hidden;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #dce5f0;box-shadow:0 -7px 24px rgba(8,42,97,.11);scrollbar-width:none}.shell aside::-webkit-scrollbar{display:none}.nav{flex:0 0 auto;min-width:76px;height:58px;padding:6px 8px;justify-content:center;border-radius:13px;font-size:18px}.nav span{font-size:10px;line-height:1.05;max-width:76px;text-align:center}.nav:hover{transform:none}.nav.active{box-shadow:inset 0 -4px var(--sp-orange);border-color:#d8e5f7}.shell main{padding:20px 14px calc(100px + env(safe-area-inset-bottom))}.top{align-items:flex-start}.top h1{font-size:27px}.top .primary{min-height:46px}.stats.priority-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.priority-buttons button,.priority-buttons .works-filter{min-height:116px;padding:14px}.priority-buttons b{font-size:28px}.system-refresh-card{margin-bottom:14px}.attention-kpis{gap:8px}.modal{max-height:calc(100dvh - 18px);width:calc(100% - 12px);border-radius:18px}.overlay{padding:6px}.form{padding:16px}.two{gap:10px}.director-message-actions button{min-height:46px}}@media(max-width:600px){.brand div{max-width:215px}.brand b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{letter-spacing:.04em}.dashboard-cover-wrap{border-radius:16px}.top{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:18px}.top .primary,.top .print-top-actions{width:100%}.print-top-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.print-top-actions button{width:100%}.stats.priority-buttons{grid-template-columns:1fr 1fr}.priority-buttons p{font-size:12px;max-width:70%}.priority-buttons .signal,.works-signal{right:10px!important;top:14px!important;transform:scale(.88)}.service-competition,.attention-dashboard,.director-message-control{padding-left:12px;padding-right:12px}.service-competition-head,.attention-head{gap:10px}.period-switch{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.period-switch button{min-height:40px}.planning-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}.planning-toolbar label{grid-column:1/-1}.planning-toolbar button{width:100%}.planning-kpis,.well-kpis{grid-template-columns:1fr 1fr!important;gap:8px}.planning-kpis article,.well-kpis article{padding:13px}.planning-card{padding:13px;gap:10px}.planning-time{font-size:16px}.worker-card{align-items:flex-start}.case-whatsapp-actions{display:grid;grid-template-columns:1fr}.case-whatsapp-actions .wa-big{width:100%}.resolved-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.resolved-actions button{width:100%;min-height:44px}.modal>header{padding:13px 15px}.modal h2{font-size:18px}.form .two{grid-template-columns:1fr}.director-lock-row{align-items:stretch;flex-direction:column}.director-lock-row button{width:100%}}@media(max-width:390px){.header{padding:0 10px}.brand>span{width:36px;height:36px}.brand b{font-size:13px}.brand small{font-size:7px}.logout{font-size:12px;padding:7px 9px}.shell main{padding-left:10px;padding-right:10px}.stats.priority-buttons{grid-template-columns:1fr}.priority-buttons button,.priority-buttons .works-filter{min-height:102px}.priority-buttons p{max-width:none}.priority-buttons .signal,.works-signal{top:24px!important}.resolved-actions{grid-template-columns:1fr}}.overlay{padding-top:calc(14px + env(safe-area-inset-top,0px));padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.modal>header{min-height:58px;padding-right:12px}.modal>header #closeModal{flex:0 0 48px;width:48px;height:48px;border-radius:14px!important;background:#f47a20!important;color:#fff!important;font-size:34px!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 16px rgba(244,122,32,.32);position:relative;z-index:10}.modal>header #closeModal:hover,.modal>header #closeModal:active{background:#d95f0a!important}.modal>header h2{padding-right:8px}@media(max-width:600px){.overlay{padding:calc(10px + env(safe-area-inset-top,0px)) 8px calc(10px + env(safe-area-inset-bottom,0px))}.modal{max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.modal>header{padding:10px 10px 10px 14px}.modal>header #closeModal{flex-basis:50px;width:50px;height:50px;font-size:36px!important}}#hb-badge{display:none!important}.header-actions{display:flex;align-items:center;gap:8px}.main-back,.main-refresh,.main-close{width:46px;height:46px;min-width:46px;border:0;border-radius:14px;color:#fff;font-weight:900;line-height:1;display:grid;place-items:center;cursor:pointer}.main-back{background:#082a61;font-size:28px;box-shadow:0 7px 18px rgba(8,42,97,.24)}.main-refresh{background:#f47a20;font-size:29px;box-shadow:0 7px 18px rgba(244,122,32,.28)}.main-close{background:#f47a20;font-size:32px;box-shadow:0 7px 18px rgba(244,122,32,.28)}.main-back:active,.main-refresh:active,.main-close:active{transform:scale(.94)}.main-refresh:disabled{opacity:.75;cursor:wait}@media(max-width:600px){.header-actions{gap:6px}.main-back,.main-refresh,.main-close{width:44px;height:44px;min-width:44px}.main-back{font-size:27px}.main-refresh{font-size:28px}.main-close{font-size:30px}.logout{display:none}}#closeModal{position:relative!important;top:50px!important;right:auto!important;transform:translateX(-230px)!important;flex:0 0 48px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;margin-left:12px!important;border-radius:14px!important;background:#f47a20!important;color:#fff!important;border:3px solid #fff!important;box-shadow:0 6px 18px rgba(244,122,32,.32)!important;font-size:32px!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;z-index:20!important;opacity:1!important;visibility:visible!important}#closeModal:active{transform:translateX(-230px) scale(.94)!important}@media(max-width:600px){.modal>header{padding:12px 14px 70px!important;gap:10px!important}.modal>header h2{min-width:0!important;flex:1!important}.modal>header #closeModal{top:58px!important;flex:0 0 46px!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;margin-left:8px!important;font-size:31px!important}}.resolved-folder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 14px}.resolved-folder-head small{display:block;color:#f47a20;font-weight:900;letter-spacing:.1em}.resolved-folder-head h2{margin:4px 0;color:#082a61}.resolved-folder-head p{margin:0;color:#64748b}.resolved-folder-grid{margin-bottom:22px}.resolved-folder-grid .service-category-card.active{border-color:#f47a20;background:linear-gradient(135deg,#fff7ed,#fff);box-shadow:0 9px 24px rgba(244,122,32,.18)}@media(max-width:700px){.resolved-folder-head{flex-direction:column}.resolved-folder-head .service-clear{width:100%}}.recent-reports-panel{margin:0 0 18px;padding:16px;border:1px solid #dce6f3;border-left:6px solid #f47a20;border-radius:18px;background:#fff;box-shadow:0 9px 24px rgba(8,42,97,.08)}.recent-reports-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.recent-reports-head em{font-style:normal;font-size:11px;font-weight:900;letter-spacing:.12em;color:#f47a20}.recent-reports-head h2{margin:4px 0;color:#082a61}.recent-reports-head p{margin:0;color:#64748b}.recent-reports-head>b{min-width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#082a61;color:#fff;font-size:22px}.recent-reports-list{display:grid;gap:8px}.recent-report-row{width:100%;display:grid;grid-template-columns:140px 1fr 180px;gap:12px;align-items:center;text-align:left;border:1px solid #dce6f3;border-radius:13px;background:#f9fbfe;padding:11px 12px;cursor:pointer}.recent-report-row:hover{border-color:#bfd2e9;background:#fff}.recent-report-code{font-weight:900;color:#f47a20}.recent-report-row b{display:block;color:#082a61}.recent-report-row small{display:block;margin-top:3px;color:#64748b}@media(max-width:700px){.recent-report-row{grid-template-columns:1fr 1fr}.recent-report-code{grid-column:1/-1}.recent-reports-head{align-items:center}.recent-reports-head p{font-size:12px}}.director-metric-card{appearance:none;width:100%;border:1px solid rgba(255,255,255,.26);border-radius:14px;background:rgba(255,255,255,.06);color:#fff;text-align:left;padding:13px 14px;cursor:pointer;font:inherit;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.director-metric-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.12);box-shadow:0 8px 20px rgba(0,0,0,.12)}.director-metric-card small,.director-metric-card span{display:block}.director-metric-card b{display:block;font-size:30px;line-height:1.05;margin:5px 0}.director-metric-card.resolved{border-color:#5bcf89}.director-metric-card.pending{border-color:#f4a261}.director-metric-card.danger{border-color:#ff6b6b}.director-metric-card.warning{border-color:#f7c948}.communes-command-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.communes-search-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce6f3;border-left:6px solid #f47a20;border-radius:18px;padding:12px 14px;box-shadow:var(--sp-shadow)}.communes-search-wrap input{width:100%;border:0;box-shadow:none!important;font-size:17px;font-weight:700}.communes-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.communes-kpis article{background:#fff;border:1px solid #dce6f3;border-radius:16px;padding:14px;box-shadow:var(--sp-shadow)}.communes-kpis small{display:block;color:#64748b;font-size:11px}.communes-kpis b{display:block;margin-top:6px;color:#082a61;font-size:26px}.communes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.communes-directory-card{width:100%;display:grid;grid-template-columns:54px 1fr 104px;gap:14px;align-items:center;text-align:left;background:#fff;border:1px solid #dce6f3;border-radius:18px;padding:15px;cursor:pointer;box-shadow:0 7px 20px rgba(8,42,97,.06)}.communes-directory-card:hover{transform:translateY(-2px);border-color:#b9cde8}.communes-card-number{width:48px;height:48px;border-radius:14px;background:#082a61;color:#fff;display:grid;place-items:center;font-weight:900}.communes-card-main>small{color:#f47a20;font-size:10px;font-weight:900}.communes-card-main h3{margin:3px 0 7px;color:#082a61;font-size:17px}.communes-card-main p{margin:7px 0 0;color:#64748b;font-size:11px}.communes-card-tags{display:flex;flex-wrap:wrap;gap:5px}.communes-card-tags span{background:#eef4fb;color:#36516f;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800}.communes-card-total{text-align:right}.communes-card-total>b{display:block;color:#082a61;font-size:28px}.communes-card-total small{display:block;color:#64748b}.communes-card-total span{color:#f47a20;font-size:11px;font-weight:900}.commune-detail-panel{margin-top:22px;background:#fff;border:1px solid #dce6f3;border-top:6px solid #082a61;border-radius:20px;padding:20px;box-shadow:0 16px 38px rgba(8,42,97,.12)}.commune-executive-head{display:flex;justify-content:space-between;gap:18px}.commune-executive-head em{font-style:normal;color:#f47a20;font-size:11px;font-weight:900}.commune-executive-head h2{margin:5px 0;color:#082a61}.commune-service-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.commune-service-summary article{border:1px solid #dce6f3;border-radius:14px;padding:13px;background:#f9fbfe}.commune-service-summary b{display:block;color:#082a61;font-size:24px}.commune-activity-row{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;border:1px solid #e1e8f1;border-radius:14px;padding:11px 12px;margin-top:8px}.commune-activity-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8f7ee;color:#138a42;font-weight:900}.commune-activity-copy h4{margin:3px 0}.commune-activity-copy p{margin:0;color:#64748b;font-size:12px}@media(max-width:900px){.communes-command-panel,.communes-grid{grid-template-columns:1fr}.commune-service-summary{grid-template-columns:1fr 1fr}}@media(max-width:600px){.communes-directory-card{grid-template-columns:44px 1fr}.communes-card-total{grid-column:1/-1;text-align:left}.commune-executive-head{display:grid}.commune-activity-row{grid-template-columns:34px 1fr}.commune-activity-row>button{grid-column:1/-1;width:100%}}.communes-directory-card.simple{grid-template-columns:48px 1fr 28px;min-height:86px;padding:14px}.communes-simple-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eef4fb;font-size:21px}.communes-simple-copy h3{margin:0;color:#082a61;font-size:17px}.communes-simple-copy p{margin:4px 0 0;color:#64748b;font-size:12px}.communes-simple-arrow{font-size:28px;color:#f47a20;font-weight:900;text-align:right}.commune-executive-head.simple{align-items:center}.commune-simple-list{display:grid;gap:8px;margin-top:16px}.commune-simple-report{width:100%;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;text-align:left;border:1px solid #dfe7f0;border-radius:13px;background:#fff;padding:12px 14px;cursor:pointer}.commune-simple-report:hover{border-color:#b9cde8;background:#f9fbfe}.commune-simple-report small{display:block;color:#f47a20;font-weight:800;font-size:11px}.commune-simple-report b{display:block;color:#102033;margin:3px 0;font-size:14px}.commune-simple-report span{display:block;color:#64748b;font-size:12px}.commune-simple-report strong{color:#082a61;font-size:12px;white-space:nowrap}@media(max-width:600px){.communes-directory-card.simple{grid-template-columns:42px 1fr 22px}.commune-simple-report{grid-template-columns:1fr}.commune-simple-report strong{justify-self:end}}@media print{.header,.shell aside,.system-refresh-card,.director-message-control,.dashboard-cover-wrap{display:none!important}.shell main{padding:0!important;max-width:none!important}.shell{display:block!important}body{background:#fff!important}}.commune-exec-sheet{margin-top:18px;border:1px solid #d7e1ef;border-radius:18px;background:#fff;overflow:hidden}.commune-exec-banner{display:grid;grid-template-columns:1fr 1.3fr;align-items:center;gap:18px;padding:16px 20px;border-bottom:4px solid #082a61;background:linear-gradient(105deg,#f47a20 0 38%,#fff 38% 72%,#e9eef7 72% 100%)}.commune-exec-banner span{color:#fff;font-weight:900;letter-spacing:.05em;font-size:13px}.commune-exec-banner strong{text-align:center;color:#111;font-size:20px;line-height:1.25}.commune-exec-actions{display:grid;grid-template-columns:1fr 1fr;column-gap:34px;row-gap:4px;padding:24px 26px 28px}.commune-exec-action{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;width:100%;border:0;background:transparent;text-align:left;padding:10px 0;cursor:pointer;border-bottom:1px solid #edf1f6}.commune-exec-action>span{font-size:13px;color:#082a61;margin-top:2px}.commune-exec-action b{display:block;color:#111;font-size:14px;line-height:1.3;text-transform:uppercase}.commune-exec-action small{display:block;color:#64748b;font-size:10px;font-weight:800;margin-top:3px;text-transform:uppercase}.commune-exec-action:hover b{color:#082a61}@media(max-width:700px){.commune-exec-banner{grid-template-columns:1fr;background:linear-gradient(135deg,#f47a20,#ff9a52 44%,#eef3fa 44%)}.commune-exec-banner strong{background:#fff;padding:12px;border-radius:10px;font-size:17px}.commune-exec-actions{grid-template-columns:1fr;padding:16px}.commune-exec-action b{font-size:13px}}.commune-exec-sheet.management{border:0;box-shadow:0 18px 45px rgba(8,42,97,.14);background:linear-gradient(180deg,#fff 0,#f8fbff 100%)}.commune-exec-banner.management{position:relative;overflow:hidden;grid-template-columns:1fr 1.25fr;padding:22px 26px;border-bottom:0;background:linear-gradient(120deg,#f47a20 0 36%,#ff954b 36% 42%,#082a61 42% 100%)}.commune-exec-banner.management:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-70px;top:-90px;background:rgba(255,255,255,.08)}.commune-exec-banner.management div{position:relative;z-index:1}.commune-exec-banner.management small{display:block;color:#fff;font-size:11px;font-weight:900;letter-spacing:.13em}.commune-exec-banner.management span{display:inline-block;margin-top:8px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.18);font-size:10px}.commune-exec-banner.management strong{position:relative;z-index:1;color:#fff;font-size:23px;letter-spacing:.01em}.commune-management-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px;background:#eef4fb}.commune-management-kpis article{position:relative;overflow:hidden;padding:16px 17px;border-radius:16px;background:#fff;border:1px solid #d8e4f2;box-shadow:0 8px 22px rgba(8,42,97,.08)}.commune-management-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#f47a20}.commune-management-kpis article:nth-child(2):before{background:#1556a8}.commune-management-kpis article:nth-child(3):before{background:#16a34a}.commune-management-kpis small{display:block;color:#6b7788;font-size:10px;font-weight:900;letter-spacing:.08em}.commune-management-kpis b{display:block;margin:5px 0 2px;color:#082a61;font-size:32px;line-height:1}.commune-management-kpis b.date{font-size:21px}.commune-management-kpis span{color:#7b8797;font-size:11px}.commune-management-title{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:22px 24px 12px}.commune-management-title em{display:block;font-style:normal;color:#f47a20;font-size:10px;font-weight:900;letter-spacing:.13em}.commune-management-title h3{margin:4px 0 0;color:#082a61;font-size:20px}.commune-management-title>span{padding:7px 10px;border-radius:999px;background:#e8f0ff;color:#1556a8;font-size:11px;font-weight:900}.commune-service-blocks{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 20px 24px}.commune-service-block{overflow:hidden;border:1px solid #dce6f3;border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(8,42,97,.06)}.commune-service-block header{display:grid;grid-template-columns:14px 1fr auto;gap:8px;align-items:center;padding:11px 13px;background:linear-gradient(90deg,#082a61,#1556a8);color:#fff}.commune-service-block header span{color:#f47a20}.commune-service-block header strong{font-size:12px;text-transform:uppercase;letter-spacing:.03em}.commune-service-block header b{min-width:28px;height:28px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#082a61;font-size:12px}.commune-service-block .commune-exec-action{padding:10px 12px}.commune-service-block .commune-exec-action:nth-child(even){background:#fbfdff}.commune-service-block.category-only{appearance:none;width:100%;padding:0;text-align:left;cursor:pointer;color:inherit}.commune-service-block.category-only>small{display:block;padding:10px 13px 11px;color:#f47a20;font-size:11px;font-weight:900;background:#fff}.commune-service-block.category-only:hover{transform:translateY(-2px);border-color:#b8cce6;box-shadow:0 12px 24px rgba(8,42,97,.12)}.commune-service-block.category-only:hover>small{color:#082a61}@media(max-width:800px){.commune-management-kpis{grid-template-columns:1fr 1fr}.commune-management-kpis article:last-child{grid-column:1/-1}.commune-service-blocks{grid-template-columns:1fr}.commune-exec-banner.management{grid-template-columns:1fr;gap:12px;background:linear-gradient(135deg,#f47a20 0 42%,#082a61 42% 100%)}.commune-exec-banner.management strong{text-align:left}.commune-management-title{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.commune-management-kpis{grid-template-columns:1fr}.commune-management-kpis article:last-child{grid-column:auto}.commune-management-title{padding:18px 16px 10px}.commune-service-blocks{padding:0 14px 18px}.commune-exec-banner.management{padding:18px}.commune-exec-banner.management strong{font-size:19px}}.materials-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.materials-kpis .materials-kpi-btn{appearance:none;width:100%;background:#fff;border:1px solid #dce6f3;border-radius:17px;padding:16px;box-shadow:var(--sp-shadow);border-top:4px solid #082a61;text-align:left;cursor:pointer;font:inherit;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.materials-kpis .materials-kpi-btn:nth-child(2){border-top-color:#16a34a}.materials-kpis .materials-kpi-btn:nth-child(3){border-top-color:#f47a20}.materials-kpis .materials-kpi-btn:nth-child(4){border-top-color:#dc2626}.materials-kpis .materials-kpi-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(8,42,97,.14)}.materials-kpis .materials-kpi-btn.active{border-color:#f47a20;background:#fff8f1}.materials-kpis small{display:block;color:#64748b;font-size:11px;font-weight:800}.materials-kpis b{display:block;margin-top:7px;color:#082a61;font-size:28px}.materials-kpis .materials-kpi-btn span{display:block;margin-top:8px;color:#f47a20;font-size:11px;font-weight:900}.materials-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:16px}.materials-layout .panel{padding:17px;overflow:visible}.materials-layout .panel-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:12px}.materials-layout .panel-head small{color:#f47a20;font-weight:900;letter-spacing:.08em}.materials-layout .panel-head h2{margin:3px 0 0;color:#082a61}.materials-layout .panel-head input{max-width:320px}.materials-stock-list,.materials-movements{display:grid;gap:10px}.material-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:13px;align-items:center;border:1px solid #dce6f3;border-radius:16px;padding:14px;background:#fff}.material-card.low{border-color:#fdba74;background:#fffaf3}.material-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eef4fb;font-size:24px}.material-info small{color:#f47a20;font-weight:900}.material-info h3{margin:3px 0;color:#082a61}.material-info p{margin:0 0 6px;color:#64748b;font-size:12px}.material-info span{font-size:12px;color:#475569}.material-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.material-actions button{min-height:40px}.material-movement{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #e2e8f0;border-left:5px solid #16a34a;border-radius:13px;padding:12px;background:#fff}.material-movement.out{border-left-color:#f47a20}.material-movement small,.material-movement span{display:block;color:#64748b;font-size:11px}.material-movement b,.material-movement strong{display:block;color:#082a61;margin:3px 0}.material-modal-stock{padding:13px 14px;margin-bottom:12px;border-radius:14px;background:#eef4fb;border:1px solid #d7e4f4}.material-modal-stock small{color:#f47a20;font-weight:900}.material-modal-stock h2{margin:3px 0;color:#082a61}.material-modal-stock b{color:#166534}.materials-filter-card{border-color:#c9d9ec!important}.materials-filter-card .works-signal{background:#eef4fb!important}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center}@media(max-width:900px){.materials-layout{grid-template-columns:1fr}.materials-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.materials-kpis{grid-template-columns:1fr 1fr}.materials-layout .panel-head{align-items:stretch;flex-direction:column}.materials-layout .panel-head input{max-width:none}.material-card{grid-template-columns:46px 1fr}.material-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.material-movement{grid-template-columns:1fr}.materials-kpis .materials-kpi-btn{padding:13px}}.purchase-admin{display:grid;gap:16px}.purchase-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px;border-radius:18px;background:linear-gradient(135deg,#eef4fb,#fff);border:1px solid #dce6f3}.purchase-admin-head small{color:#f47a20;font-weight:900;letter-spacing:.1em}.purchase-admin-head h2{margin:4px 0;color:#082a61}.purchase-admin-head p{margin:0;color:#64748b;max-width:650px}.purchase-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.purchase-summary article{padding:15px;border-radius:15px;background:#fff;border:1px solid #dce6f3}.purchase-summary small{display:block;color:#64748b;font-weight:800}.purchase-summary b{display:block;margin-top:6px;color:#082a61;font-size:25px}.purchase-list{display:grid;gap:10px}.purchase-card{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:14px;border:1px solid #dce6f3;border-radius:15px;background:#fff}.purchase-card small{color:#f47a20;font-weight:900}.purchase-card h3{margin:4px 0;color:#082a61}.purchase-card p{margin:0;color:#64748b;font-size:12px}.purchase-total{text-align:right;display:grid;gap:8px;justify-items:end}.purchase-total b{color:#082a61;font-size:18px}.purchase-total span{color:#94a3b8;font-size:11px}.purchase-lines-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:4px}.purchase-lines-head strong{color:#082a61}.purchase-line{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(110px,.6fr) minmax(120px,.7fr) 44px;gap:8px;align-items:end;padding:10px;border-radius:13px;background:#f8fbff;border:1px solid #dce6f3;margin-top:8px}.purchase-line label{margin:0}.purchase-line .danger{height:44px;min-width:44px;padding:0;border-radius:11px;font-size:22px}.purchase-form label small{display:block;margin-top:4px;color:#64748b;font-size:11px}@media(max-width:700px){.purchase-admin-head{display:grid}.purchase-admin-head .primary{width:100%}.purchase-summary{grid-template-columns:1fr}.purchase-card{grid-template-columns:1fr}.purchase-total{text-align:left;justify-items:start}.purchase-line{grid-template-columns:1fr 1fr}.purchase-line label:first-child{grid-column:1/-1}.purchase-line .danger{align-self:end}.purchase-lines-head{align-items:stretch;flex-direction:column}.purchase-lines-head button{width:100%}}