/* Dedicated operator uses the same mobile title/back contract as the main app. */
.warehouse-operator-mobile-header{display:none}
@media(max-width:700px){
 .shell[data-mobile-screen="content"]:has(.warehouse-workspace)>.mobile-drill-header>[aria-label="当前页面标题"]{display:block!important;min-width:0;flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .warehouse-operation-parent,.warehouse-native-order-parent{display:none}
 .warehouse-operator-mobile-header{display:flex;align-items:center;gap:12px;flex-shrink:0}
 .warehouse-operator-mobile-header>span{min-width:0;flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .warehouse-operator-shell .warehouse-menu-back{display:none!important}
 .warehouse-workspace .warehouse-native-fulfillment.has-order-detail>.warehouse-native-order-list{display:none}
 .warehouse-operator-shell .warehouse-workspace:not(.has-detail)>.channel-detail{display:none!important}
 .warehouse-operator-shell .warehouse-workspace.has-detail>.channel-people{display:none!important}
 .warehouse-operator-shell .warehouse-workspace.has-detail>.channel-detail{display:flex!important;width:100%;min-width:0}
 .warehouse-workspace .warehouse-outbound-operations:not(.has-operation-detail)>.warehouse-inbound-details{display:none}
 .warehouse-workspace .warehouse-outbound-operations.has-operation-detail>.warehouse-inbound-methods{display:none}
 .warehouse-operator-shell [data-mobile-page-caption]{display:none!important}
 .warehouse-operator-shell .warehouse-card-title:has(>[data-mobile-page-caption]){display:none}
 .warehouse-operator-shell .warehouse-outbound-operations>p{display:none}
 .warehouse-operator-shell .warehouse-inbound-details>.warehouse-operation-parent{display:none}
}

/* Intake conversation stays inside the existing content pane on both devices. */
.warehouse-photo-policy,.warehouse-photo-dialogue{margin:12px 0;min-width:0;overflow-wrap:anywhere}
.warehouse-photo-policy textarea,.warehouse-photo-dialogue textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:80px}
.warehouse-photo-turn{padding:12px 0;border-bottom:1px solid #dbe3ea}
.warehouse-photo-turn p{white-space:pre-wrap;overflow-wrap:anywhere}
.warehouse-photo-messages{max-height:460px;overflow:auto;overscroll-behavior:contain}
.warehouse-photo-blockers{border-left:3px solid #b96800;padding:10px 12px;background:#fff9ed;margin:12px 0}
.warehouse-photo-policy fieldset,.warehouse-photo-dialogue form{min-width:0}
@media(max-width:700px){
 .shell[data-mobile-screen="content"]:has(.warehouse-workspace)>.mobile-drill-header{background:#fff!important}
}

/* Result-first intake: secondary tools live behind the message composer's plus. */
.warehouse-photo-flow{position:relative;display:flex;flex-direction:column;min-height:calc(100dvh - 180px);box-sizing:border-box;padding-bottom:12px}
.warehouse-intake-title{margin:0 0 16px;min-width:0;overflow-wrap:anywhere}
.warehouse-intake-title>small{color:#61707c}
.warehouse-intake-title>h3{font-weight:500;margin:6px 0 0;line-height:1.5;white-space:pre-wrap}
.warehouse-photo-result{margin:12px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.warehouse-photo-result p{margin:8px 0}
.warehouse-photo-retake{color:#8b4900;font-size:13px;line-height:1.5;margin:6px 0;white-space:normal}
.warehouse-intake-composer{position:sticky;bottom:0;z-index:20;display:flex;align-items:flex-end;gap:8px;min-width:0;flex-shrink:0;margin:24px 0 0;margin-top:auto;padding:8px 10px;border:1px solid #d5d9df;border-radius:28px;background:#fff;box-shadow:0 2px 14px #00000008;box-sizing:border-box}
.warehouse-intake-composer textarea{display:block;flex:1;width:0;min-width:0;min-height:36px;max-height:120px;padding:7px 0;border:0;border-radius:0;resize:none;box-sizing:border-box;line-height:22px;background:transparent;box-shadow:none;overflow-y:auto}
.warehouse-intake-composer textarea:focus{outline:0}
.warehouse-intake-composer:focus-within{outline:2px solid #6684a3;outline-offset:2px}
.warehouse-intake-composer button{flex:0 0 36px;min-width:36px;min-height:36px;width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;color:#111;background:transparent}
html body #root .warehouse-intake-composer .warehouse-intake-plus{font-size:30px!important;font-weight:400!important;line-height:1}
html body #root .warehouse-intake-composer .warehouse-intake-send{font-size:24px!important;background:#172423;color:#fff}
.warehouse-intake-composer .warehouse-intake-send:disabled{background:#eef0f2!important;color:#8b9299!important}
.warehouse-intake-tools{position:fixed;inset:0;width:min(620px,calc(100vw - 32px));max-width:none;max-height:80dvh;padding:0;border:1px solid #dbe0e5;border-radius:16px;box-shadow:0 12px 48px #0002;box-sizing:border-box;color:#172423;background:#fff}
.warehouse-intake-tools::backdrop{background:#0006}
.warehouse-intake-tools[open]{display:flex;flex-direction:column}
.warehouse-intake-tools>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:14px 16px;border-bottom:1px solid #e7ebef;background:#fff}
.warehouse-intake-tools-body{padding:16px;overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0}
.warehouse-intake-tools-body>details{padding:12px 0;border-bottom:1px solid #e7ebef;margin:0}
.warehouse-intake-tools-body textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:80px}
.warehouse-intake-tools-body input,.warehouse-intake-tools-body select{max-width:100%;box-sizing:border-box}
@media(max-width:700px){
 .warehouse-photo-flow{min-height:calc(100dvh - 100px);padding-bottom:100px}
 .warehouse-intake-composer{position:fixed;left:16px;right:16px;bottom:calc(8px + env(safe-area-inset-bottom,0px) + var(--intake-keyboard-offset,0px));margin:0;z-index:35}
 .warehouse-intake-tools{max-height:80dvh}
}
