:root { color-scheme: light; font-family: system-ui, sans-serif; color: #142b21; background: #f2f6f2; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(calc(100% - 32px), 680px); margin-inline: auto; }
header { background: #104735; color: #fff; }
.top { display: flex; align-items: center; min-height: 78px; gap: 12px; }
h1 { margin: 0; font-size: clamp(1.25rem, 6vw, 1.65rem); }
#logout { margin-left: auto; }
main { padding-block: 24px 40px; }
label { display: block; font-weight: 650; margin-bottom: 8px; }
.row { display: flex; gap: 8px; }
input, button { min-height: 46px; font: inherit; border: 1px solid #739382; border-radius: 9px; }
input { min-width: 0; flex: 1; padding: 8px 11px; background: white; }
button { color: #104735; background: white; padding: 8px 12px; font-weight: 650; cursor: pointer; }
.primary { background: #104735; border-color: #104735; color: #fff; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #c38521; outline-offset: 2px; }
.scan { width: 100%; margin-top: 12px; }
#scan-panel { margin-top: 12px; }
.camera-preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; border-radius: 9px; }
#video { display: block; width: 100%; height: 100%; object-fit: cover; }
.scan-guide { position: absolute; inset: 28% 6%; border: 2px solid white; border-radius: 10px; box-shadow: 0 0 0 100vmax rgb(0 0 0 / 25%); pointer-events: none; }
.camera-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.camera-actions label { flex: 1 1 10rem; min-width: 0; margin: 0; }
.camera-actions select { display: block; width: 100%; min-height: 46px; margin-top: 4px; border: 1px solid #739382; border-radius: 9px; background: white; color: inherit; font: inherit; }
ul { padding: 0; list-style: none; }
li { padding: 14px; margin-bottom: 8px; background: #fff; border: 1px solid #d2dfd6; border-radius: 10px; overflow-wrap: anywhere; }
li strong, li small { display: block; }
small { color: #425e50; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; }
details { margin-top: 20px; }
summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 700; }
#share { margin-top: 14px; }
#staff button { margin-top: 8px; }
p:empty, #notice:empty { display: none; }
