:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --primary: #562098;
  --primary-dark: #351267;
  --mint: #008a67;
  --gold: #f0b72c;
  --ink: #151827;
  --muted: #5d6575;
  --line: #dde1ea;
  --soft: #f2f4f8;
  --panel: rgba(255, 255, 255, 0.96);
  --shadow: 0 18px 45px rgba(23, 18, 38, 0.14);
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
  --safe-top: max(0px, env(safe-area-inset-top));
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f5fb 58%, #ffffff 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

body.admin-ui {
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 183, 44, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(86, 32, 152, 0.1), transparent 30%),
    linear-gradient(180deg, #fbf9ff 0%, #f4f0fb 45%, #f8fafc 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
  padding: 0 12px calc(24px + var(--safe-bottom));
}

body.admin-ui .app-shell {
  padding-top: 64px;
}

.topbar {
  display: none;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: max(8px, env(safe-area-inset-top)) 14px 9px;
  border-bottom: 1px solid rgba(86, 32, 152, 0.1);
  background:
    radial-gradient(circle at 50% 8px, rgba(240, 183, 44, 0.16), transparent 58px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(248, 245, 253, 0.93));
  box-shadow: 0 10px 24px rgba(20, 27, 44, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, opacity 240ms ease;
}

body:not(.admin-ui) .topbar,
body:not(.admin-route) .topbar {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

body.admin-ui.admin-route .topbar {
  display: flex;
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(86, 32, 152, 0.1);
  box-shadow: 0 14px 32px rgba(41, 32, 60, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: left;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(86, 32, 152, 0.22);
}

.devotional-brand .flute-mark {
  width: 44px;
  height: 34px;
}

.devotional-brand .flute-mark svg {
  width: 52px;
  height: 34px;
}

.brand p,
.section-title p,
.employee-sub,
.meta-line,
.helper-text,
.empty p {
  color: var(--muted);
}

.brand p {
  margin: 0;
  color: #7c5a1a;
  font-size: 0.71rem;
  font-weight: 900;
}

.brand strong {
  display: block;
  color: #191329;
  font-size: 0.98rem;
  font-weight: 950;
  white-space: nowrap;
}

.top-public-button {
  position: absolute;
  right: 12px;
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(86, 32, 152, 0.14);
  border-radius: 15px;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 12px 22px rgba(86, 32, 152, 0.12);
}

body.admin-ui .top-public-button {
  display: grid;
}

body.admin-ui .brand p {
  color: #f0c96c;
}

body.admin-ui .brand strong {
  color: #191329;
}

.admin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(86, 32, 152, 0.14);
  border-radius: 15px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(86, 32, 152, 0.12);
}

.admin-icon svg,
.icon {
  width: 17px;
  height: 17px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.hero-u {
  position: relative;
  margin: -2px -4px 0;
  padding: 0 0 10px;
  transition: none;
}

.hero-curve {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 218px;
  overflow: hidden;
  padding: 22px 18px 42px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 0 0 38px 38px;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 216, 99, 0.38), transparent 36%),
    radial-gradient(circle at 8% 18%, rgba(0, 166, 126, 0.2), transparent 31%),
    radial-gradient(circle at 92% 14%, rgba(106, 48, 173, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 255, 0.97) 58%, rgba(231, 249, 242, 0.96));
  box-shadow: 0 18px 44px rgba(44, 28, 72, 0.14);
  text-align: center;
}

.hero-curve::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -68px;
  width: min(88%, 620px);
  height: 124px;
  border-radius: 999px 999px 0 0;
  background: #e8ecf4;
  transform: translateX(-50%);
  box-shadow: inset 0 18px 30px rgba(86, 32, 152, 0.08);
}

.hero-flute {
  position: relative;
  z-index: 1;
  margin-bottom: 7px;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 3px;
  color: #7c5a1a;
  font-size: 0.82rem;
  font-weight: 950;
}

.hero-curve h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  color: #191329;
  font-size: clamp(1.72rem, 6vw, 3.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-brandline {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: var(--primary-dark);
  font-size: clamp(1.04rem, 3.6vw, 1.75rem);
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 8px 0 0;
  color: #596273;
  font-size: 0.82rem;
  font-weight: 800;
}

.flute-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  border: 1px solid rgba(240, 183, 44, 0.18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 250, 235, 0.95), rgba(246, 241, 253, 0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(86, 32, 152, 0.08);
}

.flute-mark.large {
  width: 70px;
  height: 50px;
  border-radius: 20px;
}

.flute-mark svg {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 42px;
  overflow: visible;
  animation: fluteFloat 3.8s ease-in-out infinite;
}

.flute-mark.large svg {
  width: 70px;
  height: 46px;
}

.halo {
  position: absolute;
  inset: 5px 7px 4px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 205, 65, 0.28), rgba(86, 32, 152, 0.08) 58%, transparent 72%);
  filter: blur(1px);
  animation: auraPulse 3s ease-in-out infinite;
}

.flute,
.flute-tip {
  fill: none;
  stroke: #f0b72c;
  stroke-width: 6;
  stroke-linecap: round;
}

.flute-tip {
  stroke: #d69a18;
}

.hole {
  fill: #351267;
}

.feather-stem,
.feather-left,
.feather-right {
  fill: none;
  stroke-linecap: round;
}

.feather-stem {
  stroke: #0f8f83;
  stroke-width: 2.4;
}

.feather-left {
  stroke: #0ea5a2;
  stroke-width: 2.1;
}

.feather-right {
  stroke: #20b879;
  stroke-width: 2.1;
}

.feather-eye.outer {
  fill: #18b96d;
}

.feather-eye.mid {
  fill: #f7c948;
}

.feather-eye.inner {
  fill: #562098;
}

.toolbar {
  position: sticky;
  z-index: 90;
  top: var(--safe-top);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(86, 32, 152, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(27, 18, 49, 0.13);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: none;
}

body.toolbar-docked:not(.admin-ui) .toolbar {
  position: fixed;
  top: var(--safe-top);
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 6px 12px 8px;
  border-right: 0;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 253, 0.97));
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.16);
}

body.toolbar-docked:not(.admin-ui) .directory {
  padding-top: 76px;
}

body.search-active:not(.admin-ui) .toolbar {
  grid-template-columns: minmax(0, 1fr) 0px;
  gap: 0;
}

body.search-active:not(.admin-ui) .select-wrap {
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scaleX(0.9);
}

.admin-toolbar {
  position: sticky;
  top: 68px;
  grid-template-columns: minmax(0, 1fr) 122px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(31, 23, 48, 0.86);
  box-shadow: 0 18px 42px rgba(11, 8, 20, 0.28);
}

