.ae-library{--acl-accent:#1677ff;--acl-text:#243247;--acl-muted:#52647a;--acl-border:#e4eaf2;min-width:0;color:var(--acl-text)}
.ae-library *{box-sizing:border-box}.ae-library .panel{padding:24px;margin-bottom:18px;min-width:0}.ae-library-header{display:flex;justify-content:space-between;align-items:center;gap:24px}.ae-library-header h2{font-size:25px;margin:8px 0 10px}.ae-library-header p{font-size:14px;color:var(--acl-muted);margin:0;line-height:1.7}.ae-library-totals{display:flex;gap:28px;flex-shrink:0}.ae-library-totals span{display:grid;gap:7px;font-size:12px;color:var(--acl-muted);text-align:center}.ae-library-totals b{font-size:28px;color:var(--acl-text);line-height:1.1}.ae-library-guide{font-size:13px;line-height:1.75;color:var(--acl-muted)}.ae-library-guide p{margin:0 0 6px}.ae-library-guide p:last-child{margin-bottom:0}.ae-library-guide strong{color:var(--acl-text)}
.ae-library-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.ae-library-tabs{display:flex;border:1px solid var(--acl-border);padding:3px;border-radius:8px;align-self:end;max-width:100%;flex-wrap:wrap}.ae-library-tabs button{border:0;background:transparent;border-radius:5px;min-height:44px;padding:8px 14px;color:var(--acl-muted);font-size:13px;cursor:pointer}.ae-library-tabs button[aria-pressed=true]{background:#eaf3ff;color:#0859bb;font-weight:600}.ae-library-search{flex:1;min-width:min(250px,100%)}.ae-library-label{display:block;font-size:12px;color:var(--acl-muted);margin-bottom:6px}.ae-library input,.ae-library select{min-height:46px;width:100%;border:1px solid #c8d3e0;border-radius:7px;background:#fff;color:var(--acl-text);padding:10px 12px;font-size:13px;max-width:100%}.ae-library-origin{width:160px}.ae-library .btn{min-height:44px;font-size:13px;cursor:pointer}.ae-library button:focus-visible,.ae-library input:focus-visible,.ae-library select:focus-visible,.ae-library summary:focus-visible{outline:3px solid var(--acl-accent);outline-offset:3px}.ae-library-result-count{color:var(--acl-muted);font-size:13px;padding:18px 0 14px}.ae-library-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:start}.ae-library-card{border:1px solid var(--acl-border);border-top:15px solid #f0f2f5;border-bottom:15px solid #f0f2f5;border-radius:10px;padding:12px;min-width:0;background:#eef4fb}.ae-library-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.ae-library-kind{font-size:12px;color:var(--acl-muted)}.ae-library-status{font-size:12px;line-height:1.5;padding:4px 8px;border-radius:20px;color:#075c31;background:#e6f7ee;white-space:nowrap}.ae-library-status[data-origin=platform]{color:#1654a0;background:#eaf3ff}.ae-library-card h3{font-size:16px;margin:16px 0 8px}.ae-library-card p{font-size:13px;line-height:1.8;color:var(--acl-muted);margin:0 0 10px;overflow-wrap:anywhere}.ae-library-card details{border-top:1px solid var(--acl-border);margin-top:14px;padding-top:4px}.ae-library-card summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:13px;color:#0859bb}.ae-library-card details .btn{max-width:100%;white-space:normal}.ae-library-note{padding-top:8px}.ae-library-empty{padding:50px 16px;text-align:center;background:#f7f9fc;border-radius:8px}.ae-library-empty h3{font-size:17px}.ae-library-empty p{font-size:13px;color:var(--acl-muted)}
.ae-library-demo{height:82px;display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;border-radius:7px;margin-top:14px;padding:16px;overflow:hidden;color:#64748b;font-size:12px;pointer-events:none;user-select:none}.ae-library-demo b{display:block;font-size:13px;color:#334155;margin-bottom:7px}.ae-library-demo svg{width:100%;max-width:120px;height:52px;fill:#e2edfa;stroke:#8caed6;stroke-width:2}.ae-library-demo svg circle{fill:#8caed6;stroke:none}.ae-library-sample-button,.ae-library-sample-outline{padding:8px 18px;border-radius:5px;background:#1677ff;color:white;white-space:nowrap}.ae-library-sample-outline{background:white;color:#52647a;border:1px solid #cfdbeb}.ae-library-sample-input{width:100%;padding:10px;border:1px solid #cfdbeb;border-radius:5px;background:white}.ae-library-sample-input span{float:right}.ae-library-sample-switch{width:36px;height:22px;border-radius:30px;background:#1677ff;position:relative}.ae-library-sample-switch:after{content:'';position:absolute;right:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white}.ae-library-sample-check{background:#1677ff;color:white;border-radius:4px;padding:1px 4px}.ae-library-sample-radio{width:18px;height:18px;border-radius:50%;border:5px solid #1677ff;background:white}.ae-library-sample-progress{width:100%;height:8px;border-radius:8px;background:#dbe7f7;overflow:hidden}.ae-library-sample-progress i{display:block;width:64%;height:100%;background:#1677ff}.ae-library-sample-tab{color:#0859bb;border-bottom:2px solid #1677ff;padding-bottom:8px}.ae-library-sample-product{width:50px;height:50px;background:#dce9f8;border-radius:6px;flex-shrink:0}.ae-library-sample-price{color:#c43e3e}.ae-library-sample-avatar{width:44px;height:44px;border-radius:50%;background:#dce9f8;flex-shrink:0}.ae-library-sample-grid{display:grid;grid-template-columns:repeat(4,24px);gap:9px}.ae-library-sample-grid i{width:24px;height:24px;background:#dce9f8;border-radius:4px}.ae-library-sample-lines{width:100%}.ae-library-sample-lines span{display:block;height:6px;background:#dce5f0;border-radius:3px;margin:7px 0;max-width:100%}.ae-library-sample-lines span:last-child{width:70%}.ae-library-sample-banner{width:100%;padding:15px;text-align:center;background:#e1edff;border-radius:5px;color:#1654a0;font-weight:600}
@media(max-width:1150px){.ae-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-library-header{align-items:start}.ae-library-totals{gap:16px}.ae-library-header h2{font-size:22px}}@media(max-width:720px){.ae-library-grid{grid-template-columns:1fr}.ae-library-header{flex-direction:column}.ae-library .panel{padding:16px}.ae-library-toolbar{align-items:stretch}.ae-library-search{flex-basis:100%}.ae-library-origin{flex:1;min-width:0}.ae-library-totals{gap:32px}}

.ae-library-progress{margin:12px 0 0;font-size:12px;line-height:1.65}.ae-library-progress>div{display:grid;grid-template-columns:26px minmax(0,1fr);gap:6px;margin:5px 0}.ae-library-progress dt{color:var(--acl-muted)}.ae-library-progress dd{margin:0;color:var(--acl-text);overflow-wrap:anywhere}.ae-library-card .ae-library-verification{font-size:12px;color:var(--acl-muted);padding:8px;background:#fff;border-radius:6px}
.tp-editor .tp-notice{padding:8px 12px;margin-bottom:12px;color:#52647a;background:#f5f8fc;font-size:13px}.tp-editor .ahb-workbench{height:720px;min-width:0}.tp-editor .ahb-components-pane,.tp-editor .ahb-settings-pane{overflow:auto}.tp-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #dbe3ed}.tp-components{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.tp-components p{grid-column:1/-1;color:#6b7d91}.tp-component,.tp-preview-block{border:1px solid #dbe3ed;background:#fff;border-radius:6px;padding:12px;color:#243247;cursor:pointer}.tp-component.selected,.tp-preview-block.selected{border-color:#1677ff;color:#1677ff;background:#eef5ff}.tp-phone{width:min(390px,100%);min-height:650px;margin:20px auto;background:#fff;box-shadow:0 12px 38px #0f172a1f;border:1px solid #d8dee8}.tp-phone>header{padding:20px;text-align:center;font-weight:600}.tp-phone-content{padding:8px}.tp-phone-content>p{text-align:center;color:#7b8ca0;padding:40px 12px}.tp-preview-block{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:8px;text-align:left;min-height:62px}.tp-preview-block span{font-size:12px;color:#77879b}.tp-settings-title{border-left:4px solid #1677ff;padding:4px 10px;font-weight:600}.tp-settings-pane p,.tp-editor .ahb-settings-pane p{line-height:1.7;color:#52647a}.tp-overlay{position:fixed;inset:0;z-index:1100;background:#0008;display:grid;place-items:center;padding:24px}.tp-dialog{width:min(1100px,100%);max-height:85vh;display:flex;flex-direction:column;background:#fff;border-radius:8px;padding:20px;box-shadow:0 12px 50px #0003}.tp-dialog header{display:flex;justify-content:space-between;align-items:center}.tp-dialog header h2{font-size:18px;margin:0}.tp-dialog-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0}.tp-dialog-filters>div{display:flex;gap:6px}.tp-dialog-filters label{display:flex;gap:8px;align-items:center}.tp-dialog-filters input{height:40px;padding:8px;border:1px solid #dbe3ed;border-radius:6px}.tp-choices{overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;align-content:start}.tp-choice{display:grid;gap:6px;text-align:left;padding:12px;background:#fff;border:1px solid #dbe3ed;border-radius:6px;cursor:pointer}.tp-choice:hover,.tp-choice:focus-visible{border-color:#1677ff;background:#eef5ff}.tp-choice span{font-size:12px;color:#52647a;line-height:1.5}@media(max-width:800px){.tp-editor .ahb-workbench{height:auto}.tp-editor .ahb-preview-pane{min-height:500px}.tp-editor .ahb-settings-pane{min-height:180px}}

[data-component-picker] .tp-choice:disabled{opacity:.62;cursor:not-allowed}
