:root{font-family:system-ui,-apple-system,sans-serif;color:#263429;background:#f3f0e8;font-size:16px}*{box-sizing:border-box}body{margin:0}main{max-width:1240px;margin:auto;padding:48px 28px}header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:32px}h1{font-size:clamp(30px,4vw,46px);letter-spacing:-1.4px;line-height:1.12;margin:10px 0 18px}h2{font-size:23px;margin:0 0 14px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:#687768}.lead{font-size:19px;max-width:640px;color:#576455}.panel{background:#fcfaf5;border:1px solid #dcded1;border-radius:18px;padding:26px;margin-bottom:24px;box-shadow:0 8px 24px #26342904}p{line-height:1.6}form,.filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap}label{display:flex;flex:1;min-width:210px;flex-direction:column;gap:8px;font-size:14px;font-weight:600}small{font-size:12px;font-weight:400;color:#657363}input,select,button{font:inherit;border-radius:9px;border:1px solid #bac5b4;padding:12px;min-height:46px}input,select{background:#fffefa;color:#263429;width:100%}button{background:#36543c;color:#fff;border-color:#36543c;cursor:pointer;font-weight:600}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b98a40;outline-offset:3px}.muted,footer{font-size:13px;color:#697465}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.card{border:1px solid #d7dfcf;border-radius:12px;padding:16px;background:#fffefa;min-width:0}.card video{width:100%;height:300px;object-fit:contain;background:#e9eddf;border-radius:8px}.card h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.card dt{font-size:12px;color:#657363}.card dd{margin:0;font-weight:650}.card a{color:#36543c}.rank{font-size:12px;font-weight:700;margin:0 0 12px}.empty{padding:28px 12px;color:#657363;grid-column:1/-1}.error{border:1px solid #ba7667;border-radius:10px;padding:14px;color:#7a3527;background:#f5e8dd}#notice:empty{display:none}#progress{font-weight:600}#coverage{font-size:14px}footer{margin:28px 0}@media(max-width:650px){main{padding:24px 14px}header,.section-head{flex-direction:column}.panel{padding:20px 16px}form button,.section-head button{width:100%}label{min-width:100%;width:100%}.grid{grid-template-columns:1fr}}

.load-more{grid-column:1/-1;justify-self:center}

#render-form{align-items:center}
#render-file{min-width:0}
#render-file::file-selector-button{margin-right:10px;padding:5px 9px}
#render-status:empty,.render-results:empty{display:none}
.render-results{margin-top:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}
.render-card h3{margin:0 0 12px;font-size:18px}
.render-card video{display:block;width:min(100%,252px);height:auto;aspect-ratio:9/16;margin-inline:auto;background:#1a211a}
.render-card .muted{margin:10px 0}
.render-download{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid #bac5b4;border-radius:9px;font-weight:650;text-decoration:none}
.render-download:hover{text-decoration:underline}
@media(max-width:650px){
  .render-results{grid-template-columns:1fr}
}

[hidden]{display:none!important}
.access-panel{max-width:540px}
.access-panel form{display:grid;gap:14px}
.access-panel label{min-width:0}
.access-panel #access-toggle{margin-top:18px}
.secondary{background:#fffefa;color:#36543c;border-color:#bac5b4}
.customer-control{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.customer-control span{overflow-wrap:anywhere}
.render-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;flex:0 1 240px}
.render-amounts small{grid-column:1/-1}
.render-amounts label{min-width:0}
@media(max-width:650px){
  .customer-control{justify-content:flex-start}
  .render-amounts{flex-basis:100%}
  .render-amounts label{min-width:0;width:auto}
}

.billing-order{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:10px}
.billing-order p{margin:0;flex:1}
#billing-status:empty{display:none}

.reel-pick{display:block;margin:0 0 12px}
.reel-source{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#e9eddf;padding:10px 12px;border-radius:9px;margin-bottom:14px}
.reel-source p{margin:0;overflow-wrap:anywhere}
.reel-source strong{display:block;font-size:13px}
@media(max-width:650px){.reel-source{align-items:stretch;flex-direction:column}}

.render-history{margin-top:24px;padding-top:20px;border-top:1px solid #dddcd2}
.render-history h3{margin:0 0 10px}
.render-history ul{margin:0 0 12px;padding:0;list-style:none}
.render-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.render-history-row + .render-history-row{border-top:1px solid #e7e5db}
.render-history-row div{min-width:0;overflow-wrap:anywhere}
.render-history-row p{margin:2px 0 0}
.render-history-row a{flex-shrink:0;color:#36543c}
