.orders-page {--type-muted:var(--muted);--type-secondary:var(--muted);--night-border:var(--separator);}
/* Orders share the club's graphite palette but use paperwork-like rhythm. */
.orders-page {display:grid;gap:1.15rem;min-width:0;padding:24px 0 12px;}
.orders-header {display:flex;align-items:end;justify-content:space-between;gap:.55rem;flex-wrap:wrap;border-bottom:1px solid var(--separator);padding-bottom:1rem;}
.orders-header h1 {margin:0;line-height:1.06;font-size:clamp(2rem,7vw,2.4rem);font-weight:680;letter-spacing:-.05em;}
.orders-preview-label {margin:0;color:var(--type-muted);font-size:.76rem;line-height:1.25;}
.orders-stage {display:grid;gap:1rem;min-width:0;}
.orders-intro {margin:0;color:var(--type-secondary);line-height:1.55;}
.orders-role-grid,.orders-stack {display:grid;gap:.75rem;min-width:0;}
.orders-role {display:grid;gap:.37rem;align-content:center;min-height:110px;padding:1.05rem 1.1rem;border:1px solid var(--night-border);border-radius:1.12rem;background:linear-gradient(145deg,#293642,#181f27 78%);box-shadow:inset 0 1px 0 #eff7ff12;color:var(--text);text-decoration:none;}
.orders-role-name {color:var(--accent);font-size:.77rem;font-weight:625;}
.orders-role-title {font-size:clamp(1rem, 4vw, 1.18rem);font-weight:660;letter-spacing:-.018em;}
.orders-role-copy,.orders-meta,.orders-note,.orders-empty {color:var(--type-secondary);line-height:1.5;overflow-wrap:anywhere;}
.orders-role-copy,.orders-meta,.orders-note {font-size:.87rem;}
.orders-mode {display:flex;gap:.35rem;flex-wrap:wrap;min-width:0;align-items:start;}
.orders-mode-link {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.45rem .65rem;background:var(--surface);border:1px solid var(--separator);border-radius:999px;color:var(--type-secondary);text-align:center;text-decoration:none;font-size:.81rem;font-weight:570;overflow-wrap:anywhere;}
.orders-mode-link[aria-current] {background:#334653;color:#eff8ff;border-color:#accbe37a;font-weight:670;}
.orders-card,.orders-empty {border:1px solid var(--separator);border-radius:1.05rem;background:#1a222b;padding:.9rem;min-width:0;overflow-wrap:anywhere;}
.orders-card h2,.orders-card h3 {margin:.04rem 0 .45rem;font-weight:650;}
.orders-card p {margin:.45rem 0;white-space:pre-wrap;}
.orders-pill {display:inline-flex;padding:.22rem .58rem;color:var(--accent);background:#253643;border:1px solid var(--separator);border-radius:999px;font-size:.76rem;line-height:1.25;}
.orders-form {display:grid;gap:.85rem;min-width:0;}
.orders-field {display:grid;gap:.36rem;min-width:0;font-size:.88rem;color:var(--type-secondary);}
.orders-page :is(input:not([type=checkbox]),textarea,select) {display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:.62rem .7rem;border:1px solid #91a9bd65;border-radius:.64rem;background:#10171e;color:var(--text);font:inherit;font-size:max(16px,1rem);}
.orders-page textarea {min-height:5rem;resize:vertical;}
.orders-actions {display:flex;gap:.55rem;flex-wrap:wrap;align-items:center;}
.orders-page .button {min-height:44px;white-space:normal;}
.orders-page [disabled] {opacity:.55;}
.orders-page input[type=checkbox] {width:1.1rem;height:1.1rem;accent-color:var(--accent);}
.orders-error {color:#ffd2ce;line-height:1.5;overflow-wrap:anywhere;}
.tabs.club-tabs.has-orders a {flex:1 1 0;padding-inline:3px;}
.tabs.club-tabs.has-orders a[data-tab="/collection"] {flex:1.35 1 0;}
@media (max-width:350px) {
  .tabs.club-tabs.has-orders {width:calc(100% - 12px);max-width:calc(100% - 12px);}
  .tabs.club-tabs.has-orders a {padding-inline:1px;font-size:.64rem;}
  .tabs.club-tabs.has-orders a[data-tab="/collection"] {flex:1.55 1 0;}
}
@media (forced-colors:active) {
  .orders-mode-link[aria-current] {outline:1px solid Highlight;}
  .orders-role,.orders-card,.orders-empty {border-color:CanvasText;}
}
