/* V049: vertical, independently collapsible, truly scrollable and maximizable workspace panels. */
.shot-log form[data-shotlog-workspace] .sl-editor-row { padding:16px; }
.shot-log .sl-workspace-hint { margin:8px 0 12px; color:#51627b; font-size:12px; line-height:1.5; }
.shot-log .sl-workspace-save { margin:0 0 12px; }
.shot-log .sl-workspace { display:flex; flex-direction:column; gap:12px; align-items:stretch; width:100%; }
.shot-log .sl-workspace-panel { min-width:0; width:100%; margin:0; border:1px solid #cbd6e6; border-radius:8px; background:#fff; overflow:hidden; box-sizing:border-box; }
.shot-log .sl-workspace-panel > summary { position:sticky; top:0; z-index:8; padding:12px 14px; background:#f4f7fb; color:#691919; font-size:16px; font-weight:700; cursor:pointer; border-bottom:1px solid #d3ddec; line-height:24px; min-height:49px; box-sizing:border-box; list-style:revert; user-select:none; }
.shot-log .sl-workspace-maximize { float:right; margin:-4px 0 -4px 12px; padding:4px 9px; min-height:30px; border:1px solid #c5cfdd; border-radius:5px; background:#fff; color:#691919; font-size:12px; font-weight:600; line-height:20px; cursor:pointer; }
.shot-log .sl-workspace-maximize:hover,.shot-log .sl-workspace-maximize:focus-visible{background:#fff8f8;border-color:#9d7777;outline:none;}
.shot-log .sl-workspace-panel > summary:focus-visible { outline:2px solid #325b8e; outline-offset:-3px; }
.shot-log .sl-workspace-panel[open] { display:block; height:var(--sl-panel-height,420px); min-height:220px; max-height:none; resize:vertical; overflow-y:scroll; overflow-x:hidden; scrollbar-gutter:stable; overscroll-behavior:contain; }
.shot-log .sl-workspace-panel[open].is-maximized { height:var(--sl-maximized-height,calc(100vh - 24px)) !important; max-height:none !important; resize:none; }

.shot-log .sl-workspace-scroll { height:auto; box-sizing:border-box; min-height:0; min-width:0; overflow:visible; padding:12px; }
.shot-log .sl-workspace-scroll:focus-visible { outline:2px solid #325b8e; outline-offset:-2px; }
.shot-log .sl-workspace .sl-editor-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.shot-log .sl-workspace .sl-field { min-width:0; }
.shot-log .sl-workspace .sl-input-shell { min-width:0; }
.shot-log .sl-workspace input, .shot-log .sl-workspace textarea { max-width:100%; box-sizing:border-box; }
.shot-log .sl-workspace .sl-editor-field-caption { white-space:normal; line-height:1.4; min-height:18px; }
.shot-log .sl-workspace .sl-editor-status { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.shot-log .sl-workspace-jumps { display:flex; gap:6px; flex-wrap:wrap; }
.shot-log .sl-workspace .sl-editor-status .sl-button { padding:7px 9px; min-height:32px; }
.shot-log .sl-workspace-title { display:block; font-weight:600; margin:0 0 6px; }
.shot-log .sl-workspace-preview { margin:10px 0; }
.shot-log .sl-workspace-preview > summary { color:#691919; cursor:pointer; font-weight:600; padding:8px 0; }
.shot-log .sl-workspace .sl-editor-media-inline { margin:0; padding:0; border:0; }
.shot-log .sl-workspace .sl-gallery { gap:8px; }
.shot-log .sl-workspace .sl-gallery figure { width:calc(20% - 7px); max-width:150px; }
.shot-log .sl-workspace-image-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr)); gap:12px; }
.shot-log .sl-workspace .sl-image-slot { margin:0; padding:10px; box-shadow:none; min-width:0; }
.shot-log .sl-workspace .sl-image-slot h3 { font-size:14px; margin:0 0 8px; }
.shot-log .sl-workspace .sl-image-slot .sl-button { width:100%; font-size:12px; line-height:1.4; padding:8px; min-height:34px; white-space:normal; margin:3px 0 0; }
.shot-log .sl-workspace .sl-image-slot .sl-image-preview { height:130px; min-height:0; }
.shot-log .sl-workspace .sl-image-preview:empty { display:none; }
.shot-log .sl-workspace .sl-image-preview img { max-height:130px; max-width:100%; object-fit:contain; }
.shot-log .sl-workspace [data-image-status] { font-size:12px; overflow-wrap:anywhere; }
.shot-log .sl-workspace .sl-language-editor { margin:8px 0; }
.shot-log .sl-workspace .sl-language-editor > summary { padding:9px 10px; font-weight:600; cursor:pointer; }
.shot-log .sl-workspace .sl-language-body { padding:8px; }
.shot-log .sl-workspace .wp-editor-wrap, .shot-log .sl-workspace .mce-tinymce { max-width:100%; min-width:0; box-sizing:border-box; }
.shot-log .sl-workspace .mce-toolbar-grp { overflow-x:auto; }
.shot-log .sl-workspace .wp-editor-area { width:100%; min-height:270px; resize:vertical; font:inherit; line-height:1.6; padding:10px; }
.shot-log .sl-workspace [hidden] { display:none!important; }
.shot-log .sl-workspace-extra-slots { margin-top:14px; }
.shot-log .sl-workspace-extra-slots > summary { cursor:pointer; color:#691919; font-weight:600; padding:10px 0; }
@media (max-width:1200px) {
 .shot-log .sl-workspace .sl-editor-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .shot-log form[data-shotlog-workspace] .sl-editor-row { padding:10px; }
 .shot-log .sl-workspace .sl-editor-grid { grid-template-columns:minmax(0,1fr); }
 .shot-log .sl-workspace-panel[open] { min-height:260px; max-height:none; }
 .shot-log .sl-workspace-scroll { padding:10px; }
}

/* V045 targeted record navigation */
.sl-record-select-wrap{display:inline-flex;align-items:center;min-width:12rem;max-width:18rem}
.sl-record-select{width:100%;min-height:40px;border:1px solid #c7c7c7;border-radius:6px;background:#fff;padding:0 2rem 0 .65rem}
.sl-direct-id-form .sl-direct-id-input input{min-width:14rem}
@media(max-width:760px){.sl-record-select-wrap{min-width:10rem;max-width:100%;flex:1 1 12rem}.sl-direct-id-form .sl-direct-id-input input{min-width:10rem}}

/* V046 compact editor header/navigation */
.shot-log .sl-page-heading-compact{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:8px}
.shot-log .sl-page-heading-compact h1{margin-bottom:0}
.shot-log .sl-heading-save-status{font-size:.94rem;font-weight:600;color:#24AC18;white-space:nowrap}
.shot-log .sl-heading-save-status[data-state="error"]{color:#b20303}
.shot-log .sl-heading-save-status[data-state="draft"]{color:#6b7280}
.shot-log .sl-heading-save-retry{padding:5px 9px;min-height:30px}
.shot-log .sl-toolbar-compact{margin-top:0;margin-bottom:8px;gap:8px}
.shot-log .sl-toolbar-save{margin:0}
.shot-log .sl-manager-help[hidden]{display:none!important}
.shot-log .sl-manager-help{margin:8px 0 10px}
.shot-log .sl-edit-save-state{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
.shot-log .sl-record-dropdown-only{gap:0}
.shot-log .sl-record-select-wrap{position:relative;min-width:12rem;max-width:20rem}
.shot-log .sl-record-select-arrows{position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;justify-content:center;gap:0;font-size:10px;line-height:8px;color:#781313;pointer-events:none;z-index:2}
.shot-log .sl-record-dropdown-only .sl-record-select{padding-left:31px;font-weight:650}
@media(max-width:760px){.shot-log .sl-page-heading-compact{gap:10px}.shot-log .sl-heading-save-status{font-size:.9rem}.shot-log .sl-record-select-wrap{min-width:10rem;max-width:100%}}
/* V073: controllable record selector so the current record can open centered. */
.shot-log .sl-record-select-wrap{position:relative}
.shot-log .sl-record-select-trigger{position:relative;text-align:left;cursor:pointer;padding-right:2rem}
.shot-log .sl-record-select-trigger::after{content:"";position:absolute;right:11px;top:50%;width:7px;height:7px;border-right:2px solid #781313;border-bottom:2px solid #781313;transform:translateY(-65%) rotate(45deg)}
.shot-log .sl-record-select-trigger[aria-expanded="true"]::after{transform:translateY(-25%) rotate(225deg)}
.shot-log .sl-record-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
.shot-log .sl-record-select-menu{position:absolute;left:0;top:calc(100% + 4px);z-index:10050;width:100%;max-height:430px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #b8c1cc;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:6px 0}
.shot-log .sl-record-select-menu[hidden]{display:none!important}
.shot-log .sl-record-option{display:block;width:100%;border:0;background:#fff;color:#1d2327;text-align:left;font:inherit;font-weight:650;line-height:1.25;padding:8px 14px;cursor:pointer}
.shot-log .sl-record-option:hover,.shot-log .sl-record-option:focus{background:#eef2f6;outline:0}
.shot-log .sl-record-option.is-current{background:#d9dde2;color:#1d2327}
