/* Customer surface — product-page composition on matte nude. */
.c-shell { min-height: 100vh; display: flex; flex-direction: column; }
.c-top {
  display: flex; align-items: center; gap: 28px; max-width: 1440px; width: 100%; margin: 0 auto;
  padding: 18px 48px; min-height: 80px;
}
.c-brand { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.c-wm { height: 26px; width: auto; }
.c-label { font-size: 11px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line-2); }
.c-links { display: flex; gap: 4px; margin-left: auto; }
.c-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-weight: 560; font-size: 14px; color: var(--ink-2); }
.c-links a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1); }
.c-tools { display: flex; gap: 8px; align-items: center; }
.c-main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px 96px; }

/* Steps: a quiet checkout rail */
.c-steps { border-top: 1px solid var(--line); margin-bottom: 36px; }
.c-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-steps li a { display: flex; gap: 10px; align-items: center; min-height: 52px; font-size: 13.5px; font-weight: 560; color: var(--ink-3); border-top: 2px solid transparent; margin-top: -1px; }
.c-steps li a span { font-size: 11.5px; font-weight: 640; }
.c-steps li.done a { color: var(--ink-2); border-top-color: var(--line-2); }
.c-steps li.cur a { color: var(--ink); border-top-color: var(--ink); }
.c-steps-m, .c-steps-bar { display: none; }

