/* EHSAN EPT — approved visual system. Functional UI: no flattened screenshot behind controls. */
/* Use installed font if available; no external font/CDN required. */
:root{font-family:'Noto Sans Arabic UI','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif;--brand-ink:#061328;--brand-panel:#0b2246;--brand-line:#2866b0;--brand-ice:#a7dfff;--brand-electric:#176dff;--brand-cyan:#18bfff;--brand-fg:#f4f9ff;--brand-muted:#adc4e4}
:root[data-theme=dark]{--page:#06132a;--panel:#091b39;--soft:#102748;--input:#11284a;--border:#2860a0;--text:#f2f8ff;--muted:#afc6e8;--accent:#3c91ff;--accent2:#18b9ff;--bubble:#112a4e;--mine:#0b60d6;--chatbg:#071b35}
body{font-family:'Noto Sans Arabic UI','Noto Sans Arabic','Segoe UI',Tahoma,Arial,sans-serif;letter-spacing:0;font-size:14px}button,input,textarea,select{font-family:inherit}button{transition:background .18s ease,border-color .18s ease,transform .18s ease}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #58d7ff;outline-offset:2px}button:active:not(:disabled){transform:scale(.984)}
/* Welcome: background is dramatic ONLY on the entry screens. The brand is part of the scene, never a nested box. */
.auth-v4.auth-shell{display:block;position:relative;isolation:isolate;min-height:100dvh;padding:32px 18px 54px;background:#04142e;overflow-x:hidden;color:white}
.auth-v4 .auth-background{position:fixed;inset:0;z-index:-2;background:linear-gradient(to bottom,rgba(2,10,28,.23),rgba(3,11,29,.18) 30%,rgba(2,11,28,.23) 57%,rgba(1,10,25,.63)),url('/assets/auth-scenery.webp') center 49% /cover no-repeat}
.auth-v4:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 17%,rgba(9,71,194,.27),transparent 43%),linear-gradient(90deg,rgba(1,9,24,.23),transparent 18%,transparent 80%,rgba(1,9,24,.22))}
.auth-layout{position:relative;display:flex;flex-direction:column;align-items:center;min-height:calc(100dvh - 80px);justify-content:center;gap:25px;max-width:1280px;margin:0 auto}
.auth-v4 .auth-hero{display:flex;align-items:center;flex-direction:column;text-align:center;gap:5px;max-width:none;width:100%;padding:0;margin:0;background:none;border:0;box-shadow:none;border-radius:0;justify-self:auto}
.auth-hero-logo-wrap{width:91px;height:91px;border-radius:22px;filter:drop-shadow(0 0 18px rgba(0,149,255,.72));margin:0 0 8px}.auth-v4 .auth-hero-logo{display:block;width:100%;height:100%;object-fit:contain}
.auth-title-en{font-size:clamp(28px,3.5vw,43px);font-weight:900;line-height:1.28;letter-spacing:2px;direction:ltr;color:#f6faff;text-shadow:0 4px 24px #001b51}.auth-title-en span{color:#20c6f9}
.auth-v4 .auth-hero h1{font-size:clamp(15px,1.65vw,19px);line-height:1.8;margin:0;color:#f0f8ff;font-weight:600;text-shadow:0 2px 14px #000a}
.auth-v4 .ept-email-panel{width:min(495px,100%);max-height:none;overflow:visible;display:block;position:relative;margin:0 auto;padding:28px clamp(18px,4vw,35px) 22px;border-radius:29px;background:linear-gradient(155deg,rgba(19,52,103,.91),rgba(5,22,50,.93));border:1px solid rgba(116,182,255,.76);box-shadow:0 20px 85px rgba(0,4,23,.7),0 0 27px rgba(10,99,232,.29),inset 0 1px 1px rgba(220,249,255,.21);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.auth-v4 .auth-mobile-brand{display:none!important}.auth-v4 .ept-email-panel h2{font-size:24px;color:#fff;text-align:center;font-weight:800;margin:0 0 2px}.auth-v4 .auth-subline{color:#b2cce8;font-size:12px;text-align:center;margin:0 0 20px}.auth-v4 .tabs{display:flex;background:rgba(0,14,41,.57);border:1px solid rgba(109,166,245,.18);padding:4px;border-radius:14px;margin:0 0 17px;gap:5px}.auth-v4 .tabs button{flex:1;min-height:39px;border-radius:10px;font-size:13px;color:#b6cdeb;background:transparent;font-weight:600}.auth-v4 .tabs button.selected{background:linear-gradient(110deg,#1470fa,#1bb8e6);color:white;box-shadow:0 4px 15px #006ce764}
.auth-v4 .ept-email-panel label{display:block;font-size:12px;font-weight:600;color:#cadcf5;margin:12px 0 0}.auth-v4 .ept-email-panel input,.auth-v4 .ept-email-panel select{height:47px;background:rgba(16,46,92,.7);color:#fff;border:1px solid rgba(123,180,252,.43);padding:10px 13px;margin-top:7px;border-radius:13px;box-shadow:inset 0 1px 5px rgba(0,12,45,.22);font-size:13px}.auth-v4 .ept-email-panel input::placeholder{color:#95aacc}.auth-v4 .ept-email-panel input:focus,.auth-v4 .ept-email-panel select:focus{border-color:#66cbff;box-shadow:0 0 0 3px #2e9efe27}.auth-v4 .ept-email-panel .auth-phone-line{background:rgba(16,46,92,.75);border-radius:13px;border:1px solid rgba(123,180,252,.43);margin-top:7px}.auth-v4 .ept-email-panel .auth-phone-line input{border:0;margin:0;background:transparent;box-shadow:none}.auth-v4 .ept-email-panel .primary.full{margin-top:20px;background:linear-gradient(105deg,#1571f7 0%,#1167ef 58%,#16b8ed 100%);color:white;font-size:15px;font-weight:800;border-radius:13px;min-height:49px;box-shadow:0 8px 22px #005aff65,0 0 1px #89faff;border:1px solid #49bfffa8}.auth-v4 .ept-email-panel .primary.full span{margin-inline-start:7px}.auth-v4 .ept-email-panel .primary.full:hover{filter:brightness(1.12)}
.auth-v4 .auth-footer-note{border-top:1px solid #80baf62a;padding-top:16px;font-size:10px;color:#bdd3ed;text-align:center;line-height:1.8;margin:17px 0 0}.auth-v4 .otp-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.auth-v4 .otp-actions .secondary{background:rgba(17,50,100,.55);color:#e6f4ff;border:1px solid #4079c4;border-radius:12px;font-size:12px;min-height:42px}.auth-v4 .auth-verify-graphic{width:62px;height:62px;margin:0 auto 12px;display:grid;place-items:center;background:linear-gradient(135deg,#0d6cf8,#00bdf8);font-size:29px;color:#fff;border:1px solid #72d9ff;border-radius:50%;box-shadow:0 0 25px #159cff6f}.auth-v4 .auth-verify-sub{font-size:11px;color:#bbd1e9;text-align:center;line-height:1.8;overflow-wrap:anywhere}.auth-v4 .auth-verify-sub strong{color:#fff}.auth-v4 #emailCode{font-family:ui-monospace,monospace;text-align:center;letter-spacing:12px;font-size:23px;font-weight:800;height:57px}.auth-v4 .error{font-size:12px;line-height:1.8;color:#ffbbb9;min-height:0;margin:9px 0 0}.auth-v4 .error:empty{display:none}.auth-v4 .auth-two{gap:12px}.auth-v4 .login-panel form{width:100%}.auth-v4 .legacy-option{margin-top:9px}
/* Desktop messenger: calm workspace, bright focused accents, no distracting scenery. */
.app{height:100dvh;max-width:1800px;grid-template-columns:minmax(330px,390px) minmax(0,1fr);gap:13px;padding:13px;background:radial-gradient(ellipse at 80% 110%,#0a3372 0%,transparent 55%),#06142a;direction:rtl}
.sidebar,.conversation{border:1px solid rgba(49,118,210,.5);background:linear-gradient(145deg,#0c2449,#071a36 72%);border-radius:20px;box-shadow:0 10px 55px #010c25aa,inset 0 1px #a8dcff10;color:#edf7ff;min-width:0}
.sidebar{display:flex;flex-direction:column}.brand{min-height:74px;display:flex;align-items:center;gap:11px;padding:14px 18px 10px;border-bottom:1px solid #5b98ee24}.brand img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 0 7px #237af65e)}.brand strong{font-size:20px;font-weight:900;font-family:'Segoe UI',sans-serif;letter-spacing:.9px;direction:ltr;display:block}.brand small{font-size:10px;color:#b7cfea;margin-top:1px;display:block;letter-spacing:0}
.self{display:flex;align-items:center;gap:9px;margin:13px 13px 12px;padding:12px;background:linear-gradient(145deg,#173b76,#092448);border:1px solid #4294ef94;border-radius:17px;box-shadow:0 0 14px #0b75f12c}.selfpic{border-radius:50%;padding:0;background:none}.selfpic .avatar{width:50px;height:50px;border:2px solid #36adff;box-shadow:0 0 12px #128cfa65}.selfinfo{flex:1;min-width:0;text-align:right}.selfinfo strong{font-size:15px;font-weight:800}.selfinfo small{font-family:'Segoe UI',sans-serif;letter-spacing:.5px;color:#95d6ff;font-size:12px;direction:ltr;text-align:right}.self .id-copy{width:32px;height:32px;flex:none;border:1px solid #459fea70;border-radius:10px;color:#b5deff;background:#143a6a;font-size:23px;display:grid;place-items:center}.self .logout-action{width:31px;height:31px;color:#a5c3ed}
.tools{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;margin:0 13px 11px;padding:9px;border:1px solid #27528475;border-radius:13px;background:#071c3a}.tools label{font-size:10px;color:#9cbce1}.tools select{width:100%;min-width:0;background:#122b51;border:1px solid #38659d7d;color:#d8edff;border-radius:8px;padding:5px 2px;font-size:10px}.tools #enableNotifications{grid-column:1/-1;justify-self:start;margin-top:2px;background:#183661;color:#c6eaff;border:1px solid #406b9c;border-radius:8px;font-size:10px;padding:4px 9px}
.search{padding:2px 13px 10px;display:flex;gap:4px}.search input{min-width:0;background:#092141;color:#eef7ff;border:1px solid #396ea7a9;border-radius:13px;padding:11px 13px;font-size:12px}.search input::placeholder{color:#97bbdb}.search .search-action{border-radius:12px;background:#183a64;border:1px solid #4075a9;color:#bce9ff}
.ai-feature{margin:0 13px 10px;padding:12px;border:1px solid #3e98ffcc;background:linear-gradient(110deg,#103772,#0a2854);border-radius:17px;box-shadow:0 0 14px #0b77ed3e;position:relative}.ai-feature .ai-head{align-items:center;gap:12px}.ai-feature .ai-orb{border-radius:15px;background:linear-gradient(160deg,#104b96,#06204e);overflow:hidden;height:55px;width:55px;flex:none;border:1px solid #2e97ff}.ai-feature .ai-orb img{width:100%;height:100%;object-fit:cover;display:block}.ai-feature .ai-copy strong{font-size:16px;letter-spacing:.3px}.ai-feature .ai-copy small{font-size:10px;color:#a3c8f3}.ai-feature .coming-tag{background:#15325e;border:1px solid #47719d;color:#bad1e9;font-size:9px;white-space:nowrap}.ai-feature .ai-actions{gap:6px;margin-top:11px}.ai-feature .ai-actions button{padding:6px 4px;background:#133b76;border-color:#3765aa;color:#a9c6ee;opacity:.72;font-size:9px}
.conversation-filters{margin:0 13px 9px;padding:0;gap:6px;display:flex;overflow-x:auto}.conversation-filters .filter-chip{background:#0c2b55;border:1px solid #345e91;color:#bcd2f3;border-radius:11px;padding:8px 10px;font-size:11px;min-width:0;white-space:nowrap}.conversation-filters .filter-chip.selected{border-color:#59caff;background:linear-gradient(125deg,#0e58ca,#148be9);box-shadow:0 0 14px #0068d765;color:white}
.listhead{padding:5px 16px 9px}.listhead b{font-size:13px;font-weight:700;color:#dfeaff}.listhead button{background:#133967;border:1px solid #4179bf;color:#d8f2ff;width:31px;height:31px;border-radius:10px;font-size:18px}.listhead #newChat{background:#1768df;border-color:#58b6ff;color:white;box-shadow:0 0 13px #177fe963}
.chatlist{overflow-y:auto;padding:0 9px 12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#24578c transparent;flex:1;min-height:0}.chatrow{display:flex;align-items:center;min-height:67px;margin:0 3px 3px;padding:10px 11px;border:1px solid transparent;border-bottom:1px solid #35619b38;border-radius:12px;color:#eef6ff;background:transparent;text-align:right;gap:11px}.chatrow:hover{background:#153565b0;border-color:#2f66aa63}.chatrow.active{background:linear-gradient(90deg,#0e458c,#10316a);border-color:#429cffb3;box-shadow:0 0 14px #0d68db4d}.avatar.avatar-sm{width:44px;height:44px;flex:none;border:1.5px solid #3379d2;background:linear-gradient(155deg,#0f6ed9,#092755);color:#eaf7ff;font-size:18px}.chatrow-info{min-width:0;flex:1}.chatrow-info strong{font-size:12.5px;font-weight:700;line-height:1.6}.chatrow-info small{font-size:10.5px;line-height:1.5;color:#a7bfdf}.chat-meta .unread-pill{min-width:22px;min-height:22px;background:#1184f2;box-shadow:0 0 10px #21a9ff66;color:#fff;border-radius:50%;font-size:10px}.online-dot{background:#26dc78!important}
.sidebarfoot{border-top:1px solid #3f77bb33;background:#071c3c;padding:10px 8px max(9px,env(safe-area-inset-bottom))}.sidebar-tabs{display:flex;justify-content:space-evenly;gap:7px}.sidebar-tabs .nav-tab{color:#b6d1f2;border-radius:12px;padding:6px 8px}.sidebar-tabs .nav-tab.active{background:#124db2;color:#fff;box-shadow:0 0 11px #006be65c}.sidebar-tabs .nav-tab span{font-size:21px}.sidebar-tabs .nav-tab small{font-size:10px}.beta-foot{display:none}
.conversation{background:#081d3a}.chatheader{min-height:74px;padding:12px 17px;gap:11px;background:#0a2244;border-bottom:1px solid #4787e64a}.chatheader .avatar{width:48px;height:48px;border:2px solid #377acb;border-radius:50%;background:linear-gradient(140deg,#1758a5,#0b294e)}.chatperson strong{display:block;font-size:15px;font-weight:750}.chatperson small{font-size:11px;color:#99c5ed}.chatheader .icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:#c6e8ff;background:#0c2a56;border:1px solid #3e75b6}.chatheader .icon-button:hover:not(:disabled){background:#1d4e91}.chatheader #callAudio:disabled,.chatheader #callVideo:disabled{opacity:.34}.peer-ept-id{font-size:10px;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#83cfff}
.welcome{background:radial-gradient(circle at center,#102f5a,#07172e 77%)}.welcome img{width:98px;height:98px;object-fit:contain;filter:drop-shadow(0 0 23px #1d8dff4e)}.welcome h2{font-size:23px;color:#eefaff;font-weight:800}.welcome p{font-size:13px;color:#a9c6ea}
/* Chat workspace readability outranks scenery. Even themed wallpapers are deliberately muted. */
.chatview,.chatview[data-wallpaper]{background:radial-gradient(circle at 70% 0%,#12325a,#07182f 75%)!important}.chatview:before,.chatview:after{display:none!important}.chatwarn{font-size:9px;color:#90aed2;background:#071b36b0;padding:5px 13px;min-height:auto}.messages{padding:24px clamp(12px,3.3vw,40px);gap:14px;scrollbar-width:thin;scrollbar-color:#3767a2 transparent}.msg{max-width:min(75%,650px)}.msg .bubble{background:#102849f2;border:1px solid #3869a55c;color:#f0f7ff;border-radius:17px 17px 5px 17px;font-size:13px;line-height:1.95;padding:12px 16px;box-shadow:0 5px 19px #0003;backdrop-filter:none}.msg.mine .bubble{background:linear-gradient(120deg,#125ac6,#1268da);border-color:#4dacff99;border-radius:17px 17px 17px 5px;box-shadow:0 5px 20px #0858c146}.msg-more{background:#194178;color:#d9efff}.stamp{font-size:10px;color:#d1dbefb0}.composer{background:#091d3b;border-top:1px solid #4c87dc4a;padding:12px 15px;gap:10px}.composer textarea{background:#102a50;color:#eff8ff;border:1px solid #4275b1;border-radius:14px;padding:12px 15px;font-size:13px;line-height:1.75;resize:none}.composer textarea::placeholder{color:#91b0d5}.composer .icon-button{height:43px;width:43px;background:#12345f;border:1px solid #3e76b1;color:#c2e7ff;border-radius:13px}.composer #attach{background:#1c6de4;border-color:#5dbaff;box-shadow:0 0 14px #098bf069}.composer .send{height:43px;background:linear-gradient(110deg,#176dea,#00a9e9);border:1px solid #5dbbfa;color:white;border-radius:13px;font-weight:700;font-size:12px}.attach-menu{background:#0c244af8;border:1px solid #4489d3;box-shadow:0 16px 50px #0008}.attach-menu .attach-icon{background:#164fa4!important;border:1px solid #4b9af2;color:#e4f5ff}
/* App profile: ID is real server data, not a mock placeholder. */
.profile-identity{background:linear-gradient(130deg,#0b376e,#0d2550);border:1px solid #478fe7;border-radius:15px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:12px;margin:12px 0 17px;color:#f1f7ff}.profile-identity>span{display:block;width:100%;font-size:11px;color:#a8d6fa}.profile-identity strong{flex:1;font-family:'Segoe UI',sans-serif;font-size:17px;letter-spacing:1px}.profile-identity .small-action{background:#1a59b8;color:white;border:1px solid #4ca8ef;border-radius:9px;padding:8px 12px;font-size:11px}
.dialog{background:linear-gradient(145deg,#102e59,#091f40);border:1px solid #3f87d8;color:white;box-shadow:0 25px 100px #000b}.dialog input,.dialog textarea,.dialog select{border:1px solid #386ea8;background:#0c2549;color:#f0f9ff}.dialog input::placeholder,.dialog textarea::placeholder{color:#88a9d2}.dialog .primary{background:#166fee;color:white}.dialog .secondary{background:#173764;color:#e4efff;border:1px solid #4276ac}.overlay{background:#000e25c9}.dialog h2{color:#f6fbff}.dialog p{color:#aec7e8}
/* Mobile navigation: native-like density, no clipped tabs or top controls. */
@media(max-width:920px){.auth-v4.auth-shell{padding:20px 14px 38px}.auth-layout{justify-content:flex-start;gap:20px;min-height:calc(100dvh - 58px)}.auth-v4 .auth-hero{display:flex!important;margin:15px auto 0}.auth-hero-logo-wrap{width:79px;height:79px;margin-bottom:3px}.auth-title-en{font-size:30px}.auth-v4 .auth-hero h1{font-size:14px}.auth-v4 .ept-email-panel{padding:23px 20px 19px;width:min(460px,100%)}.auth-v4 .ept-email-panel h2{font-size:20px}.auth-v4 .auth-subline{margin-bottom:15px}.auth-v4 .auth-two{grid-template-columns:1fr 1fr;gap:8px}.auth-v4 .ept-email-panel input,.auth-v4 .ept-email-panel select{height:44px}.auth-v4 .ept-email-panel .primary.full{min-height:46px}}
@media(max-width:800px){.app{display:block;padding:0;height:100dvh}.sidebar,.conversation{border:0;border-radius:0;width:100%;height:100dvh;box-shadow:none}.sidebar{background:linear-gradient(180deg,#0a2247,#061731)}.brand{padding:15px 16px 11px;min-height:76px}.brand img{width:43px;height:43px}.brand strong{font-size:20px}.brand small{font-size:10px}.self{margin:10px 12px;padding:9px 12px}.selfpic .avatar{width:43px;height:43px}.tools{margin:0 12px 10px;padding:8px}.ai-feature{margin:0 12px 10px;padding:10px 12px}.ai-feature .ai-orb{width:47px;height:47px}.search{padding:0 12px 10px}.conversation-filters{margin:0 12px 8px}.chatlist{padding:0 9px 8px}.chatrow{min-height:65px;padding:9px 11px}.chatheader{padding:8px 10px;gap:7px;min-height:68px}.chatheader .icon-button{width:35px!important;height:36px!important;flex:none}.chatheader .avatar{width:38px!important;height:38px!important}.chatperson strong{font-size:12px}.chatperson small{font-size:9px}.peer-ept-id{display:none}.messages{padding:15px 11px}.msg{max-width:90%}.msg .bubble{font-size:12.5px;padding:10px 12px}.composer{padding:8px 7px max(8px,env(safe-area-inset-bottom));gap:5px}.composer .icon-button{width:38px;height:41px}.composer .send{height:41px}.composer textarea{min-width:0;font-size:12px;padding:9px}.attach-menu{bottom:67px}.sidebarfoot{padding:8px 7px max(8px,env(safe-area-inset-bottom))}}
@media(max-width:390px){.brand strong{font-size:17px}.selfinfo strong{font-size:13px}.tools{grid-template-columns:auto 1fr auto 1fr}.tools label{font-size:9px}.ai-feature .ai-copy small{font-size:9px}.ai-feature .ai-copy strong{font-size:14px}.ai-feature .ai-actions button{font-size:8px}.chatheader .icon-button{width:32px!important;height:34px!important}.composer .send{font-size:10px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Integrated AI workspace; all real responses come from the configured server backend. */
.ai-feature{cursor:pointer}.ai-feature:focus-visible{outline:2px solid #6bd6ff;outline-offset:2px}.ai-dialog{width:min(620px,100%);height:min(780px,92dvh);display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:linear-gradient(140deg,#102e5c,#07162f);border:1px solid #3985e3;box-shadow:0 28px 100px #000b;color:#eaf7ff}.ai-dialog header{display:flex;gap:13px;align-items:center;padding:17px;border-bottom:1px solid #3e79c35c}.ai-dialog header strong{font-size:20px;font-family:'Segoe UI',sans-serif;font-weight:800}.ai-dialog header small{display:block;color:#abccea;font-size:12px}.ai-modal-robot{width:57px;height:57px;border-radius:17px;overflow:hidden;border:1px solid #57a9ff}.ai-modal-robot img{display:block;width:100%;height:100%;object-fit:cover}.ai-dialog #aiClose{margin-inline-start:auto;border:1px solid #3e77a9;border-radius:12px;background:#123663;color:white;width:39px;height:39px;font-size:23px}.ai-chat-log{flex:1;overflow:auto;min-height:0;padding:19px;display:flex;flex-direction:column;gap:12px}.ai-system-intro{color:#91c1e9;text-align:center;font-size:12px}.ai-line{max-width:90%;padding:12px 15px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:2}.ai-line.mine{align-self:flex-start;background:#125ccc;border:1px solid #58a5fb;border-bottom-right-radius:5px}.ai-line.assistant{align-self:flex-end;background:#163159;border:1px solid #3f78bb;border-bottom-left-radius:5px}.ai-actions-row{display:flex;gap:8px;overflow-x:auto;padding:8px 14px}.ai-actions-row button{border:1px solid #387ab7;border-radius:18px;background:#122e5b;color:#d4edff;padding:7px 12px;white-space:nowrap;font-size:11px}.ai-dialog #aiAskForm{display:flex;gap:9px;align-items:center;padding:11px 14px;border-top:1px solid #2f6da85c}.ai-dialog #aiAskText{flex:1;border:1px solid #3e71a6;border-radius:13px;background:#0e2347;resize:none;padding:10px 12px;color:white;min-width:0;font-size:13px}.ai-dialog #aiAskForm button{border:1px solid #72bdff;border-radius:13px;background:#1b72ea;color:#fff;width:43px;height:43px;display:grid;place-items:center}.ai-unavailable{padding:10px 17px;background:#233b5e;color:#bdd5ed;border-top:1px solid #4c78a1;font-size:11px;line-height:1.85}
.profile-metadata{border:1px solid #346da4;background:#0d2549;border-radius:14px;overflow:hidden;margin:0 0 14px}.profile-metadata:empty{display:none}.profile-metadata div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:9px 12px;border-bottom:1px solid #4675b039;font-size:11px}.profile-metadata div:last-child{border-bottom:0}.profile-metadata span{color:#9fc2e7}.profile-metadata strong{direction:auto;overflow-wrap:anywhere;color:#fff;font-weight:600}

/* Final usability corrections after viewport review. */
.brand-settings{margin-inline-start:auto;width:37px;height:37px;flex:0 0 37px;border:1px solid #3779d0;border-radius:12px;background:linear-gradient(145deg,#102f64,#09214b);color:#d3efff;font-size:21px;display:grid;place-items:center;cursor:pointer}
.brand-settings:hover,.brand-settings[aria-expanded=true]{box-shadow:0 0 15px #168eff6a;border-color:#5bc2ff}
.tools.hidden,.chatwarn.hidden{display:none!important}
.chatrow-info{min-width:0}.chatrow-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatrow-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:800px){.brand-settings{width:34px;height:34px;flex-basis:34px}.brand{gap:10px}}
