.tool-shell .p2r__dir{display:flex;gap:.4rem;padding:.3rem;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:var(--radius-input);margin-bottom:1.5rem}.tool-shell .p2r__dirbtn{flex:1;padding:.55rem .5rem;border:0;border-radius:calc(var(--radius-input) - .15rem);background:transparent;color:var(--color-text-secondary);font-weight:600;font-size:.9rem;cursor:pointer;transition:.12s}.tool-shell .p2r__dirbtn:hover{color:var(--color-text-heading)}.tool-shell .p2r__dirbtn.is-active{background:var(--color-surface);color:var(--color-primary-hover);box-shadow:var(--shadow-card)}.tool-shell .p2r__dirbtn:focus-visible{outline:2px solid var(--color-primary-ring);outline-offset:2px}.tool-shell .p2r__inputrow{display:flex;align-items:stretch;gap:0}.tool-shell .p2r__input{border-top-right-radius:0;border-bottom-right-radius:0}.tool-shell .p2r__unit{display:inline-flex;align-items:center;padding:0 1rem;background:var(--color-surface-muted);border:1px solid var(--color-border-input);border-left:0;border-top-right-radius:var(--radius-input);border-bottom-right-radius:var(--radius-input);font-weight:700;color:var(--color-text-muted);font-size:.95rem;white-space:nowrap}.tool-shell .p2r__inwrap{margin-bottom:1.25rem}.tool-shell .p2r__inwrap code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:4px;padding:.05rem .3rem}.tool-shell .p2r__results{display:grid;gap:.6rem}.tool-shell .p2r__resrow{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.75rem .9rem;border:1px solid var(--color-border);border-radius:var(--radius-input);background:var(--color-surface-muted)}.tool-shell .p2r__reslabel{font-size:.8rem;font-weight:600;color:var(--color-text-muted);min-width:5rem}.tool-shell .p2r__resval{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.15rem;font-weight:700;color:var(--color-primary-hover);min-width:6rem}.tool-shell .p2r__copy{flex:0 0 auto}.tool-shell .p2r__empty{margin:.25rem 0 0;font-size:.9rem;color:var(--color-text-muted)}.tool-shell .p2r__error{margin:.25rem 0 0;font-size:.88rem;color:#dc2626;font-weight:600}.tool-shell .p2r__note{margin:.8rem 0 0;font-size:.84rem;color:#047857;font-weight:600}.tool-shell .p2r__tablecard{margin-top:1.5rem}.tool-shell .p2r__tablehead{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.9rem}.tool-shell .p2r__tabletitle{font-size:1.1rem;font-weight:700;color:var(--color-text-heading);margin:0}.tool-shell .p2r__tablesub{font-size:.82rem;color:var(--color-text-muted);font-weight:600}.tool-shell .p2r__tablescroll{overflow-x:auto}.tool-shell .p2r__table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:22rem}.tool-shell .p2r__table th,.tool-shell .p2r__table td{text-align:left;padding:.5rem .65rem;border-bottom:1px solid var(--color-border)}.tool-shell .p2r__table th{font-size:.78rem;font-weight:700;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.03em}.tool-shell .p2r__table td{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--color-text-body)}.tool-shell .p2r__table tbody tr:last-child td{border-bottom:0}.tool-shell .p2r__tablecopy{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;font-weight:600;color:var(--color-primary-hover);background:var(--color-primary-tint);border:1px solid #bfdbfe;border-radius:.35rem;padding:.2rem .5rem;cursor:pointer;transition:.12s}.tool-shell .p2r__tablecopy:hover{background:#dbeafe}.tool-shell .p2r__tablecopy:focus-visible{outline:2px solid var(--color-primary-ring);outline-offset:2px}.tool-shell .p2r__presets{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.tool-shell .p2r__presets-label{font-size:.82rem;color:var(--color-text-muted);font-weight:600;width:100%;margin-bottom:.1rem}.tool-shell .p2r__about h2{font-size:1.25rem;font-weight:700;color:var(--color-text-heading);margin:0 0 .6rem}.tool-shell .p2r__about p{margin:0 0 .8rem;font-size:.95rem;color:var(--color-text-secondary)}.tool-shell .p2r__about code,.tool-shell .p2r__tips code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:4px;padding:.05rem .3rem}.tool-shell .p2r__tips{margin:0;padding-left:1.1rem}.tool-shell .p2r__tips li{font-size:.92rem;color:var(--color-text-secondary);margin:.3rem 0}.tool-shell .p2r__about{margin-top:1.75rem}
