/* Print Graphic Pro 3.0.9 — Mobile-first visual layer. No business-state changes. */
:root{--pgv-blue:#0057ff;--pgv-yellow:#ffc400;--pgv-ink:#18243b;--pgv-muted:#6b778e;--pgv-line:#e1e8f3;--pgv-bg:#f5f8ff}
main.page:has(.pgv-home)>.page-head{display:none}
.pgv-home{width:min(100%,1200px);margin-inline:auto;display:grid;gap:17px;color:var(--pgv-ink);padding-bottom:18px;min-width:0}
.pgv-home *,.pgv-catalog-browse *{box-sizing:border-box}
.pgv-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 21px;border-radius:20px;color:#fff;background:linear-gradient(125deg,#0057ff 0%,#0245c7 78%,#092b81 100%);position:relative;overflow:hidden}
.pgv-hero:before{content:'';position:absolute;inset:auto -30px -75px auto;width:165px;height:130px;border-radius:100px;background:var(--pgv-yellow);opacity:.94;transform:rotate(-18deg)}
.pgv-hero-copy,.pgv-hero-new{position:relative;z-index:1}.pgv-hero .pgv-overline{display:block;font-size:10px;letter-spacing:.08em;opacity:.82;font-weight:850;direction:ltr;text-align:right}
.pgv-hero h2{font-size:clamp(19px,2.3vw,26px);line-height:1.45;color:#fff;margin:3px 0}.pgv-hero p{font-size:12px;color:#e8f1ff;margin:3px 0 0}
.pgv-hero-new{min-width:90px;display:flex;align-items:center;gap:6px;justify-content:center;text-decoration:none!important;border-radius:12px;padding:11px 12px;font-size:12px;color:#133779!important;font-weight:900;background:#fff;box-shadow:0 4px 15px #002d9540;white-space:nowrap}
.pgv-hero-new .ui-icon{height:17px;width:17px}
.pgv-home-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--pgv-line);border-radius:15px;padding:8px 11px;margin:0;box-shadow:0 7px 24px #243f7b0b}
.pgv-home-search>.ui-icon{height:19px;width:19px;color:var(--pgv-blue);flex-shrink:0}.pgv-home-search input{flex:1;min-width:0;width:auto!important;border:0!important;box-shadow:none!important;background:transparent!important;outline-offset:2px!important;font-size:13px!important;padding:8px 0!important}
.pgv-home-search button{background:#eef4ff!important;color:#0956c5!important;min-height:34px;border:0!important;padding:6px 12px!important;font-size:12px!important;border-radius:9px!important}
.pgv-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-radius:17px;background:#fff;border:1px solid var(--pgv-line);padding:11px 3px;box-shadow:0 6px 20px #233c6609}
.pgv-metric{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none!important;color:var(--pgv-ink)!important;padding:3px 4px;border-left:1px solid #e8edf7}
.pgv-metric:last-child{border-left:0}.pgv-metric-icon{width:26px;height:26px;display:grid;place-items:center;color:var(--pgv-blue)}.pgv-metric-icon .ui-icon{width:21px;height:21px}.pgv-purple{color:#7354dd}.pgv-green{color:#14a26f}.pgv-amber{color:#df9b00}
.pgv-metric-label{font-size:11px;line-height:1.4;color:#56677f;text-align:center;font-weight:750}.pgv-metric strong{font-size:clamp(17px,2.8vw,24px);line-height:1.15;color:#1555cf;font-variant-numeric:tabular-nums}
.pgv-home-section{min-width:0;display:grid;gap:10px}.pgv-section-title{display:flex;align-items:center;gap:8px;min-height:29px}.pgv-section-title h3{margin:0;font-size:17px;line-height:1.4;color:var(--pgv-ink);font-weight:850}.pgv-section-title .pgv-view-all{margin-inline-start:auto;color:#0057ff;font-size:12px;text-decoration:none;font-weight:750}
.pgv-help{flex-shrink:0;border:1.5px solid #8190a9!important;color:#56657f!important;background:#fff!important;border-radius:50%!important;min-width:19px!important;width:19px!important;height:19px!important;min-height:19px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-family:Arial,sans-serif!important;font-size:12px!important;line-height:1!important;font-weight:850!important;box-shadow:none!important;cursor:pointer}
.pgv-help:focus-visible,.pgv-cat-chip:focus-visible,.pgv-shortcut:focus-visible,.pgv-product-actions a:focus-visible{outline:3px solid var(--pgv-yellow)!important;outline-offset:3px}
.pgv-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}
.pgv-shortcut{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-width:0;min-height:73px;padding:12px;border-radius:15px;border:1px solid #dce7f520;text-decoration:none!important;box-shadow:0 4px 12px #29447c0a;color:#17304d!important;transition:transform .13s,box-shadow .13s}
.pgv-shortcut:hover{box-shadow:0 6px 18px #1d3c7e1b;transform:translateY(-1px)}.pgv-shortcut-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:11px;background:#ffffffa6;color:var(--pgv-blue)}.pgv-shortcut-icon .ui-icon{width:23px;height:23px}.pgv-shortcut b{font-size:14px;font-weight:850;line-height:1.35;overflow-wrap:anywhere}
.pgv-tint-blue{background:#dfedff}.pgv-tint-green{background:#dff7eb}.pgv-tint-peach{background:#fff0e4}.pgv-tint-purple{background:#ebe5ff}.pgv-tint-violet{background:#f0eaff}.pgv-tint-sky{background:#e0f2ff}.pgv-tint-mint{background:#dff8f1}.pgv-tint-sand{background:#fff3d9}
.pgv-tint-green .pgv-shortcut-icon{color:#11965e}.pgv-tint-purple .pgv-shortcut-icon,.pgv-tint-violet .pgv-shortcut-icon{color:#7153ce}.pgv-tint-peach .pgv-shortcut-icon{color:#e38323}.pgv-tint-mint .pgv-shortcut-icon{color:#14a77f}.pgv-tint-sand .pgv-shortcut-icon{color:#ca8d00}
.pgv-feed{display:grid;gap:0;overflow:hidden;border:1px solid var(--pgv-line);border-radius:16px;background:#fff;box-shadow:0 4px 18px #29447c0a}
.pgv-feed-row{display:flex;gap:10px;align-items:center;min-width:0;padding:10px 13px;border-bottom:1px solid #eef1f7;text-decoration:none!important;color:var(--pgv-ink)!important;min-height:67px}.pgv-feed-row:last-child{border-bottom:0}.pgv-feed-row:hover{background:#f7faff}
.pgv-feed-icon{width:44px;height:44px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;color:var(--pgv-blue);background:#e9f2ff}.pgv-feed-icon .ui-icon{width:21px;height:21px}.pgv-alert-icon{color:#d38f00;background:#fff4dd}
.pgv-feed-main{display:grid;min-width:0;flex:1;gap:3px}.pgv-feed-main strong{font-size:13px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pgv-feed-main small{font-size:11px;color:var(--pgv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.pgv-feed-aside{display:grid;justify-items:end;gap:4px;flex-shrink:0;max-width:38%}.pgv-feed-aside small{font-size:11px;color:#5f6f86;white-space:nowrap}.pgv-state{border-radius:8px;background:#edf4ff;padding:4px 7px;font-size:10px;color:#1454a6;font-weight:800;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pgv-arrow{color:#9aa8b8;font-size:18px}.pgv-new-dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#ffb600}
.pgv-empty{margin:0;padding:19px 14px;color:var(--pgv-muted);font-size:13px}
.pgv-finance-fold{border:1px solid var(--pgv-line);border-radius:16px;background:#fff;overflow:hidden}.pgv-finance-fold>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:850;padding:15px 16px;font-size:13px}.pgv-finance-fold>summary>span{font-size:11px;color:var(--pgv-muted);font-weight:550}.pgv-finance-fold>summary::-webkit-details-marker{display:none}
.pgv-finance-grid{border-top:1px solid var(--pgv-line);padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.pgv-finance-grid>div{display:grid;gap:5px;background:#f6f9ff;border-radius:10px;padding:10px;min-width:0}.pgv-finance-grid small{font-size:10px;color:var(--pgv-muted)}.pgv-finance-grid strong{font-size:13px;overflow-wrap:anywhere;color:var(--pgv-ink)}
/* Product browser — visual product cards, actual catalog records and photos only. */
.pgv-catalog-browse{display:grid;gap:13px;margin:12px 0 20px;min-width:0}.pgv-catalog-toolbar{display:flex;align-items:center;gap:9px}.pgv-catalog-search{flex:1;display:flex;align-items:center;gap:8px;border:1px solid var(--pgv-line);border-radius:13px;background:#fff;padding:6px 11px;min-width:0}.pgv-catalog-search>.pgv-search-icon{font-size:24px;color:#0057ff;line-height:1}.pgv-catalog-search input{min-height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:5px 0!important;width:100%;font-size:13px!important;outline-offset:2px}
.pgv-cat-tabs{display:flex;gap:7px;overflow:auto;scrollbar-width:thin;padding:3px 0 9px;max-width:100%;scroll-snap-type:x proximity}.pgv-cat-chip{flex-shrink:0;white-space:nowrap;border:1px solid #e0e7f2!important;background:#fff!important;color:#38506d!important;border-radius:99px!important;min-height:38px!important;font-size:12px!important;font-weight:750!important;padding:7px 14px!important;scroll-snap-align:start}.pgv-cat-chip.is-active{background:#0057ff!important;border-color:#0057ff!important;color:#fff!important}
.pgv-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;min-width:0}.pgv-product-card{background:#fff;border:1px solid #e2eaf5;border-radius:15px;overflow:hidden;box-shadow:0 4px 15px #203c7709;min-width:0;display:flex;flex-direction:column}.pgv-product-card[hidden]{display:none!important}.pgv-product-card.is-inactive{opacity:.65}
.pgv-product-photo{aspect-ratio:1.28;background:#f2f6fd;display:grid;place-items:center;width:100%;overflow:hidden;text-decoration:none}.pgv-product-photo img{width:100%;height:100%;display:block;object-fit:contain;padding:7px;transition:transform .2s}.pgv-product-photo:hover img{transform:scale(1.035)}.pgv-photo-placeholder{color:#8198bb}.pgv-photo-placeholder .ui-icon{width:37px;height:37px}
.pgv-product-content{padding:10px;display:grid;gap:4px;flex:1;min-width:0}.pgv-product-content strong{font-size:13px;line-height:1.45;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pgv-product-content small{font-size:11px;color:var(--pgv-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pgv-product-status{font-size:10px;font-weight:700;color:#a16323}.pgv-product-status.is-live{color:#15835a}
.pgv-product-actions{display:flex;gap:6px;margin-top:auto;padding-top:4px}.pgv-product-actions a{display:grid;place-items:center;flex:1;text-decoration:none!important;background:#f0f5ff;border:1px solid #dfe8f7;border-radius:8px;padding:8px 3px;font-size:11px;font-weight:800;color:#0057ff!important;min-height:34px}
.pgv-product-actions a:first-child{background:#0057ff;color:#fff!important;border-color:#0057ff}
.pgv-catalog-manage{margin:7px 0 12px;background:#fff;border:1px solid var(--pgv-line);border-radius:15px;padding:0;min-width:0}.pgv-catalog-manage>summary{padding:15px;display:flex;justify-content:space-between;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:13px;font-weight:800}.pgv-catalog-manage>summary span{font-size:10px;font-weight:550;color:var(--pgv-muted)}.pgv-catalog-manage>summary::-webkit-details-marker{display:none}.pgv-catalog-manage[open]>summary{border-bottom:1px solid var(--pgv-line);background:#f5f9ff}
.pgv-catalog-manage>.catalog-layout{margin:10px!important;padding:0!important}
/* New order: visual hierarchy, shorter product selection and horizontally swipeable choices. */
.order-wizard .branch-grid.pg-compact-branches{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:9px!important;padding:5px 3px 12px;max-width:100%;scrollbar-width:thin}
.order-wizard .branch-grid.pg-compact-branches>.branch-card{flex:0 0 clamp(125px,29vw,170px)!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;min-height:138px!important;padding:9px!important;border-radius:14px!important;text-align:center!important;scroll-snap-align:start}
.order-wizard .branch-grid.pg-compact-branches>.branch-card img,.order-wizard .branch-grid.pg-compact-branches>.branch-card>.catalog-placeholder{width:100%!important;height:84px!important;object-fit:contain!important;border-radius:10px!important;background:#f5f8fe}
.order-wizard .branch-grid.pg-compact-branches>.branch-card span{min-width:0!important;width:100%}.order-wizard .branch-grid.pg-compact-branches>.branch-card b{font-size:12px!important;display:block!important;line-height:1.4!important}.order-wizard .branch-grid.pg-compact-branches>.branch-card small,.order-wizard .branch-grid.pg-compact-branches>.branch-card i{display:none!important}
.order-wizard #productGrid.order-product-grid,.order-wizard .pg-catalog-part-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}
.order-wizard .order-product-grid>.order-product,.order-wizard .pg-catalog-part-grid>.order-product{display:flex!important;flex-direction:column!important;align-items:stretch!important;text-align:right!important;overflow:hidden!important;min-height:unset!important;min-width:0!important;padding:8px!important;gap:7px!important;border-radius:14px!important}
.order-wizard .order-product-grid>.order-product img,.order-wizard .pg-catalog-part-grid>.order-product img,.order-wizard .order-product-grid>.order-product>.product-placeholder,.order-wizard .pg-catalog-part-grid>.order-product>.product-placeholder{width:100%!important;height:122px!important;object-fit:contain!important;border-radius:9px!important;background:#f4f7fd!important;flex:none!important}
.order-wizard .order-product-grid>.order-product span,.order-wizard .pg-catalog-part-grid>.order-product span{display:grid!important;gap:4px!important;min-width:0!important;align-items:start!important}.order-wizard .order-product-grid>.order-product b,.order-wizard .pg-catalog-part-grid>.order-product b{font-size:13px!important;line-height:1.45!important}.order-wizard .order-product-grid>.order-product small,.order-wizard .pg-catalog-part-grid>.order-product small{font-size:10px!important;line-height:1.4!important;max-height:2.8em;overflow:hidden!important}.order-wizard .order-product-grid>.order-product i,.order-wizard .pg-catalog-part-grid>.order-product i{font-size:11px!important;color:#0057ff!important;font-weight:800!important;justify-self:start!important;grid-column:auto!important;display:block!important}
.order-wizard #fields .pg-bag-options{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 10px;gap:8px;max-width:100%;scrollbar-width:thin}.order-wizard #fields .pg-bag-option{flex:0 0 auto;scroll-snap-align:start;min-width:75px;padding:8px}
.order-wizard #fields .pgc-accordion-summary{font-weight:750!important;min-height:43px!important}.order-wizard #fields .pgc-accordion-body{min-width:0!important;max-width:100%;overflow-x:clip}
/* Modal help dialog. Do not write long explanations inline in the dashboard. */
.pgv-help-layer[hidden]{display:none!important}.pgv-help-layer{position:fixed;inset:0;background:rgba(10,22,46,.45);z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px}.pgv-help-dialog{background:white;border-radius:16px;box-shadow:0 15px 65px #071c4d50;width:min(340px,95vw);padding:19px;direction:rtl;color:var(--pgv-ink)}.pgv-help-dialog strong{font-size:16px}.pgv-help-dialog p{font-size:13px;line-height:1.8;color:#53677f}.pgv-help-dialog button{border:0;border-radius:9px;background:#0057ff;color:#fff;min-height:39px;padding:7px 20px;font:inherit;cursor:pointer}
@media(max-width:1100px){.pgv-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.pgv-product-grid,.order-wizard #productGrid.order-product-grid,.order-wizard .pg-catalog-part-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 main.page:has(.pgv-home){padding-top:11px!important}.pgv-home{gap:14px}.pgv-hero{padding:15px 15px;border-radius:16px}.pgv-hero h2{font-size:20px}.pgv-hero-new{min-width:0;padding:10px;min-height:42px}.pgv-hero-new span{font-size:11px}.pgv-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pgv-shortcut{min-height:61px;padding:8px 10px;gap:10px;border-radius:13px}.pgv-shortcut-icon{width:36px;height:36px}.pgv-shortcut-icon .ui-icon{width:21px;height:21px}.pgv-shortcut b{font-size:13px}.pgv-metrics{padding:9px 1px}.pgv-metric-label{font-size:10px}.pgv-metric strong{font-size:18px}.pgv-metric-icon{height:21px}.pgv-section-title h3{font-size:15px}.pgv-feed-row{padding:9px;min-height:57px;gap:8px}.pgv-feed-icon{width:35px;height:35px}.pgv-feed-main strong{font-size:12px}.pgv-feed-main small{font-size:10px}.pgv-feed-aside small{font-size:10px}.pgv-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pgv-product-grid,.order-wizard #productGrid.order-product-grid,.order-wizard .pg-catalog-part-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .pgv-product-photo{aspect-ratio:1.08}.pgv-product-content{padding:8px}.pgv-product-content strong{font-size:12px;min-height:34px}.pgv-product-actions a{font-size:10px}
 .order-wizard .order-product-grid>.order-product img,.order-wizard .pg-catalog-part-grid>.order-product img,.order-wizard .order-product-grid>.order-product>.product-placeholder,.order-wizard .pg-catalog-part-grid>.order-product>.product-placeholder{height:108px!important}
 .order-wizard .branch-grid.pg-compact-branches>.branch-card{flex-basis:123px!important;min-height:125px!important}.order-wizard .branch-grid.pg-compact-branches>.branch-card img{height:74px!important}
}
@media(max-width:355px){.pgv-shortcut{gap:6px;padding:7px}.pgv-shortcut b{font-size:12px}.pgv-metric-label{font-size:9px}.pgv-metric strong{font-size:17px}.pgv-feed-aside{max-width:32%}.pgv-product-grid{gap:6px}}
@media(prefers-reduced-motion:reduce){.pgv-shortcut,.pgv-product-photo img{transition:none!important}}
/* Keep hero decoration behind the text, including narrow RTL screens. */
.pgv-hero:before{inset:auto auto -80px -46px;opacity:.18}

/* A single primary add action stays visible; bulk admin actions remain in the advanced fold. */
.pgv-catalog-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 10px}.pgv-catalog-topline strong{font-size:16px;color:#19283f}.pgv-catalog-topline a{background:#0057ff;color:#fff!important;text-decoration:none;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:800;white-space:nowrap}.pgv-catalog-manage>.catalog-summary-grid{margin:12px 10px!important}.pgv-catalog-manage>.catalog-admin-actions{padding:5px 10px 8px;display:flex!important;flex-wrap:wrap;gap:8px!important}.pgv-catalog-manage>.catalog-admin-actions a{font-size:12px!important;padding:8px 10px!important;min-height:35px!important}.pgv-catalog-manage>.catalog-layout{padding:0 8px 12px!important}
