/* Local-only product UI. No fonts, icons or assets are fetched externally. */
:root{font-family:"Segoe UI","Malgun Gothic",sans-serif;color:#203e45;background:#f5f7f8;font-size:14px;--ink:#15393d;--teal:#087f73;--muted:#627a81;--line:#e0e8e9}
button,input,select{font:inherit}button:disabled{cursor:not-allowed;opacity:.5}button{transition:background .16s,color .16s,box-shadow .16s}button:focus-visible,summary:focus-visible{outline:3px solid #16a790;outline-offset:3px}svg{flex-shrink:0;vertical-align:middle}.layout{grid-template-columns:226px minmax(0,1fr)}aside{background:#102e34;padding:30px 18px;position:sticky;top:0;height:100vh;overflow-y:auto;gap:12px}.logo{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:650;letter-spacing:-.4px;color:#f1fbf8}.logo svg{color:#81ddbf}.subtitle{font-size:9px;letter-spacing:2.2px;color:#9db7bc;margin:0 0 34px 40px}nav{gap:6px}nav button{display:flex;align-items:center;gap:12px;font-size:13px;padding:13px 15px;border-radius:9px;color:#b6cbce}nav button.selected{background:#23544f;color:#d1ffeb;box-shadow:inset 3px 0 #82e0bc}nav button:hover{background:#1c4147;color:#fff}.advanced-nav{border-top:1px solid #2b474d;margin-top:20px;padding-top:20px}.advanced-nav>summary{display:flex;align-items:center;gap:12px;color:#a1babd;font-size:12px;padding:10px 15px;list-style:none}.advanced-nav>summary:after{content:'+';margin-left:auto;font-size:18px}.advanced-nav[open]>summary:after{content:'−'}.advanced-nav button{font-size:12px;padding:10px 15px;margin-left:30px;max-width:calc(100% - 30px)}footer{font-size:11px;color:#aac1c3}.account-mark{display:inline-grid;place-items:center;border:1px solid #57777b;background:#20454a;border-radius:50%;width:30px;height:30px;margin-right:9px;color:#dcf7eb;font-weight:700}footer button{font-size:11px;padding:7px 11px;display:inline-block;margin:14px 8px 0 0;border-color:#476369}.language-button{color:#9ce5cd}main{padding:30px 40px;max-width:1650px;width:100%;margin:auto}header{align-items:center;margin-bottom:20px}h1{font-size:25px;margin:7px 0 0;font-weight:650;letter-spacing:-.8px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:#71858c}.local{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:20px;border:1px solid #dae7e3;background:#fff;font-size:10px;color:#366b62}.notice{display:flex;align-items:center;gap:9px;background:#eaf3ef;border:0;color:#35705e;padding:11px 15px;font-size:11px;border-radius:8px;margin-bottom:26px}.notice small{color:#547368;margin-left:auto;font-size:10px}.panel{border-color:var(--line);box-shadow:0 3px 18px #10373d03}.experience-layout .panel{background:transparent;padding:0;border:0;box-shadow:none}.experience-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 26px}.experience-intro .eyebrow{color:var(--teal)}.experience-intro h2{font-size:29px;letter-spacing:-1px;margin:8px 0;font-weight:650;color:var(--ink)}.experience-intro p{color:var(--muted);font-size:12px;margin:0}.journey{display:flex;gap:18px;color:#7b8f95;font-size:11px;white-space:nowrap}.journey span{display:flex;gap:7px;align-items:center}.journey b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8eeef;font-size:10px}.journey .current{color:var(--teal)}.journey .current b{background:#d4eee3}.experience-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:22px}.experience-tabs button{display:flex;gap:8px;align-items:center;background:none;border:0;border-radius:0;padding:10px 2px 14px;font-size:13px;color:#73888e;border-bottom:2px solid transparent}.experience-tabs button[aria-selected=true]{border-bottom-color:var(--teal);color:var(--teal);font-weight:650}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.section-heading h2,.section-heading h3{margin:0;font-size:14px;font-weight:650;color:var(--ink)}.section-heading>span{font-size:10px;color:var(--muted)}.example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.example-card{display:flex;align-items:center;gap:12px;text-align:left;padding:8px;border:1px solid #dce5e7;border-radius:12px;min-width:0;background:white;position:relative}.example-card img{width:90px;height:60px;object-fit:cover;border-radius:7px}.example-card strong{font-size:12px;font-weight:600;display:block}.example-card small{font-size:10px;white-space:nowrap;margin-top:4px}.example-card.active{border:1.5px solid var(--teal);background:#f5fcf9;box-shadow:0 2px 12px #13785a0c}.sample-check{margin-left:auto;background:#eaf0f0;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0}.active .sample-check{background:var(--teal);color:#fff}.more-samples{margin:9px 0 21px;font-size:10px;text-align:right}.more-samples summary{display:inline-block;color:#6c8589}.more-samples label{text-align:left;margin:12px 0}.analysis-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:22px;align-items:start}.media-column{min-width:0;background:white;border:1px solid var(--line);border-radius:14px;padding:18px}.view-switch{display:flex;gap:3px;padding:3px;border-radius:7px;background:#f2f5f6}.view-switch button{border:0;background:transparent;padding:6px 9px;font-size:10px;display:flex;align-items:center;gap:5px;min-height:32px}.view-switch button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #15383d15;color:var(--teal)}.video-stage{position:relative;background:#10272b;border-radius:10px;overflow:hidden;aspect-ratio:16/10;display:grid;place-items:center}.video-stage video{display:block;width:100%;height:100%;object-fit:contain}.media-source{position:absolute;top:13px;left:13px;background:#10282cd9;color:#e6f4f0;border:1px solid #ffffff29;display:flex;gap:6px;align-items:center;padding:5px 9px;border-radius:20px;font-size:9px;pointer-events:none}.media-source i{width:5px;height:5px;border-radius:50%;background:#77d4bd}.media-caption{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin:10px 0 17px}.media-caption>span{display:flex;align-items:center;gap:5px}.text-button{border:0;background:transparent;padding:6px 0;display:inline-flex;gap:6px;align-items:center;font-size:11px;color:var(--teal)}.text-button:hover{background:transparent;color:#014e46;text-decoration:underline}.input-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:16px 0 2px;border-top:1px solid var(--line)}.input-facts>div{display:flex;align-items:center;gap:8px;font-size:10px;color:#69838a}.input-facts svg{color:#548b81}.input-facts strong{display:block;font-size:11px;color:#456067;font-weight:500;margin-top:4px}.result-card{border:1px solid var(--line);border-radius:14px;background:white;padding:20px;min-width:0;box-shadow:0 7px 25px #103a3e05}.soft-label{border-radius:5px;background:#f0f6f4;padding:5px 7px;font-size:9px!important;color:#52766a!important}.result-placeholder{text-align:center;min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column}.analysis-orbit{border:1px solid #cde9df;background:#f0faf6;border-radius:20px;color:#408d7a;padding:18px;margin:8px 0 18px}.result-placeholder h3{font-size:15px;font-weight:600;margin:0 0 6px}.result-placeholder p{font-size:11px;color:#7b9195;max-width:250px;margin:0}.placeholder-bars{display:flex;gap:9px;height:55px;align-items:end;overflow:hidden;margin:18px 0;opacity:.5}.placeholder-bars span{width:20px;background:#dce9e5;border-radius:4px 4px 0 0;max-height:45px}.primary{background:var(--teal);color:white;border:0;box-shadow:0 3px 8px #0a7e7321}.primary:hover{background:#07695f}.analyze-button{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;padding:14px 10px;font-size:12px;font-weight:600;margin-top:16px;border-radius:9px;min-height:45px}.control-boundary{text-align:center;font-size:9px;line-height:1.6;margin-top:10px;color:#73898d}.recommendation{display:flex;align-items:center;gap:14px;color:#087f73;margin:20px 0 8px}.action-symbol{border-radius:15px;background:#e3f4ee;width:60px;height:60px;display:grid;place-items:center}.recommendation h3{font-size:32px;font-weight:650;letter-spacing:-1px;margin:2px 0}.recommendation small{color:#6a8680;font-size:10px}.recommendation.SLOW{color:#9b690a}.SLOW .action-symbol{background:#fff2d3}.recommendation.STOP{color:#bb504d}.STOP .action-symbol{background:#fceaea}.result-description{font-size:11px;color:#6c8186;margin:8px 0 22px}.chart-caption{display:flex;justify-content:space-between;font-size:10px;margin-bottom:14px}.chart-caption strong{font-weight:600}.chart-caption span{color:#829398}.prob-row{display:grid;grid-template-columns:24px 1fr 45px;gap:9px;align-items:center;margin:12px 0;font-size:10px}.prob-row>strong{text-align:right;font-size:11px;font-variant-numeric:tabular-nums;font-weight:600}.bar-track{background:#edf2f3;height:8px;border-radius:10px;overflow:hidden}.bar-fill{height:100%;border-radius:10px;background:#208777;transition:width .45s}.bar-0{background:#b0c0c3}.bar-1{background:#90bdb3}.bar-2{background:#54a392}.bar-3{background:#147e6d}.policy-note{display:flex;align-items:start;gap:8px;background:#f8f6ee;border-radius:8px;padding:11px;margin-top:21px;color:#8c7840}.policy-note strong{font-size:10px;font-weight:600}.policy-note small{font-size:9px;color:#887c5a;margin-top:3px}.result-foot{display:flex;gap:10px;align-items:center;margin:15px 0;font-size:9px;color:#70878d;flex-wrap:wrap}.result-foot>span{display:flex;align-items:center;gap:4px}.result-foot .badge{font-size:9px}.technical{border-top:1px solid var(--line);padding-top:13px;font-size:10px}.technical summary{color:#68868b}.technical dl{display:grid;grid-template-columns:75px 1fr;gap:8px;font-size:10px}.technical dd{margin:0;overflow-wrap:anywhere}.technical pre{max-height:260px;overflow:auto;white-space:pre-wrap;max-width:100%}.experience-bottom{display:flex;justify-content:space-between;align-items:center;margin:18px 0;font-size:10px;color:#7a8c92}.experience-bottom>span{display:flex;align-items:center;gap:7px}.admin-translation{font-size:10px;color:#677e84;margin-top:20px}.admin-translation summary{color:#738b90}.frame-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#f3f6f6;padding:10px;border-radius:10px;min-height:280px;align-content:center}.frame-gallery button{padding:0;position:relative;overflow:hidden;border:0;border-radius:7px;aspect-ratio:1}.frame-gallery img{width:100%;height:100%;object-fit:cover}.frame-gallery span{position:absolute;bottom:5px;left:5px;color:white;background:#123239bb;border-radius:4px;padding:2px 5px;font-size:9px}.frames-loading{grid-column:1/-1;text-align:center;color:#708c91;font-size:12px}.photo-dialog{padding:20px;border:1px solid #d6e6e2;border-radius:16px;width:min(560px,90vw);color:var(--ink);box-shadow:0 20px 100px #0005}.photo-dialog::backdrop{background:#0b292bd1;backdrop-filter:blur(4px)}.photo-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.photo-title button{border:0;padding:7px}.photo-dialog>img{display:block;width:100%;image-rendering:auto;border-radius:10px}.photo-dialog>p{font-size:11px;color:#677f84}.upload-area{margin-bottom:24px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.upload-field{padding:18px 20px;border:1px dashed #b9d6cf;border-radius:12px;background:#fafffd;gap:8px;color:#397c70}.upload-field input{font-size:11px;border:0;background:#edf5f2;padding:8px}.upload-field strong{font-size:12px}.upload-field small{font-size:10px;overflow-wrap:anywhere}.scope-note{font-size:10px;color:#7a858a;line-height:1.7}.media-empty{text-align:center;color:#b1cdca;font-size:12px}.photo-upload{font-size:11px;border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.photo-upload>p{font-size:11px;color:#758990}.photo-upload img{max-width:100%;max-height:300px;border-radius:9px}.photo-upload figure{margin:15px 0 0}.photo-upload figcaption{font-size:10px;margin-top:7px;color:#74898c}.media-column audio{width:100%;height:36px;margin-bottom:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.busy{animation:breathe 1.5s ease-in-out infinite}@keyframes breathe{50%{opacity:.4;transform:scale(.96)}}.login{padding:42px;max-width:480px;margin:12vh auto;box-shadow:0 20px 70px #12383a0c;border:1px solid #dce7e5}.login .logo{color:#173e40;margin-bottom:36px}.login h1{font-size:26px;line-height:1.5}.login form{margin-top:25px}.login form button{width:100%;justify-self:stretch;padding:13px;background:var(--teal)}
@media(min-width:1700px){main{padding-left:65px;padding-right:65px}.video-stage{aspect-ratio:16/9}}
@media(max-width:1180px){main{padding:26px}.journey{display:none}.example-card img{width:65px;height:55px}.sample-check{display:none}.analysis-workspace{grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);gap:15px}.media-column{padding:14px}.input-facts{gap:6px}.input-facts svg{width:16px}.experience-intro h2{font-size:26px}}
@media(max-width:900px){.layout{grid-template-columns:185px minmax(0,1fr)}aside{padding:25px 12px}.logo{font-size:13px}.subtitle{font-size:8px;margin-left:38px;letter-spacing:1px}nav button{font-size:12px;padding:12px}.analysis-workspace{grid-template-columns:1fr}.result-placeholder{min-height:160px}.example-card{display:block}.example-card img{width:100%;height:70px}.example-card>div{padding:5px}.input-facts{padding-bottom:5px}.video-stage{aspect-ratio:16/9}}
@media(max-width:800px){.layout{display:block}aside{height:auto;position:relative;padding:18px 16px 10px;overflow:visible;gap:8px}.logo{font-size:15px}.logo svg{width:25px}.subtitle{display:none}nav{display:flex;flex-direction:row;gap:5px;flex-wrap:wrap;overflow:visible;margin-top:9px}nav>button{flex:1;font-size:10px;padding:10px 6px;gap:5px;justify-content:center;white-space:nowrap}nav>button svg{width:15px}.advanced-nav{width:100%;border:0;margin:0;padding:0}.advanced-nav>summary{padding:8px 6px;font-size:10px;justify-content:flex-end;gap:5px}.advanced-nav>summary svg{width:13px}.advanced-nav>summary:after{margin-left:2px;font-size:14px}.advanced-nav[open]{border-top:1px solid #2b474d}.advanced-nav button{display:inline-block;margin:0;padding:9px 12px;max-width:none}footer{display:none}main{padding:22px 16px}header{display:flex;align-items:center;margin-bottom:16px}.eyebrow{font-size:8px}header .local{margin:0;display:flex;font-size:9px}h1{font-size:21px;margin-top:5px}.notice{margin-bottom:23px;padding:9px 11px;flex-wrap:wrap;font-size:10px;gap:6px}.notice small{margin-left:24px;width:100%;font-size:9px}.experience-intro{margin-bottom:20px}.experience-intro h2{font-size:23px;line-height:1.4}.experience-intro p{font-size:11px}.section-heading>span{font-size:9px}.example-grid{gap:8px}.example-card{padding:4px;border-radius:9px}.example-card img{height:57px;border-radius:5px}.example-card strong{font-size:10px}.example-card small{font-size:8px;white-space:normal}.more-samples{font-size:9px}.example-picker .section-heading h3{font-size:12px}.analysis-workspace{gap:14px}.media-column{padding:12px}.video-stage{border-radius:8px}.media-caption{font-size:9px;flex-wrap:wrap;margin-bottom:12px}.text-button{font-size:10px}.input-facts>div{font-size:9px}.input-facts strong{font-size:10px}.result-card{padding:18px}.experience-bottom{align-items:start;gap:15px;font-size:9px}.experience-bottom>span{align-items:start;max-width:60%;line-height:1.8}.frame-gallery{min-height:210px;gap:6px;padding:8px}.upload-grid{grid-template-columns:1fr}.upload-area .section-heading{display:block}.upload-area .section-heading h3{font-size:13px;margin-bottom:8px}.photo-dialog{padding:15px}.login{margin:7vh 15px;padding:28px}.login h1{font-size:23px}.panel{padding:16px}.filters label{min-width:110px}pre{max-width:100%}.sensor-card strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mobile-run{display:none}.result-description{font-size:12px}.prob-row{font-size:12px}.chart-caption{font-size:11px}.policy-note strong{font-size:11px}.policy-note small{font-size:10px}.control-boundary{font-size:10px}@media(max-width:900px){.mobile-run{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;justify-content:space-between;align-items:center;gap:20px;padding:13px 20px calc(13px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #d8e7e2;box-shadow:0 -5px 20px #0b373810}.mobile-run>span{font-size:12px;font-weight:600}.mobile-run small{font-size:10px;font-weight:400;margin-top:3px}.mobile-run button{display:flex;align-items:center;gap:8px;min-height:44px;padding:12px 28px;font-size:12px}.experience{padding-bottom:80px}.result-card{scroll-margin:30px}.media-caption .text-button,.view-switch button{min-height:44px}}

/* Source audio visibility: native data, shared video clock, no synthetic meters. */
.audio-insight{border:1px solid #d7e9e3;border-radius:12px;background:#f8fcfa;padding:14px;margin:12px 0 4px;min-width:0}
.input-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;margin-bottom:15px}.input-status>span{display:inline-flex;align-items:center;gap:5px}.input-status .ready{background:#e2f3ec;color:#12654f;border-radius:20px;padding:6px 9px}.input-status .waiting{color:#6c7b82;background:#edf1f2;border-radius:20px;padding:6px 9px}.input-status .failed{color:#a84439}.fusion-label{color:#687b75;font-size:10px}
.audio-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.audio-heading h3{margin:0;font-size:13px;display:flex;align-items:center;gap:7px;color:#255b4e}.audio-heading button{min-height:40px;padding:6px 9px;border-radius:6px;background:#e7f2ed}.audio-heading button[aria-pressed=true]{color:white;background:#087f73}.audio-heading button:disabled{opacity:.45;cursor:default}
.wave-box{position:relative;height:64px;background:white;border-radius:7px;overflow:hidden;border:1px solid #e1ebe6}.audio-waveform{display:block;width:100%;height:64px}.audio-playhead{position:absolute;top:0;bottom:0;width:2px;background:#164b40;pointer-events:none;box-shadow:0 0 0 1px #ffffff80;transform:translateX(-1px)}.spectrogram-plot .audio-playhead{background:white;box-shadow:0 0 0 1px #183e37aa}
.audio-time{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#6a8278;margin:6px 0}.audio-time output{font-variant-numeric:tabular-nums;color:#335b50}.audio-seek{display:block;width:100%;padding:0;margin:0 0 10px;height:24px;accent-color:#087f73;cursor:pointer;background:transparent;border:0}
.spectrogram-heading{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#456c5f;margin:4px 0 7px}.spectrogram-heading>span{display:flex;align-items:center;gap:4px}.spectrogram-key{width:48px;height:5px;border-radius:4px;background:linear-gradient(90deg,#0000b4,#80875a,#ffdc00)}
.spectrogram-wrap{display:flex;gap:7px}.frequency-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#758a81;padding:3px 0;white-space:nowrap}.spectrogram-plot{position:relative;flex:1;min-width:0;height:78px;border-radius:5px;overflow:hidden;background:#172a31}.spectrogram-plot img{display:block;width:100%;height:100%;object-fit:fill}.audio-explanation{font-size:10px;line-height:1.7;color:#3e6b5e;margin:10px 0 4px}.audio-explanation span{color:#788b83}.audio-insight audio{display:none}.audio-details{font-size:10px;color:#6d8178;margin-top:8px}.audio-details p{line-height:1.7;margin:6px 0}.audio-empty{padding:18px 8px;text-align:center;color:#75877f;font-size:11px}.audio-empty p{overflow-wrap:anywhere}.audio-insight .error{font-size:11px;overflow-wrap:anywhere}
@media(max-width:800px){.audio-insight{padding:12px}.fusion-label{font-size:9px}.input-status{gap:5px;font-size:10px}.audio-heading button{min-height:44px}.audio-heading h3{font-size:12px}.spectrogram-plot{height:70px}.audio-seek{height:32px}.audio-explanation{font-size:10px}.input-status .ready,.input-status .waiting{padding:6px 7px}}

/* Separate observed feeding activity from the recommended feeding action. */
.feeding-activity{background:#f6faf9;border:1px solid #dcebe6;border-radius:12px;padding:16px;margin:16px 0}
.activity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-heading h3{margin:0;font-size:14px;color:#315b52}.activity-heading>strong{font-size:23px;color:#174d40}
.feeding-activity .prob-chart{margin:12px 0}.activity-scope{display:block;font-size:10px;color:#617b73;line-height:1.6}
.recommendation .recommendation-label{font-size:12px;font-weight:500;margin:0 0 5px;letter-spacing:0}
.recommendation .recommendation-action{display:block;font-size:25px;font-weight:700;line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:600px){.recommendation .recommendation-action{font-size:23px}.feeding-activity{padding:14px}}
