/* My entries v0.34; administration retains its existing review table. */
.portal-app .order-card{padding:0;box-shadow:none;overflow:visible}
.order-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px;min-height:0;border:0;background:transparent}
.order-title{min-width:0;overflow-wrap:anywhere}
.order-title h2{font-size:22px;margin:0 0 7px;line-height:1.3}
.order-meta{font-size:13px;color:var(--muted);margin:0 0 4px}
.order-reference{font-size:11px;color:var(--muted)}
.order-header-tools{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}
.order-statuses{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:flex-end}
.order-statuses>div{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.order-statuses>div>span:first-child{font-size:11px;color:var(--muted)}
.order-card .badge{white-space:normal;line-height:1.4}
.order-card .badge.withdrawn{color:var(--muted);background:#eee}
.order-card .badge.neutral{color:var(--muted);background:#f0f1f3}
.order-action-menu{position:relative;font-size:12px}
.order-action-menu>summary{font-size:12px;padding:7px 10px;color:var(--muted)}
.order-action-menu .action-menu-items{position:absolute;right:0;top:calc(100% + 4px);z-index:3;min-width:185px;max-width:270px;background:white;padding:6px;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 20px #20222b1a}
.order-action-menu .action-menu-items>button{width:100%;font-size:13px;text-align:left;white-space:normal}
.order-entry-table{table-layout:fixed;font-size:13px;margin:0}
.order-entry-table th{padding:10px 12px;font-size:10px;white-space:normal;overflow-wrap:normal;background:#f5f5f7}
.order-entry-table th:nth-child(1){width:28%;padding-left:24px}
.order-entry-table th:nth-child(2){width:10%}
.order-entry-table th:nth-child(3){width:13%}
.order-entry-table th:nth-child(4){width:13%}
.order-entry-table th:nth-child(5){width:10%}
.order-entry-table th:nth-child(6){width:14%}
.order-entry-table th:nth-child(7){width:12%}
.order-entry-table td{padding:12px;vertical-align:top;overflow-wrap:anywhere;border:0}
.order-entry-table td:first-child{padding-left:24px}
.order-entry-table td:last-child{padding-right:24px}
.order-entry-table tbody>tr:nth-child(even){background:#f6f6f8}
.order-entry-table td small{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5}
.order-entry-table td small.performance-outdated{color:#8b3c00}
.order-cell-athlete strong{font-size:13px}
.order-cell-actions>button{font-size:12px;padding:7px 10px}
.order-cell-label{display:none}
.order-performance>summary{width:fit-content;color:var(--ink);text-decoration:underline dotted;text-underline-offset:4px;font-variant-numeric:tabular-nums}
.order-performance>div{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.6}
.order-performance>div>*{display:block}
.order-roster,.order-athlete-extra{font-size:11px;color:var(--muted);margin-top:5px}
.order-roster summary,.order-athlete-extra summary{width:fit-content}
.order-roster ol{padding-left:20px;margin:7px 0 0;color:var(--ink)}
.order-roster li{margin-top:4px}
.order-roster li span{color:var(--muted)}
.order-athlete-extra p{margin:6px 0}
.order-status-note{margin:0;padding:10px 24px;font-size:12px;color:var(--muted)}
.order-note{margin:16px 24px;padding:12px 16px;border-left:3px solid var(--red);background:var(--paper);overflow-wrap:anywhere}
.order-note h3{font-size:13px;margin:0 0 5px}
.order-note p{margin:0;font-size:13px;white-space:pre-wrap}
.order-payment{padding:20px 24px;border-top:1px solid var(--line);border-radius:0 0 14px 14px;background:#fcfcfd}
.order-payment-due{border-left:3px solid var(--red);padding-left:21px}
.order-payment-main{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.order-amount>span{display:block;font-size:12px;color:var(--muted)}
.order-amount>strong{display:block;font-size:25px;letter-spacing:-.3px;margin-top:2px;font-variant-numeric:tabular-nums}
.order-payment-next{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}
.order-payment-deadline{font-size:12px;color:var(--muted);margin:0}
.order-payment-deadline>strong{display:block;color:var(--ink);margin-top:2px}
.order-payment-deadline.is-overdue,.order-payment-deadline.is-overdue>strong{color:#9b182f}
.order-payment-buttons{display:flex;gap:8px;flex-wrap:wrap}
.order-payment-buttons:empty{display:none}
.order-payment-buttons button{font-size:13px}
.order-payment-help{font-size:12px;color:var(--muted);margin:12px 0 0;max-width:110ch}
.order-payment-totals{font-size:13px;margin:12px 0 0}
.order-refund{padding:10px 12px;border-radius:6px;font-size:13px;margin:12px 0 0}
.order-payment-history{font-size:12px;margin-top:12px;color:var(--muted)}
.order-payment-history>summary{width:fit-content}
.order-payment-history ul{margin-bottom:0;padding-left:20px}
@media(max-width:1100px){
 .order-entry-table th,.order-entry-table td{padding-left:8px;padding-right:8px}
 .order-entry-table td:first-child,.order-entry-table th:first-child{padding-left:16px}
 .order-entry-table td:last-child{padding-right:16px}
 .order-cell-actions>button{padding:7px 8px}
 .order-card-header{flex-wrap:wrap}
 .order-header-tools{flex-direction:row;align-items:center;justify-content:space-between;width:100%}
 .order-statuses{justify-content:flex-start}
 .order-statuses>div{align-items:flex-start}
}
@media(max-width:900px){
 .order-card-header{padding:18px;gap:14px}
 .order-title h2{font-size:20px}
 .order-header-tools{align-items:flex-start;flex-wrap:wrap;gap:14px}
 .order-entry-table,.order-entry-table tbody{display:block}
 .order-entry-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .order-entry-table tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px 18px;border-top:1px solid var(--line)}
 .order-entry-table tbody>tr>td{display:block;padding:0;min-width:0}
 .order-cell-athlete{grid-column:1/-1}
 .order-cell-athlete strong{font-size:14px}
 .order-cell-label{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
 .order-cell-athlete .order-cell-label{display:none}
 .order-cell-actions>button{min-height:38px}
 .order-performance>summary{min-height:28px}
 .order-note{margin:12px 18px}
 .order-status-note{padding:10px 18px}
 .order-payment{padding:18px}
 .order-payment-due{padding-left:15px}
 .order-payment-main{align-items:flex-start;gap:14px}
 .order-payment-next{justify-content:flex-start;gap:12px;width:100%}
 .order-payment-buttons{width:100%}
 .order-payment-buttons button{flex:1;min-width:0;overflow-wrap:anywhere}
 .order-payment-buttons button[data-pay]{order:-1}
}
@media(max-width:430px){
 .order-card-header{padding:16px}
 .order-entry-table tbody>tr{padding:14px 16px}
 .order-statuses{gap:10px 12px}
 .order-statuses>div{min-width:0;max-width:100%}
 .order-statuses .badge{font-size:10px}
 .order-action-menu .action-menu-items{right:auto;left:0;max-width:calc(100vw - 72px)}
 .order-payment-buttons{flex-direction:column}
 .order-payment-buttons button{width:100%}
}
