.tool-hero{background:linear-gradient(135deg, #173824 0%, var(--deep) 70%);max-width:760px;color:var(--cream);border-radius:22px;margin:84px auto 24px;padding:clamp(1.7rem,4vw,2.6rem);position:relative;overflow:hidden}.tools-page .tool-hero{margin-top:60px}.tool-hero-inner{z-index:1;max-width:32rem;position:relative}.tool-hero-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--saffron);margin-bottom:.7rem;font-size:.72rem;font-weight:700;display:inline-block}.tool-hero h1{letter-spacing:-.01em;color:var(--cream);text-wrap:balance;margin:0 0 .6rem;font-family:Playfair Display,Georgia,serif;font-size:clamp(1.6rem,4vw,2.4rem);font-weight:700;line-height:1.1}.tool-hero h1 em{color:var(--saffron);font-style:italic}.tool-hero p{color:#f2faf5b8;text-wrap:pretty;max-width:34rem;margin:0;font-size:.96rem;line-height:1.55}.tool-hero-motif{opacity:.5;z-index:0;pointer-events:none;width:clamp(120px,24vw,188px);height:auto;position:absolute;bottom:14px;right:16px}.sc-section{max-width:760px}.sc-modes{background:var(--cream);border:1px solid var(--border);border-radius:12px;gap:4px;margin-bottom:20px;padding:4px;display:flex}.sc-mode{color:var(--deep);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;padding:10px 12px;font-size:.88rem;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.sc-mode:hover{background:#4caf7d1f}.sc-mode--active{background:var(--deep);color:var(--cream);box-shadow:0 1px 4px #0f23182e}.sc-mode:focus-visible{outline:2px solid var(--saffron);outline-offset:2px}.sc-card{border:1px solid var(--border);background:#fff;border-radius:16px;flex-direction:column;gap:18px;padding:clamp(18px,3vw,26px);display:flex}.sc-input{flex-direction:column;gap:6px;display:flex}.sc-input-label{color:var(--deep);font-size:.85rem;font-weight:600}.sc-input input{font-variant-numeric:tabular-nums;color:var(--deep);border:1px solid var(--border);border-radius:10px;outline:none;padding:12px 14px;font-size:1.15rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.sc-input input:focus{border-color:var(--saffron);box-shadow:0 0 0 3px #4caf7d29}.sc-input-hint{color:var(--muted);font-size:.78rem}.sc-presets{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.sc-presets-label{color:var(--muted);margin-right:2px;font-size:.78rem}.sc-preset{background:var(--cream);border:1px solid var(--border);cursor:pointer;color:var(--deep);border-radius:999px;padding:5px 11px;font-size:.78rem;font-weight:600;transition:background .15s,border-color .15s,color .15s}.sc-preset:hover{background:var(--saffron);border-color:var(--saffron);color:var(--deep)}.sc-preset:focus-visible{outline:2px solid var(--saffron);outline-offset:2px}.sc-result-grid{border-top:1px solid var(--border);flex-direction:column;display:flex}.sc-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.sc-row:last-child{border-bottom:0}.sc-row-label{color:var(--deep);flex-direction:column;gap:2px;font-size:.92rem;display:flex}.sc-row-hint{color:var(--muted);font-size:.74rem;font-weight:500}.sc-row-value{font-variant-numeric:tabular-nums;color:var(--deep);font-size:.98rem;font-weight:600}.sc-row--strong{background:#4caf7d1a;border:1px solid #4caf7d4d;border-radius:12px;margin:4px 0;padding:14px 16px}.sc-row--strong .sc-row-label{font-weight:700}.sc-row--strong .sc-row-value{color:var(--deep);font-family:Playfair Display,Georgia,serif;font-size:1.4rem;font-weight:700}.sc-row--muted .sc-row-label,.sc-row--muted .sc-row-value{color:var(--muted);font-size:.85rem;font-weight:500}.sc-secondary{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:flex-end;margin-top:-4px;font-size:.8rem;display:flex}.sc-share{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:16px;display:flex}.sc-share-label{letter-spacing:.1em;text-transform:uppercase;color:var(--rust);font-size:.72rem;font-weight:700}.sc-cta{text-align:center;background:var(--deep);color:var(--cream);border-radius:11px;padding:12px 18px;font-size:.92rem;font-weight:700;text-decoration:none;transition:background .15s,transform .15s;display:inline-block}.sc-cta:hover{background:var(--rust);transform:translateY(-1px)}.sc-cta:focus-visible{outline:2px solid var(--saffron);outline-offset:2px}.sc-brackets{border:1px solid var(--border);background:#fff;border-radius:14px;margin-top:24px;padding:14px 18px}.sc-brackets summary{cursor:pointer;color:var(--deep);font-size:.9rem;font-weight:700}.sc-bracket-table{border-collapse:collapse;width:100%;margin-top:12px;font-size:.88rem}.sc-bracket-table th,.sc-bracket-table td{text-align:left;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;padding:7px 8px}.sc-bracket-table th{color:var(--rust);text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;font-weight:700}.sc-bracket-table tbody tr:last-child td{border-bottom:0}.sc-note{color:var(--muted);text-wrap:pretty;margin-top:14px;font-size:.8rem;line-height:1.55}@media (width<=600px){.sc-card{padding:18px}.sc-modes{flex-wrap:wrap}.sc-mode{flex:100%}.tool-hero-motif{opacity:.32}}
