/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.start\!{inset-inline-start:var(--spacing)!important}.\!end{inset-inline-end:var(--spacing)!important}.end{inset-inline-end:var(--spacing)}.table{display:table}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--navy-950:#031c39;--navy-900:#06254a;--navy-800:#0b315e;--blue-600:#0b63e6;--blue-500:#1769f6;--blue-100:#eaf2ff;--blue-50:#f3f7ff;--green-600:#07875f;--green-500:#089568;--green-100:#e7f7f0;--amber-600:#d78000;--amber-500:#e99200;--amber-100:#fff5dc;--red-600:#d83b43;--red-500:#e5484d;--red-100:#fff0f0;--ink:#071b3a;--muted:#607086;--soft:#8a98aa;--border:#d8e1ec;--border-soft:#e7edf4;--canvas:#f4f7fb;--card:#fff;--shadow:0 8px 30px #1834540f}*{box-sizing:border-box}html{background:var(--canvas)}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}.mobile-sale-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:20px;display:grid}.sale-builder,.sale-checkout{padding:22px}.sale-step{align-items:center;gap:12px;margin:4px 0 16px;display:flex}.sale-step>span{color:#fff;background:var(--blue-600);border-radius:10px;flex:none;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.sale-step div{flex-direction:column;gap:3px;display:flex}.sale-step small,.client-sale-summary small,.cart-product small,.sale-checkout>p{color:var(--muted)}.sale-config-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.client-sale-summary{background:var(--blue-50);border:1px solid #cfe0fb;border-radius:12px;align-items:center;gap:11px;margin:0 0 24px;padding:13px;display:flex}.client-sale-summary>span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.client-sale-summary b{color:#0754c6;background:#fff;border-radius:8px;padding:6px 9px;font-size:12px}.product-finder{border:1px solid var(--border);background:#fff;border-radius:12px;align-items:center;gap:10px;margin-bottom:18px;padding:0 13px;display:flex;position:relative}.product-finder:focus-within{border-color:var(--blue-500);box-shadow:0 0 0 3px #1769f61a}.product-finder.disabled{background:#f2f5f8}.product-finder>input{background:0 0;border:0;outline:0;width:100%;height:48px}.product-results{z-index:20;border:1px solid var(--border);background:#fff;border-radius:12px;position:absolute;top:54px;left:0;right:0;overflow:hidden;box-shadow:0 16px 34px #051f4229}.product-search-message{z-index:8;color:#475569;background:#fff;border:1px solid #dbe4ee;border-radius:14px;align-items:flex-start;gap:10px;padding:14px;display:flex;position:absolute;top:calc(100% + 8px);left:0;right:0;box-shadow:0 14px 34px #0f172a1f}.product-search-message.warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.product-search-message span{gap:3px;display:grid}.product-search-message small{line-height:1.35}.product-results button:disabled{cursor:not-allowed;opacity:.68}.product-results button{border:0;border-bottom:1px solid var(--border-soft);text-align:left;background:#fff;justify-content:space-between;gap:16px;width:100%;padding:12px 14px;display:flex}.product-results button:hover{background:var(--blue-50)}.product-results button>span{flex-direction:column;gap:4px;display:flex}.product-results button>span:last-child{flex:none;align-items:flex-end}.product-results small{color:var(--muted)}.cart-lines{flex-direction:column;gap:10px;display:flex}.cart-line{border:1px solid var(--border-soft);background:#fff;border-radius:12px;grid-template-columns:minmax(170px,1fr) 82px 82px 120px 38px;align-items:end;gap:10px;padding:13px;display:grid}.cart-line.stock-error{background:var(--red-100);border-color:#ef9a9f}.cart-product,.cart-line label,.cart-price{flex-direction:column;gap:5px;display:flex}.cart-line label span,.cart-price small{color:var(--soft);text-transform:uppercase;font-size:10px}.cart-line input{border:1px solid var(--border);border-radius:8px;width:100%;height:36px;padding:0 8px}.cart-price{align-items:flex-end}.line-warning{color:var(--red-600);grid-column:1/-1}.sale-checkout{position:sticky;top:86px}.company-logo{border-bottom:1px solid var(--border-soft);justify-content:center;align-items:center;height:82px;margin:-4px -4px 18px;display:flex}.company-logo img{object-fit:contain;max-width:170px;max-height:62px}.company-logo.cotela img{max-height:70px}.sale-checkout>small{color:var(--soft);text-transform:uppercase;font-size:10px}.sale-checkout>strong{margin:5px 0 18px;display:block}.sale-checkout dl{margin:0}.sale-checkout dl div{border-bottom:1px solid var(--border-soft);justify-content:space-between;gap:12px;padding:9px 0;display:flex}.sale-checkout dt{color:var(--muted)}.sale-checkout dd{text-align:right;max-width:175px;margin:0;font-weight:700}.sale-total{justify-content:space-between;align-items:end;margin:18px 0;display:flex}.sale-total strong{color:var(--blue-600);font-size:24px}.confirm-sale{width:100%;min-height:48px}.sale-checkout>p{text-align:center;margin:12px 0 0;font-size:11px;line-height:1.5}.confirmed-sale{flex-direction:column;gap:16px;padding:18px 22px 22px;display:flex}.sale-document-modal{width:min(960px,100%)}.confirmed-sale-status{color:var(--green-600);align-items:center;gap:11px;display:flex}.confirmed-sale-status>span{flex-direction:column;gap:3px;display:flex}.confirmed-sale-status strong{color:var(--ink);font-size:15px}.confirmed-sale-status small{color:var(--muted)}.condition-pill{color:#075985;background:#e0f2fe;border-radius:999px;align-items:center;width:fit-content;padding:.35rem .7rem;font-size:.78rem;font-weight:800;display:inline-flex}.sale-document{color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:14px;overflow:hidden}.sale-document-head{border-bottom:3px solid var(--navy-900);justify-content:space-between;align-items:center;gap:24px;min-height:105px;padding:18px 22px;display:flex}.sale-document-logo{min-width:190px}.sale-document-logo img{object-fit:contain;max-width:185px;max-height:68px;display:block}.sale-document-logo.cotela img{max-height:76px}.sale-document-head>div:last-child{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.sale-document-head span,.sale-document-meta span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:800}.sale-document-head strong{color:var(--navy-900);font-size:22px}.sale-document-head small{color:#92400e;background:#fef3c7;border-radius:5px;padding:4px 7px;font-size:8px;font-weight:900}.sale-document-meta{background:var(--border-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:1px;display:grid}.sale-document-meta>div{background:#fff;flex-direction:column;gap:5px;min-height:57px;padding:11px 13px;display:flex}.sale-document-meta>div.wide{grid-column:span 1}.sale-document-meta strong{font-size:11px;line-height:1.3}.sale-document-table-wrap{overflow-x:auto}.sale-document-table{border-collapse:collapse;width:100%;font-size:10px}.sale-document-table th,.sale-document-table td{border-bottom:1px solid var(--border-soft);text-align:right;vertical-align:top;padding:10px 9px}.sale-document-table th{color:#fff;background:var(--navy-900);letter-spacing:.04em;text-transform:uppercase;font-size:8px}.sale-document-table th:first-child,.sale-document-table th:nth-child(2),.sale-document-table td:first-child,.sale-document-table td:nth-child(2){text-align:left}.sale-document-table td:nth-child(2){min-width:220px;font-weight:700}.sale-document-total{background:var(--blue-50);justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;display:flex}.sale-document-total>span{color:var(--muted);font-size:10px}.sale-document-total>div{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.sale-document-total small{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.sale-document-total strong{color:var(--blue-600);font-size:22px}.sale-document-note{color:var(--muted);text-align:center;margin:0;padding:10px 18px;font-size:9px}.master-data-panel{margin-top:20px;padding:20px}.master-data-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.master-data-grid article{border:1px solid var(--border-soft);border-radius:12px;grid-template-columns:38px 1fr;gap:10px;padding:14px;display:grid}.master-data-grid article>span{width:38px;height:38px;color:var(--blue-600);background:var(--blue-50);border-radius:10px;place-items:center;display:grid}.master-data-grid article>div{flex-direction:column;gap:5px;display:flex}.master-data-grid article small{color:var(--muted);line-height:1.4}.master-data-grid article .button{grid-column:1/-1;justify-content:center}@media (width<=900px){.mobile-sale-layout{grid-template-columns:1fr}.sale-checkout{position:static}.master-data-grid{grid-template-columns:1fr}}@media (width<=640px){.mobile-sale-layout{margin:0 -8px}.sale-builder,.sale-checkout{padding:15px}.sale-config-grid{grid-template-columns:1fr 1fr}.sale-config-grid .span-2{grid-column:1/-1}.cart-line{grid-template-columns:1fr 1fr;align-items:end}.cart-product{grid-column:1/-1}.cart-price{align-items:flex-start}.cart-line>.icon-button{justify-self:end}.product-results button{flex-direction:column}.product-results button>span:last-child{align-items:flex-start}}@media print{.sidebar,.topbar,.mobile-nav,.app-footer,.toast,.page-heading,.mobile-sale-layout,.modal-backdrop .modal>header,.confirmed-sale .form-actions{display:none!important}.app-shell,.workspace{min-height:0!important}.workspace{margin-left:0!important}.content{max-width:none!important;margin:0!important;padding:0!important}.modal-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important;padding:0!important;display:block!important;position:static!important}.modal-backdrop .modal{width:100%!important;max-width:none!important;box-shadow:none!important}}button,input,select,textarea{font:inherit}button{color:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #1769f63d}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:radial-gradient(circle at 82% 2%, #2a78fa0f, transparent 23rem), var(--canvas);min-height:100vh}.sidebar{z-index:50;color:#fff;background:radial-gradient(circle at 24px 56px, #1769f645, transparent 9rem), linear-gradient(180deg, var(--navy-900), var(--navy-950));flex-direction:column;width:184px;padding:26px 12px 18px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:10px 0 32px #031c391f}.brand{border-bottom:1px solid #ffffff26;align-items:center;gap:9px;min-height:57px;padding:0 12px 22px;display:flex}.brand-aj{letter-spacing:-4px;font-size:31px;font-style:italic;font-weight:900;line-height:1;transform:skew(-8deg)}.brand>span:last-child{flex-direction:column;line-height:1;display:flex}.brand strong{letter-spacing:.02em;font-size:14px}.brand small{letter-spacing:.24em;opacity:.72;margin-top:6px;font-size:8px}.sidebar nav{flex-direction:column;gap:7px;margin-top:30px;display:flex}.nav-item{color:#ffffffc7;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:13px;width:100%;min-height:48px;padding:0 13px;font-weight:700;transition:all .18s;display:flex}.nav-item:hover{color:#fff;background:#ffffff14}.nav-item.active{color:#fff;background:linear-gradient(135deg,#1769f6,#0b55cf);box-shadow:0 8px 22px #0043b159}.sidebar-foot{border-top:1px solid #ffffff24;align-items:flex-start;gap:9px;margin-top:auto;padding:14px 8px 3px;display:flex}.sidebar-foot div{flex-direction:column;gap:3px;display:flex}.sidebar-foot strong{font-size:10px}.sidebar-foot small{color:#ffffff8f;font-size:9px}.status-dot{background:#27d697;border-radius:99px;width:8px;height:8px;margin-top:2px;box-shadow:0 0 0 4px #27d6971f}.workspace{min-height:100vh;margin-left:184px}.topbar{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe6;border-bottom:1px solid #d8e1ecd6;justify-content:flex-end;align-items:center;min-height:68px;padding:8px clamp(18px,2.5vw,38px);display:flex;position:sticky;top:0}.menu-button,.mobile-brand{display:none}.topbar-controls{align-items:center;gap:12px;display:flex}.compact-select{border:1px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;justify-content:center;min-width:110px;height:42px;padding:0 28px 0 12px;display:flex;position:relative}.compact-select span{color:var(--soft);text-transform:uppercase;letter-spacing:.08em;pointer-events:none;font-size:9px}.compact-select select{appearance:none;width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px;font-weight:700}.compact-select svg{color:var(--muted);pointer-events:none;position:absolute;bottom:10px;right:10px}.seller-select{min-width:160px}.header-popover-wrap{position:relative}.period-trigger{border:1px solid var(--border);min-width:170px;height:42px;color:var(--ink);text-align:left;background:#fff;border-radius:10px;align-items:center;gap:9px;padding:0 10px;display:flex}.period-trigger>span{flex-direction:column;flex:1;min-width:0;display:flex}.period-trigger small{color:var(--soft);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.period-trigger strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.header-popover{z-index:80;border:1px solid var(--border);background:#fff;border-radius:15px;width:min(390px,100vw - 24px);padding:16px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 20px 55px #1931532e}.period-options{grid-template-columns:repeat(5,1fr);gap:5px;margin:13px 0;display:grid}.period-options button{border:1px solid var(--border);min-height:34px;color:var(--muted);background:#fff;border-radius:8px;padding:5px;font-size:10px;font-weight:700}.period-options button.active{border-color:var(--blue-600);color:var(--blue-600);background:var(--blue-50)}.custom-dates{grid-template-columns:1fr 1fr;gap:9px;display:grid}.date-field{flex-direction:column;gap:5px;display:flex}.date-field span{color:var(--muted);font-size:10px;font-weight:700}.date-field input,.alert-tools select{border:1px solid var(--border);height:38px;color:var(--ink);background:#fff;border-radius:8px;padding:0 9px}.apply-period{justify-content:center;width:100%;margin-top:12px}.alerts-popover{width:min(440px,100vw - 24px);padding:0;overflow:hidden}.alerts-title{justify-content:space-between;align-items:flex-start;padding:16px 16px 11px;display:flex}.alerts-title>span{flex-direction:column;gap:3px;display:flex}.alerts-title small,.alert-limit{color:var(--muted);font-size:10px}.alert-summary{background:var(--border-soft);border-block:1px solid var(--border-soft);grid-template-columns:repeat(3,1fr);gap:1px;display:grid}.alert-summary span{color:var(--muted);background:#f8fafc;flex-direction:column;gap:2px;padding:10px;font-size:9px;display:flex}.alert-summary b{color:var(--ink);font-size:16px}.alert-tools{grid-template-columns:1fr 128px;gap:8px;padding:12px;display:grid}.search-box.compact{min-height:38px;margin:0}.alert-list{border-top:1px solid var(--border-soft);max-height:360px;overflow-y:auto}.alert-list>button{border:0;border-bottom:1px solid var(--border-soft);text-align:left;background:#fff;grid-template-columns:10px 1fr 18px;align-items:center;gap:10px;width:100%;padding:10px 14px;display:grid}.alert-list>button:hover{background:#f7faff}.alert-list>button>span:nth-child(2){flex-direction:column;gap:2px;display:flex}.alert-list small{color:var(--muted);font-size:10px}.alert-dot{background:var(--amber-500);border-radius:99px;width:8px;height:8px}.alert-dot.high,.alert-dot.overdue{background:var(--red-500)}.no-alerts,.alert-limit{text-align:center;padding:18px;display:block}.icon-button{border:1px solid var(--border);background:#fff;border-radius:11px;flex:none;place-items:center;width:40px;height:40px;display:inline-grid;position:relative}.icon-button:hover{background:var(--blue-50);border-color:#b9c9dd}.notification-count{color:#fff;background:var(--red-500);border:2px solid #fff;border-radius:99px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:800;display:grid;position:absolute;top:-4px;right:-4px}.profile{border-left:1px solid var(--border);align-items:center;gap:10px;padding-left:10px;display:flex}.profile-button{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border-top:0;border-bottom:0;border-right:0}.profile-button>svg{color:var(--soft)}.profile-button:hover>svg,.profile-button:focus-visible>svg{color:var(--blue-600)}.avatar{color:#fff;background:linear-gradient(135deg,#1769f6,#0750bb);border-radius:99px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid;box-shadow:0 5px 14px #1769f640}.profile div{flex-direction:column;gap:2px;display:flex}.profile strong{font-size:12px}.profile small{color:var(--muted);font-size:9px}.signout-button{border:1px solid var(--border);width:40px;height:40px;color:var(--muted);background:#fff;border-radius:10px;flex:none;place-items:center;transition:all .16s;display:grid}.signout-button:hover{color:var(--red-600);background:var(--red-100);border-color:#f0c8ca}.access-screen{background:radial-gradient(circle at 70% 10%, #1769f61f, transparent 26rem), linear-gradient(145deg, var(--navy-950), var(--navy-800));place-items:center;min-height:100vh;padding:24px;display:grid}.access-card{background:#fff;border:1px solid #ffffff2e;border-radius:22px;width:min(520px,100%);padding:clamp(28px,5vw,46px);box-shadow:0 30px 80px #031c3952}.access-brand{color:#fff;background:linear-gradient(135deg, var(--blue-500), var(--navy-800));letter-spacing:-2px;border-radius:16px;place-items:center;width:58px;height:58px;margin-bottom:24px;font-size:23px;font-style:italic;font-weight:900;display:grid}.access-kicker{color:var(--blue-600);letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:900}.access-card h1{letter-spacing:-.035em;margin:8px 0 12px;font-size:clamp(25px,4vw,34px)}.access-card>p{color:var(--muted);margin:0;font-size:14px;line-height:1.65}.access-card>p strong{color:var(--ink);overflow-wrap:anywhere}.auth-card{width:min(560px,100%)}.auth-title-row{color:var(--blue-600);align-items:flex-start;gap:11px;margin-top:8px;display:flex}.auth-title-row h1{color:var(--ink);margin:0 0 12px}.auth-title-row svg{flex:none;margin-top:6px}.auth-form{flex-direction:column;gap:14px;margin-top:24px;display:flex}.auth-form label{flex-direction:column;gap:7px;display:flex}.auth-form label>span:first-child{color:var(--ink);font-size:11px;font-weight:800}.auth-form input{border:1px solid var(--border);width:100%;height:47px;color:var(--ink);background:#fff;border-radius:11px;outline:none;padding:0 13px}.auth-form input:focus{border-color:var(--blue-500);box-shadow:0 0 0 3px #1769f61f}.password-input-wrap{display:block;position:relative}.password-input-wrap input{padding-right:48px}.password-input-wrap button{width:39px;height:39px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:absolute;top:4px;right:4px}.password-input-wrap button:hover{color:var(--blue-600);background:var(--blue-50)}.password-rule{color:var(--muted);font-size:10px;line-height:1.5}.auth-error{color:var(--red-600);background:var(--red-100);border:1px solid #f0c8ca;border-radius:10px;padding:11px 13px;font-size:11px;line-height:1.45}.auth-submit{justify-content:center;width:100%;min-height:47px;margin-top:2px}.access-instructions{color:var(--muted);background:var(--blue-50);border:1px solid #cfe0fa;border-radius:12px;gap:10px;margin:22px 0;padding:14px 16px;font-size:12px;line-height:1.55;display:grid}.supervisor-recovery-link{width:fit-content;color:var(--blue-600);text-underline-offset:3px;font-weight:800}.supervisor-recovery-link:hover{color:var(--navy-800)}.access-signout{justify-content:center;width:100%;text-decoration:none}.access-ownership{color:var(--soft);text-align:center;margin-top:18px;font-size:9px;line-height:1.5;display:block}.content{max-width:1550px;margin:0 auto;padding:clamp(24px,2.5vw,38px)}.app-footer{border-top:1px solid var(--border-soft);color:var(--soft);letter-spacing:.02em;text-align:center;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:26px;padding:18px 12px 2px;font-size:9px;display:flex}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.eyebrow{color:var(--blue-600);text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px;font-size:10px;font-weight:800;display:block}.page-heading h1{letter-spacing:-.035em;margin:0;font-size:clamp(26px,2.1vw,34px);line-height:1.08}.page-heading p{color:var(--muted);margin:7px 0 0;font-size:13px;line-height:1.5}.heading-actions{justify-content:flex-end;align-items:stretch;gap:12px;display:flex}.quick-action{text-align:left;border:1px solid #0000;border-radius:13px;align-items:center;gap:12px;min-width:240px;min-height:70px;padding:10px 14px;transition:transform .18s,box-shadow .18s;display:flex}.quick-action:hover{transform:translateY(-2px)}.quick-action.primary{color:#fff;background:linear-gradient(135deg,#126cf3,#0d57d5);box-shadow:0 10px 24px #0b63e638}.quick-action.secondary{color:var(--blue-600);background:#fff;border-color:#0b63e675}.quick-action.secondary:hover{box-shadow:0 10px 24px #0b63e61a}.quick-icon{border:1px solid;border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:grid}.quick-action>span:nth-child(2){flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.quick-action strong{font-size:13px}.quick-action small{color:currentColor;opacity:.75;font-size:9px}.kpi-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.kpi-card{border:1px solid var(--border);background:var(--card);min-height:104px;box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:12px;padding:15px;display:flex}.kpi-icon{width:42px;height:42px;color:var(--blue-600);background:linear-gradient(145deg,#f7faff,#eaf2ff);border:1px solid #cadefa;border-radius:11px;flex:none;place-items:center;display:grid}.kpi-card>div{flex-direction:column;gap:4px;min-width:0;display:flex}.kpi-card span:not(.kpi-icon){color:var(--muted);font-size:10px}.kpi-card strong{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(15px,1.3vw,20px);overflow:hidden}.kpi-card small{align-items:center;gap:4px;font-size:9px;display:flex}.kpi-card small.up{color:var(--green-500)}.kpi-card small.down{color:var(--red-500)}.kpi-card small.neutral{color:var(--muted)}.target-banner{background:linear-gradient(90deg,#f6f9ff,#fff);border:1px solid #cdddf4;border-radius:12px;grid-template-columns:minmax(220px,auto) minmax(120px,1fr) 48px;align-items:center;gap:18px;min-height:66px;margin-bottom:14px;padding:10px 14px;display:grid}.target-banner.achieved{background:linear-gradient(90deg,#effaf5,#fff);border-color:#a9dbc9}.target-banner.incomplete{background:linear-gradient(90deg,#fff9eb,#fff);border-color:#ead6a5}.target-copy{color:var(--blue-600);align-items:center;gap:10px;display:flex}.target-banner.achieved .target-copy{color:var(--green-600)}.target-copy div{flex-direction:column;gap:2px;display:flex}.target-copy strong{font-size:12px}.target-copy span{color:var(--muted);font-size:10px}.target-breakdown{flex-wrap:wrap;gap:6px;margin-top:3px;display:flex}.target-breakdown span{white-space:nowrap;background:#fffc;border:1px solid #d5e2f5;border-radius:7px;align-items:center;gap:5px;padding:4px 7px;display:flex}.target-breakdown b{color:var(--blue-600);font-size:9px}.target-breakdown small{color:var(--muted);font-size:9px}.target-breakdown em{color:var(--green-600);font-size:9px;font-style:normal;font-weight:900}.target-progress,.bar{background:#e8eef6;border-radius:99px;height:6px;overflow:hidden}.target-progress span,.bar span{border-radius:inherit;background:linear-gradient(90deg, var(--blue-500), #0b56cf);height:100%;transition:width .38s;display:block}.target-banner.achieved .target-progress span{background:linear-gradient(90deg, #0aac78, var(--green-600))}.target-number{color:var(--blue-600);text-align:right;font-size:12px}.supervision-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:18px;display:grid}.target-settings,.metric-policy{padding:22px}.supervision-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.supervision-grid label{flex-direction:column;gap:7px;display:flex}.supervision-grid label>span{color:var(--ink);font-size:12px;font-weight:800}.supervision-grid input,.supervision-grid select{border:1px solid var(--border);width:100%;min-height:46px;color:var(--ink);background:#fff;border-radius:10px;padding:0 13px}.supervision-grid small{color:var(--muted);font-size:10px;line-height:1.4}.target-admin-note{color:var(--blue-600);background:var(--blue-50);border:1px solid #cfe0fa;border-radius:12px;align-items:flex-start;gap:11px;margin-top:18px;padding:14px;display:flex}.target-admin-note span{flex-direction:column;gap:4px;display:flex}.target-admin-note strong{font-size:12px}.target-admin-note small{color:var(--muted);font-size:10px}.metric-policy ol{counter-reset:policy;flex-direction:column;gap:14px;margin:20px 0 18px;padding:0;list-style:none;display:flex}.metric-policy li{counter-increment:policy;flex-direction:column;gap:4px;padding-left:38px;display:flex;position:relative}.metric-policy li:before{content:counter(policy);color:#fff;background:var(--navy-800);border-radius:8px;place-items:center;width:27px;height:27px;font-size:11px;font-weight:900;display:grid;position:absolute;top:0;left:0}.metric-policy li strong{font-size:12px}.metric-policy li span,.metric-policy>p{color:var(--muted);font-size:11px;line-height:1.55}.seller-admin-panel{margin-top:18px}.seller-admin-layout{grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);min-height:420px;display:grid}.seller-editor{border-right:1px solid var(--border-soft);padding:22px}.seller-editor-heading,.seller-access-note,.seller-roster-heading,.seller-roster-row{align-items:center;display:flex}.seller-editor-heading{gap:12px}.seller-editor-heading>span:last-child,.seller-access-note>span,.seller-roster-heading>span,.seller-roster-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.seller-editor-heading strong,.seller-roster-heading strong{font-size:13px}.seller-editor-heading small,.seller-roster-heading small,.seller-roster-copy small,.seller-access-note small{color:var(--muted);font-size:10px;line-height:1.4}.seller-admin-icon{width:42px;height:42px;color:var(--blue-600);background:var(--blue-50);border:1px solid #cadefa;border-radius:11px;flex:none;place-items:center;display:grid}.seller-fields{margin-top:20px}.supervision-grid label.span-2{grid-column:1/-1}.seller-status-control{max-width:230px}.seller-access-note{color:var(--blue-600);background:var(--blue-50);border:1px solid #cfe0fa;border-radius:11px;gap:10px;margin-top:17px;padding:12px}.profile-scope-note{color:var(--blue-600);background:#f8fbff;border:1px solid #d8e3f1;border-radius:11px;align-items:flex-start;gap:10px;margin-top:16px;padding:12px;display:flex}.profile-scope-note.supervisor{color:#6741c7;background:#f8f5ff;border-color:#ded2fb}.profile-scope-note>span{flex-direction:column;gap:4px;display:flex}.profile-scope-note strong{font-size:11px}.profile-scope-note small{color:var(--muted);font-size:10px;line-height:1.45}.user-privileges-modal{width:min(560px,100vw - 28px)}.user-privilege-summary{border:1px solid var(--border-soft);background:#f8fafc;border-radius:12px;align-items:center;gap:12px;padding:14px;display:flex}.user-privilege-summary>span:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.user-privilege-summary strong{font-size:13px}.user-privilege-summary small,.user-privilege-help{color:var(--muted);font-size:10px}.user-privilege-fields{margin-top:16px}.user-privilege-help{margin:12px 0 0;line-height:1.5}.seller-access-note strong{font-size:11px}.seller-access-note>span{flex:1}.access-link-copy{align-items:center;gap:7px;min-width:min(330px,45%);display:flex}.access-link-copy input{min-width:0;height:38px;color:var(--muted);background:#fff;border:1px solid #cfe0fa;border-radius:9px;flex:1;padding:0 10px;font-size:10px}.copy-access-link{white-space:nowrap;flex:none}.seller-form-actions{margin-top:16px}.seller-roster{background:#fbfcfe;min-width:0}.seller-roster-heading{border-bottom:1px solid var(--border-soft);justify-content:space-between;min-height:66px;padding:14px 17px}.seller-roster-list{max-height:430px;overflow-y:auto}.seller-roster-row{border-bottom:1px solid var(--border-soft);background:#fff;grid-template-columns:38px minmax(0,1fr) minmax(112px,auto) 40px;gap:10px;min-height:68px;padding:10px 14px;display:grid}.seller-roster-row.protected-user{background:linear-gradient(90deg,#f8f5ff,#fff 72%)}.seller-access-summary{flex-direction:column;align-items:flex-end;gap:5px;display:flex}.user-profile-badge{color:#0754c6;background:var(--blue-100);border-radius:99px;justify-content:center;align-items:center;width:fit-content;padding:4px 8px;font-size:9px;font-weight:900;display:inline-flex}.user-profile-badge.supervisor{color:#6741c7;background:#eee8ff}.protected-user-icon{color:#6741c7;place-items:center;width:34px;height:34px;display:grid}.seller-avatar{width:36px;height:36px}.seller-roster-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.seller-roster-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.seller-state{border-radius:99px;padding:5px 8px;font-size:9px;font-weight:900}.seller-state.active{color:var(--green-600);background:var(--green-100)}.seller-state.inactive{color:var(--muted);background:#edf1f5}.ownership-panel{background:radial-gradient(circle at 100% 0,#1769f614,#0000 18rem),#fff;border-color:#cbdcf2;grid-template-columns:minmax(260px,.7fr) minmax(440px,1.3fr);gap:22px 28px;margin-top:18px;padding:22px;display:grid;overflow:hidden}.ownership-heading{align-items:flex-start;gap:13px;display:flex}.ownership-heading>span:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.ownership-icon{color:#fff;background:linear-gradient(145deg, var(--blue-500), var(--navy-800));border-radius:13px;flex:none;place-items:center;width:46px;height:46px;display:grid;box-shadow:0 9px 22px #0b63e633}.ownership-heading small{color:var(--blue-600);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:900}.ownership-heading strong{font-size:18px}.ownership-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.ownership-heading p b{color:var(--ink)}.ownership-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.ownership-facts>div{border:1px solid var(--border-soft);background:#fbfcfe;border-radius:10px;min-width:0;padding:11px 13px}.ownership-facts dt{color:var(--soft);text-transform:uppercase;letter-spacing:.06em;font-size:8px}.ownership-facts dd{overflow-wrap:anywhere;color:var(--ink);margin:5px 0 0;font-size:11px;font-weight:800}.ownership-guard{color:var(--blue-600);background:var(--blue-50);border:1px solid #cfe0fa;border-radius:11px;grid-column:1/-1;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.ownership-guard span{flex-direction:column;gap:3px;display:flex}.ownership-guard strong{font-size:11px}.ownership-guard small{color:var(--muted);font-size:10px;line-height:1.45}@media (width<=900px){.supervision-layout,.seller-admin-layout{grid-template-columns:1fr}.seller-editor{border-right:0;border-bottom:1px solid var(--border-soft)}.ownership-panel{grid-template-columns:1fr}.ownership-guard{grid-column:auto}}@media (width<=560px){.supervision-grid{grid-template-columns:1fr}.supervision-grid label.span-2{grid-column:auto}.seller-editor{padding:17px}.seller-roster-row{grid-template-columns:36px minmax(0,1fr) 38px}.seller-state{justify-self:start}.seller-access-summary,.user-profile-badge{justify-self:start;align-items:flex-start}.seller-access-summary,.protected-user>.user-profile-badge{grid-column:2}.protected-user-icon,.seller-roster-row .icon-button{grid-area:1/3/span 2}.seller-access-note{flex-wrap:wrap;align-items:flex-start}.copy-access-link{justify-content:center}.access-link-copy{width:100%;min-width:0}.ownership-panel{padding:17px}.ownership-facts{grid-template-columns:1fr}}.target-banner.achieved .target-number{color:var(--green-600)}.dashboard-grid{grid-template-columns:1.1fr .9fr;gap:14px;display:grid}.panel{border:1px solid var(--border);background:var(--card);min-width:0;box-shadow:var(--shadow);border-radius:15px;overflow:hidden}.panel-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:0 16px;display:flex}.panel-header>div{color:var(--blue-600);align-items:center;gap:9px;display:flex}.panel-header h2{color:var(--ink);margin:0;font-size:13px}.panel-header button{color:var(--blue-600);background:0 0;border:0;align-items:center;gap:3px;font-size:10px;font-weight:700;display:flex}.commercial-performance{flex-direction:column;gap:12px;padding:14px 16px 13px;display:flex}.performance-controls{justify-content:space-between;align-items:center;gap:10px;display:flex}.metric-switch,.currency-switch{border:1px solid var(--border);background:#f5f8fc;border-radius:10px;align-items:center;gap:3px;padding:3px;display:inline-flex}.metric-switch button,.currency-switch button{min-height:29px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 11px;font-size:9px;font-weight:800;transition:all .16s}.metric-switch button:hover,.currency-switch button:hover{color:var(--blue-600);background:#fff}.metric-switch button.active,.currency-switch button.active{color:#fff;background:var(--blue-600);box-shadow:0 4px 10px #0b63e633}.performance-overview{align-items:stretch;gap:7px;display:flex}.performance-period,.performance-overview>div{border:1px solid var(--border-soft);background:#f9fbfd;border-radius:9px;flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;padding:8px 9px;display:flex}.performance-period{color:var(--blue-600);font-size:9px;font-weight:900;line-height:1.35}.performance-overview small{color:var(--muted);font-size:8px}.performance-overview strong{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.performance-overview strong.success{color:var(--green-600)}.commercial-chart{grid-template-columns:36px minmax(0,1fr);gap:7px;min-height:139px;display:grid}.chart-scale{height:118px;color:var(--soft);text-align:right;flex-direction:column;justify-content:space-between;padding:1px 0 2px;font-size:8px;display:flex}.chart-scroll{scrollbar-width:thin;scrollbar-color:#c7d4e4 transparent;min-width:0;overflow-x:auto}.chart-columns{background:linear-gradient(#0000 calc(50% - 1px),#edf2f7 50%,#0000 calc(50% + 1px)),linear-gradient(#0000 calc(85% - 1px),#f3f6fa 85%,#0000 calc(85% + 1px));align-items:stretch;gap:4px;height:139px;padding:0 3px;display:flex}.chart-column{flex-direction:column;flex:1 0 34px;gap:5px;min-width:34px;display:flex}.chart-plot{border-bottom:1px solid var(--border);justify-content:center;align-items:flex-end;gap:3px;height:118px;display:flex;position:relative}.chart-bar{border-radius:4px 4px 1px 1px;width:11px;min-height:0;transition:height .26s}.chart-bar.primary{background:linear-gradient(#1769f6,#0b55cf);box-shadow:0 3px 7px #0b63e624}.chart-bar.secondary{background:linear-gradient(#20b98a,#07875f);box-shadow:0 3px 7px #07875f1f}.chart-target{z-index:2;border-top:2px dashed var(--amber-500);position:absolute;left:3px;right:3px;transform:translateY(1px)}.chart-date{color:var(--soft);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.chart-legend{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:11px;font-size:8px;display:flex}.chart-legend span{align-items:center;gap:5px;display:inline-flex}.chart-legend i{background:var(--blue-600);border-radius:3px;width:9px;height:9px}.chart-legend i.secondary{background:var(--green-600)}.chart-legend i.target{border-top:2px dashed var(--amber-500);background:0 0;border-radius:0;height:0}.performance-content{grid-template-columns:155px 1fr;align-items:center;gap:20px;min-height:203px;padding:18px;display:grid}.progress-ring{--progress:0deg;background:conic-gradient(var(--blue-600) var(--progress), #e8eef6 0);border-radius:50%;place-items:center;width:130px;height:130px;margin:0 auto;display:grid;box-shadow:inset 0 0 0 1px #0b63e614}.progress-ring:before{content:"";background:#fff;border-radius:50%;width:104px;height:104px;position:absolute}.progress-ring div{z-index:1;flex-direction:column;align-items:center;display:flex;position:relative}.progress-ring strong{letter-spacing:-.04em;font-size:26px}.progress-ring span{color:var(--green-600);font-size:9px;font-weight:700}.funnel-block{border-left:1px solid var(--border);flex-direction:column;gap:13px;padding-left:18px;display:flex}.progress-line{flex-direction:column;gap:5px;display:flex}.progress-line>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.progress-line>div>span{color:var(--muted);align-items:center;gap:6px;font-size:10px;font-weight:700;display:flex}.progress-line strong{font-size:10px}.funnel{align-items:stretch;gap:4px;margin-top:3px;display:flex}.funnel>div{background:var(--blue-50);border:1px solid #d2e2f6;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;min-width:70px;padding:8px 6px;display:flex}.funnel>div.active{color:#fff;border-color:var(--blue-600);background:var(--blue-600)}.funnel div strong{font-size:15px}.funnel div span{font-size:8px}.funnel>svg{color:#9db2cc;flex:none;align-self:center}.funnel .conversion{color:var(--blue-600);align-self:center;margin-left:6px;font-size:18px}.route-summary{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:14px 18px 8px;font-size:10px;display:flex}.route-summary strong{color:var(--ink);font-size:12px}.route-summary .success,.route-summary .success strong{color:var(--green-600)}.route-summary .warning,.route-summary .warning strong{color:var(--amber-600)}.route-track{justify-content:space-between;align-items:center;min-height:42px;margin:0 25px;display:flex;position:relative}.route-track:before,.route-fill{content:"";background:#dde5ef;border-radius:99px;height:4px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.route-fill{z-index:1;background:var(--green-500);right:auto}.route-stop{z-index:2;color:#fff;background:#fff;border:2px solid #b7c5d6;border-radius:99px;place-items:center;width:24px;height:24px;display:grid;position:relative}.route-stop.completed{border-color:var(--green-500);background:var(--green-500)}.route-stop.in_progress{border-color:var(--blue-600);background:#fff}.pulse{background:var(--blue-600);border-radius:99px;width:8px;height:8px;box-shadow:0 0 0 5px #0b63e621}.next-stop{background:var(--blue-50);border:1px solid #d2e2f6;border-radius:11px;align-items:center;gap:10px;min-height:55px;margin:5px 15px 14px;padding:9px 11px;display:flex}.location-pin{width:34px;height:34px;color:var(--blue-600);background:#fff;border-radius:9px;flex:none;place-items:center;display:grid}.next-stop div{flex-direction:column;flex:1;display:flex}.next-stop small{color:var(--muted);font-size:8px}.next-stop strong{font-size:11px}.next-stop>span:last-child{color:var(--blue-600);font-size:11px;font-weight:800}.task-list,.risk-list{flex-direction:column;gap:7px;padding:11px;display:flex}.task-row{border:1px solid var(--border-soft);text-align:left;background:#fff;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:42px;padding:7px 9px;display:flex}.task-row:hover{background:#fafcff;border-color:#b7cbe5}.task-check{color:#0000;border:1.5px solid #aab8c9;border-radius:99px;flex:none;place-items:center;width:20px;height:20px;display:grid}.task-row:hover .task-check{border-color:var(--green-500);color:var(--green-500)}.task-row>span:nth-child(2){flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.task-row strong{font-size:10px}.task-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.task-row time{color:var(--amber-600);font-size:10px;font-weight:800}.risk-row{border:1px solid var(--border-soft);background:#fff;border-radius:9px;align-items:center;gap:10px;min-height:42px;padding:7px 9px;display:flex}.risk-row.high{background:#fff9f9;border-color:#f1c6c8}.risk-row.medium{background:#fffdf8;border-color:#f2dfb6}.risk-icon{width:28px;height:28px;color:var(--red-600);background:var(--red-100);border-radius:99px;flex:none;place-items:center;display:grid}.risk-row.medium .risk-icon{color:var(--amber-600);background:var(--amber-100)}.risk-row>div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.risk-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.risk-row small{color:var(--muted);font-size:8px}.risk-row>span:last-child{color:var(--red-600);font-size:9px;font-weight:800}.risk-row.medium>span:last-child{color:var(--amber-600)}.activity-panel{grid-column:1/-1}.activity-table{padding:0 10px 10px}.activity-row{border-bottom:1px solid var(--border-soft);grid-template-columns:54px 56px 1.2fr 1.5fr 90px 80px;align-items:center;gap:9px;min-height:39px;padding:4px 7px;font-size:9px;display:grid}.activity-row:last-child{border-bottom:0}.activity-row time,.activity-detail{color:var(--muted)}.activity-row>strong,.activity-detail{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity-row b{color:var(--green-600);text-align:right}.type-badge,.status-pill,.currency-pill,.risk-badge{border:1px solid;border-radius:99px;justify-content:center;align-items:center;width:max-content;padding:4px 8px;font-size:8px;font-weight:800;display:inline-flex}.type-badge.venta,.status-pill.success,.status-pill.completed,.risk-badge.healthy{color:var(--green-600);background:var(--green-100);border-color:#a8dcc9}.type-badge.visita,.status-pill.info,.status-pill.in_progress,.currency-pill{color:var(--blue-600);background:var(--blue-50);border-color:#bdd5f6}.status-pill.scheduled{color:var(--muted);border-color:var(--border);background:#f5f7fa}.risk-badge.high{color:var(--red-600);background:var(--red-100);border-color:#efb8bb}.risk-badge.medium{color:var(--amber-600);background:var(--amber-100);border-color:#efcf8d}.summary-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px;display:grid}.summary-card{border:1px solid var(--border);min-height:85px;box-shadow:var(--shadow);background:#fff;border-radius:14px;align-items:center;gap:13px;padding:15px;display:flex}.summary-card>span{width:39px;height:39px;color:var(--blue-600);background:var(--blue-100);border-radius:10px;place-items:center;display:grid}.summary-card div{flex-direction:column;gap:5px;min-width:0;display:flex}.summary-card small{color:var(--muted);font-size:10px}.summary-card strong{letter-spacing:-.03em;text-overflow:ellipsis;white-space:nowrap;font-size:20px;overflow:hidden}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:11px;font-weight:800;display:inline-flex}.button.large{min-height:47px}.button.primary{color:#fff;border-color:var(--blue-600);background:linear-gradient(135deg,#1769f6,#0b58d1);box-shadow:0 8px 18px #0b63e62e}.button.primary:hover{filter:brightness(.97)}.button.ghost{border-color:var(--border);background:#fff}.button:disabled{cursor:not-allowed;opacity:.55}.module-panel{min-height:440px}.data-table{width:100%}.data-row{border-bottom:1px solid var(--border-soft);align-items:center;gap:14px;min-height:55px;padding:8px 16px;font-size:10px;display:grid}.data-row:last-child{border-bottom:0}.data-head{min-height:38px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;background:#f9fbfd;font-size:9px;font-weight:800}.sales-columns{grid-template-columns:92px 82px 1.2fr 76px 62px 100px 48px minmax(110px,1fr) 48px}.icon-button{border:1px solid var(--border);background:#fff;border-radius:9px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.icon-button.danger{color:var(--red-600)}.icon-button.danger:hover{background:var(--red-100);border-color:#f1b8bb}.button.danger{border-color:var(--red-600);color:#fff;background:var(--red-600)}.delete-confirmation{background:var(--red-100);border:1px solid #f2c8ca;border-radius:13px;align-items:center;gap:14px;padding:18px;display:flex}.delete-confirmation p{color:var(--muted);margin:6px 0 0}.delete-warning{width:42px;height:42px;color:var(--red-600);background:#fff;border-radius:50%;flex:none;place-items:center;display:grid}.visit-columns{grid-template-columns:105px 1fr 1fr 95px 90px 1.2fr}.source-file{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.truncate{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.module-footnote{color:var(--muted);text-align:right;margin:12px 4px 0;font-size:9px}.agenda-layout{grid-template-columns:minmax(0,1fr) 280px;gap:15px;display:grid}.timeline{padding:8px 18px 20px}.timeline-item{grid-template-columns:62px 32px 1fr auto;align-items:center;gap:10px;min-height:93px;display:grid;position:relative}.timeline-item:before{content:"";background:#d8e1ec;width:2px;position:absolute;top:0;bottom:0;left:78px}.timeline-item:first-child:before{top:50%}.timeline-item:last-child:before{bottom:50%}.timeline-item time{color:var(--blue-600);font-size:12px;font-weight:800}.timeline-node{z-index:1;width:28px;height:28px;color:var(--muted);background:#fff;border:2px solid #aab9cc;border-radius:99px;place-items:center;font-size:10px;font-weight:800;display:grid;position:relative}.timeline-item.completed .timeline-node{color:#fff;border-color:var(--green-500);background:var(--green-500)}.timeline-item.in_progress .timeline-node{color:#fff;border-color:var(--blue-600);background:var(--blue-600);box-shadow:0 0 0 5px #0b63e61f}.timeline-item>div:nth-child(3){flex-direction:column;gap:4px;min-width:0;display:flex}.timeline-item strong{font-size:12px}.timeline-item>div:nth-child(3)>span{color:var(--muted);font-size:10px}.timeline-item small{color:var(--soft);align-items:center;gap:4px;font-size:8px;display:flex}.timeline-actions{align-items:center;gap:8px;display:flex}.small-action{min-height:30px;color:var(--blue-600);background:#fff;border:1px solid #b9d0f1;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:9px;font-weight:800;display:flex}.route-insight{color:#fff;background:radial-gradient(circle at 90% 10%, #1769f68c, transparent 12rem), linear-gradient(160deg, var(--navy-900), var(--navy-950));border-radius:15px;height:max-content;padding:20px;box-shadow:0 16px 34px #031c3929}.insight-icon{background:#ffffff1a;border:1px solid #ffffff3d;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.route-insight h2{margin:18px 0;font-size:17px}.route-insight>div{border-bottom:1px solid #ffffff24;justify-content:space-between;align-items:center;padding:11px 0;font-size:10px;display:flex}.route-insight>div strong{font-size:14px}.route-insight p{color:#ffffffad;align-items:flex-start;gap:6px;margin:17px 0 0;font-size:9px;line-height:1.5;display:flex}.client-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.client-card{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:14px;padding:17px;overflow:hidden}.client-card.high{border-top:3px solid var(--red-500)}.client-card.medium{border-top:3px solid var(--amber-500)}.client-card.healthy{border-top:3px solid var(--green-500)}.client-card header{justify-content:space-between;align-items:center;display:flex}.client-icon{width:38px;height:38px;color:var(--blue-600);background:var(--blue-100);border-radius:10px;place-items:center;display:grid}.client-card h2{margin:15px 0 4px;font-size:15px}.client-card>p{color:var(--muted);margin:0;font-size:9px}.client-card dl{grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0;display:grid}.client-card dl>div{background:#f7f9fc;border-radius:8px;padding:9px}.client-card dt{color:var(--soft);font-size:8px}.client-card dd{margin:5px 0 0;font-size:10px;font-weight:800}.client-heading-actions{align-items:center;gap:10px;display:flex}.client-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-2px 0 18px;display:grid}.client-strip>div{border:1px solid var(--border-soft);min-height:58px;color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:11px;padding:12px 15px;font-size:12px;display:flex;box-shadow:0 4px 18px #18345409}.client-strip svg{color:var(--blue-600);flex:none}.client-strip strong{color:var(--ink)}.client-result-note{color:var(--muted);text-align:center;margin:18px 0 0;font-size:12px}.import-summary{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.import-summary>div{border:1px solid var(--border-soft);background:var(--blue-50);border-radius:12px;flex-direction:column;gap:5px;padding:14px;display:flex}.import-summary span{color:var(--muted);font-size:11px}.import-summary strong{color:var(--ink);font-size:23px}.import-summary .new{background:var(--green-100)}.import-summary .new strong{color:var(--green-600)}.import-summary .update{background:var(--amber-100)}.import-summary .update strong{color:var(--amber-600)}.import-summary .linked{background:#edf4ff}.import-summary .linked strong{color:var(--blue-600)}.import-preview{border:1px solid var(--border);border-radius:12px;max-height:310px;overflow:auto}.import-preview-head,.import-preview-row{grid-template-columns:92px minmax(0,1fr) 150px;align-items:center;gap:12px;padding:11px 14px;display:grid}.import-preview-head{z-index:1;color:var(--muted);border-bottom:1px solid var(--border-soft);background:#f8fafc;font-size:11px;position:sticky;top:0}.import-preview-head strong{color:var(--ink)}.import-preview-row{border-bottom:1px solid var(--border-soft);font-size:11px}.import-preview-row:last-child{border-bottom:0}.import-preview-row>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.import-preview-row strong,.import-preview-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.import-preview-row small,.import-preview-row>span:last-child{color:var(--muted)}.import-status{text-transform:uppercase;border-radius:99px;width:fit-content;padding:4px 8px;font-size:9px;font-weight:800}.import-status.new{color:var(--green-600);background:var(--green-100)}.import-status.update{color:var(--amber-600);background:var(--amber-100)}.import-note{color:var(--muted);margin:-2px 0 0;font-size:11px;line-height:1.5}.client-combobox{position:relative}.client-combobox>svg{z-index:2;color:var(--soft);pointer-events:none;position:absolute;top:14px;left:13px}.client-combobox>input{width:100%;padding-left:40px}.client-suggestions{z-index:20;border:1px solid var(--border);background:#fff;border-radius:12px;max-height:270px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 42px #031c3929}.client-suggestions button{text-align:left;background:0 0;border:0;border-radius:8px;flex-direction:column;gap:3px;width:100%;padding:10px 11px;display:flex}.client-suggestions button:hover,.client-suggestions button:focus-visible{background:var(--blue-50)}.client-suggestions strong{font-size:12px}.client-suggestions small,.client-suggestions p,.field-help{color:var(--muted);font-size:10px}.client-suggestions p{margin:0;padding:11px;line-height:1.45}.agenda-toolbar{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:14px;grid-template-columns:auto minmax(340px,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;padding:12px;display:grid}.view-switch{background:var(--blue-50);border-radius:10px;padding:3px;display:flex}.view-switch button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:0 16px;font-size:11px;font-weight:800}.view-switch button.active{color:#fff;background:var(--blue-600);box-shadow:0 5px 14px #0b63e638}.date-navigator{justify-content:center;align-items:center;gap:7px;display:flex}.date-navigator>button{border:1px solid var(--border);background:#fff;border-radius:9px;min-width:34px;height:34px;font-size:20px}.date-navigator label{border:1px solid var(--border);border-radius:9px;align-items:center;gap:8px;min-height:36px;padding:0 11px;display:flex}.date-navigator input{color:var(--ink);background:0 0;border:0;font-size:11px;font-weight:700}.date-navigator .today-button{width:auto;color:var(--blue-600);padding:0 12px;font-size:10px;font-weight:800}.selected-period{color:var(--muted);text-transform:capitalize;text-align:right;font-size:11px}.summary-period{color:#ffffffb8;text-transform:capitalize;margin:-5px 0 11px;font-size:10px;display:block}.visits-toolbar{margin-top:-2px}.period-performance{border-bottom:1px solid var(--border-soft);min-height:42px;color:var(--muted);justify-content:flex-end;align-items:center;gap:10px;padding:0 18px;font-size:11px;display:flex}.period-performance span{align-items:center;gap:6px;display:inline-flex}.period-performance strong{color:var(--green-600);font-size:14px}.timeline-item time b{color:var(--ink);font-size:10px;font-weight:800;display:block}.status-pill.overdue{color:var(--red-600);background:var(--red-100)}.timeline-item.overdue .timeline-node{color:#fff;background:var(--red-500);border-color:var(--red-500)}.small-action.neutral{color:var(--muted);background:#f2f5f8}.small-action.danger{color:var(--red-600);background:var(--red-100)}@media (width<=820px){.agenda-toolbar{grid-template-columns:1fr}.view-switch,.date-navigator{width:100%}.view-switch button{flex:1}.date-navigator{justify-content:space-between}.date-navigator label{flex:1}.date-navigator input{width:100%}.selected-period{text-align:center}}.card-action{border:1px solid var(--border);width:100%;min-height:37px;color:var(--blue-600);background:#fff;border-radius:9px;justify-content:space-between;align-items:center;padding:0 10px;font-size:10px;font-weight:800;display:flex}.card-action:hover{background:var(--blue-50);border-color:#b6ccef}.search-box{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:center;gap:8px;width:275px;height:45px;padding:0 12px;display:flex}.search-box svg{color:var(--muted)}.search-box input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:11px}.empty-state{min-height:250px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:30px;display:flex}.empty-state>span{width:56px;height:56px;color:var(--blue-600);background:var(--blue-100);border-radius:15px;place-items:center;display:grid}.empty-state strong{color:var(--ink);font-size:13px}.empty-state p{max-width:320px;margin:0;font-size:10px}.empty-inline{min-height:55px;color:var(--green-600);justify-content:center;align-items:center;gap:7px;font-size:10px;font-weight:800;display:flex}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#03142a94;place-items:center;padding:20px;animation:.16s fade-in;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #ffffff80;border-radius:18px;width:min(640px,100%);max-height:min(830px,100vh - 30px);animation:.2s modal-in;overflow:auto;box-shadow:0 28px 80px #0216314d}.modal>header{z-index:2;border-bottom:1px solid var(--border-soft);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;justify-content:space-between;align-items:flex-start;gap:15px;padding:21px 22px 16px;display:flex;position:sticky;top:0}.modal h2{letter-spacing:-.025em;margin:0;font-size:20px}.modal header p{color:var(--muted);margin:5px 0 0;font-size:10px}.form-stack{padding:18px 22px 22px}.drop-zone{width:100%;min-height:96px;color:var(--blue-600);background:var(--blue-50);border:1.5px dashed #a9c4e8;border-radius:13px;justify-content:center;align-items:center;gap:13px;padding:16px;display:flex}.drop-zone.has-file{color:var(--green-600);background:#f1faf6;border-color:#9cd7c1}.drop-zone span{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.drop-zone strong{font-size:12px}.drop-zone small{color:var(--muted);font-size:9px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:17px;display:grid}.field{flex-direction:column;gap:6px;display:flex}.field.span-2{grid-column:1/-1}.field>span{color:#42536a;text-transform:uppercase;letter-spacing:.05em;font-size:9px;font-weight:800}.field input,.field select,.field textarea{border:1px solid var(--border);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;outline:0;padding:9px 11px;font-size:11px}.field textarea{resize:vertical;min-height:78px}.field input:hover,.field select:hover,.field textarea:hover,.field input:focus,.field select:focus,.field textarea:focus{border-color:#9dbbe4}.form-actions{border-top:1px solid var(--border-soft);justify-content:flex-end;gap:9px;margin-top:19px;padding-top:16px;display:flex}.toast{z-index:120;color:#045f43;background:#f1faf6fa;border:1px solid #9cd7c1;border-radius:11px;align-items:center;gap:9px;max-width:min(390px,100vw - 30px);min-height:47px;padding:10px 14px;font-size:10px;font-weight:800;animation:.22s toast-in;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 13px 34px #053e2b2e}.sidebar-foot.connection-refreshing .status-dot{background:var(--amber-500);box-shadow:0 0 0 4px #e9920024}.sidebar-foot.connection-interrupted .status-dot{background:var(--red-500);box-shadow:0 0 0 4px #e5484d24}.sidebar-foot.connection-interrupted strong{color:#ffd9db}.mobile-nav{display:none}.loading-screen{min-height:100vh;color:var(--muted);background:radial-gradient(circle at center, #1769f61a, transparent 22rem), var(--canvas);flex-direction:column;justify-content:center;align-items:center;gap:13px;display:flex}.loading-mark{color:var(--navy-900);letter-spacing:-6px;font-size:42px;font-style:italic;font-weight:900}.loading-screen p{margin:0;font-size:11px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px)scale(.985)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (width<=1220px){.page-heading{align-items:flex-start}.heading-actions{flex-direction:column}.quick-action{min-width:260px;min-height:58px}.quick-icon{width:36px;height:36px}.kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.performance-content{grid-template-columns:125px 1fr}.progress-ring{width:110px;height:110px}.progress-ring:before{width:86px;height:86px}.client-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.sidebar{width:76px;padding-inline:9px}.brand{justify-content:center;padding-inline:0}.brand>span:last-child,.nav-item span,.sidebar-foot div{display:none}.nav-item{justify-content:center;padding:0}.sidebar-foot{justify-content:center}.workspace{margin-left:76px}.page-heading{flex-direction:column}.heading-actions{flex-direction:row;justify-content:flex-start;width:100%}.quick-action{flex:1;min-width:0}.dashboard-grid{grid-template-columns:1fr}.activity-panel{grid-column:auto}.summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-row{grid-template-columns:50px 54px 1fr 92px 78px}.activity-detail{display:none}.agenda-layout{grid-template-columns:1fr}.route-insight{grid-template-columns:repeat(4,1fr);gap:0 16px;display:grid}.route-insight .insight-icon,.route-insight h2,.route-insight p{grid-column:1/-1}}@media (width<=760px){body{padding-bottom:68px}.sidebar{width:min(270px,82vw);padding:24px 13px;transition:transform .18s;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.brand{justify-content:flex-start;padding-inline:10px}.brand>span:last-child,.nav-item span,.sidebar-foot div{display:flex}.nav-item{justify-content:flex-start;padding:0 13px}.sidebar-foot{justify-content:flex-start}.workspace{margin-left:0}.topbar{justify-content:space-between;min-height:58px;padding:7px 14px}.menu-button{border:1px solid var(--border);background:#fff;border-radius:10px;place-items:center;width:37px;height:37px;display:grid}.mobile-brand{color:var(--navy-900);letter-spacing:-3px;margin-left:9px;margin-right:auto;font-size:21px;font-style:italic;font-weight:900;display:block}.mobile-brand span{letter-spacing:0;margin-left:5px;font-size:9px;font-style:normal}.compact-select,.profile div{display:none}.profile{border-left:0;padding-left:0}.topbar-controls{gap:8px}.content{padding:19px 14px}.page-heading{gap:16px;margin-bottom:18px}.page-heading h1{font-size:27px}.heading-actions{flex-direction:column}.quick-action{width:100%;min-height:64px}.kpi-strip{scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin-right:-14px;padding-right:14px;display:flex;overflow-x:auto}.kpi-card{scroll-snap-align:start;min-width:205px;min-height:96px}.target-banner{grid-template-columns:1fr 45px;gap:9px}.target-progress{grid-area:2/1/auto/-1}.performance-content{grid-template-columns:1fr}.funnel-block{border-top:1px solid var(--border);border-left:0;padding-top:16px;padding-left:0}.route-summary{align-items:flex-start}.activity-row{grid-template-columns:42px 54px 1fr auto;min-height:50px}.activity-row b,.activity-row .status-pill{grid-column:3/-1}.activity-row .status-pill{justify-self:end}.summary-cards{scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-14px;padding-right:14px;display:flex;overflow-x:auto}.summary-card{scroll-snap-align:start;min-width:220px}.data-head{display:none}.data-row:not(.data-head){grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;min-height:0;padding:15px;display:grid}.data-row:not(.data-head)>*{min-width:0}.data-row:not(.data-head)>[data-label]:before{content:attr(data-label);color:var(--soft);text-transform:uppercase;margin-bottom:4px;font-size:8px;font-weight:800;display:block}.sales-columns,.visit-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-layout{gap:12px}.timeline{padding-inline:12px}.timeline-item{grid-template-columns:47px 28px 1fr;gap:7px;padding:10px 0}.timeline-item:before{left:60px}.timeline-node{width:25px;height:25px}.timeline-actions{flex-wrap:wrap;grid-column:3}.route-insight{grid-template-columns:repeat(2,1fr)}.client-cards{grid-template-columns:1fr}.search-box{width:100%}.client-card dl{gap:5px}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:18px 18px 0 0;width:100%;max-height:92vh}.form-grid{grid-template-columns:1fr}.field.span-2{grid-column:auto}.form-actions{background:#fff;margin:18px -22px -22px;padding:13px 22px 18px;position:sticky;bottom:0}.form-actions .button{flex:1}.mobile-nav{z-index:60;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;grid-template-columns:repeat(5,1fr);height:66px;padding:6px 5px 7px;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 28px #122c4c14}.mobile-nav button{color:var(--muted);background:0 0;border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.mobile-nav button.active{color:var(--blue-600);background:var(--blue-50)}.mobile-nav span{font-size:8px;font-weight:800}.toast{bottom:80px;right:15px}}@media (width<=390px){.client-card dl{grid-template-columns:1fr}.funnel .conversion{display:none}.route-summary{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=700px){.confirmed-sale{padding:14px}.sale-document-head{flex-direction:column;align-items:flex-start;gap:12px}.sale-document-head>div:last-child{text-align:left;align-items:flex-start}.sale-document-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-document-total{flex-direction:column;align-items:flex-end}}@media print{@page{size:A4 portrait;margin:9mm}html,body{background:#fff!important}body{margin:0!important}.sale-document,.sale-document *{-webkit-print-color-adjust:exact;print-color-adjust:exact}.modal-backdrop .modal.sale-document-modal{border:0!important;border-radius:0!important;max-height:none!important;overflow:visible!important}.confirmed-sale{padding:0!important;display:block!important}.confirmed-sale-status,.confirmed-sale>.form-actions{display:none!important}.sale-document{border:0!important;border-radius:0!important;overflow:visible!important}.sale-document-head{min-height:82px;padding:10px 12px}.sale-document-logo img{max-height:54px}.sale-document-meta>div{min-height:46px;padding:8px 9px}.sale-document-table-wrap{overflow:visible!important}.sale-document-table{font-size:8px}.sale-document-table thead{display:table-header-group}.sale-document-table tr{break-inside:avoid}.sale-document-table th,.sale-document-table td{padding:7px 6px}.sale-document-table td:nth-child(2){min-width:170px}.sale-document-total{break-inside:avoid;padding:11px 12px}}@media (width<=900px){.client-heading-actions{flex-direction:column;align-items:stretch;width:100%}.client-heading-actions .search-box,.client-heading-actions .button{width:100%}.client-strip{grid-template-columns:1fr}}@media (width<=600px){.import-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.import-summary>div{padding:10px}.import-summary span{font-size:9px}.import-summary strong{font-size:19px}.import-preview-head,.import-preview-row{grid-template-columns:72px minmax(0,1fr);padding:10px}.import-preview-head span,.import-preview-row>span:last-child{display:none}}@media (width<=560px){.performance-controls{flex-direction:column;align-items:stretch}.metric-switch{width:100%}.metric-switch button{flex:1}.currency-switch{align-self:flex-end}.performance-overview{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.performance-period{grid-column:1/-1}}.reports-filter-panel{grid-template-columns:minmax(145px,.75fr) minmax(145px,.75fr) minmax(210px,1.2fr) auto;align-items:end;gap:12px;margin-bottom:15px;padding:16px;display:grid}.reports-filter-panel label{flex-direction:column;gap:6px;min-width:0;display:flex}.reports-filter-panel label>span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.reports-filter-panel input,.reports-filter-panel select{border:1px solid var(--border);width:100%;height:42px;color:var(--ink);background:#fff;border-radius:10px;padding:0 11px}.reports-filter-panel select:disabled{cursor:default;color:var(--muted);background:#f4f7fa}.reports-filter-panel .button{min-height:42px}.reports-error{color:var(--red-600);background:var(--red-100);border:1px solid #efb8bb;border-radius:11px;margin-bottom:15px;padding:12px 14px;font-size:11px;font-weight:700}.reports-panel{padding:0;overflow:hidden}.report-tabs{border-bottom:1px solid var(--border-soft);scrollbar-width:thin;background:#f8fafc;gap:5px;padding:10px;display:flex;overflow-x:auto}.report-tabs button{min-height:38px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:9px;flex:none;padding:0 14px;font-size:11px;font-weight:800}.report-tabs button:hover{color:var(--blue-600);background:var(--blue-50)}.report-tabs button.active{color:var(--blue-600);background:#fff;border-color:#bfd3f2;box-shadow:0 4px 12px #0f448c14}.reports-toolbar{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:11px 14px;display:flex}.reports-toolbar .search-box{width:min(420px,100%)}.reports-toolbar>small{color:var(--muted);flex:none;font-size:10px}.reports-note{color:#245280;background:var(--blue-50);border:1px solid #cfe0fa;border-radius:10px;align-items:flex-start;gap:9px;margin:12px 14px 0;padding:11px 12px;font-size:10px;line-height:1.45;display:flex}.reports-note svg{flex:none}.reports-table-wrap{scrollbar-width:thin;width:100%;overflow-x:auto}.reports-table{border-collapse:collapse;width:100%;min-width:940px;font-size:10px}.reports-table th,.reports-table td{border-bottom:1px solid var(--border-soft);text-align:left;vertical-align:top;white-space:nowrap;padding:11px 12px}.reports-table th{z-index:1;color:var(--soft);letter-spacing:.06em;text-transform:uppercase;background:#f8fafc;font-size:8px;position:sticky;top:0}.reports-table tbody tr:hover{background:#f8fbff}.reports-table td:nth-last-child(-n+3),.reports-table th:nth-last-child(-n+3){text-align:right}.reports-table td:nth-child(2){font-weight:700}.reports-loading,.reports-empty{min-height:250px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:30px;display:flex}.reports-empty strong{color:var(--ink);font-size:13px}.reports-empty span{max-width:420px;font-size:11px;line-height:1.5}@media (width<=980px){.reports-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-filter-panel label:nth-child(3){grid-column:1/-1}}@media (width<=760px){.mobile-nav{scrollbar-width:none;display:flex;overflow:auto hidden}.mobile-nav button{flex:0 0 72px;min-width:72px}.reports-heading .button{width:100%}.reports-toolbar{flex-direction:column;align-items:stretch}.reports-toolbar>small{align-self:flex-end}.reports-table{min-width:860px}}@media (width<=560px){.reports-filter-panel{grid-template-columns:1fr}.reports-filter-panel label:nth-child(3){grid-column:auto}.reports-filter-panel .button{width:100%}.reports-summary{margin-right:-14px}}
