:root{
  --bg:#fbfcfe;
  --paper:#fff;
  --ink:#18212b;
  --muted:#687485;
  --line:#e7ebf0;
  --soft:#f3f5f8;
  --accent:#8b43d9;
  --accent-soft:#f3ebfb;
  --green:#159a63;
  --shadow:0 18px 50px rgba(25,35,50,.07);
  --shadow-sm:0 7px 24px rgba(25,35,50,.055);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:200;background:rgba(251,252,254,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.03em;font-size:18px;white-space:nowrap}.brand img{width:36px;height:36px;border-radius:50%}
.nav-links{display:flex;align-items:center;gap:28px;color:#596575;font-size:13px;font-weight:650}.nav-links a:hover{color:var(--ink)}
.nav-item{position:relative}
.nav-item > a,.nav-tools-trigger{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none;font:inherit;background:none;border:0;cursor:pointer;padding:8px 10px;border-radius:9px;transition:background .15s ease,color .15s ease}
.nav-item > a:hover,.nav-tools-trigger:hover,.nav-item.open > .nav-tools-trigger,.nav-item:hover > .nav-tools-trigger{color:var(--ink);background:#eef1f6}
.nav-caret{display:inline-block;width:10px;height:10px;margin-left:1px;transition:transform .18s ease}
.nav-caret svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nav-item:hover .nav-caret,.nav-item.open .nav-caret{transform:rotate(180deg)}
.tools-mega{position:absolute;left:50%;top:100%;width:min(1080px,calc(100vw - 32px));background:#fff;border:1px solid #e8ecf1;border-radius:18px;box-shadow:0 22px 60px rgba(20,30,45,.14),0 2px 10px rgba(20,30,45,.05);padding:26px 24px 22px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease,transform .15s ease;transform:translateX(-50%) translateY(8px);z-index:80}
/* Invisible bridge so the cursor can move from trigger into the panel without closing */
.tools-mega:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
.nav-item:hover .tools-mega,.nav-item.open .tools-mega{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(4px)}
.tools-mega-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 22px}
@media(max-width:1100px){
  .tools-mega{left:0;transform:translateX(0) translateY(8px);width:min(860px,calc(100vw - 24px))}
  .nav-item:hover .tools-mega,.nav-item.open .tools-mega{transform:translateX(0) translateY(4px)}
}
@media(max-width:900px){
  .tools-mega-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.tools-col{min-width:0}
.tools-col-title{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#98a1ae;margin:0 0 12px;padding:0 10px}
.tools-col a{display:flex;align-items:center;gap:11px;padding:10px 10px;border-radius:10px;color:#303946;font-size:13.5px;font-weight:650;text-decoration:none;transition:background .14s ease,color .14s ease,transform .14s ease;line-height:1.25}
.tools-col a:hover{background:#f0f3f7;color:#111827}
.tools-col a:active{background:#e7ebf0}
.tools-col a svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:#5c6876;transition:color .14s ease}
.tools-col a:hover svg{color:#202a35}
.nav-actions{display:flex;align-items:center;gap:9px}.nav-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-weight:750;border:0;cursor:pointer;transition:.2s ease}
.nav-btn{padding:9px 13px;background:#202a35;color:#fff;font-size:12px;box-shadow:none}.nav-btn:hover{background:#151d26}
.icon-btn{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:#5b6572}.mobile-toggle{display:none}

/* Compact utility-first hero */
.hero{position:relative;padding:58px 0 56px;background:var(--bg)}
.hero-inner{position:relative;z-index:2;text-align:center;max-width:820px;margin:0 auto}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 11px;color:#657181;font-size:11px;font-weight:750;box-shadow:0 4px 15px rgba(25,35,50,.035)}
.eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#8b43d9}
h1{font-size:clamp(40px,5.4vw,64px);line-height:1.02;letter-spacing:-.06em;margin:18px auto 16px;max-width:850px;color:var(--ink)}
.accent-word{color:#6f3e9f}
.hero-sub{font-size:17px;color:var(--muted);max-width:650px;margin:0 auto 19px}.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;color:#707b8a;font-size:12px;font-weight:650}.trust-row span:before{content:"✓";color:var(--green);margin-right:5px}
.recognizer{position:relative;z-index:2;margin:34px auto 0;max-width:890px;background:var(--paper);box-shadow:var(--shadow);border:1px solid var(--line);border-radius:24px;padding:22px}
.recognizer-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.step-label{display:flex;align-items:center;gap:10px;font-weight:800;font-size:14px}.step-number{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#202a35;color:#fff;font-size:10px}
.mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#f1f3f6;border-radius:13px;padding:5px}.mode{border:0;background:transparent;border-radius:9px;padding:11px 13px;color:#697585;font-weight:750;cursor:default;font-size:13px}.mode.active{background:#fff;color:#202a35;box-shadow:0 3px 12px rgba(30,40,55,.07)}
.dropzone{margin-top:12px;border:1px dashed #d5dce5;border-radius:17px;padding:38px 24px;text-align:center;background:#fcfdff}.drop-icon{width:52px;height:52px;border-radius:15px;background:var(--accent-soft);display:grid;place-items:center;margin:0 auto 13px;font-size:23px;color:#5e3c79}.dropzone h3{margin:0 0 6px;font-size:17px}.dropzone p{margin:0;color:#7a8595;font-size:12px}.fake-upload{margin:17px auto 0;padding:10px 16px;background:#202a35;color:#fff;border-radius:9px;display:inline-block;font-weight:750;font-size:12px}

.section{padding:76px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.section-kicker{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:850;color:#8993a1}.section h2{font-size:clamp(32px,3.8vw,48px);line-height:1.06;letter-spacing:-.05em;margin:6px 0 0}.section-desc{max-width:510px;color:var(--muted);margin:0;font-size:14px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step{padding:25px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:none}.step-num{font-size:10px;color:#9aa3af;font-weight:850;margin-bottom:38px}.step-icon{font-size:22px;margin-bottom:14px;color:#596575}.step h3,.tool-card h3,.use-card h3,.why-card h3{margin:0 0 7px;font-size:17px;letter-spacing:-.02em}.step p,.tool-card p,.use-card p,.why-card p{margin:0;color:var(--muted);font-size:13px}
.tools-band{background:#f5f7f9;border-top:1px solid #eef1f4;border-bottom:1px solid #eef1f4}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tool-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;min-height:178px;display:flex;flex-direction:column;box-shadow:none;transition:.18s ease}.tool-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.tool-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:19px;margin-bottom:25px;background:#f1f3f6;color:#485462}.i1,.i2,.i3,.i4,.i5,.i6,.i7,.i8{background:#f1f3f6}.tool-card .arrow{margin-top:auto;padding-top:16px;color:#707b89;font-size:12px;font-weight:800}.all-tools{margin-top:18px;text-align:center}.text-link{font-weight:800;font-size:13px;border-bottom:1px solid #aeb7c2;padding-bottom:2px}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.why-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:23px;box-shadow:none}.mini-icon{font-size:20px;margin-bottom:20px;color:#596575}.use-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.use-card{padding:22px;border-radius:17px;background:#fff;border:1px solid var(--line);box-shadow:none}
.cta{padding:70px 0}.cta-box{background:#202a35;color:#fff;border-radius:22px;padding:48px 40px;text-align:center}.cta-box h2{font-size:clamp(32px,4.5vw,52px);line-height:1.04;letter-spacing:-.055em;margin:0 auto 12px;max-width:760px}.cta-box p{color:#c8d0da;margin:0 auto 21px;max-width:610px;font-size:14px}.cta-btn{background:#fff;color:#202a35;padding:11px 17px;border-radius:9px;font-weight:850;display:inline-flex;font-size:13px}
footer{padding:32px 0 42px;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}.footer-copy{color:#7d8794;font-size:12px;max-width:350px}.footer-col h4{font-size:12px;margin:0 0 11px}.footer-col a{display:block;color:#7d8794;font-size:12px;margin:7px 0}.footer-bottom{margin-top:30px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#9aa3ae;font-size:11px}

/* Tools page */
.page-hero{padding:62px 0 36px;text-align:center;background:var(--bg)}.page-hero .inner{position:relative}.page-hero h1{font-size:clamp(40px,5.4vw,62px);margin-top:16px}.page-hero p{max-width:650px;margin:0 auto;color:var(--muted);font-size:15px}.filter-row{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:25px}.filter-pill{padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:9px;color:#687386;font-size:11px;font-weight:750}.filter-pill.active{background:#202a35;color:#fff;border-color:#202a35}.tools-section{padding:32px 0 84px}.tool-category{margin-top:38px}.category-title{font-size:20px;letter-spacing:-.03em;margin:0 0 14px}.tools-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tools-page-grid .tool-card{min-height:190px;scroll-margin-top:90px}.badge-soon{display:inline-flex;align-self:flex-start;margin-top:11px;font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:850;color:#7d8797;background:#f1f3f6;border-radius:7px;padding:5px 7px}
@media(max-width:900px){.nav-links{display:none}.mobile-toggle{display:grid}.steps,.why-grid,.use-grid,.tools-page-grid{grid-template-columns:1fr 1fr}.tool-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1.3fr 1fr}.section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.wrap{width:min(100% - 24px,1180px)}.nav{height:66px}.brand{font-size:16px}.brand img{width:33px;height:33px}.nav-actions .nav-btn{display:none}.hero{padding:48px 0 34px}h1{font-size:39px}.desktop-break{display:none}.hero-sub{font-size:15px}.recognizer{padding:15px;border-radius:20px}.mode-tabs{grid-template-columns:1fr}.mode:not(.active){display:none}.dropzone{padding:31px 17px}.section{padding:58px 0}.steps,.why-grid,.use-grid,.tool-grid,.tools-page-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:6px}.cta-box{padding:40px 20px;border-radius:19px}.page-hero{padding-top:52px}}

/* September refinement: flat, borderless utility UI */
:root{--accent:#18212b;--accent-soft:#f1f3f6}
.site-header{border-bottom:0;box-shadow:0 1px 0 rgba(24,33,43,.04)}
.accent-word{color:var(--ink)}
.eyebrow{display:none}
.hero-inner h1{margin-top:0}

/* Header utility actions */
.language-btn,.mobile-toggle{border:0;outline:0;font:inherit;cursor:pointer}
.language-btn{height:38px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;border-radius:10px;background:#f0f2f5;color:#4e5967;font-size:12px;font-weight:750}
.language-btn:hover{background:#e9edf1;color:var(--ink)}
.language-globe{font-size:17px;line-height:1}.language-caret{font-size:12px;transform:translateY(-1px)}
.mobile-toggle{width:38px;height:38px;border-radius:10px;place-items:center;background:#f0f2f5;color:#4e5967}
.install-btn{padding:9px 15px;background:#202a35;color:#fff;font-size:12px;border:0;box-shadow:none}
.chrome-icon{width:18px;height:18px;display:block;flex:0 0 18px}

/* No visible outlines/borders on blocks or controls */
.recognizer,.dropzone,.step,.tool-card,.why-card,.use-card,.filter-pill,footer,.footer-bottom,.tools-band,.eyebrow,.icon-btn{border:0!important}
.recognizer{box-shadow:0 18px 50px rgba(25,35,50,.055)}
.dropzone{background:#f7f8fa}
.step,.tool-card,.why-card,.use-card{box-shadow:none}
.step{background:#f7f8fa}
.tool-card,.why-card,.use-card{background:#fff}
.tools-band{background:#f5f7f9}
.filter-pill{background:#f0f2f5}
.filter-pill.active{background:#202a35;color:#fff}
.text-link{border-bottom:0;padding-bottom:0}
footer{background:#fff}
.footer-bottom{border-top:0}

.blog-placeholder{min-height:calc(100vh - 72px);display:grid;place-items:center}
.blog-placeholder h1{margin-bottom:14px}

@media(max-width:620px){.language-btn{display:inline-flex}.nav-actions{gap:7px}.install-btn{display:none!important}}


/* September 16 refinement: typography, language selector, step separation, extension footer */
.brand{font-weight:560;letter-spacing:-.025em}
.brand span{font-weight:560}
.nav-links{font-size:14px}
.nav-btn{font-size:13px;padding:10px 15px}
.language-menu{position:relative}
.language-btn{height:40px;padding:0 10px;border:0;display:inline-flex;align-items:center;gap:8px;border-radius:11px;background:#f0f2f5;color:#4e5967;font-size:13px;font-weight:700}
.language-flag{width:24px;height:24px;border-radius:50%;display:block;box-shadow:0 1px 2px rgba(20,30,40,.08)}
.language-caret{font-size:12px;line-height:1;transition:transform .18s ease}
.language-menu.open .language-caret{transform:rotate(180deg)}
.language-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:182px;padding:7px;background:#fff;border-radius:15px;box-shadow:0 16px 40px rgba(20,30,40,.12);display:none;z-index:200}
.language-menu.open .language-dropdown{display:block}
.language-option{width:100%;display:flex;align-items:center;gap:10px;padding:8px 9px;border:0;background:transparent;border-radius:10px;color:#4d5967;font-size:13px;font-weight:650;text-align:left;cursor:pointer}
.language-option:hover,.language-option.active{background:#f3f5f7;color:#18212b}
.language-option img{width:27px;height:27px;border-radius:50%;flex:none;box-shadow:0 1px 2px rgba(20,30,40,.08)}

/* Larger body copy, while keeping headings and bold labels at their existing scale. */
.hero-sub{font-size:18px}
.section-desc{font-size:16px}
.step p,.tool-card p,.use-card p,.why-card p{font-size:15px;line-height:1.65}
.footer-copy{font-size:14px;line-height:1.65}
.footer-col a{font-size:13px}
.page-hero p{font-size:17px}
.dropzone p{font-size:14px}

/* More room in utility blocks. */
.steps{gap:18px}
.step{padding:30px;min-height:280px;border:1px solid #dfe4ea!important;background:#fff}
.step-icon{margin-bottom:18px}
.tool-grid{gap:16px}
.tool-card{padding:24px;min-height:205px}
.why-grid,.use-grid{gap:16px}
.why-card,.use-card{padding:28px;min-height:190px}
.recognizer{padding:25px}
.dropzone{padding:46px 28px}

/* The step cards intentionally use a subtle outline so they don't disappear into the page background. */
.steps .step{box-shadow:0 6px 24px rgba(25,35,50,.035)}

/* Footer extension promotion */
.footer-extension{background:#f4f6f8;border-radius:18px;padding:20px 21px;max-width:330px}
.footer-extension-title{font-size:14px;font-weight:800;letter-spacing:-.015em;margin-bottom:7px}
.footer-extension p{margin:0 0 15px;color:#6e7987;font-size:13px;line-height:1.55}
.footer-install{display:inline-flex;align-items:center;gap:8px;background:#202a35;color:#fff;padding:10px 13px;border-radius:10px;font-size:13px;font-weight:800}
.footer-install .chrome-icon{width:18px;height:18px}

@media(max-width:900px){.footer-grid{grid-template-columns:1.2fr 1fr}.footer-extension{max-width:none}}
@media(max-width:620px){.hero-sub{font-size:16px}.section-desc{font-size:15px}.step p,.tool-card p,.use-card p,.why-card p{font-size:14px}.step{min-height:auto;padding:25px}.tool-card{min-height:190px}.why-card,.use-card{min-height:auto}.language-dropdown{right:-2px}.footer-extension{max-width:none}.brand,.brand span{font-weight:550}}


/* September 16 — v4 utility refinement */
.site-header{box-shadow:0 1px 0 rgba(24,33,43,.05)}
.brand,.brand span{font-weight:520}
.install-btn{padding:10px 17px}
.hero{background:#fff;padding-bottom:68px}
.hero-sub{color:#596575}
.recognizer{max-width:930px;padding:28px;border-radius:28px}
.mode{font-size:14px;padding:13px 14px}
.mode.active{box-shadow:0 4px 14px rgba(30,40,55,.08)}
.dropzone{padding:56px 30px}
.drop-icon{width:62px;height:62px;font-size:28px}
.step-icon,.tool-icon,.mini-icon,.use-icon{display:grid;place-items:center}
.step-icon svg,.tool-icon svg,.mini-icon svg,.use-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.step-icon{width:58px;height:58px;border-radius:16px;background:#f0f2f5;color:#202a35;font-size:0}
.steps .step:nth-child(2) .step-icon{background:#eeeaf5;color:#6f3e9f}
.steps .step:nth-child(3) .step-icon{background:#eef3f0;color:#227a55}
.step{background:#fff;border:1px solid #dfe4ea!important;min-height:300px}
/* Animated utility strip between recognizer and workflow */
.tool-flow{overflow:hidden;background:#f4f6f8;padding:24px 0 26px;position:relative}
.tool-flow:before,.tool-flow:after{content:"";position:absolute;z-index:2;top:0;bottom:0;width:130px;pointer-events:none}
.tool-flow:before{left:0;background:linear-gradient(90deg,#f4f6f8,rgba(244,246,248,0))}
.tool-flow:after{right:0;background:linear-gradient(270deg,#f4f6f8,rgba(244,246,248,0))}
.tool-flow-track{display:flex;gap:12px;width:max-content;margin:0 0 12px;animation:toolMarquee 34s linear infinite;will-change:transform}
.tool-flow-track.track-b{margin-left:-180px;animation-duration:39s;animation-direction:reverse;margin-bottom:0}
.flow-tool{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border-radius:999px;background:#fff;color:#566273;box-shadow:0 8px 22px rgba(25,35,50,.045);font-size:13px;font-weight:750;white-space:nowrap}
.flow-icon{width:27px;height:27px;border-radius:9px;background:#f0f2f5;color:#202a35;display:grid;place-items:center;font-size:11px;font-weight:850}
.track-b .flow-tool:nth-child(2n) .flow-icon{background:#eeeaf5;color:#6f3e9f}
@keyframes toolMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.tool-flow-track{animation:none}}
/* Distinct background for the next content area */
#how{background:#fff}
#how .wrap{position:relative}
.tool-grid .tool-icon{width:52px;height:52px;border-radius:15px;margin-bottom:23px;background:#f0f2f5;color:#27313c}
.tool-grid .tool-card:nth-child(2n) .tool-icon{background:#f2edf8;color:#6f3e9f}
.tool-grid .tool-card:nth-child(3n) .tool-icon{background:#eef4f0;color:#227a55}
.tool-grid .tool-card{min-height:220px}
.why-card .mini-icon{width:48px;height:48px;border-radius:14px;background:#f0f2f5;color:#27313c;font-size:0;margin-bottom:18px}
.why-card:nth-child(2n) .mini-icon{background:#f2edf8;color:#6f3e9f}
.why-card:nth-child(3n) .mini-icon{background:#eef4f0;color:#227a55}
.use-card{min-height:215px}
.use-icon{width:46px;height:46px;border-radius:14px;background:#f0f2f5;color:#27313c;margin-bottom:20px}
.use-card:nth-child(2n) .use-icon{background:#f2edf8;color:#6f3e9f}
.use-card:nth-child(3n) .use-icon{background:#eef4f0;color:#227a55}
.use-icon svg{width:23px;height:23px}
/* FAQ */
.faq-section{background:#fff;padding-top:70px}
.faq-list{max-width:900px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.faq-list details{background:#f5f7f9;border-radius:16px;padding:0 22px;transition:background .18s ease}
.faq-list details[open]{background:#f0f2f5}
.faq-list summary{list-style:none;cursor:pointer;padding:21px 32px 21px 0;font-size:16px;font-weight:800;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:'+';position:absolute;right:0;top:17px;font-size:23px;font-weight:400;color:#7a8593}
.faq-list details[open] summary:after{content:'−'}
.faq-list p{margin:0;padding:0 0 22px;color:#657181;font-size:15px;line-height:1.7}
/* Bottom extension CTA */
.cta{padding:76px 0 82px;background:#fff}
.cta-box.extension-cta{padding:64px 50px 60px;border-radius:26px}
.cta-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:850;color:#aeb7c2;margin-bottom:15px}
.extension-cta p{font-size:16px;line-height:1.7;max-width:720px}
.cta-btn{padding:13px 19px;font-size:14px;border-radius:11px}
footer{border-top:0;background:#f7f8fa}
.footer-grid{grid-template-columns:1.7fr 1fr 1fr}
.footer-col a{font-size:13px}
@media(max-width:900px){.faq-list{grid-template-columns:1fr}.footer-grid{grid-template-columns:1.3fr 1fr}}
@media(max-width:620px){.hero{padding-bottom:48px}.recognizer{padding:18px}.dropzone{padding:40px 20px}.tool-flow:before,.tool-flow:after{width:70px}.faq-list{gap:9px}.faq-list summary{font-size:15px;padding-top:18px;padding-bottom:18px}.faq-list p{font-size:14px}.cta-box.extension-cta{padding:45px 22px}.extension-cta p{font-size:15px}.brand,.brand span{font-weight:520}}

/* Clear, consistent action icons */
.mode{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.mode-icon{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#e8ebef;color:#5c6876;flex:0 0 24px}
.mode.active .mode-icon{background:#eef0f3;color:#202a35}
.mode-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.drop-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Keep the tools animation calm and monochrome; no decorative colour wash. */
.tool-flow:before{background:linear-gradient(90deg,#f4f6f8,#f4f6f8 35%,rgba(244,246,248,0))}
.tool-flow:after{background:linear-gradient(270deg,#f4f6f8,#f4f6f8 35%,rgba(244,246,248,0))}

/* v5 — cleaner utility hierarchy and stronger separation */
.site-header{background:rgba(255,255,255,.96)}
.brand,.brand span{font-weight:500}
.hero{padding-top:64px;padding-bottom:78px;background:#fff}
.hero-inner{max-width:900px}
.hero-sub{max-width:700px}
.accent-word{color:var(--ink)}
.recognizer{max-width:980px;padding:34px;border-radius:30px;box-shadow:0 22px 65px rgba(25,35,50,.08);margin-top:38px}
.recognizer-top{margin-bottom:18px}
.step-label{font-size:15px}
.step-number{width:30px;height:30px;font-size:11px}
.mode-tabs{gap:8px;padding:7px;border-radius:15px;background:#eef1f4}
.mode{min-height:56px;padding:14px 18px;border-radius:11px;font-size:14px}
.mode-icon{width:32px;height:32px;border-radius:10px;flex-basis:32px;background:#e2e6eb}
.mode-icon svg{width:18px;height:18px}
.dropzone{margin-top:14px;padding:64px 32px;background:#fbfcfd;border-radius:20px}
.drop-icon{width:72px;height:72px;border-radius:19px;margin-bottom:16px;background:#f0f2f5;color:#202a35}
.drop-icon svg{width:36px;height:36px}
.dropzone h3{font-size:19px;margin-bottom:8px}
.dropzone p{font-size:15px}
.fake-upload{margin-top:20px;padding:12px 18px;border-radius:11px;font-size:13px}

/* Two calm, contrasting surfaces keep the main workflow and How it works distinct. */
.tool-flow{margin:0;background:#f2f4f7;padding:34px 0 38px}
.tool-flow-track{gap:14px;margin-bottom:14px}
.tool-flow-track.track-b{margin-left:-260px}
.flow-tool{padding:11px 16px;border-radius:13px;background:#fff;color:#3f4b59;box-shadow:0 7px 24px rgba(25,35,50,.06);font-size:14px}
.flow-icon{width:32px;height:32px;border-radius:10px;background:#edf0f3;color:#27313c;font-size:0}
.flow-icon:before{font-size:16px;line-height:1}
.track-a .flow-tool:nth-child(1) .flow-icon:before{content:'⌕'}
.track-a .flow-tool:nth-child(2) .flow-icon:before{content:'A' }
.track-a .flow-tool:nth-child(3) .flow-icon:before{content:'♪'}
.track-a .flow-tool:nth-child(4) .flow-icon:before{content:'↕'}
.track-a .flow-tool:nth-child(5) .flow-icon:before{content:'♯'}
.track-a .flow-tool:nth-child(6) .flow-icon:before{content:'✂'}
.track-a .flow-tool:nth-child(7) .flow-icon:before{content:'≋'}
.track-b .flow-tool:nth-child(1) .flow-icon:before{content:'♥'}
.track-b .flow-tool:nth-child(2) .flow-icon:before{content:'♫'}
.track-b .flow-tool:nth-child(3) .flow-icon:before{content:'↔'}
.track-b .flow-tool:nth-child(4) .flow-icon:before{content:'⌁'}
.track-b .flow-tool:nth-child(5) .flow-icon:before{content:'◉'}
.track-b .flow-tool:nth-child(6) .flow-icon:before{content:'◎'}

#how{background:#fff;padding-top:88px}
.steps{gap:20px}
.step{padding:34px;min-height:320px;border:1px solid #dfe4ea!important;border-radius:20px;box-shadow:0 8px 28px rgba(25,35,50,.035)}
.step-icon{width:64px;height:64px;border-radius:17px;margin-bottom:20px}
.step-icon svg{width:31px;height:31px;stroke-width:1.9}

/* One visual language for tool/action controls. */
.tool-card,.why-card,.use-card{border:0!important;border-radius:20px;box-shadow:0 5px 22px rgba(25,35,50,.035)}
.tool-card{min-height:235px;padding:27px}
.tool-card .arrow{font-size:13px}
.tool-grid .tool-icon{width:56px;height:56px;border-radius:16px;margin-bottom:24px}
.tool-grid .tool-icon svg{width:30px;height:30px;stroke-width:1.9}
.why-card .mini-icon,.use-icon{width:52px;height:52px;border-radius:15px}
.why-card .mini-icon svg,.use-icon svg{width:28px;height:28px;stroke-width:1.9}

/* FAQ stays soft and borderless. */
.faq-list details{border:0!important;box-shadow:none}

/* Bottom CTA is the extension section; the actual footer remains simple. */
.cta{padding:84px 0 88px;background:#fff}
.cta-box.extension-cta{padding:70px 54px 66px;border-radius:28px}
.extension-cta h2{max-width:820px}

@media(max-width:620px){
  .hero{padding-top:46px;padding-bottom:50px}
  .recognizer{padding:19px;border-radius:22px}
  .mode{min-height:52px;padding:12px 13px}
  .mode-icon{width:30px;height:30px;flex-basis:30px}
  .dropzone{padding:46px 20px}
  .tool-flow{padding:25px 0 29px}
  #how{padding-top:64px}
  .step{padding:27px;min-height:auto}
  .tool-card{min-height:210px;padding:24px}
}

/* v6 — refined hierarchy, restrained motion, and platform CTA */
/* Restore the recognizer to the earlier, more compact proportion. */
.recognizer{max-width:930px;padding:28px;border-radius:26px;margin-top:34px}
.dropzone{padding:50px 30px}
.drop-icon{width:62px;height:62px}
.drop-icon svg{width:32px;height:32px}
.dropzone h3{font-size:18px}
.dropzone p{font-size:14px}

/* Move the animated toolkit between Why and real-life use cases. Keep it contained. */
.tool-flow{background:#f2f4f7;padding:28px 0}
.tool-flow-inner{overflow:hidden;border-radius:22px}
.tool-flow-track{gap:12px;margin-bottom:10px}
.tool-flow-track.track-b{margin-left:-220px}
.flow-tool{padding:11px 18px;border-radius:12px;box-shadow:0 6px 20px rgba(25,35,50,.045);font-size:14px;font-weight:750}
.flow-icon{display:none!important}
.tool-flow:before,.tool-flow:after{width:90px}

/* Softer step-card borders. */
.step{border-color:#e8ebef!important;box-shadow:0 6px 24px rgba(25,35,50,.025)}

/* All icons use the same neutral ink. */
.step-icon,.tool-grid .tool-icon,.why-card .mini-icon,.use-icon{color:#27313c!important;background:#f0f2f5!important}

/* The real-situations section is editorial text, not another card grid. */
.situations-copy{max-width:820px;display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:8px}
.situations-copy p{margin:0;color:var(--muted);font-size:17px;line-height:1.8}

/* Softer extension CTA: still distinct, but not near-black. */
.cta-box.extension-cta{background:#343e49}
.cta-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.cta-btn-secondary{background:#e9edf1;color:#343e49}

@media(max-width:700px){
  .situations-copy{grid-template-columns:1fr;gap:18px}
  .situations-copy p{font-size:16px}
}

/* v7 — restored local assets, editorial situations section, and redesigned FAQ */
.brand img{width:38px;height:38px;display:block;object-fit:contain}
.language-btn{min-width:72px}
.language-flag,.language-option img{width:25px;height:25px;border-radius:50%;object-fit:cover;display:block}
.language-option{gap:11px}

/* The moving toolkit is a contained utility strip, with square corners. */
.tool-flow{padding:30px 0;background:#f2f4f7}
.tool-flow-inner{border-radius:0;max-width:1180px}
.flow-tool{border-radius:0;padding:12px 18px;box-shadow:0 4px 16px rgba(25,35,50,.035);font-size:14px}

/* Editorial text section — no cards or button clusters. */
.situations-section{background:#fff;padding-top:88px;padding-bottom:92px}
.situations-layout{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:72px;align-items:start}
.situations-heading{position:sticky;top:110px}
.situations-heading h2{margin-top:12px}
.situations-text{max-width:860px}
.situations-text p{margin:0 0 27px;color:var(--muted);font-size:17px;line-height:1.82}
.situations-text p:last-child{margin-bottom:0}

/* FAQ: broad soft rows inspired by editorial utility sites, but using our own hierarchy. */
.faq-section{background:#fff;padding-top:80px;padding-bottom:96px}
.faq-intro{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:72px;align-items:end;margin-bottom:42px}
.faq-intro h2{margin-top:12px}
.faq-intro>p{max-width:820px;margin:0;color:var(--muted);font-size:17px;line-height:1.75;padding-bottom:5px}
.faq-list{max-width:none;display:grid;grid-template-columns:1fr;gap:12px}
.faq-list details{background:#f5f7fb;border-radius:18px;padding:0 30px;transition:background .2s ease}
.faq-list details:hover{background:#f2f4f8}
.faq-list details[open]{background:#f0f3f8}
.faq-list summary{display:grid;grid-template-columns:54px 1fr 28px;align-items:center;gap:20px;padding:25px 0;font-size:18px;font-weight:800;line-height:1.35}
.faq-list summary:after{display:none}
.faq-list summary b{font-size:24px;font-weight:400;color:#596575;text-align:right;transition:transform .2s ease}
.faq-list details[open] summary b{transform:rotate(45deg)}
.faq-index{font-size:12px;font-weight:800;color:#7a8593;letter-spacing:.08em}
.faq-list p{margin:0;padding:0 48px 27px 74px;color:#657181;font-size:16px;line-height:1.75;max-width:1050px}

@media(max-width:900px){
  .situations-layout,.faq-intro{grid-template-columns:1fr;gap:30px}
  .situations-heading{position:static}
  .faq-intro{margin-bottom:28px}
}
@media(max-width:620px){
  .brand img{width:34px;height:34px}
  .tool-flow-inner{max-width:none}
  .situations-section{padding-top:64px;padding-bottom:70px}
  .situations-text p{font-size:15px;line-height:1.72;margin-bottom:22px}
  .faq-section{padding-top:64px;padding-bottom:70px}
  .faq-intro>p{font-size:15px}
  .faq-list details{padding:0 20px;border-radius:15px}
  .faq-list summary{grid-template-columns:38px 1fr 22px;gap:12px;padding:21px 0;font-size:16px}
  .faq-list p{padding:0 0 22px 50px;font-size:14px;line-height:1.7}
}

/* Footer v8 — four-column utility footer inspired by the supplied reference. */
.site-footer{padding:52px 0 30px;background:#f7f8fa;border-top:0}
.site-footer .footer-grid{display:grid;grid-template-columns:1.45fr .8fr 1.55fr .9fr;gap:54px;align-items:start}
.site-footer .footer-brand-col{padding-right:18px}
.site-footer .footer-copy{margin:20px 0 0;max-width:330px;color:#6c7787;font-size:15px;line-height:1.62}
.site-footer .footer-col h4{margin:3px 0 24px;color:#182230;font-size:17px;font-weight:800;letter-spacing:-.02em}
.site-footer .footer-col a{display:block;margin:0 0 19px;color:#657181;font-size:15px;line-height:1.35;text-decoration:none}
.site-footer .footer-col a:hover{color:#182230}
.footer-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.footer-tools-grid a{white-space:nowrap}
.site-footer .footer-bottom{margin-top:38px;padding-top:24px;border-top:1px solid #e1e5ea;color:#7b8593;font-size:13px}
.legal-content{padding-top:20px}
.legal-copy{max-width:none;width:100%;color:var(--muted);font-size:17px;line-height:1.8;text-align:justify;hyphens:auto}
.legal-copy h2{color:var(--ink);font-size:28px;margin:32px 0 14px;text-align:left}
.legal-copy h2:first-child{margin-top:0}
.legal-copy p{margin:0 0 18px}
.legal-copy ul{margin:0 0 18px;padding-left:22px}
.legal-copy li{margin:0 0 10px}
.legal-copy a{color:var(--ink)}
.legal-copy h3{color:var(--ink);font-size:20px;margin:28px 0 12px;text-align:left;font-weight:650;letter-spacing:-.02em}
.legal-copy h4{color:var(--ink);font-size:16px;margin:22px 0 10px;text-align:left;font-weight:650}
.legal-copy .mediavine-privacy-notice{margin-top:8px;padding-top:8px}
.legal-copy .mediavine-privacy-notice h2{margin-top:32px}
.legal-updated{margin-top:28px;color:#8993a1;font-size:14px}

/* Hide Mediavine auto-injected privacy notice (appended as direct children of <main>) */
main > h2,
main > h3,
main > h4,
main > p,
main > ul {
  display: none !important;
}

@media(max-width:1000px){.site-footer .footer-grid{grid-template-columns:1.25fr 1fr 1.5fr 1fr;gap:30px}}
@media(max-width:760px){.site-footer .footer-grid{grid-template-columns:1fr 1fr}.site-footer .footer-brand-col{grid-column:1/-1}.site-footer .footer-copy{max-width:430px}.site-footer .footer-bottom{flex-direction:column;gap:8px}.footer-tools-grid{gap:18px}}
@media(max-width:520px){.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-brand-col{grid-column:auto}.footer-tools-grid{grid-template-columns:1fr 1fr}.site-footer .footer-col a{margin-bottom:15px;font-size:14px}}

/* ========== Recently Identified Songs (light trust block) ========== */
.recent-section{
  padding: 28px 0 56px;
  background: transparent;
}
.recent-panel{
  background: #fff;
  border-radius: 28px;
  padding: 42px 40px 36px;
  box-shadow: 0 18px 50px rgba(25,35,50,.07);
  border: 1px solid #eef1f5;
  color: var(--ink);
}
.recent-panel .section-kicker,
.recent-title{
  text-align: center;
}
.recent-title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.recent-sub{
  margin: 0 auto 32px;
  max-width: 560px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.recent-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recent-card.is-fading{
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}
.recent-card.is-appear{
  animation: recentIn .38s ease;
}
@keyframes recentIn{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

.recent-card{
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f7f8fa;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 11px 13px;
  min-width: 0;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.recent-card:hover{
  background: #f0f2f5;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(25,35,50,.06);
}
.recent-card img{
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e8ebf0;
}
.recent-meta{
  min-width: 0;
}
.recent-meta .title{
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 2px;
  letter-spacing: -.01em;
}
.recent-meta .artist{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.recent-meta .album{
  font-size: 10.5px;
  line-height: 1.35;
  color: #98a2b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 0;
}
@media(max-width:980px){
  .recent-grid{grid-template-columns:repeat(2,1fr)}
  .recent-panel{padding:34px 24px 28px}
}
@media(max-width:560px){
  .recent-grid{grid-template-columns:1fr}
  .recent-panel{padding:28px 18px 22px;border-radius:22px}
  .recent-title{font-size:24px}
}

/* Live recognition test */
.recognizer-panel{margin-top:18px}
.recognizer-panel[hidden]{display:none!important}
.recognizer-status{min-height:22px;color:#667085;font-size:14px}.recognizer-status[data-state="error"]{color:#b42318}.recognizer-status[data-state="success"]{color:#027a48}.recognizer-status[data-state="recording"]{color:#b42318}.record-panel{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.record-panel p{margin:0;color:#667085}.record-dot{width:10px;height:10px;border-radius:50%;background:#e0554d}.record-actions{display:flex;gap:8px}.recognition-action{border:0;border-radius:999px;padding:10px 16px;background:#111827;color:#fff;cursor:pointer;font:inherit}.recognition-action.secondary{background:#eef1f5;color:#344054}.recognizer-result{margin-top:18px}.recognition-result-card{display:flex;align-items:center;gap:16px;padding:18px;border-radius:18px;background:#f7f8fa}.recognition-cover{width:72px;height:72px;object-fit:cover;border-radius:12px;background:#e9edf2}.recognition-cover-empty{display:grid;place-items:center;font-size:28px;color:#667085}.recognition-copy h3{margin:2px 0 3px;font-size:20px}.recognition-copy p{margin:0 0 7px;color:#667085}.recognition-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#667085}.recognition-link{font-size:13px;color:#1d4ed8;text-decoration:none}.recognition-error{padding:16px 18px;border-radius:16px;background:#fff4f2;color:#344054}.recognition-error strong{display:block;color:#b42318;margin-bottom:4px}.recognition-error p{margin:0;font-size:14px}.dropzone.dragging{transform:translateY(-1px);background:#f5f7ff}

/* Recognition fallback + extension modal */
.link-panel{padding:18px 0 4px}
.link-field{position:relative}
.link-input{width:100%;height:52px;border:1px solid #d9dee6;border-radius:12px;padding:0 68px 0 16px;font:inherit;font-size:14px;color:#202a35;background:#fff;outline:none;box-sizing:border-box}
.link-input:focus{border-color:#9aa5b3;box-shadow:0 0 0 3px rgba(32,42,53,.06)}
.link-counter{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:11px;color:#98a1ae;font-weight:650;pointer-events:none}
.link-help{margin:10px 0 18px;color:#7a8595;font-size:13px}.recognition-modal[hidden]{display:none}.recognition-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px}.recognition-modal-backdrop{position:absolute;inset:0;background:rgba(20,28,38,.52);backdrop-filter:blur(3px)}.recognition-modal-dialog{position:relative;width:min(100%,460px);background:#fff;border-radius:24px;padding:34px 34px 28px;box-shadow:0 24px 70px rgba(16,24,40,.22);text-align:center}.recognition-modal-close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#7b8797;font-size:28px;line-height:1;cursor:pointer;padding:5px}.recognition-modal-logo{width:56px;height:56px;margin:0 auto 14px;border-radius:16px;background:#f2f4f7;display:grid;place-items:center;overflow:hidden}.recognition-modal-logo img{width:38px;height:38px;object-fit:contain}.recognition-modal-kicker{font-size:12px;font-weight:750;color:#667085;letter-spacing:.06em;text-transform:uppercase}.recognition-modal-dialog h2{margin:8px 0 9px;font-size:25px;line-height:1.15;color:#202a35}.recognition-modal-dialog>p{margin:0 auto 20px;max-width:370px;color:#667085;font-size:14px;line-height:1.55}.recognition-modal-extension{padding:14px 16px;border-radius:14px;background:#f7f8fa;text-align:left;margin-bottom:18px}.recognition-modal-extension strong{display:block;font-size:14px;color:#202a35;margin-bottom:3px}.recognition-modal-extension span{display:block;font-size:13px;color:#667085;line-height:1.45}.recognition-modal-cta{display:block;text-decoration:none;background:#202a35;color:#fff;border-radius:11px;padding:13px 16px;font-weight:750;font-size:14px}.recognition-modal-later{border:0;background:transparent;color:#667085;font:inherit;font-size:13px;margin-top:13px;cursor:pointer}.recognition-modal-open{overflow:hidden}
@media(max-width:620px){.recognition-modal{padding:16px}.recognition-modal-dialog{padding:30px 20px 24px;border-radius:20px}}

/* Browser extension CTA — store logos inside the install buttons. */
.extension-cta .cta-btn{align-items:center;justify-content:center;gap:9px}
.extension-cta .cta-btn img{width:21px;height:21px;object-fit:contain;display:block;flex:0 0 auto}
.extension-cta .cta-btn span{margin-left:1px}


/* Main recognizer — uploaded audio preview, player and SongFinder-inspired action row. */
.dropzone,
.dropzone *{cursor:pointer}
.dropzone:focus-visible{outline:3px solid rgba(139,67,217,.18);outline-offset:3px}
.fake-upload{cursor:pointer}
.uploaded-audio{margin-top:14px;padding:18px;background:#f8f9fb;border-radius:18px}
.uploaded-audio[hidden]{display:none}
.uploaded-audio-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.uploaded-file-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.uploaded-file-label{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#8a94a2;font-weight:850}
.uploaded-file-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.change-file{border:0;background:transparent;color:#6f3e9f;font-size:12px;font-weight:800;cursor:pointer;padding:6px 0}
.audio-player{display:flex;align-items:center;gap:12px;background:#fff;border-radius:15px;padding:12px 13px;box-shadow:0 5px 18px rgba(25,35,50,.045)}
.play-toggle{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;display:grid;place-items:center;background:#8b43d9;color:#fff;cursor:pointer;transition:.18s ease}
.play-toggle:hover{transform:scale(1.03);background:#7835c1}
.play-toggle svg{width:18px;height:18px;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.play-toggle .pause-icon{display:none;fill:none}
.play-toggle.is-playing .play-icon{display:none}
.play-toggle.is-playing .pause-icon{display:block}
.waveform-wrap{position:relative;flex:1;min-width:0;height:72px;display:flex;align-items:center}
#waveform-canvas{width:100%;height:72px;display:block}
.waveform-seek{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.audio-time{flex:0 0 auto;min-width:82px;text-align:right;color:#737e8d;font-size:11px;font-variant-numeric:tabular-nums}
.recognizer-action-row{display:grid;grid-template-columns:1fr 58px;gap:14px;margin-top:15px}
.identify-song-btn{min-height:58px;border:0;border-radius:9px;background:#8b43d9;color:#fff;font-size:16px;font-weight:800;letter-spacing:-.01em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 7px 18px rgba(139,67,217,.18);transition:.18s ease}
.identify-song-btn:hover:not(:disabled){background:#7835c1;transform:translateY(-1px)}
.identify-song-btn:disabled{opacity:.58;cursor:wait;transform:none}
.identify-song-btn span{font-size:19px;line-height:1}
.history-btn{min-height:58px;border:1px solid #27303b;border-radius:9px;background:#fff;color:#202a35;display:grid;place-items:center;cursor:pointer;transition:.18s ease;position:relative}
.history-btn:hover{background:#f5f6f8;transform:translateY(-1px)}
.history-btn svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.history-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#202a35;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px #fff}

/* Inline no-match state replaces the old failure modal. */
.recognizer-result{margin-top:17px}
.no-match-card{padding:24px 22px 20px;background:#fff;border-radius:18px;box-shadow:0 8px 28px rgba(25,35,50,.055);text-align:center}
.no-match-icon{width:48px;height:48px;border-radius:14px;margin:0 auto 12px;display:grid;place-items:center;background:#f0f2f5;color:#27313c}
.no-match-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.no-match-copy h3{margin:0 0 5px;font-size:23px;letter-spacing:-.03em}
.no-match-copy p{max-width:600px;margin:0 auto;color:#667085;font-size:14px;line-height:1.55}
.no-match-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:17px 0 16px}
.mini-tool-link{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:0;border-radius:10px;background:#eef1f4;color:#5b6572;font-size:12px;font-weight:750;transition:background .18s ease,color .18s ease}
.mini-tool-link:hover{background:#e4e8ed;color:#3d4652}
.mini-tool-icon{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#e2e6eb;color:#6b7583;flex:0 0 22px}
.mini-tool-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mini-tool-link b{font-size:14px;color:#9aa3af;font-weight:700}
.extension-result{display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;padding:15px 16px;border-radius:13px;background:#f7f8fa;margin-top:4px}
.extension-result strong{display:block;font-size:13px;color:#202a35;margin-bottom:2px}.extension-result span{display:block;color:#6f7a89;font-size:12px;line-height:1.4}
.extension-result a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:9px;background:#202a35;color:#fff;font-size:12px;font-weight:800}
.try-again-btn{border:0;background:transparent;color:#6f3e9f;font-size:12px;font-weight:800;cursor:pointer;margin-top:13px;padding:5px}
.compact-no-match{padding:20px}

/* 12-second analysis modal. */
.analysis-modal[hidden]{display:none}
.analysis-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:20px}
.analysis-modal-backdrop{position:absolute;inset:0;background:rgba(20,28,38,.46);backdrop-filter:blur(5px)}
.analysis-modal-dialog{position:relative;width:min(100%,470px);background:#fff;border-radius:24px;padding:34px 34px 27px;box-shadow:0 28px 80px rgba(16,24,40,.23);text-align:center}
.analysis-stars{height:65px;display:flex;align-items:center;justify-content:center;gap:26px;color:#8b43d9;margin-bottom:7px}
.analysis-stars span{font-size:17px;opacity:.35}.analysis-stars b{font-size:48px;line-height:1;font-weight:500}.analysis-progress{height:8px;background:#edf0f5;border-radius:999px;overflow:hidden;margin:3px 0 9px}.analysis-progress span{display:block;height:100%;width:0;background:#8b43d9;border-radius:inherit;transition:width .15s linear}
.analysis-percent{font-size:11px;color:#8b43d9;font-weight:850;letter-spacing:.04em;margin-bottom:5px}
.analysis-modal-dialog h2{margin:0 0 7px;font-size:25px;line-height:1.15;letter-spacing:-.035em}.analysis-copy{margin:0 auto 22px;color:#667085;font-size:13px;line-height:1.5;min-height:39px;max-width:365px}
.analysis-tools-label{text-align:left;font-size:11px;letter-spacing:.12em;font-weight:850;color:#606a78;margin-bottom:9px}
.analysis-tools{display:grid;gap:9px}.analysis-tool{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:11px;padding:12px 13px;border:1px solid #d9dee6;border-radius:10px;background:#fff;text-align:left;color:#202a35}.analysis-tool:hover{background:#fafbfc}.analysis-tool-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;color:#8b43d9;background:#f1eafb;font-size:17px}.analysis-tool strong{display:block;font-size:13px;margin-bottom:1px}.analysis-tool small{display:block;color:#737e8d;font-size:11px;line-height:1.3}.analysis-arrow{font-size:18px;color:#697585}
.analysis-modal-open{overflow:hidden}

@media(max-width:620px){
  .uploaded-audio{padding:14px}.audio-player{gap:8px;padding:10px}.play-toggle{width:38px;height:38px;flex-basis:38px}.waveform-wrap{height:62px}#waveform-canvas{height:62px}.audio-time{min-width:66px;font-size:10px}.recognizer-action-row{grid-template-columns:1fr 50px;gap:9px}.identify-song-btn{min-height:54px;font-size:15px}.history-btn{min-height:54px}.extension-result{flex-direction:column;align-items:stretch}.extension-result a{text-align:center}.analysis-modal{padding:13px}.analysis-modal-dialog{padding:28px 18px 22px;border-radius:20px}.analysis-stars{height:55px}.analysis-stars b{font-size:40px}.analysis-copy{margin-bottom:18px}}

/* v17 — recognizer action is always visible; inactive until an audio file is ready. */
.recognizer-action-row{margin-top:16px}
.identify-song-btn{background:#e9edf3;color:#929cab;box-shadow:none;cursor:not-allowed;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.identify-song-btn:disabled{opacity:1;background:#e9edf3;color:#929cab;cursor:not-allowed;box-shadow:none}
.identify-song-btn:not(:disabled){background:#8b43d9;color:#fff;cursor:pointer;box-shadow:0 8px 22px rgba(139,67,217,.18)}
.identify-song-btn:not(:disabled):hover{background:#7835c1;box-shadow:0 10px 25px rgba(139,67,217,.22)}
.uploaded-audio + .recognizer-action-row{margin-top:15px}

/* v18 — record mode rebuilt as a self-contained flow: mic button, duration control, its own identify row. */
.record-panel{padding:20px 6px 4px;display:flex;flex-direction:column;align-items:stretch;gap:18px}
.record-stage{display:flex;flex-direction:column;align-items:center;gap:12px;padding:8px 0 2px}
.record-mic-btn{position:relative;width:76px;height:76px;border-radius:50%;border:0;background:#f0f2f5;color:#27313c;display:grid;place-items:center;cursor:pointer;transition:background .2s ease,color .2s ease}
.record-mic-btn:hover{background:#e7eaee}
.record-mic-btn svg{position:relative;z-index:2;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.record-mic-ring{position:absolute;inset:0;border-radius:50%;border:1px solid #ccd2d9;opacity:0}
.record-mic-btn.is-listening{background:#202a35;color:#fff}
.record-mic-btn.is-listening .record-mic-ring{animation:recordPulse 1.8s ease-out infinite}
.record-mic-btn.is-listening .record-mic-ring-2{animation-delay:.55s}
@keyframes recordPulse{0%{opacity:.55;transform:scale(1)}100%{opacity:0;transform:scale(1.65)}}
.record-mic-btn.is-requesting{background:#eceff3;color:#8993a1;cursor:wait}
.record-mic-btn.is-denied{background:#f6ebe9;color:#a94437}
.record-status{margin:0;color:#667085;font-size:13px;font-weight:650;text-align:center;min-height:17px}
.record-duration{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fafbfc}
.record-duration-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:750;color:#48525f;margin-bottom:12px}
.record-duration-head strong{color:#202a35;font-variant-numeric:tabular-nums}
.record-duration-track{position:relative;height:15px;display:flex;align-items:center}
.record-duration-track:before{content:"";position:absolute;left:0;right:0;height:5px;border-radius:99px;background:#e7ebf0}
.record-duration-fill{position:absolute;left:0;height:5px;border-radius:99px;background:#202a35}
.record-duration-thumb{position:absolute;top:50%;width:15px;height:15px;border-radius:50%;background:#fff;border:2px solid #202a35;box-shadow:0 2px 5px rgba(20,30,45,.18);transform:translate(-50%,-50%);pointer-events:none}
.record-duration-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.record-duration-input:disabled{cursor:not-allowed}
.record-duration-scale{display:flex;justify-content:space-between;margin-top:9px;font-size:10px;color:#98a1ae;font-weight:650}
.record-duration-hint{color:#697585}
@media(max-width:620px){
  .record-mic-btn{width:66px;height:66px}
  .record-mic-btn svg{width:22px;height:22px}
}

/* v18 — analysis modal restyled to match the rest of the site: neutral ink/grey, no purple or blue. */
.analysis-modal-dialog{width:min(100%,440px);padding:31px 31px 26px;border-radius:26px;text-align:left}
.analysis-mark{width:52px;height:52px;border-radius:15px;background:#f0f2f5;display:flex;align-items:center;justify-content:center;gap:3px;margin:0 0 16px}
.analysis-mark span{width:4px;border-radius:5px;background:#27313c}
.analysis-mark span:nth-child(1){height:12px}.analysis-mark span:nth-child(2){height:22px}.analysis-mark span:nth-child(3){height:31px}.analysis-mark span:nth-child(4){height:18px}
.analysis-kicker{font-size:10px;letter-spacing:.14em;font-weight:850;color:#8993a1;margin-bottom:7px}
.analysis-modal-dialog h2{font-size:26px;letter-spacing:-.04em;margin:0 0 7px;color:#17202b}
.analysis-copy{margin:0 0 20px;max-width:420px;color:#667085;font-size:13px;line-height:1.55;min-height:0}
.analysis-meter-row{display:flex;align-items:center;gap:11px;margin-bottom:10px}
.analysis-progress{height:8px;flex:1;margin:0;background:#edf0f5;border-radius:99px;overflow:hidden}
.analysis-progress span{background:#202a35;transition:width .15s linear}
.analysis-meter-row strong{font-size:11px;color:#59626e;min-width:31px;text-align:right;font-variant-numeric:tabular-nums}
.analysis-status{display:flex;align-items:center;gap:8px;color:#667085;font-size:11px;margin-bottom:0}
.analysis-status-dot{width:7px;height:7px;border-radius:50%;background:#9aa3af;animation:analysisPulse 1.5s ease-in-out infinite}
@keyframes analysisPulse{0%,100%{opacity:.45;transform:scale(.9)}50%{opacity:1;transform:scale(1)}}
.analysis-note{margin:20px 0 0;padding-top:13px;border-top:1px solid #edf0f3;color:#8a94a2;font-size:10px;line-height:1.4}
@media(max-width:620px){
  .recognizer-action-row{grid-template-columns:1fr 50px}
  .record-panel{padding:16px 2px 2px}
  .analysis-modal-dialog{padding:27px 19px 21px;border-radius:22px}.analysis-modal-dialog h2{font-size:24px}
}

/* History modal — same dialog chrome as the analysis modal, neutral throughout. */
.history-modal[hidden]{display:none}
.history-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:20px}
.history-modal-backdrop{position:absolute;inset:0;background:rgba(20,28,38,.46);backdrop-filter:blur(5px)}
.history-modal-dialog{position:relative;width:min(100%,480px);max-height:min(640px,86vh);display:flex;flex-direction:column;background:#fff;border-radius:26px;padding:26px 26px 22px;box-shadow:0 28px 80px rgba(16,24,40,.23)}
.history-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.history-modal-title-row{display:flex;align-items:center;gap:9px}
.history-modal-title-row h2{margin:0;font-size:20px;letter-spacing:-.03em;color:#17202b}
.history-count{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#f1f3f6;color:#59626e;font-size:12px;font-weight:800;display:grid;place-items:center}
.history-close{border:0;background:transparent;color:#8993a1;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.history-close:hover{background:#f1f3f6;color:#202a35}
.history-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.history-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:#f1f3f6;border-radius:12px;padding:4px;margin-bottom:10px}
.history-tab{border:0;background:transparent;border-radius:8px;padding:9px 6px;color:#697585;font-weight:750;font-size:12px;cursor:pointer;transition:.18s ease}
.history-tab.active{background:#fff;color:#202a35;box-shadow:0 3px 12px rgba(30,40,55,.07)}
.history-filters{display:flex;gap:7px;margin-bottom:14px}
.history-list{flex:1;overflow-y:auto;min-height:120px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 -4px;padding:4px}
.history-empty{margin:0;padding:44px 10px;text-align:center;color:#8993a1;font-size:13px}
.history-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;padding:10px 6px;border-bottom:1px solid #f1f3f6}
.history-item:last-child{border-bottom:0}
.history-item-icon{width:34px;height:34px;border-radius:10px;background:#f0f2f5;color:#27313c;display:grid;place-items:center}
.history-item-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.history-item-body strong{display:block;font-size:13px;color:#202a35;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.history-item-body small{display:block;color:#8993a1;font-size:11px;margin-top:1px}
.history-item-status{font-size:11px;font-weight:800;color:#8993a1;background:#f4f5f7;border-radius:7px;padding:5px 8px;white-space:nowrap}
.history-item-status.is-matched{color:#202a35;background:#eef0f3}
.history-foot{display:flex;justify-content:flex-end;margin-top:14px}
.history-clear{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#8993a1;font-size:12px;font-weight:750;cursor:pointer;padding:6px 4px;transition:color .18s ease}
.history-clear:hover{color:#c0392b}
.history-clear svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:620px){
  .history-modal{padding:13px}
  .history-modal-dialog{padding:22px 18px 18px;border-radius:20px;max-height:90vh}
  .history-tabs{grid-template-columns:repeat(2,1fr)}
}


/* v21 — recognizer workflow cleanup: competitor-like structure, original Music Identifier styling. */
.recognizer-main .recognizer-top{margin-bottom:20px}
.recognizer-main .mode-tabs{
  background:#f1f3f6;
  padding:5px;
  gap:5px;
  border-radius:14px;
}
.recognizer-main .mode{
  min-height:54px;
  border-radius:10px;
  color:#697585;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
}
.recognizer-main .mode:hover:not(.active){background:#e9edf2;color:#27313c}
.recognizer-main .mode.active{
  background:#fff;
  color:#202a35;
  box-shadow:0 4px 14px rgba(30,40,55,.08);
}
.recognizer-main .mode-icon{
  width:30px;height:30px;flex-basis:30px;
  background:#e8ebef;
}
.recognizer-main .mode.active .mode-icon{background:#eef0f3}

/* Every mode has exactly one shared action row: Identify + History. */
.recognizer-main .recognizer-action-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 58px;
  gap:12px;
  margin-top:18px;
}
.recognizer-main .identify-song-btn{
  min-height:58px;
  border-radius:10px;
  background:#e9edf3;
  color:#929cab;
  box-shadow:none;
}
.recognizer-main .identify-song-btn:not(:disabled){
  background:#8b43d9;
  color:#fff;
  box-shadow:0 8px 22px rgba(139,67,217,.17);
}
.recognizer-main .history-btn{
  min-height:58px;
  border:1px solid #27303b;
  border-radius:10px;
}

/* Upload: keep the drop zone as the input; no extra record controls are introduced here. */
.recognizer-main .dropzone{
  cursor:pointer;
}
.recognizer-main .dropzone,
.recognizer-main .dropzone *{
  cursor:pointer;
}
.recognizer-main .fake-upload{
  pointer-events:none;
}

/* URL mode: clean input, counter, start-time selector and the exact helper copy. */
.recognizer-main .link-panel{padding-top:14px}
.recognizer-main .link-field{position:relative}
.recognizer-main .link-input{padding-right:72px}
.recognizer-main .link-counter{
  right:14px;
  bottom:50%;
  transform:translateY(50%);
  font-size:11px;
  color:#98a1ae;
  font-variant-numeric:tabular-nums;
}
.link-start-time{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  margin:24px 0 20px;
}
.link-start-label{
  color:#596575;
  font-size:14px;
  font-weight:650;
}
.link-time-fields{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
}
.link-time-fields label{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}
.link-time-fields input{
  width:72px;
  height:54px;
  padding:0 8px;
  text-align:center;
  border:1px solid #d5dce5;
  border-radius:9px;
  background:#f8f9fb;
  color:#202a35;
  font:inherit;
  font-size:16px;
  outline:none;
  font-variant-numeric:tabular-nums;
}
.link-time-fields input:focus{
  border-color:#8b43d9;
  box-shadow:0 0 0 3px rgba(139,67,217,.10);
}
.link-time-fields span{
  color:#8a94a2;
  font-size:10px;
}
.link-time-fields i{
  font-style:normal;
  color:#7b8593;
  font-size:18px;
  line-height:54px;
}
.recognizer-main .link-help{
  margin:0 auto;
  max-width:720px;
  text-align:center;
  color:#697585;
  font-size:14px;
  line-height:1.55;
}
.recognizer-main .link-panel .recognizer-action-row{margin-top:22px}

/* Record mode: centered, quiet, and clearly separated from the shared action row. */
.recognizer-main .record-panel{
  padding:25px 4px 2px;
  gap:20px;
}
.recognizer-main .record-stage{
  gap:13px;
  padding:4px 0 0;
}
.recognizer-main .record-mic-btn{
  width:78px;height:78px;
  background:#f0f2f5;
  color:#27313c;
  box-shadow:0 0 0 7px #fafbfc;
}
.recognizer-main .record-mic-btn:hover{background:#e7eaee}
.recognizer-main .record-mic-btn.is-listening{
  background:#8b43d9;
  color:#fff;
  box-shadow:0 0 0 7px #f4edfb;
}
.recognizer-main .record-status{
  color:#697585;
  font-size:14px;
  font-weight:650;
}
.recognizer-main .record-duration{
  width:min(100%,340px);
  margin:0 auto;
  padding:0;
  border:0;
  background:transparent;
}
.recognizer-main .record-duration-head{
  margin-bottom:11px;
  font-size:13px;
}
.recognizer-main .record-duration-track{height:18px}
.recognizer-main .record-duration-track:before{
  height:5px;
  background:#e3e7ec;
}
.recognizer-main .record-duration-fill{height:5px;background:#8b43d9}
.recognizer-main .record-duration-thumb{
  width:18px;height:18px;
  border:2px solid #8b43d9;
}
.recognizer-main .record-duration-scale{
  margin-top:9px;
  font-size:10px;
}
.recognizer-main .record-duration-hint{color:#8b43d9}
.recognizer-main .record-panel .recognizer-action-row{
  width:100%;
  margin-top:18px;
  align-self:stretch;
}

/* Remove any legacy beta/status badge if present in an older cached DOM. */
.recognizer-main .recognition-beta,
.recognizer-main .recognizer-beta,
.recognizer-main [data-recognition-beta]{display:none!important}

@media(max-width:620px){
  .recognizer-main .recognizer-action-row{grid-template-columns:minmax(0,1fr) 50px;gap:9px}
  .recognizer-main .mode{min-height:50px;padding:11px 9px}
  .recognizer-main .mode-icon{width:28px;height:28px;flex-basis:28px}
  .link-time-fields input{width:62px;height:50px}
  .link-time-fields i{line-height:50px}
  .recognizer-main .record-panel{padding:22px 2px 2px}
}

/* —— Advanced Options (upload pre-process) —— */
.advanced-options{margin-top:14px}
.advanced-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;border:0;background:transparent;color:#697585;font:inherit;font-size:13px;font-weight:700;
  cursor:pointer;padding:10px 8px;border-radius:10px;transition:color .15s ease,background .15s ease
}
.advanced-toggle:hover{color:#202a35;background:#f3f5f8}
.advanced-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.advanced-caret{display:inline-flex;transition:transform .18s ease}
.advanced-caret svg{width:11px;height:11px}
.advanced-options.is-open .advanced-caret{transform:rotate(180deg)}
.advanced-panel{
  margin-top:6px;padding:16px;border:1px solid #e8ecf1;border-radius:16px;background:#fafbfc
}
.selection-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;border-radius:12px;background:#f0f2f5
}
.selection-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.selection-label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#98a1ae}
.selection-meta strong{color:#202a35;font-variant-numeric:tabular-nums}
.selection-duration{color:#8b43d9;font-weight:700;font-size:12px}
.selection-preview-btn{
  display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#5b6572;
  font:inherit;font-size:13px;font-weight:750;cursor:pointer;padding:6px 8px;border-radius:8px
}
.selection-preview-btn:hover{background:#e7eaee;color:#202a35}
.selection-preview-btn svg{width:14px;height:14px;fill:currentColor}
.selection-help{margin:12px 0 10px;color:#7a8595;font-size:12px;line-height:1.45}
.selection-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.selection-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#5b6572}
.selection-field input[type=range],
.tool-field input[type=range]{
  -webkit-appearance:none;appearance:none;
  width:100%;height:6px;margin:8px 0;padding:0;border:0;outline:none;
  background:transparent;cursor:pointer;
}
.selection-field input[type=range]::-webkit-slider-runnable-track,
.tool-field input[type=range]::-webkit-slider-runnable-track{
  height:6px;border-radius:99px;background:#e2e6ec;border:0
}
.selection-field input[type=range]::-moz-range-track,
.tool-field input[type=range]::-moz-range-track{
  height:6px;border-radius:99px;background:#e2e6ec;border:0
}
.selection-field input[type=range]::-webkit-slider-thumb,
.tool-field input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:16px;height:16px;border-radius:50%;
  background:#8b43d9;border:0;
  box-shadow:0 1px 4px rgba(20,30,45,.18);
  margin-top:-5px;cursor:pointer
}
.selection-field input[type=range]::-moz-range-thumb,
.tool-field input[type=range]::-moz-range-thumb{
  width:16px;height:16px;border-radius:50%;
  background:#8b43d9;border:0;
  box-shadow:0 1px 4px rgba(20,30,45,.18);cursor:pointer
}
.selection-field em{font-style:normal;font-weight:750;color:#202a35;font-variant-numeric:tabular-nums;font-size:12px}
.preprocess-label{font-size:12px;font-weight:750;color:#5b6572;margin:0 0 10px}
.preprocess-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.preprocess-card{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  min-height:88px;padding:14px 10px;border:0;border-radius:14px;background:#eef1f5;
  color:#3d4652;font:inherit;font-size:12px;font-weight:750;cursor:pointer;
  transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease
}
.preprocess-card:hover{background:#e4e8ee;color:#202a35;transform:translateY(-1px)}
.preprocess-card:active{transform:translateY(0);background:#dde2e9}
.preprocess-card svg{width:22px;height:22px;fill:none;stroke:#6b7280;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;transition:stroke .15s ease}
.preprocess-card:hover svg{stroke:#5b21b6}
.preprocess-card.is-applied{background:#efe6fb;color:#3d4652}
.preprocess-card.is-applied svg{stroke:#8b43d9}
.preprocess-card.is-applied:hover{background:#e6d7f8}
@media(max-width:620px){
  .preprocess-grid{grid-template-columns:1fr 1fr}
  .selection-sliders{grid-template-columns:1fr}
}

/* Tool modals */
.tool-modal[hidden]{display:none}
.tool-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px}
.tool-modal-backdrop{position:absolute;inset:0;background:rgba(20,28,38,.48);backdrop-filter:blur(3px)}
.tool-modal-dialog{
  position:relative;width:min(100%,420px);background:#fff;border-radius:20px;padding:26px 24px 22px;
  box-shadow:0 24px 70px rgba(16,24,40,.22)
}
.tool-modal-wide{width:min(100%,520px)}
.tool-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tool-modal-head h3{margin:0;font-size:20px;letter-spacing:-.03em;color:#202a35}
.tool-modal-head-actions{display:flex;align-items:center;gap:4px}
.tool-modal-close,.tool-icon-btn{
  border:0;background:transparent;color:#7b8797;font-size:24px;line-height:1;cursor:pointer;
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center
}
.tool-modal-close:hover,.tool-icon-btn:hover{background:#f1f3f6;color:#202a35}
.tool-icon-btn{font-size:18px}
.tool-modal-desc{margin:0 0 20px;color:#667085;font-size:14px;line-height:1.55}
.tool-field{margin-bottom:18px}
.tool-field-label{display:block;font-size:12px;font-weight:750;color:#5b6572;margin-bottom:8px}
.tool-field-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.tool-field-row strong{font-size:13px;color:#202a35;font-variant-numeric:tabular-nums}
.tool-scale{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:#98a1ae;font-weight:650}
.tool-segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#eef1f4;border-radius:11px}
.tool-segment button{
  border:0;background:transparent;border-radius:8px;padding:10px;font:inherit;font-size:13px;font-weight:750;
  color:#5b6572;cursor:pointer
}
.tool-segment button.active{background:#8b43d9;color:#fff;box-shadow:0 4px 12px rgba(139,67,217,.2)}
.tool-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.tool-btn-secondary{
  border:1px solid #d9dee6;background:#fff;color:#4d5967;border-radius:10px;padding:11px 16px;
  font:inherit;font-size:13px;font-weight:750;cursor:pointer
}
.tool-btn-secondary:hover{background:#f5f6f8}
.tool-btn-primary{
  border:0;background:#7c5cbf;color:#fff;border-radius:12px;padding:11px 18px;
  font:inherit;font-size:13px;font-weight:750;cursor:pointer;box-shadow:none !important;
}
.tool-btn-primary:hover{background:#6b4fa8}
.tool-btn-primary:focus,.tool-btn-primary:focus-visible{outline:none;box-shadow:none !important}
.tool-btn-primary:disabled{opacity:.55;cursor:wait;box-shadow:none !important}


/* —— Equalizer (fixed vertical sliders via rotate) —— */
:root{
  --eq-purple:#7c5cbf;
  --eq-purple-deep:#6b4fa8;
  --eq-purple-soft:#efeaf8;
  --eq-track:#e2e0e8;
  --eq-card:#f9fafc;
  --eq-btn-bg:#eff1f5;
}

/* Hide drop zone completely when a track is loaded */
#tool-drop[hidden],
.tool-drop[hidden]{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}
.midi-workbench #tool-drop[hidden],
.midi-workbench .tool-drop[hidden],
.midi-workbench.has-file #tool-drop,
.midi-workbench.has-file .tool-drop{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}

.eq-top-actions{
  display:flex;justify-content:center;align-items:center;gap:10px;
  margin:0 0 20px;flex-wrap:wrap;
}
.eq-pill-btn{
  display:inline-flex;align-items:center;gap:8px;
  height:40px;padding:0 16px;
  border-radius:12px;border:0;outline:0;
  background:var(--eq-btn-bg);color:#2c3340;
  font-size:13.5px;font-weight:700;cursor:pointer;
  transition:background .15s,color .15s;
  box-shadow:none;
}
.eq-pill-btn:hover{background:#e4e7ec;color:#18212b}
.eq-pill-btn:focus,.eq-pill-btn:focus-visible{outline:none;box-shadow:none}
.eq-pill-btn .eq-caret{opacity:.5;margin-left:2px}
.lib-badge,
.eq-mode .lib-badge,
.nav-library-link .lib-badge,
#lib-badge,#eq-lib-count{
  display:inline-grid;place-items:center;
  min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:#202a35;color:#fff;font-size:10px;font-weight:800;
  margin-left:4px;border:0;outline:0;box-shadow:none;
}

.eq-file-card{
  display:flex;align-items:center;gap:14px;
  padding:16px 18px;border-radius:16px;
  background:var(--eq-card);margin-bottom:14px;border:0;
}
.eq-file-icon{
  width:42px;height:42px;border-radius:12px;
  background:#e8eaef;color:#5b6572;
  display:grid;place-items:center;flex:none;
}
.eq-file-meta{flex:1;min-width:0}
.eq-file-meta strong{
  display:block;font-size:14px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.eq-file-meta span{display:block;margin-top:3px;font-size:12.5px;color:#8b949e}
.eq-remove-btn{
  flex:none;height:36px;padding:0 14px;border-radius:10px;
  background:#fff;border:1px solid #e2e6ec;color:#5b6572;
  font-size:12.5px;font-weight:700;cursor:pointer;
}
.eq-remove-btn:hover{background:#f5f7f9;color:#18212b}

.eq-presets-row{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-bottom:14px;padding:10px 12px;border-radius:14px;
  background:var(--eq-card);
}
.eq-presets-label{font-size:12.5px;font-weight:750;color:#687485;flex:none}
.eq-presets{display:flex;flex-wrap:nowrap;gap:6px;margin:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.eq-presets button{
  height:34px;padding:0 12px;border-radius:10px;flex:none;white-space:nowrap;border:0;outline:0;
  background:#eef1f5;color:#5b6572;font-size:12.5px;font-weight:700;cursor:pointer;
  transition:background .14s,color .14s;
}
.eq-presets button.active{
  background:var(--eq-purple);color:#fff;
  box-shadow:none;
}
.eq-presets button:hover:not(.active){background:#e8eaef;color:#2c3340}

.eq-response-card{
  background:var(--eq-card);border-radius:14px;padding:12px 14px 6px;margin-bottom:14px;
}
.eq-response-label{font-size:11.5px;font-weight:700;color:#98a1ae;margin-bottom:4px}
#eq-response-canvas{display:block;width:100%;height:100px}

.eq-bands{
  display:flex;justify-content:space-between;align-items:stretch;
  gap:2px;height:230px;margin:0 0 14px;padding:14px 8px 10px;
  background:var(--eq-card);border-radius:16px;
}
.eq-band{
  flex:1;min-width:0;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;
  gap:6px;
}
.eq-band em{
  font-style:normal;font-size:11px;font-weight:750;color:#3d4652;
  font-variant-numeric:tabular-nums;order:1;white-space:nowrap;
}
.eq-band .eq-slider-wrap{
  order:2;flex:1;width:100%;min-height:150px;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
/* Horizontal range rotated -90deg = reliable vertical slider */
.eq-band input[type=range]{
  -webkit-appearance:none;appearance:none;
  width:150px;height:6px;margin:0;padding:0;
  border:0 !important;outline:none !important;box-shadow:none !important;
  background:transparent;
  transform:rotate(-90deg);
  transform-origin:center center;
  cursor:pointer;
}
.eq-band input[type=range]:focus,
.eq-band input[type=range]:focus-visible{
  outline:none !important;border:0 !important;box-shadow:none !important;
}
.eq-band input[type=range]::-webkit-slider-runnable-track{
  height:6px;border-radius:99px;border:0;
  background:linear-gradient(
    to right,
    var(--eq-purple) 0%,
    var(--eq-purple) var(--eq-fill, 50%),
    var(--eq-track) var(--eq-fill, 50%),
    var(--eq-track) 100%
  );
}
.eq-band input[type=range]::-moz-range-track{
  height:6px;border-radius:99px;background:var(--eq-track);border:0;
}
.eq-band input[type=range]::-moz-range-progress{
  height:6px;border-radius:99px;background:var(--eq-purple);border:0;
}
.eq-band input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:18px;height:18px;border-radius:50%;
  background:var(--eq-purple);border:0 !important;outline:0 !important;
  box-shadow:0 2px 6px rgba(124,92,191,.35);
  margin-top:-6px;cursor:pointer;
}
.eq-band input[type=range]::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;
  background:var(--eq-purple);border:0 !important;outline:0 !important;
  box-shadow:0 2px 6px rgba(124,92,191,.35);cursor:pointer;
}
.eq-band span{font-size:10.5px;font-weight:750;color:#98a1ae;order:3;text-align:center}

.eq-preview-row{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-bottom:14px;padding:12px 14px;border-radius:14px;
  background:var(--eq-card);
}
.eq-preview-row .tool-btn-primary,
.eq-preview-row #tool-play{
  background:var(--eq-purple) !important;color:#fff !important;
  border:0 !important;outline:0 !important;
  box-shadow:none !important;
}
.eq-preview-row .tool-btn-primary:hover,
.eq-preview-row #tool-play:hover{background:var(--eq-purple-deep) !important}
.eq-preview-row .tool-btn-primary:focus,
.eq-preview-row .tool-btn-primary:focus-visible,
.eq-preview-row #tool-play:focus,
.eq-preview-row #tool-play:focus-visible{
  outline:none !important;border:0 !important;
  box-shadow:none !important;
}
.eq-preview-row .tool-btn-secondary{
  background:#fff;border:1px solid #e2e6ec;color:#4e5967;
  box-shadow:none;outline:0;
}
.eq-preview-row .tool-btn-secondary:focus{outline:none;box-shadow:none}
.eq-live-hint{font-size:12.5px;color:#98a1ae}

.eq-output-row{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  margin-bottom:16px;padding:14px 16px;background:var(--eq-card);border-radius:14px;
}
.eq-output-label{font-size:13px;font-weight:750;color:#4e5967}
.eq-format-select{
  height:38px;padding:0 12px;border-radius:10px;
  border:1px solid #e2e6ec;background:#fff;color:#18212b;
  font-size:13px;font-weight:650;outline:0;
}
.eq-output-hint{font-size:12.5px;color:#98a1ae;flex:1;min-width:160px}

.eq-download-row{display:flex}
.eq-apply-btn,
#tool-apply.eq-apply-btn{
  height:46px;padding:0 22px;border-radius:12px;border:0 !important;outline:0 !important;
  background:var(--eq-purple) !important;color:#fff !important;
  font-size:14px;font-weight:750;
  display:inline-flex;align-items:center;gap:8px;cursor:pointer;
  box-shadow:none !important;
}
.eq-apply-btn:hover{background:var(--eq-purple-deep) !important}
.eq-apply-btn:focus,.eq-apply-btn:focus-visible{
  outline:none !important;border:0 !important;
  box-shadow:none !important;
}
.eq-apply-btn:disabled{opacity:.45;cursor:default;box-shadow:none !important}

.lib-popover{
  position:fixed;z-index:400;width:min(380px,calc(100vw - 24px));
  background:#fff;border-radius:18px;
  box-shadow:0 16px 48px rgba(20,30,45,.14),0 2px 8px rgba(20,30,45,.05);
  border:1px solid #e8ecf1;padding:16px 16px 12px;
}
.lib-popover-kicker{
  font-size:10px;font-weight:800;letter-spacing:.1em;color:#98a1ae;
  text-transform:uppercase;margin:0 0 4px;
}
.lib-popover-list{margin:10px 0 8px;max-height:260px;overflow:auto}
.lib-empty{margin:12px 4px;font-size:13px;color:#8b949e;line-height:1.45}
.lib-item{
  width:100%;display:flex;align-items:center;gap:12px;
  padding:10px 8px;border:0;border-radius:12px;background:transparent;
  text-align:left;cursor:pointer;color:inherit;
}
.lib-item:hover{background:#f5f7f9}
.lib-item-icon{
  width:40px;height:40px;border-radius:12px;
  background:var(--eq-purple-soft,#efeaf8);color:var(--eq-purple,#7c5cbf);
  display:grid;place-items:center;flex:none;
}
.lib-item-meta{min-width:0;flex:1}
.lib-item-meta strong{
  display:block;font-size:13.5px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lib-item-meta em{display:block;margin-top:3px;font-style:normal;font-size:12px;color:#98a1ae}
.lib-manage{
  display:block;text-align:center;padding:10px 8px 4px;
  font-size:13.5px;font-weight:750;color:var(--eq-purple,#7c5cbf);text-decoration:none;
}
.lib-manage:hover{text-decoration:underline;color:var(--eq-purple-deep,#6b4fa8)}
.nav-library-link{
  display:inline-flex;align-items:center;gap:6px;
  color:inherit;text-decoration:none;font:inherit;
  padding:8px 10px;border-radius:9px;
  transition:background .15s,color .15s;
}
.nav-library-link:hover{background:#eef1f6;color:#111827}
.nav-library-link .lib-badge{margin-left:2px}

@media(max-width:720px){
  .eq-bands{height:200px}
  .eq-band input[type=range]{width:130px}
  .eq-live-hint{display:none}
  .eq-apply-btn{width:100%;justify-content:center}
}

.tool-modal-open{overflow:hidden}

/* —— Standalone tool pages —— */
.tool-hero h1{font-size:clamp(36px,4.5vw,52px)}
.tool-app-section{padding:10px 0 40px}
.tool-drop{
  text-align:center;padding:42px 24px;border-radius:16px;
  background:#fafbfc;border:1.5px dashed #d5dbe3;
  cursor:pointer;min-height:220px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition:background .18s ease,border-color .18s ease
}
.tool-drop:hover{background:#f5f7f9;border-color:#c5ccd6}
.tool-drop.drag{background:#f3f0f8;border-color:#b9a3d9}
.tool-drop-visual{margin:0 auto 18px;display:grid;place-items:center}
.tool-drop-icon{
  width:52px;height:52px;border-radius:14px;background:#eef1f5;color:#5c6876;
  display:grid;place-items:center
}
.tool-drop-icon svg{width:24px;height:24px;display:block}
.tool-drop:hover .tool-drop-icon{background:#e8ebef;color:#3d4652}
.tool-drop-title{margin:0 0 8px;font-size:17px;font-weight:800;color:#202a35;letter-spacing:-.02em}
.tool-drop-sub{margin:0 0 18px;color:#8b949e;font-size:13px;line-height:1.45;max-width:360px}
.tool-upload-btn{
  border:0;border-radius:10px;padding:12px 20px;
  background:#202a35;color:#fff;font:inherit;font-size:13px;font-weight:750;
  cursor:pointer;transition:background .15s ease,transform .15s ease
}
.tool-upload-btn:hover{background:#151d26}
.tool-drop button,.tool-drop .textish{cursor:pointer}
.tool-drop .muted{color:#98a1ae;font-size:13px}

.tool-workbench{max-width:950px;margin:0 auto;background:#fff;border:0;border-radius:24px;padding:28px 28px 32px;box-shadow:var(--shadow)}

.textish{
  border:0;background:none;color:#8b43d9;font:inherit;font-weight:750;cursor:pointer;text-decoration:underline
}
.tool-file-line{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:14px
}
.tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.tool-copy-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start
}
.tool-copy-grid h2{margin:8px 0 16px;font-size:28px;letter-spacing:-.03em}
.tool-copy-grid p{color:#5b6572;font-size:15px;line-height:1.65;margin:0 0 14px}
.how-list{display:flex;flex-direction:column;gap:16px}
.how-step{display:flex;gap:14px}
.how-num{
  flex:0 0 36px;height:36px;border-radius:10px;background:#efe6fb;color:#6f3e9f;
  display:grid;place-items:center;font-size:12px;font-weight:850
}
.how-step h3{margin:0 0 4px;font-size:16px}
.how-step p{margin:0;color:#5b6572;font-size:14px;line-height:1.55}
.tool-faq{margin-top:18px}
.tool-back{margin-top:28px}
.badge-live{
  display:inline-flex;align-self:flex-start;margin-top:11px;font-size:9px;text-transform:uppercase;
  letter-spacing:.09em;font-weight:850;color:#6f3e9f;background:#efe6fb;border-radius:7px;padding:5px 8px
}
a.tool-card-link{text-decoration:none;color:inherit}
a.tool-card-link:hover{transform:translateY(-2px)}
.merge-list{list-style:none;margin:0;padding:0}
.merge-list li{
  display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;
  background:#f4f6f8;margin-bottom:6px;font-size:13px;font-weight:650
}
.merge-list em{font-style:normal;color:#98a1ae}
.detect-result{text-align:center;padding:24px 12px;margin:8px 0}
.detect-bpm{font-size:48px;font-weight:850;letter-spacing:-.04em;color:#202a35}
.detect-sub{margin:6px 0 0;color:#697585;font-size:14px}
@media(max-width:800px){
  .tool-copy-grid{grid-template-columns:1fr;gap:32px}
}


/* Tool article sections: one full-width section after another (not a two-column split). */
.tool-copy-grid{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:42px;
}
.tool-copy-grid > div{
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
}
.tool-copy-grid h3{
  margin:22px 0 10px;
  font-size:20px;
  letter-spacing:-.02em;
}
.tool-copy-grid .tool-related{
  margin-top:18px;
  padding-top:14px;
}
.tool-copy-grid .tool-related a{
  color:var(--accent,#7c3aed);
  text-decoration:underline;
  text-underline-offset:3px;
}


/* v32: clearer file-upload affordance on every standalone audio tool */


.tool-upload-icon


/* Tool education sections now follow the homepage's vertical reading flow */
.tool-copy-grid{display:flex;flex-direction:column;gap:42px;max-width:980px}
.tool-copy-grid>div{width:100%;min-width:0}
.tool-copy-grid h2{font-size:clamp(28px,3vw,36px);line-height:1.2;margin:10px 0 20px}
.tool-copy-grid h3{font-size:22px;line-height:1.35;margin:26px 0 10px}
.tool-copy-grid p{font-size:17px;line-height:1.85;margin:0 0 20px;color:#525e6d;white-space:normal}
.tool-copy-grid .how-list{gap:22px;margin-top:6px}
.tool-copy-grid .how-step{gap:18px;align-items:flex-start}
.tool-copy-grid .how-num{flex-basis:42px;height:42px;font-size:13px}
.tool-copy-grid .how-step h3{font-size:19px;margin:0 0 7px}
.tool-copy-grid .how-step p{font-size:16.5px;line-height:1.8;margin:0}
.tool-copy-tip{margin-top:22px!important;padding:18px 22px;background:#f6f2fb;border-radius:14px;color:#566171!important;font-size:16px!important}
.tool-copy-tip strong{color:#6f3e9f}
.tools-page-grid .tool-card .badge-live,.tools-page-grid .tool-card .badge-soon{display:none!important}
@media(max-width:800px){.tool-copy-grid{gap:34px}.tool-copy-grid p{font-size:16px;line-height:1.75}.tool-copy-grid .how-step p{font-size:15.5px}.tool-copy-grid h3{font-size:20px}}

a.tool-card-link{display:flex;flex-direction:column}
a.tool-card-link .arrow{margin-top:auto;padding-top:16px;color:#707b89;font-size:12px;font-weight:800}
a.tool-card-link:hover .arrow{color:#8b43d9}

/* New tool result UI */
.chord-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:520px;margin:0 auto}
.chord-pill{
  display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;
  background:#eef1f5;color:#303946;font-size:13px;font-weight:750
}
.playlist-table-wrap{overflow:auto;margin:12px 0 8px;border-radius:12px;background:#f7f8fa}
.playlist-table{width:100%;border-collapse:collapse;font-size:13px}
.playlist-table th,.playlist-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e8ecf1}
.playlist-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#7a8595;font-weight:800}
.playlist-table td{color:#303946;font-weight:650}
.playlist-table tr:last-child td{border-bottom:0}

.comp-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:8px 0 4px}
@media(max-width:620px){.comp-grid{grid-template-columns:1fr}}

.tools-mega-inner.tools-mega-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 18px}
.tools-mega{width:min(1100px,calc(100vw - 32px))}
@media(max-width:900px){.tools-mega-inner.tools-mega-4{grid-template-columns:repeat(2,minmax(0,1fr))}}

.tools-page-grid-wide{grid-template-columns:1fr}
.tools-page-grid-wide .tool-card{max-width:none}

/* Breadcrumb */
.breadcrumb{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  padding:18px 0 0;font-size:13px;font-weight:650;color:#98a1ae
}
.breadcrumb-home{
  display:inline-flex;align-items:center;gap:6px;
  color:#303946;text-decoration:none;font-weight:750
}
.breadcrumb-home:hover{color:#8b43d9}
.breadcrumb-home svg{flex:0 0 auto;opacity:.85}
.breadcrumb-sep{color:#c5ccd6;font-weight:500;font-size:14px;line-height:1}
.breadcrumb-current{color:#98a1ae;font-weight:650}
.page-hero{padding-top:18px}

/* Contact page */
.accent-text{color:#202a35}
.contact-section{padding-top:10px}
.contact-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:48px;align-items:start
}
.contact-lead{margin:0 0 28px;color:#5b6572;font-size:16px;line-height:1.7;max-width:420px}
.contact-meta{display:flex;flex-direction:column;gap:16px;margin-bottom:28px}
.contact-meta-item{display:flex;gap:14px;align-items:flex-start}
.contact-meta-icon{
  width:44px;height:44px;border-radius:12px;background:#eef1f5;color:#5b6572;
  display:grid;place-items:center;flex:0 0 auto
}
.contact-meta-icon svg{width:20px;height:20px}
.contact-meta-label{
  display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:#98a1ae;margin-bottom:4px
}
.contact-meta-item a{color:#202a35;font-weight:750;text-decoration:none}
.contact-meta-item a:hover{color:#111827}
.contact-tips{
  padding:20px 22px;border-radius:16px;background:#f2f4f8
}
.contact-tips h3{
  margin:0 0 12px;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#3d4652
}
.contact-tips ul{margin:0;padding-left:18px;color:#5b6572;font-size:14px;line-height:1.65}
.contact-tips li{margin-bottom:8px}
.contact-tips li:last-child{margin-bottom:0}
.contact-card{
  background:#fff;border-radius:20px;padding:28px 26px 24px;
  box-shadow:0 12px 40px rgba(25,35,50,.08)
}
.contact-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.contact-field span{
  font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7a8595
}
.contact-field input,.contact-field select,.contact-field textarea{
  border:0;border-radius:12px;background:#f2f4f8;padding:14px 16px;
  font:inherit;font-size:14px;color:#202a35;outline:none;
  transition:box-shadow .15s ease,background .15s ease
}
.contact-field input:focus,.contact-field select:focus,.contact-field textarea:focus{
  background:#e8ebf0;box-shadow:0 0 0 3px rgba(32,42,53,.1)
}
.contact-field textarea{resize:vertical;min-height:140px}
.contact-submit{
  width:100%;border:0;border-radius:12px;padding:15px 18px;margin-top:4px;
  background:#202a35;color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer;
  box-shadow:0 8px 22px rgba(20,30,45,.18);transition:background .15s ease
}
.contact-submit:hover{background:#151d26}
.contact-form-note{margin:14px 0 0;text-align:center;font-size:13px;color:#7a8595}
.contact-form-note a{color:#202a35;font-weight:750;text-decoration:none}
.contact-form-note a:hover{text-decoration:underline}
.about-section{padding-top:20px}
.about-prose{max-width:none;width:auto;color:var(--muted);font-size:17px;line-height:1.8;text-align:justify;hyphens:auto}
.about-prose h2{color:var(--ink);font-size:28px;margin:32px 0 14px;text-align:left}
.about-prose h2:first-child{margin-top:0}
.about-prose p{margin:0 0 18px}
.about-list{margin:0 0 18px;padding-left:22px;color:var(--muted);font-size:17px;line-height:1.8}
.about-list li{margin:0 0 10px}
.about-prose a{color:var(--ink);font-weight:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.about-prose a:hover{color:var(--ink)}
@media(max-width:860px){
  .contact-layout{grid-template-columns:1fr;gap:32px}
  .contact-form-row{grid-template-columns:1fr}
}

/* Blog: listing grid + article layout */
.blog-section{padding:32px 0 90px}
.blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:8px}
.blog-card{background:#fff;border:0;border-radius:20px;padding:24px;display:flex;flex-direction:column;box-shadow:0 8px 32px rgba(25,35,50,.06);transition:transform .15s ease,box-shadow .15s ease}
.blog-card:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(25,35,50,.1)}
.blog-cover{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:0 0 18px;display:block}
.blog-card-icon{display:none}
.blog-card-icon svg{width:22px;height:22px}
.blog-tag{display:inline-flex;align-self:flex-start;font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:750;color:#98a1ae;background:transparent;border:0;border-radius:0;padding:0;margin-bottom:10px}
.blog-card h3{margin:0 0 8px;font-size:18px;letter-spacing:-.02em;line-height:1.3}
.blog-card p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.6}
.blog-card .arrow{margin-top:auto;padding-top:16px;color:#707b89;font-size:12px;font-weight:800}
.blog-card:hover .arrow{color:#202a35}
@media(max-width:900px){.blog-grid{grid-template-columns:1fr}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}}

.article-section{padding:8px 0 30px}
.article-meta{display:flex;gap:10px;align-items:center;color:#98a1ae;font-size:12px;font-weight:700;margin-top:14px;justify-content:center}
.article-meta .dot{width:3px;height:3px;border-radius:50%;background:#c5ccd6}
.article-body{max-width:760px;margin:0 auto}
.article-body h2{margin:32px 0 12px;font-size:24px;letter-spacing:-.03em;color:#202a35}
.article-body h2:first-child{margin-top:0}
.article-body h3{margin:26px 0 10px;font-size:18px;letter-spacing:-.02em;color:#202a35}
.article-body p{margin:0 0 14px;color:#5b6572;font-size:16px;line-height:1.75}
.article-body ul,.article-body ol{margin:0 0 16px;padding-left:22px;color:#5b6572;font-size:16px;line-height:1.75}
.article-body li{margin-bottom:6px}
.article-body a{color:#6f3e9f;font-weight:700;text-decoration:none}
.article-body a:hover{text-decoration:underline}
.article-body strong{color:#202a35}
.article-cta{background:#f4f6f8;border:1px solid #e4e8ee;border-radius:18px;padding:22px 24px;margin:28px 0}
.article-cta p{margin:0 0 10px;color:#5b6572;font-size:15px}
.article-cta-links{display:flex;gap:10px;flex-wrap:wrap}
.article-cta-links a{background:#fff;border:1px solid #d9dee6;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:800;color:#303946}
.article-cta-links a:hover{background:#202a35;color:#fff;border-color:#202a35}
.related-posts{margin-top:44px;padding-top:28px;border-top:1px solid var(--line)}
.related-posts h4{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#8b95a3;margin:0 0 14px}
.related-posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:620px){.related-posts-grid{grid-template-columns:1fr}.article-body h2{font-size:21px}.article-body p,.article-body ul,.article-body ol{font-size:15px}}


/* ============================================================
   Gradient border on upload dropzone — matches site logo ring
   Uses the same multi-stop rainbow as the circular logo
   ============================================================ */

.dropzone{
  position: relative;
  border: 2px solid transparent !important;
  background:
    linear-gradient(#fbfcfd, #fbfcfd) padding-box,
    conic-gradient(
      from 210deg,
      #ff4d8d 0deg,
      #e040fb 40deg,
      #7c4dff 80deg,
      #40c4ff 130deg,
      #00e676 180deg,
      #ffea00 230deg,
      #ff9100 280deg,
      #ff4d8d 320deg,
      #ff4d8d 360deg
    ) border-box !important;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6) inset;
}

/* Slightly softer version on hover / when dragging */
.dropzone:hover,
.dropzone.drag-over{
  background:
    linear-gradient(#f8f9fb, #f8f9fb) padding-box,
    conic-gradient(
      from 210deg,
      #ff4d8d 0deg,
      #e040fb 40deg,
      #7c4dff 80deg,
      #40c4ff 130deg,
      #00e676 180deg,
      #ffea00 230deg,
      #ff9100 280deg,
      #ff4d8d 320deg,
      #ff4d8d 360deg
    ) border-box !important;
}

/* Make the gradient a bit more vivid and present */
@media (min-width: 621px){
  .dropzone{
    border-width: 2.5px !important;
  }
}

/* EQ button icon centering */
.eq-preview-row .tool-btn-primary,
.eq-preview-row .tool-btn-secondary,
.eq-apply-btn,
.eq-play-btn,
.eq-icon-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  line-height:1 !important;
  vertical-align:middle;
}
.eq-btn-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;height:16px;
  flex:none;
  line-height:0;
}
.eq-btn-ico svg{
  display:block;
  width:14px;height:14px;
}
.eq-apply-btn .eq-btn-ico svg{width:16px;height:16px}

/* Output format select with centered custom caret */
.eq-format-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.eq-format-select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  height:38px;padding:0 36px 0 14px;border-radius:10px;
  border:1px solid #e2e6ec;background:#fff;color:#18212b;
  font-size:13px;font-weight:650;outline:0;cursor:pointer;
  line-height:38px;
}
.eq-format-wrap::after{
  content:"";
  position:absolute;right:12px;top:50%;
  width:8px;height:8px;
  border-right:2px solid #687485;
  border-bottom:2px solid #687485;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}
.eq-format-select:focus{border-color:#c4b5e0;box-shadow:0 0 0 3px rgba(124,92,191,.12)}

/* Ensure Pause has no outline */
.eq-preview-row #tool-play,
.eq-preview-row #tool-play:focus,
.eq-preview-row #tool-play:focus-visible{
  outline:none !important;
  border:0 !important;
}

/* Fully rounded EQ sliders */
.eq-band input[type=range]::-webkit-slider-runnable-track{
  height:8px !important;border-radius:999px !important;border:0 !important;
}
.eq-band input[type=range]::-moz-range-track{
  height:8px !important;border-radius:999px !important;border:0 !important;
}
.eq-band input[type=range]::-moz-range-progress{
  height:8px !important;border-radius:999px !important;border:0 !important;
}
.eq-band input[type=range]::-webkit-slider-thumb{
  width:18px !important;height:18px !important;border-radius:50% !important;
  border:0 !important;box-shadow:0 1px 3px rgba(30,40,55,.18) !important;
  margin-top:-5px !important;
}
.eq-band input[type=range]::-moz-range-thumb{
  width:18px !important;height:18px !important;border-radius:50% !important;
  border:0 !important;box-shadow:0 1px 3px rgba(30,40,55,.18) !important;
}
.eq-preview-row .tool-btn-primary,
.eq-apply-btn,
#tool-play.eq-play-btn{
  box-shadow:none !important;
}

.lib-badge[hidden],
#lib-badge[hidden],
#eq-lib-count[hidden]{
  display:none !important;
}
.lib-popover[hidden]{
  display:none !important;
}

.lib-item-loading{opacity:.55;pointer-events:none}
.lib-item-icon{
  background:var(--eq-purple-soft,#efeaf8) !important;
  color:var(--eq-purple,#7c5cbf) !important;
}
.lib-manage{color:var(--eq-purple,#7c5cbf) !important}
.lib-manage:hover{color:var(--eq-purple-deep,#6b4fa8) !important}
.eq-presets-row{overflow:hidden}
@media(min-width:900px){
  .eq-presets{flex-wrap:nowrap}
}

/* —— EQ top actions = mode-tabs language —— */
.eq-top-actions{
  display:flex;justify-content:center;margin:0 0 22px;
}
.eq-mode-tabs{
  display:inline-flex;align-items:center;gap:6px;
  background:#eef1f4;border-radius:15px;padding:6px;
}
.eq-mode{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:40px;padding:0 16px;border:0;border-radius:11px;
  background:transparent;color:#697585;
  font-size:13.5px;font-weight:750;cursor:pointer;
  transition:background .15s,color .15s,box-shadow .15s;
}
.eq-mode:hover{color:#202a35}
.eq-mode.active,
.eq-mode:focus-visible{
  background:#fff;color:#202a35;
  box-shadow:0 3px 12px rgba(30,40,55,.07);
  outline:none;
}
.eq-mode-ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:9px;
  background:rgba(255,255,255,.65);color:#5b6572;
}
.eq-mode.active .eq-mode-ico{background:#f1f3f6;color:#3d4652}
.eq-mode-caret{display:inline-flex;opacity:.55;margin-left:2px}
.eq-mode .lib-badge{
  background:#202a35 !important;color:#fff !important;
}

/* —— Library popover — History modal language —— */
.lib-popover{
  position:fixed;z-index:400;width:min(380px,calc(100vw - 24px));
  background:#fff;border-radius:22px;
  box-shadow:0 22px 60px rgba(16,24,40,.18),0 2px 10px rgba(16,24,40,.06);
  border:1px solid #e8ecf1;padding:18px 18px 14px;
}
.lib-popover-head{margin-bottom:8px}
.lib-popover-title-row{
  display:flex;align-items:center;gap:10px;
}
.lib-popover-title{
  margin:0;font-size:17px;font-weight:800;color:#18212b;letter-spacing:-.02em;
}
.lib-popover-count{
  min-width:22px;height:22px;padding:0 7px;border-radius:999px;
  background:#f0f2f5;color:#5b6572;
  font-size:12px;font-weight:800;
  display:inline-grid;place-items:center;
}
.lib-popover-list{margin:8px 0 4px;max-height:280px;overflow:auto}
.lib-empty{
  margin:28px 8px;text-align:center;font-size:13.5px;color:#98a1ae;line-height:1.45;
}
.lib-item{
  width:100%;display:flex;align-items:center;gap:12px;
  padding:10px 10px;border:0;border-radius:12px;background:transparent;
  text-align:left;cursor:pointer;color:inherit;
}
.lib-item:hover{background:#f5f7f9}
.lib-item-icon{
  width:40px;height:40px;border-radius:12px;
  background:#eef1f5 !important;color:#5b6572 !important;
  display:grid;place-items:center;flex:none;
}
.lib-item-meta{min-width:0;flex:1}
.lib-item-meta strong{
  display:block;font-size:13.5px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lib-item-meta em{display:block;margin-top:3px;font-style:normal;font-size:12px;color:#98a1ae}
.lib-popover-foot{
  display:flex;justify-content:flex-end;margin-top:10px;padding-top:6px;
  border-top:1px solid #eef0f3;
}
.lib-clear{
  display:inline-flex;align-items:center;gap:6px;
  border:0;background:transparent;color:#8993a1;
  font-size:12px;font-weight:750;cursor:pointer;padding:6px 4px;
  transition:color .18s ease;
}
.lib-clear:hover{color:#c0392b}
.lib-clear svg{
  width:15px;height:15px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.nav-library-link .lib-badge,
#lib-badge{
  background:#202a35 !important;color:#fff !important;
}

/* EQ top tabs — refined */
.eq-mode-tabs{
  display:inline-flex;align-items:center;gap:6px;
  background:#f8fafc;border-radius:15px;padding:6px;
}
.eq-mode{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:40px;padding:0 16px;border:0;border-radius:11px;
  background:transparent !important;color:#697585;
  font-size:13.5px;font-weight:750;cursor:pointer;
  box-shadow:none !important;
  transition:background .15s,color .15s,box-shadow .15s;
}
.eq-mode.active{
  background:transparent !important;color:#202a35;
  box-shadow:none !important;
}
.eq-mode:hover,
.eq-mode:focus-visible{
  background:#fff !important;color:#202a35;
  box-shadow:0 3px 12px rgba(30,40,55,.07) !important;
  outline:none;
}
.eq-mode-ico{
  background:transparent !important;color:#5b6572;
}
.eq-mode:hover .eq-mode-ico{color:#3d4652}

.lib-popover-foot{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:10px;padding-top:10px;
  border-top:1px solid #eef0f3;gap:12px;
}
.lib-manage{
  display:inline-flex;align-items:center;gap:4px;
  border:0;background:transparent;color:#5b6572;
  font-size:12.5px;font-weight:750;cursor:pointer;padding:6px 4px;
  text-decoration:none;transition:color .15s;
}
.lib-manage:hover{color:#202a35;text-decoration:none}


/* —— Audio Trimmer timeline —— */
.trim-toolbar{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  padding:10px 12px;margin-bottom:10px;
  background:#f8fafc;border-radius:14px;
}
.trim-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:36px;padding:0 12px;border-radius:10px;border:1px solid #e2e6ec;
  background:#fff;color:#3d4652;font-size:12.5px;font-weight:700;cursor:pointer;
  transition:background .14s,color .14s,border-color .14s;
}
.trim-btn:hover{background:#f5f7f9;color:#18212b}
.trim-btn:disabled{opacity:.4;cursor:default}
.trim-btn-add{
  background:#1f8f5a;border-color:#1f8f5a;color:#fff;
}
.trim-btn-add:hover{background:#187a4c;color:#fff}
.trim-btn-icon{width:36px;padding:0}
.trim-toolbar-sep{width:1px;height:22px;background:#e2e6ec;margin:0 2px}
.trim-time{
  font-size:12.5px;font-weight:750;color:#3d4652;
  font-variant-numeric:tabular-nums;min-width:110px;
}
.trim-hint{
  margin:0 0 10px;font-size:12px;color:#98a1ae;line-height:1.4;
}

.trim-timeline-wrap{
  background:#f8fafc;border-radius:16px;padding:12px 14px 14px;
  margin-bottom:14px;overflow:hidden;
}
.trim-zoom-row{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;
  margin-bottom:8px;
}
.trim-zoom-label{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:700;color:#687485;
}
#trim-zoom{width:120px;accent-color:#7c5cbf}
#trim-zoom-val{font-size:12px;font-weight:750;color:#3d4652;min-width:28px}

.trim-ruler{
  position:relative;height:18px;margin-bottom:4px;
  font-size:10px;font-weight:700;color:#98a1ae;
}
.trim-ruler-mark{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}

.trim-track{
  position:relative;min-height:96px;
  background:#eef1f5;border-radius:12px;
  overflow-x:auto;overflow-y:hidden;
}
.trim-clips{position:relative;height:96px;min-width:100%}
.trim-playhead{
  position:absolute;top:0;bottom:0;width:2px;background:#7c5cbf;
  z-index:5;pointer-events:none;
}
.trim-playhead::before{
  content:"";position:absolute;top:-1px;left:-4px;
  border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:7px solid #7c5cbf;
}

.trim-clip{
  position:absolute;top:8px;height:80px;
  background:linear-gradient(180deg,#f3eeff 0%,#e8e0fa 100%);
  border:1px solid #c4b5e0;border-radius:10px;
  overflow:hidden;cursor:default;user-select:none;
}
.trim-clip.is-selected{border-color:#7c5cbf;box-shadow:0 0 0 2px rgba(124,92,191,.2)}
.trim-clip-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:4px 8px 0;gap:6px;
}
.trim-clip-name{
  font-size:11px;font-weight:750;color:#3d4652;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;
}
.trim-clip-remove{
  border:0;background:transparent;color:#98a1ae;font-size:16px;
  line-height:1;cursor:pointer;padding:0 2px;flex:none;
}
.trim-clip-remove:hover{color:#c0392b}
.trim-clip-wave{display:block;width:100%;height:48px}
.trim-clip-dur{
  position:absolute;left:8px;bottom:4px;
  font-size:10px;font-weight:750;color:#687485;
}
.trim-clip-handle{
  position:absolute;top:0;bottom:0;width:8px;cursor:ew-resize;z-index:3;
}
.trim-handle-l{left:0}
.trim-handle-r{right:0}
.trim-clip-handle:hover{background:rgba(124,92,191,.15)}

.trim-row{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:12px 14px;margin-bottom:12px;
  background:#f8fafc;border-radius:14px;
}
.trim-row-label{font-size:13px;font-weight:750;color:#4e5967;flex:none}
.trim-row-hint{font-size:12px;color:#98a1ae}
#trim-crossfade{flex:1;min-width:120px;max-width:320px;accent-color:#7c5cbf}
#trim-crossfade-val{font-size:13px;font-weight:750;color:#3d4652;min-width:48px}

.trim-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.trim-actions .tool-btn-primary{
  background:#7c5cbf;border:0;color:#fff;
  display:inline-flex;align-items:center;gap:8px;
}
.trim-actions .tool-btn-primary:hover{background:#6b4fa8}

.trim-shortcuts{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;
  padding:12px 14px;background:#f8fafc;border-radius:14px;
  font-size:12px;color:#687485;
}
.trim-shortcuts-label{
  font-size:10px;font-weight:800;letter-spacing:.06em;color:#98a1ae;
  margin-right:4px;
}
.trim-shortcuts kbd{
  display:inline-block;padding:3px 7px;border-radius:6px;
  background:#fff;border:1px solid #e2e6ec;
  font-size:11px;font-weight:750;color:#3d4652;
  font-family:inherit;
}

@media(max-width:720px){
  .trim-hint{display:none}
  .trim-toolbar{gap:6px}
  .trim-time{min-width:90px;font-size:11px}
}

/* Trimmer layout v2 — screenshot-aligned, site palette */
.trim-toolbar{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  padding:10px 12px;margin-bottom:8px;
  background:#f8fafc;border-radius:14px;
}
.trim-btn-add{
  background:#7c5cbf !important;border-color:#7c5cbf !important;color:#fff !important;
}
.trim-btn-add:hover{background:#6b4fa8 !important;color:#fff !important}

.trim-play-cluster{
  display:inline-flex;align-items:center;gap:10px;
  height:40px;padding:0 14px 0 8px;border-radius:999px;border:0;
  background:#202a35;color:#fff;cursor:pointer;
  font-size:13px;font-weight:750;
}
.trim-play-cluster:hover{background:#151d26}
.trim-play-ico{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.12);
}
.trim-play-cluster .trim-time{
  color:#fff;min-width:auto;font-variant-numeric:tabular-nums;
}

.trim-hint{margin:0 0 12px;font-size:12.5px;color:#98a1ae}

.trim-timeline-wrap{
  background:#f8fafc;border-radius:16px;padding:14px 14px 16px;
  margin-bottom:14px;
}
.trim-ruler{position:relative;height:20px;margin-bottom:6px;width:100%}
.trim-ruler-mark{
  position:absolute;top:0;transform:translateX(-50%);
  font-size:11px;font-weight:700;color:#98a1ae;white-space:nowrap;
}
.trim-track{
  position:relative;min-height:110px;
  background:#eef1f5;border-radius:14px;
  overflow-x:auto;overflow-y:hidden;
}
.trim-clips{position:relative;height:110px;min-width:100%}
.trim-playhead{
  position:absolute;top:0;bottom:0;width:2px;background:#7c5cbf;z-index:5;pointer-events:none;
}
.trim-playhead::before{
  content:"";position:absolute;top:0;left:-5px;
  width:0;height:0;
  border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:8px solid #7c5cbf;
}
.trim-clip{
  position:absolute;top:12px;height:86px;
  background:linear-gradient(180deg,#f0ebff 0%,#e4dbf7 100%);
  border:1px solid #c4b5e0;border-radius:12px;
  overflow:hidden;
}
.trim-clip.is-selected{border-color:#7c5cbf;box-shadow:0 0 0 2px rgba(124,92,191,.18)}
.trim-clip-wave{height:56px}
.trim-clip-handle{width:10px}
.trim-handle-l{left:0;background:linear-gradient(90deg,rgba(124,92,191,.25),transparent)}
.trim-handle-r{right:0;background:linear-gradient(270deg,rgba(124,92,191,.25),transparent)}

.trim-card{
  background:#f8fafc;border-radius:16px;padding:16px 18px;margin-bottom:14px;
}
.trim-card-title{
  font-size:14px;font-weight:800;color:#18212b;margin-bottom:12px;
}
.trim-crossfade-row input[type=range]{
  width:100%;accent-color:#7c5cbf;height:6px;
}
.trim-crossfade-meta{
  display:flex;align-items:center;gap:10px;margin-top:10px;
  font-size:13px;color:#98a1ae;
}
.trim-crossfade-meta strong{
  font-size:15px;font-weight:800;color:#18212b;min-width:48px;
}

.trim-output-bar{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
  background:#f8fafc;border-radius:16px;padding:14px 16px;margin-bottom:14px;
}
.trim-output-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.trim-output-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.trim-export-btn{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  box-shadow:none !important;
  display:inline-flex !important;align-items:center;gap:8px;
}
.trim-export-btn:hover{background:#6b4fa8 !important}

.trim-shortcuts{
  background:transparent;padding:4px 0 8px;margin-bottom:4px;
}
.eq-privacy-note{margin-top:8px}

@media(max-width:720px){
  .trim-output-bar{flex-direction:column;align-items:stretch}
  .trim-output-right{width:100%}
  .trim-export-btn{flex:1;justify-content:center}
  .trim-play-cluster{padding:0 12px 0 6px}
}

/* Trimmer polish */
.trim-timeline-wrap{overflow:hidden}
.trim-track{overflow-x:auto;overflow-y:hidden}
.trim-clip{box-sizing:border-box;overflow:hidden}
.trim-clip canvas.trim-clip-wave{width:100% !important;height:52px !important;display:block}
.trim-clip-head{position:absolute;top:4px;left:10px;right:28px;z-index:2;pointer-events:none}
.trim-clip-name{font-size:11px;font-weight:750;color:#3d4652;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.trim-clip-remove{position:absolute;top:4px;right:6px;z-index:4;pointer-events:auto;border:0;background:rgba(255,255,255,.7);width:22px;height:22px;border-radius:8px;color:#687485;font-size:14px;line-height:1;cursor:pointer}
.trim-clip-remove:hover{color:#c0392b}

/* Crossfade — EQ-style rounded range */
.trim-cross-row input[type=range]{
  -webkit-appearance:none;appearance:none;
  height:8px;border-radius:999px;
  background:linear-gradient(90deg,#7c5cbf 0%,#dfe3ea 0%);
  outline:none;
}
.trim-cross-row input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:18px;height:18px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
  box-shadow:0 1px 3px rgba(30,40,55,.18);
}
.trim-cross-row input[type=range]::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
}
.trim-cross-row input[type=range]::-moz-range-track{
  height:8px;border-radius:999px;background:#dfe3ea;
}

.trim-shortcuts{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;
  margin-top:8px;padding:12px 14px;
  background:#f8fafc;border-radius:14px;
  font-size:12.5px;color:#687485;
}
.trim-shortcuts-label{
  font-size:12px;font-weight:800;color:#18212b;margin-right:4px;
}
.trim-shortcuts kbd{
  display:inline-block;padding:4px 8px;border-radius:8px;
  background:#fff;border:1px solid #e2e6ec;
  font-size:11px;font-weight:750;color:#3d4652;font-family:inherit;
}

.trim-clip{
  background: #c9b6ef !important;
  border: 1px solid #a78bd6 !important;
  border-radius: 14px !important;
}
.trim-clip.is-selected{
  border-color: #7c5cbf !important;
  box-shadow: 0 0 0 2px rgba(124,92,191,.22) !important;
}
.trim-clip canvas.trim-clip-wave{
  width: 100% !important;
  height: 96px !important;
  display: block;
}
.trim-track{ min-height: 112px; }
.trim-clips{ height: 112px !important; }
.trim-clip-name{ color: #2a3340 !important; text-shadow: 0 1px 0 rgba(255,255,255,.25); }

.trim-clip{
  background: #efe8fb !important;
  border: 1px solid #d4c4f0 !important;
  border-radius: 16px !important;
}
.trim-clip.is-selected{
  border-color: #b9a3d9 !important;
  box-shadow: 0 0 0 2px rgba(124,92,191,.12) !important;
}
.trim-clip canvas.trim-clip-wave{
  height: 88px !important;
}
.trim-clip-name{
  color: #2a3340 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-shadow: none !important;
}
.trim-track{ cursor: ew-resize; }
.trim-playhead{
  width: 2px !important;
  background: #7c5cbf !important;
}
.trim-playhead::before{
  border-top-color: #7c5cbf !important;
}


/* Audio Merger list */
.merge-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.merge-item{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;background:#f8fafc;border-radius:14px;border:1px solid #eef0f3;
}
.merge-item-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.merge-item-idx{
  width:28px;height:28px;border-radius:9px;background:#efeaf8;color:#7c5cbf;
  display:grid;place-items:center;font-size:12px;font-weight:800;flex:none;
}
.merge-item-meta{min-width:0}
.merge-item-meta strong{
  display:block;font-size:13.5px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.merge-item-meta em{display:block;margin-top:2px;font-style:normal;font-size:12px;color:#98a1ae}
.merge-item-actions{display:flex;align-items:center;gap:4px;flex:none}
.merge-icon-btn{
  width:32px;height:32px;border-radius:9px;border:1px solid #e2e6ec;background:#fff;
  color:#3d4652;font-size:14px;font-weight:700;cursor:pointer;
  display:grid;place-items:center;
}
.merge-icon-btn:hover{background:#f5f7f9}
.merge-icon-btn:disabled{opacity:.35;cursor:default}
.merge-remove:hover{color:#c0392b;border-color:#f0c2c2}
#merge-hint{margin:10px 0 0;font-size:13px}

/* Merger gap slider — same language as Crossfade */
.merge-gap-card{
  background:#f8fafc;border-radius:16px;padding:14px 16px;margin:14px 0;
}
.merge-gap-row{
  display:flex;align-items:center;gap:12px;
}
.merge-gap-label{
  font-size:13.5px;font-weight:750;color:#3d4652;flex:none;white-space:nowrap;
}
.merge-gap-row input[type=range]{
  -webkit-appearance:none;appearance:none;
  flex:1;min-width:120px;height:6px;border-radius:999px;
  background:#e4e8ee;outline:none;cursor:pointer;
}
.merge-gap-row input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:16px;height:16px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
  box-shadow:0 1px 3px rgba(30,40,55,.15);
}
.merge-gap-row input[type=range]::-moz-range-thumb{
  width:16px;height:16px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
}
.merge-gap-row input[type=range]::-moz-range-track{
  height:6px;border-radius:999px;background:#e4e8ee;
}
#merge-gap-label{
  font-size:13px;font-weight:800;color:#18212b;min-width:36px;flex:none;
}
.merge-gap-hint{
  margin:8px 0 0;font-size:12px;color:#98a1ae;
}


/* Audio Normalizer */
.norm-meters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.norm-meter-card{
  background:#f8fafc;border-radius:14px;padding:16px 18px;
}
.norm-meter-label{
  display:block;font-size:11px;font-weight:800;letter-spacing:.04em;
  text-transform:uppercase;color:#98a1ae;margin-bottom:6px;
}
.norm-meter-value{font-size:28px;font-weight:800;color:#18212b;letter-spacing:-.02em}
.norm-mode-tabs{margin-bottom:12px}
.norm-presets{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px;
}
.norm-preset{
  text-align:left;padding:12px 12px;border-radius:12px;
  border:1px solid #e2e6ec;background:#fff;cursor:pointer;
  font-size:13px;font-weight:750;color:#18212b;line-height:1.25;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.norm-preset span{display:block;margin-top:3px;font-size:12px;font-weight:650;color:#98a1ae}
.norm-preset:hover{border-color:#c4b5e0}
.norm-preset.active{
  border-color:#7c5cbf;background:#f5f0fc;
  box-shadow:0 0 0 1px #7c5cbf;
}
.norm-presets.is-disabled{opacity:.45;pointer-events:none}
.norm-slider-row{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  background:#f8fafc;border-radius:14px;padding:12px 14px;margin-bottom:12px;
}
.norm-slider-label{font-size:13px;font-weight:750;color:#4e5967;flex:none}
.norm-slider-row input[type=range]{
  -webkit-appearance:none;appearance:none;flex:1;min-width:140px;height:6px;
  border-radius:999px;background:#e4e8ee;outline:none;
}
.norm-slider-row input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:16px;height:16px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
}
.norm-slider-row input[type=range]::-moz-range-thumb{
  width:16px;height:16px;border-radius:50%;background:#7c5cbf;border:0;cursor:pointer;
}
#norm-lufs-target-val,#norm-peak-target-val{font-size:13px;font-weight:800;color:#18212b;min-width:88px}
.norm-check{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 10px;
  background:#f8fafc;border-radius:14px;padding:12px 14px;margin-bottom:12px;
  font-size:13px;color:#3d4652;cursor:pointer;
}
.norm-check input{margin-top:2px;accent-color:#7c5cbf}
.norm-check em{margin-left:auto;font-style:normal;font-size:12px;color:#98a1ae}
.norm-summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:#f3eefb;border-radius:14px;padding:16px 18px;margin-bottom:14px;
}
.norm-summary-text{font-size:13.5px;color:#3d4652;line-height:1.5}
.norm-summary-text strong{color:#18212b}
.norm-gain-hint{margin-top:4px;font-size:13px;font-weight:650}
.norm-gain-box{text-align:right;flex:none}
.norm-gain-box strong{display:block;font-size:28px;font-weight:800;color:#7c5cbf;letter-spacing:-.02em}
.norm-gain-box span{font-size:12px;color:#98a1ae}
@media(max-width:720px){
  .norm-meters{grid-template-columns:1fr}
  .norm-presets{grid-template-columns:repeat(2,1fr)}
  .norm-summary{flex-direction:column;align-items:flex-start}
  .norm-gain-box{text-align:left}
  .norm-check em{margin-left:0;width:100%}
}

/* Normalizer UI polish */
.norm-mode-tabs.tool-segment,
#norm-mode.tool-segment{
  display:inline-flex;gap:6px;padding:5px;border-radius:12px;
  background:#eef1f4;border:0;
}
#norm-mode.tool-segment button{
  border:0 !important;background:transparent !important;color:#687485 !important;
  box-shadow:none !important;border-radius:9px;padding:10px 16px;
  font-weight:750;font-size:13px;cursor:pointer;
}
#norm-mode.tool-segment button.active{
  background:#fff !important;color:#18212b !important;
  box-shadow:0 2px 8px rgba(30,40,55,.07) !important;
}

.norm-preset{
  border:0 !important;
  background:#f1f3f6 !important;
  color:#18212b !important;
  box-shadow:none !important;
}
.norm-preset span{color:#8b949e !important}
.norm-preset:hover{
  background:#e8ebf0 !important;
}
.norm-preset.active{
  background:#e4e8ef !important;
  box-shadow:none !important;
  border:0 !important;
  color:#18212b !important;
}
.norm-preset.active span{color:#5b6572 !important}

.norm-summary{
  background:#f8fafc !important;
  border:0 !important;
}
.norm-gain-box strong{color:#18212b !important}

.norm-actions{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
}
.norm-actions .tool-btn-primary{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
  box-shadow:none !important;
}
.norm-actions .tool-btn-primary:hover{background:#6b4fa8 !important}
.norm-actions .eq-btn-ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;line-height:0;
}
.norm-actions .eq-btn-ico svg{display:block}


/* Speed & Pitch */
.sp-control-card{
  background:#f8fafc;border-radius:16px;padding:16px 18px;margin-bottom:12px;
}
.sp-control-head{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;
}
.sp-control-label{
  font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#98a1ae;
}
.sp-control-value{font-size:22px;font-weight:800;color:#7c5cbf;letter-spacing:-.02em}
.sp-control-card input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;
  background:#e4e8ee;outline:none;margin-bottom:12px;
}
.sp-control-card input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:16px;height:16px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
}
.sp-control-card input[type=range]::-moz-range-thumb{
  width:16px;height:16px;border-radius:50%;background:#7c5cbf;border:0;cursor:pointer;
}
.sp-presets{display:flex;flex-wrap:wrap;gap:6px}
.sp-chip{
  border:0;background:#eef1f4;color:#3d4652;font-size:12.5px;font-weight:750;
  padding:8px 12px;border-radius:999px;cursor:pointer;
  transition:background .14s,color .14s;
}
.sp-chip:hover{background:#e4e8ef}
.sp-chip.active{background:#7c5cbf;color:#fff}
.sp-vibes{margin-bottom:12px}
.sp-vibes-label{
  display:block;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#98a1ae;margin-bottom:8px;
}
.sp-duration-row{
  display:flex;flex-wrap:wrap;gap:16px;margin:4px 0 12px;
  font-size:13px;color:#687485;
}
.sp-duration-row strong{color:#18212b}
.sp-wave-wrap{
  background:#f8fafc;border-radius:14px;padding:10px 12px;margin-bottom:14px;
  overflow:hidden;
}
#sp-wave{width:100%;height:80px;display:block}
.sp-actions{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
}
.sp-actions .tool-btn-primary{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  display:inline-flex !important;align-items:center;gap:8px;box-shadow:none !important;
}
.sp-actions .tool-btn-primary:hover{background:#6b4fa8 !important}
.sp-actions .eq-btn-ico{
  display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:0;
}
.sp-actions .eq-btn-ico svg{display:block}

.sp-wave-wrap{
  background:transparent !important;
  padding:0 !important;
  border-radius:16px;
  cursor:ew-resize;
}
#sp-wave{
  width:100%;
  height:88px !important;
  display:block;
  border-radius:16px;
  cursor:ew-resize;
}

/* Noise Reduction */
.nr-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.nr-preset{
  text-align:left;border:0;background:#f1f3f6;border-radius:12px;padding:12px 14px;
  cursor:pointer;font-size:13.5px;font-weight:750;color:#18212b;
}
.nr-preset span{display:block;margin-top:3px;font-size:12px;font-weight:650;color:#98a1ae}
.nr-preset:hover{background:#e8ebf0}
.nr-preset.active{background:#e4e8ef}
.nr-tips{
  background:#f8fafc;border-radius:14px;padding:14px 16px;margin-bottom:14px;
  font-size:13px;color:#4e5967;
}
.nr-tips strong{display:block;margin-bottom:6px;color:#18212b;font-size:13px}
.nr-tips ul{margin:0;padding-left:18px}
.nr-tips li{margin:4px 0}
.nr-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.nr-actions .tool-btn-primary{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  display:inline-flex !important;align-items:center;gap:8px;box-shadow:none !important;
}
.nr-actions .eq-btn-ico{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:0}
.nr-actions .eq-btn-ico svg{display:block}
@media(max-width:640px){.nr-presets{grid-template-columns:1fr}}

/* File-size Audio Compressor */
.comp-mode-tabs{
  display:inline-flex;gap:6px;padding:5px;border-radius:12px;
  background:#eef1f4;margin-bottom:14px;flex-wrap:wrap;
}
.comp-mode{
  border:0;background:transparent;color:#687485;font-weight:750;font-size:13px;
  padding:10px 14px;border-radius:9px;cursor:pointer;
}
.comp-mode.active{background:#fff;color:#18212b;box-shadow:0 2px 8px rgba(30,40,55,.07)}
.comp-platforms{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;
}
.comp-plat{
  text-align:left;border:0;background:#f1f3f6;border-radius:12px;padding:12px 14px;
  cursor:pointer;font-size:13.5px;font-weight:750;color:#18212b;
}
.comp-plat:hover{background:#e8ebf0}
.comp-plat.active{background:#e4e8ef;box-shadow:none}
.comp-plat-status{display:block;margin-top:4px;font-size:12px;font-weight:650;color:#98a1ae}
.comp-plat-status.is-ok{color:#687485}
.comp-summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:#f8fafc;border-radius:14px;padding:16px 18px;margin-bottom:14px;
}
.comp-summary-line{font-size:13.5px;color:#4e5967;line-height:1.5}
.comp-summary-line strong{color:#18212b}
.comp-summary-right{text-align:right}
.comp-summary-right strong{display:block;font-size:26px;font-weight:800;color:#7c5cbf}
.comp-delta{font-size:12.5px;font-weight:650}
.comp-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.comp-actions .tool-btn-primary{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  display:inline-flex !important;align-items:center;gap:8px;box-shadow:none !important;
}
.comp-actions .eq-btn-ico{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:0}
.comp-ready{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#f1f3f6;border-radius:14px;padding:12px 14px;margin-top:12px;
}
.comp-ready-left{display:flex;align-items:center;gap:10px;font-weight:750;color:#18212b}
.comp-ready-check{
  width:28px;height:28px;border-radius:50%;background:#9aa3af;color:#fff;
  display:grid;place-items:center;font-size:14px;font-weight:800;
}
.comp-br-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
@media(max-width:720px){
  .comp-platforms{grid-template-columns:repeat(2,1fr)}
  .comp-summary{flex-direction:column;align-items:flex-start}
  .comp-summary-right{text-align:left}
}

/* Media Converter */
.conv-panel{
  background:#f8fafc;border-radius:16px;padding:22px 20px;margin-bottom:12px;text-align:center;
}
.conv-hint{margin:0 0 16px;font-size:14px;color:#687485}
.conv-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.conv-format-select{
  min-width:140px;height:44px;border-radius:12px;border:1px solid #e2e6ec;
  background:#fff;padding:0 14px;font-weight:750;font-size:14px;color:#18212b;
}
.conv-local-note{
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:13px;color:#98a1ae;margin:8px 0 14px;
}
.conv-local-check{
  width:18px;height:18px;border-radius:50%;background:#e4e8ee;color:#687485;
  display:inline-grid;place-items:center;font-size:11px;font-weight:800;
}
.conv-actions{display:flex;justify-content:center;gap:10px}
.conv-actions .tool-btn-primary{
  background:#7c5cbf !important;border:0 !important;color:#fff !important;
  display:inline-flex !important;align-items:center;gap:8px;
}

.conv-format-wrap{
  position:relative;display:inline-flex;align-items:center;
}
.conv-format-select{
  appearance:none;-webkit-appearance:none;
  min-width:160px;padding-right:36px !important;
}
.conv-format-caret{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  pointer-events:none;color:#687485;display:flex;
}
.conv-progress{margin-top:18px;text-align:left}
.conv-progress-track{
  height:8px;border-radius:999px;background:#e8ecf1;overflow:hidden;
}
.conv-progress-bar{
  height:100%;width:0%;border-radius:999px;background:#7c5cbf;
  transition:width .2s ease;
}
.conv-progress-meta{
  display:flex;justify-content:space-between;margin-top:8px;
  font-size:13px;color:#687485;
}
.conv-progress-meta strong{color:#18212b;font-weight:800}
.conv-result{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  background:#f8fafc;border-radius:16px;padding:14px 16px;margin-top:12px;
}
.conv-result-meta{min-width:0}
.conv-result-meta strong{
  display:block;font-size:14px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(420px,70vw);
}
.conv-result-meta span{display:block;margin-top:3px;font-size:12.5px;color:#98a1ae}
.conv-result-actions{display:flex;gap:8px;flex-wrap:wrap}
.conv-result-actions .tool-btn-secondary{
  background:#eef1f4 !important;border:0 !important;color:#18212b !important;
  border-radius:12px;padding:10px 16px;font-weight:750;cursor:pointer;
}
.conv-result-actions .tool-btn-secondary:hover{background:#e4e8ef !important}
.eq-file-icon.is-video{background:#eceff3;color:#4e5967}
.lib-popover{
  position:fixed !important;
}


.conv-result[hidden]{display:none !important}
.conv-progress[hidden]{display:none !important}
.eq-file-icon.is-video{
  background:#e8ebf0 !important;color:#3d4652 !important;
}

.lib-item-icon.is-video{
  background:#e8ebf0 !important;color:#3d4652 !important;
}

/* Audio Splitter */
.split-wave-wrap{background:transparent;border-radius:16px;overflow:hidden;cursor:ew-resize;margin-bottom:8px}
#split-wave{width:100%;height:120px;display:block;border-radius:16px}
.split-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:12.5px;color:#687485;margin-bottom:12px}
.split-leg{display:inline-flex;align-items:center;gap:6px}
.split-dot{width:10px;height:10px;border-radius:3px;display:inline-block}
.split-dot-marker{background:#3d9a6a}
.split-dot-silence{background:#e8a85a}
.split-leg-hint{color:#98a1ae}
.split-transport{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}
.split-play-btn,.split-icon-btn{width:42px;height:42px;padding:0;display:inline-grid;place-items:center;border-radius:12px}
.split-time{font-size:13.5px;font-weight:750;color:#18212b;min-width:110px}
.split-zoom{display:inline-flex;align-items:center;gap:6px;flex:1;min-width:140px}
.split-zoom input[type=range]{flex:1;-webkit-appearance:none;height:6px;border-radius:999px;background:#e4e8ee}
.split-zoom input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#7c5cbf;border:0}
.split-zoom-btn{width:32px;height:32px;border:0;border-radius:8px;background:#eef1f4;font-weight:800;cursor:pointer;color:#18212b}
.split-modes{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.split-panel-note{margin:10px 0 0;font-size:13px;color:#687485}
.split-marker-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.split-marker-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.split-empty-markers{font-size:13px;color:#98a1ae}
.split-results{margin-top:16px;background:#f8fafc;border-radius:16px;padding:14px 16px}
.split-results-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.split-result-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #eef0f3}
.split-result-meta strong{display:block;font-size:13.5px;color:#18212b}
.split-result-meta span{font-size:12.5px;color:#98a1ae}
kbd{font-size:11px;padding:1px 5px;border-radius:4px;background:#eef1f4;border:1px solid #e2e6ec}

/* BPM Detector */
.bpm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;justify-content:center}
.bpm-tap-card{background:#f8fafc;border-radius:18px;padding:28px 20px;text-align:center}
.bpm-tap-hint{margin:0 0 18px;color:#687485;font-size:14px}
.bpm-tap-btn{
  width:140px;height:140px;border-radius:50%;border:0;cursor:pointer;
  background:#7c5cbf;color:#fff;font-size:22px;font-weight:800;letter-spacing:.06em;
  box-shadow:none;
  transition:transform .12s ease, background .15s ease;
}
.bpm-tap-btn:active{transform:scale(.96);background:#6b4eae}
.bpm-tap-meta{margin:16px 0 14px;font-size:13.5px;color:#687485}
.bpm-result{margin-top:18px;text-align:center;background:#f8fafc;border-radius:18px;padding:22px 16px}
.bpm-result-main{display:flex;align-items:baseline;justify-content:center;gap:8px}
.detect-bpm{font-size:56px;font-weight:800;color:#18212b;line-height:1;letter-spacing:-.03em}
.bpm-unit{font-size:16px;font-weight:750;color:#7c5cbf}
.bpm-meta-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.bpm-pill{display:inline-flex;padding:6px 12px;border-radius:999px;background:#eef1f4;font-size:12.5px;font-weight:700;color:#5b6572}
.bpm-half-double{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:12px}

/* Playlist Analyzer */
.pl-summary-card{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  background:#f8fafc;border-radius:16px;padding:14px 16px;margin-bottom:14px;
}
.pl-summary-meta strong{display:block;font-size:15px;color:#18212b}
.pl-summary-meta span{font-size:13px;color:#687485}
.pl-summary-actions{display:flex;gap:8px;flex-wrap:wrap}
.pl-progress{margin-bottom:14px}
.pl-progress-track{height:8px;border-radius:999px;background:#e8ecf1;overflow:hidden}
.pl-progress-bar{height:100%;width:0;background:#7c5cbf;border-radius:999px;transition:width .2s ease}
.pl-progress-meta{display:flex;justify-content:space-between;margin-top:6px;font-size:12.5px;color:#687485}
.playlist-table-wrap{overflow:auto;border-radius:14px;background:#fff;border:1px solid #eef0f3}
.playlist-table{width:100%;border-collapse:collapse;font-size:13.5px}
.playlist-table th{
  text-align:left;padding:10px 12px;background:#f8fafc;color:#5b6572;font-weight:750;
  border-bottom:1px solid #eef0f3;white-space:nowrap;cursor:pointer;user-select:none;
}
.playlist-table td{padding:10px 12px;border-bottom:1px solid #f2f4f7;color:#18212b;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.playlist-table tr:hover td{background:#fafbfc}
.pl-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.pl-toolbar-note{font-size:12.5px;color:#98a1ae}

.pl-summary-actions .tool-btn-primary,
.pl-summary-actions .tool-btn-secondary{
  box-shadow:none !important;
}
#tool-apply{box-shadow:none !important}

/* BPM Detector result workbench — matched to other tools (purple accent, soft cards, 16px radius) */
.bpm-analysis-label{
  font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;
  color:#98a1ae;margin:4px 0 14px;
}
.bpm-result{
  margin-top:22px;text-align:center;
  background:var(--eq-card,#f9fafc);border-radius:18px;padding:22px 18px 20px;
}
.bpm-result-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;
}
.bpm-stat{
  min-height:168px;border:0;border-radius:16px;padding:22px 16px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;background:#fff;box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.bpm-stat-primary{align-items:center}
.bpm-stat-label{
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#98a1ae;margin-bottom:10px;
}
.bpm-stat .detect-bpm{
  font-size:48px;line-height:1;font-weight:800;letter-spacing:-.04em;
  color:var(--eq-purple,#7c5cbf);
}
.bpm-unit{display:none}
.bpm-key-value,.bpm-confidence-value,.bpm-feel-value{
  font-size:28px;line-height:1.15;font-weight:750;color:#18212b;
  letter-spacing:-.03em;margin:4px 0 14px;
}
.bpm-confidence-value{font-size:34px}
.bpm-feel-value{font-size:22px}
.bpm-actions{
  display:flex;gap:8px;justify-content:center;margin-top:12px;flex-wrap:wrap;
}
.bpm-actions .tool-btn-secondary,
.bpm-stat > #bpm-key-copy{min-width:52px}
.bpm-metronome-btn{margin-top:10px}
.bpm-confidence-bar{
  width:120px;height:8px;background:#eef1f5;border-radius:999px;overflow:hidden;
}
.bpm-confidence-bar span{
  display:block;width:0;height:100%;border-radius:inherit;
  background:var(--eq-purple,#7c5cbf);transition:width .25s ease;
}
.bpm-feel-pill{
  display:inline-flex;padding:5px 12px;border-radius:999px;
  background:var(--eq-purple-soft,#efeaf8);color:var(--eq-purple,#7c5cbf);
  font-size:12px;font-weight:750;
}
.bpm-detail-card{
  margin-top:14px;border:0;border-radius:16px;padding:20px 18px;
  background:#fff;box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.bpm-detail-title{
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#98a1ae;margin-bottom:14px;
}
.bpm-delay-grid{
  display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:12px;
}
.bpm-delay-grid div{display:flex;flex-direction:column;gap:6px}
.bpm-delay-grid span{color:#687485;font-size:13px;font-weight:650}
.bpm-delay-grid strong{font-size:17px;font-weight:750;color:#18212b}
.bpm-ranges{display:grid;gap:8px}
.bpm-ranges > div{
  display:grid;grid-template-columns:120px 1fr 140px;align-items:center;gap:10px;
  color:#687485;font-size:13px;
}
.bpm-ranges i{
  height:7px;border-radius:99px;background:#eef1f5;display:block;
  position:relative;overflow:hidden;
}
.bpm-ranges i:after{
  content:"";display:block;width:0;height:100%;
  background:var(--eq-purple,#7c5cbf);border-radius:inherit;transition:width .25s;
}
.bpm-ranges > div.active{color:#18212b;font-weight:700}
.bpm-ranges > div.active i:after{width:100%}
.bpm-ranges b{text-align:right;font-weight:600}
.bpm-manual-panel{
  margin-top:22px;padding:22px 0 0;border-top:1px solid var(--line,#e7ebf0);
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.bpm-manual-panel p{margin:7px 0;color:#687485}
.bpm-manual-panel small{color:#98a1ae}
.bpm-tap-large{
  width:auto;min-width:120px;height:48px;border-radius:12px;
  font-size:15px;letter-spacing:.04em;
  box-shadow:none;
}
.bpm-result .detect-sub{
  margin:14px 2px 0;color:#687485;font-size:13px;text-align:center;
}
.bpm-metronome-btn.is-playing{
  background:var(--eq-purple,#7c5cbf);color:#fff;border-color:var(--eq-purple,#7c5cbf);
}
@media(max-width:900px){
  .bpm-result-grid{grid-template-columns:1fr 1fr}
  .bpm-ranges > div{grid-template-columns:100px 1fr 120px}
}
@media(max-width:620px){
  .bpm-result-grid{grid-template-columns:1fr}
  .bpm-delay-grid{grid-template-columns:1fr 1fr}
  .bpm-ranges > div{grid-template-columns:72px 1fr 100px;font-size:12px}
  .bpm-manual-panel{align-items:flex-start;flex-direction:column}
  .bpm-tap-large{align-self:stretch;width:100%}
}


/* Key Detector result UI — matched to other tools (purple, soft cards, 16px) */
.key-workbench{max-width:950px}
.key-stage{padding-top:4px}
.key-result{
  margin-top:18px;text-align:center;
  background:var(--eq-card,#f9fafc);border-radius:18px;padding:22px 18px 20px;
}
.key-result-heading,.key-panel-title{
  font-size:11px;font-weight:850;letter-spacing:.09em;color:#98a1ae;
  text-transform:uppercase;
}
.key-result-heading{margin:4px 0 14px;text-align:left}
.key-stat-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
}
.key-stat-card{
  min-height:110px;border:0;border-radius:16px;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:18px 12px;box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.key-stat-card>span{
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#98a1ae;
}
.key-stat-card>strong{
  font-size:22px;font-weight:750;color:#18212b;margin-top:10px;line-height:1.05;
  letter-spacing:-.02em;
}
.key-stat-main strong{
  font-size:32px;font-weight:800;color:var(--eq-purple,#7c5cbf);letter-spacing:-.03em;
}
.key-confidence-track{
  width:90px;height:8px;border-radius:999px;background:#eef1f5;margin-top:12px;overflow:hidden;
}
.key-confidence-track i{
  display:block;width:0;height:100%;
  background:var(--eq-purple,#7c5cbf);border-radius:inherit;transition:width .25s ease;
}
.key-result-actions{
  display:flex;gap:8px;flex-wrap:wrap;margin:16px 0;justify-content:flex-start;
}
.key-panel{
  border:0;border-radius:16px;background:#fff;padding:18px 18px;
  margin-top:14px;box-shadow:0 1px 0 rgba(25,35,50,.04);text-align:left;
}
.key-panel-title{font-size:11px;color:#98a1ae;margin-bottom:12px}
.key-candidate{
  display:grid;grid-template-columns:26px 125px 36px 1fr 52px;gap:10px;align-items:center;
  min-height:36px;font-size:14px;
}
.key-candidate-rank{color:#98a1ae;font-weight:650}
.key-candidate-name{font-weight:750;color:#18212b}
.key-candidate-code,.key-chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:5px 10px;border-radius:999px;background:var(--eq-purple-soft,#efeaf8);
  color:var(--eq-purple,#7c5cbf);font-size:12px;font-weight:750;white-space:nowrap;
}
.key-candidate-bar{height:7px;background:#eef1f5;border-radius:999px;overflow:hidden}
.key-candidate-bar i{
  display:block;height:100%;background:var(--eq-purple,#7c5cbf);border-radius:inherit;
}
.key-candidate-pct{text-align:right;color:#687485;font-size:12px;font-weight:650}
.key-relative-panel{display:flex;justify-content:space-between;gap:24px;align-items:center}
.key-relative-panel strong{font-size:20px;font-weight:750;color:#18212b}
.key-compatible-wrap{text-align:right}
.key-chip-row{display:flex;gap:7px;flex-wrap:wrap}
.key-compatible-wrap .key-chip-row{justify-content:flex-end}
.key-wheel-panel{text-align:left}
.camelot-wheel-wrap{display:flex;justify-content:center;padding:8px 0 4px}
.camelot-wheel{
  position:relative;width:320px;height:320px;border-radius:50%;
  background:
    radial-gradient(circle at center,#fff 0 27%,transparent 27.5%),
    conic-gradient(from -7.5deg,#f5f7fb 0 7.5%,#eef2f8 7.5% 22.5%,#f5f7fb 22.5% 37.5%,#eef2f8 37.5% 52.5%,#f5f7fb 52.5% 67.5%,#eef2f8 67.5% 82.5%,#f5f7fb 82.5% 97.5%,#eef2f8 97.5% 100%);
  box-shadow:inset 0 0 0 1px #e8ecf1;
}
.camelot-segment{
  position:absolute;left:50%;top:50%;width:56px;height:28px;
  transform:translate(-50%,-50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius)));
  display:flex;align-items:center;justify-content:center;font-size:10px;color:#647080;
}
.camelot-segment span{
  display:block;padding:4px 8px;border-radius:8px;white-space:nowrap;
  transform:rotate(calc(-1 * var(--angle)));
  background:#eef1f5;color:#5b6572;font-weight:700;
}
.camelot-segment.active span{
  background:var(--eq-purple,#7c5cbf);color:#fff;font-weight:850;
}
.camelot-segment.compat span{
  background:var(--eq-purple-soft,#efeaf8);color:var(--eq-purple,#7c5cbf);font-weight:800;
}
.camelot-wheel-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:88px;height:88px;border-radius:50%;background:#fff;border:1px solid #e8ecf1;
  display:grid;place-items:center;font-size:22px;font-weight:850;
  color:var(--eq-purple,#7c5cbf);z-index:2;
}
.key-wheel-note{
  text-align:center;color:#687485;font-size:13px;line-height:1.5;
  margin:10px auto 0;max-width:760px;
}
.key-theory{
  margin-top:14px;border:0;border-radius:16px;background:#fff;overflow:hidden;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.key-theory summary{
  list-style:none;cursor:pointer;padding:18px 20px;font-size:16px;font-weight:750;
  display:flex;justify-content:space-between;align-items:center;color:#18212b;
}
.key-theory summary::-webkit-details-marker{display:none}
.key-theory summary b{font-size:16px;color:#98a1ae;font-weight:600}
.key-theory-body{border-top:1px solid #eef1f5;padding:20px 18px}
.key-theory-body .key-panel-title{margin-top:0;margin-bottom:10px}
.key-theory-body .key-panel-title:not(:first-child){margin-top:20px}
.key-note-row .key-chip{
  background:#eef1f5;color:#18212b;font-size:15px;min-height:36px;padding:6px 12px;
}
.key-progression-row{display:flex;gap:8px;flex-wrap:wrap}
.key-progression-row span{
  border:0;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:650;
  color:#3d4652;background:#eef1f5;
}
.key-dj-transitions .key-chip strong{margin-right:4px}
@media(max-width:900px){
  .key-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .key-stat-card:last-child{grid-column:span 2}
}
@media(max-width:600px){
  .key-stat-grid{grid-template-columns:1fr 1fr}
  .key-stat-card:last-child{grid-column:span 2}
  .key-candidate{grid-template-columns:22px 1fr 34px 80px}
  .key-candidate-bar{grid-column:2 / 5}
  .key-candidate-pct{grid-column:4}
  .key-relative-panel{align-items:flex-start;flex-direction:column}
  .key-compatible-wrap{text-align:left}
  .key-compatible-wrap .key-chip-row{justify-content:flex-start}
  .camelot-wheel{width:280px;height:280px}
}

/* Chord Detector result UI — matched to other tools (purple, soft cards, 950px) */
.chord-workbench{max-width:950px!important}
.chord-segment-controls{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  padding:12px 0 16px;color:#687485;font-size:13px;font-weight:750;
}
.chord-segment-controls > span{color:#5b6572;font-weight:750}
.chord-segment-controls button,
.chord-seg{
  border:0;background:#eef1f5;border-radius:999px;padding:8px 14px;
  font-weight:750;color:#3d4652;cursor:pointer;
  transition:background .14s,color .14s;
}
.chord-segment-controls button:hover,
.chord-seg:hover{background:#e4e8ef}
.chord-segment-controls button.active,
.chord-seg.active{
  background:var(--eq-purple,#7c5cbf);border-color:transparent;color:#fff;
}
.chord-segment-controls small{
  width:100%;font-weight:500;color:#98a1ae;font-size:12.5px;line-height:1.4;
}
.chord-result{
  margin-top:18px;text-align:left;
  background:var(--eq-card,#f9fafc);border-radius:18px;padding:22px 18px 20px;
}
.chord-result-heading{
  font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;
  color:#98a1ae;margin:0 0 14px;
}
.chord-stat-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;
}
.chord-stat-card{
  border:0;border-radius:16px;padding:18px 14px;text-align:center;background:#fff;
  box-shadow:0 1px 0 rgba(25,35,50,.04);min-height:96px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.chord-stat-card span{
  display:block;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#98a1ae;
}
.chord-stat-card strong{
  display:block;font-size:24px;font-weight:750;margin-top:8px;color:#18212b;
  letter-spacing:-.02em;
}
.chord-stat-card:first-child strong,
.chord-stat-card:nth-child(3) strong{
  color:var(--eq-purple,#7c5cbf);font-weight:800;
}
.chord-panel{
  border:0;border-radius:16px;padding:18px;margin-top:14px;background:#fff;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.chord-panel-title{
  font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  color:#98a1ae;margin-bottom:12px;
}
.chord-panel-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.chord-timeline{display:flex;gap:3px;overflow-x:auto;padding-bottom:6px}
.chord-block{
  flex:0 0 58px;border:0;border-radius:10px;padding:8px 4px 7px;
  background:color-mix(in srgb,var(--chord) var(--conf),#eef2f7);
  color:#fff;cursor:pointer;min-height:58px;
  transition:transform .12s ease,box-shadow .12s ease;
}
.chord-block:hover{transform:translateY(-1px)}
.chord-block strong{
  display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.chord-block small{font-size:9px;opacity:.9}
.chord-help{margin:8px 0 0;color:#687485;font-size:12.5px;line-height:1.45}
.chord-progression{
  display:flex;flex-wrap:wrap;align-items:center;gap:7px;line-height:2;
}
.chord-prog-chip{
  display:inline-flex;background:var(--eq-purple-soft,#efeaf8);
  color:var(--eq-purple,#7c5cbf);border-radius:999px;padding:4px 11px;
  font-size:13px;font-weight:750;
}
.chord-arrow{color:#98a1ae}
.chord-top-row{
  display:grid;grid-template-columns:90px 1fr 90px;align-items:center;gap:10px;margin:10px 0;
}
.chord-top-name{
  font-weight:750;border:0;border-radius:10px;padding:6px 10px;text-align:center;
  background:#eef1f5;color:#18212b;font-size:13px;
}
.chord-top-bar{
  height:8px;background:#eef1f5;border-radius:99px;overflow:hidden;
}
.chord-top-bar i{
  display:block;height:100%;background:var(--eq-purple,#7c5cbf);border-radius:99px;
}
.chord-top-row>span:last-child{text-align:right;color:#687485;font-size:12px;font-weight:650}
#chord-copy-summary{margin-top:14px}
@media(max-width:700px){
  .chord-stat-grid{grid-template-columns:repeat(2,1fr)}
  .chord-top-row{grid-template-columns:72px 1fr 70px}
  .chord-panel-head{align-items:flex-start;flex-direction:column}
}

/* Mood Detector result UI — matched to other tools (purple, soft, larger radar) */
.mood-workbench{max-width:950px!important}
.mood-stage{min-width:0}
.mood-result{
  margin-top:18px;background:var(--eq-card,#f9fafc);border:0;border-radius:18px;
  padding:22px 18px 20px;text-align:left;box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.mood-result-topline{
  font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;
  color:#98a1ae;margin-bottom:18px;
}
.mood-result-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);
  gap:20px;align-items:start;
}
.mood-main{
  min-width:0;padding:18px 18px 16px;background:#fff;border-radius:16px;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.mood-title-row{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.mood-title-row h2{
  margin:0;font-size:clamp(34px,4.5vw,48px);line-height:1.04;letter-spacing:-.04em;
  color:#18212b;font-weight:800;
}
.mood-title-row span{
  font-size:15px;font-weight:750;color:var(--eq-purple,#7c5cbf);letter-spacing:.01em;
}
.mood-description{margin:10px 0 26px;color:#687485;font-size:15px;line-height:1.55}
.mood-valence-scale{margin-bottom:26px}
.mood-scale-labels{
  display:flex;justify-content:space-between;color:#5b6572;font-size:11px;
  font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:14px;
}
.mood-scale-line{height:3px;background:#eef1f5;position:relative;border-radius:99px}
.mood-scale-line:before,.mood-scale-line:after{
  content:"";position:absolute;top:-5px;width:2px;height:12px;background:#d8dde5;border-radius:1px;
}
.mood-scale-line:before{left:50%;transform:translateX(-50%)}
.mood-scale-line:after{right:0}
.mood-scale-line i{
  position:absolute;top:-8px;width:18px;height:18px;
  border:3px solid var(--eq-purple,#7c5cbf);background:#fff;border-radius:50%;
  transform:translateX(-50%);left:50%;box-sizing:border-box;
  box-shadow:0 2px 8px rgba(124,92,191,.2);
}
.mood-valence-readout{
  text-align:center;margin-top:16px;font-size:11px;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;color:#98a1ae;
}
.mood-valence-readout strong{font-size:14px;margin-left:4px;color:#18212b;font-weight:750}
.mood-stat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;
  border:0;
}
.mood-stat{
  min-height:88px;padding:16px 14px;border:0;border-radius:14px;
  background:var(--eq-card,#f9fafc);text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.mood-stat span{
  display:block;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#98a1ae;margin-bottom:8px;
}
.mood-stat strong{
  display:block;color:var(--eq-purple,#7c5cbf);font-size:26px;line-height:1;font-weight:800;
  letter-spacing:-.02em;
}
 .mood-radar-wrap{
  border:0;border-radius:16px;background:#fff;display:flex;align-items:center;
  justify-content:center;width:100%;max-width:360px;aspect-ratio:1 / 1;
  min-height:0;height:auto;padding:0;
  box-shadow:0 1px 0 rgba(25,35,50,.04);box-sizing:border-box;
}
.mood-radar{width:100%;height:100%;max-width:360px;max-height:360px;flex:0 0 auto;aspect-ratio:1 / 1}
.mood-radar svg{width:100%;height:100%;display:block;overflow:visible}.mood-radar-grid polygon{fill:none;stroke:#e8ecf1;stroke-width:1.2}
.mood-radar-grid line{stroke:#e8ecf1;stroke-width:1.2}
.mood-radar-grid text{
  fill:#687485;font-size:12px;font-weight:700;font-family:inherit;
}
.mood-radar-area{fill:rgba(124,92,191,.18);stroke:none}
.mood-radar-line{fill:none;stroke:var(--eq-purple,#7c5cbf);stroke-width:2.4;stroke-linejoin:round}
.mood-radar svg circle{fill:var(--eq-purple,#7c5cbf);stroke:#fff;stroke-width:1.5}
.mood-signals{
  margin-top:16px;border:0;border-radius:16px;background:#fff;padding:18px;
  display:grid;grid-template-columns:1fr 2fr;gap:18px;font-size:14px;line-height:1.7;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.mood-signals>div{display:flex;gap:14px;flex-wrap:wrap;align-items:baseline}
.mood-signals strong{
  font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#98a1ae;white-space:nowrap;
}
.mood-signals span{
  color:#18212b;margin-right:8px;padding:4px 10px;border-radius:999px;
  background:var(--eq-purple-soft,#efeaf8);color:var(--eq-purple,#7c5cbf);
  font-size:12.5px;font-weight:700;
}
.mood-disclaimer{margin:14px 0 0;color:#98a1ae;font-size:12px;line-height:1.45}
@media(max-width:760px){
  .mood-result-grid{grid-template-columns:1fr}
  .mood-radar-wrap{width:min(360px,100%);max-width:360px;padding:0;margin:0 auto}
  .mood-radar{width:100%;height:100%;max-width:320px;max-height:320px;margin:0 auto}
  .mood-signals{grid-template-columns:1fr}
}
@media(max-width:520px){
  .mood-result{padding:16px 12px}
  .mood-main{padding:14px}
  .mood-title-row{gap:8px}
  .mood-title-row h2{font-size:34px}
  .mood-title-row span{font-size:14px}
  .mood-stat-grid{grid-template-columns:1fr 1fr}
  .mood-stat{min-height:80px;padding:14px 10px}
  .mood-stat strong{font-size:22px}
  .mood-radar{width:100%;height:100%;max-width:280px;max-height:280px}
}


/* Audio to MIDI workbench — matched to other tools (purple, 950px, soft cards) */
.midi-workbench{
  max-width:950px!important;
  padding:28px;
  border:0;
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow);
}
.midi-stage{display:block}
.midi-stage[hidden],.midi-workbench:not(.has-file) .midi-stage{display:none!important}
.midi-roll-wrap{position:relative}
.midi-playhead{position:absolute;top:0;bottom:0;left:0;width:2px;background:#7c5cbf;box-shadow:0 0 0 1px rgba(124,92,191,.15);pointer-events:none;display:none;z-index:2}
.midi-file-card{
  display:flex;align-items:center;gap:14px;
  padding:16px 18px;margin-bottom:18px;
  border-radius:16px;background:var(--eq-card,#f9fafc);border:0;
}
.midi-file-icon{
  width:42px;height:42px;border-radius:12px;flex:none;
  display:grid;place-items:center;
  background:#e8eaef;color:#5b6572;font-size:11px;font-weight:800;letter-spacing:.04em;
}
.midi-file-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.midi-file-meta strong{
  display:block;font-size:14px;font-weight:750;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.midi-file-meta span{font-size:12.5px;color:#8b949e}
.midi-change-btn{
  flex:none;height:36px;padding:0 14px;border-radius:10px;
  background:#fff;border:1px solid #e2e6ec;color:#5b6572;
  font-size:12.5px;font-weight:700;cursor:pointer;
}
.midi-change-btn:hover{background:#f5f7f9;color:#18212b}

.midi-controls{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 18px;
}
.midi-control{
  background:var(--eq-card,#f9fafc);border-radius:16px;padding:16px 18px;border:0;
}
.midi-control-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;
}
.midi-control label{font-size:14px;font-weight:750;color:#18212b}
.midi-control output{
  color:#687485;font:700 13px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace
}
.midi-control p{margin:10px 0 0;color:#98a1ae;font-size:12.5px;line-height:1.4}
.midi-control input[type="range"]{
  -webkit-appearance:none;appearance:none;
  width:100%;height:8px;margin:12px 0 4px;padding:0;
  border-radius:999px;outline:none;cursor:pointer;
  background:#dfe3ea;
}
.midi-control input[type="range"]::-webkit-slider-runnable-track{
  height:8px;border-radius:999px;background:#dfe3ea;border:0;
}
.midi-control input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:22px;height:22px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
  box-shadow:0 1px 3px rgba(30,40,55,.18);
  margin-top:-7px;
}
.midi-control input[type="range"]::-moz-range-thumb{
  width:22px;height:22px;border-radius:50%;
  background:#7c5cbf;border:0;cursor:pointer;
  box-shadow:0 1px 3px rgba(30,40,55,.18);
}
.midi-control input[type="range"]::-moz-range-track{
  height:8px;border-radius:999px;background:#dfe3ea;border:0;
}
.midi-control input[type="range"]::-moz-range-progress{background:transparent}
.midi-actions-top{display:flex;align-items:center;gap:14px;margin:0 0 18px;flex-wrap:wrap}
.midi-convert-btn{min-width:170px}
.midi-status{font-size:13px;color:#687485;font-weight:650}

.midi-progress{margin:4px 0 18px;text-align:left}
.midi-progress[hidden]{display:none!important}
.midi-progress-track{height:8px;border-radius:999px;background:#e8ecf1;overflow:hidden}
.midi-progress-bar{height:100%;width:0%;border-radius:999px;background:#7c5cbf;transition:width .15s ease}
.midi-progress-meta{display:flex;justify-content:space-between;margin-top:8px;font-size:13px;color:#687485}
.midi-progress-meta strong{color:#18212b;font-weight:800}
.midi-result{display:block;margin-top:4px}
.midi-result[hidden]{display:none!important}
.midi-stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px
}
.midi-stat{
  min-height:100px;padding:18px 14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:0;border-radius:16px;background:var(--eq-card,#f9fafc);text-align:center;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.midi-stat span{
  color:#98a1ae;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px
}
.midi-stat strong{
  color:#18212b;font-size:24px;line-height:1.15;letter-spacing:-.03em;font-weight:750
}
.midi-stat:first-child strong{color:var(--eq-purple,#7c5cbf);font-size:36px;font-weight:800}

.midi-output-actions{
  display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px
}
.midi-btn{
  min-height:44px;padding:0 18px;border-radius:12px;border:1px solid #e2e6ec;
  background:#fff;color:#202a35;font-weight:700;font-size:14px;cursor:pointer;
  display:inline-flex;align-items:center;gap:9px;transition:background .15s ease,border-color .15s ease,color .15s
}
.midi-btn:hover{background:#f5f7f9;border-color:#c5ccd6}
.midi-btn-primary{
  border-color:var(--eq-purple,#7c5cbf);background:var(--eq-purple,#7c5cbf);color:#fff
}
.midi-btn-primary:hover{background:var(--eq-purple-deep,#6b4fa8);border-color:var(--eq-purple-deep,#6b4fa8)}

.midi-roll-card{
  border:0;border-radius:16px;overflow:hidden;background:#fff;
  box-shadow:0 1px 0 rgba(25,35,50,.04);
}
.midi-roll-head{
  min-height:44px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;
  background:var(--eq-card,#f9fafc);border-bottom:1px solid #eef1f5;
  color:#98a1ae;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase
}
.midi-roll-head span:last-child{letter-spacing:0;font-weight:650;text-transform:none;color:#687485;font-size:12.5px}
.midi-roll-wrap{width:100%;overflow-x:auto;background:#fbfcfd}
#midi-piano-roll{display:block;min-width:680px;width:100%;height:280px;min-height:240px}

.midi-stage .eq-file-icon.midi-file-icon,
#midi-file-icon{
  font-size:10px;font-weight:800;letter-spacing:.04em;
  color:#5b6572;background:#e8eaef;
}
.midi-btn .eq-btn-ico{
  display:inline-flex;align-items:center;justify-content:center;
  line-height:0;
}
.midi-btn .eq-btn-ico svg{display:block}
.midi-convert-btn:disabled{
  opacity:.55;cursor:wait;
}


@media(max-width:760px){
  .midi-workbench{padding:20px}
  .midi-controls{grid-template-columns:1fr;gap:12px}
  .midi-stats{grid-template-columns:1fr 1fr}
  .midi-file-card{align-items:flex-start}
}
@media(max-width:520px){
  .midi-stats{grid-template-columns:1fr}
  .midi-actions-top{align-items:flex-start;flex-direction:column}
  .midi-convert-btn{width:100%}
  .midi-output-actions .midi-btn{width:100%;justify-content:center}
}

/* Show secondary controls only after a track is loaded (upload or library) */
.tool-workbench:not(.has-file) .bpm-tabs,
.tool-workbench:not(.has-file) .bpm-manual-panel,
.tool-workbench:not(.has-file) .chord-segment-controls{display:none!important}

/* —— My Library page —— */
.lib-page-hero h1{letter-spacing:-.03em}
.lib-title-accent{color:#7c5cbf}
.lib-stats-card{
  background:#f8fafc;border-radius:18px;padding:20px 22px;margin-bottom:18px;
}
.lib-stats-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px;
}
.lib-stats-label{display:block;font-size:13px;color:#687485;margin-bottom:4px}
.lib-stats-value{font-size:22px;font-weight:800;color:#18212b;letter-spacing:-.02em}
.lib-stats-note{margin:0;font-size:13px;color:#98a1ae;line-height:1.45}
.lib-page-toolbar{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px;
}
.lib-search-wrap{
  flex:1;min-width:200px;display:flex;align-items:center;gap:8px;
  background:#f8fafc;border-radius:14px;padding:0 14px;height:46px;
}
.lib-search-wrap svg{color:#98a1ae;flex:none}
.lib-search-wrap input{
  border:0;background:transparent;outline:0;width:100%;font:inherit;font-size:14px;color:#18212b;
}
.lib-sort-select{
  height:46px;border:0;border-radius:14px;background-color:#f8fafc;padding:0 42px 0 18px;
  font:inherit;font-size:13.5px;font-weight:650;color:#18212b;cursor:pointer;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23424d5b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 18px center;background-size:12px 8px;
}
.lib-sort-select:focus-visible{outline:2px solid #c4b5e0;outline-offset:2px}
.lib-page-table-wrap{background:#fff;border-radius:18px;border:1px solid #eef0f3;overflow:hidden}
.lib-page-table-head{
  display:grid;grid-template-columns:minmax(180px,2.2fr) 110px 70px 80px minmax(220px,1.4fr);
  gap:10px;padding:12px 16px;background:#f8fafc;font-size:11.5px;font-weight:750;
  color:#98a1ae;text-transform:uppercase;letter-spacing:.04em;
}
.lib-page-row{
  display:grid;grid-template-columns:minmax(180px,2.2fr) 110px 70px 80px minmax(220px,1.4fr);
  gap:10px;padding:14px 16px;align-items:center;border-top:1px solid #f2f4f7;
}
.lib-page-row:hover{background:#fafbfc}
.lib-page-name{display:flex;align-items:center;gap:12px;min-width:0}
.lib-page-ico{
  width:40px;height:40px;border-radius:12px;background:#eef1f5;color:#5b6572;
  display:grid;place-items:center;flex:none;
}
.lib-page-ico.is-video{background:#e8ebf0;color:#3d4652}
.lib-page-title{
  font-size:14px;font-weight:700;color:#18212b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lib-page-date,.lib-page-type,.lib-page-size{font-size:13px;color:#687485}
.lib-page-row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.lib-page-row-actions .tool-btn-secondary{
  background:#eef1f4 !important;border:0 !important;color:#18212b !important;
  border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:750;cursor:pointer;
  box-shadow:none !important;
}
.lib-del-btn{
  border:0;background:transparent;color:#c0392b;font:inherit;font-size:12.5px;
  font-weight:750;cursor:pointer;padding:8px 10px;border-radius:10px;
}
.lib-del-btn:hover{background:#fdf0ee}
.lib-open-wrap{position:relative}
.lib-open-menu{
  position:absolute;right:0;top:calc(100% + 4px);z-index:20;
  min-width:180px;background:#fff;border:1px solid #e8ecf1;border-radius:12px;
  box-shadow:0 12px 32px rgba(16,24,40,.14);padding:6px;max-height:260px;overflow:auto;
}
.lib-open-item{
  display:block;width:100%;text-align:left;border:0;background:transparent;
  padding:8px 10px;border-radius:8px;font:inherit;font-size:13px;font-weight:650;
  color:#18212b;cursor:pointer;
}
.lib-open-item:hover{background:#f5f7f9}
.lib-page-empty{margin:36px 16px;text-align:center;color:#98a1ae;font-size:14px}
.lib-page-actions{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:16px;
}
.lib-clear-all-btn{
  border:1px solid #f0c4bc;background:#fff;color:#c0392b;border-radius:12px;
  padding:11px 18px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;
}
.lib-clear-all-btn:hover{background:#fdf5f4}
.lib-page-features{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px;
}
.lib-feat-card{
  background:#f8fafc;border-radius:16px;padding:18px 16px;
}
.lib-feat-card h3{margin:0 0 8px;font-size:15px;color:#18212b}
.lib-feat-card p{margin:0;font-size:13.5px;color:#687485;line-height:1.5}
@media (max-width:820px){
  .lib-page-table-head{display:none}
  .lib-page-row{
    grid-template-columns:1fr;gap:8px;padding:14px;
  }
  .lib-page-row-actions{justify-content:flex-start}
  .lib-page-features{grid-template-columns:1fr}
  .lib-stats-grid{grid-template-columns:1fr}
}

/* Library page: white bg + tight hero gap */
body.lib-page-body{
  background:#fff !important;
}
body.lib-page-body .site-header{
  background:rgba(255,255,255,.94);
}
.lib-page-hero.page-hero{
  background:#fff !important;
  padding:36px 0 12px !important;
  text-align:center;
}
.lib-page-hero .lib-hero-lead{
  max-width:640px;
  margin:10px auto 0;
  color:#687485;
  font-size:15px;
  line-height:1.55;
}
.lib-page-section.section{
  padding:12px 0 64px !important;
  background:#fff;
}
.lib-page-section .lib-stats-card{
  margin-bottom:14px;
}
.lib-page-copy{
  margin-top:32px;
  max-width:720px;
}
.lib-page-copy h2{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.02em;
  color:#18212b;
}
.lib-page-copy h2 + p,
.lib-page-copy p{
  margin:0 0 12px;
  color:#687485;
  font-size:14.5px;
  line-height:1.6;
}
.lib-tips{
  margin:8px 0 0;
  padding-left:18px;
  color:#687485;
  font-size:14.5px;
  line-height:1.65;
}
.lib-tips li{margin-bottom:6px}
.lib-page-features{margin-top:28px}

/* Library page typography: 17px copy, 22px headings, justified text, larger feature cards */
.lib-page-hero .lib-hero-lead{
  max-width:760px;font-size:17px;line-height:1.65;text-align:justify;text-align-last:center;hyphens:auto;
}
.lib-page-copy{max-width:none}
.lib-page-copy h2{font-size:22px;margin:0 0 12px}
.lib-page-copy h2:not(:first-child){margin-top:26px}
.lib-page-copy p,
.lib-page-copy h2 + p,
.lib-tips,
.lib-tips li{font-size:17px;line-height:1.7;text-align:justify;hyphens:auto}
.lib-page-copy p,.lib-page-copy h2 + p{margin:0 0 14px}
.lib-tips{padding-left:22px}
.lib-tips li{margin-bottom:8px}
.lib-page-features{margin-top:36px;gap:20px}
.lib-feat-card{padding:30px 32px;border-radius:22px;min-height:190px}
.lib-feat-card h3{font-size:20px;margin:0 0 12px}
.lib-feat-card p{font-size:17px;line-height:1.6;text-align:justify;hyphens:auto}
@media (max-width:820px){
  .lib-page-hero .lib-hero-lead,.lib-page-copy p,.lib-tips li,.lib-feat-card p{text-align:left}
  .lib-feat-card{padding:22px;min-height:0}
}



/* Song Identifier text search */
.si-workbench{
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line, #e7ebf0);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm, 0 7px 24px rgba(25,35,50,.055));
}
.si-search-form{ margin: 0; }
.si-search-bar{
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.si-search-input{
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 12px;
  background: var(--soft, #f3f5f8);
  color: var(--ink, #18212b);
  box-shadow: none;
}
.si-search-input:focus{
  background: #eef1f4;
}
.si-search-input::placeholder{ color: #9aa3b2; }
.si-search-btn{
  border: none;
  cursor: pointer;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: #3d4757;
  background: #eef0f4;
  border-radius: 12px;
  transition: background .15s ease;
  white-space: nowrap;
  box-shadow: none;
}
.si-search-btn:hover{ background: #e4e7ed; }
.si-search-status{
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted, #687485);
  text-align: center;
}
.si-search-result{ margin-top: 18px; }
.si-empty{ text-align: center; padding: 12px 8px 4px; }
.si-empty-ico{
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--accent-soft, #f3ebfb); color: #8b43d9;
  display: flex; align-items: center; justify-content: center;
}
.si-empty-title{
  margin: 0 0 10px; font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink, #18212b);
}
.si-empty-text{
  margin: 0 auto 22px; max-width: 440px;
  font-size: 15px; line-height: 1.55; color: var(--muted, #687485);
}
.si-empty-cta{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: var(--soft, #f3f5f8); border-radius: 14px; padding: 16px 18px;
}
.si-empty-cta-copy{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.si-empty-cta-copy strong{ font-size: 14px; font-weight: 700; color: var(--ink, #18212b); }
.si-empty-cta-copy span{ font-size: 13px; line-height: 1.4; color: var(--muted, #687485); }
.si-empty-cta-btn{
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 12px 18px; border-radius: 12px;
  background: var(--ink, #18212b); color: #fff !important;
  font-size: 13px; font-weight: 700; text-decoration: none !important;
}
.si-empty-cta-btn:hover{ background: #2a3548; }
.si-prose{
  color: var(--muted, #687485); font-size: 15px; line-height: 1.6; margin: 0 0 16px;
  max-width: 720px;
}
.si-ways-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 18px;
}
.si-way-card{
  background: #fff; border: 1px solid var(--line, #e7ebf0); border-radius: 16px;
  padding: 20px 18px; box-shadow: var(--shadow-sm, 0 7px 24px rgba(25,35,50,.055));
}
.si-way-card h3{
  margin: 0 0 8px; font-size: 17px; font-weight: 750; color: var(--ink, #18212b);
}
.si-way-card p{
  margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted, #687485);
}
.si-store-row{ display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 14px 0 0; }
.si-store-link{ color: #8b43d9; font-weight: 600; text-decoration: none; font-size: 14px; }
.si-store-link:hover{ text-decoration: underline; color: #7335b8; }
@media (max-width: 800px){
  .si-ways-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .si-workbench{ max-width: 100%; }
  .si-search-bar{ flex-direction: column; }
  .si-search-btn{ padding: 14px; }
  .si-empty-cta{ flex-direction: column; align-items: stretch; }
  .si-empty-cta-btn{ justify-content: center; }
}


/* v34: Song Identifier — cleaner search box, neutral icons, guides aligned with other text blocks */
.si-workbench{ border: 0; }
.si-search-input,.si-search-input:focus,.si-search-input:focus-visible{ border: 0; outline: none; box-shadow: none; }
.si-search-input::-webkit-search-cancel-button{
  -webkit-appearance: none; appearance: none; height: 18px; width: 18px; cursor: pointer; opacity: .9;
  background: no-repeat center / 14px 14px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23384252' stroke-width='3' stroke-linecap='round'><path d='M6 6l12 12M18 6 6 18'/></svg>");
}
.si-empty-ico{ background: #eef0f4; color: #384252; }
.si-store-row{ margin: 4px 0 22px !important; }
.si-store-link{ color: #384252; text-decoration: underline; text-underline-offset: 3px; }
.si-store-link:hover{ color: #18212b; }

/* v34: Identify section on Audio Tools page — two cards side by side */
.tools-page-grid-wide{grid-template-columns:1fr 1fr}
@media(max-width:700px){.tools-page-grid-wide{grid-template-columns:1fr}}

/* Soft aurora behind the homepage hero. It starts under the header so the header blends into it. */
.hero{overflow:visible}
.hero-aurora{position:absolute;top:-80px;left:0;right:0;bottom:0;z-index:0;pointer-events:none;overflow:hidden;
  filter:blur(64px);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 160px),transparent 100%);
          mask-image:linear-gradient(to bottom,transparent 0,#000 140px,#000 calc(100% - 160px),transparent 100%)}
.hero-aurora .au{position:absolute;border-radius:50%;opacity:.11;will-change:transform}
.hero-aurora .au-1{width:620px;height:380px;left:-8%;top:10%;background:#7c5cbf;animation:auDrift1 26s ease-in-out infinite alternate}
.hero-aurora .au-2{width:560px;height:360px;right:-10%;top:18%;background:#4f8ff7;animation:auDrift2 32s ease-in-out infinite alternate}
.hero-aurora .au-3{width:500px;height:320px;left:30%;bottom:-6%;background:#2ec4b6;opacity:.08;animation:auDrift3 36s ease-in-out infinite alternate}
.hero-aurora .au-4{width:460px;height:300px;right:14%;top:-6%;background:#ff4d8d;opacity:.09;animation:auDrift2 34s ease-in-out infinite alternate}
.hero-aurora .au-5{width:440px;height:280px;left:-4%;bottom:6%;background:#ff9100;opacity:.09;animation:auDrift1 30s ease-in-out infinite alternate-reverse}
.hero-aurora .au-6{width:380px;height:240px;left:44%;top:-2%;background:#ffc93c;opacity:.09;animation:auDrift3 28s ease-in-out infinite alternate}
@keyframes auDrift1{from{transform:translate(0,0) scale(1)}to{transform:translate(60px,30px) scale(1.08)}}
@keyframes auDrift2{from{transform:translate(0,0) scale(1)}to{transform:translate(-50px,40px) scale(1.06)}}
@keyframes auDrift3{from{transform:translate(0,0) scale(1)}to{transform:translate(40px,-30px) scale(1.1)}}
.hero>.wrap{position:relative;z-index:1}
@media (max-width:620px){.hero-aurora{filter:blur(48px)}.hero-aurora .au-4{width:260px;height:200px}.hero-aurora .au-5{width:260px;height:200px}.hero-aurora .au-6{width:220px;height:170px}.hero-aurora .au-1{width:340px;height:240px}.hero-aurora .au-2{width:300px;height:220px}.hero-aurora .au-3{width:280px;height:200px}}
@media (prefers-reduced-motion:reduce){.hero-aurora .au{animation:none}}

/* Header: transparent over the hero so it melts into the background; white once scrolled. */
.site-header.on-hero{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0;box-shadow:none;transition:background .3s ease,box-shadow .3s ease}
.site-header.on-hero.is-scrolled{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(24,33,43,.05)}

/* Upload card: soft multicolour glow behind it and a light mesh inside the drop zone. */
.hero .recognizer.recognizer-main{box-shadow:0 -4px 16px rgba(25,35,50,.04),0 10px 28px rgba(25,35,50,.065),0 2px 5px rgba(25,35,50,.03)}
.recognizer-main .dropzone{
  background:
    radial-gradient(55% 75% at 0% 0%,rgba(124,92,191,.05),transparent 70%) padding-box,
    radial-gradient(55% 75% at 100% 100%,rgba(46,196,182,.05),transparent 70%) padding-box,
    radial-gradient(50% 60% at 100% 0%,rgba(79,143,247,.04),transparent 70%) padding-box,
    linear-gradient(#fbfcfd,#fbfcfd) padding-box,
    conic-gradient(from 210deg,#ff4d8d 0deg,#e040fb 40deg,#7c4dff 80deg,#40c4ff 130deg,#00e676 180deg,#ffea00 230deg,#ff9100 280deg,#ff4d8d 320deg,#ff4d8d 360deg) border-box !important;
}

/* Extension CTA — light grey card, two-column layout with store cards */
.cta-box.extension-cta{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);gap:56px;align-items:center;
  text-align:left;background:#f3f5f8;color:#18212b;border:0;
  padding:60px 60px;border-radius:28px;
}
.extension-cta .cta-kicker{color:#98a1ae;margin-bottom:16px;letter-spacing:.14em}
.extension-cta h2{
  color:#18212b;font-size:clamp(28px,3.3vw,42px);line-height:1.1;letter-spacing:-.035em;
  margin:0 0 16px;max-width:560px;text-align:left;
}
.extension-cta p{color:#687485;font-size:16px;line-height:1.7;margin:0;max-width:520px;text-align:left}
.extension-cta .cta-actions{flex-direction:column;align-items:stretch;justify-content:center;gap:10px}
.extension-cta .cta-actions{max-width:340px;justify-self:end;width:100%}
.extension-cta .cta-btn{
  display:flex;align-items:center;justify-content:flex-start;gap:13px;
  background:#fff;color:#18212b;border:0;border-radius:14px;padding:11px 16px;
  box-shadow:none;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.extension-cta .cta-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(25,35,50,.07)}
.extension-cta .cta-btn img{width:26px;height:26px}
.extension-cta .ext-btn-text{display:flex;flex-direction:column;gap:2px;margin:0;text-align:left;min-width:0}
.extension-cta .cta-btn .ext-btn-text > span{font-size:14px;font-weight:750;letter-spacing:-.01em;color:#18212b;margin:0}
.extension-cta .ext-btn-text small{font-size:11.5px;font-weight:550;color:#8a95a4}
.extension-cta .cta-btn .ext-arrow{
  margin:0 0 0 auto;width:26px;height:26px;border-radius:50%;background:#f3f5f8;color:#18212b;
  display:grid;place-items:center;font-size:13px;flex:none;transition:background .15s ease,color .15s ease;
}
.extension-cta .cta-btn:hover .ext-arrow{background:#18212b;color:#fff}
@media(max-width:900px){
  .cta-box.extension-cta{grid-template-columns:1fr;gap:32px;padding:44px 32px}
  .extension-cta .cta-actions{justify-self:start;max-width:360px}
}
@media(max-width:620px){
  .cta-box.extension-cta{padding:34px 20px;border-radius:22px}
  .extension-cta .cta-btn{padding:10px 14px}
}

/* Sound Booster cross-link block (song-identifier, equalizer) */
.next-step-section{padding:0}
.next-step{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;border:0;border-radius:16px;background:#f1f3f7}
.next-step-copy{min-width:0;max-width:640px}
.next-step-title{margin:0 0 6px;font-size:18px;font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.next-step-text{margin:0;font-size:16px;line-height:1.55;color:var(--muted)}
.next-step-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none}
.next-step-btn{display:inline-block;padding:14px 22px;border:0;border-radius:12px;background:#fff;color:#4d5967;font-size:15px;font-weight:750;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s ease}
.next-step-btn:hover{background:#f8f9fb;color:var(--ink)}
.next-step-btn:focus-visible{outline:2px solid #7c5cbf;outline-offset:2px}
@media(max-width:800px){.next-step{flex-direction:column;align-items:flex-start;padding:18px}.next-step-actions{width:100%}}
@media(max-width:520px){.next-step-actions{flex-direction:column}.next-step-btn{text-align:center;white-space:normal}}

/* Song Identifier: consistent spacing around the inline Sound Booster card. */
.song-info-flow{gap:42px}
.song-info-flow>div>p:last-child{margin-bottom:0}
.song-info-flow .next-step-title{margin:0 0 6px;font-size:18px;line-height:1.4;font-weight:800;color:var(--ink)}
.song-info-flow .next-step-text{margin:0;font-size:16px;line-height:1.55;color:var(--muted)}

.article-figure{margin:20px 0 26px}
.article-figure img{display:block;width:100%;height:auto;border:1px solid #e4e8ee;border-radius:14px;box-shadow:var(--shadow-sm)}
.article-figure-narrow img{max-width:360px;margin:0 auto}
.article-figure figcaption{margin-top:9px;color:#8b95a3;font-size:13px;line-height:1.5;text-align:center}
.palette-card{margin:0 0 12px;padding:14px;border:1px solid #e4e8ee;border-radius:16px;background:#fff}
.palette-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 10px;font-size:14px;line-height:1.4}
.palette-name span{color:#8b95a3;font-size:13px}
.palette-swatches{display:flex;height:64px;border-radius:10px;overflow:hidden}
.palette-swatches span{flex:1;min-width:0;display:flex;align-items:flex-end;padding:7px;color:#fff;font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
.palette-swatches span.is-light{color:#202a35}
.article-code{margin:0 0 16px;padding:14px 16px;overflow-x:auto;background:#141c2b;color:#e6edf7;border-radius:12px;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.article-code code{white-space:pre}
.cover-ideas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 28px}
.cover-idea{display:flex;flex-direction:column;padding:12px;border:1px solid #e4e8ee;border-radius:18px;background:#fff}
.cover-idea img{display:block;width:100%;height:auto;border-radius:12px}
.article-body .cover-idea h3{margin:14px 2px 2px;font-size:17px}
.article-body .cover-idea p{margin:0 2px 10px;font-size:14.5px;line-height:1.6}
.article-body .cover-idea p.cover-idea-source{margin-bottom:8px;color:#8b95a3;font-size:13px}
.article-body .cover-idea p.cover-idea-source strong{color:#5b6572;font-weight:600}
.cover-idea .palette-swatches{height:44px;margin-top:auto}
.cover-idea .palette-swatches span{padding:5px;font-size:9.5px;letter-spacing:0}
@media(max-width:620px){.palette-swatches{height:56px}.palette-swatches span{padding:5px;font-size:9.5px;letter-spacing:0}.article-code code{white-space:pre-wrap;overflow-wrap:anywhere}.cover-ideas{grid-template-columns:1fr}.cover-idea .palette-swatches{height:44px}}


@media(max-width:800px){.song-info-flow{gap:34px}}
.article-table-wrap{margin:6px 0 22px;overflow-x:auto;border:1px solid #e4e8ee;border-radius:14px}
.article-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.55;color:#5b6572}
.article-table th{padding:11px 14px;background:#f4f6f8;color:#202a35;font-weight:700;text-align:left;white-space:nowrap}
.article-table td{padding:11px 14px;border-top:1px solid #e4e8ee;vertical-align:top}
.article-table td:nth-child(2){color:#202a35;font-weight:600}
@media(max-width:620px){.article-table{font-size:13.5px}.article-table th,.article-table td{padding:9px 10px}}
