:root{--ink: #20363b;--muted: #6f7f82;--paper: #f7f5f0;--card: #ffffff;--line: #e4e6e1;--brand: #142b33;--gold: #bc9959;--ok: #246344;--ok-bg: #e7f3ec;--warn: #815c21;--warn-bg: #f6ead3;--bad: #9e4b35;--bad-bg: #fbe5df;--serif: Georgia, "Times New Roman", serif;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d3dad7;background:#fafafa;color:var(--ink);border-radius:7px;padding:8px 13px}button:disabled{opacity:.5;cursor:not-allowed}a{color:#136d76;overflow-wrap:anywhere}code{font-size:12px;background:#f1f2ef;padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--brand);color:#fff;padding:16px max(4vw,16px);display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-size:22px;font-weight:700;display:flex;align-items:center;gap:12px}.mark{width:34px;height:34px;background:#d0a766;color:var(--brand);display:grid;place-items:center;border-radius:9px;font-size:24px}.gold{color:#e6c181}.account{display:flex;gap:14px;align-items:center;font-size:13px}.small{background:none;color:#fff;border:1px solid #627680;border-radius:6px;padding:6px 11px}.header select.language{display:inline-block;width:auto;margin:0;padding:6px 8px;background:none;color:#fff;border:1px solid #627680;border-radius:6px;font-size:13px}.header select.language option{color:var(--ink);background:#fff}main{width:min(1100px,100% - 32px);margin:0 auto;flex:1;padding-bottom:40px}h1,h2,h3{margin-top:0;font-family:var(--serif)}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:24px 0;overflow-x:auto}.tabs a{padding:12px 2px;text-decoration:none;color:#778184;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;white-space:nowrap}.tabs a.active{color:#173940;border-color:var(--gold);font-weight:700}.card{background:var(--card);border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 16px #152b3310;padding:24px;margin-bottom:20px}.muted{color:var(--muted);line-height:1.5}.tiny{font-size:12px;color:#87908f}.note{background:var(--warn-bg);color:var(--warn);padding:10px 12px;border-radius:8px;font-size:14px}.inline-error{background:var(--bad-bg);color:#8b2e2e;padding:10px 12px;border-radius:8px}.working{padding:30px 0;text-align:center;color:var(--muted)}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.primary{background:#183941;color:#fff;border:0;border-radius:9px;padding:13px 22px;font-weight:700}.primary:hover:not(:disabled){background:#28535b}.ghost{background:none;border-color:transparent;color:var(--muted)}.ghost.danger{color:var(--bad)}.pickbtn{border:1px solid #d3dad7;border-radius:7px;padding:8px 13px;background:#fff;cursor:pointer}.pickbtn input{display:none}.eyebrow{color:#b28a50;letter-spacing:2.4px;font-weight:700;font-size:11px}.auth{max-width:480px;margin:50px auto}.auth h1{font-size:34px;margin:14px 0}.auth form label{display:block;font-size:13px;font-weight:700;margin:16px 0}.auth input,.identity input,select{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #cdd8d6;border-radius:7px;background:#fff}.segmented{display:flex;background:#edf1ef;padding:4px;border-radius:8px;margin-top:20px}.segmented button{flex:1;border:0;background:none;padding:10px;border-radius:6px}.segmented .selected{background:#fff;box-shadow:0 1px 5px #0001;font-weight:700}.small-seg{max-width:240px;margin:0 0 10px}.slots{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:20px 0}.slot{border:1.5px dashed #bbc6c3;border-radius:10px;padding:12px;background:#fafbf8;display:flex;flex-direction:column;gap:8px}.slot.filled{border-style:solid;background:#fff}.slot img,.slot .placeholder{width:100%;height:150px;object-fit:contain;background:#f1f2ef;border-radius:6px}.slot .placeholder{display:grid;place-items:center;color:#a2acaa;font-size:13px}.slot-body{display:flex;flex-direction:column;gap:6px}.step{font-family:var(--serif);color:var(--gold);font-size:22px}.warn{font-size:12px;color:var(--warn)}.check{font-size:13px;display:flex;gap:6px;align-items:center}.capture{border:1px solid var(--line);border-radius:10px;padding:14px;margin:16px 0}.capture-head{display:flex;justify-content:space-between;align-items:center}.dropzone{border:1.5px dashed #bbc6c3;border-radius:10px;padding:22px;text-align:center}.dropzone .row{justify-content:center}.camera video{width:100%;max-height:70vh;background:#111;border-radius:8px}.editor{position:relative;max-width:100%;width:fit-content;margin:10px auto;touch-action:none}.editor img{display:block;max-width:100%;max-height:70vh;user-select:none}.editor svg{position:absolute;inset:0;width:100%;height:100%}.outline{fill:#bc995922;stroke:var(--gold);stroke-width:2;vector-effect:non-scaling-stroke}.handle{fill:#fffc;stroke:var(--brand);stroke-width:3;vector-effect:non-scaling-stroke;cursor:grab;outline:none}.handle:focus{stroke:#136d76;stroke-width:5}.modes{border:0;padding:0;display:flex;gap:14px;flex-wrap:wrap;font-size:14px}.modes legend{font-weight:700;font-size:13px;margin-bottom:6px}.review-img{display:block;max-width:100%;max-height:70vh;margin:0 auto;border-radius:6px}.warnings{background:var(--warn-bg);color:var(--warn);border-radius:8px;padding:10px 12px 10px 28px;font-size:14px}.hints{background:#eef5f6;border-radius:8px;padding:4px 12px}.identity{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 16px}.identity label{font-size:13px;font-weight:700}.identity .row{grid-column:1 / -1}.prov{font-weight:400;color:var(--muted)}.progress .bar{height:8px;background:#edf1ef;border-radius:4px;overflow:hidden}.progress .bar span{display:block;height:100%;background:var(--gold);transition:width .3s}.verdict-card{border-radius:10px;padding:16px 18px;margin:16px 0;background:var(--warn-bg);color:var(--warn)}.verdict-card.buy{background:var(--ok-bg);color:var(--ok)}.verdict-card.skip{background:var(--bad-bg);color:var(--bad)}.verdict-card.none{background:#eef0ef;color:#4a5a5d}.verdict-card h3{margin-bottom:6px}.analysis{background:var(--paper);border-left:3px solid var(--gold);padding:10px 14px;line-height:1.5}.section-title{margin-top:26px;font-size:20px}details.section{margin-top:16px}details summary{cursor:pointer}.finding{border-bottom:1px solid #ecedeb;padding:12px 0;display:flex;flex-direction:column;gap:4px}.finding-head{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.source{font-weight:700;margin-right:4px}.badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:700;background:#eef1f0;color:#55686b}.match-exact,.dig-catalog_only{background:var(--ok-bg);color:var(--ok)}.match-probable,.dig-suspected,.dig-confirmed_limited{background:var(--warn-bg);color:var(--warn)}.match-mismatch,.dig-confirmed_full{background:var(--bad-bg);color:var(--bad)}.snippet{margin:2px 0;font-size:13px;color:#5b6b6e}.evidence{font-size:13px;padding-left:18px}.evidence li{margin:4px 0}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.filters .selected{background:var(--brand);color:#fff;border-color:var(--brand)}.queries{font-size:13px;margin-top:10px}.providers{width:100%;border-collapse:collapse;font-size:13px;margin-top:8px}.providers td{border-top:1px solid #eee;padding:6px 4px;vertical-align:top}.pstatus.ok{color:var(--ok)}.pstatus.error,.pstatus.blocked,.pstatus.timeout,.pstatus.rate_limited{color:var(--bad)}.history{width:100%;border-collapse:collapse;font-size:14px;transition:opacity .2s}.history.loading{opacity:.55}.history th{text-align:left;font-size:12px;font-weight:600;white-space:nowrap;border-bottom:2px solid var(--line);padding:0 12px 8px 0}.history th a{color:var(--muted);text-decoration:none}.history th a:hover,.history th a.active{color:var(--ink)}.history td{border-bottom:1px solid #eee;padding:12px 12px 12px 0;vertical-align:top}.history td.title a{color:var(--ink);font-weight:700;text-decoration:none}.history td.title a:hover{text-decoration:underline}.history td.date,.history td.year{white-space:nowrap;color:#778688}.history td.author{color:#55686b}.history td.remove{padding-right:0;text-align:right;white-space:nowrap}.history td.remove button{padding:2px 6px;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.badge.tone-buy{background:var(--ok-bg);color:var(--ok)}.badge.tone-review{background:var(--warn-bg);color:var(--warn)}.badge.tone-skip{background:var(--bad-bg);color:var(--bad)}.pager{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pager>a,.pager>span{min-width:36px;padding:6px 10px;border:1px solid transparent;border-radius:7px;text-align:center;text-decoration:none;color:#b3bbb9}.pager>a{border-color:#d3dad7;color:var(--ink)}.pager>a:hover{border-color:var(--gold)}.pager .current{background:var(--brand);color:#fff;font-weight:700}.userrow span{font-size:12px;color:#778688}.userrow{border-top:1px solid #eee;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.userrow>div:first-child{display:flex;flex-direction:column;gap:4px}.actions{display:flex;gap:8px}.audit{font-size:13px;color:var(--muted)}.message{position:fixed;bottom:20px;right:20px;max-width:430px;padding:14px 18px;border-radius:9px;box-shadow:0 4px 25px #0002;display:flex;gap:12px;align-items:flex-start;z-index:10}.message .close{background:none;border:0;color:inherit;font-size:20px;line-height:1;padding:0 0 0 4px}.error{background:#fee7df;color:#8b2e2e}.notice{background:#e2f1e5;color:#225736}footer{text-align:center;color:#8e9996;font-size:11px;letter-spacing:1px;padding:30px 16px}footer span{padding:0 8px}@media(max-width:700px){.header{padding:12px 16px}.account span{display:none}.card{padding:16px}.tabs{gap:18px}.userrow{align-items:flex-start;flex-direction:column}.auth{margin:24px auto}.message{left:16px;right:16px}.providers td:nth-child(4){display:none}.history,.history thead,.history tbody,.history td{display:block}.history thead tr{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.history th{border:0;padding:0}.history th a{display:block;border:1px solid #d3dad7;border-radius:14px;padding:5px 11px}.history th a.active{background:var(--brand);border-color:var(--brand);color:#fff}.history tbody tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title remove" "author year" "verdict date";gap:6px 12px;padding:12px 0;border-bottom:1px solid #eee}.history td{border:0;padding:0}.history td.title{grid-area:title}.history td.author{grid-area:author}.history td.year{grid-area:year;text-align:right}.history td.verdict{grid-area:verdict}.history td.date{grid-area:date;text-align:right}.history td.remove{grid-area:remove}.history th.remove{display:none}.pager{gap:4px}.pager>a,.pager>span{min-width:34px;padding:6px 8px}.pager .word{display:none}}
