/* y365.css — «يمامة سوبر أوفيس» portal shell (task 12dea6b6) */
@font-face{font-family:Plex;src:url(/suite/fonts/plex-ar-arabic-400.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Plex;src:url(/suite/fonts/plex-ar-arabic-700.woff2) format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Plex;src:url(/suite/fonts/plex-ar-latin-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url(/suite/fonts/plex-ar-latin-700.woff2) format('woff2');font-weight:700;font-display:swap}
:root{--brand:#4b3fb0;--deep:#2a1f6e;--ink:#1b1930;--muted:#55526b;--line:#e4e1f1;--bg:#f6f5fb;--card:#fff;--soft:#efedfb;--ring:#4b3fb0;--rail:88px;--top:64px}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:'IBM Plex Sans Arabic',Plex,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;font-size:15px;-webkit-tap-highlight-color:transparent}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:10px}
/* c12: keyboard skip link, full size (never clipped), slid above the top edge until focused */
.y-skip{position:absolute;inset-inline-start:8px;top:8px;padding:10px 14px;min-height:44px;white-space:nowrap;background:#fff;color:var(--ink);border-radius:10px;z-index:100;box-shadow:0 4px 18px rgba(0,0,0,.15);transform:translateY(calc(-100% - 40px));pointer-events:none}
.y-skip:focus{transform:none;pointer-events:auto}
.y-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* top bar */
.y-top{position:fixed;inset-inline:0;top:0;height:var(--top);background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:0 14px;z-index:40}
.y-ib{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:12px;border:0;background:transparent;cursor:pointer;color:var(--ink);position:relative;flex:none;text-decoration:none}
.y-ib:hover{background:var(--soft)}
.y-ib svg{width:22px;height:22px}
.y-logo{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;font-size:18px;color:var(--deep);white-space:nowrap;min-height:44px;padding:0 4px}
.y-logo i{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#4b3fb0,#2a1f6e);display:grid;place-items:center;flex:none}
.y-logo i img{width:22px;height:22px}
.y-logo b{font-weight:700}
.y-search{flex:1;max-width:620px;margin:0 auto;position:relative}
.y-search input{width:100%;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--bg);padding:0 44px 0 14px;font-size:15px}
html[dir=ltr] .y-search input{padding:0 14px 0 44px}
.y-search input:focus{background:#fff;border-color:var(--brand);outline:none;box-shadow:0 0 0 3px rgba(75,63,176,.25)}
.y-search>svg{position:absolute;inset-inline-start:13px;top:12px;width:20px;height:20px;color:var(--muted);pointer-events:none}
.y-sres{position:absolute;top:50px;inset-inline:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px rgba(27,25,48,.16);padding:6px;max-height:70vh;overflow:auto;z-index:60}
.y-sres [role=option]{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;min-height:44px;cursor:pointer;text-decoration:none}
.y-sres [role=option][aria-selected=true],.y-sres [role=option]:hover{background:var(--soft)}
.y-sres h4{margin:8px 10px 4px;font-size:12.5px;color:var(--muted);font-weight:700}
.y-sres .tx{flex:1;min-width:0}.y-sres .tx b{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.y-sres .tx span{font-size:13px;color:var(--muted)}
.y-end{display:flex;align-items:center;gap:4px;margin-inline-start:auto}
.y-search+.y-end{margin-inline-start:0}
.y-av{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}
.y-dot{position:absolute;top:3px;inset-inline-end:3px;min-width:18px;height:18px;border-radius:9px;background:#c62f3a;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 4px;line-height:1}
.y-sbtn{display:none}
/* popovers */
.y-pop{position:fixed;top:calc(var(--top) - 4px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 50px rgba(27,25,48,.2);z-index:70;padding:14px;max-height:calc(100vh - 90px);overflow:auto}
.y-pop[hidden]{display:none}
.y-pop h3{margin:2px 4px 10px;font-size:15px}
.y-pop.apps{inset-inline-start:10px;width:360px}
.y-pop.bell,.y-pop.me{inset-inline-end:10px;width:320px}
.y-agrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.y-agrid a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:12px;text-decoration:none;font-size:13px;text-align:center;min-height:88px;justify-content:center}
.y-agrid a:hover,.y-agrid a:focus-visible{background:var(--soft)}
.y-tile{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex:none}
.y-tile svg{width:22px;height:22px}
.y-pop .row{display:flex;gap:10px;align-items:center;padding:8px;border-radius:10px;min-height:44px;text-decoration:none}
.y-pop .row:hover{background:var(--soft)}
.y-pop .mut{color:var(--muted);font-size:13px}
.y-pop button.row{width:100%;border:0;background:none;cursor:pointer;text-align:start}
/* rail */
.y-rail{position:fixed;top:var(--top);bottom:0;inset-inline-start:0;width:var(--rail);background:#fff;border-inline-end:1px solid var(--line);overflow-y:auto;padding:8px 6px 16px;z-index:30;scrollbar-width:thin}
.y-rail a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;border-radius:12px;text-decoration:none;font-size:12.5px;color:#3d3a55;min-height:60px;justify-content:center;text-align:center;line-height:1.25}
.y-rail a svg{width:24px;height:24px}
.y-rail a:hover{background:var(--soft)}
.y-rail a[aria-current=page]{background:var(--soft);color:var(--deep);font-weight:700}
.y-rail a[aria-current=page] svg{color:var(--brand)}
.y-rail hr{border:0;border-top:1px solid var(--line);margin:6px 8px}
/* main */
.y-main{margin-inline-start:var(--rail);padding:calc(var(--top) + 26px) 32px 48px;max-width:calc(1240px + var(--rail));min-height:100vh}
.y-main h1{font-size:28px;margin:0 0 4px;line-height:1.3}
.y-sub{color:var(--muted);margin:0 0 18px;font-size:16px}
.y-sec{margin-top:30px}
.y-sec>header,.y-two header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.y-sec h2{font-size:18px;margin:0}
.y-link{color:var(--brand);font-weight:700;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:0 6px;border-radius:10px;background:none;border:0;cursor:pointer}
.y-link:hover{text-decoration:underline}
.y-qa{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.y-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--line);background:#fff;font-weight:700;cursor:pointer;text-decoration:none;color:var(--ink);font-size:14.5px}
.y-btn:hover{border-color:#cfcae8;background:#fbfaff}
.y-btn svg{width:20px;height:20px;flex:none}
.y-btn.pri{background:var(--brand);border-color:var(--brand);color:#fff}
.y-btn.pri:hover{background:#3f34a0}
.y-btn.dan{color:#a3222c}
.y-btn[disabled]{opacity:.6;cursor:default}
.y-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.y-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;gap:12px;align-items:flex-start;transition:box-shadow .15s,border-color .15s;min-height:92px}
.y-card:hover{box-shadow:0 8px 24px rgba(27,25,48,.08);border-color:#d6d1ee}
.y-card a.go{position:absolute;inset:0;border-radius:16px;z-index:1}
.y-card .tx{flex:1;min-width:0;padding-inline-end:30px}
.y-card .tx b{display:block;font-size:15.5px}
.y-card .tx span{display:block;font-size:13.5px;color:var(--muted);line-height:1.45;margin-top:2px}
.y-card .tag{display:inline-block;font-size:11.5px;font-weight:700;color:#5a4a00;background:#fff2c2;border-radius:6px;padding:0 6px;margin-inline-start:6px;vertical-align:middle}
.y-pin{position:absolute;top:8px;inset-inline-end:8px;z-index:2;width:44px;height:44px;border-radius:12px;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:#77748c}
.y-pin:hover{background:var(--soft)}
.y-pin[aria-pressed=true]{color:var(--brand)}
.y-pin svg{width:20px;height:20px}
.y-two{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}
.y-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px}
.y-list{list-style:none;margin:0;padding:0}
.y-list li a,.y-list li .it{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;text-decoration:none;min-height:56px}
.y-list li a:hover{background:var(--soft)}
.y-list .tx{flex:1;min-width:0}
.y-list .tx b{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.y-list .tx span{font-size:13px;color:var(--muted)}
.y-list .tm{font-size:13px;color:var(--muted);white-space:nowrap}
.y-empty{padding:26px 16px;text-align:center;color:var(--muted)}
.y-empty svg{width:44px;height:44px;color:#b3aed1;display:block;margin:0 auto 8px}
.y-empty b{display:block;color:var(--ink);margin-bottom:4px}
.y-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1b1930;color:#fff;padding:12px 18px;border-radius:12px;z-index:99;font-weight:700;max-width:90vw;opacity:0;pointer-events:none;transition:opacity .2s}
.y-toast.on{opacity:1}
.y-chips{display:flex;flex-wrap:wrap;gap:8px}
.y-chip{min-height:44px;padding:0 14px;border-radius:22px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:14px}
.y-chip[aria-pressed=true]{background:var(--deep);border-color:var(--deep);color:#fff}
/* dialogs */
dialog.y-dlg{border:0;border-radius:18px;padding:0;width:min(560px,94vw);max-height:90vh;box-shadow:0 30px 80px rgba(0,0,0,.3)}
dialog.y-dlg::backdrop{background:rgba(20,16,50,.45)}
.y-dlg form{padding:20px;display:flex;flex-direction:column;gap:12px}
.y-dlg h2{margin:0;font-size:19px}
.y-dlg label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:14px}
.y-dlg input[type=text],.y-dlg input[type=date],.y-dlg input[type=time],.y-dlg input:not([type]),.y-dlg select,.y-dlg textarea,.y-in{border:1px solid #cfcbe3;border-radius:11px;min-height:44px;padding:8px 12px;background:#fff;font-weight:400;font-size:15px;width:100%}
.y-dlg textarea{min-height:140px;resize:vertical}
.y-dlg .chk{flex-direction:row;align-items:center;gap:10px;min-height:44px}
.y-dlg .chk input{width:22px;height:22px}
.y-dlg .acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:6px}
.y-dlg .grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.y-colors{display:flex;gap:8px;flex-wrap:wrap}
.y-colors label{width:44px;height:44px;border-radius:50%;cursor:pointer;display:grid;place-items:center;border:2px solid transparent}
.y-colors input{position:absolute;opacity:0;pointer-events:none}
.y-colors input:checked+span{outline:3px solid var(--deep);outline-offset:2px}
.y-colors span{width:32px;height:32px;border-radius:50%;display:block;border:1px solid rgba(0,0,0,.15)}
.y-colors input:focus-visible+span{outline:3px solid var(--ring);outline-offset:3px}
/* notes */
.n-yellow{background:#fff7d1}.n-green{background:#e3f6e8}.n-blue{background:#e2efff}.n-pink{background:#fde6ef}.n-purple{background:#eee8ff}.n-gray{background:#f0f0f3}
.y-notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.y-note{border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:14px;text-align:start;cursor:pointer;min-height:130px;display:flex;flex-direction:column;gap:6px;font:inherit;color:var(--ink)}
.y-note b{font-size:15.5px}
.y-note p{margin:0;white-space:pre-wrap;color:#34314a;font-size:14px;max-height:9.5em;overflow:hidden}
.y-note small{color:#4f4c63;margin-top:auto}
/* calendar */
.c-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.c-bar h2{margin:0 8px;font-size:19px;min-width:150px}
.c-wrap{display:grid;grid-template-columns:1fr 320px;gap:18px}
.c-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.c-grid .dn{padding:8px;font-size:13px;font-weight:700;color:var(--muted);text-align:center;border-bottom:1px solid var(--line)}
.c-day{min-width:0;overflow:hidden;min-height:92px;border:0;border-top:1px solid var(--line);border-inline-start:1px solid var(--line);background:#fff;padding:6px;text-align:start;cursor:pointer;display:flex;flex-direction:column;gap:3px;font:inherit;color:var(--ink)}
.c-day:nth-child(7n+1){border-inline-start:0}
.c-day.out{background:#faf9fd;color:var(--muted)}
.c-day.today .num{background:var(--brand);color:#fff}
.c-day[aria-pressed=true],.c-day[aria-selected=true]{box-shadow:inset 0 0 0 2px var(--brand)}
.c-day .num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:13.5px}
.c-ev{font-size:12px;background:#e9e5ff;color:#2a1f6e;border-radius:6px;padding:1px 6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.c-ev.m{background:#dff3ea;color:#0d5536}
.c-side{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;align-self:start}
.c-side h3{margin:0 0 10px;font-size:16px}
.c-item{border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}
.c-item b{display:block}
.c-item .mut{color:var(--muted);font-size:13px}
.c-item .acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
/* tables */
.y-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.y-table th,.y-table td{padding:10px 12px;text-align:start;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
.y-table th{background:#faf9fd;font-size:13px;color:var(--muted)}
.y-table td a{font-weight:700;text-decoration:none}
.y-table td a:hover{text-decoration:underline}
.y-scroll{overflow-x:auto}
/* assistant */
.a-wrap{display:grid;grid-template-columns:260px 1fr;gap:18px;height:calc(100vh - var(--top) - 52px)}
.a-side{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.a-side .t{display:flex;align-items:center;gap:4px}
.a-side .t a{flex:1;min-width:0;display:block;padding:10px;border-radius:10px;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px}
.a-side .t a[aria-current=true]{background:var(--soft);font-weight:700}
.a-side .t a:hover{background:var(--soft)}
.a-main{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;min-height:0;min-width:0}
.a-row,.a-row textarea{min-width:0} /* c10: the composer never pushes the page wider than a phone */
.a-log{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px}
.a-msg{max-width:78%;padding:12px 14px;border-radius:16px;white-space:pre-wrap;line-height:1.6}
.a-msg.u{align-self:flex-start;background:var(--deep);color:#fff;border-end-start-radius:4px}
.a-msg.a{align-self:flex-end;background:#f3f1fb;border-end-end-radius:4px}
html[dir=rtl] .a-msg.u{align-self:flex-start}
.a-act{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;margin-top:8px;white-space:normal}
.a-act .tx{flex:1;min-width:0}.a-act .tx b{display:block}.a-act .tx span{font-size:13px;color:var(--muted)}
.a-act.bad{border-color:#f0c7cb;background:#fff6f7}
.a-hero{margin:auto;text-align:center;max-width:620px;padding:20px}
.a-hero h1{font-size:26px}
.a-hero .y-chips{justify-content:center;margin-top:14px}
.a-comp{border-top:1px solid var(--line);padding:12px;display:flex;flex-direction:column;gap:8px}
.a-row{display:flex;gap:8px;align-items:flex-end}
.a-row textarea{flex:1;min-height:48px;max-height:180px;resize:none;border:1px solid #cfcbe3;border-radius:14px;padding:12px;font-size:15px}
.a-row textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(75,63,176,.25)}
.a-files{display:flex;gap:6px;flex-wrap:wrap}
.a-file{display:inline-flex;align-items:center;gap:4px;background:var(--soft);border-radius:10px;padding:0 0 0 10px;font-size:13px;min-height:36px}
html[dir=rtl] .a-file{padding:0 10px 0 0}
.a-file button{width:36px;height:36px;border:0;background:none;cursor:pointer;border-radius:10px}
.a-think{align-self:flex-end;color:var(--muted);font-size:14px;display:flex;gap:8px;align-items:center}
.a-think i{width:8px;height:8px;border-radius:50%;background:var(--brand);animation:yb 1s infinite alternate}
.a-think i:nth-child(2){animation-delay:.2s}.a-think i:nth-child(3){animation-delay:.4s}
@keyframes yb{from{opacity:.25}to{opacity:1}}
.a-tog{display:none}
/* forms fill */
.f-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:12px}
.f-card label{display:block;font-weight:700;margin-bottom:8px}
.f-card .opt{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400}
.f-card .opt input{width:20px;height:20px}
.y-plain .y-main{margin-inline-start:0;max-width:760px;margin:0 auto}
@media (max-width:1100px){.y-two,.c-wrap{grid-template-columns:1fr}}
@media (max-width:760px){
  :root{--top:58px}
  .y-top{padding:0 6px;gap:2px}
  .y-search{display:none;position:fixed;top:var(--top);inset-inline:0;max-width:none;background:#fff;padding:8px;border-bottom:1px solid var(--line)}
  .y-search.open{display:block}
  .y-search>svg{top:20px;inset-inline-start:21px}
  .y-sres{top:58px;inset-inline:8px}
  .y-sbtn{display:inline-grid}
  .y-logo{font-size:16.5px}
  .y-rail{top:auto;bottom:0;height:calc(68px + env(safe-area-inset-bottom,0px));width:auto;inset-inline:0;display:flex;overflow-x:auto;overflow-y:hidden;border-inline-end:0;border-top:1px solid var(--line);padding:2px 4px;padding-bottom:env(safe-area-inset-bottom)}
  .y-rail a{min-width:70px;min-height:62px;flex:none;font-size:12px}
  .y-rail hr{display:none}
  .y-main{margin-inline-start:0;padding:calc(var(--top) + 18px) 14px calc(96px + env(safe-area-inset-bottom,0px))}
  .y-toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));left:12px;right:12px;transform:none;max-width:none;text-align:center;line-height:1.5} /* loop5: above the bottom bar, full width so long messages do not wrap into a narrow column */
  .y-main h1{font-size:23px}
  .y-cards{grid-template-columns:1fr}
  .y-pop.apps,.y-pop.bell,.y-pop.me{inset-inline:8px;width:auto}
  .a-wrap{display:flex;flex-direction:column;gap:10px;height:calc(100vh - var(--top) - 110px)}
  .a-main{flex:1 1 auto}
  .a-side{display:none}
  /* c10: on phones the conversation list opens in the page above the chat (it used to cover the screen, hiding its own close button and the chat header) */
  .a-side.open{display:flex;flex:0 0 auto;max-height:38vh}
  .a-tog{display:inline-flex}
  .a-msg{max-width:92%}
  .c-day{min-height:62px;padding:4px}
  .c-ev{font-size:10.5px;padding:0 3px}
  .c-grid .dn{font-size:11px;padding:6px 0;overflow:hidden}
  .y-dlg .grid2{grid-template-columns:1fr}
  .y-plain .y-main{padding-bottom:30px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* overflow + a11y fixes (live 390 check) */
.y-two{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
@media (max-width:1100px){.y-two{grid-template-columns:minmax(0,1fr)}}
.y-two>section,.y-panel,.y-list,.y-list li,.y-list a{min-width:0}
.y-list .tx{min-width:0;overflow:hidden;flex:1}
.y-list .tx b,.y-list .tx>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.y-search input:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.y-skip:focus{min-height:44px}

/* 2d4c02d1 (Oct 21): phone bottom bar = 5 apps + «المزيد»; nothing runs off the edge */
.y-rmore{display:none}
@media (max-width:760px){
  .y-rail{overflow:hidden}
  .y-rail a,.y-rail .y-rmore{flex:1 1 0;min-width:0}
  .y-rail a.y-rx{display:none}
  .y-rail .y-rmore{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 2px;border:0;background:none;border-radius:12px;font:inherit;font-size:12px;color:#3d3a55;min-height:62px;cursor:pointer;line-height:1.25}
  .y-rail .y-rmore svg{width:24px;height:24px}
  .y-rail .y-rmore:hover{background:var(--soft)}
  .y-rail a span,.y-rail .y-rmore span{white-space:nowrap}
}
@media (max-width:380px){.y-rail a,.y-rail .y-rmore{font-size:11px}}

/* loop3 18dbf1e1: [hidden] always wins (.y-btn{display:inline-flex} was overriding it, so the reminders button showed for guests) */
[hidden]{display:none!important}
/* loop3 18dbf1e1: app tiles are decorative; the link/row under them takes the tap, and hit-testing lands on the solid white panel/card */
.y-tile{pointer-events:none}

/* UX-M4 (task 3dddaab2): "Yamama Super Office" is too wide for a 390 px phone header in English; show the short name there */
@media (max-width:420px){html[lang=en] .y-logo b{font-size:0}html[lang=en] .y-logo b::before{content:"Super Office";font-size:16.5px}}

/* ===== 5f5a1364 (Oct 22): visual upgrade — one design system for the portal (tokens, depth, tiles, hero, motion) ===== */
:root{--r:18px;--r-sm:12px;--bg:#f5f4fa;--line:#e7e4f2;--sh1:0 1px 2px rgba(27,25,48,.05),0 6px 18px -8px rgba(27,25,48,.12);--sh2:0 2px 4px rgba(27,25,48,.06),0 18px 36px -14px rgba(42,31,110,.28);--grad:linear-gradient(135deg,#2a1f6e 0%,#4b3fb0 58%,#6f5fe6 100%);--ease:cubic-bezier(.2,.7,.2,1)}
body{background:radial-gradient(1200px 520px at 85% -120px,rgba(111,95,230,.10),transparent 70%),var(--bg);background-attachment:fixed;letter-spacing:0}
html[lang=en] body{letter-spacing:-.005em}
.y-main{animation:yIn .38s var(--ease) both}
@keyframes yIn{from{transform:translateY(6px)}to{transform:none}}
/* top bar: glass */
.y-top{background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);border-bottom-color:rgba(231,228,242,.9)}
.y-logo i{box-shadow:0 6px 14px -6px rgba(42,31,110,.55),inset 0 1px 0 rgba(255,255,255,.3)}
.y-av{background:var(--grad);box-shadow:0 4px 10px -4px rgba(42,31,110,.6);font-size:16px}
.y-av svg{width:20px;height:20px}
.y-ib{transition:background .18s var(--ease),transform .18s var(--ease)}
.y-ib:active{transform:scale(.94)}
.y-search input{background:#f1f0f8;border-color:transparent;transition:background .2s,box-shadow .2s,border-color .2s}
.y-pop,.y-sres{border-color:rgba(231,228,242,.9);box-shadow:0 24px 60px -18px rgba(27,25,48,.35);animation:yPop .18s var(--ease) both}
@keyframes yPop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.y-agrid a{transition:background .15s,transform .15s}
.y-agrid a:active{transform:scale(.96)}
/* app tiles: one family — glossy squircles with a soft lift */
.y-tile{position:relative;border-radius:13px;background-image:linear-gradient(155deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.08) 42%,rgba(0,0,0,.16) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.08),0 6px 14px -7px rgba(27,25,48,.45)}
.y-tile svg{stroke-width:2;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18))}
/* rail */
.y-rail{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.y-rail a{position:relative;transition:background .18s var(--ease),color .18s}
.y-rail a[aria-current=page]{background:linear-gradient(180deg,#efecff,#e7e3ff)}
.y-rail a[aria-current=page]::before{content:"";position:absolute;inset-inline-start:-6px;top:14px;bottom:14px;width:4px;border-radius:4px;background:var(--grad)}
/* buttons */
.y-btn{border-radius:var(--r-sm);transition:background .18s var(--ease),border-color .18s,box-shadow .18s,transform .12s;box-shadow:0 1px 2px rgba(27,25,48,.05)}
.y-btn:active{transform:scale(.97)}
.y-btn.pri{background:var(--grad);border-color:transparent;box-shadow:0 8px 18px -8px rgba(75,63,176,.7)}
.y-btn.pri:hover{background:var(--grad);filter:brightness(1.07)}
.y-btn svg{color:var(--brand)}
.y-btn.pri svg{color:#fff}
.y-chip{transition:background .15s,border-color .15s,color .15s}
.y-chip[aria-pressed=true]{background:var(--grad);border-color:transparent}
/* headings */
.y-main h1{font-size:30px;letter-spacing:-.01em}
.y-sec h2{font-size:19px;display:flex;align-items:center;gap:10px}
.y-sec h2::before{content:"";width:6px;height:20px;border-radius:3px;background:var(--grad);flex:none}
.y-h1{display:flex;align-items:center;gap:14px}
.y-h1 .y-tile{width:48px;height:48px;border-radius:15px}
.y-h1 .y-tile svg{width:26px;height:26px}
/* cards & panels */
.y-card,.y-panel,.c-side,.c-grid,.y-table,.f-card{border-color:var(--line);box-shadow:var(--sh1)}
.y-card{border-radius:var(--r);padding:18px;gap:14px;transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s}
.y-card:hover{transform:translateY(-3px);box-shadow:var(--sh2);border-color:#d9d3f3}
.y-card:active{transform:translateY(-1px) scale(.99)}
.y-card .y-tile{width:48px;height:48px;border-radius:15px}
.y-card .y-tile svg{width:25px;height:25px}
.y-card .tx b{font-size:16px;margin-top:2px}
.y-panel{border-radius:var(--r);padding:8px}
.y-list li a{transition:background .15s}
/* pin: a quiet round control, clearly a button */
.y-pin{top:10px;inset-inline-end:10px;width:40px;height:40px;border-radius:50%;color:#8a86a3;transition:background .15s,color .15s,transform .15s}
.y-pin svg{width:18px;height:18px}
.y-pin:hover{background:#f1effb;color:var(--brand)}
.y-pin[aria-pressed=true]{background:#efecff;color:var(--brand)}
/* designed empty states */
.y-empty{padding:30px 18px;line-height:1.6}
.y-empty svg{width:64px;height:64px;padding:17px;border-radius:22px;color:#fff;background:linear-gradient(155deg,rgba(255,255,255,.35),rgba(255,255,255,0) 45%),var(--grad);box-shadow:0 14px 28px -12px rgba(75,63,176,.6),inset 0 1px 0 rgba(255,255,255,.35);margin:0 auto 14px;stroke-width:1.9}
.y-empty b{font-size:16px;margin-bottom:6px}
/* hero */
.y-hero{position:relative;overflow:hidden;border-radius:26px;padding:30px 34px 28px;color:#fff;background:radial-gradient(520px 260px at 12% 0%,rgba(255,255,255,.16),transparent 70%),radial-gradient(420px 300px at 0% 100%,rgba(56,189,248,.22),transparent 70%),linear-gradient(135deg,#1f1752 0%,#3b2f9e 52%,#6a58e8 100%);box-shadow:0 26px 50px -26px rgba(42,31,110,.75);isolation:isolate}
.y-hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.10) 1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 70%);mask-image:linear-gradient(90deg,transparent,#000 70%);z-index:-1;pointer-events:none}
html[dir=ltr] .y-hero::after{-webkit-mask-image:linear-gradient(270deg,transparent,#000 70%);mask-image:linear-gradient(270deg,transparent,#000 70%)}
.y-hero .y-hx{position:relative;z-index:1;max-width:min(640px,62%)}
.y-hero .y-date{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:#e6e2ff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 12px;margin:0 0 12px}
.y-hero .y-date:empty{display:none}
.y-hero h1{color:#fff;font-size:32px;margin:0 0 6px}
.y-hero .y-sub{color:rgba(255,255,255,.84);margin:0 0 20px;font-size:16px}
.y-hero .y-qa{margin:0}
.y-hero .y-btn{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);color:#fff;box-shadow:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.y-hero .y-btn svg{color:#fff}
.y-hero .y-btn:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.y-hero .y-btn.pri{background:#fff;color:#2a1f6e;border-color:#fff;box-shadow:0 10px 22px -10px rgba(0,0,0,.5)}
.y-hero .y-btn.pri svg{color:var(--brand)}
.y-hero .y-btn.pri:hover{filter:none;background:#f4f2ff}
.y-hero-art{position:absolute;inset-inline-end:-10px;bottom:-18px;width:min(430px,40%);height:auto;z-index:0;pointer-events:none;filter:drop-shadow(0 20px 30px rgba(10,6,40,.35));animation:yFloat 7s ease-in-out infinite}
@keyframes yFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
/* calendar polish */
.c-grid,.c-side{border-radius:var(--r)}
.c-day{transition:background .15s}
.c-day:hover{background:#faf9ff}
.c-day.today .num{background:var(--grad);box-shadow:0 4px 10px -4px rgba(75,63,176,.7)}
.c-ev{border-inline-start:3px solid #6f5fe6;border-radius:5px}
.c-ev.m{border-inline-start-color:#16a36b}
.c-item{border-radius:14px;transition:box-shadow .15s}
.c-item:hover{box-shadow:var(--sh1)}
/* notes */
.y-note{border-radius:var(--r);box-shadow:0 1px 2px rgba(27,25,48,.05);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.y-note:hover{transform:translateY(-2px) rotate(-.3deg);box-shadow:var(--sh2)}
dialog.y-dlg{border-radius:22px;animation:yPop .2s var(--ease) both}
.y-toast{border-radius:14px;box-shadow:0 18px 40px -12px rgba(0,0,0,.45)}
@media (max-width:1100px){.y-hero{display:flex;flex-direction:column}.y-hero .y-hx{max-width:none}.y-hero-art{position:relative;display:block;inset:auto;width:min(360px,80%);margin:-8px auto -22px;order:-1}}
@media (max-width:760px){
  .y-hero{border-radius:22px;padding:4px 18px 20px;margin-inline:-2px}
  .y-hero-art{width:min(300px,86%);margin:0 auto -14px}
  .y-hero h1{font-size:25px}
  .y-hero .y-sub{font-size:14.5px;margin-bottom:16px}
  .y-hero .y-date{font-size:12.5px;margin-bottom:10px}
  .y-hero .y-qa{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .y-hero .y-qa .y-btn{justify-content:center;padding:0 10px;font-size:14px;min-height:46px}
  .y-hero .y-qa .y-btn.pri{grid-column:1/-1}
  .y-main h1{font-size:24px}
  .y-cards{grid-template-columns:1fr 1fr;gap:10px}
  .y-card{flex-direction:column;align-items:flex-start;gap:10px;padding:14px;min-height:0}
  .y-card .tx{padding-inline-end:0}
  .y-card .tx b{font-size:15px}
  .y-card .tx span{font-size:12.5px;line-height:1.5}
  .y-card .y-tile{width:44px;height:44px;border-radius:14px}
  .y-pin{top:6px;inset-inline-end:6px}
  .y-card .y-empty{grid-column:1/-1}
  .y-rail{background:rgba(255,255,255,.92);box-shadow:0 -8px 24px -16px rgba(27,25,48,.3)}
  .y-rail a[aria-current=page]{background:none;color:var(--deep)}
  .y-rail a[aria-current=page]::before{inset-inline-start:auto;left:50%;transform:translateX(-50%);top:6px;bottom:auto;width:54px;height:30px;border-radius:15px;background:linear-gradient(180deg,#ece8ff,#e2dcff);z-index:-1}
  .y-rail a{isolation:isolate}
  .y-h1 .y-tile{width:42px;height:42px;border-radius:13px}
}
@media (prefers-reduced-motion:reduce){.y-hero-art{animation:none}}

.y-two:has(>section[hidden]){grid-template-columns:minmax(0,1fr)}

/* ===== 20daf818 (Oct 22, round 2): crawl fixes ===== */
/* hero: the soft highlights move to a layer of their own, so every colour painted under the white text is dark (crawl H13) */
.y-hero{background:linear-gradient(135deg,#1f1752 0%,#3b2f9e 52%,#5646d6 100%)}
.y-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(520px 260px at 12% 0%,rgba(255,255,255,.16),transparent 70%),radial-gradient(420px 300px at 0% 100%,rgba(56,189,248,.22),transparent 70%)}
.y-hero .y-sub{color:rgba(255,255,255,.9)}
/* 360 px phones: the top bar fits (account button was 8-10 px past the edge — crawl H02) */
@media (max-width:380px){.y-top{padding:0 2px;gap:0}.y-top .y-ib{width:44px;height:44px}.y-logo{font-size:15px;gap:6px;padding:0 2px}.y-logo i{width:28px;height:28px;border-radius:8px}.y-logo i img{width:19px;height:19px}.y-end{gap:0}}
@media (max-width:420px){html[lang=en] .y-logo b::before{font-size:15px}}
/* desktop side rail on short screens (1280x800 and laptops): all 14 apps fit, the last one is no longer cut */
@media (min-width:761px) and (max-height:940px){.y-rail{padding:6px 6px 8px}.y-rail a{min-height:48px;padding:4px 2px;gap:2px;font-size:11.5px}.y-rail a svg{width:21px;height:21px}.y-rail hr{margin:4px 8px}.y-rail a[aria-current=page]::before{top:10px;bottom:10px}}
@media (min-width:761px) and (max-height:780px){.y-rail a{min-height:44px;font-size:11px}.y-rail a svg{width:20px;height:20px}}
.y-hero .y-date{color:#fff;background:rgba(255,255,255,.12)}

/* ===== r3 (Oct 22, owner's Android shots): assistant — nothing hidden, less text ===== */
.a-head{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line)}
.a-head #a-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@supports (height:100dvh){.a-wrap{height:calc(100dvh - var(--top) - 52px)}}
.a-hero{padding:16px}
.a-hero .a-hico{width:48px;height:48px;margin:0 auto 10px;border-radius:14px}
.a-hero h2{font-size:22px;margin:0 0 4px}
.a-hero .y-sub{margin:0;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a-sug{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.a-sug .y-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-height:40px;padding:0 14px}
.a-sug .y-chip svg{width:18px;height:18px;flex:none;color:var(--brand)}
@media (max-width:760px){
  body[data-page=assistant] .y-main{padding:0;min-height:0}
  body[data-page=assistant] .a-wrap{position:fixed;top:var(--top);bottom:calc(68px + env(safe-area-inset-bottom,0px));inset-inline:0;height:auto;gap:0;z-index:5}
  html.a-kb body[data-page=assistant] .a-wrap{bottom:var(--kb,0px)}
  html.a-kb body[data-page=assistant] .y-rail{display:none}
  body[data-page=assistant] .a-main{border:0;border-radius:0;background:transparent;box-shadow:none}
  /* one header: the app bar stays; the chat's own row shrinks to a small history button */
  body[data-page=assistant] .a-head{border:0;padding:6px 10px 0;min-height:0}
  body[data-page=assistant] .a-head #a-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body[data-page=assistant] .a-head .a-tog{min-height:40px;padding:0 10px;font-size:13.5px;background:#fff}
  body[data-page=assistant] .a-head #a-bal{margin-inline-start:auto}
  body[data-page=assistant] .a-log{padding:10px 14px}
  body[data-page=assistant] .a-hero{padding:8px 4px}
  body[data-page=assistant] .a-sug{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body[data-page=assistant] .a-sug .y-chip{justify-content:center;min-height:44px;padding:0 10px;background:#fff}
  body[data-page=assistant] .a-comp{background:#fff;border-top:1px solid var(--line);padding:8px 10px;box-shadow:0 -4px 14px rgba(42,31,110,.06)}
  body[data-page=assistant] .a-row textarea{min-height:46px;padding:11px 12px}
  body[data-page=assistant] .a-side.open{max-height:45%;margin:6px 10px 0;overflow:auto}
}
@media (max-width:760px) and (max-height:620px){body[data-page=assistant] .a-hero .a-hico,body[data-page=assistant] .a-hero .y-sub{display:none}}
@media (max-width:760px){body[data-page=assistant] .a-hero{width:100%;max-width:420px}}
@media (min-width:761px){.a-wrap{height:calc(100vh - var(--top) - 74px)}@supports (height:100dvh){.a-wrap{height:calc(100dvh - var(--top) - 74px)}}}

/* r7 a11y: date/time fields and their picker icon get a clear 2px ring (eacd1ba5) */
input[type=date]:focus-visible,input[type=time]:focus-visible,input[type=datetime-local]:focus-visible{outline:2px solid #4b3fb0!important;outline-offset:2px}
input::-webkit-calendar-picker-indicator:focus-visible{outline:2px solid #4b3fb0;outline-offset:1px;border-radius:3px}

/* r8 d45360ad: keep Save/Cancel in view in long dialogs (new event): sticky action bar */
.y-dlg form{background:inherit}
.y-dlg form>.acts{position:sticky;bottom:-20px;background:inherit;margin:6px -20px -20px;padding:12px 20px 16px;border-top:1px solid rgba(120,110,170,.25);z-index:3}

/* r10 (124816ba): home footer — brand line + legal links */
.y-foot{margin-top:36px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;color:var(--muted);font-size:14px}.y-foot b{color:var(--ink)}.y-foot nav{display:flex;flex-wrap:wrap;gap:2px 8px}.y-foot .y-link{font-weight:600;font-size:14px}

/* r11 (6666ecde): icon-grid launcher (competitor side-by-side) — big icon, short name, pin as a small corner control */
.y-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.y-app{position:relative;border-radius:18px;transition:background .15s}
.y-app:hover{background:#f4f2fc}
.y-app a.go{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:16px 6px 14px;border-radius:18px;text-decoration:none;color:var(--ink);text-align:center}
.y-app a.go:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.y-app .y-tile{width:56px;height:56px;border-radius:17px}
.y-app .y-tile svg{width:28px;height:28px}
.y-app .nm{font-size:14.5px;font-weight:700;line-height:1.3}
.y-app .y-pin{position:absolute;top:2px;inset-inline-end:2px;width:44px;height:44px;border-radius:50%;opacity:0;background:transparent}
.y-app:hover .y-pin,.y-app:focus-within .y-pin,.y-app .y-pin[aria-pressed=true]{opacity:1}
.y-app .y-pin[aria-pressed=true]{background:transparent;color:var(--brand)}
.y-app .y-pin svg{width:16px;height:16px}
@media (hover:none){.y-app .y-pin{opacity:1;color:#b3afc8}}
#y-pins .y-empty{grid-column:1/-1}
.y-sec>header h2,.y-two header h2{font-size:17px;letter-spacing:0}
@media (max-width:760px){
  .y-grid{grid-template-columns:repeat(4,1fr);gap:4px}
  .y-app a.go{min-height:96px;padding:12px 2px 10px;gap:8px}
  .y-app .y-tile{width:50px;height:50px;border-radius:15px}
  .y-app .y-tile svg{width:25px;height:25px}
  .y-app .nm{font-size:12.5px}
  .y-app .y-pin{width:32px;height:32px;top:-2px;inset-inline-end:-2px}
}
@media (max-width:360px){.y-grid{grid-template-columns:repeat(3,1fr)}}

/* r11: one clear focus on phones — the app grid comes up above the fold (decorative hero art hidden ≤760px) */
@media (max-width:760px){body[data-page=home] .y-hero-art{display:none}body[data-page=home] .y-hero{padding-top:18px}}

/* r11: edit mode for pins — hidden on touch until «تعديل», then a full 44px target */
.y-sec>header .y-edit{min-height:44px;min-width:44px;border:0;background:none;cursor:pointer;font:inherit;font-weight:700;color:var(--brand)}
.y-two header .y-link{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@media (hover:none){.y-app .y-pin{display:none}}
.y-editing .y-app .y-pin{display:grid;opacity:1;width:44px;height:44px;top:-4px;inset-inline-end:-4px;background:#fff;border-radius:50%;box-shadow:0 2px 8px rgba(27,25,48,.18);color:#8a86a3}
.y-editing .y-app .y-pin[aria-pressed=true]{color:var(--brand)}
.y-editing .y-app a.go{animation:yWig .28s ease-in-out infinite alternate}
@keyframes yWig{from{transform:rotate(-1.2deg)}to{transform:rotate(1.2deg)}}
@media (prefers-reduced-motion:reduce){.y-editing .y-app a.go{animation:none}}
@media (hover:hover){.y-sec>header .y-edit{display:none}}

/* r11: calmer — pinned markers only on hover (desktop) or in edit mode (touch); edit badge 28px visual inside a 44px target */
.y-app .y-pin[aria-pressed=true]{opacity:0}
.y-app:hover .y-pin,.y-app:focus-within .y-pin{opacity:1}
.y-editing .y-app .y-pin,.y-editing .y-app .y-pin[aria-pressed=true]{opacity:1;background:transparent;box-shadow:none}
.y-editing .y-app .y-pin svg{width:28px;height:28px;padding:6px;box-sizing:border-box;background:#fff;border-radius:50%;box-shadow:0 2px 8px rgba(27,25,48,.2)}

/* r11: no empty two-column strip when both recent lists are hidden */
.y-two:not(:has(>section:not([hidden]))){display:none}

/* r13 (task 6b8694e7): no iOS focus zoom; Edit is a toggle with a constant name */
@media (pointer:coarse){.y-top input,.y-main input,.y-main select,.y-main textarea,input[type=search]{font-size:16px}}
.y-edit[aria-pressed=true]{background:#efecff;color:var(--brand);border-radius:999px;padding-inline:12px}
.y-edit[aria-pressed=true]::before{content:'\2713\00a0'}
/* r13b: WebKit showed tiles through the translucent bottom bar where blur is not painted — near-opaque bar; visible pressed state for Edit */
.y-rail{background:rgba(255,255,255,.97)}
.y-sec>header>.y-link.y-edit[aria-pressed=true]{background:#efecff;color:var(--brand);text-decoration:none;border-radius:999px;padding:4px 12px}

/* aa51f532: header end fits on 320px phones */@media (max-width:340px){.y-end{gap:0!important}.y-end .y-ib{width:36px!important;min-width:36px!important;padding:0!important}}

/* 9b0545b2: «فتحتها مؤخرًا» — recently opened files across the suite + template empty state */
.y-recent .y-list li a{min-height:58px}
.y-empty-rf{padding:22px 14px}
.y-empty-rf>span{display:block;font-size:14px;margin-bottom:14px}
.y-empty-rf .y-tpl{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:0}
.y-empty-rf .y-tpl .y-btn{min-height:46px;justify-content:center;gap:10px;padding:0 12px;font-size:14px;min-width:0;text-align:start}
.y-empty .y-tpl .ti{width:30px;height:30px;min-width:30px;border-radius:9px;display:inline-grid;place-items:center;flex:none}
.y-empty .y-tpl .ti svg{width:18px;height:18px;margin:0;display:block;color:#fff}

/* W15 5c56c3f4: search modal — dimmed backdrop, page behind is inert; close button on the phone sheet */
.y-sclose{display:none}
html.y-smodal body::after{content:"";position:fixed;inset:0;background:rgba(24,18,52,.38);z-index:39;pointer-events:auto}
html.y-smodal .y-top{z-index:41}
html.y-smodal .y-search{z-index:42}
@media (max-width:760px){
  .y-search.open{display:flex;align-items:center;gap:6px}
  .y-search.open input{flex:1}
  .y-search.open .y-sclose{display:inline-grid;place-items:center;width:44px;height:44px;flex:none}
  .y-search .y-sres{top:calc(100% + 2px)}
}

/* W15 5c56c3f4: Drive file menu */
.yd-cm{position:fixed;z-index:60;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(33,21,61,.18);padding:6px;display:flex;flex-direction:column}
.yd-cm button{min-height:44px;padding:0 14px;text-align:start;border-radius:8px;font:inherit;font-size:14.5px;color:var(--ink,#1e1b4b);background:none;border:0}
.yd-cm button:hover,.yd-cm button:focus-visible{background:#f1f0f8;outline:2px solid var(--brand);outline-offset:-2px}
.yd-cm button.dng{color:#b42318}
/* w28 (21afaaef): a hover-revealed pin button must be visible whenever it holds keyboard focus (was opacity 0 for pinned apps) */
.y-app .y-pin:focus-visible,.y-app:focus-within .y-pin,.y-app .y-pin[aria-pressed=true]:focus-visible{opacity:1!important}

/* w29 pin (26332e0c): WebKit kept the pin at opacity 0 mid-transition after keyboard focus (measured 800 ms later); show it at once on focus */
.y-app .y-pin:focus-visible,.y-app:focus-within .y-pin{transition:none!important;opacity:1!important}

/* w62: assistant page on phones was blank (main's entrance animation made it the containing block of the fixed chat, which collapsed to 0 px) */
@media (max-width:760px){body[data-page=assistant] .y-main{animation:none!important;transform:none!important}}
/* w62-deploy-office-20261030T051119Z-16401 */

/* w69 WebKit/iOS Safari: on an iPhone with a home indicator the phone app rail kept 68px of height and gave 34px of it to the safe-area padding, so the lower part of its 62px buttons (the labels) sat under the home indicator; the rail now grows by the inset (the assistant page and toasts already assumed this) */

/* w85 Preetest fixes (Oct 31) */
.y-skip,.y-skip:focus{background:#fff!important;color:#1d1a45!important} /* #15: skip link was theme ink on white (1.15:1); now 16:1 in every theme */
.y-logo img{object-fit:contain} /* #19: logo now carries width/height (no reflow) */

/* w85 Preetest #3/#4: one font name on every page (same IBM Plex Sans Arabic files as /docs/) */
@font-face{font-family:'IBM Plex Sans Arabic';src:url(/suite/fonts/plex-ar-arabic-400.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:'IBM Plex Sans Arabic';src:url(/suite/fonts/plex-ar-arabic-700.woff2) format('woff2');font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:'IBM Plex Sans Arabic';src:url(/suite/fonts/plex-ar-latin-400.woff2) format('woff2');font-weight:400;font-display:swap}@font-face{font-family:'IBM Plex Sans Arabic';src:url(/suite/fonts/plex-ar-latin-700.woff2) format('woff2');font-weight:700;font-display:swap}
