.profile-dialog [hidden]{display:none!important}
.profile-dialog select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #c9d9e2;border-radius:6px;padding:10px;font:16px Arial,sans-serif;color:#17252e;background:white}
#profileSignatureHelp{line-height:1.5}
.profile-detail-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-detail-buttons button{position:relative;min-width:0;text-align:left;background:#f5f8f9;border:1px solid transparent;border-radius:6px;padding:14px 40px 14px 14px;color:var(--ink);font:inherit;cursor:pointer}
.profile-detail-buttons button:hover{border-color:#0ba5b8}.profile-detail-buttons span,.profile-detail-buttons strong{display:block;overflow-wrap:anywhere}.profile-detail-buttons span{color:#697e8c;margin-bottom:5px}.profile-detail-buttons svg{position:absolute;right:12px;top:18px;width:18px;height:18px;color:#58717e}
.profile-dialog{width:min(600px,calc(100% - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:24px;border:1px solid #cad9e1;border-radius:8px;color:#17252e;background:white;overflow:auto;font:16px Arial,sans-serif}
.profile-dialog::backdrop{background:#17252e66}.profile-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.profile-dialog h2{font-size:calc(22px * var(--ui-text-scale, 1));margin:0}.profile-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.profile-dialog label{display:grid;gap:6px;margin-bottom:14px;font-weight:600}.profile-dialog input:not([type=checkbox]),.profile-dialog textarea{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #c9d9e2;border-radius:6px;padding:10px;font:16px Arial,sans-serif;color:#17252e}.profile-dialog textarea{min-height:96px;resize:vertical}.profile-dialog .profile-check{display:flex;align-items:center;gap:10px;font-weight:400}.profile-check input{width:20px;height:20px;flex:0 0 20px}.profile-dialog canvas{display:block;width:100%;height:180px;touch-action:none;border:1px solid #c9d9e2;border-radius:6px;box-sizing:border-box;margin:14px 0;background:white}.profile-dialog footer{margin-top:18px}.profile-dialog footer button{width:100%;min-height:44px}
#profileSignaturePreview{display:block;width:min(320px,100%);height:100px;object-fit:contain;object-position:left center;margin-top:16px}#profileSignaturePreview[hidden]{display:none}.profile-ticket{padding:12px 0;border-top:1px solid #dce5eb}.profile-ticket summary{cursor:pointer;overflow-wrap:anywhere}.profile-ticket p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}#profileNotice{line-height:1.5;overflow-wrap:anywhere}#profileEditorError{line-height:1.5;color:#9d3434}
.profile-dialog button{min-height:44px;padding:10px 14px;border:1px solid #cad9e1;border-radius:6px;background:white;color:#17252e;font:600 15px Arial,sans-serif;cursor:pointer}.profile-dialog button:disabled{opacity:.55;cursor:wait}.profile-dialog header button,.profile-dialog .icon-button{width:44px;height:44px;padding:10px;flex:0 0 44px}.profile-dialog button[type=submit]{background:#009c7c;border-color:#009c7c;color:white}.profile-dialog button:focus-visible{outline:2px solid #0ba5b8;outline-offset:3px}#ticketApprove{border-color:#009c7c;color:#00755d;width:100%;margin:8px 0 18px}#ticketReplyForm select{min-height:44px;width:100%;font:16px Arial,sans-serif}#ticketsTable [data-open-ticket]{padding:0;border:0;background:none;color:#00755d;text-align:left;font:600 14px Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.profile-detail-buttons{grid-template-columns:1fr}.profile-dialog{padding:16px}.account-list-row{flex-wrap:wrap}.account-list-row #profileSupport{margin-left:0}}
#profileNotice:empty{display:none}
@media(min-width:901px){
 [data-cabinet-view="account"] .account-layout{align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:1fr;gap:16px}
 [data-cabinet-view="account"] .account-layout>.workspace-panel{padding:24px;min-height:280px}
 [data-cabinet-view="account"] .profile-card{grid-column:1;grid-row:1;align-items:start;align-content:start;min-width:0;display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px}
 [data-cabinet-view="account"] .profile-card .profile-card-title{grid-column:1/-1;font-size:18px;margin:0}
 [data-cabinet-view="account"] .profile-card>div{min-width:0;overflow-wrap:anywhere}
 #profilePersonalSection{grid-column:1;grid-row:2;min-width:0}
 #operatorDetails{grid-column:2;grid-row:1;min-width:0}
 #profileProfessionalSection{grid-column:2;grid-row:2;min-width:0}
 #profileProfessionalSection .account-list-row{grid-template-columns:38px minmax(0,1fr)}
 #profileProfessionalSection #profileSupport{grid-column:1/-1;justify-self:start}
 #operatorDetails[hidden]+#profileProfessionalSection{grid-row:1 / span 2;align-self:start}
}
@media(max-width:900px){.profile-card-title{display:none}}
@media(max-width:900px){[data-cabinet-view="settings"]{padding-bottom:72px}}
#profileEmailStatus{color:#087f68;line-height:1.5;overflow-wrap:anywhere}
.profile-avatar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.profile-avatar-actions .avatar-upload{margin:0}
.profile-avatar-actions #avatarRemove{width:32px;height:32px;min-height:32px;padding:0;border-radius:5px}
.profile-avatar-actions #avatarRemove svg{width:16px;height:16px}
@media(pointer:coarse){.profile-avatar-actions :is(.avatar-upload,#avatarRemove){min-height:44px;align-items:center}.profile-avatar-actions #avatarRemove{width:44px;height:44px}}
.profile-avatar-actions [hidden]{display:none}
.profile-detail-buttons svg,.profile-dialog .icon-button svg{transition:transform 140ms ease}
@media(hover:hover) and (pointer:fine){
 .profile-detail-buttons button:hover svg{transform:translateX(2px)}
 .profile-dialog .icon-button:hover svg{transform:scale(1.08)}
}
.profile-detail-buttons button:active svg,.profile-dialog .icon-button:active svg{transform:scale(.94)}
@media(prefers-reduced-motion:reduce){
 .profile-detail-buttons svg,.profile-dialog .icon-button svg{transition:none!important;transform:none!important}
}
