#calculator-page .container{padding-top:calc(10px + env(safe-area-inset-top))}#calculator-page .modern-header{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;margin-bottom:25px!important;width:100%!important;position:relative!important;z-index:50!important;gap:0!important}@media (max-width:600px){#calculator-page .modern-header{flex-direction:column;align-items:flex-start;gap:10px}#calculator-page .header-logo{width:100%;display:flex;justify-content:space-between;align-items:center}#calculator-page .header-controls{width:100%;justify-content:flex-end}.theme-toggle-label span{font-size:.7em!important}}@media (max-width:420px){#night-mode-toggle-wrapper .theme-toggle-label span{display:none!important}}.modal-overlay{background-color:rgba(0,0,0,.85)!important;display:flex!important;align-items:center!important;justify-content:center!important;position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:9999!important;padding:20px!important;box-sizing:border-box!important}.modal-content,.modal-content[style]{position:relative!important;margin:auto!important;max-height:85vh!important;max-width:500px!important;width:90%!important;overflow-y:auto!important;top:auto!important;left:auto!important;bottom:auto!important;right:auto!important;transform:none!important;align-self:center!important;justify-self:center!important;opacity:1!important;visibility:visible!important;display:block!important}#backpack-modal .modal-content{max-width:400px!important}@media (min-width:768px){.modal-overlay{display:flex!important;justify-content:center!important;align-items:center!important;min-height:100vh!important;height:100%!important;position:fixed!important;top:0!important;left:0!important;width:100%!important}#backpack-modal .modal-content,.modal-content,.modal-content[style]{position:relative!important;margin:auto!important;top:auto!important;left:auto!important;transform:translate(0,0)!important}}@media (max-width:600px){#calculator-page .modern-header{flex-wrap:wrap!important;gap:10px!important;justify-content:space-between!important}}#calculator-page .header-title{order:1!important;flex:0 0 100%!important;width:100%!important;text-align:center!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;margin-bottom:15px!important;margin-top:5px!important}#calculator-page .header-title h1{font-size:1.3em!important;font-weight:700!important;margin:0!important;line-height:1.2!important;white-space:normal!important;text-align:center!important;word-break:break-word!important}#calculator-page .header-title p{font-size:.85em!important;opacity:.7!important;margin:2px 0 0 0!important;line-height:1.1!important}#calculator-page .header-logo{order:2!important;flex:0 0 auto!important;width:50%!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;height:44px!important}#calculator-page .header-controls{order:3!important;flex:0 0 auto!important;width:50%!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;height:44px!important;gap:8px!important}@media screen and (min-width:600px){#calculator-page .container{padding-top:calc(20px + env(safe-area-inset-top))}#calculator-page .modern-header{flex-wrap:nowrap!important;gap:20px!important;height:auto!important;margin-bottom:40px!important}#calculator-page .header-logo{width:auto!important;min-width:100px!important}#calculator-page .header-controls{width:auto!important;min-width:100px!important;order:3!important}#calculator-page .header-title{order:2!important;flex:1 1 auto!important;width:auto!important;margin-top:0!important}#calculator-page .header-title h1{font-size:1.6em!important}}#calculator-page .back-button-modern{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 16px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;color:#fff!important;text-decoration:none!important;font-weight:500!important;backdrop-filter:blur(10px)!important}html body .theme-switch-wrapper{display:flex!important;align-items:center!important;gap:8px!important;background:rgba(255,255,255,.1)!important;padding:6px 12px!important;border-radius:20px!important;border:1px solid rgba(255,255,255,.2)!important;backdrop-filter:blur(10px)!important;min-height:36px!important;margin:0!important}html body .theme-label{font-size:.85em!important;color:rgba(255,255,255,.9)!important;font-weight:500!important;white-space:nowrap!important;display:inline-block!important;opacity:1!important}html body #night-mode-toggle-wrapper .theme-label::before{content:'🌙'!important;margin-right:6px!important}@media (max-width:360px){html body .theme-label{font-size:0!important}html body #night-mode-toggle-wrapper .theme-label::before{font-size:1.2em!important}}html body .choice-button{padding:12px 24px!important;background:linear-gradient(135deg,rgba(255,255,255,.08) 0,rgba(255,255,255,.02) 100%)!important;border:none!important;border-radius:12px!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;color:rgba(255,255,255,.8)!important;font-weight:500!important;cursor:pointer!important;transition:all .3s ease!important;box-shadow:inset 1px 1px 2px rgba(255,255,255,.35),inset -1px -1px 3px rgba(0,0,0,.3),0 8px 16px rgba(0,0,0,.25)!important;opacity:1!important;transform:scale(1)!important;position:relative!important;z-index:1}html body .choice-button::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .choice-button.active{background:linear-gradient(135deg,rgba(41,98,255,.85) 0,rgba(79,172,254,.7) 100%)!important;color:#fff!important;font-weight:700!important;box-shadow:0 0 14px rgba(79,172,254,.35),0 4px 12px rgba(0,0,0,.3)!important;transform:scale(1.02) translateY(-2px)!important;border:1px solid rgba(79,172,254,.8)!important}html body .choice-button.active::before{background:linear-gradient(135deg,rgba(255,255,255,.3) 0,rgba(255,255,255,.05) 40%,transparent 60%,rgba(255,255,255,.1) 100%)}html body .choice-button,html body .option-card,html body button{-webkit-tap-highlight-color:transparent!important;outline:0!important;user-select:none!important;-webkit-user-select:none!important}html body .choice-button:active,html body .choice-button:focus{outline:0!important}@media (hover:hover){html body .choice-button:not(.active):hover{opacity:.6!important;transform:translateY(-1px)!important}}html body.astro-mode .choice-button,html body.concerts-mode .choice-button{background:#200!important;opacity:.4!important}html body.astro-mode .choice-button.active,html body.concerts-mode .choice-button.active{background:#781414!important;opacity:1!important;border:3px solid rgba(255,100,100,.9)!important;box-shadow:0 0 24px rgba(255,50,50,.9),0 8px 32px rgba(255,50,50,.7)!important;transform:scale(1.05) translateY(-3px)!important}html body .unit-pill{transition:all .3s ease!important;opacity:.5!important;border:2px solid transparent!important;transform:scale(1)!important}html body .unit-pill.active{opacity:1!important;border:3px solid rgba(255,255,255,.8)!important;box-shadow:0 0 20px rgba(79,172,254,.9),0 6px 24px rgba(79,172,254,.6)!important;transform:scale(1.05) translateY(-2px)!important}html body .unit-pill:not(.active):hover{opacity:.7!important;transform:translateY(-1px)!important}html body .theme-switch{position:relative!important;display:inline-block!important;width:auto!important;height:24px!important}html body .theme-switch .slider{position:absolute!important;cursor:pointer!important;top:0!important;left:0!important;right:0!important;bottom:0!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:18px!important;transition:all .3s ease!important;backdrop-filter:blur(10px)!important}html body .theme-switch .slider:hover{background:rgba(255,255,255,.15)!important}html body .theme-switch input[type=checkbox]{opacity:0!important;position:absolute!important;pointer-events:none!important;width:0!important;height:0!important}html body .theme-switch input:checked+.slider{background:rgba(255,255,255,.1)!important}html body .dashboard-header{display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important}@media (min-width:769px){html body .dashboard-header{flex-direction:row!important;justify-content:space-between!important}}html body #night-mode-toggle-wrapper.hidden{display:none!important}html body.astro-mode #night-mode-toggle-wrapper.hidden,html body.concerts-mode #night-mode-toggle-wrapper.hidden{display:flex!important}.night-mode-bar{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.night-mode-bar-label{display:inline-flex;align-items:center;gap:10px;padding:8px 20px;background:rgba(255,50,50,.12);border:1px solid rgba(255,80,80,.3);border-radius:25px;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:all .3s ease}.night-mode-bar-label:active{transform:scale(.97)}.night-mode-bar-text{font-size:.85em;font-weight:600;color:#f44}.night-mode-bar-icon{font-size:1.1em;transition:transform .3s ease}#header-night-mode-toggle:checked~.night-mode-bar-icon{transform:scale(1.2);filter:brightness(1.5)}@media (max-width:480px){.header-logo .logo{max-width:50px!important}.modern-header{gap:8px}.header-title h1{font-size:1.1em}.header-title p{font-size:.75em}}@media (min-width:768px) and (max-width:1100px){html body .floating-card{display:grid!important;grid-template-rows:55% 45%!important;grid-template-columns:1fr!important;justify-items:center!important;min-height:80px!important;padding:16px!important;gap:0!important}html body .card-icon{font-size:2.2em!important;display:flex!important;align-items:center!important;justify-content:center!important}html body .modern-main{gap:10px!important;padding:10px 0!important}html body .start-button-modern{margin-top:8px!important;padding:12px!important}html body .restore-button-modern{padding:8px!important;margin-top:4px!important}}html body .unit-pill{background:rgba(255,255,255,.05)!important;color:rgba(255,255,255,.6)!important;border:none!important;border-radius:20px!important;padding:10px 20px!important;font-weight:600!important;cursor:pointer!important;transition:all .3s ease!important;opacity:.5!important;transform:scale(1)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;box-shadow:0 4px 12px rgba(0,0,0,.2)!important;position:relative!important;z-index:1}html body .unit-pill::before{content:"";position:absolute;inset:0;border-radius:20px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 25%,rgba(255,255,255,0) 75%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .unit-pill:hover{opacity:.7!important;transform:translateY(-1px)!important;background:rgba(255,255,255,.08)!important}html body .unit-pill.active{background:linear-gradient(135deg,rgba(41,98,255,.85) 0,rgba(79,172,254,.7) 100%)!important;color:#fff!important;font-weight:700!important;opacity:1!important;transform:scale(1.03) translateY(-2px)!important;box-shadow:0 0 14px rgba(79,172,254,.35),0 4px 12px rgba(0,0,0,.3)!important;border:1px solid rgba(79,172,254,.6)!important}html body .unit-pill.active::before{background:linear-gradient(135deg,rgba(255,255,255,.3) 0,rgba(255,255,255,.05) 40%,transparent 60%,rgba(255,255,255,.1) 100%)}html.light-theme body .unit-pill{background:rgba(0,0,0,.05)!important;color:rgba(0,0,0,.5)!important;border-color:rgba(0,0,0,.1)!important}html.light-theme body .unit-pill:hover{background:rgba(0,0,0,.08)!important}html.light-theme body .unit-pill.active{background:rgba(0,0,0,.1)!important;color:rgba(0,0,0,.9)!important;border-color:rgba(0,0,0,.3)!important;box-shadow:0 0 12px rgba(0,0,0,.15),0 4px 12px rgba(0,0,0,.1)!important}html body .language-select-modern{max-width:100px!important;padding:8px 28px 8px 12px!important;font-size:.9em!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:12px!important;background-color:transparent!important;border:none!important;color:rgba(255,255,255,.9)!important;border-radius:12px!important;cursor:pointer!important;transition:all .3s ease!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;box-shadow:inset 1px 1px 2px rgba(255,255,255,.35),inset -1px -1px 3px rgba(0,0,0,.3),0 4px 10px rgba(0,0,0,.2)!important;position:relative!important;z-index:1}html body .language-select-modern::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .language-select-modern:hover{background-color:rgba(255,255,255,.08)!important;box-shadow:inset 1px 1px 3px rgba(255,255,255,.45),inset -1px -1px 3px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.3)!important}html body .restore-button-modern,html body .start-button-modern{margin-top:12px!important;padding:16px!important;border-radius:12px!important;font-weight:600!important;cursor:pointer!important;transition:all .3s ease!important}html body .start-button-modern{background:linear-gradient(135deg,rgba(65,140,255,.4) 0,rgba(41,98,255,.5) 100%)!important;border:none!important;border-radius:50px!important;color:#fff!important;backdrop-filter:blur(30px)!important;-webkit-backdrop-filter:blur(30px)!important;box-shadow:inset 0 2px 2px rgba(255,255,255,.4),inset 0 -2px 2px rgba(0,0,0,.25),0 10px 30px rgba(0,0,0,.4)!important;position:relative!important;z-index:10!important}html body .start-button-modern::before{content:"";position:absolute;inset:0;border-radius:50px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.7) 0,rgba(65,140,255,.1) 40%,rgba(65,140,255,.05) 60%,rgba(65,140,255,.3) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .start-button-modern:hover{background:linear-gradient(135deg,rgba(65,140,255,.25) 0,rgba(41,98,255,.1) 100%)!important;transform:translateY(-2px)!important;box-shadow:inset 1px 1px 3px rgba(255,255,255,.45),inset -1px -1px 3px rgba(0,0,0,.3),0 15px 32px rgba(65,140,255,.3)!important}html body .dashboard-quick-access{grid-column:1/-1!important;display:flex!important;gap:8px!important;justify-content:center!important;margin-top:4px!important}html body .quick-access-btn{flex:1!important;padding:10px 12px!important;border-radius:20px!important;font-size:.82em!important;font-weight:600!important;background:linear-gradient(135deg,rgba(255,255,255,.08) 0,rgba(255,255,255,.02) 100%)!important;border:none!important;color:rgba(255,255,255,.8)!important;cursor:pointer!important;transition:all .25s ease!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;text-align:center!important;position:relative!important;box-shadow:inset 1px 1px 2px rgba(255,255,255,.35),inset -1px -1px 3px rgba(0,0,0,.3),0 8px 16px rgba(0,0,0,.25)!important}html body .quick-access-btn::before{content:"";position:absolute;inset:0;border-radius:20px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}html body .quick-access-btn:hover{background:linear-gradient(135deg,rgba(255,255,255,.12) 0,rgba(255,255,255,.04) 100%)!important;transform:translateY(-2px)!important;box-shadow:inset 1px 1px 2px rgba(255,255,255,.4),inset -1px -1px 2px rgba(0,0,0,.25),0 6px 12px rgba(0,0,0,.3)!important}html body .quick-access-btn:active{transform:scale(.97)!important}html body .restore-button-modern{background:rgba(255,255,255,.05)!important;border:none!important;border-radius:50px!important;color:rgba(255,255,255,.8)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;box-shadow:0 4px 12px rgba(0,0,0,.2)!important;position:relative!important;z-index:1}html body .restore-button-modern::before{content:"";position:absolute;inset:0;border-radius:50px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.6) 0,rgba(255,255,255,0) 25%,rgba(255,255,255,0) 75%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .restore-button-modern:hover{background:rgba(255,255,255,.08)!important;transform:translateY(-2px)!important;box-shadow:0 8px 20px rgba(0,0,0,.3)!important}html.light-theme body .floating-card{background:rgba(0,0,0,.03)!important;border-color:rgba(0,0,0,.08)!important}html.light-theme body .floating-card:hover{background:rgba(0,0,0,.05)!important;border-color:rgba(0,0,0,.15)!important;box-shadow:0 0 16px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.12)!important}html.light-theme body .card-title{color:rgba(0,0,0,.9)!important;text-align:center!important}html.light-theme body .card-subtitle{color:rgba(0,0,0,.5)!important;text-align:center!important}html.light-theme body .language-select-modern{background-color:rgba(0,0,0,.03)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.55)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:12px!important;border-color:rgba(0,0,0,.08)!important;color:rgba(0,0,0,.8)!important}html.light-theme body .restore-button-modern{background:rgba(0,0,0,.03)!important;border-color:rgba(0,0,0,.08)!important;color:rgba(0,0,0,.7)!important}html body .theme-switch-wrapper{display:flex!important;align-items:center!important;justify-content:center!important}html body .theme-switch{display:flex!important;align-items:center!important;gap:12px!important;cursor:pointer!important}html body .theme-label{font-size:.9em!important;color:rgba(255,255,255,.8)!important;font-weight:500!important;user-select:none!important}html body .theme-switch input[type=checkbox]{display:none!important}html body .theme-switch .slider{position:relative!important;width:50px!important;height:26px!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:13px!important;transition:all .3s ease!important;z-index:50!important;pointer-events:auto!important}html body .theme-switch .slider::before{content:''!important;position:absolute!important;width:20px!important;height:20px!important;left:3px!important;top:2px!important;background:#fff!important;border-radius:50%!important;transition:transform .3s ease!important;box-shadow:0 2px 4px rgba(0,0,0,.2)!important}html body .theme-switch input:checked+.slider{background:rgba(79,172,254,.3)!important;border-color:rgba(79,172,254,.5)!important}html body .theme-switch input:checked+.slider::before{transform:translateX(24px)!important}html.light-theme body .theme-label{color:rgba(0,0,0,.7)!important}html.light-theme body .theme-switch .slider{background:rgba(0,0,0,.08)!important}html body .theme-switch-wrapper{display:flex!important;align-items:center!important;gap:8px!important;padding:6px 12px!important;border-radius:12px!important;background:linear-gradient(135deg,rgba(255,255,255,.1) 0,rgba(255,255,255,.02) 100%)!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;box-shadow:inset 1px 1px 2px rgba(255,255,255,.35),inset -1px -1px 3px rgba(0,0,0,.3),0 4px 10px rgba(0,0,0,.2)!important;position:relative!important;z-index:1}html body .theme-switch-wrapper::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:-1}html body .theme-switch{position:relative!important;display:inline-block!important;width:44px!important;height:24px!important;margin:0!important}html body .theme-switch input{opacity:0!important;width:0!important;height:0!important}html body .slider{position:absolute!important;cursor:pointer!important;top:0!important;left:0!important;right:0!important;bottom:0!important;background-color:rgba(255,255,255,.2)!important;transition:.4s!important;border-radius:34px!important;backdrop-filter:blur(4px)!important}html body .slider:before{position:absolute!important;content:""!important;height:18px!important;width:18px!important;left:3px!important;bottom:3px!important;background-color:#fff!important;transition:.4s!important;border-radius:50%!important;box-shadow:0 2px 4px rgba(0,0,0,.2)!important}html body input:checked+.slider{background-color:var(--calc-accent)!important}html body input:checked+.slider:before{transform:translateX(20px)!important}#calculator-page .hyperfocal-section{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:6px!important;width:100%!important;overflow:hidden!important}#calculator-page .hyperfocal-section .label{white-space:nowrap!important;margin:0!important;font-size:.9em!important}#calculator-page .hyperfocal-section .value{white-space:nowrap!important;margin:0!important;font-size:1.1em!important;font-weight:700!important}#calculator-page #sharp-face-result:not(.hidden),#calculator-page .notice.good:not(.hidden){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;height:auto!important;min-height:50px!important;white-space:normal!important;word-wrap:break-word!important;overflow:visible!important;padding:12px 15px!important;text-align:center!important}#calculator-page #sharp-face-result span,#calculator-page .notice.good span{white-space:normal!important;text-align:center!important;line-height:1.4!important;display:block!important;width:100%!important}#astro-npf-state{border:1px solid var(--border-color,rgba(127,127,127,.35));border-radius:10px;padding:14px;margin-bottom:20px;background:var(--card-bg,rgba(127,127,127,.08));overflow-wrap:anywhere}#astro-npf-state h3{margin:0 0 12px;font-size:1rem}.astro-npf-state-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.astro-npf-state-item{display:flex;flex-direction:column;gap:5px;min-width:0;padding:10px;border:1px solid var(--border-color,rgba(127,127,127,.25));border-radius:8px}.astro-npf-context,.astro-npf-fallback-note,.astro-npf-state-item small,.astro-npf-state-item span{line-height:1.45}.astro-npf-context,.astro-npf-fallback-note{margin:10px 0 0}#astro-npf-state[data-diffraction-status=warning] .astro-npf-diffraction-state{border-width:2px;border-color:var(--warning-border)}#astro-landscape-state{border:1px solid var(--border-color,rgba(127,127,127,.35));border-radius:12px;padding:16px;margin-top:15px;margin-bottom:0;background:var(--card-bg,rgba(127,127,127,.08));overflow-wrap:anywhere}.astro-landscape-state-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.astro-landscape-state-header h3,.astro-landscape-state-header p{margin:0}.astro-landscape-state-header p{margin-top:4px;line-height:1.45}.astro-landscape-state-icon{font-size:1.35rem;font-weight:800}.astro-landscape-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.astro-landscape-summary-item{display:flex;flex-direction:column;gap:5px;min-width:0;padding:10px;border:1px solid var(--border-color,rgba(127,127,127,.25));border-radius:8px;line-height:1.4}.astro-landscape-calculation-details,.astro-landscape-technical-details{margin-top:12px}.astro-landscape-calculation-details>summary,.astro-landscape-technical-details>summary{cursor:pointer;font-weight:700}.astro-landscape-calculation-details[open]>summary,.astro-landscape-technical-details[open]>summary{margin-bottom:12px}.astro-landscape-calculation-details-body>strong:first-child{display:none!important}.astro-landscape-state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.astro-landscape-state-item{display:flex;flex-direction:column;gap:5px;min-width:0;padding:10px;border:1px solid var(--border-color,rgba(127,127,127,.25));border-radius:8px;line-height:1.4}.astro-landscape-diffraction-state{grid-column:1/-1}#astro-landscape-state[data-status=optimizable]{border-color:var(--warning-border)}#astro-landscape-state[data-diffraction-status=warning] .astro-landscape-diffraction-state,#astro-landscape-state[data-status=impossible],#astro-landscape-state[data-status=insufficient]{border-color:var(--warning-border);border-width:2px}.astro-landscape-assistant-control small{display:block;margin-top:8px;line-height:1.4}#astro-landscape-assistant-btn:focus-visible{outline:3px solid var(--accent,#7dd3fc)!important;outline-offset:3px;transform:none!important;box-shadow:0 0 0 5px rgba(125,211,252,.38),0 4px 12px rgba(0,0,0,.35)!important}@media (max-width:720px){.astro-landscape-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.astro-landscape-state-grid{grid-template-columns:minmax(0,1fr)}.astro-landscape-diffraction-state{grid-column:auto}}@media (max-width:460px){.astro-landscape-summary-grid{grid-template-columns:minmax(0,1fr)}}#calculator-page .dof-visualizer{overflow:visible!important}html body .custom-select-wrapper input,html body select{-webkit-appearance:none!important;appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important;padding-right:40px!important}html.dark-theme body .custom-select-wrapper input,html.dark-theme body select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23B0B0B0' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important}html body .custom-select-wrapper.open{z-index:1000!important}html body .form-group:has(.custom-select-wrapper.open){z-index:1000!important;position:relative!important}html body fieldset:has(.custom-select-wrapper.open){z-index:1000!important;position:relative!important}html body .theme-switch input[type=checkbox]{display:none!important;-webkit-appearance:none!important;appearance:none!important}html body .theme-switch{width:auto!important;height:auto!important;display:flex!important;align-items:center!important;gap:8px!important;background:0 0!important;border:none!important;margin:0!important;padding:0!important}html body .theme-switch .slider{position:relative!important;width:44px!important;height:24px!important;flex-shrink:0!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;background-color:rgba(255,255,255,.2)!important;border-radius:34px!important;border:1px solid rgba(255,255,255,.2)!important}html body .theme-switch .slider:before{top:2px!important;left:2px!important;width:18px!important;height:18px!important}html body .theme-switch input:checked+.slider:before{transform:translateX(20px)!important}html body .modern-header .theme-switch-wrapper{background:0 0!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important;backdrop-filter:none!important}html body .language-select-modern{height:36px!important;display:flex!important;align-items:center!important}#astro-options .divider,#portrait-options .divider,#sharpness-assistant-options .divider,#street-assistant-controls+.divider{display:none!important;margin:0!important;border:none!important;padding:0!important}.secondary-action-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;margin-top:8px;background:rgba(255,255,255,.08);border:none;border-radius:12px;color:rgba(255,255,255,.9);font-size:.95em;font-weight:600;cursor:pointer;transition:all .3s ease;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 1px 1px 2px rgba(255,255,255,.25),inset -1px -1px 3px rgba(0,0,0,.4),0 4px 12px rgba(0,0,0,.2);-webkit-tap-highlight-color:transparent!important;outline:0!important;z-index:1}.secondary-action-btn::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.6) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;z-index:-1}.secondary-action-btn:hover{background:rgba(255,255,255,.12);transform:translateY(-2px);box-shadow:inset 1px 1px 3px rgba(255,255,255,.35),inset -1px -1px 4px rgba(0,0,0,.5),0 8px 16px rgba(0,0,0,.3)}.secondary-action-btn:active,.secondary-action-btn:focus{transform:scale(.98);background:rgba(255,255,255,.2);outline:0!important;box-shadow:none!important}#landscape-sharpness-assistant-btn:focus-visible{outline:3px solid var(--accent,#7dd3fc)!important;outline-offset:3px;transform:none!important;box-shadow:0 0 0 5px rgba(125,211,252,.38),0 4px 12px rgba(0,0,0,.35)!important}#action-smart-assistant-btn:focus-visible,#realty-sharpness-assistant-btn:focus-visible{outline:3px solid var(--accent,#7dd3fc)!important;outline-offset:3px;transform:none!important;box-shadow:0 0 0 5px rgba(125,211,252,.38),0 4px 12px rgba(0,0,0,.35)!important}.secondary-action-btn:disabled,.secondary-action-btn[aria-disabled=true]{cursor:not-allowed;opacity:.55}#concerts-sharpness-assistant-btn:focus-visible{outline:3px solid var(--accent,#7dd3fc)!important;outline-offset:3px;transform:none!important;box-shadow:0 0 0 5px rgba(125,211,252,.38),0 4px 12px rgba(0,0,0,.35)!important}button#sharpness-assistant-btn.active-assistant{background:linear-gradient(135deg,rgba(46,213,115,.4) 0,rgba(72,219,251,.4) 100%)!important;border:1px solid #2ed573!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.5)!important;box-shadow:0 0 15px rgba(46,213,115,.4)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;z-index:10!important}button#sharpness-assistant-btn.active-assistant:active,button#sharpness-assistant-btn.active-assistant:focus,button#sharpness-assistant-btn.active-assistant:hover{background:linear-gradient(135deg,rgba(46,213,115,.5) 0,rgba(72,219,251,.5) 100%)!important;transform:translateY(-1px)!important;outline:0!important;box-shadow:0 0 20px rgba(46,213,115,.5)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.badge-success,.badge-warning{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.8em;font-weight:700;margin-left:8px;vertical-align:middle}.badge-success{background-color:rgba(40,200,69,.15);color:#4cd964;border:1px solid rgba(40,200,69,.3)}.badge-warning{background-color:rgba(255,193,7,.15);color:#fc0;border:1px solid rgba(255,193,7,.3)}.fix-button{width:100%;margin-bottom:8px;padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;font-weight:500;cursor:pointer;transition:all .2s;text-align:left;display:flex;justify-content:space-between;align-items:center}.fix-button:active,.fix-button:hover{background:rgba(255,255,255,.1);transform:translateY(-1px)}.fix-button strong{color:#fff;font-weight:800}.fix-button[data-primary=true]{background:rgba(79,172,254,.15);border-color:rgba(79,172,254,.4)}.modal-text-message{color:#ddd;margin:15px 0 10px;font-size:.95rem;text-align:center;line-height:1.5;background:rgba(255,255,255,.05);padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.fix-button.primary-action{background:linear-gradient(135deg,#4cd964,#2c8c43);color:#fff;font-weight:600;border:none;box-shadow:0 4px 12px rgba(76,217,100,.3)!important}.fix-button{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}.badge-block{display:inline-block;margin-top:2px;padding:4px 8px;white-space:normal;line-height:1.2;text-align:left}.highlight-distance{color:#64dd17;font-size:1.1em;font-weight:800;margin-right:4px}html.light-theme .highlight-distance{color:#008ba3}.fix-button[data-primary=true]{background:rgba(41,98,255,.25);border-color:rgba(41,98,255,.6)}.fix-button strong{color:#fff;font-weight:800}html.light-theme .fix-button strong{color:#000}html body button.gear-info-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;min-height:22px!important;max-height:22px!important;padding:0!important;margin:0!important;background:rgba(79,172,254,.3)!important;border:1.5px solid rgba(79,172,254,.7)!important;border-radius:50%!important;color:#fff!important;font-size:12px!important;font-weight:700!important;font-family:monospace!important;cursor:pointer!important;box-shadow:0 0 8px rgba(79,172,254,.4)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;line-height:1!important}html body button.gear-info-btn:active,html body button.gear-info-btn:hover{background:rgba(79,172,254,.5)!important;border-color:#4facfe!important;transform:scale(1.15)!important;box-shadow:0 0 12px rgba(79,172,254,.6)!important}#backpack-modal #backpack-list.gear-grid,#backpack-modal .gear-grid{display:flex!important;flex-direction:column!important;gap:10px!important;grid-template-columns:none!important}#backpack-modal #backpack-list .gear-card{width:100%!important;max-width:100%!important}#astro-trail-result{flex-wrap:nowrap!important;white-space:nowrap!important}#astro-trail-result>span{display:inline-flex!important;align-items:baseline!important;gap:4px!important;white-space:nowrap!important;flex-shrink:1!important;min-width:0!important}#astro-trail-result>span>strong{display:inline!important}#astro-trail-result .info-button{flex-shrink:0!important}.secondary-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:12px 20px;background:linear-gradient(135deg,rgba(255,255,255,.08) 0,rgba(255,255,255,.02) 100%);border:none;border-radius:12px;color:rgba(255,255,255,.9);font-weight:600;font-size:.95em;cursor:pointer;transition:all .3s ease;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 1px 1px 2px rgba(255,255,255,.3),inset -1px -1px 3px rgba(0,0,0,.25),0 6px 16px rgba(0,0,0,.2);position:relative}.secondary-action-btn::before{content:"";position:absolute;inset:0;border-radius:12px;padding:1.5px;background:linear-gradient(135deg,rgba(255,255,255,.6) 0,rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 70%,rgba(255,255,255,.2) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.secondary-action-btn:active{transform:scale(.97);background:linear-gradient(135deg,rgba(255,255,255,.12) 0,rgba(255,255,255,.04) 100%)}.sky-pick-fab{background:linear-gradient(135deg,#04de71,#00b85c)!important;color:#fff!important;font-weight:700!important;box-shadow:0 4px 20px rgba(4,222,113,.4)!important;border:none!important;padding:14px 28px!important;border-radius:30px!important;font-size:1em!important;cursor:pointer!important;z-index:10001!important;position:fixed!important;bottom:40px!important;left:50%!important;transform:translateX(-50%)!important;animation:skyPickFabPulse 2s ease-in-out infinite}@keyframes skyPickFabPulse{0%,100%{box-shadow:0 4px 20px rgba(4,222,113,.4)}50%{box-shadow:0 6px 30px rgba(4,222,113,.6)}}html body .custom-select-wrapper input:focus,html body .form-group input:focus,html body .form-group select:focus,html body input:focus,html body input[type=number]:focus,html body input[type=text]:focus,html body select:focus,html body textarea:focus{outline:0!important;border-color:rgba(200,200,200,.3)!important;box-shadow:0 0 0 1px rgba(180,180,180,.12)!important;-webkit-tap-highlight-color:transparent!important}body,html{overflow-x:hidden!important;max-width:100vw!important;overscroll-behavior-x:none!important}#calculator-page .container,.calculator-wrapper,.main-content{overflow-x:hidden!important;touch-action:pan-y!important;max-width:100%!important}#dashboard-body{overflow-x:hidden!important}@media (max-width:599px){#calculator-page .container{padding-top:calc(16px + env(safe-area-inset-top))!important}#calculator-page .header-logo{padding-top:4px!important}#calculator-page .back-button-modern{margin-top:4px!important}}#cw-add-light-overlay .modal-content,#cw-import-alert .modal-content,#cw-import-overlay .modal-content,#plotter-confirm-overlay .modal-content,.exposure-kit-modal-content,.modal-content.glass-panel,.modal-content.glass-panel.gear-form-modal{position:relative!important;border:none!important;overflow:visible!important}#cw-add-light-overlay .modal-content::before,#cw-import-alert .modal-content::before,#cw-import-overlay .modal-content::before,.modal-content.glass-panel.gear-form-modal::before,.modal-content.glass-panel::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;border-radius:24px!important;padding:1.5px!important;background:linear-gradient(135deg,rgba(255,255,255,.8) 0,rgba(255,255,255,0) 25%,rgba(255,255,255,0) 75%,rgba(255,255,255,.2) 100%)!important;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;pointer-events:none!important;z-index:0!important}#plotter-confirm-overlay .modal-content::before,.exposure-kit-modal-content::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;border-radius:20px!important;padding:1.5px!important;background:linear-gradient(135deg,rgba(255,255,255,.8) 0,rgba(255,255,255,0) 25%,rgba(255,255,255,0) 75%,rgba(255,255,255,.2) 100%)!important;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;pointer-events:none!important;z-index:0!important}#calculator-page :is(
a[href],button,input,select,textarea,[role=button],[tabindex]:not([tabindex="-1"])
):focus-visible{outline:3px solid #ffffff!important;outline-offset:3px!important;box-shadow:0 0 0 6px #1267d6!important}body[data-mode=astro][data-astro-graphic-content=none] .calculator-body{grid-template-columns:minmax(0,1fr)!important}
