.lab-account-pane {
  max-width: 100%;
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid #aec8d1;
  border-radius: 16px;
  background: rgba(247, 251, 252, .94);
  color: #183b4d;
}
.lab-account-pane [hidden] { display: none !important; }
.lab-account-pane .account-main { max-width: 1080px; margin: 0 auto; }
.lab-account-pane .eyebrow { margin: 0; color: #34718d; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lab-account-pane h1 { margin: 10px 0; font: 400 clamp(29px, 3vw, 44px) Georgia, serif; }
.lab-account-pane .intro { max-width: 740px; font-size: 16px; line-height: 1.5; }
.lab-account-pane .account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.lab-account-pane .account-card { padding: clamp(20px, 2.5vw, 30px); border: 1px solid #bbd0d7; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(25, 70, 89, .09); }
.lab-account-pane .account-card h2 { margin: 0 0 18px; font: 400 27px Georgia, serif; }
.lab-account-pane .account-card form { display: grid; gap: 15px; }
.lab-account-pane .account-card label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.lab-account-pane .account-card input,
.lab-account-pane .account-card select,
.lab-account-pane .account-card textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #9bb8c3; border-radius: 7px; background: #fff; color: #183b4d; font: inherit; }
.lab-account-pane .account-card input:focus,
.lab-account-pane .account-card select:focus,
.lab-account-pane .account-card textarea:focus { outline: 3px solid #8ed7e8; }
.lab-account-pane .account-card button,
.lab-account-pane .google-button { padding: 12px 17px; border: 1px solid #1e5c73; border-radius: 7px; background: #205e75; color: #fff; cursor: pointer; font: 700 15px Arial, sans-serif; text-align: center; text-decoration: none; }
.lab-account-pane .account-card button:hover { background: #16475e; }
.lab-account-pane .account-card button:disabled { opacity: .55; cursor: wait; }
.lab-account-pane .account-card .text-button { padding: 7px 0; border: 0; background: none; color: #125276; text-decoration: underline; }
.lab-account-pane .google-button { display: block; margin-top: 16px; background: #fff; color: #16475e; }
.lab-account-pane .account-card small,
.lab-account-pane .account-card p,
.lab-account-pane .hint { color: #536c78; font-size: 13px; line-height: 1.5; }
.lab-account-pane .profile-card { max-width: 750px; margin-top: 26px; }
.lab-account-pane .profile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.lab-account-pane .profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.lab-account-pane .account-address { padding: 13px 15px; border: 1px solid #c4d7de; border-radius: 8px; }
.lab-account-pane .account-address summary { color: #125276; cursor: pointer; font-weight: 700; }
.lab-account-pane .account-address-fields { display: grid; gap: 15px; padding-top: 18px; }
.lab-account-pane #account-status { min-height: 1.5em; color: #154f6a; font-weight: 700; }
.lab-account-pane #account-status[data-error="true"] { color: #a02a31; }
.lab-account-pane .account-orders { margin-top: 20px; }
.lab-account-pane .account-order-list { display: grid; gap: 16px; }
.lab-account-pane .account-order { padding: 18px; border: 1px solid #cadde4; border-radius: 10px; background: #f7fbfc; }
.lab-account-pane .account-order-heading { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.lab-account-pane .account-review-form { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 14px; }
.lab-account-pane .account-review-form label:nth-child(3) { grid-column: 1 / -1; }
.lab-account-pane .account-review-form button { justify-self: start; }
.lab-account-pane .checkout-return a { display: inline-block; padding: 10px 14px; border: 1px solid #9bb8c3; border-radius: 7px; background: #fff; color: #125276; font-weight: 700; }
@media (max-width: 700px) {
  .lab-account-pane .account-grid,
  .lab-account-pane .profile-row,
  .lab-account-pane .account-review-form { grid-template-columns: 1fr; }
  .lab-account-pane .account-review-form label:nth-child(3) { grid-column: auto; }
}

/* Full-width account layout, shared by the embedded and standalone views. */
html body .account-main.account-refreshed{box-sizing:border-box;width:100%;max-width:1400px;margin:0 auto;padding:clamp(18px,3vw,42px);background:transparent;color:var(--gui-text,#193943)}
html .lab-page .lab-account-pane .account-main.account-refreshed{max-width:none;padding:0;background:transparent!important}
.account-refreshed .account-member-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:24px;margin:24px 0}
html body .account-refreshed .profile-card{max-width:none;width:100%;margin:0}
html body .account-refreshed .account-card{box-sizing:border-box;min-width:0;padding:clamp(20px,2.5vw,32px);background:var(--gui-panel,rgba(255,255,255,.85));border:1px solid var(--gui-line,#bbd0d7);box-shadow:0 6px 24px rgb(25 70 89 / .06)}
html body .account-refreshed .account-card h2{font:500 clamp(23px,2vw,30px) Georgia,serif}
html body .account-refreshed .account-card input{box-sizing:border-box;width:100%;min-width:0}
html body .account-refreshed .google-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin:12px 0 0}
html body .account-refreshed .google-button img{max-width:100%}
.account-refreshed .account-password-ready{padding:12px;background:#e7f3ec;border-radius:8px;color:#245a39!important}
.account-refreshed .intro{max-width:none}.account-refreshed #account-status:empty{display:none}
.account-refreshed .profile-actions{flex-wrap:wrap}.account-refreshed [hidden]{display:none!important}
@media(max-width:780px){.account-refreshed .account-member-grid{grid-template-columns:1fr}.account-refreshed .account-security{grid-row:1}html body .account-refreshed .profile-row{grid-template-columns:1fr}}

html body .account-refreshed>.eyebrow,html body .account-refreshed>.intro,html body .account-refreshed>h1{display:none}
html body .account-refreshed .account-member-grid{margin-top:0;gap:22px}
.account-right-column{min-width:0;display:grid;gap:20px}.account-library-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-shortcut{position:relative;display:flex;align-items:stretch;min-width:0}
.account-shortcut>a{flex:1;padding:20px 14px;background:#e6f2f6;border:1px solid #99bbc8;border-radius:10px 0 0 10px;color:#164c62;font-family:inherit;font-weight:700;font-size:20px;line-height:1.25;text-decoration:none;display:flex;align-items:center;min-height:84px}
.account-shortcut>button{flex:none;max-width:36px;padding:8px!important;border:1px solid #99bbc8;border-left:0;border-radius:0 10px 10px 0;background:#e6f2f6;color:#164c62;cursor:pointer}
.account-shortcut-preview{position:absolute;z-index:200;top:100%;left:0;min-width:280px;max-width:min(360px,85vw);padding:12px;border:1px solid #99bbc8;border-radius:10px;background:var(--gui-panel,#fff);box-shadow:0 10px 30px #183b4d30;max-height:380px;overflow:auto}
.account-shortcut-preview[hidden]{display:none!important}.account-shortcut-preview a{display:block;padding:10px;color:#164c62;text-decoration:none;border-radius:6px;overflow-wrap:anywhere}.account-shortcut-preview a:hover,.account-shortcut-preview a:focus{background:#dceff5}.account-shortcut-preview small{display:block;font-size:12px;color:#536c78;margin-top:4px}.account-shortcut-preview>a{border-top:1px solid #cadde4;font-weight:700}
html .lab-page .lab-my-account-dropdown .account-shortcut>a{min-height:0;padding:11px 14px;font:inherit;font-weight:600;border:0;background:transparent}
html .lab-page .lab-my-account-dropdown .account-shortcut>button{width:30px!important;max-width:30px;flex:none;border:0;background:transparent}
.account-shortcut-side .account-shortcut-preview{top:0;left:auto;right:100%}
.account-order-selected{outline:3px solid #8ed7e8;scroll-margin-top:30px}
html .lab-page .lab-my-account-menu>summary::after{display:none}
html .lab-page .lab-my-account-menu .lab-my-account-caret{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;min-width:30px;margin:-8px -10px -8px 5px;border-left:1px solid #a9c7d2;font-size:18px;line-height:1;cursor:pointer}
html .lab-page .lab-my-account-menu .lab-my-account-caret:focus-visible{outline:2px solid #1c7698;outline-offset:-3px;border-radius:4px}
@media(max-width:780px){.account-refreshed .account-right-column{grid-row:1}.account-refreshed .account-security{grid-row:auto}.account-library-shortcuts{gap:8px}.account-shortcut>a{font-size:17px;min-height:68px}.account-shortcut-preview{min-width:220px}.account-library-shortcuts .account-shortcut:last-child .account-shortcut-preview{left:auto;right:0}.account-shortcut-side .account-shortcut-preview{position:relative;right:auto;top:auto;flex-basis:100%;min-width:0}.account-shortcut-side{flex-wrap:wrap}}

.account-refreshed .account-member-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.account-refreshed .account-library-shortcuts{grid-column:1;display:flex;gap:8px;flex-wrap:wrap;align-items:stretch}
.account-refreshed .account-library-shortcuts>.account-shortcut,.account-refreshed .account-library-shortcuts>.account-section-link{flex:1 1 130px}
.account-refreshed .account-section-link,.account-refreshed .account-library-shortcuts .account-shortcut>a{min-height:56px;padding:12px;background:#e6f2f6;border:1px solid #99bbc8;color:#164c62;font:700 16px Arial,sans-serif;text-decoration:none;display:flex;align-items:center;justify-content:center}
.account-refreshed .account-section-link{border-radius:9px}
.account-refreshed .account-library-shortcuts .account-shortcut>button{max-width:32px}
.account-refreshed .account-settings-drawer{grid-column:2;min-width:0;background:var(--gui-panel,#fff);border:1px solid var(--gui-line,#bbd0d7);border-radius:10px}
.account-refreshed .account-settings-drawer>summary{cursor:pointer;padding:15px 20px;color:#164c62;font:700 17px Arial,sans-serif;list-style:none}
.account-refreshed .account-settings-drawer>summary::after{content:'▾';float:right}
.account-refreshed .account-settings-drawer[open]>summary::after{content:'▴'}
.account-refreshed .account-settings-drawer>.account-settings{border:0;border-top:1px solid var(--gui-line,#bbd0d7);box-shadow:none;border-radius:0;padding:20px}
.account-refreshed .account-settings-drawer>.account-settings>h2{display:none}
.account-refreshed .profile-card{grid-column:1}
.account-refreshed .account-security{grid-column:2}
.account-refreshed .account-open-order{display:inline-block;margin:0 0 12px;color:#125276;font-weight:700}
@media(max-width:850px){.account-refreshed .account-member-grid{grid-template-columns:minmax(0,1fr)}.account-refreshed .account-library-shortcuts,.account-refreshed .account-settings-drawer,.account-refreshed .profile-card,.account-refreshed .account-security{grid-column:1}}
