/* The Props page, on top of msz-catalog.css (ct- and dm- pieces).
 *
 * Each item is a card whose files sit in a contact sheet: a dashed place to
 * drop them while it is empty, an ink film strip once they arrive, each file a
 * frame, a frame filling with green while it sends. That strip is the page's
 * one bold thing; everything else is the catalogue's quiet kit.
 *
 * Prefixed pr-, because the live theme's Bootstrap owns the short names. */

.msz-props .pr-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);
  white-space:nowrap; }

/* ------------------------------------------------------- who is sending -- */

.msz-props .pr-who { margin:0 0 14px; }
.msz-props .pr-name { display:flex; flex-direction:column; gap:10px; padding:16px; background:#fff;
  border:1px solid var(--line); border-inline-start:5px solid var(--warn); border-radius:14px; box-shadow:var(--lift); }
.msz-props .pr-name label b { display:block; font-size:16px; font-weight:800; color:var(--ink); }
.msz-props .pr-name label span { display:block; margin-top:2px; font-size:13.5px; color:var(--muted); line-height:1.45; }
.msz-props .pr-nameline { display:flex; gap:8px; }
.msz-dash.msz-props .pr-nameline input { flex:1 1 auto; min-width:0; height:50px; font-size:16px; padding:0 14px;
  border:1.5px solid var(--line); border-radius:13px; background:#fff; color:var(--ink); }
.msz-dash.msz-props .pr-nameline input:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(66,125,70,.14); }
.msz-dash.msz-props .pr-nameline input.bad { border-color:var(--alert); }
.msz-dash.msz-props .pr-nameline .ct-btn { flex:0 0 auto; padding:0 22px; }
.msz-props .pr-as { margin:0; display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px;
  font-size:14px; color:var(--muted); }
.msz-props .pr-as b { color:var(--ink); }
.msz-dash.msz-props .pr-as button { min-height:36px; font-size:13.5px; font-weight:700; color:var(--accent-deep);
  text-decoration:underline; text-underline-offset:3px; }

/* --------------------------------------------------------- the ways -- */

/* Five tabs: in a row from 600px, a strip that scrolls on its own below. */
.msz-props .pr-ways { margin-bottom:10px; }
@media (max-width:600px) {
  .msz-props .pr-ways { display:flex; overflow-x:auto; scrollbar-width:none; margin-inline:-16px;
    border-radius:0; border-inline:0; padding:5px 16px; scroll-padding-inline:16px; }
  .msz-props .pr-ways::-webkit-scrollbar { display:none; }
  .msz-dash.msz-props .pr-ways .ct-centre { flex:0 0 auto; min-width:118px; }
}

.msz-props .pr-how { display:flex; gap:11px; align-items:flex-start; margin:0 0 14px; padding:12px 14px;
  border-radius:12px; background:var(--accent-wash); color:var(--ink); }
.msz-props .pr-how:empty { display:none; }
.msz-props .ct-app .pr-how svg { width:20px; height:20px; margin-top:1px; color:var(--accent-deep); }
.msz-props .pr-how p { margin:0; font-size:14px; line-height:1.5; max-width:78ch; }
.msz-props .pr-how b { font-weight:800; }

/* ------------------------------------------------------------ the cards -- */

.msz-props .pr-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin:0 0 22px; }
.msz-props .pr-list > .ct-empty,.msz-props .pr-list > .ct-ghosts { grid-column:1 / -1; }
.msz-props .pr-card { position:relative; display:flex; flex-direction:column; gap:10px; min-width:0;
  padding:14px 14px 14px 16px; background:#fff; border:1px solid var(--line);
  border-inline-start:5px solid var(--warn); border-radius:16px; box-shadow:var(--lift); }
.msz-props .pr-card.is-ready { border-inline-start-color:var(--accent); }
.msz-props .pr-card.is-over { box-shadow:0 0 0 3px var(--accent), var(--lift); }

.msz-props .pr-head { display:flex; align-items:flex-start; gap:10px; }
.msz-props .pr-title { flex:1 1 auto; min-width:0; }
.msz-props .pr-title h3 { margin:0; font-size:17.5px; font-weight:800; letter-spacing:-.015em; line-height:1.25;
  color:var(--ink); overflow-wrap:anywhere; }
.msz-props .pr-meta { margin:2px 0 0; font-size:13px; font-weight:600; color:var(--muted); }
.msz-props .pr-qty { margin-inline-start:10px; color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums; }
.msz-props .pr-checks { flex:0 0 auto; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; max-width:52%; }
.msz-props .ct-app .pr-checks svg { width:14px; height:14px; stroke-width:2.6; }
.msz-dash.msz-props .pr-edit { flex:0 0 auto; width:40px; height:40px; margin:-6px -6px 0 0; border-radius:11px;
  display:inline-flex; align-items:center; justify-content:center; color:var(--muted); }

