:root{color:#f3eee5;--color-surface:#24231f;--color-text:#f3eee5;--color-muted:#b0b1a3;--color-primary:#edb86d;--color-accent:#baa98c;--color-border:#44463b;--space-xs:6px;--space-sm:12px;--space-md:20px;--space-lg:32px;--space-xl:56px;--shadow-sm:0 2px 3px #263b2910;--shadow-lg:0 12px 45px #263b2908;font-synthesis:none;background:#191a18;font-family:Avenir Next,Trebuchet MS,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);border-radius:7px;min-height:44px;padding:11px 15px;transition:background .15s ease-out,box-shadow .15s ease-out}button:hover{background:#33382c}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #c17a42}a{color:var(--color-primary);text-underline-offset:4px}header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:24px;max-width:1320px;margin:auto;padding:24px 40px;display:flex}.brand{color:var(--color-text);letter-spacing:1px;white-space:nowrap;align-items:center;gap:10px;font-size:14px;font-weight:800;text-decoration:none;display:flex}.brand-mark{background:var(--color-primary);color:#24231f;border-radius:9px;place-items:center;width:35px;height:35px;font-size:27px;display:inline-grid}nav{flex-wrap:wrap;gap:24px;display:flex}nav a{font-size:14px;text-decoration:none}nav a:hover{text-decoration:underline}main{max-width:1240px;margin:auto;padding:35px 32px 0}.page-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px;display:flex}.eyebrow{letter-spacing:1.7px;color:var(--color-muted);margin:0 0 9px;font-family:Courier New,monospace;font-size:10px;font-weight:700}.page-heading>p{color:var(--color-muted);margin:0 0 4px;font-size:14px}h1{letter-spacing:-1.2px;margin:0;font-family:Studio Display,sans-serif;font-size:clamp(28px,3.3vw,43px);font-weight:500;line-height:1.1}h2{font-weight:500}.workbench{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-lg);border-radius:14px;overflow:hidden}.toolbar{border-bottom:1px solid var(--color-border);background:#292b24;justify-content:space-between;align-items:center;gap:12px;padding:15px 24px;display:flex}.toolbar .eyebrow{margin:0}.toolbar>button{background:0 0;font-size:12px}.segmented{background:#24271f;border-radius:9px;gap:3px;padding:3px;display:flex}.segmented button{background:0 0;border:0;min-height:38px;padding:9px 15px;font-size:13px}.segmented .active{background:var(--color-surface);box-shadow:var(--shadow-sm)}.controls{flex-wrap:wrap;align-items:end;gap:16px;padding:24px 28px 8px;display:flex}label{letter-spacing:.3px;flex-direction:column;gap:7px;font-size:11px;font-weight:600;display:flex}select,input{min-height:44px;color:var(--color-text);background:#24231f;border:1px solid #56594b;border-radius:6px;max-width:100%;padding:10px 12px;font-size:14px}select{min-width:120px}#type{min-width:190px}form{align-items:end;gap:8px;margin-left:auto;display:flex}form input{width:170px}.error{color:#a63526;min-height:0;margin:8px 28px;font-size:13px}.error:empty{margin:0}.instrument-layout{border-top:1px solid var(--color-border);grid-template-columns:minmax(0,1fr) 310px;margin:20px 28px 0;display:grid}.instrument{flex-direction:column;justify-content:center;min-width:0;padding:20px 20px 20px 0;display:flex}.result{border-left:1px solid var(--color-border);padding:28px 0 22px 28px}.result h2{letter-spacing:-2px;margin:8px 0;font-size:60px}.result>p{color:var(--color-muted);font-size:13px}.notes{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.notes span{background:#363b2e;border-radius:50%;place-items:center;min-width:36px;min-height:36px;padding:6px 9px;font-size:13px;font-weight:600;display:grid}.notes .root-note{background:var(--color-primary);color:#fff}.actions{flex-wrap:wrap;gap:8px;margin:20px 0 0;display:flex}.primary{background:var(--color-primary);border-color:var(--color-primary);color:#24231f}.primary:hover{background:#f4c78b}.crosslinks{flex-wrap:wrap;gap:12px;margin-top:24px;font-size:12px;line-height:1.6;display:flex}.crosslinks>span{width:100%;color:var(--color-muted);letter-spacing:1px;text-transform:uppercase;font-family:Courier New,monospace;font-size:10px}.result .crosslinks{flex-direction:column;gap:7px}.status{color:var(--color-primary);min-height:24px;padding:6px 28px;font-size:12px}.chord-diagram{width:100%;max-width:280px;height:260px;fill:var(--color-text);align-self:center}.grid-line{stroke:#9a9f91;stroke-width:1.3px}.svg-small{font-size:12px}.shape-controls{justify-content:center;align-items:center;gap:12px;font-size:12px;display:flex}.shape-controls button{font-size:12px}.caption{color:var(--color-muted);font-size:11px;line-height:1.7}.instrument>.caption{text-align:center;margin-bottom:0}.keyboard-scroll{width:100%;padding:15px 0;overflow-x:auto}.keyboard{border-bottom:3px solid #f3eee5;width:100%;min-width:420px;height:230px;position:relative}.key{border-radius:0 0 6px 6px;justify-content:center;align-items:end;padding:0;font-size:10px;display:flex;position:absolute;top:0}.key.white{z-index:1;background:#24231f;border:1px solid #888e81;height:100%}.key.black{z-index:2;color:#fff;background:#303930;border:1px solid #202920;height:62%}.key.chosen{background:#d89a6a}.key.chosen.tonic{color:#fff;background:#edb86d}.inversion{align-self:flex-start;margin-top:14px}.fret-scroll{max-width:100%;padding:10px 0 20px;overflow-x:auto}.fretboard{background:#25291f;border-radius:8px;min-width:780px;padding:8px 16px}.string,.fret-numbers{grid-template-columns:35px repeat(13,minmax(42px,1fr));display:grid}.fret-numbers{text-align:center;color:#a5ad96;height:23px;font-family:Courier New,monospace;font-size:10px}.fret{background:linear-gradient(#0000 49%,#b5b5a6 49% 52%,#0000 52%);border:0;border-right:2px solid #b3b3a3;border-radius:0;place-items:center;height:42px;min-height:42px;padding:0;display:grid;position:relative}.fret:hover{background-color:#363b2e}.fret span{font-size:10px}.fret.chosen span{color:#252a20;background:#b9ae97;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.string-name{background:0 0;border:0;border-radius:0;min-height:42px;padding:0;font-size:11px}.scale-summary{justify-content:space-between;align-items:center;gap:16px;padding:10px 28px;display:flex}.scale-summary h2{margin:0;font-family:Studio Display,sans-serif;font-size:27px}.workbench>.fret-scroll{max-width:calc(100% - 48px);margin:0 24px}.bottom-bar{justify-content:space-between;align-items:center;gap:16px;padding:14px 28px 22px;display:flex}.bottom-bar .actions{margin:0}.workbench>.crosslinks{margin:0;padding:0 28px 16px}.progression{border:1px solid var(--color-border);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:24px 28px;display:grid;overflow:hidden}.chord-card{border-right:1px solid var(--color-border);padding:22px 16px}.chord-card:last-child{border:0}.chord-card h2{margin:20px 0;font-family:Studio Display,sans-serif;font-size:42px}.chord-card .notes{gap:5px}.chord-card .notes span{min-width:28px;min-height:28px;padding:4px;font-size:11px}.chord-card>a{margin-right:8px;font-size:11px}.chord-card>button{font-size:12px}.card-edit{flex-direction:column;gap:6px;margin:20px 0 14px;display:flex}.card-edit select{width:100%;min-width:0;font-size:12px}#bpm{width:88px}.match{text-align:left;width:100%;margin-bottom:8px;font-size:20px}.match span{color:var(--color-muted);margin-top:5px;font-size:10px;display:block}.empty{color:var(--color-muted);padding:15px;font-size:14px;line-height:1.7}.help{max-width:820px;color:var(--color-muted);margin:45px 0 55px;font-size:13px;line-height:1.7}.help h2{color:var(--color-text);margin-bottom:10px;font-family:Studio Display,sans-serif;font-size:26px}.help p{margin:8px 0}.help p:last-child{font-size:11px}footer{border-top:1px solid var(--color-border);max-width:1240px;color:var(--color-muted);justify-content:space-between;gap:16px;margin:auto;padding:24px 32px;font-size:10px;display:flex}.footer-links{flex-wrap:wrap;justify-content:flex-end;gap:18px;display:flex}.footer-links a{color:var(--color-muted);text-decoration:none}.footer-links a:hover,.footer-links a[aria-current=page]{color:var(--color-primary);text-decoration:underline}.reading-page{max-width:860px;min-height:65vh;padding-bottom:72px}.reading-page>h1{margin-bottom:20px}.reading-copy{color:var(--color-muted);font-size:15px;line-height:1.75}.reading-copy .intro{color:var(--color-text);margin:0 0 36px;font-size:20px;line-height:1.5}.reading-copy section{border-top:1px solid var(--color-border);padding:25px 0}.reading-copy h2{color:var(--color-text);margin:0 0 10px;font-family:Studio Display,sans-serif;font-size:28px}.reading-copy p{margin:8px 0}.reading-copy code{color:var(--color-text)}.page-note{font-size:12px}.contact-button{border:1px solid var(--color-primary);color:#25271e;background:var(--color-primary);border-radius:3px;padding:11px 15px;font-size:12px;text-decoration:none;display:inline-block}@media (width<=850px){header{flex-direction:column;align-items:start;gap:16px;padding:18px 24px}nav{gap:20px}.page-heading>p{display:none}.instrument-layout{grid-template-columns:minmax(0,1fr) 230px}.result{padding-left:20px}.controls{gap:12px}form{margin:0}.progression{grid-template-columns:repeat(2,minmax(0,1fr))}.chord-card:nth-child(2){border-right:0}.chord-card:nth-child(-n+2){border-bottom:1px solid var(--color-border)}}@media (width<=600px){header{gap:14px;padding:16px 18px}.brand{font-size:12px}nav{gap:15px}nav a{font-size:11px}main{padding:24px 14px 0}.eyebrow{font-size:9px}.page-heading{margin-bottom:20px}h1{font-size:30px}.toolbar{gap:5px;padding:10px}.segmented button{padding:7px 9px;font-size:10px}.toolbar>button{padding:8px;font-size:10px}.toolbar>.eyebrow{max-width:160px;line-height:1.5}.controls{gap:12px;padding:16px 16px 6px}.controls label{flex:1;min-width:90px}.controls #type{width:100%;min-width:0}.controls form{width:100%}form label{flex:1}form input{width:100%}select{width:100%;min-width:0}.instrument-layout{flex-direction:column;margin:12px 16px 0;display:flex}.instrument{padding:12px 0}.chord-diagram{height:220px}.result{border-left:0;border-top:1px solid var(--color-border);padding:20px 0}.result h2{margin:5px 0;font-size:40px}.result .crosslinks{flex-direction:row;gap:12px}.keyboard{height:190px}.keyboard-scroll{padding:4px 0}.scale-summary{padding:15px 16px 0;display:block}.scale-summary h2{font-size:24px}.workbench>.fret-scroll{max-width:calc(100% - 20px);margin:0 10px}.bottom-bar{padding:12px 16px;display:block}.bottom-bar .caption{margin-top:15px}.progression{margin:18px 12px}.chord-card{padding:18px 12px}.chord-card h2{margin:12px 0;font-size:35px}.chord-card .eyebrow{letter-spacing:1px;font-size:8px}.help{margin-top:28px}footer{flex-direction:column;padding:20px 16px}.footer-links{justify-content:flex-start;gap:14px}.reading-page{padding:28px 18px 56px}.reading-copy .intro{font-size:18px}.workbench>.crosslinks{padding:0 16px 15px}.shape-controls{gap:7px}.shape-controls button{padding:8px 10px;font-size:11px}.error{margin-left:16px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.fretboard.short-range{min-width:320px}.short-range .string,.short-range .fret-numbers{grid-template-columns:30px repeat(5,minmax(44px,1fr))}.degree{color:var(--color-muted);margin:0;font-family:Courier New,monospace;font-size:13px}@font-face{font-family:Studio Body;src:url(/assets/body-C-N7Y6Hq.woff2);font-weight:400;font-display:optional}@font-face{font-family:Studio Display;src:url(/assets/display-zEbFSGEL.woff2);font-weight:600;font-display:optional}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--shadow-lg:0 16px 55px #0003;font-family:Studio Body,Avenir Next,Trebuchet MS,sans-serif}header{max-width:1320px;padding:22px 40px}.brand{letter-spacing:-.8px;gap:13px;font-size:21px;font-weight:600}.brand img{width:35px;height:35px}nav a{color:#b7bcab;font-size:12px}nav a:hover{color:#edb86d}main{max-width:1220px;padding-top:27px}.page-heading{display:block}.page-heading>p{margin-top:10px;font-size:12px}.eyebrow{color:#c5aa83;letter-spacing:2.2px;font-family:Studio Body,sans-serif;font-size:9px}h1{text-transform:uppercase;letter-spacing:-.6px;font-size:clamp(36px,4.5vw,54px);font-weight:600}.workbench{border-radius:5px}.toolbar{background:#292b24;padding:13px 26px}.segmented{background:0 0;border-radius:0;gap:20px;padding:0}.segmented button{color:#adb39f;border-radius:0;padding:9px 0;font-size:12px}.segmented .active{color:#f2eddf;box-shadow:none;background:0 0;border-bottom:1px solid #edb86d}button{border-radius:3px;font-size:12px}label{color:#c1beaf;font-size:10px}select,input{background:#1c2019;border-color:#545848;border-radius:3px}.primary,.notes .root-note{color:#26251f}.primary:hover{color:#22251e}.controls{padding-top:20px}.instrument-layout{grid-template-columns:minmax(0,1fr) 310px;margin:18px 0 0}.instrument{background:radial-gradient(#34352b,#24261f 75%);padding:24px 28px}.result{background:#1d221a;padding:24px 26px}.result h2{margin:8px 0 12px;font-family:Studio Display,sans-serif;font-size:76px;line-height:1.05}.result .notes span{background:0 0;border:1px solid #63694f;min-width:32px;min-height:32px;font-size:12px}.result .notes .root-note{background:#edb86d;border-color:#edb86d}.result .crosslinks{font-size:11px}.result .crosslinks a{color:#c0c6ae}.grid-line{stroke:#92957f}.fret.chosen.tonic span{color:#25271e;background:#edb86d}.fret.chosen span{color:#25271e}.fretboard{border-radius:3px}.help h2,.scale-summary h2,.chord-card h2{font-family:Studio Display,sans-serif}.help h2{font-size:30px}.help{border-top:1px solid #44463b;padding-top:24px}.progression{border:0;border-radius:0;gap:12px}.chord-card{background:#272d21;border-radius:4px;border:1px solid #535b45!important}.chord-card h2{color:#ede7d8;font-size:53px}.chord-card:first-child{background:#303829}.bottom-bar{background:#24291e}.error{color:#ffb199}.notes span{color:#e9e3d4}.notes .root-note{color:#24271e;background:#edb86d}.keyboard-scroll{padding:18px 2px 25px}.keyboard{border:0;border-top:11px solid #161c13;border-bottom:7px solid #1a2016;border-radius:4px 4px 6px 6px;height:220px;box-shadow:0 2px #777b67,0 8px #141b10,0 16px 22px #0004}.key.white,.key.white.chosen,.key.white.chosen.tonic{color:#737965;background:linear-gradient(90deg,#d8d8ca 0%,#faf8ee 9%,#f3f1e5 80%,#deded0);border:0;border-right:1px solid #a1a18e;border-radius:0 0 3px 3px;box-shadow:inset 0 -6px #c9ccba,inset 0 -7px #fffdf1}.key.black,.key.black.chosen,.key.black.chosen.tonic{color:#cbd1bf;background:linear-gradient(90deg,#10160e,#454d3b 9%,#283122 22%,#252e20 80%,#10170d);border:1px solid #141b10;border-top:0;border-radius:0 0 3px 3px;box-shadow:inset 0 -7px #121b0d,inset 0 -8px #555e47,1px 6px 5px #0006}.key.chosen:after{content:"";background:#a89b79;border-radius:50%;width:7px;height:7px;position:absolute;bottom:35px;box-shadow:0 0 0 3px #a89b7922}.key.chosen.tonic:after{background:#cb954d;box-shadow:0 0 0 3px #cb954d22}.key.white.chosen{color:#5c5139;font-weight:600}.key:hover{filter:brightness(1.06)}.key:active{transform:translateY(2px)}.key span{margin-bottom:15px}.key.black.chosen:after{bottom:32px}@media (width<=850px){header{gap:16px}nav{gap:24px}.brand{font-size:20px}.instrument-layout{grid-template-columns:minmax(0,1fr) 240px}}@media (width<=600px){header{padding:18px}.brand{font-size:20px}nav{gap:16px}nav a{font-size:11px}.instrument-layout{margin:14px 0 0}.instrument{padding:19px 16px}.result{padding:22px 18px}.result h2{font-size:55px}.toolbar{padding:10px 12px}.segmented{gap:13px}.segmented button{font-size:10px}.keyboard{height:190px}.keyboard-scroll{padding-bottom:24px}.help h2{font-size:28px}.progression{gap:8px}.chord-card{padding:15px 10px}.page-heading>p{display:block}h1{font-size:38px}}@media (width>=851px){.controls>label{flex:1}.controls>label select{width:100%}.controls form{flex:1.4;margin-left:0}.controls form label{flex:1}.controls form input{width:100%}}nav a[aria-current=page]{color:#edb86d;border-bottom:2px solid #edb86d;padding-bottom:12px}#search>button{color:#25271e;background:#edb86d;border-color:#edb86d}.workbench>.crosslinks{padding-top:24px;padding-bottom:22px}select{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'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23c1beaf' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:12px 8px;padding-right:42px}@media (width<=600px){.workbench>.crosslinks{padding-top:20px;padding-bottom:20px}body[data-page=scales] .controls>label{flex:calc(50% - 12px);min-width:0}}@media (forced-colors:active){select{appearance:auto;background-image:none}}.analytics-consent{z-index:50;background:#292b24;border:1px solid #626352;border-radius:5px;justify-content:space-between;align-items:center;gap:18px;width:min(680px,100% - 32px);padding:14px 16px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 16px 45px #0008}.analytics-consent p{color:#d9d7cc;margin:0;font-size:12px;line-height:1.5}.analytics-consent a{color:#edb86d}.analytics-consent div{flex:none;gap:8px;display:flex}.analytics-consent button{padding:9px 12px}@media (width<=600px){.analytics-consent{flex-direction:column;align-items:stretch;gap:10px}.analytics-consent div{justify-content:flex-end}.analytics-consent button{min-height:42px}}body[data-page=guitar] #app,body[data-page=piano] #app{min-height:618px}body[data-page=scales] #app{min-height:772px}body[data-page=progression] #app{min-height:763px}@media (width<=600px){body[data-page=guitar] #app{min-height:963px}body[data-page=piano] #app{min-height:960px}body[data-page=scales] #app{min-height:985px}body[data-page=progression] #app{min-height:1228px}}
