
:root{--bg:#f5f6f7;--surface:#ffffff;--surface-2:#f0f2f5;--surface-3:#e4e6eb;--text:#050505;--muted:#65676b;--line:#dfe3e8;--brand:#1877f2;--brand-2:#1877f2;--accent:#1877f2;--danger:#d93025;--ok:#18864b;--shadow:0 1px 2px rgba(0,0,0,.08);--shadow-sm:0 1px 2px rgba(0,0,0,.06);--radius:12px;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
*{box-sizing:border-box}html{background:var(--bg)}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:15px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.55;cursor:not-allowed}.hidden{display:none!important}.mobile-only{display:none}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,580px) minmax(330px,460px);gap:7vw;align-items:center;justify-content:center;padding:48px 6vw;background:var(--bg)}.auth-brand{display:flex;gap:24px;align-items:center}.brand-mark,.mini-mark{display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:900}.brand-mark{width:96px;height:96px;border-radius:18px;font-size:44px;box-shadow:none}.auth-brand h1{font-size:clamp(46px,7vw,82px);letter-spacing:-.06em;margin:0;line-height:.95}.tagline{font-size:clamp(18px,2vw,24px);max-width:540px;color:var(--muted);margin:14px 0 0;line-height:1.4}.eyebrow{margin:0 0 7px;color:var(--brand);font-size:10px;font-weight:900;letter-spacing:.18em}.auth-card{padding:28px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-2);padding:5px;border-radius:16px;margin-bottom:20px}.seg{border:0;background:transparent;color:var(--muted);padding:12px;border-radius:12px;font-weight:800}.seg.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}label{display:grid;gap:8px;font-weight:750;font-size:13px;margin:14px 0}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:var(--surface);color:var(--text);outline:none;transition:.18s}input:focus,textarea:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 14%,transparent)}textarea{resize:vertical;line-height:1.5}.check-row{display:flex;align-items:center;gap:10px}.check-row input{width:19px;height:19px;accent-color:var(--brand)}.primary,.secondary,.danger{border:0;border-radius:14px;padding:12px 17px;font-weight:850}.primary{background:var(--brand);color:#fff;box-shadow:none}.secondary{background:var(--surface-2);color:var(--text)}.danger{background:var(--danger);color:#fff}.wide{width:100%;margin-top:10px}.text-button{border:0;background:none;color:var(--brand);font-weight:800;width:100%;padding:13px}.trust-note{display:grid;gap:5px;border-top:1px solid var(--line);margin-top:15px;padding-top:18px;color:var(--muted);font-size:13px}.trust-note strong{color:var(--text)}
.topbar{height:68px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1320px)/2));background:rgba(255,255,255,.96);border-bottom:1px solid color-mix(in srgb,var(--line) 82%,transparent);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.brand-button{display:flex;align-items:center;gap:10px;border:0;background:none;color:var(--text);font-weight:900;font-size:18px}.brand-button small{background:#eef3f8;color:#4b5563;padding:4px 7px;border-radius:8px;font-size:8px;text-transform:uppercase;letter-spacing:.1em}.mini-mark{width:36px;height:36px;border-radius:12px;box-shadow:none}.top-actions{display:flex;align-items:center;gap:9px}.icon-btn,.avatar-button{border:1px solid var(--line);background:var(--surface);color:var(--text);width:42px;height:42px;border-radius:50%;font-weight:900;box-shadow:var(--shadow-sm)}.avatar-button{background:var(--brand);color:#fff;border:0}.badge-wrap{position:relative}.badge{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;border-radius:9px;background:var(--accent);color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px;border:2px solid var(--surface)}
.main-layout{display:grid;grid-template-columns:220px minmax(0,700px) 270px;gap:26px;max-width:1260px;margin:0 auto;padding:30px 18px 100px}.left-rail,.right-rail{position:sticky;top:96px;height:max-content}.rail-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:var(--muted);padding:12px 14px;border-radius:14px;font-weight:800;text-align:left}.nav-item.active,.nav-item:hover{background:var(--surface);color:var(--brand);box-shadow:var(--shadow-sm)}.rail-card{margin-top:20px;padding:18px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.rail-card p,.right-card p{font-size:13px;color:var(--muted);line-height:1.55}.content-column{min-width:0}.right-card{padding:20px;margin-bottom:15px}.right-card h3{margin:4px 0;font-size:19px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:3px 2px 18px}.page-head h2{font-size:32px;letter-spacing:-.045em;margin:0;line-height:1}.page-head p{margin:7px 0 0;color:var(--muted)}
.composer-launch{display:flex;gap:13px;align-items:center;padding:15px 16px;margin-bottom:18px}.avatar{flex:0 0 auto;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:900;box-shadow:none}.composer-launch button{flex:1;text-align:left;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);padding:13px 16px;border-radius:12px}.post-card{padding:20px;margin-bottom:16px}.post-head{display:flex;gap:12px;align-items:center}.post-meta{min-width:0;flex:1}.post-meta strong{display:block;font-size:15px}.post-meta small{color:var(--muted);font-size:12px}.more-btn{border:0;background:none;color:var(--muted);font-size:22px;padding:6px 8px;border-radius:10px}.more-btn:hover{background:var(--surface-2)}.post-body{font-size:16px;line-height:1.62;white-space:pre-wrap;margin:17px 0;color:var(--text)}.post-actions{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);margin-top:15px;padding-top:9px;gap:4px}.post-actions button{border:0;background:none;color:var(--muted);padding:10px 8px;border-radius:11px;font-weight:800}.post-actions button:hover,.post-actions button.reacted{background:color-mix(in srgb,var(--brand) 10%,var(--surface));color:var(--brand)}.author-reaction-summary{font-size:12px;color:var(--muted);margin-top:10px}.comments{border-top:1px solid var(--line);margin-top:9px;padding-top:11px}.comment{display:flex;gap:9px;margin:11px 0}.comment .avatar{width:32px;height:32px;font-size:11px}.comment-bubble{background:var(--surface-2);border-radius:5px 15px 15px 15px;padding:9px 12px;flex:1}.comment-bubble strong{font-size:12px}.comment-bubble p{margin:3px 0 0;line-height:1.45;font-size:14px}.comment-form{display:flex;gap:8px;margin-top:11px}.comment-form input{padding:10px 12px;background:var(--surface-2)}.comment-form button{border:0;background:var(--brand);color:#fff;border-radius:12px;width:42px}.caught-up{text-align:center;padding:34px 20px;color:var(--muted)}.caught-up strong{display:block;color:var(--text);font-size:20px;margin-bottom:7px}
.empty{padding:46px 24px;text-align:center;color:var(--muted)}.empty .empty-icon{font-size:34px;margin-bottom:10px;color:var(--brand)}.empty strong{color:var(--text);font-size:18px}.empty p{line-height:1.5}.list{display:grid;gap:11px}.person-row,.message-row,.memory-row,.setting-row{display:flex;align-items:center;gap:13px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow-sm)}.person-info,.message-info{flex:1;min-width:0}.person-info strong,.message-info strong{display:block}.person-info small,.message-info small{color:var(--muted)}.small-btn{border:0;background:var(--surface-2);color:var(--text);padding:9px 12px;border-radius:11px;font-weight:800}.small-btn.primary-lite{background:color-mix(in srgb,var(--brand) 13%,var(--surface));color:var(--brand)}.search-box{display:flex;gap:9px;margin-bottom:16px}.search-box input{flex:1;background:var(--surface)}.search-box button{border:0;background:var(--brand);color:#fff;border-radius:13px;padding:0 18px;font-weight:850}
.profile-hero{overflow:hidden;margin-bottom:18px}.cover{height:160px;background:#e9edf3;border-bottom:1px solid var(--line)}.profile-info{padding:0 24px 24px}.profile-info .avatar{width:94px;height:94px;border:6px solid var(--surface);margin-top:-47px;font-size:31px}.profile-info h2{margin:10px 0 0;font-size:31px;letter-spacing:-.035em}.profile-info .handle{color:var(--muted);margin:3px 0 14px}.profile-stats{display:flex;flex-wrap:wrap;gap:20px;color:var(--muted);font-size:13px}.profile-stats strong{color:var(--text)}.bio{line-height:1.55;font-size:15px}.settings-grid{display:grid;gap:12px}.setting-row{justify-content:space-between}.setting-row div{max-width:70%}.setting-row p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.setting-row select,.setting-row input{width:auto;min-width:150px}.danger-zone{border-color:color-mix(in srgb,var(--danger) 30%,var(--line))}
.modal{border:0;padding:0;background:transparent;max-width:580px;width:calc(100% - 24px);overflow:visible}.modal::backdrop{background:rgba(3,7,14,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.modal-card{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 30px 100px rgba(0,0,0,.4);max-height:min(88dvh,760px);overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.modal-head h2{margin:0;font-size:26px;letter-spacing:-.03em}.close-btn{border:0;background:var(--surface-2);color:var(--text);width:38px;height:38px;border-radius:50%;font-size:23px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px;position:sticky;bottom:-22px;background:var(--surface);padding:18px 0 4px}.composer-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.inline-note{font-size:12px;line-height:1.5;color:var(--muted);background:var(--surface-2);border-radius:14px;padding:12px}.toast{position:fixed;z-index:100;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translate(-50%,20px);opacity:0;background:#101726;color:#fff;padding:11px 15px;border-radius:13px;box-shadow:var(--shadow);transition:.22s;pointer-events:none;max-width:min(92vw,500px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.message-layout{display:grid;grid-template-columns:250px 1fr;min-height:560px;overflow:hidden}.conversation-list{border-right:1px solid var(--line);padding:11px}.conversation-list button{width:100%;border:0;background:none;text-align:left;padding:11px;border-radius:12px;color:var(--text)}.conversation-list button.active,.conversation-list button:hover{background:var(--surface-2)}.chat-pane{display:flex;flex-direction:column;min-width:0}.chat-head{padding:15px;border-bottom:1px solid var(--line);font-weight:850}.chat-messages{flex:1;padding:16px;overflow:auto;display:flex;flex-direction:column;gap:9px}.bubble{max-width:78%;padding:10px 13px;border-radius:16px 16px 16px 5px;background:var(--surface-2);line-height:1.45}.bubble.mine{margin-left:auto;background:var(--brand);color:#fff;border-radius:16px 16px 5px 16px}.bubble small{display:block;opacity:.72;margin-top:4px;font-size:9px}.chat-compose{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}.chat-compose input{background:var(--surface-2)}.chat-compose button{border:0;background:var(--brand);color:#fff;padding:0 16px;border-radius:12px}
@media(max-width:1050px){.main-layout{grid-template-columns:190px minmax(0,700px)}.right-rail{display:none}}
@media(max-width:760px){.desktop-only{display:none!important}.mobile-only{display:flex}.auth-shell{display:block;padding:30px 18px 74px}.auth-brand{align-items:center;margin:12px 0 30px;gap:16px}.brand-mark{width:62px;height:62px;border-radius:12px;font-size:29px}.auth-brand h1{font-size:42px}.tagline{font-size:16px;margin-top:8px}.auth-card{padding:19px;border-radius:12px}.topbar{height:64px;padding:0 16px}.brand-button{font-size:16px}.mini-mark{width:36px;height:36px}.icon-btn,.avatar-button{width:40px;height:40px}.main-layout{display:block;padding:20px 14px calc(94px + var(--safe-bottom))}.page-head{margin:3px 4px 18px}.page-head h2{font-size:30px}.page-head p{font-size:14px}.composer-launch{padding:13px;margin-bottom:15px;border-radius:12px}.composer-launch button{padding:12px 14px}.post-card{padding:16px;border-radius:12px;margin-bottom:14px}.post-body{font-size:16px;line-height:1.58}.post-actions button{font-size:13px}.bottom-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;height:calc(72px + var(--safe-bottom));padding:5px 8px var(--safe-bottom);background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);align-items:center;justify-content:space-around}.bottom-nav button{border:0;background:none;color:var(--muted);display:grid;place-items:center;gap:3px;min-width:56px;padding:5px;border-radius:13px}.bottom-nav button.active{color:var(--brand)}.bottom-nav span{font-size:19px;line-height:1}.bottom-nav small{font-size:10px;font-weight:800}.bottom-nav .post-fab span{width:48px;height:48px;margin-top:-28px;border-radius:17px;display:grid;place-items:center;background:var(--brand);color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.16);font-size:28px}.composer-row{grid-template-columns:1fr}.modal{width:calc(100% - 20px);margin:auto}.modal-card{border-radius:12px;padding:18px;max-height:88dvh}.modal-actions{bottom:-18px}.message-layout{grid-template-columns:1fr;min-height:calc(100dvh - 180px)}.conversation-list{border-right:0;border-bottom:1px solid var(--line);max-height:190px;overflow:auto}.profile-hero .cover{height:120px}.profile-info{padding:0 20px 22px}.profile-info .avatar{width:86px;height:86px;margin-top:-43px}.profile-info h2{font-size:28px}.setting-row{align-items:flex-start;flex-direction:column}.setting-row div{max-width:100%}.setting-row select,.setting-row input{width:100%}.toast{bottom:calc(88px + var(--safe-bottom))}}

/* V3 clean social reset */
body{background:#f5f6f7}
.card,.post-card,.profile-hero,.person-row,.message-row,.memory-row,.setting-row{box-shadow:none}
.topbar{background:#fff;border-bottom:1px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none}
.brand-button small{background:#eef1f4;color:#606770}
.brand-mark,.mini-mark,.avatar,.avatar-button{background:#1877f2}
.primary,.search-box button,.comment-form button,.chat-compose button,.bubble.mine{background:#1877f2;box-shadow:none}
.auth-shell{background:#f5f6f7}
.auth-card{box-shadow:none}
.cover{background:#e8edf3}
.bottom-nav{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
.bottom-nav .post-fab span{background:#1877f2;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.post-actions button:hover,.post-actions button.reacted{background:#eef3f8;color:#1877f2}
.rail-card{background:#fff}
.modal::backdrop{background:rgba(0,0,0,.45);backdrop-filter:none;-webkit-backdrop-filter:none}
.modal-card{box-shadow:0 8px 28px rgba(0,0,0,.18)}
@media(max-width:760px){.main-layout{padding-left:0;padding-right:0}.content-column>.page-head,.content-column>.search-box,.content-column>h3,.content-column>.settings-grid{margin-left:16px;margin-right:16px}.composer-launch,.post-card,.profile-hero,.message-layout{border-left:0;border-right:0;border-radius:0}.post-card{margin-bottom:8px}.composer-launch{margin-bottom:8px}.page-head h2{font-size:28px}.topbar{padding:0 14px}.brand-button small{display:none}.cover{height:108px}.profile-info{padding-left:16px;padding-right:16px}.profile-info .avatar{border-color:#fff}.bottom-nav{height:calc(66px + var(--safe-bottom))}.bottom-nav .post-fab span{width:46px;height:46px;margin-top:-24px}}

/* V4 profile, messaging, and photo experience */
.avatar.has-photo{overflow:hidden;background:#e9eef5}.avatar.has-photo img,.avatar-button img{width:100%;height:100%;object-fit:cover;display:block}.avatar-button{overflow:hidden;padding:0}.avatar-button img{border-radius:50%}
.post-media{margin:14px -20px 0;overflow:hidden;background:#eef1f4}.post-media img{display:block;width:100%;max-height:680px;object-fit:cover;background:#eef1f4}
.photo-picker-row{display:flex;align-items:center;gap:8px;margin-top:12px}.media-button{border:1px solid var(--line);background:#fff;color:var(--text);padding:10px 13px;border-radius:10px;font-weight:800}.photo-picker-row .text-button{width:auto;padding:10px 6px}.photo-preview{margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#eef1f4}.photo-preview img{width:100%;display:block;max-height:360px;object-fit:cover}
.profile-page{display:grid;gap:12px}.profile-page .profile-hero{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.cover{background-position:center;background-size:cover;background-repeat:no-repeat}.cover.has-photo{background-color:#e8edf3}.profile-info{position:relative}.profile-avatar-wrap{width:max-content;margin-top:-52px}.profile-info .profile-avatar{width:104px;height:104px;margin:0;border:5px solid #fff;font-size:34px}.profile-name-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-top:8px}.profile-name-row h2{margin:0;font-size:30px}.profile-name-row .secondary{padding:9px 14px}.profile-location{color:var(--muted);font-size:13px;margin:10px 0}.profile-section-title{padding:10px 4px 2px;font-size:14px;color:var(--muted)}
.profile-editor-preview{position:relative;margin:-2px 0 18px}.edit-cover-preview{height:150px;border-radius:12px;background:#e8edf3 center/cover no-repeat;position:relative;overflow:hidden}.edit-avatar-preview{position:relative;width:92px;height:92px;border-radius:50%;margin:-42px 0 0 18px;border:4px solid #fff;background:var(--brand) center/cover no-repeat;color:#fff;display:grid;place-items:center;font-size:29px;font-weight:900;overflow:visible}.edit-avatar-preview.has-local-photo span{display:none}.photo-edit-button{border:1px solid rgba(0,0,0,.12);background:rgba(255,255,255,.95);color:#111;padding:8px 11px;border-radius:9px;font-weight:800;font-size:12px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.edit-cover-preview>.photo-edit-button{position:absolute;right:10px;bottom:10px}.edit-avatar-preview>.photo-edit-button{position:absolute;left:72px;bottom:0;white-space:nowrap}
.messages-page{display:grid;gap:14px}.messages-title{display:flex;justify-content:space-between;align-items:end;padding:0 2px}.messages-title h2{margin:0;font-size:30px;letter-spacing:-.04em}.message-layout{background:#fff;border:1px solid var(--line);border-radius:14px;min-height:620px}.conversation-list{padding:0;background:#fff}.conversation-list button{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);border-radius:0;padding:13px 14px}.conversation-list button:last-child{border-bottom:0}.conversation-list .avatar{width:46px;height:46px}.conversation-copy{display:grid;gap:3px;flex:1}.conversation-copy strong{font-size:14px}.conversation-copy small{font-size:11px;color:var(--muted)}.chev{font-size:24px;color:#a5abb3}.conversation-empty{display:grid;gap:6px;padding:34px 20px;color:var(--muted);text-align:center}.conversation-empty strong{color:var(--text);font-size:17px}.chat-head{min-height:66px;display:flex;align-items:center;gap:10px;padding:10px 14px}.chat-head .avatar{width:40px;height:40px}.chat-head span{display:grid}.chat-head small{font-size:11px;color:var(--muted);font-weight:500}.chat-messages{background:#fff;padding:18px}.chat-empty{margin:auto;text-align:center;color:var(--muted);max-width:280px}.chat-empty strong{display:block;color:var(--text);margin-bottom:5px}.bubble{display:grid;gap:2px}.bubble span{white-space:pre-wrap}.chat-compose{background:#fff;padding:10px 12px}.chat-compose input{border-radius:22px;background:#f0f2f5;border-color:#e3e7eb}.chat-compose button{width:44px;height:44px;border-radius:50%;padding:0;font-size:18px}
@media(max-width:760px){.post-media{margin-left:-16px;margin-right:-16px}.profile-page .profile-hero{border-left:0;border-right:0;border-radius:0}.profile-avatar-wrap{margin-top:-46px}.profile-info .profile-avatar{width:92px;height:92px}.profile-name-row{align-items:center}.profile-name-row h2{font-size:27px}.messages-title{padding:0 16px}.message-layout{border-left:0;border-right:0;border-radius:0;min-height:calc(100dvh - 150px)}.conversation-list{max-height:none}.chat-pane{min-height:calc(100dvh - 150px)}.message-layout:not(.chat-open) .chat-pane{display:none}.message-layout.chat-open .conversation-list{display:none}.edit-cover-preview{height:130px}.modal-card{max-height:92dvh}.photo-edit-button{font-size:11px}.edit-avatar-preview>.photo-edit-button{left:64px}.profile-section-title{padding-left:16px}.toast{bottom:calc(82px + var(--safe-bottom))}}

.auth-status{margin:14px 0;padding:12px 14px;border-radius:12px;font-size:.95rem;line-height:1.35;background:#eef4ff;color:#173a73;border:1px solid #d7e5ff}.auth-status.success{background:#eef9f1;color:#175b2c;border-color:#cfead6}.auth-status.error{background:#fff0f0;color:#8a1f1f;border-color:#f1cccc}.auth-status.hidden{display:none}

/* V4.3.3 startup/auth hardening */
.password-wrap{position:relative;display:flex;align-items:center}.password-wrap input{padding-right:54px}.password-toggle{position:absolute;right:8px;width:42px;height:42px;border:0;background:transparent;border-radius:10px;font-size:20px;display:grid;place-items:center;cursor:pointer}.password-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 30%,transparent)}

/* V4.3.3 full-sweep hardening */
.edit-avatar-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.chat-back{border:0;background:var(--surface-2);color:var(--text);width:38px;height:38px;border-radius:50%;font-size:28px;line-height:1;align-items:center;justify-content:center;flex:0 0 auto}
.account-menu-dialog{max-width:420px}.account-menu-card{padding-bottom:14px}.account-menu-list{display:grid;gap:8px}.account-menu-list button{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:14px 16px;border-radius:12px;text-align:left;font-weight:800}.account-menu-list button:hover{background:var(--surface-2)}
@media(max-width:760px){.home-head{padding-left:16px;padding-right:16px}.account-menu-dialog{width:calc(100% - 24px)}.chat-back.mobile-only{display:flex}}


/* Owner Analytics — V4.3.6 */
.analytics-head{align-items:flex-end;gap:16px}.analytics-controls{display:flex;gap:8px;align-items:center}.analytics-controls select{min-width:120px}.analytics-dashboard{display:grid;gap:14px}.analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.analytics-metric{padding:16px;display:flex;flex-direction:column;gap:4px}.analytics-metric small{color:var(--muted,#667085);font-weight:700}.analytics-metric strong{font-size:1.8rem;line-height:1.1}.analytics-metric span{font-size:.8rem;color:var(--muted,#667085)}.analytics-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.analytics-section{padding:16px}.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.section-title small{color:var(--muted,#667085)}.analytics-list{display:grid;gap:8px}.analytics-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(17,24,39,.08)}.analytics-list>div:last-child{border-bottom:0}.analytics-bars{display:grid;gap:9px}.analytics-day{display:grid;grid-template-columns:72px 1fr 42px;gap:10px;align-items:center;font-size:.86rem}.analytics-day strong{text-align:right}.bar-track{height:9px;background:rgba(17,24,39,.08);border-radius:99px;overflow:hidden}.bar-track i{display:block;height:100%;background:currentColor;border-radius:inherit}.analytics-footnote{font-size:.78rem;color:var(--muted,#667085);text-align:center;margin:0 0 10px}.empty.compact{padding:12px 0}.account-menu-list .hidden{display:none!important}@media(max-width:760px){.analytics-head{align-items:stretch}.analytics-controls{width:100%}.analytics-controls select{flex:1}.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-two{grid-template-columns:1fr}.analytics-day{grid-template-columns:64px 1fr 34px}}
