@import url('tokens.css');

/* Typography and surfaces. Layout of images, map controls and media stays local. */
html{font-size:16px;accent-color:var(--ds-brand);}
.ui-icon-svg{display:block;flex-shrink:0;vertical-align:middle;}.workspace-icon .ui-icon-svg,.ui-control[data-ui=icon]>.ui-icon-svg{margin:auto;}
body{font-family:var(--ds-font-ui)!important;color:var(--ds-text);}
body :is(button,input,select,textarea,summary,label,legend,p,small,span,strong,a,li,td,th,dt,dd,code):not(:where(.gm-style *)){font-family:var(--ds-font-ui)!important;}
body :is(h1,h2){font-family:var(--ds-font-editorial)!important;font-weight:400;line-height:var(--ds-line-heading);}
body :is(h3,h4){font-family:var(--ds-font-ui)!important;font-weight:600;line-height:1.35;}
body :is(.workspace-brand>span,.account-brand,.brand-mark,.atlas-identity>span){font-family:var(--ds-font-editorial)!important;}
body.account-page,body.admin-page,body.detail-page{background:var(--ds-bg);color:var(--ds-text);}
body :is(.account-main,.admin-main,.public-support-shell,.detail-copy) p{font-size:var(--ds-text-sm);line-height:var(--ds-line-copy);}
body :is(.account-main,.admin-main,.quick-photo-panel,.collection-workspace,.workspace-personal-panel,.public-support-shell) label{font-size:var(--ds-text-sm);line-height:var(--ds-line-ui);font-weight:500;color:var(--ds-text);}
body :is(.eyebrow,.kicker,.login-eyebrow){font-size:var(--ds-text-xs)!important;font-weight:600;letter-spacing:1.5px;color:var(--ds-accent);}
body :is(#account-content>h2,.account-main>h2,.admin-heading h1,.public-support-shell h1){font-size:var(--ds-text-3xl);margin:0 0 var(--ds-space-6);letter-spacing:-.5px;}
body :is(.account-main h3,.form-panel h2){font-size:var(--ds-text-lg);}
body :is(.account-main h2[tabindex="-1"],.editorial-detail h3[tabindex="-1"],#quick-title[tabindex="-1"]){outline:none;}
body :is(.account-muted,.field-help,.helper,.workspace-muted,.workspace-empty,.filter-results,#year-filter-summary,.collection-results,.collection-empty){font-size:var(--ds-text-sm);line-height:var(--ds-line-copy);color:var(--ds-text-muted);}

/* Fields have one visual owner, including legacy ID-based forms. */
body .ui-field{box-sizing:border-box;min-width:0;max-width:100%;min-height:44px!important;padding:10px 12px!important;border:1px solid var(--ds-border-strong)!important;border-radius:var(--ds-radius-md)!important;background:var(--ds-surface-raised)!important;color:var(--ds-text)!important;font:400 var(--ds-text-md)/var(--ds-line-ui) var(--ds-font-ui)!important;box-shadow:none;}
body textarea.ui-field{min-height:112px;resize:vertical;}
body .ui-field::placeholder{color:var(--ds-text-muted);opacity:1;}
body .ui-field:focus{border-color:var(--ds-brand)!important;outline:var(--ds-focus);outline-offset:2px;}
body .ui-field:disabled{background:var(--ds-bg)!important;color:var(--ds-text-muted)!important;cursor:not-allowed;}
body .ui-field:is([aria-invalid=true],:user-invalid){border-color:var(--ds-danger)!important;}
body .ui-field-inline{font:400 var(--ds-text-md)/1.45 var(--ds-font-ui)!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none;outline:none;padding:0 4px!important;}
.address-search-form:focus-within{outline:var(--ds-focus);outline-offset:3px;}
.map-toolbar .atlas-header-actions{align-items:center;}.map-toolbar .map-presentation{flex:0 0 auto;margin:0;padding:0;}.map-toolbar .map-presentation>summary{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:44px;height:44px;min-height:44px;padding:0 12px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-md);background:var(--ds-surface);font-size:var(--ds-text-sm);box-sizing:border-box;}
.map-toolbar .atlas-header-actions>a.account-login-entry{align-self:center;margin:0;border-color:var(--ds-border);border-radius:var(--ds-radius-md);background:var(--ds-surface);color:var(--ds-brand);}
body .atlas-header>.base-map-switch{display:none;}
.map-presentation-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:1400;width:min(360px,calc(100vw - 24px));max-height:calc(var(--app-visible-height,100dvh) - var(--atlas-toolbar-bottom,80px) - 24px);overflow:auto;padding:20px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-lg);background:var(--ds-surface);box-shadow:var(--ds-shadow-panel);}
.map-presentation-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}.map-presentation-panel h3{margin:0;font-size:var(--ds-text-lg);}
.map-presentation-panel .historical-switcher{display:block!important;max-width:none!important;width:100%;}.map-presentation-panel .base-map-switch{display:grid!important;grid-template-columns:1fr;gap:8px;padding:0;border:0;box-shadow:none;background:transparent;}
body .map-presentation-panel .map-layer-choice{display:grid;width:100%;gap:4px;text-align:left;}.map-layer-choice small{display:block;font-size:var(--ds-text-xs);font-weight:400;line-height:1.5;color:inherit;}
.map-presentation-panel label{display:block;margin:16px 0 8px;font-size:var(--ds-text-sm);}.map-presentation-panel select{width:100%;max-width:none!important;}.map-presentation-panel #opacity-control{margin-top:16px;}.map-presentation-panel #opacity{width:100%;}.map-presentation-panel .range-labels{display:flex;justify-content:space-between;font-size:var(--ds-text-xs);color:var(--ds-text-muted);}
.map-presentation-panel #mode-help{font-size:var(--ds-text-xs);line-height:1.6;color:var(--ds-text-muted);}.map-presentation-panel #fit-photos{width:100%;margin-top:12px;}
body :is(input[type=checkbox],input[type=radio]){accent-color:var(--ds-brand);}
body :is(.account-main,.quick-photo-panel,.collection-workspace,.support-form) input:is([type=checkbox],[type=radio]){width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0;}
body :is(.calendar-date-fields,.quick-calendar,.photo-date-fields) fieldset{border:1px solid var(--ds-border);border-radius:var(--ds-radius-md);padding:var(--ds-space-3);gap:var(--ds-space-3);}

