@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

[hidden]{display:none!important}
:root{font-family:Vazirmatn,Tahoma,Arial,sans-serif;color:#202123;background:#fff;--sidebar:#f7f7f8;--hover:#ececef;--line:#e5e5e5;--muted:#6f7077;--brand:#111827;--green:#10a37f;--danger:#c63737}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden}
body{background:#fff}
button,input,textarea{font:inherit}
button{color:inherit}
.app-shell{height:100dvh;display:flex;direction:rtl;overflow:hidden}
.sidebar{width:280px;flex:0 0 280px;min-width:0;display:flex;flex-direction:column;direction:rtl;overflow:hidden;background:var(--sidebar);border-left:1px solid #ededee;z-index:30}
.sidebar-top{flex:0 1 auto;min-width:0;min-height:0;max-height:52dvh;overflow-x:hidden;overflow-y:auto;padding:10px 10px 0;scrollbar-width:thin}
.sidebar-brand{height:44px;display:flex;align-items:center;gap:10px;padding:0 8px;font-size:14px;font-weight:700}
.brand-logo,.welcome-logo,.dialog-logo{display:grid;place-items:center;background:#111;color:#fff;font-weight:700}
.brand-logo{width:28px;height:28px;border-radius:9px;font-size:13px}
.plain-icon{width:34px;height:34px;border:0;border-radius:9px;background:transparent;display:grid;place-items:center;cursor:pointer;font-size:18px}
.plain-icon:hover{background:var(--hover)}
.sidebar-brand .plain-icon{margin-right:auto}
.new-chat{width:100%;height:44px;margin:6px 0 8px;padding:0 12px;display:flex;align-items:center;gap:9px;border:1px solid #dededf;border-radius:12px;background:#fff;cursor:pointer;font-size:13px;font-weight:600;box-shadow:0 1px 2px #00000008}
.new-chat:hover{background:#fbfbfb}
.new-chat>span:first-child{font-size:20px;font-weight:400}
.new-chat kbd{margin-right:auto;color:#9a9aa0;background:transparent;font:10px inherit}
.conversation-search{height:38px;display:flex;align-items:center;gap:7px;margin-bottom:6px;padding:0 10px;border-radius:10px;color:#888}
.conversation-search:focus-within{background:#fff;box-shadow:0 0 0 1px #ddd}
.conversation-search input{width:100%;border:0;outline:0;background:transparent;font-size:12px;color:#222}
.side-nav{display:grid;gap:2px;border-bottom:1px solid #e7e7e8;padding-bottom:8px}
.side-nav button,.sidebar-option{width:100%;min-width:0;height:39px;display:flex;align-items:center;gap:10px;border:0;border-radius:9px;padding:0 11px;background:transparent;text-align:right;cursor:pointer;font-size:12px}
.sidebar-option{color:inherit;text-decoration:none}
.side-nav button:hover,.sidebar-option:hover{background:var(--hover)}
.nav-icon{width:18px;font-size:18px;text-align:center}
.inbox-badge{margin-right:auto;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#111;color:#fff;font:700 10px/20px inherit;text-align:center}
.conversation-scroll{flex:1;min-height:0;overflow-y:auto;padding:7px 8px 14px;scrollbar-width:thin}
.conversation-group h2{margin:14px 10px 6px;color:#88898f;font-size:10px;font-weight:600}
.conversation-list{display:grid;gap:2px}
.conversation-loading,.conversation-empty{padding:12px 10px;color:#9a9a9f;font-size:11px;line-height:1.8}
.conversation-item{position:relative;border-radius:9px}
.conversation-item.active{background:#e7e7e9}
.conversation-main{width:100%;height:38px;display:flex;align-items:center;gap:7px;border:0;border-radius:9px;padding:0 10px;background:transparent;cursor:pointer;text-align:right;font-size:12px}
.conversation-item:hover{background:#ececee}
.conversation-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pin-mark{color:#777;font-size:11px;transform:rotate(-35deg)}
.conversation-more{width:28px;height:28px;border:0;border-radius:8px;background:transparent;display:none;place-items:center;cursor:pointer;font-weight:700}
.conversation-item:hover .conversation-more,.conversation-item.menu-open .conversation-more,.conversation-item.active .conversation-more{display:grid}
.conversation-more:hover{background:#dcdcdf}
.conversation-menu{position:absolute;top:35px;left:7px;z-index:6;width:150px;padding:5px;border:1px solid #dededf;border-radius:11px;background:#fff;box-shadow:0 12px 30px #0002}
.conversation-menu button{width:100%;height:34px;border:0;border-radius:7px;background:transparent;text-align:right;padding:0 9px;cursor:pointer;font-size:11px}
.conversation-menu button:hover{background:#f1f1f2}
.conversation-menu button.danger{color:var(--danger)}
.sidebar-footer{padding:8px 10px max(10px,env(safe-area-inset-bottom));border-top:1px solid #e5e5e6}
.notification-button-active{color:#087d62}
.profile-row{height:52px;display:flex;align-items:center;gap:9px;margin-top:5px;padding:4px 7px;border-radius:10px}
.profile-row:hover{background:#ececef}
.profile-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#303030;color:#fff;font-size:12px;font-weight:700}
.profile-copy{min-width:0;display:grid;gap:1px}
.profile-copy strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;font-size:11px;white-space:nowrap}
.profile-copy small{font-size:9px;color:#8c8c92}
.profile-row .plain-icon{margin-right:auto;font-size:15px}
.main-panel{position:relative;min-width:0;flex:1;display:grid;grid-template-rows:56px minmax(0,1fr) auto;direction:rtl;background:#fff}
.main-header{display:flex;align-items:center;gap:8px;padding:0 16px;border-bottom:1px solid transparent;background:#fff;z-index:10}
.header-icon{width:38px;height:38px;border:0;border-radius:10px;background:transparent;display:grid;place-items:center;cursor:pointer;font-size:18px}
.header-icon:hover{background:#f2f2f2}
.android-download-header{width:auto;grid-auto-flow:column;gap:5px;padding:0 10px;color:#087d62;text-decoration:none;font-size:14px}.android-download-header b{font-size:10px;white-space:nowrap}
.account-settings svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mobile-menu{display:none}
.assistant-title{display:flex;align-items:center;gap:6px;border:0;background:transparent;border-radius:9px;padding:7px 8px;cursor:pointer}
.assistant-title:hover{background:#f3f3f3}
.assistant-title strong{font-size:14px}.assistant-title span{color:#888;font-size:14px}
.header-actions{margin-right:auto;display:flex;align-items:center;gap:2px}
.connection-status{display:flex;align-items:center;gap:6px;margin-left:7px;color:#777;font-size:10px}
.connection-status i{width:7px;height:7px;border-radius:50%;background:#19a474;box-shadow:0 0 0 3px #dff6ee}
.messages{min-height:0;overflow-y:auto;padding:22px 22px 90px;scroll-behavior:smooth}
.messages>*{width:min(100%,760px);margin-inline:auto}
.welcome{min-height:calc(100% - 70px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px 0 15px}
.welcome-logo{width:52px;height:52px;border-radius:17px;margin-bottom:19px;font-size:22px;box-shadow:0 8px 30px #0001}
.welcome h1{margin:0;font-size:24px;font-weight:600;letter-spacing:-.3px}
.welcome>p{max-width:520px;margin:8px 0 0;color:#777;font-size:12px;line-height:1.9}
.suggestions{width:min(100%,660px);display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:28px}
.suggestions button{min-height:72px;display:grid;gap:5px;border:1px solid #e2e2e2;border-radius:15px;background:#fff;padding:13px 15px;text-align:right;cursor:pointer}
.suggestions button:hover{background:#f8f8f8;border-color:#d7d7d7}
.suggestions strong{font-size:12px}.suggestions span{color:#808087;font-size:10px}
.message-row{display:flex;gap:12px;margin:0 auto 28px;animation:message-in .18s ease-out}
.message-row.user{justify-content:flex-start}
.message-row.assistant{justify-content:flex-start}
.assistant-avatar{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#111;color:#fff;font-size:11px;font-weight:700;margin-top:2px}
.message-content{min-width:0;max-width:calc(100% - 42px)}
.coaching-next-steps{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.coaching-next-steps p{width:100%;margin:0;color:#73737b;font-size:10px}.coaching-next-steps button{border:1px solid #d9d2f4;background:#faf8ff;color:#6246a6;border-radius:999px;padding:7px 10px;font:inherit;font-size:10px;cursor:pointer}.coaching-next-steps button:hover{background:#f0ebff}
.message{font-size:13px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}
.message>p{margin:0 0 10px}.message>p:last-child{margin-bottom:0}.message>ul{margin:4px 0 10px;padding-right:22px}.message>ul:last-child{margin-bottom:0}.message>ul li{margin:3px 0}.message-table-wrap{max-width:100%;margin:10px 0;overflow-x:auto;border:1px solid #e1e1e1;border-radius:12px;background:#fff}.message-table-wrap table{width:100%;min-width:520px;border-collapse:collapse;white-space:nowrap;font-size:11px;line-height:1.65}.message-table-wrap th,.message-table-wrap td{padding:9px 11px;border-left:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;text-align:right}.message-table-wrap th{background:#f7f7f7;font-weight:700}.message-table-wrap tr:last-child td{border-bottom:0}.message-table-wrap th:last-child,.message-table-wrap td:last-child{border-left:0}
.user .message-content{max-width:min(78%,620px);margin-right:auto}
.user .message{padding:10px 15px;border-radius:18px 18px 4px 18px;background:#f0f0f0}
.assistant .message{padding:1px 0}
.message-actions{display:flex;gap:2px;margin-top:5px;opacity:0;transition:.15s}
.retry-answer{margin-top:9px;border:1px solid #cfc9e9;background:#faf8ff;color:#513e9a;border-radius:9px;padding:7px 11px;font:inherit;font-size:11px;cursor:pointer}
.message-row:hover .message-actions,.message-actions:focus-within{opacity:1}
.message-actions button{height:29px;border:0;border-radius:7px;background:transparent;color:#777;padding:0 8px;cursor:pointer;font-size:10px}
.message-actions button:hover{background:#f1f1f1;color:#222}
.thinking-progress{width:min(100%,470px);display:grid;gap:7px;padding:9px 0;color:#252525}
.thinking-head{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px}.thinking-head strong{font-size:12px;font-weight:650}.thinking-head time{color:#999;font-size:8px;direction:rtl;white-space:nowrap}
.thinking-spinner{width:15px;height:15px;border:2px solid #dedede;border-top-color:#111;border-radius:50%;animation:thinking-spin .8s linear infinite}
.thinking-progress>p{margin:0 26px 0 0;color:#777;font-size:9px;line-height:1.8}.thinking-history{display:flex;flex-wrap:wrap;gap:5px;margin-right:26px}.thinking-history span{padding:3px 7px;border-radius:8px;background:#f3f3f3;color:#777;font-size:8px}
.result-card{margin:12px 0 0;border:1px solid #e2e2e2;border-radius:14px;overflow:hidden;background:#fff}
.result-title{padding:10px 13px;color:#666;font-size:10px;font-weight:600;cursor:pointer;list-style-position:inside}.result-card[open] .result-title{border-bottom:1px solid #e7e7e7}
.result{overflow-x:auto}.result table{width:100%;border-collapse:collapse;font-size:10px}.result th,.result td{padding:9px 11px;border-bottom:1px solid #eee;text-align:right;white-space:nowrap}.result th{background:#fafafa;color:#666}.sql-details{border-top:1px solid #eee;font-size:10px}.sql-details summary{padding:9px 12px;cursor:pointer;color:#666}.meta{direction:ltr;margin:0;padding:12px;background:#191919;color:#eee;text-align:left;overflow:auto;font:10px/1.7 Consolas,monospace}
.report-context-card{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #dce9e4;border-radius:14px;background:linear-gradient(135deg,#f7fcfa,#fbfbfb)}
.report-context-head{display:flex;align-items:center;gap:9px}.report-context-head>i{width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;border-radius:9px;background:#dff3eb;color:#14775d;font:700 16px/1 Arial}.report-context-head>div{display:grid;gap:2px}.report-context-head small{color:#71817c;font-size:8px}.report-context-head strong{font-size:11px}
.report-context-chips{display:flex;flex-wrap:wrap;gap:6px}.report-context-chips span{display:flex;align-items:center;gap:5px;max-width:100%;padding:5px 8px;border-radius:8px;background:#fff;color:#4c5b57;font-size:8px;line-height:1.65;box-shadow:0 0 0 1px #e7efec}.report-context-chips b{color:#14775d;font-size:8px}
.result-sources{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 11px}.result-sources span{padding:4px 6px;border-radius:7px;background:#eef4f2;color:#346a5c;font:8px/1.5 Consolas,monospace}
.result-tools{display:flex;justify-content:flex-start;padding:9px 11px;border-top:1px solid #eee;background:#fafafa}.result-tools button{height:32px;border:1px solid #d7d7d7;border-radius:9px;background:#fff;padding:0 12px;cursor:pointer;color:#176b54;font-size:10px;font-weight:600}.result-tools button:hover{background:#eef9f5;border-color:#aad5c8}
.excel-file-card{width:min(100%,430px);display:grid;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid #dedede;border-radius:14px;background:#fff;text-align:right;cursor:pointer;box-shadow:0 2px 8px #00000008;transition:.15s}.excel-file-card:hover{border-color:#9acdbd;background:#fbfffd;box-shadow:0 5px 16px #0000000d}.excel-file-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;background:#16865f;color:#fff;font:700 18px/1 Arial,sans-serif}.excel-file-copy{min-width:0;display:grid;gap:4px}.excel-file-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#242424;font-size:11px}.excel-file-copy small{color:#858585;font-size:9px;direction:ltr;text-align:right}.excel-download-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#f1f1f1;color:#333;font-size:17px}.excel-file-card:active .excel-download-icon{background:#16865f;color:#fff}
.excel-preview-dialog{width:min(94vw,920px);max-width:none;height:min(88vh,730px);max-height:none;margin:auto;padding:0;border:0;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 28px 90px #0005}.excel-preview-dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}.excel-preview-shell{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.excel-preview-header{min-height:72px;display:grid;grid-template-columns:38px 42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 15px;border-bottom:1px solid #e5e5e5;background:#fff}.excel-preview-close{width:34px;height:34px;border:0;border-radius:50%;background:#f0f0f0;cursor:pointer;font-size:22px;line-height:1}.excel-preview-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#16865f;color:#fff;font:700 17px/1 Arial,sans-serif}.excel-preview-heading{min-width:0;display:grid;gap:4px}.excel-preview-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.excel-preview-heading small{color:#888;font-size:9px;direction:ltr;text-align:right}.excel-preview-download{min-height:38px;border:0;border-radius:10px;padding:0 14px;background:#16865f;color:#fff;cursor:pointer;font:600 10px inherit}.excel-preview-body{min-height:0;overflow:auto;padding:16px;background:#f7f8f8}.excel-preview-body table{min-width:100%;border-collapse:separate;border-spacing:0;border:1px solid #ddd;border-radius:12px;overflow:hidden;background:#fff;font-size:10px}.excel-preview-body th,.excel-preview-body td{max-width:340px;padding:10px 12px;border-left:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.excel-preview-body th{position:sticky;top:0;z-index:1;background:#edf7f3;color:#245f4e;font-weight:700}.excel-preview-body tr:last-child td{border-bottom:0}.excel-preview-body th:last-child,.excel-preview-body td:last-child{border-left:0}.excel-preview-limit{margin:12px 0 0;color:#777;text-align:center;font-size:9px}.excel-preview-footer{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 15px;border-top:1px solid #e5e5e5;background:#fff;color:#888;font-size:9px}.excel-preview-footer button{min-width:78px;height:34px;border:1px solid #ddd;border-radius:9px;background:#fff;cursor:pointer;font:600 10px inherit}
.message-attachment{display:flex;align-items:center;gap:8px;max-width:310px;margin:0 0 7px auto;padding:7px 9px;border:1px solid #ddd;border-radius:12px;background:#fff;color:#555;font-size:10px}.message-attachment img{width:46px;height:46px;object-fit:cover;border-radius:8px}.message-attachment i{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#f1f1f1;font-style:normal;font-size:17px}.message-attachment span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.composer-area{position:relative;padding:0 20px max(8px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#fff 25%)}
.composer-area>*{width:min(100%,760px);margin-inline:auto}
.attach-menu{position:absolute;right:max(20px,calc((100% - 760px)/2));bottom:76px;z-index:35;width:245px;padding:7px;border:1px solid #ddd;border-radius:16px;background:#fff;box-shadow:0 18px 55px #0003}.attach-menu button{width:100%;display:grid;grid-template-columns:34px 1fr;column-gap:8px;border:0;border-radius:10px;background:transparent;padding:8px;text-align:right;cursor:pointer}.attach-menu button:hover{background:#f3f3f4}.attach-menu button>span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f0f0f1;font-size:16px}.attach-menu strong{font-size:11px}.attach-menu small{color:#888;font-size:9px}
.attachment-preview{height:62px;display:flex;align-items:center;gap:10px;margin-bottom:7px;padding:7px 9px;border:1px solid #ddd;border-radius:16px;background:#fff;box-shadow:0 5px 22px #0001}.attachment-thumb{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:10px;background:#f0f0f1;font-size:20px;overflow:hidden}.attachment-thumb img{width:100%;height:100%;object-fit:cover}.attachment-copy{min-width:0;display:grid;gap:2px}.attachment-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.attachment-copy small{color:#888;font-size:9px}.attachment-preview>button{width:32px;height:32px;margin-right:auto;border:0;border-radius:50%;background:#eee;cursor:pointer;font-size:17px}
.composer{min-height:58px;border:1px solid #dedede;border-radius:25px;background:#fff;padding:9px 11px 7px;box-shadow:0 5px 22px #00000012}
.composer:focus-within{border-color:#c8c8c8;box-shadow:0 6px 24px #00000017}
.composer textarea{width:100%;min-height:28px;max-height:145px;display:block;border:0;outline:0;resize:none;padding:4px 5px;background:transparent;color:#202123;font:13px/1.75 inherit}
.composer textarea::placeholder{color:#999}
.composer-tools{height:35px;display:flex;align-items:center;justify-content:space-between;direction:ltr}
.composer-left-tools{display:flex;align-items:center;gap:4px;direction:ltr}
.composer-right-tools{display:flex;align-items:center;gap:4px;direction:ltr}
.composer-icon{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:transparent;font-size:19px}
.composer-icon:hover{background:#f1f1f1}
.composer-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.attach-button{border:1px solid #dedede}.attach-button svg{width:19px;height:19px}
.settings-button{display:none}
.voice-button.pending{background:#f1f1f1;color:#666}
.voice-button.recording{background:#fff0ef;color:#bd2929}
.send-button{background:#111;color:#fff}.send-button svg{width:18px;height:18px;stroke-width:2.1}.send-button:hover{background:#333}.send-button:disabled{background:#e5e5e5;color:#aaa;cursor:default}.send-button.stop svg{display:none}.send-button.stop:after{content:'';width:11px;height:11px;border-radius:2px;background:#fff}
.disclaimer{margin-top:6px;text-align:center;color:#999;font-size:9px}
.recording-bar{min-height:62px;display:grid;grid-template-columns:36px auto 1fr 36px;align-items:center;gap:10px;margin-bottom:8px;padding:8px 11px;border:1px solid #dedede;border-radius:22px;background:#fff;box-shadow:0 5px 22px #0001}
.voice-cancel,.voice-finish{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:18px}.voice-cancel{background:#eee}.voice-finish{background:#111;color:#fff}
.voice-state{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 7px;white-space:nowrap}.voice-state span:not(.recording-dot){font-size:10px;font-weight:600}.voice-state time{grid-column:2;color:#888;font-size:9px;direction:ltr;text-align:right}.recording-dot{width:7px;height:7px;border-radius:50%;background:#df3b3b;animation:pulse 1s infinite}
.voice-wave{height:32px;display:flex;align-items:center;justify-content:center;gap:3px;direction:ltr}.voice-wave i{width:3px;height:7px;border-radius:3px;background:#333;animation:voice-wave .9s ease-in-out infinite}.voice-wave i:nth-child(2),.voice-wave i:nth-child(6){animation-delay:.12s}.voice-wave i:nth-child(3),.voice-wave i:nth-child(5){animation-delay:.24s}.voice-wave i:nth-child(4){animation-delay:.36s}.recording-bar.transcribing .voice-wave i{height:3px;animation:none;background:#aaa}.recording-bar.transcribing button{pointer-events:none;opacity:.5}
.notifications-panel{position:absolute;inset:0;z-index:20;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f8f8f8}
.organization-structure-panel{position:absolute;inset:0;z-index:20;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f8f8f8}.organization-structure-body{min-height:0;overflow:auto;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.organization-structure-body section{min-width:0}.organization-structure-body h3{margin:0 0 9px;font-size:12px}.organization-rules-list,.organization-proposals-list{display:grid;gap:8px}.organization-card{display:grid;gap:5px;padding:12px;border:1px solid #e1e3e3;border-radius:12px;background:#fff}.organization-card strong{font-size:11px}.organization-card span,.organization-card small{color:#68716f;font-size:9px}.organization-card small{overflow-wrap:anywhere}.organization-card label{display:grid;gap:4px;color:#68716f;font-size:9px}.organization-card input,.organization-card select{height:31px;border:1px solid #dfe3e2;border-radius:7px;padding:0 8px;background:#fff;font:10px inherit;outline:0}.organization-card input:focus,.organization-card select:focus{border-color:#79b7a3}.organization-card footer{display:flex;gap:7px;margin-top:3px}.organization-card footer button{border:1px solid #c9ddd5;border-radius:8px;background:#f5fbf8;color:#176b54;padding:5px 10px;cursor:pointer;font:600 9px inherit}.organization-card footer button[data-proposal-decision="rejected"]{border-color:#ecd1d1;background:#fff7f7;color:#a53535}.organization-empty{margin:0;padding:18px;border:1px dashed #d5d9d8;border-radius:12px;color:#888;font-size:10px;text-align:center}
.seller-workspace-panel{position:absolute;inset:0;z-index:20;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f8f8f8}.seller-workspace-body{min-height:0;overflow:auto;padding:18px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px}.seller-workspace-body>section{min-width:0;scroll-margin-top:12px}.seller-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.seller-section-title h3{margin:0;font-size:13px}.seller-section-title span{color:#78817f;font-size:9px}.seller-route-list{display:grid;gap:8px}.seller-route-card{overflow:hidden;border:1px solid #e1e5e4;border-radius:12px;background:#fff}.seller-route-summary{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:11px;border:0;background:#fff;color:inherit;text-align:right;cursor:pointer;font:inherit}.seller-route-summary:hover{background:#f8fbfa}.seller-route-summary[aria-expanded="true"]{background:#f1f8f5}.seller-route-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eaf6f2;color:#16735a;font-size:17px}.seller-route-copy{min-width:0;display:grid;gap:4px}.seller-route-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.seller-route-copy small{color:#818886;font-size:9px}.seller-route-copy small b{padding:0 3px;color:#b0b5b3}.seller-route-chevron{color:#64706d;font-size:17px;transition:transform .16s}.seller-route-summary[aria-expanded="true"] .seller-route-chevron{transform:rotate(180deg)}.seller-route-customer-list{padding:10px;border-top:1px solid #e6ece9;background:#f8fbfa;display:grid;gap:7px}.seller-route-customer-list[hidden]{display:none}.seller-customer-card{padding:10px;border:1px solid #e1e7e5;border-radius:10px;background:#fff}.seller-customer-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.seller-customer-card header div{min-width:0;display:grid;gap:3px}.seller-customer-card strong{font-size:10px}.seller-customer-card small{color:#777;font-size:8px}.seller-customer-card header>span{flex:none;padding:3px 6px;border-radius:6px;background:#edf5f2;color:#38705f;font-size:8px}.seller-customer-balances{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.seller-customer-balances>span{display:grid;gap:3px;padding:8px;border-radius:8px;background:#f3f7f6}.seller-customer-balances small{font-size:8px}.seller-customer-balances b{font-size:10px;color:#175f4c}.seller-customer-balances em{font-size:7px;color:#7b8381;font-style:normal}.seller-customer-card p{margin:6px 0 0;color:#626967;font-size:9px;line-height:1.7}.seller-customer-card .seller-customer-contact{text-align:right;color:#1d6d57}.seller-brand-list{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px;padding:13px;border:1px solid #e1e5e4;border-radius:12px;background:#fff}.seller-brand-chip{padding:8px 11px;border-radius:20px;background:#edf7f3;color:#176b54;font-size:10px;font-weight:700;direction:ltr}.seller-brand-list>.organization-empty{width:100%}
.seller-open-invoice-customer{overflow:hidden;border:1px solid #e1e5e4;border-radius:12px;background:#fff}.seller-open-invoice-summary{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(120px,.8fr) 24px;align-items:center;gap:9px;padding:11px;border:0;background:#fff;color:inherit;text-align:right;cursor:pointer;font:inherit}.seller-open-invoice-summary:hover,.seller-open-invoice-summary[aria-expanded="true"]{background:#f1f8f5}.seller-open-invoice-summary>span:first-child,.seller-open-invoice-meta{min-width:0;display:grid;gap:4px}.seller-open-invoice-summary strong{font-size:10px}.seller-open-invoice-summary small{color:#777;font-size:8px}.seller-open-invoice-summary>span:nth-child(2){padding:3px 6px;border-radius:6px;background:#edf5f2;color:#38705f;font-size:8px}.seller-open-invoice-meta b{font-size:9px;color:#175f4c}.seller-open-invoice-meta em{color:#68716f;font-size:8px;font-style:normal}.seller-open-invoice-summary[aria-expanded="true"] .seller-route-chevron{transform:rotate(180deg)}.seller-open-invoice-list{padding:10px;border-top:1px solid #e6ece9;background:#f8fbfa;display:grid;gap:7px}.seller-open-invoice-list[hidden]{display:none}.seller-open-invoice-card{display:grid;gap:5px;padding:9px;border:1px solid #e1e7e5;border-radius:9px;background:#fff;color:#626967;font-size:9px}.seller-open-invoice-card header{display:flex;justify-content:space-between;gap:8px;color:#333}.seller-open-invoice-card strong{font-size:10px}.seller-open-invoice-card time{color:#777;font-size:8px}.seller-open-invoice-card b{color:#175f4c;font-size:10px}
.seller-open-invoice-meta .seller-returned-cheque{color:#b54708;font-weight:700}
.seller-returned-cheque-card em{color:#64706d;font-size:9px;font-style:normal}
.seller-call-link{color:#176b54;font-weight:700;text-decoration:none}.seller-call-link:hover{text-decoration:underline}.seller-location-status{width:max-content;padding:3px 6px;border-radius:6px;background:#e9f7f1;color:#147055;font-size:8px;font-weight:700}.seller-navigation-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.seller-navigation-links a{border:1px solid #cbe8dc;border-radius:8px;background:#f3faf7;color:#14694f;padding:6px 9px;text-decoration:none;font-size:8px;font-weight:700;direction:ltr}.seller-navigation-links a:hover{background:#e1f4eb}.seller-navigation-links .seller-navigation-waze{background:#e9f7f1;color:#0f7958}
.seller-route-map-panel{position:absolute;inset:0;z-index:24;display:grid;grid-template-columns:minmax(0,1fr) 300px 190px;grid-template-rows:auto minmax(0,1fr);background:#f8f8f8;direction:ltr}.seller-route-map-panel>.panel-header{grid-column:1/-1;direction:rtl}.route-map-canvas{grid-column:1;min-height:0;position:relative;background:#eaf1ef;direction:rtl}.route-map-sidebar{grid-column:2;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border-left:1px solid #e0e5e3;background:#fff;direction:rtl}.route-map-sidebar>header{display:grid;gap:7px;padding:12px;border-bottom:1px solid #e2e8e6;background:#f7fbf9}.route-map-sidebar>header div{display:grid;gap:3px}.route-map-sidebar>header strong{font-size:11px}.route-map-sidebar>header small{color:#68736f;font-size:8px;line-height:1.6}.route-map-sidebar>header span{padding:6px 8px;border-radius:8px;background:#eef4f2;color:#53625d;font-size:8px;line-height:1.6}.route-map-sidebar>header span.is-enabled{background:#fff5dc;color:#855d00}.route-map-day-customers{min-height:0;overflow:hidden}.route-map-stops{height:100%;overflow:auto;padding:12px;display:grid;align-content:start;gap:7px;background:#fff}.route-map-stop{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:8px;padding:9px;border:1px solid #e1e7e5;border-radius:9px}.route-map-stop[data-route-map-previsit-customer]{cursor:pointer}.route-map-stop[data-route-map-previsit-customer]:hover,.route-map-stop[data-route-map-previsit-customer]:focus-visible{border-color:#168064;box-shadow:0 0 0 2px #16806420;outline:0}.route-map-stop b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#176b54;color:#fff;font-size:9px}.route-map-stop strong,.route-map-stop small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-map-stop strong{font-size:10px}.route-map-stop small{color:#777;font-size:8px}.seller-route-map-button{width:calc(100% - 22px);margin:0 11px 10px;border:1px solid #b9d9ce;border-radius:9px;background:#fff;color:#176b54;padding:7px 10px;font:700 9px inherit;cursor:pointer}.seller-route-map-button:hover{background:#effaf5}.seller-route-map-button:disabled{cursor:not-allowed;color:#8a9692;background:#f2f4f3;border-color:#d9dfdc}.seller-route-map-button.is-day-route{background:#176b54;color:#fff;border-color:#176b54}
.route-day-action-rail{grid-column:3;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:7px;padding:12px 9px;border-left:1px solid #dce4e1;background:linear-gradient(180deg,#f7faf9 0,#eef4f2 100%);direction:rtl}.route-day-action-rail>header{display:grid;gap:3px;padding:4px 5px 8px;border-bottom:1px solid #dce5e2}.route-day-action-rail>header strong{font-size:11px;color:#21342e}.route-day-action-rail>header small{font-size:8px;color:#73817c}.route-day-action-rail>button{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"icon copy" "badge badge";align-items:center;gap:3px 8px;width:100%;padding:9px 8px;border:1px solid #dbe4e1;border-radius:11px;background:#fff;color:#263832;text-align:right;font:inherit;cursor:pointer;box-shadow:0 2px 7px #213c3310;transition:border-color .16s ease,background .16s ease,transform .16s ease}.route-day-action-rail>button:hover,.route-day-action-rail>button:focus-visible{border-color:#2a8a70;background:#f7fffb;outline:0;transform:translateY(-1px)}.route-day-action-rail>button.is-active{border-color:#176b54;background:#eaf7f2;box-shadow:0 0 0 2px #176b5418}.route-day-action-rail>button.is-planned{background:#fbfcfc;color:#52615c}.route-day-action-rail>button.is-danger .route-day-action-icon{background:#fff0ee;color:#a13d33}.route-day-action-rail>button>span:nth-child(2){grid-area:copy;display:grid;gap:2px;min-width:0}.route-day-action-rail>button strong{font-size:9px;line-height:1.5}.route-day-action-rail>button small{overflow:hidden;color:#7a8783;font-size:7px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.route-day-action-icon{grid-area:icon;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf6f2;color:#176b54;font-size:19px;font-weight:800}.route-day-action-badge{grid-area:badge;justify-self:start;margin-top:3px;padding:2px 6px;border-radius:999px;background:#f0f1f6;color:#6c6a83;font-size:6px;font-style:normal;font-weight:800}.route-day-action-badge.is-ready{background:#dcf2e9;color:#176b54}.route-day-action-rail>hr{width:100%;margin:2px 0;border:0;border-top:1px solid #d7e0dd}.route-day-action-note{display:flex;align-items:flex-start;gap:5px;margin:3px 2px 0;color:#788580;font-size:7px;line-height:1.7}.route-day-action-note i{flex:0 0 auto;width:6px;height:6px;margin-top:3px;border-radius:50%;background:#aaa6cb}
.schema-catalog-panel{position:absolute;inset:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,36%);grid-template-rows:auto minmax(0,1fr);background:#f8f8f8}.schema-catalog-panel>.panel-header{grid-column:1/-1}.catalog-count{margin-right:auto;border-radius:9px;background:#eef7f4;color:#176b54;padding:5px 8px;font-size:9px;font-weight:700}.schema-catalog-body{min-width:0;overflow:auto;padding:18px}.schema-catalog-search{max-width:760px;display:flex;align-items:center;gap:8px;margin:0 auto 16px;padding:0 12px;border:1px solid #ddd;border-radius:12px;background:#fff;color:#777}.schema-catalog-search input{width:100%;height:42px;border:0;outline:0;background:transparent;font-size:11px}.schema-catalog-groups{max-width:760px;margin:auto;display:grid;gap:16px}.schema-domain{border:1px solid #e1e3e3;border-radius:15px;overflow:hidden;background:#fff}.schema-domain>header{display:flex;align-items:center;gap:8px;padding:11px 13px;border-bottom:1px solid #eceeee;background:#fbfcfc}.schema-domain h3{margin:0;font-size:12px}.schema-domain header span{margin-right:auto;min-width:22px;height:22px;padding:0 6px;border-radius:8px;background:#eff6f3;color:#16735a;font-size:9px;line-height:22px;text-align:center}.schema-table-list{display:grid}.schema-table-card{width:100%;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;padding:10px 13px;text-align:right;cursor:pointer}.schema-table-card:last-child{border-bottom:0}.schema-table-card:hover{background:#f5faf8}.schema-table-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#eaf5f1;color:#147258;font-size:15px}.schema-table-copy{min-width:0;display:grid;gap:3px}.schema-table-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.schema-table-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#888;font-size:8px;text-align:right}.schema-table-meta{color:#888;font-size:9px;white-space:nowrap}.schema-catalog-empty,.schema-detail-loading{display:grid;min-height:180px;place-items:center;color:#888;font-size:11px}.schema-detail-panel{min-width:0;overflow:auto;padding:16px;border-right:1px solid #e2e3e3;background:#fff}.schema-detail-panel>header{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px}.schema-detail-panel>header button{width:30px;height:30px;border:0;border-radius:8px;background:#f0f0f1;cursor:pointer;font-size:20px}.schema-detail-panel>header div{min-width:0;display:grid;gap:3px}.schema-detail-panel>header strong,.schema-detail-panel>header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schema-detail-panel>header strong{font-size:12px}.schema-detail-panel>header small{color:#888;font-size:8px}.schema-detail-panel>p{margin:15px 0 10px;color:#666;font-size:10px;line-height:1.9}.schema-detail-tags{display:flex;flex-wrap:wrap;gap:5px}.schema-detail-tags span,.schema-columns b{border-radius:7px;background:#f0f2f2;color:#5f6766;padding:4px 6px;font-size:8px;font-weight:500}.schema-detail-panel h3{margin:17px 0 8px;font-size:11px}.schema-columns{display:grid;border:1px solid #e7e7e7;border-radius:10px;overflow:hidden}.schema-columns>div{position:relative;display:grid;gap:2px;padding:8px 9px;border-bottom:1px solid #eee}.schema-columns>div:last-child{border-bottom:0}.schema-columns strong{font-size:10px}.schema-columns small{color:#888;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schema-columns b{position:absolute;left:7px;top:7px;background:#e5f5ee;color:#167355}
.panel-header{height:64px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 18px;border-bottom:1px solid #e5e5e5;background:#fff}.panel-header h2{margin:0;font-size:16px}.panel-header p{margin:2px 0 0;color:#888;font-size:9px}.text-button{border:0;background:transparent;color:#087d62;cursor:pointer;font-size:10px}
.notifications-list{min-height:0;overflow-y:auto;padding:18px}.notification-card{max-width:760px;margin:0 auto 9px;border:1px solid #e2e2e2;border-radius:14px;background:#fff;overflow:hidden}.notification-card.unread{border-color:#a8d8ca;background:#fbfffd}.notification-card.selected{box-shadow:0 0 0 3px #dff5ee}.notification-card button{width:100%;border:0;background:transparent;padding:14px;text-align:right;cursor:pointer}.notification-card-head{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:8px}.notification-dot{width:6px;height:6px;border-radius:50%;background:transparent}.notification-card.unread .notification-dot{background:var(--green)}.notification-card strong{font-size:12px}.notification-card time{color:#999;font-size:8px;direction:ltr}.notification-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 15px 0 0;color:#555;font-size:11px;line-height:1.9;white-space:pre-wrap}.notification-card.expanded p{display:block}.notifications-empty{min-height:65vh;display:grid;place-items:center;align-content:center;text-align:center;color:#888}.notifications-empty>div{font-size:34px}.notifications-empty h3{margin:10px 0 4px;color:#333;font-size:15px}.notifications-empty p{margin:0;font-size:10px}
.toast{position:fixed;left:50%;bottom:105px;z-index:80;transform:translate(-50%,12px);padding:9px 14px;border-radius:10px;background:#222;color:#fff;font-size:10px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
dialog{width:min(92%,410px);border:0;border-radius:20px;padding:0;box-shadow:0 25px 80px #0004}dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}dialog form,.install-help{display:grid;gap:13px;padding:27px}.dialog-logo{width:44px;height:44px;border-radius:14px;font-size:18px}dialog h2{margin:0;font-size:19px}dialog p{margin:0;color:#777;font-size:11px;line-height:1.9}dialog label{display:grid;gap:6px;color:#555;font-size:10px}dialog input{position:relative;z-index:1;height:44px;border:1px solid #ddd;border-radius:10px;padding:0 11px;outline:0;background:#fff;font-size:16px;line-height:normal;pointer-events:auto;touch-action:manipulation;-webkit-appearance:none;appearance:none;-webkit-user-select:text;user-select:text}dialog input:focus{border-color:#999}dialog form>button,.install-help button{height:44px;border:0;border-radius:11px;background:#111;color:#fff;cursor:pointer;font-weight:600;font-size:11px}.login-error{min-height:16px;color:#b42318!important}
.android-download-link{display:block;text-align:center;color:#087d62;text-decoration:none;font-size:11px;font-weight:700}.android-download-link:hover{text-decoration:underline}
.mobile-only{display:none}
.sidebar-backdrop{display:none}
@keyframes pulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
@keyframes thinking-spin{to{transform:rotate(360deg)}}
@keyframes voice-wave{0%,100%{height:7px}50%{height:27px}}
@keyframes message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

@media(max-width:800px){
  .sidebar-top{max-height:48dvh}
  .sidebar{position:fixed;inset:0 0 0 auto;width:min(86vw,310px);transform:translateX(105%);transition:transform .22s ease;box-shadow:-10px 0 45px #0002}
  body.sidebar-open .sidebar{transform:none}
  .sidebar-backdrop{position:fixed;inset:0;z-index:25;display:block;border:0;background:#0006}
  .mobile-only,.mobile-menu{display:grid}
  .main-header{height:54px;padding:0 9px;border-bottom-color:#eee}
  .main-panel{grid-template-rows:54px minmax(0,1fr) auto}
  .assistant-title{padding-inline:3px}.assistant-title strong{font-size:13px}
  .connection-status{display:none}
  .header-icon{width:36px;height:36px}
  .messages{padding:18px 14px 80px}
  .excel-preview-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.excel-preview-header{grid-template-columns:36px 38px minmax(0,1fr);padding:10px}.excel-preview-download{grid-column:1/-1;width:100%;height:40px}.excel-preview-body{padding:10px}.excel-preview-footer{padding-bottom:max(9px,env(safe-area-inset-bottom))}.excel-preview-footer span{display:none}
  .welcome{justify-content:flex-start;padding-top:12vh}
  .welcome h1{font-size:21px}.welcome>p{font-size:11px}
  .suggestions{grid-template-columns:1fr 1fr;gap:7px;margin-top:23px}.suggestions button{min-height:68px;padding:11px}.suggestions button:nth-child(n+3){display:none}
  .message-row{margin-bottom:23px;gap:9px}.assistant-avatar{width:26px;height:26px;flex-basis:26px}.message{font-size:12px}.message-actions{opacity:1}.user .message-content{max-width:85%}
  .composer-area{padding:0 9px max(7px,env(safe-area-inset-bottom))}.composer{min-height:56px;border-radius:23px;padding-inline:9px}.composer textarea{font-size:16px;touch-action:manipulation;-webkit-user-select:text;user-select:text}.disclaimer{display:none}.attach-menu{right:9px;bottom:72px;width:min(265px,calc(100vw - 18px))}
  .notifications-list{padding:11px}.panel-header{height:58px;padding-inline:10px}
  .organization-structure-body{grid-template-columns:1fr;padding:11px;gap:14px}
  .seller-workspace-body{grid-template-columns:1fr;padding:11px;gap:16px}
  .schema-catalog-panel{grid-template-columns:1fr}.schema-catalog-panel>.panel-header{grid-column:auto}.schema-catalog-body{padding:11px}.schema-detail-panel{position:absolute;inset:58px 0 0;z-index:2;border:0}.schema-table-card{padding:10px}.schema-table-meta{display:none}
}
@media(max-width:420px){.suggestions{grid-template-columns:1fr}.suggestions button:nth-child(2){display:none}.welcome-logo{width:48px;height:48px}.recording-bar{grid-template-columns:34px auto 1fr 34px;gap:6px}.voice-state span:not(.recording-dot){max-width:93px;overflow:hidden;text-overflow:ellipsis}}
.account-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.account-profile-grid span{display:grid;gap:4px;padding:10px;border:1px solid #e4e4e7;border-radius:10px;background:#fafafa;min-width:0}
.account-profile-grid span:last-child{grid-column:1/-1}
.account-profile-grid small{color:#777;font-size:9px}
.account-profile-grid strong{font-size:11px;overflow-wrap:anywhere;direction:ltr;text-align:right}
dialog form>.dialog-secondary{background:#f0f0f1;color:#222}
.seller-route-day-plan{width:calc(100% - 22px);margin:0 11px 10px;border:1px solid #cbe8dc;border-radius:9px;background:#effaf5;color:#14694f;padding:8px 10px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.seller-route-day-plan:hover{background:#e1f4eb}.seller-route-map-mode{display:grid;gap:5px;margin:0 11px 8px;color:#52605c;font-size:9px;font-weight:700}.seller-route-map-mode select{height:32px;border:1px solid #b9d9ce;border-radius:8px;background:#fff;color:#176b54;padding:0 8px;font:10px inherit;outline:0}.seller-route-map-mode select:focus{border-color:#087d62;box-shadow:0 0 0 2px #087d6220}
.route-map-stop.is-active{border-color:#176b54;background:#effaf5}.route-map-stop.is-complete{opacity:.82}.route-map-stop.is-complete b,.route-map-stop.route-status-visited b{background:#348b6d}.route-map-stop.route-status-skipped{background:#f3f4f4;border-color:#c8cecc}.route-map-stop.route-status-skipped b{background:#7b8582}.route-map-arrived,.route-map-actions button{margin-top:7px;border:0;border-radius:7px;color:#fff;padding:6px 8px;font:700 8px inherit;cursor:pointer}.route-map-arrived,.route-map-visited{background:#176b54}.route-map-actions{display:flex;gap:6px}.route-map-skipped{background:#78827f}.route-map-actions button:hover,.route-map-arrived:hover{filter:brightness(.93)}
.route-map-seller-arrow{width:34px;height:34px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#1d6fea;box-shadow:0 2px 8px #17416a80}.route-map-seller-arrow span{width:0;height:0;border-right:8px solid transparent;border-bottom:15px solid #fff;border-left:8px solid transparent;transform:rotate(var(--seller-heading,0deg));transform-origin:50% 62%;filter:drop-shadow(0 1px 1px #123e6b)}
.route-map-instruction{position:absolute;z-index:4;top:14px;right:14px;left:14px;display:grid;grid-template-columns:58px 1fr;grid-template-areas:"icon distance" "icon instruction";gap:2px 12px;padding:13px 15px;border:1px solid #b6ded0;border-radius:18px;background:#fffffff4;box-shadow:0 7px 24px #173d2a33;cursor:pointer;backdrop-filter:blur(8px)}.route-map-instruction:focus-visible{outline:3px solid #2c9c7a;outline-offset:2px}.route-map-instruction .route-maneuver-icon{grid-area:icon;display:grid;place-items:center;align-self:stretch;min-height:58px;border-radius:14px;background:#176b54;color:#fff;font-size:32px;font-weight:900;line-height:1}.route-map-instruction small{grid-area:distance;color:#167254;font-size:12px;font-weight:800}.route-map-instruction strong{grid-area:instruction;color:#173b30;font-size:16px;line-height:1.65}.route-map-status{position:absolute;z-index:5;top:110px;left:50%;transform:translateX(-50%);padding:8px 14px;border-radius:999px;background:#173b30e8;color:#fff;font-size:12px;font-weight:800;box-shadow:0 5px 16px #0003;white-space:nowrap}.route-map-recenter{position:absolute;z-index:5;left:14px;bottom:82px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#176b54;font-size:27px;box-shadow:0 5px 18px #173d2a38;cursor:pointer}.route-map-trip-summary{position:absolute;z-index:4;right:14px;bottom:14px;left:72px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid #d4e5df;border-radius:14px;background:#fffffff2;color:#173b30;box-shadow:0 5px 18px #173d2a24;backdrop-filter:blur(8px)}.route-map-trip-summary strong{font-size:13px}.route-map-trip-summary span{color:#5d6e68;font-size:11px;font-weight:700}.route-map-voice-off{opacity:.68;text-decoration:line-through}
.route-summary-dialog{width:min(520px,calc(100vw - 28px));max-height:min(680px,calc(100dvh - 42px));padding:0;border:0;border-radius:20px;box-shadow:0 18px 60px #071b143d;background:#fff;color:#173b30}.route-summary-dialog::backdrop{background:#10231db5}.route-summary-shell{display:grid;max-height:inherit;grid-template-rows:auto minmax(0,1fr)}.route-summary-shell>header{display:flex;justify-content:space-between;gap:14px;padding:18px 18px 14px;border-bottom:1px solid #e3ece8}.route-summary-shell header small{color:#177458;font-size:11px;font-weight:800}.route-summary-shell h2{margin:4px 0;font-size:18px}.route-summary-shell p{margin:0;color:#667671;font-size:12px;font-weight:700}.route-summary-shell header button{width:34px;height:34px;border:0;border-radius:50%;background:#edf5f1;color:#176b54;font-size:25px;line-height:1;cursor:pointer}.route-summary-steps{display:grid;gap:8px;overflow:auto;margin:0;padding:14px 38px 18px 18px}.route-summary-steps li{padding:10px 11px;border:1px solid #e0eae6;border-radius:11px;background:#fbfdfc;color:#32453f;font-size:13px;line-height:1.65}.route-summary-steps li.is-current{border-color:#81cbb4;background:#effaf5;color:#0f6049;font-weight:800}.route-summary-steps li small{display:block;margin-top:3px;color:#71827c;font-size:10px;font-weight:700}.route-summary-steps li.is-current small{color:#238065}
.route-map-stop.priority-high{border-right:4px solid #1d6fea}.route-map-stop.priority-medium{border-right:4px solid #d38b18}.route-map-stop.priority-low{border-right:4px solid #89928f}.route-map-stop.priority-no-purchase{border-right:4px solid #c94d4d;background:#fff7f7}.route-map-stop.priority-no-purchase b{background:#c94d4d}.route-map-stop.has-debt{box-shadow:inset 0 0 0 1px #7c3aed55;background:#faf7ff}.route-map-stop.has-debt:not(.priority-no-purchase) b{background:#7c3aed}.route-map-customer-popup{display:grid;gap:5px;min-width:210px;line-height:1.6}.route-map-customer-popup strong{font-size:12px}.route-map-customer-popup small{color:#46514e;font-size:9px}.route-map-debt-text{color:#6d28d9!important;font-weight:700}.route-map-unlocated-title{margin:12px 1px 0;color:#777;font-size:9px;font-weight:700}.route-map-stop.is-unlocated{opacity:.72;background:#fafafa}.route-map-stop.is-unlocated b{background:#929292}
.route-map-start-button{background:#176b54!important;color:#fff!important;border-color:#176b54!important;font-weight:800!important}.route-map-start-button:disabled{opacity:.7;cursor:default}.route-map-customer-popup{min-width:260px;max-width:320px}.route-map-customer-popup-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.route-map-customer-popup-grid span{display:grid;gap:2px;padding:6px;border-radius:7px;background:#f3f7f6}.route-map-customer-popup-grid small{color:#69736f;font-size:8px}.route-map-customer-popup-grid b{color:#173b30;font-size:9px}.route-map-popup-visit{width:100%;margin-top:4px;border:0;border-radius:8px;background:#176b54;color:#fff;padding:8px;font:700 10px inherit;cursor:pointer}.route-map-popup-warning{color:#a43f31!important;font-weight:700}
.customer-profile-panel{position:absolute;inset:0;z-index:25;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f5f7f6;direction:rtl}.customer-profile-body{overflow:auto;padding:18px;display:grid;align-content:start;gap:14px}.customer-profile-loading{padding:28px;text-align:center;color:#5d6b66}.customer-profile-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#145f4b,#1d8065);color:#fff}.customer-profile-hero>div{display:grid;gap:4px}.customer-profile-hero h3{margin:0;font-size:18px}.customer-profile-hero p,.customer-profile-hero small{margin:0;color:#e6f4ef}.customer-profile-hero span{padding:6px 9px;border-radius:999px;background:#ffffff24;font-size:10px}.customer-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.customer-profile-card{display:grid;gap:4px;padding:11px;border:1px solid #dfe7e4;border-radius:11px;background:#fff}.customer-profile-card small{color:#6b7773;font-size:9px}.customer-profile-card b{color:#173b30;font-size:12px}.customer-profile-card.is-warning b{color:#a43f31}.customer-profile-section{padding:15px;border:1px solid #dfe7e4;border-radius:14px;background:#fff}.customer-profile-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.customer-profile-section>header div{display:grid;gap:4px}.customer-profile-section h3{margin:0;font-size:14px}.customer-profile-section header small{color:#69736f;line-height:1.7}.customer-profile-draft-badge{padding:5px 8px;border-radius:999px;background:#fff0c9;color:#755300;font-size:9px;font-weight:700}.customer-profile-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.customer-profile-form label{display:grid;gap:5px;color:#4b5954;font-size:10px}.customer-profile-form label.is-wide{grid-column:1/-1}.customer-profile-form input,.customer-profile-form select,.customer-profile-form textarea{width:100%;min-width:0;border:1px solid #cfd9d5;border-radius:9px;background:#fff;padding:9px;color:#172d26;font:inherit}.customer-profile-form textarea{min-height:80px;resize:vertical}.customer-profile-form :disabled{border-color:#e3e8e6;background:#f4f6f5;color:#53605c;opacity:1}.customer-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.customer-profile-actions button{border:0;border-radius:9px;background:#176b54;color:#fff;padding:10px 14px;font:700 10px inherit;cursor:pointer}.customer-profile-actions button.dialog-secondary{border:1px solid #cbd7d3;background:#fff;color:#345148}.customer-profile-actions button:disabled{opacity:.65;cursor:wait}.customer-profile-note{margin:0;padding:10px 12px;border-radius:10px;background:#eef5f2;color:#456057;font-size:10px;line-height:1.8}
@media(max-width:760px){.seller-route-map-panel{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) minmax(150px,36%)}.seller-route-map-panel>.panel-header{grid-column:1}.route-map-canvas,.route-map-sidebar{grid-column:1}.route-map-sidebar{border-top:1px solid #e0e5e3;border-left:0;grid-template-rows:auto minmax(0,1fr)}.route-map-sidebar>header{padding:8px 12px}.route-map-sidebar>header div{display:flex;align-items:center;justify-content:space-between;gap:8px}}
@media(max-width:1080px) and (min-width:761px){.seller-route-map-panel{grid-template-columns:minmax(0,1fr) 280px 166px}.route-day-action-rail{padding-inline:7px}.route-day-action-rail>button{padding-inline:6px}.route-day-action-rail>button strong{font-size:8px}}
@media(max-width:760px){.seller-route-map-panel{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) minmax(150px,36%)}.route-day-action-rail{grid-column:1;grid-row:2;min-height:auto;overflow-x:auto;overflow-y:hidden;flex-direction:row;align-items:stretch;padding:7px 10px;border-left:0;border-bottom:1px solid #dce4e1;background:#f5f9f7}.route-day-action-rail>header{flex:0 0 110px;align-content:center;border:0;border-left:1px solid #dce5e2;padding:2px 4px 2px 10px}.route-day-action-rail>button{flex:0 0 148px;min-height:60px;padding:7px}.route-day-action-rail>hr{flex:0 0 1px;width:1px;margin:3px 1px;border:0;border-left:1px solid #d7e0dd}.route-day-action-note{display:none}.route-map-canvas{grid-row:3}.route-map-sidebar{grid-row:4}}
@media(max-width:430px){.route-day-action-rail>header{flex-basis:96px}.route-day-action-rail>button{flex-basis:136px}.route-day-action-rail>button small{font-size:6.5px}}
.customer-profile-location-capture.is-wide{grid-column:1/-1}.customer-profile-location-capture{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #bee0d4;border-radius:11px;background:#effaf6}.customer-profile-location-capture button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;border:0;border-radius:9px;background:#176b54;color:#fff;padding:10px 13px;font:700 10px inherit;cursor:pointer}.customer-profile-location-capture button span{font-size:17px;line-height:1}.customer-profile-location-capture button:disabled{opacity:.65;cursor:wait}.customer-profile-location-capture small{color:#42655a;font-size:9px;line-height:1.7}
@media(max-width:760px){.customer-profile-body{padding:10px}.customer-profile-hero{padding:14px}.customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-form{grid-template-columns:1fr}.customer-profile-form label.is-wide,.customer-profile-location-capture.is-wide{grid-column:1}.customer-profile-location-capture{align-items:stretch;flex-direction:column}.customer-profile-location-capture button{width:100%;min-height:44px}.customer-profile-actions{display:grid}.customer-profile-actions button{width:100%;min-height:44px}}

/* Web-only company identity. Android keeps the established operational theme. */
html.web-road-theme{--brand-ink:#15130f;--brand-graphite:#292722;--brand-graphite-soft:#39362f;--brand-gold:#d6a739;--brand-gold-light:#f4dc8c;--brand-gold-soft:#fbf5e6;--brand-canvas:#f4f1e9;--brand-panel:#fffdf8}
html.web-road-theme .brand-mark-image{display:block;width:100%;height:100%;object-fit:cover}
html.web-road-theme body{background:var(--brand-canvas);color:var(--brand-ink)}
html.web-road-theme .sidebar{border-left-color:#66562f;background:linear-gradient(165deg,#11100e 0,#27241f 62%,#171512 100%);color:#f7edd0;box-shadow:-12px 0 34px #17130b1f}
html.web-road-theme .sidebar-top,html.web-road-theme .conversation-scroll,html.web-road-theme .sidebar-footer{background:transparent}
html.web-road-theme .sidebar-brand{margin-bottom:7px;padding:0 8px;border:1px solid #d6a73973;border-radius:13px;background:linear-gradient(125deg,#090908,#332b1c);color:#fff2c8;box-shadow:inset 0 1px #ffffff17,0 7px 18px #0004}
html.web-road-theme .sidebar-brand .plain-icon{color:var(--brand-gold-light)}
html.web-road-theme .brand-logo{overflow:hidden;flex:0 0 30px;width:30px;height:30px;border:1px solid #edcf76;border-radius:9px;background:var(--brand-ink);box-shadow:0 0 0 2px #d6a73920,0 4px 12px #0008}
html.web-road-theme .new-chat{border-color:#e0bd5c;background:linear-gradient(135deg,#f5dd91,#c99025);color:#17130c;box-shadow:0 6px 18px #0004}
html.web-road-theme .new-chat:hover{background:linear-gradient(135deg,#ffe9a6,#dda938)}
html.web-road-theme .new-chat>span:first-child{color:#2a2112}
html.web-road-theme .new-chat kbd{color:#5b461d}
html.web-road-theme .conversation-search{border:1px solid #ffffff14;background:#ffffff0a;color:#d2c6a5}
html.web-road-theme .conversation-search:focus-within{border-color:#d6a7398c;background:#070706;box-shadow:0 0 0 2px #d6a7391f}
html.web-road-theme .conversation-search input{color:#fff7df}
html.web-road-theme .conversation-search input::placeholder{color:#a69b80}
html.web-road-theme .side-nav{gap:4px;border-bottom-color:#ffffff17}
html.web-road-theme .side-nav button,html.web-road-theme .sidebar-option{height:44px;border:1px solid transparent;color:#e9dfc5;transition:background .15s,border-color .15s,transform .15s}
html.web-road-theme .side-nav button:hover,html.web-road-theme .sidebar-option:hover{border-color:#d6a7395c;background:linear-gradient(90deg,#ffffff10,#d6a73918);color:#fff4d2;transform:translateX(-1px)}
html.web-road-theme .nav-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;clip-path:polygon(50% 0,94% 23%,84% 85%,50% 100%,16% 85%,6% 23%);background:linear-gradient(145deg,#f7e3a0 5%,#bf8422 48%,#f4d77c 100%);color:#1b1710;font:700 14px/1 Arial,sans-serif;filter:drop-shadow(0 2px 4px #0005)}
html.web-road-theme .inbox-badge{border:1px solid #e3bd55;background:#080807;color:#f5d978}
html.web-road-theme .conversation-group h2{color:#a99d80}
html.web-road-theme .conversation-loading,html.web-road-theme .conversation-empty{color:#a99d80}
html.web-road-theme .conversation-item{color:#e8dec4}
html.web-road-theme .conversation-item:hover{background:#ffffff0d}
html.web-road-theme .conversation-item.active{background:linear-gradient(90deg,#d6a7392b,#ffffff0c);box-shadow:inset -3px 0 #d6a739}
html.web-road-theme .conversation-more{color:#dbc887}
html.web-road-theme .conversation-more:hover{background:#ffffff14}
html.web-road-theme .conversation-menu{border-color:#d8bd6d;background:#27231c;color:#f7edd1;box-shadow:0 15px 38px #0008}
html.web-road-theme .conversation-menu button{color:inherit}
html.web-road-theme .conversation-menu button:hover{background:#d6a7391d}
html.web-road-theme .sidebar-footer{border-top-color:#ffffff17}
html.web-road-theme .profile-row{color:#f1e6c8}
html.web-road-theme .profile-row:hover{background:#ffffff0d}
html.web-road-theme .sidebar .plain-icon:hover{background:#ffffff12;color:#f4d77d}
html.web-road-theme .profile-avatar{border:1px solid #e3bd55;background:linear-gradient(145deg,#f0d37a,#a97016);color:#17130c}
html.web-road-theme .profile-copy small{color:#b9ad90}
html.web-road-theme .notification-button-active{color:#f2d474}
html.web-road-theme .main-panel{background:radial-gradient(circle at 86% 2%,#fff8df 0,transparent 28%),var(--brand-canvas)}
html.web-road-theme .main-header{border-bottom:1px solid #d8c58b;background:rgba(255,253,248,.94);box-shadow:0 4px 18px #2b241518;backdrop-filter:blur(14px)}
html.web-road-theme .assistant-brand-mark{overflow:hidden;width:28px;height:28px;border:1px solid #d4a936;border-radius:8px;background:#111;box-shadow:0 4px 12px #0003}
html.web-road-theme .assistant-title{border:1px solid transparent}
html.web-road-theme .assistant-title:hover{border-color:#e4d29a;background:#fdf9ed}
html.web-road-theme .welcome-logo{overflow:hidden;width:62px;height:62px;border:1px solid #d4a936;border-radius:19px;background:#111;box-shadow:0 12px 35px #0002,0 0 0 5px #d6a73912}
html.web-road-theme .header-icon{color:#3a3020}
html.web-road-theme .header-icon:hover{background:#f4e8bd;color:#8d6717}
html.web-road-theme .connection-status{color:#756849}
html.web-road-theme .connection-status i{background:#d6a739;box-shadow:0 0 0 3px #f6e8b8}
html.web-road-theme .panel-header{border-bottom-color:#d8c58b;background:linear-gradient(112deg,#171512,#312a1e);color:#fff3cf;box-shadow:0 7px 22px #17130b29}
html.web-road-theme .panel-header p{color:#cbbd99}
html.web-road-theme .panel-header .header-icon{color:#f3d87d}
html.web-road-theme .panel-header .header-icon:hover{background:#ffffff12;color:#fff0b8}
html.web-road-theme .text-button{color:#a87518}
html.web-road-theme .suggestions button:hover{border-color:#d9c076;background:linear-gradient(145deg,#fff,#fdf9ee);box-shadow:0 7px 20px #8a641410}
html.web-road-theme .route-day-action-rail{border-left-color:#d8c897;background:linear-gradient(180deg,#2b2822,#171512);color:#f7edd0}
html.web-road-theme .route-day-action-rail>header{border-bottom-color:#ffffff17}
html.web-road-theme .route-day-action-rail>header strong{color:#f7e7b2}
html.web-road-theme .route-day-action-rail>header small,html.web-road-theme .route-day-action-note{color:#b5aa90}
html.web-road-theme .route-day-action-rail>button{border-color:#ffffff17;background:#ffffff08;color:#f1e7cc;box-shadow:none}
html.web-road-theme .route-day-action-rail>button small{color:#aea58f}
html.web-road-theme .route-day-action-rail>button:hover,html.web-road-theme .route-day-action-rail>button:focus-visible{border-color:#c89a31;background:#d6a73916}
html.web-road-theme .route-day-action-rail>button.is-active{border-color:#d8ae49;background:linear-gradient(135deg,#d6a73926,#ffffff0c);box-shadow:inset -3px 0 #d6a739}
html.web-road-theme .route-day-action-icon{clip-path:polygon(50% 0,94% 23%,84% 85%,50% 100%,16% 85%,6% 23%);border-radius:0;background:linear-gradient(145deg,#f7e3a0,#b97b19 52%,#f1d06d);color:#19150d;text-shadow:0 1px #fff8;font-family:Arial,sans-serif}
html.web-road-theme .route-day-action-rail>button.is-danger .route-day-action-icon{background:linear-gradient(145deg,#f4d7ad,#b8563b);color:#2e110b}
html.web-road-theme .route-day-action-badge.is-ready{border:1px solid #d9c074;background:#332b1b;color:#f3d67c}
@media(max-width:760px){html.web-road-theme .sidebar-brand{height:48px}html.web-road-theme .assistant-title{padding:5px 6px}html.web-road-theme .assistant-brand-mark{width:26px;height:26px}html.web-road-theme .assistant-title strong{font-size:12px}html.web-road-theme .side-nav button{height:46px}html.web-road-theme .route-day-action-rail{background:linear-gradient(90deg,#25221d,#171512)}}

.previsit-panel{position:absolute;inset:0;z-index:23;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f8f8f8}.previsit-form{width:min(720px,100%);overflow:auto;display:grid;align-content:start;gap:12px;margin:auto;padding:20px}.previsit-form>label,.previsit-cart>label{display:grid;gap:6px;font-size:11px;color:#48524f}.previsit-form select,.previsit-form input{height:42px;border:1px solid #dce4e1;border-radius:9px;background:#fff;padding:0 10px;font:inherit;color:#25302d}.previsit-form>button,.previsit-cart>button{min-height:42px;border:0;border-radius:9px;background:#14765b;color:#fff;font:700 11px inherit;cursor:pointer}#startPrevisit.is-loading{display:flex;align-items:center;justify-content:center;gap:9px;cursor:wait;opacity:.9}#startPrevisit.is-loading::before{content:"";width:17px;height:17px;flex:0 0 17px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:thinking-spin .7s linear infinite}#startPrevisit:disabled{cursor:wait}.previsit-cart{display:grid;gap:12px;padding:14px;border:1px solid #dce7e2;border-radius:12px;background:#fff}.previsit-cart>header{display:flex;align-items:center;justify-content:space-between}.previsit-cart h3{margin:0;font-size:13px}.previsit-cart>header button{font:700 10px inherit}.previsit-lines{display:grid;gap:8px}.previsit-line{display:grid;grid-template-columns:1.5fr 1fr .65fr .8fr .7fr 30px;gap:6px;align-items:end;padding:9px;border-radius:9px;background:#f4f8f6}.previsit-line label{display:grid;gap:3px;color:#68726f;font-size:8px}.previsit-line input{min-width:0;height:34px;padding:0 7px;font-size:10px}.previsit-line button{height:34px;border:0;border-radius:7px;background:#f3e6e6;color:#9e3939;cursor:pointer}.previsit-cart .dialog-secondary{border:1px solid #c8d8d2;background:#fff;color:#176b54}@media(max-width:620px){.previsit-form{padding:12px}.previsit-line{grid-template-columns:1fr 1fr 1fr}.previsit-line label:first-child{grid-column:span 2}.previsit-line button{grid-column:3}}
.previsit-panel{min-height:0;overflow:hidden}
.previsit-form{width:min(980px,100%);height:100%;min-height:0;margin:0 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:max(28px,env(safe-area-inset-bottom))}
.previsit-cart>header small{display:block;margin-top:3px;color:#77807d;font-size:9px}
.previsit-status{padding:5px 8px;border-radius:999px;background:#e7f5ef;color:#12694f;font-size:9px;white-space:nowrap}
.previsit-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.previsit-context-grid label,.previsit-product-picker label{display:grid;gap:5px;color:#52605c;font-size:9px;font-weight:700}
.previsit-product-picker{display:grid;grid-template-columns:1.1fr 1.8fr .45fr auto;gap:8px;align-items:end;padding:11px;border:1px solid #d9e6e1;border-radius:10px;background:#f7faf9}
.previsit-product-picker button{height:42px;border:0;border-radius:9px;background:#275c4d;color:#fff;padding:0 12px;font:700 10px inherit;cursor:pointer;white-space:nowrap}
.previsit-cart .previsit-line{grid-template-columns:minmax(220px,1fr) minmax(78px,92px) 34px;gap:9px;align-items:center;padding:12px;border:1px solid #e1ebe7;background:#f8fbfa}
.previsit-line-product{display:grid;gap:3px;min-width:0}.previsit-line-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.previsit-line-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#66716d;font-size:8px}
.previsit-cart .previsit-line>div:not(.previsit-line-product){display:grid;gap:4px}.previsit-cart .previsit-line small{color:#68726f;font-size:8px}.previsit-cart .previsit-line output{font-size:10px;font-weight:700}.previsit-cart .previsit-line button{height:34px}
.previsit-line-breakdown{grid-column:1/-1;grid-template-columns:repeat(5,minmax(120px,1fr));gap:7px!important}.previsit-line-breakdown>span{display:grid;align-content:start;gap:4px;min-height:57px;padding:8px;border:1px solid #e1e9e6;border-radius:8px;background:#fff}.previsit-line-breakdown output{line-height:1.55}.previsit-line-breakdown em{color:#68726f;font-size:8px;font-style:normal;font-weight:700}.previsit-line.is-calculated .previsit-line-discount{border-color:#79c9aa;background:#effaf5}.previsit-line.is-calculated .previsit-line-discount output{color:#107052;font-size:12px}.previsit-line.is-calculated .previsit-line-net{border-color:#9bbfe0;background:#f1f7fc}.previsit-line-rules{grid-column:1/-1;display:flex!important;flex-wrap:wrap;align-items:center;gap:5px!important;color:#52605c;font-size:8px}.previsit-line-rules strong{color:#176b54}.previsit-line-rules span{padding:3px 7px;border-radius:999px;background:#edf3f1}.previsit-line-formula{grid-column:1/-1;margin:0;padding:7px 9px;border-right:3px solid #24749f;border-radius:7px;background:#eef7fc;color:#315363;font-size:9px;font-weight:700;line-height:1.8}
.previsit-line-discount-columns{grid-column:1/-1;grid-template-columns:repeat(3,minmax(140px,1fr));gap:7px!important}.previsit-line-discount-columns>span{display:grid;gap:4px;padding:9px;border:1px solid #dfe8e5;border-radius:8px;background:#fff}.previsit-line-discount-columns output{font-size:12px!important;color:#176b54}.previsit-line-discount-columns em{color:#596763;font-size:8px;font-style:normal;font-weight:700}.previsit-line-discount-columns .is-cash{background:#f0f6ff;border-color:#bad0e8}.previsit-line-discount-columns .is-volume{background:#fff8eb;border-color:#ead2a2}.previsit-line-discount-columns .is-goods{background:#effaf5;border-color:#9ed6bf}.previsit-line-unclassified{grid-column:1/-1;margin:0;padding:7px 9px;border-right:3px solid #d28a18;border-radius:7px;background:#fff7e8;color:#875018;font-size:8px;font-weight:700}
.previsit-preview-button{background:#176b9a!important}.previsit-preview-button:disabled{opacity:.6;cursor:wait}
.previsit-preview-result{display:grid;gap:10px;padding:12px;border:1px solid #aad7c6;border-radius:10px;background:#f0faf6}.previsit-preview-result>header{display:flex;justify-content:space-between;gap:10px}.previsit-preview-result>header strong{color:#14694f;font-size:11px}.previsit-preview-result>header span{color:#52605c;font-size:9px}
.previsit-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.previsit-totals span{display:grid;gap:4px;padding:8px;border-radius:8px;background:#fff;color:#68726f;font-size:8px}.previsit-totals b{color:#20312c;font-size:11px}.previsit-prizes,.previsit-restrictions{padding:9px;border-radius:8px;background:#fff}.previsit-prizes strong,.previsit-restrictions strong{font-size:9px}.previsit-prizes p,.previsit-restrictions p{margin:4px 0 0;font-size:9px;line-height:1.7}.previsit-restrictions{border-right:3px solid #d28a18}
.previsit-credit-control{display:grid;gap:8px;padding:10px;border:1px solid #8bcbb4;border-radius:9px;background:#fff}.previsit-credit-control.is-blocked{border-color:#e3a19a;background:#fff5f3}.previsit-credit-control>header{display:flex;justify-content:space-between;gap:8px}.previsit-credit-control>header strong{color:#116e50;font-size:10px}.previsit-credit-control.is-blocked>header strong{color:#a43d32}.previsit-credit-control>header span,.previsit-credit-control>p{color:#596763;font-size:8px}.previsit-credit-control>p{margin:0;line-height:1.8}.previsit-credit-control>div{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:6px}.previsit-credit-control>div span{display:grid;gap:3px;padding:7px;border-radius:7px;background:#f3f7f5;color:#68726f;font-size:8px}.previsit-credit-control>div b{color:#263b34;font-size:9px}.previsit-credit-control>div .is-deficit{background:#ffe2de;color:#9c382e}.previsit-credit-control details{font-size:8px}.previsit-credit-control summary{cursor:pointer;color:#176b54;font-weight:800}.previsit-credit-control dl{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;margin:8px 0 0}.previsit-credit-control dt{color:#68726f}.previsit-credit-control dd{margin:0;font-weight:700}.previsit-order-actions button:disabled{opacity:.48;cursor:not-allowed}
.previsit-rules{display:grid;gap:7px;padding:9px;border-radius:8px;background:#fff}.previsit-rules>strong{font-size:10px}.previsit-rules>small{color:#68726f;font-size:8px}.previsit-rules article{display:grid;gap:5px;padding:8px;border:1px solid #dfe7e4;border-radius:8px;background:#fbfcfc}.previsit-rules article.is-applied{border-color:#7ccdb0;background:#f1fbf7}.previsit-rules article header,.previsit-rules article footer{display:flex;justify-content:space-between;gap:8px}.previsit-rules article b{font-size:9px}.previsit-rules article em{font-style:normal;font-size:8px;color:#9b4e31}.previsit-rules article.is-applied em{color:#147454}.previsit-rules article p{margin:0;font-size:9px}.previsit-rules article ul{display:grid;gap:3px;margin:0;padding-inline-start:18px;color:#8f4d35;font-size:8px}.previsit-rules article footer{flex-wrap:wrap;color:#6f7976;font-size:8px}.previsit-rules-empty{padding:9px;border-radius:8px;background:#fff;color:#68726f;font-size:9px}
.previsit-rules>summary{cursor:pointer;color:#176b54;font-size:9px;font-weight:800;list-style-position:inside}.previsit-rules[open]>summary{padding-bottom:7px;border-bottom:1px solid #e1e8e5}
@media(max-width:760px){.previsit-context-grid{grid-template-columns:1fr}.previsit-product-picker{grid-template-columns:1fr 90px}.previsit-product-picker label:first-child,.previsit-product-picker label:nth-child(2){grid-column:1/-1}.previsit-cart .previsit-line{grid-template-columns:1fr 80px 34px}.previsit-line-product{grid-column:1/-1}.previsit-cart .previsit-line>div:not(.previsit-line-product):not(.previsit-line-breakdown):not(.previsit-line-discount-columns){grid-column:auto}.previsit-cart .previsit-line button{grid-column:3;grid-row:2}.previsit-cart .previsit-line-breakdown{grid-column:1/-1;grid-template-columns:1fr 1fr}.previsit-line-breakdown>span:last-child{grid-column:1/-1}.previsit-line-discount-columns{grid-column:1/-1;grid-template-columns:1fr}.previsit-line-rules,.previsit-line-formula,.previsit-line-unclassified{grid-column:1/-1}.previsit-totals{grid-template-columns:1fr 1fr}.previsit-preview-result>header,.previsit-credit-control>header{display:grid}.previsit-credit-control>div{grid-template-columns:1fr 1fr}}
.previsit-form{width:min(1280px,100%)}
.previsit-invoice-scroll{--invoice-cols:32px 115px 110px 95px 95px 95px 105px 105px 70px minmax(250px,2fr);--invoice-areas:"remove net tax cash volume goods gross unit quantity product";overflow-x:auto;border:1px solid #d8e2de;border-radius:9px;background:#fff;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-line{display:grid;grid-template-columns:var(--invoice-cols)!important;grid-template-areas:var(--invoice-areas)!important;gap:0!important;direction:ltr;box-sizing:border-box}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines{width:max(100%,1120px);min-width:0;box-sizing:border-box}.previsit-invoice-scroll .previsit-line{width:100%;min-width:0}
.previsit-invoice-head{position:sticky;top:0;z-index:2;background:#e8f1ed;color:#364641;font-size:8px;font-weight:800}
.previsit-invoice-head>span{display:grid;place-items:center;min-height:38px;padding:5px;border-left:1px solid #cddbd5;text-align:center;line-height:1.45;direction:rtl}.previsit-invoice-head>span:first-child{justify-items:start;text-align:right}.previsit-invoice-head>span:nth-child(1){grid-area:product}.previsit-invoice-head>span:nth-child(2){grid-area:quantity}.previsit-invoice-head>span:nth-child(3){grid-area:unit}.previsit-invoice-head>span:nth-child(4){grid-area:gross}.previsit-invoice-head>span:nth-child(5){grid-area:goods}.previsit-invoice-head>span:nth-child(6){grid-area:volume}.previsit-invoice-head>span:nth-child(7){grid-area:cash}.previsit-invoice-head>span:nth-child(8){grid-area:tax}.previsit-invoice-head>span:nth-child(9){grid-area:net}.previsit-invoice-head>span:nth-child(10){grid-area:remove}.previsit-invoice-head small{font-size:7px;color:#687772}
.previsit-lines{display:grid;gap:0}
.previsit-invoice-scroll .previsit-line{align-items:stretch;padding:0;border:0;border-bottom:1px solid #dfe7e4;border-radius:0;background:#fff}.previsit-invoice-scroll .previsit-line:nth-child(even){background:#f8fbfa}.previsit-invoice-scroll .previsit-line:last-child{border-bottom:0}
.previsit-invoice-scroll .previsit-line-product{grid-area:product;align-content:center;padding:6px 8px;border-left:1px solid #e1e8e5;direction:rtl}.previsit-invoice-scroll .previsit-line-product strong{font-size:9px}.previsit-invoice-scroll .previsit-line-product small{font-size:7px}
.previsit-invoice-scroll .previsit-line-quantity{grid-area:quantity;align-content:center;padding:5px;border-left:1px solid #e1e8e5;font-size:0!important;direction:rtl}.previsit-invoice-scroll .previsit-line-quantity input{height:30px;text-align:center;font-size:9px}
.previsit-invoice-scroll .previsit-line-breakdown,.previsit-invoice-scroll .previsit-line-discount-columns{display:contents!important}
.previsit-invoice-scroll .previsit-line-breakdown>span,.previsit-invoice-scroll .previsit-line-discount-columns>span{grid-row:1;align-content:center;justify-items:center;min-height:50px;padding:5px;border:0;border-left:1px solid #e1e8e5;border-radius:0;background:transparent!important;text-align:center;direction:rtl}
.previsit-invoice-scroll .previsit-line-breakdown>span small,.previsit-invoice-scroll .previsit-line-discount-columns>span small{display:none}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(1){grid-area:unit}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(2){grid-area:gross}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(3){display:none}.previsit-invoice-scroll .previsit-line-discount-columns .is-goods{grid-area:goods}.previsit-invoice-scroll .previsit-line-discount-columns .is-volume{grid-area:volume}.previsit-invoice-scroll .previsit-line-discount-columns .is-cash{grid-area:cash}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(4){grid-area:tax}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(5){grid-area:net}
.previsit-invoice-scroll .previsit-line output{font-size:8px!important;line-height:1.45}.previsit-invoice-scroll .previsit-line-discount-columns output{color:#176b54;font-size:9px!important}.previsit-invoice-scroll .previsit-line-discount-columns em{font-size:7px}
.previsit-invoice-scroll .previsit-line>button{grid-area:remove;align-self:center;width:25px;height:25px;margin:auto;padding:0;font-size:12px;direction:rtl}
.previsit-invoice-scroll .previsit-line-rules,.previsit-invoice-scroll .previsit-line-unclassified{grid-column:1/-1;padding:4px 8px;border-top:1px dashed #d9e3df;border-radius:0;font-size:7px}.previsit-invoice-scroll .previsit-line:not(.is-calculated) .previsit-line-rules{display:none!important}.previsit-invoice-scroll .previsit-line-rules span{padding:2px 5px}.previsit-invoice-scroll .previsit-line-formula{display:none}
.previsit-totals{gap:0;border:1px solid #cfe0d9;border-radius:8px;overflow:hidden}.previsit-totals span{border-left:1px solid #dbe8e3;border-radius:0;padding:6px 8px}.previsit-totals span:last-child{border-left:0}.previsit-totals b{font-size:10px}
@media(max-width:760px){.previsit-invoice-scroll{margin-inline:-4px}.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines{width:1120px}.previsit-totals{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Production mobile catalogue and invoice */
.previsit-cart{position:relative;padding-bottom:76px;background:#f4f8f6}
.previsit-cart-header{position:sticky;top:0;z-index:8;padding:12px;border:1px solid #dce8e3;border-radius:12px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
.previsit-customer-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}.previsit-customer-summary>div{display:grid;gap:3px;padding:10px 12px;border:1px solid #dbe7e2;border-radius:11px;background:#fff}.previsit-customer-summary small{color:#70807a;font-size:8px}.previsit-customer-summary strong{font-size:11px}.previsit-customer-summary span{color:#5d6d67;font-size:8px}
.previsit-catalog-view,.previsit-cart-view{display:grid;gap:11px}.previsit-catalog-view[hidden],.previsit-cart-view[hidden]{display:none!important}
.previsit-catalog-toolbar{position:sticky;top:71px;z-index:7;display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(130px,.7fr)) auto;gap:7px;padding:9px;border:1px solid #d9e6e1;border-radius:12px;background:rgba(248,252,250,.97);box-shadow:0 7px 20px rgba(31,72,59,.07);backdrop-filter:blur(10px)}.previsit-catalog-toolbar label{display:grid;gap:4px;color:#53635d;font-size:8px;font-weight:800}.previsit-catalog-toolbar input,.previsit-catalog-toolbar select{width:100%;height:38px;border:1px solid #d4e1dc;border-radius:9px;background:#fff;padding:0 10px;font:inherit;color:#22332d}.previsit-catalog-toolbar button{align-self:end;height:38px;border:1px solid #b9cdc5;border-radius:9px;background:#fff;color:#466158;padding:0 12px;font:800 9px inherit;cursor:pointer;white-space:nowrap}.previsit-catalog-toolbar button.is-active{border-color:#14765b;background:#e7f6f0;color:#11684f}
.previsit-catalog-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6b7874;font-size:8px}.previsit-catalog-meta strong{color:#1d5e4b;font-size:10px}
.previsit-catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:9px}.previsit-product-card{display:grid;grid-template-columns:58px 1fr;grid-template-areas:"visual info" "facts facts" "price price" "button button";gap:8px;padding:10px;border:1px solid #dbe6e2;border-radius:13px;background:#fff;box-shadow:0 3px 12px rgba(27,68,55,.045)}.previsit-product-card.is-in-cart{border-color:#66b99b;box-shadow:0 0 0 2px rgba(35,141,104,.1)}.previsit-product-visual{grid-area:visual;position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:12px;background:linear-gradient(145deg,#e8f5f0,#d8e9ff);color:#176b54;font-size:25px;font-weight:900}.previsit-product-visual b{position:absolute;right:-5px;bottom:-4px;padding:2px 5px;border-radius:999px;background:#fff0bd;color:#7b5900;font-size:6px}.previsit-product-info{grid-area:info;display:grid;align-content:start;gap:3px;min-width:0}.previsit-product-info small{color:#14765b;font-size:7px;font-weight:800}.previsit-product-info strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.65;font-size:9px}.previsit-product-info span{overflow:hidden;color:#71807b;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.previsit-product-facts{grid-area:facts;display:flex;flex-wrap:wrap;gap:5px}.previsit-product-facts span{padding:3px 6px;border-radius:999px;background:#eef3f1;color:#53645e;font-size:7px}.previsit-product-facts .is-stocked{background:#e7f7f0;color:#087251}.previsit-product-facts .is-empty{background:#f8eaea;color:#9c3f3f}.previsit-product-price{grid-area:price;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid #edf1ef}.previsit-product-price small{color:#74817d;font-size:7px}.previsit-product-price b{font-size:9px}.previsit-product-card>button{grid-area:button;height:36px;border:0;border-radius:9px;background:#176b54;color:#fff;font:800 9px inherit;cursor:pointer}.previsit-product-card>button:disabled{background:#dce3e0;color:#87928e;cursor:not-allowed}.previsit-catalog-empty{grid-column:1/-1;display:grid;place-items:center;gap:5px;min-height:160px;border:1px dashed #cad9d3;border-radius:12px;background:#fff;color:#65736e;font-size:9px}
.previsit-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:11px;background:#fff}.previsit-section-title>div{display:grid;gap:3px}.previsit-section-title strong{font-size:12px}.previsit-section-title small{color:#6a7873;font-size:8px}.previsit-section-title>span{padding:5px 8px;border-radius:999px;background:#e8f5f0;color:#176b54;font-size:8px;font-weight:800}.previsit-cart-empty{display:grid;place-items:center;gap:4px;padding:28px;border:1px dashed #cbd9d4;border-radius:12px;background:#fff;color:#67756f}.previsit-cart-empty[hidden]{display:none}.previsit-cart-empty>span{font-size:24px}.previsit-cart-empty strong{font-size:10px}.previsit-cart-empty small{font-size:8px}
.previsit-order-actions{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:8px}.previsit-order-actions button{min-height:42px;border:0;border-radius:9px;background:#14765b;color:#fff;font:800 10px inherit;cursor:pointer}.previsit-order-actions .dialog-secondary{border:1px solid #c8d8d2;background:#fff;color:#176b54}
.previsit-mobile-dock{position:sticky;bottom:calc(-14px + env(safe-area-inset-bottom));z-index:12;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 -5px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border:1px solid #d2dfda;border-radius:14px 14px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(22,66,52,.12);backdrop-filter:blur(12px)}.previsit-mobile-dock button{position:relative;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:5px;min-height:44px;border:0;border-radius:10px;background:transparent;color:#52635d;font:800 9px inherit;cursor:pointer}.previsit-mobile-dock button.is-active{background:#e7f5ef;color:#116b51}.previsit-mobile-dock button span{font-size:14px}.previsit-mobile-dock button b{min-width:18px;padding:2px 4px;border-radius:999px;background:#14765b;color:#fff;font-size:7px}.previsit-mobile-dock button small{grid-column:1/-1;color:#5e6d68;font-size:7px}

@media(max-width:760px){
  .previsit-form{padding:8px 8px 0}.previsit-cart{gap:9px;padding:8px 8px 76px;border:0;border-radius:0}.previsit-cart-header{top:-8px;margin:-8px -8px 0;border-radius:0 0 12px 12px}.previsit-cart-header h3{font-size:12px}.previsit-cart-header small{font-size:7px}.previsit-status{font-size:7px}.previsit-customer-summary{grid-template-columns:1fr}.previsit-context-grid{grid-template-columns:1fr 1fr;gap:7px}.previsit-context-grid label{font-size:8px}.previsit-context-grid select{height:38px}
  .previsit-catalog-toolbar{top:59px;grid-template-columns:1fr 1fr;padding:7px}.previsit-search-field{grid-column:1/-1}.previsit-catalog-toolbar label:nth-child(4){display:none}.previsit-catalog-toolbar button{height:38px}.previsit-catalog-meta span{display:none}.previsit-catalog-grid{grid-template-columns:1fr 1fr;gap:7px}.previsit-product-card{grid-template-columns:44px 1fr;grid-template-areas:"visual info" "facts facts" "price price" "button button";padding:8px}.previsit-product-visual{width:44px;height:44px;font-size:20px}.previsit-product-info strong{font-size:8px}.previsit-product-price{display:grid;gap:2px}.previsit-product-price b{font-size:8px}.previsit-product-card>button{height:34px;font-size:8px}
  .previsit-section-title{padding:9px}.previsit-invoice-scroll{margin:0;overflow:visible;border:0;background:transparent}.previsit-invoice-head{display:none}.previsit-invoice-scroll .previsit-lines{width:100%;display:grid;gap:9px}.previsit-invoice-scroll .previsit-line{display:grid!important;width:100%;grid-template-columns:1fr 1fr!important;grid-template-areas:"product product" "quantity quantity" "unit gross" "goods volume" "cash tax" "net net" "rules rules" "remove remove"!important;gap:7px!important;padding:10px;border:1px solid #dce7e3;border-radius:12px;background:#fff!important;box-shadow:0 3px 12px rgba(26,66,53,.045)}
  .previsit-invoice-scroll .previsit-line-product{grid-area:product;padding:0 0 8px;border:0;border-bottom:1px solid #e8eeeb}.previsit-invoice-scroll .previsit-line-product strong{white-space:normal;font-size:10px}.previsit-invoice-scroll .previsit-line-product small{font-size:7px}.previsit-invoice-scroll .previsit-line-quantity{grid-area:quantity;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:0;border:0;font-size:8px!important}.previsit-invoice-scroll .previsit-line-quantity input{height:38px;font-size:11px}
  .previsit-invoice-scroll .previsit-line-breakdown,.previsit-invoice-scroll .previsit-line-discount-columns{display:contents!important}.previsit-invoice-scroll .previsit-line-breakdown>span,.previsit-invoice-scroll .previsit-line-discount-columns>span{grid-row:auto!important;display:grid!important;align-content:center;justify-items:start;gap:3px;min-height:64px;padding:8px;border:1px solid #e1e9e6;border-radius:9px;background:#f8fbfa!important;text-align:right}.previsit-invoice-scroll .previsit-line-breakdown>span small,.previsit-invoice-scroll .previsit-line-discount-columns>span small{display:block!important;color:#6c7975;font-size:7px}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(1){grid-area:unit}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(2){grid-area:gross}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(3){display:none!important}.previsit-invoice-scroll .previsit-line-discount-columns .is-goods{grid-area:goods;background:#edf9f4!important}.previsit-invoice-scroll .previsit-line-discount-columns .is-volume{grid-area:volume;background:#fff7e9!important}.previsit-invoice-scroll .previsit-line-discount-columns .is-cash{grid-area:cash;background:#eef5fc!important}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(4){grid-area:tax}.previsit-invoice-scroll .previsit-line-breakdown>span:nth-child(5){grid-area:net;background:#eef8f4!important}.previsit-invoice-scroll .previsit-line output{font-size:9px!important}.previsit-invoice-scroll .previsit-line-discount-columns em{font-size:7px}.previsit-invoice-scroll .previsit-line-rules{grid-area:rules;display:flex!important;padding:7px 0 0;border:0;border-top:1px dashed #d9e3df}.previsit-invoice-scroll .previsit-line:not(.is-calculated) .previsit-line-rules{display:none!important}.previsit-invoice-scroll .previsit-line-unclassified{grid-column:1/-1}.previsit-invoice-scroll .previsit-line>button{grid-area:remove;width:100%;height:34px;margin:0;background:#faeeee}.previsit-invoice-scroll .previsit-line-formula{display:none}
  .previsit-order-actions{grid-template-columns:1fr 1fr}.previsit-order-actions .dialog-secondary{grid-column:1/-1}.previsit-preview-button{position:sticky;bottom:72px;z-index:6}.previsit-mobile-dock{bottom:0;margin:0 -8px}.previsit-totals{grid-template-columns:1fr 1fr}
}

/* Keep the shopping basket invoice-shaped on phones. Deletion is the only
   row action and stays in its own compact icon column. */
.previsit-invoice-scroll .previsit-remove-line{display:grid;place-items:center;width:27px!important;height:27px!important;min-width:27px;margin:auto!important;padding:0!important;border:1px solid #f0d7d7!important;border-radius:7px!important;background:#fff5f5!important;color:#a93d3d!important;cursor:pointer}
.previsit-invoice-scroll .previsit-remove-line svg{width:15px;height:15px;fill:currentColor;pointer-events:none}
.previsit-invoice-scroll .previsit-remove-line:hover{background:#fde8e8!important;color:#8d2828!important}
@media(max-width:760px){
  .previsit-invoice-scroll{--invoice-cols:34px 105px 100px 90px 90px 90px 98px 98px 72px minmax(230px,2fr);--invoice-areas:"remove net tax cash volume goods gross unit quantity product";margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;border:1px solid #d8e2de!important;border-radius:10px!important;background:#fff!important;scrollbar-gutter:auto!important}
  .previsit-invoice-head,.previsit-invoice-scroll .previsit-lines{display:grid!important;width:1040px!important;min-width:1040px!important;gap:0!important}
  .previsit-invoice-head{position:sticky!important;top:0!important;z-index:2!important;grid-template-columns:var(--invoice-cols)!important;grid-template-areas:var(--invoice-areas)!important;background:#e8f1ed!important}
  .previsit-invoice-scroll .previsit-line{display:grid!important;width:100%!important;min-width:0!important;grid-template-columns:var(--invoice-cols)!important;grid-template-areas:var(--invoice-areas)!important;gap:0!important;padding:0!important;border:0!important;border-bottom:1px solid #dfe7e4!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
  .previsit-invoice-scroll .previsit-line:nth-child(even){background:#f8fbfa!important}
  .previsit-invoice-scroll .previsit-line-product{grid-area:product!important;align-content:center!important;padding:6px 8px!important;border:0!important;border-left:1px solid #e1e8e5!important;direction:rtl!important}
  .previsit-invoice-scroll .previsit-line-product strong{white-space:nowrap!important;font-size:9px!important}.previsit-invoice-scroll .previsit-line-product small{font-size:7px!important}
  .previsit-invoice-scroll .previsit-line-quantity{grid-area:quantity!important;display:grid!important;align-content:center!important;padding:5px!important;border:0!important;border-left:1px solid #e1e8e5!important;font-size:0!important;direction:rtl!important}
  .previsit-invoice-scroll .previsit-line-quantity input{height:30px!important;font-size:9px!important;text-align:center!important}
  .previsit-invoice-scroll .previsit-line-breakdown,.previsit-invoice-scroll .previsit-line-discount-columns{display:contents!important}
  .previsit-invoice-scroll .previsit-line-breakdown>span,.previsit-invoice-scroll .previsit-line-discount-columns>span{grid-row:1!important;display:grid!important;align-content:center!important;justify-items:center!important;min-height:50px!important;padding:5px!important;border:0!important;border-left:1px solid #e1e8e5!important;border-radius:0!important;background:transparent!important;text-align:center!important;direction:rtl!important}
  .previsit-invoice-scroll .previsit-line-breakdown>span small,.previsit-invoice-scroll .previsit-line-discount-columns>span small{display:none!important}
  .previsit-invoice-scroll .previsit-line>button{grid-area:remove!important;width:27px!important;height:27px!important;margin:auto!important}
  .previsit-invoice-scroll .previsit-line-rules{grid-column:1/-1!important;display:flex!important;padding:4px 8px!important;border:0!important;border-top:1px dashed #d9e3df!important;border-radius:0!important}
  .previsit-invoice-scroll .previsit-line:not(.is-calculated) .previsit-line-rules{display:none!important}
}
@media(max-width:430px){.previsit-catalog-grid{grid-template-columns:1fr}.previsit-product-card{grid-template-columns:50px 1fr}.previsit-product-visual{width:50px;height:50px}.previsit-context-grid{grid-template-columns:1fr}}

/* Contract price details: base, manufacturer and consumer. */
.previsit-invoice-scroll{--invoice-cols:34px 110px 100px 90px 90px 90px 100px 100px 100px 98px 70px minmax(250px,2fr);--invoice-areas:"remove net tax cash volume goods gross consumer producer unit quantity product"}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines{width:max(100%,1320px)!important}
.previsit-invoice-head>span:nth-child(1){grid-area:product!important}.previsit-invoice-head>span:nth-child(2){grid-area:quantity!important}.previsit-invoice-head>span:nth-child(3){grid-area:unit!important}.previsit-invoice-head>span:nth-child(4){grid-area:producer!important}.previsit-invoice-head>span:nth-child(5){grid-area:consumer!important}.previsit-invoice-head>span:nth-child(6){grid-area:gross!important}.previsit-invoice-head>span:nth-child(7){grid-area:goods!important}.previsit-invoice-head>span:nth-child(8){grid-area:volume!important}.previsit-invoice-head>span:nth-child(9){grid-area:cash!important}.previsit-invoice-head>span:nth-child(10){grid-area:tax!important}.previsit-invoice-head>span:nth-child(11){grid-area:net!important}.previsit-invoice-head>span:nth-child(12){grid-area:remove!important}
.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-base{grid-area:unit!important;display:grid!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-producer{grid-area:producer!important;display:grid!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-consumer{grid-area:consumer!important;display:grid!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-gross{grid-area:gross!important;display:grid!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-total-discount{display:none!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-tax{grid-area:tax!important;display:grid!important}.previsit-invoice-scroll .previsit-line-breakdown>.previsit-line-net{grid-area:net!important;display:grid!important}
.previsit-product-price{display:grid!important;gap:3px!important;align-items:stretch!important}.previsit-product-price>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.previsit-product-price>span+span{padding-top:3px;border-top:1px dashed #e4ebe8}.previsit-product-price>span:nth-child(2) b{color:#815b14}.previsit-product-price>span:nth-child(3) b{color:#176b54}
.previsit-product-price>.is-tax-inclusive{display:grid;grid-template-columns:1fr auto;padding:6px;border-radius:8px;background:#e9f7f1;color:#0d6b50}.previsit-product-price>.is-tax-inclusive small{color:#0d6b50;font-weight:800}.previsit-product-price>.is-tax-inclusive b{color:#0a6048;font-size:10px}.previsit-product-price>.is-tax-inclusive em{grid-column:1/-1;color:#61716b;font-size:6px;font-style:normal;line-height:1.6}
@media(max-width:760px){.previsit-invoice-scroll{--invoice-cols:34px 105px 96px 86px 86px 86px 96px 92px 92px 94px 68px minmax(230px,2fr)!important;--invoice-areas:"remove net tax cash volume goods gross consumer producer unit quantity product"!important}.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines{width:1240px!important;min-width:1240px!important}}

/* Catalog quantity controls and aligned invoice totals. */
.previsit-order-assistant{display:grid;grid-template-columns:minmax(160px,1fr) minmax(220px,2fr) auto auto;gap:8px;align-items:center;margin:0 0 12px;padding:11px;border:1px solid #b7dfd1;border-radius:13px;background:linear-gradient(135deg,#effaf5,#f8fcfa)}.previsit-order-assistant>div:first-child{display:grid;gap:3px}.previsit-order-assistant strong{color:#0e664e;font-size:12px}.previsit-order-assistant small{color:#61746d;font-size:9px;line-height:1.6}.previsit-order-assistant label{min-width:0}.previsit-order-assistant input{width:100%;height:39px;box-sizing:border-box;border:1px solid #b7d6ca;border-radius:9px;background:#fff;padding:0 10px;font:11px inherit;outline:0}.previsit-order-assistant input:focus{border-color:#17785d;box-shadow:0 0 0 3px #17785d18}.previsit-order-assistant>button{height:39px;border:0;border-radius:9px;background:#176b54;color:#fff;padding:0 12px;font:800 10px inherit;white-space:nowrap;cursor:pointer}.previsit-order-assistant>button.is-recording{background:#b53434;animation:order-recording-pulse 1s infinite}.previsit-order-assistant-result{grid-column:1/-1;display:grid;gap:6px;padding:2px 1px;color:#31564a;font-size:10px;line-height:1.6}.previsit-order-assistant-result>button{display:grid;gap:2px;border:1px solid #b9dbce;border-radius:9px;background:#fff;padding:8px 10px;color:#174d3c;text-align:right;cursor:pointer}.previsit-order-assistant-result>button span{font-weight:800}.previsit-order-assistant-result>button small{font-size:9px}@keyframes order-recording-pulse{50%{opacity:.72}}@media(max-width:760px){.previsit-order-assistant{grid-template-columns:1fr}.previsit-order-assistant>button{width:100%}}
.previsit-order-assistant-result>button:disabled{cursor:not-allowed;opacity:.58;background:#f2f4f3}
.previsit-product-stepper{grid-area:button;display:grid;grid-template-columns:42px minmax(0,1fr) 42px minmax(82px,auto);grid-template-areas:"minus quantity plus unit" "note note note note";align-items:stretch;min-height:38px;overflow:hidden;border:1px solid #b9d9cd;border-radius:10px;background:#eef8f4}
.previsit-product-stepper button{display:grid;place-items:center;margin:0;padding:0;border:0;background:#176b54;color:#fff;font:900 18px/1 inherit;cursor:pointer}
.previsit-product-stepper button.is-minus{grid-area:minus;background:#dff0e9;color:#176b54;border-left:1px solid #b9d9cd}.previsit-product-stepper button.is-plus{grid-area:plus;border-right:1px solid #b9d9cd}
.previsit-product-stepper button:disabled{background:#edf1ef;color:#a2ada9;cursor:not-allowed}
.previsit-product-stepper output{grid-area:quantity;display:grid;place-content:center;justify-items:center;gap:1px;color:#176b54;direction:rtl}
.previsit-product-stepper output small{font-size:7px;color:#61716b}.previsit-product-stepper output b{font-size:11px}
.previsit-product-stepper select{grid-area:unit;min-width:0;border:0;border-right:1px solid #b9d9cd;background:#fff;padding:0 6px;color:#174d3c;font:800 8px inherit}.previsit-product-stepper>em{grid-area:note;padding:3px 6px;border-top:1px solid #cfe2da;color:#63746e;font:normal 7px inherit;text-align:center}
.previsit-invoice-totals{display:grid;grid-template-columns:var(--invoice-cols)!important;grid-template-areas:var(--invoice-areas)!important;width:max(100%,1320px)!important;min-width:0;box-sizing:border-box;direction:ltr;border-top:2px solid #9fcbbb;background:#edf8f4;color:#234b3e;font-size:8px;font-weight:800}
.previsit-invoice-totals[hidden]{display:none!important}
.previsit-invoice-totals>*{display:grid;place-items:center;min-height:44px;margin:0;padding:5px;border-left:1px solid #d3e2dc;text-align:center;line-height:1.45;direction:rtl}
.previsit-invoice-totals output{font-size:8px;font-weight:800;line-height:1.45}.previsit-invoice-totals .is-product{grid-area:product;justify-items:start;padding-inline:9px;font-size:9px}.previsit-invoice-totals .is-quantity{grid-area:quantity}.previsit-invoice-totals .is-unit{grid-area:unit}.previsit-invoice-totals .is-producer{grid-area:producer}.previsit-invoice-totals .is-consumer{grid-area:consumer}.previsit-invoice-totals .is-gross{grid-area:gross}.previsit-invoice-totals .is-goods{grid-area:goods}.previsit-invoice-totals .is-volume{grid-area:volume}.previsit-invoice-totals .is-cash{grid-area:cash}.previsit-invoice-totals .is-tax{grid-area:tax}.previsit-invoice-totals .is-net{grid-area:net}.previsit-invoice-totals .is-remove{grid-area:remove}
.previsit-invoice-totals.is-official{border-top-color:#238d68;background:#e3f5ee;color:#0d684e}
@media(max-width:760px){.previsit-invoice-totals{width:1240px!important;min-width:1240px!important}.previsit-product-stepper{grid-template-columns:38px minmax(0,1fr) 38px minmax(74px,auto);min-height:36px}}

/* Full-screen tabletop catalogue: customer faces the far half, seller the near half. */
.previsit-catalog-meta>span{flex:1}.previsit-catalog-meta>button{min-height:34px;padding:0 11px;border:1px solid #176b54;border-radius:9px;background:#176b54;color:#fff;font:800 8px inherit;white-space:nowrap;cursor:pointer}
body.previsit-table-open{overflow:hidden!important}
.previsit-table-overlay{position:fixed;inset:0;z-index:1000;display:grid;grid-template-rows:minmax(0,1.12fr) minmax(260px,.88fr);overflow:hidden;background:#eef7f3;color:#172b25;direction:rtl;touch-action:pan-y;user-select:none;cursor:grab}
.previsit-table-overlay:active{cursor:grabbing}
.previsit-table-overlay[hidden]{display:none!important}.previsit-table-overlay:fullscreen{width:100vw;height:100vh}
.previsit-table-customer{min-height:0;overflow:hidden;border-bottom:4px solid #176b54;background:radial-gradient(circle at 50% 40%,#fff 0,#f3faf7 58%,#dcefe7 100%)}
.previsit-table-customer>#previsitTableCustomer{width:100%;height:100%;display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);align-items:center;gap:18px;padding:18px max(18px,5vw);box-sizing:border-box;transform:rotate(180deg);transform-origin:center;direction:rtl}
.previsit-table-hero{display:grid;place-items:center;width:min(34vw,220px);height:min(34vw,220px);max-width:100%;max-height:90%;margin:auto;overflow:hidden;border:1px solid #d8e8e2;border-radius:24px;background:linear-gradient(145deg,#e3f4ed,#dcecff);box-shadow:0 14px 40px rgba(24,87,67,.12)}
.previsit-table-hero img{width:100%;height:100%;object-fit:contain;background:#fff}.previsit-table-hero>span{font-size:clamp(64px,16vw,150px);font-weight:900;color:#176b54}
.previsit-table-customer-copy{display:grid;align-content:center;gap:7px;min-width:0}.previsit-table-customer-copy>small{color:#117055;font-size:clamp(10px,2vw,15px);font-weight:800}.previsit-table-customer-copy h2{margin:0;font-size:clamp(18px,4vw,34px);line-height:1.5}.previsit-table-customer-copy>p{display:-webkit-box;max-height:4.8em;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#66766f;font-size:clamp(9px,1.8vw,13px);line-height:1.9}.previsit-table-customer-copy>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:3px}.previsit-table-customer-copy>div>span{display:grid;gap:3px;padding:9px;border-radius:11px;background:rgba(255,255,255,.8)}.previsit-table-customer-copy span small{color:#687872;font-size:clamp(8px,1.5vw,11px)}.previsit-table-customer-copy span b{color:#0d684e;font-size:clamp(11px,2vw,18px);white-space:nowrap}
#previsitTableCustomer.is-page-next{animation:previsit-table-page-next .24s ease both}#previsitTableCustomer.is-page-previous{animation:previsit-table-page-previous .24s ease both}
@keyframes previsit-table-page-next{from{opacity:.35;transform:rotate(180deg) translateX(-32px)}to{opacity:1;transform:rotate(180deg) translateX(0)}}
@keyframes previsit-table-page-previous{from{opacity:.35;transform:rotate(180deg) translateX(32px)}to{opacity:1;transform:rotate(180deg) translateX(0)}}
.previsit-table-seller{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:calc(8px + env(safe-area-inset-top,0px)) max(10px,3vw) calc(10px + env(safe-area-inset-bottom,0px));background:#fff}
.previsit-table-seller>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.previsit-table-seller>header>strong{text-align:center;color:#5e6d67;font-size:10px}.previsit-table-seller>header button{min-height:34px;padding:0 10px;border:1px solid #d5e2dd;border-radius:9px;background:#f4f8f6;color:#294a3f;font:800 9px inherit;cursor:pointer}.previsit-table-seller>header button:last-child{background:#e7f6f0;color:#0d684e}.previsit-table-seller>header button b{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#176b54;color:#fff;font-size:8px}
#previsitTableSeller{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:0;padding:8px 11px;border:1px solid #dbe6e2;border-radius:12px;background:#f8fbfa}#previsitTableSeller>div{display:grid;gap:3px;min-width:0}#previsitTableSeller small{color:#14765b;font-size:8px;font-weight:800}#previsitTableSeller strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}#previsitTableSeller span{color:#6b7974;font-size:8px}#previsitTableSeller>b{color:#0d684e;font-size:12px;white-space:nowrap}
.previsit-table-controls{display:grid;grid-template-columns:52px 52px minmax(100px,1fr) 52px 52px;gap:7px;direction:rtl}.previsit-table-controls button{height:52px;border:0;border-radius:12px;background:#176b54;color:#fff;font:900 21px inherit;cursor:pointer}.previsit-table-controls button:first-child,.previsit-table-controls button:last-child{background:#e7f1ed;color:#245849}.previsit-table-controls button:disabled{background:#e7ecea;color:#a3ada9;cursor:not-allowed}.previsit-table-controls output{display:grid;place-content:center;justify-items:center;border:1px solid #a8d1c2;border-radius:12px;background:#eff9f5;color:#0d684e}.previsit-table-controls output small{font-size:8px;color:#687872}.previsit-table-controls output b{font-size:18px}
@media(max-width:560px){.previsit-catalog-meta{align-items:stretch;flex-wrap:wrap}.previsit-catalog-meta>span{display:none}.previsit-catalog-meta>button{margin-right:auto}.previsit-table-overlay{grid-template-rows:minmax(0,1fr) minmax(245px,.88fr)}.previsit-table-customer>#previsitTableCustomer{grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr);gap:10px;padding:12px}.previsit-table-hero{width:min(34vw,150px);height:min(34vw,150px);border-radius:18px}.previsit-table-customer-copy h2{font-size:clamp(15px,4.8vw,24px)}.previsit-table-customer-copy>p{display:none}.previsit-table-customer-copy>div{grid-template-columns:1fr 1fr;gap:5px}.previsit-table-customer-copy>div>span{padding:6px}.previsit-table-customer-copy>div>span:first-child{grid-column:1/-1}.previsit-table-seller{gap:6px;padding:7px}.previsit-table-seller>header button{min-height:32px;padding:0 7px;font-size:8px}#previsitTableSeller{padding:7px 9px}#previsitTableSeller strong{font-size:10px}#previsitTableSeller>b{font-size:10px}.previsit-table-controls{grid-template-columns:44px 48px minmax(80px,1fr) 48px 44px;gap:5px}.previsit-table-controls button{height:48px}}
@media(orientation:landscape) and (max-height:560px){.previsit-table-overlay{grid-template-rows:1fr 1fr}.previsit-table-customer>#previsitTableCustomer{grid-template-columns:120px 1fr;padding:8px 18px}.previsit-table-hero{width:110px;height:110px;border-radius:15px}.previsit-table-customer-copy h2{font-size:18px}.previsit-table-customer-copy>p{display:none}.previsit-table-customer-copy>div{grid-template-columns:repeat(3,minmax(0,1fr))}.previsit-table-customer-copy>div>span:first-child{grid-column:auto}.previsit-table-seller{padding:6px 12px}.previsit-table-controls button{height:42px}.previsit-table-controls{grid-template-columns:48px 48px minmax(90px,1fr) 48px 48px}}
.previsit-policy-summary{display:grid;gap:10px;padding:14px 16px;border:1px solid #d9e6e1;border-radius:14px;background:#f5faf8;color:#183d32}.previsit-policy-summary.is-blocked{border-color:#efc5bd;background:#fff6f3;color:#7f2e22}.previsit-policy-summary strong{font-size:14px}.previsit-policy-summary p{margin:0;font-size:13px;line-height:1.8}.previsit-policy-chips{display:flex;flex-wrap:wrap;gap:6px}.previsit-policy-chips span{padding:5px 9px;border-radius:999px;background:#e2f1eb;font-size:12px}.previsit-policy-summary.is-blocked .previsit-policy-chips span{background:#fde2dc}.previsit-outcome-dialog{border:0;border-radius:18px;padding:0;max-width:min(92vw,460px);width:100%;box-shadow:0 20px 70px #17382e44}.previsit-outcome-dialog::backdrop{background:#102a2288}.previsit-outcome-dialog form{display:grid;gap:14px;padding:24px}.previsit-outcome-dialog h2,.previsit-outcome-dialog p{margin:0}.previsit-outcome-dialog label{display:grid;gap:7px}.previsit-outcome-dialog select{min-height:48px;border:1px solid #d4ddd9;border-radius:12px;padding:0 12px;background:#fff}.previsit-outcome-actions{display:flex;gap:10px}.previsit-outcome-actions button{flex:1}

/* Always-visible cart summary: catalogue content scrolls behind this bar. */
.previsit-mobile-dock{position:fixed!important;right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;left:50%!important;z-index:80!important;grid-template-columns:minmax(120px,.36fr) minmax(230px,.64fr)!important;width:min(720px,calc(100vw - 20px));box-sizing:border-box;margin:0!important;padding:7px!important;border-radius:17px!important;transform:translateX(-50%);box-shadow:0 14px 42px #102f2570!important}
.previsit-mobile-dock button{min-width:0;min-height:54px!important;padding:6px 10px!important}.previsit-mobile-dock button:first-child{grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;justify-content:stretch!important;text-align:right}.previsit-mobile-dock button:first-child>span{grid-row:1/3}.previsit-mobile-dock button:first-child>small{grid-column:2!important;text-align:right}
.previsit-mobile-dock button>b{min-width:0!important;padding:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:10px!important;text-align:right}.previsit-mobile-dock .previsit-dock-cart{grid-template-columns:auto auto minmax(0,1fr)!important;justify-content:stretch!important;background:#e9f7f1;color:#0f644c;text-align:right}.previsit-mobile-dock .previsit-dock-cart.is-active{background:#176b54;color:#fff}
.previsit-dock-metrics{display:grid;grid-template-columns:auto minmax(115px,1fr);align-items:center;gap:8px;min-width:0;padding-right:9px;border-right:1px solid #176b5430}.previsit-dock-cart.is-active .previsit-dock-metrics{border-right-color:#ffffff35}.previsit-dock-metrics>em{display:flex;flex-wrap:wrap;gap:3px;font-style:normal}.previsit-dock-metrics i{padding:3px 6px;border-radius:999px;background:#fff;color:#12664e;font-size:7px;font-style:normal;font-weight:900;white-space:nowrap}.previsit-dock-metrics i[hidden]{display:none}.previsit-dock-metrics>small{grid-column:auto!important;display:grid!important;gap:1px;color:inherit!important;text-align:left}.previsit-dock-metrics label{font-size:7px;opacity:.78}.previsit-dock-metrics strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap;direction:rtl}
body.previsit-table-open .previsit-mobile-dock{display:none!important}.previsit-order-workspace{padding-bottom:112px!important}

/* Official free goods are shown directly below their purchased line. */
.previsit-invoice-scroll .previsit-gift-line{background:#effaf5!important;box-shadow:inset 0 2px 0 #62b894,inset 0 -1px 0 #b9ddcf}.previsit-invoice-scroll .previsit-gift-line .previsit-line-product strong{color:#0e6d50}.previsit-invoice-scroll .previsit-gift-line .previsit-line-product small{color:#3d806b}
.previsit-gift-cell{grid-row:1;display:grid;align-content:center;justify-items:center;min-height:50px;padding:5px;border-left:1px solid #cfe3da;text-align:center;direction:rtl}.previsit-gift-cell small{display:none}.previsit-gift-cell b{font-size:8px;line-height:1.45}.previsit-gift-cell em{color:#176b54;font-size:7px;font-style:normal;font-weight:800}.previsit-gift-cell.is-quantity{grid-area:quantity}.previsit-gift-cell.is-unit{grid-area:unit}.previsit-gift-cell.is-producer{grid-area:producer}.previsit-gift-cell.is-consumer{grid-area:consumer}.previsit-gift-cell.is-gross{grid-area:gross}.previsit-gift-cell.is-goods{grid-area:goods;background:#dff4e9}.previsit-gift-cell.is-goods b{color:#087052;font-size:9px}.previsit-gift-cell.is-volume{grid-area:volume}.previsit-gift-cell.is-cash{grid-area:cash}.previsit-gift-cell.is-tax{grid-area:tax}.previsit-gift-cell.is-net{grid-area:net}
.previsit-gift-badge{grid-area:remove;align-self:center;justify-self:center;padding:4px;border-radius:999px;background:#176b54;color:#fff;font-size:6px;font-weight:900;direction:rtl}.previsit-gift-note{grid-column:1/-1;margin:0;padding:5px 9px;border-top:1px dashed #b9ddcf;color:#346b59;font-size:7px;text-align:right;direction:rtl}
@media(max-width:560px){.previsit-mobile-dock{grid-template-columns:92px minmax(0,1fr)!important;width:calc(100vw - 12px);bottom:max(6px,env(safe-area-inset-bottom))!important}.previsit-mobile-dock button{padding:5px 7px!important}.previsit-mobile-dock button:first-child>small{display:none}.previsit-mobile-dock .previsit-dock-cart{grid-template-columns:auto minmax(0,1fr)!important}.previsit-mobile-dock .previsit-dock-cart>b{display:none}.previsit-dock-metrics{grid-template-columns:1fr auto;padding-right:6px}.previsit-dock-metrics strong{font-size:9px}.previsit-order-workspace{padding-bottom:105px!important}}

/* Safari/iPhone needs an LTR scrolling surface even though invoice cells are RTL. */
.previsit-invoice-scroll{position:relative;display:block;max-width:100%;overflow-x:scroll!important;overflow-y:hidden!important;direction:ltr;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;overscroll-behavior-x:contain}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines,.previsit-invoice-totals{direction:ltr}

/* Keep both invoice edges reachable on iOS momentum scrolling. */
.previsit-invoice-scroll{--previsit-invoice-edge-gutter:max(14px,env(safe-area-inset-left));padding-inline:var(--previsit-invoice-edge-gutter)!important;box-sizing:border-box;scroll-padding-inline:var(--previsit-invoice-edge-gutter)}
.previsit-invoice-head,.previsit-invoice-scroll .previsit-lines,.previsit-invoice-totals{flex:none}
.previsit-line-rules,.previsit-line-formula,.previsit-line-unclassified{display:none!important}
.previsit-credit-warning{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:10px;border:1px solid #e3a19a;border-radius:9px;background:#fff5f3;color:#8b352d}.previsit-credit-warning strong{font-size:10px}.previsit-credit-warning span{flex:1;min-width:180px;font-size:8px;line-height:1.7}.previsit-credit-warning b{font-size:9px}
@media(max-width:560px){.previsit-invoice-scroll{--previsit-invoice-edge-gutter:max(16px,env(safe-area-inset-left))}}

/* Refined web theme: neutral work surfaces, restrained gold, graphite actions. */
html.web-road-theme body,html.web-road-theme .main-panel{background:#f5f6f4;color:#242520}
html.web-road-theme .main-header{border-bottom:1px solid #ded9cd;background:rgba(255,255,255,.96);color:#242520;box-shadow:0 3px 14px #2520190d}
html.web-road-theme .panel-header{border-bottom:1px solid #ded9cd;background:#fff;color:#242520;box-shadow:0 3px 14px #2520190d}
html.web-road-theme .panel-header:after{content:"";position:absolute;right:18px;bottom:-1px;width:54px;height:2px;border-radius:2px;background:#c49a35}
html.web-road-theme .panel-header p{color:#7b7a73}
html.web-road-theme .panel-header .header-icon,html.web-road-theme .header-icon{color:#6b5727}
html.web-road-theme .panel-header .header-icon:hover,html.web-road-theme .header-icon:hover{background:#f4f1e9;color:#7a5d17}
html.web-road-theme .connection-status{color:#77766f}
html.web-road-theme .connection-status i{background:#c49a35;box-shadow:0 0 0 3px #f2ead5}
html.web-road-theme .seller-workspace-panel,html.web-road-theme .customer-profile-panel,html.web-road-theme .seller-route-map-panel{background:#f5f6f4}
html.web-road-theme .seller-route-card,html.web-road-theme .customer-profile-card,html.web-road-theme .customer-profile-section{border-color:#dcddd8;background:#fff;box-shadow:0 4px 14px #20241d0a}
html.web-road-theme .seller-route-summary{background:#fff}
html.web-road-theme .seller-route-summary:hover,html.web-road-theme .seller-route-summary[aria-expanded="true"]{background:#f8f7f3}
html.web-road-theme .seller-route-mark{border:1px solid #dfd2af;background:#f7f1df;color:#85651c}
html.web-road-theme .seller-route-day-plan{border-color:#ded7c4;background:#f8f7f2;color:#5b4a22}
html.web-road-theme .seller-route-day-plan:hover{background:#f2eee3}
html.web-road-theme .seller-route-map-mode select{border-color:#d2d3ce;background:#fff;color:#34352f}
html.web-road-theme .seller-route-map-button.is-day-route{border-color:#2c2d28;background:#2c2d28;color:#fff;box-shadow:0 6px 16px #20211d20}
html.web-road-theme .seller-route-map-button.is-day-route:hover{background:#181915}
html.web-road-theme .customer-profile-hero{border:1px solid #d9d9d3;border-right:4px solid #c49a35;background:linear-gradient(110deg,#fff,#f8f6ef);color:#242520;box-shadow:0 6px 18px #2824180e}
html.web-road-theme .customer-profile-hero h3{color:#242520}
html.web-road-theme .customer-profile-hero p,html.web-road-theme .customer-profile-hero small{color:#676862}
html.web-road-theme .customer-profile-hero span{border:1px solid #ded4b7;background:#f7f1df;color:#6d541a}
html.web-road-theme .customer-profile-card b{color:#34352f}
html.web-road-theme .customer-profile-actions button,html.web-road-theme .customer-profile-location-capture button{background:#2c2d28;color:#fff}
html.web-road-theme .customer-profile-actions button.dialog-secondary{border-color:#d2d3ce;background:#fff;color:#34352f}
html.web-road-theme .customer-profile-location-capture{border-color:#ded7c4;background:#f8f7f2}
html.web-road-theme .route-day-action-rail{border-left-color:#dcddd8;background:#fff;color:#292a25}
html.web-road-theme .route-day-action-rail>header{border-bottom-color:#e5e5e1}
html.web-road-theme .route-day-action-rail>header strong{color:#2d2e29}
html.web-road-theme .route-day-action-rail>header small,html.web-road-theme .route-day-action-note{color:#777872}
html.web-road-theme .route-day-action-rail>button{border-color:#e0e1dc;background:#fff;color:#2f302b;box-shadow:0 3px 10px #22251f0a}
html.web-road-theme .route-day-action-rail>button small{color:#777872}
html.web-road-theme .route-day-action-rail>button:hover,html.web-road-theme .route-day-action-rail>button:focus-visible{border-color:#cbb46f;background:#faf8f1}
html.web-road-theme .route-day-action-rail>button.is-active{border-color:#c49a35;background:#f8f3e5;box-shadow:inset -3px 0 #c49a35}
html.web-road-theme .route-day-action-badge.is-ready{border-color:#ddcfaa;background:#f7f1df;color:#6b5218}
@media(max-width:760px){html.web-road-theme .route-day-action-rail{border-bottom-color:#dcddd8;background:#fff}}

/* Unified dark road theme for web. Gold is reserved for focus, identity and
   primary actions; operational content stays on high-contrast graphite cards. */
html.web-road-theme{color-scheme:dark;--road-bg:#090a09;--road-deep:#0d0e0c;--road-surface:#141512;--road-card:#1b1c18;--road-raised:#22231f;--road-line:#35362f;--road-line-soft:#292a25;--road-gold:#d4aa42;--road-gold-high:#f1d77f;--road-gold-dim:#846a2c;--road-text:#f4f1e8;--road-muted:#aaa79d;--road-danger:#ef877d}
html.web-road-theme body,html.web-road-theme .app-shell{background:var(--road-bg);color:var(--road-text)}
html.web-road-theme .main-panel{background:var(--road-bg);color:var(--road-text)}
html.web-road-theme .messages{background:radial-gradient(circle at 78% 3%,#30271555 0,transparent 27%),var(--road-bg)}
html.web-road-theme .main-header,html.web-road-theme .panel-header{border-bottom:1px solid var(--road-line);background:#11120f;color:var(--road-text);box-shadow:0 5px 18px #0008}
html.web-road-theme .panel-header:after{background:var(--road-gold)}
html.web-road-theme .panel-header p,html.web-road-theme .connection-status{color:var(--road-muted)}
html.web-road-theme .main-header .assistant-title span{color:#bbb6aa}
html.web-road-theme .main-header .assistant-title:hover,html.web-road-theme .panel-header .header-icon:hover,html.web-road-theme .header-icon:hover{border-color:#6b5726;background:#28271f;color:var(--road-gold-high)}
html.web-road-theme .main-header .header-icon,html.web-road-theme .panel-header .header-icon,html.web-road-theme .text-button{color:var(--road-gold-high)}
html.web-road-theme .connection-status i{background:var(--road-gold);box-shadow:0 0 0 3px #d4aa4225}
html.web-road-theme .welcome h1{color:var(--road-text)}
html.web-road-theme .welcome>p,html.web-road-theme .suggestions span{color:var(--road-muted)}
html.web-road-theme .suggestions button{border-color:var(--road-line);background:linear-gradient(145deg,#1b1c18,#141512);color:var(--road-text);box-shadow:0 8px 24px #0004}
html.web-road-theme .suggestions button:hover{border-color:var(--road-gold-dim);background:#22231e}
html.web-road-theme .user .message{background:#262720;color:var(--road-text)}
html.web-road-theme .assistant-avatar{border:1px solid #7a622c;background:#111;color:var(--road-gold-high)}
html.web-road-theme .message-table-wrap{border-color:var(--road-line);background:var(--road-card)}
html.web-road-theme .message-table-wrap th{background:#25261f;color:var(--road-gold-high)}
html.web-road-theme .message-table-wrap th,html.web-road-theme .message-table-wrap td{border-color:var(--road-line)}
html.web-road-theme .composer-area{background:linear-gradient(transparent,var(--road-bg) 30%)}
html.web-road-theme .composer{border-color:#45463e;background:#171815;box-shadow:0 8px 30px #0008}
html.web-road-theme .composer:focus-within{border-color:var(--road-gold-dim);box-shadow:0 0 0 3px #d4aa4218,0 8px 30px #0008}
html.web-road-theme .composer textarea{color:var(--road-text)}
html.web-road-theme .composer textarea::placeholder{color:#77766f}
html.web-road-theme .composer-icon{color:#d8d4ca}
html.web-road-theme .composer-icon:hover{background:#292a24;color:var(--road-gold-high)}
html.web-road-theme .notifications-panel,html.web-road-theme .organization-structure-panel,html.web-road-theme .seller-workspace-panel,html.web-road-theme .customer-profile-panel,html.web-road-theme .schema-catalog-panel,html.web-road-theme .schema-detail-panel,html.web-road-theme .seller-route-map-panel{background:var(--road-bg);color:var(--road-text)}
html.web-road-theme .notification-card,html.web-road-theme .notification-card.unread,html.web-road-theme .organization-card,html.web-road-theme .schema-table-card{border-color:var(--road-line);background:var(--road-card);color:var(--road-text)}
html.web-road-theme .notification-card p,html.web-road-theme .notification-card time,html.web-road-theme .notifications-empty,html.web-road-theme .organization-empty{color:var(--road-muted)}
html.web-road-theme .notifications-empty h3{color:var(--road-text)}
html.web-road-theme dialog{border:1px solid #4c432c;background:var(--road-card);color:var(--road-text);box-shadow:0 28px 90px #000c}
html.web-road-theme dialog::backdrop{background:#000c}
html.web-road-theme dialog p,html.web-road-theme dialog label{color:var(--road-muted)}
html.web-road-theme dialog input,html.web-road-theme dialog select,html.web-road-theme dialog textarea{border-color:#44463e;background:#0f100e;color:var(--road-text)}
html.web-road-theme dialog input:focus{border-color:var(--road-gold)}
html.web-road-theme dialog form>button,html.web-road-theme .install-help button{background:linear-gradient(135deg,#e0ba58,#b98c2e);color:#11120e}
html.web-road-theme dialog form>.dialog-secondary{border:1px solid var(--road-line);background:#292a24;color:var(--road-text)}
html.web-road-theme .account-profile-grid span{border-color:var(--road-line);background:#161713}
html.web-road-theme .account-profile-grid small{color:var(--road-muted)}
html.web-road-theme .seller-workspace-body,html.web-road-theme .customer-profile-body{background:var(--road-bg)}
html.web-road-theme .seller-section-title span{color:var(--road-muted)}
html.web-road-theme .seller-route-card,html.web-road-theme .seller-customer-card,html.web-road-theme .seller-brand-list,html.web-road-theme .seller-open-invoice-customer,html.web-road-theme .seller-open-invoice-card,html.web-road-theme .customer-profile-card,html.web-road-theme .customer-profile-section{border-color:var(--road-line);background:var(--road-card);color:var(--road-text);box-shadow:0 8px 22px #0004}
html.web-road-theme .seller-route-summary,html.web-road-theme .seller-open-invoice-summary{background:var(--road-card);color:var(--road-text)}
html.web-road-theme .seller-route-summary:hover,html.web-road-theme .seller-route-summary[aria-expanded="true"],html.web-road-theme .seller-open-invoice-summary:hover,html.web-road-theme .seller-open-invoice-summary[aria-expanded="true"]{background:var(--road-raised)}
html.web-road-theme .seller-route-copy small,html.web-road-theme .seller-customer-card small,html.web-road-theme .seller-open-invoice-summary small,html.web-road-theme .seller-open-invoice-meta em{color:var(--road-muted)}
html.web-road-theme .seller-route-mark{border-color:#6b5727;background:#2a261b;color:var(--road-gold-high)}
html.web-road-theme .seller-route-day-plan{border-color:#5d502f;background:#24231c;color:#e9ce7d}
html.web-road-theme .seller-route-day-plan:hover{background:#2e2b20}
html.web-road-theme .seller-route-map-mode{color:var(--road-muted)}
html.web-road-theme .seller-route-map-mode select{border-color:#45463f;background:#11120f;color:var(--road-text)}
html.web-road-theme .seller-route-map-button.is-day-route{border-color:var(--road-gold);background:linear-gradient(135deg,#e0ba58,#b98c2e);color:#11120e;box-shadow:0 7px 20px #0006}
html.web-road-theme .seller-route-map-button.is-day-route:hover{background:linear-gradient(135deg,#edcb73,#c79b38)}
html.web-road-theme .seller-route-customer-list,html.web-road-theme .seller-open-invoice-list{border-top-color:var(--road-line);background:#10110f}
html.web-road-theme .seller-customer-balances>span,html.web-road-theme .seller-open-invoice-summary>span:nth-child(2){background:#24251f;color:#ded8c8}
html.web-road-theme .seller-customer-balances b,html.web-road-theme .seller-open-invoice-meta b,html.web-road-theme .seller-open-invoice-card b{color:var(--road-gold-high)}
html.web-road-theme .seller-brand-chip{background:#2b281f;color:var(--road-gold-high)}
html.web-road-theme .customer-profile-hero{border-color:#4a4638;border-right-color:var(--road-gold);background:linear-gradient(120deg,#24231d,#141512);color:var(--road-text);box-shadow:0 10px 28px #0006}
html.web-road-theme .customer-profile-hero h3{color:var(--road-text)}
html.web-road-theme .customer-profile-hero p,html.web-road-theme .customer-profile-hero small{color:#c3beb1}
html.web-road-theme .customer-profile-hero span{border-color:#6b5727;background:#2d291e;color:var(--road-gold-high)}
html.web-road-theme .customer-profile-card small,html.web-road-theme .customer-profile-section header small,html.web-road-theme .customer-profile-form label{color:var(--road-muted)}
html.web-road-theme .customer-profile-card b{color:var(--road-text)}
html.web-road-theme .customer-profile-form input,html.web-road-theme .customer-profile-form select,html.web-road-theme .customer-profile-form textarea,html.web-road-theme .customer-profile-form :disabled{border-color:#3e4039;background:#11120f;color:#ddd9ce}
html.web-road-theme .customer-profile-actions button,html.web-road-theme .customer-profile-location-capture button{background:var(--road-gold);color:#11120e}
html.web-road-theme .customer-profile-actions button.dialog-secondary{border-color:var(--road-line);background:#292a24;color:var(--road-text)}
html.web-road-theme .customer-profile-location-capture,html.web-road-theme .customer-profile-note{border-color:var(--road-line);background:#1d1e1a;color:var(--road-muted)}
html.web-road-theme .route-day-action-rail{border-color:var(--road-line);background:#11120f;color:var(--road-text)}
html.web-road-theme .route-day-action-rail>header{border-bottom-color:var(--road-line)}
html.web-road-theme .route-day-action-rail>header strong{color:var(--road-text)}
html.web-road-theme .route-day-action-rail>header small,html.web-road-theme .route-day-action-note{color:var(--road-muted)}
html.web-road-theme .route-day-action-rail>button{border-color:var(--road-line);background:var(--road-card);color:var(--road-text);box-shadow:none}
html.web-road-theme .route-day-action-rail>button small{color:var(--road-muted)}
html.web-road-theme .route-day-action-rail>button:hover,html.web-road-theme .route-day-action-rail>button:focus-visible{border-color:var(--road-gold-dim);background:#25241d}
html.web-road-theme .route-day-action-rail>button.is-active{border-color:var(--road-gold);background:#2a261b;box-shadow:inset -3px 0 var(--road-gold)}
html.web-road-theme .route-day-action-badge.is-ready{border-color:#6a572a;background:#27241b;color:var(--road-gold-high)}

/* Visit-tour workspace: the action rail switches one focused work surface. */
.seller-route-map-panel[data-route-day-view="customers"] .route-map-canvas,.seller-route-map-panel[data-route-day-view="requests"] .route-map-canvas,.seller-route-map-panel[data-route-day-view="requests"] .route-map-sidebar{display:none}
.seller-route-map-panel[data-route-day-view="customers"] .route-map-sidebar{grid-column:1/3;max-width:none}
.route-tour-customer-actions{display:flex;align-items:center;gap:7px;margin-top:8px}.route-tour-customer-actions>button{min-height:34px;padding:6px 13px;border:1px solid #176b54;border-radius:9px;background:#176b54;color:#fff;font:800 9px inherit;cursor:pointer}.route-tour-customer-actions>button+button{border-color:#b05c4e;background:#fff7f5;color:#913f34}.route-tour-customer-actions>button:focus-visible{outline:2px solid #c99e34;outline-offset:2px}
.route-day-saved-requests{grid-column:1/3;min-width:0;min-height:0;overflow:auto;padding:16px;background:#f5f8f7;direction:rtl}.route-day-saved-requests>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;padding:14px;border:1px solid #d9e5e1;border-radius:13px;background:#fff}.route-day-saved-requests>header>div{display:grid;gap:4px}.route-day-saved-requests>header strong{font-size:13px;color:#155f49}.route-day-saved-requests>header small{font-size:8px;color:#6f7d78}.route-day-saved-requests>header>b{padding:6px 10px;border-radius:999px;background:#e4f4ee;color:#176b54;font-size:8px;white-space:nowrap}.route-day-saved-request-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:11px}.route-day-saved-request-list>article{display:grid;gap:10px;padding:14px;border:1px solid #d8e3df;border-radius:14px;background:#fff;box-shadow:0 5px 18px #173b2f0d}.route-day-saved-request-list article>header{display:flex;justify-content:space-between;gap:10px}.route-day-saved-request-list article>header>div{display:grid;gap:3px}.route-day-saved-request-list article small,.route-day-saved-request-list dt{font-size:7px;color:#77837f}.route-day-saved-request-list article strong{font-size:11px}.route-day-saved-request-list article header>b{color:#176b54;font-size:9px}.route-day-saved-request-list dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0}.route-day-saved-request-list dl>div{display:grid;gap:3px;padding:7px;border-radius:8px;background:#f3f7f5}.route-day-saved-request-list dd{margin:0;font-size:8px;font-weight:800}.route-day-saved-request-list article>button{min-height:36px;border:0;border-radius:9px;background:#176b54;color:#fff;font:800 9px inherit;cursor:pointer}
html.web-road-theme .route-tour-customer-actions>button{border-color:var(--road-gold);background:var(--road-gold);color:#17130b}html.web-road-theme .route-tour-customer-actions>button+button{border-color:#6e5430;background:#241e17;color:#f0ce7b}html.web-road-theme .route-day-saved-requests{background:var(--road-bg);color:var(--road-text)}html.web-road-theme .route-day-saved-requests>header,html.web-road-theme .route-day-saved-request-list>article{border-color:var(--road-line);background:var(--road-card);box-shadow:none}html.web-road-theme .route-day-saved-requests>header strong,html.web-road-theme .route-day-saved-request-list article header>b{color:var(--road-gold-high)}html.web-road-theme .route-day-saved-requests>header small,html.web-road-theme .route-day-saved-request-list article small,html.web-road-theme .route-day-saved-request-list dt{color:var(--road-muted)}html.web-road-theme .route-day-saved-requests>header>b{border:1px solid #69582d;background:#28241a;color:var(--road-gold-high)}html.web-road-theme .route-day-saved-request-list dl>div{background:#11120f}html.web-road-theme .route-day-saved-request-list article>button{background:var(--road-gold);color:#17130b}
@media(max-width:760px){.seller-route-map-panel[data-route-day-view="customers"] .route-map-sidebar,.route-day-saved-requests{grid-column:1;grid-row:3}.route-day-saved-requests{padding:10px}.route-day-saved-request-list{grid-template-columns:1fr}.route-tour-customer-actions>button{flex:1;min-height:38px;font-size:10px}}
html.web-road-theme .route-map-sidebar,html.web-road-theme .route-map-sidebar>header,html.web-road-theme .route-map-stops{border-color:var(--road-line);background:#11120f;color:var(--road-text)}
html.web-road-theme .route-map-stop{border-color:var(--road-line);background:var(--road-card)}
html.web-road-theme .route-map-stop strong{color:var(--road-text)}
html.web-road-theme .route-map-stop small{color:var(--road-muted)}
@media(max-width:800px){html.web-road-theme .main-header{border-bottom-color:var(--road-line)}html.web-road-theme .sidebar{box-shadow:-12px 0 50px #000c}}

/* Keep the tour workspace focused on customers; secondary tools live in a drawer. */
.seller-route-map-panel{grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.route-day-action-rail{position:absolute;z-index:12;top:64px;right:0;bottom:0;width:min(330px,88vw);grid-column:auto;overflow:auto;transform:translateX(105%);transition:transform .2s ease;box-shadow:-16px 0 38px #0004}.route-day-action-rail.is-open{transform:none}.route-day-menu-backdrop{position:absolute;z-index:11;inset:64px 0 0;border:0;background:#0008;cursor:pointer}.route-day-menu-toggle{min-width:92px;min-height:36px;padding:0 11px;border:1px solid #c9aa5b!important;border-radius:9px;background:#2a261c!important;color:#f3d77e!important;font-weight:800!important}.seller-route-map-panel[data-route-day-view="customers"] .route-map-sidebar{grid-column:1/-1;grid-row:2}.seller-route-map-panel[data-route-day-view="requests"] .route-day-saved-requests{grid-column:1/-1;grid-row:2}.seller-route-map-panel[data-route-day-view="customers"] #routeMapMode,.seller-route-map-panel[data-route-day-view="customers"] #routeMapStartBtn,.seller-route-map-panel[data-route-day-view="customers"] #routeMapLocateBtn,.seller-route-map-panel[data-route-day-view="customers"] #routeMapVoiceBtn,.seller-route-map-panel[data-route-day-view="requests"] #routeMapMode,.seller-route-map-panel[data-route-day-view="requests"] #routeMapStartBtn,.seller-route-map-panel[data-route-day-view="requests"] #routeMapLocateBtn,.seller-route-map-panel[data-route-day-view="requests"] #routeMapVoiceBtn{display:none}.route-map-sidebar>header{flex:0 0 auto}.route-map-stops{padding-bottom:max(18px,env(safe-area-inset-bottom))}
.seller-route-map-panel[data-route-day-view="customers"] #routeMapLocationPolicy{display:none}
@media(max-width:760px){.seller-route-map-panel{grid-template-columns:1fr;grid-template-rows:58px minmax(0,1fr)}.route-day-action-rail{top:58px;right:0;bottom:0;min-height:0;overflow:auto;flex-direction:column;align-items:stretch;padding:12px 9px;border:0;border-left:1px solid #dce4e1}.route-day-action-rail>header{flex:0 0 auto;align-content:initial;border:0;border-bottom:1px solid #dce5e2;padding:4px 5px 8px}.route-day-action-rail>button{flex:0 0 auto;min-height:60px}.route-day-menu-backdrop{inset:58px 0 0}.seller-route-map-panel[data-route-day-view="customers"] .route-map-sidebar,.seller-route-map-panel[data-route-day-view="requests"] .route-day-saved-requests{grid-column:1;grid-row:2}.seller-route-map-panel[data-route-day-view="map"]{grid-template-rows:58px minmax(0,1fr) minmax(150px,36%)}.seller-route-map-panel[data-route-day-view="map"] .route-map-canvas{grid-column:1;grid-row:2}.seller-route-map-panel[data-route-day-view="map"] .route-map-sidebar{grid-column:1;grid-row:3}.route-day-menu-toggle{min-width:74px;padding-inline:8px;font-size:9px}}
.route-map-stop .route-customer-store,.route-map-stop .route-customer-person,.route-map-stop .route-customer-address{display:block;overflow:visible;text-overflow:clip;white-space:normal}.route-map-stop .route-customer-store{font-size:11px;line-height:1.65}.route-map-stop .route-customer-person{margin-top:2px;color:#46514e;font-size:9px;font-weight:750}.route-map-stop .route-customer-address{margin-top:2px;color:#707975;font-size:10px;line-height:1.9}
.route-map-stop .route-customer-resolution{display:inline-flex;margin-top:7px;padding:4px 9px;border:1px solid #83c8ad;border-radius:999px;background:#e8f8f1;color:#096546;font-size:9px;font-weight:900}.route-map-stop.route-status-order,.route-map-stop.route-status-no_order,.route-map-stop.route-status-no_visit{border-color:#58a988;background:#f1fbf7}.route-map-stop.route-status-order>b,.route-map-stop.route-status-no_order>b,.route-map-stop.route-status-no_visit>b{background:#16805f;color:#fff}
html.web-road-theme .route-map-stop .route-customer-person{color:#f0e2bd}html.web-road-theme .route-map-stop .route-customer-address{color:#bdb5a2}
html.web-road-theme .route-map-stop .route-customer-resolution{border-color:#8b7132;background:#29251b;color:#f1ce6e}html.web-road-theme .route-map-stop.route-status-order,html.web-road-theme .route-map-stop.route-status-no_order,html.web-road-theme .route-map-stop.route-status-no_visit{border-color:#b78d2e;background:#211e16}
.route-tour-customer-actions>button.is-loading{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:wait;opacity:.88}.route-tour-customer-actions>button.is-loading::before{content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid rgba(255,255,255,.42);border-top-color:currentColor;border-radius:50%;animation:thinking-spin .7s linear infinite}.route-tour-customer-actions>button:disabled{cursor:wait}
