/* The account content sits on the same scene, navy navbar and glass as the homepage. */
html[data-theme] .atte-client-shell { background: transparent !important; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
.atte-client-shell { position: relative; isolation: isolate; }
.atte-client-shell > main { padding-top: 112px; min-height: calc(100vh - 80px); }
.atte-client-shell .home-construction-scene { z-index: -1; }
.atte-client-shell .nav-shell { max-width: none; }
.atte-client-shell .brand-name strong { display: block; }
.atte-client-shell .primary-navigation a { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.atte-client-shell .nav-actions { white-space: nowrap; font-size: 12px; }
.atte-client-shell .theme-toggle { color: #c9a62a; }
html[data-theme] .atte-client-shell .account-construction,
html[data-theme] .atte-client-shell .login-construction { background: transparent !important; }
.atte-client-shell .account-construction::before,
.atte-client-shell .account-construction__masthead::after { display: none !important; }
.atte-client-shell .account-construction__stamp { display: none; }
html[data-theme] .atte-client-shell .account-construction__card,
html[data-theme] .atte-client-shell .account-construction__masthead,
html[data-theme] .atte-client-shell .login-construction__panel { background: color-mix(in srgb, var(--paper) 72%, transparent) !important; border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(20px); color: var(--ink); }
.atte-client-shell .account-construction__masthead h1,
.atte-client-shell .account-construction__card h2,
.atte-client-shell .login-construction h1 { font-family: Georgia, "Times New Roman", serif !important; font-weight: 400 !important; }
.atte-client-shell .account-construction__masthead h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.atte-client-shell .account-construction__masthead { border-left: 3px solid #c9a62a; }
.atte-client-shell .account-construction__masthead p,
.atte-client-shell .account-construction__card p { color: var(--ink-soft) !important; }
.atte-client-shell .account-construction__card::before { display: none; }
.atte-client-shell .login-construction .atte-mode-switch { display: none; }
.atte-client-shell .account-construction__icon { background: transparent; color: #c9a62a; }
@media (max-width: 700px) { .atte-client-shell > main { padding-top: 100px; } .atte-client-shell .nav-actions { gap: 8px; } }
/* With the side navbar there's no bar above the page to clear. */
@media screen and (min-width: 1241px) { .atte-client-shell > main { padding-top: 40px; } }
/* My account > Messages. */
.atte-client-shell .client-message-row { color: inherit; text-decoration: none; border-radius: 10px; transition: background-color .15s ease; }
.atte-client-shell .client-message-row:hover { background: color-mix(in srgb, #c9a62a 8%, transparent); }
.atte-client-shell .client-message-row:focus-visible { outline: 2px solid #c9a62a; outline-offset: 2px; }
.atte-client-shell .client-message-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: #c9a62a; }
.atte-client-shell .client-message-body { margin-top: 1.25rem; color: var(--ink); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
/* The subject in a clear sans-serif with even-height figures (the serif heading font's figures dip below the line,
   which made "$329.95" and "ENQ-36" hard to read). Amounts, references and bank details stand out in bold. */
.atte-client-shell .client-message h2.client-message-subject { font-family: Arial, Helvetica, sans-serif !important; font-weight: 800 !important; line-height: 1.25; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.atte-client-shell .client-message-figure { font-weight: 800; white-space: nowrap; }
.atte-client-shell .client-message-body .client-message-figure { color: var(--ink); }
.atte-client-shell .client-message-detail { font: 700 1.05em/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; }
.atte-client-shell .client-message-body a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: #c9a62a; text-underline-offset: 3px; }
.atte-client-shell .client-message-pay { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: .75rem 1.2rem; border-radius: 999px; color: #14202e; background: #c9a62a; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 20px rgba(193, 155, 54, .3); }
.atte-client-shell .client-message-pay + .client-message-pay { margin-left: .6rem; }
.atte-client-shell .client-message-pay:hover { background: #d4b04d; }
.atte-client-shell .client-message-secondary { display: inline-flex; padding: .6rem 1.1rem; border: 1px solid #c9a62a; border-radius: 999px; color: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.atte-client-shell .client-message-secondary:hover { background: color-mix(in srgb, #c9a62a 15%, transparent); }

/* My account: as wide as the header above it, so large screens aren't mostly empty. */
.atte-client-shell .account-construction .container { width: min(calc(100% - 48px), 1760px); max-width: none; margin-inline: auto; padding-inline: 0; }

/* Upload your receipt (bank transfers): a large tap target to choose the file, then the gold Upload button. */
.atte-client-shell .receipt-card { max-width: 720px; }
.atte-client-shell .receipt-upload { margin-top: 1.25rem; display: grid; gap: .9rem; justify-items: start; }
.atte-client-shell .receipt-drop { display: grid; justify-items: center; gap: .35rem; width: 100%; padding: 1.6rem 1rem; border: 2px dashed color-mix(in srgb, #c9a62a 60%, var(--line)); border-radius: 16px; background: color-mix(in srgb, #c9a62a 6%, transparent); color: var(--ink); text-align: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.atte-client-shell .receipt-drop:hover { background: color-mix(in srgb, #c9a62a 12%, transparent); border-color: #c9a62a; }
.atte-client-shell .receipt-drop:focus-within { outline: 2px solid #c9a62a; outline-offset: 3px; }
.atte-client-shell .receipt-drop svg { color: #c9a62a; }
.atte-client-shell .receipt-drop-title { font-weight: 800; overflow-wrap: anywhere; }
.atte-client-shell .receipt-drop-help { font-size: .85rem; color: var(--ink-soft); }
.atte-client-shell .receipt-send { margin-top: 0; border: 0; cursor: pointer; }
.atte-client-shell .receipt-send:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.atte-client-shell .receipt-result { display: flex; align-items: flex-start; gap: .5rem; margin: 0; padding: .75rem 1rem; border-radius: 12px; font-weight: 600; }
.atte-client-shell .receipt-result-ok { background: color-mix(in srgb, #2f9e66 14%, transparent); border: 1px solid color-mix(in srgb, #2f9e66 50%, transparent); }
.atte-client-shell .receipt-result-error { background: color-mix(in srgb, #d94b3d 12%, transparent); border: 1px solid color-mix(in srgb, #d94b3d 50%, transparent); }
.atte-client-shell .client-receipt-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .5rem 1rem; border: 1px solid #c9a62a; border-radius: 999px; color: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.atte-client-shell .client-receipt-link:hover { background: color-mix(in srgb, #c9a62a 15%, transparent); }
.atte-client-shell .receipt-drop-over { background: color-mix(in srgb, #c9a62a 18%, transparent); border-color: #c9a62a; border-style: solid; }
/* In a message (My Account > Messages): the receipt link becomes this floating upload card. */
.atte-client-shell .client-receipt-box { display: block; margin: 1rem 0 1.25rem; padding: 1.1rem 1.2rem 1.25rem; border: 1px solid color-mix(in srgb, #c9a62a 55%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--paper) 88%, #c9a62a 4%); box-shadow: 0 18px 40px rgba(8, 16, 28, .28), 0 0 0 4px color-mix(in srgb, #c9a62a 10%, transparent); white-space: normal; }
.atte-client-shell .client-receipt-box .receipt-upload { margin-top: .75rem; }
.atte-client-shell .client-receipt-box-title { margin: 0; font: 800 1.05rem/1.3 Arial, Helvetica, sans-serif; letter-spacing: .01em; }
.atte-client-shell .client-receipt-box-note { margin: .3rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.atte-client-shell .client-receipt-box-done { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 700; }
.atte-client-shell .client-receipt-box-done svg { color: #2f9e66; }

/* My account's tabs (Overview, AI Visualiser, Messages, Your details): a row of links on a gold underline. On a phone
   the row scrolls sideways rather than wrapping. */
.atte-client-shell .account-tabs { position: relative; display: flex; gap: 4px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.atte-client-shell .account-tabs::-webkit-scrollbar { display: none; }
.atte-client-shell .account-tab { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--ink-soft); font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.atte-client-shell .account-tab svg { color: #c9a62a; }
.atte-client-shell .account-tab:hover { color: var(--ink); }
.atte-client-shell .account-tab[aria-current="page"] { border-bottom-color: #c9a62a; color: var(--ink); }
.atte-client-shell .account-tab:focus-visible { outline: 2px solid #c9a62a; outline-offset: -2px; }
.atte-client-shell .account-tab-count { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #c9a62a; color: #14202e; font-size: .72rem; text-align: center; }

/* The AI Visualiser tab: the same questions as visualiser.html, in the account's glass card. Once a photo is chosen the
   photo sits on the left and the questions scroll on the right, inside the card rather than the whole window. */
.atte-client-shell .account-visualiser { display: grid; gap: 22px; }
html[data-theme] .atte-client-shell .account-visualiser .callback-form { background: color-mix(in srgb, var(--paper) 72%, transparent); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(20px); }
html[data-theme] .atte-client-shell .account-visualiser.is-photo-layout .visualiser-form { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.atte-client-shell .account-visualiser.is-photo-layout .visualiser-side,
.atte-client-shell .account-visualiser.is-photo-layout .visualiser-question { top: 0; height: min(760px, calc(100svh - 140px)); }
@media (max-width: 860px) {
  .atte-client-shell .account-visualiser.is-photo-layout .visualiser-side,
  .atte-client-shell .account-visualiser.is-photo-layout .visualiser-question { height: auto; }
}
