.side nav a{padding:14px 10px;border-radius:9px;text-decoration:none;font-size:14px}.side nav a.active{background:#f8ece7;color:var(--red)}.formal-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:10px 0 28px}.formal-hero h1{font-size:36px;font-weight:500;margin:8px 0}.formal-hero p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.formal-kicker{color:var(--red);font-size:11px;letter-spacing:3px}.service-state{border:1px solid var(--line);padding:10px 16px;border-radius:24px;background:#fff;font-size:12px;white-space:nowrap}.state-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#bba887;margin-right:7px}.service-state.ready .state-dot{background:#48724e}.setup-state{border-left:3px solid #b88842;background:#f1e6d5;padding:18px 22px;margin:0 0 24px;line-height:1.8;font-size:13px}.setup-state details{margin-top:8px}.setup-state ul{margin:6px 0}.formal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:30px 0 18px}.formal-filters{display:flex;gap:6px;flex-wrap:wrap}.formal-filters button{border:0;background:transparent;padding:9px 12px;min-height:36px;font-size:12px}.formal-filters .active{background:var(--ink);color:white}.formal-search{display:flex;gap:8px;align-items:center}.formal-search input{width:220px;min-height:38px}.formal-search button{white-space:nowrap}.formal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.formal-ticket{background:#fffdf9;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.formal-ticket-head{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 14px}.formal-ticket h2{font-size:30px;font-weight:500;letter-spacing:1px;margin:0}.formal-ticket time{display:block;font-size:11px;color:var(--muted);margin-top:8px}.payment-badge{padding:6px 9px;border-radius:5px;font-size:11px;background:#ece7df;white-space:nowrap}.payment-badge.paid{background:#e2eddf;color:#355436}.payment-badge.refund_pending,.payment-badge.refund_review{background:#f5e4d7;color:#944c2f}.formal-progress{padding:0 22px 16px;color:var(--red);font-size:13px}.formal-ticket-body{padding:0 22px;flex:1}.formal-item{border-top:1px dashed var(--line);padding:14px 0}.formal-item>div,.formal-total{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.6}.formal-item small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.formal-total{padding:17px 0 10px;border-top:1px solid var(--line);font-size:13px}.formal-total strong{font-size:20px;font-weight:500}.formal-ticket-footer{padding:0 22px 20px}.formal-ticket-footer .muted{font-size:11px;line-height:1.9}.formal-ticket-footer code{font-size:10px;word-break:break-all;color:#9d9082}.formal-ticket .ticket-actions{gap:7px;margin:12px 0}.formal-ticket button{font-size:12px;padding:8px 11px;min-height:36px}.formal-empty{padding:70px 24px;text-align:center;background:#fffdf9;border:1px dashed var(--line);border-radius:12px}.formal-empty strong{display:block;font-size:22px;font-weight:400;margin-bottom:12px}.formal-empty p,.result-scope{font-size:12px;color:var(--muted);line-height:1.8}.result-scope{margin-bottom:16px}.refund-amount{font-size:42px;font-weight:400;color:var(--red);margin:20px 0}.refund-explain{font-size:13px;line-height:1.8;color:var(--muted)}.modal-error{color:var(--red);font-size:13px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.formal-ticket .primary{background:var(--red);border-color:var(--red);color:#fff}.fatal{padding:24px;background:#f7e6de;color:#913e2b;border-radius:10px}.search-order{margin-bottom:20px}.search-order .formal-ticket{max-width:500px}@media(max-width:720px){.side nav a{white-space:nowrap;padding:8px;font-size:12px}.formal-hero{align-items:flex-start;gap:12px}.formal-hero h1{font-size:28px}.formal-hero p{max-width:215px}.service-state{font-size:10px;padding:8px 10px}.formal-search{width:100%}.formal-search input{width:auto;flex:1;min-width:0}.formal-grid{grid-template-columns:1fr}.formal-toolbar{gap:14px}.formal-ticket h2{font-size:28px}.setup-state{padding:14px 16px}.stats strong{font-size:32px}}
