/* Uses the live calculator's brand tokens and native form controls. */
.tool-card { margin: 0 0 2rem; padding: 1.25rem; border-radius: 16px; background: var(--lavender-soft, #f2edff); color: var(--ink, #241234); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.tool-card [hidden] { display: none !important; }
.tool-privacy, .tool-nojs { margin: 0 0 1rem; }
.tool-form { display: grid; gap: 1rem; min-width: 0; }
.tool-fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.tool-fieldset legend { font-weight: 700; margin-bottom: .75rem; }
.tool-field { display: grid; gap: .4rem; margin-bottom: 1rem; min-width: 0; }
.tool-field > label { font-weight: 650; }
.tool-form input[type="text"], .tool-form input[type="time"], .tool-form select { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: .6rem .75rem; background: #fff; color: var(--ink, #241234); border: 2px solid var(--line, #76677d); border-radius: 12px; font: inherit; }
.tool-choice { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; min-height: 44px; }
.tool-choice input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--violet, #5827c8); }
.tool-hint { font-size: .875rem; }
.tool-error { color: var(--burgundy, #651333); font-weight: 650; margin: 0; }
.tool-form [aria-invalid="true"] { border-color: var(--burgundy, #651333); }
.tool-form :focus-visible { outline: 3px solid var(--violet, #5827c8); outline-offset: 3px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.tool-actions button { min-height: 48px; padding: .6rem 1rem; border: 2px solid var(--ink, #241234); border-radius: 100px; background: transparent; color: inherit; font: inherit; font-weight: 650; cursor: pointer; }
.tool-actions .tool-example { background: var(--ink, #241234); color: #fff; }
.tool-actions button:hover { text-decoration: underline; }
.tool-actions button:active { transform: translateY(1px); }
.tool-result { display: grid; gap: .8rem; margin-top: 1.5rem; padding: 1rem; border-radius: 12px; background: #fff; border: 2px solid var(--violet, #5827c8); color: var(--ink, #241234); }
.tool-result span:first-child { font-weight: 750; font-size: 1.2rem; }
@media (max-width: 360px) { .tool-card { padding: .85rem; } }
