:root{--hyms-bg:#fff;--hyms-text:#111827;--hyms-muted:#64748b;--hyms-border:#e5e7eb;--hyms-soft:#f8fafc;--hyms-brand:#6d28d9}
.hyms-header-mail{position:fixed;top:14px;right:18px;z-index:9999;width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.92);color:#111827;display:flex;align-items:center;justify-content:center;text-decoration:none!important;box-shadow:0 12px 30px rgba(17,24,39,.14);border:1px solid rgba(17,24,39,.08);backdrop-filter:blur(10px)}
.admin-bar .hyms-header-mail{top:46px}
.hyms-header-mail .hyms-envelope{font-size:18px;line-height:1}
.hyms-header-mail em{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:999px;background:#b91c1c;color:#fff;font-size:10px;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;padding:0 4px}
.hyms-header-mail.has-unread{background:#111827;color:#fff;box-shadow:0 14px 36px rgba(185,28,28,.22)}
.hyms-account-shell{max-width:1180px;margin:0 auto;padding:10px}
.hyms-account-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.hyms-account-nav a{border:1px solid var(--hyms-border);border-radius:999px;padding:8px 12px;text-decoration:none;color:#111827;background:#fff;font-weight:800}
.hyms-account-nav a.is-active{background:#111827;color:#fff}
.hyms-app{--hyms-bg:#fff;--hyms-text:#111827;--hyms-muted:#64748b;display:grid;grid-template-columns:320px minmax(0,1fr);gap:12px;min-height:620px;color:var(--hyms-text)}
.hyms-theme-dark{--hyms-bg:#0f172a;--hyms-text:#f8fafc;--hyms-muted:#cbd5e1;--hyms-border:#334155;--hyms-soft:#111827}
@media(prefers-color-scheme:dark){.hyms-theme-auto{--hyms-bg:#0f172a;--hyms-text:#f8fafc;--hyms-muted:#cbd5e1;--hyms-border:#334155;--hyms-soft:#111827}}
.hyms-sidebar,.hyms-chat,.hyms-settings,.hyms-safety-panel{background:var(--hyms-bg);border:1px solid var(--hyms-border);border-radius:24px;box-shadow:0 18px 48px rgba(17,24,39,.07);overflow:hidden}
.hyms-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--hyms-border)}
.hyms-head h2{margin:0;font-size:20px}.hyms-head span{background:#111827;color:#fff;border-radius:999px;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-weight:900}
.hyms-conv-list{display:grid;gap:4px;padding:8px;max-height:560px;overflow:auto}
.hyms-conv-item{border:0;background:transparent;border-radius:16px;padding:10px;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer;color:var(--hyms-text)}
.hyms-conv-item:hover,.hyms-conv-item.is-active{background:var(--hyms-soft)}
.hyms-conv-avatar img{border-radius:14px}.hyms-conv-main strong{display:block}.hyms-conv-main small{display:block;color:var(--hyms-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hyms-conv-item em{background:#b91c1c;color:#fff;border-radius:999px;min-width:20px;height:20px;font-size:11px;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center}
.hyms-chat{display:flex;min-width:0}.hyms-chat-empty{margin:auto;color:var(--hyms-muted);font-weight:800}.hyms-chat-inner{display:grid;grid-template-rows:auto 1fr auto;min-height:620px;width:100%}
.hyms-chat-header{display:flex;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--hyms-border)}.hyms-chat-header img{border-radius:14px}.hyms-chat-header strong{display:block}.hyms-chat-header small{color:var(--hyms-muted)}
.hyms-messages{padding:16px;overflow:auto;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,rgba(109,40,217,.03),transparent)}
.hyms-message{max-width:min(78%,620px);border-radius:18px;padding:10px 12px;background:var(--hyms-soft);color:var(--hyms-text)}
.hyms-message.is-me{align-self:flex-end;background:#111827;color:#fff}.hyms-message p{margin:0;white-space:pre-wrap}.hyms-message time{display:block;font-size:10px;opacity:.65;margin-top:4px}.hyms-warning{display:block;color:#b91c1c;background:#fee2e2;border-radius:10px;padding:5px 7px;margin-top:6px;font-size:11px}
.hyms-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid var(--hyms-border)}.hyms-compose textarea{resize:none;border:1px solid var(--hyms-border);border-radius:16px;padding:10px;background:var(--hyms-bg);color:var(--hyms-text)}.hyms-compose button,.hyms-settings button{border:0;border-radius:16px;background:#111827;color:#fff;padding:0 16px;font-weight:900;cursor:pointer}
.hyms-settings,.hyms-safety-panel{padding:18px}.hyms-settings form{display:grid;gap:12px}.hyms-settings label{display:block;color:var(--hyms-text)}.hyms-settings select{max-width:220px}.hyms-safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hyms-safety-grid div{background:var(--hyms-soft);border-radius:18px;padding:14px}.hyms-safety-grid span{display:block;color:var(--hyms-muted)}.hyms-safety-grid strong{font-size:28px}
.hyms-service-message-cta{max-width:1180px;margin:14px auto;text-align:center}.hyms-box,.hyms-empty{padding:14px;color:var(--hyms-muted)}
@media(max-width:820px){.hyms-app{grid-template-columns:1fr;min-height:auto}.hyms-chat-inner{min-height:520px}.hyms-header-mail{top:10px;right:10px;width:36px;height:36px}.admin-bar .hyms-header-mail{top:56px}.hyms-message{max-width:90%}}


/* v0.1.1-safe — overlay chat and inline header icon */
html.hyms-overlay-open{overflow:hidden}
.hyms-header-mail.is-inline{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  width:32px!important;
  height:32px!important;
  margin-left:6px!important;
  display:inline-flex!important;
  vertical-align:middle!important;
  box-shadow:0 8px 18px rgba(17,24,39,.10)!important;
  transform:none!important;
}
.admin-bar .hyms-header-mail.is-inline{top:auto!important}
.hyms-overlay[hidden]{display:none!important}
.hyms-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
}
.hyms-overlay-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.58);
  backdrop-filter:blur(5px);
}
.hyms-overlay-panel{
  position:absolute;
  right:18px;
  top:18px;
  bottom:18px;
  width:min(1040px,calc(100vw - 36px));
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 28px 90px rgba(0,0,0,.28);
}
.admin-bar .hyms-overlay-panel{top:50px}
.hyms-overlay-panel .hyms-app{
  min-height:100%;
  height:100%;
  border-radius:0;
}
.hyms-overlay-panel .hyms-sidebar,
.hyms-overlay-panel .hyms-chat{
  border-radius:0;
  box-shadow:none;
  border-top:0;
  border-bottom:0;
}
.hyms-overlay-panel .hyms-chat-inner{min-height:100%;height:100%}
.hyms-overlay-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:5;
  width:34px;
  height:34px;
  border-radius:999px;
  border:0;
  background:#111827;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(17,24,39,.18);
}
.hyms-message-open{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:40px!important;
  border-radius:15px!important;
  border:1px solid rgba(109,40,217,.18)!important;
  background:#6d28d9!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:950!important;
  cursor:pointer!important;
  box-shadow:0 12px 28px rgba(109,40,217,.16)!important;
}
.hyms-message-open:hover{filter:brightness(.96)}
@media(max-width:820px){
  .hyms-overlay-panel{
    inset:8px;
    width:auto;
    border-radius:22px;
  }
  .admin-bar .hyms-overlay-panel{top:54px}
  .hyms-overlay-panel .hyms-app{grid-template-columns:1fr}
}


/* v0.1.2-safe — mobile header positioning between language and profile */
.hyms-header-mail.is-inline.is-mobile-header{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  margin:0 6px!important;
  flex:0 0 auto!important;
  align-self:center!important;
  order:50!important;
  transform:none!important;
}
@media(max-width:820px){
  .hyms-header-mail:not(.is-inline){
    top:10px!important;
    right:56px!important;
  }
  .hyms-header-mail.is-inline{
    display:inline-flex!important;
    vertical-align:middle!important;
  }
  .hyms-header-mail.is-inline + a,
  .hyms-header-mail.is-inline + button{
    margin-left:0!important;
  }
}


/* v0.1.3-safe — icon strictly between account/profile and language switcher */
.hyms-header-mail.is-between-account-lang{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  margin:0 6px!important;
  flex:0 0 auto!important;
  align-self:center!important;
  transform:none!important;
}
@media(max-width:820px){
  .hyms-header-mail.is-between-account-lang{
    margin:0 5px!important;
    order:50!important;
  }
}


/* v0.1.4-safe — theme header slot support + external link moderation */
.hy-message-slot .hyms-header-mail{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  margin:0!important;
  box-shadow:0 8px 18px rgba(17,24,39,.10)!important;
  transform:none!important;
  z-index:auto!important;
}
.hy-message-slot .hyms-header-mail .hyms-envelope{font-size:16px}




/* v0.1.7-safe — header action slot only */
.hy-header-actions .hyms-header-mail,
.hy-message-slot .hyms-header-mail{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  margin:0!important;
  display:inline-flex!important;
  box-shadow:0 8px 18px rgba(17,24,39,.10)!important;
  transform:none!important;
  backdrop-filter:none!important;
}
.hy-header-actions .hyms-header-mail .hyms-envelope,
.hy-message-slot .hyms-header-mail .hyms-envelope{
  font-size:16px!important;
}


/* v0.3.0-safe — premium inbox, context card, safety tools, quick replies */
.hyms-app-v030 .hyms-head small{display:block;color:var(--hyms-muted);font-size:12px;margin-top:2px}
.hyms-app-v030 .hyms-conv-item{
  grid-template-columns:42px minmax(0,1fr) auto;
  border:1px solid transparent;
}
.hyms-app-v030 .hyms-conv-item.has-unread{
  border-color:rgba(109,40,217,.18);
  background:rgba(109,40,217,.05);
}
.hyms-app-v030 .hyms-conv-main b{
  display:block;
  color:var(--hyms-text);
  font-size:12px;
  line-height:1.2;
  margin-top:1px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hyms-conv-side{
  display:grid;
  gap:4px;
  justify-items:end;
  align-items:center;
}
.hyms-conv-side time{
  font-size:10px;
  color:var(--hyms-muted);
  white-space:nowrap;
}
.hyms-service-context{
  margin:12px;
  border:1px solid rgba(109,40,217,.16);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(109,40,217,.08),rgba(255,255,255,.92));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding:12px;
  align-items:center;
}
.hyms-service-context span{
  display:block;
  color:#6d28d9;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.hyms-service-context strong{
  display:block;
  color:var(--hyms-text);
  font-size:15px;
  line-height:1.2;
}
.hyms-service-context small{
  display:block;
  color:var(--hyms-muted);
  margin-top:3px;
}
.hyms-service-context em{
  display:block;
  color:#92400e;
  background:#fef3c7;
  border-radius:10px;
  padding:5px 7px;
  font-style:normal;
  font-size:11px;
  margin-top:7px;
}
.hyms-service-context nav{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.hyms-service-context nav a{
  text-decoration:none;
  border-radius:999px;
  background:#111827;
  color:#fff;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
}
.hyms-safety-note{
  margin:0 12px 8px;
  border-radius:14px;
  background:#f8fafc;
  color:#64748b;
  padding:8px 10px;
  font-size:12px;
  border:1px solid var(--hyms-border);
}
.hyms-chat-tools{
  margin-left:auto;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.hyms-chat-tools button{
  border:1px solid var(--hyms-border);
  background:var(--hyms-soft);
  color:var(--hyms-text);
  border-radius:999px;
  padding:6px 9px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hyms-quick-replies{
  display:flex;
  gap:6px;
  overflow:auto;
  padding:8px 12px 0;
  scrollbar-width:none;
}
.hyms-quick-replies button{
  white-space:nowrap;
  border:1px solid rgba(109,40,217,.18);
  background:rgba(109,40,217,.07);
  color:#4c1d95;
  border-radius:999px;
  padding:7px 9px;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.hyms-compose-disabled{
  margin:12px;
  border-radius:16px;
  padding:12px;
  background:#fee2e2;
  color:#991b1b;
  font-weight:900;
  text-align:center;
}
.hyms-push-panel{
  border:1px solid var(--hyms-border);
  background:var(--hyms-soft);
  border-radius:18px;
  padding:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.hyms-push-panel small{
  display:block;
  flex-basis:100%;
  color:var(--hyms-muted);
}
.hyms-btn-secondary{
  background:#fff!important;
  color:#111827!important;
  border:1px solid var(--hyms-border)!important;
}
@media(max-width:820px){
  .hyms-service-context{grid-template-columns:1fr}
  .hyms-service-context nav{justify-content:flex-start}
  .hyms-chat-tools{width:100%;margin-left:0}
  .hyms-chat-header{align-items:flex-start;flex-wrap:wrap}
}


/* v0.3.1-safe — stable SVG envelope icon */
.hyms-message-svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  color:currentColor!important;
  pointer-events:none!important;
}
.hyms-message-open.hya-message-icon-btn::before,
.hyms-message-open:has(.hyms-message-svg)::before{
  content:none!important;
  display:none!important;
}
.hyms-message-open.hya-message-icon-btn{
  width:100%;
}
.hyms-message-open.hya-message-text-btn .hyms-message-svg{
  margin-right:7px;
}


/* v0.3.2-safe — prevent duplicate envelope icons */
.hyms-message-open::before,
.hyms-message-open.hya-message-icon-btn::before,
.hyms-message-open.hya-message-text-btn::before,
.hyms-message-open:has(.hyms-message-svg)::before,
.hyms-message-open:has(.hya-message-svg)::before{
  content:none!important;
  display:none!important;
}
.hyms-message-svg,
.hya-message-svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
}
.hyms-message-open.hya-message-text-btn span{
  display:inline-block!important;
}


/* v0.3.3-safe — visible notification center */
.hyms-notifications{
  background:var(--hyms-bg);
  border:1px solid var(--hyms-border);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(17,24,39,.07);
  overflow:hidden;
}
.hyms-notifications-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:16px 18px;
  border-bottom:1px solid var(--hyms-border);
}
.hyms-notifications-head h2{margin:0;font-size:22px}
.hyms-notifications-head p{margin:4px 0 0;color:var(--hyms-muted)}
.hyms-notifications-actions{
  display:flex;
  gap:8px;
  align-items:center;
}
.hyms-notifications-actions span,
.hyms-notifications-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  border-radius:999px;
  background:#b91c1c;
  color:#fff;
  font-size:11px;
  font-weight:950;
  padding:0 6px;
  margin-left:6px;
}
.hyms-notifications-actions button{
  border:0;
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.hyms-notifications-list{display:grid;gap:8px;padding:12px}
.hyms-notification-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border:1px solid var(--hyms-border);
  background:var(--hyms-bg);
  border-radius:18px;
  padding:11px;
}
.hyms-notification-item.is-unread{
  border-color:rgba(109,40,217,.28);
  background:rgba(109,40,217,.055);
}
.hyms-notification-type{
  border-radius:999px;
  background:rgba(109,40,217,.10);
  color:#4c1d95;
  font-size:11px;
  font-weight:950;
  padding:5px 8px;
}
.hyms-notification-item strong{display:block;color:var(--hyms-text)}
.hyms-notification-item p{margin:3px 0;color:var(--hyms-muted)}
.hyms-notification-item small{color:var(--hyms-muted);font-size:11px}
.hyms-notification-item a{
  border-radius:999px;
  background:#111827;
  color:#fff;
  padding:7px 10px;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}
@media(max-width:680px){
  .hyms-notifications-head{display:grid}
  .hyms-notification-item{grid-template-columns:1fr}
}


/* v0.4.0-safe — Client help requests / urgent matching */
.hyms-request-help,
.hyms-request-list,
.hyms-provider-requests{
  background:var(--hyms-bg);
  border:1px solid var(--hyms-border);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(17,24,39,.07);
  padding:18px;
}
.hyms-request-help header span{
  display:inline-flex;
  border-radius:999px;
  background:#fee2e2;
  color:#991b1b;
  font-size:12px;
  font-weight:950;
  padding:5px 9px;
}
.hyms-request-help header h2{
  margin:10px 0 5px;
  font-size:24px;
  line-height:1.15;
}
.hyms-request-help header p{color:var(--hyms-muted);margin:0 0 16px}
.hyms-request-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.hyms-request-grid label{
  display:grid;
  gap:6px;
  font-weight:850;
}
.hyms-request-grid input,
.hyms-request-grid select,
.hyms-request-grid textarea{
  width:100%;
  border:1px solid var(--hyms-border);
  background:var(--hyms-bg);
  color:var(--hyms-text);
  border-radius:14px;
  padding:10px 11px;
  box-sizing:border-box;
}
.hyms-request-wide{grid-column:1/-1}
.hyms-request-check{
  display:flex!important;
  grid-template-columns:auto 1fr!important;
  align-items:flex-start;
  gap:8px!important;
  background:var(--hyms-soft);
  border:1px solid var(--hyms-border);
  border-radius:16px;
  padding:10px;
}
.hyms-request-check input{width:auto!important;margin-top:3px}
.hyms-request-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.hyms-request-actions button,
.hyms-request-card-actions button,
.hyms-request-card form button{
  border:0;
  border-radius:999px;
  background:#111827;
  color:#fff;
  padding:10px 13px;
  font-weight:950;
  cursor:pointer;
}
.hyms-request-actions [data-hyms-detect-location]{
  background:#fff;
  color:#111827;
  border:1px solid var(--hyms-border);
}
.hyms-request-status{
  margin:10px 0 0;
  color:var(--hyms-muted);
  font-weight:850;
}
.hyms-request-list h2,
.hyms-provider-requests h2{
  margin:0 0 12px;
}
.hyms-request-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  border:1px solid var(--hyms-border);
  border-radius:18px;
  padding:13px;
  margin:8px 0;
  background:var(--hyms-bg);
}
.hyms-request-card span{
  display:inline-flex;
  border-radius:999px;
  background:rgba(109,40,217,.10);
  color:#4c1d95;
  font-size:11px;
  font-weight:950;
  padding:4px 8px;
}
.hyms-request-card h3{
  margin:6px 0 4px;
  font-size:17px;
}
.hyms-request-card p{
  margin:0 0 5px;
  color:var(--hyms-muted);
}
.hyms-request-card small{
  color:var(--hyms-muted);
  font-weight:800;
}
.hyms-request-card-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.hyms-request-card-actions [data-hyms-decline-request]{
  background:#fff;
  color:#111827;
  border:1px solid var(--hyms-border);
}
@media(max-width:760px){
  .hyms-request-grid{grid-template-columns:1fr}
  .hyms-request-card{grid-template-columns:1fr}
  .hyms-request-card-actions{justify-content:flex-start}
}


/* v0.4.1-safe — Provider area alert bell */
.hyms-alert-bell{
  position:relative;
  width:34px;
  height:34px;
  min-width:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f3f4f6;
  color:#6b7280;
  border:1px solid rgba(17,24,39,.08);
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(17,24,39,.08);
}
.hyms-alert-bell.has-alerts{
  background:#991b1b;
  color:#fff;
  box-shadow:0 14px 30px rgba(153,27,27,.22);
}
.hyms-alert-bell em{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:18px;
  height:18px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-style:normal;
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 4px;
}
.hyms-alerts-lead{
  color:var(--hyms-muted);
  margin-top:-4px;
}
.hyms-alert-card.is-urgent{
  border-color:rgba(153,27,27,.28);
  background:linear-gradient(135deg,rgba(254,226,226,.85),var(--hyms-bg));
}
.hyms-alert-card.is-urgent span{
  background:#991b1b;
  color:#fff;
}
.hy-header-actions .hyms-alert-bell{
  flex:0 0 34px;
}


/* v0.4.2-safe — auto location fill feedback */
[data-hyms-detect-location]:disabled{
  opacity:.65;
  cursor:wait;
}
.hyms-request-status{
  min-height:18px;
}











/* v0.4.6-safe — notification sounds + cleaner mobile internal navigation */
.hyms-sound-settings{
  border:1px solid var(--hyms-border);
  background:var(--hyms-soft);
  border-radius:18px;
  padding:12px;
  display:grid;
  gap:10px;
}
.hyms-sound-settings legend{
  font-weight:950;
  padding:0 6px;
}
.hyms-sound-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.hyms-sound-option{
  display:grid!important;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:7px!important;
  border:1px solid var(--hyms-border);
  background:var(--hyms-bg);
  border-radius:14px;
  padding:8px;
  font-weight:850;
}
.hyms-sound-option button{
  border:0;
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:6px 8px;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hyms-push-panel small{
  font-size:12px;
  line-height:1.35;
}

/* internal nav only; header and Account sidebar untouched */
.hyms-account-shell .hyms-account-tabs{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 2px 7px!important;
  margin:0 auto 12px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
.hyms-account-shell .hyms-account-tabs::-webkit-scrollbar{display:none!important}
.hyms-account-shell .hyms-account-tabs a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  padding:5px 8px!important;
  min-height:26px!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:850!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  border:1px solid rgba(17,24,39,.10)!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:0 5px 12px rgba(17,24,39,.035)!important;
}
.hyms-account-shell .hyms-account-tabs a.is-active{
  background:#111827!important;
  color:#fff!important;
  border-color:#111827!important;
}
.hyms-account-shell .hyms-account-tabs .hyms-alert-bell,
.hyms-account-shell .hyms-account-tabs .hyms-notifications-badge,
.hyms-account-shell .hyms-account-tabs [data-hyms-alert-count],
.hyms-account-shell .hyms-account-tabs [data-hyms-notifications-count]{
  display:none!important;
}
@media(max-width:760px){
  .hyms-sound-options{
    grid-template-columns:1fr;
  }
  .hyms-account-shell .hyms-account-tabs{
    justify-content:flex-start!important;
    gap:0!important;
    padding:4px!important;
    border:1px solid rgba(17,24,39,.08)!important;
    border-radius:18px!important;
    background:#f8fafc!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)!important;
  }
  .hyms-account-shell .hyms-account-tabs a{
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    border-radius:14px!important;
    font-size:10px!important;
    padding:7px 9px!important;
    min-height:30px!important;
  }
  .hyms-account-shell .hyms-account-tabs a.is-active{
    background:#111827!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(17,24,39,.12)!important;
  }
}


/* v0.4.7-safe — urgent/request shell navigation is request-only */
.hyms-account-shell .hyms-account-nav a[href*="messages"],
.hyms-account-shell .hyms-account-nav a[href*="notifications"],
.hyms-account-shell .hyms-account-nav a[href*="notification-settings"],
.hyms-account-shell .hyms-account-nav a[href*="safety"]{
  display:none!important;
}


/* v0.4.8-safe — branded HY notification sounds */
.hyms-sound-option:first-of-type{
  border-color:rgba(109,40,217,.24);
  background:linear-gradient(135deg,rgba(109,40,217,.06),var(--hyms-bg));
}


/* v0.4.9-safe — optional voice notification sounds */
.hyms-sound-option input[value="voice_hi"] + span,
.hyms-sound-option input[value="voice_help"] + span{
  font-weight:950;
}


/* v0.4.10-safe — request order lifecycle */
.hyms-request-card-stacked{
  align-items:stretch;
}
.hyms-request-matches{
  grid-column:1/-1;
  display:grid;
  gap:8px;
  border-top:1px solid var(--hyms-border);
  padding-top:10px;
  margin-top:2px;
}
.hyms-request-matches > strong{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--hyms-muted);
}
.hyms-request-match-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  border:1px solid var(--hyms-border);
  background:var(--hyms-soft);
  border-radius:16px;
  padding:9px;
}
.hyms-request-match-row b{
  display:block;
  color:var(--hyms-text);
}
.hyms-request-match-row small{
  color:var(--hyms-muted);
  font-weight:850;
}
@media(max-width:680px){
  .hyms-request-match-row{
    grid-template-columns:1fr;
  }
}


/* v0.4.11-safe — professional cancellation action */
.hyms-request-card-actions .hyms-btn-cancel,
.hyms-btn-cancel{
  background:#fff!important;
  color:#991b1b!important;
  border:1px solid rgba(153,27,27,.22)!important;
}
.hyms-request-card-actions .hyms-btn-cancel:hover,
.hyms-btn-cancel:hover{
  background:#fef2f2!important;
}


/* v0.4.12-safe — cancellation request/response/force flow */
.hyms-request-card-actions .hyms-btn-cancel,
.hyms-btn-cancel{
  background:#fff!important;
  color:#991b1b!important;
  border:1px solid rgba(153,27,27,.22)!important;
}
.hyms-btn-cancel-accept{
  background:#166534!important;
  color:#fff!important;
  border:1px solid rgba(22,101,52,.22)!important;
}
.hyms-btn-cancel-reject{
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.18)!important;
}
.hyms-btn-force-cancel{
  background:#991b1b!important;
  color:#fff!important;
  border:1px solid rgba(153,27,27,.22)!important;
}
.hyms-public-incidents{
  margin-top:14px;
  border:1px solid rgba(153,27,27,.16);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(254,226,226,.62),#fff);
  padding:13px;
}
.hyms-public-incidents h3{
  margin:0 0 9px;
  font-size:16px;
}
.hyms-public-incident{
  border-top:1px solid rgba(153,27,27,.10);
  padding:9px 0 0;
  margin-top:9px;
}
.hyms-public-incident strong{
  color:#991b1b;
}
.hyms-public-incident p{
  margin:5px 0;
  color:#334155;
}
.hyms-public-incident small{
  color:#64748b;
  font-weight:850;
}


/* v0.4.13-safe — stabilize mobile chat composer */
.hyms-compose textarea{
  min-height:44px;
  touch-action:manipulation;
}
.hyms-compose.is-typing,
.hyms-chat.is-typing{
  scroll-behavior:auto;
}


/* v0.4.14-safe — stabilize mobile message composer */
[data-hyms-compose] textarea[name="message"]{
  -webkit-user-select:text;
  user-select:text;
  touch-action:manipulation;
}
.hyms-overlay-open [data-hyms-chat]{
  overscroll-behavior:contain;
}


/* v0.4.15-safe — compact chat context and temporary safety note */
.hyms-service-context.hyms-service-context-compact{
  margin:7px 10px 6px!important;
  padding:0!important;
  display:block!important;
  border-radius:14px!important;
  overflow:hidden;
}
.hyms-service-context-compact summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  padding:7px 9px;
}
.hyms-service-context-compact summary::-webkit-details-marker{display:none}
.hyms-service-context-compact summary span{
  font-size:10px!important;
  letter-spacing:.03em;
}
.hyms-service-context-compact summary strong{
  font-size:12px!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hyms-service-context-compact summary small{
  color:#6d28d9;
  font-size:10px;
  font-weight:950;
}
.hyms-service-context-compact summary small::after{
  content:" ▾";
}
.hyms-service-context-compact[open] summary small::after{
  content:" ▴";
}
.hyms-service-context-body{
  border-top:1px solid rgba(109,40,217,.12);
  padding:8px 9px 9px;
}
.hyms-service-context-body nav{
  margin-top:7px;
  justify-content:flex-start!important;
}
.hyms-safety-note[data-hyms-safety-note]{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 10px 6px!important;
  padding:6px 8px!important;
  font-size:11px!important;
  line-height:1.25;
  opacity:1;
  transition:opacity .22s ease, transform .22s ease;
}
.hyms-safety-note[data-hyms-safety-note].is-hiding{
  opacity:0;
  transform:translateY(-4px);
}
.hyms-safety-note[data-hyms-safety-note] button{
  flex:0 0 auto;
  border:0;
  background:transparent;
  color:#64748b;
  font-size:17px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  padding:0 2px;
}
@media(max-width:820px){
  .hyms-chat-inner{
    min-height:calc(100dvh - 120px)!important;
    grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
  }
  .hyms-service-context.hyms-service-context-compact{
    margin:5px 8px 4px!important;
    border-radius:12px!important;
  }
  .hyms-service-context-compact summary{
    padding:6px 8px;
  }
  .hyms-safety-note[data-hyms-safety-note]{
    margin:0 8px 4px!important;
    padding:5px 7px!important;
    font-size:10.5px!important;
  }
  .hyms-messages{
    padding:10px!important;
  }
}


/* v0.4.16-safe — chat tools alignment + trusted user private marker */
.hyms-chat-tools{
  justify-content:flex-end!important;
  align-items:center!important;
}
.hyms-chat-tools .hyms-trust-btn{
  border:1px solid rgba(22,101,52,.24)!important;
  background:#fff!important;
  color:#166534!important;
}
.hyms-chat-tools .hyms-trust-btn span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:999px;
  margin-right:4px;
  background:rgba(22,101,52,.08);
  color:#166534;
  font-weight:950;
}
.hyms-chat-tools .hyms-trust-btn.is-trusted{
  background:rgba(22,101,52,.10)!important;
  border-color:rgba(22,101,52,.42)!important;
  box-shadow:0 0 0 1px rgba(22,101,52,.08) inset!important;
}
.hyms-chat-tools .hyms-trust-btn.is-trusted span{
  background:#166534;
  color:#fff;
}
@media(max-width:820px){
  .hyms-app{
    gap:0!important;
  }
  .hyms-sidebar{
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
    border-bottom:0!important;
  }
  .hyms-chat{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    border-top:0!important;
  }
  .hyms-chat-header{
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    border-top:0!important;
  }
  .hyms-chat-header > div:nth-child(2){
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .hyms-chat-tools{
    width:100%!important;
    margin-left:0!important;
    display:flex!important;
    justify-content:flex-end!important;
    gap:6px!important;
    padding:8px 12px 7px!important;
    border-top:1px solid var(--hyms-border)!important;
    order:10!important;
  }
  .hyms-chat-tools button{
    padding:6px 8px!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .hyms-chat-header{
    padding-bottom:0!important;
  }
}


/* v0.4.17-safe — mobile-only chat toolbar/back refinements */
.hyms-chat-back{
  display:none!important;
}

@media(max-width:820px){
  /* Mobile only: remove visual break between conversation list and chat area */
  .hyms-app{
    gap:0!important;
  }
  .hyms-sidebar{
    border-bottom-left-radius:0!important;
    border-bottom-right-radius:0!important;
    border-bottom:0!important;
  }
  .hyms-chat{
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    border-top:0!important;
  }

  /* Mobile only: visible back arrow to conversations */
  .hyms-chat-back{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border:1px solid var(--hyms-border)!important;
    border-radius:999px!important;
    background:var(--hyms-soft)!important;
    color:var(--hyms-text)!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:800!important;
    padding:0 0 3px!important;
    cursor:pointer!important;
  }

  /* Mobile only: keep identity row compact, actions aligned right below it */
  .hyms-chat-header{
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    border-top:0!important;
    padding:10px 12px 0!important;
  }
  .hyms-chat-header > div:nth-child(3){
    min-width:0!important;
    flex:1 1 auto!important;
  }
  .hyms-chat-tools{
    width:100%!important;
    margin-left:0!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:6px!important;
    padding:8px 0 8px!important;
    border-top:1px solid var(--hyms-border)!important;
    order:10!important;
  }
  .hyms-chat-tools button{
    padding:6px 8px!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}


/* v0.4.18-safe — mobile real two-screen inbox/chat */
@media(max-width:820px){
  .hyms-app{
    display:block!important;
    min-height:calc(100dvh - 90px)!important;
  }

  .hyms-app .hyms-sidebar,
  .hyms-app .hyms-chat{
    width:100%!important;
    max-width:100%!important;
  }

  /* Default mobile state: inbox visible, chat hidden */
  .hyms-app:not(.hyms-mobile-chat-open) .hyms-sidebar{
    display:block!important;
    border-radius:24px!important;
    border:1px solid var(--hyms-border)!important;
  }
  .hyms-app:not(.hyms-mobile-chat-open) .hyms-chat{
    display:none!important;
  }

  /* Open conversation state: chat visible, inbox fully hidden */
  .hyms-app.hyms-mobile-chat-open .hyms-sidebar{
    display:none!important;
  }
  .hyms-app.hyms-mobile-chat-open .hyms-chat{
    display:flex!important;
    border-radius:24px!important;
    border:1px solid var(--hyms-border)!important;
  }

  .hyms-app.hyms-mobile-chat-open .hyms-chat-inner{
    min-height:calc(100dvh - 110px)!important;
  }
}


/* v0.4.19-safe — mobile dark two-screen + composer visible */
@media(max-width:820px){
  .hyms-overlay-panel{
    background:#0f172a!important;
  }
  .hyms-overlay-panel .hyms-app{
    background:#0f172a!important;
    min-height:100%!important;
    height:100%!important;
    overflow:hidden!important;
  }

  /* Inbox screen: full dark card, no white lower panel */
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-sidebar{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    background:#0f172a!important;
    color:#f8fafc!important;
    border:0!important;
    border-radius:24px!important;
  }
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-chat{
    display:none!important;
  }
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list{
    flex:1 1 auto!important;
    max-height:none!important;
    background:#0f172a!important;
  }

  /* Chat screen: full dark card with composer at bottom */
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-sidebar{
    display:none!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-chat{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    background:#0f172a!important;
    color:#f8fafc!important;
    border:0!important;
    border-radius:24px!important;
    overflow:hidden!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-chat-inner{
    display:grid!important;
    grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    max-height:calc(100dvh - 38px)!important;
    background:#0f172a!important;
    color:#f8fafc!important;
    overflow:hidden!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-messages{
    min-height:0!important;
    overflow:auto!important;
    background:#0f172a!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-compose{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    flex:0 0 auto!important;
    background:#0f172a!important;
    border-top:1px solid rgba(255,255,255,.10)!important;
    padding:10px!important;
    padding-bottom:max(10px, env(safe-area-inset-bottom))!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-compose textarea{
    min-height:42px!important;
    max-height:96px!important;
    background:#111827!important;
    color:#f8fafc!important;
    border-color:rgba(255,255,255,.16)!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-compose button{
    min-height:42px!important;
    background:#6d28d9!important;
    color:#fff!important;
  }

  /* Remove bright seams on top corners */
  .hyms-overlay-panel .hyms-head,
  .hyms-overlay-panel .hyms-chat-header{
    background:#0f172a!important;
    color:#f8fafc!important;
    border-color:rgba(255,255,255,.10)!important;
  }
}


/* v0.4.20-safe — mobile inbox starts at top and conversation list scrolls */
@media(max-width:820px){
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-sidebar{
    justify-content:flex-start!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }

  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-head{
    flex:0 0 auto!important;
  }

  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list{
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    align-content:start!important;
    justify-content:flex-start!important;
    padding:8px!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-item{
    width:100%!important;
    margin:0 0 4px!important;
  }

  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list:empty::before{
    content:"Nu ai conversații încă.";
    display:block;
    padding:14px;
    color:var(--hyms-muted);
    font-weight:800;
  }
}


/* v0.4.21-safe — profanity whitelist request */
.hyms-warning button[data-hyms-word-whitelist]{
  margin-left:6px;
  border:1px solid rgba(109,40,217,.22);
  border-radius:999px;
  background:#fff;
  color:#6d28d9;
  font-size:10px;
  font-weight:950;
  padding:3px 7px;
  cursor:pointer;
}
.hyms-warning button[data-hyms-word-whitelist]:disabled{
  opacity:.55;
  cursor:wait;
}
.hyms-message.is-me .hyms-warning button[data-hyms-word-whitelist]{
  background:rgba(255,255,255,.96);
}


/* v0.5.0-safe — service request lifecycle */
.hyms-service-request-open,
.hya-request-service-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  border-radius:15px!important;
  border:1px solid rgba(22,101,52,.22)!important;
  background:#166534!important;
  color:#fff!important;
  font-weight:950!important;
  padding:9px 14px!important;
  cursor:pointer!important;
}
.hyms-sr-card{
  margin:8px 10px;
  border:1px solid rgba(22,101,52,.22);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(22,101,52,.10),rgba(109,40,217,.06));
  padding:10px;
  color:var(--hyms-text);
}
.hyms-sr-card-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.hyms-sr-card span{
  display:block;
  font-size:10px;
  font-weight:950;
  color:var(--hyms-muted);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.hyms-sr-card strong{
  display:block;
  font-size:14px;
}
.hyms-sr-card small{
  display:block;
  color:var(--hyms-muted);
  font-weight:850;
}
.hyms-sr-card p{
  margin:7px 0;
  font-size:12px;
  color:var(--hyms-muted);
}
.hyms-sr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}
.hyms-sr-actions button{
  border:0;
  border-radius:999px;
  background:#166534;
  color:#fff;
  font-size:11px;
  font-weight:950;
  padding:7px 9px;
  cursor:pointer;
}
.hyms-sr-actions button.is-muted{
  background:#fff;
  color:#991b1b;
  border:1px solid rgba(153,27,27,.22);
}
@media(max-width:820px){
  .hyms-sr-card{
    margin:6px 8px;
    padding:8px;
    border-radius:14px;
  }
  .hyms-sr-actions{
    justify-content:flex-start;
  }
  .hyms-sr-actions button{
    font-size:10.5px;
    padding:6px 8px;
  }
}


/* v0.5.1-safe — service request account lists */
.hyms-sr-list{
  display:grid;
  gap:12px;
}
.hyms-sr-list-head h3{
  margin:0 0 5px;
}
.hyms-sr-list-head p{
  margin:0;
  color:var(--hyms-muted,#64748b);
}
.hyms-sr-empty{
  border:1px dashed rgba(17,24,39,.14);
  border-radius:18px;
  padding:14px;
  color:var(--hyms-muted,#64748b);
  font-weight:850;
}
.hyms-sr-list-grid{
  display:grid;
  gap:10px;
}
.hyms-sr-list-card{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  border:1px solid rgba(17,24,39,.09);
  border-radius:18px;
  background:#fff;
  padding:12px;
}
.hyms-sr-list-card span{
  display:block;
  font-size:11px;
  font-weight:950;
  color:#166534;
}
.hyms-sr-list-card strong{
  display:block;
  color:#111827;
}
.hyms-sr-list-card small{
  display:block;
  color:#64748b;
  font-weight:800;
}
.hyms-sr-open-chat{
  flex:0 0 auto;
  border-radius:999px;
  background:#111827;
  color:#fff!important;
  padding:8px 11px;
  text-decoration:none;
  font-weight:950;
  font-size:12px;
}
@media(max-width:760px){
  .hyms-sr-list-card{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* v0.5.3-safe — service request mini calendar modal */
.hyms-request-modal-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(15,23,42,.68);
  backdrop-filter:blur(8px);
}
.hyms-request-modal{
  width:min(520px,100%);
  max-height:min(760px,calc(100dvh - 36px));
  overflow:auto;
  border-radius:26px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 28px 80px rgba(15,23,42,.35);
  position:relative;
  padding:18px;
}
.hyms-request-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  color:#0f172a;
  font-size:24px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}
.hyms-request-modal-head{
  padding-right:38px;
  margin-bottom:12px;
}
.hyms-request-modal-head span{
  display:inline-flex;
  border-radius:999px;
  background:rgba(109,40,217,.10);
  color:#6d28d9;
  font-size:11px;
  font-weight:950;
  padding:5px 9px;
}
.hyms-request-modal-head h3{
  margin:8px 0 4px;
  font-size:22px;
  line-height:1.1;
}
.hyms-request-modal-head p{
  margin:0;
  color:#64748b;
  font-weight:750;
}
.hyms-request-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.hyms-request-fields label{
  display:grid;
  gap:6px;
  font-weight:900;
  font-size:13px;
  color:#0f172a;
}
.hyms-request-fields input,
.hyms-request-fields textarea{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  padding:11px 12px;
  font:inherit;
  outline:none;
}
.hyms-request-fields input:focus,
.hyms-request-fields textarea:focus{
  border-color:#7c3aed;
  box-shadow:0 0 0 3px rgba(124,58,237,.12);
}
.hyms-request-message{
  grid-column:1 / -1;
}
.hyms-request-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:12px;
}
.hyms-request-modal-actions button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  font-weight:950;
  cursor:pointer;
}
.hyms-request-cancel{
  background:#f1f5f9;
  color:#0f172a;
}
.hyms-request-submit{
  background:#6d28d9;
  color:#fff;
}
@media(max-width:640px){
  .hyms-request-modal-overlay{
    align-items:flex-end;
    padding:10px;
  }
  .hyms-request-modal{
    border-radius:24px;
    max-height:calc(100dvh - 20px);
  }
  .hyms-request-fields{
    grid-template-columns:1fr;
  }
}


/* v0.5.4-safe — compact dismissible safety note */
.hyms-safety-note[data-hyms-safety-note]{
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
  justify-self:flex-start!important;
  align-self:flex-start!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:4px 10px 6px!important;
  padding:5px 7px 5px 9px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  color:#475569!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  line-height:1.15!important;
  font-weight:750!important;
  transition:opacity .18s ease, transform .18s ease!important;
}
.hyms-safety-note[data-hyms-safety-note] span{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:min(360px, calc(100vw - 96px))!important;
}
.hyms-safety-note[data-hyms-safety-note] button,
.hyms-safety-note[data-hyms-safety-note] [data-hyms-dismiss-safety]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(15,23,42,.08)!important;
  color:#334155!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:950!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.hyms-safety-note[data-hyms-safety-note].is-hiding{
  opacity:0!important;
  transform:translateY(-3px)!important;
}
@media(max-width:820px){
  .hyms-safety-note[data-hyms-safety-note]{
    margin:3px 8px 4px!important;
    max-width:calc(100vw - 42px)!important;
    font-size:10px!important;
  }
  .hyms-safety-note[data-hyms-safety-note] span{
    max-width:calc(100vw - 86px)!important;
  }
}

/* v0.5.7-safe — unified header icons + notification center dropdown */
.hy-header-actions .hyms-header-action,
.hy-message-slot .hyms-header-action,
.hy-header-actions .hyms-header-mail,
.hy-message-slot .hyms-header-mail,
.hy-header-actions .hyms-alert-bell,
.hy-header-actions .hyms-notification-bell{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex:0 0 34px!important;
  margin:0!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.94)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 8px 18px rgba(17,24,39,.10)!important;
  text-decoration:none!important;
  transform:none!important;
  backdrop-filter:none!important;
}
.hy-header-actions .hyms-header-action:hover,
.hy-message-slot .hyms-header-action:hover,
.hy-header-actions .hyms-header-mail:hover,
.hy-message-slot .hyms-header-mail:hover,
.hy-header-actions .hyms-alert-bell:hover,
.hy-header-actions .hyms-notification-bell:hover{
  background:#111827!important;
  color:#fff!important;
}
.hy-header-actions .hyms-header-action.has-alerts,
.hy-header-actions .hyms-header-mail.has-unread,
.hy-message-slot .hyms-header-mail.has-unread,
.hy-header-actions .hyms-alert-bell.has-alerts,
.hy-header-actions .hyms-notification-bell.has-alerts{
  background:#111827!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(17,24,39,.18)!important;
}
.hyms-header-svg,
.hy-header-actions .hyms-alert-bell svg,
.hy-header-actions .hyms-notification-bell svg,
.hyms-header-mail .hyms-envelope svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  color:currentColor!important;
}
.hyms-header-mail .hyms-envelope{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:0!important;
}
.hyms-header-action em,
.hyms-header-mail em,
.hyms-alert-bell em,
.hyms-notification-bell em{
  position:absolute!important;
  top:-5px!important;
  right:-5px!important;
  min-width:17px!important;
  height:17px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:17px!important;
  font-style:normal!important;
  font-weight:900!important;
  text-align:center!important;
  padding:0 4px!important;
  box-shadow:0 0 0 2px #fff!important;
}
.hyms-header-action em[hidden],
.hyms-header-mail em[hidden],
.hyms-alert-bell em[hidden],
.hyms-notification-bell em[hidden],
[data-hyms-notifications-count][hidden]{
  display:none!important;
}
.hyms-header-action.is-guest,
.hyms-header-mail.is-guest,
.hyms-alert-bell.is-guest,
.hyms-notification-bell.is-guest,
.hyms-is-disabled{
  background:rgba(243,244,246,.92)!important;
  color:#9ca3af!important;
  border-color:rgba(156,163,175,.28)!important;
  box-shadow:0 6px 14px rgba(17,24,39,.06)!important;
}
.hyms-header-action.is-guest:hover,
.hyms-header-mail.is-guest:hover,
.hyms-alert-bell.is-guest:hover,
.hyms-notification-bell.is-guest:hover{
  background:#f3f4f6!important;
  color:#6b7280!important;
}
.hyms-notification-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
}
.hyms-notification-dropdown{
  position:absolute!important;
  top:calc(100% + 12px)!important;
  right:0!important;
  width:min(360px,92vw)!important;
  max-height:min(70vh,560px)!important;
  overflow:auto!important;
  z-index:99999!important;
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 24px 60px rgba(17,24,39,.22)!important;
  border-radius:22px!important;
  padding:10px!important;
}
.hyms-notification-dropdown[hidden]{display:none!important}
.hyms-notification-dropdown-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:8px 8px 10px!important;
  border-bottom:1px solid rgba(17,24,39,.08)!important;
}
.hyms-notification-dropdown-head strong{font-size:14px!important;color:#111827!important}
.hyms-notification-dropdown-head a,
.hyms-notification-more{
  color:#111827!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.hyms-notification-dropdown-list{
  display:grid!important;
  gap:7px!important;
  padding:8px 0!important;
}
.hyms-notification-dropdown .hyms-notification-item{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:start!important;
  padding:9px!important;
  border-radius:16px!important;
}
.hyms-notification-item{
  position:relative!important;
}
.hyms-notification-item.is-compact .hyms-notification-type{
  font-size:9px!important;
  padding:4px 6px!important;
}
.hyms-notification-item.is-compact strong{font-size:12px!important;line-height:1.25!important}
.hyms-notification-item.is-compact p{font-size:11px!important;line-height:1.3!important;margin:2px 0!important}
.hyms-notification-item.is-compact small{font-size:10px!important}
.hyms-notification-delete{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  border-radius:999px!important;
  border:1px solid rgba(17,24,39,.10)!important;
  background:#fff!important;
  color:#6b7280!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:20px!important;
  cursor:pointer!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
.hyms-notification-delete:hover{background:#111827!important;color:#fff!important}
.hyms-notification-more{
  display:block!important;
  text-align:center!important;
  padding:9px!important;
  border-radius:14px!important;
  background:#f3f4f6!important;
}
@media(max-width:820px){
  .hyms-notification-dropdown{
    position:fixed!important;
    top:72px!important;
    right:10px!important;
    left:10px!important;
    bottom:auto!important;
    width:auto!important;
    max-height:calc(100dvh - 96px)!important;
    overflow:auto!important;
    border-radius:24px!important;
    z-index:2147483000!important;
    transform:none!important;
  }
  .admin-bar .hyms-notification-dropdown{
    top:104px!important;
    max-height:calc(100dvh - 128px)!important;
  }
  .hyms-notification-dropdown.hyms-notification-dropdown-floating{
    position:fixed!important;
    inset:72px 10px auto 10px!important;
    width:auto!important;
    max-height:calc(100dvh - 96px)!important;
    overflow:auto!important;
  }
  .admin-bar .hyms-notification-dropdown.hyms-notification-dropdown-floating{
    inset:104px 10px auto 10px!important;
    max-height:calc(100dvh - 128px)!important;
  }
  .hyms-notification-dropdown .hyms-notification-item:nth-of-type(n+5){
    display:none!important;
  }
}
@supports not (height: 100dvh){
  @media(max-width:820px){
    .hyms-notification-dropdown,
    .hyms-notification-dropdown.hyms-notification-dropdown-floating{
      max-height:calc(100vh - 96px)!important;
    }
    .admin-bar .hyms-notification-dropdown,
    .admin-bar .hyms-notification-dropdown.hyms-notification-dropdown-floating{
      max-height:calc(100vh - 128px)!important;
    }
  }
}

/* v0.5.9-safe — mobile urgent tabs in compact 2x2 themed card; keep header/icons untouched */
.hyms-account-shell > .hyms-account-nav{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  max-width:100%!important;
  margin:0 auto 14px!important;
  padding:6px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
.hyms-account-shell > .hyms-account-nav::-webkit-scrollbar{display:none!important;}
.hyms-account-shell > .hyms-account-nav a{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  padding:8px 12px!important;
  border:1px solid rgba(17,24,39,.10)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#111827!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  box-shadow:0 8px 18px rgba(17,24,39,.055)!important;
}
.hyms-account-shell > .hyms-account-nav a.is-active{
  background:#111827!important;
  color:#fff!important;
  border-color:#111827!important;
  box-shadow:0 12px 26px rgba(17,24,39,.14)!important;
}
@media(max-width:760px){
  .hyms-account-shell > .hyms-account-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    max-width:430px!important;
    margin:0 auto 14px!important;
    padding:10px!important;
    overflow:visible!important;
    border:1px solid rgba(17,24,39,.08)!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
    box-shadow:0 14px 34px rgba(17,24,39,.08), inset 0 0 0 1px rgba(255,255,255,.7)!important;
  }
  .hyms-account-shell > .hyms-account-nav a{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 7px!important;
    border-radius:16px!important;
    border:1px solid rgba(17,24,39,.08)!important;
    background:#fff!important;
    color:#111827!important;
    box-shadow:0 8px 18px rgba(17,24,39,.045)!important;
    font-size:11px!important;
    line-height:1.15!important;
    font-weight:850!important;
    text-align:center!important;
    white-space:normal!important;
    letter-spacing:-.01em!important;
  }
  .hyms-account-shell > .hyms-account-nav a.is-active{
    background:#111827!important;
    color:#fff!important;
    border-color:#111827!important;
    box-shadow:0 12px 24px rgba(17,24,39,.16)!important;
  }
}
@media(max-width:380px){
  .hyms-account-shell > .hyms-account-nav{
    gap:6px!important;
    padding:8px!important;
    border-radius:20px!important;
  }
  .hyms-account-shell > .hyms-account-nav a{
    min-height:36px!important;
    padding:7px 5px!important;
    font-size:10.4px!important;
    border-radius:14px!important;
  }
}

/* v0.5.10-safe — urgent request uses modern HYSI selector; keep urgent flow logic intact */
.hyms-urgent-hysi-wrap{
  display:block!important;
  padding:14px!important;
  border:1px solid rgba(17,24,39,.08)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 14px 34px rgba(17,24,39,.07), inset 0 0 0 1px rgba(255,255,255,.8)!important;
}
.hyms-urgent-hysi-label{
  display:block!important;
  margin:0 0 8px!important;
  color:#111827!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.hyms-urgent-hysi-selector .hysi-selector{
  margin:0!important;
  border-radius:20px!important;
  box-shadow:none!important;
}
.hyms-urgent-hysi-selector .hysi-head{
  padding-bottom:10px!important;
}
.hyms-urgent-hysi-selector .hysi-head span{
  display:none!important;
}
.hyms-urgent-hysi-selector .hysi-head h3{
  font-size:17px!important;
  margin-bottom:4px!important;
}
.hyms-urgent-hysi-selector .hysi-head p{
  font-size:12px!important;
  line-height:1.35!important;
}
.hyms-urgent-hysi-note{
  margin:9px 0 0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.hyms-urgent-hysi-note.is-selected{
  color:#047857!important;
}
@media(max-width:760px){
  .hyms-urgent-hysi-wrap{
    padding:10px!important;
    border-radius:20px!important;
  }
  .hyms-urgent-hysi-selector .hysi-search-row{
    gap:7px!important;
  }
  .hyms-urgent-hysi-selector .hysi-search-row input{
    min-height:42px!important;
    font-size:13px!important;
  }
  .hyms-urgent-hysi-selector .hysi-search-row button{
    min-height:42px!important;
    padding:9px 11px!important;
    font-size:12px!important;
  }
  .hyms-urgent-hysi-selector .hysi-result-card strong,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option strong,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option strong{
    font-size:13px!important;
  }
}

/* v0.5.11-safe — urgent request compact modern flow */
.hyms-urgent-location-card,
.hyms-urgent-fixed-card{
  border:1px solid rgba(15,23,42,.10)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 16px 42px rgba(15,23,42,.08)!important;
  padding:16px!important;
}
.hyms-urgent-location-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
.hyms-urgent-location-head strong{
  display:block!important;
  color:#0f172a!important;
  font-size:15px!important;
  font-weight:900!important;
}
.hyms-urgent-location-head small,
.hyms-budget-help{
  display:block!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
  margin-top:4px!important;
}
.hyms-location-pin-btn,
.hyms-location-detected button{
  border:0!important;
  border-radius:999px!important;
  padding:9px 13px!important;
  background:#0f172a!important;
  color:#fff!important;
  font-weight:900!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.hyms-location-manual{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
.hyms-location-manual[hidden],
.hyms-location-detected[hidden],
.hyms-budget-field[hidden]{display:none!important;}
.hyms-location-detected{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border:1px solid rgba(22,163,74,.18)!important;
  border-radius:16px!important;
  padding:10px 12px!important;
  background:#f0fdf4!important;
  color:#166534!important;
  font-size:13px!important;
  font-weight:800!important;
}
.hyms-urgent-fixed-card{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  background:linear-gradient(135deg,#fff 0%,#fff5f5 100%)!important;
  border-color:rgba(220,38,38,.16)!important;
}
.hyms-urgent-fixed-card p{margin:0!important;color:#7f1d1d!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;}
.hyms-urgent-red-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:78px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  padding:8px 12px!important;
  font-size:12px!important;
  font-weight:1000!important;
  letter-spacing:.08em!important;
  box-shadow:0 12px 25px rgba(220,38,38,.22)!important;
}
.hyms-urgent-auto-send{
  border:1px dashed rgba(15,23,42,.18)!important;
  background:#f8fafc!important;
  border-radius:18px!important;
  padding:12px 14px!important;
}
.hyms-urgent-auto-send span{font-size:13px!important;color:#334155!important;line-height:1.35!important;}
.hyms-request-help select[name="requested_radius_km"]{font-weight:900!important;}
@media(max-width:767px){
  .hyms-urgent-location-head{align-items:flex-start!important;flex-direction:column!important;}
  .hyms-location-pin-btn{width:100%!important;}
  .hyms-location-manual{grid-template-columns:1fr!important;}
  .hyms-urgent-fixed-card{align-items:flex-start!important;flex-direction:column!important;}
  .hyms-urgent-red-badge{min-width:auto!important;}
  .hyms-location-detected{align-items:flex-start!important;flex-direction:column!important;}
  .hyms-location-detected button{width:100%!important;}
}


/* v0.5.12-safe — urgent intro priority card */
.hyms-request-help > header.hyms-urgent-intro-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:8px!important;
  margin:0 0 18px!important;
  padding:18px 20px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#7f1010 0%,#991b1b 45%,#450a0a 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 48px rgba(127,16,16,.24)!important;
  overflow:hidden!important;
  position:relative!important;
}
.hyms-request-help > header.hyms-urgent-intro-card:before{
  content:""!important;
  position:absolute!important;
  inset:-40% -10% auto auto!important;
  width:220px!important;
  height:220px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  pointer-events:none!important;
}
.hyms-urgent-intro-kicker{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:6px 11px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:1000!important;
  line-height:1.1!important;
  letter-spacing:.03em!important;
  position:relative!important;
  z-index:1!important;
}
.hyms-request-help > header.hyms-urgent-intro-card h2{
  margin:0!important;
  max-width:760px!important;
  color:#fff!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:1000!important;
  position:relative!important;
  z-index:1!important;
}
.hyms-request-help > header.hyms-urgent-intro-card p{
  margin:0!important;
  max-width:760px!important;
  color:rgba(255,255,255,.94)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:750!important;
  position:relative!important;
  z-index:1!important;
}
.hyms-urgent-intro-expiry{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:760px!important;
  padding:8px 12px!important;
  border-radius:16px!important;
  background:rgba(0,0,0,.18)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:950!important;
  position:relative!important;
  z-index:1!important;
}
@media(max-width:767px){
  .hyms-request-help > header.hyms-urgent-intro-card{
    gap:6px!important;
    margin:0 0 12px!important;
    padding:12px 12px!important;
    border-radius:20px!important;
    box-shadow:0 12px 30px rgba(127,16,16,.18)!important;
  }
  .hyms-urgent-intro-kicker{
    padding:5px 9px!important;
    font-size:10.5px!important;
    letter-spacing:.01em!important;
  }
  .hyms-request-help > header.hyms-urgent-intro-card h2{
    font-size:16px!important;
    line-height:1.2!important;
  }
  .hyms-request-help > header.hyms-urgent-intro-card p{
    font-size:11.5px!important;
    line-height:1.34!important;
  }
  .hyms-urgent-intro-expiry{
    padding:6px 9px!important;
    border-radius:13px!important;
    font-size:11px!important;
    line-height:1.28!important;
  }
  .hyms-urgent-fixed-card p{
    font-size:12px!important;
  }
}

/* v0.5.13 urgent visibility + notification flow */
.hyms-request-card.is-urgent,
.hyms-client-urgent-card,
.hyms-alert-card.is-urgent,
.hyms-client-reply-card.is-urgent{
  border:1px solid rgba(220,38,38,.32)!important;
  background:linear-gradient(135deg, rgba(255,245,245,.98), rgba(255,255,255,.96))!important;
  box-shadow:0 18px 42px rgba(127,29,29,.10)!important;
}
.hyms-request-state.is-urgent,
.hyms-request-card.is-urgent > div > span,
.hyms-alert-card.is-urgent > div > span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:max-content!important;padding:5px 10px!important;border-radius:999px!important;
  background:#991b1b!important;color:#fff!important;font-weight:900!important;letter-spacing:.04em!important;
  font-size:11px!important;text-transform:uppercase!important;
}
.hyms-urgent-expiry-line{display:block;margin-top:6px;color:#7f1d1d!important;font-weight:800!important;}
.hyms-request-matches{margin-top:14px;padding:12px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(15,23,42,.08);}
.hyms-request-match-row.is-positive,
.hyms-client-reply-card{background:rgba(240,253,244,.78)!important;border-color:rgba(22,163,74,.22)!important;}
.hyms-request-match-row em{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:#475569;font-style:normal;}
.hyms-request-no-replies p{margin:6px 0 0;color:#64748b;font-size:13px;}
.hyms-request-owner-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;}
.hyms-request-owner-actions form{margin:0;}
.hyms-request-owner-actions .hyms-btn-secondary,
.hyms-request-owner-actions button{border-radius:999px!important;padding:9px 13px!important;font-weight:800!important;}
.hyms-urgent-map-preview{margin:14px 0;padding:14px;border-radius:22px;border:1px solid rgba(153,27,27,.22);background:linear-gradient(135deg,#fff7f7,#fff);display:grid;grid-template-columns:1fr 1.25fr;gap:14px;align-items:center;}
.hyms-urgent-map-copy strong{display:block;color:#7f1d1d;font-size:15px;margin-bottom:4px;}
.hyms-urgent-map-copy span{display:block;color:#475569;font-size:12px;line-height:1.35;}
.hyms-urgent-map-canvas{position:relative;height:130px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg, rgba(220,38,38,.10), rgba(15,23,42,.04)), repeating-linear-gradient(45deg, rgba(15,23,42,.05) 0 1px, transparent 1px 18px);border:1px solid rgba(15,23,42,.07);}
.hyms-urgent-map-pin{position:absolute;width:14px;height:14px;border-radius:999px;background:#334155;box-shadow:0 0 0 5px rgba(51,65,85,.12);transform:translate(-50%,-50%);}
.hyms-urgent-map-pin.is-urgent{background:#dc2626;box-shadow:0 0 0 6px rgba(220,38,38,.16),0 8px 18px rgba(127,29,29,.18);}
.hyms-client-replies-list{display:grid;gap:12px;margin:10px 0 18px;}
.hyms-provider-subtitle{margin:18px 0 10px!important;font-size:16px!important;color:#0f172a!important;}
@media(max-width:767px){
  .hyms-urgent-map-preview{grid-template-columns:1fr;padding:10px;border-radius:18px;gap:8px;}
  .hyms-urgent-map-canvas{height:88px;border-radius:14px;}
  .hyms-urgent-map-copy strong{font-size:13px;}
  .hyms-urgent-map-copy span{font-size:11px;}
  .hyms-request-owner-actions{gap:6px;}
  .hyms-request-owner-actions .hyms-btn-secondary,.hyms-request-owner-actions button{font-size:12px!important;padding:8px 10px!important;}
  .hyms-request-matches{padding:10px;border-radius:14px;}
  .hyms-request-match-row em{font-size:11px;}
}


/* v0.5.14 urgent countdown/backfill UI */
.hyms-urgent-countdown{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:8px;padding:6px 10px;border-radius:999px;background:#fff1f2;border:1px solid rgba(185,28,28,.22);color:#7f1d1d;font-size:12px;font-weight:800;line-height:1.1;box-shadow:0 8px 18px rgba(127,29,29,.08)}
.hyms-urgent-countdown b{font-weight:900}.hyms-urgent-countdown em{font-style:normal;font-variant-numeric:tabular-nums;letter-spacing:.03em}.hyms-urgent-countdown.is-ending-soon{background:#7f1d1d;color:#fff;border-color:#7f1d1d}.hyms-urgent-countdown.is-expired{background:#f3f4f6;color:#6b7280;border-color:#e5e7eb}
.hyms-alert-card .hyms-urgent-countdown,.hyms-client-urgent-card .hyms-urgent-countdown{margin-top:10px}
@media(max-width:767px){.hyms-urgent-countdown{font-size:11px;padding:5px 8px;margin-top:6px}.hyms-client-urgent-card .hyms-urgent-countdown{align-self:flex-start}}

/* v0.5.15 - focused urgent alert pages and map links */
.hyms-location-open-link{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;margin-top:7px;padding:6px 10px;border-radius:999px;background:#fff1f1;color:#7f1d1d!important;text-decoration:none!important;font-size:12px;font-weight:800;border:1px solid rgba(185,28,28,.16)}
.hyms-own-alert-card{border-color:rgba(185,28,28,.24)!important;background:linear-gradient(180deg,#fff,#fff7f7)!important}
.hyms-request-card:target{outline:3px solid rgba(185,28,28,.28);box-shadow:0 0 0 7px rgba(185,28,28,.08),0 18px 50px rgba(15,23,42,.10)!important}
@media(max-width:767px){.hyms-location-open-link{font-size:11px;padding:5px 8px}.hyms-request-card:target{outline-width:2px;box-shadow:0 0 0 5px rgba(185,28,28,.08)!important}}


/* v0.5.19-safe — keep urgent HYSI suggestions usable on mobile, not full-screen button slabs */
@media(max-width:760px){
  .hyms-urgent-hysi-selector .hysi-results,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-bar,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-list,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-panel{
    max-width:calc(100vw - 32px)!important;
    width:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  .hyms-urgent-hysi-selector .hysi-result-card,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option,
  .hyms-urgent-hysi-selector [data-hysi-result],
  .hyms-urgent-hysi-selector button[class*="suggest"],
  .hyms-urgent-hysi-selector button[class*="option"]{
    width:100%!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:10px 12px!important;
    border-radius:15px!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    text-align:left!important;
    white-space:normal!important;
  }
  .hyms-urgent-hysi-selector .hysi-result-card strong,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option strong,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option strong{
    font-size:12.8px!important;
    line-height:1.25!important;
  }
  .hyms-urgent-hysi-selector .hysi-result-card small,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option small,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option small{
    font-size:11px!important;
    line-height:1.25!important;
  }
}


/* v0.5.20-safe — repair chat composer + mobile message bubbles + urgent HYSI suggestion contrast */
@media(max-width:820px){
  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-me{
    width:auto!important;
    min-width:0!important;
    max-width:86%!important;
    min-height:0!important;
    border-radius:18px!important;
    padding:10px 12px!important;
    line-height:1.35!important;
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
    transform:none!important;
  }
  .hyms-overlay-panel .hyms-message{align-self:flex-start!important;background:#1e1b4b!important;color:#f8fafc!important;border:1px solid rgba(255,255,255,.08)!important;}
  .hyms-overlay-panel .hyms-message.is-me{align-self:flex-end!important;background:#6d28d9!important;color:#fff!important;}
  .hyms-overlay-panel .hyms-message p{color:inherit!important;font-size:13.5px!important;line-height:1.35!important;}
  .hyms-urgent-hysi-selector .hysi-result-card,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option,
  .hyms-urgent-hysi-selector [data-hysi-result]{
    background:#111827!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.12)!important;
  }
  .hyms-urgent-hysi-selector .hysi-result-card strong,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option strong,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option strong,
  .hyms-urgent-hysi-selector .hysi-result-card small,
  .hyms-urgent-hysi-selector .hysi-mobile-suggest-option small,
  .hyms-urgent-hysi-selector .hysi-mobile-overlay-option small{color:#fff!important;}
}

/* v0.5.21-safe — compact chat suggestions, sane mobile bubbles, unlocked contact card */
.hyms-quick-replies{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  overflow:visible!important;
  padding:8px 12px 2px!important;
  max-width:100%!important;
}
.hyms-quick-replies button{
  flex:0 1 auto!important;
  max-width:calc(50% - 6px)!important;
  min-width:0!important;
  width:auto!important;
  white-space:normal!important;
  text-align:left!important;
  border-radius:14px!important;
  padding:7px 9px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
.hyms-unlocked-contact-card{
  margin:14px 0!important;
  padding:14px!important;
  border-radius:20px!important;
  background:#f8fafc!important;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:0 14px 35px rgba(15,23,42,.08)!important;
  color:#0f172a!important;
}
.hyms-unlocked-contact-card strong{display:block;font-size:16px;font-weight:950;margin-bottom:5px;color:#0f172a!important;}
.hyms-unlocked-contact-card p{margin:0 0 8px!important;color:#334155!important;font-size:13px!important;line-height:1.35!important;}
.hyms-unlocked-contact-card ul{margin:8px 0!important;padding-left:18px!important;color:#0f172a!important;font-size:13px!important;line-height:1.5!important;}
.hyms-unlocked-contact-card a{color:#6d28d9!important;font-weight:900!important;text-decoration:none!important;}
.hyms-unlocked-contact-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;margin-top:10px!important;}
.hyms-unlocked-contact-actions a,
.hyms-unlocked-contact-actions button{
  border:0!important;border-radius:999px!important;padding:9px 12px!important;font-weight:950!important;background:#6d28d9!important;color:#fff!important;cursor:pointer!important;text-decoration:none!important;
}
.hyms-unlocked-contact-card small{display:block;margin-top:8px;color:#64748b!important;font-size:11px!important;line-height:1.35!important;}
@media(max-width:820px){
  .hyms-overlay-panel .hyms-messages{align-items:stretch!important;}
  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-me{
    display:block!important;
    width:fit-content!important;
    max-width:82%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:auto!important;
    border-radius:18px!important;
    padding:9px 11px!important;
    margin:0!important;
    overflow:visible!important;
    align-self:flex-start!important;
  }
  .hyms-overlay-panel .hyms-message.is-me{align-self:flex-end!important;}
  .hyms-overlay-panel .hyms-message p{display:block!important;margin:0!important;white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  .hyms-quick-replies button{max-width:100%!important;font-size:10.5px!important;padding:6px 8px!important;}
}


/* v0.5.22-safe — compact chat suggestions and sane mobile bubbles */
.hyms-overlay-panel .hyms-quick-replies,
.hyms-quick-replies{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  padding:8px 12px 4px!important;
  max-width:100%!important;
  overflow:visible!important;
}
.hyms-overlay-panel .hyms-quick-replies button,
.hyms-quick-replies button{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:158px!important;
  min-width:0!important;
  min-height:0!important;
  border-radius:999px!important;
  padding:6px 9px!important;
  font-size:10.5px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
}
.hyms-overlay-panel .hyms-messages{align-items:stretch!important;}
.hyms-overlay-panel .hyms-message,
.hyms-overlay-panel .hyms-message.is-me{
  display:block!important;
  width:auto!important;
  max-width:min(82%,520px)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:auto!important;
  border-radius:18px!important;
  padding:9px 11px!important;
  margin:0!important;
  transform:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.hyms-overlay-panel .hyms-message{align-self:flex-start!important;}
.hyms-overlay-panel .hyms-message.is-me{align-self:flex-end!important;}
.hyms-overlay-panel .hyms-message p{display:block!important;margin:0!important;color:inherit!important;white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;}
.hyms-unlocked-contact-card{width:100%!important;box-sizing:border-box!important;}
.hyms-unlocked-contact-card ul{list-style:disc!important;}
@media(max-width:560px){
  .hyms-overlay-panel .hyms-quick-replies button,.hyms-quick-replies button{max-width:calc(50% - 6px)!important;font-size:10px!important;padding:6px 8px!important;}
  .hyms-overlay-panel .hyms-message,.hyms-overlay-panel .hyms-message.is-me{max-width:82%!important;}
}


/* v0.5.24-safe — clean contact card, no bullets, compact message suggestions */
.hyms-unlocked-contact-card ul{display:none!important;list-style:none!important;margin:0!important;padding:0!important;}
.hyms-contact-lines{display:grid!important;gap:7px!important;margin:10px 0!important;}
.hyms-contact-lines > div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:8px 10px!important;border-radius:12px!important;background:#fff!important;border:1px solid rgba(15,23,42,.08)!important;}
.hyms-contact-lines span{font-size:12px!important;color:#64748b!important;font-weight:800!important;}
.hyms-contact-lines strong{font-size:13px!important;color:#0f172a!important;font-weight:900!important;text-align:right!important;word-break:break-word!important;}
.hyms-contact-lines em{font-style:normal!important;color:#64748b!important;font-weight:800!important;}
.hyms-overlay-panel .hyms-quick-replies,.hyms-quick-replies{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:6px 10px!important;align-items:flex-start!important;justify-content:flex-start!important;}
.hyms-overlay-panel .hyms-quick-replies button,.hyms-quick-replies button{flex:0 1 auto!important;width:auto!important;max-width:142px!important;min-width:0!important;min-height:0!important;padding:6px 8px!important;border-radius:999px!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
@media(max-width:560px){.hyms-contact-lines > div{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}.hyms-contact-lines strong{text-align:left!important}.hyms-overlay-panel .hyms-quick-replies button,.hyms-quick-replies button{max-width:132px!important;font-size:9.5px!important;padding:5px 7px!important}}


/* v0.5.25-chat-context-card-white-safe — compact premium white chat context card; remove oversized blue listing panel */
.hyms-chat .hyms-service-context.hyms-service-context-compact,
.hyms-thread .hyms-service-context.hyms-service-context-compact,
.hyms-service-context.hyms-service-context-compact{
  display:block!important;
  width:auto!important;
  max-width:calc(100% - 20px)!important;
  min-height:0!important;
  height:auto!important;
  margin:8px 10px 8px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(15,23,42,.10)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
  color:#0f172a!important;
}
.hyms-service-context-compact summary{
  min-height:0!important;
  height:auto!important;
  padding:8px 10px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  background:transparent!important;
}
.hyms-service-context-compact summary span{
  color:#7c3aed!important;
  background:rgba(124,58,237,.09)!important;
  border-radius:999px!important;
  padding:3px 7px!important;
  line-height:1!important;
  font-size:10px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.hyms-service-context-compact summary strong{
  color:#0f172a!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.hyms-service-context-compact summary small{
  color:#6d28d9!important;
  background:rgba(109,40,217,.08)!important;
  border-radius:999px!important;
  padding:3px 7px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;
}
.hyms-service-context-compact[open] .hyms-service-context-body{
  display:block!important;
}
.hyms-service-context-body{
  display:none!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding:8px 10px 10px!important;
  border-top:1px solid rgba(15,23,42,.08)!important;
  background:#fff!important;
  color:#334155!important;
}
.hyms-service-context-body small{
  margin:0!important;
  color:#475569!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.hyms-service-context-body nav{
  margin-top:7px!important;
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
}
.hyms-service-context-body nav a{
  background:#0f172a!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:6px 9px!important;
  font-size:11px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.hyms-service-context.is-inactive .hyms-service-context-body em{
  display:block!important;
  margin-top:6px!important;
  padding:5px 7px!important;
  border-radius:10px!important;
  background:#fff7ed!important;
  color:#9a3412!important;
  font-size:11px!important;
  font-style:normal!important;
}
@media (max-width: 767px){
  .hyms-service-context.hyms-service-context-compact{
    max-width:calc(100% - 16px)!important;
    margin:7px 8px!important;
    border-radius:14px!important;
  }
  .hyms-service-context-compact summary{
    padding:7px 8px!important;
    gap:6px!important;
  }
  .hyms-service-context-compact summary strong{
    font-size:12px!important;
  }
}


/* v0.5.26-safe — notification bell toggles closed on second click; keep dropdown as normal notification center */
.hyms-notification-dropdown.is-open{
  display:block!important;
}
.hyms-notification-dropdown[hidden]{
  display:none!important;
}

/* v0.5.27 mobile notification diagnostics */
.hyms-push-diagnostics{margin-top:10px;border:1px solid rgba(17,24,39,.08);border-radius:16px;background:#fff;padding:10px;display:grid;gap:6px;color:#111827}
.hyms-diag-row{display:grid;grid-template-columns:54px 1fr;gap:6px 10px;align-items:start;padding:8px 9px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb;font-size:12px}
.hyms-diag-row b{grid-row:1/3;text-align:center;border-radius:999px;padding:3px 6px;font-size:10px;line-height:1.3;color:#fff;background:#6b7280}
.hyms-diag-row.ok b{background:#15803d}.hyms-diag-row.fail b{background:#b91c1c}
.hyms-diag-row span{font-weight:900;color:#111827}.hyms-diag-row small{color:#64748b;word-break:break-word}.hyms-diag-note{margin:4px 2px 0;font-size:12px;color:#64748b}
@media(max-width:640px){.hyms-diag-row{grid-template-columns:46px 1fr;font-size:11px;padding:7px}.hyms-push-panel .hya-btn{width:100%;justify-content:center}}


/* v0.5.29 - local sound profiles */
.hyms-sound-settings{
  border:1px solid rgba(17,24,39,.12);
  border-radius:18px;
  padding:14px;
  background:#fff;
  display:grid;
  gap:12px;
}
.hyms-sound-settings legend{
  padding:0 8px;
  font-weight:800;
  color:#111827;
}
.hyms-sound-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:10px;
  border:1px solid rgba(17,24,39,.10);
  border-radius:14px;
  background:linear-gradient(180deg,#fff,rgba(248,250,252,.9));
}
.hyms-sound-row label{
  display:grid;
  gap:6px;
  margin:0;
}
.hyms-sound-row label span{
  font-size:13px;
  font-weight:800;
  color:#111827;
}
.hyms-sound-row select{
  width:100%;
  min-height:38px;
  border:1px solid rgba(17,24,39,.18);
  border-radius:11px;
  padding:7px 10px;
  background:#fff;
  color:#111827;
}
.hyms-sound-row small{
  grid-column:1 / -1;
  color:#6b7280;
  font-size:12px;
  line-height:1.35;
}
.hyms-sound-play{
  align-self:end;
  min-height:38px;
  border:0;
  border-radius:11px;
  padding:0 12px;
  font-weight:800;
  background:#111827;
  color:#fff;
  cursor:pointer;
}
@media (max-width:640px){
  .hyms-sound-row{
    grid-template-columns:1fr;
  }
  .hyms-sound-play{
    width:100%;
  }
}


/* v0.5.32-safe — logged out security modal */
html.hyms-security-modal-open{
  overflow:hidden;
}
.hyms-security-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(15,23,42,.52);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.hyms-security-modal{
  width:min(430px,100%);
  position:relative;
  border-radius:24px;
  padding:24px;
  background:linear-gradient(180deg,#fff,#faf7ff);
  border:1px solid rgba(124,58,237,.18);
  box-shadow:0 30px 90px rgba(15,23,42,.28);
  color:#111827;
  text-align:left;
}
.hyms-security-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  color:#111827;
  font-size:20px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}
.hyms-security-modal-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px;
  background:linear-gradient(135deg,rgba(124,58,237,.16),rgba(124,58,237,.05));
  border:1px solid rgba(124,58,237,.18);
  color:#6d28d9;
  font-weight:950;
  letter-spacing:-.04em;
}
.hyms-security-modal h2{
  margin:0 36px 8px 0;
  color:#111827;
  font-size:23px;
  line-height:1.12;
  font-weight:950;
  letter-spacing:-.03em;
}
.hyms-security-modal p{
  margin:0;
  color:#4b5563;
  font-size:14px;
  line-height:1.5;
}
.hyms-security-modal-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:16px;
}
.hyms-security-modal-primary,
.hyms-security-modal-secondary{
  min-height:40px;
  border-radius:13px;
  padding:10px 14px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.hyms-security-modal-primary{
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
  color:#fff!important;
  border:1px solid rgba(124,58,237,.26);
}
.hyms-security-modal-secondary{
  background:#fff;
  color:#111827;
  border:1px solid rgba(17,24,39,.12);
}
@media(max-width:520px){
  .hyms-security-modal{
    padding:20px;
    border-radius:22px;
  }
  .hyms-security-modal-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .hyms-security-modal-primary,
  .hyms-security-modal-secondary{
    width:100%;
    text-align:center;
  }
}


/* v0.5.33-safe — sticky minimal chat context + acceptance history card */
.hyms-chat-context-sticky{
  position:sticky;
  top:0;
  z-index:5;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  margin:0 0 8px;
  padding:9px 10px;
  border:1px solid rgba(124,58,237,.18);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,247,255,.96));
  box-shadow:0 10px 28px rgba(76,29,149,.10);
  color:#111827;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.hyms-chat-context-main{
  min-width:0;
  display:grid;
  gap:2px;
}
.hyms-chat-context-main span{
  color:#6d28d9;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:950;
}
.hyms-chat-context-main strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#111827;
  font-size:13px;
  line-height:1.15;
  font-weight:950;
}
.hyms-chat-context-main small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#4b5563;
  font-size:11px;
  line-height:1.2;
}
.hyms-chat-context-main em{
  color:#991b1b;
  font-style:normal;
  font-size:11px;
  font-weight:850;
}
.hyms-chat-context-actions{
  display:flex;
  gap:6px;
  align-items:center;
}
.hyms-chat-context-actions a{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 10px;
  background:#fff;
  border:1px solid rgba(124,58,237,.18);
  color:#5b21b6;
  text-decoration:none;
  font-size:11px;
  font-weight:950;
}
.hyms-chat-context-sticky.is-inactive{
  border-color:rgba(185,28,28,.20);
  background:linear-gradient(180deg,#fff,#fff7f7);
}
.hyms-chat-acceptance-card{
  align-self:stretch;
  margin:2px auto 10px;
  width:min(520px,100%);
  border:1px solid rgba(22,163,74,.22);
  border-radius:18px;
  padding:12px 14px;
  background:linear-gradient(135deg,#f0fdf4,#fff);
  color:#14532d;
  box-shadow:0 12px 34px rgba(22,163,74,.10);
  text-align:left;
}
.hyms-chat-acceptance-card span{
  display:inline-flex;
  margin-bottom:4px;
  color:#15803d;
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.hyms-chat-acceptance-card strong{
  display:block;
  color:#14532d;
  font-size:14px;
  line-height:1.2;
  font-weight:950;
}
.hyms-chat-acceptance-card p{
  margin:5px 0 0;
  color:#166534;
  font-size:12px;
  line-height:1.35;
  font-weight:750;
}
.hyms-chat-acceptance-card small{
  display:block;
  margin-top:5px;
  color:#4b5563;
  font-size:11px;
  font-weight:750;
}
.hyms-chat-acceptance-card.is_cancelled,
.hyms-chat-acceptance-card.is-force_cancelled,
.hyms-chat-acceptance-card.is-cancelled{
  border-color:rgba(185,28,28,.22);
  background:linear-gradient(135deg,#fff7f7,#fff);
  color:#7f1d1d;
}
.hyms-chat-acceptance-card.is_cancelled strong,
.hyms-chat-acceptance-card.is-force_cancelled strong,
.hyms-chat-acceptance-card.is-cancelled strong{
  color:#7f1d1d;
}
@media(max-width:720px){
  .hyms-chat-context-sticky{
    grid-template-columns:1fr;
    gap:7px;
    padding:8px;
    border-radius:14px;
  }
  .hyms-chat-context-actions{
    justify-content:flex-start;
  }
  .hyms-chat-context-actions a{
    min-height:28px;
    padding:0 9px;
  }
  .hyms-chat-acceptance-card{
    border-radius:15px;
    padding:10px 11px;
  }
}


/* v0.5.35-completion-review-flow-safe */
.hyms-completion-review-prompt{
  margin:14px 0 0!important;
  padding:14px!important;
  border-radius:18px!important;
  border:1px solid rgba(109,40,217,.14)!important;
  background:linear-gradient(180deg,#fbf9ff,#fff)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
}
.hyms-completion-review-head{margin:0 0 12px!important;}
.hyms-completion-review-head span{
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:rgba(109,40,217,.10)!important;
  color:#6d28d9!important;
  font-size:11px!important;
  font-weight:900!important;
}
.hyms-completion-review-head h3{margin:8px 0 4px!important;color:#0f172a!important;font-size:18px!important;line-height:1.2!important;}
.hyms-completion-review-head p{margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.45!important;font-weight:700!important;}
.hyms-completion-review-prompt .hya-review-form,
.hyms-completion-review-prompt form{margin-top:10px!important;}


/* v0.5.36-flow-dashboards-safe */
.hyms-flow-dashboard{display:grid;gap:18px;max-width:100%;}
.hyms-flow-hero{padding:20px;border:1px solid rgba(15,23,42,.08);border-radius:24px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 14px 38px rgba(15,23,42,.055)}
.hyms-flow-hero.is-urgent{background:linear-gradient(135deg,#7f1d1d,#dc2626);color:#fff;border-color:rgba(255,255,255,.18)}
.hyms-flow-hero span{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(109,40,217,.08);color:#6d28d9;font-size:12px;font-weight:900}
.hyms-flow-hero.is-urgent span{background:rgba(255,255,255,.14);color:#fff}
.hyms-flow-hero h2{margin:10px 0 6px;color:#0f172a;font-size:26px;line-height:1.15;letter-spacing:-.025em}
.hyms-flow-hero.is-urgent h2,.hyms-flow-hero.is-urgent p{color:#fff!important}
.hyms-flow-hero p{margin:0 0 14px;color:#64748b;font-weight:750;line-height:1.45}
.hyms-flow-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hyms-flow-stat{padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 28px rgba(15,23,42,.045)}
.hyms-flow-stat span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.hyms-flow-stat strong{display:block;margin-top:5px;color:#0f172a;font-size:24px;line-height:1}
.hyms-flow-sections{display:grid;gap:16px}
.hyms-flow-sections>section{padding:16px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 32px rgba(15,23,42,.045)}
.hyms-flow-sections h3{margin:0 0 12px;color:#0f172a;font-size:20px;letter-spacing:-.02em}
.hyms-flow-list{display:grid;gap:10px}
.hyms-flow-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.08)}
.hyms-flow-card.is-active{background:#f5f3ff;border-color:rgba(109,40,217,.16)}
.hyms-flow-card.is-done{background:#f0fdf4;border-color:rgba(22,163,74,.16)}
.hyms-flow-card-main{min-width:0}.hyms-flow-status{display:inline-flex;margin-bottom:6px;padding:5px 9px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:900}
.hyms-flow-card h3{margin:0 0 3px!important;font-size:16px!important}.hyms-flow-card p{margin:0 0 4px;color:#475569;font-weight:750}.hyms-flow-card small{color:#64748b;font-weight:700}.hyms-flow-card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hyms-flow-empty{padding:14px;border-radius:16px;background:#f8fafc;color:#64748b;font-weight:800}.hyms-flow-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.hyms-flow-mini-grid article{padding:12px;border-radius:16px;background:#f8fafc;border:1px solid rgba(15,23,42,.08)}.hyms-flow-mini-grid strong{display:block;color:#0f172a}.hyms-flow-mini-grid span{color:#64748b;font-weight:800}
@media(max-width:960px){.hyms-flow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hyms-flow-card{flex-direction:column}.hyms-flow-card-actions{width:100%;justify-content:stretch}.hyms-flow-card-actions a,.hyms-flow-card-actions button{width:100%;justify-content:center}.hyms-flow-hero h2{font-size:22px}}
@media(max-width:520px){.hyms-flow-stats{grid-template-columns:1fr}}


/* v0.5.39-completion-confirm-review-stars-safe */
.hyms-sr-action-required{display:flex;align-items:flex-start;gap:8px;width:100%;padding:10px 12px;border-radius:14px;background:#fff7ed;border:1px solid rgba(234,88,12,.22);color:#7c2d12;font-weight:800;line-height:1.35;margin:4px 0;box-sizing:border-box}.hyms-sr-action-required strong{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;border-radius:999px;background:#ea580c;color:#fff;font-size:14px;font-weight:950}.hyms-sr-waiting-confirm,.hyms-sr-actions button.hyms-sr-waiting-confirm:disabled{background:#e5e7eb!important;color:#475569!important;border-color:#cbd5e1!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important}@media(max-width:680px){.hyms-sr-action-required{font-size:13px}.hyms-sr-action-required strong{width:20px;height:20px}}

/* v0.5.44-safe — premium light internal messaging UI; no flow changes */
.hyms-app,
.hyms-app.hyms-theme-dark,
.hyms-app.hyms-theme-auto,
.hyms-overlay-panel .hyms-app,
.hyms-overlay-panel .hyms-app.hyms-theme-dark,
.hyms-overlay-panel .hyms-app.hyms-theme-auto{
  --hyms-bg:#ffffff!important;
  --hyms-text:#111827!important;
  --hyms-muted:#64748b!important;
  --hyms-border:rgba(15,23,42,.10)!important;
  --hyms-soft:#f8fafc!important;
  --hyms-panel:#f3f4f6!important;
  --hyms-panel-2:#eef2f7!important;
  --hyms-brand:#111827!important;
  --hyms-accent:#166534!important;
  color:#111827!important;
}

.hyms-overlay-backdrop{
  background:rgba(15,23,42,.42)!important;
  backdrop-filter:blur(8px)!important;
}
.hyms-overlay-panel{
  background:#eef2f7!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:0 30px 90px rgba(15,23,42,.28)!important;
}
.hyms-overlay-close{
  background:#ffffff!important;
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:0 14px 32px rgba(15,23,42,.16)!important;
}
.hyms-overlay-close:hover{background:#111827!important;color:#fff!important;}

.hyms-app{
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;
  border-radius:28px!important;
  padding:10px!important;
  gap:10px!important;
  align-items:stretch!important;
}
.hyms-sidebar,
.hyms-chat{
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid rgba(15,23,42,.09)!important;
  border-radius:24px!important;
  box-shadow:0 18px 48px rgba(15,23,42,.08)!important;
  overflow:hidden!important;
}
.hyms-sidebar{
  min-width:0!important;
}
.hyms-chat{
  min-width:0!important;
}
.hyms-head,
.hyms-chat-header{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  color:#111827!important;
  border-color:rgba(15,23,42,.08)!important;
}
.hyms-head{
  padding:15px 16px!important;
}
.hyms-head h2{
  font-size:18px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
  color:#0f172a!important;
}
.hyms-head small,
.hyms-chat-header small{
  color:#64748b!important;
  font-size:12px!important;
  font-weight:750!important;
}
.hyms-head span[data-hyms-unread]{
  background:#111827!important;
  color:#fff!important;
  min-width:26px!important;
  height:26px!important;
  border-radius:999px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.16)!important;
}
.hyms-conv-list{
  padding:8px!important;
  gap:6px!important;
  background:#fff!important;
}
.hyms-conv-item{
  width:100%!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  border:1px solid transparent!important;
  border-radius:18px!important;
  padding:10px!important;
  color:#111827!important;
  background:transparent!important;
}
.hyms-conv-item:hover,
.hyms-conv-item.is-active,
.hyms-conv-item.has-unread{
  background:#f8fafc!important;
  border-color:rgba(15,23,42,.08)!important;
}
.hyms-conv-item.is-active{
  box-shadow:inset 3px 0 0 #111827!important;
}
.hyms-conv-avatar img{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  object-fit:cover!important;
  box-shadow:0 8px 16px rgba(15,23,42,.08)!important;
}
.hyms-conv-main,
.hyms-conv-main *{
  min-width:0!important;
}
.hyms-conv-main strong,
.hyms-conv-main b{
  color:#0f172a!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
.hyms-conv-main small{
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.hyms-conv-side time{color:#94a3b8!important;font-size:10px!important;}
.hyms-conv-item em,
.hyms-conv-side em{
  background:#dc2626!important;
  color:#fff!important;
  box-shadow:0 0 0 2px #fff!important;
}

.hyms-chat-empty{
  margin:auto!important;
  padding:24px!important;
  color:#64748b!important;
  text-align:center!important;
  font-weight:850!important;
}
.hyms-chat-inner{
  background:#ffffff!important;
  grid-template-rows:auto auto auto minmax(0,1fr) auto auto!important;
}
.hyms-chat-header{
  padding:12px 14px!important;
  gap:10px!important;
  align-items:center!important;
}
.hyms-chat-header img{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  object-fit:cover!important;
}
.hyms-chat-header strong{
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1.2!important;
}
.hyms-chat-tools{
  gap:6px!important;
  align-items:center!important;
}
.hyms-chat-tools button{
  border:1px solid rgba(15,23,42,.10)!important;
  background:#fff!important;
  color:#334155!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 7px 16px rgba(15,23,42,.05)!important;
}
.hyms-chat-tools button:hover{background:#f8fafc!important;color:#0f172a!important;}
.hyms-chat-tools .hyms-trust-btn{
  color:#166534!important;
  border-color:rgba(22,101,52,.20)!important;
}
.hyms-chat-tools .hyms-trust-btn.is-trusted{
  background:#f0fdf4!important;
  border-color:rgba(22,101,52,.32)!important;
}

.hyms-chat-context-sticky,
.hyms-service-context,
.hyms-service-context.hyms-service-context-compact,
.hyms-sr-card,
.hyms-chat-acceptance-card{
  margin:8px 10px!important;
  border-radius:16px!important;
  border:1px solid rgba(15,23,42,.09)!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)!important;
  color:#111827!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
}
.hyms-chat-context-sticky span,
.hyms-service-context span,
.hyms-sr-card span,
.hyms-chat-acceptance-card span{
  color:#166534!important;
  font-size:10px!important;
  font-weight:950!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
}
.hyms-chat-context-sticky strong,
.hyms-service-context strong,
.hyms-sr-card strong,
.hyms-chat-acceptance-card strong{
  color:#0f172a!important;
}
.hyms-chat-context-sticky small,
.hyms-service-context small,
.hyms-sr-card small,
.hyms-chat-acceptance-card small,
.hyms-sr-card p,
.hyms-chat-acceptance-card p{
  color:#64748b!important;
}
.hyms-chat-context-actions a,
.hyms-service-context nav a{
  background:#111827!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-size:11px!important;
  font-weight:950!important;
  text-decoration:none!important;
}

.hyms-safety-note[data-hyms-safety-note]{
  background:#fff7ed!important;
  color:#9a3412!important;
  border-color:rgba(234,88,12,.18)!important;
  box-shadow:0 8px 18px rgba(234,88,12,.06)!important;
}
.hyms-safety-note[data-hyms-safety-note] button,
.hyms-safety-note[data-hyms-safety-note] [data-hyms-dismiss-safety]{
  background:rgba(154,52,18,.10)!important;
  color:#9a3412!important;
}
.hyms-messages{
  min-height:0!important;
  padding:14px!important;
  gap:9px!important;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;
}
.hyms-message{
  max-width:min(76%,620px)!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  background:#ffffff!important;
  color:#111827!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 8px 20px rgba(15,23,42,.055)!important;
}
.hyms-message.is-me{
  align-self:flex-end!important;
  background:#111827!important;
  color:#ffffff!important;
  border-color:#111827!important;
  box-shadow:0 10px 26px rgba(15,23,42,.18)!important;
}
.hyms-message.is-other{
  align-self:flex-start!important;
}
.hyms-message p{
  font-size:13.5px!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
}
.hyms-message time{
  color:inherit!important;
  opacity:.58!important;
  font-size:10.5px!important;
}
.hyms-warning{
  background:#fef2f2!important;
  color:#991b1b!important;
  border:1px solid rgba(153,27,27,.12)!important;
}
.hyms-message.is-me .hyms-warning{
  background:rgba(254,242,242,.96)!important;
  color:#991b1b!important;
}
.hyms-quick-replies{
  background:#ffffff!important;
  border-top:1px solid rgba(15,23,42,.06)!important;
  padding:9px 12px 6px!important;
}
.hyms-quick-replies button{
  background:#f8fafc!important;
  color:#334155!important;
  border:1px solid rgba(15,23,42,.10)!important;
  box-shadow:0 7px 14px rgba(15,23,42,.035)!important;
}
.hyms-quick-replies button:hover{
  background:#111827!important;
  color:#fff!important;
}
.hyms-compose{
  background:#ffffff!important;
  border-top:1px solid rgba(15,23,42,.08)!important;
  padding:12px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
}
.hyms-compose textarea{
  width:100%!important;
  min-height:46px!important;
  max-height:120px!important;
  border:1px solid rgba(15,23,42,.12)!important;
  background:#f8fafc!important;
  color:#111827!important;
  border-radius:17px!important;
  padding:11px 12px!important;
  font-size:14px!important;
  line-height:1.35!important;
  outline:none!important;
  box-sizing:border-box!important;
}
.hyms-compose textarea:focus{
  background:#fff!important;
  border-color:rgba(17,24,39,.38)!important;
  box-shadow:0 0 0 3px rgba(17,24,39,.08)!important;
}
.hyms-compose button,
.hyms-sr-actions button,
.hyms-request-actions button,
.hyms-request-card-actions button,
.hyms-request-card form button{
  background:#111827!important;
  color:#fff!important;
  border-radius:999px!important;
  min-height:42px!important;
  padding:0 16px!important;
  font-size:13px!important;
  font-weight:950!important;
  box-shadow:0 10px 22px rgba(15,23,42,.14)!important;
}
.hyms-compose-disabled{
  background:#fef2f2!important;
  color:#991b1b!important;
  border:1px solid rgba(153,27,27,.16)!important;
}

@media(max-width:980px){
  .hyms-app{grid-template-columns:300px minmax(0,1fr)!important;}
}
@media(max-width:820px){
  .hyms-overlay-panel{
    inset:8px!important;
    width:auto!important;
    border-radius:24px!important;
    background:#eef2f7!important;
  }
  .admin-bar .hyms-overlay-panel{top:54px!important;}
  .hyms-overlay-close{
    top:10px!important;
    right:10px!important;
    width:32px!important;
    height:32px!important;
    font-size:21px!important;
  }
  .hyms-app,
  .hyms-overlay-panel .hyms-app{
    display:block!important;
    min-height:100%!important;
    height:100%!important;
    padding:8px!important;
    background:#eef2f7!important;
    overflow:hidden!important;
  }
  .hyms-app:not(.hyms-mobile-chat-open) .hyms-sidebar,
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-sidebar{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid rgba(15,23,42,.09)!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .hyms-app.hyms-mobile-chat-open .hyms-chat,
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-chat{
    display:flex!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid rgba(15,23,42,.09)!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list,
  .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list{
    background:#ffffff!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:auto!important;
  }
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-chat-inner,
  .hyms-app.hyms-mobile-chat-open .hyms-chat-inner{
    display:grid!important;
    grid-template-rows:auto auto auto minmax(0,1fr) auto auto!important;
    height:100%!important;
    min-height:calc(100dvh - 38px)!important;
    max-height:calc(100dvh - 38px)!important;
    background:#ffffff!important;
    color:#111827!important;
    overflow:hidden!important;
  }
  .hyms-overlay-panel .hyms-head,
  .hyms-overlay-panel .hyms-chat-header,
  .hyms-head,
  .hyms-chat-header{
    background:#ffffff!important;
    color:#111827!important;
    border-color:rgba(15,23,42,.08)!important;
  }
  .hyms-chat-header{
    padding:10px 12px 0!important;
    flex-wrap:wrap!important;
  }
  .hyms-chat-back{
    background:#f8fafc!important;
    color:#111827!important;
    border-color:rgba(15,23,42,.10)!important;
    font-size:28px!important;
  }
  .hyms-chat-tools{
    order:10!important;
    width:100%!important;
    margin-left:0!important;
    padding:8px 0!important;
    border-top:1px solid rgba(15,23,42,.08)!important;
    justify-content:flex-end!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
  }
  .hyms-chat-tools::-webkit-scrollbar{display:none!important;}
  .hyms-chat-tools button{
    flex:0 0 auto!important;
    font-size:10.5px!important;
    padding:7px 8px!important;
  }
  .hyms-messages{
    padding:10px!important;
    background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;
    overflow:auto!important;
    min-height:0!important;
  }
  .hyms-message{
    max-width:88%!important;
    border-radius:17px!important;
  }
  .hyms-message p{
    font-size:13px!important;
  }
  .hyms-quick-replies{
    padding:7px 9px 5px!important;
  }
  .hyms-quick-replies button{
    font-size:10.5px!important;
    padding:7px 9px!important;
  }
  .hyms-compose{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:9px!important;
    padding-bottom:max(9px, env(safe-area-inset-bottom))!important;
    background:#ffffff!important;
    border-top:1px solid rgba(15,23,42,.08)!important;
  }
  .hyms-compose textarea{
    min-height:42px!important;
    max-height:96px!important;
    border-radius:15px!important;
    font-size:13px!important;
  }
  .hyms-compose button{
    min-height:42px!important;
    padding:0 13px!important;
    font-size:12px!important;
  }
  .hyms-safety-note[data-hyms-safety-note]{
    max-width:calc(100vw - 58px)!important;
  }
}
@media(max-width:380px){
  .hyms-compose{gap:6px!important;}
  .hyms-compose button{padding:0 11px!important;}
  .hyms-message{max-width:92%!important;}
}

/* v0.5.49-safe — mobile messaging light normalizer
   Purpose: remove leftover dark mobile overlay/chat backgrounds without changing AJAX, notifications or message data. */
@media (max-width:820px){
  .hyms-overlay-panel,
  .hyms-overlay-panel .hyms-app,
  .hyms-overlay-panel .hyms-sidebar,
  .hyms-overlay-panel .hyms-chat,
  .hyms-overlay-panel .hyms-chat-inner,
  .hyms-overlay-panel .hyms-messages,
  .hyms-overlay-panel .hyms-compose,
  .hyms-app.hyms-mobile-chat-open,
  .hyms-app.hyms-mobile-chat-open .hyms-chat,
  .hyms-app.hyms-mobile-chat-open .hyms-chat-inner,
  .hyms-app.hyms-mobile-chat-open .hyms-messages,
  .hyms-app.hyms-mobile-chat-open .hyms-compose{
    --hyms-bg:#ffffff!important;
    --hyms-text:#111827!important;
    --hyms-muted:#64748b!important;
    --hyms-border:#e5e7eb!important;
    --hyms-soft:#f8fafc!important;
    background:#ffffff!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
  }

  .hyms-overlay-panel .hyms-head,
  .hyms-overlay-panel .hyms-chat-header,
  .hyms-app.hyms-mobile-chat-open .hyms-chat-header,
  .hyms-app.hyms-mobile-chat-open .hyms-head{
    background:#ffffff!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
    box-shadow:none!important;
  }

  .hyms-overlay-panel .hyms-conv-list,
  .hyms-overlay-panel .hyms-app:not(.hyms-mobile-chat-open) .hyms-conv-list,
  .hyms-overlay-panel .hyms-thread,
  .hyms-overlay-panel .hyms-context,
  .hyms-overlay-panel .hyms-request-card,
  .hyms-overlay-panel .hyms-safety-card{
    background:#f8fafc!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
  }

  .hyms-overlay-panel .hyms-conv-item,
  .hyms-overlay-panel .hyms-conv-list .hyms-conv-item,
  .hyms-overlay-panel .hyms-message:not(.is-me){
    background:#ffffff!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
  }

  .hyms-overlay-panel .hyms-message.is-me{
    background:#111827!important;
    color:#ffffff!important;
    border-color:#111827!important;
  }

  .hyms-overlay-panel .hyms-compose{
    border-top:1px solid #e5e7eb!important;
    box-shadow:0 -10px 24px rgba(15,23,42,.05)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea{
    background:#ffffff!important;
    color:#111827!important;
    border-color:#d1d5db!important;
  }

  .hyms-overlay-panel .hyms-compose textarea::placeholder,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder{
    color:#94a3b8!important;
  }

  .hyms-overlay-panel .hyms-compose button,
  .hyms-app.hyms-mobile-chat-open .hyms-compose button{
    background:#6d28d9!important;
    color:#ffffff!important;
    border-color:#6d28d9!important;
  }

  .hyms-overlay-panel a,
  .hyms-overlay-panel button:not(.hyms-compose button){
    color:inherit;
  }
}


/* v0.5.50-safe — light message bubbles normalizer
   Purpose: remove remaining dark backgrounds inside existing mobile conversations.
   Scope: visual CSS only; no AJAX, DB, notification or conversation logic changes. */
@media (max-width:820px){
  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-overlay-panel .hyms-message.is-other,
  .hyms-app.hyms-mobile-chat-open .hyms-message,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  .hyms-messages .hyms-message,
  .hyms-messages .hyms-message.is-me,
  .hyms-messages .hyms-message.is-other{
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid rgba(15,23,42,.10)!important;
    box-shadow:0 8px 20px rgba(15,23,42,.055)!important;
  }

  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-messages .hyms-message.is-me{
    background:#f5f3ff!important;
    color:#111827!important;
    border-color:rgba(109,40,217,.18)!important;
    box-shadow:0 8px 20px rgba(109,40,217,.07)!important;
  }

  .hyms-overlay-panel .hyms-message *,
  .hyms-app.hyms-mobile-chat-open .hyms-message *,
  .hyms-messages .hyms-message *{
    color:inherit!important;
  }

  .hyms-overlay-panel .hyms-message p,
  .hyms-app.hyms-mobile-chat-open .hyms-message p,
  .hyms-messages .hyms-message p{
    color:#111827!important;
  }

  .hyms-overlay-panel .hyms-message time,
  .hyms-app.hyms-mobile-chat-open .hyms-message time,
  .hyms-messages .hyms-message time{
    color:#64748b!important;
    opacity:1!important;
  }

  .hyms-overlay-panel .hyms-warning,
  .hyms-app.hyms-mobile-chat-open .hyms-warning,
  .hyms-messages .hyms-warning,
  .hyms-message.is-me .hyms-warning{
    background:#fff7ed!important;
    color:#9a3412!important;
    border:1px solid rgba(234,88,12,.18)!important;
  }

  .hyms-overlay-panel .hyms-message code,
  .hyms-app.hyms-mobile-chat-open .hyms-message code,
  .hyms-messages .hyms-message code,
  .hyms-overlay-panel .hyms-message pre,
  .hyms-app.hyms-mobile-chat-open .hyms-message pre,
  .hyms-messages .hyms-message pre{
    background:#f8fafc!important;
    color:#111827!important;
    border:1px solid rgba(15,23,42,.08)!important;
  }
}

/* v0.5.51-safe — mobile chat surface light correction
   Purpose: the chat canvas and composer must stay light; only bubbles remain differentiated.
   Scope: CSS only; no AJAX, DB, notification, push or conversation logic changes. */
@media (max-width:820px){
  .hyms-overlay-panel,
  .hyms-overlay-panel .hyms-app,
  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open,
  .hyms-overlay-panel .hyms-chat,
  .hyms-overlay-panel .hyms-chat-inner,
  .hyms-app.hyms-mobile-chat-open,
  .hyms-app.hyms-mobile-chat-open .hyms-chat,
  .hyms-app.hyms-mobile-chat-open .hyms-chat-inner{
    background:#ffffff!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
  }

  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-messages,
  .hyms-overlay-panel .hyms-messages,
  .hyms-app.hyms-mobile-chat-open .hyms-messages,
  .hyms-chat-inner .hyms-messages,
  [data-hyms-chat] .hyms-messages,
  [data-hyms-messages]{
    background:#f8fafc!important;
    color:#111827!important;
    border-color:#e5e7eb!important;
  }

  .hyms-overlay-panel .hyms-app.hyms-mobile-chat-open .hyms-compose,
  .hyms-overlay-panel .hyms-compose,
  .hyms-app.hyms-mobile-chat-open .hyms-compose,
  .hyms-chat-inner .hyms-compose{
    background:#ffffff!important;
    color:#111827!important;
    border-top:1px solid #e5e7eb!important;
    box-shadow:0 -8px 22px rgba(15,23,42,.05)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea,
  .hyms-chat-inner .hyms-compose textarea{
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid #cbd5e1!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.025)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea::placeholder,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder,
  .hyms-chat-inner .hyms-compose textarea::placeholder{
    color:#94a3b8!important;
  }

  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-other,
  .hyms-app.hyms-mobile-chat-open .hyms-message,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  .hyms-messages .hyms-message,
  .hyms-messages .hyms-message.is-other{
    background:#f8fafc!important;
    color:#111827!important;
    border:1px solid #dbe3ee!important;
    box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  }

  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-messages .hyms-message.is-me{
    background:#e8f0ff!important;
    color:#111827!important;
    border:1px solid rgba(37,99,235,.20)!important;
    box-shadow:0 8px 18px rgba(37,99,235,.075)!important;
  }

  .hyms-overlay-panel .hyms-message *,
  .hyms-app.hyms-mobile-chat-open .hyms-message *,
  .hyms-messages .hyms-message *{
    color:inherit!important;
  }

  .hyms-overlay-panel .hyms-message time,
  .hyms-app.hyms-mobile-chat-open .hyms-message time,
  .hyms-messages .hyms-message time{
    color:#64748b!important;
    opacity:1!important;
  }
}


/* v0.5.52-safe — mobile chat spacing + light composer input
   Purpose: increase visual spacing between message bubbles/timestamps and keep composer input light.
   Scope: CSS only; no AJAX, DB, notification, push or conversation logic changes. */
@media (max-width:820px){
  .hyms-overlay-panel .hyms-messages,
  .hyms-app.hyms-mobile-chat-open .hyms-messages,
  .hyms-chat-inner .hyms-messages,
  [data-hyms-messages]{
    gap:18px!important;
    padding:16px 14px 24px!important;
    background:#f8fafc!important;
    align-items:stretch!important;
  }

  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-overlay-panel .hyms-message.is-other,
  .hyms-app.hyms-mobile-chat-open .hyms-message,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  .hyms-messages .hyms-message,
  .hyms-messages .hyms-message.is-me,
  .hyms-messages .hyms-message.is-other{
    margin-top:0!important;
    margin-bottom:6px!important;
  }

  .hyms-overlay-panel .hyms-message + .hyms-message,
  .hyms-app.hyms-mobile-chat-open .hyms-message + .hyms-message,
  .hyms-messages .hyms-message + .hyms-message{
    margin-top:8px!important;
  }

  .hyms-overlay-panel .hyms-message time,
  .hyms-app.hyms-mobile-chat-open .hyms-message time,
  .hyms-messages .hyms-message time{
    display:block!important;
    margin-top:9px!important;
    line-height:1.25!important;
    color:#64748b!important;
    opacity:1!important;
  }

  .hyms-overlay-panel .hyms-compose,
  .hyms-app.hyms-mobile-chat-open .hyms-compose,
  .hyms-chat-inner .hyms-compose,
  [data-hyms-compose]{
    background:#ffffff!important;
    border-top:1px solid #dbe3ee!important;
    box-shadow:0 -8px 20px rgba(15,23,42,.055)!important;
    gap:10px!important;
    padding:12px!important;
    padding-bottom:max(12px, env(safe-area-inset-bottom))!important;
  }

  .hyms-overlay-panel .hyms-compose textarea,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea,
  .hyms-chat-inner .hyms-compose textarea,
  [data-hyms-compose] textarea,
  [data-hyms-compose] textarea[name="message"]{
    background:#ffffff!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    caret-color:#111827!important;
    border:1px solid #cbd5e1!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.025), 0 5px 14px rgba(15,23,42,.035)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea:focus,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea:focus,
  .hyms-chat-inner .hyms-compose textarea:focus,
  [data-hyms-compose] textarea:focus,
  [data-hyms-compose] textarea[name="message"]:focus{
    background:#ffffff!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    border-color:#94a3b8!important;
    box-shadow:0 0 0 3px rgba(109,40,217,.10), inset 0 0 0 1px rgba(15,23,42,.02)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea::placeholder,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder,
  .hyms-chat-inner .hyms-compose textarea::placeholder,
  [data-hyms-compose] textarea::placeholder,
  [data-hyms-compose] textarea[name="message"]::placeholder{
    color:#94a3b8!important;
    -webkit-text-fill-color:#94a3b8!important;
    opacity:1!important;
  }
}


/* v0.5.53-safe — mobile chat flow spacing + composer light contract
   Scope: CSS only. Fixes message stacking/spacing and keeps composer input in light theme. */
@media (max-width:820px){
  .hyms-overlay-panel .hyms-messages,
  .hyms-app.hyms-mobile-chat-open .hyms-messages,
  .hyms-chat-inner .hyms-messages,
  [data-hyms-messages]{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:20px!important;
    row-gap:20px!important;
    padding:18px 14px 32px!important;
    background:#f8fafc!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  .hyms-overlay-panel .hyms-chat-acceptance-card,
  .hyms-app.hyms-mobile-chat-open .hyms-chat-acceptance-card,
  .hyms-chat-inner .hyms-chat-acceptance-card,
  .hyms-overlay-panel .hyms-sr-card,
  .hyms-app.hyms-mobile-chat-open .hyms-sr-card,
  .hyms-chat-inner .hyms-sr-card{
    margin:0 0 18px!important;
    clear:both!important;
    position:relative!important;
    z-index:1!important;
  }

  .hyms-overlay-panel .hyms-message,
  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-overlay-panel .hyms-message.is-other,
  .hyms-app.hyms-mobile-chat-open .hyms-message,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  .hyms-messages .hyms-message,
  .hyms-messages .hyms-message.is-me,
  .hyms-messages .hyms-message.is-other{
    display:block!important;
    position:relative!important;
    float:none!important;
    clear:both!important;
    width:fit-content!important;
    min-width:0!important;
    max-width:82%!important;
    height:auto!important;
    min-height:auto!important;
    margin:0!important;
    padding:12px 14px!important;
    line-height:1.45!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    transform:none!important;
  }

  .hyms-overlay-panel .hyms-message.is-other,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  .hyms-messages .hyms-message.is-other{
    align-self:flex-start!important;
    margin-right:auto!important;
    margin-left:0!important;
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid #dbe3ee!important;
  }

  .hyms-overlay-panel .hyms-message.is-me,
  .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  .hyms-messages .hyms-message.is-me{
    align-self:flex-end!important;
    margin-left:auto!important;
    margin-right:0!important;
    background:#e8f0ff!important;
    color:#111827!important;
    border:1px solid rgba(37,99,235,.22)!important;
  }

  .hyms-overlay-panel .hyms-message p,
  .hyms-app.hyms-mobile-chat-open .hyms-message p,
  .hyms-messages .hyms-message p{
    display:block!important;
    margin:0!important;
    padding:0!important;
    line-height:1.46!important;
    white-space:pre-wrap!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    color:inherit!important;
  }

  .hyms-overlay-panel .hyms-message time,
  .hyms-app.hyms-mobile-chat-open .hyms-message time,
  .hyms-messages .hyms-message time{
    display:block!important;
    position:static!important;
    margin:10px 0 0!important;
    padding:0!important;
    line-height:1.25!important;
    font-size:11px!important;
    color:#64748b!important;
    opacity:1!important;
  }

  .hyms-overlay-panel .hyms-quick-replies,
  .hyms-app.hyms-mobile-chat-open .hyms-quick-replies,
  .hyms-chat-inner .hyms-quick-replies{
    background:#ffffff!important;
    border-top:1px solid #e5e7eb!important;
    padding:10px 12px 8px!important;
    gap:8px!important;
  }

  .hyms-overlay-panel .hyms-compose,
  .hyms-app.hyms-mobile-chat-open .hyms-compose,
  .hyms-chat-inner .hyms-compose,
  [data-hyms-compose]{
    background:#ffffff!important;
    border-top:1px solid #dbe3ee!important;
    padding:12px!important;
    gap:10px!important;
    box-shadow:0 -8px 18px rgba(15,23,42,.045)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea,
  .hyms-chat-inner .hyms-compose textarea,
  [data-hyms-compose] textarea,
  [data-hyms-compose] textarea[name="message"]{
    background:#ffffff!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    caret-color:#111827!important;
    border:1px solid #cbd5e1!important;
    border-radius:18px!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.025)!important;
  }

  .hyms-overlay-panel .hyms-compose textarea::placeholder,
  .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder,
  .hyms-chat-inner .hyms-compose textarea::placeholder,
  [data-hyms-compose] textarea::placeholder,
  [data-hyms-compose] textarea[name="message"]::placeholder{
    color:#94a3b8!important;
    -webkit-text-fill-color:#94a3b8!important;
    opacity:1!important;
  }
}


/* v0.5.54-safe — mobile chat bubble fit + composer hard light contract
   CSS only. Fixes text escaping bubbles and forces the message input to remain light. */
@media (max-width:820px){
  body .hyms-overlay-panel .hyms-messages,
  body .hyms-app.hyms-mobile-chat-open .hyms-messages,
  body .hyms-chat-inner .hyms-messages,
  body [data-hyms-messages]{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    row-gap:14px!important;
    padding:16px 12px 118px!important;
    background:#f8fafc!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }

  body .hyms-overlay-panel .hyms-message,
  body .hyms-overlay-panel .hyms-message.is-me,
  body .hyms-overlay-panel .hyms-message.is-other,
  body .hyms-app.hyms-mobile-chat-open .hyms-message,
  body .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  body .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  body .hyms-messages .hyms-message,
  body .hyms-messages .hyms-message.is-me,
  body .hyms-messages .hyms-message.is-other{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    float:none!important;
    clear:both!important;
    width:auto!important;
    min-width:44px!important;
    max-width:78%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:10px 13px 8px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    line-height:1.36!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    transform:none!important;
  }

  body .hyms-overlay-panel .hyms-message.is-other,
  body .hyms-app.hyms-mobile-chat-open .hyms-message.is-other,
  body .hyms-messages .hyms-message.is-other{
    align-self:flex-start!important;
    margin-left:0!important;
    margin-right:auto!important;
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid #dbe3ee!important;
    border-radius:18px 18px 18px 8px!important;
  }

  body .hyms-overlay-panel .hyms-message.is-me,
  body .hyms-app.hyms-mobile-chat-open .hyms-message.is-me,
  body .hyms-messages .hyms-message.is-me{
    align-self:flex-end!important;
    align-items:flex-start!important;
    margin-left:auto!important;
    margin-right:0!important;
    background:#e8f0ff!important;
    color:#111827!important;
    border:1px solid rgba(37,99,235,.24)!important;
    border-radius:18px 18px 8px 18px!important;
  }

  body .hyms-overlay-panel .hyms-message p,
  body .hyms-app.hyms-mobile-chat-open .hyms-message p,
  body .hyms-messages .hyms-message p{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    line-height:1.38!important;
    font-size:13.5px!important;
    color:inherit!important;
    white-space:pre-wrap!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    box-sizing:border-box!important;
  }

  body .hyms-overlay-panel .hyms-message time,
  body .hyms-app.hyms-mobile-chat-open .hyms-message time,
  body .hyms-messages .hyms-message time{
    display:block!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    margin:7px 0 0!important;
    padding:0!important;
    line-height:1.1!important;
    font-size:10.5px!important;
    color:#64748b!important;
    opacity:1!important;
    transform:none!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }

  body .hyms-overlay-panel .hyms-message.is-me time,
  body .hyms-app.hyms-mobile-chat-open .hyms-message.is-me time,
  body .hyms-messages .hyms-message.is-me time{
    text-align:right!important;
  }

  body .hyms-overlay-panel .hyms-compose,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose,
  body .hyms-chat-inner form.hyms-compose,
  body form.hyms-compose[data-hyms-compose],
  body [data-hyms-compose]{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:end!important;
    background:#ffffff!important;
    border-top:1px solid #dbe3ee!important;
    padding:12px!important;
    padding-bottom:max(12px, env(safe-area-inset-bottom))!important;
    box-shadow:0 -8px 18px rgba(15,23,42,.045)!important;
  }

  body .hyms-overlay-panel .hyms-compose textarea,
  body .hyms-overlay-panel .hyms-compose textarea[name="message"],
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea[name="message"],
  body .hyms-chat-inner form.hyms-compose textarea,
  body .hyms-chat-inner form.hyms-compose textarea[name="message"],
  body form.hyms-compose[data-hyms-compose] textarea,
  body form.hyms-compose[data-hyms-compose] textarea[name="message"],
  body [data-hyms-compose] textarea,
  body [data-hyms-compose] textarea[name="message"]{
    width:100%!important;
    min-height:46px!important;
    max-height:112px!important;
    height:auto!important;
    resize:none!important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image:none!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    caret-color:#111827!important;
    border:1px solid #cbd5e1!important;
    border-radius:18px!important;
    padding:12px 14px!important;
    font-size:14px!important;
    line-height:1.35!important;
    outline:none!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.025), 0 6px 15px rgba(15,23,42,.035)!important;
    filter:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    box-sizing:border-box!important;
  }

  body .hyms-overlay-panel .hyms-compose textarea:focus,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea:focus,
  body .hyms-chat-inner form.hyms-compose textarea:focus,
  body form.hyms-compose[data-hyms-compose] textarea:focus,
  body [data-hyms-compose] textarea:focus{
    background:#ffffff!important;
    background-color:#ffffff!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    border-color:#94a3b8!important;
    box-shadow:0 0 0 3px rgba(109,40,217,.10), inset 0 0 0 1px rgba(15,23,42,.02)!important;
  }

  body .hyms-overlay-panel .hyms-compose textarea::placeholder,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder,
  body .hyms-chat-inner form.hyms-compose textarea::placeholder,
  body form.hyms-compose[data-hyms-compose] textarea::placeholder,
  body [data-hyms-compose] textarea::placeholder{
    color:#94a3b8!important;
    -webkit-text-fill-color:#94a3b8!important;
    opacity:1!important;
  }

  body .hyms-overlay-panel .hyms-compose button,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose button,
  body .hyms-chat-inner form.hyms-compose button,
  body form.hyms-compose[data-hyms-compose] button,
  body [data-hyms-compose] button{
    min-height:46px!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;
    color:#ffffff!important;
    border:0!important;
    padding:0 16px!important;
    box-shadow:0 10px 22px rgba(124,58,237,.20)!important;
  }
}


/* v0.5.55-safe — message row layout: timestamp outside bubble + hard light composer
   Scope: CSS + message markup only. No AJAX, DB, push, notification or flow logic changes. */
@media (max-width:820px){
  body .hyms-overlay-panel .hyms-messages,
  body .hyms-app.hyms-mobile-chat-open .hyms-messages,
  body .hyms-chat-inner .hyms-messages,
  body [data-hyms-messages]{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    padding:16px 12px 118px!important;
    background:#f8fafc!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  body .hyms-message-row{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:4px!important;
    margin:0!important;
    padding:0!important;
    clear:both!important;
    float:none!important;
    box-sizing:border-box!important;
  }
  body .hyms-message-row.is-me{align-items:flex-end!important;}
  body .hyms-message-row.is-other{align-items:flex-start!important;}

  body .hyms-message-row + .hyms-message-row{margin-top:4px!important;}

  body .hyms-message-row > .hyms-message,
  body .hyms-overlay-panel .hyms-message-row > .hyms-message,
  body .hyms-app.hyms-mobile-chat-open .hyms-message-row > .hyms-message,
  body .hyms-messages .hyms-message-row > .hyms-message{
    display:block!important;
    width:auto!important;
    min-width:38px!important;
    max-width:82%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:10px 13px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    line-height:1.42!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
  }

  body .hyms-message-row.is-other > .hyms-message{
    align-self:flex-start!important;
    background:#ffffff!important;
    color:#111827!important;
    border:1px solid #dbe3ee!important;
    border-radius:18px 18px 18px 8px!important;
    box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  }
  body .hyms-message-row.is-me > .hyms-message{
    align-self:flex-end!important;
    background:#e8f0ff!important;
    color:#111827!important;
    border:1px solid rgba(37,99,235,.24)!important;
    border-radius:18px 18px 8px 18px!important;
    box-shadow:0 8px 18px rgba(37,99,235,.07)!important;
  }

  body .hyms-message-row > .hyms-message p,
  body .hyms-overlay-panel .hyms-message-row > .hyms-message p,
  body .hyms-app.hyms-mobile-chat-open .hyms-message-row > .hyms-message p,
  body .hyms-messages .hyms-message-row > .hyms-message p{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:inherit!important;
    font-size:14px!important;
    line-height:1.42!important;
    white-space:pre-wrap!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    box-sizing:border-box!important;
  }

  body .hyms-message-row > .hyms-message-time{
    display:block!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:auto!important;
    margin:0 8px!important;
    padding:0!important;
    color:#64748b!important;
    opacity:1!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    text-align:left!important;
    transform:none!important;
  }
  body .hyms-message-row.is-me > .hyms-message-time{text-align:right!important;}

  /* Backward compatibility for any cached/old message markup where <time> is still inside .hyms-message. */
  body .hyms-message > time:not(.hyms-message-time){
    display:block!important;
    position:static!important;
    width:100%!important;
    margin:6px 0 0!important;
    padding:0!important;
    color:#64748b!important;
    opacity:1!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    background:transparent!important;
  }

  body .hyms-overlay-panel .hyms-compose,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose,
  body .hyms-chat-inner form.hyms-compose,
  body form.hyms-compose[data-hyms-compose],
  body [data-hyms-compose]{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:10px!important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    border-top:1px solid #dbe3ee!important;
    padding:12px!important;
    padding-bottom:max(12px, env(safe-area-inset-bottom))!important;
    box-shadow:0 -8px 18px rgba(15,23,42,.045)!important;
  }

  body .hyms-overlay-panel .hyms-compose textarea,
  body .hyms-overlay-panel .hyms-compose textarea[name="message"],
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea[name="message"],
  body .hyms-chat-inner form.hyms-compose textarea,
  body .hyms-chat-inner form.hyms-compose textarea[name="message"],
  body form.hyms-compose[data-hyms-compose] textarea,
  body form.hyms-compose[data-hyms-compose] textarea[name="message"],
  body [data-hyms-compose] textarea,
  body [data-hyms-compose] textarea[name="message"]{
    display:block!important;
    width:100%!important;
    min-height:46px!important;
    max-height:112px!important;
    height:auto!important;
    resize:none!important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image:none!important;
    color:#111827!important;
    -webkit-text-fill-color:#111827!important;
    caret-color:#111827!important;
    border:1px solid #cbd5e1!important;
    border-radius:18px!important;
    padding:12px 14px!important;
    font-size:14px!important;
    line-height:1.35!important;
    outline:none!important;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.025),0 6px 15px rgba(15,23,42,.035)!important;
    filter:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    box-sizing:border-box!important;
  }

  body .hyms-overlay-panel .hyms-compose textarea::placeholder,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose textarea::placeholder,
  body .hyms-chat-inner form.hyms-compose textarea::placeholder,
  body form.hyms-compose[data-hyms-compose] textarea::placeholder,
  body [data-hyms-compose] textarea::placeholder{
    color:#94a3b8!important;
    -webkit-text-fill-color:#94a3b8!important;
    opacity:1!important;
  }

  body .hyms-overlay-panel .hyms-compose button,
  body .hyms-app.hyms-mobile-chat-open .hyms-compose button,
  body .hyms-chat-inner form.hyms-compose button,
  body form.hyms-compose[data-hyms-compose] button,
  body [data-hyms-compose] button{
    min-height:46px!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;
    color:#ffffff!important;
    border:0!important;
    padding:0 16px!important;
    box-shadow:0 10px 22px rgba(124,58,237,.20)!important;
  }
}

/* v0.5.56 interaction hub */
.hyms-request-location-row{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(109,40,217,.16);border-radius:16px;background:rgba(109,40,217,.045)}
.hyms-request-location-btn{border:0;border-radius:999px;background:#4c1d95;color:#fff;font-weight:900;padding:9px 14px;cursor:pointer;box-shadow:0 10px 22px rgba(76,29,149,.18)}
.hyms-request-location-btn:disabled{opacity:.6;cursor:wait}.hyms-request-location-row small{color:#64748b;font-weight:700}
.hyms-sr-list-actions,.hyms-sr-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hyms-sr-open-chat.is-secondary{background:#fff!important;color:#4c1d95!important;border:1px solid rgba(109,40,217,.20)!important}.hyms-btn-primary,.hyms-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 14px;font-weight:900;text-decoration:none!important}.hyms-btn-primary{background:#4c1d95;color:#fff!important;box-shadow:0 12px 24px rgba(76,29,149,.18)}.hyms-btn-secondary{background:#fff;color:#4c1d95!important;border:1px solid rgba(109,40,217,.18)}
.hyms-interaction-detail{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:26px;padding:20px;margin:14px 0;box-shadow:0 24px 54px rgba(15,23,42,.08)}
.hyms-interaction-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#111827,#1e1b4b);color:#fff}.hyms-interaction-hero span{display:inline-flex;border-radius:999px;background:rgba(255,255,255,.12);padding:5px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.hyms-interaction-hero h2{margin:8px 0 4px;color:#fff;font-size:24px;line-height:1.1}.hyms-interaction-hero p{margin:0;color:rgba(255,255,255,.82);font-size:14px}.hyms-interaction-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hyms-interaction-actions .hyms-btn-secondary{background:rgba(255,255,255,.12);color:#fff!important;border-color:rgba(255,255,255,.20)}
.hyms-interaction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.hyms-interaction-grid article{border:1px solid rgba(109,40,217,.12);background:linear-gradient(180deg,#fff,#faf7ff);border-radius:18px;padding:13px}.hyms-interaction-grid span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}.hyms-interaction-grid strong{display:block;color:#0f172a;font-size:14px;line-height:1.25}
.hyms-interaction-map{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr);gap:12px;align-items:stretch;margin-top:12px}.hyms-map-canvas{position:relative;min-height:150px;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 18% 25%,rgba(139,92,246,.24),transparent 28%),radial-gradient(circle at 82% 72%,rgba(76,29,149,.22),transparent 30%),linear-gradient(135deg,#f8fafc,#ede9fe);border:1px solid rgba(109,40,217,.12)}.hyms-map-route{position:absolute;left:22%;right:22%;top:50%;height:4px;border-radius:999px;background:rgba(76,29,149,.18);transform:translateY(-50%)}.hyms-map-route i{display:block;width:100%;height:100%;border-radius:999px;background:linear-gradient(90deg,#4c1d95,#8b5cf6);opacity:.8}.hyms-map-point{position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;transform:translate(-50%,-50%)}.hyms-map-client{left:18%;top:50%}.hyms-map-provider{left:82%;top:50%}.hyms-map-point span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:#4c1d95;color:#fff;font-weight:1000;box-shadow:0 18px 30px rgba(76,29,149,.25)}.hyms-map-point small{font-size:11px;font-weight:900;color:#4c1d95;background:#fff;border:1px solid rgba(109,40,217,.12);border-radius:999px;padding:3px 7px}.hyms-map-meta{border:1px solid rgba(109,40,217,.12);border-radius:22px;background:#fff;padding:16px;display:flex;flex-direction:column;justify-content:center}.hyms-map-meta strong{font-size:24px;color:#111827}.hyms-map-meta span{font-weight:900;color:#4c1d95;margin-top:2px}.hyms-map-meta em{font-style:normal;color:#64748b;font-size:12px;line-height:1.35;margin-top:8px}.hyms-interaction-notes{margin-top:12px;border-radius:20px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);padding:14px}.hyms-interaction-notes p{margin:0 0 8px;color:#334155}.hyms-interaction-notes p:last-child{margin-bottom:0}
@media(max-width:820px){.hyms-interaction-hero{display:block}.hyms-interaction-actions{justify-content:flex-start;margin-top:12px}.hyms-interaction-grid,.hyms-interaction-map{grid-template-columns:1fr}.hyms-interaction-grid{gap:8px}.hyms-map-canvas{min-height:130px}.hyms-interaction-detail{border-radius:20px;padding:14px}}


/* v0.5.57 interaction completion + approximate geo */
.hyms-interaction-detail.is-closed{background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-color:rgba(100,116,139,.22);filter:saturate(.78)}
.hyms-interaction-detail.is-closed .hyms-interaction-hero{background:linear-gradient(135deg,#334155,#0f172a)}
.hyms-interaction-completion{display:grid;grid-template-columns:180px 180px minmax(0,1fr);gap:10px;align-items:stretch;margin-top:14px;border:1px solid rgba(109,40,217,.12);background:#fff;border-radius:22px;padding:12px}
.hyms-completion-side{border:1px solid rgba(15,23,42,.08);background:#f8fafc;border-radius:18px;padding:13px;display:flex;flex-direction:column;justify-content:center;gap:4px}.hyms-completion-side strong{color:#0f172a;font-weight:1000}.hyms-completion-side span{color:#64748b;font-size:12px;font-weight:800}.hyms-completion-side.is-done{background:#ecfdf5;border-color:rgba(16,185,129,.28)}.hyms-completion-side.is-done span{color:#047857}.hyms-completion-main{border-radius:18px;background:linear-gradient(180deg,#fff,#faf7ff);padding:13px 14px}.hyms-completion-main h3{margin:0 0 5px;color:#0f172a;font-size:16px}.hyms-completion-main p{margin:0 0 10px;color:#64748b;font-size:13px;line-height:1.4}.hyms-interaction-completion.is-closed{background:#f8fafc;border-color:rgba(100,116,139,.18)}
.hyms-interaction-map.is-approximate .hyms-map-route i{background:linear-gradient(90deg,#64748b,#8b5cf6);opacity:.65}.hyms-interaction-map.is-approximate .hyms-map-point span{background:#64748b}.hyms-interaction-map.is-approximate .hyms-map-meta strong{color:#334155}
@media(max-width:820px){.hyms-interaction-completion{grid-template-columns:1fr}.hyms-completion-main{order:-1}}


/* v0.5.60 push status checker */
.hyms-push-panel{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid rgba(109,40,217,.12);border-radius:22px;background:linear-gradient(180deg,#fff,#faf7ff)}
.hyms-push-status-card{border:1px solid rgba(15,23,42,.08);background:#fff;border-radius:20px;padding:14px;display:grid;gap:12px;box-shadow:0 12px 34px rgba(15,23,42,.05)}
.hyms-push-status-card.is-ok{border-color:rgba(16,185,129,.34);background:linear-gradient(180deg,#fff,#ecfdf5)}
.hyms-push-status-card.is-warn{border-color:rgba(245,158,11,.32);background:linear-gradient(180deg,#fff,#fffbeb)}
.hyms-push-status-card.is-blocked{border-color:rgba(239,68,68,.30);background:linear-gradient(180deg,#fff,#fef2f2)}
.hyms-push-status-head{display:flex;gap:10px;align-items:center}
.hyms-push-status-head strong{display:block;color:#0f172a;font-weight:1000}
.hyms-push-status-head small{display:block;color:#64748b;font-size:12px;line-height:1.35;margin-top:3px}
.hyms-push-status-dot{width:13px;height:13px;border-radius:999px;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.14);flex:0 0 auto}
.hyms-push-status-dot.is-ok{background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.14)}
.hyms-push-status-dot.is-blocked{background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.14)}
.hyms-push-switch{display:flex!important;align-items:center;gap:10px;border:1px solid rgba(109,40,217,.10);background:#f8fafc;border-radius:999px;padding:8px 10px!important;margin:0!important}
.hyms-push-switch input{position:absolute;opacity:0;pointer-events:none}
.hyms-push-switch span{width:48px;height:28px;border-radius:999px;background:#cbd5e1;position:relative;transition:.18s;flex:0 0 auto}
.hyms-push-switch span:before{content:"";position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.18);transition:.18s}
.hyms-push-switch input:checked + span{background:#7c3aed}
.hyms-push-switch input:checked + span:before{transform:translateX(20px)}
.hyms-push-switch input:disabled + span{opacity:.55}
.hyms-push-switch b{font-size:13px;color:#0f172a}
.hyms-push-status-actions{display:flex;flex-wrap:wrap;gap:8px}
.hyms-push-help{border-radius:16px;background:rgba(124,58,237,.07);border:1px solid rgba(124,58,237,.12);padding:10px 12px;color:#334155;font-size:13px;line-height:1.45}
@media(max-width:640px){.hyms-push-status-actions .hya-btn,.hyms-push-panel>.hya-btn{width:100%;justify-content:center}.hyms-push-switch{align-items:flex-start;border-radius:18px}.hyms-push-switch b{line-height:1.35}}


/* v0.5.63 installed app push permission prompt */
.hya-btn.is-disabled,.hya-btn:disabled{opacity:.55;filter:grayscale(.35);cursor:not-allowed;box-shadow:none}
.hyms-install-push-prompt{position:fixed;left:16px;right:16px;bottom:18px;z-index:99999;display:flex;justify-content:center;pointer-events:none}
.hyms-install-push-card{pointer-events:auto;width:min(440px,100%);border:1px solid rgba(124,58,237,.18);border-radius:24px;background:linear-gradient(180deg,#fff,#faf7ff);box-shadow:0 26px 70px rgba(15,23,42,.22);padding:18px;position:relative}
.hyms-install-push-card strong{display:block;color:#0f172a;font-size:17px;font-weight:1000;padding-right:28px}
.hyms-install-push-card p{margin:7px 0 12px;color:#475569;font-size:13px;line-height:1.45}
.hyms-install-push-card small{display:block;margin-top:10px;color:#64748b;font-size:11px;line-height:1.35}
.hyms-install-push-actions{display:flex;gap:8px;flex-wrap:wrap}
.hyms-install-push-close{position:absolute;right:12px;top:10px;width:30px;height:30px;border:0;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:1000;cursor:pointer}
.hyms-install-push-prompt.is-blocked .hyms-install-push-card{border-color:rgba(239,68,68,.25);background:linear-gradient(180deg,#fff,#fef2f2)}
@media(max-width:640px){.hyms-install-push-prompt{left:10px;right:10px;bottom:12px}.hyms-install-push-actions .hya-btn{width:100%;justify-content:center}.hyms-install-push-card{border-radius:20px}}

/* v0.5.64 extended range matching */
.hyms-extended-range-note{display:block;margin-top:7px;padding:8px 10px;border-radius:14px;background:#fff7ed;border:1px solid rgba(249,115,22,.22);color:#9a3412;font-style:normal;font-weight:850;font-size:12px;line-height:1.35}
.hyms-alert-card.is-extended-range{border-color:rgba(249,115,22,.24);background:linear-gradient(180deg,#fff,#fff7ed)}
.hyms-alert-card.is-extended-range>div>span:first-child{background:#fff7ed;color:#9a3412;border-color:rgba(249,115,22,.24)}


/* v0.5.65 fast message sending feedback */
.hyms-message-pending{opacity:.72}
.hyms-message-pending .hyms-message-bubble{filter:saturate(.8)}
.hyms-message-pending small{font-weight:800;color:#7c3aed}
.hyms-message-pending.is-error .hyms-message-bubble{border-color:rgba(239,68,68,.35)!important}
.hyms-message-pending.is-error small{color:#dc2626}
button.is-sending,[data-hyms-compose] button.is-sending{opacity:.75;cursor:wait;position:relative}


/* v0.5.66 grouped notifications */
.hyms-notification-group-count{
  position:absolute;
  top:10px;
  right:42px;
  min-width:24px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ede9fe;
  color:#6d28d9;
  font-weight:1000;
  font-size:11px;
  border:1px solid rgba(109,40,217,.18);
}
.hyms-delete-all-notifications{
  border-color:rgba(239,68,68,.24)!important;
  color:#b91c1c!important;
  background:#fff!important;
}
.hyms-delete-all-notifications:hover{
  background:#fef2f2!important;
}
.hyms-notification-item{position:relative}

/* Interaction Hub final action/context cards */
.hyms-interaction-context{margin:12px 12px 14px;padding:14px;border:1px solid rgba(17,24,39,.12);border-radius:16px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 24px rgba(15,23,42,.06);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.hyms-interaction-context-main{display:flex;flex-direction:column;gap:3px}.hyms-interaction-context-main span{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:800}.hyms-interaction-context-main strong{font-size:15px;color:#0f172a}.hyms-interaction-context-main small{font-size:13px;color:#334155;font-weight:700}.hyms-interaction-context-main em{font-style:normal;color:#64748b;font-size:12px}.hyms-interaction-context-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hyms-ih-action{border:0;border-radius:999px;padding:9px 12px;font-weight:800;cursor:pointer;background:#111827;color:#fff}.hyms-ih-action.is-secondary{background:#e5e7eb;color:#111827}.hyms-ih-action.is-muted{background:#f3f4f6;color:#334155}.hyms-ih-action.is-danger{background:#991b1b;color:#fff}.hyms-ih-action:disabled{opacity:.55;cursor:not-allowed}
