/* Shared compact form controls. Checkbox/radio, rich editors and calendars retain their own sizing. */
body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]),body select,body textarea{font-family:inherit;font-size:15px;line-height:1.4;padding:8px 11px;min-height:38px;border-radius:8px;max-width:100%;box-sizing:border-box}body textarea{min-height:96px;resize:vertical}body input[type=file]{font-size:14px}body .booking-field{font-size:14px;line-height:1.5;margin-bottom:12px;gap:5px}body .booking-field input,body .booking-field select,body .booking-field textarea{margin-top:5px}body .booking-fields,body .ops-form-grid,body .profile-grid{gap:12px 18px}body .booking-field small,body .thai-date-hint{font-size:12px;line-height:1.5;margin-top:4px}body form>.primary,body form>button[type=submit]{margin-top:12px}body .member-main .panel,body .member-profile-notice{padding:18px}body .member-main p.note{font-size:13px}.ui-icon{width:21px;height:21px;flex:none;vertical-align:middle}.member-sidebar>a,.member-sidebar button{display:flex;align-items:center;gap:10px}.member-sidebar>a{padding:12px 0}.view-chart{margin:24px 0;padding:18px;border:1px solid #e2e9e2;border-radius:12px;background:#fff}.view-chart svg{display:block;width:100%;max-height:300px}.view-chart details{margin-top:12px}.view-chart summary{cursor:pointer}.admin-content form.panel:has(input[name=from]) .booking-fields{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.blog-body{font-size:inherit;line-height:1.8}.blog-body p,.blog-body li{font-size:inherit}@media(max-width:700px){body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=submit]):not([type=button]),body select,body textarea{font-size:16px;min-height:44px}body .booking-fields,body .ops-form-grid{gap:12px}.admin-content form.panel:has(input[name=from]) .booking-fields{grid-template-columns:1fr 1fr}}@media(max-width:420px){.admin-content form.panel:has(input[name=from]) .booking-fields{grid-template-columns:1fr}}
@media(max-width:700px){.member-shell .member-sidebar{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;overflow-x:auto;padding:10px 12px}.member-shell .member-sidebar h2{display:none}.member-shell .member-sidebar>a{flex:0 0 auto;white-space:nowrap;border:0;padding:8px 10px;min-height:44px;font-size:14px}.member-shell .member-sidebar form{flex:0 0 auto;margin:0}.member-shell .member-sidebar button{white-space:nowrap;margin:0;min-height:44px}.member-shell .member-main{min-width:0}}
.admin-content form:has(input[name=from]){display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.admin-content form:has(input[name=from])>.booking-fields{flex:1 1 600px;max-width:100%;margin:0}.admin-content form:has(input[name=from]) label{display:grid;gap:5px;font-size:14px;margin-bottom:0}.admin-content form:has(input[name=from])>button{margin:0 0 5px}.admin-content form:has(input[name=from])>label{flex:1 1 160px;min-width:0}.admin-content form:has(input[name=from]) input,.admin-content form:has(input[name=from]) select{width:100%}
