/* ==========================================================================
   Design system
   --------------------------------------------------------------------------
   One set of tokens for the public site, the sign-in pages, the customer
   account and the admin panel.

   Type      Manrope for headings, Inter for everything that is read or keyed.
   Colour    Royal blue does the work; cyan appears only in charts and marks.
   Spacing   An 8px grid (4px for fine adjustments).
   Shape     10px controls, 14px cards, 20px for large surfaces.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  /* the rupee sign (U+20B9) lives here */
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* a "real" shadow: several soft layers, the way light falls on a raised card */
  --shadow-real: 0 1px 1px rgba(16, 15, 61, 0.04), 0 2px 2px rgba(16, 15, 61, 0.04), 0 4px 4px rgba(16, 15, 61, 0.05), 0 8px 8px rgba(16, 15, 61, 0.06), 0 16px 16px rgba(16, 15, 61, 0.07), 0 32px 48px -10px rgba(16, 15, 61, 0.2);
  --shadow-real-lift: 0 1px 1px rgba(16, 15, 61, 0.04), 0 3px 3px rgba(16, 15, 61, 0.05), 0 8px 8px rgba(16, 15, 61, 0.06), 0 16px 16px rgba(16, 15, 61, 0.07), 0 32px 32px rgba(16, 15, 61, 0.08), 0 56px 80px -16px rgba(16, 15, 61, 0.3);
  /* Brand: indigo ink with the saffron and gold of a bahi-khata */
  --primary: #3d3ae8;
  --primary-hover: #2f2cc9;
  --primary-active: #2522a3;
  --primary-light: #eeefff;
  --primary-soft: #dcdeff;
  --secondary: #12b8a6;
  --secondary-light: #e2f8f5;
  --accent: #ff6a2b;
  --accent-hover: #f0541a;
  --accent-light: #fff1e8;
  --gold: #ffc83d;
  --grad-brand: linear-gradient(135deg, #2c29cf 0%, #5a3df5 60%, #8a4dff 100%);
  --grad-accent: linear-gradient(135deg, #ff9142 0%, #ff5a2b 100%);
  --grad-ink: linear-gradient(140deg, #100f3d 0%, #24208c 52%, #4a2bd8 100%);

  /* Meaning */
  --success: #0fa36b;
  --success-light: #e3f8ef;
  --success-text: #0a7049;
  --warning: #e59a07;
  --warning-light: #fff3d1;
  --warning-text: #7a4e00;
  --danger: #e23b50;
  --danger-light: #fdecef;
  --danger-text: #ad1f35;

  /* Surfaces and text */
  --background: #f6f7fd;
  --surface: #ffffff;
  --surface-secondary: #f0f1fa;
  --text-primary: #14153d;
  --text-secondary: #474a70;
  --text-muted: #6a6e90;
  --border: #e3e5f3;
  --border-strong: #cbcfe6;

  /* Dark sections */
  --navy: #100f3d;
  --navy-raised: #1c1a5c;
  --navy-line: rgba(255, 255, 255, 0.13);
  --navy-text: #c9caf0;

  /* Depth: layered, indigo-tinted, strong enough to lift a card off the page */
  --shadow-sm: 0 2px 6px rgba(35, 33, 120, 0.07), 0 1px 2px rgba(35, 33, 120, 0.05);
  --shadow-md: 0 16px 32px -12px rgba(35, 33, 120, 0.22), 0 4px 10px -4px rgba(35, 33, 120, 0.08);
  --shadow-lg: 0 40px 72px -24px rgba(35, 33, 120, 0.4), 0 16px 30px -16px rgba(35, 33, 120, 0.18);
  --shadow-accent: 0 14px 26px -10px rgba(255, 90, 43, 0.6);
  --shadow-brand: 0 14px 26px -10px rgba(61, 58, 232, 0.6);
  --ring: 0 0 0 4px rgba(61, 58, 232, 0.2);

  /* Shape */
  --radius-sm: 10px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Type */
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --topbar-h: 40px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- Base ---------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--primary);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--primary-hover);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
strong,
b {
  font-weight: 650;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--primary-soft);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.num {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "cv11";
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--text-primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Icons (Lucide) ------------------------------------------------ */

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

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.btn[disabled],
.btn.is-busy {
  cursor: not-allowed;
  opacity: 0.6;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--shadow-brand);
}
.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 30px -10px rgba(61, 58, 232, 0.7);
}
.btn-primary:active {
  filter: brightness(0.96);
  transform: translateY(1px);
}
/* The one saffron button per screen: the main thing to do */
.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--shadow-accent);
}
.btn-accent:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 32px -10px rgba(255, 90, 43, 0.75);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-quiet {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.btn-quiet:hover {
  background: var(--surface-secondary);
  border-color: #b4b8d8;
  color: var(--text-primary);
}
.btn-soft {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.btn-soft:hover {
  background: var(--primary-soft);
  color: var(--primary-active);
}
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: #bf2439;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary-active);
  box-shadow: 0 14px 28px -10px rgba(8, 6, 60, 0.6);
}
.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-active);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-xs {
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}
.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
/* Loading: the label stays for width, a spinner sits on top. */
.btn.is-busy {
  position: relative;
  color: transparent !important;
}
.btn.is-busy::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-quiet.is-busy::after,
.btn-soft.is-busy::after {
  border-color: var(--primary-soft);
  border-top-color: var(--primary);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.textlink {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.textlink:hover {
  color: var(--primary-hover);
  text-decoration-color: currentColor;
}
.textlink[disabled] {
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: none;
}
.textlink--danger {
  color: var(--danger-text);
}

/* ---------- Forms --------------------------------------------------------- */

.field {
  margin-bottom: 18px;
}
.field > label,
.field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.97rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input::placeholder {
  color: #9a9dbd;
}
.input:hover {
  border-color: #b0b4d6;
}
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--ring);
}
.input:disabled {
  background: var(--surface-secondary);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
textarea.input {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
}
select.input {
  padding-right: 38px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364708b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.field__hint {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}
.field__error {
  margin-top: 6px;
  color: var(--danger-text);
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.45;
}
.field.has-error .input {
  border-color: var(--danger);
}
.field.has-error .input:focus {
  box-shadow: 0 0 0 4px rgba(217, 45, 69, 0.16);
}
.input-group {
  display: flex;
}
.input-group__prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface-secondary);
  border: 1px solid var(--border-strong);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}
.input-group .input {
  border-radius: 0 var(--radius) var(--radius) 0;
}
/* Password field with a show/hide button */
.pw {
  position: relative;
}
.pw .input {
  padding-right: 48px;
}
.pw__toggle {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-muted);
}
.pw__toggle:hover {
  background: var(--surface-secondary);
  color: var(--text-primary);
}
.pw__toggle .icon:last-child,
.pw__toggle[aria-pressed="true"] .icon:first-child {
  display: none;
}
.pw__toggle[aria-pressed="true"] .icon:last-child {
  display: block;
}

.agree,
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.5;
}
input[type="checkbox"],
input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

