/* Deskhand original Account Centre, Phase 8.9.
   Uses Deskhand's sea-glass dark palette; independent from third-party dashboard designs. */
.account-layout {
  width:min(1376px,100%); margin:0 auto;
  display:grid;grid-template-columns:235px minmax(0,1fr);
  gap:36px;padding:31px 30px 80px;min-height:calc(100vh - 156px);
}
.account-layout .account-sidebar {
  border:1px solid rgba(99,145,159,.19);border-radius:19px;
  background:linear-gradient(155deg,rgba(16,41,52,.89),rgba(8,28,39,.8));
  padding:24px 15px 17px;
  display:flex;flex-direction:column;align-self:start;position:sticky;top:102px;
  min-height:calc(100vh - 142px);
  box-shadow:0 20px 35px rgba(0,0,0,.09);
}
.account-sidebar-head {
  padding:7px 14px 15px;color:#729ba6;
  font-size:10.5px;letter-spacing:.16em;font-weight:800;
}
.account-navigation {display:grid;gap:5px;}
.account-nav-link {
  display:flex;gap:13px;align-items:center;
  min-width:0;padding:13px 14px;border:1px solid transparent;border-radius:11px;
  font-size:13.5px;color:#a1bcc4;text-decoration:none;font-weight:580;
  transition:background .16s,color .16s,border-color .16s;
}
.account-nav-link:hover {color:#eefaf7;background:rgba(120,193,193,.11);}
.account-nav-link.active {
  background:rgba(93,230,202,.12);color:#88f2d5;
  border-color:rgba(99,217,196,.23);font-weight:735;
}
.account-nav-icon {width:19px;height:19px;flex:0 0 19px;}
.account-sidebar-bottom {margin-top:auto;padding-top:24px;}
.account-quota-card {
  display:block;padding:15px 12px 14px;background:rgba(10,27,38,.9);
  border:1px solid #34515c;border-radius:13px;color:#a9c6ca;text-decoration:none;
}
.account-quota-card:hover {color:#e5faf3;border-color:#648987;}
.account-quota-heading {display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin-bottom:12px;}
.account-quota-heading strong {font-size:12px;color:#dcefeb;}
.account-quota-heading span {font-size:11px;color:#83e3c8;white-space:nowrap;}
.account-quota-card>span {display:block;color:#8aaeb6;font-size:10.7px;margin-top:7px;line-height:1.55;}
.account-quota-card progress {width:100%;display:block;height:7px;accent-color:#53e5c1;}
.account-quota-card progress::-webkit-progress-bar {background:#284552;border-radius:30px;}
.account-quota-card progress::-webkit-progress-value {background:#59e4c7;border-radius:30px;}
.account-quota-card progress::-moz-progress-bar {background:#59e4c7;border-radius:30px;}
.account-user {font-size:10.8px;color:#7799a3;padding:13px 7px 0;overflow:hidden;word-break:break-word;}
.account-user strong {display:block;font-size:11px;font-weight:620;color:#aec9cf;}
.account-main {min-width:0;padding-top:16px;}
.account-main .wrap.dash {max-width:none;width:100%;margin:0;padding:0;}
.account-main .dash-section {margin-top:18px;}
.account-main .dash-overview {border-radius:19px;}
.account-main .dash-overview h1 {font-size:clamp(28px,3.4vw,40px);}
.account-main .dash-stat-grid {margin-top:22px;}
.account-page-heading {padding-bottom:29px;}
.account-page-heading .eyebrow {margin-bottom:11px;display:inline-block;}
.account-page-heading h1 {margin:0 0 7px;color:#effaf6;font-size:clamp(30px,3.4vw,42px);font-weight:820;letter-spacing:-.047em;}
.account-page-heading p {max-width:65ch;font-size:14px;color:#98b6bf;line-height:1.7;margin:0;}
.account-panel {
  min-width:0;background:linear-gradient(155deg,rgba(22,47,59,.87),rgba(14,31,42,.9));
  border:1px solid #344d59;border-radius:18px;padding:27px 29px;
  box-shadow:0 15px 45px rgba(2,11,18,.13);
}
.account-panel h2 {font-size:18px;letter-spacing:-.022em;color:#e5f5f1;margin:7px 0 12px;}
.account-panel p {font-size:13px;color:#9bbac2;line-height:1.65;}
.account-eyebrow {
  display:inline-block;text-transform:uppercase;color:#7fd7c7;
  font-size:10px;letter-spacing:.13em;font-weight:800;
}
.account-number {font-size:clamp(33px,4.5vw,50px);font-weight:835;letter-spacing:-.06em;line-height:1.2;color:#effff8;margin:23px 0 11px;white-space:nowrap;}
.account-number span {font-size:15px;letter-spacing:-.01em;font-weight:500;color:#86a8b3;}
.account-caption {color:#8baab5!important;font-size:11.8px!important;margin:10px 0 0!important;}
.usage-stat-grid {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);gap:18px;margin-bottom:18px;}
.usage-count-panel {border-color:rgba(97,195,181,.38);background:linear-gradient(155deg,#163a40,#112934 69%,#0f2530);}
.usage-average-panel {display:flex;flex-direction:column;align-items:flex-start;}
.usage-average-panel .account-caption {margin-top:auto!important;}
.account-usage-progress {display:block;width:100%;height:10px;margin:11px 0 13px;appearance:none;border:0;background:#244651;overflow:hidden;border-radius:999px;}
.account-usage-progress::-webkit-progress-bar {background:#244651;border-radius:999px;}
.account-usage-progress::-webkit-progress-value {background:linear-gradient(90deg,#42d9bb,#8cedd5);border-radius:999px;}
.account-usage-progress::-moz-progress-bar {background:#5be8ca;border-radius:999px;}
.account-unlimited {font-size:12px;color:#8feccf;font-weight:720;margin-top:18px;}
.account-warning {
  display:flex;align-items:center;flex-wrap:wrap;gap:5px 15px;
  margin-bottom:18px;padding:16px 18px;border:1px solid #947b49;border-radius:13px;
  background:linear-gradient(95deg,rgba(163,110,45,.13),rgba(108,75,37,.06));
  color:#f0d6a9;font-size:12px;
}
.account-warning strong {flex:1 0 100%;font-size:13px;color:#eddbb7;}
.account-warning span {flex:1;min-width:180px;color:#c9b48e;}
.account-warning a {color:#e8c78d;white-space:nowrap;font-weight:700;}
.account-history {margin-bottom:18px;padding:28px 30px 24px;}
.account-history-heading {display:flex;justify-content:space-between;align-items:start;gap:20px;}
.account-history-heading h2 {font-size:21px;margin:8px 0 4px;}
.account-history-heading p {font-size:12px;margin:0;color:#83a5ae;}
.account-history-chip {display:block;white-space:nowrap;border:1px solid #345e61;border-radius:99px;padding:5px 11px;color:#95dec9;font-size:10.5px;background:rgba(87,171,161,.06);}
.usage-chart {display:block;width:100%;height:auto;max-height:360px;margin:25px 0 1px;overflow:visible;}
.usage-chart-grid {stroke:#38515e;stroke-width:1;opacity:.62;}
.usage-chart-axis {fill:#7b9aa7;font:12px Archivo,system-ui,sans-serif;}
.usage-chart-month {fill:#94b3bb;font:13px Archivo,system-ui,sans-serif;}
.usage-chart-number {fill:#d1ebe4;font:12px Archivo,system-ui,sans-serif;font-weight:700;}
.usage-chart-bar {fill:#53cfb5;transition:fill .16s;}
.usage-chart-group:hover .usage-chart-bar {fill:#9ff7dc;}
.account-history-data {border-top:1px solid #294551;padding-top:13px;margin-top:2px;}
.account-history-data summary {color:#9be1cd;font-size:12px;font-weight:720;cursor:pointer;}
.account-history-data table {margin-top:12px;border-collapse:collapse;width:100%;color:#b4d1d0;}
.account-history-data tr {border-bottom:1px solid #29434f;}
.account-history-data th,.account-history-data td {padding:8px 12px;text-align:left;font-size:12px;}
.account-history-data td {text-align:right;}
.invoice-panel {
  display:flex;align-items:center;justify-content:space-between;gap:26px;
  background:rgba(19,39,50,.78);
}
.invoice-panel>div {max-width:75ch;}
.invoice-panel h2 {font-size:19px;margin:7px 0;}
.invoice-panel p {margin:0;}
.invoice-panel .button {flex:none;}
.account-plan-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;}
.account-plan-grid .account-panel {display:flex;flex-direction:column;align-items:flex-start;min-height:275px;}
.account-plan-grid .account-number {font-size:clamp(26px,3.7vw,40px);}
.account-plan-grid .account-panel p {margin-top:7px;}
.account-plan-grid .button {margin-top:auto;}
.account-current-plan {border-color:rgba(95,208,186,.42);background:linear-gradient(155deg,#173f41,#102d39);}
.coming-soon {display:inline-flex;vertical-align:middle;white-space:nowrap;font-size:10px;font-weight:700;color:#9ce0c9;border:1px solid #466c66;padding:5px 9px;border-radius:20px;margin-left:6px;letter-spacing:normal;}
.account-settings,.account-faq {margin-bottom:18px;}
.account-settings dl {display:grid;gap:0;margin:13px 0 0;}
.account-settings dl>div {display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;padding:13px 0;border-bottom:1px solid #2d4954;}
.account-settings dl>div:last-child {border:0;}
.account-settings dt {font-size:12px;color:#89aeb6;}
.account-settings dd {margin:0;color:#e3f3ee;font-size:13px;overflow-wrap:anywhere;}
.account-settings-links {display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.account-settings-links a {font-size:12px;color:#a1ebd4;border:1px solid #476b68;border-radius:10px;padding:10px 13px;text-decoration:none;}
.account-settings-links a:hover {background:rgba(73,180,157,.1);}
.account-faq details {border-top:1px solid #30505b;padding:16px 0;}
.account-faq details:first-of-type {margin-top:16px;}
.account-faq summary {cursor:pointer;font-size:13px;font-weight:680;color:#d0e6e3;}
.account-faq details p {margin:10px 0 0;}
.account-faq a {color:#9ae8d3;}
@media(max-width:1100px) {
  .account-layout {grid-template-columns:210px minmax(0,1fr);gap:20px;padding-inline:20px;}
  .account-layout .account-sidebar {padding-inline:9px;}
  .account-number {font-size:36px;}
}
@media(max-width:850px) {
  .account-layout {display:block;padding:16px 20px 65px;}
  .account-layout .account-sidebar {
    position:static;min-height:0;display:block;padding:12px 12px 11px;margin-bottom:20px;border-radius:14px;
  }
  .account-sidebar-head,.account-sidebar-bottom {display:none;}
  .account-navigation {display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin;}
  .account-nav-link {flex:none;white-space:nowrap;padding:10px 12px;font-size:12px;gap:8px;}
  .account-nav-icon {width:16px;height:16px;flex-basis:16px;}
  .account-main {padding-top:0;}
  .usage-stat-grid {grid-template-columns:1fr 1fr;gap:12px;}
  .account-panel {padding:21px;}
}
@media(max-width:600px) {
  .account-layout {padding:10px 14px 60px;}
  .account-navigation {gap:4px;}
  .account-nav-link {padding:9px 10px;}
  .account-nav-link span {font-size:11px;}
  .account-page-heading {padding-bottom:19px;}
  .account-page-heading h1 {font-size:30px;}
  .account-page-heading p {font-size:12.5px;}
  .usage-stat-grid,.account-plan-grid {grid-template-columns:1fr;}
  .account-number {font-size:34px;white-space:normal;}
  .account-number span {font-size:12px;}
  .account-history {padding:19px 12px 14px;}
  .account-history-heading {display:block;padding-inline:7px;}
  .account-history-chip {display:inline-block;margin-top:10px;}
  .usage-chart {margin-top:15px;}
  .invoice-panel {display:block;}
  .invoice-panel .button {margin-top:15px;}
  .account-settings dl>div {grid-template-columns:1fr;gap:3px;}
  .account-warning {display:block;}
  .account-warning a {display:block;margin-top:10px;}
  .account-main .dash-stat-grid {gap:6px;}
}
@media(prefers-reduced-motion:reduce) {
  .usage-chart-bar,.account-nav-link {transition:none;}
}