.msz-props .pr-size,.msz-props .pr-consent { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; }
.msz-props .pr-size .dm-num { font-size:20px; }
.msz-props .pr-axes { font-size:12px; font-weight:700; color:var(--muted); }
.msz-dash.msz-props .pr-link { margin-inline-start:auto; min-height:36px; font-size:13.5px; font-weight:700;
  color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.msz-props .pr-consent { align-items:center; font-size:14px; font-weight:700; color:var(--ink); }
.msz-dash.msz-props .pr-consentbtn { display:inline-flex; align-items:center; gap:10px; min-height:44px;
  padding-inline-end:6px; font-size:14px; font-weight:700; color:var(--ink); text-align:start; }
.msz-props .pr-tick { flex:0 0 auto; width:32px; height:32px; border-radius:9px; border:1.5px solid #c3c6be;
  background:#fff; color:transparent; display:inline-flex; align-items:center; justify-content:center; }
.msz-props .pr-consentbtn.on .pr-tick { background:var(--accent-deep); border-color:var(--accent-deep); color:#fff; }
.msz-props .ct-app .pr-tick svg { width:20px; height:20px; stroke-width:2.8; }
.msz-props .pr-height { font-size:13px; font-weight:600; color:var(--muted); }

.msz-props .pr-todo { margin:0; font-size:13.5px; line-height:1.5; color:#55594f; overflow-wrap:anywhere; }
.msz-props .pr-todo b { color:var(--warn); font-weight:800; }
.msz-props .pr-card.is-ready .pr-todo b { color:var(--muted); }
.msz-props .pr-todo.in-sheet { margin:0 0 16px; padding:10px 12px; border-radius:10px; background:var(--warn-wash); }
.msz-props .pr-notes { margin:0; font-size:13px; line-height:1.45; color:var(--muted); overflow-wrap:anywhere; }

/* --------------------------------------------------------- the contact sheet -- */

.msz-props .pr-strip { position:relative; margin-top:auto; border-radius:12px; background:var(--ink);
  padding:16px 10px 10px; color:#fff; }
/* The strip's sprocket holes, along its top edge. */
.msz-props .pr-strip:not(.is-empty)::before { content:""; position:absolute; inset-inline:10px; top:5px; height:5px;
  background:repeating-linear-gradient(90deg, rgba(241,242,239,.32) 0 8px, transparent 8px 16px); border-radius:2px; }
.msz-props .pr-frames { display:grid; grid-template-columns:repeat(auto-fill, minmax(78px, 1fr)); gap:6px; }
.msz-dash.msz-props .pr-frame { position:relative; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:2px; aspect-ratio:4 / 3; min-width:0; overflow:hidden; border-radius:4px;
  background:#2a2c22; color:#fff; text-align:center; }
.msz-props .pr-frame img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.msz-props .pr-frame b { font-size:14px; font-weight:800; letter-spacing:.02em; line-height:1.1; }
.msz-props .pr-frame small { font-size:11px; font-weight:600; color:rgba(255,255,255,.66); line-height:1.2; }
.msz-props .pr-frame.is-file { background:#33362b; }
.msz-dash.msz-props .pr-addframe { background:transparent; border:1.5px dashed rgba(241,242,239,.4); color:#fff; }
.msz-props .ct-app .pr-addframe svg { width:20px; height:20px; stroke-width:2.2; }
.msz-dash.msz-props .pr-addframe:disabled { opacity:.45; cursor:not-allowed; }
.msz-dash.msz-props .pr-more { background:#3b3e33; }
.msz-props .pr-stripnote { margin:8px 2px 0; font-size:12px; font-weight:600; color:rgba(255,255,255,.66); }

/* Sending: the frame fills from the bottom; the figure says how far. */
.msz-props .pr-frame.is-sending img { filter:grayscale(1) brightness(.55); }
.msz-props .pr-frame .pr-kind { position:absolute; top:5px; inset-inline-start:6px; font-size:10.5px; font-weight:800;
  letter-spacing:.04em; color:rgba(255,255,255,.7); }
.msz-props .pr-bar { position:absolute; inset-inline:0; bottom:0; height:var(--p, 0%); background:rgba(66,125,70,.72);
  transition:height .25s linear; pointer-events:none; }
.msz-props .pr-over { position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:4px; padding:4px; }
.msz-props .pr-pct { font-size:15px; font-weight:800; font-variant-numeric:tabular-nums; text-shadow:0 1px 2px rgba(0,0,0,.5); }
.msz-dash.msz-props .pr-cancel { position:absolute; top:0; inset-inline-end:0; width:36px; height:36px;
  display:inline-flex; align-items:center; justify-content:center; color:#fff; }
.msz-props .ct-app .pr-cancel svg { width:16px; height:16px; stroke-width:2.6;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.msz-props .pr-frame.is-fail { box-shadow:inset 0 0 0 2px #c96b6b; }
.msz-props .pr-frame.is-fail img { filter:grayscale(1) brightness(.4); }
.msz-props .pr-frame.is-fail small { color:#fff; font-size:10.5px; overflow:hidden; display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.msz-props .pr-acts { display:flex; gap:2px; }
.msz-dash.msz-props .pr-acts button { display:inline-flex; align-items:center; gap:3px; min-height:30px; padding:0 6px;
  border-radius:6px; background:rgba(255,255,255,.16); color:#fff; font-size:11px; font-weight:700; }
.msz-props .ct-app .pr-acts svg { width:13px; height:13px; stroke-width:2.4; }

/* Empty: a quiet place to put files, until the first arrives. */
.msz-props .pr-strip.is-empty { background:var(--canvas); color:var(--ink); padding:0;
  border:1.5px dashed #c3c6be; }
.msz-props .pr-card.is-over .pr-strip.is-empty { background:var(--accent-wash); border-color:var(--accent); }
.msz-dash.msz-props .pr-choose { display:flex; align-items:center; gap:12px; width:100%; min-height:76px;
  padding:12px 14px; border-radius:11px; text-align:start; color:var(--ink); }
.msz-props .ct-app .pr-choose svg { width:26px; height:26px; color:var(--accent-deep); stroke-width:1.8; }
.msz-props .pr-choose span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.msz-props .pr-choose b { font-size:15px; font-weight:800; }
.msz-props .pr-choose small { font-size:12.5px; font-weight:600; color:var(--muted); line-height:1.35; }
.msz-dash.msz-props .pr-choose:disabled { cursor:not-allowed; }
.msz-dash.msz-props .pr-choose:disabled svg { color:var(--muted); }
.msz-dash.msz-props .pr-other { display:block; min-height:44px; margin:-8px 0 0; padding:0 14px 0 52px; font-size:13px;
  font-weight:700; text-align:start; color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; }
.msz-props .pr-strip.is-empty .pr-stripnote { margin:0; padding:0 14px 12px; color:var(--alert); }
.msz-props .pr-strip.is-quiet p { margin:0; padding:14px; font-size:13px; color:var(--muted); }

/* --------------------------------------------------------------- sheets -- */

.msz-props .pr-look { display:block; width:100%; max-height:52vh; object-fit:contain; margin:0 0 14px;
  border-radius:10px; background:var(--ink); }
.msz-props .pr-lookfile { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  aspect-ratio:16 / 9; margin:0 0 14px; border-radius:10px; background:var(--ink); color:#fff; }
.msz-props .pr-lookfile b { font-size:30px; font-weight:800; }
.msz-props .pr-lookfile span { font-size:13px; color:rgba(255,255,255,.66); }
.msz-props .pr-frames.in-sheet { padding:10px; border-radius:12px; background:var(--ink);
  grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); }
.msz-props .pr-sheetn { margin-inline-start:6px; font-size:13px; font-weight:700; letter-spacing:0; color:var(--muted); }
.msz-dash.msz-props a.ct-btn { text-decoration:none; }
.msz-dash.msz-props a.ct-btn.go { color:#fff; }
.msz-props .ct-sheetfoot svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.msz-dash.msz-props #pr-linkbox { font-size:14px; }

.msz-props .pr-share { margin:0 0 18px; }
.msz-dash.msz-props .pr-sharebtn { min-height:44px; font-size:14px; font-weight:700; color:var(--accent-deep);
  text-decoration:underline; text-underline-offset:3px; }

/* The link page has no tabs to the other boards. */
.msz-props.is-link header.top .heroin { align-items:center; }

/* --------------------------------------------------------------- widths -- */

@media (min-width:861px) {
  .msz-props .pr-list { grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
  .msz-props .pr-card { padding:16px 16px 16px 18px; }
}
@media (max-width:600px) {
  .msz-props .pr-checks { max-width:none; }
  .msz-props .pr-head { flex-wrap:wrap; }
  .msz-props .pr-title { flex-basis:calc(100% - 50px); }
  .msz-props .pr-checks { order:3; flex-basis:100%; justify-content:flex-start; }
  .msz-props .pr-frames { grid-template-columns:repeat(auto-fill, minmax(70px, 1fr)); }
  .msz-dash.msz-props .pr-nameline .ct-btn { padding:0 16px; }
}
@media (hover:hover) {
  .msz-dash.msz-props .pr-edit:hover { background:var(--canvas); color:var(--ink); }
  .msz-dash.msz-props .pr-frame:hover { box-shadow:inset 0 0 0 2px rgba(241,242,239,.8); }
  .msz-dash.msz-props .pr-addframe:hover { border-color:#fff; }
  .msz-dash.msz-props .pr-choose:not(:disabled):hover b { text-decoration:underline; text-underline-offset:3px; }
  .msz-dash.msz-props .pr-strip.is-empty:hover { border-color:var(--accent); }
}
@media (prefers-reduced-motion:reduce) {
  .msz-props .pr-bar { transition:none; }
}
@media print {
  .msz-props .pr-strip,.msz-props .pr-share,.msz-props .pr-edit,.msz-props .pr-link { display:none !important; }
  .msz-props .pr-card { break-inside:avoid; box-shadow:none; }
}