.search,
.select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f2f5fb, #e9eef8);
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.admin-toolbar .search {
  border: 1px solid rgba(86, 32, 152, 0.12);
  background: linear-gradient(180deg, #ffffff, #f4f0fa);
  color: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(41, 32, 60, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

.admin-toolbar .select-wrap {
  border: 1px solid rgba(86, 32, 152, 0.12);
  background: linear-gradient(180deg, #ffffff, #f4f0fa);
  color: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(41, 32, 60, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

.admin-toolbar .search input {
  color: var(--ink);
}

.admin-toolbar .search input::placeholder {
  color: #8d94a5;
}

.search input,
.select-wrap select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.select-wrap select {
  appearance: none;
  font-size: 0.83rem;
}

.admin-toolbar .select-wrap select {
  color: var(--primary-dark);
}

.directory {
  display: grid;
  gap: 11px;
  padding-bottom: 24px;
}

.employee-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(86, 32, 152, 0.1);
  border-radius: 21px;
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 183, 44, 0.13), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(86, 32, 152, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.96) 100%);
  box-shadow: 0 12px 26px rgba(20, 27, 44, 0.1), inset 0 1px 0 rgba(255,255,255,0.84);
  animation: cardIn 260ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.employee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.9;
}

.employee-card.is-open {
  border-color: rgba(0, 138, 103, 0.16);
  box-shadow: 0 12px 26px rgba(20, 27, 44, 0.09), 0 8px 24px rgba(0, 138, 103, 0.08), inset 0 1px 0 rgba(255,255,255,0.86);
}

.employee-card.is-closed {
  border-color: rgba(215, 150, 0, 0.22);
  box-shadow: 0 12px 26px rgba(20, 27, 44, 0.1), 0 10px 26px rgba(240, 183, 44, 0.16), inset 0 1px 0 rgba(255,255,255,0.86);
}

.employee-card:active {
  transform: scale(0.992);
  box-shadow: 0 8px 18px rgba(20, 27, 44, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}

.employee-card.admin-card {
  position: relative;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #ffffff, #f7f8fc);
}

.employee-head {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.avatar {
  position: relative;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #eee8f8, #edf8f5);
  color: var(--primary);
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(20, 27, 44, 0.1);
  transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.avatar:not(:disabled):active {
  transform: scale(0.94);
  filter: saturate(1.1);
  box-shadow: 0 5px 12px rgba(20, 27, 44, 0.14);
}

.avatar:disabled {
  cursor: default;
}

.employee-head .avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
}

.avatar img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.28);
  background: #eee8f8;
}

.avatar-placeholder {
  width: 78%;
  height: 78%;
  color: #7f63ad;
  filter: drop-shadow(0 8px 12px rgba(47, 31, 82, 0.08));
}

.avatar-placeholder-head,
.avatar-placeholder-shoulder {
  fill: #d8c9ee;
}

.avatar-placeholder-highlight {
  fill: rgba(255, 255, 255, 0.72);
}

.employee-name {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.employee-sub {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
}

.employee-sub span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.employee-sub span + span::before {
  content: none;
}

.employee-department {
  color: var(--primary-dark);
}

.employee-responsibility {
  color: #596174;
  font-weight: 800;
}

.employee-subjects {
  color: #0b6f57;
  font-weight: 850;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 850;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, 0.78fr) 42px;
  gap: 8px;
}

.actions.admin-actions {
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.68fr) 42px 42px;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, filter 150ms ease;
}

.pill-action:active {
  transform: translateY(1px) scale(0.985);
  filter: saturate(1.08);
}

.call-action {
  border: 1px solid rgba(0, 138, 103, 0.14);
  background: linear-gradient(180deg, #f0fff8, #ddf8ed);
  color: #026647;
  box-shadow: 0 7px 14px rgba(0, 138, 103, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.call-action .call-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.wa-action {
  border: 1px solid rgba(0, 115, 82, 0.18);
  background: linear-gradient(145deg, #18b96d, #0b8f5a);
  color: #fff;
  box-shadow: 0 9px 18px rgba(0, 115, 82, 0.18);
}

.contact-action {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid rgba(86, 32, 152, 0.12);
  background: linear-gradient(180deg, #fff, #f3effa);
  color: var(--primary-dark);
  box-shadow: 0 7px 14px rgba(86, 32, 152, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.contact-action .icon {
  width: 18px;
  height: 18px;
}

.menu-action {
  min-width: 42px;
  padding: 0;
  border: 1px solid rgba(86, 32, 152, 0.12);
  background: #f6f1fd;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.card-menu {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 15px;
  background: #f8f6fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 22px rgba(17, 24, 39, 0.08);
  animation: menuIn 150ms ease both;
}

.card-menu.open {
  display: grid;
}

.admin-card .card-menu {
  position: relative;
  z-index: 8;
}

.card-menu button {
  min-height: 42px;
  border-radius: 12px;
  background: #fff;
  color: #253044;
  font-size: 0.76rem;
  font-weight: 950;
}

.card-menu button:last-child {
  color: #c61d1d;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  gap: 6px;
  min-height: 26px;
  padding: 3px 8px 3px 7px;
  border-radius: 999px;
  background: #f0f2f7;
  color: #4c5567;
  font-size: 0.62rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.status-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.58);
}

.status-chip strong,
.status-chip span,
.status-chip em {
  display: inline;
  line-height: 1;
}

.status-chip strong {
  color: inherit;
  font-size: 0.66rem;
}

.status-chip span {
  max-width: min(260px, calc(100vw - 52px));
  overflow: hidden;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-chip em {
  color: inherit;
  font-style: normal;
}

.status-chip.open {
  background: linear-gradient(180deg, #e7fff5, #d9f8ec);
  color: #026647;
  box-shadow: 0 5px 14px rgba(0, 138, 103, 0.11), inset 0 1px 0 rgba(255,255,255,0.8);
}

.status-chip.closed {
  background: linear-gradient(180deg, #fff7e6, #ffefcc);
  color: #9a5c00;
  box-shadow: 0 7px 18px rgba(240, 183, 44, 0.22), inset 0 1px 0 rgba(255,255,255,0.8);
}

.status-chip.closed span {
  color: #8c6a2b;
}

.status-chip.open span {
  color: #25745a;
}

.empty,
.loader {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed #d7dbe4;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.loader-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e3ddec;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 740ms linear infinite;
}

.backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(8px);
}

.backdrop.open {
  display: block;
}

.sheet {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 14px 14px calc(18px + var(--safe-bottom));
  border-radius: 26px 26px 0 0;
  background: #fff;
  box-shadow: 0 -22px 64px rgba(15, 23, 42, 0.24);
  visibility: hidden;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 240ms cubic-bezier(.2,.9,.2,1);
}

.sheet.open {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sheet-inner {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.sheet-head,
.section-title,
.form-row,
.admin-row,
.modal-actions {
  display: flex;
  align-items: center;
}

.sheet-head,
.section-title {
  justify-content: space-between;
  gap: 12px;
}

.sheet-head {
  position: sticky;
  z-index: 2;
  top: -14px;
  padding: 10px 0 8px;
  background: #fff;
}

.section-title h2,
.sheet-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.section-title p,
.sheet-head p {
  margin: 0 0 2px;
  font-size: 0.75rem;
  font-weight: 900;
}

.icon-button,
.ghost-button,
.primary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 13px;
  font-weight: 900;
}

.icon-button {
  width: 42px;
  padding: 0;
  background: #f1ecf8;
  color: var(--primary);
}

.ghost-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
}

.primary-button {
  padding: 0 16px;
  background: linear-gradient(145deg, var(--primary-dark), #6730ad);
  color: #fff;
  box-shadow: 0 12px 24px rgba(86, 32, 152, 0.28);
}

.primary-button:disabled,
.ghost-button:disabled,
.pill-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.danger-button {
  padding: 0 14px;
  background: #fff0f0;
  color: #c61d1d;
}

.admin-panel {
  display: grid;
  gap: 12px;
}

.admin-view {
  padding-top: 4px;
  gap: 14px;
  padding-bottom: 92px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 183, 44, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff, #f8f4ff);
  box-shadow: 0 18px 38px rgba(41, 32, 60, 0.1);
  color: var(--ink);
}

.admin-hero p {
  margin: 0 0 2px;
  color: #f0c96c;
  font-size: 0.74rem;
  font-weight: 950;
}

.admin-hero h1 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.12;
}

.admin-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plus-button {
  background: linear-gradient(145deg, var(--primary-dark), #6730ad);
  color: #fff;
  box-shadow: 0 12px 22px rgba(86, 32, 152, 0.24);
}

.admin-form {
  scroll-margin-top: 86px;
}

.settings-dock {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(86, 32, 152, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(41, 32, 60, 0.09);
}

.settings-dock .section-title p {
  color: #f0c96c;
}

.settings-dock h2 {
  color: var(--ink);
}

.department-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.department-list {
  display: grid;
  gap: 8px;
}

.department-chip {
  display: grid;
  grid-template-columns: 28px 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 7px;
  border-radius: 14px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: #241339;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(11, 8, 20, 0.12);
  cursor: grab;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.department-chip button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2eafa;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1;
}

.department-chip button[data-department-move]:disabled {
  opacity: 0.35;
}

.department-chip.dragging,
.pin-row.dragging {
  opacity: 0.62;
  cursor: grabbing;
  transform: scale(0.985);
  box-shadow: 0 16px 34px rgba(41, 32, 60, 0.16);
}

.pins-dock {
  gap: 12px;
}

.pin-list {
  display: grid;
  gap: 8px;
}

.pin-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(86, 32, 152, 0.1);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(41, 32, 60, 0.06);
  cursor: grab;
  transition: transform 190ms ease, box-shadow 190ms ease, opacity 190ms ease, background 190ms ease;
}

.pin-row:hover,
.department-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(41, 32, 60, 0.08);
}

.pin-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f2eafa;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 950;
}

.pin-row strong,
.pin-row small {
  display: block;
  min-width: 0;
}

.pin-row strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.pin-row small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.pin-actions {
  display: flex;
  gap: 5px;
}

.pin-actions button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 11px;
  background: #fbf9ff;
  color: var(--primary-dark);
  font-weight: 950;
}

.pin-actions button:disabled {
  opacity: 0.34;
}

.soft-empty {
  background: #fff;
  border: 1px dashed rgba(86, 32, 152, 0.2);
}

.settings-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid rgba(86, 32, 152, 0.1);
  border-radius: 17px;
  background: #fbf9ff;
}

.settings-account strong,
.settings-account span {
  display: block;
}

.settings-account strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.settings-account span {
  color: #667085;
  font-size: 0.72rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.admin-bottom-nav {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 62px 1fr 1fr;
  align-items: center;
  gap: 9px;
  width: min(420px, calc(100% - 24px));
  padding: 8px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 54px rgba(41, 32, 60, 0.2);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.admin-nav-item,
.admin-nav-add {
  display: grid;
  place-items: center;
  min-height: 52px;
  color: #667085;
}

.admin-nav-item {
  gap: 2px;
  border-radius: 17px;
  background: transparent;
  font-size: 0.64rem;
  font-weight: 900;
}

.admin-nav-item .icon {
  width: 22px;
  height: 22px;
}

.admin-nav-item.active {
  background: #f2eafa;
  color: var(--primary-dark);
}

.admin-nav-add {
  width: 62px;
  height: 62px;
  min-height: 62px;
  margin-top: -22px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #7f47c7, #562098);
  color: #fff;
  box-shadow: 0 18px 32px rgba(86, 32, 152, 0.32), inset 0 1px 0 rgba(255,255,255,0.25);
}

.admin-nav-add .icon {
  width: 29px;
  height: 29px;
}

.login-card,
.panel-card,
.form-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(20, 27, 44, 0.1);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 27, 44, 0.08);
}

.employee-sheet {
  z-index: 112;
  max-height: min(94vh, 880px);
  padding-top: 8px;
}

.employee-sheet .form-card {
  padding: 0 0 12px;
  border: 0;
  box-shadow: none;
}

.form-sheet-head {
  top: -8px;
  padding: 12px 0 10px;
  border-bottom: 1px solid #eef1f6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.form-grid label,
.login-card label,
.photo-picker {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 0.75rem;
  font-weight: 900;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.login-card input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.form-grid textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.photo-picker-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.photo-preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 20px;
  background: #eee8f8;
  color: var(--primary);
  font-weight: 950;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.days-card {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px solid #e3e7ef;
  border-radius: 16px;
  background: #f8fafc;
}

.subject-card {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid #e3e7ef;
  border-radius: 15px;
  background: #f8fafc;
}

.subject-card strong {
  color: #242b3b;
  font-size: 0.82rem;
  font-weight: 950;
}

.subject-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.subject-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #dce1ea;
  border-radius: 999px;
  background: #fff;
  color: #4c5567;
  font-size: 0.7rem;
  font-weight: 950;
}

.subject-pill input {
  position: absolute;
  opacity: 0;
}

.subject-pill:has(input:checked) {
  border-color: rgba(0, 138, 103, 0.42);
  background: #e2f8ee;
  color: #00694e;
  box-shadow: inset 0 0 0 1px rgba(0, 138, 103, 0.1);
}

.day-controls {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.day-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  background: #fff;
  color: #4c5567;
  font-size: 0.7rem;
  font-weight: 950;
}

.day-pill input {
  position: absolute;
  opacity: 0;
}

.day-pill:has(input:checked) {
  border-color: rgba(86, 32, 152, 0.45);
  background: #e9dcfa;
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px rgba(86, 32, 152, 0.12);
}

.day-pill:has(input:checked)::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

.time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.slot-head strong {
  color: #242b3b;
  font-size: 0.82rem;
  font-weight: 950;
}

.slot-list {
  display: grid;
  gap: 8px;
}

.time-slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: end;
}

.mini-add-button,
.mini-remove-button {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(86, 32, 152, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 7px 14px rgba(86, 32, 152, 0.08);
}

.mini-add-button {
  padding: 0 12px;
}

.mini-remove-button {
  width: 36px;
  color: #b42318;
}

.mini-remove-button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-row {
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e3e7ef;
  border-radius: 15px;
  background: #fbfcff;
}

.admin-row strong {
  display: block;
}

.admin-row small {
  color: var(--muted);
  font-weight: 800;
}

.row-actions {
  display: flex;
  gap: 7px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  min-height: 40px;
  padding: 0 4px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.form-submit-bar {
  position: sticky;
  z-index: 3;
  bottom: calc(-1 * (18px + var(--safe-bottom)));
  display: grid;
  padding: 10px 0 calc(10px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0.72), #fff 36%);
}

.modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  place-items: end center;
  padding: 16px 16px max(18px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(8px);
}

.modal.open {
  display: grid;
}

.modal-lock {
  overflow: hidden;
}

.photo-modal {
  position: fixed;
  z-index: 190;
  inset: 0;
  display: none;
  place-items: stretch center;
  padding: 0;
  background:
    radial-gradient(circle at 50% -6%, rgba(86, 32, 152, 0.46), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(240, 183, 44, 0.16), transparent 28%),
    linear-gradient(180deg, #07050d 0%, #120d1e 54%, #07050d 100%);
  backdrop-filter: blur(18px) saturate(1.08);
}

.photo-modal.open {
  display: grid;
}

.photo-modal-card {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: stretch;
  gap: 0;
  width: min(440px, 100%);
  min-height: 100svh;
  padding: max(18px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: none;
  animation: profileStoryIn 280ms cubic-bezier(.2,.9,.2,1) both;
}

.profile-brand-mark {
  position: absolute;
  z-index: 3;
  top: max(30px, calc(16px + env(safe-area-inset-top)));
  right: 26px;
  width: 58px;
  height: auto;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.profile-visual {
  position: absolute;
  z-index: 0;
  inset: max(18px, env(safe-area-inset-top)) 14px 206px;
  display: grid;
  place-items: center;
  width: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.12), transparent 35%),
    linear-gradient(145deg, #211633, #08070e);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.16);
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-visual .avatar-placeholder {
  width: min(58%, 210px);
  height: min(58%, 210px);
  color: #d7c8f0;
}

.profile-sheet-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 5px;
  min-width: 0;
  width: 100%;
  padding: 17px 16px 11px;
  border: 1px solid rgba(255,255,255,0.16);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 183, 44, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(29, 21, 43, 0.94), rgba(13, 10, 21, 0.94));
  text-align: left;
  box-shadow: 0 -18px 46px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px) saturate(1.16);
}

.profile-sheet-copy::before {
  content: "";
  width: 42px;
  height: 3px;
  margin-bottom: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3d47a, rgba(255,255,255,0.5));
  box-shadow: 0 0 18px rgba(243, 212, 122, 0.34);
}

.photo-modal-card strong {
  max-width: 100%;
  padding: 0;
  color: #fff;
  font-size: clamp(1.34rem, 6.2vw, 1.82rem);
  line-height: 1.08;
  font-weight: 950;
  text-align: left;
  overflow-wrap: anywhere;
}

.profile-sheet-copy span {
  color: #f3d47a;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-sheet-copy p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.74rem;
  font-weight: 800;
}

.profile-phone {
  display: none;
}

.profile-availability {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 0 15px 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
  background: rgba(13, 10, 21, 0.92);
  backdrop-filter: blur(18px) saturate(1.16);
}

.profile-availability-chip {
  display: grid;
  gap: 1px;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 9px;
  font-size: 0.49rem;
  font-weight: 900;
  line-height: 1.12;
}

.profile-availability-chip.is-open {
  width: fit-content;
  border: 1px solid rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.15);
  color: #9df4c7;
}

.profile-availability-chip.is-closed {
  border: 1px solid rgba(240, 183, 44, 0.28);
  background: rgba(240, 183, 44, 0.13);
  color: #ffe3a0;
}

.profile-availability-chip strong,
.profile-availability-chip span {
  min-width: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}

.profile-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px 46px;
  gap: 8px;
  width: 100%;
  padding: 0 15px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(13, 10, 21, 0.92);
  backdrop-filter: blur(18px) saturate(1.16);
}

.profile-actions .pill-action {
  min-height: 48px;
  border-radius: 10px;
  padding-inline: 11px;
}

.profile-actions .call-action {
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,241,248,0.92));
  color: #11182a;
  border-color: rgba(255,255,255,0.22);
  font-size: 0.82rem;
  font-weight: 950;
}

.profile-actions .call-action span {
  font-size: 0.86rem;
  font-weight: 950;
}

.profile-actions .call-action .call-icon {
  width: 16px;
  height: 16px;
}

.profile-actions .wa-action {
  background: linear-gradient(180deg, #e9fff5, #d9f9ed);
  color: #07845d;
  border-color: rgba(0, 138, 103, 0.18);
}

.profile-actions .contact-action {
  width: 46px;
  min-width: 46px;
  max-width: 46px;
  padding: 0;
  background: linear-gradient(180deg, #ffffff, #f8f3ff);
  color: var(--primary-dark);
  border-color: rgba(86, 32, 152, 0.16);
}

.profile-actions .wa-icon {
  width: 31px;
  height: 31px;
}

.profile-actions .wa-action {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  padding: 0;
}

.profile-actions .contact-action .icon {
  width: 21px;
  height: 21px;
}

.profile-actions .wa-action span {
  display: none;
}

.photo-close {
  position: absolute;
  top: max(30px, calc(16px + env(safe-area-inset-top)));
  left: 24px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(10, 8, 16, 0.58);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.photo-close:active {
  transform: scale(0.96);
}

.modal-card {
  width: min(430px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  animation: sheetIn 220ms cubic-bezier(.2,.9,.2,1) both;
}

.modal-card h2 {
  margin: 0 0 7px;
  font-size: 1.12rem;
}

.modal-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.modal-actions {
  justify-content: end;
  gap: 8px;
  margin-top: 14px;
}

.availability-next {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(240, 183, 44, 0.24);
  border-radius: 12px;
  background: #fff7dd;
  color: #805100;
  font-size: 0.78rem;
  font-weight: 950;
}

.availability-schedule {
  display: grid;
  gap: 0;
  margin-top: 10px;
  margin-bottom: 14px;
  padding: 0;
  border: 1px solid rgba(86, 32, 152, 0.1);
  border-radius: 15px;
  background: #fbf9ff;
  overflow: hidden;
}

.schedule-details {
  display: grid;
}

.schedule-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  cursor: pointer;
  list-style: none;
}

.schedule-details summary::-webkit-details-marker {
  display: none;
}

.schedule-details summary span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f0e8fb;
  color: var(--primary-dark);
  font-weight: 950;
  transition: transform 180ms ease;
}

.schedule-details[open] summary span {
  transform: rotate(180deg);
}

.availability-schedule strong {
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 950;
}

.schedule-grid {
  display: grid;
  gap: 5px;
  padding: 0 10px 10px;
  animation: availabilityDrop 180ms cubic-bezier(.2,.9,.2,1) both;
}

.schedule-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(86, 32, 152, 0.08);
  border-radius: 12px;
  background: #fff;
}

.schedule-row.today {
  border-color: rgba(86, 32, 152, 0.32);
  box-shadow: inset 0 0 0 1px rgba(86, 32, 152, 0.08);
}

.schedule-row.off {
  opacity: 0.58;
}

.schedule-row span {
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 950;
}

.schedule-row em {
  color: #3e4658;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
}

.helper-text {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .app-shell {
    padding-inline: 10px;
  }

  .topbar {
    padding-inline: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .devotional-brand .flute-mark {
    width: 46px;
    height: 37px;
  }

  .hero-curve {
    min-height: 206px;
    padding: 20px 14px 36px;
    border-radius: 0 0 30px 30px;
  }

  .hero-curve h1 {
    font-size: 1.9rem;
  }

  .hero-brandline {
    font-size: 1.04rem;
  }

  .hero-copy {
    font-size: 0.78rem;
  }

  .toolbar {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .employee-card {
    border-radius: 18px;
  }

  .employee-head {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 11px;
  }

  .avatar {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .actions {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.72fr) 40px;
  }

  .actions.admin-actions {
    grid-template-columns: minmax(0, 1fr) minmax(82px, 0.62fr) 40px 40px;
  }

  .pill-action {
    min-height: 35px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .form-grid,
  .time-row {
    grid-template-columns: 1fr;
  }

  .time-slot-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
  }

  .day-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-hero {
    grid-template-columns: 1fr;
  }

  .admin-hero-actions {
    justify-content: space-between;
  }

  .department-form {
    grid-template-columns: 1fr;
  }

  .row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes photoZoom {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
}

@keyframes fluteFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-3px) rotate(1deg);
  }
}

@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroBreath {
  0%,
  100% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }

  50% {
    background-position: 8% 5%, 88% 6%, 46% 92%, 0 0;
  }
}

@keyframes toolbarSettle {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.admin-ui) .hero-curve,
  body:not(.admin-ui) .toolbar,
  body:not(.admin-ui) .hero-flute,
  body:not(.admin-ui) .hero-eyebrow,
  body:not(.admin-ui) .hero-curve h1,
  body:not(.admin-ui) .hero-brandline,
  body:not(.admin-ui) .hero-copy {
    animation: none !important;
    filter: none !important;
  }
}

body:not(.admin-ui) {
  background: #ffffff;
}

body:not(.admin-ui) .app-shell {
  padding-inline: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 42%, #ffffff 100%);
  max-width: 100vw;
  overflow-x: hidden;
}

.boot-shell {
  display: grid;
  gap: 10px;
  min-height: 100vh;
  padding: 0 0 calc(24px + var(--safe-bottom));
}

.boot-hero {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 190px;
  margin: 0;
  padding: 24px 18px 34px;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 88% 2%, rgba(86, 32, 152, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f0ff 56%, #ffffff);
  box-shadow: 0 14px 38px rgba(64, 42, 100, 0.12);
}

.boot-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 6px;
  width: calc(100% - 24px);
  justify-self: center;
  padding: 5px;
  border-radius: 17px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 14px 34px rgba(57, 38, 91, 0.13);
}

.boot-logo {
  width: 62px;
  height: 44px;
  border-radius: 18px;
}

.boot-title {
  width: 46%;
  height: 24px;
}

.boot-line {
  width: 64%;
  height: 17px;
}

.boot-copy {
  width: 76%;
  height: 12px;
}

.boot-search,
.boot-filter {
  height: 38px;
  border-radius: 14px;
}

body:not(.admin-ui) .content {
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

body:not(.admin-ui) .hero-u {
  margin: 0;
  padding: 0 0 18px;
  width: 100%;
}

body:not(.admin-ui) .hero-curve {
  min-height: 190px;
  padding: 16px 18px 58px;
  border: 0;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(111, 154, 255, 0.2), transparent 34%),
    linear-gradient(142deg, #102f66 0%, #183e7d 56%, #2457a0 100%);
  background-size: 130% 130%, 140% 140%, 120% 120%, 100% 100%;
  box-shadow: 0 18px 44px rgba(53, 18, 103, 0.22);
  animation: none;
}

body:not(.admin-ui) .hero-flute {
  animation: heroFloatIn 720ms cubic-bezier(.16,.9,.24,1) both;
}

body:not(.admin-ui) .hero-eyebrow {
  animation: heroTextIn 680ms cubic-bezier(.16,.9,.24,1) 110ms both;
}

body:not(.admin-ui) .hero-curve h1 {
  animation: heroTitleIn 820ms cubic-bezier(.16,.9,.24,1) 190ms both;
}

body:not(.admin-ui) .hero-brandline,
body:not(.admin-ui) .hero-copy {
  animation: heroTextIn 700ms cubic-bezier(.16,.9,.24,1) 390ms both;
}

body:not(.admin-ui) .hero-curve::after {
  bottom: -58px;
  height: 96px;
  width: calc(100% - 30px);
  max-width: 734px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 15px 24px rgba(53, 18, 103, 0.1), 0 -7px 18px rgba(255,255,255,0.08);
}

body:not(.admin-ui) .hero-flute {
  margin-bottom: 4px;
}

body:not(.admin-ui) .flute-mark.large {
  width: 62px;
  height: 44px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(4, 11, 24, 0.22), inset 0 1px 0 rgba(255,255,255,0.96);
}

body:not(.admin-ui) .hero-flute .halo {
  opacity: 0.3;
  animation: none;
}

body:not(.admin-ui) .hero-eyebrow {
  color: #f7d987;
  font-size: 0.74rem;
  text-shadow: 0 2px 8px rgba(4, 11, 24, 0.26);
}

body:not(.admin-ui) .hero-curve h1 {
  max-width: 100%;
  font-size: clamp(1.05rem, 4.25vw, 1.9rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(4, 11, 24, 0.3);
}

body:not(.admin-ui) .hero-curve h1 span {
  color: #ffeaa5;
  text-shadow: 0 3px 14px rgba(255, 255, 255, 0.14), 0 2px 10px rgba(4, 11, 24, 0.22);
}

body:not(.admin-ui) .hero-brandline {
  margin-top: 4px;
  font-size: clamp(0.82rem, 3vw, 1.12rem);
  line-height: 1.05;
  letter-spacing: 0.1em;
  color: #edf6ff;
  text-shadow: 0 3px 12px rgba(4, 11, 24, 0.28);
}

body:not(.admin-ui) .hero-copy {
  max-width: 360px;
  margin-top: 8px;
  color: rgba(238, 245, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.28;
}

body:not(.admin-ui) .toolbar {
  position: sticky;
  z-index: 92;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 6px;
  width: calc(100% - 26px);
  max-width: 720px;
  margin: -38px auto 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px 18px 20px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 253, 0.91));
  box-shadow: 0 16px 34px rgba(9, 18, 38, 0.24), 0 -1px 0 rgba(255,255,255,0.64), inset 0 1px 0 rgba(255,255,255,0.82);
  animation: none;
}

body.toolbar-docked:not(.admin-ui) .toolbar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6px 10px 8px;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 253, 0.96));
  box-shadow: 0 16px 34px rgba(13, 20, 42, 0.18);
}

body:not(.admin-ui) .search,
body:not(.admin-ui) .select-wrap {
  min-height: 38px;
  border: 1px solid rgba(35, 49, 88, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,253,0.94));
  color: #172849;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 5px 12px rgba(17, 31, 58, 0.06);
}

