.rules-page{height:auto;overflow:auto;background:var(--surface)}.rules-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 4vw;border-bottom:1px solid var(--line)}.rules-header a{text-decoration:none}.rules-main{max-width:1320px;margin:auto;padding:36px 4vw 60px}.rules-main h1{font:400 34px Georgia,serif;margin:0 0 14px}.rules-main h2{font-size:20px;margin:0 0 12px}.rules-intro{max-width:70ch;color:var(--muted);font-size:15px;line-height:1.6}.rules-picker{display:flex;flex-wrap:wrap;gap:18px;margin:28px 0;padding:20px;background:var(--toolbar);border:1px solid var(--line);border-radius:8px}.rules-picker label{display:flex;flex:1;min-width:155px;flex-direction:column;gap:8px;font-size:12px}.rules-picker select{font-size:14px;min-height:40px;border:1px solid var(--line);border-radius:6px;padding:8px;background:var(--surface);color:var(--ink)}.rule-decision{margin:24px 0}.rule-decision p{max-width:80ch;color:var(--muted);font-size:14px;line-height:1.6}.zone-toggle{display:flex;align-items:center;gap:8px;margin:18px 0;font-size:13px}.rule-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rule-preview{margin:0}.rule-preview svg{width:100%;display:block;border:1px solid var(--line);border-radius:6px}.rule-preview figcaption{font-size:12px;line-height:1.5;margin-top:8px}.rules-matrix{margin-top:42px}.rules-matrix p{font-size:13px;line-height:1.6;max-width:80ch}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.rules-matrix table{border-collapse:collapse;width:100%;font-size:12px}.rules-matrix th{background:var(--toolbar);font-weight:600;text-align:left;white-space:nowrap}.rules-matrix td,.rules-matrix th{padding:10px;border-bottom:1px solid var(--line)}.rules-matrix td button{font:inherit;min-height:36px;width:100%;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}.rules-matrix td button[data-supported=true]{background:var(--selected);color:var(--ink)}.rules-matrix td button[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:1px}.rules-notes{margin-top:36px;max-width:80ch}.rules-notes li,.rules-notes p{font-size:14px;line-height:1.7;margin-bottom:8px}.rules-notes p{color:var(--muted)}@media(max-width:680px){.rules-main{padding-top:24px}.rules-main h1{font-size:28px}.rules-header{padding:16px;align-items:flex-start}.rules-header .brand{font-size:24px}.rules-header .button{font-size:12px;max-width:155px}.rules-picker{padding:14px;gap:14px}.rules-picker label{min-width:125px}.rule-previews{grid-template-columns:1fr}.rules-main h2{font-size:18px}}
