.lf-rule-editor{container-type:inline-size;container-name:lf-rule-editor}.lf-rule-editor__body{display:grid;min-height:0;flex:1 1 auto;overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(9rem,1fr) minmax(0,12rem) auto;grid-template-areas:"main" "aside" "result"}.lf-rule-editor--embedded .lf-rule-editor__body{height:min(34rem,62dvh);max-height:min(34rem,62dvh)}@container lf-rule-editor (min-width: 26rem){.lf-rule-editor__body{grid-template-columns:minmax(0,1fr) 12.5rem;grid-template-rows:minmax(0,1fr) minmax(8.5rem,11rem);grid-template-areas:"main aside" "result result"}.lf-rule-editor--embedded .lf-rule-editor__body{grid-template-rows:minmax(0,1fr) auto}.lf-rule-editor__main{border-bottom:none;border-right:1px solid var(--color-border)}.lf-rule-editor__aside{border-top:none;border-left:none}}.lf-rule-editor__main{grid-area:main;border-bottom:1px solid var(--color-border)}.lf-rule-editor__aside,.lf-rule-editor__main{display:flex;min-height:0;flex-direction:column}.lf-rule-editor__aside{grid-area:aside;overflow:hidden;background:rgb(248 250 252/.92);border-top:1px solid var(--color-border)}.lf-rule-editor__aside-head{flex-shrink:0;padding:.5rem;border-bottom:1px solid var(--color-border);background:rgb(248 250 252/.98)}.lf-rule-editor__aside-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:.5rem}.lf-rule-editor__result{grid-area:result;flex-shrink:0;min-height:0;display:flex;flex-direction:column}.lf-rule-editor__diagnostics{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;border-top:1px solid var(--color-border);background:rgb(248 250 252/.5)}.lf-rule-editor__diagnostics-tabs{display:flex;flex-wrap:wrap;gap:.25rem;padding:.35rem .5rem;border-bottom:1px solid var(--color-border);background:var(--color-surface)}.lf-rule-editor__diagnostics-body{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}.lf-rule-editor__diagnostics-body>div:first-child{border-top:none}.lf-rule-editor__diag-panel{padding:.5rem .75rem}.lf-rule-editor__values-table{width:100%;border-collapse:collapse;font-size:.75rem}.lf-rule-editor__values-table td,.lf-rule-editor__values-table th{border:1px solid var(--color-border);padding:.25rem .5rem;text-align:left}.lf-rule-editor__values-table th{background:rgb(248 250 252);font-weight:600;color:var(--color-muted)}.lf-rule-editor__steps-list{margin:0;padding:.5rem .75rem;list-style:none;display:flex;flex-direction:column;gap:.35rem}.lf-rule-editor__step{display:flex;gap:.5rem;align-items:flex-start}.lf-rule-editor-highlight{background:rgba(180,83,9,.22);border-radius:2px}.lf-rule-editor-highlight-line{background:rgba(180,83,9,.06)}.lf-rule-drill{margin:0;padding:.35rem .5rem .5rem}.lf-rule-drill,.lf-rule-drill__item{list-style:none}.lf-rule-drill__row{display:flex;align-items:flex-start;gap:.25rem}.lf-rule-drill__toggle,.lf-rule-drill__toggle-spacer{flex-shrink:0;width:1.25rem;height:1.25rem;margin-top:.15rem}.lf-rule-drill__toggle{cursor:pointer;border:none;background:transparent;padding:0;display:flex;align-items:center;justify-content:center}.lf-rule-drill__chevron{font-size:.65rem;line-height:1;color:var(--color-muted)}.lf-rule-drill__btn{flex:1;min-width:0;cursor:pointer;border:none;border-radius:.375rem;background:transparent;padding:.25rem .35rem;text-align:left;transition:background-color .15s ease}.lf-rule-drill__btn:hover{background:#fff}.lf-rule-drill__btn--active{background:#fff;box-shadow:inset 0 0 0 1px var(--color-cta)}.lf-rule-drill__btn--linkable .lf-rule-drill__title{text-decoration:underline;text-decoration-color:rgba(180,83,9,.45)}.lf-rule-drill__title{display:block;font-family:ui-monospace,monospace;font-size:.75rem;font-weight:600;color:var(--color-cta)}.lf-rule-drill__subtitle{display:block;font-size:.625rem;color:var(--color-muted)}.lf-rule-drill__error{display:block;font-size:.625rem;color:#b91c1c}.lf-rule-drill__formula{display:block;margin-top:.125rem;font-family:ui-monospace,monospace;font-size:.625rem;color:var(--color-text);opacity:.85}.lf-rule-drill__kids{margin:0;padding:0;list-style:none}.lf-rule-editor__step-num{flex-shrink:0;width:1.25rem;height:1.25rem;border-radius:9999px;background:var(--color-cta-soft);color:var(--color-cta);font-size:.625rem;font-weight:700;line-height:1.25rem;text-align:center}.lf-rule-editor:not(.lf-rule-editor--embedded) .lf-rule-editor__body{flex:1 1 auto;min-height:14rem}.lf-rule-fn-tree{display:flex;flex-direction:column;gap:.125rem}.lf-rule-fn-tree__branch{display:flex;width:100%;cursor:pointer;align-items:center;gap:.375rem;border-radius:.375rem;border:none;background:transparent;padding:.375rem .5rem;text-align:left;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-muted);transition:background-color .15s ease,color .15s ease}.lf-rule-fn-tree__branch--open,.lf-rule-fn-tree__branch:hover{background:#fff;color:var(--color-text)}.lf-rule-fn-tree__chevron{flex-shrink:0;width:.5rem;height:.5rem;border-right:2px solid;border-bottom:2px solid;transform:rotate(-45deg);transition:transform .15s ease;opacity:.65}.lf-rule-fn-tree__branch--open .lf-rule-fn-tree__chevron{transform:rotate(45deg);margin-top:-.125rem}.lf-rule-fn-tree__branch-label{flex:1 1 auto;min-width:0}.lf-rule-fn-tree__count{flex-shrink:0;font-variant-numeric:tabular-nums;font-weight:500;opacity:.75}.lf-rule-fn-tree__leaves{margin:0 0 .25rem .625rem;padding:.125rem 0 .125rem .5rem;list-style:none;border-left:2px solid var(--color-border)}.lf-rule-fn-tree__leaf{display:block;width:100%;cursor:pointer;border:none;border-radius:.375rem;background:transparent;padding:.35rem .5rem;text-align:left;transition:background-color .15s ease}.lf-rule-fn-tree__leaf:hover{background:#fff}.lf-rule-fn-tree__leaf--active{background:#fff;box-shadow:inset 0 0 0 1px var(--color-cta)}.lf-rule-fn-tree__leaf-name{display:block;font-family:ui-monospace,monospace;font-size:.75rem;font-weight:600;color:var(--color-cta)}.lf-rule-fn-tree__leaf-sig{display:block;margin-top:.125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.625rem;font-weight:400;color:var(--color-muted)}@supports not (container-type:inline-size){@media (min-width:40rem){.lf-rule-editor__body{grid-template-columns:minmax(0,1fr) 12.5rem;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"main aside" "result result"}.lf-rule-editor__main{border-bottom:none;border-right:1px solid var(--color-border)}.lf-rule-editor__aside{border-top:none}}}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/plus-jakarta-sans-latin-400-normal.220db345.woff2) format("woff2"),url(/_next/static/media/plus-jakarta-sans-latin-400-normal.334d3f6b.woff) format("woff")}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/plus-jakarta-sans-latin-500-normal.698ec6c7.woff2) format("woff2"),url(/_next/static/media/plus-jakarta-sans-latin-500-normal.ffc438f2.woff) format("woff")}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/plus-jakarta-sans-latin-600-normal.226f862d.woff2) format("woff2"),url(/_next/static/media/plus-jakarta-sans-latin-600-normal.2b3be788.woff) format("woff")}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/plus-jakarta-sans-latin-700-normal.d84247b5.woff2) format("woff2"),url(/_next/static/media/plus-jakarta-sans-latin-700-normal.2eba9731.woff) format("woff")}