.auth-card .auth-notice{background:#edf3e7;border-color:#d0ddc1;color:#42602f}.auth-page .auth-submit{background:#102c46;color:#edce90}.auth-page .auth-submit:disabled{opacity:.6;cursor:wait}.auth-page .auth-card h1{color:#102c46}.auth-page .auth-bottom a{color:#80612c}.auth-page .auth-main{background:#f3f5f6}.auth-page header{background:#081c32;color:white}.auth-page header .brand{color:white}.auth-page header .member-links{color:#e5d2ad}.auth-page .auth-back{color:#6c7884}.admin-page .session-bar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#e8eee3;padding:16px 20px;font-size:13px;margin:20px 0}.session-bar button{cursor:pointer;border:1px solid #b7c6aa;background:#fff;padding:6px 12px;font:inherit}.admin-page fieldset{border:0;padding:0;margin:0;min-width:0;display:contents}.admin-nav-link{color:#dfb96f}.auth-feedback-link{display:inline-block;margin-top:15px;font-size:14px;color:#5b6b34;font-weight:600}.admin-login-link{display:inline-block;padding:12px 18px;background:#dfb96f;color:#102c46;margin-top:15px}

.photo-preview .photo-order-card{display:flex;flex-direction:column;gap:8px;width:170px;padding:10px;border:1px solid #d5dfe6;border-radius:10px;background:#f8fafc}.photo-preview .photo-order-card img{width:100%;height:120px;object-fit:contain;background:#eaf0f4}.photo-order-card strong{font-size:13px;color:#153750}.photo-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.photo-order-actions button{font-size:12px;padding:8px 3px;margin:0;border:1px solid #cbd5df;border-radius:5px;background:white;color:#17374e;cursor:pointer}.photo-order-actions button:disabled{opacity:.35;cursor:default}.photo-order-hint{font-size:13px;line-height:1.6;color:#5d6f7c}

.photo-preview .photo-order-card{cursor:grab;user-select:none;transition:border-color .15s,box-shadow .15s}.photo-preview .photo-order-card:active{cursor:grabbing}.photo-preview .photo-order-card.is-cover{border:2px solid #b08b45;background:#fffaf0}.photo-preview .photo-order-card.is-dragging{opacity:.45}.photo-preview .photo-order-card.drag-target{border-color:#176eaa;box-shadow:0 0 0 3px #176eaa55}.photo-order-card img{user-select:none;-webkit-user-drag:none}

/* Completion upload: three photos per row, in saved order. */
#case-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;min-width:0;align-items:start}
#case-previews .photo-order-card{box-sizing:border-box;width:100%;min-width:0;padding:7px;gap:7px}
#case-previews .photo-order-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
#case-previews .photo-order-card strong{font-size:12px;overflow-wrap:anywhere}
@media(max-width:480px){#case-previews{gap:6px}#case-previews .photo-order-card{padding:4px}#case-previews .photo-order-card strong{font-size:11px}}
