/* Account pages: scoped to the customer workspace, including order details. */
body.n9-public .account-section{padding:32px 0 48px!important;background:var(--custom-background,#f5f7fc)}
body.n9-public .account-layout{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
body.n9-public .account-content{min-width:0!important;display:grid;gap:20px}
body.n9-public .account-content>.panel,body.n9-public .account-content>.stats-grid{margin:0!important}
body.n9-public .account-heading{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:16px!important;margin:0!important;padding:22px 24px;background:var(--custom-surface,#fff);border:1px solid #dde6f2;border-radius:16px}
body.n9-public .account-heading h1{font-size:25px!important;line-height:1.6!important;margin:0!important;overflow-wrap:anywhere}
body.n9-public .account-heading p{font-size:13px!important;color:#64748b;margin:8px 0 0!important}
body.n9-public .account-heading .kicker{margin:0 0 5px!important;font-size:12px!important}
body.n9-public .account-order-actions{display:flex!important;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin:0!important}
body.n9-public .account-order-actions form{margin:0!important}
body.n9-public .account-order-actions .btn{font-size:12px!important;min-height:44px!important;padding:10px 14px!important}
body.n9-public .account-sidebar{position:sticky!important;top:96px!important;align-self:start!important;border-radius:16px!important;background:#102b48!important;box-shadow:0 8px 25px #16345212!important;border:0!important}
body.n9-public .account-sidebar .account-user{display:flex;align-items:center;gap:10px;padding:20px 16px;border-bottom:1px solid #ffffff17}
body.n9-public .account-sidebar .account-user>span{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:#dbeafe!important;color:#1d4ed8!important;border-radius:12px}
body.n9-public .account-sidebar .account-user>div{min-width:0;flex:1}
body.n9-public .account-sidebar .account-user b{color:#fff!important;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
body.n9-public .account-sidebar .account-user small{display:block;direction:ltr;text-align:right;color:#b4c6dc!important;font-size:12px}
body.n9-public .account-sidebar nav{display:grid;gap:5px;padding:12px!important}
body.n9-public .account-sidebar nav>a,body.n9-public .account-sidebar nav button{display:flex!important;align-items:center;gap:10px;min-height:44px;padding:10px!important;color:#d6e3f3!important;font-size:13px!important;line-height:1.8!important}
body.n9-public .account-sidebar nav>a.active{background:#2563eb!important;color:#fff!important}
body.n9-public .account-sidebar nav>a:hover,body.n9-public .account-sidebar nav button:hover{background:#ffffff12!important;color:#fff!important}
body.n9-public .account-sidebar nav form{border-color:#ffffff20!important;margin:8px 0 0!important;padding-top:8px}
body.n9-public .account-content .order-detail-grid{grid-template-columns:minmax(0,1fr) 290px!important;gap:20px!important;align-items:start!important}
body.n9-public .account-content .order-detail-grid>div,body.n9-public .account-content .order-detail-grid>aside{min-width:0;display:grid;gap:20px}
body.n9-public .account-content .order-detail-grid .panel{padding:22px!important;margin:0!important;border-radius:16px!important}
body.n9-public .account-content .panel-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
body.n9-public .account-content h2,body.n9-public .account-content h3{font-size:18px!important;line-height:1.8!important;margin:0 0 12px!important}
body.n9-public .account-content .order-item{display:flex;justify-content:space-between;gap:16px;padding:18px 0;align-items:start}
body.n9-public .account-content .order-item>div{min-width:0;flex:1}
body.n9-public .account-content .order-item strong{font-size:14px!important;line-height:1.8!important}
body.n9-public .account-content .order-item>strong{white-space:nowrap}
body.n9-public .account-content .order-item small{display:block;font-size:12px!important;line-height:1.9!important;margin-top:4px}
body.n9-public .account-content .status{font-size:11px!important;line-height:1.7!important;padding:5px 9px!important}
body.n9-public .account-content .totals{display:grid;gap:12px;margin-top:12px;border-top:1px solid #e1e8f2;padding-top:18px;max-width:none!important;width:100%!important}
body.n9-public .account-content .totals>div{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0!important;font-size:13px;line-height:1.9}
body.n9-public .account-content .totals>div:last-child{padding-top:12px;border-top:1px solid #e1e8f2}
body.n9-public .account-content .totals strong{font-size:19px!important;color:var(--custom-primary,#2563eb)!important}
body.n9-public .account-content .stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.n9-public .account-content .stat-card{display:grid;gap:8px;padding:20px;background:var(--custom-surface,#fff);border:1px solid #dde6f2;border-radius:16px;text-align:center;justify-items:center}
body.n9-public .account-content .stat-card strong{font-size:24px!important;line-height:1.5!important}
body.n9-public .account-content .data-list>a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;flex-wrap:wrap}
body.n9-public .account-content .form-stack{display:grid;gap:14px;margin-top:18px}
@media(max-width:1150px){body.n9-public .account-content .order-detail-grid{grid-template-columns:minmax(0,1fr)!important}body.n9-public .account-content .order-detail-grid>aside{grid-template-columns:repeat(2,minmax(0,1fr))}body.n9-public .account-content .order-detail-grid>aside>.panel{min-width:0}}
@media(max-width:850px){body.n9-public .account-layout{grid-template-columns:minmax(0,1fr)!important}body.n9-public .account-sidebar{position:static!important;top:auto!important}body.n9-public .account-sidebar nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body.n9-public .account-sidebar nav form{grid-column:1/-1}body.n9-public .account-sidebar .account-user{padding:14px 16px}}
@media(max-width:600px){body.n9-public .account-section{padding:18px 0 30px!important}body.n9-public .account-layout{gap:16px!important}body.n9-public .account-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}body.n9-public .account-sidebar nav>a{font-size:12px!important}body.n9-public .account-heading{padding:16px!important}body.n9-public .account-heading h1{font-size:21px!important}body.n9-public .account-content .order-detail-grid>aside{grid-template-columns:minmax(0,1fr)}body.n9-public .account-content .order-detail-grid .panel{padding:16px!important}body.n9-public .account-order-actions form{flex:1 1 180px}body.n9-public .account-order-actions .btn{width:100%}body.n9-public .account-content .order-item{flex-wrap:wrap}body.n9-public .account-content .stats-grid{grid-template-columns:minmax(0,1fr)!important}}
