
.mp2-col {
  --col-ac: var(--mp2-ac, var(--col-orange));
  --col-ac-fill: var(--mp2-acf, var(--mp2-ac, var(--col-orange)));
  --col-on-ac: var(--mp2-onac, var(--mp2-pg));
  --canvas: var(--mp2-pg, #F1EFEA);
  --canvas-card: var(--mp2-cd, #FFFFFF);
  --text: var(--mp2-tx, #1C1B19);
  --text-dim: color-mix(in srgb, var(--mp2-tx, #1C1B19) 70%, transparent);
  --hair: var(--mp2-hair, rgba(28, 27, 25, .14));
  --tint: color-mix(in srgb, var(--mp2-tx, #1C1B19) 6%, transparent);
  background: var(--canvas); color: var(--text);
  display: flex; flex-direction: column; min-height: 0;
}
.mp2-col[data-col-scheme='dark'] {
  --canvas: #1C1C1E; --canvas-card: #26262A;
  --text: #EDEDF0; --text-dim: rgba(237,237,240,.62);
  --hair: #3A3A3C; --tint: rgba(255,255,255,.10);
}
.mp2-col-page { position: relative; }

.mp2-col { --col-gutter: 16px; }
@media (min-width: 700px)  { .mp2-col { --col-gutter: 24px; } }
@media (min-width: 1100px) { .mp2-col { --col-gutter: 32px; } }

.mp2-col-shell { width: 100%; max-width: var(--content-max); margin: 0 auto; }

.mp2-col-head { flex: none; height: 48px; display: flex; justify-content: center; overflow: hidden; }
.mp2-col-head__bar {
  width: 100%; min-width: 0; max-width: none; margin: 0;
  padding: 0 8px 0 16px;
  display: flex; align-items: center; gap: 6px;
}
.mp2-col-head__bar h2 { margin: 0; font-size: var(--fs-sub); font-weight: 900; white-space: nowrap; }
.mp2-col-head__actions { margin-inline-start: auto; display: flex; flex: none; }
.mp2-cnt { font-size: var(--fs-mini); font-weight: 600; color: var(--text-dim); white-space: nowrap; }

.mp2-col-page-tabs {
  display: flex; align-items: center; gap: 2px;
  width: 100%; min-width: 0; max-width: var(--content-max); margin: 0 auto;
  padding: 10px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.mp2-col-page-tabs::-webkit-scrollbar { display: none; }
.mp2-col { --col-ac-2: #ffffff; }
[data-col-theme]            { --col-ac-2: var(--ink); }
[data-col-theme='orange'],
[data-col-theme='yellow']   { --col-ac-2: #ffffff; }

.mp2-col-head,
#mp2-col-page-head {
  background: linear-gradient(165deg, var(--col-ac-fill) 40%, color-mix(in srgb, var(--col-ac-fill) 82%, var(--col-ac-2)));
  --text: var(--col-on-ac);
  --text-dim: var(--col-on-ac);
  --mp2-tx: var(--col-on-ac);
  --mp2-tx2: var(--col-on-ac);
  --hair: color-mix(in srgb, var(--col-on-ac) 30%, transparent);
  color: var(--col-on-ac);
}
#mp2-col-page-head { max-width: none; }

.mp2-col-page-tabs-wrap { flex: 1; min-width: 0; position: relative; display: flex; }
.mp2-col-page-tabs-wrap .mp2-col-page-tabs { width: auto; max-width: none; margin: 0; padding: 0 24px 0 0; }
.mp2-col-page-tabs-wrap::after { content: none; }
.mp2-col-page-tabs-wrap .mp2-col-page-tabs {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
[dir='rtl'] .mp2-col-page-tabs-wrap .mp2-col-page-tabs {
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to left, #000 calc(100% - 28px), transparent);
}
@media (min-width: 900px) {
  .mp2-col-page-tabs-wrap .mp2-col-page-tabs { -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 900px) { .mp2-col-page-tabs-wrap::after { display: none; } }
.mp2-col-page-tabs-actions { display: flex; gap: 4px; flex: none; align-items: center; margin-inline-start: auto; }
.mp2-col-toolbar:not([hidden]) ~ .mp2-col-page-tabs-actions { margin-inline-start: 0; }
@media (min-width: 900px) {
  #mp2-col-page-head:not(:has(> .mp2-col-toolbar:not([hidden]))) > .mp2-col-head-add:not([hidden]) { margin-inline-start: auto; }
  #mp2-col-page-head:not(:has(> .mp2-col-toolbar:not([hidden]))) > .mp2-col-head-add:not([hidden]) ~ .mp2-col-page-tabs-actions { margin-inline-start: 0; }
}
.mp2-seg--settings { width: 34px; padding: 0; justify-content: center; border-radius: 50%; }
.mp2-seg {
  display: flex; align-items: center;
  height: 34px; padding: 0 15px; flex: none;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--text);
  font: 500 var(--fs-mini)/1 var(--font-body); white-space: nowrap; cursor: pointer;
}
.mp2-seg.on { background: var(--canvas-card); font-weight: 700; }
.mp2-seg--settings { border: 0; background: color-mix(in srgb, var(--col-on-ac) 12%, transparent); padding: 0 12px; font-size: var(--fs-mini); font-weight: 600; }

.mp2-col-page-tabs { position: relative; }
.mp2-col-tab-ink {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  height: 34px; width: 0; border-radius: var(--r-pill);
  background: var(--mp2-cd, var(--canvas-card)); pointer-events: none; z-index: 0;
  transition: transform .26s cubic-bezier(.2,0,0,1), width .26s cubic-bezier(.2,0,0,1);
}
.mp2-col-page-tabs .mp2-seg { position: relative; z-index: 1; }
.mp2-col-page-tabs .mp2-seg.on .mp2-seg__pill { background: transparent; }
@media (prefers-reduced-motion: reduce) { .mp2-col-tab-ink { transition: none; } }

.mp2-col-head-add:hover { filter: brightness(.97); }

.mp2-col-toolbar {
  display: flex; align-items: center; gap: 2px; flex: none; min-width: 0;
  margin-inline-start: auto;
}
.mp2-col-tool {
  position: relative; width: var(--tap); height: var(--tap); flex: none;
  display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
}
.mp2-col-tool:hover { background: color-mix(in srgb, var(--col-on-ac) 12%, transparent); }
.mp2-col-search {
  display: none; flex: 1; min-width: 0; height: 36px;
  align-items: center; gap: 8px;
  padding: 0 14px;
  border: 0; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--col-on-ac) 12%, transparent); color: inherit;
  font: 400 var(--fs-note)/1 var(--font-body);
}
.mp2-col-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.mp2-col-search-close { display: none; }
[data-col-search='open'] .mp2-col-toolbar { flex: 1; margin-inline-start: 0; }
[data-col-search='open'] .mp2-col-search { display: flex; }
[data-col-search='open'] .mp2-col-search-close { display: grid; }
[data-col-search='open'] .mp2-col-toolbar > :not(.mp2-col-search):not(.mp2-col-search-close),
#mp2-panel-collection[data-col-search='open'] .mp2-col-head__bar > h2,
[data-col-search='open'] #mp2-col-page-head > :not(.mp2-col-toolbar) { display: none; }
.mp2-col-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: inherit; font: inherit; outline: none; }
.mp2-col-sort select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 50%;
  opacity: 0; cursor: pointer; font-size: var(--fs-body);
  -webkit-appearance: none; appearance: none;
}
.mp2-col-sort:focus-within { outline: 2px solid currentColor; outline-offset: -2px; }

.mp2-col-cat { display: flex; flex-direction: column; gap: 8px; }
.mp2-col-cat-head-row {
  display: flex; align-items: center; gap: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}
.mp2-col-cat-head-btn { position: relative; }
.mp2-col-cat-head-btn::before {
  content: ''; position: absolute; top: 50%; inset-inline-start: 0;
  transform: translateY(-50%); width: 100%; height: var(--tap);
}
.mp2-col-cat-head-btn {
  flex: 1; min-width: 0; height: 36px;
  display: flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: transparent; color: var(--text);
  text-align: start; cursor: pointer;
}
.mp2-col-cat-head-btn > .caret { width: 11px; flex: none; font-size: 12px; color: var(--text-dim); }
.mp2-col-cat-head-btn > .name  { font: 700 var(--fs-note)/1 var(--font-body); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp2-col-cat-head-add {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--hair); border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
}
.mp2-col-cat-add {
  height: var(--tap); width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px dashed var(--hair); border-radius: var(--r-pill);
  background: transparent; color: var(--text-dim);
  font: 600 var(--fs-mini)/1 var(--font-body); white-space: nowrap; cursor: pointer;
}

.mp2-col-body { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 14px var(--col-gutter, 16px) 24px; display: flex; flex-direction: column; gap: 16px; animation: mp2ColBodyIn .22s cubic-bezier(.2,0,0,1); }
@keyframes mp2ColBodyIn { from { opacity: .4; } to { opacity: 1; } }
html[data-app] .mp2-col-body { animation: none; }
@media (prefers-reduced-motion: reduce) { .mp2-col-body { animation: none; } }
.mp2-col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mp2-col-grid[hidden] { display: none; }
@media (min-width: 700px)  { .mp2-col-body { padding: 18px var(--col-gutter, 24px) 28px; } .mp2-col-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .mp2-col-body { padding: 20px var(--col-gutter, 32px) 40px; } .mp2-col-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.mp2-col-tile { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.mp2-col-pic {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 50%;
  background: var(--canvas-card);
  box-shadow: var(--elev-tile);
}
.mp2-col-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp2-col-pic--transparent {
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.mp2-col-pic--transparent img { object-fit: contain; }
.mp2-col-pic--empty {
  display: grid; place-items: center;
  padding: 6px;
  font: 400 var(--fs-mini)/1.4 var(--font-body); color: var(--text-dim); text-align: center;
}
.mp2-col-tile.is-sending .mp2-col-pic::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--canvas) 70%, transparent) 50%, transparent 80%);
  background-size: 250% 100%;
  animation: mp2-col-sweep 1.4s linear infinite;
}
@keyframes mp2-col-sweep { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.mp2-col-cutting {
  position: absolute; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 100%;
  top: 0; margin-block-start: calc(50% - 0.7em); z-index: 2;
  padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--text); color: var(--canvas);
  font-size: var(--fs-mini); font-weight: 700; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .mp2-col-tile.is-sending .mp2-col-pic::after { animation: none; background: color-mix(in srgb, var(--canvas) 45%, transparent); }
}
.mp2-col-tile { position: relative; }
.mp2-col-badge {
  position: absolute; top: -4px; inset-inline-end: -4px; z-index: 2;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--text); color: var(--canvas);
  font: 700 var(--fs-mini)/1 var(--font-body);
  font-variant-numeric: tabular-nums lining-nums;
  box-shadow: 0 0 0 2px var(--canvas), 0 2px 6px rgba(0,0,0,.25);
}
.mp2-col-badge__n {
  display: block;
  text-box: trim-both cap alphabetic;
}
.mp2-col-name {
  margin: 0;
  font: 400 12px/1.35 var(--mp2-introfont, var(--font-body)); color: var(--text); text-align: center;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

@keyframes mp2-col-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.mp2-col-move .mp2-col-tile {
  animation: mp2-col-sway var(--mp2-col-sway-dur, 0.7s) ease-in-out var(--mp2-col-sway-delay, 0s) infinite;
  transform-origin: 50% 0;
  cursor: grab;
}

@media (prefers-reduced-motion: reduce) {
  .mp2-col-move .mp2-col-tile {
    animation: none;
    outline: 1.5px dashed var(--hair);
  }
}

.mp2-col-move .mp2-col-tile,
.mp2-col-body[data-col-hold] .mp2-col-tile {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.mp2-col-move .mp2-col-tile img,
.mp2-col-move .mp2-col-pic img,
.mp2-col-body[data-col-hold] .mp2-col-tile img,
.mp2-col-body[data-col-hold] .mp2-col-pic img {
  -webkit-user-drag: none;
}

.mp2-col-body.mp2-col-dragging,
.mp2-col-body.mp2-col-dragging .mp2-col-tile {
  cursor: grabbing;
}

.mp2-col-ghost {
  opacity: .35;
  outline: 1.5px dashed var(--hair);
  animation: none;
}
.mp2-col-move .mp2-col-ghost {
  animation: none;
}

#mp2-col-float {
  position: fixed;
  pointer-events: none;
  z-index: 60;
  box-shadow: var(--elev-float);
}

.mp2-col-move .mp2-col-grid:empty {
  min-height: 64px;
  border: 1px dashed var(--hair);
  border-radius: var(--r-card);
}

.mp2-col-move .mp2-col-grid[hidden] {
  display: grid !important;
}

#mp2-col-move-bar {
  position: fixed;
  inset-inline: 0;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
#mp2-col-move-bar[hidden] {
  display: none;
}
@media (min-width: 900px) {
  #mp2-col-move-bar {
    bottom: 24px;
    max-width: 560px;
    margin-inline: auto;
  }
}

#mp2-col-move-hint {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  height: var(--tap-primary);
  display: flex;
  align-items: center;
  background: var(--canvas-card);
  color: var(--text);
  box-shadow: var(--elev-float);
  border-radius: var(--r-pill);
  font: 500 var(--fs-note)/1 var(--font-body);
}

#mp2-col-move-done {
  flex: none;
}

#mp2-col-move-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.mp2-col-empty { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 24px 20px; text-align: center; }
.mp2-col-empty__mark {
  width: 92px; height: 92px; display: grid; place-items: center;
  border: 3px dashed var(--col-ac); border-radius: 20px;
  background: var(--tint); color: var(--col-ac);
}
.mp2-col-empty h3 { margin: 0; font: 900 20px/1.2 var(--font-body); }
.mp2-col-empty p  { margin: 0; max-width: 300px; font: 400 var(--fs-note)/1.7 var(--font-body); color: var(--text-dim); }
.mp2-col-empty ol { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 320px; text-align: start; }
.mp2-col-empty li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--hair); font: 400 var(--fs-note)/1.4 var(--font-body); }
.mp2-col-empty li > b   { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint); font: 700 var(--fs-mini)/1 var(--font-body); }
.mp2-col-empty li:first-child > b { background: var(--col-ac-fill); color: var(--col-on-ac); }
.mp2-col-empty li > small { margin-inline-start: auto; font: 400 var(--fs-mini)/1 var(--font-body); color: var(--text-dim); white-space: nowrap; }

