@layer components{.pw-disclosure{margin:2rem 0;border-block:1px solid var(--line,#c4c8d0);padding:1rem 0}.pw-disclosure>summary{cursor:pointer;min-height:44px;font-weight:600}.pattern-workbench{max-width:72rem;margin:2rem auto;padding:clamp(1rem,3vw,2rem);border:2px solid var(--ink,#202531);background:var(--paper,#fafbfc);color:var(--ink,#202531)}.pattern-workbench h2{font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.12}.pattern-workbench h3{font-size:max(12px,1.15rem)}.pw-reading{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.pw-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:1.5rem 0}.pw-controls[hidden],.pw-chart[hidden],.pw-link[hidden],.pw-link [hidden],.pw-chart-key[hidden]{display:none}.pw-controls label{display:flex;flex-direction:column;gap:.5rem;font-weight:600}.pw-controls select,.pw-controls input[type=range],.pw-controls button,.pw-link button,.pw-link input{min-height:44px;font:inherit;max-width:100%}.pw-controls select,.pw-link input{width:100%;border:1px solid currentColor;background:var(--paper,#fafbfc);color:inherit;padding:.5rem}.pw-controls input[type=range]{width:100%;accent-color:#2455c7}.pw-controls .pw-check{flex-direction:row;align-items:center;gap:.75rem}.pw-check input{width:1.25rem;height:1.25rem;accent-color:#2455c7}.pw-actions{display:flex;flex-wrap:wrap;gap:.5rem;grid-column:1/-1}.pw-actions button,.pw-link button{padding:.5rem .8rem;color:var(--ink,#202531);background:var(--paper,#fafbfc);border:1px solid currentColor;cursor:pointer}.pw-actions button:disabled{opacity:.55;cursor:default}.pw-controls label:has([data-pw-time]){grid-column:1/-1}.pw-chart svg{width:100%;height:auto;display:block;overflow:visible}.pw-grid{stroke:#c4c8d0;stroke-width:1}.pw-axis{font:14px IBM Plex Mono,monospace;fill:#38404e}.pw-series{stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.pw-series-0{stroke:#2455c7}.pw-series-1{stroke:#b22968}.pw-reference{stroke-width:2;stroke-dasharray:6 5}.pw-point-0{fill:#2455c7}.pw-point-1{fill:#b22968}.pw-readouts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.pw-readouts div{border-top:2px solid #2455c7;padding-top:.75rem}.pw-readouts div:nth-child(2){border-color:#b22968}.pw-readouts dt{font-weight:600}.pw-readouts dd{font:600 max(12px,1.3rem) "IBM Plex Mono",monospace;margin:.35rem 0}.pw-readouts small{display:block;font:400 max(12px,.85rem) "IBM Plex Sans",sans-serif;margin-top:.35rem}.pw-series-legend{display:flex;flex-wrap:wrap;gap:1rem}.pw-series-legend span:before{content:"";display:inline-block;width:1.3rem;border-top:3px solid #2455c7;margin-right:.4rem;vertical-align:middle}.pw-series-legend .pw-legend-1:before{border-color:#b22968}.pw-axis-caption,.pw-lens-note,.pw-chart-key,.pw-qualification{font-size:max(12px,.9rem)}.pw-details{margin-top:1rem;padding-top:1rem;border-top:1px solid #c4c8d0}.pw-details summary{min-height:44px;cursor:pointer;font-weight:600}.pw-details p{overflow-wrap:anywhere}.pw-link label{display:block;margin-top:.75rem}.pw-discovery{margin:2rem 0;padding:1.25rem;border:1px solid #c4c8d0}.pw-discovery ul{display:flex;flex-wrap:wrap;gap:1rem 2rem;padding-left:1rem}.pattern-workbench :focus-visible,.pw-disclosure>summary:focus-visible{outline:3px solid #2455c7;outline-offset:4px}@media(max-width:600px){.pw-reading,.pw-controls,.pw-readouts{grid-template-columns:1fr}.pw-actions button{flex:1 1 auto}.pattern-workbench{padding:1rem}.pw-axis{font-size:16px}}@media print{.pw-controls,.pw-link{display:none}.pw-disclosure{display:block}}}
