/* Solely the administration dialog: no change to photo editing screens. */
.modal.am-modal{width:min(1320px,96vw);max-width:1320px;max-height:94vh;padding:26px;background:#151a17;color:#f2f5ef;border:1px solid #39453c;box-shadow:0 24px 90px #0008;overflow:auto;--am-muted:#b1bcb2;--am-line:#354039;--am-accent:#d9efb4}
.am-modal .modal-header{border-bottom:1px solid var(--am-line);padding-bottom:18px;margin-bottom:18px}.am-modal .modal-header h2{color:#f2f5ef;font-size:23px;letter-spacing:-.5px}.am-modal .icon-btn{color:#eef3e8}.am-modal .icon-btn:hover{background:#313d33}
.am-dashboard{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:1.55}.am-dashboard *{box-sizing:border-box}.am-dashboard [hidden]{display:none!important}.am-intro{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:18px}.am-intro p{margin:0 0 4px;color:var(--am-muted)}.am-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--am-accent)!important}.am-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.am-dashboard .btn{border:1px solid #4b5a4f;background:#263229;color:#f4f6ef;min-height:38px;border-radius:8px;text-decoration:none;white-space:normal}.am-dashboard .btn:hover{background:#3a4b3e}.am-dashboard .btn.primary{background:var(--am-accent);color:#162015;border-color:var(--am-accent)}.am-dashboard .btn:disabled{opacity:.4;cursor:not-allowed}.am-dashboard .quiet{background:transparent}.am-dashboard button:focus-visible,.am-dashboard input:focus-visible,.am-dashboard select:focus-visible,.am-dashboard summary:focus-visible{outline:3px solid #d9efb4;outline-offset:3px}
.am-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 22px}.am-card{border:1px solid var(--am-line);background:#1f2821;border-radius:12px;padding:17px 20px}.am-card span{display:block;color:var(--am-muted);font-size:12px}.am-card strong{font-size:30px;font-weight:550;display:block;margin-top:6px;color:var(--am-accent);font-variant-numeric:tabular-nums}.am-tabs{display:flex;gap:6px;border-bottom:1px solid var(--am-line);margin-bottom:18px}.am-tabs button{border:0;border-radius:7px 7px 0 0;background:transparent;color:var(--am-muted);padding:13px 20px;cursor:pointer;font:inherit;font-weight:650}.am-tabs button[aria-selected=true]{background:#d9efb4;color:#192217}.am-selected{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #627c54;background:#263323;border-radius:10px;padding:14px 16px;margin-bottom:18px}.am-selected strong,.am-selected span{display:block;overflow-wrap:anywhere}.am-selected span{color:var(--am-muted);font-size:12px;margin-top:3px}
.am-filters{display:grid;grid-template-columns:1.4fr 1.1fr 1fr 1.5fr;gap:12px;align-items:end;margin-bottom:18px}.am-filters label,.am-user-search{display:grid;gap:5px;color:var(--am-muted);font-size:11px;font-weight:600}.am-dashboard input,.am-dashboard select{font:inherit;font-size:13px;min-width:0;width:100%;min-height:40px;border:1px solid #47564b;border-radius:7px;background:#111813;color:#f3f6ee;padding:8px 10px;color-scheme:dark}.am-dashboard input::placeholder{color:#a5b0a7}.am-user-search{max-width:430px;margin-bottom:16px}.am-table-wrap{overflow:auto;max-width:100%;border:1px solid var(--am-line);border-radius:10px}.am-table{border-collapse:collapse;width:100%;text-align:left;table-layout:fixed;min-width:760px}.am-table th,.am-table td{padding:14px;vertical-align:top;border-bottom:1px solid var(--am-line);overflow-wrap:anywhere}.am-table th{background:#263029;color:#c5cec5;font-size:11px;font-weight:600;position:sticky;top:0}.am-table th:nth-child(1){width:150px}.am-table th:nth-child(2){width:215px}.am-table th:nth-child(4){width:155px}.am-table td{font-size:12px}.am-table tr:last-child td{border-bottom:0}.am-table tr:hover{background:#202a22}.am-table strong{font-size:12px;font-weight:600}.am-table small{display:block;color:var(--am-muted);font-size:11px;margin-top:4px}.am-table time{font-variant-numeric:tabular-nums;color:#d1dbd2;line-height:1.7}.am-person-link{font:inherit;font-weight:650;background:none;border:0;padding:0;text-align:left;color:var(--am-accent);cursor:pointer}.am-person-link:hover{text-decoration:underline}.am-table details{margin-top:8px;font-size:11px;color:var(--am-muted)}.am-table summary{cursor:pointer;width:fit-content}.am-table details p{padding:10px;background:#101712;border:1px solid var(--am-line);border-radius:6px;white-space:normal;color:#d8e2d8}.am-status{display:inline-block;border-radius:20px;border:1px solid #4e6751;background:#293d2b;color:#ccebb7;padding:4px 9px;font-size:10px;font-weight:600;white-space:normal}.am-status.error{color:#ffc4bb;background:#472c29;border-color:#825149}.am-status.pending{color:#c5ddfb;background:#243647;border-color:#47647f}.am-status.uncertain{color:#ffe3ab;background:#493d26;border-color:#8e7444}.am-status.cancelled{color:#d2d7d1;background:#353b36;border-color:#58635b}.am-pagination{display:flex;justify-content:flex-end;gap:16px;align-items:center;margin-top:16px;color:var(--am-muted);font-size:12px}.am-empty{text-align:center;color:var(--am-muted);padding:36px!important}.am-error{color:#ffd0c8;border:1px solid #8f5c52;background:#422b26;border-radius:8px;padding:10px 14px;margin:10px 0}
.am-user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.am-user-card{background:#202922;border:1px solid var(--am-line);border-radius:12px;padding:20px;min-width:0}.am-user-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}.am-user-heading>div{min-width:0}.am-user-card h3{font-size:16px;margin:0 0 3px;color:#f3f6ef}.am-user-card a{color:var(--am-accent);overflow-wrap:anywhere}.am-user-card p{font-size:11px;color:var(--am-muted);margin:7px 0;overflow-wrap:anywhere}.am-user-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 0;border-top:1px solid var(--am-line);border-bottom:1px solid var(--am-line)}.am-user-card dt{font-size:10px;color:var(--am-muted)}.am-user-card dd{font-size:22px;margin:4px 0 0;color:#edf4e7}.am-user-card .am-tools{margin-top:14px}.am-access-warning{color:#ffe2ac!important;padding:9px;border-left:3px solid #c49d53;background:#3b3424}.am-footer{margin-top:22px;border-top:1px solid var(--am-line);padding-top:16px;color:var(--am-muted);font-size:11px}.am-footer p{margin:8px 0;line-height:1.65}.am-footer label{display:flex;gap:8px;align-items:center;margin-top:10px}.am-footer input{width:16px;height:16px;min-height:16px;accent-color:#d9efb4}.am-health-ok{color:#d9efb4}.activity-information{font:11px/1.6 ui-sans-serif,system-ui,sans-serif;color:#a9b2a6;background:#171b18;margin:0;padding:12px 20px;text-align:center}
@media(max-width:980px){.am-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.am-table{table-layout:auto}.am-user-list{grid-template-columns:1fr}.am-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.modal.am-modal{width:calc(100vw - 16px);max-height:96vh;padding:16px}.am-modal .modal-header h2{font-size:19px}.am-intro,.am-selected{align-items:flex-start;flex-direction:column;gap:12px}.am-card{padding:13px}.am-card strong{font-size:26px}.am-tabs button{padding:12px;font-size:12px}.am-filters{gap:10px}.am-search{grid-column:1/-1}.am-dashboard input,.am-dashboard select{font-size:16px}.am-pagination{justify-content:space-between;gap:7px}.am-pagination span{font-size:10px}.am-user-card{padding:15px}.am-user-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.am-user-heading{gap:8px}.am-table{min-width:710px}}

/* Private before/after viewer, confined to the administration dialog. */
.am-dashboard .am-open-photos{display:block;width:fit-content;margin-top:10px;min-height:36px;font-size:11px}
.am-comparison:focus{outline:none}.am-photo-heading{display:flex;align-items:flex-start;gap:20px;margin-bottom:20px}.am-photo-heading>div{min-width:0}.am-photo-heading h3{margin:0 0 8px;font-size:20px;color:#f2f5ef}.am-photo-heading p{margin:3px 0;color:var(--am-muted);overflow-wrap:anywhere}.am-photo-heading>button{flex-shrink:0}
.am-photo-choices{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:18px}.am-photo-select{display:grid;gap:6px;flex:1;min-width:220px;color:var(--am-muted);font-size:12px}.am-photo-select select{width:100%;max-width:100%}
.am-photo-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.am-photo{min-width:0;margin:0;padding:14px;background:#101712;border:1px solid var(--am-line);border-radius:10px}.am-photo figcaption{min-height:56px;overflow-wrap:anywhere}.am-photo figcaption strong{display:block;font-size:14px;color:#edf4e7}.am-photo figcaption span{display:block;margin-top:5px;color:var(--am-muted);font-size:11px}.am-photo-image{display:flex;align-items:center;justify-content:center;min-height:150px;background:#070c08;border-radius:7px;overflow:hidden;margin:12px 0}.am-photo img{display:block;width:100%;height:auto;max-height:58vh;object-fit:contain}.am-photo .btn{display:inline-flex;align-items:center;justify-content:center}.am-photo-error{padding:18px;color:#ffdfb3;font-size:12px}.am-photo-unavailable{display:flex;flex-direction:column;justify-content:center;min-height:230px;padding:26px;color:var(--am-muted)}.am-photo-unavailable strong{color:#edf4e7;font-size:15px}.am-photo-notice{padding:12px 15px;margin:0 0 16px;border:1px solid #706341;border-radius:8px;background:#332e20;color:#f4e5bf}
@media(max-width:700px){.am-photo-heading{flex-direction:column;gap:14px}.am-photo-grid{grid-template-columns:minmax(0,1fr)}.am-photo-select{min-width:100%}.am-photo{padding:12px}.am-photo figcaption{min-height:0}.am-photo img{max-height:62vh}.am-photo-unavailable{min-height:140px}}