.mp2-col-item-sheet__headrow { display: flex; align-items: center; gap: 10px; flex: none; padding-bottom: 10px; border-bottom: 1px solid transparent; }
.mp2-col-item-sheet__headrow--lifted { border-bottom-color: var(--hair); }
.mp2-col-item-sheet__lifted-thumb { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; border: 1px solid var(--hair); background: var(--canvas); }
.mp2-col-item-sheet__lifted-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp2-col-item-sheet__title { flex: 1; min-width: 0; font-size: var(--fs-sub); font-weight: 900; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp2-col-item-sheet__save {
  height: var(--tap); padding: 0 20px; flex: none;
  border: 0; border-radius: var(--r-pill);
  background: var(--col-ac-fill); color: var(--col-on-ac);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.mp2-col-item-sheet__photo { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mp2-col-item-sheet__pic {
  width: 204px; height: 204px; flex: none; position: relative; overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid var(--hair); border-radius: 50%;
  background: var(--canvas); color: var(--col-ac);
}
.mp2-col-item-sheet__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp2-col-item-sheet__pic--empty {
  border: 2px dashed var(--col-ac);
  background:
    conic-gradient(
      color-mix(in srgb, var(--canvas) 93%, black) 0deg, color-mix(in srgb, var(--canvas) 93%, black) 25%,
      color-mix(in srgb, var(--canvas) 62%, white) 0deg, color-mix(in srgb, var(--canvas) 62%, white) 50%,
      color-mix(in srgb, var(--canvas) 93%, black) 0deg, color-mix(in srgb, var(--canvas) 93%, black) 75%,
      color-mix(in srgb, var(--canvas) 62%, white) 0deg
    ) 0% 0% / 14px 14px;
}
.mp2-col-item-sheet__pic--busy::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(28,27,25,.55);
}
.mp2-col-item-sheet__photo-actions { display: flex; align-items: center; gap: 10px; }
.mp2-col-item-sheet__pick-btn {
  width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--hair);
  background: var(--canvas); color: var(--text);
  display: grid; place-items: center; cursor: pointer;
}
.mp2-col-item-sheet__bg-toggle {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--canvas); border: 1px solid var(--hair);
}
.mp2-col-item-sheet__bg-toggle svg { flex: none; opacity: .7; }

