@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap";:root{--primary:#176b87;--primary-dark:#005a74;--primary-soft:#dff3fb;--secondary:#2a7f75;--secondary-dark:#005e55;--secondary-soft:#dff7f2;--assumption:#c58a17;--assumption-soft:#fff5d9;--background:#f7fafc;--surface:#fff;--surface-muted:#e8eff2;--surface-low:#eff4f7;--border:#aab3b7;--border-soft:#dbe4e8;--text:#2b3437;--muted:#586064;--error:#a83836;--radius:8px;--shadow:0 1px 3px #192f3814;font-synthesis:none;text-rendering:optimizelegibility}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--background);min-width:320px;color:var(--text);margin:0;font-family:Inter,system-ui,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,strong{letter-spacing:0}h1,h2,h3,.brand{font-family:Sora,system-ui,sans-serif}p{line-height:1.55}:focus-visible{outline-offset:2px;outline:3px solid #176b8747}.app-shell{flex-direction:column;min-height:100vh;display:flex}.site-header{z-index:50;border-bottom:1px solid var(--border-soft);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;justify-content:space-between;align-items:center;gap:28px;min-height:60px;padding:0 28px;display:flex;position:sticky;top:0}.brand{color:var(--text);white-space:nowrap;align-items:center;gap:9px;font-size:19px;font-weight:800;display:inline-flex}.brand svg{color:var(--primary);width:23px}.desktop-nav{align-self:stretch;align-items:stretch;gap:4px;display:flex}.desktop-nav a{color:var(--muted);align-items:center;padding:0 12px;font-size:14px;font-weight:500;display:flex;position:relative}.desktop-nav a:hover,.desktop-nav a.active{color:var(--primary)}.desktop-nav a.active:after{content:"";background:var(--primary);height:2px;position:absolute;bottom:0;left:12px;right:12px}.menu-button,.icon-button{width:44px;height:44px;color:var(--muted);border-radius:var(--radius);background:0 0;border:1px solid #0000;place-items:center;display:none}.menu-button svg,.icon-button svg{width:20px}.mobile-nav{background:var(--surface);border-bottom:1px solid var(--border-soft);box-shadow:var(--shadow);padding:8px 16px 16px;display:grid;position:absolute;top:59px;left:0;right:0}.mobile-nav a{min-height:44px;color:var(--muted);border-radius:6px;align-items:center;padding:0 10px;display:flex}.mobile-nav a.active{color:var(--primary);background:var(--surface-low);font-weight:600}.site-main{flex:1;gap:64px;width:min(1240px,100% - 48px);margin:0 auto;padding:44px 0 72px;display:grid}.reading-main{max-width:900px}.page-intro{gap:10px;max-width:800px;display:grid}.page-intro h1,.article-page h1{color:var(--text);margin:0;font-size:42px;font-weight:800;line-height:1.16}.page-intro>p:not(.eyebrow),.article-page header>p{max-width:760px;color:var(--muted);margin:0;font-size:18px}.eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:.1em;margin:0;font-size:12px;font-weight:700;line-height:18px}.converter-workspace{grid-template-columns:minmax(0,7fr) minmax(360px,5fr);align-items:stretch;gap:36px;display:grid}.input-panel{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);gap:24px;padding:28px;display:grid}.control-group{gap:8px;display:grid}.control-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:700;line-height:20px;display:block}.segmented{background:var(--surface-low);border:1px solid var(--border-soft);border-radius:var(--radius);grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.segmented button{min-width:0;min-height:44px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;padding:8px 14px;font-weight:600}.segmented button[aria-selected=true]{background:var(--surface);border-color:var(--border-soft);box-shadow:var(--shadow);color:var(--primary)}.segmented.compact{max-width:390px}.segmented.compact button{min-height:40px}.dimension-grid{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:end;gap:10px;display:grid}.dimension-grid.single{grid-template-columns:minmax(0,1fr);max-width:420px}.number-field{gap:7px;min-width:0;display:grid}.number-field>span:first-child{color:var(--muted);font-size:14px;font-weight:600}.input-wrap{min-width:0;display:block;position:relative}.input-wrap input{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;height:50px;color:var(--text);font-variant-numeric:tabular-nums;outline:none;padding:0 48px 0 14px;font-size:18px}.input-wrap input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #176b871f}.input-wrap b{color:var(--muted);font-size:13px;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.times{height:50px;color:var(--border);place-items:center;font-size:20px;display:grid}.ppi-panel{background:var(--surface-low);border:1px solid var(--border-soft);border-radius:var(--radius);gap:14px;padding:18px;display:grid}.ppi-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.ppi-heading p{color:var(--muted);margin:3px 0 0;font-size:13px}.active-ppi{background:var(--assumption-soft);color:#76500a;border:1px solid #e3bf6e;border-radius:6px;flex:none;align-items:center;gap:5px;padding:5px 8px;font-size:12px;font-weight:700;display:inline-flex}.ppi-options{flex-wrap:wrap;gap:8px;display:flex}.ppi-options>button{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:48px;min-height:44px;color:var(--muted);padding:8px 12px;font-weight:600}.ppi-options>button.selected{border-color:var(--assumption);background:var(--assumption-soft);color:#76500a;box-shadow:inset 0 0 0 1px var(--assumption)}.custom-ppi{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-height:44px;color:var(--muted);align-items:center;gap:8px;padding-left:10px;font-size:12px;font-weight:600;display:flex}.custom-ppi input{border:0;border-left:1px solid var(--border-soft);background:0 0;outline:none;width:92px;min-width:0;height:42px;padding:0 10px}.text-button{color:var(--primary);background:0 0;border:0;justify-self:start;padding:0;font-weight:600}.assumption{color:#76500a;margin:0;font-size:13px}.actions{align-items:center;gap:10px;display:flex}.primary-button{border:1px solid var(--primary);border-radius:var(--radius);background:var(--primary);color:#fff;min-height:46px;box-shadow:var(--shadow);justify-content:center;align-items:center;gap:8px;padding:11px 20px;font-weight:700;display:inline-flex}.primary-button:hover{background:var(--primary-dark)}.primary-button.inline{width:fit-content}.actions .icon-button{border-color:var(--border-soft);background:var(--surface);display:grid}.result-panel{border:1px solid var(--border-soft);border-left:4px solid var(--border);border-radius:var(--radius);background:var(--surface-low);flex-direction:column;align-self:start;min-width:0;min-height:430px;padding:28px;display:flex;overflow:hidden}.result-panel.valid{border-left-color:var(--secondary);background:linear-gradient(180deg, var(--secondary-soft), var(--surface-low))}.result-top{min-height:28px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:700;display:flex}.valid-label{color:var(--secondary-dark);background:#fff;border:1px solid #8cd8cb;border-radius:6px;align-items:center;gap:4px;padding:4px 7px;display:inline-flex}.result-number{color:var(--secondary-dark);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:42px;font-family:Sora,system-ui,sans-serif;font-size:clamp(32px,4vw,48px);font-weight:700;line-height:1.1}.result-number small{color:var(--muted);font-size:.55em}.result-number em{color:var(--muted);font-size:.45em;font-style:normal;font-weight:600}.based-on{color:var(--secondary-dark);margin:10px 0 0;font-size:14px;font-weight:600}.rounded{color:var(--muted);margin:8px 0 0;font-size:13px}.formula-box{border:1px solid var(--border-soft);border-radius:var(--radius);color:var(--muted);overflow-wrap:anywhere;background:#ffffffb3;gap:7px;margin-top:24px;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;display:grid}.result-actions{gap:8px;margin-top:18px;display:flex}.result-actions button{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface);min-height:44px;color:var(--text);justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-weight:600;display:inline-flex}.result-actions button:first-child{flex:1}.empty-state{text-align:center;min-height:300px;color:var(--muted);align-content:center;place-items:center;gap:10px;display:grid}.empty-state svg{width:34px;height:34px;color:var(--border)}.empty-state h2{margin:0;font-size:20px}.empty-state p{max-width:300px;margin:0}.copy-status{min-height:20px;color:var(--secondary-dark);margin:10px 0 0;font-size:13px}.result-disclaimer{border-top:1px solid var(--border-soft);color:var(--muted);margin:auto 0 0;padding-top:18px;font-size:12px}.comparison-section,.common-sizes{gap:22px;display:grid}.comparison-section h2,.content-band h2,.article-page h2{margin:0;font-size:25px;line-height:1.25}.comparison-section>div:first-child p,.table-note{color:var(--muted);margin:8px 0 0}.table-shell{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{border-bottom:1px solid var(--border-soft);text-align:left;vertical-align:middle;padding:14px 16px}th{background:var(--surface-low);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfe}.numeric{font-variant-numeric:tabular-nums}.nowrap-value{white-space:nowrap}.table-action{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--primary);border-radius:6px;padding:7px 11px;font-weight:600}.table-note{font-size:13px}.content-band{border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);padding:40px 0}.content-band p{color:var(--muted)}.three-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;display:grid}.three-steps>div{min-width:0}.three-steps span{color:var(--primary);font-weight:800}.three-steps h2{margin-top:12px;font-size:19px}.split-content{grid-template-columns:1fr 1fr;gap:64px;display:grid}.content-band code,.formula-pair code,.example-list code{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface-low);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px;padding:15px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.65;display:block}.faq-section{gap:12px;display:grid}.faq-section h2{margin-bottom:10px}details{border-bottom:1px solid var(--border-soft)}summary{cursor:pointer;align-items:center;min-height:52px;font-weight:700;display:flex}details p{margin:0 0 18px}.print-tool{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface-low);grid-template-columns:1fr 1fr;gap:40px;padding:28px;display:grid}.print-tool h2{margin:0 0 22px}.print-tool .ppi-options{margin-top:20px}.print-result{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;justify-content:center;gap:12px;min-height:320px;padding:28px;display:flex}.print-result>svg{color:var(--secondary)}.print-result>span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.print-result strong{color:var(--secondary-dark);font-variant-numeric:tabular-nums;font-size:42px}.print-result strong em{color:var(--muted);font-size:22px;font-style:normal}.print-result p{color:var(--secondary-dark);margin:0}.print-result code{background:var(--surface-low);border-radius:6px;padding:13px;line-height:1.7;display:grid}.example-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.notice{border-radius:var(--radius);background:var(--assumption-soft);border:1px solid #e8c77d;padding:14px 16px;color:#684806!important}.article-page{gap:42px;display:grid}.article-page header,.article-page section{gap:12px;display:grid}.article-page section p{color:var(--muted);margin:0}.term-grid{border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);grid-template-columns:1fr 1fr;gap:38px;padding:36px 0}.term-grid>div{gap:12px;display:grid}.term-grid svg{color:var(--primary)}.formula-pair{grid-template-columns:1fr 1fr;gap:14px;display:grid}.formula-pair code{margin-top:0}.dimension-example{grid-template-columns:1fr 1fr;gap:20px}.dimension-example>div{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface-low);gap:12px;padding:20px;display:grid}.dimension-example strong{color:var(--secondary-dark);font-size:25px}.legal-page{gap:32px}.legal-page section{border-top:1px solid var(--border-soft);padding-top:25px}.legal-page h2{font-size:21px}.mobile-ppi-picker,.mobile-common{display:none}.not-found{text-align:center;align-content:center;place-items:center;gap:16px;min-height:55vh;display:grid}.not-found svg{color:var(--primary);width:44px;height:44px}.not-found h1,.not-found p{margin:0}.site-footer{border-top:1px solid var(--border-soft);background:var(--surface-low);color:var(--muted);justify-content:space-between;align-items:center;gap:30px;padding:28px max(28px,50vw - 620px);display:flex}.site-footer strong{color:var(--text)}.site-footer p{max-width:640px;margin:5px 0 0;font-size:13px}.site-footer nav{flex-wrap:wrap;justify-content:flex-end;gap:18px;display:flex}.site-footer a{text-underline-offset:3px;font-size:13px;text-decoration:underline}.site-footer a:hover{color:var(--primary)}@media (width<=940px){.desktop-nav{display:none}.menu-button{display:grid}.site-main{gap:48px;width:min(100% - 32px,100%);padding-top:32px}.converter-workspace,.print-tool{grid-template-columns:1fr}.three-steps{gap:22px}.site-footer{padding-inline:20px}}@media (width<=680px){.site-header{min-height:56px;padding:0 16px}.brand{font-size:17px}.brand svg{width:20px}.mobile-nav{top:55px}.site-main{gap:38px;width:calc(100% - 32px);padding:26px 0 32px}.page-intro h1,.article-page h1{font-size:30px;line-height:1.2}.page-intro>p:not(.eyebrow),.article-page header>p{font-size:16px}.input-panel,.result-panel,.print-tool{padding:18px}.input-panel{gap:20px}.segmented{width:100%}.segmented button{overflow-wrap:anywhere;padding-inline:8px;font-size:13px}.dimension-grid{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:6px}.input-wrap input{height:48px;padding-left:10px;font-size:16px}.ppi-heading{display:grid}.active-ppi{justify-self:start}.custom-ppi{flex:130px}.custom-ppi input{flex:1;width:70px}.actions .primary-button{flex:1}.result-panel{min-height:390px}.result-number{margin-top:26px;font-size:32px}.comparison-section .table-shell{background:0 0;border:0;overflow:visible}.comparison-section table{min-width:0;display:block}.comparison-section thead{display:none}.comparison-section tbody{gap:10px;display:grid}.comparison-section tr{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface);grid-template-columns:1fr auto;gap:5px 14px;padding:13px;display:grid}.comparison-section td{border:0;padding:0}.comparison-section td:nth-child(2),.comparison-section td:nth-child(3){grid-column:1}.comparison-section td:nth-child(4){grid-area:1/2/span 3;align-self:center}.three-steps,.split-content,.term-grid,.formula-pair,.dimension-example,.example-list{grid-template-columns:1fr;gap:24px}.content-band{padding:30px 0}.content-band+.content-band{border-top:0;margin-top:-38px}.site-main>.content-band:last-child{border-bottom:0;padding-bottom:0}.faq-section details:last-child{border-bottom:0}.content-band h2,.comparison-section h2,.article-page h2{font-size:21px}.print-result strong{font-size:34px}.desktop-common{display:none}.mobile-ppi-picker,.mobile-common{gap:9px;display:grid}.mobile-ppi-picker>span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.mobile-common table{min-width:0}.mobile-common th:last-child,.mobile-common td:last-child{text-align:right}.site-footer{flex-direction:column;align-items:flex-start;padding:24px 16px}.site-footer nav{justify-content:flex-start;gap:14px}}@media (width<=360px){.dimension-grid{grid-template-columns:1fr}.times{height:18px}.result-actions{flex-wrap:wrap}.result-actions button:first-child{flex-basis:calc(100% - 52px)}.ppi-options>button{flex:48px}}
