/* Lens Head Media · upload page. Loads after site.css and uses its tokens. */
.lh-up-hero{padding:clamp(40px,6vw,88px) 0 clamp(28px,4vw,48px)}
.lh-up-hero h1{font-size:clamp(46px,6vw,84px);margin-bottom:20px}
.lh-up-hero .lh-lede{max-width:700px}
.lh-up-ways{display:flex;flex-wrap:wrap;gap:10px 14px;margin-top:28px}
.lh-up-way{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:10px 18px 10px 10px;border:0;border-radius:999px;background:var(--surface);color:var(--ink);font:600 15px/1.2 var(--body);text-decoration:none;cursor:pointer;transition:background .2s}
.lh-up-way:hover{background:var(--o-soft)}
.lh-up-way:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.lh-up-way:disabled{opacity:.5;cursor:default}
.lh-up-ico{width:32px;height:32px;border-radius:50%;background:var(--o);display:grid;place-items:center}
.lh-up-ico svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.lh-up{padding:0 0 var(--sec)}
.lh-up-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:clamp(24px,3vw,40px);align-items:start}
.lh-up-form{display:grid;gap:18px;min-width:0}
.lh-up-aside{position:sticky;top:96px;display:grid;gap:14px}
.lh-up-card{padding:24px;border-radius:var(--r);background:var(--surface)}
.lh-up-card h2{font-size:20px;letter-spacing:-.01em;margin-bottom:12px}
.lh-up-card p{font-size:15px;color:var(--ink2)}
.lh-up-card-o{background:var(--o-soft)}
.lh-up-next{counter-reset:n;display:grid;gap:12px}
.lh-up-next li{counter-increment:n;position:relative;padding-left:38px;font-size:15px;color:var(--ink2)}
.lh-up-next li::before{content:counter(n);position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;background:var(--o);color:var(--ink);font:800 13px/26px var(--display);text-align:center}
.lh-up-next b{display:block;color:var(--ink);font-weight:600}
.lh-up-tips{display:grid;gap:8px}
.lh-up-tips li{position:relative;padding-left:20px;font-size:15px;color:var(--ink2)}
.lh-up-tips li::before{content:"";position:absolute;left:2px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--o)}
.lh-up-form,.lh-up-done{grid-column:1;grid-row:1}
.lh-up-aside{grid-column:2;grid-row:1}
@media (max-width:1000px){.lh-up-grid{grid-template-columns:1fr}.lh-up-aside{position:static;grid-column:1;grid-row:2}
  .lh-up-aside .lh-up-card:not(:first-child){display:none}}
