/* Shared form geometry for the spa, technician and administration portals. */
.btn,button{line-height:1.35;vertical-align:middle;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
.actions,.inline-actions,.form-actions,.dialog-foot{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px}
.actions>.btn,.actions>button,.inline-actions>.btn,.inline-actions>button,.form-actions>.btn,.form-actions>button,.dialog-foot>.btn,.dialog-foot>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;max-width:100%;margin-block:0}
.row:has(>.btn),.between:has(>.btn){flex-wrap:wrap}
.page-head>*,.page-heading>*,.form-grid>*,.field>*{min-width:0;max-width:100%}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{box-sizing:border-box;min-width:0;max-width:100%}
input[type=checkbox],input[type=radio],.field input[type=checkbox],.field input[type=radio]{box-sizing:border-box;width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;padding:0;flex:0 0 18px;margin:3px 0 0;accent-color:var(--green,#146b57)}
label.check,.check-field{align-items:flex-start}
label.field:has(>input[type=checkbox]),label.field:has(>input[type=radio]),.field>label:has(>input[type=checkbox]),.field>label:has(>input[type=radio]){display:flex;flex-direction:row;align-items:flex-start;gap:9px}
fieldset{min-width:0;max-width:100%}
main select,main input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]),main textarea,dialog select,dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),dialog textarea{box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;padding:10px 11px;border:1px solid #cddcd2;border-radius:9px;background:#fff;color:var(--dark,#183d34);font:inherit}
.cat-admin-grid>.card{display:flex;flex-direction:column;gap:8px}
.cat-admin-grid>.card>.btn:last-child{align-self:flex-start;margin-top:auto}
.cat-equipment-grid{align-items:end}
.cat-equipment-grid label{min-width:0}
.cat-equipment-grid input{width:100%}
dialog .dialog-foot{position:sticky;bottom:-1px;background:white;z-index:1}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.dialog-head h2{min-width:0;overflow-wrap:anywhere}
.dialog-head .icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:-8px -8px 0 auto;padding:0}
@media(max-width:850px){.topbar{height:auto;min-height:72px;padding-block:12px;flex-wrap:wrap}.top-right,.header-actions{min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}.topbar .role-select{max-width:130px}.page-head,.page-heading{flex-wrap:wrap}}
@media(max-width:620px){.actions>.btn,.actions>button,.inline-actions>.btn,.inline-actions>button,.dialog-foot>.btn,.dialog-foot>button{flex:1 1 140px}.form-actions>.btn,.form-actions>button{flex:1 1 140px}.form-grid,.criteria{grid-template-columns:minmax(0,1fr)}.page-head>input,.page-head>select{width:100%}.actions,.inline-actions,.form-actions{width:100%}}
