.access-entry{padding:16px;margin-bottom:12px}
@media(max-width:760px){
 .mobile-bottom-layout{--settings-gap:10px;--settings-label:12px;--settings-copy:13px;--settings-control:38px}
 .mobile-bottom-layout #editor .dialog-header,.mobile-bottom-layout #detail .dialog-header{min-height:44px;padding:6px 12px;gap:8px}
 .mobile-bottom-layout #editor .dialog-header h2,.mobile-bottom-layout #detail .dialog-header h2{font-size:15px;line-height:1.4;font-weight:600}
 .mobile-bottom-layout #editor .dialog-header .close,.mobile-bottom-layout #detail .dialog-header .close{width:36px;min-width:36px;min-height:36px;padding:0;font-size:23px}
 .mobile-bottom-layout #editor.mobile-account-page .dialog-header{justify-content:space-between;padding:calc(6px + env(safe-area-inset-top)) 12px 6px}
 .mobile-bottom-layout #editor.mobile-account-page .dialog-header .close{position:static;inset:auto;margin-left:auto;font-size:23px;background:transparent;border:0}
 .mobile-bottom-layout #editor.mobile-account-page .dialog-header .close::before{content:none;display:none}
 .mobile-bottom-layout #editor .dialog-body,.mobile-bottom-layout #detail .dialog-body{padding:12px;font-size:var(--settings-copy);line-height:1.5}
 .mobile-bottom-layout #editor .dialog-body h3,.mobile-bottom-layout #detail .dialog-body h3{font-size:13px;line-height:1.45;margin:14px 0 8px;font-weight:600}
 .mobile-bottom-layout #editor .dialog-body h3:first-child{margin-top:0}
 .mobile-bottom-layout #editor .dialog-body p{margin:6px 0 10px;font-size:var(--settings-copy);line-height:1.5;overflow-wrap:anywhere}
 .mobile-bottom-layout #editor .dialog-body small{font-size:11px;line-height:1.5}
 .mobile-bottom-layout #editor .dialog-body>p:last-child:empty,.mobile-bottom-layout #editor .form-error:empty,.mobile-bottom-layout #editor .form-notice:empty{display:none}
 .mobile-bottom-layout #editor .form-grid{gap:var(--settings-gap)}
 .mobile-bottom-layout #editor label,.mobile-bottom-layout #detail label{font-size:var(--settings-label);font-weight:500;line-height:1.4;margin:0 0 4px}
 .mobile-bottom-layout #editor .dialog-body>label,.mobile-bottom-layout #editor .dialog-body>input+label{margin-top:var(--settings-gap)}
 .mobile-bottom-layout #editor input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),.mobile-bottom-layout #editor select,.mobile-bottom-layout #editor textarea,.mobile-bottom-layout #detail input:not([type=checkbox]):not([type=radio]):not([type=color]),.mobile-bottom-layout #detail select,.mobile-bottom-layout #detail textarea{min-height:var(--settings-control);padding:6px 8px;font-size:16px;line-height:1.4;border-radius:4px}
 .mobile-bottom-layout #editor textarea,.mobile-bottom-layout #detail textarea{min-height:68px}
 .mobile-bottom-layout #editor :is(#email-binding-form,#registration-form) .field{margin:10px 0}
 .mobile-bottom-layout #editor #access-form label{margin:10px 0 4px;font-size:12px}
 .mobile-bottom-layout #editor #access-form textarea{min-height:68px}
 .mobile-bottom-layout #editor .dialog-body button:not(.theme-choice):not(.close),.mobile-bottom-layout #detail .dialog-body button:not(.close){min-height:38px;padding:6px 9px;font-size:12px;line-height:1.4}
 .mobile-bottom-layout #editor .dialog-body button.link,.mobile-bottom-layout #detail .dialog-body button.link{padding:4px 0}
 .mobile-bottom-layout #editor .dialog-footer,.mobile-bottom-layout #detail .dialog-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}
 .mobile-bottom-layout #editor .dialog-footer button,.mobile-bottom-layout #detail .dialog-footer button{min-height:38px;padding:6px 12px;font-size:13px}
 .mobile-bottom-layout #editor .section-title{margin:14px 0 8px;padding-top:12px}
 .mobile-bottom-layout #editor .notice{font-size:12px;line-height:1.55;margin:10px 0;padding:8px 10px}
 .mobile-bottom-layout #editor .email-code-row{gap:6px}.mobile-bottom-layout #editor .email-code-row input{width:0;min-width:0}
 .mobile-bottom-layout #editor .email-code-row .send-email-code{font-size:12px;padding:6px 8px;min-width:92px}
 .mobile-bottom-layout #editor .email-code-row+small{margin-top:4px}
 .mobile-bottom-layout #editor .access-entry{padding:10px 12px;margin-bottom:8px;border-radius:4px;overflow-wrap:anywhere}
 .mobile-bottom-layout #editor .access-entry p{margin:4px 0 8px;font-size:12px}
 .mobile-bottom-layout #editor .access-entry strong{font-size:13px;font-weight:600}
 .mobile-bottom-layout #editor .access-entry>button{margin-top:4px}
 .mobile-bottom-layout #editor #project-access-view>h3{margin:16px 0 8px}
 .mobile-bottom-layout #editor #project-access-view>h3:first-child{margin-top:0}
 .mobile-bottom-layout #editor #project-join-link{font-size:13px}
 .mobile-bottom-layout #editor #project-join-link+button{margin-top:6px}
 .mobile-bottom-layout #editor .personal-avatar-editor{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px}
 .mobile-bottom-layout #editor .personal-avatar-editor .avatar-preview{margin:0;align-self:start;padding-top:4px}
 .mobile-bottom-layout #editor .avatar-preview :is(.avatar-photo,.avatar-default){width:48px;height:48px}
 .mobile-bottom-layout #editor .avatar-preview .avatar-default svg{width:40px;height:40px;margin-top:7px}
 .mobile-bottom-layout #editor .personal-avatar-actions{min-width:0}
 .mobile-bottom-layout #editor .personal-avatar-actions input[type=file]{min-height:34px;font-size:11px;padding:4px;width:100%;max-width:100%}
 .mobile-bottom-layout #editor .personal-avatar-actions input[type=file]::file-selector-button{font:inherit;padding:5px 7px;border:1px solid var(--line);border-radius:3px;background:var(--white);color:var(--ink);margin-right:6px}
 .mobile-bottom-layout #editor .personal-avatar-actions #avatar-reset{min-height:32px;margin:4px 0 0;padding:4px 7px;font-size:11px}
 .mobile-bottom-layout #editor .night-mode-switch{margin:14px 0;padding:8px 0;min-height:42px;font-size:13px}
 .mobile-bottom-layout #editor #personal-theme-controls legend{font-size:13px;font-weight:600}
 .mobile-bottom-layout #editor .theme-options{gap:3px;margin:8px 0 12px;padding:4px 2px}
 .mobile-bottom-layout #editor .theme-choice{width:25px;height:25px;min-width:25px;min-height:25px;padding:4px;border:0;flex-shrink:0}
 .mobile-bottom-layout #editor .theme-dot{width:19px;height:19px}
 .mobile-bottom-layout #editor #personal-color{width:46px;min-height:32px;height:32px;padding:3px}
 .mobile-bottom-layout #editor .backup-download{min-height:42px;display:flex;align-items:center;padding:9px 12px;font-size:13px;line-height:1.5;margin-bottom:8px;border-radius:4px;overflow-wrap:anywhere}
 .mobile-bottom-layout #editor .notification-item{padding:10px 25px 10px 12px;background:var(--white)}
 .mobile-bottom-layout #editor .notification-item.is-unread{background:var(--surface-tint)}
 .mobile-bottom-layout #editor .notification-item strong{font-size:13px;line-height:1.4}
 .mobile-bottom-layout #editor .notification-item>span{font-size:12px;margin:4px 0;line-height:1.5}
 .mobile-bottom-layout #editor .notification-item small{font-size:10px}
 .mobile-bottom-layout #editor .notification-detail-actions{margin-top:12px;gap:8px}
 .mobile-bottom-layout #editor .notification-empty{font-size:12px;padding:20px 12px}
 .mobile-bottom-layout #editor .cancel-warning{font-size:13px;line-height:1.55}
 .mobile-bottom-layout #editor .cancellation-successor{margin:10px 0}
 .mobile-bottom-layout #editor .cancellation-consent{display:flex;gap:8px;margin:12px 0;line-height:1.5;font-size:12px}
 .mobile-bottom-layout #editor .dialog-body ul{margin:6px 0 10px;padding-left:20px;font-size:12px;line-height:1.6}
 .mobile-bottom-layout #editor #cancel-countdown{font-size:12px;margin:8px 0}
 .mobile-bottom-layout #editor .form-error:not(:empty){margin:8px 0 0;padding:6px 8px;font-size:12px}
 .mobile-bottom-layout #editor #map-settings-form .dialog-body>div,.mobile-bottom-layout #editor .local-basemap-section{margin-top:12px}
 .mobile-bottom-layout #editor #map-settings-form label{margin:8px 0 4px}
 .mobile-bottom-layout #editor #local-map-actions{gap:6px;margin:6px 0 10px}
 .mobile-bottom-layout #editor .upload-zone{padding:8px;gap:8px}
 .mobile-bottom-layout #editor .compression-option{font-size:12px;margin-top:8px}
 .mobile-bottom-layout #main>.page-heading{margin-bottom:8px}.mobile-bottom-layout #main .stats{gap:8px}.mobile-bottom-layout #main .stat{padding:8px 10px}
 .mobile-bottom-layout #main .info-body,.mobile-bottom-layout #main .panel-heading{padding:10px 12px}
 .mobile-bottom-layout #main .panel-heading h2{font-size:14px}
 .mobile-bottom-layout .science-tree .science-project-item,.mobile-bottom-layout .science-node-select,.mobile-bottom-layout .science-preview-item{font-size:12px;min-height:38px}
 .mobile-bottom-layout .pending-file{padding:8px 0;gap:6px}.mobile-bottom-layout .pending-file span{font-size:12px}
 .mobile-bottom-layout .auth-welcome{margin:0;padding:18px 14px}.mobile-bottom-layout .auth-welcome h1{font-size:20px}
}
@media(max-width:350px){.mobile-bottom-layout #editor .theme-options{gap:1px}.mobile-bottom-layout #editor .theme-choice{width:23px;min-width:23px;padding:3px}.mobile-bottom-layout #editor .email-code-row .send-email-code{min-width:84px;font-size:11px}}
