.c19-chat{display:flex;flex-direction:column;height:clamp(390px,70dvh,760px);min-height:0;padding:0!important;position:relative;overflow:hidden}.c19-head{padding:12px 14px!important;flex-shrink:0}.c19-head h3{margin:0;font-size:17px}.c19-external{font-size:12px;color:#737b74;text-decoration:underline}.c19-feed{overflow:auto;flex:1;min-height:0;padding:12px;overscroll-behavior:contain;overflow-anchor:none}.c19-feed>.btn{display:block;margin:0 auto 12px}.c19-messages{display:flex;flex-direction:column;gap:9px;padding-bottom:14px}.c19-message{max-width:88%;align-self:flex-start;border-radius:14px;background:#f0f2ef;padding:10px 12px;overflow-wrap:anywhere;white-space:normal}.c19-message.outgoing{align-self:flex-end;background:#e6f4e9}.c19-message.note{background:#fff6d7}.c19-message p{white-space:pre-wrap;margin:5px 0 0;line-height:1.45;font-size:14px}.c19-meta{display:flex;gap:12px;justify-content:space-between;font-size:10px;color:#748078}.c19-meta b{font-weight:650}.c19-composer{position:relative;flex-shrink:0;border-top:1px solid #e0e6df;background:#fff;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.c19-editor{min-height:48px!important;max-height:150px!important;width:100%;font-size:16px!important;resize:vertical;padding:10px!important}.c19-status{grid-column:1/-1;margin:0!important;font-size:12px;max-height:60px;overflow:auto;overflow-wrap:anywhere}.c19-status:empty{display:none}.c19-new{position:absolute!important;right:15px;bottom:115px;z-index:3;background:#fff5bd!important;box-shadow:0 3px 15px #0002}.c19-new[hidden],.c19-feed>.btn[hidden],.c19-external[hidden]{display:none!important}.c19-thumb{display:block!important;border:0!important;padding:0!important;margin:7px 0 0!important;background:transparent!important;min-height:0!important}.c19-thumb img{display:block;max-width:100%;width:180px;max-height:160px;object-fit:cover;border-radius:10px}.c19-file{display:block;margin-top:7px;font-size:13px;text-decoration:underline}.c19-fallback{font-size:13px;display:flex;flex-direction:column;gap:5px}.c19-audio audio{display:block;max-width:100%;width:250px}.c19-audio small{display:block;margin:5px 0}.c19-lightbox{position:fixed;inset:0;z-index:27000;background:#101712ed;display:flex;align-items:center;justify-content:center;padding:65px 15px 20px}.c19-lightbox>.btn{position:absolute;right:16px;top:15px}.c19-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.order-chat-tabs{display:flex;gap:7px;margin:12px 0}.order-columns.tab-messages.has-messages{display:block}.order-columns.tab-messages .order-stage-work,.order-columns.tab-messages .order-details-column,.order-columns.tab-messages .order-finance{display:none}.order-columns.tab-messages .order-conversation{width:100%}.c19-chat .c19-message button{min-height:0}.c19-chat audio{min-width:0}
@media(max-width:700px){.mobile-order-app .c19-chat{height:calc(100dvh - 245px);min-height:350px;margin:0}.mobile-order-app .mobile-order-dock:has(.mobile-dock-actions[data-chat-dock]:not([hidden])){display:none}.mobile-order-pane:has(.c19-chat){padding-bottom:0}.c19-message{max-width:90%}.c19-composer{grid-template-columns:minmax(0,1fr)}.c19-composer .btn{min-height:42px}.c19-new{bottom:150px}.c19-head{padding:9px 12px!important}.c19-feed{padding:10px}.c19-thumb img{width:160px}}

.c19-new{position:static!important;align-self:flex-end;flex-shrink:0;margin:5px 12px!important}.c19-thumb img{height:140px}.c19-lightbox img{height:auto}

.a19-attention{padding:0!important;overflow:visible!important;margin:12px 0!important}.a19-attention>summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:10px 14px;cursor:pointer;font-size:14px;list-style:none}.a19-attention>summary::-webkit-details-marker{display:none}.a19-attention[open]>summary>span{transform:rotate(90deg)}.a19-attention .attention-items{display:flex;flex-direction:column;padding:0 12px 12px;gap:7px;max-height:50dvh;overflow:auto}.a19-item{display:flex!important;justify-content:space-between;align-items:center;gap:12px;min-width:0}.a19-item>a{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.a19-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.a19-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.a19-actions .btn{font-size:12px;min-height:36px;padding:7px 10px}.a19-snooze>summary{cursor:pointer;border:1px solid #d3d8d2;padding:7px 10px;border-radius:9px;font-size:12px;min-height:36px;list-style:none;background:#fff}.a19-snooze-options{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.a19-manual{display:flex;align-items:center;gap:8px;border:1px solid #e4d28d;padding:6px 10px;background:#fff7d5;border-radius:10px;margin:8px 0;font-size:13px}.m19-row,.m19-filters{display:none}
@media(max-width:768px){.board-v19 .main-max{display:flex;flex-direction:column}.board-v19 .page-top,.board-v19 .kpi-grid,.board-v19 .section-toolbar,.board-v19 .page-title-row p{display:none}.board-v19 .page-title-row{order:1;margin:0 0 7px;gap:8px}.board-v19 .page-title-row h1{font-size:22px}.board-v19 .b19-search{order:2;position:sticky;top:52px;z-index:9;background:var(--bg,#f2f4f0);padding:6px 0;margin:0;display:block}.board-v19 .b19-search select{display:none}.board-v19 .b19-search input{min-height:44px;font-size:16px;width:100%}.board-v19 .a19-attention{order:3;margin:7px 0!important}.board-v19 .m19-filters{order:4;display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 9px;scrollbar-width:none}.m19-filters .btn{flex:0 0 auto;font-size:12px;min-height:36px}.board-v19 #board-results{order:5}.board-v19 .orders-list{display:flex;flex-direction:column;gap:0;background:#fff;border-radius:12px;border:1px solid #dfe5df;overflow:hidden}.board-v19 .order-card{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;display:block!important;border-radius:0!important;min-height:0!important;background:#fff!important}.board-v19 .order-card+.order-card{border-top:1px solid #e5e9e4!important}.board-v19 .order-card>:not(.m19-row){display:none!important}.board-v19 .m19-row{display:flex;align-items:center;gap:10px;height:62px;padding:7px 12px;text-decoration:none;color:inherit}.m19-dot{width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#909990}.m19-dot.red{background:#d94737}.m19-dot.yellow{background:#e6b912}.m19-dot.green{background:#30915c}.m19-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.m19-copy b{font-size:14px;line-height:20px}.m19-copy span{font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m19-row>small{font-size:11px;max-width:100px;text-align:right;line-height:1.3}.a19-item{align-items:stretch;flex-direction:column;gap:7px}.a19-actions{flex-wrap:wrap;flex-shrink:1}.a19-attention>summary{font-size:13px;min-height:38px}.a19-manual{font-size:12px}.board-v19 .main-shell{padding:12px 10px 20px}}
@media(max-width:700px){.c19-chat{scroll-margin-bottom:80px}.mobile-order-app .c19-chat{height:calc(100dvh - 330px);min-height:310px}}
@media(max-width:768px){.board-v19 .kpi-grid{display:none!important}.board-v19 .page-title-row{display:contents}.board-v19 .page-title-row>div:first-child{order:1}.board-v19 .page-title-row>.action-row{order:3;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:3px 0;scrollbar-width:none}.board-v19 .page-title-row>.action-row>.btn,.board-v19 .page-title-row>.action-row>a{font-size:11px;min-height:34px;white-space:nowrap;flex:0 0 auto;padding:7px 9px}.board-v19 .a19-attention{order:4}.board-v19 .m19-filters{order:5}.board-v19 #board-results{order:6}}

.cr19-confirm{margin:15px 0;padding:15px;background:#fff8dc;border:1px solid #ebd678;border-radius:13px}.cr19-confirm pre{font:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.cr19-confirm h3{font-size:16px;margin:0 0 10px}

.c19-binding{flex-shrink:0;margin:0!important;padding:5px 12px;border-bottom:1px solid #e4e9e2;font-size:12px}.c19-binding>summary{cursor:pointer;color:#66756a}.c19-binding>div{display:flex;gap:7px;padding:8px 0}.c19-binding input{min-width:0;font-size:14px}.c19-binding .btn{white-space:nowrap}
