:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202124;
  background: #f6f7f4;
  --primary: #00752a;
  --primary-soft: #dcf7e2;
  --muted: #667064;
  --surface: #ffffff;
  --line: #e0e4df;
  --danger: #c61d24;
  --success: #118234;
  --amber: #a86000;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f6f7f4; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app {
  max-width: 680px;
  min-height: 100vh;
  margin: auto;
  padding: 0 18px 108px;
  background: #f8f9f7;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  margin: 0 -18px 24px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.menu-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  font-size: 25px;
  line-height: 1;
}

.brand { min-width: 0; flex: 1; }
.brand p { margin: 0; color: #2a322b; font-size: 27px; font-weight: 780; letter-spacing: -.04em; }
.eyebrow { margin: 0 0 3px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
h1, h2 { margin: 0; letter-spacing: -.035em; }
h1 { font-size: 27px; line-height: 1.1; }
h2 { font-size: 22px; }

.manager-controls { display: flex; align-items: center; gap: 8px; }
.language-toggle {
  min-width: 35px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #cfe1d2;
  border-radius: 9px;
  background: #f7fbf7;
  color: #08702b;
  font-size: 11px;
  font-weight: 850;
}
.shift, .chip {
  border: 0;
  border-radius: 999px;
  padding: 7px 9px;
  background: var(--primary-soft);
  color: #076024;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.shift.off { background: #fde7e7; color: #a4181d; }
.profile-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid #dff1e3;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b9c5a, #005c20);
  box-shadow: 0 4px 12px #0265222b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.profile-avatar:focus-visible, .menu-button:focus-visible { outline: 3px solid #99d6a9; outline-offset: 2px; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 4px 11px;
  color: #4b564b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.card {
  margin: 10px 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 4px 12px #1e2a2010;
}
.inbox-card, .client-card { cursor: pointer; }
.inbox-card { padding:12px; margin:7px 0; }
.inbox-card .meta { margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.inbox-card .card-footer { margin-top:8px; padding-top:8px; }
.inbox-card:focus { outline:none; border-color:#c9d2cc; }
.inbox-card:hover, .client-card:hover { border-color: #a8cdb0; background: #fcfffc; }
.inbox-person { display:flex; gap:11px; align-items:flex-start; }
.inbox-copy { min-width:0; flex:1; }
.client-avatar { display:grid; width:42px; height:42px; flex:0 0 auto; place-items:center; overflow:hidden; border-radius:50%; background:linear-gradient(145deg,#b8d6c0,#628d6d); color:#fff; font-size:14px; font-weight:850; }
.client-avatar img { width:100%; height:100%; object-fit:cover; }
.employee-card { padding:14px 16px; }.employee-controls{margin-top:10px}.employee-controls select,.schedule-add select{height:34px;padding:0 9px;border:1px solid #dce3df;border-radius:10px;background:#fff;color:#435047;font-size:12px;font-weight:700}.employee-role{display:inline-flex;padding:6px 9px;border-radius:9px;background:#edf3ed;color:#5e7662;font-size:12px;font-weight:750}.employee-remove{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#fff0ef;color:#dc4f47;font-size:20px;line-height:1}.schedule-day{margin:10px 0;padding:14px 16px}.schedule-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.schedule-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:10px;background:#e9f7c9;color:#5e9300;font-size:12px;font-weight:750}.schedule-chip button{width:16px;height:16px;padding:0;border:0;border-radius:50%;background:#c4e69a;color:#4c7800;font-size:15px;line-height:1}.schedule-empty{color:#949ba3;font-size:12px}.schedule-add{display:flex;gap:8px;margin-top:11px}.schedule-add select{min-width:0;flex:1}.schedule-add button{height:34px;padding:0 11px;border:0;border-radius:10px;background:#e9f7c9;color:#5e9300;font-size:12px;font-weight:800}
.profile-form label { margin:10px 0; }
.profile-hero { display:flex; align-items:center; gap:14px; }
.profile-logo { width:76px; height:76px; flex:0 0 auto; border-radius:50%; border:1px solid #e1e9d9; background:#fff; object-fit:cover; }
.row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.name { color: #202124; font-size: 17px; font-weight: 760; line-height: 1.32; }
.meta { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.status { color: var(--amber); font-size: 11px; font-weight: 850; letter-spacing: .05em; }
.status.confirmed, .status.completed { color: var(--success); }
.status.cancelled { color: var(--danger); }
.status.escalated { color: var(--danger); }
.price { margin-top: 13px; color: #29322b; font-size: 14px; font-weight: 750; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0ec; color: var(--muted); font-size: 12px; }
.card-footer > span:last-child:not(.inbox-footer-meta) { color: #7aa482; font-size: 23px; line-height: 12px; }
.archive-button { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 9px; background: #fff0f0; color: #c61d24; font-size: 23px; line-height: 1; }
.archive-button:hover { background: #ffdede; }
.client-count { color: #08702b; font-size: 12px; font-weight: 750; white-space: nowrap; }
.clients-search { display:flex; min-height:42px; align-items:center; gap:8px; margin:0 1px 14px; padding:0 13px; border:1px solid #e1e5e8; border-radius:18px; background:#fff; box-shadow:0 3px 10px #1f293707; color:#8a929a; }
.clients-search svg { width:18px; height:18px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.clients-search input { display:block; width:100%; height:40px; min-width:0; padding:0; border:0; outline:0; appearance:none; -webkit-appearance:none; background:transparent; color:#303840; font:650 13px/40px Inter,system-ui,sans-serif; }
.clients-search input::placeholder { color:#9aa1a8; }
.client-card { margin:10px 0; padding:13px 12px; border:0; border-radius:20px; box-shadow:0 4px 15px #1f29370b; background:#fff; }
.client-card:hover { border:0; background:#fff; box-shadow:0 7px 20px #1f293714; }
.client-person { display:flex; align-items:center; gap:12px; }
.client-copy { min-width:0; flex:1; padding:2px 0; }
.client-card-title { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:10px; }
.client-card-title .name { min-width:0; overflow:hidden; color:#20252b; font-size:17px; font-weight:760; text-overflow:ellipsis; white-space:nowrap; }
.client-next { margin-top:4px; overflow:hidden; color:#606975; font-size:13px; font-weight:650; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.client-card-footer { margin-top:8px; color:#8a919b; font-size:10px; font-weight:700; }
.client-screen-header { margin-bottom:13px; }
.client-detail-hero { display:flex; align-items:center; gap:13px; padding:16px; border-radius:20px; background:#fff; box-shadow:0 4px 15px #1f29370b; }
.client-detail-avatar { width:64px; height:64px; font-size:17px; }
.client-detail-meta { margin-top:4px; color:#65707b; font-size:13px; font-weight:650; }
.client-last-booking { margin-top:6px; color:#6d980d; font-size:11px; font-weight:800; }
.client-summary { display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:1px; margin:11px 0; overflow:hidden; border-radius:16px; background:#e9eeea; box-shadow:0 4px 15px #1f29370b; }
.client-summary div { display:grid; min-width:0; gap:4px; padding:11px 10px; background:#fff; }
.client-summary span { overflow:hidden; color:#8a929b; font-size:9px; font-weight:750; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.client-summary b { overflow:hidden; color:#2d353c; font-size:12px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.client-detail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:11px 0 15px; }
.client-detail-actions:has(.primary:only-child) { grid-template-columns:1fr; }
.client-detail-action { min-height:39px; padding:0 10px; border-radius:12px; font-size:12px; font-weight:800; }
.client-detail-action.secondary { display:grid; place-items:center; color:#5d9200; }
.client-detail-action.primary { box-shadow:0 5px 12px #00652222; }
.client-detail-section { margin:13px 0; overflow:hidden; border-radius:20px; background:#fff; box-shadow:0 4px 15px #1f29370b; }
.client-detail-section .booking-detail-section-title { margin:0; padding:13px 15px 8px; }
.client-history-toggle { padding:0; border:0; background:transparent; color:#679b00; font-size:10px; font-weight:850; }
.client-history-loading { margin:0; padding:14px 15px; border-top:1px solid #edf0f2; color:#8a929b; font-size:12px; font-weight:650; }
.client-history-screen { overflow:hidden; border-radius:20px; background:#fff; box-shadow:0 4px 15px #1f29370b; }
.client-history-screen-name { padding:15px 15px 11px; color:#2d353c; font-size:15px; font-weight:800; }
.client-pagination { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 15px; border-top:1px solid #edf0f2; color:#7b858f; font-size:11px; font-weight:800; }
.client-pagination button { min-width:68px; min-height:31px; padding:0 10px; border:1px solid #d7e2c3; border-radius:10px; background:#f7fbe9; color:#679b00; font:inherit; }
.client-pagination button:disabled { border-color:#e4e8ea; background:#f5f6f7; color:#a6adb5; }
.settings-card { margin:11px 0; padding:3px 15px; overflow:hidden; border-radius:20px; background:#fff; box-shadow:0 4px 15px #1f29370b; }
.settings-title { padding:14px 0 7px; color:#84908a; font-size:10px; font-weight:850; letter-spacing:.12em; }
.settings-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 0; border-top:1px solid #edf0f2; }
.settings-row>div:first-child { display:grid; gap:3px; min-width:0; }
.settings-row b { color:#2d353c; font-size:13px; }
.settings-row small, .settings-note { color:#7c858e; font-size:11px; font-weight:650; line-height:1.35; }
.settings-note { margin:0; padding:12px 0 15px; border-top:1px solid #edf0f2; }
.settings-segment { display:flex; overflow:hidden; flex:0 0 auto; border:1px solid #dfe5df; border-radius:10px; }
.settings-segment button { min-height:30px; padding:0 9px; border:0; border-left:1px solid #dfe5df; background:#fff; color:#727b84; font-size:10px; font-weight:850; }
.settings-segment button:first-child { border-left:0; }
.settings-segment button.active { background:#e9f7c9; color:#5f9600; }
.settings-segment-wide { align-self:flex-end; }
.client-history-row { display:flex; width:100%; min-height:61px; padding:10px 15px; align-items:center; justify-content:space-between; gap:13px; border:0; border-top:1px solid #edf0f2; background:#fff; color:#293039; text-align:left; }
.client-history-row>span:first-child { display:grid; min-width:0; gap:3px; }
.client-history-row b { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.client-history-row small { overflow:hidden; color:#8a929b; font-size:10px; font-weight:650; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.client-history-row>span:last-child { display:grid; flex:0 0 auto; justify-items:end; gap:4px; }
.client-history-row .booking-status { max-width:118px; padding:3px 6px; font-size:9px; }
.client-conversation-row .inbox-status { display:inline-flex; width:max-content; padding:3px 6px; border-radius:8px; background:#e9f7c9; color:#5f9600; font-size:9px; font-style:normal; font-weight:800; line-height:1.2; }
.client-conversation-row .inbox-status.waiting { background:#fff0cf; color:#bf7a00; }
.client-conversation-row .inbox-status.completed { background:#dff4e5; color:#25914a; }
.menu-card { display:grid; grid-template-columns:1fr auto; gap:3px 12px; width:100%; margin:9px 0; padding:16px; text-align:left; border:1px solid var(--line); border-radius:16px; background:#fff; color:#253127; }
.menu-card span { font-size:16px; font-weight:800; }.menu-card small { color:var(--muted); font-size:13px; }.menu-card b { grid-row:1 / span 2; grid-column:2; align-self:center; color:#5e956a; font-size:24px; }
.completed-card { padding:14px 16px; cursor:pointer; }.completed-arrow { color:#5e956a; font-size:25px; line-height:1; }

.secondary {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #cfd8d0;
  border-radius: 10px;
  background: #fff;
  color: #344035;
  font-weight: 650;
}
.secondary:hover { border-color: #88b894; background: #f5fbf6; }
.primary {
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 5px 12px #00652235;
}
.primary:hover { background: #006321; }
.empty { padding: 58px 12px; color: var(--muted); text-align: center; }
.waiting-description { margin: -2px 4px 14px; color: var(--muted); font-size: 13px; line-height: 1.4; }

.fab {
  position: fixed;
  right: max(20px, calc((100vw - 680px) / 2 + 20px));
  bottom: 86px;
  z-index: 2;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 7px 18px #004f2770;
  color: #fff;
  font-size: 31px;
}

nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 680px;
  margin: auto;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}
nav button { display: grid; gap: 4px; padding: 6px 2px; place-items: center; border: 0; background: transparent; color: #5d695e; font-size: 11px; font-weight: 650; }
nav button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
nav button[data-page="more"] svg { fill: currentColor; stroke: none; }
nav button.active { color: var(--primary); font-weight: 850; }

dialog { width: min(94vw, 520px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 20px 64px #19201955; }
dialog::backdrop { background: #10201475; }
dialog form { max-height: 85vh; padding: 20px; overflow: auto; }
dialog header { margin-bottom: 12px; }
#case-form { position: relative; }
#case-form > header { display: flex; align-items: center; min-height: 32px; padding-right: 38px; }
#case-form > header h2 { margin: 0; }
#case-form > header .icon { position: absolute; top: 16px; right: 16px; display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border-radius: 50%; background: #edf1ed; outline: none; }
#case-form > header .icon:focus-visible { box-shadow: 0 0 0 3px #89b5ff; }
#case-form label.is-required > span::after { content: " *"; color: #d62828; }
.icon { padding: 0; border: 0; background: transparent; color: #415143; font-size: 28px; line-height: 1; }
label { display: block; margin: 14px 0; color: #465046; font-size: 13px; font-weight: 750; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px; border: 1px solid #cfd8d0; border-radius: 10px; background: #fff; color: inherit; }
textarea { min-height: 70px; }
.audit { margin: 8px 0; padding: 8px 10px; border-left: 2px solid #a9cdb0; color: var(--muted); font-size: 13px; }

@media (max-width: 420px) {
  .shift { display: none; }
  .language-toggle { min-width: 32px; padding: 0 6px; }
  .app { padding-right: 14px; padding-left: 14px; }
  .topbar { margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; }
}

/* Telegram-native Lime Tour redesign */
:root { --primary:#8bc900; --primary-dark:#6da500; --surface:#fff; --line:#eef0f2; --muted:#7b808a; --danger:#ff4b43; }
body { background:#f5f7f9; }
.app { max-width:560px; min-height:100dvh; padding:0 16px 104px; background:linear-gradient(180deg,#f4f7fa 0%,#fff 60%); }
.topbar { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; min-height:82px; margin:0 -16px 2px; padding:7px 16px 2px; background:transparent; border:0; }
.menu-button { width:46px; height:46px; color:#4e5661; font-size:28px; border-radius:50%; }
.brand { position:static; display:flex; align-items:center; justify-content:center; gap:9px; width:100%; transform:none; }
.brand::before { width:52px; height:44px; content:""; background:url('/lime-tour-original-mark.png') center/contain no-repeat; mix-blend-mode:multiply; }
.brand p { color:#c7ed3e; font-size:31px; font-weight:800; letter-spacing:-.055em; white-space:nowrap; }
.manager-controls { justify-self:end; gap:5px; }
.manager-controls .shift { display:none; }
.language-toggle { display:none; }
.profile-avatar { display:grid; width:46px; height:46px; padding:0; place-items:center; overflow:hidden; border:0; box-shadow:none; font-size:14px; background:#f0f3f5; color:#48515a; }
.profile-avatar img { width:100%; height:100%; object-fit:cover; }
.profile-avatar.on-shift { box-shadow:0 0 0 6px #d7f3a3,0 0 20px 7px #91cf4f9c; }
.profile-avatar.off-shift { box-shadow:0 0 0 6px #f8d3d0,0 0 20px 7px #dc8e8990; }
.manager-controls { position:relative; width:104px; min-width:0; gap:12px; }
.notifications-button { position:relative; display:grid; width:38px; height:38px; padding:0; place-items:center; border:0; border-radius:50%; background:#f0f3f5; color:#626b75; }
.notifications-button svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.notifications-button:hover, .notifications-button[aria-expanded="true"] { background:#edf8d4; color:#679b00; }
#notifications-badge { position:absolute; top:-4px; right:-4px; display:grid; min-width:18px; height:18px; padding:0 4px; place-items:center; border-radius:10px; background:#ff4b43; box-shadow:0 0 0 2px #f5f7f9; color:#fff; font-size:10px; font-weight:850; line-height:1; }
#notifications-badge[hidden] { display:none!important; }
.notifications-panel { position:absolute; top:55px; right:0; z-index:30; width:min(320px,calc(100vw - 32px)); overflow:hidden; border:1px solid #edf0ec; border-radius:18px; background:#fff; box-shadow:0 14px 32px #1f293730; }
.notifications-panel[hidden] { display:none; }
.notifications-title { display:flex; align-items:center; justify-content:space-between; padding:13px 14px 9px; color:#293039; font-size:13px; font-weight:850; }
.notifications-title b { display:grid; min-width:19px; height:19px; padding:0 5px; place-items:center; border-radius:10px; background:#ff4b43; color:#fff; font-size:10px; }
.notification-item { display:grid; width:100%; gap:4px; padding:11px 14px; border:0; border-top:1px solid #edf0f2; background:#fff; color:#343b43; text-align:left; }
.notification-item:hover { background:#f8fbef; }
.notification-item strong { overflow:hidden; font-size:12px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.notification-item small { overflow:hidden; color:#7e8791; font-size:11px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.notifications-empty { margin:0; padding:15px 14px 17px; border-top:1px solid #edf0f2; color:#8a929b; font-size:12px; font-weight:650; }
.profile-menu { position:absolute; top:56px; right:0; z-index:20; width:196px; padding:7px; border:1px solid #edf0ec; border-radius:16px; background:#fff; box-shadow:0 12px 28px #1f293727; }
.profile-menu[hidden] { display:none; }
.profile-menu button { display:flex; width:100%; align-items:center; justify-content:space-between; gap:10px; padding:11px 10px; border:0; border-radius:10px; background:transparent; color:#353d45; font-size:13px; font-weight:750; text-align:left; }
.profile-menu button:hover { background:#f3f7ed; }
.profile-menu b { padding:4px 7px; border-radius:10px; background:#e7f7cf; color:#679b00; font-size:10px; white-space:nowrap; }
.profile-menu b.off { background:#fbe8e6; color:#b76c67; }
.page-title { margin:7px 4px 17px; color:#11161c; font-size:26px; font-weight:800; letter-spacing:-.05em; }
.inbox-filter-row { display:flex; align-items:center; gap:8px; margin:0 1px 20px; }
.inbox-filters { display:flex; flex:1; gap:8px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.inbox-filters::-webkit-scrollbar { display:none; }
.inbox-filters button { min-height:38px; padding:0 15px; border:0; border-radius:20px; background:#f0f1f3; color:#5e6570; font-size:14px; font-weight:700; white-space:nowrap; }
.inbox-filters button.active { background:repeating-linear-gradient(135deg,#4e7d00 0 7px,#6ca900 7px 14px); color:#fff; box-shadow:0 5px 11px #56890038; text-shadow:0 1px 1px #26400080; }
.inbox-filters b { display:inline-grid; min-width:19px; height:19px; margin-left:3px; place-items:center; border-radius:10px; background:#dde2e6; color:#59616c; font-size:11px; }
.inbox-filters button.active b { background:#ffffff3d; color:#fff; }
.inbox-search-toggle { display:grid; width:38px; height:38px; padding:0; place-items:center; flex:0 0 auto; border:0; border-radius:50%; background:#f0f1f3; color:#66707a; }.inbox-search-toggle.active{background:#e9f7c9;color:#639900;font-size:24px;font-weight:500;line-height:1}.inbox-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.inbox-search { display:flex; min-height:42px; align-items:center; gap:8px; min-width:0; flex:1; margin:0; padding:0 13px; border:1px solid #e1e5e8; border-radius:18px; background:#fff; box-shadow:0 3px 10px #1f293707; color:#8a929a; }
.inbox-search svg { width:18px; height:18px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.inbox-search input { display:block; box-sizing:border-box; width:100%; height:42px; min-width:0; padding:0; border:0; outline:0; appearance:none; -webkit-appearance:none; background:transparent; color:#303840; font:650 13px/42px Inter,system-ui,sans-serif; transform:translateY(-1px); }
.inbox-search input::placeholder { color:#9aa1a8; }.inbox-search-expand{transform-origin:right center;animation:inbox-search-expand .22s cubic-bezier(.2,.8,.25,1) both}@keyframes inbox-search-expand{from{opacity:0;transform:translateX(26px) scaleX(.2)}to{opacity:1;transform:translateX(0) scaleX(1)}}.search-result-note { margin:9px 4px; color:#8a929a; font-size:11px; }
.inbox-footer-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.inbox-owner-chip{max-width:108px;overflow:hidden;padding:3px 7px;border-radius:8px;background:#eef3e7;color:#64813b;font-size:10px;font-weight:800;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.booking-filter-row { display:flex; align-items:center; gap:8px; margin:0 1px 14px; }
.booking-types { display:flex; flex:1; gap:8px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.booking-types::-webkit-scrollbar { display:none; }
.booking-types button, .booking-status-filters button { min-height:38px; padding:0 15px; border:0; border-radius:20px; background:#f0f1f3; color:#5e6570; font-size:14px; font-weight:700; white-space:nowrap; }
.booking-types button.active { background:repeating-linear-gradient(135deg,#4e7d00 0 7px,#6ca900 7px 14px); color:#fff; box-shadow:0 5px 11px #56890038; text-shadow:0 1px 1px #26400080; }
.booking-types b { display:inline-grid; min-width:19px; height:19px; margin-left:3px; place-items:center; border-radius:10px; background:#dde2e6; color:#59616c; font-size:11px; }
.booking-types button.active b { background:#ffffff3d; color:#fff; }
.booking-filter-toggle { display:grid; width:38px; height:38px; padding:0; place-items:center; flex:0 0 auto; border:0; border-radius:50%; background:#f0f1f3; color:#66707a; }
.booking-filter-toggle.active { background:#e9f7c9; color:#639900; }
.booking-filter-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
.booking-status-filters { display:flex; gap:8px; margin:-5px 1px 14px; padding:10px; overflow-x:auto; border-radius:18px; background:#fff; box-shadow:0 4px 15px #1f29370b; scrollbar-width:none; animation:inbox-search-expand .2s cubic-bezier(.2,.8,.25,1) both; }
.booking-status-filters::-webkit-scrollbar { display:none; }
.booking-status-filters button { min-height:32px; padding:0 12px; font-size:12px; }
.booking-status-filters button.active { background:#e8f6c9; color:#598d00; }
.booking-list { display:grid; gap:10px; }
.booking-card { display:flex; gap:13px; align-items:flex-start; padding:14px 13px 13px; border-radius:18px; background:#fff; box-shadow:0 4px 15px #1f29370b; cursor:pointer; }
.booking-icon { display:grid; width:43px; height:43px; flex:0 0 auto; place-items:center; border-radius:50%; background:#f2f8df; font-size:20px; }
.booking-icon.border_run { background:#f7f2df; }
.booking-copy { min-width:0; flex:1; }
.booking-heading { display:flex; min-height:21px; align-items:flex-start; justify-content:space-between; gap:8px; }
.booking-heading .name { min-width:0; overflow:hidden; font-size:16px; text-overflow:ellipsis; white-space:nowrap; }
.booking-status { display:inline-flex; flex:0 0 auto; max-width:132px; padding:5px 8px; align-items:center; border-radius:8px; background:#f4f1e8; color:#8d711f; font-size:10px; font-weight:800; line-height:1.1; text-align:right; white-space:nowrap; }
.booking-status.awaiting_supplier { background:#f0f3ed; color:#708044; }
.booking-status.planned, .booking-status.awaiting_execution, .booking-status.in_progress { background:#edf4df; color:#67891c; }
.booking-status.completed { background:#edf5ef; color:#4d8b60; }
.booking-status.cancelled { background:#f7eeee; color:#aa6965; }
.booking-module { margin-top:2px; color:#6c747f; font-size:12px; }
.booking-date, .booking-route { margin-top:5px; color:#6c747f; font-size:12px; line-height:1.32; }
.booking-route { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.booking-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; }
.booking-list-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:11px; }
.booking-payment-summary { margin-top:6px; overflow:hidden; color:#9198a0; font-size:10px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.payment-status { padding:4px 8px; border:0; border-radius:9px; background:#f2f3f4; color:#69717b; font-size:10px; font-weight:800; white-space:nowrap; }
.payment-status.deposit { background:#fff0cf; color:#b87b14; }
.payment-status.paid { background:#e0f4e5; color:#29934d; }
.booking-actions { display:flex; align-items:center; justify-content:flex-end; gap:6px; min-width:0; }
.booking-action, .booking-action-secondary, .booking-cancel { min-height:27px; padding:0 8px; border:0; border-radius:9px; background:#e9f7c9; color:#5d9200; font-size:10px; font-weight:800; white-space:nowrap; }
.booking-action-secondary { background:#fff; box-shadow:inset 0 0 0 1px #dce9cb; color:#6d8f3a; }
.booking-cancel { background:#fff0ef; color:#c7635e; }
.booking-action-note { padding:5px 3px; color:#8b9298; font-size:10px; font-weight:700; white-space:nowrap; }
.booking-screen-header { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:10px; margin:0 2px 13px; padding:3px 4px; }
.booking-screen-header .page-title { margin:0; font-size:22px; }
.booking-header-actions { display:flex; align-items:center; gap:6px; }
.booking-edit-button { min-height:31px; padding:0 10px; border:0; border-radius:10px; background:#e9f7c9; color:#5d9200; font-size:11px; font-weight:800; }
.booking-dialog-button { min-height:31px; padding:0 9px; border:1px solid #dcead0; border-radius:10px; background:#fff; color:#5d9200; font-size:11px; font-weight:800; }
.booking-delete-button { display:grid; width:31px; height:31px; padding:0; place-items:center; border:0; border-radius:10px; background:#fff0ef; color:#c75d58; font-size:23px; font-weight:500; line-height:1; }
.booking-detail-card { overflow:hidden; border-radius:20px; background:#fff; box-shadow:0 4px 15px #1f29370b; }
.booking-detail-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:18px 16px 14px; }
.booking-detail-top .booking-status { max-width:138px; margin-top:2px; text-align:right; justify-content:flex-end; }
.booking-detail-client { color:#20252b; font-size:21px; font-weight:800; letter-spacing:-.035em; }
.booking-detail-service { margin-top:4px; color:#6e7781; font-size:13px; font-weight:650; }
.booking-detail-section { padding:13px 16px; border-top:1px solid #edf0f2; }
.booking-detail-section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 7px; color:#88919a; font-size:10px; font-weight:850; letter-spacing:.08em; }
.booking-detail-section-title button { padding:0; border:0; background:transparent; color:#679b00; font-size:11px; font-weight:800; }
.vehicle-photo { width:100%; height:150px; margin:3px 0 10px; overflow:hidden; border-radius:13px; background:#f2f4f5; }
.vehicle-photo img { width:100%; height:100%; object-fit:cover; }
.booking-detail-row { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:6px 0; color:#68717a; font-size:13px; line-height:1.35; }
.booking-detail-row b { max-width:63%; color:#283038; font-weight:750; text-align:right; word-break:break-word; }
.booking-detail-actions { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; padding:14px 16px 17px; border-top:1px solid #edf0f2; }
.vehicle-form,.booking-edit-form { display:grid; gap:8px; }
.vehicle-form label,.booking-edit-form label { display:grid; gap:5px; margin:0; color:#68717a; font-size:12px; font-weight:700; }
.vehicle-form input,.booking-edit-form input,.booking-edit-form select { box-sizing:border-box; width:100%; min-height:38px; padding:8px 10px; border:1px solid #dde3e6; border-radius:11px; background:#fff; color:#283038; font:inherit; }
.vehicle-form .vehicle-make-select { margin:0; }
.vehicle-form .employee-select-trigger { min-height:38px; height:38px; border-radius:11px; background:#fff; font-size:14px; }
.vehicle-form .primary,.booking-edit-form .primary { min-height:40px; margin-top:2px; border-radius:12px; }
.booking-edit-form { padding:16px; border:0; border-radius:20px; box-shadow:0 4px 15px #1f29370b; }
.booking-native-select { display:none!important; }
.booking-edit-form .case-dropdown-trigger { min-height:38px; border-radius:11px; background:#fff; font-size:14px; }
.booking-edit-form input[name="service_at_display"] { font-variant-numeric:tabular-nums; letter-spacing:.01em; }
.booking-delete-dialog { width:min(320px,calc(100vw - 42px)); margin:auto; padding:0; border:0; border-radius:18px; box-shadow:0 16px 42px #1d28374a; }
.booking-delete-dialog::backdrop { background:#17212bd1; }
.booking-delete-dialog form { padding:21px 20px 18px; background:#fff; }
.booking-delete-dialog h2 { margin:0; color:#242a31; font-size:18px; letter-spacing:-.03em; }
.booking-delete-dialog p { margin:9px 0 18px; color:#6c7580; font-size:13px; line-height:1.4; }
.booking-delete-dialog form>div { display:flex; justify-content:flex-end; gap:8px; }
.delete-cancel-button,.delete-confirm-button { min-height:36px; padding:0 12px; border:0; border-radius:10px; font-size:12px; font-weight:800; }
.delete-cancel-button { background:#f0f2f3; color:#66707a; }
.delete-confirm-button { background:#d95d57; color:#fff; }
.inbox-card { margin:10px 0; padding:13px 12px; border:0; border-radius:20px; box-shadow:0 4px 15px #1f29370b; background:#fff; }
.inbox-card:hover { border:0; background:#fff; box-shadow:0 7px 20px #1f293714; }
.inbox-person { gap:12px; align-items:center; }
.client-avatar { width:61px; height:61px; font-size:16px; background:#e7edf0; }
.inbox-copy { padding:2px 0; }
.inbox-card .name { color:#20252b; font-size:17px; font-weight:760; }
.inbox-card .meta { display:-webkit-box; margin-top:4px; overflow:hidden; color:#606975; font-size:14px; line-height:1.35; white-space:normal; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.inbox-card .card-footer { justify-content:space-between; gap:8px; margin:8px 0 0 73px; padding:0; border:0; color:#8a919b; font-size:12px; }
.inbox-card .card-footer::before { display:none; }
.inbox-card .card-footer .inbox-status { display:inline-flex; width:max-content; margin:0; padding:3px 7px; align-items:center; border-radius:8px; background:#e9f7c9; color:#5f9600; font-size:10px; font-weight:800; line-height:1.2; }
.inbox-card .card-footer .inbox-status.waiting { background:#fff0cf; color:#bf7a00; }
.inbox-card .card-footer .inbox-status.completed { background:#dff4e5; color:#25914a; }
.inbox-card .card-footer .inbox-activity { color:#8a919b; font-size:10px; font-weight:600; line-height:1.2; white-space:nowrap; }
body.conversation-open { overflow:hidden; overscroll-behavior:none; }
body.conversation-open .app { height:100dvh; overflow:hidden; }
body.conversation-open #content { visibility:hidden; }
.archive-button { width:25px; height:25px; border-radius:50%; background:transparent; color:#a8afb6; font-size:21px; }
.archive-button:hover { background:#fff0ef; color:#ff4b43; }
.section-title { margin:8px 4px 12px; color:#171c22; font-size:25px; letter-spacing:-.04em; text-transform:none; }
.card { border:0; border-radius:20px; box-shadow:0 4px 15px #1f29370b; }
.fab { right:max(18px,calc((100vw - 560px)/2 + 18px)); bottom:86px; width:60px; height:60px; background:var(--primary); box-shadow:0 8px 18px #6fa90055; }
nav { max-width:560px; padding:10px 10px calc(12px + env(safe-area-inset-bottom)); border:0; border-radius:24px 24px 0 0; box-shadow:0 -4px 20px #1f29370b; }
nav button { gap:5px; color:#747b84; font-size:11px; font-weight:700; }
nav button svg { width:24px; height:24px; stroke-width:2; }
nav button.active svg { stroke-width:2.4; }
nav button.active { color:var(--primary-dark); }
dialog { border-radius:26px; }
@media (max-width:420px) { .app { padding-right:16px; padding-left:16px; } .topbar { margin-right:-16px; margin-left:-16px; padding-right:18px; padding-left:18px; } .page-title { font-size:26px; } }

/* Custom dropdowns keep the same typography in every Telegram WebView. */
.case-dialog #case-form .case-field{position:relative}.case-native-select{display:none!important}.case-dropdown{position:relative;display:block}.case-dropdown-trigger{display:flex;width:100%;min-height:46px;padding:0 42px 0 13px;align-items:center;justify-content:space-between;border:1px solid #e0e6e2;border-radius:14px;background:#f5f8f5;color:#29332d;font:650 15px/1 Inter,system-ui,sans-serif;text-align:left}.case-dropdown-trigger i{position:absolute;top:50%;right:15px;width:9px;height:9px;border-right:2.5px solid #6b9d11;border-bottom:2.5px solid #6b9d11;transform:translateY(-68%) rotate(45deg)}.case-dropdown-trigger[aria-expanded="true"]{border-color:#9ec850;background:#fff;box-shadow:0 0 0 3px #e5f3c7}.case-dropdown-trigger[aria-expanded="true"] i{transform:translateY(-25%) rotate(225deg)}.case-dropdown-menu{position:absolute;z-index:35;top:calc(100% + 7px);right:0;left:0;padding:6px;border:1px solid #e3e9e2;border-radius:15px;background:#fff;box-shadow:0 13px 28px #1f29372b}.case-dropdown-menu button{display:flex;width:100%;min-height:39px;padding:0 11px;align-items:center;border:0;border-radius:10px;background:transparent;color:#354039;font:650 14px/1.2 Inter,system-ui,sans-serif;text-align:left}.case-dropdown-menu button.selected{background:#eff8d8;color:#5f9400;font-weight:800}.case-dropdown-menu button:active{background:#e5f3c7}.case-dialog #case-form input[name="service_at_display"]{font-variant-numeric:tabular-nums;letter-spacing:.01em}.case-dialog #case-form input[type="number"]{-moz-appearance:textfield}.case-dialog #case-form input[type="number"]::-webkit-outer-spin-button,.case-dialog #case-form input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.manager-rating{margin-top:7px;color:#d49a00;font-size:15px;font-weight:850}.manager-rating span{color:#87908a;font-size:11px;font-weight:700}

.quick-menu-dialog { width:min(92vw,420px); border-radius:22px; }
.quick-menu-dialog>section { padding:18px; }
.quick-menu-dialog header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.quick-menu-dialog header p { margin:0 0 4px; color:#75a700; font-size:10px; font-weight:850; letter-spacing:.13em; }
.quick-menu-dialog header h2 { color:#14191f; font-size:23px; }
.quick-menu-dialog header button { display:grid; width:34px; height:34px; padding:0; place-items:center; border:0; border-radius:50%; background:#edf8d4; color:#679b00; font-size:25px; line-height:1; }
.quick-menu-actions { display:grid; gap:7px; }
.quick-menu-actions button { display:grid; grid-template-columns:37px minmax(0,1fr); align-items:center; gap:10px; width:100%; padding:11px; border:0; border-radius:14px; background:#f8faf7; color:#2d353c; text-align:left; }
.quick-menu-actions button:hover { background:#edf8d4; }
.quick-menu-icon { display:grid; width:34px; height:34px; place-items:center; border-radius:11px; background:#e9f7c9; color:#679b00; font-size:21px; font-weight:850; }
.quick-menu-actions button span:last-child { display:grid; gap:3px; min-width:0; }
.quick-menu-actions b { font-size:13px; }
.quick-menu-actions small { color:#7b858f; font-size:10px; font-weight:650; }
.app.layout-desktop { width:100%; max-width:none; padding-right:28px; padding-left:28px; }
.app.layout-desktop .topbar { margin-right:-28px; margin-left:-28px; padding-right:28px; padding-left:28px; }
.app.layout-desktop .fab { right:28px; }
nav.layout-desktop { width:100%; max-width:none; }
@media (max-width:360px) { .brand::before { width:44px; } .brand p { font-size:26px; } .notifications-button { width:34px; height:34px; } .profile-avatar { width:40px; height:40px; } .manager-controls { gap:3px; } }

/* Staff editor and utility controls share the same compact app shell. */
.topbar{grid-template-columns:44px minmax(0,1fr) auto}
.manager-controls{width:auto;gap:7px}
.settings-button,.notifications-button{position:relative;display:grid;width:38px;height:38px;padding:0;place-items:center;flex:0 0 auto;border:0;border-radius:50%;background:#f0f3f5;color:#626b75}
.settings-button svg,.notifications-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.settings-button:hover,.settings-button:focus-visible{background:#edf8d4;color:#679b00}
body.employee-dialog-open{overflow:hidden;overscroll-behavior:none}
body.employee-dialog-open .app{height:100dvh;overflow:hidden}
.employee-dialog header{margin-bottom:16px}
.employee-dialog header p{margin:0 0 14px;font-weight:600;text-transform:uppercase}
.employee-dialog header p strong{font-weight:900}
.employee-dialog form{gap:10px;max-height:none;padding:0;overflow:visible}
.employee-dialog label,.employee-dialog .employee-select-field{margin:0!important;gap:5px}
.employee-dialog input[readonly]{background:#f3f5f3;color:#8b948e;cursor:default}
.employee-dialog-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;margin-top:4px}
.employee-dialog-actions .primary{width:auto;min-width:0;flex:0 0 auto;margin:0;padding:0 18px;white-space:nowrap}
.employee-delete{width:auto;min-width:0;padding:0 14px}
@media(max-width:420px){.settings-button,.notifications-button{width:34px;height:34px}.settings-button svg,.notifications-button svg{width:19px;height:19px}.manager-controls{gap:4px}.employee-dialog-actions .primary{padding:0 14px;font-size:13px}.employee-delete{padding:0 12px;font-size:12px}}

/* Manager profile and supervisor activity feed. */
.profile-screen{display:grid;gap:14px;padding-top:3px}
.profile-hero{display:flex;align-items:center;gap:15px;margin:0;padding:18px;border:1px solid #edf1ea;border-radius:25px;background:linear-gradient(145deg,#fff,#fbfdf8);box-shadow:0 10px 24px #26351c0d}
.profile-hero-avatar{display:grid;width:76px;height:76px;flex:0 0 76px;place-items:center;overflow:hidden;border:1px solid #dce8cf;border-radius:50%;background:#e8f6cd;color:#669b00;font:850 24px/1 Inter,system-ui,sans-serif}
.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}
.profile-hero-copy{min-width:0}.profile-hero-copy>p,.profile-kicker{margin:0 0 5px;color:#73a900;font:750 10px/1 Inter,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase}.profile-hero .name{font-size:24px;line-height:1.08}.profile-hero .meta{margin-top:5px;font-size:14px}.profile-hero .manager-rating{margin-top:8px}
.profile-form{display:grid;gap:10px;margin:0;padding:18px;border:1px solid #edf1ea;border-radius:25px;background:#fff;box-shadow:0 10px 24px #26351c0d}.profile-form label,.profile-select-field{display:grid;margin:0!important;gap:6px;color:#566259;font:800 12px/1.2 Inter,system-ui,sans-serif}.profile-form input{box-sizing:border-box;height:44px;margin:0;border:1px solid #dce4dc;border-radius:13px;background:#fbfcfb;color:#29332d;font:700 14px/1 Inter,system-ui,sans-serif}.profile-role{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border-radius:13px;background:#f3f7ed;color:#5f6a62;font:750 12px/1 Inter,system-ui,sans-serif}.profile-role b{padding:7px 9px;border-radius:999px;background:#e9f7cf;color:#5f9300;font:850 11px/1 Inter,system-ui,sans-serif}.profile-form .primary{width:auto;min-height:45px;margin:3px 0 0;border-radius:14px;font-size:14px}
.activity-intro{margin-top:-2px}.activity-list{display:grid;gap:8px;padding-bottom:18px}.activity-entry{display:grid;grid-template-columns:10px minmax(0,1fr) 12px;align-items:start;gap:11px;width:100%;padding:12px 13px;border:1px solid #edf0eb;border-radius:17px;background:#fff;color:#27302a;text-align:left;box-shadow:0 5px 14px #28351a0a}.activity-entry:not(button){grid-template-columns:10px minmax(0,1fr)}.activity-entry:hover{border-color:#c9e2a0;background:#fcfff8}.activity-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#83bd16}.activity-copy{display:grid;gap:4px;min-width:0}.activity-copy b{font:700 13px/1.33 Inter,system-ui,sans-serif}.activity-copy small{color:#88928b;font:650 10px/1.2 Inter,system-ui,sans-serif}.activity-entry i{align-self:center;color:#76a900;font:900 20px/1 Inter,system-ui,sans-serif;font-style:normal}.activity-pagination{display:grid;grid-template-columns:minmax(74px,1fr) auto minmax(74px,1fr);align-items:center;gap:10px;margin:2px 0 26px}.activity-pagination button{min-height:38px;border:1px solid #dce7d1;border-radius:13px;background:#f8fbf4;color:#649900;font:800 12px/1 Inter,system-ui,sans-serif}.activity-pagination button:disabled{border-color:#edf0ed;background:#f6f7f6;color:#a3aaa4}.activity-pagination span{color:#7a857e;font:750 11px/1.2 Inter,system-ui,sans-serif;text-align:center}

/* Booking form: same Telegram-native language as the rest of Lime Tour. */
.case-dialog{width:min(94vw,500px);max-height:90dvh;border-radius:26px;background:#fff;box-shadow:0 22px 58px #17212b54}.case-dialog::backdrop{background:#17212bb8}.case-dialog #case-form{max-height:90dvh;padding:22px 20px 20px;overflow:auto;background:linear-gradient(180deg,#fff 0%,#fbfcfc 100%);scrollbar-width:none}.case-dialog #case-form::-webkit-scrollbar{display:none}.case-form-header{position:relative;display:flex!important;align-items:flex-start!important;justify-content:space-between;margin:0 0 18px!important;padding:0!important;min-height:46px!important}.case-form-header p{margin:1px 0 5px;color:#79aa27;font-size:10px;font-weight:850;letter-spacing:.12em}.case-form-header h2{margin:0!important;color:#171c22;font-size:27px;line-height:1.06;letter-spacing:-.052em}.case-dialog #case-form>.case-form-header .icon{position:static;display:grid;width:36px;height:36px;margin:0;padding:0;place-items:center;flex:0 0 auto;border:0;border-radius:50%;background:#eff8d8;color:#649b00;font-size:27px;font-weight:500;line-height:1}.case-dialog #case-form>.case-form-header .icon:focus-visible{box-shadow:0 0 0 3px #b9dc6c}.case-dialog #case-form label.case-field{display:grid;margin:0 0 13px;gap:6px;color:#3e4941;font-size:12px;font-weight:800}.case-dialog #case-form label.case-field>span:first-child{display:flex;align-items:center;gap:3px}.case-dialog #case-form label.is-required>span:first-child::after{content:"*";color:#ef554e;font-size:15px;line-height:1}.case-dialog #case-form input,.case-dialog #case-form textarea,.case-dialog #case-form select{box-sizing:border-box;width:100%;margin:0;border:1px solid #e0e6e2;border-radius:14px;background:#f9fbfa;color:#29332d;font:inherit;font-size:15px;font-weight:650;outline:0;box-shadow:none;transition:border-color .16s,background .16s,box-shadow .16s}.case-dialog #case-form input{min-height:46px;padding:0 13px}.case-dialog #case-form textarea{min-height:74px;padding:12px 13px;resize:vertical;line-height:1.35}.case-dialog #case-form input::placeholder,.case-dialog #case-form textarea::placeholder{color:#a8b0aa;font-weight:600}.case-dialog #case-form input:focus,.case-dialog #case-form textarea:focus,.case-dialog #case-form select:focus{border-color:#9ec850;background:#fff;box-shadow:0 0 0 3px #e5f3c7}.case-select-wrap{position:relative;display:block}.case-select-wrap::after{position:absolute;top:50%;right:13px;width:8px;height:8px;content:"";border-right:2px solid #6b9d11;border-bottom:2px solid #6b9d11;pointer-events:none;transform:translateY(-68%) rotate(45deg)}.case-dialog #case-form select{min-height:46px;padding:0 42px 0 13px;appearance:none;background:#f5f8f5}.case-dialog #case-form input[type="datetime-local"]{color-scheme:light;padding-right:10px}.case-dialog #case-form input[type="number"]{padding-right:13px}.case-dialog #case-form [data-transfer],.case-dialog #case-form [data-border]{margin:2px 0 0}.case-section-label{margin:18px 0 9px;color:#8a9490;font-size:10px;font-weight:850;letter-spacing:.1em}.case-section-label.case-details-label{margin-top:19px}.case-finance-label{margin-top:18px}.case-dialog #case-form .secondary{display:flex;min-height:40px;margin:-2px 0 13px;padding:0 13px;align-items:center;justify-content:center;border:1px dashed #b9d58c;border-radius:13px;background:#f8fceb;color:#639900;font-size:13px;font-weight:800}.case-dialog #case-form .route-point{margin-top:-2px}.case-dialog #case-form .route-point-input{display:flex;gap:8px;align-items:center}.case-dialog #case-form .route-point-input .icon{display:grid;width:38px;height:38px;padding:0;place-items:center;flex:0 0 auto;border:0;border-radius:12px;background:#fff0ef;color:#ca625e;font-size:23px;line-height:1}.case-dialog #case-form .case-submit{display:flex;min-height:48px;margin-top:5px;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,#6b9e00,#94d400);box-shadow:0 7px 15px #6fa90038;color:#fff;font-size:14px;font-weight:850}
.schedule-week-nav{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin:14px 0 12px}.schedule-week-nav>div{text-align:center;color:#303a31;font-size:13px;font-weight:800}.schedule-week-nav button{width:38px;height:38px;border:0;border-radius:50%;background:#eff6e5;color:#639a00;font-size:26px;line-height:1}.schedule-week-nav>div button{display:block;width:auto;height:auto;margin:3px auto 0;padding:0;background:transparent;color:#78906f;font-size:11px}.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.schedule-day{min-height:118px;margin:0;padding:12px}.schedule-day-head{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.schedule-day-head b{display:block;color:#354038;font-size:12px;text-transform:capitalize}.schedule-day-head small{display:block;margin-top:2px;color:#83a15a;font-size:10px;font-weight:750}.schedule-add-button{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:50%;background:#e9f7c9;color:#5f9900;font-size:22px;line-height:1}.schedule-chips{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:10px}.schedule-chip{display:flex;width:100%;align-items:center;gap:5px;padding:5px 6px;border:0;border-radius:10px;background:#f1f8e6;color:#4d7f00;font:750 11px/1.1 Inter,system-ui,sans-serif;text-align:left}.schedule-member-avatar{display:grid;width:21px;height:21px;flex:0 0 auto;place-items:center;border-radius:50%;background:#c9eaa2;color:#527f00;font-size:8px;font-weight:850}.schedule-chip i{width:7px;height:7px;margin-left:auto;border-radius:50%}.schedule-chip i.on{background:#63ad00}.schedule-chip i.off{background:#d2a84b}.schedule-empty{padding-top:8px;font-size:11px;line-height:1.25}@media(max-width:680px){.schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-day{min-height:92px}.schedule-chip{font-size:12px}}
.inbox-card .card-footer .inbox-status.action{background:#fff0d6;color:#cb7800}.inbox-card .card-footer.action .inbox-activity{color:#c87909}.client-conversation-row .inbox-status.action{background:#fff0d6;color:#cb7800}
#content.screen-enter{animation:lime-screen-enter .24s cubic-bezier(.22,.8,.32,1) both}@keyframes lime-screen-enter{from{opacity:.25;transform:translate3d(12px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.quick-menu-dialog:open{animation:lime-quick-menu-in .25s cubic-bezier(.2,.85,.25,1) both}.quick-menu-dialog:open::backdrop{animation:lime-backdrop-in .2s ease-out both}@keyframes lime-quick-menu-in{from{opacity:0;transform:translate3d(-34px,-34px,0) scale(.92)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}@keyframes lime-backdrop-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){#content.screen-enter,.quick-menu-dialog:open,.quick-menu-dialog:open::backdrop{animation:none}}

/* Employees: the same compact, quiet cards as bookings and schedule. */
.employee-team-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 12px;padding:13px 15px;border:1px solid #e5ece0;border-radius:19px;background:linear-gradient(135deg,#fff,#f7fbed)}
.employee-team-summary>div{display:grid;gap:2px;min-width:0}
.employee-team-summary>div:last-child{padding-left:18px;border-left:1px solid #e7ede3;text-align:right}
.employee-team-summary span{color:#6b756f;font:700 11px/1.2 Inter,system-ui,sans-serif}
.employee-team-summary span b{color:#3a463b;font-weight:850}
.employee-team-summary strong{color:#5f9300;font:850 24px/1 Inter,system-ui,sans-serif}
.employee-team-summary small{color:#7b8580;font:700 11px/1.2 Inter,system-ui,sans-serif}
.employee-list{gap:9px}
.employee-card{min-height:78px;padding:12px 14px!important;border:1px solid #edf0ec;border-radius:19px!important;background:#fff;box-shadow:0 6px 17px #1f293709}
.employee-avatar{overflow:hidden;background:linear-gradient(145deg,#eaf7ca,#c8e68a);color:#5b8e00}
.employee-avatar img{width:100%;height:100%;object-fit:cover}
.employee-card .employee-avatar{width:48px;height:48px;flex-basis:48px}
.employee-name-row .name{color:#20252b;font-size:17px;line-height:1.1}
.employee-meta{gap:6px;margin-top:6px}
.employee-role,.employee-specialty,.employee-shift{min-height:22px;padding:0 8px;font:800 10px/1 Inter,system-ui,sans-serif}
.employee-specialty{display:inline-flex;align-items:center;max-width:146px;overflow:hidden;border-radius:999px;background:#f2f5f2;color:#627167;text-overflow:ellipsis;white-space:nowrap}
.employee-manage{width:30px;height:30px;border:1px solid #e4ecda;background:#f4fae9;color:#6ba300;font:850 24px/24px Inter,system-ui,sans-serif;letter-spacing:0}
.employee-add-card{min-height:72px;margin:12px 0 24px;border-radius:19px;background:#fbfdf8}

.employee-dialog{width:min(92vw,430px);max-height:90dvh;border-radius:25px;background:#fff;box-shadow:0 22px 60px #17212b55}
.employee-dialog>section{max-height:90dvh;padding:19px 18px 18px;overflow:auto;background:linear-gradient(180deg,#fff,#fbfcfb)}
.employee-dialog header{margin-bottom:14px}
.employee-dialog header p{margin:0 0 18px;color:#6fa400;font:800 11px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:none}
.employee-dialog header p strong{font-weight:900}
.employee-dialog-person{display:flex;align-items:center;gap:11px}
.employee-dialog-avatar{width:46px;height:46px;flex:0 0 46px;font-size:18px}
.employee-dialog h2{font-size:23px;line-height:1.05}
.employee-dialog-person small{display:block;max-width:230px;margin-top:4px;overflow:hidden;color:#7b8580;font:700 11px/1.25 Inter,system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
.employee-dialog form{gap:10px}
.employee-dialog label,.employee-select-field{gap:5px;color:#59655d;font:800 12px/1.2 Inter,system-ui,sans-serif}
.employee-dialog input{height:44px;border-radius:13px;font-size:14px}
.employee-select-field{position:relative;display:grid}
.employee-select{position:relative}
.employee-select-trigger{display:flex;width:100%;height:44px;padding:0 14px;align-items:center;justify-content:space-between;border:1px solid #dbe3dc;border-radius:13px;background:#fbfcfb;color:#2a332d;font:750 14px/1 Inter,system-ui,sans-serif;text-align:left}
.employee-select-trigger i{width:9px;height:9px;margin-left:12px;border-right:2px solid #6b9d11;border-bottom:2px solid #6b9d11;transform:translateY(-2px) rotate(45deg)}
.employee-select-trigger[aria-expanded="true"]{border-color:#9ec850;background:#fff;box-shadow:0 0 0 3px #e5f3c7}
.employee-select-trigger[aria-expanded="true"] i{transform:translateY(2px) rotate(225deg)}
.employee-select-menu{position:absolute;z-index:45;top:calc(100% + 6px);right:0;left:0;padding:5px;border:1px solid #e3e9e2;border-radius:14px;background:#fff;box-shadow:0 13px 28px #1f29372b}
.employee-select-menu button{display:flex;width:100%;min-height:36px;padding:0 10px;align-items:center;border:0;border-radius:9px;background:transparent;color:#354039;font:700 13px/1.2 Inter,system-ui,sans-serif;text-align:left}
.employee-select-menu button.selected{background:#eff8d8;color:#5f9400;font-weight:850}
.employee-dialog-actions{margin-top:3px}
.employee-dialog-actions .primary{min-height:44px;border-radius:14px;font-size:14px}
.employee-delete{min-height:44px;border-radius:14px;font-size:13px}

.vehicle-makes-intro{margin:0 0 13px}
.vehicle-make-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin:0 0 14px;padding:12px;border-radius:17px;background:#fff;box-shadow:0 4px 15px #1f29370b}
.vehicle-make-add input{min-width:0;height:42px;padding:0 12px;border:1px solid #dbe3dc;border-radius:12px;background:#fbfcfb;color:#2a332d;font:700 14px/1 Inter,system-ui,sans-serif}
.vehicle-make-add .primary{min-height:42px;padding:0 14px;border-radius:12px;font-size:13px;white-space:nowrap}
.vehicle-makes-list{display:grid;gap:9px}
.vehicle-make-card{display:flex;min-height:56px;padding:0 13px;align-items:center;justify-content:space-between;gap:12px;border-radius:16px;background:#fff;box-shadow:0 4px 15px #1f29370b;color:#283038;font:800 15px/1.2 Inter,system-ui,sans-serif}
.vehicle-make-card button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:0;border-radius:11px;background:#fff0ef;color:#c75d58;font:500 23px/1 system-ui}
@media (max-width:430px){.vehicle-make-add{grid-template-columns:1fr}.vehicle-make-add .primary{width:100%}}

/* Keep vehicle images as a compact preview on wide booking screens. */
.vehicle-photo{width:min(100%,360px);height:auto;aspect-ratio:16/9;margin:3px 0 10px}
.vehicle-photo img{display:block;width:100%;height:100%;object-fit:cover}
.schedule-member-dialog{width:min(92vw,430px);padding:0;border:0;border-radius:24px;box-shadow:0 18px 46px #17212b4d}.schedule-member-dialog::backdrop{background:#17212ba8}.schedule-member-dialog>section{padding:22px 20px 20px;background:#fff}.schedule-member-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 16px}.schedule-member-dialog header h2{margin:0;color:#1e252d;font-size:23px;letter-spacing:-.04em}.schedule-member-dialog header p{margin:6px 0 0;color:#7a8590;font-size:13px;font-weight:700}.schedule-member-dialog header button{display:grid;width:36px;height:36px;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:50%;background:#f1f4f6;color:#68737e;font-size:27px;line-height:1}.schedule-member-dialog .conversation-transfer-list{display:grid;gap:9px}.schedule-member-dialog .transfer-member{display:grid;grid-template-columns:42px minmax(0,1fr) 10px;align-items:center;gap:11px;width:100%;min-height:68px;padding:10px 12px;border:1px solid #e5e9e8;border-radius:17px;background:#fff;color:#2e3740;text-align:left}.schedule-member-dialog .transfer-member:hover{border-color:#bcd986;background:#fbfef7}.schedule-member-dialog .transfer-member-avatar{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:#e9f7c9;color:#5b9100;font-size:13px;font-weight:850}.schedule-member-dialog .transfer-member>span:nth-child(2){display:grid;gap:4px;min-width:0}.schedule-member-dialog .transfer-member b{overflow:hidden;font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.schedule-member-dialog .transfer-member small{color:#7e8993;font-size:11px;font-weight:700}.schedule-member-dialog .transfer-member i{width:8px;height:8px;border-radius:50%}.schedule-member-dialog .transfer-member i.online{background:#70ad11}.schedule-member-dialog .transfer-member i.offline{background:#d3a24f}.schedule-current-label{display:block;margin-top:3px;color:#6b9f12;font-size:11px;font-weight:800}
.template-intro{margin:0 0 14px}.template-locale-tabs{display:flex;gap:8px;margin:0 0 16px}.template-locale-tabs button{border:0;border-radius:999px;padding:10px 18px;background:#eef1ee;color:#66706a;font:800 14px/1 Inter,system-ui,sans-serif}.template-locale-tabs button.active{background:linear-gradient(135deg,#5a9800,#8fd500);color:#fff;box-shadow:0 8px 18px #76af4133}.template-card{background:#fff;border:1px solid #edf0ed;border-radius:24px;padding:18px;margin:0 0 12px;box-shadow:0 8px 22px #27331a0d}.template-card h2{margin:0;color:#1f2721;font:800 18px/1.2 Inter,system-ui,sans-serif}.template-card p{margin:7px 0 12px;color:#7a837c;font:600 13px/1.4 Inter,system-ui,sans-serif}.template-parameters{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:-2px 0 10px!important;color:#68766d!important;font-size:11px!important}.template-parameters code{padding:3px 6px;border-radius:7px;background:#eef7dc;color:#5f9300;font:800 10px/1 Inter,system-ui,sans-serif}.template-card textarea{box-sizing:border-box;width:100%;min-height:116px;resize:vertical;border:1px solid #d8e0d9;border-radius:16px;background:#f9fbf9;color:#29332c;padding:13px;font:600 14px/1.45 Inter,system-ui,sans-serif}.template-card textarea:focus{outline:2px solid #91c84d55;border-color:#76aa2a}.template-reset{margin-top:10px;padding:0;border:0;background:transparent;color:#6c9e12;font:800 12px/1.2 Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}.templates-save{width:100%;margin:4px 0 28px}
.team-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.team-summary>div{display:grid;gap:2px;padding:14px 16px;border-radius:18px;background:linear-gradient(145deg,#f8fbf5,#eef7dc);border:1px solid #e1edd0}.team-summary b{color:#5f9300;font:850 23px/1 Inter,system-ui,sans-serif}.team-summary span{color:#6f7a73;font:700 12px/1.25 Inter,system-ui,sans-serif}.employee-list{display:grid;gap:10px}.employee-card{display:flex;align-items:center;gap:13px;margin:0!important;padding:14px 16px!important}.employee-avatar{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#e7f6c8,#badf70);color:#568300;font:850 16px/1 Inter,system-ui,sans-serif}.employee-copy{min-width:0;flex:1}.employee-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.employee-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.employee-role,.employee-shift{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;font:800 11px/1 Inter,system-ui,sans-serif}.employee-role-owner{background:#f2e9c9;color:#8b6d08}.employee-role-admin{background:#e5efff;color:#466da7}.employee-role-manager{background:#e9f7cf;color:#5e9300}.employee-shift.on{background:#e6f7de;color:#29934b}.employee-shift.off{background:#f0f2f1;color:#7b8580}.employee-manage{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f0f7df;color:#649900;font:850 14px/1 Inter,system-ui,sans-serif;letter-spacing:1px}.employee-add-card{display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;margin:14px 0 26px;padding:14px 16px;border:1px dashed #9bc85c;border-radius:20px;background:#f8fcf3;color:#445342;text-align:left}.employee-add-card>span{display:grid;width:38px;height:38px;place-items:center;border-radius:13px;background:#e6f6c7;color:#5c9600;font-size:26px;line-height:1}.employee-add-card div{display:grid;gap:3px}.employee-add-card b{font:800 15px/1.1 Inter,system-ui,sans-serif}.employee-add-card small{color:#7a877b;font:650 12px/1.2 Inter,system-ui,sans-serif}.employee-add-card i{color:#73a900;font:900 23px/1 Inter,system-ui,sans-serif;font-style:normal}.employee-dialog{width:min(92vw,440px);padding:0;border:0;border-radius:26px;background:#fff;box-shadow:0 22px 60px #14241a55}.employee-dialog::backdrop{background:#18221dcc}.employee-dialog>section{padding:22px}.employee-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.employee-dialog header p{margin:0 0 5px;color:#73a900;font:850 10px/1 Inter,system-ui,sans-serif;letter-spacing:.14em}.employee-dialog h2{margin:0;color:#171d1a;font:850 26px/1.05 Inter,system-ui,sans-serif}.employee-dialog header button{display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:50%;background:#f1f5ef;color:#748078;font-size:28px;line-height:1}.employee-dialog form{display:grid;gap:14px}.employee-dialog label,.employee-role-picker{display:grid;gap:7px;color:#59655d;font:800 13px/1.2 Inter,system-ui,sans-serif}.employee-dialog input{box-sizing:border-box;width:100%;height:48px;padding:0 14px;border:1px solid #dbe3dc;border-radius:14px;background:#fbfcfb;color:#2a332d;font:700 15px/1 Inter,system-ui,sans-serif}.employee-role-picker>div{display:flex;flex-wrap:wrap;gap:8px}.employee-role-picker button{min-height:38px;padding:0 13px;border:1px solid #dbe5d8;border-radius:999px;background:#f7f9f6;color:#657068;font:800 13px/1 Inter,system-ui,sans-serif}.employee-role-picker button.active{border-color:#80b51d;background:#e9f7cd;color:#5d9200;box-shadow:0 0 0 3px #eaf5d4}.employee-dialog-actions{display:flex;gap:9px;align-items:center;margin-top:4px}.employee-dialog-actions .primary{flex:1;margin:0}.employee-delete{min-height:44px;padding:0 14px;border:0;border-radius:14px;background:#fff0ef;color:#ca574e;font:800 13px/1 Inter,system-ui,sans-serif}

/* Technical administrator and profile role refinements. */
.employee-role-technical_admin{background:#e6dfff;color:#6746a7}
.employee-dialog header p{margin-bottom:18px}
.profile-role{justify-content:flex-start;gap:10px;min-height:0;padding:0;background:transparent;color:#69756d}
.profile-role b{display:inline-flex;min-height:28px;align-items:center;padding:0 11px;background:#e9f7cf;color:#5f9300}
