/* Approved internal booking form surfaces. Presentation only: retain widths,
   heights, native fields, values, events, calendars, document and filter layout.
   Tokens share popup-shell.css; no second interaction or storage engine. */
html body:is(.app-shell,.education-popup-body) form :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=range]):not([type=color]),select,textarea):not(.popup-choice-source){border-color:var(--ui-field-border);border-radius:var(--ui-field-radius);background:var(--ui-field-bg);color:var(--ui-field-text);box-shadow:none;transition:border-color .14s,background .14s,box-shadow .14s}
html body:is(.app-shell,.education-popup-body) form :is(input,select,textarea):focus-visible{outline:2px solid var(--ui-focus);outline-offset:1px;border-color:var(--ui-focus);box-shadow:0 0 0 3px var(--ui-focus-ring)}
html body:is(.app-shell,.education-popup-body) form :is(input,select,textarea):disabled{color:#8c817b;background:#f6f3f1}
html body:is(.app-shell,.education-popup-body) form :is(input,textarea)[readonly]{background:#faf7f5}
html body:is(.app-shell,.education-popup-body) form :is(input,select,textarea)[aria-invalid=true]{border-color:#c7483b}
html body:is(.app-shell,.education-popup-body) :is(.field>label,.oneoff-field>span,.education-field>label,.service-management-fields label){color:var(--ui-label)}
html body:is(.app-shell,.education-popup-body) :is(.oneoff-edit-fields,.service-management-fields,.education-core-fields){gap:var(--ui-field-gap)}
html body:is(.app-shell,.education-popup-body) .form-actions{gap:var(--ui-gap);border-top:1px solid #f1e7e1;background:#fffdfb}
html body:is(.app-shell,.education-popup-body) :is(.form-actions,.education-submit-actions,.expense-policy-actions) :is(button,.button){border-radius:var(--ui-field-radius)}
html body:is(.app-shell,.education-popup-body) :is(.education-choice,.education-business-tab){border-radius:var(--ui-field-radius);border-color:var(--ui-field-border);background:#fff;color:var(--ui-label)}
html body:is(.app-shell,.education-popup-body) :is(.education-choice,.education-business-tab):has(input:checked){background:var(--ui-soft);border-color:var(--ui-selected);color:var(--ui-selected-text);box-shadow:0 0 0 1px var(--ui-selected)}
html body.app-shell :is(.segment-field,.treatment-area-chip-field,.contract-funding-field,.quick-funding-choice) label:has(input){border-radius:var(--ui-field-radius);border-color:var(--ui-field-border)}
html body.app-shell :is(.segment-field,.treatment-area-chip-field,.contract-funding-field,.quick-funding-choice) label:has(input:checked){background:var(--ui-soft);border-color:var(--ui-selected);color:var(--ui-selected-text)}
@media(prefers-reduced-motion:reduce){html body:is(.app-shell,.education-popup-body) form :is(input,select,textarea){transition:none}}

/* Shared action and read-only detail rhythm; anchors and native buttons match. */
/* Native check controls are not text inputs: shared compact field renderer. */
html body.app-shell .field .ui-check-label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;margin:0;min-height:32px;font-size:13px;font-weight:500;cursor:pointer}
html body.app-shell .ui-check-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
html body.app-shell .ui-check-options label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;min-height:30px}
html body.app-shell .ui-check-options>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
html body.app-shell .ui-field-label{font-size:var(--ui-label-size);font-weight:600;color:var(--ui-label)}
html body.app-shell .field :is(input[type=checkbox],input[type=radio]),html body.app-shell .ui-check-options input{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;margin:0;padding:0;flex:0 0 16px;accent-color:var(--ui-selected)}
html body.app-shell .ui-workspace-actions{display:flex;align-items:center;gap:var(--ui-gap);flex-wrap:wrap}
html body.app-shell .ui-workspace-actions>:is(button,.button),html body.app-shell .ui-detail-panel :is(button,.button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--ui-control-height);padding:8px 12px;font-family:inherit;font-size:var(--ui-control-size);font-weight:700;line-height:20px;border-radius:var(--ui-field-radius);white-space:nowrap}
.ui-detail-panel{font-size:var(--ui-body-size);line-height:1.45;color:var(--ui-field-text)}
.ui-detail-panel p{font-size:var(--ui-body-size);line-height:1.45;margin:8px 0;overflow-wrap:anywhere}
.ui-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-field-gap);margin:12px 0}
.ui-detail-grid>div{min-width:0;padding:6px 0}.ui-detail-grid dt{font-size:var(--ui-label-size);line-height:18px;color:var(--ui-label);font-weight:600}
.ui-detail-grid dd{margin:4px 0 0;font-size:var(--ui-body-size);line-height:20px;font-weight:600;overflow-wrap:anywhere}
.ui-detail-panel .ui-detail-filter{display:flex;align-items:end;gap:var(--ui-gap);margin:0 0 12px}
.ui-detail-filter label{display:flex;flex-direction:column;gap:4px;font-size:var(--ui-label-size);line-height:18px;font-weight:600}
.ui-detail-filter input{height:var(--ui-control-height);font-family:inherit;font-size:var(--ui-control-size);line-height:20px}
html body.app-shell .ui-workspace-actions.ui-actions-compact>:is(button,.button){min-height:34px;height:34px;padding:6px 8px;font-size:var(--ui-control-size);line-height:20px}
.ui-help{display:inline-flex;align-items:center;vertical-align:middle}
html body.app-shell button.ui-help-trigger{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:24px;min-height:24px;height:auto;padding:2px 5px;margin:0;font:inherit;font-size:12px;color:var(--ui-label);background:transparent;border:0;cursor:help}
.ui-help-content{box-sizing:border-box;position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);padding:10px 12px;border:1px solid var(--ui-field-border);border-radius:var(--ui-field-radius);background:var(--ui-field-bg);color:var(--ui-field-text);font-size:12px;line-height:1.6;box-shadow:0 6px 20px #0002;overflow-wrap:anywhere}
.ui-help-content:not(:popover-open){display:none!important}
