.website-mgmt { display: flex; flex-direction: column; gap: 16px; }
.website-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.website-head h1 { margin: 4px 0; font-size: 28px; }
.website-head p { margin: 0; color: var(--muted, #667085); max-width: 760px; }
.website-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.website-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.website-status { min-height: 44px; padding: 12px 14px; border: 1px solid #d8e2ea; border-radius: 8px; background: #f8fbfc; color: #2d4655; }
.website-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 18px; align-items: start; }
.website-editor, .website-side { background: #fff; border: 1px solid #d8e2ea; border-radius: 8px; padding: 16px; }
.website-editor fieldset { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.website-editor legend, .media-box h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #102a43; }
.website-editor label { display: grid; gap: 6px; font-size: 13px; color: #344054; }
.website-editor input, .website-editor textarea, .website-editor select { width: 100%; border: 1px solid #cbd5df; border-radius: 6px; min-height: 40px; padding: 8px 10px; }
.theme-row { display: grid; grid-template-columns: repeat(5, minmax(90px, 1fr)); gap: 10px; }
.theme-row input { padding: 2px; }
.domain-row, .section-row { display: grid; grid-template-columns: 1fr 90px 90px 40px; gap: 8px; align-items: center; margin-bottom: 8px; }
.section-row { grid-template-columns: 30px 1fr 120px 80px; }
.section-row textarea { grid-column: 1 / -1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; min-height: 92px; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid #d0d7de; border-radius: 6px; background: #fff; }
.preview-toolbar { display: flex; gap: 6px; margin-bottom: 10px; }
.preview-toolbar button { width: 38px; height: 34px; border: 1px solid #cbd5df; border-radius: 6px; background: #fff; }
.preview-toolbar button.active { background: #0f766e; color: white; border-color: #0f766e; }
#websiteFrame { width: 100%; height: 560px; border: 1px solid #cbd5df; border-radius: 8px; background: #fff; transition: max-width .2s ease; }
#websiteFrame.mobile { max-width: 390px; display: block; margin-inline: auto; }
.media-box { margin-top: 16px; }
.media-upload { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border: 1px dashed #0f766e; border-radius: 8px; color: #0f766e; cursor: pointer; }
.media-upload input { display: none; }
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.media-thumb { aspect-ratio: 1; border: 1px solid #d8e2ea; border-radius: 8px; overflow: hidden; background: #f8fbfc; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.audit-note { margin-top: 16px; border-left: 4px solid #f59e0b; background: #fff8e6; padding: 12px; border-radius: 6px; color: #5f4300; }
.audit-note p { margin: 6px 0 0; font-size: 13px; }
@media (max-width: 1100px) { .website-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .website-head { flex-direction: column; } .theme-row, .domain-row, .section-row { grid-template-columns: 1fr; } }
