﻿/* Design tokens from the design template: clean white, Rubik, warm accents, no frames */
:root {
  --bg: #FFFFFF;
  --side: #F6F6F7;
  --line: #ECECEE;
  --line-2: #F0F0F2;
  --fill: #F1F1F3;
  --fill-2: #E7E7EA;
  --ink: #1C1C1F;
  --ink-2: #5F5F66;
  --ink-3: #6E6E75;
  --accent: #A9502C;
  --accent-soft: #F6EDEA;
  --sage: #56684A;
  --navy: #2F4A6D;
  --rose: #9A4A63;
  --radius: 8px;
  /* The app's own color: a strong blue, like Google's buttons (the studio's color stays on its logo) */
  --primary: #1A73E8;
  --primary-dark: #1558B0;
  --primary-soft: #E8F0FE;
  /* Light gray for the other buttons (like Google's) */
  --btn-gray: #F1F3F4;
  --btn-gray-2: #E8EAED;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
[hidden] { display: none !important; }

/* Buttons */
.btn {
  min-height: 44px; padding: 0 18px; border: none; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn-dark { background: var(--primary); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; background: var(--primary-dark); }
.btn-accent { background: var(--primary); color: #FFFFFF; }
.btn-accent:hover { color: #FFFFFF; background: var(--primary-dark); }
.btn-soft { background: var(--btn-gray); color: var(--ink); }
.btn-soft:hover, .btn-link:hover { background: var(--btn-gray-2); color: var(--ink); }
.btn-link { background: var(--btn-gray); padding: 0 12px; color: var(--ink); }
.btn.small, .btn-link.small { min-height: 34px; padding: 0 12px; font-size: 13.5px; gap: 6px; }
.btn.small .btn-ico { width: 18px; height: 18px; }
.btn:disabled { opacity: .5; cursor: default; }

/* Every button: a soft shadow so it stands out, lifts a little on hover, presses in and darkens on tap */
.btn, .filter-chip, .chip, .subtabs button, .loc-region, .loc-year-btn, .swatch, .timing-choice button, .trust-btn {
  box-shadow: 0 1px 2px rgba(60, 64, 67, .18), 0 2px 6px rgba(60, 64, 67, .10);
  transition: transform .12s ease, box-shadow .15s ease, filter .12s ease, background-color .15s ease;
}
.btn:hover:not(:disabled), .filter-chip:hover, .chip:hover, .subtabs button:hover, .loc-region:hover, .loc-year-btn:hover, .swatch:hover, .timing-choice button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(60, 64, 67, .2), 0 4px 12px rgba(60, 64, 67, .12);
}
.btn:active:not(:disabled), .filter-chip:active, .chip:active, .subtabs button:active, .loc-region:active, .loc-year-btn:active, .swatch:active,
.timing-choice button:active, .loc-stepper button:active, .tabs button:active, .nav a:active, .nav button:active, .pin-res:active, .loc-tile:active {
  transform: scale(.96);
  filter: brightness(.9);
  box-shadow: 0 1px 2px rgba(60, 64, 67, .2);
}
.nav a, .nav button, .tabs button, .loc-stepper button, .pin-res, .loc-tile { transition: transform .12s ease, filter .12s ease, background-color .15s ease; }
/* A small colorful icon on each button (added by shared.js from the words on the button) */
.btn-ico { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.btn-soft .btn-ico, .btn-link .btn-ico { background: transparent; width: 18px; }
.subtabs .btn-ico { width: 24px; height: 24px; margin-inline-end: 2px; }
.subtabs button { display: inline-flex; align-items: center; gap: 6px; }

/* Fields that go together sit in one box with a colored frame (like the forms on gov.il) */
.form-box { border: 1.5px solid #C6DAFC; border-radius: 14px; padding: 22px 22px 24px; background: #FFFFFF; display: flex; flex-direction: column; gap: 16px; }
.form-box[hidden] { display: none; }
.box-title { font-size: 19px; font-weight: 700; color: var(--primary-dark); margin: 0; }
.box-hint { margin: -8px 0 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.form-box .field label, .form-box .label { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.form-box .input, .form-box .select, .form-box .textarea { min-height: 48px; }
@media (max-width: 600px) { .form-box { padding: 18px 14px 20px; } }

/* One step at a time: numbered steps on top, the current one in blue, done ones with a check */
.steps-form { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }
.wz-head { display: flex; flex-direction: column; gap: 10px; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.wz-steps li { flex: 1 1 0; position: relative; min-width: 0; }
.wz-steps li + li::before { content: ''; position: absolute; top: 16px; right: -50%; left: 50%; height: 2px; background: #DADCE0; }
.wz-steps li.is-current::before, .wz-steps li.is-done::before { background: var(--primary); }
.wz-steps button { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 2px; border: none; background: none; font: inherit; color: var(--ink-3); cursor: pointer; }
.wz-n { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #C4C7C5; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: transform .12s ease; }
.wz-t { font-size: 13px; line-height: 1.3; text-align: center; }
.wz-steps li.is-current .wz-n { background: var(--primary); border-color: var(--primary); color: #FFFFFF; box-shadow: 0 0 0 4px var(--primary-soft); }
.wz-steps li.is-current .wz-t { color: var(--primary-dark); font-weight: 700; }
.wz-steps li.is-done .wz-n { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); }
.wz-steps li.is-done .wz-t { color: var(--ink-2); }
.wz-steps button:active .wz-n { transform: scale(.92); }
.wz-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 520px) { .wz-t { display: none; } }

/* The client's folder */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px 20px; margin: 0; }
.info-grid div { display: flex; flex-direction: column; gap: 2px; }
.info-grid dt { font-size: 13px; color: var(--ink-2); }
.info-grid dd { margin: 0; font-size: 16px; font-weight: 600; }
.info-grid a { color: var(--primary-dark); text-decoration: none; }
.stage-track { list-style: none; margin: 0; padding: 0; display: flex; }
.stage-track li { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-3); }
.stage-track li + li::before { content: ''; position: absolute; top: 16px; right: -50%; left: 50%; height: 2px; background: #DADCE0; }
.stage-track li.is-done::before, .stage-track li.is-current::before { background: var(--primary); }
.stage-track .wz-n { position: relative; z-index: 1; }
.stage-track li.is-current .wz-n { background: var(--primary); border-color: var(--primary); color: #FFFFFF; box-shadow: 0 0 0 4px var(--primary-soft); }
.stage-track li.is-current .wz-t { color: var(--primary-dark); font-weight: 700; }
.stage-track li.is-done .wz-n { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); }
@media (max-width: 700px) { .stage-track .wz-t { display: none; } .stage-track .wz-n { width: 28px; height: 28px; font-size: 12px; } .stage-track li + li::before { top: 13px; } }
.stage-now { margin: 0; font-size: 15.5px; line-height: 1.6; }
.client-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.action-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px solid #C6DAFC; border-radius: 14px; background: #FFFFFF; text-align: right; cursor: pointer; font: inherit; color: var(--ink); box-shadow: 0 1px 2px rgba(60, 64, 67, .18), 0 2px 6px rgba(60, 64, 67, .10); transition: transform .12s ease, box-shadow .15s ease, filter .12s ease; }
.action-card:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(60, 64, 67, .2), 0 4px 12px rgba(60, 64, 67, .12); }
.action-card:active { transform: scale(.98); filter: brightness(.95); }
.action-card.is-open { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.action-card > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.action-card b { font-size: 16.5px; }
.action-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.gal-drop { min-height: 150px; }
.wm-box { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: var(--side); }
.wm-side { display: flex; flex-direction: column; gap: 8px; }
.wm-preview { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--fill); }
@media (max-width: 600px) { .wm-box { grid-template-columns: 1fr; } }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.gal-tile { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--fill) center / cover no-repeat; }
.gal-tile.is-picked { box-shadow: 0 0 0 3px var(--primary); }
.gal-del { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #D93025; font-size: 17px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; }
.gal-tile:hover .gal-del, .gal-del:focus-visible { opacity: 1; }
@media (hover: none) { .gal-del { opacity: 1; } }
.pay-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pay-summary div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--side); }
.pay-summary b { font-size: 19px; }
.pay-summary .is-left { background: #FEF7E0; }
.pay-summary .is-left b { color: #B06000; }
.pay-summary .is-paid { background: var(--primary-soft); }
.pay-add { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; align-items: end; }
.pay-add-go { display: flex; }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pay-list li { display: grid; grid-template-columns: 110px 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .pay-summary { grid-template-columns: 1fr; } .pay-list li { grid-template-columns: 1fr 1fr; } }

/* Leads */
.nav-badge { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #EA4335; color: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.lead-intro { background: var(--primary-soft); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.lead-intro p { margin: 0; line-height: 1.7; font-size: 15.5px; }
.fu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fu-chip { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; font-size: 14px; }
.fu-chip button { width: 28px; height: 28px; border: none; border-radius: 50%; background: none; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.fu-chip button:hover { background: rgba(26, 115, 232, .15); }
.fu-add { display: inline-flex; align-items: center; gap: 6px; }
.fu-add .input { width: 96px; min-height: 36px; padding: 4px 10px; }
/* Round icon-only buttons (call, WhatsApp, email...) */
.icon-btn { width: 40px; height: 40px; flex: none; border: none; border-radius: 50%; background: var(--btn-gray); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; position: relative;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .18), 0 2px 6px rgba(60, 64, 67, .10); transition: transform .12s ease, filter .12s ease, box-shadow .15s ease, background-color .15s ease; }
.icon-btn:hover { transform: translateY(-1px); background: var(--btn-gray-2); }
.icon-btn:active { transform: scale(.92); filter: brightness(.9); }
.icon-btn-primary { background: var(--primary); }
.icon-btn-primary:hover { background: var(--primary-dark); }
.icon-btn[aria-expanded="true"] { background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary); }
.icon-btn.is-filled::after { content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #34A853; border: 2px solid #FFFFFF; }
.wa-toggle { filter: grayscale(1); opacity: .6; }
.wa-toggle[aria-pressed="true"] { filter: none; opacity: 1; background: #E7F8EE; box-shadow: 0 0 0 2px #25D366; }
/* The new-lead row: icons that open a short field to their left, one open text field, and "+" */
.lead-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lq-item { display: inline-flex; align-items: center; gap: 6px; }
.lq-input { width: 170px; min-height: 40px; padding: 6px 12px; animation: lq-open .15s ease; }
.lq-input[type="date"] { width: 160px; }
@keyframes lq-open { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.lq-wants { flex: 1 1 220px; min-height: 44px; }
/* Each lead: one short line, edited in place */
.lead-head, .lead-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 64px minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.lead-head { padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lead-rows { display: flex; flex-direction: column; gap: 8px; }
.lead-row { padding: 8px 12px; border: 1px solid #DADCE0; border-radius: 12px; background: #FFFFFF; }
.lead-row.is-due { border-color: #F28B82; box-shadow: 0 0 0 3px #FCE8E6; }
.lr-in { min-height: 36px; padding: 4px 8px; font-size: 14px; background: transparent; border-radius: 6px; }
.lr-in:hover { background: var(--fill); }
.lr-name { font-weight: 600; }
.lr-phone { display: flex; align-items: center; gap: 2px; min-width: 0; }
.lr-phone .lr-in { direction: ltr; text-align: right; }
.wa-mark { display: inline-flex; flex: none; }
.lr-date { font-size: 13.5px; color: var(--ink-2); }
.lead-next { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.lead-row.is-due .lead-next b { color: #D93025; }
.lead-actions { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: flex-end; }
.lead-actions .icon-btn { width: 36px; height: 36px; }
.lead-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 8px 0 2px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }
.lead-more label { display: inline-flex; align-items: center; gap: 6px; }
.lead-more .lr-in { background: var(--fill); width: 200px; }
.fu-dots { display: flex; gap: 4px; }
.fu-dots span { width: 9px; height: 9px; border-radius: 50%; background: #DADCE0; }
.fu-dots span.done { background: var(--primary); }
.fu-dots span.due { background: #EA4335; }
@media (max-width: 1100px) {
  .lead-head { display: none; }
  .lead-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .lead-row .lead-wants, .lead-row .lead-next, .lead-row .lead-actions { grid-column: 1 / -1; }
  .lead-actions { justify-content: flex-start; flex-wrap: wrap; }
}

/* Forms: filled fields, no outlines */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.input, .select, .textarea {
  min-height: 44px; padding: 10px 12px; border: none; border-radius: var(--radius);
  background: var(--fill); width: 100%;
}
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; background: #FFFFFF; }
.textarea { resize: vertical; min-height: 88px; }

.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.error { color: #B3261E; font-size: 14px; }
.note { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* App shell: side menu + main + side panel */
.shell { min-height: 100vh; display: flex; flex-wrap: wrap; align-items: stretch; }
.sidebar {
  flex: 1 1 220px; max-width: 100%; background: var(--side); padding: 28px 16px;
  display: flex; flex-direction: column; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-name { font-weight: 700; font-size: 17px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  color: var(--ink-2); text-decoration: none; border: none; background: transparent; border-radius: 10px; cursor: pointer; text-align: right;
}
.nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.nav a.active svg { stroke: var(--primary); }
.nav-group-title { padding: 0 12px 6px; font-size: 12px; color: #76767C; }
.filter-btn { justify-content: space-between; font-size: 14px; }
.filter-btn.active { background: var(--fill-2); color: var(--ink); }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }

.content { flex: 999 1 640px; min-width: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.main { flex: 999 1 520px; min-width: 0; padding: 40px 40px 64px; display: flex; flex-direction: column; gap: 40px; }
.panel { flex: 1 1 300px; min-width: 0; background: var(--side); padding: 40px 28px; display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 700px) {
  .main { padding: 28px 18px 48px; }
  .panel { padding: 28px 18px; }
}

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-title { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

/* Week strip */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-radius: 14px; }
.day.today { background: var(--primary-soft); }
.day-name { font-size: 12.5px; color: var(--ink-3); }
.day.today .day-name { color: var(--primary); font-weight: 600; }
.day-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }
.day.today .day-num { background: var(--primary); color: #FFFFFF; }
.dots { display: flex; gap: 3px; height: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; }

/* Task list */
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.task-time { width: 48px; flex: none; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-2); }
.task-icon { width: 38px; height: 38px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; }
.task-body { flex: 1 1 auto; min-width: 0; }
.task-title { display: block; font-weight: 600; font-size: 16px; }
.task-detail { display: block; color: var(--ink-2); font-size: 14px; }
.empty { padding: 28px 0; color: var(--ink-2); }

/* Client folders */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 40px 28px; }
.folder { display: flex; flex-direction: column; min-width: 0; }
.folder > a { text-decoration: none; color: var(--ink); display: block; }
.folder-tab { width: 38%; height: 10px; border-radius: 5px 5px 0 0; }
.folder-cover { position: relative; aspect-ratio: 4 / 3; border-radius: 0 4px 4px 4px; overflow: hidden; }
.folder-cover .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; }
.folder-cover .subject { position: absolute; bottom: 20%; left: 40%; width: 20%; height: 50%; border-radius: 40% 40% 8% 8%; }
.tag { position: absolute; top: 8px; right: 8px; background: var(--primary); color: #FFFFFF; border-radius: 3px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.who { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #FFFFFF; }
.who-name { font-weight: 600; font-size: 16px; display: block; line-height: 1.3; }
.who-type { font-size: 13px; color: var(--ink-2); display: block; line-height: 1.3; }
.rows { margin: 8px 0 0; display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.row dt { flex: none; width: 62px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.row dd { margin: 0; font-size: 14px; min-width: 0; }
.mark { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* Detail lists */
.dl { margin: 0; }
.dl > div { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.dl > div:last-child { border-bottom: 1px solid var(--line); }
.dl dt { width: 96px; flex: none; color: var(--ink-2); font-size: 14px; }
.dl dd { margin: 0; }

/* Stage timeline (side element) */
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { display: flex; gap: 14px; }
.tl-rail { flex: none; width: 18px; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: none; box-sizing: border-box; }
.tl-line { flex: 1 1 auto; width: 2px; min-height: 10px; }
.tl-body { flex: 1 1 auto; min-width: 0; padding-bottom: 14px; }

/* Forms layout */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Auth screen */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 360px; background: var(--side); padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.auth-main { flex: 1 1 420px; padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.tabs { display: flex; gap: 20px; box-shadow: inset 0 -1px 0 var(--line); }
.tabs button { min-height: 40px; padding: 0; border: none; background: transparent; cursor: pointer; color: var(--ink-3); }
.tabs button.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }

/* Multi-select chips (setup steps, settings) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border: none; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; background: var(--fill); color: var(--ink); font-weight: 500;
}
.chip[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.chip .chip-check { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; }
.chip[aria-pressed="true"] .chip-check { background: var(--primary); }

/* Setup progress */
.setup-progress { display: flex; flex-direction: column; gap: 8px; }
.setup-bars { display: grid; gap: 4px; }
.setup-bars span { height: 4px; border-radius: 2px; background: var(--fill-2); }
.setup-bars span.on { background: var(--primary); }

/* Logo upload: checkerboard shows transparent areas */
.logo-drop { display: block; cursor: pointer; }
.logo-preview {
  height: 180px; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 20px;
  background-color: #FFFFFF;
  background-image: linear-gradient(45deg, #EDEDF0 25%, transparent 25%), linear-gradient(-45deg, #EDEDF0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #EDEDF0 75%), linear-gradient(-45deg, transparent 75%, #EDEDF0 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-drop:focus-within .logo-preview, .logo-drop:hover .logo-preview { outline: 2px solid var(--primary); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo in headers */
.brand-logo { max-height: 56px; max-width: 170px; object-fit: contain; display: block; }
/* Logo centered at the top, with a slightly prominent divider under it */
.brand.has-logo { justify-content: center; padding: 4px 8px 22px; border-bottom: 2px solid var(--fill-2); }
.logo-head { display: flex; justify-content: center; padding-bottom: 20px; margin-bottom: 4px; border-bottom: 2px solid var(--fill-2); }

/* Price lists: designed template */
.pl-designed { max-width: 420px; background: #FFFFFF; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(28, 28, 31, .08); }
.pl-hero { position: relative; aspect-ratio: 4 / 3; background: #D3C6B1 center / cover no-repeat; }
.pl-logo { position: absolute; top: 14px; right: 14px; background: #FFFFFF; border-radius: 999px; padding: 6px 14px; display: flex; align-items: center; }
.pl-logo img { max-height: 30px; max-width: 120px; object-fit: contain; display: block; }
.pl-logo-text { font-weight: 700; font-size: 14px; }
.pl-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pl-kicker { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.pl-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.pl-packages { list-style: none; margin: 6px 0 0; padding: 0; }
.pl-packages li { padding: 12px 0; border-top: 1px solid var(--line); }
.pl-pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pl-pack-name { font-weight: 600; font-size: 16px; }
.pl-pack-price { font-weight: 700; font-size: 18px; color: var(--accent); white-space: nowrap; }
.pl-pack-inc { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.pl-notes { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.pl-foot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* Price lists: plain (text + photo) and uploaded file */
.pl-plain { max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.pl-plain img { width: 100%; border-radius: 10px; }
.pl-plain ul { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; }
.pl-file { margin: 0; max-width: 520px; }
.pl-file img { width: 100%; border-radius: 10px; display: block; }

/* Price list editor */
.pack-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; align-items: end; padding: 14px; border: 1px solid #DADCE0; border-radius: 12px; background: #FAFBFC; }
.pack-row [data-pack="includes"] { min-width: 0; }
@media (max-width: 760px) { .pack-row { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--fill); cursor: pointer; }
.choice label:has(input:checked) { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.pl-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.pl-thumb { width: 64px; height: 64px; border-radius: 8px; background: var(--fill) center / cover no-repeat; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-2); }
.coverage { display: flex; flex-wrap: wrap; gap: 8px; }
.coverage span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; background: var(--fill); }
.coverage span.ok { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }

/* Library: existing photos, click to remove */
.lib-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-photo { width: 84px; height: 84px; border: none; border-radius: 8px; background: var(--fill) center / cover no-repeat; cursor: pointer; position: relative; padding: 0; }
.lib-photo span { position: absolute; inset: auto 0 0 0; background: rgba(28, 28, 31, .7); color: #FFFFFF; font-size: 12px; padding: 3px 0; border-radius: 0 0 8px 8px; }
.lib-photo[aria-pressed="false"] { opacity: .35; }
.lib-photo[aria-pressed="false"] span { background: var(--rose); }
.tabs { flex-wrap: wrap; }

/* Locations board */
.loc-board { display: flex; flex-direction: column; gap: 14px; }
.loc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.loc-upload { cursor: pointer; }
.loc-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loc-filters .field { min-width: 170px; }
.loc-missing-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: 14px; }
.loc-grid-wrap { position: relative; }
.loc-lines { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
/* Big tiles by default; they shrink only as the number of locations grows */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 22px 18px; }
.loc-grid.size-m { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.loc-grid.size-s { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 18px 14px; }
.loc-grid.size-xs { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 14px 10px; }
.loc-grid.size-l .loc-name { font-size: 16px; }
.loc-grid.size-l .loc-meta { font-size: 14px; }
.loc-tile { width: 100%; display: flex; flex-direction: column; gap: 3px; padding: 0; border: none; background: transparent; text-align: right; cursor: pointer; color: var(--ink); }
.loc-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 8px; background: var(--fill) center / cover no-repeat; }
.loc-tile.is-selected .loc-img, .loc-tile.is-editing .loc-img { box-shadow: 0 0 0 3px var(--primary); }
.loc-check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }
.loc-tile.is-selected .loc-check { background: var(--primary); color: #FFFFFF; }
.loc-order { position: absolute; top: 8px; left: 8px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.loc-count { position: absolute; bottom: 6px; left: 6px; background: rgba(28, 28, 31, .7); color: #FFFFFF; border-radius: 999px; padding: 0 8px; font-size: 12px; }
.loc-name { font-weight: 600; font-size: 14px; }
.loc-meta { font-size: 12.5px; color: var(--ink-2); }
.loc-miss { font-size: 12px; color: var(--rose); font-weight: 600; }
.loc-routes { display: flex; gap: 4px; }
.route-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.route-swatch { width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; }
.route-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--ink); }
.loc-route-panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--side); }
.route-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.route-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.loc-actionbar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--primary-dark); color: #FFFFFF; box-shadow: 0 10px 30px rgba(26, 115, 232, .3); }
.loc-actionbar .select { width: auto; min-width: 160px; }
.loc-actionbar .btn-link { color: #FFFFFF; }
.loc-editor { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 12px; background: var(--side); }
.season-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.season-row .select { width: auto; }
.season-row .input { width: auto; }
.lib-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #FFFFFF; color: var(--ink-2); font-size: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.lib-photo-add span { position: static; background: transparent; color: var(--ink-2); padding: 0; }

/* Category sub-tabs (one category at a time) */
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.subtabs button { min-height: 42px; padding: 0 16px 0 10px; border: none; border-radius: 999px; background: var(--btn-gray); color: var(--ink); cursor: pointer; font-weight: 500; }
.import-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); max-height: 380px; }
.pop.pop-import { width: 540px; }
.subtabs button[aria-selected="true"] { background: var(--primary); color: #FFFFFF; font-weight: 600; }

/* Locations: big upload square shown when there are no locations yet */
.loc-drop {
  min-height: 300px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--side); color: var(--ink); cursor: pointer; text-align: center; padding: 24px;
  box-shadow: inset 0 0 0 2px var(--fill-2);
}
.loc-drop svg { width: 44px; height: 44px; color: var(--primary); }
.loc-drop:hover, .loc-drop.is-over, .loc-drop:focus-within { box-shadow: inset 0 0 0 2px var(--primary); background: var(--primary-soft); }
.loc-drop-title { font-size: 22px; font-weight: 700; }
.loc-drop-sub { font-size: 14px; color: var(--ink-2); max-width: 320px; }
.loc-add { align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 8px; background: var(--side); color: var(--ink-2); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 2px var(--fill-2); }
.loc-add svg { color: var(--primary); }
.loc-add.is-over, .loc-add:hover { box-shadow: inset 0 0 0 2px var(--primary); }

/* Locations: stages */
/* The order of the stages: plain words with an arrow between them; the current one gets a thin blue outline */
.loc-stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.loc-stepper li { display: flex; align-items: center; }
.loc-stepper li + li::before { content: '←'; color: var(--ink-3); margin: 0 6px; font-size: 16px; }
.loc-stepper button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1.5px solid transparent; border-radius: 999px; background: none; color: var(--ink-3); cursor: pointer; font-size: 14.5px; }
.loc-stepper .loc-step-n { display: none; }
.loc-stepper button.done { color: var(--ink-2); }
.loc-stepper button:hover { color: var(--ink); }
.loc-stepper button[aria-current="step"] { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.loc-guide { margin: 0; font-size: 15px; color: var(--ink); }
.loc-regions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.loc-region { min-height: 44px; padding: 0 16px; border: none; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; cursor: pointer; }
.loc-region .small { color: var(--ink-2); font-weight: 400; }
.loc-region-new { background: var(--primary); color: #FFFFFF; }
.loc-region.is-viewing { background: #FFFFFF; box-shadow: 0 0 0 2px var(--primary); }
.loc-region-form { display: flex; gap: 8px; align-items: center; }
.loc-region-form .input { width: 180px; }
.loc-cell { position: relative; }
.loc-check-btn { position: absolute; top: 0; right: 0; width: 48px; height: 48px; border: none; background: transparent; padding: 8px; cursor: pointer; display: flex; align-items: flex-start; justify-content: flex-end; z-index: 3; }
.loc-check-btn .loc-check { position: static; box-shadow: 0 0 0 2px rgba(28, 28, 31, .25); }
.loc-check-btn[aria-pressed="true"] .loc-check { background: var(--primary); color: #FFFFFF; box-shadow: none; }

/* "All year" tick in the corner of a location (seasons stage) */
.loc-year-btn { position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 10px 3px 4px; border: none; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 4px rgba(28, 28, 31, .18); }
.loc-year-btn .loc-check { position: static; width: 22px; height: 22px; font-size: 13px; box-shadow: inset 0 0 0 2px rgba(28, 28, 31, .25); }
.loc-year-btn[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; }
.loc-year-btn[aria-pressed="true"] .loc-check { background: #FFFFFF; color: var(--primary); box-shadow: none; }

/* Small pop-up next to a location: calendar, hours */
.pop-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(28, 28, 31, .12); }
.pop { position: fixed; z-index: 40; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow: auto; background: #FFFFFF; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 40px rgba(28, 28, 31, .22); }
.pop.is-placed { transform: none; }
.pop-wide { width: 340px; }

/* Outfit inspiration per location */
.outfit-thumbs { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; }
.outfit-thumbs span { width: 38px; height: 38px; border-radius: 6px; background: var(--fill) center / cover no-repeat; box-shadow: 0 0 0 2px #FFFFFF; }
.outfit-thumbs .more { display: flex; align-items: center; justify-content: center; background: rgba(28, 28, 31, .7); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.loc-grid.size-xs .outfit-thumbs span, .loc-grid.size-s .outfit-thumbs span { width: 28px; height: 28px; }
.outfit-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.color-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(28, 28, 31, .2); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 8px; border: none; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 13px; cursor: pointer; }
.swatch[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; font-weight: 600; }
.lib-photo.pick { width: 64px; height: 64px; }
.lib-photo.pick[aria-pressed="false"] { opacity: 1; }
.lib-photo.pick[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--primary); }
.lib-photo .pick-check { inset: 4px 4px auto auto; width: 20px; height: 20px; padding: 0; border-radius: 50%; display: none; align-items: center; justify-content: center; background: var(--primary); font-size: 12px; font-weight: 700; }
.lib-photo.pick[aria-pressed="true"] .pick-check { display: flex; }
/* Accessories and clothes: filters and "where it fits" ticks */
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { min-height: 36px; padding: 0 14px; border: none; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: 14px; cursor: pointer; }
.filter-chip span { opacity: .7; font-size: 12.5px; }
.filter-chip[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; font-weight: 600; }
.fit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px 6px; max-height: 260px; overflow: auto; padding: 3px; }
.fit-grid[hidden] { display: none; }
.fit-tile { display: flex; flex-direction: column; gap: 2px; padding: 0; border: none; background: transparent; cursor: pointer; text-align: center; min-width: 0; }
.fit-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 7px; background: var(--fill) center / cover no-repeat; }
.fit-check { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 2px rgba(28, 28, 31, .25); font-size: 11px; font-weight: 700; color: transparent; display: flex; align-items: center; justify-content: center; }
.fit-tile[aria-pressed="true"] .fit-img { box-shadow: 0 0 0 3px var(--primary); }
.fit-tile[aria-pressed="true"] .fit-check { background: var(--primary); color: #FFFFFF; box-shadow: none; }
.fit-name { font-size: 10.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.choice-thumbs { display: inline-flex; gap: 4px; margin-inline-end: 8px; vertical-align: middle; }
.choice-thumbs span { width: 34px; height: 34px; border-radius: 6px; background: var(--fill) center / cover no-repeat; }

/* Client: her choices */
.choose-body { display: flex; flex-direction: column; gap: 12px; }
.choose-q { margin: 0; font-size: 17px; font-weight: 600; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 14px 12px; }
.pick-badge { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.trust-btn { align-self: flex-start; margin-top: 4px; }
.trust-done { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.route-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--side); }
.route-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.route-chain .stop { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; }
.route-chain .stop-img { width: 60px; height: 60px; border-radius: 8px; background: var(--fill) center / cover no-repeat; }
.route-chain i { font-style: normal; color: var(--ink-3); }
.route-card .btn { align-self: flex-start; }
.fav-row { display: flex; align-items: center; gap: 12px; }
.fav-img { width: 84px; height: 84px; border-radius: 10px; background: var(--fill) center / cover no-repeat; flex: none; box-shadow: 0 0 0 3px var(--primary); }
.outfit-note { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--side); }

.ward { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.ward-title { font-size: 17px; font-weight: 600; margin: 0; }
.pop .lib-photo { width: 64px; height: 64px; }
.pop .textarea { min-height: 70px; }
.pop-title { font-size: 15px; font-weight: 600; margin: 0; }
.pop .actions { gap: 6px; }
@media (max-width: 599px) {
  .pop { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-width: none; border-radius: 16px 16px 0 0; padding: 16px; }
}

/* Calendar: Gregorian / Hebrew (compact) */
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cal-toggle { display: inline-flex; background: var(--fill); border-radius: 999px; padding: 3px; flex: none; }
.cal-toggle button { min-height: 30px; padding: 0 10px; border: none; border-radius: 999px; background: transparent; cursor: pointer; color: var(--ink-2); font-size: 13px; }
.cal-toggle button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(28, 28, 31, .12); }
.cal-nav { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cal-nav .btn-link { font-size: 20px; min-width: 40px; min-height: 36px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-wd { text-align: center; font-size: 11px; color: var(--ink-3); padding: 2px 0; }
.cal-day { min-height: 36px; padding: 0; border: none; border-radius: 7px; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.cal-day:hover { background: var(--fill); }
.cal-day.in { background: var(--primary-soft); }
.cal-day.edge { background: var(--primary); color: #FFFFFF; }
.cal-day.edge .cal-small { color: rgba(255, 255, 255, .85); }
.cal-big { font-size: 13.5px; font-weight: 600; }
.cal-small { font-size: 9.5px; color: var(--ink-3); }

/* Routes or hours */
.timing-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.timing-choice button { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: right; padding: 14px 16px; border: none; border-radius: 12px; background: var(--side); color: var(--ink); cursor: pointer; font-size: 14px; }
.timing-choice button b { font-size: 16px; }
.timing-choice button span { color: var(--ink-2); }
.timing-choice button[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; }
.timing-choice button[aria-pressed="true"] span { color: rgba(255, 255, 255, .8); }
.tp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tp-label { min-width: 62px; font-weight: 600; font-size: 14px; }
.tp .select, .tp .input { width: auto; min-width: 0; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.pop .tp-label { flex-basis: 100%; }
.pop .tp { gap: 4px 6px; }
.tp-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tp-preview { margin: 0; font-size: 13px; color: var(--primary-dark); font-weight: 600; }
.route-edit { flex-basis: 100%; display: flex; flex-direction: column; gap: 8px; padding: 10px 0 4px; }

/* Map stage: where each location is, and how long the shoot takes there */
.map-settings { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.map-setting { display: flex; flex-direction: column; gap: 6px; }
.avg-min-field { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.avg-min-field .input { width: 90px; min-height: 40px; padding: 4px 10px; font-weight: 600; }
.loc-map { height: 190px; border-radius: 12px; overflow: hidden; background: var(--fill); isolation: isolate; direction: ltr; }
.loc-map[hidden] { display: none; }
.loc-meta.is-missing { color: var(--primary); font-weight: 600; }
.pop.pop-map { width: 460px; }
.pin-search { display: flex; gap: 6px; }
.pin-search .input { flex: 1; min-width: 0; }
.pop.pop-map > * { flex-shrink: 0; }   /* the pop-up scrolls; the map keeps its height */
.pin-results { display: flex; flex-direction: column; border-radius: 10px; background: var(--side); overflow: hidden; max-height: 190px; overflow-y: auto; }
.pin-results:empty { display: none; }
.pin-res { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; border: none; background: none; text-align: right; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.pin-res + .pin-res { border-top: 1px solid rgba(28, 28, 31, .06); }
.pin-res:hover, .pin-res:focus-visible { background: var(--fill); }
.pin-res b { font-weight: 600; }
.pin-res span { font-size: 12.5px; color: var(--ink-3); }
.pin-map { height: 260px; border-radius: 10px; overflow: hidden; background: var(--fill); isolation: isolate; direction: ltr; }
.pin-map[hidden] { display: none; }
.min-other { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.min-other[hidden] { display: none; }
.min-other .input { width: 84px; min-height: 36px; padding: 0 10px; }
/* Client card lines: each one a strong color that follows the state (like status columns) */
.srows { margin: 10px 0 0; display: flex; flex-direction: column; gap: 5px; }
.srow { display: grid; grid-template-columns: 58px 1fr; align-items: stretch; border-radius: 8px; overflow: hidden; background: var(--c); color: #FFFFFF; min-height: 32px; box-shadow: 0 1px 2px rgba(60, 64, 67, .2); }
.srow dt { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .18); }
.srow dd { margin: 0; display: flex; align-items: center; padding: 4px 10px; font-size: 13.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-line { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 500; cursor: pointer; align-self: flex-start; }
.check-line input { width: 18px; height: 18px; accent-color: var(--primary); }
/* Editing rules per kind of shoot */
.work-table { display: flex; flex-direction: column; gap: 6px; }
.work-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 8px; align-items: center; }
.work-head span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.work-row .input { min-height: 38px; padding: 0 10px; }
.work-type { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 8px; background: var(--c); color: #FFFFFF; font-weight: 600; font-size: 14px; }
@media (max-width: 560px) { .work-row { grid-template-columns: 1fr 1fr; } .work-head { display: none; } }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.choice-lines { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.choice-lines > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: start; padding-top: 10px; border-top: 1px solid var(--line-2); }
.choice-lines > div:first-child { border-top: none; padding-top: 0; }
.choice-lines dt { font-weight: 600; color: var(--primary-dark); font-size: 14px; }
.choice-lines dd { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.own-clothes { display: flex; flex-wrap: wrap; gap: 6px; }
.own-clothes a { width: 64px; height: 64px; border-radius: 8px; background: var(--fill) center / cover no-repeat; display: block; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: var(--c); color: #FFFFFF; font-weight: 600; font-size: 14px; }
.gal-bar { height: 8px; border-radius: 999px; background: #E8EAED; overflow: hidden; }
.gal-bar[hidden] { display: none; }
.gal-bar span { display: block; height: 100%; width: 0; background: #1E8E3E; border-radius: 999px; transition: width .3s ease; }
.min-other .min-unit { width: auto; min-height: 36px; padding: 0 28px 0 10px; }
/* More hour ranges for one place (e.g. around sunrise and again before sunset) */
.hours-range { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--side); }
.hours-range-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14px; }
.hours-range-del { border: none; background: none; color: #D93025; cursor: pointer; font-size: 13px; font-weight: 600; min-height: 30px; }
#pin-extra { display: flex; flex-direction: column; gap: 8px; }
.pin-hours { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pin-hours[hidden] { display: none; }
.pin-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-dark); border: 3px solid #FFFFFF; box-shadow: 0 2px 6px rgba(28, 28, 31, .35); }
.pin-icon.is-on { background: #EA4335; }
.leaflet-tooltip { font-family: inherit; font-size: 12.5px; }

/* In-page "are you sure?" */
.ask-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(28, 28, 31, .35); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ask { width: 100%; max-width: 340px; background: #FFFFFF; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 40px rgba(28, 28, 31, .25); }
.ask p { margin: 0; font-size: 16px; font-weight: 600; }

/* Toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #FFFFFF; padding: 10px 18px; border-radius: var(--radius); font-size: 14px; z-index: 50; }

/* Setup notice when keys are missing */
.setup { max-width: 560px; margin: 80px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 12px; }
.setup code { background: var(--fill); padding: 2px 6px; border-radius: 4px; }

/* Buttons sit closer around their words (same text size, less empty space) */
.btn { min-height: 38px; padding: 0 13px; gap: 6px; }
.btn.small, .btn-link.small { min-height: 30px; padding: 0 10px; gap: 5px; }
.btn-link { padding: 0 10px; }
.btn-ico { width: 20px; height: 20px; }
.btn.small .btn-ico { width: 16px; height: 16px; }
.chip { min-height: 36px; padding: 0 12px; gap: 6px; }
.filter-chip { min-height: 30px; padding: 0 11px; }
.swatch { min-height: 30px; padding: 0 9px 0 7px; }
.subtabs button { min-height: 36px; padding: 0 12px 0 8px; }
.subtabs .btn-ico { width: 22px; height: 22px; }
.loc-region { min-height: 36px; padding: 0 13px; }
.icon-btn { width: 36px; height: 36px; }
.lead-actions .icon-btn { width: 32px; height: 32px; }
.timing-choice button { padding: 10px 12px; }
.fu-chip { min-height: 32px; padding: 0 2px 0 12px; }
.fu-chip button { width: 24px; height: 24px; }
.region-view-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* A set's other colors ("קיים גם בצבעים") */
.variants { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: var(--side); }
.variants[hidden] { display: none; }
.var-list { display: flex; flex-direction: column; gap: 8px; }
.var-row { display: flex; align-items: center; gap: 8px; }
.var-photo { width: 52px; height: 52px; flex: none; border-radius: 8px; background: #FFFFFF center / cover no-repeat; border: 1.5px dashed #C4C7C5; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-3); }
.var-photo svg { width: 20px; height: 20px; }
.var-del { margin-inline-start: auto; width: 28px; height: 28px; border: none; border-radius: 50%; background: #FFFFFF; color: #D93025; font-size: 17px; line-height: 1; cursor: pointer; }
.set-variants { display: inline-flex; gap: 3px; align-items: center; }
.set-variants .color-dot { width: 12px; height: 12px; }
/* Pop-ups scroll inside themselves: their parts keep their size (so the pop-up can scroll),
   the scroll stays in the pop-up, and the page behind does not move while one is open. */
.pop > * { flex-shrink: 0; }
.pop { overscroll-behavior: contain; }
/* A pop-up beside a tile is part of the page: it scrolls with the page (no scroll inside it). */
.pop.is-placed { position: absolute; max-height: none; overflow: visible; }
body:has(.ask-backdrop) { overflow: hidden; }
.swatch-more { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--primary-soft), 0 1px 2px rgba(60, 64, 67, .18); color: var(--primary-dark); font-weight: 600; }
.swatches[hidden] { display: none; }
.var-other { display: flex; align-items: center; gap: 8px; }
.var-other .input { flex: 1; min-height: 36px; padding: 4px 10px; background: #FFFFFF; }
.color-dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.age-other { display: inline-flex; align-items: center; gap: 4px; }
.age-other .input { width: 90px; min-height: 30px; padding: 2px 8px; }

/* Editing region / category names */
.group-edit { display: inline-flex; align-items: center; gap: 2px; padding: 2px 2px 2px 4px; border-radius: 999px; background: var(--primary-soft); }
.group-edit .input { width: 150px; min-height: 32px; padding: 2px 12px; border-radius: 999px; background: #FFFFFF; font-weight: 600; }
.group-del { width: 28px; height: 28px; border: none; border-radius: 50%; background: none; color: #D93025; font-size: 18px; line-height: 1; cursor: pointer; }
.group-del:hover { background: #FCE8E6; }
/* Client: the colors a set comes in, under its photo */
.set-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.set-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.var-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); cursor: pointer; padding: 0; transition: transform .12s ease; }
.var-dot:hover { transform: scale(1.1); }
.var-dot.is-on { box-shadow: 0 0 0 2px var(--primary); }
.var-dot.is-liked::after { content: ''; display: block; }
.var-tag { position: absolute; bottom: 8px; right: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; color: var(--ink); }
/* Color circles under a set: a little bigger, and easy to tap */
.set-colors { gap: 8px; padding: 0 2px; }
.var-dot { width: 27px; height: 27px; border-width: 2.5px; }
.loc-cell .set-colors { margin-top: 6px; }
/* ---------- Today: a page torn out of a spiral notebook ---------- */
.notebook { max-width: 780px; width: 100%; margin: 6px auto 30px; filter: drop-shadow(0 18px 22px rgba(60, 64, 67, .22)) drop-shadow(0 2px 3px rgba(60, 64, 67, .12)); }
.paper {
  position: relative; background-color: #FFFEF7; padding: 44px 26px 26px 26px; border-radius: 3px 3px 6px 6px;
  transform: rotate(-.4deg);
  /* the red margin line on the reading side */
  background-image: linear-gradient(to left, transparent 0 70px, #EA4335 70px 72px, transparent 72px);
}
/* torn holes along the top, where it came off the spiral */
.paper-holes { position: absolute; top: 0; left: 0; right: 0; height: 22px; background: radial-gradient(circle at 50% 0, var(--bg) 0 9px, transparent 9.5px) 8px 0 / 36px 22px repeat-x; }
.paper-holes::after { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(to left, #E3E0D4 0 4px, transparent 4px 8px); }
.paper-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 0 0 10px 0; padding-inline-start: 62px; border-bottom: 2px solid #8AB4F8; }
.paper-date { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.paper-title { margin: 2px 0 0; font-family: 'Amatic SC', 'Rubik', sans-serif; font-size: 46px; line-height: 1; color: #1558B0; }
.paper-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 150px; }
.paper-score-n { font-family: 'Amatic SC', 'Rubik', sans-serif; font-size: 38px; line-height: 1; color: #1E8E3E; }
.paper-score-n small { font-size: 26px; color: var(--ink-3); }
.paper-bar { width: 150px; height: 8px; border-radius: 999px; background: #E8EAED; overflow: hidden; }
.paper-bar span { display: block; height: 100%; background: linear-gradient(to left, #34A853, #1E8E3E); border-radius: 999px; transition: width .4s ease; }
.paper-time { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.paper-cheer { margin: 12px 0 0; padding: 10px 14px; padding-inline-start: 62px; background: #FEF7E0; border-radius: 6px; color: #B06000; font-weight: 600; transform: rotate(.6deg); box-shadow: 0 3px 8px rgba(176, 96, 0, .15); animation: cheer-in .35s ease; }
@keyframes cheer-in { from { opacity: 0; transform: translateY(-6px) rotate(.6deg); } to { opacity: 1; } }
.paper-list { list-style: none; margin: 0; padding: 0; }
.paper-item { display: grid; grid-template-columns: 54px 36px 26px 1fr auto; align-items: center; gap: 8px; min-height: 58px; padding: 8px 0; border-bottom: 1.5px solid #C6DAFC; }
.paper-n { font-family: 'Amatic SC', 'Rubik', sans-serif; font-size: 30px; line-height: 1; color: #EA4335; text-align: center; }
.paper-check { width: 30px; height: 30px; border-radius: 7px; border: 2.5px solid #5F6368; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: transform .12s ease, border-color .12s ease; }
.paper-check:hover { transform: scale(1.08); border-color: #1A73E8; }
.paper-check:active { transform: scale(.92); }
.paper-check[aria-pressed="true"] { border-color: #1E8E3E; background: #E6F4EA; }
.paper-ico { display: inline-flex; }
.paper-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.paper-task { font-size: 17px; font-weight: 600; color: var(--ink); position: relative; align-self: flex-start; }
.paper-detail { font-size: 13.5px; color: var(--ink-2); }
.paper-acts { display: flex; gap: 4px; }
.paper-item.is-late .paper-task { color: #C5221F; }
/* ticked: crossed out with a pen line, faded */
.paper-item.is-done .paper-task, .paper-item.is-done .paper-detail { color: #9AA0A6; }
.paper-item.is-done .paper-task::after { content: ''; position: absolute; right: -4px; left: -4px; top: 52%; height: 2.5px; background: #EA4335; border-radius: 2px; transform: rotate(-1.2deg); animation: strike .35s ease forwards; transform-origin: right; }
@keyframes strike { from { transform: scaleX(0) rotate(-1.2deg); } to { transform: scaleX(1) rotate(-1.2deg); } }
.paper-empty { margin: 0; padding: 18px 0; padding-inline-start: 62px; font-size: 17px; border-bottom: 1.5px solid #C6DAFC; }
.paper-lines { height: 116px; background: repeating-linear-gradient(to bottom, transparent 0 56.5px, #C6DAFC 56.5px 58px); }
.paper-word { margin: 12px 0 0; padding-inline-start: 62px; font-size: 16px; line-height: 1.6; color: #1558B0; }
.paper-foot { margin: 14px 0 0; padding-inline-start: 62px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 640px) {
  .paper { padding: 40px 12px 18px; background-image: linear-gradient(to left, transparent 0 40px, #EA4335 40px 42px, transparent 42px); transform: none; }
  .paper-head, .paper-empty, .paper-word, .paper-foot, .paper-cheer { padding-inline-start: 46px; }
  .paper-item { grid-template-columns: 36px 32px 1fr; }
  .paper-ico { display: none; }
  .paper-acts { grid-column: 3; }
  .paper-title { font-size: 38px; }
}

/* ---------- The month calendar ---------- */
.month { display: flex; flex-direction: column; gap: 12px; }
.month-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.month-title { font-size: 24px; font-weight: 700; min-width: 170px; text-align: center; }
.month-count { margin-inline-start: auto; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.month-dn { text-align: center; font-weight: 700; font-size: 13px; color: #FFFFFF; background: #1A73E8; border-radius: 8px; padding: 6px 0; }
.month-day { min-height: 104px; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #DADCE0; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.month-day.is-out { background: var(--side); opacity: .55; }
.month-day.is-sat { background: #F8F9FA; }
.month-day.is-today { box-shadow: inset 0 0 0 2.5px #1A73E8; }
.month-num { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.month-num b { font-size: 16px; }
.month-day.is-today .month-num b { color: #FFFFFF; background: #1A73E8; border-radius: 999px; padding: 0 8px; }
.month-num small { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.month-shoot { display: block; background: var(--c); color: #FFFFFF; border-radius: 6px; padding: 3px 6px; font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(60, 64, 67, .25); transition: transform .12s ease, filter .12s ease; }
.month-shoot:hover { color: #FFFFFF; transform: translateY(-1px); filter: brightness(.92); }
.ms-time { font-weight: 400; margin-inline-end: 4px; opacity: .9; }
.month-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-2); }
.month-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.next-shoots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.next-shoots a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.ns-date { background: var(--c); color: #FFFFFF; border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) {
  .month-grid { gap: 3px; }
  .month-day { min-height: 70px; padding: 3px; }
  .month-shoot { font-size: 10.5px; padding: 2px 3px; }
  .month-num small { display: none; }
}
/* Client: photos of her own clothes */
.own-box { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #C6DAFC; }
.own-item { position: relative; width: 84px; height: 84px; border-radius: 10px; background: var(--fill) center / cover no-repeat; }
.own-del { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #D93025; font-size: 16px; line-height: 1; cursor: pointer; }
.own-add { width: 84px; height: 84px; border-radius: 10px; border: 2px dashed #8AB4F8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: #1558B0; font-size: 12px; font-weight: 600; text-align: center; }
.own-add span:first-child { font-size: 26px; line-height: 1; }
/* Calendar: the client's name on its own line, under the time */
.month-shoot { white-space: normal; line-height: 1.25; overflow-wrap: anywhere; }
.ms-time { display: block; font-size: 11px; }
/* Clients: the status menu opens under "לקוחות" */
.nav-sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px; padding-inline-start: 22px; border-inline-start: 2px solid var(--primary-soft); margin-inline-start: 18px; }
.nav-sub .filter-btn { min-height: 36px; font-size: 13.5px; }
.nav-sub .filter-btn.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }

/* Today: the daily sentence, on a strip of the same notebook paper */
.paper-quote { max-width: 620px; width: 100%; margin: -6px auto 30px; filter: drop-shadow(0 12px 16px rgba(60, 64, 67, .2)) drop-shadow(0 1px 2px rgba(60, 64, 67, .1)); }
.paper-quote .paper { padding: 18px 26px 16px; transform: rotate(.7deg); background-image: linear-gradient(to left, transparent 0 70px, #EA4335 70px 72px, transparent 72px), repeating-linear-gradient(to bottom, transparent 0 46.5px, #C6DAFC 46.5px 48px); }
.paper-quote p { margin: 0; padding-inline-start: 62px; font-family: 'Amatic SC', 'Rubik', sans-serif; font-size: 34px; line-height: 48px; color: #1558B0; }
.paper-quote .q-label { display: block; font-family: 'Rubik', sans-serif; font-size: 12.5px; line-height: 1.4; color: #EA4335; font-weight: 600; padding-inline-start: 62px; }
@media (max-width: 640px) {
  .paper-quote .paper { padding: 14px 12px; transform: none; background-image: linear-gradient(to left, transparent 0 40px, #EA4335 40px 42px, transparent 42px), repeating-linear-gradient(to bottom, transparent 0 40.5px, #C6DAFC 40.5px 42px); }
  .paper-quote p, .paper-quote .q-label { padding-inline-start: 46px; }
  .paper-quote p { font-size: 28px; line-height: 42px; }
}
/* ---------- Culling (on her computer, before uploading) ---------- */
body.cull-open { overflow: hidden; }
.cull { position: fixed; inset: 0; z-index: 50; background: #1F2023; color: #E8EAED; display: flex; flex-direction: column; font-family: 'Rubik', sans-serif; }
.cull-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cull-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #2B2C30; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.cull-title { font-size: 16px; margin-inline-end: 6px; }
.cull-count { font-size: 14px; color: #BDC1C6; }
.cull-count b { color: #81C995; font-size: 16px; }
.cull-modes { display: inline-flex; background: #3C4043; border-radius: 999px; padding: 3px; }
.cull-modes button { border: none; background: none; color: #E8EAED; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13.5px; }
.cull-modes button[aria-pressed="true"] { background: #8AB4F8; color: #1F2023; }
.cull-btn { border: none; background: #3C4043; color: #E8EAED; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: filter .12s ease, transform .12s ease; }
.cull-btn:hover { filter: brightness(1.2); }
.cull-btn:active { transform: scale(.97); }
.cull-btn.small { padding: 5px 10px; font-size: 12.5px; }
.cull-btn:disabled { opacity: .45; cursor: default; }
.cull-primary { background: #1A73E8; color: #FFFFFF; }
.cull-x { margin-inline-start: auto; width: 38px; height: 38px; border: none; border-radius: 50%; background: #3C4043; color: #E8EAED; font-size: 22px; cursor: pointer; }
.cull-start { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; overflow: auto; }
.cull-drop { width: min(620px, 100%); min-height: 220px; border: 2.5px dashed #8AB4F8; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; cursor: pointer; color: #BDC1C6; }
.cull-drop.is-over { background: rgba(138, 180, 248, .12); }
.cull-drop-title { font-size: 22px; font-weight: 700; color: #FFFFFF; margin: 0; }
.cull-folder { position: relative; }
.cull-note { margin: 0; max-width: 680px; text-align: center; color: #BDC1C6; font-size: 14px; line-height: 1.6; }
.cull-body .cull-note, .cull-summary { text-align: start; max-width: none; }
.cull-warn { color: #F28B82; }
.cull-progress { width: min(560px, 100%); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.cull-pbar { width: 100%; height: 10px; border-radius: 999px; background: #3C4043; overflow: hidden; }
.cull-pbar span { display: block; height: 100%; background: #81C995; transition: width .3s ease; }
.cull-body { flex: 1; overflow: auto; padding: 16px 20px 40px; display: flex; flex-direction: column; gap: 14px; }
.cull-summary { margin: 0; font-weight: 600; color: #FFFFFF; }
.cull-group { background: #2B2C30; border-radius: 12px; padding: 10px 12px; }
.cull-ghead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cull-ghead h3 { font-size: 14px; color: #BDC1C6; font-weight: 600; }
.cull-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.cull-row.is-wrap { flex-wrap: wrap; overflow: visible; }
.cull-blurry summary { cursor: pointer; color: #F28B82; font-weight: 600; font-size: 14px; padding: 4px 0 8px; }
.cull-tile { position: relative; flex: none; width: 190px; aspect-ratio: 3 / 2; border: none; padding: 0; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .12s ease, transform .12s ease; }
.cull-tile:hover { transform: translateY(-1px); }
.cull-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cull-tile.is-picked { outline-color: #34A853; }
.cull-check { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 2px solid #FFFFFF; color: transparent; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.is-picked > .cull-check { background: #34A853; border-color: #34A853; color: #FFFFFF; }
.cull-rank { position: absolute; top: 6px; right: 6px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #FFFFFF; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cull-rank.is-best { background: #F9AB00; color: #202124; }
.cull-flags { position: absolute; bottom: 5px; right: 5px; left: 5px; display: flex; flex-wrap: wrap; gap: 3px; }
.cull-flags i { font-style: normal; font-size: 11px; font-weight: 600; background: rgba(217, 48, 37, .9); color: #FFFFFF; border-radius: 4px; padding: 1px 6px; }
/* Big view (like Bridge) */
.cull-big { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cull-stage { flex: 1; min-height: 0; display: grid; gap: 8px; padding: 10px; }
.cull-fig { margin: 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 6px; border-radius: 10px; padding: 4px; outline: 3px solid transparent; }
.cull-fig.is-cur { outline-color: #8AB4F8; }
.cull-fig.is-picked { outline-color: #34A853; }
.cull-imgbox { flex: 1; min-height: 0; overflow: hidden; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #000; }
.cull-imgbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .08s ease; user-select: none; }
.cull-imgbox img.is-zoom { transform: scale(3); cursor: zoom-out; transition: none; }
.cull-fig figcaption { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #BDC1C6; min-width: 0; }
.cull-fig figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cull-pick { flex: none; border: none; border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; background: #3C4043; color: #FFFFFF; }
.cull-pick[aria-pressed="true"] { background: #34A853; }
.cull-hint { margin: 0; padding: 0 12px 6px; font-size: 12.5px; color: #9AA0A6; text-align: center; }
.cull-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 12px; background: #2B2C30; }
.cull-thumb { position: relative; flex: none; width: 96px; height: 68px; border: none; padding: 0; border-radius: 6px; overflow: hidden; background: #000; cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; opacity: .75; }
.cull-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cull-thumb.is-cur { outline-color: #8AB4F8; opacity: 1; }
.cull-thumb.is-cmp { opacity: 1; outline-color: #FDD663; }
.cull-thumb.is-picked { opacity: 1; }
.cull-thumb.is-picked:not(.is-cur):not(.is-cmp) { outline-color: #34A853; }
.cull-thumb .cull-check { width: 18px; height: 18px; font-size: 11px; top: 4px; left: 4px; }
.gal-cull { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #1A73E8; color: #FFFFFF; flex-wrap: wrap; }
.gal-cull p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 1.5; }
.gal-cull b { font-size: 16px; }
.gal-cull .btn { background: #FFFFFF; color: #1558B0; }
.gal-cull .btn:hover { background: #E8F0FE; color: #1558B0; }
@media (max-width: 640px) { .cull-tile { width: 140px; } .cull-stage { grid-template-columns: 1fr !important; } }
.cull-facenote { color: #FDD663; font-weight: 600; }
.cull-flags i.is-up { background: rgba(30, 142, 62, .95); }
.cull-start .cull-note b { color: #FFFFFF; }
.cull-tile.is-blurry img { opacity: .55; }
.cull-tile.is-blurry.is-picked img { opacity: 1; }
.gal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gal-head[hidden] { display: none; }
/* Culling: take a photo out, and photos appearing while they are read */
.cull-cell { position: relative; flex: none; }
.cull-rm { position: absolute; bottom: 6px; left: 6px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #FFFFFF; font-size: 17px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s ease; }
.cull-cell:hover .cull-rm, .cull-rm:focus-visible { opacity: 1; }
.cull-rm:hover { background: #D93025; }
@media (hover: none) { .cull-rm { opacity: .85; } }
.cull-reading { justify-content: flex-start; padding-top: 48px; }
.cull-live { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 900px; }
.cull-live img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; animation: cheer-in .3s ease; }
/* Culling, new flow: steps, squares with a tick circle, enlarging, ranking */
.cull-steph { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: #2B2C30; }
.cull-steph h2 { font-size: 22px; color: #FFFFFF; margin: 0; }
.cull-steph p { margin: 0; color: #BDC1C6; font-size: 14.5px; line-height: 1.55; }
.cull-steph p b { color: #FFFFFF; }
.cull-stepn { align-self: flex-start; background: #8AB4F8; color: #1F2023; border-radius: 999px; padding: 2px 12px; font-size: 12.5px; font-weight: 700; }
.cull-stepacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.cull-squares { gap: 10px; }
.cull-cell .cull-tile { width: 190px; aspect-ratio: 1 / 1; cursor: zoom-in; }
.cull-cell .cull-tile img { object-fit: cover; }
.cull-cell.is-picked .cull-tile { outline-color: #34A853; }
.cull-checkbtn { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #FFFFFF; background: rgba(0, 0, 0, .45); color: transparent; font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: transform .12s ease; }
.cull-checkbtn:hover { transform: scale(1.1); }
.cull-checkbtn[aria-pressed="true"] { background: #34A853; border-color: #34A853; color: #FFFFFF; }
.cull-bridgebar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px 0; color: #E8EAED; font-size: 14px; }
.cull-bridgebar .muted { color: #9AA0A6; }
.cull-imgbox { position: relative; }
.cull-place { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .7); color: #FFFFFF; font-weight: 800; font-size: 18px; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cull-place.is-best { background: #F9AB00; color: #202124; }
.cull-zoom { position: absolute; inset: 0; z-index: 5; background: rgba(15, 15, 17, .97); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 50px 10px 10px; gap: 8px; }
.cull-zoom-box { grid-column: 2; grid-row: 1; height: 100%; min-height: 0; }
.cull-zoom-box img { max-height: 100%; }
.cull-zoom-x { position: absolute; top: 10px; left: 14px; }
.cull-znav { width: 52px; height: 52px; border-radius: 50%; border: none; background: #3C4043; color: #FFFFFF; font-size: 30px; cursor: pointer; justify-self: center; }
.cull-znav:disabled { opacity: .3; cursor: default; }
.cull-znav.is-prev { grid-column: 1; grid-row: 1; }
.cull-znav.is-next { grid-column: 3; grid-row: 1; }
.cull-zoom-bar { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; color: #E8EAED; font-size: 14px; }
.cull-zoom-bar .muted { color: #9AA0A6; font-size: 12.5px; }
@media (max-width: 640px) { .cull-cell .cull-tile { width: 150px; } .cull-zoom { grid-template-columns: 44px 1fr 44px; } }
/* Culling: tick circle on the strip, why a photo ranks where it does, saving and folder access */
.cull-thumbcell { position: relative; flex: none; }
.cull-stripck { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #FFFFFF; background: rgba(0, 0, 0, .5); color: transparent; font-size: 12px; font-weight: 800; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cull-stripck:hover { transform: scale(1.12); }
.cull-stripck[aria-pressed="true"] { background: #34A853; border-color: #34A853; color: #FFFFFF; }
.cull-why { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.cull-why i { font-style: normal; font-size: 11.5px; font-weight: 600; background: rgba(217, 48, 37, .9); color: #FFFFFF; border-radius: 4px; padding: 1px 7px; }
.cull-why i.is-good { background: rgba(30, 142, 62, .95); }
.cull-fname { color: #9AA0A6; font-size: 12px; }
.cull-fig figcaption { flex-wrap: wrap; }
.cull-saved { color: #81C995; font-size: 12.5px; font-weight: 600; margin-inline-start: auto; }
.cull-access { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 12px 0; padding: 10px 14px; border-radius: 10px; background: #3C4043; color: #FDD663; font-size: 14px; font-weight: 600; }
.cull-access[hidden] { display: none; }
button.cull-drop { background: transparent; font: inherit; }
/* Culling: the magnifier zooms by the wheel (scale set from the script) */
.cull-imgbox img.is-zoom { transition: none; }
.cull-softnote { color: #F6AEA9; }
/* Bridge view: the top part changes alone; a soft fade when moving between photos */
.cull-top { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cull-top .cull-stage { flex: 1; }
.cull-fig .cull-imgbox img { animation: cull-fade .12s ease; }
@keyframes cull-fade { from { opacity: .55; } to { opacity: 1; } }
.cull-strip { scroll-behavior: smooth; }
/* Calendar: her own tasks for a date */
.month-day { cursor: pointer; }
.month-day:hover { box-shadow: inset 0 0 0 1.5px #1A73E8; }
.month-day.is-sel { box-shadow: inset 0 0 0 2.5px #9334E6; background: #F8F3FE; }
button.month-num { width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: start; }
.month-plus { margin-inline-start: auto; width: 20px; height: 20px; line-height: 18px; text-align: center; border-radius: 999px; color: #9334E6; font-weight: 700; font-size: 16px; opacity: 0; transition: opacity .12s ease; }
.month-day:hover .month-plus, .month-day.is-sel .month-plus, button.month-num:focus-visible .month-plus { opacity: 1; background: #EFE3FD; }
.month-item { display: block; background: #F3E8FD; color: #6A1B9A; border-inline-start: 3px solid #9334E6; border-radius: 5px; padding: 2px 6px; font-size: 12px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.month-item.is-done { text-decoration: line-through; opacity: .6; }
.month-legend i.month-legend-item { background: #F3E8FD; box-shadow: inset 3px 0 0 #9334E6; }
.cal-daybox { border-top: 4px solid #9334E6; }
.cal-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-items li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #FAF6FE; border-radius: 10px; }
.cal-items li .check-line { flex: 1; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.cal-items li.is-done span { text-decoration: line-through; color: var(--ink-3); }
.cal-add { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-add .input { flex: 1 1 220px; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .month-item { font-size: 10px; padding: 1px 3px; } .month-plus { display: none; } }

/* ---------- client galleries (choosing, finished photos), also the photographer's preview ---------- */
.gv-section { padding: 28px 20px 0; }
.gv-title { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.gv-preview { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #FEF7E0; color: #7A4F01; font-weight: 600; font-size: 14px; }
.gv-pickbar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 14px; margin: 0 0 8px; background: rgba(255, 255, 255, .96); border-radius: 14px; box-shadow: 0 1px 2px rgba(60, 64, 67, .2), 0 2px 8px rgba(60, 64, 67, .08); backdrop-filter: blur(6px); }
.gv-pickinfo { display: flex; flex-direction: column; gap: 4px; min-width: 160px; flex: 1 1 180px; }
.gv-picknum { font-size: 17px; }
.gv-pickhint { font-size: 13px; color: var(--ink-2); }
.gv-pbar { display: block; height: 6px; border-radius: 99px; background: #E8EAED; overflow: hidden; max-width: 260px; }
.gv-pbar > span { display: block; height: 100%; background: var(--primary, #1A73E8); border-radius: 99px; transition: width .2s ease; }
.gv-pbar.is-over > span { background: #E37400; }
.gv-pickacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gv-seg { display: inline-flex; background: #F1F3F4; border-radius: 999px; padding: 3px; gap: 2px; }
.gv-seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 32px; }
.gv-seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 64, 67, .25); }
.gv-sent { margin: 0 0 10px; color: #137333; font-weight: 600; font-size: 14px; }
.gv-help { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); }
.gv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.gv-grid.is-album { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gv-cell { position: relative; border-radius: 8px; overflow: hidden; background: #F1F3F4; }
.gv-tile { display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; background: #E8EAED center / cover no-repeat; cursor: zoom-in; }
.gv-grid.is-album .gv-tile { aspect-ratio: 3 / 2; background-size: contain; background-color: #F8F9FA; }
.gv-cell.is-picked { box-shadow: 0 0 0 3px #E91E63; }
.gv-heart { position: absolute; bottom: 6px; inset-inline-start: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #BDC1C6; font-size: 19px; line-height: 34px; text-align: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .12s ease, background .12s ease; }
.gv-heart:hover { transform: scale(1.08); color: #E91E63; }
.gv-heart[aria-pressed="true"] { background: #E91E63; color: #FFFFFF; }
.gv-part { margin: 0 0 22px; }
.gv-parthead { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.gv-parttitle { margin: 0; font-size: 17px; }
.gv-dl { display: flex; flex-wrap: wrap; gap: 8px; }
.gv-dlnote { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); min-height: 0; }
.gv-dlnote:empty { display: none; }
.gv-noscroll { overflow: hidden; }
.gv-box { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 12, 14, .96); display: flex; flex-direction: column; color: #FFFFFF; }
.gv-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.gv-count { font-size: 14px; opacity: .8; min-width: 60px; }
.gv-tools { flex: 1; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gv-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: inherit; font-size: 18px; cursor: pointer; }
.gv-sheet .gv-x { background: #F1F3F4; color: var(--ink); }
.gv-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 8px 12px; }
.gv-img { max-width: calc(100% - 110px); max-height: 100%; object-fit: contain; user-select: none; border-radius: 4px; }
.gv-nav { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #FFFFFF; font-size: 30px; line-height: 42px; cursor: pointer; }
.gv-nav:disabled { opacity: .2; cursor: default; }
.gv-bigpick { border: 0; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; background: #FFFFFF; color: #202124; cursor: pointer; min-height: 40px; }
.gv-bigpick.is-on { background: #E91E63; color: #FFFFFF; }
.gv-bottom { text-align: center; padding: 0 0 14px; font-size: 14px; opacity: .85; }
.gv-sheet { position: fixed; inset: 0; z-index: 900; background: rgba(32, 33, 36, .55); display: flex; align-items: stretch; justify-content: center; padding: 16px; }
.gv-sheet-in { background: var(--bg, #FFFFFF); border-radius: 18px; width: min(1100px, 100%); display: flex; flex-direction: column; overflow: hidden; }
.gv-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #E8EAED; }
.gv-sheet-head h2 { margin: 0; font-size: 18px; }
.gv-sheet-body { overflow: auto; padding: 16px 18px 24px; flex: 1; }
@media (max-width: 640px) {
  .gv-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .gv-grid.is-album { grid-template-columns: 1fr; }
  .gv-img { max-width: 100%; }
  .gv-nav { display: none; }
  .gv-sheet { padding: 0; }
  .gv-sheet-in { border-radius: 0; }
  .gv-heart { width: 30px; height: 30px; line-height: 30px; font-size: 16px; bottom: 4px; }
}

/* Culling: all the photos as plain small squares (no groups), with a tick and ↻ */
.cull-steph.is-slim { padding: 8px 14px; }
.cull-steph.is-slim p { font-size: 13.5px; }
.cull-flat { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; }
.cull-flat .cull-cell .cull-tile { width: 100%; border-radius: 6px; }
.cull-cell.is-plain .cull-checkbtn { width: 26px; height: 26px; font-size: 14px; top: 5px; left: 5px; }
.cull-rot { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #FFFFFF; font-size: 16px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s ease; padding: 0; }
.cull-cell:hover .cull-rot, .cull-rot:focus-visible { opacity: 1; }
.cull-rot:hover { background: #1A73E8; }
.cull-cell.is-plain .cull-rm { bottom: 5px; left: 5px; width: 24px; height: 24px; }
@media (hover: none) { .cull-rot { opacity: .85; } }
@media (max-width: 640px) { .cull-flat { grid-template-columns: repeat(3, 1fr); gap: 3px; } }

/* The client's folder: how many photos were edited, quick to update */
.edit-count { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #F1F8F3; }
.edit-count-label { font-weight: 700; }
.edit-count-in { width: 76px; text-align: center; font-weight: 700; font-size: 17px; }
.edit-count-of { color: var(--ink-2); font-size: 14px; }

/* Finished photos and album */
.ready-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.gal-grid.is-album { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gal-tile.is-wide { aspect-ratio: 3 / 2; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #F1F3F4; }
.full-badge { position: absolute; top: 5px; right: 5px; background: rgba(32, 33, 36, .75); color: #FFFFFF; font-size: 10.5px; font-weight: 700; border-radius: 4px; padding: 1px 5px; }
.storage-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.gal-head { flex-wrap: wrap; }

/* Leads, compact: each lead in one short line (settings behind the gear) */
.page-head .fu-gear { width: 38px; height: 38px; }
.fu-gear.is-on { background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary); }
.fu-box { animation: lq-open .15s ease; }
.fu-why summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--primary-dark); }
.fu-why p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.lead-head, .lead-row { grid-template-columns: minmax(90px, 1fr) minmax(100px, 1fr) 58px minmax(0, 1.6fr) minmax(86px, .9fr) auto; gap: 6px; }
.lead-head { font-size: 12px; white-space: nowrap; }
.lead-rows { gap: 4px; }
.lead-row { padding: 3px 8px; border-radius: 10px; min-height: 44px; }
.lead-row.is-due { box-shadow: 0 0 0 2px #FCE8E6; }
.lr-in { min-height: 30px; padding: 2px 6px; font-size: 13.5px; }
.lr-date { font-size: 12.5px; }
.lead-next { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 12.5px; line-height: 1.2; }
.lead-actions { gap: 3px; }
.lead-actions .icon-btn { width: 28px; height: 28px; box-shadow: none; }
.lead-actions .icon-btn svg { width: 15px; height: 15px; }
.fu-dots span { width: 7px; height: 7px; }
.icon-btn.small-ico { width: 28px; height: 28px; vertical-align: middle; box-shadow: none; margin-inline-start: 4px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .lead-head { display: grid; }
  .lead-row { grid-template-columns: minmax(90px, 1fr) minmax(100px, 1fr) 58px minmax(0, 1.6fr) minmax(86px, .9fr) auto; }
  .lead-row .lead-wants, .lead-row .lead-next, .lead-row .lead-actions { grid-column: auto; }
  .lead-actions { justify-content: flex-end; flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  .lead-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; padding: 6px 8px; }
}

/* Brand color: many colors, and her own */
.accent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.accent-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 10px; background: var(--fill); cursor: pointer; font-size: 14px; }
.accent-opt:has(input:checked) { box-shadow: 0 0 0 2px var(--accent, #1A73E8); background: #FFFFFF; font-weight: 600; }
.accent-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.accent-own input[type="color"] { width: 28px; height: 28px; padding: 0; border: none; border-radius: 50%; background: none; cursor: pointer; }
.accent-own input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.accent-own input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }

/* Today: the choice of look */
.today-style { display: flex; justify-content: center; gap: 2px; margin: 0 auto 10px; background: #F1F3F4; border-radius: 999px; padding: 3px; width: max-content; }
.today-style button { border: 0; background: transparent; border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 32px; }
.today-style button[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 64, 67, .25); }

/* The notebook page, tighter: narrow ruled lines, everything on its line */
.notebook:not(.is-plain) .paper { padding: 40px 22px 20px; background-image: linear-gradient(to left, transparent 0 58px, #EA4335 58px 60px, transparent 60px); transform: rotate(-.25deg); }
.notebook:not(.is-plain) .paper-head { padding-inline-start: 50px; padding-bottom: 6px; }
.notebook:not(.is-plain) .paper-title { font-size: 38px; }
.notebook:not(.is-plain) .paper-score-n { font-size: 30px; }
.notebook:not(.is-plain) .paper-item { grid-template-columns: 44px 26px 20px 1fr auto; gap: 6px; min-height: 36px; padding: 3px 0; border-bottom: 1px solid #C6DAFC; }
.notebook:not(.is-plain) .paper-n { font-size: 22px; }
.notebook:not(.is-plain) .paper-check { width: 22px; height: 22px; border-radius: 5px; border-width: 2px; }
.notebook:not(.is-plain) .paper-check svg { width: 15px; height: 15px; }
.notebook:not(.is-plain) .paper-ico svg { width: 15px; height: 15px; }
.notebook:not(.is-plain) .paper-text { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.notebook:not(.is-plain) .paper-task { font-size: 15px; }
.notebook:not(.is-plain) .paper-detail { font-size: 12.5px; }
.notebook:not(.is-plain) .paper-acts .icon-btn { width: 28px; height: 28px; box-shadow: none; background: transparent; }
.notebook:not(.is-plain) .paper-acts .icon-btn:hover { background: #E8F0FE; }
.notebook:not(.is-plain) .paper-lines { height: 72px; background: repeating-linear-gradient(to bottom, transparent 0 35px, #C6DAFC 35px 36px); }
.notebook:not(.is-plain) .paper-empty, .notebook:not(.is-plain) .paper-word, .notebook:not(.is-plain) .paper-foot, .notebook:not(.is-plain) .paper-cheer { padding-inline-start: 50px; }
.notebook:not(.is-plain) .paper-word { font-size: 14.5px; }
.paper-quote:not(.is-plain) .paper { padding: 14px 22px 12px; background-image: linear-gradient(to left, transparent 0 58px, #EA4335 58px 60px, transparent 60px), repeating-linear-gradient(to bottom, transparent 0 37px, #C6DAFC 37px 38px); }
.paper-quote:not(.is-plain) p { padding-inline-start: 50px; font-size: 28px; line-height: 38px; }
.paper-quote:not(.is-plain) .q-label { padding-inline-start: 50px; }

/* Today in the regular look of the site: a clean card */
.notebook.is-plain { filter: none; max-width: 820px; }
.notebook.is-plain .paper { transform: none; background: #FFFFFF; background-image: none; border-radius: 18px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(60, 64, 67, .18), 0 2px 10px rgba(60, 64, 67, .08); }
.notebook.is-plain .paper-holes, .notebook.is-plain .paper-lines { display: none; }
.notebook.is-plain .paper-head { padding-inline-start: 0; border-bottom: 1px solid #E8EAED; padding-bottom: 12px; }
.notebook.is-plain .paper-title { font-family: 'Rubik', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); }
.notebook.is-plain .paper-score-n { font-family: 'Rubik', sans-serif; font-size: 24px; font-weight: 700; }
.notebook.is-plain .paper-score-n small { font-size: 16px; }
.notebook.is-plain .paper-item { grid-template-columns: 26px 28px 22px 1fr auto; gap: 8px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid #F1F3F4; }
.notebook.is-plain .paper-n { font-family: 'Rubik', sans-serif; font-size: 13px; color: var(--ink-3); }
.notebook.is-plain .paper-check { width: 24px; height: 24px; border-radius: 50%; border-width: 2px; border-color: #BDC1C6; }
.notebook.is-plain .paper-check[aria-pressed="true"] { background: #1E8E3E; border-color: #1E8E3E; }
.notebook.is-plain .paper-check[aria-pressed="true"] svg { stroke: #FFFFFF; }
.notebook.is-plain .paper-check svg { width: 15px; height: 15px; }
.notebook.is-plain .paper-task { font-size: 15.5px; }
.notebook.is-plain .paper-item.is-done .paper-task::after { height: 1.5px; background: #9AA0A6; transform: none; }
.notebook.is-plain .paper-empty, .notebook.is-plain .paper-word, .notebook.is-plain .paper-foot { padding-inline-start: 0; border: 0; }
.notebook.is-plain .paper-cheer { padding-inline-start: 14px; transform: none; box-shadow: none; }
.notebook.is-plain .paper-word { color: var(--ink); font-size: 15px; }
.paper-quote.is-plain { filter: none; max-width: 820px; }
.paper-quote.is-plain .paper { transform: none; background: linear-gradient(135deg, #E8F0FE, #FCE8F3); background-image: linear-gradient(135deg, #E8F0FE, #FCE8F3); border-radius: 18px; padding: 16px 22px; }
.paper-quote.is-plain p { padding-inline-start: 0; font-family: 'Rubik', sans-serif; font-size: 18px; line-height: 1.5; font-weight: 600; color: #1558B0; }
.paper-quote.is-plain .q-label { padding-inline-start: 0; color: #9334E6; }
@media (max-width: 640px) {
  .notebook:not(.is-plain) .paper { padding: 36px 10px 16px; background-image: linear-gradient(to left, transparent 0 38px, #EA4335 38px 40px, transparent 40px); }
  .notebook:not(.is-plain) .paper-head, .notebook:not(.is-plain) .paper-empty, .notebook:not(.is-plain) .paper-word, .notebook:not(.is-plain) .paper-foot, .notebook:not(.is-plain) .paper-cheer { padding-inline-start: 42px; }
  .notebook:not(.is-plain) .paper-item, .notebook.is-plain .paper-item { grid-template-columns: 30px 26px 1fr; }
  .notebook.is-plain .paper-item { grid-template-columns: 22px 26px 1fr; }
  .paper-quote:not(.is-plain) p, .paper-quote:not(.is-plain) .q-label { padding-inline-start: 42px; }
}

/* The photographer's gallery view: big photos, a size choice, the big view on a tap */
.gv-boardbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 8px; }
.gv-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--gv-size, 220px), 1fr)); gap: 8px; }
.gv-bcell { position: relative; border-radius: 10px; overflow: hidden; background: #F1F3F4; }
.gv-bcell .gv-tile { aspect-ratio: 1; }
.gv-board.is-album .gv-bcell .gv-tile { aspect-ratio: 3 / 2; background-size: contain; background-color: #F8F9FA; }
.gv-bcell.is-picked { box-shadow: 0 0 0 3px #E91E63; }
.gv-bheart { position: absolute; bottom: 6px; inset-inline-start: 6px; width: 26px; height: 26px; border-radius: 50%; background: #E91E63; color: #FFFFFF; font-size: 14px; line-height: 26px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); pointer-events: none; }
.gv-bdel { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(32, 33, 36, .7); color: #FFFFFF; font-size: 17px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s ease; }
.gv-bcell:hover .gv-bdel, .gv-bdel:focus-visible { opacity: 1; }
.gv-bdel:hover { background: #D93025; }
@media (hover: none) { .gv-bdel { opacity: .85; } }
.gv-notemark { position: absolute; top: 6px; inset-inline-start: 6px; width: 24px; height: 24px; border-radius: 50%; background: #FBBC04; color: #202124; font-size: 13px; line-height: 24px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.gv-bottom { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gv-bignote { color: #FDD663; font-weight: 600; }
.gv-note { display: flex; flex-direction: column; gap: 4px; width: min(520px, 92vw); font-size: 13px; }
.gv-note input { border: 0; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 14.5px; background: rgba(255, 255, 255, .95); color: #202124; }
@media (max-width: 640px) { .gv-board { grid-template-columns: repeat(2, 1fr); gap: 4px; } }

/* Brand colors: two exact colors, sampled */
.brand-box { display: flex; flex-direction: column; gap: 12px; }
.brand-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.brand-slot { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--fill); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.brand-slot.is-active { background: #FFFFFF; box-shadow: inset 0 0 0 2px #1A73E8, 0 1px 4px rgba(60, 64, 67, .15); }
.brand-sw { width: 54px; height: 54px; flex: none; border: 0; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; }
.brand-sw.is-empty { background: repeating-linear-gradient(45deg, #FFFFFF 0 6px, #F1F3F4 6px 12px); }
.brand-slot-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-hex { width: 120px; min-height: 34px; padding: 4px 10px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; text-transform: uppercase; }
.brand-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-tool { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--fill); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.brand-tool:hover { background: #E8F0FE; }
.brand-tool input[type="color"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.bc-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: repeating-conic-gradient(#F1F3F4 0 25%, #FFFFFF 0 50%) 0 0 / 16px 16px; }
.bc-logo canvas { max-width: 320px; max-height: 160px; cursor: crosshair; border-radius: 6px; }
.brand-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 4px 10px 4px 4px; background: #FFFFFF; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; cursor: pointer; box-shadow: 0 1px 3px rgba(60, 64, 67, .2); }
.brand-chip span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.accent-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--primary-dark, #1558B0); margin: 6px 0; }

/* Brand colors: the swatch opens the color picker; a live preview of the client's screen */
label.brand-sw { position: relative; display: block; overflow: hidden; }
.brand-swpick { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.bc-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bc-prev-label { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.bc-phone { width: 210px; border-radius: 18px; overflow: hidden; background: #FFFFFF; box-shadow: 0 2px 10px rgba(60, 64, 67, .2); border: 1px solid #E8EAED; }
.bc-band { height: 48px; background: linear-gradient(to bottom, color-mix(in srgb, var(--b2) 35%, white), var(--b2)); }
.bc-body { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 14px; }
.bc-avatar { width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--b1); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 0 0 3px #FFFFFF; }
.bc-hello { font-size: 15px; }
.bc-bar { display: block; height: 6px; border-radius: 99px; background: #E8EAED; overflow: hidden; }
.bc-bar span { display: block; width: 62%; height: 100%; background: var(--b1); border-radius: 99px; }
.bc-btns { display: flex; align-items: center; gap: 8px; }
.bc-btn { background: var(--b1); color: #FFFFFF; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }
.bc-heart { width: 28px; height: 28px; border-radius: 50%; background: var(--b1); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.gv-heart[aria-pressed="true"] { background: var(--primary); }
.gv-cell.is-picked { box-shadow: 0 0 0 3px var(--primary); }
.gv-bigpick.is-on { background: var(--primary); }

/* The album as one PDF */
.album-pdf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 14px; background: #F3E8FD; }
.album-pdf-txt { display: flex; flex-direction: column; gap: 3px; min-width: 220px; flex: 1 1 260px; }
.album-pdf-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.gv-pdf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin: 0 0 14px; border-radius: 14px; background: var(--primary-soft); font-weight: 600; }

/* The questionnaire editor (settings) */
.qe-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qe-saved { margin: -6px 0 0; min-height: 1.2em; color: #137333; font-weight: 600; }
.qe-step { gap: 10px; }
.qe-stephead { display: flex; align-items: center; gap: 8px; }
.qe-stepn { flex: none; background: var(--primary); color: #FFFFFF; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; }
.qe-steptitle { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; }
.qe-stephead .icon-btn, .qe-move .icon-btn, .qe-side .icon-btn { width: 32px; height: 32px; box-shadow: none; font-size: 11px; color: var(--ink-2); }
.qe-stephead .icon-btn:disabled, .qe-move .icon-btn:disabled { opacity: .3; cursor: default; transform: none; }
.qe-qs { display: flex; flex-direction: column; gap: 8px; }
.qe-q { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px; border-radius: 12px; background: var(--fill); }
.qe-move { display: flex; flex-direction: column; gap: 4px; }
.qe-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qe-label { font-weight: 600; background: #FFFFFF; }
.qe-hint { min-height: 32px; padding: 4px 10px; font-size: 13px; background: #FFFFFF; }
.qe-opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.qe-optadd { width: 170px; min-height: 32px; padding: 4px 10px; font-size: 13px; background: #FFFFFF; }
.qe-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qe-type { min-height: 36px; padding: 4px 10px; font-size: 13.5px; width: 140px; background-color: #FFFFFF; }
.qe-req { margin: 0; font-size: 13.5px; }
.qe-addq { align-self: flex-start; }
@media (max-width: 640px) {
  .qe-q { grid-template-columns: minmax(0, 1fr); }
  .qe-move { flex-direction: row; }
  .qe-side { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

/* The questionnaire as the client fills it */
.qf { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(60, 64, 67, .18); }
.qf-steps { display: flex; gap: 6px; }
.qf-steps span { width: 28px; height: 28px; border-radius: 50%; background: #E8EAED; color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.qf-steps span.is-cur { background: var(--primary); color: #FFFFFF; }
.qf-steps span.is-done { background: var(--primary-soft); color: var(--primary-dark); }
.qf-title { margin: 0; font-size: 19px; }
.qf-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.qf-field label, .qf-field legend { font-weight: 600; padding: 0; }
.qf-req { color: #D93025; }
.qf-hint { font-size: 13px; color: var(--ink-3); }
.qf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-opt { border: 0; border-radius: 999px; padding: 8px 16px; min-height: 40px; background: var(--fill); font: inherit; font-size: 14.5px; cursor: pointer; }
.qf-opt[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; font-weight: 600; }
.qf-nav { display: flex; justify-content: space-between; gap: 10px; }
.qf-err:empty { display: none; }
.qf-done { align-items: center; text-align: center; font-size: 17px; color: #137333; }

/* Her answers, in the client's folder */
.qa-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 18px; margin: 0; }
.qa-list > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qa-list dt { font-size: 13px; color: var(--ink-2); }
.qa-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Questionnaire: texts to confirm, "other", and which shoots show a question */
.qf-agree { gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.qf-agree-title { font-size: 15px; }
.qf-agree-text { white-space: pre-wrap; font-size: 14px; line-height: 1.65; max-height: 260px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: #FFFFFF; }
.qf-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; min-height: 40px; }
.qf-check input { width: 20px; height: 20px; accent-color: var(--primary); }
.qe-text { background: #FFFFFF; font-size: 14px; line-height: 1.55; resize: vertical; }
.qe-types { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.qe-types-label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.qe-typechip { border: 0; border-radius: 999px; padding: 4px 12px; min-height: 30px; background: #E8EAED; color: var(--ink-3); font: inherit; font-size: 13px; cursor: pointer; text-decoration: line-through; }
.qe-typechip[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.qe-warn { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FEF7E0; color: #7A4F01; font-weight: 600; font-size: 14px; line-height: 1.55; }
.qe-prevbar { margin: 0 0 12px; }
.qe-prevbar label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.qe-prevbar .select { min-height: 38px; width: auto; }

/* The client's page: the next step, with a button, and a short progress line */
.nx-card { margin: 22px 20px 0; padding: 16px 18px 14px; border-radius: 18px; background: var(--primary-soft); display: flex; flex-direction: column; gap: 6px; }
.nx-label { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); letter-spacing: .02em; }
.nx-title { font-size: 21px; line-height: 1.25; font-weight: 700; }
.nx-text { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.nx-go { align-self: flex-start; margin-top: 8px; min-height: 46px; padding: 0 22px; font-size: 16px; }
.nx-prog { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .8); overflow: hidden; margin-top: 12px; }
.nx-prog span { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .4s ease; }
.nx-all summary, .nx-pay summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--primary-dark); padding: 4px 0; }
.nx-all .timeline { margin-top: 10px; }
.nx-pay { margin-top: 6px; }
.nx-pay-text { white-space: pre-wrap; font-size: 14px; line-height: 1.65; background: #FFFFFF; border-radius: 12px; padding: 12px 14px; margin-top: 6px; }
@media (max-width: 640px) { .gv-dl .btn { flex: 1 1 100%; justify-content: center; } }

/* The client's page on every screen: phone (one column), tablet (wider), computer (two columns) */
.cp { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.cp-cols, .cp-main, .cp-side { display: contents; }
.cp-hero { height: 150px; }
.pv-bar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 8px 16px; background: #FEF7E0; color: #7A4F01; font-size: 13.5px; border-bottom: 1px solid #F3D88B; }
.pv-bar select { min-height: 32px; padding: 2px 8px; border-radius: 8px; border: 1px solid #E3C77A; background: #FFFFFF; font: inherit; }
.nx-then { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.nx-then span { font-weight: 700; color: var(--primary-dark); margin-inline-end: 4px; }
.qf-opts.is-col { flex-direction: column; align-items: stretch; }
.qf-opts.is-col .qf-opt { width: 100%; text-align: right; border-radius: 14px; padding: 12px 16px; line-height: 1.4; }
.gv-notebtn { position: absolute; bottom: 6px; inset-inline-end: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: #5F6368; font-size: 16px; line-height: 34px; text-align: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); padding: 0; }
.gv-notebtn:hover { color: var(--primary-dark); }
.gv-notebtn.has-note { background: #FBBC04; color: #202124; }
@media (min-width: 768px) {
  .cp { max-width: 860px; }
  .cp-hero { height: 190px; }
  .gv-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .gv-grid.is-album { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .gv-box .gv-img { max-width: calc(100% - 130px); }
  .qf { padding: 22px 26px; }
}
@media (min-width: 1100px) {
  .cp { max-width: 1240px; padding: 0 24px; }
  .cp-hero { border-radius: 0 0 22px 22px; height: 210px; }
  .cp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 8px 32px; align-items: start; }
  .cp-main, .cp-side { display: flex; flex-direction: column; min-width: 0; }
  .cp-side .nx-card { position: sticky; top: 16px; margin: 22px 0 0; z-index: 2; }
  .cp-side > section { padding-inline: 0 !important; }
  .cp-main > section { padding-inline: 0 !important; }
  .gv-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .qf { max-width: 760px; }
  .gv-pickbar { top: 0; }
}

/* The client's page, one step at a time: a short greeting, the step she is on, one line of what comes next */
.cs { max-width: 680px; margin: 0 auto; min-height: 100vh; padding: 0 18px 28px; display: flex; flex-direction: column; gap: 18px; }
.cs.is-wide { max-width: 1100px; }
.cs .pv-bar { margin: 0 -18px; }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
.cs-brand { display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; }
.cs-brand img { max-height: 34px; max-width: 150px; object-fit: contain; display: block; }
.cs-out { border: 0; background: var(--fill); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; min-height: 32px; }
.cs-hello h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.cs-hello p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.cs-card { background: #FFFFFF; border-radius: 22px; padding: 22px 22px 24px; box-shadow: 0 1px 3px rgba(60, 64, 67, .14), 0 6px 22px rgba(60, 64, 67, .07); border-top: 5px solid var(--primary); display: flex; flex-direction: column; gap: 8px; }
.cs-now { align-self: flex-start; background: var(--primary-soft); color: var(--primary-dark); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 700; }
.cs-card h2 { margin: 2px 0 0; font-size: 24px; line-height: 1.25; }
.cs-text { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.cs-body { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.cs-body .btn-link { align-self: flex-start; }
.cs-box { white-space: pre-wrap; font-size: 14.5px; line-height: 1.7; background: var(--fill); border-radius: 14px; padding: 14px 16px; }
.cs-facts { margin: 0; display: grid; gap: 10px; }
.cs-facts > div { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.cs-facts dt { min-width: 52px; color: var(--ink-2); font-size: 14px; }
.cs-facts dd { margin: 0; font-weight: 700; font-size: 16px; }
.cs-then { margin: -4px 4px 0; color: var(--ink-3); font-size: 14px; }
.cs-then b { color: var(--ink-2); margin-inline-end: 4px; }
.cs-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 14px; }
.cs-foot a, .cs-foot .btn-link { color: var(--ink-2); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
/* inside a step, only the step: no extra headings or step lists */
.cs-choose #choose-h, .cs-choose .loc-stepper { display: none; }
.cs .qf { box-shadow: none; padding: 0; background: transparent; }
.cs .gv-pickbar { box-shadow: 0 1px 2px rgba(60, 64, 67, .2); }
.cs-more { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.cs-more h3 { margin: 10px 0 0; font-size: 16px; }
.cs-faq { border-top: 1px solid var(--line); padding: 10px 0; }
.cs-faq summary { cursor: pointer; font-weight: 600; }
.cs-faq p { margin: 8px 0 0; color: var(--ink-2); }
@media (min-width: 768px) {
  .cs { padding: 0 28px 32px; gap: 22px; }
  .cs .pv-bar { margin: 0 -28px; }
  .cs-hello h1 { font-size: 32px; }
  .cs-card { padding: 28px 32px 30px; }
  .cs-card h2 { font-size: 27px; }
}

/* Choosing photos: only the heart on each photo; the note mark shows when there is a note (and on hover with a mouse) */
.gv-notebtn:not(.has-note) { display: none; }
@media (hover: hover) { .gv-cell:hover .gv-notebtn { display: block; } }

/* Deposit step: pay, attach the receipt */
.cs-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-acts .btn { min-height: 44px; }
/* Preview: filling in for the client */
.pv-save { font-weight: 700; }
.pv-bar.is-saving { background: #E6F4EA; color: #137333; border-bottom-color: #A8DAB5; }
/* The package she chose in the questionnaire */
.qa-pack { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 14px; border-radius: 12px; background: var(--primary-soft); }

/* ---- client: clothes step by place, big finish buttons ---- */
.ward-place { border: 1px solid var(--line, #e3e3e3); border-radius: 16px; padding: 14px; margin: 0 0 14px; background: var(--surface, #fff); }
.ward-place h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.05rem; }
.ward-place-img { width: 42px; height: 42px; border-radius: 10px; background: #eee center / cover no-repeat; flex: none; }
.ward-desc { margin: 0 0 6px; line-height: 1.6; }
.own-box h3 { margin: 0 0 6px; font-size: 1.05rem; }
.btn.btn-big { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; border-radius: 999px; }
.own-add-big { display: inline-flex; align-items: center; justify-content: center; margin: 12px 0 4px; cursor: pointer; }
.cs-finish { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
@media (max-width: 560px) { .cs-finish .btn-big, .own-add-big { width: 100%; } }
.offer-limit legend, .form-box fieldset legend { font-weight: 600; margin-bottom: 6px; }
.form-box fieldset { border: 0; padding: 0; margin: 0 0 12px; }
/* ---- signup: clear next step, setup intros, price list picking ---- */
.setup-intro { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--fill, #F4F5F7); border-radius: 14px; padding: 14px 16px; }
.sent-box { max-width: 460px; align-items: stretch; text-align: right; }
.sent-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft, #E8F0FE); color: var(--primary, #1A73E8); font-size: 28px; }
.sent-title { margin: 0; font-size: 26px; line-height: 1.3; color: var(--ink); }
.sent-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.sent-steps { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.sent-tip { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); background: var(--fill, #F4F5F7); border-radius: 12px; padding: 10px 14px; }
.pick-big { align-self: flex-start; cursor: pointer; margin-top: 6px; }
.pick-big:has(+ input:focus-visible) { outline: 3px solid var(--primary-soft, #cfd8e6); outline-offset: 2px; }
@media (max-width: 560px) { .pick-big { align-self: stretch; } }
.read-status { margin: 4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; padding: 10px 14px; border-radius: 12px; background: var(--fill, #F4F5F7); color: var(--ink); }
.read-status.is-ok { background: #E6F4EA; color: #137333; }
.read-status.is-warn { background: #FEF7E0; color: #8A5300; }
/* ---- locations: areas question, tidy tools, editor, instructions ---- */
.regions-ask { max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 2px 12px rgba(0,0,0,.07); border: 1px solid var(--line, #e3e5e8); }
.regions-ask-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #FCE8E6; }
.regions-ask-title { margin: 0; font-size: 24px; line-height: 1.3; color: var(--ink); }
.regions-ask-why { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.regions-ask-list { display: flex; flex-direction: column; gap: 10px; }
.ra-row { display: flex; gap: 8px; align-items: center; }
.ra-row .input { flex: 1; min-height: 48px; font-size: 16px; }
.ra-del { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fill, #F4F5F7); color: var(--ink-2); font-size: 20px; cursor: pointer; flex: none; }
#ra-add { align-self: flex-start; }
.ra-suggest { display: flex; flex-direction: column; gap: 6px; }
.loc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.loc-guide { background: var(--fill, #F4F5F7); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.loc-editor { display: flex; flex-direction: column; gap: 14px; }
.le-top { display: flex; gap: 14px; align-items: flex-end; }
.le-main { width: 84px; height: 84px; border-radius: 14px; background: #eee center / cover no-repeat; flex: none; }
.region-pick .filter-chip { min-height: 44px; padding: 0 18px; font-size: 15.5px; }
.le-more { border-top: 1px solid var(--line, #e3e5e8); padding-top: 10px; }
.le-more summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: 4px 0; }
.le-more[open] summary { margin-bottom: 10px; }
.le-actions { align-items: center; }
.le-actions .le-del { margin-inline-start: auto; color: #B3261E; }
.pop-head { display: flex; gap: 12px; align-items: center; }
.pop-head-img { width: 56px; height: 56px; border-radius: 12px; background: #eee center / cover no-repeat; flex: none; }
.pop-head .pop-title { margin: 0; }
.pop-sec { border: 1px solid var(--line, #e3e5e8) !important; border-radius: 14px; padding: 12px 14px 14px !important; display: flex; flex-direction: column; gap: 12px; }
.pop-sec legend { font-weight: 700; font-size: 16px; padding: 0 6px; color: var(--primary-dark, var(--ink)); }
.ward-tips { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #FEF7E0; color: #5F4200; line-height: 1.6; }
/* ---- clients table ---- */
.ct-wrap { overflow-x: auto; border: 1px solid var(--line, #e3e5e8); border-radius: 16px; background: var(--surface, #fff); }
.ct { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ct th, .ct td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line, #eceef1); white-space: nowrap; vertical-align: middle; }
.ct thead th { font-size: 13px; color: var(--ink-2); font-weight: 600; background: var(--fill, #F4F5F7); position: sticky; top: 0; }
.ct tbody tr[data-row-href] { cursor: pointer; }
.ct tbody tr[data-row-href]:hover, .ct tbody tr[data-row-href]:focus-visible { background: #F6F9FE; outline: none; }
.ct-group th { background: #FAFAFB; font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 14px; }
.ct-group.is-now th { background: #EEF4FE; }
.ct-gline { display: inline-flex; align-items: center; gap: 12px; }
.ct-count { unicode-bidi: isolate; font-size: 13px; font-weight: 600; color: #fff; background: var(--primary, #1A73E8); border-radius: 999px; padding: 2px 10px; }
.ct-who { font-weight: 400; min-width: 180px; }
.ct-who a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.ct-who a > span:last-child { display: flex; flex-direction: column; }
.ct-who .avatar { width: 38px; height: 38px; flex: none; }
.ct-mdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-inline-end: 6px; }
.ct-type { border-inline-start: 3px solid var(--c); padding-inline-start: 8px; }
.ct-stages { display: inline-flex; gap: 3px; vertical-align: middle; }
.ct-st { width: 12px; height: 12px; border-radius: 3px; background: var(--fill-2, #E3E5E8); }
.ct-st.done { background: #34A853; }
.ct-st.now { background: var(--primary, #1A73E8); box-shadow: 0 0 0 2px #C6DAFC; }
.ct-stname { margin-inline-start: 8px; }
.ct-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
/* ---- galleries ---- */
.gal-sum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gal-sum div { background: var(--surface, #fff); border: 1px solid var(--line, #e3e5e8); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.gal-sum b { font-size: 22px; }
.gal-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gal-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(260px, 2fr) minmax(160px, 1.2fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface, #fff); border: 1px solid var(--line, #e3e5e8); color: inherit; text-decoration: none; }
.gal-row:hover { border-color: var(--primary, #1A73E8); }
.gal-who { display: flex; flex-direction: column; }
.gal-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.gal-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; font-size: 12.5px; color: var(--ink-3, #80868B); }
.gal-steps li::before { content: ''; position: absolute; top: 11px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--fill-2, #E3E5E8); z-index: 0; }
.gal-steps li:last-child::before { display: none; }
.gal-steps li.done::before { background: #34A853; }
.gal-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--fill-2, #E3E5E8); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.gal-steps li.done .gal-dot { background: #34A853; }
.gal-steps li.now .gal-dot { background: var(--primary, #1A73E8); box-shadow: 0 0 0 4px #D2E3FC; }
.gal-steps li.now { color: var(--ink); font-weight: 700; }
.gal-detail { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
@media (max-width: 760px) { .gal-row { grid-template-columns: 1fr; } .gal-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ---- money ---- */
.money-top { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.money-year { display: flex; align-items: center; gap: 8px; }
.money-year .select { min-width: 110px; }
.money-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.mc b { white-space: nowrap; }
.mc { border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--surface, #fff); border: 1px solid var(--line, #e3e5e8); border-top: 4px solid var(--c, #5F6368); }
.mc span { font-size: 13.5px; color: var(--ink-2); }
.mc b { font-size: 24px; }
.mc-in { --c: #1E8E3E; } .mc-out { --c: #D93025; } .mc-net { --c: #1A73E8; } .mc-debt { --c: #E37400; }
@media (max-width: 420px) { .money-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mc b { font-size: 20px; } }
.money-table tr.is-now th, .money-table tr.is-now td { background: #EEF4FE; }
.money-table tfoot th, .money-table tfoot td { font-weight: 700; background: var(--fill, #F4F5F7); }
.money-table .neg, .money-list .neg { color: #D93025; }
.mt-bar { min-width: 140px; }
.mt-bar span { display: block; height: 7px; border-radius: 4px; margin: 2px 0; }
.bar-in, .lg-in { background: #34A853; } .bar-out, .lg-out { background: #EA4335; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; margin-inline: 8px 4px; }
.money-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.money-list li { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(120px, 1.2fr) minmax(130px, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, #eceef1); }
@media (max-width: 600px) { .money-list li { grid-template-columns: 1fr auto; } }
/* ---- send the gallery ---- */
.send-gallery { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #E8F0FE; }
.send-gallery-t { display: flex; flex-direction: column; gap: 2px; }
.send-gallery-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* ---- Gmail ---- */
.gmail-box { max-width: 560px; }
.gmail-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #FCE8E6; }
.gmail-box.is-on .gmail-ico { background: #E6F4EA; }
.ask.gsend { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; display: flex; flex-direction: column; gap: 12px; text-align: right; }
/* ---- help chat (photographer) ---- */
.help-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--primary, #2F4A6D); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.18); cursor: pointer; }
.help-fab span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); }
.help-fab.is-open { opacity: .85; }
.help-fab:focus-visible { outline: 3px solid var(--primary-soft, #cfd8e6); outline-offset: 2px; }
.help-panel { position: fixed; inset-inline-end: 18px; bottom: 74px; z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--surface, #fff); color: inherit; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.22); overflow: hidden; }
.help-panel[hidden] { display: none; }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line, #e6e6e6); }
.help-x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }
.help-log { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.help-hi { margin: 0; color: var(--muted, #5f6368); }
.help-starts { display: flex; flex-wrap: wrap; gap: 6px; }
.help-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.help-msg.is-me { align-self: flex-start; background: var(--primary-soft, #e8eef7); }
.help-msg.is-bot { align-self: flex-end; background: var(--bg-soft, #f3f3f1); }
.help-msg.is-err { background: #fdecea; }
.help-msg a { font-weight: 700; color: var(--primary, #2F4A6D); }
.help-msg.is-wait { display: flex; gap: 4px; }
.help-msg.is-wait span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: helpDot 1s infinite; }
.help-msg.is-wait span:nth-child(2) { animation-delay: .15s; } .help-msg.is-wait span:nth-child(3) { animation-delay: .3s; }
@keyframes helpDot { 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .help-msg.is-wait span { animation: none; } }
.help-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line, #e6e6e6); }
.help-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; }
.help-new { align-self: center; margin: 0 0 8px; }
@media (max-width: 560px) { .help-panel { inset-inline: 8px; width: auto; bottom: 70px; height: calc(100vh - 90px); } .help-fab { bottom: 12px; inset-inline-end: 12px; } }
/* ---- help center ---- */
.help-search { padding: 10px 12px 0; }
.help-search .input { width: 100%; }
.help-item { border-bottom: 1px solid var(--line, #ececec); padding: 2px 0; }
.help-item summary { cursor: pointer; padding: 9px 2px; font-weight: 600; line-height: 1.5; }
.help-item summary:focus-visible { outline: 2px solid var(--primary, #2F4A6D); outline-offset: 2px; border-radius: 6px; }
.help-item[open] summary { color: var(--primary, #2F4A6D); }
.help-a { padding: 0 2px 12px; line-height: 1.7; }
.help-a a { font-weight: 700; color: var(--primary, #2F4A6D); }