@import "https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap";:root{color:#17181f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--brand-accent:#7055d6;--brand-deep:#34206b;--surface:#ffffffdb;--border-soft:#34206b1a;--ink-strong:#1b1730;--ink-muted:#5e5a78;--shadow-soft:0 24px 56px #2718541f;background:radial-gradient(circle at 0 0,#7055d62e,#0000 32%),linear-gradient(#f2effa,#f6f6fb 24%,#f3f4f9);font-family:Outfit,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}a{color:inherit}#root{min-height:100vh}.app-shell{gap:20px;width:min(1780px,100% - 24px);margin:24px auto;display:grid;position:relative}.top-brand-bar{z-index:2;align-items:center;display:flex;position:relative}.top-brand-logo{object-fit:contain;filter:drop-shadow(0 6px 16px #35256a1f);width:210px;height:auto}.app-glow{filter:blur(48px);opacity:.3;pointer-events:none;z-index:0;border-radius:999px;width:320px;height:320px;position:fixed;inset:auto}.app-glow-left{background:#7055d657;top:96px;left:-80px}.app-glow-right{background:#5740a847;top:240px;right:-80px}.hero-panel,.status-strip,.workspace-panel,.resolve-panel,.stat-card{z-index:1;border:1px solid var(--border-soft);background:var(--surface);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:relative}.hero-panel{border-radius:32px;grid-template-columns:1.5fr 1fr;gap:28px;padding:32px;display:grid;overflow:hidden}.hero-panel:before{content:"";pointer-events:none;background:radial-gradient(circle at 100% 0,#7055d633,#0000 34%),linear-gradient(135deg,#ffffffe6,#f2eeffe6);position:absolute;inset:0}.brand-lockup,.hero-metrics{z-index:1;position:relative}.brand-pill{color:var(--brand-deep);letter-spacing:.08em;text-transform:uppercase;background:#29256214;border-radius:999px;align-items:center;padding:9px 14px;font-size:.78rem;font-weight:700;display:inline-flex}.brand-lockup h1{letter-spacing:-.05em;max-width:12ch;color:var(--ink-strong);margin:18px 0 16px;font-size:clamp(2.7rem,5vw,4.4rem);line-height:.96}.brand-lockup p{max-width:65ch;color:var(--ink-muted);margin:0;font-size:1rem;line-height:1.7}.brand-lockup code{color:var(--brand-deep);background:#29256214;border-radius:999px;margin-left:6px;padding:4px 10px}.hero-metrics{align-content:space-between;justify-items:end;gap:18px;display:grid}.progress-donut{background:#ffffffd6;border-radius:50%;place-items:center;width:168px;height:168px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #29256214}.progress-donut svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-track,.progress-value{fill:none;stroke-width:14px}.progress-track{stroke:#29256214}.progress-value{stroke:var(--brand-accent);stroke-linecap:round;transition:stroke-dashoffset .22s}.progress-copy{text-align:center;display:grid;position:absolute}.progress-copy strong{color:var(--ink-strong);font-size:2.2rem;line-height:1}.progress-copy span{color:var(--ink-muted);margin-top:6px;font-size:.92rem}.hero-actions{gap:14px;width:min(100%,420px);display:grid}.upload-dropzone,.manual-dropzone{cursor:pointer;background:linear-gradient(135deg,#ffffffe6,#f3efffe6);border:1px dashed #29256229;border-radius:24px;gap:8px;padding:18px;transition:transform .18s,border-color .18s,box-shadow .18s;display:grid}.upload-dropzone:hover,.manual-dropzone:hover{border-color:#7055d699;transform:translateY(-1px);box-shadow:0 24px 48px #29256214}.upload-dropzone input,.manual-dropzone input{display:none}.upload-dropzone span,.manual-dropzone span{color:var(--ink-strong);font-size:1rem;font-weight:700}.upload-dropzone small,.manual-dropzone small{color:var(--ink-muted)}.upload-dropzone-busy{opacity:.72;pointer-events:none}.hero-button-row,.toolbar,.selected-item-header,.selected-item-meta,.resolver-tabs,.filter-switch{gap:10px;display:flex}.hero-button-row{flex-wrap:wrap;justify-content:flex-end}.primary-button,.secondary-button,.filter-chip,.resolver-tab,.image-option,.item-table tr{transition:transform .18s,background-color .18s,border-color .18s,box-shadow .18s,color .18s}.primary-button,.secondary-button,.filter-chip,.resolver-tab{appearance:none;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:12px 18px;font-weight:700}.primary-button{background:linear-gradient(135deg, var(--brand-accent), #8f77ec);color:#fff;box-shadow:0 18px 36px #5d46be47}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.resolver-tab:hover,.filter-chip:hover{transform:translateY(-1px)}.secondary-button,.filter-chip,.resolver-tab{color:var(--brand-deep);background:#2925620f}.secondary-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}.status-strip{border-radius:24px;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex}.status-strip strong{color:var(--ink-strong);margin-bottom:4px;display:block}.status-strip p{color:var(--ink-muted);margin:0}.error-banner,.inline-error{color:#8d1f2d;background:#dc35451a;border-radius:16px;padding:10px 14px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{border-radius:24px;padding:22px}.stat-card span{color:var(--ink-muted);margin-bottom:12px;font-size:.9rem;display:block}.stat-card strong{color:var(--ink-strong);font-size:2rem}.stat-card-success{background:linear-gradient(#1987541a,#fffffffa)}.stat-card-warning{background:linear-gradient(#7055d624,#fffffffa)}.stat-card-brand{background:linear-gradient(#29256224,#fffffffa)}.workspace-shell{--workspace-height:clamp(620px, 74vh, 900px);grid-template-columns:minmax(0,1.55fr) minmax(340px,.9fr);align-items:stretch;gap:20px;display:grid}.workspace-panel,.resolve-panel{height:var(--workspace-height);border-radius:28px;min-height:0;padding:22px}.workspace-panel{flex-direction:column;min-width:0;display:flex}.panel-header{justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px;display:flex}.panel-header h2{color:var(--ink-strong);margin:0 0 6px;font-size:1.35rem}.panel-header p,.resolver-copy p,.resolve-empty p,.selected-item-card p{color:var(--ink-muted);margin:0;line-height:1.6}.toolbar{flex-wrap:wrap;justify-content:flex-end}.threshold-control{background:#ffffffdb;border:1px solid #2925621f;border-radius:16px;gap:8px;min-width:min(360px,100%);padding:12px 14px;display:grid}.threshold-control label{color:var(--ink-strong);font-size:.86rem}.threshold-slider{width:100%;accent-color:var(--brand-accent)}.threshold-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.threshold-row small{color:var(--ink-muted);font-size:.78rem}.search-input{min-width:min(320px,100%);font:inherit;background:#fffffff0;border:1px solid #2925621f;border-radius:999px;padding:12px 16px}.search-input:focus-visible{outline-offset:2px;outline:2px solid #7055d680}.filter-switch{flex-wrap:wrap}.filter-chip.active,.resolver-tab.active{background:var(--brand-deep);color:#fff;box-shadow:0 16px 32px #2925622e}.table-shell{border:1px solid #29256214;border-radius:22px;flex:1;min-height:0;overflow:auto}.item-table{border-collapse:collapse;width:max-content}.item-table thead th{z-index:1;text-align:left;letter-spacing:.05em;text-transform:uppercase;color:var(--brand-deep);background:#f2efff;min-width:160px;padding:14px 16px;font-size:.8rem;position:sticky;top:0}.item-table thead th:first-child{min-width:120px}.item-table tbody td{color:var(--ink-strong);border-top:1px solid #29256214;padding:14px 16px}.item-table tbody tr{cursor:pointer;background:#ffffffe0}.item-table tbody tr:hover{background:#7055d614}.row-selected{background:#7055d629!important}.cell-content{text-overflow:ellipsis;white-space:nowrap;max-width:320px;overflow:hidden}.cell-url{color:var(--brand-deep)}.image-cell-content{align-items:center;gap:12px;display:flex}.table-image-thumb{object-fit:cover;background:#eceaf6;border:1px solid #34206b24;border-radius:10px;flex-shrink:0;width:48px;height:48px}.table-image-button{cursor:zoom-in;background:0 0;border:0;padding:0}.image-unavailable{width:48px;height:48px;color:var(--ink-muted);background:#eceaf6;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;font-size:.66rem;font-weight:700;display:inline-flex}.status-badge{text-transform:capitalize;border-radius:999px;justify-content:center;align-items:center;min-width:86px;padding:7px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.status-matched{color:#0d6b3f;background:#1987541f}.status-missing{color:#4f2ea8;background:#7055d629}.empty-state-cell{text-align:center;color:var(--ink-muted)}.resolve-panel{flex-direction:column;gap:16px;min-width:0;display:flex;overflow:auto}.resolve-empty,.selected-item-card,.resolver-body{background:linear-gradient(#fffffffa,#f8f8f8f5);border:1px solid #29256214;border-radius:22px;padding:20px}.selected-item-card h3{color:var(--ink-strong);margin:14px 0 8px;font-size:1.55rem}.selected-item-header{justify-content:space-between;align-items:center}.selected-item-header small{color:var(--ink-muted)}.selected-item-meta{border-top:1px solid #29256214;justify-content:space-between;margin-top:18px;padding-top:18px}.selected-item-meta span{color:var(--ink-muted);margin-bottom:6px;font-size:.84rem;display:block}.selected-item-meta strong{color:var(--ink-strong)}.selected-image-preview{object-fit:cover;background:#eceaf6;border:1px solid #34206b1f;border-radius:14px;width:100%;max-height:220px}.selected-image-preview-button{cursor:zoom-in;text-align:left;background:0 0;border:0;width:100%;margin-top:16px;padding:0}.preview-hint{color:var(--brand-deep);margin-top:8px;font-size:.82rem;font-weight:700;display:block}.image-lightbox{z-index:1200;background:#120c28d1;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.lightbox-image{object-fit:contain;background:#f0f0f0;border-radius:16px;width:auto;max-width:min(96vw,1280px);height:auto;max-height:88vh;box-shadow:0 28px 56px #00000061}.lightbox-close{font:inherit;color:#fff;cursor:pointer;background:#7055d6d6;border:0;border-radius:999px;padding:10px 16px;font-weight:700;position:fixed;top:18px;right:18px}.resolver-tabs{flex-wrap:wrap}.resolver-body{gap:16px;display:grid}.resolver-copy h4{color:var(--ink-strong);margin:0 0 8px;font-size:1.05rem}.generate-prompt-label{color:var(--ink-strong);font-size:.86rem;font-weight:700}.generate-mode-switch{flex-wrap:wrap;gap:8px;display:flex}.generate-prompt-input{resize:vertical;width:100%;min-height:104px;font:inherit;color:var(--ink-strong);background:#fffffff0;border:1px solid #29256224;border-radius:14px;padding:12px 14px;line-height:1.45}.generate-prompt-input:focus-visible{outline-offset:2px;outline:2px solid #7055d680}.generate-prompt-hint{color:var(--ink-muted);font-size:.8rem}.google-query-hint{font-size:.84rem;color:var(--brand-deep)!important;margin-top:8px!important}.google-search-host{min-height:320px}.google-inline-form{align-items:center;gap:10px;display:flex}.google-inline-form .search-input{flex:1;min-width:0}.google-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.google-result-card{background:#fff;border:1px solid #29256214;border-radius:18px;gap:8px;padding-bottom:10px;display:grid;overflow:hidden}.google-result-preview-button{cursor:zoom-in;background:0 0;border:0;padding:0}.google-result-card img{aspect-ratio:1;object-fit:cover;background:#f1f1f1;width:100%;display:block}.google-result-card span{color:var(--brand-deep);min-height:2.6em;max-height:3.9em;padding:0 12px;font-weight:700;line-height:1.3;display:block;overflow:hidden}.google-result-actions{justify-content:space-between;align-items:center;gap:8px;padding:0 12px;display:flex}.google-result-actions .primary-button{box-shadow:none;padding:8px 12px;font-size:.82rem}.google-result-actions a{color:var(--brand-deep);font-size:.82rem;font-weight:700}.google-results-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.google-results-meta small{color:var(--ink-muted);font-size:.8rem}.google-pagination{gap:8px;display:flex}.google-pagination .secondary-button{padding:8px 12px;font-size:.82rem}.google-provider-note{color:var(--ink-muted);font-size:.78rem}.option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.image-option{cursor:pointer;background:#fff;border:1px solid #29256214;border-radius:18px;padding:0;overflow:hidden}.image-option img{aspect-ratio:1;object-fit:cover;background:#f1f1f1;width:100%;display:block}.image-option span{color:var(--brand-deep);padding:12px;font-weight:700;display:block}.image-option:hover{transform:translateY(-2px);box-shadow:0 20px 28px #2925621f}@media (width<=1120px){.hero-panel{grid-template-columns:1fr}.hero-metrics{justify-items:start}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell{grid-template-columns:1fr}.workspace-panel,.resolve-panel{height:auto;overflow:visible}}@media (width<=720px){.app-shell{width:min(100%,100% - 20px);margin:12px auto 20px}.hero-panel,.workspace-panel,.resolve-panel,.status-strip,.stat-card{border-radius:24px}.hero-panel,.workspace-panel,.resolve-panel{padding:18px}.top-brand-logo{width:165px}.brand-lockup h1{max-width:100%;font-size:clamp(2.3rem,9vw,3.4rem)}.hero-button-row,.toolbar,.status-strip,.panel-header,.selected-item-header,.selected-item-meta{flex-direction:column;align-items:stretch}.stats-grid,.option-grid{grid-template-columns:1fr}.search-input{min-width:0}}
