.document-capture{max-width:780px;margin:0 auto 24px}.document-capture-mark{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:var(--mint);color:var(--forest);margin-bottom:18px}.document-capture-mark .app-icon{width:30px;height:30px}.document-photo-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.document-preview img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#202123;border-radius:12px}.document-preview p{margin-top:10px}.document-warning{border-left:3px solid #c39448;padding:10px 14px;background:#b68c2712;border-radius:5px;font-size:14px}.document-entry{padding:0;margin:18px 0}.document-entry>summary{list-style:none;cursor:pointer;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}.document-entry>summary::-webkit-details-marker{display:none}.document-entry>summary strong,.document-entry>summary small{display:block}.document-entry>summary small{font-size:12px;margin-top:4px}.document-entry[open]>summary{border-bottom:1px solid var(--line)}.document-entry-body{padding:20px}.document-reviewed{padding:18px 0;margin-top:12px;border-top:1px solid var(--line)}.document-final{margin-top:20px}.document-final [role=alert]{color:var(--red);overflow-wrap:anywhere}.document-entry input[type=search]{margin-bottom:10px}.document-entry select{max-width:100%;text-overflow:ellipsis}.document-final .button-row{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}.document-final input[type=checkbox],.document-reviewed input[type=checkbox]{flex-shrink:0}.document-entry textarea{min-height:115px}.document-entry .form-grid{min-width:0}.document-entry [data-reviewed-label]{color:var(--muted)}
@media(max-width:800px){.document-capture{padding:20px}.document-capture h2{font-size:21px}.document-entry-body{padding:16px}.document-photo-actions{display:grid;grid-template-columns:1fr}.document-photo-actions button{width:100%}.document-final .button-row>*{flex:1 1 100%}.document-entry>summary{padding:16px}.document-preview img{max-height:45vh}.document-entry [data-document-animal-search]{font-size:16px}.page-heading:not(:has(.detail-heading-actions)){display:none}#content:has(>.page-heading){padding-top:17px}}
[data-theme=dark] .document-capture-mark{background:#2a2c30;color:#eceef0}

.navigation-logout{width:100%;justify-content:flex-start;color:inherit;margin-top:12px}.sidebar .navigation-logout{color:#e6e9e5}.sidebar #navigation-logout.navigation-logout:hover{background:#ffffff12;color:#fff}.scan-choice{width:min(480px,calc(100% - 24px));background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:22px}.scan-choice::backdrop{background:#10121499;backdrop-filter:blur(4px)}.scan-choice>button{width:100%;justify-content:flex-start;text-align:left;gap:16px;margin-top:12px;padding:18px;background:var(--white,#fff);color:var(--ink);border:1px solid var(--line)}.scan-choice>button>span:last-child{min-width:0}.scan-choice small,.scan-choice strong{display:block}.scan-choice small{font-size:12px;margin-top:5px}.scan-choice>button>.app-icon{width:28px;height:28px;min-width:28px}[data-theme=dark] .scan-choice,[data-theme=dark] .scan-choice>button{background:#222427}.scan-choice h2{font-size:22px;margin:0}@media(min-width:801px){button[data-action="scan"]:not([hidden]){display:none}.number-search-actions{grid-template-columns:minmax(0,520px)!important;justify-content:center}}.document-line-list{display:grid;gap:6px;max-height:340px;overflow:auto;margin-top:10px}.document-line{justify-content:flex-start;min-height:44px;padding:10px 12px;border:1px solid var(--line);background:var(--white,#fff);color:var(--ink);font-size:14px;font-weight:500;text-align:left;white-space:normal;overflow-wrap:anywhere}@media(hover:hover){.document-line:hover{background:var(--mint);color:var(--ink)}}.document-line.used{border-color:var(--green);background:var(--mint)}[data-theme=dark] .document-line{background:#222427}[data-theme=dark] .document-line.used{background:#2c3a33;color:inherit}@media(hover:hover){[data-theme=dark] .document-line:hover{background:#2c3a33;color:inherit}}.document-file-name{margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;font-weight:600;overflow-wrap:anywhere}

.topbar{position:sticky;top:0;z-index:30}.workspace{overflow:visible}

#document-review-form,.document-entry{scroll-margin-top:98px}

.document-selected{margin-top:10px;font-size:14px;font-weight:650;overflow-wrap:anywhere}
