html,body,#root{min-height:100vh;margin:0;font-family:Geist}.global{background:#f3f4f6;flex-direction:column;width:100%;min-height:100vh;display:flex}body{margin:0}.auth-shell{box-sizing:border-box;background:#f3f4f6;flex-direction:column;min-height:100vh;padding:28px clamp(12px,4vw,32px) 18px;display:flex}.auth-stage{flex:1;place-items:center;padding:40px 16px;display:grid}.auth-card{background:#fff;border:1px solid #e3e8ef;border-radius:18px;width:min(100%,544px);min-height:280px;padding:42px 18px 18px;box-shadow:0 14px 30px #0f172a14}.auth-title{text-align:center;color:#0279c5;margin:0 0 25px;font-family:Geist,sans-serif;font-size:clamp(1.8rem,3vw,2.2rem);font-weight:700;line-height:1.1}.auth-label{color:#bab8b8;margin-bottom:10px;font-family:Geist,sans-serif;font-size:18px;font-weight:400;display:block}.auth-input{color:#334155;box-sizing:border-box;background:#fff;border:1px solid #d9e0e8;border-radius:8px;outline:none;width:100%;height:60px;padding:0 14px;font-size:16px}.auth-input:focus{border-color:#1480ca;box-shadow:0 0 0 3px #1480ca24}.auth-button{color:#fff;cursor:pointer;background:linear-gradient(#007bc3 0%,#00446b 100%);border:0;border-radius:9px;width:100%;height:65px;margin-top:18px;font-family:Geist,sans-serif;font-size:18px;font-weight:700;transition:opacity .2s,transform .2s}.auth-button:hover:not(:disabled){transform:translateY(-1px)}.auth-button:disabled{opacity:.7;cursor:not-allowed}.auth-error{text-align:left;color:#b91c1c;margin:16px 0 0;padding-left:4px;font-family:Geist,sans-serif;font-size:.92rem;line-height:1.45}@media (width<=640px){.auth-shell{padding:16px}.auth-card{width:100%;min-height:unset;padding:30px 16px 18px}.auth-label{font-size:16px}.auth-input,.auth-button{height:52px}}.header{box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;border-radius:25px;justify-content:space-between;align-items:center;width:100%;max-width:1340px;min-height:100px;margin:20px auto;padding:30px 40px;display:flex}.header-left{align-items:center;display:flex}.logo{object-fit:contain;width:223px;max-width:100%;height:auto}.header-right{color:#1f2937;align-items:center;gap:14px;font-size:14px;display:flex}.header-help{white-space:nowrap;align-items:center;gap:8px;font-family:Geist,sans-serif;font-size:14px;font-weight:600;display:flex}.help-icon{border:1px solid #1f2937;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;display:flex}.header-profile-menu{position:relative}.header-profile-trigger{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex}.header-avatar{color:#fff;letter-spacing:.04em;background:#0f6cbd;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-family:Geist,sans-serif;font-size:14px;font-weight:700;display:flex;box-shadow:0 4px 14px #0f6cbd2e}.header-profile-dropdown{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:16px;min-width:240px;padding:14px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 40px #0f172a1f}.header-profile-details{border-bottom:1px solid #e5e7eb;flex-direction:column;gap:4px;margin-bottom:12px;padding-bottom:12px;display:flex}.header-profile-name{color:#0f172a;font-family:Geist,sans-serif;font-size:14px;font-weight:700}.header-profile-email{color:#64748b;word-break:break-word;font-family:Geist,sans-serif;font-size:13px}.header-dropdown-signout{color:#0f172a;cursor:pointer;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%;padding:10px 14px;font-family:Geist,sans-serif;font-size:14px;font-weight:600}.header-dropdown-signout:hover{background:#f8fafc}@media (width<=1024px){.header{padding:24px 32px}.logo{width:180px}.header-right{font-size:13px}.header-user-name{max-width:160px}}@media (width<=768px){.header{border-radius:18px;padding:20px 24px}.logo{width:160px}.header-right{gap:6px;font-size:13px}.header-help{gap:6px;font-size:12px;display:flex}.header-user{align-items:flex-start}.header-user-name{max-width:150px}.help-icon{width:16px;height:16px;font-size:11px}}@media (width<=576px){.header{border-radius:16px;flex-flow:row;justify-content:space-between;align-items:center;gap:12px;margin:10px;padding:16px}.header-right{justify-content:flex-end;gap:10px;width:auto;font-size:12px}.logo{width:140px}.header-user-label{display:none}.header-user-name{max-width:110px;font-size:12px}.header-logout{padding:8px 12px}}@media (width<=375px){.header{padding:14px}.logo{width:120px}.header-right{gap:4px;font-size:11px}.header-user-name{max-width:88px}.help-icon{width:14px;height:14px;font-size:10px}}.footer{box-sizing:border-box;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;width:100%;padding:10px 40px;font-family:Geist,sans-serif;display:flex}.footer-left{color:#6b7280;font-size:13px}.footer-right{align-items:center;gap:12px;display:flex}.footer-right a,span{color:#6b7280;font-size:13px;text-decoration:underline}.results-card{color:#fff;background:linear-gradient(135deg,#0279c5 0%,#1e3a5f 100%);border-radius:25px;flex-direction:column;gap:18px;width:100%;max-width:1126px;padding:40px 44px;display:flex}.results-header{justify-content:space-between;align-items:center;display:flex}.results-title{margin:0;font-family:Geist,sans-serif;font-size:20px;font-weight:500}.download-btn{color:#fff;cursor:pointer;background:#ffffff26;border:1px solid #ffffff80;border-radius:8px;flex-direction:row;align-items:center;gap:6px;height:40px;padding:0 20px;font-family:Geist,sans-serif;display:flex}.download-icon{width:16px;height:16px}.results-content{gap:24px;display:flex}.pressure-card{background:#ffffff21;border-radius:20px;flex:1;min-height:204px;padding:30px 24px;position:relative}.pressure-label{margin:0;font-family:Geist,sans-serif;font-size:20px}.pressure-value{margin-top:30px;font-family:Geist,sans-serif;font-size:60px;font-weight:700}.pressure-icon{background:#ffffff26;border-radius:12px;justify-content:center;align-items:center;width:36px;height:36px;display:flex;position:absolute;top:20px;right:20px}.details-card{border-radius:20px;flex-direction:column;flex:1;gap:10px;min-height:204px;padding:30px 24px;display:flex}.detail-row span{color:#fff;text-decoration:none}.detail-row{justify-content:space-between;padding-bottom:8px;font-family:Geist,sans-serif;font-size:12px;display:flex}.detail-row strong{font-weight:700}.warning-box{background:#ffffff1f;border-radius:10px;align-items:center;width:1098px;height:48px;padding:14px 16px;font-family:Geist,sans-serif;font-size:13px;display:flex}@media (width<=768px){.results-card{padding:24px}.results-content{flex-direction:column}.pressure-value{font-size:42px}.results-header{flex-direction:row;align-items:flex-start;gap:16px}}.home-container{background:#f3f4f6;flex-direction:column;align-items:center;gap:20px;padding:20px;display:flex}.pipe-sizing-card,.system-card,.config-card{box-sizing:border-box;width:100%;max-width:1200px}.pipe-sizing-card{background:linear-gradient(135deg,#0279c5 0%,#1e3a5f 100%);border-radius:25px;flex-direction:column;justify-content:center;gap:20px;width:1200px;height:220px;padding:40px 44px;display:flex}.pipe-sizing-title{color:#fff;margin:0;font-family:Geist,sans-serif;font-size:32px;font-weight:800;line-height:100%}.pipe-sizing-description{color:#f5f2ef;margin:0;font-family:Geist,sans-serif;font-size:16px;font-weight:400;line-height:150%}.system-card,.config-card{background:#fff;border:1px solid #e5e7eb;border-radius:25px;flex-direction:column;gap:24px;padding:32px;display:flex;box-shadow:0 2px 4px #00000008}.section-header{align-items:center;gap:12px;margin-bottom:8px;display:flex}.section-icon{object-fit:contain;width:36px;height:36px}.card-title{color:#111827;margin:0;font-family:Geist,sans-serif;font-size:20px;font-weight:700}.form-row{gap:24px;display:flex}.form-group{flex-direction:column;flex:1;gap:8px;display:flex}.form-group label{color:#111827;font-family:Geist,sans-serif;font-size:14px;font-weight:600;line-height:100%}.form-group>input,.form-group>select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;height:48px;padding:12px 16px;font-family:Geist,sans-serif}.form-group>select{appearance:none;color:#6b7280;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 22px center;background-repeat:no-repeat;padding-right:30px}.form-group input:focus,.form-group select:focus{border-color:#2563eb}.input-with-unit{background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;width:100%;min-width:0;height:48px;font-family:Geist,sans-serif;display:flex;overflow:hidden}.input-with-unit input{border:none;outline:none;flex:1;width:100%;min-width:0;height:100%;padding:0 16px;font-family:Geist,sans-serif;font-size:14px}.input-with-unit input:focus{border:none}.unit-select{color:#6b7280;cursor:pointer;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667085' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 20px center no-repeat;border:none;border-left:1px solid #e5e7eb;outline:none;width:90px;height:48px;padding-left:20px;font-size:14px;font-weight:600}.field-description{color:#6b7280;margin:0;font-family:Geist,sans-serif;font-size:12px;font-weight:400;line-height:150%}.flow-rate-group{gap:12px;display:flex}.flow-rate-group .input-with-unit{min-width:0}.unit-text{color:#4b5563;background:#fff;border-left:1px solid #e5e7eb;justify-content:center;align-items:center;width:80px;min-width:80px;height:100%;font-family:Geist,sans-serif;font-size:14px;font-weight:600;display:flex}.action-buttons-container{justify-content:center;align-items:center;gap:12px;width:100%;max-width:1200px;height:67px;display:flex}.clear-btn{color:#1e3a5f;cursor:pointer;background:#fff;border:1px solid #1e3a5f;border-radius:15px;width:316px;height:67px;font-family:Geist,sans-serif;font-size:14px;font-weight:600;transition:all .2s}.clear-btn:hover{background:#f8fafc}.calculate-btn{cursor:pointer;border:none;border-radius:15px;width:316px;height:67px;font-family:Geist,sans-serif;font-size:14px;font-weight:600;transition:all .3s}@media (width>=1400px){.home-container{padding:24px}}@media (width<=1200px){.pipe-sizing-card,.system-card,.config-card,.action-buttons-container{width:100%;max-width:100%}.pipe-sizing-card{height:auto;min-height:220px}.pipe-sizing-title{font-size:30px}}@media (width<=1024px){.home-container{gap:16px;padding:20px}.pipe-sizing-card{padding:32px}.system-card,.config-card{padding:24px}.pipe-sizing-title{font-size:28px}.pipe-sizing-description{font-size:15px}.form-row{gap:16px}.action-buttons-container{gap:10px}.clear-btn,.calculate-btn{width:auto}}@media (width<=768px){.home-container{padding:16px}.pipe-sizing-card{border-radius:20px;min-height:auto;padding:24px}.system-card,.config-card{border-radius:20px;padding:20px}.form-row{flex-direction:column;gap:20px}.section-header{gap:10px}.section-icon{width:32px;height:32px}.card-title{font-size:18px}.pipe-sizing-title{font-size:24px;line-height:1.2}.pipe-sizing-description{max-width:100%;font-size:14px}.action-buttons-container{flex-direction:column;gap:12px;height:auto}.clear-btn,.calculate-btn{width:100%;height:56px}}@media (width<=576px){.home-container{gap:12px;padding:12px}.pipe-sizing-card{border-radius:16px;padding:20px}.system-card,.config-card{border-radius:16px;padding:16px}.pipe-sizing-title{font-size:22px}.pipe-sizing-description{font-size:13px;line-height:1.6}.card-title{font-size:16px}.form-group label{font-size:13px}.form-group>input,.form-group>select,.input-with-unit{height:44px}.unit-select,.unit-text{width:70px;min-width:70px;font-size:12px}.field-description{font-size:11px}.clear-btn,.calculate-btn{border-radius:12px;height:50px;font-size:13px}}@media (width<=480px){.pipe-sizing-title{font-size:20px}.pipe-sizing-description{font-size:12px}.card-title{font-size:15px}.section-icon{width:28px;height:28px}.flow-rate-group{flex-direction:column;gap:10px}.unit-select,.unit-text{width:65px;min-width:65px}}@media (width<=375px){.home-container{padding:10px}.pipe-sizing-card{padding:16px}.system-card,.config-card{padding:14px}.pipe-sizing-title{font-size:18px}.pipe-sizing-description{font-size:11px}.card-title{font-size:14px}.form-group label{font-size:12px}.form-group>input,.form-group>select,.input-with-unit{height:42px;font-size:13px}.clear-btn,.calculate-btn{height:48px;font-size:12px}}
