/* ==========================================================================
   Product mockups (de-identified recreations of the real tools)
   Each .mock is authored at a fixed pixel width and scaled by js/main.js
   ========================================================================== */
.mock { font-family: "IBM Plex Sans", var(--font); color: #1c2a40; background: #fff; line-height: 1.35; }
.mock * { letter-spacing: normal; }
.mono { font-family: var(--font-mono); }

/* --- Mock 1: dashboard launcher --- */
.mock-dash {
  width: 1180px; padding: 28px 30px 32px;
  background: linear-gradient(135deg, #eef3f9 0%, #f6f9fc 60%, #eaf0f8 100%);
  font-family: var(--font);
}
.mock-dash .md-title { font-size: 40px; font-weight: 900; color: #152c4f; letter-spacing: -.03em; line-height: 1; }
.mock-dash .md-sub { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: #2b5797; }
.md-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.md-tile {
  background: #fff; border-radius: 14px; border: 1px solid #e4eaf2;
  padding: 20px 20px 26px; box-shadow: 0 4px 14px -8px rgba(21, 44, 79, .25);
}
.md-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px -4px rgba(21,44,79,.5); }
.md-icon svg { width: 24px; height: 24px; }
.md-tile h6 { margin: 18px 0 0; font-size: 19px; font-weight: 800; color: #152c4f; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.2; }
.md-tile p { margin: 5px 0 0; font-size: 14px; color: #5b6b82; }

/* --- Mock 2: stock search --- */
.mock-stock { width: 1240px; padding: 16px; background: #f3f6fa; }
.ms-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ms-kpi { background: #fff; border: 1px solid #e1e7ef; border-radius: 10px; padding: 14px 16px; }
.ms-kpi .k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #4a5a73; text-transform: uppercase; }
.ms-kpi .v { font-family: var(--font-mono); font-size: 26px; font-weight: 600; margin-top: 2px; }
.ms-kpi .s { font-size: 11px; color: #8a96a8; }
.ms-panel { margin-top: 14px; background: #fff; border: 1px solid #e1e7ef; border-radius: 12px; overflow: hidden; }
.ms-tabs { display: flex; gap: 6px; padding: 12px 16px 0; }
.ms-tabs span { padding: 8px 14px; font-size: 13px; font-weight: 600; color: #4a5a73; border-radius: 8px 8px 0 0; }
.ms-tabs span.on { color: #152c4f; border: 1px solid #e1e7ef; border-bottom-color: #fff; background: #fff; }
.ms-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; border-top: 1px solid #e1e7ef; }
.ms-input, .ms-select {
  height: 38px; border: 1px solid #d5dde8; border-radius: 8px; padding: 0 12px;
  display: flex; align-items: center; font-size: 13px; color: #3c4b62; background: #fff;
}
.ms-input { width: 260px; color: #8a96a8; gap: 8px; }
.ms-select { width: 128px; justify-content: space-between; }
.ms-select::after { content: ""; border: 5px solid transparent; border-top-color: #6b7a90; margin-top: 5px; }
.ms-btn { height: 38px; padding: 0 18px; border-radius: 8px; display: flex; align-items: center; font-size: 13px; font-weight: 700; border: 1px solid #d5dde8; color: #152c4f; }
.ms-btn.pri { background: #2b64ad; color: #fff; border-color: #2b64ad; }
.ms-note { padding: 12px 16px; font-size: 11.5px; color: #4a5a73; background: #f7f9fc; border-top: 1px solid #e1e7ef; line-height: 1.5; }
.ms-note b { color: #1c2a40; }
.ms-count { text-align: right; font-size: 11px; color: #7a8799; padding: 6px 16px; background: #f7f9fc; font-family: var(--font-mono); }
.ms-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ms-table th {
  text-align: left; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #4a5a73; padding: 10px 10px; border-top: 1px solid #e1e7ef; border-bottom: 1px solid #e1e7ef; background: #fafbfd;
}
.ms-table th.gpo { background: #e7f7ec; color: #1c7a47; }
.ms-table td { padding: 10px 10px; border-bottom: 1px solid #edf1f6; vertical-align: middle; }
.ms-table td.gpo { background: #eefaf1; }
.ms-table tr:nth-child(even) td:not(.gpo) { background: #fbfcfe; }
.ms-img { width: 42px; height: 42px; border-radius: 6px; border: 1px solid #e1e7ef; display: grid; place-items: center; background: #fff; }
.ms-id { font-family: var(--font-mono); font-weight: 600; color: #1d3f72; }
.ms-desc b { display: block; font-weight: 600; color: #1c2a40; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ms-desc a { display: block; color: #2b64ad; font-size: 11.5px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ms-desc .tags { margin-top: 3px; font-size: 10.5px; color: #6b7a90; }
.ms-desc .tags i { font-style: normal; background: #edf1f6; padding: 1px 5px; border-radius: 4px; font-weight: 600; margin-right: 3px; }
.ms-c { text-align: center; }
.ms-qty b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.ms-qty span { font-family: var(--font-mono); font-size: 10.5px; color: #7a8799; }
.ms-cost b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 13.5px; }
.ms-cost span { font-size: 10px; color: #7a8799; font-family: var(--font-mono); }
.ms-margin b { display: block; font-family: var(--font-mono); color: #22945a; font-weight: 600; }
.ms-margin span { font-size: 10px; color: #7a8799; font-family: var(--font-mono); }
.ms-best b { display: block; font-family: var(--font-mono); color: #1c7a47; font-weight: 600; font-size: 13.5px; }
.ms-best span, .ms-uom span { display: block; font-size: 9.5px; font-weight: 700; color: #22945a; letter-spacing: .04em; }
.ms-uom b { font-weight: 700; font-size: 13px; }
.ms-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; font-family: var(--font-mono); }
.ms-pill.save { background: #d9f3e2; color: #1c7a47; border: 1px solid #b7e4c7; }
.ms-pill.none { background: #eef1f5; color: #8a96a8; font-family: var(--font); font-weight: 600; font-size: 10.5px; }
.ms-pill.ok { background: #dcf5e5; color: #1c7a47; font-family: var(--font); font-size: 11px; }
.ms-sup b { display: block; font-weight: 600; }
.ms-sup span { font-size: 11px; color: #7a8799; }
.ms-view { border: 1px solid #d5dde8; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: #152c4f; display: inline-block; }
.ms-dash { color: #b3bccb; }

/* --- Mock 3: CRM route planner --- */
.mock-route { width: 1240px; background: #f3f5f8; font-family: "IBM Plex Sans", var(--font); }
.mr-tabs { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; border-bottom: 1px solid #e3e8ef; }
.mr-tabs span { text-align: center; padding: 14px 0; font-size: 14px; font-weight: 600; color: #4a5a73; }
.mr-tabs span.on { color: #152c4f; box-shadow: inset 0 -2px 0 #2b64ad; }
.mr-tabs em { font-style: normal; font-size: 10.5px; background: #e6effb; color: #2b64ad; padding: 1px 6px; border-radius: 999px; margin-left: 4px; font-weight: 700; }
.mr-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.mr-left, .mr-right { background: #fff; border-radius: 12px; border: 1px solid #e3e8ef; overflow: hidden; }
.mr-start { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.mr-start b { font-size: 11px; letter-spacing: .08em; color: #4a5a73; }
.mr-start div { flex: 1; height: 34px; border: 1px solid #d5dde8; border-radius: 6px; display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: #4a5a73; }
.mr-tools { display: flex; gap: 8px; padding: 0 14px 12px; align-items: center; }
.mr-tools .search { flex: 1; height: 36px; border: 1px solid #d5dde8; border-radius: 6px; display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: #8a96a8; }
.mr-tools .sel { height: 36px; border: 1px solid #d5dde8; border-radius: 6px; display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: #1c2a40; }
.mr-tools .b { height: 30px; padding: 0 10px; border-radius: 5px; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; border: 1px solid #d5dde8; color: #152c4f; white-space: nowrap; }
.mr-tools .b.pri { background: #2b64ad; border-color: #2b64ad; color: #fff; }
.mr-count { font-size: 11.5px; color: #6b7a90; padding: 8px 14px; border-top: 1px solid #edf1f6; }
.mr-head { display: grid; grid-template-columns: 44px 1fr 1fr; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; color: #4a5a73; background: #fafbfd; border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; }
.mr-head span { padding: 9px 10px; }
.mr-group { font-size: 11px; font-weight: 700; color: #4a5a73; padding: 7px 14px; background: #eef2f7; letter-spacing: .03em; }
.mr-group em { font-style: normal; color: #8a96a8; font-weight: 600; }
.mr-row { display: grid; grid-template-columns: 44px 1fr 1fr; align-items: center; border-bottom: 1px solid #edf1f6; font-size: 13px; }
.mr-row > * { padding: 11px 10px; }
.mr-row .n { font-weight: 600; color: #1c2a40; }
.mr-row .a { color: #8a96a8; font-size: 12px; border-left: 1px solid #edf1f6; }
.mr-cb { width: 17px; height: 17px; border: 1.5px solid #9aa6b8; border-radius: 3px; margin-left: 4px; }
.mr-cb.on { background: #2b64ad; border-color: #2b64ad; position: relative; }
.mr-cb.on::after { content: ""; position: absolute; left: 4px; top: 0px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mr-sel { font-size: 12px; font-weight: 700; padding: 10px 14px; color: #1c2a40; }
.mr-map { position: relative; height: 380px; background: #eef1ea; overflow: hidden; }
.mr-map svg { width: 100%; height: 100%; }
.mr-maptoggle { position: absolute; top: 10px; left: 10px; display: flex; background: #fff; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: 15px; }
.mr-maptoggle span { padding: 8px 16px; color: #555; }
.mr-maptoggle span.on { color: #111; font-weight: 600; }
.mr-rtabs { display: grid; grid-template-columns: 1fr 1fr; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #6b7a90; text-align: center; border-bottom: 1px solid #edf1f6; }
.mr-rtabs span { padding: 10px 0; }
.mr-rtabs span.on { color: #2b64ad; box-shadow: inset 0 -2px 0 #2b64ad; }
.mr-stop { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #edf1f6; }
.mr-stop .i { width: 18px; height: 18px; border-radius: 50%; background: #2b64ad; color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; flex: none; }
.mr-stop .i.start { background: #6b7a90; }
.mr-stop .t { flex: 1; }
.mr-stop .t b { display: block; font-size: 13px; font-weight: 500; color: #1c2a40; }
.mr-stop .t span { font-size: 11.5px; color: #6b7a90; }
.mr-stop .t i { font-size: 13px; color: #1c2a40; }
.mr-stop .x { color: #d44; font-size: 14px; }
.mr-stop .grip { color: #9aa6b8; font-size: 14px; letter-spacing: -2px; }
.mr-totals { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 16px 14px; border-top: 1px solid #edf1f6; margin-top: 18px; }
.mr-totals div { text-align: center; }
.mr-totals b { display: block; font-family: var(--font-mono); font-size: 17px; font-weight: 600; color: #152c4f; }
.mr-totals span { font-size: 9.5px; letter-spacing: .12em; color: #6b7a90; font-weight: 700; }
.mr-totals .go { justify-self: end; background: #2b64ad; color: #fff; font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 5px; }
.mr-ask { position: absolute; right: 18px; bottom: 16px; background: #152c4f; color: #fff; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 16px -4px rgba(21,44,79,.5); display: flex; gap: 6px; align-items: center; }

/* --- Mock 4: customer ordering portal --- */
.mock-portal { width: 1240px; background: #fff; padding: 16px 18px 20px; font-family: "IBM Plex Sans", var(--font); }
.mp-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-tabs span { padding: 9px 13px; border: 1px solid #d5dde8; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: #1c2a40; }
.mp-tabs span.on { background: #152c4f; color: #fff; border-color: #152c4f; }
.mp-search { margin-top: 12px; display: flex; align-items: center; gap: 18px; }
.mp-search .s { flex: 1; height: 40px; border: 1px solid #c9d3e0; border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 14px; color: #6b7a90; }
.mp-search label { font-size: 13px; color: #4a5a73; display: flex; align-items: center; gap: 6px; }
.mp-search label i { width: 15px; height: 15px; background: #2b64ad; border-radius: 3px; display: inline-block; }
.mp-filters { margin-top: 12px; border-top: 1px solid #edf1f6; padding-top: 10px; }
.mp-fhead { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #4a5a73; }
.mp-fhead em { font-style: normal; background: #2b64ad; color: #fff; border-radius: 999px; padding: 0 7px; margin-left: 6px; }
.mp-fhead .clear { border: 1px solid #d5dde8; border-radius: 6px; padding: 7px 12px; font-size: 13px; letter-spacing: 0; color: #152c4f; }
.mp-frow { margin-top: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mp-frow label { display: block; font-size: 11.5px; color: #4a5a73; margin-bottom: 4px; }
.mp-frow .dd { height: 40px; border: 1px solid #d5dde8; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 14px; color: #1c2a40; font-weight: 500; }
.mp-frow .dd.on { border-color: #7aa6e0; box-shadow: 0 0 0 3px #e6effb; }
.mp-frow .dd::after { content: ""; width: 7px; height: 7px; border: solid #6b7a90; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-top: -4px; }
.mp-showing { font-size: 12px; color: #6b7a90; margin: 10px 0; }
.mp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mp-card { border: 1px solid #dbe2ec; border-radius: 6px; padding: 8px; }
.mp-img { height: 140px; background: #f6f8fb; border-radius: 4px; display: grid; place-items: center; }
.mp-id { margin-top: 8px; font-size: 13px; font-weight: 600; color: #1c2a40; }
.mp-ref { font-size: 10.5px; color: #2b64ad; font-weight: 700; }
.mp-est { display: inline-block; margin-top: 4px; background: #fbe7b5; color: #7a5200; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.mp-name { margin-top: 6px; font-size: 14px; font-weight: 700; color: #1c2a40; line-height: 1.25; height: 36px; overflow: hidden; }
.mp-cat { font-size: 11px; color: #6b7a90; margin-top: 2px; }
.mp-boxes { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mp-box { border: 1px solid #e3e8ef; border-radius: 4px; padding: 6px 8px; }
.mp-box small { display: block; font-size: 9.5px; font-weight: 700; color: #6b7a90; letter-spacing: .06em; }
.mp-box b { font-size: 12.5px; font-weight: 600; }
.mp-box .instock { display: inline-block; margin-top: 3px; background: #dcf5e5; color: #1c7a47; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .05em; }
.mp-box.cost { background: #eceff3; border-color: #cfd6e0; }
.mp-box.cost b { font-size: 11.5px; text-decoration: line-through; color: #6b7a90; }
.mp-box.cost b.nostrike { text-decoration: none; color: #1c2a40; }
.mp-box.gpo { background: #e3f7e9; border-color: #a9dfbb; }
.mp-box.gpo small { color: #1c7a47; }
.mp-box.gpo b { font-size: 11.5px; color: #1c7a47; }
.mp-add { margin-top: 8px; display: flex; gap: 5px; align-items: center; }
.mp-qty { display: flex; align-items: center; border: 1px solid #d5dde8; border-radius: 4px; font-size: 12px; }
.mp-qty span { padding: 5px 7px; }
.mp-uomsel { border: 1px solid #d5dde8; border-radius: 4px; font-size: 11.5px; padding: 5px 6px; }
.mp-addbtn { flex: 1; background: #2b64ad; color: #fff; font-size: 11.5px; font-weight: 700; text-align: center; padding: 7px 0; border-radius: 4px; }
.mp-sub { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mp-sub span { text-align: center; font-size: 11.5px; font-weight: 600; padding: 6px 0; border-radius: 4px; color: #1d3f72; }
.mp-sub .f { background: #dff0f7; border: 1px solid #b9dcea; }
.mp-sub .l { background: #bfe3ef; border: 1px solid #9fd1e2; }

/* Layout fixes so nothing wraps awkwardly inside the scaled mockups */
.ms-id, .ms-cost b, .ms-qty b, .ms-pill, .ms-sup span, .ms-select, .ms-input, .ms-btn { white-space: nowrap; }
.ms-select { width: auto; min-width: 128px; gap: 10px; }
.ms-input { width: 250px; }
.ms-desc .tags { white-space: nowrap; }
.mr-tools .search, .mr-tools .sel { white-space: nowrap; }
.mr-ask { bottom: auto; top: 8px; right: 12px; padding: 6px 12px; font-size: 12px; }
.mr-cb { display: block; }
.mr-tools { flex-wrap: wrap; }
.mr-tools .search { min-width: 200px; }
