html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{background-color:#feffe6;padding:.2em}html,body,#root{background:#f3f4f6;min-height:100%;margin:0}body{color:#111827}.boot-screen{color:#4b5563;background:#f3f4f6;place-items:center;min-height:100vh;display:grid}.login-page{background:#f3f4f6;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{width:min(420px,100%)}.login-brand{align-items:center;gap:12px;margin-bottom:24px;display:flex}.login-brand h3{margin:0}.app-shell{min-height:100vh}.app-sider{border-right:1px solid #e5e7eb;height:100vh;position:sticky;top:0;background:#fff!important}.brand{border-bottom:1px solid #e5e7eb;align-items:center;gap:12px;height:72px;padding:0 20px;display:flex}.brand-mark{color:#fff;background:#111827;border-radius:8px;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.brand-title{font-size:16px;font-weight:700;line-height:20px}.brand-subtitle{color:#6b7280;font-size:12px}.app-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.header-title{font-weight:700;display:block}.header-subtitle{color:#6b7280;font-size:12px;display:block}.app-content{padding:24px}.page-stack{width:100%}.page-title h3{margin:0 0 4px}.todo-row{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px}.quick-scrape{background:#f0fdf4;border:1px solid #d1fae5;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.quick-action-grid{grid-template-columns:1fr;gap:10px;display:grid}.quick-action{min-height:66px;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;text-decoration:none;display:flex}.quick-action:hover{background:#f8fafc;border-color:#93c5fd}.quick-action-content{gap:2px;display:grid}.quick-action-icon{color:#0f766e;background:#ccfbf1;border-radius:8px;flex:none;place-items:center;width:28px;height:28px;display:grid}.bulk-action-card .ant-card-body{padding:12px 16px}.ops-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.ops-flow-step{background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:8px;padding:12px 14px;font-weight:600;display:flex}.flow-alert{margin-bottom:12px}.decision-metric{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;min-height:72px;padding:12px}.decision-metric .ant-typography{margin-bottom:8px;display:block}.health-metric{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;min-height:92px;padding:12px}.decision-batch-select{width:260px}.filter-card .ant-card-body{padding:16px}.search-input{width:320px}.filter-select{width:150px}.ops-search,.batch-select{width:220px}.owner-input{width:160px}.batch-item-select{width:130px}.number-input,.full-width{width:100%}.job-select{width:150px}.job-select-small{width:100px}.product-cell{min-width:0}.product-image,.detail-image{object-fit:cover;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;flex:none}.product-title{color:#111827;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:420px;font-weight:600;line-height:20px;display:-webkit-box;overflow:hidden}.detail-title{margin:0!important;line-height:1.35!important}.drawer-section{margin-bottom:16px}.job-log,.log-preview,.promo-text{white-space:pre-wrap;word-break:break-word;color:#374151;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.6}.log-preview{max-height:150px;overflow:auto}.log-inline{white-space:nowrap;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;display:block;overflow:hidden}.suggestion-row{border-bottom:1px solid #eef2f7;padding-bottom:10px}.suggestion-row:last-child{border-bottom:0;padding-bottom:0}.tag-block{margin-top:6px}.keyword-editor-grid{margin-bottom:16px}.keyword-editor{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:10px;min-height:154px;padding:14px;display:flex}.keyword-editor-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.keyword-tags{flex-wrap:wrap;align-content:flex-start;gap:8px 6px;min-height:64px;display:flex}.keyword-tags .ant-tag{white-space:normal;word-break:break-word;align-items:center;max-width:100%;margin-inline-end:0;line-height:20px;display:inline-flex}.keyword-tags .ant-tag-close-icon{flex:none}.keyword-tag-empty{align-self:center}.keyword-input-row{width:100%}.keyword-input-row .ant-input{min-width:0}.form-actions{justify-content:flex-start;display:flex}.rule-intent-preview{gap:8px;display:grid}.rule-intent-row{border-bottom:1px solid #e5e7eb;grid-template-columns:auto 96px minmax(0,1fr);align-items:start;gap:8px;padding:8px 0;display:grid}.rule-intent-row:last-child{border-bottom:0}@media (width<=900px){.app-sider{display:none}.app-header{flex-wrap:wrap;gap:12px;height:auto;min-height:64px;padding:12px 16px}.app-content{padding:16px}.page-title{flex-direction:column;align-items:flex-start!important}.search-input,.filter-select,.ops-search,.batch-select,.decision-batch-select,.owner-input{width:100%}.quick-scrape,.todo-row{flex-direction:column;align-items:flex-start}.ops-flow,.rule-intent-row{grid-template-columns:1fr}}
