/* Toolbar sections appear as dismissible cards in the conversation. */
@font-face {
  font-family: 'iBEZA Manrope';
  src: url('/assets/Manrope-wght.3ae11c49db04.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
.sidebar, .mobile-scrim { display: none !important; }
.app-update-notice { position: fixed; z-index: 1000; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(92vw, 420px); padding: 14px 18px; border-radius: 16px; background: #214a2b; color: white; box-shadow: 0 10px 30px #243d2a55; text-align: center; font-weight: 800; }
.hourglass-loading { --orbit-size: 34px; --rocket-width: 26px; --rocket-height: 34px; display: inline-flex; align-items: center; gap: 12px; min-height: var(--orbit-size); position: relative; }
.hourglass-loading::before { content: ''; flex: none; width: var(--orbit-size); height: var(--orbit-size); background: url('/assets/earth-loader.46ff62d8c856.svg') center / contain no-repeat; }
.hourglass-loading::after { content: ''; position: absolute; left: calc((var(--orbit-size) - var(--rocket-width)) / 2); top: calc(50% - var(--rocket-height) / 2); width: var(--rocket-width); height: var(--rocket-height); background: url('/assets/rocket-ru.0113d77c9b04.svg') center / contain no-repeat; pointer-events: none; animation: ibeza-rocket-launch 1.1s ease-out both, ibeza-rocket-orbit 3.4s linear 1.1s infinite; }
.app-update-notice.hourglass-loading { position: fixed; display: flex; justify-content: flex-start; text-align: left; }
.tour-wizard .hourglass-loading { --orbit-size: 40px; --rocket-width: 29px; --rocket-height: 38px; }
.message-label.hourglass-loading { --orbit-size: 30px; --rocket-width: 23px; --rocket-height: 31px; }
@keyframes ibeza-rocket-launch {
  0% { opacity: 0; transform: translateY(43px) scale(.72); }
  15% { opacity: 1; }
  78% { transform: translateY(-21px) scale(1); }
  100% { opacity: 1; transform: rotate(-90deg) translateX(21px) rotate(180deg); }
}
@keyframes ibeza-rocket-orbit {
  0% { opacity: 1; transform: rotate(-90deg) translateX(21px) rotate(180deg); }
  25% { opacity: 1; transform: rotate(0deg) translateX(21px) rotate(180deg); }
  50% { opacity: 1; transform: rotate(90deg) translateX(21px) rotate(180deg); }
  75% { opacity: 1; transform: rotate(180deg) translateX(21px) rotate(180deg); }
  100% { opacity: 1; transform: rotate(270deg) translateX(21px) rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) { .hourglass-loading::after { animation: none; opacity: 1; transform: rotate(-90deg) translateX(21px) rotate(180deg); } }
.chat-topbar .menu-button { display: grid; }
.chat-topbar .menu-button svg { width: 29px; height: 29px; }
.top-chat-panel {
  width: min(100%, 560px);
  margin: 22px auto 26px;
  padding: 23px 25px;
  border: 1px solid #ffffffe8;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffffff1, #edf5e9ed);
  box-shadow: 0 14px 34px #51684a38, 0 2px 3px #fff inset;
  color: #243622;
}
.top-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.top-panel-head .message-label { display: block; margin: 0 0 5px; }
.top-panel-head h2 { margin: 0 0 18px; font-size: 23px; letter-spacing: -.04em; }
.top-panel-close {
  width: 37px;
  height: 37px;
  flex: none;
  border: 1px solid #cfddc7;
  border-radius: 50%;
  background: #f7fbf4;
  color: #475943;
  font-size: 27px;
  line-height: 1;
}
.top-panel-close:hover { background: #e9f3e2; }
.registration-panel, .my-ads-panel { position: relative; }
.nested-panel-close { position: absolute; top: 18px; right: 18px; }
.registration-panel > .eyebrow, .my-ads-panel > .eyebrow { display: block; padding-right: 44px; }
.top-chat-panel p { margin: 8px 0 14px; color: #61715b; font-size: 13px; line-height: 1.5; }
.top-panel-action { padding: 12px 16px; border: 0; border-radius: 12px; background: #315c39; color: #fff; font-weight: 750; }
.top-panel-action:disabled, #taxi-push-enable:disabled {
  background: #d9dfd5; color: #697368; opacity: 1; cursor: not-allowed;
}
.top-panel-balance { display: block; font-size: 30px; color: #315c39; }
.search-actions { display: flex; gap: 10px; margin: 15px 0 3px; }
.search-actions button, .search-actions a, .ad-contact-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 9px 14px; border: 1px solid #9ab990;
  border-radius: 13px; background: #e5f0dd; color: #285a30;
  font: 750 14px 'iBEZA Manrope', Arial, sans-serif; text-decoration: none;
}
.search-actions a, .ad-contact-button { background: #315c39; color: #fff; }
.ad-contact-button { margin-top: 12px; }
.ad-chats-panel { max-width: 650px; }
.ad-chats-panel .top-panel-head h2 { margin-bottom: 5px; font-size: 21px; }
.ad-chat-push-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 8px; color: #2b4b2d; font-size: 13px; font-weight: 750; cursor: pointer; }
.ad-chat-push-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ad-chat-push-track { width: 48px; height: 27px; flex: none; border-radius: 99px;
  background: #aeb8a8; box-shadow: 0 0 0 1px #7f8d79 inset; transition: background .2s; }
.ad-chat-push-track::before { content: ''; display: block; width: 21px; height: 21px;
  margin: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 4px #24362255; transition: transform .2s; }
.ad-chat-push-row input:checked + .ad-chat-push-track { background: #3d8b47; }
.ad-chat-push-row input:checked + .ad-chat-push-track::before { transform: translateX(21px); }
.ad-chat-push-row input:focus-visible + .ad-chat-push-track { outline: 3px solid #e9b849; outline-offset: 3px; }
.ad-chat-push-row:has(input:disabled) { cursor: not-allowed; opacity: .68; }
#ad-chats-push-status, #taxi-push-status { white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-chats-panel #ad-chats-push-status:empty { display: none; }
.ad-chats-panel #ad-chats-push-status { margin: 0 0 8px; }
.ad-chats-panel #ad-chats-status { margin: 12px 0 0; font-size: 12px; }
.ad-chats-list { display: grid; gap: 9px; }
.ad-chat-card { border: 1px solid #a9c49d; border-radius: 16px; background: #f8fbf5;
  box-shadow: 0 3px 12px #47664216; overflow: hidden; }
.ad-chat-card.is-open { border-color: #64966a; box-shadow: 0 8px 24px #416f4350; }
.ad-chat-list-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 15px;
  height: 80px; box-sizing: border-box; overflow: hidden;
  border: 0; background: transparent; color: #2b4229; text-align: left; }
.ad-chat-list-copy { min-width: 0; flex: 1; }
.ad-chat-thumb { width: 54px; height: 54px; flex: none;
  border-radius: 10px; object-fit: cover; background: #e6ebdf; }
.my-chat-fallback { display: grid; place-items: center; color: #35633c; }
.my-chat-fallback svg { width: 34px; height: 34px; }
.my-chat-card { border-color: #76a77b; background: #eef7e9; }
.ad-chat-list-item strong, .ad-chat-list-item small { display: block; }
.ad-chat-list-item small { margin-top: 5px; color: #687663; }
.ad-chat-card.is-open .ad-chat-list-item small { display: none; }
.ad-chat-list-item strong, .ad-chat-list-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ad-chat-detail { padding: 12px 0 20px; }
.ad-chat-back { display: block; width: 100%; min-height: 32px; margin: 10px 0 0;
  padding: 4px 12px; border: 1px solid #a6c39d; border-radius: 999px;
  background: #e9f3e2; color: #315c39; font-size: 12px; font-weight: 800; }
.ad-chat-messages { display: grid; gap: 10px; max-height: none; overflow: visible; padding: 10px 0; }
.ad-chat-message { max-width: 88%; padding: 11px 14px; border-radius: 19px; background: #e5edde;
  color: #243622; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.6px; font-weight: 700; }
.ad-chat-message.mine { justify-self: end; background: #d5e8cb; }
.main-panel.ad-chats-view .conversation { max-width: 900px; min-height: 100%; padding: 8px 14px 35px; }
.main-panel.ad-chats-view .conversation > :not(#ad-chats-panel) { display: none !important; }
.main-panel.ad-chats-view #ad-chats-panel { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 2px 20px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.main-panel.ad-chats-view:not(.ad-chat-detail-view) .composer-area { display: none; }
.main-panel.ad-chats-view .composer-note { display: none; }
.ad-chats-panel.is-detail .ad-chat-push-row,
.ad-chats-panel.is-detail #ad-chats-push-status,
.ad-chats-panel.is-detail #ad-chats-status { display: none; }
.ad-chats-panel.is-detail .top-panel-head h2 { overflow-wrap: anywhere; }
.top-actions .chat-shortcut.has-unread {
  border-color: #d19c16; background: #ffe05a; color: #483500;
  animation: ibeza-chat-unread 1.15s ease-in-out infinite;
}
@keyframes ibeza-chat-unread {
  50% { background: #fff2a3; box-shadow: 0 0 0 5px #ffdb65aa, 0 0 18px #e4ad38; }
}
@media (prefers-reduced-motion: reduce) {
  .top-actions .chat-shortcut.has-unread { animation: none; }
}
.conversation .message:not(.welcome-message) .message-body,
.conversation .search-response .message-body {
  font-family: 'iBEZA Manrope', Arial, sans-serif;
  font-size: 15.6px;
  font-weight: 700;
}
.welcome-message .message-body > span:last-child {
  font-family: 'iBEZA Manrope', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.15;
}
.taxi-shift-times .taxi-time-group { display: grid; gap: 7px; color: #52644d; font-size: 12px; font-weight: 800; }
.taxi-time-selects { display: flex; align-items: center; gap: 4px; min-width: 0; }
.taxi-time-selects select {
  width: calc(50% - 9px);
  min-width: 0;
  min-height: 48px;
  padding: 9px 4px;
  border: 1px solid #b7cbb0;
  border-radius: 11px;
  background: #fff;
  color: #233d27;
  font: 700 17px -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  text-align: center;
}
.taxi-time-selects select:disabled { opacity: .65; }
.taxi-time-selects > span { font-size: 18px; }
.taxi-shift-save { margin-top: 13px; padding: 10px 14px; border: 0; border-radius: 11px; background: #315c39; color: #fff; font-weight: 750; }
.taxi-shift-save:disabled { opacity: .55; }
@media (max-width: 560px) {
  .top-chat-panel { padding: 20px 18px; border-radius: 23px; }
  .welcome-message .message-body { gap: 10px; padding: 20px 14px; }
  .welcome-icon { width: 60px; height: 60px; }
  .welcome-icon svg { width: 43px; height: 43px; }
  .welcome-message .message-body > span:last-child { font-size: clamp(19px, 5vw, 25px); }
}
@media (max-width: 370px) {
  .taxi-shift-times { grid-template-columns: 1fr; gap: 12px; }
  .taxi-time-selects select { width: 75px; }
  .welcome-message .message-body { padding: 17px 14px; }
  .welcome-icon { width: 58px; height: 58px; }
  .welcome-icon svg { width: 40px; height: 40px; }
  .welcome-message .message-body > span:last-child { font-size: 18px; }
}
.news-card .news-source{margin:0 0 10px;color:#355b36;font-weight:850}.news-card .news-photo{display:block;width:100%;max-height:270px;object-fit:cover;border-radius:11px;margin-bottom:10px}.news-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:#667460;font-size:12px}.news-footer a{color:#285d34;font-weight:800}.admin-news-settings{margin-top:14px;padding-top:10px;border-top:1px solid #d8e4d1}.admin-news-settings form{display:grid;gap:10px}.admin-news-settings label{display:grid;gap:5px;font-size:12px;font-weight:700}.admin-news-settings input:not([type=checkbox]){width:100%;padding:10px;border:1px solid #cbd4c3;border-radius:10px;background:#fff;font:inherit}.admin-news-settings .news-switch{display:flex;align-items:center;gap:10px}.admin-news-settings .news-switch input{width:22px;height:22px}.admin-news-settings p{margin:5px 0;color:#64705e;font-size:12px}
.news-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.news-card-head .news-source{margin:0}.news-card-head .news-close{flex:none;margin:0;border:1px solid #aac5a4;border-radius:10px;padding:7px 10px;background:#e8f2e2;color:#304b2c;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.admin-news-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.admin-news-actions button{min-height:44px;padding:9px 12px;border:1px solid #aac5a4;border-radius:12px;background:#e8f2e2;color:#304b2c;font:inherit;font-size:12px;font-weight:800}
.admin-news-actions button:last-child{background:#315b30;border-color:#315b30;color:#fff}
.admin-news-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:420px){.admin-news-actions{grid-template-columns:1fr}}
.admin-news-summary{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:#e7e9e3;color:#566051;font-size:11px;font-weight:800;vertical-align:middle}
.admin-news-summary.is-enabled{background:#d8edcf;color:#235c2d}
.admin-news-settings .news-switch input{appearance:none;flex:0 0 44px;width:44px;height:26px;margin:0;border:1px solid #a8b6a2;border-radius:999px;background:#c7d1c1;position:relative;cursor:pointer;transition:background .2s}
.admin-news-settings .news-switch input::before{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.admin-news-settings .news-switch input:checked{background:#2f713c;border-color:#2f713c}
.admin-news-settings .news-switch input:checked::before{transform:translateX(18px)}
.admin-news-settings .news-switch input:focus-visible{outline:3px solid #f0c848;outline-offset:2px}
.admin-news-settings .admin-news-applied{padding:9px 11px;border-radius:9px;background:#e9f3e4;color:#2e5b31;font-weight:750}
.pro-panel { margin-top: 18px; padding: 16px; border: 1px solid #98b493; border-radius: 20px; background: rgba(255,255,255,.65); color: #26452e; }
.send-button.is-pro { width: 46px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: #28643a; }
.send-button.is-pro .send-arrow { font-size: 20px; line-height: 22px; }
.send-button.is-pro .send-pro-label { font-size: 8px; line-height: 11px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.send-button.is-pro:hover { background: #347b49; }
.pro-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.pro-switch span { display: grid; gap: 6px; }
.pro-switch strong { font-size: 19px; }
.pro-switch small { font-size: 14px; line-height: 1.4; }
.pro-switch input { appearance: none; -webkit-appearance: none; position: relative; display: block; flex: none; width: 59px; height: 33px; margin: 0; border: 1px solid #a6b3a0; border-radius: 99px; background: #c8d3c3; box-shadow: 0 2px 4px #62705b33 inset; cursor: pointer; transition: background .2s; }
.pro-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #52634b55; transition: transform .2s; }
.pro-switch input:checked { background: #4b9e50; border-color: #438c49; }
.pro-switch input:checked::after { transform: translateX(26px); }
.pro-switch input:focus-visible { outline: 2px solid #345f34; outline-offset: 3px; }
.pro-switch input:disabled { opacity: .52; cursor: not-allowed; }
.pro-panel h3 { margin: 16px 0 6px; }
.pro-price-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 12px; }
.pro-price-table th,.pro-price-table td { border-bottom: 1px solid #c5d5c1; padding: 8px 4px; overflow-wrap: anywhere; }
#pro-history { max-height: 180px; overflow-y: auto; font-size: 13px; overflow-wrap: anywhere; }
#admin-ai-settings label { display: grid; gap: 5px; margin: 10px 0; }
#admin-ai-settings input { max-width: 100%; }
.pro-offer { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.pro-offer button,.pro-typing-tip button { border: 0; border-radius: 999px; padding: 8px 14px; background: #f5dc60; color: #21371f; font-weight: 700; box-shadow: 0 0 8px #f4d451; cursor: pointer; }
.pro-typing-tip { margin: 0 10px 8px; padding: 9px 12px; border-radius: 16px; background: #f5f4d3; color: #31533a; font-size: 13px; }
.is-phone-verified::after {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  margin-left: .4em;
  border-radius: 50%;
  background: #218c43;
  color: #fff;
  font-size: .8em;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}
