@layer properties, theme, base, components, utilities;
@layer components {
 .system-format-grid, .system-result-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0; }
 .system-format-card, .system-result { min-width:0; padding:18px; border:1px solid #dce5e3; border-radius:14px; background:#f5f9f7; overflow-wrap:anywhere; }
 .notation-guide .system-format-card h3, .notation-guide .system-result h4 { margin:0 0 10px; color:#163e33; font-size:16px; line-height:1.45; font-weight:800; }
 .notation-guide .system-format-card p, .notation-guide .system-result p { margin:0 0 12px; font-size:13px; }
 .system-format-card dl, .system-result dl { margin:0; display:grid; gap:8px; }
 .system-format-card dl>div, .system-result dl>div { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 16px; }
 .system-format-card dt, .system-result dt { color:#52645e; font-size:12px; }
 .system-format-card dd, .system-result dd { margin:0; color:#183b31; font-weight:800; font-size:15px; }
 .system-result dl>div:has(dd:empty) { display:none; }
 .system-example { min-width:0; margin-top:26px; padding:24px 0 6px; border-top:1px solid #dae3df; scroll-margin-top:90px; }
 .system-example-label { display:inline-block; color:#236e52; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
 .notation-guide .system-example h3 { margin:0 0 14px; font-size:21px; line-height:1.4; color:#183c32; }
 .system-combinations { padding:14px 16px; border-left:3px solid #31946f; background:#edf6f0; border-radius:0 10px 10px 0; overflow-wrap:anywhere; }
 .notation-guide .system-example-note { font-size:13px; color:#52645e; }
 #system-examples .notation-formula { white-space:normal; overflow-wrap:anywhere; }
 @media(max-width:600px) { .system-format-grid,.system-result-grid { grid-template-columns:1fr; } .system-format-card,.system-result { padding:16px; } .notation-guide .system-example h3 { font-size:19px; } }
}
