/* Shared software interface for service desks and customer tracking. */
@font-face{font-family:"OnMyTec Klavika";src:url('../fonts/order-modal/Klavika-Reg.otf') format('opentype');font-style:normal;font-weight:400 600;font-display:swap}
@font-face{font-family:"OnMyTec Klavika";src:url('../fonts/order-modal/Klavika-Bold.otf') format('opentype');font-style:normal;font-weight:700 900;font-display:swap}
html body.sw-field-page,html body.pf-software-workspace.sw-takechat{--ink:#172b42;--muted:#526277;--bg:#f0f3f7;--primary:#1d4ed8;--brand:#1d4ed8;--border:#d8e1ec;background:#f0f3f7!important;color:#172b42!important;font:14px/1.5 "Segoe UI",Arial,sans-serif!important;display:block!important;height:auto!important;min-height:100vh!important;margin:0}
html body.sw-field-page *,html body.sw-takechat *{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#a8b8cb #edf2f7}
html body.sw-field-page ::-webkit-scrollbar,html body.sw-takechat ::-webkit-scrollbar{width:8px;height:8px}
html body.sw-field-page ::-webkit-scrollbar-thumb,html body.sw-takechat ::-webkit-scrollbar-thumb{background:#a8b8cb;border:2px solid #edf2f7;border-radius:8px}
html body.sw-field-page [hidden],html body.sw-takechat [hidden],html body.sw-waiter .d-none{display:none!important}
html body.sw-field-page button,html body.sw-field-page input,html body.sw-field-page textarea,html body.sw-field-page select{font-family:inherit;line-height:1.4}
html body.sw-field-page :is(button,a,input,textarea,select):focus-visible{outline:3px solid #93b8f9!important;outline-offset:2px}
html body.sw-field-page button:disabled{opacity:.55;cursor:wait}
html body.sw-field-page :is(.topbar,.top,.track-hero){background:#fff!important;color:#172b42!important;border-bottom:1px solid #d8e1ec!important;box-shadow:0 2px 5px #172b4208!important}
html body.sw-field-page :is(.brand-title,.top h1,.track-hero h1,.delivery-head h1){font-family:"OnMyTec Klavika","Segoe UI",Arial,sans-serif!important;font-size:22px!important;font-weight:700!important;line-height:1.2}
html body.sw-field-page :is(.top small,.brand-sub,.track-hero p){color:#526277!important;font-size:12px!important}
html body.sw-field-page :is(.top a,.btn-logout){border:1px solid #d8e1ec!important;color:#172b42!important;background:#fff!important;border-radius:5px!important;font-weight:600!important;text-decoration:none}
html body.sw-field-page :is(.section-card,.summary,.route,.track-card,.delivery-card){background:#fff!important;border:1px solid #d8e1ec!important;border-radius:6px!important;box-shadow:0 2px 5px #172b4205!important}
html body.sw-field-page :is(.btn,.filter-btn,.mini-btn,.track-btn,.switch,.driver-tabs button,.sw-tracking-tools button,.sw-location-tools button,.driver-toolbar button){border-radius:5px!important;font-weight:600!important;min-height:40px;font-size:13px!important;transition:background .15s,border-color .15s}
html body.sw-field-page :is(.btn.primary,.btn-primary,.track-btn,.mini-btn.brand){background:#1d4ed8!important;color:#fff!important;border-color:#1d4ed8!important}
html body.sw-field-page :is(.btn-success,.mini-btn.success,.btn.ok){background:#166534!important;color:#fff!important;border-color:#166534!important}
html body.sw-field-page :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){border:1px solid #c8d4e3!important;background:#fff!important;color:#172b42!important;border-radius:5px!important;font-size:14px!important;padding:10px 12px;max-width:100%}
html body.sw-field-page :is(h2,h3,h4,h5){color:#172b42;font-weight:650!important}
html body.sw-field-page .fw-black{font-weight:650!important}
html body.sw-field-page :is(.text-2,.text-3,.muted,.mini-label){color:#526277;font-weight:400;font-size:12px!important}
html body.sw-waiter{padding-bottom:24px!important}
html body.sw-waiter :is(.topbar-inner,.wrap,.call-strip-inner){max-width:1240px!important}
html body.sw-waiter .topbar{padding:13px 22px!important}
html body.sw-waiter .avatar{border-radius:5px!important;background:#eaf1ff!important;color:#1d4ed8!important;font-weight:700}
html body.sw-waiter .wrap{padding:22px!important}
html body.sw-waiter .toolbar{padding:18px!important;gap:14px!important}
html body.sw-waiter .stats-row{gap:12px!important}
html body.sw-waiter .stat{border-radius:5px!important;padding:12px!important;justify-content:flex-start!important;background:#f9fbfd!important}
html body.sw-waiter .stat strong{font-size:23px!important;font-weight:650!important;line-height:1.2!important}
html body.sw-waiter .stat .stat-copy>span{font-size:12px!important;font-weight:400!important;text-transform:none!important}
html body.sw-waiter .stat-icon{border-radius:5px!important;width:38px;height:38px}
html body.sw-waiter .search-box input{padding-left:38px!important;font-weight:400!important;height:44px!important}
html body.sw-waiter .filter-btn{padding:9px 15px!important}
html body.sw-waiter .filter-btn.active{background:#eaf1ff!important;color:#1d4ed8!important;border-color:#a5bff0!important}
html body.sw-waiter .mesa-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:12px!important;margin-top:0!important}
html body.sw-waiter .mesa-card{border-radius:6px!important;min-height:132px!important;box-shadow:none!important;padding:15px!important}
html body.sw-waiter .mesa-card .num{font-size:19px!important;font-weight:650!important}
html body.sw-waiter .mesa-card .label{font-size:11px!important;font-weight:600!important;text-transform:none!important}
html body.sw-waiter .mesa-card .cliente{font-size:13px!important;font-weight:400!important;line-height:1.4!important}
html body.sw-waiter .mesa-status-icon{border-radius:5px!important}
html body.sw-waiter .mesa-card.oculta{display:none!important}
.sw-results{font-size:12px;color:#526277;margin:14px 0 10px}
html body.sw-waiter .call-strip{background:#fff8e7!important;border-bottom:1px solid #ecd7a0!important;position:static!important}
html body.sw-waiter .call-chip{border-radius:5px!important;padding:10px!important;font-size:12px!important;min-height:40px}
html body.sw-waiter .modal .modal-content{border-radius:7px!important;border:1px solid #d8e1ec!important;overflow:hidden}
html body.sw-waiter .modal .modal-header{background:#fff!important;color:#172b42!important;padding:14px 18px!important;border-bottom:1px solid #d8e1ec!important}
html body.sw-waiter .modal .modal-header :is(h5,small){color:#172b42!important}
html body.sw-waiter .modal .btn-close{filter:none!important}
html body.sw-waiter .modal .modal-title{font-size:18px!important}
html body.sw-waiter .modal :is(.rounded-4,.rounded-pill,.comanda-block,.cart-box,.produto-card,.cat-chip,.pedido-item,.soft-input){border-radius:5px!important}
html body.sw-waiter .modal .big-action{font-size:14px!important;min-height:44px!important;padding:11px!important}
html body.sw-waiter .modal :is(.name,.total){font-size:15px!important;font-weight:600!important}
html body.sw-waiter .modal .mesa-actions{padding:12px!important;background:#fff!important;border-top:1px solid #d8e1ec!important}
html body.sw-waiter .modal .cart-box{background:#f0fdf4!important;border-color:#bbdfc7!important}
html body.sw-waiter .modal .modal-body{scrollbar-gutter:stable;max-height:calc(100dvh - 180px)}
html body.sw-driver .top{padding:18px 22px!important}
html body.sw-driver .top-row{max-width:1100px!important;margin:auto!important}
html body.sw-driver .top h1{margin:4px 0!important}
html body.sw-driver .wrap{max-width:1144px!important;padding:22px!important}
html body.sw-driver .summary{padding:18px!important;display:flex!important;justify-content:space-between!important;gap:16px!important;align-items:center!important}
html body.sw-driver .summary strong{font-size:18px!important;font-weight:650!important}
html body.sw-driver .summary span{font-size:12px!important;color:#526277!important;margin-top:5px}
html body.sw-driver .switch{max-width:none!important;white-space:nowrap;background:#fff!important;border:1px solid #d8e1ec!important}
html body.sw-driver .driver-tabs{gap:8px!important;margin:12px 0 18px!important}
html body.sw-driver .driver-tabs button{min-height:44px!important}
html body.sw-driver .driver-tabs button[aria-pressed=true]{background:#eaf1ff!important;border-color:#a5bff0!important;color:#1d4ed8!important}
html body.sw-driver .list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
html body.sw-driver .route{padding:18px!important;margin:0!important;min-width:0}
html body.sw-driver .route.active{border-left:3px solid #1d4ed8!important}
html body.sw-driver .route h2{font-size:18px!important;margin:5px 0!important}
html body.sw-driver .info{border-radius:5px!important;background:#f4f7fb!important}
html body.sw-driver .info span{font-size:12px!important;color:#526277!important}
html body.sw-driver .badge{border-radius:4px!important;font-size:12px!important}
html body.sw-driver .address{font-size:14px!important;overflow-wrap:anywhere}
html body.sw-driver .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body.sw-driver .actions .btn{font-size:12px!important;white-space:normal;display:flex;align-items:center;justify-content:center}
html body.sw-driver .driver-confirm{border:1px solid #d8e1ec;border-radius:7px;padding:22px;font-family:"Segoe UI",Arial,sans-serif}
html body.sw-driver .driver-confirm h2{font-size:18px}
html body.sw-driver #confirmCode{font-size:26px!important;letter-spacing:8px}
html body.sw-driver :is(#confirmError,#problemError){color:#b42332;background:#fff0f0;padding:10px;border-radius:5px}
html body.sw-driver .empty{grid-column:1/-1;border:1px dashed #c8d4e3;border-radius:6px;background:#fff;padding:30px}
.sw-route-search{display:block;font-size:13px;font-weight:600;margin:16px 0 10px}.sw-route-search input{display:block;width:100%;margin-top:6px;min-height:44px}
.sw-location-tools,.sw-tracking-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:12px;color:#526277;flex-wrap:wrap}
.sw-location-tools button,.sw-tracking-tools button{border:1px solid #c8d4e3;background:#fff;padding:8px 13px;color:#172b42;cursor:pointer}
html body.sw-field-page :is(.track-shell,.delivery-wrap){width:calc(100% - 40px)!important;max-width:1000px!important;margin:24px auto!important;padding:0!important}
html body.sw-order .track-hero{border-radius:6px!important;padding:20px!important;box-shadow:none!important;margin-bottom:16px!important}
html body.sw-order .track-card{padding:20px!important;margin-bottom:16px!important}
html body.sw-order .track-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) auto;gap:12px!important;align-items:end!important}
html body.sw-order .track-form label{font-size:13px;font-weight:600}.track-form label small{font-weight:400;color:#526277}
html body.sw-order .track-form input{display:block;width:100%;margin-top:6px;min-height:44px}
html body.sw-order .track-btn{height:44px!important;padding:10px 20px!important}
html body.sw-order .brand-logo{border-radius:6px!important;width:48px;height:48px}
html body.sw-order .order-id{font-size:18px!important;font-weight:650!important}
html body.sw-order :is(.order-date,.pill){font-size:12px!important}
html body.sw-order .pill{border-radius:4px!important;padding:6px 10px!important;font-weight:600!important}
html body.sw-order .steps{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px!important;margin:22px 0 34px!important}
html body.sw-order .step{height:5px!important;border-radius:3px!important;background:#e4eaf2!important;position:relative}
html body.sw-order .step.on{background:#1d4ed8!important}
html body.sw-order .step small{position:absolute;top:9px;left:0;font-size:11px;color:#526277;line-height:1.2}
.sw-order-phase{color:#1d4ed8;font-size:13px;font-weight:600;margin:8px 0 15px}
html body.sw-order .meta{background:#f5f8fc!important;border:1px solid #e5ebf3!important;border-radius:5px!important;padding:14px!important;gap:12px!important}
html body.sw-order .meta small{font-size:12px!important;color:#526277!important}
html body.sw-order .meta strong{font-size:14px!important;font-weight:600!important}
html body.sw-order :is(.items-title,.history-title){font-size:13px!important;font-weight:650!important}
html body.sw-order .items .item{font-size:13px!important;padding:12px 0!important}
html body.sw-order .items .item strong{font-weight:600!important}
html body.sw-order .pix-area{background:#f5faf7!important;border:1px solid #c5dfcf!important;border-radius:5px!important}
html body.sw-order .pix-copy{font-size:12px!important;border-radius:5px!important;overflow-wrap:anywhere;user-select:all}
html body.sw-order .mini-btn{min-height:42px!important;padding:10px 13px!important;text-decoration:none}
html body.sw-order .history-desc{font-size:12px!important}
html body.sw-delivery .delivery-card{padding:22px!important;margin-bottom:16px!important}
html body.sw-delivery .delivery-head{margin-top:8px}
html body.sw-delivery .delivery-eyebrow{font-size:12px!important;letter-spacing:.2px!important;color:#526277!important;font-weight:600!important;text-transform:none!important}
html body.sw-delivery .delivery-head p{font-size:14px!important;color:#526277!important}
html body.sw-delivery .delivery-order{border-radius:5px!important;background:#eaf1ff!important;color:#1d4ed8!important;font-size:15px!important}
html body.sw-delivery .delivery-status{border-radius:5px!important;background:#edf4ff!important;border:1px solid #cbdbf5!important;color:#1d4ed8!important;padding:16px!important}
html body.sw-delivery .delivery-status strong{font-size:18px!important;font-weight:650!important}
html body.sw-delivery .delivery-status small{font-size:12px!important;color:#526277!important}
html body.sw-delivery .delivery-timeline{gap:12px!important;margin-top:20px!important}
html body.sw-delivery .delivery-step{font-size:13px!important}
html body.sw-delivery .delivery-step.done .delivery-dot{background:#1d4ed8!important;border-color:#1d4ed8!important}
html body.sw-delivery .delivery-info strong{font-size:16px!important;font-weight:600!important}
html body.sw-delivery .delivery-info small{font-size:12px!important;color:#526277!important}
html body.sw-delivery .delivery-code{background:#fff!important;border-left:3px solid #1d4ed8!important;text-align:left!important}
html body.sw-delivery .delivery-code strong{font-size:34px!important;letter-spacing:10px!important;color:#172b42!important;display:block;margin:10px 0}
html body.sw-delivery .delivery-code p{font-size:13px!important;color:#526277!important;margin:0}
html body.sw-delivery .delivery-map{border:1px solid #d8e1ec;border-radius:5px!important;margin-top:10px!important;min-height:250px;background:#f3f7fb}
html body.sw-delivery .delivery-map-empty{font-size:14px!important;color:#526277!important;line-height:1.6!important;min-height:250px;display:grid;place-content:center;text-align:center;padding:30px}
html body.sw-delivery .delivery-footer{font-size:12px!important;margin:0!important}
html body.sw-takechat .tc-shell{max-width:none!important}
html body.sw-takechat :is(.tc-card,.tc-message,.tc-switch,.tc-preview){border:1px solid #d8e1ec!important;border-radius:6px!important;box-shadow:none!important}
html body.sw-takechat .tc-card{padding:18px!important}
html body.sw-takechat :is(.tc-title h3,.tc-card h3,.tc-card h4){font:650 16px/1.4 "Segoe UI",Arial,sans-serif!important;color:#172b42!important}
html body.sw-takechat :is(.btn,.form-control,.tc-variable){font-family:"Segoe UI",Arial,sans-serif!important;border-radius:5px!important;font-size:13px!important}
html body.sw-takechat .form-control{font-size:14px!important;background:#fff!important}
html body.sw-takechat .tc-message summary strong{font-size:14px!important;font-weight:600!important}
html body.sw-takechat .tc-message summary small{font-size:12px!important}
html body.sw-takechat .tc-preview{white-space:pre-wrap;background:#f1f6ff!important;font-size:13px!important;color:#29405d!important;padding:14px!important;margin-top:6px}
html body.sw-takechat .tc-savebar{background:#fff!important;border:1px solid #d8e1ec!important;border-radius:6px!important;position:sticky!important;bottom:12px!important;z-index:10;padding:12px 16px!important;box-shadow:0 3px 15px #172b4210!important}
html body.sw-takechat .tc-savebar.is-dirty{border-color:#9ab4ed!important}
.sw-section-nav{display:flex;gap:5px;padding:6px;border:1px solid #d8e1ec;background:#fff;border-radius:6px;margin-bottom:16px;overflow-x:auto}
.sw-section-nav a{padding:9px 14px;color:#334b68;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;border-radius:4px}.sw-section-nav a:hover{color:#1d4ed8;background:#edf4ff}
.sw-template-search{display:block;font-size:13px;font-weight:600;margin:12px 0}.sw-template-search input{margin-top:6px}
@media(min-width:900px){html body.sw-waiter .mesa-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:700px){html body.sw-field-page :is(.wrap,.top,.topbar){padding:14px!important}html body.sw-field-page :is(.track-shell,.delivery-wrap){width:calc(100% - 24px)!important;margin:12px auto!important}html body.sw-driver .list{grid-template-columns:1fr}html body.sw-driver .driver-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}html body.sw-driver .summary{align-items:flex-start!important}html body.sw-field-page :is(.track-card,.delivery-card,.track-hero){padding:16px!important}html body.sw-order .track-form{grid-template-columns:1fr!important}html body.sw-order .meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.sw-waiter .mesa-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}html body.sw-waiter .stats-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}html body.sw-waiter .mesa-card{padding:12px!important}html body.sw-waiter .toolbar{padding:14px!important}html body.sw-waiter .modal .modal-body{max-height:calc(100dvh - 90px)}html body.sw-takechat .tc-savebar{flex-wrap:wrap!important;gap:10px!important}html body.sw-takechat .tc-savebar button{width:100%}.sw-section-nav a{padding:8px 10px}.sw-tracking-tools{gap:8px}.sw-order-phase{margin-top:14px}html body.sw-order .step small{font-size:10px!important}html body.sw-order .order-top{gap:10px;flex-wrap:wrap}html body.sw-driver .summary strong{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){html body.sw-field-page *,html body.sw-takechat *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html body.sw-waiter .sw-service-dialog{width:min(460px,calc(100vw - 24px));border:1px solid #d8e1ec;border-radius:7px;padding:22px;color:#172b42;font-family:"Segoe UI",Arial,sans-serif;max-height:90dvh;overflow:auto;box-shadow:0 20px 70px #172b4240}
html body.sw-waiter .sw-service-dialog::backdrop{background:#172b4270}
html body.sw-waiter .sw-service-dialog h2{font-size:18px;margin:0 0 10px}
html body.sw-waiter .sw-service-dialog p{font-size:14px;margin:0 0 16px}
html body.sw-waiter .sw-service-dialog textarea{width:100%;margin:6px 0 12px}
.sw-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
@media(max-width:700px){html body.sw-driver .summary{flex-direction:column!important;align-items:stretch!important;gap:12px!important}html body.sw-driver .switch{width:100%;min-height:44px!important}html body.sw-driver .summary span{line-height:1.5!important}}
html body.sw-takechat .tc-switch strong{font-size:13px!important;font-weight:600!important}
html body.sw-takechat .tc-switch small{font-size:12px!important;font-weight:400!important;line-height:1.5!important}
html body.sw-takechat .tc-switch .form-check-input:checked{background-color:#1d4ed8!important;border-color:#1d4ed8!important}
