:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24322d;background:#f2f4f1;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0}header{padding:20px max(24px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce5df;background:#fff}header>div{display:flex;gap:20px;align-items:center}.brand{font-size:23px;font-weight:700;letter-spacing:-1px}.muted,.small{color:#66776e}.small{font-size:12px}main{max-width:1150px;margin:40px auto;padding:0 24px}.intro,.list-heading,.order-heading,.pager{display:flex;justify-content:space-between;align-items:center;gap:16px}h1{font-size:30px;line-height:1.3;letter-spacing:-.6px;margin:8px 0 14px}h2{font-size:18px;margin:0 0 18px}h3{font-size:17px;margin:0}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#286b60}.card{background:#fff;border:1px solid #dce5df;border-radius:16px;padding:24px;margin:18px 0;box-shadow:0 3px 12px #143b2910}.login{max-width:520px;margin:80px auto}.login form{display:grid;gap:20px;margin:26px 0}label{display:grid;gap:7px;font-size:12px;font-weight:600}input{font:inherit;font-size:14px;border:1px solid #cdd8d0;padding:11px;border-radius:7px;background:#fff;min-width:0;width:100%;color:#24322d}input:focus{outline:2px solid #286b60;outline-offset:2px}button{font:inherit;cursor:pointer;border:1px solid #cbd8cf;border-radius:8px;padding:9px 15px;color:#254738;background:#fff;white-space:nowrap}button:hover{background:#edf5ef}button.primary{background:#286b60;border-color:#286b60;color:white;font-weight:600}button:disabled{opacity:.5;cursor:default}.danger{color:#9b2537}.notice{display:flex;flex-direction:column;gap:4px;background:#fff6e6;border:1px solid #e8d9b5;border-radius:10px;padding:16px 20px;margin:20px 0;color:#785314}.order-form{display:grid;grid-template-columns:1.2fr 1.2fr .8fr auto;gap:16px;align-items:end}.list-heading{margin-top:32px}.list-heading h2{margin:0}.badge{font-size:12px;border-radius:20px;padding:4px 12px;background:#edf1ec;color:#596a5e}.badge.paid{background:#e4f3e9;color:#226a46}.badge.refunded{background:#f9e9eb;color:#943144}.code-row{display:flex;gap:10px;max-width:700px;margin:18px 0}.code-row input{font-family:ui-monospace,monospace;font-size:12px;background:#f7faf7}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.footnote{margin:36px 0;color:#66776e;font-size:12px;max-width:800px}.pager{justify-content:center;margin:24px}.events{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f5f8f5;padding:14px;border-radius:8px}.empty{text-align:center;padding:48px;color:#66776e}.success,.error{padding:14px 18px;border-radius:8px;margin-bottom:18px}.success{background:#e1f1e6}.error{background:#fae8ec;color:#9b2537}[hidden]{display:none!important}@media(max-width:800px){.order-form{grid-template-columns:1fr 1fr}.intro,.list-heading{align-items:flex-start;flex-direction:column}.code-row{flex-wrap:wrap}main{margin-top:24px}.login{margin-top:32px}h1{font-size:25px}}@media(max-width:480px){.order-form{grid-template-columns:1fr}.card{padding:18px}.order-heading{align-items:flex-start;flex-direction:column}}

header a.brand{color:inherit;text-decoration:none}#pay{display:inline-block;background:#286b60;color:#fff;text-decoration:none;border-radius:8px;padding:11px 16px;font-weight:600}#reference{overflow-wrap:anywhere}