body:not(.admin-ui) .search input,
body:not(.admin-ui) .select-wrap select {
  color: #172849;
}

body:not(.admin-ui) .search input::placeholder {
  color: rgba(58, 70, 99, 0.62);
}

body:not(.admin-ui) .directory {
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

body:not(.admin-ui) .employee-card-wrap {
  position: relative;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: calc(100vw - 24px);
  justify-self: center;
}

body:not(.admin-ui) .employee-card-wrap.is-closed {
  gap: 6px;
}

body:not(.admin-ui) .load-more-row {
  display: grid;
  gap: 8px;
}

body:not(.admin-ui) .employee-card {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 10px 16px 11px 20px;
  width: 100%;
  max-width: 100%;
  justify-self: center;
  min-width: 0;
  border: 1px solid rgba(101, 56, 171, 0.2);
  border-bottom-color: rgba(101, 56, 171, 0.26);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(253,252,255,0.98));
  box-shadow: 0 8px 22px rgba(36, 25, 63, 0.08), inset 0 1px 0 rgba(255,255,255,0.96), inset 0 -1px 0 rgba(101, 56, 171, 0.05);
  overflow: hidden;
}

body:not(.admin-ui) .employee-card::before {
  content: none;
  display: none;
}

body:not(.admin-ui) .employee-card::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 8px;
  width: 48px;
  height: 10px;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 9px 7px, rgba(130, 72, 190, 0.28) 1.5px, transparent 2px),
    radial-gradient(circle at 22px 7px, rgba(130, 72, 190, 0.28) 1.5px, transparent 2px),
    radial-gradient(circle at 35px 7px, rgba(130, 72, 190, 0.28) 1.5px, transparent 2px);
  border-bottom: 1px solid rgba(130, 72, 190, 0.28);
  border-radius: 0 0 999px 999px;
}

