/* Print Graphic Pro 3.0.6: responsive density + navigable detail panels.
   Pure presentation; hides no payment, validation or production state in the database. */
:root{--pgux-ink:#14243e;--pgux-blue:#0057ff;--pgux-edge:#dce5f1;--pgux-muted:#65748b;--pgux-paper:#fff}
.pgux-density-button{appearance:none;white-space:nowrap;cursor:pointer;border:1px solid #dce6f6;background:#f1f6ff;color:#124aa4;font:inherit;font-size:12px;font-weight:750;border-radius:10px;min-height:36px;padding:6px 11px}
.pgux-density-button:focus-visible,.pgux-actions summary:focus-visible,.pgux-fold-head:focus-visible,.pgux-edit-summary:focus-visible,.pgux-category-summary:focus-visible,.pgux-chat-brief-head:focus-visible{outline:3px solid #f9be00;outline-offset:2px}
.pgux-fold{border:1px solid var(--pgux-edge);border-radius:14px;background:#fff;margin:12px 0;min-width:0;overflow:hidden;box-shadow:0 3px 12px rgba(16,43,88,.035)}
.pgux-fold-head,.pgux-edit-summary,.pgux-chat-brief-head,.pgux-category-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:13px 15px;font-size:14px;font-weight:800;color:var(--pgux-ink)}
.pgux-fold-head::-webkit-details-marker,.pgux-edit-summary::-webkit-details-marker,.pgux-chat-brief-head::-webkit-details-marker,.pgux-category-summary::-webkit-details-marker,.pgux-actions>summary::-webkit-details-marker{display:none}
.pgux-fold-head:before,.pgux-edit-summary:before,.pgux-chat-brief-head:before{content:'⌄';font-weight:900;font-size:21px;line-height:1;color:var(--pgux-blue);margin-inline-end:5px;transition:transform .16s}
.pgux-fold[open]>.pgux-fold-head:before,.pgux-edit-fold[open]>.pgux-edit-summary:before,.pgux-chat-brief[open]>.pgux-chat-brief-head:before{transform:rotate(180deg)}
.pgux-fold-head .pgux-fold-name{flex:1}.pgux-fold-cue{font-size:11px;font-weight:550;color:var(--pgux-muted);white-space:nowrap}
.pgux-fold[open]>.pgux-fold-head{background:#f5f8fe;border-bottom:1px solid var(--pgux-edge)}
.pgux-fold>.pgux-fold-panel{border:none!important;box-shadow:none!important;margin:0!important;border-radius:0!important;padding:14px!important}
.pgux-section-nav{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;max-width:100%;padding:4px 0 10px;position:sticky;top:0;z-index:7;background:#f5f8ff}
.pgux-section-chip{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;border:1px solid #d5e3fa;background:#fff;color:#1753a6;border-radius:11px;padding:9px 12px;font-size:12px;font-weight:750;text-decoration:none}
.pgux-section-chip:focus-visible{outline:3px solid #ffc400}
.order-quick-tools .pgux-actions{min-width:0;max-width:100%;position:relative;flex:0 1 auto}
.pgux-actions>summary{cursor:pointer;display:inline-flex;align-items:center;min-height:39px;padding:7px 13px;border:1px solid #cdddf5;border-radius:10px;color:#0757c8;background:#f0f6ff;font-size:12px;font-weight:800;white-space:nowrap}
.pgux-actions-content{display:flex;flex-wrap:wrap;gap:7px;padding:10px;background:#fff;border:1px solid #d8e5f6;border-radius:12px;margin-top:6px}
.pgux-actions-content a,.pgux-actions-content button{font-size:12px!important;min-height:36px;white-space:normal!important}
.pgux-edit-fold{border:1px solid var(--pgux-edge);border-radius:12px;margin:11px 0;overflow:hidden;background:#fff}
.pgux-edit-summary{padding:12px 14px;background:#f6f9fe}
.pgux-edit-body{padding:12px;display:grid;gap:10px;min-width:0}
.pgux-edit-body>.fulfillment-edit-grid,.pgux-edit-body>.edit-items{width:100%;min-width:0}
.pgux-chat-brief{border-bottom:1px solid #dbe5f1;background:#fff}
.pgux-chat-brief-head{padding:11px 13px;min-height:44px;color:#1e467c;background:#f5f9ff}
.pgux-chat-brief-head>span{flex:1}.pgux-chat-brief-head small{font-size:11px;color:#73839b;font-weight:550}
.pgux-chat-brief>.pg-wa-brief{border-top:none;margin:0}
.pgux-catalog-search{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 15px}
.pgux-search-input{flex:1 1 210px;min-width:0;min-height:44px;border-radius:10px!important;border:1px solid #d5dfed!important;padding:8px 12px!important;font:inherit;font-size:14px!important;background:#fff}
.pgux-search-hint{font-size:11px;color:#697b92}
.pgux-category{margin:9px 0;border:1px solid #dae5f2;border-radius:14px;overflow:hidden;background:#fff}
.pgux-category-summary{gap:10px;min-height:62px;padding:9px 12px}
.pgux-category-summary>img{width:44px;height:44px;flex:none;object-fit:cover;border-radius:9px;background:#f1f5fc}
.pgux-category-label{flex:1;display:flex;flex-direction:column;gap:2px;font-size:14px}
.pgux-category-label small{font-size:11px;font-weight:550;color:var(--pgux-muted)}
.pgux-category-chevron{font-size:22px;color:#0057ff;transition:transform .16s}
.pgux-category[open] .pgux-category-chevron{transform:rotate(180deg)}
.pgux-category .catalog-category{margin:0!important;border:none!important;box-shadow:none!important;border-top:1px solid var(--pgux-edge)!important;border-radius:0!important}
.pgux-category .catalog-category-head{padding:9px 12px!important}
.pgux-category .catalog-cat-heading{display:none!important}
.pgux-category .catalog-product-list{padding:6px 10px 12px!important}
.pgux-category .catalog-product-row[hidden],.pgux-category[hidden]{display:none!important}
/* Consistent compact mode across older administrative screens. */
.pgux-dense .page{min-width:0}
.pgux-dense .page-head{margin-bottom:12px!important}
.pgux-dense .page-head h1{font-size:clamp(20px,2.6vw,27px)!important;line-height:1.35!important}
.pgux-dense .page-head p{font-size:12px!important;line-height:1.45!important;margin-top:4px!important}
.pgux-dense .page>.panel,.pgux-dense .page>section.panel{margin-block:10px!important}
.pgux-dense .page .panel:not(.pgux-fold-panel),.pgux-dense .page .card{border-radius:13px}
.pgux-dense .section-title{gap:9px;margin-bottom:11px!important}
.pgux-dense .section-title h2{font-size:clamp(16px,2vw,21px)!important;margin-bottom:2px!important}
.pgux-dense .section-title p{font-size:11px!important;line-height:1.5!important}
.pgux-dense .catalog-summary-grid,.pgux-dense .stats{gap:8px!important}
.pgux-dense .catalog-summary-card,.pgux-dense .stats>article{padding:10px 12px!important;min-height:unset!important}
.pgux-dense .catalog-thumb img,.pgux-dense .customer-avatar{max-width:65px;max-height:65px;object-fit:cover}
.pgux-dense .customer-row{gap:8px;min-height:62px;padding:10px 12px}
.pgux-dense .customer-main strong{font-size:14px}
.pgux-dense .customer-main span{font-size:12px}
.pgux-dense .pg-wa-thread{min-height:64px;padding:9px 12px}
.pgux-dense .pg-wa-thread .pg-wa-avatar{width:40px;height:40px;min-width:40px;font-size:15px}
.pgux-dense .pg-wa-thread .pg-wa-preview{font-size:12px;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.pgux-dense .pg-wa-chat-card{min-width:0}
.pgux-dense .pg-wa-brief-note{padding:9px 10px}
.pgux-dense .pg-wa-msg{max-width:84%;font-size:13px}
.pgux-dense .order-detail-panel .detail-summary-grid{gap:7px}
.pgux-dense .order-detail-panel .detail-summary-grid>div{padding:9px 11px!important}
.pgux-dense .order-detail-panel .detail-summary-grid b{font-size:14px}
.pgux-dense .order-file-card img{max-height:125px;object-fit:contain}
.pgux-dense .order-quick-tools{gap:7px!important}
.pgux-dense .catalog-product-row{padding-block:9px!important}
.pgux-dense .order-wizard .wizard-card{padding:12px!important}
.pgux-dense .order-wizard .pg-bag-option>.pg-realbag{max-width:52px;max-height:52px}
.pgux-dense .order-wizard .pg-catalog-part-grid img{object-fit:contain}
.pgux-dense main.page input,.pgux-dense main.page select,.pgux-dense main.page textarea{max-width:100%;box-sizing:border-box}
.pgux-dense main.page form{min-width:0}
.pgux-dense main.page [class*=grid]{min-width:0}
/* Mobile: compact scannable cards and touch-sized controls; no layout overflow. */
@media(max-width:760px){
 .pgux-density-button{font-size:11px;min-height:34px;padding:5px 8px}
 .pgux-fold{margin:9px 0}
 .pgux-fold-head{padding:12px 11px;font-size:13px}
 .pgux-fold>.pgux-fold-panel{padding:11px!important}
 .pgux-fold-cue{font-size:10px}
 .pgux-section-nav{margin-inline:-8px;padding-inline:8px;top:0}
 .pgux-section-chip{font-size:11px;padding:8px 10px}
 .pgux-edit-summary{font-size:13px}
 .pgux-edit-body{padding:9px}
 .pgux-category-summary{min-height:56px}
 .pgux-category .catalog-category-head{display:flex;flex-wrap:wrap;gap:6px}
 .pgux-category .catalog-head-actions{display:flex;flex-wrap:wrap;gap:5px}
 .pgux-category .catalog-product-row{gap:8px;padding:9px!important}
 .pgux-dense .pg-wa-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}
 .pgux-dense .pg-wa-overview article{min-width:0;padding:8px!important;flex-direction:column;gap:2px!important}
 .pgux-dense .pg-wa-overview article strong{font-size:18px!important}
 .pgux-dense .pg-wa-overview article small{font-size:10px!important;line-height:1.35}
 .pgux-dense .pg-wa-chat-scroll{min-height:50vh;max-height:64vh;scrollbar-width:thin}
 .pgux-dense .pg-wa-chat-toolbar{gap:7px}
 .pgux-dense .pg-wa-msg{max-width:89%}
 .pgux-dense .pg-wa-thread-first b{font-size:13px}
 .pgux-dense .catalog-layout{gap:10px}
 .pgux-dense .order-quick-tools a,.pgux-dense .order-quick-tools button{min-height:38px;font-size:12px!important}
 .pgux-dense .customer-row{padding:9px!important}
 .pgux-dense .bottom-nav{padding-bottom:max(6px,env(safe-area-inset-bottom))}
 .pgux-dense .page{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
}
@media(max-width:390px){.pgux-dense .pg-wa-thread .pg-wa-avatar{width:35px;height:35px;min-width:35px}.pgux-dense .pg-wa-overview article .pg-wa-metric-icon{display:none}.pgux-category-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pgux-fold-head:before,.pgux-category-chevron{transition:none!important}}
