.back-link { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: 13px; padding: 8px 0; }
.back-link:hover { color: #f4f3eb; }
.editor-header { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 22px 0 30px; }
.editor-header h1 { margin: 0; max-width: 650px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.editor-header > button { flex-shrink: 0; }
.job-date { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.editor-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.editor-tabs button { padding: 15px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; }
.editor-tabs button[aria-selected="true"] { color: #f4f3eb; border-bottom-color: #f4f3eb; }
.files-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 0; }
.files-toolbar p, .selection-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.section-label { margin: 0 0 16px; font-size: 14px; font-weight: 500; }
.editor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.media-card { position: relative; min-width: 0; padding: 0; overflow: hidden; text-align: left; border: 1px solid #ffffff14; background: #171917; color: #ddd; border-radius: 5px; }
.media-card:hover { border-color: #ffffff65; }
.media-thumbnail { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #222622; }
.media-caption { display: block; padding: 11px 12px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-badge, .film-badge { position: absolute; top: 10px; left: 10px; background: #101110dd; color: #f4f3eb; border: 1px solid #ffffff24; border-radius: 4px; padding: 5px 8px; font-size: 10px; }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.film-grid .media-thumbnail { aspect-ratio: 16 / 9; }
.film-badge { top: auto; bottom: 44px; font-size: 12px; }
.website-settings { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.website-settings h2 { margin: 0 0 9px; font-size: 15px; font-weight: 500; }
.website-settings p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 430px; }
.publish-control { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.switch { width: 42px; height: 25px; padding: 3px; border: 1px solid #ffffff30; border-radius: 99px; background: #313630; }
.switch span { display: block; width: 17px; height: 17px; background: #aeb4aa; border-radius: 50%; }
.switch[aria-checked="true"] { background: #f4f3eb; border-color: #f4f3eb; }
.switch[aria-checked="true"] span { transform: translateX(17px); background: #242924; }
.selection-heading { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 16px; gap: 12px; }
.selection-heading h2 { margin: 0; }
.selection-mark { display: grid; place-items: center; position: absolute; top: 10px; right: 10px; width: 25px; height: 25px; border: 1px solid #ffffffbb; border-radius: 50%; background: #10111088; font-size: 14px; color: transparent; }
.media-card[aria-pressed="true"] { border-color: #b7c6a9; }
.media-card[aria-pressed="true"] .selection-mark { color: #192316; background: #d4e2c6; border-color: #d4e2c6; }
.editor-notice { position: fixed; z-index: 5; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); margin: 0; padding: 12px 18px; background: #f4f3eb; color: #171917; border-radius: 5px; box-shadow: 0 4px 30px #0005; font-size: 13px; }
.editor-notice:empty { display: none; }
.upload-empty { padding: 80px 24px; text-align: center; border: 1px dashed #ffffff30; border-radius: 6px; color: var(--muted); font-size: 14px; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { flex: 1; }
.copy-field button { flex-shrink: 0; }
.access-options { border: 0; padding: 0; margin: 26px 0 0; }
.access-options legend { margin-bottom: 12px; font-size: 13px; color: #d2d5cd; }
.access-options label { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 8px; cursor: pointer; }
.access-options label:has(input:checked) { background: #ffffff06; border-color: #8c9a81; }
.access-options input { margin: 1px 0 0; accent-color: #c6d6b7; }
.access-options strong { display: block; font-size: 13px; font-weight: 500; }
.access-options small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.share-notice { color: var(--muted); font-size: 12px; }
.icon-button span { font-size: 25px; line-height: 1; }
.media-dialog { width: min(940px, calc(100% - 32px)); padding: 18px; }
.preview-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 12px; font-size: 13px; }
.preview-header > span { overflow-wrap: anywhere; }
.preview-media { display: flex; justify-content: center; background: #0c0d0c; }
.preview-media img, .preview-media video { display: block; max-width: 100%; max-height: 65svh; object-fit: contain; }
.preview-footer { display: flex; justify-content: center; padding-top: 16px; }
@media (max-width: 1200px) { .editor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) { .editor-header { align-items: flex-start; flex-direction: column; gap: 20px; } .editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .website-settings { align-items: flex-start; flex-direction: column; } }
@media (max-width: 440px) { .editor-grid { gap: 10px; } .film-grid { grid-template-columns: 1fr; } .media-caption { font-size: 10px; padding: 10px 8px; } .files-toolbar { flex-wrap: wrap; } .copy-field { flex-direction: column; } }