.lh-up-step{padding:clamp(22px,3vw,36px);border-radius:var(--r);background:#fff;border:1.5px solid var(--line);scroll-margin-top:24px}
.lh-up-step-h{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.lh-up-step-h h2{font-size:clamp(24px,2.4vw,32px)}
.lh-up-n{flex:none;width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font:800 17px/1 var(--display)}
.lh-up-help{color:var(--muted);margin:0 0 18px 52px}
.lh-up-types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lh-up-types label{position:relative;cursor:pointer}
.lh-up-types input{position:absolute;opacity:0;pointer-events:none}
.lh-up-types span{display:flex;flex-direction:column;gap:5px;height:100%;min-height:96px;padding:16px;border-radius:14px;border:1.5px solid var(--line2);transition:border-color .2s,background .2s,box-shadow .2s}
.lh-up-types b{font-weight:700;font-size:16px;line-height:1.25}
.lh-up-types i{font-style:normal;font-size:14px;color:var(--muted);line-height:1.35}
.lh-up-types label:hover span{border-color:var(--ink)}
.lh-up-types input:checked+span{border-color:var(--o);background:var(--o-soft);box-shadow:inset 0 0 0 1px var(--o)}
.lh-up-types input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.lh-up-types .lh-up-type-wide{grid-column:1/-1}
.lh-up-types .lh-up-type-wide span{min-height:0;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 14px;background:linear-gradient(90deg,var(--o-soft),#fff 70%)}
.lh-up-types .lh-up-type-wide b{font-size:18px}
.lh-up-guide>div{margin-top:18px;padding:22px 24px;border-radius:14px;background:var(--surface)}
.lh-up-guide h3{font-size:19px;font-family:var(--body);letter-spacing:0;margin-bottom:10px}
.lh-up-guide ul{display:grid;gap:9px;margin-bottom:4px}
.lh-up-guide li{position:relative;padding-left:22px;font-size:15.5px;color:var(--ink2)}
.lh-up-guide li::before{content:"";position:absolute;left:2px;top:9px;width:8px;height:8px;border-radius:50%;background:var(--o)}
.lh-up-guide li b{color:var(--ink);font-weight:600}
.lh-up-guide .lh-btn{margin-top:14px}
@media (max-width:760px){.lh-up-types{grid-template-columns:1fr 1fr}.lh-up-help{margin-left:0}}
@media (max-width:440px){.lh-up-types{grid-template-columns:1fr}.lh-up-types span{min-height:0}}

.lh-up-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:14px}
.lh-field{display:flex;flex-direction:column;gap:7px}
.lh-field-full{grid-column:1/-1}
.lh-field>span{font-weight:600;font-size:15px}
.lh-field em{font-style:normal;font-weight:500;color:var(--muted);font-size:13px;margin-left:6px}
.lh-field input,.lh-field select,.lh-field textarea{width:100%;min-height:52px;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line2);background:#fff;font:400 16px/1.4 var(--body);color:var(--ink);transition:border-color .2s,box-shadow .2s}
.lh-field textarea{resize:vertical;min-height:110px}
.lh-field input:focus,.lh-field select:focus,.lh-field textarea:focus{outline:none;border-color:var(--o);box-shadow:0 0 0 4px rgba(253,104,2,.18)}
.lh-field select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230D0D0F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat;padding-right:44px}
@media (max-width:640px){.lh-up-fields{grid-template-columns:1fr}}

.lh-drop{position:relative;margin-top:14px;border-radius:18px;border:2px dashed var(--line2);background:var(--surface);transition:border-color .2s,background .2s}
.lh-drop.over{border-color:var(--o);background:var(--o-soft)}
.lh-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.lh-drop:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.lh-drop-in{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:clamp(30px,5vw,52px) 20px;cursor:pointer}
.lh-drop-ico{width:64px;height:64px;border-radius:50%;background:var(--o);display:grid;place-items:center;margin-bottom:4px;transition:transform .3s var(--ease)}
.lh-drop:hover .lh-drop-ico,.lh-drop.over .lh-drop-ico{transform:translateY(-4px)}
.lh-drop-ico svg{width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.lh-drop-t{font:700 clamp(18px,1.6vw,21px)/1.3 var(--display)}
.lh-drop-t u{text-decoration-color:var(--o);text-decoration-thickness:2px;text-underline-offset:4px}
.lh-drop-s{font-size:14px;color:var(--muted);max-width:520px}
.lh-up-alt{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.lh-rec-dot{width:12px;height:12px;border-radius:50%;background:#E5251B;box-shadow:0 0 0 4px rgba(229,37,27,.15)}
.lh-files{display:grid;gap:8px;margin-top:16px}
.lh-files:not(:empty)::before{content:attr(data-summary);font:600 13px/1 var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.lh-file{display:grid;grid-template-columns:56px minmax(0,1fr) 44px;gap:14px;align-items:center;padding:8px;border-radius:14px;border:1.5px solid var(--line)}
.lh-file.sent{border-color:rgba(27,122,58,.45)}
.lh-file.failed,.lh-file.refused{border-color:rgba(155,28,14,.55)}
.lh-file.refused{border-style:dashed}
.lh-file-st{font-weight:700;color:var(--o-text)}
.lh-file-st::before{content:" · ";font-weight:400;color:var(--muted)}
.lh-file.sent .lh-file-st{color:#1B7A3A}
.lh-file.failed .lh-file-st,.lh-file.refused .lh-file-st{color:#9B1C0E}
.lh-file.failed .lh-file-bar i,.lh-file.refused .lh-file-bar i{background:#9B1C0E}
.lh-file-th{width:56px;height:56px;border-radius:10px;overflow:hidden;background:var(--surface2);display:grid;place-items:center;font:800 12px/1 var(--display);color:var(--muted)}
.lh-file-th img,.lh-file-th video{width:100%;height:100%;object-fit:cover}
.lh-file-meta{display:flex;flex-direction:column;gap:3px;min-width:0}
.lh-file-meta b{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lh-file-meta i{font-style:normal;font-size:13px;color:var(--muted)}
.lh-file-bar{height:4px;border-radius:4px;background:var(--surface2);overflow:hidden;margin-top:4px;opacity:0;transition:opacity .3s}
.lh-up-form.busy .lh-file-bar,.lh-up-form.locked .lh-file-bar{opacity:1}
.lh-file-bar i{display:block;height:100%;width:0;background:var(--o);transition:width .3s}
.lh-file-x{width:44px;height:44px;border-radius:50%;border:0;background:transparent;font-size:24px;line-height:1;color:var(--muted)}
.lh-file-x:hover{background:var(--surface);color:var(--ink)}
.lh-file-x:disabled{opacity:.35;cursor:default;background:transparent}
.lh-drop.locked{opacity:.55}
.lh-drop.locked .lh-drop-in{cursor:default}
.lh-links-field{margin-top:18px}
#lh-links-ta{scroll-margin-top:60px}
.lh-consent{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--surface);cursor:pointer;font-size:15px;color:var(--ink2)}
.lh-consent input{width:22px;height:22px;margin:1px 0 0;flex:none;accent-color:var(--o)}
.lh-consent em{font-style:normal;font-weight:600;color:var(--o-text);margin-left:4px}
.lh-up-submit{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:6px 4px 0}
.lh-up-err{padding:12px 16px;border-radius:12px;background:#FFECE8;color:#9B1C0E;font-weight:600;font-size:15px}
.lh-up-err a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.lh-up-btns{display:flex;flex-wrap:wrap;gap:12px}
.lh-up-off{padding:clamp(20px,3vw,28px);border-radius:var(--r);background:var(--o-soft);border:1.5px solid rgba(253,104,2,.35)}
.lh-up-off h2{font-size:clamp(21px,2vw,26px);margin-bottom:8px}
.lh-up-off p{color:var(--ink2);font-size:16px}
.lh-up-off p+p{margin-top:10px}
.lh-up-off a{color:var(--o-text);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.lh-up-progress{padding:22px 24px;border-radius:var(--r);background:var(--ink);color:#fff}
.lh-up-progress .lh-fine{color:#B9B9C0;margin-top:10px}
.lh-up-ptitle{display:flex;justify-content:space-between;font-size:16px;margin-bottom:12px}
.lh-up-ptitle span{font-variant-numeric:tabular-nums;font-weight:700}
.lh-up-bar{height:10px;border-radius:10px;background:rgba(255,255,255,.14);overflow:hidden}
.lh-up-bar i{display:block;height:100%;width:0;background:var(--o);border-radius:10px;transition:width .3s}
.lh-up-done{max-width:720px;padding:clamp(28px,4vw,52px);border-radius:var(--r);background:var(--surface);outline:none}
.lh-up-check{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--o);margin-bottom:20px}
.lh-up-check svg{width:34px;height:34px;fill:none;stroke:var(--ink);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.lh-up-done h2{font-size:clamp(34px,4vw,52px);margin-bottom:12px}
.lh-up-done p{color:var(--ink2);margin-bottom:24px}
.lh-up-done .lh-up-err{color:#9B1C0E}

/* recorder */
.lh-rec{border:0;padding:0;border-radius:24px;width:min(760px,96vw);max-height:96vh;background:#fff;color:var(--ink);box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.lh-rec::backdrop{background:rgba(10,10,12,.78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lh-rec-in{padding:clamp(16px,3vw,26px)}
.lh-rec-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.lh-rec-top h2{font-size:clamp(20px,2.2vw,26px)}
.lh-rec-x{width:44px;height:44px;border-radius:50%;border:0;background:var(--surface);font-size:26px;line-height:1}
.lh-rec-stage{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#111}
.lh-rec-stage video{width:100%;height:100%;object-fit:cover;background:#111}
.lh-rec-stage video[data-rec-live]{transform:scaleX(-1)}
.lh-rec-stage video.lh-rear{transform:none}
.lh-rec-time{position:absolute;top:12px;left:12px;padding:7px 12px 7px 26px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font:700 14px/1 var(--body);font-variant-numeric:tabular-nums}
.lh-rec-time::before{content:"";position:absolute;left:10px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:#E5251B;animation:lh-blink 1s steps(2) infinite}
@keyframes lh-blink{50%{opacity:0}}
.lh-rec.recording .lh-rec-stage{box-shadow:inset 0 0 0 4px #E5251B}
.lh-rec-msg{position:absolute;inset:auto 14px 14px 14px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.95);font-size:15px;font-weight:500}
.lh-rec-tips{font-size:14px;color:var(--muted);margin:12px 2px 14px}
.lh-rec-ctrls{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.lh-rec-native{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin-top:14px;padding:12px 22px;border-radius:999px;background:var(--o);color:var(--ink);font:700 16px/1.25 var(--body);text-align:center;cursor:pointer}
.lh-rec-native input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.lh-rec-native:focus-within{outline:3px solid var(--blue);outline-offset:3px}
@media (max-width:560px){
  .lh-rec{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  .lh-rec-in{display:flex;flex-direction:column;height:100%;padding:12px 14px calc(14px + env(safe-area-inset-bottom))}
  .lh-rec-top{margin-bottom:10px}
  .lh-rec-stage{flex:1 1 auto;min-height:160px;aspect-ratio:auto;margin-bottom:14px}
  .lh-rec-tips{font-size:13px;margin:0 2px 12px}
  .lh-rec-ctrls .lh-btn{flex:1 1 auto}
  .lh-rec-native{margin-top:0}
}

.lh-up-quote{margin:14px 0 4px;padding:16px 18px;border-radius:14px;background:var(--ink);color:#fff}
.lh-up-quote .lh-b-k{display:block;font:700 12px/1.2 var(--body);letter-spacing:.12em;text-transform:uppercase;color:#A9A9B2;margin-bottom:8px}
.lh-up-quote p{font-size:15.5px;color:#E6E6EA}
.lh-up-quote b{color:var(--o-hi);font-weight:700;white-space:nowrap}
.lh-up-quote .lh-link{color:#fff;min-height:44px;font-size:14px}
