body[data-workspace=account] {--approved-bg:#FBFAF7;--workspace-canvas:#FBFAF7;}
body[data-workspace=account] #kr-app {--kr-forest:#173F30;--kr-cream:#F3F0E7;--kr-paper:#FBFAF7;--kr-amber:#173F30;--kr-action-ink:#FBFAF7;}
/* Account follows the signed-in reference; existing forms retain their bindings. */
#kr-app .account-workspace {
 max-width:1600px!important; padding:0 24px 64px 0!important;
 grid-template-columns:256px minmax(0,1fr)!important;gap:24px!important;
}
#kr-app .account-nav {
 border:0!important;border-right:1px solid #e1e5dc!important;border-radius:0!important;
 background:var(--kr-cream)!important;color:var(--kr-forest)!important;
 min-height:calc(100dvh - 64px);top:64px!important;padding:24px 14px!important;
 overflow:visible!important;gap:4px!important;
}
#kr-app .account-nav-identity {display:flex;align-items:center;gap:10px;padding:8px 8px 24px;margin-bottom:4px;border-bottom:1px solid #cdd5c8;min-width:0;}
#kr-app .account-nav-identity>div {display:flex;flex-direction:column;gap:3px;min-width:0;}
#kr-app .account-nav-identity strong,#kr-app .account-nav-identity>div>span {display:block;font-size:12px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#kr-app .account-nav-identity>div>span {color:var(--kr-muted);}
#kr-app .account-nav-avatar {display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#dbe5d4;color:var(--kr-forest);font-size:12px;font-weight:800;}
#kr-app .account-nav-group {display:block;padding:20px 10px 8px;font-size:12px;color:var(--kr-muted);}
#kr-app .account-nav a {font-size:13px!important;font-weight:550!important;color:var(--kr-forest)!important;border-radius:24px!important;padding:10px 14px!important;min-height:44px!important;}
#kr-app .account-nav a:hover {background:#e5e7db!important;}
#kr-app .account-nav a[aria-current=page] {background:#dbe4d3!important;color:var(--kr-forest)!important;font-weight:750!important;}
#kr-app .account-nav a[href='/help'] {border:0!important;margin-top:8px!important;padding-top:10px!important;border-radius:24px!important;}
#kr-app .account-nav .account-all-businesses {margin-top:16px;border-top:1px solid #cdd5c8;border-radius:0!important;padding-top:20px!important;}
#kr-app .account-content {padding-top:28px;gap:20px!important;}
#kr-app .account-heading {gap:8px!important;}
#kr-app .account-heading h1 {margin:0;font:800 26px/1.3 Manrope,sans-serif!important;letter-spacing:-.7px!important;}
#kr-app .account-heading p {margin:0;font-size:13px!important;line-height:1.7!important;}
#kr-app .account-sections {display:flex!important;flex-direction:column;gap:16px!important;}
#kr-app .account-content :is(.account-identity-panel,.account-profile,.account-usage,.account-security,.account-close-section,.account-api) {padding:26px!important;border:1px solid #e2e6dc!important;border-radius:22px!important;background:white!important;box-shadow:0 2px 8px #173f3005!important;}
#kr-app .account-identity {display:flex;align-items:center;gap:14px;min-width:0;}
#kr-app .account-identity .approved-avatar {height:40px!important;width:40px!important;flex:none;font-size:15px!important;background:#e5ecdf!important;color:var(--kr-forest)!important;}
#kr-app .account-identity strong {font-size:14px!important;line-height:1.6;}
#kr-app .account-identity>span:last-child {font-size:13px;}
#kr-app .account-profile {gap:20px!important;}
#kr-app .account-content :is(.account-profile,.account-close-section) h2 {margin:0;font-size:17px;line-height:1.5;font-weight:800;}
#kr-app .account-profile form {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;}
#kr-app .account-profile form>span:has(button) {grid-column:1/-1;justify-content:flex-end;}
#kr-app .account-profile form label>span:first-child {font-size:13px!important;}
#kr-app .account-profile input {font-size:15px!important;min-height:46px!important;background:var(--kr-paper)!important;}
#kr-app .account-profile form button,#kr-app .account-usage a[href='#billing'] {background:#145C46!important;color:#FBFAF7!important;min-height:44px!important;padding:10px 20px!important;border:0!important;}
#kr-app .account-profile form button:hover,#kr-app .account-usage a[href='#billing']:hover {background:#145C46!important;color:#FBFAF7!important;}
#kr-app .account-profile form button:disabled {opacity:.65!important;cursor:wait;}
#kr-app .account-usage {grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr)!important;align-items:start!important;gap:32px!important;}
#kr-app .account-plan-summary>span strong {font-size:26px!important;}
#kr-app .account-plan-summary .account-section-title {font-size:17px;}
#kr-app .account-usage-list {padding:0 0 0 28px;border-top:0;border-left:1px solid #e1e5dc;gap:16px!important;}
#kr-app .account-security {gap:16px!important;}
#kr-app .account-security h2 {font-size:17px!important;}
#kr-app .account-close-section {display:flex;align-items:center;justify-content:space-between;gap:24px;}
#kr-app .account-close-section p {margin:6px 0 0;max-width:68ch;font-size:13px;line-height:1.7;color:var(--kr-muted);}
#kr-app .account-close-section>button {flex:none;padding:10px 18px!important;}
#kr-app .account-api form {flex-wrap:wrap;}
#kr-app .account-content :is(.account-google,.account-analytics,.account-billing-detail,.account-billing-plan,.approved-notifications) {border-radius:22px!important;}
#kr-app .account-dialog {padding:20px!important;background:#173f3070!important;backdrop-filter:blur(3px)!important;}
#kr-app .account-dialog>div {padding:28px!important;border-radius:22px!important;max-height:calc(100dvh - 40px)!important;overscroll-behavior:contain;}
#kr-app .account-dialog h2 {font-size:21px!important;line-height:1.4;}
#kr-app .account-dialog input,#kr-app .account-dialog select,#kr-app .account-dialog textarea {font-size:16px!important;min-width:0;max-width:100%;box-sizing:border-box;}
#kr-app .account-dialog :is(button,a) {min-height:44px!important;line-height:1.5;border-radius:8px!important;}
#kr-app .account-dialog button:disabled {opacity:.55;cursor:wait;}
#kr-app .account-workspace :is(a,button,input,select,textarea):focus-visible,#kr-app .account-dialog :is(a,button,input,select,textarea):focus-visible {outline:3px solid #145C46!important;outline-offset:3px!important;}
@media(min-width:900px){
 #kr-app .account-workspace:has(.account-client-report) {max-width:1600px!important;grid-template-columns:256px minmax(0,1fr)!important;}
}
@media(max-width:1199px) and (min-width:900px){
 #kr-app .account-workspace {grid-template-columns:220px minmax(0,1fr)!important;gap:20px!important;}
 #kr-app .account-workspace:has(.account-client-report) {grid-template-columns:220px minmax(0,1fr)!important;}
 #kr-app .account-usage {grid-template-columns:minmax(0,1fr)!important;}
 #kr-app .account-usage-list {padding:20px 0 0;border-left:0;border-top:1px solid #e1e5dc;}
}
@media(max-width:899px){
 #kr-app .account-workspace {display:block!important;padding:0 20px calc(108px + env(safe-area-inset-bottom))!important;}
 #kr-app .account-content {padding-top:24px;}
 #kr-app .account-nav {top:auto!important;min-height:0;border-right:0!important;border-top:1px solid #cdd5c8!important;padding:8px 12px max(8px,env(safe-area-inset-bottom))!important;}
 #kr-app .account-nav :is(.account-nav-identity,.account-nav-group,.account-all-businesses) {display:none!important;}
 #kr-app .account-nav a {min-height:56px!important;padding:8px 2px!important;border-radius:10px!important;font-size:11px!important;}
 #kr-app .account-nav a[aria-current=page] {background:#173f30!important;color:#f3f0e7!important;}
 #kr-app .account-heading h1 {font-size:25px!important;}
 #kr-app .account-content :is(.account-identity-panel,.account-profile,.account-usage,.account-security,.account-close-section,.account-api) {padding:24px!important;border-radius:18px!important;}
 #kr-app .account-usage {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
 #kr-app .account-usage-list {padding:20px 0 0;border-left:0;border-top:1px solid #e1e5dc;}
}
@media(max-width:599px){
 #kr-app .account-workspace {padding-left:16px!important;padding-right:16px!important;}
 #kr-app .account-content {padding-top:20px;gap:16px!important;}
 #kr-app .account-heading h1 {font-size:23px!important;}
 #kr-app .account-content :is(.account-identity-panel,.account-profile,.account-usage,.account-security,.account-close-section,.account-api) {padding:20px!important;}
 #kr-app .account-profile form {grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
 #kr-app .account-identity strong {font-size:14px!important;}
 #kr-app .account-identity>span:last-child {font-size:12px;}
 #kr-app .account-close-section {align-items:flex-start;flex-direction:column;gap:16px;}
 #kr-app .account-api form {flex-direction:column;}
 #kr-app .account-usage-row>span:first-child {align-items:start;}
 #kr-app .account-usage-row>span:first-child>span {min-width:0;}
 #kr-app .account-usage-row strong {flex:none;}
 #kr-app .account-dialog {padding:12px!important;}
 #kr-app .account-dialog>div {padding:20px!important;max-height:calc(100dvh - 24px)!important;}
 #kr-app .account-dialog form>div {flex-wrap:wrap;}
}
#kr-app .account-dialog button.workspace-primary {background:#145C46!important;color:#FBFAF7!important;}
#kr-app .account-dialog button.workspace-primary:hover {background:#145C46!important;color:#FBFAF7!important;}

