/* ==========================================================================
   Tom & Sian — wedding venue dashboard
   Palette is drawn from a country wedding: warm ivory paper, sage, dusty
   rose, and a little antique gold. Cormorant for headings so the numbers and
   names feel written rather than reported; Jost for anything functional.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --paper:        #faf6f0;
  --paper-deep:   #f2ebe0;
  --card:         #fffdfa;
  --ink:          #38382f;
  --ink-soft:     #6f6d62;
  --ink-faint:    #a09d92;

  --sage:         #8b9a7b;
  --sage-deep:    #5c6b4d;
  --sage-wash:    #eef1e9;
  --blush:        #d3a49c;
  --blush-deep:   #b8827a;
  --blush-wash:   #f8eeec;
  --gold:         #c2a05e;
  --gold-soft:    #e5d3a8;

  --line:         #e6ddd0;
  --line-strong:  #d5c8b6;

  --shadow-sm:    0 1px 2px rgba(72, 60, 42, 0.04), 0 2px 8px rgba(72, 60, 42, 0.05);
  --shadow-md:    0 2px 6px rgba(72, 60, 42, 0.06), 0 12px 28px rgba(72, 60, 42, 0.09);
  --shadow-lg:    0 8px 20px rgba(72, 60, 42, 0.10), 0 30px 60px rgba(72, 60, 42, 0.14);

  --radius:       14px;
  --radius-lg:    20px;

  --serif:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:         'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  background-color: var(--paper);
  /* Two very soft washes of colour so the paper is not flat white. */
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(139, 154, 123, 0.13), transparent 62%),
    radial-gradient(950px 560px at 92% 4%, rgba(211, 164, 156, 0.15), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: 0.01em; }
a { color: var(--sage-deep); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

.shell { max-width: 1280px; margin: 0 auto; padding: 0 28px 96px; }

/* ---------------------------------------------------------------- header */

.masthead { text-align: center; padding: 62px 0 30px; position: relative; }

.masthead .eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.masthead h1 {
  font-size: clamp(46px, 8vw, 78px);
  line-height: 1;
  color: var(--sage-deep);
}
.masthead h1 .amp {
  font-style: italic;
  font-weight: 300;
  color: var(--blush-deep);
  padding: 0 6px;
}

.masthead .subtitle {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 300;
}

/* A drawn rule with a small diamond, rather than a plain border. */
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto 0; max-width: 320px; }
.rule::before, .rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(to right, transparent, var(--line-strong), transparent); }
.rule .diamond { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }

/* ------------------------------------------------------------ toolbar */

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-bottom: 30px;
  background: rgba(255, 253, 250, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 14px;
  z-index: 40;
}

.toolbar .spacer { flex: 1; }

.field-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 2px;
}

/* Segmented control — used for "who is rating" and for sort. */
.segmented { display: inline-flex; background: var(--paper-deep); border-radius: 999px; padding: 3px; gap: 2px; }
.segmented button {
  border: 0;
  background: transparent;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: all 0.18s ease;
  white-space: nowrap;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed='true'] {
  background: var(--card);
  color: var(--sage-deep);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.btn {
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--sage); color: var(--sage-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* The same blush as the locations and the ampersand, rather than sage. White
   text on this pink only reaches 3.4:1, so the label is deep warm brown
   instead — 4.6:1, and softer than a white-on-dark button besides. */
.btn-primary {
  background: var(--blush-deep);
  border-color: var(--blush-deep);
  color: #3a221e;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--blush); border-color: var(--blush-deep); color: #2e1a17; }

.btn-quiet { border-color: transparent; background: transparent; color: var(--ink-soft); }
.btn-quiet:hover { background: var(--paper-deep); color: var(--ink); box-shadow: none; transform: none; }

.btn-danger:hover { border-color: var(--blush-deep); color: var(--blush-deep); }

.save-state { font-size: 12px; color: var(--ink-faint); min-width: 70px; }

/* ------------------------------------------------------------- guest note */

.guest-note {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--blush-wash);
  border: 1px solid #eddcd8;
  border-radius: var(--radius);
  padding: 13px 18px;
  margin: -14px 0 26px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.guest-note .badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3a221e;
  background: var(--blush-deep);
  padding: 4px 11px;
  border-radius: 999px;
  flex: none;
}
.guest-note span:nth-child(2) { flex: 1; min-width: 200px; }

/* ------------------------------------------------------------- venue grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(348px, 1fr));
  gap: 26px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* --- photo ------------------------------------------------------------- */

.card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sage-wash);
  overflow: hidden;
  cursor: pointer;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
/* Direct child only. A scaled image inside a carousel track would bleed into
   the neighbouring slide. */
.card:hover .card-photo > img { transform: scale(1.045); }

/* --- photo carousel ---------------------------------------------------- */

.carousel { position: absolute; inset: 0; overflow: hidden; }

.carousel-track {
  display: flex;
  height: 100%;
  transform: translateX(calc(var(--slide, 0) * -100%));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.carousel-track img { flex: 0 0 100%; }

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 2px 3px 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 253, 250, 0.86);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 20px; line-height: 1;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.card:hover .carousel-nav { opacity: 1; }
.carousel-nav:hover { background: #fff; }
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; padding: 0 0 3px 2px; }

/* Touch devices have no hover, so the arrows would never appear. */
@media (hover: none) {
  .carousel-nav { opacity: 1; }
}

.carousel-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 2px;
}
/* The button is a generous touch target; the visible dot is the pseudo. */
.carousel-dots .dot {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; background: none;
}
.carousel-dots .dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.62);
  box-shadow: 0 1px 2px rgba(40, 34, 26, 0.28);
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.carousel-dots .dot.on::before { width: 16px; border-radius: 3px; background: #fffdfa; }

/* Placeholder when no photo has been added — a drawn sprig, not a grey box. */
.photo-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background:
    linear-gradient(140deg, var(--sage-wash) 0%, var(--blush-wash) 100%);
  color: var(--sage);
}
.photo-empty span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* The overall score, sat on the photo. */
.score-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 8px 12px 6px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 56px;
}
.score-badge .value { font-family: var(--serif); font-size: 25px; line-height: 1; color: var(--sage-deep); font-weight: 500; }
.score-badge .value.unrated { color: var(--ink-faint); font-size: 19px; }
.score-badge .label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.score-badge.provisional { border: 1px dashed var(--gold-soft); }

