/* The daily workflow: create, see the result, then choose its publication. */
.sidebar .simple-nav { gap: 10px; margin-top: 10px; }
.sidebar .simple-nav a { padding: 14px 12px; font-size: 14px; }
.topbar { font-size: 14px; }
.environment-note { margin-bottom: 23px; font-size: 12px; }
.creator-shell { max-width: 880px; }
.creator-shell h1 { font-size: 34px; letter-spacing: -.7px; }
.creator-shell .page-heading p { font-size: 15px; }
.creator-form { background: white; padding: 28px 32px; border: 1px solid var(--line); border-radius: 12px; }
.creator-business { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.creator-business label { font-size: 14px; white-space: nowrap; color: var(--muted); }
.creator-business select { max-width: 380px; font-size: 15px; padding: 10px 12px; }
.creator-step { padding: 0; border: 0; margin: 0 0 25px; min-width: 0; }
.creator-step legend { font-size: 17px; font-weight: 650; margin-bottom: 15px; padding: 0; }
.step-number { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f0f2f6; color: #626e7d; font-size: 13px; margin-right: 9px; }
.format-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.format-choice { display: block; position: relative; cursor: pointer; min-width: 0; }
.format-choice>input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.format-card { display: grid; grid-template-columns: 42px 1fr; gap: 2px 14px; border: 2px solid #e4e8ed; border-radius: 9px; padding: 17px 20px; background: white; }
.format-card svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 1.6; grid-row: span 2; color: #748092; align-self: center; }
.format-card strong { font-size: 18px; }
.format-card>span { font-size: 12px; color: var(--muted); }
.format-choice input:checked+.format-card { border-color: var(--accent); background: #fff7f3; }
.format-choice input:checked+.format-card svg { color: #bd513b; }
.format-choice input:focus-visible+.format-card { outline: 3px solid #354e78; outline-offset: 4px; }
.format-card:hover { border-color: #c2cbd5; }
.upload-area { position: relative; padding: 21px 20px; text-align: center; border: 2px dashed #d8dfe7; border-radius: 9px; background: #fafbfc; }
.upload-area.dragging { border-color: var(--accent); background: #fff5ef; }
.upload-area>svg { display: block; width: 33px; height: 33px; fill: none; stroke: #8692a2; stroke-width: 1.6; margin: 0 auto 7px; }
.upload-area>strong { display: block; font-size: 16px; }
.upload-area>p { color: var(--muted); font-size: 13px; margin: 4px 0 13px; }
.upload-area>small { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; }
.upload-area>input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0!important; bottom: 35px; left: 50%; }
.upload-area:focus-within { border-color: #506989; }
.upload-area .button { min-height: 42px; font-size: 14px; cursor: pointer; }
.optional-label { margin-left: 7px; font-weight: 400; color: var(--muted); font-size: 12px; }
.creator-step textarea { font-size: 15px; padding: 13px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.creator-options { font-size: 13px; color: var(--muted); }
.options-fields { max-width: 500px; margin: 16px 0; }
.options-fields label { display: block; margin: 15px 0 6px; color: var(--ink); }
.options-fields input,.options-fields textarea { font-size: 14px; }
.field-note { color: var(--muted); font-size: 12px; }
.creator-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--line); margin-top: 23px; padding-top: 23px; }
.launch-button { min-width: 180px; min-height: 49px; font-size: 16px; justify-content: space-between; padding: 12px 20px; }
.launch-button:disabled { cursor: wait; opacity: .75; }
.creator-bottom p { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.creator-ai-note { color: var(--muted); font-size: 11px; text-align: right; }
.selected-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.selected-file { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; }
.selected-file img,.selected-file video { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.selected-file span { font-size: 12px; overflow-wrap: anywhere; }
.selected-file small { display: block; color: var(--muted); }
.business-switch { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.business-switch label { font-size: 14px; color: var(--muted); }
.business-switch select { max-width: 350px; font-size: 14px; }
.simple-material-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.simple-material-card { border: 1px solid var(--line); border-radius: 10px; background: white; overflow: hidden; display: block; }
.simple-material-card:hover { text-decoration: none; border-color: #c0cbd7; }
.material-open { display: block; }
.material-open:hover { text-decoration: none; }
.material-card-actions { padding: 0 20px 20px; }
.delete-material { color: #9d3c36; border-color: #dfb8b4; }
.material-undo { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.material-thumbnail { height: 200px; background: #e7ecf1; position: relative; display: grid; place-items: center; overflow: hidden; }
.material-thumbnail img,.material-thumbnail video { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-play { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #152231bd; color: white; }
.thumbnail-text { font-size: 46px; color: #8392a4; }
.simple-material-info { padding: 20px; }
.simple-material-info h2 { font-size: 17px; margin: 11px 0 8px; overflow-wrap: anywhere; }
.simple-material-info p { color: var(--muted); font-size: 13px; min-height: 40px; }
.back-link { display: block; color: var(--muted); font-size: 13px; margin-bottom: 15px; }
.ready-label { display: flex; align-items: center; gap: 10px; color: #286a4c; margin-bottom: 20px; font-size: 16px; }
.ready-label>span { display: grid; place-items: center; width: 27px; height: 27px; background: #e1f1e9; border-radius: 50%; }
.simple-preview { max-width: 870px; }
.simple-preview .asset { max-width: 480px; min-width: 180px; }
.simple-preview .asset img,.simple-preview .asset video { max-height: 500px; }
.simple-preview figcaption { color: var(--muted); }
.material-details { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.material-details>summary { font-size: 14px; color: #5e6e81; }
.material-details[open]>summary { margin-bottom: 20px; }
.creation-progress { display: flex; align-items: center; gap: 20px; max-width: 870px; background: #fff8ed; }
.creation-progress p { color: var(--muted); font-size: 14px; margin: 7px 0 0; }
.progress-spinner { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 3px solid #f0d6b6; border-top-color: #c08035; animation: turning 1s linear infinite; }
.settings-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings-links a { margin: 0; }
.settings-links p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
@keyframes turning { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .progress-spinner { animation: none; } }
@media(max-width:1100px) { .simple-material-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .format-card { padding: 16px 13px; gap: 2px 9px; } }
@media(max-width:760px) {
  .sidebar { padding: 15px 17px; }
  .sidebar .simple-nav { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; gap: 7px; }
  .sidebar .simple-nav a { padding: 9px 10px; font-size: 13px; }
  .sidebar .brand { margin-bottom: 17px; }
  .topbar { font-size: 13px; }
  .creator-shell h1 { font-size: 29px; }
  .creator-shell .page-heading p { font-size: 14px; }
  .creator-form { padding: 20px 16px; }
  .creator-business { display: block; padding-bottom: 18px; margin-bottom: 20px; }
  .creator-business label { display: block; margin-bottom: 8px; }
  .creator-business select { max-width: none; }
  .creator-step legend { font-size: 16px; }
  .format-choices { gap: 9px; }
  .format-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 13px 6px; gap: 5px; }
  .format-card strong { font-size: 16px; }
  .format-card>span { font-size: 11px; }
  .format-card svg { width: 30px; height: 30px; }
  .upload-area { padding: 20px 11px; }
  .upload-area>p { font-size: 12px; }
  .optional-label { margin-left: 3px; font-size: 11px; }
  .creator-bottom { display: block; }
  .launch-button { width: 100%; }
  .creator-ai-note { display: block; text-align: left; margin-top: 16px; }
  .simple-material-grid,.settings-links { grid-template-columns: 1fr; }
  .business-switch { flex-wrap: wrap; }
  .business-switch select { max-width: 100%; width: auto; flex: 1; min-width: 150px; }
  .simple-preview .asset { min-width: 0; max-width: 100%; width: 100%; }
  .creation-progress { gap: 13px; }
  .creation-progress h2 { font-size: 16px; }
  .creation-progress p { font-size: 13px; }
}
