/* Operations header, navigation and customer account cards. */
#pedidosScreen .portal-topbar{height:72px;padding:0 26px;display:flex;align-items:center;flex-wrap:nowrap;gap:18px;border-bottom:1px solid #e5e7ec}
#pedidosScreen .portal-topbar__brand{width:158px;flex-shrink:0}
#pedidosScreen .portal-topbar__brand img{width:140px;max-height:38px}
#pedidosScreen .portal-topbar .dashboard-header__actions{display:flex!important;flex-direction:row;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;margin-left:auto;gap:12px;min-width:0;width:auto}
#pedidosScreen .portal-topbar .status-chip{margin:0;white-space:nowrap;min-height:32px;padding:6px 10px;border-radius:7px;font-size:10px}
#pedidosScreen .portal-topbar .sidebar-profile{border:0;border-left:1px solid #e6e7eb;border-radius:0;box-shadow:none;background:transparent;padding:0 0 0 14px!important;gap:10px!important;min-height:38px!important}
#pedidosScreen .portal-topbar .sidebar-avatar{width:32px!important;height:32px!important;border-radius:50%;overflow:hidden;background:#fff0f1;color:#b81625;display:grid;place-items:center;font-size:11px}
#pedidosScreen .portal-topbar .sidebar-avatar img{width:100%;height:100%;object-fit:cover}
#pedidosScreen .portal-topbar .sidebar-profile__copy{gap:6px!important}
#pedidosScreen .portal-topbar .sidebar-profile__copy h2{font-size:11px;font-weight:600}
#pedidosScreen .portal-topbar .sidebar-profile__copy span{font-size:10px;color:#8a8d96}
#pedidosScreen .portal-topbar #pedidosLogoutButton{min-height:32px!important;border:1px solid #dddfe5;background:#fff;padding:7px 11px!important;border-radius:7px;white-space:nowrap;font-size:10px}
#pedidosScreen .portal-nav-trigger{display:none;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #e3e5eb;background:white;border-radius:7px;cursor:pointer}
#pedidosScreen .dashboard-main{padding-top:104px}
#pedidosScreen .dashboard-header{padding-bottom:24px}
#pedidosScreen .dashboard-header__main{display:block}
#pedidosScreen .dashboard-header__title h1{font-size:34px;margin-top:8px}
#pedidosScreen .dashboard-sidebar{top:72px;height:calc(100dvh - 72px);padding:22px 12px 24px;background:linear-gradient(180deg,#fff 70%,#f8f9fb);overflow-y:auto}
#pedidosScreen .dashboard-sidebar__top{display:none}
#pedidosScreen .sidebar-section__label{font-size:9px;color:#9297a2;letter-spacing:.14em;padding:0 12px}
#pedidosScreen .sidebar-nav{gap:6px;margin-top:15px}
#pedidosSidebar :is(.nav-button,.nav-subnav__button){display:flex;align-items:center;gap:11px;min-height:43px;width:100%;padding:10px 12px;border-radius:8px;font-size:11px;text-align:left;font-weight:500;line-height:1.5;transition:background .15s,color .15s}
#pedidosSidebar .portal-nav-icon{display:block!important;flex:0 0 19px;width:19px!important;height:19px!important;opacity:.78}
#pedidosSidebar :is(.nav-button,.nav-subnav__button)>span{flex:1;min-width:0}
#pedidosSidebar :is(.nav-button--active,.nav-subnav__button--active){background:#fff0f2;color:#bc1726;box-shadow:inset 3px 0 #d91b2c}
#pedidosSidebar :is(.nav-button--active,.nav-subnav__button--active) .portal-nav-icon{opacity:1}
#pedidosSidebar .nav-subnav{margin:5px 0 8px 20px;padding-left:9px;border-left:1px solid #e6e8ed}
#pedidosSidebar .nav-subnav__button{font-size:10px;min-height:37px;padding:9px 10px;gap:8px}
#pedidosSidebar .nav-subnav__button .portal-nav-icon{flex-basis:16px;width:16px!important;height:16px!important}
#pedidosSidebar .sidebar-radar{margin-top:26px;padding:20px 10px 0}
#pedidosSidebar .sidebar-radar__header p{font-size:10px;color:#9498a1;line-height:1.7}
#pedidosSidebar .radar-item{border:1px solid #eceef2;border-radius:9px;background:white;padding:13px;font-size:11px}
#pedidosSidebar .sidebar-promo{margin:20px 7px 0;padding:15px;border-color:#ebe5e7;background:#fffafb}
#pedidosScreen .data-table--registered-customers{border-collapse:separate;border-spacing:0;width:100%;background:transparent}
#pedidosScreen .data-table--registered-customers>tbody>tr>td{border:0;background:transparent;padding:0!important}
#pedidosScreen .data-table--registered-customers>tbody>tr.registered-customer-row--summary>td{padding-top:14px!important}
#pedidosScreen .registered-customer-summary{display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(175px,1fr) minmax(120px,.8fr) minmax(135px,.8fr);align-items:start;gap:22px 24px;padding:22px 24px 0;border:1px solid #e1e5ec;border-bottom:0;border-radius:12px 12px 0 0;background:white}
#pedidosScreen .registered-customer-summary>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
#pedidosScreen .registered-customer-summary .customer-identity{display:flex;flex-direction:row;align-items:flex-start;gap:13px}
#pedidosScreen .customer-monogram{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:10px;background:#f3f4f7;color:#626c7f;font-size:12px;letter-spacing:.04em}
#pedidosScreen .customer-identity>div{display:flex;flex-direction:column;gap:6px;min-width:0}
#pedidosScreen .customer-identity .table-cell-strong{font-size:14px;font-weight:600;line-height:1.45;letter-spacing:-.015em;color:#292f3b;overflow-wrap:anywhere}
#pedidosScreen .customer-identity-ruc{font-size:10px;color:#959aa4;line-height:1.7}
#pedidosScreen .customer-identity-ruc b{color:#626a79;margin-left:6px;font-weight:500;font-variant-numeric:tabular-nums}
#pedidosScreen .registered-customer-summary .customer-field-label{font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#9298a5;line-height:1.4}
#pedidosScreen .registered-customer-summary .status-pill{display:inline-flex;width:auto;max-width:100%;min-height:26px;padding:5px 9px;border:0;border-radius:5px;line-height:1.4;font-size:10px;text-transform:none;white-space:normal}
#pedidosScreen .registered-customer-summary .status-pill--success{background:#edf8f2;color:#23714e}
#pedidosScreen .registered-customer-summary .status-pill--muted{background:#fff5e6;color:#976420}
#pedidosScreen .customer-registered>span:last-child{font-size:11px;color:#636b79;line-height:1.7}
#pedidosScreen .customer-pending{font-size:10px;color:#8b7050;width:100%}
#pedidosScreen .customer-pending summary{cursor:pointer;padding:3px 0}
#pedidosScreen .customer-pending ul{padding:10px 12px 10px 23px;border-radius:7px;margin:8px 0 0;background:#fffaf2;line-height:1.8;color:#806239}
#pedidosScreen .registered-customer-summary .registered-customer-tools{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #f0f1f5;margin-top:0}
#pedidosScreen .registered-customer-tools>span{font-size:10px;color:#979daa;margin-right:6px}
#pedidosScreen .customer-account-buttons{display:flex;flex-wrap:wrap;gap:7px}
#pedidosScreen .registered-customer-tools .button{min-height:31px;padding:7px 11px;font-size:10px;border-color:#e1e5eb;border-radius:6px;background:white;color:#5b6474;line-height:1.4}
#pedidosScreen .registered-customer-tools .button--customer-delete{margin-left:auto;color:#bb3440;border-color:transparent;background:transparent}
#pedidosScreen .registered-customer-tools .button--customer-delete:hover{border-color:#f2d6db;background:#fff5f6}
#pedidosScreen .registered-customer-disclosure{border:1px solid #e1e5ec;border-top:0;border-radius:0 0 12px 12px;background:white;overflow:hidden}
#pedidosScreen .registered-customer-disclosure>summary{padding:12px 24px;border-top:1px solid #f1f2f5;background:#fcfcfd;color:#7b8493;font-size:10px}
#pedidosScreen .registered-customer-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px 24px;background:#fafbfc}
#pedidosScreen .registered-customer-details>div{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;overflow-wrap:anywhere}
@media(min-width:1101px){#pedidosScreen .dashboard-sidebar{transform:none!important;visibility:visible!important}#pedidosScreen .dashboard-main{margin-left:224px}}
@media(max-width:1100px){#pedidosScreen .portal-nav-trigger{display:flex}#pedidosScreen .dashboard-sidebar{position:fixed;left:0;top:72px;width:268px;max-width:calc(100vw - 40px);transform:translateX(-110%);z-index:70}#pedidosScreen .dashboard-sidebar.is-open{transform:translateX(0)}#pedidosScreen .dashboard-sidebar__top{display:flex;justify-content:flex-end;margin-bottom:16px}#pedidosScreen .dashboard-sidebar__top .sidebar-brand{display:none}#pedidosScreen .dashboard-main{margin-left:0;padding:99px 22px 28px}#pedidosScreen .portal-topbar{padding:0 18px;gap:12px}#pedidosScreen .portal-topbar__brand{width:135px}#pedidosScreen .registered-customer-summary{grid-template-columns:minmax(230px,1.6fr) minmax(155px,1fr) minmax(110px,.8fr);gap:20px}#pedidosScreen .customer-registered{grid-column:2;grid-row:2}#pedidosScreen .registered-customer-summary .registered-customer-tools{grid-row:3}}
@media(max-width:900px){#pedidosScreen .portal-topbar .dashboard-header__actions>.status-chip:first-child{display:none}#pedidosScreen .portal-topbar .sidebar-profile__copy span{display:none!important}}
@media(max-width:700px){#pedidosScreen .portal-topbar #pedidosHeaderUser{display:none}#pedidosScreen .portal-topbar .sidebar-profile{border:0;padding-left:0!important}#pedidosScreen .portal-topbar__brand{width:112px}#pedidosScreen .portal-topbar__brand img{width:112px}#pedidosScreen .registered-customer-summary{grid-template-columns:1fr 1fr;padding:18px 17px 0;gap:18px}#pedidosScreen .registered-customer-summary .customer-identity{grid-column:1/-1}#pedidosScreen .customer-registered{grid-column:1/-1;grid-row:auto}#pedidosScreen .registered-customer-summary .registered-customer-tools{grid-row:auto;flex-wrap:wrap;gap:10px}#pedidosScreen .registered-customer-tools>span{display:none}#pedidosScreen .registered-customer-tools .button--customer-delete{margin-left:0}#pedidosScreen .registered-customer-details{grid-template-columns:1fr 1fr;padding:18px;gap:18px}#pedidosScreen .registered-customer-disclosure>summary{padding:12px 17px}}
@media(max-width:560px){#pedidosScreen .portal-topbar{padding:0 10px;gap:9px}#pedidosScreen .portal-topbar .sidebar-profile__copy{display:none!important}#pedidosScreen .portal-topbar .sidebar-profile{min-width:0!important;gap:7px!important}#pedidosScreen .portal-topbar .dashboard-header__actions{gap:5px}#pedidosScreen .dashboard-main{padding:94px 12px 20px}#pedidosScreen .dashboard-header__title h1{font-size:29px}#pedidosScreen .customer-status-tabs{padding:15px 12px 0;gap:7px}#pedidosScreen .customer-status-tab{padding:12px 10px}#pedidosScreen .customer-status-tab strong{font-size:20px}#pedidosScreen .registered-customer-tools .button{padding:7px 9px;font-size:9px}}
@media(min-width:1101px) and (max-width:1300px){#pedidosScreen .registered-customer-summary{grid-template-columns:minmax(220px,1.5fr) minmax(155px,1fr) minmax(115px,.8fr)}#pedidosScreen .customer-registered{grid-column:2;grid-row:2}#pedidosScreen .registered-customer-summary .registered-customer-tools{grid-row:3}}
/* Commercial dashboard: a compact, independently expandable section index. */
#pedidosSidebar .ci-nav-group__heading{display:flex;align-items:center;position:relative}
#pedidosSidebar .ci-nav-group__heading .ci-nav-main{padding-right:33px}
#pedidosSidebar .ci-nav-toggle{position:absolute;right:5px;top:7px;display:grid;place-items:center;background:transparent;color:#8a6570;border:0;border-radius:5px;padding:6px;cursor:pointer;width:29px;height:29px}
#pedidosSidebar .ci-nav-toggle:hover{background:#f7e5e9}
#pedidosSidebar .ci-nav-toggle svg{transition:transform .15s}
#pedidosSidebar .ci-nav-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
#pedidosSidebar .ci-subnav{display:flex;flex-direction:column;gap:2px;margin:7px 0 12px 19px;padding:0 0 0 9px;border-left:1px solid #e9dce0}
#pedidosSidebar .ci-subnav[hidden]{display:none!important}
#pedidosSidebar .ci-subnav .ci-subnav__button{min-height:33px;padding:7px 9px;font-size:10px;line-height:1.5;position:relative}
#pedidosSidebar .ci-subnav .ci-subnav__button--active{background:#fff0f2;color:#bc1726}
#pedidosSidebar .ci-subnav .ci-subnav__button:hover{background:#fbf4f6}
#pedidosSidebar .ci-subnav .ci-subnav__button[aria-current="page"]{background:#fff0f2;color:#a91424;font-weight:600;box-shadow:inset 2px 0 #ce2435}
#pedidosSidebar :is(.ci-nav-toggle,.ci-subnav__button):focus-visible{outline:2px solid #bd2334;outline-offset:2px}
@media(prefers-reduced-motion:reduce){#pedidosSidebar .ci-nav-toggle svg{transition:none}}
