:root{--bg:#f4f7fb;--ink:#121a27;--muted:#647084;--line:#dfe4ea;--panel:#fff;--blue:#1f6feb;--blue-dark:#164fba;--green:#17803d;--red:#c23631;--amber:#a66300;--orange:#f97316;--orange-dark:#c2410c;--navy:#071426;--navy-soft:#10233d;--shadow:0 20px 60px #161f2f17}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0;font-family:Arial,Hiragino Sans,Yu Gothic,sans-serif}a{color:inherit;text-decoration:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button,input,textarea{font:inherit}.container{width:min(1180px,100% - 32px);margin:0 auto}.home-page .container{width:min(1880px,100% - 48px)}.topbar{border-bottom:1px solid var(--line);background:#fff;align-items:center;height:64px;padding:0 24px;display:flex}.hero-band{background:radial-gradient(circle at 78% 18%, #f973162e, transparent 30%), linear-gradient(135deg, var(--navy) 0%, #0d1d34 66%, #201726 100%);color:#fff;padding:18px 0 28px}.home-page .hero-layout{width:min(1880px,100% - 48px)}.hero-copy{justify-content:space-between;align-items:center;gap:24px;min-height:70px;display:flex}.hero-brand{color:#fff;background:#fffffff0;border:1px solid #ffffff2e;border-radius:16px;align-items:center;gap:12px;min-height:68px;padding:7px 12px;display:inline-flex;box-shadow:0 18px 45px #0003}.hero-logo-image{width:min(270px,54vw);height:auto;display:block}.page-brand-logo{background:#fffffff0;border-radius:16px;width:min(330px,48vw);height:auto;margin:0 0 14px;padding:8px 12px;display:block;box-shadow:0 16px 38px #0f172a29}.page-brand-logo.compact{border-radius:12px;width:min(210px,38vw);margin-bottom:8px;padding:5px 8px}.intake-band{background:linear-gradient(180deg, #0714260f, transparent 140px), var(--bg);border-bottom:1px solid var(--line);padding:0 0 38px}.intake-layout{z-index:1;margin-top:-16px;position:relative}.project-header-band{border-bottom:1px solid var(--line);background:#fff;padding:36px 0}.project-header{justify-content:space-between;align-items:end;gap:24px;display:flex}.content-band{padding:36px 0 56px}.stack{gap:24px;display:grid}.eyebrow{color:#9dd6ff;letter-spacing:0;text-transform:uppercase;margin:0 0 12px;font-size:13px;font-weight:700}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;margin-bottom:16px;font-size:clamp(28px,4vw,44px);line-height:1.05}.hero-title{letter-spacing:0;margin:0;font-size:clamp(30px,4vw,46px);line-height:1}h2{font-size:24px}h3{font-size:18px}.lead{color:#e5eefc;text-align:right;max-width:360px;margin:0;font-size:15px;font-weight:800;line-height:1.55}.muted,.project-row p,.reason{color:var(--muted)}.source-link{max-width:720px;color:var(--blue);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;display:block;overflow:hidden}.source-status-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;display:flex}.source-work-caption{color:var(--muted);font-size:12px;font-weight:800}.upload-panel,.progress-panel,.clip-card,.empty-state,.transcript-details{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px}.upload-panel{width:100%;max-width:1280px;color:var(--ink);grid-template-columns:1fr;gap:18px;margin:0 auto;padding:22px;display:grid}.redesigned-upload{border-color:#94a3b873;border-radius:18px;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;box-shadow:0 24px 90px #0f172a1f}.upload-essentials,.upload-main-column,.upload-settings-column{align-content:start;gap:14px;min-width:0;display:grid}.upload-main-column{padding:4px 2px 4px 4px}.upload-settings-column{background:linear-gradient(#fbfdff 0%,#f8fafc 100%);border:1px solid #e6edf5;border-radius:14px;padding:14px}.setup-summary{color:#fff;background:#0f2138;border-radius:12px;gap:4px;padding:12px 13px;display:grid}.setup-summary span{color:#9dd6ff;letter-spacing:.08em;font-size:11px;font-weight:900}.setup-summary strong{font-size:17px;line-height:1.25}.setup-summary p{color:#dbeafe;margin:0;font-size:12px;font-weight:800;line-height:1.55}.upload-hint{color:#163b6f;background:#eef6ff;border:1px solid #cfe2ff;border-radius:12px;margin:0;padding:13px 15px;font-size:14px;font-weight:700;line-height:1.6}.advanced-settings{border:1px solid var(--line);background:#fff;border-radius:12px}.advanced-settings>summary{cursor:pointer;min-height:46px;color:var(--ink);justify-content:space-between;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:800;list-style:none;display:flex}.advanced-settings>summary::-webkit-details-marker{display:none}.advanced-settings>summary:focus-visible{outline-offset:2px;border-radius:6px;outline:3px solid #1f6feb59}.advanced-settings>summary:after{content:"ひらく ▾";color:var(--blue);font-size:13px;font-weight:800}.advanced-settings[open]>summary:after{content:"とじる ▴"}.advanced-settings-body{gap:14px;padding:4px 16px 16px;display:grid}.upload-mode-grid,.upload-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.upload-panel .primary-button{background:var(--orange);min-height:50px}.upload-panel .create-button{border-radius:12px;min-height:56px;margin-top:2px;font-size:17px;font-weight:900;box-shadow:0 14px 30px #f973163d}.upload-panel .primary-button:hover{background:var(--orange-dark)}.field-label{color:var(--muted);font-size:13px;font-weight:700}.text-input{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:10px;padding:0 13px}.text-input:focus{border-color:var(--blue);outline:3px solid #1f6feb2e}.text-input.compact{min-height:38px}.select-input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:10px;padding:0 12px;font-weight:800}.input-with-icon{position:relative}.input-with-icon svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.input-with-icon .text-input{padding-left:38px}.field-help{color:var(--muted);margin:-6px 0 0;font-size:12px;font-weight:700;line-height:1.45}.field-help.warning{color:var(--red)}.field-help.success{color:var(--green)}.time-estimate-panel{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;gap:10px;padding:12px;display:grid}.time-estimate-panel.known{background:#eff6ff;border-color:#bfdbfe}.time-estimate-main{justify-content:space-between;align-items:center;gap:12px;display:flex}.time-estimate-label{color:var(--muted);align-items:center;gap:7px;font-size:13px;font-weight:900;display:inline-flex}.time-estimate-label svg{color:var(--orange)}.time-estimate-panel.known .time-estimate-label svg{color:var(--blue)}.time-estimate-main strong{color:var(--ink);white-space:nowrap;font-size:24px;line-height:1}.time-estimate-meta{flex-wrap:wrap;gap:6px;display:flex}.time-estimate-meta span{color:var(--muted);background:#ffffffd1;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:900}.time-estimate-panel p{color:var(--muted);margin:0;font-size:12px;font-weight:700;line-height:1.45}.intake-progress-panel{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:9px;padding:12px;display:grid}.intake-progress-panel.failed{background:#fff5f5;border-color:#fecaca}.intake-progress-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.intake-progress-header div{gap:2px;display:grid}.intake-progress-header strong{color:var(--ink);font-size:14px}.intake-progress-header span,.intake-progress-meta,.intake-progress-panel p{color:var(--muted);font-size:12px;font-weight:700;line-height:1.45}.intake-progress-header b{color:var(--blue);font-size:18px}.intake-progress-meta{flex-wrap:wrap;gap:6px 12px;display:flex}.intake-progress-panel p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.settings-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.settings-grid label{gap:6px;display:grid}.file-picker{min-height:58px;color:var(--muted);cursor:pointer;border:1px dashed #a8b3c2;border-radius:12px;align-items:center;gap:12px;padding:0 14px;display:flex}.file-picker input{display:none}.render-mode-control{gap:8px;display:grid}.option-checkbox{border:1px solid var(--line);cursor:pointer;background:#f8fafc;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;display:grid}.option-checkbox input{width:20px;height:20px;accent-color:var(--blue)}.option-checkbox span{gap:2px;display:grid}.option-checkbox strong{font-size:14px}.option-checkbox small{color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.template-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.template-choice{border:1px solid var(--line);min-height:164px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:6px 10px;padding:10px;display:grid}.template-choice svg{color:var(--blue)}.template-choice strong{align-self:center;font-size:13px}.template-choice small{color:var(--muted);grid-column:1/3;font-size:11px;font-weight:700;line-height:1.35}.template-choice-meta{width:fit-content;color:var(--blue);background:#eef4ff;border-radius:999px;grid-column:1/3;padding:3px 7px;font-size:10px;font-weight:900}.template-preview{aspect-ratio:9/16;background:#0f172a 50%/cover;border-radius:10px;grid-area:1/3/span 2;width:82px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff38,0 8px 18px #0f172a24}.template-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.template-preview-video-slot{background:linear-gradient(135deg,#dbeafe,#94a3b8 52%,#e2e8f0 52%);border-radius:2px;display:block;position:absolute;box-shadow:inset 0 0 0 1px #0f172a52}.template-choice.active{border-color:var(--orange);background:#fff7ed}.primary-button,.secondary-button,.success-button,.danger-button,.ghost-button,.ghost-link,.icon-button,.segmented button{cursor:pointer;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;font-weight:700;display:inline-flex}.primary-button{background:var(--blue);color:#fff;padding:0 14px}.primary-button:hover{background:var(--blue-dark)}.primary-button:disabled,.secondary-button.disabled,.secondary-button:disabled,.ghost-button:disabled,.segmented button:disabled{cursor:not-allowed;opacity:.55}.secondary-button,.ghost-link{border-color:var(--line);color:var(--ink);background:#fff;padding:0 14px}.ghost-button{color:var(--muted);background:0 0;border-color:#0000;padding:0 12px;font-weight:700}.ghost-button:hover{color:var(--ink);background:#f1f5f9}.success-button{color:var(--green);background:#e8f7ee;border-color:#b8e5c8;padding:0 13px}.danger-button{color:var(--red);background:#fff0ef;border-color:#f1c3c0;padding:0 13px}.icon-button{background:var(--blue);color:#fff;flex:0 0 42px;width:42px}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.section-heading h2{margin:0}.project-section-heading{margin-bottom:10px}.project-section-heading>div{align-items:baseline;gap:12px;display:flex}.project-section-heading p{color:var(--muted);margin:0;font-size:13px;font-weight:700}.project-view-switch{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:3px;padding:3px;display:inline-flex}.project-view-switch button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:13px;font-weight:800;display:inline-flex}.project-view-switch button:hover{color:var(--blue)}.project-view-switch button.active{color:var(--blue);background:#eef6ff;box-shadow:inset 0 0 0 1px #dbeafe}.project-library-toolbar{z-index:20;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8fafcf5;border-radius:8px;gap:8px;margin-bottom:10px;padding:10px;display:grid;position:sticky;top:0;box-shadow:0 8px 24px #1e40af12}.history-tools{align-items:center;gap:8px;display:flex}.history-search{border:1px solid var(--line);min-height:40px;color:var(--muted);background:#fff;border-radius:8px;flex:360px;align-items:center;gap:9px;padding:0 12px;display:flex}.history-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.history-filter{border:1px solid var(--line);background:#fff;border-radius:8px;padding:3px;display:inline-flex}.history-filter button{min-width:58px;min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 12px;font-weight:800}.history-filter button.active{color:var(--blue);background:#eef6ff}.history-sort{border:1px solid var(--line);min-height:40px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:7px;padding:0 9px;display:inline-flex}.history-sort select{min-width:132px;color:var(--ink);background:0 0;border:0;outline:0;font-weight:800}.history-refresh-button{border:1px solid var(--line);min-height:40px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-weight:800;display:inline-flex}.history-refresh-button:hover{color:var(--blue);border-color:#bfdbfe}.customer-folder-panel{align-items:center;gap:8px;min-width:0;display:flex}.customer-folder-create button,.customer-folder-tabs button{border:1px solid var(--line);min-height:36px;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-weight:800;display:inline-flex}.customer-folder-create button{background:var(--blue);border-color:var(--blue);color:#fff;padding:0 13px}.customer-folder-tabs{flex:1;gap:8px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.customer-folder-tabs button{color:var(--muted);flex:none;padding:0 10px}.customer-folder-tabs button.active{color:var(--blue);background:#eef6ff;border-color:#bfdbfe}.customer-folder-tabs span{color:#475569;background:#eef2f7;border-radius:999px;justify-content:center;align-items:center;min-width:22px;min-height:22px;font-size:12px;display:inline-flex}.customer-folder-create-disclosure{flex:none;position:relative}.customer-folder-create-disclosure summary{border:1px solid var(--line);min-height:36px;color:var(--muted);cursor:pointer;background:#fff;border-radius:7px;align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:800;list-style:none;display:inline-flex}.customer-folder-create-disclosure summary::-webkit-details-marker{display:none}.customer-folder-create-disclosure[open] summary{color:var(--blue);border-color:#bfdbfe}.customer-folder-create{z-index:30;border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:min(340px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 16px 36px #0f172a24}.customer-folder-create input{border:1px solid var(--line);border-radius:7px;min-width:0;min-height:36px;padding:0 10px}.folder-error{color:var(--red);margin:0;font-size:12px;font-weight:800}.project-list{border:1px solid var(--line);background:#fff;border-radius:8px;gap:0;display:grid;overflow:visible}.project-list-header,.project-row{grid-template-columns:minmax(250px,2.5fr) 150px minmax(190px,1.25fr) 118px 120px 48px}.project-list-header{border-bottom:1px solid var(--line);min-height:34px;color:var(--muted);background:#f8fafc;align-items:center;padding:0;font-size:11px;font-weight:900;display:grid}.project-list-header span{padding:0 12px}.project-list-header span:not(:first-child){border-left:1px solid #e9eef5}.project-folder-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:start;gap:18px;display:grid}.project-folder-column{gap:8px;min-width:0;display:grid}.project-folder-column-header{border-bottom:2px solid #dbe5f2;align-items:center;gap:9px;min-height:44px;padding:0 4px 8px;display:flex}.project-folder-column-icon{width:32px;height:32px;color:var(--blue);background:#eef6ff;border-radius:7px;flex:0 0 32px;justify-content:center;align-items:center;display:inline-flex}.project-folder-column-header div{align-items:baseline;gap:7px;min-width:0;display:flex}.project-folder-column-header h3,.project-folder-column-header p{margin:0}.project-folder-column-header h3{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.35;overflow:hidden}.project-folder-column-header p{color:var(--muted);flex:none;font-size:11px;font-weight:800}.project-folder-items{gap:8px;display:grid}.project-folder-item{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;display:grid;position:relative;box-shadow:0 5px 16px #0f172a0a}.project-folder-item.active{background:#f8fbff;border-color:#bfdbfe}.project-folder-item-main{min-width:0;color:inherit;gap:6px;padding:11px 12px 9px;display:grid}.project-folder-item-main:hover h4{color:var(--blue)}.project-folder-item-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.project-folder-item-heading h4{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;line-height:1.4;overflow:hidden}.project-folder-item-heading .status-pill{flex:none;min-height:23px;padding:0 7px;font-size:10px}.project-folder-item-meta{min-width:0;color:var(--muted);align-items:center;gap:7px;font-size:11px;font-weight:700;display:flex}.project-folder-item-meta .source-type-pill{flex:none;min-height:22px;padding:0 7px;font-size:10px}.project-folder-item-meta>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.project-folder-item-meta time{white-space:nowrap;flex:none;margin-left:auto}.project-folder-item-actions{border-top:1px solid #e9eef5;grid-template-columns:minmax(0,1fr) 42px;min-height:38px;display:grid}.project-folder-item-actions>label{min-width:0;color:var(--muted);align-items:center;gap:6px;padding:0 9px;display:flex}.project-folder-item-actions select{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:11px;font-weight:800}.project-folder-item-actions .project-row-menu{border-left:1px solid #e9eef5}.project-folder-item-actions .project-row-menu summary{min-height:38px}.background-work-panel{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:10px;margin-bottom:18px;padding:14px;display:grid}.background-work-heading{align-items:flex-start;gap:10px;display:flex}.background-work-heading strong,.background-work-item strong{color:var(--ink);font-weight:900}.background-work-heading span,.background-work-item>span{color:var(--muted);font-size:12px;font-weight:800}.background-work-list{gap:7px;display:grid}.background-work-item{background:#fff;border:1px solid #dbeafe;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:9px;display:flex}.background-work-item div{align-items:center;gap:8px;min-width:0;display:flex}.project-row{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;align-items:stretch;min-height:66px;display:grid;position:relative;overflow:visible}.project-row:last-child{border-bottom:0}.project-row.active{background:#f8fbff}.project-row-main{min-width:0;color:inherit;align-items:center;padding:9px 12px;display:flex}.project-row-main:hover h3{color:var(--blue)}.project-row-identity{min-width:0}.project-row h3{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;font-size:15px;line-height:1.35;overflow:hidden}.project-row p{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:1.35;overflow:hidden}.project-row-message{color:var(--blue);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;font-weight:800;line-height:1.3;display:block;overflow:hidden}.project-row-customer,.project-row-condition,.project-row-status,.project-row-updated{border-left:1px solid #e9eef5;align-items:center;min-width:0;padding:8px 10px;display:flex}.project-row-condition{flex-direction:column;justify-content:center;align-items:flex-start;gap:4px}.project-row-condition>div{align-items:center;gap:7px;min-width:0;display:flex}.project-row-condition small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;overflow:hidden}.project-clip-rule{color:var(--ink);white-space:nowrap;font-size:12px;font-weight:800}.project-row-status{justify-content:center}.project-row-updated{color:var(--muted);text-align:center;white-space:nowrap;justify-content:center;font-size:12px;font-weight:700}.project-cell-label{display:none}.customer-folder-pill{min-height:26px;color:var(--blue);background:#eef6ff;border-radius:999px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.customer-folder-pill.empty{color:#64748b;background:#f1f5f9}.project-folder-select{width:100%;min-width:0;min-height:34px;color:var(--ink);background:#f8fafc;border:1px solid #0000;border-radius:6px;padding:0 8px;font-size:12px;font-weight:700}.project-folder-select:hover,.project-folder-select:focus{background:#fff;border-color:#bfdbfe;outline:0}.project-row-menu{border-left:1px solid #e9eef5;min-width:0;position:relative}.project-row-menu summary{width:100%;height:100%;min-height:54px;color:var(--muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;list-style:none;display:flex}.project-row-menu summary::-webkit-details-marker{display:none}.project-row-menu summary:hover,.project-row-menu[open] summary{color:var(--blue);background:#eef6ff}.project-row-menu-popover{z-index:40;border:1px solid var(--line);background:#fff;border-radius:8px;width:156px;padding:5px;display:grid;position:absolute;top:calc(100% + 4px);right:4px;box-shadow:0 14px 30px #0f172a26}.project-row-menu-popover button{min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 10px;font-size:13px;font-weight:800;display:flex}.project-row-menu-popover button:hover{background:#f1f5f9}.project-row-menu-popover button.danger{color:#b91c1c}.project-row-menu-popover button.danger:hover{background:#fff0ef}.project-row-menu-popover button:disabled{cursor:wait;opacity:.7}.project-row .source-type-pill,.project-row .status-pill{min-height:24px;padding:0 8px;font-size:11px}.history-error{margin-bottom:12px}.delete-dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172a75;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.delete-dialog{background:#fff;border:1px solid #fecaca;border-radius:14px;grid-template-columns:auto minmax(0,1fr);gap:16px;width:min(100%,460px);padding:22px;display:grid;box-shadow:0 24px 80px #0f172a3d}.delete-dialog-icon{color:#b91c1c;background:#fee2e2;border-radius:14px;place-items:center;width:48px;height:48px;display:grid}.delete-dialog h3{margin:2px 0 8px}.delete-dialog p{color:var(--muted);margin:0;font-weight:800;line-height:1.65}.delete-dialog p strong{color:var(--ink)}.delete-dialog-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.status-pill{color:#475569;background:#eef2f7;border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.status-pill.processing,.status-pill.queued{color:var(--blue);background:#eef6ff}.status-pill.completed,.status-pill.approved{color:var(--green);background:#e8f7ee}.status-pill.failed,.status-pill.rejected{color:var(--red);background:#fff0ef}.status-pill.pending{color:var(--amber);background:#fff7e6}.source-type-pill{border-radius:999px;align-items:center;gap:5px;min-height:26px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.source-type-pill.url{color:var(--blue);background:#eef6ff}.source-type-pill.file{color:#475569;background:#eef2f7}.progress-panel{gap:14px;padding:18px;display:grid}.progress-copy{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.background-work-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:10px;padding:10px;display:flex}.background-work-note.active{background:#eff6ff;border-color:#bfdbfe}.background-work-note div{gap:2px;display:grid}.background-work-note strong{color:var(--ink);font-size:13px;font-weight:900}.background-work-note span{color:var(--muted);font-size:12px;font-weight:800;line-height:1.5}.progress-track{background:#edf1f5;border-radius:999px;height:12px;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--blue), #16a34a);height:100%;transition:width .18s}.progress-track.indeterminate .progress-fill{width:40%;transition:none;animation:1.3s ease-in-out infinite indeterminate-slide}@keyframes indeterminate-slide{0%{margin-left:-45%}to{margin-left:100%}}.action-notice{border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.action-notice span{flex:1}.action-notice.success{color:var(--green);background:#e8f7ee;border-color:#b8e5c8}.action-notice.error{color:var(--red);background:#fff0ef;border-color:#f1c3c0}.action-notice .ghost-button{color:inherit;min-height:36px;text-decoration:underline}.stats-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:8px;padding:16px}.metric span{color:var(--muted);margin-bottom:8px;font-size:13px;font-weight:700;display:block}.metric strong{font-size:26px}.project-settings-panel{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;display:grid}.project-settings-panel div{gap:4px;display:grid}.project-settings-panel span{color:var(--muted);font-size:12px;font-weight:800}.project-settings-panel strong{font-size:15px;line-height:1.4}.clip-grid{grid-template-columns:1fr;justify-content:start;align-items:start;gap:18px;display:grid}.clip-card{grid-template-columns:minmax(280px,360px) minmax(0,1fr);width:100%;max-width:980px;display:grid;overflow:hidden}.clip-media{aspect-ratio:9/16;background:#111827}.clip-media video,.render-placeholder{width:100%;height:100%}.clip-media video{object-fit:cover;display:block}.render-placeholder{color:#dbeafe;text-align:center;align-content:center;place-items:center;gap:12px;padding:24px;display:grid}.render-placeholder strong{font-size:19px;line-height:1.35}.render-placeholder p{color:#dbeafed1;max-width:240px;margin:0;font-size:13px;font-weight:700;line-height:1.65}.clip-body{gap:14px;padding:16px;display:grid}.clip-title-row{align-items:center;gap:10px;display:flex}.clip-title-row h3{margin:0;line-height:1.35}.rank-badge{min-width:38px;min-height:28px;color:var(--blue);background:#e7efff;border-radius:999px;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.reason{margin:0;line-height:1.65}.clip-meta,.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.clip-meta{color:var(--muted);font-size:13px}.clip-structure-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-weight:800;display:inline-flex}.score-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.score-breakdown-caption{color:var(--ink);grid-column:1/-1;margin:0;font-size:13px;font-weight:700}.score-breakdown div{background:#f8fafc;border:1px solid #dbe5f2;border-radius:8px;gap:5px;padding:9px;display:grid;position:relative;overflow:hidden}.score-breakdown span{color:var(--muted);font-size:12px;font-weight:800}.score-breakdown strong{font-size:18px;line-height:1}.score-breakdown i{background:linear-gradient(90deg, var(--orange), var(--blue));border-radius:999px;height:4px;display:block}.posting-draft-panel{border:1px solid var(--line);background:#fbfdff;border-radius:8px}.posting-draft-panel summary{min-height:38px;color:var(--ink);cursor:pointer;align-items:center;gap:8px;padding:0 12px;font-weight:800;display:flex}.posting-draft-grid{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.posting-draft-grid div{gap:5px;display:grid}.posting-draft-grid span{color:var(--muted);align-items:center;gap:5px;font-size:12px;font-weight:800;display:inline-flex}.posting-draft-grid p{color:var(--ink);white-space:pre-line;margin:0;font-size:13px;line-height:1.55}.posting-draft-grid .posting-description{grid-column:1/-1}.segmented{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid;overflow:hidden}.segmented button{color:var(--muted);background:#fff;border:0;border-radius:0}.segmented button+button{border-left:1px solid var(--line)}.segmented button.active{color:var(--blue);background:#eaf2ff}.comments{gap:8px;display:grid}.source-preview{gap:8px;padding-top:10px;display:grid}.source-preview-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.source-preview-heading span{color:var(--muted);font-size:13px;font-weight:800}.composition-preview-frame,.source-video-frame{isolation:isolate;aspect-ratio:9/16;background-color:#000;background-position:50%;background-size:cover;border-radius:0;position:relative;overflow:hidden}.composition-preview-frame{container-type:inline-size}.composition-working-video{z-index:1;object-fit:contain;background:#000;display:block;position:absolute}.composition-video-blur-backdrop{z-index:0;object-fit:cover;pointer-events:none;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0;transform:scale(1.1)}.composition-rendered-video{z-index:1;object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.source-preview-badge{color:#fff;background:#0f172ad1;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:800;position:absolute;bottom:10px;left:10px}.source-preview-error{z-index:4;color:#fecaca;text-align:center;background:#0f172adb;border:1px solid #f8717173;border-radius:8px;justify-content:center;align-items:center;padding:14px;font-size:13px;font-weight:800;line-height:1.5;display:flex;position:absolute;inset:12px}.source-preview-actions{grid-template-columns:auto auto auto;justify-content:space-between;align-items:center;gap:10px;display:grid}.source-preview-actions button{min-height:38px;color:var(--blue);cursor:pointer;background:#eaf2ff;border:1px solid #b8d2ff;border-radius:6px;padding:0 12px;font-weight:800}.source-preview-actions>button:first-child{justify-content:center;align-items:center;gap:8px;display:inline-flex}.source-preview-actions .preview-render-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 9px;display:inline-flex}.source-preview-actions button:disabled{opacity:.58;cursor:not-allowed}.source-progress{overflow:hidden;background:#e2e8f0!important;border-color:#cbd5e1!important;border-radius:999px!important;min-height:18px!important;padding:0!important}.source-progress span{background:var(--blue);height:100%;display:block}.source-time{color:var(--muted);white-space:nowrap;font-size:13px;font-weight:800}.playback-bar{gap:6px;display:grid}.playback-bar span{color:var(--muted);font-size:12px;font-weight:800}.playback-bar input{appearance:none;cursor:pointer;background:0 0;width:100%;height:34px;margin:0}.playback-bar input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--blue) 0 var(--progress), #e2e8f0 var(--progress) 100%);border:1px solid #cbd5e1;border-radius:999px;height:14px}.playback-bar input::-webkit-slider-thumb{appearance:none;background:var(--blue);border:3px solid #fff;border-radius:50%;width:28px;height:28px;margin-top:-8px;box-shadow:0 2px 8px #0f172a47}.playback-bar input::-moz-range-track{background:#e2e8f0;border:1px solid #cbd5e1;border-radius:999px;height:14px}.playback-bar input::-moz-range-progress{background:var(--blue);border-radius:999px;height:14px}.playback-bar input::-moz-range-thumb{background:var(--blue);border:3px solid #fff;border-radius:50%;width:24px;height:24px;box-shadow:0 2px 8px #0f172a47}.timeline-playhead{pointer-events:none;z-index:6;background:#fff;border-radius:999px;width:4px;position:absolute;top:0;bottom:0;transform:translate(-50%);box-shadow:0 0 0 2px #2563eb,0 0 0 4px #0f172a8c}.timeline-handle{cursor:ew-resize;touch-action:none;z-index:4;background:0 0;border:0;border-radius:0;width:44px;padding:0;position:absolute;top:0;bottom:0;transform:translate(-50%)}.timeline-handle.start{z-index:5}.timeline-handle:before{content:"";background:#facc15;border-radius:999px;width:4px;position:absolute;top:6px;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 0 0 3px #111827b8}.timeline-handle:after{content:"";background:#facc15;border-radius:999px;width:14px;height:14px;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 0 0 3px #111827b8}.clip-edit-header{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;width:min(1840px,100% - 48px);display:grid}.clip-edit-header-band{color:#fff;background:radial-gradient(circle at 86% 16%,#2dd4bf24,#0000 24%),radial-gradient(circle at 20% 24%,#3b82f62e,#0000 30%),linear-gradient(135deg,#071426 0%,#0f1c34 54%,#251632 100%);border-bottom:0;padding:14px 0}.clip-edit-header .secondary-button{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff17;border-color:#ffffff38}.clip-edit-header .secondary-button:hover{background:#ffffff29}.clip-edit-header .eyebrow{display:none}.clip-edit-header h1{color:#fff;margin:0 0 4px;font-size:clamp(22px,2.2vw,32px);line-height:1.05}.clip-edit-header p{color:#e2e8f0c7;margin-bottom:0}.clip-edit-header .page-brand-logo.compact{width:min(190px,32vw);margin-bottom:7px;box-shadow:0 16px 38px #0000003d}.clip-edit-content-band{background:radial-gradient(circle at 96% 8%,#ec48990f,#0000 24%),radial-gradient(circle at 4% 18%,#2563eb14,#0000 26%),linear-gradient(#f7faff 0%,#f8fafc 60%,#fff 100%);padding:14px 0 20px}.clip-edit-layout{grid-template-columns:1fr;align-items:start;gap:12px;width:min(1840px,100% - 48px);display:grid}.clip-edit-preview,.clip-edit-panel{background:#fffffff0;border:1px solid #94a3b859;border-radius:18px;gap:10px;padding:10px;display:grid;box-shadow:0 22px 56px #0f172a14}.clip-edit-preview{width:min(380px,100%);margin:0 auto}.clip-edit-stage{grid-template-columns:minmax(260px,390px) minmax(500px,1fr) minmax(320px,420px);align-items:stretch;gap:12px;width:min(1840px,100%);margin:0 auto;display:grid}.clip-edit-stage .clip-edit-preview{width:100%;margin:0}@media (min-width:1024px) and (max-width:1439px){.clip-edit-stage{grid-template-columns:minmax(250px,330px) minmax(0,1fr);grid-template-areas:"preview subtitles""preview inspector";align-items:start}.clip-edit-stage .clip-edit-preview{grid-area:preview}.clip-edit-stage .subtitle-list-panel{grid-area:subtitles;max-height:min(460px,100vh - 210px)}.clip-edit-stage .subtitle-adjust-panel{grid-area:inspector;max-height:min(460px,100vh - 210px)}.template-composition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px) and (max-width:1180px){.template-composition-grid{grid-template-columns:1fr}}@media (max-width:1023px){.clip-edit-stage{grid-template-columns:1fr}.subtitle-list-panel,.subtitle-adjust-panel{max-height:none}.clip-edit-preview{width:min(100%,430px)}}.clip-edit-preview .source-video-frame{aspect-ratio:9/16;width:min(100%,34vh,340px);margin:0 auto}@media (max-width:520px){.clip-edit-preview .source-video-frame{width:min(100%,60vh,340px)}}.template-composition-foreground{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.source-live-subtitle,.composition-live-subtitle{left:50%;top:var(--subtitle-position-y,70%);background:var(--subtitle-background,transparent);width:92%;color:var(--subtitle-text-color,#fff);font-family:var(--subtitle-font-family,"Hiragino Sans", "Yu Gothic", Arial, sans-serif);font-size:calc(21px * var(--subtitle-effective-scale,var(--subtitle-font-scale,1)));text-align:center;text-shadow:var(--subtitle-preview-outline-width,2px) var(--subtitle-preview-outline-width,2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width-neg,-2px) var(--subtitle-preview-outline-width,2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width,2px) var(--subtitle-preview-outline-width-neg,-2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width-neg,-2px) var(--subtitle-preview-outline-width-neg,-2px) 0 var(--subtitle-outline-color,#000), 0 3px 8px #000000b8;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal;pointer-events:none;border-radius:6px;padding:3px 6px;font-weight:900;line-height:1.24;display:block;position:absolute;overflow:visible;transform:translate(-50%,-50%)}.source-brand-overlay{z-index:2;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:.4em;max-width:92%;max-height:38%;display:flex;position:absolute}.source-brand-overlay.bottom{flex-direction:column-reverse}.source-brand-overlay img{object-fit:contain;pointer-events:none;width:100%;height:auto;max-height:100%;display:block}.source-brand-overlay:active{cursor:grabbing}.source-brand-resize-handle{cursor:nwse-resize;touch-action:none;background:0 0;border:0;border-radius:999px;width:34px;height:34px;padding:0;position:absolute;bottom:-17px;right:-17px}.source-brand-resize-handle:before{content:"";background:var(--blue);border:2px solid #fff;border-radius:999px;position:absolute;inset:8px;box-shadow:0 2px 8px #0f172a47}.source-brand-resize-handle:after{content:"";border-bottom:2px solid #fff;border-right:2px solid #fff;position:absolute;inset:13px}.source-live-subtitle{z-index:3}.composition-live-subtitle{z-index:4}.composition-brand-overlay{z-index:3;pointer-events:none;flex-direction:column;align-items:center;gap:.4em;max-width:92%;max-height:38%;display:flex;position:absolute}.composition-brand-overlay.bottom{flex-direction:column-reverse}.composition-brand-overlay img{object-fit:contain;width:100%;height:auto;max-height:100%;display:block}.composition-brand-overlay-text{text-align:center;--brand-text-outline-color:#000;flex-direction:column;align-items:center;font-weight:900;line-height:1.2;display:flex}.composition-brand-overlay-text-line{white-space:nowrap;text-shadow:.06em .06em 0 var(--brand-text-outline-color), -.06em .06em 0 var(--brand-text-outline-color), .06em -.06em 0 var(--brand-text-outline-color), -.06em -.06em 0 var(--brand-text-outline-color)}.composition-brand-overlay-text.has-background .composition-brand-overlay-text-line{background:var(--brand-text-background-color,transparent);-webkit-box-decoration-break:clone;box-decoration-break:clone;text-shadow:none;border-radius:.18em;margin:.05em 0;padding:.16em .4em}.source-preview-badge{z-index:4}.clip-edit-preview .source-preview-actions button{min-height:32px;padding:0 10px}.clip-edit-preview .playback-bar input{height:22px}.preview-mode-switch{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.preview-mode-switch button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:0;font-size:12px;font-weight:900}.preview-mode-switch button+button{border-left:1px solid #cbd5e1}.preview-mode-switch button.active{color:var(--blue);background:#eaf2ff}.preview-mode-switch button:disabled{cursor:not-allowed;color:#94a3b8}.clip-edit-summary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.clip-edit-summary .metric{padding:8px 10px}.clip-edit-summary .metric span{margin-bottom:4px}.clip-edit-summary .metric strong{font-size:20px}.clip-edit-panel{grid-template-columns:minmax(0,1fr) minmax(340px,.62fr);grid-template-areas:"timeline summary""timeline silence""timeline filler""timeline range""timeline buttons""timeline message";align-items:start;width:min(1840px,100%);margin:0 auto}.clip-edit-summary{grid-area:summary}.clip-edit-panel .source-timeline-panel{grid-area:timeline}.clip-edit-panel .range-fine-controls{grid-area:range}.clip-edit-panel .silence-cut-controls{grid-area:silence}.clip-edit-panel .filler-cut-editor{grid-area:filler}.clip-edit-panel>.clip-edit-actionbar{grid-area:buttons}.clip-edit-panel>.subtitle-message{grid-area:message}.subtitle-list-panel,.subtitle-adjust-panel{background:#fffffff0;border:1px solid #94a3b859;border-radius:18px;gap:8px;min-width:0;max-height:min(610px,100vh - 220px);padding:10px;display:grid;overflow:hidden;box-shadow:0 22px 56px #0f172a14}.subtitle-list-panel{grid-template-rows:auto minmax(0,1fr)}.subtitle-adjust-panel{display:block;overflow-y:auto}.subtitle-adjust-panel>*+*{margin-top:6px}.subtitle-adjust-panel .brand-overlay-controls[open],.subtitle-adjust-panel .subtitle-style-controls[open],.subtitle-adjust-panel .subtitle-assist-controls[open]{overflow:visible}.adjust-tool-tabs{background:#f1f5f9;border:1px solid #dbe3ef;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:4px;padding:4px;display:grid}.adjust-tool-tabs button{min-width:0;min-height:34px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:900;display:inline-flex}.adjust-tool-tabs button.active{color:var(--blue);background:#fff;border-color:#bfdbfe;box-shadow:0 1px 4px #0f172a14}.adjust-tool-tabs button:disabled,.adjust-tool-tabs button.disabled{cursor:not-allowed;opacity:.48}.adjust-tool-tabs button.dirty:after{content:"";background:#f59e0b;border-radius:999px;width:7px;height:7px}.adjust-tool-panel{min-height:0}.template-composition-controls{background:#fff;border:1px solid #dbe3ef;border-radius:10px}.template-composition-note{color:var(--muted);margin:8px 10px;font-size:12px;font-weight:700;line-height:1.45}.template-composition-grid{grid-template-columns:1fr;gap:7px;padding:8px;display:grid}.template-composition-card{background:#fff;border:1px solid #dbe3ef;border-radius:8px;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:8px;padding:7px;display:grid}.template-composition-card.active{background:#f7f5ff;border-color:#6d5dfc;box-shadow:inset 0 0 0 1px #6d5dfc29}.template-composition-card strong{color:var(--ink);font-size:12px;font-weight:900}.template-composition-card p{color:var(--muted);margin:2px 0 0;font-size:10px;font-weight:700;line-height:1.35}.template-composition-card .secondary-button{grid-column:1/-1;min-height:28px;padding:0 7px;font-size:10px}.template-composition-sample{aspect-ratio:9/16;color:#fff;text-align:center;background:#061426;border-radius:7px;place-items:center;display:grid;overflow:hidden}.template-composition-sample span{white-space:pre-line;text-shadow:1px 1px #020617;width:90%;font-size:8px;font-weight:900;line-height:1.1}.template-composition-sample.business{color:#fff4d8;background:radial-gradient(circle at 80% 14%,#b68a35,#061427 58%)}.template-composition-sample.creator{color:#ffe45c;background:radial-gradient(circle at 80% 14%,#2563eb,#061120 58%)}.template-composition-sample.minimal{background:linear-gradient(160deg,#0f172a,#020617)}.template-project-apply{color:var(--muted);border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px 10px;font-size:11px;font-weight:800;display:flex}.template-project-apply .secondary-button{min-height:30px;padding:0 8px;font-size:11px}.brand-apply-scope{color:var(--muted);border-bottom:1px solid #e2e8f0;align-items:center;gap:5px;padding:7px 9px;font-size:11px;font-weight:800;display:flex}.brand-apply-scope span{margin-right:auto}.brand-apply-scope button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:5px;min-height:26px;padding:0 7px;font-size:10px;font-weight:900}.brand-apply-scope button.active{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.brand-path-advanced{margin-top:6px}.brand-path-advanced summary{cursor:pointer;color:#64748b;font-size:11px;font-weight:800}.brand-path-advanced .brand-path-form{margin-top:6px}.adjust-tab-panel{overflow:visible}.adjust-tab-heading{border-bottom:1px solid #e2e8f0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:36px;padding:6px 8px;display:grid}.adjust-tab-heading strong{color:var(--ink);white-space:nowrap;align-items:center;gap:6px;font-size:13px;font-weight:900;display:inline-flex}.adjust-tab-heading span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.subtitle-live-header,.subtitle-column-heading,.subtitle-live-cue-top,.subtitle-live-actions{align-items:center;gap:8px;display:flex}.subtitle-live-header,.subtitle-column-heading{justify-content:space-between}.subtitle-live-header div,.subtitle-column-heading div{gap:2px;display:grid}.subtitle-live-header span,.subtitle-column-heading span,.subtitle-live-current span{color:var(--muted);font-size:11px;font-weight:800}.subtitle-live-header strong,.subtitle-column-heading strong{font-size:17px;line-height:1}.subtitle-live-status{color:var(--muted);background:#eef2f7;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:900}.subtitle-live-status.active{color:var(--blue);background:#dbeafe}.subtitle-live-current{color:#fff;background:#0f172a;border-radius:8px;gap:3px;padding:6px 8px;display:grid}.subtitle-live-current.cut{background:#3b1d1d}.subtitle-live-current.disabled,.subtitle-disabled-note{color:var(--ink);background:#f8fafc}.subtitle-disabled-note{border:1px dashed #cbd5e1;border-radius:8px;align-content:center;gap:6px;min-height:160px;padding:14px;display:grid}.subtitle-disabled-note strong{font-size:15px}.subtitle-disabled-note span{color:var(--muted);font-size:12px;font-weight:800;line-height:1.5}.subtitle-live-current p{background:var(--subtitle-background,transparent);color:var(--subtitle-text-color,#fff);font-family:var(--subtitle-font-family,"Hiragino Sans", "Yu Gothic", Arial, sans-serif);font-size:calc(17px * var(--subtitle-effective-scale,var(--subtitle-font-scale,1)));text-shadow:var(--subtitle-preview-outline-width,2px) var(--subtitle-preview-outline-width,2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width-neg,-2px) var(--subtitle-preview-outline-width,2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width,2px) var(--subtitle-preview-outline-width-neg,-2px) 0 var(--subtitle-outline-color,#000), var(--subtitle-preview-outline-width-neg,-2px) var(--subtitle-preview-outline-width-neg,-2px) 0 var(--subtitle-outline-color,#000), 0 3px 8px #000000b8;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal;border-radius:6px;margin:0;padding:3px 6px;font-weight:900;line-height:1.16;display:block;overflow:visible}.subtitle-style-controls,.subtitle-assist-controls,.brand-overlay-controls,.subtitle-ai-tools{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:8px;display:grid}.subtitle-style-controls,.subtitle-assist-controls,.brand-overlay-controls{gap:0;overflow:hidden}.subtitle-style-controls summary,.subtitle-assist-controls summary,.brand-overlay-controls summary{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:36px;padding:6px 8px;list-style:none;display:grid}.subtitle-style-controls summary::-webkit-details-marker{display:none}.subtitle-assist-controls summary::-webkit-details-marker{display:none}.brand-overlay-controls summary::-webkit-details-marker{display:none}.subtitle-style-controls summary strong,.subtitle-assist-controls summary strong,.brand-overlay-controls summary strong{white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:inline-flex}.subtitle-style-controls summary>span,.brand-overlay-controls summary>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.subtitle-style-controls summary:after,.subtitle-assist-controls summary:after,.brand-overlay-controls summary:after{content:"開く";color:var(--blue);background:#eaf2ff;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.subtitle-style-controls[open] summary:after,.subtitle-assist-controls[open] summary:after,.brand-overlay-controls[open] summary:after{content:"閉じる";color:var(--muted);background:#eef2f7}.subtitle-style-controls.dirty summary:after,.brand-overlay-controls.dirty summary:after{content:"未保存";color:#a16207;background:#fff7ed}.subtitle-tool-header{justify-content:space-between;align-items:center;gap:8px;padding:8px 9px 0;display:flex}.subtitle-tool-header span{color:var(--muted);font-size:13px;font-weight:800}.subtitle-tool-header .secondary-button{min-height:28px;padding:0 8px;font-size:12px}.template-mini-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 9px 0;display:grid}.template-mini-row button{border:1px solid var(--line);min-height:32px;color:var(--ink);cursor:pointer;background:#fff;border-radius:6px;font-size:12px;font-weight:800}.template-mini-row button:hover{border-color:var(--blue);color:var(--blue)}.subtitle-style-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px 9px;display:grid}.subtitle-style-grid label,.subtitle-line-options{gap:4px;display:grid}.subtitle-style-grid span,.subtitle-line-options span,.subtitle-ai-tools span{color:var(--muted);font-size:13px;font-weight:800}.subtitle-style-grid input[type=color]{border:1px solid var(--line);background:#fff;border-radius:6px;width:100%;height:38px;padding:2px}.subtitle-style-grid input[type=range]{width:100%}.subtitle-line-options{grid-template-columns:auto repeat(3,28px);align-items:end}.subtitle-line-options span{align-self:center}.subtitle-line-options button{border:1px solid var(--line);min-height:28px;color:var(--muted);cursor:pointer;background:#fff;border-radius:6px;font-weight:900}.subtitle-line-options button.active{border-color:var(--blue);color:var(--blue);background:#eaf2ff}.subtitle-background-row{flex-wrap:wrap;align-items:center;gap:8px 16px;padding:0 9px 9px;display:flex}.subtitle-background-toggle{color:var(--muted);align-items:center;gap:8px;padding:0;font-size:12px;font-weight:800;display:inline-flex}.subtitle-background-color{color:var(--muted);align-items:center;gap:8px;font-size:12px;font-weight:800;display:inline-flex}.subtitle-background-color input[type=color]{border:1px solid var(--line);background:#fff;border-radius:6px;width:36px;height:26px;padding:2px}.brand-overlay-body{border-top:1px solid #e2e8f0;gap:8px;padding:8px;display:grid}.brand-slot-panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;gap:8px;padding:8px;display:grid}.canvas-background-panel{background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;gap:8px;padding:8px;display:grid}.canvas-color-row,.canvas-pattern-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.canvas-color-row button,.canvas-pattern-row button{border:1px solid var(--line);min-height:44px;color:var(--ink);cursor:pointer;background:#fff;border-radius:7px;font-size:11px;font-weight:900}.canvas-color-row button{justify-content:center;align-items:center;gap:5px;display:inline-flex}.canvas-color-row button:before{content:"";background:var(--swatch-color);border:1px solid #0f172a38;border-radius:999px;width:13px;height:13px}.canvas-color-row button.active,.canvas-pattern-row button.active{border-color:var(--blue);color:var(--blue);background:#eaf2ff}.canvas-custom-color,.canvas-pattern-options label{color:var(--muted);gap:4px;font-size:10px;font-weight:800;display:grid}.canvas-pattern-options label.muted{opacity:.55}.canvas-custom-color input[type=color],.canvas-pattern-options input[type=color]{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;height:30px;padding:2px}.canvas-pattern-options{grid-template-columns:92px minmax(0,1fr);align-items:end;gap:8px;display:grid}.canvas-pattern-options input[type=range]{width:100%}.canvas-pattern-options label.full-width{grid-column:1/-1}.canvas-pattern-hint{color:var(--muted);grid-column:1/-1;margin:0;font-size:11px;line-height:1.5}.brand-slot-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.brand-slot-heading strong{color:var(--ink);font-size:13px;font-weight:900}.brand-slot-heading span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.brand-display-toggle,.brand-action-row,.brand-quick-row,.brand-size-row{align-items:center;gap:8px;display:flex}.brand-upload-dropzone{background:#eff6ff;border:1px dashed #93c5fd;border-radius:7px;justify-content:center;justify-items:center;gap:5px;padding:9px;display:grid}.brand-upload-dropzone.active{border-color:var(--blue);background:#dbeafe}.brand-upload-dropzone>span{color:var(--muted);font-size:10px;font-weight:800}.brand-upload-button{min-height:30px;color:var(--blue);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex;position:relative;overflow:hidden}.brand-upload-button input{opacity:.01;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.brand-upload-button.disabled,.brand-upload-button input:disabled{cursor:not-allowed;opacity:.55}.brand-path-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;display:grid}.brand-path-form label{gap:4px;min-width:0;display:grid}.brand-path-form span{color:var(--muted);font-size:10px;font-weight:800}.brand-path-form input{border:1px solid var(--line);min-width:0;height:32px;color:var(--ink);background:#fff;border-radius:6px;padding:0 8px;font-size:12px}.brand-path-form .secondary-button{white-space:nowrap;min-height:32px;padding:0 9px;font-size:12px}.brand-display-toggle{color:var(--muted);font-size:12px;font-weight:800}.brand-text-input{gap:4px;display:grid}.brand-text-input span{color:var(--muted);font-size:10px;font-weight:800}.brand-text-input input{border:1px solid var(--line);min-width:0;height:36px;color:var(--ink);background:#fff;border-radius:6px;padding:0 8px;font-family:inherit;font-size:13px}.brand-text-line-row{align-items:center;gap:6px;display:flex}.brand-text-line-row input{flex:1;min-width:0}.brand-text-line-row button{border:1px solid var(--line);width:36px;height:36px;color:var(--red);cursor:pointer;background:#fff;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}.brand-text-input>.secondary-button{justify-self:start;min-height:32px;padding:0 10px;font-size:12px}.brand-text-style-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px 12px;display:grid}.brand-text-style-row label{gap:4px;display:grid}.brand-text-style-row span{color:var(--muted);font-size:10px;font-weight:800}.brand-text-style-row input[type=color]{border:1px solid var(--line);background:#fff;border-radius:6px;width:44px;height:32px;padding:0}.brand-text-style-row input[type=range]{width:100%}.brand-control-grid{gap:8px;display:grid}.brand-control-grid label{gap:4px;display:grid}.brand-control-grid span{color:var(--muted);font-size:10px;font-weight:800}.brand-control-grid input[type=range]{width:100%}.brand-quick-row{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.brand-size-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.brand-size-row span{color:var(--muted);white-space:nowrap;align-self:center;font-size:11px;font-weight:900}.brand-quick-row button,.brand-size-row button{border:1px solid var(--line);min-height:28px;color:var(--ink);cursor:pointer;background:#fff;border-radius:6px;font-size:11px;font-weight:900}.brand-action-row{justify-content:space-between}.brand-action-row .secondary-button{min-height:30px;padding:0 9px;font-size:12px}.secondary-button.danger{color:var(--red);background:#fff0ef;border-color:#f1c3c0}.subtitle-ai-tools{border:0;border-top:1px solid #e2e8f0;border-radius:0;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:5px;padding:5px}.subtitle-adjust-panel .subtitle-ai-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.subtitle-adjust-panel .subtitle-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subtitle-adjust-panel .subtitle-line-options{grid-column:1/-1}.subtitle-ai-tools .secondary-button,.subtitle-ai-tools .primary-button{white-space:nowrap;min-height:26px;padding:0 7px;font-size:11px}.subtitle-ai-tools .secondary-button svg,.subtitle-ai-tools .primary-button svg{width:14px;height:14px}.subtitle-live-list{align-content:start;gap:5px;min-height:0;padding-right:3px;scroll-padding-block:70px 20px;display:grid;overflow:auto}.subtitle-live-cue{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:3px;padding:5px;display:grid}.subtitle-live-cue.active{border-color:var(--blue);background:#eff6ff;box-shadow:0 0 0 2px #1f6feb1f}.subtitle-live-cue.cut{background:#fff7ed;border-color:#fed7aa}.subtitle-live-cue-top{grid-template-columns:40px minmax(0,1fr) auto;justify-content:stretch;gap:4px;display:grid}.subtitle-number-button{min-width:40px;min-height:44px;color:var(--blue);text-align:center;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0;font-size:13px;font-weight:900}.subtitle-number-button:hover{background:#dbeafe}.subtitle-number-button:focus-visible{outline-offset:2px;background:#dbeafe;outline:3px solid #1f6feb59}.subtitle-time-inputs.compact{flex:auto;grid-template-columns:repeat(2,minmax(58px,1fr));gap:4px}.subtitle-time-inputs.compact label{grid-template-columns:18px minmax(0,1fr);align-items:center;gap:3px;display:grid}.subtitle-time-inputs.compact span{font-size:10px}.subtitle-time-inputs.compact input{border-radius:5px;min-height:26px;padding:0 6px;font-size:12px}.subtitle-live-cue .subtitle-cut-toggle{border-radius:5px;gap:4px;min-height:44px;padding:0 6px;font-size:11px}.subtitle-live-cue textarea{resize:none;border:1px solid var(--line);width:100%;min-height:34px;max-height:88px;color:var(--ink);background:#fff;border-radius:6px;padding:5px 7px;font-size:12px;line-height:1.3}.subtitle-live-cue.cut textarea{color:var(--muted);text-decoration:line-through}.subtitle-live-cue textarea:focus{border-color:var(--blue);outline:3px solid #1f6feb2e}.subtitle-live-actions{flex-wrap:wrap}.subtitle-live-actions .primary-button,.subtitle-live-actions .secondary-button{white-space:nowrap;min-height:28px;padding:0 7px;font-size:11px}.source-timeline-panel{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:4px;padding:8px;display:grid}.source-timeline-heading,.source-timeline-scale{justify-content:space-between;align-items:center;gap:12px;display:flex}.source-timeline-heading{flex-wrap:wrap}.source-timeline-heading span,.source-timeline-scale{color:var(--muted);font-size:12px;font-weight:800}.timeline-legend{color:var(--ink);flex-wrap:wrap;gap:6px 14px;margin:8px 0 0;padding:0;font-size:12px;font-weight:700;list-style:none;display:flex}.timeline-legend li{align-items:center;gap:5px;display:inline-flex}.timeline-legend i{border-radius:3px;flex:none;width:13px;height:13px;display:inline-block}.timeline-zoom-control{min-width:300px;color:var(--muted);grid-template-columns:auto 28px minmax(120px,1fr) 28px 48px;align-items:center;gap:8px;font-size:12px;font-weight:900;display:grid}.timeline-zoom-control button{width:28px;min-height:26px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:0;font-weight:900}.timeline-zoom-control input{width:100%;accent-color:var(--blue)}.timeline-zoom-control b{color:var(--ink);text-align:right}.full-source-timeline-scroll{overscroll-behavior-x:contain;background:#111827;border:1px solid #cfd8e3;border-radius:8px;min-height:110px;overflow:auto hidden}.full-source-timeline-scroll::-webkit-scrollbar{height:8px}.full-source-timeline-scroll::-webkit-scrollbar-track{background:#1f2937}.full-source-timeline-scroll::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:999px}.full-source-timeline{background:#111827;min-width:100%;min-height:110px;position:relative;overflow:hidden}.full-waveform{grid-template-columns:repeat(180,minmax(1px,1fr));align-items:center;gap:1px;display:grid;position:absolute;inset:8px 8px 28px}.full-waveform span{background:#7dd3fc;border-radius:999px;min-height:5px}.unused-region,.used-region{pointer-events:none;position:absolute;top:0;bottom:0}.unused-region{z-index:2;background:#0f172a94}.used-region{z-index:3;background:#facc152e;border-left:2px solid #facc15;border-right:2px solid #facc15}.full-subtitle-range{z-index:6;background:#22c55ee6;border:1px solid #bbf7d0e6;border-radius:999px;height:12px;position:absolute;bottom:12px}.full-subtitle-range.cut{background:#ef4444e0;border-color:#fecacaeb}.full-cut-range{pointer-events:none;z-index:5;background:repeating-linear-gradient(135deg,#ef444485 0 6px,#7f1d1d9e 6px 12px);border-left:2px solid #f87171eb;border-right:2px solid #f87171eb;position:absolute;top:0;bottom:0}.full-cut-range.filler{background:repeating-linear-gradient(135deg,#a855f77a 0 6px,#581c879e 6px 12px);border-left-color:#a855f7f2;border-right-color:#a855f7f2}.full-cut-range.context{background:repeating-linear-gradient(135deg,#3b82f680 0 6px,#1e40afa3 6px 12px);border-left-color:#2563ebf2;border-right-color:#2563ebf2}.silence-cut-controls{border:1px solid var(--line);background:#fff7ed;border-radius:8px;display:block;overflow:hidden}.silence-cut-controls summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:7px 10px;list-style:none;display:grid}.silence-cut-controls summary::-webkit-details-marker{display:none}.silence-cut-controls summary:after{content:"開く";color:#9a3412;background:#ffedd5;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.silence-cut-controls[open] summary{border-bottom:1px solid #fed7aa}.silence-cut-controls[open] summary:after{content:"閉じる";color:var(--muted);background:#eef2f7}.filler-cut-editor{background:#faf5ff;border:1px solid #ddd6fe;border-radius:8px;display:block;overflow:hidden}.filler-cut-editor summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:7px 10px;list-style:none;display:grid}.filler-cut-editor summary::-webkit-details-marker{display:none}.filler-cut-editor summary:after{content:"開く";color:#7e22ce;background:#f3e8ff;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.filler-cut-editor[open] summary{border-bottom:1px solid #e9d5ff}.filler-cut-editor[open] summary:after{content:"閉じる";color:var(--muted);background:#eef2f7}.filler-cut-heading{justify-content:space-between;align-items:center;gap:8px;padding:8px 10px 0;display:flex}.filler-cut-editor summary div{gap:2px;display:grid}.filler-cut-editor summary strong{font-size:13px}.filler-cut-heading span,.filler-cut-editor summary span,.filler-cut-row label span{color:var(--muted);font-size:12px;font-weight:800}.filler-cut-heading .secondary-button{min-height:30px;padding:0 9px}.filler-cut-list{gap:6px;max-height:168px;padding:8px 10px 10px;display:grid;overflow:auto}.filler-cut-row{background:#fff;border:1px solid #e9d5ff;border-radius:7px;grid-template-columns:36px repeat(2,minmax(0,1fr));gap:6px;padding:6px;display:grid}.filler-cut-index{color:#7e22ce;cursor:pointer;background:#f3e8ff;border:0;border-radius:6px;min-height:30px;font-weight:900}.filler-cut-row label{gap:3px;display:grid}.filler-cut-row input{border:1px solid var(--line);border-radius:6px;width:100%;min-height:30px;padding:0 7px}.filler-cut-nudges{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.filler-cut-nudges button{min-height:28px;color:var(--ink);cursor:pointer;background:#f8fafc;border:1px solid #ddd6fe;border-radius:6px;padding:0 5px;font-size:11px;font-weight:900}.silence-cut-copy{gap:2px;display:grid}.silence-cut-copy strong{font-size:13px}.silence-cut-copy span,.silence-padding-options span{color:var(--muted);font-size:12px;font-weight:800}.silence-cut-actions{grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:8px 10px 10px;display:grid}.silence-padding-options{align-items:center;gap:5px;display:flex}.silence-padding-options button{min-height:30px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #fed7aa;border-radius:6px;padding:0 8px;font-size:12px;font-weight:900}.silence-padding-options button.active{color:var(--blue);background:#eaf2ff;border-color:#2563eb}.silence-cut-controls .secondary-button{white-space:nowrap;min-height:34px;padding:0 10px}.range-fine-controls{border:1px solid var(--line);background:#fff;border-radius:8px;display:block;overflow:hidden}.range-fine-controls summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:7px 10px;list-style:none;display:grid}.range-fine-controls summary::-webkit-details-marker{display:none}.range-fine-controls summary div{gap:2px;display:grid}.range-fine-controls summary strong{font-size:13px}.range-fine-controls summary span{color:var(--muted);font-size:12px;font-weight:800}.range-fine-controls summary:after{content:"開く";color:var(--blue);background:#eaf2ff;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.range-fine-controls[open] summary{border-bottom:1px solid var(--line)}.range-fine-controls[open] summary:after{content:"閉じる";color:var(--muted);background:#eef2f7}.range-adjust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;display:grid}.range-adjust-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;gap:8px;padding:9px;display:grid}.range-adjust-card-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.range-adjust-card-header span,.range-adjust-card label span{color:var(--muted);font-size:12px;font-weight:900}.range-adjust-card-header strong{font-size:20px;line-height:1}.range-adjust-card label{gap:5px;display:grid}.range-adjust-card input{border:1px solid var(--line);width:100%;min-height:34px;color:var(--ink);background:#fff;border-radius:6px;padding:0 10px}.range-stepper-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.range-stepper-row button{min-height:36px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:0 8px;font-size:13px;font-weight:900}.range-stepper-row button:hover{color:var(--blue);background:#eaf2ff;border-color:#9bbcff}.range-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0 10px 10px;display:grid}.range-controls button{min-height:34px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;font-size:13px;font-weight:900}.timing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 10px 8px;display:grid}.timing-grid label,.subtitle-time-inputs label{gap:5px;display:grid}.timing-grid span,.subtitle-time-inputs span{color:var(--muted);font-size:12px;font-weight:800}.timing-grid input,.subtitle-time-inputs input{border:1px solid var(--line);width:100%;min-height:32px;color:var(--ink);background:#fff;border-radius:6px;padding:0 10px}.clip-edit-actionbar{z-index:12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #cbd5e1;border-radius:8px;grid-template-columns:minmax(80px,1fr) auto auto auto;align-items:center;gap:10px;padding:10px;display:grid;position:sticky;bottom:8px;box-shadow:0 10px 30px #0f172a24}.clip-edit-actionbar .primary-button,.clip-edit-actionbar .secondary-button,.clip-edit-actionbar .ghost-button{white-space:nowrap;min-height:48px;padding:0 14px}.clip-edit-actionbar .actionbar-primary{padding:0 22px;font-size:16px;font-weight:900;box-shadow:0 6px 16px #1f6feb52}@media (max-width:720px){.clip-edit-actionbar{grid-template-columns:1fr 1fr}.clip-edit-actionbar .actionbar-primary{order:-1;grid-column:1/-1}}.save-state{color:var(--muted);gap:2px;display:grid}.save-state span{font-size:11px;font-weight:900}.save-state strong{color:var(--ink);font-size:17px;line-height:1}.save-state.dirty span{color:#a16207}.nudge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.nudge-grid button{border:1px solid var(--line);min-height:38px;color:var(--ink);cursor:pointer;background:#fff;border-radius:6px;padding:0 10px;font-size:13px;font-weight:800}.subtitle-time-inputs{flex:180px;grid-template-columns:repeat(2,minmax(78px,1fr));gap:8px;display:grid}.subtitle-cut-toggle{border:1px solid var(--line);min-height:44px;color:var(--muted);cursor:pointer;background:#fff;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.subtitle-cut-toggle.active{color:var(--red);background:#fff0ef;border-color:#f1c3c0}.subtitle-message{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.comments p{border-left:3px solid var(--line);color:var(--muted);margin:0;padding-left:10px;line-height:1.5}.comments strong{color:var(--ink);margin-right:8px}.comment-form{gap:8px;display:flex}.review-hero-band{color:#fff;background:radial-gradient(circle at 88% 18%,#2dd4bf29,#0000 24%),radial-gradient(circle at 22% 18%,#3b82f633,#0000 28%),linear-gradient(135deg,#071426 0%,#0f1c34 54%,#261633 100%);border-bottom:0;padding:22px 0 24px}.review-hero,.review-container{width:min(1840px,100% - 48px)}.review-hero{align-items:center}.review-hero .page-brand-logo{border-radius:14px;width:min(240px,34vw);margin-bottom:12px;padding:6px 10px;box-shadow:0 18px 42px #00000038}.review-hero .eyebrow{color:#a7d8ff;margin-bottom:8px;font-size:12px;font-weight:900}.review-hero h1{color:#fff;margin-bottom:8px;font-size:clamp(34px,3.8vw,58px);line-height:1.05}.review-hero .muted,.review-hero .field-help,.review-hero .field-label{color:#ffffffb8}.review-hero .source-link{color:#c7d2fe}.review-hero .reviewer-box{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff14;border-color:#ffffff2e}.review-content-band{background:radial-gradient(circle at 96% 6%,#ec489912,#0000 26%),radial-gradient(circle at 4% 14%,#2563eb14,#0000 28%),linear-gradient(#f7faff 0%,#f8fafc 46%,#fff 100%);padding:24px 0 56px}.review-progress-panel,.review-settings-panel,.review-list-panel,.review-preview-panel{background:#ffffffeb;border:1px solid #94a3b859;border-radius:18px;box-shadow:0 22px 60px #0f172a14}.short-hack-fill{background:linear-gradient(90deg,#2563eb,#7c3aed,#ec4899)}.review-progress-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.review-progress-steps li{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:8px;min-width:0;padding:10px;font-size:12px;font-weight:900;display:flex}.review-progress-steps li span{color:#475569;background:#e2e8f0;border-radius:999px;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.review-progress-steps li strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.review-progress-steps li.active{color:#312e81;background:linear-gradient(135deg,#2563eb1a,#ec48991a);border-color:#7c3aed61}.review-progress-steps li.active span{color:#fff;background:linear-gradient(135deg,#2563eb,#ec4899)}.review-progress-steps.failed li.active span{background:var(--red)}.review-kpi-row .metric{border-radius:14px}.review-section-heading{align-items:end}.review-section-heading h2{margin:4px 0 0}.review-workspace{grid-template-columns:minmax(500px,.95fr) minmax(620px,1.05fr);align-items:start;gap:18px;display:grid}.review-list-panel,.review-preview-panel{min-width:0;padding:18px}.review-preview-panel{gap:14px;display:grid;position:sticky;top:16px}.review-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.review-panel-header div{gap:4px;min-width:0;display:grid}.review-panel-header span{color:var(--muted);font-size:12px;font-weight:900}.review-panel-header strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:18px;line-height:1.35;overflow:hidden}.review-list-actions,.review-bulk-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review-bulk-bar{background:linear-gradient(135deg,#eef6ff,#fff7ed);border:1px solid #c7d2fe;border-radius:14px;margin-top:12px;padding:10px}.review-bulk-bar>span{color:#334155;margin-right:auto;font-size:13px;font-weight:900}.compact-action{border-radius:10px;min-height:36px;padding:0 12px;font-size:13px}.review-clip-list{gap:10px;max-height:min(860px,100vh - 252px);margin-top:12px;padding-right:2px;display:grid;overflow:auto}.review-clip-item{background:#fff;border:1px solid #dbe5f2;border-radius:16px;grid-template-columns:30px minmax(0,1fr);gap:8px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.review-clip-item.active{background:linear-gradient(135deg,#fff7ed,#fff 60%);border-color:#f97316;box-shadow:0 14px 36px #f9731629}.review-clip-item:hover{transform:translateY(-1px)}.review-clip-check{justify-content:center;align-items:center;padding-left:8px;display:flex}.review-clip-check input{width:18px;height:18px}.review-clip-main{width:100%;min-width:0;min-height:104px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:12px;padding:10px 10px 10px 0;display:grid}.clip-thumb{aspect-ratio:16/9;color:#bfdbfe;background:#0f172a;border-radius:10px;place-items:center;width:118px;display:grid;overflow:hidden}.clip-thumb img{object-fit:cover;width:100%;height:100%;display:block}.clip-thumb.placeholder{background:linear-gradient(135deg,#111827,#312e81)}.review-clip-copy{gap:7px;min-width:0;display:grid}.review-clip-title-row,.review-clip-meta{align-items:center;gap:8px;display:flex}.review-clip-title-row b{color:#7c3aed;font-size:14px}.review-clip-title-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;line-height:1.35;overflow:hidden}.review-clip-copy small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;line-height:1.45;overflow:hidden}.review-clip-meta{color:var(--muted);flex-wrap:wrap;font-size:12px;font-weight:800}.selected-preview-media{background:radial-gradient(circle at 82% 10%,#3b82f62e,#0000 26%),radial-gradient(circle at 22% 88%,#f973161f,#0000 26%),linear-gradient(160deg,#050816,#111827 60%,#211231);border-radius:18px;place-items:center;min-height:480px;padding:16px;display:grid;overflow:hidden}.project-composition-preview{aspect-ratio:9/16;border-radius:16px;width:min(100%,360px);height:auto;max-height:620px;box-shadow:0 18px 42px #02061761}.project-preview-mode-switch{margin-bottom:8px}.preview-status-row{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;line-height:1.45;display:flex}.selected-clip-summary{gap:8px;display:grid}.selected-clip-summary p{color:var(--ink);margin:0;font-size:14px;font-weight:800;line-height:1.65}.selected-action-row{padding-top:2px}.selected-render-mode{grid-template-columns:repeat(2,minmax(0,1fr))}.short-hack-posting{background:linear-gradient(135deg,#fff,#f8fbff)}.posting-platform-grid{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;display:grid}.posting-platform-card{background:#fff;border:1px solid #dbe5f2;border-radius:12px;gap:8px;min-width:0;padding:12px;display:grid}.posting-platform-card span{color:#7c3aed;font-size:12px;font-weight:900}.posting-platform-card strong{color:var(--ink);font-size:14px;line-height:1.45}.posting-platform-card p,.posting-platform-card small,.posting-platform-card em{color:var(--muted);white-space:pre-line;margin:0;font-size:12px;font-style:normal;font-weight:800;line-height:1.55}.posting-platform-card small{color:#1d4ed8}.reviewer-box{gap:8px;width:min(280px,100%);display:grid}.empty-state{min-height:116px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:10px;display:grid}.empty-state.working{color:var(--blue);background:#eff6ff;border-color:#bfdbfe}.empty-state.working strong{color:var(--ink);font-size:16px}.empty-state.working span{color:var(--muted);font-size:13px;font-weight:800}.empty-state.error,.error-text{color:var(--red)}.error-text{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.transcript-details{padding:16px}.transcript-details summary{cursor:pointer;font-weight:800}.transcript-list{gap:10px;max-height:420px;margin-top:14px;display:grid;overflow:auto}.transcript-list p{color:var(--muted);grid-template-columns:70px 110px 1fr;gap:10px;margin:0;line-height:1.6;display:grid}.transcript-list strong{color:var(--ink)}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1180px){.project-list-header,.project-row{grid-template-columns:minmax(220px,2fr) 140px minmax(170px,1.1fr) 110px 46px}.project-list-header span:nth-child(5),.project-row-updated{display:none}}@media (max-width:840px){.project-header{grid-template-columns:1fr;display:grid}.home-page .container{width:min(100% - 24px,1180px)}.hero-copy{flex-direction:column;align-items:flex-start;gap:10px;min-height:auto}.lead{text-align:left;max-width:none}.redesigned-upload{grid-template-columns:1fr}.upload-main-column{padding:0}.upload-settings-column{padding:12px}.stats-row{grid-template-columns:repeat(2,1fr)}.project-settings-panel,.score-breakdown,.posting-draft-grid{grid-template-columns:1fr}.history-tools{flex-direction:column;align-items:flex-start}.upload-mode-grid,.upload-checkbox-grid{grid-template-columns:1fr}.history-search,.history-filter,.history-sort,.history-refresh-button{width:100%}.history-search{flex:none}.history-sort select{flex:1}.history-refresh-button{min-height:36px}.history-filter button{flex:1}.customer-folder-panel{flex-direction:column;align-items:stretch}.customer-folder-create-disclosure summary{justify-content:center;width:100%}.customer-folder-create{left:0;right:auto}.project-library-toolbar{position:static}.project-list{background:0 0;border:0;gap:8px}.project-list-header{display:none}.project-row{border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(180px,1fr) 138px 104px 44px;min-height:62px}.project-row:last-child{border-bottom:1px solid var(--line)}.project-row-main{width:100%}.project-row-condition,.project-row-updated{display:none}.project-row-customer,.project-row-status{padding:7px}.project-cell-label{display:none}.project-row-menu summary{min-height:60px}.delete-dialog{grid-template-columns:1fr}.delete-dialog-actions{flex-direction:column-reverse}.delete-dialog-actions .secondary-button,.delete-dialog-actions .danger-button{width:100%}.clip-card{grid-template-columns:1fr;max-width:420px}.review-hero,.review-container{width:min(100% - 24px,1180px)}.review-progress-steps,.review-workspace,.posting-platform-grid{grid-template-columns:1fr}.review-preview-panel{position:static}.review-clip-list{max-height:none}.clip-edit-header,.clip-edit-layout,.clip-edit-stage{grid-template-columns:1fr}.subtitle-list-panel,.subtitle-adjust-panel{max-height:none}.clip-edit-panel{grid-template-columns:1fr;grid-template-areas:"summary""timeline""silence""filler""range""buttons""message"}.clip-edit-summary{grid-template-columns:repeat(3,1fr)}.range-adjust-grid,.range-controls{grid-template-columns:repeat(2,1fr)}.timeline-zoom-control{min-width:100%}}@media (max-width:560px){.project-section-heading{align-items:flex-end}.project-section-heading>div{flex-direction:column;align-items:flex-start;gap:2px}.project-section-heading .project-view-switch{flex-direction:row;align-items:center;gap:3px}.project-view-switch button{padding:0 8px;font-size:12px}.project-row{grid-template-columns:minmax(0,1fr) auto 44px}.project-row-main{grid-area:1/1/auto/3}.project-row-customer{border-top:1px solid #e9eef5;border-left:0;grid-area:2/1}.project-row-status{border-top:1px solid #e9eef5;grid-area:2/2}.project-row-menu{grid-area:1/3/3}.project-row-menu summary{min-height:100%}.project-folder-select{min-width:128px}}@media (max-width:520px){.container,.home-page .container{width:min(100% - 20px,1180px)}.hero-band{padding:16px 0 24px}.hero-brand{border-radius:14px;min-height:58px;padding:6px 10px}.hero-logo-image{width:min(230px,82vw)}h1,.hero-title{font-size:30px}.lead{font-size:15px}.intake-layout{margin-top:-20px}.upload-panel{padding:16px}.upload-settings-column{padding:10px}.setup-summary{padding:11px}.time-estimate-main{flex-direction:column;align-items:flex-start}.time-estimate-main strong{white-space:normal}.stats-row,.clip-grid{grid-template-columns:1fr}.review-bulk-bar{align-items:stretch}.review-bulk-bar>span{width:100%;margin-right:0}.review-bulk-bar button,.selected-action-row>*{flex:1}.review-clip-main{grid-template-columns:86px minmax(0,1fr)}.clip-thumb{width:86px}.selected-preview-media{min-height:300px}.settings-grid,.template-choice-grid,.timing-grid,.subtitle-time-inputs,.nudge-grid,.source-preview-actions,.subtitle-ai-tools{grid-template-columns:1fr}.template-mini-row{grid-template-columns:repeat(2,1fr)}.silence-cut-controls{align-items:stretch}.silence-cut-actions{grid-template-columns:1fr}.silence-cut-controls .secondary-button{width:100%}.clip-edit-summary,.range-adjust-grid,.range-controls{grid-template-columns:1fr}.clip-card{max-width:none}.transcript-list p{grid-template-columns:1fr}}.login-page{background:var(--bg);min-height:100vh}.login-container{justify-content:center;padding:48px 16px;display:flex}.login-card{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;gap:12px;width:min(100%,360px);padding:28px 24px;display:flex;box-shadow:0 18px 40px #0f172a14}.login-icon{width:40px;height:40px;color:var(--blue);background:#eff6ff;border-radius:999px;justify-content:center;align-items:center;margin-bottom:4px;display:flex}.login-submit{border-radius:10px;min-height:48px;margin-top:4px;font-size:15px}
