/* Account-specific layout over the shared developer-console visual base. */
.account-body main { max-width:520px; }
.account-body main > section { padding:28px; border-radius:10px; }
.account-body main > section h1 { font-size:26px; letter-spacing:-.5px; }
.account-body main.wide { max-width:none; margin:0; padding:0; }
.account-body .dash { gap:0; }
.account-body .account-content { min-width:0; width:100%; max-width:1400px; padding:26px 36px 80px; }
.account-content:focus { outline:none; }
.account-content .pane { gap:24px; min-width:0; }
.account-content .pane > .intro { max-width:780px; }
.account-content section { min-width:0; padding:24px; border-radius:10px; }
.account-content section h2 { font-size:18px; letter-spacing:-.3px; margin-bottom:16px; }
.account-content .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
.account-content .two { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.account-body .shell .side .who { padding:0 12px 22px; margin-bottom:18px; }
.account-body .who-email { font-size:14px; overflow-wrap:anywhere; word-break:normal; }
.account-body .who .small { margin-top:5px; font-size:12px; overflow-wrap:anywhere; }
.account-body .devices .amount { grid-row:auto; }
.account-body .devices li > div { min-width:0; }
.account-body .devices li > .row { flex-wrap:wrap; }
.account-body .kv { margin-bottom:18px; }
.account-body .codes { background:#111617; overflow-wrap:anywhere; }
.account-body .qr { background:white; }
.account-body .check input { width:16px; height:16px; }
.account-body #account-set-password { padding:16px 20px; border:1px solid var(--line); border-radius:8px; background:var(--panel); margin:0; }
/* Sign in with Nostrad's approval page (src/connect.ts) and one connected app's page under Apps. */
.consent h2 { font-size:16px; margin:14px 0 2px; }
.consent-who { margin:0 0 6px; color:var(--dim); overflow-wrap:anywhere; }
.consent-list { margin:0; padding-left:20px; display:grid; gap:6px; }
.consent-buttons { flex-direction:row-reverse; justify-content:flex-start; margin-top:6px; }
/* Add credit: the chosen amount, then its fee and credit, then Continue to payment. */
#credit-add [data-credit="amounts"] { margin-bottom:16px; }
#credit-add [data-credit="amounts"] button[aria-pressed="true"] { border-color:var(--accent); background:#1f2b27; box-shadow:inset 0 0 0 1px var(--accent); }
#credit-add [data-credit="pay"] { margin-bottom:12px; }
#app-settings h3 { font-size:15px; margin:22px 0 8px; }
#app-settings form { margin:0; }
#app-settings input[name=limit] { max-width:220px; }
#app-settings .links { margin:0 0 4px; }
#apps-list .devices li > a.button { grid-column:2; grid-row:1 / span 2; align-self:center; display:inline-flex; align-items:center; text-decoration:none; }
/* Storage: the meter, the space by place, and Open storage (the drive is /drive/). */
.meter-bar { height:8px; border-radius:4px; background:#111617; border:1px solid var(--line); overflow:hidden; margin-bottom:8px; }
.meter-fill { height:100%; width:0; background:var(--accent); transition:width .3s; }
.meter-fill.nearing { background:#e0b65a; } .meter-fill.critical, .meter-fill.exceeded { background:var(--bad); }
#storage-meter .kv { margin:16px 0 18px; }
#storage-meter .kv a { color:var(--text); }
#storage-meter > a.button { margin-bottom:14px; }
/* The picker (/pick, src/storage.ts): places, a folder's files with ticks, Pick and Cancel. */
.pick-places { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.consent button.pick-go { width:auto; min-height:0; padding:0; border:0; background:none; color:var(--accent); font:inherit; font-size:inherit; cursor:pointer; }
.consent .pick-places button.pick-go { padding:5px 10px; border:1px solid var(--line); border-radius:6px; color:var(--text); font-size:13px; }
.consent .pick-places button.pick-go[aria-current] { border-color:var(--accent); color:var(--accent); }
.pick-search { display:flex; gap:8px; align-items:end; margin:0 0 10px; }
.pick-search label { flex:1; }
.pick-trail { margin:0 0 8px; color:var(--dim); font-size:13px; }
.pick-list { list-style:none; margin:0 0 12px; padding:0; display:grid; gap:6px; max-height:420px; overflow:auto; }
.pick-list li { border:1px solid var(--line); border-radius:6px; padding:6px 10px; }
.pick-list .pick-title { overflow-wrap:anywhere; }
.pick-folder .pick-go { font-weight:600; }
@media (max-width:650px) { #apps-list .devices li > a.button { grid-column:1; grid-row:auto; justify-self:start; } }
@media (max-width:1100px) {
 .account-body .account-content { padding:26px 24px 70px; }
 .account-content .two { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:650px) {
 .account-body .account-content { padding:22px 16px 60px; }
 .account-content .pane { gap:20px; }
 .account-content section { padding:18px; }
 .account-content .cards { grid-template-columns:minmax(0,1fr); gap:12px; }
 .account-body .shell .side .who { width:auto; }
 .account-body .devices .amount { grid-column:1; text-align:left; }
 .account-body main:not(.wide) { margin:24px auto; }
 .account-body main > section { padding:22px; }
 .account-body .top .top-links { margin-left:0; }
}