/* Navigation is persistent; its content scrolls independently from the footer. */
body.workspace-layout,body.project-nav-layout{--workspace-nav-width:240px;}
.workspace-nav{padding:var(--ds-space-6) var(--ds-space-3) var(--ds-space-4);background:var(--ds-surface);border-color:var(--ds-border);overflow:hidden;}
.workspace-nav>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px;}
.workspace-brand{padding-bottom:var(--ds-space-6);flex-shrink:0;}
.workspace-brand>strong{font-size:var(--ds-text-sm);line-height:1.4;max-width:150px;}
.workspace-nav-heading{font-size:10px;line-height:1.5;letter-spacing:1.5px;color:var(--ds-text-muted);margin:var(--ds-space-5) 12px 8px;}
.workspace-nav .ui-control[data-ui=navigation],.workspace-nav .workspace-nav-item{font:500 var(--ds-text-sm)/1.4 var(--ds-font-ui)!important;min-height:44px;border-radius:var(--ds-radius-md);color:var(--ds-text)!important;padding:10px 12px!important;margin:2px 0;}
.workspace-nav .workspace-nav-item:hover{background:var(--ds-surface-muted)!important;}
.workspace-nav .workspace-nav-item.active{background:var(--ds-brand)!important;color:var(--ds-surface)!important;}
.workspace-nav .workspace-nav-item#quick-add-button{background:var(--ds-surface-muted)!important;}
.workspace-nav .workspace-nav-item#quick-add-button.active{background:var(--ds-brand)!important;color:var(--ds-surface)!important;}
.workspace-nav-footer{flex-shrink:0;border-color:var(--ds-border);padding:12px 4px 0;color:var(--ds-text-muted);}
.workspace-footer-privacy{font-size:var(--ds-text-xs);color:var(--ds-text-muted);text-underline-offset:3px;}
.workspace-icon{font-size:18px;}