body:not(.admin-ui) .employee-head,
body:not(.admin-ui) .actions,
body:not(.admin-ui) .unavailable-label {
  position: relative;
  z-index: 1;
}

body:not(.admin-ui) .employee-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(252,250,255,0.97));
}

body:not(.admin-ui) .employee-card + .employee-card {
  position: relative;
}

body:not(.admin-ui) .employee-card + .employee-card::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 18px;
  right: 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(38, 57, 99, 0.16), transparent);
  pointer-events: none;
}

body:not(.admin-ui) .employee-card .employee-head,
body:not(.admin-ui) .employee-card.is-closed .employee-head {
  padding-right: 0;
}

body:not(.admin-ui) .employee-card.is-open {
  border-color: rgba(101, 56, 171, 0.2);
  box-shadow: 0 8px 22px rgba(36, 25, 63, 0.08), 0 3px 12px rgba(0, 138, 103, 0.05), inset 0 1px 0 rgba(255,255,255,0.96);
}

body:not(.admin-ui) .employee-card.is-closed {
  border-color: rgba(240, 183, 44, 0.34);
  box-shadow: 0 8px 22px rgba(36, 25, 63, 0.08), 0 4px 14px rgba(240, 183, 44, 0.1), inset 0 1px 0 rgba(255,255,255,0.96);
}