.mp2-col-item-sheet__name { height: 54px; background: var(--canvas); font-size: var(--fs-body); font-weight: 700; }

.mp2-col-item-sheet__picker {
  position: relative;
  height: 50px; padding: 0 12px;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--hair); border-radius: var(--r-input);
  background: var(--canvas);
}
.mp2-col-item-sheet__picker-lead { flex: none; opacity: .55; display: grid; place-items: center; }
.mp2-col-item-sheet__picker-label { flex: 1; min-width: 0; font-size: var(--fs-note); color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp2-col-item-sheet__picker-chevron { flex: none; opacity: .5; display: grid; place-items: center; }
.mp2-col-item-sheet__picker-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; cursor: pointer; }
.mp2-col-item-sheet__picker:has(.mp2-col-item-sheet__picker-select:focus-visible) {
  outline: 2px solid var(--col-ac); outline-offset: 2px;
}
.mp2-col-item-sheet__pair { display: flex; gap: 8px; flex: none; }
.mp2-col-item-sheet__pair > * { flex: 1; min-width: 0; }
.sheet__body .mp2-col-item-sheet__pair > input.field { flex: 1 1 0; width: auto; min-width: 0; }
.mp2-col-item-sheet__pair--public > input.field { height: 50px; background: var(--canvas); }