/* Account and editorial pages use the same content rhythm. */
.account-header{background:var(--ds-surface);border-color:var(--ds-border);padding:20px 32px;min-height:80px;}
.account-header a{font-size:var(--ds-text-sm);}
.account-shell{max-width:1440px;grid-template-columns:190px minmax(0,1fr);gap:var(--ds-space-8);padding:0 32px;margin:32px auto;}
.account-shell>aside h1{font:600 var(--ds-text-lg)/1.4 var(--ds-font-ui)!important;margin-bottom:8px;}
.account-shell>aside>p{font-size:var(--ds-text-xs);color:var(--ds-text-muted);}
#account-nav{gap:4px;margin-top:20px;}
#account-nav a{font-size:var(--ds-text-sm);padding:10px 12px;border-radius:var(--ds-radius-md);min-height:44px;}
#account-nav a.active{background:var(--ds-brand);color:var(--ds-surface);}
#account-nav :is(a[data-tab=review],a[data-tab=suggestions],a[data-tab=objectives],a[data-tab=locations],a[data-tab=messages],a[data-tab=users],a[data-tab=privacy]){display:none;}
body:is([data-account-section=review],[data-account-section=suggestions],[data-account-section=messages],[data-account-section=objectives],[data-account-section=locations],[data-account-section=users],[data-account-section=privacy]) .account-shell{grid-template-columns:minmax(0,1fr);}
body:is([data-account-section=review],[data-account-section=suggestions],[data-account-section=messages],[data-account-section=objectives],[data-account-section=locations],[data-account-section=users],[data-account-section=privacy]) .account-shell>aside{display:none;}
body :is(.account-panel,.account-card,.editorial-detail,.form-panel,.login-card){background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius-lg);padding:var(--ds-space-6);box-shadow:var(--ds-shadow-sm);}
.account-panel,.form-panel{margin-bottom:var(--ds-space-6);}
.account-main h3{margin-top:0;}
.account-main label{margin:16px 0 8px;}
.editorial-form,.support-form,.support-reply{gap:var(--ds-space-4);}
.support-form>label,.support-reply>label,.editorial-form>label{margin:0;}
.editorial-filters{gap:var(--ds-space-4);align-items:end;margin:var(--ds-space-6) 0;}
.editorial-filters>label,.editorial-form>label{margin:0;}
.editorial-filters>label:first-child{grid-column:span 2;}
.editorial-workbench{grid-template-columns:minmax(260px,1fr) minmax(0,1.8fr);gap:var(--ds-space-6);}
.editorial-list{gap:var(--ds-space-3);}
.editorial-list-item{align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-md);background:var(--ds-surface);color:var(--ds-text);font-size:var(--ds-text-sm);}
.editorial-list-item.active{border-color:var(--ds-brand);background:var(--ds-surface-muted);box-shadow:inset 3px 0 var(--ds-brand);}
.editorial-list-item img{border-radius:var(--ds-radius-sm);width:72px;height:72px;flex:0 0 72px;}
.editorial-list-item :is(small,p){font-size:var(--ds-text-xs);line-height:1.6;}
.editorial-list-item small{color:var(--ds-text-muted);}
.editorial-detail h3{font-size:var(--ds-text-xl);}
.editorial-detail h4{font-size:var(--ds-text-md);margin:24px 0 12px;}
.editorial-preview{border-radius:var(--ds-radius-md);}
.editorial-detail .account-button{margin:8px 8px 8px 0;}
.account-card h3{font-size:var(--ds-text-lg);}
.workspace-post-copy>strong{font-size:var(--ds-text-sm);}.workspace-post-copy small{font-size:var(--ds-text-xs);line-height:1.6;color:var(--ds-text-muted);}
.account-fields{gap:var(--ds-space-4);}
.account-status,.collection-status,.status-badge,.editorial-count{border-radius:var(--ds-radius-pill);font-size:var(--ds-text-xs)!important;font-weight:600;padding:4px 9px;line-height:1.4;}
.account-status:is(.published,.approved),.collection-status.published{background:var(--ds-success-soft);color:var(--ds-success)!important;}
.account-status:is(.pending,.changes_requested){background:var(--ds-warning-soft);color:var(--ds-warning);}
.account-status:is(.rejected,.withdrawn){background:var(--ds-danger-soft);color:var(--ds-danger);}
.collection-status.pending{background:var(--ds-warning-soft);color:var(--ds-warning)!important;}.collection-status.rejected{background:var(--ds-danger-soft);color:var(--ds-danger)!important;}
.editorial-count{background:var(--ds-surface-muted);color:var(--ds-brand);}
.account-table-wrap{border-radius:var(--ds-radius-md);}
.account-diff th,.account-diff td{font-size:var(--ds-text-sm);padding:12px;border-color:var(--ds-border);}

