.updates-reader,.app-updates-entry{--ur-bg:var(--paper,#172431);--ur-soft:var(--bg,#101a25);--ur-ink:var(--ink,var(--text,#edf3fa));--ur-muted:var(--muted,#a6bacb);--ur-line:var(--line,#40566d);--ur-accent:var(--brand,#8dcaff)}
html[data-theme="slate-mint"] :is(.updates-reader,.app-updates-entry){--ur-bg:var(--sm-surface,#fbfdfd);--ur-soft:var(--sm-surface-raised,#f1f6f6);--ur-ink:var(--sm-ink,#193a40);--ur-muted:var(--sm-muted,#58767b);--ur-line:var(--sm-line,#bdd0d2);--ur-accent:var(--sm-mint,#16846d)}
.app-updates-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:6px 10px;border:1px solid var(--ur-line);border-radius:10px;background:var(--ur-bg);color:var(--ur-ink);font:inherit;font-size:12px;line-height:1.6;cursor:pointer;flex:0 0 auto;max-width:100%;box-sizing:border-box;text-align:center}
.app-updates-entry svg{width:18px;height:18px;flex:none;color:var(--ur-accent)}
.discover-updates-heading{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.discover-updates-heading>div{min-width:0;flex:1 1 200px}
.discover-updates-heading .home-updates-entry{width:auto;margin:0;align-self:center}
.updates-reader{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;width:100%;background:var(--ur-bg);color:var(--ur-ink);font:inherit;overflow:hidden;isolation:isolate}
.updates-reader *{box-sizing:border-box;min-width:0}
.updates-reader [hidden]{display:none!important}
.ur-shell{display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0}
.ur-header{display:flex;align-items:center;flex:0 0 auto;padding:12px 20px;border-bottom:1px solid var(--ur-line);background:var(--ur-bg)}
.ur-header-inner{display:flex;align-items:center;gap:12px;width:min(100%,880px);margin-inline:auto}
.ur-heading{flex:1;min-width:0}
.ur-context{display:block;font-size:11px;line-height:1.6;color:var(--ur-muted)}
.ur-header h2{flex:1;margin:0;font-size:18px;font-weight:700;color:var(--ur-ink);line-height:1.8;overflow-wrap:anywhere}
.updates-reader button{font:inherit;cursor:pointer;color:var(--ur-ink);min-height:44px;border:1px solid var(--ur-line);border-radius:10px;background:var(--ur-soft);box-shadow:none;touch-action:manipulation}
.updates-reader button:is(:hover,:focus-visible){border-color:var(--ur-accent)}
.updates-reader :is(button,input,.ur-body):focus-visible,.home-updates-entry:focus-visible{outline:2px solid var(--ur-accent);outline-offset:-2px}
.updates-reader :is(.ur-back,.ur-clear){display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:10px;flex:none;border-color:transparent;background:transparent;border-radius:12px}
.updates-reader :is(.ur-back,.ur-clear):hover{background:var(--ur-soft)}
.updates-reader svg{width:20px;height:20px;flex:none;stroke:currentColor}
.ur-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:12px 20px 0;width:min(100%,920px);align-self:center}
.ur-search{display:block;flex:1;margin:0}
.ur-search-box{position:relative;display:flex;align-items:center;flex:1;min-width:0}
.updates-reader .ur-search-icon{position:absolute;inset-inline-start:14px;pointer-events:none;color:var(--ur-muted);width:18px;height:18px}
.updates-reader .ur-clear{position:absolute;inset-inline-end:2px;top:2px;width:44px;min-width:44px;height:44px;min-height:44px;padding:13px;border-radius:9px}
.updates-reader .ur-clear svg{width:18px;height:18px}
.updates-reader .ur-search input{padding-inline:42px 50px;height:48px}
.ur-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.updates-reader input{display:block;width:100%;min-height:44px;margin:0;font:inherit;font-size:16px;border:1px solid var(--ur-line);border-radius:10px;padding:9px 12px;color:var(--ur-ink);background:var(--ur-soft);box-shadow:none}
.updates-reader input:disabled{opacity:.65;cursor:progress}
.updates-reader input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.ur-status{flex:0 0 auto;margin:0!important;padding:6px 20px!important;font-size:12px!important;line-height:1.8!important;color:var(--ur-muted);width:min(100%,920px);align-self:center}
.ur-status:empty{display:none}
.ur-body{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px 20px max(20px,env(safe-area-inset-bottom,0px));scrollbar-width:thin;scrollbar-gutter:stable both-edges;overflow-anchor:none;scroll-padding-block:14px;touch-action:pan-y pinch-zoom}
.ur-list,.ur-skeleton,.ur-load-more,.ur-note,.ur-empty{width:min(100%,880px);margin-inline:auto}
.ur-list{display:grid;gap:12px;align-content:start}
.ur-card{min-width:0;border:1px solid var(--ur-line);border-radius:14px;padding:16px 18px;background:var(--ur-bg)}
.ur-meta{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:12px;line-height:1.8;color:var(--ur-muted)}
.ur-meta bdi{font-variant-numeric:tabular-nums}
.updates-reader h3{font-size:17px;line-height:1.85;margin:8px 0;color:var(--ur-ink);overflow-wrap:anywhere}
.updates-reader p{font-size:14px;line-height:1.95;margin-block:8px;color:var(--ur-muted);white-space:pre-wrap;overflow-wrap:anywhere}
.ur-card>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.updates-reader .ur-read{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin-top:10px;margin-inline-start:auto;padding:7px 10px;color:var(--ur-accent);font-size:13px;font-weight:600;background:transparent;border-color:transparent}
.updates-reader .ur-read:hover{background:var(--ur-soft)}
.updates-reader .ur-read svg{width:18px;height:18px}
.ur-article{max-width:720px;margin:0 auto;padding-block:6px 24px}
.updates-reader .ur-article h3{font-size:clamp(20px,3vw,26px);line-height:1.8;margin-block:14px}
.ur-article section{margin-top:24px}
.ur-article h4{font-size:16px;line-height:1.9;margin:0;color:var(--ur-ink);overflow-wrap:anywhere}
.ur-summary{border-bottom:1px solid var(--ur-line);padding-bottom:18px}
.updates-reader .ur-note{font-size:11px;line-height:1.9;margin-block:18px 0;padding-top:12px;border-top:1px solid var(--ur-line)}
.ur-empty{text-align:center;padding:clamp(24px,6vw,56px) 12px;border:1px dashed var(--ur-line);border-radius:14px}
.updates-reader .ur-retry{padding:8px 18px;margin:16px auto 0}
.ur-load-more{min-height:1px}
.ur-load-more>.ur-skeleton{margin-top:12px}
.ur-skeleton{display:grid;gap:12px}
.ur-skeleton-card{display:grid;gap:12px;border:1px solid var(--ur-line);border-radius:14px;padding:20px 18px}
.ur-skeleton i{display:block;height:12px;border-radius:6px;background:var(--ur-line);opacity:.35;animation:ur-pulse 1.2s ease-in-out infinite alternate}
.ur-skeleton .ur-skeleton-meta{width:30%;height:10px}.ur-skeleton .ur-skeleton-title{width:74%;height:18px}.ur-skeleton .ur-skeleton-line:last-child{width:62%}
@keyframes ur-pulse{to{opacity:.12}}
body #messages.updates-workspace{display:flex!important;flex-direction:column!important;flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;min-width:0;padding:0!important;gap:0!important;overflow:hidden!important;scrollbar-gutter:auto!important;--composer-space:0px}
body #messages.updates-workspace>.updates-reader{flex:1 1 0;align-self:stretch;min-height:0;max-height:none;border:0;border-radius:0;margin:0;box-shadow:none}
body .chat:has(>#messages.updates-workspace)>:is(#chatHeader,#chatSearchBar,#sendForm,#fileHint,#replyBar){display:none!important}
@layer minigap-mobile-flow{
  html[data-mobile-design="flow"] body #app .chat #messages.messages.updates-workspace{padding:0!important;gap:0!important;scroll-padding-bottom:0!important}
  html[data-mobile-design="flow"] #app .chat:has(>#messages.updates-workspace)>#chatHeader{display:none!important}
}
@media(max-width:700px){
  html[data-mobile-design="flow"] :is(.updates-reader,.app-updates-entry){--ur-bg:var(--mf-surface,var(--paper,#fff));--ur-soft:var(--mf-bg,var(--bg,#eef3f8));--ur-ink:var(--mf-ink,var(--ink,#192235));--ur-muted:var(--mf-muted,var(--muted,#657188));--ur-line:var(--mf-line,var(--line,#dfe6ef));--ur-accent:var(--mf-accent,var(--brand,#3268d8))}
  .ur-header{padding:8px 12px}.ur-header-inner{gap:8px}.ur-header h2{font-size:17px}.ur-tools{padding:10px 12px 0}.ur-status{padding-inline:12px!important}.ur-body{padding:10px 12px max(16px,env(safe-area-inset-bottom,0px))}.ur-card{padding:14px}.ur-meta{font-size:11px}.ur-list{gap:10px}.ur-skeleton-card{padding:18px 14px}
  .discover-updates-heading .home-updates-entry{font-size:11px;padding:5px 8px;gap:5px}.discover-updates-heading>div{flex-basis:160px}
}
@media(max-height:450px){.ur-header{padding-block:4px}.ur-tools{padding-top:6px}.ur-status{padding-block:3px!important}}
@media(prefers-reduced-motion:reduce){.ur-skeleton i{animation:none}}