/* Searchable select */
.combo {
  position: relative;
}
.combo__caret {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.combo__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 264px;
  padding: 6px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.combo__option {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
}
.combo__option small {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.combo__option:hover,
.combo__option.is-active {
  background: var(--primary-light);
  color: var(--primary-active);
}
.combo__option[aria-selected="true"] {
  font-weight: 600;
}
.combo__empty {
  padding: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Messages, badges, small parts --------------------------------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: var(--primary-light);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  color: #2522a3;
  font-size: 0.92rem;
  line-height: 1.5;
}
.notice .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.notice--ok {
  background: var(--success-light);
  border-color: #bdebd6;
  color: var(--success-text);
}
.notice--error {
  background: var(--danger-light);
  border-color: #f7c6ce;
  color: var(--danger-text);
}
.notice--warn {
  background: var(--warning-light);
  border-color: #f4dc9b;
  color: var(--warning-text);
}

.badge,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-secondary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
  vertical-align: 1px;
}
.badge--ok,
.pill,
.tag--ok {
  background: var(--success-light);
  color: var(--success-text);
}
.badge--wait,
.pill--wait,
.pill--you,
.tag--wait {
  background: var(--warning-light);
  color: var(--warning-text);
}
.badge--bad,
.tag--bad {
  background: var(--danger-light);
  color: var(--danger-text);
}
.badge--info,
.tag--info {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.badge--off {
  background: var(--surface-secondary);
  color: var(--text-muted);
}
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dot--on {
  background: var(--success);
}
.dot--maybe {
  background: var(--primary);
}
.dot--wait {
  background: var(--warning);
}
.dot--off {
  background: #a4a7c6;
}
.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  padding: 3px 10px;
  background: var(--surface-secondary);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.55;
}
.chips__more {
  background: none !important;
  color: var(--text-muted) !important;
  padding-inline: 4px !important;
}

/* ---------- Brand --------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover {
  color: var(--text-primary);
}
.brand img {
  width: auto;
  border-radius: 9px;
}
/* the logo in the header: the size of an ordinary site's logo, a little smaller once the header sticks or on a phone */
.site-header .brand img {
  height: 50px;
  max-width: min(260px, 52vw);
  object-fit: contain;
  object-position: left center;
  transition: height 0.2s var(--ease);
}
.site-header.is-stuck .brand img {
  height: 42px;
}
.site-footer .brand img {
  height: 48px;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 640px) {
  .site-header .brand img,
  .site-header.is-stuck .brand img {
    height: 40px;
  }
  .site-footer .brand img {
    height: 42px;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 253, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -14px rgba(35, 33, 120, 0.35);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  transition: height 0.2s var(--ease);
}
.site-header.is-stuck .site-header__bar {
  height: 62px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link[aria-expanded="true"] {
  background: rgba(35, 33, 120, 0.06);
  color: var(--text-primary);
}
.nav-link__caret {
  width: 15px;
  height: 15px;
  opacity: 0.6;
  transition: transform 0.2s var(--ease);
}
.nav-link[aria-expanded="true"] .nav-link__caret,
.nav-item:hover .nav-link__caret {
  transform: rotate(180deg);
}
.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  z-index: 10;
  display: grid;
  gap: 2px;
  width: 320px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
/* bridges the gap so the menu stays open while the pointer travels to it */
.nav-drop::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.nav-drop--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 580px;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop,
.nav-link[aria-expanded="true"] + .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-card {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.15s;
}
.nav-card:hover {
  background: var(--surface-secondary);
  color: var(--text-primary);
}
.nav-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
}
.nav-card b {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}
.nav-card small {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.site-nav__actions {
  display: none;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__signin {
  padding: 0 12px;
  color: var(--text-primary);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}
.site-header__signin:hover {
  color: var(--primary);
}
.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
}
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

@media (max-width: 1140px) {
  /* A blurred header would trap the full-screen menu inside its own box. */
  .site-header.is-open {
    background: var(--surface);
    backdrop-filter: none;
  }
  .site-header__bar {
    gap: 12px;
  }
  .site-header__actions {
    margin-left: auto;
  }
  .nav-toggle {
    display: grid;
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--border);
  }
  .site-header.is-stuck .site-nav {
    top: 62px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-link {
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-primary);
    font-size: 1.02rem;
    font-weight: 600;
  }
  .nav-link:hover,
  .nav-item:hover > .nav-link,
  .nav-link[aria-expanded="true"] {
    background: none;
  }
  .nav-item:hover .nav-link__caret {
    transform: none;
  }
  .nav-link[aria-expanded="true"] .nav-link__caret {
    transform: rotate(180deg);
  }
  .nav-drop,
  .nav-drop--wide {
    position: static;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    padding: 6px 0 10px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-item:hover > .nav-drop,
  .nav-item:focus-within > .nav-drop {
    display: none;
  }
  .nav-link[aria-expanded="true"] + .nav-drop {
    display: grid;
  }
  .site-nav__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
}
/* ---------- Header with more links than fit: same as the phone menu ---------- */
.site-header--compact /* A blurred header would trap the full-screen menu inside its own box. */
  .site-header.is-open {
    background: var(--surface);
    backdrop-filter: none;
  }
.site-header.site-header--compact__bar {
    gap: 12px;
  }
.site-header.site-header--compact__actions {
    margin-left: auto;
  }
.site-header--compact .nav-toggle {
    display: grid;
  }
.site-header--compact .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--border);
  }
.site-header.site-header--compact.is-stuck .site-nav {
    top: 62px;
  }
.site-header--compact .site-nav.is-open {
    display: flex;
  }
.site-header--compact .nav-link {
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-primary);
    font-size: 1.02rem;
    font-weight: 600;
  }
.site-header--compact .nav-link:hover,
.site-header--compact .nav-item:hover > .nav-link,
.site-header--compact .nav-link[aria-expanded="true"] {
    background: none;
  }
.site-header--compact .nav-item:hover .nav-link__caret {
    transform: none;
  }
.site-header--compact .nav-link[aria-expanded="true"] .nav-link__caret {
    transform: rotate(180deg);
  }
.site-header--compact .nav-drop,
.site-header--compact .nav-drop--wide {
    position: static;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    padding: 6px 0 10px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
.site-header--compact .nav-item:hover > .nav-drop,
.site-header--compact .nav-item:focus-within > .nav-drop {
    display: none;
  }
.site-header--compact .nav-link[aria-expanded="true"] + .nav-drop {
    display: grid;
  }
.site-header--compact .site-nav__actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }

@media (max-width: 560px) {
  .site-header__signin,
  .site-header__cta {
    display: none;
  }
}

/* ---------- Simple pages: legal text and error screens -------------------- */

.prose {
  max-width: 808px;
  margin-inline: auto;
  padding-block: 56px 88px;
}
.prose h1 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
}
.prose h2 {
  margin: 36px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.prose p,
.prose li {
  margin-top: 12px;
  color: var(--text-secondary);
}
.prose ul {
  padding-left: 20px;
  list-style: disc;
}
.prose__meta {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.prose .notice {
  margin-top: 24px;
}

.message-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding: 64px var(--gutter);
  text-align: center;
}
.message-page > div {
  max-width: 480px;
}
.message-page__code {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
}
.message-page__code .icon {
  width: 28px;
  height: 28px;
}
.message-page h1 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}
.message-page p {
  margin: 12px 0 26px;
  color: var(--text-secondary);
}

/* ---------- Motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Top strip, page loader, colour tints and richer motion
   ========================================================================== */

/* ---------- Top strip ----------------------------------------------------- */
/* The ways to reach us on the left (email, phone, WhatsApp) and the social links on the right, each with its brand mark. */

