#accountView{min-height:100vh;}
#accountView .account-shell{box-sizing:border-box;width:100%;max-width:1360px;margin:0 auto;padding:36px 28px 48px;}
#accountView .account-heading{margin:0 0 26px;}
#accountView .account-heading h1{text-align:left;font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:8px 0 10px;}
#accountView .account-heading>p{color:#98a5b8;font-size:14px;line-height:1.6;margin:0;}
#accountView .section-eyebrow{font-size:10px;line-height:1.4;letter-spacing:1.7px;font-weight:700;color:#91baff;}
#accountView .account-layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:22px;align-items:start;}
#accountView .account-content{min-width:0;display:grid;gap:20px;}
#accountView .account-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;}
#accountView .account-card{box-sizing:border-box;min-width:0;margin:0;padding:24px;border:1px solid #2c3543;border-radius:16px;background:linear-gradient(150deg,#1a202a,#151a22);box-shadow:0 8px 28px #00000012;}
#accountView .account-card h2{margin:7px 0 10px;font-size:20px;line-height:1.35;font-weight:700;letter-spacing:-.35px;overflow-wrap:anywhere;}
#accountView .account-description{margin:0;color:#a6b3c5;font-size:13px;line-height:1.65;}
#accountView .account-avatar{display:grid;place-items:center;width:54px;height:54px;margin:0 0 18px;border:1px solid #5b91df60;border-radius:16px;background:linear-gradient(135deg,#36548855,#24344a);color:#b8d5ff;font-size:22px;font-weight:750;}
#accountView #accountName{margin-bottom:5px;}
#accountView #accountUsername{margin:0;color:#8f9db2;font-size:13px;overflow-wrap:anywhere;}
#accountView .account-identity dl{margin:22px 0 0;padding:18px 0 0;border-top:1px solid #2b3442;}
#accountView .account-identity dt{font-size:11px;color:#8392a7;margin:14px 0 4px;}
#accountView .account-identity dt:first-child{margin-top:0;}
#accountView .account-identity dd{margin:0;color:#d9e2ef;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
#accountView .account-logout{box-sizing:border-box;width:100%;margin:22px 0 0;padding:10px 8px!important;font-size:12px;background:#d3565610!important;color:#f3a9ab!important;border:1px solid #c4636340!important;box-shadow:none;border-radius:10px;}
#accountView .account-card-title{display:flex;align-items:center;justify-content:space-between;gap:14px;}
#accountView .account-badge{font-size:10px;font-weight:600;padding:5px 9px;border-radius:7px;color:#8bd8ab;background:#329b5d14;border:1px solid #329b5d40;}
#accountView #accountForm,#accountView #profileTemplateForm{margin:20px 0 0;}
#accountView form label{display:block;margin:18px 0 8px;font-size:12px;font-weight:650;line-height:1.5;color:#dae3f0;}
#accountView form>label:first-child{margin-top:0;}
#accountView form select,#accountView form input{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid #354052;border-radius:10px;background:#10151d;color:#e0e8f4;font:inherit;font-size:13px;text-overflow:ellipsis;}
#accountView form select:hover,#accountView form input:hover{border-color:#536783;}
#accountView :focus-visible{outline:2px solid #8eb8fa;outline-offset:3px;}
#accountView form :disabled{opacity:.5;cursor:not-allowed;}
#accountView .account-hint{margin:8px 0 0;font-size:11px;line-height:1.65;color:#8e9db2;overflow-wrap:anywhere;}
#accountView #profileTemplateSaved{margin-top:14px;padding-left:11px;border-left:2px solid #588eda;color:#a8bfdf;}
#accountView .account-notice{margin:14px 0 0;font-size:12px;line-height:1.6;color:#9ebfff;overflow-wrap:anywhere;}
#accountView .account-notice:empty{display:none;}
#accountView .account-notice[data-tone="error"]{color:#ffa69e;}
#accountView .account-notice[data-tone="success"]{color:#8ed8a8;}
#accountView .account-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid #2a3442;}
#accountView .account-actions button,#accountView .template-search button{width:auto;min-height:40px;padding:10px 13px;border-radius:9px;font-size:11px;font-weight:650;line-height:1.4;margin:0;box-shadow:none;}
#accountView .account-actions .account-secondary,#accountView .template-search button{background:#242e3d;border:1px solid #39485e;color:#cad7e9;}
#accountView .template-search{display:flex;gap:8px;}
#accountView .template-search button{flex:0 0 auto;white-space:nowrap;}
#accountView [hidden]{display:none!important;}
#accountView .account-details{margin-top:18px;font-size:12px;line-height:1.65;color:#a8b7cc;}
#accountView .account-details summary{cursor:pointer;width:fit-content;list-style:none;color:#a4bde1;display:flex;align-items:center;gap:8px;border-radius:3px;}
#accountView .account-details summary::-webkit-details-marker{display:none;}
#accountView .account-details summary::before{content:'›';font-size:18px;line-height:14px;transform:rotate(0);transition:transform .15s;}
#accountView .account-details[open] summary::before{transform:rotate(90deg);}
#accountView .account-details-content{padding:10px 0 0 16px;font-size:11px;color:#8f9fb5;}
#accountView .account-details-content p{margin:0 0 9px;}
#accountView .account-helper{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:16px;background:linear-gradient(120deg,#1b2638,#171e29 65%);border-color:#34445c;}
#accountView .helper-overview{display:flex;align-items:start;gap:14px;min-width:0;}
#accountView .helper-mark{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #6397e544;background:#4285f416;border-radius:12px;color:#a7c9fa;}
#accountView .account-helper h2{font-size:17px;margin:6px 0;}
#accountView .account-helper .account-description{font-size:12px;}
#accountView .account-helper-downloads{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;}
#accountView .account-helper-download{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;width:auto;min-width:182px;box-sizing:border-box;padding:11px 16px;background:#3774d6;border:1px solid #5795f0;border-radius:10px;color:#fff;text-decoration:none;font-size:12px;font-weight:700;line-height:1.5;}
#accountView .account-helper-download:hover{background:#4582e4;}
#accountView .account-helper-download span{font-size:10px;font-weight:400;opacity:.8;}
#accountView .account-helper-instructions{color:#a8bbd7;font-size:11px;text-decoration:none;}
#accountView .account-helper-instructions:hover{text-decoration:underline;}
#accountView .helper-instructions{grid-column:1 / -1;margin:0;padding-top:14px;border-top:1px solid #34445c70;}
#accountView .account-helper-steps{margin:0 0 10px;padding-left:18px;}
#accountView .account-helper-steps li{margin:5px 0;}
@media(max-width:1120px){#accountView .account-layout{grid-template-columns:220px minmax(0,1fr);}#accountView .account-settings-grid{grid-template-columns:1fr;}#accountView .account-helper{grid-template-columns:1fr;}#accountView .account-helper-downloads{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;}#accountView .account-helper-download{min-width:180px;}}
@media(max-width:700px){#accountView .account-shell{padding:24px 14px 32px;}#accountView .account-heading{margin-bottom:20px;}#accountView .account-heading h1{font-size:27px;}#accountView .account-layout{grid-template-columns:1fr;gap:16px;}#accountView .account-content,#accountView .account-settings-grid{gap:16px;}#accountView .account-card{padding:20px;border-radius:14px;}#accountView .account-identity{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:14px;}#accountView .account-avatar{grid-column:1;grid-row:1 / 3;margin:0;width:50px;height:50px;}#accountView #accountName{grid-column:2;margin:0 0 3px;font-size:19px;}#accountView #accountUsername{grid-column:2;}#accountView .account-identity dl{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:3px 16px;margin-top:18px;padding-top:16px;}#accountView .account-identity dt{margin:10px 0 0;}#accountView .account-identity dt:nth-of-type(1){grid-column:1;grid-row:1;}#accountView .account-identity dt:nth-of-type(2){grid-column:2;grid-row:1;}#accountView .account-identity dd:nth-of-type(1){grid-column:1;grid-row:2;}#accountView .account-identity dd:nth-of-type(2){grid-column:2;grid-row:2;}#accountView .account-identity dt:nth-of-type(3),#accountView .account-identity dd:nth-of-type(3){grid-column:1 / -1;}#accountView .account-logout{grid-column:1 / -1;margin-top:16px;}#accountView .account-helper-downloads{align-items:stretch;flex-direction:column;}#accountView .account-helper-instructions{text-align:center;padding:4px;}#accountView .helper-mark{flex-basis:36px;width:36px;height:36px;}#accountView .helper-overview{gap:12px;}#accountView .account-helper h2{font-size:17px;}}
@media(prefers-reduced-motion:reduce){#accountView .account-details summary::before{transition:none;}}

/* Three peer cards; only an opened explanation expands beyond the shared base. */
#accountView .account-shell{max-width:1460px;}
#accountView .account-layout{grid-template-columns:minmax(220px,.85fr) minmax(360px,1.35fr) minmax(270px,1fr);gap:22px;align-items:start;}
#accountView .account-layout>.account-card{min-height:var(--account-card-base,0px);}
#accountView .account-identity{display:flex;flex-direction:column;align-items:stretch;}
#accountView .account-identity .account-avatar{flex:none;}
#accountView .account-identity .account-logout{margin-top:auto;}
#accountView .account-identity dl{margin-bottom:26px;}
#accountView .account-template{border-top:1px solid #2c3543;margin-top:24px;padding-top:21px;}
#accountView .account-template h3{font-size:15px;font-weight:650;margin:0 0 8px;line-height:1.5;}
#accountView .account-template>.account-description{font-size:12px;}
#accountView .account-settings #accountForm{margin-top:14px;}
#accountView .account-settings form label{margin-top:14px;margin-bottom:6px;}
#accountView .account-settings form>label:first-child{margin-top:0;}
#accountView .account-settings form select,#accountView .account-settings form input{height:40px;}
#accountView .account-settings .account-hint{margin-top:6px;}
#accountView .account-settings .account-actions{margin-top:14px;padding-top:12px;}
#accountView .account-settings .account-actions button{min-height:36px;padding:9px 12px;}
#accountView .account-template>.account-description{display:none;}
#accountView .account-template .account-details{margin-top:12px;}
#accountView #profileTemplateForm{margin-top:16px;}
#accountView .account-helper{display:flex;flex-direction:column;gap:0;background:linear-gradient(150deg,#1a202a,#151a22);border-color:#2c3543;}
#accountView .helper-overview{flex-direction:column;gap:18px;}
#accountView .helper-mark{flex-basis:44px;width:44px;height:44px;}
#accountView .account-helper h2{font-size:20px;margin:7px 0 12px;}
#accountView .account-helper .account-description{font-size:13px;}
#accountView .account-helper-downloads{flex-direction:column;align-items:stretch;margin:26px 0 22px;gap:13px;}
#accountView .account-helper-download{width:100%;padding:12px 14px;}
#accountView .account-helper-instructions{text-align:center;}
#accountView .helper-instructions{margin-top:0;padding-top:18px;}
@media(max-width:1050px){#accountView .account-layout{grid-template-columns:1fr;}#accountView .account-layout>.account-card{min-height:0;}#accountView .account-identity .account-logout{margin-top:22px;}#accountView .account-identity dl{margin-bottom:0;}}
@media(max-width:700px){#accountView .account-identity{display:grid;}#accountView .account-identity dl{margin-bottom:0;}#accountView .account-identity .account-logout{margin-top:16px;}#accountView .helper-overview{flex-direction:row;gap:12px;}#accountView .helper-mark{flex-basis:36px;width:36px;height:36px;}#accountView .account-helper h2{font-size:19px;}}