.mp2-col-item-sheet__stepper-row { display: flex; align-items: center; gap: 10px; flex: none; }
.mp2-col-item-sheet__stepper-icon { flex: none; opacity: .55; display: grid; place-items: center; }
.mp2-col-item-sheet__stepper-row .stepper { height: 50px; background: var(--canvas); }
.mp2-col-item-sheet__stepper-row .stepper > button { width: 48px; height: 48px; }
.mp2-col-item-sheet__stepper-row .stepper > button svg { fill: none; stroke: currentColor; }

.mp2-col-private {
  display: flex; flex-direction: column; gap: 8px; flex: none;
  padding: 12px;
  border: 1px solid var(--hair); border-radius: 12px;
  background: var(--canvas);
}
.mp2-col-private__lead {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-mini); font-weight: 700; color: var(--text-dim);
}
.mp2-col-private__lead svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mp2-col-private .field { height: 50px; background: var(--canvas-card); }

.mp2-col-note-wrap { position: relative; }
.mp2-col-note-wrap .field { padding-inline-end: 58px; }
.mp2-col-note-count {
  position: absolute; inset-inline-end: 10px; bottom: 5px;
  font: 500 var(--fs-mini)/1 var(--font-body); color: var(--text-dim);
  pointer-events: none; font-variant-numeric: tabular-nums;
}
.mp2-col-note-count.is-full { color: var(--col-ac); font-weight: 700; }

