.photo-human-editor[open] {display:flex;flex-direction:column;width:min(1120px,95vw);height:92dvh;max-height:92dvh;overflow:hidden;padding-bottom:0}
.photo-human-editor > .feature-detail-heading,.photo-human-editor > p,.photo-human-editor > .ph-tabs,.photo-human-editor > .ph-footer {flex-shrink:0}
.photo-human-editor .ph-scroll {overflow:auto;min-height:0;flex:1;padding:0 4px 20px;scrollbar-gutter:stable}
.photo-human-editor .ph-tabs,.photo-human-editor .ph-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.photo-human-editor .ph-tabs {margin:8px 0 16px}
.photo-human-editor .ph-panel {background:#fff;border:1px solid #dce7df;border-radius:18px;padding:24px;margin:16px 0}
.photo-human-editor .ph-panel-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid #edf1ee}
.photo-human-editor .ph-panel-heading h4 {margin:0}
.photo-human-editor .ph-categories {display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:14px;margin:28px 0}
.photo-human-editor .ph-category-card {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;min-height:176px;min-width:0;text-align:left;border:2px solid #dce7df;background:#f8faf9;color:#18231e;padding:12px;border-radius:14px;overflow-wrap:anywhere}
.photo-human-editor .ph-category-card:hover {border-color:#8ebfa3}
.photo-human-editor .ph-category-card[aria-pressed=true] {border-color:#16864f;background:#e6f4eb;box-shadow:0 0 0 2px #16864f10}
.photo-human-editor .ph-category-card small {font-size:12px;line-height:1.5}
.photo-human-editor .ph-category-icon {color:#5e9d78;font-size:32px;margin-bottom:auto}
.photo-human-editor .ph-category-fields {display:grid;grid-template-columns:minmax(140px,1fr) 100px auto;gap:12px;align-items:end;border-top:1px solid #edf1ee;padding-top:20px}
.photo-human-editor .ph-category-fields button {min-height:44px}
.photo-human-editor .ph-items {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px;margin:20px 0 0}
.photo-human-editor .ph-item {border:1px solid #dce7df;border-radius:12px;padding:14px;min-width:0;display:grid;gap:12px;align-content:start}
.photo-human-editor .ph-item img {display:block;width:100%;height:220px;object-fit:contain;background:#f4f5f6;border-radius:8px}
.photo-human-editor textarea {min-height:140px;resize:vertical;width:100%;box-sizing:border-box}
.photo-human-editor .ph-footer {background:#f3f7f4;border-top:1px solid #cfdcd3;padding:14px 0 8px}
.photo-human-editor .ph-actions [data-scope] {font-size:13px;color:#66736b;flex:1;min-width:200px}
.photo-human-editor output {display:block;min-height:24px;margin:8px 0;overflow-wrap:anywhere}
@media(max-width:600px) {
  .photo-human-editor[open] {width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
  .photo-human-editor .ph-panel {padding:16px}
  .photo-human-editor .ph-category-fields {grid-template-columns:minmax(0,1fr) 85px}
  .photo-human-editor .ph-category-fields button {grid-column:1/-1;justify-self:start}
  .photo-human-editor .ph-actions [data-scope] {flex-basis:100%}
}
.photo-human-editor .ph-default-video {display:grid;gap:10px}.photo-human-editor .ph-default-video video {display:block;width:100%;max-height:260px;background:#101314;border-radius:8px}.photo-human-editor .ph-default-video p {margin:0}
