/* 계정 센터 — 공통 색상 토큰을 사용하고 다른 모달·작업공간에 영향을 주지 않는다. */
.account-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:50%;color:#fff;font-weight:600;line-height:1}
.side .bottom .account-avatar{color:#fff}
.side .account-entry{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;padding:4px;border-radius:8px}
.account-center{padding:0;border:1px solid var(--border-subtle);border-radius:18px;background:var(--surface-base);color:var(--text-primary);width:min(1040px,calc(100vw / var(--bim-ui-scale,1) - 48px));height:min(740px,calc(100dvh / var(--bim-ui-scale,1) - 64px));max-width:none;max-height:none;overflow:hidden;box-shadow:0 24px 90px #0003;font-family:inherit}
.account-center::backdrop{background:#161b2380;backdrop-filter:blur(3px)}
.account-frame{min-width:0;display:flex;flex-direction:column;height:100%;min-height:0}
.account-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--border-subtle);flex:none}
.account-header>div{display:flex;gap:10px;align-items:center}
.account-header h2{margin:0;font-size:17px;font-weight:650;letter-spacing:-.03em}
.account-header .icb{font-size:26px;width:36px;height:36px}
.account-layout{display:grid;grid-template-columns:228px minmax(0,1fr);flex:1;min-height:0}
.account-sidebar{min-width:0;padding:20px 12px 16px;background:var(--surface-subtle);border-right:1px solid var(--border-subtle);display:flex;flex-direction:column;min-height:0;gap:18px}
.account-search{display:block;padding:0 4px}
.account-search input{width:100%;height:38px;min-width:0;padding:0 11px;background:var(--surface-base);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:8px;font:inherit;font-size:13px}
.account-sidebar nav{display:flex;flex-direction:column;gap:4px;overflow:auto;flex:1}
.account-sidebar nav button{display:flex;gap:12px;align-items:center;flex:none;min-height:42px;padding:10px 12px;border-radius:8px;text-align:left;font-size:13px;font-weight:500;color:var(--text-secondary)}
.account-sidebar nav button:hover{background:var(--surface-hover);color:var(--text-primary)}
.account-sidebar nav button[aria-current=page]{background:var(--surface-selected);color:var(--text-primary);font-weight:650}
.account-sidebar nav svg{width:18px;height:18px;flex:none}
.account-nav-user{display:flex;gap:10px;padding:16px 8px 0;border-top:1px solid var(--border-subtle);align-items:center}
.account-nav-user>div{min-width:0}
.account-nav-user b,.account-nav-user span:not(.account-avatar){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.account-nav-user span:not(.account-avatar){color:var(--text-secondary);margin-top:3px;font-size:11px}
.account-content{min-width:0;overflow:auto;overscroll-behavior:contain;padding:30px 38px 42px;scrollbar-gutter:stable}
.account-heading{margin-bottom:28px}
.account-heading h2{font-size:23px;line-height:1.4;margin:0 0 7px;font-weight:650;letter-spacing:-.045em}
.account-heading p{font-size:13px;line-height:1.7;color:var(--text-secondary);margin:0}
.account-section{font-size:14px;line-height:1.6}
.account-section h3{font-size:14px;line-height:1.5;font-weight:600;margin:0}
.account-identity{display:flex;gap:18px;align-items:center;margin-bottom:28px;padding-bottom:26px;border-bottom:1px solid var(--border-subtle)}
.account-identity>div{min-width:0}.account-identity h3{font-size:19px;overflow-wrap:anywhere}
.account-identity p{margin:3px 0 8px;color:var(--text-secondary);font-size:13px;overflow-wrap:anywhere}
.account-tag{font-size:11px;border:1px solid var(--border-subtle);border-radius:5px;padding:3px 7px;color:var(--text-secondary)}
.account-form{display:flex;flex-direction:column;gap:16px}
.account-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:550}
.account-field .inp{width:100%;min-height:42px;font-size:14px}
.account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.account-actions.spread{justify-content:space-between}
.account-form .account-actions{margin-top:0;justify-content:flex-end}
.account-form .account-actions.spread{justify-content:space-between}
.account-help{color:var(--text-secondary);font-size:12px;line-height:1.75;margin:10px 0;overflow-wrap:anywhere}
.account-form .account-help{margin:0}
.account-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 0;border-bottom:1px solid var(--border-subtle)}
.account-row-copy{min-width:0;flex:1}
.account-row-copy p{margin:5px 0 0;font-size:12px;line-height:1.7;color:var(--text-secondary);overflow-wrap:anywhere}
.account-row-control{flex:none;max-width:100%}
.account-center select{background:var(--surface-base);color:var(--text-primary);border:1px solid var(--border-strong);border-radius:7px;padding:8px 10px;font:inherit}
.account-row-control .sel{max-width:220px;min-height:38px;font-size:12px}
.account-meta{font-size:12px;color:var(--text-secondary)}
.account-colors{display:flex;gap:7px;flex-wrap:wrap}
.account-colors button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--avatar-color);color:#fff;font-size:15px;border:3px solid var(--surface-base);outline:1px solid transparent}
.account-colors button[aria-pressed=true]{outline-color:var(--text-primary)}
.account-check{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--text-secondary)}
.account-check input{accent-color:var(--text-primary);width:16px;height:16px}
.account-feedback{padding:10px 12px;border-radius:7px;font-size:13px;line-height:1.6;margin:14px 0;overflow-wrap:anywhere}
.account-feedback.error{background:var(--status-danger-soft);color:var(--status-danger)}
.account-feedback.success{background:var(--status-success-soft);color:var(--status-success)}
.account-confirm,.account-discard{padding:16px;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface-subtle);margin:18px 0;font-size:13px}
.account-confirm p,.account-discard p{color:var(--text-secondary);margin:8px 0;font-size:12px;line-height:1.65}
.account-discard{margin:0 0 24px;border-color:var(--status-warning);background:var(--status-warning-soft)}
.account-key-section{margin-bottom:28px}
.account-key{display:block;padding:12px 14px;overflow-wrap:anywhere;white-space:pre-wrap;background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:8px;font:12px/1.8 var(--f-mono);user-select:all;margin:14px 0}
.account-details{border-top:1px solid var(--border-subtle);margin-top:28px;padding-top:20px}
.account-details summary{cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;padding:4px 0;margin-bottom:14px}
.account-details .set-lead{font-size:12px}.account-details .mono{overflow-wrap:anywhere}
.account-details .conn-row span{overflow-wrap:anywhere}
.account-details .set-row{flex-wrap:wrap}
.account-group-title{margin-bottom:14px!important}
.account-themes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}
.account-theme{position:relative;text-align:left;border:1px solid var(--border-subtle);border-radius:10px;padding:12px;color:var(--text-secondary);font-size:13px}
.account-theme[aria-pressed=true]{border-color:var(--text-primary);color:var(--text-primary)}
.theme-check{float:right;font-weight:700}
.theme-sample{display:block;position:relative;overflow:hidden;height:88px;margin-bottom:12px;border:1px solid #0002;border-radius:5px;background:#fcfcfc}
.theme-sample:before{content:'';position:absolute;inset:0 auto 0 0;width:28%;background:#eeefef;border-right:1px solid #0001}
.theme-sample i,.theme-sample b,.theme-sample em{position:absolute;display:block;height:5px;border-radius:3px;background:#c9cdcf;left:37%;width:47%;top:22px}
.theme-sample b{top:36px;width:34%}.theme-sample em{top:54px;height:16px;width:47%;background:#eeefef}
.theme-sample.dark{background:#202326}.theme-sample.dark:before{background:#16191b}.theme-sample.dark i,.theme-sample.dark b{background:#60666b}.theme-sample.dark em{background:#383d41}
.account-plan{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--border-subtle);margin-top:-14px}
.account-eyebrow{font-size:11px;color:var(--text-secondary)}
.account-plan h3{font-size:28px;margin-top:5px;font-weight:600}
.account-usage{padding:20px 0;border-bottom:1px solid var(--border-subtle)}
.account-usage .account-actions{margin:0}.account-usage p{margin:12px 0}
.account-usage strong{font-size:25px;font-weight:550;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.account-remaining{float:right;color:var(--text-secondary);font-size:12px;margin-top:9px}
.account-usage progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:var(--surface-selected);accent-color:var(--text-primary)}
.account-usage progress::-webkit-progress-bar{background:var(--surface-selected)}
.account-usage progress::-webkit-progress-value{background:var(--text-primary);border-radius:8px}
.account-plans>div{padding:10px 0}.account-plans dt{font-size:13px;font-weight:600}.account-plans dd{margin:3px 0;color:var(--text-secondary);font-size:12px}
.account-information{margin-top:28px}.account-information p{font-size:12px;color:var(--text-secondary);line-height:1.8}
.account-empty{padding:50px 12px;text-align:center}.account-empty svg{width:32px;height:32px;color:var(--text-secondary);margin-bottom:12px}.account-empty p{font-size:13px;color:var(--text-secondary);margin:12px 0 22px}
.account-section .users .urow{flex-wrap:wrap}.account-section .users .uctl{flex-wrap:wrap}.account-section .users .uid{min-width:0;overflow-wrap:anywhere}
.account-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.account-center :focus-visible{outline:2px solid var(--text-primary);outline-offset:3px}
.account-center button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){
 .account-center{width:100vw;height:100dvh;margin:0;border-radius:0;border:0}
 .account-header{padding:12px 16px}.account-header .icb{width:40px;height:40px}
 .account-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .account-sidebar{min-width:0;padding:10px 12px 0;border-right:0;border-bottom:1px solid var(--border-subtle);gap:8px}
 .account-search input{height:36px}.account-sidebar nav{flex-direction:row;overflow-x:auto;padding:0 4px 10px;gap:6px}
 .account-sidebar nav button{white-space:nowrap;min-height:40px;font-size:12px;gap:7px;padding:8px 10px}
 .account-sidebar nav svg{width:16px;height:16px}.account-nav-user{display:none}
 .account-content{padding:24px 20px 40px;scrollbar-gutter:auto}.account-heading{margin-bottom:24px}.account-heading h2{font-size:22px}
 .account-row{flex-direction:column;align-items:flex-start;gap:12px;padding:20px 0}.account-row-control{width:100%}.account-row-control .sel{width:100%;max-width:none}
 .account-colors{gap:12px}.account-colors button{width:40px;height:40px}
 .account-content .btn{min-height:40px}.account-identity{gap:14px}.account-themes{gap:12px}
 .account-check{min-height:40px}.account-content .users .uctl{width:100%}
}
@media(prefers-reduced-motion:reduce){.account-center *{transition:none!important;scroll-behavior:auto!important}}
