:root{--brand:#00a887;--brand-dark:#008d72;--ink:#151e25;--muted:#6c7c89;--field:#f1f2f5;--border:#e9ecef;--tint:#e1f4f0;--avatar:#deeaE9;--danger:#dd2745;--radius:16px;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:weight}*{box-sizing:border-box}body{margin:0;background:#eef1f3}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #83d8c7;outline-offset:3px}button{border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.5}.app{max-width:430px;margin:auto;background:#fff;min-height:100svh;position:relative;overflow:hidden}.screen{min-height:100svh;padding:24px 20px calc(28px + env(safe-area-inset-bottom));padding-top:max(24px,env(safe-area-inset-top))}.login{padding:56px 16px 28px}.hero{text-align:center}.brandmark{width:84px;height:84px;border-radius:50%;background:var(--brand);display:grid;place-items:center;margin:0 auto 35px}.brandmark:after{content:"";width:17px;height:17px;border:2px solid white;border-radius:50%;outline:2px solid white;outline-offset:3px}.login h1{font-size:30px;letter-spacing:-.8px;margin:0 0 12px;font-weight:750;white-space:nowrap}.hero p{font-size:18px;line-height:1.5;color:var(--muted);margin:0}.login form{margin-top:52px;display:grid;gap:16px}.field{background:var(--field);border:1px solid transparent;border-radius:var(--radius);height:60px;width:100%;padding:0 18px;font-size:18px;color:var(--ink)}.field::placeholder{color:var(--muted)}.field[aria-invalid=true]{border-color:var(--danger)}.captcha-row{display:flex;align-items:center;gap:18px}.captcha{height:62px;width:178px;display:flex;align-items:center;justify-content:space-around;border-block:4px solid var(--field);border-radius:10px;font-size:33px;font-weight:700;background:repeating-linear-gradient(14deg,white,white 11px,#fafbf9 12px,#fafbf9 13px)}.captcha span:nth-child(1){color:#936fb2;transform:rotate(-9deg)}.captcha span:nth-child(2){color:#d56cd9}.captcha span:nth-child(3){color:#6cad8e;transform:rotate(8deg)}.captcha span:nth-child(4){color:#69ba48}.link{color:var(--brand-dark);padding:12px 4px;font-size:16px}.primary{background:var(--brand);color:white;border-radius:40px;min-height:60px;font-size:20px;font-weight:650;width:100%;margin-top:16px}.primary:hover{background:var(--brand-dark)}.error{color:var(--danger);font-size:14px;line-height:1.5;margin:0}.demo-help{margin:20px 0 0;text-align:center;font-size:12px;color:var(--muted);line-height:1.8}.demo-help summary{cursor:pointer}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}.topbar h1{font-size:21px;font-weight:600;color:var(--brand);margin:0}.icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon img{display:block}.icon.settings img{width:22px;height:22px}.icon.arrow img{width:16.5px;height:16px}.green img{filter:invert(47%) sepia(93%) saturate(1160%) hue-rotate(129deg) brightness(89%) contrast(101%)}.round-icon{width:76px;height:76px;border-radius:50%;background:var(--tint);display:grid;place-items:center;margin:0 auto 26px}.round-icon .icon{transform:scale(1.35)}.numbers .hero h2{font-size:26px;letter-spacing:-.5px;margin:0 0 12px}.numbers .hero p{font-size:16px}.account-filter{margin:32px 4px 18px}.label{display:block;color:var(--muted);font-size:13px;margin-bottom:9px}.select{height:48px;width:100%;border:1px solid var(--border);background:#fff;border-radius:12px;padding:0 12px;color:var(--ink)}.number-list{display:grid;gap:12px;margin:0 4px}.number-card{display:flex;align-items:center;gap:14px;text-align:left;padding:18px;border:1px solid var(--border);border-radius:20px;min-height:91px;width:100%}.number-card:hover{border-color:var(--brand);background:#fbfefd}.number-card .round-icon{width:50px;height:50px;margin:0;flex-shrink:0}.number-card .round-icon .icon{transform:none}.number-info{flex:1}.number-info strong{font-size:20px;display:block;margin-bottom:6px}.number-info span{color:var(--muted);font-size:17px}.owner-note{margin:22px 0;color:var(--muted);font-size:12px;text-align:center}.chats{padding:0 0 94px}.chat-header{padding:32px 16px 18px;background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid #fafafa}.chat-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.chat-heading h1{font-size:34px;line-height:1.1;margin:0 0 4px;font-weight:750}.icon-button{height:44px;min-width:44px;display:grid;place-items:center;border-radius:50%}.current-number{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;text-align:left;padding:8px 0 16px;max-width:100%}.current-number .icon{transform:scale(.7);height:14px}.search{height:50px;font-size:16px}.chat-row{display:flex;align-items:center;gap:16px;padding:0 16px;min-height:92px}.avatar{width:62px;height:62px;border-radius:50%;background:var(--avatar);display:grid;place-items:center;color:#547e79;font-size:27px;font-weight:600;flex-shrink:0}.chat-copy{min-width:0;flex:1;border-bottom:1px solid #f5f6f7;padding:21px 0}.chat-line{display:flex;gap:8px;align-items:center;margin-bottom:8px}.chat-name{font-size:21px;font-weight:600;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-time{font-size:14px;color:var(--muted)}.preview{font-size:17px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.failed{color:var(--danger);margin-right:6px}.read{color:#33a9df;margin-right:6px;letter-spacing:-6px;padding-right:5px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:430px;width:100%;background:#fbfafc;border-top:1px solid #f6f5f7;display:flex;padding:10px 0 calc(16px + env(safe-area-inset-bottom));z-index:3}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--muted);font-size:13px;min-height:46px}.bottom-nav button.active{color:var(--brand)}.empty{padding:55px 24px;text-align:center;color:var(--muted);line-height:1.8}.settings-page h1{font-size:32px}.settings-card{background:var(--field);border-radius:18px;padding:22px;margin:24px 0;line-height:1.8}.settings-card strong{font-size:21px}.settings-action{width:100%;padding:18px 0;border-bottom:1px solid var(--border);text-align:left;display:flex;justify-content:space-between}.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:#253a35;color:#fff;padding:12px 18px;border-radius:12px;width:max-content;max-width:85vw;font-size:14px;z-index:10;box-shadow:0 5px 24px #0002}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:600px){.app{min-height:100vh;box-shadow:0 0 60px #17372b0c}.screen{min-height:100vh}}@media(max-width:360px){.login h1{font-size:26px}.login{padding-top:40px}.login form{margin-top:35px}.number-card{padding:14px}.number-info span{font-size:15px}}@media(prefers-reduced-motion:no-preference){.screen{animation:appear .18s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}}
/* Chat detail: screenshot-based mobile layout, shared tokens remain in :root. */
.chat-row{width:100%;text-align:left}.chat-row:hover{background:#fafcfb}.chat-row .chat-copy{display:block}.conversation{height:100dvh;display:flex;flex-direction:column;background:#eee5df;overflow:hidden}.conversation-header{display:flex;align-items:center;gap:10px;padding:12px 12px;padding-top:max(12px,env(safe-area-inset-top));background:#fff;flex-shrink:0;z-index:2}.conversation-header .avatar{width:44px;height:44px;font-size:24px}.contact-heading{min-width:0;flex:1}.contact-heading h1{font-size:22px;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-heading p{font-size:15px;color:var(--muted);margin:0}.icon.back img{width:16.5px;height:16px}.icon.refresh{position:relative}.refresh-a{position:absolute;left:5px;top:5px}.refresh-b{position:absolute;right:5px;bottom:5px;transform:rotate(180deg)}.message-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 10px 18px;scrollbar-width:thin}.history-control{text-align:center}.history-control button{background:#b5b2b2;color:white;border-radius:24px;font-size:14px;padding:10px 14px}.date-separator{text-align:center;margin:28px 0 12px}.date-separator span{display:inline-block;background:#deebf0;color:#566874;border-radius:10px;padding:6px 12px;font-weight:600;font-size:14px}.message-line{display:flex;margin:3px 0}.message-line.incoming{justify-content:flex-start}.message-line.outgoing{justify-content:flex-end}.message-bubble{max-width:88%;min-width:90px;padding:8px 10px 6px;border-radius:12px;background:white;position:relative;box-shadow:0 1px 0 #00000003}.incoming .message-bubble{min-width:49%;border-top-left-radius:4px}.outgoing .message-bubble{background:#dcfbd2;border-top-right-radius:4px}.message-bubble:before{content:'';position:absolute;top:0;border:6px solid transparent}.incoming .message-bubble:before{left:-5px;border-top-color:#fff}.outgoing .message-bubble:before{right:-5px;border-top-color:#dcfbd2}.message-text{font-size:18px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;justify-content:flex-end;gap:5px;align-items:center;font-size:12px;color:var(--muted);margin-top:2px}.message-check{color:var(--brand-dark)}.message-bubble blockquote{margin:0 0 6px;padding:8px 10px;border-left:4px solid var(--brand);background:#f4f3f5;border-radius:7px;display:flex;flex-direction:column;gap:4px;font-size:15px;color:var(--muted)}.message-bubble blockquote strong{color:var(--brand);font-size:15px}.composer{display:flex;align-items:flex-end;gap:8px;padding:10px 8px calc(12px + env(safe-area-inset-bottom));background:#f8f6fa;flex-shrink:0}.message-input-wrap{display:flex;align-items:flex-end;min-width:0;flex:1;border:1px solid #e5e3e8;background:white;border-radius:26px;padding:2px 3px 2px 16px}.message-input-wrap textarea{width:100%;resize:none;border:0;outline:none;background:transparent;color:var(--ink);font:inherit;font-size:18px;line-height:25px;min-height:44px;max-height:112px;padding:9px 0;scrollbar-width:thin}.message-input-wrap:focus-within{border-color:var(--brand)}.message-input-wrap textarea::placeholder{color:#91989f}.send-button{border-radius:24px;background:var(--brand);color:#fff;padding:0 14px;min-height:48px;font-size:15px;flex-shrink:0}.send-button[hidden],.emoji-panel[hidden],.history-control button[hidden]{display:none}.emoji-panel{background:#fff;display:flex;flex-wrap:wrap;justify-content:center;padding:8px;border-top:1px solid var(--border);flex-shrink:0}.emoji-panel button{font-size:26px;width:44px;height:44px}.conversation .icon-button{flex-shrink:0}.conversation .composer>.icon-button{margin-bottom:3px}@media(max-width:360px){.conversation-header{gap:6px;padding-inline:6px}.contact-heading h1{font-size:20px}.composer{gap:4px;padding-inline:4px}.message-text{font-size:17px}}
/* Contacts and shared template flows */
.directory{padding:0 20px 32px}.directory.with-nav{padding-bottom:100px}.directory-header{display:flex;align-items:center;gap:10px;min-height:82px;padding-top:env(safe-area-inset-top);background:white;position:sticky;top:0;z-index:2}.directory-header h1{font-size:25px;flex:1;margin:0}.directory-header>.icon-button:first-child{margin-left:-10px}.scope-label{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 20px}.directory-shortcuts{margin:20px -20px 10px;border-block:8px solid #f5f7f7;padding:0 20px}.directory-shortcuts button{display:flex;align-items:center;gap:12px;width:100%;min-height:61px;border-bottom:1px solid var(--border);font-size:17px;text-align:left}.directory-shortcuts button>span:first-child{flex:1}.directory-shortcuts small{color:var(--muted);font-size:13px}.person-row{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:16px 0;border-bottom:1px solid var(--border)}.person-row .avatar{width:47px;height:47px;font-size:22px}.person-copy{flex:1;min-width:0}.person-copy strong{font-size:17px;display:block;overflow-wrap:anywhere}.person-copy small,.check-person small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.tag-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.tag-chip{display:inline-block;padding:4px 9px;background:#e5f4f0;border-radius:6px;font-size:12px;color:#218b75;line-height:1.3}.profile-hero{text-align:center;padding:24px 0}.profile-hero .avatar{margin:auto;width:80px;height:80px;font-size:36px}.profile-hero h2{margin:16px 0 6px}.profile-hero p{color:var(--muted);margin:0}.detail-section{padding:20px 0;border-bottom:1px solid var(--border)}.detail-section p{line-height:1.6;white-space:pre-wrap;margin:0}.muted{color:var(--muted)}.secondary{width:100%;border:1px solid var(--brand);border-radius:30px;color:var(--brand-dark);padding:16px;margin-top:12px;font-size:17px}.editor-form{display:grid;gap:23px;padding-top:16px}.editor-form>label{display:grid;gap:10px;font-size:14px;color:var(--muted)}.editor-form .field{font-size:16px;height:54px}.phone-fields{display:flex;gap:8px}.phone-fields select{width:95px;flex-shrink:0;height:54px}.phone-fields input{min-width:0}.editor-form fieldset{border:0;padding:0;margin:0;min-width:0}.editor-form legend{font-size:14px;color:var(--muted);margin-bottom:12px}.choice-chips{display:flex;gap:8px;flex-wrap:wrap}.choice-chips label{position:relative;cursor:pointer}.choice-chips input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.choice-chips span{display:block;border:1px solid var(--border);padding:10px 14px;border-radius:20px;color:var(--muted);font-size:14px}.choice-chips input:checked+span{border-color:var(--brand);background:var(--tint);color:var(--brand-dark)}.choice-chips input:focus-visible+span{outline:3px solid #83d8c7}.editor-form .note-field{height:100px;resize:vertical;padding-top:14px}.tag-list-row{display:flex;align-items:center;gap:12px;width:100%;padding:18px 0;border-bottom:1px solid var(--border);text-align:left}.tag-list-row strong{flex:1;font-size:18px}.tag-list-row small{color:var(--muted)}.tag-tile{background:var(--tint);color:var(--brand);border-radius:12px;width:44px;height:44px;display:grid;place-items:center;font-size:24px}.check-person{display:flex;align-items:center;gap:12px;min-height:75px;padding:14px 0;border-bottom:1px solid var(--border);cursor:pointer}.check-person>span{min-width:0}.check-person strong{overflow-wrap:anywhere}.check-person input{width:20px;height:20px;accent-color:var(--brand);flex-shrink:0}.section-title{font-size:16px;margin:25px 0 12px}.flow-footer{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;padding:18px 0;border-top:1px solid var(--border);margin-top:12px}.flow-footer strong{font-size:14px}.compact-primary{padding:13px 18px;background:var(--brand);color:#fff;border-radius:24px;white-space:nowrap}.template-card{display:block;text-align:left;width:100%;border:1px solid var(--border);padding:18px;border-radius:18px;margin:14px 0}.template-card h2{font-size:19px;margin:12px 0 6px}.template-card p{color:var(--muted);font-size:14px;margin:0 0 12px}.template-card small{display:block;line-height:1.6;color:var(--muted);margin-bottom:12px}.template-card>.icon{float:right;margin-top:-20px}.template-preview{background:#e0f8d7;border-radius:14px;padding:18px;font-size:17px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:20px}.summary-panel{background:var(--field);padding:20px;border-radius:16px;margin:12px 0 20px}.summary-panel strong{font-size:23px}.summary-panel p{color:var(--muted);font-size:14px;line-height:1.5}.recipient-summary{margin:24px 0;font-size:14px}.recipient-summary summary{cursor:pointer;color:var(--brand-dark);padding:10px 0}.recipient-summary p{padding:8px;border-bottom:1px solid var(--border)}.recipient-summary small{color:var(--muted)}.send-success{text-align:center;padding:36px 0}.send-success h2{font-size:22px}.send-success p{font-size:14px;color:var(--muted)}.success-mark{width:72px;height:72px;border-radius:50%;background:var(--tint);color:var(--brand);display:grid;place-items:center;font-size:35px;margin:auto}.sent-label{color:var(--brand);display:flex;gap:10px;align-items:center;font-size:13px}.nav-people{font-size:27px;line-height:24px;height:24px}.sent{color:var(--brand);margin-right:6px}

/* Number selection: visible accounts with identity badges. */
.account-groups{display:grid;gap:26px;margin:32px 4px 0}.account-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px}.account-heading h3{font-size:16px;line-height:1.5;margin:0;font-weight:600}.account-badges{display:flex;gap:6px;flex-wrap:wrap}.account-badge{padding:4px 7px;border-radius:6px;background:var(--field);color:var(--muted);font-size:11px;line-height:1.4}.account-badge.current{color:var(--brand-dark);background:var(--tint)}.account-group .number-list{margin:0}.account-group .number-info{min-width:0}.account-group .number-info span{white-space:nowrap}

/* Login — Figma 17:1789; scope the purple identity to this screen. */
.screen.login{position:relative;background:#fefcff;padding:130px 16px 48px;isolation:isolate}.login-stars{position:absolute;top:20px;width:106.155px;height:307px;object-fit:cover;opacity:.8;z-index:-1;pointer-events:none}.login-stars.right{right:0}.login-stars.left{left:0;transform:rotate(180deg)}.login-content{display:flex;flex-direction:column;gap:48px}.login .hero{display:flex;flex-direction:column;align-items:center;gap:16px}.login-logo{width:182.5px;height:70px;overflow:hidden;position:relative;flex:none}.login-logo img{position:absolute;width:275px;height:275px;max-width:none;left:50%;top:calc(50% - .63px);transform:translate(-50%,-50%)}.login h1{font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-weight:700;font-size:26px;line-height:1.5;letter-spacing:0;color:#442c8c;margin:0;white-space:normal}.login .hero p{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:18px;line-height:27px;margin:0}.login form{display:flex;flex-direction:column;gap:48px;margin:0;padding:5px 0}.login-fields{display:grid;gap:16px;width:100%}.login .field{height:59px;padding:16px;border:1px solid #b789d6;background:#fff;border-radius:16px;font-size:18px;line-height:27px;letter-spacing:.54px}.login #password{height:56px;font-size:16px;line-height:24px;letter-spacing:.48px}.login .field::placeholder{color:#b3b3b3}.login .primary{margin:0;min-height:56px;padding:16px 24px;background:#442c8c;font-size:20px;line-height:24px;font-weight:700;letter-spacing:.6px}.login .primary:hover{background:#392575}.login :is(input,button):focus-visible{outline-color:#b789d6}@media(max-width:360px){.login h1{font-size:24px}.login .hero p{font-size:16px}}

/* Number selection — Figma 20:2106. */
.screen.numbers{position:relative;isolation:isolate;background:#fefcff;padding:74px 16px 48px}.numbers-content{display:flex;flex-direction:column;gap:48px}.numbers-symbol{width:76px;height:76px;border-radius:38px;background:#e8caff;display:grid;place-items:center;align-self:center}.numbers-symbol img{display:block}.numbers .hero{display:flex;flex-direction:column;gap:8px}.numbers .hero h1{margin:0;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:26px;font-weight:700;line-height:1.5;color:#442c8c}.numbers .hero p{margin:0;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:18px;line-height:27px;color:#6c7c89}.number-accounts{display:flex;flex-direction:column;gap:40px;padding:5px 0}.own-numbers,.related-numbers{display:flex;flex-direction:column;gap:16px}.related-numbers h2{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:24px;font-weight:400;color:#b789d6;margin:0}.account-number-card{display:flex;align-items:center;gap:8px;width:100%;padding:16px;background:#fff;border:1px solid #e8caff;border-radius:24px;text-align:left;min-height:91px}.account-number-card:hover{background:#faf2ff}.number-avatar{width:40px;height:40px;flex-shrink:0;border-radius:25px;background:#e8caff80;color:#b789d6;font-size:20px;font-weight:700;letter-spacing:.6px;display:grid;place-items:center}.account-number-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}.account-number-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.account-number-heading strong{font-size:20px;font-weight:700;line-height:24px;letter-spacing:.6px;color:#000}.number-tag{flex-shrink:0;padding:4px 8px;border-radius:8px;background:#f2f2f2;font-size:12px;line-height:18px;letter-spacing:.36px;color:#b3b3b3}.number-tag.current{color:#b789d6;background:#faf2ff;font-weight:700}.account-number-phone{font-size:18px;line-height:27px;letter-spacing:.54px;color:#808080}.number-arrow{width:24px;height:24px;flex-shrink:0;display:grid;place-items:center}.number-arrow img{display:block}.numbers button:focus-visible{outline-color:#b789d6}@media(max-width:360px){.account-number-phone{font-size:16px}.account-number-heading{gap:5px}.account-number-heading strong{font-size:18px}}

/* Chat list — Figma 22:2578. */
.screen.chats{padding:0 0 calc(96px + env(safe-area-inset-bottom));background:#fff}.chats .chat-header{padding:16px;display:flex;flex-direction:column;gap:16px;border:0}.chats .chat-heading{margin:0;min-height:51px}.chats .chat-heading h1{margin:0;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:34px;font-weight:700;line-height:51px;letter-spacing:1.02px;color:#442c8c}.chats .icon-button{width:24px;min-width:24px;height:44px}.chat-design-icon{width:24px;height:24px;display:grid;place-items:center;flex-shrink:0}.chat-design-icon img{display:block}.chats .search{height:47px;padding:16px;background:#fafafa;border:0;border-radius:16px;font-size:15px;line-height:15px;letter-spacing:.45px}.chats .search::placeholder{color:#808080}.chats #chat-list{padding:16px}.chats .chat-row{padding:0;gap:16px;width:100%;min-height:79px;text-align:left}.chats .avatar{width:48px;height:48px;background:#e8caff80;color:#b789d6;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:24px;font-weight:700;line-height:1.2;letter-spacing:.72px}.chats .chat-copy{padding:16px 0;border-bottom:1px solid #f2f2f2}.chats .chat-line{margin-bottom:4px}.chats .chat-name{font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:20px;line-height:24px;font-weight:700;letter-spacing:.6px;color:#000}.chats .chat-time{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color:#b3b3b3;flex-shrink:0}.chats .preview{font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:18px;line-height:18px;letter-spacing:.54px;color:#808080}.chats .chat-row:nth-child(-n+2) .preview{line-height:27px}.chats .chat-nav{height:calc(96px + env(safe-area-inset-bottom));padding:10px 10px calc(10px + env(safe-area-inset-bottom));align-items:flex-start;background:rgba(254,252,255,.9);backdrop-filter:blur(40px);border:0}.chats .chat-nav button{height:50px;min-height:50px;padding:1px 6px;justify-content:center;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;color:#808080}.chats .chat-nav button.active{color:#442c8c;font-weight:700}.chats :is(input,button):focus-visible{outline-color:#b789d6}

/* Conversation — Figma 23:3375. */
.conversation{background:#fefcff;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}.conversation-header{gap:4px;padding:12px;padding-top:max(12px,env(safe-area-inset-top))}.conversation-header .avatar{width:40px;height:40px;background:#e8caff80;color:#b789d6;font-size:20px;line-height:24px;letter-spacing:.6px;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}.conversation .contact-heading h1{font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:20px;line-height:24px;letter-spacing:.6px;color:#000;margin:0}.conversation .contact-heading p{font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:21px;letter-spacing:.42px;color:#808080}.detail-icon{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0}.detail-icon img{display:block}.conversation .message-scroll{padding:0 16px 18px}.conversation .history-control{padding:16px 0}.conversation .history-control button{padding:11px 16px;background:#e8caff;font-size:14px;line-height:20px}.conversation .date-separator{margin:0;padding:16px 0}.conversation .date-separator span{height:32px;min-width:75.36px;padding:6px 10px;background:#f2f2f2;color:#999;font-size:14px;line-height:20px;font-weight:400}.conversation .message-line{margin:4px 0 0}.conversation .message-line.incoming{margin:0;padding:16px 0}.conversation .message-bubble{max-width:90.2%}.conversation .incoming .message-bubble{min-width:50.2%;box-shadow:0 1px 3px #e8caff80}.conversation .outgoing .message-bubble{background:#faf2ff;padding:8px}.conversation .outgoing .message-bubble:before{border-top-color:#faf2ff}.conversation .message-text{font-size:18px;line-height:1.7}.conversation .message-meta{height:16px;padding-top:2px;margin:0;line-height:14px}.conversation .message-check{display:flex;align-items:center}.conversation .message-check img{display:block}.conversation .message-bubble blockquote{background:#faf2ff;border-left-color:#442c8c;line-height:20px}.conversation .message-bubble blockquote strong{color:#442c8c}.conversation .composer{padding:16px 8px calc(16px + env(safe-area-inset-bottom));align-items:center;gap:8px}.conversation .composer>.icon-button{width:24px;min-width:24px;height:44px;margin:0}.conversation .message-input-wrap{border-color:#e8caff}.conversation .message-input-wrap:focus-within{border-color:#b789d6}.conversation .message-input-wrap textarea::placeholder{color:#b3b3b3}.conversation .send-button{background:#442c8c}.conversation button:focus-visible{outline-color:#b789d6}

/* Contacts list — Figma 32:4002. */
.screen.directory{padding:0 0 calc(96px + env(safe-area-inset-bottom));background:#faf2ff}.directory-top{background:#fff;padding:16px;display:flex;flex-direction:column;gap:16px}.directory .directory-header{margin:0;display:flex;align-items:center;justify-content:space-between;min-height:51px}.directory .directory-header h1{margin:0;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:34px;font-weight:700;line-height:51px;letter-spacing:1.02px;color:#442c8c}.directory .directory-header .icon-button{width:24px;min-width:24px;height:44px}.directory .search{height:47px;padding:16px;background:#fafafa;border:0;border-radius:16px;font-size:15px;line-height:15px;letter-spacing:.45px;margin:0}.directory .search::placeholder{color:#808080}.directory .directory-shortcuts{margin:8px 0;padding:0 16px;background:white;border:0;border-radius:0}.directory .directory-shortcuts button{padding:16px 0;min-height:54px;border:0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:18px;width:100%}.directory .directory-shortcuts small{font-size:13px;color:#808080;margin:0}.directory #people{background:#fff;padding:0 16px}.directory .person-row{padding:0;gap:16px;min-height:88px;border:0;width:100%}.directory .person-row>.icon,.directory .person-row .tag-chips{display:none}.directory .avatar{width:48px;height:48px;background:#e8caff80;color:#b789d6;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:24px;line-height:1.2;letter-spacing:.72px}.directory .person-copy{padding:16px 0;border-bottom:1px solid #f2f2f2;display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;font-family:"Century Gothic",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}.directory .person-copy strong{font-size:20px;line-height:24px;letter-spacing:.6px;color:#000;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory .person-copy small{font-size:18px;line-height:27px;letter-spacing:.54px;color:#808080;margin:0}.directory :is(input,button):focus-visible{outline-color:#b789d6}
.directory .chat-nav{height:calc(96px + env(safe-area-inset-bottom));padding:10px 10px calc(10px + env(safe-area-inset-bottom));align-items:flex-start;background:rgba(254,252,255,.9);backdrop-filter:blur(40px);border:0}.directory .chat-nav button{height:50px;min-height:50px;padding:1px 6px;justify-content:center;font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;color:#808080}.directory .chat-nav button.active{color:#442c8c;font-weight:700}
/* Keep list headers visible while the page content scrolls. */
.app:has(>.chats),.app:has(>.directory){overflow:clip}
.chats .chat-header,.directory .directory-top{position:sticky;top:0;z-index:4;background:#fff;padding-top:max(16px,env(safe-area-inset-top))}
