.search-form .cvscan-trigger{display:none}
@media (max-width:900px) and (pointer:coarse),(max-width:900px) and (hover:none){
.search-form .cvscan-trigger{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;min-height:42px;margin:0;padding:0;border:0;border-radius:7px;color:#a21738;background:transparent;cursor:pointer;touch-action:manipulation}
.search-form .cvscan-trigger:focus-visible{outline:2px solid #9c2947;outline-offset:-3px}
}
.cvscan-load-error{font:14px system-ui;color:#9c2947}
#cvscan-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;width:min(100%,540px);max-width:100%;max-height:91vh;max-height:91dvh;margin:0 auto;padding:12px 20px max(20px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:white;color:#222;box-shadow:0 -6px 34px #19151d23;overflow-y:auto;overscroll-behavior:contain;font:15px/1.45 Inter,system-ui,sans-serif;text-align:left;color-scheme:light}
#cvscan-sheet::backdrop{background:rgba(16,12,17,.53)}
#cvscan-sheet [hidden]{display:none!important}
#cvscan-sheet:before{content:"";display:block;width:34px;height:4px;border-radius:5px;background:#d9d6d7;margin:0 auto 9px}
#cvscan-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;background:none;position:static}
#cvscan-sheet h2{font:650 20px/1.25 Inter,system-ui,sans-serif;letter-spacing:-.025em;margin:0}
#cvscan-sheet button,#cvscan-sheet select,#cvscan-sheet input{font:inherit;box-sizing:border-box}
#cvscan-sheet button,#cvscan-sheet .cvscan-link{min-height:44px;border:1px solid #d9d5d6;border-radius:10px;background:#fff;color:#222;padding:8px 14px;cursor:pointer;touch-action:manipulation}
#cvscan-sheet .cvscan-close{font:26px/1 system-ui;width:44px;padding:0;border:0;background:#f5f3f3;border-radius:50%}
#cvscan-sheet .cvscan-primary{background:#a9183d;color:#fff;border-color:#a9183d;font-weight:650}
#cvscan-sheet button:disabled{opacity:.55}
#cvscan-sheet .cvscan-view{position:relative;overflow:hidden;background:#16171a;border-radius:14px;aspect-ratio:1.9}
#cvscan-sheet video{width:100%;height:100%;object-fit:cover;display:block}
#cvscan-sheet .cvscan-frame{position:absolute;inset:20% 8%;border:2px solid #fff;border-radius:9px;box-shadow:0 0 0 100vmax #0004;pointer-events:none}
#cvscan-sheet .cvscan-frame:after{content:"";position:absolute;top:50%;left:5%;right:5%;height:1px;background:#ff95af}
#cvscan-sheet [role=status]{margin:11px 0;font-size:14px;color:#514b50;min-height:1.45em}
#cvscan-sheet .cvscan-actions{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap;margin-top:10px}
#cvscan-sheet .cvscan-actions>*{flex:1 0 auto;text-align:center}
#cvscan-sheet form{margin:12px 0 0;padding:0;display:block}
#cvscan-sheet label{display:block;font-size:14px;font-weight:560;margin:8px 0 4px}
#cvscan-sheet .cvscan-field{display:flex;gap:8px}
#cvscan-sheet input,#cvscan-sheet select{min-height:44px;width:100%;min-width:0;background:white;color:#222;border:1px solid #c9c6c7;border-radius:9px;padding:8px 10px;font-size:16px}
#cvscan-sheet .cvscan-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center}
#cvscan-sheet .cvscan-item:has(img[hidden]){grid-template-columns:minmax(0,1fr)}
#cvscan-sheet .cvscan-item img{width:76px;height:92px;object-fit:contain;border-radius:9px;background:#f6f5f4}
#cvscan-sheet .cvscan-name{font-size:17px;font-weight:600;line-height:1.32;margin:0 0 5px;overflow-wrap:anywhere}
#cvscan-sheet .cvscan-info{margin:2px 0;font-size:14px;color:#5c5358}
#cvscan-sheet .cvscan-price{font-size:22px;font-weight:660;margin:12px 0 2px}
#cvscan-sheet .cvscan-link{display:flex;align-items:center;justify-content:center;text-decoration:none}
#cvscan-sheet .cvscan-detail{color:#54444b;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
@media(prefers-reduced-motion:no-preference){#cvscan-sheet[open]{animation:cvscan-appear .16s ease-out}@keyframes cvscan-appear{from{transform:translateY(18px);opacity:.65}to{transform:translateY(0);opacity:1}}}
