/* Design v3 (2026-11-17): blue, purple and pink; white cards on a white page with faint color spots;
   light buttons with a dark frame of the same color. A layer on top of style.css: remove the <link> to go back. */
:root {
  --primary: #1A73E8;
  --primary-dark: #1558B0;
  --primary-soft: #E8F0FE;
  --purple: #7B61FF;
  --purple-dark: #4B36B8;
  --purple-soft: #EFEBFF;
  --pink: #E8739B;
  --pink-dark: #9C2F57;
  --pink-soft: #FCE9F0;
  --side: #FFFFFF;
  --fill: #F7F6FC;
  --fill-2: #EEECF7;
  --ink: #1E1B33;
  --ink-2: #6B6880;
  --btn-gray: #FFFFFF;
  --btn-gray-2: #F7F6FC;
  --frame: #E3E1EE;
  --v3-grad: linear-gradient(135deg, #1A73E8, #7B61FF 55%, #E8739B);
  --v3-card-shadow: 0 1px 2px rgba(31, 27, 72, .05), 0 12px 32px rgba(75, 54, 184, .08);
}

/* The page: white, with two faint color spots at the edges */
body { background: #FFFFFF; }
body::before, body::after {
  content: ''; position: fixed; z-index: 0; border-radius: 50%; filter: blur(110px); opacity: .09; pointer-events: none;
}
body::before { width: 380px; height: 380px; top: -220px; left: -160px; background: #7B61FF; }
body::after { width: 340px; height: 340px; bottom: -220px; right: 18%; background: #E8739B; }
#app { position: relative; z-index: 1; }

/* Shell: the menu, the page and the side panel are white cards that float on the page */
.shell { padding: 18px; gap: 18px; align-items: flex-start; }
.sidebar {
  flex: 0 0 236px; padding: 18px 12px; gap: 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .92); box-shadow: var(--v3-card-shadow);
  position: sticky; top: 18px; min-height: calc(100vh - 36px);
}
.brand-mark { background: var(--v3-grad); border-radius: 12px; box-shadow: 0 6px 16px rgba(123, 97, 255, .25); }
.nav a, .nav button { border: 1.5px solid transparent; border-radius: 14px; color: #3A3652; }
.nav a svg, .nav button svg { stroke: #8A87A0; }
.nav a:hover, .nav button:hover { background: #F7F6FC; }
.nav a.active { background: var(--primary-soft); border-color: var(--primary-dark); color: var(--primary-dark); }
.nav a.active svg { stroke: var(--primary); }
.filter-btn.active { background: var(--purple-soft); color: var(--purple-dark); }
.content { gap: 18px; align-items: flex-start; }
.main { padding: 8px 6px 64px; gap: 22px; }
.panel {
  background: rgba(255, 255, 255, .92); border-radius: 22px; box-shadow: var(--v3-card-shadow);
  padding: 22px 20px; gap: 22px; position: sticky; top: 18px;
}

/* Titles */
.page-title {
  background: var(--v3-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 2px;
}
.box-title { color: var(--ink); font-weight: 600; }

/* Boxes become white cards with a soft shadow instead of a blue frame */
.form-box { border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px; box-shadow: var(--v3-card-shadow); }

/* Fields */
.input, .select, .textarea { background: #FFFFFF; border: 1.5px solid #DCD6F7; border-radius: 14px; }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--purple), 0 0 0 6px rgba(123, 97, 255, .16); }

/* Buttons: light fill, dark frame of the same color; the others white with a light frame */
.btn { border-radius: 14px; border: 1.5px solid transparent; }
.btn-dark, .btn-accent { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-dark:hover, .btn-accent:hover { background: #DCE8FD; color: var(--primary-dark); }
.btn-dark .btn-ico, .btn-accent .btn-ico { background: #FFFFFF; }
.btn-soft, .btn-link { background: #FFFFFF; color: #3A3652; border-color: var(--frame); }
.btn-soft:hover, .btn-link:hover { background: #F7F6FC; color: #3A3652; }
.btn, .filter-chip, .chip, .subtabs button { box-shadow: none; }
.btn:hover:not(:disabled), .filter-chip:hover, .chip:hover, .subtabs button:hover { box-shadow: 0 8px 20px rgba(75, 54, 184, .14); transform: translateY(-2px); }

.icon-btn { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--frame); border-radius: 12px; }
.icon-btn:hover { background: #F7F6FC; }
.icon-btn-primary { background: var(--primary); box-shadow: none; }
.icon-btn-primary:hover { background: var(--primary-dark); }
.icon-btn[aria-expanded="true"] { background: var(--purple-soft); box-shadow: inset 0 0 0 1.5px var(--purple-dark); }

.filter-chip { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--frame); color: #3A3652; }
.filter-chip[aria-pressed="true"] { background: var(--purple-soft); color: var(--purple-dark); box-shadow: inset 0 0 0 1.5px var(--purple-dark); }
.subtabs button[aria-selected="true"] { background: var(--purple-soft); color: var(--purple-dark); }

/* ===== Shared pieces from design/demo-v3.html (prefixed v3- so they never meet style.css) ===== */
.v3-card {
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px; box-shadow: var(--v3-card-shadow);
}
.v3-rise { animation: v3-rise .55s cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: var(--d, 0ms); }
@keyframes v3-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.v3-still .v3-rise { animation: none; }
.v3-gtext { background: linear-gradient(90deg, #1A73E8, #7B61FF 55%, #E8739B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3-flow { background: linear-gradient(90deg, #1A73E8, #7B61FF, #E8739B, #7B61FF, #1A73E8); background-size: 300% 100%; animation: v3-flow 4s linear infinite; }
@keyframes v3-flow { from { background-position: 0% 0; } to { background-position: 300% 0; } }
.v3-soft { background: linear-gradient(120deg, #E3EDFD, #ECE7FF, #FBE6EE, #ECE7FF, #E3EDFD); background-size: 400% 400%; animation: v3-soft 14s ease-in-out infinite; }
@keyframes v3-soft { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.v3-muted { color: #6B6880; }
.v3-h2 { margin: 0; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.v3-h2-sm { font-size: 16px; }

/* Buttons: .v3-b with a color set (white / blue / purple); .v3-ic is the round icon inside */
.v3-b {
  --bg: #FFFFFF; --bd: #E3E1EE; --fg: #3A3652; --glow: rgba(75, 54, 184, .14);
  position: relative; overflow: hidden; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
.v3-bw { --bg: #FFFFFF; --bd: #E3E1EE; --glow: rgba(75, 54, 184, .14); }
.v3-bb { --bg: #E8F0FE; --bd: #1558B0; --fg: #1558B0; --glow: rgba(26, 115, 232, .3); }
.v3-bp { --bg: #EFEBFF; --bd: #4B36B8; --fg: #4B36B8; --glow: rgba(123, 97, 255, .3); }
.v3-b::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-18deg); transition: left .6s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .v3-b:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 22px var(--glow); }
  .v3-b:hover:not(:disabled)::after { left: 120%; }
  .v3-b:hover:not(:disabled) .v3-ic, .v3-nv:hover .v3-nic { transform: rotate(-10deg) scale(1.12); }
}
.v3-b:active:not(:disabled) { transform: scale(.97); transition-duration: .1s; }
.v3-b:focus-visible, .v3-nv:focus-visible, .v3-cell:focus-visible, .v3-chk:focus-visible, .v3-lift:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-ic {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  border-radius: 50%; color: #FFFFFF; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.v3-halo { animation: v3-halo 2.6s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
@keyframes v3-halo { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.v3-pb { min-height: 44px; padding: 0 14px 0 8px; border-radius: 14px; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.v3-mini { min-height: 32px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.v3-lift { transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease; }
.v3-cell { transition: background-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .v3-lift:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(31, 27, 72, .05), 0 18px 36px rgba(75, 54, 184, .14); }
  .v3-cell:hover { box-shadow: 0 6px 18px rgba(75, 54, 184, .12); transform: translateY(-1px); }
}
.v3-cell:active { transform: scale(.98); }

/* The toast (A.toast): a white card with a flowing check */
.toast {
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 18px; font-size: 15px; font-weight: 500;
  padding: 12px 18px; box-shadow: 0 1px 2px rgba(31, 27, 72, .05), 0 16px 40px rgba(75, 54, 184, .18);
  border: 1px solid #ECE8FA;
}

/* The big encouragement after a tick */
.v3-cheer {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; pointer-events: none;
  opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.v3-cheer.is-on { opacity: 1; transform: scale(1); }
.v3-cheer-box {
  margin: 16px; padding: 26px 40px; border-radius: 28px; background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(75, 54, 184, .22); display: flex; align-items: center; gap: 16px;
}
.v3-cheer-box .v3-ic { width: 56px; height: 56px; }
.v3-cheer-box b { font-size: 32px; font-weight: 700; line-height: 1.2; }

/* ===== The side menu: a white card; gray icons in light circles; the active item light, framed dark ===== */
.v3-sidebar { gap: 14px; }
.v3-sidebar .brand { padding: 0 6px 12px; }
.v3-sidebar .brand-mark { width: 40px; height: 40px; border-radius: 13px; }
.v3-sidebar .brand-name { font-size: 15.5px; }
.v3-sidebar .nav { gap: 4px; }
.nav .v3-nv {
  gap: 11px; min-height: 46px; padding: 0 8px; border-radius: 14px; border: 1.5px solid transparent;
  background: transparent; color: #3A3652; font-size: 15px; font-weight: 500;
  transition: background-color .18s ease, border-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav .v3-nv svg { stroke: currentColor; }
.v3-nic {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background: #F4F4F8; color: #6B6880;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .18s ease;
}
@media (hover: hover) and (pointer: fine) { .nav .v3-nv:hover { background: #F7F6FC; transform: translateX(-3px); } }
.v3-c-blue { --c-bg: #E8F0FE; --c-bd: #1558B0; --c-solid: #1A73E8; }
.v3-c-purple { --c-bg: #EFEBFF; --c-bd: #4B36B8; --c-solid: #7B61FF; }
.v3-c-pink { --c-bg: #FCE9F0; --c-bd: #9C2F57; --c-solid: #E8739B; }
.nav .v3-nv.active, .nav .v3-nv.active:hover { background: var(--c-bg); border-color: var(--c-bd); color: var(--c-bd); font-weight: 600; }
.nav .v3-nv.active .v3-nic { background: var(--c-solid); color: #FFFFFF; }
.nav .v3-nv.active svg { stroke: currentColor; }
.nav .v3-logout { color: #6B6880; }
.nav-badge.v3-badge-pink { background: #E8739B; }
.v3-sidebar .nav-sub { border-inline-start-color: #ECE8FA; }
.v3-sidebar .nav-sub .filter-btn { border-radius: 12px; border: 1.5px solid transparent; color: #3A3652; }
.v3-sidebar .nav-sub .filter-btn.active { background: var(--purple-soft); color: var(--purple-dark); border-color: var(--purple-dark); }

/* ===== Today ===== */
.v3-today-head { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.v3-today-date { margin: 0; font-size: 14px; }
.v3-today-title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.v3-today-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-today-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.v3-today-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.v3-tasks { padding: 20px; }
.v3-tasks-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.v3-score { display: flex; align-items: center; gap: 12px; }
.v3-score-min { font-size: 13px; }
.v3-track { width: 110px; height: 7px; border-radius: 999px; background: #EEECF7; overflow: hidden; }
.v3-track > span { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(0.23, 1, 0.32, 1); }
.v3-score-n { font-size: 22px; font-weight: 700; }
.v3-score-n span { font-size: 14px; }
.v3-tlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.v3-task { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 16px; background: #FFFFFF; border: 1.5px solid #F0EEF7; }
.v3-task.is-late { border-color: #F5CBD9; }
.v3-task.is-late .v3-task-d { color: #9C2F57; }
.v3-task.is-done { background: #FAFAFD; }
.v3-task.is-done .v3-task-tx { text-decoration: line-through; opacity: .55; }
.v3-task-n { width: 18px; flex: none; font-size: 13px; color: #8A87A0; text-align: center; }
.v3-chk {
  flex: none; width: 30px; height: 30px; border-radius: 10px; border: 1.5px solid #C9C3E6; background: #FFFFFF; color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease;
}
.v3-chk svg { opacity: 0; }
.v3-chk[aria-checked="true"] { background: var(--v3-grad); border-color: #7B61FF; transform: scale(1.06); }
.v3-chk[aria-checked="true"] svg { opacity: 1; }
.v3-chk:disabled { cursor: progress; }
.v3-kind { width: 34px; height: 34px; border-radius: 11px; }
.v3-k-blue { background: #E8F0FE; color: #1558B0; }
.v3-k-purple { background: #EFEBFF; color: #4B36B8; }
.v3-k-pink { background: #FCE9F0; color: #9C2F57; }
.v3-task-tx { flex: 1; min-width: 0; }
.v3-task-tx b { display: block; font-size: 15px; font-weight: 600; }
.v3-task-d { font-size: 12.5px; color: #6B6880; }
.v3-task-acts { display: flex; gap: 6px; flex: none; }
.v3-act { width: 36px; height: 36px; border-radius: 11px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.v3-word { margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: #F7F6FC; font-size: 14px; color: #4B36B8; font-weight: 500; }
.v3-word a, .v3-foot a, .v3-empty a { color: var(--primary-dark); }
.v3-foot { margin: 12px 0 0; font-size: 12.5px; color: #8A87A0; }
.v3-empty { margin: 4px 0; color: #6B6880; }
.v3-quote { position: relative; padding: 30px 56px 30px 28px; border-radius: 22px; box-shadow: 0 10px 28px rgba(75, 54, 184, .10); }
.v3-quote p { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.45; color: #2B2550; text-align: center; }
.v3-quote-x {
  position: absolute; top: 10px; left: 10px; width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .7); color: #6B6880; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
}
.v3-quote-x:hover { background: #FFFFFF; }
.v3-week { padding: 16px; }
.v3-week-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.v3-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.v3-wday { padding: 2px; border: none; border-radius: 14px; background: transparent; font-family: inherit; cursor: pointer; }
.v3-wday.is-today { background: var(--v3-grad); }
.v3-wday-in { display: flex; height: 100%; border-radius: 12px; background: #F7F6FC; padding: 7px 0 8px; flex-direction: column; align-items: center; gap: 2px; }
.v3-wday.is-today .v3-wday-in { background: #FFFFFF; }
.v3-wday-d { font-size: 11.5px; color: #6B6880; }
.v3-wday b { font-size: 16px; color: var(--ink); }
.v3-wday.is-today b { color: #4B36B8; }
.v3-wday-h { font-size: 10.5px; color: #8A87A0; }
.v3-wday-dots { display: flex; gap: 2px; height: 6px; }
.v3-wday-dots i { width: 6px; height: 6px; border-radius: 50%; }
.v3-dot-blue { background: #1A73E8; }
.v3-dot-purple { background: #7B61FF; }
.v3-next { padding: 10px; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.v3-next-av {
  flex: none; width: 74px; height: 74px; border-radius: 16px; background: var(--v3-grad); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.v3-next-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v3-next-when { font-size: 12.5px; font-weight: 600; }
.v3-next-tx b { font-size: 16px; }
.v3-next-tx .v3-muted { font-size: 13px; }
.v3-next-go { width: 32px; height: 32px; background: #F4F1FF; color: #7B61FF; }
@media (max-width: 1100px) { .v3-today-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .v3-task { flex-wrap: wrap; }
  .v3-task-acts { margin-inline-start: 60px; }
  .v3-quote p { font-size: 18px; }
  .v3-cheer-box b { font-size: 22px; }
  .v3-cheer-box { padding: 18px 22px; }
}

/* ===== Calendar ===== */
.v3-cal-head, .v3-leads-head { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.v3-cal-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v3-cal-h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.v3-cal-sub { margin: 0; font-size: 13.5px; }
.v3-calnav { --fg: #1558B0; width: 42px; height: 42px; border-radius: 13px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.v3-cal-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.v3-legend {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px;
  background: #FFFFFF; border: 1.5px solid #ECEAF4; color: #3A3652; font-size: 13px; font-weight: 500;
}
.v3-legend .v3-ic { width: 20px; height: 20px; }
.v3-legend.is-outline { border-color: #E8739B; color: #9C2F57; }
.v3-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #F4F3FA; }
.v3-seg button {
  min-height: 32px; padding: 0 12px; border: none; border-radius: 999px; background: transparent; color: #8A87A0;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.v3-seg button[aria-pressed="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.v3-cal-grid { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.v3-month { flex: 999 1 520px; min-width: 0; padding: 14px; }
.v3-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.v3-month-dn { text-align: center; font-size: 12.5px; font-weight: 600; color: #6B6880; padding: 4px 0; }
.v3-dn-short { display: none; }
.v3-cday {
  min-height: 104px; min-width: 0; padding: 7px; border-radius: 14px; border: 1.5px solid #EEECF7; background: #FFFFFF;
  display: flex; flex-direction: column; gap: 4px; cursor: pointer;
}
.v3-cday.is-out { background: #FAFAFD; opacity: .5; }
.v3-cday.is-sel { background: #F4F1FF; border-color: #4B36B8; }
.v3-cday-num {
  display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 0; border: none; background: none;
  font-family: inherit; color: var(--ink); cursor: pointer; text-align: right;
}
.v3-cday-num b {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none;
}
.v3-cday.is-today .v3-cday-num b { background: var(--v3-grad); color: #FFFFFF; }
.v3-cday-num small { font-size: 11px; color: #8A87A0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-ev {
  display: block; padding: 2px 6px; border-radius: 7px; font-size: 11.5px; font-weight: 500; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid transparent;
}
.v3-ev-blue { background: #E8F0FE; color: #1558B0; }
.v3-ev-purple { background: #EFEBFF; color: #4B36B8; }
.v3-ev-purple.is-done { text-decoration: line-through; opacity: .6; }
.v3-ev-choice { background: #FFFFFF; color: #9C2F57; border-color: #E8739B; }
.v3-ev-t { font-weight: 600; }
a.v3-ev:hover { filter: brightness(.97); text-decoration: underline; }
.v3-cal-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.v3-cal-day, .v3-cal-up { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.v3-cal-up { gap: 10px; }
.v3-cal-day-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.v3-cal-day-sub { margin: 0; font-size: 13px; }
.v3-cal-day-h { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.v3-dev { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1.5px solid; text-decoration: none; }
.v3-dev-ic { width: 40px; height: 40px; border-radius: 13px; }
.v3-dev-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v3-dev-tx b { font-size: 15px; }
.v3-dev-tx span { font-size: 13px; }
.v3-dev-blue { background: #E8F0FE; border-color: #1558B0; color: #1558B0; }
.v3-dev-blue .v3-dev-ic { background: #1A73E8; }
.v3-dev-choice { background: #FFFFFF; border-color: #E8739B; color: #9C2F57; }
.v3-dev-choice .v3-dev-ic { background: #E8739B; }
.v3-dev-purple { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; padding: 8px 10px 8px 8px; }
.v3-dev-purple.is-done .v3-dev-tx b { text-decoration: line-through; opacity: .6; }
.v3-dev-ck { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.v3-cbox {
  -webkit-appearance: none; appearance: none; flex: none; width: 30px; height: 30px; margin: 0 5px; border-radius: 10px;
  border: 1.5px solid #C9C3E6; background: #FFFFFF center / 16px no-repeat; cursor: pointer;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease;
}
.v3-cbox:checked {
  border-color: #7B61FF; transform: scale(1.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"), var(--v3-grad);
  background-size: 16px, auto; background-position: center;
}
.v3-cbox:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-cal-empty { margin: 0; padding: 22px 12px; border-radius: 16px; background: #F7F6FC; text-align: center; color: #6B6880; font-size: 14px; }
.v3-cal-add { display: flex; flex-direction: column; gap: 8px; }
.v3-cal-add .input { min-height: 44px; }
.v3-cal-add .v3-pb { justify-content: center; }
.v3-uprow {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; border: 1.5px solid #F0EEF7; background: #FFFFFF;
  color: var(--ink); text-decoration: none; transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
.v3-uprow.is-sel { background: #F4F1FF; border-color: #4B36B8; }
@media (hover: hover) and (pointer: fine) { .v3-uprow:hover { transform: translateX(-3px); box-shadow: 0 6px 18px rgba(75, 54, 184, .10); } }
.v3-uprow:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-up-date {
  flex: none; width: 52px; padding: 5px 0; border-radius: 13px; background: #E8F0FE; color: #1558B0;
  display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.v3-up-date b { font-size: 18px; }
.v3-up-date span { font-size: 11px; }
.v3-up-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v3-up-tx b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-up-tx span { font-size: 12.5px; color: #6B6880; }
.v3-up-heb { font-size: 11.5px; color: #8A87A0; white-space: nowrap; }
@media (max-width: 700px) {
  .v3-dn-long { display: none; }
  .v3-dn-short { display: inline; }
  .v3-month { padding: 8px; }
  .v3-month-grid { gap: 3px; }
  .v3-cday { min-height: 64px; padding: 4px; border-radius: 10px; }
  .v3-cday-num { flex-direction: column; align-items: center; }
  .v3-cday-num small { display: none; }
  .v3-ev { font-size: 0; padding: 0; height: 6px; border-radius: 999px; }
  .v3-ev-choice { background: #E8739B; }
  .v3-ev-blue { background: #1A73E8; }
  .v3-ev-purple { background: #7B61FF; }
}

/* ===== Leads ===== */
.v3-fu { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.v3-fu:not([hidden]) { animation: v3-rise .4s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-hint { margin: 0; font-size: 13.5px; }
.v3-hint-sm { font-size: 12.5px; }
.v3-fu-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v3-fu-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px;
  background: #EFEBFF; color: #4B36B8; font-size: 13.5px; font-weight: 600;
}
.v3-fu-chip button {
  width: 22px; height: 22px; border-radius: 50%; border: none; background: #FFFFFF; color: #4B36B8; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.v3-fu-chip button:hover { background: #4B36B8; color: #FFFFFF; }
.v3-fu-add { display: inline-flex; align-items: center; gap: 8px; }
.v3-fu-add .input { width: 90px; min-height: 38px; padding: 4px 12px; }
.v3-fu-add .v3-mini { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; }
.v3-why { font-size: 14px; color: #3A3652; }
.v3-why summary { cursor: pointer; color: #4B36B8; font-weight: 600; }
.v3-why p { margin: 8px 0 0; line-height: 1.6; }
.v3-newlead { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.v3-lq { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v3-lq-item { display: inline-flex; align-items: center; gap: 6px; }
.v3-lq-btn { width: 42px; height: 42px; border-radius: 13px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v3-lq-btn[aria-expanded="true"] { --bg: #F4F1FF; }
.v3-lq-btn.is-filled { --bd: currentColor; }
.v3-lq-input { width: 160px; min-height: 42px; }
.v3-lq-wants { flex: 1 1 220px; min-height: 42px; }
/* The WhatsApp chip shows beside the phone field while it is open (or once it is on). */
.v3-lq-item:has(.v3-lq-input[hidden]) .v3-wa[aria-pressed="false"] { display: none; }
.v3-wa {
  min-height: 34px; padding: 0 10px 0 6px; border-radius: 999px; border: 1.5px solid #E3E1EE; background: #FFFFFF; color: #6B6880;
  font-family: inherit; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
}
.v3-wa .v3-ic { width: 20px; height: 20px; background: #C9C3E6; }
.v3-wa[aria-pressed="true"] { border-color: #4B36B8; background: #EFEBFF; color: #4B36B8; }
.v3-wa[aria-pressed="true"] .v3-ic { background: #7B61FF; }
.v3-wa:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-leads { padding: 14px 12px; }
.v3-tabs { display: flex; gap: 6px; padding: 0 6px 10px; flex-wrap: wrap; }
.v3-tab {
  --bg: #FFFFFF; --bd: #E6E3F5; --fg: #3A3652;
  min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.v3-tab span { opacity: .7; font-weight: 500; }
.v3-tab[aria-selected="true"] { --bg: #EFEBFF; --bd: #4B36B8; --fg: #4B36B8; }
.v3-lgrid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1.15fr) auto;
  gap: 12px; align-items: center;
}
.v3-lhead { padding: 6px 12px; font-size: 12px; font-weight: 600; color: #8A87A0; }
.v3-lhead span:last-child { width: 268px; }
.v3-lrows { display: flex; flex-direction: column; gap: 4px; }
.lead-row.v3-lrow {
  display: block; min-height: 0; padding: 0; border-radius: 14px; background: #FFFFFF; border: 1.5px solid #F3F2F8; box-shadow: none;
}
.lead-row.v3-lrow.is-due { background: #F8F6FF; border-color: #E2DAFB; box-shadow: none; }
.lead-row.v3-lrow.is-late { background: #FDF5F8; border-color: #F5CBD9; }
.v3-lrow > .v3-lgrid { padding: 8px 12px; font-size: 14px; }
.v3-lin {
  min-height: 34px; padding: 2px 8px; font-size: 14px; background: transparent; border-color: transparent; border-radius: 10px; width: 100%;
}
.v3-lin:hover { background: rgba(255, 255, 255, .8); border-color: #E3E1EE; }
.v3-lin:focus { background: #FFFFFF; }
.v3-lin-name { font-weight: 600; }
.v3-lphone { display: flex; align-items: center; gap: 4px; min-width: 0; }
.v3-lphone .v3-lin { direction: ltr; text-align: right; }
.v3-wa-mark { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #EFEBFF; color: #7B61FF; display: inline-flex; align-items: center; justify-content: center; }
.v3-ldate { color: #6B6880; font-size: 13.5px; }
.v3-lnext { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.v3-lnext b { font-size: 13px; color: #6B6880; }
.v3-lrow.is-due .v3-lnext b { color: #4B36B8; }
.v3-lrow.is-late .v3-lnext b { color: #9C2F57; }
.v3-ltags { display: flex; gap: 3px; flex-wrap: wrap; }
.v3-ltag {
  padding: 1px 7px; border-radius: 999px; background: #FFFFFF; color: #8A87A0; border: 1px solid #E6E3F5;
  font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.v3-ltag.is-done { background: #EFEBFF; color: #4B36B8; border-color: #E2DAFB; }
.v3-ltag.is-now { background: #FCE9F0; color: #9C2F57; border-color: #F5CBD9; }
.v3-lacts { display: flex; gap: 5px; width: 268px; flex-wrap: wrap; }
.v3-lact { width: 34px; height: 34px; border-radius: 11px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v3-lact.v3-bb { --fg: #1558B0; }
.v3-lmore {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 12px 12px; padding: 12px 14px;
  border-radius: 14px; background: #FFFFFF; border: 1.5px solid #E2DAFB; font-size: 13.5px; color: #3A3652;
}
.v3-lmore label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.v3-lmore .v3-lin { width: 200px; background: #F7F6FC; border-color: #E3E1EE; font-weight: 400; }
.v3-ldel { --fg: #9C2F57; gap: 6px; margin-inline-start: auto; }
.v3-lempty { margin: 10px; text-align: center; }
/* "רישום חזרה": the pill under the follow-up, the history line and the panel under the row (as in the demo). */
.v3-leads .v3-lrows { gap: 4px; }
.v3-logpill {
  margin-top: 2px; min-height: 28px; padding: 0 10px 0 4px; border-radius: 999px; border: 1.5px solid #4B36B8; background: #EFEBFF; color: #4B36B8;
  font-family: inherit; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
.v3-logpill .v3-ic { width: 18px; height: 18px; background: #7B61FF; }
.v3-logpill[aria-expanded="true"] { background: #4B36B8; color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) { .v3-logpill:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(75, 54, 184, .18); } }
.v3-logpill:focus-visible, .v3-lfu-c:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lhist { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; align-items: center; }
.v3-lhist-h { font-size: 12px; color: #8A87A0; }
.v3-lhist-i { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #FFFFFF; border: 1px solid #ECEAF4; color: #3A3652; font-size: 12px; }
.v3-lhist-i b { color: #8A87A0; font-weight: 600; }
.v3-lhist-i.is-warm b { color: #7B61FF; }
.v3-lfu {
  margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; border: 1.5px solid #E2DAFB;
  display: flex; flex-direction: column; gap: 10px; animation: v3-rise .35s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.v3-lfu-grid { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
.v3-lfu-grid > b, .v3-lfu-grid > label b { font-size: 13px; color: #3A3652; }
.v3-lfu-grid .input { min-height: 38px; }
.v3-lfu-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.v3-lfu-c {
  min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #E6E3F5; background: #FFFFFF; color: #3A3652;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.v3-lfu-c.is-blue[aria-pressed="true"] { background: #E8F0FE; border-color: #1558B0; color: #1558B0; }
.v3-lfu-c.is-purple[aria-pressed="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.v3-lfu-ans { padding: 0 12px 0 5px; }
.v3-lfu-ans .v3-ic { width: 22px; height: 22px; background: var(--sc); }
.v3-lfu-ans[aria-pressed="true"] { border-color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, #FFFFFF); color: #1E1B33; }
.v3-lfu-hint { font-size: 12px; color: #7B61FF; font-weight: 600; }
.v3-lfu-acts { display: flex; justify-content: flex-end; gap: 8px; }
.v3-lfu-acts .v3-mini { min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; }
.v3-lfu-acts .v3-pb { min-height: 38px; }
@media (max-width: 640px) {
  .v3-lfu-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v3-lfu-grid > b, .v3-lfu-grid > label { margin-top: 6px; }
}

/* ===== Alerts (התראות) ===== */
.nav-badge.v3-badge-red { background: #E5484D; }
.v3-alerts { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.v3-alerts-head { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.v3-alerts-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.v3-alerts-head .v3-pb[disabled] { opacity: .55; cursor: default; }
.v3-alerts-head .v3-chip { min-height: 34px; font-size: 13px; }
.v3-agroup { padding: 12px; }
.v3-agroup-h { margin: 4px 8px 8px; font-size: 13px; font-weight: 600; color: #8A87A0; }
.v3-arow {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-top: 2px; border: 1.5px solid transparent; border-radius: 14px;
  background: #FFFFFF; text-align: right; font-family: inherit; color: #1E1B33; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.v3-arow.is-new { background: #FBFAFF; }
@media (hover: hover) and (pointer: fine) { .v3-arow:hover { border-color: #E2DAFB; transform: translateX(-2px); } }
.v3-arow:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-aic { width: 38px; height: 38px; border-radius: 12px; flex: none; }
.v3-atx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v3-atx b { font-size: 14.5px; font-weight: 500; }
.v3-arow.is-new .v3-atx b { font-weight: 700; }
.v3-atx span { font-size: 12.5px; color: #6B6880; }
.v3-atime { font-size: 12px; color: #8A87A0; white-space: nowrap; }
.v3-adot { width: 10px; height: 10px; border-radius: 50%; background: transparent; flex: none; }
.v3-arow.is-new .v3-adot { background: #E5484D; }
.v3-alerts-to { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.v3-alerts-to > b { font-size: 14px; }
.v3-alerts-to .v3-seg button[aria-checked="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
@media (prefers-reduced-motion: reduce) { .v3-lfu, .v3-arow, .v3-logpill { animation: none !important; transition: none !important; } }
@media (max-width: 1100px) {
  .v3-lhead { display: none; }
  .v3-lrow > .v3-lgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px 10px; }
  .v3-lrow > .v3-lgrid > :nth-child(4), .v3-lrow > .v3-lgrid > .v3-lnext, .v3-lrow > .v3-lgrid > .v3-lacts { grid-column: 1 / -1; }
  .v3-lacts { width: auto; }
}

/* ===== Shared for clients, the folder, the form and the galleries ===== */
.v3-av {
  flex: none; width: 44px; height: 44px; border-radius: 12px; color: #FFFFFF; font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.v3-av-blue, .v3-cover-blue { background: linear-gradient(135deg, #1A73E8, #7B61FF); }
.v3-av-purple, .v3-cover-purple { background: linear-gradient(135deg, #7B61FF, #E8739B); }
.v3-av-pink, .v3-cover-pink { background: linear-gradient(135deg, #E8739B, #7B61FF); }
.v3-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.v3-tag i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.v3-t-blue { background: #E8F0FE; color: #1558B0; } .v3-t-blue i { background: #1A73E8; }
.v3-t-purple { background: #EFEBFF; color: #4B36B8; } .v3-t-purple i { background: #7B61FF; }
.v3-t-pink { background: #FCE9F0; color: #9C2F57; } .v3-t-pink i { background: #E8739B; }
.v3-t-gray { background: #F4F4F8; color: #3A3652; } .v3-t-gray i { background: #8A87A0; }
.v3-fg-blue { color: #1558B0; } .v3-fg-purple { color: #4B36B8; } .v3-fg-pink { color: #9C2F57; } .v3-fg-gray { color: #6B6880; }
.v3-dot-pink { background: #E8739B; } .v3-dot-gray { background: #8A87A0; } .v3-dot-grad { background: var(--v3-grad); }
.v3-pbar { display: block; height: 5px; border-radius: 999px; background: #EEECF7; overflow: hidden; max-width: none; }
.v3-pbar > span { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(0.23, 1, 0.32, 1); }
.v3-pbar-blue { background: #1A73E8; } .v3-pbar-purple { background: #7B61FF; } .v3-pbar-pink { background: #E8739B; } .v3-pbar-gray { background: #8A87A0; }
.v3-back { align-self: flex-start; font-size: 13px; color: #6B6880; text-decoration: none; }
.v3-back:hover { color: #4B36B8; }
.v3-ib { width: 34px; height: 34px; border-radius: 11px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v3-ib-lg { width: 38px; height: 38px; }
.v3-cempty { margin: 0; padding: 28px; text-align: center; color: #6B6880; }
.v3-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.v3-chip {
  --bg: #FFFFFF; --bd: #E6E3F5; --fg: #3A3652; --glow: rgba(123, 97, 255, .2);
  min-height: 36px; padding: 0 12px 0 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.v3-chip > span:not(.v3-ic) { font-weight: 500; opacity: .7; }
.v3-chip[aria-pressed="true"] { --bg: var(--c-bg); --bd: var(--c-bd); --fg: var(--c-bd); }
.v3-chip:not(:has(.v3-ic)) { padding: 0 14px; }
.v3-chips-sep { width: 1px; height: 24px; background: #E6E3F5; margin: 0 4px; }
.v3-monbtn svg:last-child { transition: transform .25s ease; }
.v3-monbtn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.v3-seg-ic button { width: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ===== Clients ===== */
.v3-chead-card { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.v3-chead-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.v3-monbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.v3-monbox:not([hidden]) { animation: v3-rise .35s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-monbox button {
  min-height: 38px; border-radius: 12px; border: 1.5px solid #ECEAF4; background: #FFFFFF; color: #3A3652;
  font-family: inherit; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.v3-monbox button span { font-weight: 500; font-size: 12px; opacity: .7; }
.v3-monbox button[aria-pressed="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.v3-crows { padding: 8px; }
.v3-cgrid { display: grid; grid-template-columns: minmax(190px, 1.5fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1.5fr); gap: 14px; align-items: center; }
.v3-chead { padding: 8px 12px; font-size: 12px; font-weight: 600; color: #8A87A0; }
.v3-crow {
  padding: 6px 12px; border: 1.5px solid transparent; border-top-color: #F3F2F8; border-radius: 14px; font-size: 13.5px; color: var(--ink); text-decoration: none;
  transition: background-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) { .v3-crow:hover, .v3-grow:hover { transform: translateX(-3px); box-shadow: 0 6px 18px rgba(75, 54, 184, .10); background: #FFFFFF; } }
.v3-crow:focus-visible, .v3-grow:focus-visible, .v3-ccard:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-cr-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.v3-cr-name { min-width: 0; display: flex; flex-direction: column; }
.v3-cr-name b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-cr-name span { font-size: 12px; color: #8A87A0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-cr-date { white-space: nowrap; }
.v3-cr-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-cr-gal { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.v3-cr-gal b { font-weight: 600; font-size: 13px; }
.v3-cr-gal span, .v3-cr-sub { font-size: 11.5px; color: #8A87A0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-cr-pay { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v3-cr-payl { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.v3-cr-payl b { font-weight: 600; }
.v3-cr-payl span { color: #8A87A0; font-size: 12px; }
.v3-cgridcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.v3-ccard { padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.v3-ccover { position: relative; display: flex; align-items: center; justify-content: center; height: 128px; border-radius: 16px; overflow: hidden; }
.v3-ccover-in { color: rgba(255, 255, 255, .92); font-size: 40px; font-weight: 700; letter-spacing: .02em; transition: transform .45s cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .v3-ccard:hover .v3-ccover-in { transform: scale(1.07); } }
.v3-cbar { position: absolute; top: 0; right: 0; left: 0; height: 5px; }
.v3-cwho { padding: 0 6px; display: flex; flex-direction: column; }
.v3-cwho b { font-size: 16.5px; }
.v3-cwho span { font-size: 12.5px; color: #6B6880; }
.v3-clines { display: flex; flex-direction: column; gap: 5px; padding: 8px 6px 0; border-top: 1px solid #F0EEF7; }
.v3-cline { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.v3-cline i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.v3-cline-l { width: 48px; flex: none; color: #8A87A0; }
.v3-cline b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) {
  .v3-chead { display: none; }
  .v3-crow.v3-cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; padding: 10px 12px; }
  .v3-crow .v3-cr-who { grid-column: 1 / -1; }
}

/* ===== Galleries ===== */
.v3-ghead { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.v3-gsum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.v3-gsum > div { padding: 12px; border-radius: 16px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.v3-gsum .v3-ic { border-radius: 11px; }
.v3-gsum b { display: block; font-size: 22px; line-height: 1.1; }
.v3-gsum span span { font-size: 12.5px; color: #6B6880; }
.v3-gsum-pink { background: #FCE9F0; } .v3-gsum-pink b { color: #9C2F57; }
.v3-gsum-purple { background: #EFEBFF; } .v3-gsum-purple b { color: #4B36B8; }
.v3-gsum-blue { background: #E8F0FE; } .v3-gsum-blue b { color: #1558B0; }
.v3-gsum-gray { background: #F4F4F8; } .v3-gsum-gray b { color: #3A3652; }
.v3-grows { padding: 8px; }
.v3-grow {
  display: grid; grid-template-columns: minmax(200px, 1.2fr) 2fr 1.2fr; gap: 18px; align-items: center; padding: 12px 14px;
  border: 1.5px solid transparent; border-top-color: #F3F2F8; border-radius: 14px; color: var(--ink); text-decoration: none;
  transition: background-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
.v3-gsteps { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.v3-gsteps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; min-width: 0; }
.v3-gsteps li + li::before { content: ''; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: #ECEAF4; }
.v3-gsteps li.is-done::before, .v3-gsteps li.is-now::before { background: #7B61FF; }
.v3-gdot {
  position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #DCD6F7; background: #FFFFFF; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.v3-gdot svg { opacity: 0; }
.v3-gsteps li.is-done .v3-gdot { background: #7B61FF; border-color: #7B61FF; }
.v3-gsteps li.is-done .v3-gdot svg { opacity: 1; }
.v3-gsteps li.is-now .v3-gdot { border-color: #7B61FF; box-shadow: 0 0 0 4px rgba(123, 97, 255, .18); }
.v3-gt { font-size: 11.5px; color: #8A87A0; font-weight: 500; white-space: nowrap; }
.v3-gsteps li.is-now .v3-gt { color: #4B36B8; font-weight: 700; }
.v3-gdetail { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #3A3652; }
@media (max-width: 900px) {
  .v3-gsum { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .v3-grow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .v3-gt { font-size: 10.5px; white-space: normal; text-align: center; }
}

/* ===== The client's folder ===== */
.v3-cf-head { padding: 8px; display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.v3-cf-av {
  width: 150px; min-height: 130px; border-radius: 16px; flex: none; color: rgba(255, 255, 255, .95);
  display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700;
}
.v3-cf-who { flex: 1 1 300px; padding: 10px 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v3-cf-name { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.v3-cf-who > .v3-muted { font-size: 14px; }
.v3-cf-btns { display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 10px; }
.v3-cf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.v3-cf-box { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.v3-boxhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.v3-ilist { display: flex; flex-direction: column; }
.v3-irow { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #F3F2F8; font-size: 14px; min-height: 32px; }
.v3-ilabel { color: #8A87A0; font-size: 13px; }
.v3-ival { min-width: 0; overflow-wrap: anywhere; }
.v3-ival a { color: var(--ink); }
.v3-iacts { display: flex; gap: 6px; }
.v3-iacts .v3-ib { width: 30px; height: 30px; border-radius: 9px; }
.v3-qapack { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #F4F1FF; color: #4B36B8; font-size: 13.5px; flex-wrap: wrap; }
.v3-qapack > span { flex: 1; }
.v3-qalist { margin: 0; display: flex; flex-direction: column; }
.v3-qalist > div { padding: 6px 0; border-top: 1px solid #F3F2F8; }
.v3-qalist dt { font-size: 12.5px; color: #8A87A0; }
.v3-qalist dd { margin: 0; font-size: 14px; white-space: pre-line; }
.v3-strack { list-style: none; margin: 0; padding: 0; display: flex; }
.v3-strack li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; min-width: 0; }
.v3-strack li + li::before { content: ''; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px; background: #ECEAF4; }
.v3-strack li.is-done::before, .v3-strack li.is-now::before { background: #7B61FF; }
.v3-sn {
  position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #DCD6F7; background: #FFFFFF; color: #8A87A0;
  font-family: inherit; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0;
}
button.v3-sn { cursor: pointer; transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1); }
button.v3-sn:active { transform: scale(.92); }
button.v3-sn:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-strack li.is-done .v3-sn { background: #7B61FF; border-color: #7B61FF; color: #FFFFFF; }
.v3-strack li.is-now .v3-sn { background: #E8F0FE; border-color: #1558B0; color: #1558B0; box-shadow: 0 0 0 4px rgba(26, 115, 232, .15); }
.v3-st { font-size: 12px; color: #8A87A0; font-weight: 500; text-align: center; }
.v3-strack li.is-now .v3-st { color: var(--ink); font-weight: 700; }
.v3-sbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F8F7FD; font-size: 14px; }
.v3-edcount { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; flex-wrap: wrap; font-size: 13.5px; }
.v3-edin { width: 70px; min-height: 36px; padding: 2px 6px; text-align: center; font-size: 17px; font-weight: 700; color: #4B36B8; }
.v3-edbar { width: 120px; height: 6px; }
.v3-sfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.v3-chrow {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #ECEAF4; background: #FBFAFF;
  font-family: inherit; color: var(--ink); cursor: pointer; text-align: right; width: 100%;
}
.v3-chrow.is-static { cursor: default; }
.v3-chrow > svg { color: #4B36B8; transition: transform .25s ease; flex: none; }
.v3-chrow[aria-expanded="true"] > svg { transform: rotate(180deg); }
.v3-chrow:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-chpills { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.v3-chpill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px;
  background: #FAFAFD; border: 1px solid #ECEAF4; font-size: 12.5px; font-weight: 600; color: #A9A5BC;
}
.v3-chpill.is-ok { background: #FFFFFF; border-color: #E2DAFB; color: #3A3652; }
.v3-chpill-ic { width: 26px; height: 26px; background: #F4F3F9; color: #B5B1C8; }
.v3-chpill.is-ok .v3-chpill-ic { color: #FFFFFF; }
.v3-chrow-t { font-size: 13px; font-weight: 600; color: #4B36B8; white-space: nowrap; }
.v3-chdetail { display: flex; flex-direction: column; gap: 12px; }
.v3-chdetail:not([hidden]) { animation: v3-rise .35s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-chroute { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #F4F7FE; font-size: 13.5px; color: #1558B0; }
.v3-chroute-t { flex: 1 1 260px; }
.v3-chgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v3-chgroup { padding: 12px; border-radius: 16px; border: 1.5px solid #ECEAF4; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v3-chghead { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.v3-chghead .v3-muted { font-size: 12.5px; }
.v3-chgnote { margin-inline-start: auto; font-size: 12px; color: #8A87A0; }
.v3-chitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.v3-chitem { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.v3-chimg { display: block; height: 76px; border-radius: 11px; background: #EEEAF8 center / cover no-repeat; }
.v3-chitem b { display: block; font-size: 12.5px; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.v3-chitem > span:last-child:not(.v3-chimg) { display: block; font-size: 11.5px; color: #8A87A0; }
.v3-ctabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.v3-ctab {
  padding: 16px; display: flex; align-items: center; gap: 12px; text-align: right; font-family: inherit; color: var(--ink); cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .95);
}
.v3-ctab.is-open { border-color: var(--c-bd); }
.v3-ctab-ic { width: 46px; height: 46px; border-radius: 15px; }
.v3-ctab b { display: block; font-size: 15px; }
.v3-ctab .v3-muted { font-size: 12.5px; }
.v3-shell .send-gallery { background: rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: var(--v3-card-shadow); padding: 16px 20px; }
/* The gallery card */
.form-box.v3-gal { padding: 20px; gap: 16px; }
.v3-gal-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v3-gal-top .v3-h2 { margin-inline-end: 6px; }
.v3-wm { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6B6880; }
.v3-wm-prev { width: 54px; height: 36px; object-fit: cover; border-radius: 8px; background: #EEEAF8; }
.v3-wm-prev:not([src]) { visibility: hidden; }
.v3-upload { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; border-radius: 18px; scroll-margin: 120px; }
.v3-cullbox {
  padding: 16px 18px; border-radius: 18px; border: 1.5px solid transparent; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(90deg, #1A73E8, #7B61FF, #E8739B) border-box;
}
.v3-up-ic { width: 48px; height: 48px; border-radius: 15px; }
.v3-up-tx { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v3-up-tx b { font-size: 15.5px; color: var(--ink); }
.v3-up-tx span { font-size: 12.5px; color: #6B6880; }
.v3-direct {
  padding: 16px; border-radius: 18px; border: 2px dashed #C9C3E6; background: #FAF9FE; display: flex; align-items: center; gap: 12px;
  color: #4B36B8; cursor: pointer; transition: border-color .18s ease, background-color .18s ease;
}
.v3-direct:hover, .v3-direct.is-over { border-color: #7B61FF; background: #F4F1FF; }
.v3-direct:focus-within { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-direct-ic { width: 40px; height: 40px; border-radius: 13px; background: #EFEBFF; color: #7B61FF; }
.v3-direct .v3-up-tx b { font-size: 14.5px; }
.v3-pulse { animation: v3-pulse 1.6s cubic-bezier(0.23, 1, 0.32, 1) 2; }
@keyframes v3-pulse { 0% { box-shadow: 0 0 0 0 rgba(123, 97, 255, .45); } 70% { box-shadow: 0 0 0 16px rgba(123, 97, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 97, 255, 0); } }
.v3-galbar { height: 7px; background: #EEECF7; }
.v3-galtools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 10px; border-top: 1px solid #F0EEF7; }
.v3-galtools[hidden] { display: none; }
.v3-galtools-end { margin-inline-start: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.v3-galtools .v3-pb { min-height: 38px; }
@media (max-width: 1000px) {
  .v3-cf-two, .v3-chgroups { grid-template-columns: minmax(0, 1fr); }
  .v3-ctabs { grid-template-columns: minmax(0, 1fr); }
  .v3-upload { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .v3-cf-av { width: 100%; min-height: 90px; }
  .v3-cf-btns { flex-direction: row; flex-wrap: wrap; padding: 0 6px 6px; }
  .v3-st { font-size: 10px; }
  .v3-sn { width: 26px; height: 26px; font-size: 12px; }
  .v3-strack li + li::before { top: 12px; }
}

/* ===== New client / edit details ===== */
.v3-nc-head { padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.v3-nc-steps .wz-head { gap: 4px; }
.v3-nc-steps .wz-steps li + li::before { background: #ECEAF4; top: 17px; }
.v3-nc-steps .wz-steps li.is-current::before, .v3-nc-steps .wz-steps li.is-done::before { background: #7B61FF; }
.v3-nc-steps .wz-n { border: 1.5px solid #DCD6F7; color: #8A87A0; }
.v3-nc-steps .wz-steps li.is-done .wz-n { background: #7B61FF; border-color: #7B61FF; color: #FFFFFF; }
.v3-nc-steps .wz-steps li.is-current .wz-n { background: #E8F0FE; border-color: #1558B0; color: #1558B0; box-shadow: 0 0 0 4px rgba(26, 115, 232, .15); }
.v3-nc-steps .wz-t { color: #8A87A0; }
.v3-nc-steps .wz-steps li.is-current .wz-t { color: var(--ink); }
.v3-nc-steps .wz-steps li.is-done .wz-t { color: #4B36B8; }
.v3-nc-steps .wz-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v3-nc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.v3-ncform { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: none; width: auto; margin: 0; }
.v3-ncform > .form-box { padding: 22px 24px; gap: 16px; }
/* (the bottom row of step forms: see .wz-foot at the end of the file) */
.v3-ncform > .actions { gap: 10px; }
.v3-ncform .field > label, .v3-ncform .field > .label { font-size: 13px; font-weight: 600; color: #3A3652; }
.v3-in-lg { font-size: 16px; min-height: 50px; }
.v3-fwrap { position: relative; display: block; }
.v3-fic { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); display: flex; pointer-events: none; }
.v3-fwrap .input { padding-right: 38px; width: 100%; }
.v3-tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.v3-tchip {
  min-height: 38px; padding: 0 14px 0 6px; border-radius: 999px; border: 1.5px solid #E6E3F5; background: #FFFFFF; color: #3A3652;
  font-family: inherit; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.v3-tchip .v3-ic { width: 26px; height: 26px; background: #F4F3F9; color: #6B6880; }
.v3-tchip[aria-checked="true"] { background: var(--c-bg); border-color: var(--c-bd); color: var(--c-bd); }
.v3-tchip[aria-checked="true"] .v3-ic { background: var(--c-solid); color: #FFFFFF; }
.v3-tchip:active { transform: scale(.97); }
.v3-tchip:focus-visible, .v3-pack:focus-visible, .v3-switch:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-dpwrap { position: relative; }
.v3-dpbtn { display: flex; align-items: center; gap: 10px; text-align: right; cursor: pointer; font-family: inherit; color: var(--ink); width: 100%; max-width: 420px; min-height: 46px; }
.v3-dpbtn.is-empty { color: #8A87A0; }
.v3-dp { position: absolute; top: 80px; right: 0; z-index: 20; width: 340px; max-width: calc(100vw - 40px); padding: 14px; box-shadow: 0 20px 50px rgba(75, 54, 184, .22); background: #FFFFFF; }
.v3-dp:not([hidden]) { animation: v3-rise .3s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-dp-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.v3-dp-head > b { flex: 1; text-align: center; font-size: 15px; color: var(--ink); }
.v3-dp-head .v3-ib { width: 30px; height: 30px; border-radius: 9px; }
.v3-dp-head .v3-seg { width: 100%; justify-content: center; }
.v3-dp-dn, .v3-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.v3-dp-dn { text-align: center; font-size: 11.5px; color: #8A87A0; font-weight: 600; margin-bottom: 4px; }
.v3-dp-grid button {
  height: 40px; border-radius: 11px; border: 1.5px solid transparent; background: #FAFAFD; color: var(--ink); font-family: inherit; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.v3-dp-grid button b { font-size: 13.5px; font-weight: 600; }
.v3-dp-grid button span { font-size: 9.5px; opacity: .7; }
.v3-dp-grid button:hover { background: #F4F1FF; }
.v3-dp-grid button.is-today { border-color: #DCD6F7; }
.v3-dp-grid button[aria-pressed="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.v3-dp-grid button:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 1px; }
.v3-dp-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.v3-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v3-packs > p { grid-column: 1 / -1; }
.v3-packs.is-off { opacity: .45; }
.v3-pack {
  position: relative; padding: 18px 12px 16px; border-radius: 18px; border: 1.5px solid #ECEAF4; background: #FCFCFE; font-family: inherit; color: var(--ink);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  transition: border-color .18s ease, box-shadow .2s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.v3-pack:disabled { cursor: default; }
@media (hover: hover) and (pointer: fine) { .v3-pack:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(75, 54, 184, .10); } }
.v3-pack[aria-checked="true"] { border-color: var(--c-bd); background: #FFFFFF; box-shadow: 0 10px 24px rgba(75, 54, 184, .14); }
.v3-pack-ck {
  position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-solid); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease;
}
.v3-pack[aria-checked="true"] .v3-pack-ck { opacity: 1; transform: scale(1); }
.v3-pack-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--c-bg); color: var(--c-bd); margin-bottom: 4px; }
.v3-pack-n { font-size: 15px; }
.v3-pack-p { font-size: 21px; color: var(--c-bd); line-height: 1.2; }
.v3-pack-d { font-size: 12px; color: #6B6880; }
.v3-swrow {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #ECEAF4; background: #FFFFFF; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.v3-swrow:has(.v3-switch:checked) { border-color: #E8739B; background: #FDF5F8; }
.v3-swrow-ic { width: 30px; height: 30px; border-radius: 10px; background: #FCE9F0; color: #9C2F57; }
.v3-swrow-t { flex: 1; display: flex; flex-direction: column; }
.v3-swrow-t b { font-size: 14px; color: var(--ink); }
.v3-swrow-t span { font-size: 12.5px; color: #6B6880; }
.v3-switch {
  -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px;
  background: #DCD6F7; cursor: pointer; transition: background-color .2s ease;
}
.v3-switch::after {
  content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(30, 20, 60, .3); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.v3-switch:checked { background: #E8739B; }
.v3-switch:checked::after { transform: translateX(-18px); }
.v3-packsum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F8F7FD; border: 1.5px solid #ECEAF4; flex-wrap: wrap; }
.v3-packsum[hidden], .v3-pe[hidden] { display: none; }
.v3-packsum > span { flex: 1 1 200px; font-size: 13.5px; color: #3A3652; }
.v3-packsum b { font-size: 15px; }
.v3-pe { padding: 16px; border-radius: 18px; background: #F8F7FD; border: 1.5px solid #E2DAFB; display: flex; flex-direction: column; gap: 12px; }
.v3-pe:not([hidden]) { animation: v3-rise .35s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-pe-t { font-size: 14px; }
.v3-spick { margin-top: 8px; }
.v3-nc-sum { padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 18px; }
.v3-nc-sumtop { border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.v3-nc-sumtop b { font-size: 17px; color: var(--ink); }
.v3-nc-sumtop .v3-muted { font-size: 12.5px; }
.v3-nc-av { width: 54px; height: 54px; font-size: 20px; font-weight: 700; }
.v3-nc-row { display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.v3-nc-row .v3-ic { width: 30px; height: 30px; border-radius: 10px; }
.v3-nc-rowt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v3-nc-rowt > span { font-size: 11.5px; color: #8A87A0; }
.v3-nc-rowt b { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.v3-nc-rowt b.is-empty { font-weight: 400; color: #8A87A0; }
.v3-nc-ck { width: 18px; height: 18px; border-radius: 50%; background: #E6E3F5; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.v3-nc-ck.is-ok { background: #7B61FF; }
.v3-nc-bar { margin: 4px 10px 0; height: 6px; }
.v3-nc-done { padding: 0 10px; }
@media (max-width: 1000px) {
  .v3-nc-grid { grid-template-columns: minmax(0, 1fr); }
  .v3-nc-sum { position: static; order: -1; }
  .v3-packs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 760px) {
  .shell { padding: 10px; gap: 10px; }
  .sidebar { position: static; min-height: 0; flex: 1 1 100%; }
  .panel { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .filter-chip, .chip, .icon-btn { transition: none !important; transform: none !important; }
  .v3-rise, .v3-halo, .v3-flow, .v3-soft, .v3-pulse, .v3-monbox, .v3-chdetail, .v3-dp, .v3-pe { animation: none !important; }
  .v3-crow, .v3-grow, .v3-tchip, .v3-pack, .v3-pack-ck, .v3-switch::after, .v3-pbar > span, .v3-ccover-in { transition: none !important; }
  .v3-b, .v3-nv, .v3-ic, .v3-nic, .v3-chk, .v3-cell, .v3-lift, .v3-cheer, .v3-track > span { transition: none !important; }
  .v3-b::after { display: none; }
  .v3-cheer { transform: none; }
}

/* ===== Width fix (2026-11-17): the page never scrolls sideways. The shell is the viewport's width (100%, never 100vw),
   and the color spots / hover nudges can not push it wider than the screen. ===== */
html, body { max-width: 100%; overflow-x: clip; }
.shell { width: 100%; max-width: 100%; }
@media (min-width: 761px) { .sidebar { min-height: calc(100dvh - 36px); } }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

/* ===== Shared: header cards, jump row, warning card, two columns ===== */
.v3-set-head, .v3-lib-head { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.v3-lib-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.v3-set-head h1, .v3-lib-head h1 { margin: 0; }
.v3-set-head .v3-hint, .v3-lib-head .v3-hint { margin-top: 4px; }
.v3-set-tabs { margin-top: 8px; }
.v3-set-tabs a {
  min-height: 32px; padding: 0 12px; border-radius: 999px; color: #8A87A0; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; text-decoration: none;
}
.v3-set-tabs a[aria-current="page"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.v3-setnav { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid #F0EEF7; }
.v3-setnav:empty { display: none; }
.v3-setnav .v3-chip { min-height: 32px; font-size: 12.5px; padding: 0 12px; }
.v3-warn {
  margin: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: #FDF1F5; border: 1.5px solid #F5CBD9; color: #9C2F57; font-size: 14px; font-weight: 500; line-height: 1.55;
}
.v3-warn > span:not(.v3-ic) { flex: 1; }
.v3-g2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.v3-cols2 { columns: 2 380px; column-gap: 18px; }
.v3-cols2 > section { break-inside: avoid; margin-bottom: 18px; width: 100%; box-sizing: border-box; display: flex; }
.v3-cols2 > section[hidden] { display: none; }

/* ===== Settings ===== */
.steps-form.v3-settings { max-width: none; gap: 18px; }
.v3-settings .form-box, .v3-prices .form-box, .v3-shell .qe-step { padding: 20px; gap: 12px; }
.v3-settings .box-title.v3-h2 { font-size: 16.5px; }
.v3-settings .box-hint { margin: 0; font-size: 13.5px; color: #6B6880; }
.v3-settings .form-box .field label, .v3-settings .form-box .label, .v3-settings legend { font-size: 13px; font-weight: 600; color: #3A3652; }
.v3-settings .form-box .input, .v3-settings .form-box .select, .v3-settings .form-box .textarea { min-height: 44px; }
.v3-settings .form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.v3-settings > .actions { justify-content: flex-start; }
.v3-settings .check-line { font-size: 14px; color: #3A3652; line-height: 1.5; }
.v3-settings .check-line input, .v3-prices .check-line input, .v3-shell .qe-req input { accent-color: #7B61FF; }
.v3-shell .cal-toggle { background: #F4F3F9; border: 1.5px solid #ECEAF4; border-radius: 13px; }
.v3-shell .cal-toggle button { border-radius: 10px; font-weight: 600; color: #8A87A0; }
.v3-shell .cal-toggle button[aria-pressed="true"] { color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.v3-shell .work-table { gap: 8px; }
.v3-shell .work-head { font-size: 12px; font-weight: 600; color: #8A87A0; }
.v3-shell .work-type { display: flex; align-items: center; justify-content: flex-start; gap: 7px; font-size: 14px; font-weight: 600; background: none; color: var(--ink); }
.v3-shell .work-type::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.v3-shell .brand-slot { background: #FFFFFF; border: 1.5px solid #ECEAF4; border-radius: 16px; }
.v3-shell .brand-slot.is-active { border-color: #4B36B8; box-shadow: 0 6px 18px rgba(75, 54, 184, .12); }
.v3-shell .accent-more summary, .v3-shell details > summary { color: #4B36B8; font-weight: 600; cursor: pointer; }
.v3-settings .form-box.v3-pulse { scroll-margin-top: 18px; }
.v3-settings .v3-swrow { cursor: pointer; }
.v3-settings .v3-swrow:has(.v3-switch:checked) { border-color: #E2DAFB; background: #F8F6FF; }
.v3-settings .v3-swrow-ic { background: #EFEBFF; color: #4B36B8; }
.v3-settings .v3-switch:checked { background: #7B61FF; }
.v3-shell .chip { border-radius: 999px; border: 1.5px solid #E6E3F5; background: #FFFFFF; color: #3A3652; font-weight: 600; }
.v3-shell .chip[aria-pressed="true"] { background: #E8F0FE; border-color: #1558B0; color: #1558B0; }
.v3-shell .chip .chip-check { background: #EEECF7; }
.v3-shell .chip[aria-pressed="true"] .chip-check { background: #1A73E8; }

/* ===== The questionnaire ===== */
.v3-shell .qe-top { gap: 8px; }
.v3-shell .qe-saved { margin: -6px 4px 0; color: #4B36B8; font-weight: 600; }
.v3-shell .qe-saved:empty { display: none; }
.v3-shell .qe-warn.v3-warn { background: #FDF1F5; color: #9C2F57; }
.v3-shell .qe-step { border-radius: 22px; }
.v3-shell .qe-stepn { background: var(--v3-grad); }
.v3-shell .qe-q { background: #FAFAFD; border: 1.5px solid #F0EEF7; border-radius: 16px; }
.v3-shell .qe-stephead .icon-btn, .v3-shell .qe-move .icon-btn, .v3-shell .qe-side .icon-btn { color: #4B36B8; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #E3E1EE; border-radius: 10px; }
.v3-shell .qe-typechip { background: #F4F3F9; color: #8A87A0; }
.v3-shell .qe-typechip[aria-pressed="true"] { background: #EFEBFF; color: #4B36B8; }
.v3-shell .fu-chip { background: #EFEBFF; color: #4B36B8; }
.v3-shell .qe-addq { align-self: flex-start; }

/* ===== Price lists ===== */
.v3-prices .v3-chips .v3-tag svg { flex: none; }
.v3-plcomb { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.v3-plcomb .field label { font-size: 13px; font-weight: 600; color: #3A3652; }
.v3-plex { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F4F1FF; color: #4B36B8; font-size: 13.5px; line-height: 1.6; }
.v3-plex svg { flex: none; }
.v3-plgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 18px; align-items: start; }
.v3-plcard { padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.v3-plcover { position: relative; height: 120px; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.v3-plcover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 20, 60, .55), rgba(30, 20, 60, 0) 70%); }
.v3-plcover-t { color: rgba(255, 255, 255, .92); font-size: 34px; font-weight: 700; }
.v3-plspecs { position: absolute; z-index: 1; bottom: 10px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.v3-plchip { background: rgba(255, 255, 255, .92); color: #4B36B8; padding: 3px 10px; }
.v3-plkind { position: absolute; z-index: 1; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); color: #3A3652; padding: 3px 10px; }
.v3-plwhere { margin: 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #3A3652; }
.v3-plwhere .v3-seg button { min-height: 30px; font-size: 12.5px; }
.v3-plwhere .v3-seg button[aria-checked="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.v3-plwhere .v3-hint-sm { font-weight: 500; }
.v3-pltable { padding: 0 10px; }
.v3-plrow { display: grid; grid-template-columns: minmax(0, 1.6fr) .6fr .7fr .9fr; gap: 8px; align-items: center; padding: 9px 4px; border-top: 1px solid #F0EEF7; font-size: 14px; }
.v3-plhead { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 600; color: #8A87A0; }
.v3-plname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v3-plname b { display: flex; align-items: center; gap: 8px; }
.v3-plname b i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.v3-plname > span { font-size: 12px; color: #6B6880; }
.v3-ptag {
  align-self: flex-start; padding: 1px 8px; border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 600;
  background: #FFFFFF; color: #8A87A0; border: 1px dashed #C9C3E6; cursor: pointer;
}
.v3-ptag.is-on { background: #EFEBFF; color: #4B36B8; border: 1px solid #4B36B8; }
.v3-ptag.is-fixed { cursor: default; background: #E8F0FE; color: #1558B0; border: 1px solid transparent; }
.v3-ptag:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-plnone { margin: 0 10px; }
.v3-plfoot { margin: 0 10px; padding: 10px 12px; border-radius: 14px; background: #F7F6FC; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
.v3-plfoot > span > span { display: block; color: #8A87A0; font-size: 12px; }
.v3-plbtns { display: flex; gap: 8px; padding: 0 10px; }
.v3-plbtns .v3-pb { flex: 1; justify-content: center; }
.v3-plprev:not(:empty) { scroll-margin-top: 18px; padding: 16px; background: rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: var(--v3-card-shadow); }
.v3-prices #pl-form { max-width: none; }
.v3-prices #pl-form > .page-title { font-size: 22px !important; }
.v3-prices .pack-row { border: 1.5px solid #ECEAF4; border-radius: 16px; background: #FAFAFD; }
.v3-prices .wz-steps li + li::before { background: #ECEAF4; }
.v3-prices .wz-steps li.is-current::before, .v3-prices .wz-steps li.is-done::before { background: #7B61FF; }
.v3-prices .wz-n { border: 1.5px solid #DCD6F7; color: #8A87A0; }
.v3-prices .wz-steps li.is-done .wz-n { background: #7B61FF; border-color: #7B61FF; color: #FFFFFF; }
.v3-prices .wz-steps li.is-current .wz-n { background: #E8F0FE; border-color: #1558B0; color: #1558B0; box-shadow: 0 0 0 4px rgba(26, 115, 232, .15); }
.v3-prices .wz-steps li.is-current .wz-t { color: var(--ink); }
.v3-shell .read-status { border-radius: 14px; }

/* ===== Library ===== */
.v3-libcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.v3-libcat {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid #ECEAF4; background: #FFFFFF;
  font-family: inherit; color: var(--ink); cursor: pointer; text-align: right;
  transition: border-color .18s ease, background-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease;
}
.v3-libcat .v3-ic { border-radius: 12px; }
.v3-libcat b { display: block; font-size: 14.5px; }
.v3-libcat span span { font-size: 12px; color: #6B6880; }
.v3-libcat[aria-selected="true"] { background: var(--c-bg); border-color: var(--c-bd); }
.v3-libcat[aria-selected="true"] b { color: var(--c-bd); }
@media (hover: hover) and (pointer: fine) { .v3-libcat:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(75, 54, 184, .10); } }
.v3-libcat:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-libspecs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 12px; border-top: 1px solid #F0EEF7; }
.v3-libspecs > span { font-size: 13px; margin-inline-end: 4px; }
.v3-libspecs .v3-chip { min-height: 34px; font-size: 13px; }
.v3-libsec { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.v3-lib .loc-board, .v3-lib .regions-ask { padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--v3-card-shadow); }
.v3-lib .regions-ask { max-width: 720px; }
.v3-lib .regions-ask-icon { background: var(--v3-grad); }
.v3-lib .regions-ask-icon svg { stroke: #FFFFFF; }
.v3-lib .regions-ask-title { font-size: 19px; font-weight: 600; }
.v3-lib .regions-ask-why { font-size: 14px; color: #6B6880; }
.v3-lib .ra-del { background: #F4F3F9; }
/* The stages as small cards, each with what is still missing */
.v3-lib .loc-stepper { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.v3-lib .loc-stepper li + li::before { content: none; }
.v3-lib .loc-stepper button {
  width: 100%; min-height: 56px; padding: 8px 10px; gap: 10px; border-radius: 16px; border: 1.5px solid #ECEAF4; background: #FFFFFF;
  color: var(--ink); text-align: right; font-size: 14px;
  transition: border-color .18s ease, background-color .18s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1);
}
.v3-lib .loc-stepper .loc-step-n {
  display: inline-flex; width: 30px; height: 30px; flex: none; border-radius: 50%; align-items: center; justify-content: center;
  background: #FCE9F0; color: #9C2F57; font-weight: 700; font-size: 13px;
}
.v3-lib .loc-stepper button.is-ok .loc-step-n { background: #7B61FF; color: #FFFFFF; }
.v3-lib .loc-step-t { display: flex; flex-direction: column; min-width: 0; }
.v3-lib .loc-step-t b { font-size: 14px; font-weight: 600; }
.v3-lib .loc-step-m { font-size: 12px; color: #6B6880; }
.v3-lib .loc-stepper button.has-miss .loc-step-m { color: #9C2F57; font-weight: 600; }
.v3-lib .loc-stepper button[aria-current="step"] { background: #E8F0FE; border-color: #1558B0; color: #1558B0; font-weight: 600; }
.v3-lib .loc-stepper button[aria-current="step"] .loc-step-n { box-shadow: 0 0 0 4px rgba(26, 115, 232, .15); }
.v3-lib .loc-stepper button:hover { color: var(--ink); transform: translateY(-1px); }
.v3-lib .loc-stepper button:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lib .loc-guide { background: #F4F7FE; color: #1558B0; border-radius: 14px; font-size: 14px; }
.v3-lib .loc-missing-toggle {
  align-self: flex-start; min-height: 40px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1.5px solid #F5CBD9; background: #FDF5F8;
  color: #3A3652; font-size: 13.5px; font-weight: 600; gap: 10px;
}
.v3-lib .loc-missing-toggle input:not(.v3-switch) { accent-color: #E8739B; }
.v3-lib .loc-tile { border-radius: 16px; padding: 6px 6px 10px; background: #FFFFFF; border: 1.5px solid #ECEAF4; transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease, border-color .18s ease; }
@media (hover: hover) and (pointer: fine) { .v3-lib .loc-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(75, 54, 184, .12); } }
.v3-lib .loc-tile .loc-img { border-radius: 12px; }
.v3-lib .loc-tile .loc-name, .v3-lib .loc-tile .loc-meta { padding: 0 4px; }
.v3-lib .loc-tile.is-missing { border-color: #F5CBD9; background: #FDF7FA; }
.v3-lib .loc-tile.is-missing .loc-meta { color: #9C2F57; }
.v3-lib .loc-meta.is-missing { color: #9C2F57; }
.v3-lib .loc-tile.is-selected, .v3-lib .loc-tile.is-editing { border-color: #4B36B8; background: #F8F6FF; }
.v3-lib .loc-tile.is-selected .loc-img, .v3-lib .loc-tile.is-editing .loc-img { box-shadow: none; }
.v3-lib .loc-tile.is-selected .loc-check, .v3-lib .loc-check-btn[aria-pressed="true"] .loc-check { background: #7B61FF; }
.v3-lib .loc-add, .v3-lib .loc-drop { border-radius: 16px; border: 2px dashed #C9C3E6; background: #FAF9FE; color: #4B36B8; box-shadow: none; }
.v3-lib .loc-add svg, .v3-lib .loc-drop svg { color: #7B61FF; }
.v3-lib .loc-add:hover, .v3-lib .loc-add.is-over, .v3-lib .loc-drop:hover, .v3-lib .loc-drop.is-over, .v3-lib .loc-drop:focus-within { border-color: #7B61FF; background: #F4F1FF; box-shadow: none; }
.v3-lib .loc-region { background: #FFFFFF; border: 1.5px solid #E6E3F5; color: #3A3652; }
.v3-lib .loc-region.is-viewing { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; box-shadow: none; }
.v3-lib .loc-region-new { background: #E8F0FE; border-color: #1558B0; color: #1558B0; }
.v3-lib .loc-actionbar { background: #FFFFFF; color: var(--ink); border: 1.5px solid #E2DAFB; border-radius: 18px; box-shadow: 0 16px 40px rgba(75, 54, 184, .18); }
.v3-lib .loc-actionbar .btn-link { color: #4B36B8; }
.v3-lib .map-settings { padding: 12px 14px; border-radius: 16px; background: #F8F7FD; border: 1.5px solid #ECEAF4; }
.v3-lib .loc-map { border-radius: 18px; overflow: hidden; }
.v3-lib .pl-item { border-top-color: #F3F2F8; }
.v3-lib .pl-thumb, .v3-lib .lib-photo { border-radius: 12px; }
.v3-lib #lib-form { box-shadow: none; border: 1.5px solid #E2DAFB; background: #FAFAFD; }
.v3-shell .pop { border-radius: 20px; box-shadow: 0 24px 60px rgba(75, 54, 184, .25); }
.v3-shell .pop-sec { border-color: #ECEAF4 !important; border-radius: 16px; }
.v3-shell .pop-sec legend { color: #4B36B8; }
.v3-shell .lib-photo.pick[aria-pressed="true"] { box-shadow: 0 0 0 3px #7B61FF; }
.v3-shell .lib-photo .pick-check { background: #7B61FF; }
.v3-shell .loc-board .filter-chip span { opacity: .7; }

/* ===== The rest of the pages (payments, Gmail, setup steps, help): v3 cards and buttons by CSS ===== */
.v3-shell .page-head {
  padding: 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--v3-card-shadow); align-items: center; animation: v3-rise .55s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.v3-shell .page-head .page-title { font-size: 26px; }
.v3-still .page-head { animation: none; }
.v3-shell .money-top { margin-bottom: 0; }
.v3-shell .money-cards { gap: 12px; margin-bottom: 18px; }
.v3-shell .mc { border: 1px solid rgba(255, 255, 255, .95); border-top: 0; border-radius: 18px; box-shadow: var(--v3-card-shadow); background: #FFFFFF; position: relative; overflow: hidden; }
.v3-shell .mc::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--c); }
.v3-shell .mc-in { --c: #1A73E8; } .v3-shell .mc-out { --c: #E8739B; } .v3-shell .mc-net { --c: #7B61FF; } .v3-shell .mc-debt { --c: #9C2F57; }
.v3-shell .mc-in b { color: #1558B0; } .v3-shell .mc-out b { color: #9C2F57; } .v3-shell .mc-net b { color: #4B36B8; } .v3-shell .mc-debt b { color: #9C2F57; }
.v3-shell .ct-wrap { border-color: #F0EEF7; border-radius: 16px; }
.v3-shell .ct thead th { background: #F7F6FC; color: #8A87A0; }
.v3-shell .ct th, .v3-shell .ct td { border-bottom-color: #F3F2F8; }
.v3-shell .money-table tr.is-now th, .v3-shell .money-table tr.is-now td { background: #F4F1FF; }
.v3-shell .money-table tfoot th, .v3-shell .money-table tfoot td { background: #F7F6FC; }
.v3-shell .money-table .neg, .v3-shell .money-list .neg { color: #9C2F57; }
.v3-shell .bar-in, .v3-shell .lg-in { background: #1A73E8; }
.v3-shell .bar-out, .v3-shell .lg-out { background: #E8739B; }
.v3-shell .money-list li, .v3-shell .pay-list li { border-bottom-color: #F3F2F8; }
.v3-shell .money-list a { color: var(--ink); }
.v3-shell .main > .form-box, .v3-shell #money-mount > .form-box { margin-bottom: 18px; }
.setup .form-box, .setup-intro { border-radius: 22px; }
.setup-intro { background: #F4F7FE; color: #1558B0; }
.setup-bars span { background: #EEECF7; }
.setup-bars span.on { background: linear-gradient(90deg, #1A73E8, #7B61FF); }
.help-fab {
  background: #E8F0FE; color: #1558B0; border: 1.5px solid #1558B0; box-shadow: 0 8px 22px rgba(26, 115, 232, .25);
  font-family: inherit; font-weight: 600;
}
.help-fab span { background: #1A73E8; color: #FFFFFF; }
.help-panel { border-radius: 22px; box-shadow: 0 24px 60px rgba(75, 54, 184, .25); border: 1px solid #ECE8FA; }
.help-head { background: linear-gradient(120deg, #E3EDFD, #ECE7FF, #FBE6EE); color: var(--ink); }
.help-panel .filter-chip[aria-pressed="true"] { background: #EFEBFF; color: #4B36B8; box-shadow: inset 0 0 0 1.5px #4B36B8; }
.help-item summary { color: var(--ink); }
.help-a a { color: #1558B0; }

@media (max-width: 700px) {
  .v3-plfoot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v3-plrow { grid-template-columns: minmax(0, 1.4fr) .5fr .6fr .9fr; font-size: 13px; }
  .v3-plbtns { flex-wrap: wrap; }
  .v3-set-head .v3-pb { width: 100%; justify-content: center; }
  .v3-shell .page-head .page-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-libcat, .v3-lib .loc-stepper button, .v3-lib .loc-tile { transition: none !important; transform: none !important; }
  .v3-shell .page-head { animation: none !important; }
}

/* ===== Library v3: one screen per category (like design/demo-v3.html) ===== */
.v3-libcats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .v3-libcats { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.v3-libhint { font-size: 12.5px; margin: 0; }
.v3-libbox { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.v3-libbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v3-libgroups { font-size: 13.5px; color: #3A3652; }
.v3-libside { font-size: 12.5px; margin-inline-start: auto; }
.v3-libmisstag { margin-inline-start: auto; }
.v3-libmiss { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #3A3652; cursor: pointer; }
.v3-libavg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6B6880; }
.v3-libavg .input { width: 64px; min-height: 30px; padding: 0 8px; font-size: 13px; text-align: center; }
.v3-seg-sm button { min-height: 26px; padding: 0 10px; font-size: 11.5px; }
.v3-llink { border: none; background: none; padding: 0; font-family: inherit; font-size: 13px; font-weight: 600; color: #7B61FF; cursor: pointer; }
.v3-llink:hover { color: #4B36B8; text-decoration: underline; }
.v3-llink:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; border-radius: 4px; }
.v3-libnote { margin: 0; padding: 10px 14px; border-radius: 14px; background: #F4F7FE; color: #1558B0; font-size: 14px; line-height: 1.5; }
.v3-libdrop {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-radius: 18px; border: 2px dashed #C9C3E6;
  background: #FAF9FE; font-family: inherit; color: #4B36B8; cursor: pointer; text-align: right; width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.v3-libdrop b { display: block; font-size: 15px; }
.v3-libdrop span span { font-size: 12.5px; color: #6B6880; }
.v3-libdrop:hover, .v3-libdrop.is-over, .v3-libdrop:focus-within, .v3-libdrop:focus-visible { border-color: #7B61FF; background: #F4F1FF; outline: none; }
.v3-lrows { display: flex; flex-direction: column; gap: 10px; }
.v3-lrow {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 18px;
  border: 1.5px solid #ECEAF4; background: #FFFFFF; transition: border-color .18s ease, background-color .18s ease;
}
.v3-lrow.is-missing { border-color: #F5CBD9; background: #FFFBFD; }
.v3-lrow-img {
  position: relative; width: 108px; height: 108px; border-radius: 14px; border: none; padding: 0; cursor: pointer;
  background: #F1EFF9 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #7B61FF;
}
.v3-lrow-img > span { position: absolute; bottom: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(30, 27, 51, .62); color: #FFFFFF; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.v3-lrow-img:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lrow-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v3-lrow-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v3-lrow-name { flex: 0 1 220px; min-height: 38px; font-weight: 600; }
.v3-lrow .input.is-miss { border-color: #E8739B; background: #FFF8FB; }
.v3-lrow .input.is-miss::placeholder { color: #9C2F57; }
.v3-lchips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; padding: 2px; border-radius: 999px; }
.v3-lchips.is-miss { box-shadow: 0 0 0 1.5px #F5CBD9; background: #FFF8FB; padding: 2px 4px; }
.v3-lmiss { font-size: 12px; color: #9C2F57; padding: 0 6px; }
.v3-lrow-tools { display: inline-flex; gap: 6px; margin-inline-start: auto; }
.v3-lrow-tools .v3-ib { width: 32px; height: 32px; color: #6B6880; }
.v3-ib-del:hover { color: #9C2F57; }
.v3-lline { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.v3-llbl { font-size: 12px; color: #8A87A0; width: 52px; flex: none; }
.v3-lline.is-miss .v3-llbl { color: #9C2F57; font-weight: 700; }
.v3-lc {
  min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1.5px solid #ECEAF4; background: #FFFFFF; color: #6B6880;
  font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}
.v3-lc:hover { border-color: #C9C3E6; color: #3A3652; }
.v3-lc:active { transform: scale(.96); }
.v3-lc:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lc[aria-pressed="true"] { background: var(--c-bg); border-color: var(--c-bd); color: var(--c-bd); }
.v3-lc[data-row-month] { min-width: 38px; padding: 0 6px; }
.v3-lline:has([data-row-all][aria-pressed="true"]) [data-row-month] { color: #C9C3E6; }
.v3-lc-dash { border-style: dashed; border-color: #C9C3E6; color: #4B36B8; }
.v3-lc-dash[aria-expanded="true"] { background: #F4F1FF; border-color: #7B61FF; }
.v3-lline.is-miss .v3-lc:not([aria-pressed="true"]) { border-color: #F5CBD9; }
.v3-ldot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.v3-lmap {
  margin-inline-start: auto; min-height: 32px; padding: 0 12px 0 5px; border-radius: 999px; border: 1.5px solid #E6E3F5; background: #FFFFFF;
  color: #3A3652; font-family: inherit; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.v3-lmap .v3-ic { width: 22px; height: 22px; background: #1A73E8; }
.v3-lmap.is-miss { background: #FCE9F0; border-color: #E8739B; color: #9C2F57; }
.v3-lmap.is-miss .v3-ic { background: #E8739B; }
.v3-lmap[aria-expanded="true"] { border-color: #7B61FF; background: #F4F1FF; color: #4B36B8; }
.v3-lmap:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lhours { flex-basis: 100%; padding-inline-start: 56px; font-size: 11.5px; color: #6B6880; }
/* A pop-up drawn inside the row: same form and bind, no floating */
.v3-inrow { padding: 12px; border-radius: 16px; background: #FBFAFF; border: 1.5px solid #E2DAFB; animation: v3-rise .3s cubic-bezier(0.23, 1, 0.32, 1) both; }
.pop.v3-inpop, .v3-shell .pop.v3-inpop {
  position: static; transform: none; width: auto; max-width: none; max-height: none; overflow: visible; z-index: auto;
  box-shadow: none; border-radius: 0; padding: 0; background: transparent;
}
.pop.v3-inpop.cal, .v3-shell .pop.v3-inpop.cal { max-width: 380px; }
.v3-inpop .pin-map { height: 240px; border-radius: 14px; }
.v3-vmap { display: flex; flex-direction: column; gap: 8px; }
.v3-vmap .pin-map { height: 240px; border-radius: 14px; }
.v3-lgrid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.v3-lgrid2 .input, .v3-lrow-body > .input { min-height: 38px; }
.v3-lgrid2 .v3-lrow-name { flex: none; }
/* Categories of sets, asked once */
.v3-libask { padding: 24px; display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.v3-askchip {
  min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1.5px solid #E6E3F5; background: #FFFFFF; color: #3A3652;
  font-family: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.v3-askchip i { width: 20px; height: 20px; border-radius: 50%; background: #E6E3F5; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; }
.v3-askchip[aria-pressed="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.v3-askchip[aria-pressed="true"] i { background: #7B61FF; }
.v3-askchip:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-askadd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.v3-askadd .input { max-width: 280px; min-height: 40px; }
.v3-askbtns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Accessories, clothes and the instructions: tiles */
.v3-accgrid, .v3-ofgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.v3-ofgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.v3-accadd {
  min-height: 190px; border-radius: 16px; border: 2px dashed #C9C3E6; background: #FAF9FE; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; color: #4B36B8; cursor: pointer; text-align: center; padding: 10px;
}
.v3-accadd b { font-size: 13.5px; }
.v3-accadd > span:not(.v3-ic) { font-size: 12px; color: #6B6880; }
.v3-accadd:hover, .v3-accadd.is-over, .v3-accadd:focus-within { border-color: #7B61FF; background: #F4F1FF; }
.v3-acctile, .v3-oftile {
  display: flex; flex-direction: column; padding: 0; border-radius: 16px; border: 1.5px solid #ECEAF4; background: #FFFFFF; overflow: hidden;
  font-family: inherit; color: var(--ink); text-align: right; cursor: pointer;
  transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) { .v3-acctile:hover, .v3-oftile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(75, 54, 184, .12); } }
.v3-acctile:focus-visible, .v3-oftile:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-acctile.is-missing, .v3-oftile.is-missing { border-color: #F5CBD9; }
.v3-acctile.is-open, .v3-oftile.is-open { border-color: #7B61FF; box-shadow: 0 0 0 3px rgba(123, 97, 255, .15); }
.v3-acc-img { position: relative; display: block; height: 116px; background: #F1EFF9 center / cover no-repeat; }
.v3-acc-txt { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v3-acc-txt b { font-size: 13.5px; }
.v3-acc-txt > span:not(.v3-tag):not(.v3-ofdots) { font-size: 11.5px; color: #6B6880; overflow-wrap: anywhere; }
.v3-acc-txt .v3-tag { align-self: flex-start; font-size: 11px; padding: 2px 8px; }
.v3-acc-txt .v3-ofmiss { color: #9C2F57 !important; font-weight: 600; }
.v3-ofthumbs { position: absolute; bottom: 6px; left: 6px; display: flex; gap: 3px; }
.v3-ofthumbs span { width: 28px; height: 28px; border-radius: 8px; border: 2px solid #FFFFFF; background: #EEE center / cover no-repeat; }
.v3-ofdots { display: flex; gap: 4px; }
.v3-ofdots span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .08); }
.v3-ofh { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.v3-inrow > .pop.v3-inpop.pop-wide { width: auto; }
@media (max-width: 640px) {
  .v3-lrow { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .v3-lrow-img { width: 72px; height: 72px; }
  .v3-lrow-name { flex: 1 1 100%; }
  .v3-llbl { width: 100%; }
  .v3-lhours { padding-inline-start: 0; }
  .v3-lmap { margin-inline-start: 0; }
  .v3-lgrid2 { grid-template-columns: minmax(0, 1fr); }
  .v3-libmisstag, .v3-libside { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-inrow { animation: none; }
  .v3-acctile, .v3-oftile, .v3-lc, .v3-lrow, .v3-libdrop { transition: none !important; transform: none !important; }
}

/* ===== Steppers everywhere: the line sits behind the circles and stops at their edges ===== */
.wz-steps li, .stage-track li { --dot: 34px; --gap: 6px; }
.v3-gsteps li, .gal-steps li { --dot: 24px; --gap: 5px; }
.v3-strack li { --dot: 30px; --gap: 5px; }
.wz-steps li + li::before, .stage-track li + li::before {
  left: calc(50% + var(--dot) / 2 + var(--gap)); right: calc(-50% + var(--dot) / 2 + var(--gap)); width: auto; z-index: 0;
}
.v3-gsteps li + li::before, .v3-strack li + li::before {
  left: calc(50% + var(--dot) / 2 + var(--gap)); width: calc(100% - var(--dot) - 2 * var(--gap)); z-index: 0;
}
.gal-steps li::before { inset-inline-start: calc(50% + var(--dot) / 2 + var(--gap)); width: calc(100% - var(--dot) - 2 * var(--gap)); z-index: 0; }
.wz-n, .stage-track .wz-n, .v3-gdot, .v3-sn, .gal-dot { position: relative; z-index: 1; }
@media (max-width: 700px) { .stage-track li { --dot: 28px; } }
@media (max-width: 620px) { .v3-strack li { --dot: 26px; } }

/* ===== 2026-11-17, round 4: calendar kinds, choice reminders, print approval, receipt reading, mid-width layout ===== */
/* Calendar: her own things by kind (צילום blue / משימה purple / שירות pink / עריכה gradient), reminders as a dashed purple outline */
.v3-ev-pink { background: #FCE9F0; color: #9C2F57; }
.v3-ev-grad { background: linear-gradient(90deg, #E8F0FE, #EFEBFF 55%, #FCE9F0); color: #4B36B8; }
.v3-ev-blue.is-done, .v3-ev-pink.is-done, .v3-ev-grad.is-done, .v3-ev-remind.is-done { text-decoration: line-through; opacity: .6; }
.v3-ev-remind { background: #FFFFFF; color: #4B36B8; border: 1px dashed #7B61FF; }
.v3-legend.is-remind { border-color: #7B61FF; border-style: dashed; color: #4B36B8; }
.v3-dev-item { padding: 8px 10px 8px 8px; }
.v3-dev-item.is-done .v3-dev-tx b { text-decoration: line-through; opacity: .6; }
.v3-dev-pink { background: #FCE9F0; border-color: #9C2F57; color: #9C2F57; }
.v3-dev-grad { background: linear-gradient(120deg, #E8F0FE, #EFEBFF 55%, #FCE9F0); border-color: #4B36B8; color: #4B36B8; }
.v3-dev-item.v3-dev-blue { color: #1558B0; }
.v3-dev-remind { background: #FFFFFF; border: 1.5px dashed #7B61FF; color: #4B36B8; padding: 8px 10px 8px 8px; gap: 6px; }
.v3-dev-remind .v3-dev-ic { background: #7B61FF; width: 34px; height: 34px; border-radius: 11px; }
.v3-dev-remind .v3-dev-ck { color: inherit; text-decoration: none; }
.v3-dev-remind.is-done { opacity: .6; }
.v3-calkind { flex-wrap: wrap; border-radius: 16px; }
.v3-calkind button { display: inline-flex; align-items: center; gap: 6px; }
.v3-kdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.v3-kdot-blue { background: #1A73E8; } .v3-kdot-purple { background: #7B61FF; } .v3-kdot-pink { background: #E8739B; } .v3-kdot-grad { background: var(--v3-grad); }
.v3-k-grad { background: linear-gradient(120deg, #E8F0FE, #EFEBFF 55%, #FCE9F0); color: #4B36B8; }
@media (max-width: 700px) {
  .v3-ev-pink { background: #E8739B; }
  .v3-ev-grad { background: var(--v3-grad); }
  .v3-ev-remind { background: #FFFFFF; border: 1.5px dashed #7B61FF; height: 7px; }
}

/* Settings: reminders to the client */
.v3-rm-rule { padding: 12px 14px; border-radius: 14px; background: #F8F7FD; border: 1.5px solid #ECEAF4; display: flex; flex-direction: column; gap: 10px; }
.v3-rm-rule .v3-swrow { background: transparent; padding: 0; }
.v3-rm-prev { margin: 0; padding: 10px 14px; border-radius: 14px; background: #F4F1FF; font-size: 13.5px; color: #4B36B8; line-height: 1.6; white-space: pre-line; }

/* Client folder: print approval */
.v3-st-sub { display: block; font-size: 11px; font-weight: 600; color: #9C2F57; }
.v3-print {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px;
  background: #F8F7FD; border: 1.5px solid #ECEAF4;
}
.v3-print-ic { width: 38px; height: 38px; border-radius: 12px; background: #7B61FF; flex: none; }
.v3-print-tx { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v3-print-tx b { font-size: 14.5px; color: var(--ink); }
.v3-print-tx span { font-size: 13px; color: #6B6880; }
.v3-print-acts { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.v3-print.is-asked { background: #FCE9F0; border-color: #E8739B; }
.v3-print.is-asked .v3-print-ic { background: #E8739B; }
.v3-print.is-asked .v3-print-tx b { color: #9C2F57; }
.v3-print.is-approved { background: #E8F0FE; border-color: #1558B0; }
.v3-print.is-approved .v3-print-ic { background: #1A73E8; }
.v3-print.is-approved .v3-print-tx b { color: #1558B0; }

/* Payments: reading the client's receipt */
.v3-rcpt {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px;
  background: #F4F1FF; border: 1.5px solid #D9D1FF;
}
.v3-rcpt-ic { width: 38px; height: 38px; border-radius: 12px; background: #7B61FF; flex: none; }
.v3-rcpt-tx { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v3-rcpt-tx b { font-size: 14.5px; color: #4B36B8; }
.v3-rcpt-tx span { font-size: 13px; color: #6B6880; }
.v3-rcpt-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; }
#pay-form.v3-pulse { border-radius: 14px; }

/* Layout at middle widths (about 761-1000px): the menu no longer floats over the page. It sits above the content,
   full width and not sticky, as on a phone; on wider screens the menu and the content never wrap under each other. */
@media (min-width: 1001px) {
  .shell { flex-wrap: nowrap; }
  .content { flex: 1 1 0; }
}
@media (max-width: 1000px) {
  .sidebar { position: static; min-height: 0; flex: 1 1 100%; }
  .panel { position: static; }
}
/* (the menu items in a few columns there, so the menu stays short above the page) */
@media (max-width: 1000px) and (min-width: 561px) {
  .sidebar .nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
/* Client photo instead of initials (applyCovers in photographer.js) */
.v3-has-cover { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; color: transparent !important; text-shadow: none !important; }
.v3-has-cover .v3-ccover-in { opacity: 0; }

/* Client folder: the album card (answers, notes, approval) */
.v3-album { display: flex; flex-direction: column; gap: 10px; }
.v3-album-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v3-album-top .v3-h2 { margin: 0; }
.v3-album-acts { margin-inline-start: auto; display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.v3-album .v3-irow { grid-template-columns: minmax(110px, 180px) minmax(0, 1fr); }
.v3-al-photo { display: inline-block; width: 72px; height: 72px; border-radius: 12px; background: #EFEBFF center / cover no-repeat; border: 1.5px solid #E3E1EE; vertical-align: middle; }
.v3-album-notes { padding: 12px 14px; border-radius: 16px; background: #FCE9F0; border: 1.5px solid #E8739B; }
.v3-album-notes b { color: #9C2F57; font-size: 13.5px; }
.v3-album-notes p { margin: 4px 0 0; white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: var(--ink); }

/* Settings: "שאלות על האלבום" */
.v3-aq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.v3-aq { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; background: #F8F7FD; border: 1.5px solid #ECEAF4; }
.v3-aq-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #FCE9F0; color: #9C2F57; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 6px; }
.v3-aq-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.v3-aq-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.v3-aq-row .select { flex: 0 1 170px; }
.v3-aq-row .input { flex: 1 1 180px; min-width: 0; }
.v3-aq-acts { flex: none; display: inline-flex; gap: 4px; }
.v3-aq-acts .v3-ib[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 560px) { .v3-aq { flex-wrap: wrap; } .v3-aq-acts { width: 100%; justify-content: flex-end; } }
/* Person icon instead of initials (until there is a cover photo) */
.v3-person { width: 52%; height: 52%; max-width: 46px; max-height: 46px; opacity: .75; }
.v3-has-cover .v3-person { opacity: 0; }


/* ===== Round 6 (2026-11-18): task dialog, time estimates and the day's plan, client covers, responsive shell ===== */

/* Client cards: no colored status bar; the person icon in the exact middle of every cover / avatar */
.v3-cbar { display: none !important; }
.v3-ccover-in { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 0; }
.v3-person { display: block; flex: none; margin: auto; }
.v3-av, .v3-next-av, .v3-cf-av, .v3-ccover { line-height: 0; }
.v3-av .v3-person { width: 60%; height: 60%; }

/* Delete with a confirm on the button itself ("למחוק?") */
.v3-del { --fg: #6B6880; position: relative; }
.v3-del .v3-del-q { display: none; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.v3-del.is-armed { width: auto; padding: 0 12px; gap: 6px; --bg: #FCE9F0; --bd: #9C2F57; --fg: #9C2F57; background: #FCE9F0; border-color: #9C2F57; color: #9C2F57; }
.v3-del.is-armed .v3-del-q { display: inline; }
.v3-del:disabled { opacity: .5; cursor: progress; }
.v3-cal-addbtn { justify-content: center; }

/* "היום": the estimated minutes on each row, and the day's plan */
.v3-task-min {
  flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: #F4F1FF; color: #4B36B8; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.v3-task.is-done .v3-task-min { opacity: .5; }
.v3-plan { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.v3-plan .v3-week-head { flex-wrap: wrap; gap: 8px; }
.v3-plan-start { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6B6880; font-weight: 600; }
.v3-plan-start .input { width: 104px; min-height: 36px; padding: 2px 8px; font-size: 14px; direction: ltr; text-align: center; }
.v3-plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v3-plan-row { display: flex; align-items: flex-start; gap: 10px; padding: 7px 2px; border-top: 1px solid #F3F2F8; font-size: 13.5px; }
.v3-plan-row:first-child { border-top: 0; }
.v3-plan-t { flex: none; width: 50px; display: flex; flex-direction: column; line-height: 1.2; direction: ltr; text-align: right; }
.v3-plan-t b { font-size: 14px; color: var(--ink); }
.v3-plan-t span { font-size: 11.5px; color: #8A87A0; }
.v3-plan-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.v3-plan-dot.v3-k-blue { background: #1A73E8; } .v3-plan-dot.v3-k-purple { background: #7B61FF; } .v3-plan-dot.v3-k-pink { background: #E8739B; }
.v3-plan-row.is-fixed .v3-plan-t b { color: #1558B0; }
.v3-plan-tx { flex: 1; min-width: 0; color: #3A3652; overflow-wrap: anywhere; }
.v3-plan-tx .v3-muted { font-size: 12px; }
.v3-plan-foot { margin-top: 6px; }

/* "משימה חדשה": a dialog in the middle */
body.v3-modal-on { overflow: hidden; }
.v3-modal-wrap {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(30, 27, 51, .32); backdrop-filter: blur(3px); animation: v3-fade .2s ease both;
}
@keyframes v3-fade { from { opacity: 0; } to { opacity: 1; } }
.v3-modal {
  width: 640px; max-width: 100%; max-height: calc(100dvh - 40px); overflow: auto; padding: 22px; display: flex; flex-direction: column; gap: 8px;
  background: #FFFFFF; border-radius: 26px; box-shadow: 0 30px 80px rgba(75, 54, 184, .30);
  animation: v3-pop .32s cubic-bezier(.34, 1.4, .64, 1) both;
}
@keyframes v3-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.v3-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.v3-modal-head .v3-h2 { margin: 0; font-size: 22px; }
.v3-modal-l { font-size: 13.5px; font-weight: 600; color: #3A3652; margin-top: 6px; display: block; }
.v3-modal-l .v3-muted { font-weight: 400; }
.v3-modal-in { min-height: 50px; font-size: 16px; }
.v3-modal-err { margin: 0; min-height: 0; color: #9C2F57; font-size: 13px; font-weight: 600; }
.v3-modal-err:empty { display: none; }
.v3-modal-kinds { flex-wrap: wrap; border-radius: 18px; align-self: flex-start; }
.v3-modal-kinds button { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; }
.v3-modal-kinds button[aria-checked="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15), inset 0 0 0 1.5px #4B36B8; }
.v3-modal-kinds button:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 1px; }
.v3-modal-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.v3-dp.v3-dp-inline { position: static; width: auto; max-width: none; box-shadow: none; border: 1.5px solid #ECEAF4; border-radius: 18px; padding: 10px; margin-top: 6px; animation: none; }
.v3-dp-inline .v3-dp-head .v3-seg button { min-height: 30px; }
.v3-modal-opt { display: flex; flex-direction: column; gap: 4px; }
.v3-modal-opt .input { min-height: 44px; }
#tm-at { direction: ltr; text-align: right; }
.v3-modal-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.v3-modal-quick .v3-chip { min-height: 34px; font-size: 12.5px; }
.v3-modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.v3-modal-foot .v3-pb { min-height: 46px; }
@media (prefers-reduced-motion: reduce) { .v3-modal, .v3-modal-wrap { animation: none !important; } }

/* ===== Responsive shell =====
   Desktop (over 1024px): the side menu as before.
   Tablet (601-1024px): a narrow icon rail; its button opens the full menu over the page.
   Phone (600px and less): a bar on top with the logo and a menu button; the menu slides in from the side. */
.v3-topbar, .v3-scrim, .v3-menubtn { display: none; }
.v3-side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.v3-sidebar .nav .v3-nv .nav-badge { margin-inline-start: auto; }
.v3-menubtn { position: relative; width: 44px; height: 44px; border-radius: 14px; --fg: #4B36B8; }
.v3-menudot { position: absolute; top: 7px; left: 7px; width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 2px #FFFFFF; }

@media (max-width: 1024px) {
  .shell { flex-wrap: nowrap; padding: 12px; gap: 12px; }
  .content { flex: 1 1 0; min-width: 0; }
  .v3-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(30, 27, 51, .28); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .shell.is-menu-open .v3-scrim { opacity: 1; pointer-events: auto; }
}

/* Tablet: the icon rail */
@media (max-width: 1024px) and (min-width: 601px) {
  .sidebar.v3-sidebar {
    flex: 0 0 72px; width: 72px; padding: 12px 8px; gap: 12px; position: sticky; top: 12px;
    min-height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; z-index: 50; scrollbar-width: none;
  }
  .v3-side-top { flex-direction: column-reverse; }
  .v3-railbtn { display: inline-flex; }
  .v3-sidebar .brand { padding: 0; justify-content: center; }
  .v3-sidebar .brand-name { display: none; }
  .v3-sidebar .brand-logo { max-width: 52px; max-height: 40px; object-fit: contain; }
  .v3-sidebar .nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .nav .v3-nv { position: relative; width: 52px; min-height: 48px; padding: 0; justify-content: center; }
  .v3-sidebar .v3-nl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v3-sidebar .nav .v3-nv .nav-badge { position: absolute; top: 2px; left: 2px; min-width: 18px; height: 18px; font-size: 10.5px; padding: 0 4px; margin: 0; }
  .v3-sidebar .nav-sub { display: none; }
  .v3-sidebar .v3-nic { width: 34px; height: 34px; }
  /* opened: the whole menu over the page */
  .shell.is-menu-open { padding-inline-start: 96px; }
  .shell.is-menu-open .sidebar.v3-sidebar { position: fixed; top: 12px; bottom: 12px; right: 12px; width: 270px; max-height: none; min-height: 0; box-shadow: 0 24px 60px rgba(75, 54, 184, .25); background: #FFFFFF; animation: none; }
  .shell.is-menu-open .v3-side-top { flex-direction: row; }
  .shell.is-menu-open .v3-sidebar .brand-name { display: inline; }
  .shell.is-menu-open .v3-sidebar .nav { align-items: stretch; }
  .shell.is-menu-open .nav .v3-nv { width: auto; padding: 0 8px; justify-content: flex-start; }
  .shell.is-menu-open .v3-sidebar .v3-nl { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .shell.is-menu-open .v3-sidebar .nav .v3-nv .nav-badge { position: static; }
  .shell.is-menu-open .v3-sidebar .nav-sub { display: flex; }
  .main { padding: 4px 0 64px; }
}

/* Phone: the top bar and the slide-in menu */
@media (max-width: 600px) {
  .shell { display: block; padding: 0 12px 12px; }
  .v3-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 0; z-index: 45;
    margin: 0 -12px 10px; padding: 8px 12px; min-height: 60px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 #F0EEF7, 0 6px 18px rgba(75, 54, 184, .06);
  }
  .v3-topbar .v3-menubtn { display: inline-flex; }
  .v3-topbrand { padding: 0; text-decoration: none; color: var(--ink); min-width: 0; }
  .v3-topbrand .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .v3-topbrand .brand-name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v3-topbrand .brand-logo { max-height: 40px; max-width: 160px; object-fit: contain; }
  .sidebar.v3-sidebar {
    position: fixed; top: 0; bottom: 0; right: 0; z-index: 60; width: min(300px, 86vw); min-height: 0; max-height: none; margin: 0;
    border-radius: 22px 0 0 22px; padding: 16px 12px; overflow-y: auto; background: #FFFFFF;
    transform: translateX(105%); visibility: hidden; transition: transform .28s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear .28s;
    box-shadow: 0 24px 60px rgba(75, 54, 184, .25); animation: none;
  }
  .shell.is-menu-open .sidebar.v3-sidebar { transform: none; visibility: visible; transition: transform .28s cubic-bezier(0.23, 1, 0.32, 1); }
  .shell.is-menu-open .v3-railbtn { display: inline-flex; }
  .v3-sidebar .sidebar-foot { margin-top: 12px; }
  .sidebar .nav { display: flex; }
  .content { display: block; }
  .main { padding: 0 0 72px; gap: 14px; }
  .panel { margin-top: 14px; }
  /* touch targets */
  .v3-act, .v3-ib, .v3-calnav, .v3-lact { min-width: 44px; min-height: 44px; }
  .v3-chip, .v3-tab, .v3-seg button, .v3-monbox button { min-height: 44px; }
  .v3-lc { min-height: 38px; padding: 0 12px; }
  .v3-chk, .v3-cbox { width: 36px; height: 36px; }
  .nav .v3-nv { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .sidebar.v3-sidebar, .v3-scrim { transition: none !important; } }

/* ===== Pages on narrow screens ===== */
@media (max-width: 1024px) {
  .v3-today-grid { grid-template-columns: minmax(0, 1fr); }
  .v3-cf-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* headers: smaller titles, buttons full width */
  .v3-today-head, .v3-cal-head, .v3-leads-head, .v3-chead-card, .v3-ghead, .v3-set-head, .v3-lib-head, .v3-alerts-head { padding: 14px; }
  .v3-today-title { font-size: 22px; }
  .v3-cal-h1 { font-size: 22px; }
  .v3-today-btns { width: 100%; }
  .v3-today-btns > * { flex: 1 1 140px; justify-content: center; }
  .v3-card { border-radius: 18px; }
  .v3-tasks { padding: 14px 12px; }
  .v3-score { width: 100%; }
  .v3-track { flex: 1; }
  /* today's rows: icon, text, then the time and the buttons underneath */
  .v3-task { flex-wrap: wrap; gap: 8px 10px; padding: 10px; }
  .v3-task-n { display: none; }
  .v3-task-tx { flex: 1 1 calc(100% - 100px); }
  .v3-task-min { margin-inline-start: 46px; }
  .v3-task-acts { margin-inline-start: auto; flex-wrap: wrap; justify-content: flex-end; }
  .v3-quote { padding: 22px 44px 22px 18px; }
  /* calendar */
  .v3-cal-title { width: 100%; justify-content: space-between; }
  .v3-cal-tools { width: 100%; }
  .v3-cal-tools .v3-legend { font-size: 12px; }
  .v3-cal-tools [data-calnew] { flex: 1 1 100%; justify-content: center; }
  .v3-cal-side { flex-basis: 100%; }
  .v3-cday { min-height: 54px; }
  /* clients: rows become cards */
  .v3-crows { padding: 6px; display: flex; flex-direction: column; gap: 8px; }
  .v3-crow.v3-cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; border: 1.5px solid #F0EEF7; background: #FFFFFF; border-radius: 16px; }
  .v3-cgridcards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .v3-chead-top { flex-direction: column; align-items: stretch; }
  .v3-chead-top .v3-cal-tools { justify-content: space-between; }
  .v3-chips { gap: 6px; }
  .v3-chips .v3-chip { flex: 1 1 auto; justify-content: center; }
  .v3-chips-sep { display: none; }
  /* leads: each row a card */
  .v3-leads { padding: 10px 8px; }
  .v3-lrow > .v3-lgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 8px; padding: 12px; }
  .v3-lrow > .v3-lgrid > * { grid-column: 1 / -1; }
  .v3-lrow > .v3-lgrid > :nth-child(1), .v3-lrow > .v3-lgrid > :nth-child(2) { grid-column: auto; }
  .v3-lacts { width: auto; justify-content: flex-start; }
  .v3-lmore .v3-lin { width: 100%; }
  .v3-lq-input { width: 100%; flex: 1 1 100%; }
  .v3-lq-item { flex-wrap: wrap; }
  /* galleries */
  .v3-gsum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-grows { padding: 6px; display: flex; flex-direction: column; gap: 8px; }
  .v3-grow { border: 1.5px solid #F0EEF7; background: #FFFFFF; border-radius: 16px; }
  /* library rows */
  .v3-lrow:not(.lead-row) { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px; }
  .v3-lrow-img { width: 64px; height: 64px; }
  .v3-lrow-name { flex: 1 1 100%; }
  .v3-lrow-tools { margin-inline-start: 0; }
  .v3-lgrid2 { grid-template-columns: minmax(0, 1fr); }
  .v3-lhours { padding-inline-start: 0; }
  .v3-llbl { width: 100%; }
  .v3-libcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-plrow { grid-template-columns: minmax(0, 1fr) auto; }
  /* client folder */
  .v3-cf-av { width: 100%; min-height: 110px; }
  .v3-cf-btns { flex-direction: row; flex-wrap: wrap; padding: 0 6px 6px; width: 100%; }
  .v3-cf-btns > * { flex: 1 1 140px; justify-content: center; }
  .v3-cf-box { padding: 14px; }
  .v3-cf-name { font-size: 22px; }
  /* settings: one column */
  .v3-cols2 { columns: 1 !important; }
  /* dialogs almost full screen */
  .v3-modal-wrap { padding: 0; align-items: flex-end; }
  .v3-modal { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); }
  .v3-modal-two { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .v3-modal-foot > * { flex: 1 1 140px; justify-content: center; }
  .v3-modal-kinds { align-self: stretch; }
  .v3-modal-kinds button { flex: 1 1 40%; justify-content: center; }
  .pop:not(.v3-inpop) { width: calc(100vw - 16px) !important; max-width: none !important; max-height: 92dvh !important; }
  .ask { max-width: calc(100vw - 16px); }
}
.v3-topbrand.has-logo { border: 0; padding: 0; }
body:has(.shell.is-menu-open) .help-fab, body:has(.shell.is-menu-open) .help-panel { display: none; }
@media (max-width: 1024px) and (min-width: 601px) { .shell.is-menu-open .v3-sidebar .brand-logo { max-width: 170px; max-height: 56px; } }
body.v3-modal-on .help-fab { display: none; }

/* ===== Round 7 (2026-11-18): page tabs instead of sidebar sub-menus, gallery upload button, leads in the calendar, culling in v3 ===== */
/* Settings pages: a tidy segmented row on the page (the sidebar keeps single items) */
.v3-ptabs { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 4px; border-radius: 14px; background: #F4F3FA; border: 1.5px solid #ECEAF4; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.v3-ptabs::-webkit-scrollbar { display: none; }
.v3-ptabs a {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: 10px; gap: 7px; color: #6B6880; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.v3-ptabs a svg { color: #A6A2BC; transition: color .18s ease; }
.v3-ptabs a:hover { color: #3A3652; background: rgba(255, 255, 255, .6); }
.v3-ptabs a[aria-current="page"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 4px rgba(31, 27, 72, .14); }
.v3-ptabs a[aria-current="page"] svg { color: #7B61FF; }
.v3-ptabs a:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 1px; }
.page-head .v3-ptabs { margin-top: 10px; }
.v3-sidebar .nav-sub { display: none !important; }
.v3-set-head > div:first-child, .page-head > div:first-child { min-width: 0; }
@media (max-width: 600px) {
  .v3-set-head > div:first-child { flex: 1 1 100%; }
  .v3-ptabs { display: flex; width: 100%; }
  .v3-ptabs a { flex: 1 1 0; min-width: 0; justify-content: center; min-height: 44px; padding: 0 6px; font-size: 12.5px; }
  .v3-ptabs a span { overflow: hidden; text-overflow: ellipsis; }
  .v3-ptabs a svg { display: none; }
}

/* Gallery: "העלאה ישירה" shows a real button, and the culling box takes drops too */
.v3-direct { flex-wrap: wrap; }
.v3-direct-btn { display: inline-flex; align-items: center; flex: none; margin-inline-start: auto; min-height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; font-weight: 600; gap: 6px; color: #4B36B8; pointer-events: none; }
.v3-direct-btn svg { color: #7B61FF; flex: none; width: 15px; height: 15px; }
.v3-direct:hover .v3-direct-btn { border-color: #7B61FF; }
.v3-cullbox { transition: box-shadow .18s ease, background-color .18s ease; }
.v3-cullbox.is-over { background: linear-gradient(#F4F1FF, #F4F1FF) padding-box, linear-gradient(90deg, #1A73E8, #7B61FF, #E8739B) border-box; box-shadow: 0 0 0 4px rgba(123, 97, 255, .15); }
.v3-direct.is-over { box-shadow: 0 0 0 4px rgba(123, 97, 255, .15); }

/* Calendar: leads to call back (a task, purple) and a small mark on the day a lead got in touch */
.v3-ev-lead::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7B61FF; margin-inline-end: 4px; vertical-align: 1px; }
.v3-ev-lead.is-late { background: #FCE9F0; color: #9C2F57; }
.v3-ev-lead.is-late::before { background: #E8739B; }
.v3-ev-newlead { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: #8A87A0; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-ev-newlead i { flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #E8739B; background: #FFFFFF; }
.v3-ev-newlead:hover { color: #9C2F57; }
.v3-dev-lead { padding: 12px; }
.v3-dev-lead .v3-dev-ic { background: #7B61FF; }
.v3-dev-lead.is-late { background: #FCE9F0; border-color: #9C2F57; color: #9C2F57; }
.v3-dev-lead.is-late .v3-dev-ic { background: #E8739B; }
.v3-dev-newlead { background: #FFFFFF; border-color: #ECEAF4; border-style: dashed; color: #3A3652; }
.v3-dev-newlead .v3-dev-ic { background: #FCE9F0; color: #9C2F57; }
@media (max-width: 700px) {
  .v3-ev-lead { background: #7B61FF; }
  .v3-ev-lead::before { display: none; }
  .v3-ev-lead.is-late { background: #E8739B; }
  .v3-ev-newlead { font-size: 0; justify-content: center; }
}

/* ===== Culling (cull.js) in the v3 look: light, white header with the flowing line, cards, purple ticks ===== */
body.cull-open .help-fab, body.cull-open .help-panel { display: none; }
.cull { background: #FBFBFE; color: #1E1B33; font-family: 'Rubik', sans-serif; }
.cull::before { content: ''; flex: none; height: 4px; background: linear-gradient(90deg, #1A73E8, #7B61FF, #E8739B, #7B61FF, #1A73E8); background-size: 300% 100%; animation: v3-flow 4s linear infinite; }
.cull-bar { background: #FFFFFF; box-shadow: none; border-bottom: 1px solid #ECEAF4; padding: 12px 20px; gap: 8px; }
.cull-title { font-size: 16px; color: #1E1B33; display: inline-flex; align-items: center; gap: 10px; }
.cull-title::before {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16l-6 8v6l-4-2v-4z'/%3E%3C/svg%3E") center / 17px no-repeat, var(--v3-grad);
}
.cull-count { color: #3A3652; font-size: 13.5px; }
.cull-count b { color: #4B36B8; font-size: 16px; }
.cull-modes { background: #F4F3F9; border: 1.5px solid #ECEAF4; border-radius: 12px; padding: 3px; }
.cull-modes button { color: #6B6880; border-radius: 9px; min-height: 32px; font-family: inherit; font-size: 12.5px; }
.cull-modes button[aria-pressed="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.cull-btn {
  background: #FFFFFF; color: #3A3652; border: 1.5px solid #E3E1EE; border-radius: 11px; min-height: 36px; padding: 0 12px; font-family: inherit; font-size: 13px;
  transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease, border-color .2s ease;
}
.cull-btn:hover { filter: none; border-color: #C9C3E6; box-shadow: 0 4px 14px rgba(75, 54, 184, .10); transform: translateY(-1px); }
.cull-btn.small { min-height: 32px; padding: 0 10px; font-size: 12.5px; }
.cull-btn:disabled { opacity: .45; transform: none; box-shadow: none; }
.cull-primary { background: #E8F0FE; color: #1558B0; border-color: #1558B0; }
.cull-primary:hover { border-color: #1558B0; box-shadow: 0 6px 18px rgba(26, 115, 232, .22); }
#cull-upload { min-height: 38px; padding: 0 14px 0 10px; gap: 8px; }
#cull-upload::before {
  content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #1A73E8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5M7 10l5-5 5 5M5 19h14'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#cull-best::before { content: '★'; color: #7B61FF; font-size: 13px; }
.cull-x { background: #FFFFFF; color: #3A3652; border: 1.5px solid #E3E1EE; border-radius: 12px; font-size: 20px; }
.cull-x:hover { border-color: #C9C3E6; }
.cull-saved { color: #4B36B8; }
.cull-access { background: #FCE9F0; color: #9C2F57; border-radius: 14px; margin: 10px 20px 0; }

/* the start: a big dashed card, the steps as three soft cards */
.cull-start { gap: 14px; padding: 30px 20px; color: #3A3652; }
.cull-drop { width: min(640px, 100%); min-height: 0; padding: 34px 24px; border: 2px dashed #C9C3E6; border-radius: 22px; background: #FFFFFF; color: #6B6880; gap: 10px; transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease, border-color .2s ease; }
button.cull-drop { background: #FFFFFF; }
.cull-drop::before {
  content: ''; width: 60px; height: 60px; border-radius: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E") center / 28px no-repeat, var(--v3-grad);
}
.cull-drop:hover { border-color: #7B61FF; box-shadow: 0 10px 28px rgba(75, 54, 184, .12); transform: translateY(-2px); }
.cull-drop.is-over { background: #F4F1FF; border-color: #7B61FF; }
.cull-drop-title { color: #1E1B33; font-size: 19px; }
.cull-note { color: #6B6880; font-size: 13.5px; }
.cull-start .cull-note b, .cull-steph p b { color: #1E1B33; }
.cull-warn { color: #9C2F57; font-weight: 600; }
.cull-progress { gap: 14px; }
.cull-pbar { height: 8px; background: #EEECF7; }
.cull-pbar span { background: linear-gradient(90deg, #1A73E8, #7B61FF, #E8739B, #7B61FF, #1A73E8); background-size: 300% 100%; animation: v3-flow 4s linear infinite; border-radius: 999px; }
.cull-live img { border-radius: 10px; box-shadow: 0 2px 8px rgba(31, 27, 72, .12); }

/* the steps and the groups */
.cull-body { padding: 20px 20px 40px; gap: 16px; }
.cull-steph { background: #FFFFFF; border: 1px solid #ECEAF4; border-radius: 18px; padding: 14px 18px; box-shadow: 0 4px 18px rgba(31, 27, 72, .05); }
.cull-steph h2 { color: #1E1B33; font-size: 19px; }
.cull-steph p { color: #3A3652; font-size: 14px; }
.cull-stepn { background: #F4F1FF; color: #4B36B8; }
.cull-summary { color: #1E1B33; }
.cull-group { background: #FFFFFF; border: 1px solid #ECEAF4; border-radius: 18px; padding: 14px; }
.cull-ghead h3 { color: #1E1B33; font-size: 14px; }
.cull-blurry summary { color: #9C2F57; }
.cull-facenote { color: #4B36B8; }
.cull-softnote { color: #9C2F57; }

/* squares: a soft ring, a white tick circle that fills purple */
.cull-tile { background: #EEECF7; border-radius: 13px; outline: none; box-shadow: 0 0 0 3px transparent; transition: box-shadow .16s ease, transform .16s cubic-bezier(0.23, 1, 0.32, 1); }
.cull-cell .cull-tile, .cull-flat .cull-cell .cull-tile { border-radius: 13px; }
.cull-tile.is-picked, .cull-cell.is-picked .cull-tile { box-shadow: 0 0 0 3px #7B61FF; }
.cull-checkbtn, .cull-check, .cull-stripck { border: 2px solid #FFFFFF; background: rgba(30, 27, 51, .35); box-shadow: 0 2px 8px rgba(30, 20, 60, .25); }
.cull-checkbtn { color: rgba(255, 255, 255, .85); }
.cull-checkbtn[aria-pressed="true"], .is-picked > .cull-check, .cull-stripck[aria-pressed="true"] { background: #7B61FF; border-color: #FFFFFF; color: #FFFFFF; transform: scale(1.06); }
.cull-rank, .cull-place { background: rgba(255, 255, 255, .95); color: #4B36B8; box-shadow: 0 2px 6px rgba(30, 20, 60, .2); }
.cull-rank.is-best, .cull-place.is-best { background: var(--v3-grad); color: #FFFFFF; }
.cull-flags i, .cull-why i { background: #FCE9F0; color: #9C2F57; border-radius: 999px; }
.cull-flags i.is-up, .cull-why i.is-good { background: #EFEBFF; color: #4B36B8; }
.cull-rm, .cull-rot { background: rgba(255, 255, 255, .95); color: #3A3652; box-shadow: 0 2px 6px rgba(30, 20, 60, .2); }
.cull-rm:hover { background: #E8739B; color: #FFFFFF; }
.cull-rot:hover { background: #1A73E8; color: #FFFFFF; }

/* the view like Bridge: the big photo on a dark card, the strip in white */
.cull-bridgebar { color: #3A3652; padding: 10px 20px 0; }
.cull-bridgebar .muted, .cull-fname, .cull-hint { color: #8A87A0; }
.cull-stage { padding: 12px 20px; gap: 12px; }
.cull-fig { background: #FFFFFF; border: 1px solid #ECEAF4; border-radius: 18px; padding: 6px; outline: none; box-shadow: 0 0 0 3px transparent; }
.cull-fig.is-cur { box-shadow: 0 0 0 3px #1A73E8; }
.cull-fig.is-picked { box-shadow: 0 0 0 3px #7B61FF; }
.cull-imgbox { background: #1E1B33; border-radius: 13px; }
.cull-fig figcaption { color: #3A3652; padding: 2px 4px; }
.cull-pick { background: #FFFFFF; color: #4B36B8; border: 1.5px solid #E3E1EE; min-height: 34px; font-family: inherit; }
.cull-pick[aria-pressed="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.cull-strip { background: #FFFFFF; border-top: 1px solid #ECEAF4; padding: 10px 20px 12px; gap: 8px; }
.cull-thumb { background: #EEECF7; border-radius: 10px; outline: none; box-shadow: 0 0 0 2.5px transparent; opacity: .7; }
.cull-thumb.is-cur { box-shadow: 0 0 0 2.5px #1A73E8; opacity: 1; }
.cull-thumb.is-cmp { box-shadow: 0 0 0 2.5px #E8739B; opacity: 1; }
.cull-thumb.is-picked:not(.is-cur):not(.is-cmp) { box-shadow: 0 0 0 2.5px #7B61FF; }

/* enlarged */
.cull-zoom { background: rgba(251, 251, 254, .97); }
.cull-zoom-box { background: #1E1B33; border-radius: 18px; }
.cull-zoom-bar { color: #3A3652; }
.cull-zoom-bar .muted { color: #8A87A0; }
.cull-znav { background: #FFFFFF; color: #3A3652; border: 1.5px solid #E3E1EE; box-shadow: 0 4px 14px rgba(75, 54, 184, .10); font-size: 26px; }
@media (max-width: 640px) {
  .cull-bar { padding: 10px 12px; }
  .cull-title::before { width: 28px; height: 28px; border-radius: 9px; }
  .cull-btn, .cull-x, .cull-modes button { min-height: 44px; }
  .cull-body, .cull-start { padding: 14px 12px 30px; }
}

/* ===== Round 8 (2026-11-18): expenses (fixed monthly / yearly / one-off / per client), shoot types, "לצילומי" ===== */
.v3-ctabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 1001px) and (max-width: 1360px) { .v3-ctabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v3-exp { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.v3-exp-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v3-exp-total { margin-inline-start: auto; display: inline-flex; align-items: baseline; gap: 8px; }
.v3-exp-total b { font-size: 22px; color: #9C2F57; font-variant-numeric: tabular-nums; }
.v3-exp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.v3-exp-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 16px; text-align: right;
  background: #FFFFFF; border: 1.5px solid #E3E1EE; color: #3A3652; font-family: inherit; cursor: pointer;
  transition: transform .16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .2s ease, border-color .18s ease, background-color .18s ease;
}
.v3-exp-tab b { font-size: 14.5px; }
.v3-exp-tab span { font-size: 12px; color: #8A87A0; font-variant-numeric: tabular-nums; }
.v3-exp-tab[aria-selected="true"] { background: #EFEBFF; border-color: #4B36B8; color: #4B36B8; }
.v3-exp-tab[aria-selected="true"] span { color: #4B36B8; }
.v3-exp-tab:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .v3-exp-tab:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(75, 54, 184, .14); } }
.v3-reclist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v3-rec {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: #FAF9FE; border: 1.5px solid #F0EEF7;
}
.v3-rec.is-edit { border-color: #1558B0; background: #F4F7FE; }
.v3-rec.is-stopped { opacity: .72; }
.v3-rec-ic { width: 34px; height: 34px; border-radius: 11px; }
.v3-rec-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v3-rec-tx b { font-size: 15px; color: var(--ink); }
.v3-rec-tx .v3-muted { font-size: 12.5px; }
.v3-rec-tx .v3-tag { align-self: flex-start; }
.v3-rec-sum { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.v3-rec-sum b { font-size: 16px; color: #4B36B8; }
.v3-rec-sum span { font-size: 11.5px; }
.v3-rec-acts { display: flex; gap: 6px; align-items: center; }
.v3-recform {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 12px; align-items: end;
  padding: 14px; border-radius: 16px; border: 2px dashed #C9C3E6; background: #FFFFFF;
}
.v3-recform-h { grid-column: 1 / -1; font-size: 14.5px; color: #4B36B8; }
.v3-recform .field { margin: 0; }
.v3-recform-go { display: flex; align-items: center; gap: 8px; }
.v3-recform .error { grid-column: 1 / -1; margin: 0; }
.v3-exlist .v3-exrow { grid-template-columns: 110px 80px minmax(0, 1fr) auto; }
.v3-exrow b { font-variant-numeric: tabular-nums; }
.v3-exp .pay-add .pay-add-go .v3-pb { width: 100%; justify-content: center; }
.v3-exp-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.v3-cexp .pay-summary { margin: 0; }
@media (max-width: 760px) {
  .v3-exp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-rec { grid-template-columns: auto minmax(0, 1fr); }
  .v3-rec-sum { grid-column: 2; align-items: flex-start; }
  .v3-rec-acts { grid-column: 1 / -1; flex-wrap: wrap; }
  .v3-rec-acts .v3-mini { min-height: 44px; flex: 1 1 auto; justify-content: center; }
  .v3-rec-acts .v3-ib { width: 44px; height: 44px; }
  .v3-exlist .v3-exrow { grid-template-columns: 1fr 1fr auto; }
  .v3-exlist .v3-exrow > .v3-muted { grid-column: 1 / -1; grid-row: 2; }
  .v3-exp-tab { min-height: 56px; }
}
/* Settings, "סוגי הצילום שלי" */
.v3-wtlist { display: flex; flex-direction: column; gap: 8px; }
.v3-wtrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 14px; background: #FAF9FE; border: 1.5px solid #F0EEF7; }
.v3-wtrow > b { min-width: 84px; font-size: 14.5px; }
.v3-wtrow.is-miss { border-color: #E8739B; background: #FFF7FA; }
.v3-wtrow .v3-seg button[aria-checked="true"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
/* Library: where the chosen shoot type happens, and the "לצילומי" line */
.v3-libwhere { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: #F4F1FF; color: #3A3652; font-size: 13.5px; }
.v3-libwhere b { color: #4B36B8; }
.v3-libwhere .v3-llink { margin-inline-start: auto; }
.v3-lline-for { padding: 6px 8px; margin-inline: -8px; border-radius: 12px; background: #F4F7FE; }
.v3-lline-for .v3-llbl { color: #1558B0; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; width: auto; min-width: 52px; }
@media (max-width: 600px) {
  .v3-wtrow .v3-seg { width: 100%; }
  .v3-wtrow .v3-seg button { flex: 1 1 0; }
}@media (max-width: 1000px) { .v3-ctabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .v3-ctabs { grid-template-columns: minmax(0, 1fr); } }

/* ===== Round 9 (2026-11-18): a calm library, organized settings, the client's journey, two questionnaires ===== */
/* Type scale for these screens: names 15px, labels 13px, chips 12.5px, hints 12px */
/* "?" beside a title: the long explanation on demand */
.v3-tip { position: relative; display: inline-flex; flex: none; vertical-align: middle; }
.v3-tip > summary {
  list-style: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #D9D5EE; background: #FFFFFF; color: #7B61FF;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.v3-tip > summary::-webkit-details-marker { display: none; }
.v3-tip > summary:hover { border-color: #7B61FF; }
.v3-tip > summary:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-tip[open] > summary { background: #7B61FF; border-color: #7B61FF; color: #FFFFFF; }
.v3-tip-body {
  position: absolute; top: calc(100% + 6px); inset-inline-start: -10px; z-index: 40; width: max-content; max-width: min(320px, 78vw);
  padding: 10px 12px; border-radius: 14px; background: #FFFFFF; border: 1.5px solid #E6E3F5; box-shadow: 0 14px 34px rgba(31, 27, 72, .14);
  font-size: 12.5px; font-weight: 400; line-height: 1.55; color: #3A3652; white-space: normal; text-align: right;
  animation: v3-rise .2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* ----- Library rows: one label column, fewer buttons ----- */
.v3-libtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v3-libh { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.v3-libcount { min-width: 24px; padding: 2px 8px; border-radius: 999px; background: #EFEBFF; color: #4B36B8; font-size: 12px; font-weight: 700; text-align: center; }
.v3-libtop .v3-libmisstag { margin-inline-start: auto; font-size: 12px; }
.v3-libtop .v3-libmiss { font-size: 13px; }
.v3-libbox { gap: 12px; }
.v3-libbar { gap: 8px 12px; }
.v3-libgroups { font-size: 13px; color: #6B6880; }
.v3-libgroups b { color: #3A3652; font-weight: 600; }
.v3-libbar .v3-llink { font-size: 13px; }
.v3-libspecs .v3-tip { margin-inline-start: 2px; }
.v3-libopts { position: relative; margin-inline-start: auto; }
.v3-libopts > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid #E6E3F5; background: #FFFFFF; color: #3A3652; font-size: 13px; font-weight: 600; cursor: pointer;
}
.v3-libopts > summary::-webkit-details-marker { display: none; }
.v3-libopts > summary svg { color: #7B61FF; }
.v3-libopts > summary:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-libopts[open] > summary { border-color: #7B61FF; background: #F4F1FF; color: #4B36B8; }
.v3-libopts-body {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 30; min-width: min(250px, 80vw); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; border-radius: 16px; background: #FFFFFF; border: 1.5px solid #E6E3F5; box-shadow: 0 14px 34px rgba(31, 27, 72, .14);
}
.v3-libopts-body .v3-libavg { justify-content: space-between; font-size: 13px; color: #3A3652; }
.v3-libdrop-sm { justify-content: flex-start; padding: 10px 14px; border-radius: 14px; border-width: 1.5px; }
.v3-libdrop-sm b { font-size: 14px; }
.v3-libdrop-sm span span { font-size: 12px; }
.v3-lhint-line { margin: 0; font-size: 12px; color: #8A87A0; }

.v3-lrow2 { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; border-width: 1px; }
.v3-lrow2.is-missing { background: #FFFFFF; border-color: #F5CBD9; }
.v3-lrow2 .v3-lrow-img { width: 84px; height: 84px; border-radius: 14px; }
.v3-lrow2 .v3-lrow-body { gap: 10px; }
.v3-lrow2 .v3-lrow-top { flex-wrap: nowrap; gap: 8px; min-width: 0; }
.v3-lrow2 .v3-lrow-name {
  flex: 1 1 auto; min-width: 0; max-width: 320px; min-height: 36px; padding-inline: 8px; margin-inline-start: -8px;
  font-size: 15px; font-weight: 600; border-color: transparent; background: transparent;
}
.v3-lrow2 .v3-lrow-name:hover { border-color: #ECEAF4; }
.v3-lrow2 .v3-lrow-name:focus { border-color: #7B61FF; background: #FFFFFF; }
.v3-lrow2 .v3-lrow-name.is-miss { border-color: #F5CBD9; background: #FFF8FB; }
.v3-lmisstag {
  flex: none; border: none; padding: 4px 10px; border-radius: 999px; background: #FCE9F0; color: #9C2F57;
  font-family: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.v3-lmisstag:focus-visible, .v3-lmore-btn:focus-visible, .v3-ract:focus-visible, .v3-lsel:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-lmore-btn {
  flex: none; margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 10px 0 12px;
  border-radius: 999px; border: 1.5px solid #ECEAF4; background: #FFFFFF; color: #6B6880; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.v3-lmore-btn:hover { border-color: #C9C3E6; color: #3A3652; }
.v3-lmore-btn[aria-expanded="true"] { border-color: #7B61FF; background: #F4F1FF; color: #4B36B8; }
.v3-lfields { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.v3-lfields > .v3-lline { display: contents; }
.v3-lfields .v3-llbl { width: auto; font-size: 13px; font-weight: 500; color: #6B6880; line-height: 28px; align-self: start; }
.v3-lfields .is-miss > .v3-llbl { color: #9C2F57; font-weight: 600; }
.v3-lvals { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.v3-lrow2 .v3-lc { min-height: 28px; padding: 0 11px; font-size: 12.5px; border-width: 1.5px; }
.v3-lrow2 .v3-lc[data-row-month] { min-width: 40px; padding: 0 6px; }
.v3-lrow2 .v3-lmiss { font-size: 12.5px; padding: 0; }
.v3-lsel { width: auto; min-height: 30px; height: 30px; padding-block: 0; padding-inline: 12px 30px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #3A3652; }
.v3-lhint { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #8A87A0; }
.v3-lsmall { font-size: 12.5px; }
.v3-ltag { font-size: 12px; padding: 2px 8px; }
.v3-rin { width: 100%; max-width: 520px; min-height: 34px; font-size: 13.5px; }
.v3-rmore { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px dashed #ECEAF4; animation: v3-rise .22s cubic-bezier(0.23, 1, 0.32, 1) both; }
.v3-rmore[hidden] { display: none; }
.v3-ract {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #E6E3F5;
  background: #FFFFFF; color: #3A3652; font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.v3-ract svg { color: #7B61FF; flex: none; }
.v3-ract:hover { border-color: #C9C3E6; background: #FAF9FE; }
.v3-ract[aria-expanded="true"] { border-color: #7B61FF; background: #F4F1FF; color: #4B36B8; }
.v3-ract.is-miss { border-color: #E8739B; background: #FCE9F0; color: #9C2F57; }
.v3-ract.is-miss svg { color: #E8739B; }
.v3-ract-del { margin-inline-start: auto; color: #9C2F57; }
.v3-ract-del svg { color: #E8739B; }
.v3-ract-del:hover { border-color: #E8739B; background: #FFF8FB; }
.v3-lrow2 .v3-inrow { margin-top: 2px; }
/* Tiles (accessories, instructions): the same type scale */
.v3-acc-txt b { font-size: 14px; }
.v3-acc-txt > span:not(.v3-tag):not(.v3-ofdots) { font-size: 12px; }
.v3-ofh { font-size: 13px; font-weight: 600; color: #6B6880; }
@media (max-width: 640px) {
  .v3-lrow2 { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .v3-lrow2 .v3-lrow-img { width: 60px; height: 60px; }
  .v3-lrow2 .v3-lrow-top { flex-wrap: wrap; }
  .v3-lrow2 .v3-lrow-name { flex: 1 1 100%; max-width: none; order: -1; }
  .v3-lrow2 .v3-lmisstag { order: 0; }
  .v3-lfields { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-inline-start: -70px; }
  .v3-lfields .v3-llbl { line-height: 1.4; margin-top: 6px; font-size: 12.5px; }
  .v3-lrow2 .v3-lc { min-height: 34px; padding: 0 12px; }
  .v3-lrow2 .v3-lc[data-row-month] { min-width: 44px; }
  .v3-lsel { min-height: 36px; height: 36px; }
  .v3-rmore { margin-inline-start: -70px; }
  .v3-ract { min-height: 40px; }
  .v3-lmore-btn { min-height: 36px; }
  .v3-libopts { margin-inline-start: 0; }
  .v3-libopts-body { inset-inline-end: auto; inset-inline-start: 0; }
  .v3-libtop .v3-libmisstag { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) { .v3-rmore, .v3-tip-body { animation: none; } }

/* ----- Settings: sections, an index, one card header, a save bar ----- */
.v3-set-layout { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: start; }
.v3-set-secs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.v3-set-index {
  grid-column: 2; grid-row: 1; position: sticky; top: 18px; display: flex; flex-direction: column; gap: 2px; padding: 12px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); border-radius: 20px; box-shadow: var(--v3-card-shadow);
}
.v3-set-index-h { padding: 2px 10px 6px; font-size: 12px; font-weight: 600; color: #8A87A0; }
.v3-set-ilink {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 0 10px; border-radius: 12px;
  color: #3A3652; font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.v3-set-ilink span { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #F4F3FA; color: #8A87A0; font-size: 11.5px; text-align: center; }
.v3-set-ilink:hover { background: #F7F6FC; }
.v3-set-ilink.is-on { background: #E8F0FE; border-color: #1558B0; color: #1558B0; }
.v3-set-ilink.is-on span { background: #FFFFFF; color: #1558B0; }
.v3-set-ilink:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-set-sec { scroll-margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.v3-sec-h { margin: 0; padding-inline: 4px; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--ink); }
.v3-sec-ic { width: 30px; height: 30px; background: var(--v3-grad); color: #FFFFFF; }
.v3-set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.v3-set-grid > .form-box { margin: 0; min-width: 0; }
.v3-set-grid > .form-box:only-child { grid-column: 1 / -1; max-width: 720px; }
.v3-set-grid > .form-box[data-step="עיבוד ואלבומים"], .v3-set-grid > .form-box[data-step="תזכורות ללקוחה"] { grid-column: 1 / -1; }
.v3-settings .form-box { padding: 20px 22px; gap: 14px; }
.v3-cardh { display: flex; align-items: center; gap: 8px; }
.v3-cardh .box-title.v3-h2 { margin: 0; font-size: 16px; font-weight: 700; }
.v3-settings .box-hint { margin: -6px 0 0; font-size: 12.5px; color: #8A87A0; line-height: 1.5; }
.v3-settings .form-box .field { gap: 6px; margin: 0; }
.v3-settings .form-box .field label, .v3-settings .form-box .label, .v3-settings legend { font-size: 13px; font-weight: 600; color: #3A3652; }
.v3-settings .form-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 14px; align-items: end; }
.v3-settings .note { font-size: 12px; }
.v3-flabel { display: flex; align-items: center; gap: 6px; }
.v3-flabel > label { margin: 0; }
.v3-setlink {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #ECEAF4; background: #FFFFFF;
  color: #3A3652; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.v3-setlink > svg:first-child { color: #7B61FF; flex: none; }
.v3-setlink > span { flex: 1; }
.v3-setlink > svg:last-child { color: #A6A2BC; flex: none; }
.v3-setlink:hover { border-color: #C9C3E6; background: #FAF9FE; }
.v3-setlink:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.v3-settings .v3-alerts-to { display: flex; flex-direction: column; gap: 6px; }
.v3-settings .v3-alerts-to .v3-seg { align-self: flex-start; }
.v3-savebar {
  position: sticky; bottom: 12px; z-index: 25; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px 10px 16px;
  border-radius: 18px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1.5px solid #E6E3F5; box-shadow: 0 12px 34px rgba(31, 27, 72, .14);
}
.v3-savebar-t { font-size: 13px; color: #8A87A0; }
.v3-savebar-t.is-dirty { color: #9C2F57; font-weight: 600; }
.v3-savebar-t.is-dirty::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E8739B; margin-inline-end: 6px; vertical-align: middle; }
.v3-savebar .error { margin: 0; flex: 1 1 auto; font-size: 13px; }
.v3-savebar .error:empty { display: none; }
.v3-savebar > button { order: -1; flex: none; }
.v3-savebar-t { flex: 1 1 auto; min-width: 0; }
.v3-settings { padding-bottom: 8px; }
/* "המסלול של הלקוחה" */
.v3-flowlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.v3-flowrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid #ECEAF4; background: #FFFFFF; transition: background-color .15s ease, border-color .15s ease; }
.v3-flowrow.is-off { background: #FAF9FC; border-style: dashed; }
.v3-flown { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #EFEBFF; color: #4B36B8; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.v3-flowrow.is-off .v3-flown { background: #F1F0F5; color: #A6A2BC; }
.v3-flowic { width: 28px; height: 28px; flex: none; background: #E8F0FE; color: #1558B0; }
.v3-flowrow.is-off .v3-flowic { background: #F1F0F5; color: #A6A2BC; }
.v3-flowt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v3-flowt b { font-size: 14px; }
.v3-flowt span { font-size: 12px; color: #8A87A0; }
.v3-flowrow.is-off .v3-flowt b { color: #8A87A0; }
.v3-flowacts { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.v3-flowacts .v3-ib { width: 30px; height: 30px; color: #6B6880; }
.v3-flowacts .v3-ib:disabled { opacity: .35; cursor: default; }
.v3-flowacts .v3-switch { margin-inline-start: 4px; }
.v3-flowfixed { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.v3-flowtag { padding: 3px 10px; border-radius: 999px; background: #F4F3FA; color: #6B6880; font-weight: 600; }
@media (max-width: 1100px) {
  .v3-set-grid { grid-template-columns: minmax(0, 1fr); }
  .v3-set-grid > .form-box:only-child { max-width: none; }
}
@media (max-width: 860px) {
  .v3-set-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .v3-set-index {
    grid-column: 1; grid-row: 1; top: 0; z-index: 20; flex-direction: row; gap: 4px; padding: 6px; border-radius: 16px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .v3-set-index::-webkit-scrollbar { display: none; }
  .v3-set-index-h { display: none; }
  .v3-set-secs { grid-row: 2; }
  .v3-set-ilink { flex: none; min-height: 40px; white-space: nowrap; font-size: 13px; }
  .v3-set-ilink span { display: none; }
  .v3-set-sec, .v3-settings .form-box.v3-pulse { scroll-margin-top: 66px; }
}
@media (max-width: 600px) {
  .v3-settings .form-box { padding: 16px; }
  .v3-sec-h { font-size: 17px; }
  .v3-savebar { bottom: 8px; padding: 8px 10px; }
  .v3-set-index { top: 64px; }
  .v3-set-sec, .v3-settings .form-box, .v3-settings .form-box.v3-pulse { scroll-margin-top: 130px; }
  .v3-savebar { padding-inline-end: 112px; }
  .v3-savebar-t { font-size: 12px; flex: 1 1 0; min-width: 0; }
  .v3-flowrow { flex-wrap: wrap; }
  .v3-flowacts { width: 100%; justify-content: flex-end; }
  .v3-flowacts .v3-ib { width: 40px; height: 40px; }
}
/* The questionnaire page: two questionnaires as tabs */
.v3-qtabs { margin-top: 10px; display: inline-flex; }
.v3-qtabs a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; color: #8A87A0; font-size: 13px; font-weight: 600; text-decoration: none;
}
.v3-qtabs a svg { color: #A6A2BC; }
.v3-qtabs a[aria-current="page"] { background: #FFFFFF; color: #4B36B8; box-shadow: 0 1px 3px rgba(31, 27, 72, .15); }
.v3-qtabs a[aria-current="page"] svg { color: #7B61FF; }
.v3-qtabs a:focus-visible { outline: 2.5px solid #7B61FF; outline-offset: 2px; }
.qe-steptitle-ro { font-size: 15px; }
@media (max-width: 600px) { .v3-qtabs { display: flex; width: 100%; } .v3-qtabs a { flex: 1 1 0; justify-content: center; min-height: 40px; } }

/* ===== Symmetric boxes (2026-11-18): cards side by side start and end on the same line, one gap (18px) ===== */
/* Calendar: the side column (selected day + upcoming) ends exactly at the month card's bottom.
   Container query = only while the two sit side by side (month 520 + side 280 + gap 18 = 818). */
.v3-cal-grid { align-items: stretch; container-type: inline-size; }
@container (min-width: 818px) {
  .v3-cal-side { contain: size; }                       /* the side does not push the row taller; it takes the month's height */
  .v3-cal-side > * { min-height: 0; }
  .v3-cal-side > :not(:last-child) { flex: 0 1 auto; overflow-y: auto; scrollbar-width: thin; }
  .v3-cal-side > :last-child { flex: 1 1 0; min-height: 140px; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
}
/* Today: tasks column and week column end together; the main card of each column grows */
.v3-today-grid { align-items: stretch; }
.v3-today-col > .v3-tasks, .v3-today-side > .v3-plan { flex-grow: 1; }
.v3-today-side:not(:has(> .v3-plan)) > :last-child { flex-grow: 1; }
/* Client folder, prices, settings: equal heights per row */
.v3-cf-two, .v3-plgrid, .v3-set-grid { align-items: stretch; gap: 18px; }
.v3-cf-two > *, .v3-plgrid > *, .v3-set-grid > .form-box { min-width: 0; margin: 0; }
.v3-ctabs, .v3-gsum, .v3-libcats, .money-cards { align-items: stretch; }