.subtitles-table-shift-dialog{background:radial-gradient(circle at top,var(--editor-accent-soft-strong),transparent 34%),var(--editor-dialog-overlay);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.subtitles-table-shift-dialog__panel{border:1px solid var(--editor-dialog-border);background:linear-gradient(180deg,color-mix(in srgb,var(--editor-dialog-surface-raised) 96%,transparent),color-mix(in srgb,var(--editor-dialog-surface) 98%,transparent));box-shadow:0 28px 90px var(--editor-dialog-shadow),inset 0 1px color-mix(in srgb,var(--editor-text-strong) 5%,transparent)}.subtitles-table-shift-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.25rem 1.35rem 1rem;border-bottom:1px solid var(--editor-dialog-border);background:linear-gradient(180deg,var(--editor-accent-soft),transparent)}.subtitles-table-shift-dialog__eyebrow{margin-bottom:.35rem;color:var(--editor-accent);font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.subtitles-table-shift-dialog__title{color:var(--editor-text-strong);font-size:1.1rem;font-weight:650;line-height:1.3}.subtitles-table-shift-dialog__close{display:inline-flex;align-items:center;justify-content:center;min-width:4.5rem;padding:.72rem .95rem;border:1px solid var(--editor-dialog-border);border-radius:999px;background:var(--editor-dialog-surface-raised);color:var(--editor-text-toned);font-size:.84rem;font-weight:600;line-height:1;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}.subtitles-table-shift-dialog__close:hover{border-color:color-mix(in srgb,var(--editor-accent) 30%,var(--editor-dialog-border));background:var(--editor-accent-soft);color:var(--editor-text-strong);transform:translateY(-1px)}.subtitles-table-shift-dialog__close:focus-visible{box-shadow:0 0 0 3px var(--editor-focus-ring);outline:none}.subtitles-table-shift-dialog__body{display:flex;flex-direction:column;gap:1rem;padding:1.2rem 1.35rem 1rem}.subtitles-table-shift-dialog__modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.subtitles-table-shift-dialog__mode{display:flex;align-items:center;gap:.6rem;min-height:3rem;padding:.9rem 1rem;border:1px solid var(--editor-dialog-border);border-radius:1rem;background:var(--editor-dialog-surface-raised);color:var(--editor-text-toned);font-size:.94rem;font-weight:500;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.subtitles-table-shift-dialog__mode:has(input:checked){background:var(--editor-accent-soft);border-color:color-mix(in srgb,var(--editor-accent) 42%,var(--editor-dialog-border));color:var(--editor-text-strong)}.subtitles-table-shift-dialog__mode input[type=radio]{accent-color:var(--editor-accent)}.subtitles-table-shift-dialog__fields{display:flex;flex-direction:column;gap:.95rem;padding:1rem;border:1px solid var(--editor-dialog-border);border-radius:1.05rem;background:linear-gradient(180deg,var(--editor-dialog-surface-raised),var(--editor-dialog-surface-muted))}.subtitles-table-shift-dialog__sign-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.subtitles-table-shift-dialog__meta{color:var(--editor-text-dimmed);font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.subtitles-table-shift-dialog__sign-group{display:inline-flex;gap:.45rem;padding:.25rem;border:1px solid var(--editor-dialog-border);border-radius:999px;background:var(--editor-dialog-surface)}.subtitles-table-shift-dialog__sign-button{display:inline-flex;align-items:center;justify-content:center;width:2.35rem;height:2.35rem;border:none;border-radius:999px;background:transparent;color:var(--editor-text-toned);font-size:1rem;font-weight:700;line-height:1;transition:background-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease}.subtitles-table-shift-dialog__sign-button:hover{background:var(--editor-accent-soft);color:var(--editor-text-strong)}.subtitles-table-shift-dialog__sign-button--active{background:linear-gradient(135deg,var(--editor-accent),var(--editor-accent-active));box-shadow:0 10px 24px color-mix(in srgb,var(--editor-accent-active) 35%,transparent);color:var(--text-inverted)}.subtitles-table-shift-dialog__timecode-row{display:grid;grid-template-columns:minmax(0,1.2fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1.15fr);align-items:center;gap:.55rem}.subtitles-table-shift-dialog__input{width:100%;min-width:0;height:3.15rem;padding:0 .9rem;border:1px solid var(--editor-dialog-border-strong);border-radius:.95rem;background:var(--editor-dialog-surface);color:var(--editor-text-strong);font-size:1rem;font-weight:600;text-align:center;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}.subtitles-table-shift-dialog__input::-moz-placeholder{color:var(--editor-text-dimmed);font-weight:500}.subtitles-table-shift-dialog__input::placeholder{color:var(--editor-text-dimmed);font-weight:500}.subtitles-table-shift-dialog__input:focus{outline:none;border-color:var(--editor-accent);background:var(--editor-dialog-surface-raised);box-shadow:0 0 0 4px var(--editor-focus-ring)}.subtitles-table-shift-dialog__input--hours{text-align:right}.subtitles-table-shift-dialog__input--sub{text-align:left}.subtitles-table-shift-dialog__separator{color:var(--editor-text-dimmed);font-size:1rem;font-weight:700}.subtitles-table-shift-dialog__error{padding:.9rem 1rem;border:1px solid color-mix(in srgb,var(--error) 36%,transparent);border-radius:.95rem;background:color-mix(in srgb,var(--error) 18%,transparent);color:color-mix(in srgb,var(--error) 28%,var(--editor-text-strong));font-size:.9rem;line-height:1.45}.subtitles-table-shift-dialog__preview{display:flex;flex-direction:column;gap:.9rem}.subtitles-table-shift-dialog__preview-note{padding:.85rem 1rem;border:1px solid color-mix(in srgb,var(--editor-accent) 24%,transparent);border-radius:.95rem;background:var(--editor-accent-soft);color:color-mix(in srgb,var(--editor-accent) 34%,var(--editor-text-strong));font-size:.86rem;line-height:1.5}.subtitles-table-shift-dialog__preview-card{display:flex;flex-direction:column;gap:.7rem;padding:.95rem 1rem;border:1px solid var(--editor-dialog-border);border-radius:1rem;background:linear-gradient(180deg,var(--editor-dialog-surface-raised),var(--editor-dialog-surface-muted))}.subtitles-table-shift-dialog__preview-card--focus{border-color:color-mix(in srgb,var(--editor-accent) 30%,var(--editor-dialog-border));box-shadow:inset 0 1px color-mix(in srgb,var(--editor-text-strong) 3%,transparent),0 0 0 1px var(--editor-accent-soft)}.subtitles-table-shift-dialog__preview-label,.subtitles-table-shift-dialog__preview-title{color:var(--editor-accent);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.subtitles-table-shift-dialog__preview-text{color:var(--editor-text);font-size:.96rem;line-height:1.55;white-space:pre-wrap;word-break:break-word}.subtitles-table-shift-dialog__preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.subtitles-table-shift-dialog__preview-block{display:flex;flex-direction:column;gap:.55rem;padding:.8rem .85rem;border:1px solid var(--editor-dialog-border);border-radius:.9rem;background:var(--editor-dialog-surface)}.subtitles-table-shift-dialog__preview-times{display:grid;grid-template-columns:repeat(2,minmax(7.5rem,1fr));gap:.65rem}.subtitles-table-shift-dialog__preview-time{display:flex;flex-direction:column;gap:.22rem}.subtitles-table-shift-dialog__preview-time span{color:var(--editor-text-dimmed);font-size:.74rem;font-weight:600;letter-spacing:.04em}.subtitles-table-shift-dialog__preview-time strong{color:var(--editor-text-strong);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.95rem;font-weight:700}.subtitles-table-shift-dialog__preview-hint{color:var(--editor-text-muted);font-size:.84rem;line-height:1.45}.subtitles-table-shift-dialog__footer{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:1rem 1.35rem 1.25rem;border-top:1px solid var(--editor-dialog-border);background:color-mix(in srgb,var(--editor-dialog-surface-muted) 76%,transparent)}.subtitles-table-shift-dialog__primary,.subtitles-table-shift-dialog__secondary{display:inline-flex;align-items:center;justify-content:center;min-width:7rem;min-height:2.95rem;padding:.8rem 1.15rem;border-radius:999px;font-size:.92rem;font-weight:650;transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease,border-color .14s ease,color .14s ease}.subtitles-table-shift-dialog__secondary{border:1px solid var(--editor-dialog-border);background:var(--editor-dialog-surface-raised);color:var(--editor-text-toned)}.subtitles-table-shift-dialog__secondary:hover{border-color:color-mix(in srgb,var(--editor-accent) 28%,var(--editor-dialog-border));background:var(--editor-accent-soft);color:var(--editor-text-strong);transform:translateY(-1px)}.subtitles-table-shift-dialog__primary{border:1px solid transparent;background:linear-gradient(135deg,var(--editor-accent),var(--editor-accent-active));box-shadow:0 16px 36px color-mix(in srgb,var(--editor-accent-active) 28%,transparent);color:var(--text-inverted)}.subtitles-table-shift-dialog__primary:hover{transform:translateY(-1px);box-shadow:0 18px 40px color-mix(in srgb,var(--editor-accent-active) 36%,transparent)}.subtitles-table-shift-dialog__primary:focus-visible,.subtitles-table-shift-dialog__secondary:focus-visible{box-shadow:0 0 0 3px var(--editor-focus-ring);outline:none}@media(max-width:640px){.subtitles-table-shift-dialog{align-items:flex-end;padding:1rem}.subtitles-table-shift-dialog__panel{max-width:none;border-radius:1.2rem}.subtitles-table-shift-dialog__body,.subtitles-table-shift-dialog__footer,.subtitles-table-shift-dialog__header{padding-left:1rem;padding-right:1rem}.subtitles-table-shift-dialog__header{padding-top:1rem}.subtitles-table-shift-dialog__modes{grid-template-columns:1fr}.subtitles-table-shift-dialog__footer,.subtitles-table-shift-dialog__sign-row{flex-direction:column;align-items:stretch}.subtitles-table-shift-dialog__sign-group{justify-content:center}.subtitles-table-shift-dialog__timecode-row{grid-template-columns:repeat(4,minmax(0,1fr))}.subtitles-table-shift-dialog__preview-grid,.subtitles-table-shift-dialog__preview-times{grid-template-columns:1fr}.subtitles-table-shift-dialog__separator{display:none}.subtitles-table-shift-dialog__primary,.subtitles-table-shift-dialog__secondary{width:100%}}@media(prefers-reduced-motion:reduce){.subtitles-table-shift-dialog__primary,.subtitles-table-shift-dialog__secondary{transition:none}}
