:root {
  color-scheme: light;
  --blue: #405cf5;
  --blue-dark: #2e49d7;
  --ink: #232838;
  --muted: #687285;
  --line: #e4e7ef;
  --page: #f7f8fc;
  --rail-width: 218px;
  --gutter: clamp(24px, 3.4vw, 60px);
  --max-main: 1192px;
  font-family: "Inter","Segoe UI","PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, textarea, a { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: transparent; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #92a5ff; outline-offset: 3px; }
[hidden] { display: none !important; }
svg.icon { width: 1.2em; height: 1.2em; flex: none; display: block; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
h1, h2, p { margin: 0; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; width: var(--rail-width); display: flex; flex-direction: column; padding: 32px 18px 18px; border-right: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.brand-mark, .mini-brand { display: grid; place-items: center; background: linear-gradient(145deg,#526bff,#3750e8); color: #fff; border-radius: 13px; }
.brand-mark { width: 43px; height: 43px; box-shadow: 0 3px 7px #3449bb20; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { font-size: 1.55rem; font-weight: 750; letter-spacing: -.055em; }
.nav-label { margin: 52px 12px 13px; color: #7a8294; font-size: .79rem; font-weight: 600; }
.view-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 46px; border-radius: 9px; padding: 8px 13px; color: #5f677b; font-size: .94rem; font-weight: 550; text-align: left; }
.nav-item:hover { background: #f5f6fa; }
.nav-item.active { color: #3853e2; background: #edf0ff; font-weight: 650; }
.nav-item svg { width: 20px; height: 20px; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.storage { padding: 17px 15px 16px; background: #f7f8fc; border: 1px solid #e9ecf3; border-radius: 12px; }
.storage-heading { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: #525c70; font-weight: 620; margin-bottom: 12px; }
.storage-symbol { color: #6476cf; }
.storage-symbol svg { width: 16px; height: 16px; }
.storage strong { font-size: 1.37rem; letter-spacing: -.05em; }
.storage small, .storage-detail { font-size: .76rem; color: #717b8c; }
.storage small { margin-left: 6px; }
.storage-detail { margin-top: 6px; }
.local-status { display: flex; align-items: center; gap: 9px; margin: 19px 12px 0; color: #717a8a; font-size: .82rem; }
.local-status svg { width: 16px; height: 16px; }
.main-shell { margin-left: var(--rail-width); }
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.top-inner { max-width: var(--max-main); margin: 0 auto; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); }
.breadcrumbs, .top-tools, .connection, .search-wrap, .pair-trigger { display: flex; align-items: center; }
.breadcrumbs { gap: 10px; color: #798296; font-size: .84rem; white-space: nowrap; }
.breadcrumbs svg:first-child { width: 17px; height: 17px; }
.breadcrumbs svg:nth-child(3) { width: 14px; height: 14px; color: #b2b8c5; }
.breadcrumbs strong { color: #434c60; font-weight: 620; }
.top-tools { gap: 16px; }
.search-wrap { height: 36px; gap: 8px; padding: 0 10px 0 12px; border: 1px solid #e4e7ed; border-radius: 9px; background: #f8f9fb; color: #8991a1; }
.search-wrap:focus-within { border-color: #8b9bfa; background: white; }
.search-wrap > svg { width: 16px; height: 16px; }
.search-wrap input { width: clamp(80px,9vw,164px); height: 30px; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); font-size: .83rem; }
.search-wrap input::placeholder { color: #737d8e; }
.search-wrap input:focus-visible { outline: 0; }
kbd { font: 12px/17px "Inter","Segoe UI",sans-serif; text-align:center; color: #848b9a; border: 1px solid #e0e3eb; border-radius: 4px; background: #fff; width: 17px; }
.connection { gap: 7px; color: #536775; font-size: .8rem; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #25ae85; }
.connection.pending .status-dot { background: #a2a9b4; }
.connection.offline .status-dot { background: #dc8337; }
.pair-trigger { gap: 6px; color: #4e5d79; font-size: .84rem; min-height: 36px; white-space: nowrap; padding: 0; }
.pair-trigger:hover { color: var(--blue); }
.mobile-menu, .mobile-brand, .mobile-search, .drawer-close, .mobile-hint, .drawer-backdrop { display: none !important; }
.content { max-width: var(--max-main); margin: 0 auto; padding: 30px var(--gutter) 148px; }
.dropzone { isolation: isolate; position: relative; overflow: hidden; min-height: 188px; display: flex; align-items: center; border-radius: 17px; color: #fff; background: linear-gradient(108deg,#3854e5 0%,#4963f1 54%,#607afc 100%); box-shadow: inset 0 0 0 1px #ffffff10; }
.dropzone.dragging { outline: 3px solid #9eb1ff; outline-offset: 3px; }
.drop-copy { padding: 26px 32px; position: relative; z-index: 1; }
.hero-title { display: flex; align-items: center; gap: 10px; }
.hero-title h1 { font-size: clamp(1.6rem,2vw,2rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.3; }
.hero-icon { display: inline-flex; }
.hero-icon svg { width: 32px; height: 32px; stroke-width: 1.65; }
.drop-copy p { margin: 9px 0 21px; color: #e6ebff; font-size: .91rem; line-height: 1.45; }
.drop-actions { display: flex; gap: 9px; align-items: center; }
.drop-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 39px; border-radius: 8px; font-weight: 620; font-size: .85rem; padding: 0 15px; }
.drop-actions svg { width: 16px; height: 16px; }
.primary-upload { background: #fff; color: #354ed1; box-shadow: 0 1px 3px #1e38ab33; }
.primary-upload:hover { background: #eff2ff; }
.media-upload { color: white; background: #ffffff0c; border: 1px solid #ffffff65; }
.media-upload:hover { background: #ffffff20; }
.drop-art { position: absolute; top: -10%; right: 1.3%; height: 121%; width: 48%; pointer-events: none; }
.drop-art svg { width: 100%; height: 100%; }
.upload-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; background: #eef1ff; border: 1px solid #d8dffc; color: #3b50bb; padding: 9px 14px; border-radius: 8px; font-size: .84rem; overflow-wrap: anywhere; }
.upload-status button { flex: none; text-decoration: underline; font-weight: 600; }
.feed { margin-top: 31px; }
.feed-title-row, .feed-title, .sort-label, .filters { display: flex; align-items: center; }
.feed-title-row { justify-content: space-between; gap: 12px; }
.feed-title { gap: 10px; }
.feed-title h2 { font-size: 1.43rem; letter-spacing: -.055em; line-height: 1.45; font-weight: 720; }
.item-count { padding: 2px 8px; min-width: 23px; border-radius: 7px; color: #626c82; background: #e9ecf2; text-align: center; font: 600 .77rem/1.45 "Inter","Segoe UI",sans-serif; }
.sort-label { gap: 6px; font-size: .8rem; color: #788095; }
.sort-label svg { width: 16px; height: 16px; }
.filters { gap: 7px; margin: 16px 0 19px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { display: flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-height: 34px; padding: 4px 13px; background: #fff; border: 1px solid #e1e5ee; border-radius: 8px; color: #616b7e; font-size: .83rem; }
.filter svg { width: 15px; height: 15px; }
.filter.selected { color: #364fdb; background: #edf0ff; border-color: #c7d1ff; font-weight: 620; }
.filter:hover:not(.selected) { background: #f1f3f8; }
.record-group + .record-group { margin-top: 22px; }
.date-label { display: flex; align-items: center; gap: 9px; color: #788196; font-size: .78rem; font-weight: 550; margin: 0 0 9px 1px; }
.date-label span { color: #8991a0; font-weight: 400; font-variant-numeric: tabular-nums; }
.record-list { display: grid; gap: 8px; }
.record { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 13px 11px 15px; border: 1px solid #e3e6ee; border-radius: 12px; background: #fff; }
.record:hover, .record:focus-within { border-color: #ced5e7; }
.record-main { display: flex; flex: 1; align-items: center; gap: 13px; padding: 0; min-width: 0; min-height: 47px; text-align: left; border-radius: 5px; }
.type-tile { position: relative; display: grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 10px; overflow: hidden; }
.type-tile > svg { width: 23px; height: 23px; }
.type-text { color: #5a59d6; background: #efedff; }
.type-image { color: #258969; background: #e6f5ee; }
.type-video { color: #9a56cc; background: #f4ebfd; }
.type-file { color: #4085bf; background: #e8f2fd; }
.type-pdf { color: #d25e54; background: #fff0ed; }
.type-sheet { color: #258969; background: #e6f5ee; }
.type-zip { color: #bc841c; background: #fff4d9; }
.type-tile img { width: 100%; height: 100%; object-fit: cover; }
.record-info { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 6px; }
.record-heading { display: flex; align-items: center; gap: 7px; min-width: 0; }
.record-title { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #30374a; font-size: .96rem; font-weight: 620; line-height: 1.45; }
.fav-indicator { color: #d99220; }
.fav-indicator svg { width: 14px; height: 14px; fill: #ffe5a9; }
.record-meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: #768094; font-size: .77rem; line-height: 1.35; }
.record-meta span { white-space: nowrap; }
.record-meta .separator { width: 3px; height: 3px; background: #a4adbd; border-radius: 50%; }
.record-time { font-size: .8rem; color: #798296; font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 0; color: #737d90; width: 35px; height: 35px; border-radius: 8px; flex: none; }
.icon-button:hover { color: #3d53ca; background: #f1f3fb; }
.more-button { width: 31px; }
.more-button svg { width: 20px; height: 20px; stroke-width: 2.1; }
.empty-state { padding: 30px 14px; border: 1px dashed #d6dce9; border-radius: 12px; display: grid; justify-items: center; gap: 9px; color: #697488; text-align: center; }
.empty-state > svg { width: 26px; height: 26px; color: #97a4c9; }
.empty-state strong { font-size: .96rem; font-weight: 600; color: #566076; }
.empty-state p { font-size: .85rem; }
.load-more { display: block; margin: 14px auto; padding: 9px 16px; color: #475ccc; border-radius: 8px; background: #edf0fe; font-size: .85rem; }
.composer-dock { position: fixed; z-index: 3; bottom: 0; left: var(--rail-width); right: 0; padding: 18px var(--gutter) 21px; background: linear-gradient(to bottom,#f7f8fc00 0%,#f7f8fcf5 28%,var(--page) 100%); pointer-events: none; }
.composer { max-width: calc(var(--max-main) - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: flex-end; gap: 13px; padding: 10px 11px 10px 12px; border: 1px solid #dce1ed; border-radius: 13px; background: #fff; box-shadow: 0 3px 16px #273c7a09; pointer-events: auto; }
.composer:focus-within { border-color: #a2b0f8; }
.attachment-button { display: grid; place-items: center; width: 35px; height: 36px; flex: none; padding: 0; border-radius: 7px; color: #758097; }
.attachment-button:hover { background: #eff2fa; }
.composer textarea { resize: none; align-self: center; flex: 1; min-width: 0; max-height: 118px; padding: 4px 0; height: 31px; border: 0; font-size: .95rem; line-height: 23px; outline: 0; color: var(--ink); background: transparent; }
.composer textarea:focus-visible { outline: 0; }
.composer textarea::placeholder { color: #8992a4; }
.send-button { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; order: 3; min-height: 37px; padding: 0 16px; border-radius: 8px; font-size: .86rem; font-weight: 630; color: white; background: var(--blue); }
.send-button:hover { background: var(--blue-dark); }
.send-button svg { width: 16px; height: 16px; }
.action-menu { position: fixed; z-index: 10; width: 154px; border-radius: 10px; padding: 5px; background: white; border: 1px solid var(--line); box-shadow: 0 7px 28px #323d5929; }
.action-menu button, .action-menu a { width: 100%; display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 5px 10px; border-radius: 6px; text-align: left; font-size: .85rem; }
.action-menu button:hover, .action-menu a:hover { background: #f0f3fb; }
.action-menu .delete-action { color: #b54141; }
dialog { padding: 0; color: var(--ink); border: 1px solid #dde2ee; border-radius: 16px; background: #fff; box-shadow: 0 16px 70px #17234240; max-height: min(88dvh,850px); }
dialog::backdrop { background: #17213582; }
.preview-dialog { width: min(calc(100% - 32px),680px); }
.confirm-dialog, .pair-dialog { width: min(calc(100% - 32px),390px); }
.dialog-head { padding: 15px 20px; display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 1.07rem; font-weight: 640; overflow-wrap: anywhere; }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--line); }
.dialog-actions button, .dialog-actions a { padding: 8px 12px; min-height: 36px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: .85rem; }
.secondary { background: #f0f2f8; color: #475169; }
.dialog-primary { background: var(--blue); color: #fff; }
.danger { background: #b74649; color: white; }
#previewBody { overflow: auto; }
.preview-media { display: block; max-width: 100%; max-height: 58dvh; margin: 0 auto; }
video.preview-media { width: 100%; background: #172135; }
.preview-text, .file-details, #confirmDetail { padding: 22px; font-size: 1rem; line-height: 1.65; }
.preview-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 58dvh; }
.file-details { display: flex; align-items: center; gap: 13px; color: #606c82; overflow-wrap: anywhere; }
.pair-content { padding: 20px 24px 24px; text-align: center; }
.pair-code { margin: 0 auto 12px; width: min(225px,100%); }
.pair-code svg { width: 100%; height: auto; display: block; }
.pair-content p { margin: 9px 0; color: var(--muted); font-size: .89rem; line-height: 1.5; }
.pair-content input { width: 100%; font-size: .84rem; padding: 8px; background: #f5f6fa; border: 1px solid var(--line); border-radius: 6px; }
.toast { position: fixed; z-index: 15; left: calc(50% + var(--rail-width) / 2); bottom: 99px; transform: translateX(-50%); padding: 9px 17px; border-radius: 9px; background: #25304a; color: white; box-shadow: 0 3px 15px #1a23422d; font-size: .85rem; max-width: calc(100vw - 26px); text-align: center; }
@media(min-width:1500px) { :root { --rail-width: 246px; } }
@media(max-width:1080px) { :root { --rail-width: 185px; --gutter: 25px; } .sidebar { padding-left: 12px; padding-right: 12px; } .top-tools { gap: 11px; } }
@media(max-width:820px) and (min-width:721px) { .breadcrumbs span, .breadcrumbs svg:nth-child(3), .connection { display: none; } .drop-copy { padding: 23px; } }
@media(max-width:720px) {
  :root { --rail-width: 0px; --gutter: 16px; }
  .main-shell { margin: 0; }
  .sidebar { display: none; width: 235px; padding: 25px 15px 20px; }
  .sidebar.open { display: flex; z-index: 8; }
  .drawer-backdrop:not([hidden]) { display: block !important; position: fixed; inset: 0; z-index: 7; background: #20283b66; }
  .drawer-close { display: flex !important; margin-left: auto; }
  .sidebar .nav-label { margin-top: 34px; }
  .top-inner { min-height: 58px; padding: 0 13px; gap: 7px; flex-wrap: wrap; }
  .breadcrumbs { display: none; }
  .mobile-menu, .mobile-search { display: inline-flex !important; }
  .mobile-brand { display: inline-flex !important; align-items: center; gap: 7px; font-weight: 720; font-size: 1.12rem; letter-spacing: -.04em; }
  .mini-brand { width: 26px; height: 26px; border-radius: 8px; }
  .mini-brand svg { width: 22px; height: 22px; }
  .top-tools { margin-left: auto; gap: 8px; }
  .topbar { position: relative; z-index: 4; }
  .search-wrap { display: none; }
  .search-wrap.mobile-open { display: flex; position: absolute; right: 13px; left: 13px; top: calc(100% + 5px); height: 43px; box-shadow: 0 2px 12px #202e4d1e; background: white; }
  .search-wrap.mobile-open input { flex: 1; width: auto; font-size: 16px; }
  .search-wrap kbd { display: none; }
  .connection { font-size: .77rem; gap: 5px; }
  .pair-trigger { gap: 4px; font-size: .76rem; }
  .content { padding: 16px var(--gutter) 115px; }
  .dropzone { min-height: 161px; border-radius: 13px; }
  .drop-copy { padding: 22px 18px; }
  .hero-title { gap: 8px; }
  .hero-title h1 { font-size: 1.5rem; }
  .hero-icon svg { width: 24px; height: 24px; }
  .drop-copy p { font-size: .83rem; margin: 8px 0 17px; }
  .desktop-hint { display: none; }
  .mobile-hint { display: inline !important; }
  .drop-art { width: 49%; height: 106%; right: -4%; top: -4%; opacity: .95; }
  .drop-actions { gap: 7px; }
  .drop-actions button { height: 36px; padding: 0 10px; gap: 6px; font-size: .82rem; }
  .drop-actions svg { width: 14px; height: 14px; }
  .feed { margin-top: 22px; }
  .feed-title h2 { font-size: 1.24rem; }
  .filters { gap: 5px; margin: 12px 0 15px; }
  .filter { padding: 4px 9px; gap: 5px; min-height: 33px; font-size: .8rem; }
  .filter svg { width: 14px; height: 14px; }
  .record { padding: 9px 6px 9px 10px; border-radius: 10px; gap: 4px; }
  .record-main { gap: 9px; min-height: 44px; }
  .record-title { font-size: .9rem; }
  .record-info { gap: 4px; }
  .record-time { font-size: .75rem; }
  .record-meta { font-size: .74rem; gap: 5px; }
  .type-tile { width: 40px; height: 40px; border-radius: 9px; }
  .type-tile > svg { width: 21px; height: 21px; }
  .more-button { width: 28px; height: 39px; }
  .more-button svg { width: 18px; }
  .composer-dock { padding: 10px 10px max(10px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .composer { gap: 5px; padding: 5px 6px; box-shadow: none; border-radius: 10px; background: #fafbfe; }
  .composer textarea { font-size: 16px; }
  .send-button { padding: 0 11px; gap: 5px; }
  .toast { bottom: calc(81px + env(safe-area-inset-bottom)); }
}
@media(max-width:390px) {
  :root { --gutter: 12px; }
  .drop-art { right: -8%; width: 49%; opacity: .75; }
  .filter { padding: 4px 8px; }
  .top-tools { gap: 4px; }
  .pair-trigger span { display: none; }
}
@media(prefers-reduced-motion:no-preference) {
  button, a, .record { transition: background-color .15s,border-color .15s,color .15s,box-shadow .15s; }
}
.login-page { min-height: 100dvh; padding: 20px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 32%,#ecf0ff,transparent 60%),var(--page); }
.login-card { width: min(100%,395px); padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 35px #34478a0a; }
.login-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; font-size: 1.2rem; }
.login-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.login-brand .brand-mark svg { width: 28px; }
.login-card h1 { font-size: 1.55rem; }
.login-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: 8px 0 24px; }
.login-card label { display: block; color: #434e64; font-size: .88rem; font-weight: 610; margin-bottom: 7px; }
.login-card input { width: 100%; min-height: 43px; border: 1px solid #dce1ed; border-radius: 8px; padding: 8px 12px; font-size: 1rem; }
.login-error { display: block; color: #b53e46; font-size: .83rem; margin-top: 8px; }
.login-submit { display: block; width: 100%; min-height: 42px; color: white; background: var(--blue); border-radius: 8px; margin-top: 17px; }
.admin-overview { display: flex; align-items: center; gap: 15px; margin: 0; color: #f2f4ff; font-size: .83rem; }
.admin-overview span + span { padding-left: 15px; border-left: 1px solid #ffffff60; }
.empty-state.blank { min-height: 205px; align-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.blank .empty-emblem { display: grid; place-items: center; width: 52px; height: 52px; background: #edf0ff; border-radius: 15px; color: #6b7ee2; margin-bottom: 5px; }
.empty-emblem > svg { width: 27px; height: 27px; }
.empty-state .text-action { color: var(--blue-dark); font-size: .84rem; font-weight: 620; margin-top: 5px; padding: 5px 10px; }
@media(max-width:720px) { .empty-state.blank { min-height: 186px; } }
.hero-back { display: inline-flex; align-items: center; gap: 3px; margin: -5px 0 9px -4px; min-height: 26px; padding: 0 5px 0 0; color: #eef2ff; font-size: .82rem; }
.hero-back > svg { width: 15px; height: 15px; }
.drop-copy { max-width: 75%; }
.drop-copy h1,.drop-copy p { overflow-wrap: anywhere; }
.account-create { display: flex; align-items: center; gap: 6px; color: white; background: var(--blue); padding: 8px 13px; border-radius: 8px; font-size: .86rem; }
.account-create svg { width: 16px; height: 16px; }
.directory-list { display: grid; gap: 9px; margin-top: 14px; }
.conversation-row,.account-entry { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.conversation-row { display: flex; align-items: center; gap: 13px; text-align: left; }
.conversation-row:hover { background: #f2f5ff; border-color: #c3cff8; }
.conversation-avatar { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 12px; color: #536ace; background: #eef1ff; }
.conversation-info,.conversation-tail { display: grid; gap: 6px; min-width: 0; }
.conversation-info { flex: 1; }
.conversation-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.conversation-title strong,.conversation-title .account-badge,.conversation-preview { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.conversation-title strong { font-size: .94rem; color: #354057; }
.account-badge { font-size: .73rem; background: #f1f3f9; color: #55647f; padding: 2px 6px; border-radius: 4px; max-width: 46%; }
.conversation-preview,.conversation-tail { color: var(--muted); font-size: .83rem; }
.conversation-tail { justify-items: end; font-size: .76rem; }
.conversation-row > svg { width: 15px; color: #9aa4b8; }
.account-title,.account-link { display: flex; align-items: center; gap: 8px; }
.account-title svg { background: #eef1ff; color: var(--blue); box-sizing: content-box; padding: 6px; border-radius: 7px; width: 16px; height: 16px; }
.account-id { font-size: .83rem; color: var(--muted); margin: 6px 0 9px; }
.account-link { min-width: 0; margin-top: 5px; font-size: .83rem; }
.account-link small { color: var(--muted); flex: none; font-size: .76rem; }
.account-link a { color: #4156b7; overflow-wrap: anywhere; }
.account-link a:hover { text-decoration: underline; }
.link-copy { margin-left: auto; color: var(--blue-dark); padding: 4px 6px; min-height: 27px; flex: none; }
.account-dialog { width: min(100% - 24px,420px); }
.account-form { display: grid; padding: 19px 21px 22px; }
.account-form label { font-size: .87rem; font-weight: 620; margin: 13px 0 6px; }
.account-form label:first-child { margin-top: 0; }
.account-form small { font-size: .77rem; color: var(--muted); margin-top: 5px; }
.account-form input { border: 1px solid #d7dce8; border-radius: 8px; padding: 8px 10px; min-height: 40px; font-size: 1rem; }
#accountLoginField { margin: 0 0 14px; }
.chat-record { width: fit-content; min-width: min(250px,65%); max-width: min(83%,690px); padding: 9px 10px 9px 13px; }
.chat-record.from-me { justify-self: end; background: #eef1ff; border-color: #d9e1ff; border-bottom-right-radius: 3px; }
.chat-record.from-other { justify-self: start; border-bottom-left-radius: 3px; }
.chat-record .record-title { overflow-wrap: anywhere; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.chat-record .record-main { min-height: 39px; }
.chat-record .record-time { align-self: flex-end; margin-bottom: 2px; }
.chatting .date-label { justify-content: center; margin-bottom: 12px; }
.chatting .record-list { gap: 11px; }
.feed:has(.directory-list) { margin-bottom: 5px; }
@media(max-width:720px) {
  .workspace.chatting .topbar { position: sticky; top: 0; }
  .drop-copy { max-width: 81%; }
  .conversation-row,.account-entry { padding: 10px; }
  .conversation-row { gap: 8px; }
  .conversation-avatar { width: 37px; height: 37px; }
  .conversation-tail { font-size: .72rem; }
  .chat-record { max-width: 92%; min-width: min(67%,230px); }
  .account-link { gap: 5px; }
}
