/* Luna Studio — a cohesive footage-first interface. System fonts; no remote dependencies. */
:root{--paper:#f8f6ef;--white:#fffefa;--ink:#203e32;--muted:#5e6a61;--green:#244c3a;--green-dark:#173e2d;--line:#dcded1;--light:#eef1e7;font-family:"Segoe UI",Arial,sans-serif;font-size:15px;background:var(--paper);color:var(--ink)}
body{background:radial-gradient(ellipse at 90% 0,#e7ebd970,transparent 36%),var(--paper)}.skip-link{position:fixed;top:10px;left:16px;z-index:30;transform:translateY(-180%);background:var(--ink);color:white;padding:14px 20px;border-radius:8px}.skip-link:focus{transform:none}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,video:focus-visible,summary:focus-visible{outline:3px solid #ac6926!important;outline-offset:4px}
.site-header{max-width:1360px;padding:24px 40px;border-bottom:1px solid #d9ddcf;margin:auto;gap:20px}.brand{font-family:Georgia,serif;font-weight:700;font-size:28px;letter-spacing:-1px;gap:10px}.brand-light{color:#597263;font-family:"Segoe UI",sans-serif;font-size:20px;font-weight:400;letter-spacing:-.7px}.brand-mark,.brand-mark svg{width:38px;height:38px}.header-actions{gap:16px}.header-actions .text-button{font-size:14px;min-height:44px;padding:10px 12px}.header-actions .icon-button{width:auto;min-width:44px;height:44px;padding:8px 12px;gap:8px;display:inline-flex!important;font-size:13px;border-radius:9px}.activity-label{font-size:13px;font-weight:600}.header-actions .icon-button svg{width:19px;height:19px}.header-actions .button{min-height:46px;font-size:13px;padding:12px 18px}
main{max-width:1360px;padding:48px 40px 0}.workspace{display:block}.main-column{min-width:0}.page-heading{align-items:flex-end;margin:0 0 34px;gap:30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#51664e;margin-bottom:18px}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,4.9vw,68px);font-weight:400;line-height:1.02;letter-spacing:-2.7px;margin:0 0 20px;white-space:pre-line;max-width:820px}.intro{font-size:16px;line-height:1.65;max-width:650px;color:#58675a}.workspace-state{font-size:12px;font-weight:600;padding:10px 13px;border:1px solid #d2d8c7;background:#eff1e5;color:#3f563e;margin-bottom:5px;white-space:nowrap}
.button{min-height:46px;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:650;line-height:1.35;letter-spacing:0}.primary{background:var(--green);color:#fffefa;border-color:var(--green);box-shadow:none}.primary:hover{background:var(--green-dark);border-color:var(--green-dark)}.secondary{background:#fffefa;border-color:#ccd4c5;color:#284d39}.secondary:hover{background:#edf1e5;border-color:#879e83}.text-button{font-size:13px;min-height:44px;padding:10px 0;color:#31543b}.icon-button{min-width:44px;min-height:44px}.button:disabled,.button:disabled:hover{opacity:1;color:#667362;background:#eef1e9;border-color:#dce1d4;cursor:default}.plain{color:#4f6253}
.upload-card,.upload-card.compact-upload{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:0 20px;min-height:0;margin:0 0 44px;padding:28px 30px;border:1px solid #31563f;border-radius:18px;text-align:left;background:radial-gradient(ellipse at 85% 0,#56755380,transparent 65%),#244c3a;overflow:hidden;color:#fffefa;box-shadow:0 8px 26px #173b2410}.upload-card .upload-symbol{display:flex;width:54px;height:54px;min-width:54px;margin:0;background:#ffffff0d;border:1px solid #c6dac43d;border-radius:16px;color:#e5edda;grid-row:1/3}.upload-symbol svg{width:27px;height:27px}.upload-copy h2,.upload-card.compact-upload .upload-copy h2{font:400 27px/1.2 Georgia,serif;letter-spacing:-.4px;color:#fffefa;margin:0 0 7px}.upload-copy p{font-size:14px;line-height:1.5;margin:0;color:#e0e9d8}.upload-copy>span{display:block;margin-top:7px;font-size:12px;line-height:1.5;color:#d3e0c8}.upload-card>.button,.upload-card.compact-upload>.button{grid-column:3;grid-row:1;margin:0;min-height:48px;font-size:14px;padding:14px 22px;background:#f5f2df;color:#254c37;border-color:#f5f2df}.upload-card>.button:hover{background:white}.upload-card>.file-hint{display:none}.upload-card>.upload-limit{grid-column:3;display:block;grid-row:2;text-align:center;color:#dce8d2;font-size:11px;margin:10px 0 0;letter-spacing:0}.upload-card>.ownership,.upload-card>p{display:none}.upload-card.drag-over{border:2px solid #a8bc6c;background:#315e42}
#footage-home>.section-heading{margin-bottom:10px}#footage-heading{font:400 29px/1.3 Georgia,serif;letter-spacing:-.6px}#footage-count{font:600 12px/1 "Segoe UI",sans-serif;border-radius:20px;padding:8px 10px;width:auto;height:auto;background:#e9eddf;color:#486145;letter-spacing:0}#footage-refresh{font-size:13px;padding:10px 14px;min-height:44px;border:1px solid #d3d9ca;border-radius:9px;background:#fffefa}.footage-summary{font-size:13px;color:#5d6a5e;line-height:1.6;margin:0 0 24px}#footage-filters{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:14px}.footage-filter{min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:10px;background:transparent;color:#54664f;font-size:13px;font-weight:600}.footage-filter:hover{background:#e8eddf}.footage-filter[aria-pressed=true]{background:#244c3a;color:#fffefa;border-color:#244c3a;box-shadow:0 3px 8px #203e3210}.manual-post-note{font-size:12px;line-height:1.7;color:#626d60;padding:0 0 16px;margin:0}
#footage-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.footage-card{min-width:0;border:1px solid #dce0d2;border-radius:18px;overflow:hidden;background:#fffefa;display:flex;flex-direction:column;box-shadow:0 3px 10px #213e2905;transition:border-color .2s,box-shadow .2s}.footage-card:hover{border-color:#b7c5ab;box-shadow:0 10px 30px #213e290c}.footage-card[hidden],.footage-card [hidden]{display:none!important}.footage-preview{position:relative;background:linear-gradient(145deg,#1c3027,#3c4b35);overflow:hidden;min-width:0}.footage-preview video{width:100%;height:280px;object-fit:contain;display:block;background:transparent}.footage-preview>p:empty{display:none}.footage-preview>p{font-size:13px;padding:0 16px;color:#fff}.footage-preview>button{color:#fff;margin:4px 16px 14px;min-height:44px}
.library-status{display:inline-flex;align-items:center;gap:7px;max-width:calc(100% - 28px);border:1px solid #e1e6d2;border-radius:7px;padding:7px 9px;background:#f3f3de;color:#515e25;font-size:11px;font-weight:650;line-height:1.4;margin:0}.library-status:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.footage-preview>.library-status{position:absolute;top:14px;left:14px;z-index:1;box-shadow:0 2px 8px #0e251c20;pointer-events:none}.library-status.ready{background:#eaf2df;border-color:#dce9cc;color:#365528}.library-status.attention{background:#fff0e4;border-color:#f2dbc8;color:#894016}.library-status.posted{background:#e1efe8;border-color:#c8dfd3;color:#28583e}.library-status.quiet,.library-status.trash{background:#f4f2e9;border-color:#e1dfd1;color:#5c6254}
.footage-body{padding:22px;display:flex;flex-direction:column;align-items:stretch;flex:1;min-width:0}.footage-date{font-size:11px;color:#62705f;margin:0 0 8px;line-height:1.6}.footage-body h3{font-size:17px;line-height:1.4;letter-spacing:-.3px;font-weight:650;margin:0 0 14px;overflow-wrap:anywhere}.footage-body h4{font:400 23px/1.25 Georgia,serif;letter-spacing:-.35px;margin:0 0 12px;color:#294333}.footage-note{font-size:13px;line-height:1.65;color:#5a685b;margin:0 0 16px}.route-note{font-size:12px;line-height:1.6;border-left:2px solid #c2954f;color:#775023;background:#f9f6e9;padding:9px 11px;margin:0 0 16px;border-radius:0 6px 6px 0}.footage-body>.button{width:100%;margin-top:0;font-size:13px;min-height:46px}.footage-body>.footage-details-action{margin-bottom:12px}.footage-body>.footage-details-action.secondary{font-size:12px;min-height:38px;border-color:transparent;background:#f0f3e9;color:#425f3b}.footage-body>.watermark-download{margin-top:14px;font-size:13px;padding:12px 10px;line-height:1.5;white-space:normal;min-height:47px}.footage-body>.watermark-action{margin-top:0}.watermark-note,.watermark-message{font-size:11px;line-height:1.65;color:#566550;margin:7px 0 0;overflow-wrap:anywhere}.watermark-message{color:#755025}.watermark-message:empty{display:none}.watermark-download:disabled{opacity:1}.footage-body>.text-button{align-self:flex-start}.footage-body>.trash-action{align-self:flex-end;min-height:44px;margin:14px -6px -10px 0;padding:9px 6px;font-size:12px;font-weight:500;color:#854438}.trash-feedback:empty{display:none}.trash-feedback{padding:14px 18px;background:#e9efdd;color:#36502d;border:1px solid #d0ddbd;border-radius:10px;margin:0 0 18px;font-size:13px;line-height:1.6}.trash-feedback button{min-height:44px;margin-left:14px}
.library-empty{margin:16px 0 0;padding:52px 24px;border:1px dashed #bcc9ae;border-radius:18px;background:#f1f3e9;text-align:center}.library-empty h3{font:400 30px/1.25 Georgia,serif;margin:12px 0;color:#314b36}.library-empty p{font-size:14px;color:#5b6957;max-width:450px;margin:0 auto 22px;line-height:1.7}.empty-moon{display:flex;align-items:center;justify-content:center;margin:auto;width:64px;height:64px;background:#e3ead6;color:#42643c;border-radius:50%;font-size:38px}.library-loading{font-size:13px;padding:12px 16px;margin:0 0 16px;border-radius:8px;background:#eaf0df;color:#3e5a35}.library-loading:before{content:'';display:inline-block;width:10px;height:10px;border:2px solid #a6b398;border-top-color:#395331;border-radius:50%;margin-right:10px;vertical-align:-2px;animation:luna-spin .8s linear infinite}@keyframes luna-spin{to{transform:rotate(360deg)}}
#notice:not(:empty){padding:15px 18px;border:1px solid #c7d6b9;background:#edf2e3;border-radius:10px;line-height:1.65;font-size:14px;margin:0 0 24px}#notice.error{background:#fff0e5;border-color:#e7c7aa;color:#7c381c}.error{color:#8c3e20}#login{max-width:430px;margin:20px auto 80px;padding:32px;background:#fffefa;border:1px solid #d8dfcd;border-radius:20px;box-shadow:0 15px 50px #213c2510}#login h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:24px}#login label{font-size:14px;line-height:1.6;margin:16px 0;color:#40543f}#login input{min-height:48px;margin-top:6px;border-color:#bfcdb4;background:#fafbf6}#login>.button{width:100%;margin-top:10px}
/* Preserve the existing exact-version editor, dialogs and home navigation. */
#processing-section,#empty-review,#ready-section>.section-heading{display:none!important}#ready-section,#footage-detail{display:none!important}.show-edit #footage-home,.show-edit #drop-zone,.show-edit .page-heading{display:none}.show-edit #footage-detail,.show-edit #ready-section{display:block!important}.show-edit .review-card:not(.active-edit){display:none}.show-edit .review-group{margin:0}.show-edit .alternatives{display:contents}.show-edit .alternatives>summary{display:none}#footage-detail{margin:0 auto 26px;max-width:1040px}#footage-detail>.button{min-height:44px;margin-bottom:8px}#footage-detail>h2{font:400 37px/1.2 Georgia,serif;letter-spacing:-1px;overflow-wrap:anywhere;margin:18px 0 14px}#footage-detail>.library-status{position:static;font-size:13px}.footage-notes{margin-top:24px;background:#fffefa;padding:26px;border:1px solid #d8dfcd;border-radius:16px;line-height:1.8}.footage-notes h3{font:400 26px Georgia,serif}.footage-notes p{font-size:14px;overflow-wrap:anywhere}.show-edit .review-card{max-width:1040px;margin:0 auto 28px;box-shadow:0 8px 32px #223c2b0a;border-radius:18px}.review-details{padding:28px}.review-details h3{font-size:29px}.reason{font-size:13px;line-height:1.7}.post-meta{font-size:12px;line-height:1.6}.caption-label{font-size:10px;letter-spacing:1.3px;color:#65735e}.caption{font-size:15px;line-height:1.8}.review-details .button{min-height:46px;font-size:13px}.approval-note{font-size:12px;line-height:1.7;color:#5d6c56}.trial-choice{font-size:13px;line-height:1.65;align-items:flex-start}.trial-choice input{width:18px;height:18px;min-width:18px;margin-top:2px}.cover-row strong{font-size:13px}.cover-row small{font-size:12px}.cover-row img{width:42px;height:56px}.source-details,.download-actions{font-size:13px}details summary{font-size:13px;min-height:44px;line-height:1.6;padding:12px 0}.schedule-choice summary{font-size:13px}.video-panel video{max-height:720px}.caption-editor textarea,textarea{font-size:15px;line-height:1.7}.review-details .text-button{font-size:13px;min-height:44px}.secondary-actions{gap:10px}.instagram-link{font-size:14px}.cover-row{min-height:76px}
dialog{padding:28px;border-radius:18px;width:min(540px,calc(100vw - 32px));max-height:88dvh;overflow:auto}dialog .dialog-heading h2{font-size:30px}dialog p,dialog label{font-size:14px;line-height:1.7}.dialog-heading .icon-button{min-width:44px;width:44px;height:44px;font-size:25px}.dialog-actions{gap:12px}.activity-entry{font-size:14px;padding:14px 0}#activity-dialog{width:min(720px,calc(100vw - 32px))}.activity-entry img{width:65px;height:85px}.activity-entry summary{font-size:14px;font-weight:600}.activity-entry .button{margin:8px 8px 0 0}.file-row{padding:18px;font-size:14px}.file-row strong{font-size:14px}.file-row small{font-size:13px;line-height:1.5}.file-row>div{flex:1}progress{height:7px;accent-color:#456e3d}
#studio-context{margin:36px 0 0;padding:18px 0;border-top:1px solid #d4ddc8;border-bottom:1px solid #d4ddc8}#studio-context>summary{font-size:14px;font-weight:600;color:#3e5d37;min-height:44px}#studio-context .side-column{display:grid!important;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}.show-edit #studio-context{display:none}.side-card{padding:24px;border-radius:14px}.side-card h2{font-size:18px}.side-card .muted,.empty-text,.result-metrics,.results-note,.scheduled-item strong,.scheduled-item span{font-size:13px;line-height:1.7}.side-card .schedule-rule,.scheduled-item small{font-size:12px;line-height:1.7}.quiet-promise p{font-size:12px}.site-footer{margin-top:0;padding:27px 0;font-size:12px;color:#64745d;gap:20px}.site-footer span:first-child{font-size:18px;color:#4e6b46}#logout{font-size:13px;min-height:44px;margin-bottom:22px}
@media(min-width:1500px){main{padding-top:54px}.upload-card{min-height:0}}
@media(max-width:1100px){#footage-items{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{display:block}.workspace-state{margin-top:20px}main,.site-header{padding-left:28px;padding-right:28px}.footage-preview video{height:310px}.review-details{padding:24px}}
@media(max-width:650px){.site-header{padding:16px 18px;flex-wrap:nowrap;gap:8px}.brand{font-size:25px;gap:8px}.brand-light{font-size:17px}.brand-mark,.brand-mark svg{width:30px;height:30px}.header-actions{gap:5px;flex-wrap:nowrap}.header-actions #all-videos-button{display:none}.header-actions .icon-button{width:42px;min-width:42px;padding:8px}.activity-label{display:none}.header-actions .button{font-size:0;min-width:44px;width:44px;min-height:44px;padding:8px;gap:0;border-radius:10px}.header-actions .button>span{font-size:24px!important;line-height:1}.header-actions .button:focus-visible{outline-offset:2px}main{padding:30px 18px 0}.page-heading{margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.6px;margin-bottom:15px}h1{font-size:45px;letter-spacing:-1.9px;line-height:1.05;margin-bottom:16px}.intro{font-size:14px;line-height:1.7;max-width:450px}.workspace-state{font-size:11px;white-space:normal;margin-top:17px;padding:9px 11px}.upload-card,.upload-card.compact-upload{display:grid;grid-template-columns:1fr auto;gap:18px 12px;padding:23px 21px;border-radius:16px;margin:0 0 32px}.upload-card .upload-symbol{display:none}.upload-copy{grid-column:1/-1}.upload-copy h2,.upload-card.compact-upload .upload-copy h2{font-size:26px}.upload-copy p{font-size:13px}.upload-copy>span{font-size:11px}.upload-card>.button,.upload-card.compact-upload>.button{grid-column:1;grid-row:2;justify-self:start;min-height:46px;font-size:13px;padding:12px 18px;margin:0}.upload-card>.upload-limit{grid-column:2;grid-row:2;font-size:10px;text-align:right;max-width:110px;line-height:1.7;margin:0;align-self:center}#footage-heading{font-size:27px;letter-spacing:-.7px;gap:8px}#footage-count{font-size:10px;padding:7px 8px}#footage-refresh{font-size:12px;padding:10px}.footage-summary{font-size:12px;margin-bottom:18px}#footage-filters{flex-wrap:nowrap;overflow-x:auto;gap:5px;padding:3px 3px 14px;scrollbar-width:thin;scroll-padding:8px}.footage-filter{flex:none;white-space:nowrap;min-height:44px;padding:11px 14px;font-size:12px}.manual-post-note{font-size:11px;line-height:1.7;padding-bottom:18px}#footage-items{grid-template-columns:1fr;gap:22px}.footage-card{border-radius:16px}.footage-preview video{height:310px}.library-status{font-size:11px;padding:7px 10px}.footage-body{padding:22px}.footage-date{font-size:11px}.footage-body h3{font-size:18px}.footage-body h4{font-size:25px}.footage-note{font-size:13px}.footage-body>.button,.footage-body>.watermark-download{font-size:13px;min-height:48px}.watermark-note,.watermark-message{font-size:12px}.route-note{font-size:12px}.footage-body>.trash-action{font-size:13px;min-height:44px}.library-empty{padding:36px 22px}.library-empty h3{font-size:28px}.library-empty p{font-size:13px}.trash-feedback{font-size:13px;padding:13px 16px}.show-edit main{padding-top:22px}#footage-detail>h2{font-size:31px}.review-details{padding:23px}.review-details h3{font-size:28px}.review-details .reason{font-size:13px}.review-details .caption{font-size:15px}.review-details .approval-note{font-size:12px}.video-panel video{max-height:470px}.trial-choice{font-size:13px}.review-details .secondary-actions{grid-template-columns:1fr 1fr}.dialog-heading h2{font-size:27px!important}dialog{padding:22px}.dialog-actions .button{padding:12px 15px}#studio-context{margin-top:28px}#studio-context .side-column{grid-template-columns:1fr;gap:16px}.site-footer{font-size:11px;line-height:1.6;padding:24px 0;align-items:flex-start}.site-footer span:first-child{font-size:16px}.site-footer span:last-child{max-width:150px}.file-row strong{font-size:13px}#login{padding:25px;margin-top:8px}#login h1{font-size:37px}}
@media(max-width:370px){main{padding-left:14px;padding-right:14px}.site-header{padding-left:14px;padding-right:14px}.brand-light{font-size:15px}.brand{font-size:23px}h1{font-size:40px}.upload-card{padding:20px 18px}.footage-body{padding:19px}#footage-heading{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.footage-preview>.library-status{padding:7px 10px;color:#515e25}.footage-preview>.library-status.ready{color:#365528}.footage-preview>.library-status.attention{color:#894016}.footage-preview>.library-status.posted{color:#28583e}.footage-preview>.library-status.quiet,.footage-preview>.library-status.trash{color:#5c6254}.footage-preview>.preview-loading{position:absolute;bottom:45px;left:14px;margin:0;padding:5px 8px;border-radius:5px;background:#152e24dc;color:#fffefa;font-size:11px;line-height:1.5;pointer-events:none}.strategist-action:disabled{background:transparent;border-color:transparent;justify-content:flex-start;padding:8px 0;min-height:32px;font-size:12px}.strategist-action[data-state=sent]:disabled:before{content:'✓';font-size:13px}.strategist-action[data-state=aside]:disabled:before{content:'—';font-size:13px}
.footage-body>.footage-details-action.secondary{min-height:44px}
@media(max-width:650px){.site-header{padding-top:12px;padding-bottom:12px}main{padding-top:25px}.page-heading{position:relative;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.1px;margin-bottom:19px}h1{font-size:38px;letter-spacing:-1.6px;line-height:1.05;margin-bottom:14px}.page-heading>.workspace-state{position:absolute;top:-6px;right:0;margin:0;font-size:9px;padding:6px 8px}.intro{font-size:13px;line-height:1.65}.upload-card,.upload-card.compact-upload{padding:21px 20px;gap:14px 10px;margin-bottom:28px}.upload-copy h2,.upload-card.compact-upload .upload-copy h2{font-size:24px}.upload-copy>span{display:none}.upload-copy p{font-size:12px}.footage-summary{margin-bottom:15px}}@media(max-width:370px){h1{font-size:32px;letter-spacing:-1.3px}.page-heading>.workspace-state{position:static;margin-top:12px;font-size:10px}}
.strategist-action[data-state=sent]:disabled:before{content:"";width:6px;height:6px;border-radius:50%;background:#648157}.strategist-action[data-state=aside]:disabled:before{content:"";width:8px;height:1px;background:#71806b}
