/* Client Work page only (linked from build.js, Client Work page head).
   Project 01, AR Ledger: illustrative dashboard preview, capability cards and workflow.
   Reuses the shared .pm-* product-visual styles; adds nothing to src/styles.css. */

/* ---------- Dashboard preview ---------- */
.ar-stage { overflow: visible; }
.ar { border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.4); background: linear-gradient(180deg, rgba(14, 36, 78, 0.94), rgba(6, 12, 34, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 36px 70px -34px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(41, 151, 255, 0.5); }
.ar-body { display: grid; gap: 10px; padding: 10px; }
.ar .label { color: var(--fg3); }

.ar-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ar-stats .pm-card { padding: 10px 12px; }
.ar-num { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-num small { font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--fg2); }
/* Invoice classifications: Overdue (coral), Due Soon (amber), Not Yet Due (sky). */
.ar-stats .is-over { border-color: rgba(255, 122, 107, 0.45); }
.ar-stats .is-over .ar-num { color: #FF9A8D; }
.ar-stats .is-soon { border-color: rgba(242, 198, 109, 0.4); }
.ar-stats .is-soon .ar-num { color: #F2C66D; }
.ar-stats .is-later .ar-num { color: #58B6FF; }

.ar-inv ul, .ar-prio ul { margin: 0; padding: 0; list-style: none; }
.ar-inv li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: var(--space-3); padding: 7px 0; border-top: 1px solid rgba(201, 214, 234, 0.1); }
.ar-id { min-width: 0; display: grid; gap: 1px; }
.ar-id b { font-weight: 500; font-size: var(--text-small); color: #fff; line-height: 1.3; }
.ar-id span { font-size: 0.75rem; color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-amt { font-family: var(--font-mono); font-size: 0.8125rem; color: #fff; font-variant-numeric: tabular-nums; }
.ar-due { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.04em; color: var(--fg3); white-space: nowrap; }
.ar-inv .is-soon .pm-state { color: #F2C66D; border-color: rgba(242, 198, 109, 0.55); background: rgba(242, 198, 109, 0.1); }
.ar-inv .is-later .pm-state { color: #58B6FF; border-color: rgba(88, 182, 255, 0.5); background: rgba(88, 182, 255, 0.08); }

.ar-two { display: grid; gap: 10px; }
.ar-quote { font-size: 0.8125rem; line-height: 1.5; color: var(--fg2); font-style: italic; padding: 8px 10px; border-left: 2px solid rgba(88, 182, 255, 0.5); background: rgba(6, 5, 13, 0.35); border-radius: 0 6px 6px 0; }
.ar-insight { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 0.8125rem; line-height: 1.45; color: var(--fg2); }
.ar-insight b { font-weight: 500; color: #4DE8FF; }
.ar-spark { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, #4DE8FF, #2997FF); box-shadow: 0 0 10px rgba(77, 232, 255, 0.7); animation: av-glow 1.8s ease-in-out infinite alternate; }

/* Email analysis statuses: Pending, On Hold, Disputed; the identified one is lit. */
.ar-mst { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding-left: 18px; }
.ar-mst span { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(201, 214, 234, 0.2); color: var(--fg3); }
.ar-mst .is-on { color: #4DE8FF; border-color: rgba(77, 232, 255, 0.6); background: rgba(77, 232, 255, 0.12); box-shadow: 0 0 12px -2px rgba(77, 232, 255, 0.5); }

.ar-prio li { display: flex; align-items: center; gap: var(--space-3); padding: 7px 0; border-top: 1px solid rgba(201, 214, 234, 0.1); }
.ar-pill { flex: none; min-width: 64px; text-align: center; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid; }
.ar-prio .is-hi .ar-pill { color: #FF9A8D; border-color: rgba(255, 122, 107, 0.6); background: rgba(255, 122, 107, 0.12); }
.ar-prio .is-md .ar-pill { color: #F2C66D; border-color: rgba(242, 198, 109, 0.55); background: rgba(242, 198, 109, 0.1); }
.ar-prio .is-lo .ar-pill { color: #58B6FF; border-color: rgba(88, 182, 255, 0.55); background: rgba(88, 182, 255, 0.1); }

.ar-subj { font-size: var(--text-small); color: #fff; }
.ar-lines { display: grid; gap: 6px; margin: 10px 0; }
.ar-lines i { display: block; height: 6px; border-radius: 3px; background: rgba(201, 214, 234, 0.16); }
.ar-lines i:nth-child(2) { width: 88%; }
.ar-lines i:nth-child(3) { width: 56%; }
.ar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-tags span { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(201, 214, 234, 0.25); color: var(--fg2); }
.ar-tags span:first-child { color: #4DE8FF; border-color: rgba(77, 232, 255, 0.5); }

@media (min-width: 560px) { .ar-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 479px) {
  /* Phones: each count becomes one compact row, label left, number right. */
  .ar-stats { grid-template-columns: 1fr; gap: 6px; }
  .ar-stats .pm-card { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 8px 12px; }
  .ar-stats .ar-num { margin-top: 0; }
  .ar-inv li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .ar-due { grid-column: 1; grid-row: 2; }
  .ar-amt { grid-column: 2; grid-row: 1; text-align: right; }
  .ar-inv .pm-state { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* ---------- Text column ---------- */
.ar-hl { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h4); line-height: 1.35; color: #fff; margin-bottom: var(--space-3); }

/* ---------- Capabilities and workflow ---------- */
.ar-extra .ar-h { font-family: var(--font-mono); font-size: var(--text-label); font-weight: 400; color: var(--color-sky); margin: var(--space-8) 0 var(--space-4); }
.ar-extra .ar-h:first-child { margin-top: var(--space-6); }

.ar-caps { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .ar-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ar-caps li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .ar-caps { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ar-caps li:last-child { grid-column: auto; } }
.ar-caps li { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-4); border-radius: 12px; border: 1px solid var(--ln); background: linear-gradient(180deg, rgba(88, 182, 255, 0.08), rgba(6, 5, 13, 0.25)); transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.ar-caps li:hover { border-color: var(--color-sky); transform: translateY(-2px); box-shadow: 0 0 34px -14px rgba(41, 151, 255, 0.7); }
.ar-caps b { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; color: #fff; }
.ar-caps span:not(.ar-ico) { font-size: var(--text-small); line-height: 1.5; color: var(--fg2); }
.ar-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(77, 232, 255, 0.4); background: rgba(77, 232, 255, 0.08); margin-bottom: var(--space-1); }
.ar-ico svg { width: 20px; height: 20px; fill: none; stroke: #4DE8FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ar-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); counter-reset: none; }
.ar-flow li { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 12px 14px; border-radius: var(--radius-compact); border: 1px solid var(--ln); background: rgba(6, 5, 13, 0.3); font-size: var(--text-small); color: #fff; line-height: 1.35; }
.ar-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-mono); font-size: var(--text-label); color: #4DE8FF; border: 1px solid rgba(77, 232, 255, 0.5); background: var(--color-night); animation: ar-step 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ar-step { 0%, 30%, 100% { box-shadow: 0 0 0 0 rgba(77, 232, 255, 0); background: var(--color-night); color: #4DE8FF; } 10%, 20% { box-shadow: 0 0 16px 3px rgba(77, 232, 255, 0.5); background: #4DE8FF; color: var(--color-night); } }
/* Connectors: down arrows when stacked, right arrows in one row. */
.ar-flow li + li::before { content: ''; position: absolute; left: 28px; top: -9px; width: 1px; height: 8px; background: rgba(88, 182, 255, 0.6); }
@media (min-width: 900px) {
  .ar-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); }
  .ar-flow li { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .ar-flow li + li::before { left: auto; right: calc(100% + 6px); top: 50%; width: 12px; height: 1px; }
  .ar-flow li + li::after { content: ''; position: absolute; right: calc(100% + 5px); top: calc(50% - 3px); border: 3.5px solid transparent; border-left: 5px solid rgba(88, 182, 255, 0.8); border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ar *, .ar-flow * { animation: none !important; }
  .ar-caps li, .ar-caps li:hover { transition: none; transform: none; }
}

/* ======================================================================
   Project 02 onward: shared text link inside the project text column.
   ====================================================================== */
.cw-link { color: var(--color-sky); text-decoration: underline; text-decoration-color: rgba(88, 182, 255, 0.45); text-underline-offset: 3px; transition: color var(--dur-fast), text-decoration-color var(--dur-fast); }
.cw-link:hover { color: #4DE8FF; text-decoration-color: #4DE8FF; }

/* ======================================================================
   Project 02, BuddingKids Reading App: illustrative reading dashboard.
   Same frame as the AR Ledger preview; warm, playful accents inside it.
   ====================================================================== */
.rd-stage { overflow: visible; }
.rd { border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.4); background: linear-gradient(180deg, rgba(14, 36, 78, 0.94), rgba(6, 12, 34, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 36px 70px -34px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(41, 151, 255, 0.5); }
.rd .label { color: var(--fg3); }
.rd-body { display: grid; gap: 10px; padding: 10px; }
.rd-app { display: inline-flex; align-items: center; gap: 8px; }
.rd-logo { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #FFD08A, #FF8A7A); box-shadow: 0 0 12px rgba(255, 160, 120, 0.55); position: relative; }
.rd-logo::after { content: ''; position: absolute; inset: 5px 4px 4px; border-radius: 1px 1px 2px 2px; border: 1.5px solid #3A1D0F; border-top: 0; }
.rd-chip { border-color: rgba(255, 208, 138, 0.55); background: rgba(255, 208, 138, 0.1); }
.rd-chip i { background: #FFD08A; }

/* 21-day challenge: progress ring and day grid */
.rd-chal-in { display: flex; align-items: center; gap: var(--space-4); padding-top: 4px; }
.rd-ring { position: relative; flex: none; width: 96px; height: 96px; }
.rd-ring svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(255, 150, 120, 0.35)); }
.rd-arc { animation: rd-arc 1.4s var(--ease) both; }
@keyframes rd-arc { from { stroke-dasharray: 0 163.4; } to { stroke-dasharray: 93.4 163.4; } }
.rd-ring-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.rd-ring-t b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.rd-ring-t span { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg2); }
.rd-days { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rd-days li { aspect-ratio: 1; max-width: 30px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-mono); font-size: 0.625rem; color: var(--fg3); border: 1px solid rgba(201, 214, 234, 0.18); }
.rd-days .is-done { color: #3A1D0F; border-color: transparent; background: linear-gradient(135deg, #FFD08A, #FF9A7A); }
.rd-days .is-today { color: #fff; border-color: #4DE8FF; background: rgba(77, 232, 255, 0.14); animation: rd-today 1.8s ease-in-out infinite alternate; }
@keyframes rd-today { from { box-shadow: 0 0 0 0 rgba(77, 232, 255, 0); } to { box-shadow: 0 0 12px 2px rgba(77, 232, 255, 0.55); } }

/* Library shelf: illustrated covers, no titles */
.rd-shelf { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 112px; padding: 18px 6px 0; border-bottom: 3px solid rgba(255, 208, 138, 0.45); }
.rd-book { position: relative; flex: 1; min-width: 0; height: var(--h); border-radius: 4px 6px 2px 2px; background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: inset 4px 0 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.rd-book::before { content: ''; position: absolute; left: 50%; top: 22%; width: 42%; aspect-ratio: 1; transform: translateX(-40%); border-radius: 50%; background: rgba(255, 255, 255, 0.82); }
.rd-book::after { content: ''; position: absolute; left: 22%; right: 16%; bottom: 14%; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 -6px 0 rgba(255, 255, 255, 0.35); }
.rd-moon::before { background: transparent; box-shadow: inset -6px -2px 0 0 rgba(255, 255, 255, 0.9); }
.rd-star::before { border-radius: 0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rd-leaf::before { border-radius: 0 70% 0 70%; }
.rd-wave::before { border-radius: 50% 50% 8px 8px; height: 0; padding-bottom: 24%; aspect-ratio: auto; }
.rd-book.is-on { outline: 2px solid #4DE8FF; outline-offset: 2px; box-shadow: inset 4px 0 0 rgba(0, 0, 0, 0.18), 0 0 18px rgba(77, 232, 255, 0.6); animation: iv-float 3.6s ease-in-out infinite alternate; }
.rd-book em { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-style: normal; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-night); background: #4DE8FF; border-radius: 4px; padding: 1px 6px; }

/* Weekly reading activity */
.rd-two { display: grid; gap: 10px; }
.rd-wk { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rd-wk li { display: grid; justify-items: center; gap: 6px; }
.rd-wk i { width: 100%; max-width: 28px; aspect-ratio: 1; border-radius: 8px; border: 1px solid rgba(201, 214, 234, 0.18); display: grid; place-items: center; }
.rd-wk .is-done i { border-color: transparent; background: linear-gradient(135deg, #7EE2A8, #2E9E8F); }
.rd-wk .is-done i::after { content: ''; width: 9px; height: 5px; border: solid #0B2A24; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.rd-wk .is-today i { border-color: #4DE8FF; background: rgba(77, 232, 255, 0.12); animation: rd-today 1.8s ease-in-out infinite alternate; }
.rd-wk span { font-family: var(--font-mono); font-size: 0.625rem; color: var(--fg3); }
.rd-note { margin-top: 10px; font-size: 0.8125rem; color: var(--fg2); }
.rd-note b { font-weight: 500; color: #7EE2A8; }

/* Completion certificate artwork */
.rd-cert { display: flex; flex-direction: column; }
.rd-cert-art { position: relative; flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px; text-align: center; padding: 14px 10px 12px; border-radius: 8px; background: linear-gradient(160deg, #FFF6E2, #F5E2B5); border: 2px solid #E0B65A; box-shadow: inset 0 0 0 3px #FFF6E2, inset 0 0 0 4px rgba(224, 182, 90, 0.7), 0 10px 26px -12px rgba(255, 190, 110, 0.6); }
.rd-seal { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 2px; background: radial-gradient(circle at 35% 30%, #FF9A8D, #C9485B); box-shadow: 0 0 0 3px rgba(201, 72, 91, 0.2); animation: av-glow 2.4s ease-in-out infinite alternate; }
.rd-seal svg { width: 16px; height: 16px; fill: #FFF6E2; }
.rd-cert-k { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8A5A1C; }
.rd-cert-art b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; color: #142A55; }
.rd-cert-s { font-size: 0.6875rem; color: #5C4A2A; }
.rd-cert-line { width: 60%; height: 1px; margin-top: 6px; background: rgba(138, 90, 28, 0.45); }
.rd-lock { margin-top: 8px; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; color: #FFD08A; text-align: center; }

@media (min-width: 560px) { .rd-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 479px) {
  /* Card headings wrap as whole phrases instead of squeezing into narrow columns. */
  .rd .pm-h { flex-wrap: wrap; row-gap: 2px; }
  .rd .pm-h span { white-space: nowrap; }
  .rd-chal-in { flex-direction: column; align-items: stretch; }
  .rd-ring { align-self: center; }
  .rd-days li { max-width: none; }
  .rd-shelf { gap: 6px; height: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .rd * { animation: none !important; }
}

/* ======================================================================
   Project 03 onward: development status row and workflow step tag.
   Completed = mint; in progress or planned = dashed amber outline.
   ====================================================================== */
.cw-st { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-3); }
.cw-st + .cw-st { margin-top: var(--space-2); }
.cw-pill { flex: none; font-style: normal; font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid; }
.cw-pill.is-done { color: #7EE2A8; border-color: rgba(126, 226, 168, 0.55); background: rgba(126, 226, 168, 0.1); }
.cw-pill.is-plan { color: #F2C66D; border-style: dashed; border-color: rgba(242, 198, 109, 0.6); background: rgba(242, 198, 109, 0.06); }
.cw-step-tag { display: block; width: fit-content; margin-top: 6px; font-style: normal; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; color: #F2C66D; padding: 2px 6px; border-radius: var(--radius-pill); border: 1px dashed rgba(242, 198, 109, 0.6); }

/* ======================================================================
   Project 03, BuddingKids Inventory Management System:
   illustrative mobile book-entry screen beside a book-code tag and entry methods.
   ====================================================================== */
.be-stage { overflow: visible; }
.be { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 560px) { .be { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); } }

/* Phone */
.be-phone { position: relative; display: grid; gap: 8px; width: 100%; max-width: 280px; margin-inline: auto; padding: 26px 12px 14px; border-radius: 30px; border: 1px solid rgba(88, 182, 255, 0.45); background: linear-gradient(180deg, #0F2A5A, #071330); box-shadow: inset 0 0 0 5px #050B1E, inset 0 1px 0 5px rgba(255, 255, 255, 0.06), 0 36px 70px -30px rgba(0, 0, 0, 0.95), 0 0 60px -18px rgba(41, 151, 255, 0.55); }
.be-notch { position: absolute; top: 10px; left: 50%; width: 64px; height: 6px; transform: translateX(-50%); border-radius: 3px; background: #050B1E; }
.be-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.be-title { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: #fff; }
.be-lock svg { width: 16px; height: 16px; fill: none; stroke: #7EE2A8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.be-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: rgba(6, 5, 13, 0.55); border: 1px solid rgba(201, 214, 234, 0.1); }
.be-tabs span { text-align: center; padding: 5px 0; border-radius: 7px; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg3); }
.be-tabs .is-on { color: var(--color-night); background: linear-gradient(135deg, #4DE8FF, #58B6FF); box-shadow: 0 0 12px rgba(77, 232, 255, 0.45); }

.be-scan { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 90% at 50% 40%, rgba(41, 151, 255, 0.18), transparent 70%), #050B1E; display: grid; place-items: center; align-content: center; gap: 4px; }
.be-bars { width: 62%; height: 46px; border-radius: 3px; background-color: #F4F7FB; background-image: repeating-linear-gradient(90deg, #0A1638 0 2px, transparent 2px 4px, #0A1638 4px 5px, transparent 5px 8px, #0A1638 8px 11px, transparent 11px 13px, #0A1638 13px 14px, transparent 14px 17px); box-shadow: 0 0 0 5px #F4F7FB; }
.be-num { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.12em; color: #0A1638; background: #F4F7FB; padding: 0 6px 1px; margin-top: -2px; border-radius: 0 0 3px 3px; }
.be-line { position: absolute; left: 12%; right: 12%; top: 18px; height: 2px; background: #FF6B6B; box-shadow: 0 0 10px 2px rgba(255, 107, 107, 0.75); animation: be-scan 2.2s ease-in-out infinite alternate; }
@keyframes be-scan { to { transform: translateY(54px); } }
.be-c { position: absolute; width: 14px; height: 14px; border: 2px solid #4DE8FF; }
.be-c.be-tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.be-c.be-tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.be-c.be-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.be-c.be-br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.be-found { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid rgba(126, 226, 168, 0.35); background: rgba(126, 226, 168, 0.06); }
.be-cover { flex: none; position: relative; width: 38px; height: 50px; border-radius: 3px 5px 5px 3px; background: linear-gradient(160deg, #FFB86B, #E0613F); box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.2), 0 6px 12px -6px rgba(0, 0, 0, 0.7); }
.be-cover::before { content: ''; position: absolute; left: 30%; top: 22%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.be-cover::after { content: ''; position: absolute; left: 20%; right: 14%; bottom: 14%; height: 2px; background: rgba(255, 255, 255, 0.6); box-shadow: 0 -4px 0 rgba(255, 255, 255, 0.4); }
.be-meta { min-width: 0; display: grid; gap: 1px; }
.be-ok { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: #7EE2A8; }
.be-meta b { font-weight: 500; font-size: 0.8125rem; color: #fff; line-height: 1.3; }
.be-sub { font-family: var(--font-mono); font-size: 0.625rem; color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.be-row { display: flex; gap: 8px; }
.be-cell { flex: 1; display: grid; gap: 1px; padding: 7px 10px; border-radius: 10px; border: 1px solid rgba(201, 214, 234, 0.12); background: rgba(255, 255, 255, 0.04); }
.be-cell .label { font-size: 0.625rem; color: var(--fg3); }
.be-cell b { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; font-variant-numeric: tabular-nums; }
.be-cell.is-price b { color: #FFD08A; }
.be-cell.is-code { border-color: rgba(77, 232, 255, 0.4); background: rgba(77, 232, 255, 0.07); }
.be-cell.is-code b { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; color: #4DE8FF; }
.be-save { text-align: center; padding: 8px; border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: var(--color-night); background: linear-gradient(135deg, #4DE8FF, #58B6FF); box-shadow: 0 8px 20px -10px rgba(77, 232, 255, 0.9); }

/* Side cards */
.be-side { display: grid; gap: 10px; }
.be .label { color: var(--fg3); }
.be-tag { position: relative; display: flex; align-items: center; margin: 6px 4px 2px; padding: 12px 14px 12px 30px; border-radius: 6px 14px 14px 6px; background: linear-gradient(160deg, #FFF6E2, #F2DFB0); box-shadow: 0 12px 24px -14px rgba(255, 190, 110, 0.7); animation: iv-float 3.6s ease-in-out infinite alternate; }
.be-hole { position: absolute; left: 11px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #0A2342; box-shadow: inset 0 0 0 2px rgba(138, 90, 28, 0.35); }
.be-tag-b { display: grid; gap: 2px; }
.be-tag-b .label { font-size: 0.5625rem; color: #8A5A1C; }
.be-tag-b b { font-family: var(--font-mono); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.08em; color: #142A55; }
.be-mini { width: 92px; height: 14px; margin-top: 2px; background: repeating-linear-gradient(90deg, #142A55 0 1.5px, transparent 1.5px 3px, #142A55 3px 4px, transparent 4px 6.5px, #142A55 6.5px 8.5px, transparent 8.5px 10px); }
.be-ways ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.be-ways li { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; border: 1px solid rgba(201, 214, 234, 0.12); font-size: 0.8125rem; color: var(--fg2); }
.be-ways svg { flex: none; width: 18px; height: 18px; fill: none; stroke: #58B6FF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.be-ways .is-on { color: #fff; border-color: rgba(77, 232, 255, 0.5); background: rgba(77, 232, 255, 0.08); }
.be-ways .is-on svg { stroke: #4DE8FF; }

@media (max-width: 479px) {
  /* Card headings wrap as whole phrases instead of squeezing into narrow columns. */
  .be .pm-h { flex-wrap: wrap; row-gap: 2px; }
  .be .pm-h span { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .be * { animation: none !important; }
}

/* ======================================================================
   4th project, WooCommerce Automation Suite: illustrative store-automation
   dashboard. Order feed, stock alert, shipping update, daily sales, sales report.
   ====================================================================== */
.wc-stage { overflow: visible; }
.wc { border-radius: 14px; border: 1px solid rgba(88, 182, 255, 0.4); background: linear-gradient(180deg, rgba(14, 36, 78, 0.94), rgba(6, 12, 34, 0.96)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 36px 70px -34px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(41, 151, 255, 0.5); }
.wc .label { color: var(--fg3); }
.wc svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wc-body { display: grid; gap: 10px; padding: 10px; }
.wc-two { display: grid; gap: 10px; }
@media (min-width: 560px) { .wc-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wc-app { display: inline-flex; align-items: center; gap: 8px; }
.wc-logo { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: var(--color-night); background: linear-gradient(135deg, #B9A4FF, #7F54B3); box-shadow: 0 0 12px rgba(150, 110, 230, 0.55); }
.wc-logo svg { width: 14px; height: 14px; stroke-width: 2; }
.wc-id { min-width: 0; display: grid; gap: 1px; }
.wc-id b { font-weight: 500; font-size: var(--text-small); color: #fff; line-height: 1.3; }
.wc-id > span { font-size: 0.75rem; color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Order feed */
.wc-orders ul { margin: 0; padding: 0; list-style: none; }
.wc-orders li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3); padding: 7px 0; border-top: 1px solid rgba(201, 214, 234, 0.1); }
.wc-pay, .wc-st { font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(201, 214, 234, 0.25); color: var(--fg2); }
.wc-orders .is-ok .wc-pay { color: #7EE2A8; border-color: rgba(126, 226, 168, 0.5); background: rgba(126, 226, 168, 0.08); }
.wc-orders .is-ok .wc-st { color: #4DE8FF; border-color: rgba(77, 232, 255, 0.5); background: rgba(77, 232, 255, 0.08); }
.wc-orders .is-skip .wc-pay { color: #F2C66D; border-color: rgba(242, 198, 109, 0.55); }
.wc-orders .is-skip .wc-st { color: var(--fg3); border-style: dashed; }
.wc-orders .is-skip .wc-id b { color: var(--fg2); }
.wc-toast { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(139, 108, 255, 0.6); background: linear-gradient(180deg, rgba(35, 27, 82, 0.9), rgba(18, 14, 44, 0.9)); box-shadow: 0 0 30px -10px rgba(139, 108, 255, 0.6); animation: wc-toast 6s ease-in-out infinite; }
.wc-ti { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; background: rgba(139, 108, 255, 0.45); }
.wc-ti svg { width: 16px; height: 16px; }
.wc-toast b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: #fff; line-height: 1.3; }
.wc-toast span span { display: block; font-size: 0.75rem; color: var(--fg2); line-height: 1.4; }
@keyframes wc-toast { 0%, 100% { box-shadow: 0 0 30px -10px rgba(139, 108, 255, 0.6); } 50% { box-shadow: 0 0 36px -6px rgba(139, 108, 255, 0.85); } }

/* Stock alert */
.wc-prod { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.wc-thumb { flex: none; width: 34px; height: 40px; border-radius: 4px; background: linear-gradient(160deg, #FFD08A, #E0613F); box-shadow: inset 3px 0 0 rgba(0, 0, 0, 0.2), 6px -4px 0 -1px #58B6FF, 6px -4px 0 0 rgba(6, 12, 34, 0.6); }
.wc-meter { display: block; height: 6px; margin: 10px 0 8px; border-radius: 3px; background: rgba(201, 214, 234, 0.14); overflow: hidden; }
.wc-meter i { display: block; width: 16%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #FF8A7A, #F2C66D); box-shadow: 0 0 10px rgba(255, 138, 122, 0.6); animation: iv-blink 1.4s ease-in-out infinite alternate; }
.wc-done { display: flex; align-items: flex-start; gap: 8px; font-size: 0.75rem; line-height: 1.45; color: var(--fg2); }
.wc-done svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: #4DE8FF; }

/* Shipping update */
.wc-track { margin: 6px 0 10px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wc-track li { position: relative; display: grid; justify-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg3); text-align: center; }
.wc-track li + li::before { content: ''; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: rgba(201, 214, 234, 0.15); }
.wc-track li.is-done + li::before { background: linear-gradient(90deg, #7EE2A8, #4DE8FF); }
.wc-track i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(201, 214, 234, 0.3); background: #0B1A3E; }
.wc-track .is-done i { border-color: #7EE2A8; background: #7EE2A8; }
.wc-track .is-on { color: #fff; }
.wc-track .is-on i { border-color: #4DE8FF; background: #4DE8FF; animation: wc-ping 1.8s ease-out infinite; }
@keyframes wc-ping { from { box-shadow: 0 0 0 0 rgba(77, 232, 255, 0.6); } to { box-shadow: 0 0 0 8px rgba(77, 232, 255, 0); } }

/* Daily sales and report */
.wc-nums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 4px; }
.wc-nums > span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(201, 214, 234, 0.1); }
.wc-nums b { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wc-nums span span { font-size: 0.6875rem; color: var(--fg3); }
.wc-doc { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(88, 182, 255, 0.3); background: rgba(88, 182, 255, 0.06); }
.wc-doc-i { flex: none; display: grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; color: #58B6FF; background: rgba(6, 5, 13, 0.5); border: 1px solid rgba(88, 182, 255, 0.35); }
.wc-doc-i svg { width: 20px; height: 20px; }
.wc-doc-t { flex: 1; min-width: 0; display: grid; gap: 5px; }
.wc-doc-t b { font-weight: 500; font-size: 0.8125rem; color: #fff; line-height: 1.3; }
.wc-doc-t i { display: block; height: 5px; border-radius: 3px; background: rgba(201, 214, 234, 0.16); }
.wc-doc-t i:nth-of-type(2) { width: 82%; }
.wc-doc-t i:nth-of-type(3) { width: 56%; }

@media (max-width: 479px) {
  /* Card headings wrap as whole phrases; order rows wrap to two lines. */
  .wc .pm-h { flex-wrap: wrap; row-gap: 2px; }
  .wc .pm-h span { white-space: nowrap; }
  .wc-orders li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .wc-pay { grid-column: 1; grid-row: 2; justify-self: start; }
  .wc-st { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .wc * { animation: none !important; }
}
