/* A neutral message field, inset from the thread edges. */
.chat-compose .telegram-compose{margin-inline:clamp(10px,2.5vw,38px);border-radius:8px!important;border-color:var(--ap-border)!important;box-shadow:none!important;max-width:100%;width:auto;min-width:0}
.chat-compose .telegram-compose:focus-within{border-color:var(--ap-border)!important;box-shadow:none!important;outline:none!important}
.chat-compose .telegram-compose #chat-text,.chat-compose .telegram-compose #chat-text:focus,.chat-compose .telegram-compose #chat-text:focus-visible{outline:none!important;outline-offset:0!important;box-shadow:none!important;border:0!important;border-radius:6px!important;background:transparent!important}
.ap-group>.ap-image-field{max-width:520px;margin-block:14px}.r372-menu-titles{margin-top:18px;padding-top:14px;border-top:1px solid var(--ap-border)}.r372-menu-titles .field{min-width:0}.r372-menu-titles input{width:100%}
.r372-photo-zoom{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;padding:0;flex-shrink:0;cursor:zoom-in;border-radius:8px}.r372-photo-zoom .avatar{margin:0!important}.profile-photo-popup img{display:block;margin:auto;max-width:100%;max-height:75dvh;object-fit:contain;border-radius:8px}
.r372-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.r372-profile-grid>.card{margin:0!important;min-width:0}.r372-profile-grid>.profile-photo-card{grid-column:1/-1}.r372-profile .card-head{padding:10px 14px!important;min-height:0}.r372-profile .card-head h2{font-size:14px!important}.r372-profile .card-body{padding:12px 14px!important}.r372-profile .profile-photo-editor{padding:12px 14px;gap:14px}.r372-profile .profile-photo-editor p:empty{display:none}.r372-profile .read-only-profile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 14px}.r372-profile .read-only-profile>div{padding:8px 10px;min-width:0;border:1px solid var(--ap-border);border-radius:6px;display:flex;flex-direction:column;gap:3px}.r372-profile .read-only-profile label{font-size:11px}.r372-profile .read-only-profile b{font-size:12px;overflow-wrap:anywhere}.r372-profile .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.r372-profile .field{gap:4px;margin:0;min-width:0;font-size:12px}.r372-profile .field input:not([type=checkbox]),.r372-profile .field select{min-height:36px;height:36px;padding-block:5px;font-size:12px}.r372-profile .field textarea{min-height:60px;height:60px;padding:7px 10px;font-size:12px}.r372-profile .form-help{font-size:11px;margin:8px 0}.r372-profile .form-actions{margin-top:10px}.r372-profile .form-error:empty{display:none}.r372-profile .btn{min-height:34px;padding:6px 12px;font-size:12px}.r372-profile .password-toggle{padding:4px!important;min-height:28px!important}
@media(max-width:900px){.r372-profile-grid{grid-template-columns:1fr}.r372-profile .read-only-profile{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.chat-compose .telegram-compose{margin-inline:6px}.r372-profile .form-grid,.r372-profile .read-only-profile{grid-template-columns:1fr}.r372-profile .field.full{grid-column:1}.r372-profile .profile-photo-editor{flex-wrap:wrap}}
.r372-profile .profile-photo-editor .r372-photo-zoom .avatar{width:64px;height:64px;flex-shrink:0}
