/*
 * SaaS Motion Pro — css/tools/expressions.css
 * © 2026 Sabbir Hossen — SaaS Motion Pro. All rights reserved.
 */
.expr-list { display: flex; flex-direction: column; gap: 6px; }
.expr-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.expr-item.open { border-color: var(--accent-line); }
.expr-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: transparent; text-align: left; color: var(--text); }
.expr-head:hover { background: var(--hover); }
.expr-head b { display: block; font-size: 12.5px; font-weight: 600; }
.expr-head small { display: block; font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expr-item.open .expr-head small { display: none; }
.expr-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--accent-soft); color: var(--accent-hi); }
.expr-ic svg { width: 14px; height: 14px; }
.app.w-xs .expr-head .badge { display: none; }
.expr-detail { display: flex; flex-direction: column; gap: 10px; padding: 4px 10px 12px; }
.expr-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px 10px; }
.expr-param-wide { grid-column: 1 / -1; }
.expr-code summary { cursor: pointer; font-size: 11px; color: var(--text-3); }
.expr-code pre { margin: 6px 0 0; padding: 8px; max-height: 220px; overflow: auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); font: 10.5px/1.45 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; user-select: text; }
