#intakeDesk { max-width: 60rem; }
#intakeDesk h2 { margin: 0 0 1rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.desk-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.desk-switch button { background: white; color: #334b54; border: 1px solid #c9d7dc; border-radius: 6px; padding: .55rem 1rem; cursor: pointer; font: inherit; }
.desk-switch button[aria-pressed=true] { background: #174e54; border-color: #174e54; color: white; }
.desk-choices { background: white; padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid #d9e1e4; border-radius: 12px; }
.desk-choices h3 { margin: 0 0 .65rem; font-size: 1.15rem; }
#dwHome:not([data-desk-view=orders]) .desk-after-order { display: none; }
.desk-after-order { font-size: .94rem; margin-top: 1rem; }
.desk-after-order a { color: #165960; }
.desk-choices > :is(button,a) { box-sizing: border-box; display: grid; align-items: center; grid-template: 'icon title description arrow' / 2rem 7.5rem minmax(0,1fr) 1rem; gap: .8rem; width: 100%; min-height: 3.5rem; text-align: start; padding: .75rem .55rem; background: transparent; color: #233d45; font: inherit; text-decoration: none; border: 0; border-top: 1px solid #e1e8ea; cursor: pointer; }
.saas-ui .desk-choices > [data-ui-icon]::before { grid-area: icon; margin: 0; }
.desk-choices > :is(button,a)::after { grid-area: arrow; justify-self: end; content: '›'; font-size: 1.3rem; color: #497177; }
.desk-choices > :is(button,a):hover { background: #f0f7f6; }
.desk-choices > :is(button,a) > strong { grid-area: title; font-size: .96rem; line-height: 1.45; }
.desk-choices > :is(button,a) > span { grid-area: description; color: #536972; font-size: .9rem; line-height: 1.55; }
#intakeDesk :focus-visible { outline: 2px solid #176f7c; outline-offset: 2px; }
.intake-desk-enabled #dwHome:not([data-desk-view=ops]) > :is(.dw-home-heading,.dw-metrics,.dw-card),
.intake-desk-enabled #dwHome[data-desk-view=new] .dw-home-grid,
.intake-desk-enabled #dwHome:not([data-desk-view=new]) .desk-choices,
.intake-desk-enabled #dwHome[data-desk-view=orders] .dw-home-side,
.intake-desk-enabled #dwHome[data-desk-view=drafts] :is(.dw-order-card,.dw-home-side > section:first-child),
.intake-desk-enabled #dwNewQuick { display: none; }
.intake-desk-enabled #dwHome:is([data-desk-view=drafts],[data-desk-view=orders]) .dw-home-grid { display: block; }
.intake-desk-enabled #dwHome:is([data-desk-view=new],[data-desk-view=drafts]) .dw-order-dates { display: none; }
.dw-order-dates { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 10px; margin: 0 0 12px; padding: 10px 12px; background: #fff; border: 1px solid #d9e1e4; border-radius: 8px; }
.dw-order-date-choices { display: flex; flex-wrap: wrap; gap: 4px; }
.dw-order-dates :is(input, button) { min-height: 34px; padding: 4px 9px; border: 1px solid #c9d7dc; border-radius: 5px; color: #233d45; background: #fff; font: inherit; }
.dw-order-dates :is(button[aria-pressed=true], button[type=submit]) { color: #fff; background: #174e54; border-color: #174e54; }
.dw-order-dates label { display: grid; gap: 2px; font-size: .82rem; }
.dw-order-dates :disabled { opacity: .56; }
.intake-desk-enabled:has(#dwHome:is([data-desk-view=new],[data-desk-view=orders]):not([hidden])) :is(.dw-date-label,.dw-header-actions > .dw-check-field),
.intake-desk-enabled:not(.dw-single-desk):has(#dwHome:not([hidden])) .dw-tabs-strip:not(:has([data-close-tab])) { display: none; }
.dw-intake-essentials { padding: 1rem; background: #eff7f6; border: 1px solid #d6e5e3; border-radius: 8px; align-items: start; }
.dw-intake-ocr { align-self: center; }
.dw-intake-form > fieldset > details { padding: .65rem 1rem; }
.dw-intake-form .dw-template-picker { margin: 0; }
.dw-intake-form .dw-intake-route { align-items: start; margin-bottom: .5rem; }
.dw-intake-form .dw-agency-picker { padding: 0; border: 0; background: transparent; }
.dw-intake-ocr-dialog textarea { width: 100%; }
.dw-intake-ocr-dialog [data-ocr-result] { max-height: 12rem; overflow: auto; }
.dw-intake-ocr-dialog [data-ocr-result] small { display: block; }
@media (max-width: 560px) {
  .desk-choices > :is(button,a) { grid-template: 'icon title arrow' 'icon description arrow' / 2rem minmax(0,1fr) 1rem; gap: .2rem .65rem; }
}
#dwGuestSearch { padding: 0 1rem .6rem; }
#dwGuestSearch summary { width: fit-content; cursor: pointer; color: #165960; font-size: .875rem; }
#dwGuestSearch form, .dw-guest-pages { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: .5rem; }
#dwGuestSearch form .dw-search { min-width: 0; flex: 0 1 16rem; }
#dwGuestSearch [role="status"] { margin: .45rem 0; font-size: .875rem; color: #536972; }
#dwGuestSearch .dw-order-list { overflow-x: auto; }
.dw-order-card:has(#dwGuestSearch[open]:not([hidden])) #dwOrders { display: none; }
