:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:13px;color:#0f172a;background:#f8fafc}a{color:#4f46e5;text-decoration:none}a:hover{text-decoration:underline}button{font:inherit;padding:6px 12px;border:1px solid #cbd5e1;background:#fff;border-radius:4px;cursor:pointer}button:hover:not(:disabled){background:#f1f5f9}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:#4f46e5;color:#fff;border-color:#4f46e5}button.primary:hover:not(:disabled){background:#4338ca}button.danger{border-color:#dc2626;color:#dc2626}input[type=text],input[type=number],textarea{font:inherit;padding:4px 6px;border:1px solid #cbd5e1;border-radius:3px;background:#fff;width:100%}input:focus{outline:2px solid #818cf8;outline-offset:-1px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#fff;border-bottom:1px solid #e2e8f0}.topbar h1{font-size:16px;margin:0}.topbar .meta{color:#64748b;font-size:12px}.page{padding:20px;max-width:1200px;margin:0 auto}.list-layout{display:flex;gap:20px;padding:20px;max-width:1400px;margin:0 auto;align-items:flex-start}.cuisine-sidebar{flex:0 0 200px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px;position:sticky;top:20px}.sidebar-title{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em;padding:4px 8px 8px;border-bottom:1px solid #f1f5f9;margin-bottom:4px}.cuisine-nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}.cuisine-nav-item{width:100%;display:flex;align-items:center;gap:8px;padding:7px 8px;border:none;background:transparent;border-radius:6px;color:#334155;font-size:13px;text-align:left;cursor:pointer;transition:background .12s,color .12s}.cuisine-nav-item:hover:not(:disabled){background:#f1f5f9}.cuisine-nav-item.active{background:#eef2ff;color:#3730a3;font-weight:600}.cuisine-nav-item.active .cuisine-nav-count{background:#c7d2fe;color:#3730a3}.cuisine-nav-label{flex:1}.cuisine-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:#cbd5e1}.cuisine-dot-all{background:linear-gradient(135deg,#4f46e5,#a855f7)}.cuisine-nav-count{font-size:11px;font-weight:500;color:#94a3b8;background:#f1f5f9;padding:1px 7px;border-radius:9px;min-width:22px;text-align:center}.list-main{flex:1;min-width:0}@media (max-width: 800px){.list-layout{flex-direction:column;padding:12px}.cuisine-sidebar{flex:none;width:100%;position:static}.cuisine-nav{flex-direction:row;overflow-x:auto;gap:4px}.cuisine-nav-item{white-space:nowrap;padding:6px 10px}.sidebar-title{display:none}}.toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px;flex-wrap:wrap}.toolbar-spacer{flex:1}.search-box{position:relative;flex:1;min-width:220px;max-width:360px;display:flex;align-items:center}.search-box .search-icon{position:absolute;left:9px;color:#94a3b8;pointer-events:none}.search-box input[type=text]{padding:7px 28px 7px 30px;border-radius:6px;background:#fff;transition:border-color .15s,box-shadow .15s}.search-box input[type=text]:hover{border-color:#94a3b8}.search-box input[type=text]:focus{outline:none;border-color:#818cf8;box-shadow:0 0 0 3px #818cf833}.search-box .search-clear{position:absolute;right:4px;border:none;background:transparent;color:#94a3b8;font-size:16px;padding:0 6px;line-height:1;cursor:pointer}.search-box .search-clear:hover{color:#475569;background:transparent}.multi-select{position:relative}.multi-trigger{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:6px;background:#fff;color:#334155;transition:border-color .15s,background .15s;cursor:pointer}.multi-trigger:hover:not(:disabled){border-color:#94a3b8;background:#fff}.multi-trigger.active{border-color:#818cf8;background:#eef2ff;color:#3730a3}.multi-trigger svg{color:#94a3b8}.multi-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#4f46e5;color:#fff;font-size:11px;font-weight:600}.multi-popover{position:absolute;top:calc(100% + 4px);left:0;min-width:160px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 8px 24px #0f172a1f;padding:4px;z-index:20;max-height:280px;overflow:auto}.multi-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:4px;cursor:pointer;font-size:13px;color:#0f172a}.multi-item:hover{background:#f1f5f9}.multi-item input[type=checkbox]{margin:0;cursor:pointer;accent-color:#4f46e5}.multi-empty{padding:10px;color:#94a3b8;font-size:12px;text-align:center}.multi-clear{width:100%;margin-top:4px;padding:5px;border:none;border-top:1px solid #f1f5f9;border-radius:0;background:transparent;color:#64748b;font-size:12px;cursor:pointer}.multi-clear:hover{color:#4f46e5;background:#f8fafc}.sort-select{padding:7px 26px 7px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none'><path d='m3 4.5 3 3 3-3' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 9px center;font:inherit;color:#334155;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}.sort-select:hover{border-color:#94a3b8}.sort-select:focus{outline:none;border-color:#818cf8;box-shadow:0 0 0 3px #818cf833}.result-count{font-size:12px;color:#64748b;padding:0 4px;white-space:nowrap}.clear-filters{padding:6px 10px;border-radius:6px;color:#64748b;font-size:12px}.clear-filters:hover:not(:disabled){color:#dc2626;border-color:#fecaca}.linklike{border:none;background:transparent;padding:0;color:#4f46e5;cursor:pointer;font:inherit}.linklike:hover{text-decoration:underline;background:transparent}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.project-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px;cursor:pointer;transition:box-shadow .15s,transform .15s,border-color .15s;display:flex;flex-direction:column;gap:10px}.project-card:hover{box-shadow:0 4px 12px #0f172a14;border-color:#c7d2fe;transform:translateY(-1px)}.project-card .head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.project-card .title{font-size:15px;font-weight:600;color:#0f172a;word-break:break-word}.project-card .badges{display:flex;gap:6px;flex-wrap:wrap}.project-card .stats{display:flex;gap:12px;font-size:12px;color:#475569}.project-card .stats .stat-num{font-weight:600;color:#0f172a}.project-card .meta{font-size:11px;color:#94a3b8;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f1f5f9;padding-top:8px;margin-top:auto}.project-card .delete-btn{position:absolute;top:8px;right:8px;background:transparent;border:none;color:#cbd5e1;font-size:18px;padding:2px 6px;cursor:pointer;opacity:0;transition:opacity .15s,color .15s}.project-card:hover .delete-btn{opacity:1}.project-card .delete-btn:hover{color:#dc2626}.cuisine-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap}.empty-state{text-align:center;padding:60px 20px;color:#94a3b8}.empty-state .big{font-size:48px;margin-bottom:8px}.status-pill{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;margin-left:6px}.status-draft{background:#e2e8f0;color:#475569}.status-extracting{background:#fef3c7;color:#92400e}.status-ready{background:#dcfce7;color:#166534}.status-error{background:#fee2e2;color:#991b1b}.editor-layout{display:flex;flex-direction:column;height:100vh}.editor-body{display:flex;flex:1;min-height:0}.pdf-pane{flex:1;min-width:0;border-right:1px solid #e2e8f0;background:#e2e8f0;display:flex;flex-direction:column;position:relative}.pdf-controls{padding:6px 10px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pdf-pane mark{background:#ffd70066;color:transparent;padding:0;border-radius:2px;box-shadow:0 0 0 1px #d9770666}.pdf-scroll{flex:1;overflow:auto;display:flex;justify-content:flex-start;padding:10px}.pdf-page-wrap{position:relative;display:inline-block}.pdf-page-wrap.crop-mode{cursor:crosshair;-webkit-user-select:none;user-select:none}.pdf-page-wrap.crop-mode .textLayer,.pdf-page-wrap.crop-mode .react-pdf__Page__textContent{pointer-events:none}.pdf-crop-rect{position:absolute;border:2px dashed #f59e0b;background:#f59e0b26;box-sizing:border-box;cursor:move}.pdf-crop-handle{position:absolute;width:12px;height:12px;background:#fff;border:2px solid #d97706;border-radius:2px;box-sizing:border-box}.pdf-crop-handle.nw{top:-7px;left:-7px;cursor:nwse-resize}.pdf-crop-handle.ne{top:-7px;right:-7px;cursor:nesw-resize}.pdf-crop-handle.sw{bottom:-7px;left:-7px;cursor:nesw-resize}.pdf-crop-handle.se{bottom:-7px;right:-7px;cursor:nwse-resize}.pdf-crop-toolbar{position:absolute;display:inline-flex;gap:6px;align-items:center;padding:4px 6px;background:#0f172aeb;color:#f8fafc;border-radius:4px;font-size:12px;z-index:10;box-shadow:0 2px 6px #0000004d}.pdf-crop-toolbar button{font-size:12px;padding:3px 10px}.pdf-crop-toolbar button.primary{background:#f59e0b;color:#fff;border-color:#d97706}.pdf-crop-toolbar button.primary:hover:not(:disabled){background:#d97706}.pdf-crop-size{font-family:ui-monospace,Menlo,monospace;font-size:10px;color:#cbd5e1}.pdf-crop-btn{padding:3px 8px;font-size:12px}.pdf-crop-btn.active{background:#f59e0b;color:#fff;border-color:#d97706}.pdf-crop-busy-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10001;background:#0f172a8c;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pdf-crop-busy-card{background:#fff;padding:20px 28px;border-radius:8px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 40px #00000059;min-width:220px}.pdf-crop-busy-spinner{width:28px;height:28px;border:3px solid #fde68a;border-top-color:#d97706;border-radius:50%;animation:pdf-crop-spin .8s linear infinite}.pdf-crop-busy-label{font-size:14px;font-weight:500;color:#0f172a}@keyframes pdf-crop-spin{to{transform:rotate(360deg)}}.pdf-normal-wrap{display:contents}.pdf-fullscreen-wrap{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#1f2937;display:flex}.pdf-fullscreen-wrap .pdf-pane{flex:1;min-width:0}.table-pane{flex:1.2;min-width:0;display:flex;flex-direction:column;background:#fff}.tabs{display:flex;border-bottom:1px solid #e2e8f0;background:#f8fafc}.tab{padding:8px 14px;border:none;background:transparent;cursor:pointer;border-bottom:2px solid transparent;border-radius:0}.tab.active{background:#fff;border-bottom-color:#4f46e5;color:#4f46e5;font-weight:600}.table-wrap{flex:1;overflow:auto}table.editable{width:max-content;border-collapse:collapse;table-layout:fixed;font-size:12px}table.editable th.resizable{position:relative;padding-right:12px}table.editable th .th-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;vertical-align:bottom}table.editable th .col-resizer{position:absolute;top:0;right:0;width:6px;height:100%;cursor:col-resize;-webkit-user-select:none;user-select:none;touch-action:none}table.editable th .col-resizer:hover{background:#93c5fd}table.editable thead{position:sticky;top:0;background:#f1f5f9;z-index:1}table.editable th,table.editable td{padding:3px 6px;border:1px solid #e2e8f0;text-align:left;vertical-align:top}table.editable th{font-weight:600;white-space:nowrap}table.editable tbody tr:nth-child(odd) td{background:#fff}table.editable tbody tr:nth-child(2n) td{background:#f8fafc}table.editable tbody tr:nth-child(2n) td.idx{background:#f1f5f9}table.editable tr:hover td{background:#eef2ff!important}table.editable tr.selected td{background:#e0e7ff!important}table.editable input,table.editable select,table.editable textarea{width:100%;border:none;padding:2px 4px;background:transparent;font:inherit}table.editable input:focus,table.editable textarea:focus{background:#fff;outline:2px solid #818cf8}table.editable td.num input{text-align:right}table.editable td.idx{background:#f8fafc;color:#64748b;text-align:right;width:40px}.validation-panel{max-height:160px;overflow:auto;border-top:1px solid #e2e8f0;padding:8px 12px;background:#fffbeb;font-size:12px}.validation-panel.empty{background:#f0fdf4;color:#166534}.validation-panel .error{color:#991b1b}.validation-panel .warn{color:#92400e}.save-indicator{font-size:11px;color:#64748b;padding:0 6px}.save-indicator.dirty{color:#b45309}.save-indicator.saving{color:#0f766e}.save-indicator.saved{color:#166534}.lang-switch{display:inline-flex;gap:2px;background:#f1f5f9;border-radius:6px;padding:2px;margin-right:12px}.lang-switch button{background:transparent;border:0;padding:4px 10px;font-size:12px;border-radius:4px;cursor:pointer;color:#64748b}.lang-switch button.active{background:#fff;color:#0f172a;box-shadow:0 1px 2px #00000014}.imgmatch-layout{display:flex;flex-direction:column;height:100vh}.imgmatch-progress{font-size:12px;color:#64748b}.imgmatch-loading{font-size:12px;color:#0f766e;display:inline-flex;align-items:center;gap:6px}.imgmatch-spinner{display:inline-block;width:12px;height:12px;border:2px solid rgba(15,118,110,.25);border-top-color:#0f766e;border-radius:50%;animation:imgmatch-spin .8s linear infinite}@keyframes imgmatch-spin{to{transform:rotate(360deg)}}.imgmatch-progressbar{height:3px;background:#e2e8f0;overflow:hidden}.imgmatch-progressbar-fill{height:100%;background:linear-gradient(90deg,#0f766e,#16a34a);transition:width .25s ease-out}.imgmatch-save-hint{font-size:13px;color:#0f766e}.imgmatch-save-hint.saved{color:#166534}.imgmatch-save-hint.error{color:#991b1b}.imgmatch-body{flex:1;display:grid;grid-template-columns:280px 1fr;min-height:0}.imgmatch-body.with-pdf{grid-template-columns:minmax(420px,42%) 220px 1fr}.imgmatch-list{border-right:1px solid #e2e8f0;overflow-y:auto;background:#f8fafc}.imgmatch-filter{display:flex;gap:4px;padding:8px;position:sticky;top:0;background:#f8fafc;border-bottom:1px solid #e2e8f0;z-index:1}.imgmatch-filter-chip{flex:1;padding:4px 6px;font-size:11px;border:1px solid #cbd5e1;background:#fff;border-radius:4px;cursor:pointer;color:#475569;white-space:nowrap}.imgmatch-filter-chip:hover{border-color:#94a3b8}.imgmatch-filter-chip.active{background:#0f172a;color:#fff;border-color:#0f172a}.imgmatch-filter-empty{padding:24px 12px;font-size:12px;text-align:center;color:#94a3b8}.imgmatch-upload-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#475569;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.imgmatch-upload-status.error{color:#991b1b}.imgmatch-upload-status.done{color:#166534}.imgmatch-optchk{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#475569;cursor:pointer;padding:2px 6px;border-radius:4px}.imgmatch-optchk:hover{background:#f1f5f9}.imgmatch-optchk input{margin:0;cursor:pointer}.imgmatch-skip-btn{padding:4px 10px;font-size:11px;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:4px;cursor:pointer}.imgmatch-skip-btn:hover{border-color:#94a3b8}.imgmatch-skip-btn.active{background:#fef3c7;color:#92400e;border-color:#fbbf24}.imgmatch-header-info{flex:1;min-width:0}.imgmatch-query-form{display:flex;align-items:center;gap:6px;margin-top:8px;flex-wrap:wrap}.imgmatch-query-input{flex:1;min-width:240px;padding:4px 8px;font-size:12px;border:1px solid #cbd5e1;border-radius:4px}.imgmatch-query-input:focus{outline:none;border-color:#0f172a}.imgmatch-query-form button[type=submit]{padding:4px 10px;font-size:12px}.imgmatch-query-hint{font-size:11px;color:#64748b;font-style:italic}.imgmatch-matched-preview{display:flex;gap:16px;align-items:center;padding:12px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;margin-bottom:16px}.imgmatch-matched-preview img{max-width:220px;max-height:220px;object-fit:contain;border-radius:4px;background:#fff}.imgmatch-matched-clickable{cursor:zoom-in;transition:transform .08s ease}.imgmatch-matched-clickable:hover{transform:scale(1.02)}.imgmatch-lightbox-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#000;display:flex;align-items:center;justify-content:center;cursor:zoom-out;padding:24px}.imgmatch-lightbox-img{max-width:95vw;max-height:95vh;object-fit:contain;box-shadow:0 8px 32px #00000080;cursor:default}.imgmatch-lightbox-close{position:fixed;top:16px;right:16px;width:40px;height:40px;padding:0;font-size:24px;line-height:1;background:#ffffff26;color:#fff;border:0;border-radius:50%;cursor:pointer}.imgmatch-lightbox-close:hover{background:#ffffff4d}.crop-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10010;background:#0f172ad9;display:flex;align-items:stretch;justify-content:center;padding:24px}.crop-editor{background:#1e293b;border-radius:8px;display:flex;flex-direction:column;flex:1;min-width:0;max-width:1400px;box-shadow:0 10px 40px #00000080;overflow:hidden}.crop-editor-header{padding:10px 16px;background:#0f172a;color:#fff;border-bottom:1px solid #334155}.crop-editor-title{font-weight:600;font-size:14px}.crop-editor-hint{font-size:11px;color:#94a3b8;margin-top:2px}.crop-editor-canvas-wrap{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:12px;background-color:#cbd5e1;background-image:linear-gradient(45deg,#94a3b8 25%,transparent 25%),linear-gradient(-45deg,#94a3b8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#94a3b8 75%),linear-gradient(-45deg,transparent 75%,#94a3b8 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;overflow:hidden}.crop-editor-canvas{max-width:100%;max-height:100%;object-fit:contain;display:block;background:transparent;-webkit-user-select:none;user-select:none}.crop-editor-cursor{position:absolute;pointer-events:none;border:1.5px solid #f87171;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #fff9}.crop-editor-controls{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#0f172a;border-top:1px solid #334155;flex-wrap:wrap}.crop-editor-controls button{background:#334155;color:#f1f5f9;border:1px solid #475569;padding:5px 12px;font-size:13px;border-radius:4px;cursor:pointer}.crop-editor-controls button:hover:not(:disabled){background:#475569}.crop-editor-controls button:disabled{opacity:.4;cursor:not-allowed}.crop-editor-controls button.primary{background:#f59e0b;color:#fff;border-color:#d97706}.crop-editor-controls button.primary:hover:not(:disabled){background:#d97706}.crop-editor-brush{display:inline-flex;align-items:center;gap:8px;color:#e2e8f0;font-size:12px}.crop-editor-brush input[type=range]{width:160px}.crop-editor-brush-size{font-family:ui-monospace,Menlo,monospace;font-size:11px;color:#cbd5e1;min-width:42px}.imgmatch-matched-info{flex:1;min-width:0}.imgmatch-matched-nopreview{width:140px;height:140px;display:flex;align-items:center;justify-content:center;background:#fff;color:#94a3b8;font-size:11px;text-align:center;padding:8px;border:1px dashed #cbd5e1;border-radius:4px}.imgmatch-matched-label{font-size:11px;font-weight:600;color:#166534;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.imgmatch-matched-info code{background:#fff;padding:2px 8px;border-radius:3px;font-size:12px;word-break:break-all}.imgmatch-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172abf;display:flex;align-items:center;justify-content:center;z-index:100;padding:24px}.imgmatch-modal{background:#fff;border-radius:8px;max-width:720px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 40px #0000004d}.imgmatch-modal-img{width:100%;max-height:60vh;object-fit:contain;background:#0f172a;display:block}.imgmatch-modal-info{padding:16px 20px;display:flex;flex-direction:column;gap:8px}.imgmatch-modal-prod{font-size:14px;color:#0f172a}.imgmatch-modal-filename{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:#475569;word-break:break-all}.imgmatch-modal-meta{display:flex;gap:12px;font-size:12px;color:#64748b;flex-wrap:wrap}.imgmatch-modal-tags{color:#94a3b8}.imgmatch-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.imgmatch-modal-actions button.primary{background:#16a34a;color:#fff;border-color:#16a34a}.imgmatch-modal-actions button.primary:hover:not(:disabled){background:#15803d;border-color:#15803d}.imgmatch-custom-strip{margin-bottom:16px;padding:10px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px}.imgmatch-custom-title{font-size:11px;font-weight:600;color:#1e40af;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;justify-content:space-between;gap:12px}.imgmatch-custom-toggle{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:500;text-transform:none;letter-spacing:0;color:#475569;cursor:pointer}.imgmatch-custom-toggle input{margin:0;cursor:pointer}.imgmatch-custom-scroller{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.imgmatch-custom-card{position:relative;flex:0 0 110px;background:#fff;border:2px solid #bfdbfe;border-radius:5px;overflow:hidden}.imgmatch-custom-card.picked{border-color:#16a34a;box-shadow:0 0 0 2px #bbf7d0}.imgmatch-custom-pick{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.imgmatch-custom-pick img{width:100%;aspect-ratio:1 / 1;object-fit:cover;display:block}.imgmatch-custom-name{padding:4px 6px;font-size:10px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imgmatch-custom-del{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#0f172ab3;color:#fff;font-size:13px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.imgmatch-custom-del:hover{background:#991b1b}.imgmatch-tabs{display:flex;gap:0;border-bottom:2px solid #e2e8f0;margin-bottom:12px}.imgmatch-tab{position:relative;padding:8px 16px;font-size:13px;font-weight:500;color:#475569;background:transparent;border:0;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.imgmatch-tab:hover{color:#0f172a;background:#f8fafc}.imgmatch-tab.active{color:#0f172a;border-bottom-color:#0f172a}.imgmatch-tab.stock.active{color:#92400e;border-bottom-color:#f59e0b}.imgmatch-tab-count{display:inline-block;min-width:18px;padding:0 5px;font-size:10px;font-weight:600;text-align:center;border-radius:9px;background:#e2e8f0;color:#475569}.imgmatch-tab.active .imgmatch-tab-count{background:#0f172a;color:#fff}.imgmatch-tab.stock.active .imgmatch-tab-count{background:#f59e0b;color:#fff}.imgmatch-stock-strip{margin-bottom:16px;padding:10px 12px;background:#fffbeb;border:1px solid #fde68a;border-radius:6px}.imgmatch-stock-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.imgmatch-stock-title{font-size:11px;font-weight:600;color:#92400e;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.imgmatch-stock-input{flex:1;min-width:0;padding:4px 8px;font-size:13px;border:1px solid #d4d4d8;border-radius:4px}.imgmatch-stock-error,.imgmatch-stock-warn{font-size:12px;padding:6px 8px;border-radius:4px;margin-bottom:8px}.imgmatch-stock-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.imgmatch-stock-warn{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.imgmatch-stock-empty{display:flex;align-items:center;justify-content:center;padding:16px;color:#78716c;font-size:12px}.imgmatch-stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.imgmatch-stock-card{padding:0;border:2px solid #fde68a;background:#fff;border-radius:5px;overflow:hidden;cursor:pointer;text-align:left}.imgmatch-stock-card:hover{border-color:#f59e0b}.imgmatch-stock-thumb{position:relative;aspect-ratio:1 / 1;overflow:hidden}.imgmatch-stock-thumb img{width:100%;height:100%;object-fit:cover;display:block}.imgmatch-stock-badge{position:absolute;top:4px;right:4px;font-size:9px;font-weight:700;letter-spacing:.03em;padding:2px 6px;border-radius:3px;color:#fff;text-transform:uppercase}.imgmatch-stock-badge.pexels{background:#05a081}.imgmatch-stock-badge.pixabay{background:#2ec66a}.imgmatch-stock-badge.on-custom{right:auto;left:4px;pointer-events:none}.imgmatch-stock-photog{padding:3px 6px;font-size:10px;color:#44403c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imgmatch-list-item{display:block;width:100%;text-align:left;padding:8px 12px;background:transparent;border:0;border-bottom:1px solid #e2e8f0;cursor:pointer;font-size:13px}.imgmatch-list-item:hover{background:#f1f5f9}.imgmatch-list-item.matched{background:#f0fdf4;border-left:3px solid #16a34a}.imgmatch-list-item.matched .imgmatch-list-name{color:#166534}.imgmatch-list-item.matched .imgmatch-list-meta{color:#15803d}.imgmatch-list-item.skipped{background:#fef3c7;border-left:3px solid #f59e0b}.imgmatch-list-item.skipped .imgmatch-list-name{color:#92400e}.imgmatch-list-item.skipped .imgmatch-list-meta{color:#b45309}.imgmatch-list-item.active{background:#dbeafe;border-left-color:#2563eb}.imgmatch-list-item.active.matched{background:#bbf7d0}.imgmatch-list-item.active.skipped{background:#fde68a}.imgmatch-list-code{display:inline-block;padding:1px 6px;margin-right:6px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:11px;font-weight:800;letter-spacing:.02em;background:#0f172a;color:#f8fafc;border-radius:3px;vertical-align:1px}.imgmatch-list-item.active .imgmatch-list-code{background:#1d4ed8;color:#f8fafc}.imgmatch-list-item.matched .imgmatch-list-code{background:#15803d;color:#f0fdf4}.imgmatch-list-item.skipped .imgmatch-list-code{background:#b45309;color:#fffbeb}.imgmatch-header-code{display:inline-block;padding:2px 8px;margin-right:8px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:800;letter-spacing:.02em;background:#0f172a;color:#f8fafc;border-radius:4px;vertical-align:2px}.imgmatch-list-name{font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imgmatch-list-meta{font-size:11px;color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imgmatch-candidates{overflow-y:auto;padding:16px}.imgmatch-candidates-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}.imgmatch-desc{font-size:12px;color:#64748b;margin-top:2px}.imgmatch-current{font-size:12px;color:#475569}.imgmatch-current code{background:#f1f5f9;padding:1px 6px;border-radius:3px;font-size:11px}.imgmatch-current .link-btn{margin-left:6px;background:transparent;border:0;color:#3730a3;cursor:pointer;font-size:11px;padding:0}.imgmatch-empty{padding:40px;text-align:center;color:#94a3b8;font-size:13px}.imgmatch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.imgmatch-card{display:flex;flex-direction:column;background:#fff;border:2px solid #e2e8f0;border-radius:6px;padding:0;cursor:pointer;overflow:hidden;text-align:left;transition:border-color .1s}.imgmatch-card:hover{border-color:#94a3b8}.imgmatch-card.picked{border-color:#16a34a;box-shadow:0 0 0 2px #bbf7d0}.imgmatch-card-thumb{aspect-ratio:1 / 1;background:#f1f5f9;display:flex;align-items:center;justify-content:center;overflow:hidden}.imgmatch-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}.imgmatch-card-nothumb{color:#cbd5e1;font-size:20px}.imgmatch-card-meta{padding:6px 8px;font-size:11px;line-height:1.3}.imgmatch-card-score{font-weight:600;color:#0f766e;margin-bottom:2px}.imgmatch-card-name{color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imgmatch-card-tags{color:#64748b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-help-btn{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;background:#2563eb;color:#fff;border:none;font-size:22px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 6px 16px #2563eb59;z-index:500;transition:transform .15s,box-shadow .15s,background .15s}.floating-help-btn:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 8px 20px #2563eb73}.floating-help-btn:active{transform:translateY(0)}.th-help{display:inline-block;margin-left:4px;color:#94a3b8;font-size:11px;cursor:help}th.resizable:hover .th-help{color:#2563eb}.tt-anchor{display:inline-flex;align-items:center}.tt-pop{position:fixed;background:#0f172a;color:#f8fafc;font-size:12px;line-height:1.55;padding:8px 10px;border-radius:5px;box-shadow:0 6px 18px #00000038;z-index:9500;pointer-events:none;white-space:normal;word-break:normal;overflow-wrap:break-word;animation:tt-fade-in .12s ease-out}@keyframes tt-fade-in{0%{opacity:0;transform:translateY(-2px) var(--tt-flip, translateY(0))}to{opacity:1}}.help-tour-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;pointer-events:none}.help-tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);pointer-events:auto}.help-tour-backdrop.strip{inset:auto}.help-tour-spotlight{position:fixed;border-radius:8px;box-shadow:0 0 0 2px #3b82f6,0 0 0 6px #3b82f659;pointer-events:none;transition:top .2s,left .2s,width .2s,height .2s}.help-tour-spotlight.interactive{box-shadow:0 0 0 2px #22c55e,0 0 0 6px #22c55e73;animation:help-tour-pulse 1.4s ease-in-out infinite}@keyframes help-tour-pulse{0%,to{box-shadow:0 0 0 2px #22c55e,0 0 0 6px #22c55e59}50%{box-shadow:0 0 0 3px #22c55e,0 0 0 10px #22c55e80}}.help-tour-hint{margin:-4px 0 10px;padding:6px 10px;background:#ecfdf5;color:#047857;border-left:3px solid #22c55e;border-radius:4px;font-size:12px;font-weight:500}.demo-btn{background:#ecfdf5;color:#047857;border:1px dashed #10b981;padding:6px 12px;display:inline-flex;align-items:center;gap:6px;border-radius:4px;cursor:pointer;font-size:13px}.demo-btn:hover:not(:disabled){background:#d1fae5;border-style:solid}.demo-btn:disabled{opacity:.6;cursor:not-allowed}.demo-badge{background:#10b981;color:#fff;font-size:10px;padding:1px 6px;border-radius:999px;font-weight:600;letter-spacing:.3px}.demo-pill{background:#ecfdf5;color:#047857;border:1px dashed #10b981;font-size:10px;padding:1px 7px;border-radius:999px;font-weight:600;letter-spacing:.3px}.help-tour-root .help-tour-backdrop+.help-tour-spotlight{background:transparent}.help-tour-bubble{position:fixed;width:320px;max-width:calc(100vw - 16px);background:#fff;border-radius:8px;box-shadow:0 20px 40px #00000040;padding:14px 16px 12px;font-size:13px;color:#0f172a;pointer-events:auto;z-index:1}.help-tour-bubble-center{width:420px;max-width:calc(100vw - 32px)}.help-tour-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.help-tour-step{font-size:11px;color:#64748b;font-variant-numeric:tabular-nums}.help-tour-close{background:transparent;border:none;color:#94a3b8;font-size:18px;line-height:1;padding:0 4px;cursor:pointer}.help-tour-close:hover{color:#0f172a}.help-tour-title{margin:0 0 6px;font-size:15px;font-weight:600;color:#0f172a}.help-tour-body{margin:0 0 12px;font-size:13px;line-height:1.55;color:#334155;white-space:pre-wrap}.help-tour-actions{display:flex;justify-content:flex-end;gap:8px}.help-tour-actions button{font-size:12px;padding:4px 12px}.help-tour-actions button.primary{background:#2563eb;color:#fff;border-color:#2563eb}.help-tour-actions button.primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}
