/* Purchased-account delivery: the selected inline design, scoped to this page. */
.orders-page .order-delivery-slot{min-width:0;margin:18px 0}
.orders-page .inline-delivery-content>.account-delivery{border-top:1px solid var(--site-line)}
.orders-page .inline-delivery-content>.order-guide-links{padding-block:8px}
.order-delivery-loading,.order-delivery-error{font-size:14px;line-height:1.8;margin:16px 0;color:var(--portal-muted)}
.order-delivery-error{color:var(--site-error)}
.purchases-page{--site-bg:#000;--portal-border:#343b2d;--portal-muted:#b8c2ac}
.purchases-page .portal-main{width:calc(100% - 96px);max-width:1344px;margin-inline:auto}
.purchases-page .page-heading{padding:54px 0 44px}
.purchases-page .page-heading h1{font-size:40px;line-height:1.3;margin-bottom:14px}
.purchases-page .page-heading p{font-size:16px}
.purchases-page .owned-products{gap:32px}
.purchases-page .account-order{background:#0b1008;border-radius:16px;overflow:visible}
.purchases-page .account-order>header{padding:28px 40px 26px;gap:28px}
.purchase-order-summary{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 40px 26px;cursor:pointer;list-style:none}
.purchase-order-summary::-webkit-details-marker{display:none}
.purchase-summary-copy{display:block;min-width:0}
.purchase-order-title{display:flex;align-items:center;gap:16px;margin-top:14px;font-size:27px;line-height:1.4;font-weight:650}
.purchase-order-title img{width:32px;height:32px;object-fit:contain;flex:none}
.purchase-order-summary .account-introduction{display:block}
.purchase-summary-end{display:flex;align-items:center;gap:20px;flex:none}
.purchase-summary-end>.ph{font-size:20px;color:var(--site-accent);transition:transform 240ms cubic-bezier(.2,.8,.2,1)}
.account-order[open]>.purchase-order-summary .purchase-summary-end>.ph{transform:rotate(180deg)}
.account-order>.account-order-help{margin:0 40px;padding:12px 0 18px}
.purchase-order-summary:focus-visible{outline:2px solid var(--site-accent);outline-offset:4px;border-radius:12px}
.purchases-page .account-order .order-meta{font-size:13px;letter-spacing:.02em}
.purchases-page .account-order h2{display:flex;align-items:center;gap:16px;margin-top:14px;font-size:27px;line-height:1.4;font-weight:650}
.account-order h2 img{width:32px;height:32px;object-fit:contain;flex:none}
.account-introduction{font-size:15px;color:var(--portal-muted);line-height:1.8;margin:12px 0 0}
.purchase-status{display:flex;gap:24px;align-items:center;flex:none;flex-wrap:wrap;justify-content:flex-end}
.account-order .purchase-status .state-label{font-size:14px;border:1px solid #435130;border-radius:24px;padding:4px 14px;background:#1b260f}
.purchase-time{font-size:12px;color:var(--portal-muted);display:flex;gap:12px;align-items:center}
.purchase-time time{font-variant-numeric:tabular-nums}
.purchase-support{padding:0 24px 12px;text-align:right}
.purchase-support .quiet-link{font-size:12px}
.purchases-page .account-order .delivery-list{padding:0 40px}
.account-delivery{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;padding:28px 0 26px}
.account-delivery+.account-delivery{border-top:1px solid var(--site-line)}
.account-delivery h3{font-size:22px;font-weight:650;line-height:1.5;margin:0 0 20px}
.account-delivery h3 small{font-size:12px;font-weight:400;margin-left:12px;color:var(--portal-muted)}
.purchase-account-fields,.account-totp{min-width:0}
.totp-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:20px}
.account-delivery .totp-heading h3{margin:0}
.account-totp{border-left:1px solid #3a4331;padding-left:40px}
.account-field{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:67px;border-bottom:1px solid #343d2d;padding:10px 0}
.account-field-label{font-size:15px;color:#c6d1b8}
.account-field-value{font-family:var(--pixel-brand-font);font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;user-select:text}
.account-secret-visible .account-field-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;letter-spacing:.02em;line-height:1.8}
.account-field-actions{display:flex;align-items:center;gap:20px;flex:none}
.account-field-actions .text-button{color:var(--site-accent);font-size:14px;min-height:44px;padding:4px 0;min-width:32px;background:none}
.account-field-actions button:hover{text-decoration:underline;text-underline-offset:4px}
.account-secret summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;font-size:15px;color:#d4dfbb;min-height:60px}
.account-secret summary::-webkit-details-marker{display:none}
.account-secret summary .ph{font-size:16px}
.account-secret[open] summary .ph{transform:rotate(180deg)}
.account-secret-field{grid-template-columns:minmax(0,1fr) auto;padding-top:0}
.account-secret>p{font-size:12px;line-height:1.8;color:var(--portal-muted);margin:10px 0}
.account-field-notice{font-size:13px;line-height:1.8;color:var(--site-error);margin:10px 0 0}
.totp-caption{font-size:15px;color:#d8e0ce;display:flex;align-items:center;gap:12px}
.totp-demo{font-size:11px;line-height:1.4;padding:2px 8px;border:1px solid #3e4931;border-radius:4px;color:var(--site-accent)}
.totp-digits{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:56px;line-height:1.35;font-weight:600;letter-spacing:.055em;font-variant-numeric:tabular-nums;white-space:nowrap;margin:12px 0 10px}
.totp-validity{display:flex;align-items:center;gap:20px;margin:0 0 24px;min-height:24px}
.totp-dots{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));align-items:center;gap:clamp(3px,.6vw,8px);flex:1;min-width:0;max-width:300px;min-height:12px}
.totp-dots [data-totp-dot]{display:block;width:100%;max-width:8px;aspect-ratio:1;border-radius:50%;background:#505843}
.totp-dots [data-totp-dot].is-active{background:var(--site-accent)}
.totp-validity>span{font-size:12px;font-variant-numeric:tabular-nums;color:#c5d0b3;white-space:nowrap;min-width:92px;text-align:right}
.account-totp .totp-copy{min-height:54px;min-width:210px;font-size:16px;gap:12px;padding:12px 20px;border-radius:10px}
.account-totp .totp-copy .ph{font-size:21px}
.totp-hint{font-size:13px;line-height:1.8;margin:12px 0 0;color:var(--portal-muted)}
.totp-message{font-size:13px;line-height:1.8;margin:8px 0 0;color:#c8d5b0;min-height:3.6em;overflow-wrap:anywhere}
.totp-message:empty{visibility:hidden}
.account-totp .totp-retry{display:flex;align-items:center;gap:6px;min-height:44px;min-width:90px;justify-content:flex-end;font-size:14px;background:none;color:var(--site-accent);padding:0}
.totp-retry .ph{font-size:17px}
.totp-manual-copy,.account-copy-fallback{width:100%;min-height:48px;margin-top:12px;resize:none;font:16px/1.6 ui-monospace,monospace;background:#141c0e;color:var(--site-ink);border:1px solid #65734f;border-radius:6px;padding:8px}
.account-copy-fallback{grid-column:1/-1}
.purchase-copy-buffer{position:fixed;left:-10000px;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.totp-unavailable>.ph{color:#a5b88d;font-size:28px;margin:6px 0 12px;display:block}
.totp-unavailable h4{font-size:18px;margin:0 0 10px;font-weight:550}
.totp-unavailable p{font-size:14px;line-height:1.9;color:var(--portal-muted);max-width:35ch;margin:0}
.totp-unavailable .quiet-link{font-size:13px;margin-top:8px}
.purchases-page .account-order>footer{margin:0 40px;padding:14px 0;border-top:1px solid #3a4331}
.account-order .order-guide-links{gap:28px}
.account-order .order-guide-links a{font-size:14px;gap:9px}
.account-order .order-guide-links .ph{font-size:20px}
.account-order-help{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-12px 0 0;padding:0;color:var(--portal-muted)}
.account-order-help p{font-size:12px;line-height:1.8;margin:0}
.account-order-help a{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--site-accent);font-size:12px;flex:none}
.account-order-help .ph{font-size:18px}
.account-order:target{scroll-margin-top:24px}
.purchases-page .owned-products>.account-order-help{margin-inline:0}
@media(max-width:1100px){.account-order .purchase-time{display:none}.purchases-page .account-order>header{padding-inline:28px}.purchases-page .account-order .delivery-list{padding-inline:28px}.account-delivery{gap:26px}.account-totp{padding-left:26px}.account-field{grid-template-columns:70px minmax(0,1fr) auto;gap:10px}.account-field-actions{gap:12px}.totp-digits{font-size:48px}.totp-validity{gap:12px}.purchases-page .account-order>footer,.account-order-help{margin-inline:28px}.account-secret-field{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:760px){.purchases-page .portal-main{width:calc(100% - 40px);margin-inline:20px}.purchases-page .page-heading{padding:30px 0 26px}.purchases-page .page-heading h1{font-size:29px;max-width:none}.purchases-page .page-heading p{font-size:14px}.purchases-page .page-heading>.quiet-link{font-size:13px;margin-top:8px}.purchases-page .owned-products{gap:24px}.purchases-page .account-order>header{padding:22px 20px;display:block}.purchases-page .account-order h2{font-size:21px;gap:10px;margin-top:12px}.account-order h2 img{width:27px;height:27px}.purchases-page .account-order .order-meta{font-size:11px}.account-introduction{font-size:13px;line-height:1.9;margin-top:10px}.purchase-status{justify-content:flex-start;gap:14px;margin-top:14px}.account-order .purchase-status .state-label{font-size:12px;padding:2px 10px}.account-order .purchase-time{display:flex;font-size:11px;gap:8px}.purchases-page .account-order .delivery-list{padding-inline:20px}.account-delivery{grid-template-columns:minmax(0,1fr);gap:24px;padding:22px 0}.account-delivery h3{font-size:20px;margin-bottom:12px}.account-totp{border-left:0;border-top:1px solid #3a4331;padding:22px 0 0}.account-field{grid-template-columns:65px minmax(0,1fr) auto;gap:8px;padding:10px 0;min-height:70px}.account-field-label{font-size:13px}.account-field-value{font-size:14px}.account-field-actions{gap:10px}.account-field-actions .text-button{font-size:13px;min-width:28px}.account-secret summary{font-size:14px;min-height:52px}.account-secret-field{grid-template-columns:minmax(0,1fr) auto}.totp-digits{font-size:49px;margin-top:10px}.totp-caption{font-size:14px}.totp-validity{margin-bottom:20px}.account-totp .totp-copy{width:100%;min-width:0;min-height:52px}.totp-hint{font-size:12px}.purchases-page .account-order>footer{margin:0 20px;display:block;padding:14px 0 4px}.account-order .order-guide-links{gap:4px;display:grid;grid-template-columns:1fr}.account-order .order-guide-links a{font-size:14px}.account-order>footer>span{display:block;font-size:12px;color:var(--portal-muted);padding:8px 0}.account-order-help{display:block;margin:0 20px;padding-bottom:14px}.account-order-help p{font-size:12px}.account-order-help a{font-size:13px}.purchases-page .page-assistance{margin-top:30px}}
@media(max-width:360px){.account-field{grid-template-columns:1fr auto;gap:0 12px}.account-field-label{grid-column:1}.account-field-value{grid-column:1}.account-field-actions{grid-column:2;grid-row:1/3}.account-secret-field .account-field-actions{grid-row:auto}.totp-digits{font-size:43px}}
@media(max-width:1100px){.purchase-order-summary{padding-inline:28px}.account-order>.account-order-help{margin-inline:28px}}
@media(max-width:760px){.purchase-order-summary{padding:22px 20px;gap:12px;align-items:flex-start}.purchase-order-title{font-size:21px;gap:10px;margin-top:12px}.purchase-order-title img{width:27px;height:27px}.purchase-summary-end{gap:10px;align-items:flex-start;padding-top:4px}.purchase-order-summary .purchase-status{margin-top:0;gap:8px;flex-direction:column;align-items:flex-end;flex-wrap:nowrap}.purchase-order-summary .purchase-time{display:none}.purchase-order-summary .order-meta{overflow-wrap:anywhere}.purchase-order-summary .account-introduction{display:none}.account-order>.account-order-help{margin-inline:20px}}
@media(prefers-reduced-motion:reduce){.purchase-summary-end>.ph{transition:none}}

/* Owner-only key editing uses the existing delivery form language. */
.account-secret-saved{font-size:12px;line-height:1.8;color:var(--portal-muted);margin:8px 0 0;overflow-wrap:anywhere}
.account-secret-editor{padding:18px 0 8px}
.account-secret-editor label{display:block;font-size:15px;margin-bottom:10px}
.account-secret-editor input{display:block;width:100%;min-width:0;min-height:48px;padding:10px 12px;font:16px/1.6 ui-monospace,monospace;background:#141c0e;color:var(--site-ink);border:1px solid #65734f;border-radius:6px;box-sizing:border-box}
.account-secret-editor input:focus-visible{outline:2px solid var(--site-accent);outline-offset:3px}
.account-secret-editor>p{font-size:13px;line-height:1.8;color:var(--portal-muted);margin:10px 0}
.account-secret-editor-actions{display:flex;gap:12px 18px;flex-wrap:wrap;align-items:center}
.account-secret-editor-actions button{min-height:44px}
.account-secret-editor-actions .primary-button{font-size:14px;padding:10px 18px}
.account-secret-editor .account-secret-message{color:var(--site-accent);min-height:1.8em;overflow-wrap:anywhere}
[data-secret-form][hidden],[data-secret-sync][hidden],[data-totp-ready][hidden],[data-totp-unavailable][hidden],[data-totp-retry][hidden]{display:none!important}
