/* Original SellBridge attribute workspace. Scoped presentation; native forms only. */
.am-workspace{--am-blue:#2452f5;--am-ink:#152744;--am-line:#d5dfef;--am-muted:#64748e;display:grid;gap:16px;max-width:1450px;margin:auto;color:var(--am-ink)}
.am-workspace .panel{min-width:0;margin-bottom:0;border:1px solid var(--am-line);border-radius:12px;box-shadow:0 2px 5px #122a4a03}.am-workspace .panel-head{padding:16px 18px;align-items:flex-start;border-bottom:1px solid #e4eaf5;gap:12px}.am-workspace .panel-body{padding:18px}.am-workspace h2{font-size:18px;font-weight:750;letter-spacing:-.4px;line-height:1.35}.am-workspace .panel-head p{margin:4px 0 0;color:var(--am-muted);font-size:12px;line-height:1.6}
.am-workspace svg{width:18px;height:18px;flex:0 0 18px;vertical-align:middle}.am-workspace label{display:grid;gap:7px;min-width:0;font-size:12px;font-weight:550;line-height:1.5;color:#354b6b}.am-workspace input:not([type=checkbox]),.am-workspace select{width:100%;min-width:0;min-height:37px;padding:8px 11px;border:1px solid #cbd7e9;border-radius:7px;background:#fff;color:#213858;font:inherit;font-size:12px}.am-workspace button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid #cbd7e9;border-radius:7px;background:#fff;color:var(--am-ink);font-size:12px;line-height:1.4;font-weight:600;white-space:normal}.am-workspace button:hover{border-color:#94adfa;background:#f4f7ff}.am-workspace .primary{background:var(--am-blue);color:#fff;border-color:var(--am-blue);box-shadow:0 2px 4px #2452f515}.am-workspace .primary:hover{background:#1944df;color:#fff}.am-workspace .am-outline{border-color:#9db3ff;color:#204de1}.am-workspace .danger{border-color:#f0c3ca;color:#b62b3e}.am-workspace button:disabled{opacity:1;background:#f8f9fc;border-color:#e5eaf3;color:#929eb3;box-shadow:none;cursor:not-allowed}
.am-context-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr) minmax(0,1.05fr);gap:16px;align-items:end}.am-market-context{display:flex;align-items:center;gap:9px;min-height:37px;padding:8px 12px;border:1px solid #d5dfef;border-radius:7px;background:#f6f8fc;font-size:12px;font-weight:650;color:#203755}.am-flag{display:inline-block;width:22px;height:16px;flex:0 0 22px;border-radius:3px;box-shadow:0 0 0 1px #172b4812;background:linear-gradient(90deg,#102a88 33.33%,#ffdc34 33.33% 66.66%,#ed3448 66.66%)}.am-flag-hu{background:linear-gradient(#d72742 33.33%,#fff 33.33% 66.66%,#07975d 66.66%)}.am-flag-bg{background:linear-gradient(#fff 33.33%,#07975d 33.33% 66.66%,#d72742 66.66%)}
.am-context-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.am-connection-state{display:inline-flex;align-items:center;gap:6px;background:#edf1f7;color:#4c5f7a;padding:5px 9px;border-radius:7px;font-size:11px;line-height:1.4}.am-connection-state svg{width:14px;height:14px;flex-basis:14px}.am-connection-missing{background:#fff3d9;color:#835911}.am-text-link{display:inline-flex;align-items:center;gap:6px;color:#2451dd;font-size:12px;text-decoration:underline;text-underline-offset:2px}.am-context-actions .primary{margin-left:auto}.am-prerequisite{display:flex;align-items:center;gap:8px;color:#856317;background:#fff8e9;border:1px solid #f0e1bf;border-radius:7px;padding:9px 11px;margin:14px 0 0;font-size:12px;line-height:1.6}
.am-workspace #am-status{font-size:13px;line-height:1.6;margin:0;color:#286440;overflow-wrap:anywhere}.am-workspace #am-status:not(:empty){margin-top:13px;padding:10px 12px;border:1px solid #cee8d8;border-radius:7px;background:#eef8f2}.am-workspace #am-status.is-error{color:#a82e3d;background:#fff1f3;border-color:#f1d1d8}
.am-columns{display:grid;grid-template-columns:minmax(215px,.36fr) minmax(0,1fr);gap:16px;align-items:stretch}.am-attributes .panel-head{border-bottom:0;padding-bottom:0}.am-attributes .panel-body{padding-top:18px}.am-attributes .panel-body>label{margin-bottom:18px}.am-attribute-list{display:grid;max-height:370px;overflow-y:auto;gap:4px;padding:3px 0}.am-workspace .am-attribute-item{position:relative;width:100%;justify-content:flex-start;gap:10px;border:0;border-bottom:1px solid #e4ebf7;border-radius:0;box-shadow:none;padding:12px 10px;background:#fff;text-align:left;min-width:0}.am-attribute-item>span{min-width:0;overflow-wrap:anywhere;flex:1;font-weight:550}.am-attribute-item small{display:block;color:#7a89a1;font-size:10px;font-weight:400;margin-top:3px}.am-attribute-item b{flex:0 0 auto;font-size:10px;font-weight:600;padding:4px 6px;color:#345cb8;background:#e4edff;border-radius:5px}.am-workspace .am-attribute-item.am-selected{background:#eaf0ff;border-radius:8px;border-bottom-color:transparent;color:#1745e4}.am-attribute-item.am-selected:before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:3px;border-radius:3px;background:#2452ff;box-shadow:0 0 6px #2452ff30}.am-attribute-item.am-selected b{color:#fff;background:#5c82ed}.am-list-help{display:flex;align-items:flex-start;gap:9px;margin-top:20px;font-size:11px;line-height:1.6;color:var(--am-muted)}.am-list-help svg{width:16px;height:16px;flex-basis:16px;margin-top:1px}.am-empty-attributes{display:grid;justify-items:center;padding:25px 8px;color:var(--am-muted);font-size:12px;text-align:center;line-height:1.7}.am-empty-attributes>svg{width:30px;height:30px;color:#5779dc}
.am-editor .panel-head{align-items:flex-start;padding:14px 16px 10px;flex-wrap:wrap}.am-editor .panel-body{padding:14px 16px 16px}.am-editor .panel-head h2{font-size:18px}.am-editor .am-attribute-flags{font-size:11px}.am-api-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #b9cafa;background:#f1f5ff;color:#355690;border-radius:5px;font-size:10px;line-height:1.3;white-space:nowrap}.am-api-badge svg{width:13px;height:13px;flex-basis:13px}
.am-source-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end;margin-bottom:12px}.am-source-kinds{margin:0!important;align-self:center;font-size:10px!important}.am-mapping-flow{display:flex;align-items:center;gap:14px;padding:8px 11px;border:1px solid #e0e7f4;background:#f4f7fc;border-radius:7px;width:fit-content;max-width:100%;font-size:12px;line-height:1.5;margin-bottom:16px;overflow-wrap:anywhere}.am-mapping-flow>span,.am-mapping-flow>strong{min-width:0}.am-mapping-flow>strong{font-weight:650}
.am-value-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:10px}.am-value-filter>label{grid-template-columns:minmax(120px,.85fr) minmax(0,1.4fr);align-items:center;gap:12px}.am-input-icon{display:flex;position:relative;align-items:center;min-width:0}.am-input-icon>svg{position:absolute;left:10px;color:#71829d;pointer-events:none}.am-workspace .am-input-icon input{padding-left:34px}.am-api-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.am-api-controls>span{color:#657690;font-size:10px;margin-left:auto}.am-api-controls button{font-size:11px;min-height:31px;padding:6px 9px}.am-help{font-size:11px;line-height:1.65;color:var(--am-muted)}.am-values-count{margin:7px 0 10px;font-size:10px}
.am-table{width:100%;border-collapse:collapse;text-align:left}.am-table th,.am-table td{padding:10px 12px;border-bottom:1px solid #e4eaf6;vertical-align:middle;font-size:12px;overflow-wrap:anywhere}.am-table th{background:#f2f6fd;color:#4c607e;font-size:11px;font-weight:650;letter-spacing:0;white-space:normal}.am-table td{border-top:0}.am-value-table-wrap{border:1px solid #dce5f4;border-radius:8px;overflow:auto}.am-value-table{min-width:390px}.am-value-table th,.am-value-table td{padding:6px 8px}.am-value-table th{padding-top:9px;padding-bottom:9px}.am-value-table tr:last-child td{border-bottom:0}.am-value-table input{min-width:105px!important;min-height:31px!important;padding:5px 8px!important;border-radius:5px!important;font-size:12px!important}.am-workspace .am-arrow-cell{width:32px;text-align:center;padding-left:2px;padding-right:2px;color:#516888}.am-arrow-cell svg{width:17px;height:17px}.am-workspace .am-remove-cell{width:38px;text-align:center}.am-workspace .am-icon-button{padding:5px;min-width:28px;min-height:28px;border-radius:5px}.am-icon-button svg{width:15px;height:15px;flex-basis:15px}.am-value-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:11px 0}.am-value-actions button{font-size:11px;padding:6px 9px;min-height:31px}.am-value-actions svg{width:16px;height:16px;flex-basis:16px}.am-workspace .am-empty-values{padding:18px 12px;color:var(--am-muted);font-size:12px;line-height:1.65}
.am-info,.am-footnote{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid #d6e3fd;border-radius:7px;background:#eaf2ff;color:#274678;font-size:11px;line-height:1.55}.am-info strong{font-weight:650}.am-info small{display:block;font-size:10px;color:#617697;margin-top:2px}.am-workspace .am-confirm{display:flex;align-items:flex-start;gap:9px;line-height:1.6;margin:13px 0;font-size:12px;font-weight:400;color:#263c5c}.am-confirm input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:var(--am-blue)}.am-confirm small{display:block;color:var(--am-muted);font-size:11px;margin-top:2px}.am-save-bar{border-top:1px solid #dce4f2;padding-top:12px;display:flex;justify-content:flex-end}.am-save-bar button{font-size:12px}
.am-editor-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:360px;padding:36px}.am-empty-icon{display:grid;place-items:center;width:58px;height:58px;background:#eff4ff;color:#5579df;border-radius:16px;margin-bottom:16px}.am-empty-icon svg{width:30px;height:30px}.am-editor-empty p{font-size:13px;line-height:1.7;color:var(--am-muted);max-width:370px}.am-editor-empty>small{font-size:11px;color:var(--am-muted);line-height:1.7;max-width:350px}
.am-saved .panel-head{padding:14px 18px}.am-saved-table{min-width:650px}.am-saved-table td{font-size:12px}.am-saved-table td small{display:block;margin-top:3px;font-size:10px;color:var(--am-muted)}.am-saved-table th:nth-child(1){width:19%}.am-saved-table th:nth-child(2){width:25%}.am-saved-table th:nth-child(3){width:8%}.am-saved-table th:nth-child(4){width:20%}.am-saved-actions{display:flex;gap:8px;flex-wrap:wrap}.am-saved-actions button{min-height:29px;padding:5px 9px;font-size:11px}.am-saved-actions svg{width:14px;height:14px;flex-basis:14px}.am-rule-state{display:inline-flex;padding:4px 8px;border-radius:5px;font-size:11px;background:#edf1f7;color:#52627c;line-height:1.4}.am-rule-stale{background:#fff3d6;color:#896011}.am-workspace .am-no-rules{text-align:center;padding:20px;color:var(--am-muted);font-size:12px}
.am-footnote{padding:13px 15px;border-color:#bdcef8;background:#eef4ff;font-size:12px}.am-footnote strong{font-weight:650}.am-footnote small{display:block;margin-top:4px;font-size:11px;color:#5b7195}.am-footnote a{color:inherit;font-weight:600}.am-workspace :focus-visible{outline:2px solid #3159ed;outline-offset:3px}.am-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1300px) and (min-width:901px){.am-columns{grid-template-columns:1fr}.am-attribute-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px}.am-context-grid{grid-template-columns:1fr}.am-context-actions .primary{margin-left:0}.am-value-filter>label{grid-template-columns:1fr}}
@media(max-width:900px){.am-columns{grid-template-columns:1fr}.am-attribute-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:230px}.am-context-actions .primary{margin-left:0}.am-value-filter>label{grid-template-columns:1fr}}
@media(max-width:600px){.am-context-grid,.am-source-controls,.am-value-filter{grid-template-columns:1fr}.am-attribute-list{grid-template-columns:1fr}.am-context-actions{gap:10px}.am-context-actions>button{flex:1 1 180px}.am-context-actions>.am-connection-state{flex-basis:100%}.am-workspace .panel-body{padding:14px}.am-workspace .panel-head{padding:14px}.am-editor .panel-head h2{font-size:16px}.am-api-controls>span{margin-left:0;flex-basis:100%}.am-value-actions>button{flex:1 1 140px}.am-save-bar>button{width:100%}.am-editor-empty{padding:25px;min-height:260px}}
