/* Reclames workspace: a quiet brief beside a contact sheet of the real brand. */
body.page-edit { --edit-blue: #2458D3; --edit-ink: #182641; --edit-mist: #E6EDFC; --edit-paper: #F4F6FA; --edit-line: #dce2ec; }
body.page-edit [hidden] { display: none !important; }
body.page-edit .edit-bar { height: 76px; min-height: 76px; }
body.page-edit .edit-bar-title { font-size: 13px; }
.edit-intro, .edit-steps, body.page-edit .edit-grid { max-width: 1400px; margin-inline: auto; }
.edit-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 38px 32px 25px; }
body.page-edit .edit-intro h1 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.23; letter-spacing: -.035em; margin: 0 0 10px; }
.edit-intro p { margin: 0; max-width: 67ch; font-size: 14px; color: var(--muted); line-height: 1.65; }
body.page-edit .edit-eyebrow { margin: 0 0 9px; color: var(--muted); font-size: 11px; line-height: 1.4; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.edit-preview-link { flex-shrink: 0; font-size: 13px; font-weight: 700; padding: 12px 0; }
.edit-preview-link span { margin-left: 12px; }
.edit-mobile-preview { display: none; }
.edit-steps { display: flex; gap: 30px; padding: 0 32px 19px; }
.edit-steps a { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; }
.edit-steps a span { display: grid; place-items: center; width: 23px; height: 23px; background: #fff; border: 1px solid var(--edit-line); border-radius: 50%; font-size: 11px; color: var(--edit-ink); }
body.page-edit .edit-grid { grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr); padding: 0 32px 56px; gap: 28px; }
body.page-edit .edit-col { gap: 22px; }
body.page-edit .edit-side { top: 96px; max-height: calc(100dvh - 114px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7d0df transparent; padding-right: 4px; padding-bottom: 3px; gap: 18px; }
body.page-edit .edit-panel { padding: clamp(22px, 2.3vw, 32px); gap: 25px; border: 1px solid var(--edit-line); box-shadow: 0 5px 20px #18264103; scroll-margin-top: 96px; }
body.page-edit .app-step-head { gap: 12px; }
body.page-edit .app-step-head h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
body.page-edit .app-step-num { display: grid; place-items: center; background: var(--edit-mist); color: var(--edit-blue); border: 0; border-radius: 7px; width: 29px; height: 29px; font-size: 12px; }
body.page-edit .editor-label { font-size: 14px; line-height: 1.45; margin-bottom: 6px; }
body.page-edit .editor-note { font-size: 12.5px; line-height: 1.65; }
body.page-edit .editor-note.is-error { color: var(--danger); border-color: var(--danger); }
body.page-edit .editor-field { min-width: 0; }
body.page-edit input[type="text"], body.page-edit input[type="email"], body.page-edit textarea { font-size: 16px; line-height: 1.6; padding: 12px 14px; }
body.page-edit .editor-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.page-edit .editor-mode { border-radius: 9px; padding: 15px; align-content: start; }
body.page-edit .editor-mode.is-on { border-color: var(--edit-blue); box-shadow: none; background: #f7f9ff; }
body.page-edit .editor-mode-title { font-size: 14px; line-height: 1.4; }
body.page-edit .editor-mode-note { font-size: 12px; }
body.page-edit .editor-chip { min-height: 40px; padding: 10px 12px; font-size: 12.5px; line-height: 1.4; }
body.page-edit .editor-chip.is-on { background: var(--edit-mist); color: #1945ae; border-color: #afc4f1; }
body.page-edit .editor-chip.is-on .editor-chip-sub { color: #36527e; }
body.page-edit .editor-chip-sub { font-size: 11px; line-height: 1.5; }
body.page-edit .editor-chip.is-quiet { background: var(--edit-paper); border-color: transparent; min-height: 36px; font-size: 12px; }
body.page-edit .edit-sound-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.edit-sound-mode { position: relative; display: grid; gap: 6px; text-align: left; background: #fff; border: 1px solid #c7d0df; border-radius: 10px; padding: 18px; font: inherit; cursor: pointer; color: var(--edit-ink); }
.edit-sound-mode strong { font-size: 14px; font-weight: 750; line-height: 1.4; }
.edit-sound-mode > span:last-child { font-size: 12px; line-height: 1.55; color: var(--muted); }
.edit-sound-mode::after { content: ''; position: absolute; top: 18px; right: 17px; width: 14px; height: 14px; border: 1px solid #c7d0df; border-radius: 50%; }
.edit-sound-mode.is-on { border-color: var(--edit-blue); background: #f7f9ff; box-shadow: inset 0 0 0 1px var(--edit-blue); }
.edit-sound-mode.is-on::after { border: 4px solid var(--edit-blue); background: #fff; }
.edit-sound-icon { font-size: 26px; line-height: 1; color: var(--edit-blue); margin-bottom: 8px; height: 27px; }
.edit-voice-panel { padding: 20px; display: grid; gap: 22px; background: var(--edit-paper); border: 1px solid var(--edit-line); border-radius: 10px; }
body.page-edit .editor-voices { align-items: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
body.page-edit .editor-voices > button { grid-column: 1 / -1; }
body.page-edit .editor-voice { display: flex; min-width: 0; }
body.page-edit .editor-voice > .editor-chip { display: grid; justify-items: start; text-align: left; flex: 1; min-width: 0; }
body.page-edit .editor-voice .editor-chip-sub { overflow-wrap: anywhere; }
body.page-edit .editor-play { min-width: 40px; min-height: 40px; flex-shrink: 0; }
.edit-music-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.page-edit .edit-music-auto { grid-column: 1 / -1; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 14px; }
.edit-track { display: flex; align-items: center; border: 1px solid var(--edit-line); border-radius: 9px; background: #fff; padding: 3px 9px 3px 3px; min-width: 0; }
.edit-track.is-on { border-color: #afc4f1; background: var(--edit-mist); }
body.page-edit .edit-track .editor-chip { flex: 1; min-width: 0; display: grid; gap: 3px; justify-items: start; text-align: left; border: 0; background: transparent; padding: 12px 8px; }
body.page-edit .edit-track .editor-chip strong { font-weight: 750; }
body.page-edit .edit-track .editor-play { min-width: 34px; min-height: 34px; border-radius: 50%; }
body.page-edit .edit-music-none { justify-self: start; grid-column: 1 / -1; border: 0; font-weight: 500; }
.edit-rhythm-note { display: flex; align-items: flex-start; gap: 13px; padding: 18px; border-radius: 10px; background: #edf3fd; }
.edit-rhythm-note > span { font-size: 26px; color: var(--edit-blue); line-height: 1.2; }
.edit-rhythm-note strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 700; }
.edit-rhythm-note p { margin: 5px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
body.page-edit .editor-styles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
body.page-edit .editor-style { border: 1px solid var(--edit-line); border-radius: 9px; padding: 6px; }
body.page-edit .editor-style.is-on { border-color: var(--edit-blue); box-shadow: 0 0 0 1px var(--edit-blue); }
body.page-edit .editor-style-name { font-size: 10px; line-height: 1.5; }
body.page-edit .editor-style-thumb { aspect-ratio: 4 / 5; border-radius: 5px; }
body.page-edit .editor-colors input { width: 46px; height: 40px; border: 1px solid var(--edit-line); padding: 4px; border-radius: 7px; background: #fff; }
body.page-edit .edit-dropzone { position: relative; display: grid; place-items: center; gap: 7px; text-align: center; padding: 26px 20px; border: 1px dashed #94aad0; border-radius: 12px; background: #f7f9fe; cursor: pointer; }
body.page-edit .edit-dropzone strong { font-size: 14px; line-height: 1.5; }
body.page-edit .edit-dropzone > span:last-of-type { color: var(--muted); font-size: 12px; font-weight: 400; }
.edit-dropzone:focus-within, .edit-dropzone.is-dragging { outline: 2px solid var(--edit-blue); outline-offset: 3px; background: var(--edit-mist); }
.edit-upload-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #c0cfe8; border-radius: 9px; color: var(--edit-blue); font-size: 23px; margin-bottom: 3px; }
body.page-edit #editor-photo-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; }
body.page-edit #editor-mine { border-top: 0; padding-top: 4px; }
body.page-edit .editor-photo { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--edit-line); border-radius: 7px; }
body.page-edit .editor-photo-box { width: 20px; height: 20px; accent-color: var(--edit-blue); }
body.page-edit .editor-mine-card img { width: 100%; border-radius: 7px; aspect-ratio: 1; object-fit: cover; }
body.page-edit #editor-panel-preview { padding: 21px; gap: 14px; }
.edit-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.page-edit .edit-preview-head h2 { font-size: 18px; line-height: 1.4; }
body.page-edit .edit-preview-head .edit-eyebrow { font-size: 10px; margin-bottom: 4px; }
.edit-ratio { border: 1px solid var(--edit-line); padding: 4px 7px; border-radius: 4px; font: 11px ui-monospace, monospace; color: var(--muted); }
.edit-preview-stage { padding: 20px; display: grid; place-items: center; border-radius: 10px; background: #e7ebf3; }
body.page-edit .editor-screen { margin: 0; max-width: 310px; width: 100%; justify-self: center; border-radius: 4px; box-shadow: 0 8px 24px #1826411f; }
body.page-edit .editor-screen-artwork { background: #182641; }
.editor-screen-artwork img:not([src]) { visibility: hidden; }
body.page-edit .edit-frame-picker { flex-wrap: nowrap; justify-content: center; gap: 4px; }
body.page-edit .edit-frame-picker .editor-chip { font-size: 11px; min-height: 34px; padding: 8px 12px; }
.edit-filmstrip { display: flex; overflow-x: auto; gap: 7px; padding: 3px; scrollbar-width: thin; }
.edit-filmstrip button { flex-shrink: 0; width: 48px; height: 60px; padding: 2px; background: #fff; border: 1px solid var(--edit-line); border-radius: 5px; cursor: pointer; }
.edit-filmstrip button[aria-pressed="true"] { border-color: var(--edit-blue); box-shadow: 0 0 0 1px var(--edit-blue); }
.edit-filmstrip img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
body.page-edit .edit-preview-note { margin: 0; font-size: 11px; }
body.page-edit .editor-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
body.page-edit .editor-meta > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 8px 0; border-top: 1px solid var(--edit-line); border-bottom: 0; }
body.page-edit .editor-meta dt { font-size: 10px; }
body.page-edit .editor-meta dd { font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
body.page-edit .edit-cost { padding: 22px; gap: 18px; }
body.page-edit .editor-cost-value { font-size: 23px; line-height: 1.3; }
.edit-included { margin-top: 8px; }
.edit-included > summary { font-size: 12px; color: var(--muted); cursor: pointer; }
body.page-edit .edit-included .editor-rows dt, body.page-edit .edit-included .editor-rows dd { font-size: 11px; }
body.page-edit .edit-cost #editor-action > .editor-note { font-size: 11px; }
body.page-edit :focus-visible { outline: 2px solid var(--edit-blue); outline-offset: 3px; }
@media (max-width: 1050px) {
  body.page-edit .edit-grid { gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(310px, .8fr); padding-inline: 22px; }
  .edit-intro, .edit-steps { padding-inline: 22px; }
  .edit-sound-mode { padding: 15px; }
  body.page-edit .editor-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-edit .editor-modes, .edit-music-library, body.page-edit .editor-voices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body.page-edit .edit-bar { height: auto; padding: 13px 16px; min-height: 72px; gap: 10px; }
  body.page-edit .edit-bar .app-wordmark { font-size: 22px; }
  .edit-bar-allowance { order: 5; flex-basis: 100%; font-size: 11px; }
  .edit-intro { padding: 25px 18px 20px; }
  body.page-edit .edit-intro h1 { font-size: 28px; }
  .edit-intro p { font-size: 13px; }
  .edit-preview-link { display: none; }
  .edit-steps { padding: 0 18px 19px; gap: 14px; flex-wrap: wrap; }
  .edit-steps a { font-size: 11px; gap: 6px; }
  body.page-edit .edit-grid { display: flex; flex-direction: column; padding: 0 12px 32px; gap: 20px; }
  body.page-edit .edit-grid { padding-bottom: 88px; }
  body.page-edit .edit-mobile-preview { display: inline-flex; align-items: center; gap: 18px; position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 11; padding: 12px 17px; background: #fff; border: 1px solid #afc4f1; border-radius: 30px; box-shadow: 0 4px 20px #18264126; font-size: 12px; font-weight: 750; }
  body.page-edit .edit-col, body.page-edit .edit-side { width: 100%; }
  body.page-edit .edit-side { position: static; max-height: none; overflow: visible; padding: 0; }
  body.page-edit .edit-panel { padding: 22px 18px; scroll-margin-top: 120px; }
  body.page-edit .editor-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-edit .edit-sound-modes { gap: 9px; }
  .edit-sound-mode { padding: 15px 12px; }
  .edit-sound-mode strong { font-size: 13px; }
  .edit-sound-mode > span:last-child { font-size: 11px; }
  .edit-sound-mode::after { right: 12px; top: 16px; }
  body.page-edit .editor-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-edit .edit-inline { grid-template-columns: minmax(0, 1fr); }
  body.page-edit .edit-settings { grid-template-columns: minmax(0, 1fr); }
  body.page-edit .edit-voice-panel { padding: 14px; }
  .edit-preview-stage { padding: 18px; }
  body.page-edit .editor-screen { max-width: 310px; }
  .edit-filmstrip button { width: 53px; height: 66px; }
}
@media (max-width: 380px) {
  body.page-edit .edit-bar .app-wordmark { font-size: 20px; gap: 5px; }
  body.page-edit .edit-bar .brand-mark { width: 23px; height: 25px; }
  body.page-edit .edit-bar .app-btn { font-size: 11px; padding: 8px 10px; }
  body.page-edit .edit-bar .lang-switch { padding: 5px 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .edit-sound-mode, .edit-track { transition: background .15s, border-color .15s; }
}

/* Uploaded photos: orientation controls and optional website selection. */
body.page-edit label.editor-mix-toggle{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line,#dce2ec);border-radius:10px;background:var(--paper,#f4f6fa);margin:8px 0 18px;cursor:pointer}
body.page-edit .editor-mix-toggle input{width:18px;height:18px;margin:3px 0 0;accent-color:var(--blue,#2458d3);flex-shrink:0}
.editor-mix-toggle strong{display:block;font-size:13px;line-height:1.6}.editor-mix-toggle small{display:block;font-size:12px;line-height:1.7;color:var(--muted,#58667c);margin-top:3px;font-weight:400}
.editor-photo-rotation{display:flex;gap:8px;padding:10px 0;justify-content:center}.editor-photo-rotation button{min-width:44px;min-height:44px;border:1px solid var(--line,#dce2ec);border-radius:7px;background:#fff;color:var(--ink,#182641);font-size:23px;line-height:1;cursor:pointer}.editor-photo-rotation button:hover{border-color:var(--blue,#2458d3);color:var(--blue,#2458d3)}body.page-edit .editor-mine-card>img{object-fit:contain;background:#f3f5f8}
.editor-photo-direction{display:block;text-align:center;font-size:11px;line-height:1.5;padding:8px 8px 0;color:var(--muted,#58667c);min-height:24px}

/* Voice paused: the voice mode stays visible, greyed, and says it is coming. */
.edit-sound-mode.is-soon { cursor: not-allowed; background: var(--edit-paper); border-color: var(--edit-line); color: #56647B; }
.edit-sound-mode.is-soon::after { display: none; }
.edit-sound-mode.is-soon .edit-sound-icon { opacity: .55; }
.edit-soon { justify-self: start; display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; color: #1945ae; background: var(--edit-mist); border-radius: 999px; padding: 5px 9px; }

/* Drafts: the work in progress, saved as it goes and listed under the steps. */
.edit-drafts { max-width: 1400px; margin: 0 auto; padding: 0 32px 18px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 22px; font-size: 13px; }
.edit-drafts-status { margin: 0; padding: 2px 0; color: var(--muted); }
.edit-drafts-status:empty { display: none; }
.edit-drafts-status.is-error { color: #b42318; }
.edit-drafts-menu { flex: 1 1 320px; max-width: 560px; }
.edit-drafts-menu > summary { cursor: pointer; font-weight: 700; color: var(--edit-blue); padding: 2px 0; width: max-content; max-width: 100%; }
.edit-drafts-list { list-style: none; margin: 10px 0 0; padding: 6px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--edit-line); border-radius: 10px; }
.edit-drafts-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 7px; }
.edit-drafts-item.is-current { background: var(--edit-mist); }
.edit-drafts-name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.edit-drafts-name strong { font-size: 13px; font-weight: 700; color: var(--edit-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edit-drafts-name span { font-size: 11.5px; color: var(--muted); }
.edit-drafts-item a, .edit-drafts-current { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.edit-drafts-current { color: #1945ae; }
.edit-drafts-delete { font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 2px; cursor: pointer; white-space: nowrap; }
.edit-drafts-delete.is-armed { color: #b42318; }
.edit-drafts-note { margin: 8px 2px 0; font-size: 12px; color: var(--muted); }
.edit-drafts-new { font-weight: 700; padding: 2px 0; }
@media (max-width: 1050px) { .edit-drafts { padding-inline: 22px; } }
@media (max-width: 760px) { .edit-drafts { padding: 0 18px 16px; } }

/* The create button never scrolls away (15/09/2026). Desktop: the action bar
   sticks to the foot of the preview column, which scrolls on its own. Phone:
   it is fixed to the bottom of the screen, above the home indicator. */
body.page-edit .edit-side > .edit-action-bar { position: fixed; z-index: 15; bottom: 16px; right: calc((100vw - min(100vw, 1400px)) / 2 + 32px); width: calc((min(100vw, 1400px) - 92px) * .386); background: #fff; border: 1px solid var(--edit-line); border-radius: 12px; padding: 16px; box-shadow: 0 12px 32px rgba(24, 38, 65, .18); }
/* Room for the column's own content to scroll clear of the floating bar. */
body.page-edit .edit-side { padding-bottom: 200px; }
@media (max-width: 1050px) { body.page-edit .edit-side > .edit-action-bar { right: 22px; width: calc((100vw - 64px) * .444); } }
body.page-edit .edit-action-bar #editor-action > .editor-note { font-size: 11px; }
@media (max-width: 760px) {
  body.page-edit .edit-side { padding-bottom: 0; }
  body.page-edit .edit-side > .edit-action-bar { position: fixed; left: 0; right: 0; width: auto; bottom: 0; z-index: 20; border-radius: 0; border-width: 1px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px rgba(24, 38, 65, .12); }
  body.page-edit .edit-action-bar .editor-field { margin-bottom: 8px; }
  body.page-edit .edit-action-bar #editor-action > .editor-note:not(#editor-go-msg) { display: none; }
  body.page-edit .edit-grid { padding-bottom: 190px; }
  body.page-edit .edit-mobile-preview { display: none; }
}

/* The five-second moving preview, in place of the still. */
body.page-edit .editor-preview-clip { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-edit .editor-preview-clip[hidden] { display: none; }
body.page-edit .edit-preview-video { margin-top: 10px; }

/* The film's mock-up: one thumbnail per shot, the chosen one outlined. */
body.page-edit .edit-maquette-btn { margin-top: 12px; }
body.page-edit .edit-maquette button[aria-pressed="true"] { outline: 2px solid var(--edit-blue); outline-offset: 2px; }
body.page-edit .edit-maquette-note { margin-top: 8px; color: var(--edit-ink); }
