/* /css/myorder.css */
.mo { padding: 44px 0 80px; }
.mo-head { margin-bottom: 26px; }
.mo-eyebrow { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.mo-head h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.01em; line-height: 1.15; word-break: break-all; }
.mo-head p { color: var(--text-dim); margin-top: 6px; }
.mono-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.mo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.mo-main, .mo-side { display: grid; gap: 20px; min-width: 0; }
.mo-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.mo-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.mo-sub { color: var(--text-dim); font-size: .92rem; }
.mo-sub + .mo-sub { margin-top: 10px; }
.mo-sub a, .mo-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.mo-note { color: var(--text-dim); font-size: .9rem; margin-top: 14px; }
.mo-alert { border: 1px solid rgba(248,113,113,.35); background: var(--red-soft); color: #fecaca; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-size: .92rem; }
.mo-paid { color: var(--text-faint); font-size: .85rem; margin: 10px 0 16px; }
.mo-addr { color: var(--text-dim); line-height: 1.7; }
.mo-private { margin-top: 26px; color: var(--text-faint); font-size: .82rem; text-align: center; }

.mo-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.mo-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 2px; }
.mo-steps li::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: var(--border-strong); z-index: 0; }
.mo-steps li:first-child::before { display: none; }
.mo-steps li.done::before { background: var(--text); }
.mo-steps .dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--border-strong); background: var(--panel); display: flex; align-items: center; justify-content: center; }
.mo-steps .dot svg { width: 12px; height: 12px; color: var(--bg); }
.mo-steps li.done .dot { background: var(--text); border-color: var(--text); }
.mo-steps li.current .dot { background: var(--panel); border-color: var(--text); box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
.mo-steps li.current .dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--text); }
.mo-steps .lbl { font-size: .82rem; color: var(--text-faint); }
.mo-steps li.done .lbl { color: var(--text); }
.mo-steps li.current .lbl { font-weight: 700; }
.mo-steps .date { font-size: .74rem; color: var(--text-faint); margin-top: -4px; }

.mo-ship { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.mo-ship .k { display: block; font-size: .75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }
.mo-ship .v { font-size: .95rem; }
.mo-ship .btn { margin-left: auto; }

.rv { border-top: 1px solid var(--border); padding: 18px 0 4px; }
.rv:first-of-type { margin-top: 18px; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rv-product { font-weight: 700; }
.rv-product:hover { text-decoration: underline; text-underline-offset: 3px; }
.rv-state { font-size: .75rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-dim); white-space: nowrap; }
.rv-published { color: var(--text); border-color: rgba(255,255,255,.45); }
.rv-rejected { color: #fecaca; border-color: rgba(248,113,113,.4); }
.rv-saved { color: var(--text); background: var(--accent-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .9rem; margin: 6px 0 10px; }
.rv-edit summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: .92rem; padding: 6px 0; }
.rv-edit summary::-webkit-details-marker { display: none; }
.rv-edit[open] summary { margin-bottom: 8px; }
.rv-change { margin-left: auto; color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.rv-edit[open] .rv-change { display: none; }
.rv-mini span { color: var(--border-strong); }
.rv-mini span.on { color: var(--text); }

.rv-form { display: grid; gap: 14px; padding-bottom: 14px; }
.stars { border: 0; padding: 0; margin: 0; min-width: 0; }
.stars legend { float: left; width: 100%; font-size: .85rem; color: var(--text-dim); margin-bottom: 6px; }
.stars-row { clear: both; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 2rem; line-height: 1; color: var(--border-strong); cursor: pointer; padding: 2px; transition: color .12s, transform .12s; }
.stars-row label:hover, .stars-row label:hover ~ label, .stars-row input:checked ~ label { color: var(--text); }
.stars-row label:hover { transform: scale(1.12); }
.stars-row input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.stars-word { display: inline-block; margin-left: 10px; vertical-align: 8px; font-size: .88rem; color: var(--text-dim); }
.stars-word span { display: none; }
.stars:has(input[value="1"]:checked) .stars-word [data-n="1"],
.stars:has(input[value="2"]:checked) .stars-word [data-n="2"],
.stars:has(input[value="3"]:checked) .stars-word [data-n="3"],
.stars:has(input[value="4"]:checked) .stars-word [data-n="4"],
.stars:has(input[value="5"]:checked) .stars-word [data-n="5"] { display: inline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fld { display: grid; gap: 6px; }
.fld > span { font-size: .85rem; color: var(--text-dim); }
.fld em { font-style: normal; color: var(--text-faint); font-size: .78rem; margin-left: 4px; }
.fld input, .fld textarea, .mo-lookup-form input { width: 100%; background: var(--bg); border: 1px solid var(--border-strong); color: var(--text); border-radius: var(--radius-sm); padding: 11px 13px; font-size: .95rem; }
.fld textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.fld input:focus, .fld textarea:focus, .mo-lookup-form input:focus { outline: none; border-color: var(--accent); }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rv-fine { color: var(--text-faint); font-size: .8rem; }

.mo-lookup { max-width: 520px; margin: 0 auto; padding: 70px 0 100px; }
.mo-lookup h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 10px; letter-spacing: -.01em; }
.mo-lookup .mo-sub { margin-bottom: 22px; }
.mo-lookup-form { display: flex; gap: 10px; }
.mo-lookup-form .btn { flex-shrink: 0; }
.mo-fine { color: var(--text-faint); font-size: .82rem; margin-top: 14px; }
.mo-done { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 18px 0; }
.mo-done svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--text); margin-top: 2px; }
.mo-done p { color: var(--text-dim); }
.mo-done strong { color: var(--text); }

@media (max-width: 880px) {
    .mo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .mo { padding-top: 28px; }
    .mo-card { padding: 20px 16px; }
    .mo-steps .lbl { font-size: .72rem; }
    .mo-steps .date { display: none; }
    .mo-ship .btn { margin-left: 0; width: 100%; }
    .mo-lookup { padding-top: 40px; }
    .mo-lookup-form { flex-direction: column; }
}
.rv-new > summary { display: none; }
