:root {
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: #17231f;
  background: #f1f4ef;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 12% 0%, #fcfff6 0, transparent 36%), #f1f4ef; }
button, input, textarea { font: inherit; }
select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 72px; }
.hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: #75924a; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -.05em; }
.subtitle { margin: 12px 0 0; color: #68736e; font-size: 16px; }
.privacy-pill { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #53645c; background: rgba(255,255,255,.66); border: 1px solid #dfe6da; border-radius: 999px; font-size: 13px; }
.privacy-pill span { width: 8px; height: 8px; background: #7fae4f; border-radius: 50%; box-shadow: 0 0 0 4px #e8f1df; }
.panel { background: rgba(255,255,255,.91); border: 1px solid #dfe5dc; border-radius: 20px; box-shadow: 0 18px 46px rgba(45,64,54,.06); }
.workspace-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.workspace-tab { min-height: 76px; padding: 15px 22px; text-align: left; border: 1px solid #d9e4d7; border-radius: 17px; background: #fff; color: #32483d; font-size: 19px; font-weight: 800; }
.workspace-tab small { display: block; margin-top: 5px; color: #718078; font-size: 12px; font-weight: 400; }
.workspace-tab[aria-pressed="true"] { color: #fff; background: #213a2e; border-color: #213a2e; box-shadow: 0 10px 28px rgba(24, 44, 36, .13); }
.workspace-tab[aria-pressed="true"] small { color: #d7e4da; }
body[data-workspace-view="video"] .workspace-voice, body[data-workspace-view="voice"] .workspace-video { display: none !important; }
.query-card { padding: 18px; }
.single-property-tools { margin-bottom: 18px; overflow: hidden; background: rgba(255,255,255,.68); border: 1px solid #dfe5dc; border-radius: 13px; }
.single-property-tools > summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 16px; color: #506257; cursor: pointer; list-style: none; }
.single-property-tools > summary::-webkit-details-marker { display: none; }
.single-property-tools > summary strong, .single-property-tools > summary small { display: block; }
.single-property-tools > summary small { margin-top: 3px; color: #7a877f; font-size: 12px; }
.single-property-tools > summary::after { content: "展开"; flex: 0 0 auto; color: #42604f; font-size: 12px; font-weight: 800; }
.single-property-tools[open] > summary::after { content: "收起"; }
.single-property-tools > .query-card { border: 0; border-radius: 0; box-shadow: none; }
.voice-studio { padding: 22px; }
.voice-studio-intro { margin: 10px 0 0; color: #738078; font-size: 13px; line-height: 1.7; }
.recorder-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 18px; margin-top: 16px; }
.reading-copy { padding: 18px; background: #f6f8f3; border: 1px solid #e3e9df; border-radius: 14px; }
.reading-copy strong { color: #304139; font-size: 13px; }
.delivery-notes { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.delivery-notes span { padding: 6px 9px; color: #496052; background: #eaf1e4; border-radius: 999px; font-size: 11px; font-weight: 700; }
.reading-copy p { margin: 10px 0 0; color: #4f5f57; font-size: 14px; line-height: 1.95; }
.reading-copy textarea { display: block; width: 100%; min-height: 220px; margin-top: 10px; padding: 12px; color: #304139; background: #fff; border: 1px solid #dce3d8; border-radius: 10px; line-height: 1.85; resize: vertical; }
.reading-copy small { display: block; margin-top: 9px; color: #708078; line-height: 1.6; }
.srt-upload { display: block; margin-top: 16px; }
.srt-upload input { height: auto; padding: 10px; background: #fff; }
#voice-upload { padding: 9px 12px; height: auto; }
.recorder-controls { min-width: 0; }
.record-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 78px; gap: 8px; align-items: center; margin-top: 10px; }
.recording-time { color: #263a31; font-variant-numeric: tabular-nums; font-weight: 800; }
.record-button { height: 42px; color: white; background: #8f3c31; border: 0; border-radius: 10px; font-weight: 800; }
.record-button:disabled { cursor: wait; opacity: .58; }
#stop-recording { height: 42px; }
#voice-sample-preview, #saved-voice-audio, #property-test-audio, #style-audition-audio { width: 100%; height: 42px; margin-top: 12px; }
.recorder-consent { align-items: flex-start; line-height: 1.55; }
.recorder-message { min-height: 20px; margin: 9px 0 0; color: #718078; font-size: 12px; line-height: 1.55; }
.recorder-message.error { color: #a44032; }
.saved-sample { margin-top: 13px; padding: 13px; background: #f4f7f1; border: 1px solid #dfe7da; border-radius: 12px; }
.saved-sample select { width: 100%; height: 40px; margin: 0 0 12px; padding: 0 10px; color: #42544b; background: #fff; border: 1px solid #dfe6dc; border-radius: 9px; }
.saved-sample .voice-delete { margin: 0 0 12px; color: #983b31; }
.saved-sample .clone-audition label { display: block; margin-top: 12px; }
.saved-sample .clone-audition .render-button { margin-top: 0; }
.saved-sample strong, .saved-sample span { display: block; }
.saved-sample strong { color: #2d4137; }
.saved-sample span { margin-top: 4px; color: #75827b; font-size: 12px; }
.clone-audition { margin-top: 12px; padding-top: 12px; border-top: 1px solid #dfe7da; }
.clone-audition strong { color: #5d7540; }
.audition-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 10px; }
.audition-actions .render-button { margin-top: 0; }
.audition-actions .ghost-button { height: 44px; }
.property-speed-menu { margin-top: 8px; text-align: right; }
.property-speed-menu summary { display: inline-block; padding: 6px 10px; border: 1px solid #d8e1d5; border-radius: 8px; cursor: pointer; color: #355241; font-size: 13px; }
.property-speed-menu label { margin-top: 10px; font-size: 13px; }
.property-speed-menu label, .property-speed-menu .property-speed-actions, .property-speed-menu p { text-align: left; }
.property-speed-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 7px; }
.property-speed-actions input { width: 90px; height: 38px; padding: 0 8px; border: 1px solid #d8e1d5; border-radius: 8px; }
.property-speed-actions button { min-height: 38px; }
#query-form { display: grid; grid-template-columns: 130px minmax(440px,1fr) 130px auto; gap: 12px; }
.single-property-pair { min-width: 0; padding: 12px; background: #f7f9f5; border: 1px solid #e1e8dc; border-radius: 12px; }
.single-property-pair > p { margin: 0 0 10px; }
.single-property-pair > p strong, .single-property-pair > p small { display: block; }
.single-property-pair > p strong { color: #40564a; font-size: 13px; }
.single-property-pair > p small { margin-top: 4px; color: #718078; font-size: 11px; }
.single-property-fields { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); gap: 10px; }
label span { display: block; margin: 0 0 7px 3px; color: #708078; font-size: 12px; font-weight: 700; }
input { width: 100%; height: 48px; padding: 0 14px; color: #14211c; background: #f8faf6; border: 1px solid #dce3d8; border-radius: 12px; outline: none; }
input:focus { border-color: #8ba65a; box-shadow: 0 0 0 4px rgba(139,166,90,.13); }
#analyze-button { align-self: end; height: 48px; padding: 0 24px; color: white; background: #182c24; border: 0; border-radius: 12px; font-weight: 800; transition: transform .2s, background .2s; }
#analyze-button:hover { transform: translateY(-1px); background: #2d483c; }
#analyze-button:disabled { cursor: wait; opacity: .65; transform: none; }
.status { min-height: 20px; margin: 10px 4px 0; color: #728078; font-size: 13px; }
.status.error { color: #a44032; }
.empty-state { min-height: 410px; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty-state h2 { margin: 24px 0 8px; font-size: 24px; }
.empty-state p { width: min(620px, 90vw); margin: 0; color: #76817b; line-height: 1.8; }
.orbit { position: relative; width: 98px; height: 98px; border: 1px solid #cad8c3; border-radius: 50%; animation: spin 14s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 18px; background: #dce9cc; border-radius: 50%; }
.orbit i { position: absolute; width: 12px; height: 12px; background: #78904e; border: 3px solid #f1f4ef; border-radius: 50%; }
.orbit i:nth-child(1){ top: -6px; left: 42px; } .orbit i:nth-child(2){ right: -4px; top: 58px; } .orbit i:nth-child(3){ left: 4px; bottom: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.camera-review-wrap { margin-top: 12px; }
.camera-review-wrap > img { display: block; width: 100%; height: auto; margin-top: 10px; border: 1px solid #d7dce2; border-radius: 10px; background: #f3f5f7; }
.camera-review-wrap > a { display: inline-block; margin-top: 8px; }
.batch-panel { margin-top: 18px; padding: 22px; }
.batch-help { color: #69786f; font-size: 13px; line-height: 1.75; }
#batch-form { display: block; }
#batch-form input:not([type=checkbox]), #batch-form textarea, #batch-form select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #dbe4d6; border-radius: 9px; font: inherit; background: #fff; }
.batch-settings { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr); gap: 14px; }
.batch-settings label > span, .batch-assignment label > span { display: block; margin-bottom: 7px; color: #4b5e52; font-size: 13px; font-weight: 800; }
.batch-settings small, .assignment-head small { display: block; margin-top: 6px; color: #7a877f; font-size: 11px; }
.duration-input { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; }
.duration-input input { border-radius: 9px 0 0 9px !important; }
.duration-input b { height: 42px; display: grid; place-items: center; color: #fff; background: #657d70; border-radius: 0 9px 9px 0; font-size: 12px; }
.title-layout-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; padding: 0; border: 0; }
.title-layout-picker legend { grid-column: 1 / -1; width: 100%; margin-bottom: 10px; color: #4b5e52; font-size: 13px; font-weight: 800; }
.opening-style-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 0; border: 0; }
.opening-style-picker legend { grid-column: 1 / -1; margin-bottom: 2px; color: #4b5e52; font-size: 13px; font-weight: 800; }
.opening-style-picker label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #f8faf6; border: 1px solid #dfe7da; border-radius: 11px; cursor: pointer; }
.opening-style-picker label:has(input:checked) { border-color: #6e8b5d; box-shadow: 0 0 0 3px rgba(110,139,93,.14); }
.opening-style-picker input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; }
.opening-style-picker strong, .opening-style-picker small { display: block; }
.opening-style-picker strong { color: #30443a; font-size: 13px; }
.opening-style-picker small { margin-top: 5px; color: #7b8880; font-size: 11px; line-height: 1.5; }
.batch-input-note { margin: 10px 0 14px; color: #75827b; font-size: 11px; line-height: 1.7; }
.batch-input-note code { padding: 2px 5px; color: #496052; background: #edf3e9; border-radius: 4px; font-family: inherit; }
.layout-card { position: relative; display: block; min-width: 0; padding: 10px; border: 1px solid #dfe7da; border-radius: 12px; background: #f8faf6; cursor: pointer; }
.layout-card:has(input:checked) { border-color: #6e8b5d; box-shadow: 0 0 0 3px rgba(110,139,93,.14); }
.layout-card input { position: absolute; top: 12px; right: 12px; width: 18px !important; height: 18px; }
.layout-card > strong, .layout-card > small { display: block; margin-top: 7px; }
.layout-card > strong { color: #30443a; font-size: 13px; }
.layout-card > small { color: #7b8880; font-size: 11px; }
.layout-demo { position: relative; display: block; height: 105px; overflow: hidden; padding: 13px; color: #fff; background: linear-gradient(145deg, #a9aa9c, #ded9ca 54%, #849186); border-radius: 9px; text-shadow: 0 2px 4px rgba(0,0,0,.55); }
.layout-demo::after { content: ""; position: absolute; top: 8px; right: 8px; width: 31px; height: 52px; background: #e6c995; border: 2px solid rgba(40,45,40,.55); }
.layout-demo i, .layout-demo b, .layout-demo em { position: relative; z-index: 1; display: block; max-width: calc(100% - 42px); font-style: normal; }
.layout-demo i { font-size: 9px; letter-spacing: .5px; }
.layout-demo b { margin-top: 8px; font-size: 16px; line-height: 1.15; }
.layout-demo em { color: #ffe061; font-weight: 900; }
.accent-demo i { display: inline-block; padding: 4px 6px; color: #ffe061; background: rgba(20,34,28,.7); border-radius: 4px; }
.accent-demo b em { display: inline; }
.split-demo b { font-size: 18px; }
.split-demo > em { margin: 2px 0 0 12px; font-size: 15px; }
.center-demo { text-align: center; }
.center-demo i, .center-demo b, .center-demo > em { margin-right: 35px; max-width: calc(100% - 42px); }
.center-demo i { display: inline-block; padding: 4px 6px; color: #ffe061; background: rgba(20,34,28,.7); border-radius: 4px; }
.center-demo b { margin-top: 7px; font-size: 16px; letter-spacing: .02em; text-shadow: 0 2px 3px rgba(0,0,0,.38); }
.center-demo > em { margin-top: 2px; font-size: 17px; line-height: 1.05; text-shadow: 0 2px 3px rgba(0,0,0,.38); }
.assignment-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 20px 0 10px; }
.assignment-head > div > strong { color: #30443a; }
.assignment-head .ghost-button { min-height: 42px; }
.batch-assignments { display: grid; gap: 12px; }
.batch-assignment { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr); gap: 12px 14px; padding: 14px; background: #f7f9f5; border: 1px solid #dfe7da; border-radius: 12px; }
.assignment-title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.assignment-title strong { color: #30443a; }
.assignment-title .ghost-button { min-height: 34px; padding: 0 12px; }
.batch-properties-panel { grid-column: 1 / -1; min-width: 0; padding: 12px; background: #fff; border: 1px solid #e1e8dc; border-radius: 10px; }
.batch-properties { display: grid; gap: 10px; }
.batch-property-row { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 10px 12px; padding: 11px; background: #f8faf6; border: 1px solid #e3e9df; border-radius: 9px; }
.batch-property-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.batch-property-head strong { color: #40564a; font-size: 12px; }
.batch-property-head .ghost-button { min-height: 44px; padding: 0 10px; }
.batch-properties-panel > .add-batch-property { min-height: 44px; margin-top: 10px; }
.batch-assignment .consent { grid-column: 1 / -1; margin: 0; }
.assignment-storage-note { grid-column: 1 / -1; margin: 0; padding: 9px 11px; color: #65756d; background: #edf3e9; border-radius: 8px; font-size: 11px; line-height: 1.55; }
#batch-form > .render-button { margin-top: 16px; }
.batch-history { margin-top: 16px; overflow: hidden; border: 1px solid #dce7d9; border-radius: 12px; background: #fbfcfa; }
.batch-history > summary, .batch-day > summary, .batch-employee > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; cursor: pointer; list-style: none; }
.batch-history > summary::-webkit-details-marker, .batch-day > summary::-webkit-details-marker, .batch-employee > summary::-webkit-details-marker { display: none; }
.batch-history > summary::after, .batch-day > summary::after, .batch-employee > summary::after { content: "展开"; flex: 0 0 auto; color: #42604f; font-size: 12px; font-weight: 800; }
.batch-history[open] > summary::after, .batch-day[open] > summary::after, .batch-employee[open] > summary::after { content: "收起"; }
.batch-history summary strong, .batch-history summary small { display: block; }
.batch-history summary small { margin-top: 3px; color: #718076; font-size: 12px; }
.batch-history-body { padding: 12px; border-top: 1px solid #e5ece2; }
.batch-date-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #4b5e52; font-size: 13px; font-weight: 700; }
.batch-date-filter select { min-width: 160px; padding: 7px 9px; border: 1px solid #dbe4d6; border-radius: 8px; background: #fff; font: inherit; }
.batch-day { margin-top: 8px; overflow: hidden; border: 1px solid #e1e9dd; border-radius: 10px; background: #f6f9f4; }
.batch-day-items { padding: 0 12px 12px; border-top: 1px solid #e1e9dd; background: #fff; }
.batch-employee-list { display: grid; gap: 8px; }
.batch-employee { margin-top: 8px; overflow: hidden; border: 1px solid #d8e4d2; border-radius: 10px; background: #f4f8f1; }
.batch-employee > summary strong, .batch-employee > summary small { display: block; }
.batch-employee > summary small { margin-top: 3px; color: #66766b; font-size: 12px; }
.batch-employee-items { padding: 0 12px 12px; border-top: 1px solid #dce7d6; background: #fff; }
.batch-empty { margin: 10px 3px; color: #718076; font-size: 13px; }
.batch-item { margin-top: 14px; padding: 15px; border: 1px solid #e1e9dd; border-radius: 12px; background: #fbfcfa; }
.batch-item > strong, .batch-item > small { display: block; }
.batch-item > small, .batch-item li small, .batch-group-heading small { color: #718076; font-size: 12px; }
.batch-group-list { display: grid; gap: 9px; margin-top: 13px; }
.batch-group { overflow: hidden; border: 1px solid #dfe8db; border-radius: 10px; background: #f6f9f4; }
.batch-group-heading { padding: 12px 14px; }
.batch-group-heading strong, .batch-group-heading small { display: block; }
.batch-group-heading small { margin-top: 3px; }
.batch-group ol { margin: 0; padding: 3px 18px 13px 42px; border-top: 1px solid #e2e9de; background: #fff; }
.batch-item li { margin: 8px 0; line-height: 1.55; }
.batch-item-status { display: inline-block; color: #40564a; font-weight: 700; }
.batch-item-status[data-status="failed"] { color: #a3342b; }
.batch-item-status[data-status="needs-input"] { color: #8a5a13; }
.batch-item-status[data-status="interrupted"] { color: #8a5a13; }
.batch-item-status[data-status="review-needed"] { color: #35694a; }
.batch-item li small { display: block; }
.batch-item li a { display: inline-block; margin-top: 3px; color: #3c7050; }
.batch-video-wrap { margin: 8px 0 12px; }
.batch-output-pair { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 14px 20px; margin: 8px 0 12px; }
.batch-output-pair .batch-video-wrap { margin: 0; }
.batch-video { display: block; width: min(210px, 100%); aspect-ratio: 9 / 16; background: #111; border-radius: 8px; transition: width .22s ease; }
.batch-video.is-large { width: min(380px, 100%); }
.batch-video-actions { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.batch-video-actions [data-save-status] { flex-basis: 100%; margin-top: 2px; }
.batch-video-actions .ghost-button { padding: 6px 9px; font-size: 11px; }
.batch-video-actions a { font-size: 12px; }
.batch-cover-wrap { width: min(210px, 100%); }
.batch-cover { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: #e8ece5; }
.batch-cover-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; border: 1px dashed #cbd9c8; border-radius: 8px; color: #6f8174; background: #f4f8f2; }
.batch-cover-actions { display: flex; gap: 11px; margin-top: 7px; }
.batch-cover-actions a { font-size: 12px; }
.batch-cover-wrap > small { display: block; margin-top: 5px; }
.batch-cover-wrap .cover-retry { margin-top: 8px; }
@media (max-width: 1080px) { #query-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .single-property-pair { grid-column: 1 / -1; } }
@media (max-width: 760px) { #query-form { grid-template-columns: 1fr; } .single-property-pair { grid-column: 1; } .single-property-fields, .batch-settings, .batch-assignment, .batch-property-row, .title-layout-picker, .opening-style-picker { grid-template-columns: 1fr; } .batch-property-head { grid-column: 1; } .assignment-head { align-items: stretch; flex-direction: column; } }
.workspace { margin-top: 22px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 18px 20px; }
.metric span, .metric small { display: block; color: #7c8881; font-size: 12px; }
.metric strong { display: block; margin: 7px 0 4px; font-family: Georgia, "Songti SC", serif; font-size: 29px; font-weight: 500; }
.main-grid { display: grid; grid-template-columns: minmax(340px, .8fr) minmax(500px, 1.2fr); gap: 18px; margin-top: 18px; }
.left-column, .right-column { display: grid; align-content: start; gap: 18px; }
.cover-card { overflow: hidden; }
.cover-wrap { aspect-ratio: 16 / 10; background: #e8ece5; overflow: hidden; }
.cover-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.facts { padding: 22px; }
.facts h2, .section-head h2 { margin: 0; font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 7px 10px; color: #4c6056; background: #f0f5eb; border-radius: 999px; font-size: 13px; }
.route-card, .voice-card, .script-card, .timeline-card { padding: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.help, .voice-card > p { color: #738078; font-size: 13px; line-height: 1.7; }
.ghost-button { padding: 8px 11px; color: #425a4e; background: #f4f7f1; border: 1px solid #dbe4d6; border-radius: 9px; }
.route-list, .timeline-list { padding: 0; margin: 16px 0 0; list-style: none; }
.route-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #edf0eb; }
.route-index { width: 26px; height: 26px; display: grid; place-content: center; color: white; background: #829955; border-radius: 50%; font-size: 12px; }
.route-meta small { display: block; color: #87918c; margin-top: 2px; }
.route-actions { display: flex; gap: 4px; }
.route-actions button { width: 30px; height: 30px; color: #66766e; background: #f6f8f5; border: 1px solid #e1e7de; border-radius: 8px; }
.pending-badge, .sync-badge { padding: 6px 9px; color: #8b6a20; background: #fff5d8; border-radius: 999px; font-size: 12px; }
.consent { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; color: #5f6f67; font-size: 13px; }
.preview-controls { display: grid; grid-template-columns: 1fr 132px auto; gap: 8px; margin-top: 14px; }
.preview-controls select { min-width: 0; height: 40px; padding: 0 10px; color: #42544b; background: #f7f9f5; border: 1px solid #dfe6dc; border-radius: 9px; }
#preview-audio { width: 100%; height: 42px; margin-top: 12px; }
.render-button { width: 100%; height: 44px; margin-top: 10px; color: #fff; background: #243b31; border: 0; border-radius: 10px; font-weight: 800; }
.render-button:disabled { color: #a0aaa3; background: #edf0ec; cursor: not-allowed; }
#preview-video { width: min(100%, 320px); display: block; margin: 14px auto 0; border-radius: 14px; background: #101511; box-shadow: 0 14px 32px rgba(29,44,36,.16); }
.render-quality { margin-top: 12px; padding: 11px 12px; color: #48603e; background: #edf6e8; border: 1px solid #d7e8ce; border-radius: 10px; }
.render-quality strong, .render-quality span { display: block; }
.render-quality strong { font-size: 13px; }
.render-quality span { margin-top: 4px; color: #687a62; font-size: 12px; line-height: 1.6; }
.render-quality .ghost-button { margin-top: 8px; }
.consent input { width: auto; height: auto; }
.disabled-button { width: 100%; height: 44px; color: #9da69f; background: #eef1ed; border: 0; border-radius: 10px; cursor: not-allowed; }
.clone-workflow { margin-top: 16px; padding-top: 4px; border-top: 1px solid #edf0eb; }
.auto-render-consent { margin-top: 7px; color: #3f594d; }
.clone-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.clone-actions .render-button { margin-top: 0; }
.clone-actions .ghost-button { height: 44px; }
.clone-progress { width: 100%; height: 10px; margin-top: 12px; accent-color: #78904e; }
.script-segments { margin-top: 16px; }
.script-segment { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid #edf0eb; }
.script-segment span { color: #7d9160; font-size: 12px; font-weight: 800; }
.script-segment p { margin: 0; color: #23312b; line-height: 1.85; }
.self-check { margin-top: 14px; padding: 13px 14px; background: #f5f7f3; border-radius: 12px; }
.self-check span { color: #859088; font-size: 11px; }
.self-check p { margin: 5px 0 0; color: #58655e; font-size: 12px; }
.phase-bar { display: flex; height: 10px; margin-top: 18px; overflow: hidden; background: #edf1eb; border-radius: 999px; }
.phase-bar i { display: block; min-width: 3px; }
.phase-hook { background: #273c33; } .phase-retention { background: #7f9855; } .phase-house { background: #afc47d; } .phase-amenities { background: #d8a75f; } .phase-cta { background: #db7462; }
.timeline-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0eb; }
.timeline-time { color: #7e8a84; font-variant-numeric: tabular-nums; font-size: 12px; }
.timeline-copy strong { display: block; font-size: 13px; }
.timeline-copy small { display: block; margin-top: 4px; color: #87918b; line-height: 1.5; }
.timeline-duration { color: #4f6358; font-size: 12px; }
@media (max-width: 900px) { .hero { align-items: start; flex-direction: column; } .recorder-grid { grid-template-columns: 1fr; } .summary-grid { grid-template-columns: repeat(2,1fr); } .main-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .shell { width: min(100% - 24px, 1440px); padding-top: 24px; } #query-form { grid-template-columns: 1fr; } .summary-grid { grid-template-columns: 1fr 1fr; } .privacy-pill { display: none; } .script-segment { grid-template-columns: 1fr; gap: 6px; } .workspace-tab { min-height: 68px; padding: 12px; font-size: 16px; } .workspace-tab small { font-size: 10px; } }
@media (max-width: 620px) { .preview-controls { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .batch-video-actions { gap: 8px; } .batch-video-actions .ghost-button { min-height: 40px; padding: 8px 10px; font-size: 13px; } }
@media (max-width: 420px) { .record-row { grid-template-columns: 56px minmax(0, 1fr); } #stop-recording { grid-column: 2; } }
.batch-script-preview { margin: 8px 0; padding: 8px 10px; border: 1px solid #dce7e4; border-radius: 8px; background: #fbfdfc; }
.batch-script-preview summary { cursor: pointer; color: #176b57; font-size: 13px; }
.batch-script-preview strong { display: block; margin-top: 8px; }
.batch-script-preview p { margin: 6px 0 0; white-space: pre-line; line-height: 1.7; }
