@font-face { font-family: PresentationSerif; src: url("PTSerif-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: PresentationHand; src: url("Kalam-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
body[data-presentation-font] :is(.reel-title, .image-preview-title, #titlePreview) { font-family: var(--presentation-font); font-weight: var(--presentation-font-weight, 700); }
body[data-presentation-font] .tl-editor { --tl-brand-font: var(--presentation-font); --tl-brand-weight: var(--presentation-font-weight, 700); }
.bp-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; white-space: nowrap; border: 1px solid var(--line, #dedbd5); border-radius: 99px; background: var(--panel, #fff); color: var(--ink, #252328); padding: 10px 14px; font: 700 12px "Avenir Next", sans-serif; cursor: pointer; }
.bp-trigger svg, .bp-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header:has(.bp-trigger) { grid-template-columns: minmax(120px, 1fr) auto auto auto; gap: 14px; }
body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header .bp-trigger { grid-column: 3; grid-row: 1; }
body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header:has(.bp-trigger) .logout-button { grid-column: 4; }
.bp-dialog { --bp-accent: var(--red, #c82836); --bp-ink: #28262a; --bp-muted: #716b68; --bp-line: #e6e0d9; width: min(920px, calc(100vw - 32px)); max-width: none; max-height: min(880px, calc(100dvh - 40px)); padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--bp-ink); border: 1px solid #ddd4ca; border-radius: 20px; background: #fffdfa; box-shadow: 0 28px 100px #211a2340; font: 13px/1.5 "Avenir Next", "Helvetica Neue", sans-serif; letter-spacing: normal; }
.bp-dialog::backdrop { background: #19151eb3; backdrop-filter: blur(5px); }
.bp-dialog[open] { animation: bp-enter .18s ease-out; }
.bp-dialog *, .bp-dialog *::before, .bp-dialog *::after { box-sizing: border-box; }
.bp-dialog [hidden] { display: none !important; }
.bp-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 28px 0; }
.bp-eyebrow { color: var(--bp-accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; overflow-wrap: anywhere; }
.bp-heading h2 { margin: 5px 0 0; color: var(--bp-ink); font: 700 34px/1.1 "Barlow Condensed", sans-serif; letter-spacing: -.015em; }
.bp-dialog button { cursor: pointer; font: inherit; }
.bp-icon-button { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--bp-line); border-radius: 50%; color: var(--bp-muted); background: #fff; }
.bp-intro { margin: 12px 28px 22px; max-width: 650px; color: var(--bp-muted); font-size: 12px; line-height: 1.65; }
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 28px; padding: 0 28px 25px; align-items: start; }
.bp-editable { border: 0; padding: 0; margin: 0; min-width: 0; }
.bp-section + .bp-section { margin-top: 21px; padding-top: 19px; border-top: 1px solid var(--bp-line); }
.bp-section h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font: 800 15px "Avenir Next", sans-serif; }
.bp-section h3 > span { color: var(--bp-accent); font: 700 17px "Barlow Condensed", sans-serif; }
.bp-section h3 small { margin-left: auto; color: var(--bp-muted); font-size: 10px; font-weight: 500; }
.bp-dialog label { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 10px 0; font-size: 11px; font-weight: 700; color: var(--bp-ink); }
.bp-dialog :is(input, select) { min-width: 0; width: 100%; min-height: 38px; border: 1px solid #d8d0c7; border-radius: 8px; padding: 8px 9px; background: #fff; color: var(--bp-ink); font: 12px "Avenir Next", sans-serif; }
.bp-dialog input::placeholder { color: #89807a; font-size: 10px; }
.bp-dialog input[type="checkbox"] { appearance: auto; width: 16px; height: 16px; min-height: 0; flex: none; margin: 0; accent-color: var(--bp-accent); }
.bp-dialog label.bp-check { flex-direction: row; align-items: center; gap: 9px; padding: 5px 0; font-weight: 600; }
.bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.bp-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-dialog .bp-color { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 5px 9px; }
.bp-color input { grid-column: 1; width: 32px; height: 32px; min-height: 32px; padding: 2px; border-radius: 7px; cursor: pointer; }
.bp-color output { grid-column: 2; align-self: center; font: 11px ui-monospace, monospace; color: var(--bp-muted); }
.bp-color > span { grid-column: 1/-1; }
.bp-hint { margin: 7px 0 0; font-size: 10px; font-weight: 400; color: var(--bp-muted); line-height: 1.6; }
.bp-upload { padding: 11px; border: 1px dashed #cfc3b6; border-radius: 9px; background: #f8f4ee; }
.bp-upload input { padding: 0; min-height: 30px; border: 0; background: transparent; }
.bp-upload small { font-weight: 400; color: var(--bp-muted); font-size: 10px; }
.bp-gradient { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--bp-line); border-radius: 10px; background: #fff; }
.bp-gradient summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.bp-gradient summary span { float: right; color: var(--bp-muted); font-size: 10px; font-weight: 500; }
.bp-preview { position: sticky; top: 18px; min-width: 0; padding: 13px; border-radius: 13px; background: linear-gradient(145deg, #eee8df, #f6f2ec 65%); border: 1px solid #e5ded3; }
.bp-preview-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.bp-preview-heading > span { font-size: 9px; font-weight: 800; letter-spacing: .09em; color: #786e64; }
.bp-preview-heading select { min-height: 28px; padding: 4px 6px; font-size: 10px; }
.bp-sample { position: relative; width: 100%; aspect-ratio: 9/16; overflow: hidden; container-type: inline-size; border: 1px solid #ffffff8c; outline: 1px solid #28212826; background: #09080d; box-shadow: 0 8px 22px #2a201e1a; }
.bp-sample-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 10% 10%; pointer-events: none; }
.bp-sample-shade { position: absolute; left: 0; right: 0; pointer-events: none; }
.bp-sample-logo { position: absolute; object-fit: contain; outline: 1px dashed #fff9; outline-offset: 2px; box-sizing: content-box; }
.bp-sample-empty { position: absolute; top: 15%; left: 12%; right: 12%; color: #fff9; font-size: 10px; text-align: center; }
.bp-sample-title { position: absolute; bottom: 8%; left: 7%; right: 7%; font-family: var(--bp-preview-font, "Barlow Condensed"), sans-serif; font-weight: var(--bp-preview-weight, 700); font-size: 6cqw; line-height: 1.16; overflow-wrap: anywhere; color: #fff; }
.bp-scope-note { border-top: 1px solid #dcd3c7; padding-top: 12px; margin-top: 12px; color: #6f6256; font-size: 10px; line-height: 1.65; }
.bp-footer { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 15px 28px; border-top: 1px solid var(--bp-line); background: #fffdfaf5; backdrop-filter: blur(8px); border-radius: 0 0 20px 20px; }
.bp-status { width: 100%; margin: 0; color: var(--bp-muted); font-size: 12px; overflow-wrap: anywhere; }
.bp-status:empty { display: none; }
.bp-status[data-tone="error"] { color: #ad2531; }
.bp-status[data-tone="success"] { color: #286448; }
.bp-footer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; width: 100%; }
.bp-primary, .bp-secondary, .bp-text-button { border: 1px solid transparent; border-radius: 8px; min-height: 38px; padding: 8px 13px; font-size: 12px !important; font-weight: 700 !important; }
.bp-primary { color: #fff; background: var(--bp-accent); }
.bp-secondary { color: var(--bp-ink); border-color: #d8d0c7; background: #fff; }
.bp-text-button { padding: 6px 3px; margin-right: auto; color: var(--bp-muted); background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.bp-dialog button:disabled, .bp-dialog fieldset:disabled { opacity: .6; cursor: not-allowed; }
.bp-dialog :focus-visible, .bp-trigger:focus-visible { outline: 3px solid var(--bp-accent, var(--red, #c82836)); outline-offset: 3px; }
.bp-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes bp-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) { body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header:has(.bp-trigger) { gap: 8px; padding-left: 20px; padding-right: 20px; } .bp-trigger { padding: 9px 11px; } }
@media (max-width: 700px) { body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header:has(.bp-trigger) { height: auto; min-height: 90px; grid-template-columns: 1fr auto auto; gap: 10px; padding: 14px; } body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header .bp-trigger { grid-row: 2; grid-column: 1/4; justify-self: stretch; } body[data-authenticated="true"]:not([data-brand="wide-logo"]) .site-header:has(.bp-trigger) .logout-button { grid-column: 3; } .site-header:has(.bp-trigger) .brand-mark { max-width: 120px; } .bp-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; } .bp-heading { padding: 20px 18px 0; } .bp-intro { margin: 12px 18px 18px; } .bp-layout { padding: 0 18px 18px; gap: 18px; grid-template-columns: minmax(0, 1fr) 180px; } .bp-footer { padding: 12px 18px; } }
@media (max-width: 520px) { .bp-layout { display: flex; flex-direction: column; } .bp-controls { width: 100%; } .bp-preview { position: static; width: 100%; display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 12px; } .bp-preview-heading { grid-column: 1/-1; margin-bottom: 0; flex-wrap: nowrap; justify-content: space-between; } .bp-preview-heading select { width: auto; } .bp-sample { grid-row: 2/4; } .bp-preview > .bp-hint { margin: 0; align-self: end; } .bp-scope-note { margin: 0; align-self: start; } .bp-footer-actions .bp-text-button { flex-basis: 100%; text-align: left; } .bp-footer-actions .bp-primary { flex: 1; } .bp-footer-actions .bp-secondary { min-width: 70px; } .bp-grid-three { gap: 8px; } .bp-grid-three input { padding: 7px 5px; } }
@media (prefers-reduced-motion: reduce) { .bp-dialog[open] { animation: none; } }
