@import './account-presets.css';
.redz-account-dialog{width:min(1050px,calc(100vw - 32px));max-height:90dvh}.redz-account-dialog::backdrop,.redz-account-preset-editor::backdrop{background:#15212bd4}.redz-account-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d3dade;padding:12px 0}.redz-account-tabs button[aria-selected=true]{background:#1d5f8a;color:white}.redz-account-dialog label{display:block;margin:10px 0}.redz-account-dialog input,.redz-account-dialog select{box-sizing:border-box;max-width:100%;padding:8px;font:inherit}.redz-account-dialog label input{display:block;width:100%}.redz-account-actions,.redz-account-dialog-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.redz-account-dialog-actions{justify-content:flex-end}.redz-map-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin-top:16px}.redz-map-card{display:flex;flex-direction:column;gap:6px}.redz-map-card>button{padding:0;overflow:hidden;min-height:130px}.redz-map-card img{width:100%;height:150px;object-fit:cover;display:block}.redz-account-map-preview img{max-width:100%;max-height:45dvh}.redz-preset-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-bottom:1px solid #d3dade;padding:16px 0}.redz-preset-row>strong,.redz-preset-row>span{font-size:2em}.redz-preset-row>strong{text-align:right}.redz-account-preset-editor{width:min(640px,calc(100vw - 32px));max-height:90dvh}.redz-account-preset-editor .tree-children[hidden]{display:none}.redz-combined-tree [hidden]{display:none}.redz-combined-dots{z-index:12}.redz-user-account-menu-item{display:block;width:auto;font:inherit;color:inherit;text-align:left;margin:0;padding:0;text-decoration:underline}.redz-combined-info-tabs{display:flex;gap:8px}.redz-account-note{color:#9b2939;overflow-wrap:anywhere}.redz-account-dialog svg,.redz-account-sidebar svg{width:20px;height:20px}@media(max-width:600px){.redz-account-dialog{padding:12px}.redz-account-tabs{gap:4px}.redz-account-tabs button{font-size:13px}.redz-map-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.redz-map-card img{height:110px}.redz-preset-row>strong,.redz-preset-row>span{font-size:1.3em}}
/* Colorado keeps its native rows and handlers; offset their existing depth
   only for their new visual position inside the States folder. */
#redz-national-states [data-native-colorado] .tree-row{padding-left:calc(var(--depth)*10px + 10px)}

.redz-population-options{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px 0}.redz-population-options label{display:block;margin-top:6px;font:inherit}.redz-population-options select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;padding:5px}.redz-population-legend{overflow-wrap:anywhere}

/* Account controls share the layer tree and header typography. */
.redz-account-sidebar .redz-account-add-row .area-name{font:inherit;min-width:28px;text-align:center;font-weight:600}
.redz-account-sidebar .tree-children[hidden],#redz-user-sign-out-menu-item[hidden]{display:none}
.redz-user-account-menu-item{background:none;border:0;font:inherit;color:inherit}
.redz-user-account-menu-item[aria-disabled="true"]{opacity:.6;pointer-events:none}
.redz-preset-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.redz-preset-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:1em;overflow-wrap:anywhere}
.redz-preset-copy>strong,.redz-preset-copy>span{font-size:1em;text-align:left}
.redz-preset-actions{display:flex;gap:6px;flex-wrap:nowrap;align-items:center}
.redz-preset-actions button{padding:5px 10px;white-space:nowrap;font:inherit}
.redz-preset-navigation{font:inherit;overflow:auto}
.redz-preset-navigation .tree-row{font:inherit}
.redz-account-save-fields{display:flex;flex-wrap:wrap;align-items:end;gap:10px}
.redz-account-save-fields>label{display:flex;flex:1 1 180px;flex-direction:column;gap:4px;font:inherit;margin:0}
.redz-account-save-fields input{box-sizing:border-box;width:100%;min-width:0;padding:7px;font:inherit}
.redz-account-save-fields .redz-account-actions{margin:0;gap:6px}
.redz-account-save-status{flex:1 0 100%;margin:0;overflow-wrap:anywhere}
.redz-account-map-preview label{display:block;margin:10px 0}.redz-account-map-preview textarea,.redz-account-map-preview label input{display:block;box-sizing:border-box;width:100%;font:inherit;padding:8px}
@media(max-width:600px){.redz-preset-row{flex-wrap:wrap;gap:8px}.redz-preset-copy{flex-basis:100%}.redz-preset-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.redz-preset-actions button{padding:5px 8px}.redz-account-save-fields .redz-account-actions{width:100%}}

.redz-utility-facts{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px;margin:12px 0}.redz-utility-facts dt{font-weight:600}.redz-utility-facts dd{margin:0;overflow-wrap:anywhere}
.redz-account-email-status{color:#173044;margin:6px 0 16px}

/* My Maps folders and organization. */
.redz-map-sort-controls{display:flex;flex-direction:column;align-items:stretch;gap:6px}.redz-map-folder-back{width:100%}.redz-my-maps-controls{align-items:flex-start}.redz-map-breadcrumb{font-weight:600}.redz-map-library-status{font-size:.9em;color:#536573}.redz-map-cards{align-items:start}.redz-map-card{position:relative;min-width:0}.redz-map-card-actions{display:flex;gap:5px;flex-wrap:wrap}.redz-map-card-actions button{font:inherit;padding:4px 7px;min-height:30px}.redz-folder-open{display:flex;justify-content:center;align-items:center;background:#f3f7fa;border:1px solid #d1dbe2;border-radius:4px}.redz-map-folder-icon{color:#648ca6;font-size:72px;line-height:1}.redz-map-drop-slot{position:absolute;z-index:2;top:0;bottom:0;left:-12px;width:12px;border-radius:4px}.redz-map-drop-active{outline:3px solid #498dba;background:#dceefa}.redz-map-drop-end{position:static;width:auto;min-height:60px;border:1px dashed #b3c4ce;display:flex;align-items:center;justify-content:center;font-size:.85em;color:#617887}.redz-map-saved-at{display:block;margin:10px 0 6px}.redz-account-map-preview>select{display:block;width:100%;margin-bottom:12px}.redz-account-map-preview>button{display:block;width:100%;margin:8px 0;box-sizing:border-box}.redz-account-map-preview>button:first-child{width:auto;margin:0;float:right}
