.rd-peek{align-items:center;gap:var(--sp-1);font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--text-muted);display:inline-flex}.rd-peek--warn{color:var(--warn)}.rd-peek--danger{color:var(--danger)}.rd-peek--ok{color:var(--ok)}.rd-peek__clock{min-width:2.4em;color:inherit}.rd-peek--neutral .rd-peek__clock{color:var(--text-faint)}.rd-peek.is-live .ui-icon{animation:rd-peek-breathe 1.6s var(--ease-inout) infinite}@keyframes rd-peek-breathe{50%{opacity:.6;transform:scale(calc(1 - .1 * var(--motion)))}}@media (max-width:640px){.rd-peek__word:not(.is-kept){display:none}.shell-launch:has(.rd-peek--warn){background:var(--warn-soft)}.shell-launch:has(.rd-peek--danger){background:var(--danger-soft)}.shell-launch:has(.rd-peek--ok){background:var(--ok-soft)}}.op-peek{align-items:center;gap:var(--sp-1);font-size:var(--fs-sm);font-weight:var(--fw-bold);display:inline-flex}.op-peek__glyph{color:var(--accent-text)}.op-peek__n{color:var(--text)}.op-peek__of{font-weight:var(--fw-medium);color:var(--text-muted)}.rs-peek{align-items:baseline;gap:var(--sp-2);min-width:0;display:flex}.rs-peek__title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rs-peek__count{font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--text-muted);flex:none}@media (max-height:540px),(max-width:640px){.rs-peek{white-space:normal;align-items:center}.rs-peek__title{-webkit-line-clamp:2;white-space:normal;line-height:var(--lh-snug);padding-block:var(--sp-1);-webkit-box-orient:vertical;display:-webkit-box}}.hud{--shell-row:calc(var(--ctl-md) + 2 * var(--sp-1));--shell-chat-row:calc(var(--ctl-lg) + 2 * var(--sp-0h));--shell-chat-h:min(22rem, 46dvh);--shell-sheet-top:calc(var(--edge-t) + var(--shell-row) + var(--sp-2))}.shell-sysrow{align-items:flex-start;gap:var(--sp-2);display:flex}.shell-status{align-items:center;gap:var(--sp-0h);padding:var(--sp-1);display:flex}.shell-launch{height:var(--ctl-md);padding:0 var(--sp-2);position:relative}.shell-launch.is-open{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--line-rim)}.shell-badge{top:calc(var(--sp-1) * -1);right:calc(var(--sp-1) * -1);pointer-events:none;position:absolute}.shell-launch .shell-badge{right:0}.shell-dot{background:var(--accent);width:.5rem;height:.5rem;box-shadow:0 0 0 2px var(--surface-instrument-solid);border-radius:50%}.shell-launch .shell-dot{top:var(--sp-1);right:var(--sp-1);position:absolute}.shell-launch:has(>.shell-dot){padding-right:var(--sp-4)}.shell-dot--ok{background:var(--ok)}.shell-dot--warn{background:var(--warn)}.shell-dot--danger{background:var(--danger)}.shell-peek-loading{align-items:center;gap:var(--sp-1);color:var(--accent-text);display:inline-flex}.shell-strip{max-width:23rem;padding:var(--sp-0h) var(--sp-1) 0}.shell-strip .ui-tabs{box-shadow:none}.shell-sheet{z-index:var(--z-panel);top:var(--shell-sheet-top);right:var(--edge-r);width:min(23rem, calc(100vw - var(--edge-l) - var(--edge-r)));max-height:calc(100dvh - var(--shell-sheet-top) - var(--edge-b) - var(--shell-chat-row) - var(--sp-2));flex-direction:column;display:flex;position:absolute}.shell-sheet--lg{width:min(30rem, calc(100vw - var(--edge-l) - var(--edge-r)))}.hud:has(.shell-chat.is-open) .shell-sheet{max-height:calc(100dvh - var(--shell-sheet-top) - var(--edge-b) - var(--shell-chat-h) - var(--sp-2))}.shell-sheet--fill{height:100dvh}.shell-sheet--fill .shell-sheet__body{flex-direction:column;display:flex}.shell-sheet:has(.shell-sheet__body>[data-sheet-fill]){height:100dvh}.shell-sheet__body:has(>[data-sheet-fill]){flex-direction:column;display:flex}.shell-sheet__frame{flex-direction:column;flex:auto;min-height:0;display:flex}.shell-sheet__head{align-items:center;gap:var(--sp-2);padding:var(--sp-3) var(--sp-2) var(--sp-2) var(--sp-3);display:flex}.shell-sheet__tabs{padding:0 var(--sp-2)}@media (max-height:540px),(max-width:640px){.shell-sheet__tabs{padding:0}}.shell-sheet__body{min-height:0;padding:var(--sp-2) var(--sp-3) var(--sp-3);flex:auto}.shell-subject{align-items:center;gap:var(--sp-2);flex:1;min-width:0;display:flex}.shell-subject__icon{color:var(--text-muted)}.shell-subject__icon.is-own{color:var(--accent-text)}.shell-subject__icon.is-pirate{color:var(--danger)}.shell-subject__text{flex-direction:column;flex:0 auto;min-width:4rem;display:flex}.shell-subject__name{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;font-family:var(--font-display);font-size:var(--fs-lg);line-height:var(--lh-tight);letter-spacing:var(--tracking-display);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.shell-subject__name--head{margin:0;font-weight:400}.shell-subject__sub{font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--text-muted)}.shell-subject__plate{flex:0 auto;min-width:0;margin-left:auto}.shell-chat{flex-direction:column;grid-column:3;place-self:end;align-items:flex-end;min-width:0;display:flex}.shell-dock--peek{padding:var(--sp-0h)}.shell-dock__peek{align-items:center;gap:var(--sp-2);min-height:var(--ctl-lg);max-width:min(24rem,32vw);padding:0 var(--sp-2) 0 var(--sp-3);border-radius:var(--r-md);color:var(--text);cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out);background:0 0;border:0;display:flex}.shell-dock__peek:is(:hover,.is-hover){background:var(--surface-raised-hover)}.shell-dock__peek:active{background:var(--surface-raised-press)}.shell-dock__peek:focus-visible{box-shadow:var(--focus-ring)}.shell-dock__peek .shell-badge{position:static}.shell-dock__icon{color:var(--text-muted)}.shell-dock__line{text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0;font-size:var(--fs-sm);color:var(--text-muted);flex:1;overflow:hidden}.shell-chat.is-open .shell-dock{width:min(24rem, calc(100vw - 2 * var(--gutter)));height:var(--shell-chat-h);flex-direction:column;display:flex}.shell-dock__frame{flex-direction:column;flex:auto;min-height:0;display:flex}.shell-dock__head{align-items:center;gap:var(--sp-2);padding:var(--sp-2) var(--sp-2) var(--sp-1) var(--sp-3);display:flex}.shell-dock__body{min-height:0;padding:0 var(--sp-3) var(--sp-3);flex-direction:column;flex:auto;display:flex}.shell-tracker{padding:var(--sp-0h);margin-top:auto}.shell-tracker__line{align-items:center;gap:var(--sp-2);width:100%;min-height:var(--ctl-md);padding:0 var(--sp-2);border-radius:var(--r-md);color:var(--text);cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out);background:0 0;border:0;display:flex}.shell-tracker__line:is(:hover,.is-hover){background:var(--surface-raised-hover)}.shell-tracker__line:focus-visible{box-shadow:var(--focus-ring)}.shell-tracker__icon,.shell-tracker__chev{color:var(--text-muted)}.shell-tracker.is-open .shell-tracker__icon{color:var(--accent-text)}.shell-tracker__peek{text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0;font-size:var(--fs-sm);font-weight:var(--fw-medium);flex:1;overflow:hidden}.shell-tracker__body{max-height:40dvh;padding:var(--sp-1) var(--sp-2) var(--sp-2);scrollbar-width:thin;overflow:auto}.shell-layers{align-self:flex-start;align-items:center;gap:var(--sp-0h);width:max-content;max-width:calc(100vw - 2 * var(--gutter));padding:var(--sp-1) var(--sp-1) var(--sp-1) var(--sp-2);flex-wrap:wrap;margin-top:auto;display:flex}.shell-tracker+.shell-layers{margin-top:0}.shell-layers__icon{margin-right:var(--sp-1);color:var(--text-muted)}@media (max-width:480px){.shell-layers{grid-template-rows:auto auto;grid-template-columns:auto repeat(2,auto);align-items:center;display:grid}.shell-layers__icon{grid-area:1/1/span 2}.shell-layers{margin-bottom:var(--sp-1)}}.shell-ledger{gap:var(--sp-3);flex-direction:column;display:flex}.shell-ledger__balance{align-items:flex-start;gap:var(--sp-1h);padding:var(--sp-3);border-radius:var(--r-md);background:var(--surface-sunken);box-shadow:inset 0 0 0 1px var(--line-hair);flex-direction:column;display:flex}.shell-ledger__balance>:is(.ui-stat,.ui-refusal,.ui-msg){align-self:stretch}.shell-ledger__balance>.ui-msg{padding:0}.shell-ledger__caption{margin-top:calc(var(--sp-1) * -1);font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--text-muted)}.shell-ledger__h{font-family:var(--font-display);font-weight:400;font-size:var(--fs-md);color:var(--accent-text);margin:0}.shell-ledger__entry{gap:var(--sp-px);flex-direction:column;min-width:0;display:flex}.shell-ledger__title{font-weight:var(--fw-semibold)}.shell-ledger__detail,.shell-ledger__when{font-size:var(--fs-xs);color:var(--text-muted);white-space:nowrap}.shell-ledger__when--inline{display:none}.shell-ledger__pager{justify-content:space-between;align-items:center;gap:var(--sp-2);display:flex}.shell-ledger__page{align-items:center;gap:var(--sp-1);font-size:var(--fs-xs);font-weight:var(--fw-medium);color:var(--text-muted);display:inline-flex}@media (max-width:640px){.shell-ledger__when--inline{display:block}}@media (max-height:540px),(max-width:640px){.hud{--shell-chat-h:min(18rem, 60dvh);--shell-bottom-row:calc(var(--ctl-lg) + 2 * var(--sp-0h))}.shell-sheet,.shell-sheet--lg{top:var(--edge-t);left:var(--edge-l);right:var(--edge-r);width:auto;max-height:calc(100dvh - var(--edge-t) - var(--edge-b) - var(--shell-bottom-row) - var(--sp-2))}.hud:has(.shell-chat.is-open) .shell-sheet{max-height:calc(100dvh - var(--edge-t) - var(--edge-b) - var(--shell-bottom-row) - var(--sp-2))}.shell-status .ui-coin__icon{display:none}.shell-sheet__head:has(.shell-subject__plate){row-gap:var(--sp-1);flex-wrap:wrap}.shell-sheet__head .shell-subject:has(.shell-subject__plate){display:contents}.shell-sheet__head:has(.shell-subject__plate) .shell-subject__text{flex:1 1 0}.shell-subject__plate{flex:100%;order:1;margin-left:0}.shell-subject__plate .ui-plate__rel:has(.ui-visually-hidden){--rel-mark:1.5rem;width:var(--rel-mark);margin-right:calc((var(--ctl-sm) - var(--rel-mark)) / 2);justify-content:center;padding:0}.shell-tracker.is-open{width:min(23rem, calc(100vw - var(--edge-l) - var(--edge-r)))}.shell-sysrow{flex-direction:column;align-items:flex-end}.hud .hud-top{gap:var(--sp-2)}.hud .hud-identity{padding-left:var(--sp-2);padding-right:var(--sp-2)}.shell-strip{top:calc(100% + var(--sp-2));max-width:100%;position:absolute;right:0}@media (min-width:641px){.shell-strip{right:calc(var(--tool-size) + var(--sp-4));max-width:calc(100% - var(--tool-size) - var(--sp-4) - var(--hud-stack-w) - var(--sp-2))}}:is(.hud:has(.shell-sheet,.shell-chat.is-open) .shell-strip,.hud:has(.shell-sheet,.shell-chat.is-open) .shell-tracker,.hud:has(.shell-sheet,.shell-chat.is-open) .shell-layers){display:none}.hud .hud-toasts{top:auto;bottom:var(--edge-b);max-width:calc(100vw - 2 * var(--gutter) - 2 * (var(--shell-bottom-row) + var(--sp-3)))}.hud .hud-toasts>.ui-toast:not(.is-featured){display:none}.shell-chat{right:var(--edge-r);bottom:var(--edge-b);position:absolute}.shell-chat.is-open .shell-dock{width:calc(100vw - var(--edge-l) - var(--edge-r))}.shell-dock__line,.shell-dock__peek .ui-kbd{display:none}.shell-dock__peek{padding:0 var(--sp-2)}}@media (max-width:640px){.hud .hud-identity{flex:0 auto;min-width:min(6.5rem,30vw)}.hud .hud-top-right{min-width:0;max-width:calc(100% - min(6.5rem, 30vw) - var(--sp-2));flex-direction:column;flex:none;align-items:flex-end;margin-right:0}.shell-sysrow{align-self:flex-end}.shell-status{padding:var(--sp-0h);flex-wrap:wrap;justify-content:flex-end;align-self:stretch;gap:0}.shell-status .shell-launch{padding:0 var(--sp-1h);min-width:var(--ctl-md);justify-content:center}}@media (min-width:1000px) and (min-height:541px){.hud:has(.shell-sheet) .hud-top-right{min-width:min(23rem, calc(100vw - var(--edge-l) - var(--edge-r)))}.hud:has(.shell-sheet--lg) .hud-top-right{min-width:min(30rem, calc(100vw - var(--edge-l) - var(--edge-r)))}}@media (min-width:641px) and (max-width:999px) and (min-height:541px){.hud:has(.shell-sheet) .hud-toasts{top:auto;bottom:var(--edge-b);left:calc(var(--edge-l) + 6rem + var(--sp-3));right:calc(var(--edge-r) + min(24rem, 32vw) + var(--sp-3));padding-top:0;position:fixed}.hud:has(.shell-sheet) .hud-toasts>.ui-toast:not(.is-featured){display:none}}
