.commerce-workspace .table-card{padding:20px}.commerce-workspace .table-card>h2:first-child{margin-top:0}.commerce-line{padding:1rem 0;border-bottom:1px solid var(--border,#dce3ed)}.commerce-line:last-child{border-bottom:0}.commerce-line h3,.commerce-line h4{margin:.4rem 0}.commerce-line p{overflow-wrap:anywhere}.commerce-line form{margin-top:.75rem}.commerce-line fieldset{border:1px solid var(--border,#dce3ed);border-radius:8px;padding:1rem;min-width:0}.commerce-line fieldset label{display:block;margin:.5rem 0}.commerce-line input[type=radio],.form-card input[type=checkbox]{width:auto;min-height:0;display:inline-block;margin-right:.5rem}.commerce-line textarea,.form-card textarea{min-height:90px}.commerce-line details{margin:.5rem 0}.commerce-line summary{cursor:pointer}.table-card p{overflow-wrap:anywhere}.form-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}@media(max-width:640px){.commerce-line .form-grid{grid-template-columns:minmax(0,1fr)}.commerce-line .button,.form-actions .button{width:100%}.commerce-line fieldset{padding:.75rem}}

/* Certizaje commerce: compact aligned controls and buyer summary. */
.commerce-workspace .commerce-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:6px}.commerce-workspace .commerce-section-heading h2{margin:0}.commerce-workspace .commerce-section-heading>a{white-space:nowrap;font-size:.92rem}.commerce-workspace .commerce-line{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(94px,auto);gap:22px;align-items:center;padding:18px 0}.commerce-workspace .commerce-line__service h3{margin:0;color:var(--foreground,#061a43)}.commerce-workspace .commerce-line__service p{margin:5px 0 0;color:var(--muted-foreground,#657286);font-size:.92rem}.commerce-workspace .commerce-line form{margin:0}.commerce-workspace .commerce-line__controls{display:grid;grid-template-columns:150px 80px auto auto;gap:10px;align-items:end}.commerce-workspace .commerce-line__controls label{display:grid;gap:5px;color:var(--foreground,#061a43);font-size:.82rem}.commerce-workspace .commerce-line__controls select,.commerce-workspace .commerce-line__controls input{box-sizing:border-box;width:100%;height:38px;min-height:38px;margin:0;padding:6px 9px}.commerce-workspace .commerce-line__controls input{text-align:center;font-variant-numeric:tabular-nums}.commerce-workspace .commerce-line__controls .button{height:38px;min-height:38px;width:auto;margin:0;padding:0 14px;white-space:nowrap}.commerce-workspace .commerce-remove{height:38px;border:0;background:transparent;color:var(--foreground,#061a43);text-decoration:underline;cursor:pointer;white-space:nowrap}.commerce-workspace .commerce-line__total{min-width:94px;text-align:right;font-variant-numeric:tabular-nums}.commerce-workspace .commerce-line__total small{display:block;margin-top:2px;color:var(--muted-foreground,#657286);font-size:.75rem}.commerce-workspace .commerce-total{display:flex;align-items:baseline;justify-content:flex-end;gap:16px;padding-top:16px;border-top:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-total strong{font-size:1.22rem}.commerce-workspace .commerce-buyer .muted{margin:.35rem 0 0}.commerce-workspace .commerce-buyer__identity{display:grid;gap:2px;text-align:right;font-size:.9rem}.commerce-workspace .commerce-buyer__identity span{color:var(--muted-foreground,#657286)}.commerce-workspace .commerce-buyer-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;margin-top:18px}.commerce-workspace .commerce-buyer-form .field{margin:0}.commerce-workspace .commerce-buyer-form__action{display:flex;align-items:end}.commerce-workspace .commerce-buyer-form__action .button{width:auto;margin:0;white-space:nowrap}.commerce-workspace .commerce-confirmed-buyer{margin-top:22px;padding-top:18px;border-top:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-confirmed-buyer h3{margin:0 0 14px}.commerce-workspace .commerce-confirmed-buyer dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:0}.commerce-workspace .commerce-confirmed-buyer dl>div{min-width:0}.commerce-workspace .commerce-confirmed-buyer dt{color:var(--muted-foreground,#657286);font-size:.78rem}.commerce-workspace .commerce-confirmed-buyer dd{margin:3px 0 0;overflow-wrap:anywhere}.commerce-workspace .commerce-training-link{margin-top:18px}
@media(max-width:820px){.commerce-workspace .commerce-line{grid-template-columns:1fr;gap:12px}.commerce-workspace .commerce-line__controls{grid-template-columns:minmax(0,1fr) 84px auto auto;width:100%}.commerce-workspace .commerce-line__total{text-align:left}.commerce-workspace .commerce-buyer-form{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-workspace .commerce-confirmed-buyer dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.commerce-workspace .commerce-section-heading{display:grid}.commerce-workspace .commerce-buyer__identity{text-align:left}.commerce-workspace .commerce-line__controls{grid-template-columns:1fr 82px}.commerce-workspace .commerce-line__controls .button{grid-column:1/-1;width:100%}.commerce-workspace .commerce-remove{grid-column:1/-1;justify-self:start}.commerce-workspace .commerce-buyer-form,.commerce-workspace .commerce-confirmed-buyer dl{grid-template-columns:1fr}.commerce-workspace .commerce-buyer-form__action .button{width:100%}.commerce-workspace .commerce-total{justify-content:space-between}}

/* Sales detail refinements. */
.commerce-workspace .commerce-detail{padding:24px}.commerce-workspace .commerce-detail__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.commerce-workspace .commerce-detail__header h2{margin:0}.commerce-workspace .commerce-detail__meta{margin:6px 0 0;color:var(--muted-foreground,#657286)}.commerce-workspace .commerce-detail__actions{display:flex;gap:10px}.commerce-workspace .commerce-detail__status{display:flex;align-items:center;gap:10px;padding:13px 0 18px;margin-bottom:4px;border-bottom:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-detail__status>span:first-child{color:var(--muted-foreground,#657286);font-size:.86rem}.commerce-workspace .commerce-detail__reference{margin-left:auto;color:var(--muted-foreground,#657286);font-size:.86rem}.commerce-workspace .commerce-detail__table{margin:18px 0}.commerce-workspace .commerce-detail__table table{margin:0}.commerce-workspace .commerce-detail__table th,.commerce-workspace .commerce-detail__table td{padding-top:13px;padding-bottom:13px}.commerce-workspace .commerce-detail__totals{display:flex;justify-content:flex-end;align-items:baseline;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-detail__totals strong{font-size:1.25rem}.commerce-workspace .commerce-confirmed-buyer{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start;margin-top:26px;padding:22px;border:1px solid var(--border,#dce3ed);border-radius:12px;background:var(--card,var(--surface,#fff))}.commerce-workspace .commerce-confirmed-buyer h3{margin:0;font-size:1rem}.commerce-workspace .commerce-confirmed-buyer dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px}.commerce-workspace .commerce-confirmed-buyer dl>div{padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,var(--border,#dce3ed) 72%,transparent)}.commerce-workspace .commerce-confirmed-buyer dt{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}.commerce-workspace .commerce-confirmed-buyer dd{font-size:.93rem;line-height:1.45}.commerce-workspace .commerce-transfer{margin-top:18px;padding:18px 20px;border:1px solid var(--border,#dce3ed);border-radius:12px}.commerce-workspace .commerce-transfer h3{margin:0 0 14px}.commerce-workspace .commerce-transfer dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 20px;margin:0}.commerce-workspace .commerce-transfer dt{color:var(--muted-foreground,#657286);font-size:.78rem}.commerce-workspace .commerce-transfer dd{margin:3px 0 0}.commerce-workspace .commerce-state-control{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid var(--border,#dce3ed);border-bottom:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-state-control>span{color:var(--muted-foreground,#657286);font-size:.88rem}.commerce-workspace .commerce-state-control__buttons{display:flex;flex-wrap:wrap;gap:9px}.commerce-workspace .commerce-state-control .button{width:auto;margin:0}.commerce-workspace .confirmation-dialog .field{margin-top:14px}.commerce-workspace .confirmation-dialog input[type=file]{margin-top:7px}.commerce-workspace .commerce-records{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-records h2{margin:0 0 12px;font-size:1rem}.commerce-workspace .commerce-records ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.commerce-workspace .commerce-records li{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--border,#dce3ed)}.commerce-workspace .commerce-records li:last-child{border-bottom:0}.commerce-workspace .commerce-records small{color:var(--muted-foreground,#657286);white-space:nowrap}@media(max-width:760px){.commerce-workspace .commerce-detail__header,.commerce-workspace .commerce-confirmed-buyer{display:grid}.commerce-workspace .commerce-detail__reference{margin-left:0}.commerce-workspace .commerce-detail__status{flex-wrap:wrap}.commerce-workspace .commerce-confirmed-buyer dl,.commerce-workspace .commerce-transfer dl{grid-template-columns:1fr 1fr}.commerce-workspace .commerce-records li{display:grid;gap:4px}.commerce-workspace .commerce-records small{white-space:normal}}@media(max-width:500px){.commerce-workspace .commerce-detail{padding:18px}.commerce-workspace .commerce-detail__actions .button{width:100%}.commerce-workspace .commerce-confirmed-buyer dl,.commerce-workspace .commerce-transfer dl{grid-template-columns:1fr}.commerce-workspace .commerce-state-control{align-items:flex-start;flex-direction:column}}

/* Enrollment checkout and receipt detail refinements. */
.commerce-workspace .commerce-confirm{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}.commerce-workspace .commerce-confirm h2{margin-top:0}.commerce-workspace .commerce-confirm__action form{margin:0}.commerce-workspace .commerce-confirm__action label{display:block;margin:0 0 10px;font-size:.88rem}.commerce-workspace .commerce-confirm__action .form-actions{justify-content:flex-end;margin:0}.commerce-workspace .commerce-detail__actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}.commerce-workspace .commerce-detail__status{padding-top:0}.commerce-workspace .commerce-detail__reference{margin-left:0}.commerce-workspace .commerce-payment-dialog dl{display:grid;gap:12px;margin:16px 0}.commerce-workspace .commerce-payment-dialog dt{color:var(--muted-foreground,#657286);font-size:.78rem}.commerce-workspace .commerce-payment-dialog dd{margin:3px 0 0}.commerce-workspace details.commerce-confirmed-buyer{display:block;padding:0;overflow:hidden}.commerce-workspace details.commerce-confirmed-buyer summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer;font-weight:650;list-style:none}.commerce-workspace details.commerce-confirmed-buyer summary::-webkit-details-marker{display:none}.commerce-workspace details.commerce-confirmed-buyer summary::after{content:'+';font-size:20px;color:var(--muted-foreground,#657286)}.commerce-workspace details.commerce-confirmed-buyer[open] summary{border-bottom:1px solid var(--border,#dce3ed)}.commerce-workspace details.commerce-confirmed-buyer[open] summary::after{content:'−'}.commerce-workspace details.commerce-confirmed-buyer dl{padding:18px 20px 20px;margin:0}.training-resources th:nth-child(2),.training-resources td:nth-child(2),.training-resources th:nth-child(3),.training-resources td:nth-child(3){text-align:center}.training-resources td:nth-child(2) .badge{justify-content:center}@media(max-width:760px){.commerce-workspace .commerce-confirm{grid-template-columns:1fr}.commerce-workspace .commerce-confirm__action .form-actions{justify-content:stretch}.commerce-workspace .commerce-confirm__action .button{width:100%}.commerce-workspace .commerce-detail__actions{justify-content:flex-start}}

/* Training enrollment state control. */
.training-enrollment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}.training-enrollment h3{margin:0 0 5px}.training-enrollment p{margin:4px 0}.training-enrollment__date{color:var(--muted-foreground,#657286);font-size:.86rem}.training-enrollment__form .form-grid{display:flex;align-items:end;gap:10px;margin:0}.training-enrollment__form .field{min-width:180px}.training-enrollment__form .button{white-space:nowrap}@media(max-width:760px){.training-enrollment{grid-template-columns:1fr}.training-enrollment__form .form-grid{align-items:stretch;flex-direction:column}.training-enrollment__form .field{min-width:0}.training-enrollment__form .button{width:100%}}