.manual-entry summary{cursor:pointer;font-size:16px;font-weight:650;display:flex;gap:16px;align-items:center}.manual-entry[open] summary{margin-bottom:20px}.order-tools{margin-top:20px}.status-filters{display:flex;gap:8px;flex-wrap:wrap}.status-filters button{border-radius:20px;font-size:12px;padding:7px 13px}.status-filters button[aria-pressed=true]{background:#286b60;color:#fff;border-color:#286b60}.search-form{display:flex;align-items:center;gap:10px;margin-top:18px}.search-form input{max-width:460px}.search-form label{white-space:nowrap}.order h3{overflow-wrap:anywhere;min-width:0}.order .badge{flex-shrink:0}.badge.active,.badge.pending{background:#e4f3e9;color:#226a46}.badge.unpaid{background:#fff3d9;color:#815a14}.badge.closed,.badge.archived{background:#edf0f2;color:#67747c}.order{padding:20px 24px}.order .actions{margin-top:12px}button:focus-visible,summary:focus-visible{outline:2px solid #286b60;outline-offset:3px}@media(max-width:600px){.search-form{flex-wrap:wrap}.search-form input{flex:1;min-width:170px}.manual-entry summary{align-items:flex-start;flex-direction:column;gap:4px}}
.source-row{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}.badge.trash{background:#fae8ec;color:#9b2537}.payment-deadline{border-left:4px solid #b78325}.payment-deadline strong{font-size:17px}.payment-deadline span{font-size:13px}

.trial-stats dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:690px;margin:0}.trial-stats dt{color:#66776e}.trial-stats dd{margin:0;font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.trial-stats p:last-child{margin-bottom:0}
.trial-stats details{margin-top:16px;border-top:1px solid #dce5df;padding-top:14px}.trial-stats summary{cursor:pointer;font-weight:650}.trial-stats table{width:100%;border-collapse:collapse;margin-top:12px;font-variant-numeric:tabular-nums}.trial-stats th,.trial-stats td{text-align:left;padding:8px 12px;border-bottom:1px solid #dce5df;vertical-align:top}.trial-stats th{color:#66776e}.trial-stats .pager{margin-bottom:0}

/* Purchase flow: keep only the current action prominent. Shared admin styles stay scoped. */
.purchase-main{max-width:620px;margin:48px auto;padding:0 20px}.purchase-card{padding:36px 38px;border-radius:20px}.purchase-card h1{font-size:32px;margin-bottom:4px}.purchase-subtitle{color:#66776e;margin:0 0 24px}.purchase-price{font-size:34px;font-weight:700;letter-spacing:-1px;line-height:1.3}.purchase-price span{display:block;font-size:13px;font-weight:400;letter-spacing:0;margin-top:8px;color:#66776e}.purchase-features{font-size:13px;margin:22px 0 28px;color:#52675d}.purchase-status{padding:14px 16px;background:#edf5f0;border-radius:10px;color:#286b60;font-size:14px;margin:24px 0}.purchase-card h2{font-size:18px;margin:24px 0 14px}.purchase-card .actions{margin-top:16px}.purchase-card label{margin-bottom:7px;font-size:13px}.purchase-card button,.purchase-card #pay{min-height:44px}.purchase-card .code-row{margin:10px 0 14px;flex-wrap:nowrap}.purchase-card .code-row input{font-size:11px}.purchase-card input[type=email]{font:inherit;min-height:46px}.purchase-card .small{font-size:12px;overflow-wrap:anywhere}.purchase-details{border-top:1px solid #e5ebe7;padding:16px 0 0;margin-top:18px;font-size:13px}.purchase-details summary{cursor:pointer;color:#52675d}.purchase-details[open] summary{margin-bottom:14px}.purchase-card .text-button{border:0;padding:0;min-height:36px;color:#52675d;text-decoration:underline;text-underline-offset:4px;background:transparent}.purchase-support{text-align:center;font-size:12px;color:#66776e}.purchase-support a{color:#286b60}.purchase-support span{display:block;margin-top:5px}.purchase-card form{display:grid;gap:10px;margin:14px 0}.purchase-card form button{justify-self:start}.purchase-card .history-row{display:flex;gap:8px}.purchase-card select{width:100%;min-width:0;font:inherit;border:1px solid #cdd8d0;border-radius:7px;padding:8px;background:#fff}.recovered-order{padding:16px 0;border-top:1px solid #e5ebe7;overflow-wrap:anywhere}.purchase-page a:focus-visible{outline:2px solid #286b60;outline-offset:3px}@media(max-width:480px){.purchase-main{margin:24px auto;padding:0 14px}.purchase-card{padding:26px 22px}.purchase-card h1{font-size:28px}.purchase-card .code-row{flex-wrap:wrap}.purchase-card .code-row input{flex-basis:100%;font-size:12px}.purchase-page header{padding:16px 20px}.purchase-price{font-size:32px}}

.activity-scroll{overflow-x:auto}.activity-stats table{min-width:850px}.activity-stats td{min-width:100px}.activity-stats td .small{margin-top:4px}.activity-stats th{white-space:nowrap}@media(max-width:480px){.activity-stats dl{gap:10px}.activity-stats dt{font-size:12px}}
