*{box-sizing:border-box}:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.app{min-height:100vh;padding:48px 24px;transition:background .4s,color .4s;position:relative;overflow:hidden}.app.dark{color:#f8fafc;background:radial-gradient(circle at 0 0,#6366f147,#0000 34%),radial-gradient(circle at 100% 100%,#0ea5e938,#0000 30%),linear-gradient(135deg,#020617 0%,#111827 48%,#1e1b4b 100%)}.app.light{color:#0f172a;background:radial-gradient(circle at 0 0,#93c5fd8c,#0000 34%),radial-gradient(circle at 100% 100%,#d8b4fe66,#0000 30%),linear-gradient(135deg,#eff6ff 0%,#f8fafc 46%,#f5f3ff 100%)}.background-orb{filter:blur(4px);opacity:.7;pointer-events:none;border-radius:999px;position:absolute}.orb-one{background:#3b82f642;width:260px;height:260px;top:8%;left:8%}.orb-two{background:#a855f73d;width:360px;height:360px;bottom:12%;right:-120px}.orb-three{background:#2dd4bf29;width:180px;height:180px;top:16%;right:26%}.calculator-shell{z-index:1;width:min(1180px,100%);margin:0 auto;position:relative}.top-bar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.eyebrow{color:#e2e8f0b3;letter-spacing:.18em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:700}.app.light .eyebrow{color:#0f172a8f}h1{letter-spacing:-.08em;margin:0;font-size:clamp(2rem,5vw,4.4rem);line-height:.95}.top-actions{align-items:center;gap:12px;display:flex}.mode-button,.theme-toggle,.history-header button{color:inherit;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);cursor:pointer;background:#ffffff1f;border:1px solid #ffffff38;border-radius:999px;padding:11px 16px;transition:transform .18s,background .18s,border-color .18s;box-shadow:inset 0 1px #ffffff29}.mode-button:hover,.theme-toggle:hover,.history-header button:hover{background:#ffffff2e;border-color:#ffffff57;transform:translateY(-1px)}.calculator-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:stretch;gap:24px;display:grid}.calculator-card,.history-panel{-webkit-backdrop-filter:blur(28px)saturate(140%);backdrop-filter:blur(28px)saturate(140%);background:#ffffff1a;border:1px solid #fff3;border-radius:36px;box-shadow:0 24px 80px #00000052,inset 0 1px #ffffff2e}.app.light .calculator-card,.app.light .history-panel{background:#ffffff7a;border-color:#ffffffad;box-shadow:0 24px 80px #64748b3d,inset 0 1px #ffffffb8}.calculator-card{padding:22px}.display{background:linear-gradient(135deg,#ffffff24,#ffffff0a),#0f172a61;border:1px solid #ffffff24;border-radius:28px;flex-direction:column;justify-content:flex-end;gap:12px;min-height:170px;margin-bottom:18px;padding:24px;display:flex;overflow:hidden}.app.light .display{background:linear-gradient(135deg,#ffffffbd,#ffffff59),#ffffff47;border-color:#ffffff9e}.display-expression{color:#e2e8f09e;text-align:right;word-break:break-all;min-height:26px;font-size:clamp(1rem,2vw,1.2rem)}.app.light .display-expression{color:#0f172a8c}.display-result{color:inherit;letter-spacing:-.08em;text-align:right;word-break:break-all;font-size:clamp(2.5rem,7vw,5.6rem);font-weight:750;line-height:1}.scientific-grid,.main-grid{gap:12px;display:grid}.scientific-grid{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:12px}.main-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.calc-button{min-height:66px;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff1c;border:1px solid #ffffff24;border-radius:22px;transition:transform .14s,background .14s,border-color .14s;box-shadow:inset 0 1px #ffffff2e,0 10px 24px #0000001f}.calc-button:hover{background:#ffffff2e;border-color:#ffffff42;transform:translateY(-2px)}.calc-button:active{transform:translateY(1px)scale(.98)}.calc-button.number{font-size:1.3rem;font-weight:650}.calc-button.operator,.calc-button.scientific{background:#6366f12e}.calc-button.danger{background:#f43f5e2e}.calc-button.equals{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:#ffffff47}.history-panel{flex-direction:column;min-height:100%;padding:22px;display:flex}.history-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.history-header h2{letter-spacing:-.04em;margin:0;font-size:1.2rem}.history-list{flex-direction:column;gap:10px;max-height:590px;padding-right:4px;display:flex;overflow:auto}.history-item{text-align:left;width:100%;color:inherit;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff24;border-radius:20px;gap:5px;padding:14px;transition:transform .16s,background .16s;display:grid}.history-item:hover{background:#ffffff29;transform:translateY(-1px)}.history-item span{color:#e2e8f0ad;word-break:break-all;font-size:.9rem}.app.light .history-item span{color:#0f172a94}.history-item strong{letter-spacing:-.04em;font-size:1.35rem}.history-item small{color:#e2e8f07a}.app.light .history-item small{color:#0f172a73}.empty-history{color:#e2e8f094;margin:0;line-height:1.6}.app.light .empty-history{color:#0f172a94}@media (width<=960px){.calculator-layout{grid-template-columns:1fr}.history-panel{min-height:auto}.history-list{max-height:260px}}@media (width<=680px){.app{padding:28px 14px}.top-bar{flex-direction:column;align-items:flex-start}.calculator-card,.history-panel{border-radius:28px}.scientific-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.calc-button{border-radius:18px;min-height:58px}.display{border-radius:24px;min-height:145px}}.app{background-size:220% 220%;animation:8s ease-in-out infinite animatedGradient!important}.background-orb{z-index:1;will-change:transform;opacity:.95;filter:blur(14px)}.orb-one{animation:5s ease-in-out infinite alternate orbOneMove!important}.orb-two{animation:6s ease-in-out infinite alternate orbTwoMove!important}.orb-three{animation:4s ease-in-out infinite alternate orbThreeMove!important}.app:before{content:"";z-index:0;pointer-events:none;filter:blur(20px);background:radial-gradient(circle at 20% 20%,#3b82f652,#0000 24%),radial-gradient(circle at 80% 30%,#a855f747,#0000 28%),radial-gradient(circle at 45% 85%,#2dd4bf2e,#0000 30%);position:absolute;inset:-30%;animation:7s ease-in-out infinite alternate auroraMove!important}.app:after{content:"";z-index:0;pointer-events:none;opacity:.2;background-image:linear-gradient(#ffffff14 1px,#0000 1px),linear-gradient(90deg,#ffffff14 1px,#0000 1px);background-size:72px 72px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(circle,#000,#0000 72%);mask-image:radial-gradient(circle,#000,#0000 72%);animation:10s linear infinite gridDrift!important}.calculator-shell{z-index:2;position:relative}@keyframes animatedGradient{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}@keyframes orbOneMove{0%{transform:translate(0,0)scale(1)}to{transform:translate(220px,110px)scale(1.25)}}@keyframes orbTwoMove{0%{transform:translate(0,0)scale(1)}to{transform:translate(-260px,-150px)scale(1.18)}}@keyframes orbThreeMove{0%{transform:translate(0,0)scale(1)}to{transform:translate(-180px,190px)scale(1.4)}}@keyframes auroraMove{0%{transform:translate(-4%,-3%)rotate(0)scale(1)}to{transform:translate(5%,4%)rotate(10deg)scale(1.08)}}@keyframes gridDrift{0%{background-position:0 0}to{background-position:72px 72px}}html,body,#root{min-height:100%}body{overflow-x:hidden}.app{width:100%;min-height:100svh}.calculator-shell{width:min(1180px,100vw - 32px)}.calculator-layout{width:100%}@media (width<=1180px){.app{padding:36px 20px}.calculator-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.calculator-card,.history-panel{border-radius:30px}.scientific-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.calc-button{min-height:60px}}@media (width<=900px){.app{padding:28px 16px}.top-bar{flex-direction:column;align-items:flex-start;gap:18px}.top-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.calculator-layout{grid-template-columns:1fr}.history-panel{min-height:auto}.history-list{max-height:240px}h1{font-size:clamp(3rem,12vw,4.5rem)}.display{min-height:150px}.display-result{font-size:clamp(3rem,12vw,5rem)}}@media (width<=600px){.app{padding:22px 10px}.calculator-shell{width:100%}.eyebrow{letter-spacing:.16em;font-size:.68rem}h1{letter-spacing:-.07em;font-size:clamp(2.4rem,15vw,3.6rem)}.subtitle{max-width:280px;font-size:.9rem}.calculator-card,.history-panel{border-radius:24px;padding:14px}.display{border-radius:22px;min-height:128px;margin-bottom:14px;padding:18px}.display-expression{font-size:.95rem}.display-result{font-size:clamp(2.5rem,15vw,4rem)}.scientific-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:9px}.main-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.calc-button{border-radius:17px;min-height:54px;font-size:.95rem}.calc-button.number{font-size:1.15rem}.mode-button,.theme-toggle,.history-header button{padding:9px 13px;font-size:.9rem}.history-header h2{font-size:1rem}.history-list{max-height:210px}}@media (width<=390px){.app{padding:18px 8px}.calculator-card,.history-panel{border-radius:22px;padding:12px}.scientific-grid,.main-grid{gap:7px}.calc-button{border-radius:15px;min-height:48px;font-size:.85rem}.calc-button.number{font-size:1rem}.display{min-height:118px;padding:16px}.display-result{font-size:clamp(2.2rem,16vw,3.3rem)}}.subtitle{color:#e2e8f094;letter-spacing:-.02em;margin:14px 0 0;font-size:clamp(.95rem,2vw,1.1rem)}.app.light .subtitle{color:#0f172a8f}.view-switch{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffff1a;border:1px solid #ffffff2e;border-radius:999px;gap:6px;padding:5px;display:flex}.view-switch button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 15px;transition:background .18s,transform .18s}.view-switch button:hover{transform:translateY(-1px)}.view-switch button.active{color:#fff;background:linear-gradient(135deg,#2563ebe6,#7c3aede6)}.graph-card{-webkit-backdrop-filter:blur(28px)saturate(140%);backdrop-filter:blur(28px)saturate(140%);background:#ffffff1a;border:1px solid #fff3;border-radius:36px;width:100%;min-height:650px;padding:24px;box-shadow:0 24px 80px #00000052,inset 0 1px #ffffff2e}.app.light .graph-card{background:#ffffff7a;border-color:#ffffffad;box-shadow:0 24px 80px #64748b3d,inset 0 1px #ffffffb8}.graph-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.graph-header h2{letter-spacing:-.06em;margin:0;font-size:clamp(1.8rem,4vw,3rem)}.graph-tools{flex-wrap:wrap;gap:8px;display:flex}.graph-tools button,.graph-presets button{color:inherit;cursor:pointer;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff1f;border:1px solid #ffffff2e;border-radius:999px;padding:10px 14px;transition:transform .16s,background .16s}.graph-tools button:hover,.graph-presets button:hover{background:#ffffff2e;transform:translateY(-1px)}.graph-input-row{background:#0f172a57;border:1px solid #ffffff24;border-radius:24px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:14px;padding:12px 16px;display:grid}.app.light .graph-input-row{background:#ffffff73;border-color:#fff9}.graph-input-row span{color:#c084fc;font-size:1.3rem;font-weight:700}.graph-input-row input{width:100%;color:inherit;background:0 0;border:0;outline:0;font-size:1.15rem}.graph-input-row input::placeholder{color:#e2e8f073}.app.light .graph-input-row input::placeholder{color:#0f172a73}.graph-presets{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.graph-canvas-wrapper{background:linear-gradient(135deg,#0f172acc,#1e293b75),#0f172ab3;border:1px solid #ffffff24;border-radius:28px;width:100%;height:460px;overflow:hidden}.graph-canvas{width:100%;height:100%;display:block}.graph-error{color:#fda4af;margin:14px 0 0}@media (width<=900px){.graph-card{border-radius:28px;min-height:auto;padding:18px}.graph-header{flex-direction:column}.graph-canvas-wrapper{height:420px}}@media (width<=600px){.view-switch{width:100%}.view-switch button{flex:1}.graph-card{border-radius:24px;padding:14px}.graph-input-row{border-radius:20px;padding:11px 13px}.graph-canvas-wrapper{border-radius:22px;height:360px}.graph-tools,.graph-presets{gap:7px}.graph-tools button,.graph-presets button{padding:8px 11px;font-size:.9rem}}.calculator-shell--compact{width:min(980px,100vw - 32px)}.calculator-shell--wide{width:min(1180px,100vw - 32px)}.calculator-shell--compact .calculator-layout{grid-template-columns:minmax(0,650px) 280px;justify-content:center;align-items:start}.calculator-shell--compact .calculator-card{border-radius:32px;padding:20px}.calculator-shell--compact .display{min-height:145px;margin-bottom:14px}.calculator-shell--compact .calc-button{border-radius:20px;min-height:58px}.science-toolbar{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;display:grid}.science-select{background:#ffffff1c;border:1px solid #ffffff29;border-radius:22px;gap:8px;padding:14px;display:grid;box-shadow:inset 0 1px #ffffff29,0 10px 24px #0000001a}.science-select span{color:#e2e8f09e;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;font-weight:700}.science-select select{width:100%;color:inherit;cursor:pointer;background:0 0;border:0;outline:0;font-size:1rem;font-weight:650}.science-select select option{color:#111827;background:#f8fafc}.app.light .science-select{background:#ffffff70;border-color:#ffffff9e}.app.light .science-select span{color:#0f172a8f}.calculator-shell--compact .scientific-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.calculator-shell--compact .main-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=980px){.calculator-shell--compact .calculator-layout{grid-template-columns:1fr}.calculator-shell--compact{width:min(760px,100vw - 28px)}}@media (width<=600px){.calculator-shell--compact{width:100%}.science-toolbar{grid-template-columns:1fr}.calculator-shell--compact .scientific-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calculator-shell--compact .calc-button{min-height:52px}}.science-toolbar{z-index:20;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px;display:grid;position:relative}.function-menu{position:relative}.function-menu-trigger{width:100%;min-height:72px;color:inherit;cursor:pointer;text-align:left;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffff1c;border:1px solid #ffffff29;border-radius:22px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;transition:transform .16s,background .16s,border-color .16s;display:flex;box-shadow:inset 0 1px #ffffff29,0 10px 24px #0000001a}.function-menu-trigger:hover{background:#ffffff29;border-color:#ffffff47;transform:translateY(-1px)}.function-menu.open .function-menu-trigger{background:#ffffff2e;border-color:#c084fc80}.function-menu-trigger small{color:#e2e8f09e;letter-spacing:.14em;text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-weight:800;display:block}.function-menu-trigger strong{color:#f8fafcf5;letter-spacing:-.02em;font-size:1rem;font-weight:700;display:block}.function-menu-arrow{color:#f8fafcc7;font-size:1.3rem;line-height:1;transition:transform .18s}.function-menu.open .function-menu-arrow{transform:rotate(180deg)}.function-menu-list{z-index:50;-webkit-backdrop-filter:blur(28px)saturate(150%);backdrop-filter:blur(28px)saturate(150%);background:linear-gradient(135deg,#1e293beb,#312e81e0),#0f172aeb;border:1px solid #ffffff2e;border-radius:22px;gap:6px;max-height:280px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 22px 60px #00000059,inset 0 1px #ffffff24}.function-menu-option{color:#f8fafcf0;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:15px;width:100%;min-height:42px;padding:10px 12px;font-weight:650;transition:background .14s,transform .14s,color .14s}.function-menu-option:hover{color:#fff;background:#c084fc38;transform:translate(2px)}.function-menu-list::-webkit-scrollbar{width:8px}.function-menu-list::-webkit-scrollbar-thumb{background:#ffffff38;border-radius:999px}.app.light .function-menu-trigger{background:#ffffff7a;border-color:#ffffffa6}.app.light .function-menu-trigger small{color:#0f172a8c}.app.light .function-menu-trigger strong,.app.light .function-menu-arrow{color:#0f172ae0}.app.light .function-menu-list{background:linear-gradient(135deg,#ffffffeb,#eff6ffdb),#ffffffe6;border-color:#ffffffb8}.app.light .function-menu-option{color:#0f172ae0}.app.light .function-menu-option:hover{color:#0f172a;background:#a855f724}@media (width<=600px){.science-toolbar{grid-template-columns:1fr}.function-menu-trigger{border-radius:20px;min-height:66px}.function-menu-list{border-radius:20px}}.app.light .graph-canvas-wrapper{background:linear-gradient(135deg,#ffffffdb,#e2e8f0b8),#f8fafcd1;border-color:#0f172a1f}.converter-card{-webkit-backdrop-filter:blur(28px)saturate(140%);backdrop-filter:blur(28px)saturate(140%);background:#ffffff1a;border:1px solid #fff3;border-radius:36px;width:100%;min-height:620px;padding:24px;box-shadow:0 24px 80px #00000052,inset 0 1px #ffffff2e}.app.light .converter-card{background:#ffffff7a;border-color:#ffffffad;box-shadow:0 24px 80px #64748b3d,inset 0 1px #ffffffb8}.converter-header{margin-bottom:22px}.converter-header h2{letter-spacing:-.06em;margin:0;font-size:clamp(1.8rem,4vw,3rem)}.converter-layout{grid-template-columns:260px minmax(0,1fr);gap:18px;display:grid}.converter-sidebar{align-content:start;gap:10px;display:grid}.converter-sidebar button{color:inherit;cursor:pointer;text-align:left;background:#ffffff1a;border:1px solid #ffffff24;border-radius:18px;padding:15px 16px;font-weight:700;transition:transform .16s,background .16s,border-color .16s}.converter-sidebar button:hover{background:#ffffff29;transform:translateY(-1px)}.converter-sidebar button.active{color:#fff;background:linear-gradient(135deg,#2563ebe6,#7c3aede6);border-color:#ffffff42}.converter-main{gap:16px;display:grid}.converter-input-card,.converter-result,.converter-units label{background:#0f172a57;border:1px solid #ffffff24;border-radius:24px;padding:18px}.app.light .converter-input-card,.app.light .converter-result,.app.light .converter-units label{background:#ffffff7a;border-color:#0f172a1a}.converter-input-card label,.converter-units span,.converter-result span{color:#e2e8f09e;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-size:.78rem;font-weight:800;display:block}.app.light .converter-input-card label,.app.light .converter-units span,.app.light .converter-result span{color:#0f172a8f}.converter-input-card input,.converter-units select{width:100%;color:inherit;background:0 0;border:0;outline:0;font-size:1.35rem;font-weight:750}.converter-units{grid-template-columns:1fr auto 1fr;align-items:stretch;gap:12px;display:grid}.converter-units select option{color:#111827}.converter-swap{width:58px;color:inherit;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff2e;border-radius:22px;font-size:1.4rem;transition:transform .16s,background .16s}.converter-swap:hover{background:#ffffff2e;transform:translateY(-1px)}.converter-result{flex-direction:column;justify-content:center;min-height:170px;display:flex}.converter-result strong{letter-spacing:-.08em;margin-bottom:10px;font-size:clamp(2.4rem,6vw,5rem);line-height:1;display:block}.converter-result small{color:#e2e8f094;font-size:1rem}.app.light .converter-result small{color:#0f172a94}@media (width<=900px){.converter-layout{grid-template-columns:1fr}.converter-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.converter-card{border-radius:24px;padding:14px}.converter-sidebar,.converter-units{grid-template-columns:1fr}.converter-swap{width:100%;min-height:50px}.converter-result{min-height:140px}}.memory-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:12px;display:grid}.memory-status{min-height:54px;color:inherit;background:#ffffff14;border:1px solid #ffffff24;border-radius:20px;justify-content:space-between;align-items:center;gap:14px;padding:10px 14px;display:flex}.memory-status span{color:#e2e8f094;letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800}.memory-status strong{color:#f8fafce6;text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:.95rem;font-weight:750;overflow:hidden}.memory-grid{grid-template-columns:repeat(4,58px);gap:8px;display:grid}.memory-grid .calc-button{border-radius:18px;min-height:54px;font-size:.9rem}.calc-button.memory{background:#c084fc24;border-color:#c084fc38}.calc-button.memory:hover{background:#c084fc38;border-color:#c084fc5c}.app.light .memory-status{background:#ffffff70;border-color:#0f172a1a}.app.light .memory-status span{color:#0f172a85}.app.light .memory-status strong{color:#0f172adb}@media (width<=700px){.memory-row{grid-template-columns:1fr}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.converter-units{z-index:30;position:relative}.converter-dropdown{position:relative}.converter-dropdown-trigger{width:100%;min-height:88px;color:inherit;cursor:pointer;text-align:left;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#0f172a57;border:1px solid #ffffff24;border-radius:24px;justify-content:space-between;align-items:center;gap:14px;padding:18px;transition:transform .16s,background .16s,border-color .16s;display:flex}.converter-dropdown-trigger:hover{background:#ffffff1f;border-color:#ffffff3d;transform:translateY(-1px)}.converter-dropdown.open .converter-dropdown-trigger{background:#ffffff21;border-color:#c084fc7a}.converter-dropdown-trigger small{color:#e2e8f09e;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-size:.78rem;font-weight:800;display:block}.converter-dropdown-trigger strong{color:#f8fafcf2;font-size:1.35rem;font-weight:750;line-height:1;display:block}.converter-dropdown-arrow{color:#f8fafcb8;font-size:1.3rem;transition:transform .18s}.converter-dropdown.open .converter-dropdown-arrow{transform:rotate(180deg)}.converter-dropdown-list{z-index:80;-webkit-backdrop-filter:blur(28px)saturate(150%);backdrop-filter:blur(28px)saturate(150%);background:linear-gradient(135deg,#1e293bf0,#312e81e6),#0f172af0;border:1px solid #ffffff2e;border-radius:22px;gap:6px;max-height:260px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 22px 60px #00000059,inset 0 1px #ffffff24}.converter-dropdown-option{color:#f8fafcf0;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:15px;width:100%;min-height:42px;padding:10px 12px;font-size:1rem;font-weight:650;transition:transform .14s,background .14s,color .14s}.converter-dropdown-option:hover{color:#fff;background:#c084fc38;transform:translate(2px)}.converter-dropdown-option.active{color:#fff;background:linear-gradient(135deg,#2563ebb8,#7c3aedb8)}.converter-dropdown-list::-webkit-scrollbar{width:8px}.converter-dropdown-list::-webkit-scrollbar-thumb{background:#ffffff38;border-radius:999px}.app.light .converter-dropdown-trigger{background:#ffffff7a;border-color:#0f172a1a}.app.light .converter-dropdown-trigger small{color:#0f172a8f}.app.light .converter-dropdown-trigger strong,.app.light .converter-dropdown-arrow{color:#0f172ae0}.app.light .converter-dropdown-list{background:linear-gradient(135deg,#fffffff0,#eff6ffe0),#ffffffeb;border-color:#0f172a1a}.app.light .converter-dropdown-option{color:#0f172ae0}.app.light .converter-dropdown-option:hover{color:#0f172a;background:#a855f724}.app.light .converter-dropdown-option.active{color:#fff;background:linear-gradient(135deg,#2563ebd1,#7c3aedd1)}@media (width<=600px){.converter-dropdown-trigger{border-radius:20px;min-height:76px}.converter-dropdown-list{border-radius:20px}}.science-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=780px){.science-toolbar{grid-template-columns:1fr}}.graph-range-panel{grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;margin-bottom:16px;display:grid}.graph-range-panel label{background:#0f172a47;border:1px solid #ffffff24;border-radius:18px;gap:6px;padding:10px 12px;display:grid}.graph-range-panel span{color:#e2e8f094;letter-spacing:.13em;text-transform:uppercase;font-size:.68rem;font-weight:800}.graph-range-panel input{width:100%;color:inherit;background:0 0;border:0;outline:0;font-size:1rem;font-weight:700}.graph-range-panel button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563ebe6,#7c3aede6);border:1px solid #ffffff2e;border-radius:18px;padding:0 16px;font-weight:750}.graph-canvas-wrapper{position:relative}.graph-canvas{cursor:grab;touch-action:none}.graph-canvas:active{cursor:grabbing}.graph-coordinate-pill{z-index:4;color:#f8fafce0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:none;background:#0f172a94;border:1px solid #ffffff2e;border-radius:999px;padding:9px 13px;font-size:.85rem;font-weight:650;position:absolute;bottom:18px;left:18px}.graph-footer{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.graph-footer span{color:#e2e8f0ad;background:#ffffff14;border:1px solid #ffffff24;border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:650}.app.light .graph-range-panel label{background:#ffffff7a;border-color:#0f172a1a}.app.light .graph-range-panel span{color:#0f172a8f}.app.light .graph-coordinate-pill{color:#0f172ad1;background:#ffffffb8;border-color:#0f172a1f}.app.light .graph-footer span{color:#0f172a9e;background:#ffffff7a;border-color:#0f172a1a}@media (width<=900px){.graph-range-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.graph-range-panel button{grid-column:span 2;min-height:48px}}@media (width<=520px){.graph-range-panel{grid-template-columns:1fr}.graph-range-panel button{grid-column:auto}}.graph-canvas-wrapper{overscroll-behavior:contain}.graph-canvas{overscroll-behavior:contain;touch-action:none}.graph-functions{gap:10px;margin-bottom:16px;display:grid}.graph-function-row{background:#0f172a4d;border:1px solid #ffffff24;border-radius:24px;grid-template-columns:auto minmax(0,1fr) 120px 48px 130px auto;align-items:center;gap:10px;padding:10px;display:grid}.graph-function-label{color:#c084fc;white-space:nowrap;font-size:1.2rem;font-weight:850}.graph-function-input,.graph-preset-select{width:100%;min-height:46px;color:inherit;background:#ffffff14;border:0;border-radius:16px;outline:0;padding:0 14px;font-size:1rem;font-weight:650}.graph-preset-select option{color:#111827}.graph-color-input{cursor:pointer;background:0 0;border:0;border-radius:16px;width:46px;height:46px;overflow:hidden}.graph-color-input::-webkit-color-swatch-wrapper{padding:0}.graph-color-input::-webkit-color-swatch{border:1px solid #ffffff3d;border-radius:16px}.graph-width-control{gap:4px;display:grid}.graph-width-control span{color:#e2e8f099;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.graph-width-control input{accent-color:#c084fc;width:100%}.graph-add-row-button,.graph-remove-row-button{min-height:46px;color:inherit;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff29;border-radius:999px;padding:0 15px;font-weight:850;transition:transform .16s,background .16s}.graph-add-row-button{color:#fff;background:linear-gradient(135deg,#2563ebe6,#7c3aede6);font-size:1.25rem}.graph-remove-row-button{color:#fecdd3;background:#f43f5e24}.graph-add-row-button:hover,.graph-remove-row-button:hover{background:#ffffff2e;transform:translateY(-1px)}.graph-function-row small{color:#fda4af;grid-column:2/-1;font-weight:650}.app.light .graph-function-row{background:#ffffff80;border-color:#0f172a1a}.app.light .graph-function-input,.app.light .graph-preset-select{background:#ffffff9e}.app.light .graph-width-control span{color:#0f172a8f}@media (width<=920px){.graph-function-row{grid-template-columns:1fr}.graph-add-row-button,.graph-remove-row-button,.graph-color-input{width:100%}.graph-function-row small{grid-column:auto}}.graph-preset-trigger span{color:#e2e8f0b3;font-size:1rem;transition:transform .18s}.app.light .graph-add-row-button:hover{color:#fff!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important}.app.light .graph-preset-trigger:hover{color:#0f172af2;background:#ffffffd1}@media (width<=920px){.graph-preset-menu,.graph-preset-trigger{width:100%}}.graph-function-label{white-space:nowrap;font-size:1.2rem;font-weight:850;transition:color .18s}.graph-add-row-button{min-width:48px;min-height:48px;font-size:1.25rem;font-weight:850;box-shadow:0 10px 24px #6366f138,inset 0 1px #ffffff38;color:#fff!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:1px solid #6366f147!important;border-radius:18px!important}.graph-add-row-button:hover{transform:translateY(-1px);color:#fff!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;border-color:#8b5cf66b!important}.graph-remove-row-button{min-height:46px;padding:0 16px;font-weight:800;color:#fb7185!important;background:#f43f5e1a!important;border:1px solid #f43f5e2e!important;border-radius:999px!important}.graph-remove-row-button:hover{transform:translateY(-1px);color:#fff!important;background:#f43f5eb8!important;border-color:#f43f5e8c!important}.graph-preset-menu{z-index:80;position:relative}.graph-preset-trigger{width:100%;min-height:46px;color:inherit;cursor:pointer;background:#ffffff14;border:0;border-radius:16px;justify-content:space-between;align-items:center;gap:8px;padding:0 14px;font-size:1rem;font-weight:750;transition:background .16s,transform .16s;display:flex}.graph-preset-trigger:hover{color:inherit;background:#ffffff24;transform:translateY(-1px)}.graph-preset-trigger span{color:#e2e8f0b3;transition:transform .18s}.graph-preset-menu.open .graph-preset-trigger span{transform:rotate(180deg)}.graph-preset-list{z-index:100;-webkit-backdrop-filter:blur(26px)saturate(150%);backdrop-filter:blur(26px)saturate(150%);background:linear-gradient(135deg,#1e293bf5,#312e81eb),#0f172af5;border:1px solid #ffffff2e;border-radius:20px;gap:6px;max-height:260px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 22px 60px #00000057,inset 0 1px #ffffff24}.graph-preset-option{color:#f8fafcf0;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;width:100%;min-height:40px;padding:9px 11px;font-weight:700;transition:background .14s,transform .14s,color .14s}.graph-preset-option:hover{color:#fff;background:#c084fc38;transform:translate(2px)}.graph-apply-range-button{cursor:pointer;padding:0 16px;font-weight:800;transition:transform .16s,box-shadow .16s,background .16s;position:relative;overflow:hidden;color:#fff!important;background:linear-gradient(135deg,#2563ebe6,#7c3aede6)!important;border:1px solid #ffffff2e!important;border-radius:18px!important}.graph-apply-range-button:hover{transform:translateY(-1px);box-shadow:0 14px 32px #7c3aed42}.graph-apply-range-button:active{transform:scale(.97)}.graph-apply-range-button.applied{animation:1.2s applyRangePulse;background:linear-gradient(135deg,#10b981,#22c55e)!important;border-color:#22c55e80!important}.graph-apply-range-button.applied:after{content:"";background:radial-gradient(circle,#ffffff73,#0000 62%);animation:.75s ease-out applyRangeGlow;position:absolute;inset:0}@keyframes applyRangePulse{0%{transform:scale(1);box-shadow:0 0 #22c55e00}35%{transform:scale(1.04);box-shadow:0 0 0 8px #22c55e1f}to{transform:scale(1);box-shadow:0 0 #22c55e00}}@keyframes applyRangeGlow{0%{opacity:.8;transform:scale(.2)}to{opacity:0;transform:scale(2)}}.app.light .graph-add-row-button{color:#fff!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important}.app.light .graph-remove-row-button{color:#e11d48!important;background:#f43f5e1c!important;border-color:#f43f5e2e!important}.app.light .graph-remove-row-button:hover{color:#fff!important;background:#e11d48bf!important}.app.light .graph-preset-trigger{color:#0f172ae6;background:#ffffff9e}.app.light .graph-preset-trigger:hover{background:#ffffffd1}.app.light .graph-preset-trigger span{color:#0f172a9e}.app.light .graph-preset-list{background:linear-gradient(135deg,#fffffff5,#eff6ffeb),#fffffff0;border-color:#0f172a1a}.app.light .graph-preset-option{color:#0f172ae6}.app.light .graph-preset-option:hover{color:#0f172a;background:#a855f724}
