/* TOC_REFUNDS_V1: quiet editorial controls, matched to existing order dashboard. */
.toc-refund-panel{order:0}.toc-refund-muted{color:#74776e;font-size:13px;line-height:1.6;margin:10px 0}.toc-refund-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.toc-refund-figures>div{border:1px solid #e9e7e0;padding:13px;display:grid;gap:6px;min-width:0}.toc-refund-figures span{color:#777870;font-size:11px}.toc-refund-figures strong{font-size:17px;overflow-wrap:anywhere}.toc-refund-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}.toc-refund-btn{border:1px solid #b5b8ad;background:#fff;color:#242924;padding:9px 14px;font:inherit;font-size:13px;cursor:pointer;border-radius:3px}.toc-refund-btn:hover:not(:disabled){background:#eeeae1}.toc-refund-btn:disabled{opacity:.45;cursor:not-allowed}.toc-refund-primary{background:#283a2e;color:#fff;border-color:#283a2e}.toc-refund-primary:hover:not(:disabled){background:#384c3d;color:#fff}.toc-refund-warning{background:#fbf3e8;color:#654e36;padding:12px;font-size:12px;line-height:1.6}.toc-refund-returned{border-top:1px solid #ece8e2;padding:12px 0;display:grid;gap:4px;font-size:12px}.toc-refund-returned span{color:#686b64}.toc-refund-history{list-style:none;margin:12px 0 0;padding:0}.toc-refund-history li{border-top:1px solid #e7e7e1;padding:12px 0;display:grid;gap:5px;font-size:12px}.toc-refund-history li div{display:flex;justify-content:space-between;gap:15px}.toc-refund-history li span,.toc-refund-history small{color:#777}.toc-refund-history code{font-size:10px;color:#777;overflow-wrap:anywhere}.toc-refund-dialog{border:1px solid #d8d7d0;border-radius:4px;box-shadow:0 18px 60px #0002;background:#fff;color:#252825;width:min(520px,calc(100vw - 30px));max-height:calc(100vh - 40px);overflow:auto;padding:22px}.toc-refund-dialog::backdrop{background:#15201899}.toc-refund-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.toc-refund-dialog-top h3{font:normal 26px Georgia,serif;margin:0}.toc-refund-form{display:grid;gap:12px}.toc-refund-field{display:grid;gap:6px;font-size:13px}.toc-refund-field input,.toc-refund-field select,.toc-refund-field textarea{border:1px solid #c9cdc4;background:#fff;border-radius:3px;padding:10px;color:#262626;box-sizing:border-box;width:100%;font:inherit}.toc-refund-field :is(input,select,textarea):disabled{background:#f4f4f1;color:#777}.toc-refund-check{display:flex;align-items:flex-start;gap:9px;font-size:13px}.toc-refund-check input{accent-color:#344b38}.toc-refund-actions{display:flex;justify-content:flex-end;gap:9px}.toc-refund-message{font-size:12px;color:#a03430;min-height:12px}.toc-refund-row-marker{font-size:11px;color:#85442c;margin-top:4px;display:block}
@media(max-width:690px){.toc-refund-figures{gap:5px}.toc-refund-figures>div{padding:9px}.toc-refund-figures strong{font-size:14px}.toc-refund-dialog{padding:16px}.toc-refund-toolbar .toc-refund-btn{flex:1}}

/* TOC_REFUND_STATUS_V2 — persistent order-level refund confirmation. */
.toc-refund-result{border:1px solid #d5ded5;border-left:3px solid #486854;background:#f6f8f4;padding:15px 17px;margin:14px 0 16px;display:grid;gap:7px}
.toc-refund-result strong{font-size:16px;line-height:1.35;color:#213b29}
.toc-refund-result p{margin:0;font-size:14px;line-height:1.5;color:#283f30}
.toc-refund-result small{color:#536457;font-size:12px}
.toc-refund-partial{background:#f8f8f5}
.toc-refund-processing{background:#fcf6ec;border-color:#e7dac4;border-left-color:#a88d58}
.toc-refund-processing strong,.toc-refund-processing p{color:#705527}
.toc-refund-history-title{font-size:13px;font-weight:600;margin:18px 0 2px}
.toc-refund-auto-note{font-size:11px;line-height:1.5;color:#787971;margin:14px 0 3px}
.toc-ob-status[hidden]{display:none!important}
