[data-public-account]{min-height:44px;padding:10px 12px;border:1px solid #ffffff30;border-radius:12px;background:#0a304675;color:white;font:650 14px/1.3 system-ui,-apple-system,Segoe UI,sans-serif;cursor:pointer}.bagday-account-dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #bfd5e5;border-radius:20px;padding:24px;background:#fff;color:#163653;font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}.bagday-account-dialog::backdrop{background:#0009}.bagday-account-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.bagday-account-dialog h2{font-size:22px;margin:0}.bagday-account-dialog button{min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid #bfd5e5;background:#e5eff6;color:inherit;font:inherit}.bagday-account-dialog [data-error]{color:#a22e22;white-space:pre-wrap}[data-theme=dark] .bagday-account-dialog{background:#10283e;color:#f7f8fc;border-color:#245573}[data-theme=dark] .bagday-account-dialog button{background:#18374d;border-color:#245573}[data-theme=dark] .bagday-account-dialog [data-error]{color:#ffb7aa}.bagday-section-header .header-actions{flex-wrap:wrap}body .bagday-section-header:has([data-public-account]){grid-template-columns:50px minmax(0,1fr) 112px!important}#appContent .top-actions{display:flex;align-items:center;gap:6px}#appContent .topbar:has([data-public-account]){grid-template-columns:100px minmax(0,1fr) 140px}#appContent [data-public-account]{font-size:12px;padding:8px;min-width:76px}.bagday-account-dialog [data-google]{min-height:44px;margin:20px 0}@media(max-width:520px){body .bagday-section-header:has([data-public-account]){grid-template-columns:44px minmax(0,1fr) 90px!important}#appContent .topbar:has([data-public-account]){grid-template-columns:82px minmax(0,1fr) 130px}}
/* Public account controls share the same compact rounded-square shape as Home. */
body .bagday-section-header:has([data-public-account]){grid-template-columns:52px minmax(0,1fr) 52px!important}
body .bagday-section-header .header-actions [data-public-account]{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;padding:0!important;border-radius:14px!important;font-size:0!important;line-height:0!important}
body .bagday-section-header .header-actions [data-public-account] svg{display:block;width:24px;height:24px}
@media(max-width:520px){body .bagday-section-header:has([data-public-account]){grid-template-columns:44px minmax(0,1fr) 44px!important}body .bagday-section-header .header-actions [data-public-account]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}
