.abui-hxl-surface{--text: var(--hxl-text, #00214d);--text-muted: var(--hxl-text-muted, #4a5568);--text-faint: var(--hxl-text-faint, #a0aec0);--bg-surface: var(--hxl-bg-surface, #ffffff);--bg-hover: var(--hxl-bg-hover, #edf3f2);--border: var(--hxl-border, #e2e8f0);--border-strong: var(--hxl-border-strong, #d1dfdc);--accent: var(--hxl-accent, #00829a);--accent-soft: var(--hxl-accent-soft, #e6f4f1);--accent-btn: var(--hxl-accent-btn, #00c49f);--shadow-sm: var( --hxl-shadow-sm, 0 1px 2px rgba(0, 33, 77, .06), 0 1px 3px rgba(0, 33, 77, .04) );--font-mono: var( --hxl-font-mono, ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace );color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.875rem;line-height:1.5}.abui-display-name{display:block;font-size:.75rem;font-weight:600;color:var(--text-muted);margin-bottom:.25rem}.abui-hxl-title{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.5rem}.abui-hxl-body{display:block}.abui-hxl-unknown{display:inline-block;padding:.125rem .5rem;border-radius:6px;border:1px dashed var(--border-strong);background:var(--bg-hover);color:var(--text-muted);font-family:var(--font-mono);font-size:.75rem}.hxl-stack{display:flex}.hxl-card{border:1px solid var(--border);border-radius:10px;padding:14px 16px;background:var(--bg-surface);box-shadow:var(--shadow-sm)}.hxl-card+.hxl-card{margin-top:.75rem}.hxl-card--accent{border-left:3px solid var(--accent);background:var(--accent-soft)}.hxl-card-title{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.5rem}.hxl-text{margin:0}.hxl-text--heading{font-size:1rem;font-weight:700;color:var(--text)}.hxl-text--body{font-size:.875rem;color:var(--text)}.hxl-text--muted{font-size:.8125rem;color:var(--text-faint)}.hxl-text--code{font-family:var(--font-mono);font-size:.8125rem;color:var(--text);background:var(--bg-hover);padding:.125rem .375rem;border-radius:4px}.hxl-field{display:flex;flex-direction:column;gap:.125rem}.hxl-field-label{font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:600}.hxl-field-value{font-size:.875rem;color:var(--text)}.hxl-separator{background:var(--border);border:none;flex-shrink:0}.hxl-separator[data-orientation=horizontal]{height:1px;width:100%;margin:.5rem 0}.hxl-separator[data-orientation=vertical]{width:1px;align-self:stretch;margin:0 .5rem}.hxl-btn{display:inline-flex;align-items:center;justify-content:center;padding:.375rem .875rem;border-radius:8px;font-size:.8125rem;font-weight:600;cursor:not-allowed;border:1px solid transparent}.hxl-btn--primary{background:var(--accent-btn);color:#fff}.hxl-btn--ghost{background:transparent;border-color:var(--border-strong);color:var(--text)}.hxl-tabs-list{display:flex;gap:.5rem;border-bottom:1px solid var(--border);margin-bottom:.75rem}.hxl-tabs-trigger{background:none;border:none;padding:.375rem .25rem;margin-bottom:-1px;font-size:.8125rem;font-weight:600;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent}.hxl-tabs-trigger:hover{color:var(--text)}.hxl-tabs-trigger[data-state=active]{color:var(--accent);border-bottom-color:var(--accent)}.hxl-accordion{display:flex;flex-direction:column;gap:.5rem}.hxl-accordion-item{border:1px solid var(--border);border-radius:8px;overflow:hidden}.hxl-accordion-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;padding:.625rem .875rem;font-size:.875rem;font-weight:600;color:var(--text);cursor:pointer;text-align:left}.hxl-accordion-trigger:hover{background:var(--bg-hover)}.hxl-accordion-chevron{color:var(--text-muted);transition:transform .2s ease}.hxl-accordion-trigger[data-state=open] .hxl-accordion-chevron{transform:rotate(180deg)}.hxl-accordion-content-inner{padding:0 .875rem .75rem}@media (prefers-reduced-motion: reduce){.hxl-accordion-chevron{transition:none}}.tile-widget{--tile-text: #16325c;--tile-muted: #5c6b82;--tile-primary: #0176d3;--tile-success: #2e844a;--tile-warning: #a86403;--tile-danger: #ba0517;--tile-border: #e5e9ef;--tile-surface: #ffffff;--tile-surface-alt: #f6f8fb;color:var(--tile-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.875rem;line-height:1.45}.tile-container{border:1px solid var(--tile-border);border-radius:12px;padding:1rem;background:var(--tile-surface)}.tile-container--borderless{border:none;padding:0;background:transparent}.tile-column,.tile-row{min-width:0}.tile-text{margin:0}.tile-text--h2{font-size:1.25rem;font-weight:600;line-height:1.2}.tile-text--h6{font-size:1rem;font-weight:700}.tile-text--body{font-size:.875rem}.tile-text--caption{font-size:.75rem;letter-spacing:.02em}.tile-text--w-semibold{font-weight:600}.tile-text--w-bold{font-weight:700}.tile-text--c-muted{color:var(--tile-muted)}.tile-text--c-primary{color:var(--tile-primary)}.tile-text--c-success{color:var(--tile-success)}.tile-text--c-warning{color:var(--tile-warning)}.tile-text--c-default{color:var(--tile-text)}.tile-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tile-primary);color:#fff;font-weight:600;flex-shrink:0;width:2.5rem;height:2.5rem;font-size:.875rem}.tile-avatar[data-size=lg]{width:3rem;height:3rem;font-size:1rem}.tile-badge{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:999px;font-size:.6875rem;font-weight:600;white-space:nowrap;background:var(--tile-surface-alt);color:var(--tile-muted);border:1px solid var(--tile-border)}.tile-badge--primary{background:#eaf4fe;color:var(--tile-primary);border-color:#cfe4fb}.tile-badge--success{background:#e6f4ea;color:var(--tile-success);border-color:#cdebd5}.tile-badge--warning{background:#fdf3e3;color:var(--tile-warning);border-color:#f6e2c0}.tile-badge--danger{background:#fdeceb;color:var(--tile-danger);border-color:#f7cfcc}.tile-icon{display:inline-flex;align-items:center;color:var(--tile-muted)}.tile-icon--primary{color:var(--tile-primary)}.tile-icon--success{color:var(--tile-success)}.tile-icon--warning{color:var(--tile-warning)}.tile-icon--danger{color:var(--tile-danger)}.tile-progress{width:100%}.tile-progress-head{display:flex;justify-content:space-between;font-size:.75rem;margin-bottom:.25rem}.tile-progress-pct{color:var(--tile-muted);font-variant-numeric:tabular-nums}.tile-progress-track{height:.5rem;border-radius:999px;background:var(--tile-surface-alt);overflow:hidden}.tile-progress[data-size=sm] .tile-progress-track{height:.375rem}.tile-progress-fill{height:100%;border-radius:999px;background:var(--tile-primary);transition:width .3s ease}.tile-progress-fill--success{background:var(--tile-success)}.tile-progress-fill--warning{background:var(--tile-warning)}.tile-progress-fill--danger{background:var(--tile-danger)}@media (prefers-reduced-motion: reduce){.tile-progress-fill{transition:none}}.tile-markdown p{margin:0 0 .5rem}.tile-markdown p:last-child{margin-bottom:0}.tile-link{color:var(--tile-primary);text-decoration:none}.tile-link:hover{text-decoration:underline}.tile-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border-radius:8px;font-size:.8125rem;font-weight:600;border:1px solid transparent;cursor:not-allowed}.tile-btn--primary{background:var(--tile-primary);color:#fff}.tile-btn--secondary{background:var(--tile-surface);border-color:var(--tile-border);color:var(--tile-text)}.tile-btn--ghost{background:transparent;border-color:var(--tile-border);color:var(--tile-text)}.tile-btn:not(:disabled){cursor:pointer}.tile-btn:not(:disabled):hover{filter:brightness(.97)}.tile-btn:not(:disabled):active{filter:brightness(.94)}.tile-table-wrap{width:100%;overflow-x:auto}.tile-table-filter{margin-bottom:.5rem;padding:.375rem .625rem;border:1px solid var(--tile-border);border-radius:8px;font-size:.8125rem;width:100%;max-width:16rem}.tile-table{width:100%;border-collapse:collapse;font-size:.8125rem}.tile-table-caption{caption-side:top;text-align:left;color:var(--tile-muted);font-size:.75rem;margin-bottom:.25rem}.tile-table th,.tile-table td{padding:.5rem .625rem;text-align:left;border-bottom:1px solid var(--tile-border);vertical-align:top}.tile-table th{color:var(--tile-muted);font-weight:600;font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em}.tile-table .align-right{text-align:right;font-variant-numeric:tabular-nums}.tile-table--striped tbody tr:nth-child(2n){background:var(--tile-surface-alt)}.tile-table--sticky thead th{position:sticky;top:0;background:var(--tile-surface);z-index:1}.tile-table-sort{background:none;border:none;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:.25rem}.tile-table-arrow{color:var(--tile-primary);font-size:.625rem}.tile-table-empty{color:var(--tile-muted);text-align:center;font-style:italic}.tile-table-pager{display:flex;align-items:center;gap:.75rem;margin-top:.5rem;font-size:.75rem;color:var(--tile-muted)}.tile-table-pager button{padding:.25rem .625rem;border:1px solid var(--tile-border);border-radius:6px;background:var(--tile-surface);cursor:pointer;font-size:.75rem}.tile-table-pager button:disabled{opacity:.5;cursor:not-allowed}.tile-callout{width:100%;border:1px solid var(--tile-border);border-left-width:3px;border-radius:8px;padding:.625rem .875rem;background:var(--tile-surface-alt)}.tile-callout-title{font-weight:600;margin-bottom:.125rem}.tile-callout-body{font-size:.8125rem;color:var(--tile-muted)}.tile-callout--success{border-left-color:var(--tile-success);background:#e6f4ea}.tile-callout--warning{border-left-color:var(--tile-warning);background:#fdf3e3}.tile-callout--danger,.tile-callout--error{border-left-color:var(--tile-danger);background:#fdeceb}.tile-callout--info,.tile-callout--primary{border-left-color:var(--tile-primary);background:#eaf4fe}.tile-unknown{display:inline-block;padding:.125rem .5rem;border-radius:6px;border:1px dashed var(--tile-border);background:var(--tile-surface-alt);color:var(--tile-muted);font-family:ui-monospace,Menlo,monospace;font-size:.75rem}.tile-separator--horizontal{height:1px;width:100%;background:var(--tile-border)}.tile-separator--vertical{width:1px;align-self:stretch;background:var(--tile-border)}.tile-field{display:flex;flex-direction:column;gap:.25rem;min-width:0}.tile-field-label{font-size:.75rem;font-weight:600;color:var(--tile-muted)}.tile-input{width:100%;box-sizing:border-box;padding:.4rem .55rem;border:1px solid var(--tile-border);border-radius:8px;background:var(--tile-surface);color:var(--tile-text);font-size:.8125rem;font-family:inherit;line-height:1.4}.tile-input:focus{outline:none;border-color:var(--tile-primary);box-shadow:0 0 0 2px #0176d326}.tile-textarea{resize:vertical;min-height:2.5rem}.tile-radio-group{display:flex;flex-wrap:wrap;gap:.75rem}.tile-radio,.tile-check{display:inline-flex;align-items:center;gap:.375rem;font-size:.8125rem;cursor:pointer}.tile-radio input,.tile-check input{accent-color:var(--tile-primary);cursor:pointer}.tile-switch{display:inline-flex;align-items:center;gap:.5rem;font-size:.8125rem;cursor:pointer}.tile-switch input{position:absolute;opacity:0;width:0;height:0}.tile-switch-track{position:relative;display:inline-block;width:2.25rem;height:1.25rem;border-radius:999px;background:var(--tile-border);transition:background .15s ease;flex-shrink:0}.tile-switch-thumb{position:absolute;top:2px;left:2px;width:1rem;height:1rem;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform .15s ease}.tile-switch input:checked+.tile-switch-track{background:var(--tile-primary)}.tile-switch input:checked+.tile-switch-track .tile-switch-thumb{transform:translate(1rem)}.tile-switch input:focus-visible+.tile-switch-track{box-shadow:0 0 0 2px #0176d34d}.tile-toast{position:fixed;right:1.25rem;bottom:1.25rem;z-index:50;max-width:22rem;padding:.75rem 2rem .75rem .875rem;border-radius:10px;border:1px solid var(--tile-border);background:var(--tile-surface);color:var(--tile-text);box-shadow:0 8px 28px #10325c2e}.tile-toast-close{position:absolute;top:.35rem;right:.5rem;border:none;background:transparent;font-size:1.1rem;line-height:1;color:var(--tile-muted);cursor:pointer}.tile-toast-event+.tile-toast-event{margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--tile-border)}.tile-toast-action{font-size:.75rem;color:var(--tile-muted);margin-bottom:.25rem}.tile-toast-action code{color:var(--tile-primary);font-weight:600}.tile-toast-payload{margin:0;max-height:12rem;overflow:auto;font-family:ui-monospace,Menlo,monospace;font-size:.72rem;line-height:1.4;white-space:pre;color:var(--tile-text)}*{box-sizing:border-box}body{margin:0;background:#f7fafc;color:#1a202c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.demo{max-width:1100px;margin:0 auto;padding:2rem 1.5rem 4rem}.demo-header h1{margin:0 0 .25rem;font-size:1.5rem}.demo-header p{margin:0;color:#4a5568;max-width:60ch}.demo-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}.demo-toolbar button{padding:.375rem .75rem;border:1px solid #cbd5e0;background:#fff;border-radius:8px;font-size:.8125rem;cursor:pointer}.demo-toolbar button.active{border-color:#00829a;background:#e6f4f1;color:#00829a;font-weight:600}.demo-toolbar button.demo-share{margin-left:auto;border-color:#00829a;background:#00829a;color:#fff;font-weight:600}.demo-config--top{border:1px solid #e2e8f0;border-radius:10px;background:#fff;padding:0 1rem .75rem;margin-bottom:1.25rem}.demo-config-body{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}@media (max-width: 800px){.demo-config-body{grid-template-columns:1fr}}.demo-pane-header{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 .5rem}.demo-pane-header h2{margin:1rem 0 0;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#718096}.demo-hint{font-size:.6875rem;color:#a0aec0}.demo-code{margin:0;padding:.875rem;background:#1a202c;color:#cbd5e0;border-radius:8px;font-size:.75rem;line-height:1.5;overflow:auto;max-height:320px}.demo-config summary{display:flex;align-items:baseline;gap:.5rem;cursor:pointer;list-style:none;margin:1rem 0 .5rem}.demo-config summary:before{content:"▸";color:#718096;font-size:.75rem}.demo-config[open] summary:before{content:"▾"}.demo-config summary h2{margin:0;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#718096}.demo-code--config{max-height:180px}.demo-inputs{width:100%;min-height:200px;padding:.875rem;border:1px solid #cbd5e0;border-radius:8px;font-family:ui-monospace,Menlo,monospace;font-size:.8125rem;line-height:1.5;resize:vertical}.demo-inputs.has-error{border-color:#e53e3e}.demo-error{color:#e53e3e;font-size:.75rem;margin:.25rem 0 0}.demo-preview{padding:1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.demo-preview--full{width:100%}.demo-ai{border:1px solid #e2e8f0;border-radius:10px;background:#fff;padding:.5rem 1rem 1rem;margin-bottom:1.25rem}.demo-ai--off{background:#f7fafc}.demo-ai code{background:#edf2f7;border-radius:4px;padding:.05rem .3rem;font-size:.8em}.demo-ai-modes{display:inline-flex;gap:2px;margin-bottom:.625rem;padding:2px;background:#edf2f7;border-radius:8px}.demo-ai-mode{padding:.3125rem .75rem;border:none;background:transparent;color:#4a5568;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer}.demo-ai-mode.active{background:#fff;color:#00829a;box-shadow:0 1px 2px #00000014}.demo-ai-mode:disabled{cursor:not-allowed;opacity:.6}.demo-ai-row{display:flex;gap:.5rem}.demo-ai-input{flex:1 1 auto;padding:.5rem .75rem;border:1px solid #cbd5e0;border-radius:8px;font-size:.875rem}.demo-ai-input:focus{outline:none;border-color:#00829a;box-shadow:0 0 0 2px #e6f4f1}.demo-ai-btn{padding:.5rem 1rem;border:1px solid #00829a;background:#00829a;color:#fff;border-radius:8px;font-weight:600;font-size:.8125rem;cursor:pointer}.demo-ai-btn:disabled{opacity:.5;cursor:not-allowed}.demo-ai-btn--stop{background:#e53e3e;border-color:#e53e3e}.demo-ai-btn--continue{background:#fff;color:#00829a}.demo-ai-paused{margin-top:.5rem}.demo-ai-examples{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.5rem}.demo-ai-chip{padding:.25rem .5rem;border:1px dashed #cbd5e0;background:#f7fafc;color:#4a5568;border-radius:999px;font-size:.6875rem;cursor:pointer}.demo-ai-chip:hover:not(:disabled){border-color:#00829a;color:#00829a}.demo-ai-log{margin:.75rem 0 0;padding:.5rem .75rem;background:#1a202c;color:#cbd5e0;border-radius:8px;font-size:.75rem;line-height:1.5;max-height:240px;overflow:auto}.demo-ai-step{display:flex;gap:.5rem;align-items:baseline;padding:.1rem 0}.demo-ai-step-icon{flex:0 0 auto;width:1rem;text-align:center;font-weight:700}.demo-ai-step-text{flex:1 1 auto;white-space:pre-wrap;word-break:break-word}.demo-ai-step--think .demo-ai-step-icon{color:#718096}.demo-ai-step--action .demo-ai-step-icon{color:#63b3ed}.demo-ai-step--observe,.demo-ai-step--observe .demo-ai-step-icon{color:#a0aec0}.demo-ai-step--commit .demo-ai-step-icon{color:#68d391}.demo-ai-step--commit .demo-ai-step-text{color:#9ae6b4}.demo-ai-step--invalid .demo-ai-step-icon,.demo-ai-step--invalid .demo-ai-step-text{color:#fc8181}.demo-ai-step--done .demo-ai-step-icon,.demo-ai-step--done .demo-ai-step-text{color:#68d391;font-weight:600}.demo-ai-step--limit .demo-ai-step-icon,.demo-ai-step--limit .demo-ai-step-text{color:#f6ad55}.demo-ai-working{display:inline-flex;align-items:center;gap:.375rem;color:#00829a}.demo-ai-spinner{display:inline-block;width:.75rem;height:.75rem;border:2px solid #b2dfe6;border-top-color:#00829a;border-radius:50%;animation:demo-ai-spin .7s linear infinite}@keyframes demo-ai-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.demo-ai-spinner{animation-duration:2s}}
