.portfolio-card:has([data-action="offer-video"]) .portfolio-card-actions { max-width: 420px; }
@media (max-width: 760px) {
    .portfolio-card:has([data-action="offer-video"]) .portfolio-card-actions { max-width: none; }
}
.offer-video-dialog {
    width: min(540px, calc(100% - 40px));
    max-height: calc(100dvh - 64px);
    margin: auto;
    padding: 28px;
    overflow-y: auto;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(28, 25, 23, 0.2);
}
.offer-video-dialog::backdrop { background: rgba(28, 25, 23, 0.5); }
.offer-video-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.offer-video-eyebrow { margin: 0 0 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.offer-video-heading h2 { margin: 0; font-size: 1.5rem; }
.offer-video-close { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--muted); line-height: 1; cursor: pointer; }
.offer-video-offer { margin: 20px 0 8px; font-weight: 600; overflow-wrap: anywhere; }
.offer-video-copy, .offer-video-status { color: var(--muted); line-height: 1.6; font-size: 0.9rem; }
.offer-video-copy { margin: 0 0 24px; }
.offer-video-file-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px; border: 1px dashed var(--primary-line); border-radius: 18px; background: var(--primary-ultralight); text-align: center; }
.offer-video-file-box svg { color: var(--primary); margin-bottom: 4px; }
.offer-video-file-box label { font-weight: 600; }
.offer-video-file-box p { margin: 0 0 8px; color: var(--muted); font-size: 0.82rem; }
.offer-video-file { display: none; }
.offer-video-filename { max-width: 100%; overflow-wrap: anywhere; color: var(--muted); font-size: 0.8rem; }
.offer-video-progress { margin-top: 22px; }
.offer-video-progress progress { display: block; width: 100%; height: 6px; appearance: none; border: none; border-radius: 10px; overflow: hidden; background: var(--line); accent-color: var(--primary); }
.offer-video-progress progress::-webkit-progress-bar { background: var(--line); }
.offer-video-progress progress::-webkit-progress-value { background: var(--primary); border-radius: 10px; }
.offer-video-progress progress::-moz-progress-bar { background: var(--primary); }
.offer-video-status { margin: 12px 0 0; }
.offer-video-status:empty { display: none; }
.offer-video-error { color: var(--danger); font-size: 0.88rem; line-height: 1.5; margin: 12px 0 0; }
.offer-video-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.offer-video-dialog [hidden] { display: none; }
.offer-video-dialog button:disabled { cursor: not-allowed; opacity: 0.5; }
.offer-video-dialog button:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 3px; }
@media (max-width: 600px) {
    .offer-video-dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 20px); margin: auto 0 0; padding: 24px 20px max(24px, env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; border-bottom: 0; }
    .offer-video-file-box { padding: 20px 16px; }
    .offer-video-actions { flex-direction: column; }
}