/* Map sheets and the common post editor. */
body :is(.quick-photo-panel,.collection-browser,.collection-inspector,.workspace-personal-panel){background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius-lg);box-shadow:var(--ds-shadow-panel);}
body :is(.quick-photo-panel>header h2,.collection-browser h2,.workspace-personal-panel>header h2){font-size:var(--ds-text-2xl);line-height:1.2;margin:0 0 8px;}
.upload-open #quick-photo-panel{width:min(440px,calc(100vw - 32px));padding:24px;scroll-padding-top:100px;scroll-padding-bottom:110px;}
.quick-photo-panel>header{position:sticky;top:-24px;z-index:9;background:var(--ds-surface);padding:12px 0;border-bottom:1px solid var(--ds-border);}
.quick-editor-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 24px;}
body .quick-editor-sections .ui-control{padding:8px!important;white-space:normal;}
.quick-wizard-step{padding-top:4px;}
.quick-photo-panel .quick-step{font:600 var(--ds-text-md)/1.4 var(--ds-font-ui)!important;margin:20px 0 16px;}
.quick-file-actions{gap:12px;margin:16px 0;}
.quick-file-actions .ui-control{text-align:left;}
.quick-photo-panel .quick-queue-heading strong,.quick-active-photo strong{font-size:var(--ds-text-sm);line-height:1.5;}
.quick-photo-panel :is(.quick-original-period,.quick-batch-details p,#quick-progress,#quick-photo-complete,#quick-direction-status,#quick-direction-hint){font-size:var(--ds-text-sm)!important;line-height:1.6;}
.quick-active-photo{border-color:var(--ds-border);background:var(--ds-surface)!important;}
.quick-photo-panel .quick-save{position:sticky;bottom:-24px;z-index:8;display:flex;flex-direction:row;align-items:stretch;flex-wrap:wrap;gap:8px;padding:16px 0 12px;margin-top:24px;border-top:1px solid var(--ds-border);background:var(--ds-surface);}
.quick-save>button{flex:1 1 140px;}
.collection-workspace[data-map-visible=false]:not(:has(.collection-inspector:not([hidden]))) .collection-browser{padding:24px;}
.collection-browser>header{align-items:center;gap:16px;margin-bottom:16px;}
.collection-browser>header>div{flex:1;min-width:0;}
.collection-browser .eyebrow{margin-bottom:6px;}
.collection-browser .collection-add-post{margin:0;flex-shrink:0;}
.collection-list-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.collection-list-toolbar .collection-view-switch{flex:1;margin:0;}
.collection-list-toolbar>button{flex-shrink:0;}
.collection-filter-row{margin:0 0 12px;}
@media(min-width:801px){
 .collection-extra-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;padding-top:12px;}
 .collection-extra-filters>label{display:grid;margin:0;gap:6px;font-size:var(--ds-text-sm);}
 .collection-extra-filters .collection-selection{grid-column:1/-1;padding:8px 0;border-color:var(--ds-border);}
 .collection-extra-filters .collection-filters-done{display:none;}
}
.collection-editorial-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 12px;}
.collection-editorial-filters label{min-width:0;gap:6px;}
.collection-results{font-size:var(--ds-text-sm);margin:8px 0 12px;gap:12px;}
.collection-results>a{font-size:var(--ds-text-sm);text-underline-offset:3px;}
.collection-selection{font-size:var(--ds-text-sm);}
.collection-savebar{border-color:var(--ds-border);border-radius:var(--ds-radius-lg);background:var(--ds-surface);padding:12px 16px;gap:12px;}
.collection-savebar strong,.collection-savebar p{font-size:var(--ds-text-sm);}
.collection-workspace[data-has-changes=false][data-has-feedback=false] .collection-savebar{display:none;}
.collection-workspace[data-has-changes=false][data-has-feedback=false] .collection-browser{bottom:24px;}
.collection-post,.collection-photo{border-color:var(--ds-border);background:var(--ds-surface);border-radius:var(--ds-radius-md);padding:16px;gap:12px;}
.collection-post,.collection-photo{display:grid;grid-template-columns:18px minmax(0,1fr);align-content:start;}
.collection-post>button:not(.collection-browse-members),.collection-photo-open{width:100%;min-width:0;}
.collection-post .collection-browse-members{grid-column:2;justify-self:start;flex:none;}
.collection-post-actions-inline{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;}
.post-workflow-dialog{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;}.post-workflow-dialog form{display:grid;gap:16px;}.post-workflow-dialog label{display:grid;gap:8px;}.post-workflow-dialog label>*{width:100%;}.workflow-photos{display:flex;gap:8px;overflow:auto;}.workflow-photos img{width:72px;height:64px;object-fit:cover;border-radius:6px;}
.collection-post button>span,.collection-photo-open>span{flex:1;min-width:0;}
.collection-post strong,.collection-photo strong{font-size:var(--ds-text-md)!important;}
.collection-post small,.collection-photo small{font-size:var(--ds-text-xs)!important;color:var(--ds-text-muted);}
.collection-browse-members{font-size:var(--ds-text-xs);}

