:root{--bg:#030303;--fg:#f6f6f6;--muted:#969696;--panel:#141414;--field:#191919;--pill:#151515;--active:#58585a;--line:#222;--nav:#161616;--sheet:#171718;--top:0px;--bottom:env(safe-area-inset-bottom,0px);--content-top:0px;--content-bottom:0px;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color-scheme:dark}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;background:var(--bg);color:var(--fg);font-size:16px;line-height:1.35;overscroll-behavior:none}
button,input,select{font:inherit}
button,a{touch-action:manipulation}
button{border:0;color:inherit;cursor:pointer;background:none}
button:disabled{opacity:.4;cursor:default}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible{outline:2px solid #aaa;outline-offset:3px}
input{color:var(--fg);background:none;border:0;outline:0;min-width:0}
input::placeholder{color:var(--muted)}
h1,h2,h3,p{margin:0}
h1{font-size:42px;line-height:1.03;font-weight:800;letter-spacing:-1.7px;margin:16px 0 23px}
h2{font-size:29px;line-height:1.08;font-weight:800;letter-spacing:-.8px}
h3{font-size:19px;letter-spacing:-.2px}
small,.muted{color:var(--muted)}
svg.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.i-sm svg.icon{width:18px;height:18px}
.boot{height:100dvh;display:flex;align-items:center;justify-content:center;gap:25px}
.shell{max-width:600px;min-height:100dvh;margin:auto;padding:calc(var(--top) + var(--content-top) + 6px) 20px calc(112px + var(--bottom) + var(--content-bottom))}
.toolbar{height:49px;position:relative;display:flex;align-items:center;justify-content:space-between;margin:0 -8px 10px}
.brand{position:absolute;width:31px;height:31px;left:50%;transform:translateX(-50%);pointer-events:none}
.icon-button{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none}
.icon-button.panel{background:#191919;border:0}
.title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.title-row h1{flex:1}
.title-row .icon-button{margin-top:-3px}
.search{display:flex;align-items:center;gap:10px;background:var(--field);height:46px;border-radius:26px;padding:0 15px;color:#aaa;min-width:0;flex:1}
.search input{width:100%;font-size:16px}
.search .icon-button{width:23px;height:28px}
.searchbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.cancel{font-size:14px;padding:8px 0 8px 4px}
.chips{display:flex;gap:8px;margin:14px 0 16px}
.chip{border-radius:24px;background:var(--pill);color:#b7b7b7;min-height:41px;padding:0 18px;font-size:14px;white-space:nowrap}
.chips.equal .chip{flex:1;padding:0 8px}
.chip.active{background:var(--active);color:#fff}
.nav{z-index:20;position:fixed;bottom:calc(14px + var(--bottom) + var(--content-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:572px;display:flex;align-items:center;height:77px;background:rgba(25,25,25,.96);border:0;border-radius:44px;padding:5px;box-shadow:none;backdrop-filter:none}
.nav button{flex:1;height:65px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border-radius:38px;font-size:12px;color:#ccc}
.nav button.active{background:#363638;color:#fff}
.nav .icon{width:25px;height:25px}
.avatar{width:64px;height:64px;border-radius:50%;background:#242424;color:#d9d9d9;display:inline-flex;align-items:center;justify-content:center;font-size:24px;font-weight:500;flex:none;overflow:hidden;position:relative}
.avatar img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.avatar.small{width:44px;height:44px;font-size:18px}
.avatar.large{width:126px;height:126px;font-size:44px}
.dialog-row{display:flex;width:100%;gap:16px;align-items:center;text-align:left;padding:8px 0;min-height:86px}
.dialog-copy{align-self:stretch;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid #1c1c1c;padding:8px 0 15px}
.dialog-top{display:flex;align-items:center;gap:10px;margin-bottom:5px}
.dialog-name{font-size:18px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.date{font-size:12px;color:#aaa;white-space:nowrap}
.preview{color:#aaa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.preview mark{font-weight:600}
.dialog-row:last-child .dialog-copy{border:0}
.pin{font-size:11px;color:#999}
.section-label{margin:25px 0 12px;font-size:16px;font-weight:600}
.card{background:var(--panel);border-radius:19px;margin:20px 0;overflow:hidden}
.row{display:flex;align-items:center;gap:17px;min-height:65px;padding:18px 18px;width:100%;text-align:left;font-size:16px}
.row .row-copy{flex:1;min-width:0}
.row .row-copy small{display:block;font-size:13px;margin-top:5px}
.row .end{font-size:14px;color:#aaa;display:flex;align-items:center;gap:10px}
.row+.row{border-top:1px solid #252525}
.row .icon{width:24px;height:24px}
.row.danger,.danger{color:#e65255}
.row .icon:last-child{color:#999;width:18px}
.connection-card{padding:24px 20px;display:flex;gap:18px;align-items:center}
.connection-card .symbol{width:42px;height:42px}
.connection-card strong{display:block;font-size:18px}
.connection-card small{display:block;margin-top:5px}
.banner{display:flex;align-items:center;gap:10px;background:#1b1b1b;border-radius:18px;padding:12px 14px;font-size:12px;margin:10px 0 14px}
.banner span{flex:1}
.banner button{font-size:12px;font-weight:500;white-space:nowrap}
.empty{min-height:48dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 8px;gap:12px}
.empty>.icon{width:47px;height:47px;color:#bdbdbd;margin-bottom:7px}
.empty h2{font-size:25px;letter-spacing:-.5px}
.empty p{color:#999;max-width:290px;font-size:16px;line-height:1.5}
.empty .link{font-size:14px;color:#bdbdbd;margin-top:8px;display:flex;align-items:center;gap:6px}
.primary,.secondary,.destructive{border-radius:18px;min-height:54px;padding:15px 20px;width:100%;font-weight:600;background:#fcfcfc;color:#080808;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center}
.secondary{background:#242424;color:#eee;font-weight:400}
.destructive{background:#4b1f20;color:#e65255}
.button-stack{display:grid;gap:10px;margin-top:20px}
.subtitle{color:#999;line-height:1.5;margin-top:12px}
.center{text-align:center}
.small-note{font-size:13px;color:#999;text-align:center;margin:12px 0 0;line-height:1.5}
.onboarding{min-height:calc(100dvh - var(--top) - var(--content-top) - 70px - var(--bottom));display:flex;flex-direction:column}
.onboarding .grow{flex:1;display:flex;justify-content:center;flex-direction:column;padding:20px 0 80px}
.onboarding h1{font-size:46px;line-height:1.02}
.onboarding .bottom{padding-bottom:8px}
.onboarding .bottom .link{display:flex;justify-content:center;align-items:center;gap:8px;color:#aaa;margin:14px}
.steps{display:grid;gap:30px;margin:30px 0 40px}
.step{display:flex;gap:20px}
.step .number{font-size:30px;font-weight:300;color:#999;line-height:1.1}
.step .step-copy{flex:1}
.step p{margin-bottom:12px}
.copy-field{padding:17px;border-radius:20px;background:#191919;display:flex;justify-content:space-between;gap:10px;align-items:center;width:100%;text-align:left}
.instruction{background:#161616;border-radius:20px;padding:20px;margin:24px 0;line-height:1.5}
.instruction .icon{width:36px;height:36px;margin-bottom:12px}
.list-space{margin-top:20px}
.chat-shell{padding-left:14px;padding-right:14px;padding-bottom:80px}
.chat-shell .toolbar{margin:0 -2px 5px}
.chat-head{display:flex;gap:12px;align-items:center;padding:3px 0 8px}
.chat-person{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left}
.chat-person .name{font-weight:600;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-person small{font-size:12px;display:block;white-space:nowrap}
.chat-head .icon-button{width:34px;height:36px}
.chat-search{margin:12px 0 20px}
.chat-content{padding-top:6px}
.date-chip{font-size:12px;color:#b9b9b9;text-align:center;margin:19px 0}
.message-line{display:flex;gap:12px;margin-bottom:9px;align-items:center}
.message-line.out{justify-content:flex-end}
.message-line.focus .bubble{outline:1px solid #eee}
.message-wrap{max-width:83%;position:relative;min-width:60px}
.bubble{background:#1a1a1a;border-radius:19px 19px 19px 5px;padding:12px 14px;color:#f3f3f3;overflow-wrap:anywhere;position:relative;text-align:left;display:block;width:100%;white-space:normal}
.out .bubble{background:#3f3f3f;border-radius:19px 19px 5px 19px}
.bubble p{white-space:pre-wrap;font-size:16px;line-height:1.35}
.bubble .meta{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:5px;color:#aaa;font-size:11px;line-height:1.3}
.bubble .clock{margin-left:auto;white-space:nowrap}
.bubble .history-link{color:#aaa;padding:0;font-size:12px}
.bubble.media-bubble{padding:4px;overflow:hidden}
.media-bubble .meta,.media-bubble .caption{padding:5px 9px}
.bubble-img{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:16px}
.bubble-media-button{display:block;width:100%;padding:0;position:relative}
.bubble-media-button .play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#0006;width:55px;height:55px;border-radius:50%;display:grid;place-items:center}
.play-overlay .icon{fill:#fff;stroke-width:1;width:26px;height:26px}
.circle-note{width:180px;height:180px;border-radius:50%;overflow:hidden;position:relative;margin:10px 0 3px;background:#222}
.circle-note video,.circle-note img{width:100%;height:100%;object-fit:cover}
.circle-note .play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.circle-note .duration{position:absolute;bottom:12px;right:24px;background:#0008;border-radius:12px;padding:2px 6px;font-size:11px}
.circle-deleted{font-size:11px;color:#999;padding-left:14px;margin-top:5px}
.voice-inline{display:flex;gap:10px;align-items:center;min-width:240px;padding:0}
.voice-play{width:42px;height:42px;border-radius:50%;background:#4a4a4a;display:grid;place-items:center;flex:none}
.voice-play .icon{width:22px;height:22px;fill:currentColor;stroke-width:1}
.wave{height:30px;flex:1;display:flex;gap:2px;align-items:center;overflow:hidden;min-width:30px}
.wave i{height:6px;min-width:2px;border-radius:2px;background:#888}
.voice-duration{font-size:12px;color:#aaa}
.document-bubble{display:flex;gap:12px;align-items:center}
.document-bubble .icon{width:30px;height:30px}
.readonly{position:fixed;bottom:calc(17px + var(--bottom) + var(--content-bottom));left:50%;transform:translateX(-50%);font-size:13px;color:#888;pointer-events:none;background:#030303d9;padding:7px 20px;border-radius:18px}
.older{display:flex;justify-content:center;margin:8px 0 16px}
.older button{font-size:12px;background:#1a1a1a;border-radius:18px;color:#aaa;padding:9px 16px}
.selection-circle{width:23px;height:23px;border:0;border-radius:50%;flex:none;display:grid;place-items:center;padding:0}
.selection-circle.checked{background:#fff;color:#000;border-color:white}
.selection-circle .icon{width:16px;height:16px}
.selecting .message-wrap{max-width:calc(100% - 40px)}
.selection-header{display:flex;justify-content:space-between;align-items:center;min-height:55px}
.selecting .out{justify-content:flex-start}
.bottom-actions{position:fixed;bottom:calc(15px + var(--bottom) + var(--content-bottom));left:50%;transform:translateX(-50%);max-width:560px;width:calc(100% - 40px);min-height:60px;background:rgba(29,29,29,.97);border:0;border-radius:34px;z-index:23;display:flex;align-items:center;justify-content:center;padding:7px;gap:0;backdrop-filter:none}
.bottom-actions button{padding:8px 13px;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;font-size:13px;min-height:39px}
.bottom-actions button+button{border-left:1px solid #393939}
.bottom-actions .counter{flex:1;text-align:center;font-size:12px}
.bottom-actions .icon-button{flex:none;width:43px;padding:8px}
.profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:15px 0 12px;gap:8px}
.profile-hero h1{font-size:38px;margin:0}
.profile-hero p{font-size:13px;color:#aaa}
.shortcuts{display:flex;gap:20px;justify-content:center;margin:6px 0 22px}
.shortcuts button{background:#171717;border-radius:35px;width:110px;min-height:69px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:13px}
.media-tabs{gap:6px}
.media-tabs .chip{padding:0 13px;font-size:13px;flex:1}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 -10px 22px}
.media-tile{aspect-ratio:1;position:relative;padding:0;background:#151515;border-radius:2px;overflow:hidden}
.media-tile img{width:100%;height:100%;object-fit:cover}
.media-tile>.icon{position:absolute;inset:0;margin:auto;color:#555}
.media-tile .duration{position:absolute;left:8px;bottom:7px;display:flex;gap:4px;align-items:center;font-size:11px;text-shadow:0 1px 3px #000;background:#0003;border-radius:12px;padding:2px 3px}
.duration .icon{width:13px;height:13px;fill:white;stroke-width:1}
.once-badge{position:absolute;right:8px;bottom:8px;background:#eee;border-radius:12px;color:#111;font-size:10px;padding:3px 6px;display:flex;gap:3px;align-items:center}
.once-badge .icon{width:13px;height:13px}
.voice-row{display:flex;align-items:center;gap:14px;padding:14px 0;width:100%;text-align:left}
.voice-row .voice-copy{flex:1;min-width:0}
.voice-row .name{font-size:17px;font-weight:600;margin-bottom:5px}
.voice-row .voice-inline{min-width:0;gap:9px}
.voice-row .voice-play{width:35px;height:35px}
.voice-row small{font-size:12px;display:block;margin-top:5px}
.file-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:18px 0;border-bottom:1px solid #202020}
.file-symbol{display:grid;place-items:center;background:#161616;width:49px;height:49px;border-radius:50%;flex:none}
.file-symbol .icon{width:27px;height:27px}
.file-copy{flex:1;min-width:0}
.file-copy strong{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-copy small{display:block;font-size:12px;margin-top:5px}
.viewer{max-width:600px;margin:0 auto;min-height:100dvh;padding:calc(var(--top) + var(--content-top) + 10px) 16px calc(100px + var(--bottom) + var(--content-bottom));display:flex;flex-direction:column}
.viewer-head{display:flex;align-items:center;gap:10px;min-height:62px}
.viewer-head .viewer-peer{flex:1;min-width:0}
.viewer-head strong{font-size:16px}
.viewer-head small{display:block;font-size:12px}
.viewer-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:55dvh;padding:30px 0 10px}
.viewer-stage img.full{width:calc(100% + 32px);max-height:67dvh;object-fit:contain}
.viewer-stage video.full{width:calc(100% + 32px);max-height:66dvh}
.viewer-stage video.round{width:min(88vw,450px);height:min(88vw,450px);border-radius:50%;object-fit:cover}
.viewer-stage .large-voice{width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}
.large-voice>.avatar{width:164px;height:164px;font-size:52px}
.large-voice h2{font-size:27px;max-width:250px;text-align:center}
.large-voice .wave{width:100%;flex:none;height:54px;justify-content:center;gap:3px}
.large-voice .wave i{width:3px}
.play-controls{display:flex;align-items:center;justify-content:space-between;width:92%;margin:10px 0}
.big-play{width:66px;height:66px;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center}
.big-play .icon{width:29px;height:29px;fill:currentColor}
.speed,.volume{background:#191919;border-radius:30px;padding:8px 14px;font-size:14px}
.seek{width:100%;accent-color:#eee;height:3px;margin:15px 0}
.media-time{font-size:13px;color:#aaa}
.viewer-caption{text-align:center;margin:20px 0 0;font-size:12px;color:#aaa}
.viewer .empty{padding:40px 10px}
.overlay-backdrop{position:fixed;inset:0;background:#0008;z-index:50;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:none}
.sheet{position:relative;width:100%;max-width:600px;background:#171717;border:0;border-bottom:0;border-radius:25px 25px 0 0;max-height:88dvh;overflow-y:auto;padding:29px 20px calc(20px + var(--bottom) + var(--content-bottom));animation:none;box-shadow:none}
.sheet:before{content:"";height:4px;width:40px;background:#777;border-radius:4px;position:absolute;top:10px;left:calc(50% - 20px)}
.sheet-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.sheet-header h2{flex:1;padding-top:4px}
.sheet-header .icon-button{margin-top:-3px}
.sheet>p{line-height:1.5;color:#aaa}
.sheet .card{background:#232323}
.sheet .chip{background:#242424}
.sheet .chip.active{background:#fafafa;color:#111}
.sheet .row{padding-left:15px;padding-right:15px}
.sheet .primary{margin-top:20px}
.sheet .secondary,.sheet .destructive{margin-top:10px}
.sheet .message-preview{background:#333;border-radius:18px;padding:14px;max-width:85%;font-size:14px;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}
.timeline{margin:16px 0 0 8px}
.history-item{border-left:1px solid #444;padding:0 0 25px 26px;position:relative}
.history-item:before{content:"";width:10px;height:10px;border:2px solid #888;border-radius:50%;position:absolute;left:-7px;top:4px;background:#222}
.history-item:first-child:before{background:#fff;border-color:#bbb}
.history-item:last-child{border-color:transparent;padding-bottom:0}
.history-item .version-label{color:#aaa;font-size:13px;margin-bottom:8px}
.history-item .version-text{padding:12px 14px;border-radius:16px 16px 16px 4px;background:#333;white-space:pre-wrap;font-size:15px}
.history-item:first-child .version-text{background:#fbfbfb;color:#111}
.history-item .version-media{width:100%;max-height:150px;object-fit:cover;border-radius:10px;margin-top:8px}
.toggle{width:44px;height:27px;background:#474747;border-radius:20px;padding:3px;display:block}
.toggle:before{content:"";display:block;width:21px;height:21px;border-radius:50%;background:#aaa;transition:.15s}
.toggle.on{background:#ddd}
.toggle.on:before{transform:translateX(17px);background:#fff;box-shadow:none}
.progress{background:#4b4b4b;border-radius:20px;height:5px;overflow:hidden;margin:26px 0 10px}
.progress>span{display:block;background:#eee;height:100%;border-radius:20px;transition:width .3s}
.progress-label{text-align:right;font-size:14px}
.result-symbol{display:grid;place-items:center;width:58px;height:58px;border:0;border-radius:50%;margin:15px auto 20px}
.result-symbol .icon{width:31px;height:31px}
.sheet.result{text-align:center}
.sheet.result h2{font-size:30px;max-width:310px;margin:0 auto 12px}
.sheet.result .card{text-align:left}
.confirm-input{border:0;border-radius:15px;padding:14px 16px;width:100%;margin:22px 0 6px;background:#111}
.storage-total{font-size:44px;font-weight:750;letter-spacing:-1.5px;margin:20px 0 0}
.storage-caption{font-size:14px;color:#aaa}
.storage-bar{height:25px;display:flex;border-radius:16px;overflow:hidden;background:#202020;margin:22px 0 14px}
.storage-bar i{min-width:0;display:block}
.storage-legend{display:flex;justify-content:space-between;font-size:11px;color:#aaa;gap:5px;margin-bottom:28px}
.storage-legend b{font-weight:400;display:block;margin-top:5px;padding-left:13px}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px}
.help-item{border-bottom:1px solid #252525}
.help-item .row{padding:20px 0}
.help-answer{color:#aaa;font-size:14px;line-height:1.5;padding:0 0 22px 42px}
.principle{display:flex;align-items:flex-start;gap:20px;padding:27px 0;border-bottom:1px solid #222}
.principle>.icon{width:30px;height:30px}
.principle p{color:#aaa;font-size:14px;margin-top:7px;line-height:1.5}
.help-visual{display:flex;gap:12px;align-items:center;margin:28px 0}
.blur-media{width:150px;height:150px;background:#242424;border-radius:17px;position:relative;display:grid;place-items:center}
.blur-media>.icon{width:45px;height:45px;color:#aaa}
.help-visual p{font-size:12px;color:#aaa;max-width:110px}
.recents .row{padding:15px 0;min-height:65px}
.recents .file-symbol{width:43px;height:43px}
.recents .row .row-copy{font-size:16px}
.search-count{font-size:12px;color:#aaa;margin:25px 0 12px;text-transform:uppercase;letter-spacing:.5px}
mark{background:none;color:#fff;font-weight:700}
.search-result{display:flex;gap:14px;padding:15px 0;width:100%;text-align:left}
.search-result .avatar{width:55px;height:55px;font-size:22px}
.search-result .result-copy{flex:1;min-width:0}
.search-result .result-text{font-size:13px;color:#aaa;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.skeleton{display:flex;align-items:center;gap:15px;min-height:85px}
.skeleton .circle{width:58px;height:58px;border-radius:50%;background:#242424;flex:none}
.skeleton .bars{flex:1}
.skeleton .bar{height:13px;border-radius:20px;background:#2a2a2a;margin:9px 0}
.skeleton{animation:pulse 1.5s ease-in-out infinite}
#toast{display:none;position:fixed;left:50%;transform:translateX(-50%);bottom:calc(104px + var(--bottom) + var(--content-bottom));z-index:90;max-width:560px;width:calc(100% - 40px);padding:13px 16px;background:#272727;box-shadow:none;border-radius:17px;font-size:13px;align-items:center;gap:10px}
#toast.visible{display:flex}
#toast .icon{width:20px;height:20px}
#toast span{flex:1}
#toast button{display:flex;padding:0}
.spinner{display:inline-block;width:30px;height:30px;border:2px solid #444;border-top-color:#eee;border-radius:50%;animation:spin .85s linear infinite}
.loading-label{display:flex;align-items:center;gap:9px;justify-content:center;font-size:12px;color:#aaa}
.loading-label .spinner{width:20px;height:20px}
audio{max-width:100%}
.offscreen-audio{display:none}
.external-profile{margin:12px 0}
.error-note{font-size:13px;color:#aaa;margin-top:15px;max-width:300px;text-align:center}
.viewer-stage .empty{min-height:0}
.more-button{background:#161616;border-radius:20px;padding:12px;width:100%;font-size:13px;color:#aaa;margin:10px 0 15px}
.chat-shell .chips{margin-top:8px;margin-bottom:8px}
.voice-wave-progress i{background:#eee}
.period-select{background:#292929;color:#eee;border:0;max-width:140px;padding:5px 2px;font-size:14px}
.support-copy{white-space:pre-wrap;background:#111;padding:15px;border-radius:15px;font-size:12px;color:#aaa;margin:18px 0}
.loader-shield{pointer-events:none}
.file-loading{width:100%;aspect-ratio:1;background:#151515;display:flex;align-items:center;justify-content:center;color:#777;border-radius:16px}
.photo-counter{margin-top:26px;color:#bbb;font-size:13px}
.gallery-arrows{display:flex;justify-content:space-between;width:100%;margin-top:14px}
.gallery-arrows button{font-size:13px;display:flex;align-items:center;gap:8px;padding:8px}
.hidden{display:none!important}

@keyframes spin{to{transform:rotate(360deg)}
}
@keyframes pulse{50%{opacity:.45}
}
@keyframes sheet-in{from{transform:translateY(35px);opacity:.6}
to{transform:translateY(0);opacity:1}
}

@media(min-width:650px){.shell,.viewer{border-left:1px solid #181818;border-right:1px solid #181818}
.nav{max-width:560px}
.overlay-backdrop{background:#000b}
.sheet{margin:0 auto}
}
@media(max-width:360px){h1{font-size:37px}
.shell{padding-left:16px;padding-right:16px}
.chip{font-size:12px;padding:0 12px}
.dialog-row{gap:12px}
.avatar{width:57px;height:57px}
.voice-inline{min-width:210px}
.media-tabs .chip{padding:0 9px;font-size:12px}
.onboarding h1{font-size:41px}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}
}


/* Alo 8.0 — quiet surfaces and a shared motion language. */
:root{--bg:#030303;--panel:#141414;--sheet:#191919;--ease:cubic-bezier(.22,1,.36,1);--quick:150ms;--normal:240ms;--slow:320ms}
body{overflow-x:hidden}button,a,input,select,textarea{transition:background-color var(--quick) ease,color var(--quick) ease,opacity var(--quick) ease,transform var(--normal) var(--ease)}
button:active,a.primary:active,a.secondary:active{transform:scale(.985)}
.icon-button:active{transform:scale(.92);background:#202020}.nav button:active,.chip:active{transform:scale(.97)}
button:disabled{transition:opacity var(--normal) ease}.shell{padding-top:calc(var(--top) + var(--content-top) + 17px);padding-bottom:calc(92px + var(--bottom) + var(--content-bottom));background:#030303}
h1{font-size:38px;line-height:1.06;letter-spacing:-1.3px;margin:12px 0 23px}.title-row h1{margin-top:12px}.toolbar{display:none}
.nav{height:60px;width:calc(100% - 40px);max-width:390px;padding:4px;bottom:calc(12px + var(--bottom) + var(--content-bottom));background:#151515;border:0;border-radius:32px;box-shadow:none;isolation:isolate}
.nav button{position:relative;z-index:1;height:52px;border-radius:27px;font-size:10px;gap:3px;color:#969696;background:none;transition:color 180ms ease,transform 180ms var(--ease)}
.nav button.active{background:none;color:#f6f6f6}.nav .icon{width:21px;height:21px;stroke-width:1.65}
.nav-cursor{position:absolute;left:4px;top:4px;width:calc((100% - 8px)/3);height:52px;border-radius:27px;background:#303030;transform:translateX(calc(var(--tab-index)*100%));transition:transform var(--slow) var(--ease);pointer-events:none;z-index:0}
.chips{position:relative;isolation:isolate;gap:0;background:#111;border-radius:24px;padding:4px;min-height:44px;margin:13px 0 18px;--count:3;--selected:0}
.chips .chip{z-index:1;position:relative;flex:1;min-height:36px;background:none;color:#939393;padding:0 10px;font-size:13px;transition:color 180ms ease,transform var(--quick) var(--ease)}
.chips .chip.active,.sheet .chips .chip.active{background:none;color:#f6f6f6}.chip-cursor{position:absolute;left:4px;top:4px;height:calc(100% - 8px);width:calc((100% - 8px)/var(--count));border-radius:21px;background:#383838;transform:translateX(calc(var(--selected)*100%));transition:transform var(--slow) var(--ease);pointer-events:none;z-index:0}
.sheet .chips{background:#222}.sheet .chip{background:none}.sheet .export-formats .chip-cursor{background:#f3f3f3}.sheet .export-formats .chip.active{color:#111}.media-tabs .chip{font-size:12px;padding:0 6px}
.card{border:0;box-shadow:none;background:#141414;border-radius:19px}.connection-card{width:100%;display:flex;align-items:center;gap:13px;padding:19px 17px;text-align:left;margin:16px 0 22px}
.connection-symbol{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#232323;flex:none}.connection-symbol .icon{width:24px;height:24px;stroke-width:1.7}
.connection-copy{min-width:0;flex:1}.connection-copy strong{display:block;font-size:16px;font-weight:600;line-height:1.3}.connection-copy small{display:block;font-size:13px;line-height:1.3;color:#8b8b8b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}
.connection-end{display:flex;color:#777;flex:none}.connection-end .icon{width:18px;height:18px}.connection-card .symbol{display:none}
.row{min-height:62px;padding:17px 17px;gap:14px;font-size:15px}.row+.row{border-top:1px solid #202020}.row>.icon:first-child{width:22px;height:22px;stroke-width:1.65}.row .end{font-size:13px;color:#8b8b8b}.row .end .icon{width:16px;height:16px}
.search{height:44px;background:#181818}.avatar{background:#242424}.avatar img,.media-tile img,.bubble-img{opacity:0;transition:opacity 260ms ease}.avatar img.image-ready,.media-tile img.image-ready,.bubble-img.image-ready{opacity:1}.image-unavailable{opacity:0!important}
.dialog-row{min-height:81px;gap:14px}.dialog-row>.avatar{width:59px;height:59px;font-size:22px}.dialog-name{font-size:17px}.preview{font-size:13px}.dialog-copy{padding-bottom:13px}.title-row>.icon-button{margin-top:-8px}
.primary,.secondary,.destructive{min-height:51px;border-radius:17px;font-size:15px}.primary:active{background:#dedede}.secondary:active{background:#303030}.shortcuts button{min-height:64px;background:#151515}
.chat-head{padding:5px 2px 12px;gap:10px}.chat-head .chat-person{min-width:0}.chat-person>span:last-child{min-width:0;display:block}.chat-shell{padding-top:calc(var(--top) + var(--content-top) + 10px)}.chat-person .name{font-size:17px;display:block}.chat-person small{font-size:12px}.chat-content{overflow-anchor:none}.bubble{transition:background-color var(--normal) ease}.message-line.focus .bubble{outline:0;background:#333}.selection-circle{border:1px solid #777;transition:background-color 160ms ease,border-color 160ms ease,transform 180ms var(--ease)}
.bottom-actions{min-height:54px;padding:5px;border:0;box-shadow:none;background:#1a1a1a;border-radius:29px;bottom:calc(12px + var(--bottom) + var(--content-bottom));max-width:380px}.bottom-actions button{font-size:12px;min-height:38px}.bottom-actions button+button{border-left:1px solid #303030}.readonly{bottom:calc(16px + var(--bottom) + var(--content-bottom));font-size:12px}
.viewer{padding-top:calc(var(--top) + var(--content-top) + 10px);background:#030303}.viewer-head{padding:0 3px;gap:11px}.viewer-stage{min-height:60dvh}.viewer-head>.icon-button{display:none}
.overlay-backdrop{background:rgba(0,0,0,.52);backdrop-filter:none;opacity:0;transition:opacity 220ms ease}.overlay-backdrop.is-open{opacity:1}.overlay-backdrop.is-closing{opacity:0;pointer-events:none}
.sheet{background:#191919;border:0;box-shadow:none;border-radius:25px 25px 0 0;animation:none;transform:translateY(100%);transition:transform 320ms var(--ease);padding:27px 20px calc(18px + var(--bottom) + var(--content-bottom));overscroll-behavior:contain}
.is-open>.sheet{transform:translateY(0)}.is-closing>.sheet{transform:translateY(100%);transition-duration:230ms}.sheet::before{width:33px;height:4px;left:calc(50% - 16.5px);top:9px;background:#656565}.sheet-header{margin-bottom:15px;gap:10px}.sheet-header h2{font-size:26px;line-height:1.1;letter-spacing:-.7px}.sheet-header .icon-button{width:32px;height:32px;color:#aaa}.sheet-header .icon-button .icon{width:21px;height:21px}.sheet .card{background:#232323}.sheet .primary{margin-top:18px}.sheet-body>.primary,.sheet-body>.secondary,.sheet-body>.destructive{width:100%}.sheet-body>.secondary,.sheet-body>.destructive{margin-top:10px}.sheet-body>p{color:#aaa;line-height:1.5}.sheet.result h2{font-size:28px}
.result-symbol{border:0;background:#242424;width:54px;height:54px}.confirm-input{border:0;background:#111;transition:background-color 160ms ease}.confirm-input:focus{background:#0c0c0c;outline:1px solid #555}.toggle{transition:background-color 180ms ease}.toggle:before{transition:transform 230ms var(--ease),background-color 180ms ease;box-shadow:none}.toggle.on:before{box-shadow:none}.progress>span{transition:width 450ms var(--ease)}
.help-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 260ms var(--ease),opacity 200ms ease}.help-reveal>div{overflow:hidden;min-height:0}.help-item[data-open="true"] .help-reveal{grid-template-rows:1fr;opacity:1}.help-chevron{display:flex;transition:transform 230ms var(--ease);color:#888}.help-item[data-open="true"] .help-chevron{transform:rotate(-90deg)}.help-item .row{transition:color 180ms ease}.history-item .version-text{transition:background-color 180ms ease}.history-item:first-child:before{border-color:#b0b0b0}.instruction,.copy-field{background:#161616}
#toast{display:flex;opacity:0;visibility:hidden;transform:translate(-50%,8px);bottom:calc(85px + var(--bottom) + var(--content-bottom));background:#242424;box-shadow:none;border:0;transition:opacity 210ms ease,transform 260ms var(--ease),visibility 210ms step-end;pointer-events:none;font-size:12px}
#toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0);pointer-events:auto;transition:opacity 210ms ease,transform 260ms var(--ease),visibility 0ms}
.route-ghost{contain:paint;background:#030303}.accessory-exit{pointer-events:none}.boot{animation:answer-in 260ms ease}.onboarding h1{font-size:43px}.onboarding{min-height:calc(100dvh - var(--top) - var(--content-top) - 35px - var(--bottom))}
@keyframes answer-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:650px){.shell,.viewer{border:0}.nav{max-width:390px}.overlay-backdrop{background:rgba(0,0,0,.6)}}
@media(max-width:360px){h1{font-size:34px}.connection-card{padding:17px 14px;gap:11px}.connection-copy strong{font-size:15px}.nav{width:calc(100% - 28px)}.media-tabs .chip{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Alo 9.0 — the archive begins with search, without section mastheads. */
:root{--bg:#000;--field:#19191b}
.shell,.viewer,.route-ghost{background:#000}
.home-search{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;height:42px;padding:0 18px;border-radius:25px;background:#19191b;color:#7e858e;font-size:16px;font-weight:400}
.home-search .icon{width:21px;height:21px;stroke-width:1.8}
.home-search:active{background:#232325;transform:scale(.99)}
.home-shell .chips{min-height:41px;margin:12px 0 16px;background:#171719}
.home-shell .chips .chip{min-height:33px;font-size:14px;color:#b0b7c0}
.home-shell .chip-cursor{background:#303032}
.home-shell .chips .chip.active{color:#fafafa;font-weight:600}
.avatar{background:var(--avatar-color,#242424);color:#fff}
.home-shell .dialog-row{min-height:70px;gap:13px;padding:0}
.home-shell .dialog-row>.avatar{width:54px;height:54px;font-size:23px}
.home-shell .dialog-copy{padding:13px 0;border-bottom-color:#151515}
.home-shell .dialog-top{margin-bottom:4px;gap:8px}
.home-shell .dialog-name{font-size:16px;line-height:21px;font-weight:500}
.home-shell .preview{font-size:13px;line-height:18px;color:#b0b7c0}
.home-shell .date{font-size:12px;color:#b0b7c0}
.nav{width:calc(100% - 32px);background:#19191b}
.nav button{font-size:11px;color:#b0b7c0}
.nav .icon{width:22px;height:22px}
.nav-cursor{background:#303032}
.connection-card:first-child{margin-top:0}
.shell>.card:first-child{margin-top:0}
.shell>.help-list:first-child .help-item:first-child{border-top:0}
@media(max-width:360px){.home-shell{padding-left:16px;padding-right:16px}.home-shell .dialog-row{gap:11px}.home-shell .dialog-row>.avatar{width:50px;height:50px}.home-shell .dialog-name{font-size:15px}.home-shell .preview{font-size:12px}.home-shell .date{font-size:11px}}

/* Library 11 — plain surfaces, a white tab, and an edge-to-edge media grid. */
.library-nav{height:66px;padding:6px;width:calc(100% - 28px);max-width:400px;border-radius:36px;background:#18181a;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:hidden}
.library-nav .nav-cursor{left:6px;top:6px;height:54px;width:calc((100% - 12px)/3);border-radius:30px;background:#fafafa;box-shadow:none;transition:transform 300ms var(--ease)}
.library-nav button{height:54px;border-radius:30px;font-size:11px;line-height:14px;gap:2px;color:#98999f;font-weight:400}
.library-nav button.active{color:#111;background:none;font-weight:500}
.library-nav button:active{transform:scale(.97)}
.library-nav-symbol{display:flex;width:32px;height:32px;align-items:center;justify-content:center;pointer-events:none}
.library-nav-symbol>.icon{width:27px;height:27px;stroke-width:1.65}
.library-photos .photo-card{fill:none;stroke:currentColor;stroke-width:1.65}
.library-photos .photo-detail{fill:currentColor;stroke:none}
.library-nav .active .photo-card{fill:currentColor}
.library-nav .active .photo-detail{fill:#fafafa}
.library-chats .chat-front{fill:currentColor;stroke:currentColor}
.library-chats .chat-back{fill:none;stroke:currentColor}
.library-avatar{width:30px;height:30px;font-size:11px;line-height:1}
.media-shell{padding-left:12px;padding-right:12px;padding-top:calc(var(--top) + var(--content-top) + 10px);padding-bottom:calc(98px + var(--bottom) + var(--content-bottom))}
.media-shell .home-search{height:42px;background:#1b1b1d;color:#8e8e93}
.media-shell .search{height:42px;background:#1b1b1d}
.media-shell .searchbar{height:42px;margin-bottom:0}
.library-media-tabs{display:flex;position:relative;gap:0;margin:14px 0 15px;padding:0 0 9px;background:none;border-radius:0;min-height:49px;font-size:14px}
.library-media-tabs>button{flex:1;min-width:0;min-height:40px;padding:0 3px;font-size:13px;line-height:18px;color:#8e8e93;white-space:nowrap;font-weight:400;background:none;border-radius:0;transition:color 200ms ease}
.library-media-tabs>button.active{color:#fafafa;font-weight:600}
.media-tab-indicator{position:absolute;left:0;bottom:0;width:25%;height:2px;pointer-events:none;transform:translateX(calc(var(--media-index)*100%));transition:transform 280ms var(--ease)}
.media-tab-indicator>i{position:absolute;left:50%;width:var(--underline-width,34px);height:2px;border-radius:1px;background:#f8f8f8;transform:translateX(-50%);transition:width 280ms var(--ease)}
.library-month{margin-bottom:23px}
.library-month-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:0 2px;margin:0 0 6px}
.library-month+.library-month .library-month-header{margin-top:18px}
.library-month-header h2{font-size:16px;line-height:22px;font-weight:650;letter-spacing:-.25px;margin:0}
.library-month-select{padding:7px 0 7px 12px;min-height:44px;font-size:13px;line-height:18px;color:#ededee;white-space:nowrap}
.media-shell .media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 -2px}
.media-shell .media-tile{aspect-ratio:1;border-radius:3px;background:#19191b;isolation:isolate;transition:background-color 180ms ease}
.media-shell .media-tile img{display:block;transition:opacity 260ms ease,transform 230ms var(--ease),border-radius 230ms var(--ease)}
.media-shell .media-tile.is-picked img{transform:scale(.94);border-radius:5px}
.media-selection-mark{position:absolute;right:7px;top:7px;z-index:2;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(10,10,10,.28);border:1.5px solid rgba(255,255,255,.9);pointer-events:none;transition:background-color 170ms ease,border-color 170ms ease}
.media-selection-mark.checked{background:#fafafa;border-color:#fafafa;color:#111}
.media-selection-mark>.icon{width:15px;height:15px;stroke-width:2}
.library-selection-head{height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}
.library-selection-head button{min-height:42px;padding:0 12px 0 0;font-size:14px}
.library-selection-head>span{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.library-selection-actions{max-width:400px;width:calc(100% - 28px);min-height:56px;padding:5px;background:#19191b}
.library-selection-actions button{font-size:12px;min-height:44px;gap:6px}
.library-selection-actions .icon{width:20px;height:20px}
.library-selectable-row{position:relative;text-align:left;width:100%;border-radius:12px}
.library-selectable-row.is-picked{background:#18181a}
.library-selectable-row .media-selection-mark{position:relative;right:auto;top:auto;flex:none;margin-right:3px}
.library-media-list .file-copy{min-width:0}
.library-media-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:20px -2px}
.library-media-skeleton>span{display:block;aspect-ratio:1;border-radius:3px;background:#18181a;animation:library-loading 1.3s ease-in-out infinite alternate}
@keyframes library-loading{from{opacity:.55}to{opacity:1}}
@media(max-width:360px){.media-shell{padding-left:10px;padding-right:10px}.library-media-tabs>button{font-size:12px}.library-month-header h2{font-size:15px}.library-month-select{font-size:12px}.library-nav button{font-size:10px}.library-selection-actions button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.library-nav .nav-cursor,.media-tab-indicator,.media-tab-indicator>i,.media-selection-mark,.media-shell .media-tile img{transition:none}.library-media-skeleton>span{animation:none}}

/* Reference measurements: 75px rail, 63px capsule, 36% active slot. */
.library-nav{height:75px;padding:6px 8px;width:calc(100% - 26px);max-width:574px;border-radius:39px}
.library-nav .nav-cursor{left:8px;top:6px;height:63px;width:calc((100% - 16px)*.36);border-radius:33px;transform:translateX(calc(var(--tab-index)*88.88888889%))}
.library-nav>button{flex:1 1 0;min-width:0;height:63px;padding:0;border-radius:33px;font-size:13px;line-height:18px;gap:1px;transition:flex-grow 300ms var(--ease),color 170ms ease,transform 180ms var(--ease)}
.library-nav>button.active{flex-grow:1.125;font-weight:500}
.library-nav-symbol{height:38px;width:40px}
.library-nav-symbol>.icon{width:36px;height:36px;stroke-width:1.8}
.library-avatar{width:37px;height:37px;font-size:13px}
.shell:not(.chat-shell){padding-bottom:calc(105px + var(--bottom) + var(--content-bottom))}
.library-media-tabs{height:44px;min-height:44px;padding:0;margin:14px 0 6px;align-items:flex-start}
.library-media-tabs>button{height:40px;min-height:40px;font-size:15px;line-height:20px}
.media-tab-indicator{bottom:4px}
.library-month{display:flow-root;margin-bottom:16px}
.library-month-header{height:36px;min-height:36px;margin:0;padding:0 2px}
.library-month+.library-month .library-month-header{margin-top:0}
.library-month-header h2{font-size:19px;line-height:24px;font-weight:700;letter-spacing:-.3px}
.library-month-select{min-height:36px;padding:8px 0 8px 12px;font-size:16px;line-height:20px;font-weight:600}
.library-selection-actions{max-width:574px;width:calc(100% - 26px);min-height:60px}
.library-selection-actions button{font-size:14px}
.media-placeholder{position:absolute;inset:0;z-index:0;display:grid;place-items:center;color:#555;pointer-events:none}
.media-placeholder>.icon{width:24px;height:24px}
.media-shell .media-tile>img{position:relative;z-index:1}
.media-shell .media-tile>.duration,.media-shell .media-tile>.once-badge{z-index:2}
.media-shell .media-tile>.media-selection-mark{z-index:3}
.media-tile>img.image-ready~.media-placeholder{display:none}
.avatar img.image-cached,.bubble-img.image-cached{opacity:1;transition:none}
.media-tile img.image-cached{opacity:1;transition:transform 230ms var(--ease),border-radius 230ms var(--ease)}
.search-navigation-hidden #navigation-host{display:none!important}
@media(max-width:360px){.library-nav>button{font-size:12px}.library-media-tabs>button{font-size:14px}.library-month-header h2{font-size:18px}.library-month-select{font-size:15px}}
@media(prefers-reduced-motion:reduce){.library-nav>button{transition:none}}

/* Menu 12.0.1 — compact rail, previous dark selected surface. */
.library-nav{height:64px;padding:5px 6px;border-radius:34px}
.library-nav .nav-cursor{left:6px;top:5px;height:54px;width:calc((100% - 12px)*.36);border-radius:29px;background:#303032}
.library-nav>button{height:54px;border-radius:29px;font-size:12px;line-height:16px;gap:1px}
.library-nav>button.active{color:#f6f6f6;font-weight:500}
.library-nav-symbol{height:30px;width:32px}
.library-nav-symbol>.icon{height:28px;width:28px;stroke-width:1.7}
.library-avatar{height:29px;width:29px;font-size:11px}
.library-nav .active .photo-detail{fill:#303032}
.shell:not(.chat-shell){padding-bottom:calc(94px + var(--bottom) + var(--content-bottom))}

/* Stable navigation columns: only the background changes its position. */
.library-nav{height:68px;padding:2px;border-radius:36px}
.library-nav .nav-cursor{left:2px;top:2px;height:64px;width:calc((100% - 4px)/3);border-radius:34px;transform:translateX(calc(var(--tab-index)*100%));background:#303032;transition:transform 280ms var(--ease)}
.library-nav>button,.library-nav>button.active{flex:1 1 0;height:64px;padding:0;font-size:12px;line-height:16px;font-weight:500;border-radius:34px;transform:none;transition:color 170ms ease}
.library-nav>button:active{transform:none}
.library-nav-symbol{width:32px;height:30px}
.library-nav-symbol>.icon{width:28px;height:28px}
.library-avatar{width:29px;height:29px}
.shell:not(.chat-shell){padding-bottom:calc(98px + var(--bottom) + var(--content-bottom))}
.library-month-select{font-size:14px;line-height:20px;font-weight:600}
.library-month-header{margin-bottom:10px}
.search-transition{position:relative;isolation:isolate}
.search-morph-surface{display:none;position:absolute;left:0;top:0;z-index:0;border-radius:26px;background:#181818;pointer-events:none}
.media-shell .search-morph-surface{background:#1b1b1d}
.search-transition.search-opening>.search-morph-surface{display:block}
.search-transition>.search,.search-transition>.cancel{position:relative;z-index:1}
.search-transition.search-opening>.search{background:transparent;overflow:hidden}
@media(max-width:360px){.library-nav>button,.library-nav>button.active{font-size:12px}.library-month-select{font-size:14px}}
@media(prefers-reduced-motion:reduce){.library-nav .nav-cursor{transition:none}}

.search-return-overlay{position:fixed;inset:0;z-index:35;pointer-events:none;overflow:hidden}
.search-return-overlay>.icon{stroke-width:1.8}
.search-is-returning .home-search{visibility:hidden}
.dialog-pager{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom;transition:height 260ms var(--ease);contain:paint}
.dialog-pager-track{display:flex;align-items:flex-start;width:100%;transform:translate3d(calc(var(--dialog-position,0)*-100%),0,0);transition:transform 280ms var(--ease);will-change:transform}
.dialog-page{flex:0 0 100%;min-width:0;overflow:hidden}
.dialog-pager.is-dragging .dialog-pager-track{transition:none}
.home-shell>.chips.is-dragging .chip-cursor{transition:none}
.dialog-pager.is-dragging{user-select:none;-webkit-user-select:none}
@media(prefers-reduced-motion:reduce){.dialog-pager,.dialog-pager-track{transition:none}}

/* No locally generated profile pictures. */
.avatar{background:#202022}
.dialog-pager.is-dragging{transition:none}

/* The native Telegram title bar stays outside this page. */
.session-screen-open,.session-screen-open body,.session-screen-open #app{background:#000}
.shell.session-shell{max-width:600px;min-height:var(--tg-viewport-stable-height,100svh);padding:calc(var(--top) + var(--content-top)) 0 calc(var(--bottom) + var(--content-bottom));background:#000}
.session-reconnect{--session-height:calc(var(--tg-viewport-stable-height,100svh) - var(--top) - var(--content-top) - var(--bottom) - var(--content-bottom));text-align:center;min-height:var(--session-height);padding:clamp(36px,calc(var(--session-height)*.175),170px) 0 32px}
.session-signal{width:calc(100% - 72px);max-width:420px;aspect-ratio:512/152;margin:0 auto;pointer-events:none}
.session-signal-vector{display:block;width:100%;height:100%;overflow:visible}
.session-reconnect h1{margin:32px 24px 0;font-size:clamp(28px,7.2vw,34px);line-height:1.08;font-weight:400;letter-spacing:-.8px;color:#f5f5f7}
.session-reconnect p{margin:16px 20px 0;font-size:clamp(15px,4.05vw,18px);line-height:1.44;font-weight:400;letter-spacing:-.18px;color:#919194}
.session-close{display:block;width:calc(100% - 116px);max-width:348px;min-height:49px;margin:24px auto 0;padding:13px 12px;border-radius:15px;background:#242426;color:#f5f5f7;font-size:16px;font-weight:500;line-height:23px;transition:background-color 160ms ease,transform 180ms var(--ease)}
.session-close:active{background:#303033;transform:scale(.985)}
@media(max-width:360px){.session-signal{width:calc(100% - 48px)}.session-close{width:calc(100% - 80px)}.session-reconnect h1{margin-top:28px}.session-reconnect p{margin-left:16px;margin-right:16px}}
@media(max-height:570px){.session-reconnect{padding-top:30px}.session-signal{max-width:280px}.session-reconnect h1{margin-top:22px}.session-reconnect p{margin-top:14px}.session-close{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.session-close{transition:none}}

/* ALO_PREFERENCES_V13 — native-feeling switches, no extra borders or gradients. */
.preferences-page{padding-top:10px;padding-bottom:calc(32px + env(safe-area-inset-bottom));}
.preference-back{display:inline-flex;align-items:center;min-height:42px;padding:0 0 8px;background:none;border:0;color:#bfc1c8;font-size:16px;}
.preferences-label{margin:15px 4px 12px;font-size:16px;font-weight:600;color:#a6a8b0;}
.preference-card{padding:0;overflow:hidden;margin-bottom:16px;}
.preference-toggle,.preference-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:59px;padding:13px 17px;background:transparent;border:0;color:#f3f3f5;text-align:left;font:inherit;font-size:16px;}
.preference-toggle+.preference-toggle,.preference-link+.preference-link{box-shadow:0 -1px 0 #252527;}
.preference-switch{display:block;flex:0 0 43px;width:43px;height:26px;background:#38383c;border-radius:14px;position:relative;transition:background .22s ease;}
.preference-switch::after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#a8a8ae;transform:translateX(0);transition:transform .25s cubic-bezier(.22,1,.36,1),background .22s ease;}
.preference-toggle[aria-checked=true] .preference-switch{background:#eeeef0;}
.preference-toggle[aria-checked=true] .preference-switch::after{background:#202024;transform:translateX(17px);}
.preference-toggle[aria-busy=true]{opacity:.65;}
.preference-link svg{width:18px;height:18px;color:#8d9097;}
.preferences-note{margin:20px 5px;color:#90929b;font-size:13px;line-height:1.55;}
@media(prefers-reduced-motion:reduce){.preference-switch,.preference-switch::after{transition:none;}}


/* ALO_PDF_V16: 440 x 956 design points. Supplied fonts, byte-for-byte. */
@font-face{font-family:'Alo Pixel';src:url('/fonts/AloPixelCyrillicStudy.ttf') format('truetype');font-style:normal;font-weight:400;font-display:block}
@font-face{font-family:'Inter';src:url('/fonts/Inter-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:block}
@font-face{font-family:'Inter';src:url('/fonts/Inter-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:block}
@font-face{font-family:'Inter';src:url('/fonts/Inter-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:block}
/* ALO_REFERENCE_V15 — measured against the supplied 440 pt / 3x screens. */
:root{--fg:#f3f3f2;--muted:#9c9ba3;--panel:#151517;--field:#202023;--alo-pixel:'Alo Pixel',monospace}
body{font-family:'Inter',sans-serif;color:#f3f3f2;font-synthesis:none}
.shell:not(.chat-shell):not(.session-shell){padding-top:calc(var(--top) + var(--content-top) + 24px);padding-bottom:calc(46px + var(--bottom) + var(--content-bottom))}
.reference-home,.reference-settings,.reference-versions{padding-left:20px;padding-right:20px}
.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 18px}
.reference-heading h1{font-family:var(--alo-pixel);font-size:35px;line-height:45px;font-weight:400;margin:0;color:#f3f3f2}
.recent-heading h1{}.settings-heading h1{}
.heading-actions{display:flex;align-items:center;gap:10px;margin-right:-4px}
.reference-heading .icon-button{width:42px;height:42px;padding:9px;transform:none}
.reference-heading .icon{width:24px;height:24px;stroke-width:1.7}
.reference-heading .icon-button:last-child .icon{width:25px;height:25px}
.reference-home>.recent-tabs{display:flex;justify-content:space-between;align-items:center;gap:6px;background:none;border-radius:0;min-height:34px;padding:0;margin:0 0 31px;isolation:isolate}
.reference-home>.recent-tabs .chip{flex:0 1 auto;min-height:34px;height:34px;line-height:24px;font-size:17px;font-weight:400;padding:5px 12px;border-radius:22px;color:#9c9ba3;white-space:nowrap;background:none;transform:none}
.reference-home>.recent-tabs .chip.active{color:#101012;font-weight:400}
.reference-home>.recent-tabs .chip-cursor{left:0;top:0;height:34px;width:var(--recent-width,54px);transform:translateX(var(--recent-x,0px));background:#f3f3f2;border-radius:22px;transition:transform 280ms var(--ease),width 280ms var(--ease)}
.reference-home>.recent-tabs.is-dragging .chip-cursor{transition:none}
.reference-home .dialog-row{min-height:87px;gap:16px;padding:0 0 0 2px;transform:none}
.reference-home .dialog-row>.avatar{width:52px;height:52px}
.reference-home .dialog-copy{padding:14px 0 16px;border-bottom:1px solid #232326;align-self:stretch;justify-content:center}
.reference-home .dialog-top{align-items:center;gap:8px;margin-bottom:6px}
.pixel-name{font-family:var(--alo-pixel);font-size:20px;font-weight:400;line-height:26px;color:#f3f3f2}
.pixel-name.latin-name{}
.reference-home .dialog-name{font-size:20px;font-weight:400;line-height:26px}
.reference-home .preview{font-size:17px;line-height:23px;color:#9c9ba3;display:block}
.reference-home .preview>.icon{width:16px;height:16px;vertical-align:-2px;margin-right:7px;stroke-width:1.5}
.reference-home .date,.featured-edit .date{font-family:inherit;font-size:13px;line-height:18px;color:#9c9ba3;white-space:nowrap;}
.featured-edit{background:#151517;border-radius:27px;padding:14px 20px 18px 10px;margin-bottom:20px;min-height:140px}
.featured-person{display:flex;align-items:flex-start;width:100%;padding:0;gap:16px;text-align:left;transform:none}
.featured-person>.avatar{width:48px;height:48px;flex:none}
.featured-copy{flex:1;min-width:0}
.featured-top{display:flex;align-items:center;gap:10px;min-height:26px;margin-bottom:5px}
.featured-top>.pixel-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.featured-text{display:block;font-size:18px;line-height:24px;overflow-wrap:anywhere}
.featured-before{display:flex;align-items:center;gap:12px;min-height:44px;width:calc(100% - 64px);margin:16px 0 0 64px;padding:10px 12px;background:#202023;border-radius:14px;color:#9c9ba3;font-size:14px;text-align:left}
.featured-before>.icon{width:17px;height:17px;stroke-width:1.5}
.featured-before>.icon:last-child{margin-left:auto;color:#f3f3f2;width:21px;height:21px}
.before-value{font-family:var(--alo-pixel);font-size:20px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.featured-before .before-value{max-width:65%;color:#c1c0c7}
.reference-settings .settings-heading{margin-bottom:23px}
.reference-connection{display:flex;align-items:center;gap:18px;width:100%;padding:0 1px;min-height:60px;margin:0 0 40px;background:none;border:0;border-radius:0;text-align:left;transform:none}
.reference-connection .connection-symbol{width:54px;height:54px;background:#202023;border-radius:50%;display:grid;place-items:center;flex:none}
.alo-symbol>span{font-family:var(--alo-pixel);font-size:33px;line-height:44px;font-weight:400;transform:translateY(-2px);color:#f3f3f2}
.reference-connection .connection-copy{min-width:0;flex:1}
.reference-connection .connection-copy strong{font-family:var(--alo-pixel);font-size:20px;line-height:27px;font-weight:400;}
.reference-connection .connection-copy small{font-size:16px;line-height:22px;color:#9c9ba3;margin-top:3px}
.reference-connection .connection-end>.icon{width:19px;height:19px;color:#9c9ba3}
.reference-archive-card{overflow:hidden;border-radius:27px;background:#151517;margin:0}
.archive-overview{display:block;width:100%;padding:22px 22px 22px;text-align:left;transform:none}
.archive-card-title{display:flex;align-items:center;gap:12px;font-family:var(--alo-pixel);font-size:20px;line-height:28px;}
.archive-card-title>.icon{width:22px;height:22px;stroke-width:1.6;color:#9c9ba3}
.archive-amount{display:flex;align-items:baseline;gap:22px;margin-top:17px;font-family:var(--alo-pixel);font-weight:400;line-height:1}
.archive-amount>strong{font:inherit;font-size:88px;line-height:88px;font-weight:400;margin-left:-6px}
.archive-amount>span{font-size:34px;line-height:44px;color:#9c9ba3}
.archive-caption{display:block;margin-top:12px;color:#9c9ba3;font-size:16px;line-height:22px;}
.archive-export{display:flex;align-items:center;gap:19px;min-height:67px;padding:18px 22px;background:#222225;width:100%;text-align:left;font-size:18px;line-height:25px;border-radius:0;transform:none}
.archive-export>span{flex:1}.archive-export>.icon{width:24px;height:24px;stroke-width:1.6}
.reference-help-title{font-family:var(--alo-pixel);font-weight:400;font-size:23px;line-height:30px;margin:32px 0 18px}
.reference-help-card{border:0;border-radius:27px;background:#151517;margin:0}
.reference-help-card .row{font-size:18px;line-height:25px;min-height:65px;padding:18px 20px;gap:20px;position:relative;border:0}
.reference-help-card .row>.icon:first-child{width:24px;height:24px;stroke-width:1.65;color:#eeeef2}
.reference-help-card .row+.row::before{content:'';position:absolute;left:61px;right:20px;top:0;height:1px;background:#2a2a2e}
.reference-help-card .row .end .icon{width:17px;height:17px;color:#9c9ba3}
.reference-media{padding-left:20px;padding-right:20px}
.reference-media .media-heading{margin-bottom:18px}
.reference-media .library-media-tabs{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 24px;padding:0;min-height:34px;background:none}
.reference-media .library-media-tabs>button{flex:0 1 auto;font-size:17px;line-height:24px;min-height:34px;padding:5px 13px;border-radius:22px;color:#9c9ba3;font-weight:400;transform:none;position:relative;z-index:1;background:none}
.reference-media .library-media-tabs>button.active{background:none;color:#101012;font-weight:400}
.reference-media .media-tab-indicator{display:block;position:absolute;left:0;top:0;bottom:auto;height:34px;width:var(--media-pill-width,60px);background:#f3f3f2;border-radius:22px;transform:translateX(var(--media-pill-x,0px));z-index:0;transition:transform 280ms var(--ease),width 280ms var(--ease)}
.reference-media .media-tab-indicator>i{display:none}
.reference-media .library-month-header{min-height:30px;margin:0 0 12px;padding:0 2px;align-items:center}
.reference-media .library-month-header h2{font-family:var(--alo-pixel);font-size:23px;line-height:30px;font-weight:400;}
.reference-media .library-month-select{font-size:14px;line-height:20px;min-height:30px;padding:4px 0 4px 12px;font-weight:400;color:#9c9ba3}
.reference-media .media-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0}
.reference-media .media-tile{grid-column:span 3;aspect-ratio:1;border-radius:18px;overflow:hidden;background:#151517}
.reference-media .media-tile:nth-child(7n+3),.reference-media .media-tile:nth-child(7n+4),.reference-media .media-tile:nth-child(7n+5){grid-column:span 2}
.reference-media .library-month{margin-bottom:24px}
.reference-media .library-month+.library-month .library-month-header{margin-top:30px}
.reference-chat{padding:calc(var(--top) + var(--content-top) + 16px) 20px calc(90px + var(--bottom) + var(--content-bottom))}
.reference-chat .chat-head{padding:0;margin:0 0 26px;gap:12px;min-height:54px}
.reference-chat .chat-person{display:flex;align-items:center;gap:15px;padding:0;text-align:left;flex:1;transform:none}
.reference-chat .chat-person>.avatar{width:54px;height:54px}
.reference-chat .chat-person .name{font-family:var(--alo-pixel);font-size:28px;line-height:34px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:270px}
.reference-chat .chat-person small{font-size:14px;line-height:20px;margin-top:2px;color:#9c9ba3}
.reference-chat .chat-head>.icon-button{width:36px;height:42px;padding:6px;transform:none}
.reference-chat .chat-head>.icon-button>.icon{width:24px;height:24px;stroke-width:1.7}
.reference-chat-tabs{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;margin-bottom:0}
.reference-chat-tabs .chip{flex:0 1 auto;min-height:34px;padding:5px 12px;border-radius:22px;font-size:17px;line-height:24px;font-weight:400;background:none;color:#9c9ba3;transform:none}
.reference-chat-tabs .chip.active{background:#f3f3f2;color:#101012}
.reference-chat-tabs>.icon-button{width:36px;height:34px;padding:6px;transform:none}
.reference-chat-tabs>.icon-button>.icon{width:23px;height:23px;stroke-width:1.7}
.reference-chat .chat-content{padding:0}
.reference-chat .date-chip{font-family:var(--alo-pixel);font-size:15px;line-height:22px;color:#9c9ba3;background:none;margin:24px auto 21px;padding:0}
.reference-chat .message-line{margin:0 0 16px;align-items:flex-start}
.reference-chat .message-wrap{max-width:86%;min-width:0}
.reference-chat .message-line.out .message-wrap{max-width:86%}
.reference-chat .bubble{width:fit-content;max-width:100%;border-radius:24px;padding:12px 17px;background:#151517;font-size:18px;line-height:24px;box-shadow:none}
.reference-chat .out .bubble{background:#202023;border-radius:24px}
.reference-chat .bubble p{font-size:18px;line-height:24px;overflow-wrap:anywhere;margin:0}
.reference-chat .bubble .meta{margin-top:8px;font-family:var(--alo-pixel);font-size:12px;line-height:16px;color:#9c9ba3;justify-content:flex-end;display:flex}
.reference-chat .bubble.has-history{width:326px;padding-bottom:0}
.reference-chat .message-history{display:flex;align-items:center;gap:10px;min-height:62px;width:100%;padding:12px 0;border-top:1px solid #303034;border-radius:0;margin:12px 0 0;color:#9c9ba3;text-align:left;font-size:14px;font-weight:400;transform:none}
.message-history>.icon{width:17px;height:17px;stroke-width:1.5;flex:none}
.message-history .before-value{max-width:40%;flex:1}
.message-history .history-count{white-space:nowrap;font-size:13px;color:#9c9ba3;margin-left:auto}
.message-history>.icon:last-child{width:17px;height:17px}
.reference-chat .deleted-banner{display:flex;align-items:center;gap:9px;margin:1px 0 14px;color:#9c9ba3;font-family:var(--alo-pixel);font-size:12px;line-height:18px;}
.deleted-banner>.icon{width:14px;height:14px;stroke-width:1.5}
.reference-chat .bubble.is-deleted{padding:14px 17px 18px}
.saved-history{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;line-height:20px;color:#74747c;bottom:calc(52px + var(--bottom) + var(--content-bottom));background:none;padding:0;white-space:nowrap}
.saved-history>.icon{width:17px;height:17px;stroke-width:1.5}
.reference-versions .versions-heading{margin-bottom:20px}
.versions-person{display:flex;align-items:center;gap:12px;min-height:40px;margin-bottom:40px}
.versions-person>.avatar{width:40px;height:40px}
.versions-peer-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.versions-peer-copy>.pixel-name{font-size:20px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.versions-peer-copy>.muted{font-size:13px;line-height:18px;color:#9c9ba3}
.versions-total{font-family:var(--alo-pixel);font-size:14px;line-height:20px;color:#9c9ba3;white-space:nowrap}
.version-comparison{display:grid;grid-template-rows:auto 0 auto;gap:6px;position:relative}
.version-card{border:0;background:#151517;border-radius:27px;min-height:220px;padding:22px;overflow-wrap:anywhere}
.version-after{background:#212124}
.version-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;color:#9c9ba3}
.version-card-top>span{font-family:var(--alo-pixel);font-size:17px;line-height:24px;}
.version-card-top>time{font-size:14px;line-height:20px;color:#9c9ba3}
.version-after .version-card-top>span{color:#f3f3f2}
.version-prefix,.version-full{font-size:22px;line-height:30px;margin:28px 0 0}
.version-before .version-prefix,.version-before .version-full{color:#b7b6be}
.version-suffix{font-size:19px;line-height:27px;margin-top:5px;color:inherit}
.version-change{font-family:var(--alo-pixel);font-size:40px;line-height:1.2;margin:12px 0 20px;overflow-wrap:anywhere}
.version-change.numeric-change{font-size:64px;line-height:72px;}
.version-before .version-change{color:#aaa9b2}
.version-junction{position:relative;z-index:1;left:50%;top:0;transform:translate(-50%,-50%);width:72px;height:72px;display:grid;place-items:center;background:#000;border-radius:50%;pointer-events:none}
.version-junction>.icon{width:24px;height:24px;stroke-width:1.6;color:#9c9ba3}
.version-actions{display:flex;gap:12px;margin-top:34px}
.version-actions>button{flex:1;min-width:0;min-height:55px;padding:15px 12px;border-radius:22px;display:flex;align-items:center;justify-content:center;gap:13px;background:#151517;font-size:17px;line-height:25px}
.version-actions .icon{width:24px;height:24px;stroke-width:1.6}
.version-media{display:flex;align-items:center;gap:8px;max-width:100%;padding:10px 0;font-size:14px;color:#b5b4bc;overflow-wrap:anywhere;text-align:left}
.version-media>.icon{width:18px;height:18px;flex:none}
.versions-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:12px;color:#9c9ba3;font-size:14px}
.versions-pagination>button{min-height:42px;padding:8px 0}
.versions-loading{min-height:55vh;display:grid;place-items:center}
.reference-versions .empty h2{font-family:var(--alo-pixel);font-size:24px;font-weight:400}
.reference-media .media-placeholder{pointer-events:none}
.search-is-returning [data-action="search-open"],.search-is-returning [data-action="media-search"]{visibility:hidden}
.preferences-page h1,.shell>.section-label{font-family:var(--alo-pixel);font-weight:400}
.reference-home .dialog-pager{overflow-anchor:none}
/* No synthetic weight, stretching, tracking or substituted pixel face. */
:root{--bg:#000;--alo-pixel:'Alo Pixel',monospace;font-family:'Inter',sans-serif;--fg:#f3f3f2;--muted:#9c9ba3}
body,button,input,textarea,select{font-family:'Inter',sans-serif;font-synthesis:none;font-stretch:normal;letter-spacing:normal}
.pdf-ui{max-width:440px;padding-left:20px;padding-right:20px}
.pdf-ui h1,.pixel-name,.pdf-section,.archive-card-title,.archive-amount,.version-change,.version-card-top>span,.before-value,.reference-help-title,.library-month-header h2,.reference-connection .connection-copy strong,.chat-person .name,.date-chip,.bubble .meta,.deleted-banner,.pdf-step-number,.pdf-help-step-top,.pdf-export-numbers,.pdf-format>span{
 font-family:var(--alo-pixel);font-weight:400;font-synthesis:none;font-stretch:normal;letter-spacing:normal!important;
}
.pdf-ui h1{font-size:35px;line-height:45px;margin:0;font-weight:400}
.pdf-ui .reference-heading{min-height:45px;margin-bottom:22px}
.pdf-ui .reference-heading .icon{stroke-width:1.6}
.pdf-ui svg.icon,.pdf-sheet svg.icon{stroke-width:1.6}
.reference-home>.recent-tabs{margin-bottom:31px}
.reference-home>.recent-tabs .chip,.reference-media .library-media-tabs>button,.reference-chat-tabs .chip{font-size:16px;line-height:24px;font-weight:400}
.reference-home>.recent-tabs .chip.active,.reference-media .library-media-tabs>button.active,.reference-chat-tabs .chip.active{font-weight:500}
.reference-home .dialog-name,.pixel-name{font-size:21px;line-height:27px}
.featured-top>.pixel-name{font-size:22px;line-height:28px}
.reference-home .dialog-top{margin-bottom:6px;align-items:baseline}
.reference-home .date,.featured-edit .date{font-family:'Inter',sans-serif;font-size:12.5px;line-height:18px;font-weight:400}
.reference-home .preview,.featured-text{font-family:'Inter',sans-serif;font-size:17px;line-height:24px}
.reference-home .dialog-row:last-child .dialog-copy{border-bottom:0}
.featured-before{font-family:'Inter',sans-serif;font-size:13px;line-height:20px}
.before-value{font-size:18px;line-height:24px}
.removed-preview{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;line-height:17px;margin:2px 0 4px}
.removed-preview .icon{width:12px;height:12px}
.deleted-dialog-row{min-height:94px!important}
.reference-home .deleted-dialog-row .preview{color:var(--fg)}
.dialog-list .featured-edit+.featured-edit{margin-top:18px}
.pdf-ui .banner{margin:0 0 18px;padding:11px 13px;min-height:44px;font-size:13px;border:0;background:#202023;border-radius:14px}
.pdf-ui .banner .icon{width:17px;height:17px}
.pdf-ui .pdf-state{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:370px;margin:92px auto 0;min-height:280px;justify-content:flex-start;padding:0 12px}
.pdf-state-icon{display:grid;place-items:center;width:84px;height:84px;background:#151517;border-radius:50%;color:var(--muted);flex:none}
.pdf-state-icon>.icon{width:30px;height:30px}
.pdf-state h2{font-family:'Inter',sans-serif;font-size:23px;line-height:30px;font-weight:400;margin:23px 0 10px}
.pdf-state p{font-size:16px;line-height:23px;color:var(--muted);margin:0}
.pdf-state>.primary{margin-top:34px;width:100%;max-width:300px}
.pdf-state-footnote{margin-top:46px!important;font-size:13px!important}
.pdf-ui .primary,.pdf-ui .secondary,.pdf-sheet .primary,.pdf-sheet .secondary{min-height:54px;border-radius:19px;display:flex;align-items:center;justify-content:center;gap:11px;padding:14px 16px;font-size:16.5px;line-height:24px;font-weight:400;border:0;box-shadow:none}
.pdf-ui .primary,.pdf-sheet .primary{background:#f3f3f2;color:#101012}
.pdf-ui .secondary,.pdf-sheet .secondary{background:#202023;color:#f3f3f2}
.pdf-ui .primary .icon,.pdf-ui .secondary .icon,.pdf-sheet .primary .icon,.pdf-sheet .secondary .icon{width:21px;height:21px}
.pdf-ui .link{font-family:'Inter',sans-serif;font-size:14px;font-weight:400;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:var(--muted)}
.pdf-ui .link .icon{width:17px;height:17px}
.pdf-ui .skeleton{min-height:91px;gap:16px;padding:9px 2px}
.pdf-ui .skeleton .circle{width:52px;height:52px}
.pdf-ui .skeleton .bar{height:14px;background:#202023;border-radius:5px}
.pdf-ui .skeleton .bar+.bar{height:11px;margin-top:12px}
.pdf-ui .skeleton .bars{background:none}
.pdf-section{font-size:23px;line-height:31px;margin:28px 0 18px;font-weight:400}
.pdf-search .reference-heading{margin-bottom:24px}
.pdf-search .searchbar,.reference-media .searchbar{margin-bottom:28px;gap:22px}
.pdf-search .search,.reference-media .search{height:52px;border-radius:19px;background:#151517;padding:0 14px;gap:10px}
.pdf-search .search input,.reference-media .search input{font-size:16px}
.pdf-search .search>.icon,.reference-media .search>.icon{width:19px;height:19px;color:var(--muted)}
.pdf-search .search .icon-button{width:20px;height:20px;background:#48484f;color:#151517;padding:4px}
.pdf-search .search .icon-button .icon{width:12px;height:12px}
.pdf-search .cancel,.reference-media .cancel{font-size:16px;min-height:44px;padding:0}
.pdf-search .recents{background:none;margin-top:0}
.pdf-search .recents .row{font-size:16px;padding:15px 10px;min-height:66px;gap:16px;border:0;background:none}
.pdf-search .recents .row>.icon{width:18px;height:18px;color:var(--muted)}
.pdf-search .recents .row>.icon:last-child{width:17px;height:17px;margin-left:auto}
.pdf-search-count{margin:30px 0 24px}
.pdf-search-count .pdf-section{margin:0 0 6px}
.pdf-search-count p{font-size:14px;line-height:20px;color:var(--muted)}
.pdf-result-card{display:block!important;width:100%;background:#151517;border:0!important;border-radius:27px;padding:16px 17px 20px!important;margin:0 0 24px!important;text-align:left}
.pdf-result-person{display:flex;align-items:center;gap:14px;margin-bottom:17px}
.pdf-result-person>.avatar{width:44px;height:44px;flex:none}
.pdf-result-person>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.pdf-result-person .pixel-name{font-size:20px;line-height:25px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdf-result-person small{font-size:13px;line-height:18px;color:var(--muted)}
.pdf-result-text{display:block;font-size:17px;line-height:25px;white-space:pre-wrap;overflow-wrap:anywhere}
.pdf-result-note{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;line-height:20px;color:var(--muted);margin-top:20px}
.pdf-result-note>.icon{width:15px;height:15px}
mark{color:inherit;background:#353539;border-radius:4px;padding:1px 3px;font-weight:inherit!important}
.pdf-search .pdf-state{margin-top:62px}
.pdf-search .pdf-state>.primary{background:none;color:var(--fg);font-size:14px;margin-top:22px}
.reference-chat .chat-person .name{font-size:28px;line-height:35px;max-width:min(270px,59vw)}
.reference-chat .chat-head{margin-bottom:26px}
.reference-chat-tabs{gap:20px;justify-content:space-between}
.reference-chat .bubble p{font-family:'Inter',sans-serif;font-size:18px;line-height:25px}
.reference-chat .bubble .meta{font-size:12px;line-height:17px}
.reference-chat .date-chip{font-size:15px;line-height:23px;margin-top:25px;margin-bottom:21px}
.reference-chat .message-wrap{max-width:86%}
.reference-chat .bubble.has-history{width:326px}
.reference-chat .message-history{font-family:'Inter',sans-serif;font-size:13px;min-height:62px}
.reference-chat .message-history .before-value{font-size:18px}
.reference-chat .deleted-banner{font-size:12px;line-height:18px}
.reference-chat .pdf-state{margin-top:98px}
.pdf-filter-note{font-family:'Inter',sans-serif;font-size:13px;line-height:20px;color:var(--muted);margin:30px 0 0}
.saved-history{font-family:'Inter',sans-serif;font-size:13px;font-weight:400}
.versions-person{margin-bottom:34px}
.versions-peer-copy>.pixel-name{font-size:20px;line-height:27px}
.versions-total{font-family:'Inter',sans-serif;font-size:14px;line-height:20px}
.version-card-top>time{font-family:var(--alo-pixel);font-size:12px;line-height:18px}
.version-card-top>span{font-size:17px;line-height:25px}
.version-prefix{font-family:'Inter',sans-serif;font-size:22px;line-height:30px;margin-top:28px}
.version-change.numeric-change{font-size:64px;line-height:78px;margin:6px 0 18px;white-space:nowrap}
.version-card{min-height:220px;padding:22px;border-radius:27px}
.version-full{font-family:'Inter',sans-serif;font-size:17px;line-height:26px;margin:25px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.version-full mark{background:#3a3a3e}
.pdf-version-tabs{display:flex;gap:12px;justify-content:space-between;overflow:auto;scrollbar-width:none;margin:-4px 0 24px}
.pdf-version-tabs .chip{font-family:'Inter',sans-serif;font-size:16px;line-height:24px;font-weight:400;padding:5px 12px;min-height:34px;background:none;color:var(--muted);flex:none}
.pdf-version-tabs .chip.active{background:#f3f3f2;color:#101012;font-weight:500}
.multiple-versions .version-card{min-height:197px}
.multiple-versions .version-prefix{font-size:21px;margin-top:25px}
.multiple-versions .version-change.numeric-change{font-size:55px;line-height:68px}
.pdf-version-action-note{font-family:'Inter',sans-serif;font-size:13px;line-height:20px;text-align:center;color:var(--muted);margin:20px 0 18px}
.version-actions{margin-top:0;gap:12px}
.version-actions>button{font-family:'Inter',sans-serif;font-size:16.5px;line-height:24px;background:#202023;border-radius:19px;min-height:54px;padding:14px 12px}
.version-actions .icon{width:21px;height:21px}
.reference-connection .connection-copy strong{font-size:20px;line-height:28px}
.reference-connection{margin-bottom:38px}
.archive-amount>strong{font-size:88px;line-height:98px;margin-left:0;font-weight:400}
.archive-amount>span{font-size:34px;line-height:44px}
.archive-amount{gap:19px;margin-top:16px}
.archive-caption{font-family:'Inter',sans-serif;font-size:15px;line-height:22px;margin-top:12px}
.archive-overview{padding:22px;min-height:210px}
.archive-export{font-family:'Inter',sans-serif;font-size:17px;line-height:24px;min-height:66px}
.reference-help-title{font-size:23px;line-height:32px;margin:34px 0 20px}
.reference-help-card .row{font-size:17px;line-height:24px;min-height:65px}
.reference-media .library-media-tabs{margin-bottom:25px;gap:8px}
.reference-media .library-month-header{margin-bottom:16px;min-height:31px}
.reference-media .library-month-header h2{font-size:23px;line-height:31px}
.reference-media .library-month-select{font-size:14px;line-height:21px;font-weight:400}
.reference-media .media-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.reference-media .media-tile{display:block;position:relative;grid-column:span 3;aspect-ratio:1;padding:0;background:#151517;border-radius:18px;overflow:hidden}
.reference-media .media-tile:nth-child(6n+3),.reference-media .media-tile:nth-child(6n+4),.reference-media .media-tile:nth-child(6n+5){grid-column:span 2}
.reference-media .media-tile:nth-child(6n+6){grid-column:span 6;aspect-ratio:2.4}
.pdf-tile-picture{display:block;position:relative;overflow:hidden;width:100%;height:100%;border-radius:inherit;isolation:isolate}
.pdf-tile-picture>img{width:100%;height:100%;object-fit:cover;display:block}
.pdf-tile-picture .media-placeholder{position:absolute;inset:0;z-index:-1}
.pdf-tile-picture:has(.image-ready) .media-placeholder{display:none}
.pdf-tile-picture .duration{position:absolute;left:12px;bottom:10px;border-radius:12px;padding:3px 8px;font-family:var(--alo-pixel);font-size:12px;background:rgba(0,0,0,.6)}
.pdf-tile-picture .media-selection-mark{position:absolute;top:9px;right:9px;bottom:auto;width:24px;height:24px;border-radius:50%;border:1px solid rgba(243,243,242,.6);background:rgba(30,30,32,.6)}
.pdf-tile-picture .media-selection-mark.checked{background:#f3f3f2;color:#101012;border:0}
.pdf-tile-picture .media-selection-mark .icon{width:16px;height:16px}
.reference-media .pdf-video-grid .media-tile{grid-column:span 3;aspect-ratio:auto;background:none;border-radius:0}
.reference-media .pdf-video-grid .media-tile:first-child{grid-column:span 6}
.pdf-video-grid .pdf-tile-picture{aspect-ratio:1;border-radius:20px;height:auto}
.pdf-video-grid .media-tile:first-child .pdf-tile-picture{aspect-ratio:1.6}
.pdf-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;background:rgba(0,0,0,.8);border-radius:50%}
.pdf-video-play .icon{width:18px;height:18px;fill:currentColor;stroke-width:0}
.pdf-video-title{display:block;text-align:left;font-size:17px;line-height:24px;padding:10px 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdf-video-by{display:block;text-align:left;font-size:12px;line-height:18px;color:var(--muted);margin-bottom:12px}
.pdf-video-grid .media-tile:not(:first-child) .pdf-video-title,.pdf-video-grid .media-tile:not(:first-child) .pdf-video-by{display:none}
.library-media-list{display:flex;flex-direction:column;gap:20px}
.pdf-voice-card{display:block;position:relative;background:#151517;border-radius:26px;padding:16px 14px!important;min-height:135px;margin:0;border:0!important}
.pdf-media-person{display:flex;align-items:center;gap:11px;margin-bottom:18px}
.pdf-media-person .avatar{width:32px;height:32px}
.pdf-media-person>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.pdf-media-person .pixel-name{font-size:19px;line-height:25px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.pdf-media-person small{font-size:12px;line-height:17px}
.pdf-voice-wave{display:flex;align-items:center;gap:13px;min-height:35px}
.pdf-voice-wave .wave{flex:1;gap:2px;overflow:hidden;color:#8f8e96;height:35px;align-items:center}
.pdf-voice-wave .wave i{width:2px;flex:0 0 2px;max-height:30px;border-radius:1px}
.pdf-voice-wave .voice-play{width:33px;height:33px;min-width:33px;background:none;color:var(--fg);padding:8px}
.pdf-voice-card.is-playing .voice-play{background:#f3f3f2;color:#101012;border-radius:50%}
.pdf-voice-wave .voice-play .icon{width:17px;height:17px;fill:currentColor;stroke-width:0}
.pdf-voice-meta{display:flex;justify-content:space-between;margin-left:46px;margin-top:8px;font-family:var(--alo-pixel);font-size:12px;line-height:16px;color:var(--muted)}
.pdf-voice-speed{display:block;margin:8px 0 0 auto;font-size:12px;color:var(--muted)}
.pdf-file-card{position:relative;display:flex;align-items:center;gap:15px;background:#151517;border-radius:26px;border:0!important;min-height:111px;margin:0;padding:18px 17px!important}
.pdf-file-card .file-symbol{width:37px;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#202023;border-radius:14px;gap:4px;flex:none}
.pdf-file-card .file-symbol>.icon{width:18px;height:18px;color:var(--muted)}
.pdf-file-card .file-symbol small{font-size:9px;color:var(--muted)}
.pdf-file-card .file-copy{display:flex;flex-direction:column;gap:6px;text-align:left;flex:1;min-width:0;padding:0}
.pdf-file-card .file-copy strong{font-family:'Inter',sans-serif;font-size:17px;line-height:24px;font-weight:400;overflow-wrap:anywhere}
.pdf-file-card .file-copy small{font-family:'Inter',sans-serif;font-size:12px;line-height:17px;color:var(--muted)}
.pdf-file-card .icon-button{position:absolute;right:11px;top:12px;width:31px;height:31px;color:var(--muted);padding:7px}
.pdf-file-card .icon-button .icon{width:17px;height:17px}
.pdf-row-pick{position:absolute;right:8px;top:8px;width:36px;height:36px}
.pdf-selection-footer{margin-top:28px;padding-bottom:20px}
.pdf-selection-footer>p{font-size:13px;line-height:20px;text-align:center;color:var(--muted);margin-bottom:22px}
.pdf-action-pair{display:flex;align-items:stretch;gap:12px}
.pdf-action-pair>button{flex:1;min-width:0;margin:0}
.reference-media .library-media-skeleton{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;background:none}
.reference-media .library-media-skeleton>span{grid-column:span 3;aspect-ratio:1;border-radius:18px;background:#202023}
.reference-media .library-media-skeleton>span:nth-child(3),.reference-media .library-media-skeleton>span:nth-child(4),.reference-media .library-media-skeleton>span:nth-child(5){grid-column:span 2}
.reference-media .library-media-skeleton>span:nth-child(6){grid-column:span 6;aspect-ratio:2.4}
.pdf-export,.pdf-storage,.pdf-support,.pdf-help,.pdf-ui[class*='pdf-connect-']{display:flex;flex-direction:column}
.pdf-page-bottom{margin-top:auto;padding-top:30px;display:flex;flex-direction:column;gap:12px}
.pdf-page-bottom .small-note{margin:8px 0 0;font-size:13px}
.pdf-connect-hero{text-align:center;margin:32px 0 42px}
.pdf-connect-hero:where(button){display:block;width:100%;padding:0;background:none}
.pdf-connect-hero>.pdf-state-icon{margin:0 auto 24px}
.pdf-connect-hero h2{font-family:'Inter',sans-serif;font-size:23px;font-weight:400;line-height:31px;margin:0 0 10px}
.pdf-connect-hero p{font-size:15px;color:var(--muted);line-height:23px;overflow-wrap:anywhere}
.pdf-connect-hero .alo-symbol{font-family:var(--alo-pixel);font-size:47px;line-height:1}
.pdf-connect-steps{display:flex;flex-direction:column;gap:20px}
.pdf-connect-step{display:flex;align-items:center;gap:14px;width:100%;padding:0;text-align:left;min-height:68px}
.pdf-step-number{width:39px;height:39px;display:grid;place-items:center;background:#151517;color:var(--muted);border-radius:50%;font-size:20px;flex:none}
.pdf-step-number>.icon{width:20px;height:20px}
.pdf-connect-step>span:nth-child(2){display:flex;flex-direction:column;flex:1;gap:5px}
.pdf-connect-step strong{font-size:16px;line-height:23px;font-weight:400}
.pdf-connect-step small{font-size:12px;line-height:18px}
.pdf-connect-step>.icon{width:18px;height:18px;color:var(--muted)}
.pdf-connect-ready,.pdf-export-error-card{background:#151517;border-radius:26px;padding:22px}
.pdf-connect-ready:where(button){display:block;width:100%;text-align:left}
.pdf-connect-ready h3,.pdf-export-error-card h3{font-family:'Inter',sans-serif;font-weight:400;font-size:19px;line-height:27px;display:flex;align-items:center;gap:11px}
.pdf-connect-ready h3>.icon{width:20px;height:20px}
.pdf-connect-ready p,.pdf-export-error-card p{font-size:15px;line-height:22px;color:var(--muted);margin-top:17px}
.pdf-connection-preferences{margin:18px 0 0}
.pdf-connection-preferences .row{font-size:14px;min-height:48px}
.pdf-storage-total{margin-top:18px;background:#151517;border-radius:27px;min-height:194px;padding:27px 22px}
.pdf-storage-total>.archive-amount{margin-top:0}
.pdf-storage-total>p{color:var(--muted);font-size:15px;line-height:23px;margin-top:18px}
.pdf-storage .pdf-section{margin-top:28px}
.pdf-storage-types{margin:0;border-radius:27px;background:#151517;border:0}
.pdf-storage-types .row{display:flex;align-items:center;min-height:65px;padding:18px 19px;gap:18px;border-color:#262629;font-size:16.5px;line-height:24px}
.pdf-storage-types .row>.icon{width:21px;height:21px}
.pdf-storage-types .row>span{flex:1;text-align:left}
.pdf-storage-types .row>small{font-family:var(--alo-pixel);font-size:14px;line-height:20px}
.pdf-number-skeleton,.pdf-line-skeleton{display:block;width:45%;height:66px;border-radius:7px;background:#202023;animation:pdf-pulse 1.7s ease-in-out infinite}
.pdf-line-skeleton{width:65%;height:12px;margin-top:20px}
.pdf-storage-types .pdf-line-skeleton{width:19%;margin:0}
.pdf-storage>.small-note{margin-top:45px;font-size:13px;color:var(--muted)}
.pdf-help-steps{display:flex;flex-direction:column;gap:26px;margin-top:30px}
.pdf-help-step{display:block;width:100%;text-align:left;border-radius:26px;background:#151517;padding:20px}
.pdf-help-step-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:23px;line-height:30px;margin-bottom:9px}
.pdf-help-step-top>.icon{width:20px;height:20px}
.pdf-help-step h2{font-family:'Inter',sans-serif;font-size:22px;line-height:29px;font-weight:400;margin-bottom:8px}
.pdf-help-step p{font-size:15px;line-height:23px;color:var(--muted)}
.pdf-support-hero{margin-top:78px;margin-bottom:66px}
.pdf-support-links{border-radius:26px;margin:0;background:#151517;border:0}
.pdf-support-links .row{font-size:16px;line-height:24px;min-height:64px;border-color:#29292c}
.pdf-support-links .row>.icon{width:20px;height:20px}
.pdf-support-links .row .end>.icon{width:15px;height:15px}
.pdf-export-scope{display:flex;align-items:center;gap:17px;border-radius:26px;padding:13px 19px;background:#151517;min-height:64px;margin-top:18px}
.pdf-export-scope>.icon{width:22px;height:22px}
.pdf-export-scope>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.pdf-export-scope strong{font-family:'Inter',sans-serif;font-size:17px;line-height:24px;font-weight:400}
.pdf-export-scope small{font-size:13px;line-height:19px;color:var(--muted)}
.pdf-export .pdf-section{margin-top:33px;margin-bottom:20px}
.pdf-export-options{border:0;border-radius:27px;background:#151517;margin:0}
.pdf-export-options>.row{display:flex;align-items:center;gap:21px;padding:17px 20px;min-height:72px;border-color:#29292b}
.pdf-export-options>.row>.icon{width:22px;height:22px}
.pdf-export-options>.row>span:not(.toggle){flex:1;display:flex;flex-direction:column;gap:5px;text-align:left;min-width:0}
.pdf-export-options strong{font-size:17px;line-height:24px;font-weight:400}
.pdf-export-options small{font-size:12px;line-height:18px;color:var(--muted)}
.pdf-export-options .toggle{width:45px;height:27px;border-radius:20px;background:#48484d;flex:none}
.pdf-export-options .toggle::after{width:21px;height:21px;left:3px;top:3px;box-shadow:none;background:#f3f3f2}
.pdf-export-options .toggle.on{background:#f3f3f2}
.pdf-export-options .toggle.on::after{background:#151517;transform:translateX(18px)}
.pdf-format-grid{display:flex;gap:12px}
.pdf-format{position:relative;display:flex;flex-direction:column;gap:14px;flex:1;padding:18px 19px;border-radius:25px;background:#151517;text-align:left;min-height:102px;color:var(--muted)}
.pdf-format.active{background:#202023;color:var(--fg)}
.pdf-format>span{font-size:23px;line-height:31px}
.pdf-format>small{font-family:'Inter',sans-serif;font-size:14px;line-height:20px;color:var(--muted)}
.pdf-format>.icon{position:absolute;right:18px;top:19px;width:20px;height:20px;fill:#f3f3f2;stroke:#202023}
.pdf-export-note{font-size:13px;line-height:21px;color:var(--muted);margin-top:28px}
.pdf-export-working{margin-top:26px!important}
.pdf-export-job-card{background:#151517;border-radius:27px;padding:22px 20px}
.pdf-export-job-card>h3{display:flex;align-items:center;gap:15px;font-family:var(--alo-pixel);font-weight:400;font-size:17px;line-height:25px}
.pdf-export-job-card>h3>span{min-width:0;overflow-wrap:anywhere}
.pdf-export-job-card>h3>.icon{width:20px;height:20px}
.pdf-export-numbers{display:flex;align-items:baseline;gap:14px;margin:30px 0 0}
.pdf-export-numbers>strong{font:inherit;font-size:64px;line-height:80px}
.pdf-export-numbers>span{font-size:34px;line-height:45px;color:var(--muted)}
.pdf-export-job-card>p{font-size:13px;line-height:21px;color:var(--muted);margin-top:5px}
.pdf-export-job-card .progress{margin:24px 0 4px;height:4px;border-radius:3px;background:#39393d}
.pdf-export-job-card .progress>span{background:#f3f3f2;transition:width 350ms var(--ease)}
.pdf-export-job-card .archive-amount{margin-top:32px}
.pdf-export-hero{margin:28px 0 35px}
.pdf-export-error-card small{display:block;margin-top:9px;font-size:13px;line-height:20px;color:var(--muted)}
.pdf-viewer .reference-heading{margin-bottom:20px}
.pdf-viewer-person{display:flex;align-items:center;gap:13px;margin-bottom:30px}
.pdf-viewer-person .avatar{width:39px;height:39px}
.pdf-viewer-person>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.pdf-viewer-person .pixel-name{font-size:20px;line-height:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdf-viewer-person small{font-size:12px;line-height:18px;color:var(--muted)}
.pdf-viewer .viewer-stage{display:block;min-height:0;margin:0;padding:0}
.pdf-viewer .viewer-stage .full{width:100%;height:auto;max-height:58dvh;object-fit:contain;border-radius:24px;background:#151517}
.pdf-viewer video.full{aspect-ratio:1.3}
.pdf-viewer .photo-counter{font-family:var(--alo-pixel);font-size:13px;line-height:19px;color:var(--muted);text-align:center;margin:20px 0 26px}
.pdf-viewer-actions{margin-top:26px;text-align:center}
.pdf-viewer-actions>.link{margin-top:20px}
.pdf-file-view{text-align:center;padding:80px 20px}
.pdf-file-view>.icon{width:60px;height:60px;color:var(--muted)}
.pdf-file-view>h2{font-size:20px;line-height:28px;font-weight:400;margin:24px 0 9px}
.pdf-file-view>p{font-size:14px;color:var(--muted)}
.pdf-sheet{background:#18181c;border:0!important;box-shadow:none!important;border-radius:28px 28px 0 0;max-width:440px;padding:0}
.pdf-sheet .sheet-body{padding:38px 22px calc(28px + var(--bottom) + var(--content-bottom))}
.pdf-sheet .sheet-header{margin-bottom:10px;gap:16px}
.pdf-sheet .sheet-header h2{font-family:'Inter',sans-serif;font-size:22px;line-height:30px;font-weight:400;letter-spacing:normal;overflow-wrap:anywhere}
.pdf-sheet .sheet-header>.icon-button{width:28px;height:28px;padding:6px;background:#242428;color:var(--muted)}
.pdf-sheet .sheet-header .icon{width:15px;height:15px}
.pdf-sheet .pdf-sheet-preview{font-size:14px;line-height:22px;margin-bottom:24px;color:var(--muted);max-height:75px;overflow:hidden;white-space:pre-wrap}
.pdf-sheet .pdf-sheet-rows{display:flex;flex-direction:column;gap:6px}
.pdf-sheet .row{padding:14px 12px;gap:20px;font-size:16px;line-height:24px;min-height:54px;border:0!important;background:none}
.pdf-sheet .row>.icon{width:21px;height:21px}
.pdf-sheet .row .end .icon{width:15px;height:15px}
.pdf-sheet .primary{margin-top:24px}
.pdf-sheet .secondary{margin-top:10px}
.pdf-sheet>.sheet-body>p{font-size:15px;line-height:24px;color:var(--muted);margin-bottom:15px}
.pdf-sheet .pdf-action-pair{margin-top:28px}
.pdf-sheet .pdf-action-pair>.primary,.pdf-sheet .pdf-action-pair>.secondary{margin:0}
#toast{font-family:'Inter',sans-serif;font-size:13px;line-height:20px;bottom:calc(20px + var(--bottom) + var(--content-bottom));padding:13px 17px;border-radius:15px;background:#202023;box-shadow:none;border:0;max-width:400px;width:calc(100% - 40px);gap:12px}
#toast>.icon{width:18px;height:18px}
#toast>.icon-button{display:none}
.search-is-returning [data-action='chat-search']{visibility:hidden}
.pdf-ui.session-shell h1{font-family:'Inter',sans-serif;font-size:clamp(28px,7.2vw,34px);line-height:1.08;font-weight:400}
.pdf-ui .preferences-heading h1{font-family:var(--alo-pixel);font-size:35px;font-weight:400}
.pdf-ui .pdf-section,.pdf-ui .section-label{font-family:var(--alo-pixel);font-size:23px;line-height:31px;font-weight:400;letter-spacing:normal}
@keyframes pdf-pulse{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:390px){.reference-home .dialog-row{gap:13px}.reference-home .dialog-name{font-size:21px}.reference-chat .message-history{gap:6px}.pdf-ui .reference-heading{gap:5px}.pdf-ui .reference-heading .heading-actions{gap:0}.reference-connection{gap:12px}.pdf-export-options>.row{gap:12px;padding-left:16px;padding-right:16px}.pdf-result-card{padding-left:15px!important;padding-right:15px!important}}
@media(prefers-reduced-motion:reduce){.pdf-ui .chip-cursor,.pdf-ui .media-tab-indicator,.pdf-ui .progress>span{transition:none}.pdf-line-skeleton,.pdf-number-skeleton{animation:none}}

/* Media 17: common tab geometry. The pill and label share the same box. */
.reference-media .library-media-tabs{height:36px;min-height:36px;align-items:center;margin:0 0 25px;padding:0;gap:8px}
.reference-media .library-media-tabs>button{display:flex;align-items:center;justify-content:center;height:36px;min-height:36px;max-height:36px;line-height:22px;padding:0 13px;margin:0;font-size:16px;box-sizing:border-box;transform:none;align-self:center}
.reference-media .library-media-tabs>button:active{transform:none}
.reference-media .media-tab-indicator{top:var(--media-pill-top,0px);height:var(--media-pill-height,36px);bottom:auto;border-radius:22px}
.reference-media .library-month-header{height:auto;min-height:34px;align-items:center}
.reference-media .library-month-header h2{margin:0;line-height:32px}
.reference-media .library-month-select{display:flex;align-items:center;justify-content:flex-end;height:34px;min-height:34px;padding:0 0 0 12px;line-height:22px;transform:none}
.real-wave{position:relative;display:flex;align-items:center;justify-content:space-between;flex:1;gap:2px;min-width:0;height:35px;overflow:hidden}
.real-wave>i,.pdf-voice-wave .real-wave>i{flex:1 1 0;min-width:0;max-width:3px;width:2px;border-radius:1px;background:#77767e}
.real-wave.wave-pending{justify-content:flex-start}
.real-wave .wave-status{font-family:'Inter',sans-serif;font-size:11px;font-weight:400;line-height:17px;color:#77767e;white-space:nowrap}
.voice-seek-shell{position:relative;display:flex;flex:1;min-width:0;align-items:center}
.voice-wave-seek{position:absolute;inset:-5px 0;width:100%;height:45px;margin:0;opacity:0;cursor:pointer;touch-action:pan-y}
.voice-seek-shell:focus-within{outline:1px solid #888;border-radius:5px;outline-offset:4px}
.pdf-voice-card .pdf-row-pick{display:grid;place-items:center;padding:0}
.pdf-row-pick .media-selection-mark{position:static;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;border:1px solid #aaa;background:none}
.pdf-row-pick .media-selection-mark.checked{border:0;background:#f3f3f2;color:#101012}
.pdf-row-pick .media-selection-mark .icon{width:16px;height:16px}
.media-selection-open .pdf-media{padding-bottom:calc(170px + var(--bottom) + var(--content-bottom))}
.pdf-selection-footer{position:fixed;left:50%;bottom:calc(12px + var(--bottom) + var(--content-bottom));transform:translateX(-50%);z-index:24;width:calc(100% - 40px);max-width:400px;margin:0;padding:14px 0 0;background:#000;border-radius:20px 20px 0 0}
.pdf-selection-footer>p{margin:0 0 12px;font-size:13px;line-height:20px}
.pdf-selection-footer .pdf-action-pair{gap:10px}
.pdf-selection-footer .pdf-action-pair>button{font-size:clamp(14px,3.75vw,16.5px);padding:14px 10px;gap:8px;min-height:54px}
.pdf-selection-footer button>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.round-player{position:relative;width:190px;aspect-ratio:1;isolation:isolate;max-width:100%;margin:0 0 22px;contain:layout style}
.round-player.round-viewer{width:min(340px,calc(100vw - 64px));margin:12px auto 48px}
.round-surface{position:absolute;inset:3.5%;width:93%;height:93%;border-radius:50%;padding:0;overflow:hidden;background:#151517;display:block;transform:none}
.round-surface:active{transform:none}
.round-poster,.round-poster>img,.round-video{display:block;position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.round-video{opacity:0;pointer-events:none}
.round-player.has-frame .round-video{opacity:1}
.round-player.has-frame .round-poster{visibility:hidden}
.round-video::-webkit-media-controls{display:none!important}
.round-toggle-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;transition:opacity 160ms ease}
.round-toggle-icon>.icon{width:18px;height:18px;fill:currentColor;stroke:none}
.round-player.is-playing .round-toggle-icon{opacity:.5}
.round-player.is-playing:hover .round-toggle-icon,.round-surface:focus-visible .round-toggle-icon{opacity:1}
.round-player.is-buffering .round-toggle-icon{opacity:0}
.round-buffering{position:absolute;left:calc(50% - 11px);top:calc(50% - 11px);width:22px;height:22px;display:none}
.round-player.is-buffering .round-buffering{display:block}
.round-progress{position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none;overflow:visible;transform:rotate(-90deg);touch-action:none}
.round-progress circle{fill:none;stroke-width:1.5;pointer-events:stroke;cursor:pointer}
.round-progress .round-track{stroke:#45454a}
.round-progress .round-elapsed{stroke:#f3f3f2;stroke-linecap:round}
.round-progress:focus-visible{outline:1px solid #888;border-radius:50%;outline-offset:4px}
.round-remaining{position:absolute;bottom:9%;left:50%;transform:translateX(-50%);border-radius:12px;background:rgba(0,0,0,.45);padding:3px 8px;color:#fff;font-family:var(--alo-pixel);font-size:12px;line-height:16px;pointer-events:none}
.round-volume{position:absolute;right:9%;bottom:12%;width:25px;height:25px;border-radius:50%;background:rgba(0,0,0,.35);padding:5px;display:grid;place-items:center;transform:none}
.round-volume>.icon{width:15px;height:15px}
.round-chat .round-volume{right:10%;bottom:14%}
.round-chat .round-remaining{bottom:10%}
.reference-chat .message-wrap:has(.round-player){width:min(210px,72vw)}
.reference-chat .message-line.out .message-wrap:has(.round-player){margin-left:auto}
@media(prefers-reduced-motion:reduce){.round-toggle-icon{transition:none}}

/* All dimensions inherit the supplied Alo Pixel / Inter v16 design. */
.reference-media .media-tabs18{display:flex;justify-content:space-between;gap:5px;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;position:relative;isolation:isolate;overscroll-behavior-x:contain}
.media-tabs18::-webkit-scrollbar{display:none}
.reference-media .media-tabs18>button{flex:0 0 auto;padding:0 12px;position:relative;z-index:1;font-size:16px;font-weight:400}
.reference-media .media-tabs18>button.active{font-weight:500}
.reference-media .media-tabs18 .media-tab-indicator{z-index:0;pointer-events:none}
.real-wave .wave-baseline{display:block;height:2px;width:100%;background:#333337;border-radius:1px}
.round-player{width:190px;aspect-ratio:auto;max-width:100%;margin:0 0 12px;contain:style;transition:width 320ms cubic-bezier(.22,1,.36,1)}
.round-visual{position:relative;width:100%;aspect-ratio:1;isolation:isolate}
.round-meta{position:relative;display:flex;align-items:center;gap:10px;min-height:30px;padding:3px 5px 0;color:#9d9ca4}
.round-meta .round-remaining,.round-meta .round-message-time{position:static;transform:none;background:none;padding:0;border-radius:0;font-family:var(--alo-pixel);font-size:12px;line-height:18px;color:#9d9ca4}
.round-meta .round-message-time{margin-left:auto}
.round-meta .round-volume{position:static;display:grid;place-items:center;background:none;padding:4px;width:26px;height:26px;color:#b0afb5}
.round-player.is-playing .round-toggle-icon,.round-player.is-playing:hover .round-toggle-icon,.round-player.is-playing .round-surface:focus-visible .round-toggle-icon{opacity:0;visibility:hidden;pointer-events:none}
.round-player.is-expanded{width:min(380px,100%)}
.round-player.round-viewer{width:min(390px,calc(100vw - 40px));margin:10px auto 26px}
.reference-chat .round-message-wrap,.reference-chat .message-wrap:has(.round-player){width:100%;max-width:100%}
.message-line.out .round-player{margin-left:auto}
.round-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;align-items:start}
.round-library-card{min-width:0;position:relative}
.round-library-card.is-expanded{grid-column:1 / -1}
.round-library-card .round-player{width:100%;margin-bottom:4px}
.round-library-person{display:flex;align-items:center;gap:8px;min-width:0;margin-top:4px}
.round-library-person .avatar{width:28px;height:28px;min-width:28px}
.round-library-person>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.round-library-person strong{font-family:var(--alo-pixel);font-size:16px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.round-library-person small{font-size:11px;line-height:16px;color:#98979e}
.round-library-pick{position:absolute;inset:0;z-index:2;background:none;border:0;border-radius:0;padding:0}
.round-library-pick .media-selection-mark{top:6px;right:6px}
.round-selection-poster{aspect-ratio:1;border-radius:50%;overflow:hidden;background:#141416;display:grid;place-items:center;margin-bottom:10px}
.round-selection-poster img{width:100%;height:100%;object-fit:cover}
svg.icon.pixel-media-icon{fill:currentColor;stroke:none;stroke-width:0;shape-rendering:crispEdges;flex-shrink:0;vertical-align:-2px}
.event-card{padding:16px;margin:0 0 18px;border-radius:26px;background:#141416;min-width:0;overflow:hidden}
.event-person{display:flex;align-items:center;text-align:left;gap:12px;width:100%;padding:0;background:none;transform:none}
.event-person>.avatar{width:44px;height:44px;min-width:44px}
.event-person>span{display:flex;flex-direction:column;gap:6px;min-width:0}
.event-person .pixel-name{font-family:var(--alo-pixel);font-size:21px;line-height:26px;font-weight:400;overflow-wrap:anywhere}
.event-person small{font-family:Inter,sans-serif;font-size:12px;line-height:17px;color:#99989f}
.event-status{display:flex;align-items:center;gap:7px;color:#99989f;font-size:12px;line-height:18px;margin:17px 0 10px}
.event-status .icon{width:15px;height:15px}
.event-body{font-family:Inter,sans-serif;font-size:17px;font-weight:400;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.event-card.is-expanded .event-body{display:block;overflow:visible}
.event-before{background:#222225;border-radius:17px;padding:12px;margin-top:14px;color:#a3a2a8}
.event-before-label{font-family:Inter,sans-serif;font-size:13px;line-height:18px;display:block;margin-bottom:7px}
.event-before .event-body{font-size:16px}
.event-expand{font-family:Inter,sans-serif;font-size:14px;font-weight:500;background:none;padding:12px 0 2px;color:#e4e4e7}
.event-expand[hidden]{display:none}
.event-history{display:flex;align-items:center;width:100%;gap:8px;font-size:14px;line-height:22px;background:none;padding:16px 0 0;color:#b7b6bd;text-align:left}
.event-history .icon{width:17px;height:17px}.event-history .icon:last-child{margin-left:auto}
.sticker-host{display:block;position:relative;width:min(220px,60vw);aspect-ratio:1;max-width:100%;margin:0 auto;background:transparent;overflow:hidden;border-radius:0}
.sticker-host[hidden]{display:none}
.sticker-host canvas,.sticker-host svg,.sticker-image,.sticker-video{display:block;width:100%!important;height:100%!important;object-fit:contain;background:transparent}
.bubble:has(.sticker-host){background:transparent;padding:0;box-shadow:none;border:0}
.bubble:has(.sticker-host) .meta{padding:2px 7px}
.pdf-viewer .sticker-host{width:min(340px,85vw)}
.media-search-result{display:flex;gap:12px;width:100%;padding:16px 0;background:none;text-align:left;align-items:center;border-radius:0}
.media-search-result>.icon,.media-search-thumb{width:60px;height:60px;flex-shrink:0;object-fit:cover;border-radius:14px}
.media-search-result>span{display:flex;flex-direction:column;gap:7px;min-width:0}
.media-search-result strong{font-weight:400;font-size:20px;line-height:25px}.media-search-result span>span{overflow-wrap:anywhere;font-size:15px;line-height:21px;color:#b0afb6}.media-search-result small{font-size:12px;line-height:17px;color:#929198}
.has-action-state{display:flex!important;align-items:center;justify-content:center;gap:8px;opacity:1!important;white-space:normal}
.has-action-state .action-label{font-family:Inter,sans-serif;font-weight:500;font-size:15px;line-height:21px}
.action-spinner{width:16px;height:16px;flex:0 0 16px;border-width:1.5px}.has-action-state>.icon{width:18px;height:18px;flex-shrink:0}
.has-action-state.action-failed{color:#e9baba}
@media(prefers-reduced-motion:reduce){.round-player{transition:none}}

/* ALO_19 — real switches in Settings, deleted media shown as itself, calm empties, intact grids.
   Same Alo Pixel / Inter faces, same #151517 surfaces, no gradients or extra borders. */

/* Settings and the shared /settings pages */
.alo19-card{border:0;border-radius:27px;background:#151517;margin:0;overflow:hidden}
.alo19-card>.preference-toggle,.alo19-card>.alo19-link{position:relative;display:flex;align-items:center;gap:16px;width:100%;min-height:66px;padding:13px 20px;margin:0;background:none;border:0;border-radius:0;box-shadow:none;color:#f3f3f2;text-align:left;font-family:Inter,sans-serif;font-size:17px;font-weight:400;line-height:24px;transform:none;transition:background-color 160ms ease}
.alo19-card>.preference-toggle:active,.alo19-card>.alo19-link:active{background:#1c1c1f}
.alo19-card>*+*::before{content:'';position:absolute;left:20px;right:20px;top:0;height:1px;background:#2a2a2e;pointer-events:none}
.alo19-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.alo19-copy>span{overflow-wrap:anywhere}
.alo19-copy>small{font-size:13px;line-height:18px;color:#9c9ba3}
.alo19-link>.icon{width:17px;height:17px;color:#9c9ba3;flex:none}
.alo19-card .preference-switch{flex:0 0 45px;width:45px;height:27px;border-radius:20px;background:#48484d;transition:background-color 200ms ease}
.alo19-card .preference-switch::after{left:3px;top:3px;width:21px;height:21px;background:#f3f3f2;transition:transform 260ms cubic-bezier(.22,1,.36,1),background-color 200ms ease}
.alo19-card [aria-checked=true] .preference-switch{background:#f3f3f2}
.alo19-card [aria-checked=true] .preference-switch::after{background:#151517;transform:translateX(18px)}
.alo19-card .preference-toggle[aria-busy=true]{opacity:1}
.alo19-card.is-muted>.preference-toggle .alo19-copy{opacity:.5}
.alo19-note{margin:14px 6px 0;color:#9c9ba3;font-size:13px;line-height:19px}
.alo19-preferences{padding:0}
.alo19-preferences .reference-heading{margin-bottom:22px}
.alo19-preferences .alo19-card+.alo19-card{margin-top:16px}
.alo19-preferences .alo19-note{margin-top:16px}
@media(prefers-reduced-motion:reduce){.alo19-card .preference-switch,.alo19-card .preference-switch::after,.alo19-card>*{transition:none}}

/* Deleted media inside the event card */
.event19-media{display:block;width:100%;padding:0;margin:0;background:none;border:0;border-radius:0;color:inherit;text-align:left;transform:none}
.event19-frame{position:relative;isolation:isolate;display:block;width:min(100%,calc(232px * var(--ar,1)));aspect-ratio:var(--ar,1);border-radius:18px;overflow:hidden;background:#1d1d20}
.event19-frame>.media-placeholder{z-index:0;color:#56565c}
.event19-frame>img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 260ms ease}
.event19-frame>img.image-ready{opacity:1}
.event19-frame>img.image-cached{transition:none}
.event19-play{position:absolute;z-index:2;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.42);color:#fff}
.event19-play>.icon{width:18px;height:18px;margin-left:2px;fill:currentColor;stroke:none}
.event19-frame>.event19-duration{position:absolute;z-index:2;left:10px;bottom:9px;padding:2px 8px;border-radius:10px;background:rgba(0,0,0,.45);color:#fff}
.event19-duration{font-family:var(--alo-pixel);font-weight:400;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
.event19-voice{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 16px 10px 10px;border-radius:18px;background:#1d1d20}
.event19-voice-play{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:#f3f3f2;color:#151517}
.event19-voice-play>.icon{width:15px;height:15px;margin-left:2px;fill:currentColor;stroke:none}
.event19-voice .real-wave{height:30px}
.event19-voice>.event19-duration{flex:none;color:#9c9ba3;font-size:13px}
.event19-file{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px 12px 12px;border-radius:18px;background:#1d1d20}
.event19-file-icon{width:40px;height:40px;flex:none;border-radius:13px;display:grid;place-items:center;background:#2a2a2e;color:#c9c8ce}
.event19-file-icon>.icon{width:20px;height:20px}
.event19-file-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.event19-file-copy>strong{font-family:Inter,sans-serif;font-weight:500;font-size:16px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event19-file-copy>small{font-size:13px;line-height:18px;color:#9c9ba3}
.event19-file>.icon:last-child{width:16px;height:16px;color:#9c9ba3;flex:none}
.event19-round .round-player{width:136px;margin:0}
.event19-round .round-player.is-expanded{width:min(320px,100%)}
.event19-round .round-message-time{display:none}
.event19-sticker .sticker-host{width:132px;margin:0}
.event19-has-media>.event-text{margin-top:12px}

/* An edited time or number: two pixel values side by side, like the Versions screen */
.event19-clock-text{font-family:Inter,sans-serif;font-size:17px;line-height:1.45;margin:0;overflow-wrap:anywhere}
.event19-clock-pair{display:flex;align-items:stretch;gap:8px;margin:10px 0 0}
.event19-clock-pair>span:not(.event19-clock-arrow){flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:5px;padding:12px 14px 14px;border-radius:17px;background:#1d1d20}
.event19-clock-pair>.event19-clock-now{background:#26262a}
.event19-clock-pair small{font-family:Inter,sans-serif;font-size:12px;line-height:16px;color:#99989f}
.event19-clock-pair b{font-family:var(--alo-pixel);font-weight:400;font-size:clamp(26px,8.6vw,34px);line-height:1.15;color:#f3f3f2;white-space:nowrap;overflow:hidden;text-overflow:clip}
.event19-clock-was>b{color:#8e8d94}
.event19-clock-arrow{align-self:center;flex:none;display:grid;place-items:center;width:22px;color:#77767e}
.event19-clock-arrow>.icon{width:18px;height:18px}
.event19-clock-suffix{margin-top:10px}
.event-card mark{background:#353539;color:inherit}
.event-before mark{background:#323236}

/* Circles: a real two-column grid (the six-column photo mosaic no longer applies) */
.reference-media .media-grid.round-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;margin:0}
.round-library-card .round-player{width:100%;margin:0}
.round-library-card .round-message-time{display:none}
.round-library-card .round-meta{padding:6px 4px 0;min-height:28px}
.round-library-person{margin-top:8px;gap:10px}
.round-library-person>span{gap:2px}
.round-library-person strong{font-size:17px;line-height:22px}
.round-library-person small{font-size:12px;line-height:16px}
.round-library-card.is-expanded .round-player{width:min(340px,100%);margin:0 auto}
.round-library-card.is-expanded .round-library-person{justify-content:center}

/* Dialog: the saved-history note ends the list instead of floating over messages */
.alo19-history-end{display:flex;align-items:center;justify-content:center;gap:9px;margin:30px 0 4px;font-family:Inter,sans-serif;font-size:13px;line-height:20px;color:#74747c}
.alo19-history-end>.icon{width:16px;height:16px;stroke-width:1.5}

/* A ring that has not started is empty: no stray dot at twelve o'clock */
.round-progress .round-elapsed{stroke-linecap:butt}

/* Search: one clear button, and an empty scene that says what it searches */
.pdf-ui input[type=search]::-webkit-search-cancel-button,.pdf-ui input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.alo19-search-hint{display:flex;flex-direction:column;align-items:center;text-align:center;margin:76px auto 0;max-width:330px;padding:0 12px}
.alo19-search-hint h2{font-family:'Inter',sans-serif;font-size:23px;line-height:30px;font-weight:400;margin:23px 0 10px}
.alo19-search-hint p{font-size:16px;line-height:23px;color:var(--muted);margin:0}

/* Videos are titled by the sender */
.pdf-video-title.pixel-name{font-family:var(--alo-pixel);font-size:20px;line-height:26px;padding-top:12px}

/* Someone without a profile photo: one neutral pixel figure, never initials or a random picture */
.avatar:empty,.avatar:has(>img.image-unavailable){background:#1d1d20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath fill='%234a4a50' d='M4 2h4v4H4zM3 7h6v1H3zM2 8h8v2H2z'/%3E%3C/svg%3E") center/44% no-repeat}

/* Day headings in the event feeds */
.event19-day{margin:30px 4px 14px}
.dialog-list>.event19-day:first-child{margin-top:4px}
.pdf-ui .event19-skeleton{display:block;min-height:0;padding:16px 16px 20px;margin:0 0 18px;border-radius:26px;background:#141416}
.event19-skeleton-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.pdf-ui .event19-skeleton .circle{width:44px;height:44px;background:#232326}
.event19-skeleton .bars{flex:1}
.event19-skeleton .bar{background:#232326;margin:8px 0}

/* ALO_20 — a dialog that says what it holds, a profile that summarises it, reference player
   controls, compact voice rows, whole-word marks. Same Alo Pixel / Inter, same #151517 surfaces. */

/* Dialog tabs with counts */
.reference-chat-tabs .chip{display:inline-flex;align-items:baseline;gap:7px}
.tab20-count{font-family:var(--alo-pixel);font-weight:400;font-size:15px;line-height:24px;color:#6f6e75;font-variant-numeric:tabular-nums}
.reference-chat-tabs .chip.active .tab20-count{color:#626166}
.reference-chat-tabs{position:relative}
.tab20-pill{position:absolute;left:0;top:var(--y,0px);width:var(--w,0px);height:var(--h,34px);border-radius:22px;background:#f3f3f2;transform:translateX(var(--x,0px));opacity:0;pointer-events:none;z-index:0;transition:transform 320ms cubic-bezier(.22,1,.36,1),width 320ms cubic-bezier(.22,1,.36,1)}
.reference-chat-tabs.has-pill>.tab20-pill{opacity:1}
.reference-chat-tabs.has-pill>.chip{position:relative;z-index:1;transition:color 240ms ease}
.reference-chat-tabs.has-pill>.chip.active{background:none}
.reference-chat-tabs>.chip .tab20-count{transition:color 240ms ease}
@media(prefers-reduced-motion:reduce){.tab20-pill,.reference-chat-tabs.has-pill>.chip,.reference-chat-tabs>.chip .tab20-count{transition:none}}

/* A voice message fits its bubble: the length stays inside */
.reference-chat .bubble>.voice-inline{width:100%;min-width:min(240px,100%)}

/* Profile */
.pdf-profile .profile20{display:flex;flex-direction:column;padding-bottom:8px}
.profile20-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:4px 8px 0}
.profile20-hero>.avatar.large{width:112px;height:112px}
.pdf-ui .profile20-name{font-family:var(--alo-pixel);font-weight:400;font-size:clamp(30px,9vw,36px);line-height:1.15;letter-spacing:normal;margin:18px 0 0;max-width:100%;overflow-wrap:anywhere}
.profile20-handle{margin:6px 0 0;font-size:15px;line-height:21px;color:#c9c8ce}
.profile20-since{margin:3px 0 0;font-size:13px;line-height:19px;color:#8e8d94}
.profile20-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 0;border-radius:27px;background:#151517;overflow:hidden}
.pdf-ui .profile20-stat{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:94px;padding:16px 6px 15px;margin:0;border:0;border-radius:0;background:none;color:#f3f3f2;box-shadow:none;transform:none}
.profile20-stat+.profile20-stat::before{content:'';position:absolute;left:0;top:22px;bottom:22px;width:1px;background:#2a2a2e}
.pdf-ui .profile20-stat:active{background:#1c1c1f}
.pdf-ui .profile20-stat:disabled{opacity:1}
.profile20-stat>strong{font-family:var(--alo-pixel);font-weight:400;font-size:clamp(26px,8.2vw,32px);line-height:38px;font-variant-numeric:tabular-nums;white-space:nowrap}
.profile20-stat>small{font-size:13px;line-height:18px;color:#9c9ba3;white-space:nowrap}
.profile20-stat.is-zero>strong{color:#5f5e64}
.profile20-skeleton{display:block;width:34px;height:24px;margin:7px auto;border-radius:8px;background:#232326}
.profile20-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 0}
.pdf-ui .profile20-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:72px;padding:12px 4px 11px;margin:0;border:0;border-radius:21px;background:#151517;color:#f3f3f2;font-size:13px;line-height:17px;font-weight:400;box-shadow:none;transform:none}
.pdf-ui .profile20-action>.icon{width:22px;height:22px;stroke-width:1.6}
.pdf-ui .profile20-action:active{background:#1c1c1f}
.pdf-ui .profile20-action:disabled{opacity:.42}
.profile20-action>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile20-media{margin:30px 0 0}
.profile20-media-head{display:flex;align-items:center;justify-content:space-between;margin:0 4px 12px}
.pdf-ui .profile20-media-head .pdf-section{margin:0}
.pdf-ui .profile20-all{display:inline-flex;align-items:center;gap:3px;padding:6px 0 6px 12px;margin:0;border:0;background:none;color:#9c9ba3;font-size:14px;line-height:20px;transform:none}
.profile20-all>.icon{width:14px;height:14px}
.profile20-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.pdf-ui .profile20-thumb{position:relative;isolation:isolate;display:block;aspect-ratio:1;padding:0;margin:0;border:0;border-radius:15px;overflow:hidden;background:#1d1d20;transform:none}
.profile20-thumb>.media-placeholder{z-index:0;color:#4f4f55}
.profile20-thumb>.media-placeholder>.icon{width:20px;height:20px}
.profile20-thumb>img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 260ms ease}
.profile20-thumb>img.image-ready{opacity:1}
.profile20-thumb>img.image-cached{transition:none}
.pdf-ui .profile20-card{margin:16px 0 0;border:0;border-radius:27px;background:#151517;overflow:hidden}
.profile20-actions+.profile20-card,.profile20-media+.profile20-card{margin-top:28px}

/* Message, file and media sheets */
.sheet20-quote{margin:2px 0 20px;padding:14px 16px 13px;border-radius:18px;background:#222226}
.sheet20-quote>blockquote{margin:0;font-size:16px;line-height:23px;color:#f3f3f2;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.sheet20-quote>figcaption{margin-top:8px;font-size:13px;line-height:18px;color:#8e8d94}
.sheet20-quote.is-deleted>blockquote{color:#c9c8ce}
.pdf-sheet .sheet20-act .end .icon{width:17px;height:17px;color:#8e8d94}

/* Search: whole words, wrapped cleanly */
mark{-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Voice rows are compact until they play, as in the reference */
.reference-media .pdf-voice-card:not(.is-playing){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;min-height:0}
.reference-media .pdf-voice-card:not(.is-playing)>.pdf-media-person{grid-column:1/-1;margin-bottom:12px}
.reference-media .pdf-voice-card:not(.is-playing)>.pdf-voice-wave{grid-column:1;min-width:0}
.reference-media .pdf-voice-card:not(.is-playing)>.pdf-voice-meta{grid-column:2;margin:0 4px 0 0;align-self:center}
.reference-media .pdf-voice-card:not(.is-playing)>.pdf-voice-meta>span:first-child{display:none}

/* Video: the reference control bar */
.pdf-viewer .viewer-stage .viewer20-video{position:relative;isolation:isolate;display:block;width:min(100%,calc(56dvh * var(--ar,1.6)));aspect-ratio:var(--ar,1.6);margin:0 auto;border-radius:24px;overflow:hidden;background:#151517}
.pdf-viewer .viewer-stage .viewer20-video>video.full{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:0;background:#151517}
.pdf-ui .viewer20-center{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:none;color:#fff;box-shadow:none;transform:none}
.viewer20-center>.icon{width:58px;height:58px;padding:19px 18px 19px 21px;border-radius:50%;background:rgba(0,0,0,.45);fill:currentColor;stroke:none;transition:opacity 200ms ease,transform 240ms cubic-bezier(.22,1,.36,1)}
.viewer20-video.is-playing>.viewer20-center>.icon{opacity:0;transform:scale(.82)}
.viewer20-controls{display:flex;align-items:center;gap:16px;margin:12px 0 0;padding:13px 18px 11px 16px;border-radius:22px;background:#151517}
.pdf-ui .viewer20-play,.pdf-ui .viewer20-volume{flex:none;display:grid;place-items:center;width:32px;height:32px;padding:0;margin:0 0 14px;border:0;border-radius:50%;background:none;box-shadow:none;transform:none}
.pdf-ui .viewer20-play{color:#f3f3f2}
.viewer20-play>.icon{width:20px;height:20px;fill:currentColor;stroke:none}
.pdf-ui .viewer20-volume{color:#9c9ba3}
.viewer20-volume>.icon{width:21px;height:21px}
.viewer20-track{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.viewer20-rail{position:relative;height:20px}
.viewer20-rail::before{content:'';position:absolute;left:0;right:0;top:9px;height:2px;border-radius:1px;background:#3a3a3f}
.viewer20-rail>i{position:absolute;left:0;right:0;top:9px;height:2px;border-radius:1px;background:#f3f3f2;transform:scaleX(var(--p,0));transform-origin:0 50%}
.viewer20-seek{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}
.viewer20-seek::-webkit-slider-runnable-track{height:20px;background:transparent;border:0}
.viewer20-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;margin-top:4.5px;border-radius:50%;background:#f3f3f2;border:0}
.viewer20-seek::-moz-range-track{height:20px;background:transparent;border:0}
.viewer20-seek::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#f3f3f2}
.viewer20-seek:focus-visible{outline:2px solid #8e8d94;outline-offset:2px;border-radius:4px}
.viewer20-times{display:flex;justify-content:space-between;font-family:var(--alo-pixel);font-weight:400;font-size:12px;line-height:16px;color:#8e8d94;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.viewer20-center>.icon{transition:none}}

/* Storage: composition and what the archive holds */
.storage20-bar{display:flex;gap:3px;height:8px;margin:22px 0 0}
.storage20-bar>i{display:block;flex-basis:0;min-width:5px;border-radius:4px}
.storage20-tone0{background:#f3f3f2}.storage20-tone1{background:#a9a8ae}.storage20-tone2{background:#6c6b71}.storage20-tone3{background:#414146}
.storage20-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 0;border-radius:27px;background:#151517;overflow:hidden}
.storage20-facts>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px 4px 15px;text-align:center;min-width:0}
.storage20-facts>div+div::before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:1px;background:#2a2a2e}
.storage20-facts strong{font-family:var(--alo-pixel);font-weight:400;font-size:clamp(20px,6.2vw,25px);line-height:31px;font-variant-numeric:tabular-nums;white-space:nowrap}
.storage20-facts small{font-size:12px;line-height:16px;color:#9c9ba3;white-space:nowrap}
.storage20-since{margin:12px 6px 0;font-size:13px;line-height:19px;color:#8e8d94}
.pdf-storage-types .row>.storage20-dot{display:block;flex:none;width:8px;height:8px;border-radius:2px;margin-right:-6px}

/* Export: the knob is visible on the white track, as in the reference */
.pdf-export-options .toggle{position:relative;padding:3px}
.pdf-export-options .toggle::before{width:21px;height:21px;background:#f3f3f2;box-shadow:none}
.pdf-export-options .toggle.on::before{background:#151517;transform:translateX(18px)}
.pdf-export-options .toggle::after{content:none}

/* A pinned dialog */
.dialog20-pin{display:inline-grid;place-items:center;width:14px;height:14px;margin-right:5px;vertical-align:-2px;color:#77767e;font-style:normal}
.dialog20-pin>.icon{width:14px;height:14px;stroke-width:1.8}

/* About saving, and media for one view */
.pdf-ui .info20-card{margin:0}
.info20-item{position:relative;display:flex;align-items:flex-start;gap:16px;padding:18px 20px 19px}
.info20-item+.info20-item::before{content:'';position:absolute;left:20px;right:20px;top:0;height:1px;background:#2a2a2e}
.info20-item>.icon{flex:none;width:22px;height:22px;margin-top:1px;color:#c9c8ce}
.info20-item .alo19-copy{gap:4px}
.info20-item .alo19-copy>span{font-size:17px;line-height:24px}
.info20-section{margin:30px 4px 14px}
.info20-once{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 12px 0}
.info20-once-mark{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#151517;color:#f3f3f2}
.info20-once-mark>.icon{width:32px;height:32px}
.info20-once-mark>b{position:absolute;right:-4px;bottom:2px;min-width:28px;height:28px;padding:0 8px;border-radius:14px;background:#f3f3f2;color:#101012;font-family:var(--alo-pixel);font-weight:400;font-size:14px;line-height:28px}
.info20-once>p{margin:20px 0 0;max-width:320px;font-size:16px;line-height:23px;color:#c9c8ce}
.info20-steps{margin-top:28px}

/* Media scoped to one dialog */
.media20-scope{display:flex;align-items:center;gap:9px;margin:-8px 4px 18px;font-size:14px;line-height:20px;color:#9c9ba3;min-width:0}
.media20-scope>.avatar{width:22px;height:22px;flex:none}
.media20-scope>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ALO_21 — one list language for the three lenses, a pill that inverts the text under it,
   dense dialog bubbles with the time inside, and a profile that summarises the archive.
   Same Alo Pixel / Inter, same #151517 surfaces, no gradients, no new borders. */

/* Home: heading with three places, tighter rhythm */
.reference-home .heading-actions{gap:4px}
.reference-home .heading-actions>.icon-button{width:40px;height:40px}
.reference-home>.recent-tabs{margin-bottom:16px}
.reference-home .dialog-row{min-height:80px}
.reference-home .dialog-copy{padding:12px 0 13px}
.reference-home .dialog-top{margin-bottom:4px}

/* The pill inverts exactly the text it covers, also mid-swipe */
.reference-home>.recent-tabs.tabs21{isolation:isolate}
.reference-home>.recent-tabs.tabs21>.chip{position:relative;z-index:0;color:#9c9ba3;font-weight:400}
.reference-home>.recent-tabs.tabs21>.chip-cursor{z-index:1;pointer-events:none}
.tabs21-ink{position:absolute;z-index:2;pointer-events:none;color:#101012}
.reference-home>.recent-tabs.tabs21>.tabs21-ink{inset:0;display:flex;align-items:center;justify-content:space-between;gap:6px;clip-path:inset(0 calc(100% - var(--recent-x,0px) - var(--recent-width,54px)) 0 var(--recent-x,0px) round 17px);transition:clip-path 280ms var(--ease)}
.reference-home>.recent-tabs.tabs21>.tabs21-ink>span{flex:0 1 auto;height:34px;padding:5px 12px;font-size:16px;line-height:24px;font-weight:400;white-space:nowrap}
.reference-home>.recent-tabs.is-dragging .tabs21-ink{transition:none}

.reference-chat-tabs.tabs21{position:relative;isolation:isolate}
.reference-chat-tabs.tabs21>.chip{position:relative;z-index:0}
.reference-chat-tabs.tabs21.has-pill>.chip,.reference-chat-tabs.tabs21.has-pill>.chip.active{background:none;color:#9c9ba3;font-weight:400}
.reference-chat-tabs.tabs21>.tab20-pill{z-index:1;top:var(--y,0px);width:var(--w,0px);height:var(--h,34px);transform:translateX(var(--x,0px))}
.reference-chat-tabs.tabs21>.tabs21-ink{inset:0;display:flex;align-items:center;justify-content:space-between;gap:20px;opacity:0;clip-path:inset(var(--y,0px) calc(100% - var(--x,0px) - var(--w,0px)) calc(100% - var(--y,0px) - var(--h,34px)) var(--x,0px) round 17px);transition:clip-path 320ms cubic-bezier(.22,1,.36,1)}
.reference-chat-tabs.tabs21.has-pill>.tabs21-ink{opacity:1}
.reference-chat-tabs.tabs21>.tabs21-ink>span{flex:0 1 auto;display:inline-flex;align-items:baseline;gap:7px;min-height:34px;padding:5px 12px;font-size:16px;line-height:24px;font-weight:400;white-space:nowrap}
.reference-chat-tabs.tabs21>.tabs21-ink .tab20-count{color:#626166}
.tabs21-instant>.tab20-pill,.tabs21-instant>.tabs21-ink{transition:none!important}
@media(prefers-reduced-motion:reduce){.tabs21-ink{transition:none!important}}

/* «Все»: a deleted last message shows the bin, as in the reference */
.preview21-bin{display:inline-grid;vertical-align:-2px;margin-right:6px;color:#8e8d94}
.preview21-bin>.icon{width:15px;height:15px;stroke-width:1.6}

/* «Удалённые»: the same row as «Все»; the content is the point, so it is white */
.dialog-list>.event21-deleted{display:block;padding:0;margin:0;border-radius:0;background:none;overflow:visible;min-width:0}
.pdf-ui .event21-open{display:flex;align-items:center;gap:0;width:100%;min-height:80px;padding:0 0 0 2px;margin:0;border:0;border-radius:0;background:none;color:#f3f3f2;text-align:left;box-shadow:none;transform:none}
.event21-open>.avatar{width:52px;height:52px;min-width:52px;margin-right:16px}

.event21-copy{flex:1;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:12px 0 13px}
.dialog-list>.event21-deleted::after{content:'';display:block;height:1px;margin-left:70px;background:#232326}
.dialog-list>.event21-deleted:last-child::after{display:none}
.event21-top{display:flex;align-items:baseline;gap:8px;margin-bottom:4px;min-width:0}
.event21-top>.pixel-name{flex:1;min-width:0;font-size:21px;line-height:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event21-top>.date{flex:none;font-family:'Inter',sans-serif;font-size:12.5px;line-height:18px;color:#9c9ba3;white-space:nowrap}
.event21-line{display:flex;align-items:flex-start;gap:7px;min-width:0}
.event21-line>.icon{flex:none;width:15px;height:15px;margin-top:4.5px;color:#8e8d94;stroke-width:1.6}
.event21 .event-body{flex:1;min-width:0;font-family:'Inter',sans-serif;font-size:17px;line-height:24px;color:#f3f3f2;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.event21.is-expanded .event-body{display:block;overflow:visible}
.event21-open>.event21-copy{gap:0}
.event21-deleted>.event21-open{position:relative}
.event21-open>.event21-side{position:absolute;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:flex-end;gap:0;padding:20px 0 0;pointer-events:none}
.event21-deleted .event21-top{padding-right:58px}
.event21-deleted .event21-line.has-thumb{padding-right:44px}
.event21-side>.date{font-family:'Inter',sans-serif;font-size:12.5px;line-height:18px;color:#9c9ba3;white-space:nowrap}
.event21-thumb{position:relative;isolation:isolate;flex:none;display:block;width:34px;height:34px;border-radius:9px;overflow:hidden;background:#1d1d20}
.event21-deleted .event21-top{display:block;margin-bottom:4px}
.event21-deleted .event21-top>.pixel-name{display:block}
.event21-thumb.is-round{border-radius:50%}
.event21-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 220ms ease}
.event21-thumb>img.image-ready{opacity:1}
.event21-thumb>img.image-cached{transition:none}
.event21-thumb>i{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#fff}
.event21-thumb>i>.icon{width:13px;height:13px;fill:currentColor;stroke:none;filter:drop-shadow(0 0 3px rgba(0,0,0,.6))}
.pdf-ui .dialog-list>.event21-deleted>.event-expand{display:block;margin:-6px 0 0 70px;padding:0 0 12px;font-size:14px;line-height:20px;color:#c9c8ce;background:none;border:0}
.pdf-ui .dialog-list>.event21>.event-expand[hidden]{display:none}

/* «Правки»: the reference card — what it says now, and what it said before */
.dialog-list>.event21-edit{display:block;padding:14px 14px 14px 12px;margin:0 0 10px;border-radius:24px;background:#151517;overflow:hidden;min-width:0}
.event21-edit>.event21-open{align-items:flex-start;gap:14px;min-height:0;padding:0}
.event21-edit>.event21-open>.avatar{width:44px;height:44px;min-width:44px}
.event21-edit .event21-copy{padding:0;border:0;justify-content:flex-start}
.event21-edit .event21-top{margin-bottom:3px}
.event21-edit .event21-top>.pixel-name{font-size:20px;line-height:26px}
.event21-edit .event21-text{-webkit-line-clamp:3}
.pdf-ui .dialog-list>.event21-edit>.event-expand{display:block;margin:6px 0 0 58px;padding:0;font-size:14px;line-height:20px;color:#c9c8ce;background:none;border:0}
.pdf-ui .event21-before{display:flex;align-items:center;gap:9px;width:calc(100% - 58px);min-height:42px;margin:12px 0 0 58px;padding:9px 12px;border:0;border-radius:14px;background:#202023;color:#9c9ba3;font-family:'Inter',sans-serif;font-size:13px;line-height:20px;text-align:left;box-shadow:none;transform:none}
.event21-before>.icon{flex:none;width:16px;height:16px;stroke-width:1.5}
.event21-before>.icon:last-child{margin-left:auto;width:19px;height:19px;color:#f3f3f2}
.event21-before .before-value{flex:0 1 auto;min-width:0;font-family:var(--alo-pixel);font-size:16px;line-height:22px;color:#c9c8ce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.event21-was{flex:none}
.event21-skeletons{display:flex;flex-direction:column;gap:10px}
.pdf-ui .event21-skeleton{display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start;padding:14px 14px 14px 12px;margin:0;border-radius:24px;background:#141416;min-height:0}
.pdf-ui .event21-skeleton .circle{width:44px;height:44px;background:#232326}
.event21-skeleton .bar{background:#232326;margin:6px 0 10px}
.event21-skeleton-pill{grid-column:2;height:42px;border-radius:14px;background:#1c1c1f;margin-top:4px}

/* Dialog: time inside the bubble, tighter rhythm, lighter history row */
.reference-chat .chat-head{margin-bottom:20px}
.reference-chat .message-line{margin:0 0 6px}
.reference-chat .message-line.out+.message-line:not(.out),.reference-chat .message-line:not(.out)+.message-line.out{margin-top:10px}
.reference-chat .date-chip{margin:22px auto 14px}
.reference-chat .bubble p:has(>.meta21){display:flow-root}
.reference-chat .bubble p>.meta21{float:right;display:block;margin:8px 0 0 14px;padding:0;font-family:var(--alo-pixel);font-weight:400;font-size:12px;line-height:17px;color:#9c9ba3;white-space:nowrap;pointer-events:none}
.reference-chat .bubble>.meta21{margin-top:8px}
.reference-chat .bubble.media-bubble.media-only{position:relative}
.reference-chat .bubble.media-bubble.media-only>.meta21{position:absolute;right:26px;bottom:21px;z-index:2;margin:0;padding:1px 8px;border-radius:10px;background:rgba(0,0,0,.5);color:#f3f3f2;pointer-events:none}
.pdf-ui.reference-chat .message-history,.reference-chat .message-history{min-height:48px;padding:10px 0 0;margin:12px 0 0}
.reference-chat .bubble.has-history p{padding-bottom:2px}

/* Profile: the summary, then one quiet list */
.pdf-ui .profile21-list{margin:16px 0 0;border:0;border-radius:27px;background:#151517;overflow:hidden}
.profile21-pin{position:relative}
.profile21-pin>.row-copy{flex:1;text-align:left}
.profile21-switch{position:relative;flex:0 0 45px;width:45px;height:27px;border-radius:20px;background:#48484d;transition:background-color 200ms ease}
.profile21-switch::after{content:'';position:absolute;left:3px;top:3px;width:21px;height:21px;border-radius:50%;background:#f3f3f2;transition:transform 260ms cubic-bezier(.22,1,.36,1),background-color 200ms ease}
.profile21-pin[aria-checked=true] .profile21-switch{background:#f3f3f2}
.profile21-pin[aria-checked=true] .profile21-switch::after{background:#151517;transform:translateX(18px)}
.profile21 .profile20-stats+.profile21-list{margin-top:12px}
.profile21 .profile21-list+.profile20-card{margin-top:16px}
@media(prefers-reduced-motion:reduce){.profile21-switch,.profile21-switch::after{transition:none}}

/* Search: message rows in the list language */
.pdf-ui .search21-row{position:relative;display:flex;align-items:center;width:100%;min-height:80px;padding:0 0 0 2px;margin:0;border:0;border-radius:0;background:none;color:#f3f3f2;text-align:left;box-shadow:none;transform:none}
.search21-row>.avatar{width:52px;height:52px;min-width:52px;margin-right:16px}
.search21-row .event21-top{display:block;padding-right:58px;margin-bottom:4px}
.search21-row .event21-top>.pixel-name{display:block}
.search21-row .event-body{flex:1;min-width:0;font-family:'Inter',sans-serif;font-size:17px;line-height:24px;color:#f3f3f2;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.search21-row .event21-line{display:flex;align-items:flex-start;gap:7px;min-width:0}
.search21-row .event21-copy{flex:1;min-width:0;padding:12px 0 13px}
.search21-row .event21-side{position:absolute;right:0;top:0;padding-top:20px}
.search21-row .event21-side>.date{font-family:'Inter',sans-serif;font-size:12.5px;line-height:18px;color:#9c9ba3;white-space:nowrap}
.search21-row .event21-top>.pixel-name{font-size:21px;line-height:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search21-row+.search21-row::before{content:'';position:absolute;left:70px;right:0;top:0;height:1px;background:#232326}
.search21-mark{flex:none;display:inline-grid;margin-top:4.5px;color:#8e8d94}
.search21-mark>.icon{width:15px;height:15px;stroke-width:1.6}
.search21-you{color:#9c9ba3}
.pdf-search .pdf-search-count{margin:24px 0 8px}

/* Voice: rows; the one that plays is lifted onto a surface */
.reference-media .library-media-list:has(>.voice21),.reference-media .library-media-list:has(>.file21){display:block}
.reference-media .pdf-voice-card.voice21{position:relative;display:flex;align-items:flex-start;gap:14px;min-height:0;padding:12px 2px 12px 2px!important;margin:0;border-radius:22px;background:none}
.reference-media .pdf-voice-card.voice21>.avatar{width:44px;height:44px;min-width:44px;margin-top:2px}
.reference-media .pdf-voice-card.voice21+.voice21::before{content:'';position:absolute;left:60px;right:2px;top:0;height:1px;background:#232326}
.reference-media .pdf-voice-card.voice21.is-playing{background:#151517;padding:12px 14px 12px 12px!important;margin:4px 0}
.reference-media .pdf-voice-card.voice21.is-playing::before,.reference-media .pdf-voice-card.voice21.is-playing+.voice21::before{display:none}
.voice21-copy{flex:1;min-width:0}
.voice21-top{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}
.voice21-top>.pixel-name{flex:1;min-width:0;font-size:19px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.voice21-top>.date{flex:none;font-size:12.5px;line-height:18px;color:#9c9ba3}
.voice21 .pdf-voice-wave{display:flex;align-items:center;gap:10px;min-height:34px}
.voice21 .pdf-voice-wave .voice-play{width:32px;height:32px;min-width:32px;padding:7px;border-radius:50%;background:#202023;color:#f3f3f2}
.voice21.is-playing .pdf-voice-wave .voice-play{background:#f3f3f2;color:#101012}
.voice21 .voice-seek-shell{flex:1;min-width:0}
.voice21 .pdf-voice-wave .real-wave{height:30px}
.voice21 .pdf-voice-meta{flex:none;display:inline-flex;gap:0;margin:0;font-family:var(--alo-pixel);font-size:12px;line-height:16px;color:#9c9ba3}
.voice21:not(.is-playing) .pdf-voice-meta>span:first-child{display:none}
.voice21.is-playing .pdf-voice-meta>span:first-child::after{content:'\00a0/\00a0'}
.voice21 .pdf-voice-speed{display:block;margin:4px 0 0 auto;padding:2px 0;font-family:var(--alo-pixel);font-size:12px;line-height:16px;color:#9c9ba3;background:none;border:0}
.voice21>.pdf-row-pick{align-self:center}

/* Files: rows with the extension set in Alo Pixel */
.reference-media .pdf-file-card.file21{position:relative;display:flex;align-items:center;gap:0;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0;background:none}
.reference-media .pdf-file-card.file21+.file21::before{content:'';position:absolute;left:62px;right:0;top:0;height:1px;background:#232326}
.pdf-ui .file21-open{flex:1;min-width:0;display:flex;flex-direction:row;align-items:center;gap:16px;min-height:72px;padding:10px 2px;margin:0;border:0;border-radius:0;background:none;color:#f3f3f2;text-align:left;box-shadow:none;transform:none}
.file21-tile{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#1d1d20;color:#c9c8ce;font-family:'Inter',sans-serif;font-weight:500;font-size:11px;line-height:14px}
.file21-tile>.icon{width:20px;height:20px}
.file21-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.file21-copy>strong{font-family:'Inter',sans-serif;font-weight:400;font-size:17px;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file21-copy>small{font-size:13px;line-height:18px;color:#9c9ba3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file21>.pdf-row-pick{flex:none;margin-left:8px}

/* Settings: the archive card carries the composition bar */
.archive-overview>.storage20-bar{display:flex;width:100%;margin:16px 0 2px}

/* Media search rows: the picture stands where an avatar would */
.media-search-results{display:block}
.search21-row>.media21-visual{position:relative;isolation:isolate;flex:none;display:grid;place-items:center;width:52px;height:52px;margin-right:16px;border-radius:12px;overflow:hidden;background:#1d1d20;color:#c9c8ce;font-family:'Inter',sans-serif;font-weight:500;font-size:11px;line-height:14px}
.search21-row>.media21-visual.is-round{border-radius:50%}
.search21-row>.media21-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 220ms ease}
.search21-row>.media21-visual>img.image-ready{opacity:1}
.search21-row>.media21-visual>img.image-cached{transition:none}
.search21-row>.media21-visual>i{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#fff}
.search21-row>.media21-visual>i>.icon{width:15px;height:15px;fill:currentColor;stroke:none;filter:drop-shadow(0 0 3px rgba(0,0,0,.6))}
.search21-row>.media21-visual>.icon{width:20px;height:20px}

/* Narrow phones: the dialog tabs and their ink keep one geometry */
@media(max-width:359px){
 .reference-chat-tabs.tabs21{gap:6px}
 .reference-chat-tabs.tabs21>.chip,.reference-chat-tabs.tabs21>.tabs21-ink>span{padding:5px 8px;gap:5px}
 .reference-chat-tabs.tabs21>.tabs21-ink{gap:6px}
}

/* ALO_22 — each section keeps its own character; the life line is the archive's signature.
   Same Alo Pixel / Inter, same #151517 surfaces, thin data lines only, no gradients. */

/* Event cards: person, content, life line */
.dialog-list>.life22-card{padding:14px 16px 12px;margin:0 0 12px;border-radius:24px;background:#151517}
.pdf-ui .life22-who{display:flex;align-items:center;gap:10px;width:auto;max-width:100%;padding:0;margin:0;background:none;border:0;color:#f3f3f2;text-align:left;transform:none}
.life22-who>.avatar{width:32px;height:32px;min-width:32px}
.life22-who>.pixel-name{font-family:var(--alo-pixel);font-weight:400;font-size:19px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.life22-card>.event-text,.life22-card>.event19-media,.life22-card>.event19-round,.life22-card>.event19-sticker{margin-top:12px}
.life22-card.event19-has-media>.event-text{margin-top:10px}
.life22-card .event-text>.event-body{font-size:18px;line-height:26px;-webkit-line-clamp:4}
.life22-card.event-edit .event-before{margin-top:10px}
.life22-card .event19-clock-pair{margin-top:8px}
.life22-card .event-expand{padding:8px 0 0}

/* The life line */
.life22-foot{display:block;width:100%;margin:14px 0 0;padding:0;border:0;background:none;color:inherit;text-align:left;border-radius:0;transform:none}
.pdf-ui .life22-link{display:flex;align-items:center;gap:12px;min-height:0;margin:14px 0 0;padding:0;border:0;border-radius:0;background:none;color:inherit;font-size:inherit;transform:none}
.life22-link>.life22{flex:1;min-width:0}
.life22{display:flex;align-items:center;gap:10px;min-width:0;font-family:var(--alo-pixel);font-weight:400;font-size:12.5px;line-height:18px;color:#8e8d94;white-space:nowrap}
.life22-track{flex:1;display:flex;align-items:center;gap:8px;min-width:18px}
.life22-track>i{flex:1;height:1px;min-width:6px;background:#38383d}
.life22-track>b{font-weight:400;color:#d4d3d8}
.life22-end{display:inline-flex;align-items:center;gap:6px;color:#c9c8ce}
.life22-end>.icon{width:13px;height:13px;stroke-width:1.6}
.life22-more{display:inline-flex;align-items:center;gap:2px;flex:none;font-family:'Inter',sans-serif;font-size:13px;line-height:18px;color:#9c9ba3}
.life22-more>.icon{width:15px;height:15px}
.pdf-ui .life22-link:active{opacity:.7}

/* Day headings sit close to their cards */
.dialog-list>.event19-day{margin:24px 4px 12px}
.dialog-list>.event19-day:first-child{margin-top:2px}

/* Search cards: tighter, the state reads as an icon and a word */
.pdf-ui .search22-card{padding:14px 16px 14px!important;margin:0 0 12px!important;border-radius:24px}
.search22-card .pdf-result-person{margin-bottom:12px}
.search22-card .pdf-result-person>.avatar{width:40px;height:40px}
.search22-card .pdf-result-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;white-space:normal}
.search22-card .pdf-result-note{display:flex;align-items:center;gap:7px;margin-top:12px}
.search22-card .pdf-result-note>.icon:first-child{width:14px;height:14px;flex:none}
.search22-card .pdf-result-note>span{flex:1}
.search22-card .pdf-result-note>.icon:last-child{width:15px;height:15px;flex:none}

/* Profile: strip between the summary and the actions */
.profile22 .profile20-media{margin-top:26px}
.profile22 .profile20-media+.profile21-list{margin-top:16px}

/* ALO_23 — the concept, exactly: the deleted feed is the concept's list, edits are the concept's
   cards, the dialog and data screens are the concept's again. Kept quiet: thumbnails of deleted
   pictures, the photo zoom, a one-time glow on a reached message. No gradients, no new borders. */

/* «Удалённые»: the concept's rows */
.dialog-list>.event23-deleted{position:relative;display:block;padding:0;margin:0;border-radius:0;background:none;overflow:visible;min-width:0}
.dialog-list>.event23-deleted::after{content:'';display:block;height:1px;margin-left:68px;background:#232326}
.dialog-list>.event23-deleted:last-child::after{display:none}
.reference-home .event23-deleted>.dialog-row{position:relative}
.reference-home .event23-deleted .dialog-copy{border-bottom:0}
.reference-home .event23-deleted .removed-preview{margin:2px 0 3px}
.reference-home .event23-deleted .preview.event-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;font-family:'Inter',sans-serif;font-size:17px;line-height:24px;color:var(--fg);margin:0}
.reference-home .event23-deleted.is-expanded .preview.event-body{display:block;overflow:visible;-webkit-line-clamp:unset}
.reference-home .event23-deleted.has-thumb .removed-preview,.reference-home .event23-deleted.has-thumb .preview.event-body{padding-right:52px}
.deleted23-thumb{position:absolute;right:0;bottom:14px;isolation:isolate;display:block;width:40px;height:40px;border-radius:10px;overflow:hidden;background:#1d1d20}
.deleted23-thumb.is-round{border-radius:50%}
.deleted23-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 220ms ease}
.deleted23-thumb>img.image-ready{opacity:1}
.deleted23-thumb>img.image-cached{transition:none}
.deleted23-thumb>i{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#fff}
.deleted23-thumb>i>.icon{width:12px;height:12px;fill:currentColor;stroke:none;filter:drop-shadow(0 0 3px rgba(0,0,0,.6))}
.pdf-ui .dialog-list>.event23-deleted>.event-expand{display:block;margin:-8px 0 0 68px;padding:0 0 12px;font-family:'Inter',sans-serif;font-size:14px;line-height:20px;font-weight:400;color:#c9c8ce;background:none;border:0}
.pdf-ui .dialog-list>.event23>.event-expand[hidden]{display:none}

/* «Правки»: the concept's cards, with the event time */
.dialog-list>.event23-edit{display:block;margin:0 0 20px;overflow:hidden}
.dialog-list>.event23-edit+.event23-edit{margin-top:0}
.event23-edit .featured-text.event-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;font-family:'Inter',sans-serif;font-size:17px;line-height:24px;color:#f3f3f2;margin:0}
.event23-edit.is-expanded .featured-text.event-body{display:block;overflow:visible}
.pdf-ui .dialog-list>.event23-edit>.event-expand{display:block;margin:6px 0 0 64px;padding:0;font-family:'Inter',sans-serif;font-size:14px;line-height:20px;font-weight:400;color:#c9c8ce;background:none;border:0}
.event23-edit .featured-top>.date{margin-left:auto}

/* A message reached from a feed lights up once */
.reference-chat .message-line.focus .bubble{outline:0}
.reference-chat .message-line.focus .bubble::after{content:'';position:absolute;inset:0;border-radius:inherit;background:#f3f3f2;opacity:0;pointer-events:none;animation:focus23 1.9s cubic-bezier(.22,1,.36,1) .3s 1 both}
@keyframes focus23{0%{opacity:0}16%{opacity:.16}100%{opacity:0}}

/* Photo zoom */
.zoom23{position:fixed;z-index:30;overflow:hidden;pointer-events:none;background:#151517;contain:layout paint}
.zoom23>img{display:block;width:100%;height:100%;object-fit:cover}
.zoom23-hide{opacity:0!important;transition:none!important}

@media(prefers-reduced-motion:reduce){
 .reference-chat .message-line.focus .bubble::after{animation:none}
 .reference-chat .message-line.focus .bubble{outline:1px solid #6f6e75}
}

/* The concept's rhythm (21.0.0 had tightened it) */
.reference-home .heading-actions{gap:10px}
.reference-home .heading-actions>.icon-button{width:42px;height:42px}
.reference-home>.recent-tabs{margin-bottom:31px}
.reference-home .dialog-row{min-height:87px}
.reference-home .dialog-copy{padding:14px 0 16px}
.reference-home .dialog-top{margin-bottom:6px}
.reference-chat .chat-head{margin-bottom:26px}
.reference-chat .message-line{margin:0 0 16px}
.reference-chat .message-line.out+.message-line:not(.out),.reference-chat .message-line:not(.out)+.message-line.out{margin-top:0}
.reference-chat .date-chip{margin:25px auto 21px}
.pdf-ui.reference-chat .message-history,.reference-chat .message-history{min-height:62px;padding:12px 0;margin:12px 0 0}

/* ало 24.0.0 — «Сами слова». Words first; one language for change; chrome recedes.
   One system: two fills (#161618, #1f1f22), one hairline (0.5px #2a2a2e), radii 20 / 28 / 16 / 10,
   pixel face for titles, names and bare numerals, Inter for sentences. */
:root{
 --a24-bg:#000;--a24-card:#161618;--a24-raised:#1f1f22;--a24-press:#0e0e10;--a24-hair:#2a2a2e;--a24-ghost:#3a3a3f;
 --a24-text:#f3f3f2;--a24-text2:#a3a2aa;--a24-mute:#8e8d94;--a24-text3:#77767e;--a24-text4:#55545b;--a24-ink:#0b0b0c;
 --a24-pixel:'Alo Pixel',monospace;--a24-ease:cubic-bezier(.32,.72,0,1);--a24-out:cubic-bezier(.22,1,.36,1)
}

/* ---------- Glyphs ---------- */
.a24-glyph{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.a24-glyph-play{fill:currentColor;stroke:none}
.a24-sign{display:inline-grid;flex:none;font-style:normal;color:var(--a24-text3)}
.a24-sign>.a24-glyph{width:15px;height:15px}
.a24-num{font-family:var(--a24-pixel);font-weight:400;letter-spacing:0;font-variant-numeric:normal}

/* ---------- Change language: the old is muted and struck by one pixel, the new is bright ---------- */
.a24-del{color:var(--a24-text3);text-decoration:line-through 1px currentColor;text-decoration-skip-ink:none}
.a24-ins{color:var(--a24-text);text-decoration:none}
.a24-del.is-token,.a24-ins.is-token,.a24-tok{font-family:var(--a24-pixel);font-weight:400;font-size:1em;letter-spacing:0}
/* a pixel token is struck through the middle row of its 19-row digits, one font pixel thick */
.a24-del.is-token{position:relative;text-decoration:none;white-space:nowrap}
.a24-del.is-token::after{content:'';position:absolute;left:0;right:0;top:.625em;height:.038em;min-height:1px;background:currentColor;transform-origin:0 50%;pointer-events:none}
.a24-old{display:block;margin:0 0 4px;font-size:.78em;line-height:1.36;color:var(--a24-text3);overflow:hidden;max-height:2.72em}
.a24-old>.a24-del{color:inherit}

/* ---------- Headings: one title size, crisp on 3× screens ---------- */
.pdf-ui .reference-heading{min-height:44px}
.pdf-ui .reference-heading h1{font-size:35.09px;line-height:44px;letter-spacing:0}
.pdf-ui .reference-heading .heading-actions,.pdf-ui .reference-heading>.icon-button:last-child{margin-right:-9px}
.pdf-ui .pdf-section,.pdf-ui .section-label,.pdf-ui .reference-help-title{margin:30px 0 10px;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;font-weight:400;letter-spacing:0;color:var(--a24-text2)}

/* ---------- Tabs: one control everywhere — left-aligned pills, stuck under the header while scrolling ---------- */
.reference-home>.reference-heading{margin-bottom:10px}
.reference-home>.recent-tabs{position:sticky;top:calc(var(--top,0px) + var(--content-top,0px));z-index:6;justify-content:flex-start;gap:8px;margin:0 -20px 4px;padding:8px 20px 12px;background:var(--a24-bg);transition:box-shadow 160ms ease}
.reference-home>.recent-tabs.tabs21>.tabs21-ink{justify-content:flex-start;gap:8px;padding:8px 20px 12px;transition:clip-path 380ms var(--a24-ease)}
.reference-home>.recent-tabs .chip,.reference-home>.recent-tabs.tabs21>.tabs21-ink>span{padding:5px 14px;font-size:16px;line-height:24px}
.reference-home>.recent-tabs .chip-cursor{top:8px;transition:transform 380ms var(--a24-ease),width 380ms var(--a24-ease)}
.reference-home>.recent-tabs.is-dragging .chip-cursor,.reference-home>.recent-tabs.is-dragging>.tabs21-ink{transition:none}
.reference-home .dialog-pager-track{transition-timing-function:var(--a24-ease)}
.reference-chat>.reference-chat-tabs{position:sticky;top:calc(var(--top,0px) + var(--content-top,0px));z-index:6;justify-content:flex-start;gap:8px;margin:0 -20px;padding:8px 20px 12px;background:var(--a24-bg);transition:box-shadow 160ms ease}
.reference-chat>.reference-chat-tabs.tabs21>.tabs21-ink{justify-content:flex-start;gap:8px;padding:8px 20px 12px;transition:clip-path 380ms var(--a24-ease)}
.reference-chat-tabs.tabs21>.chip,.reference-chat-tabs.tabs21>.tabs21-ink>span{padding:5px 14px;font-size:16px;line-height:24px}
.reference-chat-tabs.tabs21>.tab20-pill{transition:transform 380ms var(--a24-ease),width 380ms var(--a24-ease)}
html.a24-stuck .reference-home>.recent-tabs,html.a24-stuck .reference-chat>.reference-chat-tabs{box-shadow:0 .5px 0 #1f1f22}
/* media: the same pills on a strip that scrolls edge to edge, so the last ones peek in */
.reference-media .media-heading{margin-bottom:10px}
.reference-media .library-media-tabs.a24-mtabs{justify-content:flex-start;gap:8px;height:auto;min-height:0;margin:0 -20px 14px;padding:8px 20px 12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.reference-media .library-media-tabs.a24-mtabs::-webkit-scrollbar{display:none}
.reference-media .library-media-tabs.a24-mtabs>button{flex:none;height:34px;min-height:34px;max-height:34px;padding:0 14px;font-size:16px;line-height:24px}
.reference-media .library-media-tabs.a24-mtabs>.media-tab-indicator{transition:transform 380ms var(--a24-ease),width 380ms var(--a24-ease)}

/* ---------- «Всё»: one row per dialog, no dividers — spacing and brightness separate them ---------- */
.a24-list{display:block;min-width:0}
.a24-row{position:relative;isolation:isolate;display:flex;align-items:center;gap:14px;width:100%;min-height:76px;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;text-align:left;transform:none}
.a24-row:active{transform:none}
.a24-row::before{content:'';position:absolute;inset:0 -20px;z-index:-1;background:var(--a24-press);opacity:0;transition:opacity 160ms ease}
.a24-row:active::before{opacity:1;transition:opacity 60ms ease 70ms}
.dialog-pager.is-dragging .a24-row::before{opacity:0!important;transition:none!important}
.a24-list .a24-row .a24-row-ava{width:54px;height:54px;min-width:54px;font-size:20px}
.a24-row-copy{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:11px 0}
.a24-row-top{display:flex;align-items:baseline;gap:12px;min-width:0}
.a24-row-name{flex:1;min-width:0;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;font-weight:400;color:var(--a24-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-row-time{flex:none;display:inline-flex;align-items:center;gap:5px;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text3)}
.a24-pin{display:inline-grid;color:var(--a24-text3)}
.a24-pin>.a24-glyph{width:14px;height:14px}
.a24-preview{display:flex;align-items:center;gap:6px;min-width:0;margin-top:4px;font-size:15px;line-height:20px;color:var(--a24-text2)}
.a24-preview-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-preview.is-deleted,.a24-preview.is-edited{color:var(--a24-text)}
.a24-preview.is-deleted>.a24-sign,.a24-preview.is-edited>.a24-sign{color:var(--a24-text2)}
.a24-you{color:var(--a24-text3)}
.a24-preview-text>.a24-glyph,.a24-preview-text>.pixel-media-icon{display:inline-block;vertical-align:-3px;width:15px;height:15px;margin-right:5px;color:var(--a24-text3)}
.a24-mini{position:relative;display:inline-block;vertical-align:-4px;width:18px;height:18px;margin-right:6px;border-radius:4px;overflow:hidden;background:var(--a24-raised)}
.a24-mini.is-round{border-radius:50%}
.a24-mini>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- «Удалённые» and «Правки»: the message is the item; its note belongs to it ---------- */
.a24-list-deleted,.a24-list-edited{padding-top:4px}
.a24-item{position:relative;display:block;min-width:0;margin:0;padding:0 0 32px}
.a24-item-head{display:flex;align-items:center;gap:10px;width:100%;min-height:28px;margin:0;padding:0;border:0;background:none;color:inherit;text-align:left;transform:none}
.a24-item-head:active,.a24-item-body:active,.a24-media:active{transform:none;opacity:.72}
.a24-list .a24-item-head>.a24-item-ava{width:28px;height:28px;min-width:28px;font-size:12px}
.a24-item-name{flex:1;min-width:0;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;color:var(--a24-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-item-when{flex:none;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text3)}
.a24-item-body{display:block;width:100%;margin:10px 0 0;padding:0;border:0;background:none;color:inherit;text-align:left;transform:none}
.a24-quote{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;color:var(--a24-text);white-space:pre-wrap;overflow-wrap:anywhere}
.a24-quote.is-s{font-size:22px;line-height:30px;letter-spacing:-.2px}
.a24-quote.is-m{font-size:19px;line-height:27px;letter-spacing:-.1px}
.a24-quote.is-l{font-size:17px;line-height:24px}
.a24-quote.is-missing{color:var(--a24-text3)}
.a24-quote .a24-old{white-space:pre-wrap}
.a24-item.is-expanded .a24-quote{display:block;overflow:visible;-webkit-line-clamp:unset}
.a24-item-expand{display:block;margin:6px 0 0;padding:0;border:0;background:none;font-size:15px;line-height:21px;color:var(--a24-text2);transform:none}
.a24-item-expand[hidden]{display:none}
.a24-item-foot{display:flex;align-items:center;gap:6px;margin-top:6px;min-height:18px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-item-foot>.a24-glyph{width:14px;height:14px}

/* media as itself */
.a24-media{display:flex;max-width:100%;margin:12px 0 0;padding:0;border:0;background:none;color:inherit;text-align:left;transform:none}
.a24-media+.a24-item-body{margin-top:10px}
.a24-pic{position:relative;display:block;width:232px;max-width:100%;aspect-ratio:var(--ar,.75);max-height:300px;border-radius:16px;overflow:hidden;background:var(--a24-card)}
.a24-pic>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.a24-pic-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(0,0,0,.42);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.a24-pic-play>.a24-glyph{width:18px;height:18px;margin-left:2px}
.a24-pic-time{position:absolute;left:8px;bottom:8px;padding:1px 6px;border-radius:7px;background:rgba(0,0,0,.5);font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:#fff}
.a24-voice{display:flex;align-items:center;gap:12px;width:100%;min-height:48px}
.a24-voice-play{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--a24-text);color:var(--a24-ink)}
.a24-voice-play>.a24-glyph{width:16px;height:16px;margin-left:2px}
.a24-voice .waveform,.a24-voice .real-waveform,.a24-voice .wave{flex:1;min-width:0;height:28px;color:var(--a24-text2)}
.a24-voice-time{flex:none;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text2)}
.a24-file{align-items:center;gap:12px;width:100%}
.a24-ext{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:10px;background:var(--a24-card);font-family:var(--a24-pixel);font-size:13.16px;line-height:14px;color:var(--a24-text2)}
.a24-file-copy{display:flex;flex-direction:column;min-width:0}
.a24-file-name{font-size:16px;line-height:22px;color:var(--a24-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-file-size{font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-round{margin-top:12px}
.a24-round .round-player{width:148px;margin:0}
.a24-round .round-player.is-expanded{width:min(300px,100%)}
.a24-round .round-message-time{display:none}
.a24-round .round-meta{justify-content:flex-start;gap:10px;padding:6px 2px 0}
.a24-sticker{margin-top:10px}

/* ---------- More, skeletons ---------- */
.pdf-ui .a24-more{display:block;width:auto;min-height:44px;margin:0 auto 28px;padding:0 18px;border:0;border-radius:22px;background:none;font-size:15px;line-height:20px;font-weight:500;color:var(--a24-text2)}
.a24-skeleton{display:block}
.a24-sk-row{display:flex;align-items:center;gap:14px;min-height:76px}
.a24-sk-ava{flex:none;width:54px;height:54px;border-radius:50%;background:var(--a24-card)}
.a24-sk-lines{flex:1;display:flex;flex-direction:column;gap:10px}
.a24-sk-bar{display:block;height:12px;border-radius:6px;background:var(--a24-card)}
.a24-sk-bar.is-soft{background:var(--a24-press)}
.a24-sk-bar.is-thick{height:18px;border-radius:8px;margin-top:12px}
.a24-sk-bar.is-thin{height:10px;margin-top:10px;background:var(--a24-press)}
.a24-sk-item{padding:4px 0 28px}
.a24-sk-head{display:flex;align-items:center;gap:10px}
.a24-sk-dot{flex:none;width:28px;height:28px;border-radius:50%;background:var(--a24-card)}
.a24-skeleton>*{animation:a24-breathe 1.6s ease-in-out infinite}
.a24-skeleton>*:nth-child(2){animation-delay:.12s}.a24-skeleton>*:nth-child(3){animation-delay:.24s}.a24-skeleton>*:nth-child(4){animation-delay:.36s}.a24-skeleton>*:nth-child(5){animation-delay:.48s}.a24-skeleton>*:nth-child(6){animation-delay:.6s}.a24-skeleton>*:nth-child(7){animation-delay:.72s}
@keyframes a24-breathe{0%,100%{opacity:1}50%{opacity:.55}}

/* ---------- States are words: a pixel title, a sentence, maybe one button — on the left edge ---------- */
.pdf-ui .pdf-state,.pdf-ui .alo19-search-hint{display:flex;flex-direction:column;align-items:flex-start;text-align:left;margin:0;padding:32px 0 24px}
.pdf-ui .pdf-state>.pdf-state-icon,.pdf-ui .alo19-search-hint>.pdf-state-icon,.pdf-ui .pdf-state-footnote{display:none}
.pdf-ui .pdf-state h2,.pdf-ui .alo19-search-hint h2{margin:0 0 8px;font-family:var(--a24-pixel);font-size:26.32px;line-height:32px;font-weight:400;letter-spacing:0;color:var(--a24-text)}
.pdf-ui .pdf-state p,.pdf-ui .alo19-search-hint p{max-width:340px;margin:0;font-size:15px;line-height:22px;color:var(--a24-mute)}
.pdf-ui .pdf-state>.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;max-width:none;height:44px;min-height:44px;margin-top:22px;padding:0 20px;border-radius:22px;background:var(--a24-text);color:var(--a24-ink);font-size:15px;line-height:20px;font-weight:500}
.pdf-ui .pdf-state>.primary .icon{width:18px;height:18px}
.pdf-ui .pdf-filter-note{display:none}

/* ---------- Dialog ---------- */
.reference-chat .chat-head{align-items:center;min-height:50px;gap:12px;margin-bottom:10px}
.reference-chat .chat-person{align-items:center;gap:13px}
.reference-chat .chat-person>.avatar{width:50px;height:50px;min-width:50px}
.reference-chat .chat-person .name{font-size:26.32px;line-height:32px;max-width:min(260px,58vw)}
.reference-chat .a24-chat{padding-bottom:4px}
.reference-chat .a24-day{display:block;margin:22px auto 12px!important;padding:0;background:none;text-align:center;font-family:'Inter',sans-serif;font-size:13px;line-height:18px;font-weight:500;color:var(--a24-text3)}
.reference-chat .a24-chat>.a24-day:first-child{margin-top:12px!important}
.reference-chat .a24-line{display:flex;align-items:flex-end;gap:10px;margin:12px 0 0!important}
.reference-chat .a24-line.g-top{margin-top:3px!important}
.reference-chat .a24-day+.a24-line{margin-top:0!important}
.reference-chat .a24-line>.message-wrap{max-width:84%;min-width:0}
.reference-chat .a24-line.out>.message-wrap{margin-left:auto}
.reference-chat .a24-round-line>.message-wrap{max-width:100%}

.reference-chat .a24-bubble{position:relative;display:block;width:fit-content;max-width:100%;min-width:0;padding:8px 13px 8px 14px;border-radius:20px;background:var(--a24-card);color:var(--a24-text);box-shadow:none;outline:0;text-align:left;font-size:17px;line-height:23px;transition:background-color 160ms ease}
.reference-chat .out .a24-bubble{background:#242427}
.reference-chat .a24-line:not(.out).g-top .a24-bubble{border-top-left-radius:6px}
.reference-chat .a24-line:not(.out).g-bottom .a24-bubble{border-bottom-left-radius:6px}
.reference-chat .a24-line.out.g-top .a24-bubble{border-top-right-radius:6px}
.reference-chat .a24-line.out.g-bottom .a24-bubble{border-bottom-right-radius:6px}
.reference-chat .a24-bubble:active{background:#1d1d20}
.reference-chat .out .a24-bubble:active{background:#2b2b2e}
.reference-chat .a24-bubble .a24-text{margin:0;padding:0;font-family:'Inter',sans-serif;font-size:17px;line-height:23px;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}
.reference-chat .a24-bubble .a24-text.is-emoji{font-size:40px;line-height:48px}
.reference-chat .a24-bubble .a24-text.is-missing{color:var(--a24-text3)}
.a24-meta-ghost{display:inline-flex;align-items:center;gap:3px;height:1px;margin-left:8px;overflow:hidden;visibility:hidden;vertical-align:baseline;font-family:var(--a24-pixel);font-size:13.16px;line-height:1;white-space:nowrap;pointer-events:none}
.a24-meta-ghost>.a24-glyph{width:12px;height:12px}
.reference-chat .a24-bubble>.a24-meta{position:absolute;right:13px;bottom:6px;display:inline-flex;align-items:center;gap:3px;font-family:var(--a24-pixel);font-size:13.16px;line-height:16px;color:#8a8990;white-space:nowrap;pointer-events:none}
.reference-chat .a24-bubble>.a24-meta>.a24-glyph{width:12px;height:12px;stroke-width:1.7}

/* deleted: the same bubble, emptied — the words stay, the fill is gone, the outline is drawn inside */
.reference-chat .a24-bubble.is-deleted,.reference-chat .out .a24-bubble.is-deleted{padding:8px 13px 8px 14px;background:transparent;box-shadow:inset 0 0 0 1px var(--a24-ghost)}
.reference-chat .a24-bubble.is-deleted:active{background:#0c0c0e}
.reference-chat .a24-foot{display:flex;align-items:center;gap:14px;margin-top:4px;font-size:13px;line-height:18px;color:var(--a24-mute)}
.reference-chat .a24-gone{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.reference-chat .a24-gone>.a24-glyph{width:13px;height:13px}
.reference-chat .a24-foot-time{margin-left:auto;font-family:var(--a24-pixel);font-size:13.16px;line-height:16px;color:var(--a24-text3)}
.reference-chat .a24-round-gone{display:flex;margin-top:6px;font-size:13px;line-height:18px;color:var(--a24-mute)}
.reference-chat .a24-round-line.out .a24-round-gone{justify-content:flex-end}
.reference-chat .a24-round-gone .a24-gone{display:inline-flex;align-items:center;gap:5px}
.reference-chat .a24-round-gone .a24-glyph{width:13px;height:13px}

/* photos and videos fill their bubble */
.reference-chat .a24-bubble.has-visual{width:264px;padding:0;overflow:hidden}
.reference-chat .a24-bubble.has-visual>.a24-visual{position:relative;display:block;width:100%;aspect-ratio:var(--ar,.75);max-height:340px;margin:0;padding:0;border-radius:0;overflow:hidden;background:#1d1d20;transform:none}
.reference-chat .a24-bubble.has-visual>.a24-visual>.bubble-img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.reference-chat .a24-visual-wait{position:absolute;inset:0;display:grid;place-items:center;color:var(--a24-text3)}
.reference-chat .a24-bubble.has-visual>.a24-text{padding:7px 13px 0 14px}
.reference-chat .a24-bubble.has-visual>.a24-text:last-of-type{padding-bottom:8px}
.reference-chat .a24-bubble>.a24-meta.is-over{right:8px;bottom:8px;padding:1px 7px;border-radius:9px;background:rgba(0,0,0,.46);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.reference-chat .a24-bubble.has-visual.is-deleted{padding:4px}
.reference-chat .a24-bubble.has-visual.is-deleted>.a24-visual{border-radius:16px}
.reference-chat .a24-bubble.has-visual.is-deleted>.a24-text{padding:7px 10px 0}
.reference-chat .a24-bubble.has-visual.is-deleted>.a24-foot{padding:0 9px 4px 10px;margin-top:4px}

/* voice: one layout everywhere — the waveform runs to the edge, the length closes it; the time sits where every time sits */
.reference-chat .a24-bubble.has-voice{width:272px;padding:8px 12px 7px 8px}
.reference-chat .a24-bubble.has-voice>.voice-inline{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:0;transform:none}
.reference-chat .a24-bubble.has-voice .voice-play{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--a24-text);color:var(--a24-ink)}
.reference-chat .a24-bubble.has-voice .voice-play>.icon{width:16px;height:16px;margin-left:2px;fill:currentColor;stroke:none}
.reference-chat .a24-bubble.has-voice .real-wave{flex:1;min-width:0}
.reference-chat .a24-bubble.has-voice .voice-duration{position:static;flex:none;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text2)}
.reference-chat .a24-bubble.has-voice>.a24-meta{position:static;display:flex;justify-content:flex-end;margin-top:0}
.reference-chat .a24-bubble.has-voice.is-deleted>.a24-foot{padding-left:4px}
.reference-chat .a24-bubble.has-doc{width:264px;padding:8px 13px 8px 8px}
.reference-chat .a24-doc{display:flex;align-items:center;gap:12px;width:100%;padding:0 0 4px;text-align:left;transform:none}
.reference-chat .a24-doc>.a24-ext{width:46px;height:46px;border-radius:10px;background:#232326}
.reference-chat .out .a24-doc>.a24-ext{background:#303034}
.reference-chat .a24-bubble.has-sticker{padding:0;background:transparent}
.reference-chat .a24-bubble.has-sticker:active{background:transparent}

.reference-chat .older{margin:6px 0 4px}
.reference-chat .older>.a24-older{height:36px;padding:0 16px;border-radius:18px;background:var(--a24-card);font-size:14px;line-height:20px;color:var(--a24-text2)}
.a24-skeleton-chat{padding-top:20px}
.a24-sk-bubble{height:40px;margin:0 0 10px;border-radius:20px;background:var(--a24-card)}
.a24-sk-bubble.is-out{margin-left:auto;background:#1a1a1c}

/* ---------- Sheets: everything on the 20px edge, the message itself without a box ---------- */
.overlay-backdrop{background:rgba(0,0,0,.56)}
.pdf-sheet{background:var(--a24-card);border-radius:28px 28px 0 0;transition:transform 420ms var(--a24-ease)}
.pdf-sheet::before{width:36px;height:5px;left:calc(50% - 18px);top:8px;border-radius:3px;background:#3a3a3f}
.pdf-sheet .sheet-body{padding:28px 20px calc(20px + var(--bottom) + var(--content-bottom))}
.pdf-sheet .sheet-header{align-items:center;margin:0 0 12px;min-height:32px}
.pdf-sheet .sheet-header h2{font-family:var(--a24-pixel);font-size:26.32px;line-height:32px;font-weight:400;letter-spacing:0;color:var(--a24-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdf-sheet .sheet-header>.icon-button{flex:none;width:32px;height:32px;margin-right:-4px;padding:8px;border-radius:50%;background:#2a2a2e;color:var(--a24-text2);transform:none}
.pdf-sheet .sheet-header .icon{width:16px;height:16px;stroke-width:1.8}
.pdf-sheet .pdf-sheet-preview{margin:-4px 0 16px;font-size:14px;line-height:20px;color:var(--a24-text3)}
.pdf-sheet .pdf-sheet-rows{display:flex;flex-direction:column;gap:0;margin:0;border-radius:20px;background:var(--a24-raised);overflow:hidden}
.pdf-sheet .pdf-sheet-rows>.row{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;margin:0;padding:0 16px;border:0;border-radius:0;background:none;font-size:17px;line-height:22px;color:var(--a24-text);transform:none}
.pdf-sheet .pdf-sheet-rows>.row+.row{border:0}
.pdf-sheet .pdf-sheet-rows>.row+.row::before{content:'';position:absolute;left:52px;right:0;top:0;height:1px;background:var(--a24-hair);transform:scaleY(.5);transform-origin:0 0}
.pdf-sheet .pdf-sheet-rows>.row:active{background:#262629}
.pdf-sheet .pdf-sheet-rows>.row>.icon,.a24-act-icon>.icon{width:20px;height:20px;color:var(--a24-text2);stroke-width:1.6}
.pdf-sheet .pdf-sheet-rows>.row>.icon:first-child{flex:none}
.pdf-sheet .pdf-sheet-rows>.row .row-copy,.a24-act-label{flex:1;min-width:0;text-align:left}
.pdf-sheet .pdf-sheet-rows>.row .end{display:inline-flex;align-items:center;gap:4px;color:var(--a24-text3)}
.pdf-sheet .pdf-sheet-rows>.row .end .icon{width:16px;height:16px}
.a24-act-icon{display:grid;place-items:center;flex:none;width:24px;height:24px}
.a24-act-end{display:inline-flex;align-items:center;gap:2px;font-size:15px;line-height:20px;color:var(--a24-text3)}
.a24-act-end>.a24-glyph{width:16px;height:16px}
.a24-sheet-quote{margin:0 0 18px;padding:0;background:none}
.a24-sheet-quote>blockquote{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden;font-size:17px;line-height:24px;color:var(--a24-text);white-space:pre-wrap;overflow-wrap:anywhere}
.a24-sheet-quote>figcaption{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-sheet-quote>figcaption>.a24-glyph{width:14px;height:14px}
.pdf-sheet .sheet-body>p{margin:0 0 8px;font-size:15px;line-height:22px;color:var(--a24-text2)}
.pdf-sheet .primary,.pdf-sheet .secondary,.pdf-sheet .destructive{min-height:52px;border-radius:20px;font-size:16px;line-height:22px;font-weight:500}
.pdf-sheet .secondary{background:var(--a24-raised)}

/* ---------- Versions: oldest first, the chosen one is white, no lifted card ---------- */
.a24-vhead{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.reference-versions .a24-vhead>.a24-vhead-ava{width:40px;height:40px;min-width:40px}
.a24-vhead-copy{flex:1;min-width:0;display:flex;flex-direction:column}
.a24-vhead-name{font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-vhead-date{font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-vhead-total{flex:none;font-size:13px;line-height:18px;color:var(--a24-text2)}
.a24-story{list-style:none;margin:0;padding:0}
.a24-ver{position:relative;margin:0;padding:0}
.a24-ver-pick{display:block;width:100%;margin:0;padding:14px 0 16px;border:0;border-radius:0;background:none;color:inherit;text-align:left;transform:none}
.a24-ver-pick:active{opacity:.72;transform:none}
.a24-ver-top{display:flex;align-items:baseline;gap:10px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-ver-label{font-weight:500;color:var(--a24-text3);transition:color 240ms ease}
.a24-ver.is-picked .a24-ver-label{color:var(--a24-text)}
.a24-ver-top>time{margin-left:auto;font-family:var(--a24-pixel);font-size:13.16px;color:var(--a24-text3)}
.a24-ver-text{display:block;margin-top:8px;color:var(--a24-text3);white-space:pre-wrap;overflow-wrap:anywhere;transition:color 240ms ease}
.a24-ver-text.is-s{font-size:22px;line-height:30px;letter-spacing:-.2px}
.a24-ver-text.is-m{font-size:19px;line-height:27px;letter-spacing:-.1px}
.a24-ver-text.is-l{font-size:17px;line-height:24px}
.a24-ver.is-picked .a24-ver-text{color:var(--a24-text)}
.a24-ver:not(.is-picked) .a24-ins{color:inherit}
.a24-ver-text.is-empty{color:var(--a24-text4)}
.a24-ver-files{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 12px}
.a24-ver-media{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;background:var(--a24-card);font-size:14px;color:var(--a24-text2);transform:none}
.a24-ver-media .icon,.a24-ver-media .a24-glyph{width:15px;height:15px}
.reference-versions .a24-ver-actions{display:flex;gap:10px;margin:24px 0 8px}
.reference-versions .a24-ver-actions>button{flex:1;min-height:52px;border-radius:20px;font-size:16px;font-weight:500}
.reference-versions .a24-ver-actions>.primary{background:var(--a24-text);color:var(--a24-ink)}
.reference-versions .a24-ver-actions>.secondary{background:var(--a24-card);color:var(--a24-text)}
.reference-versions .a24-ver-actions .icon{width:20px;height:20px}
.reference-versions .a24-more{margin:-8px auto 10px}
.a24-sk-ver{padding:14px 0 18px}
.a24-sk-ver>.a24-sk-bar.is-thin{margin-top:0}

/* ---------- Media library ---------- */
.reference-media .library-month{margin:0 0 26px}
.reference-media .library-month-header{display:flex;align-items:center;justify-content:space-between;min-height:36px;margin:0 0 10px}
.reference-media .library-month-header h2{font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;font-weight:400;letter-spacing:0;color:var(--a24-text)}
.reference-media .library-month-select{margin-right:-4px;padding:6px 4px;font-size:15px;line-height:20px;color:var(--a24-text2)}
.reference-media .media-grid.a24-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:0 -20px;border-radius:0;overflow:hidden;isolation:isolate}
.reference-media .media-grid.a24-grid>.media-tile,.reference-media .media-grid.a24-grid>.media-tile:nth-child(n){grid-column:auto;aspect-ratio:1;border-radius:0;background:var(--a24-card)}
.reference-media .a24-grid>.media-tile .pdf-tile-picture{border-radius:0;aspect-ratio:auto;height:100%}
.reference-media .a24-grid>.media-tile:active .pdf-tile-picture{opacity:.82}
.reference-media .a24-grid .pdf-video-title,.reference-media .a24-grid .pdf-video-by,.reference-media .a24-grid .pdf-video-play{display:none}
.reference-media .a24-grid .pdf-tile-picture .duration{left:6px;bottom:6px;padding:1px 6px;border-radius:7px;background:rgba(0,0,0,.52);font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:#fff}
.reference-media .a24-grid .media-placeholder{display:grid;place-items:center;color:var(--a24-text4)}
.reference-media .a24-grid .media-placeholder .icon{width:22px;height:22px}
.pdf-tile-picture .media-selection-mark{top:7px;right:7px;width:22px;height:22px;border:1.5px solid rgba(255,255,255,.75);background:rgba(0,0,0,.18)}
/* rounds: circles on the left edge; the ring appears only while one plays */
.reference-media .media-grid.round-library-grid.a24-rgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;justify-items:start}
.reference-media .a24-rgrid .round-library-card{width:100%}
.reference-media .a24-rgrid .round-player{margin:0}
.reference-media .a24-rgrid .round-meta{justify-content:flex-start;padding-left:0}
.reference-media .a24-rgrid .round-library-person{gap:8px;margin-top:6px;padding:0}
.reference-media .a24-rgrid .round-library-person .avatar{width:22px;height:22px;min-width:22px}
.reference-media .a24-rgrid .round-library-person strong{font-size:15px;line-height:20px}
.reference-media .a24-rgrid .round-library-person small{font-size:12px;line-height:16px;color:var(--a24-text3)}
.round-player:not(.is-playing):not(.is-expanded) .round-progress{opacity:0}
.round-progress{transition:opacity 200ms ease}
.round-progress .round-track{stroke:#2c2c30}
/* voice and files: plain rows, no rules between them */
.reference-media .library-media-list.a24-mlist{display:block}
.a24-vrow{position:relative;display:flex;align-items:center;gap:14px;min-height:72px;padding:10px 0;margin:0}
.a24-vplay{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;background:var(--a24-text);color:var(--a24-ink);transform:none}
.a24-vplay>.a24-glyph{width:18px;height:18px;margin-left:2px}
.a24-vplay>.icon{width:18px;height:18px;fill:currentColor;stroke:none}
.a24-vplay:disabled{background:#232326;color:var(--a24-text3)}
.a24-vmain{flex:1;min-width:0}
.a24-vtop{display:flex;align-items:baseline;gap:10px;min-width:0}
.a24-vname{flex:1;min-width:0;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-vdate{flex:none;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-vwave{display:flex;align-items:center;gap:10px;margin-top:4px;min-height:26px}
.a24-vwave>.voice-seek-shell{flex:1;min-width:0;height:26px}
.a24-vwave .real-wave{height:24px}
.a24-vtime{flex:none;display:inline-flex;gap:3px;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text2)}
.a24-vtime>i{font-style:normal;color:var(--a24-text4)}
.a24-vspeed{flex:none;height:24px;padding:0 8px;border-radius:12px;background:#232326;font-family:var(--a24-pixel);font-size:13.16px;line-height:24px;color:var(--a24-text);transform:none}
.a24-vrow.is-playing .a24-vname{color:var(--a24-text)}
.a24-frow{position:relative;display:flex;align-items:center;gap:14px;min-height:64px;padding:10px 0;margin:0;border:0}
.a24-frow>.a24-ext{width:44px;height:44px}
.a24-fcopy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:0;text-align:left;background:none;transform:none}
.a24-fcopy:active{opacity:.7;transform:none}
.a24-row-pick{flex:none}
.a24-vrow>.a24-row-pick,.a24-frow>.a24-row-pick{position:static;display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0 -6px 0 2px;padding:0;background:none;transform:none}
.a24-vrow>.a24-row-pick .media-selection-mark,.a24-frow>.a24-row-pick .media-selection-mark{border-color:#5a5a60}
.a24-vrow.is-picked .a24-vplay{opacity:.9}

/* ---------- Viewer: the picture edge to edge, its actions always at the bottom ---------- */
.pdf-ui.a24-viewer{display:flex;flex-direction:column;min-height:var(--tg-viewport-stable-height,100svh)}
.a24-viewer .a24-viewer-top{display:flex;align-items:center;gap:12px;min-height:44px;margin:0 0 16px}
.a24-viewer .a24-viewer-top>.pdf-viewer-person{flex:1;min-width:0;margin:0;gap:12px}
.a24-viewer .pdf-viewer-person .avatar{width:40px;height:40px;min-width:40px}
.a24-viewer .pdf-viewer-person .pixel-name{font-size:17.54px;line-height:22px}
.a24-viewer .pdf-viewer-person small{font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-viewer .viewer-stage{display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;justify-content:center;min-height:0;margin:0 -20px}
.a24-viewer .viewer-stage .full{display:block;width:100%;height:auto;max-height:64dvh;margin:0 auto;object-fit:contain;border-radius:0;background:transparent}
.a24-viewer .viewer-stage .viewer20-video{width:100%;border-radius:0;background:#0b0b0c}
.a24-viewer .viewer-stage .viewer20-video>video.full{background:#0b0b0c}
.a24-viewer .viewer-stage .viewer20-center{display:none}
.a24-viewer .viewer-stage .viewer20-controls{margin:14px 20px 0;padding:12px 16px 10px 14px;border-radius:20px;background:var(--a24-card)}
.a24-viewer .viewer-stage .viewer20-times{font-family:var(--a24-pixel);font-size:13.16px}
.a24-viewer .viewer-stage>.large-voice,.a24-viewer .viewer-stage>.pdf-file-view,.a24-viewer .viewer-stage>.pdf-state,.a24-viewer .viewer-stage>.round-player,.a24-viewer .viewer-stage>.sticker-host{margin-left:20px;margin-right:20px}
.a24-viewer .viewer-stage>.round-player,.a24-viewer .viewer-stage>.sticker-host{align-self:center}
.a24-viewer .a24-counter{margin:14px 0 0;text-align:center;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text3)}
.a24-viewer .pdf-viewer-actions{margin-top:auto;padding-top:20px;text-align:center}
.a24-viewer .pdf-action-pair{display:flex;gap:10px}
.a24-viewer .pdf-action-pair>button{min-height:52px;border-radius:20px;font-size:16px;line-height:22px;font-weight:500}
.a24-viewer .pdf-action-pair>.secondary{background:var(--a24-card)}
.a24-viewer .pdf-viewer-actions>.link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;min-height:40px;font-size:15px;color:var(--a24-text2)}
.a24-viewer .pdf-viewer-actions>.link .icon{width:18px;height:18px}

/* ---------- Search ---------- */
.pdf-ui .searchbar .search{border-radius:20px;background:var(--a24-card)}
.pdf-search .pdf-search-count{display:flex;align-items:baseline;gap:10px;margin:8px 0 2px}
.pdf-search .pdf-search-count h2{margin:0;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;font-weight:400;color:var(--a24-text)}
.pdf-search .pdf-search-count p{margin:0;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-result{position:relative;display:block;width:100%;margin:0;padding:14px 0 18px;border:0;border-radius:0;background:none;color:inherit;text-align:left;transform:none}
.a24-result:active{opacity:.72;transform:none}
.a24-result-head{display:flex;align-items:center;gap:10px;min-width:0}
.a24-result>.a24-result-head>.a24-result-ava{width:28px;height:28px;min-width:28px}
.a24-result-name{flex:1;min-width:0;font-family:var(--a24-pixel);font-size:17.54px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a24-result-when{flex:none;font-family:var(--a24-pixel);font-size:13.16px;line-height:18px;color:var(--a24-text3)}
.a24-result-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;margin-top:10px;font-size:17px;line-height:24px;color:var(--a24-text);white-space:pre-wrap;overflow-wrap:anywhere}
.a24-result-note{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-result-note>.a24-glyph{width:14px;height:14px}
.a24-result mark,.a24-preview mark,.a24-item mark{margin:0 -1px;padding:0 2px;border-radius:4px;background:rgba(243,243,242,.17);color:#fff}

/* ---------- Cards and rows: one fill, one hairline, icons on 16, words on 52 ---------- */
.pdf-ui .card,.pdf-ui .alo19-card,.pdf-ui .profile20-card,.pdf-ui .profile21-list,.pdf-ui .profile20-stats,.pdf-ui .reference-help-card,.pdf-ui .pdf-export-options{margin:0;border:0;border-radius:20px;background:var(--a24-card);box-shadow:none;overflow:hidden}
.pdf-ui .card>.row{position:relative;display:flex;align-items:center;gap:16px;min-height:52px;margin:0;padding:0 16px;border:0;border-radius:0;background:none;font-size:17px;line-height:22px;color:var(--a24-text);text-align:left;transform:none;transition:background-color 120ms ease}
.pdf-ui .card>.row:active{background:var(--a24-raised);transform:none}
.pdf-ui .card>.row+.row{border-top:0}
.pdf-ui .card>.row+.row::before{content:'';position:absolute;left:52px;right:0;top:0;height:1px;background:var(--a24-hair);transform:scaleY(.5);transform-origin:0 0;pointer-events:none}
.pdf-ui .card>.row>.icon:first-child{flex:none;width:20px;height:20px;stroke-width:1.6;color:var(--a24-text2)}
.pdf-ui .card>.row .row-copy{flex:1;min-width:0}
.pdf-ui .card>.row .row-copy small{display:block;margin-top:2px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.pdf-ui .card>.row:has(small){min-height:64px}
.pdf-ui .card>.row .end{display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--a24-text3)}
.pdf-ui .card>.row .end .icon{width:16px;height:16px;color:var(--a24-text4)}
.pdf-ui .card>.row.danger{color:#ff6b6b}
.pdf-ui .card>.row.danger>.icon{display:none}
.alo19-card>.preference-toggle,.alo19-card>.alo19-link{min-height:52px;padding:10px 16px;font-size:17px;line-height:22px}
.alo19-card>.preference-toggle:has(small),.alo19-card>.alo19-link:has(small){min-height:64px}
.alo19-card>.preference-toggle:active,.alo19-card>.alo19-link:active{background:var(--a24-raised)}
.alo19-card>*+*::before{left:16px;right:0;height:1px;background:var(--a24-hair);transform:scaleY(.5);transform-origin:0 0}
.alo19-copy small{margin-top:2px;font-size:13px;line-height:18px;color:var(--a24-text3)}
.alo19-link>.icon{width:16px;height:16px;color:var(--a24-text4)}
.alo19-card .preference-switch{flex:0 0 46px;width:46px;height:28px;border-radius:14px;background:#3a3a3f}
.alo19-card .preference-switch::after{width:22px;height:22px;top:3px;left:3px;transition:transform 300ms var(--a24-ease),background-color 200ms ease}
.alo19-card [aria-checked=true] .preference-switch::after{transform:translateX(18px)}
.pdf-ui .alo19-note,.pdf-ui .a24-foot-note{margin:10px 0 0;padding:0;font-size:13px;line-height:18px;color:var(--a24-text3)}
.alo19-preferences .alo19-card+.alo19-card{margin-top:16px}
.pdf-ui .primary,.pdf-ui .secondary,.pdf-sheet .primary,.pdf-sheet .secondary{min-height:52px;border-radius:20px}
.pdf-ui .secondary{background:var(--a24-card)}
.pdf-ui .pdf-page-bottom{padding-top:28px;gap:10px}
.pdf-ui .pdf-page-bottom>.link{min-height:40px;font-size:15px;color:var(--a24-text2)}
#toast,.toast{border-radius:20px}

/* ---------- The bot: the mark as a quiet row icon; on its own page the mark listens ---------- */
.a24-row-mark{position:relative;display:grid;place-items:center;flex:none;width:20px;height:20px;color:var(--a24-text2)}
.a24-row-mark>.a24-mark{position:absolute;left:-3.33px;top:-3.33px;display:block;width:26.67px;height:26.67px}
.a24-state{display:inline-flex;align-items:center;gap:7px;font-size:17px;line-height:22px;color:var(--a24-mute)}
.a24-state.is-on::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--a24-text)}
.a24-sonar{position:relative;display:grid;place-items:center;width:212px;height:212px;margin:6px auto 4px}
.a24-sonar>.a24-mark{position:relative;display:block;width:53.33px;height:53.33px;color:var(--a24-text)}
.a24-sonar.is-off>.a24-mark,.a24-sonar.is-wait>.a24-mark{color:var(--a24-text4)}
.a24-sonar.is-off{height:120px;margin-top:0}
.a24-sonar>i{position:absolute;left:50%;top:50%;width:96px;height:96px;margin:-48px 0 0 -48px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--a24-text);opacity:0;animation:a24-listen 3.6s cubic-bezier(.2,.6,.35,1) infinite}
.a24-sonar>i+i{animation-delay:1.8s}
.a24-sonar.is-wait>i{box-shadow:inset 0 0 0 1.5px var(--a24-text3);animation-duration:4s}
.a24-sonar.is-wait>i+i{animation-delay:2s}
@keyframes a24-listen{0%{transform:scale(1);opacity:.45}100%{transform:scale(2.2);opacity:0}}
.a24-link-head{display:flex;flex-direction:column;align-items:center;text-align:center;margin:0 0 26px}
.a24-link-head>h2{margin:0;font-family:var(--a24-pixel);font-size:26.32px;line-height:32px;font-weight:400;letter-spacing:0;color:var(--a24-text)}
.a24-link-head>p{max-width:320px;margin:6px 0 0;font-size:15px;line-height:22px;color:var(--a24-mute);text-wrap:balance}
.pdf-ui .a24-links+.a24-foot-note{margin-top:10px}

/* ---------- Settings: plain grouped rows — the bot, the data, export ---------- */
.reference-settings>.settings-heading{margin-bottom:14px}
.pdf-ui .a24-group{margin-top:0}
.pdf-ui .a24-group+.a24-group{margin-top:20px}
.pdf-ui .a24-group>.row .end .a24-num{font-size:17.54px;line-height:22px;color:var(--a24-mute)}
.reference-settings .reference-help-title{margin-top:30px}
.reference-settings .alo19-card+.reference-help-card,.reference-settings .alo19-note+.reference-help-card{margin-top:20px}

/* ---------- Data of the archive: one ring with the size inside ---------- */
.pdf-ui .a24-ring{position:relative;display:block;width:212px;height:212px;margin:6px auto 28px;padding:0;border:0;border-radius:50%;background:none;color:inherit;transform:none}
.pdf-ui .a24-ring:active,.pdf-ui .a24-ring:disabled{transform:none;opacity:1}
.a24-ring-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.a24-seg{fill:none;stroke:var(--a24-text);stroke-linecap:round;transition:opacity 240ms ease}
.a24-seg.t1{stroke:#a3a2aa}.a24-seg.t2{stroke:#6c6b72}.a24-seg.t3{stroke:#46454b}
.a24-seg.is-empty{stroke:#1f1f22}
.a24-seg.is-dim{opacity:.22}
.a24-ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;pointer-events:none}
.a24-ring-value{display:flex;align-items:baseline;gap:6px}
.a24-ring-value>strong{font-family:var(--a24-pixel);font-size:52.63px;line-height:56px;font-weight:400;letter-spacing:0;color:var(--a24-text)}
.a24-ring-value>span{font-family:var(--a24-pixel);font-size:26.32px;line-height:30px;color:var(--a24-mute)}
.a24-ring-label{font-size:13px;line-height:18px;color:var(--a24-text3)}
.a24-ring.is-loading{display:grid;place-items:center}
.a24-ring-wait{width:188px;height:188px;border-radius:50%;box-shadow:inset 0 0 0 10px var(--a24-card);animation:a24-breathe 1.6s ease-in-out infinite}
/* what the archive holds rises from the centre and fades before the ring */
.a24-drift{position:absolute;inset:0;overflow:hidden;border-radius:50%;pointer-events:none}
.a24-drift>i{position:absolute;left:50%;top:50%;width:15px;height:15px;margin:-7.5px 0 0 -7.5px;color:#7a7980;opacity:0;animation:a24-drift var(--t) cubic-bezier(.25,.6,.45,1) var(--d) infinite both}
.a24-drift>i>svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@keyframes a24-drift{
 0%{transform:rotate(var(--a)) translateX(var(--r0,42px)) rotate(calc(var(--a) * -1)) scale(.55);opacity:0}
 30%{opacity:.75}
 70%{opacity:.45}
 100%{transform:rotate(var(--a)) translateX(84px) rotate(calc(var(--a) * -1)) scale(1);opacity:0}
}
.a24-ring.a24-unseen:not(.a24-reveal) .a24-drift{visibility:hidden}
.a24-ring-center{z-index:1}
/* pressing a kind lights its part of the ring */
.pdf-storage:has(.a24-kind[data-kind="photo"]:active) .a24-seg:not([data-kind="photo"]),.pdf-storage:has(.a24-kind[data-kind="video"]:active) .a24-seg:not([data-kind="video"]),.pdf-storage:has(.a24-kind[data-kind="voice"]:active) .a24-seg:not([data-kind="voice"]),.pdf-storage:has(.a24-kind[data-kind="document"]:active) .a24-seg:not([data-kind="document"]){opacity:.22}
.a24-kind-dot{display:block;flex:none;width:10px;height:10px;margin:0 5px;border-radius:50%;background:var(--a24-text)}
.a24-kind-dot.t1{background:#a3a2aa}.a24-kind-dot.t2{background:#6c6b72}.a24-kind-dot.t3{background:#46454b}
.pdf-ui .a24-kinds>.row>.end{flex:none}
.pdf-ui .a24-kinds>.row .end .a24-num{font-size:17.54px;line-height:22px;color:var(--a24-mute)}
.a24-empty-note{margin:0 auto;max-width:300px;text-align:center;font-size:15px;line-height:22px;color:var(--a24-mute)}
/* first sight: the ring draws itself, part after part */
.a24-ring.a24-unseen .a24-seg{stroke-dasharray:0 var(--c);opacity:0}
.a24-ring.a24-unseen .a24-ring-center{opacity:0}
.a24-ring.a24-unseen.a24-reveal .a24-seg{stroke-dasharray:var(--len) var(--rest);opacity:1;transition:stroke-dasharray 640ms var(--a24-out) var(--d),opacity 1ms linear var(--d)}
.a24-ring.a24-unseen.a24-reveal .a24-seg.is-dim{opacity:.22}
.a24-ring.a24-unseen.a24-reveal .a24-ring-center{opacity:1;transition:opacity 420ms ease 120ms}

/* ---------- Export: the result in words, no badge in a circle ---------- */
.pdf-ui .pdf-export-hero{margin:6px 0 22px;text-align:left}
.pdf-ui .pdf-export-hero>.pdf-state-icon{display:none}
.pdf-ui .pdf-export-hero h2{margin:0 0 6px;font-family:var(--a24-pixel);font-size:26.32px;line-height:32px;font-weight:400;letter-spacing:0;color:var(--a24-text)}
.pdf-ui .pdf-export-hero p{margin:0;font-size:15px;line-height:22px;color:var(--a24-mute)}
.pdf-ui .pdf-section.pdf-export-working{margin:6px 0 16px;font-size:26.32px;line-height:32px;color:var(--a24-text)}
.pdf-ui .pdf-export-job-card,.pdf-ui .pdf-export-error-card{border-radius:20px;background:var(--a24-card)}
.pdf-ui .pdf-export-job-card .archive-amount>strong{font-size:52.63px;line-height:56px}
.pdf-ui .pdf-export-job-card .archive-amount>span{font-size:26.32px;line-height:30px}

/* ---------- A stopped recorder on the home screen: the same grey bot, one pill ---------- */
.pdf-ui .banner.a24-banner{display:flex;align-items:center;gap:16px;width:100%;margin:0 0 12px;padding:12px 16px 12px 14px;border:0;border-radius:20px;background:var(--a24-card);color:inherit;text-align:left;font-size:15px;transform:none;transition:background-color 120ms ease}
.pdf-ui .banner.a24-banner:active{background:var(--a24-raised);transform:none}
.pdf-ui .banner.a24-banner>.a24-glyph-chevron{width:16px;height:16px;color:var(--a24-text4)}
.pdf-ui .banner.a24-banner span{flex:none}
.pdf-ui .banner.a24-banner>.a24-row-mark{color:var(--a24-text3)}
.pdf-ui .banner.a24-banner>.a24-banner-copy{flex:1 1 auto}
.a24-banner-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.a24-banner-copy>span{font-size:15px;line-height:20px;color:var(--a24-text)}
.a24-banner-copy>small{font-size:13px;line-height:18px;color:var(--a24-mute)}

/* ---------- Connection, help, the quieter pages ---------- */
.a24-steps{display:flex;flex-direction:column;gap:24px;margin:6px 0 0;padding:0;list-style:none}
.a24-steps>li{margin:0;padding:0}
.a24-step{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;text-align:left;transform:none}
button.a24-step:active{opacity:.7;transform:none}
.a24-step-num{font-family:var(--a24-pixel);font-size:26.32px;line-height:24px;color:var(--a24-text)}
.a24-step-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.a24-step-name{font-size:17px;line-height:23px;font-weight:500;color:var(--a24-text)}
.a24-step-text{font-size:15px;line-height:21px;color:var(--a24-mute);overflow-wrap:anywhere}
.a24-lead{margin:0 0 24px;font-size:17px;line-height:24px;color:var(--a24-text2)}
.a24-facts{display:flex;flex-direction:column;gap:20px;margin:6px 0 0}
.a24-fact{display:flex;flex-direction:column;gap:3px}
.a24-fact-name{font-size:17px;line-height:23px;font-weight:500;color:var(--a24-text)}
.a24-fact-text{font-size:15px;line-height:21px;color:var(--a24-mute)}
.pdf-ui .info20-section{margin-top:32px}
.pdf-support .a24-support{padding:8px 0 24px}
.pdf-support .pdf-support-links{margin-top:0}
/* export */
.pdf-ui .pdf-export-scope{border-radius:20px;background:var(--a24-card)}
.pdf-ui .pdf-format-grid{gap:10px}
.pdf-ui .pdf-format{border:0;border-radius:20px;background:var(--a24-card);box-shadow:none;transition:background-color 200ms ease,color 200ms ease}
.pdf-ui .pdf-format>svg,.pdf-ui .pdf-format>.icon{display:none}
.pdf-ui .pdf-format.active{background:var(--a24-text);color:var(--a24-ink)}
.pdf-ui .pdf-format.active>small{color:#56555b}
.pdf-ui .pdf-export-note{margin:10px 0 0;font-size:13px;line-height:18px;color:var(--a24-text3)}
/* session: the words alone, the button under them */
.session-reconnect{align-items:flex-start;text-align:left;padding:32px 20px 0}
.session-reconnect>.session-signal{display:none}
.pdf-ui.session-shell .session-reconnect>h1{margin:0 0 10px;font-family:var(--a24-pixel);font-size:35.09px;line-height:42px;font-weight:400;letter-spacing:0;text-align:left;color:var(--a24-text)}
.session-reconnect>p{margin:0;font-size:15px;line-height:22px;text-align:left;color:var(--a24-mute)}
.pdf-ui.session-shell .session-reconnect>.session-close{width:100%;min-height:52px;margin:28px 0 0;border-radius:20px;background:var(--a24-card);color:var(--a24-text);font-size:16px;font-weight:500}

/* ---------- Profile ---------- */
.profile20-hero>.avatar.large{width:96px;height:96px}
.pdf-ui .profile20-name{font-size:35.09px;line-height:42px;margin-top:16px}
.profile20-handle{color:var(--a24-text2)}
.profile20-since{color:var(--a24-text3)}
.pdf-ui .profile20-stats{margin-top:22px}
.pdf-ui .profile20-stat{border:0;box-shadow:none}
.pdf-ui .profile20-stat::before,.pdf-ui .profile20-stat::after,.pdf-ui .profile20-stat+.profile20-stat::before{display:none;content:none;border:0}
.profile20-stat>strong{font-size:26.32px;line-height:32px}
.profile20-media-head{margin:0 0 10px}
.pdf-ui .profile20-media-head .pdf-section{margin:0}
.pdf-ui .profile20-all{color:var(--a24-text2);font-size:15px}
.profile20-strip{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;border-radius:16px;overflow:hidden}
.profile20-strip>*{border-radius:0!important}
.profile20-strip img{border-radius:0!important}
.pdf-ui .profile21-list,.pdf-ui .profile20-card{margin-top:16px}
.pdf-ui .profile20-card .row[data-action="telegram-profile"] small{display:none}
.pdf-ui .profile20-card .row[data-action="telegram-profile"]{min-height:52px}

/* ---------- The person without a picture: a pixel silhouette the circle crops ---------- */
.avatar:empty,.avatar:has(>img.image-unavailable){background:#1c1c1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' shape-rendering='crispEdges'%3E%3Cpath fill='%235a5a60' d='M10 5h4v1h1v1h1v4h-1v1h-1v1h-4v-1H9v-1H8V7h1V6h1ZM7 14h10v1h2v1h1v1h1v7H3v-7h1v-1h1v-1h2Z'/%3E%3C/svg%3E") center/100% no-repeat}

/* ---------- Boot: the mark alone, breathing ---------- */
.boot{gap:0}
.boot>.spinner{display:none}
.boot>svg,.boot>img{width:40px;height:40px;animation:a24-breathe 1.6s ease-in-out infinite}
.a24-boot{padding:0 20px}
.a24-boot-title{display:block;width:172px;height:30px;margin:7px 0 20px;border-radius:9px;background:var(--a24-card)}
.a24-boot-tabs{display:flex;gap:8px;margin:0 0 22px}
.a24-boot-tabs>span{display:block;height:34px;border-radius:17px;background:var(--a24-press)}
.a24-boot-tabs>span:first-child{width:56px;background:var(--a24-card)}
.a24-boot-tabs>span:nth-child(2){width:116px}.a24-boot-tabs>span:nth-child(3){width:82px}

/* ---------- First sight: an edit strikes through once, a deleted bubble empties once ---------- */
.a24-unseen .a24-del{color:var(--a24-text);text-decoration-color:transparent}
.a24-unseen .a24-del.is-token::after{transform:scaleX(0)}
.a24-unseen .a24-ins{opacity:0}
.a24-unseen.a24-reveal .a24-del{color:var(--a24-text3);text-decoration-color:var(--a24-text3);transition:color 460ms ease calc(140ms + var(--k,0) * 300ms),text-decoration-color 460ms ease calc(140ms + var(--k,0) * 300ms)}
.a24-unseen.a24-reveal .a24-del.is-token::after{transform:scaleX(1);transition:transform 460ms var(--a24-out) calc(140ms + var(--k,0) * 300ms)}
.a24-unseen.a24-reveal .a24-ins{opacity:1;transition:opacity 380ms ease calc(480ms + var(--k,0) * 300ms)}
.reference-chat .a24-unseen.a24-bubble.is-deleted{background:var(--a24-card);box-shadow:inset 0 0 0 1px transparent}
.reference-chat .out .a24-unseen.a24-bubble.is-deleted{background:#242427}
.reference-chat .a24-unseen.a24-reveal.a24-bubble.is-deleted,.reference-chat .out .a24-unseen.a24-reveal.a24-bubble.is-deleted{background:transparent;box-shadow:inset 0 0 0 1px var(--a24-ghost);transition:background-color 500ms ease 150ms,box-shadow 500ms ease 150ms}

/* ---------- Narrow screens ---------- */
@media(max-width:380px){
 .reference-home>.recent-tabs .chip,.reference-home>.recent-tabs.tabs21>.tabs21-ink>span,.reference-chat-tabs.tabs21>.chip,.reference-chat-tabs.tabs21>.tabs21-ink>span{padding-left:12px;padding-right:12px;font-size:15px}
 .reference-home>.recent-tabs,.reference-home>.recent-tabs.tabs21>.tabs21-ink,.reference-chat>.reference-chat-tabs,.reference-chat>.reference-chat-tabs.tabs21>.tabs21-ink{gap:6px}
}

/* ---------- Reduced motion: every first sight is already settled ---------- */
@media(prefers-reduced-motion:reduce){
 .a24-skeleton>*,.boot>svg,.boot>img,.a24-ring-wait,.a24-sonar>i{animation:none}
 .a24-drift{display:none}
 .a24-sonar>i{transform:scale(1.5);opacity:.22}
 .a24-sonar>i+i{display:none}
 .a24-row::before{transition:none}
 .a24-unseen .a24-del{color:var(--a24-text3);text-decoration-color:var(--a24-text3)}
 .a24-unseen .a24-del.is-token::after{transform:none}
 .a24-unseen .a24-ins{opacity:1}
 .reference-chat .a24-unseen.a24-bubble.is-deleted,.reference-chat .out .a24-unseen.a24-bubble.is-deleted{background:transparent;box-shadow:inset 0 0 0 1px var(--a24-ghost)}
 .a24-ring.a24-unseen .a24-seg{stroke-dasharray:var(--len) var(--rest)}
 .a24-ring.a24-unseen .a24-ring-center{opacity:1}
}

/* ---------- Recent searches: a plain list, the row itself runs the query ---------- */
.pdf-ui .recents>.row{display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;font-size:17px;line-height:22px;color:var(--a24-text);transform:none}
.pdf-ui .recents>.row+.row{border-top:0}
.pdf-ui .recents>.row>.icon:first-child{flex:none;width:20px;height:20px;color:var(--a24-text3)}
.pdf-ui .recents>.row>.icon:last-child{display:none}
.pdf-ui .recents>.row:active{opacity:.7;transform:none}

/* ---------- Navigation: the new screen is laid over the leaving one ---------- */
#scene-host{position:relative;z-index:1}

/* ---------- A picture that is still on its way: three by three pixels develop it, a wave from corner to corner ---------- */
.media-placeholder>.icon,.a24-visual-wait>.icon,.media-placeholder>svg{display:none}
.media-placeholder::before,.a24-visual-wait::before,.a24-pic::before,.reference-chat .a24-bubble.has-visual>.a24-visual::before{content:'';position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-8px 0 0 -8px;background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #26262a,0px 6px 0 #26262a,6px 6px 0 #26262a,12px 6px 0 #26262a,0px 12px 0 #26262a,6px 12px 0 #26262a,12px 12px 0 #26262a;animation:a24-develop 1.6s linear infinite;pointer-events:none}
.a24-pic>img,.reference-chat .a24-bubble.has-visual>.a24-visual>.bubble-img{z-index:1}
.a24-pic:has(>img.image-ready)::before,.reference-chat .a24-bubble.has-visual>.a24-visual:has(>img.image-ready)::before{display:none}
@keyframes a24-develop{0%{background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #26262a,0px 6px 0 #26262a,6px 6px 0 #26262a,12px 6px 0 #26262a,0px 12px 0 #26262a,6px 12px 0 #26262a,12px 12px 0 #26262a}14%{background-color:#55545b;box-shadow:6px 0px 0 #39383e,12px 0px 0 #26262a,0px 6px 0 #39383e,6px 6px 0 #26262a,12px 6px 0 #26262a,0px 12px 0 #26262a,6px 12px 0 #26262a,12px 12px 0 #26262a}26%{background-color:#39383e;box-shadow:6px 0px 0 #55545b,12px 0px 0 #39383e,0px 6px 0 #55545b,6px 6px 0 #39383e,12px 6px 0 #26262a,0px 12px 0 #39383e,6px 12px 0 #26262a,12px 12px 0 #26262a}38%{background-color:#26262a;box-shadow:6px 0px 0 #39383e,12px 0px 0 #55545b,0px 6px 0 #39383e,6px 6px 0 #55545b,12px 6px 0 #39383e,0px 12px 0 #55545b,6px 12px 0 #39383e,12px 12px 0 #26262a}50%{background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #39383e,0px 6px 0 #26262a,6px 6px 0 #39383e,12px 6px 0 #55545b,0px 12px 0 #39383e,6px 12px 0 #55545b,12px 12px 0 #39383e}62%{background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #26262a,0px 6px 0 #26262a,6px 6px 0 #26262a,12px 6px 0 #39383e,0px 12px 0 #26262a,6px 12px 0 #39383e,12px 12px 0 #55545b}74%{background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #26262a,0px 6px 0 #26262a,6px 6px 0 #26262a,12px 6px 0 #26262a,0px 12px 0 #26262a,6px 12px 0 #26262a,12px 12px 0 #26262a}100%{background-color:#26262a;box-shadow:6px 0px 0 #26262a,12px 0px 0 #26262a,0px 6px 0 #26262a,6px 6px 0 #26262a,12px 6px 0 #26262a,0px 12px 0 #26262a,6px 12px 0 #26262a,12px 12px 0 #26262a}}
@media(prefers-reduced-motion:reduce){.media-placeholder::before,.a24-visual-wait::before,.a24-pic::before,.reference-chat .a24-bubble.has-visual>.a24-visual::before{animation:none}}

/* ---------- Home pages: a margin between them while they slide, and no height animation clipping the bottom ---------- */
.reference-home .dialog-pager{margin:0 -20px;transition:none}
.reference-home .dialog-page{padding:0 20px}
/* 120 Hz: the developing grid repaints only on its own beats (about five a second), and never behind a ready picture */
.media-placeholder::before,.a24-visual-wait::before,.a24-pic::before,.reference-chat .a24-bubble.has-visual>.a24-visual::before{animation-timing-function:steps(1,end)}
.media-placeholder:has(+img.image-ready)::before,.media-placeholder:has(+img.image-ready)>*{display:none;animation:none}
img.image-ready~.media-placeholder::before,img.image-ready~.a24-visual-wait::before{display:none;animation:none}
/* Home tabs: every loaded page stays laid out beside the current one (nothing to build when a finger starts a swipe);
   the pager is exactly as tall as the current page and clips the rest. */
.reference-home .dialog-pager{overflow:hidden;overflow:clip;contain:paint}
/* The photo in flight moves on the compositor; its clip follows on the main thread. No fill behind it,
   so a busy frame can never show a dark edge between the two. */
.zoom23.a24-zoom{background:transparent}

/* ало 24.1.0 — без кнопок воспроизведения поверх картинок.
   Видео узнаётся по длительности в углу, кружок — по форме; нажатие на картинку по-прежнему открывает и запускает.
   Убраны: тёмный круг с треугольником на видео в лентах и пузырях (a24-pic-play), на плитках (pdf-video-play) и
   в старых слоях (event19-play, play-overlay), значок на миниатюрах поиска и событий, круг поверх кружка
   (round-toggle-icon) и центральная кнопка в просмотре видео (управление осталось в панели под видео). */
.a24-pic-play,.pdf-video-play,.event19-play,.play-overlay,.round-toggle-icon,.viewer20-center>.icon,
.event21-thumb>i,.search21-row>.media21-visual>i{display:none!important}
