/* Merchandise (Brief SH1): hoodie stock, reception sales, online orders. Tablet first; every button 44px or more. */
.m-segs { display: flex; gap: 0; border: 1px solid #c9c7be; border-radius: 8px; overflow: hidden; width: max-content; max-width: 100%; margin: 0 0 18px; background: #fff; }
.m-seg { min-height: 44px; padding: 0 20px; border: 0; background: #fff; font: inherit; font-weight: 700; color: #002c41; cursor: pointer; border-right: 1px solid #c9c7be; }
.m-seg:last-child { border-right: 0; }
.m-seg.on { background: #002c41; color: #fff; }
.m-h { font-size: 15px; font-weight: 800; color: #002c41; margin: 18px 0 10px; }
.m-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.m-sell { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .m-sell { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; } .m-cart { position: sticky; top: 12px; } }
.m-big { min-height: 56px; padding: 0 22px; border: 2px solid #c9c7be; border-radius: 8px; background: #fff; font: inherit; font-weight: 700; font-size: 16px; color: #002c41; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.m-big.on { border-color: #002c41; background: #002c41; color: #fff; }
.m-colour { min-height: 52px; padding: 0 16px 0 10px; border: 2px solid #c9c7be; border-radius: 8px; background: #fff; font: inherit; font-weight: 600; color: #14202a; display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.m-colour.on { border-color: #002c41; box-shadow: inset 0 0 0 1px #002c41; }
.m-sw { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); display: inline-block; }
.m-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.m-size { min-height: 72px; border: 2px solid #c9c7be; border-radius: 8px; background: #fff; display: grid; place-content: center; gap: 2px; font: inherit; cursor: pointer; }
.m-size b { font-size: 20px; color: #002c41; } .m-size span { font-size: 12px; color: #5b6670; }
.m-size:active { background: #eef3f6; }
.m-size.out { background: #f4f3ee; cursor: not-allowed; } .m-size.out b { color: #9aa0a4; }
.m-cart { background: #fff; border: 1px solid #dcd8cc; border-radius: 8px; padding: 6px 18px 18px; }
.m-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eceae2; }
.m-line b { display: block; color: #14202a; }
.m-stepper { display: inline-flex; align-items: center; border: 1px solid #c9c7be; border-radius: 8px; }
.m-stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; } .m-stepper button[disabled] { color: #c4c6c7; }
.m-stepper span { min-width: 28px; text-align: center; font-weight: 700; }
.m-pay .m-big { flex: 1; justify-content: center; }
.m-complete { width: 100%; min-height: 60px; font-size: 17px; margin-top: 18px; background: #1d6b40 !important; border-color: #1d6b40 !important; color: #fff !important; }
.m-complete[disabled] { opacity: .45; }
.linkish { background: none; border: 0; padding: 12px 0 0; font: inherit; color: #002c41; text-decoration: underline; cursor: pointer; display: block; min-height: 44px; }
.m-test { background: #fff3c4; color: #6b4e00; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.m-tag { background: #eef0f2; color: #3b4650; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.m-tools { display: grid; gap: 12px; margin-bottom: 16px; }
.m-card { background: #fff; border: 1px solid #dcd8cc; border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; }
.m-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: #002c41; }
.m-table { overflow-x: auto; }
.m-tr { display: grid; gap: 6px; align-items: stretch; margin-bottom: 6px; min-width: max-content; }
.m-th span { font-size: 12px; font-weight: 700; color: #5b6670; text-align: center; } .m-th span:first-child { text-align: left; }
.m-cname { font-weight: 700; color: #14202a; align-self: center; }
.m-cell { min-height: 56px; border: 1px solid #dcd8cc; border-radius: 6px; background: #fff; display: grid; place-content: center; font: inherit; cursor: pointer; padding: 4px; }
.m-cell b { font-size: 18px; color: #14202a; text-align: center; } .m-cell small { font-size: 11px; font-weight: 700; text-align: center; }
.m-cell.low { background: #fff7e6; border-color: #e9c47a; } .m-cell.low small { color: #8a5400; }
.m-cell.out { background: #fdeeee; border-color: #ebb2b2; } .m-cell.out small { color: #b0122c; }
.m-cell.none { border: 0; background: none; cursor: default; }
.m-dialog { width: min(560px, 96vw); max-height: 90vh; overflow-y: auto; border: 0; border-radius: 10px; padding: 18px 22px 22px; }
.m-dialog::backdrop { background: rgba(10, 20, 28, .45); }
.m-dhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; top: -18px; background: #fff; padding: 6px 0 10px; z-index: 1; }
.m-dhead h2 { margin: 0; font-size: 19px; color: #002c41; }
.m-x { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; color: #002c41; }
.m-dialog .btn { width: 100%; min-height: 50px; margin-top: 12px; }
.m-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.m-facts div { background: #f6f5ee; border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; } .m-facts b { font-size: 18px; color: #002c41; } .m-facts span { font-size: 12px; color: #5b6670; }
.m-num { width: 110px; min-height: 48px; border: 1px solid #c9c7be; border-radius: 6px; padding: 0 12px; font: inherit; font-size: 17px; }
.m-text { width: 100%; min-height: 48px; border: 1px solid #c9c7be; border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 16px; margin-top: 10px; }
.m-lab { display: grid; gap: 6px; font-weight: 700; color: #002c41; font-size: 14px; margin-top: 12px; }
.m-inline { grid-template-columns: 1fr auto; align-items: center; font-weight: 600; color: #14202a; }
.m-hist { border-top: 1px solid #eceae2; margin-top: 12px; }
.m-hrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eceae2; font-size: 14px; }
.m-hrow b { display: block; } .m-hright { text-align: right; display: grid; }
.m-orders { display: grid; gap: 8px; margin-top: 12px; }
.m-order { display: flex; justify-content: space-between; gap: 12px; text-align: left; width: 100%; background: #fff; border: 1px solid #dcd8cc; border-radius: 8px; padding: 14px 16px; font: inherit; cursor: pointer; min-height: 64px; }
.m-order b { display: block; color: #14202a; } .m-order .subtle { display: block; font-size: 13px; }
.m-oright { text-align: right; display: grid; gap: 4px; justify-items: end; }
.m-pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.m-pill.amber { background: #fff3d6; color: #7a4b00; } .m-pill.red { background: #fde4e4; color: #b0122c; } .m-pill.navy { background: #e2ecf2; color: #002c41; } .m-pill.green { background: #e3f1e8; color: #1d6b40; } .m-pill.grey { background: #eef0f2; color: #5b6670; }
.m-warn { background: #fff4e5; border-left: 3px solid #d98b00; padding: 10px 12px; font-size: 14px; } .m-ok { background: #e9f4ec; border-left: 3px solid #1d6b40; padding: 10px 12px; font-size: 14px; }
.m-grid2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; } @media (min-width: 700px) { .m-grid2 { grid-template-columns: 180px 1fr; } }
.m-sub { border-top: 1px solid #eceae2; margin-top: 16px; padding-top: 6px; } .m-sub h4 { margin: 10px 0 8px; color: #002c41; }
.m-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.m-dcell { display: grid; gap: 4px; font-size: 13px; font-weight: 600; } .m-dcell .m-num { width: 100%; } .m-dcell.todo .m-num { border-color: #d98b00; background: #fffaf0; }
.m-tick { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 600; }
.m-final { margin-top: 16px; } .m-final .btn { min-height: 50px; }
.m-setup > .subtle { margin-bottom: 14px; }
/* Design review 1 */
.m-sub input[type="color"] { width: 64px; height: 48px; border: 1px solid #c9c7be; border-radius: 6px; padding: 4px; background: #fff; margin-top: 10px; }
.m-dgrid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.m-open { width: 100%; text-align: center; padding: 0 4px; }
.m-open.todo { border-color: #d98b00; background: #fffaf0; }
.m-hint { font-size: 14px; font-weight: 600; color: #002c41; background: #f6f5ee; padding: 10px 12px; border-radius: 6px; margin: 14px 0 0; }
/* Design review 2 */
.m-complete[disabled] { background: #c9ccce !important; border-color: #c9ccce !important; color: #fff !important; opacity: 1; }
.m-order .subtle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.m-order .m-test { display: inline-block; margin: 0 0 4px; }
.m-oright .subtle { white-space: nowrap; }
.m-card { overflow-x: auto; }
.m-open { min-width: 3.4em; }
.m-final .btn[disabled] { opacity: .5; }
/* Brief SH1-D: the Black Friday line at Sell */
.m-offer { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #fdecef; color: #9b0020; font-weight: 700; }