/* Dialogs, feedback, legal pages and the dark gallery share the same tokens. */
body :is(.atlas-dialog,.post-contribution-dialog){background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border);border-radius:var(--ds-radius-lg);padding:24px!important;box-shadow:var(--ds-shadow-dialog);}
.atlas-dialog h2,.post-contribution-dialog h2{font-size:var(--ds-text-2xl);}
.atlas-notification{background:var(--ds-surface);border-color:var(--ds-border);border-left-color:var(--ds-success);border-radius:var(--ds-radius-lg);box-shadow:var(--ds-shadow-panel);color:var(--ds-text);font-family:var(--ds-font-ui);}
.atlas-notification.is-error{border-left-color:var(--ds-danger);}
.atlas-feedback-icon{background:var(--ds-success-soft);color:var(--ds-success);}
.atlas-notification.is-error .atlas-feedback-icon{background:var(--ds-danger-soft);color:var(--ds-danger);}
.support-receipt,.support-thread article,.support-configuration-note,.privacy-readiness,.login-note,.login-error{border-radius:var(--ds-radius-md);padding:16px;border-color:var(--ds-border);}
.support-thread article[data-sender=team],.support-receipt{background:var(--ds-surface-muted);}
.support-legal-section{border-color:var(--ds-border);padding-top:24px;margin-top:24px;}
.support-legal-section h2{font-size:var(--ds-text-xl);}
.public-support-shell{max-width:1000px;}
.login-page .login-intro h1{font-size:clamp(36px,4vw,52px);letter-spacing:-1px;}
.login-page .login-card h2{font-size:var(--ds-text-2xl);}
.login-page :is(.login-card-intro,.login-password-note,.login-legal,.login-provider-hint){font-size:var(--ds-text-sm);color:var(--ds-text-muted);}
body .login-provider.ui-control[data-ui=action]{display:flex;align-items:center;justify-content:center;min-height:52px!important;padding-left:48px!important;}
.photo-viewer{--viewer-dark:var(--ds-gallery-bg)!important;--viewer-soft:var(--ds-gallery-surface)!important;--viewer-light:var(--ds-surface)!important;}
.photo-viewer .viewer-header{background:var(--ds-gallery-bg);}
.photo-viewer .ui-control:is([data-ui=action],[data-ui=icon],[data-ui=arrow]){--ui-fill:transparent;--ui-color:var(--ds-gallery-text);--ui-border:var(--ds-gallery-border);--ui-hover-fill:var(--ds-gallery-surface);--ui-hover-color:var(--ds-gallery-text);--ui-hover-border:#ffffff60;}
.photo-viewer .viewer-caption .ui-control{--ui-fill:var(--ds-surface);--ui-color:var(--ds-brand);--ui-border:var(--ds-border-strong);--ui-hover-fill:var(--ds-surface-muted);--ui-hover-color:var(--ds-brand);--ui-hover-border:var(--ds-brand);}
.photo-viewer .viewer-caption .viewer-map-action.ui-control{--ui-fill:var(--ds-brand);--ui-color:var(--ds-surface);--ui-border:var(--ds-brand);--ui-hover-fill:var(--ds-brand-hover);--ui-hover-color:var(--ds-surface);--ui-hover-border:var(--ds-brand-hover);}
.photo-viewer .viewer-caption-label{font-size:var(--ds-text-xs);color:var(--ds-text-muted);}
.photo-viewer .viewer-description{font-size:var(--ds-text-sm);line-height:var(--ds-line-copy);color:var(--ds-text);}
.photo-viewer .viewer-metadata>span:first-child{font-family:var(--ds-font-editorial)!important;}
.photo-viewer .viewer-sources :is(dt,dd){font-size:var(--ds-text-xs);line-height:1.7;}
.photo-viewer .viewer-caption .ui-control[data-ui=text]{min-height:44px;}
.photo-viewer .viewer-compare.ui-control[data-ui=action]{--ui-fill:var(--ds-surface-muted);--ui-color:var(--ds-brand);--ui-border:var(--ds-surface-muted);--ui-hover-fill:var(--ds-surface);--ui-hover-color:var(--ds-brand);--ui-hover-border:var(--ds-surface);}

@media(min-width:701px) and (max-width:1100px){
 body.workspace-layout,body.project-nav-layout{--workspace-nav-width:216px;}
 .account-shell{grid-template-columns:minmax(0,1fr);padding:0 24px;gap:24px;}
 .account-section-choice{display:block;}
 #account-nav>a{display:none;}
 .editorial-workbench{grid-template-columns:minmax(220px,1fr) minmax(0,1.4fr);gap:16px;}
}
@media(max-width:850px){.editorial-workbench{grid-template-columns:minmax(0,1fr);}.editorial-filters>label:first-child{grid-column:1/-1;}.editorial-list{max-height:40dvh;}}
@media(max-width:800px){
 .collection-extra-filters .collection-editorial-filters{grid-template-columns:minmax(0,1fr);margin-bottom:16px;}
 .collection-extra-filters>label{display:grid;gap:6px;}
 .collection-browser>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;margin-bottom:12px;}
 .collection-browser>header>div{grid-column:1;}.collection-browser>header>#collection-close{grid-column:2;grid-row:1;}
 .collection-browser .collection-add-post{grid-row:2;grid-column:1/-1;}
 .collection-list-toolbar{gap:8px;margin-bottom:12px;}.collection-list-toolbar .collection-view-switch{min-width:0;}
 .collection-list-toolbar .collection-view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
 body .collection-list-toolbar .ui-control{padding:8px!important;font-size:13px!important;}
 body .collection-list-toolbar .collection-view-switch .ui-control{padding:8px 4px!important;}
 .collection-results{font-size:var(--ds-text-xs);}.collection-results>a{display:none;}
 .collection-workspace[data-map-visible=false]:not(:has(.collection-inspector:not([hidden]))) .collection-browser{padding:16px;}
}
@media(max-width:700px){
 .map-toolbar .map-presentation>summary{width:44px;padding:0;}.map-presentation-label{display:none;}.map-presentation-panel{position:fixed;right:12px;top:calc(var(--atlas-toolbar-bottom,56px) + 8px);padding:16px;}
 body.workspace-layout,body.project-nav-layout{--workspace-nav-width:0px;padding-left:0;}
 .workspace-nav{width:min(300px,calc(100vw - 40px));padding:20px 12px 16px;}
 .workspace-nav-footer>span{display:none;}
 .account-header{min-height:68px;}.account-shell{padding:0 16px;margin:20px auto;gap:20px;}
 body :is(#account-content>h2,.account-main>h2,.public-support-shell h1,.admin-heading h1){font-size:28px;}
 body :is(.account-panel,.account-card,.editorial-detail,.form-panel,.login-card){padding:16px;border-radius:var(--ds-radius-lg);}
 .account-main>h2{margin-bottom:20px;}.account-main p{font-size:var(--ds-text-sm);}
 .upload-open #quick-photo-panel{padding:16px;}.quick-photo-panel>header{top:-16px;}
 body.upload-open #quick-photo-panel[data-map-mode=view]{height:min(76dvh,calc(var(--app-visible-height,100dvh) - var(--atlas-toolbar-bottom,56px) - 24px));max-height:calc(var(--app-visible-height,100dvh) - var(--atlas-toolbar-bottom,56px) - 24px);}
 .quick-photo-panel .quick-save{bottom:-16px;}.quick-editor-sections{margin:12px 0 20px;}
 body :is(.quick-photo-panel>header h2,.collection-browser h2,.workspace-personal-panel>header h2){font-size:24px;}
 .collection-workspace[data-has-changes=false][data-has-feedback=false] .collection-browser{bottom:12px;}
 .collection-results .ui-control{min-height:40px!important;padding:8px!important;}
 .login-page .login-intro h1{font-size:34px;}.login-page .login-card h2{font-size:26px;}
 .photo-viewer .viewer-mode-label{font-size:var(--ds-text-xs);}
}
@media(max-width:359px){
 .quick-editor-sections{grid-template-columns:repeat(2,minmax(0,1fr));}
 body .collection-list-toolbar .collection-view-switch .ui-control{font-size:var(--ds-text-xs)!important;padding-inline:2px!important;}
 .quick-calendar fieldset>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.quick-calendar fieldset>div>label:first-child{grid-column:1/-1;}
 .calendar-date-fields fieldset{grid-template-columns:repeat(2,minmax(0,1fr));}.calendar-date-fields fieldset>label:first-of-type{grid-column:1/-1;}
}
@media(prefers-reduced-motion:reduce){.ui-control{transition:none!important;}}
