@import url('/experience.css');
:root { --ink:#f5f7f4; --muted:#92979b; --line:rgba(255,255,255,.12); --lime:#b8ff3d; --cyan:#70e8ff; --violet:#a583ff; --orange:#ff9d5c; --pink:#ff73be; }
body { background:#050508; color:var(--ink); font-family:Inter, 'Space Grotesk', 'Segoe UI', sans-serif; }
button, input { font:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-decoration:none; }
.site-shell { min-height:100vh; overflow:clip; background:radial-gradient(circle at 78% 10%, rgba(112,232,255,.07), transparent 24rem), #050508; position:relative; }
.noise { position:fixed; inset:0; opacity:.05; pointer-events:none; z-index:5; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.site-header { height:82px; border-bottom:1px solid var(--line); padding:0 clamp(22px,5vw,84px); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:40; background:rgba(5,5,8,.9); backdrop-filter:blur(18px); }
.brand { display:flex; align-items:center; gap:11px; font-size:13px; letter-spacing:.2em; font-weight:700; }
.brand-mark { display:grid; place-items:center; width:29px; height:29px; background:var(--lime); color:#050508; border-radius:50%; }
.brand-mark svg { width:19px; height:19px; fill:currentColor; }
.nav-links { display:flex; gap:34px; color:#a4aaae; font:12px 'DM Mono', monospace; text-transform:uppercase; letter-spacing:.08em; margin-left:10%; }
.nav-links a { transition:color .25s ease; } .nav-links a:hover { color:var(--lime); }
.header-actions { display:flex; align-items:center; gap:15px; }
.search-mini { border:1px solid var(--line); background:rgba(255,255,255,.04); color:var(--muted); padding:10px 12px; border-radius:100px; display:flex; align-items:center; gap:8px; cursor:pointer; font:12px 'DM Mono',monospace; transition:border-color .2s, color .2s; }
.search-mini:hover { border-color:rgba(184,255,61,.6); color:var(--ink); }.search-mini kbd { border:1px solid var(--line); border-radius:4px; padding:2px 5px; margin-left:15px; font-size:10px; }
.mobile-menu { display:none; background:none; border:0; color:white; }
.hero { min-height:calc(100vh - 82px); max-width:1440px; margin:auto; padding:clamp(75px,10vw,160px) clamp(22px,8vw,120px) 90px; position:relative; display:flex; align-items:center; }
.hero-copy { width:61%; position:relative; z-index:2; }.eyebrow { color:var(--lime); font:11px 'DM Mono',monospace; letter-spacing:.11em; text-transform:uppercase; margin:0 0 23px; }
h1,h2 { font-weight:500; letter-spacing:-.075em; margin:0; }.hero h1 { font-size:clamp(56px,8.8vw,139px); line-height:.9; max-width:950px; }.hero h1 em { color:var(--lime); font-style:normal; }.line-mask { display:block; overflow:hidden; padding-bottom:.09em; }.line-mask > span { display:block; }
.hero-description { color:var(--muted); font-size:17px; line-height:1.5; max-width:390px; margin:35px 0 30px; }.hero-cta { display:inline-flex; gap:12px; align-items:center; color:#050508; background:var(--lime); padding:15px 18px; font-size:13px; font-weight:700; transition:transform .25s ease, box-shadow .25s ease; }.hero-cta:hover { transform:translateY(-4px); box-shadow:0 12px 36px rgba(184,255,61,.24); }
.hero-orbit { width:min(39vw,540px); height:min(39vw,540px); min-width:310px; min-height:310px; position:absolute; right:5%; top:50%; transform:translateY(-46%); display:grid; place-items:center; }.orbit-ring { position:absolute; border-radius:50%; border:1px solid rgba(112,232,255,.27); }.ring-one { inset:8%; animation:spin 22s linear infinite; border-top-color:var(--cyan); }.ring-two { inset:22%; border-color:rgba(184,255,61,.32); border-bottom-color:var(--lime); animation:spinReverse 16s linear infinite; }.orbit-core { width:37%; height:37%; background:var(--lime); color:#050508; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:0 0 90px rgba(184,255,61,.18); font-family:'DM Mono',monospace; }.orbit-core svg { margin-bottom:9px; }.orbit-core span { font-size:16px; font-weight:500; }.orbit-core small { font-size:9px; opacity:.7; margin-top:3px; }.orbit-number { position:absolute; color:var(--cyan); font:13px 'DM Mono',monospace; }.n-one { top:10%; left:28%; }.n-two { bottom:24%; right:8%; color:var(--lime); font-size:28px; }.n-three { top:26%; right:2%; color:var(--violet); font-size:25px; }
.hero-scroll { position:absolute; left:clamp(22px,8vw,120px); bottom:31px; display:flex; align-items:center; gap:15px; color:#697074; text-transform:uppercase; font:10px 'DM Mono',monospace; letter-spacing:.1em; }.scroll-line { width:70px; height:1px; background:var(--line); position:relative; }.scroll-line:after { content:""; position:absolute; width:22px; height:1px; background:var(--lime); left:0; animation:scan 2s infinite; }
.marquee { overflow:hidden; display:flex; white-space:nowrap; border-top:1px solid var(--line); border-bottom:1px solid var(--line); color:#696f73; font:12px 'DM Mono',monospace; letter-spacing:.18em; padding:16px 0; }.marquee div { animation:marquee 38s linear infinite; min-width:max-content; }.marquee i { color:var(--lime); font-style:normal; margin:0 25px; }
.catalog-section { max-width:1440px; margin:auto; padding:clamp(100px,13vw,190px) clamp(22px,8vw,120px); }.section-intro { display:flex; justify-content:space-between; align-items:end; margin-bottom:60px; }.section-intro h2 { font-size:clamp(47px,6vw,88px); line-height:.93; }.section-intro h2 span { color:#64696e; }.section-note { color:var(--muted); font:12px 'DM Mono',monospace; line-height:1.7; margin:0 0 6px; text-align:right; }.search-bar-wrap { display:flex; align-items:center; gap:16px; border-bottom:1px solid rgba(255,255,255,.25); padding:0 0 16px; }.search-bar-wrap svg { color:var(--lime); }.search-bar-wrap input { flex:1; border:0; outline:0; color:white; font-size:21px; background:transparent; }.search-bar-wrap input::placeholder { color:#666b70; }.search-count { color:#777d82; font:11px 'DM Mono',monospace; }.category-row { display:flex; gap:10px; flex-wrap:wrap; margin:25px 0 38px; }.category { border:1px solid var(--line); border-radius:50px; background:transparent; color:#899095; padding:9px 14px; cursor:pointer; font:11px 'DM Mono',monospace; transition:color .2s, border-color .2s, background .2s; }.category:hover,.category.active { color:#050508; background:var(--lime); border-color:var(--lime); }.catalog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.calc-card { min-height:275px; text-align:left; color:var(--ink); background:#0e1013; border:1px solid var(--line); border-radius:2px; padding:22px; cursor:pointer; display:flex; flex-direction:column; position:relative; overflow:hidden; transition:border-color .3s, background .3s; }.calc-card:hover { border-color:rgba(184,255,61,.5); background:#13171a; }.calc-card:after { content:""; position:absolute; width:130px; height:130px; right:-42px; bottom:-50px; border-radius:50%; background:var(--card-accent); opacity:.08; filter:blur(8px); }.accent-lime { --card-accent:var(--lime); }.accent-cyan { --card-accent:var(--cyan); }.accent-violet { --card-accent:var(--violet); }.accent-orange { --card-accent:var(--orange); }.accent-pink { --card-accent:var(--pink); }.card-top,.card-footer { display:flex; align-items:center; justify-content:space-between; }.card-tag { color:var(--card-accent); font:10px 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.12em; }.card-arrow { color:#697074; }.card-symbol { color:var(--card-accent); font-size:53px; font-weight:400; margin-top:38px; line-height:1; }.card-name { font-size:24px; letter-spacing:-.045em; margin-top:18px; }.card-description { color:#878d91; font-size:12px; margin-top:6px; }.card-footer { color:#697074; font:10px 'DM Mono',monospace; text-transform:uppercase; margin-top:auto; padding-top:24px; }.heart-button,.liked { cursor:pointer; position:relative; z-index:2; }.liked { color:var(--pink); }.empty-state { color:var(--muted); padding:50px; text-align:center; border:1px dashed var(--line); display:flex; gap:10px; justify-content:center; }
.catalog-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; margin:30px auto 0; }
.catalog-pagination p { margin:0; color:#858c90; font:10px 'DM Mono',monospace; }
.catalog-pagination .button { min-height:44px; }
.catalog-section,.field-section,.workflow-section,.manifesto,.feedback-section { scroll-margin-top:96px; }
.manifesto { padding:150px 22px 190px; text-align:center; position:relative; overflow:hidden; }.manifesto .eyebrow,.manifesto h2,.manifesto-copy { position:relative; z-index:1; }.manifesto h2 { font-size:clamp(42px,6.7vw,102px); line-height:.94; }.manifesto h2 span { color:var(--lime); }.manifesto-copy { max-width:430px; color:var(--muted); line-height:1.6; margin:31px auto 0; font-size:14px; }.manifesto-orb { position:absolute; width:500px; height:500px; border:1px solid rgba(184,255,61,.18); border-radius:50%; left:50%; top:47%; transform:translate(-50%,-50%); box-shadow:inset 0 0 80px rgba(184,255,61,.04); }.manifesto-orb:after { content:""; position:absolute; inset:15%; border-radius:50%; border:1px solid rgba(112,232,255,.11); }
.site-footer { border-top:1px solid var(--line); padding:26px clamp(22px,5vw,84px); display:flex; justify-content:space-between; align-items:center; color:#73797d; font:10px 'DM Mono',monospace; letter-spacing:.06em; }.site-footer .brand { color:var(--ink); font:12px 'Space Grotesk',sans-serif; }
.modal-backdrop { position:fixed; inset:0; z-index:20; background:rgba(0,0,0,.75); backdrop-filter:blur(12px); display:grid; place-items:center; padding:20px; }.calc-modal { width:min(580px,100%); background:#111417; border:1px solid rgba(184,255,61,.5); padding:42px; position:relative; box-shadow:0 20px 80px #000; }.modal-close { position:absolute; top:18px; right:18px; border:0; background:transparent; color:#7e878c; cursor:pointer; }.modal-symbol { display:grid; place-items:center; width:55px; height:55px; background:var(--card-accent); color:#050508; font-size:27px; margin-bottom:30px; }.calc-modal h2 { font-size:46px; line-height:1; }.modal-copy { color:var(--muted); font-size:14px; margin:14px 0 30px; }.input-grid { display:flex; flex-wrap:wrap; gap:13px; }.input-grid label { flex:1; min-width:140px; color:#899095; font:10px 'DM Mono',monospace; text-transform:uppercase; }.input-grid input { width:100%; background:#090b0d; border:1px solid var(--line); color:white; padding:13px; outline:0; margin-top:8px; }.input-grid input:focus { border-color:var(--lime); }.run-button { margin-top:25px; border:0; background:var(--lime); color:#050508; padding:14px 18px; cursor:pointer; font-size:13px; font-weight:700; display:flex; align-items:center; gap:9px; }.result-box { border-top:1px solid var(--line); margin-top:30px; padding-top:20px; display:flex; justify-content:space-between; align-items:end; }.result-box span { color:var(--muted); font:11px 'DM Mono',monospace; }.result-box strong { color:var(--lime); font:31px 'DM Mono',monospace; }
@keyframes spin { to { transform:rotate(360deg); } } @keyframes spinReverse { to { transform:rotate(-360deg); } } @keyframes scan { 50% { left:48px; } } @keyframes marquee { to { transform:translateX(-100%); } }
@media (max-width:800px) { .site-header { height:70px; }.nav-links { display:none; position:absolute; top:69px; left:0; right:0; margin:0; padding:24px; background:#090a0d; flex-direction:column; gap:22px; border-bottom:1px solid var(--line); }.nav-links.open { display:flex; }.search-mini span,.search-mini kbd { display:none; }.mobile-menu { display:block; }.hero { min-height:780px; padding-top:80px; align-items:flex-start; }.hero-copy { width:100%; }.hero-description { font-size:15px; }.hero-orbit { opacity:.44; width:390px; height:390px; right:-120px; top:53%; }.catalog-grid { grid-template-columns:repeat(2,1fr); }.section-intro { align-items:flex-start; flex-direction:column; gap:22px; }.section-note { text-align:left; }.site-footer { gap:20px; flex-wrap:wrap; }.site-footer span:not(.brand) { font-size:9px; } }
@media (max-width:520px) { .hero h1 { font-size:57px; }.hero { min-height:720px; }.catalog-grid { grid-template-columns:1fr; }.calc-card { min-height:245px; }.search-count { display:none; }.calc-modal { padding:30px 22px; }.calc-modal h2 { font-size:39px; }.manifesto { padding:100px 22px 130px; }.manifesto-orb { width:350px; height:350px; }.site-footer { flex-direction:column; align-items:flex-start; }.site-footer span:last-child { display:none; } }
.heart-button,.liked { border:0; background:transparent; color:inherit; padding:0; }

/* AuraCalc's design uses the supplied Emergent visual system with local, accessible interactions. */
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.skip-link { position:fixed; z-index:100; top:8px; left:8px; padding:10px 14px; color:#050508; background:var(--lime); transform:translateY(-150%); }
.skip-link:focus { transform:translateY(0); }
:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
html,body,dialog { scrollbar-color:#465055 #090b0d; scrollbar-width:thin; }
html { scrollbar-gutter:stable; }
::-webkit-scrollbar { width:10px; height:10px; }
::-webkit-scrollbar-track { background:#090b0d; }
::-webkit-scrollbar-thumb { border:2px solid #090b0d; border-radius:999px; background:#465055; }
::-webkit-scrollbar-thumb:hover { background:#879397; }
::-webkit-scrollbar-corner { background:#090b0d; }
.site-shell { isolation:isolate; }
.site-header { gap:20px; }
.brand-symbol { display:grid; place-items:center; width:29px; height:29px; border-radius:50%; color:#050508; background:var(--lime); font-size:15px; font-weight:800; }
.desktop-nav { display:flex; align-items:center; gap:25px; margin-left:auto; margin-right:14px; }
.desktop-nav a { color:#a4aaae; font:10px 'DM Mono',ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; }
.desktop-nav a:hover { color:var(--lime); }
.page-menu { display:none; }
.header-tools { display:flex; align-items:center; gap:9px; }
.locale-control select { max-width:115px; padding:8px 7px; border:1px solid var(--line); border-radius:999px; color:#c4c9cc; background:#0d1012; font:9px 'DM Mono',ui-monospace,monospace; }
.compact-footer { display:flex; align-items:center; justify-content:space-between; }
.compact-footer .brand-symbol { color:#050508; }
.header-actions { gap:10px; }
.locale-picker { max-width:122px; padding:9px 7px; border:1px solid var(--line); border-radius:999px; color:#c4c9cc; background:#0d1012; font:10px 'DM Mono',ui-monospace,monospace; }
.history-action { width:38px; height:38px; border:1px solid var(--line); border-radius:50%; color:#c4c9cc; background:rgba(255,255,255,.04); font-size:21px; cursor:pointer; }
.history-action:hover { color:var(--lime); border-color:rgba(184,255,61,.55); }
.mobile-menu { padding:8px; font-size:20px; cursor:pointer; }
.hero { min-height:min(840px,calc(100vh - 82px)); }
.hero-glow { position:absolute; width:500px; height:500px; left:27%; top:24%; border-radius:50%; background:radial-gradient(circle,rgba(184,255,61,.07),transparent 68%); pointer-events:none; }
.hero-copy { z-index:2; }
.hero-footnote { display:flex; align-items:center; gap:9px; color:#858c90; font:10px 'DM Mono',ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; }
.live-indicator,.status-dot { display:inline-block; flex:0 0 auto; width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 12px rgba(184,255,61,.5); }
.orbit-glyph { display:grid; place-items:center; width:36px; height:36px; margin-bottom:7px; font-size:34px; line-height:1; }
.orbit-core span#hero-tool-count { font-size:24px; line-height:1.1; }
.orbit-core small { text-transform:uppercase; letter-spacing:.12em; }
.orbit-note { position:absolute; bottom:13%; left:8%; color:#8e989c; font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.12em; }
.catalog-section { scroll-margin-top:28px; }
.section-intro .eyebrow span { color:var(--cyan); }
.search-bar-wrap { position:relative; }
.search-bar-wrap > span:first-child { color:var(--lime); font-size:28px; }
.search-bar-wrap input { min-width:0; }
.search-bar-wrap input:focus-visible { outline:0; }
.search-description { margin:9px 0 0 38px; color:#71787d; font:10px 'DM Mono',ui-monospace,monospace; }
.clear-search { border:0; border-radius:50%; width:30px; height:30px; color:#d5d9db; background:rgba(255,255,255,.08); font-size:19px; cursor:pointer; }
.catalog-controls { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.category-row { min-width:0; }
.favorite-filter { white-space:nowrap; border:1px solid var(--line); border-radius:999px; padding:9px 14px; color:#adb4b8; background:transparent; font:11px 'DM Mono',ui-monospace,monospace; cursor:pointer; }
.favorite-filter[aria-pressed="true"],.favorite-filter:hover { color:#050508; background:var(--pink); border-color:var(--pink); }
.card-shell { position:relative; min-width:0; }
.calc-card { width:100%; text-decoration:none; }
.calc-card:hover { transform:translateY(-6px); }
.card-favorite { position:absolute; z-index:3; top:18px; right:18px; display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); border-radius:50%; color:#8d969a; background:rgba(5,5,8,.72); cursor:pointer; }
.card-favorite:hover,.card-favorite[aria-pressed="true"] { color:var(--pink); border-color:var(--pink); }
.card-top { padding-right:43px; }
.card-name { display:block; text-align:left; }
.card-description { display:block; text-align:left; line-height:1.55; }
.card-footer { text-align:left; }
.calc-card:focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
.catalog-truth { display:flex; align-items:flex-start; gap:10px; margin:27px 0 0; max-width:750px; color:#70777c; font:10px 'DM Mono',ui-monospace,monospace; line-height:1.7; }
.catalog-truth .status-dot { margin-top:4px; }
.empty-state { min-height:170px; align-items:center; flex-direction:column; }
.empty-state p { margin:0; }
.empty-state .text-button { border:0; color:var(--lime); background:transparent; cursor:pointer; }
.field-section { max-width:1440px; margin:auto; padding:clamp(82px,11vw,148px) clamp(22px,8vw,120px); border-top:1px solid var(--line); }
.field-intro { margin-bottom:36px; }
.field-intro h2 { font-size:clamp(45px,6vw,82px); line-height:.96; }
.field-intro h2 span,.workflow-copy h2 span { color:#64696e; }
.field-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:15px; color:#747c80; font:10px 'DM Mono',ui-monospace,monospace; }
.field-toolbar p { margin:0; }
.text-button { border:0; color:var(--lime); background:transparent; font:10px 'DM Mono',ui-monospace,monospace; cursor:pointer; }
.field-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.field-card { display:flex; align-items:flex-start; gap:11px; min-height:73px; padding:13px; border:1px solid var(--line); color:#d9dede; background:#0d1012; }
.field-index { color:var(--lime); font:10px 'DM Mono',ui-monospace,monospace; }
.field-copy strong,.field-copy small { display:block; }
.field-copy strong { font-size:12px; font-weight:500; line-height:1.35; }
.field-copy small { margin-top:5px; color:#6d757a; font:8px 'DM Mono',ui-monospace,monospace; line-height:1.4; text-transform:uppercase; }
.field-card.has-tools { border-color:rgba(184,255,61,.3); }
.field-note { display:flex; gap:13px; max-width:760px; margin-top:22px; padding:16px; border-left:2px solid var(--cyan); color:#8c969a; background:#0c1012; font-size:11px; line-height:1.7; }
.field-note > span { color:var(--cyan); font:16px 'DM Mono',ui-monospace,monospace; }
.field-note strong { color:#e0e5e5; font-weight:600; }
.field-note p { margin:5px 0 0; }
.workflow-section { display:grid; grid-template-columns:.85fr 1.15fr; align-items:center; gap:8vw; max-width:1440px; margin:auto; padding:clamp(80px,11vw,150px) clamp(22px,8vw,120px); border-top:1px solid var(--line); }
.workflow-copy h2 { font-size:clamp(39px,5vw,70px); line-height:.98; }
.workflow-copy > p:not(.eyebrow) { max-width:450px; margin:20px 0; color:#92979b; font-size:14px; line-height:1.7; }
.workflow-link { display:inline-flex; align-items:center; gap:8px; color:var(--lime); font:11px 'DM Mono',ui-monospace,monospace; text-transform:uppercase; }
.workflow-board { padding:24px; border:1px solid var(--line); background:radial-gradient(ellipse at 50% 50%,rgba(112,232,255,.05),transparent 70%),#0a0d0f; }
.workflow-step { display:flex; align-items:center; gap:15px; padding:13px 0; }
.workflow-step > span { display:grid; place-items:center; flex:0 0 34px; height:34px; border:1px solid rgba(184,255,61,.45); border-radius:50%; color:var(--lime); font:10px 'DM Mono',ui-monospace,monospace; }
.workflow-step strong,.workflow-step small { display:block; }
.workflow-step strong { color:#e0e5e5; font-size:13px; font-weight:500; }
.workflow-step small { margin-top:5px; color:#7f888c; font:9px 'DM Mono',ui-monospace,monospace; }
.workflow-line { width:1px; height:21px; margin-left:17px; background:linear-gradient(var(--lime),rgba(184,255,61,.1)); }
.workflow-caption { margin:14px 0 0; padding-top:14px; border-top:1px solid var(--line); color:#7f888c; font:9px 'DM Mono',ui-monospace,monospace; }
.workflow-caption span { margin-right:8px; color:var(--lime); }
.manifesto { position:relative; overflow:hidden; padding:clamp(100px,13vw,180px) 22px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; }
.manifesto .eyebrow,.manifesto h2,.manifesto-copy,.manifesto-points { position:relative; z-index:1; }
.manifesto h2 { max-width:950px; margin:auto; font-size:clamp(39px,6vw,82px); line-height:1; }
.manifesto h2 span { color:var(--lime); }
.manifesto-copy { max-width:580px; margin:24px auto 0; color:#8b9296; font-size:13px; line-height:1.7; }
.manifesto-orb { position:absolute; width:560px; height:560px; left:50%; top:50%; border:1px solid rgba(112,232,255,.12); border-radius:50%; transform:translate(-50%,-50%); box-shadow:0 0 0 60px rgba(112,232,255,.02),0 0 0 120px rgba(184,255,61,.015); }
.manifesto-points { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; margin-top:33px; color:#adb4b8; font:9px 'DM Mono',ui-monospace,monospace; text-transform:uppercase; }
.manifesto-points b { margin-right:7px; color:var(--lime); font-weight:500; }
.feedback-section { display:grid; grid-template-columns:1fr minmax(300px,.8fr); gap:8vw; max-width:1200px; margin:auto; padding:clamp(72px,10vw,125px) clamp(22px,8vw,70px); }
.feedback-section h2 { max-width:480px; font-size:clamp(39px,5vw,65px); line-height:1; }
.feedback-section > div > p:not(.eyebrow) { max-width:470px; margin-top:18px; color:#8d969a; font-size:13px; line-height:1.7; }
.feedback-form { display:grid; gap:9px; padding:22px; border:1px solid var(--line); background:#0d1012; }
.feedback-form label { margin-top:5px; color:#9da5a9; font:9px 'DM Mono',ui-monospace,monospace; text-transform:uppercase; }
.feedback-form select,.feedback-form textarea { width:100%; padding:11px; border:1px solid var(--line); color:#edf1f0; background:#080a0c; font:12px Inter,'Segoe UI',sans-serif; }
.feedback-form textarea { resize:vertical; }
.feedback-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:7px; }
.form-status { min-height:18px; margin:0; color:var(--lime); font:10px 'DM Mono',ui-monospace,monospace; }
.site-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:26px clamp(22px,5vw,84px); border-top:1px solid var(--line); color:#697175; font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.06em; }
.site-footer small { flex-basis:100%; color:#596165; }
.tool-page-heading h1,.tool-method-info h2,.runtime-card-heading h2 { color:#f5f7f4; }
.tool-page-heading p,.breadcrumbs,.tool-method-info p,.method-source small,.method-source a,.back-link,.seo-list,.method-source .eyebrow { color:#a3acb0; }
.tool-method-info,.calculator-form-card,.result-card,.unit-converter-card { border-color:var(--line); color:#e9edec; background:#0d1012; box-shadow:0 14px 44px rgba(0,0,0,.22); }
.calculator-form-card input,.calculator-form-card select,.unit-converter-card input,.unit-converter-card select { border-color:var(--line); color:#f4f6f5; background:#090b0d; }
.calculator-form-card label,.result-main-label,.result-subitem span,.field-help { color:#9da6aa; }
.result-main,.unit-result { background:#151a1d; }
.result-main strong,.unit-result strong { color:var(--lime); }
.verified-pill,.risk-label { border-color:rgba(184,255,61,.28); color:var(--lime); background:rgba(184,255,61,.07); }
.breadcrumbs a,.back-link,.tool-method-info a,.seo-list a { color:var(--cyan); }
.method-source { gap:9px; }
.site-footer.compact-footer { min-height:76px; }
.locale-picker option { color:#f5f7f4; background:#101315; }
dialog.tool-dialog { width:min(640px,calc(100vw - 24px)); max-width:none; max-height:min(90vh,900px); padding:0; overflow:auto; border:1px solid rgba(184,255,61,.42); color:var(--ink); background:#111417; box-shadow:0 20px 80px #000; }
dialog.tool-dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(10px); }
dialog.tool-dialog[open] { animation:modal-enter .22s ease-out; }
.tool-dialog .calc-modal { width:100%; max-height:none; padding:clamp(24px,6vw,42px); border:0; box-shadow:none; }
.tool-dialog .eyebrow { margin-bottom:14px; }
.tool-dialog .modal-symbol { display:grid; place-items:center; border-radius:50%; }
.tool-dialog .calc-modal h2 { margin:0; color:#f5f7f4; }
.tool-dialog .modal-copy { max-width:500px; line-height:1.65; }
.tool-dialog .input-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.tool-dialog .input-grid label { display:block; min-width:0; line-height:1.45; }
.tool-dialog .input-grid input,.tool-dialog .input-grid select { width:100%; min-height:44px; margin-top:8px; padding:11px; border:1px solid var(--line); border-radius:0; color:#fff; background:#090b0d; font:13px Inter,'Segoe UI',sans-serif; }
.tool-dialog .input-grid input:focus,.tool-dialog .input-grid select:focus { border-color:var(--lime); outline:2px solid rgba(184,255,61,.2); }
.tool-dialog .input-grid .quantity-unit-label { width:100%; min-height:44px; margin-top:8px; padding:11px; border-radius:0; color:#aab2b6; background:#090b0d; font-size:12px; }
.tool-dialog .field-unit { display:grid; grid-template-columns:minmax(0,1fr) 105px; gap:8px; }
.tool-dialog .field-help { display:block; margin-top:7px; color:#727a7f; font:9px 'DM Mono',ui-monospace,monospace; }
.tool-dialog .run-button { margin-top:24px; }
.tool-dialog .calculation-error { margin:14px 0 0; color:#ffb7b7; font-size:12px; }
.tool-result { margin-top:25px; padding-top:20px; border-top:1px solid var(--line); }
.tool-result-heading { margin:0 0 13px; color:var(--lime); font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; }
.tool-output { display:flex; align-items:baseline; justify-content:space-between; gap:15px; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.tool-output-label { color:#a4abad; font:10px 'DM Mono',ui-monospace,monospace; text-transform:uppercase; }
.tool-output strong { color:#f5f7f4; font:clamp(20px,5vw,30px) 'DM Mono',ui-monospace,monospace; text-align:right; overflow-wrap:anywhere; }
.tool-output select { max-width:112px; margin-left:5px; padding:5px; border:1px solid var(--line); color:#a9b0b3; background:#101315; font-size:10px; }
.tool-result-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.tool-result-details { margin-top:20px; border-top:1px solid var(--line); }
.tool-result-details details { padding:12px 0; border-bottom:1px solid var(--line); }
.tool-result-details summary { color:var(--cyan); font:10px 'DM Mono',ui-monospace,monospace; cursor:pointer; }
.tool-result-details p,.tool-result-details li { color:#a4abad; font-size:11px; line-height:1.65; }
.tool-result-details a { color:var(--lime); text-decoration:underline; text-underline-offset:3px; }
.tool-sources { margin-top:10px; color:#828b8f; font-size:10px; line-height:1.6; }
.tool-sources a { color:var(--cyan); }
.reveal-card { opacity:0; transform:translateY(14px); animation:card-enter .5s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes modal-enter { from { opacity:0; transform:translateY(15px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes card-enter { to { opacity:1; transform:translateY(0); } }
@media (max-width:1000px) { .field-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .workflow-section { gap:5vw; } }
@media (max-width:800px) { .site-header { gap:12px; } .locale-picker { display:none; } .hero { min-height:780px; } .field-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .workflow-section,.feedback-section { grid-template-columns:1fr; gap:28px; } .catalog-controls { align-items:flex-start; flex-direction:column; gap:0; } .category-row { margin-bottom:12px; } .favorite-filter { margin-bottom:22px; } }
@media (max-width:760px) { .page-menu { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; border:1px solid var(--line); border-radius:50%; color:var(--ink); background:rgba(255,255,255,.04); cursor:pointer; }.page-navigation { display:none; position:absolute; top:65px; left:0; right:0; z-index:16; margin:0; padding:10px 18px; flex-direction:column; gap:0; border-bottom:1px solid var(--line); background:#090a0d; }.page-navigation.open { display:flex!important; }.page-navigation a { padding:13px 4px; border-bottom:1px solid var(--line); } }
@media (max-width:520px) { .history-action { width:34px; height:34px; } .header-actions { gap:6px; } .search-mini { padding:8px 10px; } .hero { min-height:720px; } .hero-orbit { min-width:300px; min-height:300px; top:57%; right:-110px; } .hero h1 { font-size:clamp(43px,11vw,57px); } .search-bar-wrap { gap:9px; } .search-bar-wrap input { font-size:15px; } .search-description { margin-left:0; line-height:1.5; } .field-grid { grid-template-columns:1fr 1fr; } .field-card { min-height:88px; padding:10px; } .field-copy strong { font-size:10px; } .manifesto-points { align-items:flex-start; flex-direction:column; gap:12px; width:max-content; margin:28px auto 0; } .site-footer { align-items:flex-start; flex-direction:column; } .tool-dialog .input-grid { grid-template-columns:1fr; } .tool-output { align-items:flex-start; flex-direction:column; gap:6px; } .tool-output strong { text-align:left; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } .ring-one,.ring-two,.marquee div { animation:none!important; } }

/* Closer to the reference: crisp white masked headline, soft entrance, and eased card motion. */
.hero h1 { font-weight:560; }
.hero h1 .line-mask > span { color:#f5f7f4; animation:hero-line-in .92s cubic-bezier(.16,1,.3,1) both; }
.hero h1 .line-mask:nth-child(1) > span { animation-delay:.08s; }
.hero h1 .line-mask:nth-child(2) > span { animation-delay:.2s; }
.hero h1 .line-mask > span em { color:var(--lime); }
@keyframes hero-line-in { from { opacity:0; transform:translate3d(0,105%,0); } to { opacity:1; transform:translate3d(0,0,0); } }

.reveal-card { opacity:1; transform:none; animation:none; }
.scroll-reveal-ready [data-scroll-reveal] { opacity:0; transform:translate3d(0,18px,0); transition:opacity .72s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1); transition-delay:var(--reveal-delay,0ms); }
.scroll-reveal-ready [data-scroll-reveal].is-visible { opacity:1; transform:translate3d(0,0,0); }

.card-shell .calc-card { --pointer-x:50%; --pointer-y:50%; }
.card-shell .calc-card::before { content:""; position:absolute; z-index:0; inset:0; pointer-events:none; opacity:0; background:radial-gradient(ellipse at var(--pointer-x) var(--pointer-y),rgba(255,255,255,.09),transparent 52%); transition:opacity .35s ease; }
.card-shell .calc-card::after { z-index:0; transition:opacity .35s ease,transform .5s cubic-bezier(.22,1,.36,1); }
.card-shell .calc-card > * { position:relative; z-index:1; }
.card-shell .calc-card:hover::before { opacity:1; }
.card-shell .calc-card:hover::after { transform:scale(1.12); opacity:.13; }
.category,.favorite-filter,.text-button,.workflow-link,.hero-cta { transition:transform .28s cubic-bezier(.22,1,.36,1),color .24s ease,background-color .24s ease,border-color .24s ease,box-shadow .28s ease; }
.category:hover,.favorite-filter:hover { transform:translateY(-2px); }

@media (hover:none) { .card-shell { perspective:none; }.card-shell .calc-card,.card-shell .calc-card:hover { transform:none; }.card-shell .calc-card::before { display:none; } }
@media (prefers-reduced-motion:reduce) {
  .hero h1 .line-mask > span { animation:none; opacity:1; transform:none; }
  .scroll-reveal-ready [data-scroll-reveal] { opacity:1!important; transform:none!important; transition:none!important; }
  .card-shell .calc-card,.card-shell .calc-card:hover,.card-shell .calc-card:focus-visible { transform:none; transition:none; }
  .card-shell .calc-card::before,.card-shell .calc-card::after { transition:none; }
}

/* Keep specialist-field tool cards on the same hover language as the main catalog. */
.field-tool-card { position:relative; isolation:isolate; overflow:hidden; transition:transform .55s cubic-bezier(.16,1,.3,1),border-color .34s ease,background-color .34s ease,box-shadow .38s ease; }
.field-tool-card::before { content:""; position:absolute; z-index:0; inset:0; pointer-events:none; opacity:0; background:radial-gradient(ellipse at 50% 50%,rgba(255,255,255,.075),transparent 54%); transition:opacity .35s ease; }
.field-tool-card > * { position:relative; z-index:1; }
.field-tool-card:hover,.field-tool-card:focus-within { transform:translate3d(0,-8px,0) rotate(1deg); border-color:rgba(184,255,61,.62); background-color:#111518; box-shadow:0 18px 42px rgba(0,0,0,.3),0 0 28px rgba(184,255,61,.055); }
.field-tool-card:hover::before,.field-tool-card:focus-within::before { opacity:1; }
.field-tool-card:active { transform:translate3d(0,-2px,0) scale(.98); }
.tool-output-value { display:flex; min-width:0; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:9px; }
.tool-output-value strong { min-width:0; }
.tool-output-value select { flex:none; }
.result-in-words { display:block; flex-basis:100%; color:#9aa3a8; font:11px/1.45 Inter,'Segoe UI',sans-serif; text-align:right; overflow-wrap:anywhere; }
.result-in-words[hidden] { display:none; }
.result-main .result-in-words { margin-top:8px; }
.result-subitem .result-in-words { margin-top:5px; font-size:10px; text-align:left; }
.tool-output-value .result-in-words { text-align:right; }
@media (hover:none) { .field-tool-card,.field-tool-card:hover,.field-tool-card:focus-within { transform:none; }.field-tool-card::before { display:none; } }
@media (max-width:520px) { .tool-output-value { justify-content:flex-start; flex-wrap:wrap; } }

/* Refined to match the Emergent reference: light line icons, direct hover motion, and readable dark field cards. */
.site-header .brand { color:var(--ink); }
.site-header .nav-links { margin-left:auto; margin-right:auto; }
.brand-mark svg { width:18px; height:18px; }
.ui-icon { display:block; width:16px; height:16px; flex:none; }
.search-bar-wrap > .ui-icon { width:22px; height:22px; }
.search-mini .ui-icon { width:16px; height:16px; }
.history-action .ui-icon,.mobile-menu .ui-icon { width:19px; height:19px; }
.favorite-filter { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.favorite-filter .ui-icon { width:14px; height:14px; }
.favorites-count { min-width:17px; text-align:center; }
.card-arrow .ui-icon { width:15px; height:15px; }
.card-symbol {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin-top:34px;
  border-radius:0;
  padding:0;
  background:transparent;
  font-size:0;
}
.calc-icon { display:block; width:48px; height:48px; color:currentColor; }
.modal-symbol { color:var(--card-accent); background:color-mix(in srgb,var(--card-accent) 10%,transparent); }
.modal-symbol .calc-icon { width:34px; height:34px; }
.search-mini,.history-action,.mobile-menu,.clear-search,.card-favorite,.favorite-filter,.category,.hero-cta,.run-button,.workflow-link,.text-button,.button {
  transition:transform .34s cubic-bezier(.16,1,.3,1),color .24s ease,background-color .24s ease,border-color .24s ease,box-shadow .34s ease;
}
.search-mini:hover,.history-action:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(0,0,0,.22); }
.mobile-menu:hover,.clear-search:hover { color:var(--lime); transform:scale(1.06); }
.favorite-filter:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(255,115,190,.12); }
.category:hover { transform:translateY(-2px) scale(1.025); }
.category:active,.favorite-filter:active,.hero-cta:active,.run-button:active,.button:active { transform:scale(.97); }
.clear-search { display:grid; place-items:center; padding:0; }
.clear-search[hidden],.empty-state[hidden] { display:none!important; }
.clear-search .ui-icon { width:15px; height:15px; }
.card-shell { perspective:none; }
.card-shell .calc-card {
  --pointer-x:50%;
  --pointer-y:50%;
  transform:translate3d(0,0,0) rotate(0deg);
  transform-style:flat;
  backface-visibility:visible;
  transition:transform .55s cubic-bezier(.16,1,.3,1),border-color .34s ease,background-color .34s ease,box-shadow .38s ease;
}
.card-shell .calc-card:hover,.card-shell .calc-card:focus-visible {
  transform:translate3d(0,-8px,0) rotate(var(--card-hover-rotation,1deg));
  border-color:rgba(184,255,61,.62);
  background-color:#111518;
  box-shadow:0 18px 42px rgba(0,0,0,.3),0 0 28px rgba(184,255,61,.055);
}
.card-shell .calc-card:active { transform:translate3d(0,-2px,0) scale(.98); }
.card-shell .calc-card::before { background:radial-gradient(ellipse at var(--pointer-x) var(--pointer-y),rgba(255,255,255,.075),transparent 54%); }
.card-shell .calc-card:hover::after { transform:scale(1.1); opacity:.12; }
.card-shell .calc-card.is-pointer-active::before { opacity:1; }
.card-favorite { transition:transform .3s cubic-bezier(.16,1,.3,1),color .2s ease,border-color .2s ease,background-color .2s ease; }
.card-favorite .ui-icon { width:15px; height:15px; }
.card-favorite:hover { transform:scale(1.1); background:#111216; }
.card-favorite[aria-pressed="true"] .ui-icon { fill:currentColor; }
.field-card {
    width:100%;
    font:inherit;
    text-align:left;
    cursor:pointer;
    text-decoration:none;
  color:#d9dede;
  background:#0d1012;
  border-color:var(--line);
  transition:transform .36s cubic-bezier(.16,1,.3,1),border-color .25s ease,background-color .25s ease,box-shadow .3s ease;
}
.field-card.has-tools { color:#e5ebe7; background:rgba(184,255,61,.055); border-color:rgba(184,255,61,.3); }
  .field-card:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
  .field-card.is-selected { border-color:var(--lime); box-shadow:0 0 0 1px rgba(184,255,61,.16),0 8px 24px rgba(184,255,61,.07); }
.field-copy strong { color:#e5e9e9; }
.field-card.has-tools .field-copy strong { color:#f1f6ee; }
.field-card.has-tools .field-copy small { color:#a0b98b; }
.field-card:hover { transform:translateY(-3px); border-color:rgba(112,232,255,.4); background:#11171a; box-shadow:0 12px 30px rgba(0,0,0,.2); }
.field-card.has-tools:hover { border-color:rgba(184,255,61,.62); background:rgba(184,255,61,.09); }
.field-index { display:grid; place-items:center; width:29px; height:29px; flex:0 0 29px; border-radius:9px; background:rgba(184,255,61,.1); }
.hero-cta:hover,.run-button:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(184,255,61,.19); }
.workflow-link:hover,.text-button:hover { transform:translateX(3px); }

@media (hover:none) {
  .card-shell .calc-card,.card-shell .calc-card:hover,.card-shell .calc-card:focus-visible { transform:none; }
  .field-card:hover,.field-card.has-tools:hover { transform:none; }
}
@media (prefers-reduced-motion:reduce) {
  .card-shell .calc-card,.card-shell .calc-card:hover,.card-shell .calc-card:focus-visible,.field-card,.field-card:hover { transform:none!important; transition:none!important; }
}

/* Clearer calls to action and calmer, consistent controls. */
.hero-cta {
  min-height:52px;
  padding:7px 8px 7px 20px;
  gap:22px;
  border:1px solid rgba(184,255,61,.9);
  font-size:13px;
  font-weight:700;
  letter-spacing:.005em;
}
.cta-arrow { display:grid; place-items:center; width:36px; height:36px; border:1px solid rgba(5,5,8,.18); border-radius:50%; background:rgba(5,5,8,.06); transition:transform .34s cubic-bezier(.16,1,.3,1),background-color .24s ease; }
.cta-arrow svg { display:block; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hero-cta:hover .cta-arrow { transform:translate(2px,-2px); background:rgba(5,5,8,.12); }
.hero-cta:active .cta-arrow { transform:scale(.94); }
.button {
  min-height:42px;
  padding:0 16px;
  border-radius:3px;
  font-size:11px;
  font-weight:650;
  letter-spacing:.005em;
}
.button-primary { color:#080b06; background:var(--lime); box-shadow:0 4px 14px rgba(184,255,61,.08); }
.button-primary:hover { color:#050508; background:#caff6a; box-shadow:0 8px 24px rgba(184,255,61,.18); }
.button-secondary { border-color:rgba(184,255,61,.28); color:#d3e5bf; background:rgba(184,255,61,.07); }
.button-secondary:hover { border-color:rgba(184,255,61,.55); color:var(--ink); background:rgba(184,255,61,.12); }
.button-quiet { border-color:var(--line); color:#c0c7ca; background:rgba(255,255,255,.035); }
.button-quiet:hover { border-color:rgba(255,255,255,.28); color:var(--ink); background:rgba(255,255,255,.075); }
.button-danger { border-color:rgba(255,115,115,.24); color:#ff9b9b; background:rgba(255,83,83,.07); }
.button-danger:hover { border-color:rgba(255,115,115,.52); color:#ffc4c4; background:rgba(255,83,83,.13); }
body[data-theme="dark"] .button-primary { color:#080b06; background:var(--lime); }
body[data-theme="dark"] .button-primary:hover { color:#050508; background:#caff6a; }
.text-button { padding:7px 2px; color:var(--lime); font:600 11px/1.4 Inter,'Space Grotesk','Segoe UI',sans-serif; letter-spacing:.005em; }
.text-button:hover { color:#d0ff84; }
.workflow-link { font:600 12px/1.5 Inter,'Space Grotesk','Segoe UI',sans-serif; letter-spacing:.005em; text-transform:none; }
.workflow-link:hover { color:#d0ff84; }
.button:focus-visible,.hero-cta:focus-visible,.text-button:focus-visible,.workflow-link:focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
.quantity-unit-label { display:flex; min-height:44px; align-items:center; padding:10px 11px; overflow:hidden; border:1px solid var(--line); border-radius:2px; color:#aab2b6; background:#090b0d; font-size:11px; white-space:nowrap; }

/* Dedicated, crawlable landing pages for every research field. */
.field-page { max-width:1280px; min-height:70vh; padding-top:30px; padding-bottom:100px; }
.field-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0; font:10px 'DM Mono',ui-monospace,monospace; }
.field-breadcrumbs a { color:#aeb8bb; text-decoration:none; }
.field-breadcrumbs a:hover { color:var(--lime); }
.field-breadcrumbs [aria-current="page"] { color:#edf1ef; }
.field-directory-meta { margin:20px 0 0; color:#788286; font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.08em; }
.field-page-hero { display:grid; grid-template-columns:minmax(0,1fr) 220px; align-items:center; gap:clamp(32px,8vw,120px); min-height:330px; padding:56px 0 76px; border-bottom:1px solid var(--line); }
.field-page-hero h1 { max-width:850px; margin:18px 0 20px; color:#f2f5f2; font-size:clamp(42px,7vw,86px); line-height:.98; letter-spacing:-.055em; }
.field-page-hero > div:first-child > p:last-child { max-width:680px; margin:0; color:#a2aaae; font-size:15px; line-height:1.7; }
.field-page-count { display:flex; min-height:180px; align-items:center; justify-content:center; flex-direction:column; gap:10px; border:1px solid rgba(184,255,61,.38); border-radius:50%; color:var(--lime); background:radial-gradient(circle,rgba(184,255,61,.095),rgba(184,255,61,.015) 68%); text-align:center; }
.field-page-count strong { font:500 52px/1 'DM Mono',ui-monospace,monospace; }
.field-page-count span,.field-page-count small { font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; }
.field-page-count small { color:#87918d; letter-spacing:.06em; }
.field-page-catalog { padding:62px 0 36px; }
.field-page-section-heading { display:grid; grid-template-columns:minmax(250px,.9fr) minmax(280px,1.1fr); align-items:end; gap:40px; margin-bottom:26px; }
.field-page-section-heading h2,.field-empty-state h2 { margin:12px 0 0; color:#eff3ef; font-size:clamp(25px,3.2vw,40px); line-height:1.08; letter-spacing:-.035em; }
.field-page-section-heading > p { max-width:620px; margin:0; color:#899397; font-size:12px; line-height:1.7; }
.field-tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.field-tool-card { display:flex; min-height:220px; flex-direction:column; padding:22px; border:1px solid var(--line); background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); transition:transform .3s cubic-bezier(.16,1,.3,1),border-color .25s ease,background .25s ease; }
.field-tool-card:hover { transform:translateY(-4px); border-color:rgba(184,255,61,.48); background:rgba(184,255,61,.045); }
.field-tool-card h3 { margin:18px 0 9px; font-size:19px; line-height:1.2; }
.field-tool-card h3 a { color:#eff3ef; text-decoration:none; }
.field-tool-card h3 a:hover,.field-tool-card-footer a:hover { color:var(--lime); }
.field-tool-card > p { margin:0 0 24px; color:#929b9e; font-size:12px; line-height:1.65; }
.field-tool-card-footer { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-top:auto; padding-top:14px; border-top:1px solid var(--line); color:#6f797d; font:9px 'DM Mono',ui-monospace,monospace; }
.field-tool-card-footer a,.field-page-suggest { color:var(--lime); text-decoration:none; white-space:nowrap; }
.field-page-note,.field-empty-state { max-width:820px; margin-top:28px; padding:22px 24px; border-left:2px solid var(--cyan); background:rgba(112,232,255,.045); color:#a6afb2; font-size:12px; line-height:1.7; }
.field-page-note p,.field-empty-state p { margin:8px 0 0; }
.field-page-note strong { color:#eef2f0; }
.field-empty-state { margin:70px 0 50px; padding:clamp(24px,5vw,48px); border-left-color:var(--lime); background:rgba(184,255,61,.04); }
.field-empty-state .hero-cta { display:inline-flex; margin-top:24px; color:#060805; }
.field-page-suggest-wrap { margin:38px 0 0; padding-top:22px; border-top:1px solid var(--line); text-align:right; }
.field-page-suggest { font:10px 'DM Mono',ui-monospace,monospace; }
.tool-field-links { margin-top:44px; padding-top:26px; border-top:1px solid var(--line); }
.tool-field-links h2 { margin:0 0 8px; color:#eef2ef; font-size:19px; }
.tool-field-links > p { color:#818b8f; font-size:12px; }
.tool-field-links > div { display:flex; flex-wrap:wrap; gap:8px; }
.field-tag-link { padding:8px 11px; border:1px solid var(--line); border-radius:999px; color:#bfc7c6; font:9px 'DM Mono',ui-monospace,monospace; text-decoration:none; }
.field-tag-link:hover { border-color:rgba(184,255,61,.5); color:var(--lime); background:rgba(184,255,61,.04); }
.field-card.is-selected { border-color:var(--lime); }
.field-card:focus-visible,.field-tool-card a:focus-visible,.field-empty-state a:focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
.field-directory-page { max-width:1280px; min-height:70vh; padding-top:30px; padding-bottom:100px; }
.field-directory-hero { max-width:860px; padding:48px 0 42px; }
.field-directory-hero h1 { margin:15px 0 18px; color:#f2f5f2; font-size:clamp(45px,7vw,82px); line-height:.98; letter-spacing:-.055em; }
.field-directory-hero h1 span { color:#747b80; }
.field-directory-hero > p:last-child { max-width:700px; margin:0; color:#9aa3a7; font-size:14px; line-height:1.7; }
.field-directory-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px 20px; margin:16px 0 20px; }
.field-directory-controls label { grid-column:1/-1; color:#a9b1b3; font:9px 'DM Mono',ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; }
.field-directory-controls input { width:100%; min-height:48px; padding:0 15px; border:1px solid var(--line); border-radius:3px; color:#eef2f0; background:#0b0e10; font:13px Inter,'Space Grotesk','Segoe UI',sans-serif; }
.field-directory-controls input:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.field-directory-controls > p { margin:0; color:#7e898c; font:9px 'DM Mono',ui-monospace,monospace; text-align:right; }
.field-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.field-directory-card { display:flex; min-height:76px; align-items:flex-start; gap:12px; padding:14px; border:1px solid var(--line); color:#e5ebe7; background:#0d1012; text-decoration:none; transition:transform .28s cubic-bezier(.16,1,.3,1),border-color .22s ease,background .22s ease; }
.field-directory-card:hover { transform:translateY(-3px); border-color:rgba(184,255,61,.48); background:rgba(184,255,61,.055); }
.field-directory-card .field-index { flex:0 0 29px; }
.field-directory-card-copy { min-width:0; flex:1; }
.field-directory-card-copy strong,.field-directory-card-copy small { display:block; }
.field-directory-card-copy strong { color:#edf1ee; font-size:12px; font-weight:550; line-height:1.4; }
.field-directory-card-copy small { margin-top:6px; color:#83908d; font:8px/1.5 'DM Mono',ui-monospace,monospace; text-transform:uppercase; }
.field-directory-card-arrow { color:#717b7e; font-size:14px; }
.field-directory-card:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
.field-directory-card[hidden] { display:none; }
.field-directory-empty { padding:30px 0; color:#a8b1b3; }
.field-directory-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:28px; padding-top:20px; border-top:1px solid var(--line); }
.field-directory-footer p { max-width:740px; margin:0; color:#849094; font-size:11px; line-height:1.7; }
.field-directory-footer a { color:var(--lime); font:9px 'DM Mono',ui-monospace,monospace; text-decoration:none; white-space:nowrap; }
.field-directory-footer a:focus-visible { outline:2px solid var(--cyan); outline-offset:4px; }
@media (max-width:900px) { .field-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .field-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .field-page-hero { grid-template-columns:1fr; gap:28px; min-height:0; padding:45px 0 48px; }.field-page-count { width:145px; min-height:145px; }.field-page-count strong { font-size:42px; }.field-page-section-heading { grid-template-columns:1fr; gap:14px; }.field-tool-grid { grid-template-columns:1fr; }.field-tool-card { min-height:190px; }.field-page-suggest-wrap { text-align:left; }.field-directory-hero { padding:38px 0 28px; }.field-directory-controls { grid-template-columns:1fr; }.field-directory-controls label { grid-column:auto; }.field-directory-controls > p { text-align:left; }.field-directory-grid { grid-template-columns:1fr; }.field-directory-footer { align-items:flex-start; flex-direction:column; } }
@media (prefers-reduced-motion:reduce) { .field-tool-card,.field-tool-card:hover { transform:none!important; transition:none!important; } }

/* Calculation visuals are data-driven SVG schematics, sized for dialogs and narrow screens. */
.calculation-visual { min-width:0; margin:16px 0 6px; padding:14px 15px 10px; overflow:hidden; border:1px solid rgba(255,255,255,.1); background:linear-gradient(135deg,rgba(112,232,255,.045),rgba(184,255,61,.025)); }
.calculation-visual figcaption { display:grid; gap:4px; margin-bottom:8px; }
.calculation-visual figcaption strong { color:#edf3ef; font-size:11px; letter-spacing:.01em; }
.calculation-visual figcaption span { max-width:700px; color:#8d969a; font-size:9px; line-height:1.55; }
.calculation-visual svg { display:block; width:100%; height:auto; min-height:115px; max-height:230px; }
.visual-axis { stroke:rgba(255,255,255,.14); stroke-width:1; fill:none; }
.visual-label { fill:#aeb9bb; font:9px 'DM Mono',ui-monospace,monospace; }
.visual-small-label { fill:#aeb9bb; font:8px 'DM Mono',ui-monospace,monospace; }
.visual-result { fill:#b8ff3d; font:10px 'DM Mono',ui-monospace,monospace; }
.visual-footnote { fill:#778185; font:7px 'DM Mono',ui-monospace,monospace; }
.visual-curve { fill:none; stroke:#70e8ff; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.visual-point { fill:#b8ff3d; stroke:#050508; stroke-width:2; }
.visual-node { fill:#11171a; stroke:#70e8ff; stroke-width:1.5; }
.visual-node-alt { fill:#151a15; stroke:#b8ff3d; stroke-width:1.5; }
.visual-component { fill:#13191c; stroke:#70e8ff; stroke-width:1.5; }
.visual-component-alt { fill:#171a14; stroke:#b8ff3d; stroke-width:1.5; }
.visual-wire,.visual-arrow { fill:none; stroke:#b8ff3d; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.visual-pipe { fill:none; stroke:#70e8ff; stroke-width:10; stroke-linecap:round; opacity:.4; }
.visual-boundary { stroke:#a583ff; stroke-width:2; stroke-dasharray:4 5; }
.visual-layer { opacity:.7; stroke:#050508; stroke-width:2; }
.visual-bar-bg { fill:rgba(255,255,255,.08); }
.smart-next-steps { display:grid; gap:9px; margin:14px 0 6px; padding:13px; border:1px solid rgba(184,255,61,.22); background:rgba(184,255,61,.035); }
.smart-next-steps > .eyebrow { margin:0; font-size:8px; }
.smart-next-steps h3 { margin:0 0 2px; color:#f1f4ee; font-size:14px; letter-spacing:-.025em; }
.handoff-copy { display:grid; gap:4px; min-width:0; }
.handoff-copy strong { color:#e8eeea; font-size:10px; }
.handoff-copy small { color:#909a9d; font-size:8px; font-weight:400; line-height:1.5; }
.handoff-arrow { flex:none; color:var(--lime); font-size:16px; }
.smart-next-step-button { display:grid; gap:5px; width:100%; padding:11px 12px; border:1px solid rgba(255,255,255,.12); color:#dce3df; background:#0b0e10; text-align:left; cursor:pointer; }
.smart-next-step-button:hover { border-color:rgba(184,255,61,.5); background:#111610; }
.smart-next-step-button strong { font-size:10px; }
.smart-next-step-button span { color:#929b9e; font-size:8px; line-height:1.55; }
@media (max-width:520px) { .calculation-visual { margin-inline:-3px; padding:11px 9px 7px; }.calculation-visual svg { min-height:98px; }.visual-label { font-size:8px; }.visual-small-label { font-size:7px; }.smart-next-steps { padding:11px; } }

/* Readable calculator surfaces and guided, recursive input help. */
.field-help,.tool-dialog .field-help,.calculator-form-card .field-help { color:#b1bbbd!important; font-size:12px!important; line-height:1.6; }
.tool-input-field { display:grid; gap:9px; min-width:0; }
.input-help-button { justify-self:start; min-height:40px; padding:9px 13px; border:1px solid rgba(112,232,255,.32); border-radius:8px; color:#9cecff; background:rgba(112,232,255,.07); font:600 13px 'Space Grotesk',sans-serif; cursor:pointer; transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease; }
.input-help-button:hover { transform:translateY(-1px); border-color:rgba(112,232,255,.7); background:rgba(112,232,255,.13); box-shadow:0 7px 20px rgba(0,0,0,.2); }
.input-help-button:focus-visible,.input-assistant-dialog button:focus-visible,.input-assistant-dialog input:focus-visible,.input-assistant-dialog select:focus-visible { outline:2px solid #70e8ff; outline-offset:3px; }
.input-assistant-dialog { width:min(880px,calc(100vw - 28px)); max-width:none; max-height:min(92dvh,960px); padding:0; overflow:hidden; border:1px solid rgba(184,255,61,.38); color:#edf2f0; background:#0c1012; box-shadow:0 32px 100px rgba(0,0,0,.72); }
.input-assistant-dialog::backdrop { background:rgba(2,4,5,.82); backdrop-filter:blur(7px); }
.input-assistant-panel { display:grid; grid-template-rows:auto minmax(0,1fr); max-height:min(92dvh,960px); }
.input-assistant-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px clamp(18px,4vw,34px); border-bottom:1px solid #293033; background:rgba(11,15,16,.96); }
.input-assistant-header .eyebrow { margin:0 0 7px; color:#b8ff3d; font:600 10px 'DM Mono',monospace; letter-spacing:.12em; }
.input-assistant-header h2 { margin:0; color:#f5f7f5; font-size:clamp(23px,3vw,31px); line-height:1.1; letter-spacing:-.045em; }
.input-assistant-close { width:42px; height:42px; border:1px solid #343d40; border-radius:50%; color:#e9efec; background:#13191b; font-size:25px; cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.input-assistant-close:hover { transform:rotate(90deg); border-color:#70e8ff; background:#182326; }
.input-assistant-body { min-height:0; padding:clamp(18px,4vw,34px); overflow:auto; overscroll-behavior:contain; scrollbar-color:#485557 #101517; scrollbar-width:thin; }
.input-assistant-screen { display:grid; gap:16px; animation:assistant-enter .24s cubic-bezier(.2,.8,.2,1) both; }
.input-assistant-screen[hidden] { display:none; }
@keyframes assistant-enter { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
.input-assistant-eyebrow,.input-assistant-result-label { margin:0; color:#b8ff3d; font:600 10px 'DM Mono',monospace; letter-spacing:.1em; text-transform:uppercase; }
.input-assistant-screen-title { margin:0; color:#f2f5f3; font-size:clamp(24px,4vw,34px); line-height:1.12; letter-spacing:-.045em; }
.input-assistant-copy { max-width:760px; margin:0; color:#c5cece; font-size:15px; line-height:1.7; }
.input-assistant-source { padding:15px 17px; border-left:3px solid #70e8ff; color:#dce5e3; background:#131a1c; font-size:14px; line-height:1.65; }
.input-assistant-search-label { margin:7px 0 -8px; color:#e8efec; font-size:14px; font-weight:600; }
.input-assistant-search { width:100%; min-height:48px; padding:12px 14px; border:1px solid #384345; border-radius:8px; color:#f2f6f3; background:#080b0d; font:15px 'Space Grotesk',sans-serif; }
.input-assistant-status,.input-assistant-footnote,.input-assistant-empty { margin:0; color:#aebabb; font-size:13px; line-height:1.65; }
.input-assistant-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.input-assistant-tool { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:76px; padding:15px 16px; border:1px solid #303a3d; border-radius:9px; color:#edf3f0; background:linear-gradient(135deg,#13191b,#0e1214); text-align:left; cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.input-assistant-tool:hover { transform:translateY(-2px); border-color:rgba(184,255,61,.55); background:linear-gradient(135deg,#1a2118,#111716); box-shadow:0 12px 28px rgba(0,0,0,.26); }
.input-assistant-tool-copy { display:grid; gap:6px; min-width:0; }
.input-assistant-tool-copy strong { color:#f2f5f3; font-size:15px; line-height:1.3; }
.input-assistant-tool-copy small { color:#b5c0c0; font-size:12px; line-height:1.5; }
.input-assistant-arrow { flex:none; color:#b8ff3d; font-size:18px; }
.input-assistant-footnote { padding-top:13px; border-top:1px solid #283134; color:#8e9b9d; }
.input-assistant-tool-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.input-assistant-back { min-height:40px; padding:8px 12px; border:1px solid #3a4548; border-radius:7px; color:#d7e0de; background:#141a1c; font-size:13px; cursor:pointer; }
.input-assistant-back:hover { border-color:#70e8ff; color:#a9efff; }
.input-assistant-badge { color:#b8ff3d; font:11px 'DM Mono',monospace; text-align:right; }
.input-assistant-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:18px; border:1px solid #303a3d; border-radius:10px; background:#111719; }
.input-assistant-field { display:grid; align-content:start; gap:8px; min-width:0; }
.input-assistant-field > label { color:#dce4e2; font-size:14px; font-weight:600; line-height:1.4; }
.input-assistant-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.input-assistant-controls input,.input-assistant-controls select { width:100%; min-width:0; min-height:46px; padding:10px 12px; border:1px solid #3a4447; border-radius:7px; color:#f5f7f6; background:#080b0d; font:15px 'Space Grotesk',sans-serif; }
.input-assistant-unit { align-self:stretch; display:flex; align-items:center; min-height:42px; padding:0 12px; border:1px solid #30393c; border-radius:7px; color:#c6d0ce; background:#151b1d; font-size:13px; white-space:nowrap; }
.input-assistant-hint { color:#a2adae; font-size:12px; line-height:1.5; }
.input-assistant-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; margin-top:3px; }
.input-assistant-calculate,.input-assistant-reset,.input-assistant-transfer { min-height:46px; padding:11px 16px; border:1px solid transparent; border-radius:7px; font:600 14px 'Space Grotesk',sans-serif; cursor:pointer; transition:transform .18s ease,filter .18s ease,border-color .18s ease; }
.input-assistant-calculate { color:#101507; background:#b8ff3d; }
.input-assistant-reset { border-color:#3a4548; color:#d8e1df; background:#171d1f; }
.input-assistant-transfer { width:100%; margin-top:10px; border-color:rgba(184,255,61,.36); color:#dff4bd; background:#1b2419; }
.input-assistant-calculate:hover,.input-assistant-reset:hover,.input-assistant-transfer:hover { transform:translateY(-1px); filter:brightness(1.08); }
.input-assistant-result { display:grid; gap:12px; padding:18px; border:1px solid #35432b; border-radius:10px; background:linear-gradient(145deg,#141b14,#111719); }
.input-assistant-result[hidden] { display:none; }
.input-assistant-output { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 0; border-bottom:1px solid #2c3637; }
.input-assistant-output-copy { display:grid; gap:4px; }
.input-assistant-output-copy strong { color:#d7e2df; font-size:14px; }
.input-assistant-output-copy span { color:#fff; font:600 22px 'DM Mono',monospace; }
.input-assistant-method { padding-top:8px; color:#c9d3d1; }
.input-assistant-method summary { color:#83eaff; font-size:14px; font-weight:600; cursor:pointer; }
.input-assistant-method p { margin:10px 0; color:#c0cbca; font-size:13px; line-height:1.65; }
.input-assistant-reference { color:#8beaff; font-size:13px; line-height:1.55; }
.input-assistant-error { grid-column:1/-1; margin:0; color:#ffb1a9; font-size:14px; line-height:1.6; }
.smart-next-steps { padding:17px; border-color:rgba(184,255,61,.3); border-radius:10px; background:linear-gradient(145deg,rgba(184,255,61,.065),rgba(112,232,255,.025)); }
.smart-next-steps > .eyebrow { font-size:10px; }
.smart-next-steps h3 { font-size:17px; }
.handoff-button { min-height:70px; padding:14px 16px; border-color:#313d3e; border-radius:9px; color:#edf3f0; background:linear-gradient(120deg,#111719,#151b18); font-size:14px; }
.handoff-button:hover { border-color:rgba(184,255,61,.55); color:#f6faef; background:linear-gradient(120deg,#1b2117,#121a18); }
.handoff-copy strong { color:#f0f5f2; font-size:15px; line-height:1.35; }
.handoff-copy small { color:#bdc8c7; font-size:13px; line-height:1.55; }
.smart-next-step-button { min-height:68px; padding:14px 15px; border-radius:8px; }
.smart-next-step-button strong { color:#f0f5f2; font-size:14px; line-height:1.4; }
.smart-next-step-button span { color:#bdc8c7; font-size:13px; line-height:1.6; }
.calculation-visual figcaption strong { font-size:15px; }
.calculation-visual figcaption span { color:#bbc5c5; font-size:13px; line-height:1.65; }
.visual-label { fill:#d0d9d9; font-size:10px; }
.visual-small-label { fill:#c0cbcb; font-size:9px; }
.visual-result { font-size:12px; }
.visual-footnote { fill:#aab5b6; font-size:9px; }
.tool-method-info p,.tool-method-info li,.method-source p,.method-source li { color:#c1cbca; font-size:14px; line-height:1.7; }
.tool-method-info h2,.tool-method-info h3 { color:#f1f5f3; }
@media (max-width:620px) {
  .input-assistant-dialog { width:calc(100vw - 12px); max-height:95dvh; }
  .input-assistant-panel { max-height:95dvh; }
  .input-assistant-header { padding:16px; }
  .input-assistant-body { padding:17px 15px 22px; }
  .input-assistant-tools,.input-assistant-form { grid-template-columns:1fr; }
  .input-assistant-actions { grid-column:auto; }
  .input-assistant-copy { font-size:14px; }
  .input-assistant-tool { min-height:68px; }
  .handoff-button { align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  .input-assistant-screen,.input-help-button,.input-assistant-dialog button,.input-assistant-tool,.input-assistant-close { animation:none!important; transition:none!important; }
}
.field-tool-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.8fr); align-items:center; gap:10px 18px; margin:26px 0 18px; padding:17px; border:1px solid #303a3d; border-radius:10px; background:#101517; }
.field-tool-controls label { color:#edf2ef; font-size:14px; font-weight:600; }
.field-tool-controls input { width:100%; min-height:46px; padding:11px 13px; border:1px solid #3a4548; border-radius:7px; color:#f3f6f4; background:#080b0d; font:15px 'Space Grotesk',sans-serif; }
.field-tool-controls input:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.field-tool-controls p { grid-column:1/-1; margin:0; color:#bdc7c7; font-size:13px; line-height:1.5; }
.field-tool-card[hidden] { display:none!important; }
.field-tools-more { display:block; min-height:46px; margin:20px auto 0; padding:11px 18px; border:1px solid rgba(184,255,61,.4); border-radius:7px; color:#eaf4d9; background:#171e14; font:600 14px 'Space Grotesk',sans-serif; cursor:pointer; transition:transform .2s ease,background .2s ease,border-color .2s ease; }
.field-tools-more:hover { transform:translateY(-1px); border-color:var(--lime); background:#20291b; }
.field-tools-more[hidden] { display:none!important; }
.field-page-section-heading > p { color:#b6c0c0; font-size:14px; line-height:1.7; }
.field-tool-card > p { color:#c0c9c8; font-size:14px; line-height:1.7; }
.field-tool-card-footer { color:#a3adae; font-size:11px; }
.field-page-note,.field-empty-state { color:#c0caca; font-size:14px; }
@media (max-width:620px) { .field-tool-controls { grid-template-columns:1fr; }.field-tool-controls p { grid-column:auto; } }

/* Light 3D depth and short SVG motion; numeric results and labels remain still. */
@keyframes visual-card-enter { from { opacity:0; transform:perspective(900px) translateY(7px) rotateX(1deg); } to { opacity:1; transform:perspective(900px) translateY(0) rotateX(0); } }
@keyframes visual-line-trace { to { stroke-dashoffset:0; } }
@keyframes visual-flow-travel { to { stroke-dashoffset:-44; } }
@keyframes visual-point-breathe { from { opacity:.72; } to { opacity:1; } }
@keyframes visual-shape-rise { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes visual-sphere-shimmer { from { opacity:.16; transform:translate(-2px,1px) rotate(-32deg); } to { opacity:.34; transform:translate(3px,-1px) rotate(-32deg); } }
.calculation-visual { transform-origin:50% 0; animation:visual-card-enter .42s cubic-bezier(.2,.7,.2,1); }
.visual-curve { stroke-dasharray:900; stroke-dashoffset:900; animation:visual-line-trace 1.05s cubic-bezier(.25,.7,.25,1) .08s both; }
.visual-point { animation:visual-point-breathe 1.8s ease-in-out .4s infinite alternate; }
.visual-flow-pulse { fill:none; stroke:#b8ff3d; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:3 19; animation:visual-flow-travel 1.2s linear infinite; }
.visual-geometry-face { fill:rgba(184,255,61,.12); stroke:#b8ff3d; stroke-width:2.5; }
.visual-3d-plane { fill:rgba(184,255,61,.12); stroke:#b8ff3d; stroke-width:2.5; transform-box:fill-box; transform-origin:center; animation:visual-shape-rise .62s ease-out .06s both; }
.visual-3d-face { fill:rgba(184,255,61,.1); stroke:rgba(184,255,61,.7); stroke-width:1.5; }
.visual-3d-side { fill:rgba(112,232,255,.13); stroke:rgba(112,232,255,.75); stroke-width:1.5; }
.visual-3d-top { fill:rgba(184,255,61,.22); stroke:#b8ff3d; stroke-width:1.7; }
.visual-3d-cylinder { fill:rgba(112,232,255,.1); stroke:rgba(112,232,255,.55); stroke-width:1.5; }
.visual-3d-base { fill:rgba(112,232,255,.08); stroke:#70e8ff; stroke-width:1.5; stroke-dasharray:5 4; }
.visual-3d-cone { fill:rgba(184,255,61,.12); stroke:#b8ff3d; stroke-width:2.5; }
.visual-3d-sphere,.visual-sphere-latitude { transform-box:fill-box; transform-origin:center; animation:visual-shape-rise .58s ease-out both; }
.visual-sphere-highlight { fill:#effff6; opacity:.23; transform-box:fill-box; transform-origin:center; animation:visual-sphere-shimmer 2.7s ease-in-out .4s infinite alternate; }
.visual-sphere-latitude { fill:none; stroke:#70e8ff; stroke-width:1.4; opacity:.58; animation-delay:.08s; }
.visual-3d-face,.visual-3d-side,.visual-3d-top,.visual-3d-cylinder,.visual-3d-base,.visual-3d-cone { transform-box:fill-box; transform-origin:center; animation:visual-shape-rise .58s ease-out both; }
.visual-3d-side { animation-delay:.08s; }
.visual-3d-top { animation-delay:.14s; }
@media (hover:hover) and (pointer:fine) {
  .calculation-visual { transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
  .calculation-visual:hover { transform:perspective(900px) translateY(-2px) rotateX(.45deg); border-color:rgba(112,232,255,.26); box-shadow:0 12px 28px rgba(0,0,0,.18); }
}
@media (prefers-reduced-motion:reduce) {
  .calculation-visual,.visual-curve,.visual-point,.visual-flow-pulse,.visual-3d-sphere,.visual-sphere-latitude,.visual-sphere-highlight { animation:none!important; }
  .calculation-visual,.calculation-visual:hover { transform:none!important; transition:none!important; }
  .visual-curve { stroke-dasharray:none; stroke-dashoffset:0; }
}

/* Make calculator results feel responsive while keeping motion short and optional. */
@keyframes result-enter { from { opacity:0; transform:translateY(9px) scale(.992); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes result-number-enter { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes button-glint { from { transform:translateX(-145%) skewX(-20deg); } to { transform:translateX(260%) skewX(-20deg); } }
.result-card > .result-ready-label,.tool-result-heading { animation:result-enter .32s cubic-bezier(.2,.7,.2,1) both; }
.result-main,.tool-output,.calculation-visual,.smart-next-steps { animation:result-enter .4s cubic-bezier(.2,.7,.2,1) both; }
.result-main strong,.tool-output-value strong { animation:result-number-enter .42s ease-out .07s both; }
.button,.smart-next-step-button,.handoff-button { position:relative; overflow:hidden; transform:translateZ(0); transition:transform .24s cubic-bezier(.2,.8,.2,1),color .2s ease,background-color .22s ease,border-color .22s ease,box-shadow .28s ease; }
.button { border-radius:5px; font-size:11px; font-weight:700; letter-spacing:.005em; }
.button-primary { box-shadow:0 5px 16px rgba(184,255,61,.12); }
.button-primary::after { position:absolute; top:-45%; bottom:-45%; left:-10%; width:34%; content:""; pointer-events:none; background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent); opacity:0; }
.button-primary:hover::after { opacity:1; animation:button-glint .68s ease-out; }
.button:hover:not(:disabled),.smart-next-step-button:hover,.handoff-button:hover { transform:translateY(-2px); box-shadow:0 9px 24px rgba(0,0,0,.2); }
.button:active:not(:disabled),.smart-next-step-button:active,.handoff-button:active { transform:translateY(0) scale(.985); }
.button:disabled { cursor:not-allowed; opacity:.48; }
.smart-next-step-button { display:flex; align-items:center; justify-content:space-between; gap:16px; border-radius:4px; transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .25s ease,background-color .25s ease,box-shadow .25s ease; }
.smart-next-step-button::after { flex:none; content:"↗"; color:var(--lime); font-size:16px; transition:transform .25s ease; }
.smart-next-step-button:hover::after { transform:translate(2px,-2px); }
.handoff-chooser { margin-top:5px; padding-top:9px; border-top:1px solid rgba(255,255,255,.1); }
.handoff-chooser > summary { color:#c5d0cd; font-size:9px; font-weight:650; cursor:pointer; }
.handoff-chooser > summary:hover { color:var(--lime); }
.handoff-chooser-content { display:grid; gap:9px; margin-top:9px; }
.handoff-chooser-content > p { margin:0; color:#929b9e; font-size:9px; line-height:1.6; }
.handoff-search,.handoff-select { width:100%; min-height:40px; padding:9px 11px; border:1px solid rgba(255,255,255,.15); border-radius:3px; color:#e8eeea; background:#090c0e; font:10px Inter,'Segoe UI',sans-serif; }
.handoff-search:focus,.handoff-select:focus { border-color:var(--cyan); outline:2px solid rgba(112,232,255,.18); outline-offset:1px; }
.handoff-selected-reason { padding:9px 11px; border-left:2px solid var(--cyan); background:rgba(112,232,255,.045); }
.handoff-carry { justify-self:start; }
.handoff-chooser option,.handoff-chooser optgroup { color:#e8eeea; background:#101416; }
@media (prefers-reduced-motion:reduce) {
  .result-card > .result-ready-label,.tool-result-heading,.result-main,.tool-output,.calculation-visual,.smart-next-steps,.result-main strong,.tool-output-value strong { animation:none!important; }
  .button-primary:hover::after { animation:none!important; }
  .button,.smart-next-step-button,.handoff-button { transition:none!important; }
  .button:hover:not(:disabled),.smart-next-step-button:hover,.handoff-button:hover { transform:none!important; }
}

/* Clearer input help and a distinct, searchable converter experience. */
.field-guidance-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 11px; min-width:0; }
.field-guidance-row .field-help { flex:1 1 100%; margin:0; }
.input-help-link { justify-self:start; width:fit-content; min-height:27px; padding:2px 0; border:0; border-radius:0; color:#8eeaff; background:transparent; font:600 12px/1.4 'Space Grotesk',sans-serif; text-align:left; text-decoration:underline; text-decoration-color:rgba(112,232,255,.46); text-underline-offset:3px; cursor:pointer; transition:color .18s ease,text-decoration-color .18s ease,transform .18s ease; }
.input-help-link:hover { color:#c8f7ff; text-decoration-color:currentColor; transform:translateX(2px); }
.input-help-link:focus-visible,.input-assistant-dialog button:focus-visible,.input-assistant-dialog input:focus-visible,.input-assistant-dialog select:focus-visible { outline:2px solid #70e8ff; outline-offset:3px; }
.input-assistant-tabs { display:flex; flex-wrap:wrap; gap:8px; padding-bottom:11px; border-bottom:1px solid #2b3537; }
.input-assistant-tab { min-height:40px; padding:8px 14px; border:1px solid #364144; border-radius:999px; color:#c0cbca; background:#111719; font:600 13px 'Space Grotesk',sans-serif; cursor:pointer; transition:color .2s ease,border-color .2s ease,background .2s ease,transform .2s ease; }
.input-assistant-tab:hover { transform:translateY(-1px); border-color:#6ddcf0; color:#eaffff; }
.input-assistant-tab.active { border-color:var(--lime); color:#0c1105; background:var(--lime); box-shadow:0 5px 20px rgba(184,255,61,.12); }
.input-assistant-copy { color:#c7d0cf; font-size:14px; line-height:1.7; }
.input-assistant-source { color:#c0cdcc; font-size:13px; line-height:1.7; }
.input-assistant-tool-copy strong { font-size:16px; }
.input-assistant-tool-copy small { color:#bdc8c8; font-size:13px; }
.input-assistant-status,.input-assistant-footnote,.input-assistant-empty { font-size:13px; }
.input-assistant-result-label { color:var(--lime); font:600 11px 'DM Mono',monospace; letter-spacing:.08em; }
.input-assistant-method p { font-size:14px; }
.input-assistant-reference { font-size:13px; }
.input-assistant-calculate,.input-assistant-reset,.input-assistant-transfer { min-height:48px; border-radius:5px; font-size:14px; }
.input-assistant-calculate,.input-assistant-transfer { box-shadow:0 7px 20px rgba(184,255,61,.09); }
.input-assistant-dialog { border-radius:12px; }
.input-assistant-close:hover { transform:rotate(90deg); }
.input-assistant-tool { border-radius:5px; }
.input-assistant-tool:hover { transform:translateY(-3px); }

.unit-converter-card { max-width:980px; border-radius:12px; background:radial-gradient(ellipse at 0 0,rgba(112,232,255,.055),transparent 40%),linear-gradient(145deg,#111719,#0d1012 66%); }
.unit-converter-form { display:grid; gap:17px; }
.unit-category-control { display:grid; grid-template-columns:minmax(140px,.35fr) minmax(220px,1fr); align-items:center; gap:13px; margin:0; }
.unit-category-control label { margin:0; color:#d4ddda; font-size:14px; }
.unit-category-control select,.unit-row input,.unit-row select { max-width:none; min-height:48px; padding:11px 13px; border:1px solid #364144; border-radius:5px; color:#f2f5f3; background:#080b0d; font:15px 'Space Grotesk',sans-serif; }
.unit-category-control select:focus-visible,.unit-row input:focus-visible,.unit-row select:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.converter-quick-categories { display:flex; flex-wrap:wrap; gap:8px; }
.converter-quick-category { min-height:36px; padding:7px 12px; border:1px solid #333e40; border-radius:999px; color:#c0c9c8; background:#0d1113; font:12px 'DM Mono',monospace; cursor:pointer; transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease; }
.converter-quick-category:hover { transform:translateY(-2px); border-color:rgba(112,232,255,.65); color:#e8fbff; }
.converter-quick-category.active { border-color:var(--cyan); color:#061115; background:var(--cyan); }
.unit-row { grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) 48px minmax(0,.9fr); gap:14px; align-items:end; padding:18px; border:1px solid #293335; border-radius:8px; background:rgba(5,8,9,.35); }
.unit-row label { color:#d7e0de; font-size:13px; }
.unit-group { align-content:start; gap:9px; }
.unit-row input,.unit-row select { width:100%; }
.unit-row .field-help { color:#aab7b8!important; font:12px/1.55 'Space Grotesk',sans-serif!important; }
.unit-row .unit-value-group { min-width:0; }
.swap-units { width:44px; height:44px; margin:0; border-color:#384648; border-radius:50%; color:#091417; background:var(--cyan); font-size:22px; box-shadow:0 8px 20px rgba(112,232,255,.12); transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease; }
.swap-units:hover { transform:rotate(180deg) scale(1.06); box-shadow:0 10px 24px rgba(112,232,255,.22); }
.unit-result { position:relative; display:grid; grid-template-columns:1fr auto; align-items:center; gap:5px 16px; margin:0; padding:20px 22px; border:1px solid rgba(184,255,61,.28); border-radius:8px; background:linear-gradient(110deg,rgba(184,255,61,.07),rgba(112,232,255,.035)); }
.unit-result-label { grid-column:1; color:#c6d1cd; font:600 11px 'DM Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }
.unit-result strong { grid-column:1; margin:0; color:var(--lime); font:500 clamp(24px,4vw,38px) 'DM Mono',monospace; letter-spacing:-.04em; }
.unit-result-summary { grid-column:1; color:#c0cbca; font-size:13px; line-height:1.55; }
.unit-copy-result { grid-column:2; grid-row:1/4; min-height:42px; padding:9px 14px; border:1px solid rgba(184,255,61,.38); border-radius:5px; color:#e9f5d7; background:#162013; font:600 13px 'Space Grotesk',sans-serif; cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.unit-copy-result:hover:not(:disabled) { transform:translateY(-2px); border-color:var(--lime); background:#202a19; }
.unit-copy-result:disabled { opacity:.45; cursor:not-allowed; }
.converter-directory { margin:46px auto 0; max-width:1180px; }
.converter-directory-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:19px; }
.converter-directory-heading h2 { margin:8px 0; color:#f3f5f3; font-size:clamp(30px,4vw,48px); letter-spacing:-.05em; }
.converter-directory-heading p { margin:0; color:#b2bcbc; font-size:15px; line-height:1.6; }
.converter-directory-count { color:#9faeae; font:12px/1.5 'DM Mono',monospace; text-align:right; }
.converter-directory-search { display:flex; align-items:center; gap:13px; margin:22px 0 17px; padding:0 14px 13px; border-bottom:1px solid #394244; color:var(--cyan); font-size:23px; }
.converter-directory-search input { flex:1; min-width:0; border:0; outline:0; color:#f2f5f3; background:transparent; font:17px 'Space Grotesk',sans-serif; }
.converter-directory-search input::placeholder { color:#849091; }
.converter-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.converter-directory-card { display:grid; align-content:start; gap:10px; min-height:175px; padding:17px; border:1px solid #303a3d; border-radius:6px; color:#edf3ef; background:linear-gradient(145deg,#111719,#0d1012); text-decoration:none; transition:transform .3s cubic-bezier(.16,1,.3,1),border-color .24s ease,background .24s ease,box-shadow .24s ease; }
.converter-directory-card:hover { transform:translateY(-4px); border-color:rgba(112,232,255,.52); background:#141a1c; box-shadow:0 14px 34px rgba(0,0,0,.24); }
.converter-directory-tag { color:var(--cyan); font:10px 'DM Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }
.converter-directory-card strong { font-size:17px; line-height:1.3; }
.converter-directory-card small { color:#b1bcbd; font-size:13px; line-height:1.55; }
.converter-directory-link { align-self:end; margin-top:auto; color:var(--lime); font:11px 'DM Mono',monospace; }
.converter-directory-more { display:block; min-height:45px; margin:20px auto 0; padding:10px 18px; border:1px solid rgba(112,232,255,.38); border-radius:5px; color:#e5f9fb; background:#111a1c; font:600 14px 'Space Grotesk',sans-serif; cursor:pointer; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.converter-directory-more:hover { transform:translateY(-2px); border-color:var(--cyan); background:#172427; }
.converter-directory-more[hidden] { display:none!important; }

/* A single card language and readable type keeps specialist pages and the catalog aligned. */
.calc-card { border-radius:5px; color:#f2f4f2; }
.calc-card .card-name { color:#f0f3f1; font-size:clamp(21px,2vw,24px); line-height:1.2; }
.calc-card .card-description { color:#b0b8b9; font-size:14px; line-height:1.55; }
.calc-card .card-tag,.calc-card .card-footer { font-size:11px; }
.card-favorite { border-color:#3a4446; background:#0d1112; }
.card-favorite:hover { transform:scale(1.08); border-color:var(--pink); color:var(--pink); }
.handoff-list { gap:9px; }
.handoff-button { min-height:82px; padding:15px 16px; border-radius:5px; text-decoration:none; transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .24s ease,background .24s ease,box-shadow .24s ease; }
.handoff-list > .handoff-button:first-child { border-color:rgba(184,255,61,.45); background:linear-gradient(110deg,rgba(184,255,61,.09),#111719 42%); box-shadow:inset 3px 0 var(--lime); }
.handoff-copy strong { font-size:16px; }
.handoff-copy small { max-width:740px; color:#c2ccca; font-size:13px; line-height:1.6; }
.handoff-chooser > summary { min-height:35px; padding:9px 0; color:#d0dad7; font-size:13px; }
.handoff-chooser-content > p { color:#bac5c4; font-size:13px; line-height:1.65; }
.handoff-search,.handoff-select { min-height:46px; font-size:14px; }
.handoff-selected-reason { color:#cfdbd8; font-size:13px; line-height:1.6; }
.visual-gear-shape { fill:rgba(184,255,61,.12); stroke:#b8ff3d; stroke-width:2; stroke-linejoin:round; filter:drop-shadow(0 5px 9px rgba(184,255,61,.13)); }
.visual-gear-hub { fill:#111719; stroke:#70e8ff; stroke-width:2; }
.visual-gear-center { fill:#70e8ff; }
.visual-gear-motion { animation-name:gear-turn; animation-timing-function:linear; animation-iteration-count:infinite; }
.visual-gear-driven { animation-direction:reverse; }
.visual-gear-speed-arc { fill:none; stroke:rgba(112,232,255,.56); stroke-width:1.4; stroke-dasharray:4 7; }
.visual-gear-label { fill:#e1e9e6; font:600 10px 'DM Mono',monospace; }
@keyframes gear-turn { to { rotate:360deg; } }
@media (max-width:760px) { .converter-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.unit-category-control { grid-template-columns:1fr; }.converter-directory-heading { align-items:flex-start; flex-direction:column; }.converter-directory-count { text-align:left; } }
@media (max-width:560px) { .converter-directory-grid { grid-template-columns:1fr; }.unit-row { grid-template-columns:1fr; gap:13px; padding:13px; }.unit-row input,.unit-row select { padding:9px 10px; font-size:14px; }.unit-row .field-help { font-size:11px!important; }.swap-units { justify-self:center; width:38px; height:38px; transform:rotate(90deg); }.swap-units:hover { transform:rotate(270deg) scale(1.06); }.unit-result { grid-template-columns:1fr; }.unit-copy-result { grid-column:1; grid-row:auto; justify-self:start; }.input-assistant-tabs { display:grid; grid-template-columns:1fr 1fr; }.input-assistant-tab { padding-inline:8px; font-size:12px; } }
@media (prefers-reduced-motion:reduce) { .input-help-link,.input-assistant-tab,.input-assistant-tool,.converter-quick-category,.swap-units,.converter-directory-card,.converter-directory-more,.handoff-button,.visual-gear-motion { animation:none!important; transition:none!important; transform:none!important; } }
.currency-context-control { display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,.55fr); align-items:center; gap:7px 16px; margin:0 0 4px; padding:15px 16px; border:1px solid rgba(112,232,255,.22); border-radius:6px; background:linear-gradient(110deg,rgba(112,232,255,.045),rgba(184,255,61,.025)); }
.currency-context-copy { display:grid; gap:4px; }
.currency-context-copy label { color:#edf3f0; font-size:14px; font-weight:650; }
.currency-context-copy small { color:#b8c3c2; font-size:12px; line-height:1.5; }
.currency-context-control select { width:100%; min-height:44px; padding:9px 11px; border:1px solid #3a4548; border-radius:4px; color:#f0f4f2; background:#090c0e; font:14px 'Space Grotesk',sans-serif; }
.currency-context-control select:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.currency-context-note { grid-column:1/-1; margin:0; color:#9eacad; font-size:12px; line-height:1.55; }
.quantity-unit-label[data-money-unit-field] { color:#dcf0cd; border-color:rgba(184,255,61,.24); background:rgba(184,255,61,.045); }
@media (max-width:620px) { .currency-context-control { grid-template-columns:1fr; }.currency-context-note { grid-column:auto; } }
/* Keep converters discoverable while visually separate from formula tools. */
.converter-section { display:flex; justify-content:space-between; align-items:center; gap:28px; margin:44px auto 96px; padding:clamp(24px,4vw,42px); max-width:1180px; border:1px solid rgba(174,255,41,.24); border-radius:18px; background:linear-gradient(120deg,rgba(174,255,41,.07),rgba(11,15,17,.93) 48%); }
.converter-section-copy { max-width:680px; }
.converter-section-copy h2 { margin:9px 0 10px; color:#f1f3f2; font-size:clamp(25px,3vw,38px); letter-spacing:-.045em; }
.converter-section-copy > p:last-child { max-width:620px; margin:0; color:#aeb7b9; font-size:15px; line-height:1.7; }
.converter-section-link { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:52px; padding:0 20px; color:#071000; background:#b4ff32; border:1px solid #b4ff32; border-radius:9px; font-size:15px; font-weight:700; text-decoration:none; transition:transform .2s ease,background .2s ease,box-shadow .2s ease; white-space:nowrap; }
.converter-section-link:hover { transform:translateY(-2px); background:#c4ff65; box-shadow:0 10px 28px rgba(180,255,50,.16); }
.converter-section-link:focus-visible { outline:3px solid #66e8f6; outline-offset:4px; }
@media (max-width:700px) { .converter-section { align-items:flex-start; flex-direction:column; margin:28px auto 70px; padding:22px; }.converter-section-link { width:100%; } }

.visual-measure-section { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; max-width:1180px; margin:0 auto 94px; padding:24px clamp(20px,3vw,34px); border:1px solid rgba(112,232,255,.22); border-radius:12px; background:linear-gradient(112deg,rgba(112,232,255,.055),rgba(14,18,20,.95) 43%,rgba(184,255,61,.035)); }
.visual-measure-mark { display:grid; width:56px; height:56px; place-items:center; border:1px solid rgba(112,232,255,.26); border-radius:14px; color:#70e8ff; background:rgba(112,232,255,.06); }
.visual-measure-mark svg { width:30px; height:30px; }
.visual-measure-copy { max-width:700px; }
.visual-measure-copy h2 { margin:6px 0 7px; color:#f1f4f2; font-size:clamp(22px,2.7vw,32px); line-height:1.15; letter-spacing:-.045em; }
.visual-measure-copy > p:last-child { max-width:660px; margin:0; color:#b7c2c1; font-size:14px; line-height:1.6; }
.visual-measure-link { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:48px; padding:10px 15px; border:1px solid rgba(112,232,255,.48); border-radius:6px; color:#dffaff; background:#122024; font-size:14px; font-weight:650; text-decoration:none; transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease; white-space:nowrap; }
.visual-measure-link:hover { transform:translateY(-2px); border-color:#70e8ff; background:#182b30; box-shadow:0 8px 23px rgba(112,232,255,.1); }
.visual-measure-link:focus-visible { outline:3px solid #b8ff3d; outline-offset:3px; }
@media (max-width:760px) { .visual-measure-section { grid-template-columns:auto 1fr; margin:0 16px 66px; }.visual-measure-link { grid-column:1/-1; width:100%; } }
@media (prefers-reduced-motion:reduce) { .visual-measure-link { transition:none!important; transform:none!important; } }

/* Final cross-page polish: readable controls and one calculator-card language. */
.field-tool-card {
  min-height:272px;
  padding:20px;
  border-radius:5px;
  border-color:#30383b;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012) 72%);
  transition:transform .32s cubic-bezier(.16,1,.3,1),border-color .24s ease,background .24s ease,box-shadow .28s ease;
}
.field-tool-card:hover,.field-tool-card:focus-within {
  transform:translate3d(0,-6px,0);
  border-color:rgba(184,255,61,.58);
  background:linear-gradient(145deg,rgba(184,255,61,.075),rgba(255,255,255,.018) 72%);
  box-shadow:0 16px 36px rgba(0,0,0,.27),0 0 22px rgba(184,255,61,.045);
}
.field-tool-card-top { display:flex; min-width:0; align-items:center; gap:11px; }
.field-tool-card-top .eyebrow { flex:1; min-width:0; color:#b8ff3d; font-size:10px; line-height:1.5; }
.field-tool-card-icon { display:grid; flex:none; width:42px; height:42px; place-items:center; border:1px solid rgba(184,255,61,.22); border-radius:9px; color:var(--lime); background:rgba(184,255,61,.055); transition:transform .28s ease,border-color .28s ease,background .28s ease; }
.field-tool-card-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.field-tool-card:hover .field-tool-card-icon,.field-tool-card:focus-within .field-tool-card-icon { transform:translateY(-2px); border-color:rgba(184,255,61,.52); background:rgba(184,255,61,.1); }
.field-tool-card-arrow { color:#879291; font-size:17px; transition:transform .22s ease,color .22s ease; }
.field-tool-card:hover .field-tool-card-arrow,.field-tool-card:focus-within .field-tool-card-arrow { transform:translate(2px,-2px); color:var(--lime); }
.field-tool-card h3 { margin:17px 0 8px; font-size:clamp(19px,1.7vw,22px); line-height:1.25; letter-spacing:-.025em; }
.field-tool-card h3 a { color:#f0f3f1; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:4px; transition:color .2s ease,text-decoration-color .2s ease; }
.field-tool-card h3 a:hover { color:#fff; text-decoration-color:var(--lime); }
.field-tool-card > p { margin:0 0 20px; color:#b7c0c0; font-size:14px; line-height:1.6; }
.field-tool-card-footer { align-items:center; gap:10px; color:#a8b1b1; font-size:10px; line-height:1.5; }
.field-tool-card-footer a { flex:none; color:var(--lime); font:600 11px/1.5 'Space Grotesk',sans-serif; }
.calc-card,.field-tool-card { border-radius:5px; }
.visual-gear-depth { fill:#29351d; stroke:rgba(184,255,61,.58); stroke-width:1.4; stroke-linejoin:round; }
.visual-gear-hub-depth { fill:#17272a; stroke:rgba(112,232,255,.7); stroke-width:1.2; }
.button { min-height:46px; padding-inline:15px; font-size:14px; line-height:1.3; }
.form-actions .button,.result-actions .button { min-height:46px; }
.field-tools-more,.converter-directory-more { min-height:46px; font-size:14px; }
.handoff-button { min-height:82px; }
.handoff-copy small { font-size:14px; line-height:1.6; }
.handoff-chooser > summary { font-size:13px; }
.handoff-chooser-content > p,.handoff-selected-reason { font-size:13px; line-height:1.65; }
.input-assistant-copy { max-width:76ch; }
.input-assistant-source,.input-assistant-footnote { line-height:1.65; }
.field-help { color:#b8c1c2; }
.field-guidance-row .input-help-link { margin-top:2px; }
.currency-context-note { color:#b4c0bf; }
.unit-result-summary { font-size:14px; }
.unit-copy-result { min-height:46px; font-size:14px; }
.converter-directory-card:focus-visible,.field-tool-card a:focus-visible,.field-tools-more:focus-visible,.converter-directory-more:focus-visible,.converter-quick-category:focus-visible,.swap-units:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
@media (max-width:900px) { .field-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) {
  .field-tool-grid { grid-template-columns:1fr; }
  .field-tool-card { min-height:235px; padding:17px; }
  .field-tool-card-footer { align-items:flex-start; flex-direction:column; }
  .field-tool-card-footer a { min-height:38px; display:inline-flex; align-items:center; }
  .button { min-height:46px; }
  .converter-directory-card { min-height:150px; }
  .handoff-copy small { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .field-tool-card,.field-tool-card:hover,.field-tool-card:focus-within,.field-tool-card-icon,.field-tool-card-arrow { transition:none!important; transform:none!important; }
}
.catalog-controls { align-items:center; gap:18px; }
.category-row { align-items:center; gap:12px; margin:24px 0; flex:1; }
.catalog-category-label { color:#d5dfdc; font-size:14px; font-weight:600; }
.catalog-category-select { min-width:min(300px,100%); max-width:100%; min-height:46px; padding:10px 38px 10px 14px; border:1px solid #3c4945; border-radius:12px; background:#101715; color:#f2f7f3; font:15px 'Space Grotesk',sans-serif; }
.catalog-fields-link { color:#bcff58; font-size:14px; font-weight:600; text-decoration:none; padding:10px; }
.catalog-fields-link:hover { text-decoration:underline; }
.hero-cta { border-radius:999px; padding:8px 9px 8px 22px; min-height:54px; gap:20px; }
.hero-cta .cta-arrow { border-radius:50%; }
.converter-directory-grid,.field-tool-directory { display:block; }
.directory-group { padding:22px 0 27px; border-bottom:1px solid #2a3431; }
.directory-group[hidden],.directory-links li[hidden] { display:none; }
.directory-group h3 { color:#f0f7f2; font:600 clamp(19px,2vw,25px) 'Space Grotesk',sans-serif; margin:0 0 18px; }
.directory-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 32px; padding:0; margin:0; list-style:none; }
.directory-links a { display:block; color:#c8e8d7; padding:9px 12px; border-radius:9px; font-size:15px; text-decoration:none; transition:background .2s,color .2s; }
.directory-links a:hover,.directory-links a:focus-visible { color:#b8ff3d; background:#18231d; text-decoration:underline; }
@media (max-width:680px) { .catalog-controls { align-items:stretch; } .category-row { flex-wrap:wrap; } .catalog-category-label { width:100%; } .catalog-category-select { flex:1; } .directory-links { grid-template-columns:1fr; gap:2px; } }
.category-row { display:flex; align-items:flex-start; flex-direction:column; gap:12px; }
.topic-featured { display:flex; flex-wrap:wrap; gap:9px; }
.category.topic-chip { min-height:40px; padding:9px 15px; border:1px solid #36423c; border-radius:999px; color:#c9d3cd; background:#101713; font:500 13px/1.3 'Space Grotesk',sans-serif; letter-spacing:0; }
.category.topic-chip:hover { color:#e8ffd3; border-color:#9bc34e; background:#1b2a1c; transform:translateY(-2px); }
.category.topic-chip.active,.category.topic-chip.active:hover { color:#0a1005; border-color:#b8ff3d; background:#b8ff3d; box-shadow:0 4px 18px rgba(184,255,61,.13); }
.topic-chip:focus-visible,.topic-summary:focus-visible,.topic-search:focus-visible { outline:2px solid #70e8ff; outline-offset:3px; }
.topic-disclosure { width:min(100%,720px); }
.topic-summary { width:max-content; max-width:100%; padding:9px 14px; border:1px solid #37443c; border-radius:999px; color:#d3dfd5; background:#121a16; cursor:pointer; font:600 13px 'Space Grotesk',sans-serif; }
.topic-summary:hover { border-color:#b8ff3d; color:#b8ff3d; }.topic-disclosure[open] .topic-summary { color:#b8ff3d; }
.topic-panel { margin-top:12px; padding:18px; border:1px solid #35443b; border-radius:16px; background:linear-gradient(135deg,#121c17,#0d1311); box-shadow:0 16px 35px rgba(0,0,0,.2); }
.topic-search-label { display:block; margin-bottom:7px; color:#e1eee3; font-size:14px; font-weight:600; }
.topic-search { width:100%; min-height:44px; padding:10px 13px; border:1px solid #44544a; border-radius:10px; color:#f0f7f1; background:#080e0b; font:14px 'Space Grotesk',sans-serif; }
.topic-result { margin:10px 0; color:#b6c8ba; font-size:13px; }.topic-list { display:flex; flex-wrap:wrap; gap:8px; max-height:240px; overflow:auto; scrollbar-color:#627660 #101713; padding:2px; }.topic-panel .catalog-fields-link { display:inline-block; margin-top:12px; padding:4px 0; }
@media(max-width:680px) { .topic-featured { gap:7px; }.category.topic-chip { font-size:13px; }.topic-panel { padding:14px; }.topic-disclosure { width:100%; } }
@media(prefers-reduced-motion:reduce) { .category.topic-chip { transition:none; }.category.topic-chip:hover { transform:none; } }
.catalog-controls { align-items:flex-start; }
.catalog-controls .favorite-filter { margin-top:24px; }
@media(max-width:800px) { .catalog-controls .favorite-filter { margin-top:0; } }
.unified-search-additions { display:grid; gap:12px; margin-top:22px; }
.unified-search-additions[hidden] { display:none; }
.search-result-group { padding:20px; border:1px solid #34443b; border-radius:15px; background:#101713; }
.search-result-group h3 { margin:0 0 12px; color:#f2f7f3; font-size:17px; }
.search-result-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 16px; }
.search-result-links a { padding:10px 12px; border-radius:8px; color:#d6e7db; font-size:14px; text-decoration:none; }
.search-result-links a:hover,.search-result-links a:focus-visible { color:#b8ff3d; background:#1a281d; text-decoration:underline; }
.search-result-links .search-all-converters { color:#b8ff3d; font-weight:600; }
@media(max-width:680px) { .search-result-links { grid-template-columns:1fr; } }
.brand-symbol { font-size:0; }
.brand-symbol::before { content:''; width:18px; height:18px; background:#050508; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M7 4h20v5H12v5h11v5H12v5h15v5H7V4Z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M7 4h20v5H12v5h11v5H12v5h15v5H7V4Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.currency-invitation { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:0 0 18px; padding:20px 22px; border:1px solid #425b38; border-radius:16px; color:#ecf8e9; background:linear-gradient(120deg,#19271a,#101916); text-decoration:none; }
.currency-invitation:hover { border-color:#b8ff3d; }.currency-invitation strong,.currency-invitation small { display:block; }.currency-invitation small { margin-top:5px; color:#bdcebe; font-size:13px; }.currency-invitation > span:last-child { font-size:23px; color:#b8ff3d; }
.currency-card { max-width:920px; padding:clamp(20px,4vw,38px); border:1px solid #35443c; border-radius:20px; background:linear-gradient(145deg,#151e1a,#0d1211); box-shadow:0 20px 55px #0004; }
.currency-card-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:25px; }.currency-card-heading h2 { margin:6px 0 0; font-size:clamp(24px,3vw,36px); }.currency-input-grid { display:grid; grid-template-columns:1fr 1fr auto 1fr; align-items:end; gap:12px; margin-bottom:20px; }.currency-input-grid label { display:grid; gap:8px; color:#dce8de; font-size:14px; font-weight:600; }.currency-input-grid input,.currency-input-grid select { width:100%; min-width:0; min-height:50px; padding:10px 12px; border:1px solid #44574a; border-radius:10px; color:#f4fbf5; background:#090f0c; font:15px 'Space Grotesk',sans-serif; }.currency-swap { min-width:50px; min-height:50px; border:1px solid #4a5b4f; border-radius:50%; color:#b8ff3d; background:#18231b; cursor:pointer; font-size:23px; }.currency-input-grid input:focus-visible,.currency-input-grid select:focus-visible,.currency-swap:focus-visible { outline:2px solid #70e8ff; outline-offset:3px; }
.currency-result { display:grid; gap:8px; margin-top:24px; padding:22px; border:1px solid #465f36; border-radius:14px; background:#172218; }.currency-result span { color:#b8ff3d; font:11px 'DM Mono',monospace; letter-spacing:.08em; }.currency-result strong { font-size:clamp(27px,5vw,44px); color:#f1f9ef; overflow-wrap:anywhere; }.currency-result p,.currency-note { color:#bbc9bf; font-size:14px; line-height:1.6; }.currency-note a,.currency-back a { color:#b8ff3d; text-decoration:underline; }.currency-back { margin-top:28px; }
.result-conversion { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:18px 0; padding:16px; border:1px solid #3a5040; border-radius:12px; background:#142019; }.result-conversion strong { color:#e1f2df; margin-right:auto; }.converter-carried { padding:12px 15px; border-left:3px solid #70e8ff; color:#ddf6fa; background:#142326; font-size:14px; }
@media(max-width:680px) { .currency-input-grid { grid-template-columns:1fr 1fr; }.currency-input-grid label:first-child { grid-column:1/-1; }.currency-swap { grid-column:1/-1; justify-self:center; min-height:42px; min-width:42px; }.currency-card-heading { align-items:flex-start; flex-direction:column; } }
.builder-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr); gap:16px; align-items:start; }.builder-card { display:grid; gap:12px; padding:clamp(20px,3vw,30px); border:1px solid #35443b; border-radius:18px; background:#111a15; }.builder-card h2 { font-size:24px; letter-spacing:-.04em; }.builder-card p { color:#bdcfc1; font-size:14px; line-height:1.6; }.builder-card label { color:#dce8de; font-size:14px; font-weight:600; }.builder-card input { display:block; width:100%; min-height:46px; margin-top:6px; padding:10px 12px; border:1px solid #44564a; border-radius:9px; color:#f2fbf3; background:#090f0b; font:15px 'Space Grotesk',sans-serif; }.builder-card input:focus-visible { outline:2px solid #70e8ff; outline-offset:2px; }.builder-card > .button { justify-self:start; }.builder-card code { color:#b8ff3d; overflow-wrap:anywhere; }.builder-actions { display:flex; flex-wrap:wrap; gap:9px; }.builder-saved { display:grid; gap:10px; color:#bbc9bf; }.builder-saved-item { display:flex; gap:9px; flex-wrap:wrap; align-items:center; padding:14px; border:1px solid #34463a; border-radius:12px; background:#0b120e; }.builder-saved-item strong,.builder-saved-item code { flex-basis:100%; }.builder-saved-item .button { min-height:38px; }.builder-card .currency-result { margin-top:0; }
#historyDialog,#historyRecordDialog { color:#edf6ef; border:1px solid #3c5142; border-radius:20px; background:linear-gradient(145deg,#15201a,#0d1310); box-shadow:0 28px 80px #000a; }
#historyDialog::backdrop,#historyRecordDialog::backdrop { background:rgba(0,0,0,.76); backdrop-filter:blur(9px); }
#historyDialog .dialog-heading h2,#historyRecordDialog .dialog-heading h2 { color:#f2f8f2; font-size:25px; }
#historyDialog .dialog-description,#historyRecordDialog .details-copy { color:#bfcec2; font-size:14px; line-height:1.6; }
#historyDialog .history-setting { border-color:#3c5142; background:#18241b; }
#historyDialog .history-setting strong { color:#f2f8f2; font-size:14px; }
#historyDialog .history-setting small { color:#b9cbbd; font-size:12px; }
#historyDialog .history-entry { border-color:#394b3e; background:#101813; padding:16px; }
#historyDialog .history-entry strong { color:#f2f8f2; font-size:15px; }
#historyDialog .history-entry small { color:#afc2b3; font-size:12px; }
#historyDialog .history-entry-summary { color:#d4e3d6; font-size:14px; line-height:1.5; }
#historyDialog .history-entry-actions .button { min-height:40px; font-size:13px; }
#historyDialog .history-empty { color:#c1d0c4; border-color:#526658; font-size:14px; }
@media(max-width:760px) { .builder-layout { grid-template-columns:1fr; } }
#historyDialog .history-search-label { display:grid; gap:8px; color:#deebe0; font-size:13px; font-weight:600; }
#historyDialog .history-search { width:100%; min-height:44px; padding:10px 12px; border:1px solid #42574a; border-radius:10px; color:#f3f9f3; background:#090f0b; font-size:14px; }
#historyDialog .history-search:focus-visible { outline:2px solid #70e8ff; outline-offset:2px; }
#historyDialog .history-search-status { margin:0; color:#b8c9bb; font-size:12px; }
#historyDialog .history-entry[hidden] { display:none; }
.currency-save-status { margin:10px 0 0; color:#c5e4c9; font-size:13px; line-height:1.4; }

/* Shared instrument workspace: readable inputs, stable results, quiet secondary actions. */
:root { --instrument-surface:#101916; --instrument-border:#35483e; --instrument-muted:#b9c9bf; --instrument-radius:18px; }
.calculator-runtime { align-items:start; gap:24px; }
.calculator-form-card,.result-card { min-width:0; border:1px solid var(--instrument-border); border-radius:var(--instrument-radius); padding:clamp(20px,2.6vw,32px); background:linear-gradient(145deg,#131e18,#0d1411); box-shadow:0 12px 40px #0002; }
.runtime-card-heading h2 { color:#f1f8f3; font-size:21px; letter-spacing:-.025em; }
.runtime-card-heading p,.field-help { color:var(--instrument-muted); font:13px/1.65 'Space Grotesk',sans-serif; text-transform:none; letter-spacing:0; }
.quantity-control { gap:9px; margin-bottom:8px; }
.quantity-control label { color:#e4eee7; font-size:14px; line-height:1.5; }
.quantity-control input,.quantity-control select { min-height:48px; font-size:16px; border-radius:10px; border-color:#3b5143; background:#080f0b; color:#f1f8f3; }
.quantity-unit-label { overflow-wrap:anywhere; white-space:normal; min-height:48px; border-radius:10px; font-size:13px; }
.result-main { padding-block:18px; border-bottom:1px solid var(--instrument-border); min-width:0; }
.result-main-label { color:#bbd2c3; font-size:13px; letter-spacing:.03em; line-height:1.5; }
.result-main strong { color:#d3ffa4; font-size:clamp(26px,3vw,38px); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.result-in-words { font-size:13px; line-height:1.6; color:#b8c9be; }
.result-actions { display:flex; gap:8px; flex-wrap:wrap; padding-block:18px; margin:0 0 8px; border-bottom:1px solid var(--instrument-border); }
.result-actions .button { min-height:42px; font-size:13px; border-radius:999px; padding:10px 15px; }
.result-actions .button-quiet { border-color:transparent; background:transparent; color:#c5d5cb; }
.result-actions .button-quiet:hover { border-color:#536c5b; background:#1b2c21; color:#f2fff5; }
.form-actions .button-primary { border-radius:999px; padding-inline:24px; box-shadow:0 5px 16px #b8ff3d12; }
.form-actions .button-quiet { border-radius:999px; }
.smart-next-steps { border-radius:14px; border:1px solid #394d35; background:#141e13; padding:20px; }
.handoff-button { border-radius:12px; background:#0b130d; }
.handoff-copy strong { font-size:15px; line-height:1.4; color:#ebf7ed; }
.handoff-copy small { font-size:13px; color:#bdcec0; }
.result-details summary { padding-block:16px; color:#d2e8d9; font-size:14px; }
.button:focus-visible { outline:2px solid #70e8ff; outline-offset:4px; }
.button:disabled { opacity:.5; cursor:not-allowed; transform:none; }
@media(max-width:680px) { .calculator-runtime { gap:16px; }.quantity-control { grid-template-columns:minmax(0,1fr) minmax(96px,32%); }.result-actions .button { flex:1 1 auto; }.smart-next-steps { padding:16px; } }
