/* Effigraph Gallery: the PW Media look. Montserrat for headings, Roboto for text, calm greys,
   the accent only as a thin line. Light theme per gallery. */
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('fonts/montserrat-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('fonts/montserrat-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('fonts/roboto-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('fonts/roboto-500.woff2') format('woff2'); }
/* like paul-wessa.de: Inter for text and buttons, Helvetica for headings (on the server, nothing loaded from elsewhere) */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }

:root {
  --deep: #111111; --bg: #161616; --surface: #1f1f1f; --field: #242424; --border: #333333; --hair: #2a2a2a;
  --text: #e6e6e6; --hi: #ffffff; --dim: #8a8a8a; --accent: #afffac; --warn: #ffc46b; --err: #ff8a8a;
  --heart: #ffffff; --shade: rgba(0, 0, 0, .55);
  --head: "Helvetica Neue", Helvetica, Arial, sans-serif; --body: "Inter", -apple-system, "Segoe UI", sans-serif;
}
[data-theme="light"] {
  --deep: #ffffff; --bg: #fafafa; --surface: #f2f2f2; --field: #ffffff; --border: #dcdcdc; --hair: #e8e8e8;
  --text: #2a2a2a; --hi: #111111; --dim: #7a7a7a; --heart: #ffffff; --shade: rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--deep); color: var(--text); font: 14px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--dim); outline-offset: 2px; }
[hidden] { display: none !important; }
a { color: inherit; }

.eyebrow { font: 600 10px/1 var(--head); letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); }
.line { height: 1px; width: 48px; background: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--field); border: 1px solid var(--border); border-radius: 3px;
  color: var(--text); font: 600 12px/1 var(--head); letter-spacing: .3px; padding: 10px 14px; text-decoration: none; white-space: nowrap;
  transition: border-color .12s, color .12s; }
.btn:hover { border-color: var(--dim); color: var(--hi); }
.btn.primary { background: var(--hi); color: var(--deep); border-color: var(--hi); }
.btn.primary:hover { opacity: .9; color: var(--deep); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 10px; font-size: 11px; }
.btn:disabled { opacity: .35; cursor: default; }
.btn svg { width: 15px; height: 15px; }
.field { width: 100%; background: var(--field); border: 1px solid var(--border); border-radius: 3px; padding: 10px 12px; }
.field:focus { outline: none; border-color: var(--dim); }
textarea.field { resize: vertical; min-height: 84px; }
label.lbl { display: block; font: 600 10px/1 var(--head); letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); margin: 16px 0 7px; }
.dim { color: var(--dim); }
.small { font-size: 12px; }

/* ---- client gallery */
.g-head { max-width: 1600px; margin: 0 auto; padding: 56px 24px 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.g-head h1 { margin: 10px 0 6px; font: 700 30px/1.15 var(--head); color: var(--hi); letter-spacing: -.2px; }
.g-head .meta { color: var(--dim); font-size: 13px; }
.g-head .line { margin-top: 14px; }
.g-tools { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--deep) 92%, transparent); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.g-tools .in { max-width: 1600px; margin: 0 auto; padding: 10px 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; align-self: stretch; }
.tabs button { background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--dim); font: 600 12px/1 var(--head);
  padding: 10px 10px 9px; letter-spacing: .3px; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--hi); border-bottom-color: var(--accent); }
.spacer { flex: 1; }
.who { font-size: 12px; color: var(--dim); margin-right: 4px; }
.who button { background: none; border: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 2px; padding: 0; font-size: 12px; }
.banner { max-width: 1600px; margin: 14px auto 0; padding: 0 24px; }
.banner div { border: 1px solid var(--border); border-left: 1px solid var(--accent); border-radius: 3px; padding: 11px 14px; color: var(--text); font-size: 13px; }

.grid { max-width: 1600px; margin: 0 auto; padding: 18px 24px 80px; }
.row { display: flex; gap: 6px; margin-bottom: 6px; }
.tile { position: relative; background: var(--surface); overflow: hidden; cursor: zoom-in; flex: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .16s; }
.tile img.in { opacity: 1; }
.tile .acts { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .12s; }
.tile:hover .acts, .tile .acts.keep { opacity: 1; }
@media (hover: none) { .tile .acts { opacity: 1; } }
.icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 3px;
  background: var(--shade); color: #fff; position: relative; }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn.fav svg path { fill: transparent; stroke: #fff; transition: fill .12s; }
