.department-discharge-prototype-module__Xx_ryW__dialog{width:100%;min-width:0;height:100%;min-height:0;color:var(--mq-text);background:var(--mq-bg-soft);box-shadow:none;font-family:inherit;font-size:var(--mq-font-md);border:0;grid-template-rows:auto minmax(0,1fr) auto;line-height:1.4;display:grid;position:relative;overflow:hidden}.department-discharge-prototype-module__Xx_ryW__body{gap:var(--mq-space-3);min-height:0;padding:var(--mq-space-3);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.department-discharge-prototype-module__Xx_ryW__messageArea{gap:var(--mq-space-2);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__messageArea:empty{display:none}.department-discharge-prototype-module__Xx_ryW__notice,.department-discharge-prototype-module__Xx_ryW__validationSummary{align-items:flex-start;gap:var(--mq-space-2);min-width:0;padding:var(--mq-space-2) var(--mq-space-3);border:1px solid var(--mq-info);border-radius:var(--mq-radius-md);background:var(--mq-info-soft);color:var(--mq-info);font-size:var(--mq-font-md);overflow-wrap:anywhere;margin:0;display:flex}.department-discharge-prototype-module__Xx_ryW__notice>svg,.department-discharge-prototype-module__Xx_ryW__validationSummary>svg{flex:none;margin-top:2px}.department-discharge-prototype-module__Xx_ryW__noticeSuccess{border-color:var(--mq-success);background:var(--mq-success-soft);color:var(--mq-success)}.department-discharge-prototype-module__Xx_ryW__noticeWarning{border-color:var(--mq-warning);background:var(--mq-warning-soft);color:var(--mq-warning)}.department-discharge-prototype-module__Xx_ryW__noticeDanger,.department-discharge-prototype-module__Xx_ryW__validationSummary{border-color:var(--mq-danger);background:var(--mq-danger-soft);color:var(--mq-danger)}.department-discharge-prototype-module__Xx_ryW__noticeText,.department-discharge-prototype-module__Xx_ryW__validationText{gap:2px;min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__noticeText strong,.department-discharge-prototype-module__Xx_ryW__validationText strong{font-weight:var(--mq-weight-bold)}.department-discharge-prototype-module__Xx_ryW__validationText ul{margin:var(--mq-space-1) 0 0;padding-inline-start:var(--mq-space-4)}.department-discharge-prototype-module__Xx_ryW__validationText li{margin-top:2px}.department-discharge-prototype-module__Xx_ryW__loading{padding:var(--mq-space-2)}.department-discharge-prototype-module__Xx_ryW__columns{align-items:stretch;gap:var(--mq-space-3);grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.department-discharge-prototype-module__Xx_ryW__leftColumn,.department-discharge-prototype-module__Xx_ryW__rightColumn{gap:var(--mq-space-3);overscroll-behavior:contain;min-width:0;min-height:0;scrollbar-gutter:stable;flex-direction:column;padding-inline-end:var(--mq-space-1);display:flex;overflow-y:auto}.department-discharge-prototype-module__Xx_ryW__leftColumn>.department-discharge-prototype-module__Xx_ryW__section,.department-discharge-prototype-module__Xx_ryW__rightColumn>.department-discharge-prototype-module__Xx_ryW__section{flex:none}.department-discharge-prototype-module__Xx_ryW__section{background:var(--mq-surface);border:1px solid var(--mq-border);border-inline-start:4px solid var(--mq-primary);border-radius:var(--mq-radius-md);min-width:0;box-shadow:var(--mq-shadow-sm)}.department-discharge-prototype-module__Xx_ryW__sectionHeader{align-items:center;gap:var(--mq-space-2);box-sizing:border-box;min-height:40px;padding:var(--mq-space-1) var(--mq-space-3);background:var(--mq-surface-muted);border-bottom:1px solid var(--mq-border);border-start-end-radius:var(--mq-radius-md);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__sectionHeader h3{color:var(--mq-text-strong);font-size:var(--mq-font-lg);font-weight:var(--mq-weight-bold);margin:0}.department-discharge-prototype-module__Xx_ryW__sectionNumber{box-sizing:border-box;min-width:28px;padding:2px var(--mq-space-1);color:var(--mq-info);background:var(--mq-info-soft);border:1px solid var(--mq-control-selected-border);border-radius:var(--mq-radius-sm);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-bold);font-variant-numeric:tabular-nums;place-items:center;display:inline-grid}.department-discharge-prototype-module__Xx_ryW__sectionBadges{align-items:center;gap:var(--mq-space-1);flex-wrap:wrap;margin-inline-start:auto;display:flex}.department-discharge-prototype-module__Xx_ryW__sectionBody{gap:var(--mq-space-3);padding:var(--mq-space-3);display:grid}.department-discharge-prototype-module__Xx_ryW__subSection{background:var(--mq-surface);border:1px solid var(--mq-border);border-radius:var(--mq-radius-md);min-width:0}.department-discharge-prototype-module__Xx_ryW__subSection h4{align-items:center;gap:var(--mq-space-2);box-sizing:border-box;min-height:32px;padding:var(--mq-space-1) var(--mq-space-3);color:var(--mq-text-strong);background:var(--mq-surface-muted);border-bottom:1px solid var(--mq-border);font-size:var(--mq-font-md);font-weight:var(--mq-weight-bold);border-start-start-radius:var(--mq-radius-md);border-start-end-radius:var(--mq-radius-md);margin:0;display:flex}.department-discharge-prototype-module__Xx_ryW__subSection h4 i{box-sizing:border-box;min-width:28px;padding:1px var(--mq-space-1);color:var(--mq-info);background:var(--mq-info-soft);border:1px solid var(--mq-control-selected-border);border-radius:var(--mq-radius-sm);font-size:var(--mq-font-xs);font-style:normal;font-weight:var(--mq-weight-bold);text-align:center}.department-discharge-prototype-module__Xx_ryW__subBody{gap:var(--mq-space-3);padding:var(--mq-space-3);display:grid}.department-discharge-prototype-module__Xx_ryW__formGrid{align-items:start;gap:var(--mq-space-3);grid-template-columns:repeat(12,minmax(0,1fr));min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__formGrid>*{min-width:0}.department-discharge-prototype-module__Xx_ryW__col2{grid-column:span 2}.department-discharge-prototype-module__Xx_ryW__col3{grid-column:span 3}.department-discharge-prototype-module__Xx_ryW__col4{grid-column:span 4}.department-discharge-prototype-module__Xx_ryW__col5{grid-column:span 5}.department-discharge-prototype-module__Xx_ryW__col6{grid-column:span 6}.department-discharge-prototype-module__Xx_ryW__col8{grid-column:span 8}.department-discharge-prototype-module__Xx_ryW__col12{grid-column:1/-1}.department-discharge-prototype-module__Xx_ryW__endAlign{align-self:end}.department-discharge-prototype-module__Xx_ryW__readField,.department-discharge-prototype-module__Xx_ryW__field{align-content:start;gap:var(--mq-space-1);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__readField>span,.department-discharge-prototype-module__Xx_ryW__field>span,.department-discharge-prototype-module__Xx_ryW__fieldLabel{color:var(--mq-text);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold)}.department-discharge-prototype-module__Xx_ryW__field>span b,.department-discharge-prototype-module__Xx_ryW__diagnosisLookup>span b,.department-discharge-prototype-module__Xx_ryW__hospitalLookup>span b{color:var(--mq-danger);font-weight:var(--mq-weight-bold);margin-inline-start:2px}.department-discharge-prototype-module__Xx_ryW__readField output{min-height:var(--mq-control-h);box-sizing:border-box;padding:var(--mq-space-1) var(--mq-space-2);color:var(--mq-control-readonly-text);background:var(--mq-control-readonly-bg);border:1px solid var(--mq-control-readonly-border);border-radius:var(--mq-radius-sm);font-size:var(--mq-font-md);overflow-wrap:anywhere;align-items:center;display:flex}.department-discharge-prototype-module__Xx_ryW__readField .department-discharge-prototype-module__Xx_ryW__accentValue{color:var(--mq-info);background:var(--mq-info-soft);border-color:var(--mq-control-selected-border);font-weight:var(--mq-weight-semibold)}.department-discharge-prototype-module__Xx_ryW__readField .department-discharge-prototype-module__Xx_ryW__strongValue{color:var(--mq-text-strong);font-weight:var(--mq-weight-bold)}.department-discharge-prototype-module__Xx_ryW__rightAlignedValue output{text-align:right;font-variant-numeric:tabular-nums;justify-content:flex-end}.department-discharge-prototype-module__Xx_ryW__field>select,.department-discharge-prototype-module__Xx_ryW__field>input,.department-discharge-prototype-module__Xx_ryW__field>textarea{min-width:0}.department-discharge-prototype-module__Xx_ryW__fieldError :is(input,select,textarea){border-color:var(--mq-danger)}.department-discharge-prototype-module__Xx_ryW__validationError{color:var(--mq-danger);font-size:var(--mq-font-xs);font-style:normal;font-weight:var(--mq-weight-semibold);line-height:1.3;display:block}.department-discharge-prototype-module__Xx_ryW__insuranceCheckDate{align-content:start;gap:var(--mq-space-1);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__insuranceCheckDate>span{color:var(--mq-text);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold)}.department-discharge-prototype-module__Xx_ryW__insuranceCheckDate>div{align-items:center;gap:var(--mq-space-2);grid-template-columns:auto minmax(0,1fr);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__insuranceCheckDate input{width:16px;height:16px;accent-color:var(--mq-primary);margin:0}.department-discharge-prototype-module__Xx_ryW__insuranceCheckDate output{min-height:var(--mq-control-h);box-sizing:border-box;padding:var(--mq-space-1) var(--mq-space-2);color:var(--mq-control-readonly-text);background:var(--mq-control-readonly-bg);border:1px solid var(--mq-control-readonly-border);border-radius:var(--mq-radius-sm);align-items:center;display:flex}.department-discharge-prototype-module__Xx_ryW__checkRow{min-height:var(--mq-control-h)}.department-discharge-prototype-module__Xx_ryW__pairRow{gap:var(--mq-space-2);grid-template-columns:minmax(5.5rem,8rem) minmax(0,1fr);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__pairRow>*{min-width:0}.department-discharge-prototype-module__Xx_ryW__chipField{gap:var(--mq-space-1);min-width:0;display:grid}.department-discharge-prototype-module__Xx_ryW__chipField>span{color:var(--mq-text);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold)}.department-discharge-prototype-module__Xx_ryW__chipBox,.department-discharge-prototype-module__Xx_ryW__diagnosisChipInput{min-height:var(--mq-control-h);align-items:center;gap:var(--mq-space-1);box-sizing:border-box;padding:2px var(--mq-space-2);background:var(--mq-control-readonly-bg);border:1px solid var(--mq-control-readonly-border);border-radius:var(--mq-radius-sm);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__chipBox em{color:var(--mq-muted);font-size:var(--mq-font-sm);font-style:normal}.department-discharge-prototype-module__Xx_ryW__diagnosisChipInput{background:var(--mq-control-bg);border-color:var(--mq-control-border)}.department-discharge-prototype-module__Xx_ryW__diagnosisChipInput:focus-within{border-color:var(--mq-focus);box-shadow:var(--mq-control-focus-ring)}.department-discharge-prototype-module__Xx_ryW__diagnosisChipInput>input{min-width:9rem;min-height:calc(var(--mq-control-h) - 6px);padding:0 var(--mq-space-1);color:var(--mq-control-text);font:inherit;background:0 0;border:0;outline:0;flex:14rem}.department-discharge-prototype-module__Xx_ryW__chip{align-items:center;gap:var(--mq-space-1);max-width:100%;padding:2px var(--mq-space-2);color:var(--mq-info);background:var(--mq-info-soft);border:1px solid var(--mq-control-selected-border);border-radius:var(--mq-radius-pill);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold);overflow-wrap:anywhere;display:inline-flex}.department-discharge-prototype-module__Xx_ryW__chip b{color:var(--mq-text-strong);font-weight:var(--mq-weight-bold)}.department-discharge-prototype-module__Xx_ryW__chipRemove{width:20px;height:20px;color:var(--mq-muted);border-radius:var(--mq-radius-pill);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:inline-grid}.department-discharge-prototype-module__Xx_ryW__chipRemove:hover{color:var(--mq-danger);background:var(--mq-danger-soft)}.department-discharge-prototype-module__Xx_ryW__chipRemove:focus-visible{outline:2px solid var(--mq-focus);outline-offset:1px}.department-discharge-prototype-module__Xx_ryW__diagnosisLookup,.department-discharge-prototype-module__Xx_ryW__hospitalLookup{align-content:start;gap:var(--mq-space-1);min-width:0;display:grid;position:relative}.department-discharge-prototype-module__Xx_ryW__diagnosisLookup>span,.department-discharge-prototype-module__Xx_ryW__hospitalLookup>span{color:var(--mq-text);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold)}.department-discharge-prototype-module__Xx_ryW__diagnosisLookup>span small{color:var(--mq-muted);font-size:var(--mq-font-xs);font-weight:var(--mq-weight-regular)}.department-discharge-prototype-module__Xx_ryW__doctorLookup{position:relative}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu{z-index:var(--mq-z-dropdown);top:calc(var(--mq-control-h) + var(--mq-space-5));background:var(--mq-surface);border:1px solid var(--mq-control-selected-border);border-radius:var(--mq-radius-sm);max-height:14rem;box-shadow:var(--mq-shadow-md);display:grid;position:absolute;left:0;right:0;overflow:auto}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>button,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>button,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>em{align-items:center;gap:var(--mq-space-2);padding:var(--mq-space-2) var(--mq-space-3);color:var(--mq-text);background:var(--mq-surface);border:0;border-bottom:1px solid var(--mq-border);font:inherit;text-align:left;overflow-wrap:anywhere;grid-template-columns:minmax(4.5rem,auto) minmax(0,1fr);display:grid}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>button,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>button{cursor:pointer}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>button:hover,.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>button.department-discharge-prototype-module__Xx_ryW__lookupActive,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>button:hover,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>button:focus-visible{background:var(--mq-control-selected-bg)}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>button b,.department-discharge-prototype-module__Xx_ryW__hospitalLookupMenu>button strong{color:var(--mq-text-strong);font-weight:var(--mq-weight-bold);white-space:nowrap}.department-discharge-prototype-module__Xx_ryW__diagnosisMenu>em{padding:var(--mq-space-2) var(--mq-space-3);color:var(--mq-muted);font-style:normal}.department-discharge-prototype-module__Xx_ryW__transferRow{display:contents}.department-discharge-prototype-module__Xx_ryW__deathGroup{min-width:0;padding:var(--mq-space-3);background:var(--mq-danger-soft);border:1px solid var(--mq-danger);border-inline-start:4px solid var(--mq-critical);border-radius:var(--mq-radius-md);grid-column:1/-1}.department-discharge-prototype-module__Xx_ryW__deathHeader{align-items:center;gap:var(--mq-space-2);margin:0 0 var(--mq-space-3);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__deathHeader h4{color:var(--mq-danger);font-size:var(--mq-font-md);font-weight:var(--mq-weight-bold);margin:0}.department-discharge-prototype-module__Xx_ryW__deathHeader svg{color:var(--mq-danger)}.department-discharge-prototype-module__Xx_ryW__clinicalRows{gap:var(--mq-space-2);display:grid}.department-discharge-prototype-module__Xx_ryW__clinicalDescriptionRow{align-items:start;gap:var(--mq-space-2) var(--mq-space-3);min-width:0;padding:var(--mq-space-2) var(--mq-space-3);background:var(--mq-surface-muted);border:1px solid var(--mq-border);border-radius:var(--mq-radius-sm);grid-template-columns:minmax(12rem,16rem) minmax(0,1fr);display:grid}.department-discharge-prototype-module__Xx_ryW__clinicalDescriptionRow>.department-discharge-prototype-module__Xx_ryW__validationError{grid-column:2}.department-discharge-prototype-module__Xx_ryW__clinicalTextAreaRow textarea{min-height:56px}.department-discharge-prototype-module__Xx_ryW__footer{justify-content:flex-end;align-items:center;gap:var(--mq-space-2);min-height:48px;padding:var(--mq-space-2) var(--mq-space-3) calc(var(--mq-space-2) + env(safe-area-inset-bottom));background:var(--mq-surface);border-top:1px solid var(--mq-border);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__primaryActions{justify-content:flex-end;align-items:center;gap:var(--mq-space-2);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__spin{animation:.8s linear infinite department-discharge-prototype-module__Xx_ryW__spin}@keyframes department-discharge-prototype-module__Xx_ryW__spin{to{transform:rotate(360deg)}}.department-discharge-prototype-module__Xx_ryW__listOverlay{z-index:var(--mq-z-dialog);background:var(--mq-overlay);position:fixed;inset:0}.department-discharge-prototype-module__Xx_ryW__listDialog{color:var(--mq-text);background:var(--mq-bg-soft);grid-template-rows:auto auto minmax(0,1fr) auto auto;display:grid;position:absolute;inset:0;overflow:hidden}.department-discharge-prototype-module__Xx_ryW__listTools{align-items:end;gap:var(--mq-space-3);padding:var(--mq-space-3);border-bottom:1px solid var(--mq-border);background:var(--mq-surface);flex-wrap:wrap;display:flex}.department-discharge-prototype-module__Xx_ryW__listTools>label{gap:var(--mq-space-1);min-width:0;color:var(--mq-text);font-size:var(--mq-font-sm);font-weight:var(--mq-weight-semibold);display:grid}.department-discharge-prototype-module__Xx_ryW__listCount{margin-inline-start:auto}.department-discharge-prototype-module__Xx_ryW__listTable{align-content:start;gap:var(--mq-space-3);min-height:0;padding:var(--mq-space-3);display:grid;overflow:auto}.department-discharge-prototype-module__Xx_ryW__listGrid{min-height:0}.department-discharge-prototype-module__Xx_ryW__listGrid table{min-width:64rem}.department-discharge-prototype-module__Xx_ryW__listSelect{text-align:center;width:58px}.department-discharge-prototype-module__Xx_ryW__listGrid td small{margin-top:var(--mq-space-1);color:var(--mq-warning);display:block}.department-discharge-prototype-module__Xx_ryW__listDialog>footer{align-items:center;gap:var(--mq-space-2);padding:var(--mq-space-2) var(--mq-space-3);background:var(--mq-surface);border-top:1px solid var(--mq-border);display:flex}.department-discharge-prototype-module__Xx_ryW__listDialog>footer span{color:var(--mq-muted);font-size:var(--mq-font-sm);margin-inline-end:auto}.department-discharge-prototype-module__Xx_ryW__listDepartment{color:var(--mq-muted);font-size:var(--mq-font-sm)}@media (max-width:1366px){.department-discharge-prototype-module__Xx_ryW__body{overflow-y:auto}.department-discharge-prototype-module__Xx_ryW__columns{grid-template-columns:1fr;overflow:visible}.department-discharge-prototype-module__Xx_ryW__leftColumn,.department-discharge-prototype-module__Xx_ryW__rightColumn{padding-inline-end:0;overflow:visible}}@media (max-width:1180px){.department-discharge-prototype-module__Xx_ryW__dialog :is(button,select,input:not([type=checkbox])):not(#department-discharge-prototype-module__Xx_ryW___){min-height:44px}}@media (max-width:820px){.department-discharge-prototype-module__Xx_ryW__col2,.department-discharge-prototype-module__Xx_ryW__col3,.department-discharge-prototype-module__Xx_ryW__col4{grid-column:span 6}.department-discharge-prototype-module__Xx_ryW__col5,.department-discharge-prototype-module__Xx_ryW__col6,.department-discharge-prototype-module__Xx_ryW__col8{grid-column:1/-1}.department-discharge-prototype-module__Xx_ryW__clinicalDescriptionRow{grid-template-columns:1fr}.department-discharge-prototype-module__Xx_ryW__clinicalDescriptionRow>.department-discharge-prototype-module__Xx_ryW__validationError{grid-column:auto}.department-discharge-prototype-module__Xx_ryW__sectionBadges{margin-inline-start:0}}@media (max-width:480px){.department-discharge-prototype-module__Xx_ryW__body,.department-discharge-prototype-module__Xx_ryW__sectionBody,.department-discharge-prototype-module__Xx_ryW__subBody{padding:var(--mq-space-2)}.department-discharge-prototype-module__Xx_ryW__footer{justify-content:stretch}.department-discharge-prototype-module__Xx_ryW__primaryActions{width:100%}.department-discharge-prototype-module__Xx_ryW__primaryActions>*{flex:auto}}@media (prefers-reduced-motion:reduce){.department-discharge-prototype-module__Xx_ryW__spin{animation:none}}