.topbar {
  position: relative;
  z-index: 101;
  background: var(--navy);
  color: #d9daf7;
  font-size: 0.84rem;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  min-width: 0;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9daf7;
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar a:hover {
  color: #fff;
}
.topbar__links a .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}
.topbar__links .topbar__wa .icon {
  color: #25d366;
}
.topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__social li {
  display: block;
  line-height: 0;
}
/* each social link is a small tile in its brand's own colour, like the app icon; the mark sits dead centre */
.topbar a.topbar__icon {
  display: grid;
  place-items: center;
  gap: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 2px 4px rgba(0, 0, 0, 0.35);
  line-height: 0;
}
.topbar a.topbar__icon .icon {
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 1;
}
@media (max-width: 720px) {
  .topbar__links {
    gap: 14px;
  }
  .topbar__links a {
    gap: 6px;
  }
  .topbar__links .topbar__phone {
    display: none;
  }
}
@media (max-width: 460px) {
  .topbar__links a:not(:first-child) {
    display: none;
  }
  .topbar__links a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .topbar__social {
    gap: 7px;
  }
  .topbar a.topbar__icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .topbar a.topbar__icon .icon {
    width: 14px;
    height: 14px;
  }
}

/* ---------- Page loader --------------------------------------------------- */
/* Works without JavaScript: it fades out on its own after a moment. The
   script only makes it leave as soon as the page has really finished. */

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--grad-ink);
  animation: loader-out 0.45s ease 1.6s forwards;
}
.loader.is-done {
  animation: loader-out 0.45s ease forwards;
}
.loader__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
}
.loader__mark img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  animation: loader-pulse 1.1s ease-in-out infinite;
}
.loader__mark::before,
.loader__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 50%;
}
.loader__mark::before {
  border-top-color: var(--accent);
  border-right-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
.loader__mark::after {
  inset: 10px;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  animation: spin 1.3s linear infinite reverse;
}
@keyframes loader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes loader-pulse {
  50% {
    transform: scale(0.9);
  }
}

/* ---------- Back to top --------------------------------------------------- */

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.totop.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.totop:hover {
  filter: brightness(1.1);
}
.totop .icon {
  transform: rotate(-90deg);
}

/* ---------- Colour tints for icon tiles ----------------------------------- */

.tint-1 {
  --tint-bg: #eeefff;
  --tint-fg: #3d3ae8;
}
.tint-2 {
  --tint-bg: #fff1e8;
  --tint-fg: #e8500f;
}
.tint-3 {
  --tint-bg: #e2f8f5;
  --tint-fg: #0b8f80;
}
.tint-4 {
  --tint-bg: #ffe9f3;
  --tint-fg: #d6287a;
}
.tint-5 {
  --tint-bg: #fff5d6;
  --tint-fg: #a86a00;
}
.tint-6 {
  --tint-bg: #e5f2ff;
  --tint-fg: #1670d8;
}

/* ---------- Scroll motion ------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] {
  transform: translateX(-48px);
}
.js [data-reveal="right"] {
  transform: translateX(48px);
}
.js [data-reveal="zoom"] {
  transform: scale(0.9);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="left"],
  .js [data-reveal="right"],
  .js [data-reveal="zoom"] {
    opacity: 1;
    transform: none;
  }
  .loader {
    display: none;
  }
}

/* the loader never blocks a click once it has started to leave */
.loader.is-done {
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 96px;
  background: var(--navy);
  color: #b9bbe6;
  font-size: 0.94rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ff8a3d, #ffc83d 30%, #5a3df5 65%, #12b8a6);
}
.site-footer__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 45% 40% at 100% 0%, rgba(255, 106, 43, 0.3), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 70%, rgba(90, 61, 245, 0.45), transparent 70%);
}
.site-footer__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

/* The call to action, with the product beside it */
.footcta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 56px 0 56px 56px;
  border-radius: 32px;
  background: var(--grad-brand);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #e4e4ff;
}
.footcta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 0% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 0% 0%, #000, transparent 70%);
}
.footcta__text {
  position: relative;
}
.footcta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.footcta p {
  max-width: 30rem;
  margin-top: 14px;
  font-size: 1.06rem;
}
.footcta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.footcta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.footcta__badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}
.footcta__badges .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.footcta__pic {
  position: relative;
  width: 108%;
  max-width: none;
  height: auto;
  margin: -110px -6% -70px 0;
}

/* Columns */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  margin-top: 80px;
}
.site-footer__about p {
  max-width: 34ch;
  margin-top: 18px;
  line-height: 1.65;
}
.site-footer .brand,
.site-footer .brand:hover {
  color: #fff;
}
.site-footer__contact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__contact li > span:first-child {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--navy-line);
}
.site-footer__contact .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.site-footer__social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 11px;
  line-height: 0;
}
.site-footer__social a span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-footer__social .icon {
  width: 21px;
  height: 21px;
}
.site-footer__contact li > span:first-child + span,
.site-footer__contact li > span:first-child + a {
  min-width: 0;
  line-height: 1.5;
}
.site-footer__contact li > span.brandtile--whatsapp {
  border: 0;
  background: #25d366;
}
.site-footer__contact li > span.brandtile .icon {
  width: 19px;
  height: 19px;
  color: #fff;
}

/* ---------- Brand tiles: the real colours of each service, white mark on top ---------- */
.brandtile {
  display: grid;
  place-items: center;
  justify-content: center;
  flex: none;
  box-sizing: border-box;
  color: #fff;
  background: #4b5563;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.brandtile .icon {
  stroke: none;
  fill: currentColor;
  color: #fff;
}
.brandtile--facebook { background: #1877f2; }
.brandtile--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.brandtile--youtube { background: #ff0000; }
.brandtile--linkedin { background: #0a66c2; }
.brandtile--x { background: #000; }
.brandtile--whatsapp { background: #25d366; }
a.brandtile:hover,
a.brandtile:focus-visible {
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.08) saturate(1.05);
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}
.site-footer nav h2 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.site-footer nav h2::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--grad-accent);
}
.site-footer nav a,
.site-footer__about a,
.site-footer__base a {
  color: #b9bbe6;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.site-footer__base a:hover {
  color: var(--gold);
}
.site-footer nav a {
  justify-self: start;
}
.site-footer nav a:hover {
  color: var(--gold);
  transform: translateX(4px);
}
.site-footer__about a:hover {
  color: var(--gold);
}
.site-footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--navy-line);
  color: #8f92c4;
  font-size: 0.88rem;
}
/* the company behind the product, under the footer: its logo on a white tile beside the line, the whole thing a link */
.footunit {
  display: flex;
  justify-content: center;
  padding: 6px 0 8px;
}
.footunit__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--navy-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #e6e7ff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}
a.footunit__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
}
.footunit__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 128px;
  height: 62px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff;
}
.footunit__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footunit__text {
  display: grid;
  gap: 3px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footunit__text small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}
