@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--forest:#173e38;--forest-2:#214c40;--ink:#203d36;--paper:#f7f5ef;--white:#fff;--muted:#7b8980;--line:#e5e9df;--lime:#c7d904;--soft:#e8ecdf;--gold:#b58b36}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink)}body,button,select{font-family:'DM Sans',Arial,sans-serif}button{cursor:pointer}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;flex:0 0 248px;background:var(--forest);color:#fff;display:flex;flex-direction:column;padding:34px 16px 22px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 14px;text-decoration:none;color:#fff;font-family:Manrope,Arial,sans-serif;letter-spacing:.17em;font-size:15px;line-height:1.05}.brand small{display:block;font-size:9px;letter-spacing:.4em;color:#bbcfc5;margin-top:5px}.brand-mark{width:35px;height:35px;border:2px solid #c7d904;border-radius:50%;display:grid;place-items:center;color:#c7d904;font-size:24px;line-height:1}.sidebar-label{font-size:10px;letter-spacing:.22em;color:#8eb0a4;margin:76px 14px 18px;font-weight:700}.navigation{display:grid;gap:7px}.nav-item{width:100%;height:49px;border:0;background:transparent;color:#bbcec5;text-align:left;display:flex;align-items:center;gap:14px;border-radius:9px;padding:0 13px;font-size:13px;font-weight:700}.nav-item:hover{background:#ffffff14}.nav-item.active{background:#ffffff1c;color:#fff}.nav-item.active:before{content:'';height:24px;width:3px;border-radius:3px;background:var(--lime);position:absolute;left:16px}.nav-icon{width:21px;text-align:center;font-size:22px;line-height:1;color:#9ec8b7}.nav-item.active .nav-icon{color:var(--lime)}.nav-number{margin-left:auto;font-size:10px;color:#83a99a;letter-spacing:.08em}.sidebar-bottom{margin-top:auto;padding:20px 14px 0;border-top:1px solid #ffffff23;color:#b7cfc3;font-size:12px;display:flex;gap:9px;align-items:center}.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#95a99b;flex:none}.is-live .pulse-dot{background:#c7d904;box-shadow:0 0 0 4px #c7d90426}.main{min-width:0;flex:1}.topbar{height:76px;border-bottom:1px solid #e2e7dd;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,4vw,62px);background:#fafaf6}.breadcrumbs{font-size:10px;font-weight:800;letter-spacing:.17em;color:#9ba99b}.breadcrumbs span{padding:0 13px;color:#bdc9bd}.breadcrumbs strong{color:var(--forest)}.top-actions{display:flex;align-items:center;gap:16px}.live-pill{border:1px solid #d9e5d6;background:#edf3e9;color:#376a4e;font-size:10px;font-weight:800;letter-spacing:.12em;border-radius:20px;padding:8px 12px;display:flex;align-items:center;gap:9px}.icon-button{border:1px solid #d9e1d7;color:#60746b;background:#fff;border-radius:50%;width:32px;height:32px;font-weight:700}.content{max-width:1370px;margin:0 auto;padding:45px clamp(24px,4vw,62px) 60px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow,.card-kicker{font-size:10px;font-weight:800;letter-spacing:.19em;color:#7f905e}.page-heading h1{font:400 clamp(38px,4.3vw,57px)/1.13 Georgia,serif;letter-spacing:-.045em;margin:10px 0 9px;color:#203d36}.page-heading h1 em{font-style:italic;color:#8d9b59}.page-heading p,.view-intro p{font-size:14px;color:#78877c;margin:0;line-height:1.55}.session-clock{display:grid;gap:3px;text-align:right;padding-bottom:3px}.session-clock span,.fundamental-badge span{font-size:10px;font-weight:800;letter-spacing:.16em;color:#9ca99f}.session-clock strong{font:600 25px Manrope,Arial,sans-serif;color:var(--forest);letter-spacing:-.07em}.record-bar{display:flex;align-items:center;gap:12px;margin-bottom:26px}.start-button,.secondary-button{border:0;border-radius:8px;min-height:45px;padding:0 19px;font-size:13px;font-weight:800}.start-button{color:#fff;background:var(--forest);display:inline-flex;align-items:center;gap:10px;box-shadow:0 5px 12px #173e381f}.start-button:hover{background:#245347}.start-button.listening{background:#a54040}.button-symbol{font-size:13px;color:#b9df9e}.start-button.listening .button-symbol{color:white}.secondary-button{border:1px solid #d5dfd1;background:#fff;color:var(--forest)}.secondary-button:hover{background:#edf3ea}.record-hint{font-size:12px;color:#7f8d82;margin-left:6px}.view{display:none}.view.active{display:block}.pitch-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:20px}.lower-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:20px;margin-top:20px}.card{background:var(--white);border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 20px #203d3608;overflow:hidden}.meter-card,.reading-card,.trail-card,.quick-card,.spectrum-card,.overtone-card{padding:23px 26px}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.card h2,.view-intro h2{font:400 24px/1.2 Georgia,serif;letter-spacing:-.025em;margin:7px 0 0}.card-tag{color:#849286;background:#f0f3eb;border-radius:4px;padding:7px 9px;font-size:9px;font-weight:800;letter-spacing:.1em;white-space:nowrap}.meter-wrap{height:280px;position:relative;margin:9px 0 0;text-align:center}.meter-wrap svg{width:100%;height:100%;overflow:visible}.meter-track{fill:none;stroke:#e9eee8;stroke-width:16;stroke-linecap:round}.tick-line{stroke:#a2b1a7;stroke-width:1.4}.tick-line.major{stroke:#5a7466;stroke-width:2}.tick-line.center{stroke:#6c9256;stroke-width:3}.tick-label{fill:#8a9a8d;font:600 11px 'DM Sans',Arial,sans-serif;text-anchor:middle}#needle{stroke:#254c41;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 2px 2px #173e3840);transform-origin:300px 245px;transition:transform .12s ease-out}.needle-hub{fill:#254c41;stroke:#fff;stroke-width:4}.meter-note{position:absolute;left:0;right:0;bottom:42px;font:500 61px/1 Georgia,serif;letter-spacing:-.04em;color:#b8c7b8}.meter-frequency{position:absolute;left:0;right:0;bottom:20px;color:#87978a;font-size:13px}.meter-footer{display:flex;justify-content:space-between;align-items:center;color:#9aaa9d;font-size:10px;font-weight:800;letter-spacing:.12em;border-top:1px solid var(--line);padding-top:16px}.meter-footer span:nth-child(2){color:#546c5c;font-size:12px;letter-spacing:0}.reading-card{display:flex;flex-direction:column}.reading-light{width:10px;height:10px;border-radius:50%;background:#d7e2d5;margin-top:3px}.is-live .reading-light{background:#c7d904;box-shadow:0 0 0 5px #c7d90422}.reading-main{display:flex;align-items:baseline;margin-top:29px;line-height:1}.reading-note{font:400 79px Georgia,serif;color:#bfccc0;letter-spacing:-.075em}.reading-octave{font:400 34px Georgia,serif;color:#9faea0;margin-left:6px}.reading-feedback{font-size:12px;color:#8b9b8e;margin-top:10px;min-height:17px}.reading-divider{height:1px;background:var(--line);margin:23px 0 15px}.stat-row{display:flex;justify-content:space-between;padding:8px 0;gap:12px;color:#87958b;font-size:12px}.stat-row strong{font-size:13px;color:#27493f}.tip{display:flex;gap:10px;background:#f2f5eb;border-radius:7px;padding:10px 11px;margin-top:auto;color:#849055}.tip span{font-size:18px}.tip p{margin:0;font-size:11px;color:#738275;line-height:1.4}.trail-card{min-height:217px}.trail-card canvas{width:100%;height:95px;display:block;margin-top:13px}.trail-labels,.map-bottom,.spectrum-axis{display:flex;justify-content:space-between;color:#9cab9d;font-size:9px;font-weight:800;letter-spacing:.08em}.quick-card{min-height:217px}.explore-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;text-align:left;color:var(--forest);padding:12px 0;border-bottom:1px solid var(--line)}.explore-link:last-child{border-bottom:0}.explore-link:hover strong{text-decoration:underline}.explore-icon{width:34px;height:34px;border-radius:7px;background:#e9f0e3;display:grid;place-items:center;color:#668357;font-size:23px}.explore-link strong,.explore-link small{display:block}.explore-link strong{font-size:12px}.explore-link small{font-size:10px;color:#9ba89c;margin-top:2px}.explore-link>span:last-child{margin-left:auto;color:#7d9982}.view-intro{display:flex;justify-content:space-between;align-items:end;margin:10px 0 21px;gap:20px}.view-intro h2{font-size:35px;margin:6px 0 7px}.control-label{font-size:10px;letter-spacing:.13em;color:#89998b;font-weight:800;display:grid;gap:7px}.control-label select{background:#fff;border:1px solid #d8e1d7;border-radius:7px;padding:10px 28px 10px 11px;font-size:12px;color:var(--forest);font-weight:700}.map-card{padding:20px 22px 14px;background:#101816;border-color:#213e36}.map-top,.map-bottom{display:flex;justify-content:space-between;align-items:center;color:#91aa9b;font-size:10px;font-weight:800;letter-spacing:.13em}.map-live{display:flex;align-items:center;gap:7px;color:#bfd9bf}.map-card canvas{display:block;width:100%;height:min(64vh,660px);min-height:470px;margin-top:10px}.map-bottom{padding-left:45px;margin-top:5px;font-size:9px}.note-map-note{font-size:12px;color:#809083;margin:13px 3px}.note-map-note span{color:#c7d904;margin-right:8px}.fundamental-badge{text-align:right;padding:12px 17px;background:#e8eee3;border-radius:8px;display:grid;gap:3px}.fundamental-badge strong{color:var(--forest);font:600 19px Manrope,Arial,sans-serif}.spectrum-card canvas{display:block;width:100%;height:260px;margin-top:20px}.spectrum-axis{margin:0 1px 0 30px}.overtone-card{margin-top:20px}.harmonic-bars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px;align-items:end;margin-top:25px}.harmonic-column{min-width:0;text-align:center}.harmonic-value{font-size:11px;font-weight:700;color:#688374;height:18px}.harmonic-track{height:124px;background:#f0f3ee;border-radius:4px;display:flex;align-items:flex-end;overflow:hidden}.harmonic-fill{height:3%;width:100%;background:#b8c8b4;border-radius:4px 4px 0 0;transition:height .12s}.harmonic-column:first-child .harmonic-fill{background:#6f965d}.harmonic-label{font:700 12px Manrope,Arial,sans-serif;margin-top:9px}.harmonic-hz{font-size:10px;color:#93a395;margin-top:2px}.spectrum-tip{font-size:12px;color:#849286;margin:15px 2px}dialog{border:1px solid #dbe3d8;border-radius:14px;background:#fff;box-shadow:0 18px 70px #142a2250;color:var(--forest);max-width:420px;padding:30px}dialog::backdrop{background:#0d231dc2}dialog form{position:relative}dialog h2{font:400 29px Georgia,serif}dialog p{font-size:14px;line-height:1.6;color:#657a6d}.dialog-close{position:absolute;right:-7px;top:-12px;border:0;background:none;color:#6e8273;font-size:28px}@media(max-width:1100px){.sidebar{width:210px;flex-basis:210px}.content{padding:36px 28px}.topbar{padding:0 28px}.meter-wrap{height:250px}.reading-note{font-size:65px}}@media(max-width:850px){.sidebar{width:68px;flex-basis:68px;padding:22px 10px}.brand{padding:0;justify-content:center}.brand span:last-child,.sidebar-label,.nav-item span:not(.nav-icon),.sidebar-bottom span:last-child{display:none}.navigation{margin-top:65px}.nav-item{justify-content:center;padding:0}.nav-item.active:before{left:10px}.sidebar-bottom{justify-content:center;padding:18px 0}.pitch-grid,.lower-grid{grid-template-columns:1fr}.reading-card{min-height:290px}.reading-main{margin-top:15px}.tip{margin-top:15px}.quick-card{min-height:auto}}@media(max-width:600px){.app-shell{display:block}.sidebar{width:100%;height:61px;position:fixed;top:auto;bottom:0;left:0;z-index:10;display:flex;flex-direction:row;align-items:center;padding:6px 12px;box-shadow:0 -6px 20px #173e3820}.brand,.sidebar-bottom{display:none}.navigation{margin:0;display:flex;justify-content:space-around;width:100%}.nav-item{width:52px;height:48px}.nav-item.active:before{left:auto;bottom:6px;width:23px;height:2px}.nav-icon{font-size:25px}.topbar{height:53px;padding:0 17px}.breadcrumbs{font-size:9px}.top-actions{gap:7px}.live-pill{font-size:8px;padding:6px 8px}.icon-button{width:27px;height:27px}.content{padding:30px 16px 100px}.page-heading{align-items:flex-start}.page-heading h1{font-size:39px}.page-heading p{font-size:12px;max-width:270px}.session-clock{padding-top:23px}.session-clock span{font-size:8px}.session-clock strong{font-size:19px}.record-bar{flex-wrap:wrap;gap:8px}.record-hint{width:100%;margin:2px 0 0}.meter-card,.reading-card,.trail-card,.quick-card,.spectrum-card,.overtone-card{padding:18px}.meter-wrap{height:240px}.meter-note{font-size:52px;bottom:39px}.reading-card{min-height:0}.reading-note{font-size:65px}.view-intro{display:block}.view-intro h2{font-size:31px}.control-label{margin-top:18px}.map-card{padding:15px 8px}.map-card canvas{min-height:430px;height:58vh}.map-top{padding:0 8px;font-size:8px}.map-bottom{padding-left:38px;padding-right:8px}.harmonic-bars{gap:6px}.harmonic-hz{font-size:8px}.harmonic-label{font-size:10px}.fundamental-badge{display:inline-grid;margin-top:15px;text-align:left}}

