/* static/home/home.css - HOME, THE SERENE ONE, CHAT FIRST (v767; owner, 2026-10-30: "build it (Home, sign-in and the Chat page)" on
   /artifact/MX2VYE9UWdyMgreSns5zcm). static/home/home.js draws it. v768 (owner: "yes, remove the old Home code"): Look C's grid, dock,
   editing, menus, gallery and All apps styles are deleted. */
/* the old tile grid stays in the page for the waiting room only; the stylesheet shows it with display rules that outrank [hidden] */
#home-view.yh-on #home-app-grid, #home-view.yh-on .app-dots { display: none !important; }
#yh.yhs { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; }
#yh.yhs button { font-family: inherit; }
.yh-ico { display: block; flex: none; }                                    /* an agent's icon (YHome.icon) */
/* a figure on its way */
.yh-skel { display: grid; gap: 8px; margin-top: 14px; }
.yh-skel i { display: block; height: 13px; width: 85%; border-radius: 7px; background: linear-gradient(90deg, #EEF1F6, #F8F9FC, #EEF1F6); background-size: 200% 100%; animation: yh-sk 1.2s infinite linear; }
.yh-skel i:first-child { height: 24px; width: 65%; }
@keyframes yh-sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .yh-skel i { animation: none; } }

/* v767 THE SERENE HOME, CHAT FIRST (owner, 2026-10-30: "build it (Home, sign-in and the Chat page)" on /artifact/MX2VYE9UWdyMgreSns5zcm): the
   welcome, Today (the book's figures), Your agents (every agent, the whole card opens it), and the Chat as one quiet bar fixed at the foot.
   Calm ground with faint tints, light type, white cards on a hairline, gentle colours for late and due, the light-blue send. */
#home-view.yhs-on { background: radial-gradient(1000px 520px at 15% -10%, rgba(219,232,255,.55) 0, rgba(219,232,255,0) 60%),
                                radial-gradient(900px 520px at 100% 0%, rgba(236,232,252,.45) 0, rgba(236,232,252,0) 60%), #F8F9FB !important; }
#yh.yhs { max-width: 1000px; margin: 0 auto; padding: 22px 28px 170px; color: #1E293B; }
.yhs-hello h1 { margin: 0 0 6px; font: 600 27px/1.2 Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; color: #1E293B; text-wrap: balance; }
.yhs-hello p { margin: 0; max-width: 720px; color: #6B7588; font-size: 15px; line-height: 1.5; }
.yhs-carry { margin-top: 12px; height: 32px; padding: 0 14px; border: 1px solid #DCE2EC; border-radius: 16px; background: #fff; color: #2F5FB3; font: 500 13px Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.yhs-sec { margin: 30px 2px 12px; color: #8A94A6; font: 600 12px Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.yhs-sec span { margin-left: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
/* Today */
.yhs-ws { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yhs-w { display: flex; flex-direction: column; min-width: 0; min-height: 138px; padding: 16px 18px; text-align: left; border: 1px solid #ECEFF5; border-radius: 18px; background: #fff;
         box-shadow: 0 1px 2px rgba(15,23,42,.03); color: inherit; font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.yhs-w:disabled { cursor: default; }
.yhs-w:not(:disabled):hover { border-color: #DCE2EC; box-shadow: 0 6px 18px rgba(30,41,90,.06); }
.yhs-w > * { flex-shrink: 0; }
.yhs-w .wt { color: #6B7588; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhs-w .big { margin-top: 12px; font: 600 25px/1.2 Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; color: #1E293B; font-variant-numeric: tabular-nums;
              white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhs-w .big small { margin-right: 4px; font: 500 12.5px Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; color: #8A94A6; }
.yhs-w .sub { margin-top: 4px; color: #6B7588; font-size: 13px; }
.yhs-w .warm { color: #B4532A; } .yhs-w .up { color: #3F7F5A; } .yhs-w .dn { color: #A16207; }
.yhs-w .ln { display: flex; justify-content: space-between; gap: 8px; min-width: 0; margin-top: 8px; color: #334155; font-size: 13.5px; }
.yhs-w .ln span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yhs-w .ln em { flex: none; font-style: normal; color: #A16207; white-space: nowrap; } .yhs-w .ln em.late { color: #B4532A; }
.yhs-w .ln.ldoor { cursor: pointer; border-radius: 6px; } .yhs-w .ln.ldoor:hover span, .yhs-w .ln.ldoor:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.yhs-w .why { margin-top: 10px; color: #6B7588; font-size: 13px; line-height: 1.45; }
.yhs-w time { margin-top: auto; padding-top: 8px; color: #A4ADBD; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhs-w.ghost { background: transparent; border: 1px dashed #DCE2EC; box-shadow: none; cursor: default; }
.yhs-w.ghost .sub { margin-top: auto; color: #8A94A6; }
.yhs-w .yh-skel i { background: linear-gradient(90deg, #F1F3F7, #F8F9FB, #F1F3F7); background-size: 200% 100%; }
/* Your agents */
.yhs-ags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* v777 CLUTTER FREE (owner, 2026-10-31: "A, build it" on /artifact/R37zuLPjWKdoKQnudsbX3R) - the greeting alone, "+ Add a widget" under it,
   only the widgets picked, and every app its icon and name, macOS style, 116 px (twice the old tiles' 58) */
.yhs-addw { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: #2F5FB3; font: 500 14px Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.yhs-addw:hover { text-decoration: underline; text-underline-offset: 3px; }
.yhs-addw:focus-visible, .yhs-app:focus-visible { outline: 2px solid #2F5FB3; outline-offset: 3px; border-radius: 12px; }
#yh.yhs .yhs-ws:not([hidden]) { margin-top: 22px; }
.yhs-grid { display: grid; grid-template-columns: repeat(auto-fill, 150px); gap: 28px 22px; justify-content: start; margin-top: 30px; padding-bottom: 8px; }
.yhs-app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; transition: transform .12s ease; }
.yhs-app:hover { transform: translateY(-2px); }
.yhs-app .yh-ico { width: 116px; height: 116px; filter: drop-shadow(0 6px 14px rgba(17, 24, 39, .12)); }
.yhs-app .nm { max-width: 150px; color: #1E293B; font: 500 14.5px/1.25 Inter, "Segoe UI", system-ui, sans-serif; text-align: center; overflow-wrap: anywhere; }
.yhs-app .bdg { position: absolute; top: 0; left: calc(50% + 44px); min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #E5484D; color: #fff;
  font: 700 12px/24px Inter, "Segoe UI", system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #F8F9FB; }
.yhs-app.add .plus { width: 116px; height: 116px; box-sizing: border-box; border: 2px dashed #C9D3E3; border-radius: 26px; display: grid; place-items: center;
  color: #6B7A90; font: 300 40px/1 Inter, "Segoe UI", system-ui, sans-serif; background: #FAFBFD; }
.yhs-pick-back { position: fixed; inset: 0; z-index: 9000; background: rgba(17, 24, 39, .28); display: grid; place-items: start center; padding: 80px 16px 16px; overflow-y: auto; }
.yhs-pick { width: min(460px, 100%); box-sizing: border-box; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(17, 24, 39, .25); padding: 20px 22px;
  display: grid; gap: 10px; color: #1B2432; font: 400 14px/1.45 Inter, "Segoe UI", system-ui, sans-serif; }
.yhs-pick h3 { margin: 0; font-size: 17px; font-weight: 600; } .yhs-pick p { margin: 0 0 4px; font-size: 13px; color: #5B6470; }
.yhs-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #E6EAF1; border-radius: 12px; cursor: pointer; }
.yhs-opt input { margin-top: 3px; } .yhs-opt small { display: block; color: #5B6470; font-size: 12px; }
.yhs-pick-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.yhs-pbtn { height: 36px; padding: 0 16px; border: 1px solid #E1E4EA; border-radius: 10px; background: #fff; color: #1B2432; font: inherit; cursor: pointer; }
.yhs-pbtn.pri { background: #9BCCF2; border-color: #9BCCF2; color: #111827; font-weight: 600; }
@media (max-width: 768px) {
  .yhs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; margin-top: 22px; }
  .yhs-app { padding: 0; } .yhs-app .nm { font-size: 14px; }
}
.yhs-ag { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border: 1px solid #ECEFF5; border-radius: 18px; background: #fff;
          box-shadow: 0 1px 2px rgba(15,23,42,.03); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.yhs-ag:hover { border-color: #DCE2EC; box-shadow: 0 6px 18px rgba(30,41,90,.06); }
.yhs-ag .yh-ico { width: 42px; height: 42px; }
.yhs-ag .t { flex: 1; min-width: 0; }
.yhs-ag .t b { display: block; font-weight: 600; font-size: 15px; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhs-ag .what { display: block; margin-top: 1px; color: #8A94A6; font-size: 12.8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhs-ag em { display: block; margin-top: 6px; font-style: normal; color: #475569; font-size: 13px; }
.yhs-ag em i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #7BA7E8; vertical-align: 1px; }
.yhs-ag em button { padding: 0; border: 0; background: none; color: #2F5FB3; font: inherit; cursor: pointer; }
.yhs-ag em button:hover { text-decoration: underline; text-underline-offset: 3px; }
.yhs-ag .chev { flex: none; color: #B6BFCD; font-size: 22px; line-height: 1; }
.yhs-beta { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 8px; background: #EEF2F8; color: #6B7588; font: 500 11px/1.6 Inter, "Segoe UI", system-ui, sans-serif; vertical-align: 2px; }
.yhs-ag.add { border: 1px dashed #DCE2EC; background: transparent; box-shadow: none; }
.yhs-ag.add .mk { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #F1F4F9; color: #7C8AA3; display: grid; place-items: center; font-size: 22px; }
.yhs-w:focus-visible, .yhs-ag:focus-visible, .yhs-carry:focus-visible, .yhs-ag em button:focus-visible { outline: 2px solid #9DBDEB; outline-offset: 2px; }
/* the Chat, quiet: the bubble on a pale circle, the box, the book, +, the light-blue send; three starters above it on a computer */
.yhs-bar { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(760px, calc(100% - 32px)); z-index: 900;
           font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.yhb-starts { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.yhs-bar.noting .yhb-starts { visibility: hidden; }
/* v788 THE CALM LANDING (owner, 2026-10-31: "Good morning etc, search bar, just one suggestion first, Setup tally, agents below it") - on a computer
   with Chat first: the box right under the greeting, its suggestion under it, then the apps */
/* centred, the box near the middle of the page, like Chrome's new tab and Claude (owner, 2026-10-31: "search bar should be in the center") */
#yh.yhs.yhs-calm { padding-top: clamp(40px, 18vh, 200px); }
.yh.yhs-calm .yhs-hello { text-align: center; }
.yh.yhs-calm .yhs-hello h1 { font-size: 30px; }
.yh.yhs-calm .yhs-addw { margin: 8px auto 0; }
.yh.yhs-calm .yhs-bar { position: static; transform: none; width: min(720px, 100%); max-width: none; margin: 24px auto 6px; z-index: auto; }
.yh.yhs-calm .yhb-starts { position: static; justify-content: center; margin-top: 14px; }
.yh.yhs-calm .yhb-st.one { height: 34px; padding: 0 16px; border-radius: 17px; border-color: #DCE2EC; background: #fff; color: #1F2937; font-size: 14px; line-height: 32px; }
.yh.yhs-calm .yhb-dot { cursor: pointer; }
.yh.yhs-calm .yhb-dot:focus-visible { outline: 2px solid #9DBDEB; outline-offset: 2px; border-radius: 50%; }
.yh.yhs-calm .yhs-ws { margin-top: 32px; }
.yh.yhs-calm .yhs-grid { margin-top: 44px; grid-template-columns: repeat(auto-fit, 110px); gap: 24px 18px; justify-content: center; }
/* the apps 40% smaller on the calm Home (owner, 2026-10-31: "reduce the size of agents icon by 40%"): 116 -> 70 px */
.yh.yhs-calm .yhs-app .yh-ico { width: 70px; height: 70px; filter: drop-shadow(0 4px 9px rgba(17, 24, 39, .10)); }
.yh.yhs-calm .yhs-app .nm { max-width: 110px; font-size: 13.5px; }
.yh.yhs-calm .yhs-app .bdg { left: calc(50% + 22px); }
.yh.yhs-calm .yhs-app.add .plus { width: 70px; height: 70px; border-radius: 16px; font-size: 26px; }
.yhb-st { height: 28px; padding: 0 12px; border: 1px solid #E6EAF2; border-radius: 14px; background: rgba(255,255,255,.85); color: #475569; font: 400 12.8px/26px Inter, "Segoe UI", system-ui, sans-serif;
          white-space: nowrap; cursor: pointer; }
.yhb-st:hover { border-color: #C9D6EE; color: #1E293B; background: #fff; }
.yhb { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 8px; border: 1px solid #E3E8F2; border-radius: 28px; background: rgba(255,255,255,.92);
       box-shadow: 0 8px 28px rgba(30,41,90,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .15s ease, box-shadow .15s ease; }
.yhb:focus-within { border-color: #C9D9F2; box-shadow: 0 0 0 3px rgba(155,204,242,.25), 0 8px 28px rgba(30,41,90,.08); }
.yhb-dot { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #EAF1FC; }
.yhb-dot svg { width: 26px; height: 26px; display: block; }
.yhb textarea { flex: 1; min-width: 0; height: 22px; max-height: 120px; padding: 0; border: 0; outline: 0; resize: none; background: transparent; color: #1E293B !important;
                font: 15px/1.45 Inter, "Segoe UI", system-ui, sans-serif; }
.yhb textarea::placeholder { color: #8A94A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yhb.off textarea { color: #8A94A6 !important; }
.yhb-bk { flex: none; display: inline-flex; min-width: 0; max-width: 240px; }
#yh .yhb-bk select.ask-book { height: 28px; max-width: 100%; padding: 0 26px 0 10px; border: 0; border-radius: 14px; background-color: #F3F5F9; color: #475569 !important;
                              font: 500 12.5px/28px Inter, "Segoe UI", system-ui, sans-serif; }
.yhb-pl { width: 34px; height: 34px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #7C8AA3; cursor: pointer; }
.yhb-pl:hover, .yhb-pl[aria-expanded="true"] { background: #F3F5F9; color: #475569; }
.yhb-go { width: 38px; height: 38px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #9BCCF2; cursor: pointer; transition: background .15s ease; }
.yhb-go:hover { background: #8CC2EE; } .yhb-go:disabled { opacity: .5; cursor: default; }
.yhb-note { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
            padding: 10px 12px 10px 14px; border: 1px solid #E3E8F2; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(30,41,90,.08); color: #475569; font-size: 13px; }
.yhb-note[hidden] { display: none; }
.yhb-note button { height: 30px; padding: 0 12px; border: 0; border-radius: 15px; background: #9BCCF2; color: #111827; font: 600 13px Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.yhb button:focus-visible, .yhb-st:focus-visible, .yhb-note button:focus-visible { outline: 2px solid #9DBDEB; outline-offset: 2px; }
/* the top bar on Home: the YantrAI wordmark (Yantr black, AI in OHM's navy), and calm Share and account pills */
.home-brand .hb-word { height: 27px; width: auto; display: block; flex: none; }
#home-view.yhs-on .home-brand .hb-cb.hb-share { background: transparent; border-color: #D8E0EE; color: #1E3A6E; font-weight: 500; }
#home-view.yhs-on .home-brand .hb-cb.hb-share:hover { background: #fff; border-color: #C9D6EE; }
#home-view.yhs-on .home-brand .hb-me { border-color: #E6EAF2; font-weight: 500; box-shadow: none; }
#home-view.yhs-on .home-brand .hb-me i { background: #EAF1FC; color: #2F5FB3; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .yhs-w, .yhs-ag, .yhb, .yhb-go { transition: none; } }
/* a phone: one column of agents, two of figures; the bar near the foot without its starters or book */
@media (max-width: 768px) {
  #yh.yhs { flex: 1; min-height: 0; display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; margin: 0; padding: 12px 2px 112px; }
  .yhs-hello h1 { font-size: 22px; } .yhs-hello p { font-size: 14px; } .yhs-sec { margin-top: 22px; }
  .yhs-ws { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .yhs-w { min-height: 108px; padding: 13px; } .yhs-w .big { font-size: 20px; } .yhs-w.ghost { min-height: 84px; }
  .yhs-ags { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .yhs-ag { padding: 12px 14px; } .yhs-ag .what { display: none; }
  .yhs-bar { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 20px); }
  .yhb-starts, .yhb-bk { display: none; }
  .yhb textarea { font-size: 16px; }                                    /* 16px: a phone does not zoom into the box */
  .home-brand .hb-word { height: 22px; }
}
/* v792 THE CLAUDE LOOK (owner, 2026-10-31: "use white background everywhere just like claude" + Claude's text sizes) - Home is white, the suggestions
   14px, the box 16px */
#home-view.yhs-on { background: #fff !important; }
.yh.yhs-calm .yhb-st { height: 34px; padding: 0 14px; border-color: #E5E5E5; background: #fff; color: #1F1F1F; font-size: 14px; line-height: 32px; border-radius: 17px; }
.yh.yhs-calm .yhb-st:hover { background: #F5F5F5; }
.yh.yhs-calm .yhb { border-color: #E5E5E5; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .06); }
.yh.yhs-calm .yhb textarea { font-size: 16px; height: 24px; }
.yh.yhs-calm .yhs-app .nm { font-size: 14px; color: #1F1F1F; }
/* v801 (owner, 2026-10-31: "the agents move up when i click on chat box, i think it should stay at same place") - with the keyboard laid over the
   page (static/index.html, html.kb-open) only the box rises; the agents stay where they are */
@media (max-width: 768px) {
  html.kb-open .yhs-bar { bottom: calc(10px + var(--kb, 0px)); }
}
