@layer components{[data-tool=knitting-calculator]{--result-h:33rem}@media (width>=64rem){[data-tool=knitting-calculator]{--result-h:28rem}}.kc[data-kc-mode=gauge] [data-kc-panel]:not([data-kc-panel~=gauge]),.kc[data-kc-mode=pattern] [data-kc-panel]:not([data-kc-panel~=pattern]),.kc[data-kc-mode=caston] [data-kc-panel]:not([data-kc-panel~=caston]),.kc[data-kc-mode=shape] [data-kc-panel]:not([data-kc-panel~=shape]),.kc[data-kc-work=round] [data-kc-flat-only],.kc:not([data-kc-rib=custom]) [data-kc-custom],.kc[data-kc-dir=dec] [data-kc-inc-only],.kc[data-kc-dir=inc] [data-kc-dec-only]{display:none}.kc .kc-modes{margin-bottom:1.5rem}.kc-modes .tool-choices{flex-wrap:wrap;gap:.5rem;width:100%;display:flex}.kc-modes .tool-choice{flex-wrap:wrap;flex:max(9rem,50% - .25rem);min-width:0;min-height:3.75rem}.kc-modes .tool-choice>span{flex:5rem;min-width:0}.kc-modes__label{font-weight:700;display:block}.kc-modes__hint{color:var(--color-ink-soft);font-weight:400;display:block}.kc .tool-fieldset .tool-row:last-child .tool-field{margin-bottom:0}.kc-more-note{color:var(--color-ink-soft);margin:0}.kc-note{color:var(--color-on-walnut);margin-top:.9rem;font-size:1rem}.kc-echo{border-left:4px solid var(--color-madder);background:var(--color-linen);flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;margin:1rem 0 0;padding:.6rem .8rem;font-size:min(1rem,6vw);font-weight:700;display:flex;position:relative}.kc-echo__label{color:var(--color-ink-soft);font-weight:400}[data-kc-stale] .kc-echo [data-out=sticky]{text-decoration:line-through}@media (width>=64rem){.kc-echo{display:none}}.kc .tool-field,.kc .tool-fieldset{scroll-margin-bottom:5rem}.kc-block+.kc-block{margin-top:2rem}.kc-table--dec td{white-space:normal}[data-kc-stale] .tool-result__value{text-decoration:line-through 2px}[data-kc-stale] .tool-result__badge{visibility:visible}.kc-list strong{overflow-wrap:anywhere}.kc-table-title{font-size:var(--text-step-2);margin:2rem 0 .5rem}.kc-table-title:first-child{margin-top:0}.kc-table{margin-top:1rem}.kc-table__size{color:var(--color-ink-soft);font-weight:400;display:block}.kc-source{color:var(--color-ink-soft);margin-top:.6rem;font-size:1rem}.tool-method h3{font-size:var(--text-step-1);margin-top:1.5rem}@media (width<=40rem){.kc-table{overflow-x:visible}.kc-table table,.kc-table tbody,.kc-table tr,.kc-table th,.kc-table td{display:block}.kc-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.kc-table tr{border-bottom:2px solid var(--color-rule-strong)}.kc-table tbody th[scope=row]{border-bottom:1px solid var(--color-rule);position:static}.kc-table td{white-space:normal;text-align:right;justify-content:space-between;gap:1rem;display:flex}.kc-table td:before{content:attr(data-label);text-align:left;font-weight:700}.kc-table:not(.kc-table--abbr) tr{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.kc-table:not(.kc-table--abbr) th[scope=row]{grid-column:1/-1}.kc-table:not(.kc-table--abbr) td{text-align:left;flex-direction:column;justify-content:flex-start;gap:0}.kc-table--abbr td{text-align:left;display:block}.kc-table--abbr td:before{content:none}.kc-table--dec td{text-align:left;flex-direction:column;gap:.1rem}}.kc-next__title{font-size:var(--text-step-2);margin-bottom:.75rem}.kc-next{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.kc-next li{gap:.15rem;display:grid}.kc-next a{min-height:var(--tap);align-items:center;font-weight:700;display:inline-flex}.kc-next span{color:var(--color-ink-soft)}}@media print{.kc-modes,.kc-source{display:none}.kc-table-title,.kc-table-title:first-child{margin:0 0 .25rem;font-size:1.125rem}.kc-table{margin-top:.25rem}.kc-block+.kc-block{margin-top:0}.kc-note{color:var(--color-ink)}}