.mp2-col-batch__strip { display: flex; gap: 8px; flex: none; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; }
.mp2-col-batch__strip::-webkit-scrollbar { display: none; }
.mp2-col-batch__thumb {
  width: 52px; height: 52px; flex: none; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--canvas);
}
.mp2-col-batch__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp2-col-batch__thumb[aria-current='true'] { outline: 2.5px solid var(--col-ac); outline-offset: 1px; }
.mp2-col-batch__thumb.is-skipped img { opacity: .35; }
.mp2-col-batch__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.mp2-col-batch__nav .btn-secondary:disabled { opacity: .4; cursor: default; }
.mp2-col-batch__pos { font: 700 var(--fs-note)/1 var(--font-body); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.mp2-col-batch__foot { display: flex; flex: none; }
.mp2-col-batch__submit { flex: 1; min-width: 0; }
.mp2-col-batch__skip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 50px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--canvas);
}
.mp2-col-batch__skip-text { font: 400 var(--fs-note)/1.4 var(--font-body); color: var(--text); }
.sheet__body.is-skipped > :not(.mp2-col-batch__skip) { opacity: .45; }

.mp2-col-page-sheet { max-height: calc(100dvh - 54px); overflow: auto; }

.mp2-col-presets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.mp2-col-presets::-webkit-scrollbar { display: none; }
.mp2-col-preset { width: 74px; flex: none; display: flex; flex-direction: column; gap: 4px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.mp2-col-preset__card {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hair);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 6px;
}
.mp2-col-preset[aria-pressed='true'] .mp2-col-preset__card { box-shadow: 0 0 0 2px var(--canvas-card), 0 0 0 4px currentColor; }
.mp2-col-preset__name { font: 400 var(--fs-mini)/1.4 var(--font-body); text-align: center; overflow-wrap: anywhere; overflow: visible; }
.mp2-col-preset[aria-pressed='true'] .mp2-col-preset__name { font-weight: 700; }
.mp2-col-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.mp2-col-swatch {
  width: var(--tap); height: var(--tap); flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
}
.mp2-col-swatch[aria-pressed='true'] { box-shadow: 0 0 0 3px var(--canvas-card), 0 0 0 5px currentColor; }
.mp2-col-swatch svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mp2-col-swatch--custom { border: 1.5px dashed var(--hair); font: 400 var(--fs-mini)/1 var(--font-body); color: var(--text-dim); }
.mp2-col-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 10px 0; border-radius: 2px; background: var(--hair); }
.mp2-col-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border: 2px solid var(--canvas-card); border-radius: 50%; background: var(--col-ac); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.mp2-col-range::-moz-range-thumb { width: 24px; height: 24px; border: 2px solid var(--canvas-card); border-radius: 50%; background: var(--col-ac); }

