/* Personal updates use the existing appearance tokens and stay in the scroll flow. */
.support-incoming-banner[hidden],.support-new-replies[hidden],.support-unread-count[hidden],.support-connection-status[hidden],.support-send-state[hidden]{display:none!important}
.support-incoming-banner{position:fixed;z-index:2147483000;top:max(12px,env(safe-area-inset-top));left:14px;right:14px;max-width:420px;margin:0 auto;display:flex;align-items:center;border:1px solid var(--ui-line,#dce5de);border-radius:22px;background:var(--ui-surface,#fff);color:var(--ui-ink,#183b30);box-shadow:0 8px 32px #10221e20;overflow:hidden}
.support-incoming-open{display:flex;align-items:center;flex:1;min-width:0;min-height:76px;border:0;padding:13px 4px 13px 14px;background:transparent;color:inherit;text-align:left;font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.support-incoming-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:13px;margin-right:12px;background:var(--ui-fill,#edf3ee);color:var(--ui-accent,#306d56)}
.support-incoming-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.support-incoming-copy{display:flex;flex:1;min-width:0;flex-direction:column}
.support-incoming-copy strong{font-size:13px;font-weight:650;line-height:1.5}
.support-incoming-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:13px;line-height:1.5;color:var(--ui-muted,#62756a);margin-top:3px}
.support-incoming-count{flex:none;align-self:flex-start;min-width:19px;border-radius:10px;background:var(--ui-primary,#306d56);color:var(--ui-on-primary,#fff);text-align:center;font-size:11px;line-height:19px;padding:0 3px;margin:3px 4px 0 10px}
.support-incoming-dismiss{flex:none;width:44px;height:48px;border:0;background:transparent;color:var(--ui-muted,#62756a);font-size:23px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.support-open{position:relative}
.support-unread-count{position:absolute;top:-3px;right:-3px;min-width:17px;padding:0 3px;border-radius:10px;background:var(--ui-primary,#306d56);color:var(--ui-on-primary,#fff);font-size:10px;line-height:17px;text-align:center;pointer-events:none}
:root .device .support-new-replies{align-self:center;flex:none;max-width:90%;min-height:36px;margin:6px auto;padding:8px 15px;border:1px solid var(--ui-line,#dce5de);border-radius:18px;background:var(--ui-surface,#fff);color:var(--ui-accent,#306d56);box-shadow:0 2px 8px #10221e0c;font:inherit;font-size:12px;font-weight:600;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:root .device .support-connection-status,:root .device .support-send-state{flex:none;padding:5px 16px;margin:0;font-size:11px;line-height:1.5;color:var(--ui-muted,#62756a);overflow-wrap:anywhere}
:root .device .support-send-state.is-error{color:var(--ui-danger,#b34f43)}
@supports (backdrop-filter:blur(18px)){.support-incoming-banner{background:color-mix(in srgb,var(--ui-surface,#fff) 92%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}}
@media(prefers-reduced-motion:no-preference){.support-incoming-banner{animation:support-notice-in 160ms ease-out}@keyframes support-notice-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}}
:root .device .home-account-updates { margin:0 0 18px; min-width:0; color:var(--ui-ink,#183b30); }
:root .device .home-account-updates[hidden],
:root .device .account-unread-badge[hidden],
:root .device .home-updates-sync[hidden] { display:none !important; }
:root .device .home-updates-heading { display:flex; align-items:center; justify-content:space-between; margin:0 2px 10px; }
:root .device .home-updates-heading h3 { margin:0; font-size:14px; line-height:1.4; font-weight:650; letter-spacing:normal; color:var(--ui-ink,#183b30); }
:root .device .home-updates-all { border:0; background:transparent; color:var(--ui-accent,#306d56); padding:10px 0 10px 12px; min-height:44px; font:inherit; font-size:12px; font-weight:600; }
:root .device .home-update-card { display:flex; align-items:flex-start; width:100%; text-align:left; padding:16px; border:1px solid var(--ui-line,#dce5de); border-radius:20px; background:var(--ui-surface,#fff); color:var(--ui-ink,#183b30); box-shadow:var(--ui-shadow,0 3px 12px #153b3010); cursor:pointer; font:inherit; }
:root .device .home-update-symbol { display:flex; flex:0 0 38px; width:38px; height:38px; align-items:center; justify-content:center; border-radius:12px; background:var(--ui-fill,#edf3ee); color:var(--ui-accent,#306d56); margin-right:14px; }
:root .device .home-update-symbol svg { display:block; width:21px; height:21px; stroke:currentColor; stroke-width:1.6; fill:none; stroke-linecap:round; stroke-linejoin:round; }
:root .device .home-update-copy { display:flex; flex:1; min-width:0; flex-direction:column; }
:root .device .home-update-copy strong { font-size:14px; font-weight:650; line-height:1.4; color:var(--ui-ink,#183b30); overflow-wrap:break-word; }
:root .device .home-update-copy > span { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:5px; font-size:12px; line-height:1.5; color:var(--ui-muted,#62756a); overflow-wrap:break-word; }
:root .device .home-update-copy small { display:block; margin-top:10px; color:var(--ui-accent,#306d56); font-size:12px; font-weight:600; line-height:1.4; }
:root .device .home-updates-sync { font-size:12px; line-height:1.5; padding:12px 14px; background:var(--ui-fill,#edf3ee); color:var(--ui-muted,#62756a); border-radius:14px; margin:10px 0 0; }
:root .device .bottom-nav button { position:relative; }
:root .device .bottom-nav .account-unread-badge { position:absolute; top:3px; left:calc(50% + 5px); min-width:15px; height:15px; box-sizing:border-box; padding:0 4px; border-radius:9px; background:var(--ui-primary,#306d56); color:var(--ui-on-primary,#fff); font-size:9px; line-height:15px; font-weight:650; text-align:center; pointer-events:none; }
@media (prefers-reduced-motion:no-preference) {
  :root .device .home-update-card { transition:background-color 120ms ease; }
}

/* Older Android WebViews do not lay out button grids with display:contents reliably. */
:root.beike-legacy-webview .device .history-list .history-item { display:flex; align-items:flex-start; gap:0; min-height:90px; }
:root.beike-legacy-webview .device .history-item-icon { flex:0 0 32px; align-self:flex-start; margin:0 12px 0 0; }
:root.beike-legacy-webview .device .history-item-main { display:block; flex:1 1 0%; min-width:0; margin:0; }
:root.beike-legacy-webview .device .history-item-side { display:flex; flex:0 1 auto; min-width:0; max-width:44%; flex-direction:column; align-items:flex-end; margin:0 0 0 12px; }
:root.beike-legacy-webview .device .history-item-main strong { font-size:13px; line-height:1.4; }
:root.beike-legacy-webview .device .history-item-main small { font-size:11px; line-height:1.45; }
:root.beike-legacy-webview .device .history-item-main em { display:inline-block; width:auto; font-size:10px; line-height:1.4; }
:root.beike-legacy-webview .device .history-item-side strong { font-size:13px; line-height:1.4; white-space:normal; overflow-wrap:break-word; }
:root.beike-legacy-webview .device .history-item-side small { font-size:10px; line-height:1.4; white-space:normal; }
