/* Account and conflict screens use the approved Ember shell and FUTURE-01/02 region layout. */
.account-page { --account-surface: #241e30; --account-line: #49364f; --account-muted: #b7a6c1; --account-text: #f3eddc; --account-ember: #ef873f; color:var(--account-text); }
.account-heading { margin-bottom:32px; }
.account-eyebrow { color:var(--account-muted); font:600 11px/1.5 var(--sans,sans-serif); letter-spacing:.18em; margin:0 0 10px; }
.account-heading h1 { font:400 clamp(30px,3.5vw,48px)/1.15 var(--serif,serif); letter-spacing:-.025em; margin:0 0 15px; }
.account-heading > p:last-child { color:var(--account-muted); font-size:16px; margin:0; }
.account-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,290px); gap:28px; align-items:start; }
.account-main { min-width:0; display:grid; gap:24px; }
.account-page .account-card { background:var(--account-surface); border:1px solid var(--account-line); border-radius:12px; padding:26px; min-width:0; }
.account-page h2 { font:400 27px/1.25 var(--serif,serif); margin:0 0 12px; }
.account-page h3 { font:400 23px/1.35 var(--serif,serif); margin:0 0 12px; overflow-wrap:anywhere; }
.account-page p { line-height:1.65; }
.account-card > p, .account-signin > p, .account-conflicts > p { color:var(--account-muted); font-size:14px; margin:0 0 20px; }
.account-page button, .account-page a.account-primary { display:inline-flex; align-items:center; justify-content:center; gap:15px; min-height:44px; padding:10px 16px; font:500 14px/1.35 var(--sans,sans-serif); border:1px solid var(--account-line); border-radius:7px; background:#211b2c; color:var(--account-text); cursor:pointer; text-decoration:none; }
.account-page button:hover { background:#30263a; border-color:#795875; }
.account-page .account-primary { background:var(--account-ember); color:#1a1420; border-color:var(--account-ember); font-weight:700; }
.account-page .account-primary:hover { background:#ffa360; color:#1a1420; border-color:#ffa360; }
.account-page button:disabled { cursor:wait; opacity:.55; }
.account-page :is(button,a,input):focus-visible { outline:3px solid #ffc18a; outline-offset:3px; }
.account-page label { display:block; color:var(--account-text); font-size:14px; font-weight:500; margin:0 0 9px; }
.account-page input { display:block; box-sizing:border-box; width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--account-line); border-radius:7px; background:var(--account-surface); color:var(--account-text); font:400 16px/1.4 var(--sans,sans-serif); margin:0 0 18px; }
.account-page input::placeholder { color:#a596ae; }
.account-signin { padding:3px 0 0; }
.account-signin form { margin:0 0 20px; }
.account-page .account-helper { font-size:13px; line-height:1.6; color:var(--account-muted); }
.account-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.account-card-heading { display:flex; gap:16px; justify-content:space-between; align-items:flex-start; }
.account-card-heading h2 { font-size:23px; overflow-wrap:anywhere; }
.account-chip { flex-shrink:0; padding:6px 10px; border:1px solid #715445; border-radius:99px; background:#3b292b; color:#ffb879; font-size:11px; }
.account-facts { display:grid; grid-template-columns:1fr 1fr; gap:16px; border-top:1px solid var(--account-line); padding-top:20px; margin:14px 0 22px; }
.account-facts dt { font-size:12px; color:var(--account-muted); margin-bottom:6px; }
.account-facts dd { font-size:14px; margin:0; line-height:1.5; }
.account-import-counts { display:flex; flex-wrap:wrap; gap:32px; margin:20px 0; }
.account-import-counts dd { font:400 30px/1.2 var(--serif,serif); color:#ffb879; margin:0 0 5px; }
.account-import-counts dt { color:var(--account-muted); font-size:12px; }
.account-page .account-message { padding:14px 16px; border:1px solid #725342; border-radius:8px; background:#36262d; color:#f8d6b8; font-size:14px; margin:0 0 22px; overflow-wrap:anywhere; }
.account-page .account-message.is-error { border-color:#a26863; color:#ffd0ca; background:#3a242e; }
.account-page [data-account="sync-error"] { margin:20px 0 0; }
.account-aside .account-card { padding:22px; }
.account-aside h2 { font:600 16px/1.4 var(--sans,sans-serif); margin-bottom:20px; }
.account-page .account-aside-row { display:flex; width:100%; box-sizing:border-box; justify-content:space-between; gap:14px; padding:17px 0; border:0; border-bottom:1px solid var(--account-line); border-radius:0; background:transparent; text-align:left; font-size:14px; line-height:1.5; }
.account-aside-row:last-child { border-bottom:0; padding-bottom:0; }
.account-aside-row small { display:block; color:var(--account-muted); font-size:12px; margin-top:7px; line-height:1.6; font-weight:400; }
.account-aside-note { color:var(--account-muted); font:italic 17px/1.65 var(--serif,serif); padding:0 12px; }
.account-conflict { border:1px solid var(--account-line); border-radius:10px; padding:22px; margin-top:20px; background:#201a2b; }
.account-conflict-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:16px 0 22px; }
.account-conflict-columns section { min-width:0; border-top:1px solid var(--account-line); padding-top:14px; }
.account-conflict-columns h4 { display:inline-block; font:500 12px/1.4 var(--sans,sans-serif); color:var(--account-muted); margin:0 0 14px; padding:5px 8px; border:1px solid var(--account-line); border-radius:5px; }
.account-conflict-columns pre { white-space:pre-wrap; overflow-wrap:anywhere; font:400 16px/1.7 var(--serif,serif); max-height:300px; overflow:auto; margin:0; }
.account-confirm { border-top:1px solid var(--account-line); margin-top:24px; padding-top:22px; }
.account-confirm p { color:var(--account-muted); font-size:14px; }
.account-page .account-danger-link { color:#efb2ab; background:transparent; }
.account-page .account-danger { background:#6e2e35; border-color:#a65f67; color:#ffe8e5; }
.account-danger-panel input { margin-top:7px; }
.account-danger-panel form { margin-top:22px; }
.account-page [hidden] { display:none !important; }
@media(max-width:1050px) { .account-layout { grid-template-columns:minmax(0,1fr); } .account-aside { max-width:none; } .account-aside .account-card { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; } .account-aside h2 { grid-column:1/-1; } .account-aside-note { margin-bottom:0; } }
@media(max-width:600px) { .account-heading { margin-bottom:24px; } .account-heading h1 { font-size:32px; } .account-layout { gap:22px; } .account-page .account-card { padding:20px; } .account-card-heading { display:block; } .account-chip { display:inline-block; margin-bottom:12px; } .account-facts,.account-conflict-columns { grid-template-columns:1fr; } .account-page h2 { font-size:25px; } .account-actions { align-items:stretch; } .account-actions button { flex:1 1 auto; } .account-import-counts { gap:24px; } .account-aside .account-card { display:block; } .account-conflict { padding:18px; } }