/* Notifications follow the broad, compact Settings sections. */
body[data-workspace=account] #kr-app .notifications-preferences{border-radius:24px!important;padding:28px!important;}
#kr-app .notification-preference-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;}
#kr-app .notification-preference-heading h2{margin:0 0 8px;font-size:20px;}
#kr-app .notification-preference-heading p{margin:0;font-size:13px;line-height:1.75;color:#52685d;}
#kr-app .notification-preference-heading button{min-height:44px;flex:none;padding:10px 18px;border:1px solid #145C46;border-radius:24px;background:#145C46;color:#FBFAF7;font:750 13px Manrope,sans-serif;cursor:pointer;}
#kr-app .notification-preference-heading button:hover{background:#145C46;}
#kr-app .notification-preference-scope{padding:16px 18px;background:#F3F0E7;border:1px solid #e0e2d5;border-radius:12px;color:#52685d;font-size:12px;line-height:1.8;margin:24px 0 10px;}
#kr-app .notifications-preferences .account-preference-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto 54px;gap:16px!important;padding:24px 0!important;border-top:1px solid #e1e6db!important;}
#kr-app .notification-preference-status{font-size:12px;color:#52685d;text-align:right;grid-column:3;grid-row:1;}
#kr-app .notifications-preferences .account-preference-row>button{grid-column:2;grid-row:1;}
#kr-app .notifications-preferences .account-preference-row>span:first-child{min-width:0;gap:5px!important;}
#kr-app .notifications-preferences .account-preference-row strong{font-size:14px!important;}
#kr-app .notifications-preferences .account-preference-row>span:first-child>span{font-size:13px!important;line-height:1.7;overflow-wrap:anywhere;}
#kr-app .notification-preference-error{grid-column:1/-1;padding:16px;background:#F4F7F5;border:1px solid #C3D3C9;border-radius:12px;font-size:13px;line-height:1.75;}
#kr-app .notification-preference-error p{margin:0 0 10px;}
#kr-app .notification-preference-error button{min-height:44px;padding:8px 14px;border:1px solid #c8d2c2;border-radius:8px;color:#173F30;background:#fff;font:650 12px Manrope,sans-serif;cursor:pointer;}
#kr-app .notification-essential-note{padding:20px;border-radius:14px;background:#F3F0E7;margin-top:12px;}
#kr-app .notification-essential-note strong{font-size:13px;}
#kr-app .notification-essential-note p{font-size:12px;line-height:1.8;margin:6px 0 0;color:#52685d;}
@media(max-width:599px){
 body[data-workspace=account] #kr-app .notifications-preferences{padding:22px!important;border-radius:20px!important;}
 #kr-app .notification-preference-heading{align-items:start;flex-direction:column;gap:16px;}
 #kr-app .notification-preference-heading button{width:100%;}
 #kr-app .notifications-preferences .account-preference-row{grid-template-columns:minmax(0,1fr) 48px;gap:12px!important;align-items:start!important;}
 #kr-app .notification-preference-status{grid-column:2;grid-row:2;text-align:center;font-size:11px;}
 #kr-app .notifications-preferences .account-preference-row>span:first-child{grid-row:1/3;}
 #kr-app .notification-preference-scope{padding:14px;font-size:12px;}
}
body[data-workspace=account] #kr-app .notification-preference-heading button{border-radius:24px!important;}
#kr-app .notifications-preferences>.notification-preference-scope{max-width:none!important;box-sizing:border-box;}
body[data-workspace=account] #kr-app .notifications-preferences [role=switch][aria-checked=true]{background:#173F30!important;}

