@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');:root{--bg:#f7f7fc;--surface:#fff;--ink:#20213b;--muted:#777b93;--line:#e9e8f2;--primary:#7145d6;--pale:#f0eaff;--shadow:0 10px 30px #3021640a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}body.dark{--bg:#141522;--surface:#202235;--ink:#f5f2ff;--muted:#aaa9c1;--line:#34354b;--pale:#352a58;--shadow:0 10px 30px #0002}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a68bff;outline-offset:2px}.top{height:79px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(25px,calc((100vw - 1470px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:Outfit,sans-serif;font-weight:800;font-size:20px;line-height:1.05}.brand-accent{color:var(--primary)}.brand small{display:block;font:500 10px 'DM Sans';letter-spacing:1.3px;text-transform:uppercase;color:var(--muted);margin-top:5px}.logo{background:linear-gradient(145deg,#9669ff,#5630ba);color:white;border-radius:13px;width:42px;height:42px;display:grid;place-items:center;font-size:28px}.top-actions{display:flex;align-items:center;gap:14px}.iconbtn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:11px;padding:10px 14px}.store,.calculate{background:linear-gradient(110deg,#7c4ae0,#5930bd);color:white;text-decoration:none;border:0;border-radius:11px;padding:12px 17px;font-weight:700}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);max-width:1470px;margin:auto;min-height:calc(100vh - 142px)}.sidebar{border-right:1px solid var(--line);padding:30px 17px;display:flex;flex-direction:column;gap:6px}.side-label{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--muted);margin:18px 15px 10px}.nav{display:flex;gap:12px;align-items:center;text-align:left;border:0;background:transparent;color:var(--muted);padding:14px 16px;border-radius:12px;font-size:14px;font-weight:700}.nav.active,.nav:hover{color:var(--primary);background:var(--pale)}.side-foot{margin-top:auto;color:var(--muted);font-size:12px;line-height:2;padding:20px 14px}main{padding:30px 38px 65px;min-width:0}.hero{min-height:272px;background:linear-gradient(118deg,#35216c,#7043d0 75%,#9563e5);border-radius:23px;color:white;padding:38px 44px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#ac91f5}.hero .eyebrow{color:#d9c5ff}.hero h1{font-family:Outfit,sans-serif;font-size:clamp(30px,3.4vw,45px);line-height:1.1;margin:12px 0}.hero h1 em{font-style:normal;color:#dac4ff}.hero p{color:#e8dcff;max-width:490px;font-size:14px;line-height:1.7}.hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.hero-pills span{border:1px solid #ffffff36;background:#ffffff13;border-radius:30px;padding:7px 11px;font-size:11px}.hero-art{position:relative;width:245px;flex-shrink:0}.art-circle{position:absolute;top:15px;left:40px;width:145px;height:145px;border-radius:50%;background:linear-gradient(130deg,#ffffff40,#ffffff08);border:1px solid #ffffff50;display:grid;place-items:center;font-size:78px;font-weight:800}.art-stat{position:absolute;right:-20px;top:96px;background:#ffffffee;color:#5130ac;border-radius:12px;padding:12px 17px;box-shadow:0 10px 30px #0002}.art-stat b{font-size:22px}.art-stat small{display:block;font-size:10px;color:#89849b}.art-bars{position:absolute;bottom:4px;left:0;display:flex;gap:8px;align-items:end;height:80px}.art-bars i{width:15px;background:#ffffff44;border-radius:5px 5px 0 0;height:30%}.art-bars i:nth-child(2){height:55%}.art-bars i:nth-child(3){height:42%}.art-bars i:nth-child(4){height:75%}.art-bars i:nth-child(5){height:65%}.art-bars i:nth-child(6){height:87%}.art-bars i:nth-child(7){height:100%}.section-head{display:flex;align-items:center;justify-content:space-between;margin:35px 0 19px}.section-head h2{font-family:Outfit;font-size:24px;margin:0 0 5px}.section-head p{color:var(--muted);font-size:13px;margin:0}.section-head>span{font-size:12px;color:var(--primary);font-weight:800}.filters{display:flex;flex-direction:column;gap:16px;margin-bottom:23px}.filters input{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:14px 17px;color:var(--ink)}.chips{display:flex;gap:9px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:var(--surface);color:var(--muted);padding:8px 14px;border-radius:25px;font-size:12px;font-weight:700}.chip.active{background:var(--primary);color:white;border-color:var(--primary)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.calc-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:20px;min-height:173px;box-shadow:var(--shadow);transition:transform .15s,border-color .15s;cursor:pointer}.calc-card:hover{transform:translateY(-3px);border-color:#b6a2e9}.card-top{display:flex;justify-content:space-between}.card-icon,.tool-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--pale);color:var(--primary);font-size:23px;border-radius:14px}.star{border:0;background:none;color:#aaa1bd;font-size:25px;padding:0 3px}.star.selected{color:#f3ad2e}.calc-card h3{font:700 17px Outfit;margin:17px 0 7px}.calc-card p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}.back{background:none;border:0;color:var(--primary);font-weight:700;margin:5px 0 28px}.tool-head{display:flex;align-items:center;gap:17px;margin-bottom:26px}.tool-icon{width:64px;height:64px;font-size:29px}.tool-head h1{font:800 31px Outfit;margin:4px 0}.tool-head p{color:var(--muted);margin:0;font-size:13px}.favtool{margin-left:auto;border:1px solid var(--line);background:var(--surface);color:#f2aa31;border-radius:12px;padding:10px 15px;font-size:25px}.workarea{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow);min-width:0}.panel h3{font:700 20px Outfit;margin:0 0 22px}.field{margin:0 0 19px}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.input-wrap{display:flex;border:1px solid var(--line);border-radius:11px;overflow:hidden}.input-wrap input,.input-wrap select{width:100%;border:0;outline:0;background:transparent;color:var(--ink);padding:13px 14px;min-width:0}.input-wrap .unit{padding:13px 14px;background:var(--pale);color:var(--primary);font-size:12px;font-weight:800;white-space:nowrap}.calculate{width:100%;margin-top:5px;padding:15px}.hint{font-size:11px;color:var(--muted);line-height:1.6;margin-top:16px}.metric-main{background:var(--pale);border-radius:15px;padding:22px;text-align:center;margin-bottom:20px}.metric-main small{display:block;color:var(--muted);font-weight:700}.metric-main strong{display:block;font:800 clamp(22px,2.6vw,35px) Outfit;color:var(--primary);margin:10px 0 0;overflow-wrap:anywhere}.metric-row{display:flex;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);font-size:13px}.metric-row span{color:var(--muted)}.metric-row b{text-align:right;overflow-wrap:anywhere}.result canvas{width:100%;max-height:200px;margin-top:18px}.result-actions{display:flex;gap:10px;margin-top:20px}.result-actions button{flex:1;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:12px;border-radius:10px;font-weight:700;font-size:12px}.empty{padding:45px 15px;text-align:center;color:var(--muted);font-size:13px}.info-page{max-width:800px}.info-page h1{font:800 33px Outfit}.info-page h2{font:700 20px Outfit;margin-top:29px}.info-page p,.info-page li{line-height:1.85;color:var(--muted)}.history-row{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;margin:12px 0;display:flex;justify-content:space-between;gap:12px;align-items:center}.history-row small{display:block;color:var(--muted);margin-top:6px}.history-row button{background:var(--pale);color:var(--primary);border:0;padding:9px 12px;border-radius:9px}footer{text-align:center;border-top:1px solid var(--line);padding:22px;color:var(--muted);font-size:12px}footer a{color:var(--primary);margin-left:15px;text-decoration:none}[hidden]{display:none!important}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.sidebar{width:185px}.shell{grid-template-columns:185px 1fr}main{padding:26px}.hero-art{width:160px}.art-stat{right:-20px}}@media(max-width:760px){.top{padding:0 15px;height:70px}.brand{font-size:16px}.logo{width:36px;height:36px}.store{font-size:11px;padding:11px}.shell{display:block}.sidebar{width:100%;border-right:0;border-bottom:1px solid var(--line);padding:8px;display:flex;flex-direction:row;overflow-x:auto;gap:4px}.side-label,.side-foot{display:none}.nav{white-space:nowrap;padding:10px;font-size:12px}.nav span{display:inline}main{padding:18px 14px 45px}.hero{padding:26px 23px;min-height:260px}.hero-art{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.calc-card{padding:15px;min-height:165px}.calc-card h3{font-size:15px}.calc-card p{font-size:11px}.workarea{grid-template-columns:1fr}.panel{padding:21px}.tool-head h1{font-size:25px}.tool-icon{width:52px;height:52px;flex-shrink:0}.section-head{margin-top:26px}}@media(max-width:370px){.cards{grid-template-columns:1fr}.store{font-size:10px}.brand small{display:none}.nav span{display:none}}