:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#f4f6f8;--color-surface:#fff;--color-surface-alt:#f4f6f8;--color-text:#1a1a1a;--color-text-muted:#555;--color-border:#e0e0e0;--color-header-bg:#0f2f4d;--color-header-text:#cfe0f0;--color-header-text-strong:#fff;--color-primary:#0f2f4d;--color-primary-contrast:#fff;--color-danger:#b3261e;--color-danger-bg:#fdecea;--color-success:#1e7e34;--color-success-bg:#e6f4ea;--color-info:#0d5aa7;--color-info-bg:#e8f1fb;--color-warning:#8a6100;--color-warning-bg:#fff4d6;--shadow-card:0 1px 4px #0000001a;font-family:system-ui,Segoe UI,Roboto,sans-serif}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#14181d;--color-surface:#1e242b;--color-surface-alt:#262d36;--color-text:#e7ebf0;--color-text-muted:#a7b0bb;--color-border:#333c46;--color-header-bg:#0a1c2e;--color-header-text:#b9cfe3;--color-header-text-strong:#fff;--color-primary:#3a7ca8;--color-primary-contrast:#fff;--color-danger:#f2867d;--color-danger-bg:#402323;--color-success:#7fd897;--color-success-bg:#1e3324;--color-info:#6fa8dc;--color-info-bg:#1c2c3d;--color-warning:#e6c250;--color-warning-bg:#3d3416;--shadow-card:0 1px 4px #0006}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--color-bg);color:var(--color-text);transition:background-color .15s,color .15s}h1,h2,h3{font-weight:600}a{color:inherit}[data-theme=dark] .leaflet-popup-content-wrapper,[data-theme=dark] .leaflet-popup-tip{background:var(--color-surface);color:var(--color-text)}[data-theme=dark] .leaflet-container a{color:#8ecdf7}[data-theme=dark] .maplibregl-popup-content{background:var(--color-surface);color:var(--color-text)}[data-theme=dark] .maplibregl-popup-anchor-top .maplibregl-popup-tip,[data-theme=dark] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,[data-theme=dark] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-bottom-color:var(--color-surface)}[data-theme=dark] .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,[data-theme=dark] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,[data-theme=dark] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:var(--color-surface)}[data-theme=dark] .maplibregl-popup-anchor-left .maplibregl-popup-tip{border-right-color:var(--color-surface)}[data-theme=dark] .maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:var(--color-surface)}.protected-area-popup-bird-image img{object-fit:cover;border-radius:4px;width:100%;max-height:160px;margin-bottom:6px;display:block}.protected-area-popup-aves-multi{max-height:360px;overflow-y:auto}.protected-area-popup-site-header{margin-bottom:4px}.protected-area-popup-species+.protected-area-popup-species{border-top:1px dashed #80808066;margin-top:10px;padding-top:10px}.protected-area-popup-divider{border:none;border-top:1px solid #80808080;margin:10px 0}.protected-area-popup-aves-disclaimer{color:var(--color-text-muted);margin-top:8px;font-size:.75em;font-style:italic}.leaflet-container .leaflet-control-attribution{background:var(--color-surface);color:var(--color-text-muted)}[data-theme=dark] .leaflet-container .leaflet-control-attribution{background:var(--color-surface);color:var(--color-text)}.leaflet-bar.leaflet-control-zoom,.leaflet-touch .leaflet-bar.leaflet-control-zoom{box-shadow:var(--shadow-card);border:none;border-radius:4px;overflow:hidden}.leaflet-control-zoom a,.leaflet-touch .leaflet-bar.leaflet-control-zoom a{background:var(--color-surface);width:34px;height:34px;color:var(--color-text);border-bottom:1px solid var(--color-border);line-height:34px}.leaflet-control-zoom a:last-child{border-bottom:none}.leaflet-control-zoom a:hover,.leaflet-control-zoom a:focus{background:var(--color-surface-alt);color:var(--color-text)}.leaflet-control-zoom a.leaflet-disabled{background:var(--color-surface);color:var(--color-text-muted)}.leaflet-control-scale-line{color:#1a1a1a;box-sizing:border-box;background-color:#ffffff8c;border:2px solid #333;border-top:none;height:18px;line-height:13px}[data-theme=dark] .leaflet-control-scale-line{color:#e7ebf0;background-color:#1e242b8c;border-color:#e7ebf0}.btn-primary{background:var(--color-primary);color:var(--color-primary-contrast);cursor:pointer;border:none;border-radius:4px;padding:.45rem .9rem;font-weight:600}.btn-secondary{background:var(--color-surface-alt);color:var(--color-text);border:1px solid var(--color-border);cursor:pointer;border-radius:4px;padding:.45rem .9rem}.btn-link{color:var(--color-primary);cursor:pointer;background:0 0;border:none;padding:0;font-size:.85rem;text-decoration:underline}.switch{color:var(--color-text);cursor:pointer;background:0 0;border:none;align-items:center;gap:.5rem;padding:0;font-size:.9rem;display:inline-flex}.switch:disabled{opacity:.6;cursor:progress}.switch-track{background:var(--color-border);border-radius:999px;flex-shrink:0;width:2.4rem;height:1.35rem;transition:background .15s;position:relative}.switch-track:after{content:"";background:#fff;border-radius:50%;width:1.05rem;height:1.05rem;transition:transform .15s;position:absolute;top:.15rem;left:.15rem;box-shadow:0 1px 2px #0000004d}.switch[aria-checked=true] .switch-track{background:var(--color-primary)}.switch[aria-checked=true] .switch-track:after{transform:translate(1.05rem)}.switch:focus-visible .switch-track{outline:2px solid var(--color-primary);outline-offset:2px}.btn-danger{color:var(--color-danger)}.aan-import{align-items:center;gap:.6rem;display:flex}.aan-import-summary{color:var(--color-text-muted);font-size:.85rem}.pull-refresh-indicator{justify-content:center;align-items:center;transition:height .15s;display:flex;overflow:hidden}.pull-refresh-spinner{border:2px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;width:22px;height:22px}.pull-refresh-spinner.spinning{animation:.7s linear infinite pull-refresh-spin}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}.record-page{max-width:1100px;margin:0 auto;padding:1.5rem}.record-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.record-header h1{margin:0;font-size:1.4rem}.record-header-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.btn-icon-label{align-items:center;gap:.4rem;display:inline-flex}@media (width<=560px){.record-header-actions .btn-label{display:none}}.btn-icon{cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:1.9rem;height:1.9rem;padding:0;font-size:1rem;display:inline-flex}.btn-icon:hover{background:var(--color-surface-alt)}.btn-icon-danger:hover{background:color-mix(in srgb, var(--color-danger) 15%, transparent)}.record-error{color:var(--color-danger)}.record-subsection{margin-bottom:1.25rem}.record-subsection h2{margin:0 0 .4rem;font-size:1.05rem}.record-subsection-hint{color:var(--color-text-muted);margin:0 0 .5rem;font-size:.85rem}.record-table-wrap{width:100%;overflow-x:auto}.record-table{border-collapse:collapse;background:var(--color-surface);width:100%;box-shadow:var(--shadow-card)}.record-table th,.record-table td{border-bottom:1px solid var(--color-border);text-align:left;padding:.6rem .75rem;font-size:.9rem}.record-table th{background:var(--color-surface-alt);font-weight:600}.record-actions{white-space:nowrap}.record-actions>*{vertical-align:middle}.record-actions>*+*{margin-left:.15rem}.aan-area-cell{white-space:nowrap}.aan-area-cell>*{vertical-align:middle}.aan-area-cell .btn-icon+span{margin-left:.25rem;font-size:1rem}.record-table-secondary{color:var(--color-text-muted);font-size:.8rem}.aan-import{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.aan-import-progress-bar{background:var(--color-border);border-radius:2px;width:60px;height:4px;display:block;position:relative;overflow:hidden}.aan-import-progress-bar:after{content:"";background:var(--color-primary);border-radius:2px;width:40%;animation:1.1s ease-in-out infinite aan-import-indeterminate;position:absolute;inset:0}@keyframes aan-import-indeterminate{0%{transform:translate(-100%)}to{transform:translate(250%)}}.aan-import-progress-track{background:var(--color-border);border-radius:3px;width:100%;height:6px;margin:.5rem 0;overflow:hidden}.aan-import-progress-fill{background:var(--color-primary);height:100%;transition:width .2s}.aan-history-cell{background:var(--color-surface-alt)}.aan-history{flex-direction:column;gap:.75rem;padding:.5rem 0;display:flex}.aan-history-entries{flex-direction:column;gap:.35rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.aan-history-attachments ul{flex-direction:column;gap:.25rem;margin:.25rem 0 0;padding:0;list-style:none;display:flex}.area-summary-autorenew-cell{text-align:center}.area-summary-autorenew-cell select{margin:.3rem auto 0;display:block}.area-summary-toggle{cursor:pointer;align-items:center;gap:.4rem;font-size:.9rem;display:flex}.area-summary-date-ranges{flex-direction:column;gap:.2rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.area-summary-status{color:var(--color-text-muted)}.area-summary-number{font-weight:600}.area-summary-expired{color:var(--color-danger);background:color-mix(in srgb, var(--color-danger) 15%, transparent);border-radius:3px;margin-left:.4rem;padding:.05rem .4rem;font-size:.75rem}.area-summary-skipped-row{opacity:.55}.area-summary-active-badge{color:var(--color-success,#2e7d32);font-size:1.1rem;line-height:1}.stats-quota-day{align-items:center;gap:.6rem;font-size:.85rem;display:flex}.stats-quota-day-label{width:5.5rem;color:var(--color-text-muted);flex-shrink:0}.stats-quota-day-track{background:color-mix(in srgb, var(--color-text) 8%, transparent);border-radius:3px;flex:1;height:.6rem;overflow:hidden}.stats-quota-day-bar{background:var(--color-primary);border-radius:3px;height:100%}.stats-quota-day-bar.stats-quota-day-bar-full{background:var(--color-danger)}.stats-quota-day-count{text-align:right;width:3rem;color:var(--color-text-muted);flex-shrink:0}.area-summary-filters,.record-filters{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.area-summary-filters select,.record-filters select,.record-filters input{border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text);border-radius:4px;padding:.4rem .55rem;font-size:.85rem}.area-summary-renew-hint{color:var(--color-text-muted);margin:-.5rem 0 .5rem;font-size:.85rem}.record-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.record-table th.sortable:hover{background:var(--color-border)}.area-summary-renew-dialog{max-width:600px}.area-summary-renew-dialog .rdp-months{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.area-summary-renew-dialog .rdp-root{--rdp-accent-color:var(--color-primary);--rdp-accent-background-color:color-mix(in srgb, var(--color-primary) 22%, transparent);--rdp-today-color:var(--color-primary);--rdp-range_start-color:#fff;--rdp-range_end-color:#fff;--rdp-range_start-background:var(--color-primary);--rdp-range_end-background:var(--color-primary);--rdp-range_middle-color:var(--color-text);--rdp-range_middle-background-color:color-mix(in srgb, var(--color-primary) 22%, transparent);color:var(--color-text)}.area-summary-renew-dialog .rdp-day_button:hover:not([disabled]){background:color-mix(in srgb, var(--color-primary) 15%, transparent)}.area-summary-renew-dialog .rdp-chevron{fill:var(--color-text)}.area-summary-renew-dialog .rdp-weekday{color:var(--color-text-muted)}@media (width<=560px){.area-summary-renew-dialog{max-width:360px}}.area-summary-renew-subtitle{color:var(--color-text-muted);margin:-.5rem 0 .5rem;font-weight:600}.area-summary-renew-success{color:var(--color-primary)}.record-form-backdrop{z-index:2000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.record-form-fieldset{display:contents}.record-form{background:var(--color-surface);border-radius:8px;flex-direction:column;gap:.75rem;width:100%;max-width:420px;max-height:90vh;padding:1.5rem;display:flex;overflow:hidden auto}.record-form h2{margin:0 0 .25rem;font-size:1.1rem}.record-form-header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.record-form-header h2{margin:0}.record-form-close{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.1rem .4rem;font-size:1.4rem;line-height:1}.record-form-close:hover{background:var(--color-border);color:var(--color-text)}.aan-existing-requests{flex-direction:column;gap:.35rem;max-width:100%;display:flex;overflow-x:auto}.aan-existing-requests .record-table{box-shadow:none;border:1px solid var(--color-border)}.record-form label{color:var(--color-text-muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.record-form input,.record-form select,.record-form textarea{border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-text);font:inherit;border-radius:4px;padding:.45rem .55rem}.record-form textarea{resize:vertical}.record-form-wide{max-width:860px}.record-form-row{gap:.75rem;display:flex}.record-form-row>label{flex:1;min-width:0}.record-form-hint{color:var(--color-text-muted);font-size:.75rem}.record-form-attachments{flex-direction:column;gap:.25rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.record-form-attachments li{align-items:center;gap:.5rem;display:flex}.record-form-radio-group{flex-direction:row;gap:1rem;display:flex}.record-form-radio{color:var(--color-text);flex-direction:row;align-items:center;gap:.35rem;display:flex}.record-form-radio input{width:auto}.record-form label.record-form-checkbox{color:var(--color-text);flex-flow:wrap;align-items:center;gap:.35rem}.record-form-checkbox input{width:auto}.record-form-checkbox .record-form-hint{flex-basis:100%}.record-form-actions{justify-content:flex-end;gap:.5rem;margin-top:.5rem;display:flex}@media (width<=600px){.record-form-row{flex-direction:column}}.aan-pdf-import-modal{max-width:480px}.aan-pdf-import-hint{color:var(--color-text-muted);margin:0;font-size:.85rem}.aan-pdf-dropzone{border:2px dashed var(--color-border);text-align:center;cursor:pointer;color:var(--color-text-muted);border-radius:8px;padding:2rem 1rem;transition:border-color .15s,background .15s}.aan-pdf-dropzone:hover{border-color:var(--color-primary)}.aan-pdf-dropzone-active{border-color:var(--color-primary);background:#00000008}.aan-pdf-import-results{flex-direction:column;gap:.35rem;max-height:200px;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex;overflow-y:auto}.aan-pdf-import-result-added{color:var(--color-primary)}.aan-pdf-import-result-duplicate{color:var(--color-text-muted)}.aan-pdf-import-result-unrecognized,.aan-pdf-import-result-readerror,.aan-pdf-import-result-unsupported{color:var(--color-danger)}.admin-flag-checkbox{white-space:nowrap;align-items:center;gap:.3rem;margin-right:.75rem;font-size:.85rem;display:inline-flex}.admin-flag-checkbox input{width:auto}.notification-bell{position:relative}.notification-badge{background:var(--color-danger);color:#fff;text-align:center;border-radius:999px;min-width:1.1rem;height:1.1rem;padding:0 .25rem;font-size:.65rem;font-weight:700;line-height:1.1rem;position:absolute;top:-4px;right:-6px}.notification-panel{z-index:1500;background:var(--color-surface);width:min(380px,100vw - 16px);max-height:min(70vh,520px);color:var(--color-text);box-shadow:var(--shadow-card);border:1px solid var(--color-border);border-radius:6px;flex-direction:column;display:flex;position:fixed}.notification-panel-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.notification-empty{color:var(--color-text-muted);margin:0;padding:1rem .75rem}.notification-list{margin:0;padding:.25rem;list-style:none;overflow-y:auto}.notification-item{width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;gap:.6rem;padding:.55rem .6rem;display:flex}.notification-item:hover{background:var(--color-surface-alt)}.notification-item.unread{background:var(--color-info-bg)}.notification-icon{flex:none;font-size:1.1rem}.notification-text{flex-direction:column;gap:.15rem;min-width:0;display:flex}.notification-title{font-size:.9rem;font-weight:600}.notification-body{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.85rem}.notification-date{color:var(--color-text-muted);font-size:.75rem}.app-shell{flex-direction:column;height:100vh;display:flex}.app-header{background:var(--color-header-bg);color:var(--color-header-text-strong);flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;display:flex}.app-brand{white-space:nowrap;font-size:1.1rem;font-weight:700}.app-nav{flex:1;gap:1rem;display:flex}.nav-link{color:var(--color-header-text);border-radius:4px;align-items:center;gap:.35rem;padding:.25rem .5rem;font-size:.95rem;text-decoration:none;display:flex}.nav-icon{line-height:1;display:none}.nav-label{text-align:center}.nav-link.active,.nav-link:hover{color:var(--color-header-text-strong);background:#ffffff1f}button.nav-link{cursor:pointer;background:0 0;border:none;font-family:inherit}.aan-menu{align-items:center;display:flex;position:relative}.aan-menu-caret{font-size:.7rem}.aan-submenu{z-index:1500;background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card);border-radius:6px;flex-direction:column;min-width:200px;padding:.35rem;display:flex}.aan-submenu-link{color:var(--color-text);border-radius:4px;padding:.45rem .6rem;font-size:.9rem;text-decoration:none}.aan-submenu-link.active,.aan-submenu-link:hover{background:var(--color-surface-alt)}.app-actions{align-items:center;gap:1rem;display:flex}.lang-switch,.theme-switch{gap:.25rem;display:flex}.lang-btn,.theme-btn{color:var(--color-header-text);cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:4px;padding:.15rem .5rem;font-size:.8rem}.lang-btn.active{color:var(--color-header-bg);background:#fff;font-weight:600}.theme-btn:hover{background:#ffffff1f}.theme-btn.active{color:var(--color-header-bg);background:#fff;font-weight:600}.lang-menu{position:relative}.lang-menu-toggle{color:var(--color-header-text);cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:4px;align-items:center;gap:.25rem;padding:.15rem .5rem;font-family:inherit;font-size:.8rem;display:flex}.lang-menu-toggle:hover{background:#ffffff1f}.lang-submenu{z-index:1500;background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card);border-radius:6px;flex-direction:column;min-width:100px;padding:.35rem;display:flex;position:absolute;top:calc(100% + .35rem);right:0}.lang-submenu-item{text-align:left;color:var(--color-text);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.4rem .6rem;font-family:inherit;font-size:.9rem}.lang-submenu-item.active{background:var(--color-surface-alt);font-weight:600}.lang-submenu-item:hover{background:var(--color-surface-alt)}.user-menu{align-items:center;gap:.75rem;display:flex}.user-menu-link{color:var(--color-header-text);border-radius:4px;align-items:center;gap:.4rem;padding:.25rem .4rem;font-size:.9rem;text-decoration:none;display:flex}.user-menu-link.active,.user-menu-link:hover{color:var(--color-header-text-strong);background:#ffffff1f}.user-menu-icon{font-size:1.1rem;line-height:1}.user-menu-icon-btn{color:var(--color-header-text);border-radius:4px;justify-content:center;align-items:center;padding:.25rem;font-size:1.05rem;line-height:1;text-decoration:none;display:flex}.user-menu-icon-btn.active,.user-menu-icon-btn:hover{background:#ffffff1f}@media (width<=640px){.app-header{flex-wrap:nowrap;gap:.4rem;padding:.5rem .6rem;overflow-x:auto}.app-brand{font-size:.95rem}.app-nav{flex:none;gap:.15rem}.nav-icon{font-size:1.05rem;display:inline}.nav-label{display:none}.nav-link,.header-link-btn{gap:0;padding:.2rem}.user-menu-name,.nav-link-legislation{display:none}.app-actions{gap:.35rem}.lang-switch{gap:.15rem}.lang-btn,.theme-btn,.lang-menu-toggle{padding:.15rem .3rem;font-size:.72rem}.user-menu{gap:.35rem}.user-menu-link,.user-menu .nav-link{padding:.2rem .35rem;font-size:.82rem}}.user-name{color:var(--color-header-text);font-size:.9rem}.header-link-btn{color:var(--color-header-text);cursor:pointer;background:0 0;border:none;align-items:center;gap:.35rem;padding:0;font-size:.9rem;text-decoration:underline;display:flex}.app-body{flex:1;min-height:0;display:flex}.app-content{flex:1;min-width:0;position:relative;overflow:auto}.aan-sidebar{background:var(--color-surface);color:var(--color-text);border-right:1px solid var(--color-border);flex-direction:column;flex:0 0 220px;padding:.75rem .5rem;display:flex;overflow-y:auto}.aan-sidebar-title{text-transform:uppercase;letter-spacing:.04em;opacity:.7;padding:0 .6rem .5rem;font-size:.8rem;font-weight:700}.aan-sidebar-nav{flex-direction:column;gap:.15rem;display:flex}.aan-sidebar-link{color:var(--color-text);border-left:3px solid #0000;border-radius:4px;padding:.5rem .6rem;font-size:.9rem;text-decoration:none}.aan-sidebar-link:hover{background:var(--color-surface-alt)}.aan-sidebar-link.active{background:var(--color-surface-alt);border-left-color:var(--color-header-bg);font-weight:600}
