:root { color-scheme: dark; }
body.pao-art-page { color: #f6f7f8; }
body.pao-art-page .container { background: #161819; }
.pao-header { position: relative; }
body.pao-art-page .header-actions-right { left: auto; right: 20px; display: flex; gap: 8px; }
.pao-logo { margin-bottom: 12px; }
.pao-title { margin: 0 auto; max-width: 760px; text-align: center; font-size: clamp(1.2rem, 3.4vw, 1.75rem); line-height: 1.25; }
.pao-title span { display: block; }
.pao-title .secondary { margin-top: 4px; color: #c8f6fb; font-size: .78em; }
.pao-main { display: grid; gap: 26px; padding-bottom: 24px; }
.pao-intro { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 24px; align-items: center; max-width: 900px; margin: 0 auto; }
.pao-seed { overflow: hidden; border: 1px solid #3b4043; border-radius: 6px; background: #0f1112; }
.pao-seed img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.pao-intro-copy { display: grid; gap: 14px; }
.pao-intro-copy h2, .pao-intro-copy p { margin: 0; }
.pao-intro-copy h2 { font-size: clamp(1.35rem, 4vw, 2.1rem); line-height: 1.15; }
.pao-intro-copy p { color: #c8d0d3; line-height: 1.55; }
.pao-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pao-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #2daebe; border-radius: 6px; background: #008ea1; color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.pao-button.secondary { border-color: #4d5559; background: #25292b; color: #f4f7f8; }
.pao-button.danger { border-color: #76514b; background: #342724; color: #ffd8cf; }
.pao-button:disabled { cursor: wait; opacity: .55; }
.pao-section { display: grid; gap: 14px; }
.pao-section-heading { display: flex; justify-content: space-between; gap: 12px; align-items: end; border-bottom: 1px solid #353a3d; padding-bottom: 9px; }
.pao-section-heading h2, .pao-section-heading p { margin: 0; }
.pao-section-heading h2 { font-size: 1.25rem; }
.pao-section-heading p { color: #9eaaae; font-size: .9rem; }
.pao-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pao-card { min-width: 0; border: 1px solid #343a3c; border-radius: 6px; overflow: hidden; background: #101213; }
.pao-card-image { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #080909; }
.pao-card-body { display: grid; gap: 6px; padding: 11px 12px 13px; }
.pao-card-title { margin: 0; color: #fff; font-weight: 850; overflow-wrap: anywhere; }
.pao-card-meta { margin: 0; color: #aeb9bd; font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.pao-card a { color: inherit; text-decoration: none; }
.pao-empty { margin: 0; padding: 34px 16px; border: 1px dashed #42494c; border-radius: 6px; color: #aeb9bd; text-align: center; }
.pao-form-wrap { width: min(680px, 100%); margin: 0 auto; }
.pao-form { display: grid; gap: 18px; }
.pao-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 0; list-style: none; }
.pao-steps li { height: 5px; overflow: hidden; border-radius: 3px; background: #3a4042; color: transparent; }
.pao-steps li.active, .pao-steps li.complete { background: #00a8ba; }
.pao-form-step { display: grid; gap: 16px; padding: 20px; border: 1px solid #3a4042; border-radius: 6px; background: #101213; }
.pao-form-step h2, .pao-form-step p { margin: 0; }
.pao-form-step h2 { font-size: 1.3rem; }
.pao-muted { color: #aeb9bd; line-height: 1.55; }
.pao-field { display: grid; gap: 6px; }
.pao-field label, .pao-check { font-weight: 750; }
.pao-field input, .pao-field select, .pao-field textarea { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #4a5255; border-radius: 5px; background: #1c2021; color: #fff; font: inherit; }
.pao-field textarea { min-height: 90px; resize: vertical; }
.pao-field input:focus, .pao-field select:focus, .pao-field textarea:focus { border-color: #32bfd0; outline: 2px solid rgba(50,191,208,.16); }
.pao-upload { display: grid; gap: 12px; padding: 18px; border: 1px dashed #4b7479; border-radius: 6px; background: #181c1d; }
.pao-preview { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.pao-preview img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: #080909; }
.pao-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: start; line-height: 1.5; }
.pao-check input { width: 18px; height: 18px; margin-top: 3px; }
.pao-status { min-height: 1.5em; margin: 0; color: #8feaf3; font-weight: 750; }
.pao-status.error { color: #ffb4a7; }
.pao-success { display: grid; gap: 14px; padding: 24px; border: 1px solid #28777e; border-radius: 6px; background: #102326; text-align: center; }
.pao-success h2, .pao-success p { margin: 0; }
.hidden { display: none !important; }
@media (max-width: 760px) {
  .pao-intro { grid-template-columns: 1fr; gap: 15px; }
  .pao-seed { width: min(290px, 100%); margin: 0 auto; }
  .pao-intro-copy { text-align: center; }
  .pao-actions { justify-content: center; }
  .pao-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 460px) {
  .pao-gallery { grid-template-columns: 1fr; }
  .pao-form-step { padding: 15px; }
}