/* Hero: brand plate + collection */
.c-hero { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 72px; align-items: start; }
.plate {
  position: sticky; top: 24px; border-radius: 20px; background: var(--page-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px var(--line);
  aspect-ratio: 5 / 6; display: grid; grid-template-rows: 1fr auto; overflow: hidden;
}
.plate-lid { display: grid; place-items: center; padding: 40px 40px 0; }
.lid { width: 100%; max-width: 380px; height: auto; color: var(--emb-mid); overflow: visible; }
.lid-drop { fill: rgba(60, 25, 20, .16); filter: blur(10px); }
[data-theme="dark"] .lid-drop { fill: rgba(0, 0, 0, .55); }
.lid-s0 { stop-color: var(--lid-s0); } .lid-s1 { stop-color: var(--lid-s1); }
.lid-r0 { stop-color: var(--lid-r0); } .lid-r1 { stop-color: var(--lid-r1); }
.lid-bevel { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.lid-ring-hi { stroke: var(--emb-hi); stroke-width: 1.2; }
.lid-ring-lo { stroke: var(--emb-lo); stroke-width: 1.2; }
.lid-text { fill: var(--lid-text); font-weight: 640; font-family: inherit; }
.emb-hi { color: var(--emb-hi); }
.emb-lo { color: var(--emb-lo); }
.emb-mid { color: var(--emb-mid); }
.lid-sheen { transform-box: view-box; transform-origin: 160px 160px; animation: sheen 14s linear infinite; opacity: .55; }
[data-theme="dark"] .lid-sheen { opacity: .16; }
@keyframes sheen { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.plate-cap { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: 11px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); border-top: 1px solid var(--line); }

.c-col { padding-top: 8px; min-width: 0; }
.c-col .display { margin: 14px 0 18px; }
.coll-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }

/* Product tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; text-align: left; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.tile.is-on { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--ink); }
.tile-sw { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.smear { width: 82%; height: auto; overflow: visible; }
.tile-no { position: absolute; left: 14px; top: 12px; font-size: 11px; font-weight: 640; letter-spacing: .04em; color: var(--ink-2); }
.tile-sel { position: absolute; right: 12px; top: 10px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 6px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 11px; font-weight: 640; letter-spacing: .03em; text-transform: uppercase; }
.tile-sel .ic { width: 13px; height: 13px; }
.tile-body { display: grid; gap: 10px; padding: 16px 18px 18px; }
.tile-name { font-size: 16.5px; font-weight: 560; letter-spacing: -.018em; line-height: 1.25; }
.tile-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }

/* Product detail panel */
.pdp {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.pdp-sw { background: var(--surface-2); display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); }
.pdp-sw { position: relative; }
.pdp-smear { width: 100%; transform: rotate(-8deg) scale(1.05); }
.pdp-cap { position: absolute; left: 18px; bottom: 14px; font-size: 10.5px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.pdp-body { padding: 26px 28px 28px; display: grid; gap: 18px; }
.pdp-name { font-size: 26px; font-weight: 480; letter-spacing: -.03em; line-height: 1.1; }
.spec { display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { font-size: 11px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.spec dd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.how { display: flex; align-items: center; gap: 0; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; row-gap: 6px; }
.how li { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.how li + li::before { content: ''; width: 22px; height: 1px; background: var(--line-2); margin: 0 10px; align-self: center; }
.how li b { color: var(--ink); font-weight: 620; }
.m-cta { display: none; }

/* Footer */
.c-foot { border-top: 1px solid var(--line); background: var(--page-2); }
.c-foot-in { max-width: 1440px; margin: 0 auto; padding: 36px 48px 40px; display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; font-size: 13px; }
.c-foot-wm { height: 20px; width: auto; margin-bottom: 10px; }
.c-foot-dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.c-foot-dl dt { font-size: 10.5px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.c-foot-dl a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.c-credit { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--line); }

.c-narrow { max-width: 1100px; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .c-top { padding: 12px 18px; gap: 10px; min-height: 64px; }
  .c-wm { height: 20px; }
  .c-label, .c-links, .screens-l { display: none; }
  .c-tools { margin-left: auto; }
  .screens summary { padding: 0; width: 44px; justify-content: center; }
  .c-main { padding: 0 18px 32px; }
  .c-steps { border: 0; margin-bottom: 18px; display: grid; gap: 8px; }
  .c-steps ol { display: none; }
  .c-steps-m { display: block; font-size: 12px; font-weight: 640; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
  .c-steps-bar { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .c-steps-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--ink); }
  .c-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plate { position: relative; top: 0; aspect-ratio: auto; }
  .plate-lid { padding: 22px 22px 20px; }
  .lid { max-width: 196px; }
  .plate-cap { display: none; }
  .c-col { padding-top: 0; }
  .c-col .display { font-size: 38px; margin: 8px 0 12px; }
  .lede { font-size: 16px; }
  .coll-head { margin: 32px 0 12px; flex-wrap: wrap; font-size: 12px; }
  .tiles { gap: 10px; }
  .tile { border-radius: 16px; }
  .tile-sw { aspect-ratio: 4 / 3; }
  .tile-body { padding: 12px 12px 14px; gap: 8px; }
  .tile-name { font-size: 14.5px; }
  .tile-where { display: none; }
  .tile-sel { right: 8px; top: 8px; padding: 0 7px 0 5px; }
  .tile-no { left: 10px; top: 9px; }
  .pdp { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .pdp-sw { padding: 6px 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pdp-body { padding: 20px 18px 22px; }
  .pdp-name { font-size: 23px; }
  .how { display: grid; gap: 6px; }
  .how li + li::before { display: none; }
  .how li { padding-left: 16px; position: relative; }
  .how li::after { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-2); }
  .m-cta {
    display: flex; position: sticky; bottom: 0; z-index: 20; gap: 12px; align-items: center; justify-content: space-between;
    margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--surface);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(40, 20, 15, .35);
  }
  .m-cta > div { display: grid; min-width: 0; font-size: 12px; }
  .m-cta-k { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-cta .btn { flex: none; }
  .c-foot-in { padding: 28px 18px 32px; grid-template-columns: minmax(0, 1fr); }
  .c-foot-dl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .c-foot-dl dd { overflow-wrap: anywhere; }
}

/* ---------- Checkout steps (02–04) ---------- */
.c-check { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.c-check-main { min-width: 0; }
.c-check-main > .h1 { margin: 10px 0 12px; }
.c-check-main > .lede { margin-bottom: 8px; }
.msum { display: none; }
.c-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.c-gap { margin-top: 14px; }
.sum { position: sticky; top: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; }
.sum-head { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.sum-sw { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: var(--surface-2); }
.sum-sw { overflow: hidden; }
.sum-sw .smear { width: 135%; max-width: none; }
.sum-head > div { display: grid; gap: 6px; justify-items: start; }
.sum-name { font-size: 17px; font-weight: 560; letter-spacing: -.02em; line-height: 1.25; }
.sum-dl { padding: 6px 18px; }
.sum-dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.sum-dl > div:last-child { border-bottom: 0; }
.sum-dl dt { font-size: 10.5px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.sum-dl .is-empty dd { color: var(--ink-3); }
.sum-note { display: flex; gap: 10px; padding: 14px 18px; background: var(--surface-2); font-size: 12.5px; color: var(--ink-2); }
.sum-note .ic { width: 16px; height: 16px; margin-top: 2px; }

/* Artist colourways */
.shades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.shade {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; text-align: left;
  padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s;
}
.shade:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.shade.is-on { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--ink); }
.shade-pan { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: var(--surface-2); }
.pan-lg { width: 70px; height: 70px; filter: drop-shadow(0 6px 8px rgba(60, 30, 20, .14)); }
.shade-body { display: grid; gap: 4px; font-size: 13px; min-width: 0; }
.shade-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shade-top b { font-size: 18px; font-weight: 560; letter-spacing: -.02em; }
.shade .tile-sel { position: static; margin-left: auto; }
.shade-hrs { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* When */
.when { display: grid; gap: 30px; margin-top: 24px; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.fs legend { padding: 0; margin-bottom: 12px; }
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { display: grid; grid-template-columns: 22px 1fr 20px; gap: 12px; align-items: start; text-align: left; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); min-height: 44px; transition: border-color .4s, box-shadow .4s, transform .4s; }
.opt > span { display: grid; gap: 3px; font-size: 13px; }
.opt b { font-size: 15px; font-weight: 600; }
.opt .ic { margin-top: 1px; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: 1px; }
.opt.is-on { border-color: var(--ink); box-shadow: var(--sh-2); transform: translateY(-2px); }
.opt.is-on .radio { border: 5px solid var(--ink); }
.addr { display: grid; gap: 8px; }
.addr .fine { display: flex; gap: 6px; align-items: center; }
.addr .fine .ic { width: 15px; height: 15px; }
.month { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 16px 18px 16px; display: grid; gap: 12px; }
.month-head { display: flex; justify-content: space-between; align-items: center; }
.month-head b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.month .icon-btn[disabled] { opacity: .4; }
.dgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dname { text-align: center; font-size: 10.5px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 4px; }
.dcell { position: relative; display: grid; place-items: center; min-height: 44px; border-radius: 12px; font-size: 14px; font-weight: 520; transition: background-color .3s; }
.dcell:not([disabled]):hover { background: var(--surface-2); }
.dcell i { position: absolute; bottom: 3px; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--copper); }
.dcell.is-past { color: var(--ink-3); opacity: .55; }
.dcell.is-off { color: var(--ink-3); background: repeating-linear-gradient(135deg, transparent 0 5px, var(--line) 5px 6px); }
.dcell.is-off span { text-decoration: line-through; }
.dcell.is-on { background: var(--btn); color: var(--btn-ink); box-shadow: var(--sh-2); }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { display: grid; gap: 1px; justify-items: start; padding: 10px 14px; min-height: 56px; border-radius: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 600; transition: transform .4s, box-shadow .4s, border-color .4s; }
.slot small { font-size: 11px; font-weight: 560; color: var(--ink-2); }
button.slot:hover { box-shadow: var(--sh-1); transform: translateY(-1px); }
.slot.is-na { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px), var(--surface-2); color: var(--ink-3); border-style: dashed; }
.slot.is-na small { color: var(--ink-3); }
.slot.is-on { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); box-shadow: var(--sh-2); transform: translateY(-2px); }
.slot.is-on small { color: var(--btn-ink); opacity: .8; }

/* Details form */
.form { display: grid; gap: 18px; margin-top: 26px; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12px; font-weight: 640; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 520; text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: 15px; box-shadow: inset 0 1px 2px rgba(60, 30, 20, .05); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.input-pre { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; }
.input-pre i { display: grid; place-items: center; padding: 0 12px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink-2); background: var(--surface-2); border-right: 1px solid var(--line); }
.input-pre input { border: 0; border-radius: 0; box-shadow: none; }
.drop { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: var(--surface-2); }
.drop b { font-size: 15px; font-weight: 600; }
.drop p { font-size: 13px; margin: 2px 0 12px; }
.obol-line { width: 100%; height: auto; color: var(--ink-2); }

/* Sent: product box */
.sent, .mng { max-width: 1344px; }
.sent-head, .mng-head { display: grid; gap: 12px; margin-bottom: 28px; }
.sent-head .lede b { color: var(--ink); font-weight: 600; }
.box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.box-front { position: relative; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 48px 32px 36px; text-align: center; background: linear-gradient(180deg, var(--page-2), var(--sunk)); border-right: 1px dashed var(--line-2); }
.box-flap { position: absolute; left: 24px; right: 24px; top: 14px; height: 0; border-top: 1px dashed var(--line-2); }
.box-wm { width: 190px; height: auto; }
.box-label { font-size: 10.5px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.box-sw { width: 78%; margin: 14px 0 4px; }
.box-sw .smear { width: 100%; }
.box-name { font-size: 19px; font-weight: 540; letter-spacing: -.02em; }
.box-size { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.box-back { padding: 26px 30px 26px; display: grid; gap: 16px; align-content: start; }
.box-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.box-status .st { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; }
.box-status .st-pending, .rq-hold .st-pending { background: color-mix(in srgb, var(--butter) 70%, transparent); color: var(--on-shade); }
[data-theme="dark"] .box-status .st-pending, [data-theme="dark"] .rq .st-pending { background: color-mix(in srgb, var(--butter) 18%, transparent); color: var(--ink); border: 1px dashed var(--butter-2); }
.box-status .st-declined { background: var(--surface-2); color: var(--ink-2); border: 1px dashed var(--line-2); }
.box-dl { display: grid; border-top: 1px solid var(--line); }
.box-dl > div { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.box-dl dt { font-size: 10.5px; font-weight: 640; letter-spacing: .045em; text-transform: uppercase; color: var(--ink-2); }
.batch { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.batch-no { font-size: 34px; font-weight: 500; letter-spacing: .02em; line-height: 1.1; margin: 4px 0 2px; }
.barcode { width: 150px; height: 46px; color: var(--ink); }
.sent-foot { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 24px; }
.sent-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.box-seal { position: absolute; right: 22px; top: 28px; width: 44px; height: 44px; color: var(--copper); opacity: .8; }
.box-seal .mono { width: 100%; height: 100%; }
.mlink { flex: 1 1 380px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 64px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); max-width: 620px; transition: box-shadow .4s, transform .4s; }
.mlink:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.mlink > span { display: grid; flex: 1; gap: 2px; font-size: 13px; min-width: 0; }
.mlink b { font-size: 15px; font-weight: 600; }

/* Manage */
.card { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 22px 24px; display: grid; gap: 14px; align-content: start; }
.mng-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mng-status { grid-row: span 2; }
.track { display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.track li:not(:last-child)::before { content: ''; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: var(--line-2); }
.track i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-3); background: var(--surface); }
.track i .ic { width: 15px; height: 15px; }
.track li > div { display: grid; font-size: 13px; padding-top: 4px; }
.track b { font-size: 15px; font-weight: 600; }
.track li.done i { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.track li.cur i { border: 1.5px dashed var(--ink); color: var(--ink); }
.track li:not(.done):not(.cur) b { color: var(--ink-2); }
.mng-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mng-cancel { grid-template-columns: 1fr auto; align-items: center; }
.mng-cancel p { font-size: 14px; margin-top: 6px; }
.btn-danger { border: 1px solid color-mix(in srgb, #B4455E 55%, transparent); color: #9B3049; background: transparent; }
[data-theme="dark"] .btn-danger { color: #F2A7B8; border-color: rgba(242, 167, 184, .5); }
.btn-danger:hover { background: color-mix(in srgb, #B4455E 8%, transparent); }

@media (max-width: 1100px) and (min-width: 761px) {
  .c-check { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 760px) {
  .c-check { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sum { display: none; }
  .msum { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 8px; margin-bottom: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
  .msum .sum-sw { border-radius: 10px; }
  .msum > div { display: grid; font-size: 12.5px; min-width: 0; }
  .msum b { font-size: 14px; font-weight: 600; }
  .c-check-main > .h1 { font-size: 30px; }
  .c-nav { position: static; }
  .c-nav .btn-primary { flex: 1; }
  .shades { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 20px; }
  .shade { grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; }
  .pan-lg { width: 54px; height: 54px; }
  .shade-top b { font-size: 16.5px; }
  .places { grid-template-columns: minmax(0, 1fr); }
  .month { padding: 14px 12px; }
  .dgrid { gap: 2px; }
  .times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot { padding: 9px 11px; }
  .form-2 { grid-template-columns: minmax(0, 1fr); }
  .drop { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .box { grid-template-columns: minmax(0, 1fr); }
  .box-front { border-right: 0; border-bottom: 1px dashed var(--line-2); padding: 34px 22px 26px; }
  .box-wm { width: 150px; }
  .box-back { padding: 20px 18px; }
  .box-dl > div { grid-template-columns: 68px 1fr; }
  .batch { grid-template-columns: minmax(0, 1fr); }
  .barcode { width: 100%; height: 36px; }
  .batch-no { font-size: 30px; }
  .sent-actions .btn { flex: 1 1 100%; }
  .sent-actions { width: 100%; }
  .box-seal { width: 36px; height: 36px; right: 16px; top: 22px; }
  .mng-grid { grid-template-columns: minmax(0, 1fr); }
  .mng-status { grid-row: auto; }
  .card { padding: 18px; }
  .mng-cancel { grid-template-columns: minmax(0, 1fr); }
  .mng-actions .btn { flex: 1 1 100%; }
}
