@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-italic-BicUS2cM.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-italic-BfTTTDIL.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-italic-Py8at3oI.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--paper:#f7f1e6;--surface:#fffdf8;--surface-muted:#f1e9db;--ink:#211c16;--muted:#746a5c;--line:#e2d6c3;--line-strong:#cbb99f;--accent:#b4552d;--accent-soft:#f3d9cb;--olive:#6c7a3f;--radius:14px;--font-display:"Fraunces Variable", Georgia, "Times New Roman", serif;--font-body:"Inter Variable", "Segoe UI", system-ui, -apple-system, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);font-family:var(--font-body)}body{background:radial-gradient(circle at 12% 0%, #b4552d12, transparent 38%), radial-gradient(circle at 88% 100%, #6c7a3f12, transparent 38%), var(--paper);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{z-index:10;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f7f1e6e0;justify-content:space-between;align-items:center;gap:1.5rem;padding:1rem clamp(1.25rem,4vw,3.5rem);display:flex;position:sticky;top:0}.brand{color:inherit;align-items:center;gap:.7rem;text-decoration:none;display:inline-flex}.brand-mark{background:var(--accent);width:2.25rem;height:2.25rem;color:var(--paper);font-family:var(--font-display);border-radius:50%;place-items:center;font-size:1.35rem;line-height:1;display:grid}.brand-copy{flex-direction:column;gap:.1rem;line-height:1.1;display:flex}.brand-name{font-family:var(--font-display);letter-spacing:-.02em;font-size:1.45rem}.brand-tagline{color:var(--muted);letter-spacing:.02em;font-size:.7rem}.header-controls{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.control-group{align-items:center;gap:.5rem;display:flex}.control-label{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:.68rem;font-weight:600}.segmented{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:2px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:.35rem .7rem;font-size:.78rem}.segmented button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.toggle{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .7rem;font-size:.78rem;display:inline-flex}.toggle__dot{background:var(--line-strong);border-radius:50%;width:.55rem;height:.55rem;transition:background .15s}.toggle[aria-pressed=true]{border-color:var(--accent);color:var(--ink)}.toggle[aria-pressed=true] .toggle__dot{background:var(--accent)}.app-main{flex:1;width:min(1180px,100%);margin:0 auto;padding:clamp(1.5rem,4vw,3rem) clamp(1.25rem,4vw,3.5rem)}.workspace{grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);align-items:start;gap:clamp(1.5rem,4vw,3rem);display:grid}.workspace__main{min-width:0}.key-panel{margin-bottom:1.75rem}.eyebrow{color:var(--accent);letter-spacing:.18em;text-transform:uppercase;margin:0 0 .35rem;font-size:.68rem;font-weight:700}.key-title{font-family:var(--font-display);letter-spacing:-.03em;margin:0 0 1rem;font-size:clamp(2.4rem,5vw,3.8rem);font-weight:400;line-height:1}.key-title__tonic{color:var(--ink)}.key-title__scale{color:var(--accent);font-style:italic}.selectors{flex-wrap:wrap;gap:1rem;display:flex}.field{flex-direction:column;gap:.35rem;min-width:11rem;display:flex}.field>span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-size:.7rem;font-weight:600}.field select{appearance:none;border:1px solid var(--line);background-color:var(--surface);width:100%;max-width:16rem;color:var(--ink);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23746a5c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right .8rem center;background-repeat:no-repeat;border-radius:10px;padding:.6rem 2.2rem .6rem .75rem;font-size:.95rem}.scale-caption{max-width:60ch;color:var(--muted);margin:.9rem 0 0;font-size:.92rem;line-height:1.6}.scale-caption strong{color:var(--ink);font-weight:600}.section-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.section-heading h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:1.45rem;font-weight:400}.section-note{color:var(--muted);margin:0;font-size:.75rem}.chord-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.85rem;display:grid}.chord-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;flex-direction:column;gap:.25rem;padding:.8rem .8rem .6rem;transition:border-color .15s,transform .15s,box-shadow .15s;display:flex;box-shadow:0 18px 38px -34px #211c1680}.chord-card:hover{border-color:var(--accent);transform:translateY(-1px);box-shadow:0 22px 42px -32px #211c168c}.chord-card:active{transform:translateY(0)}.chord-card__head{justify-content:space-between;align-items:baseline;gap:.5rem;width:100%;display:flex}.chord-card__roman{color:var(--accent);letter-spacing:.04em;font-size:.78rem;font-weight:700}.chord-card__function{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;font-size:.6rem}.chord-card__name{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:1.65rem;font-weight:400;line-height:1;display:block}.chord-diagram{width:100%;max-width:116px;height:auto;margin:.35rem auto 0;display:block}.chord-diagram__string{stroke:var(--ink);stroke-width:.9px}.chord-diagram__fret{stroke:var(--line-strong);stroke-width:.9px}.chord-diagram__nut{stroke:var(--ink);stroke-width:3.5px;stroke-linecap:round}.chord-diagram__dot,.chord-diagram__barre{fill:var(--accent)}.chord-diagram__open{fill:none;stroke:var(--muted);stroke-width:1.2px}.chord-diagram__marker{fill:var(--muted);font-family:var(--font-body);font-size:10px}.chord-diagram__position{fill:var(--muted);font-family:var(--font-body);font-size:8px}.progression-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:.9rem;padding:1.15rem;display:flex;position:sticky;top:5.6rem;box-shadow:0 24px 50px -40px #211c1680}.progression-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.progression-header h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:1.45rem;font-weight:400}.progression-count{color:var(--muted);margin:-.35rem 0 0;font-size:.75rem}.progression-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.progression-item{border:1px solid var(--line);background:var(--surface-muted);border-radius:10px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.5rem .55rem;display:grid}.progression-item--dragging{opacity:.55;border-style:dashed}.progression-item__handle{color:var(--line-strong);cursor:grab;letter-spacing:-.12em;-webkit-user-select:none;user-select:none;font-size:.9rem}.progression-item__handle:active{cursor:grabbing}.progression-item__roman{min-width:1.8rem;color:var(--accent);font-size:.72rem;font-weight:700}.progression-item__name{font-family:var(--font-display);text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;line-height:1;overflow:hidden}.progression-item__actions{gap:.05rem;display:flex}.icon-button{width:1.55rem;height:1.55rem;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:.9rem;line-height:1;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--surface);color:var(--ink)}.icon-button:disabled{cursor:default;opacity:.3}.icon-button--danger:hover:not(:disabled){color:var(--accent)}.transport{border-top:1px solid var(--line);gap:.55rem;padding-top:.8rem;display:grid}.transport__play{width:100%}.tempo-control{color:var(--muted);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;font-size:.72rem;display:grid}.tempo-control input[type=range]{width:100%;accent-color:var(--accent)}.tempo-control output{font-variant-numeric:tabular-nums;text-align:right;min-width:3.8rem}.loop-control{color:var(--muted);align-items:center;gap:.45rem;font-size:.78rem;display:inline-flex}.loop-control input{accent-color:var(--accent)}.progression-item--playing{border-color:var(--accent);background:var(--accent-soft)}.progression-item--playing .progression-item__roman{color:var(--ink)}.button:disabled{cursor:not-allowed;opacity:.45}.progression-footer{gap:.45rem;margin-top:.15rem;display:grid}.progression-hint{color:var(--muted);margin:0;font-size:.72rem;line-height:1.45}.share-url{border:1px solid var(--line);background:var(--surface-muted);width:100%;color:var(--muted);font-family:var(--font-body);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:.45rem .55rem;font-size:.68rem;overflow:hidden}.button{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.55rem .85rem;font-size:.82rem;display:inline-flex}.button--primary{border-color:var(--ink);background:var(--ink);color:var(--paper)}.button--primary:hover{border-color:var(--accent);background:var(--accent)}.button--ghost{width:auto;color:var(--muted);background:0 0;border-color:#0000;padding:.3rem .5rem;font-size:.75rem}.button--ghost:hover{color:var(--accent)}.progression-empty{border:1px dashed var(--line-strong);min-height:12rem;color:var(--muted);text-align:center;border-radius:10px;place-items:center;padding:1.5rem 1rem;display:grid}.progression-empty p{margin:0}.progression-empty__hint{opacity:.8;font-size:.78rem}.toast{z-index:20;background:var(--ink);color:var(--paper);border-radius:999px;padding:.6rem .95rem;font-size:.82rem;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%);box-shadow:0 14px 34px -18px #211c16b3}.app-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:1rem;padding:1.25rem clamp(1.25rem,4vw,3.5rem);font-size:.75rem;display:flex}.tips{border-top:1px solid var(--line);margin-top:clamp(2rem,5vw,3.5rem);padding-top:clamp(1.5rem,4vw,2.5rem)}.tips-header{justify-content:space-between;align-items:flex-end;gap:2rem;display:flex}.tips-header h2{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:clamp(1.6rem,3vw,2.1rem);font-weight:400}.tips-note{max-width:28rem;color:var(--muted);margin:0;font-size:.78rem;line-height:1.5}.tips-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:.25rem;margin-top:1.25rem;display:flex}.tips-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:.55rem .75rem;font-size:.8rem}.tips-tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--ink)}.tips-panels{margin-top:1.1rem}.tips-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.85rem;display:grid}.tip-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;align-items:flex-start;gap:.35rem;padding:1rem;display:flex;box-shadow:0 18px 38px -34px #211c1680}.tip-card__roman{color:var(--accent);font-family:var(--font-display);letter-spacing:.01em;margin:0;font-size:1.1rem}.tip-card__name{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:1.2rem;font-weight:400}.tip-card__description{color:var(--muted);flex:1;margin:0;font-size:.82rem;line-height:1.5}.button--small{width:auto;margin-top:.3rem;padding:.4rem .75rem;font-size:.75rem}.ideas-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem 2rem;margin:0;padding:0;list-style:none;display:grid}.ideas-list__item{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr;align-items:start;gap:.7rem;padding:.75rem 0;display:grid}.ideas-list__number{color:var(--accent);font-family:var(--font-display);font-size:.95rem;line-height:1.4}.ideas-list__item p{color:var(--muted);margin:0;font-size:.85rem;line-height:1.6}@media (width<=900px){.workspace{grid-template-columns:1fr}.progression-panel{position:static}}@media (width<=640px){.app-header{flex-direction:column;align-items:flex-start}.header-controls{justify-content:space-between;width:100%}.key-title{font-size:2.6rem}.chord-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-footer{flex-direction:column}.tips-header{flex-direction:column;align-items:flex-start;gap:.6rem}.tips-tabs{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.tips-tabs::-webkit-scrollbar{display:none}.tips-grid,.ideas-list{grid-template-columns:1fr}.app--has-progression{padding-bottom:48vh}.progression-panel--active{z-index:15;overscroll-behavior:contain;border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;max-height:48vh;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -24px 50px -30px #211c168c}.app--has-progression .toast{bottom:calc(48vh + .75rem)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