/* Report branding follows the reference's wide identity and custom-logo sections. */
body[data-workspace=account] #kr-app .account-content .branding-workspace{display:flex!important;flex-direction:column;align-items:stretch!important;gap:16px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;}
#kr-app .branding-scope{width:100%;box-sizing:border-box;max-width:none!important;margin:0;padding:18px 22px;border:1px solid #d8dfcf;border-radius:14px;background:#F3F0E7;color:#52685d;font-size:13px;line-height:1.75;}
body[data-workspace=account] #kr-app .branding-workspace .account-brand-form{display:grid!important;align-self:stretch!important;width:100%;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:0!important;border:0!important;background:transparent!important;grid-area:auto!important;}
#kr-app .branding-section{box-sizing:border-box;min-width:0;border:1px solid #e2e6dc;border-radius:24px;padding:26px;background:white;box-shadow:0 2px 8px #173f3005;}
#kr-app .branding-section header{margin-bottom:22px;}
#kr-app .branding-section h2{font-size:18px;line-height:1.5;margin:0 0 8px;font-weight:800;}
#kr-app .branding-section header p{margin:0;max-width:none!important;font-size:13px;line-height:1.75;color:#52685d;}
#kr-app .branding-identity-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:820px;}
#kr-app .branding-workspace label{min-width:0;}
body[data-workspace=account] #kr-app .branding-workspace input{font-size:15px!important;min-width:0;max-width:100%;box-sizing:border-box;background:#FBFAF7!important;border-color:#cbd6c7!important;}
#kr-app .branding-logo-fields{display:grid;grid-template-columns:164px minmax(0,1fr);gap:24px;align-items:start;max-width:820px;}
#kr-app .branding-logo-preview{display:grid;place-items:center;box-sizing:border-box;min-width:0;min-height:136px;border:1px dashed #c7d0c2;border-radius:16px;background:#FBFAF7;padding:18px;}
#kr-app .branding-logo-preview>span{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#173F30;color:#F3F0E7;font-size:25px;font-weight:800;}
#kr-app .branding-logo-preview .account-brand-logo{max-width:100%;max-height:90px;margin:0;align-self:auto;}
#kr-app .branding-logo-input{display:flex;flex-direction:column;gap:12px;min-width:0;}
#kr-app .branding-logo-input>button,#kr-app .branding-load-error button{align-self:start;min-height:44px;padding:8px 16px;border:1px solid #cbd6c7;border-radius:24px;background:white;color:#173F30;font:650 13px Manrope,sans-serif;cursor:pointer;}
#kr-app .branding-save{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border:1px solid #e2e6dc;border-radius:18px;background:white;}
#kr-app .branding-save>[role=status]{font-size:13px;color:#52685d;}
#kr-app .branding-save>[data-draft=true]{color:#173F30;}
#kr-app .branding-workspace form>[role=alert],#kr-app .branding-load-error{padding:18px 22px;border:1px solid #C3D3C9;border-radius:14px;background:#F4F7F5;color:#873c29!important;font-size:13px!important;line-height:1.75!important;}
#kr-app .branding-plan-note{margin:20px 0 0;padding:16px 18px;border-radius:12px;background:#F3F0E7;font-size:13px;line-height:1.8;}
#kr-app .branding-plan-note a{font-weight:750;color:#173F30;}
body[data-workspace=account] #kr-app .branding-report-preview{grid-area:auto!important;padding:24px!important;border:1px solid #e2e6dc!important;border-radius:24px!important;background:white!important;width:100%;box-sizing:border-box;}
#kr-app .branding-report-preview .brand-client-toolbar{flex-wrap:wrap;gap:12px;}
#kr-app .branding-report-preview .brand-client-dock{border-radius:16px;margin-top:12px;}
#kr-app .branding-workspace .account-brand-views{margin:0;display:flex;gap:8px;padding:0;border:0;border-radius:0;background:transparent;}
#kr-app .branding-workspace .account-brand-views button{border:1px solid #cbd6c7;border-radius:24px;flex:1;min-height:44px;}
#kr-app .branding-workspace .account-brand-views button[aria-pressed=true]{color:#173F30;background:#F3F0E7;border-color:#173F30;}
@media(max-width:899px){
 #kr-app .branding-workspace .account-brand-form[data-visible=false]{display:none!important;}
 #kr-app .branding-workspace .branding-section{border-radius:22px;padding:24px;}
 #kr-app .branding-identity-fields{gap:20px;}
 #kr-app .branding-save{border-radius:18px;padding:18px 22px;}
}
@media(max-width:599px){
 #kr-app .branding-scope{padding:16px 18px;font-size:12px;}
 #kr-app .branding-workspace .branding-section{padding:22px;border-radius:20px;}
 #kr-app .branding-identity-fields,#kr-app .branding-logo-fields{grid-template-columns:minmax(0,1fr);gap:20px;}
 #kr-app .branding-logo-preview{width:148px;min-height:112px;}
 #kr-app .branding-save{align-items:stretch;flex-direction:column;gap:12px;padding:20px;}
 #kr-app .branding-save>span:last-child,#kr-app .branding-save button{width:100%;}
 body[data-workspace=account] #kr-app .branding-report-preview{padding:18px!important;border-radius:20px!important;}
}
body[data-workspace=account] #kr-app .branding-workspace .branding-save button,
body[data-workspace=account] #kr-app .branding-workspace .brand-client-footer button{background:#145C46!important;color:#FBFAF7!important;border-radius:24px!important;}
body[data-workspace=account] #kr-app .branding-workspace .branding-save button:hover,
body[data-workspace=account] #kr-app .branding-workspace .brand-client-footer button:hover{background:#145C46!important;color:#FBFAF7!important;}
#kr-app .branding-workspace .account-brand-views button{border-radius:24px!important;}
body[data-workspace=account] #kr-app .branding-workspace .branding-save button:disabled,
body[data-workspace=account] #kr-app .branding-workspace .brand-client-footer button:disabled{background:#eceee8!important;color:#53665b!important;cursor:default!important;}
@media(max-width:599px){body[data-workspace=account] #kr-app .branding-workspace input{font-size:16px!important;}}
#kr-app .branding-workspace .branding-plan-note{color:#52685d!important;}
