:root{--bg:#050914;--panel:rgba(13,23,42,0.74);--panel-strong:rgba(16,27,48,0.9);--border:rgba(148,163,184,0.18);--border-bright:rgba(56,189,248,0.32);--text:#eef4ff;--muted:#9fb0c6;--soft:#64748b;--blue:#38bdf8;--cyan:#22d3ee;--purple:#8b5cf6;--pink:#ec4899;--green:#22c55e;--orange:#f59e0b;--royal:#3b82f6;--radius-xl:26px;--radius-lg:20px;--radius-md:14px;--shadow:0 24px 80px rgba(0,0,0,0.45)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 70% 10%,rgba(59,130,246,0.22),transparent 34%),radial-gradient(circle at 20% 20%,rgba(139,92,246,0.16),transparent 32%),radial-gradient(circle at 80% 80%,rgba(34,211,238,0.12),transparent 34%),var(--bg);color:var(--text);overflow-x:hidden}a{color:inherit;text-decoration:none}.background-grid{position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(148,163,184,0.035) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,0.035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 85%);z-index:-4}.orb-glow{position:fixed;border-radius:999px;filter:blur(80px);opacity:0.38;z-index:-3;pointer-events:none}.orb-one{width:420px;height:420px;background:var(--purple);top:120px;right:-100px}.orb-two{width:360px;height:360px;background:var(--blue);bottom:-120px;left:-120px}.topbar{position:sticky;top:0;z-index:30;height:78px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:0 38px;background:rgba(3,7,18,0.78);backdrop-filter:blur(24px);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:14px;font-weight:760;letter-spacing:-0.02em;white-space:nowrap;font-size:1.05rem}.logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:white;font-weight:900;background:linear-gradient(135deg,#38bdf8,#6366f1 48%,#a855f7);box-shadow:0 0 26px rgba(56,189,248,0.42),inset 0 1px 0 rgba(255,255,255,0.28)}.nav{display:flex;justify-content:center;gap:10px}.nav a{position:relative;padding:14px 16px;color:#c8d3e3;font-size:0.94rem;border-radius:14px;transition:180ms ease}.nav a:hover,.nav a.active{color:white;background:rgba(56,189,248,0.09)}.nav a.active::after{content:"";position:absolute;left:18px;right:18px;bottom:3px;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--purple));box-shadow:0 0 18px rgba(56,189,248,0.75)}.right-tools{display:flex;align-items:center;gap:14px}.tool{width:34px;height:34px;display:grid;place-items:center;color:#cbd5e1;border-radius:999px;border:1px solid transparent}.tool:hover{border-color:var(--border);background:rgba(255,255,255,0.05)}.private-pill{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid rgba(34,197,94,0.35);color:#86efac;background:rgba(34,197,94,0.08);border-radius:999px;white-space:nowrap;font-size:0.9rem}.private-pill span{width:9px;height:9px;background:var(--green);border-radius:999px;box-shadow:0 0 16px var(--green)}.page{width:min(1800px,calc(100% - 80px));margin:0 auto;padding:40px 0 32px}.hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(520px,0.92fr);gap:34px;align-items:center;min-height:360px}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:20px;color:#a7b6cd;font-size:0.72rem;letter-spacing:0.45em;font-weight:760}.eyebrow span{width:7px;height:7px;background:var(--blue);border-radius:999px;box-shadow:0 0 18px var(--blue)}.hero h1{margin:0;font-size:clamp(3rem,5.1vw,6.2rem);line-height:0.98;letter-spacing:-0.065em;max-width:980px}.hero h1 em{font-style:normal;background:linear-gradient(90deg,#38bdf8,#6366f1 45%,#a855f7);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{margin:24px 0 0;color:#b6c3d7;font-size:1.12rem;line-height:1.7;max-width:820px}.cta-row{display:flex;gap:18px;margin-top:30px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:16px;font-weight:760;transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}.btn:hover{transform:translateY(-2px)}.btn.primary{background:linear-gradient(135deg,#22a8ff,#7c3aed);box-shadow:0 16px 40px rgba(59,130,246,0.38),inset 0 1px 0 rgba(255,255,255,0.28)}.btn.secondary{border:1px solid var(--border);color:#e2e8f0;background:rgba(15,23,42,0.64)}.btn.secondary:hover{border-color:var(--border-bright)}.hero-visual{position:relative;height:420px;display:grid;place-items:center;overflow:visible}.main-orb{position:relative;width:250px;height:250px;border-radius:999px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,0.55),transparent 9%),radial-gradient(circle at 32% 28%,rgba(56,189,248,0.8),transparent 28%),radial-gradient(circle at 70% 52%,rgba(139,92,246,0.88),transparent 42%),radial-gradient(circle at 50% 50%,rgba(15,23,42,0.15),rgba(6,12,28,0.95));box-shadow:0 0 60px rgba(56,189,248,0.55),0 0 110px rgba(139,92,246,0.32),inset 0 0 44px rgba(255,255,255,0.22);border:1px solid rgba(148,163,184,0.34)}.orb-inner{position:absolute;inset:18px;border-radius:inherit;background-image:linear-gradient(35deg,transparent 48%,rgba(255,255,255,0.18) 49%,transparent 50%),linear-gradient(105deg,transparent 48%,rgba(255,255,255,0.14) 49%,transparent 50%),linear-gradient(155deg,transparent 48%,rgba(255,255,255,0.1) 49%,transparent 50%);opacity:0.7}.orb-wire{position:absolute;inset:-6px;border-radius:inherit;border:2px solid rgba(56,189,248,0.22);transform:rotate(-18deg) scaleX(1.08)}.orbit{position:absolute;border:1px solid rgba(56,189,248,0.22);border-radius:50%;transform:rotate(-8deg)}.orbit-a{width:620px;height:170px}.orbit-b{width:510px;height:250px;border-color:rgba(139,92,246,0.22);transform:rotate(15deg)}.orb-base{position:absolute;width:310px;height:74px;bottom:38px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(56,189,248,0.55),rgba(37,99,235,0.16) 42%,transparent 70%);border-bottom:2px solid rgba(56,189,248,0.35);display:grid;place-items:center}.orb-base span{margin-top:4px;min-width:92px;height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;border-radius:14px;background:rgba(15,23,42,0.88);color:#60a5fa;font-size:0.92rem;line-height:1;font-weight:900;letter-spacing:0.02em;box-shadow:0 0 24px rgba(59,130,246,0.46)}.hud-card{position:absolute;z-index:4;width:150px;padding:16px;border-radius:18px;color:#dbeafe;background:rgba(15,23,42,0.68);border:1px solid rgba(148,163,184,0.24);backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(0,0,0,0.34)}.hud-card small{display:block;color:#cbd5e1;font-size:0.75rem;margin-bottom:8px}.hud-card strong{display:block;font-size:1.35rem}.hud-card span{color:#9fb0c6;font-size:0.8rem}.hud-one{top:34px;left:60px;transform:rotate(5deg)}.hud-two{top:34px;right:12px;transform:rotate(-4deg)}.hud-three{bottom:86px;left:14px}.hud-four{bottom:90px;right:40px}.bar,.progress{height:6px;border-radius:999px;overflow:hidden;background:rgba(148,163,184,0.18)}.bar span,.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--purple))}.status-strip{margin-top:14px;padding:14px;display:grid;grid-template-columns:1fr 1.35fr 1.45fr 1fr 1fr;gap:8px;border-radius:var(--radius-lg);background:rgba(15,23,42,0.72);border:1px solid var(--border);box-shadow:var(--shadow);backdrop-filter:blur(20px)}.status-strip-four{grid-template-columns:repeat(4,1fr)}.status-item{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:13px;min-height:66px;padding:8px 14px;border-right:1px solid rgba(148,163,184,0.14)}.status-item:last-child{border-right:0}.status-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,0.05);color:#dbeafe;border:1px solid rgba(255,255,255,0.08)}.status-item small{display:block;color:var(--muted);margin-bottom:4px}.status-item strong{font-size:0.97rem}.green{color:#4ade80 !important}.blue{color:#60a5fa !important}.orange{color:#f59e0b !important}.cards-grid{margin-top:28px;display:grid;grid-template-columns:repeat(7,minmax(210px,1fr));gap:16px}.module-card{position:relative;overflow:hidden;min-height:350px;padding:20px;border-radius:var(--radius-lg);background:linear-gradient(180deg,rgba(15,23,42,0.82),rgba(9,15,28,0.92));border:1px solid var(--border);box-shadow:0 20px 70px rgba(0,0,0,0.36),inset 0 1px 0 rgba(255,255,255,0.05);transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease}.module-card::before{content:"";position:absolute;inset:-1px;opacity:0;transition:opacity 180ms ease;pointer-events:none;background:radial-gradient(circle at 20% 0%,var(--accent),transparent 42%)}.module-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--accent),white 14%);box-shadow:0 28px 90px rgba(0,0,0,0.48),0 0 34px color-mix(in srgb,var(--accent),transparent 72%)}.module-card:hover::before{opacity:0.17}.module-card.purple{--accent:var(--purple)}.module-card.blue{--accent:var(--blue)}.module-card.cyan{--accent:var(--cyan)}.module-card.pink{--accent:var(--pink)}.module-card.green{--accent:var(--green)}.module-card.royal{--accent:var(--royal)}.module-card.orange{--accent:var(--orange)}.module-head{position:relative;display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:start;z-index:2}.module-icon{width:56px;height:56px;display:grid;place-items:center;margin-top:2px;border-radius:18px;background:color-mix(in srgb,var(--accent),transparent 78%);border:1px solid color-mix(in srgb,var(--accent),transparent 55%);color:color-mix(in srgb,var(--accent),white 25%);font-size:1.45rem;box-shadow:0 0 28px color-mix(in srgb,var(--accent),transparent 72%)}.module-head h2{margin:0 0 4px;font-size:0.98rem;line-height:1.15;letter-spacing:-0.02em;color:color-mix(in srgb,var(--accent),white 18%)}.module-head p{margin:0;color:var(--muted);font-size:0.86rem;line-height:1.45}.quick-list{position:relative;z-index:2;display:grid;gap:8px;margin-top:24px}.quick-list a{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 12px;color:#d8e2f1;font-size:0.88rem;border-radius:10px;background:rgba(148,163,184,0.075);border:1px solid rgba(148,163,184,0.08);transition:background 160ms ease,border-color 160ms ease,color 160ms ease,transform 160ms ease}.quick-list a:hover{color:white;transform:translateX(2px);background:color-mix(in srgb,var(--accent),transparent 88%);border-color:color-mix(in srgb,var(--accent),transparent 60%)}.quick-list span{color:var(--soft)}.module-link{position:relative;z-index:2;display:inline-flex;align-items:center;margin-top:18px;color:color-mix(in srgb,var(--accent),white 16%);font-weight:760;font-size:0.9rem}.footer-panel{margin-top:18px;min-height:104px;padding:24px 34px;border-radius:var(--radius-lg);background:rgba(15,23,42,0.72);border:1px solid var(--border);display:grid;grid-template-columns:1.2fr 1.8fr;align-items:center;gap:28px;box-shadow:var(--shadow)}.quote p{margin:0 0 8px;color:#b8c5d8;font-style:italic;font-size:1rem}.quote span{color:#7aa7ff;font-weight:700}.footer-status{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.footer-status div{padding-left:24px;border-left:1px solid rgba(148,163,184,0.16)}.footer-status small,.footer-status span{display:block;color:var(--muted)}.footer-status strong{display:block;margin:4px 0}.aviation-page{width:min(1500px,calc(100% - 80px))}.aviation-hero{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:48px;align-items:start;min-height:520px}.aviation-hero .hero-copy{padding-top:10px}.aviation-hero .hero-copy h1{max-width:820px}.aviation-weather-card{justify-self:end;width:390px;padding:22px;border-radius:26px;background:linear-gradient(180deg,rgba(15,23,42,0.88),rgba(9,15,28,0.94));border:1px solid rgba(148,163,184,0.22);box-shadow:0 24px 80px rgba(0,0,0,0.45),0 0 42px rgba(56,189,248,0.18);backdrop-filter:blur(20px)}.aviation-weather-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.aviation-weather-head small{display:block;margin-bottom:6px;color:#9fb0c6;font-size:0.68rem;letter-spacing:0.22em;font-weight:800}.aviation-weather-head h2{margin:0;font-size:1.35rem;line-height:1;color:#eef4ff;letter-spacing:-0.04em}.aviation-weather-head a{color:#93c5fd;font-size:0.76rem;font-weight:800;white-space:nowrap}.kgpm-widget-box{width:340px;height:475px;padding:18px 20px 22px;border-radius:20px;background:#050914;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.38),0 0 30px rgba(56,189,248,0.18)}.kgpm-widget-box>a,.kgpm-widget-box>a:hover,.kgpm-widget-box>a:focus,.kgpm-widget-box>a:active,.kgpm-widget-box>a:visited{background:#050914 !important;color:#ffffff !important;text-decoration:none !important;transform:none !important;filter:none !important;opacity:1 !important;box-shadow:none !important;pointer-events:none !important}.kgpm-widget-box *{transform:none !important;filter:none !important;opacity:1 !important}.aviation-grid{grid-template-columns:repeat(4,minmax(220px,1fr))}.aviation-footer{margin-top:28px}.calc-tape{margin-top:28px;padding:14px;display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:10px;border-radius:var(--radius-lg);background:rgba(15,23,42,0.72);border:1px solid var(--border);box-shadow:var(--shadow);backdrop-filter:blur(20px)}.calc-tape-item{appearance:none;cursor:pointer;text-align:left;min-height:78px;padding:12px 14px;border-radius:16px;display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;color:var(--text);background:rgba(255,255,255,0.035);border:1px solid rgba(148,163,184,0.1);transition:transform 180ms ease,border-color 180ms ease,background 180ms ease,box-shadow 180ms ease}.calc-tape-item:hover,.calc-tape-item.active{transform:translateY(-2px);background:rgba(56,189,248,0.08);border-color:rgba(56,189,248,0.34);box-shadow:0 0 24px rgba(56,189,248,0.12)}.calc-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:#dbeafe;background:rgba(56,189,248,0.12);border:1px solid rgba(56,189,248,0.22);font-weight:900}.calc-tape-item small{display:block;margin-bottom:5px;color:var(--muted);font-size:0.76rem;font-weight:760}.calc-tape-item strong{display:block;color:#eef4ff;font-size:0.96rem;line-height:1.2}.calc-panel{display:none;margin-top:14px;padding:22px;border-radius:var(--radius-lg);background:radial-gradient(circle at 20% 0%,rgba(56,189,248,0.16),transparent 42%),linear-gradient(180deg,rgba(15,23,42,0.88),rgba(9,15,28,0.96));border:1px solid rgba(56,189,248,0.24);box-shadow:0 24px 80px rgba(0,0,0,0.42),0 0 34px rgba(56,189,248,0.12)}.calc-panel.open{display:block}.calc-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.calc-panel-head small{display:block;margin-bottom:6px;color:#7dd3fc;font-size:0.7rem;letter-spacing:0.26em;font-weight:800}.calc-panel-head h2{margin:0;color:#eef4ff;font-size:1.65rem;letter-spacing:-0.04em}.calc-close{appearance:none;cursor:pointer;width:36px;height:36px;border-radius:999px;color:#cbd5e1;background:rgba(255,255,255,0.05);border:1px solid rgba(148,163,184,0.2);font-size:1.4rem;line-height:1}.calc-close:hover{color:white;border-color:rgba(56,189,248,0.34)}.calc-pane{display:none}.calc-pane.active{display:block}.calc-input-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px}.calc-input-grid label{position:relative;display:grid;gap:8px;color:var(--muted);font-size:0.82rem;font-weight:760}.calc-input-grid input{width:100%;min-height:48px;padding:0 54px 0 14px;border-radius:14px;color:#eef4ff;background:rgba(2,6,23,0.62);border:1px solid rgba(148,163,184,0.2);outline:none;font-size:1rem;font-weight:760}.calc-input-grid input:focus{border-color:rgba(56,189,248,0.55);box-shadow:0 0 0 3px rgba(56,189,248,0.11)}.calc-input-grid label span{position:absolute;right:14px;bottom:14px;color:#7dd3fc;font-size:0.82rem;font-weight:800}.calc-result{margin-top:20px;padding:20px;border-radius:18px;background:rgba(2,6,23,0.5);border:1px solid rgba(148,163,184,0.16)}.calc-result small{display:block;margin-bottom:6px;color:var(--muted);font-size:0.78rem;font-weight:760}.calc-result strong{display:block;color:#4ade80;font-size:clamp(1.8rem,3vw,3rem);line-height:1;letter-spacing:-0.055em}.calc-result p{margin:10px 0 0;color:#aebbd0;font-size:0.9rem}.clock-result strong{color:#60a5fa}@media (max-width:1500px){.cards-grid{grid-template-columns:repeat(4,1fr)}.hero{grid-template-columns:1fr 0.8fr}.aviation-grid{grid-template-columns:repeat(4,minmax(220px,1fr))}}@media (max-width:1150px){.topbar{grid-template-columns:1fr auto}.nav{display:none}.hero{grid-template-columns:1fr}.hero-visual{order:-1;height:330px}.status-strip,.status-strip-four{grid-template-columns:repeat(2,1fr)}.cards-grid{grid-template-columns:repeat(2,1fr)}.footer-panel{grid-template-columns:1fr}.aviation-hero{grid-template-columns:1fr;min-height:auto}.aviation-weather-card{justify-self:start}.aviation-grid{grid-template-columns:repeat(2,1fr)}.calc-tape{grid-template-columns:repeat(2,1fr)}.calc-input-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:700px){.page{width:min(100% - 32px,1800px)}.aviation-page{width:min(100% - 32px,1500px)}.topbar{padding:0 16px}.brand span{font-size:0.92rem}.right-tools .tool{display:none}.private-pill{display:none}.hero h1{font-size:2.65rem}.hero p{font-size:1rem}.hero-visual{display:none}.status-strip,.status-strip-four,.cards-grid,.footer-status,.calc-tape,.calc-input-grid{grid-template-columns:1fr}.status-item{border-right:0;border-bottom:1px solid rgba(148,163,184,0.14)}.status-item:last-child{border-bottom:0}.module-card{min-height:330px}.aviation-weather-card{width:100%}.kgpm-widget-box{width:100%;max-width:340px}.aviation-grid{grid-template-columns:1fr}}.aviation-hero{grid-template-columns:minmax(0,1fr) 520px}.aviation-weather-card.custom-metar-card{width:520px;max-width:520px}.wx-live-dot{display:inline-block;width:14px;height:14px;margin-left:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 18px rgba(34,197,94,0.75);vertical-align:middle}.metar-dashboard{padding:26px;border-radius:24px;background:radial-gradient(circle at 50% 47%,rgba(56,189,248,0.10),transparent 43%),radial-gradient(circle at 50% 50%,rgba(96,165,250,0.08),transparent 58%),linear-gradient(180deg,rgba(3,7,18,0.96),rgba(2,6,23,0.99));border:1px solid rgba(96,165,250,0.18);box-shadow:inset 0 1px 0 rgba(255,255,255,0.06),0 18px 55px rgba(0,0,0,0.28)}.metar-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.metar-title-row h3{margin:0;color:#f8fafc;font-size:1.18rem;line-height:1.2;letter-spacing:-0.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wx-star{color:#bfdbfe;font-size:1.55rem;flex:0 0 auto}.metar-topline{display:grid;grid-template-columns:118px 1fr 1fr 112px;align-items:center;gap:16px}.wx-pill{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 22px;border-radius:14px;color:white;background:linear-gradient(135deg,#22c55e,#16a34a);font-weight:900;font-size:1.18rem;box-shadow:0 0 22px rgba(34,197,94,0.24)}.wx-pill.mvfr{background:linear-gradient(135deg,#3b82f6,#2563eb)}.wx-pill.ifr{background:linear-gradient(135deg,#ef4444,#b91c1c)}.wx-pill.lifr{background:linear-gradient(135deg,#a855f7,#7e22ce)}.wx-metric{min-height:72px;display:grid;align-content:center;min-width:0;padding-left:18px;border-left:1px solid rgba(148,163,184,0.26)}.wx-metric-icon{color:#7dd3fc;margin-right:6px}.wx-metric strong{display:inline-block;color:#f8fafc;font-size:1.18rem;line-height:1.05;white-space:normal}.wx-metric small,.wx-condition small{display:block;margin-top:6px;color:#8ea3bd;font-size:0.7rem;font-weight:900;letter-spacing:0.08em}.wx-condition{min-height:72px;display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;min-width:0;padding-left:16px;border-left:1px solid rgba(148,163,184,0.26)}.wx-condition strong{display:block;color:#f8fafc;font-size:1.32rem;line-height:1;white-space:nowrap}.wx-condition small{display:none}.wx-icon{grid-row:span 2;font-size:2.25rem;line-height:1;color:#facc15;filter:drop-shadow(0 0 12px rgba(250,204,21,0.18))}.wx-divider{height:1px;margin:30px 0 18px;background:rgba(148,163,184,0.18)}.runway-dial{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0;height:auto;padding-top:18px;padding-bottom:20px;overflow:visible}.dial-ring{position:relative;width:345px;height:345px;flex:0 0 345px;border-radius:999px;overflow:visible}.dial-ring::before{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-conic-gradient(from 0deg,rgba(148,163,184,0.62) 0deg 1deg,transparent 1deg 6deg);mask:radial-gradient(circle,transparent 0 55%,black 56% 61%,transparent 62%);-webkit-mask:radial-gradient(circle,transparent 0 55%,black 56% 61%,transparent 62%);pointer-events:none}.dial-ring::after{content:"";position:absolute;inset:32px;border-radius:inherit;border:1px solid rgba(96,165,250,0.16);box-shadow:inset 0 0 36px rgba(56,189,248,0.05),0 0 22px rgba(56,189,248,0.06);pointer-events:none}.dial-label,.dial-num{position:absolute;color:rgba(226,232,240,0.72);font-weight:800;line-height:1;z-index:3}.dial-label{font-size:2rem}.dial-num{font-size:1.52rem}.north{top:28px;left:50%;transform:translateX(-50%)}.east{right:32px;top:50%;transform:translateY(-50%)}.south{bottom:28px;left:50%;transform:translateX(-50%)}.west{left:32px;top:50%;transform:translateY(-50%)}.n033{top:62px;left:96px;transform:rotate(-20deg)}.n003{top:62px;right:96px;transform:rotate(20deg)}.n006{top:112px;right:58px;transform:rotate(46deg)}.n012{bottom:112px;right:58px;transform:rotate(-46deg)}.n015{bottom:62px;right:96px;transform:rotate(-25deg)}.n021{bottom:62px;left:96px;transform:rotate(25deg)}.n024{bottom:112px;left:58px;transform:rotate(46deg)}.n030{top:112px;left:58px;transform:rotate(-46deg)}.runway-strip{position:absolute;left:50%;top:78px;width:38px;height:190px;transform:translateX(-50%);background:linear-gradient(180deg,#5c5c5c,#292929);border:1px solid rgba(255,255,255,0.38);box-shadow:0 0 22px rgba(0,0,0,0.45),inset 0 0 10px rgba(255,255,255,0.08);z-index:6}.centerline{position:absolute;left:50%;top:50px;bottom:50px;width:4px;transform:translateX(-50%);background:repeating-linear-gradient(to bottom,white 0 16px,transparent 16px 30px)}.threshold{position:absolute;left:5px;right:5px;height:20px;background:repeating-linear-gradient(90deg,white 0 3px,transparent 3px 6px)}.threshold.top{top:0}.threshold.bottom{bottom:0}.runway-number{position:absolute;left:50%;transform:translateX(-50%);color:white;font-size:0.82rem;font-weight:900;z-index:7}.top-num{top:24px}.bottom-num{bottom:24px}.wx-wind-arrow{--wind-bearing:0deg;position:absolute;left:50%;top:50%;width:330px;height:0;pointer-events:none;color:transparent;transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(calc(var(--wind-bearing) - 90deg));z-index:9}.wx-wind-arrow::before{content:"";position:absolute;left:34px;right:34px;top:-1px;height:2px;background:rgba(191,219,254,0.72);border-radius:999px;box-shadow:0 0 8px rgba(96,165,250,0.24)}.wx-wind-arrow::after{content:"";position:absolute;right:18px;top:-18px;width:0;height:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-right:34px solid #ffffff;filter:drop-shadow(0 0 8px rgba(255,255,255,0.26))}.wind-side{position:absolute;top:370px;display:grid;gap:4px;color:#bfdbfe;font-size:0.75rem;font-weight:900;z-index:10}.wind-side.left{left:28px}.wind-side.right{right:28px;text-align:right}.wind-side span{font-size:1.4rem}.wind-pill{position:relative;top:auto;left:auto;transform:none;margin-top:54px;min-width:172px;height:48px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;color:white;border-radius:999px;background:rgba(2,6,23,0.96);border:2px solid rgba(96,165,250,0.84);box-shadow:0 0 26px rgba(59,130,246,0.22);z-index:12}.wind-pill-arrow{--wind-to-bearing:0deg;display:inline-block;color:#60a5fa;font-size:1.65rem;font-weight:900;line-height:1;transform-origin:50% 50%;transform:rotate(var(--wind-to-bearing))}.wind-pill-arrow::before,.wind-pill-arrow::after{content:none;display:none}.wind-pill strong{font-size:1.35rem;line-height:1}.wind-label{position:relative;top:auto;left:auto;transform:none;margin-top:10px;color:#8ea3bd;font-size:0.78rem;font-weight:900;letter-spacing:0.12em}.metar-lower-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:14px}.wx-lower-metric{display:flex;align-items:center;gap:14px;padding-top:18px;border-top:1px solid rgba(148,163,184,0.18);min-width:0}.wx-lower-metric.right{justify-content:flex-end;text-align:right}.wx-lower-icon{width:44px;height:44px;display:grid;place-items:center;border:2px solid rgba(191,219,254,0.52);border-radius:999px;color:#bfdbfe;font-size:1.45rem;flex:0 0 auto}.wx-lower-metric strong{color:white;font-size:1rem;white-space:nowrap}.wx-lower-metric small{display:block;margin-top:4px;color:#8ea3bd;font-size:0.72rem;font-weight:900;letter-spacing:0.06em;white-space:nowrap}.metar-raw-strip{margin-top:18px;min-height:78px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border-radius:18px;background:rgba(15,23,42,0.76);border:1px solid rgba(96,165,250,0.18)}.metar-raw-strip small{display:block;margin-bottom:8px;color:#4ade80;font-weight:900;letter-spacing:0.08em}.metar-raw-strip small span{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:999px;background:#22c55e;box-shadow:0 0 14px rgba(34,197,94,0.65)}.metar-raw-strip code{color:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:0.82rem;line-height:1.55;white-space:normal}.metar-time{text-align:right;white-space:nowrap}.metar-time strong{display:block;color:#dbeafe;font-size:1rem}.metar-time small{color:#93a9c5;margin:6px 0 0}@media (max-width:700px){.aviation-weather-card.custom-metar-card{width:100%;max-width:100%}.metar-topline{grid-template-columns:1fr 1fr}.wx-condition{grid-column:span 2}.metar-lower-row,.metar-raw-strip{grid-template-columns:1fr}.wx-lower-metric.right,.metar-time{justify-content:flex-start;text-align:left}}

/* =========================================================
   FINAL RESPONSIVE OVERRIDES
   Keeps Command Center + Aviation/METAR usable on tablets/phones
   Place this at the VERY BOTTOM of style.css so it wins the cascade.
   ========================================================= */

@media (max-width: 1150px) {
  .aviation-hero {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .aviation-weather-card,
  .aviation-weather-card.custom-metar-card {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch;
  }
}

@media (max-width: 800px) {
  .page,
  .aviation-page {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .topbar {
    height: auto;
    min-height: 68px;
    padding: 14px 16px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    white-space: normal;
    line-height: 1.15;
  }

  .hero {
    gap: 22px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 1;
  }

  .hero p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .cta-row {
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .status-strip,
  .status-strip-four,
  .cards-grid,
  .footer-status,
  .calc-tape,
  .calc-input-grid,
  .aviation-grid {
    grid-template-columns: 1fr !important;
  }

  .module-card {
    min-height: auto;
  }

  .footer-panel {
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .metar-dashboard {
    padding: 18px;
  }

  .metar-title-row {
    align-items: flex-start;
  }

  .metar-title-row h3 {
    white-space: normal;
    font-size: 1rem;
  }

  .metar-topline {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .wx-condition {
    grid-column: auto !important;
  }

  .wx-metric,
  .wx-condition {
    min-height: auto;
    padding-left: 0;
    border-left: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .runway-dial {
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -58px;
  }

  .dial-ring {
    width: 345px;
    height: 345px;
    flex-basis: 345px;
  }

  .wind-side {
    display: none;
  }

  .wind-pill {
    margin-top: 42px;
  }

  .metar-lower-row,
  .metar-raw-strip {
    grid-template-columns: 1fr !important;
  }

  .wx-lower-metric.right,
  .metar-time {
    justify-content: flex-start;
    text-align: left;
  }

  .metar-raw-strip {
    gap: 12px;
  }

  .metar-raw-strip code {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .runway-dial {
    transform: scale(0.72);
    margin-bottom: -96px;
  }

  .wx-pill {
    width: 100%;
  }

  .wx-metric strong,
  .wx-condition strong {
    font-size: 1.08rem;
  }

  .module-head {
    grid-template-columns: 48px 1fr;
  }

  .module-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .quick-list a {
    font-size: 0.84rem;
  }
}

/* =========================================================
   LESSON PLANS PAGE
   Clean page-specific styling.
   Depends on existing global Aviation Hub classes:
   .page, .aviation-page, .hero, .hero-copy, .btn, .cta-row,
   .status-strip, .module-card, .module-head, .module-icon,
   .module-link
   ========================================================= */

.lesson-page {
  width: min(1500px, calc(100% - 80px));
}

/* HERO */

.lesson-hub-hero {
  grid-template-columns: 1fr !important;
  min-height: 430px;
  align-items: center;
}

.lesson-hub-hero .hero-copy {
  max-width: 1160px;
}

.lesson-hub-hero .hero-copy h1 {
  max-width: 1120px;
}

.lesson-hub-hero .hero-copy p {
  max-width: 900px;
}

/* SHARED SECTION HEADERS */

.lesson-section {
  margin-top: 34px;
}

.lesson-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
  gap: 30px;
  align-items: end;
  margin-bottom: 18px;
}

.lesson-section-head h2 {
  margin: 0;
  color: #eef4ff;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.lesson-section-head p {
  margin: 0;
  color: #aebbd0;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* SECTION JUMP NAV */

.lesson-section-jump {
  position: sticky;
  top: 74px;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.lesson-section-jump a,
.lesson-section-jump a:visited {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.075);
  border: 1px solid rgba(148, 163, 184, 0.11);
}

.lesson-section-jump a:hover {
  color: white;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.32);
}

/* COLLAPSIBLE MAIN LESSON SECTIONS */

.lesson-library-section {
  scroll-margin-top: 140px;
}

.lesson-collapsible-head {
  align-items: start;
}

.lesson-section-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.lesson-section-toggle {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #eaf2ff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.lesson-section-toggle:hover {
  color: white;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.34);
}

.toggle-symbol {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  font-weight: 950;
}

.lesson-collapsible-content[hidden] {
  display: none;
}

/* BACK TO TOP */

.lesson-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 950;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.lesson-back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lesson-back-to-top:hover {
  transform: translateY(-2px);
}

/* ASPIRING STUDENT PILOT */

.lesson-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lesson-start-grid .module-card {
  min-height: 315px;
}

/* ACS SOURCE CARDS */

.lesson-acs-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lesson-source-card {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(9, 15, 28, 0.94));
  border: 1px solid var(--border);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lesson-source-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44), 0 0 28px rgba(56, 189, 248, 0.12);
}

.lesson-source-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 0.92rem;
  font-weight: 950;
}

.lesson-source-card strong {
  color: #eef4ff;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.lesson-source-card small {
  color: #9fb0c6;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ACS AREA / TASK CARDS */

.lesson-acs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.lesson-acs-card {
  min-height: 390px;
}

.lesson-acs-card .module-icon {
  font-weight: 950;
  font-size: 1rem;
}

.lesson-acs-card .module-head h2 {
  font-size: 1.08rem;
}

.lesson-acs-card .module-head p {
  font-size: 0.9rem;
}

/* START SECTION QUICK LINKS */

.lesson-page .quick-list {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.lesson-page .quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  color: #d8e2f1;
  font-size: 0.88rem;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.075);
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lesson-page .quick-list a:hover {
  color: white;
  transform: translateX(2px);
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.lesson-page .quick-list a span {
  color: #dbeafe;
  font-weight: 850;
}

.quick-list a,
.quick-list a:visited,
.lesson-page .quick-list a,
.lesson-page .quick-list a:visited {
  color: #d8e2f1;
}

.quick-list a span,
.quick-list a:visited span,
.lesson-page .quick-list a span,
.lesson-page .quick-list a:visited span {
  color: #dbeafe;
}

.lesson-page .module-link {
  margin-top: 20px;
}

/* CLICKABLE TASK ACCORDIONS */

.lesson-task-list {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.lesson-task {
  display: block;
  width: 100%;
  border-radius: 10px;
}

button.lesson-task-button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  text-align: left;
  color: #d8e2f1;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.075);
  border: 1px solid rgba(148, 163, 184, 0.08);
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

button.lesson-task-button:hover,
button.lesson-task-button[aria-expanded="true"] {
  color: white;
  transform: translateX(2px);
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.lesson-task-code {
  color: #dbeafe;
  font-weight: 950;
  white-space: nowrap;
}

.lesson-task-title {
  color: #d8e2f1;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lesson-task-toggle {
  justify-self: end;
  color: #7dd3fc;
  font-weight: 950;
  font-size: 1.08rem;
  line-height: 1;
}

.lesson-task-panel {
  margin-top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.14);
  overflow: hidden;
}

.task-detail-grid {
  display: grid;
  gap: 12px;
}

.task-block {
  padding: 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.task-block h4 {
  margin: 0 0 8px;
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-block p {
  margin: 0;
  color: #b6c3d7;
  font-size: 0.88rem;
  line-height: 1.55;
}

.task-block ul {
  margin: 0;
  padding-left: 18px;
  color: #b6c3d7;
  font-size: 0.88rem;
  line-height: 1.55;
}

.task-block li + li {
  margin-top: 6px;
}

.task-references {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.18);
}

.reference-list a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: none;
}

.reference-list a:hover {
  color: white;
  text-decoration: underline;
}

/* INSTRUCTOR FORM LAUNCHER */

.lesson-form-launch-block {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.14), transparent 42%),
    rgba(15, 23, 42, 0.72);
  border-color: rgba(56, 189, 248, 0.22);
}

.lesson-plan-open-button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 12px;
  color: white;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  border: 1px solid rgba(125, 211, 252, 0.42);
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.16);
}

.lesson-plan-open-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(56, 189, 248, 0.22);
}

/* LESSON FORM MODAL */

body.lesson-modal-open {
  overflow: hidden;
}

.lesson-plan-modal[hidden] {
  display: none;
}

.lesson-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lesson-plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
}

