/* PhysVert's brass-and-paper theme, adapted to the existing PhysAngle layout. */
/* Contrast applies to the experiment, all lesson scenes and their graphs. */
#flight-scene text{fill:#081f1b!important;font-weight:700;stroke:#fffdf3!important;stroke-width:3px!important;paint-order:stroke fill;stroke-linejoin:round}
.chart svg text,.lesson-graphs svg text{fill:#081f1b!important;font-weight:700;paint-order:stroke fill;stroke:#fffdf3;stroke-width:1.5px;stroke-linejoin:round}
#flight-scene [stroke='#628679'],.chart svg [stroke='#a6bbad'],.chart svg [stroke='#b3c6b5'],.lesson-graphs svg [stroke='#628679'],.lesson-graphs svg [stroke='#c5d2c8']{stroke:#102f29;stroke-width:2.5px;vector-effect:non-scaling-stroke}
#flight-scene [stroke='#628679']{filter:drop-shadow(0 0 1.5px #fffdf3)}
#flight-scene [stroke='#698c85']{stroke:#23473e;stroke-width:2px;opacity:1;vector-effect:non-scaling-stroke}
#flight-scene [stroke='#a95332'],#flight-scene [stroke='#ab7250'],#flight-scene [stroke='#a37750']{stroke:#842c0b;opacity:1;vector-effect:non-scaling-stroke}
#flight-scene [stroke='#3c7c87']{stroke:#005164;vector-effect:non-scaling-stroke}
#flight-scene [stroke='#4c7c6c'],#flight-scene [stroke='#34776a'],.lesson-graphs svg [stroke='#34776a']{stroke:#07533d;stroke-width:3px;vector-effect:non-scaling-stroke}
.chart svg polyline:not([opacity]){stroke-width:3px;vector-effect:non-scaling-stroke}
.chart svg [stroke='#4b8378']:not([opacity]){stroke:#07533d}
.chart svg [stroke='#b47a43']:not([opacity]){stroke:#8b3c12}
#scene-drawing circle:not([fill='transparent']):not([fill='none']),#lesson-layer circle:not([fill='transparent']):not([fill='none']),.chart svg circle,.lesson-graphs svg circle{stroke:#142c23;stroke-width:1.5px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 2px #fffdf3)}
#scene-drawing circle[fill='url(#ball-shade)'],#lesson-layer circle[fill='#b76138']{fill:url(#ball-shade);r:12px;stroke:#3b1b06!important;stroke-width:2.5px!important;filter:drop-shadow(0 0 2px #fffdf3) drop-shadow(0 2px 2px #0009)}
.scene-title>span:first-child{background:#faf6e9e8;color:#102f29;padding:5px 8px;border-radius:5px;font-weight:700}
.scene-caption{color:#102f29;font-weight:700}
:root{font-family:Georgia,'Times New Roman',serif;color:#173b36;background:#e9e8d8;--ink:#173b36;--muted:#61716a;--line:#d5c9ad;--cream:#faf6e9;--green:#235c4b;--rust:#ac6825}
body{min-width:320px;background:#e9e8d8}
button,input,select,textarea{font-family:inherit}
button,input,select,summary,textarea{outline-offset:3px}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #c48536}
header{height:78px;padding:0 28px;gap:30px;background:linear-gradient(#1e4940,#11352f);border:4px solid #9b793f;border-left:0;border-right:0;box-shadow:inset 0 0 0 2px #284f43;color:#f6edcf}
.brand{font:700 37px Georgia,serif;letter-spacing:-1.3px;color:#f6edcf;white-space:nowrap}
.brand>span:last-child{font-weight:700}
.brand-icon{width:40px;height:40px;margin-right:10px;background:none;border-radius:0;filter:sepia(.7) saturate(.8)}
.breadcrumb{font-size:22px;color:#f5edd3;border-left:1px solid #b69a63;padding-left:28px}
.breadcrumb i{color:#a6b6a6;padding:0 10px}
header .quiet{border:1px solid #a88b57;color:#f5edd3;background:#285147;border-radius:9px;padding:9px 14px;font-size:14px;white-space:nowrap}
header .quiet:hover{background:#38675b}
header #sound-toggle{margin-left:0}
.panel{background:radial-gradient(circle at 8% 8%,#fffdf5,#f6efdf 69%,#e9dcc1);border:1px solid #977c4c;border-radius:17px;box-shadow:inset 0 0 0 3px #e8dbbd,inset 0 0 0 5px #fffaf0,inset 0 12px 20px #fffdf4,inset 0 -8px 16px #b7a17a5c,0 2px #6e5834,0 5px 12px #322e2740}
.lesson-nav{max-width:none;margin:0;padding:12px 24px;border:0;border-bottom:4px double #9d824f;border-radius:0;background:linear-gradient(#fdf8e9,#ede4cd);box-shadow:none;gap:16px;min-height:70px}
.lesson-nav>label{font-size:16px}
.lesson-nav select{background:linear-gradient(#f6eedc,#fffdf5);border:1px solid #b5a17c;box-shadow:inset 0 2px 5px #6b5b3827;font-size:16px;min-width:0}
#lesson-progress{font-size:14px;white-space:nowrap}
body:not(.lesson-mode) main{max-width:none;padding:0;gap:0;display:grid;grid-template-columns:minmax(260px,22%) minmax(0,1fr) minmax(310px,29%);grid-template-rows:minmax(0,1fr) 106px;grid-template-areas:'settings scene graphs' 'settings data graphs';height:calc(100dvh - 248px);min-height:590px;margin-bottom:100px;background:#d6dfd7}
body:not(.lesson-mode) .workspace{display:contents}
body:not(.lesson-mode) #lesson-extra{display:none}
.settings{position:relative;padding:25px 22px;max-height:none;align-self:stretch;scrollbar-color:#b3a27e #eee4cf;margin:8px;background:radial-gradient(circle at 8% 8%,#fffdf5,#f6efdf 69%,#e9dcc1)}
body:not(.lesson-mode) .settings{grid-area:settings;overflow:auto}
.settings:before,.settings:after{content:'';position:absolute;top:9px;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff2c5 0 12%,#cda456 25%,#715329 58%,#302e25 70%,#c8a86d 78%);box-shadow:0 1px 2px #3b3028a0;pointer-events:none}
.settings:before{left:9px}.settings:after{right:9px}
.settings>.eyebrow,.settings>.intro,.settings>.section-label,.aside-note{display:none}
.settings h1{font:700 28px/1.1 Georgia,serif;letter-spacing:-.5px;margin:8px 0 27px;color:#173b36}
.field{position:relative;margin-bottom:20px}
.field label{font-size:17px;line-height:1.35;align-items:baseline;flex-wrap:wrap;justify-content:flex-start;margin-bottom:7px;gap:4px}
.field label span{font-size:14px;color:#5c7469}
input[type=number],select,.advanced-number input,.advanced-draft textarea{border:1px solid #b5a17c;background:linear-gradient(#f6eedc,#fffdf5);box-shadow:inset 0 2px 5px #6b5b3827,0 1px #fffdf8;border-radius:10px;color:#143d35}
.settings>.field>input[type=number],.settings>.field>select{width:calc(100% - 47px);height:49px;font-size:24px;padding:7px 12px}
.settings>.field:after{position:absolute;right:0;top:31px;width:35px;height:49px;display:grid;place-items:center;font-size:32px;color:#1c5549;pointer-events:none}
.settings>.field:has(#height):after{content:'↕'}
.settings>.field:has(#speed):after{content:'↗'}
.settings>.field:has(#planet):after{content:'🌍'}
.settings>.field:has(#gravity):after{content:'↓g';font-size:26px;font-style:italic}
.settings>.field>select{font-size:20px}
.angle-field{padding:0;background:none;border-radius:0}
.angle-field input[type=number]{color:#173b36;font-weight:400}
.angle-field input[type=range]{accent-color:#3b7663;margin-top:13px}
.range-labels,.hint{font-size:12px;color:#61716a}
details{border-color:#cbbd9d}summary{font-size:15px;line-height:1.5}
.settings details .field label{font-size:14px}
.settings details input[type=number]{font-size:16px}
.eyebrow{color:#987646;font-size:12px}
.scene{background:linear-gradient(180deg,#fff9e00c,#153e3610),url('./landscape.png') center bottom/cover no-repeat;border:7px solid #31534b;border-radius:0;box-shadow:inset 0 0 0 3px #bba06a,inset 0 0 28px #233f3833;position:relative}
body:not(.lesson-mode) .scene{grid-area:scene;height:100%;min-height:0;border-bottom:0}
#landscape{display:none}
#flight-scene{position:relative;z-index:1}
#flight-scene text{font-family:Georgia,serif;font-size:17px;fill:#183f38;paint-order:stroke;stroke:#f4f0dc;stroke-width:.6px;stroke-linejoin:round}
.scene-title{font-size:14px;top:12px;left:15px;right:15px;color:#183f38}
.live-dot{display:none}
.pill{background:#faf6e9db;border-color:#bda477;color:#183f38;border-radius:8px;font-size:12px}
.scene-caption{z-index:2;bottom:8px;left:15px;right:15px;font-size:12px;color:#22483d;text-shadow:0 1px #f9f3dc}
.scene-caption span{background:#faf6e9cc;padding:3px 6px;border-radius:5px}
.readouts{grid-area:data;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:0;padding:0 6px;background:#f8f2e3;border:7px solid #31534b;border-top:3px solid #b9a16f;box-shadow:inset 0 0 0 3px #e4d6b2}
.readouts>div{min-width:0;padding:10px 9px}
.readouts>div+div{border-left:1px solid #d8c9a8;padding-left:9px}
.readouts span{font-size:12px;color:#4e655c}
.readouts strong{font:700 23px Georgia,serif;white-space:normal;overflow-wrap:anywhere}
.readouts small{font-size:12px;color:#314e42}
.graphs{grid-area:graphs;min-width:0;display:flex;flex-direction:column;padding:18px 14px;background:linear-gradient(130deg,#f7f0df,#fffdf5 28%,#eee1c7);border-left:4px double #a2854f;box-shadow:inset 6px 0 15px #4e473326;overflow:hidden}
.graphs-heading{margin-bottom:12px}
.graphs-heading h2{font:700 27px Georgia,serif;color:#173b36}
.graphs-heading>span{display:none}
.graph-columns{display:flex;flex-direction:column;flex:1;gap:16px;min-height:0}
.graph-column{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:66px minmax(0,1fr);grid-template-rows:auto auto minmax(140px,1fr);gap:8px;align-items:center;padding:15px 14px 10px;background:radial-gradient(circle at 50% 35%,#fffdf6,#f4e9d2);border:1px solid #ad9568;border-radius:13px;box-shadow:inset 0 0 0 3px #fffaf0,inset 0 4px 10px #fff,0 3px #998059,0 5px 9px #51432d36}
.graph-column:before,.graph-column:after{content:'';position:absolute;top:7px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff1c3,#b68c48 48%,#4c3d29 68%,#e0bf7c 83%);pointer-events:none}
.graph-column:before{left:7px}.graph-column:after{right:7px}
.graph-column>label{font-size:14px;margin:0}
.graph-column>select{min-height:34px;height:auto;padding:5px 7px;font-size:15px;background:#fffaf0;border-color:#baa47a}
.formula{grid-column:1/-1;min-height:0;margin:0;padding:6px 9px;border:1px solid #e0d2b2;border-radius:6px;background:#f8f1e1;box-shadow:inset 0 1px 2px #766b5220;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.formula .numeric{font-size:12px;color:#25473a}
.graph-column:nth-child(2) .formula{border-color:#e0d2b2}
.chart{grid-column:1/-1;align-self:stretch;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none;display:flex;flex-direction:column}
.chart-head{align-items:baseline;font-size:19px;gap:8px;padding:2px 3px 4px;flex-wrap:wrap}
.chart-head strong{font-weight:700}
.chart-head span{font-size:12px}
.chart svg{flex:1;width:100%;height:100%;min-height:110px;max-height:220px}
.chart text{font-family:Georgia,serif;fill:#395b4e}
.chart-empty{height:100%;min-height:120px}
footer{height:100px;gap:22px;padding:13px 24px;background:linear-gradient(#fdf8e9,#ede4cd);border-top:4px solid #9d824e;box-shadow:inset 0 2px #fff9e6;backdrop-filter:none}
button{background:#fbf7e8;border-color:#c6b28d}
button:hover{background:#ede8d5}
.primary,#lesson-play,#play{min-width:165px;min-height:49px;padding:11px 20px;border:2px solid #b6995c;border-radius:10px;background:linear-gradient(#285b4e,#103c34);box-shadow:inset 0 0 0 2px #426d5e,0 3px 5px #342b1e33;color:#fff7dd;font:700 21px Georgia,serif}
.primary:hover,#lesson-play:hover,#play:hover{background:linear-gradient(#367460,#1b5144)}
.icon-button{height:48px;min-width:48px;width:48px;font-size:24px;box-shadow:0 2px 4px #54483320}
.tempo{font-size:16px;color:#314d41}.tempo input{width:60px;font-size:16px;background:#fbf7e9}
.timeline>div{font-size:14px;color:#425f50}.timeline input{accent-color:#235c4b}
.footer-note{display:none}
.lesson-mode main{padding:22px 24px 126px;max-width:1500px;grid-template-columns:280px minmax(0,1fr);gap:22px}
.lesson-mode .workspace{display:block;min-width:0}
.lesson-mode .settings{align-self:start;opacity:.85;margin:0;max-height:calc(100dvh - 290px)}
.lesson-mode .scene{border-radius:10px;min-height:280px}
.advanced-mode main{max-width:1160px;grid-template-columns:minmax(0,1fr)}
#lesson-card{position:relative;padding:24px}
#lesson-card h2{font:700 28px Georgia,serif;color:#173b36}
#lesson-card legend{font-weight:700;line-height:1.5}
#lesson-card fieldset{background:#fffbef;border-color:#c7b48a}
.lesson-phases li{background:#e8ddc3;font-size:14px}
.lesson-phases [aria-current]{background:linear-gradient(#285b4e,#103c34);color:#fff7dd;box-shadow:inset 0 0 0 1px #b6995c}
.lesson-next>span{font-size:23px}.lesson-next small{font-size:14px}
.lesson-summary,.lesson-values{background:#f8f1e1;border:1px solid #d3bf95}
.lesson-graphs .panel{background:#fbf7eb;border-color:#ad9568;border-radius:13px;box-shadow:inset 0 0 0 3px #fffaf0,0 3px #998059}
.lesson-graphs h3{font-family:Georgia,serif;font-size:18px}
.lesson-graphs text{font-family:Georgia,serif}
.advanced-draft textarea{font-size:16px}
.advanced-number input{font-size:22px}
.advanced-mode #advanced-solution details{background:#f8f1e1;border:1px solid #d3bf95}
.advanced-concealed footer{display:none}
.advanced-concealed main{padding-bottom:24px}
#lesson-layer circle[fill='#b76138']{fill:url(#ball-shade);stroke:#83501e;stroke-width:1.2px}
@media(min-width:1001px) and (max-height:850px){body:not(.lesson-mode) main{height:auto;min-height:620px}.settings{padding:23px 18px}.settings h1{font-size:26px}.field{margin-bottom:15px}}
@media(max-width:1250px){header{gap:20px}.breadcrumb{font-size:18px;padding-left:20px}.settings{padding:23px 15px}.settings h1{font-size:25px}.settings>.field>input[type=number]{font-size:21px}.readouts strong{font-size:19px}.readouts>div{padding:8px 5px}.readouts>div+div{padding-left:5px}.chart-head{font-size:17px}}
@media(max-width:1000px){header{padding:0 18px;gap:16px}.breadcrumb{display:none}body:not(.lesson-mode) main{height:auto;min-height:0;grid-template-columns:260px minmax(0,1fr);grid-template-rows:560px 106px auto;grid-template-areas:'settings scene' 'settings data' 'graphs graphs';margin-bottom:100px}body:not(.lesson-mode) .settings{grid-row:1/3;min-height:0;max-height:650px}body:not(.lesson-mode) .scene{min-height:0}.graphs{border-left:0;border-top:4px double #a2854f}.graph-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.graph-column{min-height:300px}.readouts{min-height:100px}.readouts strong{font-size:18px}.lesson-mode main{grid-template-columns:230px minmax(0,1fr);padding-left:16px;padding-right:16px;gap:16px}.advanced-mode main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){header{height:67px;padding:0 12px;gap:8px}.brand{font-size:27px}.brand-icon{width:30px;height:30px;margin-right:6px}header .quiet{padding:7px 8px;font-size:13px}header>button span{display:none}.lesson-nav{padding:10px 12px;min-height:0;margin:0;display:flex;gap:8px}.lesson-nav>label{font-size:14px;width:100%}.lesson-nav select{font-size:15px;width:100%;flex-basis:100%;margin:0}#lesson-progress{font-size:13px}body:not(.lesson-mode) main{display:flex;flex-direction:column;gap:0;padding:0;margin-bottom:124px}.settings{padding:20px 16px;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin:8px}.settings h1{font-size:25px;grid-column:1/-1;margin:4px 0 10px}.settings .field{margin:0}.field label{font-size:14px}.settings>.field>input[type=number],.settings>.field>select{width:100%;height:42px;font-size:18px}.settings>.field:after{display:none}.angle-field{grid-column:1/-1;display:grid;grid-template-columns:1fr 90px;align-items:center;gap:0 10px}.angle-field label{margin:0}.angle-field input[type=range],.angle-field .range-labels,.angle-field .hint{grid-column:1/-1}.settings details,.settings .hint{grid-column:1/-1}body:not(.lesson-mode) .scene{height:330px;min-height:330px;border-width:5px;border-bottom:0}.scene-title{font-size:12px;left:10px;right:10px}.pill{font-size:12px;padding:5px 8px}.scene-caption{font-size:12px;left:10px;right:10px}.scene-caption span:first-child{max-width:75%}.readouts{min-height:106px;grid-template-columns:repeat(3,minmax(0,1fr));border-width:5px;padding:6px}.readouts>div,.readouts>div+div{padding:5px 8px;border:0}.readouts strong{font-size:20px}.graphs{padding:16px 10px}.graphs-heading h2{font-size:25px}.graph-columns{display:flex;flex-direction:column;gap:16px}.graph-column{min-height:300px;grid-template-rows:auto auto minmax(160px,1fr)}.chart-head{display:flex;font-size:19px}.chart svg{height:180px;max-height:none}.formula{font-size:14px;min-height:0;padding:7px 9px}.formula .numeric{font-size:12px}footer{height:124px;padding:8px 10px;display:grid;grid-template-columns:1fr auto;gap:5px 10px}.primary,#lesson-play,#play{min-width:124px;font-size:18px;padding:9px 12px;min-height:44px}.icon-button{min-width:36px;width:36px;height:44px;font-size:22px}.play-controls{gap:7px}.tempo{font-size:14px;gap:5px}.tempo input{width:50px;font-size:14px}.timeline{grid-column:1/-1}.timeline>div{font-size:12px;flex-wrap:wrap;gap:4px}.lesson-mode main,.advanced-mode main{display:block;padding:14px 12px 146px}.lesson-mode .settings{display:none}#lesson-card{padding:18px}#lesson-card h2{font-size:25px}.lesson-mode .scene{min-height:235px}.lesson-phases li{font-size:14px}.lesson-actions .lesson-next{margin-left:auto}.lesson-next>span{font-size:21px}}
@media(max-width:760px){body:not(.lesson-mode) .settings{max-height:none}footer{grid-template-columns:max-content minmax(0,1fr)}.play-controls{grid-column:1/-1;grid-row:1}.tempo{grid-column:1;grid-row:2}.timeline{grid-column:2;grid-row:2}.advanced-concealed footer{display:none}.advanced-concealed main{padding-bottom:24px}}
