.account-profile{width:min(100%,720px);padding:16px clamp(14px,3vw,32px) max(24px,env(safe-area-inset-bottom));color:var(--ink);margin-inline:auto;line-height:1.5}.account-profile h2{margin:8px 0;font-size:1.3rem}.account-profile h3{margin:0;font-size:1rem}.account-profile p{margin:8px 0 16px}.profile-muted,.profile-sessions p{color:var(--muted);font-size:.875rem}.profile-identity{text-align:center;flex-direction:column;align-items:center;gap:4px;margin:0 0 24px;display:flex}.profile-photo-action{justify-content:center;align-items:center;gap:6px;min-height:44px;display:inline-flex;color:var(--ink)!important;background:0 0!important;border:0!important;font-size:.875rem!important}.profile-file{clip-path:inset(50%);overflow:hidden;width:1px!important;height:1px!important;padding:0!important;position:absolute!important}.account-profile fieldset{border:0;min-width:0;margin:0;padding:0}.account-profile label{margin-bottom:16px;font-size:.94rem;font-weight:650;display:block}.account-profile input{border:1px solid var(--line,#9aabbd);background:var(--ui-surface);width:100%;min-width:0;min-height:46px;color:var(--ink);border-radius:9px;margin-top:6px;padding:10px 12px;font-size:16px}.account-profile input[aria-invalid=true]{border:2px solid var(--ui-danger)}.profile-fields{grid-template-columns:1fr 1fr;column-gap:16px;display:grid}.profile-fields label:last-child{grid-column:1/-1}.profile-save{flex-direction:column;gap:8px;margin:8px 0 24px;display:flex}.profile-save>span{color:var(--muted);font-size:.82rem}.account-profile .primary-button{border-radius:9px;width:100%;min-height:46px;margin-bottom:6px}.profile-links{border-block:1px solid var(--line,#d6dee7);margin:20px 0}.profile-links button{width:100%;min-height:58px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:12px;padding:12px 4px;display:flex}.profile-links button+button{border-top:1px solid var(--line,#d6dee7)}.profile-links button>span{flex:1}.profile-links svg{flex-shrink:0;width:20px;height:20px}.profile-projects{margin-top:24px}.profile-projects>div{border-top:1px solid var(--line,#d6dee7);flex-direction:column;padding:12px 0;display:flex}.profile-projects>div>span{color:var(--muted);font-size:.875rem}.profile-feedback{border:1px solid var(--line,#aebdcc);background:var(--ui-surface);overflow-wrap:anywhere;border-radius:8px;margin:0 0 16px;padding:12px}.profile-feedback.error{border-color:var(--ui-danger)}.profile-feedback button{min-height:44px;margin-top:8px;display:block}.profile-section-heading{align-items:center;gap:12px;margin:8px 0 16px;display:flex}.profile-section-heading svg{width:28px;height:28px}.profile-section-heading p{overflow-wrap:anywhere;margin:0}.profile-verification{border:1px solid var(--line,#d6dee7);border-radius:12px;margin:24px 0;padding:16px}.profile-sessions article{border-bottom:1px solid var(--line,#d6dee7);gap:14px;padding:20px 0;display:flex}.profile-sessions article>svg{flex-shrink:0;width:28px;height:28px;margin-top:4px}.profile-sessions article>div{flex:1;min-width:0}.profile-sessions p{overflow-wrap:anywhere;margin:6px 0}.profile-current{background:var(--ui-selected);color:var(--ui-text);border-radius:20px;padding:3px 10px;font-size:.8rem;font-weight:700;display:inline-block}.profile-disconnect{min-height:44px;color:var(--ui-danger);border:1px solid var(--line,#bac7d3);background:0 0;border-radius:8px;margin-top:8px;padding:8px 12px}.profile-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.profile-dialog-actions button{min-height:44px;padding:8px 14px}.account-profile button:focus-visible,.account-profile input:focus-visible{outline:3px solid var(--ui-link);outline-offset:3px}@media (width<=420px){.profile-fields{grid-template-columns:1fr}.account-profile{padding-inline:14px}.profile-identity{margin-bottom:18px}}@media (orientation:landscape) and (height<=500px){.profile-identity{margin-bottom:12px}.account-profile{padding-top:8px}}.labeled-switch{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}.labeled-switch-copy{overflow-wrap:anywhere;flex:1;min-width:0}.labeled-switch-control{flex:0 0 48px;place-items:center;width:48px;height:44px;display:grid;position:relative}.labeled-switch-control input[type=checkbox]{opacity:0;cursor:pointer;width:48px;min-width:0;height:44px;min-height:0;margin:0;padding:0;position:absolute;inset:0}.labeled-switch-track{box-sizing:border-box;pointer-events:none;background:#64748b;border:1px solid #64748b;border-radius:999px;flex:none;width:48px;height:28px;display:block;position:relative}.labeled-switch-track:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.labeled-switch-control input:checked+.labeled-switch-track{background:#235f95;border-color:#235f95}.labeled-switch-control input:checked+.labeled-switch-track:before{transform:translate(20px)}.labeled-switch-control input:focus-visible+.labeled-switch-track{outline:3px solid var(--ui-link,#235f95);outline-offset:4px}.labeled-switch-control input:disabled{cursor:default}.labeled-switch-control input:disabled+.labeled-switch-track{opacity:.55}html[data-theme=dark] .labeled-switch-track{background:#58697e;border-color:#a3b5cc}html[data-theme=dark] .labeled-switch-control input:checked+.labeled-switch-track{background:#3678b5;border-color:#a7cff5}@media (forced-colors:active){.labeled-switch-track{forced-color-adjust:none;background:canvas;border-color:buttontext}.labeled-switch-track:before{box-shadow:none;background:buttontext}.labeled-switch-control input:checked+.labeled-switch-track{background:highlight;border-color:highlight}.labeled-switch-control input:checked+.labeled-switch-track:before{background:highlighttext}}.admin-settings{width:min(100%,760px);color:var(--ink,#142e4c);margin-inline:auto;padding:12px 16px 30px}.admin-settings [hidden]{display:none!important}.settings-group-title{text-transform:uppercase;letter-spacing:.075em;color:var(--muted,#50647b);margin:24px 6px 10px;font-size:.8rem;font-weight:750}.settings-group,.settings-card,.settings-project-context,.settings-branding{border:1px solid var(--line,#d5dee7);background:var(--card,#fff);border-radius:20px;overflow:hidden}.settings-row{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:0;align-items:center;gap:14px;min-height:76px;padding:18px 16px;display:flex}.settings-row+.settings-row{border-top:1px solid var(--line,#d5dee7)}.settings-row>span:nth-child(2){flex:1;min-width:0}.settings-row>svg{width:18px;height:18px;color:var(--muted,#50647b);flex-shrink:0}.settings-row strong,.settings-notification-row strong{font-size:1rem;display:block}.settings-row small,.settings-notification-row small{color:var(--muted,#50647b);margin-top:3px;font-size:.85rem;line-height:1.45;display:block}.settings-icon{background:var(--soft,#eaf2fa);width:42px;height:42px;color:var(--accent,#245984);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.settings-icon svg{width:21px;height:21px}.settings-project-context{align-items:center;gap:14px;margin-bottom:10px;padding:16px;display:flex}.settings-intro{color:var(--muted,#50647b);margin:12px 2px 20px;line-height:1.55}.settings-intro strong{color:var(--ink,#142e4c)}.settings-card{min-width:0;margin:0 0 18px;padding:20px}.settings-card legend{padding:0 7px;font-size:1rem;font-weight:750}.settings-card legend svg{vertical-align:middle;width:18px;height:18px;margin-right:8px;display:inline-block}.settings-card h2{margin:0 0 12px;font-size:1.05rem}.settings-card>p{line-height:1.6}.settings-theme-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.settings-theme-choices label{border:2px solid var(--line,#d5dee7);cursor:pointer;border-radius:16px;place-items:center;gap:12px;min-height:130px;padding:18px 6px;display:grid;position:relative}.settings-theme-choices label.is-selected{border-color:var(--accent,#245984);background:var(--soft,#eaf2fa)}.settings-theme-choices input{opacity:0;width:18px;height:18px;position:absolute;top:8px;right:8px}.settings-theme-choices label:focus-within{outline:3px solid var(--accent,#245984);outline-offset:3px}.settings-theme-choices label>svg:not(.settings-choice-check){width:30px;height:30px}.settings-choice-check{width:18px;height:18px;position:absolute;top:8px;right:8px}.settings-note{color:var(--muted,#50647b);overflow-wrap:anywhere;margin:12px 0 0;font-size:.84rem;line-height:1.5}.settings-language-row,.settings-notification-row{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding:14px 4px;display:flex}.settings-language-row+.settings-language-row{border-top:1px solid var(--line,#d5dee7)}.settings-language-row input{width:22px;height:22px;accent-color:var(--accent,#245984);flex-shrink:0}.settings-notification-row{min-height:80px;padding:18px 20px}.settings-notification-row+.settings-notification-row{border-top:1px solid var(--line,#d5dee7)}.settings-notification-limit{color:var(--ink,#142e4c);margin:0 2px 18px;font-size:.9rem;line-height:1.5}.settings-notification-help{color:var(--muted,#50647b);font-size:.875rem;line-height:1.5}.settings-notification-help summary{cursor:pointer;min-height:44px;color:var(--ink,#142e4c);padding-block:10px}.settings-notification-help summary:focus-visible{outline:3px solid var(--accent,#245984);outline-offset:3px;border-radius:6px}.settings-notification-help p{margin:6px 0 0}.settings-group+.settings-card{margin-top:18px}.settings-primary,.settings-text-button{min-height:44px;font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:11px 16px;font-weight:650;line-height:1.4;text-decoration:none;display:inline-flex}.settings-primary{color:#fff;background:#235c89;border:1px solid #235c89}.settings-text-button{border:1px solid var(--line,#d5dee7);background:var(--card,#fff);color:inherit}.settings-primary:disabled,.settings-text-button:disabled{opacity:.55;cursor:default}.settings-support-link{width:100%;margin-top:24px}.settings-help-copy>p:first-child{margin-top:0}.settings-help-copy>.settings-text-button{width:100%;margin-top:20px;display:flex}.settings-card label[for]{margin-bottom:8px;font-weight:650;display:block}.settings-card input:not([type=radio]):not([type=checkbox]):not([type=file]),.settings-card textarea{border:1px solid var(--line,#cbd6e2);width:100%;min-height:46px;color:inherit;background:var(--paper,#f7faff);font:inherit;box-sizing:border-box;border-radius:12px;padding:12px}.settings-card textarea{resize:vertical}.settings-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.settings-error{color:var(--danger,#ac2532);font-size:.9rem}.settings-branding{padding:16px}.settings-branding .admin-section{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.settings-branding .project-form-share{min-width:0}.settings-branding .project-form-share a{overflow-wrap:anywhere}.settings-branding .project-form-qr{flex-shrink:0;width:140px;height:140px}.settings-branding fieldset{min-width:0}.settings-file{margin:20px 0}.settings-file-button{border:1px solid var(--line,#cbd6e2);cursor:pointer;border-radius:12px;align-items:center;gap:9px;min-height:44px;padding:10px 14px;display:inline-flex;position:relative;overflow:hidden}.settings-file-button>svg{width:20px;height:20px}.settings-file-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.settings-file-button:focus-within{outline:3px solid var(--accent,#245984);outline-offset:3px}.settings-file-selected{overflow-wrap:anywhere;align-items:center;gap:8px;margin-top:10px;display:flex}.settings-file-selected span{flex:1;min-width:0}.settings-file-selected button{border:1px solid var(--line,#d5dee7);width:44px;height:44px;color:inherit;background:0 0;border-radius:12px;flex-shrink:0;place-items:center;display:grid}.settings-file-selected svg{width:18px;height:18px}.admin-settings button:focus-visible,.admin-settings a:focus-visible,.admin-settings input:focus-visible,.admin-settings textarea:focus-visible{outline:3px solid var(--accent,#245984);outline-offset:3px}html[data-theme=dark] .admin-settings{--ink:#e8f0f8;--muted:#b3c2d3;--card:#16263b;--paper:#112036;--line:#374960;--soft:#203951;--accent:#91c5f2;--danger:#ffaaa9}@media (width<=400px){.admin-settings{padding-inline:10px}.settings-card{padding:16px}.settings-row{gap:11px;padding:15px 13px}.settings-theme-choices{gap:7px}.settings-theme-choices label{min-height:116px}}@media (height<=450px) and (orientation:landscape){.settings-group-title{margin-top:14px}.settings-row{min-height:62px;padding-block:11px}.settings-theme-choices label{min-height:100px;padding-block:12px}}html[data-theme] .admin-app .secure-chat-shell{--chat-canvas:radial-gradient(ellipse at 15% 0%,#fff 0,transparent 60%),linear-gradient(145deg,#f2f8fd,#e9f2f8);--chat-glass:#ffffffb3;--chat-glass-border:#7393ae40;--chat-received:#e0eaf2;--chat-bubble-border:#cfdee9;--chat-sent:#1462c2;background:var(--workspace-canvas,var(--chat-canvas));width:100%;height:100%;min-height:0;max-height:none;color:var(--ui-text);border:0;border-radius:0;flex-direction:column;padding:0;display:flex;overflow:hidden}html[data-theme=dark] .admin-app .secure-chat-shell{--chat-canvas:radial-gradient(ellipse at 10% 0%,#203440 0,transparent 58%),linear-gradient(145deg,#13212c,#101d27 65%,#172936);--chat-glass:#31445394;--chat-glass-border:#a7c7de33;--chat-received:#304353;--chat-bubble-border:#3a5062;--chat-sent:#195eb7}.secure-chat-shell [hidden]{display:none!important}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading{min-height:76px;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));background:0 0;border:0;border-radius:0;flex:none;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:10px;margin:0;display:grid}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading-title{text-align:center;grid-column:2;min-width:0;margin:0;display:block}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading h2{letter-spacing:-.02em;text-align:center;overflow-wrap:anywhere;margin:0;font-size:1.35rem;font-weight:650;line-height:1.3}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .icon-button{border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;display:inline-flex}.secure-chat-shell .icon-button svg,.secure-chat-setup .chat-heading svg{flex-shrink:0;width:21px;height:21px}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading>.icon-button{border:1px solid var(--workspace-glass-border,var(--chat-glass-border,var(--ui-border)));background:var(--workspace-glass,var(--chat-glass,var(--ui-raised)));width:52px;min-width:52px;height:52px;min-height:52px;color:var(--ui-text);box-shadow:var(--workspace-glass-shadow,inset 0 1px 0 #ffffff20,0 4px 12px #00000012);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:center}html[data-theme] .admin-app .secure-chat-shell .chat-back{display:inline-flex!important}html[data-theme] .admin-app .secure-chat-shell .chat-new-conversation{grid-column:3}html[data-theme] .admin-app .secure-chat-shell .chat-layout{width:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;gap:0;display:flex;overflow:hidden}html[data-theme] .admin-app .secure-chat-shell .chat-conversations{overscroll-behavior:contain;width:100%;min-width:0;max-height:none;padding:0 max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));background:0 0;border:0;border-radius:0;flex:1;display:block;overflow:auto}.secure-chat-shell .chat-search{border:1px solid var(--chat-glass-border);background:var(--chat-glass);border-radius:28px;align-items:center;gap:8px;max-width:900px;margin:0 auto 12px;padding:0 14px;display:flex;box-shadow:inset 0 1px #ffffff0d}.secure-chat-shell .chat-search svg{width:18px;color:var(--ui-muted);flex-shrink:0}html[data-theme] .admin-app .secure-chat-shell .chat-search input{width:100%;min-width:0;height:44px;box-shadow:none;color:var(--ui-text);background:0 0;border:0;padding:8px 0;font-size:1rem}.secure-chat-shell .chat-filters{flex-wrap:wrap;gap:8px;max-width:900px;margin:0 auto 10px;display:flex}html[data-theme] .admin-app .secure-chat-shell .chat-filters button{border:1px solid var(--chat-glass-border);background:var(--chat-glass);width:auto;min-height:44px;color:var(--ui-text);border-radius:24px;padding:8px 17px;font-size:.875rem;font-weight:500}html[data-theme] .admin-app .secure-chat-shell .chat-filters button[aria-pressed=true]{color:#fff;background:#0867e9;border-color:#0867e9;font-weight:650}.secure-chat-shell .chat-conversation-rows{border-top:1px solid var(--chat-glass-border);max-width:900px;margin:auto}html[data-theme] .admin-app .secure-chat-shell .chat-conversation-row{border:0;border-bottom:1px solid var(--chat-glass-border);width:100%;min-height:90px;color:var(--ui-text);text-align:left;background:0 0;border-radius:0;align-items:center;gap:12px;margin:0;padding:15px 2px;display:flex}html[data-theme] .admin-app .secure-chat-shell .chat-conversation-row:hover{background:var(--chat-glass)}html[data-theme] .admin-app .secure-chat-shell .chat-conversation-row>.profile-avatar{flex:0 0 56px}.secure-chat-shell .chat-group-avatar{border:1px solid var(--chat-glass-border);width:56px;height:56px;color:var(--ui-text);background:var(--chat-glass);border-radius:50%;flex:0 0 56px;place-items:center;display:grid}.secure-chat-shell .chat-conversation-copy{flex:1;min-width:0}.secure-chat-shell .chat-conversation-copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:1rem;line-height:1.4;display:block;overflow:hidden}.secure-chat-shell .chat-conversation-copy small{color:var(--ui-muted);white-space:nowrap;text-overflow:ellipsis;margin:2px 0 0;font-size:.875rem;line-height:1.5;display:block;overflow:hidden}.secure-chat-shell .chat-conversation-meta{color:var(--ui-muted);flex-direction:column;flex:none;justify-content:center;align-items:flex-end;gap:5px;font-size:.75rem;display:flex}.secure-chat-shell .chat-conversation-meta svg{width:16px;height:16px}.secure-chat-shell .chat-unread{color:#fff;background:#0867e9;border-radius:20px;place-items:center;min-width:24px;height:24px;padding:0 5px;display:grid}html[data-theme] .admin-app .secure-chat-shell .chat-room{background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;gap:0;width:100%;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}html[data-theme] .admin-app .secure-chat-shell .chat-messages{overscroll-behavior:contain;min-height:0;max-height:none;padding:16px max(16px,env(safe-area-inset-right)) 20px max(16px,env(safe-area-inset-left));scrollbar-gutter:stable;background:0 0;flex-direction:column;flex:1;gap:8px;display:flex;overflow:auto}html[data-theme] .admin-app .secure-chat-shell .chat-day{color:var(--ui-muted);background:0 0;border:0;border-radius:0;align-self:stretch;align-items:center;gap:10px;margin:6px 0 16px;padding:0;font-size:.8125rem;display:flex}.secure-chat-shell .chat-day:before,.secure-chat-shell .chat-day:after{content:"";background:var(--chat-glass-border);flex:1;height:1px}.secure-chat-shell .chat-day time{border:1px solid var(--chat-glass-border);background:var(--chat-glass);border-radius:22px;padding:5px 16px}html[data-theme] .admin-app .secure-chat-shell .chat-messages article.chat-message{width:auto;min-width:0;max-width:min(92%,740px);color:var(--ui-text);overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;flex:none;align-self:flex-start;align-items:flex-start;gap:10px;margin:0;padding:0;display:flex}html[data-theme] .admin-app .secure-chat-shell .chat-messages article.chat-message.mine{color:var(--ui-text);background:0 0;border:0;border-radius:0;flex-direction:row-reverse;align-self:flex-end}html[data-theme] .admin-app .secure-chat-shell .chat-message-avatar{flex:0 0 44px;margin-top:25px}html[data-theme] .admin-app .secure-chat-shell .chat-message-content{flex-direction:column;align-items:flex-start;gap:5px;min-width:0;display:flex}html[data-theme] .admin-app .secure-chat-shell .mine .chat-message-content{align-items:flex-end}html[data-theme] .admin-app .secure-chat-shell .chat-message-author{color:var(--ui-muted);padding:0 4px;font-size:.75rem;font-weight:400;line-height:1.5;display:block}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble{border:1px solid var(--chat-bubble-border);background:var(--chat-received);min-width:0;max-width:100%;color:var(--ui-text);border-radius:22px;padding:9px 14px;display:block}html[data-theme] .admin-app .secure-chat-shell .mine .chat-message-bubble{border-color:var(--chat-sent);background:var(--chat-sent);color:#fff}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble.has-only-photos{border-radius:16px;padding:4px}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble.has-only-photos blockquote{margin:5px 5px 8px}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble p{white-space:pre-wrap;color:inherit;margin:0;font-size:1rem;line-height:1.5}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble>small{max-width:100%;color:inherit;opacity:.85;margin-top:6px;font-size:.6875rem;line-height:1.4;display:block}html[data-theme] .admin-app .secure-chat-shell .chat-message-meta{min-height:36px;color:var(--ui-muted);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:0 7px;margin:-3px 0 0;padding:0 4px;display:flex}html[data-theme] .admin-app .secure-chat-shell .mine .chat-message-meta{justify-content:flex-end}html[data-theme] .admin-app .secure-chat-shell .chat-message-meta :is(time,small){color:var(--ui-muted);font-size:.6875rem;line-height:1.4}html[data-theme] .admin-app .secure-chat-shell .chat-message-meta .icon-button{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ui-muted);box-shadow:none;background:0 0;border:0;flex:0 0 44px;margin:0;padding:10px}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble blockquote{color:inherit;background:#00000014;border:0;border-left:3px solid;border-radius:5px;gap:3px;margin:0 0 7px;padding:7px 10px;font-size:.8125rem;display:grid}.secure-chat-shell .chat-new-messages{z-index:2;white-space:nowrap;position:absolute;bottom:90px;left:50%;transform:translate(-50%);box-shadow:0 3px 14px #0003}html[data-theme] .admin-app .secure-chat-shell .chat-compose{width:auto;max-height:calc(100% - 24px);margin:0 max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border:1px solid var(--workspace-glass-border,var(--chat-glass-border));background:var(--workspace-glass,var(--chat-glass));color:var(--ui-text);box-shadow:var(--workspace-glass-shadow,inset 0 1px 0 #ffffff20,0 5px 20px #00000012);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:34px;flex:none;grid-template-columns:48px minmax(0,1fr) 48px;align-items:end;gap:8px;padding:9px;display:grid;overflow:auto}html[data-theme] .admin-app .secure-chat-shell .chat-compose textarea{resize:none;border:1px solid var(--chat-glass-border);background:var(--chat-glass);width:100%;min-width:0;min-height:48px;max-height:144px;color:var(--ui-text);border-radius:25px;margin:0;padding:11px 14px;font-family:inherit;font-size:1rem;line-height:1.4;display:block;overflow:auto;box-shadow:inset 0 1px 3px #00000008}html[data-theme] .admin-app .secure-chat-shell .chat-compose button{background:var(--chat-glass);color:var(--ui-text);border-color:var(--chat-glass-border);cursor:pointer}html[data-theme] .admin-app .secure-chat-shell .chat-compose :is(.chat-attach,.chat-send){border:1px solid var(--chat-glass-border);border-radius:50%;flex-basis:48px;width:48px;min-width:48px;height:48px;min-height:48px;padding:11px;box-shadow:inset 0 1px #ffffff20}html[data-theme] .admin-app .secure-chat-shell .chat-compose .chat-send{color:#fff;background:#0867ed;border-color:#0867ed}html[data-theme] .admin-app .secure-chat-shell .chat-compose button:disabled{opacity:.42;cursor:default}.secure-chat-shell .chat-compose>:is(.chat-compose-context,.chat-compose-blocked,.chat-file-queue,progress){grid-column:1/-1;min-width:0}.secure-chat-shell .chat-compose-context{border-left:3px solid var(--ui-link);justify-content:space-between;align-items:center;padding:0 8px;font-size:.875rem;display:flex}.secure-chat-shell .chat-file-queue{gap:6px;max-height:90px;display:flex;overflow:auto}.secure-chat-shell .chat-file-queue>span{border:1px solid var(--ui-border);overflow-wrap:anywhere;border-radius:12px;flex-shrink:0;align-items:center;gap:4px;max-width:240px;padding:0 4px 0 10px;font-size:.8125rem;display:flex}.secure-chat-shell .chat-compose progress{width:100%;height:5px}html[data-theme] .admin-app .secure-chat-shell .chat-security-note{width:auto;min-height:44px;margin:0 12px max(12px,env(safe-area-inset-bottom));color:var(--ui-muted);background:0 0;border:0;border-radius:20px;flex:none;justify-content:center;align-self:center;align-items:center;gap:6px;padding:8px 12px;font-size:.75rem;font-weight:400;display:flex}.secure-chat-shell .chat-security-note svg{width:14px;height:14px}.secure-chat-shell .chat-send-state{color:var(--ui-muted);background:0 0;flex:none;justify-content:center;align-items:center;gap:8px;padding:4px 10px;font-size:.75rem;display:flex}.secure-chat-shell .chat-send-success{z-index:1;top:8px;right:max(16px,env(safe-area-inset-right));border:1px solid var(--ui-border);background:var(--ui-surface);max-width:calc(100% - 32px);color:var(--ui-muted);pointer-events:none;border-radius:999px;padding:5px 10px;font-size:.75rem;line-height:1.4;position:absolute;box-shadow:0 2px 8px #00000012}.secure-chat-shell>.form-error,.secure-chat-shell>.success-message{flex:none;max-height:90px;font-size:.8125rem;overflow:auto;margin:0!important;padding:8px 12px!important}.secure-chat-shell .chat-empty{color:var(--ui-muted);text-align:center;align-self:center;padding:22px 12px}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) :is(button,a):focus-visible{outline:2px solid var(--ui-link);outline-offset:3px}html[data-theme] [data-slot=dropdown-menu-content]:is(.chat-message-menu,.chat-attachment-menu){max-width:calc(100vw - 20px);max-height:var(--radix-dropdown-menu-content-available-height);background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-border);opacity:1;border-radius:12px;padding:6px;overflow:auto;box-shadow:0 12px 32px #0004}html[data-theme] :is(.chat-message-menu,.chat-attachment-menu) [data-slot=dropdown-menu-item]{min-height:44px;color:var(--ui-text);align-items:center;gap:9px;padding:8px 12px;display:flex}html[data-theme] :is(.chat-message-menu,.chat-attachment-menu) [data-highlighted]{background:var(--ui-raised);outline:2px solid var(--ui-link);outline-offset:-2px}.chat-attachment-menu p{max-width:260px;color:var(--ui-muted);margin:5px 10px;font-size:.75rem}.chat-contact-picker{gap:4px;display:grid}.chat-contact-picker button{text-align:left;align-items:center;gap:10px;min-height:54px;display:flex}.chat-contact-picker small{color:var(--ui-muted);display:block}.chat-conversation-info label,.chat-group-dialog form>label{gap:6px;display:grid}.chat-conversation-info select,.chat-group-dialog input:not([type=checkbox]){background:var(--ui-raised);width:100%;min-height:44px;color:var(--ui-text);border:1px solid var(--ui-border);border-radius:8px;padding:8px}.chat-conversation-info p{color:var(--ui-muted);font-size:.875rem}.chat-group-dialog .checkbox-label{align-items:center;gap:8px;min-height:44px;display:flex}.chat-file{min-width:0;margin:8px 0}.chat-file.is-photo{margin:6px 0 0}.chat-message-bubble.has-only-photos>.chat-file.is-photo{margin:0}.chat-message-bubble.has-only-photos>.chat-file.is-photo+.chat-file.is-photo{margin-top:4px}.secure-chat-shell .chat-message-bubble>.chat-file{width:100%;display:block}.chat-file .chat-photo-preview{aspect-ratio:4/3;background:var(--ui-raised);border:0;border-radius:10px;width:min(100%,320px);padding:0;display:block;overflow:hidden}.chat-file .chat-photo-preview img{object-fit:contain;image-orientation:from-image;width:100%;height:100%}.chat-file .chat-file-meta{flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:44px;display:flex}.chat-file .chat-file-meta>span{overflow-wrap:anywhere;flex:1 0 calc(100% - 36px);min-width:0;font-size:.8125rem}.chat-file .chat-file-meta>:is(button,a){flex:0 auto;max-width:100%}html[data-theme] .admin-app .secure-chat-shell .chat-message-bubble .chat-file .quiet-button{background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-border);min-height:44px;box-shadow:none;border-radius:10px;padding:8px 12px}.chat-file .chat-file-meta small{font-size:.6875rem;display:block}html[data-theme] .admin-app .secure-chat-shell .mine .chat-file small{color:inherit}.chat-file .chat-file-meta a{min-height:44px;color:inherit;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.chat-file .chat-file-meta svg{flex-shrink:0;width:18px}.chat-file .chat-file-load{border:1px solid var(--ui-border);border-radius:10px;place-items:center;min-width:160px;min-height:90px;padding:10px;font-size:.8125rem;display:grid}html[data-theme] [data-slot=dialog-content].chat-file-viewer{width:calc(100vw - 16px);max-width:1100px;height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));background:var(--ui-surface);color:var(--ui-text);flex-direction:column;gap:8px;padding:12px;display:flex;overflow:hidden}.chat-viewer-header{flex:none;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;min-width:0;display:grid}html[data-theme] .chat-file-viewer .chat-viewer-header [data-slot=dialog-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;min-width:0;margin:0;padding:0;font-size:1rem;line-height:1.35;display:-webkit-box;overflow:hidden}html[data-theme] .chat-file-viewer .chat-viewer-header .dialog-dismiss{align-self:start;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;position:static;inset:auto}.chat-file-viewer .chat-viewer-toolbar{flex-wrap:wrap;flex:none;align-items:center;gap:6px;min-width:0;display:flex}html[data-theme] .chat-file-viewer .chat-viewer-toolbar :is(button,a){border:1px solid var(--ui-border);background:var(--ui-raised);width:auto;min-width:44px;min-height:44px;color:var(--ui-text);border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:.875rem;line-height:1.25;display:inline-flex}.chat-file-viewer .chat-viewer-toolbar .chat-viewer-fit{min-width:64px}.chat-file-viewer .chat-viewer-toolbar a{margin-left:auto;text-decoration:none}.chat-file-viewer .chat-viewer-toolbar svg{flex-shrink:0;width:18px;height:18px}.chat-file-viewer .chat-viewer-canvas{overscroll-behavior:contain;background:var(--ui-page);touch-action:pan-x pan-y pinch-zoom;border-radius:8px;flex:1;min-width:0;min-height:0;overflow:auto}.chat-viewer-image-space{justify-content:center;align-items:center;min-width:100%;min-height:100%;display:flex}html[data-theme] .chat-file-viewer .chat-viewer-canvas img{object-fit:contain;image-orientation:from-image;width:100%;min-width:0;max-width:none;height:100%;max-height:none;display:block}.chat-viewer-canvas object{width:100%;height:100%;min-height:180px}.chat-viewer-canvas p{padding:20px}@media (width<=360px){html[data-theme] .admin-app .secure-chat-shell .chat-heading{grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;padding-inline:12px}html[data-theme] .admin-app .secure-chat-shell .chat-heading>.icon-button{width:48px;min-width:48px;height:48px;min-height:48px}html[data-theme] .admin-app .secure-chat-shell .chat-compose{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;padding:7px}html[data-theme] .admin-app .secure-chat-shell .chat-compose :is(.chat-attach,.chat-send){width:44px;min-width:44px;height:44px;min-height:44px}html[data-theme] .admin-app .secure-chat-shell .chat-compose textarea{min-height:44px;padding:9px 10px}html[data-theme] .admin-app .secure-chat-shell .chat-messages{padding-inline:10px}}@media (height<=500px){.secure-chat-shell>.chat-access-tip{display:none!important}html[data-theme] .admin-app .secure-chat-shell .chat-heading{grid-template-columns:44px minmax(0,1fr) 44px;min-height:52px;padding-block:4px}html[data-theme] .admin-app .secure-chat-shell .chat-heading>.icon-button{width:44px;min-width:44px;height:44px;min-height:44px}html[data-theme] .admin-app .secure-chat-shell .chat-compose{margin-bottom:6px;padding:6px}html[data-theme] .admin-app .secure-chat-shell .chat-compose textarea{max-height:80px}.secure-chat-shell>.chat-send-state{padding-block:2px}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){html[data-theme] .admin-app .secure-chat-shell{--chat-glass:var(--ui-raised);--chat-glass-border:var(--ui-border)}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading>.icon-button,html[data-theme] .admin-app .secure-chat-shell .chat-compose{background:var(--ui-raised)}}@media (prefers-reduced-transparency:reduce){html[data-theme] .admin-app .secure-chat-shell{--chat-glass:var(--ui-raised);--chat-glass-border:var(--ui-border)}html[data-theme] .admin-app :is(.secure-chat-shell,.secure-chat-setup) .chat-heading>.icon-button,html[data-theme] .admin-app .secure-chat-shell .chat-compose{background:var(--ui-raised);-webkit-backdrop-filter:none;backdrop-filter:none}}html[data-theme] .admin-app .secure-chat-shell .chat-file .chat-photo-preview img{width:100%;height:100%;max-height:none}html[data-theme] [data-slot=dialog-content].chat-file-viewer.is-download-only{max-width:560px;height:auto;overflow:auto}.chat-pdf-unavailable{color:var(--ui-muted);margin:4px 0;line-height:1.5}.chat-pdf-fallback{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chat-pdf-fallback .field-help{flex:1;min-width:180px;margin:0}.chat-pdf-fallback button{min-height:44px}