.lesson-plan-modal-panel {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 34px));
  max-height: calc(100vh - 34px);
  margin: 17px auto;
  overflow: auto;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.lesson-plan-modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
}

.lesson-plan-modal-kicker {
  margin: 0 0 6px;
  color: #7dd3fc;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lesson-plan-modal-head h2 {
  margin: 0;
  color: #eef4ff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.045em;
}

.lesson-plan-modal-head span {
  display: block;
  margin-top: 6px;
  color: #9fb0c6;
  font-size: 0.92rem;
}

.lesson-plan-modal-close {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 1.5rem;
  line-height: 1;
}

.lesson-plan-modal-close:hover {
  color: white;
  border-color: rgba(56, 189, 248, 0.36);
}

.lesson-plan-form {
  padding: 24px;
}

.lesson-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lesson-form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.lesson-form-field span {
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-form-field input,
.lesson-form-field textarea {
  width: 100%;
  color: #eaf2ff;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: none;
}

.lesson-form-field input:focus,
.lesson-form-field textarea:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.lesson-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.lesson-form-field-wide {
  width: 100%;
}

.lesson-plan-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 0;
  margin-top: 14px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.96) 30%);
}

.lesson-form-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  color: #eaf2ff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
}

.lesson-form-btn.primary {
  color: white;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  border-color: rgba(125, 211, 252, 0.42);
}

