/* v12 · compact customer records and the shared administrative sales detail language. */
.t-customer-purchases,.t-customer-purchase-list,.t-customer-license-list,.t-customer-content-list{min-width:0}
.t-customer-purchases-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 13px}.t-customer-purchases-heading h2{font-size:15px;line-height:1.5;font-weight:550;margin:0;color:var(--t-text)}.t-customer-purchases-heading>span{font-size:10px;color:var(--t-muted);text-align:right}
#t-portal-main .t-customer-order-filter{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:8px;align-items:center;margin:0 0 16px;min-width:0}#t-portal-main .t-customer-order-filter>.t-btn{min-height:42px;gap:6px;font-size:12px;padding:9px 13px;border-radius:11px}.t-customer-order-filter>.t-btn>.t-icon{width:15px;height:15px}
.t-customer-purchase-list,.t-customer-license-list,.t-customer-content-list{display:grid;gap:10px}
.t-customer-purchase-row,.t-customer-license,.t-customer-content{border:1px solid var(--t-border-hover);border-radius:15px;background:linear-gradient(125deg,var(--t-soft),var(--t-card));box-shadow:0 3px 11px #0208120e,0 1px 0 #d9eaff05 inset;min-width:0;margin:0}
.t-customer-purchase-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:15px;align-items:center;padding:13px 16px}.t-customer-purchase-identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 9px;min-width:0}
.t-customer-purchase-identity h3,.t-customer-license h3{font-size:14px;line-height:1.45;font-weight:550;color:var(--t-text);letter-spacing:-.015em;margin:0;overflow-wrap:anywhere}.t-customer-order-id{font:450 10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--t-muted);letter-spacing:.01em;white-space:nowrap}.t-customer-purchase-identity>small{grid-column:1/-1;font-size:10px;line-height:1.5;color:var(--t-muted)}
.t-customer-purchase-amount{display:flex;align-items:center;gap:10px}.t-customer-purchase-amount>strong{font-size:15px;font-weight:550;letter-spacing:-.025em;white-space:nowrap;color:var(--t-text)}.t-customer-purchase-row .t-badge,.t-customer-license .t-badge{font-size:9px;line-height:1.45;padding:3px 7px;font-weight:550;white-space:nowrap}
#t-portal-main .t-btn.t-record-action{min-height:31px;width:auto;justify-self:end;gap:5px;padding:6px 9px;font-size:10px;font-weight:500;line-height:1.4;border-radius:8px;box-shadow:0 1px 0 #ffffff05 inset}.t-record-action .t-icon{width:13px;height:13px}
.t-customer-license{padding:14px 16px}.t-customer-license-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px;min-width:0}.t-customer-license-top>div{min-width:0}.t-customer-license h3{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}#t-portal-main .t-customer-license-top p{font-size:10px;line-height:1.6;color:var(--t-muted);margin:4px 0 0}
.t-customer-license .t-sale-codes{gap:6px}.t-customer-license .t-sale-codes>div{padding:4px 6px 4px 11px;background:var(--t-input);border-color:#ff914d29}.t-customer-license .t-sale-codes code{font-size:13px;min-width:0;white-space:normal;overflow-wrap:anywhere}.t-sale-codes code>small{font-size:9px;color:var(--t-muted);font-weight:400}
#t-portal-main .t-customer-license .t-sale-copy{width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:7px;color:var(--t-accent);background:#ff914d10;flex:none;box-shadow:none}.t-customer-license .t-sale-copy>.t-icon{width:14px;height:14px}
#t-portal-main .t-customer-license .t-sale-empty{font-size:11px;line-height:1.6;color:var(--t-muted);margin:0;padding:11px;border:1px solid var(--t-line);border-radius:10px;background:var(--t-input)}.t-customer-license>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid var(--t-line)}.t-customer-license>footer>span{font-size:9px;line-height:1.6;color:var(--t-muted);min-width:0}
#turbo-detail.t-customer-dialog{max-width:560px;background:linear-gradient(145deg,var(--t-soft),var(--t-card));border-color:var(--t-border-hover);border-radius:18px;box-shadow:0 24px 85px #02071180,0 1px 0 #d9eaff0a inset}.t-customer-order .t-sale-body{padding:17px}.t-customer-order .t-sale-section{padding:12px 13px}.t-customer-order .t-sale-status-strip{margin-bottom:10px}.t-customer-order .t-sale-empty{font-size:11px;line-height:1.65}.t-customer-order .t-sale-codes code{white-space:normal;overflow-wrap:anywhere;min-width:0}.t-customer-order .t-sale-data{margin:0}
#turbo-detail.t-customer-dialog .t-sale-topbar{padding:12px 16px}#turbo-detail.t-customer-dialog .t-sale-topbar>.t-close{position:relative;border-radius:50%;width:30px;height:30px;min-height:30px;border:1px solid var(--t-border-hover);background:var(--t-input);box-shadow:0 1px 0 #e3efff0a inset}#turbo-detail.t-customer-dialog .t-sale-topbar>.t-close::before{content:"";position:absolute;inset:-7px;border-radius:50%}#turbo-detail.t-customer-dialog .t-sale-topbar>.t-close .t-icon{width:15px;height:15px}
.t-customer-order .t-sale-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;padding-top:2px}#turbo-detail .t-customer-order .t-sale-actions .t-btn{width:100%;min-width:0;min-height:35px;padding:8px 9px;font-size:11px;line-height:1.4;font-weight:550;justify-content:center;border-radius:10px;white-space:normal;text-align:center}.t-customer-order .t-sale-actions .t-icon{width:14px;height:14px;flex:none}.t-customer-order .t-sale-technical{margin-bottom:10px}.t-customer-order .t-sale-technical summary{padding:1px}
.t-customer-content{padding:14px 16px}.t-customer-content-head{display:flex;gap:11px;align-items:center;min-width:0}.t-customer-content-head>img{display:block;width:44px;height:44px;object-fit:cover;border-radius:10px;border:1px solid var(--t-border-hover);flex:none}.t-customer-content-head>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;border:1px solid #ff914d22;background:#ff914d08;color:var(--t-accent);flex:none}.t-customer-content-head>div{min-width:0}.t-customer-content-head small{font-size:8px;font-weight:550;letter-spacing:.08em;color:var(--t-muted)}
#t-portal-main .t-customer-content h2{font-size:14px;line-height:1.5;font-weight:550;margin:3px 0 0;letter-spacing:-.015em;color:var(--t-text);overflow-wrap:anywhere}.t-customer-content-details{margin-top:11px;border-top:1px solid var(--t-line);padding-top:9px}.t-customer-content-details>summary{display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer;list-style:none;color:var(--t-muted);font-size:11px;font-weight:500;border-radius:4px}.t-customer-content-details>summary::-webkit-details-marker{display:none}.t-customer-content-details summary>.t-icon{width:13px;height:13px;transition:transform .18s}.t-customer-content-details[open] summary>.t-icon{transform:rotate(90deg)}
.t-customer-content-details>.t-content-body{font-size:12px;line-height:1.7;color:var(--t-text);padding-top:12px;overflow-wrap:anywhere}.t-customer-content .t-content-body :is(img,video,iframe){max-width:100%;height:auto;border-radius:9px}.t-customer-guide-image{display:block;max-height:360px;object-fit:contain;margin-bottom:12px}
.t-customer-download-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.t-customer-download-actions:empty{display:none}#t-portal-main .t-customer-download-actions>.t-btn{font-size:11px;min-height:34px;padding:7px 11px;border-radius:9px;font-weight:550}
.t-customer-download-code{display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid var(--t-border-hover);border-radius:9px;padding:3px 4px 3px 9px;background:var(--t-input);min-width:0}.t-customer-download-code>span{font-size:10px;color:var(--t-muted);min-width:0}.t-customer-download-code b{font:500 11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--t-text);overflow-wrap:anywhere}#t-portal-main .t-customer-download-code>.t-btn{width:28px;min-height:28px;padding:0;border:0;background:transparent;color:var(--t-accent)}.t-customer-download-code .t-icon{width:14px;height:14px}
.t-customer-content summary:focus-visible,.t-customer-purchase-row .t-btn:focus-visible,.t-customer-license .t-btn:focus-visible{outline:2px solid var(--t-accent);outline-offset:3px}
@media(max-width:760px){#t-portal-main .t-customer-order-filter{grid-template-columns:minmax(0,1fr) auto;gap:8px}.t-customer-order-filter>#t-order-search{grid-column:1;grid-row:1}.t-customer-order-filter>#t-order-status{grid-column:1/-1;grid-row:2}.t-customer-order-filter>.t-btn{grid-column:2;grid-row:1}.t-customer-purchase-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 14px}.t-customer-purchase-identity{grid-column:1;grid-row:1/3;display:block}.t-customer-purchase-identity>.t-customer-order-id{display:block;margin-top:4px}.t-customer-purchase-identity>small{display:block;font-size:9px;margin-top:5px}.t-customer-purchase-amount{flex-direction:column;align-items:flex-end;gap:5px}.t-customer-purchase-amount>strong{font-size:14px}.t-customer-purchase-row>.t-record-action{grid-column:2;grid-row:2}.t-customer-purchases-heading{align-items:center}.t-customer-purchases-heading>span{max-width:100px;font-size:9px}.t-customer-license,.t-customer-content{padding:13px 14px}}
@media(max-width:360px){.t-customer-purchase-row{padding:11px 12px;gap:7px}.t-customer-purchase-identity h3,.t-customer-license h3{font-size:13px}.t-customer-license,.t-customer-content{padding:12px}.t-customer-license .t-sale-codes code{font-size:11px}.t-customer-order .t-sale-body{padding:13px}#turbo-detail .t-customer-order .t-sale-actions .t-btn{font-size:10px}.t-customer-order .t-sale-actions{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}}
@media(prefers-reduced-motion:reduce){.t-customer-content-details summary>.t-icon{transition:none}}

.t-customer-order .t-sale-section{background:linear-gradient(135deg,var(--t-soft),var(--t-card));box-shadow:0 1px 0 #d9eaff06 inset}

.t-customer-detail-amount{display:grid;gap:6px;justify-items:end;flex:none}.t-customer-detail-amount>strong{color:var(--t-accent);font-size:25px;line-height:1.2;letter-spacing:-.035em;font-weight:600;white-space:nowrap}.t-customer-order .t-sale-hero{margin-bottom:12px}.t-customer-delivery-note{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--t-border-hover);background:var(--t-input);border-radius:12px;padding:11px 12px;margin-bottom:10px}.t-customer-delivery-note>.t-icon{width:16px;height:16px;flex:none;color:var(--t-accent);margin-top:2px}.t-customer-delivery-note strong{display:block;font-size:11px;font-weight:550;line-height:1.5;color:var(--t-text)}#turbo-detail .t-customer-delivery-note p{font-size:11px;line-height:1.6;color:var(--t-muted);margin:4px 0 0}.t-customer-order .t-sale-body{padding:14px}.t-customer-order .t-sale-technical{padding:9px 11px}
@media(max-width:360px){.t-customer-detail-amount>strong{font-size:22px}.t-customer-order .t-sale-body{padding:12px}}
