.tools-main{max-width:1500px}.tools-heading{padding:42px 0 28px}.tools-heading h1{font-size:clamp(30px,3.4vw,44px)}.tools-heading>p:last-child{color:var(--muted);max-width:800px;font-size:13px;line-height:1.8}.tool-panel{margin-bottom:22px}.tool-upload{min-height:150px}.tool-upload strong{font-size:15px}.tool-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 0}.tool-actions .micro{margin-left:auto}.tool-summary{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.tool-summary span{border:1px solid var(--line);border-radius:7px;padding:7px 12px;color:#bdc8df;font-size:11px;background:#0c1422}.tool-table-wrap{max-height:570px;overflow:auto;border:1px solid var(--line);border-radius:10px}.tool-table{font-size:11px;min-width:760px}.tool-table td:nth-child(2){overflow-wrap:anywhere;min-width:150px;max-width:360px}.tool-table .date{font-variant-numeric:tabular-nums;white-space:nowrap;color:#a3b1c9;font-size:10px}.tool-table .new-name{color:#cabaff;white-space:nowrap;font-weight:600}.tool-table td:last-child{white-space:nowrap}.tool-table .order-button{border:1px solid #34425e;background:#121d30;border-radius:5px;color:#cbbaff;width:28px;height:28px;padding:0;margin-right:4px}.date-warning{display:block;font-size:10px;color:#efc789;margin-top:5px}.tool-empty{border:1px dashed #34425e;border-radius:10px;padding:38px;text-align:center;color:#73849f;margin-top:18px;font-size:12px}.tool-progress{padding-top:2px}.tool-progress progress{margin-top:16px}.tool-result{margin-top:18px;border:1px solid #2d6558;background:#10251f;border-radius:10px;padding:18px}.tool-result p{margin:0 0 12px;color:#9ee0cd;font-size:12px}.tool-result .tool-actions{margin-top:10px}.tool-notice{white-space:pre-line;margin-bottom:20px}.crop-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px;align-items:start}.crop-video-surface{background:#03070d;border-radius:11px;border:1px solid #25324a;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:260px}.crop-video-surface video{display:block;width:100%;max-height:480px}.crop-placeholder{color:#74839b;text-align:center;padding:50px;font-size:12px}.crop-preview-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.crop-preview-title .eyebrow{margin:0}.crop-settings label{display:block;color:#bdc8df;font-size:12px}.crop-settings input[type=text]{width:100%;background:#0c1423;border:1px solid #34425e;border-radius:8px;color:var(--text);padding:12px;margin-top:8px;font-variant-numeric:tabular-nums}.crop-settings input[type=range]{width:100%;accent-color:var(--violet);display:block;margin:14px 0}.crop-time-group{margin-bottom:22px}.crop-time-group .quiet{padding-left:0;margin-top:5px}.crop-selected-time{padding:14px;background:#a38bff0c;border:1px solid #4a3c6c;border-radius:8px;margin-bottom:18px;color:#cabaff;font-size:12px}.crop-settings>.primary{width:100%;margin-top:14px}.crop-settings .filename-label{margin-top:20px}.crop-settings .filename-input-wrap{display:flex;align-items:center}.crop-settings .filename-input-wrap input{border-top-right-radius:0;border-bottom-right-radius:0;min-width:0}.crop-settings .filename-input-wrap span{padding:12px 10px;border:1px solid #34425e;border-left:0;border-radius:0 8px 8px 0;background:#142036;margin-top:8px;color:#9cacbf}.crop-info{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tool-result video{width:100%;max-height:350px;display:block;background:#05080d;border-radius:8px;margin:15px 0}.crop-errors{color:#ffb5c3;min-height:18px;margin-top:10px}.crop-loading{color:#cabaff;margin-top:12px;font-size:12px}.tool-footer-note{margin-top:16px}.tool-table button:disabled{opacity:.3}body.tool-busy .tool-upload{pointer-events:none;opacity:.6}@media(max-width:950px){.crop-workspace{grid-template-columns:1fr}.crop-settings{max-width:720px;width:100%}}@media(max-width:600px){.tools-heading{padding-top:28px}.tools-heading h1{font-size:30px}.tool-actions .micro{margin-left:0;flex-basis:100%}.tool-table{min-width:700px}.crop-video-surface{min-height:180px}.tool-panel{padding:17px}.tool-actions>.primary{width:100%}}

.scene-sort-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.scene-sort-controls label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.scene-sort-controls select{max-width:100%;padding:9px;border:1px solid #34425e;border-radius:8px;background:#111d30;color:var(--text);font-size:12px}.scene-sort-controls .secondary{min-height:38px}@media(max-width:700px){.tool-panel>.section-heading:has(.scene-sort-controls){align-items:start;flex-direction:column}.scene-sort-controls{width:100%}}

.tool-table .scene-file-preview{display:block;width:80px;height:45px;object-fit:contain;background:#060b14;border-radius:5px;margin:0 0 7px}.scene-record-choice{display:block;max-width:260px;width:100%;padding:8px;border:1px solid #34425e;border-radius:6px;background:#111d30;color:var(--text);font-size:10px}.scene-record-detail{display:block;white-space:normal;overflow-wrap:anywhere;max-width:260px;color:var(--muted);margin-top:5px;font-size:10px}