.lesson-form-btn.secondary:hover {
  border-color: rgba(56, 189, 248, 0.36);
}

.lesson-form-btn.danger {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.24);
}

.lesson-form-save-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #86efac;
  font-size: 0.86rem;
  font-weight: 800;
}

/* CARD RHYTHM */

.lesson-page .module-card {
  border-color: rgba(148, 163, 184, 0.18);
}

/* RESPONSIVE */

@media (max-width: 1350px) {
  .lesson-start-grid,
  .lesson-acs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-acs-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) {
  .lesson-hub-hero {
    min-height: auto;
  }

  .lesson-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 800px) {
  .lesson-page {
    width: calc(100% - 28px);
  }

  .lesson-hub-hero .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .lesson-hub-hero .hero-copy p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .lesson-start-grid,
  .lesson-acs-grid,
  .lesson-acs-source-grid,
  .lesson-form-grid {
    grid-template-columns: 1fr;
  }

  .lesson-start-grid .module-card,
  .lesson-acs-card {
    min-height: auto;
  }

  button.lesson-task-button {
    grid-template-columns: 1fr 28px;
    gap: 5px 12px;
    padding: 10px 12px;
  }

  .lesson-task-code {
    grid-column: 1;
  }

  .lesson-task-title {
    grid-column: 1;
  }

  .lesson-task-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .lesson-plan-modal-panel {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
    margin: 9px auto;
    border-radius: 18px;
  }

  .lesson-plan-modal-head,
  .lesson-plan-form {
    padding: 18px;
  }

  .lesson-plan-form-actions {
    flex-direction: column;
  }

  .lesson-form-btn {
    width: 100%;
  }
  .lesson-section-jump {
    top: 64px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px;
  }

  .lesson-section-jump a {
    flex: 0 0 auto;
  }

  .lesson-section-actions {
    width: 100%;
  }

  .lesson-section-toggle {
    width: 100%;
    justify-content: center;
  }

  .lesson-back-to-top {
    right: 14px;
    bottom: 14px;
  }}

@media (max-width: 430px) {
  .lesson-hub-hero .hero-copy h1 {
    font-size: 2.45rem;
  }

  .lesson-page .module-head {
    grid-template-columns: 48px 1fr;
  }

  .lesson-page .module-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  button.lesson-task-button {
    font-size: 0.84rem;
  }
}