:root{--ink:#171b23;--muted:#687380;--line:#dce2e7;--bg:#f3f6f8;--panel:#fff;--lime:#c8f536;--lime-soft:#edf8ca;--danger:#b83b4c;--shadow:0 18px 55px rgba(23,27,35,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body{min-width:320px}
button,input,select{font:inherit}
button{border:0;cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(200,245,54,.55);outline-offset:2px}
img{display:block;max-width:100%}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.app{min-height:100vh}
.side{position:fixed;inset:0 auto 0 0;width:242px;background:var(--ink);color:#fff;padding:26px 20px;display:flex;flex-direction:column;z-index:25}
.brand{display:flex;align-items:center;gap:9px;font-weight:850;letter-spacing:-.04em;font-size:24px}
.brand b,.hero h1 em,.heading h1 em,h2 em{font-style:normal;color:var(--lime)}
.logo-mark{width:31px;height:31px;border-radius:10px;background:var(--lime);color:var(--ink);display:grid;place-items:center;font-size:14px;font-weight:950;letter-spacing:-.05em;box-shadow:0 8px 22px rgba(200,245,54,.18)}
.side-note{margin-top:67px;color:#abb4bf;line-height:1.6;font-size:14px}.side-note em{color:#fff;font-style:normal}
.side nav{margin-top:30px;display:grid;gap:6px}.side nav button{display:flex;gap:11px;align-items:center;text-align:left;background:transparent;color:#abb4bf;padding:11px 12px;border-radius:11px;transition:.18s ease}.side nav button:hover{background:#1d232c;color:#fff}.side nav button.active{color:#fff;background:#222834}.side-foot{margin-top:auto;color:#7d8792;font-size:11px;display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px rgba(200,245,54,.1)}
.main{margin-left:242px;min-height:100vh}.mobile-head,.bottom{display:none}
.page{max-width:1220px;margin:0 auto;padding:38px 34px 96px}
.hero{background:var(--ink);color:#fff;border-radius:25px;min-height:355px;padding:39px 40px;display:flex;justify-content:space-between;align-items:flex-end;overflow:hidden;box-shadow:var(--shadow)}
.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:850;color:#7a8490}.eyebrow.green{color:var(--lime)}
h1,h2,h3,p{margin:0}.hero h1,.heading h1{font-size:clamp(42px,5vw,70px);line-height:.93;letter-spacing:-.055em;margin-top:11px}.hero p{max-width:540px;color:#b6bec8;font-size:15px;line-height:1.75;margin-top:20px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.primary,.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 15px;font-weight:850;transition:transform .16s ease,filter .16s ease,background .16s ease}.primary{background:var(--lime);color:var(--ink)}.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.secondary.dark{background:transparent;color:#fff;border-color:#424c58}.primary:hover{filter:brightness(.98);transform:translateY(-1px)}.secondary:hover{background:#f0f3f5}.secondary.dark:hover{background:#202731}
.btn-icon{display:inline-grid;place-items:center}.btn-icon svg{width:18px;height:18px}.seal{width:112px;height:112px;border:1px solid #47515d;border-radius:50%;display:grid;place-items:center;text-align:center;font-weight:950;font-size:19px;flex:0 0 auto}.seal:before{content:"";position:absolute;width:94px;height:94px;border:1px dashed #37414c;border-radius:50%}.seal small{display:block;font-size:7px;letter-spacing:.16em;color:#aab2bc;line-height:1.3}.seal span{position:relative;z-index:1}.seal small{position:relative;z-index:1}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:0 6px 24px rgba(23,27,35,.025)}.stat span,.stat small{display:block;color:#7b8590;font-size:12px}.stat strong{display:block;font-size:30px;letter-spacing:-.04em;margin:3px 0}
.engine{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:23px;padding:28px;box-shadow:0 6px 26px rgba(23,27,35,.025)}.engine-head{display:flex;justify-content:space-between;gap:28px}.engine h2{font-size:37px;line-height:1.03;letter-spacing:-.045em;margin-top:7px}.engine p,.heading p{color:var(--muted);line-height:1.7;font-size:14px;margin-top:12px;max-width:680px}.engine-chip{background:var(--lime-soft);color:#5d7600;border:1px solid rgba(200,245,54,.55);border-radius:16px;min-width:112px;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:900;flex:0 0 auto}.engine-chip svg{width:17px;height:17px}.engine-chip span{font-size:12px;line-height:1}.engine-chip small{font-size:8px;letter-spacing:.12em;text-align:center}
.pills,.filters{display:flex;gap:8px;overflow:auto;margin-top:20px;padding:0 0 2px;scrollbar-width:none}.pills::-webkit-scrollbar,.filters::-webkit-scrollbar{display:none}.pill{white-space:nowrap;background:#eef2f5;color:#64707b;padding:9px 13px;border-radius:99px;font-size:12px;text-transform:capitalize;min-height:38px}.pill.active{background:var(--ink);color:#fff}.pill:hover{background:#e7ecef}
.empty{margin-top:21px;padding:40px 24px;border:1px dashed #c9d1d8;border-radius:18px;text-align:center}.empty h3{font-size:19px;margin-top:10px}.empty p{margin:7px auto 17px;color:var(--muted);line-height:1.6;max-width:560px}
.result{margin-top:21px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(235px,.7fr);gap:14px}.card{background:#f7f9fa;border:1px solid var(--line);border-radius:18px;overflow:hidden}.pieces{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;min-height:265px}.piece{position:relative;background:#e8edf0;min-width:0;min-height:150px}.piece img{width:100%;height:100%;object-fit:cover}.piece span{position:absolute;left:8px;bottom:8px;background:#171b23db;color:#fff;border-radius:7px;padding:5px 7px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.body{padding:18px}.topline{display:flex;justify-content:space-between;gap:12px}.topline h3{font-size:21px;margin-top:4px}.match{background:var(--lime);border-radius:99px;padding:7px 9px;font-size:11px;font-weight:900;white-space:nowrap}.body p{color:var(--muted);font-size:14px;line-height:1.7;margin:11px 0 13px}.coverage{background:var(--ink);color:#fff;border-radius:18px;padding:22px;display:flex;flex-direction:column}.coverage strong{font-size:54px;line-height:1;color:var(--lime);letter-spacing:-.06em;margin-top:9px}.coverage p{color:#b5bec7;line-height:1.65;font-size:13px;margin-top:8px}.coverage .secondary{background:#232a34;border-color:#414b57;color:#fff;margin-top:auto}.alts{margin-top:24px}.alts[hidden]{display:none}.section-title{display:flex;justify-content:space-between;align-items:end}.section-title h2{font-size:29px;letter-spacing:-.04em;margin-top:5px}.alt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:13px}.alt-grid .pieces{min-height:180px}
.heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.items{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:15px}.item{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 22px rgba(23,27,35,.025)}.item-img{height:300px;background:#e9edf0}.item-img img{width:100%;height:100%;object-fit:contain;padding:10px}.fav{position:absolute;right:10px;top:10px;width:38px;height:38px;border-radius:50%;background:#fff;box-shadow:0 6px 20px rgba(23,27,35,.1);color:#66717b}.fav.on{color:var(--danger)}.trash{position:absolute;right:10px;bottom:10px;background:#fff0;color:#929ca5;width:34px;height:34px;border-radius:9px}.trash:hover{background:#f1f3f5;color:var(--danger)}.item-copy{padding:13px 14px 15px}.item-copy strong{display:block;font-size:15px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-copy small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.modal-wrap{position:fixed;inset:0;background:#0f1318b3;display:grid;place-items:center;padding:18px;z-index:50;backdrop-filter:blur(5px)}.modal-wrap[hidden],.hide,[hidden]{display:none!important}.modal{width:min(560px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:22px;padding:21px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.modal-head{display:flex;justify-content:space-between;align-items:start}.modal-head h2{margin-top:5px;font-size:30px;letter-spacing:-.04em}.close{background:transparent;font-size:28px;line-height:1}.preview{height:230px;border-radius:16px;overflow:hidden;background:#edf1f4;margin-top:15px}.preview img{width:100%;height:100%;object-fit:contain;background:#edf1f4}.fields{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:15px}.fields label{display:grid;gap:5px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.fields input,.fields select{width:100%;border:1px solid var(--line);border-radius:10px;background:#f8fafb;padding:11px}.full{width:100%;margin-top:15px}.note{font-size:11px;line-height:1.6;color:var(--muted);margin-top:10px}.queue{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:12px;font-size:12px;color:var(--muted);text-align:center}
@media(max-width:1080px){.page{padding-left:24px;padding-right:24px}.items{grid-template-columns:repeat(3,1fr)}.item-img{height:270px}.hero{padding:34px}.engine h2{font-size:34px}}
@media(max-width:980px){.side{display:none}.main{margin-left:0}.mobile-head{display:flex;height:62px;background:var(--ink);color:#fff;align-items:center;justify-content:space-between;padding:0 15px;position:sticky;top:0;z-index:20}.mobile-menu{width:32px;height:32px;display:grid;place-items:center;color:#b7bec7}.mobile-menu svg{width:20px}.mobile-brand{font-size:21px}.mobile-brand .logo-mark{width:29px;height:29px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ink);font-weight:900}.page{padding:20px 15px 92px}.hero{min-height:415px;padding:24px;border-radius:20px;align-items:flex-start}.seal{display:none}.hero h1{font-size:clamp(44px,11vw,58px)}.hero p{font-size:14px;line-height:1.7;max-width:620px}.actions{display:grid;grid-template-columns:1fr}.actions button{width:100%}.stats{grid-template-columns:repeat(3,1fr);gap:8px}.stat{padding:15px 13px}.stat strong{font-size:26px}.engine{padding:20px;border-radius:20px}.engine-head{display:block}.engine-chip{display:flex;margin-top:16px}.engine h2{font-size:31px}.result{grid-template-columns:1fr}.alt-grid{grid-template-columns:1fr}.items{grid-template-columns:repeat(2,1fr)}.item-img{height:230px}.heading{display:block}.heading .primary{margin-top:15px}.bottom{display:flex;position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));background:var(--ink);border-radius:17px;padding:7px;z-index:30;justify-content:space-around;box-shadow:0 10px 28px #0003}.bottom button{background:transparent;color:#aeb6c0;font-size:9px;display:grid;gap:3px;place-items:center;min-width:64px;min-height:44px;border-radius:11px}.bottom .active{color:#fff}.bottom .add{width:46px;min-width:46px;height:46px;background:var(--lime);color:var(--ink);border-radius:15px;font-size:20px}.bottom .tab-icon svg{width:18px;height:18px}.bottom .add svg{width:21px;height:21px}}
@media(max-width:600px){.page{padding-top:15px}.hero{min-height:0;padding:22px}.hero h1{font-size:44px}.stats{grid-template-columns:1fr 1fr 1fr}.stat{min-width:0;padding:14px 10px}.stat span,.stat small{font-size:10px}.stat strong{font-size:24px}.engine h2{font-size:28px}.engine p{font-size:13px}.pieces{grid-template-columns:repeat(2,1fr);min-height:210px}.alt-grid .pieces{min-height:145px}.fields{grid-template-columns:1fr}.preview{height:215px}.item-img{height:215px}.heading h1{font-size:46px}.camera-modal{padding:15px}.camera-preview{height:55vh}.modal{padding:17px}}
@media(max-width:380px){.stats{gap:6px}.stat{padding:12px 7px}.stat strong{font-size:21px}.hero h1{font-size:40px}.bottom{left:7px;right:7px}.bottom button{min-width:56px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.primary{transition:none}.primary:hover{transform:none}}
