*{box-sizing:border-box}:root{color:#1f2937;background-color:#f3f5f7;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:14px;line-height:1.35}body{background:#f3f5f7;min-height:100vh;margin:0}a{color:inherit;text-decoration:none}.page-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-height:300px;padding:12px;box-shadow:0 2px 6px #0f172a0a}.page-container h2,.page-container h3{margin-top:0}.section-title h2{margin-bottom:2px;font-size:1.35rem}.section-title p{color:#6b7280;margin-top:0}.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0;display:grid}.form-grid label{color:#334155;flex-direction:column;gap:6px;font-size:.92rem;display:flex}input,select,textarea{font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:5px 8px}.full-width{grid-column:1/-1}.form-actions{align-items:center;gap:10px;display:flex}.btn{color:#fff;cursor:pointer;background:#0b5cab;border:1px solid #0b5cab;border-radius:8px;padding:5px 9px}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:#334155;background:#fff;border-color:#94a3b8}.btn-danger{color:#fff;background:#b91c1c;border-color:#b91c1c}.btn-sm{padding:4px 10px;font-size:.8rem}.btn-xs{padding:2px 8px;font-size:.72rem}.rules-form{flex-direction:column;gap:4px;margin-top:4px;display:flex}.rules-form-card{margin-bottom:16px}.rules-form-card--editing{padding-left:calc(var(--card-padding,20px) - 3px);border-left:3px solid #3b82f6}.rules-edit-banner{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:10px 14px;display:flex}.rules-edit-banner-label{color:#1e40af;font-size:.9rem}.rules-form-section-title{color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin:14px 0 2px;font-size:.75rem;font-weight:700}.rules-form-row-2col{grid-template-columns:1fr 1fr;margin:8px 0 0}.rules-form-row-3col{grid-template-columns:repeat(3,1fr);align-items:start;margin:4px 0 0}.rules-form-row-count{grid-template-columns:1fr 1fr 140px;align-items:start;margin:4px 0 0}.rule-field-label{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.threshold-hints-presets{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.btn-preset-active{color:#fff;background:#1e40af;border-color:#1e40af}.filter-presets{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.btn-preset{text-align:center;min-width:110px}.filter-presets-label{color:#64748b;margin-right:2px;font-size:.82rem}.field-error{color:#b91c1c;font-size:.8rem}.feedback{border-radius:8px;margin:14px 0;padding:10px 12px}.feedback-success{color:#166534;background:#ecfdf3;border:1px solid #86efac}.feedback-error{color:#991b1b;background:#fef2f2;border:1px solid #fca5a5}.filter-bar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding:8px;display:flex}.filter-bar label{flex-direction:column;gap:6px;display:flex}.table-wrapper{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;margin-top:12px}.data-table th,.data-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:10px}.data-table thead th{color:#334155;background:#f8fafc}.th-sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.th-sortable:hover{background:#f1f5f9}.sort-icon{margin-left:4px;font-size:.75rem}.sort-icon--idle{color:#cbd5e1}.sort-icon--active{color:#1e40af}.table-toolbar{justify-content:space-between;align-items:center;margin-top:16px;margin-bottom:4px;display:flex}.table-toolbar-count{color:#64748b;font-size:.82rem}.datatable-wrapper{margin-top:12px}.datatable-footer{color:#64748b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 4px 4px;font-size:.82rem;display:flex}.datatable-pagination{align-items:center;gap:4px;display:flex}.datatable-page-label{padding:0 8px;font-size:.82rem}.datatable-pagesize select{border:1px solid #e2e8f0;border-radius:6px;padding:3px 6px;font-size:.82rem}.row-actions{gap:8px;display:flex}.loading-state{align-items:center;gap:10px;padding:14px;display:flex}.spinner{border:3px solid #bfdbfe;border-top-color:#1d4ed8;border-radius:50%;width:20px;height:20px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-state,.empty-state{border-radius:10px;margin-top:12px;padding:16px}.error-state{background:#fef2f2;border:1px solid #fecaca}.empty-state{background:#f8fafc;border:1px solid #e2e8f0}.badge{border-radius:999px;padding:3px 10px;font-size:.8rem;display:inline-block}.badge-low{color:#166534;background:#dcfce7}.badge-medium{color:#92400e;background:#fef3c7}.badge-preventivo{color:#854d0e;background:#fef9c3}.badge-high{color:#9a3412;background:#fed7aa}.badge-critical{color:#991b1b;background:#fee2e2}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0;display:grid}.metric-card{background:#fff;border:1px solid #dbe2ea;border-radius:10px;padding:14px}.metric-card p{color:#64748b;margin:0;font-size:.85rem}.metric-label{color:#64748b;align-items:center;gap:4px;font-size:.85rem;display:flex}.metric-help{position:relative}.metric-help summary{padding:0;font-size:.78rem}.metric-help ul,.metric-help p{z-index:10;white-space:normal;width:220px;font-size:.78rem;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 4px 12px #0000001f}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.community-chat{z-index:30;width:min(420px,100vw - 32px);position:fixed;bottom:24px;right:24px}.community-chat-toggle{color:#fff;cursor:pointer;background:#0b5cab;border:1px solid #0b5cab;border-radius:999px;justify-content:space-between;width:100%;padding:10px 14px;display:flex;box-shadow:0 10px 24px #0f172a2e}.community-chat-panel{background:#fff;border:1px solid #dbe2ea;border-radius:16px;margin-top:10px;overflow:hidden;box-shadow:0 16px 40px #0f172a2e}.community-chat-header{background:#f8fafc;border-bottom:1px solid #e5e7eb;justify-content:space-between;gap:12px;padding:14px;display:flex}.community-chat-header h3,.community-chat-header p{margin:0}.community-chat-header p{color:#64748b;font-size:.85rem}.community-chat-header label,.community-chat-moderation-reason{color:#334155;flex-direction:column;gap:6px;font-size:.82rem;display:flex}.community-chat-rooms{border-bottom:1px solid #e5e7eb;gap:8px;padding:10px 14px;display:flex;overflow-x:auto}.community-chat-rooms button{color:#334155;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:6px 10px}.community-chat-rooms button.active{color:#0b5cab;background:#dbeafe;border-color:#0b5cab}.community-chat-messages{flex-direction:column;gap:10px;max-height:320px;padding:14px;display:flex;overflow-y:auto}.community-chat-message{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px}.community-chat-message.moderated{color:#64748b;background:#f8fafc}.community-chat-message header{color:#334155;justify-content:space-between;gap:10px;font-size:.85rem;display:flex}.community-chat-message p{margin:8px 0}.community-chat-moderation-reason{padding:0 14px 12px}.community-chat-form{border-top:1px solid #e5e7eb;gap:10px;padding:14px;display:grid}.metric-card strong{margin-top:6px;font-size:1.2rem;display:block}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;display:grid}.dashboard-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-top:10px;padding:10px}.card-title-row{align-items:center;gap:10px;margin-bottom:4px;display:flex}.card-title-row h3{margin:0}.critical-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.critical-list li{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;padding:8px 10px;display:flex}.quick-links{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.quick-link{color:#0b5cab;background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:10px 12px;font-weight:600}.community-source-note{color:#64748b;margin:8px 0 14px}.community-mural-card{padding:14px}.community-mural-layout{grid-template-columns:minmax(0,1fr) minmax(320px,380px);align-items:stretch;gap:16px;display:grid}.community-board-panel,.community-editor-panel{min-width:0}.community-board-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.community-board-header h3,.community-board-header p,.community-editor-panel h3,.community-editor-panel p{margin:0}.community-board-header p,.community-editor-panel p{color:#64748b;font-size:.84rem}.community-board-header span{color:#0b5cab;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 10px;font-size:.78rem}.community-board-surface{background:radial-gradient(circle at 18px 18px,#78350f24 0 2px,#0000 2px 100%) 0 0/36px 36px,linear-gradient(135deg,#fff7edeb,#fed7aadb);border:10px solid #8b5a2b;border-radius:16px;min-height:520px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffff73,inset 0 0 30px #78350f2e}.community-board-pin{z-index:2;background:#b91c1c;border-radius:999px;width:13px;height:13px;position:absolute;box-shadow:0 2px 4px #0f172a4d}.community-board-pin.top-left{top:12px;left:12px}.community-board-pin.top-right{top:12px;right:12px}.community-board-pin.bottom-left{bottom:12px;left:12px}.community-board-pin.bottom-right{bottom:12px;right:12px}.community-sticky-note{cursor:grab;touch-action:none;color:#0f172a;text-align:left;z-index:3;background:#fef3c7;border:0;border-radius:4px 4px 10px 10px;width:210px;min-height:148px;padding:26px 12px 12px;transition:box-shadow .16s,scale .16s;position:absolute;box-shadow:0 12px 24px #0f172a2e}.community-sticky-note:hover{z-index:5;scale:1.02;box-shadow:0 16px 30px #0f172a3d}.community-sticky-note:active{cursor:grabbing}.community-sticky-note.media{background:#fef3c7}.community-sticky-note.baja{background:#dcfce7}.community-sticky-note.alta{background:#ffedd5}.community-sticky-note.critica{background:#fee2e2}.community-note-tape{background:#e2e8f0b8;border-radius:3px;width:72px;height:22px;position:absolute;top:-10px;left:50%;transform:translate(-50%)rotate(-2deg);box-shadow:0 1px 2px #0f172a2e}.community-sticky-note strong{margin-bottom:4px;font-size:.95rem;display:block}.community-sticky-note small{color:#64748b;margin-bottom:8px;font-size:.72rem;display:block}.community-sticky-note p{color:#334155;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 10px;font-size:.82rem;line-height:1.35;display:-webkit-box;overflow:hidden}.community-note-attachment{color:#0b5cab;margin-top:8px;font-size:.75rem;display:block}.community-editor-panel{background:linear-gradient(#fff,#f8fafc);border:1px solid #dbe2ea;border-radius:16px;padding:16px}.community-editor-form{gap:12px;margin-top:14px;display:grid}.community-editor-form label{color:#334155;flex-direction:column;gap:6px;min-width:0;font-size:.85rem;display:flex}.community-editor-form input,.community-editor-form select,.community-editor-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.community-editor-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;min-width:0;display:grid}.community-attachment-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;gap:8px;min-width:0;padding:12px;display:grid;overflow:hidden}.community-attachment-box input[type=file]{width:100%;max-width:100%}.community-attachment-box p{margin:0}.community-attachment-preview{grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.community-attachment-preview img{object-fit:cover;border-radius:8px;width:56px;height:56px}.community-attachment-preview>span{background:#e2e8f0;border-radius:8px;place-items:center;width:56px;height:56px;font-size:1.4rem;display:grid}.community-attachment-preview strong,.community-attachment-preview small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.community-post-modal-backdrop{z-index:1000;background:#0f172a7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.community-post-modal{background:#fff;border-radius:18px;width:min(680px,100%);max-height:min(760px,100vh - 48px);padding:22px;position:relative;overflow:auto;box-shadow:0 24px 60px #0f172a59}.community-post-modal h3{margin:10px 0 4px}.community-post-meta,.community-post-empty-attachment{color:#64748b;font-size:.86rem}.community-post-attachment{border-top:1px solid #e2e8f0;gap:10px;margin-top:14px;padding-top:14px;display:grid}.community-post-attachment img{object-fit:contain;background:#f8fafc;border-radius:12px;max-width:100%;max-height:360px}.community-resource-card{background:#f8fafc}.community-resource-shell{grid-template-columns:minmax(320px,420px) minmax(0,1fr);align-items:stretch;gap:16px;display:grid;overflow:hidden}.community-resource-uploader,.community-resource-catalog,.community-resource-reader{background:#fff;border:1px solid #dbe2ea;border-radius:16px;box-shadow:0 8px 20px #0f172a0a}.community-resource-uploader{padding:18px}.community-resource-uploader h3,.community-resource-uploader p,.community-resource-catalog h4,.community-resource-catalog p,.community-resource-reader h4,.community-resource-reader p{margin-top:0}.community-resource-uploader>p,.community-resource-catalog-header p,.community-resource-description,.community-resource-reader small,.community-resource-filebox p{color:#64748b;font-size:.85rem}.community-resource-form{gap:12px;display:grid}.community-resource-form input,.community-resource-form select,.community-resource-form textarea{width:100%;min-width:0}.community-resource-form .community-editor-row>label{min-width:0}.community-resource-form label{color:#334155;gap:6px;font-size:.85rem;display:grid}.community-resource-filebox{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;gap:10px;padding:12px;display:grid}.community-resource-filebox input[type=file]{width:100%}.community-resource-file-preview{grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.community-resource-file-preview>span{color:#0b5cab;background:#dbeafe;border-radius:12px;place-items:center;width:56px;height:56px;font-size:.78rem;font-weight:700;display:grid}.community-resource-file-preview strong,.community-resource-file-preview small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.community-resource-viewer-panel{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:16px;min-width:0;min-height:540px;display:grid}.community-resource-catalog{flex-direction:column;min-width:0;padding:16px;display:flex;overflow:hidden}.community-resource-catalog-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;padding-bottom:12px;display:flex}.community-resource-catalog-header h4,.community-resource-catalog-header p{margin-bottom:0}.community-resource-catalog-header span{color:#0b5cab;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:3px 9px;font-size:.78rem;font-weight:700}.community-resource-catalog-filters{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;display:grid}.community-resource-catalog-filters label{color:#334155;gap:5px;min-width:0;font-size:.8rem;display:grid}.community-resource-catalog-filters select{width:100%;min-width:0}.community-resource-tree{gap:12px;padding-right:4px;display:grid;overflow-y:auto}.community-resource-tree-region{gap:8px;display:grid}.community-resource-tree-label{color:#0f172a;align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:flex}.community-resource-tree-label:before{content:"";background:#0b5cab;border-radius:999px;width:8px;height:8px}.community-resource-tree-comuna{border-left:1px solid #dbe2ea;gap:8px;margin-left:10px;padding-left:14px;display:grid;position:relative}.community-resource-tree-branch{color:#475569;font-size:.78rem;font-weight:700;position:relative}.community-resource-tree-branch:before{content:"";border-top:1px solid #dbe2ea;width:10px;position:absolute;top:50%;left:-14px}.community-resource-list{gap:8px;display:grid}.community-resource-item{color:#0f172a;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:46px minmax(0,1fr);gap:6px 10px;width:100%;padding:9px;transition:border-color .16s,background .16s,box-shadow .16s;display:grid}.community-resource-item:hover,.community-resource-item.is-active{background:#eff6ff;border-color:#0b5cab;box-shadow:0 8px 18px #0b5cab1a}.community-resource-item>span{color:#0369a1;background:#e0f2fe;border-radius:12px;grid-row:span 2;place-items:center;width:42px;height:42px;font-size:.72rem;font-weight:800;display:grid}.community-resource-item strong,.community-resource-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.community-resource-item small{color:#64748b;font-size:.76rem}.community-resource-reader{background:#fff;flex-direction:column;min-width:0;padding:18px;display:flex}.community-resource-reader-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding-bottom:12px;display:flex}.community-resource-reader-header p{color:#0b5cab;letter-spacing:.08em;margin-bottom:4px;font-size:.76rem;font-weight:700}.community-resource-reader-actions{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px;display:flex}.community-resource-pdf{background:#f8fafc;border:1px solid #dbe2ea;border-radius:14px;flex:1;width:100%;min-height:380px}.community-resource-docx-placeholder,.community-resource-empty-reader{text-align:center;color:#475569;background:linear-gradient(#fff,#f8fafc);border:1px dashed #cbd5e1;border-radius:16px;flex:1;align-content:center;place-items:center;gap:8px;min-height:340px;padding:24px;display:grid}.community-contacts-card{padding:14px}.community-contacts-layout{grid-template-columns:minmax(320px,.95fr) minmax(0,1.2fr);align-items:stretch;gap:16px;display:grid}.community-agenda-panel,.community-contact-form-panel{min-width:0}.community-agenda-panel{background:linear-gradient(90deg,#f8fafc 0 28px,#fff 28px 100%);border:1px solid #dbe2ea;border-radius:18px;padding:16px 16px 16px 38px;box-shadow:inset 8px 0 #d97706,inset 12px 0 #78350f24}.community-agenda-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.community-agenda-header h3,.community-agenda-header p,.community-contact-form-panel h3,.community-contact-form-panel p{margin:0}.community-agenda-header p,.community-contact-form-panel p{color:#64748b;font-size:.84rem}.community-agenda-header span{color:#92400e;background:#fef3c7;border-radius:999px;place-items:center;min-width:34px;height:34px;font-weight:800;display:inline-grid}.community-agenda-filters{grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) minmax(0,.9fr);gap:10px;margin-bottom:12px;display:grid}.community-agenda-filters label{color:#334155;flex-direction:column;gap:6px;min-width:0;font-size:.78rem;display:flex}.community-agenda-filters input,.community-agenda-filters select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.community-agenda-book{gap:10px;display:grid}.community-contact-card{background:#fffaf0;border:1px solid #e2e8f0;border-left:4px solid #d97706;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:12px;display:grid;box-shadow:0 8px 18px #0f172a14}.community-contact-main,.community-contact-meta{min-width:0}.community-contact-main strong,.community-contact-main span,.community-contact-main small,.community-contact-card p{overflow-wrap:anywhere;display:block}.community-contact-main strong{color:#0f172a;font-size:.96rem}.community-contact-main span,.community-contact-main small,.community-contact-card p{color:#64748b;font-size:.78rem}.community-contact-card p{color:#334155;border-top:1px dashed #e2e8f0;grid-column:1/-1;margin:0;padding-top:8px;line-height:1.45}.community-contact-meta{align-content:start;justify-items:end;gap:8px;display:grid}.community-contact-phone{color:#0b5cab;white-space:nowrap;font-size:.82rem;font-weight:700;text-decoration:none}.community-contact-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.community-contact-action,.community-contact-delete{color:#0f172a;background:#fff;border:1px solid #dbe2ea;border-radius:999px;place-items:center;min-width:32px;height:32px;font-weight:800;text-decoration:none;display:inline-grid}.community-contact-action.whatsapp{color:#166534;background:#dcfce7;border-color:#86efac}.community-contact-action.email{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.community-contact-delete{color:#b91c1c;cursor:pointer;width:auto;padding:0 10px;font-size:.72rem}.community-contact-form-panel{background:linear-gradient(#fff,#f8fafc);border:1px solid #dbe2ea;border-radius:18px;padding:16px}.community-contact-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.community-contact-form label{color:#334155;flex-direction:column;gap:6px;min-width:0;font-size:.85rem;display:flex}.community-contact-form input,.community-contact-form select,.community-contact-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.community-contact-form .full-width{grid-column:1/-1}@media (width<=1180px){.community-resource-shell,.community-resource-viewer-panel,.community-contacts-layout{grid-template-columns:1fr}}@media (width<=720px){.community-editor-row,.community-attachment-preview,.community-contact-card,.community-contact-form{grid-template-columns:1fr}.community-contact-meta{justify-items:start}.community-sticky-note{width:180px}}.alerts-layout{grid-template-columns:minmax(0,1fr) 320px;gap:12px;min-height:calc(100vh - 420px);margin-top:12px;display:grid}.alerts-map-wrapper{border:1px solid #e2e8f0;border-radius:10px;height:100%;overflow:hidden}.alerts-map{height:100%;min-height:420px}.alerts-priority-card{overflow-y:auto}.alerts-priority-card h3{margin-top:0}.alerts-operational-grid{grid-template-columns:1fr 1fr;gap:6px 16px;margin:0;padding:0;list-style:none;display:grid}.alerts-operational-item{border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;padding:6px 10px;font-size:.875rem;display:flex}.alerts-operational-num{color:#94a3b8;text-align:right;min-width:18px;font-size:.75rem}.alerts-priority-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.alerts-priority-list li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:8px 10px;display:grid}.alerts-priority-item{cursor:pointer;transition:background .15s}.alerts-priority-item:hover{background:#f1f5f9}.alerts-priority-item--selected{background:#eff6ff;border-color:#93c5fd}.alerts-priority-score{color:#64748b;font-size:.82rem}.alerts-see-more{margin-top:6px;font-size:.85rem}.alerts-see-more summary{cursor:pointer;color:#2563eb;align-items:center;gap:4px;padding:2px 0;list-style:none;display:inline-flex}.alerts-see-more summary::-webkit-details-marker{display:none}.alerts-see-more summary:before{content:"▶";font-size:.7rem;transition:transform .15s}.alerts-see-more[open] summary:before{transform:rotate(90deg)}.alerts-table-note{color:#64748b;margin-bottom:4px;font-size:.82rem}.reports-photo-no-preview{color:#64748b;text-align:center;justify-content:center;align-items:center;min-height:140px;padding:8px;font-size:.82rem;display:flex}.reports-gallery-dialog{background:#fff;border:1px solid #dbe2ea;border-radius:12px;gap:10px;width:min(1000px,92vw);max-height:92vh;padding:12px;display:grid}.reports-photo-dialog-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.reports-gallery-main{background:#0f172a;border:1px solid #e2e8f0;border-radius:10px;min-height:260px;overflow:hidden}.reports-photo-dialog-image{object-fit:contain;background:#0f172a;border-radius:8px;width:100%;max-height:78vh}.reports-gallery-thumbs{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:10px;display:grid}.reports-gallery-thumb{cursor:pointer;background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;min-height:72px;padding:4px}.reports-gallery-thumb img{object-fit:cover;border-radius:5px;width:100%;height:62px}.reports-gallery-thumb span{color:#64748b;font-size:.72rem}.reports-gallery-thumb.is-active{border-color:#0b5cab;box-shadow:0 0 0 2px #0b5cab29}@media (width<=992px){.alerts-layout{grid-template-columns:1fr}}.modal-backdrop{z-index:1100;background:#0f172a73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #dbe2ea;border-radius:10px;width:min(420px,100%);padding:16px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.not-found{text-align:center}.back-home-link{color:#0b5cab;margin-top:12px;font-weight:600;display:inline-block}.auth-page{align-content:center;justify-items:center;gap:10px;min-height:100vh;padding:24px 16px;display:grid}.auth-card{background:#fff;border:1px solid #dbe2ea;border-radius:12px;width:min(460px,100%);padding:22px;box-shadow:0 4px 20px #0f172a14}.auth-header h2{color:#0f172a;margin:0 0 4px}.auth-header p{color:#64748b;margin:0 0 16px}.auth-form{gap:12px;display:grid}.auth-form label{color:#334155;gap:6px;font-size:.92rem;display:grid}.auth-footer{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:16px;display:flex}.auth-footer a,.auth-back-link{color:#0b5cab;font-weight:600}.auth-brand-note{color:#64748b;text-align:center;margin:0;font-size:.85rem}.auth-help-text{color:#475569;margin:12px 0 0;font-size:.85rem}.auth-dev-box{background:#eff6ff;border:1px dashed #93c5fd;border-radius:8px;margin-top:14px;padding:10px 12px}.auth-dev-box p{color:#1e3a8a;margin:0 0 6px;font-size:.88rem}.auth-dev-users{color:#1e3a8a;margin:10px 0 0;padding-left:18px;font-size:.86rem}.turnstile-wrapper{gap:6px;display:grid}.auth-password-row{grid-template-columns:1fr auto;align-items:center;gap:8px;display:grid}.auth-password-toggle{white-space:nowrap;padding:7px 10px}.auth-inline-option{color:#475569;align-items:center;gap:8px;font-size:.88rem;display:flex}.auth-inline-option input[type=checkbox]{width:16px;height:16px}.auth-password-guidance{background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;gap:8px;padding:10px 12px;display:grid}.auth-password-title{color:#0f172a;margin:0;font-size:.88rem;font-weight:600}.auth-password-list{gap:3px;margin:0;padding-left:18px;font-size:.82rem;display:grid}.password-rule-ok{color:#166534}.password-rule-pending{color:#92400e}.auth-strength-wrapper{gap:4px;display:grid}.auth-strength-bar-bg{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.auth-strength-bar{height:100%;transition:width .2s ease-in-out}.auth-strength-label{font-size:.8rem;font-weight:600}.auth-strength-bar-neutral{background:#94a3b8}.auth-strength-bar-weak{background:#ef4444}.auth-strength-bar-medium{background:#f59e0b}.auth-strength-bar-strong{background:#22c55e}.auth-strength-label-neutral{color:#64748b}.auth-strength-label-weak{color:#991b1b}.auth-strength-label-medium{color:#92400e}.auth-strength-label-strong{color:#166534}.access-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;margin-top:14px;display:grid}.access-user-card{background:#fff;border:1px solid #dbe2ea;border-radius:10px;gap:10px;padding:12px;display:grid}.access-user-header h3{margin:0;font-size:1rem}.access-user-header p{color:#64748b;margin:2px 0 0;font-size:.85rem}.access-controls-row{grid-template-columns:1fr auto;align-items:end;gap:10px;display:grid}.access-controls-row label{color:#334155;gap:6px;font-size:.88rem;display:grid}.access-toggle{flex-direction:row;align-items:center;gap:8px;display:flex}.access-help{color:#64748b;margin-bottom:2px;font-size:.8rem}.access-help summary{cursor:pointer;color:#64748b;align-items:center;gap:4px;font-size:.78rem;list-style:none;display:inline-flex}.access-help summary::-webkit-details-marker{display:none}.access-help ul,.access-help p{background:#f1f5f9;border-radius:6px;margin:4px 0 0;padding:6px 10px 6px 1.4rem;line-height:1.6}.access-advanced{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.access-advanced summary{cursor:pointer;color:#0b5cab;font-size:.88rem;font-weight:600}.access-role-list{flex-wrap:wrap;gap:8px 14px;margin-top:8px;display:flex}.access-role-item{align-items:center;gap:6px;font-size:.82rem;display:inline-flex}.account-page{max-width:680px}.account-header{align-items:center;gap:12px;margin-bottom:4px;display:flex}.account-header h2{margin:0}.account-meta{color:#64748b;margin:0 0 20px;font-size:.9rem}.account-section{margin-top:16px}.account-section h3{color:#0f172a;margin:0 0 14px;font-size:1rem}.badge-info{color:#1e40af;background:#dbeafe}.field-optional{color:#94a3b8;font-size:.82rem;font-weight:400}.field-hint{color:#64748b;margin:-6px 0 0;font-size:.8rem}
