@font-face{font-family:Geist;src:url('/fonts/geist.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:'Geist Mono';src:url('/fonts/geist-mono.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f5f5f3;--panel:#fff;--ink:#212321;--muted:#7a7d79;--line:#e2e3df;--accent:#315cf5;--soft:#eef1ff;--radius:8px;color-scheme:light;font-synthesis:none}*{box-sizing:border-box}html{height:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:Geist,Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none;cursor:pointer}button:disabled{opacity:.35;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:580;letter-spacing:-.025em}button,a{touch-action:manipulation}img{display:block;width:100%;height:100%;object-fit:cover}ul{margin:0;padding:0}.icon{display:block;width:17px;height:17px;flex-shrink:0}.brand{display:flex;align-items:center;gap:9px;font-weight:730;font-size:19px;letter-spacing:-.9px;white-space:nowrap;flex-shrink:0}.brand>span:not(.brand-dot){font-weight:350;color:#969a94;font-size:17px;letter-spacing:0}.brand-dot{height:5px;width:5px;background:var(--accent);border-radius:100%;margin:0 2px 0 -5px}.toolbar-divider{width:1px;height:22px;background:var(--line);flex-shrink:0}.library-toolbar,.context-toolbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 26px}.library-toolbar{position:sticky;top:0;z-index:10}.toolbar-controls{display:flex;align-items:center;gap:10px;flex:1;min-width:0}select,input,textarea{color:var(--ink);border:1px solid var(--line);border-radius:5px;background:#fff}select{height:34px;padding:0 29px 0 10px;font-size:12px;max-width:100%;cursor:pointer}#kind-filter{border-color:transparent;font-size:13px;font-weight:570;padding-left:0}#category-filter{max-width:220px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:5px;height:34px;max-width:290px;min-width:130px;flex:1;margin-left:auto;padding-left:10px;color:#949891;background:#fafbf9}.search-field input{min-width:0;width:100%;border:0;background:none;padding:0 10px 0 0;outline:none;height:100%;font-size:12px}.search-field:focus-within{outline:2px solid #315cf533;outline-offset:1px;border-color:#abb9ef}.search-field input:focus-visible{outline:none}.search-field .icon{width:15px;height:15px}#sort-filter{border-color:transparent;background:transparent;padding-left:8px;color:#62675f}.result-count{min-width:55px;color:var(--muted);font-size:11px;text-align:right;white-space:nowrap}.library-main{padding:22px 26px 30px}.catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 18px;align-items:start}.catalog-card{display:block;text-align:left;padding:0;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s}.catalog-card:hover{border-color:#bdc1ba;box-shadow:0 4px 18px #1524170b;transform:translateY(-2px)}.catalog-card.is-active{border-color:#b0bcf4;box-shadow:0 0 0 1px #315cf508}.catalog-image{display:block;position:relative;aspect-ratio:16/10;background:#e8eae5;overflow:hidden}.catalog-image>img{transition:transform .3s}.catalog-card:hover .catalog-image>img{transform:scale(1.025)}.active-pill{position:absolute;top:10px;left:10px;display:flex;align-items:center;gap:5px;padding:4px 8px;border-radius:4px;background:#fff;color:#3153cd;box-shadow:0 1px 4px #0000000a;font-size:10px;font-weight:580}.active-pill i{height:4px;width:4px;background:var(--accent);border-radius:50%}.card-action{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:27px;height:27px;background:#ffffffed;border:1px solid #ffffff9c;border-radius:50%;opacity:0;transform:translateY(3px);transition:opacity .15s,transform .15s}.catalog-card:hover .card-action,.direction-image:hover .card-action{opacity:1;transform:none}.card-action .icon{width:14px;height:14px}.catalog-body{padding:12px 13px 14px;display:block;height:86px}.catalog-category{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.45;font-weight:550;letter-spacing:-.015em}.empty-state{padding:60px 20px;text-align:center;color:var(--muted);grid-column:1/-1}.empty-state h2{font-size:15px;color:var(--ink);margin-bottom:5px}.empty-state p{font-size:12px}.context-toolbar{height:58px;gap:20px}.context-toolbar .brand{font-size:17px}.breadcrumbs{display:flex;align-items:center;gap:11px;min-width:0;font-size:12px;flex:1;white-space:nowrap}.breadcrumbs>a{color:#777c74}.breadcrumbs>a:hover{color:var(--accent)}.breadcrumbs>span{color:#bcc0b7}.breadcrumbs strong{font-weight:520;overflow:hidden;text-overflow:ellipsis}.product-crumb{max-width:260px;overflow:hidden;text-overflow:ellipsis}.direction-switcher{border:0;background:transparent;font-weight:550;font-size:12px;min-width:0;max-width:320px;padding-left:0}.toolbar-tail{margin-left:auto;display:flex;gap:10px;flex-shrink:0}.status-select{font-size:10px;height:29px;border-color:#e1e5dd;border-radius:5px;background:#fafbf8;max-width:168px}.product-nav,.direction-nav{height:46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 26px;background:#fff;gap:20px}.tabs{height:100%;display:flex;align-items:stretch;gap:26px}.tab{position:relative;padding:0;font-size:12px;color:var(--muted);font-weight:480;white-space:nowrap}.tab.selected{color:var(--ink);font-weight:590}.tab.selected:after{position:absolute;content:'';height:2px;background:var(--ink);bottom:-1px;left:0;right:0}.tab>span{font-size:9px;background:#f0f1ed;border:1px solid #e3e4df;border-radius:4px;padding:1px 4px;margin-left:4px}.product-note,.direction-meta{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px;white-space:nowrap}.product-note{color:#656b61}.product-note>span,.direction-meta>span{color:#b7bcb2}.product-main{padding:24px 26px}.directions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.direction-card{border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden;min-width:0}.direction-image{display:block;padding:0;width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#e9ebe6}.direction-image>img{transition:transform .3s}.direction-image:hover>img{transform:scale(1.03)}.direction-number,.image-time{position:absolute;top:10px;font-size:10px;font-weight:500;background:#11171388;color:#fff;padding:3px 7px;border-radius:3px;backdrop-filter:blur(6px)}.direction-number{left:10px}.image-time{right:10px}.direction-card-body{padding:15px 15px 0}.direction-title{display:block;text-align:left;padding:0;font-size:16px;font-weight:580;line-height:1.35;letter-spacing:-.035em;min-height:44px}.direction-title:hover{color:var(--accent)}.direction-card-body>p{margin:10px 0 18px;font-size:11px;line-height:1.65;color:#787d72;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;height:55px}.direction-card-bottom{border-top:1px solid var(--line);margin:0 -15px;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:var(--muted)}.status{display:inline-flex;gap:6px;align-items:center;font-size:10px;color:#6d7568;white-space:nowrap}.status-dot{width:5px;height:5px;background:#b2b9a9;border-radius:50%}.status-dot.approved{background:#2f9962}.reference-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.reference-tile{min-width:0;padding:0;text-align:left;border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden}.reference-frame{display:block;aspect-ratio:4/3;background:#e6e9e2}.original-frame img{object-position:center 55%}.reference-label{display:block;font-size:12px;font-weight:540;padding:13px}.reference-label small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;min-width:0;overflow:hidden}.panel-title{height:52px;padding:0 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0}.panel-title h2{font-size:13px;font-weight:570}.panel-title>span{font-size:10px;color:var(--muted)}.panel-scroll{overflow:auto;padding:20px;min-height:0;scrollbar-width:thin;scrollbar-color:#daddd5 transparent}.planning-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(400px,1.65fr);gap:22px;max-width:1400px}.budget-stats{display:flex;padding:21px 20px;gap:20px;justify-content:space-between}.budget-stats>div{display:flex;flex-direction:column}.budget-stats strong{font-size:29px;font-weight:570;letter-spacing:-1.5px}.budget-stats span{font-size:10px;color:var(--muted)}.estimate-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px}.estimate-fields label{display:flex;flex-direction:column;font-size:11px;gap:6px;color:#6c7366}.estimate-fields input{height:36px;padding:6px 10px;width:100%}.estimate-presets{display:flex;gap:7px;padding:12px 20px}.estimate-presets button{border:1px solid var(--line);background:#fafbf8;border-radius:4px;padding:5px 8px;font-size:10px;color:#6c7366}.estimate-presets button:hover{border-color:#a5b4ef;color:var(--accent)}#estimate-result{padding:6px 20px 12px}.estimate-line{display:flex;justify-content:space-between;padding:8px 0;gap:15px;font-size:12px}.estimate-line+ .estimate-line{border-top:1px solid var(--line);color:var(--muted)}.estimate-line strong{font-weight:550;color:var(--ink)}.estimate-line.over-budget,.estimate-line.over-budget strong{color:#bd4536}.fineprint{font-size:10px;line-height:1.7;color:var(--muted)}.budget-panel>.fineprint{padding:10px 20px 20px}.readiness-row{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;gap:10px;border-bottom:1px solid #eceee9}.readiness-row>button{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:520;padding:0;text-align:left}.readiness-row>button>span{font-family:'Geist Mono',monospace;color:#9ca291;font-size:10px}.readiness-row>button:hover{color:var(--accent)}.planning-copy{padding:18px 20px;font-size:11px;line-height:1.8;color:var(--muted)}.direction-workspace{height:calc(100dvh - 104px);min-height:420px;padding:16px 20px 20px}.shot-workspace{height:100%;display:grid;grid-template-columns:236px minmax(0,1fr);gap:16px;min-height:0}.shot-rail{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;background:#fff;min-height:0;overflow:hidden}.rail-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:540;color:#757a72;height:40px;padding:0 14px;border-bottom:1px solid var(--line);flex-shrink:0}.rail-label>span{font-size:10px;color:#9ca297}.shot-rail-list{overflow:auto;padding:7px;scrollbar-width:thin;scrollbar-color:#daddd5 transparent}.shot-pick{width:100%;padding:11px 10px;border:1px solid transparent;border-radius:5px;text-align:left;margin-bottom:4px;display:block}.shot-pick:hover{background:#f6f7f4}.shot-pick.selected{background:var(--soft);border-color:#d9e0ff}.shot-pick-meta{display:flex;align-items:center;gap:10px;color:#9a9f94;font-size:9px;font-family:'Geist Mono',monospace;margin-bottom:6px}.shot-pick-meta>span:first-child{font-weight:600;color:#767e6d}.shot-pick-meta>span:last-child{margin-left:auto}.shot-pick.selected .shot-pick-meta,.shot-pick.selected .shot-pick-meta>span:first-child{color:#5772d6}.shot-pick strong{font-size:12px;font-weight:550;line-height:1.4;display:block}.shot-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:10px;color:#8c9285;line-height:1.45}.shot-stage{border:1px solid var(--line);border-radius:8px;background:#fff;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}.selected-shot-header{display:flex;align-items:center;gap:15px;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.shot-context-image{width:112px;height:63px;position:relative;flex-shrink:0;padding:0;border-radius:4px;overflow:hidden}.shot-context-image>span{position:absolute;bottom:0;left:0;right:0;background:#12171399;color:#fff;text-align:center;font-size:7px;padding:3px;backdrop-filter:blur(3px)}.eyebrow{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:7px;letter-spacing:.025em}.eyebrow>span{color:#bbc2af}.selected-shot-title{min-width:0}.selected-shot-title h1{font-size:21px;line-height:1.2;margin-top:7px;letter-spacing:-.045em}.shot-actions{display:flex;align-items:center;gap:5px;margin-left:auto;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid transparent;border-radius:4px;color:#81877a;padding:0}.icon-button:hover:not(:disabled){border-color:var(--line);background:#f5f6f2;color:var(--ink)}.button{height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dfe2da;border-radius:5px;background:#fff;padding:0 10px;font-size:11px;font-weight:480;white-space:nowrap}.button .icon{width:14px;height:14px}.button:hover:not(:disabled){background:#f4f5f1;border-color:#c9cec2}.button.primary{background:var(--accent);border-color:var(--accent);color:white}.button.primary:hover{background:#214bdf;border-color:#214bdf}.shot-actions .button{margin-left:7px}.shot-detail-scroll{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#daddd5 transparent}.shot-detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:0;padding:0 20px}.detail-block{padding:16px 15px 16px 0;border-bottom:1px solid #eceee9}.detail-block:nth-child(2n){padding-left:20px;padding-right:0;border-left:1px solid #eceee9}.detail-block:nth-last-child(-n+2){border-bottom:0}.detail-block h2{font-size:10px;color:#7b8078;line-height:1.4;font-weight:560;margin-bottom:6px;letter-spacing:0}.detail-block p{font-size:12px;color:#41443f;line-height:1.65;overflow-wrap:anywhere}.detail-subblock+ .detail-subblock{margin-top:13px}.shot-timeline{display:flex;gap:5px;border-top:1px solid var(--line);padding:11px 14px;background:#fcfdfa;flex-shrink:0;min-height:67px;overflow:auto;scrollbar-width:thin}.timeline-segment{flex-basis:0;min-width:62px;text-align:left;border:1px solid #e4e7df;border-top:2px solid #dbe0d3;background:#f6f7f4;border-radius:3px;padding:5px 7px;overflow:hidden;white-space:nowrap}.timeline-segment:hover{background:#f0f2eb}.timeline-segment.selected{background:#eef1ff;border-color:#d2dbff;border-top-color:var(--accent)}.timeline-segment>strong{font-size:9px;font-weight:550;display:block;color:#77816b;overflow:hidden;text-overflow:ellipsis}.timeline-segment>strong>span{font-weight:450;margin-left:3px}.timeline-segment>small{font-size:8px;color:#9fa894;display:block;margin-top:2px;font-family:'Geist Mono',monospace}.timeline-segment.selected>strong,.timeline-segment.selected>small{color:#506bcf}.script-layout{height:100%;display:grid;grid-template-columns:1.2fr 1fr;gap:16px;min-height:0}.script-main,.voice-panel,.notes-panel{display:flex;flex-direction:column;min-height:0}.script-side{display:grid;grid-template-rows:minmax(160px,40%) minmax(0,1fr);gap:16px;min-height:0}.prose{font-size:12px;line-height:1.85;color:#50554b}.prose p+p{margin-top:17px}.note-bullets{padding-left:15px;color:#646b5e;font-size:12px;line-height:1.8}.note-bullets li+li{margin-top:12px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:20px}.tags>span{border:1px solid var(--line);background:#f7f8f4;border-radius:4px;color:#7e8774;font-size:9px;padding:3px 7px}.direction-references{height:100%;display:grid;grid-template-columns:1.7fr 1fr;gap:16px;min-height:0}.reference-large{display:flex;flex-direction:column;min-height:0}.reference-large>button{padding:0;flex:1;overflow:hidden;min-height:0;background:#e8ebe3}.reference-large img{object-fit:contain}.reference-caption{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.reference-caption>strong{font-size:12px;font-weight:540}.reference-caption>span{font-size:10px;color:var(--muted)}.reference-notes{display:flex;flex-direction:column;min-height:0}.source-reference{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:5px;padding:10px;margin:22px 0 12px;width:100%;text-align:left}.source-reference>img{width:48px;height:58px;flex-shrink:0;border-radius:3px}.source-reference>span{font-size:11px;font-weight:500;flex:1}.source-reference small{display:block;margin-top:4px;font-size:10px;color:var(--muted);font-weight:400}.source-reference .icon{width:14px;color:#9aa68b}.review-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;height:100%;min-height:0}.review-notes{display:flex;flex-direction:column;min-height:0}.review-note{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.review-note:first-child{padding-top:0}.review-note>div{flex:1;min-width:0}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e9edf9;color:#4765ba;font-size:9px;font-weight:560;flex-shrink:0}.avatar-glimm{background:#ecf0e5;color:#6a7b51}.note-meta{display:flex;gap:12px;align-items:center}.note-meta strong{font-size:11px;font-weight:550}.note-meta time{font-size:10px;color:var(--muted)}.review-note p{font-size:12px;line-height:1.7;color:#5d6556;margin-top:6px;overflow-wrap:anywhere}.review-compose{align-self:start}.compose-body{padding:20px}.compose-body>.button{margin-left:auto;display:flex}.form-field{font-size:11px;color:#79816f;display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.form-field input,.form-field textarea,.form-field select{padding:9px 10px;line-height:1.6;width:100%;font-size:12px;background:#fdfdfb}.form-field select{padding:0 10px}.form-field textarea{resize:vertical;min-height:65px}.form-field input{height:37px}.form-error{font-size:11px;color:#b34132;white-space:normal}.compose-body>.form-error{margin-bottom:10px}.prompts-layout{height:100%;max-width:1100px;margin:auto}.prompt-panel{height:100%;display:flex;flex-direction:column;min-height:0}.prompt-title{height:57px}.clip-switch{display:flex;gap:5px}.clip-switch>button{border:1px solid transparent;border-radius:5px;display:flex;gap:14px;align-items:center;padding:6px 10px;font-size:12px;color:#8a967c}.clip-switch>button>span{font-size:10px;opacity:.7}.clip-switch>button.selected{background:var(--soft);border-color:#dbe2ff;color:#405fc1}.prompt-purpose{font-size:16px;font-weight:540;margin-bottom:18px}.prompt-text{font-size:13px;line-height:1.9;color:#535b4d;white-space:pre-wrap;overflow-wrap:anywhere;max-width:900px}.panel-foot{border-top:1px solid var(--line);padding:12px 20px;font-size:10px;color:var(--muted);margin-top:auto}.dialog{border:1px solid var(--line);padding:0;width:460px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 44px);border-radius:10px;color:var(--ink);box-shadow:0 25px 90px #14230c38;background:white;overflow:auto}.dialog::backdrop{background:#17260f55;backdrop-filter:blur(4px)}.dialog-wide{width:930px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:1}.dialog-heading h2{font-size:17px}.dialog-heading p{font-size:11px;color:var(--muted);margin-top:3px}.dialog-footer{padding:15px 24px;border-top:1px solid var(--line);display:flex;gap:9px;justify-content:flex-end;align-items:center;background:white;position:sticky;bottom:0}.dialog-footer>.form-error{margin-right:auto}.coming-soon-image{aspect-ratio:16/9;max-height:270px;background:#eef1e8}.coming-soon-copy{padding:21px 24px}.coming-soon-copy h3{font-size:18px;line-height:1.3}.coming-soon-copy>p{font-size:12px;line-height:1.75;color:#7a8270;margin-top:10px;max-height:150px;overflow:auto}.dialog-form-scroll{padding:22px 24px 8px;max-height:calc(100dvh - 208px);overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.shot-form-top{grid-template-columns:3fr 1fr}.preview-wrap{background:#f1f3ed;padding:15px}.preview-image{object-fit:contain;max-height:calc(100dvh - 182px);height:auto;width:100%}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#242c1d;color:#f6f9f1;border:1px solid #48533b;border-radius:6px;padding:10px 16px;font-size:12px;z-index:100;transition:opacity .2s,transform .2s;box-shadow:0 8px 24px #17260b22;max-width:calc(100vw - 40px)}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#933b2f;border-color:#ac594d}.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:20px}.loading-screen h1{font-size:20px}.loading-screen>p{font-size:12px;color:var(--muted)}.loading-screen .brand{font-size:28px}.image-unavailable{font-size:10px;line-height:1.5;color:#869477;text-align:center;padding:20px;object-fit:contain}.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}
@media(min-width:1800px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.directions-grid{max-width:1600px}.direction-workspace{padding:20px 26px 26px}.selected-shot-header{padding:20px 25px}.shot-detail-grid{padding:0 25px}.detail-block{padding-top:22px;padding-bottom:22px}.detail-block p{font-size:14px}.detail-block h2{font-size:11px}}
@media(max-width:1399px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.library-toolbar{gap:18px}#category-filter{max-width:190px}.context-toolbar{gap:16px}.product-crumb{max-width:220px}.selected-shot-header{gap:12px;padding:14px 16px}.selected-shot-title h1{font-size:19px}.shot-detail-grid{padding:0 16px}.detail-block{padding-top:13px;padding-bottom:13px}.detail-block:nth-child(2n){padding-left:16px}.detail-block p{font-size:12px}.shot-context-image{width:96px;height:58px}.shot-actions .button{margin-left:2px}.direction-title{font-size:15px}.shot-workspace{grid-template-columns:220px minmax(0,1fr)}.reference-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1099px){.library-toolbar,.context-toolbar{padding-left:20px;padding-right:20px;gap:16px}.library-toolbar .brand{font-size:17px}.toolbar-controls{gap:6px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-main,.product-main{padding:20px}.search-field{max-width:230px}#category-filter{max-width:160px}.result-count{display:none}.product-crumb{max-width:180px}.direction-switcher{max-width:240px}.directions-grid{gap:13px}.direction-card-body{padding:12px 12px 0}.direction-card-bottom{margin:0 -12px;padding:10px 12px}.direction-card-bottom>span:last-child{display:none}.direction-title{font-size:14px}.direction-card-body>p{font-size:10px}.direction-workspace{padding:14px}.shot-workspace{grid-template-columns:196px minmax(0,1fr);gap:12px}.shot-context-image{width:74px;height:54px}.selected-shot-title h1{font-size:17px}.shot-actions{gap:1px}.shot-actions .button{font-size:0;padding:0;width:29px}.shot-actions .button .icon{width:14px}.selected-shot-header{gap:10px;padding:13px}.shot-detail-grid{padding:0 13px}.detail-block p{font-size:11px;line-height:1.6}.breadcrumbs{gap:8px}.context-toolbar .toolbar-divider{display:none}.reference-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.planning-layout{grid-template-columns:1fr 1.25fr;gap:15px}.readiness-row{padding:17px 15px}.readiness-row>button{font-size:11px;gap:8px}.readiness-row .status-select{max-width:135px}.direction-references{grid-template-columns:1.3fr 1fr}.reference-caption{display:block;padding:13px 16px}.reference-caption>span{display:block;margin-top:3px}.panel-scroll{padding:16px}.panel-title{padding:0 16px}.review-layout{grid-template-columns:1.2fr 1fr}.budget-stats{gap:10px}.budget-stats span{font-size:9px}}
@media(max-width:800px){.library-toolbar{height:auto;min-height:64px;align-items:flex-start;padding:14px 16px;gap:15px;flex-wrap:wrap}.library-toolbar>.brand{height:32px}.library-toolbar>.toolbar-divider{display:none}.toolbar-controls{flex-wrap:wrap;gap:8px}.toolbar-controls #kind-filter{margin-right:auto}.search-field{order:4;max-width:none;flex-basis:calc(100% - 150px)}#category-filter{order:5;max-width:150px}#sort-filter{font-size:11px;max-width:116px}.library-main{padding:16px}.catalog-grid{gap:14px}.catalog-body{padding:10px;height:82px}.catalog-title{font-size:12px}.context-toolbar{padding:0 16px;gap:12px}.context-toolbar>.brand{font-size:15px;gap:6px}.context-toolbar .brand-dot{display:none}.context-toolbar .toolbar-tail{display:none}.breadcrumbs{font-size:11px;gap:7px}.product-crumb{max-width:160px}.direction-switcher{font-size:11px;max-width:220px}.product-nav,.direction-nav{padding:0 16px;gap:10px}.product-note,.direction-meta{font-size:10px}.direction-meta{display:none}.tabs{gap:23px}.tab{font-size:11px}.product-main{padding:18px 16px}.directions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.direction-title{font-size:16px;min-height:0}.direction-card-body>p{font-size:11px;height:auto;max-height:55px}.direction-card-bottom>span:last-child{display:inline}.planning-layout{grid-template-columns:1fr}.readiness-row .status-select{max-width:180px}.planning-copy{padding-bottom:22px}.direction-workspace{height:auto;min-height:calc(100dvh - 104px)}.shot-workspace{display:flex;flex-direction:column;height:auto;gap:12px}.shot-rail{max-height:none}.rail-label{display:none}.shot-rail-list{display:flex;padding:7px;gap:5px;overflow-x:auto}.shot-pick{flex-shrink:0;width:170px;margin:0;padding:8px}.shot-pick-meta{font-size:8px}.shot-pick strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shot-preview{font-size:9px}.shot-stage{min-height:500px}.selected-shot-title h1{font-size:20px}.shot-context-image{width:90px;height:58px}.shot-actions .button{font-size:10px;width:auto;padding:0 10px}.shot-detail-scroll{overflow:visible}.detail-block p{font-size:12px}.shot-detail-grid{padding:0 16px}.detail-block{padding:16px 14px 16px 0}.shot-timeline{overflow:auto;margin-top:auto}.timeline-segment{min-width:80px}.script-layout,.direction-references,.review-layout{height:auto;grid-template-columns:1fr;gap:16px}.script-main .panel-scroll{max-height:70vh}.script-side{display:flex;flex-direction:column;gap:16px}.notes-panel .panel-scroll,.voice-panel .panel-scroll,.reference-notes .panel-scroll{max-height:none}.reference-large>button{aspect-ratio:16/9}.review-notes .panel-scroll{max-height:60vh}.review-compose textarea{min-height:120px}.prompts-layout{min-height:calc(100dvh - 135px)}.prompt-panel{height:auto;min-height:calc(100dvh - 135px)}.prompt-panel .panel-scroll{max-height:none;overflow:visible}.prompt-text{font-size:12px}.prompt-purpose{font-size:15px}.reference-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-label{font-size:11px;padding:10px}.reference-label small{font-size:9px}}
@media(max-width:560px){.library-toolbar{display:block;padding:11px 14px}.library-toolbar .brand{margin-bottom:10px;position:absolute;top:14px;left:14px}.toolbar-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.toolbar-controls #kind-filter{margin-left:auto;grid-column:2;grid-row:1;max-width:125px;height:30px}.toolbar-controls #sort-filter{grid-column:2;grid-row:2;width:120px;max-width:120px;font-size:10px}.search-field{grid-column:1;grid-row:2;min-width:0;margin-left:0;max-width:none}.toolbar-controls #category-filter{grid-column:1/-1;grid-row:3;max-width:none;width:100%;height:30px;font-size:11px;background:#fafbf9}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.library-main{padding:14px}.catalog-image{aspect-ratio:1.35}.catalog-body{height:87px;padding:10px}.catalog-category{font-size:9px}.catalog-title{font-size:11px}.active-pill{top:7px;left:7px;padding:3px 5px;font-size:8px;gap:4px}.active-pill i{height:3px;width:3px}.catalog-card{border-radius:6px}.context-toolbar{height:52px;padding:0 13px}.context-toolbar>.brand{display:none}.breadcrumbs{font-size:10px;gap:7px}.breadcrumbs>.product-crumb{max-width:110px}.direction-switcher{font-size:10px;padding-right:18px;max-width:calc(100vw - 200px)}.breadcrumbs strong{max-width:calc(100vw - 90px)}.product-nav,.direction-nav{height:43px;padding:0 14px}.tabs{gap:22px}.product-note{display:none}.tab{font-size:11px}.product-main{padding:15px 14px}.directions-grid{gap:12px}.direction-image{aspect-ratio:1.45}.direction-card-body{padding:11px 10px 0}.direction-title{font-size:13px;min-height:36px}.direction-card-body>p{font-size:10px;line-height:1.6;margin:7px 0 11px;-webkit-line-clamp:3;height:48px}.direction-card-bottom{margin:0 -10px;padding:10px}.direction-card-bottom>span:last-child{display:none}.status{font-size:9px;gap:4px}.direction-number,.image-time{font-size:8px;top:7px;padding:2px 5px}.direction-number{left:7px}.image-time{right:7px}.reference-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reference-label{font-size:10px}.reference-label small{font-size:8px}.direction-workspace{padding:10px;min-height:calc(100dvh - 95px)}.shot-rail-list{padding:5px}.shot-pick{width:150px}.shot-pick-meta{gap:6px}.selected-shot-header{padding:12px;gap:10px;flex-wrap:wrap}.shot-context-image{width:70px;height:50px}.selected-shot-title{flex:1}.selected-shot-title h1{font-size:18px;line-height:1.25}.eyebrow{font-size:8px}.shot-actions{margin-left:0;justify-content:flex-end;flex-basis:100%;margin-top:-3px}.shot-actions>.button{margin-left:auto}.selected-shot-header>.shot-actions>.icon-button{height:26px;width:26px;border-color:#e2e7d9}.shot-detail-grid{grid-template-columns:1fr;padding:0 14px}.detail-block,.detail-block:nth-child(2n){padding:14px 0;border-left:0;border-bottom:1px solid #eceee9}.detail-block:last-child{border-bottom:0}.detail-block h2{font-size:10px}.detail-block p{font-size:12px}.detail-block:nth-last-child(2){border-bottom:1px solid #eceee9}.shot-timeline{padding:9px;gap:4px}.timeline-segment{min-width:75px}.timeline-segment>strong>span{display:none}.script-main .panel-scroll{max-height:none}.panel-title{height:48px;padding:0 15px}.panel-title h2{font-size:12px}.panel-scroll{padding:15px}.prose{font-size:12px}.note-bullets{font-size:11px}.reference-large>button{aspect-ratio:1.5}.reference-caption{padding:12px 15px}.source-reference{margin-top:17px}.compose-body{padding:15px}.review-note{gap:9px}.review-note p{font-size:11px}.review-note>.icon-button{width:24px;height:24px}.avatar{width:25px;height:25px;font-size:8px}.note-meta{gap:7px}.note-meta time{font-size:9px}.note-meta strong{font-size:10px}.prompt-title{padding:0 12px;gap:6px}.clip-switch{gap:2px}.clip-switch>button{font-size:10px;padding:5px 6px;gap:6px}.clip-switch>button>span{font-size:8px}.prompt-title .button{font-size:10px;padding:0 7px}.prompt-title .button .icon{width:12px}.prompt-text{font-size:11px}.budget-stats strong{font-size:27px}.readiness-row{padding:15px;gap:10px}.readiness-row>button{font-size:10px;gap:8px}.readiness-row .status-select{max-width:130px;font-size:9px;padding-left:7px;padding-right:20px}.dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:8px}.dialog-heading{padding:17px}.dialog-heading h2{font-size:16px}.dialog-heading p{font-size:10px}.dialog-footer{padding:13px 17px;flex-wrap:wrap}.dialog-footer .form-error:not(:empty){flex-basis:100%}.dialog-form-scroll{padding:17px;max-height:calc(100dvh - 190px)}.form-grid{grid-template-columns:1fr;gap:0}.shot-form-top{grid-template-columns:2fr 1fr;gap:12px}.form-field{font-size:10px}.form-field input,.form-field textarea{font-size:12px}.coming-soon-copy{padding:18px}.coming-soon-copy h3{font-size:17px}.coming-soon-copy>p{font-size:11px}.preview-wrap{padding:8px}.preview-image{max-height:calc(100dvh - 150px)}.product-main .empty-state{padding:35px 15px}.planning-copy{font-size:10px}.fineprint{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Compact library and readable production workspace. */
@media(min-width:801px){.prose,.review-note p,.prompt-text{font-size:14px;line-height:1.75}.note-bullets{font-size:13px;line-height:1.7}}
@media(min-width:1180px) and (max-width:1799px){.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:801px){.catalog-body{height:74px;padding:10px 12px 11px}.catalog-title{font-size:13px;line-height:1.4}.catalog-category{margin-bottom:4px}.shot-pick{padding:9px 10px}.shot-pick-meta{margin-bottom:5px}.shot-pick strong{font-size:13px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.shot-preview{display:none}.selected-shot-title h1{font-size:20px}.detail-block h2{font-size:12px}.detail-block p{font-size:14px;line-height:1.6}.detail-block{padding-top:14px;padding-bottom:14px}}
/* Collection-first library: one useful toolbar, media-led collection cards. */
.collections-home .library-toolbar{gap:22px}
.kind-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #e7e8e3;border-radius:7px;background:#f5f6f2;flex-shrink:0}
.kind-switch>button{height:28px;padding:0 13px;font-size:12px;line-height:1;color:#7a8075;border:1px solid transparent;border-radius:4px}
.kind-switch>button.selected{color:#252a21;background:#fff;box-shadow:0 1px 3px #1c291014;border-color:#e1e4dc;font-weight:550}
.kind-switch>button:hover:not(.selected){color:var(--ink)}
.collections-home .search-field{max-width:300px}
.collections-home #sort-filter{font-size:11px}
.collections-home .library-main{padding-top:19px}
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}
.collection-heading h1{font-size:15px;font-weight:550;letter-spacing:-.02em}
.collection-heading h1>span{font-size:10px;vertical-align:middle;margin-left:7px;background:#eaede6;color:#818b76;font-weight:400;padding:2px 5px;border-radius:4px}
.collection-heading>span{font-size:10px;color:#969d90}
.collections-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.collection-card{display:block;min-width:0;overflow:hidden;border-radius:8px;background:#fff;border:1px solid #dde1d6;transition:box-shadow .18s,border-color .18s,transform .18s}
.collection-card:hover{border-color:#b8c1ad;box-shadow:0 4px 18px #26341b0a;transform:translateY(-2px)}
.collection-image{display:block;position:relative;height:clamp(132px,13vw,182px);background:#e6e9e0;overflow:hidden}
.collection-image>img{transition:transform .3s}
.collection-card:hover .collection-image>img{transform:scale(1.025)}
.collection-production{position:absolute;left:11px;top:11px;display:flex;align-items:center;gap:5px;border:1px solid #ffffffb3;padding:4px 7px;border-radius:4px;background:#fffffff2;color:#415fc8;font-size:9px;font-weight:520;box-shadow:0 2px 8px #14220812}
.collection-production i{height:4px;width:4px;border-radius:50%;background:#315cf5}
.collection-copy{display:block;padding:13px 14px 0}
.collection-title{display:block;font-size:14px;font-weight:560;letter-spacing:-.025em;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-description{display:block;font-size:10px;color:#909787;line-height:1.4;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-foot{display:flex;align-items:center;justify-content:space-between;margin:0 14px;padding:8px 0 11px;gap:12px;font-size:10px;color:#909787}
.collection-open{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:510;color:#5b6750;padding:4px 0 4px 8px}
.collection-open:hover{color:var(--accent)}
.collection-open>.icon{width:12px;height:12px}
.collection-toolbar{height:64px;display:flex;align-items:center;gap:16px;padding:0 26px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.collection-toolbar .brand{font-size:17px;gap:7px}
.collection-toolbar .brand-dot{width:4px;height:4px}
.collection-back{flex-shrink:0;padding:0;display:grid;place-items:center;width:28px;height:30px;border:1px solid var(--line);border-radius:5px;color:#859078}
.collection-back .icon{width:14px;height:14px}
.collection-back:hover{border-color:#bcc5b2;color:var(--ink);background:#f8f9f5}
.collection-toolbar #kind-filter{font-size:11px;font-weight:520;max-width:94px;padding-left:0;padding-right:18px;margin-right:2px}
.collection-toolbar #sort-filter{font-size:10px;max-width:104px;padding-right:18px;padding-left:0;color:#8a9380}
.collection-tabs{display:flex;align-self:stretch;align-items:stretch;flex:1;min-width:0;gap:21px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#e0e5d9 transparent;overscroll-behavior-x:contain;scroll-behavior:smooth}
.collection-tab{position:relative;white-space:nowrap;flex-shrink:0;padding:0;font-size:11px;color:#8a9380}
.collection-tab:hover{color:#2c3425}
.collection-tab.selected{color:#252e1d;font-weight:560}
.collection-tab.selected:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#252e1d}
.collection-library .library-main{padding-top:15px}
.library-grid-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:#8b9480;font-size:10px;line-height:1.4}
.library-grid-meta>.result-count{display:block;min-width:0;font-size:10px}
.collection-library .catalog-card.is-active{border-color:#93a8f1;box-shadow:0 0 0 1px #315cf50d}
.collection-library .catalog-card.is-active .catalog-title{color:#314a96}
@media(min-width:1600px){.collections-grid{gap:22px}.collections-home .library-main{padding-top:22px}.collection-image{height:190px}.collection-copy{padding-top:15px}.collection-title{font-size:15px}.collection-description{font-size:11px}.collection-foot{padding-bottom:13px}}
@media(max-width:1199px){.collection-toolbar{gap:12px}.collection-toolbar .brand{font-size:15px}.collection-tabs{gap:17px}.collection-tab{font-size:10px}.collection-toolbar #sort-filter{max-width:96px;font-size:9px}.collections-home .library-toolbar{gap:16px}.collections-home .search-field{max-width:260px}.collection-title{font-size:13px}.collection-description{font-size:9px}.collection-image{height:clamp(120px,14vw,166px)}}
@media(max-width:899px){.collections-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.collection-image{height:160px}.collections-home .library-toolbar{gap:13px}.collections-home .toolbar-divider{display:none}.collections-home .search-field{max-width:none}.kind-switch>button{padding:0 9px;font-size:11px}.collection-toolbar{padding:0 20px;gap:12px}.collection-toolbar>.brand{display:none}.collection-tabs{gap:20px}.collection-tab{font-size:11px}.collection-toolbar #kind-filter{font-size:11px;max-width:90px}.collection-toolbar #sort-filter{max-width:96px;font-size:10px}}
@media(max-width:800px){.collections-home .library-toolbar{height:64px;min-height:64px;flex-wrap:nowrap;align-items:center;padding:0 16px;gap:12px}.collections-home .library-toolbar>.brand{height:auto;font-size:16px}.collections-home .search-field{order:0;flex-basis:auto;min-width:100px;margin-left:auto}.collections-home .search-field input{font-size:11px}.collections-home #sort-filter{font-size:10px;max-width:106px}.collections-home .library-main{padding:17px 16px}.collection-heading{margin-bottom:14px}.collection-heading>span{font-size:9px}.collection-toolbar{height:60px;padding:0 16px}.collection-tabs{scrollbar-width:none}.collection-tabs::-webkit-scrollbar{display:none}.collection-tab{font-size:10px}.collection-library .library-main{padding:14px 16px}.collection-description{font-size:9px}.collection-title{font-size:13px}}
@media(max-width:660px){.collections-home .library-toolbar{height:auto;min-height:100px;flex-wrap:wrap;padding:12px 14px;gap:10px 12px}.collections-home .library-toolbar>.brand{position:static;margin:0;font-size:17px;height:30px;margin-right:auto}.collections-home .kind-switch{margin-left:auto}.collections-home .search-field{order:3;flex-basis:calc(100% - 125px);height:32px;margin-left:0}.collections-home #sort-filter{order:4;height:32px;max-width:113px}.collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.collection-image{height:150px}.collection-description{font-size:9px}.collection-copy{padding:11px 11px 0}.collection-foot{margin:0 11px;padding-bottom:9px}.collection-heading>span{max-width:130px;text-align:right;line-height:1.5}.collection-toolbar{height:56px;padding:0 12px;gap:10px}.collection-toolbar #kind-filter{max-width:82px;font-size:10px}.collection-toolbar #sort-filter{display:none}.collection-back{height:28px;width:26px}.collection-tabs{gap:20px}.collection-tab{font-size:10px}.collection-library .library-main{padding:13px 14px}.collection-library .catalog-body{height:80px}.collection-title{font-size:12px}.collection-production{font-size:8px;padding:3px 5px;top:8px;left:8px}}
@media(max-width:400px){.collection-image{height:125px}.collection-description{display:none}.collection-foot{padding-top:7px}.collections-home .library-toolbar>.brand{font-size:16px}.kind-switch>button{padding:0 9px;font-size:10px}.collection-title{font-size:11px}.collection-open{font-size:9px}.collection-foot{font-size:9px}}

/* Copy-ready motion prompts: settings and references stay outside copied text. */
.prompt-setup{padding:12px 20px;border-bottom:1px solid var(--line);background:#fafbf9;flex-shrink:0}
.prompt-settings{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.prompt-settings>span{font-size:10px;padding:3px 7px;border:1px solid #e2e6dc;border-radius:4px;background:#fff;color:#65705b}
.prompt-settings>span:first-child{color:var(--accent);border-color:#d9e0ff;background:#f2f5ff;font-weight:550}
.prompt-reference-row{display:flex;gap:10px}
.prompt-reference{display:flex;gap:9px;align-items:center;border:1px solid var(--line);background:#fff;padding:5px 8px 5px 5px;border-radius:5px;flex:1;min-width:0;font-size:11px}
.prompt-reference:hover{border-color:#9caee9}
.prompt-reference img{width:55px;height:36px;border-radius:3px;object-fit:cover}
.prompt-reference span{flex:1}
.prompt-reference small{display:block;color:var(--muted);font-size:9px;margin-top:1px}
.prompt-reference .icon{width:13px;height:13px;color:var(--muted)}
.prompt-instructions{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.6;max-height:150px;overflow:auto}
.prompt-instructions summary{cursor:pointer;width:fit-content;color:#606b57}
.prompt-instructions p{margin-top:8px;max-width:850px}
.prompt-sources{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px;color:var(--accent)}
.prompt-sources a:hover{text-decoration:underline}
@media(max-width:600px){.prompt-setup{padding:10px 12px}.prompt-reference-row{gap:6px}.prompt-reference{font-size:10px;padding:4px;gap:6px}.prompt-reference img{width:37px;height:33px}.prompt-reference .icon{display:none}.prompt-settings{gap:4px}.prompt-settings>span{font-size:9px}.prompt-instructions{max-height:110px}}