.mp2-col-share-card { padding: 14px; border-radius: var(--r-card); background: #1C1B19; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.mp2-col-share-card__head { display: flex; align-items: baseline; gap: 8px; font: 700 10px/1 var(--font-body); letter-spacing: .1em; color: var(--col-ac); }
.mp2-col-share-card__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mp2-col-share-card__grid > * { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.mp2-col-share-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; font: 900 15px/1.35 var(--font-body); }
.mp2-col-share-card__url { font: 400 10px/1.4 var(--font-body); opacity: .7; text-align: end; flex: none; }

.mp2-col[data-owner='false'] .mp2-seg--settings,
.mp2-col[data-owner='false'] .mp2-col-cat-head-add,
.mp2-col[data-owner='false'] .mp2-col-cat-add,
.mp2-col[data-owner='false'] .action-row { display: none; }
.mp2-col[data-owner='false'] .mp2-col-tile { cursor: default; }

@media (max-width: 359px) {
  .mp2-col-dock > .btn-primary { padding: 0 14px; }
  .mp2-col-dock > .btn-secondary { padding: 0 12px; }
}

.mp2-col-sec-head {
  position: sticky;
  top: var(--col-stick-top, env(safe-area-inset-top, 0px));
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 calc(-1 * var(--col-gutter, 16px)) 0;
  padding: 8px var(--col-gutter, 16px);
  padding-inline-end: 52px;
  box-sizing: border-box;
  background: var(--col-ac-fill);
  color: var(--col-on-ac);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.mp2-col-sec-head__name {
  margin: 0;
  min-width: 0;
  font-size: var(--fs-body);
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp2-col-page > .mp2-col-sec-head + * { margin-top: 12px; }
#mp2-panel-collection .mp2-col-page > .mp2-col-sec-head + .mp2-col-cat { margin-top: 12px; }
.mp2-col-page:has(> .mp2-col-sec-head) { margin-bottom: -16px; }
.mp2-col-page:has(> .mp2-col-sec-head)::after { content: ''; display: block; height: 16px; }
.mp2-col-body:has(> .mp2-col-page > .mp2-col-sec-head) { padding-top: 0; }

#mp2-panel-collection .mp2-col-sec-head .mp2-col-page-report {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 8px;
  color: var(--col-on-ac);
}

@media (min-width: 1281px) {
  .mp2-col-body:has(> .mp2-col-page > .mp2-col-sec-head) { max-width: none; padding-inline: 0; }
  .mp2-col-body:has(> .mp2-col-page > .mp2-col-sec-head) > :not(.mp2-col-page) { margin-inline: calc((100% - var(--content-max)) / 2 + var(--col-gutter, 32px)); }
  .mp2-col-page:has(> .mp2-col-sec-head) > .mp2-col-sec-head { margin-inline: 0; padding-inline: calc((100% - var(--content-max)) / 2 + var(--col-gutter, 32px)); }
  #mp2-panel-collection .mp2-col-page:has(> .mp2-col-sec-head) > :not(.mp2-col-sec-head) { margin-inline: calc((100% - var(--content-max)) / 2 + var(--col-gutter, 32px)); }
  #mp2-panel-collection .mp2-col-sec-head .mp2-col-page-report { inset-inline-end: calc((100% - var(--content-max)) / 2 + 8px); }
}


.mp2-col-multi-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 35%, transparent);
  color: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.mp2-col-multi-badge svg {
  width: 14px;
  height: 14px;
}

.col-viewer-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  color: #fff;
  opacity: 1;
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}
.col-viewer-root.closing {
  opacity: 0;
}
.col-viewer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 0;
}
.col-viewer-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: env(safe-area-inset-top, 0) 16px 0;
}
.col-viewer-name {
  font-weight: 700;
  font-size: var(--fs-body, 15px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.col-viewer-counter {
  font: 700 var(--fs-body)/1 var(--font-body);
  letter-spacing: 0.05em;
  opacity: 0.9;
  white-space: nowrap;
}
.col-viewer-close-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.col-viewer-close-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}
.col-viewer-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.col-viewer-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.col-viewer-track::-webkit-scrollbar {
  display: none;
}
.col-viewer-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.col-viewer-frame {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 600px;
  max-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-viewer-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.col-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .col-viewer-nav {
    display: flex;
  }
}
.col-viewer-nav.prev { inset-inline-start: 16px; }
.col-viewer-nav.next { inset-inline-end: 16px; }
.col-viewer-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.28); }
.col-viewer-nav:disabled { opacity: 0.2; cursor: default; }

.col-viewer-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
}
.col-viewer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}
.col-viewer-dot.active,
.col-viewer-dot[aria-current="true"] {
  width: 20px;
  border-radius: 4px;
  background: #fff;
}

