/* V1.06 — account identity & mobile portrait editor, light/dark compliant. */
.lg106-account{display:inline-flex;align-items:center;gap:9px;min-width:0;text-decoration:none!important;border-radius:12px;color:inherit;transition:background .18s,border-color .18s}
.lg106-account img,.lg106-login-account img{display:block;object-fit:cover;object-position:50% 22%;border-radius:50%;background:#dceaf3;border:2px solid #fff;box-shadow:0 0 0 1px #b9cad8;flex:none}
.lg106-account-top{padding:5px;border:1px solid #c9dae7;background:#fff;min-width:48px;min-height:48px;justify-content:center}
.lg106-account-top img{width:36px;height:36px}
.lg106-account-top .lg106-account-text{display:none}
.lg106-account:hover{background:#eaf4fa;border-color:#91b6d1}
.lg106-account:focus-visible,.lg106-file-label:focus-within{outline:3px solid #5e9bcf;outline-offset:3px}
.lg106-account-sidebar{border:1px solid #d9e5ef;background:#f3f8fb;padding:9px;gap:10px}
.lg106-account-sidebar img{width:39px;height:39px}
.lg106-account-text{display:grid;gap:3px;min-width:0;font-size:12px;line-height:1.18}
.lg106-account-text strong{font-size:12px;font-weight:800;color:#164462}
.lg106-account-text small{color:#668098;font-size:10px}
.lg106-account[aria-current="page"]{border-color:#478ebb;background:#e6f4fb}
.nav-collapsed .lg106-account-sidebar{justify-content:center;padding:7px;border-radius:12px}
.nav-collapsed .lg106-account-sidebar .lg106-account-text{display:none}
.lg106-login-account{display:flex;align-items:center;gap:13px;padding:12px 0 21px;border-bottom:1px solid #dce7f0;margin-bottom:19px}
.lg106-login-account img{width:54px;height:54px;border-width:3px}
.lg106-login-account div{display:grid;gap:5px}
.lg106-login-account strong{font-size:15px;color:#174362;letter-spacing:-.02em}
.lg106-login-account small{font-size:11px;color:#71879b}
/* The private profile page follows the hub grid rather than inventing a new design. */
.lg106-profile-layout{background:var(--lg100-bg,#f6f8fb);min-height:100dvh}
.lg106-profile-main{max-width:990px;margin:0 auto;padding:25px 0 70px;color:var(--lg100-text,#193b54)}
.lg106-back{display:inline-flex;min-height:39px;align-items:center;color:var(--lg100-accent,#1e6793);font-size:12px;font-weight:750}
.lg106-pageheading{margin:15px 0 23px}
.lg106-overline{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--lg100-accent,#2b709e)}
.lg106-pageheading h1{font:500 clamp(31px,4.2vw,46px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:8px 0 12px;color:var(--lg100-text,#172f46)}
.lg106-pageheading p{max-width:680px;color:var(--lg100-muted,#627c91);font-size:13px;line-height:1.72;margin:0}
.lg106-profile-card{background:var(--lg100-card,#fff);border:1px solid var(--lg100-stroke,#d1e1ec);border-radius:17px;box-shadow:0 10px 35px #183f5a0a;padding:clamp(16px,3.2vw,28px);min-width:0}
.lg106-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:21px;padding-bottom:18px;border-bottom:1px solid var(--lg100-stroke,#d1e1ec)}
.lg106-profile-icon{width:43px;height:43px;border-radius:12px;background:var(--lg100-card-alt,#ecf4fa);color:var(--lg100-accent,#2572a0);display:grid;place-items:center;flex:none}
.lg106-profile-icon svg{width:22px;height:22px}
.lg106-profile-head h2{font-size:19px;margin:0 0 4px;color:var(--lg100-text,#153956)}
.lg106-profile-head p{font-size:11px;color:var(--lg100-muted,#68859c);margin:0}
.lg106-profile-grid{display:grid;grid-template-columns:minmax(0,310px) minmax(0,1fr);align-items:start;gap:clamp(18px,4vw,38px)}
.lg106-profile-image-col{display:flex;flex-direction:column;align-items:center;gap:12px}
.lg106-crop-frame{width:min(100%,290px);aspect-ratio:1;background:#e0ebf4;border-radius:50%;border:8px solid var(--lg100-card,#fff);box-shadow:0 0 0 1px #bad1e1,0 14px 38px #16486918;overflow:hidden;position:relative}
.lg106-crop-frame img,.lg106-crop-frame canvas{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 22%;border-radius:50%}
.lg106-crop-frame [hidden]{display:none!important}
.lg106-preview-caption{font-size:10px;color:var(--lg100-muted,#68859c);text-align:center;max-width:270px;line-height:1.5}
.lg106-profile-controls{min-width:0;display:grid;gap:13px}
.lg106-file-label{border-radius:11px;border:1px solid #9ac3df;background:#eef7fd;color:#1d628e;min-height:46px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;font-size:12px;cursor:pointer;text-align:center}
.lg106-file-label:hover{background:#def0fb}
.lg106-file-label svg{width:18px;height:18px}
#lg106-photo-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lg106-file-label:has(+ #lg106-photo-file:focus-visible){outline:3px solid #5e9bcf;outline-offset:3px}
.lg106-hint{font-size:11px;line-height:1.55;color:var(--lg100-muted,#6b849b);margin:-5px 0 3px}
.lg106-crop-controls{display:grid;gap:8px;padding:12px 14px;background:var(--lg100-card-alt,#f0f7fb);border:1px solid var(--lg100-stroke,#d4e3ed);border-radius:11px}
.lg106-crop-controls[hidden]{display:none}
.lg106-crop-controls label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--lg100-text,#24455f);font-weight:700;margin-top:3px}
.lg106-crop-controls label span{font-variant-numeric:tabular-nums;color:var(--lg100-muted,#647e91)}
.lg106-crop-controls input{width:100%;accent-color:#246e9b;min-height:26px;margin:0 0 3px}
.lg106-profile-actions{display:flex;flex-wrap:wrap;gap:9px}
.lg106-profile-actions button{border-radius:9px;min-height:43px;padding:11px 14px;font-size:12px;font-weight:800;background:#175980;color:#fff;border:1px solid #175980;flex:1 1 165px}
.lg106-profile-actions button:hover:not(:disabled){background:#0f476d}
.lg106-profile-actions button.lg106-reset{background:var(--lg100-card,#fff);color:var(--lg100-text,#194965);border-color:var(--lg100-stroke,#b2cada)}
.lg106-profile-actions button:disabled{opacity:.48;cursor:not-allowed}
.lg106-profile-status{font-size:11px;line-height:1.6;color:var(--lg100-muted,#596f83);min-height:20px;margin:0}
.lg106-profile-status.is-error{color:#b34242;font-weight:700}
.lg106-privacy{display:flex;align-items:flex-start;gap:8px;padding:12px;background:var(--lg100-card-alt,#eef5fa);border-radius:9px;font-size:10px;line-height:1.6;color:var(--lg100-muted,#56748b);margin:0}
.lg106-privacy svg{width:16px;height:16px;color:var(--lg100-accent,#27729e);flex:none;margin-top:1px}
.lg106-privacy strong{color:var(--lg100-text,#174360)}
.lg106-quicklinks{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px;font-size:12px;font-weight:700;color:var(--lg100-accent,#286f9a)}
/* Dark mode: ensure avatar, upload and identity remain legible. */
html[data-theme="dark"] .lg106-account-top,html[data-theme="dark"] .lg106-account-sidebar{background:#203950;border-color:#4b718a;color:#edf6ff}
html[data-theme="dark"] .lg106-account:hover{background:#2a4c67}
html[data-theme="dark"] .lg106-account-text strong{color:#f1f8ff}
html[data-theme="dark"] .lg106-account-text small{color:#bad3e5}
html[data-theme="dark"] .lg106-account img{border-color:#20374c;box-shadow:0 0 0 1px #6a8da7}
html[data-theme="dark"] .lg106-login-account{border-color:#405771}
html[data-theme="dark"] .lg106-login-account strong{color:#eff7ff}
html[data-theme="dark"] .lg106-login-account small{color:#b9cddd}
html[data-theme="dark"] .lg106-file-label{background:#1f4966;color:#ecf7ff;border-color:#5782a1}
html[data-theme="dark"] .lg106-file-label:hover{background:#2c5c7b}
html[data-theme="dark"] .lg106-profile-actions button.lg106-reset{background:#203950;color:#eef8ff}
html[data-theme="dark"] .lg106-profile-layout .dash-top{background:#14283e;border-color:#456781}
@media(max-width:860px){.lg106-profile-layout .lg-mobile-dock{display:none!important}.nav-collapsed .lg106-account-sidebar .lg106-account-text{display:grid}.lg106-account-top{padding:4px;min-width:43px;min-height:43px;border-radius:50%}.lg106-account-top img{width:33px;height:33px}.lg106-profile-main{padding-top:16px}}
@media(max-width:620px){.lg106-account-top{min-width:40px;min-height:40px}.lg106-account-top img{width:31px;height:31px}.lg106-profile-grid{grid-template-columns:1fr;gap:22px}.lg106-crop-frame{width:min(100%,210px);border-width:6px}.lg106-profile-image-col{gap:9px}.lg106-profile-card{padding:16px}.lg106-profile-main{padding-top:12px;padding-bottom:110px}.lg106-profile-head{margin-bottom:16px}.lg106-profile-actions{flex-direction:column}.lg106-profile-actions button{flex-basis:auto;width:100%}.lg106-pageheading{margin-bottom:19px}.lg106-pageheading p{font-size:12px}}
@media(max-width:350px){.lg106-profile-main{min-width:0}.lg106-account-top{min-width:38px;min-height:38px}.dash-top .eyebrow{max-width:140px}}
