/* top-search.css v1.6 (2026-12-03, Joseph "go bell": the red number on the bell and the list under it, at the end) v1.5 (2026-11-01: launcher without + and chevron) v1.4 (2026-11-01: bell next to chat) v1.3 (2026-11-01: bell + chat icons) v1.2 (2026-11-01: no gap under the footer) v1.1 (2026-11-01: Top Bar 46px) v1.0 (2026-11-01, Joseph: "the Find button is too far from the search bar ... the magnifier is not centered ... make them
   look like one thing"). The Top Bar search box and Find are one control: the magnifier is a centered icon, Find sits inside the box's
   right end (index.html moves the button into label.search). Colors stay the theme's. */
header .search.search-joined{display:flex;align-items:stretch;gap:0;height:34px;padding:0;overflow:hidden;font-size:13px;line-height:1}
header .search.search-joined .search-ico{display:grid;place-items:center;flex:0 0 34px;color:var(--t-muted)}
header .search.search-joined .search-ico svg{width:16px;height:16px;display:block}
header .search.search-joined input{align-self:center;padding:0 4px 0 0;height:100%}
header .search.search-joined kbd{align-self:center;margin-right:8px}
header .search.search-joined .search-find{margin:0!important;align-self:stretch;height:auto;padding:0 16px;border:0!important;border-left:1px solid var(--t-border)!important;border-radius:0!important;box-shadow:none;background:var(--t-selected,transparent);color:var(--t-strong,inherit);font-size:12px;font-weight:600}
header .search.search-joined .search-find:hover{background:var(--t-accent);color:var(--t-surface);filter:none}
header .search.search-joined .search-find[hidden]{display:none}
header .search.search-joined:focus-within{border-color:var(--t-accent)}
/* v1.2 (Joseph 2026-11-01: no gap under the footer: work area = screen - Top Bar 46 - Client Info Bar 76 - footer 38). v1.1 (Joseph 2026-11-01, "widen the top bar a bit"): the Top Bar is 8px taller on desktop (38 -> 46px); the work area gives up the same 8px. */
@media(min-width:761px){
  :root,:root[data-theme^="minimal-"]{--shell-header:46px}
  body.oms-rail .app,body.oms-rail .app.cardhidden{height:calc(100dvh - 160px)}
}

/* v1.3 (2026-11-01, Joseph): bell (My Notifications) + chat-bubble messenger icon in the Top Bar, same size */
body>header :is(#notifBell,#notifications){display:inline-flex!important;align-items:center;justify-content:center;gap:3px;min-width:34px;height:32px;padding:0 6px!important;line-height:1}
body>header :is(#notifBell,#notifications) svg.top-ico{width:20px;height:20px;display:block;flex:0 0 auto}
/* v1.4 (Joseph: bell and messenger closer together): cancel most of the Top Bar gap between them */
body>header #notifBell{margin-right:calc(2px - var(--top-gap,14px))!important}
body>header :is(#notifBell,#notifications){min-width:30px!important;padding:0 4px!important}
/* v1.5 (Joseph: "What do you want to do?" in the Top Bar without the + or the chevron) */
header #launcher>.launcher-add,header #launcher>.launcher-chevron{display:none!important}
/* v1.6 (2026-12-03, Joseph "go bell"): the bell's number and its list (top-icons.js v1.2). Theme tokens, only the number is the same red in every theme (the dark themes' --t-bad is a pale pink). */
body>header #notifBell{white-space:nowrap}
body>header #notifBell i{display:inline-block;min-width:16px;padding:0 4px;border-radius:8px;background:#c62828;color:#fff;font-size:10px;font-style:normal;font-weight:800;line-height:16px;text-align:center}
#omsBell{position:fixed;z-index:950;width:380px;max-width:calc(100vw - 16px);max-height:min(520px,calc(100dvh - 70px));display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;
  border:1px solid var(--t-border);border-radius:12px;background:var(--t-surface);color:var(--t-text);box-shadow:0 18px 50px rgba(0,0,0,.38),0 2px 8px rgba(0,0,0,.2);outline:0;font-size:13px}
#omsBell[hidden]{display:none}
#omsBell .bell-head{display:flex;align-items:center;gap:8px;padding:10px 10px 10px 14px;border-bottom:1px solid var(--t-border)}
#omsBell .bell-head h2{flex:1;min-width:0;margin:0;font-size:14px;font-weight:700}
#omsBell .bell-head button{min-height:28px;padding:2px 10px;font-size:12px}
#omsBell .bell-head button:disabled{opacity:.45;cursor:default}
#omsBell .bell-list{flex:1;min-height:0;overflow:auto}
#omsBell ul{list-style:none;margin:0;padding:0}
#omsBell li+li{border-top:1px solid var(--t-border)}
#omsBell .bell-line{display:flex;align-items:flex-start;gap:9px;width:100%;min-height:48px;margin:0;padding:9px 14px 9px 10px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;box-shadow:none;cursor:pointer}
#omsBell .bell-line:hover{background:var(--t-selected,transparent)}
#omsBell .bell-line:focus-visible{outline:2px solid var(--t-accent);outline-offset:-2px}
#omsBell .bell-dot{flex:0 0 8px;height:8px;margin-top:5px;border-radius:50%}
#omsBell .unread .bell-dot{background:#e53935}
@media(max-width:760px){body>header #notifBell{position:relative}body>header #notifBell i{position:absolute;top:-2px;right:-4px;min-width:14px;padding:0 3px;font-size:9px;line-height:14px}}
#omsBell .bell-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
#omsBell .bell-text b{font-weight:500;color:var(--t-strong,inherit)}
#omsBell .unread .bell-text b{font-weight:700}
#omsBell .bell-line small{flex:0 0 auto;margin-top:1px;color:var(--t-muted);font-size:11px;white-space:nowrap}
#omsBell .masked{cursor:default}
#omsBell .bell-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#omsBell .bell-none{margin:0;padding:26px 14px;text-align:center;color:var(--t-muted)}
#omsBell .bell-more{display:block;width:calc(100% - 20px);margin:10px;min-height:32px}