.col-viewer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0));
}
.col-viewer-edit-pill {
  background: var(--fire);
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  font-size: var(--fs-body, 15px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.col-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}
.col-slot.has-photo {
  touch-action: none;
}
.mp2-col-item-sheet__strip {
  align-self: stretch;
}
.mp2-col-item-sheet__pic[hidden] {
  display: none;
}
.col-slot {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-card, 10px);
  background: var(--surface-sunken, #f2f2f4);
  border: 1.5px solid transparent;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-touch-callout: none;
}
.col-slot.is-eye {
  border-color: transparent;
  box-shadow: 0 0 0 3px var(--fire);
}
.col-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.col-slot.bg-removed .col-slot-img {
  object-fit: contain;
  padding: 4px;
}
.col-slot-del {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.62);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: transform 0.1s ease, background 0.1s ease;
}
.col-slot-del:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.1);
}
.col-photo-strip.moving .col-slot-del {
  display: none;
}
.col-slot.slot-empty {
  border: 1.5px dashed var(--hair, rgba(0, 0, 0, 0.2));
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-slot.slot-empty svg {
  color: var(--text-dim, #888);
  transition: color 0.15s ease;
}
.col-slot.slot-empty:hover svg {
  color: var(--fire, #ff7601);
}

@keyframes mp2-col-photo-jiggle {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(1.6deg); }
}

.col-photo-strip.moving .col-slot.has-photo:not(.lifted) {
  animation: mp2-col-photo-jiggle 0.28s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.col-photo-strip.moving .col-slot.has-photo:not(.lifted):nth-child(even) {
  animation-delay: -0.14s;
}

.col-slot.lifted {
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: none;
}
.col-slot.is-eye.lifted {
  box-shadow: 0 0 0 3px var(--fire), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.col-slot.drop-here {
  outline: 2px dashed var(--fire);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .col-photo-strip.moving .col-slot.has-photo:not(.lifted) {
    animation: none;
  }
}

.mp2-col-facebar { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 2px; }
.mp2-col-facebar__name { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; font: 800 var(--fs-body)/1.3 var(--font-body); white-space: nowrap; }
.mp2-col-facebar__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-col-search='open'] .mp2-col-facebar { display: none; }

#mp2-panel-collection .mp2-col-page-tabs-actions .mp2-seg--edit .mp2-seg__pill {
  background: color-mix(in srgb, var(--col-on-ac) 12%, transparent); font-weight: 700;
}

.mp2-col-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (min-width: 700px) { .mp2-col-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .mp2-col-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mp2-col-card {
  position: relative; min-width: 0; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 10px 8px; border-radius: 14px;
  --col-glass: color-mix(in srgb, color-mix(in srgb, var(--canvas) 88%, var(--col-ac)) 10%, transparent);
  background: var(--col-glass); color: var(--text); cursor: pointer;
  border: 0;
  box-shadow: 0 10px 28px -14px var(--mp2-sh, color-mix(in srgb, var(--text) 45%, transparent));
  -webkit-backdrop-filter: blur(3px) saturate(1.2) brightness(var(--col-glass-br, 1));
  backdrop-filter: blur(3px) saturate(1.2) brightness(var(--col-glass-br, 1));
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.mp2-col-card__open { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.mp2-col-card__open:focus-visible { outline: 2px solid var(--col-ac); outline-offset: 2px; }
.mp2-col-card__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mp2-col-card__mosaic .mp2-col-pic { box-shadow: none; }
.mp2-col-card__ph { display: block; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--hair); box-sizing: border-box; }
.mp2-col-card__name { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 30px; font: 800 var(--fs-note)/1.3 var(--font-body); }
.mp2-col-card__label { min-width: 0; overflow: hidden; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mp2-col-card--add {
  align-self: stretch; min-height: 120px;
  flex-direction: row; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px dashed color-mix(in srgb, var(--col-ac) 55%, transparent); background: var(--col-glass); box-shadow: none; color: var(--text-dim);
  font: 700 var(--fs-mini)/1.2 var(--font-body);
}
.mp2-col-card--add svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mp2-col-card--new .mp2-col-card__name { min-height: var(--tap); }
.mp2-col-card.is-draft { cursor: default; }

:root[data-theme='dark'] #mp2-shell:not([data-look-colors]) .mp2-col-card,
#mp2-shell[data-theme='oto']:not([data-look-colors]) .mp2-col-card,
#mp2-shell[data-theme='orochi']:not([data-look-colors]) .mp2-col-card,
#mp2-shell[data-theme='akatsuki']:not([data-look-colors]) .mp2-col-card { --col-glass-br: 1.4; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mp2-col-card { --col-glass: color-mix(in srgb, color-mix(in srgb, var(--canvas) 88%, var(--col-ac)) 88%, transparent); }
}
@media (prefers-reduced-transparency: reduce) {
  .mp2-col-card {
    --col-glass: color-mix(in srgb, color-mix(in srgb, var(--canvas) 88%, var(--col-ac)) 88%, transparent);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

.mp2-col-private-mark { flex: none; display: inline-grid; place-items: center; width: 17px; height: 17px; opacity: .75; }
.mp2-col-private-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp2-col-card.is-private .mp2-col-card__mosaic,
.mp2-col-page.is-private .mp2-col-pic,
.mp2-col-cat.is-private .mp2-col-pic { opacity: .4; }

@keyframes mp2-col-card-sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
.mp2-col-move .mp2-col-card[data-col-sec] {
  animation: mp2-col-card-sway var(--mp2-col-sway-dur, .72s) ease-in-out var(--mp2-col-sway-delay, 0s) infinite;
  transform-origin: 50% 0;
}
.mp2-col-move .mp2-col-card.is-asking,
.mp2-col-move .mp2-col-card.is-ph { animation: none; }
.mp2-col-move .mp2-col-card--all > * { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .mp2-col-move .mp2-col-card[data-col-sec] { animation: none; outline: 1.5px dashed var(--hair); outline-offset: 2px; }
}
#mp2-col-move-hint[hidden] + #mp2-col-move-done { flex: 1 1 auto; }

.mp2-col-ed-tool {
  flex: none; width: var(--tap); height: var(--tap); padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
}
.mp2-col-ed-tool > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.mp2-col-ed-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp2-col-ed-tool:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.mp2-col-ed-tool--grip { touch-action: none; cursor: grab; }
.mp2-col-ed-tool--grip svg { fill: currentColor; stroke: none; }
.mp2-col-ed-tool.is-off > i { background: var(--mp2-tx-on-cd, var(--text)); color: var(--mp2-cd, var(--canvas-card)); }
.mp2-col-card > .mp2-col-ed-tool { position: absolute; top: 2px; z-index: 2; }
.mp2-col-card > .mp2-col-ed-tool > i { background: var(--mp2-cd, var(--canvas-card)); color: var(--mp2-tx-on-cd, var(--text)); box-shadow: 0 1px 4px rgba(0, 0, 0, .28); }
.mp2-col-card > .mp2-col-ed-tool.is-off > i { background: var(--mp2-tx-on-cd, var(--text)); color: var(--mp2-cd, var(--canvas-card)); }
.mp2-col-card > .mp2-col-ed-tool--grip { inset-inline-start: 2px; }
.mp2-col-card > .mp2-col-ed-tool--eye { inset-inline-end: 46px; }
.mp2-col-card > .mp2-col-ed-tool--bin { inset-inline-end: 2px; }
.mp2-col-cat-head-row.is-editing { gap: 2px; }
.mp2-col-sec-head.is-editing {
  gap: 2px; padding-block: 0;
  padding-inline: calc(var(--col-gutter, 16px) - 8px);
}

.mp2-col-rn {
  min-width: 0; max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; text-align: start; cursor: text;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-decoration: underline dashed 1.5px; text-underline-offset: 4px;
}
.mp2-col-cat-head-row > .mp2-col-rn,
.mp2-col-sec-head > .mp2-col-rn { flex: 1 1 auto; min-height: var(--tap); }
.mp2-col-rn-slot { flex: 1 1 auto; min-width: 0; }
.mp2-col-rn-input {
  flex: 1 1 auto; width: 100%; min-width: 0; box-sizing: border-box; height: 40px; padding: 0 10px;
  border: 1.5px solid var(--col-ac); border-radius: 8px;
  background: var(--mp2-cd, var(--canvas-card)); color: var(--mp2-tx-on-cd, var(--text));
  font: 700 var(--fs-body)/1.2 var(--font-body); outline: none;
}
.mp2-col-cat--new .mp2-col-cat-head-row { min-height: var(--tap); }
.mp2-col-cat-head-row.is-editing,
.mp2-col-cat--new .mp2-col-cat-head-row { position: relative; }

.mp2-col-page.is-sorting > .mp2-col-cat > :not(.mp2-col-cat-head-row),
.mp2-col-body.is-sorting > .mp2-col-page > :not(.mp2-col-sec-head) { display: none !important; }
.mp2-col-card.is-ph,
.mp2-col-cat.is-ph,
.mp2-col-page.is-ph { opacity: .35; }
.mp2-col-ed-float { z-index: 60; pointer-events: none; box-shadow: var(--elev-float); transform: scale(1.04); opacity: .97; animation: none; }
.mp2-col-ed-float.mp2-col-cat-head-row { background: var(--mp2-cd, var(--canvas-card)); border-radius: 12px; border-bottom: 0; padding-inline-start: 4px; }

.mp2-col-ask {
  --ask-bg: var(--mp2-cd, var(--canvas-card));
  --ask-tx: var(--mp2-tx-on-cd, var(--text));
  position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 4px); box-sizing: border-box;
  display: flex; flex-direction: column; gap: 6px; padding: 8px 5px;
  border-radius: 12px; background: var(--ask-bg); color: var(--ask-tx);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .26), 0 0 0 1px color-mix(in srgb, var(--ask-tx) 14%, transparent);
  text-align: center; cursor: default; white-space: normal;
}
.mp2-col-ask__q {
  display: flex; justify-content: center; min-width: 0; margin: 0;
  overflow: hidden; white-space: nowrap;
  font: 800 12px/1.4 var(--font-body); font-feature-settings: "palt";
}
.mp2-col-ask__q > span { flex: none; display: block; white-space: nowrap; }
.mp2-col-ask__btns { display: flex; gap: 6px; }
.mp2-col-ask__del,
.mp2-col-ask__no {
  position: relative; flex: 1 1 0; min-height: 36px; box-sizing: border-box; padding: 0 6px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 var(--fs-mini)/1.2 var(--font-body); white-space: nowrap; cursor: pointer;
}
.mp2-col-ask__del::before,
.mp2-col-ask__no::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: var(--tap); transform: translateY(-50%); }
.mp2-col-ask__del { border: 0; background: var(--danger); color: var(--danger-bg); }
.mp2-col-ask__no { border: 1px solid color-mix(in srgb, var(--ask-tx) 18%, transparent); background: color-mix(in srgb, var(--ask-tx) 6%, var(--ask-bg)); color: var(--ask-tx); }
.mp2-col-ask__del:disabled,
.mp2-col-ask__no:disabled { opacity: .6; cursor: default; }
.mp2-col-ask.is-row { flex-direction: row; align-items: center; padding-block: 4px; padding-inline: 10px 4px; text-align: start; }
.mp2-col-ask.is-row .mp2-col-ask__q { flex: 1 1 auto; justify-content: flex-start; }
.mp2-col-ask.is-row .mp2-col-ask__btns { flex: none; }
.mp2-col-ask.is-row .mp2-col-ask__del,
.mp2-col-ask.is-row .mp2-col-ask__no { flex: none; min-height: 38px; padding: 0 8px; }
.mp2-col-card.is-asking { box-shadow: 0 0 0 2px var(--mp2-tx-on-cd, var(--text)); }
.mp2-col-card.is-asking .mp2-col-card__mosaic { opacity: .3; }
.is-asking > .mp2-col-ed-tool { visibility: hidden; }
.mp2-col-cat-head-row.is-asking { position: relative; z-index: 4; }
.mp2-col-sec-head.is-asking { z-index: 5; }



