/* Shared order list: one compact source row, plain text cells and readable touch targets. */
.orders-page{font-size:18px;line-height:1.5}
.orders-page h1{font-size:34px;letter-spacing:-.6px}
.orders-page h2{font-size:25px;line-height:1.3}
.orders-page h3{font-size:24px;line-height:1.4}
.orders-page .eyebrow,.orders-page .muted,.orders-page .notice,.orders-page small,.orders-page label{font-size:18px}
.orders-page input,.orders-page select,.orders-page textarea{font-size:18px;min-height:48px;padding:10px 12px}
.orders-page button,.orders-page .button{font-size:18px;min-height:48px;padding:10px 15px}
.orders-page summary{font-size:18px;min-height:44px;padding:9px 0;cursor:pointer}
.orders-page summary:focus-visible{outline:3px solid #087c64;outline-offset:3px;border-radius:6px}
.orders-heading{margin-bottom:16px}.orders-heading p{font-size:18px}
.orders-embedded{margin-bottom:24px}.orders-embedded-heading{margin:0 0 14px}
.orders-page .orders-refresh-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;padding:14px 16px;margin:0 0 12px;border:1px solid #bdcec4;border-radius:11px;background:#f4f9f5;min-width:0}
.orders-refresh-status{flex:1 1 250px;min-width:0;color:#234a3a}.orders-refresh-status strong{display:block;font-size:19px;line-height:1.4}.orders-refresh-status span{display:block;margin-top:2px;font-size:16px;line-height:1.4;color:#52675b;overflow-wrap:anywhere}
.orders-refresh-action{flex:0 1 auto;min-width:0}.orders-page .orders-refresh-action form{margin:0}.orders-page .orders-refresh-action button{min-height:48px;padding:11px 18px;font-size:19px;font-weight:750;box-shadow:0 2px 0 #b2cdc0;white-space:normal}
.orders-refresh-action p{font-size:16px;line-height:1.4;color:#53665b;margin:5px 0 0}.orders-page .orders-refresh-config{font-size:18px;min-height:48px;text-align:center;white-space:normal}
.orders-refresh-error{font-size:17px;color:#815422;margin:0}.orders-missing-date-note{font-size:17px;line-height:1.5;background:#fff6df;color:#735121;border-left:4px solid #d9a648;border-radius:6px;padding:10px 12px;margin:0 0 12px}.orders-missing-date-note a{display:inline-block;min-height:32px;padding:4px 0;font-weight:700;text-decoration:underline;color:#795016}
.orders-date-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;align-items:start}
.orders-date-tab{min-width:0;border:2px solid #bdccc2;border-radius:11px;background:#fff;color:#183b38}
.orders-date-tab{padding:10px 12px;min-height:76px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.orders-date-tab strong{display:block;font-size:22px;line-height:1.3}
.orders-date-tab span{display:block;font-size:18px;margin-top:3px;color:#51665a}
.orders-date-tab.active{background:#e4f4ea;border-color:#087c64;box-shadow:0 2px 0 #087c64}
.orders-date-tab:hover{background:#edf7f0;text-decoration:none}
.orders-list-panel{padding:18px}.orders-list-heading{margin-bottom:10px}.orders-list-heading h2{margin:0}
.orders-source-tag{display:inline-block;background:#ecf3ef;color:#225b43;border-radius:7px;padding:5px 9px;font-size:18px;font-weight:650}
.orders-results{display:flex;align-items:center;gap:8px 22px;padding:10px 14px;border-radius:8px;background:#edf5ef;margin-bottom:10px;flex-wrap:wrap}
.orders-results>strong{font-size:23px;line-height:1.3}.orders-results>span{font-size:18px}
.orders-local-explanation{font-size:18px;margin:0 0 12px;color:#53635a}
/* One order row is shared by desktop and phone; actions always belong to the chosen stage. */
.orders-compact-list{border:1px solid #c7d8cd;border-radius:12px;overflow:hidden;background:#fff}
.order-compact-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px 10px;align-items:start;min-width:0;padding:13px 14px 13px 56px;border-bottom:1px solid #d9e5dd;background:#fff;overflow-wrap:anywhere}
.order-compact-row:nth-child(even){background:#f6faf7}.order-compact-row:last-child{border-bottom:0}
.order-compact-row[data-current-step-done="1"]{background:#f0f2f0}.order-compact-row[data-current-step-done="1"] .order-product-name{color:#617166}
.order-compact-main{grid-column:1;grid-row:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 13px}
.order-compact-meta{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;font-size:17px;line-height:1.5;min-width:0;color:#53655c}
.order-due-date{font-weight:700;color:#183b38;white-space:pre-wrap}.order-buyer{white-space:pre-wrap;overflow-wrap:anywhere}
.order-product-line{flex:1 1 300px;min-width:0;font-size:18px;line-height:1.5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.order-product-name{font-weight:750;color:#173d35;font-size:19px}.order-quantity{font-weight:700;color:#295749;white-space:nowrap;font-size:18px}
.orders-note{font-size:17px;color:#4a6054;line-height:1.5;overflow-wrap:anywhere}.order-note-separator{color:#a7b9ad}
.orders-overdue-badge{display:inline-block;font-size:16px;line-height:1.3;padding:3px 7px;border-radius:6px;background:#fff0ce;color:#7a5004;font-weight:700;white-space:nowrap}
.orders-work-area{display:contents}
.orders-done-form{grid-column:2;grid-row:1;margin:0;min-width:0;max-width:205px}
.orders-done-control{display:flex;align-items:center;min-height:44px;cursor:pointer;margin:0;gap:6px;line-height:1.35;min-width:0}
.orders-page .orders-done-control input[type="checkbox"]{position:absolute;left:15px;top:19px;width:26px;height:26px;min-height:26px;padding:0;margin:0;accent-color:#087c64;cursor:pointer}
.orders-page .orders-done-control input[type="checkbox"]:focus-visible{outline:3px solid #087c64;outline-offset:4px}
.orders-page .orders-done-control input[type="checkbox"]:disabled{cursor:default}
.orders-current-step-label{display:block;padding:7px 9px;border:1px solid #bfd5c7;border-radius:7px;font-size:16px;font-weight:650;background:#edf7f0;color:#205c40;min-width:0;overflow-wrap:anywhere}
.orders-readonly-done .orders-done-control{cursor:default}.orders-readonly-done .orders-current-step-label{border-color:#d5ded7;background:#f3f5f3;color:#68796d}
.order-compact-row[data-current-step-done="1"] .orders-current-step-label{color:#19603d;border-color:#bad7c4;background:#e7f3ea}
.orders-done-form button[hidden]{display:none!important}.orders-done-form .form-message:empty{display:none}.orders-done-form .form-message{font-size:16px;max-width:205px}
.orders-done-form noscript button{font-size:16px;min-height:44px;padding:8px;margin-top:6px}
.orders-problem-menu{grid-column:3;grid-row:1;min-width:0;max-width:165px}
.orders-page .orders-problem-menu>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 9px;list-style:none;border:1px solid #c7d5ce;background:#fff;border-radius:7px;color:#405c4e;font-size:16px;font-weight:650;line-height:1.35;cursor:pointer;text-align:center}
.orders-problem-menu>summary::-webkit-details-marker{display:none}.orders-problem-menu>summary:hover{background:#edf5f0}
.orders-problem-menu[open]{grid-column:1/-1;grid-row:auto;max-width:none;width:100%;padding-top:6px;border-top:1px solid #dce6df}
.orders-page .orders-problem-menu[open]>summary{width:max-content;max-width:100%;background:#ecf4ef}
.orders-problem-count{display:inline-grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:#e4ece6;color:#294c39;font-size:13px;font-weight:700}
.orders-problem-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;min-width:0}
.orders-problem-content>.muted{grid-column:1/-1;margin:0;font-size:16px}.orders-work-action{border:1px solid #c0cec4;border-radius:8px;background:#fff;min-width:0}
.orders-page .orders-work-action>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:17px;font-weight:700;padding:9px 12px;line-height:1.4;cursor:pointer;list-style:none}
.orders-work-action>summary::-webkit-details-marker{display:none}.orders-work-action.issue>summary{color:#983b2c;background:#fff0ec;border-radius:7px}.orders-work-action.help>summary{color:#265785;background:#edf5fc;border-radius:7px}
.orders-work-action>form{padding:12px;margin:0;min-width:0}.orders-work-action .form-message{font-size:17px;margin-bottom:0}.orders-work-action .photo-input{font-size:17px}.orders-work-action .photo-preview{margin:8px 0}.orders-work-action .muted{font-size:17px}
.orders-action-mark{display:inline-grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;border:2px solid currentColor;font-size:17px;line-height:1;font-weight:800}
.orders-action-unavailable{grid-column:3;grid-row:1;font-size:16px;color:#825721;padding:8px 0;max-width:135px}
.order-row-details{grid-column:4;grid-row:1;min-width:0}
.orders-page .order-row-details>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 2px;font-size:16px;font-weight:650;color:#50675a;cursor:pointer;list-style:none;white-space:nowrap}
.order-row-details>summary::-webkit-details-marker{display:none}.order-row-details>summary::before{content:"＋";font-size:16px;margin-right:4px}.order-row-details[open]>summary::before{content:"−"}
.orders-row-number{color:#77877d;font-size:13px;margin-left:5px;font-weight:500}
.order-row-details[open]{grid-column:1/-1;grid-row:auto;width:100%;border-top:1px solid #dce6df;padding-top:4px}.orders-page .order-row-details[open]>summary{justify-content:flex-start;width:max-content}
.order-detail-content{padding:12px;background:#f7faf7;border:1px solid #dce5df;border-radius:8px;min-width:0}
.orders-page .order-detail-content dl{display:grid;grid-template-columns:minmax(90px,.5fr) minmax(0,1.5fr);gap:8px 14px;margin:0}
.orders-page .order-detail-content dt,.orders-page .order-detail-content dd{font-size:17px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;min-width:0}.order-detail-content dt{font-weight:650;color:#52665a}
.orders-disabled-reason{padding:10px 12px;border:1px solid #e4ce9e;background:#fff5df;border-radius:7px;color:#745120;font-size:17px;margin:0 0 12px}
.orders-work-history{margin-top:12px}.orders-work-history>summary{color:#486050;font-weight:650;font-size:17px}
.orders-work-status{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:16px;color:#52665a;margin:0 0 12px}
.orders-work-entry{padding:12px;border:1px solid #d6e4d9;border-radius:8px;background:#fff;margin-bottom:10px}.orders-work-entry>div{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:17px;color:#526459}.orders-work-entry>div strong{color:#183b38;font-size:17px}
.orders-work-entry p{font-size:17px;white-space:pre-wrap;margin:8px 0}.orders-work-entry time{font-size:16px}.orders-work-entry .photo-gallery a{max-width:220px}.orders-work-entry .photo-gallery img{width:190px;height:145px}.orders-work-entry a{font-size:17px;min-height:44px;display:inline-flex;align-items:center}
.orders-done-stages{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;font-size:17px;margin:0 0 12px}.orders-done-stages>strong{font-weight:650}.orders-done-stage{display:inline-block;padding:3px 7px;border-radius:6px;background:#e4f4e9;color:#196239;font-size:16px;font-weight:650}
.orders-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.orders-stage{padding:10px 12px;border:1px solid #c9dcce;background:#f0f7ed;border-radius:8px;margin-bottom:12px}.orders-stage p{margin:0;font-size:18px}
.orders-stage form{display:flex;align-items:flex-end;gap:10px;max-width:660px}.orders-stage label{flex:1;margin-bottom:0}.orders-stage button{flex-shrink:0}.orders-stage .muted{margin-top:6px}
.orders-unavailable{text-align:center;padding:22px 16px;background:#f8faf7;border:1px dashed #bdcec1;border-radius:10px}.orders-unavailable h3{font-size:24px}.orders-unavailable p{font-size:18px;color:#53655a;max-width:640px;margin:0 auto}
.orders-pagination{justify-content:space-between;gap:10px}.orders-pagination>span{font-size:18px}
.orders-source-info{padding:2px 6px;color:#53655a}.orders-source-info>p,.orders-stale-note{font-size:18px;margin:10px 0;color:#53655a}.orders-source-totals{margin-bottom:18px}.orders-source-totals>summary{font-weight:600}.orders-source-totals>p{font-size:18px}.orders-summary-stats{margin-top:10px}.orders-summary-stats article strong{font-size:25px}.orders-summary-stats article span{font-size:18px}
.orders-admin>summary{font-weight:650;color:#526459}.orders-connection>summary,.orders-reference>summary{font-weight:650}.orders-connection>p,.orders-reference>p,.orders-preview p{font-size:18px;margin-top:12px}.orders-admin .panel{margin-top:12px}.orders-preview{background:#f7fbf8}
.orders-advanced{margin-bottom:12px;border-bottom:1px solid #dce5df}.orders-advanced>summary{font-size:18px;color:#526459}.orders-filter{margin-bottom:12px}.orders-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}
@media(max-width:1100px){.orders-page .panel{padding:18px 14px}.order-compact-row{grid-template-columns:minmax(0,1fr) auto auto}.order-compact-main{grid-column:1/-1}.orders-done-form{grid-column:1;grid-row:2;max-width:none}.orders-problem-menu{grid-column:2;grid-row:2}.order-row-details{grid-column:3;grid-row:2}.orders-action-unavailable{grid-column:2;grid-row:2}}
@media(max-width:760px){
.orders-page h1{font-size:30px}.orders-page h2{font-size:24px}.orders-heading{margin-bottom:14px}
.orders-page .orders-refresh-toolbar{align-items:stretch;padding:12px;gap:10px}.orders-refresh-status{flex-basis:100%}.orders-refresh-action{width:100%;flex-basis:100%}.orders-page .orders-refresh-action button,.orders-page .orders-refresh-config{width:100%}.orders-refresh-action p{font-size:16px}.orders-refresh-status strong{font-size:19px}.orders-missing-date-note{font-size:17px}
.orders-date-tabs{gap:7px;margin-bottom:14px}.orders-date-tab{padding:10px 5px;min-height:82px}.orders-date-tab strong{font-size:20px;line-height:1.35}.orders-date-tab span{font-size:18px;line-height:1.3}
.orders-page .panel{padding:16px 12px}.orders-list-heading{align-items:flex-start;flex-direction:column;gap:7px}.orders-results{padding:10px 12px;gap:6px 16px}.orders-results>strong{font-size:23px}
.order-compact-row{padding:13px 11px 13px 49px;gap:5px 7px;grid-template-columns:minmax(0,1fr) auto}.order-compact-main{display:block}.order-compact-meta{font-size:17px;gap:5px 9px;margin-bottom:4px}.order-product-line{font-size:18px}.order-product-name{font-size:20px;line-height:1.45}.orders-note{font-size:17px}
.orders-page .orders-done-control input[type="checkbox"]{left:12px;top:17px;width:26px;height:26px}.orders-done-form{grid-column:1;grid-row:2}.orders-problem-menu{grid-column:2;grid-row:2;max-width:150px}.orders-current-step-label{font-size:16px;padding:8px}.orders-page .orders-problem-menu>summary{font-size:16px;padding:8px;min-height:44px}.orders-problem-menu[open]{grid-column:1/-1;grid-row:auto}
.order-row-details{grid-column:1/-1;grid-row:auto}.orders-page .order-row-details>summary{width:max-content;min-height:36px;padding:4px 0;justify-content:flex-start}.orders-row-number{font-size:14px}.orders-action-unavailable{grid-column:2;grid-row:2}.orders-problem-content{grid-template-columns:minmax(0,1fr)}
.order-detail-content{padding:10px}.orders-page .order-detail-content dl{grid-template-columns:minmax(0,1fr);gap:3px}.order-detail-content dt{padding-top:6px}.order-detail-content dd{padding-bottom:6px;border-bottom:1px solid #dde7df}.order-detail-content dd:last-child{border-bottom:0}
.orders-page .orders-work-action>summary{font-size:18px;min-height:48px}.orders-work-action>form{padding:12px}.orders-work-entry{padding:12px}
.orders-stage{padding:12px}.orders-stage form{flex-direction:column;align-items:stretch}.orders-stage button{width:100%}.orders-stage label{margin-bottom:0}
.orders-pagination>span{width:100%;text-align:center;order:-1}.orders-pagination .button{padding:10px 13px}.orders-filter-grid{grid-template-columns:1fr}.orders-source-info{padding:0 2px}.orders-summary-stats{gap:8px}.orders-summary-stats article{padding:12px}.orders-admin>.panel{padding:14px 10px}.orders-admin .progress-actions{grid-template-columns:1fr}.orders-admin .progress-actions button{width:100%;font-size:18px}
}
@media(max-width:370px){.orders-date-tabs{gap:5px}.orders-date-tab strong{font-size:18px}.order-compact-row{padding-left:46px;grid-template-columns:minmax(0,1fr)}.orders-done-form,.orders-problem-menu,.orders-action-unavailable{grid-column:1;grid-row:auto}.orders-problem-menu{max-width:100%}.orders-page .orders-problem-menu>summary{justify-content:flex-start;width:max-content;max-width:100%}}
@media(prefers-reduced-motion:reduce){.orders-page *{scroll-behavior:auto}}

/*174: short filters and closed secondary actions leave the products first.*/
.orders-page .orders-refresh-toolbar{padding:8px 12px;gap:8px 12px;margin-bottom:9px}
.orders-refresh-status{flex:1 1 180px}.orders-refresh-status strong{font-size:15px;font-weight:600}
.orders-page .orders-refresh-action button{font-size:16px;min-height:44px;padding:8px 12px;box-shadow:none}
.orders-date-tabs{gap:7px;margin-bottom:10px}.orders-date-tab{min-height:48px;padding:10px 8px}
.orders-date-tab strong{font-size:18px}
.orders-date-tab span{display:none}
.orders-page .orders-stage{padding:8px 10px;margin-bottom:10px;background:#f5f8f5}
.orders-page .orders-stage label{font-size:15px}.orders-page .orders-stage select{min-height:44px;padding:8px 10px}
.orders-page .orders-stage button{font-size:16px;min-height:44px;padding:8px 12px}
.orders-list-heading{margin-bottom:6px}.orders-list-heading h2{font-size:18px;line-height:1.4;font-weight:600}
.orders-source-tag{display:none}.orders-results{background:none;padding:4px 0;gap:7px 16px;margin-bottom:3px}
.orders-results>strong,.orders-results>span{font-size:16px}.orders-quick-tip{margin:0 0 6px}
.orders-page .orders-quick-tip>summary{font-size:14px;color:#607266;min-height:44px;padding:10px 0}
.orders-quick-tip:not([open])>:not(summary),.orders-more-menu:not([open])>:not(summary),.order-row-details:not([open])>:not(summary){display:none}
.order-compact-row{scroll-margin-top:20px}.order-compact-main{align-self:start}
@media(max-width:760px){
 .orders-page .orders-refresh-toolbar{align-items:center;flex-wrap:nowrap;padding:8px 10px}
 .orders-refresh-status{flex:1 1 0;min-width:0}.orders-refresh-status strong{font-size:13px;line-height:1.4}
 .orders-refresh-action{width:auto;flex:0 1 auto}.orders-page .orders-refresh-action button{width:auto;font-size:15px;min-height:44px;padding:8px 10px}
 .orders-date-tabs{margin-bottom:10px}.orders-date-tab{min-height:48px;padding:10px 4px}
 .orders-date-tab strong{font-size:17px}
 .orders-page .orders-stage{padding:7px 9px}.orders-list-heading{gap:0}.orders-list-heading h2{font-size:16px}
 .orders-results{gap:6px 12px;padding:3px 0}.orders-results>strong,.orders-results>span{font-size:15px}
}
/* Compact native date submission works without JavaScript and keeps the selected stage. */
.orders-page .orders-date-controls{display:flex;align-items:flex-start;gap:8px;min-width:0;margin-bottom:10px}
.orders-page .orders-date-controls .orders-date-tabs{flex:1 1 0;min-width:0;margin:0;align-items:start}
.orders-page .orders-date-controls .orders-date-tab{height:48px;min-height:48px;line-height:1.3}
.orders-page .orders-date-controls .orders-date-tab strong{font-size:18px;line-height:1.3}
.orders-page .orders-date-inline{display:grid;grid-template-columns:minmax(0,1fr) 44px;min-width:0;min-height:48px;margin:0;padding:0;border:2px solid #bdccc2;border-radius:11px;background:#fff;color:#183b38;overflow:hidden}
.orders-page .orders-date-inline.active{border-color:#087c64;background:#e4f4ea;box-shadow:0 2px 0 #087c64}
.orders-page .orders-date-inline label{display:block;min-width:0;margin:0}
.orders-page .orders-date-inline input{display:block;box-sizing:border-box;min-width:0;width:100%;height:44px;min-height:44px;margin:0;padding:7px 8px;border:0;border-radius:8px 0 0 8px;background:transparent;font-size:17px;color:#183b38;line-height:1.3}
.orders-page .orders-date-inline .orders-date-apply{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0 8px 8px 0;font-size:17px}
.orders-page .orders-date-print{display:grid;place-items:center;box-sizing:border-box;flex:0 0 48px;width:48px;height:48px;min-height:48px;margin:0;padding:0;border:2px solid #bdccc2;border-radius:11px;background:#fff;color:#183b38}
.orders-page .orders-date-print:hover{background:#edf7f0}
.orders-page .orders-date-inline:focus-within{outline:3px solid #087c64;outline-offset:3px}
@media(max-width:760px){
 .orders-page .orders-date-controls .orders-date-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .orders-page .orders-date-controls .orders-date-tab strong{font-size:17px}
 .orders-page .orders-date-inline{grid-column:1/-1}
}
@media print{.orders-page .orders-date-controls{display:none!important}}

/*177: full packing is a folded review group; source and earlier reports stay intact.*/
.orders-page .orders-packed-group{margin:10px 0 0;border:1px solid #d4dfd7;border-radius:9px;background:#f7faf7;min-width:0;overflow:hidden}
.orders-page .orders-packed-group>summary{padding:10px 12px;min-height:44px;font-size:16px;font-weight:650;color:#53675b;cursor:pointer;overflow-wrap:anywhere}
.orders-packed-group:not([open])>:not(summary){display:none}
.orders-page .orders-packed-group>p{padding:0 12px;font-size:14px;margin:0 0 10px;color:#617166}
.orders-packed-group .orders-compact-list{border-left:0;border-right:0;border-bottom:0;border-radius:0}
.orders-page .orders-page-complete{font-size:16px;padding:7px 0;margin:0;color:#53675b}
.orders-page .order-packing-summary{display:inline-block;font-size:14px;line-height:1.4;border:1px solid #c3dacb;border-radius:5px;padding:2px 6px;color:#306047;background:#eaf5ee;white-space:nowrap}
.order-compact-row[data-fully-packed="1"]{background:#f3f6f3}
@media(max-width:760px){.orders-page .orders-packed-group>summary{font-size:16px;padding:10px}.orders-page .orders-packed-group>p{padding:0 10px}.orders-page .order-packing-summary{font-size:14px}}

.orders-page .orders-packed-jump{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;margin:0 0 3px;font-size:16px;font-weight:650;color:#50675a;text-decoration:underline;scroll-margin-top:20px}
#orders-packed-list{scroll-margin-top:20px}

/* 179: packing reports show two consistent bath counters and no unused row details. */
.orders-page .orders-packing-mode .orders-list-heading h2{font-size:13px;font-weight:500;line-height:1.4;color:#647467;margin:0}
.orders-page .orders-packing-mode .orders-list-heading{margin-bottom:5px}
.orders-packing-counts{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;min-width:0}
.orders-count-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #c6d8cc;border-radius:7px;padding:6px 9px;min-height:36px;box-sizing:border-box;background:#f3f8f4;color:#30543f;font-size:15px;line-height:1.3}
.orders-count-pill.packed{background:#e8f4ec;border-color:#b6d4c0;color:#25623c}
.orders-count-pill>b{font-size:16px;font-weight:750}
.orders-page .orders-count-pill>small{font-size:11px;color:#64776a;font-weight:500}
.orders-page .order-packing-row{grid-template-columns:minmax(0,1fr) auto auto;padding-top:9px;padding-bottom:9px;gap:3px 8px}
.orders-page .order-packing-row .order-compact-main{gap:3px 9px}
.orders-page .order-packing-row .orders-problem-menu>summary{padding:4px 0;min-height:44px;border:0;background:transparent;border-radius:0;font-size:13px;font-weight:500;color:#657669;justify-content:flex-start;line-height:1.3;text-align:left;text-decoration:underline;max-width:120px}
.orders-page .order-packing-row .orders-problem-menu[open]>summary{background:none;font-weight:650}
.orders-page .order-packing-row .orders-problem-count{min-width:17px;height:17px;font-size:11px}
.orders-page .orders-packing-mode .orders-packed-footer{font-size:13px;font-weight:500;padding:6px 0;margin:3px 0 0;min-height:44px}
.orders-page .orders-packing-mode .orders-packed-group>summary{font-size:14px;padding:8px 10px;min-height:44px}
.orders-page .orders-packing-mode .orders-packed-group>p{font-size:12px;margin-bottom:7px}
@media(max-width:760px){
  .orders-page .order-packing-row{grid-template-columns:minmax(0,1fr) auto;padding:9px 10px;gap:2px 6px}
  .orders-page .order-packing-row .order-compact-main{grid-column:1/-1;grid-row:1}
  .orders-page .order-packing-row .order-compact-meta{font-size:15px;gap:3px 8px;margin-bottom:2px}
  .orders-page .order-packing-row .order-product-line{font-size:16px;line-height:1.4}
  .orders-page .order-packing-row .order-product-name{font-size:18px;line-height:1.4}
  .orders-page .order-packing-row .order-quantity{font-size:16px}
  .orders-page .order-packing-row .orders-note{font-size:15px}
  .orders-page .order-packing-row>.orders-work-area>.packing-quick-control{grid-column:1;grid-row:2;align-self:start}
  .orders-page .order-packing-row .orders-problem-menu{grid-column:2;grid-row:2;align-self:end;max-width:118px}
  .orders-page .order-packing-row .orders-problem-menu[open]{grid-column:1/-1;grid-row:auto;max-width:none}
  .orders-page .order-packing-row .orders-problem-menu>summary{font-size:12px;max-width:118px;min-height:44px;padding:4px 0;white-space:nowrap}
  .orders-page .order-packing-row .packing-quick-control:has(.packing-entry[open]),.orders-page .order-packing-row .packing-quick-control:has(.packing-inline-photos[open]),.orders-page .order-packing-row .packing-quick-control:has(.packing-reports[open]){grid-column:1/-1;grid-row:auto;width:100%}
}
@media(max-width:370px){
  .orders-page .order-packing-row{grid-template-columns:minmax(0,1fr) auto}
  .orders-page .order-packing-row .orders-problem-menu{grid-column:2;grid-row:2}
}
