.bank{position:relative;flex-shrink:0;height:calc(100% - 16px);margin:8px 8px 8px 0;border:1px solid var(--border-color);border-radius:20px;background:var(--bg-panel);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;min-width:0;animation:bank-in .3s ease}.bank--leaving{animation:bank-out .3s ease forwards;pointer-events:none}.bank--dragging{-moz-user-select:none;user-select:none;-webkit-user-select:none}@keyframes bank-in{0%{margin-right:calc(-1 * var(--bank-w, 440px));opacity:0}}@keyframes bank-out{to{margin-right:calc(-1 * var(--bank-w, 440px));opacity:0}}.mobile-overlay--comments{animation:bank-shade-in .3s ease}.mobile-overlay--leaving{animation:bank-shade-out .3s ease forwards;pointer-events:none}@keyframes bank-shade-in{0%{opacity:0}}@keyframes bank-shade-out{to{opacity:0}}@media (prefers-reduced-motion:reduce){.bank,.mobile-overlay--comments{animation:none}}.bank-excerpt__shot{display:block;max-width:calc(100% - 20px);max-height:160px;margin:6px 10px 2px;border-radius:6px;-o-object-fit:contain;object-fit:contain;background:var(--bg-soft);box-shadow:0 0 0 1px var(--border-color)}.bank__resize-handle{position:absolute;top:0;left:-5px;width:10px;height:100%;cursor:col-resize;z-index:5;background:transparent}.bank__resize-handle:active:after,.bank__resize-handle:hover:after{content:"";position:absolute;top:50%;left:4px;width:3px;height:42px;transform:translateY(-50%);border-radius:3px;background:var(--text-muted);opacity:.45}.bank__head{flex-shrink:0;display:flex;align-items:stretch;gap:.25rem;height:2.75rem;padding:0 1rem;background:var(--bg-panel);border-radius:20px 20px 0 0;border-bottom:1px solid var(--border-color)}.bank__close{display:none;margin-left:auto;background:transparent;align-self:center;flex-shrink:0;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:8px;color:var(--text-muted);transition:background-color .15s ease,color .15s ease}.bank__close:hover{background:var(--bg-hover);color:var(--text-main)}.bank__invite{margin-left:auto;align-self:center;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:8px;background:transparent;color:var(--text-muted);transition:background-color .15s ease,color .15s ease}.bank__invite:hover{background:var(--bg-hover);color:var(--text-main)}.bank__invite+.bank__close{margin-left:0}.bank__tabs{min-width:0;padding:0;border-bottom:none;margin-bottom:0;overflow-x:auto;scrollbar-width:none}.bank__tabs::-webkit-scrollbar{display:none}.bank__tabs .sidebar-tabs__tab>svg{flex-shrink:0}.bank__tabs .sidebar-tabs__tab>span:not(.bank__tab-count){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bank__tabs .sidebar-tabs__tab{position:relative;flex-shrink:0;padding:0 .7rem;white-space:nowrap}.bank__tab-count{position:absolute;top:calc(50% - 15px);left:calc(50% + 1px);min-width:15px;height:15px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--bg-accent);color:var(--on-accent);box-shadow:0 0 0 2px var(--bg-panel);font-size:.6rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}.bank__body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--bg-panel);border-radius:0 0 20px 20px}.bank__placeholder{margin:auto;padding:2rem 1.5rem;text-align:center;max-width:30ch}.bank__placeholder-title{margin:0 0 .4rem;font-family:var(--font-display);font-size:.92rem;font-weight:600;color:var(--text-soft)}.bank__placeholder-body{margin:0;font-size:.82rem;line-height:1.55;color:var(--text-muted)}.bank-stream{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:1.05rem;padding:.8rem .75rem 0;--bank-thread-line:color-mix(in srgb,var(--text-muted) 35%,var(--bg-panel))}.bank-stream>*{flex-shrink:0}.bank-new{display:flex;align-items:center;gap:.5rem;margin:.1rem 0 -.45rem}.bank-new:before{content:"";flex:1;height:1px;background:var(--bg-accent)}.bank-new span{flex-shrink:0;padding:.05rem .45rem;font-size:.6rem}.bank-new span,.bank-reply__new{border-radius:999px;background:var(--bg-accent);color:var(--on-accent);font-weight:700;letter-spacing:.06em;text-transform:uppercase}.bank-reply__new{padding:0 .35rem;font-size:.56rem}.bank-post__said--for-you{margin-inline:-.45rem;padding:.2rem .45rem}.bank-post__said--for-you,.bank-reply--for-you .bank-reply__content{border-radius:8px;background:color-mix(in srgb,var(--bg-accent) 8%,transparent)}.bank-reply--for-you .bank-reply__content{min-width:0;flex:1;margin:-.15rem 0;padding:.15rem .45rem}.bank-stream--loading{overflow:hidden}.bank-ghost{display:flex;align-items:flex-start;gap:.6rem}.bank-ghost__av{flex:none;width:var(--talk-av,30px);height:var(--talk-av,30px);border-radius:50%}.bank-ghost__lines{display:flex;flex:1;flex-direction:column;gap:.45rem;padding-top:.2rem}.bank-ghost__line{height:.6rem;border-radius:999px}.bank-ghost__line--name{width:30%;height:.55rem}.bank-ghost__av,.bank-ghost__line{background:linear-gradient(90deg,color-mix(in srgb,var(--text-main) 7%,transparent) 30%,color-mix(in srgb,var(--text-main) 13%,transparent) 50%,color-mix(in srgb,var(--text-main) 7%,transparent) 70%) 0 0 /300% 100%;animation:bank-ghost 1.4s ease-in-out infinite}@keyframes bank-ghost{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.bank-ghost__av,.bank-ghost__line{animation:none}}.bank-below{position:absolute;left:50%;bottom:calc(var(--dock-h, 7rem) + .6rem);z-index:3;transform:translateX(-50%);display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .8rem;border:0;border-radius:999px;background:var(--bg-accent);color:var(--on-accent);box-shadow:var(--shadow-md,0 4px 14px rgba(0,0,0,.14));font-size:.74rem;font-weight:600;white-space:nowrap;cursor:pointer;animation:bank-below-in .18s ease both}.bank-below:hover{background:var(--bg-accent-hover,var(--bg-accent))}@keyframes bank-below-in{0%{opacity:0;transform:translate(-50%,6px)}}@media (prefers-reduced-motion:reduce){.bank-below{animation:none}}.bank-day{display:flex;align-items:center;gap:.7rem;margin:.35rem 0 .1rem}.bank-day:after,.bank-day:before{content:"";flex:1;height:1px;background:var(--ghost-border)}.bank-day span{flex-shrink:0;font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted)}.bank-av{width:20px;height:20px;font-size:.42rem}.bank-post{position:relative;width:100%;padding:.1rem .2rem .2rem}.bank-post__head{display:flex;align-items:baseline;gap:.4rem;margin-bottom:.25rem}.bank-stream{--talk-av:30px;--talk-reply-av:22px}.bank-post__head .bank-av{width:var(--talk-av,20px);height:var(--talk-av,20px);font-size:.62rem;align-self:center}.bank-post__author{font-family:var(--font-heading);font-size:.78rem;font-weight:600;color:var(--text-main)}.bank-post__time{flex-shrink:0;font-size:.66rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.bank-post__edited{font-size:.64rem;color:var(--text-muted);font-style:italic}.bank-post__spacer{flex:1}.bank-post__action{margin-left:.4rem;display:inline-flex;align-items:center;gap:.25rem;padding:.12rem .4rem;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1px var(--ghost-border);color:var(--text-soft);font-size:.66rem;font-weight:600;opacity:0;transition:opacity .15s ease,background-color .15s ease,color .15s ease}.bank-post:hover .bank-post__action,.bank-post__action:focus-visible{opacity:1}.bank-post__action:hover{background:var(--bg-accent);box-shadow:none;color:var(--on-accent)}.bank-post__body,.bank-thread__parent{display:flex;flex-direction:column;gap:.45rem;min-width:0}.bank-post__body{padding-left:calc(var(--talk-av, 20px) + .4rem)}.bank-thread__parent{position:relative}.bank-post__text{font-size:.86rem;line-height:1.6;color:var(--text-main);overflow-wrap:anywhere}.bank-excerpt__body>:first-child,.bank-post__text>:first-child,.bank-reply__body>:first-child{margin-top:0}.bank-excerpt__body>:last-child,.bank-post__text>:last-child,.bank-reply__body>:last-child{margin-bottom:0}.bank-excerpt__body p,.bank-post__text p,.bank-reply__body p{margin:0 0 .5rem}.bank-excerpt__body h1,.bank-post__text h1{font-size:1.12rem;margin:.6rem 0 .3rem;font-family:var(--font-heading)}.bank-excerpt__body h2,.bank-post__text h2{font-size:1rem;margin:.6rem 0 .3rem;font-family:var(--font-heading)}.bank-excerpt__body h3,.bank-post__text h3{font-size:.9rem;margin:.5rem 0 .25rem;font-family:var(--font-heading)}.bank-excerpt__body ol,.bank-excerpt__body ul,.bank-post__text ol,.bank-post__text ul{margin:0 0 .5rem;padding-left:1.15rem}.bank-excerpt__body li,.bank-post__text li{margin:.14rem 0}:is(.bank-post__text,.bank-excerpt__body) li:has(>input[type=checkbox],>p:first-child>input[type=checkbox]){list-style:none}:is(.bank-post__text,.bank-excerpt__body) li>input[type=checkbox],:is(.bank-post__text,.bank-excerpt__body) li>p:first-child>input[type=checkbox]{margin:0 .35rem 0 -1.15rem;vertical-align:-.1em}.bank-excerpt__body blockquote,.bank-post__text blockquote{margin:.4rem 0;padding:.05rem 0 .05rem .65rem;border-left:2px solid var(--ghost-border);color:var(--text-soft)}.bank-excerpt__body code,.bank-post__text code,.bank-reply__body code{font-size:.78rem;padding:.08em .32em;border-radius:4px;background:var(--surface-low)}.bank-excerpt__body pre,.bank-post__text pre{margin:.45rem 0;padding:.55rem .65rem;border-radius:8px;background:var(--surface-low);overflow-x:auto}.bank-excerpt__body pre code,.bank-post__text pre code{background:none;padding:0}.bank-excerpt__body table,.bank-post__text table{width:100%;border-collapse:collapse;font-size:.76rem;margin:.4rem 0;display:block;overflow-x:auto}.bank-excerpt__body th,.bank-post__text th{text-align:left;font-weight:600;padding:.25rem .45rem;background:var(--surface-low);white-space:nowrap}.bank-excerpt__body td,.bank-post__text td{padding:.25rem .45rem;color:var(--text-soft);white-space:nowrap}.bank-excerpt__body tr+tr td,.bank-post__text tr+tr td{border-top:1px solid var(--ghost-border)}.bank-excerpt__body a,.bank-post__text a,.bank-reply__body a{color:var(--bg-accent)}.bank-excerpt__body mark,.bank-post__text mark{background:var(--highlight-bg);border-radius:2px}.bank-excerpt{width:100%;border-radius:11px;overflow:hidden;background:var(--surface-highest);box-shadow:var(--shadow-sm)}.bank-excerpt--detached{box-shadow:inset 0 0 0 1px var(--ghost-border);background:transparent;opacity:.78}.bank-excerpt__band{display:flex;align-items:center;gap:.4rem;padding:.35rem .55rem;background:color-mix(in srgb,var(--author-color,var(--text-muted)) 9%,var(--surface-low))}.bank-excerpt__band--jumpable{cursor:pointer;transition:background-color .15s ease}.bank-excerpt__band--jumpable:hover{background:var(--bg-hover)}.bank-excerpt__who{flex-shrink:0;font-size:.72rem;font-weight:600;color:var(--text-main)}.bank-excerpt__path{flex:1;min-width:0;font-size:.66rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bank-excerpt__when{flex-shrink:0;font-size:.62rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.bank-chip{flex-shrink:0;padding:.05rem .3rem;border-radius:4px;font-size:.58rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.bank-chip--anchored{color:#2f8f5b;background:rgba(47,143,91,.14)}.bank-chip--edited{color:#b7791f;background:rgba(245,158,11,.16)}.bank-chip--detached{color:#d14b36;background:rgba(209,75,54,.14)}:is(.dark,.midnight,.carbon) .bank-chip--anchored{color:#4cc38a}:is(.dark,.midnight,.carbon) .bank-chip--edited{color:#fbbf24}:is(.dark,.midnight,.carbon) .bank-chip--detached{color:#ff7b6b}.bank-excerpt__body{padding:.5rem .6rem;font-size:.8rem;line-height:1.55;color:var(--text-soft)}.bank-file{display:flex;align-items:center;gap:.5rem;width:100%;padding:.42rem .55rem;border-radius:9px;background:var(--surface-low);box-shadow:inset 0 0 0 1px var(--ghost-border);font-size:.78rem}.bank-file__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:color-mix(in srgb,var(--author-color,var(--text-muted)) 70%,var(--text-muted))}.bank-file__name{min-width:0;font-weight:600;color:var(--text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-file__size{flex-shrink:0;font-size:.68rem;color:var(--text-muted)}.bank-file__action{margin-left:auto;flex-shrink:0;font-size:.68rem;font-weight:600;color:var(--bg-accent)}.bank-post--threaded{--bank-thread-x:calc(-0.4rem - var(--talk-av, 20px) / 2 - 0.75px)}.bank-post--threaded .bank-thread__parent:before{content:"";position:absolute;left:var(--bank-thread-x);top:calc(-.25rem + 3px);bottom:-.45rem;border-left:1.5px solid var(--bank-thread-line);pointer-events:none}.bank-replies{display:flex;flex-direction:column;gap:.3rem}.bank-reply{position:relative;display:flex;align-items:flex-start;gap:.45rem;padding:.3rem 0;font-size:.79rem}.bank-reply>.bank-av{width:var(--talk-reply-av,16px);height:var(--talk-reply-av,16px);font-size:.5rem}.bank-reply:before{top:-.3rem;width:calc(.4rem + var(--talk-av, 20px) / 2 + .75px - 3px);height:calc(.6rem + var(--talk-reply-av, 16px) / 2 + .75px);border-left:1.5px solid var(--bank-thread-line);border-bottom:1.5px solid var(--bank-thread-line);border-bottom-left-radius:10px}.bank-reply:before,.bank-reply:not(:last-child):after{content:"";position:absolute;left:var(--bank-thread-x);pointer-events:none}.bank-reply:not(:last-child):after{top:calc(.3rem + var(--talk-reply-av, 16px) / 2 - 10px);bottom:0;border-left:1.5px solid var(--bank-thread-line)}.bank-reply__content{flex:1;min-width:0}.bank-reply__who{display:flex;align-items:baseline;gap:.35rem;line-height:var(--talk-reply-av,16px)}.bank-reply__name{font-weight:600;font-size:.71rem}.bank-reply__body,.bank-reply__name{color:var(--text-soft)}.bank-event{padding:.15rem 0;font-size:.7rem;color:var(--text-muted);text-align:center;font-style:italic}.bank-composer{flex-shrink:0;padding:.6rem .6rem .7rem;background:var(--surface-low);border-top:1px solid var(--border-color);border-radius:0 0 20px 20px}.bank-composer__box{display:flex;flex-direction:column;border-radius:20px;background:var(--surface-highest);box-shadow:0 0 0 1px var(--ghost-border),var(--shadow-sm);overflow:hidden;transition:box-shadow .18s ease}.bank-composer__box:focus-within{box-shadow:0 0 0 1px var(--bg-accent),0 4px 16px rgba(var(--accent-rgb),.1)}.bank-composer__attached{display:flex;flex-direction:column;gap:.35rem;padding:.55rem .55rem 0}.bank-composer__excerpt{border-radius:12px;overflow:hidden;background:var(--surface-low)}.bank-composer__excerpt .bank-excerpt__band{background:var(--bg-accent-soft)}:is(.dark,.midnight,.carbon) .bank-composer__excerpt .bank-excerpt__band{background:var(--bg-accent-soft-dark)}.bank-composer__drop{background:transparent;flex-shrink:0;display:inline-flex;color:var(--text-muted)}.bank-composer__drop:hover{color:var(--text-main)}.bank-composer__files{display:flex;flex-wrap:wrap;gap:.3rem;padding:.55rem .6rem 0}.bank-composer__file{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;border-radius:999px;background:var(--surface-low);font-size:.72rem;color:var(--text-main)}.bank-composer__file i{font-style:normal;color:var(--text-muted)}.bank-composer__file button{background:transparent;display:inline-flex;color:var(--text-muted)}.bank-composer__file button:hover{color:var(--text-main)}.bank-composer__stage{width:100%!important;min-height:0!important;margin:0!important}.bank-composer__editable{min-height:2.9rem!important;max-height:40vh;overflow-y:auto;padding:.7rem .85rem .3rem!important;font-size:.88rem!important;line-height:1.6!important}.bank-composer__editable h1{font-size:1.15rem!important}.bank-composer__editable h2{font-size:1rem!important}.bank-composer__editable h3{font-size:.9rem!important}.bank-composer__editable table{font-size:.76rem}.bank-composer__bar{display:flex;align-items:center;gap:.25rem;padding:.3rem .45rem .45rem}.bank-composer__tool{background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;border-radius:999px;color:var(--text-soft);transition:background-color .15s ease,color .15s ease}.bank-composer__tool:hover{background:var(--bg-hover);color:var(--text-main)}.bank-composer__send{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;border-radius:999px;background:var(--bg-accent);color:var(--on-accent);transition:background-color .15s ease,opacity .15s ease,transform .15s ease}.bank-composer__send:hover:not(:disabled){background:var(--bg-accent-hover);transform:translateY(-1px)}.bank-composer__send:disabled{background:var(--surface-high);color:var(--text-muted);cursor:not-allowed}.bank-people{flex:1;min-height:0;overflow-y:auto;padding:.7rem .75rem 1rem}.bank-people__label{margin:.6rem 0 .35rem;font-size:.62rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--text-muted)}.bank-person{display:flex;align-items:center;gap:.55rem;padding:.35rem .4rem;border-radius:9px}.bank-person:hover{background:var(--bg-hover)}.bank-person__name{font-size:.85rem;color:var(--text-main)}.bank-person__role{margin-left:auto;font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.bank-people__note{margin:1.2rem 0 0;font-size:.72rem;line-height:1.5;color:var(--text-muted)}.app-shell--newsprint .bank,.newsprint .bank{background:var(--bg-panel)}.app-shell--ephemera .bank,.ephemera .bank{background:var(--glass-panel);border-color:var(--ghost-border);backdrop-filter:blur(20px);box-shadow:0 24px 48px rgba(56,56,49,.06)}.app-shell--ephemera .bank__head,.ephemera .bank__head{background:transparent;border-bottom-color:var(--ghost-border)}@media (max-width:1023px){.bank{position:fixed;top:8px;right:8px;z-index:1200;width:min(calc(100vw - 16px - 1.75rem - 6px),420px)!important;height:calc(100% - 16px);margin:0;border-radius:16px}.bank__resize-handle{display:none}.bank{animation-name:bank-drawer-in}.bank--leaving{animation-name:bank-drawer-out}.bank__close{display:inline-flex;position:absolute;top:.5rem;left:calc(-1.75rem - 6px);margin:0;background:var(--bg-panel);color:var(--bg-accent);box-shadow:0 0 0 1px var(--border-color),var(--shadow-sm)}.bank__close:hover{background:var(--bg-panel);color:var(--bg-accent-hover,var(--bg-accent))}}@keyframes bank-drawer-in{0%{transform:translateX(calc(100% + 8px + 1.75rem + 6px))}}@keyframes bank-drawer-out{to{transform:translateX(calc(100% + 8px + 1.75rem + 6px))}}@media (max-width:460px){.bank__tabs .sidebar-tabs__tab{padding:0 .6rem}}.bank-post__dm{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;border:0;border-radius:6px;background:transparent;color:var(--text-muted);opacity:0;cursor:pointer;transition:opacity .15s ease,background-color .15s ease,color .15s ease}.bank-post:focus-within .bank-post__dm,.bank-post:hover .bank-post__dm{opacity:1}.bank-post__dm:hover{background:var(--bg-hover);color:var(--text-main)}.bank-direct{flex:1;min-height:0;overflow-y:auto;padding:.5rem .5rem 1rem}.bank-direct__row{width:100%;border:0;background:transparent;text-align:left;border-radius:10px}.bank-direct__row:hover{background:var(--bg-hover)}.bank-direct__row .bank-av{width:30px;height:30px;font-size:.62rem}.bank-direct__words{display:flex;flex-direction:column;gap:.1rem;min-width:0;flex:1}.bank-direct__top{display:flex;align-items:baseline;gap:.4rem;min-width:0}.bank-direct__when{margin-left:auto;flex:none;font-size:.64rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.bank-direct__last{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;color:var(--text-muted)}.bank-direct__row--unread .bank-person__name{font-weight:700;color:var(--text-main)}.bank-direct__row--unread .bank-direct__last{color:var(--text-soft)}.bank-direct__dot{flex:none;width:7px;height:7px;border-radius:999px;background:var(--bg-accent)}.bank-direct__heading{margin:.9rem 0 .3rem;padding:0 .5rem;color:var(--text-muted);font-size:.64rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.bank-direct__back{display:flex;align-items:center;gap:.45rem;width:100%;flex-shrink:0;padding:.5rem .75rem;border:0;border-bottom:1px solid var(--border-color);background:transparent;color:var(--text-main);font-family:inherit;font-size:.8rem;font-weight:600;text-align:left;cursor:pointer}.bank-direct__back:hover{background:var(--bg-hover)}.bank-direct__back-av{width:22px;height:22px;font-size:.6rem}.bank-direct__back-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-post__text hr{height:0;margin:.6rem 0;border:0;border-top:1px solid var(--ghost-border)}.bank-post__text:has(hr)>:first-child{font-weight:650;color:var(--text-main)}.bank-post__text:has(hr)>hr~*{color:var(--text-soft)}.bank-post__said{position:relative}.bank-post__said:has(.bank-post__own){padding-right:3rem}.bank-post__own{position:absolute;top:-.15rem;right:0;display:flex;gap:.1rem;opacity:0;transition:opacity .15s ease}.bank-post:hover .bank-post__own,.bank-post__said:focus-within .bank-post__own,.bank-reply:focus-within .bank-reply__actions,.bank-reply:hover .bank-reply__actions{opacity:1}.bank-reply__actions{display:flex;gap:.1rem;margin-left:auto;padding-left:.3rem;opacity:0;transition:opacity .15s ease}.bank-post__own button,.bank-reply__actions button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:var(--surface-highest);color:var(--text-muted);transition:background-color .15s ease,color .15s ease}.bank-post__own button:hover,.bank-reply__actions button:hover{background:var(--bg-hover);color:var(--text-main)}.bank-post__own button:last-child:hover,.bank-reply__actions button:last-child:hover{background:rgba(239,68,68,.14);color:#ef4444}.bank-inline{flex:1;min-width:0;margin:.2rem 0 .1rem;border-radius:12px;background:var(--surface-low);box-shadow:inset 0 0 0 1px var(--ghost-border);overflow:hidden}.bank-inline__stage{padding:0;background:transparent}.bank-inline__editable{min-height:2.4rem;padding:.5rem .6rem;font-size:.85rem;line-height:1.55}.bank-inline__bar{display:flex;align-items:center;gap:.4rem;padding:0 .5rem .45rem}.bank-inline__save{display:inline-flex;align-items:center;gap:.25rem;padding:.22rem .6rem;border-radius:8px;background:var(--bg-accent);color:var(--on-accent);font-size:.72rem;font-weight:600;transition:background-color .15s ease,opacity .15s ease}.bank-inline__save:hover{background:var(--bg-accent-hover)}.bank-inline__save:disabled{opacity:.45;cursor:not-allowed}.bank-inline__cancel{padding:.22rem .5rem;border-radius:8px;background:transparent;color:var(--text-muted);font-size:.72rem;font-weight:600}.bank-inline__cancel:hover{background:var(--bg-hover);color:var(--text-main)}.bank-inline__failed{display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;color:#b4530a}:root:not([data-theme=light]) .bank-inline__failed,:root[data-theme=dark] .bank-inline__failed{color:#f0a45c}.bank-mention{display:inline;padding:.05rem .3rem;margin:0 .05rem;border-radius:5px;background:var(--bg-accent-soft);color:var(--bg-accent);font-weight:600;text-decoration:none;white-space:nowrap}:is(.dark,.midnight,.carbon) .bank-mention{background:var(--bg-accent-soft-dark);color:#d8e7ff}.bank-composer__editable a[href^="#doc-"],.bank-docref{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;padding:.05rem .3rem .05rem .25rem;margin:0 .05rem;border-radius:5px;background:var(--bg-accent-soft);color:var(--bg-accent);font-weight:600;text-decoration:none;cursor:pointer}.bank-composer__editable a[href^="#doc-"]:before,.bank-docref:before{content:"";display:inline-block;width:.85em;height:.85em;margin-right:.2em;vertical-align:-.1em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center /contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center /contain no-repeat}.bank-docref[href]:hover{text-decoration:underline;text-underline-offset:2px}.bank-composer__editable a[href^="#user-"]{position:relative;padding:.05rem 1.15rem .05rem .3rem;margin:0 .05rem;border-radius:5px;background:var(--bg-accent-soft);color:var(--bg-accent);font-weight:600;text-decoration:none;white-space:nowrap;-webkit-user-select:all;-moz-user-select:all;user-select:all}.bank-composer__editable a[href^="#user-"]:after{content:"\00d7";position:absolute;top:50%;right:.3rem;transform:translateY(-52%);font-size:1em;font-weight:500;line-height:1;opacity:0;transition:opacity .12s ease}.bank-composer__editable a[href^="#user-"]:hover:after{opacity:.8;cursor:pointer}.bank-composer__editable a[href^="#doc-"],.bank-composer__editable a[href^="#user-"]{cursor:text}:is(.dark,.midnight,.carbon) .bank-composer__editable a[href^="#doc-"],:is(.dark,.midnight,.carbon) .bank-composer__editable a[href^="#user-"],:is(.dark,.midnight,.carbon) .bank-docref{background:var(--bg-accent-soft-dark);color:#d8e7ff}.bank-docref.bank-docref--gone,:is(.dark,.midnight,.carbon) .bank-docref.bank-docref--gone{background:var(--river-chip-bg,var(--bg-soft));color:var(--text-muted);font-weight:500;cursor:default;opacity:.8}.bank-post__to{display:inline-flex;align-items:center;gap:.2rem;min-width:0;max-width:9rem;overflow:hidden;text-overflow:ellipsis;padding:.1rem .4rem;border-radius:999px;background:var(--river-chip-bg,var(--bg-soft));color:var(--text-muted);font-size:.66rem;font-weight:600;white-space:nowrap}.bank-post__to--you{background:var(--bg-accent-soft);color:var(--bg-accent)}:is(.dark,.midnight,.carbon) .bank-post__to--you{background:var(--bg-accent-soft-dark);color:#d8e7ff}.bank-composer__mention{position:relative;display:flex;align-items:center}.bank-composer__tool--on{background:var(--bg-accent-soft);color:var(--bg-accent)}.bank-composer__picker{position:absolute;bottom:calc(100% + 6px);left:0;min-width:12rem;max-height:14rem;overflow-y:auto;padding:4px;border-radius:12px;background:var(--bg-panel);border:1px solid var(--border-color);box-shadow:var(--shadow-lg);z-index:30}.bank-composer__pick{display:flex;align-items:center;gap:.5rem;width:100%;padding:.35rem .5rem;border:none;border-radius:8px;background:transparent;color:var(--text-main);font-family:var(--font-display);font-size:.82rem;text-align:left;cursor:pointer;transition:background-color .14s ease}.bank-composer__pick:hover,.bank-composer__pick[data-active=true]{background:var(--bg-hover)}.bank-composer__picker--docs{display:flex;flex-direction:column;width:min(17rem,calc(100vw - 16px));max-height:18rem;overflow:hidden}.bank-composer__search{flex-shrink:0;width:100%;margin-bottom:4px;padding:.4rem .55rem;border:1px solid var(--border-color);border-radius:8px;background:var(--surface-highest);color:var(--text-main);font-family:var(--font-display);font-size:.8rem;outline:none}.bank-composer__search::-moz-placeholder{color:var(--text-muted)}.bank-composer__search::placeholder{color:var(--text-muted)}.bank-composer__search:focus{border-color:var(--bg-accent)}.bank-composer__picks{min-height:0;overflow-y:auto}.bank-composer__pick-icon{flex-shrink:0;color:var(--text-muted)}.bank-composer__pick-none{margin:0;padding:.45rem .5rem;font-size:.78rem;color:var(--text-muted)}.bank-typing{flex-shrink:0;display:flex;align-items:center;gap:.4rem;height:1.4rem;padding:0 .95rem;overflow:hidden;font-size:.68rem;color:var(--text-muted);white-space:nowrap}.bank-typing__who{min-width:0;overflow:hidden;text-overflow:ellipsis}.bank-typing__dots{display:inline-flex;align-items:center;gap:2.5px;flex-shrink:0;width:20px;justify-content:center}.bank-typing__dots i{width:4px;height:4px;border-radius:50%;background:var(--bg-accent);animation:bank-typing-dot 1.2s ease-in-out infinite}.bank-typing__dots i:nth-child(2){animation-delay:.15s}.bank-typing__dots i:nth-child(3){animation-delay:.3s}@keyframes bank-typing-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.bank-typing__dots i{animation:none;opacity:.75}}.bank-composer__pick-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-composer__pick-you{flex-shrink:0;font-size:.6rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}.bank-composer__addressed{display:flex;align-items:center;gap:.4rem;padding:.5rem .6rem 0}.bank-composer__addressed-label{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.app-shell--ephemera .bank-composer__box,.ephemera .bank-composer__box{background:#fffdf8}.bank-post__author{white-space:nowrap}.bank-person__assigned{display:inline-flex;align-items:center;justify-content:center;min-width:1.15rem;height:1.15rem;padding:0 .3rem;flex-shrink:0;border-radius:999px;background:var(--bg-accent-soft);color:var(--bg-accent);font-size:.66rem;font-weight:700}:is(.dark,.midnight,.carbon) .bank-person__assigned{background:var(--bg-accent-soft-dark);color:#d8e7ff}.bank-file--button{border:none;text-align:left;font-family:inherit;color:inherit;cursor:pointer;text-decoration:none;transition:background-color .15s ease,box-shadow .15s ease}.bank-file--button:hover{background:var(--bg-hover);box-shadow:inset 0 0 0 1px var(--border-color)}.bank-file--button:hover .bank-file__action{color:var(--bg-accent)}.bank-file--dead{opacity:.65;cursor:default}.bank-file__action--off{color:var(--text-muted);font-style:italic}.bank-file--image{display:inline-block;width:auto;max-width:100%;padding:0;overflow:hidden;background:var(--surface-low);line-height:0;cursor:zoom-in;transition:box-shadow .15s ease}.bank-file--image:hover{box-shadow:inset 0 0 0 1px var(--border-color),var(--shadow-sm)}.bank-file--image img{display:block;width:auto;height:auto;max-width:100%;max-height:18rem}.bank-attachments{flex:1;min-height:0;display:flex;flex-direction:column}.bank-attachments__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem 1rem .65rem}.bank-attachments__head>div{min-width:0}.bank-attachments__title{margin:0;color:var(--text-main);font-size:.8rem;font-weight:600}.bank-attachments__workspace{margin:.25rem 0 0;color:var(--text-muted);font-size:.7rem;line-height:1.4;overflow-wrap:anywhere}.bank-attachments__list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:.25rem .6rem 1rem}.bank-attachment{border-radius:12px;margin:0 0 .55rem;transition:background-color .15s ease}.bank-attachment:focus-within,.bank-attachment:hover{background:var(--surface-low)}.bank-attachment__row{display:flex;align-items:center;gap:.15rem;padding-right:.3rem}.bank-attachment__open{flex:1;min-width:0;display:flex;align-items:center;gap:.75rem;padding:.65rem .5rem;border:0;border-radius:10px;background:transparent;color:var(--text-main);text-align:left;cursor:pointer}.bank-attachment__open:disabled{cursor:default}.bank-attachment__actions button:focus-visible,.bank-attachment__more:focus-visible,.bank-attachment__open:focus-visible,.bank-attachments__retry:focus-visible{outline:2px solid var(--bg-accent);outline-offset:2px}.bank-attachment__thumb{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:3.35rem;height:3.35rem;overflow:hidden;border-radius:8px;background:var(--surface-low);color:var(--text-muted)}.bank-attachment__thumb img,.bank-attachment__thumb video{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.bank-attachment__video-mark{position:absolute;bottom:3px;right:3px;box-sizing:content-box;padding:3px;border-radius:4px;color:var(--text-main);background:var(--bg-panel)}.bank-attachment__info{display:flex;flex-direction:column;gap:.2rem;min-width:0}.bank-attachment__name{font-size:.78rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.bank-attachment__meta{font-size:.65rem;color:var(--text-muted);line-height:1.4}.bank-attachment__source{font-size:.68rem;color:var(--text-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-attachment__more{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:7px;color:var(--text-muted);background:transparent;cursor:pointer}.bank-attachment__more:hover:not(:disabled),.bank-attachment__more[aria-expanded=true]{background:var(--bg-hover);color:var(--text-main)}.bank-attachment__actions button:disabled,.bank-attachment__more:disabled{opacity:.5;cursor:default}.bank-attachment__confirm,.bank-attachment__edit{margin:0 .5rem;padding:.2rem 0 .7rem}.bank-attachment__name-field{display:flex;align-items:center;background:var(--surface-high);border-radius:7px;padding:0 .65rem}.bank-attachment__name-field input{flex:1;width:100%;min-width:0;padding:.6rem 0;border:none;outline:none;background:transparent;color:var(--text-main);font:inherit;font-size:.78rem}.bank-attachment__name-field:focus-within{outline:2px solid var(--bg-accent);outline-offset:1px}.bank-attachment__name-field>span{flex-shrink:0;color:var(--text-muted);font-size:.75rem}.bank-attachment__actions{display:flex;justify-content:flex-end;gap:.3rem;margin-top:.45rem}.bank-attachment__actions button{padding:.35rem .6rem;border:0;border-radius:6px;color:var(--text-soft);background:transparent;font-size:.72rem;cursor:pointer}.bank-attachment__actions button:hover:not(:disabled){background:var(--bg-hover)}.bank-attachment__actions .bank-attachment__save{background:var(--bg-accent-soft);color:var(--bg-accent)}.bank-attachment__actions .bank-attachment__danger{color:var(--text-danger,#c4423a)}.bank-attachment__confirm>p{margin:.1rem 0 0;color:var(--text-soft);font-size:.72rem;line-height:1.5}.bank-attachment__error,.bank-attachment__notice{margin:0;padding:.1rem .5rem .65rem;font-size:.7rem;line-height:1.45}.bank-attachment__error{color:var(--text-danger,#c4423a)}.bank-attachment__notice{color:var(--text-muted)}.bank-attachments__message{padding:1rem;color:var(--text-muted);font-size:.78rem;line-height:1.5}.bank-attachments__message>p{margin:0}.bank-attachments__retry{margin-top:.65rem;padding:.45rem .75rem;border:0;border-radius:7px;background:var(--surface-high);color:var(--text-main);font-size:.75rem;cursor:pointer}.bank-attachments__retry:hover{background:var(--bg-hover)}.bank-attachment-menu .menu-panel{min-width:190px;padding:.35rem;border-color:color-mix(in srgb,var(--border-color) 15%,transparent);background:color-mix(in srgb,var(--bg-panel) 88%,transparent);backdrop-filter:blur(20px);box-shadow:0 8px 24px color-mix(in srgb,var(--text-main) 6%,transparent)}.bank-attachment-menu .menu-panel__item{padding:.45rem .55rem;font-size:.75rem}.bank-activity{flex:1;min-height:0;display:flex;flex-direction:column}.bank-activity__bar{position:relative;display:flex;align-items:center;gap:.35rem;min-height:2.75rem;padding:.5rem .6rem;border-bottom:1px solid var(--border-color)}.bank-activity__end{margin-left:auto}.bank-activity__chip{display:inline-flex;align-items:center;gap:.3rem;flex:none;height:1.75rem;padding:0 .6rem;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-panel);color:var(--text-main);font:inherit;font-size:.72rem;font-weight:600;cursor:pointer;white-space:nowrap}.bank-activity__chip:hover{background:var(--bg-hover)}.bank-activity__chip--on{border-color:color-mix(in srgb,var(--bg-accent) 45%,transparent);background:color-mix(in srgb,var(--bg-accent) 12%,var(--bg-panel));color:var(--bg-accent)}.bank-activity__chip--on:hover{background:color-mix(in srgb,var(--bg-accent) 18%,var(--bg-panel))}.bank-activity__icon{display:grid;place-items:center;flex:none;width:1.75rem;height:1.75rem;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text-soft);cursor:pointer}.bank-activity__icon:hover{background:var(--bg-hover);color:var(--text-main)}.bank-activity__icon--on{border-color:var(--border-color);color:var(--text-main)}.bank-activity__count{min-width:1rem;padding:0 .3rem;border-radius:999px;background:var(--bg-accent);color:var(--on-accent,#fff);font-size:.6rem;line-height:1rem;text-align:center;font-variant-numeric:tabular-nums}.bank-activity__picked{font-size:.74rem;font-weight:700;color:var(--text-main);margin-right:.15rem;white-space:nowrap}.bank-activity__pick{position:relative;display:inline-flex;align-items:center;flex:none;height:1.75rem;padding:0 .1rem 0 .45rem;border:1px solid var(--border-color);border-radius:8px}.bank-activity__box{width:15px;height:15px;margin:0;accent-color:var(--bg-accent);cursor:pointer}.bank-activity__caret{display:grid;place-items:center;width:1.3rem;height:1.5rem;padding:0;border:0;border-radius:6px;background:transparent;color:var(--text-soft);cursor:pointer}.bank-activity__caret:hover{background:var(--bg-hover);color:var(--text-main)}.bank-activity__menu,.bank-activity__panel{position:absolute;top:calc(100% + 6px);z-index:20;border:1px solid var(--border-color);border-radius:12px;background:var(--bg-panel);box-shadow:0 12px 32px rgba(0,0,0,.14)}.bank-activity__menu{left:0;min-width:12rem;padding:.3rem;display:grid}.bank-activity__menu button{display:flex;align-items:center;gap:.45rem;padding:.45rem .6rem;border:0;border-radius:8px;background:transparent;color:var(--text-main);font:inherit;font-size:.76rem;text-align:left;cursor:pointer}.bank-activity__menu button:hover:not(:disabled){background:var(--bg-hover)}.bank-activity__menu button:disabled{opacity:.45;cursor:default}.bank-activity__menu-rule{height:1px;margin:.25rem .3rem;background:var(--border-color)}.bank-activity__filter-wrap{flex:none}.bank-activity__panel{top:calc(100% - 2px);right:.6rem;width:min(16.5rem,calc(100% - 1.2rem));padding:.75rem .85rem .85rem}.bank-activity__panel-head{display:flex;align-items:center;justify-content:space-between;margin:-.15rem -.25rem .5rem 0;font-size:.86rem;font-weight:700;color:var(--text-main)}.bank-activity__label{display:block;margin:.6rem 0 .35rem;font-size:.7rem;color:var(--text-muted)}.bank-activity__select{position:relative}.bank-activity__select select{width:100%;height:2.1rem;padding:0 2rem 0 .7rem;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-panel);color:var(--text-main);font:inherit;font-size:.78rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.bank-activity__select select:focus{outline:none;border-color:var(--bg-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--bg-accent) 18%,transparent)}.bank-activity__select svg{position:absolute;right:.6rem;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--text-soft)}.bank-activity__check{display:flex;align-items:center;gap:.55rem;padding:.35rem .1rem;font-size:.78rem;color:var(--text-main);cursor:pointer}.bank-activity__check svg{color:var(--text-soft)}.bank-activity__reset{margin-top:.5rem;padding:0;border:0;background:transparent;color:var(--bg-accent);font:inherit;font-size:.72rem;font-weight:600;cursor:pointer}.bank-activity__reset:disabled{color:var(--text-muted);opacity:.6;cursor:default}.bank-activity__search{display:flex;align-items:center;gap:.45rem;margin:.5rem .6rem .1rem;padding:0 .3rem 0 .65rem;height:2.1rem;border:1px solid var(--border-color);border-radius:9px;color:var(--text-soft)}.bank-activity__search:focus-within{border-color:var(--bg-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--bg-accent) 18%,transparent)}.bank-activity__search input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--text-main);font:inherit;font-size:.78rem}.bank-activity__list{flex:1;min-height:0;overflow-y:auto;padding:.25rem .5rem 1rem}.bank-activity__heading{position:sticky;top:0;z-index:1;margin:0;padding:.7rem .5rem .35rem;background:var(--bg-panel);color:var(--text-muted);font-size:.64rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.bank-activity__row{position:relative;display:flex;align-items:stretch;border-radius:10px}.bank-activity__row:hover{background:var(--bg-hover)}.bank-activity__open{display:flex;align-items:flex-start;gap:.55rem;flex:1;min-width:0;padding:.55rem .4rem .55rem .2rem;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:10px}.bank-activity__open:focus-visible{outline:2px solid var(--bg-accent);outline-offset:-2px}.bank-activity__dot{flex:none;display:grid;place-items:center;width:15px;height:15px;margin-top:.45rem}.bank-activity__dot:before{content:"";width:7px;height:7px;border-radius:999px;background:transparent}.bank-activity__row--unread .bank-activity__dot:before{background:var(--bg-accent)}.bank-activity__row-box{position:absolute;left:.2rem;top:1rem;z-index:1;opacity:0}.bank-activity--picking .bank-activity__row-box,.bank-activity__row-box:focus-visible,.bank-activity__row:hover .bank-activity__row-box{opacity:1}.bank-activity--picking .bank-activity__dot,.bank-activity__row:hover .bank-activity__dot{visibility:hidden}.bank-activity__row--picked{background:color-mix(in srgb,var(--bg-accent) 9%,transparent)}.bank-activity__row--picked:hover{background:color-mix(in srgb,var(--bg-accent) 13%,transparent)}@media (hover:none){.bank-activity__row-box{opacity:1}.bank-activity__dot{visibility:hidden}}.bank-activity__open .bank-av{flex:none;width:30px;height:30px;font-size:.62rem}.bank-activity__words{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}.bank-activity__top{display:flex;align-items:baseline;gap:.4rem;min-width:0}.bank-activity__what{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;color:var(--text-soft)}.bank-activity__what b{font-weight:600;color:var(--text-main)}.bank-activity__row--unread .bank-activity__what b{font-weight:700}.bank-activity__when{margin-left:auto;flex:none;font-size:.64rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.bank-activity__text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.74rem;line-height:1.45;color:var(--text-muted)}.bank-activity__row--unread .bank-activity__text{color:var(--text-main)}.bank-activity__remove{margin-left:-.3rem}.bank-activity__remove:hover{color:var(--text-danger,#e5484d)}.bank-activity__mark{flex:none;align-self:center;display:grid;place-items:center;width:26px;height:26px;margin-right:.3rem;border:0;border-radius:7px;background:transparent;color:var(--text-muted);cursor:pointer;opacity:0;transition:opacity .12s}.bank-activity__mark:focus-visible,.bank-activity__row:hover .bank-activity__mark{opacity:1}.bank-activity__mark:hover{background:var(--bg-panel);color:var(--text-main);box-shadow:0 0 0 1px var(--border-color)}@media (hover:none){.bank-activity__mark{opacity:1}}.bank-attachment__from{padding:0 .6rem .6rem calc(.5rem + 3.35rem + .75rem);margin-top:-.35rem;min-width:0}.bank-attachment__chip{display:inline-flex;align-items:center;gap:.3rem;max-width:100%;height:1.45rem;padding:0 .55rem;border:1px solid var(--border-color);border-radius:999px;background:var(--bg-panel);color:var(--text-soft);font:inherit;font-size:.68rem;font-weight:600;cursor:pointer}.bank-attachment__chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-attachment__chip>svg{flex:none}button.bank-attachment__chip:hover:not(:disabled){border-color:color-mix(in srgb,var(--bg-accent) 45%,transparent);color:var(--bg-accent)}button.bank-attachment__chip:focus-visible{outline:2px solid var(--bg-accent);outline-offset:1px}.bank-attachment__chip--room{cursor:default}.bank-direct__face{display:grid;place-items:center;flex:none;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.bank-direct__face:hover .bank-av{transform:scale(1.08)}.bank-direct__face:focus-visible{outline:2px solid var(--bg-accent);outline-offset:2px}.bank-direct__open{display:flex;align-items:center;gap:.55rem;flex:1;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.bank-direct__row{cursor:pointer}.bank-direct__bar{display:flex;align-items:center;gap:.15rem;flex-shrink:0;padding:.25rem .4rem;border-bottom:1px solid var(--border-color)}.bank-direct__bar .bank-direct__back{width:auto;padding:.4rem .45rem;border-bottom:0;border-radius:8px}.bank-direct__who{display:flex;align-items:center;gap:.45rem;min-width:0;padding:.3rem .5rem;border:0;border-radius:8px;background:transparent;color:var(--text-main);font:inherit;font-size:.8rem;font-weight:600;text-align:left;cursor:pointer}.bank-direct__who:hover{background:var(--bg-hover)}.bank-docref[data-glyph=ListTodo]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%205h8'/%3E%3Cpath%20d='M13%2012h8'/%3E%3Cpath%20d='M13%2019h8'/%3E%3Cpath%20d='m3%2017%202%202%204-4'/%3E%3Crect%20x='3'%20y='4'%20width='6'%20height='6'%20rx='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%205h8'/%3E%3Cpath%20d='M13%2012h8'/%3E%3Cpath%20d='M13%2019h8'/%3E%3Cpath%20d='m3%2017%202%202%204-4'/%3E%3Crect%20x='3'%20y='4'%20width='6'%20height='6'%20rx='1'/%3E%3C/svg%3E")}.bank-docref[data-glyph=Clapperboard]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6.2%205.3%203.1%203.9'/%3E%3Cpath%20d='m12.4%203.4%203.1%204'/%3E%3Cpath%20d='M3%2011h18v8a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6.2%205.3%203.1%203.9'/%3E%3Cpath%20d='m12.4%203.4%203.1%204'/%3E%3Cpath%20d='M3%2011h18v8a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2Z'/%3E%3C/svg%3E")}.bank-docref[data-glyph=Wallet]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%205v14a2%202%200%200%200%202%202h15a1%201%200%200%200%201-1v-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%205v14a2%202%200%200%200%202%202h15a1%201%200%200%200%201-1v-4'/%3E%3C/svg%3E")}.bank-docref[data-glyph=FileChartColumn]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%202v5a1%201%200%200%200%201%201h5'/%3E%3Cpath%20d='M8%2018v-1'/%3E%3Cpath%20d='M12%2018v-6'/%3E%3Cpath%20d='M16%2018v-3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%202v5a1%201%200%200%200%201%201h5'/%3E%3Cpath%20d='M8%2018v-1'/%3E%3Cpath%20d='M12%2018v-6'/%3E%3Cpath%20d='M16%2018v-3'/%3E%3C/svg%3E")}.bank-docref[data-glyph=Inbox]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='22%2012%2016%2012%2014%2015%2010%2015%208%2012%202%2012'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='22%2012%2016%2012%2014%2015%2010%2015%208%2012%202%2012'/%3E%3C/svg%3E")}.bank-docref[data-glyph=Newspaper]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2018h-5'/%3E%3Cpath%20d='M18%2014h-8'/%3E%3Crect%20width='8'%20height='4'%20x='10'%20y='6'%20rx='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%2018h-5'/%3E%3Cpath%20d='M18%2014h-8'/%3E%3Crect%20width='8'%20height='4'%20x='10'%20y='6'%20rx='1'/%3E%3C/svg%3E")}.bank-docref[data-glyph=ListChecks]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%205h8'/%3E%3Cpath%20d='M13%2012h8'/%3E%3Cpath%20d='M13%2019h8'/%3E%3Cpath%20d='m3%2017%202%202%204-4'/%3E%3Cpath%20d='m3%207%202%202%204-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%205h8'/%3E%3Cpath%20d='M13%2012h8'/%3E%3Cpath%20d='M13%2019h8'/%3E%3Cpath%20d='m3%2017%202%202%204-4'/%3E%3Cpath%20d='m3%207%202%202%204-4'/%3E%3C/svg%3E")}.bank-docref[data-glyph=Bento]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='black'%3E%3Crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='8.5'%20y='2.5'%20width='4.5'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='14.5'%20y='2.5'%20width='7'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='2.5'%20y='11.5'%20width='7'%20height='10'%20rx='1.1'/%3E%3Crect%20x='11'%20y='11.5'%20width='5'%20height='4.25'%20rx='1.1'/%3E%3Crect%20x='11'%20y='17.25'%20width='5'%20height='4.25'%20rx='1.1'/%3E%3Crect%20x='17.5'%20y='11.5'%20width='4'%20height='10'%20rx='1.1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='black'%3E%3Crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='8.5'%20y='2.5'%20width='4.5'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='14.5'%20y='2.5'%20width='7'%20height='7.5'%20rx='1.1'/%3E%3Crect%20x='2.5'%20y='11.5'%20width='7'%20height='10'%20rx='1.1'/%3E%3Crect%20x='11'%20y='11.5'%20width='5'%20height='4.25'%20rx='1.1'/%3E%3Crect%20x='11'%20y='17.25'%20width='5'%20height='4.25'%20rx='1.1'/%3E%3Crect%20x='17.5'%20y='11.5'%20width='4'%20height='10'%20rx='1.1'/%3E%3C/svg%3E")}.bank-reply>.bank-av .status-dot{width:7px;height:7px}.bank-excerpt__kind{flex-shrink:0;display:inline-flex;align-items:center;gap:.25rem;font-size:.72rem;font-weight:600;color:var(--text-main)}.bank-excerpt__kind svg{color:var(--bg-accent)}.bank-excerpt__sketch{display:block;max-width:calc(100% - 1.1rem);height:3.5rem;margin:.45rem .55rem .15rem}.bank-excerpt__under{padding:.4rem .6rem .5rem}.bank-excerpt__under-label{display:block;margin-bottom:.15rem;font-size:.62rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.bank-excerpt__under .bank-excerpt__body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;padding:0;font-size:.76rem;color:var(--text-muted)}.bank-excerpt__under .bank-excerpt__body :is(p,h1,h2,h3,h4,h5,h6,li){margin:0;font-size:inherit;font-weight:inherit}.bank-excerpt__on{display:grid;gap:.3rem;margin:0;padding:.45rem .6rem .55rem;list-style:none}.bank-excerpt__on-item{display:grid;grid-template-columns:3.6rem minmax(0,1fr);-moz-column-gap:.45rem;column-gap:.45rem;align-items:baseline;font-size:.78rem;line-height:1.45}.bank-excerpt__on-kind{grid-row:span 2;font-size:.6rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.bank-excerpt__on-text{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--text-main)}.bank-excerpt__on-item--chart .bank-excerpt__on-text,.bank-excerpt__on-item--code .bank-excerpt__on-text,.bank-excerpt__on-item--file .bank-excerpt__on-text,.bank-excerpt__on-item--picture .bank-excerpt__on-text,.bank-excerpt__on-item--table .bank-excerpt__on-text{-webkit-line-clamp:1}.bank-excerpt__on-item--code .bank-excerpt__on-text{font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace);font-size:.74rem}.bank-excerpt__on-item--heading .bank-excerpt__on-text{font-weight:600}.bank-excerpt__on-detail{grid-column:2;font-size:.68rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.bank-excerpt__sketch path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.bank-excerpt--flash{animation:bank-excerpt-flash 1.6s ease-out}@keyframes bank-excerpt-flash{0%,35%{box-shadow:0 0 0 2px var(--bg-accent),var(--shadow-sm)}to{box-shadow:0 0 0 2px transparent,var(--shadow-sm)}}@media (prefers-reduced-motion:reduce){.bank-excerpt--flash{animation:none;box-shadow:0 0 0 2px var(--bg-accent),var(--shadow-sm)}}.bank-history{display:flex;flex-direction:column;gap:.6rem;padding:.75rem .85rem 1rem}.bank-history__note{display:flex;align-items:center;gap:.4rem;margin:0;padding:.75rem .85rem;font-size:.8rem;line-height:1.45;color:var(--text-muted)}.bank-history .bank-history__note{padding:0}.bank-history__spin{animation:sidebar-spin .9s linear infinite}.bank-history__now{display:flex;align-items:baseline;gap:.5rem;padding:.55rem .7rem;border-radius:10px;background:color-mix(in srgb,var(--bg-accent) 8%,transparent);font-size:.82rem}.bank-history__now b{color:var(--text-main)}.bank-history__now span{font-size:.76rem;color:var(--text-muted)}.bank-history__entry--now{border-radius:10px;background:color-mix(in srgb,var(--bg-accent) 8%,transparent)}.bank-history__item--now{cursor:default}.bank-history__item--now:hover{background:none}.bank-history__list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}.bank-history__item{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;width:100%;padding:.5rem .7rem;border:0;border-radius:10px;background:none;text-align:left;cursor:pointer}.bank-history__item:hover{background:var(--bg-hover)}.bank-history__when{font-size:.82rem;font-weight:600;color:var(--text-main)}.bank-history__who{font-size:.74rem;color:var(--text-muted)}.bank-history__hint{margin:.2rem 0 0;font-size:.72rem;line-height:1.45;color:var(--text-muted)}.bank-history__bar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.bank-history__back{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .5rem .25rem .35rem;border:0;border-radius:8px;background:none;color:var(--text-main);font-size:.8rem;cursor:pointer}.bank-history__back:hover{background:var(--bg-hover)}.bank-history__bar-words{font-size:.76rem;color:var(--text-muted)}.bank-history__restore{display:inline-flex;align-items:center;gap:.4rem;align-self:flex-start}.bank-history__page{padding:.8rem .9rem;border:1px solid var(--border-color);border-radius:12px;background:var(--bg-panel);overflow-wrap:anywhere}.bank-history__said{margin:0;font-size:.76rem;line-height:1.45;color:var(--text-muted)}.bank-history__said--error{color:#c2410c}.bank-history__row{display:flex;align-items:stretch;gap:.15rem}.bank-history__row .bank-history__item{flex:1;min-width:0}.bank-history__fold{flex:none;display:grid;place-items:center;width:1.9rem;border:0;border-radius:8px;background:none;color:var(--text-muted);cursor:pointer}.bank-history__fold:hover{background:var(--bg-hover);color:var(--text-main)}.bank-history__fold svg{transition:transform .15s ease}.bank-history__entry--open .bank-history__fold svg{transform:rotate(180deg)}.bank-history__what{padding:.1rem .7rem .6rem}.bank-history__changes{display:grid;gap:.3rem;margin:0;padding:0;list-style:none}.bank-history__change{display:grid;grid-template-columns:1.2rem 1fr auto;gap:.45rem;align-items:start;font-size:.76rem;line-height:1.45;color:var(--text-main)}.bank-history__change-time{padding-top:.08rem;font-size:.68rem;color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums}.bank-history__change--fresh .bank-history__change-text{border-radius:4px;background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--bg-accent) 26%,transparent) 50%,transparent 80%) no-repeat;background-size:220% 100%;animation:history-shimmer 1.2s ease-in-out 2}@keyframes history-shimmer{0%{background-position:130% 0}to{background-position:-30% 0}}@media (prefers-reduced-motion:reduce){.bank-history__change--fresh .bank-history__change-text{animation:none;background:color-mix(in srgb,var(--bg-accent) 14%,transparent)}}.bank-history__change-mark{display:grid;place-items:center;width:1.2rem;height:1.2rem;border-radius:6px;color:var(--change-ink);background:color-mix(in srgb,var(--change-ink) 14%,transparent)}.bank-history__change--added,.bank-history__change--checked{--change-ink:#16a34a}.bank-history__change--removed,.bank-history__change--unchecked{--change-ink:#dc2626}.bank-history__change--changed{--change-ink:var(--bg-accent)}.bank-history__change-text{min-width:0;overflow-wrap:anywhere}.bank-history__change-where{color:var(--text-muted)}.bank-history__change-more,.bank-history__changes-none{margin:0;font-size:.74rem;color:var(--text-muted)}.bank-history__show{display:inline-flex;align-items:center;gap:.4rem;align-self:flex-start;font-size:.78rem;color:var(--text-main);cursor:pointer}.bank-history__added{margin:0 -.35rem;padding:0 .35rem;border-left:3px solid #16a34a;background:color-mix(in srgb,#16a34a 9%,transparent)}.bank-history__removed{margin:0 -.35rem;padding:0 .35rem;border-left:3px solid #dc2626;background:color-mix(in srgb,#dc2626 7%,transparent);text-decoration:line-through;text-decoration-color:color-mix(in srgb,#dc2626 60%,transparent);opacity:.75}.bank-history__changed ins{text-decoration:none;background:color-mix(in srgb,#16a34a 18%,transparent);border-radius:3px;padding:0 .1em}.bank-history__changed del{text-decoration-color:#dc2626;background:color-mix(in srgb,#dc2626 12%,transparent);border-radius:3px;padding:0 .1em;color:var(--text-muted)}.bank-history__page table{display:block;max-width:100%;overflow-x:auto;margin:.4rem 0;font-size:.74rem;line-height:1.4}.bank-history__page td,.bank-history__page th{padding:.35rem .55rem;vertical-align:top;overflow-wrap:normal;word-break:normal;hyphens:none}.bank-history__page th{white-space:nowrap;font-weight:600;color:var(--text-muted)}.bank-history__page td{min-width:8rem;max-width:15rem}.bank-history__page td.bank-history__short{min-width:0;white-space:nowrap}.bank-history__page td:has(>.bank-history__box){min-width:0;width:1%;text-align:center}.bank-history__box{font-size:1rem;line-height:1;color:var(--text-muted)}.bank-history__page>:first-child{margin-top:0}.bank-history__page h1{margin:0 0 .6rem;font-size:1.3rem;line-height:1.25}.bank-history__page h2{margin:1rem 0 .4rem;font-size:1.1rem;line-height:1.3}.bank-history__page h3{margin:.9rem 0 .3rem;font-size:.98rem}.bank-history__page p{margin:.5rem 0}.bank-history__page table{border-collapse:collapse;font-size:.86em}.bank-history__page td,.bank-history__page th{padding:.25rem .55rem;border-bottom:1px solid var(--border-color);text-align:left}.bank-composer__readonly{margin:.6rem;padding:.65rem .9rem;border-radius:16px;background:var(--surface-highest);box-shadow:0 0 0 1px var(--ghost-border),var(--shadow-sm);font-size:.76rem;line-height:1.45;color:var(--text-muted)}.bank__body--docked{position:relative}.bank__body--docked .bank-stream{margin-bottom:0;padding-bottom:calc(var(--dock-h, 7rem) + .4rem)}.bank__dock{position:absolute;right:0;bottom:0;left:0;z-index:2;pointer-events:none}.bank__dock>*{pointer-events:auto}.bank__dock .bank-composer{background:transparent;border-top:0}.bank__dock .bank-typing{width:-moz-fit-content;width:fit-content;max-width:calc(100% - 1.5rem);height:auto;margin:0 0 0 .75rem;padding:.15rem .6rem;border-radius:999px;background:var(--surface-highest);box-shadow:0 0 0 1px var(--ghost-border)}.bank__dock .bank-typing:empty{display:none}.bank__placeholder-action{margin-top:.85rem;padding:.45rem .85rem;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-panel);color:var(--text-main);font-family:var(--font-display);font-size:.8rem;cursor:pointer;transition:background-color .15s ease}.bank__placeholder-action:hover{background:var(--bg-hover)}.bank__placeholder-action:focus-visible{outline:2px solid var(--bg-accent);outline-offset:2px}.bank-composer__readonly p{margin:0}.bank-composer__readonly .bank__placeholder-action{margin-top:.55rem}.attachment-preview{position:fixed;inset:0;width:min(1120px,calc(100vw - 48px));height:min(820px,calc(100dvh - 64px));max-width:none;max-height:none;margin:auto;padding:0;overflow:hidden;border:0;border-radius:18px;background:var(--glass-panel);color:var(--text-main);box-shadow:0 0 0 1px var(--ghost-border),var(--shadow-lg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.attachment-preview[open]{display:flex;flex-direction:column}.attachment-preview::backdrop{background:var(--bg-overlay,rgba(31,35,40,.28));backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.attachment-preview__header{display:flex;align-items:center;flex-shrink:0;gap:12px;padding:16px 20px}.attachment-preview__icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:11px;background:var(--bg-accent-soft);color:var(--bg-accent)}.attachment-preview__info{flex:1;min-width:0}.attachment-preview__info h2{margin:0 0 3px;overflow:hidden;font-size:.92rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.attachment-preview__info>span{color:var(--text-muted);font-size:.73rem}.attachment-preview__close,.attachment-preview__download,.attachment-preview__status button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:7px;min-height:36px;border-radius:9px;background:transparent;color:var(--text-soft);font-size:.78rem;font-weight:600}.attachment-preview__download{padding:0 12px;background:var(--surface-high)}.attachment-preview__close{width:36px;padding:0}.attachment-preview button:hover:not(:disabled){background:var(--bg-hover);color:var(--text-main)}.attachment-preview button:focus-visible{outline:2px solid var(--bg-accent);outline-offset:3px}.attachment-preview button:disabled{opacity:.55;cursor:wait}.attachment-preview__stage{display:grid;grid-template:minmax(0,1fr) /minmax(0,1fr);place-items:center;flex:1;min-height:0;margin:0 12px 12px;padding:20px;overflow:auto;border-radius:12px;background:var(--surface-high)}.attachment-preview__stage>*{grid-area:1/1}.attachment-preview__image,.attachment-preview__video{display:block;width:100%;height:100%;min-width:0;min-height:0;-o-object-fit:contain;object-fit:contain}.attachment-preview__audio{width:min(480px,100%)}.attachment-preview__stage--pdf{padding:0}.attachment-preview__pdf{width:100%;height:100%;min-height:0;border:0}.attachment-preview__pdf>.attachment-preview__status{height:100%}.attachment-preview__text{align-self:stretch;justify-self:stretch;width:100%;height:100%;margin:0;padding:4px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-main);font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace);font-size:.8rem;line-height:1.6;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.attachment-preview__status{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;gap:12px;padding:24px;color:var(--text-muted);text-align:center}.attachment-preview__status h3{margin:4px 0 0;color:var(--text-main);font-family:var(--font-display);font-size:1.22rem;font-weight:500}.attachment-preview__status p{max-width:340px;margin:0;color:var(--text-soft);font-size:.85rem;line-height:1.6}.attachment-preview__status button{margin-top:4px;padding:0 14px;background:var(--bg-panel)}.attachment-preview__error{flex-shrink:0;margin:0;padding:0 24px 14px;color:var(--text-soft);font-size:.8rem}.attachment-preview__spinner{animation:attachment-preview-spin 1s linear infinite}@keyframes attachment-preview-spin{to{transform:rotate(1turn)}}@media (max-width:600px){.attachment-preview{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:14px}.attachment-preview__header{gap:8px;padding:12px}.attachment-preview__icon{display:none}.attachment-preview__download{width:36px;padding:0}.attachment-preview__download>span{display:none}.attachment-preview__stage{margin:0 8px 8px;padding:8px}.attachment-preview__stage--pdf{padding:0}}@media (prefers-reduced-motion:reduce){.attachment-preview__spinner{animation:none}}