.rank-ribbon {
  position: absolute; top: 14px; left: 0;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px 5px 14px;
  border-radius: 0 999px 999px 0;
  box-shadow: var(--shadow-sm);
}

/* --- body -------------------------------------------------------------- */

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.card-title { font-size: 27px; line-height: 1.15; color: var(--ink); }
.card-title a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.card-title a:hover { border-bottom-color: var(--sage); }

.card-location {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush-deep);
  margin-top: 5px;
}

.facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0; }
.fact {
  font-size: 12px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.fact.price { background: var(--sage-wash); color: var(--sage-deep); font-weight: 400; }
.fact.warn { background: var(--blush-wash); color: var(--blush-deep); }

.card-included {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  /* Keep cards even; the full text is in the detail view. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-note {
  margin-top: 12px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--gold);
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

/* --- ratings ----------------------------------------------------------- */

.ratings { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }

.rating-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; }
.rating-row .name { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.03em; }
.rating-row .partner { font-size: 11px; color: var(--ink-faint); white-space: nowrap; }

.stars { display: inline-flex; gap: 2px; }
.star {
  border: 0; background: none; padding: 1px;
  line-height: 0;
  /* Cooler and lighter than the gold, so a filled star is unmistakable. */
  color: #e3ded4;
  transition: color 0.13s ease, transform 0.13s ease;
}
.star svg { width: 16px; height: 16px; display: block; }
.star.filled { color: #bd9333; }
.stars:hover .star { color: #e3ded4; }
.stars:hover .star.hover-filled { color: var(--gold-soft); }
.star:hover { transform: scale(1.22); }
.star:disabled { cursor: default; }
.star:disabled:hover { transform: none; }

.card-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-actions .btn { flex: 1; text-align: center; padding: 8px 12px; font-size: 12.5px; }

/* ------------------------------------------------------------- declined */

.section-heading {
  display: flex; align-items: center; gap: 14px;
  margin: 56px 0 22px;
}
.section-heading h2 { font-size: 30px; color: var(--sage-deep); white-space: nowrap; }
.section-heading .count { font-size: 12px; color: var(--ink-faint); background: var(--paper-deep); padding: 3px 10px; border-radius: 999px; }
.section-heading .line { flex: 1; height: 1px; background: linear-gradient(to right, var(--line-strong), transparent); }

.declined-list { display: grid; gap: 10px; }
.declined-row {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 253, 250, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.declined-row .who { font-family: var(--serif); font-size: 19px; color: var(--ink-soft); }
.declined-row .where { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.declined-row .why { flex: 1; font-size: 13px; font-style: italic; color: var(--ink-faint); }

/* ---------------------------------------------------------------- empty */

.empty {
  text-align: center;
  padding: 90px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.5);
}
.empty h2 { font-size: 30px; color: var(--sage-deep); margin-bottom: 10px; }
.empty p { color: var(--ink-soft); max-width: 380px; margin: 0 auto 22px; }

/* ---------------------------------------------------------------- modal */

.overlay {
  position: fixed; inset: 0;
  background: rgba(46, 42, 34, 0.42);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  z-index: 100;
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } }

.modal {
  background: var(--card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  box-shadow: var(--shadow-lg);
  animation: rise 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  overflow: hidden;
}
.modal.wide { max-width: 1100px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.985); } }

.modal-head {
  padding: 26px 30px 20px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 16px;
}
.modal-head h2 { font-size: 32px; color: var(--sage-deep); flex: 1; line-height: 1.1; }
.modal-head .close { border: 0; background: var(--paper-deep); width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); font-size: 17px; line-height: 1; flex: none; }
.modal-head .close:hover { background: var(--blush-wash); color: var(--blush-deep); }

.modal-body { padding: 26px 30px; }
.modal-foot { padding: 18px 30px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }

/* --- forms ------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }

label.field { display: block; }
label.field > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.input, textarea.input, select.input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-weight: 300;
}
.input:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(139, 154, 123, 0.16);
}
textarea.input { resize: vertical; min-height: 78px; line-height: 1.55; }

.hint { font-size: 12px; color: var(--ink-faint); margin-top: 5px; }

/* --- files ------------------------------------------------------------- */

.dropzone {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  background: var(--paper);
  transition: all 0.18s ease;
  cursor: pointer;
}
.dropzone:hover, .dropzone.over { border-color: var(--sage); background: var(--sage-wash); color: var(--sage-deep); }

.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.thumb { position: relative; width: 92px; height: 68px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button, .file-row button.remove {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 0; background: rgba(30, 28, 22, 0.62); color: #fff;
  font-size: 12px; line-height: 1; padding: 0;
}
.thumb button:hover { background: var(--blush-deep); }

.file-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  margin-top: 8px;
  font-size: 13px;
}
.file-row .icon { color: var(--blush-deep); flex: none; }
.file-row a { flex: 1; color: var(--ink); text-decoration: none; }
.file-row a:hover { color: var(--sage-deep); text-decoration: underline; }
.file-row button.remove { position: static; background: transparent; color: var(--ink-faint); }
.file-row button.remove:hover { color: var(--blush-deep); }

/* --- score explanation ------------------------------------------------- */

.score-explain {
  background: var(--sage-wash);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 4px;
}
.score-explain h4 { font-size: 19px; color: var(--sage-deep); margin-bottom: 10px; }
.score-explain table { width: 100%; border-collapse: collapse; font-size: 13px; }
.score-explain td { padding: 4px 0; color: var(--ink-soft); }
.score-explain td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.score-explain .total { border-top: 1px solid var(--line-strong); font-weight: 500; }
.score-explain .total td { padding-top: 9px; color: var(--sage-deep); }
.score-explain .working { font-size: 12px; color: var(--ink-faint); margin-top: 10px; font-style: italic; }

/* --- compare table ----------------------------------------------------- */

.compare-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
table.compare th, table.compare td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare th {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 400; white-space: nowrap;
}
table.compare td.venue { font-family: var(--serif); font-size: 18px; color: var(--ink); white-space: nowrap; }
table.compare td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.compare tbody tr:hover { background: var(--paper); }
table.compare .best { color: var(--sage-deep); font-weight: 500; }

/* --- lightbox ---------------------------------------------------------- */

.lightbox { position: fixed; inset: 0; background: rgba(28, 25, 20, 0.9); z-index: 200; display: flex; align-items: center; justify-content: center; animation: fade 0.2s ease; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .nav { position: absolute; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; backdrop-filter: blur(6px); }
.lightbox .nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox .prev { left: 24px; }
.lightbox .next { right: 24px; }
.lightbox .close { position: absolute; top: 24px; right: 24px; }

/* --- sign in ----------------------------------------------------------- */

.signin { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.signin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  width: 100%; max-width: 400px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.signin-card h1 { font-size: 42px; color: var(--sage-deep); }
.signin-card h1 .amp { font-style: italic; color: var(--blush-deep); }
.signin-card p { color: var(--ink-soft); font-size: 14px; margin: 10px 0 26px; }
.signin-card .input { text-align: center; letter-spacing: 0.24em; font-size: 16px; padding: 13px; }
.signin-card .btn-primary { width: 100%; margin-top: 14px; padding: 12px; }
.signin-error { color: var(--blush-deep); font-size: 13px; margin-top: 14px; min-height: 18px; }

/* --- toast ------------------------------------------------------------- */

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  padding: 12px 22px; border-radius: 999px;
  font-size: 13px; box-shadow: var(--shadow-md);
  z-index: 300;
  animation: rise 0.25s ease;
}
.toast.error { background: var(--blush-deep); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 720px) {
  .shell { padding: 0 16px 60px; }
  .masthead { padding: 40px 0 20px; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar { position: static; padding: 14px; }
  .toolbar .spacer { display: none; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .rating-row { grid-template-columns: 78px 1fr; }
  .rating-row .partner { grid-column: 2; justify-self: start; }
}

@media print {
  .toolbar, .card-actions, .btn { display: none !important; }
  body { background: #fff; }
  .card { break-inside: avoid; box-shadow: none; }
}
