@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/newsreader-vietnamese-wght-normal.0r91virwwy7i7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/newsreader-latin-ext-wght-normal.0b8fr24hsg_rp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/newsreader-latin-wght-normal.1tkuwlnjs9jrl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Newsreader Variable;font-style:italic;font-display:swap;font-weight:200 800;src:url(../media/newsreader-vietnamese-wght-italic.1ymvw8tmqwo_9.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader Variable;font-style:italic;font-display:swap;font-weight:200 800;src:url(../media/newsreader-latin-ext-wght-italic.2xfwkckxizj7s.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader Variable;font-style:italic;font-display:swap;font-weight:200 800;src:url(../media/newsreader-latin-wght-italic.0psn95x5q5t7r.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(../media/figtree-latin-ext-wght-normal.3ui8gg3w7xij5.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(../media/figtree-latin-wght-normal.30wi0xp2m6ck_.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-vietnamese-wght-normal.0h_qcmzvudf58.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-latin-ext-wght-normal.0i4j_a8lim1a-.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/bricolage-grotesque-latin-wght-normal.300rpl789hft0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--paper:#fff;--brand:#2148b0;--surface:#fff;--wash:#e8ede5;--line:#dce2d8;--line-strong:#b7c1b3;--ink:#142a20;--ink-2:#4c5a51;--ink-3:#6f7b73;--accent:#11824b;--accent-strong:#0d6b3d;--accent-wash:#e2f2e8;--gold:#e0a82a;--gold-wash:#fbf0d3;--sea:#e4ecef;--land:#d5e2cd;--highland:#bbcfb1;--graticule:#d0dbdf;--control:#e9ece9;--danger:#b3261e;--serif:"Newsreader Variable", Georgia, serif;--sans:"Figtree Variable", system-ui, -apple-system, sans-serif;--display:"Bricolage Grotesque Variable", var(--sans);--shadow-sm:0 1px 3px #142a201a;--shadow-lg:0 12px 32px #142a2029;--gutter:40px;--nav-h:80px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 72px)}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}body{background:var(--paper);color:var(--ink);font:400 15px/22px var(--sans);-webkit-font-smoothing:antialiased;margin:0}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.6}img{display:block}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}ol,ul{margin:0;padding:0;list-style:none}.display{font:500 64px/68px var(--serif);letter-spacing:-.02em;margin:0}.title-lg{font:500 30px/36px var(--serif);letter-spacing:-.01em;margin:0}.title{font:500 24px/28px var(--serif);letter-spacing:-.01em;margin:0}.species-name{font:500 18px/24px var(--serif)}.sci{font:italic 400 15px/20px var(--serif);color:var(--ink-3)}.sci-large{font:italic 400 22px/28px var(--serif);color:var(--ink-2);margin:6px 0 8px}.lede{color:var(--ink-2);max-width:60ch;margin:0}.label{font-size:14px;font-weight:600;line-height:20px}.small{font-size:13px;line-height:18px}.small-medium{font-size:13px;font-weight:500;line-height:18px}.muted{color:var(--ink-3)}.ink-2{color:var(--ink-2)}.link{color:var(--accent)}.link:hover{text-decoration:underline}.link-btn{align-items:center;gap:4px;display:inline-flex}.link-btn:hover{text-decoration:underline}.nav{z-index:30;height:var(--nav-h);padding:0 var(--gutter);background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:1fr auto 1fr;align-items:center;display:grid;position:sticky;top:0}.brand{align-items:center;gap:10px;display:inline-flex}.brand-mark{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.brand-name{font:600 21px/26px var(--serif);letter-spacing:-.01em}.switch{background:var(--control);border-radius:10px;gap:2px;padding:3px;display:flex}.switch-tab{color:var(--ink-2);border-radius:8px;padding:7px 18px;font-size:13px;font-weight:500}.switch-tab.is-on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm);font-size:14px;font-weight:600}.account{justify-self:end;align-items:center;gap:16px;display:flex}.bar{background:var(--line);border-radius:2px;width:112px;height:4px;display:block;overflow:hidden}.bar-fill{background:var(--accent);border-radius:2px;height:100%;display:block}.menu{position:relative}.avatar{background:var(--wash);border-radius:50%;width:34px;height:34px;font-size:14px;font-weight:600}.menu-pop{background:var(--surface);border:1px solid var(--line);min-width:220px;box-shadow:var(--shadow-lg);border-radius:12px;padding:6px;position:absolute;top:44px;right:0}.menu-email{color:var(--ink-3);border-bottom:1px solid var(--line);text-overflow:ellipsis;margin:0;padding:8px 10px;font-size:13px;overflow:hidden}.menu-item{text-align:left;border-radius:8px;width:100%;padding:9px 10px;font-size:14px;font-weight:500}.menu-item:hover{background:var(--wash)}.page{padding:40px var(--gutter) 88px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.intro{gap:8px;display:grid}.intro .lede{max-width:540px}.page-title{font:600 44px/48px var(--display);letter-spacing:-.02em;margin:0}.stats{flex-shrink:0;gap:12px;display:flex}.stat{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:10px;width:202px;padding:16px 20px;display:grid}.stat-value{align-items:baseline;gap:6px;display:flex}.stat-num{font:600 24px/30px var(--display)}.stat .bar{width:100%}.bar-muted{background:var(--wash)}.toolbar{top:var(--nav-h);z-index:20;margin:32px calc(var(--gutter) * -1) 0;padding:12px var(--gutter);background:var(--paper);justify-content:space-between;align-items:center;gap:16px;display:flex;position:sticky}.toolbar-left,.toolbar-right{align-items:center;gap:16px;min-width:0;display:flex}.tabs{gap:28px;display:flex}.tab{color:var(--ink-2);white-space:nowrap;border-bottom:2px solid #0000;padding:12px 2px;font-size:13px;font-weight:500}.tab.is-on{color:var(--ink);border-bottom-color:var(--ink);font-size:14px;font-weight:600}.tab-count{color:var(--ink-3);margin-left:4px;font-size:13px;font-weight:400}.chips{gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;height:36px;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex}.chip:hover{border-color:var(--line-strong)}.chip.is-on{background:var(--ink);border-color:var(--ink);color:#fff}.chip-count{color:var(--ink-3);font-weight:400}.search{background:var(--surface);border:1px solid var(--line-strong);width:380px;height:46px;color:var(--ink-3);border-radius:10px;align-items:center;gap:10px;padding:0 14px;display:flex}.search:focus-within{border-color:var(--accent)}.search input{font:inherit;color:var(--ink);background:0 0;border:0;outline:0;width:100%;font-size:15px}.view-toggle{background:var(--control);border-radius:10px;gap:2px;padding:3px;display:flex}.view-toggle button{color:var(--ink-2);border-radius:8px;align-items:center;gap:6px;padding:7px 12px 7px 10px;font-size:13px;font-weight:500;display:inline-flex}.view-toggle button.is-on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm);font-size:14px;font-weight:600}.sort{color:var(--ink-2);align-items:center;display:inline-flex;position:relative}.sort select{appearance:none;border:1px solid var(--line);background:var(--surface);height:40px;font:500 13px var(--sans);color:var(--ink);cursor:pointer;border-radius:10px;padding:0 38px 0 14px}.sort svg{pointer-events:none;position:absolute;right:12px}.select{border:1px solid var(--line);background:var(--surface);height:40px;font:500 13px var(--sans);color:var(--ink);border-radius:10px;padding:0 12px}.banner-error{color:var(--danger);background:#fbe9e7;border-radius:10px;margin:16px 0 0;padding:10px 14px;font-size:14px}.body{grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:40px;padding-top:24px;display:grid}.index{scrollbar-gutter:stable;min-width:328px;top:calc(var(--nav-h) + 80px);max-height:calc(100vh - var(--nav-h) - 104px);scrollbar-width:thin;position:sticky;overflow-y:auto}.index-head{margin:0 0 8px}.index-list{gap:2px;display:grid}.index-item{white-space:nowrap;text-align:left;width:100%;color:var(--ink);border-radius:8px;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 12px;font-size:15px;line-height:22px;display:flex}.index-item:hover{background:var(--wash)}.index-item.is-on{background:var(--accent-wash);color:var(--accent);font-weight:500}.index-count{color:var(--ink-3);white-space:nowrap;font-size:13px;font-weight:400;line-height:18px}.index-item.is-on .index-count{color:var(--accent)}.list{gap:52px;min-width:0;display:grid}.family{gap:16px;display:grid}.family-head{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.family-title{font:500 30px/36px var(--serif);letter-spacing:-.01em;margin:0}.family-progress{color:var(--ink-2);white-space:nowrap;justify-items:end;gap:6px;padding-bottom:4px;display:grid}.family-progress .bar{width:120px}.rows{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.row-wrap+.row-wrap{border-top:1px solid var(--line)}.cards{grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:16px;display:grid}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.card-photo{aspect-ratio:4/3;background:var(--land);position:relative;overflow:hidden}.card-photo-btn{width:100%;height:100%;color:var(--highland);place-items:center;display:grid;position:absolute;inset:0}.card-photo img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.card-photo img.is-portrait{object-fit:contain;background:#fff}.card-tick{width:28px;height:28px;position:absolute;top:10px;left:10px}.card-tick:not(.is-seen){background:#ffffffeb}.card-endemic{position:absolute;top:10px;right:10px}.card-photo.is-empty{background:linear-gradient(#f6f7f6,#eef0ee)}.card-upload{color:var(--ink-3);flex-direction:column;justify-content:center;align-items:center;gap:8px;transition:color .15s;display:flex}.card-upload-icon{background:var(--surface);width:30px;height:30px;color:var(--ink-2);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;transition:transform .15s,box-shadow .15s;display:grid}.card-upload-icon svg{width:14px;height:14px}.card-upload-label{letter-spacing:.01em;font-size:12px;font-weight:500}.card-upload:hover{color:var(--ink-2);background:linear-gradient(#f1f2f1,#e8eae8)}.card-upload:hover .card-upload-icon{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.card-info{text-align:left;align-content:start;gap:2px;padding:12px 14px;display:grid}.card-info:hover .species-name{color:var(--accent)}.card-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:17px;line-height:23px;display:-webkit-box;overflow:hidden}.card-sci{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.card-foot{border-top:1px solid var(--line);color:var(--ink-3);align-items:center;gap:6px;margin-top:auto;padding:8px 10px 8px 14px;display:flex}.card-last{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.row-wrap.is-open{background:var(--accent-wash)}.row{align-items:center;gap:18px;padding:12px 20px;display:flex}.tick{border:1.5px solid var(--line-strong);background:var(--surface);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;transition:background .15s,border-color .15s;display:grid}.tick:hover{border-color:var(--accent)}.tick.is-seen{background:var(--accent);border-color:var(--accent)}.num{width:28px;color:var(--ink-3);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:13px}.thumb{border-radius:8px;flex-shrink:0;place-items:center;width:88px;height:66px;display:grid;position:relative;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%}.thumb.is-unseen{background:var(--wash);color:var(--line-strong)}.thumb.is-add{background:var(--surface);border:1.2px dashed var(--line-strong);color:var(--ink-3)}.thumb.is-add:hover{border-color:var(--accent);color:var(--accent)}.thumb.has-photo.is-open{outline:2px solid var(--accent);outline-offset:2px}.thumb.is-ref{background:var(--land)}.thumb.is-add.is-ref{border:0}.thumb.is-add.is-ref .ref-add{background:var(--surface);width:24px;height:24px;color:var(--ink-2);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:4px;right:4px}.thumb.is-add.is-ref .ref-add svg{width:14px;height:14px}.thumb.is-add.is-ref:hover .ref-add{color:var(--accent)}.thumb.is-add:not(.is-ref) .ref-add{display:contents}.photo-count{color:#fff;background:#142a20e6;border-radius:5px;align-items:center;gap:3px;padding:2px 6px 2px 5px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex;position:absolute;bottom:5px;right:5px}.names{flex:1;gap:2px;min-width:0;display:grid}.names:hover .species-name{color:var(--accent)}.chip-endemic{background:var(--gold-wash);border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:4px 10px 4px 8px;font-size:13px;font-weight:500;line-height:18px;display:inline-flex}.row-wrap.is-open .chip-endemic{background:var(--surface)}.gold-dot{background:var(--gold);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.last-seen{flex-shrink:0;gap:2px;width:196px;display:grid}.round-btn{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.round-btn:hover{border-color:var(--accent);color:var(--accent)}.round-btn.is-disabled{opacity:.4;pointer-events:none}.strip{gap:14px;padding:2px 20px 22px 110px;display:grid}.strip-head{justify-content:space-between;align-items:center;display:flex}.strip-actions{align-items:center;gap:20px;display:flex}.strip-tiles{gap:14px;padding-bottom:4px;display:flex;overflow-x:auto}.tile{flex-shrink:0;gap:8px;width:196px;margin:0;display:grid}.tile-img{background:var(--land);border-radius:10px;place-items:center;height:147px;display:grid;position:relative;overflow:hidden}.tile-img img{object-fit:cover;width:100%;height:100%}.tile-img.is-loading{flex-shrink:0;width:196px;animation:1.2s ease-in-out infinite alternate pulse}.tile-img.is-drop{background:var(--surface);border:1.2px dashed var(--line-strong);color:var(--ink-2);align-content:center;justify-items:center;gap:6px}.tile-add:hover .tile-img.is-drop{border-color:var(--accent);color:var(--accent)}.cover-tag{background:var(--surface);color:var(--ink);border-radius:6px;padding:3px 8px;font-size:13px;font-weight:500;line-height:18px;position:absolute;top:8px;left:8px}@keyframes pulse{0%{opacity:.55}to{opacity:1}}.empty{text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:48px}.empty p{margin:4px 0}.crow{grid-template-columns:22px 28px minmax(0,1fr) 72px 30px 290px 28px;align-items:center;column-gap:12px;min-height:44px;padding:8px 16px 8px 20px;display:grid}.tick-sm{width:22px;height:22px}.crow-names{text-align:left;align-items:baseline;gap:10px;min-width:0;display:flex;overflow:hidden}.crow-name{font:500 16px/24px var(--serif);white-space:nowrap}.crow-sci{font:italic 400 14px/20px var(--serif);color:var(--ink-3);white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.crow-names:hover .crow-name{color:var(--accent)}.crow-endemic{color:var(--ink-2);align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.crow-endemic .gold-dot{width:7px;height:7px}.crow-photos{color:var(--ink-3);align-items:center;gap:4px;font-size:13px;display:inline-flex}.crow-last{text-align:right;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:18px;overflow:hidden}.round-btn-sm{width:28px;height:28px}.source{margin:0}.btn{border-radius:10px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 18px;font-size:14px;font-weight:600;display:inline-flex}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-strong)}.btn-block{width:100%}.field{gap:6px;min-width:0;display:grid}.field.grow{flex:1}.field-label{color:var(--ink-2);font-size:13px;font-weight:500}.field-label-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.field-actions{gap:14px;display:inline-flex}.field-row{gap:12px;display:flex}.input{border:1px solid var(--line);background:var(--surface);width:100%;font:inherit;color:var(--ink);border-radius:10px;padding:10px 12px;font-size:14px}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash);outline:0}textarea.input{resize:vertical}.form-error{color:var(--danger);margin:0;font-size:14px}.form-note{color:var(--accent);margin:0;font-size:14px}.icon-btn{width:30px;height:30px;color:var(--ink-3);border-radius:8px;place-items:center;display:grid}.icon-btn:hover{background:var(--wash);color:var(--ink)}.auth{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{gap:18px;width:100%;max-width:440px;display:grid}.auth-title{font:500 40px/44px var(--serif);letter-spacing:-.02em;margin:16px 0 0}.auth-lede{color:var(--ink-2);margin:0}.auth-form{background:var(--surface);border:1px solid var(--line);border-radius:16px;gap:14px;margin-top:8px;padding:24px;display:grid}.auth-switch{text-align:center;color:var(--ink-2);margin:0;font-size:14px}.auth-switch .link-btn{color:var(--accent);font-weight:500}.code{background:var(--ink);color:#fff;border-radius:10px;margin:0;padding:14px;font-size:13px;overflow-x:auto}.drop{text-align:center;border:1.2px dashed var(--line-strong);color:var(--ink-2);border-radius:12px;justify-items:center;gap:6px;padding:22px 16px;display:grid}.drop p{margin:0}.drop.is-drag{border-color:var(--accent);background:var(--accent-wash)}body.drawer-open{overflow:hidden}.drawer-layer{z-index:40;position:fixed;inset:0}.drawer-scrim{cursor:default;background:#142a2052;width:100%;animation:.18s ease-out fade;position:absolute;inset:0}.drawer{background:var(--surface);flex-direction:column;width:min(480px,100%);animation:.22s ease-out slide-in;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-12px 0 40px #142a202e}@keyframes slide-in{0%{opacity:0;transform:translate(32px)}}@keyframes fade{0%{opacity:0}}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.drawer-head .pager{align-items:center;gap:6px;display:flex}.drawer-head .pager .small{margin-left:4px}.square-btn{border:1px solid var(--line);width:32px;height:32px;color:var(--ink-2);border-radius:8px;place-items:center;display:grid}.square-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.square-btn:disabled{opacity:.35}.icon-btn-lg{width:36px;height:36px;color:var(--ink)}.drawer-body{flex-direction:column;flex:1;gap:18px;padding:0 20px 24px;display:flex;overflow-y:auto}.drawer-body>*{flex-shrink:0}.drawer:focus{outline:none}.drawer-foot.is-single{grid-template-columns:1fr}.drawer-foot{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:1fr 1fr;gap:12px;padding:14px 20px;display:grid}.btn-outline{border:1px solid var(--line-strong);color:var(--ink);background:var(--surface)}.btn-outline:hover{border-color:var(--ink-2)}.hero-photo{background:var(--land);flex-shrink:0;height:300px;margin:0 -20px;position:relative;overflow:hidden}.hero-photo img{object-fit:cover;width:100%;height:100%}.hero-photo img.is-portrait{object-fit:contain;background:#fff}.hero-empty{height:100%;color:var(--highland);align-content:center;place-items:center;gap:8px;display:grid}.hero-empty .small-medium{color:var(--ink-2)}.photo-chip{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm);border-radius:999px;align-items:center;gap:5px;padding:5px 10px;font-size:13px;font-weight:500;line-height:18px;display:inline-flex;position:absolute}button.photo-chip:hover{color:var(--accent)}.photo-chip.icon-only{padding:6px}.photo-chip.is-dark{color:#fff;background:#142a20d9}.photo-chip-tl{top:16px;left:16px}.photo-chip-tr{top:16px;right:16px}.photo-chip-bl{white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 100px);bottom:16px;left:16px;overflow:hidden}.photo-chip-br{bottom:16px;right:16px}.ref-credit{color:var(--ink-2);font-size:12px;font-weight:400}.ref-credit:hover{color:var(--accent)}.hero-arrow{background:var(--surface);width:34px;height:34px;box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.hero-arrow.is-left{left:16px}.hero-arrow.is-right{right:16px}.thumbs{gap:10px;padding:2px;display:flex;overflow-x:auto}.thumb-sm{background:var(--land);border-radius:10px;flex-shrink:0;place-items:center;width:72px;height:72px;display:grid;position:relative;overflow:hidden}.thumb-sm img{object-fit:cover;width:100%;height:100%}.thumb-sm.is-on{outline:2px solid var(--accent);outline-offset:2px}.thumb-sm.is-add{background:var(--surface);border:1.2px dashed var(--line-strong);color:var(--ink-2);align-content:center;gap:2px}.thumb-sm.is-add:hover{border-color:var(--accent);color:var(--accent)}.thumb-remove{color:#fff;background:#142a20d9;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.drawer-names{gap:2px;display:grid}.drawer-names p{margin:0}.drawer-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.drawer-title{font:500 26px/32px var(--serif);letter-spacing:-.01em;margin:0}.status-card{background:var(--wash);text-align:left;border-radius:12px;align-items:center;gap:14px;width:100%;padding:14px 16px;display:flex}.status-card.is-seen{background:var(--accent-wash)}.status-card.is-seen .label{color:var(--accent)}.status-card:hover .tick{border-color:var(--accent)}.status-text{color:var(--ink-2);gap:1px;display:grid}.drawer-section{gap:4px;display:grid}.section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:8px;display:flex}.section-head h3{margin:0}.sighting-photos{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.log-head{gap:6px;padding-top:18px;display:grid}.log-head p{margin:0}.log-head .link-btn{justify-self:start}.focus-chip{background:var(--accent-wash);color:var(--accent);border-radius:10px;justify-content:space-between;align-items:center;padding:6px 6px 6px 14px;display:flex}.names{text-align:left}@media (prefers-reduced-motion:reduce){.drawer,.drawer-scrim{animation:none}}.mini-map{border:1px solid var(--line);cursor:crosshair;background:var(--sea);border-radius:10px;width:100%;max-height:300px}.mini-pin{fill:var(--accent);stroke:#fff;stroke-width:2.5px}.mini-pin-halo{fill:var(--accent);opacity:.18}.sightings{display:grid}.sighting{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:12px 0;display:flex}.sighting:first-child{border-top:0;padding-top:0}.sighting-pin{color:var(--accent);flex-shrink:0;margin-top:2px}.sighting-text{flex:1;gap:2px;display:grid}.sighting-notes{margin-top:4px}.sighting>.icon-btn{flex-shrink:0;margin:-6px -7px -6px 0}.map-page{height:calc(100vh - var(--nav-h));grid-template-columns:416px 1fr;display:grid}.map-panel{border-right:1px solid var(--line);flex-direction:column;gap:22px;padding:32px;display:flex;overflow-y:auto}.map-panel header{gap:8px;display:grid}.figures{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin:0;display:grid}.figures div{border-left:1px solid var(--line);flex-direction:column-reverse;padding:14px 0 14px 18px;display:flex}.figures div:first-child{border-left:0;padding-left:0}.figures dd{font:500 24px/28px var(--serif);margin:0}.figures dt{color:var(--ink-3);font-size:13px}.map-panel .search{flex-shrink:0;width:100%}.map-panel .tabs{border-bottom:1px solid var(--line);gap:24px}.recent-head{margin:0 0 -10px}.recent li+li .recent-item{border-top:1px solid var(--line)}.recent-item{align-items:center;gap:14px;padding:12px 0;display:flex}.recent-item:hover .species-name{color:var(--accent)}.recent-thumb{background:var(--land);border-radius:8px;flex-shrink:0;place-items:center;width:64px;height:48px;display:grid;overflow:hidden}.recent-thumb img{object-fit:cover;width:100%;height:100%}.recent-thumb.is-add{background:var(--surface);border:1.2px dashed var(--line-strong);color:var(--ink-3)}.recent-thumb.is-place{background:var(--accent-wash);color:var(--accent)}.place-hit{text-align:left;width:100%}.place-hit:hover .species-name{color:var(--accent)}.species-link{text-align:left}.species-link:hover{color:var(--accent);text-decoration:underline}.recent-text{flex:1;gap:1px;min-width:0;display:grid}.map-canvas{background:#fff;position:relative;overflow:hidden}.map-svg{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.map-svg:active{cursor:grabbing}.map-sea{fill:#fff}.map-land{fill:var(--land);stroke:#fff;stroke-linejoin:round}.pin{cursor:pointer}.pin-dot{fill:#0a5a33;fill-opacity:.9;stroke:#fff}.pin:hover .pin-dot{fill:#06401f;fill-opacity:1}.pin.is-selected .pin-dot{fill:#fff;fill-opacity:1;stroke:#0a5a33}.pin:focus{outline:none}.pin:focus-visible .pin-dot{stroke:var(--gold);stroke-width:2px}.pin-found{pointer-events:none}.pin-found-ring{fill:#ffffffe6;stroke:var(--ink);filter:drop-shadow(0 2px 3px #142a2040)}.pin-found-dot{fill:var(--ink)}.pin-label{fill:var(--ink);font-family:var(--sans);stroke:#fff;paint-order:stroke;stroke-linejoin:round;font-weight:600}.map-controls{position:absolute;top:24px;right:24px}.zoom{background:var(--surface);box-shadow:var(--shadow-sm);border-radius:10px;display:grid;overflow:hidden}.zoom button{place-items:center;width:40px;height:40px;display:grid}.zoom button+button{border-top:1px solid var(--line)}.zoom button:hover{background:var(--wash)}.map-empty{text-align:center;background:var(--surface);width:320px;box-shadow:var(--shadow-lg);color:var(--accent);border-radius:16px;justify-items:center;gap:4px;padding:24px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.map-empty p{color:var(--ink);margin:0}.map-empty .muted{color:var(--ink-3)}.place-card{background:var(--surface);width:288px;box-shadow:var(--shadow-lg);border-radius:16px;position:absolute;top:32px;left:32px;overflow:hidden}.place-cover{background:var(--land);height:150px;position:relative}.place-cover img{object-fit:cover;width:100%;height:100%}.place-cover .cover-tag{top:auto;bottom:10px;left:10px}.place-close{background:var(--surface);width:30px;height:30px;box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid;position:absolute;top:10px;right:10px}.place-body{gap:14px;padding:16px 18px 18px;display:grid}.place-body h2,.place-body p{margin:0}.place-counts{align-items:center;gap:16px;display:flex}.place-counts span{align-items:center;gap:6px;display:inline-flex}.place-species{border-top:1px solid var(--line);gap:7px;padding-top:12px;display:grid}.place-species li{align-items:center;gap:8px;display:flex}.place-species a:hover{color:var(--accent)}.dot{background:var(--line-strong);border-radius:50%;flex-shrink:0;width:6px;height:6px}.dot.is-endemic{background:var(--gold)}.legend{background:var(--surface);box-shadow:var(--shadow-sm);color:var(--ink-2);border-radius:12px;gap:8px;padding:14px 16px;font-size:13px;display:grid;position:absolute;bottom:24px;right:24px}.legend p{align-items:center;gap:10px;margin:0;display:flex}.sw{border-radius:50%;width:14px;height:14px;display:inline-block}.sw-pin{background:#0a5a33;width:10px;height:10px;margin:2px;box-shadow:0 0 0 1.5px #fff,0 0 0 2.5px #0a5a3326}.sw-sel{background:#fff;box-shadow:inset 0 0 0 3px #0a5a33}.sw-district{background:#72c59b;border-radius:2px;height:10px}.map-svg .map-land{fill:#95d5b2;stroke:none}.map-district{fill:#0000;pointer-events:none;transition:fill .12s}.map-district.is-picked{fill:#72c59b}.map-district.is-hot{fill:#80cba5}.map-district.is-hot.is-picked{fill:#58b386}.map-border{fill:none;stroke:#83c8a3;stroke-linejoin:round;pointer-events:none}.map-tip{z-index:3;color:#fff;white-space:nowrap;pointer-events:none;background:#2f3a38;border-radius:4px;padding:5px 12px;font-size:13px;position:absolute;transform:translate(-50%,calc(-100% - 14px))}.map-tip:after{content:"";border:6px solid #0000;border-top-color:#2f3a38;position:absolute;top:100%;left:50%;translate:-50%}.map-credit{color:var(--ink-3);margin:0;font-size:11px;position:absolute;bottom:6px;left:12px}.map-credit a{color:inherit}.btn-pill{border-radius:999px;height:40px}.btn-dark{color:#fff;background:#000}.btn-dark:hover:not(:disabled){background:var(--ink)}.btn:disabled{opacity:.55;cursor:default}.nav-upload{gap:10px;padding:0 8px 0 16px}.nav-upload-icon{background:#ffffff29;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.brand-link{color:var(--brand)}.danger-link{color:var(--danger);gap:6px}.danger-link:hover:not(:disabled){text-decoration:underline}.modal-layer{z-index:50;place-items:center;padding:24px 16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:16px;flex-direction:column;width:min(600px,100%);max-height:calc(100dvh - 48px);animation:.18s ease-out pop;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 48px #0d1a142e}.modal:focus{outline:none}@keyframes pop{0%{opacity:0;transform:translateY(8px)}}.modal-head{align-items:flex-start;gap:16px;padding:24px 20px 4px 28px;display:flex}.modal-titles{flex:1;gap:6px;display:grid}.modal-titles p{margin:0}.modal-body{flex-direction:column;flex:1;gap:20px;padding:20px 28px 24px;display:flex;overflow-y:auto}.modal-body>*{flex-shrink:0}.modal-body .field-row{align-items:flex-start}.modal-foot{background:var(--paper-2,#f6f7f3);border-top:1px solid var(--line);align-items:center;gap:10px;padding:16px 20px 16px 28px;display:flex}.modal-note{flex:1;align-items:center;gap:8px;min-width:0;display:inline-flex}.bird-chosen{border:1px solid var(--line-strong);background:#f6f7f3;border-radius:10px;align-items:baseline;gap:10px;padding:11px 14px;display:flex}.bird-chosen-name,.combo-name{font:500 16px/22px var(--serif);white-space:nowrap}.bird-chosen-sci,.combo-sci{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.combo{gap:0;display:grid}.combo-input{border:1px solid var(--line-strong);height:44px;color:var(--ink-3);background:var(--surface);border-radius:10px;align-items:center;gap:10px;padding:0 14px;display:flex}.combo-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}.combo-input input{font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:15px}.combo-list{border:1px solid var(--line);background:var(--surface);border-radius:10px;margin:4px 0 0;padding:6px 0;list-style:none;box-shadow:0 8px 24px #0d1a141a}.combo-option{cursor:pointer;align-items:baseline;gap:10px;padding:9px 14px;display:flex}.combo-option.is-active{background:#f6f7f3}.combo-empty{padding:9px 14px}.photo-strip{flex-wrap:wrap;gap:12px;display:flex}.photo-pick{background:var(--wash);border-radius:10px;place-items:center;width:140px;height:104px;display:grid;position:relative;overflow:hidden}.photo-pick img{object-fit:cover;width:100%;height:100%}.photo-pick.is-add{border:1.5px dashed var(--line-strong);color:var(--ink-2);background:#f6f7f3;align-content:center;gap:6px}.photo-pick.is-add:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.pin-link{justify-self:start;margin-top:2px}.modal-wide{width:min(720px,100%)}.dropzone{border:1.5px dashed var(--line-strong);color:var(--ink);text-align:center;cursor:pointer;background:#f6f7f3;border-radius:14px;justify-items:center;gap:8px;padding:48px 24px;display:grid}.dropzone:hover,.dropzone:focus-visible{border-color:var(--accent);background:var(--accent-wash)}.dropzone-icon{background:var(--surface);width:48px;height:48px;color:var(--accent);box-shadow:var(--shadow-sm);border-radius:50%;place-items:center;display:grid}.dropzone-title{font:600 17px/24px var(--sans)}.dropzone-alt{text-align:center;margin:-4px 0 0}.drop-overlay{z-index:6;border:2px dashed var(--accent);color:var(--accent-strong);pointer-events:none;background:#e2f2e8fa;border-radius:12px;place-content:center;justify-items:center;gap:10px;display:grid;position:absolute;inset:8px}.batch-strip{scroll-snap-type:x proximity;gap:10px;margin-top:-5px;padding:9px 9px 6px 2px;display:flex;overflow-x:auto}.batch-thumb{scroll-snap-align:start;border-radius:10px;flex:none;width:84px;height:64px;position:relative}.batch-thumb-btn{background:var(--wash);outline-offset:2px;border-radius:10px;outline:2px solid #0000;place-items:center;width:100%;height:100%;padding:0;display:grid;overflow:hidden}.batch-thumb.is-on .batch-thumb-btn{outline-color:var(--accent)}.batch-thumb-btn img{object-fit:cover;width:100%;height:100%}.batch-thumb .thumb-remove{opacity:0;transition:opacity .12s;top:-6px;right:-6px}.batch-thumb:hover .thumb-remove,.batch-thumb.is-on .thumb-remove,.batch-thumb .thumb-remove:focus-visible{opacity:1}.batch-thumb.is-add{border:1.5px dashed var(--line-strong);color:var(--ink-2);background:#f6f7f3;place-content:center;justify-items:center;gap:2px;display:grid}.batch-thumb.is-add:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.batch-thumb-broken{color:var(--ink-3);justify-items:center;gap:2px;font-size:11px;font-weight:600;display:grid}.batch-badge{border:2px solid #fff;border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;bottom:5px;left:5px}.batch-badge.is-ready{background:var(--accent);color:#fff}.batch-badge.is-todo{background:var(--gold)}.batch-badge.is-reading{background:var(--line-strong)}.batch-editor{border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:18px;padding:18px;display:flex}.batch-photo{align-items:flex-start;gap:16px;display:flex}.batch-preview{background:var(--wash);border-radius:10px;flex:none;place-items:center;width:168px;height:120px;display:grid;overflow:hidden}.batch-preview img{object-fit:contain;background:#fff;width:100%;height:100%}.batch-photo-info{flex:1;align-content:start;gap:6px;min-width:0;display:grid}.batch-photo-nav{justify-content:space-between;align-items:center;gap:8px;display:flex}.batch-photo-arrows{gap:6px;display:inline-flex}.batch-filename{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.batch-chips{flex-wrap:wrap;gap:6px;margin-top:2px;display:flex}.meta-chip{background:var(--gold-wash);color:#7a5a10;border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:12px;font-weight:500;display:inline-flex}.meta-chip.is-found{background:var(--accent-wash);color:var(--accent-strong)}.apply-link{text-align:left;justify-self:start}.input.is-missing{border-color:var(--gold)}.batch-next{align-self:flex-end;gap:4px}.todo-dot{background:var(--gold);border-radius:50%;flex:none;width:8px;height:8px}.place-combo{position:relative}.place-list{z-index:5;border-radius:12px;width:min(400px,100vw - 48px);padding:0;position:absolute;top:100%;right:0;overflow:hidden;box-shadow:0 12px 32px #142a2029}.place-list ul{max-height:340px;margin:0;padding:4px 0 0;list-style:none;overflow-y:auto}.place-group{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);padding:10px 16px 6px;font-size:11px;font-weight:500}.place-group:not(:first-child){border-top:1px solid var(--line);margin-top:4px}.place-option{cursor:pointer;align-items:center;gap:12px;padding:9px 16px;display:flex}.place-option.is-active{background:var(--accent-wash)}.place-icon{background:var(--wash);width:32px;height:32px;color:var(--ink-2);border-radius:8px;flex:none;place-items:center;display:grid}.place-option.is-active .place-icon{background:var(--surface);color:var(--accent)}.place-text{flex:1;gap:1px;min-width:0;display:grid}.place-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;overflow:hidden}.place-badge{background:var(--wash);color:var(--accent);border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-weight:500}.place-option.is-active .place-badge{background:var(--surface)}.place-status{padding:10px 16px 12px}.place-foot{border-top:1px solid var(--line);background:#f6f7f3;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.place-foot .link-btn{align-items:center;gap:6px;display:inline-flex}.place-credit{color:var(--ink-3);white-space:nowrap;font-size:11px;text-decoration:none}.place-credit:hover{text-decoration:underline}.pin-match{background:var(--accent-wash);border-radius:10px;align-items:center;gap:10px;padding:11px 14px;display:flex}.pin-match-icon{background:var(--accent);color:#fff;border-radius:50%;flex:none;width:20px;height:20px;padding:3px}.pin-match-text{min-width:0;color:var(--ink);flex:1;font-size:15px;font-weight:500}.mini-map-wrap{position:relative}.mini-map.is-zoomed{max-height:240px}.mini-area{fill:var(--accent);fill-opacity:.14;stroke:var(--accent);stroke-width:2px;stroke-dasharray:6 5;stroke-linejoin:round}.mini-area-label{fill:var(--accent-strong);paint-order:stroke;stroke:#fff;stroke-width:.25em;stroke-linejoin:round;pointer-events:none;font-weight:600}.mini-map-zoom{border:1px solid var(--line);color:var(--ink-2);cursor:pointer;background:#ffffffeb;border-radius:999px;padding:4px 10px;position:absolute;bottom:10px;left:10px}.mini-map-zoom:hover{color:var(--accent);border-color:var(--accent)}.toast{z-index:60;color:#fff;background:#000;border-radius:24px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:12px 12px 12px 16px;font-size:14px;font-weight:600;animation:.18s ease-out pop;display:inline-flex;position:fixed;bottom:32px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0003}.toast>svg{color:#7bd3a0;flex-shrink:0}.toast-close{color:#ffffffb3;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.toast-close:hover{color:#fff;background:#ffffff1f}.auth-or{color:var(--ink-3);align-items:center;gap:12px;font-size:13px;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--line);flex:1;height:1px}.auth-guest{gap:8px;display:grid}.auth-guest p{text-align:center;margin:0}@media (max-width:1320px){.toolbar{flex-wrap:wrap}.search{width:300px}}@media (max-width:1100px){:root{--gutter:32px}.page-header{flex-direction:column}.stats{width:100%}.stat{flex:1;width:auto}.body{grid-template-columns:1fr}.index{display:none}.last-seen{width:150px}.map-page{grid-template-columns:340px 1fr}}@media (max-width:760px){:root{--gutter:16px;--nav-h:60px}.nav{grid-template-columns:auto 1fr auto;gap:12px}.brand-name{display:none}.switch{justify-self:center}.page{padding-top:24px}.page-title{font-size:34px;line-height:38px}.stats{gap:8px}.stat{gap:6px;padding:12px}.stat-num{font-size:20px;line-height:26px}.stat>.small{font-size:12px}.toolbar{flex-flow:column;align-items:stretch;gap:12px;margin-top:20px;position:static}.toolbar-left,.toolbar-right{flex-direction:column;align-items:stretch;gap:12px}.toolbar-right{flex-flow:wrap;justify-content:space-between}.toolbar .search,.sort,.sort select{width:100%}.chips{overflow-x:auto}.family-title{font-size:24px;line-height:30px}.crow{grid-template-columns:22px minmax(0,1fr) 28px;row-gap:2px;padding:10px 14px}.crow .num,.crow-photos{display:none}.crow-names{flex-direction:column;grid-column:2;gap:0}.crow .round-btn-sm{grid-area:1/3}.crow-endemic:empty{display:none}.crow-endemic{grid-column:2}.crow-last{text-align:left;grid-column:2}.search{flex:1;width:auto}.row{grid-template-columns:26px 64px minmax(0,1fr) 36px;align-items:center;gap:6px 12px;padding:12px 14px;display:grid}.num{display:none}.tick{grid-area:1/1}.thumb{grid-area:1/2/span 3;align-self:start;width:64px;height:48px}.names{grid-area:1/3}.round-btn{grid-area:1/4}.chip-endemic{grid-area:2/3/auto/5;justify-self:start}.last-seen{flex-wrap:wrap;grid-area:3/3/auto/5;gap:0 8px;width:auto;display:flex}.strip{padding:2px 14px 18px}.tile{width:150px}.tile-img{height:112px}.family-head{flex-direction:column;align-items:flex-start;gap:8px}.family-progress{justify-items:start}.field-row{flex-direction:column}.map-page{grid-template-rows:55vh auto;grid-template-columns:1fr;height:auto}.map-canvas{order:-1}.map-panel{border-right:0;padding:24px 16px;overflow:visible}.place-card{width:auto;inset:auto 12px 12px}.place-cover{height:100px}.legend{display:none}}.skeleton{background:var(--wash);border-radius:8px;animation:1.2s ease-in-out infinite alternate pulse}@media (max-width:760px){.nav-upload{height:36px;padding:0 6px 0 12px}.modal-layer{align-items:end;padding:0}.modal{border-radius:16px 16px 0 0;width:100%;max-height:92dvh}.modal-head{padding:20px 16px 4px 20px}.modal-body{padding:16px 20px 20px}.modal-foot{flex-wrap:wrap;padding:12px 16px 16px 20px}.modal-note{flex-basis:100%}.modal-foot .btn{flex:1}.bird-chosen,.combo-option{flex-wrap:wrap;row-gap:0}.photo-pick{width:104px;height:80px}.batch-editor{padding:14px}.batch-preview{width:112px;height:84px}.batch-photo{gap:12px}.dropzone{padding:36px 16px}.modal-body .field-row>.field,.modal-body .field-row .field{width:100%}}.profile{align-content:start;gap:24px;display:grid}.profile-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;display:flex}.profile-id{align-items:center;gap:20px;min-width:0;display:flex}.profile-avatar{background:var(--brand);color:#fff;width:80px;height:80px;font:600 28px/1 var(--display);box-shadow:0 0 0 3px var(--line);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.profile-name-block{gap:4px;min-width:0;display:grid}.profile-name{font:600 32px/38px var(--display);letter-spacing:-.01em;overflow-wrap:anywhere;margin:0}.profile-meta{color:var(--ink-2);margin:0}.profile-edit{border:1.5px solid var(--accent);width:40px;height:40px;color:var(--accent-strong);background:var(--surface);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.profile-edit:hover{background:var(--accent-wash)}.profile-switch .switch-tab{padding-inline:22px}.profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.profile-stats .stat{width:auto}.profile-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.pcard{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;gap:14px;min-width:0;padding:18px 20px;display:flex}.pcard-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.pcard-title{font:600 18px/24px var(--display);margin:0}.pcard-empty{margin:auto 0}.place-bars{gap:12px;display:grid}.place-bar{gap:5px;display:grid}.place-bar-label{justify-content:space-between;gap:12px;display:flex}.place-bar-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.pbar{background:var(--wash);border-radius:4px;height:8px;display:block;overflow:hidden}.pbar-fill{background:var(--accent);border-radius:4px;height:100%;display:block}.ring-wrap{flex:1;align-items:center;gap:16px;display:flex}.ring{flex-shrink:0;width:168px;height:168px;position:relative}.ring-centre{place-content:center;justify-items:center;display:grid;position:absolute;inset:0}.ring-num{font:600 32px/36px var(--display)}.ring-key{flex:1;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;display:grid}.ring-key li{align-items:center;gap:8px;min-width:0;font-size:13px;display:flex}.ring-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.ring-key-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.recent-list{flex-direction:column;gap:12px;display:flex}.recent-list li{align-items:center;gap:10px;display:flex}.recent-name{min-width:0;font:500 15px/22px var(--serif);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.rdot{border:1.5px solid var(--accent);background:var(--surface);vertical-align:-1px;border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block}.rdot.is-photo{background:var(--accent)}.recent-key{gap:16px;margin:0;padding-top:4px;display:flex}.recent-key>span{align-items:center;gap:6px;display:inline-flex}.gallery{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.gallery-item{background:var(--wash);aspect-ratio:4/3;border-radius:12px;display:block;position:relative;overflow:hidden}.gallery-item img{object-fit:cover;width:100%;height:100%;transition:transform .2s}.gallery-item:hover img{transform:scale(1.03)}.gallery-name{color:#fff;font:500 15px/20px var(--serif);background:linear-gradient(#0000,#0000008c);padding:18px 76px 12px 12px;position:absolute;bottom:0;left:0;right:0}.gallery-count{color:#fff;font:600 16px/20px var(--sans);background:#142a20e6;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.profile-gallery-empty{padding:40px 0}.name-modal{width:min(440px,100%)}@media (max-width:1100px){.profile-cards,.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.profile-cards{grid-template-columns:1fr}.profile-avatar{width:56px;height:56px;font-size:20px}.profile-name{font-size:24px;line-height:30px}.profile-id{gap:14px}.profile-switch{width:100%}.profile-switch .switch-tab{text-align:center;flex:1}.ring{width:132px;height:132px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}html,body{overflow-x:clip}@media (max-width:760px){.nav{gap:8px}.switch-tab{padding:7px 12px}.account{gap:8px}.nav-upload{gap:0;width:36px;height:36px;padding:0}.nav-upload-text{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nav-upload-icon{background:0 0}.page-header{gap:20px}.intro .lede{font-size:14px;line-height:21px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.stat,.toolbar-left,.toolbar-right{min-width:0}.chips{margin:0 calc(var(--gutter) * -1);padding:0 var(--gutter);scrollbar-width:none;scroll-padding-inline:var(--gutter)}.chips::-webkit-scrollbar{display:none}.chip{flex-shrink:0}.toolbar-right{flex-wrap:nowrap;gap:8px}.view-toggle{flex-shrink:0}.view-toggle button{justify-content:center;width:40px;height:34px;padding:0}.vt-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sort{flex:1;width:auto;min-width:0}.sort select{text-overflow:ellipsis;min-width:0;height:40px}.list{gap:36px}.family{gap:12px}.rows{border-radius:12px}.toast{bottom:max(16px, env(safe-area-inset-bottom))}}@media (max-width:360px){:root{--gutter:12px}.switch-tab{padding:7px 9px}.stat{padding:10px}}
