/** Native report/share stage, visible before JavaScript initializes.
 * Made by Duhyun, Kim / Datetime 29 Oct 2026
 */
.work-ui.editor-layout main>.video-start-guide{padding:0!important;margin:12px 0!important;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.work-ui.editor-layout .video-start-title{display:flex;align-items:center;justify-content:flex-start;text-align:start;gap:6px;min-width:0;flex:1}
.work-ui.editor-layout main>.video-start-guide h1{font-size:24px!important;line-height:1.35!important;margin:0!important;font-weight:700}
.work-ui.editor-layout .video-start-title .compact-help-trigger{width:28px;min-width:28px;height:28px;min-height:28px;margin:0}
.work-ui.editor-layout .video-start-guide #backToWork{min-height:30px;padding:4px 9px;font-size:12px;margin:0}
.work-ui.editor-layout nav.steps,.work-ui.editor-layout #shareWorkflowSteps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 10px;gap:0}
.work-ui.editor-layout nav.steps a{padding:5px 10px;min-height:34px;font-size:12px}
.work-ui.editor-layout .media-editor{min-width:0;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#fff;margin:0}
.work-ui.editor-layout .media-editor .editor-heading{display:flex;align-items:center;gap:8px;min-height:30px;margin:0 0 9px}
.work-ui.editor-layout .media-editor .editor-heading h2{font-size:18px;line-height:1.35;font-weight:700;margin:0;flex:1;min-width:0}
.work-ui.editor-layout .media-editor .editor-heading .editor-source-change{min-width:0;min-height:30px;height:30px;padding:3px 9px;font-size:12px;white-space:nowrap;margin-inline-start:auto}
.work-ui.editor-layout .editor-source-area{min-width:0;padding:0;margin:0;border:0;background:transparent}
.work-ui.editor-layout .editor-source-meta{padding:0;margin:0;border:0;background:transparent;min-width:0}
.work-ui.editor-layout .editor-source-meta :is(.upload-footer,.upload-session-meta):has(:only-child:empty){display:none}
.work-ui.editor-layout .editor-source-meta #fileHint{display:none}
.work-ui.editor-layout .editor-source-meta :is(#fileList,#shareLocalSourceName){font-size:12px;margin:5px 0}
.work-ui.editor-layout .editor-source-meta #fileList:empty{display:none;margin:0}
.work-ui.editor-layout .editor-source-meta>p.muted:not([id]){display:none}
.work-ui.editor-layout .editor-file-limit{display:block;font-size:11px;color:#64748b;margin:5px 0 0;text-align:end}
.work-ui.editor-layout #restartVideoArea{display:none!important}
.work-ui.editor-layout .editor-loaded-only[hidden]{display:none!important}
/* One reserved video rectangle for both the picker and decoded media. */
.work-ui.editor-layout .media-editor :is(#videoStage,#shareStage){position:relative;display:block;width:100%;aspect-ratio:16/9;min-height:0;max-height:none;border:0;border-radius:8px;padding:0;overflow:hidden;background:#0b1220}
.work-ui.editor-layout .media-editor:not(.editor-has-media) :is(#videoStage,#shareStage){background:#f8fafc}
.work-ui.editor-layout .media-editor:not(.editor-has-media) .stage>:is(video,canvas,.video-playback-controls,.share-stage-actions,.share-proposal-layer){visibility:hidden!important;pointer-events:none!important}
.work-ui.editor-layout :is(#placeholder,#sharePlaceholder){position:absolute;inset:0;width:100%;height:100%;min-height:0;display:block;padding:0;border:0;background:transparent;pointer-events:auto;text-align:center}
.work-ui.editor-layout :is(#placeholder,#sharePlaceholder)[hidden]{display:none!important}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone){position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-wrap:nowrap;gap:clamp(6px,.65vw,12px);width:100%;height:100%;box-sizing:border-box;padding:clamp(10px,1.1vw,20px);margin:0;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;color:#334155;text-align:center;overflow:auto}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone).dragover{background:#eff6ff;border-color:#2563eb}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone)>.file-source-symbol{display:none}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone)>.editor-picker-copy{display:grid;gap:clamp(5px,.7vw,10px);flex:0 0 auto;max-width:36em;width:100%;min-width:0;text-align:center}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-privacy{font-size:clamp(18px,1.4vw,22px);font-weight:650;line-height:1.55;color:#0f172a;margin:0;overflow-wrap:anywhere;text-wrap:pretty}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-benefit{font-size:16px;line-height:1.5;color:#475569;margin:0;overflow-wrap:anywhere}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .button{display:inline-flex;box-sizing:border-box;max-width:100%;min-width:0;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:42px;padding:9px 18px;font-size:14px;line-height:1.4;white-space:nowrap;margin:0;background:#2563eb;color:#fff;border:1px solid #2563eb}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-formats{font-size:11px;line-height:1.4;margin:0;color:#64748b;flex:0 0 auto}
.work-ui.editor-layout .media-editor .play-toolbar{margin:5px 0;min-height:25px}
.work-ui.editor-layout .media-editor .summary{margin:5px 0;padding:4px 0;min-height:28px}
.work-ui.editor-layout .quick-range-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0;padding:7px 9px;min-height:0}
.work-ui.editor-layout .quick-range-picker .quick-range-copy{font-size:12px}
.work-ui.editor-layout .quick-range-picker .quick-range-copy :is(p,small){display:none}
.work-ui.editor-layout .quick-range-picker button{min-height:30px;padding:4px 8px;font-size:12px}
/* On-demand range choices keep the picture and timeline together.
 * Made by Duhyun, Kim / Datetime 30 Oct 2026 */
.work-ui .clip-preset-open{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:5px 10px;margin:0;border:1px solid #dbeafe;border-radius:9px;background:#f8fbff;color:#1d4ed8;font-size:12px;line-height:1.4}
.work-ui .clip-preset-open .singoq-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.work-ui .clip-preset-open>span{font-size:inherit;color:inherit}
.work-ui .clip-preset-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:1px solid #dbe3ec;border-radius:20px;background:#fff;color:#0f172a;box-shadow:0 24px 80px #0f172a40;overflow:auto;overscroll-behavior:contain}
.work-ui .clip-preset-dialog::backdrop{background:#0f172a70;backdrop-filter:blur(3px)}
.work-ui .clip-preset-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid #eef2f7}
.work-ui .clip-preset-header h2{margin:0;font-size:19px;font-weight:700;line-height:1.4}
.work-ui .clip-preset-close{display:grid;place-items:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:8px;margin:0;border:0;border-radius:10px;background:#f1f5f9;color:#475569}
.work-ui .clip-preset-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.work-ui.editor-layout .clip-preset-dialog .quick-range-picker{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:16px 0;padding:0;border:0;background:transparent}
.work-ui .clip-preset-dialog .quick-range-copy span{font-size:12px;line-height:1.65;color:#64748b}
.work-ui .clip-preset-dialog .quick-range-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.work-ui.editor-layout .clip-preset-dialog .quick-range-buttons button{display:grid;place-items:center;min-width:0;min-height:70px;padding:12px 5px;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc;color:#334155;font-size:17px;font-weight:650}
.work-ui.editor-layout .clip-preset-dialog .quick-range-buttons button[aria-pressed=true]{background:#eff6ff;border:2px solid #2563eb;color:#1d4ed8;box-shadow:0 0 0 3px #dbeafe}
.work-ui .clip-preset-dialog .quick-range-current{padding:9px 12px;border-radius:9px;background:#eff6ff;color:#1d4ed8;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.work-ui .clip-preset-dialog .clip-preset-around{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:10px 12px;margin:8px 0 0;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#475569;font-size:13px;line-height:1.5;white-space:normal}
.work-ui .clip-preset-dialog :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:480px){.work-ui .clip-preset-dialog{padding:16px;border-radius:17px}.work-ui .clip-preset-close{width:44px;min-width:44px;height:44px;min-height:44px}.work-ui.editor-layout .clip-preset-dialog .quick-range-buttons button{font-size:15px;min-height:64px}.work-ui .clip-preset-open{min-height:40px}}
.work-ui.editor-layout #shareWorkspaceGrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:12px;align-items:start}
.work-ui.editor-layout #shareSidebar{display:grid;gap:12px;min-width:0;position:sticky;top:20px}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness){padding:14px}
.work-ui.editor-layout #shareReadiness{position:static;margin:0}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) h2{font-size:16px;font-weight:650;line-height:1.4}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-item{min-height:36px;padding:7px 9px;font-size:12px}
.work-ui.editor-layout #shareSidebar #exportQualityPanel{padding:14px;border:1px solid #dbe3ec;border-radius:12px;margin:0}
.work-ui.editor-layout #shareSidebar #exportQualityPanel h2{font-size:16px;display:block;margin:0 0 8px}
.work-ui.editor-layout #shareLocalSourceName:not([hidden]){display:block!important;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
/* Existing owners retain hidden/disabled state; unused tools do not flash first. */
.work-ui.editor-layout .media-editor:not(.editor-has-media) :is(#videoQuickTools,#reportPlaybackPosition,.play-toolbar,.trim-control,#seekRange,#pipPlaybackTracks,#clipLabels,.precise-trim,.summary,.roi-guidance,.roi-actions,#shareCameraTools,#shareSceneToolbar,.share-output-options,.mask-editor,#finePlaybackShare){display:none!important}
.work-ui.editor-layout:not(.editor-server-processing) :is(#exportSection,#serverShareSourceControls){display:none!important}
@media(max-width:900px){
 .work-ui.editor-layout #shareWorkspaceGrid{grid-template-columns:minmax(0,1fr)}
 .work-ui.editor-layout #shareSidebar{position:static}
 .work-ui.editor-layout #exportQualityPanel{order:5}
}
@media(max-width:767px){
 .work-ui.editor-layout main>.video-start-guide{margin:9px 0!important;gap:8px}
 .work-ui.editor-layout main>.video-start-guide h1{font-size:22px!important}
 .work-ui.editor-layout .media-editor{padding:11px}
 .work-ui.editor-layout .media-editor:not(.editor-has-media) :is(#videoStage,#shareStage){min-height:236px}
 .work-ui.editor-layout .media-editor .editor-heading h2{font-size:17px}
 .work-ui.editor-layout nav.steps a{font-size:11px;padding:4px 7px;min-height:30px}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone){padding:10px;gap:6px;justify-content:safe center}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone)>.editor-picker-copy{gap:5px}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-privacy{font-size:clamp(15px,4vw,17px);line-height:1.45}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-benefit{font-size:13px;line-height:1.4}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .button{min-height:36px;padding:7px 13px;font-size:13px}
 .work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .editor-picker-formats{font-size:10px}
 .work-ui.editor-layout .quick-range-picker{flex-wrap:wrap}
 .work-ui.editor-layout .quick-range-picker .quick-range-copy{flex:1 1 70px}
}

.about-page .about-data-guide{color:#166534;font-size:clamp(15px,1.2vw,18px);line-height:1.6;max-width:62ch}
.about-page .about-device-guide{margin-bottom:6px}

.work-ui.editor-layout #shareLocalSource{margin:0}

.work-ui.editor-layout #readinessItems>.readiness-placeholder{height:120px;border-radius:8px;background:repeating-linear-gradient(to bottom,#f1f5f9 0 34px,transparent 34px 42px)}


/* Dragging and accepted-file feedback use the same video rectangle. */
.work-ui.editor-layout .editor-drop-hint{font-size:13px;line-height:1.5;color:#2563eb;margin:0;font-weight:550}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone):is(.dragging,.dragover),.work-ui.editor-layout .editor-dragging :is(#dropZone,#shareDropZone){background:#eff6ff;border:2px dashed #2563eb}
.work-ui.editor-layout .media-editor .editor-dragging{box-shadow:inset 0 0 0 3px #2563eb}
.work-ui.editor-layout .editor-dragging::after{content:"";position:absolute;inset:0;border:3px dashed #2563eb;border-radius:8px;background:#2563eb12;pointer-events:none;z-index:45}
.work-ui.editor-layout .editor-load-feedback{position:absolute;inset:0;z-index:46;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f8fafcf5;padding:24px;text-align:center;color:#0f172a}
.work-ui.editor-layout .editor-load-feedback strong{font-size:17px;font-weight:650}.work-ui.editor-layout .editor-load-names{font-size:13px;color:#64748b;max-width:100%;overflow-wrap:anywhere}
.work-ui.editor-layout .editor-load-spinner{width:30px;height:30px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:editor-load-spin .8s linear infinite}
.work-ui.editor-layout .editor-has-media #fileList .file-row-main strong::before,.work-ui.editor-layout .editor-has-media #shareLocalSourceName::before{content:"✓ ";color:#059669;font-weight:700}
@keyframes editor-load-spin{to{transform:rotate(360deg)}}
@media(pointer:coarse){.work-ui.editor-layout .editor-drop-hint{display:none}}
@media(prefers-reduced-motion:reduce){.work-ui.editor-layout .editor-load-spinner{animation:none}}

/* Playback follows the picture; export ranges remain a separate block below. */
.work-ui.editor-layout .media-editor .report-playback-position{margin:4px 0;min-width:0}
.work-ui.editor-layout .media-editor .playback-position-label{display:block;margin:0 0 2px;font-size:11px;line-height:1.3;color:var(--muted,#64748b)}
.work-ui.editor-layout .media-editor .report-playback-position>.seek{display:block;width:100%;min-width:0;margin:0}
.work-ui.editor-layout .media-editor .report-playback-position>.play-toolbar{margin:5px 0 0}
.work-ui.editor-layout .media-editor>.editor-loaded-only:has(>.trim-control){margin-top:4px}
.work-ui.editor-layout .media-editor .trim-control{margin:0;padding-top:0}
.work-ui.editor-layout .media-editor #shareCameraTools{padding-top:4px;gap:4px}
.work-ui.editor-layout .editor-source-files{margin:4px 0;padding:0;border:0}
.work-ui.editor-layout .editor-source-files:has(#fileList:empty){display:none}
.work-ui.editor-layout .editor-source-files>summary{cursor:pointer;font-size:12px;line-height:1.4;min-height:30px;display:flex;align-items:center;gap:6px;color:var(--muted,#64748b)}
.work-ui.editor-layout .editor-source-files>summary::before{content:'▸';font-size:11px}
.work-ui.editor-layout .editor-source-files[open]>summary::before{content:'▾'}
.work-ui.editor-layout .editor-source-files #fileList .file-row{padding:5px 8px;margin:4px 0}
.work-ui.editor-layout .editor-source-files #fileList .file-row-main{gap:6px}
.work-ui.editor-layout .editor-source-files #fileList .file-row-main strong{font-size:12px}
.work-ui.editor-layout .editor-source-files #fileList .camera-role-detected{margin:0;font-size:11px}

.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Shared report/share shell: content-specific checks keep the same component.
 * Made by Duhyun, Kim / Datetime 2 Nov 2026 */
body.work-ui.editor-layout #pageMain{padding-top:0}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure>summary{min-height:42px;padding:1px 0;gap:8px}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure>summary::after{content:"⌄";margin:0;font-size:15px;transition:transform .15s ease}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure[open]>summary::after{content:"⌄";transform:rotate(180deg)}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-summary>strong:first-child{font-size:16px;line-height:1.4}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-summary>strong:last-child{font-size:13px;white-space:nowrap;margin-inline-start:auto}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-body{padding-top:4px}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:0}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-item{justify-content:flex-start;align-items:center;min-height:36px;padding:7px 9px;font-size:12px;line-height:1.35;white-space:normal;text-align:start}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-full{display:inline;min-width:0;overflow-wrap:anywhere}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-short{display:none}
@media(max-width:767px){
 .work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure>summary{min-height:44px}
 .work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-summary>strong:first-child{font-size:15px}
 .work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-summary>strong:last-child{font-size:12px}
 .work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-items{grid-template-columns:repeat(2,minmax(0,1fr))}
 .work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-item{min-height:44px;font-size:11px;padding:7px 8px}
}
@media(prefers-reduced-motion:reduce){.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure>summary::after{transition:none}}

@media(max-width:767px){.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .local-source-actions>.button{min-height:44px}}
/* Match the report grid's desktop and small-laptop proportions. */
body.work-ui.editor-layout #pageMain>:is(.studio,#shareWorkspaceGrid){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:12px;align-items:start}
@media(max-width:1050px){body.work-ui.editor-layout #pageMain>:is(.studio,#shareWorkspaceGrid){grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr)}}
@media(max-width:900px){body.work-ui.editor-layout #pageMain>:is(.studio,#shareWorkspaceGrid){grid-template-columns:minmax(0,1fr)}}
/* Equal source actions wrap their labels together on smaller laptop cards. */
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .local-source-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;max-width:560px;margin-inline:auto}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .local-source-actions>.button{width:100%;white-space:normal}
@media(max-width:600px){.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) .local-source-actions{grid-template-columns:minmax(0,1fr);max-width:280px}}
@media(max-width:767px){body.work-ui.editor-layout #pageMain{margin-block-start:10px;padding-inline:6px}}
/* International notes remain below the video when report columns collapse. */
@media(max-width:900px){body.work-ui.editor-layout #pageMain>.studio>.reports{order:4}}
.work-ui.editor-layout :is(#readinessPanel,#shareReadiness) .readiness-disclosure{margin:0}
.work-ui.editor-layout #exportQualityPanel{padding:14px}
.work-ui.editor-layout .media-editor :is(#dropZone,#shareDropZone) #editorDropHint{color:#64748b}
/* First AI preparation data is visible before choosing a local video. */
.work-ui.editor-layout main>.editor-ai-data-note{margin:-4px 0 10px;color:var(--muted,#64748b);font-size:12px;line-height:1.5}
.work-ui.editor-layout main>.editor-ai-data-note>span{display:block}
