@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400;500;600;700&display=swap";@charset "UTF-8";.portal{--portal-topbar-height: 74px;--portal-sidebar-width: 214px;--portal-sidebar-collapsed-width: 82px;min-width:0;min-height:100vh;margin-block:-48px;margin-inline:-48px;width:calc(100% + 96px);overflow-x:clip;background:#f5f7fb;color:#10182f;box-sizing:border-box}.portal__topbar{position:fixed;inset:0 0 auto;z-index:40;height:var(--portal-topbar-height);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;background:linear-gradient(135deg,#2f74ff 0%,#16b8ff 48%,#00d4b8 100%);box-shadow:0 12px 28px -22px #10182fbf}.portal__brand-group{display:flex;align-items:center;gap:16px;min-width:0;flex:0 1 auto}.portal__brand{flex:0 0 auto;min-width:0}.portal__brand img{width:138px;max-width:100%;height:auto;display:block;filter:drop-shadow(0 8px 14px rgba(16,24,47,.18))}.portal__company-brand{display:inline-flex;align-items:center;min-width:0;padding-left:16px;border-left:1px solid rgba(255,255,255,.24)}.portal__company-logo{display:block;max-width:120px;max-height:42px;width:auto;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(16,24,47,.18))}.portal__company-text{color:#fff;font-size:1.35rem;font-weight:900;letter-spacing:-.03em;text-transform:lowercase}.portal__settings{position:relative}.settings-button,.settings-menu button,.sidebar-link,.add-button,.filter-actions button,.save-button,.secondary-button,.primary-button,.field input,.field select,.field textarea{font:inherit}.settings-button{position:relative;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:0 18px;color:#2f74ff;background:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.settings-button .material-symbol{flex:0 0 auto;font-size:1.2rem;line-height:1}.settings-menu{position:absolute;right:0;top:calc(100% + 12px);min-width:168px;padding:8px;border-radius:18px;background:#fff;box-shadow:0 20px 42px -30px #10182fcc}.settings-menu button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;border:0;border-radius:12px;padding:0 12px;background:transparent;font-weight:800;cursor:pointer}.portal__sidebar{position:fixed;inset:var(--portal-topbar-height) auto 0 0;z-index:150;width:var(--portal-sidebar-width);height:calc(100vh - var(--portal-topbar-height));max-height:calc(100dvh - var(--portal-topbar-height));padding:14px 12px 24px;display:flex;flex-direction:column;gap:8px;overflow:hidden;background:#222c38;transition:width .28s ease,padding .28s ease}.portal__sidebar-nav{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:8px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin;scrollbar-color:rgba(0,212,184,.45) transparent}.portal__sidebar-nav::-webkit-scrollbar{width:6px}.portal__sidebar-nav::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(0,212,184,.45)}.sidebar-toggle-row{flex:0 0 auto;display:flex;justify-content:flex-end;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.06)}.sidebar-toggle{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:13px;color:#00d4b8;background:rgba(255,255,255,.06);cursor:pointer;transition:transform .28s ease}.sidebar-link{position:relative;min-height:46px;display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:8px;align-items:center;border-radius:14px;padding:0 8px;color:#ffffffa3;text-decoration:none;font-size:.75rem;font-weight:700;overflow:hidden;transition:grid-template-columns .28s ease,gap .28s ease,padding .28s ease}.sidebar-link--active,.sidebar-link:hover{color:#fff;background:rgba(255,255,255,.05)}.sidebar-link__icon{position:relative;width:30px;height:30px;display:grid;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2f74ff,#00d4b8)}.sidebar-link__label{min-width:0;font-size:.75rem;font-weight:700;letter-spacing:-.01em;white-space:normal;overflow-wrap:break-word;line-height:1.12}.sidebar-link__chevron{color:#00d4b8;font-size:1rem}.sidebar-link__label,.sidebar-link__chevron{opacity:1;transform:translate(0);transition:opacity .18s ease,transform .28s ease,width .28s ease}.sidebar-link__badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:999px;padding:0 5px;color:#fff;background:#e4513e;border:2px solid #222c38;font-size:.62rem;font-weight:900;line-height:1;z-index:1;pointer-events:none}.material-symbol{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;line-height:1}.portal__content{width:calc(100% - var(--portal-sidebar-width));max-width:calc(100% - var(--portal-sidebar-width));margin-left:var(--portal-sidebar-width);padding:calc(var(--portal-topbar-height) + 32px) 32px 36px 32px;min-width:0;overflow-x:clip;transition:margin-left .28s ease,width .28s ease,max-width .28s ease;box-sizing:border-box}.portal__content.advertising-page{display:flex;flex-direction:column;min-width:0;max-width:100%;box-sizing:border-box;overflow-x:hidden}.portal--sidebar-collapsed .portal__sidebar{width:var(--portal-sidebar-collapsed-width);padding-inline:14px}.portal--sidebar-collapsed .sidebar-toggle-row{justify-content:center}.portal--sidebar-collapsed .sidebar-toggle{transform:rotate(180deg)}.portal--sidebar-collapsed .sidebar-link{width:54px;min-height:54px;grid-template-columns:1fr;gap:0;justify-items:center;align-self:center;padding-inline:0;background:transparent}.portal--sidebar-collapsed .sidebar-link__icon{width:38px;height:38px}.portal--sidebar-collapsed .sidebar-link--active .sidebar-link__icon{box-shadow:0 0 0 4px #ffffff12}.portal--sidebar-collapsed .sidebar-link__label,.portal--sidebar-collapsed .sidebar-link__chevron{position:absolute;width:0;height:0;opacity:0;transform:translate(-8px);overflow:hidden;pointer-events:none}.portal--sidebar-collapsed .portal__content{width:calc(100% - var(--portal-sidebar-collapsed-width));max-width:calc(100% - var(--portal-sidebar-collapsed-width));margin-left:var(--portal-sidebar-collapsed-width)}@media (max-width: 1200px){.portal{--portal-topbar-height: 68px;--portal-sidebar-width: 196px;margin-block:-32px;margin-inline:-24px;width:calc(100% + 48px)}.portal__topbar{padding:0 18px;gap:10px}.portal__brand-group{gap:12px}.portal__brand img{width:118px}.portal__company-brand{padding-left:12px}.portal__company-logo{max-width:96px;max-height:36px}.portal__content{padding:calc(var(--portal-topbar-height) + 24px) 20px 28px}}@media (max-width: 980px){.portal{--portal-topbar-height: 64px;margin-block:0;margin-inline:0;width:100%;max-width:100%;padding-top:var(--portal-topbar-height)}.portal__topbar{padding:0 14px}.portal__brand img{width:104px}.portal__company-logo{max-width:84px;max-height:32px}.portal__sidebar,.portal--sidebar-collapsed .portal__sidebar{position:sticky;top:var(--portal-topbar-height);inset:auto;z-index:30;width:100%;max-width:100%;height:auto;max-height:none;margin:0;flex-direction:row;align-items:stretch;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;box-sizing:border-box}.portal__sidebar-nav{flex-direction:row;overflow:visible;padding-right:0}.sidebar-toggle-row{display:none}.sidebar-link,.portal--sidebar-collapsed .sidebar-link{flex:0 0 auto;width:auto;min-width:148px;min-height:44px;grid-template-columns:30px minmax(0,1fr) 14px;gap:8px;padding:0 10px;align-self:auto;justify-items:stretch}.portal--sidebar-collapsed .sidebar-link__label,.portal--sidebar-collapsed .sidebar-link__chevron{position:static;width:auto;height:auto;opacity:1;transform:none;overflow:visible;pointer-events:auto}.portal--sidebar-collapsed .sidebar-link__icon{width:30px;height:30px}.portal__content,.portal--sidebar-collapsed .portal__content{width:100%;max-width:100%;margin-left:0;padding:18px 16px 28px}}@media (max-width: 640px){.portal{--portal-topbar-height: 60px;margin-block:0;margin-inline:0;width:100%}.portal__topbar{padding:0 10px;gap:8px}.portal__brand-group{gap:8px;max-width:42%}.portal__brand img{width:92px}.portal__company-brand{padding-left:8px}.portal__company-logo{max-width:64px;max-height:28px}.portal__sidebar,.portal--sidebar-collapsed .portal__sidebar{padding:8px 10px;gap:6px}.sidebar-link,.portal--sidebar-collapsed .sidebar-link{min-width:132px;min-height:42px;font-size:.7rem}.sidebar-link__label{font-size:.7rem}.portal__content,.portal--sidebar-collapsed .portal__content{padding:14px 12px 24px}}.search-box{width:min(430px,38vw);min-height:48px;display:flex;align-items:center;gap:10px;border:1px solid rgba(47,116,255,.1);border-radius:14px;padding:0 16px;background:#fff}.portal-list-search{display:flex;align-items:center;gap:10px;width:min(100%,420px);min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(47,116,255,.08);background:#f8fafd;cursor:text}.portal-list-search .material-symbol{flex:0 0 auto;color:#667085;font-size:1.2rem}.portal-list-search input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#33415f;font:inherit}.portal-list-search input::placeholder{color:#98a2b3}.list-card-intro{display:flex;flex-direction:column;gap:0}.list-card-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:14px}.search-box input{width:100%;border:0;outline:none;background:transparent;font:inherit}.add-button,.save-button,.primary-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:0 22px;color:#fff;background:linear-gradient(135deg,#2f74ff,#00d4b8);font-weight:900;cursor:pointer}.secondary-button,.refresh-button,.detail-button,.history-button{min-height:44px;border-radius:999px;padding:0 22px;font:inherit;font-weight:900;cursor:pointer}.secondary-button{border:1px solid rgba(47,116,255,.16);color:#2f74ff;background:#fff}.refresh-button,.detail-button,.history-button{width:40px;height:40px;min-height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:12px;color:#33415f;background:#f1f5fb}.history-button--danger{color:#e4513e;background:rgba(228,81,62,.1)}.filter-actions{display:flex;align-items:center;gap:14px}.filter-actions select,.filter-actions button{min-height:44px;border:1px solid rgba(47,116,255,.1);border-radius:12px;background:#fff;font:inherit}.filter-actions select{min-width:220px;padding:0 14px;color:#33415f}.filter-actions button{width:44px;display:grid;place-items:center;cursor:pointer}.portal__content.blacklist-page,.portal__content.company-page{display:flex;flex-direction:column;gap:32px}.portal__content.blacklist-page>*,.portal__content.company-page>*{width:100%;min-width:0}app-portal-summary-grid{display:block;width:100%;max-width:100%;min-width:0}.summary-grid{display:grid;gap:18px;grid-template-columns:repeat(var(--summary-cols, 4),minmax(0,1fr));width:100%;max-width:100%;min-width:0}.list-card,.summary-grid article,.orders-card,.customers-card,.chess-sales-card,.config-card,.category-preview{border-radius:28px;background:rgba(255,255,255,.96);box-shadow:0 18px 40px -34px #10182f8c}.summary-grid article{min-width:0;padding:22px;display:grid;gap:8px;overflow-wrap:anywhere}.summary-grid .material-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#2f74ff,#00d4b8)}.summary-grid strong{font-size:2rem;letter-spacing:-.05em}.summary-grid p{margin:0;color:#607090;font-weight:800}.modal-backdrop,.result-modal-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.58);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.result-modal-backdrop{z-index:200;padding:24px;background:rgba(7,17,31,.56);animation:portalModalFadeIn .22s ease-out both}.modal-eyebrow{display:inline-flex;border-radius:999px;padding:7px 12px;color:#2f74ff;background:#eaf2ff;font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.modal-close{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:14px;color:#33415f;background:#f1f5fb;cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px}.field--wide{grid-column:span 2}.field--full{grid-column:1/-1}.field span{color:#10182f;font-size:.86rem;font-weight:900}.field input,.field select,.field textarea{width:100%;border:1px solid rgba(47,116,255,.1);border-radius:12px;background:#f8fafd;color:#10182f;font:inherit}.field input,.field select{min-height:44px;padding:0 14px}.field textarea{padding:12px 14px;resize:vertical}app-portal-product-picker-field{display:flex;flex-direction:column;gap:10px;width:100%}app-portal-product-picker-field>span{color:#10182f;font-size:.86rem;font-weight:900}.product-picker-trigger__thumb{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#eef4ff;flex-shrink:0}.product-picker-trigger__thumb img{width:100%;height:100%;object-fit:cover}.product-picker-trigger--selected{min-height:50px;padding-top:6px;padding-bottom:6px}.save-button:disabled,.secondary-button:disabled{cursor:progress;opacity:.72}.orders-table,.customers-table,.chess-sales-table{overflow-x:auto}.orders-table table,.customers-table table,.chess-sales-table table{width:100%;border-collapse:collapse}.orders-table thead,.customers-table thead,.chess-sales-table thead{background:rgba(47,116,255,.06)}.orders-table th,.customers-table th,.chess-sales-table th,.products-table th,.debtors-table th,.portal-sortable-header,.orders-table td,.customers-table td,.chess-sales-table td{padding:16px;text-align:left}.orders-table th,.customers-table th,.chess-sales-table th{color:#607090;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}.orders-table td,.customers-table td,.chess-sales-table td{border-bottom:1px solid rgba(47,116,255,.08);color:#33415f}.orders-table td strong,.customers-table td strong,.chess-sales-table td strong,.orders-table td span,.customers-table td span,.chess-sales-table td span{display:block}.orders-table td span,.customers-table td span,.chess-sales-table td span{margin-top:4px;color:#607090;font-size:.84rem}.orders-loading,.customers-loading,.chess-sales-loading,.orders-empty,.customers-empty,.chess-sales-empty{margin-top:18px;border-radius:22px;padding:34px 24px;display:grid;justify-items:center;gap:10px;background:#f8fafd;color:#607090;text-align:center}.orders-empty,.customers-empty,.chess-sales-empty{border:1px dashed rgba(96,112,144,.28);background:#f1f4f8}.orders-spinner,.customers-spinner,.chess-sales-spinner{width:54px;height:54px;border:5px solid rgba(47,116,255,.16);border-top-color:#2f74ff;border-radius:50%;animation:portalSpin .8s linear infinite}.orders-loading h3,.customers-loading h3,.chess-sales-loading h3,.orders-empty h3,.customers-empty h3,.chess-sales-empty h3,.orders-loading p,.customers-loading p,.chess-sales-loading p,.orders-empty p,.customers-empty p,.chess-sales-empty p{margin:0}.orders-loading h3,.customers-loading h3,.chess-sales-loading h3,.orders-empty h3,.customers-empty h3,.chess-sales-empty h3{color:#33415f;font-size:1.15rem}.orders-loading p,.customers-loading p,.chess-sales-loading p,.orders-empty p,.customers-empty p,.chess-sales-empty p{font-weight:700}.orders-empty>.material-symbol,.customers-empty>span,.chess-sales-empty>.material-symbol{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:#8b98aa;background:#e3e8ef;font-size:1.8rem}.orders-empty__box,.customers-empty__box{width:min(100%,520px);height:72px;margin-top:8px;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.8),rgba(255,255,255,.35)),#e7ebf1}.order-error,.customer-error,.chess-sales-error{margin:12px 0;color:#e4513e;font-weight:800}.order-status,.payment-status{display:inline-flex;border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:900}.payment-pagado{color:#0c7d6e;background:rgba(0,212,184,.12)}.payment-pendiente{color:#e4513e;background:rgba(228,81,62,.12)}.payment-parcial,.status-nuevo{color:#2f74ff;background:rgba(47,116,255,.12)}.status-preparando{color:#8a5a00;background:rgba(255,184,77,.18)}.status-en-camino{color:#0c7d6e;background:rgba(0,212,184,.12)}.status-entregado{color:#607090;background:rgba(96,112,144,.12)}.status-cancelado{color:#e4513e;background:rgba(228,81,62,.12)}.status-pendiente-aprobaci\f3n{color:#8a5a00;background:rgba(255,184,77,.18)}.review-badge{display:inline-flex;margin-top:6px;border-radius:999px;padding:4px 10px;color:#8a5a00;background:rgba(255,184,77,.18);font-size:.72rem;font-weight:900}.result-modal{width:min(420px,100%);border-radius:26px;padding:28px;background:#fff;box-shadow:0 34px 80px #10182f47;text-align:center;animation:portalModalCardIn .28s ease-out both}.result-modal__icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;color:#fff;font-weight:900}.result-modal--success .result-modal__icon{background:#00a884;animation:portalSuccessPulse .5s ease-out .12s both}.result-modal--error .result-modal__icon{background:#d92d20}.result-modal--confirm .result-modal__icon{background:#2f74ff}.result-modal__icon i{width:24px;height:14px;border-left:4px solid #fff;border-bottom:4px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;animation:portalCheckDraw .36s cubic-bezier(.2,.9,.2,1.35) .22s forwards}.result-modal__icon b{font-size:28px;line-height:1}.result-modal h2{max-width:340px;margin:16px auto 8px;color:#10182f;font-size:clamp(1.6rem,4vw,2rem);line-height:1.12;letter-spacing:-.035em}.result-modal p{max-width:340px;margin:0 auto;color:#667085}.result-modal button{min-height:44px;border:0;border-radius:14px;margin-top:22px;padding:0 20px;background:linear-gradient(135deg,#2f74ff,#00d4b8);color:#fff;cursor:pointer;font:inherit;font-weight:900}.result-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.result-modal__actions button{margin-top:0}.result-modal button.result-modal__secondary{background:#fff;color:#2f74ff}.result-modal button.result-modal__danger{background:#2f74ff}.result-modal button:disabled{cursor:progress;opacity:.7}.customer-actions{display:flex;gap:8px}@keyframes portalModalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes portalModalCardIn{0%{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes portalSuccessPulse{0%{transform:scale(.82)}60%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes portalCheckDraw{0%{opacity:0;transform:rotate(-45deg) scale(0)}to{opacity:1;transform:rotate(-45deg) scale(1)}}@keyframes portalSpin{to{transform:rotate(360deg)}}@media (max-width: 980px){.search-box,.portal-list-search{width:100%}.summary-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-grid strong{font-size:1.55rem}.summary-grid article{padding:18px}.modal-backdrop{padding:16px}}@media (max-width: 640px){.summary-grid{grid-template-columns:1fr}.form-grid,.field--wide{grid-template-columns:1fr;grid-column:span 1}.summary-grid strong{font-size:1.4rem}.secondary-button,.save-button{width:100%}}.chess-sales-page{display:flex;flex-direction:column;gap:32px}.chess-sales-page app-portal-chess-sales-page,.chess-sales-page app-portal-chess-sales-routes-page{display:contents}.chess-sales-page .summary-grid{gap:22px}.chess-sales-summary{display:block}.chess-sales-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.chess-sales-header__badge{display:inline-flex;border-radius:999px;padding:7px 12px;margin-bottom:12px;color:#2f74ff;background:#eaf2ff;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.chess-sales-header h1{margin:0;font-size:clamp(1.8rem,3vw,2.65rem);letter-spacing:-.05em}.chess-sales-header .portal-page-header__description{margin:8px 0 0;max-width:640px;color:#607090;line-height:1.5}.chess-sales-header__actions,.chess-sales-filters__actions{display:flex;align-items:center;gap:12px}.chess-sales-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:16px;align-items:end;padding:20px 22px;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 40px -34px #10182f8c}.chess-sales-filters label{display:flex;flex-direction:column;gap:8px}.chess-sales-filters label span{color:#10182f;font-size:.86rem;font-weight:900}.chess-sales-filters input[type=date]{min-height:44px;border:1px solid rgba(47,116,255,.1);border-radius:12px;padding:0 14px;background:#f8fafd;font:inherit}.chess-sales-filters__checkbox{flex-direction:row!important;align-items:center;gap:10px!important;min-height:44px}.chess-sales-filters--routes{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.chess-sales-filters--inline{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:14px;padding:0;border-radius:0;background:transparent;box-shadow:none}.chess-sales-filters--inline label{flex-direction:row;align-items:center;gap:8px}.chess-sales-filters--inline label span{white-space:nowrap}.chess-sales-filters--inline input[type=date]{min-width:150px}.chess-sales-filters--inline .chess-sales-filters__actions{display:flex;align-items:center;gap:12px}.chess-sales-filters--inline .primary-button,.chess-sales-filters--inline .secondary-button{min-height:44px}.chess-sales-card{margin-top:32px;padding:28px}.chess-sales-card__header{display:flex;flex-direction:column;gap:14px;margin-bottom:22px}.chess-sales-card__top-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.chess-sales-card__intro{flex:1 1 auto;min-width:0}.chess-sales-card__intro h2{margin:0;font-size:1.35rem}.chess-sales-card__intro p{margin:5px 0 0;color:#607090}.chess-sales-card__search{flex:0 0 auto;width:min(420px,42vw);min-width:260px;margin-left:auto}.chess-sales-card__search app-portal-list-search,.chess-sales-card__search .portal-list-search{width:100%;max-width:none}.chess-sales-card__filters-row{display:flex;align-items:center;justify-content:flex-end;width:100%;gap:16px;flex-wrap:wrap}.chess-sales-date-filters{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;width:100%;margin-left:auto}.chess-sales-date-field{display:inline-flex;align-items:center;gap:8px;color:#10182f;font-size:.86rem;font-weight:900}.chess-sales-date-field span{white-space:nowrap}.chess-sales-date-field input[type=date]{min-width:150px;min-height:44px;border:1px solid rgba(47,116,255,.1);border-radius:12px;padding:0 14px;background:#f8fafd;font:inherit}.chess-sales-date-filters .primary-button,.chess-sales-date-filters .secondary-button{min-height:44px;white-space:nowrap}.chess-sales-date-filters select{min-width:220px;min-height:44px;padding:0 14px;border:1px solid rgba(47,116,255,.1);border-radius:12px;background:#fff;color:#33415f;font:inherit}.chess-sales-date-filters__refresh{width:44px;min-height:44px;display:grid;place-items:center;border:1px solid rgba(47,116,255,.1);border-radius:12px;background:#fff;color:#33415f;cursor:pointer}.chess-sales-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.chess-sales-card h2{margin:0;font-size:1.35rem}.chess-sales-card p{margin:5px 0 0;color:#607090}.chess-sales-card>.material-symbol{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;margin-bottom:14px;color:#2f74ff;background:#eaf2ff;font-size:1.8rem}.chess-sales-table table{min-width:1080px}.sale-row--cancelled{opacity:.72}.sale-status{display:inline-flex;border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:900}.sale-status--active{color:#0c7d6e;background:rgba(0,212,184,.12)}.sale-status--cancelled{color:#e4513e;background:rgba(228,81,62,.12)}.sale-detail-modal{width:min(920px,100%);max-height:min(88vh,900px);overflow:auto;border-radius:26px;background:#fff;box-shadow:0 28px 70px -28px #0000008c}.sale-detail-modal header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px 18px;border-bottom:1px solid rgba(47,116,255,.1)}.sale-detail-modal h2{margin:12px 0 6px;font-size:1.55rem}.sale-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px 28px 20px}.sale-detail-grid article{padding:18px;border:1px solid rgba(47,116,255,.08);border-radius:18px;background:#f8fafd}.sale-detail-grid span{display:block;color:#607090;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sale-detail-grid strong{display:block;margin-top:8px;color:#10182f;font-size:1.05rem}.sale-detail-grid p{margin:8px 0 0;color:#607090;line-height:1.45}.route-customers-table{padding:4px 28px 28px;overflow:auto}.route-customers-table h3{margin:0 0 16px;font-size:1.08rem;color:#10182f}.route-customers-table table{width:100%;border-collapse:collapse}.route-customers-table th,.route-customers-table td{padding:12px 14px;border-bottom:1px solid rgba(47,116,255,.08);text-align:left}.route-customers-table th{color:#607090;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}@media (max-width: 980px){.chess-sales-header,.chess-sales-card>header,.chess-sales-card__top-row{flex-direction:column;align-items:stretch}.chess-sales-card__search{flex:1 1 auto;min-width:0}.chess-sales-card__filters-row,.chess-sales-date-filters{justify-content:flex-end}.chess-sales-filters{grid-template-columns:1fr 1fr}.chess-sales-filters__actions{grid-column:1/-1}.sale-detail-grid{grid-template-columns:1fr}}@media (max-width: 640px){.chess-sales-filters,.chess-sales-filters--routes{grid-template-columns:1fr}}.chess-panel,.chess-sync-panel,.sync-page{display:grid;gap:24px}.sync-page__header{border-radius:30px;padding:28px;background:#fff;box-shadow:0 22px 54px -42px #10182fe6}.sync-page__header span{color:#2f74ff;font-size:.78rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.sync-page__header h1,.sync-page__header p{margin:0}.sync-page__header h1{margin-top:8px;color:#10182f;font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.05em}.sync-page__header p{margin-top:8px;color:#667085;font-weight:800}.account-card{border-radius:26px;padding:24px;background:#fff;box-shadow:0 22px 54px -42px #10182fe6}.chess-panel__intro h2,.chess-sync-panel__intro h2{margin:14px 0 8px;font-size:1.6rem;letter-spacing:-.04em}.chess-panel__intro p,.chess-sync-panel__intro p{margin:0;color:#607090;line-height:1.6;font-weight:700}.chess-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.config-card--full{max-width:720px}.chess-panel .config-card,.chess-sync-panel .config-card{border-radius:22px;padding:24px;background:#f8fafd;border:1px solid rgba(47,116,255,.12)}.chess-panel .config-card h3,.chess-sync-panel .config-card h3,.chess-panel .config-card p,.chess-sync-panel .config-card p{margin:0}.chess-panel .config-card p,.chess-sync-panel .config-card p{margin-top:6px;color:#667085;font-weight:800}.chess-panel form{display:grid;gap:14px;margin-top:22px}.chess-panel label{display:grid;gap:8px;color:#10182f;font-weight:900}.chess-panel input{width:100%;border:1px solid #dfe6ef;border-radius:16px;padding:12px 14px;color:#10182f;font:inherit;background:#fff}.status-card{display:grid;gap:6px;padding:16px;border-radius:18px;background:#fff;border:1px solid rgba(47,116,255,.08)}.status-card strong,.status-card p{margin:0;color:#10182f}.status-card p{font-weight:900}.status-card small{color:#667085;font-weight:700}.status-card__error{color:#b42318}.actions-row,.sync-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.sync-note,.field-hint{color:#667085;font-weight:700}.sync-note{margin-top:18px}.field-hint{font-size:.92rem}.sync-all-row{display:grid;gap:10px;margin-bottom:18px}.chess-sync-panel .sync-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.chess-sync-panel .config-card .material-symbol{font-size:2rem;color:#2f74ff}.chess-sync-panel .config-card h3{margin:12px 0 6px}@media (max-width: 960px){.chess-layout,.chess-sync-panel .sync-actions{grid-template-columns:1fr}.chess-panel .primary-button,.chess-panel .secondary-button,.chess-sync-panel .primary-button,.chess-sync-panel .secondary-button{width:100%}}.product-rules-header h1{margin:0;font-size:clamp(1.9rem,3vw,2.8rem);letter-spacing:-.05em}.product-rules-header p{margin:8px 0 0;color:#2f74ff;font-weight:900}app-portal-summary-grid{display:block}.product-rules-layout{display:grid;grid-template-columns:minmax(320px,410px) minmax(0,1fr);gap:24px;align-items:start;min-width:0}app-portal-product-rules-layout,app-portal-product-rules-config-card,app-portal-product-rules-list-panel{display:block;min-width:0}.product-rules-layout>*{min-width:0}.product-rules-config{padding:28px}.product-rules-config h2{margin:0 0 8px;font-size:1.35rem}.product-rules-config>p{margin:0;color:#607090}.product-rules-form{display:grid;gap:16px;margin-top:18px}.product-rules-form--grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}.form-actions{display:flex;justify-content:flex-end;gap:12px}.product-rules-form--grid .form-actions,.product-rules-form--grid .form-error,.product-rules-form--grid app-portal-product-rules-form-actions{grid-column:1/-1}.product-rules-form--grid app-portal-product-rules-form-actions{display:block;width:100%}app-portal-product-rules-form-actions .form-actions{display:flex;justify-content:flex-end;gap:12px;width:100%}.form-error{margin:0;color:#e4513e;font-weight:800}.list-card,.category-preview{padding:28px;min-width:0;overflow:hidden}.list-card>header,.category-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.list-card h2,.category-preview h2{margin:0 0 8px;font-size:1.35rem}.list-card p,.category-preview p{margin:0;color:#607090}.refresh-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(47,116,255,.1);border-radius:14px;background:#fff;cursor:pointer}.status-pill{display:inline-flex;border-radius:999px;padding:8px 12px;color:#0c7d6e;background:rgba(0,212,184,.12);font-size:.82rem;font-weight:900}.status-pill--paused{color:#2f74ff;background:rgba(47,116,255,.12)}.row-actions{display:flex;gap:8px}.row-actions button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:12px;color:#33415f;background:#eef3fb;cursor:pointer}.row-actions__delete{color:#e4513e!important;background:rgba(228,81,62,.1)!important}@media (max-width: 1100px){.product-rules-layout{grid-template-columns:1fr}}@media (max-width: 980px){.product-rules-form--grid{grid-template-columns:1fr}}@media (max-width: 640px){.product-rules-config,.list-card,.category-preview{padding:22px}.form-actions{flex-direction:column}.secondary-button,.save-button,.add-button{width:100%}}input.ng-invalid.ng-touched,select.ng-invalid.ng-touched,textarea.ng-invalid.ng-touched{border-color:#d92d20!important;box-shadow:0 0 0 3px #d92d2024!important}label:has(>input.ng-invalid.ng-touched)>span:first-child,label:has(>select.ng-invalid.ng-touched)>span:first-child,label:has(>textarea.ng-invalid.ng-touched)>span:first-child,label:has(>.field__control>input.ng-invalid.ng-touched)>span:first-child,.field:has(>input.ng-invalid.ng-touched)>span:first-child,.field:has(>select.ng-invalid.ng-touched)>span:first-child,.field:has(>textarea.ng-invalid.ng-touched)>span:first-child,.field:has(>.field__control>input.ng-invalid.ng-touched)>span:first-child,.field:has(>.field__percent>input.ng-invalid.ng-touched)>span:first-child{color:#d92d20}.field--error>span:first-child,label.field--error>span:first-child{color:#d92d20}.field--error input,.field--error select,.field--error textarea,label.field--error input,label.field--error select,label.field--error textarea{border-color:#d92d20!important;box-shadow:0 0 0 3px #d92d2024!important}.form-validation-summary{margin:0;color:#d92d20;font-size:.875rem;font-weight:800;line-height:1.45}:root{--color-primary: #2552ff;--color-primary-dark: #1c3fcc;--color-secondary: #00d4b8;--color-surface: #ffffff;--color-surface-alt: #f4f6fb;--color-border: #d9dfef;--color-text: #1a1d29;--color-muted: #5f6b8a;--radius-lg: 20px;--shadow-lg: 0 32px 60px -35px rgba(24, 39, 75, .45)}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:Manrope,sans-serif;background:linear-gradient(145deg,#eef2ff,#f5faff 55%,#e4f5ff);color:var(--color-text);min-height:100vh;max-width:100%;overflow-x:clip}body{display:flex;justify-content:center;align-items:flex-start;padding:48px}app-root,app-portal-layout,app-portal-shell{display:block;width:100%;max-width:100%;min-width:0}.product-picker-trigger{width:100%;min-height:46px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(47,116,255,.1);border-radius:14px;padding:0 14px;background:#f8fafd;color:#10182f;font:inherit;text-align:left;cursor:pointer}.product-picker-trigger .material-symbol{color:#2f74ff}.product-picker-trigger strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}.product-picker-trigger small{color:#607090;font-weight:900}.product-picker-trigger--empty strong{color:#607090;font-weight:800}.product-picker-backdrop{position:fixed;inset:0;z-index:220;display:grid;place-items:start center;padding:78px 22px 24px;background:rgba(7,17,31,.56);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overscroll-behavior:contain;animation:productPickerFadeIn .22s ease-out both}.product-picker-modal{width:min(900px,100%);max-height:calc(100vh - 112px);display:flex;flex-direction:column;border-radius:24px;background:#fff;box-shadow:0 34px 80px #10182f52;overflow:hidden;overscroll-behavior:contain;animation:productPickerCardIn .26s cubic-bezier(.2,.8,.2,1) both}.product-picker-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 12px}.product-picker-modal__header small{display:block;color:#f28a2f;font-weight:900;text-transform:uppercase;font-size:.72rem;letter-spacing:.05em}.product-picker-modal__header h2{margin:3px 0 0;color:#10182f;font-size:1.2rem;letter-spacing:-.025em}.product-picker-modal__header button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:12px;background:#f4f7fb;color:#607090;cursor:pointer}.product-picker-search{display:flex;align-items:center;gap:10px;margin:0 24px 14px;padding:0 14px;border-radius:16px;background:#f4f6fa;color:#607090}.product-picker-search input{width:100%;min-height:46px;border:0;outline:0;background:transparent;color:#10182f;font:inherit;font-weight:800}.product-picker-search input::placeholder{color:#8a94aa}.product-picker-categories{display:flex;gap:10px;overflow-x:auto;padding:0 24px 16px;scrollbar-width:thin}.product-picker-categories button{flex:0 0 auto;min-height:36px;border:0;border-radius:999px;padding:0 14px;background:#fff2e8;color:#b6571f;font:inherit;font-weight:900;cursor:pointer}.product-picker-categories__button--active{color:#fff!important;background:linear-gradient(135deg,#2f74ff,#00d4b8)!important}.product-picker-results{flex:1;min-height:0;display:grid;overflow:auto;border-top:1px solid rgba(47,116,255,.08);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.product-picker-result{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;border:0;border-bottom:1px solid rgba(47,116,255,.08);padding:13px 24px;background:#fff;color:#10182f;font:inherit;text-align:left;cursor:pointer}.product-picker-result:hover{background:#fff6ed}.product-picker-result img,.product-picker-result__placeholder{width:54px;height:54px;border-radius:14px}.product-picker-result img{object-fit:cover;background:#f4f7fb}.product-picker-result__placeholder{display:grid;place-items:center;background:#eef4ff;color:#2f74ff}.product-picker-result strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}.product-picker-result small{display:block;margin-top:4px;color:#607090;font-size:.84rem;font-weight:800}.product-picker-result em{color:#10182f;font-style:normal;font-weight:900}.product-picker-empty{display:grid;justify-items:center;gap:8px;padding:42px 24px 48px;text-align:center;color:#607090}.product-picker-empty .material-symbol{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#eef4ff;color:#2f74ff}.product-picker-empty strong{color:#10182f;font-size:1.1rem}.product-picker-empty p{margin:0}@keyframes productPickerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes productPickerCardIn{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width: 640px){.product-picker-backdrop{padding:58px 12px 12px}.product-picker-modal{max-height:calc(100vh - 70px);border-radius:20px}.product-picker-result{grid-template-columns:46px minmax(0,1fr);padding:12px 16px}.product-picker-result img,.product-picker-result__placeholder{width:46px;height:46px}.product-picker-result em{grid-column:2}.product-picker-trigger{grid-template-columns:auto minmax(0,1fr)}.product-picker-trigger small{grid-column:2}}.portal__topbar-actions,.portal__topbar-session-solo{display:flex;align-items:center;justify-content:flex-end;flex:1 1 auto;min-width:0;gap:12px}.portal__topbar-session-solo{margin-left:auto}.topbar-action__label{min-width:0}.portal__session{max-width:min(240px,28vw);min-height:44px;display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;border-radius:999px;padding:0 14px 0 12px;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.34);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.portal__session--employee{background:rgba(16,24,47,.22);border-color:#ffffff73}.portal__session .material-symbol{flex:0 0 auto;font-family:Material Symbols Outlined;font-size:1.2rem}.portal__session-text{min-width:0;display:flex;flex-direction:column;line-height:1.1}.portal__session-text small{font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.85}.portal__session-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:900}.app-customize-button,.app-sync-button{position:relative;min-height:44px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;border-radius:999px;padding:0 18px;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.34);font-size:.92rem;font-weight:900;text-decoration:none;white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-customize-button .material-symbol,.app-sync-button .material-symbol{flex:0 0 auto;font-family:Material Symbols Outlined;font-size:1.2rem;line-height:1}.app-messages-button{position:relative;overflow:visible}.app-messages-button__icon{position:relative;display:inline-grid;place-items:center}.app-messages-button__badge{position:absolute;top:-9px;right:-11px;min-width:18px;height:18px;display:inline-grid;place-items:center;border-radius:999px;padding:0 5px;color:#fff;background:#e4513e;border:2px solid #1d2733;font-size:.62rem;font-weight:900;line-height:1;pointer-events:none;z-index:2;box-shadow:0 2px 6px #00000040}.app-sync-button--active .app-messages-button__badge,.app-messages-button.app-sync-button--active .app-messages-button__badge{border-color:#fff}.app-sync-button--active,.app-customize-button--active{color:#2f74ff;background:#fff;border-color:#fff}@media (max-width: 1200px){body{padding:32px 24px}.portal__topbar-actions,.portal__topbar-session-solo{gap:8px}.portal__session{max-width:min(180px,22vw);padding:0 12px 0 10px}.app-customize-button,.app-sync-button,.settings-button{min-height:40px;padding:0 14px;font-size:.84rem}}@media (max-width: 980px){body{padding:0}.portal__topbar-actions,.portal__topbar-session-solo{gap:6px}.portal__session{max-width:min(140px,26vw);min-height:40px;padding:0 10px 0 8px}.portal__session-text small{display:none}.app-customize-button,.app-sync-button,.settings-button{width:40px;min-height:40px;padding:0;gap:0}.app-customize-button .topbar-action__label,.app-sync-button .topbar-action__label,.settings-button .topbar-action__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-messages-button{overflow:visible}}@media (max-width: 640px){.portal__topbar-actions,.portal__topbar-session-solo{gap:4px}.portal__session{max-width:none;width:36px;min-height:36px;padding:0;justify-content:center}.portal__session-text{display:none}.app-customize-button,.app-sync-button,.settings-button{width:36px;min-height:36px}.app-customize-button .material-symbol,.app-sync-button .material-symbol,.settings-button .material-symbol,.portal__session .material-symbol{font-size:1.1rem}.app-messages-button__badge{top:-7px;right:-8px;min-width:16px;height:16px;font-size:.58rem}}
