:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --white: #fffdfa;
  --sidebar: #fffaf3;
  --ink: #29231d;
  --muted: #655b51;
  --line: #e8ded1;
  --accent: #a44732;
  --accent-dark: #853422;
  --tint: #f4e5db;
  --green: #2f6447;
  --heading: 'Bricolage Grotesque', Inter, Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--heading);
  letter-spacing: -.035em;
  line-height: 1.13;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(32px, 4.4vw, 49px); }
h2 { font-size: clamp(19px, 2vw, 23px); }
h3 { font-size: 18px; }
small, .muted { color: var(--muted); }

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.initial { padding: 40px; color: var(--muted); text-align: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font: 800 28px/1 var(--heading);
  letter-spacing: -.075em;
  text-decoration: none;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--accent);
  color: white;
}
.brand-icon .icon { width: 22px; height: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  text-align: center;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
.btn:hover { background: #f4ece0; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: white; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.small { min-height: 35px; padding: 7px 10px; font-size: 13px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: #f4ece0; }
.btn.danger { color: #a23326; }

.shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  height: 100vh;
  padding: 25px 15px 17px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}
.side .brand { margin-left: 8px; }
.side nav { display: grid; gap: 4px; }
.navlink {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #51473d;
  text-align: left;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}
.navlink .icon { width: 17px; height: 17px; }
.navlink:hover { background: #f7efe6; }
.navlink.active { background: var(--tint); color: var(--accent-dark); }
.sign-out { justify-content: flex-start; }
.storage-mini {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}
.storage-mini strong, .storage-mini div { display: flex; align-items: center; gap: 8px; }
.storage-mini strong { font-size: 13px; }
.storage-mini div { margin-top: 5px; color: var(--muted); font-size: 12px; }
.storage-mini .icon { width: 16px; height: 16px; color: var(--accent); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9b795c; }
.status-dot.connected { background: var(--green); }

.workspace { min-width: 0; }
.crumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 10px clamp(18px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--sidebar);
  color: var(--muted);
  font-size: 13px;
}
.crumb nav, .crumb a { display: flex; align-items: center; gap: 7px; min-width: 0; }
.crumb a { flex: none; text-decoration: none; }
.crumb a:hover { color: var(--accent-dark); }
.crumb nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb .icon { width: 15px; height: 15px; }
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #eedfd1;
  border-radius: 50%;
  background: #f3e7dc;
  color: #744732;
  font-size: 12px;
  font-weight: 700;
}

.content { max-width: 1430px; margin: 0 auto; padding: 29px clamp(18px, 3.4vw, 44px) 48px; }
.headline, .toolbar, .section-title { display: flex; align-items: center; gap: 12px; }
.headline, .toolbar { justify-content: space-between; }
.headline { margin-bottom: 20px; }
.headline p { margin-top: 6px; color: var(--muted); }
.library-head {
  align-items: flex-end;
  margin: 0 0 24px;
  padding: 6px 0 25px;
  border-bottom: 1px solid var(--line);
}
.headline > .btn { flex: none; }
.album-toolbar { margin-bottom: 13px; }
.count {
  display: inline-grid;
  flex: none;
  place-items: center;
  min-width: 27px;
  min-height: 26px;
  padding: 2px 8px;
  border-radius: 15px;
  background: #eee5d9;
  color: #6e5647;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 277px);
}
.search .icon { position: absolute; left: 12px; width: 16px; color: var(--muted); pointer-events: none; }
.search input, .form input, .form textarea, .form select {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 400;
}
.search input { padding-left: 36px; min-height: 41px; }

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 226px), 1fr));
  gap: 15px;
}
.album-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.album-card:hover { transform: translateY(-2px); border-color: #d2b0a1; box-shadow: 0 8px 22px #54372311; }
.album-card > a { display: flex; flex-direction: column; height: 100%; border-radius: inherit; text-decoration: none; }
.card-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 111px;
  padding: 13px;
  overflow: hidden;
  border-radius: 13px 13px 0 0;
  background: #f0dfd3;
}
.album-card:nth-child(3n+2) .card-cover { background: #e9e4d5; }
.album-card:nth-child(3n+3) .card-cover { background: #f4e6d1; }
.card-cover::before, .card-cover::after {
  position: absolute;
  z-index: -1;
  width: 112px;
  height: 79px;
  border: 1px solid #7a4c3738;
  border-radius: 9px;
  content: '';
  pointer-events: none;
}
.card-cover::before { right: 13px; bottom: -22px; transform: rotate(-13deg); }
.card-cover::after { right: 36px; bottom: -31px; transform: rotate(11deg); }
.card-icon, .panel-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fffcf7;
  color: var(--accent-dark);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-info { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 5px; }
.card-title .icon { width: 15px; height: 16px; margin: 2px 0 0; color: var(--accent); }
.card-client { margin-top: 4px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.card-meta {
  display: flex;
  justify-content: space-between;
  column-gap: 12px;
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 12px;
}
.card-meta dt { color: var(--muted); }
.card-meta dd { margin: 2px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.card-meta > :last-child { text-align: right; }

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 20px;
  background: #fff9f1;
  color: #654b3c;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.active { background: #e7efe5; color: #28543b; }
.empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 26px 15px;
  border: 1px dashed #d9c8b8;
  border-radius: 13px;
  background: var(--white);
  text-align: center;
}
.empty .btn { margin-top: 4px; }
.empty-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--accent-dark); }

.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 12px; color: var(--muted); font-weight: 650; text-decoration: none; }
.back .icon { width: 15px; }
.back:hover { color: var(--accent-dark); }
.album-head { align-items: flex-start; }
.album-head > div:first-child { min-width: 0; }
.album-head h1 { font-size: clamp(28px, 4vw, 44px); }
.album-actions { display: flex; flex: none; flex-wrap: wrap; gap: 6px; }
.status-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; color: var(--muted); }
.status-line strong { color: var(--ink); overflow-wrap: anywhere; }
.note { max-width: 730px; margin-bottom: 17px; padding-left: 11px; border-left: 2px solid #cda895; color: var(--muted); white-space: pre-wrap; }

.album-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .57fr);
  grid-template-areas: "upload delivery" "files delivery";
  align-items: start;
  gap: 14px;
}
.panel {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.upload-panel { grid-area: upload; }
.upload-panel h2 { margin-bottom: 11px; }
.files-panel { grid-area: files; }
.files-panel .section-title { margin-bottom: 9px; }
.delivery-panel { position: sticky; top: 14px; grid-area: delivery; }
.delivery-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.panel-icon { width: 36px; height: 36px; background: var(--tint); }
.delivery-panel > p { margin-top: 7px; font-size: 13px; }
.delivery-actions { display: grid; gap: 7px; margin-top: 13px; }
.delivery-actions .btn { width: 100%; }
.drive-form { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.drive-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.sync-folder { display: grid; justify-items: start; gap: 9px; }
.sync-folder .form-error { color: #9c3022; font-size: 13px; }

.drop {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 150px;
  padding: 16px 11px;
  border: 1px dashed #cbb5a5;
  border-radius: 11px;
  background: #fbf7f0;
  text-align: center;
}
.drop .panel-icon { margin-bottom: 3px; }
.drop .btn { margin-top: 5px; }
.drop.drag { border-color: var(--accent); background: var(--tint); }
.queue { margin-top: 10px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; }
.queue progress { display: block; width: 100%; margin-top: 6px; accent-color: var(--accent); }
.queue details { margin-top: 6px; }
.queue summary { cursor: pointer; }
.queue ul { margin: 5px 0 8px; padding-left: 18px; overflow-wrap: anywhere; }

.upload-list { margin: 0; padding: 0; list-style: none; }
.upload-list li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.upload-list li + li { border-top: 1px solid var(--line); }
.upload-list .icon { color: var(--accent); align-self: center; width: 16px; height: 16px; }
.upload-list small { white-space: nowrap; }

.form { display: grid; gap: 11px; }
.form label { display: grid; gap: 4px; font-weight: 650; }
.form textarea { min-height: 80px; resize: vertical; }
.form .form-error { color: #9c3022; font-size: 13px; }
.section-gap { margin-top: 13px; }

dialog {
  width: min(calc(100% - 24px), 520px);
  max-height: 93vh;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 60px #35221f33;
}
dialog::backdrop { background: #32231f8c; }
.dialog-head, .dialog-actions { display: flex; align-items: center; gap: 8px; }
.dialog-head { justify-content: space-between; margin-bottom: 11px; }
.dialog-actions { justify-content: flex-end; flex-wrap: wrap; }
.setup-guide ol { display: grid; gap: 9px; padding-left: 20px; }
.setup-guide .btn { margin: 3px 0; }
.setup-guide code { overflow-wrap: anywhere; }

.login { display: grid; min-height: 100svh; place-items: center; padding: 17px; background: radial-gradient(ellipse at top left, #efdfcf, transparent 62%), var(--paper); }
.login-box { width: min(100%, 410px); padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.login-box h1 { margin: 15px 0 4px; font-size: 30px; }
.guest-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 61px; padding: 10px clamp(18px, 4vw, 46px); border-bottom: 1px solid var(--line); background: var(--sidebar); }
.guest-cover { display: flex; align-items: flex-end; min-height: 225px; margin-bottom: 15px; padding: clamp(17px, 3vw, 27px); border: 1px solid var(--line); border-radius: 14px; background: #f0dfd3; }
.guest-cover p { margin-top: 5px; color: var(--muted); }

#toast {
  position: fixed;
  z-index: 5;
  bottom: 13px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 26px);
  padding: 9px 14px;
  transform: translateX(-50%);
  border-radius: 9px;
  background: #342821;
  color: white;
  box-shadow: 0 5px 18px #35221f36;
  text-align: center;
  font-weight: 650;
}

@media (max-width: 1010px) {
  .shell { grid-template-columns: 165px minmax(0, 1fr); }
  .side { padding-inline: 11px; }
}

@media (max-width: 830px) {
  .album-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "upload" "delivery" "files"; }
  .delivery-panel { position: static; }
  .delivery-actions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
}

@media (max-width: 650px) {
  .shell { display: block; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; height: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand { margin-left: 0; }
  .side nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .navlink { width: auto; padding: 7px; font-size: 12px; }
  .navlink .icon { width: 14px; height: 14px; }
  .brand { font-size: 24px; }
  .brand-icon { width: 31px; height: 31px; }
  .crumb, .storage-mini { display: none; }
  .content { padding: 18px 13px 35px; }
  .library-head { align-items: flex-start; gap: 8px; margin-bottom: 17px; padding-bottom: 16px; }
  .library-head p { font-size: 12px; }
  .library-head > .btn { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  .album-toolbar { flex-wrap: wrap; }
  .search { width: 100%; }
  .album-head { flex-wrap: wrap; }
  .panel { padding: 13px; }
}

@media (max-width: 410px) {
  .navlink .icon { display: none; }
  .card-cover { min-height: 93px; }
}

@media (prefers-reduced-motion: reduce) {
  .album-card { transition: none; }
  .album-card:hover { transform: none; }
}


.client-gallery {
  --gutter: clamp(12px, 2.2vw, 38px);
  --gallery-width: 1800px;
  --paper: #fcfbf9;
  --ink: #242320;
  --line: #e3dfda;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}
.client-gallery .guest-top,
.client-content { max-width: var(--gallery-width); margin-inline: auto; }
.client-gallery .guest-top {
  min-height: 62px;
  padding: 12px var(--gutter);
  border: 0;
  background: transparent;
}
.client-gallery .brand { gap: 8px; font-size: 25px; }
.client-gallery .brand-icon { width: 30px; height: 30px; border-radius: 9px; }
.client-gallery .brand-icon .icon { width: 20px; height: 20px; }
.guest-photo-count { display: inline-flex; gap: 8px; align-items: center; color: #655f58; font-size: 13px; font-variant-numeric: tabular-nums; }
.guest-photo-count .icon { width: 16px; height: 16px; }
.client-content { padding: 0 var(--gutter) 36px; }
.client-title { padding: clamp(15px, 3.3vw, 48px) 0 clamp(16px, 2vw, 28px); border-top: 1px solid var(--line); }
.client-title h1 { font-size: clamp(35px, 4.5vw, 72px); font-weight: 600; letter-spacing: -.055em; line-height: 1.06; }
.client-title p { margin-top: 9px; color: var(--muted); }
.client-title .client-message { max-width: 72ch; white-space: pre-line; overflow-wrap: anywhere; }
.client-tools {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 8px 0 10px;
  background: var(--paper);
}
.client-tools > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.client-tools .btn { min-height: 38px; padding: 8px 13px; border-radius: 100px; background: transparent; font-size: 13px; font-weight: 600; }
.client-tools .btn:hover { background: #efece7; }
.client-tools .btn.primary { border-color: var(--ink); background: var(--ink); color: white; }
.client-tools .btn.primary:disabled { opacity: 1; background: #eae7e3; border-color: transparent; color: #6c6761; }
.client-tools .btn.primary:enabled:hover { background: #44413b; }
.client-tools .btn:disabled { cursor: default; }
.client-tools .icon { width: 16px; height: 16px; }
#selection-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.client-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px; }
.client-photo {
  position: relative;
  flex: none;
  width: calc((100% - 6px) / 4);
  aspect-ratio: 3 / 2;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: #eae7e2;
}
.photo-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.photo-open:focus-visible { outline-offset: -4px; z-index: 1; }
.image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #a59f97; }
.image-placeholder .icon { width: 22px; height: 22px; }
.photo-open img { display: block; position: relative; width: 100%; height: 100%; object-fit: contain; }
.photo-select, .file-download {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}
.photo-select { position: absolute; top: 2px; right: 2px; z-index: 1; }
.photo-select::before, .file-download::before {
  content: "";
  grid-area: 1 / 1;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgb(18 17 17 / .55);
}
.photo-select .icon, .file-download .icon { grid-area: 1 / 1; z-index: 1; width: 17px; height: 17px; }
.photo-select[aria-pressed=true]::before { background: #9e3547; }
.photo-select[aria-pressed=true] .icon, .photo-pick[aria-pressed=true] .icon { fill: currentColor; }
.photo-pick[aria-pressed=true] { color: #9e3547; }
.client-file {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4px;
  padding: 15px 2px 2px 10px;
  pointer-events: none;
  background: linear-gradient(transparent, rgb(17 17 17 / .58));
  color: white;
}
.client-file span { min-width: 0; margin-block: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.file-download { position: relative; pointer-events: auto; }
.photo-select:focus-visible, .file-download:focus-visible { outline: 2px solid white; outline-offset: -5px; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  .client-photo .photo-select, .client-photo .client-file { opacity: 0; }
  .client-photo:hover .photo-select, .client-photo:hover .client-file,
  .client-photo:focus-within .photo-select, .client-photo:focus-within .client-file,
  .client-photo.is-selected .photo-select { opacity: 1; }
}
.client-lightbox { width: min(calc(100% - 20px), 1080px); background: #27221e; color: #fffaf4; }
.client-lightbox .dialog-head h2 { font-size: 16px; }
.client-lightbox .dialog-head button { color: #fffaf4; }
.client-lightbox .dialog-head button:hover { color: var(--ink); }
.lightbox-image { display: grid; min-height: 120px; place-items: center; background: #1c1917; border-radius: 7px; }
.lightbox-image img { display: block; max-width: 100%; max-height: 69vh; object-fit: contain; }
.lightbox-image canvas { display: block; width: min(100%, 540px); max-height: 69vh; object-fit: contain; }
.lightbox-image p { padding: 15px; color: #f6dfd5; text-align: center; }
.lightbox-tools { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lightbox-tools .btn:disabled { cursor: default; }
.zip-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 8px; margin-top: 12px; }
.mobile-save-main { width: 100%; justify-content: center; margin-top: 8px; }
.mobile-save-status { margin-top: 6px; }
.mobile-save-links { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.mobile-save-links summary { cursor: pointer; font-weight: 650; }
.mobile-save-links p { margin: 6px 0; font-size: 13px; }
.mobile-save-links a { display: block; color: var(--accent-dark); padding: 7px 0; overflow-wrap: anywhere; }
.mobile-save-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.delivery-actions:empty { display: none; }
.client-payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  margin-bottom: 12px;
  background: #fbf0e5;
  border: 1px solid #ecdacc;
  border-radius: 11px;
}
.client-payment > div { display: flex; align-items: center; gap: 10px; }
.client-payment > div > .icon { color: var(--accent-dark); }
.client-payment p { margin-top: 2px; color: var(--muted); font-size: 13px; }

@media(max-width: 650px) {
  .client-gallery .guest-top { min-height: 50px; }
  .client-content { padding-bottom: 20px; }
  .client-title { padding-block: 20px 14px; }
  .client-tools { gap: 5px; }
  .client-tools .btn { min-height: 38px; padding: 6px 10px; font-size: 12px; }
  .client-tools > div { gap: 6px; }
  .client-grid { margin-inline: calc(2px - var(--gutter)); }
  .client-photo { width: calc((100% - 2px) / 2); }
}
@media (hover: none), (pointer: coarse) {
  .client-file { justify-content: flex-end; padding: 0 2px 2px; background: none; }
  .client-file span { display: none; }
}