.footunit__text small .icon {
  width: 13px;
  height: 13px;
}
@media (max-width: 560px) {
  .footunit__link { width: 100%; justify-content: flex-start; }
  .footunit__logo { width: 104px; height: 52px; }
  .footunit__text { font-size: 0.9rem; }
}
.site-footer__base p:last-child {
  display: flex;
  gap: 22px;
}
/* the brand name, very large and faint, closing the page */
.site-footer__word {
  margin: 8px 0 -0.16em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 1060px) {
  .footcta {
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 40px 0;
  }
  .footcta__pic {
    width: 100%;
    margin: 0 0 -8px;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .site-footer {
    padding-top: 64px;
  }
  .footcta {
    padding: 34px 22px 0;
    border-radius: 24px;
  }
  .footcta__actions .btn {
    flex: 1 1 100%;
  }
  .site-footer__grid {
    margin-top: 56px;
    gap: 36px 20px;
  }
}

/* ---------- Where am I: the current page in the menu ---------------------- */

.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--primary);
}
.nav-card[aria-current="page"] {
  background: var(--primary-light);
}
@media (min-width: 1141px) {
  .has-dark-top .site-header:not(.is-stuck) .nav-link[aria-current="page"],
  .has-dark-top .site-header:not(.is-stuck) .nav-link.is-active {
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--gold);
    border-radius: 0;
  }
}

/* ---------- Footer, compact and with photos ---------- */
.site-footer { padding-top: 56px; }
.footcta {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 36px 40px;
  border-radius: 28px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.18), 0 40px 70px -24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.footcta h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.footcta p { margin-top: 8px; }
.footcta__actions { margin-top: 18px; }
.footcta__badges { margin-top: 18px; }
.footcta__pic { position: relative; margin: 0; width: auto; }
.footcta__pic img { display: block; width: 100%; max-height: 260px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(4, 3, 40, 0.45)) drop-shadow(0 4px 6px rgba(4, 3, 40, 0.3)); transition: transform 0.5s var(--ease); }
.footcta:hover .footcta__pic img { transform: translateY(-6px); }
.footphotos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.footphotos li {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.2), 0 16px 28px -8px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.footphotos li:hover { transform: translateY(-6px); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.25), 0 28px 44px -10px rgba(0, 0, 0, 0.6); }
.footphotos a { display: block; height: 100%; }
.footphotos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.footphotos li:hover img { transform: scale(1.06); }
.site-footer__grid { margin-top: 44px; gap: 32px 28px; }
.site-footer__base { margin-top: 36px; padding: 20px 0 24px; }
.site-footer__word { display: none; }
@media (max-width: 1060px) {
  .footcta { grid-template-columns: minmax(0, 1fr); padding: 30px 28px; }
  .footcta__pic img { max-height: 220px; margin-inline: auto; }
  .footphotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 40px; }
  .footcta { padding: 26px 20px; border-radius: 22px; }
  .footcta__pic { display: none; }
  .footphotos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-top: 24px; }
  .footphotos li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- Healthcare ---------- */
