[hidden]{display:none!important}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 12px}.gallery-toolbar p{font-size:12px;color:#66717b;line-height:1.7;margin:0}.gallery-toolbar button,.gallery-manager button,.photo-actions button,.gallery-edit button{border:1px solid #0c283f;background:#0c283f;color:white;min-height:44px;padding:10px 18px;font:inherit;font-size:12px;cursor:pointer}.gallery-toolbar button{white-space:nowrap}.gallery-manager .secondary,.gallery-edit .secondary{background:white;color:#0c283f;border-color:#c6d2db}.gallery-manager{border:1px solid #d4dfe5;background:white;padding:26px;margin:20px 0 28px}.manager-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.manager-heading h2{font-size:20px;margin:0}.manager-heading button{border:0;background:transparent;color:#0c283f;font-size:24px;padding:3px 12px;line-height:1}.gallery-manager p,.gallery-edit p{font-size:12px;color:#66717b;line-height:1.8}.gallery-manager form,.gallery-edit form{display:grid;gap:16px;margin-top:20px}.gallery-manager label,.gallery-edit label{display:block;font-size:13px;color:#0c283f;line-height:1.6;font-weight:600;min-width:0}.gallery-manager input,.gallery-manager select,.gallery-edit input,.gallery-edit select{display:block;width:100%;min-height:44px;padding:11px 12px;border:1px solid #c5d1d9;background:white;color:#182b38;font:inherit;font-size:14px;border-radius:0;margin-top:7px}.gallery-manager input[type=file],.gallery-edit input[type=file]{font-size:12px}.gallery-manager fieldset,.gallery-edit fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.manager-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.manager-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.manager-file-help{font-size:11px;font-weight:400;color:#66717b;display:block;margin-top:5px}.manager-preview{display:flex;gap:10px;flex-wrap:wrap}.manager-preview img{width:100px;height:78px;object-fit:contain;background:#f0f4f6}.manager-status{font-size:12px;line-height:1.8;white-space:pre-line;margin:12px 0 22px;color:#215b7a}.manager-status:empty{display:none}.manager-status.error{color:#a32727}.manager-account{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #dce3e8;padding-bottom:16px;margin:16px 0}.manager-account span{font-size:12px}.manager-setup{background:#fff6df;border-left:3px solid #bc9543;padding:14px 18px;font-size:12px;line-height:1.8;color:#795611}.photo-actions{display:flex;gap:8px;padding:0 15px 16px}.photo-actions button{flex:1;min-width:0;font-size:12px;padding:8px 10px;background:white;color:#0c283f;border-color:#bfcdd6}.photo-actions .photo-remove{color:#a32727;border-color:#e0c4c4}.photo-actions button:hover{background:#edf2f5}.photo-actions .photo-remove:hover{background:#fff0f0}.gallery-manager button:disabled,.photo-actions button:disabled,.gallery-edit button:disabled{opacity:.48;cursor:wait}.hidden-samples{margin-top:22px;padding-top:18px;border-top:1px solid #dce3e8}.hidden-samples h3{font-size:14px;margin:0 0 12px}.hidden-sample-row{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;margin-top:8px}.gallery-edit{width:min(560px,calc(100% - 30px));max-height:calc(100dvh - 40px);padding:28px;border:0;box-shadow:0 18px 70px #0004;overflow:auto;color:#182b38;background:white}.gallery-edit::backdrop{background:#09283cb3}.gallery-edit h2{font-size:22px;margin:0}.gallery-edit .edit-preview{display:block;width:100%;height:200px;object-fit:contain;background:#f0f4f6;margin-top:18px}.gallery-edit .edit-status{color:#a32727;font-size:12px;line-height:1.8;white-space:pre-line;margin:0}.gallery-edit .edit-status:empty{display:none}@media(max-width:600px){.gallery-toolbar{align-items:flex-start;gap:12px}.gallery-toolbar p{font-size:11px}.gallery-manager{padding:20px}.manager-row{grid-template-columns:1fr;gap:16px}.manager-account{align-items:flex-start;flex-direction:column}.gallery-edit{padding:22px}.gallery-edit .edit-preview{height:160px}.manager-heading h2{font-size:18px}.photo-actions button{min-height:44px}}
