@font-face{font-family:BeVietnam;src:url('/assets/regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:BeVietnam;src:url('/assets/bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{color-scheme:light;--forest:#f7f9f1;--panel:#fffefa;--panel-low:#eff5e9;--border:#d7e1d1;--ink:#17291e;--muted:#4c6253;--green:#246243;--green-hover:#1c5036;--ink-on-green:#fffefa;--wash:#e4f0df;--wash-hover:#d6e8cf;--field-border:#809780;--hero-paper:#fff9e6;--shadow:0 10px 28px #1f45210b;--pill:999px;--round:26px;--soft:19px;--font:BeVietnam,Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--forest);color:var(--ink);font:400 15px/1.58 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,select{font:inherit;color:inherit}
svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.shell{width:min(1180px,calc(100% - 52px));margin-inline:auto}
.skip{position:fixed;top:8px;left:8px;z-index:5;transform:translateY(-130%);background:var(--green);color:var(--ink-on-green);padding:10px 15px;border-radius:var(--pill)}.skip:focus{transform:none}
.masthead{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;gap:10px;align-items:center}.brand-icon{width:44px;height:44px;padding:6px;display:grid;place-items:center;border-radius:50%;background:#d6ee9d}.brand-icon img{width:100%;height:auto}.wordmark{font-weight:700;font-size:22px;line-height:1.06;letter-spacing:-.045em}.wordmark small{display:block;margin-top:4px;color:var(--muted);font-size:9px;letter-spacing:.23em;text-transform:uppercase}
nav{display:flex;align-items:center;gap:3px;border:1px solid var(--border);border-radius:var(--pill);padding:4px;background:var(--panel-low)}
nav a{padding:8px 15px;border-radius:var(--pill);font-size:13px;color:var(--muted);white-space:nowrap}
nav a:first-child{background:var(--wash);color:var(--ink)}nav a:hover{background:var(--wash-hover);color:var(--ink)}
.host{display:flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid var(--border);border-radius:var(--pill);color:var(--muted);font-size:12px;white-space:nowrap}.host>span:first-child,.pulse{width:7px;height:7px;background:var(--green);border-radius:50%;display:inline-block;flex:none}
.hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:453px;border-radius:34px;background:var(--hero-paper);border:1px solid #e4e7ce}
.hero-image{position:absolute;inset:0 0 0 auto;width:67%;height:100%;object-fit:cover;object-position:center 26%;filter:brightness(1.14) saturate(1.07);z-index:-2}
.hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--hero-paper) 35%,#fff9e6fa 40%,#fff9e680 55%,transparent 72%)}
.hero-copy{padding:50px clamp(30px,5.5vw,73px);position:relative;z-index:1}
.overline{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:var(--pill);border:1px solid #bed1b3;background:#edf4e1;color:var(--green);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin:0 0 14px}
h1{font-size:clamp(54px,7.2vw,100px);line-height:1.02;font-weight:700;letter-spacing:-.07em;margin:0}
h1 em{font-style:normal;color:var(--green)}
.intro{margin:16px 0 20px;max-width:37ch;color:var(--muted);font-size:clamp(14px,1.3vw,17px)}
.hero-action,.primary{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;border-radius:var(--pill);background:var(--green);color:var(--ink-on-green);border:1px solid transparent;padding:12px 17px;font-weight:700;cursor:pointer}
.hero-action:hover,.primary:not(:disabled):hover{background:var(--green-hover)}
.hero-action svg,.primary svg{width:17px;height:17px;stroke-width:1.9}
.photo-credit{position:absolute;right:22px;bottom:19px;margin:0;padding:5px 10px;display:flex;gap:6px;align-items:center;border:1px solid #ffffff46;border-radius:var(--pill);background:#fff9e6f2;color:var(--ink);font-size:10px}
.photo-credit span{width:4px;height:4px;background:#d6f787;border-radius:50%}
.layout{display:grid;grid-template-columns:1fr 1.26fr;align-items:start;gap:16px;margin-top:18px}
.panel{min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:var(--round);box-shadow:var(--shadow);padding:22px;scroll-margin-top:14px}
.section-head{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.section-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:15px;background:var(--wash);color:var(--green)}
.section-icon svg{width:21px;height:21px}
.section-head h2{margin:0;font-size:21px;line-height:1.15;letter-spacing:-.025em}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.32}
.drop{display:grid;justify-items:center;align-content:center;text-align:center;gap:5px;min-height:147px;padding:14px;border:1px dashed var(--field-border);border-radius:var(--soft);background:var(--panel-low);cursor:pointer}
.drop:hover,.drop.over{border-color:var(--green);background:var(--wash)}.drop strong{max-width:100%;overflow-wrap:anywhere}
.drop span:last-child{color:var(--muted);font-size:12px}.upload-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:50%;background:var(--wash);color:var(--green);margin-bottom:2px}
.upload-icon svg{width:21px;height:21px}
.filter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:13px}.filter span,.jobs label{font-weight:700}
select{max-width:100%;border-radius:var(--pill);border:1px solid var(--field-border);background:var(--panel);padding:8px 12px;min-height:40px;cursor:pointer}
.primary{display:flex;width:100%;min-height:46px;padding-inline:16px}.primary:disabled{background:var(--wash);color:var(--muted);cursor:default}
.privacy{display:flex;align-items:flex-start;gap:7px;margin:12px 1px 0;font-size:12px;color:var(--muted);line-height:1.4}.privacy svg{width:15px;height:15px;color:var(--green)}
#upload-message{font-size:13px;margin:8px 0 0;color:#794615}#upload-message:empty{display:none}
progress{width:100%;height:8px;border:0;border-radius:var(--pill);margin-top:10px;overflow:hidden;accent-color:var(--green)}progress::-webkit-progress-bar{background:var(--wash);border-radius:var(--pill)}progress::-webkit-progress-value{background:var(--green);border-radius:var(--pill)}
.empty{display:grid;justify-items:center;align-content:center;gap:5px;border:1px solid var(--border);border-radius:var(--soft);background:radial-gradient(ellipse at 50% 38%,#e2efd8 0%,var(--panel-low) 72%);min-height:250px;text-align:center;padding:20px}
.soundmark{width:136px;padding:2px 0;margin-bottom:4px;border-radius:var(--pill);color:var(--green)}.soundmark svg{width:100%;height:auto;stroke-width:2.7}.empty strong{font-size:16px}.empty span{color:var(--muted);font-size:13px}
.jobs{display:grid;gap:6px;margin:0 0 12px;font-size:13px}.jobs select{width:100%}.result-line{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 11px}.result-line p{margin:0;font-size:13px;color:var(--ink)}.delete{border:1px solid #d8ada0;background:#fff3eb;color:#923926;border-radius:var(--pill);padding:6px 11px;cursor:pointer;font-size:12px}.delete:hover{background:#ffe5d9}
.clip{margin-bottom:12px;overflow:hidden;border:1px solid var(--border);border-radius:var(--soft);background:var(--panel-low);padding:6px}.clip:last-child{margin-bottom:0}.clip video{display:block;background:#101a13;width:100%;aspect-ratio:16/9;max-height:300px;border-radius:14px}.clip-info{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 6px 4px;font-size:13px}.clip-info p{margin:0;min-width:0;overflow-wrap:anywhere}.clip-info small{display:block;color:var(--muted);font-size:11px}.clip a{white-space:nowrap;font-weight:700;border-radius:var(--pill);background:var(--wash);color:var(--green);padding:6px 10px}.clip a:hover{background:var(--wash-hover)}
footer{display:flex;justify-content:space-between;gap:10px;padding:20px 0 26px;color:var(--muted);font-size:12px}
:focus-visible,.drop:has(+ .visually-hidden:focus-visible){outline:2px solid var(--green);outline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.shell{width:calc(100% - 28px)}.masthead{min-height:70px}nav{display:none}.hero{border-radius:27px;min-height:408px;align-items:end}.hero-image{width:100%;height:57%;object-position:65% 30%}.hero::after{background:linear-gradient(0deg,var(--hero-paper) 49%,#fff9e6bb 55%,transparent 70%)}.hero-copy{padding:205px 21px 24px}.overline{margin-bottom:8px}.hero h1{font-size:clamp(46px,12vw,66px);line-height:1.02}.intro{margin:9px 0 15px;max-width:32ch}.hero-action{padding:10px 13px;font-size:13px}.photo-credit{top:12px;right:12px;bottom:auto;font-size:9px}.layout{grid-template-columns:1fr;gap:12px;margin-top:12px}.panel{padding:16px;border-radius:22px}.empty{min-height:205px}footer span:last-child{text-align:right}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
main{min-height:60vh}.page-head{padding:23px 0 17px}.page-head h2{font-size:clamp(29px,5vw,52px);line-height:1.13;letter-spacing:-.045em;margin:0 0 8px}
.eyebrow{color:var(--green);font-size:.78rem;letter-spacing:.13em;font-weight:700;margin:0 0 6px}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:15px}.feature-grid .panel{height:100%}
.panel h2,.panel h3,.panel h4{margin:0 0 8px;line-height:1.18}.panel h2{font-size:1.18rem}.panel h3{font-size:1.13rem}.panel p,.page-head p:not(.eyebrow){color:var(--muted);margin:5px 0 12px}
.subsection{margin-top:16px}.narrow{max-width:574px}.stack{display:grid;gap:11px}.stack label,.filter-grid label{font-weight:700;font-size:.87rem}.stack label:not(.check,.drop),.filter-grid label:not(.check){display:grid;gap:5px}
input:not([type=checkbox],[type=file]),textarea,select{border:1px solid var(--field-border);background:var(--panel);border-radius:14px;padding:8px 11px;min-height:42px;max-width:100%;width:100%;font:inherit;color:var(--ink)}input::placeholder{color:var(--muted)}.stack select,.filter-grid select{border-radius:14px}
.primary{justify-content:center}.check{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.87rem}.check input{accent-color:var(--green);width:17px;height:17px}
.secondary,.accent{border-radius:999px;padding:8px 13px;font-weight:700;border:1px solid var(--border);text-align:center;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;min-height:38px}
.secondary{background:var(--panel-low);color:var(--ink)}.accent{background:var(--wash);color:var(--green);font-size:.87rem}.secondary:hover,.accent:hover{background:var(--wash-hover)}.secondary:disabled{opacity:.5;cursor:default}
form button[aria-busy=true],button[aria-busy=true]{opacity:.6;pointer-events:none}.form-cols,.row,.inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.form-cols>*{flex:1 1 135px}.row{justify-content:space-between}.inline-form input{flex:1 1 180px;width:auto}
.notice{position:sticky;top:8px;z-index:5;border:1px solid #acc5a5;background:#e9f5df;color:#274c33;border-radius:16px;margin:0 0 12px;padding:10px 15px}.notice[data-error=true]{background:#fff3eb;border-color:#d8ada0;color:#923926}
.record,.line-item,.bird-chip{border:1px solid var(--border);background:var(--panel-low);border-radius:16px;padding:10px 11px;margin-bottom:6px}.record{width:100%;text-align:left;cursor:pointer}.record:hover,.record[aria-current=true]{border-color:#82a47a;background:var(--wash)}
.record strong,.record small,.line-item small,.bird-chip small{display:block;overflow-wrap:anywhere}.record small,.line-item small,.bird-chip small{color:var(--muted)}.token-value{padding:9px;background:var(--panel-low);border-radius:13px;overflow-wrap:anywhere;font:14px monospace}
.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;margin:0 0 14px}.filter-grid .check{padding-bottom:10px}
.library-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:15px}.detail{border:1px solid var(--border);background:var(--panel-low);border-radius:18px;padding:13px;min-width:0}.detail video{width:100%;max-height:350px;border-radius:15px;background:#111a14;display:block}
.detail summary{cursor:pointer;font-weight:700;margin:9px 0}.detail .clip{margin-top:11px}.detail .clip-info{flex-wrap:wrap}
.panel .empty-small{color:var(--muted);padding:12px}.price-tag{font-size:1.35rem;color:var(--green);font-weight:700;margin:10px 0}.soft-badge{font-size:.74rem;border-radius:999px;padding:4px 9px;border:1px solid var(--border);color:var(--muted);display:inline-flex}
@media(max-width:760px){.masthead{flex-wrap:wrap;padding:11px 0;min-height:0}.masthead nav{display:flex;order:3;width:100%;overflow:auto;justify-content:space-between}.masthead nav a{padding:6px 9px;font-size:.76rem}.masthead .host{margin-left:auto}.feature-grid,.library-grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notice{position:static}.feature-grid .panel{height:auto}}
.masthead nav a:first-child{background:transparent;color:var(--muted)}.masthead nav a[aria-current=page],.masthead nav a:hover{background:var(--wash);color:var(--ink)}
.panel .detail>a{margin:9px 0}.detail .clip button{font-size:.76rem}.detail .clip .row{justify-content:flex-start}
.clip-preview{padding:0 8px 7px}.clip-preview summary{margin:2px 0 3px;font-size:.81rem;color:var(--green)}
.clip-preview[open] summary{margin-bottom:7px}.clip-preview video{max-height:255px}

/* Center the signed-out account screen without changing the account dashboard. */
#page-account:has(#auth:not([hidden])){
  padding-block:clamp(1.25rem,5vh,3.25rem) clamp(2.5rem,7vh,4.5rem);
}
#page-account:has(#auth:not([hidden]))>.page-head{
  max-width:36rem;
  margin-inline:auto;
  text-align:center;
}
#auth:not([hidden]){
  width:min(100%,28rem);
  margin-inline:auto;
  padding:clamp(1.125rem,4vw,2rem);
}

/* Site navigation footer and readable policy pages. */
.site-footer{
  display:grid;
  grid-template-columns:minmax(14rem,1.6fr) repeat(2,minmax(0,1fr));
  align-items:start;
  gap:1.5rem clamp(1.25rem,5vw,4rem);
  margin-top:clamp(2rem,5vw,3.75rem);
  padding-block:1.75rem 2rem;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:.85rem;
}
.footer-brand{grid-column:auto}
.footer-brand .brand{display:inline-flex;color:var(--ink)}
.footer-brand .brand-icon{width:36px;height:36px}
.footer-brand .wordmark{font-size:1.15rem;text-align:start}
.footer-brand p{max-width:34ch;margin:.65rem 0 0}
.footer-links h2{margin:0 0 .4rem;color:var(--ink);font-size:.88rem}
.footer-links ul{display:grid;gap:.18rem;list-style:none;margin:0;padding:0}
.footer-links a{display:inline-block;padding:.3rem 0}
.footer-links a:hover,.footer-links a[aria-current=page]{color:var(--green);text-decoration:underline;text-underline-offset:.18em}
.site-footer .footer-meta{grid-column:1/-1;margin:0}
.policy-body{display:grid;gap:.8rem;max-width:48rem}
.policy-body .panel p:last-child{margin-bottom:0}
.policy-body .panel ul{color:var(--muted);margin:.5rem 0 0;padding-inline-start:1.35rem}
.policy-body .panel li+li{margin-top:.35rem}
.policy-body .panel a{color:var(--green);text-decoration:underline;text-underline-offset:.15em}
@media(max-width:680px){
  .site-footer{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
  .footer-brand{grid-column:1/-1}
}

/* Studio disclosures keep one set of controls across desktop and mobile. */
#page-studio .studio-mobile-copy,#page-studio .studio-mobile-tools,.record-mobile-status{display:none}
.studio-record-view{display:contents}
.studio-upload-options>summary{display:none}
.studio-upload-options .form-cols>label{min-width:0}
.studio-action-opt>p{margin:0 0 0 27px;font-size:.82rem;line-height:1.5}
.studio-action-opt .check{align-items:flex-start}
.studio-action-opt .check input{flex:none}
.studio-timeline-actions{display:flex;align-items:center;gap:.5rem}
.clip-info .clip-badge{display:inline-flex;margin:.25rem 0 0;font-size:.72rem;font-weight:700}
.clip-info .clip-badge[data-kind='action']{color:#30566d;background:#eaf5fb;border-color:#c8dce9}
.clip-info .clip-badge[data-kind='ai']{color:var(--green);background:var(--wash);border-color:#c8dbc1}
.clip-info .clip-badge[data-kind='manual']{background:var(--panel);color:var(--muted)}
@media(max-width:760px){
  #page-studio .studio-desktop-only{display:none}
  #page-studio .studio-mobile-copy{display:inline}
  #page-studio button.studio-mobile-copy,#no-studio .accent{display:inline-flex;align-items:center;justify-content:center}
  #page-studio #no-studio .accent{color:var(--ink-on-green);background:var(--green);border-color:transparent}
  #page-studio :is(button,.drop,summary,.accent,#refresh){min-height:44px}
  #page-studio :is(input:not([type=checkbox],[type=file]),select){min-width:0;min-height:44px;font-size:16px}
  #page-studio .check{min-height:44px;min-width:0}
  #page-studio .check input{flex:none}
  #page-studio .studio-page-head h2{font-size:clamp(1.75rem,8vw,2.7rem)}
  #page-studio .studio-page-head p:not(.eyebrow){margin-bottom:0}
  #page-studio .studio-mobile-tools{display:grid;gap:.55rem}
  .studio-mobile-tools>.secondary{justify-self:center}
  #studio-show-upload>span[aria-hidden]{font-size:1.15rem}
  #studio-no-bird{justify-items:start}
  #studio-no-bird>p{margin:0}
  #studio-no-bird>.secondary{justify-self:start}
  #studio-content[data-birds='none'] #upload{display:none}
  #studio-content:not([data-panel]) .studio-setup{display:none}
  #studio-content:not([data-panel='profiles']) #studio-profile-panel,
  #studio-content:not([data-panel='upload']) #studio-upload-panel{display:none}
  #studio-content .studio-setup,#studio-content .studio-timeline-panel{margin-top:14px}
  #studio-content .studio-setup>.panel,.studio-timeline-panel{border-radius:20px}
  #studio-content .studio-timeline-panel>*,#studio-content #detail>*{min-width:0}
  #studio-content:not([data-filters-open]) #filters{display:none}
  .studio-timeline-head{align-items:flex-start;margin-bottom:.6rem}
  .studio-timeline-head>div:first-child{flex:1 1 10rem}
  .studio-timeline-head p{margin-bottom:0}
  .studio-timeline-actions{gap:.38rem;flex-wrap:wrap}
  .studio-timeline-actions>.secondary{padding-inline:.7rem;font-size:.8rem}
  .studio-upload-options{order:1}
  .studio-upload-options>summary{display:list-item;width:fit-content;padding:.65rem .5rem .55rem 0;cursor:pointer;font-weight:700}
  .studio-upload-options>.form-cols{padding-bottom:.3rem}
  #send-video{order:2}
  #upload-progress{order:3}
  .studio-ai-check{padding:.45rem 0}
  .studio-record-view{display:none;min-width:0}
  #studio-library[data-show-detail] .studio-record-view{display:grid;gap:.75rem}
  #studio-library[data-show-detail] #timeline{display:none}
  #studio-back{justify-self:start}
  #timeline .record{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:.4rem;row-gap:.28rem;align-items:start;padding:.65rem .75rem;background:var(--panel)}
  #timeline .record:hover,#timeline .record[aria-current=true]{background:var(--wash)}
  #timeline .record>small{grid-column:1/-1}
  #timeline .record .record-summary{display:none}
  #timeline .record .record-mobile-status{display:inline-flex;align-self:start;font-size:.67rem;padding:.18rem .4rem;line-height:1.35}
  .record-mobile-status[data-state='ready']{color:var(--green);border-color:#c8dbc1;background:var(--wash)}
  .record-mobile-status[data-state='failed']{color:#923926;border-color:#d8ada0;background:#fff3eb}
  #page-studio .clip-info a{display:inline-flex;align-items:center}
  #page-studio .clip-preview > summary,#page-studio #detail > details > summary{padding-block:.65rem}
}
.intro-film{margin-top:18px;display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);gap:clamp(18px,4vw,48px);align-items:center;padding:clamp(16px,3.3vw,38px)}
.intro-film-copy .eyebrow{margin:0 0 8px;color:var(--green)}
.intro-film-copy h2{font-size:clamp(24px,3.7vw,44px);letter-spacing:-.04em}
.intro-film-copy p:last-child{max-width:39ch;margin-bottom:0}
.intro-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--soft);background:#15221a}
@media(max-width:760px){.intro-film{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:12px}}

/* CamChim language picker */
.mast-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.locale-picker{width:auto;min-width:84px;min-height:36px;padding:6px 9px;font-size:12px;border-radius:var(--pill);color:var(--ink);background:var(--paper)}.brand-icon{padding:0;border-radius:25%;background:#13634f;overflow:hidden}.brand-icon img{display:block;height:100%;object-fit:contain}
@media(max-width:760px){.mast-actions{margin-left:auto}}@media(max-width:420px){.masthead{gap:8px}.masthead .brand{gap:6px}.masthead .brand-icon{width:36px;height:36px}.masthead .wordmark{font-size:19px}.masthead .host,.locale-picker{padding-inline:7px}.mast-actions{gap:4px}}

/* First visit: distinct entry points and the next action next to the setup step. */
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hero-actions .flow-link,.hero-actions .hero-action,.auth-switch a{min-height:44px;display:inline-flex;align-items:center}
.auth-switch{margin:.9rem 0 0;color:var(--muted)}
.auth-switch a{margin-inline-start:.25rem;font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:.15em}
.first-run{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px;row-gap:10px;background:var(--wash);margin-bottom:12px}
.first-run .eyebrow{margin:0 0 .3rem}
.first-run h3{margin:.1rem 0}
.first-run p:last-child{margin:.28rem 0 0}
.first-run-actions:not(:has(:not([hidden]))){display:none}
.first-run .primary{width:auto;min-height:44px;justify-content:center;text-align:center;white-space:normal}
@media(max-width:760px){
 .first-run{grid-template-columns:minmax(0,1fr)}
 .first-run .primary{width:100%}
 #studio-content:has(#studio-library[data-show-detail]) .first-run{display:none}
}

/* Rounded app shell: authenticated mobile only. The public site and desktop keep their theme. */
.studio-mobile-dock,.studio-tab-nav,.studio-birds-copy{display:none}
@media(max-width:760px){
 body{padding-inline:env(safe-area-inset-left,0px) env(safe-area-inset-right,0px);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 html:has(body[data-studio-shell]){scroll-padding-block-end:calc(102px + env(safe-area-inset-bottom,0px))}
 body[data-studio-shell]{
  --studio-dock:#fcfbfa;--studio-ink:#1c1c1b;--studio-inactive:#626362;
  --forest:#f8f7f5;--panel:#fff;--panel-low:#f7f6f4;--border:#e8e5e0;
  --ink:var(--studio-ink);--muted:#555751;--field-border:#d4d1cb;
  --wash:#f5f1ea;--wash-hover:#eee9e1;--shadow:0 5px 19px #332b2010;--soft:22px;--round:25px;
  background:radial-gradient(ellipse at 6% 0%,#f6ece1 0,transparent 43rem),
    radial-gradient(ellipse at 100% 17%,#eef2f4 0,transparent 34rem),#fbfaf9;
  padding-bottom:calc(98px + env(safe-area-inset-bottom,0px));
 }
 body[data-studio-shell] .shell{width:calc(100% - 32px)}
 body[data-studio-shell] .masthead{min-height:65px;flex-wrap:nowrap;border-bottom:1px solid var(--border);padding-block:8px}
 body[data-studio-shell] .masthead .brand,body[data-studio-shell] #locale-picker{min-height:44px}
 body[data-studio-shell] .masthead #who,body[data-studio-shell] .masthead nav{display:none}
 body[data-studio-shell] .masthead nav:has(#admin-nav:not([hidden])){display:flex;order:0;margin-left:auto;width:auto;padding:0;background:none;border:0}
 body[data-studio-shell] .masthead nav:has(#admin-nav:not([hidden])) a:not(#admin-nav){display:none}
 body[data-studio-shell] .masthead #admin-nav:not([hidden]){display:inline-flex;align-items:center;min-height:44px}
 body[data-studio-shell] .masthead nav:has(#admin-nav:not([hidden]))+.mast-actions{margin-left:0}
 body[data-studio-shell] .page-head{padding:18px 0 12px}
 body[data-studio-shell] .page-head h2{font-size:clamp(1.75rem,7.4vw,2.5rem);font-weight:700;letter-spacing:-.06em;margin-bottom:.35rem}
 body[data-studio-shell] .page-head p:not(.eyebrow){color:var(--muted);margin:.28rem 0 0}
 body[data-studio-shell] #page-studio .studio-mobile-copy{font-size:inherit}
 body[data-studio-shell] main{min-height:calc(100svh - 164px)}
 body[data-studio-shell] .notice{margin:.55rem 0}
 body[data-studio-shell] :is(#page-account,#page-studio) :focus-visible{scroll-margin-block-end:calc(102px + env(safe-area-inset-bottom,0px))}
 body[data-studio-shell] #page-account :is(button,.accent){min-height:44px}
 body[data-studio-shell] :is(#page-account,#page-studio) .panel{border-radius:25px;background:#fff;border-color:#ede9e4;box-shadow:var(--shadow);padding:17px}
 body[data-studio-shell] :is(#page-account,#page-studio) .panel h3{font-size:1.16rem}
 body[data-studio-shell] :is(#page-account,#page-studio) :is(input:not([type=checkbox],[type=file]),select,textarea){border-radius:16px;border-color:var(--field-border);background:#fff}
 body[data-studio-shell] :is(#page-account,#page-studio) :is(.bird-chip,.line-item,.record,.detail,.clip){border-radius:18px}
 body[data-studio-shell] :is(#page-account,#page-studio) :is(.detail,.bird-chip,.record){background:#f9f8f6}
 body[data-studio-shell] :is(#page-account,#page-studio) :is(.secondary,.accent){border-radius:15px;background:#f6f5f3;color:var(--studio-ink);border-color:var(--border)}
 body[data-studio-shell] :is(#page-account,#page-studio) :is(.secondary,.accent):hover{background:#eeece8}
 body[data-studio-shell] #page-studio :is(.primary,#send-video):not(:disabled){border-radius:16px;background:var(--studio-ink);color:#fff}
 body[data-studio-shell] #page-studio .studio-mobile-tools #studio-show-upload:not(:disabled){border:1px solid #e7e3dd;background:#fff;color:var(--studio-ink);box-shadow:0 3px 12px #332b200c}
 body[data-studio-shell] #page-studio .drop{border-radius:20px;background:#f9f8f6}
 body[data-studio-shell] #timeline .record[aria-current=true]{background:#f4f1eb;border-color:#cec7bd}
 body[data-studio-shell] #timeline .record .record-mobile-status[data-state=ready]{background:#edf4ed;color:#34563f;border-color:#dce9dc}
 body[data-studio-shell] .site-footer{margin-top:12px}
 body[data-studio-shell] .site-footer .footer-brand{display:none}
 body[data-studio-shell] .site-footer .footer-links a{display:inline-flex;align-items:center;min-height:44px}
 .studio-mobile-dock:not([hidden]){
  position:fixed;z-index:15;inset-inline:0;bottom:0;display:grid;grid-template-columns:minmax(0,1fr) 23%;
  min-height:65px;padding-inline:env(safe-area-inset-left,0px) env(safe-area-inset-right,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);background:var(--studio-dock);
  border-top:1px solid #e8e6e3;box-shadow:0 -3px 18px #332b2007;
 }
 .studio-tab-nav:not([hidden]){
  grid-column:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;
  align-items:stretch;background:transparent;border:0;border-radius:0;margin:0;max-width:none;padding:4px 4px 3px;
 }
 .studio-tab-nav a,.studio-tab-nav a:first-child{
  display:grid;justify-items:center;align-content:center;gap:3px;min-height:54px;padding:3px 1px;
  border-radius:0;text-align:center;line-height:1.25;letter-spacing:0;font-size:.76rem;font-weight:700;
  white-space:normal;background:transparent;color:var(--studio-inactive);
 }
 .studio-tab-nav a svg{width:22px;height:22px;stroke-width:1.7}
 .studio-tab-nav a:hover,.studio-tab-nav a[aria-current=page]{background:transparent;color:var(--studio-ink)}
 .studio-tab-nav a[aria-current=page] svg{stroke-width:2}
 .studio-tab-nav a:focus-visible{outline-offset:-1px;border-radius:12px}
 .studio-quick-action{
  grid-column:2;align-self:start;justify-self:center;display:grid;place-items:center;
  width:58px;height:58px;padding:0;margin-top:-17px;border:0;border-radius:50%;
  background:var(--studio-ink);color:#fff;box-shadow:0 6px 13px #2020202a;cursor:pointer;
 }
 .studio-quick-action svg{width:26px;height:26px;stroke-width:2}
 .studio-quick-action:hover{background:#303231}
 .studio-quick-action:disabled{background:#737571;box-shadow:none;cursor:wait}
 body[data-studio-keyboard] .studio-mobile-dock{visibility:hidden}
 body[data-studio-shell] #studio-show-profile{display:none}
 body[data-studio-shell] #page-studio .studio-mobile-tools:not(:has(button:not([hidden]))){display:none}
 body[data-studio-shell] .studio-mobile-tools #studio-show-upload{width:100%}
 body[data-studio-shell] #page-studio .first-run{padding:16px;gap:.55rem;min-height:0;border-radius:25px;background:#fff}
 body[data-studio-shell] .first-run h3{font-size:1.21rem}
 body[data-studio-shell] .first-run .eyebrow{font-size:.71rem}
 body[data-studio-shell] .first-run p:not(.eyebrow){margin:0}
 body[data-studio-shell] #page-studio:has(#studio-content[data-tab=birds]) :is(.studio-mobile-copy,.studio-page-head>p:not(.eyebrow)){display:none}
 body[data-studio-shell] #page-studio:has(#studio-content[data-tab=birds]) .studio-birds-copy{display:inline}
 body[data-studio-shell] #studio-content[data-tab=birds] :is(.first-run,.studio-mobile-tools,.studio-timeline-panel){display:none}
 body[data-studio-shell] #studio-content[data-tab=birds] .studio-setup{margin-top:0}
}