body:not(.admin-ui) .employee-head {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

body:not(.admin-ui) .employee-copy {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: calc(100vw - 132px);
  padding-right: 42px;
}

body:not(.admin-ui) .employee-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

body:not(.admin-ui) .corner-status-inline {
  position: static;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 17px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(30, 34, 48, 0.12), inset 0 1px 0 rgba(255,255,255,0.42);
  pointer-events: none;
}

body:not(.admin-ui) .corner-status-inline.open {
  background: linear-gradient(180deg, #1ac77e, #069865);
}

body:not(.admin-ui) .corner-status-inline.closed {
  background: linear-gradient(180deg, #ffc347, #f0a300);
}

body:not(.admin-ui) .corner-status-inline::after {
  content: none;
}

body:not(.admin-ui) .corner-status-inline {
  display: none;
}

body:not(.admin-ui) .employee-card .employee-copy::after {
  position: absolute;
  z-index: 25;
  top: 0;
  right: 0;
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 17px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(30, 34, 48, 0.12), inset 0 1px 0 rgba(255,255,255,0.42);
  pointer-events: none;
}

body:not(.admin-ui) .employee-card.is-open .employee-copy::after {
  content: "ON";
  background: linear-gradient(180deg, #1ac77e, #069865);
}

body:not(.admin-ui) .employee-card.is-closed .employee-copy::after {
  content: "OFF";
  background: linear-gradient(180deg, #ffc347, #f0a300);
}

body:not(.admin-ui) .employee-head .avatar {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(86, 32, 152, 0.12);
  border-radius: 13px;
  background: linear-gradient(145deg, #f4eefc, #ecf8f4);
  box-shadow: 0 7px 15px rgba(36, 25, 63, 0.08);
}

body:not(.admin-ui) .employee-head .avatar::after {
  content: none;
  display: none;
}

body:not(.admin-ui) .employee-head .avatar[data-status="closed"]::after {
  content: none;
  display: none;
}

body:not(.admin-ui) .employee-name {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 1px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

body:not(.admin-ui) .employee-sub {
  margin-top: 5px;
  gap: 2px;
  color: #596174;
  font-size: 0.48rem;
  line-height: 1.22;
}

body:not(.admin-ui) .employee-sub .employee-department {
  color: var(--primary-dark);
}

body:not(.admin-ui) .employee-sub .employee-responsibility {
  color: #596174;
}

body:not(.admin-ui) .employee-sub .employee-subjects {
  color: #0b6f57;
}

body:not(.admin-ui) .actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 29px 29px 29px;
  gap: 7px;
  align-items: center;
  width: min(100%, 315px);
  margin: 0;
  padding-left: 0;
  min-width: 0;
}

body:not(.admin-ui) .call-action {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 28px;
  border-radius: 11px;
  justify-content: center;
  background: linear-gradient(180deg, #fbfcff, #eef2f7);
  border-color: rgba(35, 49, 88, 0.12);
  color: #24304a;
  font-size: 0.57rem;
  box-shadow: 0 7px 14px rgba(0, 138, 103, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

body:not(.admin-ui) .call-action .call-icon {
  width: 11px;
  height: 11px;
}

body:not(.admin-ui) .wa-action,
body:not(.admin-ui) .contact-action,
body:not(.admin-ui) .favourite-action {
  flex: 0 0 29px;
  width: 29px;
  min-width: 29px;
  min-height: 28px;
  padding: 0;
  border-radius: 12px;
}

body:not(.admin-ui) .wa-action {
  background: linear-gradient(180deg, #f2fff8, #e1f8ee);
  border-color: rgba(0, 138, 103, 0.15);
  color: #07885f;
  box-shadow: 0 8px 16px rgba(0, 138, 103, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

body:not(.admin-ui) .wa-action span {
  display: none;
}

body:not(.admin-ui) .wa-icon {
  width: 18px;
  height: 18px;
}

body:not(.admin-ui) .contact-action,
body:not(.admin-ui) .favourite-action {
  background: linear-gradient(180deg, #fff, #f4effb);
  border-color: rgba(86, 32, 152, 0.15);
  color: var(--primary-dark);
  box-shadow: 0 8px 16px rgba(86, 32, 152, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}

body:not(.admin-ui) .favourite-action.active {
  background: linear-gradient(180deg, #fff8df, #fff0bd);
  border-color: rgba(240, 183, 44, 0.34);
  color: #9b6400;
}

body:not(.admin-ui) .favourite-action {
  border-color: rgba(86, 32, 152, 0.22);
  background: linear-gradient(180deg, #fff, #f7f1ff);
  box-shadow: 0 8px 16px rgba(86, 32, 152, 0.1), inset 0 1px 0 rgba(255,255,255,0.94);
}

body:not(.admin-ui) .pill-action:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 4px 10px rgba(41, 32, 60, 0.08), inset 0 1px 0 rgba(255,255,255,0.88);
}

body:not(.admin-ui) .status-chip {
  position: absolute;
  z-index: 12;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  min-width: 0;
  width: 34px;
  height: 16px;
  min-height: auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(30, 34, 48, 0.12), inset 0 1px 0 rgba(255,255,255,0.45);
}

body:not(.admin-ui) .status-chip.open {
  background: linear-gradient(180deg, #1ac77e, #069865);
}

body:not(.admin-ui) .status-chip.closed {
  background: linear-gradient(180deg, #ffc347, #f0a300);
}

body:not(.admin-ui) .status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

body:not(.admin-ui) .status-chip.open strong,
body:not(.admin-ui) .status-chip.open span,
body:not(.admin-ui) .status-chip.open em {
  display: none;
}

.unavailable-label {
  display: grid;
  gap: 5px;
  width: calc(100% - 24px);
  max-width: calc(100% - 24px);
  justify-self: center;
  margin: -2px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(240, 183, 44, 0.2);
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(255, 247, 221, 0.98), rgba(255, 251, 239, 0.96));
  color: #8b5600;
  box-shadow: 0 8px 20px rgba(240, 183, 44, 0.1), inset 0 1px 0 rgba(255,255,255,0.86);
  animation: availabilityDrop 180ms cubic-bezier(.2,.9,.2,1) both;
}

.unavailable-label strong,
.unavailable-label span {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.unavailable-label strong {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #8b4d00;
  font-size: 0.54rem;
  font-weight: 950;
}

.unavailable-label span {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #806126;
  font-size: 0.51rem;
  font-weight: 850;
}

body:not(.admin-ui) .actions {
  gap: 7px;
}

body:not(.admin-ui) .pill-action {
  min-height: 28px;
  border-radius: 12px;
}

body:not(.admin-ui) .pill-action.is-loading {
  pointer-events: none;
}

@media (max-width: 360px) {
  body:not(.admin-ui) .employee-card .employee-head,
  body:not(.admin-ui) .employee-card.is-closed .employee-head {
    padding-right: 0;
  }

  body:not(.admin-ui) .actions,
  .unavailable-label {
    width: 100%;
    max-width: 100%;
    padding-left: 78px;
    margin-right: 0;
    margin-left: 0;
  }

  body:not(.admin-ui) .employee-card::before {
    display: none;
  }
}

.action-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 650ms linear infinite;
}

.skeleton-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 8px;
  padding: 12px 14px 13px;
  border: 1.35px solid rgba(53, 18, 103, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(253,252,255,0.98));
  box-shadow: 0 14px 32px rgba(35, 24, 58, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
  animation: none;
  animation-delay: var(--delay);
}

.skeleton-head {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  align-items: center;
  width: min(100%, 380px);
  justify-self: center;
  padding-right: 24px;
}

.skeleton-lines,
.skeleton-actions {
  display: grid;
  gap: 6px;
}

.skeleton-actions {
  grid-template-columns: minmax(0, 1fr) 48px 44px;
  width: min(100%, 380px);
  max-width: 380px;
  justify-self: center;
  margin: 0;
  padding-left: 0;
}

.sk {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236, 229, 246, 0.9), rgba(255,255,255,0.96), rgba(236, 229, 246, 0.9));
  background-size: 220% 100%;
  animation: shimmer 1.15s ease-in-out infinite;
}

.sk-avatar {
  width: 68px;
  height: 68px;
  border-radius: 13px;
}

.sk-name {
  width: 64%;
  height: 16px;
}

.sk-sub {
  width: 74%;
  height: 10px;
}

.sk-status {
  width: min(100%, 380px);
  height: 24px;
  justify-self: center;
  margin-left: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 239, 189, 0.88), rgba(255,255,255,0.96), rgba(255, 239, 189, 0.88));
}

.sk-action {
  height: 42px;
  border-radius: 12px;
}

.skeleton-actions .sk-action:first-child {
  border-radius: 999px;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes availabilityDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes heroFloatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(5px);
    letter-spacing: 0.04em;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    letter-spacing: 0.01em;
  }
}

body:not(.admin-ui) .employee-card-wrap .unavailable-label {
  width: calc(100% - 24px);
  max-width: calc(100% - 24px);
  margin: -2px auto 0;
  padding: 8px 10px;
}

body:not(.admin-ui) .employee-card .corner-availability {
  display: none;
}

body:not(.admin-ui) .employee-card .corner-availability.open {
  background: none;
}

body:not(.admin-ui) .employee-card .corner-availability.closed {
  background: none;
}

body:not(.admin-ui) .employee-card .corner-availability::after {
  content: none;
}

body:not(.admin-ui) .employee-card.is-open::before,
body:not(.admin-ui) .employee-card.is-closed::before {
  content: none;
  display: none;
}

body:not(.admin-ui) .employee-card.is-open::before {
  background: none;
}

body:not(.admin-ui) .employee-card.is-closed::before {
  background: none;
}

body:not(.admin-ui) .employee-card .actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 29px 29px 29px !important;
  width: min(100%, 315px) !important;
  max-width: 315px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  gap: 7px !important;
  justify-self: start;
}

body:not(.admin-ui) .employee-card .wa-action,
body:not(.admin-ui) .employee-card .contact-action,
body:not(.admin-ui) .employee-card .favourite-action {
  display: inline-flex !important;
  width: 29px !important;
  min-width: 29px !important;
  max-width: 29px !important;
}

body:not(.admin-ui) .skeleton-actions {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding-left: 0;
}

body:not(.admin-ui) .directory .employee-card .employee-name::after {
  content: "";
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 16px;
  margin-left: 8px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 950;
  line-height: 1;
  vertical-align: 2px;
  box-shadow: 0 8px 18px rgba(30, 34, 48, 0.12), inset 0 1px 0 rgba(255,255,255,0.42);
}

body:not(.admin-ui) .directory .employee-card.is-open .employee-name::after {
  content: "ON";
  background: linear-gradient(180deg, #1ac77e, #069865);
}

body:not(.admin-ui) .directory .employee-card.is-closed .employee-name::after {
  content: "OFF";
  background: linear-gradient(180deg, #ffc347, #f0a300);
}

/* Final public-card polish overrides */
body:not(.admin-ui) .hero-curve h1 {
  max-width: calc(100vw - 28px);
  font-size: clamp(1.08rem, 4.25vw, 1.78rem);
  white-space: normal;
}

body:not(.admin-ui) .hero-brandline {
  font-size: clamp(0.7rem, 2.55vw, 0.96rem);
}

body:not(.admin-ui) .employee-card-wrap.is-closed {
  gap: 0;
}

body:not(.admin-ui) .employee-copy {
  padding-right: 0;
}

body:not(.admin-ui) .corner-status-inline,
body:not(.admin-ui) .employee-card .employee-copy::after,
body:not(.admin-ui) .directory .employee-card .employee-name::after,
body:not(.admin-ui) .directory .employee-card.is-open .employee-name::after,
body:not(.admin-ui) .directory .employee-card.is-closed .employee-name::after {
  content: none !important;
  display: none !important;
}

body:not(.admin-ui) .employee-card {
  overflow: visible;
}

body:not(.admin-ui) .employee-card .employee-head,
body:not(.admin-ui) .employee-card.is-closed .employee-head {
  grid-template-columns: 68px minmax(0, 1fr) 34px;
  gap: 12px;
}

@media (max-width: 640px) {
  body:not(.admin-ui) .employee-card .employee-head,
  body:not(.admin-ui) .employee-card.is-closed .employee-head {
    width: min(100%, 334px);
  }
}

body:not(.admin-ui) .employee-card .employee-copy {
  max-width: calc(100vw - 178px);
  padding-right: 0;
}

body:not(.admin-ui) .employee-card .favourite-action {
  position: static;
  flex: 0 0 auto;
  align-self: start;
  justify-self: end;
  z-index: 30;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 30px;
  min-height: 30px;
  border-radius: 11px;
  border: 1px solid rgba(86, 32, 152, 0.2);
  background: linear-gradient(180deg, #fff, #f7f1ff);
  color: var(--primary-dark);
  box-shadow: 0 8px 16px rgba(86, 32, 152, 0.12), inset 0 1px 0 rgba(255,255,255,0.96);
}

body:not(.admin-ui) .employee-card .favourite-action .icon {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
}

body:not(.admin-ui) .employee-card .favourite-action .star-fallback {
  display: none !important;
}

body:not(.admin-ui) .employee-card .actions {
  grid-template-columns: minmax(0, 1fr) 44px 36px !important;
  width: min(100%, 342px) !important;
  max-width: 342px !important;
  gap: 8px !important;
}

body:not(.admin-ui) .employee-card .pill-action {
  min-height: 33px;
  border-radius: 11px;
}

body:not(.admin-ui) .employee-card .wa-action {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
}

body:not(.admin-ui) .employee-card .contact-action {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
}

body:not(.admin-ui) .employee-card .wa-icon {
  width: 19px;
  height: 19px;
}

body:not(.admin-ui) .employee-card-wrap .unavailable-label,
body:not(.admin-ui) .unavailable-label {
  gap: 2px;
  width: calc(100% - 2px);
  max-width: calc(100% - 2px);
  margin: -1px auto 0;
  padding: 6px 12px 7px;
  border-top: 0;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 7px 16px rgba(240, 183, 44, 0.08), inset 0 1px 0 rgba(255,255,255,0.7);
}

body:not(.admin-ui) .unavailable-label strong,
body:not(.admin-ui) .unavailable-label span {
  line-height: 1.14;
}

body:not(.admin-ui) .unavailable-label strong {
  font-size: 0.52rem;
}

body:not(.admin-ui) .unavailable-label span {
  font-size: 0.49rem;
}

/* Final Hostinger release polish */
body:not(.admin-ui) .hero-curve h1 {
  font-size: clamp(1.14rem, 4.55vw, 1.9rem);
}

body:not(.admin-ui) .directory {
  gap: 12px;
  justify-items: center;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  padding-inline: 12px;
}

body:not(.admin-ui) .employee-card-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  animation: none !important;
  justify-self: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body:not(.admin-ui) .employee-card-wrap.is-closed {
  gap: 0;
  margin-bottom: 3px;
}

body:not(.admin-ui) .employee-card {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px 13px;
  border-radius: 16px;
  animation: none;
  justify-items: center;
  border: 1.35px solid rgba(53, 18, 103, 0.28);
  box-shadow: 0 14px 32px rgba(35, 24, 58, 0.14), 0 1px 0 rgba(255,255,255,0.9) inset;
}

body:not(.admin-ui) .employee-card::after {
  content: none !important;
  display: none !important;
}

body:not(.admin-ui) .employee-card.is-closed {
  border-color: rgba(209, 149, 18, 0.42);
  border-bottom-color: rgba(209, 149, 18, 0.42);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 14px 32px rgba(35, 24, 58, 0.12), 0 10px 26px rgba(240, 183, 44, 0.14), 0 1px 0 rgba(255,255,255,0.92) inset;
}

body:not(.admin-ui) .employee-name {
  font-size: 0.93rem;
  line-height: 1.08;
}

body:not(.admin-ui) .employee-card .employee-head,
body:not(.admin-ui) .employee-card.is-closed .employee-head {
  width: min(100%, 380px);
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  padding-right: 24px;
  justify-self: center;
}

body:not(.admin-ui) .employee-card .employee-copy {
  max-width: none;
  min-width: 0;
}

body:not(.admin-ui) .profile-copy-trigger {
  display: block;
}

@keyframes profileStoryIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body:not(.admin-ui) .employee-card .favourite-action {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  align-self: start;
  justify-self: end;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px;
  min-height: 20px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--primary-dark);
  opacity: 0.88;
  transition: transform 150ms ease, opacity 150ms ease, color 150ms ease;
}

body:not(.admin-ui) .employee-card .favourite-action.active,
body:not(.admin-ui) .employee-card .favourite-action.active .star-fallback {
  color: var(--primary-dark);
  opacity: 1;
}

body:not(.admin-ui) .employee-card .favourite-action.active .icon {
  fill: currentColor;
}

body:not(.admin-ui) .employee-card .favourite-action .star-fallback {
  display: none !important;
}

body:not(.admin-ui) .employee-card .favourite-action:not(.active) .icon {
  fill: transparent !important;
  stroke: currentColor !important;
}

body:not(.admin-ui) .employee-card .favourite-action.active .icon {
  fill: currentColor !important;
  stroke: currentColor !important;
}

body:not(.admin-ui) .employee-card .favourite-action:active {
  transform: scale(0.86);
  opacity: 1;
}

body:not(.admin-ui) .employee-card .actions {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px) !important;
  max-width: 380px !important;
  min-width: 0;
  height: 42px;
  gap: 8px !important;
  overflow: visible;
  justify-self: center;
}

body:not(.admin-ui) .employee-card .wa-action {
  position: static;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 42px;
  height: 42px;
}

body:not(.admin-ui) .employee-card .contact-action {
  position: static;
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 42px;
  height: 42px;
}

body:not(.admin-ui) .employee-card .call-action {
  position: static;
  box-sizing: border-box;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  min-height: 42px;
  height: 42px;
}

body:not(.admin-ui) .employee-card.is-closed .call-action {
  border-color: rgba(240, 183, 44, 0.38);
  background: linear-gradient(180deg, #fff9e6, #fff1bd);
  color: #8b5600;
  box-shadow: 0 7px 14px rgba(240, 183, 44, 0.08), inset 0 1px 0 rgba(255,255,255,0.88);
}

body:not(.admin-ui) .employee-card-wrap .unavailable-label,
body:not(.admin-ui) .unavailable-label {
  width: 100%;
  max-width: 100%;
  margin: -1.35px auto 0;
  padding: 7px 14px 8px;
  border-color: rgba(209, 149, 18, 0.42);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  animation: none;
  box-shadow: 0 14px 28px rgba(115, 78, 16, 0.1);
}

body:not(.admin-ui) .unavailable-label strong {
  margin-bottom: 1px;
}

@media (max-width: 640px) {
  body:not(.admin-ui) .employee-card-wrap {
    width: 100%;
    max-width: 100%;
    justify-self: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body:not(.admin-ui) .employee-card .employee-head,
  body:not(.admin-ui) .employee-card.is-closed .employee-head {
    width: 100%;
    grid-template-columns: 68px minmax(0, 1fr);
  }

  body:not(.admin-ui) .employee-card .actions {
    width: min(100%, 380px) !important;
    max-width: 380px !important;
  }
}

body:not(.admin-ui)::after {
  content: none !important;
  display: none !important;
}

body.search-active:not(.admin-ui) .toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 165;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
  transform: translateY(0);
}

body.search-active:not(.admin-ui) .search {
  min-height: 52px;
  border-radius: 17px;
}

body.search-active:not(.admin-ui) .select-wrap {
  display: none;
}

body.search-active:not(.admin-ui) .hero-u {
  padding-top: calc(74px + env(safe-area-inset-top));
  padding-bottom: 0;
  animation: none;
}

body.search-active:not(.admin-ui) .hero-curve {
  min-height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  transition: max-height 260ms ease, padding 260ms ease, opacity 180ms ease, transform 220ms ease;
}

body.search-active:not(.admin-ui) .hero-curve::after {
  opacity: 0;
}

body.search-active:not(.admin-ui) .directory {
  padding-top: 12px;
}

body:not(.admin-ui) .hero-flute {
  animation-duration: 1.15s;
}

body:not(.admin-ui) .hero-eyebrow {
  animation-duration: 1.05s;
  animation-delay: 160ms;
}

body:not(.admin-ui) .hero-curve h1 {
  animation-duration: 1.25s;
  animation-delay: 300ms;
}

body:not(.admin-ui) .hero-brandline,
body:not(.admin-ui) .hero-copy {
  animation-duration: 1.05s;
  animation-delay: 620ms;
}

body:not(.admin-ui) .employee-card {
  border: 1.65px solid rgba(53, 18, 103, 0.38);
  box-shadow: 0 16px 38px rgba(35, 24, 58, 0.16), 0 1px 0 rgba(255,255,255,0.94) inset;
}

body:not(.admin-ui) .employee-card.is-closed {
  border-color: rgba(185, 124, 7, 0.56);
  box-shadow: 0 16px 36px rgba(35, 24, 58, 0.13), 0 11px 28px rgba(240, 183, 44, 0.16), 0 1px 0 rgba(255,255,255,0.94) inset;
}

@media (min-width: 760px) {
  body.search-active:not(.admin-ui) .toolbar {
    left: 50%;
    right: auto;
    width: min(760px, 100vw);
    transform: translateX(-50%);
    border-right: 1px solid rgba(86, 32, 152, 0.1);
    border-left: 1px solid rgba(86, 32, 152, 0.1);
  }
}

body:not(.admin-ui) .admin-bottom-nav,
body:not(.admin-ui) .bottom-nav,
body:not(.admin-ui) .tabbar {
  display: none !important;
}

body:not(.admin-ui) .employee-card .employee-name {
  font-size: 1.02rem;
  line-height: 1.09;
  letter-spacing: 0;
}

body:not(.admin-ui) .employee-card .employee-department {
  font-size: 0.57rem;
}

body:not(.admin-ui) .employee-card .employee-responsibility {
  font-size: 0.54rem;
  line-height: 1.15;
}

body:not(.admin-ui) .employee-card .employee-department.meta-normal {
  font-size: 0.57rem;
}

body:not(.admin-ui) .employee-card .employee-responsibility.meta-normal {
  font-size: 0.54rem;
}

body:not(.admin-ui) .employee-card .employee-sub .meta-compact {
  font-size: 0.52rem;
  line-height: 1.12;
}

body:not(.admin-ui) .employee-card .employee-sub .meta-tiny {
  font-size: 0.48rem;
  line-height: 1.1;
}

body:not(.admin-ui) .employee-card .call-action {
  font-size: 0.82rem;
}

body:not(.admin-ui) .employee-card .call-action span {
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

body:not(.admin-ui) .employee-card .call-action .call-icon {
  width: 15px;
  height: 15px;
}

body:not(.admin-ui) .employee-card .wa-icon {
  width: 22px;
  height: 22px;
}

body:not(.admin-ui) .employee-card .favourite-action {
  top: 11px;
  right: 11px;
  width: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  height: 17px;
  min-height: 17px;
}

body:not(.admin-ui) .employee-card .favourite-action .icon {
  width: 17px;
  height: 17px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body:not(.admin-ui) .app-shell,
body:not(.admin-ui) .content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 760px) {
  body:not(.admin-ui) .hero-curve {
    min-height: 250px;
    padding: 28px 32px 72px;
    border-radius: 0 0 34px 34px;
  }

  body:not(.admin-ui) .flute-mark.large {
    width: 76px;
    height: 52px;
  }

  body:not(.admin-ui) .hero-eyebrow {
    font-size: 0.86rem;
  }

  body:not(.admin-ui) .hero-curve h1 {
    font-size: clamp(2rem, 4vw, 3.35rem);
  }

  body:not(.admin-ui) .hero-brandline {
    font-size: clamp(1.08rem, 2.2vw, 1.6rem);
  }

  body:not(.admin-ui) .hero-copy {
    max-width: 620px;
    font-size: 0.95rem;
  }

  body:not(.admin-ui) .toolbar {
    grid-template-columns: minmax(0, 1fr) 128px;
    width: min(900px, calc(100% - 44px));
    max-width: 900px;
    margin-top: -46px;
    padding: 7px;
    border-radius: 22px;
  }

  body:not(.admin-ui) .search,
  body:not(.admin-ui) .select-wrap {
    min-height: 48px;
    border-radius: 17px;
  }

  body:not(.admin-ui) .directory {
    grid-template-columns: repeat(auto-fit, minmax(360px, 395px));
    justify-content: center;
    gap: 16px;
    width: min(1180px, 100%);
    margin: 10px auto 0;
    padding-inline: 20px;
    align-items: start;
  }

  body:not(.admin-ui) .employee-card {
    min-height: 145px;
    padding: 14px 16px 15px;
    border-radius: 18px;
  }

  body:not(.admin-ui) .employee-card.is-closed {
    border-radius: 18px 18px 0 0;
  }

  body:not(.admin-ui) .employee-card .employee-head,
  body:not(.admin-ui) .employee-card.is-closed .employee-head,
  body:not(.admin-ui) .employee-card .actions {
    width: 100% !important;
    max-width: 100% !important;
  }

  body:not(.admin-ui) .employee-card .employee-head,
  body:not(.admin-ui) .employee-card.is-closed .employee-head {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  body:not(.admin-ui) .employee-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  body:not(.admin-ui) .employee-name {
    font-size: 1.02rem;
  }

  body:not(.admin-ui) .employee-sub {
    font-size: 0.58rem;
  }

  body:not(.admin-ui) .employee-card .actions {
    height: 44px;
  }

  body:not(.admin-ui) .employee-card .call-action,
  body:not(.admin-ui) .employee-card .wa-action,
  body:not(.admin-ui) .employee-card .contact-action {
    min-height: 44px;
    height: 44px;
  }

  body:not(.admin-ui) .employee-card-wrap .unavailable-label,
  body:not(.admin-ui) .unavailable-label {
    padding: 9px 16px 10px;
    border-radius: 0 0 18px 18px;
  }

  .boot-shell .directory {
    grid-template-columns: repeat(auto-fit, minmax(360px, 395px));
    justify-content: center;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-inline: 20px;
  }
}

@media (min-width: 900px) {
  body.admin-ui .app-shell {
    padding: 76px 28px 112px;
  }

  .admin-view {
    width: min(1180px, 100%);
    margin: 0 auto;
  }

  .admin-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 24px;
    border-radius: 24px;
  }

  .admin-hero h1 {
    font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  }

  .admin-toolbar {
    grid-template-columns: minmax(0, 1fr) 170px;
    max-width: none;
    padding: 7px;
    border-radius: 20px;
  }

  .admin-toolbar .search,
  .admin-toolbar .select-wrap {
    min-height: 48px;
    border-radius: 16px;
  }

  .admin-directory {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    align-items: start;
  }

  .admin-settings,
  .admin-pins {
    width: min(980px, 100%);
    margin-inline: auto;
  }

  .panel-card,
  .form-card,
  .login-card {
    border-radius: 22px;
  }

  .admin-bottom-nav {
    right: 28px;
    left: auto;
    bottom: 24px;
    width: 520px;
    transform: none;
  }

  .sheet {
    align-items: center;
  }

  .sheet-inner {
    width: min(760px, calc(100vw - 48px));
    border-radius: 28px;
  }

  .employee-sheet {
    max-height: min(88vh, 900px);
  }

  .modal-card {
    width: min(560px, calc(100vw - 48px));
  }
}

@media (min-width: 1280px) {
  body:not(.admin-ui) .directory,
  .boot-shell .directory {
    grid-template-columns: repeat(3, minmax(0, 395px));
    justify-content: center;
    width: min(1260px, 100%);
  }

  .admin-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body:not(.admin-ui) #photoModal .profile-actions {
  grid-template-columns: minmax(0, 1fr) 72px 50px !important;
  gap: 8px !important;
  align-items: center;
}

body:not(.admin-ui) #photoModal .profile-actions .pill-action {
  min-height: 50px !important;
  height: 50px !important;
  border-radius: 9px !important;
}

body:not(.admin-ui) #photoModal .profile-actions .call-action {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-content: center;
}

body:not(.admin-ui) #photoModal .profile-actions .call-action span {
  font-size: 0.9rem;
  font-weight: 950;
}

body:not(.admin-ui) #photoModal .profile-actions .call-action .call-icon {
  width: 17px;
  height: 17px;
}

body:not(.admin-ui) #photoModal .profile-actions .wa-action {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  padding: 0 !important;
}

body:not(.admin-ui) #photoModal .profile-actions .wa-icon {
  width: 38px !important;
  height: 38px !important;
}

body:not(.admin-ui) #photoModal .profile-actions .contact-action {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  padding: 0 !important;
}

body:not(.admin-ui) #photoModal .profile-actions .contact-action .icon {
  width: 23px;
  height: 23px;
}