.icon-btn.fav.on svg path { fill: var(--accent2, var(--accent)); stroke: var(--accent2, var(--accent)); }
.icon-btn .n { position: absolute; top: 3px; right: 3px; font: 600 9px/1 var(--head); }
.empty { text-align: center; color: var(--dim); padding: 80px 20px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 40; background: #0a0a0a; display: grid; grid-template-columns: 1fr auto; }
.lb[hidden] { display: none; }
.lb .stage { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; touch-action: pan-y; }
.lb .stage img { max-width: calc(100% - 120px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); display: block; user-select: none; -webkit-user-drag: none; }
.lb .nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #cfcfcf; padding: 20px; }
.lb .nav svg { width: 26px; height: 26px; }
.lb .nav:hover { color: #fff; }
.lb .prev { left: 4px; } .lb .next { right: 4px; }
.lb .top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #bdbdbd; font-size: 12px; }
.lb .top .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .bottom { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; padding: 14px; }
.lb .icon-btn { background: rgba(255, 255, 255, .08); }
.lb .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.lb .side { width: 340px; background: #141414; border-left: 1px solid #262626; display: flex; flex-direction: column; color: #e6e6e6; min-height: 0; }
.lb .side[hidden] { display: none; }
.side .hd { padding: 16px 16px 12px; border-bottom: 1px solid #262626; display: flex; align-items: center; }
.side .list { flex: 1; overflow: auto; padding: 8px 16px; }
.side .c { padding: 10px 0; border-bottom: 1px solid #222; }
.side .c b { font: 600 11.5px/1.2 var(--head); color: #fff; }
.side .c .t { white-space: pre-wrap; margin-top: 4px; font-size: 13px; }
.side .c.admin { border-left: 1px solid var(--accent); padding-left: 10px; }
.side form { padding: 12px 16px 16px; border-top: 1px solid #262626; display: grid; gap: 8px; }
.side .field { background: #1c1c1c; border-color: #333; color: #e6e6e6; }
@media (max-width: 760px) {
  .g-head { padding: 34px 16px 16px; } .g-head h1 { font-size: 24px; }
  .g-tools .in, .grid, .banner { padding-left: 12px; padding-right: 12px; }
  /* phone: the picture on top, the comments below it (never over it) */
  .lb { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb .stage { min-height: 0; }
  .lb .stage img { max-width: 100%; max-height: calc(100% - 112px); }
  .lb .side { width: auto; max-height: 46vh; max-height: 46dvh; border-left: 0; border-top: 1px solid #262626; }
  .lb .side .list { min-height: 0; }
  .lb .top { padding-top: max(12px, env(safe-area-inset-top)); }
  .lb .bottom { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .lb .nav { display: none; }
}

/* dialogs */
.dlg { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg[hidden] { display: none; }
.dlg .box { width: 100%; max-width: 420px; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 22px; }
.dlg h2 { margin: 6px 0 6px; font: 700 18px/1.25 var(--head); color: var(--hi); }
.dlg .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.err { color: var(--err); font-size: 12px; min-height: 16px; margin-top: 8px; }
.menu { position: absolute; z-index: 20; background: var(--bg); border: 1px solid var(--border); border-radius: 3px; padding: 6px; min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.menu a, .menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 2px; text-decoration: none; font-size: 13px; }
.menu a:hover, .menu button:hover { background: var(--surface); }

/* lock screen */
.lock { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lock .box { width: 100%; max-width: 360px; }
.lock .acts { display: flex; justify-content: flex-end; margin-top: 16px; }
.lock h1 { font: 700 24px/1.2 var(--head); color: var(--hi); margin: 10px 0 18px; }
.foot { max-width: 1600px; margin: 0 auto; padding: 0 24px 40px; color: var(--dim); font-size: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; background: var(--hi); color: var(--deep);
  border-radius: 3px; padding: 10px 14px; font-size: 13px; opacity: 0; transition: opacity .16s; pointer-events: none; }
.toast.on { opacity: 1; }
.logos { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.logos { --logo-h: 42px; }
.logos img { width: auto; max-width: 280px; object-fit: contain; display: block; }
.logos .sep { width: 1px; height: 30px; background: var(--border); }
.cover-in .logos { --logo-h: 46px; }
@media (max-width: 760px) {
  .logos, .cover-in .logos { --logo-h: 36px; }
  .logos img { max-width: 200px; }
  .logos .sep { height: 26px; }
}
.foot .credit { opacity: .7; }
.g-head .kind { margin-top: 2px; }
.g-head .intro { margin: 14px 0 0; color: var(--dim); font-size: 13px; max-width: 560px; }
/* start page of the main address: calm, in the middle */
body.home { min-height: 100vh; min-height: 100dvh; display: flex; }
.home-col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.home-in { flex: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; }
.home-in h1 { font: 700 30px/1.15 var(--head); color: var(--hi); margin: 8px 0 14px; }
.home-in .line { margin-bottom: 18px; }
.find { display: flex; gap: 8px; margin-top: 18px; }
.find .field { flex: 1; min-width: 0; }
.home-foot { width: 100%; justify-content: center; padding-bottom: 28px; }
/* cover: one picture big, the title on it */
.cover { position: relative; background: #000 center / cover no-repeat; display: flex; align-items: flex-end; }
.cover-full { min-height: 100vh; min-height: 100svh; }
.cover-half { min-height: 62vh; }
.cover::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.38) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,0) 65%),
    linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 20%, rgba(0,0,0,.22) 42%, rgba(0,0,0,0) 62%); }
.cover-in h1, .cover-in .meta, .cover-in .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.cover-in { position: relative; z-index: 1; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 24px 7vh; color: #fff; }
.cover-in h1 { margin: 10px 0 6px; font: 700 clamp(30px, 5vw, 56px)/1.08 var(--head); color: #fff; letter-spacing: -.3px; }
.cover-in .eyebrow { color: rgba(255,255,255,.75); }
.cover-in .meta { color: rgba(255,255,255,.8); font-size: 14px; }
/* on the picture: every logo in white, calm whatever its colours */
.cover-in .logos img.mono { filter: brightness(0) invert(1); opacity: .92; }
.cover-in .logos .sep { background: rgba(255,255,255,.45); }
.cover-go { margin-top: 22px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); }
.cover-go:hover { border-color: #fff; color: #fff; }
.g-head.with-cover { display: none; }
/* other layouts */
.sq { display: grid; }
.sq .tile { aspect-ratio: 1; width: auto; height: auto; }
.cols .tile { width: 100%; display: block; break-inside: avoid; }
@media (max-width: 760px) { .cover-in { padding: 0 16px 6vh; } }
/* the pre-selection's short how-to */
.help h2 { margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .ico { flex: none; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.steps .ico svg { width: 16px; height: 16px; }
.steps b { font: 600 13px/1.3 var(--head); color: var(--hi); }
.steps p { margin: 3px 0 0; color: var(--dim); font-size: 13px; }
.help-btn { background: transparent; border: 1px solid var(--border); color: var(--dim); font: 600 13px/1 var(--head); width: 36px; height: 36px; border-radius: 3px; }
.help-btn:hover { color: var(--hi); border-color: var(--dim); }
.btn.primary.soft { background: transparent; color: var(--hi); border-color: var(--border); }
.btn.primary.soft:hover { border-color: var(--dim); }
/* final gallery: choosing pictures to download */
.tile .pick { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 3px; border: 1.5px solid #fff;
  background: rgba(0,0,0,.25); box-shadow: 0 1px 6px rgba(0,0,0,.35); display: none; }
body.picking .tile .pick { display: block; }
body.picking .tile { cursor: pointer; }
.tile.picked .pick { background: var(--accent2, var(--accent)); border-color: var(--accent2, var(--accent)); }
.tile.picked .pick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.picking .tile.picked img { opacity: .82; }
/* the bar's buttons: one height, one calm style; the main one only with a brighter frame */
.g-tools .btn { height: 36px; padding: 0 14px; box-sizing: border-box; line-height: 1; }
.g-tools .btn svg { width: 14px; height: 14px; }
.g-tools .btn.primary { background: transparent; color: var(--hi); border-color: color-mix(in srgb, var(--hi) 55%, transparent); }
.g-tools .btn.primary:hover { border-color: var(--hi); opacity: 1; color: var(--hi); }
.g-tools .btn.primary.soft { border-color: var(--border); }
.g-tools .help-btn { width: 36px; height: 36px; }
@media (max-width: 760px) { .g-tools .btn { height: 34px; padding: 0 12px; } }
/* download menu: fixed so it also sits over the big picture; high / low resolution with a short line under each */
.menu { position: fixed; z-index: 60; }
.menu .mh { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim, #8a8a8a); padding: 8px 10px 2px; }
.menu .mh ~ .mh { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px; }
.menu a b { display: block; font-weight: 500; }
.menu a .sub { display: block; font-size: 11.5px; opacity: .6; margin-top: 2px; }
.menu.on-lb { background: #141414; border-color: #2a2a2a; color: #e6e6e6; }
/* the big picture's download: a real button with a word, not only an icon */
.lb .lb-dl { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 3px; background: rgba(255,255,255,.08);
  color: #e6e6e6; text-decoration: none; font: 600 12px/1 var(--head); letter-spacing: .3px; cursor: pointer; }
.lb .lb-dl:hover { background: rgba(255,255,255,.14); }
.lb .lb-dl svg { width: 15px; height: 15px; }
.lb .lb-dl[hidden] { display: none; }
/* the cover picture in its own layer; fills the whole width. Very wide screens (from 21:10) use their own crop if one is set */
.cover { overflow: hidden; background: #000; }
.cover-pic { position: absolute; inset: 0; background: center / cover no-repeat; background-position: var(--pos, 50% 50%); }
@media (min-aspect-ratio: 21/10) { .cover-full .cover-pic { background-position: var(--pos-wide, var(--pos, 50% 50%)); } }
/* selection limit */
.tabs button.over { color: var(--warn); }
.limit-note { margin: 4px 0 10px; padding: 8px 12px; border-left: 1px solid var(--accent2, var(--accent)); background: var(--surface); font-size: 13px; }
.limit-note[hidden] { display: none; }
/* zoom in the big picture */
.lb .stage { overflow: hidden; }
.lb .stage img { cursor: zoom-in; transform-origin: center center; will-change: transform; touch-action: none; }
.lb.zoomed .stage img { cursor: zoom-out; }
.lb .top, .lb .bottom, .lb .nav { z-index: 2; }
.lb.zoomed .nav { opacity: 0; pointer-events: none; }
/* retouch: drawing on the big picture */
.lb #lbDraw { position: absolute; z-index: 1; touch-action: none; cursor: crosshair; }
.lb #lbDraw[hidden] { display: none; }
.lb.drawing .nav, .lb.drawing #lbFav, .lb.drawing #lbCom, .lb.drawing #lbDl { opacity: .25; pointer-events: none; }
.lb.drawing #lbRet { background: rgba(255,255,255,.2); }
.lb .lb-dl .n { font-size: 11px; opacity: .75; }
.lb button.lb-dl { border: 0; }
.rt-bar { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 45; width: min(560px, calc(100vw - 24px));
  background: #141414; border: 1px solid #2a2a2a; border-radius: 4px; padding: 12px; color: #e6e6e6; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.rt-bar[hidden] { display: none; }
.rt-bar .rt-hint { font-size: 12px; color: #a8a8a8; margin-bottom: 8px; }
.rt-bar .field { width: 100%; box-sizing: border-box; background: #1d1d1d; border-color: #2e2e2e; color: #eee; resize: vertical; }
.rt-acts { display: flex; gap: 8px; align-items: center; margin-top: 8px; } .rt-acts .spacer { flex: 1; }
.rt-list { margin-top: 6px; max-height: 120px; overflow: auto; }
.rt-i { font-size: 12.5px; padding: 6px 0; border-top: 1px solid #262626; }
.rt-i.done { opacity: .55; } .rt-i .rt-done { color: #9a9a9a; }
.rt-i .rt-x { background: none; border: 0; color: #ff8a8a; font-size: 12px; margin-left: 6px; cursor: pointer; }
@media (max-width: 760px) { .rt-bar { bottom: calc(68px + env(safe-area-inset-bottom)); } }
/* while drawing, the picture moves up so the note box below does not cover it */
.lb.drawing .stage { align-items: flex-start; }
.lb.drawing .stage img { margin-top: 48px; max-height: calc(100vh - 330px); max-height: calc(100dvh - 330px); }
/* approval: a tick instead of the heart */
.icon-btn.fav svg.chk path { fill: none; stroke: #fff; }
.icon-btn.fav.on svg.chk path { fill: none; stroke: var(--accent2, var(--accent)); }

/* shirt number search */
.num-q { width: 150px; height: 36px; margin-left: 14px; padding: 0 12px; border-radius: 3px; border: 1px solid var(--border); background: var(--field); color: var(--text); font: 600 12px/1 var(--head); letter-spacing: .3px; }
.num-q::placeholder { color: var(--dim); }
@media (max-width: 640px) { .num-q { width: 100px; margin-left: 8px; } }

/* watermark: no saving by dragging or long press */
body.wm img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* compare: 2 to 4 pictures side by side */
.cmp { position: fixed; inset: 0; z-index: 60; background: var(--deep); display: flex; flex-direction: column; }
.cmp-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hair); }
.cmp-bar .eyebrow { margin: 0; }
.cmp-x { background: rgba(255,255,255,.08); }
.cmp-panes { flex: 1; display: grid; gap: 6px; padding: 6px; min-height: 0; touch-action: none; }
.cmp.n2 .cmp-panes { grid-template-columns: 1fr 1fr; }
.cmp.n3 .cmp-panes { grid-template-columns: 1fr 1fr 1fr; }
.cmp.n4 .cmp-panes { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
@media (max-width: 700px) { .cmp.n2 .cmp-panes, .cmp.n4 .cmp-panes { grid-template-columns: 1fr; } .cmp.n3 .cmp-panes { grid-template-columns: 1fr; } }
.cmp-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.cmp-img { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 0; cursor: grab; }
.cmp-img img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; user-select: none; }
.cmp-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 2px; color: var(--dim); }
.cmp-foot .fav { position: static; }

/* sorted out by the photographer: greyed, with the reason */
.tile.out img { filter: grayscale(1) brightness(.45); }
.tile.out .out-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 12px; line-height: 1.35; color: #eee;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.tile.out .out-note b { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--dim); }

/* one size for all buttons (toolbar, dialogs, picture view, compare) */
.btn:not(.small) { min-height: 36px; justify-content: center; }
.steps .ico { width: 36px; height: 36px; }


/* ---- website look (paul-wessa.de): Helvetica headings, Inter text and buttons, square corners, normal case ---- */
body { font-family: var(--body); }
.btn, .lb .lb-dl, .num-q, .tabs button { font: 500 12.5px/1 var(--body); letter-spacing: .2px; }
.help-btn { font: 600 13px/1 var(--body); }
.eyebrow, label.lbl { font-family: var(--body); font-weight: 600; }
.btn, .icon-btn, .field, .num-q, .dlg .box, .menu, .menu a, .menu button, .tile .pick, .lb .lb-dl, .help-btn, .steps .ico, .cmp-x { border-radius: 0; }

/* the bar: left the tabs, search and who is choosing; right the buttons, all with the same gap */
.g-tools .who { margin: 0 0 0 16px; padding-left: 16px; border-left: 1px solid var(--border); line-height: 36px; white-space: nowrap; }
@media (max-width: 760px) { .g-tools .who { margin-left: 8px; padding-left: 8px; } }
@media (max-width: 760px) {
  .g-tools .in { gap: 8px; row-gap: 8px; }
  .g-tools .tabs { flex: 1 1 auto; }
  .g-tools .num-q { flex: 0 1 120px; width: auto; margin-left: 0; }
  .g-tools .who { flex: 1 0 100%; margin: 0; padding: 0; border-left: 0; line-height: 18px; }
  .g-tools .spacer { display: none; }
  .g-tools .btn { flex: 1 1 auto; justify-content: center; }
  .g-tools .help-btn { flex: 0 0 34px; width: 34px; height: 34px; }
}

/* drop-downs: own arrow with room to the edge (the system arrow sits right on the border) */
select.field, select {
  -webkit-appearance: none; appearance: none; padding-right: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
select::-ms-expand { display: none; }
