:root{
  --acc-bg:#f4f3fb;
  --acc-card:#ffffff;
  --acc-line:rgba(21,48,46,.10);
  --acc-text:#122220;
  --acc-muted:#647178;
  --acc-primary:#5a46bf;
  --acc-primary-soft:rgba(90,70,191,.10);
  --acc-success:#1d8f55;
  --acc-danger:#be3f3f;
  --acc-warn:#c38b16;
  --acc-radius:22px;
  --acc-shadow:0 16px 42px rgba(22,27,54,.08);
}
body.accountBody{background:linear-gradient(180deg,#f7f5ff 0%,#f4f3fb 100%);color:var(--acc-text)}
.accountShell{padding:32px 0 48px}
.accountTopbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.accountTopbar__back{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--acc-text);font-weight:800}
.accountHero{background:linear-gradient(135deg, rgba(90,70,191,.95), rgba(114,100,204,.88));color:#fff;border-radius:32px;padding:28px 28px 24px;box-shadow:var(--acc-shadow);display:grid;gap:14px}
.accountHero__badge{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.accountHero__grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);gap:18px;align-items:start}
.accountHero h1{margin:0;font-size:clamp(28px,4vw,42px);line-height:1.06}
.accountHero p{margin:0;color:rgba(255,255,255,.86)}
.accountHero__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.accountManagerMini{padding:18px;border-radius:24px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(6px)}
.accountManagerMini__title{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:rgba(255,255,255,.72);margin-bottom:10px}
.accountManagerMini__name{font-size:20px;font-weight:900;margin-bottom:6px}
.accountGrid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;margin-top:24px;align-items:start}
.accountSidebar{position:sticky;top:22px;display:grid;gap:16px}
.accountPanel{background:var(--acc-card);border:1px solid var(--acc-line);border-radius:var(--acc-radius);box-shadow:var(--acc-shadow)}
.accountPanel--pad{padding:18px}
.accountUserCard{padding:20px}
.accountUserCard__name{font-size:20px;font-weight:900;line-height:1.1;margin:0 0 4px}
.accountUserCard__sub{color:var(--acc-muted);font-size:14px;margin:0 0 12px}
.accountMiniStats{display:grid;gap:10px;margin-top:14px}
.accountMiniStat{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:16px;background:rgba(90,70,191,.06);font-size:14px}
.accountNav{padding:8px;display:grid;gap:8px}
.accountNav button{width:100%;text-align:left;border:none;background:transparent;padding:12px 14px;border-radius:16px;font-weight:800;color:var(--acc-text);cursor:pointer}
.accountNav button.is-active{background:linear-gradient(135deg, rgba(90,70,191,.95), rgba(114,100,204,.88));color:#fff;box-shadow:0 12px 24px rgba(90,70,191,.22)}
.accountMain{display:grid;gap:18px}
.accountSection{display:none;gap:18px}
.accountSection.is-active{display:grid}
.accountSectionHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.accountSectionHead h2{margin:0;font-size:28px;line-height:1.08}
.accountSectionHead p{margin:6px 0 0;color:var(--acc-muted)}
.accountCards4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.accountCards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.statCard{padding:18px;border-radius:24px;background:var(--acc-card);border:1px solid var(--acc-line);box-shadow:var(--acc-shadow)}
.statCard__label{font-size:13px;color:var(--acc-muted);margin-bottom:8px}
.statCard__value{font-size:28px;font-weight:900;line-height:1.08}
.statCard__meta{margin-top:8px;font-size:13px;color:var(--acc-muted)}
.dataCard{padding:20px}
.dataCard__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.dataCard__head h3{margin:0;font-size:20px}
.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;background:rgba(90,70,191,.10);color:var(--acc-primary)}
.badge--success{background:rgba(29,143,85,.1);color:var(--acc-success)}
.badge--warn{background:rgba(195,139,22,.12);color:var(--acc-warn)}
.badge--danger{background:rgba(190,63,63,.1);color:var(--acc-danger)}
.badge--info{background:rgba(36,99,235,.10);color:#2463eb}
.badge--shipped{background:rgba(132,204,22,.14);color:#4d7c0f}
.badge--closed{background:rgba(71,85,105,.12);color:#475569}
.rowList{display:grid;gap:12px}
.rowCard{padding:14px 16px;border:1px solid var(--acc-line);border-radius:18px;background:#fff;display:grid;gap:10px}
.rowCard__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.rowCard__title{font-weight:900;font-size:17px;line-height:1.2}
.rowCard__meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--acc-muted);font-size:13px}
.rowCard__actions{display:flex;gap:10px;flex-wrap:wrap}
.inlineForm{display:grid;gap:12px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
label.field{display:grid;gap:6px;font-size:13px;font-weight:700;color:var(--acc-muted)}
.field input,.field textarea,.field select{width:100%;border:1px solid var(--acc-line);border-radius:16px;padding:12px 14px;background:#fff;color:var(--acc-text);font:inherit;box-sizing:border-box}
.field textarea{min-height:96px;resize:vertical}
.btnRow{display:flex;gap:10px;flex-wrap:wrap}
.btnLite,.btnDark,.btnGhost{border:none;border-radius:16px;padding:12px 16px;font-weight:800;cursor:pointer;font:inherit}
.btnDark{background:linear-gradient(135deg, rgba(90,70,191,.95), rgba(114,100,204,.88));color:#fff}
.btnLite{background:rgba(90,70,191,.10);color:var(--acc-primary)}
.btnGhost{background:#fff;border:1px solid var(--acc-line);color:var(--acc-text)}
.productGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.productCard{padding:16px;border:1px solid var(--acc-line);border-radius:22px;background:#fff;display:grid;gap:12px}
.productCard img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:18px;border:1px solid rgba(21,48,46,.08);background:#fff;padding:10px;box-sizing:border-box}
.productCard__title{font-size:17px;font-weight:900;line-height:1.2}
.productCard__desc{font-size:14px;color:var(--acc-muted);line-height:1.45;min-height:40px}
.productCard__footer{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.noticeList{display:grid;gap:12px}
.noticeCard{padding:14px 16px;border-radius:18px;border:1px solid var(--acc-line);background:#fff;display:grid;gap:8px}
.noticeCard.is-unread{box-shadow:0 0 0 2px rgba(90,70,191,.08)}
.timeline{display:grid;gap:10px;margin-top:10px}
.timeline__item{padding:10px 12px;border-left:3px solid rgba(90,70,191,.22);background:rgba(90,70,191,.05);border-radius:0 14px 14px 0}
.messageThread{display:grid;gap:10px}
.messageBubble{padding:12px 14px;border-radius:16px;max-width:860px;background:rgba(90,70,191,.06);border:1px solid rgba(90,70,191,.12)}
.messageBubble--manager{background:rgba(21,48,46,.04);border-color:rgba(21,48,46,.10)}
.emptyState{padding:24px;border:1px dashed rgba(21,48,46,.18);border-radius:20px;background:rgba(255,255,255,.8);color:var(--acc-muted)}
.authWrap{max-width:1080px;margin:0 auto;padding:32px 0 48px}
.authGrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.85fr);gap:20px;align-items:stretch}
.authPromo{background:linear-gradient(135deg, rgba(90,70,191,.95), rgba(114,100,204,.88));color:#fff;border-radius:30px;padding:32px;box-shadow:var(--acc-shadow);display:grid;gap:16px}
.authPromo h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.05}
.authCard{padding:22px}
.authTabs{display:flex;gap:8px;margin-bottom:16px}
.authTabs button{flex:1;border:none;background:rgba(90,70,191,.08);padding:12px 14px;border-radius:16px;font-weight:800;cursor:pointer}
.authTabs button.is-active{background:linear-gradient(135deg, rgba(90,70,191,.95), rgba(114,100,204,.88));color:#fff}
.helperText{font-size:13px;color:var(--acc-muted)}
.accountToast{position:fixed;right:20px;bottom:20px;z-index:50;max-width:360px;padding:14px 16px;border-radius:18px;background:#1b1f3a;color:#fff;box-shadow:var(--acc-shadow);opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s ease}
.accountToast.show{opacity:1;transform:translateY(0)}
.mutedSmall{font-size:12px;color:var(--acc-muted)}
@media (max-width:1180px){.accountCards4{grid-template-columns:repeat(2,minmax(0,1fr))}.accountCards3,.grid3,.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.productGrid{grid-template-columns:1fr}}
@media (max-width:980px){.accountGrid,.authGrid,.accountHero__grid{grid-template-columns:1fr}.accountSidebar{position:static}.grid2,.grid3,.grid4,.accountCards4,.accountCards3{grid-template-columns:1fr}.accountHero{padding:24px 20px}.authPromo,.authCard{padding:22px}}
.accountShell--streamlined{display:grid;gap:18px}
.accountGrid--streamlined{margin-top:0;grid-template-columns:260px minmax(0,1fr);gap:18px}
.accountMasthead{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:18px;padding:24px 26px;background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)}
.accountMasthead__main{display:grid;gap:10px;align-content:start}
.accountMasthead__eyebrow,.accountMasthead__label{display:inline-flex;align-items:center;width:max-content;padding:6px 10px;border-radius:999px;background:rgba(90,70,191,.10);color:var(--acc-primary);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.accountMasthead__main h1{margin:0;font-size:clamp(28px,3vw,38px);line-height:1.08}
.accountMasthead__main p{margin:0;max-width:720px;color:var(--acc-muted);font-size:15px;line-height:1.55}
.accountMasthead__aside{display:grid;gap:10px;align-content:start;padding:18px;border-radius:24px;background:linear-gradient(180deg,rgba(90,70,191,.08),rgba(90,70,191,.03));border:1px solid rgba(90,70,191,.10)}
.accountMasthead__company{font-size:22px;font-weight:900;line-height:1.15}
.accountMasthead__meta{color:var(--acc-muted);font-size:14px}
.accountMasthead__manager{display:grid;gap:4px;padding-top:10px;border-top:1px solid rgba(21,48,46,.08);font-size:14px;color:var(--acc-text)}
.accountQuickRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.accountQuickCard{display:grid;gap:6px;padding:16px 18px;border:1px solid var(--acc-line);border-radius:20px;background:#fff;color:var(--acc-text);text-align:left;cursor:pointer;box-shadow:var(--acc-shadow);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.accountQuickCard:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(22,27,54,.10);border-color:rgba(90,70,191,.22)}
.accountQuickCard__title{font-weight:900;font-size:16px}
.accountQuickCard__meta{font-size:13px;color:var(--acc-muted)}
.accountUserCard--compact{padding:18px}
.accountNav--compact{padding:10px;gap:6px}
.accountNav--compact button{padding:11px 13px;border-radius:14px}
.accountOverviewGrid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.2fr);gap:14px}
.accountSummaryCard{padding:22px;background:linear-gradient(135deg, rgba(90,70,191,.96), rgba(114,100,204,.90));color:#fff}
.accountSummaryCard__label{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.accountSummaryCard__value{margin-top:10px;font-size:34px;font-weight:900;line-height:1.08}
.accountSummaryCard__meta{margin-top:10px;color:rgba(255,255,255,.84);line-height:1.5}
.accountSummaryCard .btnGhost{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.18);color:#fff}
.accountSummaryCard .btnDark{background:#fff;color:var(--acc-primary)}
.accountStatsRail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.accountFocusGrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.95fr);gap:14px}
.accountStack{display:grid;gap:14px}
.accountMiniColumns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.accountMiniColumns__title{margin-bottom:10px;font-size:13px;font-weight:800;color:var(--acc-muted);text-transform:uppercase;letter-spacing:.03em}
.rowCard--compact{gap:6px;padding:12px 14px}
.emptyState--compact{padding:18px;border-radius:16px}
@media (max-width:1180px){
  .accountQuickRow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .accountOverviewGrid,.accountFocusGrid,.accountMasthead,.accountStatsRail,.accountMiniColumns{grid-template-columns:1fr}
}
@media (max-width:980px){
  .accountShell{padding:24px 0 40px}
  .accountGrid--streamlined{grid-template-columns:1fr}
  .accountQuickRow{grid-template-columns:1fr}
  .accountMasthead{padding:20px}
  .accountSummaryCard{padding:20px}
}
.btnDanger{border:none;border-radius:16px;padding:12px 16px;font-weight:800;cursor:pointer;font:inherit;background:#d94a3a;color:#fff}
.accountQuickRow{grid-template-columns:repeat(3,minmax(0,1fr))}
.accountQuickCard--scenario{min-height:96px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);position:relative;overflow:hidden}
.accountQuickCard--scenario:before{content:"";position:absolute;inset:auto 16px 14px auto;width:44px;height:44px;border-radius:999px;background:rgba(90,70,191,.10)}
.scenarioGrid{display:grid;gap:10px;margin-top:18px}
.scenarioCard{display:grid;gap:5px;width:100%;border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:15px 16px;text-align:left;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;font:inherit;transition:transform .18s ease, background .18s ease}
.scenarioCard:hover{transform:translateY(-1px);background:rgba(255,255,255,.18)}
.scenarioCard span{font-size:13px;font-weight:800;color:rgba(255,255,255,.78)}
.scenarioCard strong{font-size:17px;line-height:1.2}
.scenarioCard--primary{background:#fff;color:var(--acc-primary);border-color:#fff}
.scenarioCard--primary span{color:rgba(90,70,191,.70)}
.orderFilterRow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.filterChip{border:1px solid var(--acc-line);border-radius:999px;background:#fff;color:var(--acc-text);padding:9px 13px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.filterChip.is-active{background:var(--acc-primary);border-color:var(--acc-primary);color:#fff}
.orderStageMini{display:inline-flex;width:max-content;max-width:100%;padding:7px 10px;border-radius:999px;background:rgba(90,70,191,.08);color:var(--acc-primary);font-size:12px;font-weight:900}
.orderStageMini--success{background:rgba(38,137,83,.10);color:#1d7a48}
.orderStageMini--warn{background:rgba(214,146,47,.12);color:#95641f}
.orderStageMini--danger{background:rgba(217,74,58,.12);color:#b13a2d}
.orderStageLine{display:grid;grid-template-columns:repeat(5,minmax(88px,1fr));gap:8px;margin:2px 0 4px}
.orderStageLine__step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:center;color:var(--acc-muted);font-size:12px;font-weight:800}
.orderStageLine__dot{width:10px;height:10px;border-radius:999px;background:rgba(21,48,46,.16);box-shadow:0 0 0 5px rgba(21,48,46,.04)}
.orderStageLine__step.is-done{color:var(--acc-text)}
.orderStageLine__step.is-done .orderStageLine__dot{background:var(--acc-primary);box-shadow:0 0 0 5px rgba(90,70,191,.10)}
.orderStageLine__step.is-current{color:var(--acc-primary)}
.accountModalBackdrop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px;background:rgba(10,14,28,.42);backdrop-filter:blur(5px)}
.accountModal{position:relative;width:min(520px,100%);display:grid;gap:14px;padding:24px;border-radius:28px;background:#fff;box-shadow:0 26px 80px rgba(22,27,54,.26)}
.accountModal h3{margin:0;font-size:24px;line-height:1.15}
.accountModal p{margin:0;color:var(--acc-muted);line-height:1.5}
.accountModal__close{position:absolute;right:14px;top:14px;width:34px;height:34px;border:none;border-radius:999px;background:rgba(90,70,191,.08);color:var(--acc-primary);font-size:22px;line-height:1;cursor:pointer}
.modalForm{display:grid;gap:14px}
.onboardingBackdrop{z-index:90}
.onboardingModal{width:min(720px,100%);padding:28px}
.onboardingSteps{display:flex;gap:8px;align-items:center}
.onboardingSteps span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#eef1f6;color:var(--acc-muted);font-weight:900}
.onboardingSteps span.is-active{background:var(--acc-primary);color:#fff}
.onboardingSteps span.is-done{background:rgba(29,143,85,.12);color:var(--acc-success)}
.onboardingAddressList{display:grid;gap:8px;max-height:170px;overflow:auto;padding:10px;border:1px solid var(--acc-line);border-radius:16px;background:#f8fafc}
.onboardingAddressList div{display:grid;gap:2px;padding:8px 10px;border-radius:12px;background:#fff}
.onboardingAddressList span{color:var(--acc-muted);font-size:13px}
@media (max-width:1180px){
  .accountQuickRow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .orderStageLine{grid-template-columns:1fr}
}
@media (max-width:980px){
  .accountQuickRow{grid-template-columns:1fr}
}

/* Client cabinet redesign, scoped to account pages only. */
:root{
  --acc-bg:#eef3fb;
  --acc-bg-2:#f7f9fd;
  --acc-card:#ffffff;
  --acc-card-soft:#f8fafc;
  --acc-line:rgba(15,23,42,.09);
  --acc-line-strong:rgba(15,23,42,.14);
  --acc-text:#101828;
  --acc-muted:#667085;
  --acc-primary:#3b1685;
  --acc-primary-2:#6c6ec4;
  --acc-primary-soft:rgba(59,22,133,.08);
  --acc-success:#168a54;
  --acc-danger:#c33a32;
  --acc-warn:#b7791f;
  --acc-radius:24px;
  --acc-radius-sm:16px;
  --acc-shadow:0 18px 50px rgba(16,24,40,.08);
  --acc-shadow-soft:0 8px 24px rgba(16,24,40,.06);
}

html{background:var(--acc-bg)}
body.accountBody{
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(108,110,196,.20), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(59,22,133,.14), transparent 30%),
    linear-gradient(180deg,var(--acc-bg-2) 0%,var(--acc-bg) 100%);
  color:var(--acc-text);
}
body.accountBody #accountApp.container{
  width:min(100% - 32px,1480px);
  max-width:1480px;
  padding:0;
}

.accountShell{
  padding:26px 0 54px;
}
.accountShell--streamlined{
  gap:18px;
}
.accountTopbar{
  position:sticky;
  top:14px;
  z-index:30;
  margin-bottom:8px;
  padding:10px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  box-shadow:0 14px 38px rgba(16,24,40,.08);
  backdrop-filter:blur(18px);
}
.accountTopbar__back{
  padding:10px 14px;
  border-radius:999px;
  color:var(--acc-text);
  background:rgba(59,22,133,.06);
}

.accountPanel,
.statCard,
.rowCard,
.noticeCard,
.productCard,
.emptyState,
.authCard,
.authPromo{
  border-radius:var(--acc-radius);
  border:1px solid var(--acc-line);
  box-shadow:var(--acc-shadow-soft);
}
.accountPanel,
.statCard,
.rowCard,
.noticeCard,
.productCard{
  background:rgba(255,255,255,.92);
}
.accountPanel:hover,
.statCard:hover,
.rowCard:hover,
.productCard:hover{
  border-color:rgba(59,22,133,.16);
}

.accountMasthead{
  position:relative;
  overflow:hidden;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.72fr);
  padding:34px;
  border:0;
  color:#fff;
  background:
    linear-gradient(115deg, rgba(20,18,40,.96) 0%, rgba(59,22,133,.92) 52%, rgba(108,110,196,.86) 100%);
  box-shadow:0 28px 80px rgba(59,22,133,.22);
}
.accountMasthead:before{
  content:"";
  position:absolute;
  inset:-45% -8% auto auto;
  width:520px;
  height:520px;
  border-radius:50%;
  background:rgba(255,255,255,.13);
  pointer-events:none;
}
.accountMasthead:after{
  content:"";
  position:absolute;
  right:26px;
  bottom:22px;
  width:230px;
  height:130px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  transform:rotate(-12deg);
  pointer-events:none;
}
.accountMasthead__main,
.accountMasthead__aside{
  position:relative;
  z-index:1;
}
.accountMasthead__eyebrow,
.accountMasthead__label{
  background:rgba(255,255,255,.14);
  color:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.16);
}
.accountMasthead__main h1{
  max-width:760px;
  font-size:clamp(34px,4vw,58px);
  letter-spacing:-.045em;
  line-height:.98;
}
.accountMasthead__main p{
  max-width:740px;
  color:rgba(255,255,255,.82);
  font-size:17px;
}
.accountMasthead__aside{
  padding:22px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter:blur(14px);
}
.accountMasthead__company{
  color:#fff;
  letter-spacing:-.02em;
}
.accountMasthead__meta,
.accountMasthead__manager{
  color:rgba(255,255,255,.78);
}
.accountMasthead__manager{
  border-top-color:rgba(255,255,255,.18);
}

.accountQuickRow{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.accountQuickCard{
  min-height:112px;
  padding:18px 18px 18px 20px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f8faff 100%);
  box-shadow:var(--acc-shadow-soft);
}
.accountQuickCard--scenario:before{
  inset:auto 18px 18px auto;
  width:54px;
  height:54px;
  background:linear-gradient(135deg,rgba(59,22,133,.12),rgba(108,110,196,.10));
}
.accountQuickCard--scenario:after{
  position:absolute;
  right:34px;
  bottom:30px;
  font-weight:900;
  color:var(--acc-primary);
}
.accountQuickCard--scenario:nth-child(1):after{content:"+"}
.accountQuickCard--scenario:nth-child(2):after{content:"↻"}
.accountQuickCard--scenario:nth-child(3):after{content:"↓"}
.accountQuickCard--scenario:nth-child(4):after{content:"→"}
.accountQuickCard__title{
  font-size:18px;
  letter-spacing:-.01em;
}
.accountQuickCard__meta{
  max-width:78%;
  line-height:1.35;
}

.accountGrid--streamlined{
  grid-template-columns:292px minmax(0,1fr);
  gap:20px;
}
.accountSidebar{
  top:92px;
  gap:14px;
}
.accountUserCard--compact{
  padding:22px;
  background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);
}
.accountUserCard__name{
  font-size:22px;
  letter-spacing:-.02em;
}
.accountUserCard__sub{
  line-height:1.35;
}
.accountMiniStats{
  gap:8px;
}
.accountMiniStat{
  border-radius:14px;
  background:rgba(59,22,133,.055);
  color:var(--acc-text);
}
.accountMiniStat strong{
  color:var(--acc-primary);
}
.accountNav--compact{
  position:relative;
  padding:10px;
}
.accountNav button{
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:16px;
  color:#344054;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.accountNav button:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(59,22,133,.25);
}
.accountNav button:hover{
  background:rgba(59,22,133,.07);
  transform:translateX(2px);
}
.accountNav button.is-active{
  background:linear-gradient(135deg,var(--acc-primary),var(--acc-primary-2));
  box-shadow:0 14px 32px rgba(59,22,133,.22);
}
.accountNav button.is-active:before{
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.18);
}

.accountMain,
.accountSection{
  gap:18px;
}
.accountSectionHead{
  padding:2px 2px 0;
}
.accountSectionHead h2{
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-.04em;
}
.accountSectionHead p{
  max-width:760px;
  color:var(--acc-muted);
}
.accountOverviewGrid{
  grid-template-columns:minmax(330px,.86fr) minmax(0,1.14fr);
  gap:16px;
}
.accountSummaryCard{
  position:relative;
  overflow:hidden;
  padding:26px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,255,255,.20),transparent 35%),
    linear-gradient(135deg,var(--acc-primary),var(--acc-primary-2));
}
.accountSummaryCard__value{
  font-size:clamp(34px,4vw,50px);
  letter-spacing:-.045em;
}
.accountStatsRail{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.statCard{
  padding:22px;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
}
.statCard__label{
  font-weight:800;
  color:#667085;
}
.statCard__value{
  font-size:clamp(30px,3vw,42px);
  letter-spacing:-.04em;
  color:#101828;
}
.statCard__meta{
  line-height:1.45;
}
.accountFocusGrid{
  gap:16px;
}
.accountStack{
  gap:16px;
}
.dataCard{
  padding:22px;
}
.dataCard__head{
  margin-bottom:16px;
}
.dataCard__head h3{
  font-size:22px;
  letter-spacing:-.025em;
}

.rowList,
.noticeList{
  gap:10px;
}
.rowCard,
.noticeCard{
  padding:16px;
  border-radius:20px;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.rowCard:hover,
.noticeCard:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(16,24,40,.08);
}
.rowCard__title{
  font-size:17px;
  letter-spacing:-.015em;
}
.rowCard__meta span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.045);
}
.rowCard__actions,
.btnRow{
  gap:8px;
}
.listProductForm{
  margin-bottom:18px;
  padding:18px;
  border:1px solid rgba(59,22,133,.10);
  border-radius:20px;
  background:linear-gradient(180deg,#fff 0%,#f8faff 100%);
}
.listProductForm .dataCard__head{
  margin-bottom:4px;
}
.listItemCard__controls{
  display:grid;
  grid-template-columns:minmax(110px,140px) auto auto;
  align-items:end;
  gap:10px;
}
.listItemCard__controls .field{
  min-width:110px;
}

.badge{
  min-height:28px;
  border:1px solid transparent;
  border-radius:999px;
  background:rgba(59,22,133,.09);
  color:var(--acc-primary);
}
.badge--success{
  border-color:rgba(22,138,84,.14);
  background:rgba(22,138,84,.10);
}
.badge--warn{
  border-color:rgba(183,121,31,.16);
}
.badge--danger{
  border-color:rgba(195,58,50,.16);
}

.btnLite,
.btnDark,
.btnGhost,
.btnDanger{
  min-height:42px;
  border-radius:14px;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btnDark{
  background:linear-gradient(135deg,var(--acc-primary),var(--acc-primary-2));
  box-shadow:0 12px 26px rgba(59,22,133,.18);
}
.btnLite{
  background:rgba(59,22,133,.08);
  color:var(--acc-primary);
}
.btnGhost{
  border:1px solid var(--acc-line);
  background:rgba(255,255,255,.82);
}
.btnDark:hover,
.btnLite:hover,
.btnGhost:hover,
.btnDanger:hover{
  transform:translateY(-1px);
}

.field input,
.field textarea,
.field select{
  border-radius:14px;
  border-color:var(--acc-line);
  background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline:none;
  border-color:rgba(59,22,133,.36);
  box-shadow:0 0 0 4px rgba(59,22,133,.08);
}
.field input:disabled{
  background:#f4f6f8;
  color:#667085;
}

.productGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.productCard{
  align-content:start;
  padding:14px;
}
.productCard img{
  border-radius:18px;
  border-color:rgba(15,23,42,.08);
}
.productCard__title{
  letter-spacing:-.015em;
}
.productCard__footer strong{
  font-size:18px;
}

.emptyState{
  padding:24px;
  border-style:solid;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
  color:var(--acc-muted);
}

.orderFilterRow{
  padding:8px;
  border-radius:999px;
  background:#f3f5fb;
}
.filterChip{
  border:0;
  background:transparent;
}
.filterChip.is-active{
  background:#fff;
  color:var(--acc-primary);
  box-shadow:0 8px 20px rgba(16,24,40,.08);
}
.orderStageLine{
  padding:10px;
  border-radius:16px;
  background:#f7f8fb;
}
.orderStageLine__dot{
  background:rgba(15,23,42,.20);
}
.orderStageLine__step.is-current{
  font-weight:900;
}
.orderStageLine__step--info.is-current{color:#2463eb}
.orderStageLine__step--warn.is-current{color:#b45309}
.orderStageLine__step--success.is-current{color:#15803d}
.orderStageLine__step--shipped.is-current{color:#4d7c0f}
.orderStageLine__step--closed.is-current{color:#475569}
.orderStageLine__step--info.is-done .orderStageLine__dot,
.orderStageLine__step--info.is-current .orderStageLine__dot{
  background:#2463eb;
}
.orderStageLine__step--warn.is-done .orderStageLine__dot,
.orderStageLine__step--warn.is-current .orderStageLine__dot{
  background:#f59e0b;
}
.orderStageLine__step--success.is-done .orderStageLine__dot,
.orderStageLine__step--success.is-current .orderStageLine__dot{
  background:#16a34a;
}
.orderStageLine__step--shipped.is-done .orderStageLine__dot,
.orderStageLine__step--shipped.is-current .orderStageLine__dot{
  background:#84cc16;
}
.orderStageLine__step--closed.is-done .orderStageLine__dot,
.orderStageLine__step--closed.is-current .orderStageLine__dot{
  background:#475569;
}
.orderStageLine__step--neutral.is-done .orderStageLine__dot,
.orderStageLine__step--neutral.is-current .orderStageLine__dot{
  background:var(--acc-primary);
}
.orderStageMini--info{color:#2463eb;background:rgba(36,99,235,.10)}
.orderStageMini--shipped{color:#4d7c0f;background:rgba(132,204,22,.14)}
.orderStageMini--closed{color:#475569;background:rgba(71,85,105,.12)}
.shipmentInfo{
  display:grid;
  gap:10px;
  padding:14px;
  border:1px solid rgba(132,204,22,.26);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(247,254,231,.92),rgba(255,255,255,.92));
}
.shipmentInfo__title{
  font-weight:900;
  color:#365314;
}
.shipmentInfo__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.shipmentInfo__grid div{
  display:grid;
  gap:4px;
  padding:10px 12px;
  border-radius:14px;
  background:#fff;
}
.shipmentInfo__grid span{
  color:var(--acc-muted);
  font-size:12px;
  font-weight:800;
}
.shipmentInfo__grid strong{
  color:#1f2937;
  overflow-wrap:anywhere;
}

.messageBubble{
  border-radius:18px;
  background:rgba(59,22,133,.06);
}
.messageBubble--manager{
  background:rgba(22,138,84,.07);
}
.timeline__item{
  border-left-color:var(--acc-primary);
  background:rgba(59,22,133,.06);
}

.authWrap{
  max-width:1180px;
  padding:34px 0 56px;
}
.authGrid{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.78fr);
  gap:22px;
}
.authPromo{
  position:relative;
  overflow:hidden;
  padding:42px;
  border:0;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,255,255,.18),transparent 35%),
    linear-gradient(135deg,#171225 0%,var(--acc-primary) 56%,var(--acc-primary-2) 100%);
}
.authPromo h1{
  font-size:clamp(36px,5vw,58px);
  letter-spacing:-.045em;
}
.authPromo p{
  color:rgba(255,255,255,.82);
  font-size:17px;
  line-height:1.6;
}
.authCard{
  padding:26px;
  background:rgba(255,255,255,.92);
}
.authTabs{
  padding:6px;
  border-radius:18px;
  background:#f3f5fb;
}
.authTabs button{
  border-radius:14px;
  background:transparent;
}
.authTabs button.is-active{
  background:#fff;
  color:var(--acc-primary);
  box-shadow:0 10px 24px rgba(16,24,40,.08);
}
.accountToast{
  right:24px;
  bottom:24px;
  border-radius:18px;
  background:#111827;
  box-shadow:0 20px 55px rgba(16,24,40,.22);
}

.accountModalBackdrop{
  z-index:1500;
}
.accountModal{
  border-radius:28px;
  box-shadow:0 34px 90px rgba(16,24,40,.28);
}

@media (max-width:1280px){
  .productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .accountStatsRail{grid-template-columns:1fr}
}
@media (max-width:1180px){
  body.accountBody #accountApp.container{width:min(100% - 24px,1040px)}
  .accountMasthead,
  .accountOverviewGrid,
  .accountFocusGrid,
  .authGrid{
    grid-template-columns:1fr;
  }
  .accountQuickRow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:980px){
  .accountTopbar{
    position:static;
    border-radius:22px;
  }
  .accountGrid--streamlined{
    grid-template-columns:1fr;
  }
  .accountSidebar{
    position:static;
  }
  .accountNav--compact{
    display:flex;
    gap:8px;
    overflow:auto;
    padding:8px;
    scrollbar-width:none;
  }
  .accountNav--compact button{
    white-space:nowrap;
    width:auto;
    flex:0 0 auto;
  }
  .accountMasthead{
    padding:24px;
  }
  .accountMasthead__main h1{
    font-size:clamp(32px,9vw,46px);
  }
  .grid2,
  .grid3,
  .grid4,
  .accountMiniColumns{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  body.accountBody #accountApp.container{width:min(100% - 16px,100%)}
  .accountShell{padding:14px 0 34px}
  .accountTopbar,
  .accountTopbar .btnRow{
    display:grid;
    grid-template-columns:1fr;
    border-radius:18px;
  }
  .accountQuickRow,
  .productGrid{
    grid-template-columns:1fr;
  }
  .accountMasthead,
  .dataCard,
  .accountSummaryCard,
  .authPromo,
  .authCard{
    padding:18px;
    border-radius:20px;
  }
  .rowCard__top,
  .dataCard__head{
    display:grid;
  }
  .listItemCard__controls{
    grid-template-columns:1fr;
  }
  .shipmentInfo__grid{
    grid-template-columns:1fr;
  }
  .btnRow,
  .rowCard__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .btnLite,
  .btnDark,
  .btnGhost,
  .btnDanger{
    width:100%;
    text-align:center;
  }
  .orderFilterRow{
    border-radius:18px;
  }
}
