/* Account-first QPC. Shared page scroll and existing navigation are retained. */
#qpcAccounts .qpc-account-layout{display:block}#qpcAccounts .qpc-account-detail{display:none}
.qpc-hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.qpc-hub-stat{background:white;border:1px solid #dbe2ec;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:9px;min-width:0}
.qpc-hub-stat span{color:#526176;font-size:13px;font-weight:600}.qpc-hub-stat strong{font-size:23px;color:#172033;overflow-wrap:anywhere}.qpc-hub-stat small{font-size:13px;color:#526176;line-height:1.5}
.qpc-hub-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
#qpcAccounts .qpc-hub-action{text-align:left;border:1px solid #c8d2e1;border-radius:12px;padding:18px;background:#f6f8fc;display:flex;flex-direction:column;gap:8px;min-width:0}
.qpc-hub-action strong{font-size:16px}.qpc-hub-action small{font-weight:400;font-size:13px;line-height:1.5;color:#526176}
#qpcAccounts .qpc-w-card{padding:20px}#qpcAccounts .qpc-w-field textarea{min-height:76px}
#qpcAccounts .qpc-w-tabs{gap:8px}#qpcAccounts .qpc-w-body{padding:22px}
#qpcAccounts button:disabled,#qpcOrders button:disabled,#qpcOffers button:disabled{cursor:not-allowed}
#qpcAccounts [aria-busy=true] button:disabled,#qpcOrders[aria-busy=true] button:disabled{cursor:wait}
.qpc-order-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.qpc-order-steps li{padding:12px 14px;border-radius:10px;border:1px solid #dbe2ec;color:#526176;background:#f6f8fc;font-weight:600}
.qpc-order-steps li[data-state=current]{background:#eef2ff;border-color:#a5b4fc;color:#3730a3}.qpc-order-steps li[data-state=done]{background:#ecfdf5;color:#166534;border-color:#a7f3d0}
.qpc-order-guidance{padding:12px 14px;background:#eef2ff;border-left:3px solid #6366f1;color:#343965;font-size:14px;line-height:1.6;border-radius:6px}
.qpc-order-summary>summary,.qpc-order-support>summary,.qpc-order-events>summary{cursor:pointer;font-weight:650;line-height:1.5}
.qpc-order-support,.qpc-order-events{margin-top:22px;border-top:1px solid #dbe2ec;padding-top:18px}.qpc-order-support[open]>summary{margin-bottom:18px}
#qpcOrders .qpc-order-actions{justify-content:flex-start;margin:20px 0}.qpc-order-summary ul{columns:2;font-size:14px}
#qpcOrders .qpc-order-detail>p.qpc-order-note{margin:8px 0}#qpcOrders .qpc-order-summary{margin:16px 0;padding:16px}
@media(max-width:1000px){.qpc-hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.qpc-hub-stats,.qpc-hub-actions,.qpc-order-steps{grid-template-columns:1fr}.qpc-hub-stat{padding:16px}.qpc-hub-stat strong{font-size:21px}#qpcAccounts .qpc-w-body{padding:16px}.qpc-order-summary ul{columns:1}}

@media(max-width:650px){#qpcAccounts .qpc-w-header{flex-wrap:wrap}#qpcAccounts .qpc-w-header>div:first-child{flex:1 0 100%}#qpcAccounts .qpc-w-header h2{overflow-wrap:break-word}}

/* Compact account workspace: keep labels close to their values. */
#qpcAccounts .qpc-w-header{padding:14px 20px;gap:12px}#qpcAccounts .qpc-w-header h2{font-size:20px;margin:3px 0 0}
#qpcAccounts .qpc-w-tabs{padding:10px 20px}#qpcAccounts .qpc-w-body{padding:16px 20px}
#qpcAccounts .qpc-w-card{padding:16px;margin-bottom:14px}#qpcAccounts .qpc-w-card h3{margin-bottom:10px}
.qpc-hub-stats{gap:12px;margin-bottom:16px}.qpc-hub-stat{padding:14px 16px;gap:6px;border-radius:12px}.qpc-hub-stat strong{font-size:20px}
.qpc-hub-actions{gap:12px;margin:12px 0}#qpcAccounts .qpc-hub-action{padding:14px;gap:6px}
#qpcAccounts .qpc-w-field input,#qpcAccounts .qpc-w-field select{padding:9px 11px}
#qpcAccounts .qpc-w-grid{gap:14px}#qpcAccounts .qpc-w-field{gap:5px}
#qpcAccounts .qpc-hub-contact dl{display:grid;grid-template-columns:130px minmax(0,1fr);column-gap:18px;row-gap:8px;max-width:720px;margin:0;font-size:14px}
#qpcAccounts .qpc-hub-contact dt{color:#526176}#qpcAccounts .qpc-hub-contact dd{margin:0;text-align:left;overflow-wrap:anywhere;color:#172033}
@media(max-width:650px){#qpcAccounts .qpc-w-header,#qpcAccounts .qpc-w-body{padding:14px 16px}#qpcAccounts .qpc-w-tabs{padding:10px 16px}#qpcAccounts .qpc-hub-contact dl{grid-template-columns:105px minmax(0,1fr);column-gap:10px;font-size:13px}}

/* Consistent compact navigation controls. */
#qpcNavigation{gap:6px;margin-bottom:18px;padding-bottom:12px}
#qpcNavigation button{padding:8px 12px;font-size:13px;line-height:1.35;border-radius:8px;min-height:36px}
#qpcAccounts .qpc-w-tabs{gap:6px;padding:10px 16px}
#qpcAccounts .qpc-w-tabs button{padding:7px 11px;font-size:13px;line-height:1.35;border-radius:8px;min-height:34px;font-weight:600}
@media(max-width:650px){#qpcNavigation button{padding:8px 10px}#qpcAccounts .qpc-w-tabs{padding:9px 14px}#qpcAccounts .qpc-w-tabs button{padding:7px 10px}}

/* Compact form layout throughout the account workspace. */
#qpcAccounts .qpc-w-body{max-width:1240px;margin:0 auto;width:100%;box-sizing:border-box}
#qpcAccounts .qpc-w-grid{align-items:start}
#qpcAccounts .qpc-w-card form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;align-items:start;align-content:start}
#qpcAccounts .qpc-w-grid .qpc-w-card form{grid-template-columns:repeat(2,minmax(0,1fr))}
#qpcAccounts .qpc-w-card form.qpc-subscription-form{grid-template-columns:repeat(4,minmax(0,1fr))}
#qpcAccounts .qpc-subscription-form>.qpc-w-field:nth-child(-n+2){grid-column:span 2}
#qpcAccounts .qpc-w-field{margin:0;font-size:13px;line-height:1.45;gap:5px}
#qpcAccounts .qpc-w-field:has(textarea){grid-column:1/-1}
#qpcAccounts .qpc-w-field input,#qpcAccounts .qpc-w-field select{font-size:14px;line-height:20px;padding:7px 10px;min-height:36px;margin:0;border-radius:7px}
#qpcAccounts .qpc-w-field textarea{font-size:14px;line-height:20px;min-height:62px;height:62px;padding:8px 10px;margin:0;border-radius:7px}
#qpcAccounts .qpc-w-card>.qpc-account-note{margin:0 0 12px;line-height:1.5;font-size:13px}
#qpcAccounts .qpc-w-card form>.qpc-account-note,#qpcAccounts .qpc-w-card form>.qpc-w-message,#qpcAccounts .qpc-w-card form>.qpc-account-warning{margin:0;font-size:13px;line-height:1.5}
#qpcAccounts .qpc-w-card form>.qpc-w-actions{grid-column:1/-1;margin:0;gap:8px;flex-wrap:wrap}
#qpcAccounts .qpc-w-table-wrap th,#qpcAccounts .qpc-w-table-wrap td{padding:8px 10px}
#qpcAccounts .qpc-account-section{margin:0;padding:0;border:0}#qpcAccounts .qpc-account-section h3{font-size:14px;margin:0 0 8px}
#qpcAccounts .qpc-account-section dl{display:grid;grid-template-columns:160px minmax(0,1fr);gap:7px 16px;max-width:720px;margin:0}
#qpcAccounts .qpc-account-section dt,#qpcAccounts .qpc-account-section dd{margin:0;text-align:left;font-size:13px;overflow-wrap:anywhere}
#qpcAccounts .qpc-workspace-create .qpc-w-card form{grid-template-columns:1fr}
@media(max-width:1050px){#qpcAccounts .qpc-w-card form,#qpcAccounts .qpc-w-card form.qpc-subscription-form{grid-template-columns:repeat(2,minmax(0,1fr))}#qpcAccounts .qpc-subscription-form>.qpc-w-field:nth-child(-n+2){grid-column:auto}}
@media(max-width:700px){#qpcAccounts .qpc-w-card form,#qpcAccounts .qpc-w-grid .qpc-w-card form,#qpcAccounts .qpc-w-card form.qpc-subscription-form{grid-template-columns:1fr}#qpcAccounts .qpc-subscription-form>.qpc-w-field:nth-child(-n+2){grid-column:auto}#qpcAccounts .qpc-account-section dl{grid-template-columns:130px minmax(0,1fr);gap:7px 10px}}

#qpcAccounts .qpc-w-field>label{margin:0;font-size:13px;line-height:1.45}