/* All-in-one studio screen: keep the pitch trail dominant and the meter compact. */
body.performance-mode .content{max-width:none;padding-top:22px}
body.performance-mode .page-heading{display:none}
body.performance-mode .record-bar{margin-bottom:14px}
.studio-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:13px}
.studio-heading h2{font:400 29px/1.1 Georgia,serif;margin:5px 0 4px;letter-spacing:-.03em}
.studio-heading p{font-size:12px;color:#7d8d80;margin:0}
.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:15px;align-items:stretch}
.studio-trail-card{display:flex;flex-direction:column;min-width:0;background:#101816;border-color:#24443b;padding:18px 16px 12px}
.studio-card-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.studio-trail-card .card-kicker,.studio-harmonics-card .card-kicker{color:#a2be8a}
.studio-card-top h3{font:400 22px Georgia,serif;letter-spacing:-.02em;margin:5px 0 0;color:#f4f7f1}
.studio-time{font-size:9px;font-weight:800;letter-spacing:.13em;color:#9aada0;white-space:nowrap}
.studio-trail-card canvas{display:block;width:100%;height:calc(100vh - 272px);min-height:490px;max-height:850px;margin-top:7px;flex:1}
.studio-timeline{display:flex;justify-content:space-between;padding-left:49px;margin-top:7px;color:#9aada0;font-size:9px;font-weight:800;letter-spacing:.12em}
.studio-side{min-width:0;display:flex;flex-direction:column;gap:15px}
.studio-meter-card,.studio-harmonics-card{padding:16px}
.studio-meter-card{flex:0 0 auto}
.studio-reading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:4px 0 9px}
.studio-reading strong{font:400 44px/.98 Georgia,serif;color:#b8c7b8}
.studio-reading span{font-size:12px;color:#6b7f70;font-weight:700}
.mini-meter{height:20px;position:relative;border-radius:20px;background:linear-gradient(90deg,#e7eff0,#e7f1e6 45%,#dceacd 50%,#e7f1e6 55%,#f2e5e4);border:1px solid #e2e9df}
.mini-meter:before,.mini-meter:after{content:'';position:absolute;top:6px;width:1px;height:6px;background:#a3b5a4}.mini-meter:before{left:25%}.mini-meter:after{left:75%}
.mini-meter-zero{position:absolute;left:50%;top:2px;bottom:2px;width:2px;background:#819967;transform:translateX(-50%)}
.mini-meter-needle{position:absolute;left:50%;top:-4px;width:5px;height:27px;border-radius:5px;background:#1d4d3a;box-shadow:0 1px 4px #173e3860;transform:translateX(-50%);transition:left .12s}
.mini-meter-labels{display:flex;align-items:center;justify-content:space-between;margin-top:7px;color:#8b9e8d;font-size:10px}.mini-meter-labels strong{color:#466555;font-size:11px}
.studio-harmonics-card{background:#16231e;border-color:#24443b;flex:1;display:flex;flex-direction:column;min-height:0}
.studio-harmonics-card canvas{display:block;width:100%;height:34%;min-height:120px;margin-top:8px}
.studio-harmonic-list{display:grid;grid-template-columns:1fr;gap:7px;margin-top:13px;min-height:0}
.studio-harmonic-row{display:grid;grid-template-columns:25px minmax(0,1fr) 31px;gap:7px;align-items:center;color:#b3c7b5;font-size:10px;font-weight:700}
.studio-harmonic-track{height:7px;border-radius:7px;background:#304138;overflow:hidden}
.studio-harmonic-fill{height:100%;width:0;background:#7dcf5f;border-radius:7px;transition:width .12s}
.studio-harmonic-row span:last-child{text-align:right;color:#9bb6a0}
@media(max-width:900px){.studio-layout{grid-template-columns:minmax(0,1fr) 220px}.studio-trail-card canvas{min-height:450px}.studio-harmonic-list{gap:5px}}
@media(max-width:700px){.studio-layout{grid-template-columns:1fr}.studio-side{display:grid;grid-template-columns:1fr 1.2fr;align-items:stretch}.studio-trail-card canvas{height:56vh;min-height:380px}.studio-harmonics-card canvas{height:110px}.studio-harmonic-list{grid-template-columns:1fr 1fr}.studio-harmonic-row{grid-template-columns:23px 1fr 27px}}
@media(max-width:600px){body.performance-mode .content{padding-top:16px}.studio-heading{display:block;margin-bottom:12px}.studio-heading h2{font-size:26px}.studio-heading p{font-size:11px}.studio-heading .control-label{margin-top:10px}.studio-side{grid-template-columns:1fr}.studio-trail-card{padding:12px 7px 10px}.studio-trail-card canvas{height:55vh;min-height:400px}.studio-card-top{padding:0 7px}.studio-harmonics-card canvas{height:150px}.studio-harmonic-list{grid-template-columns:1fr 1fr}.studio-meter-card{padding:13px}.studio-reading strong{font-size:37px}}

/* Microphone input preferences. */
.settings-button{font-size:19px;line-height:1;padding:0}
#settings-dialog{width:min(430px,calc(100vw - 28px));padding:27px}
.settings-dialog-content{position:relative}
.settings-dialog-content h2{font:400 29px Georgia,serif;margin:8px 0 8px}
.settings-dialog-content>p{margin:0 0 20px}
.settings-field{display:grid;gap:8px;margin-top:17px;font-size:10px;font-weight:800;letter-spacing:.13em;color:#6e846f}
.settings-field>span{display:flex;justify-content:space-between;align-items:center}
.settings-field strong{font:700 14px Manrope,Arial,sans-serif;letter-spacing:0;color:#173e38}
.settings-field select{width:100%;min-height:44px;border:1px solid #cfdccd;border-radius:7px;padding:8px 10px;background:#fff;color:#173e38;font-size:13px;font-weight:600;letter-spacing:0}
.settings-field input[type=range]{width:100%;accent-color:#214c40;cursor:pointer;margin:5px 0 0}
.refresh-devices{border:0;background:transparent;color:#35634e;font-size:11px;font-weight:700;padding:8px 0 0}
.refresh-devices:hover{text-decoration:underline}
.gain-labels{display:flex;justify-content:space-between;margin-top:2px;color:#8a9a8a;font-size:10px}
.settings-dialog-content .settings-note{font-size:11px;line-height:1.5;margin:17px 0;color:#829184}
.settings-footer{border-top:1px solid #e5e9df;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.settings-footer>span{font-size:11px;color:#668358}
.settings-footer .start-button{min-height:39px}
@media(max-width:600px){.top-actions{gap:5px}#settings-dialog{padding:23px}.settings-button{font-size:17px}}

.studio-range-badge{display:grid;gap:3px;min-width:133px;padding:9px 12px;border:1px solid #d7e3d1;border-radius:8px;background:#eaf0e6;color:#466348;font-size:10px;font-weight:800;letter-spacing:.1em;text-align:right}
.studio-range-badge span{font-size:11px;letter-spacing:0;color:#688060}
@media(max-width:600px){.studio-heading{display:flex;align-items:start}.studio-heading>div:first-child{min-width:0}.studio-range-badge{min-width:82px;padding:7px;font-size:8px}.studio-range-badge span{font-size:9px}.studio-heading p{max-width:170px}}

/* Adjustable pitch trail controls. */
.graph-controls-button{border:1px solid #537261;background:#20362b;color:#e4f1df;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.graph-controls-button:hover{background:#31523e}
#graph-dialog{width:min(470px,calc(100vw - 28px));max-height:min(92vh,800px);overflow:auto;padding:25px}
.graph-dialog-content{position:relative}
.graph-dialog-content h2{font:400 29px Georgia,serif;margin:8px 0 8px}
.graph-dialog-content>p{font-size:12px;line-height:1.45;color:#738675;margin:0 0 17px}
.graph-control{display:grid;gap:4px;margin:13px 0;font-size:12px;font-weight:700;color:#42634e}
.graph-control>span{display:flex;justify-content:space-between;gap:10px}
.graph-control strong{font:700 12px Manrope,Arial,sans-serif;color:#173e38}
.graph-control input[type=range]{width:100%;accent-color:#214c40;cursor:pointer}
.graph-check{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:12px;font-weight:700;color:#42634e}
.graph-check input{accent-color:#214c40;width:17px;height:17px;margin:0}
.graph-dialog-footer{border-top:1px solid #e5e9df;margin-top:15px;padding-top:15px;display:flex;justify-content:space-between;gap:10px}
.graph-dialog-footer .start-button,.graph-dialog-footer .secondary-button{min-height:39px}
@media(max-width:600px){#graph-dialog{padding:20px}.graph-controls-button{font-size:10px;padding:7px 9px}}

/* Large standalone tuner, sized for desktop, tablet, and phone. */
#big-needle{stroke:#254c41;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 2px 2px #173e3840);transform-origin:300px 245px;transition:transform .12s ease-out}
.big-meter-view{max-width:1500px;margin:0 auto}
.big-meter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px}
.big-meter-heading h2{font:400 clamp(25px,3vw,36px)/1.1 Georgia,serif;margin:5px 0 0}
.big-meter-card{min-height:min(72vh,820px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:4px;padding:clamp(12px,3vw,34px);background:#101816;border-color:#24443b;overflow:hidden}
.big-meter-card .meter-track{stroke:#e9eee8;stroke-width:16}
.big-meter-card .tick-line{stroke:#dce7de;stroke-width:2}
.big-meter-card .tick-line.major{stroke:#f1f5ef;stroke-width:3}
.big-meter-card .tick-line.center{stroke:#b8d18a;stroke-width:4}
.big-meter-card .tick-label{fill:#dce7de;font:700 13px Manrope,Arial,sans-serif;text-anchor:middle}
.big-meter-card svg{display:block;width:min(100%,1100px);height:min(58vh,620px);min-height:230px;overflow:visible;flex:1}
.big-meter-reading{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:-12px;text-align:center}
.big-meter-reading strong{font:400 clamp(54px,10vw,112px)/.95 Georgia,serif;letter-spacing:-.05em;color:#b8c7b8}
.big-meter-reading span{font:500 clamp(17px,3vw,28px) Manrope,Arial,sans-serif;color:#a8b7aa}
.big-meter-card .meter-footer{width:min(100%,850px);font-size:clamp(10px,1.6vw,14px);color:#a8b7aa}
body.big-meter-mode .content{max-width:1600px;padding-top:16px}
body.big-meter-mode .page-heading{display:none}
body.big-meter-mode .record-bar{margin-bottom:12px}
@media(max-width:850px){.big-meter-card{min-height:65vh}.big-meter-card svg{height:50vh;min-height:200px}}
@media(max-width:600px){
  .sidebar{height:calc(61px + env(safe-area-inset-bottom));padding:5px 8px max(6px,env(safe-area-inset-bottom))}
  .navigation{gap:2px}
  .nav-item{flex:1;min-width:0;width:auto;min-height:48px;touch-action:manipulation}
  .nav-icon{font-size:23px}
  .topbar{padding-left:max(17px,env(safe-area-inset-left));padding-right:max(17px,env(safe-area-inset-right))}
  body.big-meter-mode .content{padding-top:12px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .big-meter-heading{margin-bottom:8px}
  .big-meter-heading h2{font-size:25px}
  .big-meter-card{min-height:calc(100dvh - 190px);padding:12px 10px;gap:0}
  .big-meter-card svg{width:100%;height:auto;min-height:0;max-height:34dvh;flex:0 1 auto}
  .big-meter-reading{margin-top:0}
  .big-meter-reading strong{font-size:clamp(60px,19vw,90px)}
  .big-meter-reading span{font-size:21px}
  .big-meter-card .meter-footer{margin-top:12px}
}
@media(max-height:700px) and (max-width:900px){.big-meter-card{min-height:420px}.big-meter-card svg{max-height:38vh}}

/* One-octave pitch trail view, sharing the Studio graph settings and renderer. */
.big-trail-view{max-width:1800px;margin:0 auto}
.big-trail-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px}
.big-trail-heading h2{font:400 clamp(25px,3vw,36px)/1.1 Georgia,serif;margin:5px 0 0}
.big-trail-heading p{font-size:12px;color:#758a7c;margin:5px 0 0}
.big-trail-card{height:calc(100dvh - 225px);min-height:480px;display:flex;flex-direction:column;padding:15px 14px 11px;background:#101816;border-color:#24443b;overflow:hidden}
.big-trail-card canvas{display:block;width:100%;height:100%;min-height:0;flex:1}
.big-trail-timeline{display:flex;justify-content:space-between;padding:7px 8px 0 49px;color:#9aada0;font-size:9px;font-weight:800;letter-spacing:.12em}
body.big-trail-mode .content{max-width:1900px;padding-top:14px}
body.big-trail-mode .page-heading{display:none}
body.big-trail-mode .record-bar{margin-bottom:10px}
@media(max-width:850px){.big-trail-card{height:calc(100dvh - 205px);min-height:440px}}
@media(max-width:600px){
  body.big-trail-mode .content{padding-top:10px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .big-trail-heading{margin-bottom:8px;align-items:center}
  .big-trail-heading h2{font-size:22px}
  .big-trail-heading p{font-size:10px;max-width:260px}
  .big-trail-card{height:calc(100dvh - 220px);min-height:400px;padding:10px 7px 9px}
  .big-trail-timeline{padding-left:37px;font-size:8px}
}

/* Match the PDF-library tuner face on the expanded Big meter screen. */
.big-meter-heading{display:none}
.big-meter-card{height:calc(100dvh - 160px);min-height:500px;padding:clamp(12px,2vw,26px);justify-content:center;gap:0;background:#08090a;border:1px solid #303030;border-radius:10px;color:#f7f7f7}
.big-meter-card .meter-track{fill:none;stroke:#3a3a3a;stroke-width:10;stroke-linecap:round}
.big-meter-card .needle-hub{fill:#d7d7d7;stroke:#08090a;stroke-width:7}
#big-needle{stroke:#54d69b;stroke-width:12;stroke-linecap:round;filter:drop-shadow(0 2px 5px #000a);transform-origin:450px 380px;transition:transform .12s ease-out,stroke .12s ease-out}
.big-meter-card svg{display:block;width:min(100%,1250px);height:min(68dvh,720px);max-height:calc(100dvh - 270px);min-height:230px;overflow:visible;flex:1}
.big-meter-reading{gap:7px;margin-top:-12px}
.big-meter-reading strong{font:500 clamp(68px,10vw,132px)/.95 Arial,Helvetica,sans-serif;letter-spacing:-.04em;color:#f7f7f7;text-shadow:0 1px 4px #000}
.big-meter-reading span{font:400 clamp(19px,2.3vw,30px)/1.2 Arial,Helvetica,sans-serif;color:#c5c5c5;letter-spacing:.02em}
body.big-meter-mode .content{max-width:1500px;padding-top:12px}
body.big-meter-mode .record-bar{margin-bottom:9px}
@media(max-width:850px){.big-meter-card{height:calc(100dvh - 150px);min-height:440px}.big-meter-card svg{height:60dvh;max-height:calc(100dvh - 250px);min-height:200px}}
@media(max-width:600px){
  body.big-meter-mode .content{padding-top:9px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .big-meter-card{height:calc(100dvh - 180px);min-height:400px;padding:10px 8px}
  .big-meter-card svg{width:100%;height:auto;max-height:39dvh;min-height:0;flex:0 1 auto}
  .big-meter-reading{margin-top:2px}
  .big-meter-reading strong{font-size:clamp(66px,18vw,92px)}
  .big-meter-reading span{font-size:22px}
}
@media(max-height:700px) and (max-width:900px){.big-meter-card{height:calc(100dvh - 140px);min-height:360px}.big-meter-card svg{max-height:40dvh}}

.big-meter-card{border-width:5px;transition:border-color .12s ease-out}

/* Big meter tap opens the complete tuner setup on touch and keyboard. */
.big-meter-card[role=button]{cursor:pointer}
.big-meter-card[role=button]:focus-visible{outline:3px solid #d8e300;outline-offset:3px}
#tuner-options-dialog{width:min(500px,calc(100vw - 28px));max-height:min(92dvh,900px);overflow:auto;padding:25px}
.tuner-options-content{position:relative}
.tuner-options-content h2{font:400 29px Georgia,serif;margin:8px 0}
.tuner-options-content>p{font-size:12px;color:#738675;margin:0 0 10px}
.tuner-options-content .graph-control{margin-top:15px}
.tuner-options-content .graph-dialog-footer{align-items:center}
#settings-status-options{font-size:11px;color:#738675}
@media(max-width:600px){#tuner-options-dialog{padding:20px}.tuner-options-content h2{font-size:26px}}
