:root{--bg:#f5f6f8;--surface:#fff;--soft:#f5f8fe;--text:#263244;--muted:#94a0b1;--line:#edf0f4;--blue:#4c8eff;--selected:#c9dcff;--incoming:#eef0f2;--outgoing:#e0f3fc;--shadow:0 10px 32px #24344b08;color-scheme:light}*{box-sizing:border-box}body{margin:0;font:15px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}button,.tool{cursor:pointer}button{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:8px 15px;transition:background .16s}button:hover{background:var(--soft)}input,select,textarea{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 12px;outline:none;max-width:100%}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #4c8eff15}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}a{color:var(--blue);overflow-wrap:anywhere}label{display:block}h1,h2,h3,p{margin:0 0 12px}h1{font-size:25px}h2{font-size:21px}h3{font-size:18px}small,.muted{color:var(--muted)}.error{color:#d55965}.primary,.telegram{background:var(--blue);border:0;color:white}.primary:hover,.telegram:hover{background:#3979e5}.small{font-size:13px;padding:4px 10px}.push-right{margin-left:auto}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.login-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 10%,#e4eeff,transparent 65%)}.login-card{width:420px;max-width:100%;padding:36px;border:1px solid var(--line);background:var(--surface);border-radius:28px;box-shadow:var(--shadow)}.brand{font-size:44px;color:var(--blue)}.login-card form input{width:100%;margin:6px 0 16px}.login-card button{width:100%;margin-top:10px}.divider{text-align:center;color:var(--muted);margin:18px 0}.login-card canvas{max-width:100%;height:auto}.login-card #tg-panel{margin-top:22px;text-align:center}.rail{position:fixed;top:6px;bottom:6px;left:6px;width:88px;background:var(--surface);border-radius:34px;display:flex;align-items:center;flex-direction:column;padding:22px 9px;gap:12px;box-shadow:var(--shadow);z-index:5}.profile{display:grid;justify-items:center;margin-bottom:20px}.profile img{width:44px;height:44px;border-radius:50%;background:var(--incoming);object-fit:cover}.online{color:#85bb70;font-size:12px;margin-top:5px}.rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;width:66px;height:67px;padding:5px;font-size:13px;border-color:transparent;color:#637080;gap:0}.rail button span{font-size:27px;line-height:1.4}.rail button.active{background:#f0f6ff;border-color:#9cc1ff;color:var(--blue)}.rail .exit{margin-top:auto;color:#d16c6c}.rail i{position:absolute;right:5px;top:4px;font-size:10px;font-style:normal;color:white;background:#ef6c79;border-radius:10px;padding:0 4px}.rail i:empty{display:none}#workspace{margin-left:102px;height:100dvh}.page{height:100%;padding:26px;overflow:auto}.chat-layout{padding:3px 4px 3px 0;display:grid;grid-template-columns:285px minmax(300px,1fr) 310px;gap:4px;overflow:hidden}.conversation-panel,.chat-panel,.info-panel{min-height:0;background:var(--surface);border-radius:24px;overflow:hidden}.conversation-panel{padding:3px 8px;display:flex;flex-direction:column;gap:3px}.conversation-panel>input,.conversation-panel>select{width:100%;padding:6px 12px}.list-filters{display:flex;align-items:center;padding:4px 0;gap:8px}.pill{border:0;border-radius:20px;font-size:13px;padding:2px 10px;background:var(--incoming)}.pill.active{background:#eaf2ff;color:var(--blue)}.icon-button{border:0;padding:0 8px;font-size:22px;color:var(--muted)}.scroll{overflow:auto;overscroll-behavior:contain;min-height:0}.conversation{width:100%;display:flex;gap:10px;text-align:left;border:0;border-radius:14px;background:#eff4fc;margin:2px 0;padding:12px 8px;align-items:center}.conversation.selected{background:var(--selected)}.conversation img,.message img.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex-shrink:0}.conversation>div{min-width:0;flex:1}.conversation .name{font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation .preview{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation time{font-size:12px;color:var(--muted);align-self:flex-start}.unread{background:var(--blue);color:white;border-radius:12px;padding:0 5px;font-size:11px}.chat-panel{display:flex;flex-direction:column;border-radius:24px 0 0 24px}.chat-header{display:flex;align-items:center;gap:10px;padding:10px 17px;border-bottom:1px solid var(--line);height:57px;flex-shrink:0}.chat-header strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-header button{flex-shrink:0;padding:4px 9px;border:0}.empty{display:grid;align-content:center;justify-items:center;height:100%;color:var(--muted);text-align:center;padding:24px}.empty>span{font-size:54px;color:#b9d1f6}.empty h2{font-size:18px;font-weight:500}.message-list{flex:1;padding:22px 18px}.message{display:flex;gap:9px;margin-bottom:24px;align-items:flex-start}.message.mine{flex-direction:row-reverse}.message .body{max-width:80%;min-width:0}.message .caption{font-size:11px;color:var(--muted);margin:0 0 4px}.message.mine .caption{text-align:right}.bubble{background:var(--incoming);padding:9px 12px;border-radius:0 14px 14px 14px;overflow-wrap:anywhere;white-space:pre-wrap;display:inline-block}.mine .bubble{background:var(--outgoing);border-radius:14px 0 14px 14px}.bubble img{max-width:220px;max-height:260px;display:block;border-radius:6px;cursor:zoom-in}.bubble video{max-width:100%}.read{font-size:12px;color:var(--blue);margin-left:5px}.composer{background:var(--surface);border-radius:24px;padding:12px 16px 8px;margin:8px 20px 12px;box-shadow:0 0 0 8px var(--bg);flex-shrink:0}.composer textarea{border:0;width:100%;height:76px;resize:vertical;padding:0;box-shadow:none;background:transparent}.composer-tools{display:flex;align-items:center;gap:14px}.composer-tools button{border:0;background:transparent;padding:2px;color:#777;font-size:13px}.composer-tools .tool{font-size:22px;color:#6d7580}.composer-tools #emoji{font-size:24px}.composer-tools .send{width:36px;height:36px;font-size:25px;border-radius:50%;background:var(--blue);color:white}.composer #draft-images{display:flex;gap:6px}.draft-image{position:relative}.draft-image img{height:55px;max-width:80px;object-fit:cover}.draft-image button{position:absolute;right:0;top:0;padding:0 5px}.info-panel{border-radius:0 24px 24px 0;display:flex;flex-direction:column}.info-panel section{padding:16px;border-bottom:4px solid var(--bg)}.info-panel h3{display:flex;font-size:16px;border-bottom:1px solid var(--line);padding-bottom:12px;margin:0 -16px 12px;padding-left:16px;padding-right:16px}.details dl{display:grid;grid-template-columns:55px minmax(0,1fr);gap:10px 3px;font-size:13px}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.quick-side{flex:1;overflow:auto}.quick-item{width:100%;text-align:left;padding:12px;margin:4px 0;background:var(--soft)}.quick-item p{font-size:12px;color:var(--muted);margin:3px 0}.quick-item img{height:50px}.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px;margin:0 0 14px;box-shadow:var(--shadow)}.page-title{margin-bottom:22px}.section-shell{max-width:1150px;margin:40px auto;background:var(--surface);border-radius:28px;padding:28px}.settings-layout{display:grid;grid-template-columns:190px 1fr;gap:14px;min-height:70vh}.settings-tabs{background:var(--soft);padding:22px 12px;border:1px solid var(--line);border-radius:22px}.settings-tabs button{display:block;width:100%;margin:9px 0;border:0;text-align:left;padding:14px}.settings-tabs button.active{background:#dceaff;color:#4776ab}.settings-content{background:var(--soft);border-radius:22px;padding:24px;min-width:0}.settings-content label{margin:12px 0}.settings-content input:not([type=checkbox]),.settings-content textarea{width:100%}.settings-content .card{box-shadow:var(--shadow)}.balance{font-size:32px;color:var(--blue);font-weight:650}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid input,.form-grid select{width:100%}.form-grid label{margin:0}.form-grid button{align-self:end}.qr-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;max-width:850px;margin:auto}.qr-image{background:white;padding:18px;display:inline-block;border:1px solid #ddd;border-radius:12px;max-width:100%}.qr-image canvas{display:block;max-width:100%;height:auto}.qr-actions{margin:18px 0}.code-options{display:grid;gap:18px}.code-options input[type=checkbox]{accent-color:var(--blue)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:var(--soft);color:#8390a3;font-weight:600}th,td{padding:15px 12px;border-bottom:1px solid var(--line);white-space:nowrap}td.wrap{white-space:normal;overflow-wrap:anywhere;min-width:140px}.history-item{display:flex;align-items:center;gap:14px;padding:20px;background:var(--surface);border-radius:18px;border:1px solid var(--line);margin:9px 0}.history-item img{width:48px;height:48px;border-radius:50%}.history-item .summary{flex:1;min-width:0}.history-item p{margin:0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}.tag{font-size:11px;border-radius:15px;padding:3px 9px;background:#eaf5eb;color:#5f9c6b}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.toolbar input{min-width:0}.toolbar .active{color:var(--blue);background:var(--soft)}#overlay{position:fixed;inset:0;z-index:30;background:#18202d66;display:grid;place-items:center;padding:22px;backdrop-filter:blur(3px)}#dialog{position:relative;width:600px;max-width:100%;max-height:90dvh;overflow:auto;background:var(--surface);border-radius:24px;padding:30px;box-shadow:0 20px 80px #0002}#dialog.wide{width:1050px}#dialog.drawer{position:absolute;right:0;top:0;bottom:0;max-height:100dvh;width:420px;border-radius:24px 0 0 24px}.close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:25px;color:var(--muted);padding:0 8px;z-index:2}#dialog-body>h2{padding-right:20px}#dialog label{margin:14px 0}#dialog label>input:not([type=checkbox]),#dialog label>textarea,#dialog label>select{width:100%}#dialog textarea{min-height:130px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#263244;color:white;padding:12px 24px;border-radius:14px;z-index:99;max-width:90%;box-shadow:var(--shadow)}.mobile-only{display:none}.theme-dark{--bg:#141923;--surface:#1e2633;--soft:#253041;--text:#e0e7f1;--muted:#93a1b6;--line:#2c3747;--incoming:#2c3747;--outgoing:#233f55;--selected:#294f83;color-scheme:dark}.theme-dark .conversation{background:#253041}.theme-dark .conversation.selected{background:var(--selected)}.theme-dark .rail button.active{background:#263e60}.theme-dark .settings-tabs button.active{background:#294f83;color:#d8e9ff}.theme-dark .qr-image{color:#222}
@media(max-width:1250px){.chat-layout{grid-template-columns:245px minmax(300px,1fr)}.info-panel{display:none}.chat-panel{border-radius:24px}.section-shell{margin:15px auto}.message .body{max-width:85%}}
@media(max-width:700px){body{font-size:14px}.rail{top:auto;bottom:0;left:0;width:100%;height:calc(68px + env(safe-area-inset-bottom));border-radius:0;flex-direction:row;justify-content:space-around;padding:4px 5px env(safe-area-inset-bottom);gap:0;border-top:1px solid var(--line)}.profile,.rail .exit{display:none}.rail button{height:60px;width:19%;border:0;border-radius:10px;font-size:12px}.rail button span{font-size:25px}.rail button.active{background:transparent}.rail i{right:14px}#workspace{margin-left:0;height:calc(100dvh - 68px - env(safe-area-inset-bottom))}.page{padding:15px}.chat-layout{display:block;padding:0}.conversation-panel{height:100%;border-radius:0;padding:4px 7px}.conversation-panel>input{border-radius:24px;padding:10px 15px}.conversation-panel>select{border-radius:4px}.conversation{padding:12px 8px}.conversation img{width:44px;height:44px}.conversation .name{font-size:17px}.conversation .preview{font-size:14px}.chat-panel{display:none;height:100%;border-radius:0}.in-chat .conversation-panel{display:none}.in-chat .chat-panel{display:flex}.mobile-only{display:block}.chat-header{padding:10px 12px;height:61px;gap:5px;border-radius:0 0 22px 22px}.chat-header #back-list{color:var(--blue);padding-left:0}.chat-header strong{font-size:14px;flex:1}.message-list{padding:20px 15px}.message{margin-bottom:24px}.message .body{max-width:78%}.message .caption{font-size:11px}.bubble img{max-width:190px;max-height:250px}.composer{margin:8px 7px 12px;padding:12px;border-radius:23px}.composer textarea{height:70px;max-height:25dvh}.composer-tools{gap:14px}.composer-tools #refresh-chat{display:none}.composer-tools #quick-open{font-size:12px}.section-shell{padding:16px;margin:0;border-radius:20px}.settings-layout{display:block}.settings-tabs{padding:8px;display:flex;gap:4px;overflow:auto}.settings-tabs h3{display:none}.settings-tabs button{width:auto;white-space:nowrap;text-align:center;padding:10px;margin:0;flex:1}.settings-content{padding:16px 0;background:transparent}.card{padding:18px}.qr-layout{grid-template-columns:1fr}.qr-layout>.card{text-align:center}.qr-image{padding:12px}.code-options{text-align:left}.form-grid{grid-template-columns:1fr}.toolbar{gap:6px}.toolbar input{max-width:100%;flex:1}.history-item{padding:14px 10px;gap:9px}.history-item img{width:35px;height:35px}.history-item time{display:none}.history-item .summary{font-size:13px}.history-item p{font-size:11px}.balance{font-size:27px}#overlay{padding:14px}#dialog{padding:24px 19px;max-height:90dvh;border-radius:22px}#dialog.drawer{width:80%;padding-top:25px}.login-card{padding:28px}.info-panel{display:none}#toast{bottom:85px}table{font-size:12px}th,td{padding:12px 9px}}

.rail svg{display:block;width:25px;height:25px;margin:3px auto 5px}.login-card #tg-panel a{display:block}

.login-screen{padding:24px 20px;background:radial-gradient(ellipse at 50% 0,#eaf1ff 0,transparent 60%),#f6f8fc}.login-card{width:420px;padding:28px;border:1px solid #e8edf5;border-radius:24px;box-shadow:0 16px 60px #23395c0a}.login-heading{text-align:center}.login-heading h1{font-size:24px;font-weight:650;letter-spacing:.5px;margin-bottom:6px}.login-heading p{font-size:13px;margin:0}.login-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f2f5fa;border-radius:12px;margin:20px 0;isolation:isolate}.login-tabs::before{content:"";position:absolute;inset:4px auto 4px 4px;width:calc(50% - 6px);border-radius:9px;background:var(--surface);box-shadow:0 2px 6px #23395c0a;transition:transform .2s;z-index:-1}.login-card[data-login-mode=password] .login-tabs::before{transform:translateX(calc(100% + 4px))}.login-card .login-tabs button{width:auto;margin:0;padding:10px 3px;border:0;background:transparent;border-radius:9px;white-space:nowrap;font-size:13px;color:#8691a2}.login-card .login-tabs button[aria-selected=true]{color:#357de8;font-weight:600}.login-mode-panel{animation:login-panel-in .18s ease}.telegram-intro{text-align:center;padding:0}.login-card #tg-panel{margin:0;border:0;padding:0}.login-card #tg-panel h2{font-size:15px;font-weight:500;margin-bottom:14px;color:var(--text)}.telegram-qr-frame{width:236px;height:236px;display:grid;place-items:center;margin:0 auto 14px;border:1px solid #e9eef6;border-radius:16px;background:white}.telegram-qr-frame #tg-qr{width:212px;height:212px;display:grid;place-items:center}.login-card #tg-panel canvas{width:212px;height:212px;display:block}.qr-loading{font-size:13px;color:#99a4b5}.login-card #tg-panel .telegram-open{display:block;width:100%;padding:11px 14px;border:1px solid #dce9ff;border-radius:11px;background:#f0f6ff;color:#347eea;text-decoration:none;font-size:14px;font-weight:600}.login-card #tg-panel .telegram-open:hover{background:#e6f0ff}.login-card #tg-panel .telegram-guide{font-size:12px;line-height:1.8;color:#8390a3;margin:14px 0 6px}.login-card #tg-panel #tg-status{font-size:12px;min-height:19px;margin:0;color:#8390a3}.telegram-register-note{font-size:11px;color:#a0aaba;margin:18px 0 0;padding-top:16px;border-top:1px solid #edf1f6}.login-password-hint{font-size:13px;margin-bottom:18px;text-align:center}.login-card form>.primary{padding:12px 14px;font-weight:600}.login-card form input{background:#fafbfd;border-color:#e4eaf3}.login-card #login-error:empty{display:none}.login-card #login-error{font-size:12px;text-align:center;margin:12px 0 0}.theme-dark .login-tabs{background:var(--soft)}.theme-dark .login-card{border-color:var(--line)}@keyframes login-panel-in{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.login-tabs::before{transition:none}.login-mode-panel{animation:none}}@media(max-width:420px){.login-screen{padding:20px 14px}.login-card{padding:26px 22px}.login-heading h1{font-size:22px}.login-card .login-tabs button{font-size:12px}.login-tabs{margin:21px 0}.telegram-qr-frame{width:224px;height:224px}}

/* Shared message composer and WeChat-style emotion picker. */
.composer{border:1px solid var(--line);box-shadow:0 4px 20px #24344b05,0 0 0 7px var(--bg)}.composer textarea{font-size:15px;line-height:1.7;min-height:76px}.composer-tools{gap:17px;padding-top:8px}.composer-tools .chat-icon,.reply-editor-toolbar .chat-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#5b626d;vertical-align:middle}.composer-tools .chat-icon:hover,.reply-editor-toolbar .chat-icon:hover{color:var(--blue);background:var(--soft)}.chat-icon svg{display:block;flex:none}.composer-tools .send-button{width:40px;height:40px;padding:9px;border:0;border-radius:50%;background:var(--blue);color:white;box-shadow:none;transition:background .16s,transform .16s}.composer-tools .send-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.composer-tools .send-button:disabled{background:#c9cdd2;color:white;cursor:default}.composer-tools .send-button:not(:disabled):hover{background:#377eea;transform:translateY(-1px)}.composer-tools .send-button[aria-busy=true]{opacity:.6}.draft-image{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;padding:4px;max-width:170px;margin-bottom:7px;background:var(--soft)}.draft-image img{border-radius:5px}.draft-image small{padding:8px 20px 8px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-image button{border:0;line-height:20px;cursor:pointer;background:var(--surface);color:#6f7783;border-radius:50%;box-shadow:0 1px 5px #0001}.bubble img.emoji,.visitor-shell .bubble img.emoji,.quick-preview img.emoji,.reply-content img.emoji{display:inline-block;width:24px;height:24px;max-width:24px;max-height:24px;min-width:24px;margin:0 2px;vertical-align:-5px;border-radius:0;object-fit:contain;cursor:default}.emoji-picker{position:fixed;z-index:100;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 12px 50px #23354b24;max-height:min(330px,70dvh);overflow:auto}.emoji-picker header{display:flex;align-items:center;justify-content:space-between;padding:0 3px 9px;font-size:13px;color:var(--muted)}.emoji-picker .emoji-picker-close{padding:0 4px;border:0;background:transparent;font-size:21px;line-height:22px;color:var(--muted)}.emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.emoji-grid button{display:grid;place-items:center;padding:6px 3px;border:0;border-radius:7px;background:transparent;min-width:0}.emoji-grid button:hover,.emoji-grid button:focus-visible{background:#eaf2ff}.emoji-grid img{display:block;width:24px;height:24px;max-width:24px;max-height:24px}.quick-preview{font-size:13px;color:var(--muted);line-height:1.7;max-height:110px;overflow:hidden;overflow-wrap:anywhere;margin-top:5px}.quick-preview p,.quick-preview div{margin:0}.quick-preview img:not(.emoji){display:block;max-width:150px;height:75px;object-fit:contain;margin:5px 0}.theme-dark .chat-icon{color:var(--text)}
#dialog.reply-editor-dialog{width:1100px;padding:30px 34px;min-height:min(780px,86dvh);border-radius:26px}.reply-editor-heading{font-size:18px;font-weight:500;color:var(--blue);border-bottom:1px solid var(--line);padding:8px 34px 18px 0;margin-bottom:27px}.reply-editor-heading span{font-size:16px;font-weight:400}.reply-title-field{position:relative;margin-bottom:18px}.reply-title-field input{width:100%;height:48px;padding:10px 78px 10px 14px;border-radius:7px}.reply-title-field span{position:absolute;right:15px;top:12px;font-size:13px;color:var(--muted);pointer-events:none}.reply-editor-frame{border:1px solid var(--line);border-radius:22px;padding:10px 12px 12px;background:var(--surface);box-shadow:inset 0 0 0 8px var(--soft)}.reply-editor-toolbar{display:flex;align-items:center;gap:18px;padding:8px 14px 4px}.reply-editor-toolbar .muted{font-size:12px}.reply-content{padding:16px 12px;min-height:160px;height:clamp(160px,calc(70dvh - 280px),470px);max-height:50dvh;overflow:auto;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:15px;cursor:text}.reply-content:empty::before{content:attr(data-placeholder);color:#b3bac4;pointer-events:none}.reply-content img:not(.emoji){display:inline-block;max-width:min(230px,100%);max-height:160px;vertical-align:middle;border-radius:8px;margin:8px 3px}.reply-editor-options{display:flex;justify-content:flex-end;align-items:center;gap:24px;font-size:13px;color:var(--muted);padding-top:10px}.reply-editor-options label{display:inline-flex;align-items:center;gap:7px;margin:0!important}.reply-editor-options input[type=number]{width:75px!important;padding:4px 8px;font-size:12px}.reply-submit-row{display:flex;justify-content:center;padding-top:18px}.reply-submit-row button{min-width:100px;border-radius:20px;padding:9px 22px}.reply-submit-row button:disabled{background:#e2ecff;color:#80a7ec;cursor:default}.theme-dark .reply-submit-row button:disabled{background:var(--soft);color:var(--muted)}
@media(max-width:700px){.composer-tools{gap:15px}.composer-tools .chat-icon{width:25px}.composer-tools .send-button{width:38px;height:38px;padding:7px}.composer-tools #quick-open{font-size:12px;padding:0;white-space:nowrap}.composer textarea{font-size:15px}#dialog.reply-editor-dialog{padding:22px 17px;min-height:75dvh}.reply-editor-heading{font-size:16px;line-height:1.7;padding-bottom:14px;margin-bottom:22px}.reply-editor-heading span{font-size:13px}.reply-content{height:35dvh;min-height:220px;padding:13px 7px}.reply-editor-frame{padding:8px}.reply-editor-toolbar{padding-left:7px;gap:17px}.reply-editor-options{gap:15px}.reply-title-field input{font-size:14px}.emoji-grid button{padding:7px 2px}}
@media(max-width:370px){.composer-tools{gap:11px}.composer-tools #quick-open{font-size:11px}}

.visitor-typing{flex-shrink:0;margin:0 24px 8px;padding:10px 14px;border-radius:12px;background:var(--soft);border-left:3px solid var(--blue);font-size:14px;line-height:1.6}.typing-label{display:block;color:var(--blue);font-size:12px;margin-bottom:3px}#visitor-typing-content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:96px;overflow:auto;color:var(--text)}@media(max-width:700px){.visitor-typing{margin:0 12px 6px;padding:8px 12px}#visitor-typing-content{max-height:70px}}

.visitor-shell .chat-header .restore-button{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid #e4edff;border-radius:11px;background:#f1f6ff;color:#5386d8;font-size:12px;white-space:nowrap}.visitor-shell .chat-header .restore-button:hover{background:#e5efff}#recovery-line{flex-shrink:0;border-bottom:1px solid var(--line)}.recovery-summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.recovery-summary strong{margin-left:6px;letter-spacing:2px;color:var(--text)}.recovery-summary button{padding:4px 10px;color:var(--blue);font-size:12px}#recovery-line p{margin:4px 0 0;color:var(--muted);font-size:11px}#restore-dialog{position:fixed;width:420px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:32px;border:1px solid var(--line);border-radius:24px;color:var(--text);background:var(--surface);box-shadow:0 24px 100px #182d4a30}#restore-dialog::backdrop{background:#1d2c4266;backdrop-filter:blur(4px)}.restore-close{position:absolute;top:12px;right:14px;border:0;background:transparent;color:var(--muted);font-size:25px;padding:0 7px}.restore-symbol{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;background:#edf4ff;color:var(--blue);font-size:32px;border-radius:16px}#restore-heading{font-size:22px;margin-bottom:8px}#restore-description{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:24px}#restore-form label{font-size:13px;margin-bottom:8px;font-weight:600}#restore-code{width:100%;height:52px;font-size:18px;letter-spacing:2px;background:var(--soft)}#restore-code::placeholder{font-size:14px;letter-spacing:0;color:var(--muted)}#restore-help{font-size:12px;color:var(--muted);margin:8px 0 0}#restore-error{font-size:13px;color:#cf5a65;margin:10px 0 0}.restore-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}.restore-actions button{padding:10px 22px}.restore-actions button:disabled{opacity:.6;cursor:wait}@media(max-width:480px){#restore-dialog{padding:27px 22px;border-radius:22px}.restore-actions button{flex:1}.visitor-shell .chat-header .restore-button{font-size:12px;padding:7px 9px}}

.message-content{position:relative;max-width:100%}.message-more{position:absolute;left:calc(100% + 7px);bottom:2px;padding:0!important;width:26px;height:26px;border:0;background:transparent;color:#a1a8b2;opacity:0;pointer-events:none;display:grid;place-items:center}.mine .message-more{left:auto;right:calc(100% + 7px)}.message:hover .message-more,.message:focus-within .message-more,.message.actions-visible .message-more{opacity:1;pointer-events:auto}.message-more:hover{color:var(--blue)}.message .body{min-width:0}.message-action-menu{position:fixed;z-index:110;min-width:112px;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 35px #26324424}.message-action-menu button{display:block;width:100%;text-align:left;border:0;padding:9px 12px;background:transparent;border-radius:10px;font-size:14px}.message-action-menu button:hover{background:var(--soft)}.message-action-menu .danger{color:#cc6870}.message-deleted{display:block;font-size:11px;color:#bc7c82;margin-top:5px}.message-quote{padding:8px 11px;margin-bottom:5px;border-left:3px solid #adc9f1;border-radius:7px;background:var(--soft);font-size:12px;max-width:300px;text-align:left;overflow-wrap:anywhere;color:var(--muted)}.message-quote span,.reply-draft span{font-size:11px;color:var(--blue)}.message-quote div{white-space:pre-wrap;max-height:80px;overflow:auto}.reply-draft{display:flex;align-items:center;gap:12px;border-left:3px solid #adc9f1;background:var(--soft);border-radius:8px;padding:8px 12px;margin-bottom:8px;text-align:left}.reply-draft>div{flex:1;min-width:0}.reply-draft p{font-size:12px;margin:0;max-height:48px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.reply-draft button{border:0;background:transparent;padding:0 5px;font-size:22px;color:var(--muted)}@media(hover:none){.message:hover .message-more{opacity:0;pointer-events:none}.message.actions-visible .message-more,.message:focus-within .message-more{opacity:1;pointer-events:auto}}@media(max-width:700px){.message-more{left:calc(100% + 3px)}.mine .message-more{right:calc(100% + 3px)}.visitor-shell .message .body{max-width:78%}}

/* Touch selection is exclusive; focus left on a different message must not reveal its button. */
@media(hover:none),(pointer:coarse){.message:hover .message-more,.message:focus-within .message-more{opacity:0;pointer-events:none}.message.actions-visible .message-more,.message.actions-visible:focus-within .message-more{opacity:1;pointer-events:auto}html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}}
@media(max-width:700px){input:not([type=checkbox]):not([type=radio]),select,textarea,.composer textarea,.reply-content,#restore-code{font-size:16px}}

/* All devices reveal message actions only after selecting a message. */
.message:hover .message-more,.message:focus-within .message-more{opacity:0;pointer-events:none}
.message.actions-visible .message-more,.message.actions-visible:hover .message-more,.message.actions-visible:focus-within .message-more{opacity:1;pointer-events:auto}

.code-shell{max-width:1000px;padding:32px}.code-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}.code-heading h2{margin-bottom:4px}.code-heading p{margin:0;font-size:13px;color:var(--muted)}.code-status{white-space:nowrap;background:var(--soft);color:var(--muted);padding:5px 12px;border-radius:20px;font-size:12px}.code-status.ready{background:#edf8ef;color:#61a274}.code-shell .qr-layout{max-width:none;grid-template-columns:minmax(270px,.95fr) minmax(300px,1.15fr);gap:22px}.code-shell .card{margin:0;box-shadow:none}.code-preview{text-align:center;background:var(--soft);padding:28px 20px}.code-preview h3{margin-bottom:3px}.code-preview>p{font-size:12px;margin-bottom:20px}.code-preview .qr-image{padding:18px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px #24344b08}#qr-caption{font-size:12px;margin-top:12px;color:#637080;min-height:19px}.code-preview .qr-actions{display:flex;justify-content:center;gap:10px;margin:22px 0 9px}.code-preview .qr-actions button{font-size:13px}.code-copy-link{font-size:13px;color:var(--blue);background:transparent;border:0}.code-settings{padding:26px}.code-settings h3{margin-bottom:22px}.code-icon-field{padding:0;margin:0 0 24px;border:0;min-width:0}.code-icon-field legend{padding:0;margin-bottom:12px;font-size:13px;color:var(--muted)}.code-icon-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.code-icon-choice{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;cursor:pointer;padding:12px 4px 9px;border:1px solid var(--line);border-radius:12px;font-size:12px}.code-icon-choice:has(input:checked){background:var(--soft);border-color:var(--blue);color:var(--blue)}.code-icon-choice input{margin:0;accent-color:var(--blue);position:absolute;right:5px;top:5px;width:12px;height:12px}.code-icon-choice img{width:32px;height:32px;object-fit:contain;border-radius:5px;margin-top:4px}.code-switches label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid var(--line);font-size:14px}.code-switches small{display:block;font-size:11px;margin-top:2px}.code-switches input{width:18px;height:18px;accent-color:var(--blue)}.code-buttons{display:flex;gap:10px;margin-top:25px}.code-buttons button{flex:1;font-size:13px}.code-buttons button:disabled{opacity:.6;cursor:wait}.code-footnote{font-size:12px;line-height:1.8;color:var(--muted);margin:16px 0 0}.code-placeholder{width:240px;max-width:100%;height:240px;display:grid;place-items:center;background:#f5f8fe;color:#94a0b1;font-size:14px}@media(max-width:700px){.code-shell{padding:18px 14px}.code-heading{align-items:flex-start;margin-bottom:20px}.code-heading h2{font-size:20px}.code-heading p{font-size:12px}.code-status{font-size:11px;padding:4px 8px}.code-shell .qr-layout{grid-template-columns:1fr;gap:16px}.code-settings{padding:22px 18px}.code-icon-grid{gap:10px}.code-icon-choice{font-size:13px}.code-buttons button{padding:11px 10px}}

.promotion-shell{max-width:1050px;padding:32px}.promotion-heading{margin-bottom:24px}.promotion-heading h1{font-size:25px;margin-bottom:7px}.promotion-heading p{color:var(--muted);font-size:13px;margin:0}.promotion-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.promotion-stats>div{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:21px 24px}.promotion-stats span{font-size:13px;color:var(--muted)}.promotion-stats strong{display:block;color:var(--blue);font-size:29px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}.promotion-stats small{font-size:12px;font-weight:400;margin-left:9px;color:var(--muted)}.promotion-share{display:flex;align-items:center;gap:32px;padding:28px;margin-bottom:24px}.promotion-link{flex:1;min-width:0}.promotion-eyebrow{font-size:12px;color:var(--blue);display:block;margin-bottom:7px}.promotion-link h3{font-size:20px;margin-bottom:8px}.promotion-link p{font-size:13px;margin-bottom:24px}.promotion-link label{font-size:12px;color:var(--muted);margin-bottom:8px}.promotion-url-row{display:flex;gap:10px}.promotion-url-row input{width:100%;min-width:0;font-size:13px;background:var(--soft)}.promotion-url-row button{flex-shrink:0;font-size:13px}.promotion-qr-card{flex-shrink:0;text-align:center;background:white;border:1px solid var(--line);border-radius:17px;padding:15px}.promotion-qr-card canvas{display:block;max-width:100%}.promotion-qr-card p{font-size:11px;color:#8390a3;margin:9px 0 0}.promotion-users{padding:24px}.promotion-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.promotion-list-heading h3{margin:0}.promotion-list-heading>span{font-size:12px;color:var(--muted)}.promotion-user-header,.promotion-user-toggle{display:grid;grid-template-columns:1fr 1.3fr 1.3fr;gap:16px;text-align:left;align-items:center}.promotion-user-header{padding:10px 14px;background:var(--soft);border-radius:10px;font-size:12px;color:var(--muted)}.promotion-user{border-bottom:1px solid var(--line)}.promotion-user-toggle{width:100%;border:0;border-radius:0;padding:19px 14px;font-size:13px}.promotion-user-toggle>span{min-width:0;overflow-wrap:anywhere}.promotion-user-toggle small{display:none}.promotion-account{font-weight:600;color:var(--blue);display:flex;align-items:center;gap:9px}.promotion-account i{font-size:24px;font-style:normal;font-weight:400;line-height:1;transition:transform .15s}.promotion-user-toggle[aria-expanded=true] .promotion-account i{transform:rotate(90deg)}.promotion-rewards{background:var(--soft);border-radius:12px;margin:0 12px 15px;padding:8px 16px}.reward-header,.reward-row{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;padding:11px 0;font-size:12px}.reward-header{color:var(--muted)}.reward-row{border-top:1px solid var(--line)}.reward-row strong{font-weight:500;color:var(--blue)}.promotion-empty,.promotion-no-rewards{padding:24px;text-align:center;font-size:13px;color:var(--muted);margin:0}.promotion-history-note{font-size:11px;color:var(--muted);margin:0 4px}@media(max-width:700px){.promotion-shell{padding:18px 14px}.promotion-heading h1{font-size:22px}.promotion-stats{gap:8px}.promotion-stats>div{padding:14px 10px}.promotion-stats span{font-size:11px}.promotion-stats strong{font-size:21px}.promotion-stats small{display:block;font-size:10px;margin:0}.promotion-share{flex-direction:column;padding:22px 18px;gap:24px;align-items:stretch}.promotion-link h3{font-size:18px}.promotion-qr-card{align-self:center}.promotion-url-row{flex-direction:column}.promotion-users{padding:18px 10px}.promotion-list-heading{align-items:flex-start;padding:0 5px;flex-direction:column;margin-bottom:13px}.promotion-user-header{display:none}.promotion-user-toggle{grid-template-columns:1fr 1fr;gap:12px;padding:16px 8px}.promotion-account{grid-column:1/-1;font-size:14px}.promotion-user-toggle small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.promotion-user-toggle>span{font-size:12px}.promotion-rewards{margin:0 0 12px;padding:7px 12px}.reward-header,.reward-row{gap:10px;font-size:11px}.promotion-history-note{font-size:11px}}

/* Conversation rows have two independent controls, avoiding nested buttons. */
.conversation{padding:0;gap:0}.conversation-select{display:flex;align-items:center;gap:9px;flex:1;min-width:0;width:0;padding:12px 5px 12px 8px;border:0;border-radius:14px;background:transparent;text-align:left}.conversation-select:hover{background:transparent}.conversation-summary{flex:1;min-width:0}.conversation-select time{flex-shrink:0;font-size:11px}.conversation-more{display:grid;place-items:center;flex:0 0 30px;align-self:stretch;padding:0;border:0;border-radius:0 14px 14px 0;background:transparent;color:#8c9bb0;min-height:48px}.conversation-more:hover,.conversation-more:focus-visible{background:#dce8fc;color:var(--blue)}
#dialog.conversation-dialog{width:450px;padding:26px;max-height:90dvh}.conversation-dialog-heading h2{font-size:20px;margin-bottom:18px}.conversation-person{display:flex;gap:12px;align-items:center;padding:14px;background:var(--soft);border-radius:15px;margin-bottom:14px}.conversation-person img{width:42px;height:42px;border-radius:50%;object-fit:cover}.conversation-person>div{min-width:0}.conversation-person strong{display:block;font-size:14px;overflow-wrap:anywhere}.conversation-person span{font-size:12px;color:var(--muted)}.conversation-operation-list{display:grid;gap:3px}.conversation-operation-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:12px;border:0;background:transparent}.conversation-operation-list button:hover{background:var(--soft)}.conversation-operation-list strong{font-size:14px;font-weight:500;display:block}.conversation-operation-list small{display:block;font-size:11px;line-height:1.7;margin-top:2px;color:var(--muted)}.conversation-operation-list i{font-size:24px;color:var(--muted);font-style:normal}.conversation-operation-list .danger strong,.reply-manager-card-footer .danger{color:#ca727b}.dialog-back{display:block;color:var(--muted);border:0;background:transparent;padding:0;margin-bottom:16px;font-size:12px}.conversation-confirm-description{font-size:13px;line-height:1.8}.conversation-confirm-person{padding:16px;border-radius:13px;background:var(--soft);overflow-wrap:anywhere;font-size:14px}#conversation-action-form>input{width:100%}.dialog-action-row{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-action-row button{min-width:90px}.conversation-operation-list button:disabled,.dialog-action-row button:disabled{opacity:.6;cursor:wait}
#dialog.reply-manager-dialog{width:960px;padding:30px;max-height:88dvh}.reply-manager-heading h2{font-size:22px;margin-bottom:5px}.reply-manager-heading p{font-size:13px;color:var(--muted);margin-bottom:22px}.reply-manager-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.reply-manager-toolbar>div{display:flex;align-items:center;gap:8px}.reply-manager-toolbar button,.reply-manager-toolbar label{font-size:13px;margin:0!important}.reply-manager-toolbar label{padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.reply-manager-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reply-manager-card{min-width:0;border:1px solid var(--line);border-radius:17px;padding:18px;background:var(--surface);display:flex;flex-direction:column}.reply-manager-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.reply-manager-card-heading strong{font-size:15px;overflow-wrap:anywhere;min-width:0}.reply-enabled{font-size:10px;color:var(--muted);background:var(--soft);border-radius:12px;padding:2px 8px;white-space:nowrap}.reply-enabled.on{background:#edf7ef;color:#6c9f78}.reply-manager-preview{font-size:13px;color:var(--muted);line-height:1.8;overflow:auto;overflow-wrap:anywhere;max-height:140px;min-height:60px;margin:13px 0;flex:1}.reply-manager-preview img:not(.emoji){display:block;max-width:100%;max-height:100px;object-fit:contain;border-radius:8px;margin:6px 0}.reply-manager-preview img.emoji{width:22px;height:22px;vertical-align:middle}.reply-manager-preview p{margin:0}.reply-manager-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px}.reply-manager-card-footer small{font-size:11px}.reply-manager-card-footer button{font-size:12px;padding:5px 12px;margin-left:5px}.reply-manager-empty{grid-column:1/-1;text-align:center;padding:55px 20px;color:var(--muted)}.reply-manager-empty h3{font-size:17px;font-weight:500}.reply-manager-empty p{font-size:13px;margin:0}#dialog.reply-editor-dialog{min-height:0;max-height:90dvh;width:960px}#dialog.reply-editor-dialog .reply-editor-heading{margin-bottom:20px;font-size:18px}#dialog.reply-editor-dialog .reply-content{height:clamp(180px,36dvh,400px);min-height:180px}#dialog.reply-editor-dialog .reply-submit-row{padding-top:18px}.reply-submit-row button{min-width:135px}
@media(max-width:700px){.conversation-select{padding:12px 4px 12px 8px;gap:10px}.conversation-more{flex-basis:38px;min-height:68px}.conversation-select time{font-size:12px}.conversation-select .preview{font-size:13px}#dialog.conversation-dialog{width:440px;padding:23px 18px;border-radius:23px;max-height:88dvh}.conversation-operation-list button{padding:11px 10px;min-height:61px}.conversation-operation-list strong{font-size:15px}.conversation-operation-list small{font-size:12px}.conversation-person{margin-bottom:10px}.dialog-action-row button{flex:1;padding:11px 12px}#dialog.reply-manager-dialog,#dialog.reply-editor-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:calc(22px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));overflow:auto}#dialog.reply-manager-dialog .close,#dialog.reply-editor-dialog .close{top:calc(16px + env(safe-area-inset-top));right:14px;width:36px;height:36px;line-height:36px}.reply-manager-heading{padding-right:30px}.reply-manager-heading h2{font-size:21px}.reply-manager-heading p{font-size:12px;line-height:1.8;margin-bottom:18px}.reply-manager-toolbar{align-items:stretch;gap:10px;flex-direction:column}.reply-manager-toolbar>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reply-manager-toolbar>button{padding:12px}.reply-manager-toolbar>div>*{text-align:center;padding:9px}.reply-manager-list{grid-template-columns:1fr;gap:12px}.reply-manager-card{padding:16px}.reply-manager-preview{max-height:150px;font-size:14px}.reply-manager-card-footer button{min-height:38px;min-width:62px}#dialog.reply-editor-dialog #dialog-body{min-height:100%;display:flex;flex-direction:column}#dialog.reply-editor-dialog .dialog-back{margin:0 0 18px;align-self:flex-start;padding:6px 0;min-height:32px}#dialog.reply-editor-dialog .reply-editor-heading{font-size:17px;line-height:1.8;margin-bottom:18px;padding:0 0 13px}#dialog.reply-editor-dialog .reply-editor-heading span{display:block;font-size:12px}#reply-form{display:flex;flex-direction:column;flex:1;min-height:0}#dialog.reply-editor-dialog .reply-editor-frame{display:flex;flex-direction:column;flex:1;padding:8px;min-height:200px}#dialog.reply-editor-dialog .reply-content{flex:1;height:clamp(160px,32dvh,380px);max-height:none;min-height:160px;font-size:16px;padding:12px 8px}.reply-editor-toolbar{flex-shrink:0;min-height:42px;gap:20px}.reply-editor-toolbar .chat-icon{width:36px;height:36px}.reply-editor-options{padding-top:14px;justify-content:space-between}.reply-editor-options label{font-size:13px}.reply-editor-options input[type=number]{font-size:16px!important}#dialog.reply-editor-dialog .reply-submit-row{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));padding:16px 0 calc(12px + env(safe-area-inset-bottom));background:var(--surface);z-index:1}.reply-submit-row button{width:100%;border-radius:14px;padding:12px}.reply-title-field input{height:50px;font-size:16px}.reply-manager-empty{padding-top:55px}}

.info-recovery-copy{padding:2px 7px;border:0;background:var(--soft);color:var(--blue);font-size:13px;font-weight:600;letter-spacing:1px;text-align:left;overflow-wrap:anywhere;max-width:100%}.visitor-comment-value{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;line-height:1.8;color:var(--text)}.visitor-comment-edit{border:0;background:transparent;padding:4px 0;color:var(--blue);font-size:12px;margin-top:3px}.visitor-info-drawer dl{margin-top:18px}.visitor-comment-description{font-size:13px;overflow-wrap:anywhere}.visitor-comment-count{text-align:right;color:var(--muted);font-size:11px;margin-top:5px}#dialog.visitor-comment-dialog{width:470px}#visitor-comment-form label{font-size:13px}#visitor-comment-input{width:100%;height:190px;max-height:40dvh;resize:vertical;line-height:1.8}#comment-save:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){#dialog.conversation-dialog{width:360px;max-width:100%;padding:18px 14px;border-radius:19px;max-height:85dvh}.conversation-dialog-heading h2{font-size:17px;margin-bottom:12px}.conversation-person{padding:9px 11px;gap:9px;border-radius:11px;margin-bottom:8px}.conversation-person img{width:32px;height:32px}.conversation-person strong{font-size:13px}.conversation-person span{display:none}.conversation-operation-list{gap:0}.conversation-operation-list button{min-height:43px;padding:10px 11px;border-radius:9px}.conversation-operation-list strong{font-size:14px}.conversation-operation-list small{display:none}.conversation-operation-list i{font-size:20px}.conversation-operation-list button[data-op=delete_visitor]{border-top:1px solid var(--line);border-radius:0}.conversation-confirm-description{font-size:12px;line-height:1.7;margin-bottom:14px}.conversation-dialog .dialog-back{font-size:12px;margin-bottom:10px}.conversation-dialog h2{font-size:18px}.conversation-dialog .dialog-action-row{margin-top:18px}.conversation-dialog .dialog-action-row button{padding:9px 12px;font-size:13px}.conversation-confirm-person{padding:12px;font-size:13px}#dialog.visitor-comment-dialog{padding:22px 18px;border-radius:21px}.visitor-comment-value{font-size:14px}.visitor-comment-edit{padding:6px 0;font-size:13px}#visitor-comment-input{height:170px;min-height:130px;font-size:16px}.visitor-comment-dialog .dialog-action-row{margin-top:16px}}

@media(max-width:700px){
 #dialog.visitor-comment-dialog{width:420px;max-width:100%;max-height:calc(100dvh - 32px);padding:22px 20px 18px;border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 65px #1b304a25;overflow:auto;scroll-padding-bottom:20px}
 .visitor-comment-dialog .close{right:13px;top:12px;width:32px;height:32px;padding:0;display:grid;place-items:center;font-size:24px}
 .visitor-comment-dialog .dialog-back{display:inline-flex;align-items:center;min-height:32px;margin:0 34px 13px 0;font-size:12px;padding:0;color:var(--muted)}
 .visitor-comment-heading{font-size:20px!important;font-weight:650;letter-spacing:.3px;margin:0 0 7px;padding-right:30px}
 .visitor-comment-dialog .visitor-comment-description{display:block;margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 #visitor-comment-form{display:flex;flex-direction:column;min-height:0}
 #dialog.visitor-comment-dialog #visitor-comment-form label{margin:0 0 8px;font-size:12px;color:var(--muted);font-weight:500}
 #dialog.visitor-comment-dialog #visitor-comment-input{display:block;width:100%;height:clamp(130px,28dvh,230px);min-height:110px;max-height:34dvh;margin:0;padding:13px 14px;background:var(--soft);border:1px solid var(--line);border-radius:14px;font-size:16px;line-height:1.75;resize:none;box-shadow:none;-webkit-appearance:none}
 #dialog.visitor-comment-dialog #visitor-comment-input:focus{border-color:#a7c7ff;box-shadow:0 0 0 3px #4c8eff0d}
 #visitor-comment-input::placeholder{font-size:14px;color:var(--muted)}
 .visitor-comment-dialog .visitor-comment-count{margin:7px 2px 0;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
 .visitor-comment-dialog .dialog-action-row{display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin-top:20px;padding-bottom:env(safe-area-inset-bottom)}
 .visitor-comment-dialog .dialog-action-row button{min-width:0;min-height:44px;padding:10px 12px;border-radius:13px;font-size:14px;font-weight:500}
 #comment-cancel{background:var(--soft);border-color:transparent;color:var(--muted)}
}
@media(max-width:700px) and (max-height:520px){#dialog.visitor-comment-dialog{padding:14px 17px 12px;max-height:calc(100dvh - 20px)}.visitor-comment-dialog .dialog-back{margin-bottom:6px;min-height:26px}.visitor-comment-heading{font-size:18px!important}.visitor-comment-dialog .visitor-comment-description{margin-bottom:10px}#dialog.visitor-comment-dialog #visitor-comment-input{height:110px;min-height:85px;max-height:28dvh}.visitor-comment-dialog .dialog-action-row{margin-top:12px}.visitor-comment-dialog .dialog-action-row button{min-height:40px;padding:8px}}

/* Keep the complete note editor inside the visual viewport, including with the keyboard open. */
@media(max-width:700px){
 #overlay.comment-overlay{top:var(--comment-viewport-top,0px);bottom:auto;height:var(--comment-viewport-height,100dvh);min-height:0;padding:10px 12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
 #overlay.comment-overlay #dialog.visitor-comment-dialog{position:relative;inset:auto;display:flex;flex-direction:column;width:420px;max-width:100%;height:min(480px,100%);min-height:0;max-height:100%;margin:0;padding:17px 17px 14px;border-radius:21px;overflow:hidden}
 #dialog.visitor-comment-dialog #dialog-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
 #dialog.visitor-comment-dialog .dialog-back{flex-shrink:0;min-height:28px;margin:0 32px 8px 0;align-self:flex-start;font-size:12px}
 #dialog.visitor-comment-dialog .visitor-comment-heading{flex-shrink:0;font-size:19px!important;line-height:1.4;margin:0 0 5px}
 #dialog.visitor-comment-dialog .visitor-comment-description{flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 13px;line-height:1.5;font-size:12px}
 #dialog.visitor-comment-dialog #visitor-comment-form{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
 #dialog.visitor-comment-dialog #visitor-comment-form label{flex-shrink:0;margin:0 0 7px;line-height:1.5}
 #dialog.visitor-comment-dialog #visitor-comment-input{flex:1 1 auto;min-height:54px;height:auto;max-height:none;padding:11px 12px;border-radius:12px;overflow:auto;font-size:16px;line-height:1.65;resize:none}
 #dialog.visitor-comment-dialog .visitor-comment-count{flex-shrink:0;margin:5px 1px 0;line-height:1.4}
 #dialog.visitor-comment-dialog .dialog-action-row{position:static;flex-shrink:0;display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin:13px 0 0;padding:0;background:var(--surface)}
 #dialog.visitor-comment-dialog .dialog-action-row button{min-height:42px;padding:9px 10px;border-radius:12px;line-height:1.5}
}

.history-heading h1{margin-bottom:3px;font-size:26px}.history-heading p{font-size:13px;color:var(--muted);margin-bottom:22px}.history-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:18px}.history-tabs{display:flex;background:#e9eaec;border-radius:13px;padding:4px;gap:2px;flex-shrink:0}.history-tabs button{border:0;background:transparent;color:#7b8491;white-space:nowrap;padding:8px 16px;font-size:14px;border-radius:10px}.history-tabs button.active{background:var(--surface);color:var(--blue);box-shadow:0 2px 6px #00000012}#history-filters,#archive-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.history-range{display:flex;align-items:center;gap:8px;border:1px solid #dce2ec;background:var(--surface);border-radius:13px;padding:0 10px;min-height:44px;position:relative}.history-range>span{color:var(--muted);font-size:18px}.history-range>input:not([type=hidden]){min-width:0;width:280px;border:0;background:transparent;padding:10px 0;font-size:13px;box-shadow:none;cursor:pointer;text-align:center}.range-clear{border:0;background:transparent;color:var(--muted);padding:2px 3px;font-size:18px}.history-search{display:flex;align-items:center;gap:9px;flex:1;min-width:180px}.history-search input{min-width:0;flex:1;width:230px;font-size:13px;height:44px;border-color:#dce2ec}.history-search button{height:44px;flex-shrink:0;font-size:14px;padding:8px 18px}.history-item{gap:15px;padding:20px;border-color:var(--line);border-radius:18px;margin:11px 0}.history-item>img{width:48px;height:48px;align-self:flex-start;margin-top:3px}.history-name{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:6px}.history-name strong{font-size:15px}.history-item .summary>time{display:none}.history-item .summary p{font-size:12px;line-height:1.8}.history-item .summary .history-preview{margin-top:4px}.history-item-end{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0}.history-item-end time{font-size:12px;color:var(--muted)}.history-item-end button{background:#edf4ff;color:var(--blue);border:0;padding:6px 14px;font-size:13px}.history-status-removed{background:#f0f1f5;color:#8b94a1}.history-status-blocked{background:#fff0f0;color:#cb7b80}.history-pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin:23px 0;color:var(--muted);font-size:12px}.history-pagination button{font-size:12px}.history-pagination button:disabled{opacity:.45;cursor:default}.history-empty{min-height:200px}
#dialog.history-message-dialog{width:1100px;height:min(830px,88dvh);padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:24px}#dialog.history-message-dialog #dialog-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.history-message-heading{padding:22px 26px 15px;flex-shrink:0;border-bottom:1px solid var(--line)}.history-message-heading h2{font-size:21px;margin:0 0 3px;padding-right:30px}.history-message-heading p{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}#archive-filters{padding:14px 20px;border-bottom:1px solid var(--line);flex-shrink:0}#archive-filters .history-range{flex:1;min-width:280px}#archive-filters .history-range>input:not([type=hidden]){width:100%}#archive-scroll{flex:1;min-height:0;overflow:auto;background:var(--bg);overscroll-behavior:contain;padding:20px 25px}#archive-older{display:block;margin:0 auto 20px;font-size:12px;color:var(--blue);background:var(--surface)}.archive-empty{padding:50px 15px;text-align:center;color:var(--muted);font-size:13px}#archive-scroll .message .body{max-width:78%}#archive-scroll .bubble img:not(.emoji){max-width:220px;max-height:280px;object-fit:contain}#archive-scroll .bubble video{max-width:100%;max-height:280px}.flatpickr-calendar{z-index:150!important;border-radius:15px;box-shadow:0 8px 35px #26324422;font-family:inherit;border:1px solid var(--line)}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected:hover{background:var(--blue);border-color:var(--blue)}.flatpickr-day.inRange{background:#eef4ff;border-color:#eef4ff;box-shadow:-5px 0 0 #eef4ff,5px 0 0 #eef4ff}.flatpickr-months{padding:10px 0}.flatpickr-current-month{font-size:14px}.flatpickr-weekdays{margin:6px 0}.flatpickr-day{font-size:13px}.theme-dark .history-tabs{background:var(--soft)}
@media(max-width:700px){.history-heading h1{font-size:24px}.history-heading p{font-size:12px;margin-bottom:18px}.history-controls{display:block;margin-bottom:15px}.history-tabs{width:100%;padding:4px;margin-bottom:14px}.history-tabs button{flex:1;font-size:13px;padding:8px 4px}#history-filters{display:flex;flex-direction:column;align-items:stretch;gap:10px}.history-range{width:100%;min-width:0;min-height:45px;border-radius:13px}.history-range>input:not([type=hidden]){width:100%;font-size:14px!important;padding:11px 0}.history-search{width:100%;gap:8px;min-width:0}.history-search input{width:100%;font-size:16px;height:44px}.history-search button{font-size:13px;padding:8px 15px}.history-item{padding:15px 12px;gap:11px;border-radius:18px;margin:10px 0}.history-item>img{width:42px;height:42px}.history-name{gap:7px;margin-bottom:5px}.history-name strong{font-size:14px}.history-name .tag{font-size:10px;padding:2px 8px}.history-item .summary>time{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.history-item .summary p{font-size:11px;line-height:1.9}.history-item-end{align-self:center}.history-item-end time{display:none}.history-item-end button{font-size:12px;padding:6px 10px}.history-pagination{gap:10px;font-size:11px}.history-pagination button{padding:7px 10px}#dialog.history-message-dialog{position:relative;inset:auto;width:100%;height:calc(100dvh - 30px);max-height:calc(100dvh - 30px);border-radius:21px;padding:0}.history-message-heading{padding:19px 18px 13px}.history-message-heading h2{font-size:19px}.history-message-heading p{font-size:11px}#archive-filters{padding:12px;gap:10px;flex-direction:column;align-items:stretch}#archive-filters .history-range{min-width:0;flex:auto}#archive-scroll{padding:20px 13px}#archive-scroll .message{margin-bottom:24px}#archive-scroll .message .avatar{width:30px;height:30px}#archive-scroll .message .body{max-width:78%}#archive-scroll .message .caption{font-size:10px}#archive-scroll .bubble img:not(.emoji){max-width:170px;max-height:230px}.flatpickr-calendar{max-width:calc(100vw - 24px)}#archive-older{font-size:12px;margin-bottom:20px}}

.wallet-records-link{border:0;background:transparent;color:var(--muted);font-size:12px;padding:6px}.wallet-dialog-heading h2{font-size:22px;margin-bottom:6px}.wallet-dialog-heading p{font-size:13px;color:var(--muted);margin-bottom:22px}#dialog.wallet-dialog{width:520px;padding:28px;max-height:90dvh}.wallet-field-title{display:block;font-size:13px;font-weight:500;margin:18px 0 10px!important}.wallet-field-title small{font-weight:400;font-size:11px;margin-left:4px}.deposit-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}.deposit-presets button{padding:11px 7px;font-size:17px;font-weight:600;overflow-wrap:anywhere}.deposit-presets small{display:block;font-size:10px;font-weight:400}.deposit-presets button.active{border-color:var(--blue);background:var(--soft);color:var(--blue)}.wallet-amount-input{position:relative}.wallet-amount-input input{width:100%;height:46px;padding-right:65px;font-size:17px;background:var(--soft)}.wallet-amount-input>span{position:absolute;right:13px;top:12px;font-size:12px;color:var(--muted)}.wallet-network-options{display:flex;gap:9px;flex-wrap:wrap}.wallet-network-options label{margin:0!important;flex:1;min-width:80px;position:relative;cursor:pointer}.wallet-network-options input{position:absolute;opacity:0;width:1px;height:1px}.wallet-network-options span{display:block;padding:10px 12px;border:1px solid var(--line);border-radius:11px;text-align:center;font-size:13px}.wallet-network-options input:checked+span{background:var(--soft);border-color:var(--blue);color:var(--blue)}.wallet-network-options input:focus-visible+span{outline:2px solid var(--blue);outline-offset:2px}.deposit-payment{margin-top:20px;border-top:1px solid var(--line);padding-top:20px;text-align:center}.deposit-payment>.muted{font-size:13px;padding:16px 0}.deposit-qr{display:inline-flex;flex-direction:column;gap:9px;border:1px solid var(--line);background:white;padding:13px 15px;border-radius:16px}.deposit-qr canvas{display:block;max-width:100%;height:auto}.deposit-qr>span{font-size:11px;color:#8390a3}.deposit-payment>.wallet-field-title{text-align:left}.deposit-address{display:flex;align-items:center;gap:10px;padding:11px 12px;background:var(--soft);border-radius:12px;text-align:left}.deposit-address code{flex:1;min-width:0;overflow-wrap:anywhere;font:12px/1.8 monospace;color:var(--text)}.deposit-address button{flex-shrink:0;border:0;background:var(--surface);padding:5px 9px;color:var(--blue);font-size:12px}.deposit-exact{margin:22px 0 11px}.deposit-exact>span{font-size:12px;color:var(--muted)}.deposit-exact strong{display:block;color:var(--blue);font-size:29px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.deposit-exact small{font-size:12px;font-weight:400;color:var(--muted)}.deposit-notice{font-size:12px;color:#b78652;line-height:1.8;text-align:left;padding:12px;background:#fff8ef;border-radius:11px;margin-bottom:12px}.deposit-order-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:var(--muted);text-align:left}.deposit-order-footer button{font-size:11px;border:0;background:transparent;color:var(--blue);padding:5px 0}.wallet-update{width:100%;margin-top:15px;font-size:12px;background:var(--soft);border:0;color:var(--muted)}.wallet-error{font-size:13px;color:#cb6875;margin:12px 0 0}.wallet-balance-panel{border:1px solid var(--line);background:var(--soft);padding:17px 19px;border-radius:15px;margin-bottom:20px}.wallet-balance-panel>span{font-size:12px;color:var(--muted)}.wallet-balance-panel strong{display:block;font-size:27px;color:var(--blue);margin-top:3px}.wallet-balance-panel small{font-size:12px;color:var(--muted);font-weight:400}.wallet-field-hint{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 0}.wallet-address-input{width:100%;font-size:14px}.wallet-confirm{display:block;width:100%;margin-top:25px;min-height:45px}.wallet-confirm:disabled{opacity:.5;cursor:wait}.renew-packages{display:flex;flex-direction:column;gap:10px}.renew-packages>label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:15px 13px;border-radius:13px;margin:0!important;cursor:pointer}.renew-packages>label:has(input:checked){border-color:var(--blue);background:var(--soft)}.renew-packages input{accent-color:var(--blue);width:16px;height:16px;flex-shrink:0}.renew-packages span{flex:1;min-width:0;overflow-wrap:anywhere}.renew-packages strong{font-size:14px;display:block;font-weight:500}.renew-packages span small{display:block;font-size:11px;margin-top:3px}.renew-packages b{font-size:17px;color:var(--blue);font-weight:600}.renew-packages b small{display:block;text-align:right;font-size:10px;font-weight:400}.theme-dark .deposit-notice{background:var(--soft);color:#c7a16e}@media(max-width:700px){#dialog.wallet-dialog{padding:23px 18px;width:480px;max-height:calc(100dvh - 28px);border-radius:22px}.wallet-dialog-heading h2{font-size:20px}.wallet-dialog-heading p{font-size:12px;margin-bottom:19px}.wallet-field-title{font-size:13px}.deposit-presets{gap:8px}.deposit-presets button{font-size:16px;padding:10px 5px}.wallet-network-options{gap:8px}.wallet-network-options label{min-width:70px}.wallet-network-options span{font-size:12px;padding:10px 8px}.wallet-amount-input input{font-size:16px;height:46px}.deposit-address{padding:10px;gap:7px}.deposit-address code{font-size:11px}.deposit-exact strong{font-size:27px}.deposit-notice{font-size:11px}.deposit-order-footer{flex-wrap:wrap}.wallet-address-input{font-size:16px;min-height:46px}.wallet-confirm{margin-top:22px;min-height:46px;border-radius:13px}.renew-packages>label{padding:14px 11px;gap:10px}.renew-packages strong{font-size:14px}.renew-packages b{font-size:16px}.wallet-balance-panel{padding:15px 17px}}

#dialog.wallet-dialog{width:580px;padding:24px;max-height:calc(100dvh - 32px)}.wallet-dialog-heading h2{font-size:21px;margin-bottom:3px}.wallet-dialog-heading p{font-size:12px;margin-bottom:17px}#dialog.wallet-dialog .wallet-field-title{margin:13px 0 7px!important;font-size:12px}.deposit-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}.deposit-presets button{padding:8px 4px;font-size:16px;border-radius:11px}.deposit-presets small{display:inline;font-size:9px;margin-left:2px}.wallet-amount-input input{height:42px;font-size:16px;border-radius:11px}.wallet-amount-input>span{top:10px}.wallet-network-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.wallet-network-options button{min-width:0;min-height:39px;padding:8px 5px;font-size:12px;border-radius:10px;overflow-wrap:anywhere}.wallet-network-options button.active{background:var(--soft);border-color:var(--blue);color:var(--blue);box-shadow:inset 0 0 0 1px #4c8eff12}.deposit-payment{padding-top:16px;margin-top:16px}.deposit-payment-layout{display:grid;grid-template-columns:164px minmax(0,1fr);gap:18px;align-items:center;text-align:left}.deposit-qr{padding:10px;gap:5px;border-radius:13px;align-items:center}.deposit-qr canvas{width:140px;height:140px}.deposit-qr>span{font-size:10px;line-height:1.4}.deposit-payment-info{min-width:0}#dialog.wallet-dialog .deposit-payment-info .wallet-field-title{margin:0 0 7px!important}.deposit-address{padding:9px 10px;gap:7px;border-radius:10px}.deposit-address code{font-size:11px;line-height:1.7}.deposit-address button{font-size:11px;padding:4px 7px}.deposit-exact{margin:14px 0 0}.deposit-exact>span{font-size:11px}.deposit-exact strong{font-size:27px;line-height:1.5;letter-spacing:-.4px}.deposit-exact small{font-size:11px;letter-spacing:0}.deposit-notice{font-size:11px;line-height:1.7;margin:13px 0 6px;padding:9px 11px}.deposit-order-footer{font-size:10px;gap:6px}.wallet-update{padding:7px 12px;margin-top:10px;font-size:11px}.wallet-balance-panel{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 15px;margin-bottom:15px;border-radius:13px}.wallet-balance-panel strong{font-size:24px;margin:0;line-height:1.5}.wallet-balance-panel small{font-size:11px}.wallet-field-hint{font-size:11px;margin-top:6px;line-height:1.7}.wallet-address-input{min-height:43px;padding:10px 12px;font-size:14px}.wallet-confirm{margin-top:18px;min-height:43px;border-radius:12px}.renew-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.renew-packages>label{padding:12px 10px;gap:8px;min-width:0;flex-wrap:wrap}#dialog.wallet-dialog .renew-packages input[type=radio]{width:16px;min-width:16px;max-width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:0 0 16px}.renew-packages strong{font-size:13px}.renew-packages b{font-size:16px;margin-left:24px}.renew-packages b small{display:inline;margin-left:3px}.renew-packages span small{font-size:10px}.renew-dialog .wallet-field-hint{padding:9px 11px;background:var(--soft);border-radius:10px;margin-top:13px}.wallet-error{font-size:12px}
@media(max-width:700px){#dialog.wallet-dialog{width:100%;padding:20px 16px 16px;border-radius:21px;max-height:calc(100dvh - 24px)}.wallet-dialog-heading h2{font-size:19px}.wallet-dialog-heading p{font-size:11px;margin:0 22px 14px 0;line-height:1.7}#dialog.wallet-dialog .wallet-field-title{margin:11px 0 7px!important;font-size:12px}.deposit-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:8px}.deposit-presets button{font-size:15px;padding:7px 4px}.deposit-presets small{font-size:9px}.wallet-network-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.wallet-network-options button{font-size:11px;padding:8px 3px;min-height:37px;border-radius:9px}.wallet-amount-input input{height:42px;font-size:16px}.deposit-payment{padding-top:13px;margin-top:13px}.deposit-payment-layout{grid-template-columns:124px minmax(0,1fr);gap:12px}.deposit-qr{padding:8px 5px;gap:5px;border-radius:11px}.deposit-qr canvas{width:110px;height:110px}.deposit-qr>span{font-size:9px}.deposit-address{padding:7px 8px;gap:4px;flex-wrap:wrap}.deposit-address code{font-size:10px;flex:1 1 100%;line-height:1.6}.deposit-address button{padding:3px 7px;font-size:10px;margin-left:auto}.deposit-exact{margin-top:10px}.deposit-exact>span{font-size:10px}.deposit-exact strong{font-size:23px;line-height:1.4}.deposit-exact small{font-size:10px}.deposit-notice{font-size:10px;line-height:1.7;padding:8px 9px;margin:11px 0 5px}.deposit-order-footer{font-size:9px;gap:5px}.deposit-order-footer button{font-size:10px;padding:4px 0}.wallet-update{font-size:11px;margin-top:7px;padding:6px 10px}.wallet-balance-panel{padding:11px 13px;margin-bottom:13px}.wallet-balance-panel>span{font-size:11px}.wallet-balance-panel strong{font-size:23px}.wallet-field-hint{font-size:10px;line-height:1.7}.wallet-address-input{font-size:16px;min-height:43px}.wallet-confirm{min-height:43px;margin-top:16px;font-size:14px}.renew-packages{grid-template-columns:1fr;gap:8px}.renew-packages>label{padding:11px 12px;gap:10px;flex-wrap:nowrap}.renew-packages b{margin-left:0;font-size:17px}.renew-packages b small{display:block;margin-left:0;font-size:9px}.renew-packages strong{font-size:14px}.renew-packages span small{font-size:10px;margin-top:1px}.wallet-error{font-size:11px}.renew-dialog .wallet-field-hint{padding:8px 10px;margin-top:11px}}
@media(max-width:360px){.deposit-payment-layout{grid-template-columns:101px minmax(0,1fr);gap:9px}.deposit-qr canvas{width:90px;height:90px}.deposit-qr{padding:6px 4px}.deposit-exact strong{font-size:21px}.wallet-network-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

#dialog.wallet-dialog.records-dialog{width:760px;max-height:calc(100dvh - 40px);padding:26px;overflow:auto}.records-dialog .wallet-dialog-heading p{margin-bottom:19px}.record-balance{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px 20px;background:var(--soft);border:1px solid var(--line);border-radius:15px;margin-bottom:21px}.record-balance>div{min-width:0}.record-balance>div+div{padding-left:20px;border-left:1px solid var(--line)}.record-balance span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.record-balance strong{display:block;font-size:23px;font-weight:600;color:var(--blue);overflow-wrap:anywhere;line-height:1.5;font-variant-numeric:tabular-nums}.record-balance>div+div strong{color:var(--text)}.record-balance small{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}.record-tabs{display:flex;gap:4px;padding:4px;background:var(--soft);border-radius:12px;margin-bottom:15px}.record-tabs button{flex:1;border:0;background:transparent;border-radius:9px;padding:8px 10px;color:var(--muted);font-size:13px}.record-tabs button.active{background:var(--surface);color:var(--blue);box-shadow:0 2px 7px #2632440b}.record-column-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);padding:0 14px 8px}.record-list{border:1px solid var(--line);border-radius:14px;overflow:hidden}.record-item{padding:15px 16px;background:var(--surface)}.record-item+.record-item{border-top:1px solid var(--line)}.record-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.record-item-identity{display:flex;gap:8px;align-items:center;min-width:0;flex-wrap:wrap}.record-item-identity strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.record-status{font-size:10px;border-radius:8px;padding:2px 7px;white-space:nowrap;background:var(--soft);color:var(--muted)}.record-status.success{background:#edf7ef;color:#639d75}.record-status.pending{background:#fff6e8;color:#bd9254}.record-status.rejected{background:#fff0f1;color:#bf747e}.record-amount{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0;line-height:1.5}.record-amount small{font-size:9px;font-weight:400;color:var(--muted);margin-left:5px}.record-amount.in{color:#5f9e76}.record-amount.out{color:#bb7982}.record-item>time{font-size:11px;color:var(--muted);display:block;margin-top:4px}.record-item-details{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--muted);line-height:1.7;margin-top:7px}.record-address{overflow-wrap:anywhere;word-break:break-all;font-size:10px}.record-limit-note{font-size:10px;color:var(--muted);text-align:center;margin:15px 0 0}.records-empty{text-align:center;padding:40px 15px 48px;color:var(--muted)}.records-empty>div{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 13px;border-radius:15px;background:var(--soft);color:#a8bfdf;font-size:29px}.records-empty strong{font-size:14px;font-weight:500}.records-empty p{font-size:12px;margin:5px 0 0}.theme-dark .record-status.success{background:#263e33;color:#8dbd9a}.theme-dark .record-status.pending{background:#40392b;color:#c4aa7c}.theme-dark .record-status.rejected{background:#412f39;color:#c69199}
@media(max-width:700px){#dialog.wallet-dialog.records-dialog{padding:22px 15px 16px;max-height:calc(100dvh - 24px);width:100%;border-radius:22px}.records-dialog .wallet-dialog-heading h2{font-size:20px}.records-dialog .wallet-dialog-heading p{font-size:11px;margin-bottom:16px}.record-balance{padding:13px 12px;gap:10px;border-radius:13px;margin-bottom:16px}.record-balance>div+div{padding-left:12px}.record-balance strong{font-size:20px}.record-balance small{display:block;margin-left:0;font-size:9px}.record-balance span{font-size:10px}.record-tabs{margin-bottom:13px;gap:3px}.record-tabs button{font-size:13px;padding:9px 5px}.record-column-heading{font-size:10px;padding:0 9px 7px}.record-item{padding:13px 11px}.record-item-top{gap:8px}.record-item-identity{gap:5px;align-items:flex-start;flex-direction:column}.record-item-identity strong{font-size:13px}.record-status{font-size:9px;padding:1px 6px}.record-amount{font-size:16px;max-width:58%;overflow-wrap:anywhere;flex-shrink:1}.record-amount small{display:block;margin:0;font-size:9px}.record-item>time{font-size:10px;margin-top:6px}.record-item-details{font-size:10px;gap:4px;margin-top:7px}.record-address{font-size:10px;line-height:1.8}.record-limit-note{font-size:9px;margin-top:12px;line-height:1.7}.records-empty{padding:35px 10px 40px}}

/* Account settings share the same card, spacing and form treatment. */
.settings-content:has(.account-page-heading){padding:25px;background:var(--soft)}.account-page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.account-page-heading h2{font-size:23px;margin-bottom:3px}.account-page-heading p{font-size:12px;color:var(--muted);margin:0}.account-service-tag{padding:4px 10px;border-radius:20px;background:#eaf6ee;color:#6b9c7b;font-size:11px;white-space:nowrap}.account-service-tag.expired{background:#fff0f1;color:#c5747d}.account-overview{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:18px}.account-identity{display:flex;align-items:center;gap:15px;min-width:0}.account-identity>img{width:70px;height:70px;border-radius:19px;object-fit:cover;flex-shrink:0;background:var(--soft)}.account-identity>div{min-width:0}.account-identity strong{display:block;font-size:18px;font-weight:600;overflow-wrap:anywhere}.account-identity>div>span{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:1px}.settings-content .account-avatar-upload{display:inline-block;margin:5px 0 0;font-size:11px;color:var(--blue);cursor:pointer}.account-avatar-upload:hover{text-decoration:underline}.account-expiry{border-left:1px solid var(--line);padding-left:24px;text-align:right;flex-shrink:0}.account-expiry>span{font-size:11px;color:var(--muted);display:block;margin-bottom:4px}.account-expiry strong{font-size:13px;font-weight:500}.account-section-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px;align-items:stretch}.settings-content .account-section-grid>.card{margin:0;padding:22px;min-width:0;box-shadow:none;border-radius:19px}.account-section-heading{margin-bottom:18px}.account-section-heading h3{font-size:16px;margin:0 0 4px;font-weight:600}.account-section-heading p{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.settings-content #profile-form>label,.settings-content .account-greeting-card>label{font-size:12px;color:var(--muted);margin:0 0 8px}.settings-content #profile-form>input{height:43px;font-size:14px;background:var(--soft);border-radius:11px}.account-profile-actions{display:flex;gap:9px;margin-top:15px}.account-profile-actions button{font-size:12px;padding:8px 13px;border-radius:11px}.account-security-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:13px;margin-top:19px}.account-security-row>span{font-size:11px;color:var(--muted)}.account-security-row button{font-size:11px;color:#c27b83;background:transparent;border:0;padding:5px 0}.account-wallet-card .account-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:17px}.account-wallet-card .account-section-heading h3{margin:0}.account-wallet-card .wallet-records-link{font-size:11px;padding:3px 0;color:var(--blue)}.account-balance-amount{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.account-balance-amount strong{font-size:32px;line-height:1.5;font-weight:650;color:var(--blue);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.account-balance-amount>span{font-size:11px;color:var(--muted)}.account-frozen{font-size:11px;color:var(--muted);margin:5px 0 19px}.account-frozen span{margin-left:7px}.account-wallet-actions{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px}.account-wallet-actions button{min-width:0;white-space:nowrap;font-size:12px;padding:9px 5px;border-radius:11px}.account-wallet-hint{font-size:10px;color:var(--muted);margin:12px 0 0;line-height:1.8}.settings-content .account-greeting-card{padding:22px;margin:0;border-radius:19px;box-shadow:none}.account-greeting-card .account-section-heading{margin-bottom:17px}.settings-content .account-greeting-card textarea{display:block;width:100%;min-height:125px;height:125px;font-size:14px;background:var(--soft);padding:12px 14px;line-height:1.8;resize:vertical;border-radius:12px}.account-greeting-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.account-greeting-footer>span{font-size:11px;color:var(--muted)}.account-greeting-footer button{font-size:12px;padding:9px 15px;flex-shrink:0}.theme-dark .account-service-tag{background:#293e32;color:#96bb9d}.theme-dark .account-service-tag.expired{background:#422e39;color:#c38c97}
@media(min-width:701px) and (max-width:1150px){.account-section-grid{grid-template-columns:1fr}.account-overview{align-items:flex-start;flex-direction:column;gap:15px}.account-expiry{border:0;padding:12px 0 0;text-align:left;border-top:1px solid var(--line);width:100%}.account-expiry>span{display:inline;margin-right:12px}}
@media(max-width:700px){.settings-content:has(.account-page-heading){padding:19px 0 0;background:transparent}.account-page-heading{gap:9px;margin:0 2px 17px}.account-page-heading h2{font-size:21px}.account-page-heading p{font-size:11px}.account-service-tag{font-size:10px;padding:4px 8px}.account-overview{padding:17px 15px;gap:15px;border-radius:17px;margin-bottom:14px;flex-direction:column;align-items:stretch}.account-identity{gap:13px}.account-identity>img{width:60px;height:60px;border-radius:17px}.account-identity strong{font-size:17px}.account-identity>div>span{font-size:11px}.settings-content .account-avatar-upload{font-size:11px;margin-top:4px;min-height:24px;line-height:24px}.account-expiry{display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;border-top:1px solid var(--line);padding:12px 0 0;text-align:left}.account-expiry>span{margin:0;font-size:11px}.account-expiry strong{font-size:12px}.account-section-grid{grid-template-columns:1fr;gap:14px;margin-bottom:14px}.settings-content .account-section-grid>.card,.settings-content .account-greeting-card{padding:18px 15px;border-radius:17px}.account-section-heading{margin-bottom:15px}.account-section-heading h3{font-size:16px}.account-section-heading p{font-size:11px}.settings-content #profile-form>input{font-size:16px;height:45px}.account-profile-actions{gap:9px;margin-top:13px}.account-profile-actions button{flex:1;min-height:41px;font-size:13px;padding:8px 10px}.account-security-row{padding-top:11px;margin-top:16px}.account-security-row button{font-size:12px;min-height:30px}.account-balance-amount strong{font-size:31px}.account-frozen{font-size:11px;margin:3px 0 16px}.account-wallet-actions{gap:8px;grid-template-columns:1fr 1fr 1.3fr}.account-wallet-actions button{min-height:42px;font-size:13px;padding:9px 4px}.account-wallet-card .account-section-heading{margin-bottom:10px}.account-wallet-card .wallet-records-link{font-size:11px;min-height:28px}.account-wallet-hint{font-size:10px;margin-top:11px}.settings-content .account-greeting-card textarea{font-size:16px;min-height:120px;height:120px;padding:11px 12px}.account-greeting-footer{gap:10px;flex-wrap:wrap;margin-top:11px}.account-greeting-footer>span{font-size:10px}.account-greeting-footer button{min-height:40px;font-size:12px}.account-greeting-card .account-section-heading{margin-bottom:15px}}

#dialog.password-dialog{width:440px;padding:28px;border-radius:23px;max-height:90dvh;overflow:auto}.password-heading h2{font-size:22px;margin:0 30px 5px 0}.password-heading p{font-size:12px;color:var(--muted);margin:0 0 23px}.password-field{margin-bottom:15px}#dialog.password-dialog .password-field>label{display:block;margin:0 0 7px;font-size:12px;font-weight:500}.password-input-wrap{position:relative}.password-input-wrap input{display:block;width:100%;height:45px;padding:10px 45px 10px 12px;font-size:14px;background:var(--soft);border-radius:11px}.password-input-wrap input::placeholder{font-size:12px;color:var(--muted)}.password-input-wrap input[aria-invalid=true]{border-color:#cb7b85}.password-toggle{position:absolute;right:4px;top:4px;width:37px;height:37px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);padding:0;border-radius:9px}.password-toggle[aria-pressed=true]{color:var(--blue)}.password-toggle[aria-pressed=false] .password-eye-slash{display:none}.password-hint{font-size:11px;color:var(--muted);line-height:1.8;margin:1px 0 0}.password-error{font-size:12px;color:#c7727f;line-height:1.7;margin:11px 0 0}.password-actions{display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin-top:23px}.password-actions button{min-height:43px;border-radius:12px;font-size:13px}.password-actions button:disabled{opacity:.6;cursor:wait}#password-cancel{background:var(--soft);color:var(--muted);border-color:transparent}
@media(max-width:700px){#overlay.password-overlay{top:var(--comment-viewport-top,0px);bottom:auto;height:var(--comment-viewport-height,100dvh);min-height:0;padding:10px 13px;display:flex;align-items:center;justify-content:center;overflow:hidden}#overlay.password-overlay #dialog.password-dialog{position:relative;inset:auto;width:420px;max-width:100%;max-height:100%;min-height:0;margin:0;padding:22px 18px 0;border-radius:22px;display:flex;flex-direction:column;overflow:hidden}#dialog.password-dialog #dialog-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}.password-heading{flex-shrink:0}.password-heading h2{font-size:20px}.password-heading p{font-size:11px;line-height:1.7;margin-bottom:18px}#password-form{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 2px;scroll-padding:10px}.password-field{margin-bottom:13px}#dialog.password-dialog .password-field>label{font-size:12px;margin-bottom:6px}.password-input-wrap input{height:46px;font-size:16px;padding-right:44px}.password-toggle{height:38px;width:38px}.password-input-wrap input::placeholder{font-size:13px}.password-hint{font-size:10px;line-height:1.8}.password-error{font-size:12px;margin-top:9px}.password-actions{position:sticky;bottom:0;margin-top:17px;padding:12px 0 17px;background:var(--surface);z-index:1}.password-actions button{min-height:44px;font-size:14px}.password-dialog .close{top:13px;right:12px;width:32px;height:32px;display:grid;place-items:center;padding:0}}

.theme-radio-options{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:15px}.settings-content .theme-radio-options label{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-size:14px}.settings-content .theme-radio-options input[type=radio]{width:17px;min-width:17px;height:17px;padding:0;margin:0;accent-color:var(--blue);box-shadow:none}.theme-radio-options input:checked+span{color:var(--blue)}@media(max-width:700px){.theme-radio-options{gap:12px 22px}.settings-content .theme-radio-options label{font-size:14px;min-height:32px}}

.account-overview{align-items:center;gap:18px}.account-identity{flex:1;min-width:0}.settings-content .account-avatar-control{position:relative;display:block;flex:0 0 76px;width:76px;height:76px;margin:0;border-radius:19px;overflow:hidden;cursor:pointer;background:var(--soft)}.account-avatar-control img{display:block;width:100%;height:100%;object-fit:cover}.account-avatar-control>span{position:absolute;left:0;right:0;bottom:0;padding:3px 0;background:#182b467d;color:white;text-align:center;font-size:10px;line-height:1.7;backdrop-filter:blur(2px)}.account-avatar-control:has(input:disabled){cursor:wait;opacity:.7}.account-main-identity{flex:1;min-width:0}#account-name-display{display:flex;align-items:center;gap:10px;min-width:0}#account-name-display strong{font-size:18px;line-height:1.6;overflow-wrap:anywhere;min-width:0}#account-name-display button{flex-shrink:0;padding:3px 0;border:0;background:transparent;color:var(--blue);font-size:11px}.account-login-name{display:block;font-size:12px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.account-inline-expiry{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:8px}.account-inline-expiry>span{font-size:10px;color:var(--muted)}.account-inline-expiry strong{font-size:11px;font-weight:400;color:var(--muted)}.account-main-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex-shrink:0}.account-main-actions button{padding:7px 12px;font-size:12px;white-space:nowrap;border-radius:10px}.account-main-actions #settings-logout{color:#bd7b84;background:transparent;border-color:transparent;font-size:11px}#account-name-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.settings-content #account-name-form input{width:180px;max-width:100%;height:36px;padding:6px 9px;font-size:14px;border-radius:9px}#account-name-form button{font-size:11px;padding:6px 9px;border-radius:9px;min-height:34px}#account-name-cancel{background:transparent;border:0;color:var(--muted)}#account-name-confirm:disabled{opacity:.6;cursor:wait}.account-section-grid{grid-template-columns:1fr}.account-wallet-card .account-wallet-actions{max-width:420px}.account-wallet-card .account-wallet-hint{margin-bottom:0}
@media(max-width:700px){.account-overview{flex-direction:row;align-items:flex-start;padding:17px 13px;gap:10px}.account-identity{align-items:flex-start;gap:11px}.settings-content .account-avatar-control{flex-basis:62px;width:62px;height:62px;border-radius:16px}.account-avatar-control>span{font-size:9px;padding:2px 0}#account-name-display{gap:7px;align-items:baseline;flex-wrap:wrap}#account-name-display strong{font-size:16px}#account-name-display button{font-size:11px;min-height:26px}.account-login-name{font-size:10px;margin-top:1px}.account-inline-expiry{gap:2px 5px;margin-top:7px;align-items:flex-start}.account-inline-expiry>span{font-size:9px}.account-inline-expiry strong{font-size:10px;line-height:1.7}.account-main-actions{gap:4px}.account-main-actions button{font-size:11px;padding:6px 8px;min-height:32px}.account-main-actions #settings-logout{font-size:10px;padding:5px}.settings-content #account-name-form input{width:100%;min-width:0;height:36px;font-size:16px}#account-name-form{gap:5px}#account-name-form button{padding:5px 9px;font-size:11px;min-height:32px}.account-wallet-card .account-wallet-actions{max-width:none}}
@media(max-width:360px){.account-overview{flex-wrap:wrap}.account-main-actions{flex-direction:row;width:100%;justify-content:flex-end;padding-top:9px;border-top:1px solid var(--line)}.account-main-actions button{min-height:30px}.account-identity{flex-basis:100%}}

/* Main identity card: avatar, editable name and one password action. */
.account-overview{padding:24px;gap:22px;align-items:center}.account-identity{align-items:center;gap:17px}.settings-content .account-avatar-control{width:78px;height:78px;flex-basis:78px;border-radius:20px}.account-main-identity{min-width:0}#account-name-display{gap:12px}#account-name-display strong{font-size:20px;line-height:1.5}#account-name-display button{padding:3px 8px;border-radius:7px;font-size:11px;background:var(--soft)}.account-login-name{font-size:12px;margin-top:3px}.account-inline-expiry{margin-top:10px;gap:7px}.account-inline-expiry>span{font-size:11px}.account-inline-expiry strong{font-size:11px}.account-main-actions{display:flex;flex-direction:row;align-self:center;gap:0;padding:0;border:0;width:auto;flex-shrink:0}.account-main-actions #change-password{min-height:38px;padding:8px 14px;background:var(--soft);border:1px solid var(--line);font-size:12px;color:var(--text);border-radius:11px}
@media(max-width:700px){.account-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:18px 15px;gap:13px;align-items:center}.account-identity{gap:12px;align-items:center;min-width:0}.settings-content .account-avatar-control{width:62px;height:62px;flex-basis:62px;border-radius:17px}#account-name-display{gap:6px;align-items:center;flex-wrap:wrap}#account-name-display strong{font-size:17px;line-height:1.5}#account-name-display button{min-height:25px;padding:2px 6px;font-size:10px}.account-login-name{font-size:10px;margin-top:3px}.account-inline-expiry{margin-top:8px;gap:2px 5px;align-items:baseline}.account-inline-expiry>span{font-size:10px}.account-inline-expiry strong{font-size:10px;font-weight:400;line-height:1.8}.account-main-actions{width:auto;align-self:center;padding:0;border:0}.account-main-actions #change-password{min-height:35px;padding:7px 9px;font-size:11px;border-radius:10px}#account-name-form{min-width:0}.settings-content #account-name-form input{width:100%;max-width:100%}}
@media(max-width:390px){.account-overview{grid-template-columns:1fr;gap:12px;padding:17px 14px}.account-identity{flex-basis:auto}.account-main-actions{justify-self:end;align-self:auto;margin:0;padding:0;border:0}.account-main-actions #change-password{min-height:32px;padding:6px 11px}.account-main-identity{flex:1}.account-inline-expiry{gap:4px 7px}}

.deposit-paid{padding:26px 14px;text-align:center;border:1px solid #dceee0;background:var(--soft);border-radius:15px}.deposit-paid>strong{font-size:20px;color:#69a67a}.deposit-paid>div{font-size:27px;color:var(--blue);margin:10px 0}.deposit-paid small{font-size:12px}.deposit-paid p,.deposit-paid>span{font-size:12px;color:var(--muted)}

#dialog.login-note-dialog{width:550px;padding:28px;border-radius:23px;max-height:90dvh}.login-note-heading{font-size:22px;margin:0 25px 12px 0}.login-note-description{font-size:14px;color:var(--muted);line-height:1.9;margin-bottom:19px}.login-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--soft);margin-bottom:21px}.login-note-grid>div{padding:14px 16px;border-bottom:1px solid var(--line);min-width:0;min-height:76px}.login-note-grid>div:nth-child(odd){border-right:1px solid var(--line)}.login-note-grid>div:nth-last-child(-n+2){border-bottom:0}.login-note-grid span{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.login-note-grid strong{display:block;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.login-note-grid-empty{background:#eaf0fa}#login-note{width:100%;height:48px;border-radius:13px;background:var(--soft);font-size:15px;padding:11px 13px}.login-note-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:23px}.login-note-actions button{min-width:106px;min-height:44px;font-size:14px;border-radius:12px}.login-note-actions button:disabled{opacity:.6;cursor:wait}#login-note-error{font-size:12px;margin:8px 0 0}.theme-dark .login-note-grid-empty{background:var(--bg)}@media(max-width:700px){#dialog.login-note-dialog{padding:24px 18px 20px;border-radius:22px;width:100%;max-height:calc(100dvh - 28px)}.login-note-heading{font-size:20px;margin-bottom:12px}.login-note-description{font-size:13px;line-height:1.85;margin-bottom:17px}.login-note-grid{border-radius:15px;margin-bottom:19px}.login-note-grid>div{padding:12px 13px;min-height:75px}.login-note-grid span{font-size:11px}.login-note-grid strong{font-size:13px}#login-note{height:48px;font-size:16px;padding:10px 12px}.login-note-actions{gap:10px;margin-top:21px}.login-note-actions button{min-width:90px;min-height:44px;font-size:13px}}

@media(max-width:700px){#overlay.login-note-overlay{top:var(--comment-viewport-top,0px);bottom:auto;height:var(--comment-viewport-height,100dvh);padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}#overlay.login-note-overlay #dialog.login-note-dialog{max-height:100%;overflow:auto;margin:0}.login-note-dialog .login-note-actions{padding-bottom:env(safe-area-inset-bottom)}}
