#awpSmartWorker{border:1px solid #93b5d1;border-radius:12px;padding:12px;margin:10px 0 14px;background:var(--card,#f1f7fb);color:var(--text,#183247)}#awpSmartWorker .awp-smart-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}#awpSmartWorker small{opacity:.8}#awpSmartWorker .awp-smart-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}#awpSmartWorker .awp-smart-actions button{font-size:13px;min-height:40px;border-radius:8px;background:#176b72;color:#fff;border:0}#awpSmartWorker .awp-smart-actions button:disabled{opacity:.5}#awpSmartStatus{font-size:12px;line-height:1.5;overflow-wrap:anywhere}#awpSmartPreview{margin-top:10px;font-size:12px}#awpOcrText{width:100%;box-sizing:border-box;min-height:110px;margin:8px 0;background:var(--input-bg,#fff);color:var(--text,#183247)}#awpUseOcr{width:100%;min-height:36px}html[data-theme="dark"] #awpSmartWorker,body.dark #awpSmartWorker{background:#182b3c;color:#f1f5f9;border-color:#54718c}

/* Rev 528: dense input card */
#awpSmartWorker{padding:8px!important;margin:5px 0 7px!important;border-radius:9px!important}
#awpSmartWorker .awp-smart-head{margin:0!important;line-height:1.2!important}
#awpSmartWorker .awp-smart-head strong{font-size:12px!important}
#awpSmartWorker .awp-smart-actions{gap:6px!important;margin:6px 0 0!important}
#awpSmartWorker .awp-smart-actions button{min-height:36px!important;padding:6px 5px!important;margin:0!important;font-size:12px!important}
#awpSmartStatus:empty{display:none!important}
#awpSmartStatus:not(:empty){margin-top:5px!important}
#awpSmartPreview{margin-top:5px!important}
#awpSmartPreview summary{font-size:11px!important}

#workers .worker-contact-action-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:7px 0 0}
#workers .worker-contact-action-row>button{width:auto;min-width:0;max-width:100%;flex:0 1 auto;margin:0;white-space:nowrap;padding:8px 10px;font-size:12px}
#workers #workerContactStatus:empty,#workers #awpSmartStatus:empty{display:none!important}
#workers #awpSmartStatus{display:block;margin-top:4px;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:340px){#workers .worker-contact-action-row{gap:5px}#workers .worker-contact-action-row>button{padding:7px 6px;font-size:11px}}
