@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap');
:root{font-family:Inter,"Noto Sans Myanmar",system-ui,sans-serif;color:#172829;background:#f2f6f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--teal:#176b73;--teal-dark:#10535c;--mint:#d9f0e8;--ink:#172829;--muted:#778787;--line:#e8eeee;--surface:#fff;--soft:#f5f8f7;--shadow:0 20px 60px rgba(24,68,67,.09)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:radial-gradient(ellipse at 88% 2%,#e2f1ec 0,transparent 27%),#f2f6f5}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{width:min(1440px,100%);height:100dvh;min-height:620px;margin:0 auto;padding:20px;display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px}.sidebar,.main-panel{min-height:0;border:1px solid rgba(218,230,227,.9);border-radius:24px;background:rgba(255,255,255,.91);box-shadow:var(--shadow)}.sidebar{display:flex;flex-direction:column;padding:18px 16px 0;overflow:hidden}.brand-row{display:flex;align-items:center;gap:11px;padding:2px 3px 16px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:var(--teal);box-shadow:0 7px 16px rgba(23,107,115,.18)}.brand-mark svg{width:28px;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.3}.brand-copy{display:grid;gap:2px}.brand-copy strong{font-size:15px;letter-spacing:-.035em}.brand-copy span{font-size:11px;color:var(--muted)}.demo-pill{margin-left:auto;border:1px solid #cae7df;background:#edf8f4;color:#277b6f;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:800;letter-spacing:.1em}.demo-notice{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #f0e6c7;border-radius:15px;background:#fffaf0;color:#665b3e}.notice-dot{flex:none;width:8px;height:8px;border-radius:50%;display:inline-block;background:#d69e3c;box-shadow:0 0 0 4px rgba(214,158,60,.12)}.demo-notice .notice-dot{margin-top:6px}.demo-notice strong{display:block;font-size:12px;color:#6d5931}.demo-notice p{margin:4px 0 0;font-size:11px;line-height:1.55;color:#8a7954}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 2px 13px}.eyebrow{margin:0 0 6px;color:#6b9994;font-size:9px;font-weight:800;letter-spacing:.16em}.list-heading h1{font-size:21px;letter-spacing:-.05em;margin:0}.icon-button{border:0;display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:13px;background:#f2f7f5;color:#436865;font-size:21px;transition:background .2s,transform .2s}.icon-button:hover{background:#e4f1ec;transform:translateY(-1px)}.new-chat-button{background:var(--teal);color:#fff;font-size:23px}.new-chat-button:hover{background:var(--teal-dark)}.search-box{height:43px;display:flex;align-items:center;gap:9px;padding:0 10px;border:1px solid #e7eeeb;border-radius:13px;background:#f8faf9;color:#8b9a98}.search-box svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.search-box input{width:100%;min-width:0;outline:0;border:0;background:transparent;color:var(--ink);font-size:12px}.search-box input::placeholder{color:#9aa8a6}.search-box kbd{padding:2px 6px;border:1px solid #e2e9e6;border-radius:5px;background:white;font-size:10px;color:#9aa8a6}.filter-row{display:flex;gap:7px;padding:13px 0 8px}.filter-chip{border:0;background:transparent;color:#859391;font-size:10px;font-weight:600;padding:7px 10px;border-radius:9px}.filter-chip.active{background:#e8f4ef;color:var(--teal)}.conversation-list{flex:1;overflow:auto;padding:2px 0 8px;scrollbar-width:thin;scrollbar-color:#dbe7e2 transparent}.conversation-item{width:100%;display:flex;gap:11px;align-items:center;text-align:left;border:0;border-radius:15px;padding:11px 9px;background:transparent;color:inherit;transition:background .16s}.conversation-item:hover,.conversation-item.active{background:#f0f7f4}.avatar{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:16px;color:#fff;font-size:15px;font-weight:700;letter-spacing:-.03em;background:linear-gradient(140deg,#73a9a0,#2d7777)}.avatar.coral{background:linear-gradient(140deg,#e2a18b,#b56262)}.avatar.gold{background:linear-gradient(140deg,#dfc37f,#af8750)}.avatar.blue{background:linear-gradient(140deg,#88a9c7,#537593)}.avatar.violet{background:linear-gradient(140deg,#b1a0c8,#766b91)}.avatar.green{background:linear-gradient(140deg,#96b68d,#5b8563)}.item-copy{flex:1;min-width:0}.item-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.item-top strong{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-top time{font-size:9px;color:#99a6a3;white-space:nowrap}.item-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:5px}.item-bottom span:first-child{font-size:10px;color:#859290;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-count{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--teal);color:#fff;font-size:9px;font-weight:700}.group-indicator{font-size:8px;color:#7a9691;border-radius:5px;padding:3px 5px;background:#e9f2ee}.bottom-nav{display:none}.main-panel{position:relative;overflow:hidden;background:rgba(255,255,255,.95)}.empty-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.empty-art{width:190px;height:154px;position:relative;margin-bottom:24px;border-radius:48% 52% 44% 56%;background:linear-gradient(145deg,#f2faf7,#e3f2ed)}.art-mountain{position:absolute;left:35px;top:42px;width:124px;height:64px;background:#8cb8ad;clip-path:polygon(0 100%,38% 12%,58% 53%,73% 30%,100% 100%);opacity:.75}.art-mountain:after{content:"";position:absolute;left:47px;top:12px;width:28px;height:17px;background:#f7fcfa;clip-path:polygon(0 100%,45% 0,100% 100%)}.art-river{position:absolute;left:40px;bottom:27px;width:115px;height:35px;border-top:4px solid #3e9290;border-radius:50%;transform:rotate(-5deg)}.art-river:after{content:"";position:absolute;left:15px;top:11px;width:92px;height:20px;border-top:3px solid #95ccc0;border-radius:50%;transform:rotate(4deg)}.art-sun{position:absolute;top:26px;right:38px;width:17px;height:17px;background:#e6bb68;border-radius:50%;box-shadow:0 0 0 7px #e6bb6820}.empty-state .eyebrow{margin-bottom:10px}.empty-state h2{font-size:24px;letter-spacing:-.05em;margin:0}.muted{max-width:360px;color:#859391;font-size:13px;line-height:1.7;margin:10px 0 21px}.local-label{display:flex;gap:8px;align-items:center;color:#7a8986;font-size:9px;font-weight:700;letter-spacing:.08em}.local-label .notice-dot{width:6px;height:6px;box-shadow:none}.chat-view{height:100%;display:flex;flex-direction:column}.chat-header{height:75px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid var(--line)}.chat-header .large{width:42px;height:42px;border-radius:15px}.chat-person{flex:1;min-width:0}.chat-person h2{margin:0;font-size:14px}.chat-person p{margin:4px 0 0;color:#899794;font-size:10px}.presence-dot{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#70b392}.chat-actions{font-size:17px;letter-spacing:1px}.back-button{display:none}.thread-notice{margin:14px 22px 0;padding:9px 12px;border:1px solid #e9f0ed;border-radius:11px;background:#f7faf9;display:flex;gap:8px;align-items:center;color:#81908d;font-size:10px}.thread-notice span:first-child{font-size:14px;color:#7ca39b}.message-list{flex:1;overflow:auto;padding:21px 7% 19px;display:flex;flex-direction:column;gap:13px;scroll-behavior:smooth}.date-divider{display:flex;align-items:center;gap:11px;margin:3px 0 7px;color:#9aa6a4;font-size:9px}.date-divider:before,.date-divider:after{content:"";height:1px;flex:1;background:#edf1ef}.message-row{display:flex;align-items:flex-end;gap:8px;max-width:78%;animation:rise .2s ease-out}.message-row.outgoing{align-self:flex-end;flex-direction:row-reverse}.message-avatar{width:27px;height:27px;border-radius:10px;font-size:9px}.bubble{padding:10px 13px;border-radius:15px 15px 15px 5px;background:#f0f5f2;color:#304342;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.outgoing .bubble{border-radius:15px 15px 5px 15px;background:var(--teal);color:white}.message-meta{display:flex;gap:5px;justify-content:flex-end;align-items:center;margin-top:5px;color:#94a19e;font-size:8px}.outgoing .message-meta{color:#cadfda}.composer{display:flex;align-items:flex-end;gap:8px;padding:11px 17px 0;border-top:1px solid var(--line)}.attach-button{width:39px;height:39px;font-size:20px;color:#9baaa6;background:#f4f7f6}.composer textarea{flex:1;resize:none;max-height:120px;min-height:39px;padding:11px 13px;border:1px solid #e6eeea;border-radius:14px;background:#f8faf9;outline:0;color:var(--ink);font-size:12px;line-height:1.4}.composer textarea:focus{border-color:#9ecbc0;box-shadow:0 0 0 3px #d9f0e880}.composer textarea::placeholder{color:#9aa7a4}.send-button{height:39px;min-width:82px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:13px;background:var(--teal);color:#fff;font-size:11px;font-weight:700;transition:background .18s,transform .18s}.send-button:hover{background:var(--teal-dark);transform:translateY(-1px)}.send-button svg{width:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.composer-footnote{text-align:center;color:#a1adaa;font-size:9px;margin:7px 0 13px}.secondary-page{height:100%;padding:28px 34px;overflow:auto}.secondary-page h2{font-size:23px;letter-spacing:-.04em;margin:3px 0 8px}.secondary-page .page-subtitle{margin:0 0 20px;color:#869390;font-size:12px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}.person-card{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #e9efec;border-radius:16px;background:#fff;text-align:left;color:var(--ink)}.person-card:hover{border-color:#cde4db;background:#f8fbf9}.person-card strong{display:block;font-size:12px}.person-card small{display:block;color:#8b9996;font-size:10px;margin-top:4px}.profile-card{max-width:490px;padding:21px;border:1px solid #e8efeb;border-radius:19px;background:#fbfdfc}.profile-top{display:flex;align-items:center;gap:13px;padding-bottom:18px;border-bottom:1px solid var(--line)}.profile-top .avatar{width:52px;height:52px}.profile-top strong{display:block;font-size:14px}.profile-top small{display:block;color:#8b9996;font-size:10px;margin-top:4px}.profile-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #eef2f0;font-size:11px;color:#758481}.profile-row strong{color:#385652}.reset-button{margin-top:16px;padding:10px 13px;border:1px solid #d8e8e1;border-radius:11px;background:#f1f8f4;color:var(--teal);font-size:11px;font-weight:700}.empty-list{padding:25px 10px;text-align:center;color:#9aa6a4;font-size:11px}.toast{position:fixed;left:50%;bottom:25px;z-index:5;transform:translate(-50%,12px);padding:10px 15px;border-radius:12px;background:#173d3b;color:#fff;box-shadow:0 8px 25px #143a3730;font-size:11px;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes rise{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){body{background:#f2f6f5}.app-shell{height:100dvh;min-height:0;padding:0;display:block}.sidebar,.main-panel{position:absolute;inset:0;border:0;border-radius:0;box-shadow:none}.sidebar{padding:calc(10px + env(safe-area-inset-top)) 15px calc(65px + env(safe-area-inset-bottom));transition:transform .24s ease}.main-panel{display:none;background:#fff}.app-shell.chat-open .sidebar{transform:translateX(-100%)}.app-shell.chat-open .main-panel{display:block}.brand-row{padding-bottom:12px}.brand-mark{width:38px;height:38px;border-radius:13px}.demo-notice{padding:9px 11px;border-radius:13px}.demo-notice strong{font-size:11px}.demo-notice p{font-size:10px}.list-heading{padding:19px 2px 11px}.list-heading h1{font-size:20px}.search-box{height:42px}.filter-row{padding:10px 0 5px}.conversation-list{padding-bottom:5px}.bottom-nav{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:3;height:calc(61px + env(safe-area-inset-bottom));padding:5px 17px calc(5px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;border-top:1px solid #edf1ef;background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.nav-item{width:31%;height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:transparent;color:#9aa7a4;font-size:9px;font-weight:600}.nav-item.selected{color:var(--teal);background:#eef7f3}.nav-icon{font-size:18px;line-height:1}.main-panel{height:100dvh}.empty-state{display:none}.chat-view{height:100%;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.chat-header{height:65px;flex:none;padding:0 13px;gap:9px}.back-button{display:grid;width:34px;height:34px;font-size:19px}.chat-header .large{width:39px;height:39px;border-radius:14px}.chat-person h2{font-size:13px}.thread-notice{margin:9px 12px 0;padding:8px 9px;font-size:9px}.message-list{padding:18px 13px 15px;gap:12px}.message-row{max-width:88%}.bubble{font-size:12px;padding:9px 11px}.composer{padding:9px 10px 0;gap:6px}.attach-button{width:35px;height:37px}.composer textarea{min-height:37px;padding:10px 11px}.send-button{height:37px;min-width:70px;padding:0 9px}.send-button span{font-size:10px}.composer-footnote{margin:6px 0 8px;font-size:8px}.secondary-page{padding:27px 17px 90px}.secondary-page h2{font-size:21px}.people-grid{grid-template-columns:1fr}.toast{bottom:calc(72px + env(safe-area-inset-bottom));max-width:90%;text-align:center}.app-shell:not(.chat-open) .main-panel{display:none}}@media(min-width:761px) and (max-height:700px){.app-shell{padding:12px;gap:12px}.sidebar{padding-top:13px}.demo-notice{padding:9px 11px}.list-heading{padding-top:16px}.conversation-item{padding:8px}.chat-header{height:65px}.thread-notice{margin-top:10px}.message-list{padding-top:15px}}

[hidden]{display:none!important}@media(max-width:760px){.app-shell.page-open .sidebar{z-index:2;pointer-events:none;background:transparent}.app-shell.page-open .sidebar>*:not(.bottom-nav){display:none}.app-shell.page-open .bottom-nav{pointer-events:auto}.app-shell.page-open .main-panel{z-index:1;display:block;padding-bottom:calc(61px + env(safe-area-inset-bottom))}.app-shell.page-open .secondary-page{height:100%;padding-bottom:calc(83px + env(safe-area-inset-bottom))}.app-shell.page-open .chat-view,.app-shell.page-open .empty-state{display:none!important}}

/* Persistent account notifications */
.heading-actions{display:flex;align-items:center;gap:7px}.notification-button{position:relative}.notification-badge{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#d56052;color:white;font-size:8px;font-weight:800}.notification-badge[hidden]{display:none!important}.notification-panel{position:fixed;z-index:10;width:min(390px,calc(100vw - 24px));max-height:min(690px,calc(100dvh - 24px));overflow:auto;padding:17px;border:1px solid #e0eae5;border-radius:19px;background:#fff;box-shadow:0 20px 60px rgba(24,68,67,.18);color:var(--ink)}.notification-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.notification-panel-header h2{margin:0;font-size:17px;letter-spacing:-.035em}.notification-panel-header .eyebrow{margin-bottom:5px}.notification-summary{margin:4px 0 0;color:#889793;font-size:10px}.mark-read-button{flex:none;border:0;border-radius:8px;padding:7px 9px;background:#edf6f2;color:var(--teal);font-size:9px;font-weight:700}.mark-read-button:disabled{opacity:.45;cursor:not-allowed}.notification-form{display:grid;gap:8px;margin-bottom:12px;padding:11px;border:1px solid #edf2ef;border-radius:13px;background:#f8fbf9}.notification-form input,.notification-form textarea{width:100%;border:1px solid #e5eeea;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink);font:inherit;font-size:11px;outline:0;resize:vertical}.notification-form input:focus,.notification-form textarea:focus{border-color:#a9d0c5;box-shadow:0 0 0 3px #d9f0e855}.notification-form button{min-height:34px;border:0;border-radius:9px;background:var(--teal);color:white;font-size:10px;font-weight:700}.notification-list{display:grid;gap:6px}.notification-item{width:100%;display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid transparent;border-radius:11px;background:#f6faf8;color:var(--ink);text-align:left}.notification-item:hover{border-color:#dbeae3;background:#f1f8f4}.notification-item.read{background:#fff}.notification-state{flex:none;width:7px;height:7px;margin-top:5px;border-radius:50%;background:#dfac4f}.notification-item.read .notification-state{background:#dce5e0}.notification-copy{min-width:0;flex:1}.notification-row{display:flex;justify-content:space-between;gap:8px}.notification-row strong{font-size:10px}.notification-row time{flex:none;color:#9aa7a4;font-size:8px}.notification-message{display:block;margin-top:4px;color:#758682;font-size:9px;line-height:1.5;overflow-wrap:anywhere}.notification-empty{margin:8px 0;padding:14px;text-align:center;color:#9aa7a4;font-size:10px}.notification-footnote{margin:10px 0 0;color:#a0aca8;font-size:8px;text-align:center}

/* Login and private attachment controls */
.auth-gate{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 88% 2%,#e2f1ec 0,transparent 27%),#f2f6f5}.auth-card{width:min(420px,100%);display:flex;flex-direction:column;align-items:center;padding:34px 28px 27px;border:1px solid #dce8e3;border-radius:25px;background:rgba(255,255,255,.95);box-shadow:var(--shadow);text-align:center}.auth-mark{width:54px;height:54px;margin-bottom:23px;border-radius:19px}.auth-mark svg{width:34px;fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.3}.auth-card h1{margin:0;font-size:27px;letter-spacing:-.05em}.auth-card .eyebrow{margin-bottom:8px}.auth-copy{max-width:300px;margin:11px 0 21px;color:#768682;font-size:13px;line-height:1.65}.auth-login-button{width:100%;min-height:47px;border:0;border-radius:13px;background:var(--teal);color:#fff;font-size:13px;font-weight:700}.auth-login-button:hover{background:var(--teal-dark)}.auth-login-button:disabled{opacity:.65;cursor:wait}.auth-status{min-height:18px;margin:12px 0 0;color:#71817c;font-size:10px;line-height:1.5}.auth-footnote{max-width:300px;margin:15px 0 0;color:#9aa6a2;font-size:9px;line-height:1.55}.attachment-preview{display:flex;align-items:center;gap:9px;margin:8px 17px 0 64px;padding:7px 9px;border:1px solid #e2ece7;border-radius:11px;background:#f6faf8;color:#607570;font-size:10px}.attachment-preview img{width:42px;height:42px;flex:none;border-radius:8px;object-fit:cover}.attachment-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview button{width:27px;height:27px;border:0;border-radius:8px;background:#eaf2ee;color:#536c65;font-size:18px}.chat-image{display:block;width:min(240px,65vw);max-height:300px;margin:0 0 5px;border-radius:10px;object-fit:cover}.bubble .chat-image:last-child{margin-bottom:0}.send-button:disabled{opacity:.62;cursor:wait}.notification-form button:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.auth-gate{padding:18px}.auth-card{padding:29px 23px 23px;border-radius:22px}.attachment-preview{margin-right:10px;margin-left:51px}.chat-image{width:min(220px,68vw);max-height:260px}.notification-panel{max-height:calc(100dvh - 24px);padding:14px;border-radius:16px}}


/* Chat page visual refinement */
.chat-view{background:#fbfdfc}
.chat-header{height:78px;flex:none;padding:0 22px;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(27,75,68,.035)}
.thread-notice{margin:12px 20px 0;padding:9px 12px;border-color:#e1eee8;border-radius:13px;background:linear-gradient(100deg,#f2f8f5,#fbfdfc);color:#637974;font-size:10px;line-height:1.45}
.message-list{min-height:0;padding:22px 7% 20px;background:radial-gradient(ellipse at 92% 0%,rgba(214,239,229,.32),transparent 34%),linear-gradient(180deg,#fbfdfc,#f7faf8);gap:15px}
.date-divider span{padding:5px 10px;border:1px solid #e8efeb;border-radius:999px;background:rgba(255,255,255,.86)}
.message-row{max-width:82%}
.bubble{max-width:100%;padding:11px 14px;border:1px solid rgba(222,234,228,.76);border-radius:18px 18px 18px 6px;background:#fff;box-shadow:0 3px 12px rgba(34,75,67,.045);font-size:13px;line-height:1.6}
.outgoing .bubble{border-color:transparent;border-radius:18px 18px 6px 18px;background:linear-gradient(135deg,#1b7a7a,#145f69);box-shadow:0 5px 14px rgba(23,107,115,.16);color:#fff}
.message-avatar{box-shadow:0 0 0 2px #fff,0 2px 8px rgba(37,79,70,.12)}
.message-meta{gap:6px;margin-top:6px;font-size:9px}
.composer{flex:none;align-items:flex-end;gap:9px;padding:12px 17px 0;border-top:1px solid #e9f0ec;background:linear-gradient(180deg,rgba(250,252,251,.92),#fff)}
.attach-button{width:44px;height:44px;border:1px solid #dcece5;border-radius:15px;background:#eaf5ef;color:#176b73;font-size:22px}
.attach-button:hover{background:#dff0e8}
.composer textarea{min-height:44px;padding:12px 14px;border-color:#e1ebe6;border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(34,75,67,.035);font-size:13px}
.send-button{height:44px;min-width:80px;padding:0 13px;border-radius:15px;background:linear-gradient(135deg,#1b7a7a,#145f69);box-shadow:0 5px 14px rgba(23,107,115,.16);font-size:12px}
.attachment-preview{flex:none;min-height:60px;margin:11px 17px 0;padding:8px 10px;border-color:#d9eae2;border-radius:14px;background:linear-gradient(110deg,#f2f8f5,#fff);box-shadow:0 3px 10px rgba(34,75,67,.035);font-size:11px}
.attachment-preview img{width:46px;height:46px;border-radius:10px}
.attachment-preview button{width:32px;height:32px;border-radius:10px;background:#e6f1eb;color:#48665f}
.attachment-preview button:hover{background:#dcebe3}
.composer-footnote{flex:none;margin:7px 12px 12px;color:#879792;font-size:9px;line-height:1.45}
.composer button:focus-visible,.composer textarea:focus-visible,.attachment-preview button:focus-visible{outline:3px solid #91c8b8;outline-offset:2px}
@media(max-width:760px){
  .chat-view{padding-top:env(safe-area-inset-top);padding-bottom:calc(env(safe-area-inset-bottom) + 6px);background:#f7faf8}
  .chat-header{height:69px;padding:0 14px;gap:10px;background:rgba(255,255,255,.97);box-shadow:0 4px 16px rgba(27,75,68,.055)}
  .chat-header .large{width:41px;height:41px;border:2px solid #fff;box-shadow:0 2px 9px rgba(37,79,70,.15)}
  .chat-person h2{font-size:14px;font-weight:700}
  .chat-person p{margin-top:4px;font-size:10px}
  .thread-notice{margin:10px 12px 0;padding:8px 10px;border-radius:12px;font-size:9px}
  .message-list{padding:18px 13px 18px;gap:14px}
  .message-row{max-width:min(89%,360px)}
  .bubble{padding:10px 13px;border-radius:17px 17px 17px 6px;font-size:13px}
  .outgoing .bubble{border-radius:17px 17px 6px 17px}
  .composer{gap:8px;padding:10px 12px 0}
  .attach-button{width:44px;height:44px;flex:none;border-radius:15px}
  .composer textarea{min-height:44px;padding:12px 13px;border-radius:16px;font-size:13px}
  .send-button{width:78px;min-width:78px;height:44px;padding:0 9px;border-radius:15px}
  .attachment-preview{margin:10px 12px 0;padding:8px 10px;border-radius:14px}
  .attachment-preview img{width:48px;height:48px}
  .composer-footnote{margin:7px 12px 2px;font-size:8px}
  .chat-image{width:min(250px,72vw);max-height:300px;border-radius:13px}
}
@media(max-width:360px){
  .composer{gap:6px;padding-right:9px;padding-left:9px}
  .attach-button{width:42px;height:42px}
  .send-button{width:72px;min-width:72px;height:42px}
  .composer textarea{min-height:42px;padding-right:10px;padding-left:10px}
  .thread-notice{margin-right:9px;margin-left:9px}
  .attachment-preview{margin-right:9px;margin-left:9px}
}
