.elevator-short-modal.short-review-modal .short-pinned-progress {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--oa-border, #888);
  border-radius: 8px;
  background: var(--oa-panel, var(--panel-bg, Canvas));
  color: var(--oa-text, CanvasText);
}
.elevator-short-modal.short-review-modal .short-pinned-progress > b {
  min-width: 0;
  overflow-wrap: anywhere;
}
.elevator-short-modal.short-review-modal .short-pinned-progress > progress {
  width: 100%;
  height: 8px;
}
/* v269: task history editing; scoped to this dialog only. */
.elevator-short-modal.short-review-modal .short-pinned-progress > progress {
  accent-color: var(--brand-primary, #c5ed3a);
  border-radius: 999px;
  overflow: hidden;
}
.elevator-short-modal.short-review-modal .short-pinned-progress > progress::-webkit-progress-value {
  background: var(--brand-primary, #c5ed3a);
}
.elevator-short-modal.short-review-modal .short-pinned-progress > progress::-moz-progress-bar {
  background: var(--brand-primary, #c5ed3a);
}
.elevator-short-modal.short-review-modal .short-record-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--oa-muted, #888);
  cursor: pointer;
  flex: 0 0 auto;
}
.elevator-short-modal.short-review-modal .short-record-pencil:hover,
.elevator-short-modal.short-review-modal .short-record-pencil:focus-visible {
  color: var(--brand-primary, #c5ed3a);
}
.elevator-short-modal.short-review-modal .short-record-inline-name {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 180px;
}
.elevator-short-modal.short-review-modal .short-input-save-plan {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.elevator-short-modal.short-review-modal .short-reference-grid .short-reference-photo {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
}
.elevator-short-modal.short-review-modal .short-input-details {
  clear: both;
}

.elevator-short-modal.short-review-modal .short-record-pencil { width: 28px; height: 28px; min-height: 28px; margin: 0; }
.elevator-short-modal.short-review-modal .short-record-heading > .short-record-name { display: inline-block; width: auto; min-width: 0; max-width: min(65%, 420px); margin: 0; padding: 6px 0; border: 0; box-shadow: none; background: transparent; flex: 0 1 auto; cursor: text; }
.elevator-short-modal.short-review-modal .short-record-heading > .short-history-select { flex-basis: 220px; }
.elevator-short-modal.short-review-modal .short-input-details > fieldset { min-width: 0; }

.elevator-short-modal.short-review-modal .short-shot-plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:14px; margin:16px 0; }
.elevator-short-modal.short-review-modal .short-shot-plan-card { display:flex; flex-direction:column; gap:8px; min-width:0; padding:14px; border:1px solid var(--oa-border,#888); border-radius:8px; }
.elevator-short-modal.short-review-modal .short-shot-plan-card label { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.elevator-short-modal.short-review-modal .short-shot-plan-card input:not([type=checkbox]), .elevator-short-modal.short-review-modal .short-shot-plan-card select { min-width:0; width:100%; }
.elevator-short-modal.short-review-modal .short-shot-plan-card small { overflow-wrap:anywhere; }

.elevator-short-modal.short-review-modal .short-image-pending img { opacity:.42; filter:grayscale(.8); }
.elevator-short-modal.short-review-modal .short-replacing-status { display:block; padding:6px; color:var(--brand-primary,#c5ed3a); }

html[data-theme] .short-history-delete-modal.skill-fixed-modal { width:min(460px,calc(100vw - 32px)); height:auto; max-height:calc(100dvh - 48px); min-height:0; }
html[data-theme] .short-history-delete-modal .skill-modal-scroll-body { flex:0 1 auto; padding:0; }
html[data-theme] .short-history-delete-modal .skill-modal-fixed-footer { display:flex; justify-content:flex-end; padding:0; margin-top:20px; border:0; }
html[data-theme] .short-history-delete-modal .skill-modal-fixed-footer > .modal-actions { display:flex; margin:0; padding:0; height:auto; border:0; }

html[data-theme] .short-image-lightbox > section > header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 16px;box-sizing:border-box;min-width:0}
html[data-theme] .short-image-lightbox .short-lightbox-title{justify-self:start;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .short-image-lightbox .short-lightbox-zoom{display:flex;align-items:center;justify-content:center;gap:8px;justify-self:center;min-width:0}
html[data-theme] .short-image-lightbox .short-lightbox-zoom > span{display:block;min-width:48px;text-align:center;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--oa-text,#f5f5f5)}
html[data-theme] .short-image-lightbox .short-lightbox-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;justify-self:end;min-width:0}
html[data-theme] .short-image-lightbox .short-lightbox-actions > a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-height:40px}
html[data-theme] .short-image-lightbox button.short-lightbox-close{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:44px!important;height:44px!important;min-width:44px;min-height:44px;box-sizing:border-box;padding:0!important;color:var(--oa-text,#f5f5f5)!important;opacity:1!important}
html[data-theme] .short-image-lightbox .short-lightbox-close svg{display:block;flex:none;width:22px!important;height:22px!important;stroke-width:2}
html[data-theme] .short-image-lightbox .short-lightbox-close:focus-visible{outline:2px solid var(--oa-accent,#ddff68);outline-offset:3px}
@media(max-width:600px){html[data-theme] .short-image-lightbox > section > header{gap:6px;padding:8px}html[data-theme] .short-image-lightbox .short-lightbox-zoom{gap:4px}html[data-theme] .short-image-lightbox .short-lightbox-zoom > button{width:34px;min-width:34px;height:38px;padding:0}html[data-theme] .short-image-lightbox .short-lightbox-zoom > span{min-width:42px;font-size:13px}html[data-theme] .short-image-lightbox .short-lightbox-actions{gap:6px}html[data-theme] .short-image-lightbox .short-lightbox-download-label{display:none}html[data-theme] .short-image-lightbox .short-lightbox-actions > a{width:30px;justify-content:center}}

/* Skill landing cards show identity and summary without capability tag rows. */
.stage-tools-page .top-level-stage-grid.compact-stage-grid .stage-card-tags {
  display: none;
}
.stage-tools-page .top-level-stage-grid.compact-stage-grid > button {
  grid-template-rows: auto;
  min-height: 84px;
  row-gap: 0;
}