.clinsearch { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.clinsearch .input { flex: 1; min-width: 0; }
.clinsearch > span .icon { color: var(--primary); }
.clinrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; color: inherit; text-decoration: none; }
.clinrow:hover { border-color: var(--primary); }
.clinrow small { color: var(--text-muted); }
.clinrow__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light, #ecebff); color: var(--primary); font-weight: 800; }
.clinrow__avatar--lg { width: 56px; height: 56px; font-size: 1.2rem; }
.clinrow__meta { display: block; color: var(--text-muted); font-size: 0.86rem; }
.clinrow__when { color: var(--text-muted); font-size: 0.85rem; }
.clinhead { display: flex; align-items: center; gap: 16px; }
.clinallergy { margin: 12px 0 0; }
.clinvisit { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.clinvisit > span:first-child { grid-row: span 2; color: var(--text-muted); }
.clinvisit small { color: var(--text-muted); }
.clinvisit .pill { grid-row: 1 / span 2; grid-column: 3; }
.clinvisit--sm { grid-template-columns: 84px minmax(0, 1fr); }
.clinlink { flex-direction: row; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.clinlink small { display: block; color: var(--text-muted); }
.clinappt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.clinday { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; }
.clinday .input { width: auto; }
.clinday__counts { margin-left: auto; color: var(--text-muted); }
.clinq { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "t w s" "t a a"; gap: 6px 12px; align-items: center; padding: 12px 16px; }
.clinq__token { grid-area: t; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-light, #ecebff); color: var(--primary); font-size: 1.25rem; font-weight: 800; }
.clinq--done .clinq__token, .clinq--cancelled .clinq__token, .clinq--no_show .clinq__token { background: var(--surface-secondary, #f1f2fa); color: var(--text-muted); }
.clinq--arrived .clinq__token, .clinq--in_visit .clinq__token { background: #fff4e5; color: #c2410c; }
.clinq__who { grid-area: w; min-width: 0; }
.clinq__who a { color: inherit; }
.clinq > .pill { grid-area: s; }
.clinq__acts { grid-area: a; display: flex; flex-wrap: wrap; gap: 6px; }
.clinpick { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-secondary, #f4f5fb); }
.clinnew summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.clinnew[open] { display: grid; gap: 10px; }
.segmented { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-secondary, #f1f2fa); }
.segmented label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 9px; cursor: pointer; font-weight: 600; }
.segmented label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(16, 15, 61, 0.12); color: var(--primary); }
.vitals { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.vitals small { color: var(--text-muted); font-weight: 400; }
.clindoc { width: auto; max-width: 220px; }
.medtable { width: 100%; min-width: 640px; border-collapse: collapse; }
.medtable th { padding: 6px; color: var(--text-muted); font-size: 0.8rem; text-align: left; }
.medtable td { padding: 4px; }
.medtable td:first-child { width: 34%; }
@media (max-width: 640px) { .clinq { grid-template-areas: "t w" "s s" "a a"; grid-template-columns: 52px minmax(0, 1fr); } .clinday__counts { margin-left: 0; width: 100%; } }
.tablewrap { overflow-x: auto; max-width: 100%; }
.labpick { display: grid; gap: 10px; max-height: 360px; overflow: auto; padding: 4px; border: 1px solid var(--border); border-radius: 12px; }
.labpick fieldset { margin: 0; padding: 0; border: 0; }
.labpick legend { margin-bottom: 4px; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.labpick label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 6px; border-radius: 8px; cursor: pointer; }
.labpick label:hover { background: var(--surface-secondary, #f4f5fb); }
.labpick label em { color: var(--text-muted); font-style: normal; font-size: 0.85rem; }
.labpick label[hidden] { display: none; }
.labres { width: 100%; min-width: 560px; border-collapse: collapse; }
.labres th { padding: 6px; color: var(--text-muted); font-size: 0.8rem; text-align: left; }
.labres td { padding: 6px; border-top: 1px solid var(--border); vertical-align: middle; }
.labres td small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.labres td .input { max-width: 160px; }
.labres tr.is-flag td { background: #fff7f7; }
.labflag { padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 0.78rem; font-weight: 700; }
.labflag--h { background: #fee2e2; color: #b91c1c; }
.labflag--l { background: #dbeafe; color: #1d4ed8; }
.labstarter { display: flex; align-items: center; gap: 14px; }
.labstarter small { display: block; color: var(--text-muted); }
.labstarter > span .icon { color: var(--primary); }
.labsec { margin: 0 0 8px; font-size: 0.95rem; }
.labtest { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.labtest span { color: var(--text-muted); font-size: 0.88rem; }
.ipdcharge { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.ipdcharge small { display: block; color: var(--text-muted); }
.ipdadd { display: grid; grid-template-columns: 130px 120px minmax(0, 1fr) 70px 100px auto; gap: 6px; }
.ipdsum { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.ipdsum dt { color: var(--text-muted); }
.ipdsum dd { margin: 0; white-space: pre-line; }
@media (max-width: 900px) { .ipdadd { grid-template-columns: repeat(2, minmax(0, 1fr)); } .labstarter { flex-wrap: wrap; } }
.fpheads { display: grid; gap: 6px; }
.fpheads .field__hint { margin: 0; }
.feesdue { grid-row: 1 / span 2; grid-column: 3; display: flex; align-items: center; gap: 6px; }
.tpadd { grid-template-columns: 130px 150px minmax(0, 1fr) 90px 100px auto; }
@media (max-width: 900px) { .tpadd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jobflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; text-align: center; color: var(--text-muted); font-size: 0.86rem; }
.jobflow span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 50%; background: var(--surface-secondary, #f1f2fa); font-weight: 800; }
.jobflow .is-done { color: var(--text-primary); font-weight: 600; }
.jobflow .is-done span { background: #dcfce7; color: #15803d; }
.jobflow .is-now span { background: #16a34a; color: #fff; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.jobacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jobnext { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 0.86rem; }
.jobnext .input { width: auto; }
.jobadd { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) 64px 90px 104px auto; }
.jobadv { align-items: center; }
@media (max-width: 1100px) { .jobadd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jobrows { display: grid; gap: 6px; }
.jobrow { display: grid; grid-template-columns: minmax(0, 1.3fr) 58px minmax(0, 1.2fr) 74px auto; gap: 6px; align-items: center; }
.jobrow--2 { grid-template-columns: minmax(0, 1fr) 70px auto; }
.joblist { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
/* ---------- Restaurant ---------- */
.restbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; color: var(--text-muted); }
.restbar__new { margin-left: auto; }
.restarea { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 10px; font-size: 1rem; }
.restarea small { color: var(--text-muted); font-weight: 400; }
.restarea--sm { margin: 12px 0 6px; font-size: 0.9rem; font-weight: 700; }
.restgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.restgrid form { display: contents; }
.resttable { display: grid; gap: 2px; justify-items: center; padding: 14px 8px; border: 2px solid #bbf7d0; border-radius: 14px; background: #f0fdf4; color: #166534; font: inherit; text-decoration: none; cursor: pointer; text-align: center; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.resttable:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(16, 15, 61, 0.1); }
.resttable b { font-size: 1.2rem; }
.resttable small { color: inherit; opacity: 0.75; font-size: 0.78rem; }
.resttable.is-busy { border-color: #fdba74; background: #fff7ed; color: #9a3412; }
.restdel { margin-top: 22px; max-width: 640px; }
.restpos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.restpos:not([data-rest]) { grid-template-columns: minmax(0, 640px); }
.restmenu { padding: 14px; }
.restmenu__top { display: grid; gap: 10px; margin-bottom: 12px; }
.restcats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.restcats button { flex: none; padding: 6px 14px; border: 1px solid var(--border); border-radius: 99px; background: #fff; font: inherit; font-weight: 600; font-size: 0.86rem; cursor: pointer; }
.restcats button.is-on { border-color: var(--primary); background: var(--primary); color: #fff; }
.restitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.restitem { display: grid; gap: 4px; align-content: space-between; min-height: 76px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.restitem:hover { border-color: var(--primary); }
.restitem:active { transform: scale(0.97); }
.restitem b { font-size: 0.9rem; line-height: 1.25; }
.restitem span { color: var(--primary); font-weight: 700; font-size: 0.86rem; }
.restitem[hidden] { display: none; }
.restcart { display: grid; gap: 12px; padding: 16px; position: sticky; top: 12px; }
.restline { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 26px; gap: 8px; align-items: start; padding: 7px 0; border-top: 1px solid var(--border); }
.restline small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.restline.is-cancelled b, .restline.is-cancelled > .num { text-decoration: line-through; color: var(--text-muted); }
.restx summary { list-style: none; width: 24px; height: 24px; border-radius: 6px; text-align: center; line-height: 22px; cursor: pointer; color: var(--text-muted); border: 1px solid var(--border); }
.restx summary::-webkit-details-marker { display: none; }
.restx[open] { grid-column: 1 / -1; }
.restx form { display: flex; gap: 6px; margin-top: 6px; }
.restnew__head { margin: 0; color: #c2410c; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.restnew { display: grid; gap: 8px; }
.restnewrow { padding: 10px; border: 1px dashed #fdba74; border-radius: 12px; background: #fffaf5; }
.restnewrow__top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.restnewrow__more { display: grid; gap: 6px; margin-top: 8px; }
.restqty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; overflow: hidden; }
.restqty button { width: 30px; height: 30px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.restqty input { width: 36px; border: 0; text-align: center; font: inherit; font-weight: 700; }
.restaddons { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.84rem; }
.restsend { width: 100%; margin-top: 10px; justify-content: center; }
.resttotal { display: flex; justify-content: space-between; margin: 0; padding-top: 10px; border-top: 2px solid var(--border); font-weight: 800; font-size: 1.1rem; }
.resttotal dd { margin: 0; }
.restbill .btn { justify-content: center; }
.restmore { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.resttags { display: flex; flex-wrap: wrap; gap: 6px; }
.resttag { padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.resttag small { color: var(--text-muted); }
.resttag.is-off { opacity: 0.55; background: var(--surface-secondary, #f4f5fb); }
.kotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.kotcard { display: grid; gap: 10px; padding: 14px; border-top: 5px solid #f59e0b; }
.kotcard.is-late { border-top-color: #dc2626; }
.kotcard header { display: grid; gap: 2px; }
.kotcard header b { font-size: 1.15rem; }
.kotcard header em { color: var(--text-muted); font-style: normal; font-size: 0.82rem; }
.kotcard ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kotcard li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px; font-size: 1rem; }
.kotcard li small { display: block; color: #c2410c; font-size: 0.82rem; }
.kotcard li.is-cancelled span { text-decoration: line-through; color: var(--text-muted); }
.kotcard__foot { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 900px) { .restpos { grid-template-columns: minmax(0, 1fr); } .restcart { position: static; } .restbar__new { margin-left: 0; } }
/* ---------- Jewellery ---------- */
.jwrate { display: grid; grid-template-columns: minmax(0, 1fr) 120px 70px; gap: 8px; align-items: center; }
.jwrate label small { color: var(--text-muted); font-weight: 400; }
.jwrate > small { color: var(--text-muted); font-size: 0.78rem; }
.jwrate__old { color: #c2410c !important; }
.jwcust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jwlines { display: grid; gap: 12px; }
.jwline { padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-secondary, #fafbff); }
.jwline--old { background: #fffaf0; border-color: #fde68a; }
.jwline__a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) 110px 90px 100px; gap: 10px; margin-bottom: 10px; }
.jwline__b { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; align-items: end; }
.jwline .field { margin: 0; }
.jwline label { font-size: 0.78rem; color: var(--text-muted); }
.jwout { display: flex; align-items: center; background: #fff; font-weight: 700; }
.jwout--amt { color: var(--primary); }
.jwline__del { height: 38px; }
.jwpay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.jwtotal { display: grid; gap: 6px; margin: 0; }
.jwtotal > div { display: flex; justify-content: space-between; gap: 12px; }
.jwtotal dt small { color: var(--text-muted); font-weight: 400; }
.jwtotal dd { margin: 0; }
.jwtotal__big { padding-top: 6px; border-top: 1px solid var(--border); font-size: 1.1rem; font-weight: 800; }
.jwtable td, .jwtable th { white-space: nowrap; }
.jwtable td:first-child { white-space: normal; min-width: 160px; }
@media (max-width: 1000px) { .jwcust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jwline__a { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jwpay { grid-template-columns: minmax(0, 1fr); } }
.jwcust__wide { grid-column: 1 / -1; }
/* ---------- Bookings ---------- */
.bktoday { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bktoday h2 { font-size: 0.95rem; }
.bktoday h2 small { color: var(--primary); }
.bktoday a { display: block; padding: 6px 0; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.bktoday a small { color: var(--text-muted); }
.bkboard__nav { display: flex; gap: 4px; }
.bkgrid { border-collapse: separate; border-spacing: 2px; min-width: 760px; width: 100%; }
.bkgrid thead th { padding: 4px 2px; color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-align: center; }
.bkgrid thead th span { display: block; font-size: 0.68rem; font-weight: 400; text-transform: uppercase; }
.bkgrid thead th:first-child { text-align: left; }
.bkgrid thead th.is-today { color: var(--primary); }
.bkgrid thead th.is-weekend { color: #c2410c; }
.bkgrid tbody th { position: sticky; left: 0; z-index: 1; min-width: 86px; padding: 4px 8px 4px 0; background: #fff; text-align: left; white-space: nowrap; }
.bkgrid tbody th small { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.72rem; }
.bkgrid td { height: 36px; min-width: 44px; padding: 0; border-radius: 7px; background: var(--surface-secondary, #f4f5fb); text-align: center; font-size: 0.72rem; }
.bkgrid td a { display: grid; place-items: center; height: 100%; color: inherit; text-decoration: none; overflow: hidden; }
.bkgrid td.is-booked { background: #fde68a; color: #92400e; font-weight: 600; }
.bkgrid td.is-in { background: #bbf7d0; color: #166534; font-weight: 600; }
.bkgrid .bkfree { color: #c7cbe0; font-size: 1rem; }
.bkgrid .bkfree:hover { background: var(--primary-light, #ecebff); color: var(--primary); border-radius: 7px; }
.bkgrid__grp td { height: auto; padding: 8px 0 2px; background: none; color: var(--text-muted); font-size: 0.74rem; font-weight: 700; text-align: left; text-transform: uppercase; }
.bklegend { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; color: var(--text-muted); font-size: 0.8rem; }
.bklegend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 5px; border-radius: 3px; background: var(--surface-secondary, #f4f5fb); vertical-align: -1px; }
.bklegend .is-booked::before { background: #fde68a; }
.bklegend .is-in::before { background: #bbf7d0; }
.bkadd { grid-template-columns: minmax(0, 1fr) 64px 100px 110px auto; }
@media (max-width: 900px) { .bkadd { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bktoday { grid-template-columns: 1fr; } }
.rnrow { grid-template-columns: minmax(0, 1.6fr) 64px 80px auto; }
/* ---------- Daily delivery ---------- */
.ddsheet td .input { max-width: 110px; }
.ddsheet td a { color: inherit; }
.ddbill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ddbill > div { flex: 1 1 240px; }
.ddbill small { display: block; color: var(--text-muted); }
.ddrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.ddrow a { color: inherit; }
.ddrow span { color: var(--text-muted); }
.ddrow.is-off { opacity: 0.6; }
.ddweek { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.86rem; }
.ddcal { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; margin: 8px 0; }
.ddcal span { display: grid; justify-items: center; padding: 5px 2px; border-radius: 8px; background: #ecfdf5; color: #166534; font-weight: 700; font-size: 0.9rem; }
.ddcal span small { color: var(--text-muted); font-weight: 400; font-size: 0.68rem; }
.ddcal span.is-zero { background: var(--surface-secondary, #f4f5fb); color: var(--text-muted); font-weight: 400; }
.ddnav { display: flex; justify-content: space-between; margin: 0; }
@media (max-width: 700px) { .ddrow { grid-template-columns: minmax(0, 1fr) auto; } .ddrow > span:nth-child(2) { grid-column: 1 / -1; order: 3; } }
.furow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 80px auto; }
@media (max-width: 700px) { .furow { grid-template-columns: 1fr 1fr; } }
/* Pills that warn or are switched off (were falling back to green) */
.pill--bad { background: var(--danger-light); color: var(--danger-text); }
.pill--off, .pill--quiet { background: #eef0f4; color: var(--text-muted); }
/* ---------- Builders' units ---------- */
.reunits { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.reunit { display: grid; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; color: inherit; min-height: 78px; align-content: start; }
.reunit small { color: var(--text-muted); font-size: 0.72rem; }
.reunit span { font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reunit.is-free { background: #ecfdf5; border-color: #bbf7d0; }
.reunit.is-booked { background: #fffbeb; border-color: #fde68a; }
.reunit.is-sold { background: #eef0f4; color: var(--text-muted); }
.reunits__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-size: 0.85rem; }
.reunits__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.reunits__legend .is-free::before { background: #86efac; } .reunits__legend .is-booked::before { background: #fcd34d; } .reunits__legend .is-sold::before { background: #cbd0da; }
.reform { max-width: 760px; }
.rerow { grid-template-columns: minmax(0, 1fr) 90px auto; }
.restage { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.restage small { display: block; color: var(--text-muted); }
.restage__raise { display: flex; gap: 6px; align-items: center; }
.restage__raise .input { width: 120px; }
/* ---------- Marketplace ---------- */
.mkchannels { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.mkchannel { display: grid; gap: 4px; align-content: start; }
.mkchannel > span { font-size: 1.2rem; font-weight: 700; }
.mkchannel small { color: var(--text-muted); }
.mkorder { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.mkorder small { display: block; color: var(--text-muted); }
.mkorder--pick { grid-template-columns: auto 54px minmax(0, 1fr) auto; cursor: pointer; }
@media (max-width: 700px) {
  .restage { grid-template-columns: 48px minmax(0, 1fr); } .restage > :last-child { grid-column: 1 / -1; } .restage__raise { flex-wrap: wrap; } .restage__raise .input { flex: 1 1 110px; width: auto; }
  .mkorder { grid-template-columns: 48px minmax(0, 1fr) auto; } .mkorder > a, .mkorder > form { grid-column: 2 / -1; }
  .mkorder--pick { grid-template-columns: auto 48px minmax(0, 1fr) auto; }
}
/* ---------- Loans and donations ---------- */
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 2px; align-content: start; }
.stat small { color: var(--text-muted); }
.stat b { font-size: 1.35rem; }
.stat span { color: var(--text-muted); font-size: 0.82rem; }
.lnrow { grid-template-columns: minmax(0, 1.6fr) 80px 80px 70px 100px auto; }
@media (max-width: 700px) { .lnrow { grid-template-columns: 1fr 1fr 1fr; } .lnrow > :first-child { grid-column: 1 / -1; } }
/* ---------- Seat tickets ---------- */
.seatmap { display: grid; grid-template-columns: repeat(var(--seat-cols), minmax(34px, 44px)); gap: 6px; justify-content: center; padding: 4px 2px 8px; min-width: max-content; }
.seat { position: relative; display: block; cursor: pointer; }
.seat input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seat span { display: grid; place-items: center; height: 34px; border-radius: 8px 8px 4px 4px; border: 1px solid #bbf7d0; background: #ecfdf5; color: #166534; font-size: 0.72rem; font-weight: 650; }
.seat.is-premium span { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; }
.seat input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.seat input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.seat.is-sold { cursor: not-allowed; }
.seat.is-sold span { background: #eef0f4; border-color: #dfe2ea; color: #a3a8b8; text-decoration: line-through; }
.seat__aisle { display: block; }
.seatmap__front { text-align: center; margin: 0 0 10px; padding: 4px; border-radius: 6px; background: #eef0f4; color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.seatmap__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 8px 0 0; font-size: 0.82rem; color: var(--text-muted); }
.seatmap__legend span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.seatmap__legend .is-free::before { background: #86efac; } .seatmap__legend .is-premium::before { background: #a5b4fc; } .seatmap__legend .is-sold::before { background: #cbd0da; }
.tkrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.tkrow small { display: block; color: var(--text-muted); overflow-wrap: anywhere; }
.tkrow__acts { grid-column: 1 / -1; display: flex; gap: 6px; }
.tkrow.is-off, .mkorder.is-off { opacity: 0.55; }
/* Barcode labels: the "labels = stock" button wraps on a narrow phone instead of pushing the page 1px wide */
.invchecks .btn { max-width: 100%; white-space: normal; }
/* ---------- With GST / without GST ---------- */
.gstpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; padding: 12px 16px; }
.gstpick__label { font-weight: 650; margin-right: 4px; }
.gstpick__opt { display: grid; padding: 7px 16px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; line-height: 1.25; }
.gstpick__opt small { color: var(--text-muted); font-size: 0.74rem; }
.gstpick__opt.is-on { border-color: var(--primary); background: var(--primary-light); color: var(--primary-hover); box-shadow: inset 0 0 0 1px var(--primary); }
.gstpick__opt.is-on small { color: inherit; }
.gstpick__note { flex: 1 1 100%; display: flex; gap: 8px; margin: 4px 0 0; color: var(--text-muted); font-size: 0.86rem; }
.gstpick__note .icon { flex: none; margin-top: 2px; }
.pos__gst { display: flex; gap: 6px; margin: 8px 0 2px; }
.pos__gst .pos__mode { flex: 1; }
/* ==========================================================================
   The customer panel: a livelier look (soft backdrop, lifted cards, a hero
   card on the home page). Scoped to the panel so the public site and the
   admin panel keep theirs.
   ========================================================================== */
.shell--photo .shell__main { min-height: 100vh; background: radial-gradient(1100px 480px at 105% -8%, rgba(91, 84, 240, 0.09), transparent 62%), radial-gradient(900px 420px at -12% 108%, rgba(34, 211, 238, 0.07), transparent 60%), #f4f5fb; }
.shell--photo .shell__content { animation: pageIn 0.28s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.shell--photo .card { border-color: rgba(35, 33, 120, 0.08); box-shadow: var(--shadow-sm); transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s; }
.shell--photo a.card:hover, .shell--photo a.tile:hover { transform: translateY(-2px); border-color: var(--primary-soft); box-shadow: var(--shadow-md); }
.shell--photo .clinvisit, .shell--photo .labtest { transition: background-color 0.15s; }
.shell--photo a.clinvisit:hover, .shell--photo a.labtest:hover { background: var(--primary-light); border-radius: 10px; }
.shell--photo .stat { border-left: 4px solid var(--primary); }
.shell--photo .labres thead th { background: #f6f7fd; }
.shell--photo .listtabs a[aria-current="page"] { box-shadow: var(--shadow-brand); }
@media (prefers-reduced-motion: reduce) { .shell--photo .shell__content { animation: none; } .shell--photo .card, .shell--photo .wshome__stat { transition: none; } }

/* ==========================================================================
   The panel, after the reference design: warm accents, a welcome banner,
   tinted number cards, a day-by-day chart.
   ========================================================================== */
.shell--photo { --grad-brand: linear-gradient(90deg, #ff7a1a 0%, #f0447c 58%, #8b3dff 100%); --shadow-brand: 0 12px 22px -10px rgba(240, 68, 124, 0.55); --accent-o: #ff6a1f; }
.shell--photo .shell__main { background: #f6f7fb; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.pagehead h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; }
.pagehead .shell__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagehead .shell__chip { display: none; }
.viewall { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.viewall .icon { width: 15px; height: 15px; }
/* welcome banner */
.wshome { display: grid; gap: 14px; margin-bottom: 16px; }
.dhero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 320px) minmax(270px, 330px); align-items: center; gap: 18px; min-height: 150px; padding: 14px 16px 14px 20px; border-radius: 20px; overflow: hidden; background: linear-gradient(100deg, #fff6ee 0%, #ffe6d3 42%, #ffd3b6 68%, #ffeadb 100%); box-shadow: 0 10px 30px -18px rgba(255, 122, 26, 0.55); }
.dhero__tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--accent-o); box-shadow: 0 10px 24px -12px rgba(255, 106, 31, 0.6); }
.dhero__tile .icon { width: 32px; height: 32px; }
.dhero__hello p { margin: 0; color: #2a2f52; font-size: 1.02rem; font-weight: 600; }
.dhero__hello h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; color: #14183c; overflow-wrap: anywhere; }
.dhero__hello .dhero__sub { margin-top: 4px; color: #4a4f72; font-size: 0.9rem; font-weight: 450; }
.dhero__art { position: relative; margin: 0; align-self: end; }
.dhero__art figcaption { position: absolute; top: 12.6%; left: 51.6%; transform: translateX(-50%); max-width: 58%; color: #ffe9c9; font-size: clamp(0.5rem, 0.78vw, 0.7rem); font-weight: 800; letter-spacing: 0.1em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhero__art img { display: block; width: 100%; max-width: 380px; height: auto; }
.dhero__promo { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.62); text-decoration: none; color: #4a4f72; transition: transform 0.15s, box-shadow 0.15s; }
.dhero__promo:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(255, 106, 31, 0.6); }
.dhero__promo b { display: block; color: var(--accent-o); font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.dhero__promo small { display: block; margin-top: 6px; font-size: 0.8rem; line-height: 1.4; }
.dhero__promo img { flex: none; width: 104px; height: auto; margin-left: auto; }
/* quick buttons and the date */
.dquick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.wshome__quick { display: flex; flex-wrap: wrap; gap: 10px; }
.dquick__btn, .dquick__date { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 14px; background: #fff; color: #14183c; font-size: 0.92rem; font-weight: 650; text-decoration: none; box-shadow: 0 2px 10px rgba(20, 24, 60, 0.06); transition: transform 0.15s, box-shadow 0.15s; }
.dquick__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(20, 24, 60, 0.25); color: #14183c; }
.dquick__btn .icon, .dquick__date .icon { width: 19px; height: 19px; }
.dquick__btn.is-main { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.dquick__btn.is-main:hover { color: #fff; }
.dquick__btn.is-main .icon:last-child { width: 15px; height: 15px; opacity: 0.9; }
/* number cards */
.dstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.dstat { position: relative; display: grid; gap: 4px; align-content: start; min-height: 112px; padding: 16px 18px; border-radius: 18px; border: 1px solid transparent; text-decoration: none; color: #14183c; transition: transform 0.15s, box-shadow 0.15s; }
.dstat:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(20, 24, 60, 0.35); color: #14183c; }
.dstat small { color: #2a2f52; font-size: 0.86rem; font-weight: 550; padding-right: 56px; }
.dstat b { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; }
.dstat em { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #5c6184; font-size: 0.8rem; font-style: normal; }
.dstat em .icon { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: currentColor; color: inherit; }
.dstat em .icon use { color: #fff; }
.dstat__icon { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.dstat__icon .icon { width: 22px; height: 22px; }
.dstat.is-peach { background: linear-gradient(135deg, #fff, #fff1e8); border-color: #ffe4d2; } .dstat.is-peach .dstat__icon { background: #ffe1cf; color: #ff6a1f; } .dstat.is-peach em { color: #16a34a; }
.dstat.is-green { background: linear-gradient(135deg, #f3fff7, #e2f9ea); border-color: #cdf3da; } .dstat.is-green b, .dstat.is-green em { color: #15803d; } .dstat.is-green .dstat__icon { background: #c9f2d7; color: #16a34a; }
.dstat.is-amber { background: linear-gradient(135deg, #fffaf0, #fff0d6); border-color: #ffe6b8; } .dstat.is-amber b { color: #f08a00; } .dstat.is-amber .dstat__icon { background: #ffe5b0; color: #f59e0b; }
.dstat.is-pink { background: linear-gradient(135deg, #fff5fb, #fde6f4); border-color: #fbd3ea; } .dstat.is-pink .dstat__icon { background: #fbcfe8; color: #ec4899; }
.dstat.is-rose { background: linear-gradient(135deg, #fff5f6, #ffe4e7); border-color: #fecdd3; } .dstat.is-rose b { color: #e11d48; } .dstat.is-rose .dstat__icon { background: #fecdd3; color: #e11d48; }
.dstat.is-blue { background: linear-gradient(135deg, #f4f9ff, #e3efff); border-color: #cfe2ff; } .dstat.is-blue .dstat__icon { background: #cfe2ff; color: #2563eb; }
.dstat.is-violet { background: linear-gradient(135deg, #f8f5ff, #ece6ff); border-color: #ddd3ff; } .dstat.is-violet .dstat__icon { background: #ddd3ff; color: #7c3aed; }
.dstat.is-teal { background: linear-gradient(135deg, #f2fffc, #dcf8f2); border-color: #c3f0e6; } .dstat.is-teal .dstat__icon { background: #c3f0e6; color: #0d9488; }
/* the four facts: label and icon on top, the figure, a line under it */
.shell--photo .tiles { gap: 14px; }
.shell--photo .tile { position: relative; display: grid; gap: 2px; align-content: start; min-height: 128px; padding: 18px 20px; border-radius: 18px; border: 0; background: #fff; box-shadow: 0 2px 12px rgba(20, 24, 60, 0.05); }
.shell--photo .tile > span:not(.tile__icon) { color: #2a2f52; font-size: 0.9rem; font-weight: 550; padding-right: 54px; }
.shell--photo .tile b { margin-top: 6px; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; color: #14183c; }
.shell--photo .tile em { color: #6a6f90; font-size: 0.88rem; font-style: normal; }
.shell--photo .tile__icon { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 13px; margin: 0; }
/* finish setting up */
.setupcard { border-radius: 18px; }
.setupbar { height: 8px; margin: 10px 0 14px; border-radius: 99px; background: #eef0f6; overflow: hidden; }
.setupbar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff7a1a, #f0447c 60%, #8b3dff); }
.setupcard__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 230px); gap: 12px; align-items: center; }
.setupcard__art { width: 100%; height: auto; }
.setupcard .checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.setupcard .checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 10px; border: 0; border-radius: 12px; }
.setupcard .checklist li div { display: grid; }
.setupcard .checklist li b { font-size: 0.92rem; font-weight: 550; color: #2a2f52; }
.setupcard .checklist li span:not(.checklist__mark) { color: #6a6f90; font-size: 0.8rem; }
.setupcard .checklist__mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9cde0; background: #fff; color: #fff; }
.setupcard .checklist__mark .icon { width: 12px; height: 12px; }
.setupcard .checklist li.is-done .checklist__mark { border-color: #16a34a; background: #16a34a; }
.setupcard .checklist li.is-next { background: #fff3ea; }
.setupcard .checklist li.is-next b { font-weight: 700; color: #14183c; }
.setupcard .checklist li.is-next .checklist__mark { border: 5px solid #ff6a1f; }
.setupcard .checklist__link { color: var(--primary); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
/* sales this month */
.chartcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.chartcard__key { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: #2a2f52; font-size: 0.82rem; white-space: nowrap; }
.chartcard__key span { width: 9px; height: 9px; border-radius: 50%; margin-left: 8px; }
.chartcard__key .is-sales, .linechart__dot { background: #ff6a1f; fill: #ff6a1f; } .chartcard__key .is-recv { background: #7c3aed; }
.linechart { display: block; width: 100%; height: auto; margin: 6px 0 10px; }
.linechart text { fill: #7a7f9d; font-size: 10.5px; font-family: var(--font-body); }
.linechart__grid { stroke: #e9ebf3; stroke-width: 1; }
.linechart__sales, .linechart__recv { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.linechart__sales { stroke: #ff6a1f; } .linechart__recv { stroke: #7c3aed; opacity: 0.85; }
/* recent activity */
.activity__row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; }
.activity__row:first-of-type { border-top: 0; }
.activity__row small { display: block; color: #6a6f90; font-size: 0.8rem; }
.activity__row > span > b { font-size: 0.92rem; }
.activity__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #eef0fa; color: #5a5fd6; }
.activity__icon .icon { width: 22px; height: 22px; }
@media (max-width: 1180px) { .dhero { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); } .dhero__promo { display: none; } }
@media (max-width: 760px) { .dhero { grid-template-columns: auto minmax(0, 1fr); min-height: 0; } .dhero__art { display: none; } .dhero__tile { width: 52px; height: 52px; border-radius: 14px; } .setupcard__body { grid-template-columns: minmax(0, 1fr); } .setupcard__art { display: none; } .dquick__btn, .dquick__date { min-height: 42px; padding: 0 14px; } .chartcard__top { flex-direction: column; } .chartcard__key span:first-child { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .dstat, .dquick__btn, .dhero__promo { transition: none; } }
.chartcard .salescard__total { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; color: #14183c; }
.chartcard .card__lede { margin: 0; }
/* ---------- Home: where are you working? ---------- */
.workareas h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.05rem; color: #14183c; }
.workareas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.workarea { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 2px solid transparent; background: #fff; color: #14183c; text-decoration: none; box-shadow: 0 2px 10px rgba(20, 24, 60, 0.06); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.workarea:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(20, 24, 60, 0.3); color: #14183c; }
.workarea__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #eef0fa; color: #5a5fd6; }
.workarea__icon .icon { width: 23px; height: 23px; }
.workarea b { font-size: 1rem; align-self: end; }
.workarea small { color: #6a6f90; font-size: 0.78rem; line-height: 1.3; align-self: start; }
.workarea.is-on { border-color: #ff8a1f; background: #fff7f0; }
.workarea.is-on .workarea__icon { background: linear-gradient(135deg, #ff8a1f, #f4465f); color: #fff; }
@media (prefers-reduced-motion: reduce) { .workarea { transition: none; } }
