#stars-panel {max-width:1160px}
#stars-content {display:grid;gap:18px}
#stars-content h2,#stars-content h3,#stars-content p {margin:0}
.stars-toolbar,.stars-actions,.stars-tabs,.stars-checks {display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.stars-toolbar {justify-content:space-between}
.stars-tabs {border-bottom:1px solid var(--line,#cdd8d1);padding-bottom:8px}
.stars-tabs [aria-current="step"] {font-weight:750;border-bottom:3px solid #168064}
.stars-fields,.stars-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.stars-fields label,.stars-field {display:grid;gap:5px;align-content:start;font-size:13px;font-weight:600}
.stars-fields :is(input,select,textarea),.stars-field :is(input,select,textarea) {max-width:100%;min-width:0;width:100%}
#stars-content textarea {min-height:75px;resize:vertical}
#stars-content .stars-check {display:flex;gap:8px;align-items:center;font-weight:normal}
#stars-content input[type=checkbox] {width:17px;height:17px;min-height:0;flex:none}
.stars-section {display:grid;gap:14px;padding:18px;border:1px solid var(--line,#cad7d0);border-radius:12px}
.stars-row {display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line,#d5dfd8);padding:9px 0}
.stars-card {display:grid;align-content:start;gap:9px;padding:12px;border:1px solid var(--line,#cdd8cf);border-radius:10px;min-width:0}
.stars-card.selected {border:2px solid #168064}
.stars-card img {max-width:100%;width:100%;height:190px;object-fit:contain;background:#edf1ed;border-radius:6px}
.stars-card .stars-portrait {height:240px}
.stars-crest {width:62px;height:62px;object-fit:contain}
.stars-sheet {max-width:700px;display:grid;gap:12px}
.stars-sheet img {max-width:100%;max-height:340px;object-fit:contain;justify-self:start}
.stars-error {color:#963228;white-space:pre-wrap}
.stars-help {color:var(--muted,#506558);font-size:13px}
#stars-content button:disabled {opacity:.55}
#stars-content h4 {margin:0}
.stars-photo {display:grid;gap:8px;min-width:0}
.stars-photo [hidden] {display:none}
.stars-review {box-sizing:border-box;width:min(920px,calc(100% - 24px));max-height:90vh;overflow:auto;border:1px solid var(--line,#cdd8cf);border-radius:12px;padding:20px;background:var(--surface,#fff);color:inherit}
.stars-review[open] {display:grid;gap:14px}
.stars-review::backdrop {background:rgba(15,24,21,.65)}
.stars-review .stars-photo img {display:block;max-width:100%;width:auto;max-height:65vh;object-fit:contain;justify-self:center}
.stars-review .stars-photo img[hidden] {display:none}
.stars-review .stars-actions {justify-content:flex-end}
.stars-wait {width:min(420px,calc(100% - 24px));padding:24px}
.stars-wait :is(h3,p) {margin:0}
.stars-wait progress {width:100%;accent-color:#168064}

