/*! CSS Portal — CSS Logical Properties Converter */
.lp [hidden] { display: none !important; }
.lp-card { margin-top: 16px; }
.lp-card .gt-card__head { flex-wrap: wrap; gap: 8px 14px; }
.lp-card .gt-card__head h2 { margin: 0; }
.lp-count { font-size: 12.5px; color: var(--ct-muted); }
.lp-list { margin: 0; padding: 0; list-style: none; max-height: 520px; overflow: auto; }
.lp-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 20px minmax(0, 1.2fr); gap: 6px 12px; align-items: start; margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--ct-border); }
.lp-row:last-child { border-bottom: 0; }
.lp-row.is-review { background: color-mix(in srgb, var(--ct-warn) 7%, transparent); }
.lp-row.is-off .lp-to { text-decoration: line-through; opacity: .5; }
.lp-row.is-off .lp-from { color: var(--ct-text); font-weight: 600; }
.lp-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--ct-muted); cursor: pointer; }
.lp-toggle input { width: 15px; height: 15px; margin: 0; accent-color: var(--ct-accent); }
.lp-from, .lp-to { padding: 0; font: 500 13px/1.5 var(--ct-mono); background: none; overflow-wrap: anywhere; }
.lp-from { color: var(--ct-muted); }
.lp-to { color: var(--ct-accent); }
.lp-to small { display: block; font-family: inherit; font-size: 11.5px; color: var(--ct-muted); }
.lp-arrow { color: var(--ct-muted); }
.lp-note { grid-column: 2 / -1; display: flex; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ct-warn); }
.lp-note i { flex: none; margin-top: 2px; }
@media (max-width: 760px) {
	.lp-row { grid-template-columns: minmax(0, 1fr); }
	.lp-arrow { display: none; }
	.lp-note { grid-column: 1; }
}

/* simulator */
.lp-sim { margin: 24px 0; }
.lp-sim .gt-card__head { flex-wrap: wrap; gap: 8px 14px; }
.lp-sim .gt-card__head h2 { margin: 0; }
.lp-sim__modes { margin-left: auto; }
.lp-sim__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; }
.lp-sim__box h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ct-text); }
.lp-sim__stage { box-sizing: border-box; display: flow-root; height: 170px; overflow: hidden; background: repeating-linear-gradient(45deg, var(--ct-surface-2) 0 6px, var(--ct-surface) 6px 12px); border: 1px dashed var(--ct-border-strong); border-radius: 10px; }
.lp-sim__el { box-sizing: border-box; display: grid; place-items: center; inline-size: 120px; block-size: 52px; font-size: 16px; font-weight: 600; color: #fff; background: var(--ct-accent); border-radius: 8px; box-shadow: 0 0 0 3px var(--ct-accent-soft); }
.lp-sim__box--phys .lp-sim__el { margin-left: 48px; margin-top: 20px; background: #64748b; box-shadow: 0 0 0 3px rgba(100, 116, 139, .2); }
.lp-sim__box--log .lp-sim__el { margin-inline-start: 48px; margin-block-start: 20px; }
.lp-sim__box code { display: block; margin-top: 8px; padding: 0; font: 500 12.5px/1.5 var(--ct-mono); color: var(--ct-muted); background: none; }
.lp-sim__note { margin: 0; padding: 0 16px 16px; font-size: 13.5px; line-height: 1.55; color: var(--ct-text); }
@media (max-width: 700px) { .lp-sim__grid { grid-template-columns: minmax(0, 1fr); } .lp-sim__modes { margin-left: 0; } }
