.aimap-account-panel{width:min(100%,1120px)}.space-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}.space-eyebrow{font-size:12px;color:var(--purple);font-weight:700}.space-intro h2{font-size:28px;margin:8px 0}.space-intro p,.space-help{color:var(--muted);font-size:13px;line-height:1.8}.space-stats{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.space-stats>span{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:14px 20px}.space-stats strong{font-size:22px;color:var(--purple);margin-inline-end:8px}.space-tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:12px}.space-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:9px;padding:10px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap;min-height:42px}.space-button.primary,.space-button.active{background:var(--purple);color:#fff;border-color:var(--purple)}.space-button.subtle{color:var(--muted);background:transparent}.space-button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.space-content{margin-top:24px}.space-toolbar{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:20px}.space-toolbar label,.space-dialog label{display:block;font-size:13px}.space-toolbar input,.space-toolbar select,.space-dialog input,.space-dialog textarea{margin-top:8px!important}.space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.space-card{min-width:0;padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column}.space-card-top{display:flex;align-items:center;gap:10px}.space-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--purple);color:#fff;font-weight:800}.space-badge{font-size:11px;color:var(--muted)}.space-card h3{margin:16px 0 6px;overflow-wrap:anywhere}.space-domain{color:var(--muted);font-size:12px;text-align:start;overflow-wrap:anywhere}.space-tags{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.space-tags span{border:1px solid var(--line);border-radius:6px;padding:3px 7px;font-size:11px}.space-note{white-space:pre-wrap;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.space-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:16px}.space-empty{grid-column:1/-1;text-align:center;padding:40px 20px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}.space-history article{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:16px 0}.space-history time{display:block;color:var(--muted);font-size:12px;margin-top:5px}.space-history-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.aimap-auth input[type=checkbox]{width:auto;min-height:0;accent-color:var(--purple)}.space-dialog{width:min(94vw,520px);max-height:85vh;overflow:auto;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:16px;padding:24px}.space-dialog::backdrop{background:#0008}.space-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.space-dialog-heading h2{font-size:20px;margin:0}.space-dialog fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0}.space-dialog .space-choice{display:flex;align-items:center;gap:8px}.space-dialog .space-choice input{width:auto;min-height:0;margin:0!important}.space-dialog-actions{display:flex;gap:10px}.space-dialog [type=submit]{width:auto!important;margin:0!important}.space-dialog label{margin-bottom:12px}.space-dialog input,.space-dialog textarea{width:100%;min-height:44px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit}.space-dialog textarea{min-height:120px}#space-dialog-error{color:#d54949}#space-status{font-size:13px;color:var(--purple);margin-top:12px}#aimap-profile-settings[hidden]{display:none!important}@media(max-width:900px){.space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-intro{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.space-grid,.space-toolbar{grid-template-columns:1fr}.space-stats>span{padding:10px 12px;font-size:12px}.space-intro h2{font-size:24px}.space-history-controls{align-items:flex-start;flex-direction:column}}

/* Account workspace matches the directory typography and controls. */
.aimap-account-panel{padding:24px!important;border-radius:16px!important}
.aimap-account-panel h1{font-size:26px!important;line-height:1.5!important;margin:10px 0 18px!important;overflow-wrap:anywhere}
.space-intro{gap:16px}.space-intro h2{font-size:23px;line-height:1.6;margin:6px 0}
.space-eyebrow{font-size:10px}.space-intro p,.space-help,.space-content>p{font-size:12px;line-height:1.85;margin:6px 0 14px;color:var(--muted)}
.space-content>h2{font-size:20px;line-height:1.6;margin:0 0 12px}
.space-stats{gap:10px;margin:18px 0}.space-stats>span{flex:1;min-width:0;padding:12px 14px;font-size:11px}.space-stats strong{font-size:19px}
.space-button{font-size:11px;padding:8px 12px;min-height:40px;border-radius:9px}
html[data-theme=dark] .space-button.primary,html[data-theme=dark] .space-button.active,html[data-theme=dark] .space-symbol{background:#7350df;border-color:#7350df;color:#fff}
html[data-theme=dark] .space-button.primary:hover,html[data-theme=dark] .space-button.active:hover{background:#805ded}
.space-tabs{gap:6px;padding-bottom:10px}.space-content{margin-top:18px}
.space-toolbar{gap:12px;margin-bottom:16px}.space-toolbar label,.space-dialog label{font-size:11px}
.space-grid{gap:12px}.space-card{padding:14px;border-radius:12px}
.space-card h3{font-size:14px;line-height:1.6;margin:10px 0 4px}
.space-badge,.space-domain{font-size:10px}.space-note{font-size:11px;line-height:1.85}
.space-tags{gap:4px;margin:7px 0}.space-tags span{font-size:9px;padding:2px 5px}
.space-card-actions{gap:5px;padding-top:10px}.space-card-actions .space-button{font-size:10px;padding:6px 8px;min-height:36px}
.space-empty{font-size:12px;padding:26px 16px;line-height:1.85}
.space-history article{padding:12px 0;font-size:12px}.space-history time{font-size:10px}
.space-dialog{padding:20px;border-radius:14px}.space-dialog-heading h2{font-size:18px}
.space-dialog input,.space-dialog textarea,.space-toolbar input,.space-toolbar select{font-size:16px!important}
@media(max-width:760px){
.aimap-auth:has(.aimap-account-panel){padding:20px 0!important}
.aimap-account-panel{width:calc(100% - 32px)!important;padding:16px!important}
.aimap-account-panel h1{font-size:21px!important;margin-bottom:14px!important}
.space-intro h2{font-size:19px}.space-intro{gap:10px}
.space-intro p,.space-content>p{font-size:11px;line-height:1.85}
.space-intro>.space-button{white-space:normal;text-align:center}
.space-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0}
.space-stats>span{padding:8px 6px;font-size:9px;line-height:1.7;text-align:center}
.space-stats strong{display:block;font-size:18px;margin:0}
.space-tabs{gap:5px}.space-tabs .space-button{font-size:10px;padding:7px 9px;flex-shrink:0}
.space-content{margin-top:14px}.space-content>h2{font-size:17px}
.space-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.space-card{padding:10px;border-radius:12px}.space-card-top{gap:6px}.space-symbol{width:30px;height:30px;flex-shrink:0}
.space-card h3{font-size:12px;margin:8px 0 4px}.space-badge,.space-domain{font-size:9px}
.space-card-actions .space-button{font-size:9px;padding:5px 6px}
.space-dialog{padding:16px}.space-dialog-heading h2{font-size:17px}
.space-dialog-actions{flex-wrap:wrap}.space-empty{font-size:11px;padding:22px 12px}
}

/* Use the catalogue's compact type scale throughout the account workspace. */
.aimap-auth .aimap-account-panel h1{font-size:20px!important;line-height:1.6!important}
.aimap-account-panel .space-intro h2{font-size:18px!important;line-height:1.6!important}
.aimap-account-panel .space-content>h2{font-size:16px!important;line-height:1.6!important}
.aimap-account-panel .space-toolbar label,.aimap-account-panel .space-dialog label{font-size:10px!important}
.aimap-account-panel .space-card h3{font-size:13px!important;line-height:1.6!important}
.aimap-account-panel .space-content>p,.aimap-account-panel .space-intro p,.aimap-account-panel .space-note{font-size:11px!important;line-height:1.8!important}
.aimap-account-panel .space-button{font-size:10px!important}
@media(max-width:760px){
.aimap-auth .aimap-account-panel h1{font-size:16px!important;margin:8px 0 12px!important}
.aimap-account-panel .space-intro h2{font-size:16px!important;margin:4px 0!important}
.aimap-account-panel .space-content>h2,.aimap-account-panel .space-dialog-heading h2{font-size:14px!important}
.aimap-account-panel .space-card h3{font-size:11px!important;line-height:1.5!important}
.aimap-account-panel .space-content>p,.aimap-account-panel .space-intro p,.aimap-account-panel .space-note{font-size:10px!important;line-height:1.75!important}
.aimap-account-panel .space-eyebrow,.aimap-account-panel .aimap-auth-back{font-size:9px!important}
.aimap-account-panel .space-button{font-size:9px!important}
.aimap-account-panel .space-stats strong{font-size:16px!important}
.aimap-account-panel .space-empty{font-size:10px!important}
}

/* Profile settings use AIMAP surfaces rather than plugin defaults. */
#aimap-profile-settings{margin-top:16px;font-size:11px;color:var(--ink)}
#aimap-profile-settings>p{font-size:11px;line-height:1.85;margin:10px 0;overflow-wrap:anywhere}
#aimap-profile-settings #user-registration{display:block!important;background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden}
#aimap-profile-settings .user-registration-MyAccount-navigation--wrapper{width:100%!important;max-width:none!important;background:var(--white)!important;border:0!important;border-bottom:1px solid var(--line)!important;padding:14px!important}
#aimap-profile-settings .user-registration-profile-header-nav{display:flex;align-items:center;gap:10px;margin:0 0 10px!important;padding:0!important}
#aimap-profile-settings .user-registration-img-container img{width:44px!important;height:44px!important;object-fit:cover;border-radius:12px!important}
#aimap-profile-settings h3{font-size:13px!important;margin:0!important;line-height:1.6!important;color:var(--ink)!important}
#aimap-profile-settings .user-registration-MyAccount-navigation ul{display:flex!important;flex-wrap:wrap;gap:6px;margin:0!important;padding:0!important;list-style:none}
#aimap-profile-settings .user-registration-MyAccount-navigation li{margin:0!important;border:0!important;background:transparent!important}
#aimap-profile-settings .user-registration-MyAccount-navigation a{display:block;padding:8px 12px!important;background:var(--bg)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:8px;font-size:10px!important}
#aimap-profile-settings .user-registration-MyAccount-content,#aimap-profile-settings .user-registration-MyAccount-content__body{width:100%!important;float:none!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:16px!important;min-width:0}
#aimap-profile-settings .user-registration-MyAccount-content__body{padding:0!important}
#aimap-profile-settings .user-registration-myaccount-notice-box{background:var(--white)!important;border:1px solid var(--line)!important;border-radius:10px;padding:12px!important;margin:0 0 14px!important;color:var(--muted)!important}
#aimap-profile-settings .user-registration-myaccount-notice-box h2{font-size:12px!important;line-height:1.7!important;color:var(--ink)!important;margin:0 0 6px!important}
#aimap-profile-settings .user-registration-myaccount-notice-box p{font-size:10px!important;line-height:1.8!important;color:var(--muted)!important;margin:5px 0!important}
#aimap-profile-settings .ur-form-grid{padding:0!important;min-width:0}
#aimap-profile-settings .ur-field-item,#aimap-profile-settings .form-row{margin:0 0 12px!important;padding:0!important}
#aimap-profile-settings .ur-label{font-size:10px!important;line-height:1.7!important;color:var(--muted)!important;margin-bottom:5px!important}
#aimap-profile-settings input:not([type=hidden]):not([type=checkbox]):not([type=submit]){width:100%!important;max-width:100%;min-height:42px!important;padding:8px 10px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--white)!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:14px!important}
#aimap-profile-settings button[type=submit],#aimap-profile-settings input[type=submit]{width:auto!important;min-height:40px!important;font-size:11px!important;padding:8px 16px!important;background:#7350df!important;border:1px solid #7350df!important;color:white!important;border-radius:9px!important;margin:0!important}
#aimap-profile-settings .user-registration-profile-header{padding:0!important;margin:0 0 14px!important;background:transparent!important}
#aimap-profile-settings .user-registration-profile-header h2:empty{display:none}
#aimap-profile-settings .user-registration-myaccount-notice-box{display:none}
#aimap-profile-settings .user-registration-profile-header .user-registration-img-container{width:64px!important;height:64px!important;margin:0 auto!important}
#aimap-profile-settings .user-registration-profile-header{min-height:0!important;height:auto!important}
#aimap-profile-settings .user-registration-profile-header .button-group{margin:4px 0!important}
#aimap-profile-settings .user-registration-MyAccount-navigation ul{flex-direction:row!important}
#aimap-profile-settings .user-registration-MyAccount-navigation li{flex:1;min-width:0}
#aimap-profile-settings .user-registration-MyAccount-navigation a{text-align:center!important}
@media(max-width:760px){
#aimap-profile-settings .user-registration-MyAccount-content{padding:12px!important}
#aimap-profile-settings .ur-form-row{display:flex!important;flex-direction:column!important;gap:0!important}
#aimap-profile-settings .ur-form-grid{width:100%!important;float:none!important}
#aimap-profile-settings input:not([type=hidden]):not([type=checkbox]):not([type=submit]){font-size:16px!important}
#aimap-profile-settings h3{font-size:11px!important}
}
/* Full-width workspace and compact single-row favorite filters. */
main.aimap-auth:has(.aimap-account-panel){width:min(1220px,calc(100% - 32px))!important;padding:20px 0!important}
.aimap-auth .aimap-account-panel{width:100%!important;max-width:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.aimap-account-panel .space-toolbar{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:8px!important;margin-bottom:12px!important}
.aimap-account-panel .space-toolbar label{min-width:0;font-size:9px!important}
.aimap-account-panel .space-toolbar input,.aimap-account-panel .space-toolbar select{width:100%!important;min-width:0!important;min-height:38px!important;height:38px!important;padding:6px 8px!important;margin-top:4px!important;border-radius:8px!important}
@media(min-width:761px){.aimap-account-panel .space-toolbar{max-width:650px}}




