[hidden]{display:none!important}#server-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 24px;background:#e8f1ed;color:#203d34;font-size:13px;border-bottom:1px solid #cdded5}#server-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}#server-toolbar button{font:inherit;background:white;border:1px solid #bbcfc4;border-radius:6px;padding:6px 10px;cursor:pointer}#server-alert{padding:12px 24px;background:#fff0c9;color:#704700;position:sticky;top:0;z-index:10}#login{min-height:100vh;display:grid;place-items:center;background:#f2f6f3}#login form{width:min(400px,90vw);padding:32px;background:white;border-radius:16px;box-shadow:0 10px 40px #143a2112}#login h1{font-size:27px;margin:20px 0 12px}#login p{line-height:1.6}#login label{display:grid;gap:7px;margin:16px 0}#login input{padding:12px;border:1px solid #cbd6ce;border-radius:6px;width:100%}#login button{width:100%;padding:12px}#login small{display:block;margin-top:24px;color:#6c7b73}#login-error{color:#ac3333}.login-brand{letter-spacing:2px;font-size:12px;color:#257653}#server-dialog{width:min(920px,94vw);max-height:88vh;border:1px solid #cbd9cf;border-radius:14px;color:#203b32}#server-dialog::backdrop{background:#163e3255}.server-panel{padding:28px;line-height:1.65}.server-panel h2{margin-bottom:24px}.server-panel h3{margin-top:26px}.server-panel #server-close{float:right}.server-panel dt{font-weight:bold;margin-top:12px}.server-panel dd{margin:0}.server-panel td,.server-panel th{padding:9px;border-bottom:1px solid #dde7df;text-align:left;vertical-align:top}.server-panel table{font-size:13px;width:100%}.server-status{padding:14px;background:#fff4da;border-radius:7px}.server-status.ok{background:#e4f4e8}.server-viewer [data-action="add-item"],.server-viewer [data-action="edit-item"],.server-viewer [data-action="edit-card"],.server-viewer [data-action="save-card"],.server-viewer [data-action="add-line"],.server-viewer [data-action="edit-line"],.server-viewer [data-action="delete-line"],.server-viewer [data-action="clear-card"],.server-viewer [data-action="link-photo"],.server-viewer [data-action="undo"],.server-viewer [data-action="import"]{display:none!important}@media(max-width:850px){#server-toolbar{align-items:flex-start;flex-direction:column;padding:10px 16px}.server-panel{padding:16px}}
@media screen and (min-width:900px) and (min-height:560px){
 body:has(.photo-workspace){--server-bar:48px;height:100dvh;display:flex;flex-direction:column}
 body:has(.photo-workspace)>#server-toolbar,body:has(.photo-workspace)>#server-alert{flex:none}
 #shell:has(.photo-workspace){height:auto;min-height:0;flex:1 1 0}
 #shell:has(.photo-workspace)>#app{grid-template-rows:minmax(max-content,calc(33dvh - var(--server-bar) - var(--matrix-topbar) - var(--matrix-tabs) - var(--matrix-market))) minmax(0,1fr)}
}

#login .remember-login{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin-bottom:8px}#login .remember-login input{width:18px;height:18px;padding:0;flex:none;margin:2px 0 0;accent-color:#257653}#login #remember-help{font-size:13px;color:#64746b;margin-top:0}
