/* The account list follows the reference; Google tools retain their original forms. */
#kr-app .connections-workspace {display:flex;flex-direction:column;gap:24px!important;min-width:0;}
#kr-app .connections-workspace .connections-accounts {padding:24px!important;border:1px solid #e1e5db!important;border-radius:24px!important;background:#fff!important;box-shadow:0 2px 8px #173f3005!important;}
#kr-app .connections-title-row {display:flex;justify-content:space-between;align-items:center;gap:20px;}
#kr-app .connections-title-row h2 {margin:0;font-size:18px;line-height:1.5;font-weight:800;}
#kr-app .connections-workspace .connections-title-row button {flex:none;min-height:40px!important;padding:8px 18px;border:0;border-radius:24px!important;background:#145C46;color:#FBFAF7;font:750 13px Manrope,sans-serif;cursor:pointer;}
#kr-app .connections-workspace .connections-title-row button:hover {background:#145C46;}
#kr-app .connections-scope {font-size:12px;line-height:1.75;color:#52685d;max-width:88ch;margin:12px 0 24px;}
#kr-app .connections-table-head {display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:24px;padding:18px 20px;border-radius:20px 20px 0 0;background:#fbfaf7;font-size:12px;font-weight:650;color:#173f30;}
#kr-app .connections-account-row {border-top:1px solid #e2e6dc;}
#kr-app .connections-account-row:last-of-type {border-bottom:1px solid #e2e6dc;}
#kr-app .connections-account-row>summary {display:grid;grid-template-columns:16px 36px minmax(0,1fr) 190px;align-items:center;gap:16px;list-style:none;padding:20px;cursor:pointer;min-height:76px;box-sizing:border-box;}
#kr-app .connections-account-row>summary::-webkit-details-marker {display:none;}
#kr-app .connections-account-row>summary:hover {background:#fbfaf7;}
#kr-app .connections-account-arrow {font-size:24px;line-height:1;justify-self:center;color:#52685d;transition:transform .15s;}
#kr-app .connections-account-row[open] .connections-account-arrow {transform:rotate(90deg);}
#kr-app .connections-account-avatar {width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e5ecdf;color:#173f30;font-size:15px;font-weight:800;}
#kr-app .connections-account-identity {display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere;}
#kr-app .connections-account-identity strong {font-size:14px;line-height:1.6;font-weight:650;}
#kr-app .connections-account-identity small {font-size:12px;color:#52685d;line-height:1.5;}
#kr-app .connections-account-status {justify-self:start;display:inline-flex;padding:4px 10px;border-radius:20px;background:#edf2e7;color:#173f30;font-size:12px;font-weight:650;line-height:1.6;}
#kr-app .connections-account-status[data-reconnect=true] {background:#F4F7F5;color:#173F30;}
#kr-app .connections-account-body {padding:0 24px 24px 104px;}
#kr-app .connections-account-body p {margin:0 0 10px;font-size:13px;line-height:1.75;color:#52685d;overflow-wrap:anywhere;}
#kr-app .connections-row-actions {display:flex;gap:10px;flex-wrap:wrap;padding-top:6px;}
#kr-app .connections-row-actions button {min-height:44px;padding:9px 16px;border:1px solid #cbd5c8;border-radius:8px;background:white;color:#173f30;font:650 13px Manrope,sans-serif;cursor:pointer;}
#kr-app .connections-row-actions button:hover {background:#f3f0e7;}
#kr-app .connections-row-actions button:last-child:not(:first-child) {color:#a33d32;border-color:#dfb9ad;}
#kr-app .connections-disconnect {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:20px;}
#kr-app .connections-disconnect p {margin:0;max-width:65ch;font-size:12px;line-height:1.75;color:#52685d;}
#kr-app .connections-disconnect button {flex:none;min-height:44px!important;white-space:normal!important;max-width:245px;line-height:1.5;}
#kr-app .connections-empty {padding:32px 20px;text-align:center;font-size:14px;line-height:1.8;color:#52685d;}
#kr-app .connections-empty p {margin:10px auto 0;max-width:60ch;}
#kr-app .connections-empty strong {color:#173f30;font-size:16px;}
#kr-app .connections-error {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;background:#F4F7F5;border:1px solid #C3D3C9;border-radius:14px;font-size:13px;line-height:1.7;color:#173f30;}
#kr-app .connections-error p {margin:0;}
#kr-app .connections-error button {min-height:44px;flex:none;border:0;padding:10px 16px;background:#145C46;color:#FBFAF7;font:750 13px Manrope,sans-serif;cursor:pointer;}
#kr-app .connections-workspace .account-connection-head {padding:24px!important;grid-template-columns:44px minmax(0,1fr)!important;}
#kr-app .connections-workspace .account-connection-actions button {white-space:normal!important;}
#kr-app .connections-workspace :is(.account-google,.account-analytics,.account-permissions) {border-radius:24px!important;}
#kr-app .connections-workspace .account-permissions {background:#f3f0e7!important;}
#kr-app .connections-evidence {padding:0 24px 24px;}
#kr-app .connections-evidence>summary {min-height:44px;align-content:center;font-size:14px;font-weight:750;cursor:pointer;color:#173f30;}
#kr-app .connections-evidence>div {padding:20px 0 0!important;}
#kr-app .connections-workspace :is(a,button,summary):focus-visible {outline:3px solid #145C46!important;outline-offset:3px!important;}
body[data-workspace=account] #kr-app [aria-label='Choose websites and profiles'] .account-picker-sites label>span>span:first-child {white-space:normal!important;overflow-wrap:anywhere;}
body[data-workspace=account] #kr-app :is([aria-label='Choose websites and profiles'],[aria-label='Choose Analytics properties']) .account-selected-profile {display:block;margin:0;font-size:12px;line-height:1.65;color:#52685d;overflow-wrap:anywhere;}
body[data-workspace=account] #kr-app [aria-label='Choose Analytics properties'] label {min-width:0;}
body[data-workspace=account] #kr-app [aria-label='Choose Analytics properties'] label>span {overflow-wrap:anywhere;}
@media(max-width:899px){
 #kr-app .connections-table-head {grid-template-columns:minmax(0,1fr) 150px;}
 #kr-app .connections-account-row>summary {grid-template-columns:14px 32px minmax(0,1fr) 150px;gap:12px;}
 #kr-app .connections-account-body {padding-left:90px;}
 #kr-app .connections-disconnect {align-items:start;flex-direction:column;gap:16px;}
}
@media(max-width:599px){
 #kr-app .connections-workspace {gap:16px!important;}
 #kr-app .connections-workspace .connections-accounts {padding:20px!important;border-radius:20px!important;}
 #kr-app .connections-title-row {gap:12px;align-items:start;flex-wrap:wrap;}
 #kr-app .connections-title-row h2 {font-size:17px;}
 #kr-app .connections-scope {margin-bottom:20px;}
 #kr-app .connections-table-head {display:none;}
 #kr-app .connections-account-row>summary {grid-template-columns:12px 30px minmax(0,1fr);padding:18px 0;gap:10px;}
 #kr-app .connections-account-avatar {width:30px;height:30px;font-size:13px;}
 #kr-app .connections-account-status {grid-column:3;font-size:11px;padding:3px 8px;}
 #kr-app .connections-account-identity strong {font-size:13px;}
 #kr-app .connections-account-body {padding:0 0 20px;}
 #kr-app .connections-row-actions {flex-direction:column;align-items:stretch;}
 #kr-app .connections-row-actions button {width:100%;}
 #kr-app .connections-disconnect button {max-width:100%;}
 #kr-app .connections-workspace .account-connection-head {padding:20px!important;}
 #kr-app .connections-evidence {padding:0 20px 20px;}
 #kr-app .connections-error {flex-direction:column;align-items:start;gap:12px;}
}
@media(prefers-reduced-motion:reduce){#kr-app .connections-account-arrow{transition:none;}}
