/* yo-chat.css — Yamama Super Office conversational panel */
html.yoc-on{--yoc-acc:#4b3fb0;--yoc-acc2:#6d5fe0;--yoc-bg:#fbfaff;--yoc-ink:#1d1b2e;--yoc-mut:#6b6880;--yoc-line:#e6e3f3;--yoc-h:36dvh}
html.yoc-on.yoc-desk:not(.yoc-collapsed)>body{margin-inline-end:var(--yoc-w)!important;width:auto!important;max-width:none!important;transform:translateZ(0);min-height:100vh;overflow-x:hidden}
html.yoc-on.yoc-phone>body{transform:translateZ(0);height:calc(100dvh - var(--yoc-h))!important;min-height:0!important;max-height:calc(100dvh - var(--yoc-h))!important;overflow:auto}
html.yoc-on.yoc-phone.yoc-collapsed{--yoc-h:56px}
html.yoc-on.yoc-phone{overflow:hidden}
html.yoc-resizing,html.yoc-resizing *{cursor:col-resize!important;user-select:none!important}
.yoc{position:fixed;z-index:2147483000;inset-block:0;inset-inline-end:0;width:var(--yoc-w);display:flex;flex-direction:column;background:var(--yoc-bg);color:var(--yoc-ink);border-inline-start:1px solid var(--yoc-line);box-shadow:0 0 0 1px rgba(75,63,176,.04),-8px 0 32px rgba(29,27,46,.06);font-size:14px;line-height:1.55;font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",system-ui,-apple-system,sans-serif;box-sizing:border-box;text-align:start}
.yoc *{box-sizing:border-box}.yoc button,.yoc textarea{font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",system-ui,-apple-system,sans-serif;letter-spacing:0}
[dir=rtl].yoc{box-shadow:0 0 0 1px rgba(75,63,176,.04),8px 0 32px rgba(29,27,46,.06)}
.yoc-grip{position:absolute;inset-block:0;inset-inline-start:-4px;width:8px;cursor:col-resize;z-index:2}
.yoc-grip:hover,.yoc-resizing .yoc-grip{background:linear-gradient(90deg,transparent 3px,var(--yoc-acc2) 3px,var(--yoc-acc2) 5px,transparent 5px)}
.yoc-h{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--yoc-line);background:#fff;min-height:58px;flex:0 0 auto}
.yoc-logo{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--yoc-acc),var(--yoc-acc2));flex:0 0 auto}
.yoc-logo svg{width:19px;height:19px}
.yoc-tt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.yoc-tt b{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yoc-tt small{font-size:12px;color:var(--yoc-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yoc-ib{width:40px;height:40px;border-radius:12px;border:0;background:transparent;color:var(--yoc-mut);display:grid;place-items:center;cursor:pointer;flex:0 0 auto}
.yoc-ib:hover{background:#f0eefb;color:var(--yoc-acc)}
.yoc-ib svg{width:20px;height:20px}
.yoc-log{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.yoc-m{max-width:100%;border-radius:16px;padding:10px 13px;overflow-wrap:anywhere;animation:yocIn .22s ease-out}
.yoc-m p{margin:0 0 6px}.yoc-m p:last-child{margin-bottom:0}
.yoc-me{align-self:flex-end;background:linear-gradient(135deg,var(--yoc-acc),var(--yoc-acc2));color:#fff;max-width:88%;border-end-end-radius:6px}
.yoc-bot{align-self:stretch;background:#fff;border:1px solid var(--yoc-line);border-end-start-radius:6px}
.yoc-bot:empty{display:none}
@keyframes yocIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.yoc-dots{display:inline-flex;gap:4px;padding:4px 0}.yoc-dots i{width:7px;height:7px;border-radius:50%;background:var(--yoc-acc2);animation:yocB 1s infinite ease-in-out}.yoc-dots i:nth-child(2){animation-delay:.15s}.yoc-dots i:nth-child(3){animation-delay:.3s}
@keyframes yocB{0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:none}}
.yoc-step{display:flex;align-items:center;gap:9px;margin-top:8px;padding:8px 10px;border-radius:12px;background:#f3f1fd;border:1px solid #e3dff8}
.yoc-si{width:24px;height:24px;border-radius:50%;background:#1f9d6b;color:#fff;display:grid;place-items:center;flex:0 0 auto}.yoc-si svg{width:14px;height:14px}
.yoc-sl{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}.yoc-sl b{font-weight:600;font-size:13.5px}.yoc-sl small{font-size:12px;color:var(--yoc-mut);overflow-wrap:anywhere}.yoc-sl small.yoc-mono{font-family:ui-monospace,Menlo,Consolas,monospace;direction:ltr;text-align:start;unicode-bidi:plaintext}
.yoc-undo{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 11px;border-radius:10px;border:1px solid #d8d3f3;background:#fff;color:var(--yoc-acc);font-size:12.5px;font-weight:600;line-height:1;cursor:pointer;flex:0 0 auto;white-space:nowrap}
.yoc-undo svg{width:15px;height:15px}.yoc-undo:hover{background:#ece9fc}.yoc-undo:disabled{color:var(--yoc-mut);background:transparent;border-color:transparent;cursor:default}
.yoc-undone{opacity:.62}.yoc-undone .yoc-si{background:#9b98ad}.yoc-undone .yoc-sl b{text-decoration:line-through}
.yoc-plan{margin:2px 0 4px;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:6px}
.yoc-plan li{counter-increment:s;display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--yoc-mut)}
.yoc-plan li::before{content:counter(s);width:20px;height:20px;border-radius:50%;border:1.5px solid #cfcae9;display:grid;place-items:center;font-size:11px;font-weight:700;flex:0 0 auto}
.yoc-plan li.run{color:var(--yoc-ink)}.yoc-plan li.run::before{border-color:var(--yoc-acc2);color:var(--yoc-acc2)}
.yoc-plan li.ok{color:var(--yoc-ink)}.yoc-plan li.ok::before{content:'✓';background:#1f9d6b;border-color:#1f9d6b;color:#fff}
.yoc-plan li.bad::before{content:'!';background:#c2410c;border-color:#c2410c;color:#fff}
.yoc-ans{margin-top:6px}.yoc-ans ul{margin:4px 0;padding-inline-start:18px}.yoc-ans code{font-family:ui-monospace,Menlo,Consolas,monospace;background:#f3f1fd;padding:1px 5px;border-radius:6px;overflow-wrap:anywhere}
.yoc-err{color:#b4321a;margin:6px 0 0}
.yoc-key{padding:9px 11px;border-radius:12px;background:#fff7e8;border:1px solid #f4dfb3;color:#6b4a07;margin-bottom:8px!important}
.yoc-src{display:flex;align-items:center;gap:6px;font-weight:600;color:var(--yoc-mut);font-size:12.5px}.yoc-src svg{width:15px;height:15px}
.yoc-res{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.yoc-res li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:#faf9ff;border:1px solid var(--yoc-line)}
.yoc-res a{color:var(--yoc-acc);font-weight:600;text-decoration:none}.yoc-res a:hover{text-decoration:underline}.yoc-res span{font-size:12.5px;color:var(--yoc-mut)}
.yoc-f{flex:0 0 auto;padding:8px 12px 12px;border-top:1px solid var(--yoc-line);background:#fff}
.yoc-sugg,.yoc-ready{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-start;gap:6px;margin-bottom:8px}
.yoc-ready{margin:6px 0 0}
.yoc-chip{flex:0 0 auto!important;width:auto!important;min-width:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block!important;min-height:34px;padding:6px 11px;border-radius:999px;border:1px solid #dcd8f2;background:#faf9ff;color:var(--yoc-ink);font-size:12.5px;font-weight:500;line-height:1.3;cursor:pointer;text-align:start;max-width:100%}
.yoc-chip:hover{border-color:var(--yoc-acc2);color:var(--yoc-acc)}
.yoc-box{display:flex;align-items:flex-end;gap:8px;border:1.5px solid #d8d3f3;border-radius:16px;padding:6px 6px 6px 12px;background:#fff}
[dir=rtl] .yoc-box{padding:6px 12px 6px 6px}
.yoc-box:focus-within{border-color:var(--yoc-acc2);box-shadow:0 0 0 3px rgba(109,95,224,.14)}
.yoc-in{flex:1;min-width:0;border:0;outline:0;resize:none;background:transparent;font-size:15px;line-height:1.5;color:var(--yoc-ink);padding:6px 0;max-height:140px}
.yoc .yoc-in,.yoc .yoc-in:focus{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;margin:0!important;min-height:0!important}
.yoc-in::placeholder{color:#8a87a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yoc-send{width:40px;height:40px;border-radius:12px;border:0;background:linear-gradient(135deg,var(--yoc-acc),var(--yoc-acc2));color:#fff;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}
.yoc-send svg{width:19px;height:19px}.yoc-busy .yoc-send{opacity:.5;cursor:default}
/* collapsed desktop: a compact pill at the inline-end bottom corner */
html.yoc-desk.yoc-collapsed .yoc{inset-block:auto 18px;inset-inline-end:18px;width:auto;border-radius:16px;border:1px solid var(--yoc-line);box-shadow:0 10px 30px rgba(29,27,46,.16)}
html.yoc-desk.yoc-collapsed .yoc-h{border:0;border-radius:16px;padding:8px 8px 8px 14px;min-height:52px;cursor:pointer}
html.yoc-desk.yoc-collapsed[dir=rtl] .yoc-h,html.yoc-desk.yoc-collapsed .yoc[dir=rtl] .yoc-h{padding:8px 14px 8px 8px}
html.yoc-collapsed .yoc-log,html.yoc-collapsed .yoc-f,html.yoc-collapsed .yoc-grip,html.yoc-collapsed .yoc-new{display:none}
/* phone: bottom sheet, app above */
html.yoc-phone .yoc{inset:auto 0 0 0;width:auto;height:var(--yoc-h);border-inline-start:0;border-top:1px solid var(--yoc-line);border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(29,27,46,.12)}
html.yoc-phone .yoc-grip{display:none}
html.yoc-phone .yoc-h{min-height:52px;padding:6px 10px;border-radius:18px 18px 0 0}
html.yoc-phone .yoc-logo{width:30px;height:30px;border-radius:10px}
html.yoc-phone .yoc-tt small{display:none}
html.yoc-phone .yoc-log{padding:10px}
html.yoc-phone .yoc-f{padding:6px 10px 8px}
html.yoc-phone .yoc-sugg{flex-wrap:wrap!important;overflow:hidden;max-height:70px;margin-bottom:6px;gap:6px}
html.yoc-phone .yoc-sugg .yoc-chip{flex:0 1 auto!important;white-space:nowrap;min-height:32px;padding:5px 10px;font-size:12.5px;max-width:100%}
html.yoc-phone .yoc-in{font-size:16px}
html.yoc-on.yoc-phone>body>#ed{height:100%!important;max-height:100%!important}
/* phone + open sheet: the app is the area above the sheet, so dialogs and popovers size to it, never to the full screen */
html.yoc-on.yoc-phone:not(.yoc-collapsed) .mback{padding:8px}
html.yoc-on.yoc-phone:not(.yoc-collapsed) .mback .modal{max-height:calc(100dvh - var(--yoc-h) - 16px)!important;min-height:0}
html.yoc-on.yoc-phone:not(.yoc-collapsed) .pop{max-height:calc(100dvh - var(--yoc-h) - 16px)!important}
html.yoc-phone.yoc-collapsed .yoc-h{cursor:pointer}
@media print{.yoc{display:none!important}html.yoc-on>body{margin:0!important;transform:none!important;height:auto!important;max-height:none!important}}
.yoc-tgl span{display:grid;place-items:center}.yoc-i-open{display:none!important}html.yoc-collapsed .yoc-i-open{display:grid!important}html.yoc-collapsed .yoc-i-min{display:none!important}
.yoc.yoc-started .yoc-sugg{display:none!important}
html.yoc-on .ai-fab,html.yoc-on .aibar{display:none!important}
.yoc-send:focus{outline:none}.yoc-send:focus-visible{outline:2px solid var(--yoc-acc2);outline-offset:2px}

/* a reply's action buttons sit under the step chip they belong to */
.yoc .yoc-acts{margin-top:6px}.yoc .yoc-acts p{margin:0}
/* one assistant: inside Sheets, Docs and Slides the panel is the only «Ask Yamama» entry */
html.yoc-m-sheets [data-act="ai"],html.yoc-m-docs [data-act="ai"],html.yoc-m-slides [data-act="ai"]{display:none!important}
.yoc .yoc-plan.yoc-done{display:none}

/* ===== c1016cl: calmer, smaller chat (Copilot-like side panel) ===== */
.yoc{font-size:13px;line-height:1.5}
.yoc-h{gap:8px;padding:8px 10px;min-height:48px}
.yoc-logo{width:28px;height:28px;border-radius:9px}.yoc-logo svg{width:16px;height:16px}
.yoc-tt b{font-size:13.5px}.yoc-tt small{font-size:11.5px}
.yoc-ib{width:34px;height:34px;border-radius:10px;transition:background-color .16s ease,color .16s ease}.yoc-ib svg{width:18px;height:18px}
.yoc-log{padding:12px;gap:8px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#d9d5ee transparent}
.yoc-log::-webkit-scrollbar{width:6px}.yoc-log::-webkit-scrollbar-thumb{background:#d9d5ee;border-radius:6px}
.yoc-m{border-radius:13px;padding:7px 11px;animation:yocIn2 .18s cubic-bezier(.2,.7,.3,1) both}
.yoc-m p{margin:0 0 4px}
.yoc-me{max-width:86%;border-end-end-radius:5px}
.yoc-bot{border-end-start-radius:5px}
@keyframes yocIn2{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.yoc-wait{padding:9px 12px}
.yoc-dots{gap:4px;padding:2px 0}.yoc-dots i{width:6px;height:6px;animation:yocB2 1.4s infinite ease-in-out}.yoc-dots i:nth-child(2){animation-delay:.2s}.yoc-dots i:nth-child(3){animation-delay:.4s}
@keyframes yocB2{0%,70%,100%{opacity:.3}35%{opacity:.9}}
.yoc-step{gap:8px;margin-top:6px;padding:6px 8px;border-radius:10px;animation:yocIn2 .18s ease-out both;transition:opacity .18s ease}
.yoc-si{width:20px;height:20px}.yoc-si svg{width:12px;height:12px}
.yoc-sl b{font-size:12.5px}.yoc-sl small{font-size:11.5px}
.yoc-undo{min-height:30px;padding:0 9px;border-radius:8px;font-size:12px;gap:4px;transition:background-color .16s ease}.yoc-undo svg{width:13px;height:13px}
.yoc-plan{gap:4px}.yoc-plan li{font-size:12px;gap:7px}.yoc-plan li::before{width:18px;height:18px;font-size:10px;transition:background-color .18s ease,border-color .18s ease}
.yoc-ans{margin-top:4px}
.yoc-key{padding:7px 10px;border-radius:10px}
.yoc-src{font-size:12px}.yoc-res{gap:6px}.yoc-res li{padding:6px 9px}.yoc-res span{font-size:11.5px}
.yoc-f{padding:8px 10px 10px}
.yoc-sugg,.yoc-ready{gap:5px;margin-bottom:7px}
.yoc-chip{min-height:30px;padding:5px 10px;font-size:12px;transition:border-color .16s ease,color .16s ease,background-color .16s ease}
.yoc-box{gap:6px;border-radius:14px;padding:4px 4px 4px 10px;transition:border-color .16s ease,box-shadow .16s ease}
[dir=rtl] .yoc-box{padding:4px 10px 4px 4px}
.yoc-in{font-size:13.5px;line-height:1.45;padding:6px 0;max-height:120px}
.yoc-send{width:34px;height:34px;border-radius:10px;transition:opacity .16s ease,transform .16s ease}.yoc-send svg{width:17px;height:17px}
.yoc-send:active{transform:scale(.94)}
/* panel open/close glides instead of jumping */
html.yoc-desk:not(.yoc-collapsed) .yoc{animation:yocOpen .2s cubic-bezier(.2,.7,.3,1)}
html.yoc-desk.yoc-collapsed .yoc{animation:yocPill .18s ease-out}
html.yoc-phone:not(.yoc-collapsed) .yoc{animation:yocSheet .2s cubic-bezier(.2,.7,.3,1)}
@keyframes yocOpen{from{opacity:.4;transform:translateX(calc(var(--yoc-dir,1) * 24px))}to{opacity:1;transform:none}}
[dir=rtl] .yoc,.yoc[dir=rtl]{--yoc-dir:-1}
@keyframes yocPill{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@keyframes yocSheet{from{transform:translateY(18px);opacity:.6}to{transform:none;opacity:1}}
html.yoc-desk.yoc-collapsed .yoc-h{min-height:44px;padding:6px 6px 6px 12px}
html.yoc-desk.yoc-collapsed[dir=rtl] .yoc-h,html.yoc-desk.yoc-collapsed .yoc[dir=rtl] .yoc-h{padding:6px 12px 6px 6px}
/* phone: 14px reading size; the input stays 16px so iOS never zooms the page on focus */
html.yoc-phone .yoc{font-size:14px}
html.yoc-phone .yoc-h{min-height:46px;padding:5px 8px}
html.yoc-phone .yoc-logo{width:28px;height:28px}
html.yoc-phone .yoc-log{padding:8px 10px;gap:7px}
html.yoc-phone .yoc-sugg .yoc-chip{min-height:30px;padding:4px 10px;font-size:12.5px}
html.yoc-phone .yoc-in{font-size:16px;line-height:1.4;padding:5px 0}
@media (prefers-reduced-motion:reduce){.yoc,.yoc *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ===== app identity colours on the top bars (familiar Microsoft 365 colours) ===== */
html[data-yo-app=sheets]{--yo-br:#217346;--yo-brd:#185c37}
html[data-yo-app=docs]{--yo-br:#2b579a;--yo-brd:#1e4176}
html[data-yo-app=slides]{--yo-br:#c43e1c;--yo-brd:#a33215}
html[data-yo-app=mail]{--yo-br:#0f6cbd;--yo-brd:#0c5596}
html[data-yo-app=pdf]{--yo-br:#b30b00;--yo-brd:#8f0900}
html[data-yo-app=diagrams]{--yo-br:#3955a3;--yo-brd:#2c4282}
html[data-yo-app=meet]{--yo-br:#5b5fc7;--yo-brd:#4a4eab}
html[data-yo-app=workspace]{--yo-br:#0364b8;--yo-brd:#024f91}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb),html[data-yo-app=workspace] header.top{background:var(--yo-br)!important;background-image:none!important;color:#fff!important;border-bottom:1px solid var(--yo-brd)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :is(a,span,b,small,strong,h1,h2,label,button,nav,.ic):not(.hsearch):not(.hsearch *):not(.yoc *):not([class*=menu] *):not([class*=pop] *):not([class*=drop] *):not(.dicon):not(.dicon *):not(.pri):not(.pri *):not(.primary):not(.primary *):not(.ai-btn):not(.ai-btn *):not([aria-selected=true]):not([aria-selected=true] *):not(.logo *):not(.pts):not(.pts *):not(.yo-thm26):not(.yo-thm26 *):not([data-yo-ownbg]):not([data-yo-ownbg] *){color:#fff!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :is(button.acct,a.acct,.btn,.soft):not(.pri):not(.primary):not(.ai-btn):not(.av):not(.yoc *){background:rgba(0,0,0,.16)!important;background-image:none!important;border:1px solid rgba(255,255,255,.32)!important;box-shadow:none!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :is(.ib,.btn,button.acct,.zbtn,nav.tabs button):not(.yoc *):hover{background:rgba(0,0,0,.26)!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :is(.btn.pri,.btn.primary,.ai-btn):not(.yoc *){background:#fff!important;background-image:none!important;color:var(--yo-br)!important;border:0!important;box-shadow:none!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :is(.btn.pri,.btn.primary,.ai-btn) :is(span,.ic,svg){color:var(--yo-br)!important}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) nav.tabs{background:rgba(0,0,0,.16)!important}
html[data-yo-app] :is(header#hdr,header.top) nav.tabs button{background:transparent!important;border:0!important}
html[data-yo-app] :is(header#hdr,header.top) nav.tabs button[aria-selected=true]{background:#fff!important;box-shadow:none!important}
html[data-yo-app] :is(header#hdr,header.top) nav.tabs button[aria-selected=true] :is(span,.ic,svg),html[data-yo-app] :is(header#hdr,header.top) nav.tabs button[aria-selected=true]{color:var(--yo-br)!important}
html[data-yo-app] header#titlebar .dicon{background:#fff!important;background-image:none!important;color:var(--yo-br)!important}
html[data-yo-app] header#titlebar .dicon :is(svg,.ic){color:var(--yo-br)!important}
html[data-yo-app] :is(header#titlebar,header#tb) input:not(.yoc *){color:#fff!important;background:transparent!important;border-color:transparent!important;caret-color:#fff}
html[data-yo-app] :is(header#titlebar,header#tb) input:not(.yoc *):is(:hover,:focus){background:rgba(0,0,0,.16)!important;border-color:rgba(255,255,255,.4)!important;outline:none}
html[data-yo-app] :is(header#titlebar,header#tb) input::placeholder{color:rgba(255,255,255,.75)!important}
html[data-yo-app] :is(header#titlebar,header#tb) :is(.savest,.sstate,#saveSt,#saveState){color:rgba(255,255,255,.88)!important}
html[data-yo-app] :is(header.htop,header.top) .hsearch{background:#fff!important;border-radius:10px}
html[data-yo-app] :is(header.htop,header.top) .hsearch input{background:#fff!important;color:#1f1f1f!important;border-color:transparent!important}
html[data-yo-app] :is(header.htop,header.top) .hsearch .ic{color:#616161!important}
html[data-yo-app] :is(header.htop,header#hdr,header.top) a.brand img{background:#fff;border-radius:8px;padding:2px}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) :focus-visible{outline:2px solid #fff!important;outline-offset:2px}
html[data-yo-app] :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) button.acct:not(.yoc *){padding-inline:10px 12px!important;gap:6px;min-height:34px}
html[data-yo-app] :is(header#hdr,header.top) .logo{box-shadow:0 0 0 1.5px rgba(255,255,255,.55)}
html[data-yo-app=pdf] .hero2{background:linear-gradient(120deg,#8f0900,#b30b00 55%,#c4314b)!important}
html[data-yo-app=diagrams] .hero2{background:linear-gradient(120deg,#2c4282,#3955a3 55%,#4a68c0)!important}
/* ribbon follows the app colour like Office: File button and the active tab underline */
html[data-yo-app] .rtab.file{background:var(--yo-br)!important;color:#fff!important}
html[data-yo-app] .rtab.file:hover{background:var(--yo-brd)!important}
html[data-yo-app] .rtab[aria-selected=true]:not(.file){color:var(--yo-br)!important}
html[data-yo-app] .rtab[aria-selected=true]::after{background:var(--yo-br)!important}

/* ===== c1016m: phone = small round button + full-screen chat (no bottom sheet, the file keeps the whole screen) ===== */
html.yoc-on.yoc-phone,html.yoc-on.yoc-phone.yoc-collapsed{--yoc-h:0px}
html.yoc-on[data-yo-app=sheets]{--yoc-acc:#217346;--yoc-acc2:#2e8b57}
html.yoc-on[data-yo-app=docs]{--yoc-acc:#2B579A;--yoc-acc2:#3b6fc0}
html.yoc-on[data-yo-app=slides]{--yoc-acc:#C43E1C;--yoc-acc2:#d9572f}
html.yoc-on[data-yo-app=mail]{--yoc-acc:#0F6CBD;--yoc-acc2:#2b88d8}
html.yoc-on[data-yo-app=pdf]{--yoc-acc:#B30B00;--yoc-acc2:#d0342a}
html.yoc-on[data-yo-app=diagrams]{--yoc-acc:#3955A3;--yoc-acc2:#5470c0}
html.yoc-on[data-yo-app=meet]{--yoc-acc:#5B5FC7;--yoc-acc2:#7579e0}
html.yoc-on[data-yo-app=workspace]{--yoc-acc:#0364B8;--yoc-acc2:#2a86d6}
.yoc-back{display:none!important}
html.yoc-phone.yoc-collapsed .yoc{inset:auto;inset-inline-end:14px;bottom:calc(var(--yoc-fab-b,16px) + env(safe-area-inset-bottom,0px));width:52px;height:52px;border-radius:50%;border:0;background:var(--yoc-acc);box-shadow:0 6px 18px rgba(0,0,0,.22);overflow:hidden;animation:none}
html.yoc-phone.yoc-collapsed .yoc-h{min-height:52px;height:52px;padding:0!important;justify-content:center;background:transparent;border:0;border-radius:50%}
html.yoc-phone.yoc-collapsed .yoc-h>*:not(.yoc-logo){display:none!important}
html.yoc-phone.yoc-collapsed .yoc-logo{width:52px;height:52px;border-radius:50%;background:transparent!important;color:#fff;margin:0}
html.yoc-phone.yoc-collapsed .yoc-logo svg{width:24px;height:24px}
html.yoc-phone.yoc-nofab .yoc{display:none!important}
html.yoc-phone:not(.yoc-collapsed) .yoc{position:fixed;inset:auto 0 auto 0;top:var(--yoc-vt,0px);height:var(--yoc-vh,100dvh);width:100%;border:0;border-radius:0;box-shadow:none;z-index:2147483000;animation:yocFull .18s ease-out}
@keyframes yocFull{from{opacity:.4;transform:translateY(14px)}to{opacity:1;transform:none}}
html.yoc-phone:not(.yoc-collapsed) .yoc-h{border-radius:0;min-height:52px;padding:6px 8px;gap:6px;background:var(--yoc-acc);color:#fff;border-bottom:0}
html.yoc-phone:not(.yoc-collapsed) .yoc-h .yoc-tt b{color:#fff}
html.yoc-phone:not(.yoc-collapsed) .yoc-h .yoc-logo{background:rgba(255,255,255,.16)!important;color:#fff}
html.yoc-phone:not(.yoc-collapsed) .yoc-h .yoc-ib{color:#fff}
html.yoc-phone:not(.yoc-collapsed) .yoc-tgl{display:none!important}
html.yoc-phone:not(.yoc-collapsed) .yoc-back{display:inline-flex!important;align-items:center;gap:2px;width:auto!important;padding:0 10px 0 6px!important;height:38px;border-radius:19px;background:rgba(255,255,255,.14)!important;font:inherit;font-size:14px;font-weight:600;color:#fff}
.yoc[dir=rtl] .yoc-back svg{transform:scaleX(-1)}
.yoc-back svg{width:20px;height:20px}
html.yoc-phone:not(.yoc-collapsed) .yoc-log{padding:12px 12px 8px}
html.yoc-phone:not(.yoc-collapsed) .yoc-f{padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--yoc-line);background:#fff}
html.yoc-phone:not(.yoc-collapsed) .yoc-sugg{max-height:none;overflow:visible}
html.yoc-on.yoc-phone:not(.yoc-collapsed)>body{overflow:hidden}
/* one result line per request; the steps fold under «Details» */
.yoc-prog{display:flex;align-items:center;gap:8px;color:var(--yoc-mut);font-size:12.5px;margin:2px 0}
.yoc-grp{display:flex;flex-direction:column;gap:4px}
.yoc-det{font-size:12px;color:var(--yoc-mut)}
.yoc-det summary{cursor:pointer;padding:2px 4px;list-style:none;display:inline-flex;align-items:center;gap:4px}
.yoc-det summary::-webkit-details-marker{display:none}
.yoc-det summary::before{content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);margin:0 2px 3px}
.yoc-det[open] summary::before{transform:rotate(-135deg);margin-bottom:-2px}
.yoc-det .yoc-step{margin-top:4px}
.yoc-sum b{font-weight:700}
/* the result line on the file (phone) */
.yoc-toast{position:fixed;inset-inline:10px;bottom:calc(var(--yoc-fab-b,16px) + env(safe-area-inset-bottom,0px));z-index:2147482990;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;min-height:48px;border-radius:14px;background:#1f2328;color:#fff;font:500 13.5px/1.35 inherit;font-family:inherit;box-shadow:0 8px 24px rgba(0,0,0,.25);animation:yocFull .18s ease-out}
.yoc-toast[dir=rtl]{padding:6px 12px 6px 6px}
.yoc-ti{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2e8b57;flex:0 0 auto}.yoc-ti svg{width:14px;height:14px}
.yoc-tx{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.yoc-tu{flex:0 0 auto;height:36px;padding:0 12px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.yoc-to{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:10px;background:var(--yoc-acc,#217346);color:#fff;display:grid;place-items:center;cursor:pointer}.yoc-to svg{width:18px;height:18px}
html.yoc-desk .yoc-toast{display:none}

html.yoc-on .yoc-step{background:color-mix(in srgb,var(--yoc-acc) 7%,#fff);border-color:color-mix(in srgb,var(--yoc-acc) 18%,#fff)}
html.yoc-phone.yoc-collapsed.yoc-toasting .yoc{display:none!important}
html.yoc-phone.yoc-collapsed.yoc-fabhide .yoc{opacity:0;pointer-events:none}
/* phone touch targets ≥44px (P59) */
html.yoc-phone.yoc-m-sheets #ribbon .rb,html.yoc-phone.yoc-m-sheets #ribbon .rsel,html.yoc-phone.yoc-m-sheets .rtab{min-height:44px}
html.yoc-phone.yoc-m-sheets #ribbon .rb.sm{min-width:44px}
html.yoc-phone.yoc-m-sheets #ribbon .rdd{min-height:44px;height:44px;min-width:26px}
html.yoc-phone.yoc-m-sheets #titlebar .ib,html.yoc-phone.yoc-m-sheets #titlebar .btn,html.yoc-phone.yoc-m-sheets #titlebar button.acct{min-width:44px;min-height:44px}
html.yoc-phone.yoc-m-sheets #titlebar .title-in{min-height:40px!important;max-width:calc(100vw - 250px)!important}
html.yoc-phone.yoc-m-sheets #ribbon .rsel,html.yoc-phone.yoc-m-sheets #fxbar .ib,html.yoc-phone.yoc-m-sheets #nameBox,html.yoc-phone.yoc-m-sheets #sheetbar .ib,html.yoc-phone.yoc-m-sheets #sheetbar .stab,html.yoc-phone.yoc-m-sheets #status button{min-height:44px}
html.yoc-phone.yoc-m-sheets #fxbar .ib,html.yoc-phone.yoc-m-sheets #sheetbar .ib,html.yoc-phone.yoc-m-sheets #status button{min-width:44px}
html.yoc-phone.yoc-m-sheets #status{min-height:44px}
html.yoc-phone.yoc-m-sheets #ribbon .rsel.styl{min-height:44px!important;height:44px!important}
html.yoc-phone.yoc-m-sheets #titlebar .title-in{min-height:44px!important}
html.yoc-on.yoc-phone.yoc-collapsed.yoc-bscroll>body{padding-bottom:84px!important}
/* docs/slides phone ribbon: «More» sits at the end of the strip instead of floating over the tools */
html.yoc-phone .rrow .more{position:static!important;box-shadow:none!important}
/* home lists scroll clear of a fixed bottom nav */
html.yoc-phone.yoc-home #home{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}

/* c1017a: phone touch targets >=44px (P59) — home headers on every module, and the Docs editor like Sheets */
html.yoc-phone .htop :is(.ib,.pts,button.acct,.btn,a.brand){min-height:44px}
html.yoc-phone .htop :is(.ib,button.acct){min-width:44px}
html.yoc-phone .htop a.brand{display:inline-flex;align-items:center}
html.yoc-phone .htop :is(input[type=search],.hsearch input){min-height:44px}
html.yoc-phone .hhead :is(.ib,.btn,.lnk,button){min-height:44px}
html.yoc-phone .hhead .ib{min-width:44px}
html.yoc-phone .seg button{min-height:44px}
html.yoc-phone.yoc-m-docs #ribbon .rb,html.yoc-phone.yoc-m-docs #ribbon .rsel,html.yoc-phone.yoc-m-docs .rtab{min-height:44px}
html.yoc-phone.yoc-m-docs #ribbon .rb.sm{min-width:44px}
html.yoc-phone.yoc-m-docs #ribbon .rdd{min-height:44px;height:44px;min-width:26px}
html.yoc-phone.yoc-m-docs #titlebar .ib,html.yoc-phone.yoc-m-docs #titlebar .btn,html.yoc-phone.yoc-m-docs #titlebar button.acct,html.yoc-phone.yoc-m-docs #titlebar button{min-width:44px;min-height:44px}
html.yoc-phone.yoc-m-docs #status button{min-height:44px;min-width:44px}
html.yoc-phone.yoc-m-docs #status{min-height:44px}
html.yoc-phone.yoc-m-docs #ribbon .rsel.styl{min-height:44px!important;height:44px!important}
html.yoc-phone.yoc-m-docs #titlebar .title-in{min-height:44px!important}

/* c1017b: remaining phone targets to 44px */
html.yoc-phone .htop button.acct,html.yoc-phone .htop .pts{min-height:44px!important}
html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon .rdd{min-width:44px!important}
html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon #rbFont,html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon .rsel.font{min-height:44px!important;height:44px!important;min-width:44px!important}
html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon #rbSize,html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon .rsel.size{min-height:44px!important;height:44px!important;min-width:44px!important}
html.yoc-phone:is(.yoc-m-sheets,.yoc-m-docs) #ribbon .rsel.styl{min-width:44px!important}

/* c1017b: Slides editor targets like Docs */
html.yoc-phone.yoc-m-slides #ribbon .rb,html.yoc-phone.yoc-m-slides #ribbon .rsel,html.yoc-phone.yoc-m-slides .rtab{min-height:44px}
html.yoc-phone.yoc-m-slides #ribbon .rb.sm{min-width:44px}
html.yoc-phone.yoc-m-slides #ribbon .rdd{min-height:44px;height:44px;min-width:26px}
html.yoc-phone.yoc-m-slides #status button{min-height:44px;min-width:44px}
html.yoc-phone.yoc-m-slides #status{min-height:44px}
html.yoc-phone.yoc-m-slides #ribbon .rsel.styl{min-height:44px!important;height:44px!important}
html.yoc-phone.yoc-m-slides #ribbon .rdd{min-width:44px!important}
html.yoc-phone.yoc-m-slides #ribbon #rbFont,html.yoc-phone.yoc-m-slides #ribbon .rsel.font,html.yoc-phone.yoc-m-slides #ribbon #rbSize,html.yoc-phone.yoc-m-slides #ribbon .rsel.size{min-height:44px!important;height:44px!important;min-width:44px!important}
html.yoc-phone.yoc-m-slides #ribbon .rsel.styl{min-width:44px!important}

/* c1017c: phone home on Sheets/Docs/Slides — header, scrolling body, bottom nav in its own row (body carries a transform, so a fixed nav would scroll with the content) */
@media (max-width:760px){
  html.yoc-phone>body:not(.editing)>#home:not([hidden]):has(>.hbar){display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
  html.yoc-phone>body:not(.editing)>#home:not([hidden]):has(>.hbar)>.htop{flex:none;position:relative}
  html.yoc-phone>body:not(.editing)>#home:not([hidden]):has(>.hbar)>.hbody{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  html.yoc-phone>body:not(.editing)>#home:not([hidden]):has(>.hbar)>.hbar{position:static;flex:none;inset:auto}
  html.yoc-phone>body:not(.editing)>#home:not([hidden]):has(>.hbar) .hmain{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  html.yoc-on.yoc-phone>body:not(.editing):has(>#home:not([hidden])>.hbar){overflow:hidden!important;padding-bottom:0!important}
}

/* t1017v5: undo/close on the assistant toast >=44px on phones */
@media (max-width:760px){.yoc-toast .yoc-tu,.yoc-toast .yoc-to{min-height:44px!important;min-width:44px!important}}

/* yo-motion v1 (2026-10-19): calm motion, phone split, focus — appended */
html.yoc-on{--yom-e:cubic-bezier(.2,.8,.2,1)}
.yoc-drag{display:none}
.yoc-exp{display:none!important}
html.yoc-phone.yoc-m-sheets:not(.yoc-collapsed):not(.yoc-ph-full) #sheetbar,html.yoc-phone.yoc-m-sheets:not(.yoc-collapsed):not(.yoc-ph-full) #ysFit .fft{display:none!important}
/* phone: open = split screen; the file stays visible above the assistant */
html.yoc-phone:not(.yoc-collapsed):not(.yoc-ph-full){--yoc-h:var(--yoc-ph,50dvh)}
html.yoc-phone.yoc-closing:not(.yoc-ph-full){--yoc-h:0px}
html.yoc-on.yoc-phone:not(.yoc-collapsed):not(.yoc-ph-full)>body{height:calc(var(--yoc-vh,100dvh) - var(--yoc-h))!important;max-height:calc(var(--yoc-vh,100dvh) - var(--yoc-h))!important;overflow:auto!important}
html.yoc-phone:not(.yoc-collapsed):not(.yoc-ph-full) .yoc{top:calc(var(--yoc-vt,0px) + var(--yoc-vh,100dvh) - var(--yoc-ph,50dvh))!important;bottom:auto!important;height:var(--yoc-ph,50dvh)!important;border-radius:18px 18px 0 0!important;border-top:1px solid var(--yoc-line)!important;box-shadow:0 -12px 32px rgba(29,27,46,.18)!important;overflow:hidden}
html.yoc-phone:not(.yoc-collapsed):not(.yoc-ph-full) .yoc-h{border-radius:18px 18px 0 0;padding-top:12px;min-height:58px}
html.yoc-phone:not(.yoc-collapsed) .yoc-drag{display:block;position:absolute;top:0;inset-inline:0;height:22px;z-index:3;cursor:ns-resize;touch-action:none}
html.yoc-phone:not(.yoc-collapsed) .yoc-drag::after{content:"";position:absolute;top:6px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:rgba(255,255,255,.55)}
html.yoc-phone.yoc-ph-full:not(.yoc-collapsed) .yoc-drag{display:none}
html.yoc-phone:not(.yoc-collapsed) .yoc-exp{display:grid!important}
html.yoc-phone:not(.yoc-collapsed):not(.yoc-ph-full) .yoc-sugg{max-height:76px;overflow:hidden}
.yoc-exp .yom-i2{display:none}html.yoc-ph-full .yoc-exp .yom-i1{display:none}html.yoc-ph-full .yoc-exp .yom-i2{display:block}
.yoc .yoc-ib:focus-visible,.yoc .yoc-send:focus-visible,.yoc .yoc-chip:focus-visible,.yoc .yoc-back:focus-visible{outline:2px solid var(--yoc-acc2);outline-offset:2px}
.yoc-grip::after{content:"";position:absolute;top:50%;left:2px;width:4px;height:36px;margin-top:-18px;border-radius:2px;background:#d6d1ef;opacity:0;transition:opacity .15s}
.yoc:hover .yoc-grip::after{opacity:1}
@media (prefers-reduced-motion:no-preference){
html.yoc-on.yoc-desk>body{transition:margin-inline-end .24s var(--yom-e)}
html.yoc-on.yoc-phone>body{transition:height .26s var(--yom-e),max-height .26s var(--yom-e)}
html.yoc-resizing>body,html.yoc-ph-drag>body,html.yoc-ph-drag .yoc{transition:none!important;animation:none!important}
html.yoc-desk:not(.yoc-collapsed) .yoc{animation:yomInE .24s var(--yom-e)}
html.yoc-desk:not(.yoc-collapsed) .yoc[dir=rtl]{animation-name:yomInS}
html.yoc-desk.yoc-closing .yoc{animation:yomOutE .19s ease-in forwards}
html.yoc-desk.yoc-closing .yoc[dir=rtl]{animation-name:yomOutS}
html.yoc-desk.yoc-closing>body{margin-inline-end:0!important}
html.yoc-desk.yoc-collapsed .yoc{animation:yomPill .22s var(--yom-e)}
html.yoc-phone:not(.yoc-collapsed) .yoc{animation:yomUp .26s var(--yom-e)}
html.yoc-phone.yoc-ph-full:not(.yoc-collapsed) .yoc{transition:top .24s var(--yom-e),height .24s var(--yom-e)}
html.yoc-phone.yoc-closing .yoc{animation:yomDown .2s ease-in forwards}
html.yoc-phone.yoc-collapsed .yoc{animation:yomPill .22s var(--yom-e)}
.yoc-m{animation:yomMsg .24s var(--yom-e)}
.yoc-step,.yoc-plan li{animation:yomMsg .22s var(--yom-e) both}
.yoc-ib,.yoc-send,.yoc-chip,.yoc-undo,.yoc-back,.yoc-tu,.yoc-to{transition:scale .12s ease,background-color .15s,color .15s,border-color .15s,box-shadow .15s}
.yoc-ib:active,.yoc-send:active,.yoc-chip:active,.yoc-undo:active,.yoc-back:active,.yoc-tu:active,.yoc-to:active{scale:.94}
.yoc-toast{animation:yomToastIn .24s var(--yom-e)}
.yoc-toast.yom-out{animation:yomToastOut .18s ease-in forwards}
/* app-wide, quiet: dialogs, menus, presses, cards */
.mback{animation:yomFade .16s ease-out}
.mback .modal,.modal[open],dialog[open]{animation:yomDlg .2s var(--yom-e)}
.pop,.menu:not([hidden]),[role=menu]{animation:yomPop .15s var(--yom-e)}
:is(#ribbon .rb,.rtab,#titlebar .btn,.btn,.ib,.tcard,.hbar button){transition:scale .1s ease,background-color .15s,color .15s,box-shadow .15s,border-color .15s}
:is(#ribbon .rb,.rtab,#titlebar .btn,.btn,.ib,.hbar button):active{scale:.96}
.tcard:hover{box-shadow:0 6px 18px rgba(29,27,46,.08)}
.tcard:active{scale:.98}
.tcard,.srow,.shrow{animation:yomItem .26s var(--yom-e) both}
}
@keyframes yomInE{from{opacity:0;translate:28px 0}to{opacity:1;translate:0 0}}
@keyframes yomInS{from{opacity:0;translate:-28px 0}to{opacity:1;translate:0 0}}
@keyframes yomOutE{to{opacity:0;translate:28px 0}}
@keyframes yomOutS{to{opacity:0;translate:-28px 0}}
@keyframes yomPill{from{opacity:0;scale:.9;translate:0 10px}to{opacity:1;scale:1;translate:0 0}}
@keyframes yomUp{from{translate:0 100%}to{translate:0 0}}
@keyframes yomDown{to{translate:0 100%}}
@keyframes yomMsg{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@keyframes yomToastIn{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
@keyframes yomToastOut{to{opacity:0;translate:0 14px}}
@keyframes yomFade{from{opacity:0}}
@keyframes yomDlg{from{opacity:0;scale:.97;translate:0 8px}to{opacity:1;scale:1;translate:0 0}}
@keyframes yomPop{from{opacity:0;translate:0 -4px}to{opacity:1;translate:0 0}}
@keyframes yomItem{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}

/* c3 motion floor (2026-10-20): every clickable eases its colour, border and shadow (180 ms); zero specificity so app rules win */
@media (prefers-reduced-motion:no-preference){
:where(button,a[href],[role=button],[role=tab],[role=menuitem],[role=option],summary,input,select,textarea,label.chk){transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
:where([role=dialog]:not([hidden]),[role=listbox]:not([hidden]),.smenu,.dropdown:not([hidden])){animation:yomPop .18s var(--yom-e,cubic-bezier(.2,.8,.2,1))}
:where(.yoc-ans,.yoc-msg){animation:yomMsg .22s var(--yom-e,cubic-bezier(.2,.8,.2,1)) both}
}

/* c5: send becomes «إيقاف» while the assistant works */
.yoc-busy .yoc-send.yoc-stopbtn,.yoc-send.yoc-stopbtn{opacity:1!important;cursor:pointer!important;background:#2f2a5a!important;color:#fff!important;animation:yocStopIn .18s ease}
.yoc-send.yoc-stopbtn:disabled{opacity:.55!important;cursor:default!important}
@keyframes yocStopIn{from{transform:scale(.9)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.yoc-send.yoc-stopbtn{animation:none}}

/* w17 6c7668ef: points badge in the coloured header kept its own brand colour (digits were white on lavender, 1.17:1) */

/* w17 6c7668ef: the selected header tab keeps its white pill on hover (hover rule out-ranked it: brand text on dark pill, 1.87:1) */
html[data-yo-app]:not(.dark) :is(header.htop,header#hdr,header#titlebar,header#tb,header.top) nav.tabs button[aria-selected=true]:not(.yoc *):hover{background:#fff!important}

/* w29 focus ring (26332e0c): the message box shows a clear 2px ring while its text field has keyboard focus (was a 14%-alpha glow) */
.yoc-box:focus-within{box-shadow:0 0 0 2px var(--yoc-acc2,#6d5fe0)!important}

/* w30 (c14da6a0): phones — every control in the open Copilot sheet is at least 44×44 px and 8 px apart */
html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-ib,html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-send,html.yoc-phone:not(.yoc-collapsed) .yoc .aip-mic,html.yoc-phone:not(.yoc-collapsed) .yoc .aip-spk,html.yoc-phone:not(.yoc-collapsed) .yoc .r4-x{min-width:44px!important;min-height:44px!important}
html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-back{min-height:44px!important}
html.yoc-phone:not(.yoc-collapsed) .yoc .aip-exo,html.yoc-phone:not(.yoc-collapsed) .yoc .aip-mchip,html.yoc-phone:not(.yoc-collapsed) .yoc .aip-pex a{min-height:44px!important;display:inline-flex;align-items:center}
html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-in{min-height:44px!important}
html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-h{gap:8px!important}
html.yoc-phone:not(.yoc-collapsed) .yoc .yoc-ib+.yoc-ib,html.yoc-phone:not(.yoc-collapsed) .yoc .aip-exb+.aip-exo{margin-inline-start:8px}
html.yoc-phone:not(.yoc-collapsed) .yoc .aip-exo+.aip-exo{margin-inline-start:8px}

/* w32 (9259fe7f) root fix: the header text rule above (line 158) no longer forces white on buttons that carry their own background (theme toggle .yo-thm26, or any element marked data-yo-ownbg) — replaces the w31 meet override */
/* w32: the selected-tab hover rule above forced a white chip in dark mode too (white label on white after the dark label fix) — light mode only now */

/* w36 (port of w35): phone collapsed FAB exposes the existing open button (keyboard + screen reader route) */
html.yoc-phone.yoc-collapsed .yoc-h>.yoc-tgl{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:transparent!important;cursor:pointer;z-index:1}
html.yoc-phone.yoc-collapsed .yoc-h>.yoc-tgl>span{visibility:hidden}
html.yoc-phone.yoc-collapsed .yoc-h>.yoc-tgl:focus-visible{outline:3px solid #fff!important;outline-offset:-5px}

/* w62: on list pages the collapsed assistant is an icon-only launcher, so it no longer sits over cards and their buttons */
html.yoc-desk.yoc-collapsed.yoc-home .yoc-tt,html.yoc-desk.yoc-collapsed.yoc-home .yoc-logo,html.yoc-desk.yoc-collapsed.yoc-home .yoc-h .aip-spk{display:none!important}
html.yoc-desk.yoc-collapsed.yoc-home .yoc-h{padding:6px!important;min-height:0!important}

/* w63-ai-diagrams-20261030T062753Z */
