/* Warranty card + claim form (inc/wclaim/customer.php). My Account + Track Order only. 4/8 px grid; no JS;
   <details> closed by default and fixed badge/button heights = no layout shift. The courier logo card has its own
   file (courier-partners.css). Light only: the site theme has no dark mode, so a dark card would stand out. */
.ry-wc{--wc-bg:#fff;--wc-ink:#1D3357;--wc-mute:#6B7280;--wc-line:#E5E7EB;--wc-soft:#F3F7FC;--wc-ok:#1E7D3A;--wc-ok-bg:#E8F5EC;--wc-off:#6B7280;--wc-off-bg:#F1F2F4;--wc-red:#DF222A;--wc-warn-bg:#FFF8E5;
	margin:16px 0;padding:16px;border:1px solid var(--wc-line);border-radius:12px;background:var(--wc-bg);color:var(--wc-ink)}
.ry-wc-h{margin:0 0 8px;font-size:16px;line-height:24px;font-weight:800}
.ry-wc-lines{margin:0;padding:0;list-style:none}
.ry-wc-line{padding:12px 0;border-top:1px solid var(--wc-line)}
.ry-wc-line:first-child{border-top:0;padding-top:4px}
.ry-wc-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:inherit;text-decoration:none}
.ry-wc-name{flex:1 1 160px;min-width:0;font-size:14px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.ry-wc-num,.ry-wc time,.ry-wc-badge{font-variant-numeric:tabular-nums}
.ry-wc-badge,.ry-wc-pill,.ry-wc-chip{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:12px;font-size:12px;line-height:16px;font-weight:700;white-space:nowrap}
.ry-wc-badge.is-on{background:var(--wc-ok-bg);color:var(--wc-ok)}
.ry-wc-badge.is-off{background:var(--wc-off-bg);color:var(--wc-off)}
.ry-wc-pill{background:var(--c,#6B7280);color:#fff}
.ry-wc-chip{margin-top:4px;background:var(--wc-ok-bg,#E8F5EC);color:var(--wc-ok,#1E7D3A)}
.ry-wc-claim{margin-top:8px;padding:12px;border-radius:8px;background:var(--wc-soft)}
.ry-wc-dim{color:var(--wc-mute);font-size:12px;line-height:16px}
.ry-wc-steps{margin:8px 0 0;padding:0;list-style:none}
.ry-wc-steps li{display:grid;grid-template-columns:8px 1fr max-content;gap:8px;align-items:center;min-height:24px;font-size:13px;line-height:16px}
.ry-wc-steps time{color:var(--wc-mute);font-size:12px;white-space:nowrap}
.ry-wc-dot{width:8px;height:8px;border-radius:4px;background:var(--wc-ok)}
.ry-wc-steps li:last-child .ry-wc-dot{background:var(--c,var(--wc-ok))}
.ry-wc-steps li:last-child span:nth-child(2){font-weight:700}
.ry-wc-note,.ry-wc-addr,.ry-wc-awb{margin:8px 0 0;font-size:13px;line-height:20px}
.ry-wc-addr{padding:8px 12px;border-radius:8px;background:var(--wc-warn-bg)}
.ry-wc-msg{margin:0 0 8px;padding:8px 12px;border-radius:8px;background:#FDECEC;color:#8A1B1F;font-size:13px;line-height:20px}
.ry-wc-msg.is-ok{background:var(--wc-ok-bg);color:var(--wc-ok)}
.ry-wc a{color:var(--wc-red);font-weight:600}
.ry-wc-list a.ry-wc-row{color:inherit;font-weight:inherit}
.ry-wc details{margin-top:8px}
.ry-wc details>summary{list-style:none;cursor:pointer}
.ry-wc details>summary::-webkit-details-marker{display:none}
.ry-wc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border:1px solid var(--wc-red);border-radius:8px;background:var(--wc-bg);color:var(--wc-red);font-size:14px;line-height:20px;font-weight:700;cursor:pointer}
.ry-wc-btn.is-primary{background:var(--wc-red);color:#fff}
.ry-wc-btn.is-ghost{border-color:var(--wc-line);color:var(--wc-ink)}
.ry-wc-cancel>summary{display:inline-block;font-size:13px;line-height:24px;color:var(--wc-mute);text-decoration:underline}
.ry-wc-form form,.ry-wc-cancel form{display:grid;gap:8px;margin-top:8px}
.ry-wc-form label{font-size:13px;line-height:16px;font-weight:600}
.ry-wc-form select,.ry-wc-form textarea,.ry-wc-form input[type=file]{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--wc-line);border-radius:8px;background:var(--wc-bg);color:var(--wc-ink);font-size:16px;line-height:24px}
.ry-wc-form textarea{min-height:96px;resize:vertical}
.ry-wc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ry-wc-list .ry-wc-row:hover .ry-wc-name{text-decoration:underline}
.ry-track-card .ry-wc{margin:12px 0 0;padding:12px}
