:root {
  --ink: #193d35;
  --muted: #76867f;
  --line: #e2e9e4;
  --soft: #f4f7f4;
  --panel: #ffffff;
  --mint: #215c49;
  --mint-deep: #215c49;
  --mint-pale: #e8f1eb;
  --coral: #fa8d7b;
  --lavender: #a899e7;
  --rail: #193b33;
  --shadow: 0 12px 34px rgba(31, 61, 55, .08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #f1f5f4;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f0f4f1; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(33, 92, 73, .28); outline-offset: 3px; }
::selection { color: #173b30; background: #cee4d6; }
* { scrollbar-width: thin; scrollbar-color: #c5d1ca transparent; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; }
.app-shell { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.workspace { display: grid; grid-template-columns: 304px minmax(0, 1fr) 272px; grid-template-rows: minmax(0, 1fr) auto; height: 100%; min-height: 0; }
.workspace > .conversations, .workspace > .main-panel, .workspace > .details { grid-row: 1; }
.avatar { border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--mint-pale); color: #137b61; font-weight: 700; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.xs { width: 30px; height: 30px; font-size: 11px; }
.avatar.sm { width: 40px; height: 40px; font-size: 13px; }
.avatar.md { width: 48px; height: 48px; font-size: 15px; }
.avatar.lg { width: 58px; height: 58px; font-size: 18px; }
.avatar.coral { background: #fff0eb; color: #d66a58; }
.avatar.lavender { background: #f0edff; color: #7464c0; }
.avatar.slate { background: #e8eef0; color: #587078; }
.avatar.peach { background: #fff0e9; color: #ca765a; }
.avatar.blue { background: #eaf1ff; color: #688ac2; }
.conversations { background: #f8faf8; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.conv-head { padding: 28px 20px 18px; }
.conv-title-line { display: flex; align-items: center; justify-content: space-between; }
.conv-title { display: flex; align-items: center; gap: 10px; font-size: 23px; letter-spacing: 0; margin: 0; font-weight: 700; }
.brand-header-logo { display: block; width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto; }
.eyebrow { font-size: 9px; color: #87998d; letter-spacing: 0; font-weight: 650; display: block; margin-bottom: 7px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); background: transparent; transition: .16s ease; }
.icon-btn:hover { color: var(--mint-deep); background: var(--mint-pale); }
.icon-btn.small { width: 32px; height: 32px; }
.icon-btn .icon { width: 18px; height: 18px; }
.search-box { display: flex; align-items: center; gap: 8px; background: #eef2ee; color: #879891; border: 1px solid #e5ebe6; border-radius: 8px; padding: 0 11px; height: 40px; margin-top: 21px; }
.search-box:focus-within { border-color: #9bb7a6; background: #fff; }
.search-box input { border: 0; outline: 0; background: transparent; min-width: 0; width: 100%; color: var(--ink); font-size: 13px; }
.tabs { display: flex; align-items: center; gap: 17px; padding: 3px 20px 12px; border-bottom: 1px solid var(--line); }
.tab { background: transparent; color: var(--muted); padding: 8px 0; font-size: 13px; position: relative; }
.tab.active { color: var(--ink); font-weight: 700; }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--mint); border-radius: 3px; }
.tab-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; font-size: 10px; background: #e5eeea; color: #71827c; margin-left: 3px; }
.conversation-list { overflow-y: auto; flex: 1; padding: 10px; }
.empty-list { color: #99a7a2; font-size: 12px; text-align: center; padding: 45px 15px; }
.sidebar-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 5px 18px; color: #839389; font-size: 11px; border-top: 1px solid var(--line); }
.sidebar-footer .icon { width: 13px; height: 13px; color: #55b995; }
.notice-entry { width: calc(100% - 20px); margin: 0 10px 6px; display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 10px; border: 1px solid #dce9e0; border-radius: 10px; background: linear-gradient(135deg, #f1f8f3, #fff); text-align: start; position: relative; color: var(--ink); }
.notice-entry:hover, .notice-entry:focus-visible { background: #e8f3eb; border-color: #aacbb5; }
.notice-entry > .icon { width: 23px; height: 23px; padding: 5px; border-radius: 50%; color: #fff; background: var(--mint-deep); box-sizing: content-box; }
.notice-entry-copy { min-width: 0; flex: 1; }
.notice-entry-copy strong, .notice-entry-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-entry-copy strong { font-size: 13px; font-weight: 700; }
.notice-entry-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.official-badge { display: inline-flex; align-items: center; gap: 3px; color: #23775c; font-size: 10px; line-height: 1; white-space: nowrap; }
.official-badge .icon { width: 13px; height: 13px; }
.notice-entry > .official-badge { position: absolute; top: 7px; right: 9px; }
.notice-entry-count, .notice-heading-count, .notice-tab-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px; background: #d76859; color: #fff; font-size: 10px; font-weight: 700; }
.notice-entry-count { flex: 0 0 auto; }
.notices-view { padding: 38px clamp(24px, 5vw, 60px); overflow-y: auto; flex: 1; max-width: 880px; width: 100%; align-self: center; }
.notices-heading { margin-bottom: 24px; }
.notices-heading h1 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 25px; font-weight: 600; }
.notices-heading h1 > .icon { width: 25px; height: 25px; color: var(--mint-deep); }
.notice-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.notice-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 2px; color: var(--muted); border-bottom: 2px solid transparent; background: transparent; font-size: 13px; }
.notice-tab.active { color: var(--ink); border-bottom-color: var(--mint); font-weight: 700; }
.notice-feed { min-height: 240px; }
.notice-card { display: block; width: 100%; padding: 18px 4px 19px; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: start; }
.notice-card:hover, .notice-card:focus-visible { background: #f7faf7; }
.notice-card-meta, .notice-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notice-category { color: var(--mint-deep); font-size: 11px; font-weight: 700; }
.notice-date { color: #8c9c92; font-size: 11px; }
.notice-card-title { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 16px; font-weight: 700; }
.notice-card-preview { display: block; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-card-footer { justify-content: space-between; margin-top: 13px; }
.notice-card-footer > span:last-child { display: inline-flex; align-items: center; gap: 4px; color: #9aa9a1; font-size: 11px; }
.notice-card-footer .icon { width: 13px; height: 13px; }
.notice-unread-dot { width: 7px; height: 7px; border-radius: 50%; background: #d76859; }
.notice-empty { min-height: 230px; display: grid; place-items: center; align-content: center; gap: 12px; color: #9aa7a0; font-size: 13px; }
.notice-empty .icon { width: 30px; height: 30px; color: #87a995; }
.notice-load-error { padding: 20px; border: 1px solid #f0d6d0; background: #fff7f5; color: #a65145; border-radius: 8px; font-size: 13px; text-align: center; }
.notice-load-error button, .notice-return { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--mint-deep); background: transparent; font-size: 12px; }
.notice-detail { padding: 6px 0 28px; }
.notice-detail .notice-card-meta { justify-content: flex-start; }
.notice-detail h1 { margin: 17px 0 7px; font-size: 26px; font-weight: 650; }
.notice-detail .notice-date { margin: 0; }
.notice-body { margin-top: 27px; color: #405249; font-size: 15px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-return { margin: 0; padding: 8px 0; }
.conversation { display: flex; width: 100%; text-align: left; background: transparent; align-items: center; gap: 12px; padding: 15px 10px; border-radius: 8px; cursor: pointer; transition: .15s ease; position: relative; }
.conversation:hover { background: #eef3ee; }
.conversation.active { background: #e6efe8; }
.conversation-main { min-width: 0; flex: 1; }
.conversation-row { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; }
.conversation-name { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-time { color: #8e9c93; font-size: 11px; white-space: nowrap; }
.conversation-preview { color: #7d8e82; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; }
.conversation-badge { min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--mint); color: white; font-size: 10px; display: grid; place-items: center; }
.main-panel { background: #fff; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.chat-header { height: 78px; flex: 0 0 auto; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 26px; gap: 12px; }
.mobile-back { display: none; }
.chat-head-copy { min-width: 0; flex: 1; }
.chat-title { font-size: 16px; margin: 0; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-subtitle { font-size: 12px; color: var(--muted); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-subtitle .icon { width: 11px; height: 11px; vertical-align: -2px; color: var(--mint-deep); }
.header-actions { display: flex; align-items: center; gap: 3px; }
.message-scroller { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 28px clamp(18px, 4vw, 48px) 22px; background: #f7f9f6; }
.preview-banner { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 26px; background: #f6f3eb; color: #857653; font-size: 11px; border-bottom: 1px solid #ebe7da; }
.preview-banner span { display: flex; align-items: center; gap: 5px; }
.preview-banner .icon { width: 13px; height: 13px; }
.preview-banner button { background: transparent; color: #786331; font-size: 11px; display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.preview-banner button:hover { text-decoration: underline; }
.preview-banner button .icon { width: 12px; height: 12px; }
.search-results-note { padding: 7px 25px; background: #f4faf8; border-bottom: 1px solid #e2efea; color: #5f7e73; font-size: 11px; }
.search-results-note button { background: transparent; color: var(--mint-deep); margin-left: 10px; font-size: 11px; }
.date-separator { color: #91a093; font-size: 11px; text-align: center; margin: 7px 0 24px; display: flex; align-items: center; gap: 12px; justify-content: center; }
.date-separator::before, .date-separator::after { content: ""; height: 1px; width: 34px; background: #e8edeb; }
.message-row { display: flex; gap: 10px; align-items: flex-end; margin: 20px 0; max-width: 88%; position: relative; }
.message-row.mine { margin-left: auto; flex-direction: row-reverse; }
.message-bubble-wrap { min-width: 0; }
.message-meta { color: #87978b; font-size: 11px; margin: 0 4px 7px; }
.message-row.mine .message-meta { text-align: right; }
.bubble { background: #fff; border: 1px solid #e4ebe4; border-radius: 8px 8px 8px 2px; padding: 11px 14px; line-height: 1.65; font-size: 14px; color: #34483c; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(31, 61, 45, .025); }
.message-row.mine .bubble { background: #e5eee4; border-color: #dce7da; border-radius: 8px 8px 2px 8px; color: #254b36; }
.message-caption { color: #87978b; font-size: 11px; margin-top: 6px; }
.message-row.mine .message-caption { text-align: right; }
.bubble-image { max-width: min(280px, 100%); max-height: 260px; border-radius: 10px; display: block; object-fit: cover; cursor: pointer; }
.bubble-audio { display: flex; align-items: center; gap: 9px; min-width: 130px; }
.audio-play { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--mint-deep); background: #fff; }
.audio-play .icon { width: 14px; height: 14px; }
.message-actions { position: static; opacity: .4; pointer-events: auto; display: flex; align-self: center; flex: 0 0 auto; background: transparent; border: 0; border-radius: 8px; padding: 0; }
.message-row:hover .message-actions, .message-row:focus-within .message-actions { opacity: 1; pointer-events: auto; }
.composer-wrap { flex: 0 0 auto; border-top: 1px solid var(--line); padding: 12px 24px 18px; background: #fff; }
.composer-tools { display: flex; gap: 4px; align-items: center; margin-bottom: 9px; }
.composer { display: flex; align-items: flex-end; gap: 9px; }
.composer textarea { resize: none; border: 1px solid #dfe7de; border-radius: 8px; min-height: 46px; max-height: 110px; padding: 12px 14px; outline: 0; flex: 1; min-width: 0; line-height: 1.4; font-size: 14px; color: var(--ink); background: #f8faf7; }
.composer textarea:focus { border-color: #8baa96; background: #fff; }
.send-btn { border-radius: 8px; width: 46px; height: 46px; flex: 0 0 auto; background: var(--mint); color: #fff; display: grid; place-items: center; transition: .16s ease; }
.send-btn:hover { background: #194837; }
.send-btn .icon { width: 19px; height: 19px; }
.emoji-popover { position: absolute; bottom: 70px; left: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 10px; display: grid; grid-template-columns: repeat(8, 30px); gap: 3px; z-index: 5; }
.emoji-popover button { background: transparent; border-radius: 7px; font-size: 19px; width: 30px; height: 30px; }
.emoji-popover button:hover { background: var(--mint-pale); }
.composer-wrap { position: relative; }
.details { background: #f8faf8; border-left: 1px solid var(--line); overflow-y: auto; padding: 29px 22px; }
.details-title { font-size: 13px; font-weight: 650; margin: 0 0 24px; }
.detail-profile { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.detail-profile .avatar { margin-bottom: 10px; }
.detail-name { font-weight: 750; font-size: 15px; }
.detail-handle { font-size: 11px; color: var(--muted); margin-top: 3px; }
.detail-actions { display: flex; gap: 23px; margin-top: 20px; }
.detail-action { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #788780; font-size: 11px; background: transparent; min-width: 36px; min-height: 44px; }
.detail-action:hover { color: var(--mint-deep); }
.detail-action .icon { width: 18px; height: 18px; }
.info-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-label { letter-spacing: 0; color: #8c9c90; font-size: 11px; font-weight: 650; margin-bottom: 12px; }
.info-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #4c5c57; padding: 8px 0; }
.info-line .value { color: #84928d; text-align: right; }
.inline-icon { display: inline-flex; align-items: center; gap: 7px; }
.inline-icon .icon { width: 15px; height: 15px; color: #7b9389; }
.status-dot { font-size: 11px; color: var(--mint-deep); flex: 0 0 auto; }
.fingerprint { display: block; color: var(--mint-deep); background: var(--mint-pale); border-radius: 7px; padding: 8px; font-size: 10px; word-break: break-all; letter-spacing: 0; line-height: 1.5; }
.expiry-select { border: 1px solid #d9e5e0; border-radius: 7px; background: #fff; color: #62736d; font-size: 11px; padding: 5px 7px; }
.privacy-note { display: flex; gap: 8px; color: #7b8b80; background: #eef3ed; border: 1px solid #e4ebe2; border-radius: 8px; padding: 12px; margin-top: 21px; font-size: 11px; line-height: 1.65; }
.privacy-note .icon { width: 15px; height: 15px; color: var(--mint-deep); flex: 0 0 auto; }
.privacy-note p { margin: 0; }
.preview-start { margin: 22px 0 6px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.preview-start h4 { margin: 3px 0 4px; font-size: 14px; }
.preview-start p { font-size: 12px; color: #6c8179; line-height: 1.65; margin: 8px 0 14px; }
.preview-start .primary-btn { height: 38px; font-size: 12px; margin: 0; }
.text-btn { background: transparent; display: flex; align-items: center; gap: 4px; color: #39654d; font-size: 12px; margin-top: 12px; padding: 0; }
.text-btn .icon { width: 12px; height: 12px; }
.empty-state { height: 100%; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 35px; font-size: 14px; line-height: 1.8; }
.empty-state .icon { width: 32px; height: 32px; color: #99b4a0; margin-bottom: 12px; }
.empty-state h3 { color: #4c6857; font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.empty-state p { margin: 0; font-size: 13px; }
.login-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: #edf2ec; padding: 32px; }
.login-layout { width: min(920px, 100%); display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; border: 1px solid #dde5da; border-radius: 8px; overflow: hidden; box-shadow: 0 22px 70px rgba(35, 77, 50, .08); }
.login-intro { padding: 54px 48px; background: #e8eee4; position: relative; overflow: hidden; }
.login-brand { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.login-brand-mark { display: block; width: 44px; height: 44px; border-radius: 10px; object-fit: contain; flex: 0 0 auto; }
.login-brand strong { font-size: 22px; letter-spacing: 0; font-weight: 650; }
.login-tagline { font-size: 30px; line-height: 1.45; letter-spacing: 0; font-weight: 650; max-width: 350px; margin: 65px 0 20px; }
.login-copy { max-width: 335px; color: #5d756d; font-size: 14px; line-height: 1.7; }
.login-feature-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.feature-chip { color: #54745b; font-size: 11px; padding: 5px 8px 5px 0; }
.feature-chip .icon { width: 12px; height: 12px; vertical-align: -2px; }
.form-note { color: #87988a; font-size: 11px; line-height: 1.65; margin: 20px 0 0; }
.preview-link { margin-top: 15px; }
.login-form { padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
.login-form h1 { font-size: 24px; margin: 0 0 9px; font-weight: 650; }
.login-form .hint { color: var(--muted); font-size: 13px; margin: 0 0 30px; }
.field { margin-bottom: 15px; }
.field label { display: block; color: #667873; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.field input { width: 100%; height: 46px; border: 1px solid #dbe4d9; border-radius: 8px; padding: 0 13px; outline: none; color: var(--ink); background: #fafcf9; font-size: 14px; }
.field input:focus { border-color: var(--mint); background: #fff; }
.primary-btn { height: 44px; border-radius: 8px; background: var(--mint); color: #fff; font-weight: 600; font-size: 13px; width: 100%; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.primary-btn:hover { background: #194837; }
.secondary-btn { height: 44px; border-radius: 8px; border: 1px solid #dce5d9; background: #fff; color: #58705e; font-weight: 600; font-size: 13px; width: 100%; margin-top: 10px; }
.secondary-btn:hover { background: var(--soft); }
.secondary-btn.danger-btn { color: #ae5d52; border-color: #e9d6ce; }
.login-divider { text-align: center; color: #a1afaa; font-size: 10px; margin: 18px 0 3px; display: flex; align-items: center; gap: 9px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.error-text { color: #d96454; font-size: 11px; margin: 8px 0 0; min-height: 15px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(14, 28, 26, .32); display: grid; place-items: center; padding: 20px; z-index: 20; }
.modal { width: min(490px, 100%); max-height: min(760px, 90dvh); overflow-y: auto; background: #fff; border: 1px solid rgba(255,255,255,.75); border-radius: 8px; box-shadow: 0 25px 70px rgba(17, 41, 27, .18); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 17px; font-weight: 650; margin: 0; }
.modal-body { padding: 22px 24px 26px; }
.modal-body p { color: #667973; font-size: 13px; line-height: 1.75; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 12px; }
.modal-actions button { border-radius: 8px; height: 44px; padding: 0 19px; font-size: 13px; font-weight: 600; }
.modal-actions .confirm { background: var(--mint); color: #fff; }
.modal-actions .cancel { background: #eef4f1; color: #61736d; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card { border: 1px solid var(--line); border-radius: 8px; padding: 17px; display: flex; align-items: center; gap: 12px; cursor: pointer; background: #fff; text-align: left; transition: border-color .16s ease, background .16s ease; }
.contact-card:hover { border-color: #a4bda7; background: #f5f8f2; }
.contact-card .copy { min-width: 0; }
.contact-card strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-card span { color: var(--muted); font-size: 12px; }
.contact-card .copy > span { display: block; margin-top: 4px; }
.contact-card .avatar { color: #496c56; }
.contact-card .avatar.coral { color: #aa6b59; }
.contact-card .avatar.lavender { color: #7b739d; }
.contact-card .avatar.slate { color: #657b7d; }
.modal-search { margin: 0 0 15px; }
.select-contact { position: relative; min-width: 0; padding-left: 12px; }
.select-contact input[type="checkbox"] { margin: 0 2px 0 0; accent-color: var(--mint-deep); }
.select-contact:has(input:checked) { background: var(--mint-pale); border-color: #87dabe; }
.select-contact[hidden] { display: none; }
.group-name-field { margin-top: 17px; }
.other-view .main-panel { grid-column: 1 / -1; }
.other-view .main-panel > section { max-width: 880px; width: 100%; align-self: center; }
.settings-row { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid #edf1ef; }
button.settings-row { width: 100%; background: transparent; text-align: left; }
.settings-row:last-child { border-bottom: 0; }
.settings-row .settings-copy { flex: 1; min-width: 0; }
.settings-row strong { display: block; font-size: 14px; font-weight: 600; color: #375740; }
.settings-row span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.settings-row > .icon-btn { background: #f1f5ef; color: #66836c; border-radius: 8px; margin-top: 0; display: inline-grid; }
.profile-summary { display: flex; align-items: center; gap: 20px; padding: 25px 0 36px; border-bottom: 1px solid var(--line); }
.profile-summary .avatar { width: 76px; height: 76px; font-size: 23px; }
.profile-summary .detail-name { font-size: 25px; font-weight: 600; margin-bottom: 8px; }
.profile-summary .detail-handle { font-size: 13px; }
.profile-summary + .info-block { padding-top: 10px; }
.surface-links { display: flex; gap: 12px; flex: 0 0 auto; }
.surface-links a { color: var(--mint-deep); font-size: 12px; text-decoration: none; padding: 8px 0; }
.surface-links a:hover { text-decoration: underline; }
.surface-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.surface-links a:focus-visible { outline: 3px solid rgba(33, 92, 73, .28); outline-offset: 2px; border-radius: 3px; }
.switch { width: 36px; height: 21px; border-radius: 12px; background: #dce7e3; position: relative; }
.switch.on { background: var(--mint); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: .18s; }
.switch.on::after { left: 18px; }
.toast-region { position: fixed; z-index: 50; right: 20px; bottom: 88px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: #254337; color: #fff; padding: 12px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; animation: toast-in .22s ease; max-width: min(420px, calc(100vw - 32px)); line-height: 1.6; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.media-grid audio { width: 100%; grid-column: 1 / -1; }
.toast.success { background: #157a5d; }
.toast.error { background: #b84e42; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.bottom-nav { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: stretch; justify-content: center; height: calc(68px + env(safe-area-inset-bottom)); padding: 0 20px env(safe-area-inset-bottom); background: #f8faf8; border-top: 1px solid var(--line); z-index: 5; }
.mobile-tab { flex: 1; max-width: 240px; min-width: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px 6px; color: #7a8881; font-size: 12px; line-height: 1.2; transition: color .16s, background .16s; }
.mobile-tab:hover { background: #edf3ee; }
.mobile-tab.active { color: var(--mint-deep); font-weight: 650; }
.mobile-tab.active .icon { stroke-width: 2.2; }
.mobile-tab .icon { width: 23px; height: 23px; }
.calls-view, .moments-view, .contacts-view, .discover-view { padding: 38px clamp(24px, 5vw, 60px); overflow-y: auto; flex: 1; }
.module-list { margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.module-row { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px; background: transparent; text-align: start; }
.module-row:hover { background: var(--soft); }
.module-icon { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--mint-pale); color: var(--mint-deep); flex: 0 0 auto; }
.module-icon .icon { width: 23px; height: 23px; }
.module-copy { flex: 1; min-width: 0; }
.module-copy strong { display: block; font-size: 16px; font-weight: 600; }
.module-copy small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.module-row > .icon { width: 17px; height: 17px; color: var(--muted); }
.subpage-back { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--mint-deep); padding: 0; min-height: 44px; margin: -10px 0 18px; font-size: 13px; }
.subpage-back .icon { width: 18px; height: 18px; }
.calls-view .empty-state, .moments-view .empty-state, .contacts-view > .empty-state { height: auto; min-height: min(45vh, 340px); }
.view-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.view-heading > div { min-width: 0; }
.view-heading > .primary-btn { flex: 0 0 auto; }
.view-heading h2 { font-size: 25px; font-weight: 600; margin: 0; }
.view-heading p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 9px 0 0; }
.post { border-bottom: 1px solid var(--line); padding: 21px 0 27px; }
.post-head { display: flex; align-items: center; gap: 9px; }
.post-copy { min-width: 0; }
.post-copy strong { font-size: 14px; font-weight: 600; }
.post-copy small { color: var(--muted); display: block; font-size: 12px; margin-top: 5px; }
.post-text { margin: 18px 0 15px 49px; font-size: 15px; line-height: 1.85; color: #435442; overflow-wrap: anywhere; }
.post-actions { margin-left: 49px; display: flex; gap: 10px; }
.post-actions button { display: inline-flex; align-items: center; gap: 7px; color: #7d8b86; font-size: 12px; background: transparent; min-height: 32px; }
.post-actions button.liked { color: #e27169; }
.call-item { display: flex; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); gap: 14px; }
.call-item .call-copy { flex: 1; }
.call-copy strong { display: block; font-size: 14px; font-weight: 600; }
.call-copy span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.call-type { color: var(--mint-deep); }
.call-stage { position: relative; text-align: center; padding: 20px 0 5px; }
.call-stage .avatar { margin: 0 auto; }
.call-stage h3 { font-size: 17px; margin: 12px 0 5px; }
.call-stage p { margin: 0; color: #91a39a; font-size: 11px; }
.call-stage video { width: 100%; border-radius: 10px; background: #152a24; margin-top: 16px; max-height: 320px; object-fit: cover; }
.call-stage #local-video { position: absolute; top: 116px; right: 9px; width: 95px; height: 125px; object-fit: cover; border: 2px solid white; }
.call-controls { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 28px; }
.call-control { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 50%; }
.call-control.hangup { background: #ec756a; color: #fff; transform: rotate(135deg); }
.call-control.accept { background: var(--mint); color: #fff; }
.call-control.decline { background: #ec756a; color: #fff; transform: rotate(135deg); }
.call-control.toggle { background: #eef4f1; color: #33554b; }
.call-control.toggle.is-off { background: #d9e5e0; color: #7b8c85; }
.call-control[hidden] { display: none; }
.modal .details-title { display: none; }
.modal .info-line { width: 100%; background: transparent; }
.info-line { background: transparent; width: 100%; text-align: left; }
.info-line .value .icon { width: 13px; height: 13px; vertical-align: -3px; }
@media (max-width: 1240px) { .workspace { grid-template-columns: 290px minmax(0, 1fr); } .details { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.about-brand .login-brand-mark { width: 72px; height: 72px; border-radius: 16px; }
