/* Action controls and form windows */
.form-launcher{display:inline-flex;align-items:center;margin:0 0 18px 12px;max-width:100%;vertical-align:top}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d2e1ed;border-radius:12px;padding:11px 17px;min-height:43px;background:white;color:#24506e;font:600 13px Modam,Tahoma,sans-serif;box-shadow:0 3px 9px #14387f08;cursor:pointer;transition:background .15s,box-shadow .15s}.action-button .ui-icon{width:18px;height:18px}.action-button:hover{background:#edf8fb;border-color:#8bbdcc;box-shadow:0 5px 14px #14387f12}.action-button:focus-visible,.dialog-close:focus-visible{outline:3px solid #009cb4;outline-offset:3px}.create-action{color:white;border-color:#107b91;background:linear-gradient(110deg,#0a7d96,#165f85);box-shadow:0 5px 13px #00879a24}.create-action:hover{color:white;background:#086e86;border-color:#086e86}.customer-card .form-launcher{display:flex;margin:15px 0 0}.customer-card .action-button{width:100%;justify-content:center;background:#f1f7fb;border-color:#dce8f1;box-shadow:none}.project-grid .form-launcher{margin-bottom:0}.form-dialog{width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;border:1px solid #dbe7ef;border-radius:22px;padding:0;overflow:auto;overscroll-behavior:contain;background:#fff;box-shadow:0 25px 100px #132f5c44;color:#203b58}.form-dialog::backdrop{background:#102b4d80;backdrop-filter:blur(5px)}.form-dialog-header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid #e4edf4;background:#f8fbfdf5;backdrop-filter:blur(12px);z-index:2}.form-dialog-header h2{margin:0;line-height:1.8;font-size:18px}.dialog-close{display:grid;place-items:center;border:1px solid #d9e5ed;background:#fff;color:#59758c;border-radius:10px;width:34px;height:34px;font:24px Modam;flex-shrink:0;cursor:pointer}.dialog-close:hover{background:#ffedf0;color:#b33857}.form-dialog-body{padding:23px 24px}.form-dialog-body form{margin:0}.form-dialog-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-dialog-body .form-grid>button,.form-dialog-body .form-grid>.button{justify-self:start;width:auto;min-width:120px}.form-dialog-body fieldset{min-width:0}.form-dialog-body>form>button:last-child{margin-top:5px}.form-dialog-body .chips{margin-top:18px}.form-dialog-body .profile-upload{margin:0}.form-dialog-body .button{align-self:start}.form-dialog-body .review-form{padding-top:0;border-top:0;display:flex}.form-dialog-body .voice-box{width:100%}.form-dialog-body .profile-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-dialog .stack{gap:17px}.form-dialog-body .entry-form{gap:17px}.form-dialog-body p{margin:15px 0 0}.image-upload-status{display:block;color:#16788b;font-weight:400;line-height:1.8;margin-top:5px}.customer-logo{padding:0;overflow:hidden}.customer-logo img{width:100%!important;height:100%!important;max-width:none;max-height:none;padding:0!important;object-fit:cover;display:block}.avatar img,.profile-photo img{padding:0;object-fit:cover}.audit-description{white-space:normal;min-width:240px;max-width:530px;line-height:2}.audit-description>div+div{border-top:1px dashed #e2eaf2;margin-top:5px;padding-top:5px}.audit-description div>span{color:#72859b}.audit-event{color:#2e6280;background:#edf6fa;border-radius:8px;padding:6px 9px;display:inline-block}.profile-layout>.panel:has(.form-launcher){min-height:150px}.form-dialog input,.form-dialog select,.form-dialog textarea{background:#f8fbfd}body:has(.form-dialog[open]){overflow:hidden}.role-editor .form-launcher{margin:0}
@media(max-width:600px){.form-dialog{width:calc(100vw - 18px);max-width:calc(100vw - 18px);border-radius:17px;max-height:94dvh}.form-dialog-header{padding:15px 17px}.form-dialog-header h2{font-size:16px}.form-dialog-body{padding:19px 17px}.form-dialog-body .form-grid,.form-dialog-body .profile-form .form-grid{grid-template-columns:1fr}.form-dialog-body .form-grid>button{width:100%}.form-launcher{margin-left:8px}.action-button{padding:10px 14px}.audit-description{min-width:220px}.form-dialog-body .review-form>label{min-width:100%}.form-dialog .form-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){.action-button{transition:none}}
