/* Shared header; mobile sticky uses TASK736 document scroll ownership. */
html body .app-header {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center; gap:12px 8px!important; width:100%!important; min-width:0!important;
  height:auto!important; min-height:0!important; padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px!important;
  position:sticky!important; top:0!important; overflow:visible!important;
  background:linear-gradient(125deg,#0849a5,#03245b)!important;
  border-radius:0 0 22px 22px; backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
}
html body .app-header .header-left {min-width:0; grid-column:1; grid-row:1;}
html body .app-header .app-brand {display:flex!important; align-items:center; gap:7px!important; min-width:0;}
html body .app-header .brand-logo {width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;margin:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0;overflow:visible;transform:none!important;}
html body .app-header .brand-logo img {width:100%;height:100%;display:block;object-fit:contain;border:0;box-shadow:none;transform:none;}
html body .app-header .brand-copy {display:block!important;min-width:0;}
html body .app-header .brand-name {font-size:18px!important;font-weight:900!important;line-height:1.1;letter-spacing:0;white-space:nowrap;color:white!important;}
html body .app-header .brand-tagline {display:block!important;font-size:9px!important;line-height:1.4;letter-spacing:.2px;white-space:nowrap;color:#c4dfff!important;margin-top:2px;}
html body .app-header .header-right {z-index:2;grid-column:2;grid-row:1;display:flex!important;justify-content:flex-end!important;position:relative;min-width:0;width:100%;gap:0!important;}
html body .app-header .user-pill {display:inline-flex!important;flex:0 1 auto!important;align-items:center;width:auto!important;max-width:100%;min-width:0;min-height:44px;padding:7px 9px!important;gap:6px!important;border:1px solid #4287d8!important;border-radius:18px!important;background:#03265c!important;cursor:pointer;color:white;font:inherit;}
html body .app-header .user-avatar {display:grid;place-items:center;flex:0 0 26px;width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%;background:linear-gradient(135deg,#27c6ff,#0758f4);}
html body .app-header .user-info {display:block!important;flex:0 1 auto!important;min-width:0;overflow:hidden;}
html body .app-header .user-name {display:block;font-size:12px!important;line-height:18px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;color:white!important;}
html body .app-header .user-role {display:none!important;}
html body .app-header .account-chevron {flex:0 0 auto;}
html body .app-header .account-menu {position:absolute;right:0;top:calc(100% + 8px);z-index:20;min-width:148px;padding:6px;border:1px solid #4287d8;border-radius:14px;background:#03265c;box-shadow:0 12px 28px #00163566;}
html body .app-header .account-menu[hidden] {display:none!important;}
html body .app-header .account-menu .account-menu-item {position:static!important;display:block!important;width:100%!important;height:auto!important;min-height:44px!important;padding:10px 16px!important;clip-path:none!important;overflow:visible!important;color:white;background:transparent;border:0;border-radius:8px;text-align:right;text-decoration:none;cursor:pointer;box-shadow:none;transform:none;transition:none;}
html body .app-header :is(.user-pill,.account-menu-item,.atosy-main-nav-button):focus-visible {outline:2px solid #85e6ff;outline-offset:2px;}
html body .app-header .account-menu .account-menu-item:is(:hover,:active,:focus-visible) {background:transparent;box-shadow:none;transform:none;text-decoration:none;}
html body .app-header .account-menu .account-menu-label {display:inline-block;}
@keyframes atosy-account-text-bounce {
  0%,100% {transform:translateY(0);}
  45% {transform:translateY(-2px);}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 html body .app-header .account-menu .account-menu-item:hover .account-menu-label {animation:atosy-account-text-bounce 200ms cubic-bezier(.22,.61,.36,1) 1;}
}
html body .app-header > .top-navigation {grid-column:1/-1;grid-row:2;z-index:1!important;position:relative!important;top:auto!important;display:flex!important;align-items:center;flex-wrap:nowrap!important;width:100%!important;max-width:100%!important;min-width:0;overflow:visible!important;margin:0!important;padding:4px!important;gap:6px!important;border:1px solid #397bc5!important;border-radius:28px!important;background:#03285f!important;backdrop-filter:none!important;}
html body .app-header .atosy-main-nav-button {display:flex!important;align-items:center;justify-content:center;flex:1 1 auto!important;min-width:0!important;min-height:44px!important;padding:8px 12px!important;gap:5px!important;font-size:12px!important;white-space:nowrap!important;border:0!important;border-radius:9999px!important;align-self:stretch;width:auto!important;max-width:none!important;margin:0!important;background-clip:border-box;color:#c9dfff!important;background:transparent!important;}
/* TASK739C: independent, symmetric capsules in every interaction state. */
/* TASK738: one owner for every top-level state, based on TASK737 Dashboard. */
html body .app-header {--nav-active:linear-gradient(120deg,#1dc8ef,#1154ff);--nav-ring:inset 0 0 0 1px #64caff;}
html body .app-header .atosy-main-nav-button {box-shadow:none;transform:none;transition:none!important;line-height:20px;font-weight:750;}
html body .app-header .atosy-main-nav-button:hover:not(.is-active):not(:disabled),
html body .app-header .atosy-main-nav-button.atosy-svoa-preview:not(.is-active) {background:rgba(72,135,235,.22)!important;box-shadow:inset 0 0 0 1px rgba(154,196,255,.25);}
html body .app-header .atosy-main-nav-button.is-active {background:var(--nav-active)!important;box-shadow:var(--nav-ring);color:white!important;}
html body .app-header .atosy-main-nav-button:active:not(:disabled) {filter:brightness(1.12);}
html body .app-header .atosy-main-nav-button:disabled {opacity:.45;cursor:not-allowed;}
html body .app-header .atosy-main-nav-icon {display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;line-height:1;flex:0 0 20px;}
html body .app-header .atosy-main-nav-icon {font-size:17px!important;}
@media(min-width:1024px) {
 html body .app-header {grid-template-columns:minmax(210px,1fr) minmax(320px,auto) minmax(160px,1fr)!important;padding:16px 3%!important;gap:20px!important;}
 html body .app-header > .top-navigation {grid-column:2;grid-row:1;gap:8px!important;}
 html body .app-header .header-right {grid-column:3;}
 html body .app-header .brand-name {font-size:22px!important;line-height:20.9px;}
 html body .app-header .brand-tagline {font-size:11px!important;letter-spacing:.35px;margin-top:4px;}
 html body .app-header .brand-logo {width:42px!important;height:42px!important;min-width:42px!important;}
 html body .app-header .atosy-main-nav-button {font-size:14px!important;padding-inline:18px!important;}
}

@media(max-width:767px) {
 html body .app-header {position:sticky!important;top:0!important;}
}

/* TASK739: geometric chevron, independent of font baseline. */
html body .app-header .atosy-nav-chevron {display:block;flex:0 0 12px;width:12px;height:12px;position:static;transform:none;}


/* V942 — Compact unread Discussion bell, placed before the account chip. */
html body .app-header .header-right > .atosy-header-notification-bell{
 display:inline-flex;align-items:center;justify-content:center;position:relative;
 flex:0 0 42px;width:42px;min-width:42px;height:42px;min-height:42px;
 margin:0 8px 0 0;padding:0;border-radius:14px;
 border:1px solid rgba(116,184,249,.45);
 background:linear-gradient(155deg,rgba(12,66,129,.95),rgba(5,38,89,.95));
 color:#dceeff;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
 cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
html body .app-header .header-right > .atosy-header-notification-bell:hover{
 border-color:#83d6ff;background:linear-gradient(155deg,#145ca4,#0a397e);
 transform:translateY(-1px);
}
html body .app-header .header-right > .atosy-header-notification-bell:active{transform:translateY(0)}
html body .app-header .header-right > .atosy-header-notification-bell:focus-visible{
 outline:2px solid #83e5ff;outline-offset:3px;
}
html body .app-header .atosy-header-notification-bell-icon{
 display:block;width:21px;height:21px;flex:none;
}
/* V2503: opaque notification badge above the bell's glass/rim layers. */
html body .app-header .header-right > #atosy-header-notification-bell{
 isolation:isolate;
}
html body .app-header .atosy-header-notification-badge{
 box-sizing:border-box;position:absolute;top:-5px;right:-5px;display:grid;place-items:center;
 min-width:19px;height:19px;padding:0 4px;border:2px solid #07336e;
 border-radius:999px;background:#f04455;color:#fff;
 font:800 10px/1 system-ui,-apple-system,'Segoe UI',sans-serif;
 box-shadow:0 3px 9px rgba(4,15,38,.38);
}
html body #app-view.app-shell > header.app-header > .header-right > #atosy-header-notification-bell > #atosy-header-notification-badge{
 z-index:10!important;
 isolation:isolate;
 opacity:1!important;

 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 mix-blend-mode:normal!important;
 filter:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
html body #app-view.app-shell > header.app-header > .header-right > #atosy-header-notification-bell > #atosy-header-notification-badge::before,
html body #app-view.app-shell > header.app-header > .header-right > #atosy-header-notification-bell > #atosy-header-notification-badge::after{
 content:none!important;
}
html body .app-header .atosy-header-notification-badge[hidden]{display:none!important}
html body .app-header .atosy-header-notification-bell.has-unread{
 border-color:rgba(100,203,255,.66);
}
@media(max-width:767px){
 html body .app-header .header-right > .atosy-header-notification-bell{
  flex-basis:38px;width:38px;min-width:38px;height:38px;min-height:38px;
  margin-right:7px;border-radius:12px;
 }
}
@media(prefers-reduced-motion:reduce){
 html body .app-header .header-right > .atosy-header-notification-bell{transition:none}
}

/* V1196 — Reload action mirrors the existing notification control. */
html body .app-header .header-right > .atosy-header-reload-v1196 {
 display:inline-flex;align-items:center;justify-content:center;
 position:relative;flex:0 0 42px;width:42px;min-width:42px;height:42px;min-height:42px;
 margin:0 8px 0 0;padding:0;border-radius:14px;
 border:1px solid rgba(116,184,249,.45);
 background:linear-gradient(155deg,rgba(12,66,129,.95),rgba(5,38,89,.95));
 color:#dceeff;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
 cursor:pointer;
 transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
html body .app-header .header-right > .atosy-header-reload-v1196:hover {
 border-color:#83d6ff;background:linear-gradient(155deg,#145ca4,#0a397e);
 transform:translateY(-1px);
}
html body .app-header .header-right > .atosy-header-reload-v1196:active {transform:translateY(0)}
html body .app-header .header-right > .atosy-header-reload-v1196:focus-visible {
 outline:2px solid #83e5ff;outline-offset:3px;
}
@media(max-width:767px) {
 html body .app-header .header-right > .atosy-header-reload-v1196 {
  flex-basis:38px;width:38px;min-width:38px;height:38px;min-height:38px;
  margin-right:7px;border-radius:12px;
 }
}
@media(prefers-reduced-motion:reduce) {
 html body .app-header .header-right > .atosy-header-reload-v1196 {transition:none}
}

/* V1290 — Header work tabs: compact button, accessible dropdown, no header reflow. */
html body .app-header .header-right > #atosy-worktabs-toggle-v1290{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  width:42px;
  min-width:42px;
  height:42px;
  min-height:42px;
  margin-right:8px;
  padding:0;
  border:1px solid rgba(107,175,233,.65);
  border-radius:14px;
  background:rgba(8,47,103,.80);
  color:#e3f3ff;
  cursor:pointer;
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:hover,
html body .app-header .header-right > #atosy-worktabs-toggle-v1290[aria-expanded="true"]{
  background:rgba(23,89,158,.88);
  border-color:#81d7ff;
}
html body .app-header #atosy-worktabs-toggle-v1290:focus-visible{
  outline:2px solid #9ae5ff;
  outline-offset:2px;
}
html body .app-header .atosy-worktabs-count-v1290{
  position:absolute;
  top:-6px;
  right:-6px;
  display:grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 4px;
  border:1px solid #8be1ff;
  border-radius:999px;
  background:#166dd9;
  color:white;
  font:750 10px/1 system-ui,sans-serif;
}
html body .app-header .atosy-worktabs-count-v1290[hidden]{display:none!important}
html body .app-header .atosy-worktabs-panel-v1290{
  position:absolute;
  z-index:3000;
  top:calc(100% + 12px);
  right:0;
  width:min(360px,calc(100vw - 24px));
  max-height:min(65vh,560px);
  overflow:auto;
  padding:12px;
  border:1px solid rgba(105,178,237,.58);
  border-radius:19px;
  background:linear-gradient(155deg,#123767,#082249);
  box-shadow:0 18px 46px rgba(0,10,29,.57);
  color:#e9f4ff;
}
html body .app-header .atosy-worktabs-panel-v1290[hidden]{display:none!important}
html body .app-header .atosy-worktabs-heading-v1290{
  display:grid;
  gap:2px;
  padding:4px 6px 11px;
  border-bottom:1px solid rgba(95,150,207,.30);
}
html body .app-header .atosy-worktabs-heading-v1290 strong{font-size:14px}
html body .app-header .atosy-worktabs-heading-v1290 small{
  font-size:11px;
  color:#a8c9e9;
}
html body .app-header .atosy-worktabs-list-v1290{
  display:grid;
  gap:6px;
  padding-top:11px;
}
html body .app-header .atosy-worktabs-row-v1290{
  display:flex;
  align-items:center;
  min-width:0;
  border:1px solid rgba(96,153,211,.24);
  border-radius:12px;
  background:rgba(29,74,128,.23);
}
html body .app-header .atosy-worktabs-row-v1290:hover{
  border-color:rgba(113,193,248,.56);
  background:rgba(39,101,168,.27);
}
html body .app-header .atosy-worktabs-row-v1290.is-active{
  border-color:rgba(87,209,250,.70);
  background:rgba(28,107,183,.38);
  box-shadow:inset 3px 0 0 #40cfff;
}
html body .app-header .atosy-worktabs-open-v1290{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:42px;
  padding:9px 10px;
  border:0;
  background:transparent;
  color:#edf7ff;
  text-align:left;
  cursor:pointer;
}
html body .app-header .atosy-worktabs-icon-v1290{
  flex:0 0 26px;
  display:grid;
  place-items:center;
  height:26px;
  border:1px solid rgba(115,187,242,.34);
  border-radius:9px;
  background:rgba(57,132,218,.22);
  font-weight:800;
}
html body .app-header .atosy-worktabs-title-v1290{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:690;
}
html body .app-header .atosy-worktabs-current-v1290{
  flex:0 0 auto;
  color:#80e0ff;
  font-size:10px;
}
html body .app-header .atosy-worktabs-close-v1290{
  flex:0 0 30px;
  min-width:30px;
  height:30px;
  margin-right:6px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#b8d2ed;
  font-size:19px;
  cursor:pointer;
}
html body .app-header .atosy-worktabs-close-v1290:hover{
  background:rgba(200,228,255,.11);
  color:white;
}
html body .app-header .atosy-worktabs-footnote-v1290{
  margin:12px 5px 3px;
  color:#9bbadd;
  font-size:10.5px;
  line-height:1.5;
}
@media(max-width:767px){
 html body .app-header .header-right > #atosy-worktabs-toggle-v1290{
   flex:0 0 38px;
   width:38px;
   min-width:38px;
   height:38px;
   min-height:38px;
   margin-right:7px;
   border-radius:12px;
 }
 html body .app-header .atosy-worktabs-panel-v1290{
   right:0;
   top:calc(100% + 8px);
 }
}

/* V1291 — Opt-in page pin, embedded at the upper-right corner of each workspace. */
html body .atosy-worktabs-pin-v1291{
  flex:0 0 37px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:37px;
  height:37px;
  min-width:37px;
  min-height:37px;
  padding:0;
  margin-left:7px;
  border:1px solid rgba(103,178,230,.6);
  border-radius:12px;
  background:linear-gradient(140deg,#134779,#0b376c);
  color:#d8ecff;
  cursor:pointer;
  vertical-align:middle;
  transition:background .14s ease,border-color .14s ease;
}
html body .atosy-worktabs-pin-v1291:hover{
  border-color:#8bdeff;
  background:#195e98;
}
html body .atosy-worktabs-pin-v1291.is-pinned-v1291{
  color:#d5f8ff;
  border-color:#63d7ff;
  background:linear-gradient(135deg,#168eb9,#1263d3);
}
html body .atosy-worktabs-pin-v1291.is-pinned-v1291 svg{
  stroke-width:2.2;
}
html body .atosy-worktabs-pin-v1291:focus-visible{
  outline:2px solid #9ceaff;
  outline-offset:3px;
}
html body .atosy-worktabs-pin-fallback-v1291{
  position:relative;
}
html body .atosy-worktabs-pin-fallback-v1291 > .atosy-worktabs-pin-v1291{
  position:absolute;
  top:11px;
  right:12px;
  z-index:15;
  margin-left:0;
  box-shadow:0 5px 14px rgba(1,17,42,.24);
}
@media(max-width:720px){
  html body .atosy-worktabs-pin-v1291{
    width:34px;height:34px;min-width:34px;min-height:34px;flex-basis:34px;
  }
}
/* Inside InterMail's reader title, avoid crowding the title text. */
#atosy-intermail-877 .im-reader-head-fixed-v939:has(> .atosy-worktabs-pin-v1291){
  display:flex;
  align-items:center;
  gap:10px;
}
#atosy-intermail-877 .im-reader-head-fixed-v939 > .atosy-worktabs-pin-v1291{
  margin-left:auto;
}

html body .app-header .atosy-worktabs-empty-v1291{
  padding:17px 12px;
  border:1px dashed rgba(118,180,228,.43);
  border-radius:12px;
  color:#b6d5ed;
  font-size:12px;
  line-height:1.6;
  text-align:center;
}
html body .app-header .atosy-worktabs-empty-v1291 strong{
  color:#86e1ff;
}

/* V1293 — Anchor Dashboard pin at the actual dashboard hero top-right.
   Compensate for the search control so the two never overlap. */
#atosy-dashboard-v2 .dashboard-v2-hero:has(> .atosy-worktabs-pin-v1291){
  position:relative;
}
#atosy-dashboard-v2 .dashboard-v2-hero > .atosy-worktabs-pin-v1291{
  position:absolute;
  top:12px;
  right:12px;
  z-index:4;
  display:inline-flex!important;
  margin:0;
}
#atosy-dashboard-v2 .dashboard-v2-hero:has(> .atosy-worktabs-pin-v1291) .dashboard-v2-search{
  margin-right:44px;
}
@media(max-width:760px){
 #atosy-dashboard-v2 .dashboard-v2-hero:has(> .atosy-worktabs-pin-v1291) .dashboard-v2-search{
   margin-right:0;
 }
 #atosy-dashboard-v2 .dashboard-v2-hero:has(> .atosy-worktabs-pin-v1291){
   padding-top:58px;
 }
}

/* V1294 — Manual pin is an action inside the header's pinned-tabs popover. */
html body .app-header .atosy-worktabs-pin-current-v1294{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:42px;
  margin:12px 0 2px;
  padding:9px 12px;
  border:1px solid rgba(108,191,242,.67);
  border-radius:12px;
  background:linear-gradient(115deg,rgba(20,155,220,.38),rgba(23,89,190,.38));
  color:#f0faff;
  font:750 12px/1.4 system-ui,sans-serif;
  cursor:pointer;
}
html body .app-header .atosy-worktabs-pin-current-v1294:hover{
  background:linear-gradient(115deg,rgba(23,170,235,.6),rgba(30,113,210,.52));
  border-color:#8be4ff;
}
html body .app-header .atosy-worktabs-pin-current-v1294.is-pinned-v1294{
  background:rgba(19,104,152,.3);
  color:#92e4ff;
}
html body .app-header .atosy-worktabs-pin-current-v1294:disabled{opacity:.5;cursor:not-allowed}
html body .app-header .atosy-worktabs-pin-current-v1294:focus-visible{outline:2px solid #94eaff;outline-offset:2px}
html body .app-header .atosy-worktabs-pin-current-v1294 > span:first-child{font-size:19px;line-height:1}

/* V1295 — Add-only pin action sits at the right of the pinned-tabs title. */
html body .app-header .atosy-worktabs-heading-v1290{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
html body .app-header .atosy-worktabs-heading-copy-v1295{
  display:grid;
  flex:1 1 auto;
  min-width:0;
  gap:2px;
}
html body .app-header .atosy-worktabs-heading-v1290 > .atosy-worktabs-pin-current-v1294{
  flex:0 0 auto;
  width:auto;
  min-height:34px;
  margin:0;
  padding:6px 10px;
  gap:5px;
  border-radius:10px;
  font-size:11px;
  white-space:nowrap;
}
html body .app-header .atosy-worktabs-heading-v1290 > .atosy-worktabs-pin-current-v1294 > span:first-child{
  font-size:16px;
}
html body .app-header .atosy-worktabs-heading-v1290 > .atosy-worktabs-pin-current-v1294:disabled{
  opacity:.48;
  cursor:default;
  filter:saturate(.65);
}

/* V1296 — Match Tab đã ghim hover/press feedback to Refresh and Bell. */
html body .app-header .header-right > #atosy-worktabs-toggle-v1290{
  background:linear-gradient(155deg,rgba(12,66,129,.95),rgba(5,38,89,.95));
  border-color:rgba(116,184,249,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:hover{
  background:linear-gradient(155deg,#145ca4,#0a397e);
  border-color:#83d6ff;
  transform:translateY(-1px);
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:active{
  transform:translateY(0);
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:focus-visible{
  outline:2px solid #83e5ff;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .header-right > #atosy-worktabs-toggle-v1290{
    transition:none;
  }
}

/* V1298 — Account-scoped notification centre beneath the header bell. */
html body .app-header .atosy-notification-centre-v1298{
  position:absolute;
  z-index:3100;
  right:0;
  top:calc(100% + 12px);
  width:min(390px,calc(100vw - 24px));
  max-height:min(72vh,610px);
  overflow-y:auto;
  padding:12px;
  border:1px solid rgba(105,178,237,.58);
  border-radius:19px;
  background:linear-gradient(155deg,#123767,#082249);
  box-shadow:0 18px 46px rgba(0,10,29,.57);
  color:#e9f4ff;
}
html body .app-header .atosy-notification-centre-v1298[hidden]{display:none!important}
html body .app-header .atosy-notify-heading-v1298{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:5px 5px 12px;
  border-bottom:1px solid rgba(95,150,207,.3);
}
html body .app-header .atosy-notify-heading-v1298 > span{display:grid;gap:3px}
html body .app-header .atosy-notify-heading-v1298 strong{font-size:14px}
html body .app-header .atosy-notify-heading-v1298 small{font-size:11px;color:#a8c9e9}
html body .app-header .atosy-notify-heading-v1298 button{
  width:33px;height:33px;flex:0 0 33px;border:1px solid rgba(100,180,230,.48);
  border-radius:10px;background:rgba(31,91,151,.44);color:#d8efff;cursor:pointer;font-size:19px
}
html body .app-header .atosy-notify-heading-v1298 button:hover{border-color:#8adeff;background:#1c619c}
html body .app-header .atosy-notify-content-v1298{display:grid;gap:7px;padding-top:11px}
html body .app-header .atosy-notify-summary-v1298{
  display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:65px;
  padding:11px;border-radius:13px;border:1px solid rgba(95,161,216,.34);
  background:rgba(25,72,124,.39);color:#ecf6ff;cursor:pointer;text-align:left;
}
html body .app-header .atosy-notify-summary-v1298:hover,
html body .app-header .atosy-notify-item-v1298:hover{
  background:rgba(38,104,174,.48);border-color:rgba(112,207,255,.64)
}
html body .app-header .atosy-notify-summary-v1298 > span:nth-child(2){display:grid;flex:1;gap:5px;min-width:0}
html body .app-header .atosy-notify-summary-v1298 strong{font-size:12px}
html body .app-header .atosy-notify-summary-v1298 small{font-size:11px;line-height:1.5;color:#bed8ef}
html body .app-header .atosy-notify-icon-v1298{
  display:grid;flex:0 0 34px;place-items:center;height:34px;border-radius:11px;
  background:linear-gradient(135deg,#147fc4,#1855bd);color:#fff;font-size:17px
}
html body .app-header .atosy-notify-count-v1298{
  display:grid;place-items:center;min-width:25px;height:24px;padding:0 6px;
  border-radius:999px;background:#1576d7;color:white;font-size:11px
}
html body .app-header .atosy-notify-subheading-v1298{
  padding:11px 4px 2px;font-size:11px;letter-spacing:.02em;font-weight:750;color:#aacfee
}
html body .app-header .atosy-notify-item-v1298{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  width:100%;min-height:38px;padding:9px 11px;border:1px solid rgba(93,149,204,.27);
  border-radius:10px;background:rgba(18,56,109,.32);color:#e9f4ff;text-align:left;cursor:pointer
}
html body .app-header .atosy-notify-item-v1298 span{min-width:0;overflow-wrap:anywhere;font-size:11px}
html body .app-header .atosy-notify-item-v1298 small{flex:0 0 auto;font-size:10px;color:#9ec4e5}
/* V2504 — notification cards retain card geometry, not global pill-button geometry. */
html body #app-view.app-shell > header.app-header .atosy-notification-centre-v1298 :is(button.atosy-notify-summary-v1298,button.atosy-notify-item-v1298){border-radius:16px!important;}

html body .app-header .atosy-notify-status-v1298{
  margin:3px 0;padding:15px 12px;border:1px dashed rgba(110,178,228,.40);
  border-radius:12px;color:#b4d2ef;font-size:12px;text-align:center
}
html body .app-header .atosy-notify-status-v1298.is-error{color:#ffd6c1}
html body .app-header .atosy-notification-centre-v1298 button:focus-visible{outline:2px solid #8beaff;outline-offset:2px}
@media(max-width:540px){
  html body .app-header .atosy-notification-centre-v1298{right:-8px;top:calc(100% + 8px)}
}

/* V1304 — Readable Inbox subjects and their true SVOA classification. */
html body .app-header .atosy-notify-inbox-item-v1304{
  align-items:center;
  gap:10px;
  min-height:54px;
}
html body .app-header .atosy-notify-mail-detail-v1304{
  display:grid;
  gap:5px;
  flex:1;
  min-width:0;
}
html body .app-header .atosy-notify-mail-detail-v1304 strong{
  display:block;
  font-size:11.5px;
  font-weight:700;
  line-height:1.4;
  color:#f0f8ff;
  overflow-wrap:anywhere;
}
html body .app-header .atosy-notify-mail-detail-v1304 small{
  font-size:10.5px;
  color:#add8f5;
  overflow-wrap:anywhere;
}
html body .app-header .atosy-notify-inbox-item-v1304 .atosy-notify-date-v1304{
  align-self:center;
  white-space:nowrap;
  font-size:10px;
  color:#a8c9e9;
}

/* V1495 — Header entry point for internal account-to-account chat. */
html body .app-header .header-right > .atosy-header-internal-chat-v1495{
 display:inline-flex;align-items:center;justify-content:center;
 position:relative;flex:0 0 42px;width:42px;min-width:42px;height:42px;min-height:42px;
 margin:0 8px 0 0;padding:0;border-radius:14px;
 border:1px solid rgba(116,184,249,.45);
 background:linear-gradient(155deg,rgba(12,66,129,.95),rgba(5,38,89,.95));
 color:#dceeff;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
 cursor:pointer;
 transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495:hover,
html body .app-header .header-right > .atosy-header-internal-chat-v1495[aria-expanded="true"]{
 border-color:#83d6ff;background:linear-gradient(155deg,#145ca4,#0a397e);
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495:focus-visible{
 outline:2px solid #9de7ff;outline-offset:3px;
}
html body .app-header .header-right > .atosy-internal-chat-panel-v1495[hidden]{display:none!important}
html body .app-header .header-right > .atosy-internal-chat-panel-v1495{
 position:absolute;z-index:100;right:0;top:calc(100% + 12px);
 width:min(370px,calc(100vw - 24px));max-height:min(70vh,500px);overflow-y:auto;
 padding:20px;border:1px solid rgba(116,199,247,.56);border-radius:20px;
 color:#e7f5ff;background:linear-gradient(145deg,#143f73,#082650);
 box-shadow:0 20px 55px rgba(0,15,47,.45),inset 0 1px rgba(255,255,255,.10);
}
html body .app-header .atosy-internal-chat-heading-v1495{
 display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;
}
html body .app-header .atosy-internal-chat-heading-v1495 small{
 display:block;font-size:10px;letter-spacing:.11em;font-weight:800;color:#a0cbec;
}
html body .app-header .atosy-internal-chat-heading-v1495 h2{
 margin:5px 0 0;color:white;font-size:19px;line-height:1.25;
}
html body .app-header .atosy-internal-chat-panel-v1495 p{
 margin:0 0 10px;color:#c4e0f4;font-size:13px;line-height:1.6;
}
html body .app-header :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
 margin-top:16px;padding:11px 13px;border-radius:12px;
 background:rgba(82,158,214,.13);border:1px solid rgba(106,183,239,.25);
 color:#b4dbf6;font-size:12px;line-height:1.5;
}
html body .app-header .atosy-internal-chat-close-v1495{
 flex:none;display:grid;place-items:center;width:30px;height:30px;
 padding:0;border:1px solid rgba(129,192,238,.4);border-radius:10px;
 background:rgba(17,73,119,.56);color:#eaf6ff;font-size:23px;cursor:pointer;
}
html body .app-header .atosy-internal-chat-close-v1495:hover{
 background:rgba(49,139,198,.42);border-color:#8ddfff;
}
@media(prefers-reduced-motion:reduce){
 html body .app-header .atosy-header-internal-chat-v1495{transition:none}
}

/* V1498 — Usable two-column ATOSY internal Chat. */
html body .app-header .header-right > .atosy-internal-chat-panel-v1495{
 width:min(720px,calc(100vw - 24px));
 max-height:min(78vh,700px);
 padding:16px;
}
html body .app-header .atosy-chat-workspace-v1498{
 display:grid;grid-template-columns:minmax(170px,34%) minmax(0,1fr);
 height:clamp(300px,53vh,480px);min-height:0;
 border:1px solid rgba(116,190,244,.32);border-radius:14px;
 background:rgba(4,32,75,.42);overflow:hidden;
}
html body .app-header .atosy-chat-sidebar-v1498{
 display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;
 padding:12px;border-right:1px solid rgba(116,190,244,.28);
}
html body .app-header .atosy-chat-sidebar-v1498 label{
 font-size:11px;color:#add7f4;font-weight:750;
}
html body .app-header .atosy-chat-sidebar-v1498 input{
 width:100%;min-width:0;height:38px;padding:0 10px;
 border-radius:10px;border:1px solid rgba(109,184,240,.54);
 background:#0d315f;color:#fff;outline:none;font-size:12px;
}
html body .app-header .atosy-chat-sidebar-v1498 input:focus{
 border-color:#89d7ff;box-shadow:0 0 0 2px rgba(65,183,250,.16);
}
html body .app-header .atosy-chat-people-v1498{
 flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:5px;
}
html body .app-header .atosy-chat-person-v1498{
 display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;
 width:100%;padding:10px;border:1px solid rgba(105,173,233,.22);
 border-radius:11px;background:rgba(21,76,129,.45);color:#eff9ff;cursor:pointer;
}
html body .app-header .atosy-chat-person-v1498:hover,
html body .app-header .atosy-chat-person-v1498.is-selected{
 border-color:#76d6ff;background:rgba(25,119,184,.54);
}
html body .app-header .atosy-chat-person-v1498 strong{
 font-size:12px;line-height:1.4;overflow-wrap:anywhere;
}
html body .app-header .atosy-chat-person-v1498 small{font-size:10px;color:#afd2ea}
html body .app-header .atosy-chat-conversation-v1498{
 display:flex;flex-direction:column;min-width:0;min-height:0;
}
html body .app-header .atosy-chat-peer-v1498{
 flex:0 0 auto;padding:12px;border-bottom:1px solid rgba(125,190,240,.25);
 font-size:12px;font-weight:750;color:#eaf7ff;
}
html body .app-header .atosy-chat-messages-v1498{
 flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;
 align-items:flex-start;gap:9px;padding:12px;
}
html body .app-header .atosy-chat-bubble-v1498{
 max-width:88%;padding:9px 11px;border-radius:13px;
 background:#1b4d7e;color:#f1f9ff;font-size:12px;
 overflow-wrap:anywhere;white-space:pre-wrap;
}
html body .app-header .atosy-chat-bubble-v1498.is-mine{
 align-self:flex-end;background:linear-gradient(130deg,#1477bc,#135caa);
}
html body .app-header .atosy-chat-bubble-v1498 small{
 display:block;margin-top:4px;opacity:.7;font-size:10px;text-align:right;
}
html body .app-header .atosy-chat-compose-v1498{
 flex:0 0 auto;display:flex;gap:7px;padding:10px;
 border-top:1px solid rgba(125,190,240,.25);
}
html body .app-header .atosy-chat-compose-v1498 input{
 flex:1;min-width:0;height:38px;border-radius:10px;padding:0 10px;
 border:1px solid rgba(110,180,232,.5);background:#0d315f;color:#fff;font-size:12px;
}
html body .app-header .atosy-chat-compose-v1498 button{
 padding:0 14px;border:1px solid #67c5ee;border-radius:10px;
 color:#fff;font-size:12px;background:linear-gradient(110deg,#1da8e0,#156ad1);
}
html body .app-header .atosy-chat-compose-v1498 :disabled{opacity:.5;cursor:not-allowed}
html body .app-header .atosy-chat-status-v1498{
 min-height:18px;margin-top:8px;color:#a8daf4;font-size:11px;
}
html body .app-header .atosy-chat-status-v1498.is-error{color:#ffd0c4}
html body .app-header .atosy-chat-empty-v1498{
 padding:10px;color:#b2d1ec;font-size:12px;line-height:1.5;
}
html body .app-header :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
 margin-top:6px;padding:8px 10px;font-size:11px;
}
@media(max-width:520px){
 html body .app-header .atosy-chat-workspace-v1498{
  grid-template-columns:minmax(110px,38%) minmax(0,1fr);
 }
 html body .app-header .atosy-internal-chat-heading-v1495 h2{font-size:17px}
 html body .app-header .atosy-chat-sidebar-v1498{padding:7px}
 html body .app-header .atosy-chat-person-v1498{padding:7px}
}

/* V1499 — Rounded Chat UI and robust compose sizing; isolated to Chat internal only. */
html body .app-header .header-right > .atosy-internal-chat-panel-v1495{
  box-sizing:border-box;
  width:min(760px,calc(100vw - 24px));
  max-width:calc(100vw - 24px);
  padding:18px;
  border-radius:28px;
  border-color:rgba(115,205,255,.56);
  background:linear-gradient(155deg,#173f70 0%,#0d315f 55%,#082650 100%);
  box-shadow:0 22px 64px rgba(0,18,49,.48),inset 0 1px 0 rgba(255,255,255,.10);
}
html body .app-header .atosy-internal-chat-heading-v1495{
  align-items:center;
  margin-bottom:16px;
}
html body .app-header .atosy-internal-chat-close-v1495{
  width:38px;height:38px;min-width:38px;border-radius:14px;
  transition:background .16s ease,border-color .16s ease;
}
html body .app-header .atosy-chat-workspace-v1498{
  grid-template-columns:minmax(190px,33%) minmax(0,1fr);
  min-width:0;
  border-radius:24px;
  border-color:rgba(107,190,249,.42);
  background:linear-gradient(145deg,rgba(9,43,88,.74),rgba(5,31,71,.65));
}
html body .app-header .atosy-chat-sidebar-v1498{
  min-width:0;
  padding:14px 12px;
  gap:11px;
}
html body .app-header .atosy-chat-sidebar-v1498 input{
  box-sizing:border-box;
  display:block;width:100%;max-width:100%;min-width:0;
  height:42px;min-height:42px;
  border-radius:16px;
  padding:0 13px;
}
html body .app-header .atosy-chat-sidebar-v1498 input::placeholder,
html body .app-header .atosy-chat-compose-v1498 input::placeholder{
  color:#9dc1e0;opacity:1;
}
html body .app-header .atosy-chat-people-v1498{gap:8px;min-width:0}
html body .app-header .atosy-chat-person-v1498{
  box-sizing:border-box;
  min-height:62px;
  padding:12px 13px;
  border-radius:19px;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html body .app-header .atosy-chat-person-v1498.is-selected{
  box-shadow:inset 0 0 0 1px rgba(155,237,255,.42),0 3px 12px rgba(14,105,163,.18);
}
html body .app-header .atosy-chat-peer-v1498{
  min-width:0;
  padding:15px 17px;
  border-bottom-color:rgba(127,207,255,.30);
  font-size:13px;
  overflow-wrap:anywhere;
}
html body .app-header .atosy-chat-messages-v1498{
  min-width:0;gap:12px;padding:16px;
}
html body .app-header .atosy-chat-bubble-v1498{
  max-width:min(88%,420px);
  padding:11px 15px;
  border-radius:20px 20px 20px 7px;
  line-height:1.5;
  box-shadow:0 3px 14px rgba(0,19,48,.18);
}
html body .app-header .atosy-chat-bubble-v1498.is-mine{
  border-radius:20px 20px 7px 20px;
}
html body .app-header .atosy-chat-compose-v1498{
  box-sizing:border-box;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%;min-width:0;
  padding:12px;gap:9px;
}
html body .app-header .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
  box-sizing:border-box!important;
  display:block!important;
  flex:1 1 0%!important;
  width:0!important;
  max-width:none!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 15px!important;
  border-radius:999px!important;
  border:1px solid rgba(110,180,232,.52)!important;
  background:#0d315f!important;
  color:#fff!important;
  font-size:13px!important;
  box-shadow:none!important;
}
html body .app-header .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]):focus{
  outline:none!important;
  border-color:#83d8ff!important;
  box-shadow:0 0 0 3px rgba(69,181,250,.20)!important;
}
html body .app-header .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 88px!important;
  width:88px!important;
  min-width:88px!important;
  max-width:88px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border-radius:999px!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
html body .app-header .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]):not(:disabled){
  cursor:pointer;
  box-shadow:0 4px 15px rgba(16,115,208,.18);
}
html body .app-header .atosy-chat-status-v1498{
  min-height:18px;
  overflow-wrap:anywhere;
}
html body .app-header :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
  padding:10px 14px;
  border-radius:17px;
}
html body .app-header .atosy-chat-person-v1498:focus-visible,
html body .app-header .atosy-internal-chat-close-v1495:focus-visible,
html body .app-header .atosy-chat-compose-v1498 button:focus-visible{
  outline:2px solid #9ceaff;
  outline-offset:2px;
}
@media(max-width:560px){
  html body .app-header .header-right > .atosy-internal-chat-panel-v1495{
    right:0;
    padding:11px;
    border-radius:22px;
  }
  html body .app-header .atosy-chat-workspace-v1498{
    grid-template-columns:minmax(104px,36%) minmax(0,1fr);
    border-radius:18px;
    height:clamp(300px,55vh,460px);
  }
  html body .app-header .atosy-chat-sidebar-v1498{
    padding:8px;gap:7px;
  }
  html body .app-header .atosy-chat-person-v1498{
    padding:9px 8px;border-radius:14px;min-height:54px;
  }
  html body .app-header .atosy-chat-peer-v1498{
    padding:11px;font-size:12px;
  }
  html body .app-header .atosy-chat-messages-v1498{
    padding:9px;gap:7px;
  }
  html body .app-header .atosy-chat-bubble-v1498{
    padding:9px 11px;border-radius:16px 16px 16px 6px;
  }
  html body .app-header .atosy-chat-compose-v1498{
    padding:8px;gap:6px;
  }
  html body .app-header .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
    height:38px!important;min-height:38px!important;padding:0 10px!important;font-size:12px!important;
  }
  html body .app-header .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){
    flex-basis:55px!important;width:55px!important;min-width:55px!important;max-width:55px!important;
    height:38px!important;min-height:38px!important;padding:0 5px!important;font-size:12px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .atosy-chat-person-v1498,
  html body .app-header .atosy-internal-chat-close-v1495{transition:none}
}

/* V1500 — Chat hover: gentle lift, illuminated border and icon, consistent with ATOSY header. */
html body .app-header .header-right > .atosy-header-internal-chat-v1495{
  transform:translateY(0) scale(1);
  transform-origin:center;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495:hover{
  transform:translateY(-2px) scale(1.045);
  color:#fff;
  border-color:#9ee9ff;
  background:linear-gradient(145deg,rgba(26,153,224,.95),rgba(18,95,188,.96));
  box-shadow:0 0 0 1px rgba(122,226,255,.25),0 5px 18px rgba(28,163,242,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495:active{
  transform:translateY(0) scale(.97);
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495[aria-expanded="true"]{
  border-color:#8addff;
  background:linear-gradient(145deg,#176fb8,#0c509e);
  box-shadow:0 0 0 1px rgba(116,220,255,.20),0 0 16px rgba(37,151,236,.18);
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495 svg{
  display:block;
  transition:transform .18s ease;
}
html body .app-header .header-right > .atosy-header-internal-chat-v1495:hover svg{
  transform:scale(1.055);
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .header-right > .atosy-header-internal-chat-v1495,
  html body .app-header .header-right > .atosy-header-internal-chat-v1495 svg{transition:none}
}

/* V1501 — Unified hover for pinned/work tabs and notification, matching Chat V1500. */
html body .app-header .header-right > #atosy-worktabs-toggle-v1290,
html body .app-header .header-right > .atosy-header-notification-bell{
 transform:translateY(0) scale(1);
 transform-origin:center;
 transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:hover,
html body .app-header .header-right > .atosy-header-notification-bell:hover{
 transform:translateY(-2px) scale(1.045);
 color:#fff;
 border-color:#9ee9ff;
 background:linear-gradient(145deg,rgba(26,153,224,.95),rgba(18,95,188,.96));
 box-shadow:0 0 0 1px rgba(122,226,255,.25),0 5px 18px rgba(28,163,242,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:active,
html body .app-header .header-right > .atosy-header-notification-bell:active{
 transform:translateY(0) scale(.97);
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290[aria-expanded="true"],
html body .app-header .header-right > .atosy-header-notification-bell[aria-expanded="true"]{
 border-color:#8addff;
 background:linear-gradient(145deg,#176fb8,#0c509e);
 box-shadow:0 0 0 1px rgba(116,220,255,.20),0 0 16px rgba(37,151,236,.18);
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290 svg,
html body .app-header .header-right > .atosy-header-notification-bell svg{
 transition:transform .18s ease;
}
html body .app-header .header-right > #atosy-worktabs-toggle-v1290:hover svg,
html body .app-header .header-right > .atosy-header-notification-bell:hover svg{
 transform:scale(1.055);
}
@media(prefers-reduced-motion:reduce){
 html body .app-header .header-right > #atosy-worktabs-toggle-v1290,
 html body .app-header .header-right > .atosy-header-notification-bell,
 html body .app-header .header-right > #atosy-worktabs-toggle-v1290 svg,
 html body .app-header .header-right > .atosy-header-notification-bell svg{
  transition:none;
 }
}

/* V1502 — Distinguish the private self-chat entry in the account directory. */
html body .app-header .atosy-chat-person-v1498.is-self-v1502{
  border-color:rgba(128,206,255,.58);
  background:linear-gradient(130deg,rgba(18,89,157,.70),rgba(14,65,121,.78));
}
html body .app-header .atosy-chat-person-v1498.is-self-v1502:hover,
html body .app-header .atosy-chat-person-v1498.is-self-v1502.is-selected{
  border-color:#9be7ff;
  background:linear-gradient(130deg,rgba(23,132,205,.72),rgba(13,87,167,.82));
}
html body .app-header .atosy-chat-person-v1498.is-self-v1502 small{
  color:#c7e7ff;
}

/* V1503 — Chat surface design: modern rounded ATOSY collaboration experience. */
html body .app-header .header-right > .atosy-chat-v1503{
  box-sizing:border-box;
  width:min(920px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:min(85vh,760px);
  padding:21px;
  border:1px solid rgba(109,212,255,.78);
  border-radius:34px;
  background:linear-gradient(148deg,#15437c 0%,#092c61 48%,#071f49 100%);
  box-shadow:0 22px 65px rgba(0,17,53,.52),0 0 0 1px rgba(65,167,247,.12),inset 0 1px 0 rgba(234,250,255,.12);
}
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-heading-v1495{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin:0 0 17px;padding:0 5px;
}
html body .app-header .atosy-chat-brand-v1503{
  position:relative;padding-left:17px;min-width:0;
}
html body .app-header .atosy-chat-brand-v1503::before{
  content:"";position:absolute;left:0;top:2px;bottom:1px;width:3px;
  border-radius:999px;background:#8fe8ff;box-shadow:0 0 12px rgba(86,213,255,.55);
}
html body .app-header .atosy-chat-brand-v1503 small{
  color:#b0d8fa;font-size:10px;letter-spacing:.15em;
}
html body .app-header .atosy-chat-brand-v1503 h2{
  margin:5px 0 0;font-size:23px;font-weight:850;line-height:1.15;
}
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-close-v1495{
  width:40px;height:40px;min-width:40px;
  border-radius:15px;border-color:rgba(146,213,255,.35);
  background:rgba(25,78,133,.60);font-size:22px;
}
html body .app-header .atosy-chat-nav-v1503{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin:0 0 16px;padding:0 5px;min-width:0;
}
html body .app-header .atosy-chat-tablist-v1503{
  display:flex;align-items:stretch;flex:0 1 470px;min-width:0;gap:4px;
  padding:4px;border:1px solid rgba(130,203,254,.52);
  border-radius:999px;background:rgba(5,33,76,.56);
}
html body .app-header .atosy-chat-tablist-v1503 button{
  display:flex;align-items:center;justify-content:center;flex:1 1 0;
  min-width:0;min-height:42px;gap:9px;padding:9px 12px;
  border-radius:999px;border:1px solid transparent;
  background:transparent;color:#d9edff;
  white-space:nowrap;font-size:13px;font-weight:780;
  cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
html body .app-header .atosy-chat-tablist-v1503 button svg{
  display:block;width:19px;height:19px;flex:0 0 19px;
}
html body .app-header .atosy-chat-tablist-v1503 button:hover{
  background:rgba(34,131,217,.27);
}
html body .app-header .atosy-chat-tablist-v1503 button[aria-selected="true"]{
  background:linear-gradient(110deg,#20b8ef,#0966e8);
  border-color:#87eaff;color:white;
  box-shadow:0 0 0 1px rgba(97,211,255,.25),0 4px 16px rgba(9,136,245,.28);
}
html body .app-header .atosy-chat-hint-v1503{
  min-width:0;padding:9px 12px;border:1px solid rgba(127,197,247,.36);
  border-radius:999px;background:rgba(52,107,165,.27);
  font-size:11px;line-height:1.3;color:#bfdcf5;text-align:center;
}
html body .app-header .atosy-chat-hint-v1503 strong{color:#f0f8ff}
html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
  display:grid;grid-template-columns:minmax(225px,34%) minmax(0,1fr);
  width:100%;height:clamp(340px,52vh,505px);min-height:0;
  border:1px solid rgba(108,190,246,.58);
  border-radius:25px;overflow:hidden;
  background:linear-gradient(125deg,#082b5b,#072451);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-sidebar-v1498{
  min-height:0;min-width:0;display:flex;flex-direction:column;
  gap:11px;padding:15px 13px;
  border-right:1px solid rgba(127,197,247,.35);
  background:linear-gradient(165deg,rgba(8,52,102,.45),rgba(5,39,83,.29));
}
html body .app-header .atosy-chat-search-label-v1503{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
html body .app-header .atosy-chat-search-wrap-v1503{
  display:flex;align-items:center;width:100%;min-width:0;height:44px;min-height:44px;
  padding:0 12px;gap:9px;border:1px solid rgba(151,211,255,.62);
  border-radius:999px;background:rgba(37,83,137,.62);
}
html body .app-header .atosy-chat-search-wrap-v1503 svg{
  display:block;width:18px;height:18px;flex:0 0 18px;color:#d6eeff;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input{
  box-sizing:border-box;width:100%;min-width:0;max-width:none;height:100%;min-height:0;
  padding:0;border:0!important;border-radius:0;background:transparent!important;
  box-shadow:none!important;color:#fff;font-size:12px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503:focus-within{
  border-color:#b0edff;box-shadow:0 0 0 2px rgba(75,191,252,.15);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-people-v1498{
  gap:8px;min-width:0;overscroll-behavior:contain;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503{
  display:flex;flex-direction:row;align-items:center;gap:10px;text-align:left;
  box-sizing:border-box;width:100%;min-height:70px;min-width:0;
  padding:10px 12px;border-radius:19px;
  border:1px solid rgba(99,170,226,.25);
  background:rgba(20,67,124,.46);
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503:hover{
  border-color:rgba(115,213,255,.72);background:rgba(24,101,173,.57);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503.is-selected{
  border-color:#9eeeff;background:linear-gradient(135deg,rgba(29,148,218,.77),rgba(11,90,178,.62));
  box-shadow:inset 0 0 0 1px rgba(179,243,255,.43),0 0 12px rgba(31,156,227,.2);
}
html body .app-header .atosy-chat-avatar-v1503{
  display:grid;place-items:center;flex:0 0 40px;
  width:40px;height:40px;border-radius:50%;
  color:white;background:linear-gradient(135deg,#22c4ef,#2467db);
  border:1px solid rgba(191,241,255,.44);
  font-size:13px;font-weight:800;letter-spacing:.01em;
}
html body .app-header .atosy-chat-avatar-v1503.is-unit{
  background:linear-gradient(145deg,#7958dd,#386dce);font-size:18px;
}
html body .app-header .atosy-chat-list-copy-v1503{
  display:flex;flex-direction:column;flex:1;min-width:0;gap:4px;
  overflow:hidden;
}
html body .app-header .atosy-chat-list-copy-v1503 strong{
  font-size:13px;font-weight:800;color:#fff;line-height:1.3;overflow-wrap:anywhere;
}
html body .app-header .atosy-chat-list-copy-v1503 small{
  color:#b8d6ed;font-size:10px;line-height:1.25;overflow-wrap:anywhere;
}
html body .app-header .atosy-chat-lock-v1503{
  font-size:13px;flex:none;opacity:.66;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-conversation-v1498{
  min-width:0;min-height:0;display:flex;flex-direction:column;
  background:linear-gradient(165deg,rgba(5,37,87,.45),rgba(5,27,64,.43));
}
html body .app-header .atosy-chat-v1503 .atosy-chat-peer-v1498{
  display:flex;align-items:center;gap:12px;min-height:65px;padding:10px 17px;
  box-sizing:border-box;flex:0 0 auto;min-width:0;
  background:rgba(11,57,115,.34);border-bottom:1px solid rgba(123,195,247,.3);
}
html body .app-header .atosy-chat-header-summary-v1503{
  display:flex;flex-direction:column;gap:5px;min-width:0;
}
html body .app-header .atosy-chat-header-summary-v1503 strong{
  font-size:14px;font-weight:800;color:#fff;line-height:1.2;
}
html body .app-header .atosy-chat-header-summary-v1503 small,
html body .app-header .atosy-chat-header-sub-v1503{
  color:#a9cbe7;font-size:11px;line-height:1.25;
}
html body .app-header .atosy-chat-header-title-v1503{
  font-size:14px;color:#fff;font-weight:850;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-messages-v1498{
  min-height:0;min-width:0;flex:1;gap:12px;padding:16px;overflow:auto;
}
html body .app-header .atosy-chat-zero-v1503{
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:10px;
  flex:1;min-height:150px;width:100%;text-align:center;
  color:#f2f9ff;
}
html body .app-header .atosy-chat-zero-icon-v1503{
  display:grid;place-items:center;width:82px;height:66px;
  margin-bottom:9px;border-radius:26px;
  background:linear-gradient(140deg,#22aae6,#1559b5);
  color:white;font-size:39px;border:1px solid #98ebff;
  box-shadow:0 0 23px rgba(31,173,252,.24);
}
html body .app-header .atosy-chat-zero-v1503 strong{
  font-size:18px;line-height:1.2;color:#fff;
}
html body .app-header .atosy-chat-zero-v1503 p{
  max-width:350px;padding:0;margin:0!important;
  color:#c0d9f0;font-size:12px;line-height:1.5;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-bubble-v1498{
  max-width:85%;padding:11px 14px;border-radius:19px 19px 19px 6px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-bubble-v1498.is-mine{
  border-radius:19px 19px 6px 19px;
}
html body .app-header .atosy-chat-author-v1503{
  display:block;color:#d6edff;font-weight:750;margin:0 0 7px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498{
  display:flex!important;align-items:center!important;flex-flow:row nowrap!important;
  flex:0 0 auto;min-width:0;gap:10px;padding:12px 13px;
  background:rgba(5,33,75,.4);
  border-top:1px solid rgba(118,190,244,.38);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
  flex:1 1 0%!important;width:0!important;min-width:0!important;max-width:none!important;
  height:45px!important;min-height:45px!important;padding:0 17px!important;
  border:1px solid rgba(147,210,255,.67)!important;border-radius:999px!important;
  background:rgba(31,77,130,.52)!important;color:white!important;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){
  flex:0 0 86px!important;min-width:86px!important;max-width:86px!important;
  width:86px!important;height:45px!important;min-height:45px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;padding:0 10px!important;border:1px solid #9be7ff!important;
  border-radius:999px!important;
  background:linear-gradient(110deg,#1faaf1,#0964e0)!important;color:#fff!important;
  font-size:13px!important;font-weight:800!important;
  box-shadow:0 3px 15px rgba(23,117,235,.22);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > button svg{
  display:block;width:16px;height:16px;flex:none;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > button:disabled{
  opacity:.52;box-shadow:none;cursor:not-allowed;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > button:not(:disabled):hover{
  background:linear-gradient(110deg,#2bbff5,#147cf2)!important;
  box-shadow:0 0 14px rgba(48,163,255,.33);
}
html body .app-header .atosy-chat-v1503 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
  margin:13px 0 0;padding:10px 13px;border-radius:16px;
}
html body .app-header .atosy-chat-v1503 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621) span{
  margin-right:6px;color:#86defc;font-size:16px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-status-v1498{
  min-height:0;margin-top:7px;font-size:11px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-status-v1498:empty{display:none}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503:focus-visible,
html body .app-header .atosy-chat-tablist-v1503 button:focus-visible{
  outline:2px solid #a5edff;outline-offset:2px;
}
@media(max-width:760px){
 html body .app-header .header-right > .atosy-chat-v1503{
  width:min(710px,calc(100vw - 16px));max-width:calc(100vw - 16px);
  padding:13px;border-radius:23px;
 }
 html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
  grid-template-columns:minmax(125px,38%) minmax(0,1fr);
  height:clamp(300px,54vh,450px);border-radius:20px;
 }
 html body .app-header .atosy-chat-nav-v1503{flex-wrap:wrap;gap:8px}
 html body .app-header .atosy-chat-tablist-v1503{flex:1 1 100%;max-width:100%}
 html body .app-header .atosy-chat-hint-v1503{display:none}
 html body .app-header .atosy-chat-tablist-v1503 button{font-size:12px;min-height:38px}
 html body .app-header .atosy-chat-v1503 .atosy-chat-sidebar-v1498{padding:9px 7px}
 html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503{padding:8px;gap:6px;min-height:58px}
 html body .app-header .atosy-chat-avatar-v1503{width:31px;height:31px;flex-basis:31px;font-size:11px}
 html body .app-header .atosy-chat-list-copy-v1503 strong{font-size:11px}
 html body .app-header .atosy-chat-list-copy-v1503 small{font-size:9px}
 html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498{gap:6px;padding:8px}
 html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){
  flex-basis:61px!important;width:61px!important;min-width:61px!important;max-width:61px!important;
  font-size:11px!important;gap:3px!important;
 }
 html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
  padding:0 10px!important;font-size:11px!important;
 }
}
@media(max-width:420px){
 html body .app-header .atosy-chat-brand-v1503 h2{font-size:19px}
 html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{grid-template-columns:minmax(112px,42%) minmax(0,1fr)}
 html body .app-header .atosy-chat-tablist-v1503 button{padding:7px 4px;font-size:11px;gap:5px}
 html body .app-header .atosy-chat-tablist-v1503 button svg{width:15px;height:15px;flex-basis:15px}
 html body .app-header .atosy-chat-avatar-v1503{width:27px;height:27px;flex-basis:27px}
 html body .app-header .atosy-chat-list-row-v1503{gap:5px}
}
@media(prefers-reduced-motion:reduce){
 html body .app-header .atosy-chat-tablist-v1503 button,
 html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503{transition:none}
}

/* V1504 — Position chat mode switch in the chat title/header row. */
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-heading-v1495{
  display:flex;
  flex-flow:row wrap;
  align-items:center;
  justify-content:space-between;
  column-gap:20px;
  row-gap:12px;
  margin:0 0 19px;
  padding:0 5px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-brand-v1503{
  flex:0 1 auto;
  min-width:180px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-nav-v1503{
  flex:1 1 340px;
  display:flex;
  justify-content:center;
  min-width:0;
  max-width:520px;
  margin:0;
  padding:0;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-tablist-v1503{
  width:100%;
  max-width:520px;
  flex:1 1 auto;
  margin:0;
}
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-close-v1495{
  flex:0 0 40px;
  margin-left:auto;
}
@media(max-width:700px){
  html body .app-header .atosy-chat-v1503 .atosy-chat-nav-v1503{
    order:3;
    flex:1 1 100%;
    max-width:100%;
  }
  html body .app-header .atosy-chat-v1503 .atosy-chat-brand-v1503{min-width:0}
}

/* V1505 — Taller chat and white input text, including disabled composer placeholders. */
html body .app-header .header-right > .atosy-chat-v1503{
  max-height:calc(100dvh - 144px);
  overflow-y:auto;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
  height:clamp(350px,calc(100dvh - 350px),680px);
  max-height:none;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input,
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  caret-color:#fff!important;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input::placeholder,
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627])::placeholder{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:.94!important;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]):disabled{
  opacity:1!important;
  cursor:not-allowed;
}
@media(max-width:760px){
  html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
    height:clamp(300px,calc(100dvh - 335px),620px);
  }
}
@media(max-height:650px){
  html body .app-header .header-right > .atosy-chat-v1503{
    max-height:calc(100dvh - 120px);
  }
  html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
    height:max(300px,calc(100dvh - 325px));
  }
}

/* V1506 — Chat stretches to viewport bottom: size the whole panel, not only the message area. */
html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
  display:flex;
  flex-direction:column;
  height:calc(100dvh - 148px);
  max-height:calc(100dvh - 148px);
  min-height:0;
  overflow:hidden;
}
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-heading-v1495{
  flex:0 0 auto;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
  flex:1 1 auto;
  height:auto!important;
  min-height:0;
  max-height:none;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-status-v1498,
html body .app-header .atosy-chat-v1503 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
  flex:0 0 auto;
}
@media(max-height:620px){
  html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
    height:calc(100dvh - 148px);
    max-height:calc(100dvh - 148px);
    overflow-y:auto;
  }
  html body .app-header .atosy-chat-v1503 .atosy-chat-workspace-v1498{
    flex:1 0 220px;
  }
}

/* V1508 — Anchor Chat to viewport bottom with a visible 14px breathing gap.
   Fixed top/bottom avoids clipping by the header containing block or vh calculations. */
html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
  position:fixed!important;
  top:132px!important;
  bottom:14px!important;
  right:max(16px,3vw)!important;
  left:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
html body .app-header .header-right > .atosy-chat-v1503:not([hidden]) .atosy-chat-workspace-v1498{
  flex:1 1 0%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
@media(max-width:760px){
  html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
    right:8px!important;
    bottom:10px!important;
  }
}
@media(max-height:620px){
  html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
    top:96px!important;
    bottom:10px!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto;
  }
}

/* V1509 — Restore V1507 chat top alignment dynamically; preserve V1508 bottom gap. */
html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
  top:var(--atosy-chat-top-v1509,132px)!important;
  bottom:14px!important;
}
@media(max-width:760px){
  html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
    bottom:10px!important;
  }
}
@media(max-height:620px){
  html body .app-header .header-right > .atosy-chat-v1503:not([hidden]){
    top:var(--atosy-chat-top-v1509,96px)!important;
    bottom:10px!important;
  }
}

/* V1510 — Header tabs occupy right-hand space after removing the Chat close button. */
html body .app-header .atosy-chat-v1503 .atosy-internal-chat-heading-v1495{
  justify-content:space-between;
  column-gap:18px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-brand-v1503{
  flex:0 1 auto;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-nav-v1503{
  flex:0 1 620px;
  width:min(620px,100%);
  max-width:620px;
  margin-left:auto;
  margin-right:0;
  justify-content:flex-end;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-tablist-v1503{
  max-width:620px;
}
@media(max-width:700px){
  html body .app-header .atosy-chat-v1503 .atosy-chat-nav-v1503{
    order:3;
    flex:1 1 100%;
    width:100%;
    max-width:100%;
    margin-left:0;
  }
}

/* V1514 — Search within message content, with conversation jump. */
html body .app-header .atosy-chat-v1503 .atosy-chat-search-divider-v1514{
 padding:12px 7px 4px;color:#a8d9f7;font-size:10px;font-weight:800;
 letter-spacing:.09em;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-result-v1514{
 display:flex;flex-direction:column;align-items:flex-start;text-align:left;
 gap:5px;width:100%;min-width:0;box-sizing:border-box;
 padding:12px 13px;border:1px solid rgba(112,201,250,.35);
 border-radius:17px;background:rgba(19,81,144,.52);
 color:white;cursor:pointer;overflow-wrap:anywhere;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-result-v1514:hover{
 background:rgba(23,120,188,.72);border-color:#91dcff;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-result-v1514 strong{
 font-size:12px;color:#eaf8ff;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-result-v1514 span{
 font-size:12px;line-height:1.45;color:#fff;
 display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-result-v1514 small{
 font-size:10px;color:#add5ef;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-bubble-v1498.is-search-hit-v1514{
 outline:2px solid #a7ebff;outline-offset:3px;
 box-shadow:0 0 0 5px rgba(49,188,250,.19);
}

/* V1515 — Search highlighting of every match; only current result gets strong focus. */
html body .app-header .atosy-chat-v1503 .atosy-chat-bubble-v1498.is-search-match-v1515{
 box-shadow:0 0 0 1px rgba(114,222,255,.72),0 0 13px rgba(48,159,239,.14);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-bubble-v1498.is-search-hit-v1514{
 outline:2px solid #b6f2ff;outline-offset:3px;
 box-shadow:0 0 0 5px rgba(49,188,250,.19);
}

/* V1516 — High-contrast clear-search X, consistent with ATOSY cyan accents. */
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  flex:none;
  width:19px;
  height:19px;
  border-radius:50%;
  opacity:1;
  cursor:pointer;
  background-color:#53d7ff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.3 6.3l7.4 7.4m0-7.4l-7.4 7.4' stroke='%23072850' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position:center;
  background-size:100% 100%;
  background-repeat:no-repeat;
  box-shadow:0 0 0 1px rgba(197,246,255,.6),0 0 9px rgba(50,194,255,.25);
  transition:filter .16s ease,box-shadow .16s ease,transform .16s ease;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input[type="search"]::-webkit-search-cancel-button:hover{
  filter:brightness(1.14);
  transform:scale(1.08);
  box-shadow:0 0 0 2px rgba(217,251,255,.8),0 0 12px rgba(50,194,255,.48);
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input[type="search"]::-webkit-search-cancel-button{
    transition:none;
  }
}

/* V1517 — Minimal white search-clear X */
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  width:12px;
  height:12px;
  min-width:12px;
  min-height:12px;
  border:0;
  border-radius:0;
  background-color:transparent;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 2.4l7.2 7.2m0-7.2L2.4 9.6' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position:center;
  background-size:12px 12px;
  background-repeat:no-repeat;
  box-shadow:none;
  filter:none;
  opacity:.85;
  transform:none;
  cursor:pointer;
  transition:opacity .15s ease;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-search-wrap-v1503 input[type="search"]::-webkit-search-cancel-button:hover{
  opacity:1;
  transform:none;
  filter:none;
  box-shadow:none;
}

/* V1518 — Two independent Chat window sizes, without destroying conversation state. */
html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518{
  order:2;
  flex:0 0 34px;
  display:grid;place-items:center;
  width:34px;height:34px;min-width:34px;min-height:34px;
  margin-left:0;padding:0;
  border:1px solid rgba(151,218,255,.52);
  border-radius:12px;
  color:#dff7ff;background:rgba(27,82,141,.56);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518:hover{
  color:white;background:rgba(25,139,212,.72);
  border-color:#a6ebff;box-shadow:0 0 12px rgba(63,186,250,.25);
}
html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518:focus-visible{
  outline:2px solid #b7f0ff;outline-offset:2px;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518 svg{
  width:17px;height:17px;display:block;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518 .atosy-chat-expand-icon-v1518{
  display:none;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-size-toggle-v1518 .atosy-chat-expand-icon-v1518{
  display:block;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-size-toggle-v1518 .atosy-chat-compact-icon-v1518{
  display:none;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-nav-v1503{
  order:1;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518:not([hidden]){
  position:fixed!important;
  top:auto!important;
  bottom:14px!important;
  right:max(16px,3vw)!important;
  left:auto!important;
  width:min(520px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  height:min(610px,calc(100dvh - 158px))!important;
  max-height:calc(100dvh - 158px)!important;
  min-height:0!important;
  padding:15px!important;
  border-radius:26px!important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-internal-chat-heading-v1495{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-bottom:12px;padding:0 3px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503{
  flex:1 1 auto;min-width:0;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503 small{
  font-size:9px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503 h2{
  font-size:19px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-nav-v1503{
  order:3;flex:1 1 100%;max-width:100%;
  width:100%;margin:0;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503{
  width:100%;max-width:none;padding:3px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
  font-size:11px;padding:7px 5px;min-height:34px;gap:5px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button svg{
  width:15px;height:15px;flex-basis:15px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-workspace-v1498{
  display:grid;grid-template-columns:minmax(145px,39%) minmax(0,1fr);
  flex:1 1 0%!important;
  height:auto!important;min-height:0!important;
  border-radius:20px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498{
  padding:10px 7px;gap:7px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-wrap-v1503{
  min-height:36px;height:36px;padding:0 8px;gap:5px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-wrap-v1503 svg{
  width:14px;height:14px;flex-basis:14px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-wrap-v1503 input{
  font-size:10px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-row-v1503{
  min-height:54px;padding:7px;gap:6px;border-radius:14px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-avatar-v1503{
  width:28px;height:28px;flex-basis:28px;font-size:10px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-copy-v1503 strong{
  font-size:11px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-copy-v1503 small{
  font-size:9px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-peer-v1498{
  padding:8px;gap:7px;min-height:55px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-header-summary-v1503 strong{
  font-size:12px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-header-summary-v1503 small{
  font-size:9px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-messages-v1498{
  padding:10px;gap:8px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-bubble-v1498{
  max-width:95%;padding:8px 10px;font-size:12px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-zero-icon-v1503{
  width:48px;height:44px;font-size:24px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-zero-v1503 strong{
  font-size:13px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-zero-v1503 p{
  font-size:10px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-compose-v1498{
  padding:7px;gap:5px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
  min-height:36px!important;height:36px!important;padding:0 9px!important;font-size:11px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){
  width:51px!important;min-width:51px!important;max-width:51px!important;flex-basis:51px!important;
  min-height:36px!important;height:36px!important;padding:0 4px!important;font-size:10px!important;gap:3px!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-compose-v1498 > button svg{
  width:12px;height:12px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){
  padding:8px;margin-top:8px;border-radius:13px;font-size:10px;line-height:1.35;
}
@media(max-width:520px){
 html body .app-header .atosy-chat-v1503.is-compact-v1518:not([hidden]){
   right:8px!important;bottom:10px!important;width:calc(100vw - 16px)!important;
   max-width:calc(100vw - 16px)!important;
   height:min(610px,calc(100dvh - 125px))!important;
   max-height:calc(100dvh - 125px)!important;
   padding:10px!important;
 }
 html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-workspace-v1498{
   grid-template-columns:minmax(115px,39%) minmax(0,1fr);
 }
}
@media(max-height:500px){
 html body .app-header .atosy-chat-v1503.is-compact-v1518:not([hidden]){
   height:calc(100dvh - 100px)!important;
   max-height:calc(100dvh - 100px)!important;
   overflow-y:auto;
 }
 html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-workspace-v1498{
   flex:1 0 190px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body .app-header .atosy-chat-v1503 .atosy-chat-size-toggle-v1518{transition:none}
}

/* V1520 — Compact Chat shares the expanded Chat's exact top edge. */
html body .app-header .header-right > .atosy-chat-v1503.is-compact-v1518:not([hidden]){
  top:var(--atosy-chat-top-v1509,132px)!important;
  bottom:14px!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
}
@media(max-width:520px){
  html body .app-header .header-right > .atosy-chat-v1503.is-compact-v1518:not([hidden]){
    top:var(--atosy-chat-top-v1509,132px)!important;
    bottom:10px!important;
    height:auto!important;
    max-height:none!important;
  }
}
@media(max-height:620px){
  html body .app-header .header-right > .atosy-chat-v1503.is-compact-v1518:not([hidden]){
    top:var(--atosy-chat-top-v1509,96px)!important;
    bottom:10px!important;
    height:auto!important;
    max-height:none!important;
  }
}

/* V1521 — compact chat hover-reveal conversation rail and single-row heading */
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-internal-chat-heading-v1495{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  column-gap:9px!important;
  padding:0 3px!important;
}
/* V1522 — reserve enough room for single-line Chat caption in compact mode */
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503{
  flex:0 0 184px!important;
  width:184px!important;
  min-width:0!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503 small{
  white-space:nowrap;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-nav-v1503{
  order:1!important;
  flex:0 1 288px!important;
  min-width:0!important;
  max-width:288px!important;
  width:288px!important;
  margin-left:auto!important;
  justify-content:stretch!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
  min-width:0!important;
  white-space:nowrap;
  font-size:10px!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-workspace-v1498{
  position:relative;
  display:grid!important;
  grid-template-columns:49px minmax(0,1fr)!important;
  overflow:hidden;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498{
  position:relative;
  width:49px!important;
  min-width:49px!important;
  max-width:49px!important;
  box-sizing:border-box;
  padding:9px 5px!important;
  gap:7px!important;
  z-index:5;
  overflow:hidden;
  background:#103964;
  border-right:1px solid rgba(105,188,242,.4);
  transition:width .18s ease,max-width .18s ease,box-shadow .18s ease;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within){
  width:min(232px,75vw)!important;
  max-width:min(232px,75vw)!important;
  box-shadow:10px 0 26px rgba(1,16,38,.48);
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-wrap-v1503{
  width:37px!important;
  min-width:37px!important;
  padding:0!important;
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:0;
  overflow:hidden;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-search-wrap-v1503{
  width:100%!important;
  min-width:0!important;
  padding:0 8px!important;
  justify-content:flex-start;
  gap:5px;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-wrap-v1503 input{
  opacity:0;
  width:0!important;
  min-width:0!important;
  pointer-events:none;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-search-wrap-v1503 input{
  opacity:1;
  width:100%!important;
  min-width:0!important;
  pointer-events:auto;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-row-v1503{
  width:37px!important;
  min-width:37px!important;
  box-sizing:border-box;
  display:flex;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503{
  width:100%!important;
  min-width:0!important;
  justify-content:flex-start!important;
  gap:6px!important;
  padding:7px!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-copy-v1503,
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-divider-v1514,
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-search-result-v1514{
  display:none!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-copy-v1503{
  display:flex!important;
  min-width:0!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-search-divider-v1514{
  display:block!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-search-result-v1514{
  display:flex!important;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-conversation-v1498{
  min-width:0;
}
@media(max-width:520px){
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503{
    flex-basis:158px!important;width:158px!important;
  }
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503 small{
    font-size:8px;letter-spacing:.11em;
  }
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-brand-v1503 h2{
    font-size:16px!important;
  }
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
    font-size:9px!important;
  }
}
@media(max-width:380px){
  /* Very narrow screens may wrap the tabs, but never break the caption. */
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-internal-chat-heading-v1495{
    flex-wrap:wrap!important;
  }
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-nav-v1503{
    flex:1 1 100%!important;
    max-width:100%!important;
    width:100%!important;
  }
}
@media(hover:none), (pointer:coarse){
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:focus-within{
    width:min(232px,75vw)!important;max-width:min(232px,75vw)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498{transition:none}
}

/* V1524 — center compact icons and remove compact-only scrollbar. */
/* The people list itself scrolls, not the outer sidebar. Suppress overflow only
   in the collapsed rail; restore scrolling on hover/keyboard expansion. */
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-people-v1498{
  overflow-y:hidden!important;
  overflow-x:hidden!important;
  scrollbar-width:none;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-people-v1498{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-row-v1503 > .atosy-chat-avatar-v1503{
  margin:0!important;
  padding:0!important;
  flex-shrink:0;
  display:grid;
  place-items:center;
  text-align:center;
  line-height:1;
}

/* V1523 — increase Chat mode tab readability without breaking compact layout */
html body .app-header .atosy-chat-v1503 .atosy-chat-tablist-v1503 button{
  font-size:17px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.005em;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.15;
  letter-spacing:0;
  padding-inline:4px;
  gap:5px;
}
@media(max-width:520px){
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
    font-size:12px!important;
  }
}
@media(max-width:380px){
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-tablist-v1503 button{
    font-size:11px!important;
  }
}

/* V1525 — orange unread indicator on Header Chat + per-conversation. */
html body .app-header .atosy-header-internal-chat-v1495 .atosy-chat-unread-badge-v1525,
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button .atosy-chat-unread-badge-v1525{
  position:absolute;top:-5px;right:-5px;z-index:4; /* V2403: above Aurora idle and hover rim (z-index:2). */
  display:grid;place-items:center;box-sizing:border-box;
  min-width:14px;height:14px;padding:0;
  border-radius:999px;
  background:#fa7928 linear-gradient(145deg,#ffb04c,#fa7928);
  border:2px solid #10345e;
  box-shadow:0 0 0 1px rgba(255,190,90,.36),0 2px 8px rgba(255,125,38,.32);
  color:#081c31;font-size:10px;line-height:1;font-weight:800;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}
html body .app-header .atosy-header-internal-chat-v1495 .atosy-chat-unread-badge-v1525.has-count-v1525,
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button .atosy-chat-unread-badge-v1525.has-count-v1525{
  min-width:19px;height:19px;top:-7px;right:-8px;
  padding:0 3px;color:#12233c;
}
html body .app-header .atosy-header-internal-chat-v1495 .atosy-chat-unread-badge-v1525[hidden],
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button .atosy-chat-unread-badge-v1525[hidden]{display:none!important}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-row-v1503{position:relative}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-unread-v1525{
  box-sizing:border-box;flex:0 0 auto;
  width:10px;height:10px;min-width:10px;
  border-radius:999px;
  background:#ff9a34;
  box-shadow:0 0 0 2px rgba(9,39,78,.8);
  margin-left:auto;
}
html body .app-header .atosy-chat-v1503 .atosy-chat-list-unread-v1525.has-count-v1525{
  display:grid;place-items:center;
  min-width:19px;width:auto;height:19px;
  padding:0 4px;font-size:10px;font-weight:800;color:#19283d;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-list-row-v1503 .atosy-chat-list-unread-v1525{
  position:absolute;top:1px;right:1px;
  width:7px;min-width:7px;height:7px;
  padding:0;overflow:hidden;font-size:0;color:transparent;
  margin:0;box-shadow:0 0 0 1px #0d345f;
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-chat-list-unread-v1525{
  position:static;width:10px;min-width:10px;height:10px;
  margin-left:auto;box-shadow:0 0 0 2px rgba(9,39,78,.8);
}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-chat-list-unread-v1525.has-count-v1525{
  min-width:19px;width:auto;height:19px;
  padding:0 4px;font-size:10px;color:#19283d;
}

html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789){
  display:inline-flex;align-items:center;justify-content:center;
  position:relative;flex:0 0 42px;width:42px;min-width:42px;height:42px;min-height:42px;
  margin:0 8px 0 0;padding:0;border-radius:14px;
  border:1px solid rgba(116,184,249,.45);
  background:linear-gradient(155deg,rgba(12,66,129,.95),rgba(5,38,89,.95));
  color:#dceeff;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
/* V2790 — Office shares the Browser/Chat utility styling and geometry, not behavior. */
/* V1554 — Browser button: exact V1500 internal Chat hover, press and expanded-state parity. */
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789){
  transform:translateY(0) scale(1);
  transform-origin:center;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789):hover{
  transform:translateY(-2px) scale(1.045);
  color:#fff;
  border-color:#9ee9ff;
  background:linear-gradient(145deg,rgba(26,153,224,.95),rgba(18,95,188,.96));
  box-shadow:0 0 0 1px rgba(122,226,255,.25),0 5px 18px rgba(28,163,242,.28),inset 0 1px 0 rgba(255,255,255,.18);
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789):active{
  transform:translateY(0) scale(.97);
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789)[aria-expanded="true"]{
  border-color:#8addff;
  background:linear-gradient(145deg,#176fb8,#0c509e);
  box-shadow:0 0 0 1px rgba(116,220,255,.20),0 0 16px rgba(37,151,236,.18);
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789) svg{
  display:block;
  transition:transform .18s ease;
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789):hover svg{
  transform:scale(1.055);
}
@media(prefers-reduced-motion:reduce){
  html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789),
  html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789) svg{transition:none}
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789):focus-visible{
  outline:2px solid #9de7ff;outline-offset:3px;
}
html body .app-header .header-right > :is(#atosy-header-browser-v1529,#atosy-header-office-v2789) svg{width:21px;height:21px;flex:none;}


/* V1600 — Global utilities: the compact header panels always remain above
   the full-size Browser. Within this stack, JS raises the most recently
   touched compact panel, without closing its siblings. */
html body .app-header{
  z-index:9000!important;
}
html body .app-header .header-right{
  z-index:3!important;
}
html body .app-header .header-right > #atosy-worktabs-panel-v1290,
html body .app-header .header-right > #atosy-notification-centre-v1298,
html body .app-header .header-right > #atosy-internal-chat-panel-v1495{
  isolation:isolate;
}

/* V1662 — expanded desktop Chat retains standalone geometry when Browser is open. */
/* V1617 — Show the complete signed-in email in the desktop account pill.
   Reserve sufficient room for the four utility icons and account label;
   do not truncate the account identity at ordinary desktop widths. */
@media (min-width:1280px){
  html body .app-header{
    grid-template-columns:minmax(185px,1fr) minmax(390px,auto) minmax(405px,1.05fr)!important;
    column-gap:12px!important;
  }
  html body .app-header .header-right{
    min-width:405px!important;
    overflow:visible!important;
  }
  html body .app-header .header-right > .user-pill{
    flex:0 0 auto!important;
    width:max-content!important;
    max-width:none!important;
    min-width:max-content!important;
    white-space:nowrap!important;
  }
  html body .app-header .header-right > .user-pill .user-info,
  html body .app-header .header-right > .user-pill .user-name{
    flex:0 0 auto!important;
    width:max-content!important;
    max-width:none!important;
    min-width:max-content!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
}
/* At intermediate desktop widths, favor legible account identity without
   forcing the navigation or icons off-screen: allow the pill to wrap on two
   lines rather than silently eliding the email. */
@media (min-width:1024px) and (max-width:1279px){
  html body .app-header .user-pill{
    flex-shrink:0!important;
    max-width:210px!important;
  }
  html body .app-header .user-info{
    overflow:visible!important;
    min-width:0!important;
  }
  html body .app-header .user-name{
    overflow-wrap:anywhere!important;
    white-space:normal!important;
    text-overflow:clip!important;
    overflow:visible!important;
    line-height:15px!important;
  }
}

/* V1619 — Chat Google Drive attachments + in-ERP image lightbox. */
html body .atosy-chat-attach-v1619{
  width:38px!important;min-width:38px!important;height:38px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;border-radius:50%!important;
  background:rgba(16,125,221,.4)!important;border:1px solid rgba(112,206,255,.65)!important;
  color:#f4fbff!important;font:700 26px/1 system-ui!important;
  cursor:pointer;
}
html body .atosy-chat-attach-v1619:hover:not(:disabled){background:rgba(25,165,255,.75)!important}
html body .atosy-chat-attach-v1619:disabled{opacity:.45!important;cursor:not-allowed!important}
html body .atosy-chat-file-card-v1619{
  display:flex;flex-direction:column;align-items:stretch;gap:7px;
  width:min(270px,100%);border:1px solid rgba(91,194,255,.55);
  border-radius:12px;background:rgba(16,87,155,.46);color:#f5fbff;
  padding:8px;cursor:zoom-in;overflow:hidden;text-align:left;
}
html body .atosy-chat-file-card-v1619:hover{border-color:#a9e9ff;background:rgba(31,125,207,.6)}
html body .atosy-chat-file-thumbnail-v1619{
  display:block;width:100%;min-height:76px;max-height:235px;object-fit:contain;
  background:rgba(1,23,56,.55);border-radius:8px;
}
html body .atosy-chat-file-card-v1619 small{
  font-size:11px;line-height:1.4;overflow-wrap:anywhere;color:#e2f4ff;
}
html body .atosy-chat-file-icon-v1619{font-size:34px;text-align:center;padding:9px}
html body .atosy-chat-messages-v1498.is-file-drop-v1619{
  outline:2px dashed #55d6ff;outline-offset:-5px;background:rgba(19,100,168,.25);
}
html body .atosy-chat-media-overlay-v1619{
  position:fixed!important;inset:0!important;z-index:2147483638!important;
  display:flex;align-items:center;justify-content:center;
  padding:18px;background:rgba(0,12,38,.92)!important;
  backdrop-filter:blur(10px);
}
html body .atosy-chat-media-dialog-v1619{
  display:flex;flex-direction:column;width:min(1190px,96vw);
  height:min(820px,94vh);min-height:320px;
  border:1px solid #47b7fc;border-radius:18px;overflow:hidden;
  background:#0b2b53;color:#ecf8ff;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}
html body .atosy-chat-media-header-v1619{
  display:flex;align-items:center;gap:16px;justify-content:space-between;
  flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid rgba(135,199,245,.35);
}
html body .atosy-chat-media-heading-v1619{display:flex;flex-direction:column;gap:4px;min-width:0}
html body .atosy-chat-media-heading-v1619 strong{font-size:15px;overflow-wrap:anywhere}
html body .atosy-chat-media-heading-v1619 small{font-size:11px;color:#a9cce7}
html body .atosy-chat-media-actions-v1619{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
html body .atosy-chat-media-tool-v1619,
html body .atosy-chat-media-like-v1619,
html body .atosy-chat-media-info-v1619,
html body .atosy-chat-media-comment-form-v1619 button{
  border:1px solid #69b8ee;border-radius:22px;padding:7px 10px;
  background:#174e83;color:#f4fbff;font:650 12px/1.4 system-ui;cursor:pointer;
}
html body .atosy-chat-media-tool-v1619:hover,
html body .atosy-chat-media-comment-form-v1619 button:hover{
  background:#187bc0;border-color:#a0ddff;
}
html body .atosy-chat-media-tool-v1619.is-selected-v1619{background:#156ea8}
html body .atosy-chat-media-stage-v1619{
  display:flex;position:relative;align-items:center;justify-content:center;
  min-height:0;flex:1 1 auto;overflow:hidden;background:#031c38;touch-action:none;
}
html body .atosy-chat-media-image-v1619{
  max-width:100%;max-height:100%;object-fit:contain;user-select:none;
  -webkit-user-drag:none;transition:transform .12s;pointer-events:auto;
}
html body .atosy-chat-media-stage-v1619.is-crop-v1619{cursor:crosshair}
html body .atosy-chat-media-crop-v1619{
  position:absolute;z-index:2;pointer-events:none;
  border:2px dashed #f2c34e;background:rgba(255,213,102,.16);
}
html body .atosy-chat-media-file-v1619{padding:25px;overflow-wrap:anywhere;font-size:20px}
html body .atosy-chat-media-footer-v1619{
  display:flex;justify-content:space-between;gap:10px;padding:10px 18px;
  border-top:1px solid rgba(135,199,245,.35);
}
html body .atosy-chat-media-comments-v1619{
  display:flex;flex-direction:column;gap:7px;
  border-top:1px solid rgba(135,199,245,.25);padding:9px 18px;
  max-height:145px;flex:0 0 auto;
}
html body .atosy-chat-media-comments-list-v1619{min-height:0;overflow-y:auto;flex:1 1 auto}
html body .atosy-chat-media-comment-v1619{margin:3px 0;font-size:12px;overflow-wrap:anywhere}
html body .atosy-chat-media-comment-form-v1619{display:flex;gap:8px}
html body .atosy-chat-media-comment-form-v1619 input{
  flex:1;min-width:0;border:1px solid #5795c4;border-radius:15px;
  background:#143b67;color:white;padding:9px 12px;
}
@media(max-width:720px){
  html body .atosy-chat-media-dialog-v1619{height:96vh;width:100%}
  html body .atosy-chat-media-header-v1619{padding:9px}
  html body .atosy-chat-media-actions-v1619{gap:4px}
  html body .atosy-chat-media-tool-v1619{font-size:10px;padding:5px}
}

/* V1619 accessibility and file-picker isolation. */
html body .atosy-chat-compose-v1498 input[type="file"][hidden]{display:none!important}
html body .atosy-chat-media-overlay-v1619 button:focus-visible,
html body .atosy-chat-attach-v1619:focus-visible{outline:2px solid #c6f2ff!important;outline-offset:2px!important}

/* V1621 — unified Chat: two independent surfaces, one ATOSY design system.
   Scope every override to this feature so the legacy layout remains available. */
html body .app-header .header-right > .atosy-chat-v1503 #atosy-chat-external-v1621[hidden],
html body .app-header .header-right > .atosy-chat-v1503 #atosy-chat-internal-v1621[hidden],
html body .app-header .atosy-chat-v1503 .atosy-chat-surface-tabs-v1621[hidden],
html body .app-header .atosy-chat-v1503 .atosy-chat-close-v1621[hidden],
html body .app-header .atosy-chat-v1503 .atosy-chat-vpage-status-v1621[hidden]{display:none!important}
html body .app-header .header-right > .atosy-unified-chat-v1621:not([hidden]):not(.is-compact-v1518){
  width:min(1110px,calc(100vw - 32px));
  padding:18px;
  border-radius:34px;
  border-color:rgba(109,212,255,.78);
  background:linear-gradient(148deg,#15437c 0%,#092c61 48%,#071f49 100%);
  box-shadow:0 20px 56px rgba(0,15,37,.48);
}
html body .app-header .atosy-unified-chat-v1621 [hidden]{display:none!important}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-workspace-v1498[hidden]{display:none!important}
html body .app-header .atosy-unified-chat-v1621 .atosy-internal-chat-heading-v1495{
  display:flex;align-items:center;gap:12px;margin:0 0 15px;padding:0 3px;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-brand-v1503{flex:0 1 185px;min-width:0}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-brand-v1503::before{box-shadow:none;background:#38d2f6}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-brand-v1503 h2{font-size:25px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-nav-v1503{
  flex:1 1 450px;max-width:550px;width:auto;margin:0 auto;order:0;min-width:0;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621{
  box-sizing:border-box;display:flex;width:100%;min-width:0;gap:4px;padding:3px;
  border:1px solid rgba(130,203,254,.52);border-radius:999px;background:rgba(5,33,76,.56);
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button{
  position:relative;
  display:flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;min-width:0;
  min-height:42px;padding:8px 12px;border:1px solid transparent;border-radius:999px;
  background:transparent;color:#d9eaff;font:700 12.5px/1.18 system-ui,sans-serif!important;white-space:nowrap;cursor:pointer;
  /* V1656: stable first paint; never inherit delayed SVOA submenu typography. */
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button[aria-selected="true"]{
  background:linear-gradient(110deg,#20b8ef,#0966e8);border-color:#87eaff;color:#fff;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button:not([aria-selected="true"]):hover{background:rgba(34,131,217,.27)}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 svg{width:19px;height:19px;flex:none}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-close-v1621{
  display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;
  border:1px solid transparent;border-radius:50%;color:#fff;background:transparent;cursor:pointer;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-close-v1621:hover{border-color:#416b98;background:#133d68}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-close-v1621 svg{width:21px;height:21px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-workspace-v1498{
  border-radius:25px;border-color:rgba(108,190,246,.58);background:linear-gradient(125deg,#082b5b,#072451);
  grid-template-columns:minmax(122px,35%) minmax(0,1fr);
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-sidebar-v1498{
  padding:12px;gap:9px;background:linear-gradient(165deg,rgba(8,52,102,.45),rgba(5,39,83,.29));border-right-color:rgba(127,197,247,.35);
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-search-wrap-v1503{
  box-sizing:border-box;height:39px;min-height:39px;background:rgba(37,83,137,.62);border-color:rgba(151,211,255,.62);
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621{
  display:flex;flex:0 0 auto;width:100%;max-width:none;min-width:0;padding:3px;gap:3px;
  box-sizing:border-box;background:rgba(5,33,76,.56);border:1px solid rgba(130,203,254,.52);border-radius:999px;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621 button{
  border-radius:999px;min-height:39px;min-width:0;gap:6px;padding:7px 7px;
  font-size:12px!important;font-weight:700;box-shadow:none;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621 button svg{width:16px;height:16px;flex:0 0 16px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621 button[aria-selected="true"]{
  background:linear-gradient(110deg,rgba(32,184,239,.84),rgba(9,102,232,.84));border-color:rgba(135,234,255,.84);color:#fff;box-shadow:none;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-people-v1498{gap:4px;flex:1;min-height:0}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-list-row-v1503{
  min-height:60px;border-radius:22px;padding:9px;background:rgba(20,67,124,.46);border-color:rgba(99,170,226,.25);
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-list-row-v1503:hover{background:rgba(24,101,173,.57);border-color:rgba(115,213,255,.72)}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-list-row-v1503.is-selected{
  background:linear-gradient(135deg,rgba(29,148,218,.77),rgba(11,90,178,.62));border-color:#9eeeff;box-shadow:none;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-conversation-v1498{background:linear-gradient(165deg,rgba(5,37,87,.45),rgba(5,27,64,.43))}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-peer-v1498{background:rgba(11,57,115,.34);min-height:60px;border-color:rgba(123,195,247,.3)}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-zero-icon-v1503{box-shadow:none;border-radius:26px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-bubble-v1498{background:#1b4d7e;border:1px solid rgba(108,190,246,.38);border-radius:24px 24px 24px 12px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-bubble-v1498.is-mine{background:linear-gradient(130deg,#1477bc,#135caa);border-color:rgba(108,190,246,.58);border-radius:24px 24px 12px 24px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-compose-v1498{background:rgba(5,33,75,.4);border-color:rgba(118,190,244,.38);padding:10px;gap:7px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){background:rgba(31,77,130,.52)!important;border-color:rgba(147,210,255,.67)!important}
html body .app-header .atosy-unified-chat-v1621 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621){background:rgba(82,158,214,.13);border-color:rgba(106,183,239,.25);margin-top:9px;padding:9px 11px;border-radius:20px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:0 0 auto;width:100%;min-width:0;padding:6px;gap:4px;
  box-sizing:border-box;background:rgba(5,33,76,.56);border:1px solid rgba(130,203,254,.52);border-radius:22px;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621 button{
  display:flex;align-items:center;justify-content:center;min-height:39px;min-width:0;padding:7px 3px;border:1px solid transparent;
  border-radius:16px;background:transparent;color:#d9edff;font-size:12px!important;font-weight:700;white-space:nowrap;box-shadow:none;cursor:pointer;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621 button[aria-pressed="true"]{
  border-radius:16px;
  background:linear-gradient(110deg,rgba(32,184,239,.84),rgba(9,102,232,.84));border-color:rgba(135,234,255,.84);color:#fff;
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621 button:disabled{cursor:default;opacity:.65}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621 button:focus-visible{outline:2px solid #a5edff;outline-offset:-2px}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-channels-v1621{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-channels-v1621 button{font-size:10px!important;min-height:30px;padding:4px 1px}
@media(max-width:700px){html body .app-header .atosy-unified-chat-v1621 .atosy-chat-channels-v1621{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-external-empty-v1621{padding:10px 4px;color:#a6c4df;font-size:12px;line-height:1.5}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button:focus-visible,
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-close-v1621:focus-visible{outline:2px solid #a5edff;outline-offset:2px}
@media(max-width:760px){
  html body .app-header .header-right > .atosy-unified-chat-v1621:not([hidden]):not(.is-compact-v1518){width:calc(100vw - 16px);padding:10px;border-radius:25px}
  html body .app-header .atosy-unified-chat-v1621 .atosy-internal-chat-heading-v1495{flex-wrap:wrap;gap:9px;margin-bottom:10px}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-nav-v1503{order:3;flex:1 1 100%;max-width:none}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-close-v1621{margin-left:auto}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-workspace-v1498{grid-template-columns:minmax(112px,38%) minmax(0,1fr)}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-sidebar-v1498{padding:7px;gap:7px}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621{flex-direction:column}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621 button{font-size:11px!important;min-height:28px}
  html body .app-header .atosy-unified-chat-v1621 .atosy-chat-search-wrap-v1503{padding-inline:7px}
}
/* Keep V1524's hover-reveal compact rail and expose the two secondary tabs as icons. */
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-internal-chat-heading-v1495{flex-wrap:wrap!important;gap:6px!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-brand-v1503{flex:1 1 auto!important;width:auto!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-nav-v1503{order:3!important;flex:1 1 100%!important;width:100%!important;max-width:none!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-surface-tabs-v1621 button{min-height:34px;padding:5px 8px}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-subtabs-v1621{flex-direction:column;padding:2px!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-subtabs-v1621 button{font-size:0!important;gap:0;padding:4px!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-subtabs-v1621{flex-direction:row}
/* V1622 — Compact internal Chat matches expanded subtab typography. */
html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-subtabs-v1621 button{
  font-size:12px!important;gap:4px;padding-inline:5px;
}
@media(max-width:760px){
  html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-subtabs-v1621 button{font-size:11px!important}
}



/* V1624 — rounded geometry across both Chat sizes; preserve V1623 colors. */
html body .app-header .header-right > .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518:not([hidden]){border-radius:34px!important}
html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-workspace-v1498{border-radius:25px}
html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-list-row-v1503{border-radius:20px}
/* V2502 — collapsed desktop avatar rail is a square hit target with a
   circular perimeter, not the expanded contact row's 54px tall capsule.
   Keep the hover/focus-expanded list and phone layout unchanged. */
@media(min-width:761px){
  html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-list-row-v1503{
    --atosy-chat-rail-size-v2502:37px;
    position:relative;
    box-sizing:border-box!important;
    width:var(--atosy-chat-rail-size-v2502)!important;
    min-width:var(--atosy-chat-rail-size-v2502)!important;
    max-width:var(--atosy-chat-rail-size-v2502)!important;
    height:var(--atosy-chat-rail-size-v2502)!important;
    min-height:var(--atosy-chat-rail-size-v2502)!important;
    max-height:var(--atosy-chat-rail-size-v2502)!important;
    flex:0 0 var(--atosy-chat-rail-size-v2502)!important;
    aspect-ratio:1;
    border-radius:50%!important;
    align-self:center;
    padding:0!important;
  }
  html body .app-header .atosy-chat-v1503.atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-list-row-v1503 > .atosy-chat-avatar-v1503{
    box-sizing:border-box!important;
    width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
    flex:0 0 28px!important;border-radius:50%!important;
  }
}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-file-card-v1619{border-radius:20px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-file-thumbnail-v1619{border-radius:14px}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-search-result-v1514{border-radius:18px}

/* V1625 — match the external Chat paperclip glyph in internal Chat. */
html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > .atosy-chat-attach-v1619 svg{display:block;width:18px;height:18px;flex:none;}

/* V1628 — reserve the same responsive footer height on both chat tabs. */
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-vpage-status-v1621{display:grid;grid-template-columns:minmax(0,1fr);align-items:center}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-vpage-status-v1621 > div{grid-area:1/1;min-width:0}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-vpage-status-v1621 > [aria-hidden="true"]{visibility:hidden;pointer-events:none}
html body .app-header .atosy-unified-chat-v1621 .atosy-chat-vpage-status-v1621 > .atosy-chat-vpage-visible-v1628 span{color:#f59e0b}

/* V1650 — reuse the shared compact avatar rail; reveal external controls only when expanded. */
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-external-v1621 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-channels-v1621,
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-external-v1621 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) > button{display:none!important}
html body .app-header .atosy-unified-chat-v1621.is-compact-v1518 .atosy-chat-external-v1621 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-copy-v1503 small{white-space:normal!important;overflow-wrap:anywhere}

/* V1651 — group avatars mirror the internal unit palette. */
html body .app-header .atosy-chat-avatar-v1503.is-vpage-group-v1651{background:linear-gradient(145deg,#7958dd,#386dce);border-color:#c4b5fd99}

/* V1653 — InterMail recipient picker visual parity, scoped to Vpage. */
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-panel-v1653{padding:10px 14px;border-bottom:1px solid #477ba5;max-height:48%;overflow:auto;background:#102e54;flex-shrink:0}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-search-v1653{box-sizing:border-box;width:100%;padding:10px 12px!important;margin:6px 0;background:#092b57!important;color:#e8f4ff!important;border:1px solid rgba(83,173,236,.62)!important;border-radius:16px!important;font:600 12px/1.3 system-ui,sans-serif!important}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-search-v1653::placeholder{color:#9ebfdf!important}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-search-v1653:focus{outline:2px solid #77d5ff;outline-offset:1px}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-menu-v1653{max-height:min(320px,30vh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid rgba(83,173,236,.62);border-radius:16px;background:#092b57;scrollbar-width:thin;scrollbar-color:#4c87bd transparent}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-menu-v1653:empty{display:none}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-heading-v1653{padding:7px 9px 5px;font-size:10px;font-weight:800;letter-spacing:.035em;color:#82c9f6}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-option-v1653{display:flex;align-items:center;width:100%;min-width:0;gap:9px;border:0!important;border-radius:12px;padding:7px 9px;background:transparent!important;color:#e8f4ff!important;text-align:left;cursor:pointer;box-shadow:none!important}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-option-v1653:is(:hover,:focus-visible){background:rgba(37,108,179,.48)!important}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-avatar-v1653{flex:0 0 29px;display:grid;place-items:center;height:29px;width:29px;border-radius:50%;background:linear-gradient(135deg,#237fe2,#6a5de7);font-size:11px;font-weight:800}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-copy-v1653{display:grid;flex:1;min-width:0;gap:2px}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-copy-v1653 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-copy-v1653 small{color:#9ebfdf;font-size:10px;font-weight:400;overflow-wrap:anywhere}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-add-v1653{flex:0 0 17px;text-align:center;color:#77d5ff;font-weight:800}
html body .app-header .atosy-chat-v1503 .atosy-vpage-subject-empty-v1653{padding:16px;text-align:center;font-size:11px;color:#9cbadd}

/* V1660 — phone-first Chat, no desktop rail squeezed into a phone screen. */
#atosy-internal-chat-panel-v1495 .atosy-chat-mobile-control-v1660{display:none!important}
@media (max-width:760px){
  html body .app-header .header-right > #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([hidden]){
    position:fixed!important;inset:auto!important;top:var(--chat-mobile-top-v1660,0px)!important;left:0!important;right:0!important;
    width:100%!important;max-width:none!important;height:var(--chat-mobile-height-v1660,100dvh)!important;max-height:none!important;
    min-height:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:0!important;
    padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)!important;border:0!important;border-radius:0!important;
    background:linear-gradient(155deg,#12385f,#08244b 48%,#081e40)!important;overflow:hidden!important;
  }
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-internal-chat-heading-v1495{
    flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
    padding:13px 14px 10px!important;margin:0!important;
  }
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-brand-v1503{flex:1 1 auto!important;width:auto!important;min-width:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-brand-v1503 small{display:none!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-brand-v1503 h2{font-size:24px!important;line-height:1.2!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-nav-v1503{order:3!important;flex:1 1 100%!important;max-width:none!important;width:100%!important;margin:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-close-v1621{flex:0 0 44px!important;width:44px!important;height:44px!important;margin:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button{min-height:44px!important;font-size:14px!important;padding:5px 6px!important}
  html body .app-header .header-right > #atosy-internal-chat-panel-v1495:not([hidden]) .atosy-chat-workspace-v1498:not([hidden]){
    display:flex!important;flex:1 1 0%!important;min-height:0!important;min-width:0!important;width:100%!important;height:auto!important;
    border:0!important;border-radius:0!important;overflow:hidden!important;
  }
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-sidebar-v1498{
    display:flex!important;position:static!important;flex:1 1 100%!important;width:100%!important;max-width:none!important;min-width:0!important;
    padding:10px 14px!important;gap:10px!important;border:0!important;background:transparent!important;overflow:hidden!important;
  }
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-search-wrap-v1503{min-height:46px!important;height:46px!important;width:100%!important;flex-shrink:0!important;padding-inline:13px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-search-wrap-v1503 input{font-size:16px!important;min-width:0!important;width:100%!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621{flex-direction:row!important;gap:4px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-subtabs-v1621 button{flex:1 1 0!important;min-height:44px!important;font-size:14px!important;gap:6px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-channels-v1621{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;border-radius:22px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-channels-v1621 button{min-height:44px!important;font-size:12px!important;white-space:nowrap!important;padding:3px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-people-v1498{display:flex!important;flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;gap:7px!important;overscroll-behavior:contain}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-list-row-v1503{min-height:68px!important;flex:0 0 auto!important;width:100%!important;border-radius:17px!important;gap:12px!important;padding:10px 12px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-avatar-v1503{width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:15px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-list-copy-v1503{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:4px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-list-copy-v1503 strong{font-size:16px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-list-copy-v1503 small{font-size:13px!important;line-height:1.3!important;white-space:normal!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-sidebar-v1498 > button:not([hidden]){display:block!important;flex-shrink:0;min-height:44px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([data-chat-mobile-view-v1660="thread"]) .atosy-chat-conversation-v1498{display:none!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621[data-chat-mobile-view-v1660="thread"] .atosy-chat-sidebar-v1498,
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621[data-chat-mobile-view-v1660="thread"] .atosy-internal-chat-heading-v1495,
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621[data-chat-mobile-view-v1660="thread"] .atosy-internal-chat-note-v1495{display:none!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-conversation-v1498{flex:1 1 100%!important;min-width:0!important;min-height:0!important;width:100%!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-peer-v1498{
    display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;padding:8px 10px!important;min-height:64px!important;
    background:#123961!important;border-bottom:1px solid #34608a!important;
  }
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-peer-v1498 .atosy-chat-avatar-v1503{width:40px!important;height:40px!important;flex-basis:40px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-header-summary-v1503{flex:1 1 0!important;min-width:0!important;gap:3px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-header-summary-v1503 strong{font-size:16px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-header-summary-v1503 small{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-mobile-control-v1660{display:grid!important;place-items:center;flex:0 0 44px!important;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:rgba(55,124,190,.19);color:#e9f5ff;cursor:pointer}
  #atosy-internal-chat-panel-v1495 .atosy-chat-mobile-control-v1660 svg{width:22px;height:22px}
  #atosy-internal-chat-panel-v1495 .atosy-chat-mobile-close-v1660{margin-left:auto;order:1}
  #atosy-internal-chat-panel-v1495 .atosy-chat-mobile-subject-v1660:not([hidden]){order:2;flex:1 0 100%;margin:0!important;min-height:40px;font-size:13px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-messages-v1498{flex:1 1 0%!important;min-height:0!important;overflow:auto!important;padding:14px 12px!important;gap:12px!important;overscroll-behavior:contain}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498{max-width:88%!important;padding:10px 13px!important;font-size:16px!important;line-height:1.45!important;border-radius:18px 18px 18px 5px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498.is-mine{border-radius:18px 18px 5px 18px!important}
  #atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498 small{font-size:11px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-compose-v1498{flex:0 0 auto!important;padding:10px!important;gap:7px!important;min-height:64px!important;background:#102f54!important;margin:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-compose-v1498 > :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){font-size:16px!important;min-width:0!important;flex:1 1 0%!important;width:0!important;height:46px!important;min-height:46px!important;padding:8px 12px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-compose-v1498 > button{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-compose-v1498 > button:is([data-chat-send-v1498],[data-chat-external-send-v1627]){font-size:0!important;gap:0!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-compose-v1498 > button svg{width:21px!important;height:21px!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 :is(.atosy-internal-chat-note-v1495,.atosy-chat-vpage-status-v1621,.atosy-chat-status-v1498){flex:0 0 auto!important;margin:0!important;padding:7px 14px!important;border-radius:0!important;font-size:11px!important;line-height:1.35!important}
  #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-status-v1498:empty{display:none!important}
  #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-search-v1653{font-size:16px!important}
}

/* V1661 — keep Safari's keyboard accessory background solid and the composer flush. */
@media (max-width:760px){
  html:has(#atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([hidden])),
  html body:has(#atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([hidden])){
    overflow:hidden!important;overscroll-behavior:none!important;background:#081e40!important;
  }
  html body:has(#atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([hidden])) .app-main{
    visibility:hidden!important;
  }
  html body .app-header .header-right > #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not([hidden]){
    box-shadow:0 0 0 150vmax #081e40!important;
  }
  html body .app-header .header-right > #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621.is-mobile-keyboard-v1661:not([hidden]){
    padding-bottom:0!important;
  }
}

/* V1663 — desktop composer grows upward; mobile input geometry stays unchanged. */
@media (min-width:761px){
  html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498{flex:0 0 auto!important;align-items:flex-end!important}
  html body .app-header .atosy-chat-v1503 .atosy-chat-compose-v1498 > textarea:is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
    height:var(--chat-compose-height-v1663,45px)!important;min-height:45px!important;max-height:min(160px,25dvh)!important;
    padding:12px 17px!important;line-height:19px!important;font-family:inherit!important;resize:none!important;overflow-x:hidden!important;overflow-wrap:anywhere!important;border-radius:23px!important;
  }
  html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-compose-v1498 > textarea:is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){
    height:var(--chat-compose-height-v1663,36px)!important;min-height:36px!important;padding:8px 9px!important;line-height:18px!important;border-radius:18px!important;
  }
}

/* V1665 — floating Chat notifications never participate in composer layout. */
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498:not(:empty){
  position:absolute!important;left:16px!important;bottom:16px!important;right:auto!important;
  z-index:20!important;max-width:calc(100% - 32px)!important;width:max-content!important;
  min-height:0!important;margin:0!important;padding:9px 14px!important;
  border:1px solid rgba(108,202,255,.65)!important;border-radius:12px!important;
  background:#10395f!important;color:#d7efff!important;
  box-shadow:0 6px 22px #0006!important;pointer-events:none!important;
  overflow-wrap:anywhere!important;white-space:normal!important;
}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498.is-error:not(:empty){
  border-color:#e7a28c!important;color:#ffd0c4!important;background:#332a40!important;
}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498:empty{display:none!important}

/* V1667: compact inline message options; popup never changes composer layout. */
html body .app-header .atosy-chat-recalled-label-v1666{font-style:italic;opacity:.72}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-meta-v1667{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:4px;white-space:nowrap}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-meta-v1667 small{margin:0!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-options-v1667{display:inline-grid;place-items:center;flex:0 0 16px;width:16px;height:16px;min-width:0;min-height:0;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:#c8e9ff;font-size:14px;line-height:1;cursor:pointer;box-shadow:none}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-options-v1667:hover,#atosy-internal-chat-panel-v1495 .atosy-chat-message-options-v1667:focus-visible{background:#ffffff24;color:#fff}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-menu-v1667{position:absolute;right:0;bottom:calc(100% + 4px);z-index:20;display:grid;min-width:100px;padding:4px;border:1px solid #4e91bd;border-radius:14px;background:#143c64;box-shadow:0 4px 16px #0006}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-menu-v1667[hidden]{display:none!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-menu-v1667.opens-down{bottom:auto;top:calc(100% + 4px)}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-menu-v1667.align-left{right:auto;left:0}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-option-v1667{display:block;width:100%;padding:6px 10px;text-align:left;border:0;border-radius:999px;background:transparent;color:#e6f5ff;font-size:12px;cursor:pointer;white-space:nowrap}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-option-v1667:hover,#atosy-internal-chat-panel-v1495 .atosy-chat-message-option-v1667:focus-visible{background:#206da3}

/* V1668 — design-library inspired image loading, no broken native image. */
html body .atosy-chat-image-frame-v1668{display:block;position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;border-radius:14px;background:radial-gradient(ellipse at 35% 30%,#2865a8,#15345e 85%)}
html body .atosy-chat-image-frame-v1668 .atosy-chat-file-thumbnail-v1619{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;object-fit:contain;visibility:hidden}
html body .atosy-chat-image-frame-v1668[data-state="ready"] .atosy-chat-file-thumbnail-v1619{visibility:visible}
html body .atosy-chat-image-placeholder-v1668{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-content:center;gap:6px;padding:10px 8px;box-sizing:border-box;min-height:100%;color:#a8d9ff}
html body .atosy-chat-image-frame-v1668[data-state="ready"] .atosy-chat-image-placeholder-v1668{display:none}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-star-v1668{display:block;font-size:16px!important;line-height:18px!important;color:#96d3ff}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-label-v1668{display:block;font-size:10px!important;line-height:14px!important;font-weight:600;text-align:center;padding:0;white-space:nowrap!important;color:#fff}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-track-v1668{position:static!important;display:block;width:100%;max-width:140px;height:5px;box-sizing:border-box;border:1px solid #4b94bf;border-radius:10px;background:#0b2951;overflow:hidden}
html body .atosy-chat-image-track-v1668::after{content:"";display:block;width:25%;height:100%;border-radius:10px;background:#30c7f1;animation:atosy-chat-image-slide-v1668 1.3s ease-in-out infinite}
@keyframes atosy-chat-image-slide-v1668{from{transform:translateX(-100%)}to{transform:translateX(400%)}}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-frame-v1668[data-state="error"] .atosy-chat-image-track-v1668{display:none!important}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-frame-v1668[data-state="error"] .atosy-chat-image-label-v1668{white-space:normal!important;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){html body .atosy-chat-image-track-v1668::after{animation:none}}

/* V1670 — ATOSY notification system: modal + floating chat status. */
html body dialog.atosy-notify-dialog-v1670{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border:1px solid #4b8ab6;border-radius:26px;background:linear-gradient(145deg,#183e69,#0b2448);color:#edf8ff;box-shadow:0 24px 85px #0008;outline:none;font:500 14px/1.5 Inter,system-ui,sans-serif;text-align:center}
html body dialog.atosy-notify-dialog-v1670::backdrop{background:#030e21a6;backdrop-filter:blur(3px)}
html body .atosy-notify-icon-v1670{display:grid;place-items:center;margin:0 auto 13px;width:48px;height:48px;border-radius:18px;background:#1d527c;border:1px solid #60b5e8;color:#c1edff;font-size:26px}
html body .atosy-notify-dialog-v1670[data-kind="danger"] .atosy-notify-icon-v1670{background:#633244;border-color:#d98793;color:#ffd6dc}
html body .atosy-notify-title-v1670{font:700 20px/1.3 Inter,system-ui,sans-serif;color:#fff;margin:0 0 8px}
html body .atosy-notify-message-v1670{font:500 13px/1.55 Inter,system-ui,sans-serif;color:#b9d5ed;margin:0 0 22px;white-space:normal;overflow-wrap:anywhere}
html body .atosy-notify-actions-v1670{display:flex;justify-content:flex-end;gap:9px}
html body .atosy-notify-actions-v1670 button{flex:1;min-height:40px;border-radius:13px;padding:8px 14px;font:650 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer;color:#f4fbff;border:1px solid #528cba}
html body .atosy-notify-cancel-v1670{background:#183b60}
html body .atosy-notify-primary-v1670{background:linear-gradient(120deg,#20b7e4,#1765d8)}
html body .atosy-notify-dialog-v1670[data-kind="danger"] .atosy-notify-primary-v1670{background:linear-gradient(120deg,#d65c70,#aa3c59);border-color:#f28c9b}
html body .atosy-notify-actions-v1670 button:hover{filter:brightness(1.12)}
html body .atosy-notify-actions-v1670 button:focus-visible{outline:2px solid #a3e5ff;outline-offset:2px}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498:not(:empty){border-radius:18px!important;display:flex!important;align-items:center;gap:8px}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498:not(:empty)::before{content:"ℹ";flex:none;font-size:15px}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498[data-kind="success"]:not(:empty){background:#103e38!important;border-color:#53cda1!important;color:#b4f5d8!important}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498[data-kind="success"]::before{content:"✓"}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498[data-kind="error"]::before{content:"!"}
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498[data-kind="loading"]::before{content:"";width:13px;height:13px;border:2px solid #78c8f055;border-top-color:#b9f2ff;border-radius:50%;animation:atosy-notify-spin-v1670 .8s linear infinite}
@keyframes atosy-notify-spin-v1670{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-status-v1498[data-kind="loading"]::before{animation:none}}

/* V1673 — document preview uses existing ATOSY media viewer. */
html body .atosy-chat-document-stage-v1673{touch-action:auto;overflow:auto;align-items:stretch;justify-content:center}
html body .atosy-chat-document-frame-v1673{display:block;width:100%;height:100%;min-height:0;flex:1;border:0;background:#fff}
html body .atosy-chat-document-text-v1673{box-sizing:border-box;margin:0;padding:22px;width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#d9efff;font:13px/1.65 ui-monospace,monospace}
html body .atosy-chat-document-note-v1673{align-self:center;max-width:420px;padding:20px;text-align:center;color:#b7daf6;line-height:1.6}
html body .atosy-chat-media-actions-v1619 a.atosy-chat-media-tool-v1619{text-decoration:none;display:inline-flex;align-items:center}
html body .atosy-chat-media-actions-v1619 a[hidden]{display:none!important}

/* V1674 — compact attachment reader action, in both message colors. */
html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:6px;width:max-content;max-width:100%;padding:5px 11px;border:1px solid #7ec7ed;border-radius:999px;background:rgba(8,43,82,.46);color:#e4f6ff;text-decoration:none!important;font:500 11px/1.35 Inter,system-ui,sans-serif!important;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674 svg{width:13px;height:13px;flex:none}
html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674 span{font:inherit!important}
html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674:hover,html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674:focus-visible{background:#164c78;border-color:#b9efff;color:white;box-shadow:0 0 0 2px #8ce4ff25}
html body #atosy-internal-chat-panel-v1495 a.atosy-chat-document-open-v1674:focus-visible{outline:2px solid #b9efff;outline-offset:2px}

/* V1683 — Chat multi-channel subject association UI. */
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-toggle-v1683{border-radius:999px!important;padding:6px 12px!important;color:#f0f8ff!important;-webkit-text-fill-color:#f0f8ff!important;font-weight:600!important;transition:background .15s,border-color .15s;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-toggle-v1683:hover{background:#205582!important;border-color:#a5def9!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;box-sizing:border-box;padding:4px 10px;border-radius:999px;background:#183f68;color:#c8e8ff!important;-webkit-text-fill-color:currentColor!important;font-size:11px!important;font-weight:600!important;line-height:1.4;overflow-wrap:anywhere;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683:empty{display:none;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683[data-tone="warning"]{background:#ffbe591c;color:#ffd28a!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683[data-tone="success"]{background:#36d3991c;color:#89f0bc!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-status-v1683[data-tone="error"]{background:#ff77771c;color:#ffaaaa!important;}
html body #atosy-internal-chat-panel-v1495 input.atosy-vpage-subject-search-v1653{border-radius:999px!important;color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important;caret-color:#fff!important;font-weight:500!important;opacity:1!important;}
html body #atosy-internal-chat-panel-v1495 input.atosy-vpage-subject-search-v1653::placeholder{color:#b4cee8!important;-webkit-text-fill-color:#b4cee8!important;opacity:1!important;}
html body #atosy-internal-chat-panel-v1495 input.atosy-vpage-subject-search-v1653::-webkit-search-cancel-button{-webkit-appearance:none!important;width:12px;height:12px;cursor:pointer;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat!important;}

/* V1684 — create subject from chat search. */
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-search-row-v1684{display:flex;align-items:center;gap:8px;min-width:0;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-search-row-v1684 input{flex:1 1 0;min-width:0;width:0!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-create-v1684{flex:none;border-radius:999px!important;padding:8px 12px!important;border:1px solid #70c9ed!important;background:#17568a!important;color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important;font-size:12px!important;font-weight:600!important;white-space:nowrap;cursor:pointer;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-create-v1684:hover,html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-create-v1684:focus-visible{background:#2476af!important;border-color:#b4efff!important;}
html body #atosy-subject-create-v1-overlay.atosy-subject-create-from-chat-v1684{z-index:10001!important;}

/* V1686 — linked subject pills. */
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-action-v1686{border-radius:999px!important;color:#ecf8ff!important;-webkit-text-fill-color:#ecf8ff!important;font-weight:500!important;padding:5px 11px!important;transition:background .15s,border-color .15s;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-action-v1686:hover,html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-action-v1686:focus-visible{background:#205582!important;border-color:#a5def9!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-vpage-subject-option-v1653{border-radius:999px!important;}

/* V1697 — Larger channel labels only in expanded desktop Chat. */
@media(min-width:761px){
  html body .app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621:not(.is-compact-v1518) .atosy-chat-surface-tabs-v1621 button{
    font-size:16px!important;
  }
}

/* V1715 — Mobile-only official header: intrinsic brand, five contained utilities,
   and a separate full-width navigation row. No desktop declarations. */
@media (max-width:767px){
  html body #app-view.app-shell > header.app-header{
    --h-mobile-tool-size:clamp(30px,9.5vw,38px);
    box-sizing:border-box!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:6px 8px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:calc(6px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) 8px max(10px,env(safe-area-inset-left,0px))!important;
  }
  html body #app-view.app-shell > header.app-header > .header-left{
    grid-column:1!important;grid-row:1!important;min-width:0!important;
    width:100%!important;max-width:100%!important;
  }
  html body #app-view.app-shell > header.app-header .app-brand{
    gap:5px!important;min-width:0!important;max-width:100%!important;
  }
  html body #app-view.app-shell > header.app-header .brand-logo{
    width:28px!important;height:28px!important;min-width:28px!important;
    flex:0 0 28px!important;transform:none!important;
  }
  html body #app-view.app-shell > header.app-header .brand-copy{
    display:block!important;min-width:0!important;overflow:hidden!important;
  }
  html body #app-view.app-shell > header.app-header .brand-name{
    font-size:clamp(12px,3.4vw,16px)!important;line-height:1.15!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html body #app-view.app-shell > header.app-header .brand-tagline{
    display:block!important;font-size:clamp(7px,2vw,10px)!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html body #app-view.app-shell > header.app-header > .header-right{
    grid-column:2!important;grid-row:1!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-wrap:nowrap!important;gap:8px!important;
    width:max-content!important;min-width:0!important;max-width:100%!important;
    overflow:visible!important;
  }
  html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-browser-v1529,#atosy-header-office-v2789,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell,#atosy-account-toggle){
    box-sizing:border-box!important;
    flex:0 0 var(--h-mobile-tool-size)!important;
    width:var(--h-mobile-tool-size)!important;min-width:var(--h-mobile-tool-size)!important;max-width:var(--h-mobile-tool-size)!important;
    height:38px!important;min-height:38px!important;max-height:38px!important;
    padding:0!important;margin:0!important;gap:0!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    border-radius:11px!important;
  }
  html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-browser-v1529,#atosy-header-office-v2789,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell) > svg{
    width:17px!important;height:17px!important;flex:none!important;
  }
  html body #app-view.app-shell > header.app-header #atosy-account-toggle .user-avatar{
    width:23px!important;min-width:23px!important;height:23px!important;
    flex:0 0 23px!important;margin:0!important;
  }
  html body #app-view.app-shell > header.app-header #atosy-account-toggle :is(.user-info,.account-chevron){
    display:none!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation{
    grid-column:1/-1!important;grid-row:2!important;box-sizing:border-box!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    display:flex!important;flex-wrap:nowrap!important;gap:3px!important;padding:4px!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation > .atosy-main-nav-button{
    box-sizing:border-box!important;flex:1 1 0!important;max-width:100%!important;
    min-width:0!important;min-height:38px!important;height:auto!important;padding:5px 4px!important;
    gap:4px!important;font-size:clamp(11px,3.1vw,13px)!important;
    white-space:nowrap!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation > .atosy-main-nav-button .atosy-main-nav-icon{
    flex:0 0 16px!important;width:16px!important;height:16px!important;font-size:15px!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation > .atosy-main-nav-button .atosy-main-nav-icon svg{
    width:16px!important;height:16px!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation > .atosy-main-nav-button .atosy-nav-chevron{
    flex:0 0 10px!important;width:10px!important;height:10px!important;
  }
}
@media (max-width:350px){
  html body #app-view.app-shell > header.app-header > .header-right{gap:5px!important}
  html body #app-view.app-shell > header.app-header .brand-tagline{display:none!important}
  html body #app-view.app-shell > header.app-header .brand-logo{
    width:27px!important;height:27px!important;min-width:27px!important;flex-basis:27px!important;
  }
}
@media (max-width:300px){
  html body #app-view.app-shell > header.app-header{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
  }
  html body #app-view.app-shell > header.app-header > .header-right{
    grid-column:1!important;grid-row:2!important;justify-self:end!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation{
    grid-row:3!important;flex-wrap:wrap!important;
  }
  html body #app-view.app-shell > header.app-header > .top-navigation > .atosy-main-nav-button{
    flex:1 1 80px!important;
  }
}

/* V1771 — Dashboard SVG matches the actual capital-letter height. */
html body .app-header #atosy-nav-dashboard .atosy-dashboard-nav-label{display:inline-block!important;white-space:nowrap;line-height:inherit!important;overflow:visible!important;}
html body .app-header #atosy-nav-dashboard svg.atosy-dashboard-house-icon{display:inline-block!important;position:static!important;width:1cap!important;height:1cap!important;min-width:1cap!important;max-width:none!important;vertical-align:baseline!important;overflow:visible!important;transform:none!important;margin:0 3px 0 0!important;stroke-width:1.5!important;flex:none!important;}
@media(max-width:767px){html body .app-header #atosy-nav-dashboard svg.atosy-dashboard-house-icon{margin-right:2px!important;}}

/* V1780 — inline editing, matching existing chat palette and spacing. */
#atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498.is-editing-v1780{min-width:min(260px, 100%);box-sizing:border-box}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-v1780{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}
#atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498 textarea.atosy-chat-edit-input-v1780{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:64px;resize:vertical;border:1px solid rgba(147,210,255,.67)!important;border-radius:12px;padding:8px 10px;background:#143661!important;color:#fff!important;-webkit-text-fill-color:#fff!important;caret-color:#fff!important;font:inherit;line-height:1.45;outline:none;opacity:1!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498 textarea.atosy-chat-edit-input-v1780:focus{background:#143661!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#a4e5ff!important;box-shadow:0 0 0 2px #68c8ff35!important}
#atosy-internal-chat-panel-v1495 textarea.atosy-chat-edit-input-v1780::selection{background:#197dc6;color:#fff;-webkit-text-fill-color:#fff}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-actions-v1780{display:flex;justify-content:flex-end;gap:8px}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-actions-v1780 button{border:1px solid #86c9ef;border-radius:999px;padding:5px 14px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;color:#fff;background:#164b7d}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-actions-v1780 .atosy-chat-edit-save-v1780{background:linear-gradient(120deg,#19b9df,#1065d7)}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-actions-v1780 button:disabled{opacity:.5;cursor:default}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-error-v1780{color:#ffe0db;white-space:normal}
#atosy-internal-chat-panel-v1495 .atosy-chat-edit-error-v1780:empty{display:none}
#atosy-internal-chat-panel-v1495 .atosy-chat-edited-v1780{font-weight:400;opacity:.85}

#atosy-internal-chat-panel-v1495 .is-editing-v1780 > [hidden]{display:none!important}

/* Keep loading content in flow; reserve space without changing loaded images. */
html body #atosy-internal-chat-panel-v1495 .atosy-chat-file-card-v1619:has(.atosy-chat-image-frame-v1668:not([data-state="ready"])){width:min(144px,100%);min-width:min(144px,100%)}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-image-frame-v1668:not([data-state="ready"]){min-height:76px;aspect-ratio:auto;display:grid;align-items:center}

/* V1898 — reply quote and separate composer preview; no nested form controls. */
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-preview-v1898{
 flex:0 0 auto;display:flex;align-items:center;gap:10px;margin:0 10px;padding:9px 12px;
 border:1px solid #4d93c5;border-left:3px solid #60d3ff;border-radius:12px;
 background:#123c65;color:#eff8ff;min-width:0;
}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-preview-v1898[hidden]{display:none!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-text-v1898{flex:1;min-width:0}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-text-v1898 strong,
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-quote-v1898 strong{display:block;font-size:12px;font-weight:750;color:#abddff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-text-v1898 span,
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-quote-v1898 span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.35;color:#e5f2fe;white-space:normal}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-cancel-v1898{flex:0 0 36px;height:36px;border:0;border-radius:50%;background:rgba(125,190,240,.15);color:#fff;font-size:22px;cursor:pointer}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-quote-v1898{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0 0 6px;padding:7px 9px;text-align:left;border:0;border-left:3px solid #8bdfff;border-radius:7px;background:rgba(5,28,57,.39);color:#fff;cursor:pointer}
#atosy-internal-chat-panel-v1495 .atosy-chat-reply-quote-v1898:hover{background:rgba(5,28,57,.57)}
#atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498.is-reply-hit-v1898{outline:2px solid #7fe5ff;outline-offset:2px;box-shadow:0 0 14px #65cfff80}
@media(max-width:760px){#atosy-internal-chat-panel-v1495 .atosy-chat-reply-preview-v1898{margin:0 8px;padding:8px 10px}#atosy-internal-chat-panel-v1495 .atosy-chat-reply-cancel-v1898{flex-basis:40px;height:40px}#atosy-internal-chat-panel-v1495 .atosy-chat-reply-quote-v1898 span,#atosy-internal-chat-panel-v1495 .atosy-chat-reply-text-v1898 span{font-size:13px}}

/* V1899 — draft gallery and one bubble per attachment album. */
#atosy-internal-chat-panel-v1495 .atosy-chat-album-draft-v1899{flex:0 0 auto;margin:0 10px;padding:8px 10px;border:1px solid #4d93c5;border-radius:12px;background:#123c65;color:#e9f6ff;min-width:0}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-draft-v1899[hidden]{display:none!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-heading-v1899{font-size:12px;font-weight:700;color:#b5ddff;margin-bottom:7px}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-preview-grid-v1899{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 0 5px}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-preview-item-v1899{position:relative;flex:0 0 86px;width:86px;min-width:0;overflow:hidden;border-radius:9px;background:#092a50;border:1px solid #4b84ac}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-preview-item-v1899 img{display:block;width:100%;height:72px;object-fit:contain}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-preview-item-v1899 small{display:block;padding:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-file-icon-v1899{display:grid;place-items:center;height:72px;font-size:25px}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-remove-v1899{position:absolute;top:3px;right:3px;width:25px;height:25px;padding:0;border:1px solid #b5dcf7;border-radius:50%;background:#092744e8;color:#fff;font-size:19px;line-height:1;cursor:pointer}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-v1899.is-multiple{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:min(320px,58vw)}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-v1899.is-multiple .atosy-chat-file-card-v1619{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-v1899.is-multiple .atosy-chat-image-frame-v1668{width:100%!important;min-width:0!important;max-width:100%!important;aspect-ratio:1!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-v1899.is-multiple .atosy-chat-file-thumbnail-v1619{width:100%!important;height:100%!important;object-fit:cover!important}
#atosy-internal-chat-panel-v1495 .atosy-chat-album-caption-v1899{grid-column:1/-1;padding:5px 2px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){#atosy-internal-chat-panel-v1495 .atosy-chat-album-v1899.is-multiple{width:min(300px,68vw)}#atosy-internal-chat-panel-v1495 .atosy-chat-album-draft-v1899{margin:0 8px}}

/* V1902 — receipt is quiet until viewed by the actual recipient. */
#atosy-internal-chat-panel-v1495 .atosy-chat-message-meta-v1667{flex-wrap:wrap;row-gap:3px}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-meta-v1667 .atosy-chat-seen-v1902{display:inline-flex;align-items:center;white-space:nowrap;font-weight:650;color:#c8e3f8;opacity:1!important;font-size:10px;line-height:1.25}
#atosy-internal-chat-panel-v1495 .atosy-chat-message-meta-v1667 .atosy-chat-seen-v1902.is-seen-v1902{color:#a3f5c5}

/* V1906 — desktop message text only; preserve V1902 controls and mobile. */
@media(min-width:761px){
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498 > :is(div:not([class]),div[class=""]),
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498 .atosy-chat-album-caption-v1899{font-size:13px!important;font-weight:500!important;}
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498 > :is(div:not([class]),div[class=""]) > a{font-size:inherit!important;font-weight:inherit!important;}
}

/* V1925 — spacious inline editor, without enlarging ordinary chat bubbles. */
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498.is-editing-v1780{width:min(100%,620px)!important;min-width:0!important;max-width:92%!important;}
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-edit-v1780{width:100%;min-width:0;}
html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 textarea.atosy-chat-edit-input-v1780{min-height:132px!important;max-height:min(320px,40vh)!important;border-radius:16px!important;overflow-y:auto!important;white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical;}
@media(max-width:760px){html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 .atosy-chat-bubble-v1498.is-editing-v1780{max-width:96%!important;} html body #atosy-internal-chat-panel-v1495.atosy-chat-v1503.atosy-unified-chat-v1621 textarea.atosy-chat-edit-input-v1780{min-height:120px!important;max-height:min(280px,35vh)!important;}}

/* V2082 — desktop Chrome/sidebar/zoom: each header group owns its grid track.
   The utility track reserves its real intrinsic width, never overlaps Learning.
   Keep the existing phone stylesheet below 768px unchanged. */
@media (min-width:768px){
 html body #app-view.app-shell > header.app-header{
  box-sizing:border-box!important;
  grid-template-columns:max-content minmax(0,1fr) max-content!important;
  column-gap:clamp(12px,1.5vw,24px)!important;
 }
 html body #app-view.app-shell > header.app-header > .header-left{
  grid-column:1;grid-row:1;min-width:0!important;
 }
 html body #app-view.app-shell > header.app-header > .top-navigation{
  grid-column:2;grid-row:1;justify-self:center;
  position:relative!important;inset:auto!important;transform:none!important;
  width:max-content!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;flex-wrap:nowrap!important;
 }
 html body #app-view.app-shell > header.app-header > .header-right{
  grid-column:3;grid-row:1;justify-self:end;
  width:max-content!important;min-width:max-content!important;max-width:none!important;
  box-sizing:border-box!important;flex-wrap:nowrap!important;
 }
 html body #app-view.app-shell > header.app-header .atosy-main-nav-button{
  flex:0 1 auto!important;white-space:nowrap!important;
 }
 html body #app-view.app-shell > header.app-header .user-name{
  white-space:nowrap!important;overflow-wrap:normal!important;
 }
}
@media (min-width:1120px) and (max-width:1439px){
 html body #app-view.app-shell > header.app-header{padding-inline:clamp(16px,2vw,28px)!important;column-gap:12px!important;}
 html body #app-view.app-shell > header.app-header .atosy-main-nav-button{padding-inline:clamp(10px,1vw,15px)!important;}
 html body #app-view.app-shell > header.app-header > .top-navigation{gap:4px!important;}
}
@media (min-width:768px) and (max-width:1119px){
 html body #app-view.app-shell > header.app-header{
  grid-template-columns:minmax(0,1fr) max-content!important;
  grid-template-rows:auto auto!important;padding:12px 18px!important;row-gap:8px!important;
 }
 html body #app-view.app-shell > header.app-header > .header-right{grid-column:2;grid-row:1;}
 html body #app-view.app-shell > header.app-header > .top-navigation{grid-column:1/-1;grid-row:2;width:max-content!important;max-width:100%!important;}
}

/* V2099 — Fully rounded pinned-tab controls and rows. */
html body .app-header #atosy-worktabs-panel-v1290 :is(.atosy-worktabs-row-v1290,.atosy-worktabs-open-v1290,.atosy-worktabs-close-v1290,.atosy-worktabs-icon-v1290,.atosy-worktabs-pin-current-v1294,.atosy-worktabs-empty-v1291){border-radius:9999px!important;}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290{overflow:hidden;}

/* V2100 — Keep quoted replies compact, not capsule-shaped. */
html body #atosy-internal-chat-panel-v1495 button.atosy-chat-reply-quote-v1898,
html body #atosy-internal-chat-panel-v1495 button.atosy-chat-reply-quote-v1898:hover,
html body #atosy-internal-chat-panel-v1495 button.atosy-chat-reply-quote-v1898:focus-visible{border-radius:12px!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-chat-reply-preview-v1898{border-radius:14px!important;}

/* V2106 — stable native caret and readable selection, scoped to chat drafts. */
html body #atosy-internal-chat-panel-v1495 :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627]){caret-color:#e4f5ff!important;-webkit-text-fill-color:#fff!important}
html body #atosy-internal-chat-panel-v1495 :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627])::placeholder{-webkit-text-fill-color:currentColor!important}
html body #atosy-internal-chat-panel-v1495 :is(input,textarea):is([data-chat-message-input-v1498],[data-chat-external-input-v1627])::selection{background:#197dc6;color:#fff;-webkit-text-fill-color:#fff}

/* V2184: long self-notes keep their full text and collapse only presentation. */
#atosy-internal-chat-panel-v1495 .atosy-self-note-v2184{min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
#atosy-internal-chat-panel-v1495 .atosy-self-note-v2184[hidden]{display:none!important}
#atosy-internal-chat-panel-v1495 .atosy-self-note-body-v2184{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
#atosy-internal-chat-panel-v1495 .atosy-self-note-v2184.is-collapsed .atosy-self-note-body-v2184{max-height:12em;overflow:hidden;mask-image:linear-gradient(#000 0%,#000 80%,transparent 100%)}
#atosy-internal-chat-panel-v1495 .atosy-self-note-toggle-v2184{display:block!important;margin:6px 0 0!important;padding:5px 0!important;background:none!important;color:inherit!important;border:0!important;box-shadow:none!important;font:inherit!important;font-weight:700!important;text-decoration:underline;cursor:pointer}
#atosy-internal-chat-panel-v1495 .atosy-self-note-toggle-v2184::before,#atosy-internal-chat-panel-v1495 .atosy-self-note-toggle-v2184::after{content:none!important}

/* V2250 — Pinned worktab Liquid edge: one continuous parent-owned outline.
   Nested tab/close button hover must never paint a competing capsule border. */
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290{
 position:relative!important;
 isolation:isolate!important;
 overflow:hidden!important;
 border:1px solid rgba(113,193,248,.65)!important;
 border-radius:9999px!important;
 background:linear-gradient(110deg,rgba(35,108,181,.36),rgba(12,51,103,.48))!important;
 box-shadow:inset 0 1px 0 rgba(199,241,255,.13),0 0 0 1px rgba(25,122,211,.10)!important;
 transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290:is(:hover,:focus-within){
 border-color:rgba(125,223,255,.96)!important;
 background:linear-gradient(110deg,rgba(41,135,211,.45),rgba(16,69,134,.54))!important;
 box-shadow:inset 0 1px 0 rgba(225,248,255,.20),0 0 0 1px rgba(62,188,247,.16),0 0 13px rgba(40,166,245,.20)!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-open-v1290,
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-open-v1290:is(:hover,:active,:focus),
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-close-v1290{
 border:0!important;
 outline:0!important;
 box-shadow:none!important;
 background:transparent!important;
 filter:none!important;
 transform:none!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-open-v1290::before,
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-open-v1290::after{
 content:none!important;
 box-shadow:none!important;
 border:0!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-close-v1290:hover{
 background:rgba(164,220,255,.12)!important;
 color:#fff!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-open-v1290:focus-visible{
 outline:2px solid rgba(165,239,255,.94)!important;
 outline-offset:-4px!important;
 border-radius:9999px!important;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-row-v1290 .atosy-worktabs-close-v1290:focus-visible{
 outline:2px solid rgba(165,239,255,.94)!important;
 outline-offset:0!important;
}

/* V2509 — Header counters share the canonical V2252 Work Tabs geometry and optical rim.
   Only semantic color tokens differ; opaque fill prevents the underlying tool rim bleeding through. */
html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell) > :is(.atosy-worktabs-count-v1290,.atosy-chat-unread-badge-v1525,.atosy-header-notification-badge){
 position:absolute!important;
 top:-7px!important;
 right:-7px!important;
 z-index:10!important;
 display:grid!important;
 place-items:center!important;
 box-sizing:border-box!important;
 min-width:21px!important;
 height:21px!important;
 padding:0 5px!important;
 border:1px solid transparent!important;
 border-radius:999px!important;
 background:var(--header-count-fill) padding-box,var(--header-count-rim) border-box!important;
 background-color:var(--header-count-base)!important;
 opacity:1!important;
 filter:none!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
 mix-blend-mode:normal!important;
 color:var(--header-count-ink,#fff)!important;
 -webkit-text-fill-color:var(--header-count-ink,#fff)!important;
 font:800 11px/1 system-ui,sans-serif!important;
 font-variant-numeric:tabular-nums!important;
 text-shadow:0 1px 2px var(--header-count-text-shadow,rgba(0,28,85,.75))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 1px 5px rgba(0,16,49,.56),0 0 8px var(--header-count-glow)!important;
 isolation:isolate!important;
 pointer-events:none!important;
 transform:none!important;
}
html body #app-view.app-shell > header.app-header > .header-right > #atosy-worktabs-toggle-v1290 > .atosy-worktabs-count-v1290{
 --header-count-fill:linear-gradient(145deg,#168be9 0%,#1266d0 52%,#0848b0 100%);
 --header-count-rim:linear-gradient(135deg,#d2f8ff 0%,#81dcff 38%,#37aaff 72%,#b3ecff 100%);
 --header-count-base:#1266d0;--header-count-glow:rgba(57,190,255,.37);
}
html body #app-view.app-shell > header.app-header > .header-right > #atosy-header-internal-chat-v1495 > .atosy-chat-unread-badge-v1525{
 --header-count-fill:linear-gradient(145deg,#ffb04c 0%,#ff9a34 52%,#fa7928 100%);
 --header-count-rim:linear-gradient(135deg,#fff0d2 0%,#ffd381 38%,#ff9a37 72%,#ffe6b3 100%);
 --header-count-base:#ff9a34;--header-count-glow:rgba(255,125,38,.32);
 --header-count-ink:#12233c;--header-count-text-shadow:rgba(255,223,173,.3);
}
html body #app-view.app-shell > header.app-header > .header-right > #atosy-header-notification-bell > #atosy-header-notification-badge{
 --header-count-fill:linear-gradient(145deg,#ff7180 0%,#f04455 52%,#c9233d 100%);
 --header-count-rim:linear-gradient(135deg,#ffe0e5 0%,#ff9ba9 38%,#f04455 72%,#ffc1cc 100%);
 --header-count-base:#f04455;--header-count-glow:rgba(240,68,85,.37);
 --header-count-text-shadow:rgba(94,0,18,.65);
}
html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell) > :is(.atosy-worktabs-count-v1290,.atosy-chat-unread-badge-v1525,.atosy-header-notification-badge)[hidden]{display:none!important;}
html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell) > :is(.atosy-worktabs-count-v1290,.atosy-chat-unread-badge-v1525,.atosy-header-notification-badge)::before,
html body #app-view.app-shell > header.app-header > .header-right > :is(#atosy-worktabs-toggle-v1290,#atosy-header-internal-chat-v1495,#atosy-header-notification-bell) > :is(.atosy-worktabs-count-v1290,.atosy-chat-unread-badge-v1525,.atosy-header-notification-badge)::after{content:none!important;}

/* V2380 — canonical Diamond V1024 palette, scaled luminous glass for compact Work Tabs.
   Exact S/V/O/A accents from liquid-diamond.js; same accents as Chain connector.
   Adapt the Diamond rim/reflection to 26px without its dark central fill. */
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379]{
 --wt-accent:#27c9ff;
 position:relative!important;isolation:isolate;box-sizing:border-box;
 flex:0 0 26px!important;width:26px!important;height:26px!important;
 display:grid!important;place-items:center!important;overflow:hidden;
 border:1px solid color-mix(in srgb,var(--wt-accent) 65%,#e6ffff)!important;
 border-radius:999px!important;
 background:radial-gradient(ellipse at 28% 12%,#ffffff99 0%,#ffffff24 28%,transparent 58%),linear-gradient(145deg,color-mix(in srgb,var(--wt-accent) 76%,white),var(--wt-accent) 48%,color-mix(in srgb,var(--wt-accent) 88%,#061a40))!important;
 color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1!important;
 box-shadow:inset 0 1px 2px #ffffffad,inset 0 -1px 2px #e6ffff50,0 0 5px color-mix(in srgb,var(--wt-accent) 85%,transparent),0 0 13px color-mix(in srgb,var(--wt-accent) 52%,transparent)!important;
 text-shadow:0 1px 2px #061a4070;
 transition:transform .16s ease,filter .16s ease;
}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379="S"]{--wt-accent:#00e5bd}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379="V"]{--wt-accent:#8b35ff}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379="O"]{--wt-accent:#008cff}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379="A"]{--wt-accent:#ff8c32}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379="D"]{--wt-accent:#27c9ff}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379]::before{content:none!important;}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379]>svg{width:15px!important;height:15px!important;display:block;pointer-events:none}
html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-open-v1290:hover .atosy-worktabs-icon-v1290[data-liquid-kind-v2379]{transform:scale(1.06);filter:brightness(1.09)}
@media(prefers-reduced-motion:reduce){html body .app-header #atosy-worktabs-panel-v1290 .atosy-worktabs-icon-v1290[data-liquid-kind-v2379]{transition:none!important;transform:none!important}}

/* V2387 — current device push settings in the existing notification centre. */
html body .app-header .atosy-push-device-v2387{display:grid;gap:10px;margin-top:12px;padding:13px;border:1px solid #437aa8;border-radius:18px;background:linear-gradient(145deg,#184b79,#0b264b);box-shadow:inset 0 1px 0 #bce5ff24}
html body .app-header .atosy-push-title-v2387{display:flex;align-items:center;gap:10px}
html body .app-header .atosy-push-title-v2387>span:last-child{display:grid;gap:3px;min-width:0}
html body .app-header .atosy-push-title-v2387 strong{font-size:14px;color:#f4faff}
html body .app-header .atosy-push-title-v2387 small,.atosy-push-note-v2387{font-size:11px;color:#b9d6ed;line-height:1.45}
html body .app-header .atosy-push-icon-v2387{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;color:white;border:1px solid #a0e8ff;background:radial-gradient(ellipse at 25% 10%,#ffffff7a,transparent 55%),linear-gradient(145deg,#38ddff,#0878ec);box-shadow:inset 0 1px 2px #ffffff80,0 0 12px #25bcff66}
html body .app-header .atosy-push-icon-v2387 svg{width:20px;height:20px}
html body .app-header .atosy-push-status-v2387{font-size:12px;line-height:1.5;color:#d3e8f9;overflow-wrap:anywhere}
html body .app-header button.atosy-push-action-v2387{min-height:36px;width:100%;border-radius:999px;border:1px solid #7fc9f8;background:linear-gradient(145deg,#1d8de8,#154a92);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
html body .app-header button.atosy-push-action-v2387:disabled{opacity:.55;cursor:not-allowed}
html body .app-header button.atosy-push-action-v2387:focus-visible{outline:2px solid #a2edff;outline-offset:2px}

/* V2404 — Liquid Presence Orb: three concentric halos and a white reflection. */
html body .app-header .atosy-presence-v2404{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;line-height:1.3;--presence-color:#FF8B42}
html body .app-header .atosy-presence-orb-v2404{position:relative;display:block;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,var(--presence-color) 0 30%,color-mix(in srgb,var(--presence-color) 28%,transparent) 31% 45%,color-mix(in srgb,var(--presence-color) 14%,transparent) 46% 68%,color-mix(in srgb,var(--presence-color) 7%,transparent) 69% 91%,transparent 92%);isolation:isolate}
html body .app-header .atosy-presence-orb-v2404::before{content:"";position:absolute;left:7px;top:7px;width:3px;height:3px;border-radius:50%;background:#ffffffb3;pointer-events:none}
html body .app-header .atosy-presence-label-v2404{font-size:11px;font-weight:600;color:var(--presence-color);white-space:normal;overflow-wrap:anywhere}
html body .app-header .atosy-chat-v1503.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover,:focus-within) .atosy-presence-v2404{display:none}

/* V2405 — Personal Workspace account identity and shared Liquid Presence Orb. */
html body .app-header #atosy-account-toggle .atosy-personal-orb-v2405{flex:0 0 30px;width:30px;height:30px;min-width:30px;--presence-orb-size:30px}
html body .app-header #atosy-account-toggle .atosy-personal-orb-v2405::before{left:10px;top:10px;width:4px;height:4px}
html body .app-header #atosy-account-menu .atosy-personal-workspace-v2405{display:grid;gap:8px;padding:12px 14px 10px;text-align:left;min-width:228px;max-width:calc(100vw - 42px)}
html body .app-header .atosy-personal-heading-v2405{font-size:10px;letter-spacing:.08em;font-weight:800;color:#9bc6e9}
html body .app-header #atosy-personal-identity-v2405{font-size:14px;font-weight:750;overflow-wrap:anywhere}
html body .app-header #atosy-personal-email-v2405{font-size:11px;color:#b4d2eb;overflow-wrap:anywhere}
html body .app-header #atosy-personal-presence-v2405{padding:5px 0 10px;border-bottom:1px solid #6392bf44}

/* V2087 — account identity with visible live status, no additional timer. */
html body #app-view.app-shell > header.app-header #atosy-account-toggle .user-info{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-width:0;overflow:hidden;}
html body #app-view.app-shell > header.app-header #atosy-account-toggle #atosy-header-presence-v2087{display:block!important;max-width:100%;font-size:10px!important;font-weight:650;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--presence-color,#FF8B42)!important;-webkit-text-fill-color:currentColor!important;font-variant-numeric:tabular-nums;}

/* V2506 — compact conversation density; only the revealed desktop rail. */
@media(min-width:761px){
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503{
   min-height:44px!important;height:auto!important;padding:5px 7px!important;gap:6px!important;flex:0 0 auto!important;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-copy-v1503{
   gap:2px!important;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-copy-v1503 strong{
   font-size:11px!important;line-height:1.25!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-copy-v1503 small{
   font-size:9px!important;line-height:1.25!important;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-presence-v2404{
   gap:3px;line-height:1.2;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-presence-label-v2404{
   white-space:normal;overflow-wrap:normal;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-presence-orb-v2404{
   flex:0 0 16px;width:16px;height:16px;
 }
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:is(:hover,:focus-within) .atosy-chat-list-row-v1503 .atosy-presence-orb-v2404::before{
   left:6px;top:6px;width:2px;height:2px;
 }
}

/* V2518 — one stable presence typography for the conversation list, independent of hover, status and panel size. */
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495 .atosy-chat-list-row-v1503 .atosy-presence-v2404 > .atosy-presence-label-v2404{
 font-size:11px!important;
 font-weight:600!important;
 line-height:1.3!important;
 font-variant-numeric:tabular-nums;
 transition:none!important;
 animation:none!important;
}

/* V2521: local draft drop target; no layout changes and no background animation. */
html body .app-header #atosy-internal-chat-panel-v1495 .atosy-chat-conversation-v1498.is-file-drop-v2521{outline:2px dashed #83dbff;outline-offset:-3px;}

/* V2524 — compact Chat unread indicators: keep the avatar rim and tab rim behind the badge. */
@media(min-width:761px){
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-list-row-v1503{overflow:visible!important;isolation:isolate;}
 html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-sidebar-v1498:not(:hover):not(:focus-within) .atosy-chat-list-row-v1503 > .atosy-chat-list-unread-v1525{
  position:absolute!important;top:0!important;right:0!important;z-index:12!important;width:10px!important;min-width:10px!important;height:10px!important;padding:0!important;margin:0!important;box-sizing:border-box!important;border:1px solid #ffe2b0!important;border-radius:999px!important;background:#ff9a34!important;box-shadow:0 0 0 1px #10345e!important;opacity:1!important;filter:none!important;transform:none!important;pointer-events:none!important;
 }
}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-surface-tabs-v1621 button{overflow:visible!important;}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518 .atosy-chat-surface-tabs-v1621 button > .atosy-chat-unread-badge-v1525{
 top:3px!important;right:3px!important;z-index:12!important;opacity:1!important;filter:none!important;transform:none!important;mix-blend-mode:normal!important;isolation:isolate!important;background:#ff9a34!important;border:1px solid #ffe2b0!important;box-shadow:0 0 0 1px #10345e!important;pointer-events:none!important;
}

/* V2529 — shared right-side clearance: 4px Browser inset + 40px rail + 8px gutter. */
@media(min-width:761px){
 html body:has(#atosy-browser-workspace-v1530:not([hidden])) #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.is-compact-v1518:not([hidden]){
 right:max(52px,3vw)!important;
 max-width:calc(100vw - max(52px,3vw) - 8px)!important;
 }
}

/* V2790 — additional Office utility: reserve space on narrow phones, retain shared sizes. */
@media(max-width:380px){html body #app-view.app-shell > header.app-header{--h-mobile-tool-size:clamp(24px,7vw,28px)!important;}html body #app-view.app-shell > header.app-header > .header-right{gap:5px!important;}}

/* V2906 — third chat surface, compact responsive labels. */
html body .app-header .atosy-unified-chat-v1621[data-chat-surface-v1621="notes"] .atosy-chat-subtabs-v1621{display:none!important;}
@media(max-width:760px){html body .app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 button{font-size:12px!important;gap:4px;padding-inline:4px!important;}html body .app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 svg{width:14px;height:14px;}}

/* V2908: segmented tabs own their visual states, not standalone Liquid button hover. */
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621]{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;transform:none!important;filter:none!important;transition:background-color .15s ease!important;}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621]::before,html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621]::after{content:none!important;display:none!important;}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621][aria-selected="true"],html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621][aria-selected="true"]:hover{background:linear-gradient(110deg,#20b8ef,#0966e8)!important;border-color:#87eaff!important;color:#fff!important;box-shadow:inset 0 1px 3px #c5efff66!important;}
@media(hover:hover){html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621][aria-selected="false"]:hover{background:rgba(75,155,225,.20)!important;border-color:transparent!important;box-shadow:none!important;color:#fff!important;}}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495.atosy-unified-chat-v1621 .atosy-chat-surface-tabs-v1621 > button[data-chat-surface-v1621]:focus-visible{outline:2px solid #a5edff!important;outline-offset:1px!important;}

/* V2912 — scoped notes avatar and Liquid picker. */
html[data-atosy-aurora-midnight="v2"] body #atosy-internal-chat-panel-v1495 .atosy-note-avatar-v2912{background:linear-gradient(145deg,var(--note-a),var(--note-b))!important;color:white!important;border:1px solid #b7eaff88!important;display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 1px 3px #ffffff55!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-avatar-v2912 svg{width:52%;height:52%;flex:none;color:white!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-avatar-edit-v2912{padding:0;cursor:pointer;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947){box-sizing:border-box;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:20px;display:none;border:1px solid #71b8e3;border-radius:24px;background:var(--av-card,linear-gradient(145deg,#173c65,#0a203e));color:var(--av-text,#eef7ff);box-shadow:0 16px 50px #00102488;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912[open]{display:flex;flex-direction:column;gap:12px;}

html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947)>strong{font-size:18px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912>.atosy-note-avatar-v2912{align-self:center;width:64px;height:64px;flex:0 0 64px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-options-v2912{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
html[data-atosy-aurora-midnight="v2"] body #atosy-internal-chat-panel-v1495 button.atosy-note-option-v2912{height:42px;min-width:0;padding:0;border-radius:14px;background:linear-gradient(145deg,var(--note-a),var(--note-b))!important;color:white!important;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff40!important;}
html body #atosy-internal-chat-panel-v1495 button.atosy-note-option-v2912[aria-pressed="true"]{outline:2px solid #70e5ff!important;outline-offset:2px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-actions-v2912{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-action-v2912{border-radius:999px;padding:8px 14px;border:1px solid #82b9e3;background:var(--av-field,#173b60);color:var(--av-text,#fff);}
html body #atosy-internal-chat-panel-v1495 .atosy-note-action-v2912.is-primary{background:linear-gradient(120deg,#20b8ef,#0966e8)!important;color:white!important;}

/* V2913 — compact typography hierarchy for the personal notes avatar picker. */
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947){font-family:inherit!important;font-size:14px!important;line-height:1.45!important;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947)>strong{font-family:inherit!important;font-size:19px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:-.025em;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947)>small{font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:.01em;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912>small[role="status"]{font-size:12px!important;font-weight:500!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912>small[role="status"]:empty{display:none!important;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947) .atosy-note-actions-v2912>button.atosy-note-action-v2912{font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important;min-height:36px;box-sizing:border-box;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912 .atosy-note-actions-v2912>button.is-primary{font-weight:750!important;}

/* V2916 — compact nonmodal avatar popover, anchored to trigger. */
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912[open]{position:fixed!important;inset:auto;margin:0!important;width:min(310px,calc(100vw - 16px));padding:14px;gap:9px;border-radius:18px;z-index:2147483000;overscroll-behavior:contain;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947)>strong{font-size:16px!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912>.atosy-note-avatar-v2912{width:46px;height:46px;flex:0 0 46px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912 .atosy-note-options-v2912{gap:6px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912 .atosy-note-option-v2912{height:32px!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-picker-v2912 .atosy-note-actions-v2912{gap:5px;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-picker-v2912,.atosy-note-filter-v2947) .atosy-note-actions-v2912>button.atosy-note-action-v2912{min-height:30px;padding:5px 9px;}

/* V2917 — compact notes-only create action alongside search. */
#atosy-internal-chat-panel-v1495 .atosy-note-search-row-v2917{display:flex;align-items:center;gap:8px;min-width:0;width:100%;}
#atosy-internal-chat-panel-v1495 .atosy-note-search-row-v2917>.atosy-chat-search-wrap-v1503{flex:1 1 0;min-width:0;width:auto;margin:0;}
#atosy-internal-chat-panel-v1495 .atosy-note-new-v2917[hidden]{display:none!important;}
#atosy-internal-chat-panel-v1495 .atosy-note-new-v2917:not([hidden]){display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #78bce8;background:linear-gradient(120deg,#168cc9,#135baf);color:white;font:700 13px/1.3 inherit; font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;}
#atosy-internal-chat-panel-v1495 .atosy-note-new-v2917:disabled{opacity:.5;cursor:not-allowed;}

/* V2919 — keep search and subtabs on separate rows, counters only during search. */
#atosy-internal-chat-panel-v1495 .atosy-note-search-row-v2917{flex:0 0 auto;}
#atosy-internal-chat-panel-v1495 .atosy-note-search-row-v2917>.atosy-chat-search-wrap-v1503{min-width:0!important;flex:1 1 0!important;width:auto!important;}
#atosy-internal-chat-panel-v1495 .atosy-chat-subtabs-v1621:not([hidden]){width:100%;box-sizing:border-box;flex:0 0 auto;}
#atosy-internal-chat-panel-v1495 .atosy-chat-search-count-v2919{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#126fc8;color:#fff;font-size:10px;font-weight:750;line-height:1;flex:none;box-sizing:border-box;}
#atosy-internal-chat-panel-v1495 .atosy-chat-search-count-v2919[hidden]{display:none!important;}


/* V2924 — notes create control follows actual sidebar width, not viewport. */
#atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-search-row-v2917{container-type:inline-size;box-sizing:border-box;gap:6px;}
#atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-new-v2917{box-sizing:border-box;max-width:100%;}
@container (max-width: 150px){
 #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-search-row-v2917 > .atosy-chat-search-wrap-v1503{display:none!important;}
 #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-new-v2917:not([hidden]){font-size:0!important;width:36px;min-width:0;max-width:100%;height:36px;padding:0!important;margin-inline:auto;flex:0 1 36px;}
 #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-new-v2917:not([hidden])::before{content:"+";font-size:22px;font-weight:600;line-height:1;}
}


/* V2927 — softened Instagram-inspired DM palette, scoped to chat messages. */
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498.is-mine{
 background:linear-gradient(145deg,#8d5cd3 0%,#6f6de0 54%,#5a82e4 100%)!important;
 border-color:rgba(150,146,224,.42)!important;
 color:#fff!important;
}
html body #app-view.app-shell > header.app-header #atosy-internal-chat-panel-v1495 .atosy-chat-bubble-v1498:not(.is-mine){
 background:#263240!important;
 border-color:rgba(163,180,205,.18)!important;
 color:#f1f5fb!important;
}


/* V2930 — note metadata actions and wrapping tag chips. */
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-edit-v2930{margin-inline-start:auto;flex:0 0 auto;max-width:48%;white-space:normal;padding:6px 12px;border-radius:999px;border:1px solid #78bce899;background:linear-gradient(135deg,#1b5480,#102d51);color:#e9f5ff;font:inherit;font-size:12px;font-weight:650;cursor:pointer;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-edit-v2930:hover{border-color:#a1dfff;}
#atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930 label{display:grid;gap:6px;font-size:13px;font-weight:650;min-width:0;}
#atosy-internal-chat-panel-v1495 .atosy-note-input-v2930{box-sizing:border-box;width:100%;min-width:0;border:1px solid #78bce877;border-radius:12px;padding:10px;background:#0d294b;color:#f5f9ff;font:inherit;}
#atosy-internal-chat-panel-v1495 .atosy-note-tags-v2930{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%;}
#atosy-internal-chat-panel-v1495 .atosy-note-tag-v2930{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:3px 8px;border-radius:999px;background:#6aaee326;border:1px solid #76c3ff44;color:#d5ecff;font-size:11px;font-weight:600;line-height:1.25;}


/* V2932 — readable note editor and canonical two-level tag picker. */
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930{font-size:13px;gap:10px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930>strong{font-size:16px;font-weight:750;color:#f5f9ff;line-height:1.4;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930 label,html body #atosy-internal-chat-panel-v1495 .atosy-note-catalog-v2932>strong{font-size:12px;font-weight:650;color:#c7ddf2;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930 input.atosy-note-input-v2930{font-size:13px!important;font-weight:500!important;color:#f5f9ff!important;-webkit-text-fill-color:#f5f9ff!important;background:#0c294b!important;border:1px solid #76b9ec66!important;border-radius:14px!important;line-height:1.4;min-height:36px;box-shadow:none;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-meta-v2930 input.atosy-note-input-v2930::placeholder{color:#a0b9d4!important;-webkit-text-fill-color:#a0b9d4!important;}
#atosy-internal-chat-panel-v1495 .atosy-note-catalog-v2932{display:grid;gap:8px;min-width:0;}
#atosy-internal-chat-panel-v1495 .atosy-note-hint-v2932{color:#a9c2db;font-size:11px;font-weight:400;line-height:1.5;}
#atosy-internal-chat-panel-v1495 .atosy-note-tree-v2932{display:grid;gap:4px;max-height:230px;overflow:auto;padding:4px;min-width:0;overscroll-behavior:contain;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-row-v2932{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;width:100%;border:1px solid #79b8e633;border-radius:10px;background:#102b49;color:#e0ecfa;font-size:12px;font-weight:600;padding:8px 10px;cursor:pointer;line-height:1.4;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-row-v2932[data-level="2"]{padding-inline-start:24px;font-weight:450;background:#0e2440;color:#c5d9ee;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-row-v2932[aria-pressed="true"]{border-color:#73d1ef;background:#205577;color:#fff;}
#atosy-internal-chat-panel-v1495 .atosy-note-tag-v2930.is-empty{background:#8295ac1a;border-color:#8295ac44;color:#aec0d3;font-weight:500;}
#atosy-internal-chat-panel-v1495 .atosy-note-catalog-v2932 button.atosy-note-tag-v2930{cursor:pointer;}


/* V2934 — canonical catalog chip material, matching category-home/page.css V921. */
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-tree-row-v2932,.atosy-note-tag-v2930).has-catalog-color-v2934{
 border:1px solid color-mix(in srgb,var(--ach-tag-accent) 52%,transparent)!important;
 background:color-mix(in srgb,var(--ach-tag-accent) 16%,#08254b)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
 color:#f6faff!important;-webkit-text-fill-color:#f6faff!important;
}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-tree-row-v2932,.atosy-note-tag-v2930).has-catalog-color-v2934::before{
 content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-inline-end:8px;vertical-align:middle;background:var(--ach-tag-accent)!important;box-shadow:0 0 0 2px rgba(255,255,255,.07);
}
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-row-v2932.has-catalog-color-v2934[aria-pressed="true"]{
 outline:2px solid var(--ach-tag-accent);outline-offset:-2px;
}


/* V2938 — canonical V921 chip geometry and V939 icon geometry (category-home/page.css). */
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-v2932{justify-items:start;align-content:start;}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-tree-row-v2932,.atosy-note-tag-v2930).has-catalog-color-v2934{
 display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:8px;box-sizing:border-box;width:fit-content!important;max-width:100%;min-width:0!important;min-height:29px!important;height:auto!important;padding:3px 10px!important;border-radius:999px!important;font-weight:650!important;font-size:12px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:middle;
}
html body #atosy-internal-chat-panel-v1495 :is(.atosy-note-tree-row-v2932,.atosy-note-tag-v2930).has-catalog-color-v2934::before{content:none!important;display:none!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-tree-row-v2932[data-level="2"]{margin-inline-start:24px;max-width:calc(100% - 24px);}
#atosy-internal-chat-panel-v1495 .atosy-note-icon-v2938{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:14px;line-height:1;}
#atosy-internal-chat-panel-v1495 .atosy-note-dot-v2938{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--ach-tag-accent)!important;box-shadow:0 0 0 2px rgba(255,255,255,.07);}
#atosy-internal-chat-panel-v1495 .atosy-note-expand-v2938{flex:0 0 auto;font-size:10px;line-height:1;}

/* V2941 — private notes: compact trash navigation and reversible deletion. */
#atosy-internal-chat-panel-v1495 .atosy-note-trash-row-v2941[hidden]{display:none!important;}
#atosy-internal-chat-panel-v1495 .atosy-note-trash-row-v2941{display:flex;flex:0 0 auto;justify-content:flex-end;align-items:center;min-width:0;padding:0 2px 4px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-toggle-v2941{margin:0;max-width:100%;padding:4px 10px;min-height:28px;font-size:12px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-action-v2941{margin-inline-start:4px;flex:0 0 auto;max-width:100%;white-space:nowrap;padding:6px 9px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-action-v2941[data-restore="false"]{color:var(--av-text,#edf5ff);border-color:#b66876a8;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-action-v2941[data-restore="false"]:hover{border-color:#ec8997;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-action-v2941[data-restore="true"]{border-color:#42b99c;}
#atosy-internal-chat-panel-v1495 .atosy-note-trash-toggle-v2941:disabled{opacity:.5;cursor:not-allowed;}
@media(max-width:760px){html body #atosy-internal-chat-panel-v1495 .atosy-note-trash-action-v2941{font-size:11px;padding-inline:7px;}html body #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-meta-edit-v2930:not(.atosy-note-trash-action-v2941):not(.atosy-note-trash-toggle-v2941){max-width:34%;padding-inline:7px;}}

/* V2947 — notes footer stays outside the scrolling people list. */
#atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947[hidden]{display:none!important}
html body #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-trash-row-v2941:not([hidden]){display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:5px;padding:8px 0 0;border-top:1px solid #7fa6c640;margin-top:auto;flex-wrap:wrap}
html body #atosy-internal-chat-panel-v1495[data-chat-surface-v1621="notes"] .atosy-note-trash-row-v2941 button:not([hidden]){flex:1 1 auto;min-width:0;min-height:32px;margin:0;padding:5px 8px;white-space:nowrap;font-size:12px}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947:not([hidden]){display:flex;flex-direction:column;flex:0 0 auto;min-width:0;max-height:45%;overflow:auto;margin:0;width:100%;}
#atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 label{display:grid;gap:6px;min-width:0;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 select.atosy-note-input-v2930{width:100%;min-width:0;font-family:inherit!important;font-size:13px!important;font-weight:500!important;color:var(--av-text,#f5f9ff)!important;-webkit-text-fill-color:var(--av-text,#f5f9ff)!important;background:var(--av-field,#0c294b)!important;border:1px solid #76b9ec66!important;border-radius:14px!important;line-height:1.4;min-height:36px;padding:7px 12px;box-shadow:none;appearance:auto!important;}
#atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 option{color:CanvasText;background:Canvas}
@media(hover:none) and (pointer:coarse){#atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 select{font-size:16px}}

/* V2950 — use the avatar surface and typography; retain in-flow footer anchoring. */
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947:not([hidden]){width:100%;margin:0;padding:14px;gap:9px;border-radius:18px;box-sizing:border-box;max-height:48%;overflow:auto;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947>label>small{font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:.01em;color:var(--av-text,#eef7ff)!important;-webkit-text-fill-color:currentColor!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947>strong{color:var(--av-text,#eef7ff)!important;-webkit-text-fill-color:currentColor!important;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 select:focus-visible{outline:2px solid #71b8e3;outline-offset:1px;}
html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 option{color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;background:Canvas!important;}
@media(hover:none) and (pointer:coarse){html body #atosy-internal-chat-panel-v1495 .atosy-note-filter-v2947 select.atosy-note-input-v2930{font-size:16px!important;}}
