:root{--bg: #434242;--text: #ffffff;--accent: #0ea5a4}html,body,#root{height:100%}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;background:var(--bg);color:var(--text)}.auth-screen{min-height:100%;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,420px);padding:0;background:transparent;border:none}.auth-logo{display:flex;justify-content:flex-start;margin-bottom:14px}.auth-logo svg{width:320px;height:auto;display:block}.auth-card--status{text-align:center}.auth-card p{margin:0 0 12px;color:#e6e6e6}.auth-form{display:grid;gap:12px}.auth-form .button{justify-self:start}.auth-form .form-row{margin-bottom:0}.auth-form .form-row span{font-size:16px;font-weight:600;color:var(--text)}.auth-button{min-height:44px;padding:0 16px;border:0;border-radius:8px;background:#fff;color:#111827;font-weight:700;cursor:pointer}.auth-button--primary{background:#111827;color:#fff}.auth-button:disabled{opacity:.7;cursor:progress}.auth-error{padding:8px 10px;border-radius:6px;background:#ea556f1f;color:#ffd6de}.page{padding:24px}.report-carousel{margin:12px 0 16px}.report-showcase{height:72px;border-radius:14px;overflow:hidden}.report-showcase-select{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;font:inherit;touch-action:pan-x pinch-zoom}.report-showcase-select:focus-visible{outline:3px solid #fff;outline-offset:-3px}.report-showcase-slide{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center}.report-showcase-label{flex:1;min-width:0;padding:0 14px 0 16px;text-align:left;font-weight:700;font-size:18px;color:#3a3a3a}.report-showcase-icon{display:block;flex:0 0 96px;width:96px;height:72px}.report-showcase-in-up{animation:report-slide-in-up .9s linear}.report-showcase-out-up{animation:report-slide-out-up .9s linear forwards}.report-showcase-in-down{animation:report-slide-in-down .9s linear}.report-showcase-out-down{animation:report-slide-out-down .9s linear forwards}.report-showcase-select--automatic .report-showcase-slide{animation-duration:.75s}@keyframes report-slide-in-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes report-slide-out-up{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes report-slide-in-down{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes report-slide-out-down{0%{transform:translateY(0)}to{transform:translateY(100%)}}.report-carousel-hint,.report-carousel-selection{margin:8px 0 0;font-size:14px}@media (prefers-reduced-motion: reduce){.report-showcase-slide{animation:none}}.button{display:inline-flex;align-items:center;justify-content:center;background:transparent;padding:0;margin:0;border:none;text-decoration:none;color:inherit;height:64px;width:auto;cursor:pointer}.button svg{display:block;height:100%;width:auto}.toolbar-icon{display:block;height:100%;width:auto}.report-page{width:min(100%,900px);margin:0 auto}.report-page h1{margin:0 0 8px;text-align:left}.report-page h2{margin:0 0 16px;font-size:20px}.report-page h3{margin:0 0 12px;font-size:17px}.report-intro{margin:0 0 24px;color:#d9d9d9}.report-back-button{margin-bottom:8px;font-size:32px}.report-status,.report-muted{color:#d9d9d9}.report-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.report-stat{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px;border-radius:8px;background:#fff;color:#1f2937}.report-stat strong{font-size:28px}.report-stat span{font-size:14px}.report-breakdown-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-breakdown{min-width:0;padding:14px;border-radius:8px;background:#fff;color:#1f2937}.report-breakdown-list{display:grid;gap:8px}.report-breakdown-row{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #e5e7eb}.report-breakdown-row span{overflow-wrap:anywhere}.census-table-wrap{overflow-x:auto}.census-table{width:100%;border-collapse:collapse;color:#1f2937;text-align:left}.census-table th,.census-table td{padding:10px 12px;border-bottom:1px solid #e5e7eb}.census-table th:not(:first-child),.census-table td:not(:first-child){text-align:right}.census-table th{background:#f3f4f6;font-size:13px}.census-table tfoot{background:#f3f4f6;font-weight:700}.report-empty-state{padding:24px 16px;border-radius:8px;background:#515050}.report-empty-state h2{margin-bottom:8px}.report-view-page{min-height:100%;box-sizing:border-box;padding:0;background:#e5e7eb;color:#1f2937}.report-menu{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:8px max(16px,calc((100% - 1100px)/2));box-sizing:border-box;background:#434242;color:#fff}.report-menu-button{display:inline-flex;align-items:center;gap:8px;height:64px;width:auto;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.report-menu-button:focus-visible{outline:2px solid #ffffff;outline-offset:2px}.report-menu-button svg,.report-menu-button img{display:block;height:100%;width:auto}.report-menu-button:nth-last-child(2){margin-left:auto}.report-menu-button:last-child{margin-left:0}.report-sheet{display:flex;flex-direction:column;width:min(100% - 32px,794px);min-height:1123px;margin:32px auto;box-sizing:border-box;padding:56px;background:#fff;box-shadow:0 8px 28px #11182724}.report-document-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:2px solid #d1d5db}.report-header-copy{min-width:0}.report-document-header h1{display:flex;align-items:center;gap:12px;margin:0 0 8px;color:#1f2937;font-size:30px}.report-title-icon{display:block;flex:0 0 48px;width:48px;height:36px}.report-document-header p{margin:0;color:#4b5563}.report-brand{display:block;width:165px;height:auto;flex:0 0 auto}.report-content{flex:1 0 auto;padding-top:28px}.report-footer{display:flex;justify-content:flex-end;margin-top:auto;padding-top:28px}.report-content-heading{margin:0 0 22px;color:#1f2937;font-size:20px;font-weight:700}.report-content .report-stat,.report-content .report-breakdown{border:1px solid #d1d5db;box-shadow:none}.report-content .report-empty-state{background:#f3f4f6;color:#1f2937}.report-content .report-status{color:#4b5563}.population-pyramid{margin-bottom:18px;padding:18px;border:1px solid #d1d5db;border-radius:6px;color:#1f2937;break-inside:avoid}.population-pyramid h2{margin:0 0 16px;font-size:18px}.pyramid-legend,.pyramid-row{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;gap:8px;align-items:center}.pyramid-legend{margin-bottom:10px;color:#6b7280;font-size:12px;text-align:center}.pyramid-sex--male,.pyramid-value--male{color:#4f81bd;text-align:right}.pyramid-sex--female,.pyramid-value--female{color:#c05070}.pyramid-bars{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:30px;background:linear-gradient(90deg,transparent 49.8%,#9ca3af 49.8%,#9ca3af 50.2%,transparent 50.2%)}.pyramid-bar{display:block;height:20px;max-width:100%}.pyramid-bar--male{justify-self:end;background:#8fb4dd}.pyramid-bar--female{background:#d98aa0}.pyramid-age-label{padding:0 8px;background:#fff;color:#374151;font-size:12px;white-space:nowrap}.pyramid-note{margin:16px 0 0;color:#6b7280;font-size:12px}.occupancy-report{color:#1f2937;margin-bottom:18px}.occupancy-period{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px;padding:14px;border-left:4px solid #898989;background:#f3f4f6}.occupancy-period span{color:#6b7280}.occupancy-timeline{position:relative;display:grid;grid-template-columns:80px 1fr;gap:16px;align-items:start}.occupancy-axis{position:relative;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;height:480px;padding-top:84px;box-sizing:border-box;color:#6b7280;font-size:11px}.occupancy-axis i{position:absolute;top:84px;right:10px;bottom:8px;width:3px;margin:0;background:#9ca3af}.occupancy-lanes-scroll{overflow-x:auto;padding-bottom:8px}.occupancy-lanes{display:flex;gap:16px;min-width:max-content}.occupancy-lane-col{display:flex;flex-direction:column;align-items:center;width:110px;flex:0 0 110px}.occupancy-lane-label{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;flex-direction:column;width:100%;height:76px;box-sizing:border-box;justify-content:center;align-items:center;text-align:center;gap:2px;padding:6px 8px;border-radius:8px;background:#f3f4f6;color:#1f2937;cursor:pointer;overflow-wrap:anywhere;margin-bottom:8px;border:1px solid #e5e7eb;font:inherit}.occupancy-lane-label:hover{background:#f0fdf4}.occupancy-lane-label--0{border-color:#4f81bd}.occupancy-lane-label--1{border-color:#c05070}.occupancy-lane-label--2{border-color:#009846}.occupancy-lane-label--3{border-color:#d28b36}.occupancy-lane-label--4{border-color:#7c63a8}.occupancy-lane-label--5{border-color:#0e9aa7}.occupancy-lane-label strong{display:-webkit-box;max-width:100%;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:11px;line-height:13px}.occupancy-lane-label span{color:#6b7280;font-size:10px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.occupancy-lane-label .occupancy-lane-sex{display:flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:#a8d4af;border:1px solid #009846}.occupancy-lane-sex svg{display:block;width:12px;height:12px}.occupancy-lane-label .occupancy-lane-id{color:#666;font-size:10px;line-height:12px}.occupancy-lane-track{position:relative;width:100%;height:388px;background:#00000005;border-radius:4px}.occupancy-interval{position:absolute;left:50%;transform:translate(-50%);width:14px;min-height:8px;z-index:3}.occupancy-interval--0{background:#4f81bd}.occupancy-interval--1{background:#c05070}.occupancy-interval--2{background:#009846}.occupancy-interval--3{background:#d28b36}.occupancy-interval--4{background:#7c63a8}.occupancy-interval--5{background:#0e9aa7}.occupancy-connectors{position:absolute;top:0;left:0;z-index:2;width:100%;height:480px;overflow:hidden;pointer-events:none}.occupancy-connector line{stroke:currentColor;stroke-width:1.5px;opacity:.8}.occupancy-connector text{fill:currentColor;stroke:#fff;stroke-width:3px;paint-order:stroke;font-size:9px;font-weight:600}.occupancy-connector--0{color:#4f81bd}.occupancy-connector--1{color:#c05070}.occupancy-connector--2{color:#009846}.occupancy-connector--3{color:#d28b36}.occupancy-connector--4{color:#7c63a8}.occupancy-connector--5{color:#0e9aa7}.occupancy-connector--0 rect{fill:#e6eff8}.occupancy-connector--1 rect{fill:#f8e7ec}.occupancy-connector--2 rect{fill:#e5f5eb}.occupancy-connector--3 rect{fill:#faefde}.occupancy-connector--4 rect{fill:#eee9f5}.occupancy-connector--5 rect{fill:#e4f4f5}@media print{.report-view-page{background:#fff}.report-menu{display:none}.report-sheet{width:100%;min-height:0;margin:0;padding:0;box-shadow:none}.report-content .report-stat,.report-content .report-breakdown,.population-pyramid,.occupancy-report{break-inside:avoid}.report-content .report-breakdown-grid{break-inside:auto}}@media (max-width: 640px){.report-page{padding:16px}.report-stat-grid,.report-breakdown-grid{grid-template-columns:1fr}.report-stat{flex-direction:row;align-items:baseline;justify-content:space-between}.report-sheet{width:100%;min-height:0;margin:0;padding:28px 20px 40px;box-shadow:none}.report-menu{min-height:64px;padding-inline:8px}.report-document-header{align-items:flex-start;flex-direction:column;gap:16px}.report-brand{width:min(100%,165px)}.population-pyramid{padding:14px 10px}.pyramid-legend,.pyramid-row{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}.pyramid-age-label{padding-inline:4px}.occupancy-period{flex-direction:column}.occupancy-timeline{grid-template-columns:60px 1fr;gap:8px}}.form-row{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.form-row{position:relative}.form-row{overflow:visible}.form-row label{font-size:16px;font-weight:600;color:var(--text)}.form-row input,.form-row select,.form-row textarea{padding:14px 12px;font-size:16px;border-radius:8px;border:2px solid transparent;box-sizing:border-box;background:#fff;color:#111827;outline:none}.form-row input[readonly],.form-row select[disabled],.form-row textarea[readonly]{background:#f8fafc;color:#111827;opacity:1}.form-row input:disabled{background:#d9dada;color:#6b7280;cursor:not-allowed}input[type=date]{position:relative;z-index:10001}input[type=date]::-webkit-calendar-picker-indicator{display:inline-block;cursor:pointer;pointer-events:auto;position:relative}input[type=date]::-moz-calendar-picker-indicator{display:inline-block;cursor:pointer;pointer-events:auto;position:relative}input[type=date]::-moz-focus-inner{border:0}.form-row textarea{min-height:120px;resize:vertical}.field-error{color:#ea556f;margin:4px 0 0;font-weight:700}.field-warning{color:#b45309;margin:4px 0 0;font-weight:700;font-size:12px}.record-type-select{background-color:#fff;font-size:14px}.record-type-select optgroup{background-color:#fff;font-style:normal;font-weight:700;color:#374151}.record-type-select option{font-style:normal;padding:8px 10px}.input-error{display:none}.form-row input,.form-row select,.form-row textarea{padding:14px 12px}.input-invalid{box-shadow:inset 0 0 0 2px #ea556f}.button-error{margin-left:12px;color:#ea556f;font-weight:700;align-self:center}.toast-container{position:fixed;left:50%;transform:translate(-50%);bottom:16px;display:flex;flex-direction:column;gap:8px;align-items:center;z-index:1000}.toast{min-width:180px;max-width:360px;padding:12px 16px;border-radius:8px;color:#fff;font-weight:600;box-shadow:0 6px 18px #0003;display:flex;align-items:center;justify-content:center;text-align:center}.toast.success{background:#16a34a}.toast.error{background:#ea556f}.backup-warning-banner{width:100%;border:none;margin:0;border-radius:0;padding:12px 16px;background:#f7aa47;color:#fff;display:flex;flex-direction:column;gap:2px;text-align:center;cursor:pointer;box-sizing:border-box}.backup-warning-banner__title{font-size:14px;font-weight:800;line-height:1.2}.backup-warning-banner__message{font-size:13px;font-weight:600;line-height:1.2}.dropdown-toggle{display:flex;align-items:center;justify-content:space-between;padding:14px 12px;background:#fff;color:#111827;border-radius:8px;box-shadow:none;border:2px solid transparent;cursor:pointer}.dropdown-toggle--picker{width:100%}.dropdown-list{margin-top:8px;background:#fff;border-radius:8px;box-shadow:0 6px 18px #0000001f;max-height:320px;overflow:auto}.dropdown-list--picker{position:absolute;left:0;right:0;z-index:1200}.dropdown-item{display:flex;flex-direction:column;gap:6px;padding:14px 12px;border-bottom:1px solid rgba(0,0,0,.06);background:transparent;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;width:100%;box-sizing:border-box;cursor:pointer}.dropdown-item--picker{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;border-radius:0;text-align:left}.dropdown-item--selected{box-shadow:none}.dropdown-item__label{flex:1 1 auto;min-width:0}.dropdown-item__pin{flex:0 0 auto;width:34px;height:34px;padding:0;border:none;background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.dropdown-item__pin:focus,.dropdown-item__pin:focus-visible{outline:none}.behaviour-pin-icon{width:18px;height:24px;display:block;flex:0 0 auto}.dropdown-item:last-child{border-bottom:none}.dropdown-item .meta{font-size:14px;color:#374151}.dropdown-item .sub{font-size:13px;color:#6b7280}.dropdown-toggle,.dropdown-item{min-height:56px}.dropdown-summary{display:inline-flex;align-items:center;gap:10px;min-width:0}.dropdown-summary--label-only{gap:0;font-weight:400}.dropdown-summary__swatch{width:18px;height:18px;border-radius:999px;border:1px solid rgba(17,24,39,.14);flex:0 0 auto}.dropdown-panel-section{border-bottom:1px solid rgba(17,24,39,.08)}.dropdown-panel-section:last-child{border-bottom:none}.dropdown-panel-section__label{padding:10px 12px 8px;font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.traffic-light-group{display:flex;gap:10px;align-items:end}.traffic-light-button{width:auto;height:64px;padding:0;border:0;background:transparent;cursor:pointer;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}.traffic-light-button img{display:block;width:auto;height:100%;border-radius:7px}.traffic-light-button:disabled{cursor:default;opacity:.95}.traffic-light-button:focus-visible{outline:2px solid #fff;outline-offset:3px}.traffic-light-button--selected img{box-shadow:0 0 0 3px #ffffffe6}.row--spread{width:100%;justify-content:space-between}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#00000073;z-index:1100}.confirm-card{background:#fff;color:#111827;padding:18px;border-radius:10px;width:min(92%,420px);box-shadow:0 12px 40px #00000040}.confirm-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start}.confirm-title{font-weight:800;margin-bottom:8px}.confirm-message{color:#374151;margin-bottom:16px}.confirm-title{font-size:1.5rem;font-weight:700;margin:0 0 8px;text-align:left}.confirm-card .button{padding:0;min-width:40px;height:64px}.confirm-actions{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:20px;width:100%}.top-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.toolbar-left{display:flex;gap:8px;align-items:center}.relative{position:relative}.mt-18{margin-top:18px}.hidden-file{display:none}.text-dark{color:#111827}.muted{opacity:.7}.page-dimmed{opacity:.4;pointer-events:none}.pale-text{color:#e6e6e6}.dropdown-list.absolute{position:absolute;top:calc(100% + 8px);left:0;right:auto;min-width:220px;z-index:1200}.dropdown-list--dashboard-container{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s cubic-bezier(.4,0,.2,1);overflow:hidden}.dropdown-list--dashboard-container.is-open{grid-template-rows:1fr}.dropdown-list--dashboard-inner{min-height:0;overflow:hidden}.dropdown-list--dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;margin-top:8px;padding:12px;box-sizing:border-box;max-height:none;background:var(--bg)}.dropdown-dashboard-column{min-width:0;display:flex;flex-direction:column;gap:8px}.dropdown-dashboard-column--left,.dropdown-dashboard-column--right{min-height:320px}.dropdown-list--menu{display:flex;flex-direction:column;gap:8px;box-shadow:none}.dropdown-item--menu{flex-direction:row;align-items:center;border-radius:8px;font-size:16px;font-weight:600;color:#d1d5db}.bird-lookup-list--home{max-height:none;overflow:visible}.explore-collection-search{width:100%;box-sizing:border-box;border:1px solid #e6eefc;border-radius:8px;padding:10px 12px;font-size:14px;color:#111827;background:#fff;outline:none;box-shadow:none}.explore-collection-search::placeholder{color:#6b7280}.explore-collection-search:focus{outline:none;border-color:#e6eefc;box-shadow:none}.bird-lookup-card__icon--empty{background:#d9e7db}.dashboard{display:flex;flex-direction:column;gap:12px}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-stat-card{border:1px solid #e6eefc;border-radius:8px;padding:10px 12px;background:#fff}.dashboard-stat-card__value{font-size:20px;font-weight:700;color:#111827;line-height:1.2}.dashboard-stat-card__label{font-size:12px;color:#6b7280}.dashboard-section{display:flex;flex-direction:column;gap:8px;overflow:hidden}.dashboard-section>.dropdown-panel-section__label{padding:0;color:var(--text)}.dashboard-activity-row{width:100%;display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding:10px 12px;border:none;border-top:1px solid rgba(17,24,39,.08);background:#fff;cursor:pointer;text-align:left}.dashboard-activity-row:disabled{cursor:default;opacity:.7}.dashboard-activity-row__label{font-size:14px;font-weight:600;color:#111827}.dashboard-activity-row__meta{font-size:12px;color:#6b7280}@media (max-width: 720px){.dropdown-list--dashboard{grid-template-columns:1fr}.dropdown-dashboard-column--left,.dropdown-dashboard-column--right{min-height:0}}.controls-row{display:flex;gap:8px;margin-bottom:18px}.row{display:flex;gap:8px;align-items:center}.gap-8{gap:8px}.align-center{align-items:center}.mb-12{margin-bottom:12px}.mb-8{margin-bottom:8px}.mb-18{margin-bottom:18px}.max-w-720{max-width:720px}.flex-row-space{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.flex-1{flex:1}.mr-12{margin-right:12px}.btn-icon{padding:8px;height:40px;width:40px;display:flex;align-items:center;justify-content:center;border-radius:8px}.qr-card{width:100%;border:none;padding:0;border-radius:8px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.qr-card .left{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-start;padding:0}.qr-img{display:block;max-width:320px;width:100%;height:auto;margin:0}.qr-card .right{width:100%;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.btn-row{display:flex;gap:8px;justify-content:flex-start;align-items:center;flex-wrap:wrap}.btn-row--below-qr{margin-top:0}.fil0{fill:#009846}.fil1{fill:#fefefe}.mt-12{margin-top:12px}.text-left{text-align:left}.mt-8{margin-top:8px}.refresh-home-row{display:flex;gap:8px;justify-content:flex-start;align-items:center;margin-top:16px}.refresh-home-button{height:64px;width:auto;padding:0;border:none;background:transparent}.refresh-home-button svg{height:100%;width:auto;display:block}.refresh-home-button:disabled{opacity:.72;cursor:progress}.bird-lookup-list{display:flex;flex-direction:column;gap:8px;width:100%;max-height:320px;overflow:auto}.bird-lookup-list--selected{max-height:180px;overflow:auto}.dashboard-attention-list{max-height:196px;overflow-y:auto}.bird-lookup-card{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 12px;border:1px solid #e6eefc;border-radius:8px;background:#fff;color:#111827;text-align:left;box-sizing:border-box}.bird-lookup-card--selected{border-color:#009846;box-shadow:inset 0 0 0 1px #00984626}.bird-lookup-card--external{background:#d2cde7}.bird-lookup-card--external .bird-lookup-card__sub{color:#45404a}.bird-lookup-card--external .bird-lookup-badge{color:#00602d}.bird-lookup-card:disabled{opacity:1}.bird-lookup-card[aria-pressed=true]{background:#f8fff9}.bird-lookup-card__icon{flex:0 0 24px;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#a8d4af;color:#009846;font-size:11px;font-weight:700;border:1.5px solid #009846}.bird-lookup-card__icon svg{display:block;width:16px;height:16px}.bird-lookup-card__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.bird-lookup-card__meta{font-size:12px;color:#222;font-weight:700;white-space:normal;overflow-wrap:anywhere}.bird-incomplete-dot{display:inline-block;width:6px;height:6px;margin-left:5px;border-radius:50%;background:#d00000;vertical-align:middle}.bird-lookup-card__sub{font-size:11px;color:#666;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.bird-lookup-badge{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#0098461a;color:#009846;font-size:11px;font-weight:700}.bird-lookup-remove{flex:0 0 auto;background:transparent;border:none;padding:4px;display:flex;align-items:center;justify-content:center;cursor:pointer}.bird-lookup-empty{min-height:60px}.bird-lookup-list--empty-hidden{min-height:0}.bird-lookup-list--empty-hidden .bird-lookup-empty{display:none}.bird-lookup-empty--results{min-height:0}.input-row{display:flex;gap:8px}.input-row>.button{flex:0 0 auto}.input-row>input{flex:1 1 0;min-width:0}.external-individual-form{background:#d2cde7;color:#111827;padding:16px;border-radius:8px;margin-bottom:18px}.external-individual-form p{margin:0 0 16px}.external-individual-form .form-row label{color:#111827}.external-individual-form .form-row:last-child{margin-bottom:0}.dropdown-column{display:flex;flex-direction:column;gap:4px}.log-card-list{max-height:212px;overflow:auto}.log-entry-card{cursor:pointer}.log-entry-icon{border-width:1px}.video-visible{width:100%;height:auto;background:#000;display:block;overflow:hidden}.video-hidden{width:100%;height:0;background:transparent;display:block;overflow:hidden}.layout-map .layout-controls{display:flex;gap:8px;margin-bottom:18px}.layout-map .layout-canvas{border:1px solid #e6e6e6;overflow:hidden;background:#fafafa}.bird-icon text{-webkit-user-select:none;user-select:none;pointer-events:none}.bird-summary-card{position:relative;border:1px solid #e6eefc;border-radius:10px;padding:12px;background:#fff;transition:background .2s ease,border-color .2s ease}.bird-summary-card--dimmed{background:#fff6;border:none}.breeding-section h4{margin:16px 0 8px}.breeding-section h4:first-child{margin-top:0}.breeding-section p{margin:8px 0}.breeding-pair{border:1px solid #e6eefc;border-radius:8px;padding:12px;margin:8px 0}.breeding-pair h4{margin-top:0}.breeding-estimate{background:#f5f7fc;border-radius:8px;padding:10px;margin:12px 0}.breeding-actions{display:flex;flex-wrap:wrap;gap:8px}.breeding-button{border:1px solid #73548a;border-radius:6px;background:#eee7f5;color:#382548;padding:10px 14px;cursor:pointer;font:inherit}.breeding-button:disabled{opacity:.5;cursor:not-allowed}.breeding-action-form{border-top:1px solid #e6eefc;margin-top:12px;padding-top:4px}.bird-details-header{margin:12px 0}.bird-details-header__species{margin:0;font-size:1.65rem;line-height:1.15}.bird-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.bird-summary-item{display:flex;flex-direction:column;gap:2px;min-width:0}.bird-summary-item__label{font-size:11px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;font-weight:700}.bird-summary-item__value{font-size:13px;color:#111827;font-weight:700;white-space:normal;overflow-wrap:anywhere}.bird-summary-item__sub{font-size:11px;color:#6b7280;white-space:normal;overflow-wrap:anywhere}.map-bird-card{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;padding:6px 8px;border:1px solid #e6eefc;border-radius:6px;background:#fff;font-family:inherit;text-align:left;cursor:pointer}.map-bird-card--static{cursor:default}.map-bird-card--external{background:#d2cde7}.map-bird-card--external .map-bird-card__id{color:#45404a}.map-bird-card__icon{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:#a8d4af;border:1.5px solid #009846;display:flex;align-items:center;justify-content:center}.map-bird-card__icon svg{display:block;width:12px;height:12px}.map-bird-card__icon--external{background:#e5e7eb;border-color:#9ca3af}.map-bird-card__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.2}.map-bird-card__species{font-size:12px;color:#222;font-weight:700;white-space:normal;overflow-wrap:anywhere}.map-bird-card__id{font-size:11px;color:#666;white-space:normal;overflow-wrap:anywhere}.map-bird-card-list{display:flex;flex-direction:column;gap:6px;margin-top:4px}.map-bird-card--subject{border:1.5px solid #009846}.pedigree-table-scroll{position:relative;display:flex;gap:12px;overflow-x:auto;padding-bottom:4px}.pedigree-table-descendants{display:flex;gap:12px;flex:0 0 auto}.pedigree-tree__column{flex:0 0 auto;width:200px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;overflow-y:auto}.pedigree-tree__nodes{display:flex;flex-direction:column;gap:6px;margin-block:auto}.pedigree-table{flex:1 0 auto;min-width:800px;width:100%;border-collapse:separate;border-spacing:4px;table-layout:fixed}.pedigree-table tr{height:52px}.pedigree-table .map-bird-card{min-height:46px}.pedigree-table__cell{padding:3px;vertical-align:middle;border-radius:6px;background:#f9fafb}.origin-card{display:flex;align-items:center;gap:24px;cursor:pointer}.origin-card__indicator{flex:0 0 auto;display:flex;align-items:center}.origin-card__category{padding:6px 12px;font-size:12px;cursor:default;white-space:normal;overflow-wrap:anywhere;text-align:center}.origin-card__details{position:relative;flex:1 1 auto;min-width:0;text-align:left;padding:4px 0}.origin-trail{margin-top:12px;color:#111827;font-size:13px;line-height:1.4}.origin-trail--on-dark{color:var(--text)}.origin-trail__heading{margin:0 0 6px;font-weight:700}.origin-trail__branch{margin:4px 0 0;font-weight:400}.origin-trail__branch--incomplete,.origin-trail__branch--cycle{opacity:.8}.origin-card:focus{outline:none}.origin-card:focus-visible{outline:2px solid #009846;outline-offset:2px;border-radius:4px}.timeline-group{margin-top:12px}.timeline-group .bird-lookup-list{max-height:none;overflow:visible}.timeline-group__label{margin:0 0 8px;font-size:13px;font-family:inherit;color:#d1d5db;font-weight:700;letter-spacing:normal}.timeline-heading{font-family:inherit;font-size:1.25rem;color:#d1d5db}.bird-section-toggle{display:flex;align-items:center;justify-content:space-between;margin:1em 0;cursor:pointer;list-style:none}.bird-section-toggle::-webkit-details-marker{display:none}.bird-section-toggle h3{margin:0;font:inherit;font-weight:700}.bird-section-toggle:after{content:"▾";transform:rotate(-90deg)}details[open]>.bird-section-toggle:after{transform:none}.timeline-older-actions{margin-top:10px}.timeline-older-toggle{min-width:0}.timeline-older-panel{margin-top:10px}.timeline-older-list{max-height:260px;overflow:auto}.timeline-entry-card{align-items:stretch;gap:0;padding:0;overflow:hidden;font-family:inherit;border:none}.timeline-entry-card .bird-lookup-card__body{padding:10px 12px}.timeline-entry-accent{flex:0 0 10px;width:10px;align-self:stretch}.timeline-entry-accent--observation-high{background:#16a34a}.timeline-entry-accent--observation-medium{background:#f5a623}.timeline-entry-accent--observation-low{background:#ea3d3d}.timeline-entry-card--linked{background:#f3f4f6;border-color:#d1d5db;opacity:.5;transition:opacity .14s ease}.timeline-entry-card--linked:hover,.timeline-entry-card--linked:focus-visible,.timeline-entry-card--linked:active{opacity:1}.dashboard-recent-card .timeline-lozenge-row--linked:last-child{margin-bottom:6px}.dashboard-section .log-card-list{max-height:none;overflow:visible}.timeline-entry-notes{color:#1f2937;display:block;margin-top:6px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;max-width:100%}.timeline-lozenge-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.timeline-lozenge-row--linked{align-items:baseline}.timeline-linked-label{font-size:11px;font-weight:700;line-height:1.2;color:#1f2937}.timeline-lozenge{display:inline-flex;align-items:center;padding:2px 8px;font-family:inherit;border-radius:999px;border:none;background:#11182714;color:#1f2937;font-size:11px;font-weight:700;line-height:1.2;cursor:pointer}.timeline-lozenge--target,.timeline-lozenge--primary{background:#00984624;color:#0a5f2f}.timeline-lozenge--linked{background:#e5e7eb;color:#374151}.bird-lookup-empty--timeline{border:1px dashed #cbd5e1;border-radius:10px;padding:14px;color:#fff}@media (max-width: 640px){.bird-summary-grid{grid-template-columns:1fr}}
