.g-editor { width:min(1050px,100%); color:#0a0a0a; }
.g-editor *, .g-editor *::before, .g-editor *::after { box-sizing:border-box; }
.g-editor-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:24px; }
.g-editor-heading h1 { margin:0; font-size:14px; font-weight:500; }
.g-editor-heading p { max-width:520px; margin:5px 0 0; color:#707070; }
.g-editor-heading-actions { display:flex; flex-shrink:0; gap:8px; }
.g-editor-heading-actions .pd-button { white-space:nowrap; }
.g-editor-heading-actions [aria-disabled="true"] { opacity:.5; pointer-events:none; }
.g-editor-save:disabled { opacity:.5; cursor:wait; }
.g-editor-status { min-height:18px; margin:0 0 24px; color:#707070; font-size:12px; }
.g-editor-publishing { margin-bottom:35px; }
.g-editor-publishing p { margin:8px 0 0; color:#707070; font-size:12px; }
.g-editor summary { display:flex; min-height:56px; align-items:center; gap:16px; list-style:none; cursor:pointer; }
.g-editor summary::-webkit-details-marker { display:none; }
.g-editor summary::after { margin-left:auto; color:#707070; content:"＋"; font-size:16px; }
.g-editor details[open] > summary::after { content:"−"; }
.g-editor summary > small { margin-left:auto; color:#707070; font-size:12px; }
.g-editor summary > small + * { margin-left:0; }
.g-editor summary:focus-visible { outline:1px solid #0a0a0a; outline-offset:4px; }
.g-editor-settings, .g-editor-section { border-top:1px solid #e6e6e6; }
.g-editor-settings { margin-bottom:35px; }
.g-editor-section > summary { min-height:64px; }
.g-editor-detail-body { display:grid; gap:24px; padding:8px 0 30px; }
.g-editor-detail-body h2 { margin:10px 0 0; font-size:14px; font-weight:500; }
.g-editor-tools, .g-editor-item-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.g-editor-tools > span { display:inline-flex; align-items:center; gap:14px; }
.g-editor-order { display:inline-flex; gap:5px; }
.g-editor-order button { width:30px; height:30px; border:0; border-radius:5px; padding:0; color:#0a0a0a; background:#f2f2f2; cursor:pointer; }
.g-editor-order button:disabled { opacity:.3; cursor:default; }
.g-editor button:focus-visible, .g-editor-file-button:focus-within { outline:1px solid #0a0a0a; outline-offset:3px; }
.g-editor .g-editor-quiet { border:0; padding:0; color:#707070; background:none; font-size:12px; cursor:pointer; }
.g-editor .g-editor-quiet:hover { color:#0a0a0a; }
.g-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }
.g-editor-field { display:grid; min-width:0; gap:7px; align-content:start; color:#707070; font-size:12px; }
.g-editor-field--wide { grid-column:1/-1; }
.g-editor-field input, .g-editor-field textarea, .g-editor-field select { display:block; width:100%; min-width:0; border:0; border-radius:5px; outline:0; padding:11px 12px; color:#0a0a0a; background:#f2f2f2; font:inherit; font-size:14px; line-height:1.4; }
.g-editor-field input, .g-editor-field select { height:40px; }
.g-editor-field textarea { min-height:58px; resize:vertical; overflow:hidden; }
.g-editor-field input:focus, .g-editor-field textarea:focus, .g-editor-field select:focus { box-shadow:inset 0 0 0 1px #0a0a0a; }
.g-editor-field small { color:#707070; font-size:11px; line-height:1.4; }
.g-editor-toggle-list { display:flex; flex-wrap:wrap; gap:12px 24px; }
.g-editor-toggle { display:inline-flex; align-items:center; gap:9px; color:#0a0a0a; font-size:12px; cursor:pointer; }
.g-editor-toggle input { width:15px; height:15px; margin:0; accent-color:#0a0a0a; cursor:pointer; }
.g-editor-subsections { display:grid; gap:10px; }
.g-editor-subsection { min-width:0; border:1px solid #e6e6e6; padding:0 18px; }
.g-editor-subsection > summary { min-height:52px; }
.g-editor-subsection > summary > span { overflow-wrap:anywhere; }
.g-editor-subsection > .g-editor-detail-body { padding-top:8px; }
.g-editor-caption { border-top:1px solid #e6e6e6; }
.g-editor-caption > summary { min-height:42px; color:#707070; font-size:12px; }
.g-editor-caption > .g-editor-detail-body { padding-bottom:0; }
.g-editor-kind-content { display:grid; min-width:0; gap:20px; }
.g-editor-list { display:grid; min-width:0; gap:8px; }
.g-editor-item { min-width:0; border:1px solid #e6e6e6; padding:0 14px; }
.g-editor-item > summary { min-height:44px; font-size:12px; }
.g-editor-item > summary > span:first-child { min-width:0; overflow-wrap:anywhere; }
.g-editor-summary-count { color:#707070; font-size:11px; }
.g-editor-item-body { display:grid; gap:20px; padding:0 0 20px; }
.g-editor .g-editor-add { width:100%; min-height:40px; border:1px dashed #cfcfcf; border-radius:5px; padding:10px 14px; color:#707070; background:#fff; text-align:left; cursor:pointer; }
.g-editor .g-editor-add:hover { border-color:#0a0a0a; color:#0a0a0a; }
.g-editor-sections > .g-editor-add { margin-top:12px; }
.g-editor-file-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.g-editor-asset { display:grid; min-width:0; align-content:start; gap:10px; border:1px solid #e6e6e6; padding:12px; }
.g-editor-asset-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#707070; font-size:12px; }
.g-editor-asset-preview { display:grid; min-width:0; aspect-ratio:758/378; overflow:hidden; place-items:center; background:#f2f2f2; color:#707070; font-size:12px; }
.g-editor-asset-preview img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.g-editor-asset-preview img:not([src]) { visibility:hidden; }
.g-editor-asset-row { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:12px; }
.g-editor-filename { min-width:0; overflow-wrap:anywhere; color:#707070; font-size:11px; }
.g-editor-file-button { position:relative; display:inline-flex; flex-shrink:0; min-height:30px; align-items:center; border-radius:5px; padding:0 10px; color:#0a0a0a; background:#f2f2f2; font-size:12px; cursor:pointer; }
.g-editor-file-button input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }
.g-editor-sidebar-action { display:grid; gap:14px; border-bottom:1px solid #e6e6e6; padding-bottom:24px; }
.g-editor-help { margin:0; color:#707070; font-size:12px; line-height:1.5; }
.g-editor [inert] { opacity:.6; }
@media (max-width:1050px) {
  .g-editor-heading { flex-wrap:wrap; }
  .g-editor-file-grid { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .g-editor-heading-actions { width:100%; flex-wrap:wrap; }
  .g-editor-heading-actions .pd-button { flex:1; }
  .g-editor-grid { grid-template-columns:1fr; }
  .g-editor-field--wide { grid-column:auto; }
  .g-editor-tools { align-items:flex-start; }
  .g-editor-tools > span { flex-wrap:wrap; }
  .g-editor-subsection { padding:0 12px; }
  .g-editor summary { gap:8px; }
  .g-editor summary > small { max-width:100px; text-align:right; }
  .g-editor-toggle-list { gap:12px; }
}
